SlideShare a Scribd company logo
1 of 25
PID Controllers
1
Transfer Function
2
Proportional Gain
Derivative Time Integral Time
𝐶 𝑠 = 𝐾 𝑃 1 + 𝑇𝑑 𝑠 +
1
𝑇𝑖 𝑠
3
Problem 1.1- For the system shown in Fig. 1.1 draw the open loop step response.
1
𝑠2 + 10𝑠 + 20
Fig. 1.1
input output
Solution- with the help of following command in MATLAB response is obtained.
G= tf(1,[1 10 20]);
step(G);
4
without any controller
Proportional Control (P)
 Easy Tuning
 Introduce steady state error called offset.
5
Controller Process
error
Reference
Input output+
-
r(t) u(t)e(t)
feedback
6
For problem 1.1 using a P controller with Kp=500 and for unity feedback.
Integral Control (I)
 No steady state error (for step input).
 Slow response.
7
8
For problem 1.1 using a I controller with Ki=70 and for unity feedback.
Derivative Control (D)
can not respond to sudden error.
9
PI Controller
 No offset associate with P controller.
 Fast response.
 for sinusoidal input phase of the controller output legs by ,
hence it is similar to Leg Compensator.
10
tan−1
1
𝑇𝑖 𝜔
11
For problem 1.1 using a PI controller with Kp=30 & Ki=70 and for unity feedback.
PD Controller
 used for system having large no of time constant.
 for sinusoidal input phase of the controller output lead by
hence it is similar to Lead Compensator.
12
tan−1
𝜔𝑇𝑑
13
For problem 1.1 using a PD controller with Kp=500 & Kd=10 and for unity feedback.
PID Controller
 Tuning is difficult
 Used for controlling slow variables.
14
15
For problem 1.1 using a PID controller with Kp=500, Ki=400 & Kd=50 and for unity
feedback.
Performance of Different Controllers
Parameter PI PD PID
Rise Time
Band Width
Stability
Damping Ratio
Peak Overshoot
16
Tuning of PID Controller
17
Tuning Methods
1. Dynamic Model of the plant is Not known
I. The Step Response of the plant is S-shaved Curve
II. The Step Response of the plant is not S-shaved Curve
2. Dynamic Model of the plant is known
I. The plant has no integral term in the transfer function
II. The plant has an integral term in the transfer function
18
19
1. Dynamic Model of the plant is Not known
I. The Step Response of the plant is S-shaved
CurveZiegler- Nichols Method
 Open Loop response for a step input is
determined
 The values can be calculated as:
Controller KP Ti Td
P T/L 0
PI 0.9(T/L) L/0.3 0
PID 1.2(T/L) 2L 0.5L
20
1. Dynamic Model of the plant is Not known
II. The Step Response of the plant is not S-shaved
Curve
No specific tuning method available.
21
2. Dynamic Model of the plant is known
I. The plant has no integral term in the
transfer function
Ziegler- Nichols Method
 First P mode is selected by putting Td=0 and Ti= ∞
(infinity).
 Increase KP from 0 to critical value Kcr such that
system exhibits sustained oscillations with time
period Pcr.
Controller KP Ti Td
P 0.5Kcr 0
PI 0.45Kcr Pcr/1.2
PID 0.6Kcr Pcr/2 Pcr/8
22
Problem 1.2: Consider the control system shown in Fig. 1.2 which has a PID controller to
control the system.
Fig. 1.2
Then obtain a unit step response curve and check if the designed system exhibits
approximately 25% maximum overshoot. If the maximum is 40% or more, then make a fine
tuning of PID controller to reduce the maximum overshoot to approximately 25% or less.
23
By applying Ziegler- Nichols Method response is shown in fig which have peak overshoot about 60%, hence fine
tuning of PID controller is further needed.
24
Modifying the tuning of PID controller by moving double zero at origin to the s= -0.65 and keeping Kp=18
25
2. Dynamic Model of the plant is known
II. The plant has an integral term in the
transfer function
 Initially low value of p-control and Td =0 &
Ti = ∞ (infinity).
 KP Is increased slowly till P2/P1 is 0.25. then
value is given as:
KP =gain when P2/P1 is 0.25
Ti = td/6
Td = td/1.5

More Related Content

What's hot

Pid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logicPid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logic
Roni Roshni
 
PID Controller
PID ControllerPID Controller
PID Controller
saishah72
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
Bin Biny Bino
 

What's hot (20)

Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controller
 
Pid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logicPid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logic
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
PID Control System
PID Control System PID Control System
PID Control System
 
PID Controller
PID ControllerPID Controller
PID Controller
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
pid controller
 pid controller pid controller
pid controller
 
Basic elements in control systems
Basic elements in control systemsBasic elements in control systems
Basic elements in control systems
 
Chapter 1 introduction to control system
Chapter 1 introduction to control systemChapter 1 introduction to control system
Chapter 1 introduction to control system
 
Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systems
 
Frequency Response Analysis
Frequency Response AnalysisFrequency Response Analysis
Frequency Response Analysis
 
Class 19 pi & pd control modes
Class 19   pi & pd control modesClass 19   pi & pd control modes
Class 19 pi & pd control modes
 
PID controller
PID controllerPID controller
PID controller
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control System
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
Servo mechanism and control system
Servo mechanism and control systemServo mechanism and control system
Servo mechanism and control system
 
Class 15 control action and controllers
Class 15   control action and controllersClass 15   control action and controllers
Class 15 control action and controllers
 

Similar to PID Controllers

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
 
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
AdeelShaikh28
 
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdfInno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
kabuej3
 

Similar to PID Controllers (20)

1577320.ppt
1577320.ppt1577320.ppt
1577320.ppt
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
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...
 
PID Control
PID ControlPID Control
PID Control
 
PID Tuning
PID TuningPID Tuning
PID Tuning
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
Design of PID CONTROLLER FOR ENGINEERING
Design of PID CONTROLLER FOR ENGINEERINGDesign of PID CONTROLLER FOR ENGINEERING
Design of PID CONTROLLER FOR ENGINEERING
 
1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
Lecture9.pdf
Lecture9.pdfLecture9.pdf
Lecture9.pdf
 
PID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.pptPID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.ppt
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
 
D04954148
D04954148D04954148
D04954148
 
Tuning of pid
Tuning of pidTuning of pid
Tuning of pid
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
 
Control
ControlControl
Control
 
Closed loop control systems block diagrams
Closed loop control systems block diagramsClosed loop control systems block diagrams
Closed loop control systems block diagrams
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATIONcontrollers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
 
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
APznzabA8g23RgxiR6fP-ozZy3sPtXBejAWXnpOk2IAUSf8MhKCcj9HvCFizojknFBbbouRLn8EtY...
 
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdfInno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
Inno2019_EMT4203_CONTROL_II_Chap1_Control Actions.pdf
 

More from Ankit Basera

More from Ankit Basera (7)

Condition monitoring of rotating electrical machines
Condition monitoring of rotating electrical machinesCondition monitoring of rotating electrical machines
Condition monitoring of rotating electrical machines
 
Transformer Diagnostics Technique
Transformer Diagnostics TechniqueTransformer Diagnostics Technique
Transformer Diagnostics Technique
 
Motor Current Signature Analysis
Motor Current Signature AnalysisMotor Current Signature Analysis
Motor Current Signature Analysis
 
Dissolved gas analysis
Dissolved gas analysisDissolved gas analysis
Dissolved gas analysis
 
Maintenance of electrical machines
Maintenance of electrical machinesMaintenance of electrical machines
Maintenance of electrical machines
 
Power Electronics Introduction
Power Electronics IntroductionPower Electronics Introduction
Power Electronics Introduction
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 

Recently uploaded (20)

Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 

PID Controllers

  • 2. Transfer Function 2 Proportional Gain Derivative Time Integral Time 𝐶 𝑠 = 𝐾 𝑃 1 + 𝑇𝑑 𝑠 + 1 𝑇𝑖 𝑠
  • 3. 3 Problem 1.1- For the system shown in Fig. 1.1 draw the open loop step response. 1 𝑠2 + 10𝑠 + 20 Fig. 1.1 input output Solution- with the help of following command in MATLAB response is obtained. G= tf(1,[1 10 20]); step(G);
  • 5. Proportional Control (P)  Easy Tuning  Introduce steady state error called offset. 5 Controller Process error Reference Input output+ - r(t) u(t)e(t) feedback
  • 6. 6 For problem 1.1 using a P controller with Kp=500 and for unity feedback.
  • 7. Integral Control (I)  No steady state error (for step input).  Slow response. 7
  • 8. 8 For problem 1.1 using a I controller with Ki=70 and for unity feedback.
  • 9. Derivative Control (D) can not respond to sudden error. 9
  • 10. PI Controller  No offset associate with P controller.  Fast response.  for sinusoidal input phase of the controller output legs by , hence it is similar to Leg Compensator. 10 tan−1 1 𝑇𝑖 𝜔
  • 11. 11 For problem 1.1 using a PI controller with Kp=30 & Ki=70 and for unity feedback.
  • 12. PD Controller  used for system having large no of time constant.  for sinusoidal input phase of the controller output lead by hence it is similar to Lead Compensator. 12 tan−1 𝜔𝑇𝑑
  • 13. 13 For problem 1.1 using a PD controller with Kp=500 & Kd=10 and for unity feedback.
  • 14. PID Controller  Tuning is difficult  Used for controlling slow variables. 14
  • 15. 15 For problem 1.1 using a PID controller with Kp=500, Ki=400 & Kd=50 and for unity feedback.
  • 16. Performance of Different Controllers Parameter PI PD PID Rise Time Band Width Stability Damping Ratio Peak Overshoot 16
  • 17. Tuning of PID Controller 17
  • 18. Tuning Methods 1. Dynamic Model of the plant is Not known I. The Step Response of the plant is S-shaved Curve II. The Step Response of the plant is not S-shaved Curve 2. Dynamic Model of the plant is known I. The plant has no integral term in the transfer function II. The plant has an integral term in the transfer function 18
  • 19. 19 1. Dynamic Model of the plant is Not known I. The Step Response of the plant is S-shaved CurveZiegler- Nichols Method  Open Loop response for a step input is determined  The values can be calculated as: Controller KP Ti Td P T/L 0 PI 0.9(T/L) L/0.3 0 PID 1.2(T/L) 2L 0.5L
  • 20. 20 1. Dynamic Model of the plant is Not known II. The Step Response of the plant is not S-shaved Curve No specific tuning method available.
  • 21. 21 2. Dynamic Model of the plant is known I. The plant has no integral term in the transfer function Ziegler- Nichols Method  First P mode is selected by putting Td=0 and Ti= ∞ (infinity).  Increase KP from 0 to critical value Kcr such that system exhibits sustained oscillations with time period Pcr. Controller KP Ti Td P 0.5Kcr 0 PI 0.45Kcr Pcr/1.2 PID 0.6Kcr Pcr/2 Pcr/8
  • 22. 22 Problem 1.2: Consider the control system shown in Fig. 1.2 which has a PID controller to control the system. Fig. 1.2 Then obtain a unit step response curve and check if the designed system exhibits approximately 25% maximum overshoot. If the maximum is 40% or more, then make a fine tuning of PID controller to reduce the maximum overshoot to approximately 25% or less.
  • 23. 23 By applying Ziegler- Nichols Method response is shown in fig which have peak overshoot about 60%, hence fine tuning of PID controller is further needed.
  • 24. 24 Modifying the tuning of PID controller by moving double zero at origin to the s= -0.65 and keeping Kp=18
  • 25. 25 2. Dynamic Model of the plant is known II. The plant has an integral term in the transfer function  Initially low value of p-control and Td =0 & Ti = ∞ (infinity).  KP Is increased slowly till P2/P1 is 0.25. then value is given as: KP =gain when P2/P1 is 0.25 Ti = td/6 Td = td/1.5