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

조회 수: 3 (최근 30일)
Andreja
Andreja 2025년 3월 18일
답변: Steve Miller 2025년 3월 24일
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