modelCPM

Current Peak Mode modulator for averaged models

Extends from Interfaces.CPMInterface (Common interface for averaged CPM block).

Information

Current-Programmed-Mode controller model. Computes duty ratio based on averaged inductor current, voltages applied to the inductor, and amplitude of the artificial ramp. The CPM controller model is valid for CCM and DCM operation of the power converter. 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.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.InductanceL (from CPMInterface)Equivalent inductance, referred to primary
Modelica.SIunits.Frequencyfs (from CPMInterface)Switching frequency
Modelica.SIunits.VoltageVa (from CPMInterface)Amplitude of the artificial ramp, Va=Rf*ma/fs
Modelica.SIunits.ResistanceRf (from CPMInterface)Equivalent current-sense resistance

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputvc (from CPMInterface)Control input, vc=Rf*ic
Modelica.Blocks.Interfaces.RealInputvs (from CPMInterface)Sensed average inductor current vs=Rf*iL
Modelica.Blocks.Interfaces.RealInputvm1 (from CPMInterface)Voltage across L in interval 1, slope m1=vm1/L
Modelica.Blocks.Interfaces.RealInputvm2 (from CPMInterface)(-) Voltage across L in interval 2, slope m2=vm2/L
Modelica.Blocks.Interfaces.RealOutputd (from CPMInterface)Duty cycle