SlideShare a Scribd company logo
Digital PID control (CLO-3)
Lecture# 38-42
Feedback control in discrete system
PID control
PID control
PID control
The figure shows the digital control system. When controller
gain K is unity and sampling time is 0.5 sec determine :
a) The open loop pulse transfer function
b) The closed loop pulse transfer function
c) Difference equation for discrete time response
d) Steady state value of system output
Example-1
Example-1
Example-1
Example-1
Example-1
b)
Example-1
c)
d)
Digital Implementation of Analog Controllers
12
Discretization of continuous-time controllers
• Basic idea: Reuse the analog design
• Want to get:
– A/D + Algorithm + D/A≈ G(s)
• Methods:
– Approximate s, i.e., H(z) = G(s’)
– Other discretization methods (Matlab) 13
Discretization of continuous-time controllers
• Approximation Methods
14
Discretization of continuous-time controllers
• Approximation Methods
15
Discretization of continuous-time controllers
• Approximation Methods
16
Example-1
• Using the three approximation methods to find the discrete-
time equivalent of a lead compensator.
• Compare the approximation result by plotting the frequency
response of the continuous-time controller and the discrete-
time approximation for sampling periods T = 1, 0.5 and 0.1.
17
𝐺 𝑠 =
10𝑠 + 1
𝑠 + 1
Example-1
• Solution: The approximations give the following relations:
• Using Euler’s approximation method
18
𝐺 𝑧 =
10(
𝑧 − 1
𝑇
) + 1
𝑧 − 1
𝑇
+ 1
=
10 𝑧 − 1 + 𝑇
𝑍 − 1 + 𝑇
Example-1
• Solution: The approximations give the following relations:
• Using Backward Difference approximation method
19
𝐺 𝑧 =
10(
𝑧 − 1
𝑧𝑇
) + 1
𝑧 − 1
𝑧𝑇
+ 1
=
10 𝑧 − 1 + 𝑧𝑇
𝑍 − 1 + 𝑧𝑇
Example-1
• Solution: The approximations give the following relations:
• Using Tustin’s approximation method
20
𝐺 𝑧 =
10(
2
𝑇
𝑧 − 1
𝑧 + 1
) + 1
2
𝑇
𝑧 − 1
𝑧 + 1
+ 1
=
20 𝑧 − 1 + 𝑇(𝑧 + 1)
2(𝑍 − 1) + 𝑇(𝑧 + 1)
Example-1
21
• Frequency Response @ T=1
Example-1
22
• Frequency Response @ T=0.5
Example-1
23
• Frequency Response @ T=0.1
PI Controller
• Figure shows the diagram of a PI type analog controller.
• The controller contains two channels (a proportional channel
and an integral channel) that process the error between the
reference signal and the output.
24
Digital PI Controller
• Digital PI control law can even be obtained by the
discretization of a PI analog controller.
• The control law for an analog PI controller is given by
• Using Tustin’s Approximation method
25
𝐶(𝑠) = 𝐾 1 +
1
𝑇𝑖𝑠
𝑖. 𝑒 𝑠 =
2
𝑇
𝑧 − 1
𝑧 + 1
𝐶(𝑧) = 𝐾 1 +
1
𝑇𝑖
2
𝑇
𝑧 − 1
𝑧 + 1
Digital PID Controller
• Many practical control problems are solved by PID controllers
or their variants.
• The continuous-time transfer function of a PID controller can
be obtained by taking the Laplace transform of above eq
• PID controller is non-causal and cannot, and should not, be
implemented.
26
𝑢(𝑡) = 𝐾𝑝 𝑒 𝑡 +
1
𝑇𝑖
න
𝑜
𝑡
𝑒 𝑡 𝑑𝑡 + 𝑇𝑑
𝑑𝑒(𝑡)
𝑑𝑡
𝐶𝑝𝑖𝑑(𝑠) =
𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2
+ 𝑇𝑖𝑠 + 1)
𝑇𝑖𝑠
Digital PID Controller
• The main reason is that the derivative term is non-causal and that
it amplifies high frequency noise in the measured signals.
• Hence, the gain of the derivative action must be limited.
• This can be achieved by introducing an additional low-pass filter
to the derivative action:
27
𝐶𝑝𝑖𝑑(𝑠) =
𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2
+ 𝑇𝑖𝑠 + 1)
𝑇𝑖𝑠
𝐾𝐷𝑠 ≈
𝐾𝐷𝑠
𝜏𝐿𝑠 + 1
Digital PID Controller
• With the augmentation of a low pass filter, the modified
continuous-time PID controller can be written as
• which introduced two zeros, a pole at the origin and another
“fast” pole.
• Any of the previous approximation methods can be used to
approximate the PID controller.
28
𝐶𝑝𝑖𝑑(𝑠) =
𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2
+ 𝑇𝑖𝑠 + 1)
𝑇𝑖𝑠
𝐾𝐷𝑠 ≈
𝐾𝐷𝑠
𝜏𝐿𝑠 + 1
𝐶𝑝𝑖𝑑(𝑠) =
𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2
+ 𝑇𝑖𝑠 + 1)
𝑇𝑖𝑠(𝜏𝐿𝑠 + 1)
Homework

More Related Content

Similar to APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtYQudWFQOSN5nSBSkyQPGBgc6dfhVc0...ay0cGI4BhUjqgjwXrhIHioEhfKP7EmexySB5dzd7pxkJx9T_OCjKw15tKZZAblJgqI_aILPONExedamKG0wh5gAa0y6ZjyjUVlWCsD8Ejaahr7u3P2XS5p3Rs=.pdf

Design of multiloop controller for
Design of multiloop controller forDesign of multiloop controller for
Design of multiloop controller for
ijsc
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
Mahmoud Hussein
 
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
 
Pid controller
Pid controllerPid controller
Pid controller
Dr. Chetan Bhatt
 
pid controller
 pid controller pid controller
pid controller
shurjeel amjad
 
PID Controllers
PID ControllersPID Controllers
PID Controllers
Ankit Basera
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer Function
MIbrar4
 
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques  Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
ijsc
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
IJPEDS-IAES
 
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
 
Eee3420 lecture01 rev2011
Eee3420 lecture01 rev2011Eee3420 lecture01 rev2011
Eee3420 lecture01 rev2011
benson215
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
Baghdad
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
AnshulShekhar3
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
Adarsh Singh
 
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENTEHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
csandit
 
Sistema de control discreto
Sistema de control discretoSistema de control discreto
Sistema de control discreto
ricardomadrid19
 
Sistemas de control discretos
Sistemas de control discretos Sistemas de control discretos
Sistemas de control discretos
ricardomadrid19
 
Control system
Control systemControl system
Control system
abhishek ambhore
 
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
IRJET Journal
 

Similar to APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtYQudWFQOSN5nSBSkyQPGBgc6dfhVc0...ay0cGI4BhUjqgjwXrhIHioEhfKP7EmexySB5dzd7pxkJx9T_OCjKw15tKZZAblJgqI_aILPONExedamKG0wh5gAa0y6ZjyjUVlWCsD8Ejaahr7u3P2XS5p3Rs=.pdf (20)

Design of multiloop controller for
Design of multiloop controller forDesign of multiloop controller for
Design of multiloop controller for
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
 
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...
 
Pid controller
Pid controllerPid controller
Pid controller
 
pid controller
 pid controller pid controller
pid controller
 
1577320.ppt
1577320.ppt1577320.ppt
1577320.ppt
 
PID Controllers
PID ControllersPID Controllers
PID Controllers
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer Function
 
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques  Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Eee3420 lecture01 rev2011
Eee3420 lecture01 rev2011Eee3420 lecture01 rev2011
Eee3420 lecture01 rev2011
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENTEHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
 
Sistema de control discreto
Sistema de control discretoSistema de control discreto
Sistema de control discreto
 
Sistemas de control discretos
Sistemas de control discretos Sistemas de control discretos
Sistemas de control discretos
 
Control system
Control systemControl system
Control system
 
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
 

Recently uploaded

How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
SachinKumar945617
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 

Recently uploaded (20)

How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 

APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtYQudWFQOSN5nSBSkyQPGBgc6dfhVc0...ay0cGI4BhUjqgjwXrhIHioEhfKP7EmexySB5dzd7pxkJx9T_OCjKw15tKZZAblJgqI_aILPONExedamKG0wh5gAa0y6ZjyjUVlWCsD8Ejaahr7u3P2XS5p3Rs=.pdf

  • 1. Digital PID control (CLO-3) Lecture# 38-42
  • 2. Feedback control in discrete system
  • 6. The figure shows the digital control system. When controller gain K is unity and sampling time is 0.5 sec determine : a) The open loop pulse transfer function b) The closed loop pulse transfer function c) Difference equation for discrete time response d) Steady state value of system output Example-1
  • 12. Digital Implementation of Analog Controllers 12
  • 13. Discretization of continuous-time controllers • Basic idea: Reuse the analog design • Want to get: – A/D + Algorithm + D/A≈ G(s) • Methods: – Approximate s, i.e., H(z) = G(s’) – Other discretization methods (Matlab) 13
  • 14. Discretization of continuous-time controllers • Approximation Methods 14
  • 15. Discretization of continuous-time controllers • Approximation Methods 15
  • 16. Discretization of continuous-time controllers • Approximation Methods 16
  • 17. Example-1 • Using the three approximation methods to find the discrete- time equivalent of a lead compensator. • Compare the approximation result by plotting the frequency response of the continuous-time controller and the discrete- time approximation for sampling periods T = 1, 0.5 and 0.1. 17 𝐺 𝑠 = 10𝑠 + 1 𝑠 + 1
  • 18. Example-1 • Solution: The approximations give the following relations: • Using Euler’s approximation method 18 𝐺 𝑧 = 10( 𝑧 − 1 𝑇 ) + 1 𝑧 − 1 𝑇 + 1 = 10 𝑧 − 1 + 𝑇 𝑍 − 1 + 𝑇
  • 19. Example-1 • Solution: The approximations give the following relations: • Using Backward Difference approximation method 19 𝐺 𝑧 = 10( 𝑧 − 1 𝑧𝑇 ) + 1 𝑧 − 1 𝑧𝑇 + 1 = 10 𝑧 − 1 + 𝑧𝑇 𝑍 − 1 + 𝑧𝑇
  • 20. Example-1 • Solution: The approximations give the following relations: • Using Tustin’s approximation method 20 𝐺 𝑧 = 10( 2 𝑇 𝑧 − 1 𝑧 + 1 ) + 1 2 𝑇 𝑧 − 1 𝑧 + 1 + 1 = 20 𝑧 − 1 + 𝑇(𝑧 + 1) 2(𝑍 − 1) + 𝑇(𝑧 + 1)
  • 24. PI Controller • Figure shows the diagram of a PI type analog controller. • The controller contains two channels (a proportional channel and an integral channel) that process the error between the reference signal and the output. 24
  • 25. Digital PI Controller • Digital PI control law can even be obtained by the discretization of a PI analog controller. • The control law for an analog PI controller is given by • Using Tustin’s Approximation method 25 𝐶(𝑠) = 𝐾 1 + 1 𝑇𝑖𝑠 𝑖. 𝑒 𝑠 = 2 𝑇 𝑧 − 1 𝑧 + 1 𝐶(𝑧) = 𝐾 1 + 1 𝑇𝑖 2 𝑇 𝑧 − 1 𝑧 + 1
  • 26. Digital PID Controller • Many practical control problems are solved by PID controllers or their variants. • The continuous-time transfer function of a PID controller can be obtained by taking the Laplace transform of above eq • PID controller is non-causal and cannot, and should not, be implemented. 26 𝑢(𝑡) = 𝐾𝑝 𝑒 𝑡 + 1 𝑇𝑖 න 𝑜 𝑡 𝑒 𝑡 𝑑𝑡 + 𝑇𝑑 𝑑𝑒(𝑡) 𝑑𝑡 𝐶𝑝𝑖𝑑(𝑠) = 𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2 + 𝑇𝑖𝑠 + 1) 𝑇𝑖𝑠
  • 27. Digital PID Controller • The main reason is that the derivative term is non-causal and that it amplifies high frequency noise in the measured signals. • Hence, the gain of the derivative action must be limited. • This can be achieved by introducing an additional low-pass filter to the derivative action: 27 𝐶𝑝𝑖𝑑(𝑠) = 𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2 + 𝑇𝑖𝑠 + 1) 𝑇𝑖𝑠 𝐾𝐷𝑠 ≈ 𝐾𝐷𝑠 𝜏𝐿𝑠 + 1
  • 28. Digital PID Controller • With the augmentation of a low pass filter, the modified continuous-time PID controller can be written as • which introduced two zeros, a pole at the origin and another “fast” pole. • Any of the previous approximation methods can be used to approximate the PID controller. 28 𝐶𝑝𝑖𝑑(𝑠) = 𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2 + 𝑇𝑖𝑠 + 1) 𝑇𝑖𝑠 𝐾𝐷𝑠 ≈ 𝐾𝐷𝑠 𝜏𝐿𝑠 + 1 𝐶𝑝𝑖𝑑(𝑠) = 𝐾𝑝(𝑇𝑖𝑇𝐷𝑠2 + 𝑇𝑖𝑠 + 1) 𝑇𝑖𝑠(𝜏𝐿𝑠 + 1)