Observability and Identification of Linear Hybrid Systems

Slides:



Advertisements
Similar presentations
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Advertisements

Two-View Geometry CS Sastry and Yang
1 Formal Models for Stability Analysis : Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying Exam 20 th December.
Computer Vision Optical Flow
A Constraint Generation Approach to Learning Stable Linear Dynamical Systems Sajid M. Siddiqi Byron Boots Geoffrey J. Gordon Carnegie Mellon University.
MASKS © 2004 Invitation to 3D vision Lecture 8 Segmentation of Dynamical Scenes.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
Multiple-view Reconstruction from Points and Lines
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Chess Review October 4, 2006 Alexandria, VA Edited and presented by Hybrid Systems: Theoretical Contributions Part I Shankar Sastry UC Berkeley.
Computational Vision Jitendra Malik University of California at Berkeley Jitendra Malik University of California at Berkeley.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
A Constraint Generation Approach to Learning Stable Linear Dynamical Systems Sajid M. Siddiqi Byron Boots Geoffrey J. Gordon Carnegie Mellon University.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Computer vision: models, learning and inference
PCA Extension By Jonash.
Geometry and Algebra of Multiple Views
Epipolar geometry The fundamental matrix and the tensor
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
Vision-based Landing of an Unmanned Air Vehicle
Dynamic 3D Scene Analysis from a Moving Vehicle Young Ki Baik (CV Lab.) (Wed)
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
EECS 274 Computer Vision Affine Structure from Motion.
Final Review Course web page: vision.cis.udel.edu/~cv May 21, 2003  Lecture 37.
Large-Scale Matrix Factorization with Missing Data under Additional Constraints Kaushik Mitra University of Maryland, College Park, MD Sameer Sheoreyy.
半年工作小结 报告人:吕小惠 2011 年 8 月 25 日. 报告提纲 一.学习了 Non-negative Matrix Factorization convergence proofs 二.学习了 Sparse Non-negative Matrix Factorization 算法 三.学习了线性代数中有关子空间等基础知.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Motion Segmentation CAGD&CG Seminar Wanqiang Shen
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
Tijl De Bie John Shawe-Taylor ECS, ISIS, University of Southampton
New Characterizations in Turnstile Streams with Applications
A Closed Form Solution to Direct Motion Segmentation
Recursive Identification of Switched ARX Hybrid Models: Exponential Convergence and Persistence of Excitation René Vidal National ICT Australia Brian D.O.Anderson.
Motion Segmentation with Missing Data using PowerFactorization & GPCA
A Vision System for Landing an Unmanned Aerial Vehicle
Part I 1 Title 2 Motivation 3 Problem statement 4 Brief review of PCA
Computer Vision, Robotics, Machine Learning and Control Lab
René Vidal and Xiaodong Fan Center for Imaging Science
Segmentation of Dynamic Scenes
Pursuit Evasion Games and Multiple View Geometry
Part II Applications of GPCA in Computer Vision
Pursuit-Evasion Games with UGVs and UAVs
Particle Filtering for Geometric Active Contours
René Vidal Center for Imaging Science
René Vidal Time/Place: T-Th 4.30pm-6pm, Hodson 301
Segmentation of Dynamic Scenes
Vision Based Motion Estimation for UAV Landing
A Unified Algebraic Approach to 2D and 3D Motion Segmentation
Segmentation of Dynamic Scenes from Image Intensities
Pursuit Evasion Games and Multiple View Geometry
Omnidirectional Vision-Based Formation Control
Optical Flow Estimation and Segmentation of Moving Dynamic Textures
Observability, Observer Design and Identification of Hybrid Systems
Formation Control of Nonholonomic Mobile Robots with Omnidirectional Visual Servoing and Motion Segmentation René Vidal Omid Shakernia Shankar.
Dynamic Scene Reconstruction using GPCA
Generalized Principal Component Analysis CVPR 2008
Parameter estimation class 5
Epipolar geometry.
3D Photography: Epipolar geometry
Structure from motion Input: Output: (Tomasi and Kanade)
EE 290A Generalized Principal Component Analysis
Estimating 2-view relationships
Multiple View Geometry for Robotics
Uncalibrated Geometry & Stratification
George Mason University
Breakthroughs in 3D Reconstruction and Motion Analysis
Segmentation of Dynamical Scenes
Structure from motion Input: Output: (Tomasi and Kanade)
Presentation transcript:

Observability and Identification of Linear Hybrid Systems René Vidal Dept. of EECS UC Berkeley

Vision based landing of a UAV Landing on the ground Tracking two meter waves

Probabilistic pursuit-evasion games Hierarchical control architecture High-level: map building and pursuit policy Mid-level: trajectory planning and obstacle avoidance Low-level: regulation and control

Formation control of nonholonomic robots Examples of formations Flocks of birds School of fish Satellite clustering Automatic highway systems

Structure from motion & 3D reconstruction Input: Corresponding points in multiple images Output: camera motion, scene structure, calibration Theory Multiview geometry: Multiple view matrix Multiple view normalized epipolar constraint Linear self-calibration Algorithms Multiple view matrix factorization algorithm Multiple view factorization for planar motions

Multibody structure from motion Rotation: Translation: Epipolar constraint Multiple motions Write Sym(F_1,…., F_n). Multibody epipolar constraint

Generalized Principal Component Analysis Algebraic-geometric technique for simultaneous data segmentation and model estimation Piecewise constant data Piecewise linear data Piecewise bilinear data

Some possible applications of GPCA Segmentation Image segmentation Intensity Color Motion Texture Recognition Faces (Eigenfaces) Man - Woman Human activities Running, walking Identification of hybrid systems Data compression UCLA database CMU database

Texture-based image segmentation Polysegment Human

Texture-based image segmentation Polysegment Human

Affine Motion Segmentation Results The affine motion model

3D Motion Segmentation Results

Observability and Identification of Linear Hybrid Systems

What are hybrid systems? Dynamical systems whose evolution is determined by Continuous dynamics: Differential Equations Discrete dynamics: Finite State Machine Examples of hybrid systems Flight envelope protection: Air Traffic Management Platoons of cars: Automated Highway System Hierarchical controllers of Unmanned Air Vehicle

Motivation Previous work on hybrid systems Modeling, analysis, stability Control: reachability analysis, optimal control Verification: safety In applications, one also needs to worry about observability and identifiability Linear modeling of human motion Hybrid model of a UAV

Observability & Identification of Linear Systems Linear dynamical model Observability: Given measurements of the output yt when can the state xt be uniquely estimated? Filtering: Given measurements of the output yt how to estimate the state xt? Kalman filter Identification: Given measurements of yt how to estimate the state xt and the model parameters (A,C) Subspace Identification: Van Overschee and De Moor [’95] Popov-Belevic-Hautus rank test on the observability matrix

Linear Hybrid Systems: Models Dynamic model: collection of linear systems Continuous dynamics: linear in each mode Discrete dynamics: JLS: Piecewise constant input JMLS: Markov chain LHS: Guards and invariants JLS input is more general for identification In this paper we consider a special class of linear hybrid systems known as jump-linear systems. The continuous dynamics are linear in each mode, and the discrete dynamics are determined by a piece-wise constant input. While in control one usually assumes that transitions are determined by the continuous state, this could be too restrictive for identification purposes. So our model is more general since it assumes no constraint on the mechanism that generates the transitions.

Observability & Identification of Hybrid Systems Observability Linear Hybrid Systems Rank test for jump-linear systems with periodic and known transitions (Ezzine-Haddad ’89) Mixed-integer linear programming test for piece-wise affine systems (Bemporad et.al ’00) Design of Observers for Linear Hybrid Systems Luenberger observers (Alessandri and Colleta ’01) Location + Luenberger observers (Balluchi et al. ’02) Moving horizon estimator via mixed-integer quadratic programming (Ferrari-Trecate et al. ’01) Identification of Linear Hybrid Systems Mixed-integer programming: (Bemporad et al. ’01) Clustering + Regression + Classification + Iterative Refinement: (Ferrari-Trecate et al. ’03) For linear systems, it is well known that observability reduces to checking the rank of the observability matrix, filtering can be done using the Kalman filter, and identification can be done using subspace techniques Previous work on the observability of hybrid systems includes the case of piece-wise affine systems, which was studied by Bemporad. The authors propose a notion of observability which requires mixed-integer linear programming techniques in order to be checked. Rank constraints for jump linear systems where proposed by Ezzine, but under the assumptions that the discrete transitions are known and periodic. As for identifiability, there has been a lot of work in the learning community for the past 30 years. Most of them are approximate and iterative algorithms. None of them enforces observability or guarantees a unique solution.

Outline In this talk, we concentrate on Observability Identification Observability: of the state (continuous and discrete) Identifiability: of the model parameters Observability Generalization of rank constraint to Jump-Linear Systems Sufficient conditions for Linear Hybrid System Gaining observability through switching Identification Algebraic geometric solution to identification Closed form when Nmodels ≤ 4, formula for Nmodels

Linear Hybrid Systems: Models Dynamic model: collection of linear systems Continuous dynamics: linear in each mode Discrete dynamics: JLS: Piecewise constant input JMLS: Markov chain LHS: Guards and invariants JLS input is more general for identification In this paper we consider a special class of linear hybrid systems known as jump-linear systems. The continuous dynamics are linear in each mode, and the discrete dynamics are determined by a piece-wise constant input. While in control one usually assumes that transitions are determined by the continuous state, this could be too restrictive for identification purposes. So our model is more general since it assumes no constraint on the mechanism that generates the transitions.

Observability of JLS: assumptions Given the model under what conditions is it possible to estimate the state (continuous and discrete) uniquely? Assumption: there is a minimum separation between switching times Continuous time: Discrete time: Observability index of a Jump-Linear System

Observability of JLS: the initial state Lemma 1: Observability of the initial continuous state and of the discrete sequence : observability index of a jump-linear system Each linear system is observable Intersection of the observability subspaces must be trivial This comes from indistinguishability condition It turns out that for this class of linear hybrid systems, one can obtain a set of simple rank tests that determine its observability. A first condition is that the rank of every pair of EXTENDED observability matrices has to be 2n. This implies that every linear system has to be observable, and that the observability subspaces of two different linear systems must not intersect. The observability index of a jump-linear system can also be naturally defined. A second set of conditions has to do with the switching times, which we assume that are “separated enough”. Minimum separation is TWO times the observability index. The first contition guarantees the “detection” of a switch, i.e. it guarantees that a switch is “reflected” in the output, either immediately (right when it happens) or post-mortem. The second condition guarantees that if a switch is detected, then one can recover it UNIQUELY. These conditions are necessary and sufficient provided the minimum separation These conditions are SUFFICIENT for linear systems where the evolution of the discrete state is determined by the continuous state, as long as the dynamics is such that the switching times are separated enough.

Observability of JLS: the switching times Lemma 2: Observability of the switching times This comes from Discrete-time Detection of a switch Observability of a switch It turns out that for this class of linear hybrid systems, one can obtain a set of simple rank tests that determine its observability. A first condition is that the rank of every pair of EXTENDED observability matrices has to be 2n. This implies that every linear system has to be observable, and that the observability subspaces of two different linear systems must not intersect. The observability index of a jump-linear system can also be naturally defined. A second set of conditions has to do with the switching times, which we assume that are “separated enough”. Minimum separation is TWO times the observability index. The first contition guarantees the “detection” of a switch, i.e. it guarantees that a switch is “reflected” in the output, either immediately (right when it happens) or post-mortem. The second condition guarantees that if a switch is detected, then one can recover it UNIQUELY. These conditions are necessary and sufficient provided the minimum separation These conditions are SUFFICIENT for linear systems where the evolution of the discrete state is determined by the continuous state, as long as the dynamics is such that the switching times are separated enough.

Observability of JLS Theorem 1: Observability of JLS

Observability of Linear Hybrid Systems Sufficient condition for observability of LHS What if linear systems are unobservable, but there is at least one switch in ? One can reconstruct the hybrid state uniquely!!!

Observability of Linear Hybrid Systems Theorem 3: Observability of LHS (sufficient) Observability of the switching times Observability of the discrete state Observability of the continuous initial state

Identification of Linear Hybrid Systems Given input/output data, estimate The number of discrete states N The model parameters for each linear system The hybrid state (continuous and discrete) The switching parameters (partition of state space) Challenging “chicken and egg” problem Use clustering to initialize model parameters Given the model parameters, estimate discrete state Given all above, estimate switching parameters Iterate

Our approach to identification Towards an analytic solution to identification of LHS Can we estimate ALL models simultaneously using ALL data? When can we do so analytically? In closed form? Is there a formula for the number of models? An algebraic geometric approach to identification of LHS Number of models = degree of a polynomial Model parameters = roots (factors) of a polynomial => polynomial factorization In the case of PWARX models There are algebraic constraints that are independent on the discrete state There is a unique solution which is closed form iff Nmodels ≤ 4 The exact solution can be computed using linear algebra

Identification of LHS: modeling Assume linear systems in ARX form Define the vectors Input/output data Model parameters Data lives in the subspace Given input/output data generated by models with parameters Number of models, model parameters Hybrid state, switching mechanism

Identification of LHS and GPCA Identify N k-dimensional subspaces of

Identification of LHS: model parameters Can decouple identification from filtering Solving for the hybrid model parameters Number of models

Identification of LHS: model parameters Theorem: Generalized PCA [Vidal et al. ‘03] Find roots of polynomial of degree N in one variable Solve K-2 linear systems in N variables Discrete state:

Identification algorithm algorithm Compute number of discrete states from rank of the data matrix Compute hybrid parameters from nullspace of PN Compute the model parameters using GPCA Roots poly Linear system Compute the discrete state Compute the continuous state (Linear system) Objective function on p_n(x)

Multiple-input multiple-output Multiple inputs The same identification procedure can be applied Multiple outputs More challenging: multiple homogeneous polynomials representing the hybrid model Can be reduced to single-input single-output case by suitable projection

Simulations 1000 PWARX systems with N=3 discrete states Error in model parameters Evolution of the continuous state Error in discrete state 1 30 60 10 Evolution of the discrete state

Conclusions Observability of Linear Hybrid Systems Observability of the hybrid state can be characterized in terms of rank constraints on the model parameters Observability conditions for continuous-time systems are different from those in discrete time Identification of Linear Hybrid Systems One can decouple identification from filtering There is a formula for the number of discrete states Identification is equivalent to polynomial factorization Future directions Effect of the input on the observability conditions Observability & Identification of Stochastic LHS Do filtering and identification causally

Ongoing work and future directions Statistical Geometry = Geometry + Statistics Robust GPCA Relations to other methods: Kernel PCA, etc. Model selection Estimating manifolds from sample data points Applications of GPCA in Computer Vision Optical flow estimation and segmentation Motion segmentation: multiple views Shape recognition: faces A geometric/statistical theory of segmentation?

Dynamic GPCA: Recognition/Synthesis of Human Motion Recognition/Synthesis of Dynamic Textures Given image data Estimate a mixture of linear dynamical models (linear hybrid systems) Use the models recognize Human activity Dynamic texture Use the models to synthesize human motion dynamic textures UCLA database

Thanks Computer Vision Pursuit-Evasion Games Vision Based Landing Stefano Soatto, UCLA Yi Ma, UIUC Jana Kosecka, GMU John Oliensis, NEC Control/Hybrid Systems John Lygeros, Cambridge Shawn Schaffert Research Advisor Shankar Sastry Pursuit-Evasion Games Jin Kim David Shim Vision Based Landing Omid Shakernia Cory Sharp Formation Control Noah Cowan