Spherical Joint Stabilization in SimMechanics
조회 수: 1 (최근 30일)
이전 댓글 표시
I imported a cube from SolidWorks. Its coordinate system is aligned with the center of the common coordinate system. The cube can rotate omnidirectionally.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1302195/image.png)
In solidworks, this effect is noticeable only when I rotate the cube with the computer mouse.
In SimMechanics (when I run the imported model), the cube simply rotates freely around one of the axes.
I tried to play around with the settings of the spherical joint (dumping, stiffness, target state, etc.), but I couldn't get it fixed or control its position. I would like to try to control its speed and position on each of the XYZ axes separately.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1302200/image.png)
Teach me how to stabilize spherical joints please!
댓글 수: 0
채택된 답변
Steve Miller
2023년 2월 27일
If you double-click on the Spherical Joint and expand the "Actuation" section, you can set an input to be provided by torque. If you measure the angle you wish to control, you can set up a PI controller to control that angle.
Alternatively, you could use a Gimbal Joint. This will permit motion actuation of the three rotational degrees of freedom - no controller is required.
--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!