SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
A simple, widely used control method. This presentation will provide an introduction to PID controllers, including demonstrations, and practise tuning a controller for a simple system.
From the Un-Distinguished Lecture Series (http://ws.cs.ubc.ca/~udls/). The talk was given Mar. 30, 2007.
A simple, widely used control method. This presentation will provide an introduction to PID controllers, including demonstrations, and practise tuning a controller for a simple system.
From the Un-Distinguished Lecture Series (http://ws.cs.ubc.ca/~udls/). The talk was given Mar. 30, 2007.
3.
Examples
Control Plant Feedback
Throttle Auto-engine Wheel speed
Air temp Room temp Thermostat temp
Steering direction Car Distance from path
Voltage Electric motor Fan speed
Fan speed CPU temp CPU temp sensor
5.
What to do?
Goal (set-point): 21 kph
How much should you change your throttle?
6.
What to do?
Set-point: 80 kph
How much should you change your throttle?
7.
Proportional Controller
• Far from set point? Change throttle more
• Close to set point? Change throttle less
quot;control = (setpoint # currentState) • pGain
14.
Extremes
• What if
– P term is too low?
– P term is too high?
– D term is too low?
– D term is too high?
– I term is too low?
– I term is too high?
15.
Tuning (one manual method)
• Start with low pGain (< 1)
• Set dGain ~ 100x pGain
• Increase dGain until oscillation
– Halve until no oscillation reduced
• Increase pGain until oscillation
– Halve that value
• Set iGain very low and increase until a
small overshoot is noticeable
16.
Can be complex: Autopilot
Heading Roll Aileron