Lecture #15 Supervisory Control João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.

Slides:



Advertisements
Similar presentations
SWITCHING ADAPTIVE CONTROL Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer Eng., Univ. of Illinois at Urbana-Champaign.
Advertisements

Dynamic Behavior of Closed-Loop Control Systems
ISS of Switched Systems and Application to Adaptive Control
Switched Supervisory Control João P. Hespanha University of California at Santa Barbara Tutorial on Logic-based Control.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Properties of State Variables
Ch11 Curve Fitting Dr. Deshi Ye
Robust control Saba Rezvanian Fall-Winter 88.
Complex Feature Recognition: A Bayesian Approach for Learning to Recognize Objects by Paul A. Viola Presented By: Emrah Ceyhan Divin Proothi Sherwin Shaidee.
Lecture #13 Stability under slow switching & state-dependent switching João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched.
Lecture #1 Hybrid systems are everywhere: Examples João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
A Typical Feedback System
Analysis of SISO Control Loops
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
© Goodwin, Graebe, Salgado, Prentice Hall 2000 Chapter7 Synthesis of SISO Controllers.
AC modeling of quasi-resonant converters Extension of State-Space Averaging to model non-PWM switches Use averaged switch modeling technique: apply averaged.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Controller Tuning: A Motivational Example
Development of Empirical Models From Process Data
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Control Systems and Adaptive Process. Design, and control methods and strategies 1.
CONTROL with LIMITED INFORMATION ; SWITCHING ADAPTIVE CONTROL Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer Eng., Univ.
Radial Basis Function Networks
Adaptive Signal Processing
Normalised Least Mean-Square Adaptive Filtering
MODEL REFERENCE ADAPTIVE CONTROL
Module 2: Representing Process and Disturbance Dynamics Using Discrete Time Transfer Functions.
Introduction to estimation theory Seoul Nat’l Univ.
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Formulation of a complete structural uncertainty model for robust flutter prediction Brian Danowsky Staff Engineer, Research Systems Technology, Inc.,
SYSTEMS Identification Ali Karimpour Assistant Professor Ferdowsi University of Mashhad Reference: “System Identification Theory For The User” Lennart.
Lecture #9 Analysis tools for hybrid systems: Impact maps João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
TUTORIAL on LOGIC-BASED CONTROL Part I: SWITCHED CONTROL SYSTEMS Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer Eng.,
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
1 Chapter 2 1. Parametric Models. 2 Parametric Models The first step in the design of online parameter identification (PI) algorithms is to lump the unknown.
Lecture #16 Nonlinear Supervisory Control João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
To clarify the statements, we present the following simple, closed-loop system where x(t) is a tracking error signal, is an unknown nonlinear function,
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Lecture #11 Stability of switched system: Arbitrary switching João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
CHEE825 Fall 2005J. McLellan1 Spectral Analysis and Input Signal Design.
Lecture #3 What can go wrong? Trajectories of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Model Reference Adaptive Control
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Observers/Estimators …  bnbn b n-1 b2b2.
NONLINEAR ADAPTIVE CONTROL RICCARDO MARINO UNIVERSITA DI ROMA TOR VERGATA.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Lecture #14 Computational methods to construct multiple Lyapunov functions & Applications João P. Hespanha University of California at Santa Barbara Hybrid.
Motivation For analytical design of control systems,
State Observer (Estimator)
Lecture #12 Controller realizations for stable switching João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Lecture 7 Poles and Zeros Stability. Transfer Function Models General Representation wh where z i are the zeros p i are the poles n ≥ m to have a physically.
METHOD OF STEEPEST DESCENT ELE Adaptive Signal Processing1 Week 5.
Root Locus Techniques (Sketching Method) Date: 25 th September 2008 Prepared by: Megat Syahirul Amin bin Megat Ali
(COEN507) LECTURE III SLIDES By M. Abdullahi
Lecture #7 Stability and convergence of ODEs João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems NO CLASSES.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
DEPARTMENT OF MECHANICAL TECHNOLOGY VI -SEMESTER AUTOMATIC CONTROL 1 CHAPTER NO.6 State space representation of Continuous Time systems 1 Teaching Innovation.
State-Space Recursive Least Squares with Adaptive Memory College of Electrical & Mechanical Engineering National University of Sciences & Technology (NUST)
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
St. Petersberg July 5, 2001.
Mathematical Descriptions of Systems
NONLINEAR ADAPTIVE CONTROL
Autonomous Cyber-Physical Systems: Dynamical Systems
Lecture #10 Switched systems
Synthesis of SISO Controllers
Homework 3: Transfer Function to State Space
Homework 3: Transfer Function to State Space
Outline Control structure design (plantwide control)
Presentation transcript:

Lecture #15 Supervisory Control João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems

Summary Supervisory control overview Estimator-based linear supervisory control Examples

Supervisory control supervisor process  controller 1 controller n y u w  Motivation: in the control of complex and highly uncertain systems, traditional methodologies based on a single controller do not provide satisfactory performance. bank of candidate controllers measured output control signal exogenous disturbance/ noise switching signal Key ideas: 1.Build a bank of alternative controllers 2.Switch among them online based on measurements For simplicity we assume a stabilization problem, otherwise controllers should have a reference input r

Supervisory control Supervisor: places in the feedback loop the controller that seems more promising based on the available measurements typically logic-based/hybrid system supervisor process  controller 1 controller n y u w  Motivation: in the control of complex and highly uncertain systems, traditional methodologies based on a single controller do not provide satisfactory performance. measured output control signal exogenous disturbance/ noise switching signal bank of candidate controllers

Multi-controller  controller 1 controller n u  bank of candidate controllers measured output control signal switching signal y Conceptual diagram: not efficient for many controllers & not possible for unstable controllers

Multi-controller Given a family of (n-dimensional) candidate controllers u measured output control signal switching signal y   controller 1 controller n u  bank of candidate controllers measured output control signal switching signal y

Multi-controller switching signal t  t   = 1  = 3  = 2  = 1 Given a family of (n-dimensional) candidate controllers u  measured output control signal switching signal y switching times

Supervisor supervisor  switching signal u measured output control signal y Typically an hybrid system:  ´ continuous state  ´ discrete state continuous vector field discrete transition function output function u y

Supervisory vs. Adaptive control  u y uy  u y uy Rapid adaptation –  need not vary continuously Flexibility & modularity – can use off-the-shelf candidate controllers, estimators, and several alternative switching logics (allows reuse of existing, nonadaptive theory) Between switching times one recovers the nonadaptive behavior hybrid supervisorcontinuous adaptive tuner

Types of supervision Pre-routed supervision  = 1  = 2  = 3 try one controllers after another in a pre-defined sequence stop when the performance seems acceptable not effective when the number of controllers is large Estimator-based supervision (indirect) estimate process model from observed data select controller based on current estimate – Certainty Equivalence Performance-based supervision (direct) keep controller while observed performance is acceptable when performance of current controller becomes unacceptable, switch to controller that leads to best expected performance based on available data

Estimator-based supervision’s setup: Example #1 process parameter p * is equal to p › (a,b) 2  use controller C q with controller selection function p * =(a *, b * ) 2  › [–1,1] £ {–1,1} Process is assumed to be u control signal y measured output unknown parameters we consider three candidate controllers: controller C 1 : u = 0to be used when a * · –.1 controller C 2 : u = 1.1yto be used when a * > –.1 & b * = –1 controller C 3 : u = – 1.1yto be used when a * > –.1 & b * = +1 process

Estimator-based supervision’s setup Process is assumed to be in a family  p ´ small family of systems around a “nominal” process model N p parametric uncertainty unmodeled dynamics for each process in a family  p, at least one candidate controller C q, q 2  provides adequate performance. process in  p, p 2  controller C q with q =  (p) provides adequate performance controller selection function process u control signal y measured output w exogenous disturbance/ noise

Estimator-based supervisor: Example #1 multi- estimator u measured output control signal y y – + – + Since  has infinitely many elements, this multi-estimator would have to be infinite dimensional !?(not a very good multi-estimator) Process is assumed to be unknown parameters Multi-estimator p * =(a *, b * ) 2  › [–1,1] £ {–1,1} 8 p=(a, b) 2  › [–1,1] £ {–1,1} y p ´ estimate of the output y that would be correct if the parameter was p=(a,b) e p ´ output estimation error that would be small if the parameter was p=(a,b) consider the y p corresponding to p = p *

Estimator-based supervisor: Example #1 Process is assumed to be Multi-estimator y p ´ estimate of the output y that would be correct if the parameter was p=(a,b) e p ´ output estimation error that would be small if the parameter was p=(a,b) multi- estimator u measured output control signal y y decision logic  switching signal – + – + set  =  (p) e p small process likely in  p should use C q, q =  (p) Decision logic: Certainty equivalence inspired unknown parameters p * =(a *, b * ) 2  › [–1,1] £ {–1,1} 8 p=(a, b) 2  › [–1,1] £ {–1,1}

Estimator-based supervisor set  =  (p) e p small process likely in  p should use C q, q =  (p) Multi-estimator y p ´ estimate of the process output y that would be correct if the process was N p e p ´ output estimation error that would be small if the process was N p Process is assumed to be in family process in  p, p 2  controller C q, q =  (p) provides adequate performance Decision logic: multi- estimator u measured output control signal y y decision logic  switching signal – + – + Certainty equivalence inspired

Estimator-based supervisor set  =  (p) e p small process likely in  p should use C q, q =  (p) Multi-estimator y p ´ estimate of the process output y that would be correct if the process was N p e p ´ output estimation error that would be small if the process was N p Process is assumed to be in family process in  p, p 2  controller C q, q =  (p) provides adequate performance Decision logic: multi- estimator u measured output control signal y y decision logic  switching signal – + – + A stability argument cannot be based on this because typically process in  p ) e p small but not the converse Certainty equivalence inspired

Estimator-based supervisor Multi-estimator y p ´ estimate of the process output y that would be correct if the process was N p e p ´ output estimation error that would be small if the process was N p Process is assumed to be in family process in  p, p 2  controller C q, q =  (p) provides adequate performance Decision logic: overall state is small e p small overall system is detectable through e p multi- estimator u measured output control signal y y decision logic  switching signal – + – + set  =  (p) Certainty equivalence inspired, but formally justified by detectability detectable means “small e p ) small state”

Performance-based supervision Performance monitor:  q ´ measure of the expected performance of controller C q inferred from past data Candidate controllers: Decision logic: performance monitor u measured output control signal y decision logic  switching signal   is acceptable   is unacceptable keep current controller switch to controller C q corresponding to best  q

Abstract supervision Estimator and performance-based architectures share the same common architecture process multi- controller multi-est. or perf. monitor decision logic u control signal y  switching signal w measured output In this talk we will focus mostly on an estimator-based supervisor…

Abstract supervision process multi- controller multi- estimator decision logic u measured output control signal y  switching signal switched system w Estimator and performance-based architectures share the same common architecture

The four basic properties (1-2) : Example #1 decision logic  switching signal Matching property: At least one of the e p is “small” Why? e p* is “small” essentially a requirement on the multi-estimator Detectability property: For each p 2 , the switched system is detectable through e p when  =  (p) index of controller that stabilizes processes in  p Process is detectable means “small e p ) small state” Multi-estimator is

Detectability a system is detectable if for every pair eigenvalue/eigenvector ( i,v i ) of A < [ i ] ¸ 0 ) C v i  0 From solution to linear ODEs… (assuming A diagonalizable, otherwise terms in t k e i t appear) 00 y(t) bounded )  i C v i = 0 (for < [ i ] ¸ 0) )  i = 0 (for < [ i ] ¸ 0) ) y(t) bounded for short: pair (A,C) is detectable Lemma: For any detectable system:y(t) bounded ) x(t) bounded &y(t) ! 0 ) x(t) ! 0

Detectability system is detectable if for every pair eigenvalue/eigenvector ( i,v i ) of A < [ i ] ¸ 0 ) C v i  0 Lemma: For any detectable system:y(t) bounded ) x(t) bounded &y(t) ! 0 ) x(t) ! 0 Lemma: For any detectable system, there exists a matrix K such that is asymptotically stable (all eigenvalues of A – KC with negative real part) Can re-write system as asympt. stable confirms that: y is bounded / ! 0 ) x is bounded / ! 0 (output injection)

The four basic properties (1-2) : Example #1 Detectability property: For each p 2 , the switched system is detectable through e p when  =  (p) index of controller that stabilizes processes in  p detectable means “small e p ) small state” Why? consider, e.g., p=(a,b)= (.5,1) ) use controller C 3 : u=– 1.1y ( 3 =  =  (p) ).5 – 1.1 = –.6 < 0 Thus, e p small ) y p small ) y = y p – e p small ) u small etc. Questions: Where we just lucky in getting –.6 < 0 ? NO (why?) Does detectability hold if u=– 1.1y does not stabilize the process (e.g., a * =.5, b * =-1)? YES (why?)

The four basic properties (1-2) decision logic  switching signal Matching property: At least one of the e p is “small” Why? process in 9 p * 2  : process in  p* e p* is “small” essentially a requirement on the multi-estimator Detectability property: For each p 2 , the switched system is detectable through e p when  =  (p) index of controller that stabilizes processes in  p essentially a requirement on the candidate controllers This property justifies using the candidate controller that corresponds to a small estimation error. Why? Certainty equivalence stabilization theorem…

The four basic properties (3-4) decision logic  switching signal Small error property: There is a parameter “estimate”  1  !   for which e  is “small” compared to any fixed e p and that is consistent with , i.e.,  =  (  ) Non-destabilization property: Detectability is preserved for the time-varying switched system (not just for constant  ) Typically requires some form of “slow switching” Both are essentially (conflicting) properties of the decision logic  (t) can be viewed as current parameter “estimate” controller consistent with parameter “estimate”

Decision logic 1.For boundedness one wants e  small for some parameter estimate  consistent with  (i.e.,  =  (  )) 2.To recover the “static” detectability of the time-varying switched system one wants slow switching. “small error” “non-destabilization” These are conflicting requirements:  should follow smallest e p  =  (  ) should not vary decision logic  switching signal

Dwell-time switching start wait  D seconds monitoring signals p 2 p 2  measure of the size of e p over a “window” of length 1/ Non-destabilizing property: The minimum interval between consecutive discontinuities of  is  D > 0. (by construction) forgetting factor

Small error property Assume  finite and 9 p * 2  : (e.g.,  2 noise and no unmodeled dynamics) · C*· C*< 1   when we select  = p at time t we must have  Two possible cases: 1.Switching will stop in finite time T at some p 2  :

Small error property Assume  finite and 9 p * 2  : (e.g.,  2 noise and no unmodeled dynamics) · C*· C* < 1   when we select  = p at time t we must have  Two possible cases: 2.After some finite time T switching will occur only among elements of a subset  * of , each appearing in  infinitely many times:

Small error property Assume  finite and 9 p * 2  : (e.g.,  2 noise and no unmodeled dynamics)   when we select  = p at time t we must have  Small error property: (  2 case) Assume that  is a finite set. If 9 p * 2  for which then at least one error  2 “switched” error will be  2

Implementation issues start wait  D seconds monitoring signals How to efficiently compute a large number of monitoring signals? Example #1: Multi-estimator   by linearity we can generate as many errors as we want with a 2- dim. systems input is linear comb. of y and u state-sharing

Implementation issues start wait  D seconds monitoring signals How to efficiently compute a large number of monitoring signals? Example #1: Multi-estimator 1. we can generate as many monitoring signals as we want with a (2+6)-dim. system  2. finding  is really an optimization state-sharing

Implementation issues start wait  D seconds When  is a continuum (or very large), it may be issues with respect to the optimization for  Things are easy, e.g., 1.  has a small number of elements 2.model is linearly parameterized on p (leads to quadratic optimization) 3.there are closed form solutions (e.g.,  p polynomial on p) 4.  p is convex on p usual requirement in adaptive control results still hold if there exists a computational delay  C in performing the optimization, i.e. monitoring signals

The four basic properties decision logic  switching signal Matching property: At least one of the e p is “small” Detectability property: For each p 2 , the switched system is detectable through e p when  =  (p) index of controller that stabilizes processes in  p Small error property: There is a parameter “estimate”  1  !   for which e  is “small” compared to any fixed e p and that is consistent with , i.e.,  =  (  ) Non-destabilization property: Detectability is preserved for the time-varying switched system (not just for constant  )  (t) can be viewed as current parameter “estimate” controller consistent with parameter “estimate”

Analysis outline (linear case, w = 0) decision logic  switching signal 1stby the Matching property: 9 p * 2   such that e p* is “small” 2ndby the Small error property: 9  such that  =  (  ) and e  is “small” (when compared with e p* ) 3rdby the Detectability property: there exist matrices K p such that the matrices A q – K p C p, q =  (p) are asymptotically stable 4ththe switched system can be written as “small” by 2nd step asymptotically stable by non-destabilization property ) x is small (and converges to zero if, e.g., e  2  2 ) injected system

Example #2: One-link flexible manipulator y(x, t) x mtmt T IHIH  mass at the tip torque applied at the base axis’s inertia (.023) transversal slice’s inertia beam’s elasticity deviation with respect to rigid body beam’s mass density (.68Kg total mass) beam’s length (113 cm) PDE (small bending):Boundary conditions:

Example #2: One-link flexible manipulator y(x, t) x mtmt IHIH  mass at the tip deviation with respect to rigid body Series expansion and truncation: eigenfunctions of the beam T torque applied at the base axis’s inertia (.023)

Example #2: One-link flexible manipulator y(x, t) x mtmt IHIH  mass at the tip Control measurements: ´ base angle ´ base angular velocity ´ tip position ´ bending at position x sg (measured by a strain gauge attached to the beam at position x sg ) Assumed not known a priori: m t 2 [0,.1Kg] x sg 2 [40cm, 60cm] T torque applied at the base axis’s inertia (.023)

Example #2: One-link flexible manipulator u torque transfer functions as m t ranges over [0,.1Kg] and x sg ranges over [40cm, 60cm]

Example #2: One-link flexible manipulator Class of admissible processes: u torque unknown parameter p › (m t, x sg ) parameter set: grid of 18 points in [0,.1] £ [40, 60]  p ´ family around a nominal transfer function corresponding to parameters p › (m t, x sg ) For this problem it is not possible to write the coefficients of the nominal transfer functions as a function of the parameters because these coefficients are the solutions to transcendental equations that must be computed numerically. Family of candidate controllers: 18 controllers designed using LQR/LQE, one for each nominal model

Example #2: One-link flexible manipulator t tip position torque set point t t mtmt x sg 

Example #2: One-link flexible manipulator (open-loop)

Example #2: One-link flexible manipulator (closed-loop with fixed controller)

Example #2: One-link flexible manipulator (closed-loop with supervisory control)

  C Doyle, Francis, Tannenbaum, Feedback Control Theory, 1992 Example #3: Uncertain gain The maximum gain margin achievable by a single linear time-invariant controller is 4 1 · k < 4

  multi- controller Example #3: Uncertain gain 1 · k < 40

Example #3: Uncertain gain outputreferencetrue parameter valuemonitoring signals

Example #3: 2-dim SISO linear process Class of admissible processes: nominal transfer function nonlinear parameterized on p Any re-parameterization that makes the coefficients of the transfer function lie in a convex set will introduce an unstable zero-pole cancellation unstable zero-pole cancellations –1 +1 But the multi-estimator is still separable and state-sharing can be used …

Example #3: 2-dim SISO linear process (without noise) outputreferencetrue parameter value

Example #3: 2-dim SISO linear process (with noise) outputreferencetrue parameter value

Example #3: Disturbance Rejection (rejection of one sinusoid) outputfrequency estimatedisturbance (unknown frequency)

Example #3: Disturbance Rejection (rejection of two sinusoids) output (unknown frequency) frequency estimatedisturbance

Example #3: Disturbance Rejection (rejection of a square wave) output (unknown frequency) frequency estimatedisturbance

Next lecture… Nonlinear supervisory control Examples