Docsity

Control Systems I, Exercises of Control Systems

Partial preview of the text

Download Control Systems I and more Exercises Control Systems in PDF only on Docsity!

Control Systems I

Lecture 6: Poles and Zeros

Readings:

Emilio Frazzoli

Institute for Dynamic Systems and Control D-MAVT ETH Z¨urich

October 27, 2017

Tentative schedule

Date Topic

1 Sept. 22 Introduction, Signals and Systems 2 Sept. 29 Modeling, Linearization 3 Oct. 6 Analysis 1: Time response, Stability 4 Oct. 13 Analysis 2: Diagonalization, Modal coordi- nates. 5 Oct. 20 Transfer functions 1: Definition and properties 6 Oct. 27 Transfer functions 2: Poles and Zeros 7 Nov. 3 Analysis of feedback systems: internal stability, root locus 8 Nov. 10 Frequency response 9 Nov. 17 Analysis of feedback systems 2: the Nyquist condition 10 Nov. 24 Specifications for feedback systems 11 Dec. 1 Loop Shaping 12 Dec. 8 PID control 13 Dec. 15 Implementation issues 14 Dec. 22 Robustness

Recap

We know that the time response of a causal LTI system with state-space model (A, B, C , D) is

y (t) = CeAt^ x(0) +

∫ (^) t

0

CeA(t−τ^ )Bu(τ ) dτ + Du(t).

Assuming all the eigenvalues of A have negative real part (i.e., the system is stable), the steady-state response to an input of the form u(t) = est^ is yss(t) = G (s)est^ where

G (s) = C (sI − A)−^1 B + D.

Different ways to write transfer functions

For causal, finite-dimensional SISO LTI systems, transfer functions take the form of proper rational functions, e.g.,

g (s) =

N(s) D(s)

bnsn^ + bn− 1 sn−^1 + bn− 2 sn−^2 +... + b 0 sn^ + an− 1 sn−^1 +... + a 0

There are other forms that are convenient. The first one, called the partial fraction expansion, is useful to compute transient responses, and to assess how much different modes contribute to the response. It has the form:

g (s) =

r 1 s − p 1

r 2 s − p 2

rn s − pn

  • r 0 ,

where p 1 ,... , pn are the ”poles”, i.e., the roots of the characteristic polynomial det(sI − A), i.e., the eigenvalues of A. The numbers r 0 ,... , rn are called the “residues.” There are many ways to compute the residues, we will look at one later today.

Example – Computing g (s) via factorization

Consider an LTI system with transfer function

g (s) = 2

s + 1 s^3 + 4s^2 + 6s + 4

What is the steady-state response to an input u(t) = sin(t) (i.e., s = j)? We know that yss(t) = |g (j)| sin(t + ∠g (j))

We could substitute s ← j in the transfer function and compute g (j), but that is not a nice/insightful calculation. Let’s use graphical methods instead. Factorize the transfer function, and write in the root-locus form: with some creative eyeballing (or using matlab) we can find that the 3 poles of g (s) are at {− 2 , − 1 ± j}.

g (s) = 2

s + 1 (s + 2)(s + 1 + j)(s + 1 − j)

Computing the magnitude of g (s)

Since |a · b| = |a| · |b|, we can write

|g (s)| = 2

|s + 1| |s + 2| · |s + 1 + j| · |s + 1 − j|

Graphically, |s − p| is the length of the vector from p to s.

Computing the phase (argument) of g (s)

Since ∠(a · b) = (∠a) + (∠b), we can write

∠g (s) = ∠(2) + ∠(s + 1) − ∠(s + 2) − ∠(s + 1 + j) − ∠(s + 1 − j)

Graphically, ∠(s − p) is angle formed by the vector from p to s with the real axis.

Computing the phase of g (s)

Re

Im

jjjj

From the graph, we find:

∠g (j) = 0 + 45◦^ − arctan(1/2) − arctan(2) + 0◦^ = − 45 ◦.

What is the effect of poles and zeros?

Transient response to special inputs

In order to understand the effect of poles and zeros, it is useful to apply some other standard “test inputs” to a system to evaluate its transient behavior (vs. the steady-state one).

Typical “test inputs’ include:

Unit impulse u(t) = δ(t). This is not∫ really a function, but a mathematical construct such that ε 0 δ(t)^ dt^ = 1^ for any^ ε >^0. In particular,

∫ (^) t 0 f^ (τ^ )δ(τ^ )^ dτ^ =^ f^ (0), for any^ t^ >^0. Unit step input u(t) = 1, for t ≥ 0. (Note this is the same as u(t) = e^0 t^ .)

Other less used test inputs include the “unit ramp” u(t) = t and higher order ramps.

Unit step response

Assume D = 0, x(0) = 0, u(t) = 1 = e^0 t^ , for t ≥ 0, and that A is invertible. Then: ystep(t) =

∫ (^) t

0

CeA(t−τ^ )B dτ = −CA−^1 B + CA−^1 eAt^ B

The steady-state response is given by yss (t) = G (0) = −CA−^1 B.

For a scalar system, the step response then is simply computed as

ystep(t) = yss(t)(1 − eat^ ),

i.e., the step response is the steady-state response minus the scaled impulse response.

The impulse response totally defines the response of a system (it is in fact the inverse Laplace transform of the transfer function)!

First-order system

A system with state-space model (A = a, B = b, C = c, D = 0)

The transfer function is g (s) =

r s + a with r = bc.

The response to an unit impulse (or to an initial condition x(0) = b) has the form y (t) = reat^.

Response shapes as function of pole location

Re

Im

Each pole pi = σi + jωi with residue ri determines a term of the impulse response. Each term’s magnitude is bounded by ri eσi^ t^ and oscillates at frequency ωi.

Effects of zeros on the response

How can we compute the residues ri? A convenient approach is the “cover-up” method.

For a non-repeated pole pi this takes the form

ri = lim s→pi (s − pi )g (s)

which in practice means “remove the factor (s − pi ) from the denominator and compute g (pi ) only considering the other terms.

While the exponents in the terms of the response only depend on the poles pi , the residues are affected by the zeros zi.