Piecewise Fryze power theory analysis applied to PWM DC–DC converters