SlideShare una empresa de Scribd logo
1 de 44
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

Más contenido relacionado

La actualidad más candente

Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecturekhalaf Gaeid
 
Frequency Response Analysis
Frequency Response AnalysisFrequency Response Analysis
Frequency Response AnalysisHussain K
 
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 SystemsAmr E. Mohamed
 
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 systemsAmr E. Mohamed
 
STate Space Analysis
STate Space AnalysisSTate Space Analysis
STate Space AnalysisHussain K
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)Niraj Solanki
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 
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
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
Structures for FIR systems
Structures for FIR systemsStructures for FIR systems
Structures for FIR systemsChandan Taluja
 
Nyquist stability criterion
Nyquist stability criterionNyquist stability criterion
Nyquist stability criterionjawaharramaya
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)PRABHAHARAN429
 
Overview of sampling
Overview of samplingOverview of sampling
Overview of samplingSagar Kumar
 

La actualidad más candente (20)

Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecture
 
Frequency Response Analysis
Frequency Response AnalysisFrequency Response Analysis
Frequency Response Analysis
 
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
 
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
 
STate Space Analysis
STate Space AnalysisSTate Space Analysis
STate Space Analysis
 
Z Transform
Z TransformZ Transform
Z Transform
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
Structures for FIR systems
Structures for FIR systemsStructures for FIR systems
Structures for FIR systems
 
pid controller
 pid controller pid controller
pid controller
 
Nyquist stability criterion
Nyquist stability criterionNyquist stability criterion
Nyquist stability criterion
 
Root locus
Root locus Root locus
Root locus
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
Overview of sampling
Overview of samplingOverview of sampling
Overview of sampling
 
Root locus
Root locusRoot locus
Root locus
 

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

EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
EE411  lecture 13- Design of Compensators in Frequency Domain.pptxEE411  lecture 13- Design of Compensators in Frequency Domain.pptx
EE411 lecture 13- Design of Compensators in Frequency Domain.pptxmonaibrahim598401
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revisionragu nath
 
Ct2 2013 14
Ct2 2013 14Ct2 2013 14
Ct2 2013 14dana53
 
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.pdfalfqythythm296
 
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 systemsNANDHAKUMARA10
 
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdfSjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdfChinnichinni92
 
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPTTsuyoshi Horigome
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxOthmanBensaoud
 
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 DesignAmr E. Mohamed
 
ECE 626 project report Switched Capacitor
ECE 626 project report Switched CapacitorECE 626 project report Switched Capacitor
ECE 626 project report Switched CapacitorKarthik Rathinavel
 
Frequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdfFrequency Response with MATLAB Examples.pdf
Frequency Response with MATLAB Examples.pdfSunil Manjani
 

Similar a 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
 
EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
EE411  lecture 13- Design of Compensators in Frequency Domain.pptxEE411  lecture 13- Design of Compensators in Frequency Domain.pptx
EE411 lecture 13- Design of Compensators in Frequency Domain.pptx
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
 
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
 

Último

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
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.pdfAldoGarca30
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 

Último (20)

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
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
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 

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