How do i know which switch should i use in Simulink?

3 次查看(过去 30 天)
How do i know which switch should i use in Simulink when i am trying to design an electrical circuit using Simscape(because the Simulink signals and the Simscape are different and i need to convert them)
In a simple relaxation oscillator circuit , the neon lamp fires when its voltage reaches 75 V and turns off when its voltage drops to30 V. Its resistance is 120 Ohms when on and infinitely high when off. I have to figure out
(a) For how long is the lamp on each time the capacitor discharges?
(b) What is the time interval between light flashes?
And i am trying to simulate the neon lamp using two switches but i have a problem with the signal conversion

采纳的回答

Steve Miller
Steve Miller 2025-3-24
To use Simulink signals to control inputs to Simscape blocks, you often need this converter block
This is how Simulink knows where the boundary is for the sets of equations to solve simultaneously (implicit equations) versus one block after the other (explicit equations).

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Switches and Breakers 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by