Terry Woods said:Peter said...
"Ron e-mail me if you want to get detailed to death on converting the s-domain to useful equations."
Do I have to send my keepers over to pay a visit on you Peter???
We keep this stuff on site! None of that "KISSY-KISSY behind the bushes" ****!
rsdoran said:To clarify something in my mind...when you spoke of the z domain were you referering to relational algebra? ie scalars, vectors etc?
I have so much to learn to truly understand. I hope I understand you to mean their is a way to make a plc understand algebraic equations with the math functions they offer.
Actually when I think of PID for some reason I dont think of drives/CNC etc (and I once worked for an engineering company that made CNC burning machines). For some reason I always think of heat units and cant say why.
Where are YOU Peter?
BTW could you post that link again to your site?
Steve Bailey said:Back to your comment about the difference between the error for a velocity controler and the error for a position controller.
I hadn't thought much about it because I don't do a lot with PID, but I think what you're pointing out is this:
In a velocity controller, the setpoint, feedback and controlled variable all have the units of velocity (inches per second or radians per second).
In a position controller, the setpoint and feedback both have units of position, but the controlled variable is the velocity command which is the time derivative of the position. Now I haven't done any of the math involved, but it seems intuitive that this is significant, and to be ignored at the user's peril.
Steve Bailey said:If I correctly remember my training manual for Fanuc CNCs, they preprocess each move so that the controller knows what the position and velocity should be at each incremental step of the move. Faster processors mean you can divide the move into smaller increments. The position setpoint that the PID loop works on is not a constant, but varies with time.
Likewise, the velocity setpoint is precalculated for each incremental step of the move. The solution from the position PID is applied as a trim to velocity PID's setpoint.