Simscape Electrical conversion to Simulink and back
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anish Joshi
le 29 Déc 2020
Réponse apportée : David John
le 6 Déc 2021
Hello,
I have used Simulink for a long time but I am new to Simscape. I am trying to build a model of a DC motor controlled using a H Bridge. Just to try something out, I want to connect the BRK port of the H Bridge to a signal coming from Simulink, using the Simulink-PS convertor block. But I am unable to do so as you can see in the attached picture.
Is this not the right way to connect Simulink to PS?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/473923/image.png)
Thanks,
Anish
0 commentaires
Réponse acceptée
David John
le 6 Déc 2021
BRK is an electrical signal, so it needs to come out of a voltage source instead of directly from a Simulink-PS Converter.
Try adding a Controlled Voltage Source between REF and BRK, and connect your Physical Signal to the control node.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Physical Units dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!