Sie sind auf Seite 1von 14

NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23

PID Controller Design


D Bi h kh Bh tt h Dr. Bishakh Bhattacharya
Professor, Department of Mechanical Engineering
IIT Kanpur
J oint Initiative of IITs and IISc - Funded by MHRD
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
ThisLectureContains
What is PID Control? WhatisPIDControl?
AdvantageofPID
AdvantageofPIandPDController
Assignment
J oint Initiative of IITs and IISc - Funded by MHRD
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
What is PID Control? What is PID Control?
Dynamic Systems are often controlled with the help of a three term
t k PID P t d f P ti l C t l I t d f compensator known as PID; P stands for Proportional Control, I stands for
Integral Control and D stands for Derivative Control.
Consider a closed loop system with unity feedback as follows:
The plant P, is controlled by a control input u(t), which can be expressed as
follows: follows:
) ( ) ( ) ( ) (
.
t e K dt t e K t e K t u
d i p


JointInitiativeofIITsandIISc Fundedby
MHRD
3
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Frequency Domain Representation of
C t ll Controller
The control input could be represented in frequency domain as follows:
) ( ] [ ) ( s E s K
s
K
K s U
d
i
p

The closed loop transfer function could be written as follows:
) ( ) ( ) ( s P s C s Y

This tells us that the poles of the closed loop transfer functions are actually the
f 1+C( )P( ) B id i th th t th t
) ( ) ( 1 ) ( s P s C s R
zeros of 1+C(s)P(s). By considering the three terms as three parameters, you
can study the effect of changing each one of these parameters on the root
locus.
JointInitiativeofIITsandIISc Fundedby
MHRD
4
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Advantage of Different Parameters of PID Controller g
P t Ad t Li it ti Parameters Advantage Limitation
K
p
Adjustmentof
Controller output
Maycauseinstability
K
i
Produces zerosteady
stateerror
Slowdynamic
Responseand
Instabilityy
K
d
Providesrapidsystem
response
SensitivetoNoiseand
nonzerooffset
JointInitiativeofIITsandIISc Fundedby
MHRD
5
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Application of PI Controller on a First
O d S t Order System
Consider a first order plant as follows:
s
K
s P

1
) (
If we apply a PI controller then C(s) becomes:
K
K
s
K
i

The closed loop transfer function may be written as:


s
K
K
s
K
K s C
p
p
i
p
) (
i p
p i
p
KK s K K s
K K s
KK
s R
s Y

) 1 (
/
) (
) (
) (
2

JointInitiativeofIITsandIISc Fundedby
MHRD
6
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Numerical Simulation of the system Numerical Simulation of the system
Let us consider the first order system with K=1 and = 10 s, hence the open
l t t f f ti b itt loop system transfer function may be written as
s
s T
10 1
1
) (

Let us look at the unit step response of this system the controller has
miserably failed to follow!
JointInitiativeofIITsandIISc Fundedby
MHRD
7
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
First Order System - Numerical
Si l ti Simulation
Now let us consider a PI controller with the following parameters:
1
1

K
K
10
1

i
p
K
K
The new closed loop transfer function may be written as:
10

s
T
10 2 10
2

s s
T
JointInitiativeofIITsandIISc Fundedby
MHRD
8
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Response of the new system Response of the new system
The unit step response of the new system is shown below vis a vis the old
t system:
JointInitiativeofIITsandIISc Fundedby
MHRD
9
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Application of PD Controller on a First
O d S t Order System
Consider a first order plant as follows:
s
K
s P

1
) (
If we apply a PD controller then C(s) becomes:
) / ( ) ( K K s K s K K s C
The closed loop transfer function may be written as:
) / ( ) (
d p d d p
K K s K s K K s C
) 1 ( ) ( ) (
) (
p d
p d
K K s KK
KK s KK
s R
s Y

JointInitiativeofIITsandIISc Fundedby
MHRD
10
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
A numerical example A numerical example
Let us consider a numerical example where K=10 and = 0.1. The response of
th t ith t t i f ll N t th t it t k b t 0 05 the system without any compensator is as follows: Note that it took about 0.05
seconds for the system to reach the steady state which is 0.9.
JointInitiativeofIITsandIISc Fundedby
MHRD
11
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
A Modified Response A Modified Response
If you now add a compensator with K
p
= 9 and K
d
= 1, you can see the change
i t f ll Y b th t th l (0 9) i in step response as follows. You may observe that the same value (0.9) is
obtained in less than 0.2 seconds.
JointInitiativeofIITsandIISc Fundedby
MHRD
12
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Assignment Assignment
Consider a second order system with natural frequency 10 Hz and Damping
coefficient = 0.1. Find out a PID controller which will improve the steady state
performance ten times and also improve the peak-time 5 times.
Hints: Consider the standard second order models discussed earlier and cascade
it with a PID controller as shown in this lecture. Take trial values of K
p,
K
i
and K
d
and find out the response continue till the performance is satisfactory. p p y
JointInitiativeofIITsandIISc Fundedby
MHRD
13
NPTEL >>Mechanical Engineering >> Modeling and Control of Dynamic electro-Mechanical System Module 3- Lecture 23
Special References for this lecture Special References for this lecture
Feedback Control of Dynamic Systems, Frankline, Powell and Emami, Pearson
Control Systems Engineering Norman S Nise, John Wiley & Sons
Design of Feedback Control Systems Stefani Shahian Savant Hostetter Design of Feedback Control Systems Stefani, Shahian, Savant, Hostetter
Oxford
JointInitiativeofIITsandIISc Fundedby
MHRD
14

Das könnte Ihnen auch gefallen