SlideShare a Scribd company logo
3
Most read
8
Most read
9
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

PPTX
Chapter 1 introduction to control system
PPTX
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PDF
Control system compensator lag lead
PPTX
Control system lectures
PPTX
Introduction to Control System : Open Loop System and Close Loop System
PPTX
Industrial process control
PDF
Modern Control - Lec 01 - Introduction to Control System
PPTX
Lecture 12 time_domain_analysis_of_control_systems
Chapter 1 introduction to control system
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
Control system compensator lag lead
Control system lectures
Introduction to Control System : Open Loop System and Close Loop System
Industrial process control
Modern Control - Lec 01 - Introduction to Control System
Lecture 12 time_domain_analysis_of_control_systems

What's hot (20)

PPTX
Tuning of pid controller
PPTX
2. Feed forward system.pptx
PPTX
Stability of Control System
PPTX
Pid controllers
PPTX
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
PDF
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
PDF
Frequency Response Analysis
PPTX
Root locus method
PDF
Types of Controllers PID PD I PD
PPTX
Chapter 4 time domain analysis
PDF
PID controller in control systems
PDF
Digital control systems
PPTX
PID Controller and its design
PPTX
Lecture 13 14-time_domain_analysis_of_1st_order_systems
PDF
Digital Signal Processing
PPT
Sig Con.ppt
PPTX
Transfer function, determination of transfer function in mechanical and elect...
PDF
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
PPTX
Time domain analysis
Tuning of pid controller
2. Feed forward system.pptx
Stability of Control System
Pid controllers
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Frequency Response Analysis
Root locus method
Types of Controllers PID PD I PD
Chapter 4 time domain analysis
PID controller in control systems
Digital control systems
PID Controller and its design
Lecture 13 14-time_domain_analysis_of_1st_order_systems
Digital Signal Processing
Sig Con.ppt
Transfer function, determination of transfer function in mechanical and elect...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Time domain analysis
Ad

Similar to 05 tuning.pid.controllers (20)

PPT
1578385.ppt
PDF
Modern Control - Lec 06 - PID Tuning
PPT
PID Control of Runaway Processes - Greg McMillan Deminar
PPT
Eee3420 lecture01 rev2011
PPTX
lecture_1_intrduction to mechatronics.pptx
PPTX
10 Discrete Time Controller Design.pptx
PPT
Eee3420 lecture01 rev2011
PDF
pid controller
PPTX
Presentation FOPID Boost DC-DC Converter.pptx
PPT
Control system
PDF
MODEL BASED ANALYSIS OF TEMPERATURE PROCESS UNDER VARIOUS CONTROL STRATEGIES ...
PDF
Ch8 pid controller
PDF
Tuning for PID Controllers.pdf
PDF
Screenshot 2021-02-23 at 2.46.02 PM.pdf
PPTX
prsntsn.pptx
PPTX
tunecontrolleroutputbyziglermethodnumerical
PPTX
pidtunemetodlikeziglermetodof tuning pid
PPT
PID-Control_automation_Engineering_chapter6.ppt
PPT
1577320.ppt
1578385.ppt
Modern Control - Lec 06 - PID Tuning
PID Control of Runaway Processes - Greg McMillan Deminar
Eee3420 lecture01 rev2011
lecture_1_intrduction to mechatronics.pptx
10 Discrete Time Controller Design.pptx
Eee3420 lecture01 rev2011
pid controller
Presentation FOPID Boost DC-DC Converter.pptx
Control system
MODEL BASED ANALYSIS OF TEMPERATURE PROCESS UNDER VARIOUS CONTROL STRATEGIES ...
Ch8 pid controller
Tuning for PID Controllers.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
prsntsn.pptx
tunecontrolleroutputbyziglermethodnumerical
pidtunemetodlikeziglermetodof tuning pid
PID-Control_automation_Engineering_chapter6.ppt
1577320.ppt
Ad

More from Mahmoud Hussein (20)

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

Recently uploaded (20)

PDF
Diagnose and Repair Transmission Sound Issues in Volkswagen Vehicles
PPTX
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
PDF
Volvo ecr88 battery location Service Repair Manual.pdf
PDF
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
PPTX
Gayatri Cultural Educational Society.pptx
PDF
higher edu open stores 12.5.24 (1).pdf forreal
PDF
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
PPTX
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx
PDF
Volvo ecr88 problems Manual Download.pdf
PDF
Volvo ecr145cl specs Service Manual Download
PPTX
Robot_ppt_YRG[1] [Read-Only]bestppt.pptx
PDF
Caterpillar CAT 312B L EXCAVATOR (2KW00001-UP) Operation and Maintenance Manu...
PDF
Physics class 12thstep down transformer project.pdf
PDF
Challenges in Sim 2 Real. Tutorial on Simulation Environments.
PDF
120725175041.pdfhjjjjjjjjjjjjjjjjjjjjjjh
PPTX
vsdfhlahsadfjkhasihdflakjsdfhlajdhlfkjahfdljkash
PDF
Volvo ecr58 plus Service Manual Download
PDF
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
PDF
Honda Dealership SNS Evaluation pdf/ppts
PPTX
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx
Diagnose and Repair Transmission Sound Issues in Volkswagen Vehicles
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
Volvo ecr88 battery location Service Repair Manual.pdf
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
Gayatri Cultural Educational Society.pptx
higher edu open stores 12.5.24 (1).pdf forreal
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx
Volvo ecr88 problems Manual Download.pdf
Volvo ecr145cl specs Service Manual Download
Robot_ppt_YRG[1] [Read-Only]bestppt.pptx
Caterpillar CAT 312B L EXCAVATOR (2KW00001-UP) Operation and Maintenance Manu...
Physics class 12thstep down transformer project.pdf
Challenges in Sim 2 Real. Tutorial on Simulation Environments.
120725175041.pdfhjjjjjjjjjjjjjjjjjjjjjjh
vsdfhlahsadfjkhasihdflakjsdfhlajdhlfkjahfdljkash
Volvo ecr58 plus Service Manual Download
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
Honda Dealership SNS Evaluation pdf/ppts
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx

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