Ideal Torque and Rotational Motion Sensors

23 views (last 30 days)
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?

Accepted Answer

Sebastian Castro
Sebastian Castro on 7 Mar 2016
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
  14 Comments
Jonathan
Jonathan on 9 Mar 2016
Worked like a charm ;)! Thanks for the help with all of this Sebastian. I really appreciate it.
Jonathan
Jonathan on 24 Mar 2016
Hi Sebastian, I have a follow up on this...
As we talked about earlier, I have connected the SimMechanics blocks to the Simscape blocks using the "Rotational Simscape Intf" block that you suggested. However, the RPM output of the motors doesn't follow the parameters of the brushless DC model. My model can be found here.
When I apply a 5V input to the motors, I would expect a maximum RPM output (4675 RPM) for my motors. However, I only see a maximum output of about 1400 RPM.
Could you give me some insight as to why this is happening? I have not been able to figure it out, or get any answers from the community.

Sign in to comment.

More Answers (0)

Categories

Find more on Physical Units in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!