problem with joint auctator input signal in simmechanics

3 Ansichten (letzte 30 Tage)
Omid
Omid am 7 Mär. 2011
Hi,I'm trying to give s constant input signal to a joint actuator to rotate a revolute joint. I use a constant value block with a 1-D array like [0,20,0] for position,velocity,acceleration but it doesn't move! when I change the position input(first number) the starting condition of my body changes but it still doesn't move. I'm new to simulink so I will be thankful if you can give me a descriptive answer.

Antworten (2)

Andreas Goser
Andreas Goser am 7 Mär. 2011
This is one of the questions that is difficult to process in MATLAB Answers as too much guessing is involved when not having the model. Maybe you can try an existing and working demo model and identify what is different?

Arnaud Miege
Arnaud Miege am 15 Apr. 2011
I assume you are using motion actuation. If that's the case, you want to make sure that the position, velocity and acceleration are consistent, i.e. that v = dx/dt and a = dv/dt. That's not the case with the values you're using. Good practice is to start with acceleration and then integrate to get velocity and integrate again to get position. For more details, see About actuators in the the SimMechanics documentation.
HTH,
Arnaud
  1 Kommentar
Arnaud Miege
Arnaud Miege am 18 Apr. 2011
You may also want to have a look at the following on the File Exchange:
http://www.mathworks.co.uk/matlabcentral/fileexchange/27589-motion-driver-for-simmechanics

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by