Restricting motion for a sinusoidal force input in simscape

3 次查看(过去 30 天)
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

采纳的回答

Steve Miller
Steve Miller 2022-12-20
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 个评论
AHMED OUBAED
AHMED OUBAED 2022-12-20
I will mark your answer as the correct one.
Keep up the good work,
Thanks!
Steve Miller
Steve Miller 2022-12-20
My pleasure! Sorry it took so long to answer. This was miscategorized. I discovered it while refiling posts. Better late than never!
--Steve

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Joints and Constraints 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by