Dynamic Model of One-Cycle Control for Converters Operating in Continuous and Discontinuous Conduction Mode