Some results on optimal estimation and control for lossy NCS. Luca Schenato

Similar documents
Closing the loop around Sensor Networks

Luca Schenato joint work with: A. Basso, G. Gamba

Distributed estimation and consensus. Luca Schenato University of Padova WIDE 09 7 July 2009, Siena

State Estimation over Customized Wireless Network

ADAPTIVE STATE ESTIMATION OVER LOSSY SENSOR NETWORKS FULLY ACCOUNTING FOR END-TO-END DISTORTION. Bohan Li, Tejaswi Nanjundaswamy, Kenneth Rose

Optimal Sensor Transmission Energy Allocation for Linear Control Over a Packet Dropping Link with Energy Harvesting

Chapter 2 Distributed Consensus Estimation of Wireless Sensor Networks

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Chapter Number. Parameter Estimation Over Noisy Communication Channels in Distributed Sensor Networks

TIME DELAY COMPENSATION SCHEMES WITH APPLICATION TO NETWORKED CONTROL SYSTEM

An Online Sensor Power Schedule for Remote State Estimation With Communication Energy Constraint

A Toolbox of Hamilton-Jacobi Solvers for Analysis of Nondeterministic Continuous and Hybrid Systems

Networked and Distributed Control Systems Lecture 1. Tamas Keviczky and Nathan van de Wouw

FAULT DIAGNOSIS AND RECONFIGURATION IN FLIGHT CONTROL SYSTEMS

Summary of Basic Concepts

Mathematical Problems in Networked Embedded Systems

Wireless Network Delay Estimation for Time-Sensitive Applications

Dependable Wireless Control

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies

Resource Allocation Challenges in Future Wireless Networks

CS649 Sensor Networks IP Lecture 9: Synchronization

INF3430 Clock and Synchronization

Characteristics of Routes in a Road Traffic Assignment

Transmission Scheduling for Remote State Estimation and Control With an Energy Harvesting Sensor

Routing in Massively Dense Static Sensor Networks

DAV Institute of Engineering & Technology Department of ECE. Course Outcomes

Optimal Energy Allocation for Linear Control over a Packet-Dropping Link with Energy Harvesting Constraints

Structure and Synthesis of Robot Motion

Politecnico di Milano Scuola di Ingegneria Industriale e dell Informazione. Physical layer. Fundamentals of Communication Networks

CSE 466 Software for Embedded Systems. What is an embedded system?

Welcome to SENG 480B / CSC 485A / CSC 586A Self-Adaptive and Self-Managing Systems

Adaptive Wireless. Communications. gl CAMBRIDGE UNIVERSITY PRESS. MIMO Channels and Networks SIDDHARTAN GOVJNDASAMY DANIEL W.

Bibliographic Review on Distributed Kalman Filtering

Control and Optimization

Visvesvaraya Technological University, Belagavi

CANopen Programmer s Manual Part Number Version 1.0 October All rights reserved

1 Interference Cancellation

Near-Optimal Radio Use For Wireless Network Synch. Synchronization

SourceSync. Exploiting Sender Diversity

A New Control Theory for Dynamic Data Driven Systems

Glossary of terms. Short explanation

UTILIZATION OF AN IEEE 1588 TIMING REFERENCE SOURCE IN THE inet RF TRANSCEIVER

STEERING OF FREQUENCY STANDARDS BY THE USE OF LINEAR QUADRATIC GAUSSIAN CONTROL THEORY

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions

INTERNET-BASED REAL-TIME CONTROL ARCHITECTURES WITH TIME-DELAY/PACKET-LOSS COMPENSATION

WirelessHART Modeling and Performance Evaluation

Politecnico di Milano Advanced Network Technologies Laboratory. Radio Frequency Identification

Performance Comparison of ZF, LMS and RLS Algorithms for Linear Adaptive Equalizer

Data and Computer Communications

Wireless Intro : Computer Networking. Wireless Challenges. Overview

OFDM the 3 rd generation of narrowband Power Line Communications

Sampling Rate Synchronisation in Acoustic Sensor Networks with a Pre-Trained Clock Skew Error Model

Cognitive Radios Games: Overview and Perspectives

Testing and Validation of Synchrophasor Devices and Applications

Sensor Networks and the Future of Networked Computation

Passive Bilateral Teleoperation

University of Jordan. Faculty of Engineering & Technology. Study Plan. Master Degree. Year plan

Programmable Wireless Networking Overview

SELF-BALANCING MOBILE ROBOT TILTER

CANopen Programmer s Manual

On the Average Rate Performance of Hybrid-ARQ in Quasi-Static Fading Channels

9/17/2015. Contents. ELEC-E8101 Digital and Optimal Control (5 cr), autumn 2015

Kalman Filtering, Factor Graphs and Electrical Networks

Online Wide-Area Voltage Stability Monitoring and Control: RT-VSMAC Tool

Multicasting over Multiple-Access Networks

Opportunistic Scheduling: Generalizations to. Include Multiple Constraints, Multiple Interfaces,

Antennas and Propagation. Chapter 5c: Array Signal Processing and Parametric Estimation Techniques

By Ryan Winfield Woodings and Mark Gerrior, Cypress Semiconductor

Distributed Control-as-a-Service with Wireless Swarm Systems"

Wireless Network Security Spring 2016

Wireless Network Security Spring 2015

Optimal Coded Information Network Design and Management via Improved Characterizations of the Binary Entropy Function

DISTRIBUTED RATE ALLOCATION FOR VIDEO STREAMING OVER WIRELESS NETWORKS WITH HETEROGENEOUS LINK SPEEDS. Xiaoqing Zhu and Bernd Girod

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Masters of Engineering in Electrical Engineering Course Syllabi ( ) City University of New York--College of Staten Island

Simple, Optimal, Fast, and Robust Wireless Random Medium Access Control

TIME encoding of a band-limited function,,

Encoding and Framing

Chapter # 1: Introduction

Simulating Mobile Networks Tools and Models. Joachim Sachs

Time Synchronization and Distributed Modulation in Large-Scale Sensor Networks

Internet of Things Cognitive Radio Technologies

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

Wireless Network Security Spring 2012

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal

Lecture #2. EE 471C / EE 381K-17 Wireless Communication Lab. Professor Robert W. Heath Jr.

Costas Loop. Modules: Sequence Generator, Digital Utilities, VCO, Quadrature Utilities (2), Phase Shifter, Tuneable LPF (2), Multiplier

THOMAS PANY SOFTWARE RECEIVERS

Multiple MAC Protocols Selection Strategies. Presented by Chen-Hsiang Feng

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Introduc)on to Computer Networks

wireless transmission of short packets

Distributed Consensus and Cooperative Estimation

CDS 101: Lecture 1 Introduction to Feedback and Control. Richard M. Murray 30 September 2002

What is a Simulation? Simulation & Modeling. Why Do Simulations? Emulators versus Simulators. Why Do Simulations? Why Do Simulations?

Control System for a Segway

M2M massive wireless access: challenges, research issues, and ways forward

Lecture 23: Media Access Control. CSE 123: Computer Networks Alex C. Snoeren

Report 3. Kalman or Wiener Filters

Transcription:

Some results on optimal estimation and control for lossy NCS Luca Schenato

Networked Control Systems Drive-by-wire systems Swarm robotics Smart structures: adaptive space telescope Wireless Sensor Networks Traffic Control: Internet and transportation Smart materials: sheets of MEMS sensors and actuators NCSs: physically distributed dynamical systems interconnected by a communication network

NCSs: what s new for control? Classical architecture: Centralized structure Actuators Plant Sensors Controller

NCSs: what s new for control? NCSs: Large scale distributed structure A A Plant S S A S Interference Packet loss Connectivity COMMUNICATION Random delay Limited capacity NETWORK Quantization Congestion C C C C C

Interdisciplinary research needed COMMUNICATIONS ENGINEERING Comm. protocols for RT apps Packet loss and random delay Wireless Sensor Networks Bit rate and Inf. Theory NETWORKED CONTROL SYSTEMS COMPUTER SCIENCE Graph theory Distributed computation Complexity theory Consensus algorithms SOFTWARE ENGINEERING Embedded software design Middleware for NCS RT Operating Systems Layering abstraction for interoperability

Interdisciplinary research needed COMMUNICATIONS ENGINEERING Comm. protocols for RT apps Packet loss and random delay Wireless Sensor Networks Bit rate and Inf. Theory NETWORKED CONTROL SYSTEMS COMPUTER SCIENCE Graph theory Distributed computation Complexity theory Consensus algorithms SOFTWARE ENGINEERING Embedded software design Middleware for NCS RT Operating Systems Layering abstraction for interoperability Martedi prossimo Average TimeSync (ATS): a distributed consensus protocol for sensor networks clock synchronization

Sensor nodes w/ motion sensors NCS example: Pursuit Evasion Games w Sensor Networks Information flow from SN Pursuers Evaders

Motivating example: wireless sensor networks Forest Temperature Monitoring (data-extraction application) Wildfire detection & tracking (real-time application) sensor node BASE STATION Packet loss Event-triggered routing real-time apps TDMA-based routing data-extraction apps Packet delay Can we design optimal estimators that compensate for random delay and packet loss? What is the performance if we have packet arrival statistics? How can we compare different communication/routing protocols in terms of estimation performance?

Optimal LQG Actuators Plant Sensors controller Sensors and actuators are co-located, i.e. no delay nor loss

Optimal LQG Actuators Plant Sensors LQ State feedback Static Kalman filter 1. Separation principle holds: Optimal controller = Optimal estimator design + Optimal state feedback design 2. Closed Loop system always stable (under standard cont/obs. hypotheses) 3. Gains K,L are constant solution of Algebraic Riccati Equations

Optimal LQG control over DCN Random delay or drop Actuators Plant Sensors Controller? ACK? Controller? DIGITAL COMMUNICATION NETWORK Controller Random delay or drop

Some consideration on the separation principle Actuators Plant Sensors Random delay Packet loss State feedback z -1 Kalman filter x x

Modeling of Digital Communication Network (DCN) Analog signal Sampling Quantization DSP Data (N bits) Encoder sent packet Digital Digital Communication Communication Network Network arrived packet Decoder CRC redundancy delay data packet header ATM Ethernet Bluetooth Zigbee 384 bits 40 bits >368 bits >499 bits 112 bits ~100 bits <1000 bits 128 bits Assumptions: (1) Quantization noise<<sensor noise (2) Packet-rate limited ( bit-rate) (3) No transmission noise (data corrupted=dropped packet) (4) Packets are time-stamped Random delay & Packet loss (=1) at receiver

Estimation modeling PLANT Digital Digital Communication Communication Network Network Buffer ESTIMATOR No packet arrives Packet out of order Multiple packets arrive

Minimum variance estimation PLANT Digital Digital Communication Communication Network Network Buffer ESTIMATOR Kalman time-varying linear system

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Properties of Optimal Estimator ESTIMATOR Optimal for any arrival process Stochastic time-varying gain K t =K(γ 1,..,γ t ) Possibly infinite memory buffer Inversion of up to t matrices at any time t ESTIMATOR N

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

Minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

What about stability and performance? Additional assumption on arrival sequence necessary: i.i.d. arrival with stationary distribution

Optimal estimation with constant gains and buffer finite memory ESTIMATOR N Does not require any matrix inversion Simple to implement Upper bound for optimal estimator: N is design parameter GOAL: compute

Suboptimal minimum variance estimation Open loop Closed loop

Suboptimal minimum variance estimation Lyapunov Equation (unstable) Riccati Equation (stable)

(off-line computation) Steady state estimation error Fixed gains: Optimal fixed gains: Modified Algebraic Riccati Equation (MARE) ( 1 (P)=ARE)

Numerical example (I) Discrete time linearized inverted pendulum: Expected covariance error P

Numerical example (II) Time-varying arrival probability distribution 1 0.8 arrival probability 0.6 0.4 0.2 0 0 1 2 3 4 5 6 7 8 9 10 delay (h) λ 1 λ 2

Back to the control problem Actuators Plant Sensors State feedback z -1 Static Kalman filter

Back to the control problem Actuators Plant Sensors Random delay Packet loss Random delay Packet loss State feedback z -1 Time-varying Kalman filter w/ memory Estimation error coupled with control action no separation principle

LQG over TCP-like (ACK-based) protocols Actuators Plant Sensors Packet loss State feedback z -1 z -1 Time-varying Kalman filter w/ memory Random delay Packet loss Separation principle hold (I know exactly u a t-1) t Bernoulli rand. var and independent of observation arrival process Static state feedback, L solution of dual MARE

LQG over UDP-like (no-ack) protocols Actuators Plant Sensors Packet loss Random delay Packet loss LQG problem still well defined: No separation principle hold ( u a t-1 NOT known exactly) but still have some statistical information about u a t-1

LQG over UDP-like (no-ack) protocols Actuators Plant Sensors Packet loss Packet loss State feedback z -1 Static Kalman filter Bernoulli arrival process Sub-optimal controller forced to be state estimator+state feedback Optimal choice of K,L is unique solution of 4 coupled Riccati-like equations Compensability and Optimal Compensation of systems with white parameters, De Koning, TAC 92

L LQG as optimization problem Non convex problem even for ==1, i.e. classic LQG Classic and TCP-based LQG become convex when exploiting optimality conditions like uncorralation between estimate and error estimate For UDP-like problem non convex but unique solution using Homotopy and Degree Theory (DeKoning,Athans,Bernstain) (maybe using Sum-of-Squares?) Stability on and is coupled K

Side note: Kalman filter is not always optimal! Optimal Regulator Kalman filter K klm LQ State feedback L LQ Kalman filter K klm Stabilizing State feedback L Filter K=K(L) Stabilizing State feedback L Kalman filter always gives smallest estimate error regardless of controller L If controller L L LQ, then performance improves if my estimate is bad!

Numerical example: TCP vs UDP Arrival packet probability

To hold or to zero control input? Actuators Plant Sensors Packet loss Controller Most common strategy: (mathematically appealing) (most natural)

To hold or to zero control input: no noise (jump linear systems) Zero-input Strategy Plant Hold-input Strategy Plant Controller Z -1 Controller Using cost-to-go function (dynamic programming) Riccati-like equation

Example: unstable scalar system A=1.2, U=0 (fastest convergence) A=1.2, U=10 (small input) Loss probability Loss probability

LQG over TCP-like protocols revised Actuators Plant Sensors Packet loss ACK = t z -1 Random delay Packet loss State feedback z -1 Time-varying Kalman filter w/ memory Conjecture: Separation principle hold Optimal function Design parameter obtained via LQ-like optimal state feedback

Smart sensors & smart actuators Actuators Plant Sensors classic LQ contoller Time-varying kalman no input packet loss classic static kalman Random delay Packet loss controller Optimal LQG control across a packet-dropping link, Gupta, Spanos, Murray, Submitted to Sys.Cont.Lett. 05 Estimation under controlled and uncontrolled communications in networked control systems, Xu, Hespanha, CDC 05

Numerical example: remote vs co-located controller Arrival packet probability

Takeaway points Input packet loss more dangerous than measurement packet loss TCP-like protocols help controller design as compared to UDP-like (but harder for communication designer) If you can, place controller near actuator If you can, send estimate rather than raw measurement Zero-input control seems to give smaller closed loop state error ( x t ) than hold-input (but higher input) Trade-off in terms of performance, buffer length, computational resources (matrix inversion) when random delay Can help comparing different communication protocols from a real-time application performance

Future work A A A Plant S S S COMMUNICATION NETWORK C C C C C Multiple sensors: data fusion, i.e. y 1,..,y m arrive at different times distributed estimation & consensus Multiple actuators trade-off between distributed control & centralized coordination