- 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.
- Your force is not strong enough to overcome gravity.
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,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/331331/image.png)
(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
0 个评论
采纳的回答
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:
--Steve
3 个评论
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 Center 和 File Exchange 中查找有关 Joints and Constraints 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!