Does SimMechanics 2nd Gen compute inverse dynamic ?

I made a model on which I give all the motion as input with some gimbal joints of the the simmechanics 2 gen. The motion is reproduced quite fine but the motion doesn't seems have any impact one the forces and torques in the joint. However, when I gives some external forces on the feet, I get the signal on the hip joint... So from here my question : does SimMechanics 2nd generation compute inverse dynamic or it is only to do some forward dynamic simulation ?

 Réponse acceptée

Sebastian Castro
Sebastian Castro le 9 Juin 2015

1 vote

Yes, SimMechanics allows you to prescribe motion and automatically computes forces and torques -- both along the axis of motion and any reaction forces due to constraints in other directions.
Which version of MATLAB are you using? I ask because SimMechanics 2nd Generation is fairly new and the features have been catching up over the last 6 releases.
- Sebastian

4 commentaires

I use the 2014a... I saw this both example already, but none of them provide the motion as input. It is both forward dynamic if I make no mistake ?
Ah yes, R2014a has the motion input. That second example (the Planar Manipulator) uses motion inputs. You can tell because the input ports in that 6-DOF joint say "px" and "py" for position instead of "fx" and "fy" for force.
OK thank you for your answer ! I think I found the problem. It come from my computation of the second derivatives...
Can you tell me where I can find how does simulink exactly compute inverse dynamic? I'm looking for these informations in the user manual but didn't found anything yet.
Thank you for your help.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by