Exploiting symmetry in observer design for flying robots Jochen - - PowerPoint PPT Presentation

exploiting symmetry in observer design for flying robots
SMART_READER_LITE
LIVE PREVIEW

Exploiting symmetry in observer design for flying robots Jochen - - PowerPoint PPT Presentation

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry Exploiting symmetry in observer design for flying robots Jochen Trumpf ANU July 2018


slide-1
SLIDE 1

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Exploiting symmetry in observer design for flying robots

Jochen Trumpf

ANU

July 2018

  • J. Trumpf

Exploiting symmetry

slide-2
SLIDE 2

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Outline

1

Observer theory

2

Kinematic systems with symmetry

3

Motivating examples from robotics and computer vision

4

Observer design for kinematic systems with symmetry

  • J. Trumpf

Exploiting symmetry

slide-3
SLIDE 3

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

The observation problem

Given a set of variables (signals) whose interaction is described by a known dynamical system and given measurements of some of the variables, can you provide good estimates of (other) variables in the system? How? System w2 =? w1

  • J. Trumpf

Exploiting symmetry

slide-4
SLIDE 4

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

The observation problem

Given a set of variables (signals) whose interaction is described by a known dynamical system and given measurements of some of the variables, can you provide good estimates of (other) variables in the system? How? System w2 =? w1 Observer ˆ w2 Can you do it with an observer? Observer = system interconnected with the observed system Estimate = value of variable in the observer

  • J. Trumpf

Exploiting symmetry

slide-5
SLIDE 5

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Ingredients for a theory of observers

  • Model class for the observed system (incl. measurement model)
  • What makes an estimate a good estimate?
  • Is the problem solvable (observability)?
  • Model class for candidate observers
  • Is the problem still solvable (existence)?
  • How do you recognize a solution (characterization)?
  • How do you build an observer (construction/design)?
  • Describe the set of all solutions (parametrization).
  • Find a “perfect” estimator (optimization for secondary criterion)
  • J. Trumpf

Exploiting symmetry

slide-6
SLIDE 6

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

0◦

  • J. Trumpf

Exploiting symmetry

slide-7
SLIDE 7

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

90◦

  • J. Trumpf

Exploiting symmetry

slide-8
SLIDE 8

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

270◦ 90◦ + 180◦ −90◦

complete symmetry Z4

  • J. Trumpf

Exploiting symmetry

slide-9
SLIDE 9

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

0◦ id G X x

complete symmetry Z4

  • J. Trumpf

Exploiting symmetry

slide-10
SLIDE 10

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

90◦ g G X α(g, x) x

complete symmetry Z4

  • J. Trumpf

Exploiting symmetry

slide-11
SLIDE 11

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

270◦ 90◦ + 180◦ −90◦ g G X α(g, x) x

complete symmetry Z4 partial symmetry S1 complete symmetry SO(3)

  • J. Trumpf

Exploiting symmetry

slide-12
SLIDE 12

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Symmetry

Lie group G differentiable manifold X right action α: G × X → X, x → α(g, x) α(id, x) = x and α(g, α(h, x)) = α(hg, x) α transitive ⇔ X is a G-homogeneous space ⇔ G is a complete symmetry for X

  • J. Trumpf

Exploiting symmetry

slide-13
SLIDE 13

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Kinematic systems

Kinematic systems are of the form ˙ x = f (x, v), yi = hi(x), i = 1, . . . , p where x(t) ∈ X, a differentiable state manifold, v(t) ∈ V , an input vector space, and f (x, .): V → TxX linear. Also, each yi(t) ∈ Yi, a differentiable output manifold. One way to think about kinematic systems is that they are defined by a linearly parametrized family {f (., v)}v∈V of vector fields on X.

  • J. Trumpf

Exploiting symmetry

slide-14
SLIDE 14

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Kinematic systems with complete symmetry

˙ x = f (x, v), yi = hi(x), i = 1, . . . , p with right Lie group actions φ: G × X → X, ψ: G × V → V , ρi : G × Yi → Yi

X V ψg φg

such that dφg(x)[f (x, v)] = f (φ(g, x), ψ(g, v)), ρi(g, hi(x)) = hi(φ(g, x))

  • J. Trumpf

Exploiting symmetry

slide-15
SLIDE 15

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

A toy example

y = x X = S2, V = R3, Y = S2, G = SO(3) φ(R, x) = R⊤x ψ(R, Ω) = R⊤Ω ρ(R, y) = R⊤y

  • J. Trumpf

Exploiting symmetry

slide-16
SLIDE 16

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Homographies

Transformation of an image

  • f a planar scene

H = R + ξˆ η⊤ d pi ≃ H−1˚ pi

  • J. Trumpf

Exploiting symmetry

slide-17
SLIDE 17

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Application of homographies to image stabilization

˙ H = H(Ω× + Γ) pi = H−1˚ pi H−1˚ pi Ω is the angular velocity, Γ can be estimated concurrently with H, pi can be obtained feature point correspondences in video frames X = SL(3), V = sl(3), Yi = S2, G = SL(3) φ(Q, H) = HQ ψ(Q, u) = Q−1uQ ρi(Q, pi) =

Q−1pi Q−1pi

  • J. Trumpf

Exploiting symmetry

slide-18
SLIDE 18

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Robotics problems with symmetry

An incomplete list of robotics problems with complete symmetry:

  • Attitude estimation SO(3)
  • Pose estimation SE(3)
  • Second order kinematics TS?(3)
  • Homography estimation SL(3)
  • Simultaneous Localization and Mapping (SLAM)
  • Unicycle SE(2)
  • Nonholonomic car with trailers

These generic problems come in several versions depending on the types of available measurements.

  • J. Trumpf

Exploiting symmetry

slide-19
SLIDE 19

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

General approach

  • Lift the system kinematics to the symmetry group
  • Design an observer for the resulting invariant system
  • Project the observer state to obtain a system state estimate

Why?

  • Observer design for invariant systems on Lie groups is very

well studied (Bonnabel/Martin/Rouchon TAC 2009, Lageman/T./Mahony TAC 2010)

  • It is often possible to obtain autonomous error dynamics in

(global) gradient flow form

  • The system theory of invariant systems on Lie groups is as

close to LTI system theory as one can get in the nonlinear regime

  • J. Trumpf

Exploiting symmetry

slide-20
SLIDE 20

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Lifted kinematics

Fix a reference point ˚ x ∈ X and choose a velocity lift F˚

x : V → g such that

dφ˚

x(id)[F˚ x(v)] = f (˚

x, v) Define lifted kinematics ˙ g = F(g, v) := dRg(id)[F˚

x(ψ(g−1, v))],

yi = ρi(g, ˚ yi), where ˚ yi = hi(˚ x), then dφ˚

x(X)[F(g, v)] = f (x, v),

where x = φ(g, ˚ x) The lifted kinematics on G project to the system kinematics on X!

  • J. Trumpf

Exploiting symmetry

slide-21
SLIDE 21

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Lifted kinematics

X V ψg φg ˚ x x g G id g φ˚

x

x

x(ψ(g−1, v))

v

Symmetry R, ψ, ρi Symmetry φ, ψ, ρi

  • J. Trumpf

Exploiting symmetry

slide-22
SLIDE 22

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Lifted kinematics

Toy example Fe3(Ω) =

  • −Ω3

Ω2 Ω3 −Ω1 −Ω2 Ω1

  • = Ω×

F(R, Ω) = (RΩ)×R = (RΩ×R⊤)R = RΩ× ˙ R = RΩ× rigid body! ˙ H = Hu homography!

  • J. Trumpf

Exploiting symmetry

slide-23
SLIDE 23

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Type I lifted kinematics

A right invariant (physical) system description relative to an inertial frame with sensors attached to the body-fixed frame typically leads to left invariant kinematics on the symmetry group: ˙ g = dRg(id)[Adgu] = dLg(id)[u], u = F˚

x(v)

We call such systems Type I. A complete characterization of Type I (and Type II) symmetries has just been accepted for presentation at this year’s CDC :-) Type I systems allow particularly nice observer error dynamics.

  • J. Trumpf

Exploiting symmetry

slide-24
SLIDE 24

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Aside: Type II lifted kinematics

The seemingly more “natural” case of Type II lifted kinematics ˙ g = dRg(id)[u] has been studied in the classical geometric control literature, see for example the work of Jurdjevic and Sussmann. It turns out that this models the much rarer case of inertially based sensors that usually require “live” communication between the robot and a ground station (or a system such as GPS)! Additionally, the error dynamics are not as simple as for Type I

  • symmetries. For a detailed analysis of the attitude estimation

problem in both cases see T./Mahony/Hamel/Lageman TAC 2012.

  • J. Trumpf

Exploiting symmetry

slide-25
SLIDE 25

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Observer design (for all types)

Lifted kinematics ˙ g = dRg(id)[F˚

x(ψ(g−1, v))],

yi = ρi(g, ˚ yi), Observer ˙ ˆ g = dRˆ

g(id)[F˚ x(ψ(ˆ

g−1, v))] − dRˆ

g(id)∆˚ y(ˆ

g, y), ˆ g(0) = id ˆ x = φ˚

x(ˆ

g), where ˚ x is chosen as the best guess of x(0). It remains to choose the innovation term ∆˚

y(ˆ

g, y) in a way such that EI := ˆ gg−1 → id.

  • J. Trumpf

Exploiting symmetry

slide-26
SLIDE 26

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Invariant innovation terms

An innovation term ∆˚

y(ˆ

g, y) is called invariant if ∆˚

y(ˆ

gh, ρ(h, y)) = ∆˚

y(ˆ

g, y) For an invariant innovation term and y = ρ(g, ˚ y), ∆˚

y(ˆ

g, y) = ∆˚

y(ˆ

g, ρ(g, ˚ y)) = ∆˚

y(ˆ

gg−1g, ρ(g, ˚ y)) = ∆˚

y(ˆ

gg−1, ˚ y), i.e. ∆˚

y(ˆ

g, y) = ∆˚

y(EI, ˚

y)

  • J. Trumpf

Exploiting symmetry

slide-27
SLIDE 27

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Error dynamics - Type I with invariant innovation

Lifted kinematics Observer ˙ g = dLg(id)[F˚

x(v)]

˙ ˆ g = dLˆ

g(id)[F˚ x(v)] − dRˆ g(id)∆˚ y(ˆ

g, y) Error dynamics ˙ EI = d dt (ˆ gg−1) = ˙ ˆ gg−1 − ˆ g(g−1 ˙ gg−1) = dRg−1(ˆ g)dLˆ

g(id)[F˚ x(v)] − dRg−1(ˆ

g)dRˆ

g(id)∆˚ y(ˆ

g, y) − dLˆ

g(g−1)dRg−1(id)[F˚ x(v)]

= −dREI (id)∆˚

y(EI, ˚

y) The error dynamics ˙ EI = −dREI (id)∆˚

y(EI, ˚

y) are autonomous!

  • J. Trumpf

Exploiting symmetry

slide-28
SLIDE 28

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Constructing an invariant innovation term

Starting with individual smooth functions fi : Yi → R+ with a global minimum at ˚ yi, define the aggregate cost ℓ˚

y(ˆ

g, y) :=

p

  • i=1

fi(ρi(ˆ g−1, yi)) The aggregate cost is invariant ℓ˚

y(ˆ

g, y) = ℓ˚

y(EI, ˚

y) and the right trivialization of its gradient w.r.t. a right invariant Riemannian metric ∆˚

y(ˆ

g, y) := dRˆ

g−1(id)grad1ℓ˚ y(ˆ

g, y) is an invariant innovation term.

  • J. Trumpf

Exploiting symmetry

slide-29
SLIDE 29

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Observer for the toy example

System ˙ x = x × Ω, y=x Lifted kinematics ˙ R = RΩ× Cost f (y) = ky − e32

2

Observer ˙ ˆ R = ˆ RΩ× − k(e3 × ˆ Ry)× ˆ R, ˆ x = ˆ Re3

  • J. Trumpf

Exploiting symmetry

slide-30
SLIDE 30

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

The main convergence result

Theorem (Mahony/T./Hamel, NOLCOS 2013) Consider a kinematic system with a Type I complete symmetry. Assume that

p

  • i=1

stabρi(˚ yi) = {id}. and construct an observer as above. Then ˙ EI = −grad1ℓ˚

y(EI, ˚

y) and ˆ x(t) → x(t) at least locally, but typically almost globally.

  • J. Trumpf

Exploiting symmetry

slide-31
SLIDE 31

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

A nonlinear homography observer

H ∈ SL(3), U ∈ sl(3), pi ∈ S2

  • J. Trumpf

Exploiting symmetry

slide-32
SLIDE 32

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Experimental results - Lab

credit: Minh Duc Hua (Laboratoire I3S, CNRS)

  • J. Trumpf

Exploiting symmetry

slide-33
SLIDE 33

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Experimental results - Underwater

credit: Minh Duc Hua (Laboratoire I3S, CNRS)

  • J. Trumpf

Exploiting symmetry

slide-34
SLIDE 34

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Outlook

  • There are lots of open questions! Type II theory? Are there
  • ther types? Is there a general internal model principle?
  • Extensions to biased input measurements, systems with

measurement delays

  • Minimum energy estimation or variational estimators (Sanyal

et al.) as an alternative to nonlinear stochastic filtering

  • Extensions to infinite dimensional systems
  • Many essentially unexplored applications in robotics and

computer vision

  • J. Trumpf

Exploiting symmetry

slide-35
SLIDE 35

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Unpaid advertisements

Invited tutorial session on “Geometric observers” 57th IEEE Conference on Decision and Control (CDC) Miami Beach, FL, USA, December 17-19, 2018 Graduate course on “Nonlinear Observers: Applications to Aerial Robotic Systems” Module M12, EECI International Graduate School on Control, Genoa, Italy, April 8-12, 2019

  • J. Trumpf

Exploiting symmetry

slide-36
SLIDE 36

Observer theory Kinematic systems with symmetry Motivating examples from robotics and computer vision Observer design for kinematic systems with symmetry

Mohammad (Behzad) Zamani Alireza Khosravian Christian Lageman Minh Duc Hua Alessandro Saccon

Thank you.

Pascal Morin Pedro Aguiar Tarek Hamel Rob Mahony

  • J. Trumpf

Exploiting symmetry