Towards Guaranteed Accuracy Computations in Control Masaaki Kanno - - PowerPoint PPT Presentation

towards guaranteed accuracy computations in control
SMART_READER_LITE
LIVE PREVIEW

Towards Guaranteed Accuracy Computations in Control Masaaki Kanno - - PowerPoint PPT Presentation

Towards Guaranteed Accuracy Computations in Control Masaaki Kanno Niigata University Asian Symposium on Computer Mathematics 2012 Organized Session: On The Latest Progress In Verified Computation 27 O CTOBER 2012 Masaaki Kanno ( Niigata


slide-1
SLIDE 1

Towards Guaranteed Accuracy Computations in Control

Masaaki Kanno

Niigata University

Asian Symposium on Computer Mathematics 2012

Organized Session: On The Latest Progress In Verified Computation 27 OCTOBER 2012

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 1 / 21

slide-2
SLIDE 2

Outline

1

Control Theory

2

Design Approach

3

Guaranteed Accuracy Polynomial Spectral Factorization

4

Concluding Remarks

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 2 / 21

slide-3
SLIDE 3

Outline

1

Control Theory

2

Design Approach

3

Guaranteed Accuracy Polynomial Spectral Factorization

4

Concluding Remarks

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 3 / 21

slide-4
SLIDE 4

Feedback Control Systems

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 4 / 21

slide-5
SLIDE 5

Feedback Loop

K P

✲ ❡ ✲ ✲ ❡ ❄ ✲ ✲ r ✻

r e u d y − P : Plant — System to be controlled dynamical system K : Controller — Control strategy

Aims

Stabilization Disturbance attenuation Robustness — strong against uncertainty

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 5 / 21

slide-6
SLIDE 6

(Post-)Modern Control Theory

Classical Control

Qualitative Graphical approach (Simple) Algebraic computation

(Post-)Modern Control

For superior design.... Mathematically oriented approach Extensive computation — get along with computers Mathematical modelling Mathematical formulation Quantitatively Optimization problems

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 6 / 21

slide-7
SLIDE 7

Outline

1

Control Theory

2

Design Approach

3

Guaranteed Accuracy Polynomial Spectral Factorization

4

Concluding Remarks

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 7 / 21

slide-8
SLIDE 8

Sketch (1)

Dynamical system description

High-order (linear) differential equation E.g., ¨ y(t) + 3 ˙ y(t) + 5y(t) = ˙ u(t) + 2u(t)

Laplace Transform

Transfer function Y(s) = L[y(t)] U(s) = L[u(t)] P(s) = (rational function in s) = Y(s) U(s) = s + 2 s2 + 3s + 5

Set of 1st order differential eqns

State-space representation

introduction of state x(t)

P :

  • ˙

x(t) = Ax(t) + Bu(t) y(t) = Cx(t)

               ˙ x(t) = −3 −5 1

  • A

x(t) + 1

  • B

u(t) y(t) =

  • 1

2

  • C

x(t)

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 8 / 21

slide-9
SLIDE 9

Sketch (2)

Laplace Transformation

1

Polynomial Spectral Factorization f(s) Y(s)Y(−s) + U(s)U(−s) = g(s)g(−s)

2

Calculating the Controller Set of linear equations ! In either approach, Step 1 is the harder.

Set of 1st order differential eqns

1

Algebraic Riccati equation XA + ATX − XBBTX + CTC = 0 YAT + AY − YCTCY + BBT = 0

2

Calculating the Controller Straightforward matrix computation

K :      ˙ xK(t) = (A − YCTC − BBTX)xK(t) + YCTy(t) u(t) = −BTXxK(t)

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 9 / 21

slide-10
SLIDE 10

Normalized LQG Control Problem

Problem Formulation

LQG = Linear Quadratic Gaussian K P

✲ ❡ ✲ ✻ ✛ ❡ ✛ ❄

d1 d2 y1 y2 min

K stabilizing

  • Tzw(P, K)
  • 2

Given P, find a controller K that minimizes the H2-norm of the transfer function matrix Tzw from w = (d1 d2)T to z = (y1 y2)T.

H2-norm

  • G(s)
  • 2

1 2π ∞

−∞

tr {G∗(iω)G(iω)} dω 1

2

  • G(s)
  • 2

2 : Energy of the system output to an impulse input signal

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 10 / 21

slide-11
SLIDE 11

Outline

1

Control Theory

2

Design Approach

3

Guaranteed Accuracy Polynomial Spectral Factorization

4

Concluding Remarks

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 11 / 21

slide-12
SLIDE 12

What is Polynomial Spectral Factorization?

Given : f(s) = f(−s) = −s6 + 9s4 − 4s2 + 36 ; Self-reciprocal polynomial Task : Decompose f(s) as a product of a stable polynomial and an anti-stable polynomial (‘mirror image’) f(s) =

  • s3 + 5s2 + 8s + 6
  • g(s)
  • −s3 + 5s2 − 8s + 6
  • g(−s)

Self-reciprocal — stable and unstable roots symmetrically

✲ ✻

Re Im

  • Stable: all the roots in

the left half plane Self-reciprocal : f(s) Stable : g(s) — spectral factor Mirror image : g(−s)

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 12 / 21

slide-13
SLIDE 13

What is Polynomial Spectral Factorization?

Given : f(s) = f(−s) = −s6 + 9s4 − 4s2 + 36 ; Self-reciprocal polynomial Task : Decompose f(s) as a product of a stable polynomial and an anti-stable polynomial (‘mirror image’) f(s) =

  • s3 + 5s2 + 8s + 6
  • g(s)
  • −s3 + 5s2 − 8s + 6
  • g(−s)

Self-reciprocal — stable and unstable roots symmetrically

✲ ✻

Re Im

  • Stable: all the roots in

the left half plane Self-reciprocal : f(s) Stable : g(s) — spectral factor Mirror image : g(−s)

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 12 / 21

slide-14
SLIDE 14

What is Polynomial Spectral Factorization?

Given : f(s) = f(−s) = −s6 + 9s4 − 4s2 + 36 ; Self-reciprocal polynomial Task : Decompose f(s) as a product of a stable polynomial and an anti-stable polynomial (‘mirror image’) f(s) =

  • s3 + 5s2 + 8s + 6
  • g(s)
  • −s3 + 5s2 − 8s + 6
  • g(−s)

Self-reciprocal — stable and unstable roots symmetrically

✲ ✻

Re Im

  • Stable: all the roots in

the left half plane Self-reciprocal : f(s) Stable : g(s) — spectral factor Mirror image : g(−s)

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 12 / 21

slide-15
SLIDE 15

‘Full’ Guaranteed Approach

By Means of Verified Polynomial Root Computation

Each Root in the left half plane is found as an interval on the real axis / a box in the complex plane. Express the spectral factor as a product of linear factors and expand it to get bounds for coefficients g(s) = (s − p1)(s − p2)(s − p3) = s3 − (p1 + p2 + p3)s2 + (p1p2 + p2p3 + p3p1)s − p1p2p3

✲ ✻

Re Im

  • Masaaki Kanno ( Niigata University)

Towards Guaranteed Accuracy Computations in Control ASCM 2012 13 / 21

slide-16
SLIDE 16

‘Full’ Guaranteed Approach

By Means of Verified Polynomial Root Computation

Each Root in the left half plane is found as an interval on the real axis / a box in the complex plane. Express the spectral factor as a product of linear factors and expand it to get bounds for coefficients g(s) = (s − p1)(s − p2)(s − p3) = s3 − (p1 + p2 + p3)s2 + (p1p2 + p2p3 + p3p1)s − p1p2p3

✲ ✻

Re Im

  • Masaaki Kanno ( Niigata University)

Towards Guaranteed Accuracy Computations in Control ASCM 2012 13 / 21

slide-17
SLIDE 17

‘Full’ Guaranteed Approach

By Means of Verified Polynomial Root Computation

Each Root in the left half plane is found as an interval on the real axis / a box in the complex plane. Express the spectral factor as a product of linear factors and expand it to get bounds for coefficients g(s) = (s − p1)(s − p2)(s − p3) = s3 − (p1 + p2 + p3)s2 + (p1p2 + p2p3 + p3p1)s − p1p2p3

✲ ✻

Re Im

  • Masaaki Kanno ( Niigata University)

Towards Guaranteed Accuracy Computations in Control ASCM 2012 13 / 21

slide-18
SLIDE 18

Hybrid Approach

‘Full’ Guaranteed Approach — always works Eventually want to get bounds for coefficients of the spectral factor To get tighter bounds for coefficients, the Krawczyk method can be employed.

Suggested Approach

1

Compute coefficients of the spectral factor using an ordinary (unverified) numerical method

2

Give (heuristically) bounds for coefficients, and check whether a solution is included in the bounds Use ‘Full’ Guaranteed Approach as a backup

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 14 / 21

slide-19
SLIDE 19

Polynomial Spectral Factorization

Problem Formulation

Given : an even polynomial in s (polynomial in s2) f(s) = (−1)ns2n + a2n−2s2n−2 + a2n−4s2n−4 + · · · + a0 Task : Find a polynomial g(s) = sn + bn−1sn−1 + bn−2sn−2 + · · · + b0 such that f(s) = (−1)ng(s)g(−s) and g(s) has roots in the open left half plane only. By comparing the coefficients of the both sides of f(s) = (−1)ng(s)g(−s) , a set of algebraic equations in bj is obtained. Krawczyk method easy to apply

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 15 / 21

slide-20
SLIDE 20

Catch

The set of algebraic equations to be solved has multiple solutions. = ⇒ Need to make sure that we will get the right solution E.g., −s6 − 3s4 + 2s2 + 9 = (s3 + s2 + 2s + 3)

  • Roots: −1.2757, 0.13784 ± 1.5273i

(−s3 + s2 − 2s + 3) What we have got : A set of polynomials whose coefficients are bounded by intervals

✲ ✻

Re Im

  • An infinite number
  • f polynomials

How can we guarantee the stability of the enclosed solution?

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 16 / 21

slide-21
SLIDE 21

Catch

The set of algebraic equations to be solved has multiple solutions. = ⇒ Need to make sure that we will get the right solution E.g., −s6 − 3s4 + 2s2 + 9 = (s3 + s2 + 2s + 3)

  • Roots: −1.2757, 0.13784 ± 1.5273i

(−s3 + s2 − 2s + 3) What we have got : A set of polynomials whose coefficients are bounded by intervals

✲ ✻

Re Im Good

  • An infinite number
  • f polynomials

How can we guarantee the stability of the enclosed solution?

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 16 / 21

slide-22
SLIDE 22

Catch

The set of algebraic equations to be solved has multiple solutions. = ⇒ Need to make sure that we will get the right solution E.g., −s6 − 3s4 + 2s2 + 9 = (s3 + s2 + 2s + 3)

  • Roots: −1.2757, 0.13784 ± 1.5273i

(−s3 + s2 − 2s + 3) What we have got : A set of polynomials whose coefficients are bounded by intervals

✲ ✻

Re Im Bad

  • An infinite number
  • f polynomials

How can we guarantee the stability of the enclosed solution?

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 16 / 21

slide-23
SLIDE 23

Robust Stability Condition for ‘Interval’ Polynomials

Kharitonov’s Theorem

All the polynomials in

  • p(s, a) = ansn + an−1sn−1 + · · · + a2s2 + a1s + a0
  • a = (ai), ai ∈ [a−

i , a+ i ]

  • , a−

n > 0

are stable iff the following four polynomials are stable: p++(s) = a•

nsn + · · · + a+ 4 s4 + a− 3 s3 + a− 2 s2 + a+ 1 s + a+

p−+(s) = a•

nsn + · · · + a+ 4 s4 + a+ 3 s3 + a− 2 s2 + a− 1 s + a+

p−−(s) = a•

nsn + · · · + a− 4 s4 + a+ 3 s3 + a+ 2 s2 + a− 1 s + a−

p+−(s) = a•

nsn + · · · + a− 4 s4 + a− 3 s3 + a+ 2 s2 + a+ 1 s + a−

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 17 / 21

slide-24
SLIDE 24

Stability Guarantee

Stability of each of the four polynomials can be examined by Algebraic method — Routh-Hurwitz test Check positivity of principal minors of the ‘Hurwitz’ matrix Guaranteed accuracy root computation All the polynomials in the obtained set are stable. = ⇒ The enclosed solution yields a stable polynomial.

Suggested Approach

1

Compute coefficients of the spectral factor using an ordinary (unverified) numerical method

2

Give (heuristically) bounds for coefficients, and check whether a solution is included in the bounds

3

Examine that the enclosed solution yields a stable spectral factor Use ‘Full’ Guaranteed Approach as a backup

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 18 / 21

slide-25
SLIDE 25

Example

2 4 6 8 10 10 20 30 40 50 60 70 x J*

c

Exact Computation Guaranteed Accuracy Algorithm MATLAB

H2 Tracking Problem: Optimal Cost J⋆

c

for Plant Px(s) = s − x s(s − 1) (x > 0) J⋆

c =

  • 2(x + 1)(x2 + 6x + 1) + 5x2 + 10x + 1

x(x − 1)2 Guaranteed Accuracy Algorithm returns correct answers.

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 19 / 21

slide-26
SLIDE 26

Outline

1

Control Theory

2

Design Approach

3

Guaranteed Accuracy Polynomial Spectral Factorization

4

Concluding Remarks

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 20 / 21

slide-27
SLIDE 27

Concluding Remarks

What Has Been Achieved...

Guaranteed accuracy polynomial spectral factorization Reliable control systems design

Future Work

Effective implementation · · ·

Masaaki Kanno ( Niigata University) Towards Guaranteed Accuracy Computations in Control ASCM 2012 21 / 21