SlideShare a Scribd company logo
Chapter 9:
Discrete Controller Design
(PID Controller)
1
9.2 PID CONTROLLER
• The proportional–integral–derivative (PID)
controller is often referred to as a ‘three-term’
controller.
• It is one of the most frequently used controllers in
the process industry.
• In a PID controller the control variable is generated
from the sum of a term proportional to the error, a
term which is the integral of the error, and a term
which is the derivative of the error.
2
9.2 PID CONTROLLER
• Proportional: the error is multiplied by a gain Kp. A
very high gain may cause instability, and a very low gain
may cause the system to be very sluggish (slow).
• Integral: the integral of the error is found and
multiplied by a gain. The gain can be adjusted to drive
the error to zero in the required time.
• Derivative: The derivative of the error is multiplied by
a gain. The derivative control is used to improve the
transient response by reducing overshoot.
3
• The input–output relationship of a PID controller can be
expressed as
• where u(t) is the output from the controller and e(t) = r (t) −
y(t), in which r (t) is the desired set-point (reference input)
and y(t) is the plant output. Ti and Td are known as the
integral and derivative action time, respectively.
• By taking the Laplace transform of this equation, we can write
the transfer function of a continuous-time PID as
4
5
• To implement the PID controller using a digital computer we have
to convert the equation:
from a continuous to a discrete representation.
• There are several methods for doing this and the simplest is to use
the trapezoidal approximation for the integral and the backward
difference approximation for the derivative:
6
Discrete PID Controller
0
𝑡
𝑒 𝑡 𝑑𝑡 ≈ 𝑘=1
𝑛
𝑇𝑒 𝑘𝑇 ,
𝑑𝑒(𝑡)
𝑑𝑡
≈
𝑒 𝑛𝑇 −𝑒(𝑛𝑇−𝑇)
𝑇
• Using these approximations, we can write:
𝑢 𝑛𝑇 = 𝐾𝑝[𝑒 𝑛𝑇 +
1
𝑇𝑖
𝑘=1
𝑛
𝑇𝑒 𝑘𝑇 + 𝑇𝑑
𝑒 𝑛𝑇 −𝑒(𝑛𝑇−𝑇)
𝑇
],
𝑢 𝑛𝑇 − 𝑇 = 𝐾𝑝[𝑒 𝑛𝑇 − 𝑇 +
1
𝑇𝑖
𝑘=1
𝑛−1
𝑇𝑒 𝑘𝑇 + 𝑇𝑑
𝑒 𝑛𝑇−𝑇 −𝑒(𝑛𝑇−2𝑇)
𝑇
].
• Subtracting these two equations, we obtain:
𝑢𝑛 = 𝑢𝑛−1 + 𝐾𝑝 𝑒𝑛 − 𝑒𝑛−1 +
𝐾𝑝𝑇
𝑇𝑖
𝑒𝑛 +
𝐾𝑝𝑇𝑑
𝑇
[𝑒𝑛 − 2𝑒𝑛−1 + 𝑒𝑛−2]
where 𝑢𝑛: = 𝑢(𝑛𝑇) and 𝑢𝑛−1: = 𝑢 𝑛𝑇 − 𝑇 .
• The PID is now in a suitable form which can be implemented on a digital
computer. Here the current control action uses the previous control value
as a reference.
7
9.2.3 PID Tuning
• Tuning the controller involves adjusting the
parameters Kp, Td and Ti in order to obtain a
satisfactory response.
• There are many techniques for tuning a controller,
ranging from the first techniques described by J.G.
Ziegler and N.B. Nichols (known as the Ziegler–
Nichols tuning algorithm), to recent auto-tuning
controllers.
• In this section we shall look at the tuning of PID
controllers using the Ziegler–Nichols tuning
algorithm.
8
• Ziegler and Nichols suggested values for the PID
parameters of a plant based on open-loop or closed-
loop tests of the plant.
• According to Ziegler and Nichols, the open-loop
transfer function of a system can be approximated
with a time delay and a single-order system, i.e.
• where TD is the system time delay (i.e.
transportation delay), and T1 is the time constant of
the system.
9
• For open-loop tuning, we first find the plant parameters by applying
a step input to the open loop system.
• The plant parameters K, TD and T1 are then found from the result of
the step test as shown.
10
• Ziegler and Nichols then suggest using the PID controller settings
given in the Table below when the loop is closed.
• These parameters are based on the concept of minimizing the
integral of the absolute error after applying a step change to the set-
point.
11
Example
The open-loop unit step response of a thermal system is shown. Obtain
the transfer function of this system and use the Ziegler–Nichols tuning
algorithm to design:
(a) a proportional controller,
(b) a proportional plus integral (PI) controller, and
(c) a PID controller.
Draw the block diagram of the system in each case.
12
Solution
• From the previous Figure, the system
parameters are obtained as K = 40◦C, TD = 5 s
and T1 = 20 s, and, hence, the transfer function
of the plant is
13
(a) Proportional controller
• According to the Table of ZN settings for a
proportional controller are:
• Thus,
14
• The transfer function of the controller is then
and the block diagram of the closed-loop system
with the controller is shown below.
15
16
17

More Related Content

What's hot

Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shah
Kaushal Shah
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
Amr E. Mohamed
 
Class 20 effect of kp, ki & kd and pid control mode
Class 20   effect of kp, ki & kd and pid control modeClass 20   effect of kp, ki & kd and pid control mode
Class 20 effect of kp, ki & kd and pid control mode
Manipal Institute of Technology
 
Class 17 integral and derivative control mode
Class 17   integral and derivative control modeClass 17   integral and derivative control mode
Class 17 integral and derivative control mode
Manipal Institute of Technology
 
Design of sampled data control systems 5th lecture
Design of sampled data control systems  5th  lectureDesign of sampled data control systems  5th  lecture
Design of sampled data control systems 5th lecture
Khalaf Gaeid Alshammery
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
Ali Rind
 
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
Waqas Afzal
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysis
VanshVarshney
 
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
sanjay kumar pediredla
 
Pid control
Pid controlPid control
Pid control
AB Rizvi
 
The describing function
The describing functionThe describing function
The describing functionkatamthreveni
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
Yang Hong
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
Mahmoud Hussein
 
Ziegler-Nichols methods.pptx
Ziegler-Nichols methods.pptxZiegler-Nichols methods.pptx
Ziegler-Nichols methods.pptx
kaustubhshedbalkar1
 
Laplace transform
Laplace  transform   Laplace  transform
Laplace transform
001Abhishek1
 
Week 10 part 1 pe 6282 Block Diagrams
Week  10 part 1 pe 6282   Block DiagramsWeek  10 part 1 pe 6282   Block Diagrams
Week 10 part 1 pe 6282 Block Diagrams
Charlton Inao
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
Mohammed Waris Senan
 
Stabiltiy & R-H Ccriterion
Stabiltiy & R-H CcriterionStabiltiy & R-H Ccriterion
Stabiltiy & R-H Ccriterion
Hussain K
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-functionSaifullah Memon
 
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Amr E. Mohamed
 

What's hot (20)

Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shah
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
 
Class 20 effect of kp, ki & kd and pid control mode
Class 20   effect of kp, ki & kd and pid control modeClass 20   effect of kp, ki & kd and pid control mode
Class 20 effect of kp, ki & kd and pid control mode
 
Class 17 integral and derivative control mode
Class 17   integral and derivative control modeClass 17   integral and derivative control mode
Class 17 integral and derivative control mode
 
Design of sampled data control systems 5th lecture
Design of sampled data control systems  5th  lectureDesign of sampled data control systems  5th  lecture
Design of sampled data control systems 5th lecture
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
 
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
laplace transform and inverse laplace, properties, Inverse Laplace Calculatio...
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysis
 
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
 
Pid control
Pid controlPid control
Pid control
 
The describing function
The describing functionThe describing function
The describing function
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
 
Ziegler-Nichols methods.pptx
Ziegler-Nichols methods.pptxZiegler-Nichols methods.pptx
Ziegler-Nichols methods.pptx
 
Laplace transform
Laplace  transform   Laplace  transform
Laplace transform
 
Week 10 part 1 pe 6282 Block Diagrams
Week  10 part 1 pe 6282   Block DiagramsWeek  10 part 1 pe 6282   Block Diagrams
Week 10 part 1 pe 6282 Block Diagrams
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Stabiltiy & R-H Ccriterion
Stabiltiy & R-H CcriterionStabiltiy & R-H Ccriterion
Stabiltiy & R-H Ccriterion
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-function
 
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
 

Similar to 1578385.ppt

pid controller
 pid controller pid controller
pid controller
shurjeel amjad
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
MuhammadMubeen58
 
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
muhammadsubhan626458
 
10 Discrete Time Controller Design.pptx
10 Discrete Time Controller Design.pptx10 Discrete Time Controller Design.pptx
10 Discrete Time Controller Design.pptx
SaadAzhar15
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...
MIbrar4
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
ssuser27c61e
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
Amr E. Mohamed
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
nalan karunanayake
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
Mahmoud Hussein
 
Di34672675
Di34672675Di34672675
Di34672675
IJERA Editor
 
Pid controller
Pid controllerPid controller
Pid controller
Dr. Chetan Bhatt
 
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
AdeelShaikh28
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET Journal
 
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
Charlton Inao
 
Temperature Control System Using Pid Controller
Temperature Control System Using Pid ControllerTemperature Control System Using Pid Controller
Temperature Control System Using Pid Controller
Masum Parvej
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
Baghdad
 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
TaraGonzales5
 
Presentation FOPID Boost DC-DC Converter.pptx
Presentation FOPID Boost DC-DC Converter.pptxPresentation FOPID Boost DC-DC Converter.pptx
Presentation FOPID Boost DC-DC Converter.pptx
SherAli260123
 
D04954148
D04954148D04954148
D04954148
IOSR-JEN
 

Similar to 1578385.ppt (20)

pid controller
 pid controller pid controller
pid controller
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
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
 
10 Discrete Time Controller Design.pptx
10 Discrete Time Controller Design.pptx10 Discrete Time Controller Design.pptx
10 Discrete Time Controller Design.pptx
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
 
Di34672675
Di34672675Di34672675
Di34672675
 
Control
ControlControl
Control
 
Pid controller
Pid controllerPid controller
Pid controller
 
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
 
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
 
Temperature Control System Using Pid Controller
Temperature Control System Using Pid ControllerTemperature Control System Using Pid Controller
Temperature Control System Using Pid Controller
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
 
Presentation FOPID Boost DC-DC Converter.pptx
Presentation FOPID Boost DC-DC Converter.pptxPresentation FOPID Boost DC-DC Converter.pptx
Presentation FOPID Boost DC-DC Converter.pptx
 
D04954148
D04954148D04954148
D04954148
 

More from MuhammadMubeen58

14446351.ppt
14446351.ppt14446351.ppt
14446351.ppt
MuhammadMubeen58
 

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
 
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
 
14446351.ppt
14446351.ppt14446351.ppt
14446351.ppt
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 

1578385.ppt

  • 1. Chapter 9: Discrete Controller Design (PID Controller) 1
  • 2. 9.2 PID CONTROLLER • The proportional–integral–derivative (PID) controller is often referred to as a ‘three-term’ controller. • It is one of the most frequently used controllers in the process industry. • In a PID controller the control variable is generated from the sum of a term proportional to the error, a term which is the integral of the error, and a term which is the derivative of the error. 2
  • 3. 9.2 PID CONTROLLER • Proportional: the error is multiplied by a gain Kp. A very high gain may cause instability, and a very low gain may cause the system to be very sluggish (slow). • Integral: the integral of the error is found and multiplied by a gain. The gain can be adjusted to drive the error to zero in the required time. • Derivative: The derivative of the error is multiplied by a gain. The derivative control is used to improve the transient response by reducing overshoot. 3
  • 4. • The input–output relationship of a PID controller can be expressed as • where u(t) is the output from the controller and e(t) = r (t) − y(t), in which r (t) is the desired set-point (reference input) and y(t) is the plant output. Ti and Td are known as the integral and derivative action time, respectively. • By taking the Laplace transform of this equation, we can write the transfer function of a continuous-time PID as 4
  • 5. 5
  • 6. • To implement the PID controller using a digital computer we have to convert the equation: from a continuous to a discrete representation. • There are several methods for doing this and the simplest is to use the trapezoidal approximation for the integral and the backward difference approximation for the derivative: 6 Discrete PID Controller 0 𝑡 𝑒 𝑡 𝑑𝑡 ≈ 𝑘=1 𝑛 𝑇𝑒 𝑘𝑇 , 𝑑𝑒(𝑡) 𝑑𝑡 ≈ 𝑒 𝑛𝑇 −𝑒(𝑛𝑇−𝑇) 𝑇
  • 7. • Using these approximations, we can write: 𝑢 𝑛𝑇 = 𝐾𝑝[𝑒 𝑛𝑇 + 1 𝑇𝑖 𝑘=1 𝑛 𝑇𝑒 𝑘𝑇 + 𝑇𝑑 𝑒 𝑛𝑇 −𝑒(𝑛𝑇−𝑇) 𝑇 ], 𝑢 𝑛𝑇 − 𝑇 = 𝐾𝑝[𝑒 𝑛𝑇 − 𝑇 + 1 𝑇𝑖 𝑘=1 𝑛−1 𝑇𝑒 𝑘𝑇 + 𝑇𝑑 𝑒 𝑛𝑇−𝑇 −𝑒(𝑛𝑇−2𝑇) 𝑇 ]. • Subtracting these two equations, we obtain: 𝑢𝑛 = 𝑢𝑛−1 + 𝐾𝑝 𝑒𝑛 − 𝑒𝑛−1 + 𝐾𝑝𝑇 𝑇𝑖 𝑒𝑛 + 𝐾𝑝𝑇𝑑 𝑇 [𝑒𝑛 − 2𝑒𝑛−1 + 𝑒𝑛−2] where 𝑢𝑛: = 𝑢(𝑛𝑇) and 𝑢𝑛−1: = 𝑢 𝑛𝑇 − 𝑇 . • The PID is now in a suitable form which can be implemented on a digital computer. Here the current control action uses the previous control value as a reference. 7
  • 8. 9.2.3 PID Tuning • Tuning the controller involves adjusting the parameters Kp, Td and Ti in order to obtain a satisfactory response. • There are many techniques for tuning a controller, ranging from the first techniques described by J.G. Ziegler and N.B. Nichols (known as the Ziegler– Nichols tuning algorithm), to recent auto-tuning controllers. • In this section we shall look at the tuning of PID controllers using the Ziegler–Nichols tuning algorithm. 8
  • 9. • Ziegler and Nichols suggested values for the PID parameters of a plant based on open-loop or closed- loop tests of the plant. • According to Ziegler and Nichols, the open-loop transfer function of a system can be approximated with a time delay and a single-order system, i.e. • where TD is the system time delay (i.e. transportation delay), and T1 is the time constant of the system. 9
  • 10. • For open-loop tuning, we first find the plant parameters by applying a step input to the open loop system. • The plant parameters K, TD and T1 are then found from the result of the step test as shown. 10
  • 11. • Ziegler and Nichols then suggest using the PID controller settings given in the Table below when the loop is closed. • These parameters are based on the concept of minimizing the integral of the absolute error after applying a step change to the set- point. 11
  • 12. Example The open-loop unit step response of a thermal system is shown. Obtain the transfer function of this system and use the Ziegler–Nichols tuning algorithm to design: (a) a proportional controller, (b) a proportional plus integral (PI) controller, and (c) a PID controller. Draw the block diagram of the system in each case. 12
  • 13. Solution • From the previous Figure, the system parameters are obtained as K = 40◦C, TD = 5 s and T1 = 20 s, and, hence, the transfer function of the plant is 13
  • 14. (a) Proportional controller • According to the Table of ZN settings for a proportional controller are: • Thus, 14
  • 15. • The transfer function of the controller is then and the block diagram of the closed-loop system with the controller is shown below. 15
  • 16. 16
  • 17. 17