필터 지우기
필터 지우기

How to switch SPDT Simscape Electrical Relay Block?

조회 수: 11 (최근 30일)
Utkarsha Chinchore
Utkarsha Chinchore 2021년 7월 1일
댓글: Joel Van Sickel 2023년 11월 1일
Common port is connected to both output (S1 and S2) ports at the same time.

채택된 답변

Joel Van Sickel
Joel Van Sickel 2021년 7월 2일
Hello Utkarsha,
The way you have it, use a controlled source connected to the widing (control) and apply the correct voltage/current to activate the relay. You can connect a simulink step block to an s->ps converter to send a signal to the controlled source. Set the step magnitude to the correct value to turn on the switch. The voltage source you have attatched is set to 0V, so it is not activating the switch. Also, your circuit is all open circuits so the voltages will always measure 10 V as the whole switch is raised 10V by the other dc source. You should add resistors to ground at the S1 and S2 ports. This will pull them down to ground unless they are actually connected to the 10V source through the switch.
Regards,
Joel
  댓글 수: 2
Macdonald
Macdonald 2023년 10월 31일
Hi, Please could you provide a modified slx file, as I am struggling to implement the mods as I am new to matlab. The controlled source from the specialized power system doesn't connect to the relay. Please help
Joel Van Sickel
Joel Van Sickel 2023년 11월 1일
you need to use a controlled source from simscape (it will be the color blue). If you are new to simscape, please take this free training: https://matlabacademy.mathworks.com/details/circuit-simulation-onramp/circuits
after that, if you still have questions, please return here to post them.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by