How to control a controlled switch
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Titouan raffray
am 25 Mai 2020
Beantwortet: Joel Van Sickel
am 26 Mai 2020
Hello everyone,
I'm coming to you to find out if there is a technique for ordering a switch. Here is the electrical diagram that I would like to make on Simulink.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/300103/image.png)
I would like the switch K to form when the voltage Vp is at its maximum.
Thanks for your advices,
Have a good day
0 Kommentare
Akzeptierte Antwort
Joel Van Sickel
am 26 Mai 2020
Hello Titouan,
First, here are some links of training and examples that are useful:
If you need more info on simscape basics, look here: https://www.youtube.com/watch?v=fsTHCRtUNCA&t=1621s
And see this example: https://www.mathworks.com/help/physmod/simscape/examples/full-wave-bridge-rectifier.html
and see this example: https://www.mathworks.com/help/physmod/simscape/examples/operating-point-rlc-transient-response.html
Here is how to set up your circuit:
You can use this block to be switch K: https://www.mathworks.com/help/physmod/simscape/ref/switch.html
You will need to use a voltage sensor block to measure Vp: https://www.mathworks.com/help/physmod/simscape/ref/voltagesensor.html
if you use a converter block to bring this signal into simulink, and use an comparison logic to determine when your switch should turn on or off: https://www.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html. You should add a simulink transfer function with a numerator of [1], and a denominator of [Ts 1] and pick a TS to create a low pass filter on your voltage input. Maybe start with 1000.
Then, make sure the simulink signal is larger than the switch threshold voltage, bring it back into simulink and use it to control that switch: https://www.mathworks.com/help/physmod/simscape/ref/simulinkpsconverter.html
Regards,
Joel
0 Kommentare
Weitere Antworten (0)
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Kategorien
Mehr zu Switches and Breakers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!