Compensator Design using Bode Plots

Similar documents
Bode and Log Magnitude Plots

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

TUTORIAL 9 OPEN AND CLOSED LOOP LINKS. On completion of this tutorial, you should be able to do the following.

EC CONTROL SYSTEMS ENGINEERING

Cleveland State University MCE441: Intr. Linear Control Systems. Lecture 12: Frequency Response Concepts Bode Diagrams. Prof.

Frequency Response Analysis and Design Tutorial

Lecture 7:Examples using compensators

Bode Plot for Controller Design

Module 08 Controller Designs: Compensators and PIDs

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

and using the step routine on the closed loop system shows the step response to be less than the maximum allowed 20%.

ECE317 : Feedback and Control

Bode Plots. Hamid Roozbahani

ME451: Control Systems. Course roadmap

Dr Ian R. Manchester

JUNE 2014 Solved Question Paper

CDS 101/110: Lecture 8.2 PID Control

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal.

Chapter 5 Frequency-domain design

Integrator windup and PID controller design

Välkomna till TSRT15 Reglerteknik Föreläsning 5. Summary of lecture 4 Frequency response Bode plot

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK UNIT - I SYSTEMS AND THEIR REPRESENTATION

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

EE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

EEL2216 Control Theory CT2: Frequency Response Analysis

EES42042 Fundamental of Control Systems Bode Plots

Feedback (and control) systems

Matlab r and Simulink Use in Response Analysis of Automobile Suspension System in Design

ECE317 Homework 7. where

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

Z-Wrap-110 Loss 31 July 01

DESIGN AND VALIDATION OF A PID AUTO-TUNING ALGORITHM

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

Introduction to Signals and Systems Lecture #9 - Frequency Response. Guillaume Drion Academic year

EE Experiment 8 Bode Plots of Frequency Response

BSNL TTA Question Paper Control Systems Specialization 2007

Välkomna till TSRT15 Reglerteknik Föreläsning 8

CHAPTER 9 FEEDBACK. NTUEE Electronics L.H. Lu 9-1

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Application Note #2442

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Multi criteria H optimal PID controllers from an undergraduate perspective

Microelectronic Circuits II. Ch 9 : Feedback

CHAPTER 5 PRINTED FLARED DIPOLE ANTENNA

EE152 F13 Midterm 1. Before starting, please check to make sure that you have all 6 pages Total 100. V0.

Lab 1: Simulating Control Systems with Simulink and MATLAB

Daniel Raviv and Eddy W. Djaja

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc.

Readings: FC: p : lead compensation. 9/9/2011 Classical Control 1

An LDO Primer. Part III: A Review on PSRR and Output Noise

Resonant Converter Control Loop Design. SmartCtrl Tutorial. 1 Powersimtech Inc.

Designing PID controllers with Matlab using frequency response methodology

Foundations (Part 2.C) - Peak Current Mode PSU Compensator Design

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear control systems design

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

A Short Row Tweak. The Chart

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

Butterworth, Elliptic, Chebychev Filters

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

EECS40 RLC Lab guide

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

You will be asked to make the following statement and provide your signature on the top of your solutions.

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

CDS 101/110a: Lecture 8-1 Frequency Domain Design. Frequency Domain Performance Specifications

Positive Feedback and Oscillators

Homework Assignment 13

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

Position Control of DC Motor by Compensating Strategies

System on a Chip. Prof. Dr. Michael Kraft

PID Tuner (ver. 1.0)

Advanced Motion Control Optimizes Laser Micro-Drilling

Environmental Stochasticity: Roc Flu Macro

Exam 2 Review Sheet. r(t) = x(t), y(t), z(t)

O 14 March 1968 White Sands Missile Range

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Winter Semester, Linear control systems design Part 1

Thursday, 1/23/19 Automatic Gain Control As previously shown, 1 0 is a nonlinear system that produces a limit cycle with a distorted sinusoid for

Outline. Digital Control. Lecture 3

Current Feedback Loop Gain Analysis and Performance Enhancement

Page 21 GRAPHING OBJECTIVES:

A graph is an effective way to show a trend in data or relating two variables in an experiment.

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

Advanced Servo Tuning

Another Compensator Design Example

Shaft Torque Excitation Control for Drivetrain Bench

Using an automated Excel spreadsheet to compensate a flyback converter operated in current-mode. Christophe Basso, David Sabatié

CHAPTER 11. Feedback. Microelectronic Circuits, Seventh Edition. Copyright 2015 by Oxford University Press

Evaluation and Tuning of Robust PID Controllers

LESSON 21: METHODS OF SYSTEM ANALYSIS

Chapter 10 Feedback ECE 3120 Microelectronics II Dr. Suketu Naik

BUCK Converter Control Cookbook

Experiment 2: Transients and Oscillations in RLC Circuits

LCR Parallel Circuits

Lecture 5 Introduction to control

PHASELOCK TECHNIQUES INTERSCIENCE. Third Edition. FLOYD M. GARDNER Consulting Engineer Palo Alto, California A JOHN WILEY & SONS, INC.

A Short Row Tweak. The Chart

Transcription:

Gain Compensation Compensator Design using Bode Plots Nichols charts are useful since it shows directly what you are trying to do when designing a compensator: you are trying to keep away from -1 to limit the resonance. The problem with Nichols charts is They are difficult to draw The resonance is difficult to find: the frequency where G(jw) is tangent to the M-circle changes as you change the gain. Note on the above Nichols chart, however, that the point where G(jw) is closest to -1 (and tangent to the M-circle) is very close to the point where the gain of GK = 0dB. Gain (db) 15 10 5 6dB Phase Margin GK 0 0dB Gain Frequency Resonance -5 Gain Margin -10-15 -220-210 -200-190 -180-170 -160-150 -140-130 -120-110 -100 Degrees Nichols Chart along with the resonance (the closest point to -1), the phase margin, and the gain margin If you assume that these two points are identical, it makes finding K much easier. i) Instead of drawing M-circles, find the point where G 1G 1 11 M m ii) Find the frequency where G iii) Adjust K so that at this frequency, GK 1 In this case, you are defining how far G(jw) is from -1 by how far it is away when the gain is 0dB. This is a much easier way to design a gain compensator, and hence has a special name: phase margin Phase Margin: Distance of G(jw) to -1 when the gain of G(jw) = 1. Relationship between Mm and Phase Margin: The phase margin which approximately corresponds to a certain resonance is from JSG 1 revjune 22, 2016

Gj 0dB 1 G 1 1G 11 M m 1 cos j sin 1 M m 1 cos 2 sin 2 1 M m 2 1 2coscos 2 sin 2 1 M m 2 2 2cos 1 M m 2 Phase Margin = 180 0 Example: Find K so that Gs 2000 ss5s20 has Solution: Mm < 6dB, and Minimal error for a step and ramp input. i) Find the phase margin corresponding to Mm = 6dB: cos 1 Mm 2 2 2 151.04 0 Phase Margin = 28.96 0 ii) Find the frequency where G(jw) has a phase shift of -151.04 0 Gj5.23622.5474151.04 0 iii) Adjust k so that the gain at this frequency is one. k 1 2.5474 k 0.3926 8.1dB With k=0.3926, the system will behave as JSG 2 revjune 22, 2016

What happens can be seen on Nichols chart. With phase margins, we assume that G(jw) will be tangent to the M-circle at 0dB. While this is almost true, it actually intersects the M-circle at 0dB and passes slightly inside. This results in the gain we compute being a tad too large and the resulting resonance being slightly too high. Nichols Chart for k*g(jw) with k selected for a 29 degree phase margin. Note that kg(jw) intersects the M-circle at 0dB This results in the following specifications for the closed-loop system will be approximately: K(s) Kv 0dB Gain Freq Phase Margin Mm CL Dom Poles (approx) 0.3926 7.85 5.24 rad/sec 28.96 deg 2.00 (6dB) -1.41 + j5.24 K v lim s G K s0 s 2000 ss5s20 0.3926 s0 M m 1151.040 11151.04 0 assumes G(jw) intersects the M-circle on a Nichols chart at 0dB Closed-Loop Dominant Pole: the complex part is roughly the resonance which is roughly the 0dB gain frequency. The real part is found from the angle of the pole, which comes from the damping ratio, which compes from Mm. JSG 3 revjune 22, 2016

Example 2: Repeat where G(s) is not given. Instead, assume that only the Bode Plot of G(s) is given: 40 30 20 10 0-10 -20-30 Gain (db) K = -7dB Make the gain 0dB at this frequency -40-90 Phase (degrees) -105-120 -135 Phase = -152 degrees -150-165 -180-195 -210 Frequency where phase = -152 degrees -225-240 0.5 1 2 5 10 20 50 rad/sec i) Find the phase margin corresponding to Mm = 6dB: 151.04 0 Phase Margin = 28.96 0 ii) Find the frequency where G(jw) has a phase shift of -152 0. This is shown on the above Bode plot. w = 5.2 rad/sec iii) Adjust k so that the gain at this frequency is one. This shift is shown on the above Bode plot as well. G(j5.2) = 7dB GK(j5.2) = 0dB so K = - 7dB JSG 4 revjune 22, 2016

Note that the same data can be found from the graph as from the transfer function - although it is difficult to get four decimal places of accuracy from a graph. Lead Compensator Design using Bode Plots The purpose of a lead compensator is to increase the phase margin. This implies that the lead compensator needs to add phase (pushing G(jw) to the right, away from -1 as shown on the Nichols chart but not gain (which would push G(jw) up towards -1). The standard form for a lead compensator is Ks10 sa s10a where the pole is 3 to 10 times larger than the zero (10 times here for convenience) and the DC gain is set to one. The gain and phase of K(s) is shown below. Gain (db) 20 15 Phase Phase (degrees 60 45 10 30 5 Gain 15 0 0 0.1a a 10a 100s Place 0dB gain frequency rad/sec in this region Gain and Phase Shift of a Lead Copmensator The first step in designing a lead compensator is determining how to pick the pole and zero, 'a'. In the previous example, G(s) has problems with phase at 4 rad/sec. At this frequency, you would like to add phase but not gain (i.e increase the phase margin of G). Note that If 'a' is too large (say a/10 = 4), you are adding minimal gain and minimal phase. The lead compensator will not help the phase margin much. If 'a' is too small (say 100a=4) you are adding gain but not phase. The added gain will push G(jw) closer to -1, making the system behave worse. If 'a' is just right (say a = (1..3)x4), you'll be adding a significant amount of phase without a lot of gain. Since this is the purpose of a lead compensator Rule: Pick the zero of the lead compensator to be 1 to 3 times the 0dB gain frequency of your system. JSG 5 revjune 22, 2016

This should increase the phase margin. You can then use gain compensation to speed up the system. Example: A gain compensator was designed for Gs 2000 ss5s20 so that the system had a 28.96 degree phase margin (meaning Mm = 2). This resulted in K(s) = 0.3926 Resonance = 5.24 rad/sec Add a lead compensator of the form Ks10 sa s10a and find the system's phase margin with this lead compensator. Solution: Step 1) Find the 0dB gain frequency. From before, this is 5.24 rad/sec. Step 2) Pick the zero to be 1 to 3 times this frequency. Let a=6. K gain K lead 0.3929 10s6 s60 GK 7852s6 ss5s20s60 What the lead compensator does is it pushes G(jw) away from -1, increasing the phase margin. (i.e. it adds phase lead, hence the name lead compensator). This shows up on a Nichols Chart and a Bode Plot as follows: JSG 6 revjune 22, 2016

Nichols Chart of G(jw) (blue line) showing a 29 degree phase margin (Mm = 2) and G*Lead (green line). The lead compensator adds phase lead, pushing G(jw) to the right, away from -1. Bode Plot of G(jw) (blue lines) showing a 29 degree phase margin (red line) at 5 rad/zed, and G*Lead (green line) The lead compensator adds phase lead, pushing the phase curve up away from 180 degrees. This increases the phase margin. JSG 7 revjune 22, 2016

With the lead compensator, the 0dB gain frequency is pushed out to 6.6446 rad/sec GKj6.64461.000119.82 0 This results in a 60.18 degree phase margin. This larger phase margin means the system is more stable / it will have a smaller resonance / the damping ratio is larger. Step 3) Add more gain so that Mm = 2 (the phase margin is 29 degrees). At 17.7612 rad/sec, so Ksk s6 s60 GK 2000s6 ss5s20s60 k 1 0.0684 14.6292 Ks14.6292 s6 s60 0.0684151.04 0 sj17.7612 This results in the following specifications for the closed-loop system: K(s) Kv 0dB Gain Freq Phase Margin Mm CL Dom Poles (approx) 0.3926 7.85 5.24 rad/sec 28.96 deg 2.00 (6dB) -1.41 + j5.24 3.93 s6 s60 14.93 s6 s60 7.85 6.64 rad/sec 60.18 deg 1.00 (0dB) -6.64 + j0 29.86 17.76 rad/sec 28.96 deg 2.00 (6dB) -4.78 + j17.76 Results for Gain, Lead, and Lead + Gain compensation Note that lead + gain compensation (last row) gives you Better tracking (larger Kv) Wider bandwidth (larger 0dB gain frequency), and A faster system (which is the same thing as a wider bandwidth) JSG 8 revjune 22, 2016

Lead Compensator Shortcut: Note from the previous example that the system was Gs 2000 ss5s20 To speed up the system, a lead compensator was chosen in the form of Ksk sa s10a where 'a' was 1 to 3 times the resonance you'd get with just gain comensation (5.2 rad/sec). This results in 5.2 a 15.6 From root locus techniques, you'd pick the zero to cancel the 2nd slowest pole (keep the pole at s=0 and cancel the next one), meaning a 5. Not surprisingly, you get the same answer (give or take) as you'd get with root locus techniques. This lets us use a shortcut when designing a lead compensator when G(s) is given: Pick the zero to cancel the 2nd slowest pole If you're uncertain of the pole location, err on the high side. From root locus, it isn't clear what happens if you miss the pole when cancelling it. From Bode plots, it's clear that it doesn't really matter if you miss the pole. On the previous gain vs. frequency for a lead compensator, nothing special happens at any particular frequency (the gain and phase are well-behaved smooth curves). Likewise, missing a pole is OK - you just have to get close. JSG 9 revjune 22, 2016