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.
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 | |
| Real | d_disabled | Value of duty cycle when disabled |
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 | |
| Modelica.Blocks.Interfaces.BooleanInput | enable | Block enable/disable |