Connecting capacitor to logic gates/flip flop

2 次查看(过去 30 天)
Hi, I am working on SimPowerSystems on Simulink and I constructed a dc-dc converter using the PowerElectronics toolbox. Now, my control circuit design for the converter has SR flipflop and AND/OR gates which, beside the digital elements, also needs capacitors for voltage hold up purposes.
I am unable to connect, say a capacitor (taken from Simscape->Electrical section or from Sim PowerSytems)to the input/output of logic gates (taken from the Logic and Bit Operations section) or to the input/output of two-way switch (taken from Signal Routing section). Please advise about how to construct a realistic control circuit using Simulink where digital and analog components can be interfaced with each other.
With Regards,
Anubhav

回答(1 个)

Sabin
Sabin 2024-12-14
It is not possible to directly connect Simulink signals to physical blocks. For Simscape blocks you will need to use the Simulink-PS Converter and PS-Simulink Converter blocks to uterface with physical blocks that have a PS port.
To learn more about how to build a simple circuit check this documentation page:

类别

Help CenterFile Exchange 中查找有关 Electrical Systems 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by