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

3 views (last 30 days)
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

Accepted Answer

Steve Miller
Steve Miller on 24 Mar 2025
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).

More Answers (0)

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!