Skip to Main Content
Due to the development of new grid codes, power converters' output signal harmonic control is currently becoming extremely important in medium- and high-power applications. By taking this new scenario into account, a new method to generate switching three-level pulsewidth-modulation (PWM) patterns to meet specific grid codes is presented. The proposed method, which is named selective harmonic mitigation PWM , generates switching three-level PWM patterns with high quality from the point of view of harmonic content, avoiding the elimination of some specific harmonics and studying all harmonics and the total harmonic distortion as a global problem by using a general-purpose random-search heuristic algorithm. This fact leads to a drastic reduction or even avoidance of the bulky and costly grid connection tuned filters of power systems. Any harmonic shaping can be considered due to the flexibility of the method. Power devices switching constraints are considered to obtain directly applicable results. As a practical example, limits from one actual grid code have been used to get the experimental results by means of a 150-kVA three-level diode-clamped converter test bench. Comparisons between the proposed technique, optimized PWM and Selective Harmonic Elimination methods have been carried out. The results obtained with this new method greatly improve previous ones.