SlideShare une entreprise Scribd logo
1  sur  35
Télécharger pour lire hors ligne
PID Controller
Lecture Outline
Introduction
• PID Stands for
– P  Proportional
– I  Integral
– D  Derivative
Introduction
• The usefulness of PID controls lies in their general
applicability to most control systems.
• In particular, when the mathematical model of the plant
is not known and therefore analytical design methods
cannot be used, PID controls prove to be most useful.
• In the field of process control systems, it is well known
that the basic and modified PID control schemes have
proved their usefulness in providing satisfactory control,
although in many given situations they may not provide
optimal control.
Introduction
• It is interesting to note that more than half of the
industrial controllers in use today are PID controllers or
modified PID controllers.
• Because most PID controllers are adjusted on-site, many
different types of tuning rules have been proposed in the
literature.
• Using these tuning rules, delicate and fine tuning of PID
controllers can be made on-site.
6
Four Modes of Controllers
• Each mode of control has specific advantages and
limitations.
• On-Off (Bang Bang) Control
• Proportional (P)
• Proportional plus Integral (PI)
• Proportional plus Derivative (PD)
• Proportional plus Integral plus Derivative (PID)
On-Off Control
• This is the simplest form of control.
Set point
Error
Output
8
Proportional Control (P)
• In proportional mode, there is a continuous linear relation
between value of the controlled variable and position of the
final control element.
• Output of proportional controller is
• The transfer function can be written as
-
𝑟(𝑡)
𝑏(𝑡)
𝑒(𝑡)
𝐾 𝑝
𝑐 𝑝(𝑡) = 𝐾𝑝 𝑒(𝑡)
𝑃𝑟𝑜𝑝𝑜𝑟𝑡𝑖𝑜𝑛𝑎𝑙
𝐶𝑜𝑛𝑡𝑟𝑜𝑙
𝑃𝑙𝑎𝑛𝑡
𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘
𝑐(𝑡)
𝑐 𝑝(𝑡) = 𝐾𝑝 𝑒(𝑡)
𝐶 𝑝(𝑠)
𝐸(𝑠)
= 𝐾𝑝
9
Proportional Controllers (P)
• As the gain is increased the system responds faster to
changes in set-point but becomes progressively
underdamped and eventually unstable.
10
Proportional Plus Integral Controllers (PI)
• Integral control describes a controller in which the output
rate of change is dependent on the magnitude of the
input.
• Specifically, a smaller amplitude input causes a slower
rate of change of the output.
• Integral signal is sum of all instantaneous values, so when
integral and proportional terms are added the movement
get accelerated towards the set point.
11
Proportional Plus Integral Controllers (PI)
• The major advantage of integral controllers is that they have
the unique ability to return the controlled variable back to the
exact set point following a disturbance.
• Disadvantages of the integral control mode are that it
responds relatively slowly to an error signal and that it can
initially allow a large deviation at the instant the error is
produced.
• This can lead to system instability and cyclic operation. For
this reason, the integral control mode is not normally used
alone, but is combined with another control mode.
12
Proportional Plus Integral Control (PI)
𝑐 𝑝𝑖 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒 𝑡 𝑑𝑡
-
𝑟(𝑡)
𝑏(𝑡)
𝑒(𝑡)
𝐾 𝑝
𝐾𝑖 𝑒(𝑡) 𝑑𝑡
𝑃𝑙𝑎𝑛𝑡
𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘
𝑐(𝑡)
𝐾𝑖∫
+
+𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑖 𝑡
13
Proportional Plus Integral Control (PI)
• The transfer function can be written as
𝐶 𝑝𝑖(𝑠)
𝐸(𝑠)
= 𝐾𝑝 + 𝐾𝑖
1
𝑠
𝑐 𝑝𝑖 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒 𝑡 𝑑𝑡
14
Proportional Plus derivative Control (PD)
𝑐 𝑝𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
-
𝑟(𝑡)
𝑏(𝑡)
𝑒(𝑡)
𝐾𝑝
𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
𝑃𝑙𝑎𝑛𝑡
𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘
𝑐(𝑡)
𝐾 𝑑
𝑑
𝑑𝑡
+
+𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑑 𝑡
15
Proportional Plus derivative Control (PD)
• The transfer function can be written as
𝐶 𝑝𝑑(𝑠)
𝐸(𝑠)
= 𝐾𝑝 + 𝐾 𝑑 𝑠
𝑐 𝑝𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
16
Proportional Plus derivative Control (PD)
• The stability and overshoot problems that arise when a
proportional controller is used at high gain can be reduced by
adding a term proportional to the time-derivative of the error signal.
The value of the damping can be adjusted to achieve a critically
damped response.
17
Proportional Plus derivative Control (PD)
• The higher the error signal rate of change, the sooner the final
control element is positioned to the desired value.
• The added derivative action reduces initial overshoot of the
measured variable, and therefore aids in stabilizing the process
sooner.
• This control mode is called proportional plus derivative (PD) control
because the derivative section responds to the rate of change of the
error signal.
• You can think of derivative control as a crude prediction of the error
in future, based on the current slope of the error. How far into the
future?
18
Proportional Plus Integral Plus Derivative Control (PID)
𝑐 𝑝𝑖𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 + 𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
-
𝑟(𝑡)
𝑏(𝑡)
𝑒(𝑡)
𝐾𝑝
𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
𝑃𝑙𝑎𝑛𝑡
𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘
𝑐(𝑡)
𝐾 𝑑
𝑑
𝑑𝑡
+
+𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑖𝑑 𝑡
𝐾𝑖∫
𝐾𝑖 𝑒(𝑡) 𝑑𝑡
+
19
Proportional Plus Integral Plus Derivative Control (PID)
𝑐 𝑝𝑖𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 + 𝐾 𝑑
𝑑𝑒(𝑡)
𝑑𝑡
𝐶 𝑝𝑖𝑑(𝑠)
𝐸(𝑠)
= 𝐾𝑝 + 𝐾𝑖
1
𝑠
+𝐾 𝑑 𝑠
Proportional Plus Integral Plus Derivative Control (PID)
• Although PD control deals neatly with the overshoot and ringing
problems associated with proportional control it does not cure the
problem with the steady-state error. Fortunately it is possible to
eliminate this while using relatively low gain by adding an integral
term to the control function which becomes
20
CL RESPONSE RISE TIME OVERSHOOT SETTLING TIME S-S ERROR
Kp Decrease Increase Small Change Decrease
Ki Decrease Increase Increase Eliminate
Kd
Small
Change
Decrease Decrease
Small
Change
The Characteristics of P, I, and D controllers
Tips for Designing a PID Controller
1. Obtain an open-loop response and determine what needs to be improved
2. Add a proportional control to improve the rise time
3. Add a derivative control to improve the overshoot
4. Add an integral control to eliminate the steady-state error
5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall response.
• Lastly, please keep in mind that you do not need to implement all three
controllers (proportional, derivative, and integral) into a single system, if
not necessary. For example, if a PI controller gives a good enough response
(like the above example), then you don't need to implement derivative
controller to the system. Keep the controller as simple as possible.
The tuning parameters essentially determine:
1. How much correction should be made? The magnitude
of correction (change in control output) is determined by
the proportional mode of the controller.
2. How long the correction should be applied? The duration
of the adjustment to the controller output is determined
by the integral mode of the controller.
3. How fast should the correction be applied? The speed at
which the correction is made is determined by the
derivative mode of the controller.
PID TUNING RULES
Part-II
PID Tuning
• The transfer function of PID controller is given as
• It can be simplified as
• Where
𝐶 𝑝𝑖𝑑(𝑠)
𝐸(𝑠)
= 𝐾 𝑝 + 𝐾𝑖
1
𝑠
+𝐾𝑑 𝑠
𝐶 𝑝𝑖𝑑 𝑠
𝐸 𝑠
= 𝐾 𝑝(1 +
1
𝑇𝑖 𝑠
+𝑇𝑑 𝑠)
𝑇𝑖 =
𝐾𝑝
𝐾𝑖
𝑇𝑑 =
𝐾 𝑑
𝐾 𝑝
PID Tuning
• The process of selecting the controller parameters
(𝐾 𝑝, 𝑇𝑖 and 𝑇𝑑) to meet given performance specifications
is known as controller tuning.
• Ziegler and Nichols suggested rules for tuning PID
controllers experimentally.
• Which are useful when mathematical models of plants
are not known.
• These rules can, of course, be applied to the design of
systems with known mathematical models.
PID Tuning
• Such rules suggest a set of values of 𝐾𝑝, 𝑇𝑖 and 𝑇𝑑 that will
give a stable operation of the system.
• However, the resulting system may exhibit a large maximum
overshoot in the step response, which is unacceptable.
• In such a case we need series of fine tunings until an
acceptable result is obtained.
• In fact, the Ziegler–Nichols tuning rules give an educated
guess for the parameter values and provide a starting point
for fine tuning, rather than giving the final settings for
𝐾𝑝, 𝑇𝑖 and 𝑇𝑑 in a single shot.
Zeigler-Nichol’s PID Tuning Methods
• Ziegler and Nichols proposed rules for determining values
of the 𝐾 𝑝, 𝑇𝑖 and 𝑇𝑑 based on the transient response
characteristics of a given plant.
• Such determination of the parameters of PID controllers
or tuning of PID controllers can be made by engineers on-
site by experiments on the plant.
• There are two methods called Ziegler–Nichols tuning
rules:
• First method (open loop Method)
• Second method (Closed Loop Method)
Zeigler-Nichol’s First Method
• In the first method, we
obtain experimentally
the response of the
plant to a unit-step
input.
• If the plant involves
neither integrator(s) nor
dominant complex-
conjugate poles, then
such a unit-step
response curve may look
S-shaped
Zeigler-Nichol’s First Method
• This method applies if the response to a step input exhibits an
S-shaped curve.
• Such step-response curves may be generated experimentally
or from a dynamic simulation of the plant.
Table-1
Zeigler-Nichol’s Second Method
• In the second method, we first set 𝑇𝑖 = ∞ and 𝑇𝑑 = 0.
• Using the proportional control action only (as shown in
figure), increase Kp from 0 to a critical value Kcr at which
the output first exhibits sustained oscillations.
• If the output does not exhibit sustained oscillations for
whatever value Kp may take, then this method does not
apply.
Zeigler-Nichol’s Second Method
• Thus, the critical gain Kcr
and the corresponding
period Pcr are determined.
Table-2
Electronic PID Controller
𝑅1 𝑅2
𝑅 𝐷1
𝑅 𝐷2
𝐶 𝐷
𝐶𝐼
𝑅𝐼
𝑅3
𝑅4
𝑅5
𝑅6 𝑅7 𝑅8𝑒(𝑡)
𝐾𝑝 = −
𝑅2
𝑅1
𝑇𝑑 = −𝑅 𝐷2 𝐶 𝐷
𝑇𝑖 = −𝑅𝐼 𝐶𝐼
Electronic PID Controller
𝐸 𝑜(𝑠)
𝐸𝑖(𝑠)
=
𝑅4
𝑅3
(𝑅1 𝐶1 𝑠 + 1)(𝑅2 𝐶2 𝑠 + 1)
𝑅2 𝐶2 𝑠
𝐸 𝑜(𝑠)
𝐸𝑖(𝑠)
=
𝑅4 𝑅2
𝑅3 𝑅1
𝑅1 𝐶1 + 𝑅2 𝐶2
𝑅2 𝐶2
+
1
𝑅2 𝐶2 𝑠
+ 𝑅1 𝐶1 𝑠
Electronic PID Controller
𝐸 𝑜(𝑠)
𝐸𝑖(𝑠)
=
𝑅4 𝑅2
𝑅3 𝑅1
𝑅1 𝐶1 + 𝑅2 𝐶2
𝑅2 𝐶2
+
1
𝑅2 𝐶2 𝑠
+ 𝑅1 𝐶1 𝑠
𝐸 𝑜(𝑠)
𝐸𝑖(𝑠)
=
𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2
𝑅3 𝑅1 𝐶2
1 +
1
𝑅1 𝐶1 + 𝑅2 𝐶2 𝑠
+
𝑅1 𝐶1 𝑅2 𝐶2
𝑅1 𝐶1 +𝑅2 𝐶2
𝑠
𝐾𝑝 =
𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2
𝑅3 𝑅1 𝐶2
𝑇𝑖 = 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑇𝑑 =
𝑅1 𝐶1 𝑅2 𝐶2
𝑅1 𝐶1 +𝑅2 𝐶2
• In terms of Kp, Ki, Kd we have
𝐾𝑝 =
𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2
𝑅3 𝑅1 𝐶2
𝐾𝑖 =
𝑅4
𝑅3 𝑅1 𝐶2
𝐾𝑑 =
𝑅4 𝑅2 𝐶1
𝑅3

Contenu connexe

Tendances

PID Controller
PID ControllerPID Controller
PID Controller
saishah72
 

Tendances (20)

Control system lectures
Control system lectures Control system lectures
Control system lectures
 
PID Control System
PID Control System PID Control System
PID Control System
 
Control systems engineering
Control systems engineeringControl systems engineering
Control systems engineering
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
PID Controller
PID ControllerPID Controller
PID Controller
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 
Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controller
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
PID Control Basics
PID Control BasicsPID Control Basics
PID Control Basics
 
Pid controller
Pid controllerPid controller
Pid controller
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
Pid controller
Pid controllerPid controller
Pid controller
 
Chapter 1 introduction to control system
Chapter 1 introduction to control systemChapter 1 introduction to control system
Chapter 1 introduction to control system
 
PID Controllers
PID Controllers PID Controllers
PID Controllers
 
Control system stability routh hurwitz criterion
Control system stability routh hurwitz criterionControl system stability routh hurwitz criterion
Control system stability routh hurwitz criterion
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
On off controller
On off controllerOn off controller
On off controller
 
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,...
 
Basic elements in control systems
Basic elements in control systemsBasic elements in control systems
Basic elements in control systems
 
6. steady state error
6. steady state error6. steady state error
6. steady state error
 

Similaire à pid controller

Paper id 21201482
Paper id 21201482Paper id 21201482
Paper id 21201482
IJRAT
 
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
KetanKulkarni49
 

Similaire à pid controller (20)

Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
control technology of bachlor of engineering technology
control technology of bachlor of engineering technologycontrol technology of bachlor of engineering technology
control technology of bachlor of engineering technology
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
 
Controller tuning.pptx
Controller tuning.pptxController tuning.pptx
Controller tuning.pptx
 
1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
Paper id 21201482
Paper id 21201482Paper id 21201482
Paper id 21201482
 
Tuning for PID Controllers.pdf
Tuning for PID Controllers.pdfTuning for PID Controllers.pdf
Tuning for PID Controllers.pdf
 
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
 
5_2018_12_17!10_45_47_AM.ppt
5_2018_12_17!10_45_47_AM.ppt5_2018_12_17!10_45_47_AM.ppt
5_2018_12_17!10_45_47_AM.ppt
 
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
 
Controllers ppt
Controllers pptControllers ppt
Controllers ppt
 
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ SimulinkSimulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
 
PID controller
PID controllerPID controller
PID controller
 
Ep 5512 lecture-03
Ep 5512 lecture-03Ep 5512 lecture-03
Ep 5512 lecture-03
 
Basicontrol
BasicontrolBasicontrol
Basicontrol
 
ControlsLab2
ControlsLab2ControlsLab2
ControlsLab2
 

Dernier

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 

Dernier (20)

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
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
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(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...
 
(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...
 
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
 
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
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(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...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 

pid controller

  • 3. Introduction • PID Stands for – P  Proportional – I  Integral – D  Derivative
  • 4. Introduction • The usefulness of PID controls lies in their general applicability to most control systems. • In particular, when the mathematical model of the plant is not known and therefore analytical design methods cannot be used, PID controls prove to be most useful. • In the field of process control systems, it is well known that the basic and modified PID control schemes have proved their usefulness in providing satisfactory control, although in many given situations they may not provide optimal control.
  • 5. Introduction • It is interesting to note that more than half of the industrial controllers in use today are PID controllers or modified PID controllers. • Because most PID controllers are adjusted on-site, many different types of tuning rules have been proposed in the literature. • Using these tuning rules, delicate and fine tuning of PID controllers can be made on-site.
  • 6. 6 Four Modes of Controllers • Each mode of control has specific advantages and limitations. • On-Off (Bang Bang) Control • Proportional (P) • Proportional plus Integral (PI) • Proportional plus Derivative (PD) • Proportional plus Integral plus Derivative (PID)
  • 7. On-Off Control • This is the simplest form of control. Set point Error Output
  • 8. 8 Proportional Control (P) • In proportional mode, there is a continuous linear relation between value of the controlled variable and position of the final control element. • Output of proportional controller is • The transfer function can be written as - 𝑟(𝑡) 𝑏(𝑡) 𝑒(𝑡) 𝐾 𝑝 𝑐 𝑝(𝑡) = 𝐾𝑝 𝑒(𝑡) 𝑃𝑟𝑜𝑝𝑜𝑟𝑡𝑖𝑜𝑛𝑎𝑙 𝐶𝑜𝑛𝑡𝑟𝑜𝑙 𝑃𝑙𝑎𝑛𝑡 𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐(𝑡) 𝑐 𝑝(𝑡) = 𝐾𝑝 𝑒(𝑡) 𝐶 𝑝(𝑠) 𝐸(𝑠) = 𝐾𝑝
  • 9. 9 Proportional Controllers (P) • As the gain is increased the system responds faster to changes in set-point but becomes progressively underdamped and eventually unstable.
  • 10. 10 Proportional Plus Integral Controllers (PI) • Integral control describes a controller in which the output rate of change is dependent on the magnitude of the input. • Specifically, a smaller amplitude input causes a slower rate of change of the output. • Integral signal is sum of all instantaneous values, so when integral and proportional terms are added the movement get accelerated towards the set point.
  • 11. 11 Proportional Plus Integral Controllers (PI) • The major advantage of integral controllers is that they have the unique ability to return the controlled variable back to the exact set point following a disturbance. • Disadvantages of the integral control mode are that it responds relatively slowly to an error signal and that it can initially allow a large deviation at the instant the error is produced. • This can lead to system instability and cyclic operation. For this reason, the integral control mode is not normally used alone, but is combined with another control mode.
  • 12. 12 Proportional Plus Integral Control (PI) 𝑐 𝑝𝑖 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒 𝑡 𝑑𝑡 - 𝑟(𝑡) 𝑏(𝑡) 𝑒(𝑡) 𝐾 𝑝 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 𝑃𝑙𝑎𝑛𝑡 𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐(𝑡) 𝐾𝑖∫ + +𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑖 𝑡
  • 13. 13 Proportional Plus Integral Control (PI) • The transfer function can be written as 𝐶 𝑝𝑖(𝑠) 𝐸(𝑠) = 𝐾𝑝 + 𝐾𝑖 1 𝑠 𝑐 𝑝𝑖 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒 𝑡 𝑑𝑡
  • 14. 14 Proportional Plus derivative Control (PD) 𝑐 𝑝𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡 - 𝑟(𝑡) 𝑏(𝑡) 𝑒(𝑡) 𝐾𝑝 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡 𝑃𝑙𝑎𝑛𝑡 𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐(𝑡) 𝐾 𝑑 𝑑 𝑑𝑡 + +𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑑 𝑡
  • 15. 15 Proportional Plus derivative Control (PD) • The transfer function can be written as 𝐶 𝑝𝑑(𝑠) 𝐸(𝑠) = 𝐾𝑝 + 𝐾 𝑑 𝑠 𝑐 𝑝𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡
  • 16. 16 Proportional Plus derivative Control (PD) • The stability and overshoot problems that arise when a proportional controller is used at high gain can be reduced by adding a term proportional to the time-derivative of the error signal. The value of the damping can be adjusted to achieve a critically damped response.
  • 17. 17 Proportional Plus derivative Control (PD) • The higher the error signal rate of change, the sooner the final control element is positioned to the desired value. • The added derivative action reduces initial overshoot of the measured variable, and therefore aids in stabilizing the process sooner. • This control mode is called proportional plus derivative (PD) control because the derivative section responds to the rate of change of the error signal. • You can think of derivative control as a crude prediction of the error in future, based on the current slope of the error. How far into the future?
  • 18. 18 Proportional Plus Integral Plus Derivative Control (PID) 𝑐 𝑝𝑖𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 + 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡 - 𝑟(𝑡) 𝑏(𝑡) 𝑒(𝑡) 𝐾𝑝 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡 𝑃𝑙𝑎𝑛𝑡 𝐹𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐(𝑡) 𝐾 𝑑 𝑑 𝑑𝑡 + +𝐾𝑝 𝑒(𝑡) 𝑐 𝑝𝑖𝑑 𝑡 𝐾𝑖∫ 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 +
  • 19. 19 Proportional Plus Integral Plus Derivative Control (PID) 𝑐 𝑝𝑖𝑑 𝑡 = 𝐾𝑝 𝑒 𝑡 + 𝐾𝑖 𝑒(𝑡) 𝑑𝑡 + 𝐾 𝑑 𝑑𝑒(𝑡) 𝑑𝑡 𝐶 𝑝𝑖𝑑(𝑠) 𝐸(𝑠) = 𝐾𝑝 + 𝐾𝑖 1 𝑠 +𝐾 𝑑 𝑠
  • 20. Proportional Plus Integral Plus Derivative Control (PID) • Although PD control deals neatly with the overshoot and ringing problems associated with proportional control it does not cure the problem with the steady-state error. Fortunately it is possible to eliminate this while using relatively low gain by adding an integral term to the control function which becomes 20
  • 21. CL RESPONSE RISE TIME OVERSHOOT SETTLING TIME S-S ERROR Kp Decrease Increase Small Change Decrease Ki Decrease Increase Increase Eliminate Kd Small Change Decrease Decrease Small Change The Characteristics of P, I, and D controllers
  • 22. Tips for Designing a PID Controller 1. Obtain an open-loop response and determine what needs to be improved 2. Add a proportional control to improve the rise time 3. Add a derivative control to improve the overshoot 4. Add an integral control to eliminate the steady-state error 5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall response. • Lastly, please keep in mind that you do not need to implement all three controllers (proportional, derivative, and integral) into a single system, if not necessary. For example, if a PI controller gives a good enough response (like the above example), then you don't need to implement derivative controller to the system. Keep the controller as simple as possible.
  • 23. The tuning parameters essentially determine: 1. How much correction should be made? The magnitude of correction (change in control output) is determined by the proportional mode of the controller. 2. How long the correction should be applied? The duration of the adjustment to the controller output is determined by the integral mode of the controller. 3. How fast should the correction be applied? The speed at which the correction is made is determined by the derivative mode of the controller.
  • 25. PID Tuning • The transfer function of PID controller is given as • It can be simplified as • Where 𝐶 𝑝𝑖𝑑(𝑠) 𝐸(𝑠) = 𝐾 𝑝 + 𝐾𝑖 1 𝑠 +𝐾𝑑 𝑠 𝐶 𝑝𝑖𝑑 𝑠 𝐸 𝑠 = 𝐾 𝑝(1 + 1 𝑇𝑖 𝑠 +𝑇𝑑 𝑠) 𝑇𝑖 = 𝐾𝑝 𝐾𝑖 𝑇𝑑 = 𝐾 𝑑 𝐾 𝑝
  • 26. PID Tuning • The process of selecting the controller parameters (𝐾 𝑝, 𝑇𝑖 and 𝑇𝑑) to meet given performance specifications is known as controller tuning. • Ziegler and Nichols suggested rules for tuning PID controllers experimentally. • Which are useful when mathematical models of plants are not known. • These rules can, of course, be applied to the design of systems with known mathematical models.
  • 27. PID Tuning • Such rules suggest a set of values of 𝐾𝑝, 𝑇𝑖 and 𝑇𝑑 that will give a stable operation of the system. • However, the resulting system may exhibit a large maximum overshoot in the step response, which is unacceptable. • In such a case we need series of fine tunings until an acceptable result is obtained. • In fact, the Ziegler–Nichols tuning rules give an educated guess for the parameter values and provide a starting point for fine tuning, rather than giving the final settings for 𝐾𝑝, 𝑇𝑖 and 𝑇𝑑 in a single shot.
  • 28. Zeigler-Nichol’s PID Tuning Methods • Ziegler and Nichols proposed rules for determining values of the 𝐾 𝑝, 𝑇𝑖 and 𝑇𝑑 based on the transient response characteristics of a given plant. • Such determination of the parameters of PID controllers or tuning of PID controllers can be made by engineers on- site by experiments on the plant. • There are two methods called Ziegler–Nichols tuning rules: • First method (open loop Method) • Second method (Closed Loop Method)
  • 29. Zeigler-Nichol’s First Method • In the first method, we obtain experimentally the response of the plant to a unit-step input. • If the plant involves neither integrator(s) nor dominant complex- conjugate poles, then such a unit-step response curve may look S-shaped
  • 30. Zeigler-Nichol’s First Method • This method applies if the response to a step input exhibits an S-shaped curve. • Such step-response curves may be generated experimentally or from a dynamic simulation of the plant. Table-1
  • 31. Zeigler-Nichol’s Second Method • In the second method, we first set 𝑇𝑖 = ∞ and 𝑇𝑑 = 0. • Using the proportional control action only (as shown in figure), increase Kp from 0 to a critical value Kcr at which the output first exhibits sustained oscillations. • If the output does not exhibit sustained oscillations for whatever value Kp may take, then this method does not apply.
  • 32. Zeigler-Nichol’s Second Method • Thus, the critical gain Kcr and the corresponding period Pcr are determined. Table-2
  • 33. Electronic PID Controller 𝑅1 𝑅2 𝑅 𝐷1 𝑅 𝐷2 𝐶 𝐷 𝐶𝐼 𝑅𝐼 𝑅3 𝑅4 𝑅5 𝑅6 𝑅7 𝑅8𝑒(𝑡) 𝐾𝑝 = − 𝑅2 𝑅1 𝑇𝑑 = −𝑅 𝐷2 𝐶 𝐷 𝑇𝑖 = −𝑅𝐼 𝐶𝐼
  • 34. Electronic PID Controller 𝐸 𝑜(𝑠) 𝐸𝑖(𝑠) = 𝑅4 𝑅3 (𝑅1 𝐶1 𝑠 + 1)(𝑅2 𝐶2 𝑠 + 1) 𝑅2 𝐶2 𝑠 𝐸 𝑜(𝑠) 𝐸𝑖(𝑠) = 𝑅4 𝑅2 𝑅3 𝑅1 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑅2 𝐶2 + 1 𝑅2 𝐶2 𝑠 + 𝑅1 𝐶1 𝑠
  • 35. Electronic PID Controller 𝐸 𝑜(𝑠) 𝐸𝑖(𝑠) = 𝑅4 𝑅2 𝑅3 𝑅1 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑅2 𝐶2 + 1 𝑅2 𝐶2 𝑠 + 𝑅1 𝐶1 𝑠 𝐸 𝑜(𝑠) 𝐸𝑖(𝑠) = 𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑅3 𝑅1 𝐶2 1 + 1 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑠 + 𝑅1 𝐶1 𝑅2 𝐶2 𝑅1 𝐶1 +𝑅2 𝐶2 𝑠 𝐾𝑝 = 𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑅3 𝑅1 𝐶2 𝑇𝑖 = 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑇𝑑 = 𝑅1 𝐶1 𝑅2 𝐶2 𝑅1 𝐶1 +𝑅2 𝐶2 • In terms of Kp, Ki, Kd we have 𝐾𝑝 = 𝑅4 𝑅1 𝐶1 + 𝑅2 𝐶2 𝑅3 𝑅1 𝐶2 𝐾𝑖 = 𝑅4 𝑅3 𝑅1 𝐶2 𝐾𝑑 = 𝑅4 𝑅2 𝐶1 𝑅3