Docsity

Notes on Reduced Order Estimation - Digital Control | ECE 147B, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Reduced order estimation
Example: Inverted pendulum.
The states are:
pcart position measured
vcart velocity not measured
θpendulum angle measured
ωpendulum angular velocity not measured
Use a reduced order estimator to estimate cart velocity, v, and pendulum angular velocity, ω.
The state feedback is then,
u(k) = K
p(k)
ˆv(k)
θ(k)
ˆω(k)
←− estimated
←− estimated
How does this differ from simply estimating “rate of change” on each of the two
measurements?
Roy Smith: ECE 147b 13: 2
State Estimation
Reduced order estimation
In many cases we have a partial measurement of the state, and need only estimate the
remaining states.
This allows us to use a reduced order estimator. If we can measure mof the nx states, then
we need only estimate the nx −mremaining states. What is the resulting controller order?
This allows us to implement simpler controllers.
Roy Smith: ECE 147b 13: 1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Notes on Reduced Order Estimation - Digital Control | ECE 147B and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Reduced order estimation

Example: Inverted pendulum.

The states are:

p cart position measured v cart velocity not measured θ pendulum angle measured ω pendulum angular velocity not measured

Use a reduced order estimator to estimate cart velocity, v, and pendulum angular velocity, ω.

The state feedback is then,

u(k) = K

p(k) vˆ(k) θ(k) ˆω(k)

←− estimated

←− estimated

How does this differ from simply estimating “rate of change” on each of the two measurements?

State Estimation

Reduced order estimation

In many cases we have a partial measurement of the state, and need only estimate the remaining states.

This allows us to use a reduced order estimator. If we can measure m of the nx states, then we need only estimate the nx − m remaining states. What is the resulting controller order?

This allows us to implement simpler controllers.

Roy Smith: ECE 147b 13 : 1

Reduced order estimators

Details (continued)

We can rearrange the xa(k + 1) equation to get something like a standard measurement equation.

xa(k + 1) − Aaa x(k) − Ba u(k) ︸ ︷︷ ︸

= Aab xb(k)

“known” measurement =: v(k)

This gives a smaller state-space system involving only the unmeasured states,

xb(k + 1) = Abb xb(k) + w(k) v(k) = Aab xb(k)

Note that this looks like a standard system with the substitutions,

A ←− Abb, C ←− Aab

Ackermann’s equation lets us design Lr to place the poles of: Abb − Lr Aab.

Reduced order estimation

Details

To work out the details divide the states into two groups,

xa(z) Measured states,

xb(z) Unmeasured states (to be estimated).

with an associated state-space representation,

[ xa(k + 1) xb(k + 1)

]

[

Aaa Aab Aba Abb

] [

xa(k) xb(k)

]

[

Ba Bb

]

u(k)

y(k) =

[

I 0

]

[

xa(k) xb(k)

]

Basic idea: Rearrange unmeasured state equation to make it look like a standard estimation problem.

Examine the unmeasured state update equation,

xb(k + 1) = Abb xb(k) + Aba xa(k) + Bb u(k) ︸ ︷︷ ︸ “known” input =: w(k)

Roy Smith: ECE 147b 13 : 3

Reduced order estimators

Implementation

Aba − LrAaa

Lr

z−^1 Bb −^ LrBa

Abb − LrAab

−K

v -

v

?

? 



v -

? 6

v -

Estimator

State feedback u(k)

xa(k)

xc(k) xc(k + 1)

ˆxb(k)

xa(k)

xˆb(k)

u(k) = −K

[

xa(k) xˆb(k)

]

Reduced order estimators

Implementation

There is a problem; the “measurement”, v(k), has an xa(k + 1) term in it. So it doesn’t appear to be causal.

This can be solved by defining a new state,

xc(k) := ˆxb(k) − Lr xa(k).

This gives an update equation,

xc(k + 1) = ˆxb(k + 1) − Lr xa(k + 1) ←− this is where we will remove xa(k + 1)

= Abb ˆxb(k) + Aba xa(k) + Bb u(k)

  • Lr xa(k + 1) − LrAaa xa(k) − LrBa u(k) − LrAab ˆxb(k) − Lr xa(k + 1)

= (Abb − LrAab) ˆxb(k)

  • (Aba − LrAaa) xa(k) + (Bb − LrBa) u(k).

Note that ˆxb(k) is easily reconstructed from xc(k),

xˆb(k) = xc(k) + Lr xa(k). ←− substitute to get a state-space system for xc(k + 1)

Roy Smith: ECE 147b 13 : 7

Estimation options

Tradeoffs

Option 1: + Simple, easy to understand, and easy to debug. − The differentiation approximation is very sensitive to high frequency noise. (We could add a low pass filter). − The variables p and θ are not independent. They are related by x(k + 1) = Ax(k) + Bu(k) and this information is ignored. Option 2: + Low order. Only estimate those states that are needed.

  • Optimal estimation of v and ω in the presence of noise on p and θ.
  • Dynamic relationship between v and θ taken into account in estimation. − Noise on the p and θ variables is not filtered (We could add a low pass noise filter). Option 3: + Optimal estimation of all states in the presence of noise on p and θ.
  • Dynamic relationship between all states taken into account in estimation. − Potentially higher order.

Unless controller order is really critical in the application a full order estimator is preferred.

Estimation options

Why estimate when we can measure?

What are the benefits of estimating states when those same states are available for measurement?

Inverted pendulum example

Measured states: p (cart position), θ (pendulum angle)

Options:

  1. Estimate v (cart velocity) and ω (pendulum angular velocity) with a differentiator:

ˆv(k) = p(k) − p(k − 1) T , ˆω(k) = θ(k) − θ(k − 1) T

State feedback uses:

[

p(k) ˆv(k) θ(k) ωˆ(k)

]

  1. Reduced order estimator for ˆv(k) and ˆω(k). State feedback uses:

[

p(k) ˆv(k) θ(k) ωˆ(k)

]

  1. Full order estimation for all states. State feedback uses:

[

p ˆ(k) ˆv(k) θˆ(k) ωˆ(k)

]

Roy Smith: ECE 147b 13 : 9

Spitzer telescope

Star trackers

Spitzer telescope

Pointing control hardware

PCRS sensor: optical sensing in the telescope’s field-of-view

32 arrcmin (about size of full moon on sky)

MIPS MIPS

MIPS

IRS

IRS

+Z

PCRS +Y

PCRS

IRAC

IRAC

Infrared point source

Visible point source

Roy Smith: ECE 147b 13 : 13

Spitzer telescope estimators Filter # Description Ops Update states frequency Fast 6 Attitude observer flight 2 Hz tracker Observer 3 attitude states 10 Hz gyro 3 gyro states STA to PCRS 6 Tracker to telescope alignment flight 8 hours 3 short term drift 3 long term drift GCF 18 Gyro calibration flight Calibrate for 1.5hrs 3 scale factors every 4th day 6 misalignments 3 absolute scale factors Calibrate gyro bias 3 gyro bias on whenever on 3 attitude inertial hold PRI 11 Pointing ready indicator flight Every slew controlled 4 two-axis rigid body (×2) using attitude controller 7 controller states IPF 37 Instrument pointing frame ground Several times during 37 pointing alignments in-orbit checkout PAC 7 Pointing alignment & calibration ground Multiple times 6 same as STA-to-PCRS during in-orbit 1 angle between PCRS units checkout

Spitzer telescope

Reference frames

All of the instruments have to be located with respect to the pointing control system.

T PF Z-A xis

T PF Y -A xis

P C R S 2 (roll)

P C R S 1 MIP S 160

MIP S 24

MIP S 70

S E D

70 F ine C ntr (F 118)

IR AC 4.5/8.

IR S S lit

IR AC 3.6/5. IR S

V

w

V

V^ w

w

V w IR S S lit S hort-Hi

IR S S lit Long-Lo IR S S lit Long-Hi

V w

V w

V w

V w

V w

B A

B A

V

w

V

w

V w

V w

V w

S E D C ntr (F 121)

70 C oarse C ntr (F 107)

(F 4)

(F 8)

B lue S S (F 23) (F 22)

(F 67)

(F 74)

(F 87)

(F 95)

1s t Ord (F 40)

2nd Ord (F 34)

1s t Ord (F 28)

2nd Ord (F 46)

(F 58)

(F 52)

V w

V wV w

V w

R ed S S (F 19) (F 18)

V w

V w

V w

(F 79)

V w

V w 4.5 (F 77)

(F 72)

(F 70)

Roy Smith: ECE 147b 13 : 15