How can I apply actuation to multiple joints in sequence?
1 次查看(过去 30 天)
显示 更早的评论
I'm using Simscape Multibody (2nd gen) to model linkage that has two inputs (linkage is made of revolute joints and one elastic linear joint - aka a linear spring). First the linkage is oriented (rotated) and then a lever is turned which extends the linear spring linkage. While the linkage is positioned all of the other joints must be free to rotate. Then the lever is given a prescribed rotation to recover the torque needed to compress the spring.
Here's the initial orientation:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159183/image.jpeg)
And here it is after it has been positioned:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159184/image.jpeg)
The problem I'm having is that if I want to include an applied motion to the lever (dark component at the top) it is applied from the start of the simulation, but I need the lever to be free util the linkage gets into position.
Let me know if you need more information/clarification.
Dan Stuewe
1 个评论
Dhruvesh Patel
2016-12-29
It would be helpful in understanding your question if you mark the joints/links according to the names used in the description text, show the motion using directional arrows and state which joints/links are fixed. Alternatively you can share a simplified labeled kinematic diagram for the linkage.
回答(1 个)
Steve Miller
2021-11-19
It seems like you want to have prescribed motion for the second phase of a simulation and free motion for the first part. You cannot change an the motion status of joint mid simulation. The joint defining the degree of freedom must not have prescribed motion.
Your options:
- During the first phase of simulation, apply no torque/force. For the second phase of simulation where you want prescribed motion, use a control system to apply the correct amount of torque/force. Tuned properly, the controller will have negligible error.
- Have a series of 3 joints all along/about the same degree of freedom. One is the joint for the lever which moves freely, one has prescribed motion, and the third one is a variable damper. When prescribed motion should start, increase the damping of the variable damper to a very high level. This will ensure the other two degrees of freedom will move together (with some small error as the variable damper will slide a bit).
--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!