Session 6
Session 6
Automatic control Theory
Automatic control Theory
Dr. Saber Abdrabbo
Dr. Saber Abdrabbo
Sequence 6.8
Sequence 6.8
Ziegler Nichols tuning controller parameters
and digital controllers

Preview
Preview: Last Sequences covered structure and
: Last Sequences covered structure and
design of PID controllers
design of PID controllers

Present
Present: Current sequence covers design of
: Current sequence covers design of
PID controllers using Ziegler Nichols tuning
PID controllers using Ziegler Nichols tuning
Methods for practical applications with Matlab
Methods for practical applications with Matlab
code and digital PID controllers
code and digital PID controllers
Ziegler Nichols tuning controller parameters
Method (I) stability margin method:
-The controller is switched to pure P action.
-The gain of the P controller is continuously increased until the closed loop
shows permanent oscillations.
-The value of the gain at this state is denoted as the critical controller gain
(Ku).
-The length of period (critical period) of the oscillations is measured (Pu).
determines the controller tuning values according to the following
formulas
Example
Given the plant
Find Kp,Kd and Ki using Zeigler Nichols
Solution
By applying Rouths array hence
Kp=15
from Rrouth schema
(Third row from bottom)
30S2
+6000=0
Replace j by S
-30 2
+6000=0
p=14 rad/sec
)
200
30
(
400
)
( 2



S
S
S
S
Gp
1 200
30 400Kp
(6000-400Kp)/30 0
400Kp
3
2
1
Example (cont.)
Pu=2П/
For PID controller
Kp=7.5
Ki=40
Kd=0.5
Matlab code for Ziegler Nichols Method
clg, rlocus(ng,dg)
[km,pole]=rlocfind(ng,dg)
keyboard
wm=imag(pole);
kp=.5*km;
pu=2*pi/wm;
kd= 0.075*kp*pu
ki=1.2*kp/pu
Method (II) step response Method : The rules are based directly on the
slope of the tangent at the turning point and on the delay of the step
response. The transfer function will take the following form.
Where
is the pure time delay, and is time constant of the system
One has to observe that the measurement of the step response needs
only to be taken at the turning point T, as the slope of the tangent already
describes the ratio . Using the measured data and as well as the formula
given in the following table the controller tuning parameters can be
determined by simple calculations.
d
 
Conversion from continuous to digital
Conversion using c2dm
[numDz,denDz] = c2dm (num,den,Ts,'zoh')
[F,G,H,J] = c2dm (A,B,C,D,Ts,'zoh')
1. Transfer function
Example
Suppose you have the following continuous transfer function
M=1;
b=10;
k=20;
num=[1];
den=[M b k];
Ts=1/100;
[numDz,denDz]=c2dm(num,den,Ts,'zoh')
transient response
Suppose we have the following discrete transfer function
numDz=[1];
denDz=[1 -0.3 0.5];
[x] = dstep (numDz,denDz,51);
t = 0:0.05:2.5;
stairs (t,x)
2. State-Space
Matlab code
M=1;
b=10;
k=20;
A=[0 1;
-k/M -b/M];
B=[ 0;
1/M];
C=[1 0];
D=[0];
Ts=1/100;
[F,G,H,J] = c2dm (A,B,C,D,Ts,'zoh')
)
(
)
( Z
E
K
Z
U p

dt
t
de
t
u
)
(
)
( 
T
k
e
k
e
k
U
)
1
(
)
(
)
(



Digital I Controller
Digital P and D controller



t
t
o
o
d
e
t
u
t
u 
)
(
)
(
)
(





T
K
kT
d
e
k
u
k
u
)
1
(
)
(
)
(
)
1
( 

 
)
(
)
1
(
2
)
(
)
1
( k
e
k
e
T
k
u
k
u 




 
)
(
)
(
2
)
(
)
( Z
E
Z
ZE
T
Z
U
Z
ZU 


Digital PID Controller
or
Summary
Summary
Current sequence covered the following
Current sequence covered the following
1- Ziegler Nichols Method for tuning PID
1- Ziegler Nichols Method for tuning PID
parameters
parameters
2-Conversion from continuous system to digital
2-Conversion from continuous system to digital
systems
systems
3-Structure of PID digital controllers
3-Structure of PID digital controllers
1.
1. Matlab code to design PID controllers
Matlab code to design PID controllers
Assessment
Assessment
To view the assessment click on the
To view the assessment click on the
link below.
link below.
Good Luck
Good Luck

More Related Content

PPTX
10 Discrete Time Controller Design.pptx
PPT
1578385.ppt
PPTX
BALLANDBEAM_GROUP7.pptx
PDF
Modern Control - Lec 06 - PID Tuning
PDF
Control tutorials for matlab and simulink introduction pid controller desig...
PPTX
Presentation FOPID Boost DC-DC Converter.pptx
PDF
Design of multiloop controller for
PDF
Iaetsd position control of servo systems using pid
10 Discrete Time Controller Design.pptx
1578385.ppt
BALLANDBEAM_GROUP7.pptx
Modern Control - Lec 06 - PID Tuning
Control tutorials for matlab and simulink introduction pid controller desig...
Presentation FOPID Boost DC-DC Converter.pptx
Design of multiloop controller for
Iaetsd position control of servo systems using pid

Similar to 6_8 Ziegler Nichols tuning controller parameters and digital controllers.ppt (20)

PDF
New controllers efficient model based design method
PDF
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
PDF
Co36544546
PPT
Chapter_12 (1).pptUUH111111111111111111111
DOCX
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docx
PPT
Chapter_12.ppt rtr5language english live
PDF
PID Control
PDF
Modeling, simulation and control of a robotic arm
PPT
controller details are given as power point
PPT
Controlador clásico PID - Control de lazo cerrado
PDF
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
PDF
PID Tuning using Ziegler Nicholas - MATLAB Approach
PPTX
05 tuning.pid.controllers
PPTX
Tuning of pid
PDF
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
PDF
lachhab2013.pdf
PPT
1577320.ppt
PPTX
tunecontrolleroutputbyziglermethodnumerical
PPTX
pidtunemetodlikeziglermetodof tuning pid
PDF
control system lab 02 - PID tuning
New controllers efficient model based design method
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Co36544546
Chapter_12 (1).pptUUH111111111111111111111
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docx
Chapter_12.ppt rtr5language english live
PID Control
Modeling, simulation and control of a robotic arm
controller details are given as power point
Controlador clásico PID - Control de lazo cerrado
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
PID Tuning using Ziegler Nicholas - MATLAB Approach
05 tuning.pid.controllers
Tuning of pid
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
lachhab2013.pdf
1577320.ppt
tunecontrolleroutputbyziglermethodnumerical
pidtunemetodlikeziglermetodof tuning pid
control system lab 02 - PID tuning
Ad

Recently uploaded (20)

PDF
Design of Material Handling Equipment Lecture Note
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PPTX
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
PPTX
CyberSecurity Mobile and Wireless Devices
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
Applications of Equal_Area_Criterion.pdf
PDF
Computer organization and architecuture Digital Notes....pdf
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
mechattonicsand iotwith sensor and actuator
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PDF
Introduction to Power System StabilityPS
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Design of Material Handling Equipment Lecture Note
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
CyberSecurity Mobile and Wireless Devices
distributed database system" (DDBS) is often used to refer to both the distri...
Management Information system : MIS-e-Business Systems.pptx
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Applications of Equal_Area_Criterion.pdf
Computer organization and architecuture Digital Notes....pdf
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
mechattonicsand iotwith sensor and actuator
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Introduction to Power System StabilityPS
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Soil Improvement Techniques Note - Rabbi
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Ad

6_8 Ziegler Nichols tuning controller parameters and digital controllers.ppt

  • 1. Session 6 Session 6 Automatic control Theory Automatic control Theory Dr. Saber Abdrabbo Dr. Saber Abdrabbo
  • 2. Sequence 6.8 Sequence 6.8 Ziegler Nichols tuning controller parameters and digital controllers  Preview Preview: Last Sequences covered structure and : Last Sequences covered structure and design of PID controllers design of PID controllers  Present Present: Current sequence covers design of : Current sequence covers design of PID controllers using Ziegler Nichols tuning PID controllers using Ziegler Nichols tuning Methods for practical applications with Matlab Methods for practical applications with Matlab code and digital PID controllers code and digital PID controllers
  • 3. Ziegler Nichols tuning controller parameters Method (I) stability margin method: -The controller is switched to pure P action. -The gain of the P controller is continuously increased until the closed loop shows permanent oscillations. -The value of the gain at this state is denoted as the critical controller gain (Ku). -The length of period (critical period) of the oscillations is measured (Pu). determines the controller tuning values according to the following formulas
  • 4. Example Given the plant Find Kp,Kd and Ki using Zeigler Nichols Solution By applying Rouths array hence Kp=15 from Rrouth schema (Third row from bottom) 30S2 +6000=0 Replace j by S -30 2 +6000=0 p=14 rad/sec ) 200 30 ( 400 ) ( 2    S S S S Gp 1 200 30 400Kp (6000-400Kp)/30 0 400Kp 3 2 1
  • 5. Example (cont.) Pu=2П/ For PID controller Kp=7.5 Ki=40 Kd=0.5 Matlab code for Ziegler Nichols Method clg, rlocus(ng,dg) [km,pole]=rlocfind(ng,dg) keyboard wm=imag(pole); kp=.5*km; pu=2*pi/wm; kd= 0.075*kp*pu ki=1.2*kp/pu
  • 6. Method (II) step response Method : The rules are based directly on the slope of the tangent at the turning point and on the delay of the step response. The transfer function will take the following form. Where is the pure time delay, and is time constant of the system One has to observe that the measurement of the step response needs only to be taken at the turning point T, as the slope of the tangent already describes the ratio . Using the measured data and as well as the formula given in the following table the controller tuning parameters can be determined by simple calculations. d  
  • 7. Conversion from continuous to digital Conversion using c2dm [numDz,denDz] = c2dm (num,den,Ts,'zoh') [F,G,H,J] = c2dm (A,B,C,D,Ts,'zoh') 1. Transfer function Example Suppose you have the following continuous transfer function M=1; b=10; k=20; num=[1]; den=[M b k]; Ts=1/100; [numDz,denDz]=c2dm(num,den,Ts,'zoh')
  • 8. transient response Suppose we have the following discrete transfer function numDz=[1]; denDz=[1 -0.3 0.5]; [x] = dstep (numDz,denDz,51); t = 0:0.05:2.5; stairs (t,x)
  • 9. 2. State-Space Matlab code M=1; b=10; k=20; A=[0 1; -k/M -b/M]; B=[ 0; 1/M]; C=[1 0]; D=[0]; Ts=1/100; [F,G,H,J] = c2dm (A,B,C,D,Ts,'zoh')
  • 10. ) ( ) ( Z E K Z U p  dt t de t u ) ( ) (  T k e k e k U ) 1 ( ) ( ) (    Digital I Controller Digital P and D controller    t t o o d e t u t u  ) ( ) ( ) (      T K kT d e k u k u ) 1 ( ) ( ) ( ) 1 (  
  • 11.   ) ( ) 1 ( 2 ) ( ) 1 ( k e k e T k u k u        ) ( ) ( 2 ) ( ) ( Z E Z ZE T Z U Z ZU    Digital PID Controller or
  • 12. Summary Summary Current sequence covered the following Current sequence covered the following 1- Ziegler Nichols Method for tuning PID 1- Ziegler Nichols Method for tuning PID parameters parameters 2-Conversion from continuous system to digital 2-Conversion from continuous system to digital systems systems 3-Structure of PID digital controllers 3-Structure of PID digital controllers 1. 1. Matlab code to design PID controllers Matlab code to design PID controllers
  • 13. Assessment Assessment To view the assessment click on the To view the assessment click on the link below. link below. Good Luck Good Luck