SlideShare a Scribd company logo
Chapter 10 – The Design of Feedback Control Systems
PID
Compensation Networks
Different Types of Feedback Control
On-Off Control
This is the simplest form of control.
Proportional Control
A proportional controller attempts to perform better than the On-off type by
applying power in proportion to the difference in temperature between the
measured and the set-point. As the gain is increased the system responds faster to
changes in set-point but becomes progressively underdamped and eventually
unstable. The final temperature lies below the set-point for this system because
some difference is required to keep the heater supplying power.
Proportional, Derivative Control
The stability and overshoot problems that arise when a proportional
controller is used at high gain can be mitigated by adding a term proportional
to the time-derivative of the error signal. The value of the damping can be
adjusted to achieve a critically damped response.
Proportional+Integral+Derivative Control
Although PD control deals neatly with the overshoot and ringing
problems associated with proportional control it does not cure the
problem with the steady-state error. Fortunately it is possible to eliminate
this while using relatively low gain by adding an integral term to the
control function which becomes
The Characteristics of P, I, and D controllers
A proportional controller (Kp) will have the effect of reducing the
rise time and will reduce, but never eliminate, the steady-state
error.
An integral control (Ki) will have the effect of eliminating the
steady-state error, but it may make the transient response worse.
A derivative control (Kd) will have the effect of increasing the
stability of the system, reducing the overshoot, and improving the
transient response.
Proportional Control
By only employing proportional control, a steady state error
occurs.
Proportional and Integral Control
The response becomes more oscillatory and needs longer to
settle, the error disappears.
Proportional, Integral and Derivative Control
All design specifications can be reached.
CL RESPONSE RISE TIME OVERSHOOT SETTLING TIME S-S ERROR
Kp Decrease Increase Small Change Decrease
Ki Decrease Increase Increase Eliminate
Kd Small Change Decrease Decrease Small Change
The Characteristics of P, I, and D controllers
Tips for Designing a PID Controller
1. Obtain an open-loop response and determine what needs to be improved
2. Add a proportional control to improve the rise time
3. Add a derivative control to improve the overshoot
4. Add an integral control to eliminate the steady-state error
5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall
response.
Lastly, please keep in mind that you do not need to implement all three controllers
(proportional, derivative, and integral) into a single system, if not necessary. For
example, if a PI controller gives a good enough response (like the above
example), then you don't need to implement derivative controller to the system.
Keep the controller as simple as possible.
num=1;
den=[1 10 20];
step(num,den)
Open-Loop Control - Example
G s( )
1
s
2
10s+ 20+
Proportional Control - Example
The proportional controller (Kp) reduces the rise time, increases
the overshoot, and reduces the steady-state error.
MATLAB Example
 
Kp=300;
num=[Kp];
den=[1 10 20+Kp];
t=0:0.01:2;
step(num,den,t)
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.2
0.4
0.6
0.8
1
1.2
1.4
From: U(1)
To:Y(1)
T s( )
Kp
s
2
10 s⋅+ 20 Kp+( )+
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
From: U(1)
To:Y(1)
K=300 K=100
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.2
0.4
0.6
0.8
1
1.2
1.4
From: U(1)
To:Y(1)
Kp=300;
Kd=10;
num=[Kd Kp];
den=[1 10+Kd 20+Kp];
t=0:0.01:2;
step(num,den,t)
Proportional - Derivative - Example
The derivative controller (Kd) reduces both the overshoot and the
settling time.
MATLAB Example T s( )
Kd s⋅ Kp+
s
2
10 Kd+( ) s⋅+ 20 Kp+( )+
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
From: U(1)
To:Y(1)
Kd=10
Kd=20
Proportional - Integral - Example
The integral controller (Ki) decreases the rise time, increases both
the overshoot and the settling time, and eliminates the steady-state
error
MATLAB Example
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.2
0.4
0.6
0.8
1
1.2
1.4
From: U(1)
To:Y(1)
Kp=30;
Ki=70;
num=[Kp Ki];
den=[1 10 20+Kp Ki];
t=0:0.01:2;
step(num,den,t)
T s( )
Kp s⋅ Ki+
s
3
10 s
2
⋅+ 20 Kp+( ) s⋅+ Ki+
Time (sec.)
Amplitude
Step Response
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
0.2
0.4
0.6
0.8
1
1.2
1.4
From: U(1)
To:Y(1)
Ki=70
Ki=100
Syntax
rltool
rltool(sys)
rltool(sys,comp)
RLTOOL
RLTOOL
RLTOOL
RLTOOL
RLTOOL
Consider the following configuration:
Example - Practice
The design a system for the following specifications:
· Zero steady state error
· Settling time within 5 seconds
· Rise time within 2 seconds
· Only some overshoot permitted
Example - Practice
Lead or Phase-Lead Compensator Using Root Locus
A first-order lead compensator can be designed using the root locus. A lead compensator
in root locus form is given by
where the magnitude of z is less than the magnitude of p. A phase-lead compensator
tends to shift the root locus toward the left half plane. This results in an improvement in
the system's stability and an increase in the response speed.
When a lead compensator is added to a system, the value of this intersection will be a
larger negative number than it was before. The net number of zeros and poles will be the
same (one zero and one pole are added), but the added pole is a larger negative number
than the added zero. Thus, the result of a lead compensator is that the asymptotes'
intersection is moved further into the left half plane, and the entire root locus will be
shifted to the left. This can increase the region of stability as well as the response speed.
Gc s( )
s z+( )
s p+( )
In Matlab a phase lead compensator in root locus form is implemented by using the
transfer function in the form
numlead=kc*[1 z];
denlead=[1 p];
and using the conv() function to implement it with the numerator and denominator
of the plant
newnum=conv(num,numlead);
newden=conv(den,denlead);
Lead or Phase-Lead Compensator Using Root Locus
Lead or Phase-Lead Compensator Using Frequency Response
A first-order phase-lead compensator can be designed using the frequency response. A lead
compensator in frequency response form is given by
In frequency response design, the phase-lead compensator adds positive phase to the system
over the frequency range. A bode plot of a phase-lead compensator looks like the following
Gc s( )
1 α τ⋅ s⋅+( )
α 1 τ s⋅+( )⋅
p
1
τ
z
1
ατ
ωm z p⋅ sin φm( ) α 1−
α 1+
Lead or Phase-Lead Compensator Using Frequency Response
Additional positive phase increases the phase margin and thus increases the stability of
the system. This type of compensator is designed by determining alfa from the amount of
phase needed to satisfy the phase margin requirements, and determining tal to place the
added phase at the new gain-crossover frequency.
Another effect of the lead compensator can be seen in the magnitude plot. The lead
compensator increases the gain of the system at high frequencies (the amount of this gain
is equal to alfa. This can increase the crossover frequency, which will help to decrease the
rise time and settling time of the system.
In Matlab, a phase lead compensator in frequency response form is
implemented by using the transfer function in the form
numlead=[aT 1];
denlead=[T 1];
and using the conv() function to multiply it by the numerator and
denominator of the plant
newnum=conv(num,numlead);
newden=conv(den,denlead);
Lead or Phase-Lead Compensator Using Frequency Response
Lag or Phase-Lag Compensator Using Root Locus
A first-order lag compensator can be designed using the root locus. A lag compensator in root
locus form is given by
where the magnitude of z is greater than the magnitude of p. A phase-lag compensator tends to
shift the root locus to the right, which is undesirable. For this reason, the pole and zero of a lag
compensator must be placed close together (usually near the origin) so they do not appreciably
change the transient response or stability characteristics of the system.
When a lag compensator is added to a system, the value of this intersection will be a smaller
negative number than it was before. The net number of zeros and poles will be the same (one
zero and one pole are added), but the added pole is a smaller negative number than the added
zero. Thus, the result of a lag compensator is that the asymptotes' intersection is moved closer
to the right half plane, and the entire root locus will be shifted to the right.
Gc s( )
s z+( )
s p+( )
It was previously stated that that lag controller should only minimally change the
transient response because of its negative effect. If the phase-lag compensator is
not supposed to change the transient response noticeably, what is it good for? The
answer is that a phase-lag compensator can improve the system's steady-state
response. It works in the following manner. At high frequencies, the lag controller
will have unity gain. At low frequencies, the gain will be z0/p0 which is greater
than 1. This factor z/p will multiply the position, velocity, or acceleration constant
(Kp, Kv, or Ka), and the steady-state error will thus decrease by the factor z0/p0.
In Matlab, a phase lead compensator in root locus form is implemented by using
the transfer function in the form
numlag=[1 z];
denlag=[1 p];
and using the conv() function to implement it with the numerator and
denominator of the plant
newnum=conv(num,numlag);
newden=conv(den,denlag);
Lag or Phase-Lag Compensator Using Root Locus
Lag or Phase-Lag Compensator using Frequency Response
A first-order phase-lag compensator can be designed using the frequency response. A
lag compensator in frequency response form is given by
The phase-lag compensator looks similar to a phase-lead compensator, except that a is
now less than 1. The main difference is that the lag compensator adds negative phase to
the system over the specified frequency range, while a lead compensator adds positive
phase over the specified frequency. A bode plot of a phase-lag compensator looks like
the following
Gc s( )
1 α τ⋅ s⋅+( )
α 1 τ s⋅+( )⋅
In Matlab, a phase-lag compensator in frequency response form is
implemented by using the transfer function in the form
numlead=[a*T 1];
denlead=a*[T 1];
and using the conv() function to implement it with the numerator and
denominator of the plant
newnum=conv(num,numlead);
newden=conv(den,denlead);
Lag or Phase-Lag Compensator using Frequency Response
Lead-lag Compensator using either Root Locus or Frequency
Response
A lead-lag compensator combines the effects of a lead compensator with those of a lag
compensator. The result is a system with improved transient response, stability and
steady-state error. To implement a lead-lag compensator, first design the lead
compensator to achieve the desired transient response and stability, and then add on a lag
compensator to improve the steady-state response
Exercise - Dominant Pole-Zero Approximations and Compensations
The influence of a particular pole (or pair of complex poles) on the response is mainly determined
by two factors: the real part of the pole and the relative magnitude of the residue at the pole. The
real part determines the rate at which the transient term due to the pole decays; the larger the real
part, the faster the decay. The relative magnitude of the residue determines the percentage of the
total response due to a particular pole.
Investigate (using Simulink) the impact of a closed-loop negative real pole on the overshoot of a
system having complex poles.
T s( )
pr ωn
2
⋅
s pr+( ) s
2
2 ζ⋅ ωn⋅ s⋅( )+ ωn
2
+ ⋅
Make pr to vary (2, 3, 5) times the real part of the complex pole for different values of ζ (0.3, 0.5,
0.7).
Investigate (using Simulink) the impact of a closed-loop negative real zero on the overshoot of a
system having complex poles.
T s( )
s zr+( )
s
2
2 ζ⋅ ωn⋅ s⋅( )+ ωn
2
+



Make zr to vary (2, 3, 5) times the real part of the complex pole for different values of ζ (0.3, 0.5, 0.7).
Exercise - Lead and Lag Compensation
Investigate (using Matlab and Simulink) the effect of lead and lag compensations on the two
systems indicated below. Summarize your observations. Plot the root-locus, bode diagram
and output for a step input before and after the compensations.
Remember
lead compensation: z<p (place zero below the desired root location or to the left of the first two
real poles)
lag compensation: z>p (locate the pole and zero near the origin of the s-plane)
Lead Compensation (use z=1.33, p=20 and K =15).
Lag Compensation (use z=0.09 , and p=0.015, K=1/6 )
Summarize your findings
Problem 10.36
Determine a compensator so that the percent overshoot is less than 20% and Kv
(velocity constant) is greater than 8.
Chapter 10-pid-1
Chapter 10-pid-1

More Related Content

What's hot

Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lecture
Khalaf Gaeid Alshammery
 
Lag Compensator
Lag CompensatorLag Compensator
Lag Compensator
Islam Naqi
 
Simulated annealing.ppt
Simulated annealing.pptSimulated annealing.ppt
Simulated annealing.pptKaal Nath
 
1st and 2nd order systems in s domain
1st and 2nd order systems in s domain1st and 2nd order systems in s domain
1st and 2nd order systems in s domainWaqar Memon
 
phd thesis outline
phd thesis outlinephd thesis outline
phd thesis outline
Zheng Mengdi
 
Kalman filter for object tracking
Kalman filter for object trackingKalman filter for object tracking
Kalman filter for object trackingMohit Yadav
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginners
winfred lu
 
Time response analysis
Time response analysisTime response analysis
Time response analysis
Kaushal Patel
 
TIME DOMAIN ANALYSIS
TIME DOMAIN ANALYSISTIME DOMAIN ANALYSIS
TIME DOMAIN ANALYSIS
Syed Saeed
 
Time Domain and Frequency Domain
Time Domain and Frequency DomainTime Domain and Frequency Domain
Time Domain and Frequency Domain
sajan gohel
 
Lec 4 design via frequency response
Lec 4 design via frequency responseLec 4 design via frequency response
Lec 4 design via frequency response
Behzad Farzanegan
 
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
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filter
Mudit Parnami
 
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
AI Robotics KR
 

What's hot (18)

Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lecture
 
Lag Compensator
Lag CompensatorLag Compensator
Lag Compensator
 
Simulated annealing.ppt
Simulated annealing.pptSimulated annealing.ppt
Simulated annealing.ppt
 
1st and 2nd order systems in s domain
1st and 2nd order systems in s domain1st and 2nd order systems in s domain
1st and 2nd order systems in s domain
 
phd thesis outline
phd thesis outlinephd thesis outline
phd thesis outline
 
Control chap8
Control chap8Control chap8
Control chap8
 
Kalman filter for object tracking
Kalman filter for object trackingKalman filter for object tracking
Kalman filter for object tracking
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginners
 
Time response analysis
Time response analysisTime response analysis
Time response analysis
 
TIME DOMAIN ANALYSIS
TIME DOMAIN ANALYSISTIME DOMAIN ANALYSIS
TIME DOMAIN ANALYSIS
 
Time Domain and Frequency Domain
Time Domain and Frequency DomainTime Domain and Frequency Domain
Time Domain and Frequency Domain
 
Final Long Form Report
Final Long Form ReportFinal Long Form Report
Final Long Form Report
 
Lec 4 design via frequency response
Lec 4 design via frequency responseLec 4 design via frequency response
Lec 4 design via frequency response
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Slideshare
SlideshareSlideshare
Slideshare
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filter
 
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
 

Similar to Chapter 10-pid-1

Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
Chiramathe Nami
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
VasantkumarUpadhye
 
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
 
Lab 9 Frequency response lecture file.pdf
Lab 9 Frequency response lecture file.pdfLab 9 Frequency response lecture file.pdf
Lab 9 Frequency response lecture file.pdf
alfqythythm296
 
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
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptx
OthmanBensaoud
 
k10990 guddu ali control theory me 6th sem
k10990 guddu ali control theory me 6th semk10990 guddu ali control theory me 6th sem
k10990 guddu ali control theory me 6th sem
Guddu Ali
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systems
khalaf Gaeid
 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systems
NANDHAKUMARA10
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
Baghdad
 
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptxSTEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
Anikendu Maitra
 
1 bode plot
1 bode plot1 bode plot
1 bode plot
Vani Adiga
 
Iaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pidIaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pid
Iaetsd Iaetsd
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentalspurnima saha
 
Control configuration in digital control
Control configuration in digital controlControl configuration in digital control
Control configuration in digital control
Ashvani Shukla
 
Control configuration in digital control
Control configuration in digital controlControl configuration in digital control
Control configuration in digital control
Ashvani Shukla
 
G010525868
G010525868G010525868
G010525868
IOSR Journals
 
B010411016
B010411016B010411016
B010411016
IOSR Journals
 
Control project
Control projectControl project
Control project
Omar BOUZOURRAA
 
Identification and Tuning of Process with Inverse Response
Identification and Tuning of Process with Inverse ResponseIdentification and Tuning of Process with Inverse Response
Identification and Tuning of Process with Inverse Response
omkarharshe
 

Similar to Chapter 10-pid-1 (20)

Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
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
 
Lab 9 Frequency response lecture file.pdf
Lab 9 Frequency response lecture file.pdfLab 9 Frequency response lecture file.pdf
Lab 9 Frequency response lecture file.pdf
 
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...
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptx
 
k10990 guddu ali control theory me 6th sem
k10990 guddu ali control theory me 6th semk10990 guddu ali control theory me 6th sem
k10990 guddu ali control theory me 6th sem
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systems
 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systems
 
Chapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systemsChapter_6.pptx_Control_systems
Chapter_6.pptx_Control_systems
 
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptxSTEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
 
1 bode plot
1 bode plot1 bode plot
1 bode plot
 
Iaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pidIaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pid
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentals
 
Control configuration in digital control
Control configuration in digital controlControl configuration in digital control
Control configuration in digital control
 
Control configuration in digital control
Control configuration in digital controlControl configuration in digital control
Control configuration in digital control
 
G010525868
G010525868G010525868
G010525868
 
B010411016
B010411016B010411016
B010411016
 
Control project
Control projectControl project
Control project
 
Identification and Tuning of Process with Inverse Response
Identification and Tuning of Process with Inverse ResponseIdentification and Tuning of Process with Inverse Response
Identification and Tuning of Process with Inverse Response
 

Recently uploaded

AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
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
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 

Recently uploaded (20)

AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
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...
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 

Chapter 10-pid-1

  • 1. Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks
  • 2. Different Types of Feedback Control On-Off Control This is the simplest form of control.
  • 3. Proportional Control A proportional controller attempts to perform better than the On-off type by applying power in proportion to the difference in temperature between the measured and the set-point. As the gain is increased the system responds faster to changes in set-point but becomes progressively underdamped and eventually unstable. The final temperature lies below the set-point for this system because some difference is required to keep the heater supplying power.
  • 4. Proportional, Derivative Control The stability and overshoot problems that arise when a proportional controller is used at high gain can be mitigated by adding a term proportional to the time-derivative of the error signal. The value of the damping can be adjusted to achieve a critically damped response.
  • 5. Proportional+Integral+Derivative Control Although PD control deals neatly with the overshoot and ringing problems associated with proportional control it does not cure the problem with the steady-state error. Fortunately it is possible to eliminate this while using relatively low gain by adding an integral term to the control function which becomes
  • 6. The Characteristics of P, I, and D controllers A proportional controller (Kp) will have the effect of reducing the rise time and will reduce, but never eliminate, the steady-state error. An integral control (Ki) will have the effect of eliminating the steady-state error, but it may make the transient response worse. A derivative control (Kd) will have the effect of increasing the stability of the system, reducing the overshoot, and improving the transient response.
  • 7. Proportional Control By only employing proportional control, a steady state error occurs. Proportional and Integral Control The response becomes more oscillatory and needs longer to settle, the error disappears. Proportional, Integral and Derivative Control All design specifications can be reached.
  • 8. CL RESPONSE RISE TIME OVERSHOOT SETTLING TIME S-S ERROR Kp Decrease Increase Small Change Decrease Ki Decrease Increase Increase Eliminate Kd Small Change Decrease Decrease Small Change The Characteristics of P, I, and D controllers
  • 9. Tips for Designing a PID Controller 1. Obtain an open-loop response and determine what needs to be improved 2. Add a proportional control to improve the rise time 3. Add a derivative control to improve the overshoot 4. Add an integral control to eliminate the steady-state error 5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall response. Lastly, please keep in mind that you do not need to implement all three controllers (proportional, derivative, and integral) into a single system, if not necessary. For example, if a PI controller gives a good enough response (like the above example), then you don't need to implement derivative controller to the system. Keep the controller as simple as possible.
  • 10. num=1; den=[1 10 20]; step(num,den) Open-Loop Control - Example G s( ) 1 s 2 10s+ 20+
  • 11. Proportional Control - Example The proportional controller (Kp) reduces the rise time, increases the overshoot, and reduces the steady-state error. MATLAB Example   Kp=300; num=[Kp]; den=[1 10 20+Kp]; t=0:0.01:2; step(num,den,t) Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 From: U(1) To:Y(1) T s( ) Kp s 2 10 s⋅+ 20 Kp+( )+ Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 From: U(1) To:Y(1) K=300 K=100
  • 12. Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 From: U(1) To:Y(1) Kp=300; Kd=10; num=[Kd Kp]; den=[1 10+Kd 20+Kp]; t=0:0.01:2; step(num,den,t) Proportional - Derivative - Example The derivative controller (Kd) reduces both the overshoot and the settling time. MATLAB Example T s( ) Kd s⋅ Kp+ s 2 10 Kd+( ) s⋅+ 20 Kp+( )+ Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 From: U(1) To:Y(1) Kd=10 Kd=20
  • 13. Proportional - Integral - Example The integral controller (Ki) decreases the rise time, increases both the overshoot and the settling time, and eliminates the steady-state error MATLAB Example Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 From: U(1) To:Y(1) Kp=30; Ki=70; num=[Kp Ki]; den=[1 10 20+Kp Ki]; t=0:0.01:2; step(num,den,t) T s( ) Kp s⋅ Ki+ s 3 10 s 2 ⋅+ 20 Kp+( ) s⋅+ Ki+ Time (sec.) Amplitude Step Response 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 From: U(1) To:Y(1) Ki=70 Ki=100
  • 19. Consider the following configuration: Example - Practice
  • 20. The design a system for the following specifications: · Zero steady state error · Settling time within 5 seconds · Rise time within 2 seconds · Only some overshoot permitted Example - Practice
  • 21. Lead or Phase-Lead Compensator Using Root Locus A first-order lead compensator can be designed using the root locus. A lead compensator in root locus form is given by where the magnitude of z is less than the magnitude of p. A phase-lead compensator tends to shift the root locus toward the left half plane. This results in an improvement in the system's stability and an increase in the response speed. When a lead compensator is added to a system, the value of this intersection will be a larger negative number than it was before. The net number of zeros and poles will be the same (one zero and one pole are added), but the added pole is a larger negative number than the added zero. Thus, the result of a lead compensator is that the asymptotes' intersection is moved further into the left half plane, and the entire root locus will be shifted to the left. This can increase the region of stability as well as the response speed. Gc s( ) s z+( ) s p+( )
  • 22. In Matlab a phase lead compensator in root locus form is implemented by using the transfer function in the form numlead=kc*[1 z]; denlead=[1 p]; and using the conv() function to implement it with the numerator and denominator of the plant newnum=conv(num,numlead); newden=conv(den,denlead); Lead or Phase-Lead Compensator Using Root Locus
  • 23. Lead or Phase-Lead Compensator Using Frequency Response A first-order phase-lead compensator can be designed using the frequency response. A lead compensator in frequency response form is given by In frequency response design, the phase-lead compensator adds positive phase to the system over the frequency range. A bode plot of a phase-lead compensator looks like the following Gc s( ) 1 α τ⋅ s⋅+( ) α 1 τ s⋅+( )⋅ p 1 τ z 1 ατ ωm z p⋅ sin φm( ) α 1− α 1+
  • 24. Lead or Phase-Lead Compensator Using Frequency Response Additional positive phase increases the phase margin and thus increases the stability of the system. This type of compensator is designed by determining alfa from the amount of phase needed to satisfy the phase margin requirements, and determining tal to place the added phase at the new gain-crossover frequency. Another effect of the lead compensator can be seen in the magnitude plot. The lead compensator increases the gain of the system at high frequencies (the amount of this gain is equal to alfa. This can increase the crossover frequency, which will help to decrease the rise time and settling time of the system.
  • 25. In Matlab, a phase lead compensator in frequency response form is implemented by using the transfer function in the form numlead=[aT 1]; denlead=[T 1]; and using the conv() function to multiply it by the numerator and denominator of the plant newnum=conv(num,numlead); newden=conv(den,denlead); Lead or Phase-Lead Compensator Using Frequency Response
  • 26. Lag or Phase-Lag Compensator Using Root Locus A first-order lag compensator can be designed using the root locus. A lag compensator in root locus form is given by where the magnitude of z is greater than the magnitude of p. A phase-lag compensator tends to shift the root locus to the right, which is undesirable. For this reason, the pole and zero of a lag compensator must be placed close together (usually near the origin) so they do not appreciably change the transient response or stability characteristics of the system. When a lag compensator is added to a system, the value of this intersection will be a smaller negative number than it was before. The net number of zeros and poles will be the same (one zero and one pole are added), but the added pole is a smaller negative number than the added zero. Thus, the result of a lag compensator is that the asymptotes' intersection is moved closer to the right half plane, and the entire root locus will be shifted to the right. Gc s( ) s z+( ) s p+( )
  • 27. It was previously stated that that lag controller should only minimally change the transient response because of its negative effect. If the phase-lag compensator is not supposed to change the transient response noticeably, what is it good for? The answer is that a phase-lag compensator can improve the system's steady-state response. It works in the following manner. At high frequencies, the lag controller will have unity gain. At low frequencies, the gain will be z0/p0 which is greater than 1. This factor z/p will multiply the position, velocity, or acceleration constant (Kp, Kv, or Ka), and the steady-state error will thus decrease by the factor z0/p0. In Matlab, a phase lead compensator in root locus form is implemented by using the transfer function in the form numlag=[1 z]; denlag=[1 p]; and using the conv() function to implement it with the numerator and denominator of the plant newnum=conv(num,numlag); newden=conv(den,denlag); Lag or Phase-Lag Compensator Using Root Locus
  • 28. Lag or Phase-Lag Compensator using Frequency Response A first-order phase-lag compensator can be designed using the frequency response. A lag compensator in frequency response form is given by The phase-lag compensator looks similar to a phase-lead compensator, except that a is now less than 1. The main difference is that the lag compensator adds negative phase to the system over the specified frequency range, while a lead compensator adds positive phase over the specified frequency. A bode plot of a phase-lag compensator looks like the following Gc s( ) 1 α τ⋅ s⋅+( ) α 1 τ s⋅+( )⋅
  • 29. In Matlab, a phase-lag compensator in frequency response form is implemented by using the transfer function in the form numlead=[a*T 1]; denlead=a*[T 1]; and using the conv() function to implement it with the numerator and denominator of the plant newnum=conv(num,numlead); newden=conv(den,denlead); Lag or Phase-Lag Compensator using Frequency Response
  • 30. Lead-lag Compensator using either Root Locus or Frequency Response A lead-lag compensator combines the effects of a lead compensator with those of a lag compensator. The result is a system with improved transient response, stability and steady-state error. To implement a lead-lag compensator, first design the lead compensator to achieve the desired transient response and stability, and then add on a lag compensator to improve the steady-state response
  • 31. Exercise - Dominant Pole-Zero Approximations and Compensations The influence of a particular pole (or pair of complex poles) on the response is mainly determined by two factors: the real part of the pole and the relative magnitude of the residue at the pole. The real part determines the rate at which the transient term due to the pole decays; the larger the real part, the faster the decay. The relative magnitude of the residue determines the percentage of the total response due to a particular pole. Investigate (using Simulink) the impact of a closed-loop negative real pole on the overshoot of a system having complex poles. T s( ) pr ωn 2 ⋅ s pr+( ) s 2 2 ζ⋅ ωn⋅ s⋅( )+ ωn 2 + ⋅ Make pr to vary (2, 3, 5) times the real part of the complex pole for different values of ζ (0.3, 0.5, 0.7). Investigate (using Simulink) the impact of a closed-loop negative real zero on the overshoot of a system having complex poles. T s( ) s zr+( ) s 2 2 ζ⋅ ωn⋅ s⋅( )+ ωn 2 +    Make zr to vary (2, 3, 5) times the real part of the complex pole for different values of ζ (0.3, 0.5, 0.7).
  • 32. Exercise - Lead and Lag Compensation Investigate (using Matlab and Simulink) the effect of lead and lag compensations on the two systems indicated below. Summarize your observations. Plot the root-locus, bode diagram and output for a step input before and after the compensations. Remember lead compensation: z<p (place zero below the desired root location or to the left of the first two real poles) lag compensation: z>p (locate the pole and zero near the origin of the s-plane) Lead Compensation (use z=1.33, p=20 and K =15).
  • 33. Lag Compensation (use z=0.09 , and p=0.015, K=1/6 ) Summarize your findings
  • 34. Problem 10.36 Determine a compensator so that the percent overshoot is less than 20% and Kv (velocity constant) is greater than 8.