problem with joint auctator input signal in simmechanics

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.

답변 (2개)

Andreas Goser
Andreas Goser 2011년 3월 7일

0 개 추천

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 2011년 4월 15일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Multibody Dynamics에 대해 자세히 알아보기

질문:

2011년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by