SlideShare a Scribd company logo
1 of 24
EET273
Electronic Control Systems
Week 7 – PID Control
PID Control
• Readings: Ch. 29:6 – 29:9
Review - Controllers
Review – Controllers
• Error is: the different between the system input (SP) and output (PV)
• The purpose of feedback is to reduce system error
• The purpose of a controller to process the system error in such a way
that it reduces error quickly and efficiently
• Proportional controllers work by multiplying the error by some scaling
constant 𝐾𝑃, this is fairly effective but has limitations (creates offset
and/or overshoot)
PID Control
• P – Proportional
• I – Integral
• D – Derivative
• A controller can consist of 1 or more of these elements together,
depending on the type of system/performance required
• P controller
• PI controller
• PD controller
• PID controller
• We can use multiple types of controllers in parallel, and sum the outputs of
each controller
Integrals
• An integral describes the area under a function
• The area “S” describes the integral of the
function f(x), integrated from a to b
• Mathematically, this looks like this:
𝑎
𝑏
𝑓(𝑥) 𝑑𝑥
• a and b are the “integration limits”
Integrals
• Integrals can be computed directly using the
methods of calculus, this will not be
covered in this class
• Integrals can also be approximated by
dividing the area under a curve into boxes
• Height of the box is the function value
• Width of the box is some selected constant
Δx
• The smaller the Δx, the more accurate the
approximation
Integral Controllers
• For our purposes, the word “integral” can be used interchangeably
with “accumulated sum”
• An integral controller accumulates the error over time
• If there is any steady state error in a system, the integral controller
will continue to accumulate this error, and eventually drive it to zero
• Because integral controllers only operate on accumulated changes in
error, they are slower to respond to error than a proportional or
derivative controller
Integral Controllers
• Similar to a Proportional Controller, the amount of integral control is
set by a constant 𝐾𝑖
• In some controllers, the constant 𝜏𝑖 is used, rather than 𝐾𝑖
• 𝐾𝑖 =
1
𝜏𝑖
Integral Control
• Highly effective at controlling processes due to its ability to
completely remove all system error
• Slower response than proportional control (accumulating error takes
time)
• Too much integral control can cause oscillation
• If 𝐾𝑖 is set too high (or 𝜏𝑖 too low, in other words), the integral
controller’s output can saturate or “windup”
• Integral “windup” can also occur if some external factor prevents the
setpoint from being reached. In this case, the integral controller will
continue accumulating, and eventually reach it’s maximum value
Derivatives
• A derivative is mathematical function that describes the slope of
another mathematical function
• Ex #1:
𝑦 = 3𝑥
𝑦′ = 3
• Ex #2:
𝑦 = 5𝑥 + 3
𝑦′ = 5
Derivatives
• You can take multiple derivatives of the same function, called 2nd
derivative, 3rd derivative, etc.
• There are several types of notation for the derivative of a function
𝑦 = 𝑥2
𝑦′ =
𝑑y
𝑑𝑥
= 𝑦 = 2𝑥
𝑦′′ =
𝑑2y
𝑑𝑥2
= 𝑦 = 2
Derivatives
• Several functions can have the same derivative, in fact every
derivative has a “family” of anti-derivatives
• Ex:
𝑦 = 𝑥2
𝑦′ = 2𝑥
𝑦 = 𝑥2 + 2
𝑦′ = 2𝑥
Derivatives – sines and cosines
• 𝑦 = sin 𝑥
• 𝑦′ = cos 𝑥
• 𝑦′′ = −sin 𝑥
• 𝑦′′′ = −cos 𝑥
• 𝑦′′′′
= sin 𝑥
• 𝑦′′′′′
= cos 𝑥
• Etc.
Derivatives of exponential functions
𝑦 = 3𝑥
𝑦 = 2𝑥
Derivatives of exponential functions
𝑦 = 𝑒𝑥
𝑦′ = 𝑒𝑥
𝑦′′ = 𝑒𝑥
𝑒 = 2.71828 …
Derivatives
• For our purposes, the word “derivative” can be used interchangeably
with the word “slope”
• Looking at the slope of the error allows our derivative controller to
respond if there is a sudden change in error
• This could be caused by a change in setpoint, a system switching on
quickly, or a sudden disturbance in the system
Derivative Controller
• While a proportional (P) controller is looking at the actual value of the
system error, a derivative controller is looking at the slope of the error
• Error is increasing quickly  lots of derivative control
• Error is stable  very little derivative control
• The amount of derivative control is set by the constant 𝐾𝐷, (or 𝜏𝑑)
• Differential controllers are often used to respond to quick changes in error,
and prevent the error from changing too quickly
• This can help reduce overshoot coming from the P or I controller
• Since the D controller is “keeping an eye out” for sudden changes, we can
“get away with” more P and I than we could otherwise (and still avoid
overshoot)
Derivative Controller
• Differential controllers are often used to respond to quick changes in
error, and prevent the error from changing too quickly
• This can help reduce overshoot coming from the P or I controller
• Since the D controller is “keeping an eye out” for sudden changes, we
can “get away with” more P and I than we could otherwise (and still
avoid overshoot)
• Since D controllers respond to the error’s rate of change, they are
more susceptible to high frequency noise – so be careful when
implementing them!
PID Control
• A PID controller is really just 3 controllers in parallel, a P, an I, and a D
PID Control
• Proportional:
• Reacts to error in the present
• Good for performing the bulk of error reduction
• Results in “proportional-only offset”, which can reduced, but never eliminated with
proportional only control
• Integral:
• Reacts to error in the past
• Excellent at removing steady state errors
• Slow to respond due to time needed to accumulate error
• Derivatives:
• Reacts to error in the future (anticipates error by looking at slope)
• Starts working when error is changing quickly
• Stops working when error is constant
• Not good at eliminating steady state errors – if error is constant, D controller doesn’t
care
PID Control
PID Control – some frightening math
• Proportional Controller:
• PI Controller:
• PID Controller:
PID controllers – different configurations
• P: Removes bulk of error, will always have offset (in a loaded system)
• I: Completely removes offset (eventually), slower response
• PI: Removes error quickly, and eliminates offset, may overshoot
• PD: Removes bulk of error, D corrects for overshoot, will have offset
• PID: Completely removes offset, responds quickly, D corrects for
overshoot

More Related Content

Similar to 14446351.ppt

P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERkaran sati
 
ppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdfppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdfJeevaJeeva410662
 
Use of different types of Controllers in Chemical Industry.pptx
Use of different types of Controllers in Chemical Industry.pptxUse of different types of Controllers in Chemical Industry.pptx
Use of different types of Controllers in Chemical Industry.pptxKetanKulkarni49
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its designKonirDom1
 
Introduction to Biocontrol Systems Lecture 1.pptx
Introduction to Biocontrol Systems Lecture 1.pptxIntroduction to Biocontrol Systems Lecture 1.pptx
Introduction to Biocontrol Systems Lecture 1.pptxalamigageraldjob33
 
Meeting w12 chapter 4 part 2
Meeting w12   chapter 4 part 2Meeting w12   chapter 4 part 2
Meeting w12 chapter 4 part 2Hattori Sidek
 
Chapter 1 basic components of control system
Chapter  1  basic components of control systemChapter  1  basic components of control system
Chapter 1 basic components of control systemHarish Odedra
 
Clase 01-introduccion-a-la-ing-control (1)
Clase 01-introduccion-a-la-ing-control (1)Clase 01-introduccion-a-la-ing-control (1)
Clase 01-introduccion-a-la-ing-control (1)ronald sanchez
 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...Waqas Afzal
 
Control System Modeling case study with complete explanation
Control System Modeling case study with complete explanationControl System Modeling case study with complete explanation
Control System Modeling case study with complete explanationhodelexdypiet
 
CONTROL SYSTEMS.pptx
CONTROL SYSTEMS.pptxCONTROL SYSTEMS.pptx
CONTROL SYSTEMS.pptxEEEACEEC
 

Similar to 14446351.ppt (20)

P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
ppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdfppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdf
 
Pid controller bp ganthia
Pid controller bp ganthiaPid controller bp ganthia
Pid controller bp ganthia
 
Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
 
Use of different types of Controllers in Chemical Industry.pptx
Use of different types of Controllers in Chemical Industry.pptxUse of different types of Controllers in Chemical Industry.pptx
Use of different types of Controllers in Chemical Industry.pptx
 
Basicontrol
BasicontrolBasicontrol
Basicontrol
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its design
 
Introduction to Biocontrol Systems Lecture 1.pptx
Introduction to Biocontrol Systems Lecture 1.pptxIntroduction to Biocontrol Systems Lecture 1.pptx
Introduction to Biocontrol Systems Lecture 1.pptx
 
Meeting w12 chapter 4 part 2
Meeting w12   chapter 4 part 2Meeting w12   chapter 4 part 2
Meeting w12 chapter 4 part 2
 
Control system
Control systemControl system
Control system
 
Ep 5512 lecture-03
Ep 5512 lecture-03Ep 5512 lecture-03
Ep 5512 lecture-03
 
Chapter 1 basic components of control system
Chapter  1  basic components of control systemChapter  1  basic components of control system
Chapter 1 basic components of control system
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
P I D CONTOLLER
P I D CONTOLLERP I D CONTOLLER
P I D CONTOLLER
 
Clase 01-introduccion-a-la-ing-control (1)
Clase 01-introduccion-a-la-ing-control (1)Clase 01-introduccion-a-la-ing-control (1)
Clase 01-introduccion-a-la-ing-control (1)
 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
 
Control System Modeling case study with complete explanation
Control System Modeling case study with complete explanationControl System Modeling case study with complete explanation
Control System Modeling case study with complete explanation
 
p i d controller
p i d controllerp i d controller
p i d controller
 
Controllers ppt
Controllers pptControllers ppt
Controllers ppt
 
CONTROL SYSTEMS.pptx
CONTROL SYSTEMS.pptxCONTROL SYSTEMS.pptx
CONTROL SYSTEMS.pptx
 

More from MuhammadMubeen58 (11)

3603939.ppt
3603939.ppt3603939.ppt
3603939.ppt
 
3330716.ppt
3330716.ppt3330716.ppt
3330716.ppt
 
2760114.ppt
2760114.ppt2760114.ppt
2760114.ppt
 
2706264.ppt
2706264.ppt2706264.ppt
2706264.ppt
 
1619494.ppt
1619494.ppt1619494.ppt
1619494.ppt
 
1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
1577320.ppt
1577320.ppt1577320.ppt
1577320.ppt
 
1496818.ppt
1496818.ppt1496818.ppt
1496818.ppt
 
1474058.ppt
1474058.ppt1474058.ppt
1474058.ppt
 
1413570.ppt
1413570.ppt1413570.ppt
1413570.ppt
 
223296.ppt
223296.ppt223296.ppt
223296.ppt
 

Recently uploaded

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

14446351.ppt

  • 2. PID Control • Readings: Ch. 29:6 – 29:9
  • 4. Review – Controllers • Error is: the different between the system input (SP) and output (PV) • The purpose of feedback is to reduce system error • The purpose of a controller to process the system error in such a way that it reduces error quickly and efficiently • Proportional controllers work by multiplying the error by some scaling constant 𝐾𝑃, this is fairly effective but has limitations (creates offset and/or overshoot)
  • 5. PID Control • P – Proportional • I – Integral • D – Derivative • A controller can consist of 1 or more of these elements together, depending on the type of system/performance required • P controller • PI controller • PD controller • PID controller • We can use multiple types of controllers in parallel, and sum the outputs of each controller
  • 6. Integrals • An integral describes the area under a function • The area “S” describes the integral of the function f(x), integrated from a to b • Mathematically, this looks like this: 𝑎 𝑏 𝑓(𝑥) 𝑑𝑥 • a and b are the “integration limits”
  • 7. Integrals • Integrals can be computed directly using the methods of calculus, this will not be covered in this class • Integrals can also be approximated by dividing the area under a curve into boxes • Height of the box is the function value • Width of the box is some selected constant Δx • The smaller the Δx, the more accurate the approximation
  • 8. Integral Controllers • For our purposes, the word “integral” can be used interchangeably with “accumulated sum” • An integral controller accumulates the error over time • If there is any steady state error in a system, the integral controller will continue to accumulate this error, and eventually drive it to zero • Because integral controllers only operate on accumulated changes in error, they are slower to respond to error than a proportional or derivative controller
  • 9. Integral Controllers • Similar to a Proportional Controller, the amount of integral control is set by a constant 𝐾𝑖 • In some controllers, the constant 𝜏𝑖 is used, rather than 𝐾𝑖 • 𝐾𝑖 = 1 𝜏𝑖
  • 10. Integral Control • Highly effective at controlling processes due to its ability to completely remove all system error • Slower response than proportional control (accumulating error takes time) • Too much integral control can cause oscillation • If 𝐾𝑖 is set too high (or 𝜏𝑖 too low, in other words), the integral controller’s output can saturate or “windup” • Integral “windup” can also occur if some external factor prevents the setpoint from being reached. In this case, the integral controller will continue accumulating, and eventually reach it’s maximum value
  • 11. Derivatives • A derivative is mathematical function that describes the slope of another mathematical function • Ex #1: 𝑦 = 3𝑥 𝑦′ = 3 • Ex #2: 𝑦 = 5𝑥 + 3 𝑦′ = 5
  • 12. Derivatives • You can take multiple derivatives of the same function, called 2nd derivative, 3rd derivative, etc. • There are several types of notation for the derivative of a function 𝑦 = 𝑥2 𝑦′ = 𝑑y 𝑑𝑥 = 𝑦 = 2𝑥 𝑦′′ = 𝑑2y 𝑑𝑥2 = 𝑦 = 2
  • 13. Derivatives • Several functions can have the same derivative, in fact every derivative has a “family” of anti-derivatives • Ex: 𝑦 = 𝑥2 𝑦′ = 2𝑥 𝑦 = 𝑥2 + 2 𝑦′ = 2𝑥
  • 14. Derivatives – sines and cosines • 𝑦 = sin 𝑥 • 𝑦′ = cos 𝑥 • 𝑦′′ = −sin 𝑥 • 𝑦′′′ = −cos 𝑥 • 𝑦′′′′ = sin 𝑥 • 𝑦′′′′′ = cos 𝑥 • Etc.
  • 15. Derivatives of exponential functions 𝑦 = 3𝑥 𝑦 = 2𝑥
  • 16. Derivatives of exponential functions 𝑦 = 𝑒𝑥 𝑦′ = 𝑒𝑥 𝑦′′ = 𝑒𝑥 𝑒 = 2.71828 …
  • 17. Derivatives • For our purposes, the word “derivative” can be used interchangeably with the word “slope” • Looking at the slope of the error allows our derivative controller to respond if there is a sudden change in error • This could be caused by a change in setpoint, a system switching on quickly, or a sudden disturbance in the system
  • 18. Derivative Controller • While a proportional (P) controller is looking at the actual value of the system error, a derivative controller is looking at the slope of the error • Error is increasing quickly  lots of derivative control • Error is stable  very little derivative control • The amount of derivative control is set by the constant 𝐾𝐷, (or 𝜏𝑑) • Differential controllers are often used to respond to quick changes in error, and prevent the error from changing too quickly • This can help reduce overshoot coming from the P or I controller • Since the D controller is “keeping an eye out” for sudden changes, we can “get away with” more P and I than we could otherwise (and still avoid overshoot)
  • 19. Derivative Controller • Differential controllers are often used to respond to quick changes in error, and prevent the error from changing too quickly • This can help reduce overshoot coming from the P or I controller • Since the D controller is “keeping an eye out” for sudden changes, we can “get away with” more P and I than we could otherwise (and still avoid overshoot) • Since D controllers respond to the error’s rate of change, they are more susceptible to high frequency noise – so be careful when implementing them!
  • 20. PID Control • A PID controller is really just 3 controllers in parallel, a P, an I, and a D
  • 21. PID Control • Proportional: • Reacts to error in the present • Good for performing the bulk of error reduction • Results in “proportional-only offset”, which can reduced, but never eliminated with proportional only control • Integral: • Reacts to error in the past • Excellent at removing steady state errors • Slow to respond due to time needed to accumulate error • Derivatives: • Reacts to error in the future (anticipates error by looking at slope) • Starts working when error is changing quickly • Stops working when error is constant • Not good at eliminating steady state errors – if error is constant, D controller doesn’t care
  • 23. PID Control – some frightening math • Proportional Controller: • PI Controller: • PID Controller:
  • 24. PID controllers – different configurations • P: Removes bulk of error, will always have offset (in a loaded system) • I: Completely removes offset (eventually), slower response • PI: Removes error quickly, and eliminates offset, may overshoot • PD: Removes bulk of error, D corrects for overshoot, will have offset • PID: Completely removes offset, responds quickly, D corrects for overshoot