Simscape Electrical conversion to Simulink and back

5 views (last 30 days)
Anish Joshi
Anish Joshi on 29 Dec 2020
Answered: David John on 6 Dec 2021
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?

Answers (1)

David John
David John on 6 Dec 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.

Community Treasure Hunt

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

Start Hunting!

Translated by