Title: Fuzzy PID Control
1Fuzzy PID Control
- Reduce design choices
- Tuning, stability
- Standard nonlinearities
2Design Procedure
- Build and tune a conventional PID controller
first. - Replace it with an equivalent linear fuzzy
controller. - Make the fuzzy controller nonlinear.
- Fine-tune the fuzzy controller.
) Relevant whenever PID control is possible, or
already implemented
3Single Loop Control
4Rule Base With 4 Rules
- 1. If error is Neg and change in error is Neg
then control is NB - 3. If error is Neg and change in error is Pos
then control is Zero - 7. If error is Pos and change in error is Neg
then control is Zero - 9. If error is Pos and change in error is Pos
then control is PB
5PID Control
6Fuzzy P controller
7FP Rule Base
- 1. If E(n) is Pos then u(n) is 100
- 2. If E(n) is Zero then u(n) is 0
- 3. If E(n) is Neg then u(n) is -100
8Fuzzy PD Controller
9FPD Rule Base
- 1. If E(n) is Neg and CE(n) is Neg then u(n) is
-200 - 3. If E(n) is Neg and CE(n) is Pos then u(n) is
0 - 7. If E(n) is Pos and CE(n) is Neg then u(n) is
0 - 9. If E(n) is Pos and CE(n) is Pos then u(n) is
200
10Fuzzy PDI Controller
11Fuzzy Incremental Controller
12Fuzzy - PID Gain Relation
Controller Kp 1/Ti Td
FP GEGU
FInc GCEGCU GE/GCE
FPD GEGU GCE/GE
FPDI GEGU GIE/GE GCE/GE
13Tuning
14Ziegler-Nichols Tuning
- Increase Kp until oscillation, Kp Ku
- Read period Tu at this setting
- Use Z-N table for approximate controller gains
15Ziegler-Nichols (freq. method)
Controller Kp Ti Td
P 0.5Ku
PI 0.45Ku Tu/1.2
PID 0.6Ku Tu/2 Tu/8
16Z-N oscillation of 1/(1s)3
17PID control of 1/(1s)3
18Hand-Tuning
- Set Td 1/Ti 0
- Tune Kp to satisfactory response, ignore any
final value offset - Increase Kp, adjust Td to dampen overshoot
- Adjust 1/Ti to remove final value offset
- Repeat from step 3 until Kp large as possible
19Quick reference to controllers
Controller Advantage Disadvantage
FP Simple Maybe too simple
FPD Less overshoot Noise sensitive, derivative kick
FInc Removes steady state error, smooths control signal Slow
FPDI All in one Windup, derivative kick
20Scaling
21Nyquist 1/(s1)3 with PID
22Tuning Map 1/(s1)3
231/(s1)3 with FPDI
24Summary
- Design crisp PID
- Replace it with linear fuzzy
- Make it nonlinear
- Fine-tune it