Jan Jantzen jj@inference.dk www.inference.dk 2013 Fuzzy PID Control Jan Jantzen jj@inference.dk www.inference.dk 2013.

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Advanced Piloting Cruise Plot.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
FIGURE 12.1 Two variable process-control loops that interact.
FIGURE 9.1 Control of temperature by process control.
FIGURE 2.1 The purpose of linearization is to provide an output that varies linearly with some variable even if the sensor output does not. Curtis.
Summary of Convergence Tests for Series and Solved Problems
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
ZMQS ZMQS
Differential Equations
PID Control Professor Walter W. Olson
Pole Placement.
PID Control for Embedded Systems
Model-based PID tuning methods Two degree of freedom controllers
Tuning PID Controller Institute of Industrial Control,
ERT 210 Process Control & dynamics
PID Controllers and PID tuning
Modern Control Systems (MCS)
1 ChE / MET Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing.
INDUSTRIAL AUTOMATION (Getting Started week -1). Contents PID Controller. Implementation of PID Controller. Response under actuator Saturation. PID with.
Discrete Controller Design
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Constant, Linear and Non-Linear Constant, Linear and Non-Linear
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Slippery Slope
Test B, 100 Subtraction Facts
Week 1.
Datorteknik IntegerAddSub bild 1 Integer arithmetic Depends what you mean by "integer" Assume at 3-bit string. –Then we define zero = 000 one = 001 Use.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
A SMALL TRUTH TO MAKE LIFE 100%
PSSA Preparation.
State Variables.
Nonlinear Fuzzy PID Control Phase plane analysis Standard surfaces Performance.
Fuzzy PID Control - Reduce design choices - Tuning, stability - Standard nonlinearities.
Proportional/Integral/Derivative Control
PID CONTROLLERS By Harshal Inamdar.
Nonlinear Fuzzy PID Control Jan Jantzen
Lecture 9: PID Controller.
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
Basic Design of PID Controller
The Self-Organizing Controller
Dynamical Systems Basics
Presentation transcript:

Jan Jantzen jj@inference.dk www.inference.dk 2013 Fuzzy PID Control Jan Jantzen jj@inference.dk www.inference.dk 2013

Summary Reduce design choices Tuning

Design 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

Single Loop Control Load Noise The controller should preferably be able to follow the reference r, reject load changes l and noise disturbances n, but these requirements are in conflict with each other. We would like to transfer PID tuning methods to the fuzzy controller in order to have a tuning method.

Rule 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 The four rules can handle many cases, and they are sufficient for a linear controller.

Textbook PID Controllers Continuous version Discrete version Incremental, discrete version

Fuzzy P controller f Rule base u GU U GE E e Gain on error Gain on control f Rule base u GU U GE E e Provided that the rule base acts like the identity function By comparison with the P controller equation

FP Rule Base 1. If E(n) is Pos then u(n) is 100 2. If E(n) is Neg then u(n) is -100 With a proper choice of membership functions the controller will act like a linear P controller

Fuzzy PD Controller e GE GCE f Rule base E CE u GU U de/dt Provided that the rule base acts like a summation Now we know what the gains do

FPD 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 With a proper choice of membership functions the controller will act like a linear PD controller. Four rules are sufficient.

Fuzzy PD+I Controller CE e GE f PD rules GCE + GU E GIE IE u U de/dt It is better that the integral action bypasses the rule base. It saves rules.

Fuzzy Incremental Controller The output is a change to the previous state e GE GCE f Rule base E CE GCU 1/s U CU cu de/dt This is an integrator. It could be a valve position, for instance. The increment. It is a change to the sum of all previous signals.

Fuzzy - PID Gain Relation Controller Kp 1/Ti Td FP GE×GU FInc GCE×GCU GE/GCE FPD GCE/GE FPD+I GIE/GE It tells what each fuzzy gain does to the proportional gain, the derivative gain, and the integral gain. Conversely, given values for Kp, Ti and Td we can find one or more sets of values for the fuzzy gains. Very important table.

Tuning Process gain If we increase Kp too much, the system might oscillate or even become unstable If we increase Kp, we suppress load changes. If we increase Kp, the response will be more sensitive to noise.

Ziegler-Nichols Tuning Increase Kp until oscillation, Kp = Ku Read period Tu at this setting Use Z-N table for approximate controller gains

Ziegler-Nichols (freq. method) Controller Kp Ti Td P 0.5Ku PI 0.45Ku Tu/1.2 PID 0.6Ku Tu/2 Tu/8 Given values for Ku and Tu, the table provides the gains in the three controller cases. Easy, but often the result is a poorly damped system.

Z-N oscillation of 1/(1+s)3 The ultimate gain Ku = 8, and the ultimate period is Tu = 15/4 s

PID control of 1/(1+s)3 Response to a reference step Response to a load step

Fuzzy FPD+I control of 1/(1+s)3 The response is the same as for PID control Trajectory on the control surface, which is a plane The membership functions are linear

Hand-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

Quick reference to controllers Advantage Disadvantage FP Simple Maybe too simple FPD Less overshoot Noise sensitive, derivative kick FInc Removes steady state error, smooths control signal Slow FPD+I All in one Windup, derivative kick

Scaling e GE GCE f Rule base E CE u GU U α 1/α de/dt The linear controller is invariant towards scaling. In the nonlinear controller we can use it to avoid saturation in the input universes.

Summary Design crisp PID Replace it with linear fuzzy Make it nonlinear Fine-tune it

Advanced Section

Nyquist 1/(s+1)3 with PID -2 2 -1 1 Kp = 4.8, Ti = 15/8, Td = 15/32

Tuning Map 1/(s+1)3 -2 2 000 a) 001 b) 010 c) 011 d) 100 e) 101 f) 110 2 000 a) 001 b) 010 c) 011 d) 100 e) 101 f) 110 g) 111 h)