modelCPM_CCM

Current Peak Mode modulator for averaged CCM 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. 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.

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
Reald_disabledValue of duty cycle when disabled

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
Modelica.Blocks.Interfaces.BooleanInputenableBlock enable/disable