Practical Controls For Robot Geeks: Ted Larson Winter 2008
Practical Controls For Robot Geeks: Ted Larson Winter 2008
Practical Controls For Robot Geeks: Ted Larson Winter 2008
Overview
Motor Driver Basics & Feedback Control System Types Deciphering Control Papers Proportional Integral Derivative (PID) Control Examples in Robots How to drive straight! References to learn more Going Broad on most things Lets try not to get hung up on a million details.
Motor Feedback
Many ways to do it such as potentiometers, halleffect sensors, or optical encoders. Speed and Direction The more accurate, the better results.
Control Choices
The Modeling dilemma / Slippery Slope
How do you model this stuff? Easy to get in over your head fast HmmmSignal Processing and Controls all seem to blend together into the same stuff.
Closed vs. Open Loop Controls P, PI, PD, or PID Controls - SISO MIMO LTI, Optimal Controls LQR, Minimax, LQG, and H controls.
Control Diagrams
Time
Transfer Functions
Non-Linearity Parametric Models Process Variations Disturbances Setpoint Changes Measurement Noise
Temperature Regulation Pressure Regulation Flow Rate Regulation Chemical mixing or composition Velocity or Speed Regulation
A ` ta f t = K p e t + K i Z e t dt + K d e
` a ` a ` a
Math Cheat Sheet:
Integral of Velocity is Position. Derivative of Position is Velocity. Integral of Acceleration is Velocity Derivative of Velocity is Acceleration
Step-Response Optimization
Closed-Loop Step Response
180 160 140 120 100 80 60 40 20 0 0 150 300 450 600 750 900 1050 1200 1350
Time (ms)
RPM
Examples
PID Control for the tabletop Challenge Pan-Tilt Head experiments Notice how the control is over-tuned.
Right Wheel
What to do when one wheel travels different distance than the other? How do you keep two wheels traveling at the same speed?
Math Books
Numerical Linear Algebra Lloyd N. Trefethen & David Bau. MATRIX Computations Gene Golub & Charles Van Loan Third Edition Schaums Outlines Signals and Systems Hwei P. Hsu
LM628 Datasheet
http://www.national.com/pf/LM/LM628.html Wikipedia Control Theory