Restricting motion for a sinusoidal force input in simscape

1 visualización (últimos 30 días)
I am inputting a sinsoidal input and pushing it through all kinematics and jacobian transposes to derive the desired force needed,
When i directly input the sinusoidal input to a prismatic joint (after choosing Force as an input to the joint) the model does't follow the trajectory but goes up OR down infinetly. How can i make prismatic joints follow a sinusoidal input by choosing force an an input to that joint,
(from figure, the end effector goes up infinietly)
Worth mentioning is that i am not taking any measurements (readings) from the joint i am calculating the desired force through a different kinematics and dynamics subsystem and then the calculated force is fed to the prismatic joints,
How can this be solved?
Thank you so much

Respuesta aceptada

Steve Miller
Steve Miller el 20 de Dic. de 2022
Without seeing your exact model, it is hard to say exactly what the problem is.
Here are my best guesses:
  1. You need to start your force sine wave with a phase angle of 90 degrees (or pi/2). If you apply a sine wave with a phase of 0 degrees, you will accelerate in one direction during the positive portion of the sine wave, and then decelerate back to 0 speed during the negative portion of the sine wave, but never have negative velocity. Your mechanism will move in steps in the same direction infinitely.
  2. Your force is not strong enough to overcome gravity.
--Steve
  3 comentarios
AHMED OUBAED
AHMED OUBAED el 20 de Dic. de 2022
I will mark your answer as the correct one.
Keep up the good work,
Thanks!
Steve Miller
Steve Miller el 20 de Dic. de 2022
My pleasure! Sorry it took so long to answer. This was miscategorized. I discovered it while refiling posts. Better late than never!
--Steve

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Joints and Constraints en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by