CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

Similar documents
CDS 101/110: Lecture 8.2 PID Control

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

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

CDS 101/110: Lecture 10-2 Loop Shaping Design Example. Richard M. Murray 2 December 2015

Dr Ian R. Manchester

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

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

Chapter 5 Frequency-domain design

ECE317 : Feedback and Control

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

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

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

Lecture 7:Examples using compensators

Frequency Response Analysis and Design Tutorial

ME451: Control Systems. Course roadmap

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL:

Position Control of DC Motor by Compensating Strategies

Loop Design. Chapter Introduction

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

Automatic Control Motion control Advanced control techniques

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

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

Module 08 Controller Designs: Compensators and PIDs

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

Integrator windup and PID controller design

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

EEL2216 Control Theory CT2: Frequency Response Analysis

ECE317 Homework 7. where

Outline. Digital Control. Lecture 3

JUNE 2014 Solved Question Paper

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

Laboratory PID Tuning Based On Frequency Response Analysis. 2. be able to evaluate system performance for empirical tuning method;

If You Give A Mouse A Letter He ll Want The Whole Alphabet By

EC CONTROL SYSTEMS ENGINEERING

Microelectronic Circuits II. Ch 9 : Feedback

DEGREE: Biomedical Engineering YEAR: TERM: 1

Analysis and Comparison of Speed Control of DC Motor using Sliding Mode Control and Linear Quadratic Regulator

CHASSIS DYNAMOMETER TORQUE CONTROL SYSTEM DESIGN BY DIRECT INVERSE COMPENSATION. C.Matthews, P.Dickinson, A.T.Shenton

Bode Plot for Controller Design

Design of Compensator for Dynamical System

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

Homework Assignment 13

Homework Assignment 13

8.0 Overview 8.1 The frequency response for a stable system

EE422G Solution to Homework #8

Consider the control loop shown in figure 1 with the PI(D) controller C(s) and the plant described by a stable transfer function P(s).

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

MEMS Clocks: the next big little thing? Giorgio Mussi November 14 th, 2017

Stabilizing and Robust FOPI Controller Synthesis for First Order Plus Time Delay Systems

b) discrete-time iv) aperiodic (finite energy)

Magnetic Levitation System

Microphonics. T. Powers

Scalar control synthesis 1

CDS 110 L10.2: Motion Control Systems. Motion Control Systems

Feedback (and control) systems

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

SECTION 6: ROOT LOCUS DESIGN

Motomatic via Bode by Frank Owen, PhD, PE Mechanical Engineering Department California Polytechnic State University San Luis Obispo

Modeling and Simulation of Load Frequency Control for Three Area Power System Using Proportional Integral Derivative (PID) Controller

ME 375 System Modeling and Analysis

Homework Assignment 10

EE 482 : CONTROL SYSTEMS Lab Manual

Homework Assignment 09

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

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 *****

Experiment 1: Amplifier Characterization Spring 2019

Chapter 4 PID Design Example

Advanced Servo Tuning

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

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

Lecture 5 Introduction to control

A Novel on Design and Analysis of on Chip Low Drop out Regulator for Improving Transient Response

Chapter 10 Feedback ECE 3120 Microelectronics II Dr. Suketu Naik

BSNL TTA Question Paper Control Systems Specialization 2007

7. PID Controllers. KEH Process Dynamics and Control 7 1. Process Control Laboratory

Linear Control Systems Lectures #5 - PID Controller. Guillaume Drion Academic year

Evaluation and Tuning of Robust PID Controllers

EE 435. Lecture 16. Compensation Systematic Two-Stage Op Amp Design

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

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.

Compensator Design for DC-DC Buck Converter using Frequency Domain Specifications. Master of Technology in

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

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

EES42042 Fundamental of Control Systems Bode Plots

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

Another Compensator Design Example

EE 560 Electric Machines and Drives. Autumn 2014 Final Project. Contents

Modified ultimate cycle method relay auto-tuning

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

CHAPTER 6 INPUT VOLATGE REGULATION AND EXPERIMENTAL INVESTIGATION OF NON-LINEAR DYNAMICS IN PV SYSTEM

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Experiment 9. PID Controller

CHAPTER 3 FREQUENCY DIVISION MULTIPLEXING TELEMETRY STANDARDS

Project Advisor: Dr. Gary L. Dempsey

Designing PID controllers with Matlab using frequency response methodology

Designing PID for Disturbance Rejection

Transcription:

CDS /: Lecture 9. Frequency DomainLoop Shaping November 3, 6 Goals: Review Basic Loop Shaping Concepts Work through example(s) Reading: Åström and Murray, Feedback Systems -e, Section.,.-.4,.6 I.e., we are not going to cover Section. (feedforward design) and.5 (root locus). Section.6 will be mainly discussed next week.

General Loop Transfer Functions rr System outputs yy ηη vv uu ee disturbance ee uu vv F(s) + C(s) + P(s) + Feed forward = Controller PPPPPP +PPPP PPPPPP +PPPP CCCC +PPPP CCCC +PPPP FF +PPPP Gang of Seven Control PP +PPPP PP +PPPP +PPPP PPPP +PPPP PP +PPPP - +PPPP PPPP +PPPP CC +PPPP CC +PPPP +PPPP System inputs rr dd nn η Plant Process TF = CFS = noise PPPPPP +PPPP CCCC +PPPP Response of (y, u) to r yy T = CS = r = reference input e = error u = control v = control + disturbance η = true output (what we want to control!) y = measured output Gang of Six PPPP +PPPP CC +PPPP Response of u to (d,n) PS = PP +PPPP S = +PPPP Response of y to (d,n)

Key Loop Transfer Functions rr d n ee uu vv F(s) + C(s) + P(s) + yy η - F(s) = : Four unique transfer functions define performance ( Gang of Four ) Sensitivity: Function Complementary Sensitivity Function: Load Sensitivity Function: Noise Sensitivity Function: GG eeee = S(s) = +LL(ss) GG yyyy = T(s) = GG yyyy = PS(s) = GG yyyy = CS (s) = LL(ss) +LL(ss) PP(ss) +LL(ss) CC(ss) +LL(ss) Gang of Four (the sensitivity functions) Characterize most performance criteria of interest

Rough Loop Shaping Design Process A Process: sequence of (nonunique) steps. Start with plant and performance specifications. If plant not stable, first stabilize it (e.g., PID) 3. Adjust/increase simple gains Increase proportional gain for tracking error Introduce integral term for steady-state error Will derivative term improve overshoot? 4. Analyze/adjust for stability and/or phase margin Adjust gains for margin Introduce Lead or Lag Compensators to adjust phase margin at crossover and other critical frequencies Consider PID if you haven t already 4

Summary of Specifications Hyr Key Idea: convert closed loop specifications on GG yyyy ss = PP ss CC(ss) + PP ss CC(ss) = LL (ss) + LL ss to equivalent specifications on loop system LL(ss) Time domain spec.s can often be converted to frequency domain spec.s Steady-state tracking error < XXX LL > /XX Tracking error < YYY up to frequency ff tt Hz LL iiii > /YY for ωω < ππff tt Bandwidth of ωω bb rad/sec LL iiωω bb = Usually needed for rise/settling time spec. 5

Summary of Specifications Hyr Overshoot < ZZZ Phase Margin > ff(zz) Phase/Gain margins (Specified Directly) For robustness Typically, at least gain margin of (6 db) Usually, phase margin of 3-6 degrees 6

Loop Shaping : Design Loop Transfer Function e u η r + C(s) + P(s) + d - BW GM n y Translate specs to loop shape LL ss = PP ss CC(ss) Design L(s) to obey constraints High gain at low frequency - Good Steady-state error - Good disturbance rejection at low freqs. - Decent tracking in bandwidth Low gain at high frequency - Avoid amplifying noise Sufficiently high bandwidth - Good rise/settling time Shallow slope at crossover - Sufficient phase margin for robustness, low overshoot PM Loop shaping is trial and error 7

Additional Loop Shaping Concepts Disturbance rejection Would like HH eeee to be small make large L(s) Typically require this in low frequency range High frequency measurement noise HH uuuu = CC(ss) +PP ss CC(ss) Want to make sure that HH uuuu is small (avoid amplifying noise) Typically generates constraints in high frequency range Robustness: gain and phase margin Focus on gain crossover region: make sure the slope is gentle at gain crossover Fundamental tradeoff: transition from high gain to low gain through crossover 8

Design Method #: Process Inversion Simple trick: invert out process Write performance specs in terms of desired loop transfer function Choose L(s) to satisfy specfications Choose controller by inverting P(s) Pros Simple design process L(s) = k/s often works very well Can be used as a first cut, with additional tuning Cons High order controllers (at least same order as plant) Requires perfect process model (due to inversion) Can generate non-proper controllers (order(num) > order(den)) - Difficult to implement, plus amplifies noise at high frequency (C( ) = ) - Fix by adding high frequency poles to roll off control response at high frequency Does not work if right half plane poles or zeros (internal instability) 9

Lead & Lag Compensators Lead: K >, a < b Add phase near crossover Lag: Improve gain & phase margins, increase bandwidth (better transient response). K >, a> b Add gain in low frequencies Improves steady state error r + - e K (ss+aa) (ss+bb) u P(s) Lead/Lag: Better transient and steady state response y C(i ) C(i ) 9 45 Lead PD C(i ) C(i ) 45 Lag PI 9 a b b a Frequency [rad/s] Frequency [rad/s] (a) Lead compensation, a < b (b) Lag compensation, b < a

Lead & Lag Compensators Lead: adds phase, φφ mm at: ωω = aaaa r + - e K (ss+aa) (ss+bb) u P(s) y φφ mm = 9 oo tan aa bb C(i ) C(i ) 9 45 a Frequency b [rad/s] (a) Lead compensation, a < b Lead PD Lag: reduces steady state error by factor of a/b C(i ) C(i ) 45 9 b Frequency a [rad/s] (b) Lag compensation, b < a Lag PI

Design Method #: Add Lead, Lag, Lead/Lag compensation Lead: increases phase in frequency band Effect: lifts phase by increasing gain at high frequency Increases PM Bode: add phase between zero and pole Nyquist: increase phase margin r + - e u P(s) y 6 4 - - - - - -4-3 - 3-6 - - 3 4 5

Example: Lead Compensation for Second Order System System description Poles: pp =, pp = 5 Control specs Track constant reference with error < % Good tracking up to rad/s (less than % error) Overshoot less than % - Gives PM of ~6 deg Try a lead compensator Want gain cross over at approximately rad/sec => center phase gain there Set zero frequency gain of controller to give small error LL() > a =, b = 5, K =, (gives CC() = LL() = 4) 3

Example: Third Order System - - System description PP ss = ss + 3 Poles: pp,,3 = - -3-4 -5-6 -7-45 Bode plot for PP(ss) Control specs Steady state error < % <% tracking error up to rad/s.8 sec settling time Overshoot less than % - Gives PM of ~6 deg -9-35 -8-5 -7 - Step Response.9.8 First Cut: Need to boost low frequency gain Need to increase bandwidth Need to increase phase at higher frequency Amplitude.7.6.5.4.3.. Step Reponse for PP(ss) 4 6 8 4 Time (seconds) 4

Example: Third Order System () Gm = -.9 db (at.73 rad/s), Pm = -5.7 deg (at 4.53 rad/s) Start with P of PID control kk pp = Closed loop system is unstable Bandwidth too low 4 - -4-9 Next: PD Control kk pp =, kk dd = 7 Closed loop system is stable Phase margin oo at 8.3 rad/sec - Oscillatory step response Tracking requirement not met -8-7 4 - Gm = Inf db (at Inf rad/s), Pm =.8 deg (at 8.34 rad/s) Step Response.8.6 Can I in PID help? adds 9 oo phase!.4. - -4 Amplitude.8-45.6-9.4. -35-8 3 4 5 6 7 - Time (seconds) 5

Example: Third Order System (3) Gm = Inf db (at Inf rad/s), Pm =. deg (at 4. rad/s) Can I in PID help? Can create stable system which meets steady-state spec., but not phase margin (and overshoot) & bandwidth 5-5 -45-9 -35 Amplitude.8.6.4..8.6.4. Step Response 3 4 5 6 7 Time (seconds) -8-3 - - PD + Lead compensator? kk pp =, kk dd = 7 Lead compensator reduces low frequency -5-5 Gm = Inf db (at Inf rad/s), Pm = 43.7 deg (at 5.7 rad/s) gain (& bandwidth) ss + aa CC llllllll ss = ss + bb -5-6 3-5 - -45-9 aa =.5, bb = 7.5-35 -8-3 - 3 Bode plot for Lead Bode plot for LL(ss) 6

Example: Third Order System (4) Gm = Inf db (at Inf rad/s), Pm = 5.4 deg (at 6.5 rad/s) Step Response 5. PD + Lead compensator Increase proportional gain to compensate for Lead at low frequency. Not enough bandwidth to meet tracking spec. Live with it, or keep searching -5 - -45-9 -35-8 - - Bode plot for LL(ss) 3 Amplitude.8.6.4...4.6.8..4.6.8 Time (seconds) Increase D to add gain at high frequency kk pp =, kk dd = 5 Shift phase lead center frequency (a=5, b=4); Almost meets spec.s 5-5 - 9-9 Amplitude..8.6.4. Gm = Inf db (at Inf rad/s), Pm = 46.6 deg (at 4.3 rad/s) Step Response -8 - - 3.5.5.5 3 Time (seconds) 7

-5 Example: Third Order System (5) Nyquist Diagram Before trying more esoteric designs, check the basics Nyquist Gang of Four 5 5 Imaginary Axis -5 - - - GG eeee = SS = + PP ss CC(ss) - -4-6 GG yyyy = TT = PP ss CC(ss) + PP ss CC(ss) -5 - -5 5 5 5 Real Axis -3-8 35 9 9 45-45 -9-8 CC ss = 5ss + 6ss + 5 ss + 4 - - 3-3 -5 - -5 - GG yyyy = PPPP = PP ss + PP ss CC(ss) 5 5 7 GG yyyy = GG uuuu = CCCC = CC ss + PP ss CC(ss) This controller amplifies high frequency noise, which will lead to a significant actuator activity -8-9 8 9 Fix by adding roll-off pole(s) at higher freq. -7 - - 3 - - 3 8

Summary: Loop Shaping Loop Shaping for Stability & Performance Steady state error, bandwidth, tracking response Specs can be on any input/output response pair BW GM Main ideas Performance specs give bounds on loop transfer function Use controller to shape response Gain/phase relationships constrain design approach Standard compensators: proportional, lead, PI PM Things to remember (for homework and exams) Always plot Nyquist to verify stability/robustness Check gang of 4 to make sure that noise and disturbance responses also look OK u 9