Coupling Caspoc to Simulink


Schematic

CASPOC Schematic

Components

Questions and remarks

Open the buckdcm.csi file in Caspoc and select Tools/Export to Simulink
Open the buckdcm.mdl file in Simulink and select Simulation/Start to start the simulation.


The Duty Cycle D and switching frequency F are send to Caspoc from Simulink using the MUX block in Simulink and the FROMSLNK blocks in Caspoc.


The output voltage Vout and output current Iout are send from Caspoc to Simulink using the TOSLNK blocks in Caspoc and the DEMUX blocks in Simulink.


The control fiunction is implemented in Simulink where the dutycycle is calculated from the angular speed N (rpm)


Circuit information

File name = buckdcm.csi
Tscreen = 200.000m
Integration stepsize = 100.000u
Number of blocks = 25
Number of circuit nodes + voltage sources = 7

General information


Visit Caspoc.com