Ideal Torque and Rotational Motion Sensors
조회 수: 4 (최근 30일)
이전 댓글 표시
I am trying to monitor the angular velocity and torque generated by a brushless DC motor. I am using the 'elec_brushless_dc_motor' example as a reference. The Ideal Rotational Motion Sensor block is an "across variable" block, so it should be hooked up in parallel to the motor and driver. The Ideal Torque Sensor block is a "through variable" block, so it should be hooked up in series with the motor and driver. As you can see, I have done this. However, the Ideal Rotational Motion Sensor block doesn't report any angular velocity (0 rad/s). There are no issues with the torque block, it reports the torque correctly.
What am I doing wrong?

댓글 수: 0
채택된 답변
Sebastian Castro
2016년 3월 7일
The setup of Through/Across looks correct. The problem may be with that "Goto" block.
By default, Goto blocks have a "tag visibility" parameter such that the data is local only to the subsystem that the block is in. If you change this from "local" to "global", does it fix the visualization of that velocity signal?
- Sebastian
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Logging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

