Switched Systems: Mixing Logic with Differential Equations

Similar documents
Controlo Switched Systems: Mixing Logic with Differential Equations. João P. Hespanha. University of California at Santa Barbara.

Stochastic Hybrid Systems: Applications to Communication Networks

Stochastic Hybrid Systems: Modeling, analysis, and applications to networks and biology

HYBRID AND SWITCHED SYSTEMS ECE229 WINTER 2004

Hybrid Control and Switched Systems. Lecture #1 Hybrid systems are everywhere: Examples

NONLINEAR CONTROL with LIMITED INFORMATION. Daniel Liberzon

Networked Control System Protocols Modeling & Analysis using Stochastic Impulsive Systems

Analysis of different Lyapunov function constructions for interconnected hybrid systems

communication networks

Stochastic Hybrid Systems: Applications to Communication Networks

QUANTIZED SYSTEMS AND CONTROL. Daniel Liberzon. DISC HS, June Dept. of Electrical & Computer Eng., Univ. of Illinois at Urbana-Champaign

Hybrid Systems Techniques for Convergence of Solutions to Switching Systems

Observer-based quantized output feedback control of nonlinear systems

Lyapunov Stability of Linear Predictor Feedback for Distributed Input Delays

Networked Control Systems:

Daniel Liberzon. Abstract. 1. Introduction. TuC11.6. Proceedings of the European Control Conference 2009 Budapest, Hungary, August 23 26, 2009

IN THIS PAPER, we describe a design oriented modelling

Hybrid Systems Course Lyapunov stability

Trajectory tracking & Path-following control

Logic-based switching control of a nonholonomic system with parametric modeling uncertainty

A Review of Stability Results for Switched and Hybrid Systems

The Rationale for Second Level Adaptation

A Mathematical Model of the Skype VoIP Congestion Control Algorithm

Relaxed and Hybridized Backstepping

ADAPTIVE control of uncertain time-varying plants is a

Delay-independent stability via a reset loop

REPORT DOCUMENTATION PAGE

Information Structures, the Witsenhausen Counterexample, and Communicating Using Actions

Communication constraints and latency in Networked Control Systems

Riccati difference equations to non linear extended Kalman filter constraints

Hybrid Control and Switched Systems. Lecture #9 Analysis tools for hybrid systems: Impact maps

PIQI-RCP: Design and Analysis of Rate-Based Explicit Congestion Control

Michael Rotkowitz 1,2

IMPULSIVE CONTROL OF DISCRETE-TIME NETWORKED SYSTEMS WITH COMMUNICATION DELAYS. Shumei Mu, Tianguang Chu, and Long Wang

Many dynamical systems combine behaviors ROBUST STABILITY AND CONTROL FOR SYSTEMS THAT COMBINE CONTINUOUS-TIME AND DISCRETE-TIME DYNAMICS

Stabilizing Uncertain Systems with Dynamic Quantization

Hybrid Control and Switched Systems. Lecture #11 Stability of switched system: Arbitrary switching

To appear in IEEE Control Systems Magazine 1. Basic Problems in Stability and Design of. Switched Systems. Yale University. New Haven, CT

AQUANTIZER is a device that converts a real-valued

1670 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 50, NO. 11, NOVEMBER 2005

Stability and Stabilizability of Switched Linear Systems: A Short Survey of Recent Results

Copyrighted Material. 1.1 Large-Scale Interconnected Dynamical Systems

State-norm estimators for switched nonlinear systems under average dwell-time

On queueing in coded networks queue size follows degrees of freedom

NEW SUPERVISORY CONTROL USING CONTROL-RELEVANT SWITCHING

On Input-to-State Stability of Impulsive Systems

STABILIZATION THROUGH HYBRID CONTROL

A Novel Integral-Based Event Triggering Control for Linear Time-Invariant Systems

Hybrid Control and Switched Systems. Lecture #8 Stability and convergence of hybrid systems (topological view)

Switched systems: stability

Internet Congestion Control: Equilibrium and Dynamics

Reliable Data Transport: Sliding Windows

BUMPLESS SWITCHING CONTROLLERS. William A. Wolovich and Alan B. Arehart 1. December 27, Abstract

Packet-loss Dependent Controller Design for Networked Control Systems via Switched System Approach

Min Congestion Control for High- Speed Heterogeneous Networks. JetMax: Scalable Max-Min

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

Stability Analysis of Continuous-Time Switched Systems With a Random Switching Signal. Title. Xiong, J; Lam, J; Shu, Z; Mao, X

Gramians based model reduction for hybrid switched systems

Stability of networked control systems with variable sampling and delay

I. D. Landau, A. Karimi: A Course on Adaptive Control Adaptive Control. Part 9: Adaptive Control with Multiple Models and Switching

L 2 -induced Gains of Switched Systems and Classes of Switching Signals

Networked Control Systems, Event-Triggering, Small-Gain Theorem, Nonlinear

Feedback Control CONTROL THEORY FUNDAMENTALS. Feedback Control: A History. Feedback Control: A History (contd.) Anuradha Annaswamy

IN THIS paper, we study the problem of asymptotic stabilization

Modelling an Isolated Compound TCP Connection

Lecture 9 Nonlinear Control Design

Robust Stability of Hybrid Limit Cycles With Multiple Jumps in Hybrid Dynamical Systems

Asymptotic Stability and Disturbance Attenuation Properties for a Class of Networked Control Systems

Hybrid Systems - Lecture n. 3 Lyapunov stability

FAULT-TOLERANT CONTROL OF CHEMICAL PROCESS SYSTEMS USING COMMUNICATION NETWORKS. Nael H. El-Farra, Adiwinata Gani & Panagiotis D.

FOR OVER 50 years, control engineers have appreciated

Analysis and design of switched normal systems

Stability of Interconnected Switched Systems and Supervisory Control of Time-Varying Plants

A unified Lyapunov function for finite time stabilization of continuous and discontinuous variable structure systems with resets

H State-Feedback Controller Design for Discrete-Time Fuzzy Systems Using Fuzzy Weighting-Dependent Lyapunov Functions

A Hybrid Control Strategy for Robust Contact Detection and Force Regulation

Control of Sampled Switched Systems using Invariance Analysis

Hybrid Routhian Reduction of Lagrangian Hybrid Systems

Processor Sharing Flows in the Internet

CONVERSE Lyapunov theorems relate a system s asymptotic

An asymptotic ratio characterization of input-to-state stability

cs/ee/ids 143 Communication Networks

A Delay-dependent Condition for the Exponential Stability of Switched Linear Systems with Time-varying Delay

Perspectives and Results on the Stability and Stabilizability of Hybrid Systems

ON INPUT-TO-STATE STABILITY OF IMPULSIVE SYSTEMS

Stability of Switched Linear Hyperbolic Systems by Lyapunov Techniques

Benchmark problems in stability and design of. switched systems. Daniel Liberzon and A. Stephen Morse. Department of Electrical Engineering

WE EXAMINE the problem of controlling a fixed linear

Global Analysis of Piecewise Linear Systems Using Impact Maps and Surface Lyapunov Functions

EXPONENTIAL STABILITY OF SWITCHED LINEAR SYSTEMS WITH TIME-VARYING DELAY

Fairness comparison of FAST TCP and TCP Vegas

A Signal Processing Approach to the Analysis of Chemical Networking Protocols

384Y Project June 5, Stability of Congestion Control Algorithms Using Control Theory with an application to XCP

We provide two sections from the book (in preparation) Intelligent and Autonomous Road Vehicles, by Ozguner, Acarman and Redmill.

Acknowledgements. Feedback Control of Bipedal Locomotion RAS Pioneer Award to Mark Spong. Videos and Papers

Analysis of Scalable TCP in the presence of Markovian Losses

EE C128 / ME C134 Feedback Control Systems

Resource Allocation and Pricing. R. Srikant University of Illinois

Announcements. Review. Announcements. Piecewise Affine Quadratic Lyapunov Theory. EECE 571M/491M, Spring 2007 Lecture 9

On the Inherent Robustness of Suboptimal Model Predictive Control

Transcription:

research supported by NSF Switched Systems: Mixing Logic with Differential Equations João P. Hespanha Center for Control Dynamical Systems and Computation

Outline Logic-based switched systems framework application areas Congestion control in data networks Vision-based control Adaptive control Impact maps Lyapunov tools Interconnection of systems analytical tools

Logic-based switched systems discrete modes hybrid automaton representation transitions

Logic-based switched systems hybrid automaton representation 2 1

Logic-based switched systems hybrid automaton representation switching times 2 1 σ( t ) switching signal dynamical system representation differential equation discrete transition

Outline Logic-based switched systems framework application areas Congestion control in data networks Vision-based control Adaptive control Impact maps Lyapunov tools Interconnection of systems analytical tools

Congestion control in data networks sources B destinations Congestion control problem: How to adjust the sending rates of the data sources to make sure that the bandwidth B of the bottleneck link is not exceeded? B is unknown to the data sources and possibly time-varying

Congestion control in data networks r 1 bps queue (temporary storage for data) r 2 bps rate B bps r 3 bps q( t ) queue size When i r i exceeds B the queue fills and data is lost (drops) ) drop (discrete event) Event-based control: The sources adjust their rates based on the detection of drops

Window-based rate adjustment w i (window size) number of packets that can remain unacknowledged for by the destination e.g., w i = 3 source i destination i 1 st packet sent t 0 round-trip 2 nd packet sent t time (RTT) 1 3 rd packet sent t 2 t 0 1 st packet received & ack. sent t 1 2 nd packet received & ack. sent 1 st ack. received t 3 t 2 3 rd packet received & ack. sent 4 th packet can be sent t t w i effectively determines the sending rate r i : round-trip time

Window-based rate adjustment w i (window size) number of packets that can remain unacknowledged for by the destination sending rate per-packet transmission time total round-trip time propagation delay time in queue until transmission queue gets full longer RTT rate decreases queue gets empty negative feedback This mechanism is still not sufficient to prevent a catastrophic collapse of the network if the sources set the w i too large

TCP Reno congestion control 1. While there are no drops, increase w i by 1 on each RTT 2. When a drop occurs, divide w i by 2 (congestion controller constantly probes the network for more bandwidth) Network/queue dynamics Reno controllers drop occurs drop detected (one RTT after occurred) disclaimer: this is a simplified version of Reno that ignores several interesting phenomena

Switched system model for TCP queue-not-full transition enabling condition (drop occurs) (drop detected) queue-full state reset

Switched system model for TCP σ = 1 queue-not-full (drop occurs) (drop detected) σ = 2 queue-full alternatively σ 2 {1, 2 } continuous dynamics discrete dynamics

Impact maps x 1 T x 2 t 0 t 1 t 2 t 3 t 4 t 5 t 6 queue-not-full queue full queue-not-full queue full queue-not-full queue full k th time the system enters the queue-not-full mode x 1 queue-not-full x 2 queue-full impact map state space

Impact maps x 1 T x 2 t 0 t 1 t 2 t 3 t 4 t 5 t 6 queue-not-full queue full queue-not-full queue full queue-not-full queue full k th time the system enters the queue-not-full mode Theorem [1]: The function T is a contraction. In particular, Therefore x k! x 1 as k!1 x 1 constant x( t )! x 1 ( t ) as t! 1 x 1 ( t ) periodic limit cycle [J. Grizzle et al. has applied similar tools to the design of walking robots]

NS-2 simulation results Flow 1 N 1 S 1 Flow 2 TCP Sources N 2 Router R1 Bottleneck link Router R2 20Mbps/20ms S 2 TCP Sinks 500 Flow 7 N 7 S 7 Window and Queue Size (packets) 400 300 200 Flow 8 N 8 S 8 window size w 1 window size w 2 window size w 3 window size w 4 window size w 5 window size w 6 window size w 7 window size w 8 queue size q 100 0 0 10 20 30 40 50 time (seconds)

Random early detection (RED) Performance could be improved if the congestion controllers were notified of congestion before a drop occured queue-not-full (notification of congestion) N i notification counter (incremented whenever a notification of congestion arrives) In RED, N is a random variable with function to be adjusted Stochastic switched system (leading to a stochastic impact map)

Impact maps x k queue-not-full x k+1 queue-full impact map state space Impact maps are difficult to compute because their computation requires: Solving the differential equations on each mode (in general only possible for linear dynamics) Intersecting the continuous trajectories with a surface (often transcendental equations) It is often possible to prove that T is a contraction without an explicit formula for T

Outline Logic-based switched systems framework application areas Congestion control in data networks Vision-based control Adaptive control Impact maps Lyapunov tools Interconnection of systems analytical tools

Vision-based control of flexible manipulator flexible manipulator m tip λ b flex k flex m tip very lightly damped u b base I base θ base θ tip u b base I base θ base θ tip 4 th dimensional small-bending approximation Control objective: drive θ tip to zero, using feedback from θ base! encoder at the base θ tip! machine vision (essential to increase the damping of the flexible modes in the presence of noise)

Vision-based control of flexible manipulator m tip u b base I base θ base θ tip To achieve high accuracy in the measurement of q tip the camera must have a small field of view feedback output: Control objective: drive θ tip to zero, using feedback from θ base! encoder at the base θ tip! machine vision (essential to increase the damping of the flexible modes in the presence of noise)

Switched process u manipulator y

Switched process controller 1 controller 2 u manipulator y controller 1 optimized for feedback from θ base and θ tip and controller 2 optimized for feedback only from θ base E.g., LQG/LQR controllers that minimize

Switched system feedback connection with controller 1 (θ base and θ tip available) feedback connection with controller 2 (only θ base available) How does one check if the overall system is stable and that eventually converges to zero? controller s state

Common Lyapunov functions V( x ) V( x ) common Lyapunov function Suppose that there exists a cont. diff. function V( x ) such that V( x ) provides a measure of the size of x: positive definite radially unbounded V( x ) decreases along trajectories of both systems: switched system is stable and x! 0 as t! 1 independently of how switching takes place

Common Lyapunov functions V( x ) How to find a common Lyapunov function V( x )? Algebraic conditions for the existence of a common Lyapunov function The matrices commute, i.e., A 1 A 2 = A 2 A 1 [S1,S2] The Lie Algebra generated by {A 1, A 2 } is solvable For all λ 2 [0,1] the matrices λ A 1 +(1 λ) A 2 and λ A 1 +(1 λ) A 2 1 are asymptotically stable (only for 2 2 matrices) But, all these conditions fail for the problem at hand

Multiple Lyapunov functions Common Lyapunov function V( x ) same Lyapunov function must decrease for every controller Multiple Lyapunov functions V 1 ( x ) V 2 ( x ) V 1 ( x ) V2 ( x ) one Lyapunov function for each controller (more flexibility) [2,3, etc.]

Multiple Lyapunov functions Common Lyapunov function V( x ) same Lyapunov function must decrease for every controller Multiple Lyapunov functions V 1 ( x ) V 2 ( x ) V 1 ( x ) V 2 ( x ) one Lyapunov function for each controller (more flexibility) [2,3, etc.]

Multiple Lyapunov functions Common Lyapunov function V( x ) same Lyapunov function must decrease for every controller Multiple Lyapunov functions V 1 ( x ) V 2 ( x ) V 1 ( x ) V2 ( x ) one Lyapunov function for each controller (more flexibility) [2,3, etc.]

Multiple Lyapunov functions V 1 ( x ) V 2 ( x ) V 1 ( x ) V2 ( x ) Suppose that exist positive definite, radially unbounded cont. diff. functions V 1 ( x ), V 2 ( x ) such that V i ( x ) decreases along trajectories of A i : V i ( x ) does not increase during transitions: at points z where a switching from i to j can occur switched system is stable and x! 0 as t! 1

Multiple Lyapunov functions V 1 ( x ) V 2 ( x ) V 1 ( x Multiple ) Lyapunov functions can V2 be ( x found for the problem at hand )!!! Suppose that exist positive definite, radially unbounded cont. diff. functions V 1 ( x ), V 2 ( x ) such that V i ( x ) decreases along trajectories of A i : V i ( x ) does not increase during transitions: at points z where a switching from i to j can occur switched system is stable and x! 0 as t! 1 [S2]

Closed-loop response 5 no switching (feedback only from θ base ) 0 θ tip (t) -5 0 10 20 30 40 50 60 5 with switching (close to 0 feedback also from θ tip ) 0 θ tip (t) θ max = 1-5 0 10 20 30 40 50 60 [S2]

Robustness When will a small perturbation in the dynamics result in a small perturbation in the switched system s trajectory? For purely continuous systems (difference or differential equations) Lyapunov stability automatically provides some degree of robustness This is not necessarily true for switched systems: When is this a problem? Is there a notion of stability that automatically provides robustness? Important for 1. numerical simulation of switched systems 2. digital implementation of switched controllers 3. analysis and design based on numerical methods [A. Teel, R. Goebel, R. Sanfelice have important results in this area]

Outline Logic-based switched systems framework application areas Congestion control in data networks Vision-based control Adaptive control Impact maps Lyapunov tools Interconnection of systems analytical tools

Prototype adaptive control problem process can either be: u process y Control objective: Stabilize process (keep state of the process bounded)

Prototype adaptive control problem process can either be: controller 1 controller 2 u process y controller 1 stabilizes P 1 and controller 2 stabilizes P 2

Prototype adaptive control problem How to choose online which controller to use? controller 1 σ controller 2 u process y 2 1 σ

Estimator-based architecture output estimation errors logic-based supervisor σ e 1 e 2 P 1 observer P 2 observer controller 1 σ controller 2 u process y e 1 small likelihood of should use process being controller 1 P 1 is high Certainty equivalence inspired

Estimator-based architecture output estimation errors logic-based supervisor σ controller 1 controller 2 e 1 e 2 P 1 observer P 2 observer A stability argument cannot be based on this because σ process is P 1 ) e 1 small but not the converse process u y e 1 small likelihood of should use process being controller 1 P 1 is high Certainty equivalence inspired

Estimator-based architecture output estimation errors logic-based supervisor σ e 1 e 2 P 1 observer P 2 observer controller 1 σ controller 2 u process y switched system

Scale-independent hysteresis switching switching signal σ estimation errors e 1 e 2 switched system

Scale-independent hysteresis switching How does one verify if x remains bounded along solutions to the hybrid system? switching signal σ switched system e 1 e 2 Analyzing the system as a whole is too difficult. We need to: 1. abstract the complex behavior of each subsystem (supervisor & switched) to a small set of properties 2. infer properties of the overall system from the properties of the interconnected subsystems

One-diagram analysis outline H1 hysteresis switching logic switching signal (discrete) H2 σ switched system estimation errors (continuous signals) One can show [S3] that H1 has the property that H2 has the property that (with δ = 0 when there is no unmodeled dynamics) finite L 2 -induced gain from smallest error to the switched error vice-versa ( detectability through e σ )

One-diagram analysis outline H1 hysteresis switching logic switching signal (discrete) H2 σ switched system One can show [S3] that H1 has the property that H2 has the property that estimation errors (continuous signals) (with δ = 0 when there is no unmodeled dynamics) The system is stable provided that γ. δ < 1 finite L 2 -induced gain from smallest error to the switched error vice-versa ( detectability through e s )

Interconnections of switched system H1 H1 H2 H1 H2 H2 For interconnections through continuous signals, existing tools can be extended to hybrid systems (small gain, passivity, integral quadratic constrains, ISS, etc.) [6,7] H1 H1 H2 H1 H2 H2 For mixed interconnections new tools need to be developed continuous signal discrete signal [D. Liberzon & D. Nesic used this to analyze networked control systems with quantization]

Conclusion application areas Congestion control in data networks Vision-based control Adaptive control Impact maps Lyapunov tools Interconnection of systems analytical tools Switched systems are ubiquitous and of significant practical application A unified theory of switched systems is starting to be developed

References Background surveys & tutorials: [S1] D. Liberzon, A. S. Morse, Basic problems in stability and design of switched systems, In IEEE Control Systems Magazine, vol. 19, no. 5, pp. 59-70, Oct. 1999. [S2] J. Hespanha. Stabilization Through Hybrid Control. In Encyclopedia of Life Support Systems (EOLSS), volume Control Systems, Robotics, and Automation, 2004 [S3] J. Hespanha. Tutorial on Supervisory Control. Lecture Notes for the workshop Control using Logic and Switching for the 40th Conf. on Decision and Contr., Dec. 2001. [S4] R. Goebel, R. Sanfelice, A. Teel. Hybrid dynamical systems. IEEE Control Systems Magazine 29:28 93, 2009 Papers referenced specifically in this talk: [1] S. Bohacek, J. Hespanha, J. Lee, K. Obraczka. Analysis of a TCP hybrid model. In Proc. of the 39th Annual Allerton Conference on Communication, Control, and Computing, Oct. 2001. [2] P. Peleties P., R. A. DeCarlo. Asymptotic stability of m-switched systems using Lyapunov-like functions. In Proc. of the 1991 Amer. Contr. Conf., pp. 1679 1684, 1991. [3] M. S. Branicky. Studies in Hybrid Systems: Modeling, Analysis, and Control. Ph.D. thesis, MIT, 1995. [4] J. Hespanha. Extending LaSalle's Invariance Principle to Linear Switched Systems. In Proc. of the 40th Conf. on Decision and Contr., Dec. 2001. [5] J. Hespanha, A. S. Morse. Certainty Equivalence Implies Detectability. Syst. & Contr. Lett., 36:1-13, Jan. 1999. [6] M. Zefran, F. Bullo, M. Stein, A notion of passivity for hybrid systems. In Proc. of the 40th Conf. on Decision and Contr., Dec. 2001. [7] J. Hespanha. Root-Mean-Square Gains of Switched Linear Systems. IEEE Trans. on Automat. Contr., 48(11), Nov. 2003. [8] J. Grizzle, G. Abba, F. Plestan. Asymptotically Stable Walking for Biped Robots: Analysis via Systems with Impulse Effects. IEEE Trans. of Autom. Contr., 46:1, pp. 51-64, Jan. 2001 [9] D. Liberzon, D. Nesic. A unified framework for design and analysis of networked and quantized control systems. IEEE Trans. of Autom. Contr., vol. 54, pp. 732-747, Apr. 2009 See also http://www.ece.ucsb.edu/~hespanha/published.html