modelSwitchingCPMVerification

SwitchingCPM verification

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

The switching CPM block requires the vs input, corresponding to the voltage output of the current sensor. In order to simplify things, a switch with some constant sources and an integrator are used to emulate the behaviour of an inductor. This setup creates the conditions to exercise the CPM block, as can be seen in the following figure:

SwitchingCPMVerificationresults.Png

>

Components

TypeNameDefaultDescription
Control.SwitchingCPMswitchingCPM
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Sources.ConstantvdT
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.ConstantvdpT
Modelica.Blocks.Sources.Constantvc