How would I go about connecting an RF blockset's Variable Capacitor to a simulink-based model?
5 views (last 30 days)
I'm trying to connect the RF blockset variable capacitor to my resonant ZVS buck converter and no matter what I do, it doesn't connect. Do I have to redo the whole circuit with RF blockset components? If that is the case, how do I include MOSFETs and Diodes? Thank you.
Arthi Sathyamurthi on 25 Oct 2021
Since the resonant ZVS buck convertor is a masked subsystem, and by the entire explanation and the figure, looks like resonant ZVS buck convertor (connected to the variable capacitor) has physical signal port. Whereas the DC Voltage Source and the MOSFET implemented from the Simscape / Electrical / Specialized Power Systems library has a physical conserving port. Physical connection lines from the physical conserving port have no inherent directionality and represent the exchange of energy flows, according to the Physical Network approach. And You cannot connect physical lines to Simulink ports or to physical signal ports. To know more about Simscape physical signal and physical conserving ports, see Connector Ports and Connection Lines.
Hence, modify the DC Voltage Source and MOSFET to take physical signals as input or modify the variable capacitor and the masked subsystem to take the signals from the physical conserving ports as input.
To modify the DC Voltage Source and MOSFET to take physical signals, you can use the Voltage Source from the Simscape / Electrical / Sources and MOSFET from the Simscape / Electrical / Semiconductors & Sources library.
To modify the Variable Capacitor to take the signals from the physical conserving ports, you can use the Variable Capacitor from the Simscape / Electrical / Specialized Power Systems / Passives library.