Generation method of switching patterns of PWM‐controlled cycloconverter