AbstractThis paper presents an auto‐tuning method for dc‐ac voltage source converters (VSCs) with an inductive load that is based on the modified relay feedback test (MRFT). Controllers tuned by the proposed method can produce near‐optimal dynamic performance for dc–ac VSCs without requiring knowledge of the plant's parameters. The controller consists of a PID cascaded with a digital notch filter. The tuning involves two steps. In the first step, the MRFT is used to tune the digital notch filter to compensate for the LCL resonance resulting from the LC filter's interaction with the inductive load. In the second step, one more MRFT is used to tune the PID controller using optimal tuning rules that are derived in advance (offline). The proposed optimal for the class of the dc–ac VSCs tuning rules can guarantee a specified phase margin and near optimal transient performance for any randomly picked VSC. The performance of the proposed tuning of the PID + notch filter is verified by simulations and experiments. The dynamic response of the auto‐tuned controller compares well to the response of a theoretically optimal but non‐auto‐tuned PID + notch filter designed using the full knowledge of the LC filter and the load.