Placing a Joint on a Moving Center of Mass in Simscape Multibody
8 views (last 30 days)
Show older comments
Baris Ucarsoy
on 1 Nov 2021
Commented: Steve Miller
on 1 Dec 2022
Hi, I wonder if there is any way to place a joint on the center of mass of a mechanism. But here is the catch, the center of mass is moving. I am trying to model a flying rocket and rocket mass varies by time. As a consequence COM is moving (upwards). Simcape lets me see where the center of mass relative to a selected frame with the inertia sensor but neither I can manipulate the mechanism's COM nor I can place a joint fixed with respect to the mechanism's COM.
Is there any solution for this?
Thanks.
Accepted Answer
Steve Miller
on 9 Nov 2021
You may need to superimpose this measurement onto another measurement.
To apply forces to a CG that is moving, you can use an External Torque and Force block.
- Measure the change in CG location using the Inertia sensor.
- Apply that motion to a joint (you may need a very small mass at the end of that joint)
- Apply the forces and torques to that frame.
--Steve
3 Comments
Steve Miller
on 1 Dec 2022
To avoid the algebraic loop, you either have to
- Break the using a transfer function loop OR
- Do not use the joint. Instead, apply the force at the same point always, but also apply an equivalent moment to compensate for the fact that the force is not being applied at the CG.
--Steve
More Answers (0)
See Also
Categories
Find more on Troubleshooting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!