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

6 visualizaciones (últimos 30 días)
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.)

Respuesta aceptada

Divyajyoti Nayak
Divyajyoti Nayak el 2 de Sept. de 2024
Movida: Joel Van Sickel el 3 de Sept. de 2024
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 comentarios
Fatih
Fatih el 3 de Sept. de 2024
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 el 4 de Sept. de 2024
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?

Iniciar sesión para comentar.

Más respuestas (1)

Fatih
Fatih el 4 de Sept. de 2024
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.

Categorías

Más información sobre Multibody Dynamics 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