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

6 visualizzazioni (ultimi 30 giorni)
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.)

Risposta accettata

Divyajyoti Nayak
Divyajyoti Nayak il 2 Set 2024
Spostato: Joel Van Sickel il 3 Set 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 Commenti
Fatih
Fatih il 3 Set 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 il 4 Set 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?

Accedi per commentare.

Più risposte (1)

Fatih
Fatih il 4 Set 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.

Community Treasure Hunt

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

Start Hunting!

Translated by