SlideShare a Scribd company logo
3
Most read
9
Most read
13
Most read
Tuning PID Controllers
Eng. Mahmoud Hussein
RTECS 2010
1
RTECS 2010
1
Gc(s)
Controller
+
+ n
sensor
noise
+
w load disturbance
+
Gp(s)
Plant
u
control
y
output
+
-
r
reference
input, or
set-point
e
sensed
error
RTECS 2010
2
Analytical Vs. Empirical Techniques
• Analytical Tuning Techniques
▫ Frequency response analysis
• Empirical Tuning Techniques
▫ On-line tuning after the control system is installed
▫ Computer simulation
RTECS 2010
3
Empirical Tuning Techniques
• Two Steps:
▫ Determination of the dynamic characteristics of
the control loop
▫ Estimation of the controller tuning parameters
that produce a desired response
• Tuning Techniques
▫ Ziegler-Nichols Oscillation Method
▫ Ziegler-Nichols Reaction Curve Method
▫ Cohen-Coon Reaction Curve Method
RTECS 2010
4
Z-N Closed Loop Method
Z-N Continuous Cycling Method
By Ziegler and Nichols (1942)
RTECS 2010
5
Quarter Decay Ratio Response By
Ultimate Gain
• Use the proportional controller to force
sustained oscillations.
• Goal is to determine ultimate gain and ultimate
period of oscillation of the control loop
RTECS 2010
6
Quarter Decay Ratio Response By
Ultimate Gain
• Ziegler-Nichols method specifies a decay ratio of
one-fourth (1/4)
• Decay ratio = ratio of the amplitudes of two
successive oscillations
RTECS 2010
7
Tuning Procedure
• Set the true plant under proportional control,
with a very small gain
• Increase the gain until the loop starts oscillating
▫ Note that linear oscillation is required and that it
should be detected at the controller output.
• Record the controller critical gain (ultimate
gain) Kp = Kc (Ku) and the oscillation period of
the controller output, Pc (Pu).
RTECS 2010
8
Tuning Procedure
• Calculate the parameters according to the
following formulas
RTECS 2010
9
Controlle
r Type
Proportional
Gain (Kp)
Integral
Time (tI)
Derivative
Time (tD)
P-only Ku/2 - -
PI Ku/2.2 Pu/1.2 -
PID Ku/1.7 Pu/2 Pu/8
Example
• Consider the given plant
▫ Find the parameters of a PID controller using the
Z-N oscillation method.
▫ Obtain a graph of the response to a unit step input
reference.
RTECS 2010
10
 3
1
1
)(
+

s
sGp
Example Solution
• Applying the procedure we find
▫ Kc = 8 and ωc = 3
• Hence, from Table we have
▫ Kp = 4.8
▫ Tr = 1.81
▫ Td = 0.45
• Try the same procedure for the second order
system
RTECS 2010
11
 2
1
1
)(
+

s
sGp
Drawbacks
• Time-consuming
▫ If the process dynamics are slow
• The process is pushed to the stability limits
▫ Risk of plant damage
• For first-order and second-order model without
time delays the ultimate gain does not exist
▫ Because the closed-loop system is stable for all
values of Kp. However, in practice, it is unusual
for a control loop not to have an ultimate gain.
RTECS 2010
12
RTECS 2010
13
Tuning Procedure
• Same procedure as Z-N closed loop method
• TLC tuning values tend to reduce oscillatory
effects and improves robustness.
RTECS 2010
14
Z-N Open-loop Method
RTECS 2010
15
Process Reaction Curve
• From the open loop step response, the system
dynamics can be determined
• The controller settings are based on the open-
loop step response, or in other words, the
process reaction curve
RTECS 2010
16
Tuning Procedure
• With the plant in open loop, take the plant
manually to a normal operating point
▫ Say that the plant output settles at y(t) = y0 for a
constant plant input u(t) = u0.
• At an initial time, t0, apply a step change to the
plant input, from u0 to u
▫ This should be in the range of 10 to 20% of full
scale
• Record the plant output until it settles to the
new operating point. Assume you obtain the
curve shown on the next slide.
RTECS 2010
17
Tuning Procedure
RTECS 2010
18
• Compute the parameter model as follows
m.s.t. stands for maximum slope
tangent
RTECS 2010
19
Tuning Procedure
• Cohen and Coon carried out further studies to
find controller settings which, based on the same
model, lead to a weaker dependence on the ratio
of delay to time constant. Their suggested
controller settings are shown below
RTECS 2010
20
Simulink Control Design 3.0
RTECS 2010
21
PID Controller Block
▫ PID_Controller_Automated_Tuning.mdl
RTECS 2010
22
Initial PID Design
RTECS 2010
23
Adjusting Response Time To Tune
Parameters
RTECS 2010
24

More Related Content

PPT
Electric drives
Samsu Deen
 
PPTX
Vector control of pmsm
MalarselvamV
 
PPTX
Presentation on DC Machines
Rajan Kumar
 
PPTX
Electric machine
ashok261084
 
PPTX
Pole Placement in Digital Control
Mahesh Vadhavaniya profmjv
 
PPTX
Servo amplifier
FAHAD KHAN
 
PPT
Synchronous motor
Sirat Mahmood
 
Electric drives
Samsu Deen
 
Vector control of pmsm
MalarselvamV
 
Presentation on DC Machines
Rajan Kumar
 
Electric machine
ashok261084
 
Pole Placement in Digital Control
Mahesh Vadhavaniya profmjv
 
Servo amplifier
FAHAD KHAN
 
Synchronous motor
Sirat Mahmood
 

What's hot (20)

PPT
Relay Presentation PPT by G@nesh
KOMMARINASANTHOSH
 
PPTX
RLC series circuit simulation at Proteus
Wakil Kumar
 
PPTX
Switchgear and protection 3
Md Irshad Ahmad
 
PPTX
PID Control Basics
Yokogawa1
 
PPTX
Servomechanism in Control systems engineering
Nisarg Amin
 
PDF
Control system
Mohammed Hussein
 
PPTX
Successive Approximation ADC
AbhayDhupar
 
PPTX
Electrical drives and_controls
ddsshukla
 
PDF
pid controller
shurjeel amjad
 
PPTX
Stepper motor ppt
TayagarDiwakar
 
PPTX
Variable frequency drive and variable frequency control
vishalgohel12195
 
PDF
THREE PHASE SYNCHRONOUS MOTOR
sahed dewan
 
PPTX
Motor load dynamics
raviarmugam
 
PPTX
Electrical ac & dc drives ppt
chakri218
 
PPT
A.C Drives
A.S. Krishna
 
PPTX
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
Prasant Kumar
 
PPTX
Electric drive
mishradiya
 
PDF
Power Electronics - DIAC & TRIAC
Burdwan University
 
PDF
Polar plot
Mrunal Deshkar
 
PPTX
Lecture 8 steady state stability
Swapnil Gadgune
 
Relay Presentation PPT by G@nesh
KOMMARINASANTHOSH
 
RLC series circuit simulation at Proteus
Wakil Kumar
 
Switchgear and protection 3
Md Irshad Ahmad
 
PID Control Basics
Yokogawa1
 
Servomechanism in Control systems engineering
Nisarg Amin
 
Control system
Mohammed Hussein
 
Successive Approximation ADC
AbhayDhupar
 
Electrical drives and_controls
ddsshukla
 
pid controller
shurjeel amjad
 
Stepper motor ppt
TayagarDiwakar
 
Variable frequency drive and variable frequency control
vishalgohel12195
 
THREE PHASE SYNCHRONOUS MOTOR
sahed dewan
 
Motor load dynamics
raviarmugam
 
Electrical ac & dc drives ppt
chakri218
 
A.C Drives
A.S. Krishna
 
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
Prasant Kumar
 
Electric drive
mishradiya
 
Power Electronics - DIAC & TRIAC
Burdwan University
 
Polar plot
Mrunal Deshkar
 
Lecture 8 steady state stability
Swapnil Gadgune
 
Ad

Similar to 05 tuning.pid.controllers (20)

PPT
1578385.ppt
MuhammadMubeen58
 
PDF
Modern Control - Lec 06 - PID Tuning
Amr E. Mohamed
 
PPT
PID Control of Runaway Processes - Greg McMillan Deminar
Jim Cahill
 
PPT
Eee3420 lecture01 rev2011
benson215
 
PPTX
lecture_1_intrduction to mechatronics.pptx
mrmohamedmostafa567
 
PPTX
10 Discrete Time Controller Design.pptx
SaadAzhar15
 
PPT
Eee3420 lecture01 rev2011
benson215
 
PPTX
Presentation FOPID Boost DC-DC Converter.pptx
SherAli260123
 
PPT
Control system
abhishek ambhore
 
PPTX
Pid controllers
milind1076
 
PDF
MODEL BASED ANALYSIS OF TEMPERATURE PROCESS UNDER VARIOUS CONTROL STRATEGIES ...
Journal For Research
 
PDF
Ch8 pid controller
Elaf A.Saeed
 
PDF
Tuning for PID Controllers.pdf
ssuser78cc56
 
PDF
Screenshot 2021-02-23 at 2.46.02 PM.pdf
muhammadsubhan626458
 
PPTX
prsntsn.pptx
Akhilesh Mishra
 
PPTX
tunecontrolleroutputbyziglermethodnumerical
pravin23105921
 
PPTX
pidtunemetodlikeziglermetodof tuning pid
pravin23105921
 
PPT
PID-Control_automation_Engineering_chapter6.ppt
mohamed abd elrazek
 
PPT
1577320.ppt
MuhammadMubeen58
 
1578385.ppt
MuhammadMubeen58
 
Modern Control - Lec 06 - PID Tuning
Amr E. Mohamed
 
PID Control of Runaway Processes - Greg McMillan Deminar
Jim Cahill
 
Eee3420 lecture01 rev2011
benson215
 
lecture_1_intrduction to mechatronics.pptx
mrmohamedmostafa567
 
10 Discrete Time Controller Design.pptx
SaadAzhar15
 
Eee3420 lecture01 rev2011
benson215
 
Presentation FOPID Boost DC-DC Converter.pptx
SherAli260123
 
Control system
abhishek ambhore
 
Pid controllers
milind1076
 
MODEL BASED ANALYSIS OF TEMPERATURE PROCESS UNDER VARIOUS CONTROL STRATEGIES ...
Journal For Research
 
Ch8 pid controller
Elaf A.Saeed
 
Tuning for PID Controllers.pdf
ssuser78cc56
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
muhammadsubhan626458
 
prsntsn.pptx
Akhilesh Mishra
 
tunecontrolleroutputbyziglermethodnumerical
pravin23105921
 
pidtunemetodlikeziglermetodof tuning pid
pravin23105921
 
PID-Control_automation_Engineering_chapter6.ppt
mohamed abd elrazek
 
1577320.ppt
MuhammadMubeen58
 
Ad

More from Mahmoud Hussein (20)

PPTX
07 modelling.electric.motors
Mahmoud Hussein
 
PPTX
Dc dc converter
Mahmoud Hussein
 
PPTX
08 pid.controller
Mahmoud Hussein
 
PPTX
06 control.systems
Mahmoud Hussein
 
PPTX
02 physical.system.modelling mechanical.systems.
Mahmoud Hussein
 
PPTX
03 dynamic.system.
Mahmoud Hussein
 
PPTX
Lecture 02 laplace transformation
Mahmoud Hussein
 
PPTX
Mbd2
Mahmoud Hussein
 
PPTX
Model based design-Hardware in loop-software in loop
Mahmoud Hussein
 
PPTX
Ac drive basics
Mahmoud Hussein
 
PPTX
Velocity kinematics
Mahmoud Hussein
 
PPT
MPI Communication
Mahmoud Hussein
 
PPT
ERROR
Mahmoud Hussein
 
PPT
Analogue Module
Mahmoud Hussein
 
PPT
Function Block & Organization Block
Mahmoud Hussein
 
PPT
Data Block
Mahmoud Hussein
 
PPT
Declaration Table
Mahmoud Hussein
 
PPT
Math operation
Mahmoud Hussein
 
PPTX
Industrial communication
Mahmoud Hussein
 
PPTX
Computer vision
Mahmoud Hussein
 
07 modelling.electric.motors
Mahmoud Hussein
 
Dc dc converter
Mahmoud Hussein
 
08 pid.controller
Mahmoud Hussein
 
06 control.systems
Mahmoud Hussein
 
02 physical.system.modelling mechanical.systems.
Mahmoud Hussein
 
03 dynamic.system.
Mahmoud Hussein
 
Lecture 02 laplace transformation
Mahmoud Hussein
 
Model based design-Hardware in loop-software in loop
Mahmoud Hussein
 
Ac drive basics
Mahmoud Hussein
 
Velocity kinematics
Mahmoud Hussein
 
MPI Communication
Mahmoud Hussein
 
Analogue Module
Mahmoud Hussein
 
Function Block & Organization Block
Mahmoud Hussein
 
Data Block
Mahmoud Hussein
 
Declaration Table
Mahmoud Hussein
 
Math operation
Mahmoud Hussein
 
Industrial communication
Mahmoud Hussein
 
Computer vision
Mahmoud Hussein
 

Recently uploaded (20)

PDF
Coco Robotics: From Dorm Rooms to Sidewalks
ricky228571
 
DOCX
Prelim exam in Elementary Stat. (1).docx
CharmicahOmayan3
 
PPTX
托莱多大学文凭办理|办理UT毕业证i20购买学位证书电子版
xxxihn4u
 
PPTX
1 food management_ttttttR Chalasani.pptx
srinidhi24bba7002
 
PPTX
oA final ppt parmar vishal bca sem 1 .pptx
parmarvishal6790
 
PPTX
STRATEGIC HRM.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
khushigulati2325
 
PPTX
AIMS OBJECTIVES ajjsjsjsjejejejejejejejejj
IsaacAntwi15
 
PDF
Reliable Solutions for Maserati Battery, Wiring, and Electronics Problems You...
Kruse Lucas Imports
 
PDF
Caterpillar Cat 235 EXCAVATOR (Prefix 32K) Service Repair Manual Instant Down...
ovics74
 
PDF
Volvo ew145b Manual Instant Download Pdf
Service Repair Manual
 
PPTX
My analysis on GM_History_Presentation.pptx
savithrir7
 
PDF
EW160C Volvo Engine Repair Manual Download
Service Repair Manual
 
DOCX
RWERWRWRWRWRWRWRWRWRWWRWRWRWRWRWRWCP.docxR
MitziJamero
 
PDF
Hitachi 130 EXCAVATOR Repair Manual Download
Service Repair Manual
 
PDF
Transform Your Lexus for the Trails with Expert Off-Road Customization Services
MW4 Outfitters
 
PDF
NCHRP Report 672 Roundabouts: An Informational Guide
Forklift Trucks in Minnesota
 
PDF
EW180C Volvo Engine Service Manual Download
Service Repair Manual
 
PPTX
Detroit Business Travel Made Easy with Detroit DTW Cars
Detroit DTW Car
 
PDF
PC1400-1 KOMATSU Hydraulic Mining Shovels Parts Manual
Heavy Equipment Manual
 
PDF
Instant Download ec300dnl manual Volvo Excavator Manual.pdf
Service Repair Manual
 
Coco Robotics: From Dorm Rooms to Sidewalks
ricky228571
 
Prelim exam in Elementary Stat. (1).docx
CharmicahOmayan3
 
托莱多大学文凭办理|办理UT毕业证i20购买学位证书电子版
xxxihn4u
 
1 food management_ttttttR Chalasani.pptx
srinidhi24bba7002
 
oA final ppt parmar vishal bca sem 1 .pptx
parmarvishal6790
 
STRATEGIC HRM.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
khushigulati2325
 
AIMS OBJECTIVES ajjsjsjsjejejejejejejejejj
IsaacAntwi15
 
Reliable Solutions for Maserati Battery, Wiring, and Electronics Problems You...
Kruse Lucas Imports
 
Caterpillar Cat 235 EXCAVATOR (Prefix 32K) Service Repair Manual Instant Down...
ovics74
 
Volvo ew145b Manual Instant Download Pdf
Service Repair Manual
 
My analysis on GM_History_Presentation.pptx
savithrir7
 
EW160C Volvo Engine Repair Manual Download
Service Repair Manual
 
RWERWRWRWRWRWRWRWRWRWWRWRWRWRWRWRWCP.docxR
MitziJamero
 
Hitachi 130 EXCAVATOR Repair Manual Download
Service Repair Manual
 
Transform Your Lexus for the Trails with Expert Off-Road Customization Services
MW4 Outfitters
 
NCHRP Report 672 Roundabouts: An Informational Guide
Forklift Trucks in Minnesota
 
EW180C Volvo Engine Service Manual Download
Service Repair Manual
 
Detroit Business Travel Made Easy with Detroit DTW Cars
Detroit DTW Car
 
PC1400-1 KOMATSU Hydraulic Mining Shovels Parts Manual
Heavy Equipment Manual
 
Instant Download ec300dnl manual Volvo Excavator Manual.pdf
Service Repair Manual
 

05 tuning.pid.controllers

  • 1. Tuning PID Controllers Eng. Mahmoud Hussein RTECS 2010 1 RTECS 2010 1 Gc(s) Controller + + n sensor noise + w load disturbance + Gp(s) Plant u control y output + - r reference input, or set-point e sensed error
  • 3. Analytical Vs. Empirical Techniques • Analytical Tuning Techniques ▫ Frequency response analysis • Empirical Tuning Techniques ▫ On-line tuning after the control system is installed ▫ Computer simulation RTECS 2010 3
  • 4. Empirical Tuning Techniques • Two Steps: ▫ Determination of the dynamic characteristics of the control loop ▫ Estimation of the controller tuning parameters that produce a desired response • Tuning Techniques ▫ Ziegler-Nichols Oscillation Method ▫ Ziegler-Nichols Reaction Curve Method ▫ Cohen-Coon Reaction Curve Method RTECS 2010 4
  • 5. Z-N Closed Loop Method Z-N Continuous Cycling Method By Ziegler and Nichols (1942) RTECS 2010 5
  • 6. Quarter Decay Ratio Response By Ultimate Gain • Use the proportional controller to force sustained oscillations. • Goal is to determine ultimate gain and ultimate period of oscillation of the control loop RTECS 2010 6
  • 7. Quarter Decay Ratio Response By Ultimate Gain • Ziegler-Nichols method specifies a decay ratio of one-fourth (1/4) • Decay ratio = ratio of the amplitudes of two successive oscillations RTECS 2010 7
  • 8. Tuning Procedure • Set the true plant under proportional control, with a very small gain • Increase the gain until the loop starts oscillating ▫ Note that linear oscillation is required and that it should be detected at the controller output. • Record the controller critical gain (ultimate gain) Kp = Kc (Ku) and the oscillation period of the controller output, Pc (Pu). RTECS 2010 8
  • 9. Tuning Procedure • Calculate the parameters according to the following formulas RTECS 2010 9 Controlle r Type Proportional Gain (Kp) Integral Time (tI) Derivative Time (tD) P-only Ku/2 - - PI Ku/2.2 Pu/1.2 - PID Ku/1.7 Pu/2 Pu/8
  • 10. Example • Consider the given plant ▫ Find the parameters of a PID controller using the Z-N oscillation method. ▫ Obtain a graph of the response to a unit step input reference. RTECS 2010 10  3 1 1 )( +  s sGp
  • 11. Example Solution • Applying the procedure we find ▫ Kc = 8 and ωc = 3 • Hence, from Table we have ▫ Kp = 4.8 ▫ Tr = 1.81 ▫ Td = 0.45 • Try the same procedure for the second order system RTECS 2010 11  2 1 1 )( +  s sGp
  • 12. Drawbacks • Time-consuming ▫ If the process dynamics are slow • The process is pushed to the stability limits ▫ Risk of plant damage • For first-order and second-order model without time delays the ultimate gain does not exist ▫ Because the closed-loop system is stable for all values of Kp. However, in practice, it is unusual for a control loop not to have an ultimate gain. RTECS 2010 12
  • 14. Tuning Procedure • Same procedure as Z-N closed loop method • TLC tuning values tend to reduce oscillatory effects and improves robustness. RTECS 2010 14
  • 16. Process Reaction Curve • From the open loop step response, the system dynamics can be determined • The controller settings are based on the open- loop step response, or in other words, the process reaction curve RTECS 2010 16
  • 17. Tuning Procedure • With the plant in open loop, take the plant manually to a normal operating point ▫ Say that the plant output settles at y(t) = y0 for a constant plant input u(t) = u0. • At an initial time, t0, apply a step change to the plant input, from u0 to u ▫ This should be in the range of 10 to 20% of full scale • Record the plant output until it settles to the new operating point. Assume you obtain the curve shown on the next slide. RTECS 2010 17
  • 18. Tuning Procedure RTECS 2010 18 • Compute the parameter model as follows m.s.t. stands for maximum slope tangent
  • 20. Tuning Procedure • Cohen and Coon carried out further studies to find controller settings which, based on the same model, lead to a weaker dependence on the ratio of delay to time constant. Their suggested controller settings are shown below RTECS 2010 20
  • 21. Simulink Control Design 3.0 RTECS 2010 21
  • 22. PID Controller Block ▫ PID_Controller_Automated_Tuning.mdl RTECS 2010 22
  • 24. Adjusting Response Time To Tune Parameters RTECS 2010 24