Computed Torque Control vs. PID

Click For Summary
SUMMARY

The discussion focuses on the comparison between Computed Torque Control and PID control methods in a pantograph device. The Computed Torque Control method, which incorporates a PD controller, achieves a fast response but suffers from steady-state error, while the PID method exhibits a slow response, taking 3-5 seconds to reach the reference despite high gain values (Kp = 15000, Kd = 15000). The conversation emphasizes the challenges of using PID in non-linear systems and proposes the implementation of a torque observer to enhance control performance by closing the torque control loop.

PREREQUISITES
  • Understanding of Computed Torque Control and its mathematical formulation
  • Knowledge of PID control theory and its limitations in non-linear systems
  • Familiarity with control loop design, including PD and PID controllers
  • Experience with torque observers and their application in control systems
NEXT STEPS
  • Research the implementation of torque observers in control systems
  • Study the effects of non-linear dynamics on PID controller performance
  • Explore advanced control techniques for non-linear plants, such as sliding mode control
  • Investigate methods to decouple torque and joint angle control for improved response
USEFUL FOR

Control engineers, robotics developers, and anyone involved in designing control systems for non-linear dynamics, particularly those working with torque control in robotic applications.

zoom1
Messages
63
Reaction score
0
I'm working on a pantograph device, which is not a linear plant, and implemented 2 different control schemes. First one is computed torque;

For this control technique, I modeled nonlinear terms in the equation of motion and canceled them by injecting their model within the control input, which is torque for two motors. This way I achieved a very fast response but since the controller was PD, there is always a steady state error, which gets smaller as the P gain increases though.

The second method was the classic PID method. Again I used PD controller for each motor and what I observed is a very slow response, like 3-5 seconds to catch the reference. Furthermore, the gains I used was extremely high even to be able to get this response, like Kp = 15000, Kd = 15000

My question is;
Is the reason why PD controller performs too slow, due to non-linear plant ?

And one more question for the Computed torque technique;

I used the following control input;
Torque = M(q)*[qd'' + Kv*e' + Kp*e] - H(q,u) - Bf(q)*Fext

Where H and Bf terms are the non-linear parts I cancel.
qd = desired joint angle;
qactual = actual joint angle;
e = qd-qactual
e' = derivative of error
qd'' = desired acceleration
M(q) = mass matrix

So, this model is the PD controller. Is it possible to build a PID controller with Computed torque technique ?
 
Engineering news on Phys.org
Don't know in this case I think I popped my cerebral cortex on the math. However, old age age and treachery have some advantages to youth and competence, LOL.
The difficultly of PIDs is that the dad-burned I tends to interact with any other low frequency poles forcing you to give up response for stability.
I observe that the torque has an opportunity to interact with your mass moment of inertia to create just such a pole...

My proposal is that you look for an observer for torque and close a torque control loop. Thus you have a torque call, torque error, and torque observer. Now, crank the gain on the torque loop such that it responds promptly.

The output of the speed error not feeds into the torque call (which hopefully is fast), and you're now stuck with the pole formed between your mass moment of inertia and speed dependent losses. You're also stuck with the integrator. Moving these to poles apart will help. If your motor can break as well as accelerate, perhaps you can introduce a speed observer into the torque call such that torque attempts to decrease with speed.

I suspect this would push that troublesome MMI / loss pole to the left.
 
Mike_In_Plano said:
Don't know in this case I think I popped my cerebral cortex on the math. However, old age age and treachery have some advantages to youth and competence, LOL.
The difficultly of PIDs is that the dad-burned I tends to interact with any other low frequency poles forcing you to give up response for stability.
I observe that the torque has an opportunity to interact with your mass moment of inertia to create just such a pole...

My proposal is that you look for an observer for torque and close a torque control loop. Thus you have a torque call, torque error, and torque observer. Now, crank the gain on the torque loop such that it responds promptly.

The output of the speed error not feeds into the torque call (which hopefully is fast), and you're now stuck with the pole formed between your mass moment of inertia and speed dependent losses. You're also stuck with the integrator. Moving these to poles apart will help. If your motor can break as well as accelerate, perhaps you can introduce a speed observer into the torque call such that torque attempts to decrease with speed.

I suspect this would push that troublesome MMI / loss pole to the left.

Thank you for your answer.
So, let me tell what I got from your answer;
Since I use the joint angle as output and torque as input, which are not the same parameter, I get a slow response. Is this correct ?
If so, you suggested a torque observer so that I can compare the torque input with torque output. But the thing is, even I use the torque as input, I don't really referencing the desired torque but desired joint angle instead. So, how would this work? I am a bit confused, maybe I got you wrong ?
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
Replies
1
Views
2K
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
20K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K