- Switch to a Gimbal Joint. This also permits 3 degrees of freedom, and you can motion actuate each one. Just make sure you don't go into gimbal lock, where two of the degrees of freedom are aligned.
- Use a PI or PID controller to control the torques to achieve the positions you want.
How can i control Spherical Joint in Simscape Multibody?
11 次查看(过去 30 天)
显示 更早的评论
I am trying to control the arm in the picture with the simulink model as shown below. Even when I don't give any input, spherical joint moves on its own uncontrollaby.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1306545/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1306550/image.png)
0 个评论
回答(1 个)
Steve Miller
2023-2-27
Your model is moving due to gravity. The inputs you have specified are torques, not motions. If you apply 0 torque, the arm will move like a spherical pendulum.
Here are two options:
--Steve
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!