SlideShare a Scribd company logo
Assist. Prof. Dr. Khalaf S. Gaeid
Electrical Engineering Department
Tikrit University
gaeidkhalaf@gmail.com
+9647703057076
Lead , Lag Compensator in
Frequency Domain
1.Introduction
2.Phase Lead or Lag Compensator
3.Digital Controller Design
4.Calculations of Frequency Response in w-domain
5.Design Approach
6.Design specific to Phase lag and lead Compensator
7.Examples
Contents
Introduction
A discrete time phase lead/lag compensator is designed by
using the bilinear transformation that maps the inside of the
unit circle in z-plane to the entire LHP of w-plane.
The phase lead/lag compensator is designed in w-domain
utilizing the techniques available for continuous time
compensator design, then map it back to the z -domain by the
bilinear transformation. The first order w-domain
compensator is given by analogy to s -domain as
2.Phase Lead or Lag Compensator
A pole is at w=−ωwp and a zero is at w=−ωw0
• Phase lead compensator: ωwp > ωw0
• Phase lag compensator: ω w0 > ω wp
3.Digital Controller Design
Frequency Response Method
Design a phase lead or phase lag compensator
D(z) = Kd(z − z0)/(z − zp)
such that the (open loop) system satisfies a given phase
margin of
φm ≈(100 ξ ) so that the (closed loop) system has damping
ratio of ξ.
Since the frequency response method based on phase
margin and gain margin established in the Laplace domain (s-
domain) is used here, the frequency response of D(z)
combined with a plant transfer function G(z) with ZOH must
be transformed into w-domain by using the bilinear
transformationBecause, the stable region of the z-plane that is the inside of
a unit circle, is mapped into the entire LHP (Left Half Plane) of
the w-plane.
The parameters Kd, z0 and zp of the first order phase lead/lag
compensator are determined in terms of a0, ωw0 , ωwp defined
in the w-domain
4.Calculations of Frequency Response in w-domain
In order to obtain frequency response (Bode plot) in w-
domain, do the following steps.
1. Find the transfer function in the z-transform,
G(z) = (1 − z−1)Z[G(s)/s]
2. Calculate the frequency response G(ejωT ) for 0 ≤ wT ≤π
with a proper step size. Record the actual frequency scale of
0 ≤ w ≤ωs = π/T
3. Calculate corresponding frequency ωw to the frequencies
used to calculate G(ejωT ).
ω w =2/TtanωT/2
4. Make a frequency response table to help drawing the Bode
diagram.
5. Draw the Bode Diagram, both for Magnitude of G(ejωT )and
<G(ejωT ) using the frequency scale of ωw, not ω. This process
is often called as frequency pre-warping.
5.Design Approach
•Digital controller design to determine D(z) by the frequency
response method uses phase margin φm as a key parameter.
•Design is to make the phase margin of the open loop
transfer function D(w)G(w) have a specified phase margin φm
at a frequency ωw1 .
•Finding the new cross-over frequency ωw1 requires several
conditions to be met, and also requires “try and error” until a
satisfactory value is found.
• We are designing (determining)
6.Design specific to Phase lag Compensator
The first order phase lag compensator can be designed by
the formula similarly as in the case of phase lead
compensator. However, there is a basic difference in the
principle of compensating for a required phase margin.
• Phase lead compensators add a positive phase to increase
the phase margin without drastically changing the 0 dB
crossover frequency.
• A phase lag compensators is used to lower the overall gain
to shift the 0 dB crossover frequency to a much smaller
value so that a larger phase margin is obtained.
Since the 0 dB crossover frequency ωw1 is shifted to a lower
frequency where the phase response of the Bode diagram is
not affected by the compensator, selecting ω w1 can be done
on the Bodediagram of G(w) alone without being affected by the
compensator.
First, find a new crossover frequency ωw1 where the
condition,
< G(jωw1 ) = −1800 + φm + 50
is satisfied. 5 accounts for a slight phase angle decrease by
the phase lag compensator. The rule of thumb to set ωw0 in
the compensator’s transfer function,
Ex1:The servo motor is to control the horizontal (azimuth)
angle for pointing a radar antenna. The transfer function is
given by
Ex2.The servo motor is to control the horizontal (azimuth)
angle for pointing a radar antenna. The transfer function is
given by
Ex3. consider that the following system is subjected to a
sampled data control system with sampling time T = 0.2 sec.
Thus
The bi - linear transformation
will transfer Gz(z) into w -plane, as
We need first design a phase lead compensator so that PM of
the compensated system is at least 50° with Kv = 2 . The
compensator in w -plane is
Design steps are as follows.
• K has to be found out from the Kv requirement.
• Make ωmax = ωgnew.
• Compute the gain crossover frequency ωg and phase
margin of the uncompensated system after introducing K in
the system.
• At ωg check the additional/required phase lead, add safety
margin, find out φmax. Calculate α from the required φmax
• Since the lead part of the compensator provides a gain of
20 log101√𝜶, find out the frequency where the logarithmic
magnitude is - 20 log101√𝜶. This will be the new gain
crossover frequency where the maximum phase lead should
occur.
• Calculate τ from the relation
Using MATLAB command ''margin'', phase margin of the
system with K = 2 is computed as 31.6° with ωg = 1.26
rad/sec,
Thus the required phase lead is 50° - 31.6° = 18.4° . After
adding a safety margin of 11.6° , φ max becomes 30° . Hence
From the frequency response of the system it can be found
out that at ω = 1.75 rad/sec, the magnitude of the system is
Thus ωmax = ωgnew = 1.75 rad/sec. This gives
Thus the controller in w-plane is
The Bode plot of the compensated system is shown below.
Re-transforming the above controller into z -plane using the
relation we get the controller in z -plane, as
Try to design a phase lag compensator so that PM of the
compensated system is at least 50° and steady state error to
a unit step input is 0.1. The compensator in w -plane is
where,
Required PM is 50°. Let us put a safety margin of 5°. Thus
the PM of the system modified with K should be 55°.
By solving the above, ωg = 2.44 rad/sec. Thus the magnitude
at ωg should be 1
Putting the value of ωg in the last equation, we get K = 4.13
Thus,
If we place 1/ τ one decade below the gain crossover
frequency, then
Thus the controller in w -plane is
Re-transforming the above controller into z -plane using the
relation
we get
The Bode plot of the compensated system is shown below.
Operational amplifiers used to as a compensators
Thanks

More Related Content

What's hot

Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
Amr E. Mohamed
 
Lecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsLecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsSaifullah Memon
 
Chapter 7 1
Chapter 7 1Chapter 7 1
Chapter 7 1
Kiya Alemayehu
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems,
Prajakta Pardeshi
 
Root locus
Root locus Root locus
Root locus
Abhishek Choksi
 
SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM
ANISH PATHAK
 
Types of nonlinearities
Types of nonlinearitiesTypes of nonlinearities
Types of nonlinearities
nida unapprochablestair
 
Polar plot
Polar plotPolar plot
Polar plot
Mrunal Deshkar
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Amr E. Mohamed
 
PULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATIONPULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATION
bharath405
 
Ch7 frequency response analysis
Ch7 frequency response analysisCh7 frequency response analysis
Ch7 frequency response analysis
Elaf A.Saeed
 
Bode plot
Bode plotBode plot
Bode plot
Ramaiahsubasri
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
vaibhav jindal
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
ragu nath
 
Time Domain and Frequency Domain
Time Domain and Frequency DomainTime Domain and Frequency Domain
Time Domain and Frequency Domain
sajan gohel
 
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
sanjay kumar pediredla
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
Attaporn Ninsuwan
 
Notes nyquist plot and stability criteria
Notes nyquist plot and stability criteriaNotes nyquist plot and stability criteria
Notes nyquist plot and stability criteria
Aleksandar Micic
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
Amr E. Mohamed
 
Time response second order
Time response second orderTime response second order
Time response second order
Syed Saeed
 

What's hot (20)

Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Lecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systemsLecture 12 time_domain_analysis_of_control_systems
Lecture 12 time_domain_analysis_of_control_systems
 
Chapter 7 1
Chapter 7 1Chapter 7 1
Chapter 7 1
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems,
 
Root locus
Root locus Root locus
Root locus
 
SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM
 
Types of nonlinearities
Types of nonlinearitiesTypes of nonlinearities
Types of nonlinearities
 
Polar plot
Polar plotPolar plot
Polar plot
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
PULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATIONPULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATION
 
Ch7 frequency response analysis
Ch7 frequency response analysisCh7 frequency response analysis
Ch7 frequency response analysis
 
Bode plot
Bode plotBode plot
Bode plot
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
 
Time Domain and Frequency Domain
Time Domain and Frequency DomainTime Domain and Frequency Domain
Time Domain and Frequency Domain
 
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
CONTROL SYSTEMS PPT ON A LEAD COMPENSATOR CHARACTERISTICS USING BODE DIAGRAM ...
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
 
Notes nyquist plot and stability criteria
Notes nyquist plot and stability criteriaNotes nyquist plot and stability criteria
Notes nyquist plot and stability criteria
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
 
Time response second order
Time response second orderTime response second order
Time response second order
 

Similar to Lag lead compensator design in frequency domain 7th lecture

1 bode plot
1 bode plot1 bode plot
1 bode plot
Vani Adiga
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
Chiramathe Nami
 
Chapter 10-pid-1
Chapter 10-pid-1Chapter 10-pid-1
Chapter 10-pid-1
mohamed maghraby
 
Bode Plots
Bode Plots Bode Plots
Bode Plots
Hussain K
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
VasantkumarUpadhye
 
Ct2 2013 14
Ct2 2013 14Ct2 2013 14
Ct2 2013 14
dana53
 
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
 
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
 
lesson15et438a.ppsx
lesson15et438a.ppsxlesson15et438a.ppsx
lesson15et438a.ppsx
NoumboCynthiaMegane
 
Bode Plot Notes Step by Step
Bode Plot Notes Step by StepBode Plot Notes Step by Step
Bode Plot Notes Step by Step
Mohammad Umar Rehman
 
H010245763
H010245763H010245763
H010245763
IOSR Journals
 
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdfSjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Chinnichinni92
 
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
Tsuyoshi Horigome
 
Project review
Project reviewProject review
Project review
Sudhakar Reddy
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptx
OthmanBensaoud
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter Design
Amr E. Mohamed
 
ECE 626 project report Switched Capacitor
ECE 626 project report Switched CapacitorECE 626 project report Switched Capacitor
ECE 626 project report Switched Capacitor
Karthik Rathinavel
 
Frequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdfFrequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdf
Sunil Manjani
 
PSpiceで位相余裕度シミュレーション
PSpiceで位相余裕度シミュレーション PSpiceで位相余裕度シミュレーション
PSpiceで位相余裕度シミュレーション
Tsuyoshi Horigome
 
PWM Step-down Converter(NJM2309)
PWM Step-down Converter(NJM2309)PWM Step-down Converter(NJM2309)
PWM Step-down Converter(NJM2309)
Tsuyoshi Horigome
 

Similar to Lag lead compensator design in frequency domain 7th lecture (20)

1 bode plot
1 bode plot1 bode plot
1 bode plot
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
 
Chapter 10-pid-1
Chapter 10-pid-1Chapter 10-pid-1
Chapter 10-pid-1
 
Bode Plots
Bode Plots Bode Plots
Bode Plots
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
Ct2 2013 14
Ct2 2013 14Ct2 2013 14
Ct2 2013 14
 
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
 
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
 
lesson15et438a.ppsx
lesson15et438a.ppsxlesson15et438a.ppsx
lesson15et438a.ppsx
 
Bode Plot Notes Step by Step
Bode Plot Notes Step by StepBode Plot Notes Step by Step
Bode Plot Notes Step by Step
 
H010245763
H010245763H010245763
H010245763
 
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdfSjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
 
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
 
Project review
Project reviewProject review
Project review
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptx
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter Design
 
ECE 626 project report Switched Capacitor
ECE 626 project report Switched CapacitorECE 626 project report Switched Capacitor
ECE 626 project report Switched Capacitor
 
Frequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdfFrequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdf
 
PSpiceで位相余裕度シミュレーション
PSpiceで位相余裕度シミュレーション PSpiceで位相余裕度シミュレーション
PSpiceで位相余裕度シミュレーション
 
PWM Step-down Converter(NJM2309)
PWM Step-down Converter(NJM2309)PWM Step-down Converter(NJM2309)
PWM Step-down Converter(NJM2309)
 

Recently uploaded

Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
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
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
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
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 

Recently uploaded (20)

Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
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
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
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
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 

Lag lead compensator design in frequency domain 7th lecture

  • 1. Assist. Prof. Dr. Khalaf S. Gaeid Electrical Engineering Department Tikrit University gaeidkhalaf@gmail.com +9647703057076 Lead , Lag Compensator in Frequency Domain
  • 2. 1.Introduction 2.Phase Lead or Lag Compensator 3.Digital Controller Design 4.Calculations of Frequency Response in w-domain 5.Design Approach 6.Design specific to Phase lag and lead Compensator 7.Examples Contents
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. A discrete time phase lead/lag compensator is designed by using the bilinear transformation that maps the inside of the unit circle in z-plane to the entire LHP of w-plane. The phase lead/lag compensator is designed in w-domain utilizing the techniques available for continuous time compensator design, then map it back to the z -domain by the bilinear transformation. The first order w-domain compensator is given by analogy to s -domain as 2.Phase Lead or Lag Compensator
  • 9. A pole is at w=−ωwp and a zero is at w=−ωw0
  • 10.
  • 11. • Phase lead compensator: ωwp > ωw0 • Phase lag compensator: ω w0 > ω wp
  • 12.
  • 13. 3.Digital Controller Design Frequency Response Method Design a phase lead or phase lag compensator D(z) = Kd(z − z0)/(z − zp) such that the (open loop) system satisfies a given phase margin of φm ≈(100 ξ ) so that the (closed loop) system has damping ratio of ξ.
  • 14. Since the frequency response method based on phase margin and gain margin established in the Laplace domain (s- domain) is used here, the frequency response of D(z) combined with a plant transfer function G(z) with ZOH must be transformed into w-domain by using the bilinear transformationBecause, the stable region of the z-plane that is the inside of a unit circle, is mapped into the entire LHP (Left Half Plane) of the w-plane. The parameters Kd, z0 and zp of the first order phase lead/lag compensator are determined in terms of a0, ωw0 , ωwp defined in the w-domain
  • 15. 4.Calculations of Frequency Response in w-domain In order to obtain frequency response (Bode plot) in w- domain, do the following steps. 1. Find the transfer function in the z-transform, G(z) = (1 − z−1)Z[G(s)/s] 2. Calculate the frequency response G(ejωT ) for 0 ≤ wT ≤π with a proper step size. Record the actual frequency scale of 0 ≤ w ≤ωs = π/T 3. Calculate corresponding frequency ωw to the frequencies used to calculate G(ejωT ). ω w =2/TtanωT/2
  • 16. 4. Make a frequency response table to help drawing the Bode diagram. 5. Draw the Bode Diagram, both for Magnitude of G(ejωT )and <G(ejωT ) using the frequency scale of ωw, not ω. This process is often called as frequency pre-warping.
  • 17. 5.Design Approach •Digital controller design to determine D(z) by the frequency response method uses phase margin φm as a key parameter. •Design is to make the phase margin of the open loop transfer function D(w)G(w) have a specified phase margin φm at a frequency ωw1 .
  • 18. •Finding the new cross-over frequency ωw1 requires several conditions to be met, and also requires “try and error” until a satisfactory value is found. • We are designing (determining)
  • 19. 6.Design specific to Phase lag Compensator The first order phase lag compensator can be designed by the formula similarly as in the case of phase lead compensator. However, there is a basic difference in the principle of compensating for a required phase margin. • Phase lead compensators add a positive phase to increase the phase margin without drastically changing the 0 dB crossover frequency. • A phase lag compensators is used to lower the overall gain to shift the 0 dB crossover frequency to a much smaller value so that a larger phase margin is obtained.
  • 20. Since the 0 dB crossover frequency ωw1 is shifted to a lower frequency where the phase response of the Bode diagram is not affected by the compensator, selecting ω w1 can be done on the Bodediagram of G(w) alone without being affected by the compensator. First, find a new crossover frequency ωw1 where the condition, < G(jωw1 ) = −1800 + φm + 50 is satisfied. 5 accounts for a slight phase angle decrease by the phase lag compensator. The rule of thumb to set ωw0 in the compensator’s transfer function,
  • 21.
  • 22. Ex1:The servo motor is to control the horizontal (azimuth) angle for pointing a radar antenna. The transfer function is given by
  • 23.
  • 24.
  • 25.
  • 26. Ex2.The servo motor is to control the horizontal (azimuth) angle for pointing a radar antenna. The transfer function is given by
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Ex3. consider that the following system is subjected to a sampled data control system with sampling time T = 0.2 sec. Thus The bi - linear transformation
  • 32. will transfer Gz(z) into w -plane, as We need first design a phase lead compensator so that PM of the compensated system is at least 50° with Kv = 2 . The compensator in w -plane is
  • 33. Design steps are as follows. • K has to be found out from the Kv requirement. • Make ωmax = ωgnew. • Compute the gain crossover frequency ωg and phase margin of the uncompensated system after introducing K in the system. • At ωg check the additional/required phase lead, add safety margin, find out φmax. Calculate α from the required φmax • Since the lead part of the compensator provides a gain of 20 log101√𝜶, find out the frequency where the logarithmic magnitude is - 20 log101√𝜶. This will be the new gain crossover frequency where the maximum phase lead should occur. • Calculate τ from the relation
  • 34. Using MATLAB command ''margin'', phase margin of the system with K = 2 is computed as 31.6° with ωg = 1.26 rad/sec,
  • 35.
  • 36. Thus the required phase lead is 50° - 31.6° = 18.4° . After adding a safety margin of 11.6° , φ max becomes 30° . Hence From the frequency response of the system it can be found out that at ω = 1.75 rad/sec, the magnitude of the system is Thus ωmax = ωgnew = 1.75 rad/sec. This gives Thus the controller in w-plane is
  • 37. The Bode plot of the compensated system is shown below.
  • 38. Re-transforming the above controller into z -plane using the relation we get the controller in z -plane, as Try to design a phase lag compensator so that PM of the compensated system is at least 50° and steady state error to a unit step input is 0.1. The compensator in w -plane is where,
  • 39. Required PM is 50°. Let us put a safety margin of 5°. Thus the PM of the system modified with K should be 55°. By solving the above, ωg = 2.44 rad/sec. Thus the magnitude at ωg should be 1
  • 40. Putting the value of ωg in the last equation, we get K = 4.13 Thus, If we place 1/ τ one decade below the gain crossover frequency, then Thus the controller in w -plane is Re-transforming the above controller into z -plane using the relation
  • 41. we get The Bode plot of the compensated system is shown below.
  • 42.
  • 43. Operational amplifiers used to as a compensators