PWM systems in power converters: an extension of the sub-harmonic method