Lecture 6 Describing function analysis

Similar documents
Lecture 6 Describing function analysis

Lecture 7: Anti-windup and friction compensation

Lecture 5 Input output stability

Automatic Control III (Reglerteknik III) fall Nonlinear systems, Part 3

Engineering Tripos Part IIB Nonlinear Systems and Control. Handout 3: Describing Functions

Systems Analysis and Control

2006 Fall. G(s) y = Cx + Du

Lecture 9 Nonlinear Control Design

Overview Lecture 1. Nonlinear Control and Servo systems Lecture 1. Course Material. Course Goal. Course Material, cont. Lectures and labs.

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

MCE693/793: Analysis and Control of Nonlinear Systems

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

EL1820 Modeling of Dynamical Systems

Systems Analysis and Control

Frequency methods for the analysis of feedback systems. Lecture 6. Loop analysis of feedback systems. Nyquist approach to study stability

Iterative Controller Tuning Using Bode s Integrals

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Computer Aided Control Design

2.3 Oscillation. The harmonic oscillator equation is the differential equation. d 2 y dt 2 r y (r > 0). Its solutions have the form

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

An Improved Relay Auto Tuning of PID Controllers for SOPTD Systems

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons:

Exercises Automatic Control III 2015

Systems Analysis and Control

Lecture 6 Classical Control Overview IV. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Frequency domain analysis

Fourier Series and Fourier Transforms

EL2520 Control Theory and Practice

Control Systems I. Lecture 4: Diagonalization, Modal Analysis, Intro to Feedback. Readings: Emilio Frazzoli

Exam in Systems Engineering/Process Control

How many initial conditions are required to fully determine the general solution to a 2nd order linear differential equation?

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Frequency Response-Design Method

Sinusoidal Forcing of a First-Order Process. / τ

( ) Frequency Response Analysis. Sinusoidal Forcing of a First-Order Process. Chapter 13. ( ) sin ω () (

221B Lecture Notes on Resonances in Classical Mechanics

Solutions to Problems in Chapter 4

Notes on the Periodically Forced Harmonic Oscillator

D(s) G(s) A control system design definition

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Systems Analysis and Control

Stability of Parameter Adaptation Algorithms. Big picture

Systems Analysis and Control

EE 435. Lecture 28. Data Converters Linearity INL/DNL Spectral Performance

Systems Analysis and Control

CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

Unstable Oscillations!

Modern Control Systems

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Jacopo Tani. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Linear and Nonlinear Oscillators (Lecture 2)

THE FOURIER TRANSFORM (Fourier series for a function whose period is very, very long) Reading: Main 11.3

BIBO STABILITY AND ASYMPTOTIC STABILITY

Stability and Robustness 1

This is the number of cycles per unit time, and its units are, for example,

Theoretical physics. Deterministic chaos in classical physics. Martin Scholtz

Some solutions of the written exam of January 27th, 2014

1) SIMPLE HARMONIC MOTION/OSCILLATIONS

SSY155 Applied Mechatronics Examination date

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Preliminaries

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Sinusoids. Amplitude and Magnitude. Phase and Period. CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Systems Analysis and Control

Periodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 :

MAS107 Control Theory Exam Solutions 2008

Fourier Transform. Find the Fourier series for a periodic waveform Determine the output of a filter when the input is a periodic function

Nonlinear Control. Nonlinear Control Lecture # 18 Stability of Feedback Systems

EE3CL4: Introduction to Linear Control Systems

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003

An anti-windup control of manufacturing lines: performance analysis

Contents lecture 5. Automatic Control III. Summary of lecture 4 (II/II) Summary of lecture 4 (I/II) u y F r. Lecture 5 H 2 and H loop shaping

Lecture Note #6 (Chap.10)

Process Control & Instrumentation (CH 3040)

Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: Student ID number... Signature...

IMC based automatic tuning method for PID controllers in a Smith predictor configuration

Circuit Analysis-III. Circuit Analysis-II Lecture # 3 Friday 06 th April, 18

Signals and systems Lecture (S3) Square Wave Example, Signal Power and Properties of Fourier Series March 18, 2008

Exam in Systems Engineering/Process Control

Exercises in Nonlinear Control Systems

MATH4406 (Control Theory) Unit 1: Introduction Prepared by Yoni Nazarathy, July 21, 2012

Table of Laplacetransform

Final Exam December 20, 2011

A conjecture on sustained oscillations for a closed-loop heat equation

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Exam in Automatic Control II Reglerteknik II 5hp (1RT495)

NON-LINEAR SYSTEMS. SUBJECT CODE: EIPE204 M.Tech, Second Semester. Prepared By. Dr. Kanhu Charan Bhuyan

Exam. 135 minutes + 15 minutes reading time

Advanced Aerospace Control. Marco Lovera Dipartimento di Scienze e Tecnologie Aerospaziali, Politecnico di Milano

BioControl - Week 2, Lecture 1

Lecture V : Oscillatory motion and spectral analysis

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Nyquist Criterion For Stability of Closed Loop System

8.2 Harmonic Regression and the Periodogram

r + - FINAL June 12, 2012 MAE 143B Linear Control Prof. M. Krstic

Andrea Zanchettin Automatic Control AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear systems (frequency domain)

Engineering Tripos Part IIB Nonlinear Systems and Control. Handout 4: Circle and Popov Criteria

Lecture 5: Frequency domain analysis: Nyquist, Bode Diagrams, second order systems, system types

Chapter 6 - Solved Problems

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

Transcription:

Lecture 6 Describing function analysis Today s Goal: To be able to Derive describing functions for static nonlinearities Predict stability and existence of periodic solutions through describing function analysis Material: Chapter 14 in Glad & Ljung Chapter 7.2 (pp.28 29) in Khalil Lecture notes

Course Outline Lecture 1-3 Lecture 2-6 Lecture 7-8 Lecture 9-13 Lecture 14 Modelling and basic phenomena (linearization, phase plane, limit cycles) Analysis methods (Lyapunov, circle criterion, describing functions) Common nonlinearities (Saturation, friction, backlash, quantization) Design methods (Lyapunov methods, Backstepping, Optimal control) Summary

Example: saturated sinusoidals 4 2 3 1.5 2 1 1.5 input signal output signal 1.5 2 1 3 1.5 4 1 2 3 4 5 6 7 8 9 1 time [s] 2 1 2 3 4 5 6 7 8 9 1 time [s] Sine Wave Saturation Scope The effective gain (the ratio sat(asinωt) ) varies with the Asinωt input signal amplitude A.

Motivating Example r e u y G(s) 2 1 u y 1 2 5 1 15 2 G(s)= 4 andu=sat(e) gives stable oscillation forr=. s(s+1) 2 How can the oscillation be predicted? Q: What is the amplitude/topvalue ofuandy? What is the frequency?

Recall the Nyquist Theorem Assume G(s) stable, and k is positive gain. The closed-loop system is unstable if the point 1/k is encircled by G(iω) The closed-loop system is stable if the point 1/k is not encircled by G(iω) e u y k G(s) 1/k G(iω)

Heuristic reasoning: Motivating Example (cont d) For what frequency and what amplitude is "the loop gain"f G= 1? Introduce N(A) as an amplitude dependent approximation of the nonlinearity f( ). G(iω) e u y f( ) G(s) 1/N(A) A y=g(iω)u G(iω)N(A)y G(iω)= 1 N(A)

Motivating Example (cont d) 2 1/N(A) 4 6 G(iω) 8 1 8 6 4 2 Introduce N(A) as an amplitude dependent gain-approximation of the nonlinearity f( ). Heuristic reasoning: For what frequency and what amplitude is "the loop gain"n(a) G(iw)= 1? The intersection of the 1/N(A) and the Nyquist curveg(iω) predicts amplitude and frequency.

How do we derive the describing function N(A)? Does the intersection predict a stable oscillation? Are the estimated amplitude and frequency accurate?

Fourier Series Every periodic functionu(t)=u(t+t) has a Fourier series expansion u(t)= a 2 + (a n cosnωt+b n sinnωt) n=1 = a 2 + a 2 n+b 2 nsin[nωt+arctan(a n /b n )] n=1 where ω=2π/t and a n = 2 T T u(t)cosnωtdt b n = 2 T T u(t)sinnωtdt Note: Sometimes we make the change of variablet φ/ω

The Fourier Coefficients are Optimal The finite expansion solves û k (t)= a k 2 + (a n cosnωt+b n sinnωt) 2 min {â n,ˆb n } 1 n k T T n=1 if{a n,b n } are the Fourier coefficients. [ u(t) ûk (t) ] 2 dt T= 2π ω

The Key Idea e u y N.L. G(s) Assumee(t)=Asinωt andu(t) periodic. Then u(t)= a 2 + a 2 n +b2 n sin[nωt+arctan(a n/b n )] n=1 If G(inω) G(iω) forn=2,3,... anda =, then y(t) G(iω) a 2 1 +b2 1 sin[ωt+arctan(a 1/b 1 )+argg(iω)] Find periodic solution by matching coefficients in y = e.

Definition of Describing Function The describing function of e(t) N.L. u(t) is a 1 (ω):= ω π 2π/ω N(A,ω):= b 1(ω)+ia 1 (ω) A u(t)cos(ωt)dt b 1 (ω):= ω π 2π/ω u(t) sin(ω t)dt where u(t) is the output corresponding to e(t):= A sin(ω t) IfGis low pass anda =, then û 1 (t)= N(A,ω) Asin[ωt+argN(A,ω)] can be used instead ofu(t) to analyze the system. Amplitude dependent gain and phase shift!

Idea: Use the describing function to approximate the part of the signal coming out from the nonlinearity which will survive through the low-pass filtering linear system. e(t)=asinωt=im(ae iωt ) e(t) u(t) N.L. u(t)= a 2 + (a n cosnωt+b n sinnωt) n=1 e(t) N(A,ω) u 1 (t) u 1 (t)=a 1 cos(ωt)+b 1 sin(ωt) =Im(N(A,ω)Ae iωt ) where the describing function is defined as N(A,ω)= b 1(ω)+ia 1 (ω) A = U(iω) N(A,ω)E(iω)

Existence of Limit Cycles G(iω) e u y f( ) G(s) 1/N(A) A y=g(iω)u G(iω)N(A)y G(iω)= 1 N(A) The intersections ofg(iω) and 1/N(A) give ω anda for possible limit cycles.

Describing Function for a Relay H u 1.5 e u e H.5 1 1 2 3 4 5 6 φ a 1 = 1 π 2π 2π u(φ)cos φdφ= π b 1 = 1 π u(φ)sin φdφ= 2 π Hsinφdφ= 4H π The describing function for a relay is thusn(a)= 4H πa.

Describing Function for Odd Static Nonlinearities Assumef( ) and ( ) are odd static nonlinearities (i.e., f( e)= f(e)) with describing functionsn f andn. Then, ImN f (A,ω)=, coeff.(a 1 ) N f (A,ω)=N f (A) N αf (A)= αn f (A) N f+ (A)=N f (A)+N (A)

Limit Cycle in Relay Feedback System r e u y G(s).1.1.2.3.4.5 1/ N(A) G(iω) 1.8.6.4.2 G(s)= 3 (s+1) 3 with feedback u= sgny 3/8= 1/N(A)= πa/4 A=12/8π.48 G(iω)= 3/8 ω 1.7, T=2π/ω=3.7

Limit Cycle in Relay Feedback System (cont d) The prediction via the describing function agrees very well with the true oscillations: 1.5 y u.5 1 2 4 6 8 1 G filters out almost all higher-order harmonics.

Describing Function for a Saturation u H 1.8.6 e D D e.4.2 u.2.4 H.6.8 φ 1 1 2 3 4 5 6 7 Lete(t)=Asinωt=Asinφ. First seth=d. IfA Dthen N(A)=1, ifa>dthen for φ (,π) { Asinφ, φ (,φ ) (π φ u(φ)=,π) D, φ (φ,π φ ) where φ =arcsind/a.

Describing Function for a Saturation (cont d) a 1 = 1 π b 1 = 1 π 2π 2π φ u(φ)cos φdφ= u(φ)sin φdφ= 4 π = 4A sin 2 φdφ+ 4D π π = A ) (2φ +sin2φ π π/2 π/2 u(φ)sin φdφ φ sinφdφ

Describing Function for a Saturation (cont d) IfH=D N(A)= 1 ) (2φ +sin2φ, A D π ForH =Dthe rulen αf (A)= αn f (A) gives N(A)= H ) (2φ +sin2φ, A D Dπ 1.1 1.9.8.7.6.5.4.3.2 N(A) forh=d=1 NOTE: dependance of A shows up in φ =arcsind/a.1 2 4 6 8 1

3 minute exercise: What oscillation amplitude and frequency do the describing function analysis predict for the Motivating Example?

Solution: Find ω anda such thatg(iω) N(A)= 1; AsN(A) is positive and real valued, find ω s.t. argg(iω)= π= π 2 2arctan ω 1 = π= ω=1. which gives a period time of 6.28 seconds. G(1.i) N(A)=2 N(A)=1= N(A)=.5. To find the amnplitude A, either ) Alt. 1 Solve (numerically)n(a)= 1 1 π (2φ +sin2φ =.5, where φ =arcsin(1/a) Alt. 2 From the diagram ofn(a) one can finda 2.47 1.1 1.9.8 N(A) forh=d=1.7.6.5.4.3.2.1 2 4 6 8 1

The Nyquist Theorem Assume G(s) stable, and k is positive gain. The closed-loop system is unstable if the point 1/k is encircled by G(iω) The closed-loop system is stable if the point 1/k is not encircled by G(iω) e u y k G(s) 1/k G(iω)

How to Predict Stability of Limit Cycles AssumeG(s) stable. For a givena=a : A increases if the point 1/N f (A ) is encircled byg(iω) A decreases otherwise e u y f G(s) G(iω) 1/N(A) A stable limit cycle is predicted

How to Predict Stability of Limit Cycles G(Ω) 1/ N(A) An unstable limit cycle is predicted An intersection with amplitudea is unstable ifa<a gives decreasing amplitude anda>a gives increasing.

Stable Periodic Solution in Relay System r e u y G(s).2.15.1.5.5.1.15 G(iω) 1/N(A).2 5 4 3 2 1 G(s)= (s+1)2 (s+1) 3 with feedback u= sgny gives one stable and one unstable limit cycle. The left most intersection corresponds to the stable one.

Periodic Solutions in Relay System The relay gainn(a) is higher for smalla: Big amplitudes Small relay gain No encirclement Shrinking amplitudes Growing relay gain One encirclement Growing amplitudes Shrinking relay gain Small amplitudes High relay gain No encirclement Shrinking amplitudes Growing relay gain Stable periodic orbit Unstable periodic orbit

Σ Automatic Tuning of PID Controller Period and amplitude of relay feedback limit cycle can be used for autotuning. PID A T u Process y Relay 1

Describing Function for a dead-zone relay D u 1.8.6 e e.4.2 u D.2.4.6.8 1 1 2 3 4 5 6 Lete(t)=Asinωt=Asinφ. Then for φ (,π) {, φ (,φ ) u(φ)= D, φ (φ,π φ ) where φ =arcsind/a (ifa D)

Describing Function for a dead-zone relay cont d. a 1 = 1 π b 1 = 1 π = 4D π 2π 2π u(φ)cos φdφ= u(φ)sinφdφ= 4 π cosφ = 4D π π/2 1 D 2 /A 2 φ Dsinφdφ {, A<D N(A)= 4 1 D 2 /A 2, A D πa

Plot of Describing Function for dead-zone relay.7.6.5 N(A) ford=1.4.3.2.1 2 4 6 8 1 Notice that N(A) 1.3/A for large amplitudes

Pitfalls Describing function analysis can give erroneous results. DF analysis may predict a limit cycle, even if it does not exist. A limit cycle may exist, even if DF analysis does not predict it. The predicted amplitude and frequency are only approximations and can be far from the true values.

Example The control of output powerx(t) from a mobile telephone is critical for good performance. One does not want to use too large power since other channels are affected and the battery length is decreased. Information about received power is sent back to the transmitter and is used for power control. A very simple scheme is given by ẋ(t)= αu(t) u(t)= signy(t L), α, β> y(t)= βx(t). Use describing function analysis to predict possible limit cycle amplitude and period of y. (The signals have been transformed so x=corresponds to nominal output power) y(t)=βx(t) x(t) y(t) y(t L) α x(t) s β e sl y(t L) u(t)

The system can be written as a negative feedback loop with G(s)= e sl α β s and a relay with amplitude 1. The describing function of a relay satisfies 1/N(A)= πa/4 hence we are interesting ing(iω) on the negative real axis. A stable intersection is given by π= argg(iω)= π/2 ωl which gives ω= π/(2l).this gives πa 4 = G(iω) = α β ω =2Lα β π and hencea=8lα β/π 2. The period is given by T=2π/ω=4L. (More exact analysis gives the true values A= α βl andt=4l, so the prediction is quite good.)

Accuracy of Describing Function Analysis Control loop with frictionf= sgny: F Friction y ref _ C u _ G y Corresponds to G 1+GC = s(s b) s 3 +2s 2 +2s+1 with feedback u= sgny The oscillation depends on the zero ats=b.

Accuracy of Describing Function Analysis 1.2 b=1/3 1.8 b=4/3.6.4.2 DF predicts period times and ampl.(t,a) b=4/3 =(11.4,1.) and(t,a) b=1/3 =(17.3,.23).2.4 1.5.5 1 y b=4/3 Simulation: 1.4.2.2 5 1 15 2 25 3 y b=1/3.4 5 1 15 2 25 3 (T,A) b=4/3 =(12,1.1) (T,A) b=1/3 =(22,.28) Accurate results only if y is sinusoidal!

Analysis of Oscillations A summary There exist both time-domain and frequency-domain methods to analyze oscillations. Time-domain: Poincaré maps and Lyapunov functions Rigorous results but hard to use for large problems Frequency-domain: Describing function analysis Approximate results Powerful graphical methods

Today s Goal To be able to Derive describing functions for static nonlinearities Predict stability and existence of periodic solutions through describing function analysis

Next Lecture Saturation and antiwindup compensation Lyapunov analysis of phase locked loops Friction compensation