Gravity compensation in SimMechanics/ Simscape

4 visualizzazioni (ultimi 30 giorni)
Stanimir Mollov
Stanimir Mollov il 6 Mag 2020
Risposto: Juan Sagarduy il 6 Dic 2020
Attached is a simple concept model based on the SimMechanics' Crane example. I have a platform moving vertically. On top of it is attached another body (mushroom), connected via a prismatic joint. The mushroom has a certain mass. Is it possible to compensate for the gravity force exerted by the mushroom on the platform, such that when the platform is moving, the mushroom is moving too (diregarding the dynamic effects)?
I tried adding a constant (force) equal to the mushroom weight, via a joint actuator, but without success. Notice there is a soft spring with an end-stop. Without the gravity-force compensation, I run into the end stops. Adding damping will help, of course, but is besides the point.
The model is implemented in the obsolete SimMechanics. A solution in SimScape is accepted as well.

Risposte (1)

Juan Sagarduy
Juan Sagarduy il 6 Dic 2020
Hello Stan
The easiest in this case is that u use a distance constraint between mushroom and platform instead of the joint.
It would be cool for you to do this with Multibody 2G.
Let me know if that helped. Juan

Categorie

Scopri di più su Simscape Multibody in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by