Top Banner
Applications to Hybrid System Identification René Vidal Center for Imaging Science Institute for Computational Medicine Johns Hopkins University
40

Applications to Hybrid System Identification

Feb 03, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Applications to Hybrid System Identification

Applications to Hybrid System Identification

René VidalCenter for Imaging Science

Institute for Computational MedicineJohns Hopkins University

Page 2: Applications to Hybrid System Identification

Video segmentation Dynamic textures Gait recognition

What are hybrid systems?• Hybrid systems

– Dynamical models with interacting discrete and continuous behavior

• Previous work– Modeling, analysis, stability, observability– Verification and control: reachability analysis, safety

• In applications one also needs to worry about identification

Page 3: Applications to Hybrid System Identification

Identification of hybrid systems• Given input/output data, identify

– Number of discrete states– Model parameters of linear systems– Hybrid state (continuous & discrete)– Switching parameters (partition of state space)

Page 4: Applications to Hybrid System Identification

Main challenges• Challenging “chicken-and-egg” problem

– Given switching times, estimate model parameters– Given the model parameters, estimate hybrid state– Given all above, estimate switching parameters

• Possible solution: iterate– Very sensitive to initialization– Needs a minimum dwell time– Does not use all data

Page 5: Applications to Hybrid System Identification

Prior work on hybrid system identification• Mixed-integer programming: (Bemporad et al. ‘01)

• Clustering approach: k-means clustering + regression +classification + iterative refinement: (Ferrari-Trecate et al. ‘03)

• Greedy/iterative approach: (Bemporad et al. ‘03)

• Bayesian approach: maximum likelihood via expectationmaximization algorithm (Juloski et al. ‘05)

• Algebraic approach: (Vidal et al. ‘03 ‘04 ‘05)

Page 6: Applications to Hybrid System Identification

Algebraic approach to hybrid system ID• Key idea

– Number of models = degree of a polynomial– Model parameters = roots (factors) of a polynomial

• Batch methods– CDC’03: known #models of equal and known orders– HSCC’05: unknown #models of unknown and possibly different

orders

• Recursive methods– CDC’04: known #models of equal and known orders– CDC’05: unknown #models of unknown and possibly different

orders

Page 7: Applications to Hybrid System Identification

Problem formulation• Switch ARX system (SARX)

Page 8: Applications to Hybrid System Identification

A single ARX system: known ordersKnowing Systems Orders

Regressors

Parameter vector

Data matrix

A hyperplane

Page 9: Applications to Hybrid System Identification

A single ARX system: unknown ordersNot Knowing Systems Orders

Regressors

Parameter vectors

Data matrix

A subspace

Page 10: Applications to Hybrid System Identification

A Switched ARX system

Configuration Space of Regressors:

1. Regressors of each system lie on asubspace in <D

2. Order of each system is related to thesubspace dimension

3. Switching among systemscorresponds to switching among thesubspaces

Embedding in <D

Page 11: Applications to Hybrid System Identification

De Morgan’s rule

Representing n subspaces• Two planes

• One plane and one line– Plane:– Line:

• A union of n subspaces can be represented with a set ofhomogeneous polynomials of degree n

Page 12: Applications to Hybrid System Identification

Polynomial fitting

Null space of Ln contains information about all the polynomials.

Veronese Map

Page 13: Applications to Hybrid System Identification

Polynomial differentiation

The information of the mixture of subspaces can be obtained viapolynomial differentiation.

Page 14: Applications to Hybrid System Identification

Hybrid decoupling polynomial

For all regressors x 2 Z’ µ Z’’:

Page 15: Applications to Hybrid System Identification

Identifying the hybrid decoupling polynomial

Page 16: Applications to Hybrid System Identification

Batch algorithm summary

Page 17: Applications to Hybrid System Identification

Stochastic versus deterministic case

ML-Estimate: minimizing the sum of squares of errors (SSE):

GPCA: minimizing a weighted SSE:

GPCA is a “relaxed” version of expectation maximization (EM) that permits a non-iterative solution.

Page 18: Applications to Hybrid System Identification

Simulation results

Mean Variance

System:

Error:

Page 19: Applications to Hybrid System Identification

Pick-and-place machine experimentFour datasets of T = 60,000 measurements from a component placement process in a pick-and-place machine [Juloski:CEP05]

• Training and simulation errors for down-sampled datasets (1/80):

• Training and simulation errors for complete datasets:

Page 20: Applications to Hybrid System Identification

Pick-and-place machine experiment

Training

Sub-sampled(1 every 80)

All data(60,000)

Simulation

Page 21: Applications to Hybrid System Identification

Application in video segmentation

Page 22: Applications to Hybrid System Identification

Application in video segmentation

Page 23: Applications to Hybrid System Identification

Conclusions for batch method• Identification of SARX of unknown and possibly different

dimensions– Decouple identification and filtering– Algebraic solution that can be used for initialization

• Polynomial fitting + rank constraint• Polynomial differentiation

– Does not need minimum dwell time

• Ongoing work– MIMO ARX models: multiple polynomials (HSCC’08)

Page 24: Applications to Hybrid System Identification

Recursive identification algorithms• Most existing methods are batch

– Collect all input/output data– Identify model parameters using all data

• Not suitable for online/real time operation

• Contributions– Recursive identification algorithm for Switched ARX

• No restriction on switching mechanism• Does not depend on value of the discrete state• Based on algebraic geometry and linear system ID• Key idea: identification of multiple ARX models is equivalent to

identification of a single ARX model in a lifted space– Persistence of excitation conditions that guarantee exponential

convergence of the identified parameters

Page 25: Applications to Hybrid System Identification

Recall the notation• The dynamics of each mode are in ARX form

– input/output– discrete state– order of the ARX models– model parameters

• Input/output data lives in a hyperplane

– I/O data– Model parameters

Page 26: Applications to Hybrid System Identification

Recursive identification of ARX models• True model parameters• Equation error identifier

• Persistence of excitation:

Page 27: Applications to Hybrid System Identification

Overestimating the system order: single mode

Page 28: Applications to Hybrid System Identification

Recursive identification of SARX models• Identification of a SARX model is equivalent to identification

of a single lifted ARX model

• Can apply equation error identifier and derive persistence ofexcitation condition in lifted space

Lifting EmbeddingEmbedding

Page 29: Applications to Hybrid System Identification

Recursive identification of hybrid model• Recall equation error identifier for ARX models

• Equation error identifier for SARX models

Page 30: Applications to Hybrid System Identification

Recursive identification of ARX models

Page 31: Applications to Hybrid System Identification

Overestimating the number of modes

Page 32: Applications to Hybrid System Identification

Overestimating system order: multiple modesGiven: 2 models estimated to be of the following form:

Hybrid decoupling polynomial:

If models are actually of the form

12

Using the above idea, enforce zeros in the estimated hybridparameter vector to obtain , whose derivatives give thedesired parameter vectors

then = 0then = = = 0

is a function of the true parameter vector and

Page 33: Applications to Hybrid System Identification

Final recursive identification algorithm

Page 34: Applications to Hybrid System Identification

Experimental results

2231124

2221123

1141122

1121121

Experiment

Page 35: Applications to Hybrid System Identification

Cases 1 & 2 (noiseless)

11411221121121

Case 1 Case 2

Page 36: Applications to Hybrid System Identification

Case 3

Noiseless case Noisy case, σ = 0.01

2221123

Page 37: Applications to Hybrid System Identification

Case 4

Noiseless case Noisy case, σ = 0.01

2231124

Page 38: Applications to Hybrid System Identification

Experimental results - summary

2231124

2221123

1141122

1121121

Experiment

Significant1100 ms4 (noisy)

Minimal1100 ms4 (noiseless)

More thannoiseless

400 ms3 (noisy)

Minimal400 ms3 (noiseless)

Minimal200 ms2

None40 ms1

Spikingh and bconvergence

Experiment

Case 4 Noiseless vs Noisy

Page 39: Applications to Hybrid System Identification

Temporal video segmentation

Video

Batch

Recursion

Page 40: Applications to Hybrid System Identification

Conclusions and open issues• Contributions

– A recursive identification algorithm for hybrid ARX models ofunknown number of modes and order

– A persistence of excitation condition on the input/output data thatguarantees exponential convergence

• Open issues– Persistence of excitation condition on the mode and input

sequences only– Extend the model to multivariate SARX models– Extend the model to more general, possibly non-linear hybrid

systems