Current-Programmed-Mode controller model. Computes duty ratio based on averaged inductor current, voltages applied to the inductor, and amplitude of the artificial ramp. This CPM controller model is valid only for CCM operation of the powerconverter. All parameters and inputs are referred to the primary side.
Limitation: does not include sampling effects or preditions of period-doubling instability.
Model taken from EM01 and EMA16.