How to create position input for prismatic joint with DC motor ?

7 次查看(过去 30 天)
Hello,
I have a mechatronic system with DC Motor. Currently I am creating force output from my DC motor as Newton.
I want to control the position of my mechanical system so I need to give position input for my prismatic joint.
How can I convert DC motor output to Meter ? (Position input for Prismatic joint is Meter.)

采纳的回答

Divyajyoti Nayak
Divyajyoti Nayak 2024-9-2
移动:Joel Van Sickel 2024-9-3
Hi @Fatih, I think you can use the 'Ideal Translational Motion Sensor' block to get the position.
Let me know if this works. If it doesn't could you share your model or a dummy version of it for me to work with?
  3 个评论
Fatih
Fatih 2024-9-3
Hello,
I have tried the Ideal Translational Motion Sensor but it is just offsetting the part the beginning of the simulation and nothing else.
As a summary of what I am trying to do, I want to give my system displacement input like 5-10-20mm and measure the force output and also measure the what force need to make the system move 5mm or 10mm
The video is an example of what I am trying to create https://www.youtube.com/watch?v=egThLwGQqlk
Do you have any idea about it ? Also how can I share my system with you, Thanks a lot for you help
Sam Chak
Sam Chak 2024-9-4
I am confused. Did the "accepted solution" fully solve the problem or not?
Furthermore, if you send a constant non-zero reference step signal to the PID controller, it will produce an output signal that grows over time due to the effect of the Integral Action
Logically speaking, how can the system reach a desired position when it receives a perpetually growing actuation signal?

请先登录,再进行评论。

更多回答(1 个)

Fatih
Fatih 2024-9-4
It is not exactly working as I understand. I tried to make it work but it is just offsetting the system instead of giving input.
This is the video that I am trying to do exactly. I will try to tune it PID. Thanks for you answer.

类别

Help CenterFile Exchange 中查找有关 Multibody Dynamics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by