Intro to Control Theory and PID Loops
Control Examples
- Car cruise control
- Thermostat for Heat or Air Conditioning
- Navigational control for maintaining a ships heading
- Autopilot for an aircraft
- Keeping a Tesla in its own lane
Robotic Control Examples
Simple
- Set a motor speed by setting a voltage to be supplied immediately (MAX_SPEED)
- Stop a motor from running by setting the voltage to zero immediately
- Disadvantages?
- Advantages?
Trapezoidal
- Ramp the motor speed up to the set voltage
- Stop a motor from running by ramping the voltage down to zero.
- Disadvantages?
- Advantages?
See image: Stepped output and ramped output
Control Theory Intro
- Wikipedia Control Theory See Intro, Open-loop and closed-loop (feedback) control, and
Other examples.
- Non-linear Processes and Design Level Of Operation (DLO) To tune a non-linear process that responds differently to changes at different levels of output, you need to determine a representative operating point (DLO). Maybe you need more than one because there is too much variation, in which case - you need more than one controller, each based on its own range of operation.
PID Loops
PID Control is a closed loop control architecture that uses monitoring and feedback to improve control of a process variable - that is something you wish to control. It is more robust than open loop controllers that have a set it and forget it type of mentality, which do not monitor what is happening.
- Control Gurus - The P-Only Control Algorithm A decent intro to Proportional Control, and a solid basis for understanding PID Control. Careful - ControlGuru uses Kc instead of Kp, and Kc/Ti instead of Ki. Essentially works the same.
- Wikipedia PID Controller
- Talon SRX PIDF controller PID Control built into the Talon SRX controllers
- Control Gurus - Table of Contents Some of the most comprehensive documentation on PID Control on the net. Includes beginner topics and advanced topics.