Two topics-Acceleration and Torque. Cascaded loop or combine.
TimothyMoulder said:
Yes, I for one would like to see a model.
Ok, but that will take a few days and it may be a new thread.
TimothyMoulder said:
Just how does acceleration control provide better control?
First off, smart drives usually do velocity and acceleration control. From the outside world you provide a voltage reference of 5 volts and the drive tried to move at half speed.
It is this fact that so many of you take advantage of when you control the drive from the PLC.
A smart drive has its own PID that closes the loop around velocity. The drive probably has it down PID gains and feed forwards. The drives proportional term, Kp, is mulitplied by the error in velocity. The integrator term, Ki, is multiplied by the integral of velocity errors.
[Change topic]BTW, the integral of velocity errors is the position error. Think about that because it is important. The velocity Ki and the positon Kp do about the same thing!!! They are duplicate gains that will interfere with each other. If one is made higher the other must be made lower. This is why I like to keep the gains all in one spot where I have control. So do the drive manufacturers except they want to do the position and velocity control in the drive. [/Change topic]
Velocity Kd is multiplied by the error in ACCELERATION! Velocity Kd may not be necessary but in many cases it will make the system much stiffer and reduces oscillation in a similar way Kd helps out a position or temperature system.
TimothyMoulder said:
In my work, I've always just shot for the fastest accel/decel without overshoot. I'm trying to change my thinking to accomodate this new information, but I'm having trouble rationalizing this one. Does it help prevent overshoot?
Yes, it can because it adds damping to the velocity loop. The velocity Kd must be properly tuned.
TimothyMoulder said:
But why would you want to remove the effects of friction?
I don't. I was just pointing out that measuring torque and rotational acceleration are two different things. One can apply torque but that doesn't mean the load will rotate.
TimothyMoulder said:
Are they not a critical factor that you would need to take into account?
It depends. On big hydrualic the rod and piston friction can be ignored. For our discussion here one must always be aware that just because one applies force or torque, that doesn't mean there will be acceleration.
TimothyMoulder said:
edit - wait a minute, by "taken out" do you mean "accounted for"
Yes.
TimothyMoulder said:
Could you elaborate on this a bit? Perhaps an example?
Just because a motor applies torque to a load that doesn't mean it will start to accelerate if there is too much friction or the load is really an obstruction. Meausring torque and rotational acceleration are two different things. I sould like a broken record.
TimothyMoulder said:
Keith, you mentioned you liked having "only one set of gains to worry about". I know that velocity positioning uses two, the velocity and the positioning (der) so how does torque control evade one of these?
Have you been PMing Keith?
As I explained above there is overlap in the velocity and position loop gains.
Think about this. If the closed loop system has only one position feedback then the inner velocity loop and outter position can be combined. The gains combine as follows:
Position Velocity
Ki
Kp and Ki combine
Kd and Kp combine
Kdd and Kd combine // Kdd, double derivative?
Notice that a cascaded loop outter position loop doesn't require a Kd or Kdd is this is handled by the inner velocity loop. An outter PI control will do. The position Kp can be fixed and only the Ki realy needs to be tweaked.
A cascade loop is beneficial only if inner loop has a different feedback device from the outter loop. In our motor example a tach would be a good example. Some motion controllers implement an inner and outter loop even though there is only one feedback device. I think this just provides more gains to tune and interfere with each other with no real benefit and the loops should be combined.
The motion controller guys would really prefer the drives be dumb transconductance ( voltage to current ) amplifiers and let the motion controllers do all the 'thinking' in one spot, the motion controller. The drive guys say the same thing except that the drives should be smart and do all the 'thinking'.
Just beware the gains in the inner and outter loops do interact.