How to interface a Simscape DC motor's 'R' terminal to Simulink outport?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all, I'm trying to model a DC motor on Simscape. An example by MATLAB uses the model below and I am unsure how to interface the R terminal of the motor in Simscape to a Simulink outport. I am unable to figure out what the 'S' block is so I tried using the PS-Simulink converter which is unfortunately not working for me.
Is there any solution to this problem? What is the 'S' block? Thank you.
0 commentaires
Réponses (1)
Sayan
le 14 Mar 2024
Hi Sneha,
The "R" port in the DC motor is a mechanical rotational conserving port. It does not directly measure anything. So you cannot take out this terminal through a PS-Simulink converter directly. However, you can connect it to any sensor to measure rotational motion, linear motion, or position and connect it to a PS-Simulink converter before connecting it to a Simulink outport.
The "S" block is like a subsystem within which there is a sensor sensing the rotational speed of the rotor in rpm, which is then connected to a PS-Simulink converter before connecting to the outport. You can find this example containing a similar "S" block for your reference.
If you need to take out the "R" terminal crossing a subsystem boundary, you can use Connection ports. You can find more details on them here.
You can find more information on the DC motor in the following documentation.
Hope this answers the query.
0 commentaires
Voir également
Catégories
En savoir plus sur Electrical Sensors 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!