state space approch lqg

43
State-space approach Contents: State space representation Pole placement by state feedback LQR (Linear Quadratic Regulator) Observer design Kalman Filter – LQG Separation Principle Spillover Frequency Shaped LQG HAC-LAC stra tegy

Upload: feridinand-thainis

Post on 01-Jun-2018

234 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 1/43

State-space approach

Contents:State space representationPole placement by state feedback

LQR (Linear Quadratic Regulator)Observer designKalman Filter – LQGSeparation Principle

SpilloverFrequency Shaped LQGHAC-LAC strategy

Page 2: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 2/43

Transfer function approach:

State variable form:

State spaceEquation:

Feedthrough

Plant noise

Measurement noise

(Ch.7, p.138)

Page 3: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 3/43

The choice of state variable is not unique

Example: s.d.o.f. oscillator:

AccelerationOutput:

C

1.

D (feedthrough)

A B

2.

A is dimensionallyhomogene

Page 4: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 4/43

Inverted Pendulum

Equation of motion:

Linearization:

Change of variable:

with(natural frequencyOf the pendulum)

State variable form:

Output equation:

Page 5: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 5/43

System transfer function

s.d.o.f. oscillator:

Inverted Pendulum:

Page 6: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 6/43

For SISO systems, one can write:

poles

Zeros

 Poles: such that, for some initial condition, the free response is

Free response:

are the eigenvalues of A, solution of

Page 7: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 7/43

An input applied from appropriate initial conditions

produces no output:

2.Zeros:

The state vector has the form:

If:

That is if:

Then:

Y = 0 if

(1)

(2)

(1) And (2)

dtm = 0

Page 8: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 8/43

Pole placement by state feedback

Statefeedback

If the system is controllable, the closed-loop polescan be placed arbitrarily in the complex plane.

The gain G can be chosen such that

Closed-loop characteristicequation

Selected arbitrarily

Page 9: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 9/43

Example: s.d.o.f. oscillator (1)

Relocating the polesDeeper in le left-half plane

Example: s d o f oscillator (2)

Page 10: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 10/43

State-space equation:

State feedback:

Closed-loop characteristic equation:

Desired behaviour:

Example: s.d.o.f. oscillator (2)

Page 11: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 11/43

Linear Quadratic Regulator (SISO)

u such that the performance index J is minimized

Controlled variable: Control force: u

Weighing coefficient

Solution: The closed-loop poles are the stable roots of:

where

Page 12: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 12/43

Characteristic equation:

-Identical to that of:

•Symmetric with respect to the imaginary axis

As well as the real axis•Only the roots in the left half plane have to beconsidered

Symmetric root locus

WeighingOn the control

Page 13: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 13/43

Example: Inverted pendulum (1)

ControlledVariable:

Selected poles

Example: Inverted pendulum (2)

Page 14: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 14/43

1. Select the poles on the left side of theSymmetric root locus

2. Compute the gains so as to match the desired poles:

Example: Inverted pendulum (2)

Page 15: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 15/43

Observer design

Full stat observer (Luenberger observer):

Duplicates

the system(perfect modeling !!) Innovation

Error: Error equation:

If the system is observable, the poles of theError equation can be assigneg arbitrarily byAppropriate choice of ki

In practice, the poles of the observer shouldBe taken 2 to 6 times faster than the regulatorpoles

Page 16: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 16/43

In practice, there are modeling errors and measurement noise;These should be taken into account in selecting the observer gains

One way to assign the observer poles: KALMAN filter

(minimum variance observer)

The optimal poles location minimizing the variance of theMeasurement error are the stable roots of thesymmetric root locus:

ScalarWhite noiseprocesses

Where is the T.F. between w and y and

Plant noise intensity (w) a

Measurement noise intensity (v)

Page 17: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 17/43

Example: Inverted pendulum (1)

1. Assume that the noise enters the system at the input (E = B)

proportional to

The same root locus can beused for the regulator and

the observer design

E l I t d d l (2)

Page 18: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 18/43

Example: Inverted pendulum (2)

2. Assume

Observer poles

N t (SISO d i )

Page 19: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 19/43

Note (SISO design)

LQRControlled variable z

Input u=

Output measurement yPlant noise w=

Kalman filter

Assuming that z = y (H = C) and that the noise enters the plant at the input (E =

The design of the regulator and the observer can be completed with the sameSymmetric root locus corresponding to the open-loop transfer function G(s)

Separation Principle

Page 20: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 20/43

Separation Principle

Compensator

Reconstructed statelosed-loop

equations:

2n state variablesWith

Block triangular the eigenvalues are decoupled

Transfer function of the compensator

Page 21: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 21/43

Transfer function of the compensator

The poles of the compensator H(s) are solutions of the characteristic equation:

•They have not been specified anywhere in the design•They may be unstable•H(s) is always of the same order as the system

Th t bl (1)

Page 22: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 22/43

u

X1 = yX3The two-mass problem (1)

u

State-space equation:

LQG design with symmetric root locus based on

Page 23: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 23/43

Two-mass problem (2): Symmetric root-locus

Open-looppoles

Two-mass problem (3)

Page 24: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 24/43

Design procedure:

•Select the regulator poles on the locus•Compute the corresponding gains G•Select the observer poles (2 to 6 times faster)•Compute the corresponding gains K•Compute the compensator H(s)

One finds: Notch filter !

Two-mass problem (3)

T bl (4) R l f h LQG ll

Page 25: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 25/43

Two-mass problem (4): Root locus of the LQG controller

Optimum design for g= 1

Compensator

Notchfilter

Two-mass problem (5): robustness analysis

Page 26: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 26/43

Two mass problem (5) robustness analysisEffect of doubling the natural frequency

The notch filterbecomes useless

This frequency

has been doubled

Unstable loop !

T bl (6) R b t l i

Page 27: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 27/43

Two-mass problem (6): Robustness analysisEffect of lowering the natural frequency by 20%

Pole/zero Flipping !

The notch is unchanged

Spillover (1)(Ch.9, p.206)

Page 28: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 28/43

Crossover

Phase

stabilized

Bandwidth

Gain stabilized…

The residual modesNear crossover mayBe destabilized by

Spillover

Spillover (2): mechanism

Page 29: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 29/43

Actuators Sensors

Controlledmodes

Residual

modes

Flexible structure dynamics

Spillover (3): Equations

Page 30: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 30/43

Structure dynamics:

Controlled modes:

Residual modes:

Output:

Full state observer:

Full state feedback:

ControlSpillover

ObservationSpillover

Spillover (4): Eigen value problem

Page 31: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 31/43

p p

Observation spilloverControl spillover

If either Br=0 or Cr=0, the eigen values remain decoupled

If both Br and Cr exist, there is Spillover

Spillover (5): Closed-loop poles

Page 32: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 32/43

The residual modeshave a small stabilitymargin (damping !)and can be destabilizedby Spillover

Integral control with state feedback(Ch.9, p.211)

Page 33: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 33/43

Constant disturbance

Non-zero steady state error on y

Introduce the augmented state p such that :

State feedback:

Closed loop equation:

If G and Gp are chosen so as to stabilize the system,

without knowledge of the disturbance w

Frequency Shaped LQR (1)(Ch.9, p.212)

Page 34: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 34/43

LQR:

Parseval’s theorem: Frequency independent

Frequency-shaped LQR:

To achieve P + I action

At low frequency

To increase the roll-off

At high frequency

Frequency shaped LQR (2): weight specification

Page 35: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 35/43

P + I Increased roll-off

Frequency shaped LQR (3): Augmented system

Page 36: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 36/43

Frequency independent cost functional

State space realization of the augmented system

Frequency shaped LQR (4): Augmented system

Page 37: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 37/43

The state feedback of the augmented systemis designed with the frequency independent

Cost functional:

Frequency shaped LQR (5): Architecture of the controller

Page 38: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 38/43

Augmentedstates

Only the states of theStructure must be reconstructed

HAC / LAC strategy (1)

Th l i f h i b dd d l

(Ch.13, p.295)

Page 39: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 39/43

The control system consists of tho imbedded loops:

1) The inner loop (LAC: Low Authority Control) consists of adecentralized active damping with collocated actuator/sensor pairs(no model necessary).

2) The outer loop (HAC: High Authority Control) consists of amodel-based non-collocated controller (based on a model of theactively damped structure).

HAC / LAC strategy (2)

Page 40: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 40/43

Advantages:

The active damping extends outside the bandwidth of the HAC(reduces the settling time of the modes beyond the bandwidth)

The active damping makes it easier to gain-stabilize the modesoutside the bandwidth of the HAC loop (improved gain margin)

The larger damping of the modes within the controller bandwidth makesthem more robust to parametric uncertainty (improved phase margin)

HAC / LAC strategy (3): ExampleWide-band position control of a truss

Page 41: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 41/43

Set-up

Open-loop FRF of the HACFor various gains g of the LAC

HAC / LAC strategy (4): ExampleWide-band position control of a truss

Page 42: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 42/43

Bode plot of the controller H Open-loop FRF of the design model: GH

HAC / LAC strategy (5): ExampleWide-band position control of a truss

Page 43: State Space Approch LQG

8/9/2019 State Space Approch LQG

http://slidepdf.com/reader/full/state-space-approch-lqg 43/43

Open-loop FRF of the full system: G*H Nyquist plot

Step response

t (sec)

High frequency dynamics