1

I have imported system to simscape using simmechanics, this is the system ... enter image description here

I want to control the system with real dc motor so I want to connect the revolute with dc motor

I tried to connect it with dc motor with specified no load speed and stall torque

This is parameters for motor block enter image description here

And then sensed the torque and connected it to recolute like this enter image description here

That worked but, the speed of the revolute is more than no-load speed of the motor, and toque is not affected by the load

Is there better solution for this?

AndrewK
  • 1,223
  • 2
  • 16
  • 25
Ammar Hussein
  • 5,534
  • 5
  • 18
  • 37

1 Answers1

1

You're almost there, the following answer has what you're looking for:

Adding a DC Motor to a Simscape Multibody Revolute Joint

The way to do it is to sense the speed of the revolute joint and feed it to the motor network with an ideal velocity source block. At the same time, sense the torque computed with a torque sensor and feed the output to the revolute joint. You can find an example of this (ready to copy/paste) in:

sm_bread_slicer

ngautier
  • 86
  • 3
  • 1
    A link to a solution is welcome, but please ensure your answer is useful without it: [add context around the link](//meta.stackexchange.com/a/8259) so your fellow users will have some idea what it is and why it’s there, then quote the most relevant part of the page you're linking to in case the target page is unavailable. [Answers that are little more than a link may be deleted.](//stackoverflow.com/help/deleted-answers) – Bugs Jul 11 '17 at 08:08