|
Re: Two variable PID? I know someone's done it =)...
sure, there are many systems that have PID loops on more than one parameter.
Think of it this way, PID loops are used to hold a system parameter at a desired level or output
you could have a PID loop on position, and tell your robot "move forward 6 feet, move back 9 feet" and a separate loop that controls speed.
In this case the position loop would invoke the speed loop. When its told to move forward it would set the speed in the forward direction. The 6 ft/S would be the upper limit of velocity.
|