1
$\begingroup$

I'm using Robotics Toolox Matlab and I did Reverse dynamics using code below.

[qreach,err] =  rob.ikcon(T1, qready);
[q,qd,qdd]=jtraj(qready,qreach,t);
    %compute inverse dynamics using recursive Newton-Euler algorithm
tauf = rne(rob, q, qd, qdd);

And when I plotted angular velocity and torque it shows some negative values as shown in Fig. enter image description here I want to know why so and what is the physical significance of negative veloity and torque in robotics. Thanks.

$\endgroup$
1
$\begingroup$

If you are thinking about a robotic joint as power comes into the motor and causes the link to move, then you're missing part of the picture. I say this because in some ways you could then imagine a negative torque meaning that something pushes on the link and provides power back to the motor.

The reality is that each actuator must be given an axis about which to rotate. Rotation in one direction is given a positive meaning - for example, maybe the encoder counts up when the link moves in a counterclockwise direction. A positive torque would be required to move the link about the axis in that direction, and would result in a positive velocity. The positive torque is provided by commanding the motor to spin its shaft in a certain direction.

A negative velocity is simply a motion of that same link, but in the opposite direction. In the example above, it would be a clockwise speed about the axis. The motor must exert a negative torque to cause this motion. In other words, it must be commanded to rotate in the other direction.

It's that simple.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.