Ideal Torque and Rotational Motion Sensors

5 visualizaciones (últimos 30 días)
Jonathan
Jonathan el 7 de Mzo. de 2016
Comentada: Jonathan el 24 de Mzo. de 2016
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?

Respuesta aceptada

Sebastian Castro
Sebastian Castro el 7 de Mzo. de 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 comentarios
Jonathan
Jonathan el 9 de Mzo. de 2016
Worked like a charm ;)! Thanks for the help with all of this Sebastian. I really appreciate it.
Jonathan
Jonathan el 24 de Mzo. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Choose and Parameterize Blocks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by