How to open the electrical switch again after it closed
5 次查看(过去 30 天)
显示 更早的评论
Hello everybody,
I'm currently modeling a simple eltrical circuit and I've implemented the switch from the electrical foundaiton library. Since the Switch should close and open over time I used the Clock block as the physical signal input. In practise the switch should close after 1 sec. and reopen again after 1.5 sec. The problem I have now is that the switch closes when the time reaches 1 but i don't see any possibility to open the switch again after 1.5 sec.
Is there any solution to my problem?
2 个评论
回答(1 个)
Sabin
2025-6-4
You can use a Pulse Generator block to control the switch: https://mathworks.com/help/simulink/slref/pulsegenerator.html
You can also use a PWM block: https://mathworks.com/help/simulink/slref/pwm.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!