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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Inductance | L (from CPMInterface) | Equivalent inductance, referred to primary | |
| Modelica.SIunits.Frequency | fs (from CPMInterface) | Switching frequency | |
| Modelica.SIunits.Voltage | Va (from CPMInterface) | Amplitude of the artificial ramp, Va=Rf*ma/fs | |
| Modelica.SIunits.Resistance | Rf (from CPMInterface) | Equivalent current-sense resistance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | vc (from CPMInterface) | Control input, vc=Rf*ic | |
| Modelica.Blocks.Interfaces.RealInput | vs (from CPMInterface) | Sensed average inductor current vs=Rf*iL | |
| Modelica.Blocks.Interfaces.RealInput | vm1 (from CPMInterface) | Voltage across L in interval 1, slope m1=vm1/L | |
| Modelica.Blocks.Interfaces.RealInput | vm2 (from CPMInterface) | (-) Voltage across L in interval 2, slope m2=vm2/L | |
| Modelica.Blocks.Interfaces.RealOutput | d (from CPMInterface) | Duty cycle |