How to interface a Simscape DC motor's 'R' terminal to Simulink outport?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Sayan
2024 年 3 月 14 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Electrical Sensors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!