Simscape Torque Sensor output is zero

16 views (last 30 days)
Felix on 22 Feb 2024
Commented: Felix on 25 Mar 2024 at 17:01
I'm simulating the simscape PMSM.
I set a fixed angular velocity via a Ideal Angular Velocity Source.
I want to measure angle via an Ideal Rotational Motion Sensor and torque via an Ideal Torque Sensor. I cannot find a configuration of the three blocks that will lead to a converging simuation and a measured torque that is not zero (despite phase currents flowing).
Here is my set up: (the ports R C are connected to the PMSM RC ports)
I read other threads on the issue of torque and roatinal sensing but no configuration of the two sensors lead to valid measurements and a converging simulation
Do you have suggestions on how to connect the sensors and source?
Many thanks!

Accepted Answer

Steve Miller
Steve Miller on 23 Feb 2024
Your angular motion sensor should be connected between shaft and a Mechanical Rotational Reference (NOT in series).
Your torque sensor should be connected in series between the angular source and an inertia. Make sure your motor has inertia or a rotational inertia.
  1 Comment
Felix on 25 Mar 2024 at 17:01
Thank you Steve!
This setup works for me:

Sign in to comment.

More Answers (0)


Find more on Brakes and Detents 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!