CDS 101: Lecture 5-1 Reachability and State Space Feedback

Similar documents
CDS 101: Lecture 5-1 Reachability and State Space Feedback. Review from Last Week

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101: Lecture 5.1 Controllability and State Space Feedback

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101: Lecture 4.1 Linear Systems

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Control Systems I. Lecture 4: Diagonalization, Modal Analysis, Intro to Feedback. Readings: Emilio Frazzoli

Definition of Reachability We begin by disregarding the output measurements of the system and focusing on the evolution of the state, given by

CDS 101/110: Lecture 3.1 Linear Systems

Full State Feedback for State Space Approach

CDS 101/110: Lecture 3.1 Linear Systems

ECEEN 5448 Fall 2011 Homework #4 Solutions

CDS 101/110a: Lecture 10-2 Control Systems Implementation

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

CDS 101: Lecture 2.1 System Modeling

Module 07 Controllability and Controller Design of Dynamical LTI Systems

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

ECE557 Systems Control

4F3 - Predictive Control

EEE582 Homework Problems

1 (30 pts) Dominant Pole

Robotics. Control Theory. Marc Toussaint U Stuttgart

Chapter 3. State Feedback - Pole Placement. Motivation

NPTEL Online Course: Control Engineering

Control Systems Design

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

CDS 101/110a: Lecture 10-1 Robust Performance

Control Systems Design, SC4026. SC4026 Fall 2010, dr. A. Abate, DCSC, TU Delft

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

Problem set 7 Math 207A, Fall 2011 Solutions

EE C128 / ME C134 Fall 2014 HW 9 Solutions. HW 9 Solutions. 10(s + 3) s(s + 2)(s + 5) G(s) =

Lab 6a: Pole Placement for the Inverted Pendulum

Linear control of inverted pendulum

Intermediate Process Control CHE576 Lecture Notes # 2

Predictability: Does the Flap of a Butterfly s Wings in Brazil set off a Tornado

Module 03 Linear Systems Theory: Necessary Background

Advanced Control Theory

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

APPPHYS 217 Thursday 8 April 2010

Control Systems Design, SC4026. SC4026 Fall 2009, dr. A. Abate, DCSC, TU Delft

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner

ACM/CMS 107 Linear Analysis & Applications Fall 2016 Assignment 4: Linear ODEs and Control Theory Due: 5th December 2016

State Space Control D R. T A R E K A. T U T U N J I

Control Systems Design, SC4026. SC4026 Fall 2010, dr. A. Abate, DCSC, TU Delft

CDS 110: Lecture 2-2 Modeling Using Differential Equations

CDS 101 Precourse Phase Plane Analysis and Stability

TRACKING AND DISTURBANCE REJECTION

CDS 110b: Lecture 2-1 Linear Quadratic Regulators

Introduction to Dynamical Systems

APPPHYS 217 Tuesday 6 April 2010

Problem Set 5 Solutions 1

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

Intro. Computer Control Systems: F8

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

6.241 Dynamic Systems and Control

Introduction to Modern Control MT 2016

STABILITY. Phase portraits and local stability

CONTROL DESIGN FOR SET POINT TRACKING

Topic # Feedback Control Systems

Control System Design

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL

MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant

SYSTEMTEORI - ÖVNING 5: FEEDBACK, POLE ASSIGNMENT AND OBSERVER

EC Control Engineering Quiz II IIT Madras

Transfer function and linearization

5HC99 Embedded Vision Control. Feedback Control Systems. dr. Dip Goswami Flux Department of Electrical Engineering

Chap. 3. Controlled Systems, Controllability

Automatic Control 2. Nonlinear systems. Prof. Alberto Bemporad. University of Trento. Academic year

for changing independent variables. Most simply for a function f(x) the Legendre transformation f(x) B(s) takes the form B(s) = xs f(x) with s = df

CDS 101/110a: Lecture 8-1 Frequency Domain Design

1 Steady State Error (30 pts)

APPM 2360 Lab #3: The Predator Prey Model

Separation Principle & Full-Order Observer Design

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Discussion 6B

Linearization problem. The simplest example

Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science : MULTIVARIABLE CONTROL SYSTEMS by A.

Digital Control: Part 2. ENGI 7825: Control Systems II Andrew Vardy

CDS Solutions to Final Exam

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

POLE PLACEMENT. Sadegh Bolouki. Lecture slides for ECE 515. University of Illinois, Urbana-Champaign. Fall S. Bolouki (UIUC) 1 / 19

Module 06 Stability of Dynamical Systems

EN Nonlinear Control and Planning in Robotics Lecture 3: Stability February 4, 2015

Math 266: Phase Plane Portrait

Predator - Prey Model Trajectories and the nonlinear conservation law

ELEC 3035, Lecture 3: Autonomous systems Ivan Markovsky

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1)

Getting Started With The Predator - Prey Model: Nullclines

2 Lyapunov Stability. x(0) x 0 < δ x(t) x 0 < ɛ

5. Observer-based Controller Design

Suppose that we have a specific single stage dynamic system governed by the following equation:

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

Topic # Feedback Control Systems

Inverted Pendulum. Objectives

Introduction to Modern Control MT 2016

6 OUTPUT FEEDBACK DESIGN

A plane autonomous system is a pair of simultaneous first-order differential equations,

Transcription:

CDS 11: Lecture 5-1 Reachability and State Space Feedback Richard M. Murray 23 October 26 Goals: Define reachability of a control system Give tests for reachability of linear systems and apply to examples Describe the design of state feedback controllers for linear systems Reading: Åström and Murray, Feedback Systems, Ch 6

Review from Last Week 23 Oct 6 R. M. Murray, Caltech CDS 2

Control Design Concepts System description: single input, single output system MIMO also OK) Stability: stabilize the system around an equilibrium point Given equilibrium point x e R n, find control law u=αx) such that Reachability: steer the system between two points Given x o, x f R n, find an input ut) such that ẋ = fx, ut)) takes xt ) = x xt ) = x f Tracking: track a given output trajectory Given y d t), find u=αx,t) such that x yt x f y d t t 23 Oct 6 R. M. Murray, Caltech CDS 3

Reachability of Input/Output Systems Defn An input/output system is reachable if for any x o, x f R n and any time T > there exists an input u [,T ] R such that the solution of the dynamics starting from x)=x and applying input ut) gives xt)=x f. Remarks In the definition, x and x f do not have to be equilibrium points we don t necessarily stay at x f after time T. Reachability is defined in terms of states doesn t depend on output For linear systems, can characterize reachability by looking at the general solution: If integral is surjective as a linear operator), then we can find an input to achieve any desired final state. 23 Oct 6 R. M. Murray, Caltech CDS 4

Tests for Reachability Thm A linear system is reachable if and only if the n n reachability matrix is full rank. Remarks Very simple test to apply. In MATLAB, use ctrba,b) and check rank w/ det) If this test is satisfied, we say the pair A,B) is reachable Some insight into the proof can be seen by expanding the matrix exponential 23 Oct 6 R. M. Murray, Caltech CDS 5

Example #1: Linearized pendulum on a cart θ m Question: can we locally control the position of the cart by proper choice of input? p Approach: look at the linearization around the upright position good approximation to the full dynamics if θ remains small) F M d dt p θ ṗ = θ 1 1 m 2 l 2 g cj t M t J t m 2 l 2 M t J t m 2 l 2 M t mgl M t J t m 2 l 2 clm M t J t m 2 l 2 γj t lm M t J t m 2 l 2 γm t M t J t m 2 l 2 p θ ṗ + θ J t M t J t m 2 l 2 lm M t J t m 2 l 2 u y = [ 1 ] x, 23 Oct 6 R. M. Murray, Caltech CDS 6

u W r = Example #1, con t: Linearized pendulum on a cart p M Reachability matrix J t µ lm µ J t θ m d dt gl 3 m 3 µ 2 gl 2 m 2 m+m) µ 2 µ gl 3 m 3 µ 2 1 p θ 1 ṗ = m 2 l 2 g cj t µ µ µ θ M t mgl µ µ = M t J t m 2 l 2 lm µ gl 2 m 2 m+m) µ 2 B AB A 2 B A 3 B clm µ. γj t lm γm t µ p θ ṗ + θ J t µ lm µ u Simplify by setting c, γ = Full rank as long as constants are such that columns 1 and 3 are not multiples of each other reachable as long as detw r ) = g2 l 4 m 4 µ 4 can steer linearization between points by proper choice of input 23 Oct 6 R. M. Murray, Caltech CDS 7

Control Design Concepts System description: single input, single output system MIMO also OK) Stability: stabilize the system around an equilibrium point Given equilibrium point x e 2 R n, find control law u=αx) such that Reachability: steer the system between two points Given x, x f 2 R n, find an input ut) such that x x f Tracking: track a given output trajectory Given y d t), find u=αx,t) such that yt y d t t 23 Oct 6 R. M. Murray, Caltech CDS 8

State space controller design for linear systems Goal: find a linear control law u = -K x such that the closed loop system is stable at x e =. Remarks ẋ = Ax BKx = A BK)x Stability based on eigenvalues use K to make eigenvalues of A+BK) stable Can also link eigenvalues to performance eg, initial condition response) Question: when can we place the eigenvalues anyplace that we want? Theorem The eigenvalues of A - BK) can be set to arbitrary values if and only if the pair A, B) is reachable. MATLAB: K = placea, B, eigs) 23 Oct 6 R. M. Murray, Caltech CDS 9

Natural dynamics dh dt = r hh 1 H ) K dl dt = r ll 1 L ) kh Example #2: Predator prey ahl 1 + aht h H L Controlled dynamics: modulate food supply dh dt = r h + u)h 1 H ) ahl K 1 + aht h dl dt = r ll 1 L ) kh Stable Q1: can we move from some initial population of foxes and rabbits to a specified one in time T by modulation of the food supply? Q2: can we stabilize the population around the desired equilibrium point Unstable Approach: try to answer this question locally, around the natural equilibrium point 23 Oct 6 R. M. Murray, Caltech CDS

Example #2: Problem setup Equilibrium point calculation dh dt = r h + u)h 1 H ) ahl K 1 + aht h dl dt = r ll 1 L ) kh x e = 6.5, 1.3), ue =, ye = 6.5 Linearization Compute linearization around equil. point, x e : % Compute the equil point % predprey.m contains dynamics f = inline'predprey,x)'); xeq = fsolvef, [1, 2]); % Compute linearization A = [ rh - 2*H*rH)/K - a*l)......, rl - 2*L*rL)/H*k) ]; B = [H*1 - H/K); ]; Redefine local variables: z=x-x e, v=u-u e d dt [ z1 z 2 ] = [ al ah T h +1) 2 2H r h L 2 r l H 2 k K + r h ah ah T h +1 r l 2L r l H k ] [z1 ] [ )] H 1 H + K v z 2 23 Oct 6 R. M. Murray, Caltech CDS 11

Example #2: Stabilization via eigenvalue assignment d dt [ z1 z 2 ] = [ al ah T h +1) 2 2H r h L 2 r l H 2 k K + r h ah ah T h +1 r l 2L r l H k ] [z1 ] [ )] H 1 H + K v z 2 Control design: v = Kz + k r r u = u e + Kx x e ) + k r r y e ) Place poles at stable values Choose λ=-1, -2 K = placea, B, [-1; -2]); Stable Modify NL dynamics to include control dh dt = r h + u)h 1 H ) ahl K 1 + aht h dl dt = r ll 1 L ) kh 23 Oct 6 R. M. Murray, Caltech CDS 12

Implementation Details Eigenvalues determine performance For each eigenvalue λ i =σ i + jω i, get contribution of the form Repeated eigenvalues can give additional terms of the form t k e σ + jω Imag Axis 2 1-1 Pole-zero map ω -2-15 -1-5 5 Real Axis Amplitude To: Y1).2.15.1.5 Step Response From: U1) T 2π /ω p 5 1 15 2 25 3 Time sec.) Use estimator to determine the current state if you can t measure it u y Estimator looks at inputs and outputs of plant and estimates the current state Can show that if a system is observable then you can construct and estimator Use the estimated state as the feedback Estimator Kalman filter is an example of an estimator 23 Oct 6 R. M. Murray, Caltech CDS 13

Summary: Reachability and State Space Feedback x x f u = Kx + k r r Key concepts Reachability: find u s.t. x x f Reachability rank test for linear systems State feedback to assign eigenvalues 23 Oct 6 R. M. Murray, Caltech CDS 14