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

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

Control Systems I. Lecture 1: Introduction. Suggested Readings: Åström & Murray Ch. 1, Guzzella Ch. 1. Emilio Frazzoli

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

Control Systems I. Lecture 1: Introduction. Suggested Readings: Åström & Murray Ch. 1. Jacopo Tani

Control Systems I. Lecture 9: The Nyquist condition

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

6.241 Dynamic Systems and Control

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Control Systems I Lecture 10: System Specifications

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Guzzella 9.1-3, Emilio Frazzoli

Control Systems I. Lecture 9: The Nyquist condition

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Jacopo Tani. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Systems and Control Theory Lecture Notes. Laura Giarré

Exam. 135 minutes + 15 minutes reading time

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

16.30 Estimation and Control of Aerospace Systems

Exam. 135 minutes, 15 minutes reading time

Linearization problem. The simplest example

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

Modeling and Analysis of Dynamic Systems

Lecture 1: Feedback Control Loop

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

Analysis and Synthesis of Single-Input Single-Output Control Systems

Linear System Theory. Wonhee Kim Lecture 1. March 7, 2018

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Richiami di Controlli Automatici

MATH4406 (Control Theory) Unit 1: Introduction Prepared by Yoni Nazarathy, July 21, 2012

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

CDS 101/110a: Lecture 2.1 Dynamic Behavior

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

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

D(s) G(s) A control system design definition

Controls Problems for Qualifying Exam - Spring 2014

Control Systems Lab - SC4070 System Identification and Linearization

ECE504: Lecture 8. D. Richard Brown III. Worcester Polytechnic Institute. 28-Oct-2008

Linearize a non-linear system at an appropriately chosen point to derive an LTI system with A, B,C, D matrices

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Department of Aerospace Engineering and Mechanics University of Minnesota Written Preliminary Examination: Control Systems Friday, April 9, 2010

Analog Signals and Systems and their properties

CDS 101/110a: Lecture 2.1 Dynamic Behavior

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

Controlling the Inverted Pendulum

Control Systems Lab - SC4070 Control techniques

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Control System Design

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

Dr Ian R. Manchester

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Modeling and Experimentation: Compound Pendulum

Overview of the Seminar Topic

Classify a transfer function to see which order or ramp it can follow and with which expected error.

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

Today s goals So far Today 2.004

Control Systems Design

6.241 Dynamic Systems and Control

Modeling and Control Overview

OUTPUT CONTROLLABILITY AND STEADY-OUTPUT CONTROLLABILITY ANALYSIS OF FIXED SPEED WIND TURBINE

LMI Methods in Optimal and Robust Control

Nonlinear Oscillators: Free Response

Design Methods for Control Systems

ECE504: Lecture 9. D. Richard Brown III. Worcester Polytechnic Institute. 04-Nov-2008

Control Systems Design

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

Linear Control Systems Lecture #3 - Frequency Domain Analysis. Guillaume Drion Academic year

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08

An Adaptive LQG Combined With the MRAS Based LFFC for Motion Control Systems

Discrete and continuous dynamic systems

(Refer Slide Time: 00:01:30 min)

Robotics. Dynamics. Marc Toussaint U Stuttgart

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

Lecture 9 Nonlinear Control Design

AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Introduction to Automatic Control & Linear systems (time domain)

Topic # Feedback Control

Intro. Computer Control Systems: F8

I ml. g l. sin. l 0,,2,...,n A. ( t vs. ), and ( vs. ). d dt. sin l

(Refer Slide Time: 1:42)

Exam. 135 minutes, 15 minutes reading time

CIS 4930/6930: Principles of Cyber-Physical Systems

Autonomous Mobile Robot Design

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

Modeling nonlinear systems using multiple piecewise linear equations

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

CDS 110b: Lecture 2-1 Linear Quadratic Regulators

Iterative Learning Control Analysis and Design I

Robotics. Dynamics. University of Stuttgart Winter 2018/19

EECS C128/ ME C134 Final Wed. Dec. 14, am. Closed book. One page, 2 sides of formula sheets. No calculators.

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

CDS 101: Lecture 4.1 Linear Systems

10 Transfer Matrix Models

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

Return Difference Function and Closed-Loop Roots Single-Input/Single-Output Control Systems

Mathematics for Control Theory

Module 02 CPS Background: Linear Systems Preliminaries

First-Order Low-Pass Filter

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

MEM 255 Introduction to Control Systems: Modeling & analyzing systems

Transcription:

Control Systems I Lecture 2: Modeling Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch. 2-3 Emilio Frazzoli Institute for Dynamic Systems and Control D-MAVT ETH Zürich September 29, 2017 E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 1 / 24

Tentative schedule # Date Topic 1 Sept. 22 Introduction, Signals and Systems 2 Sept. 29 Modeling, Linearization 3 Oct. 6 Analysis 1: Time response, Stability 4 Oct. 13 Analysis 2: Diagonalization, Modal coordinates 5 Oct. 20 Transfer functions 1: Definition and properties 6 Oct. 27 Transfer functions 2: Poles and Zeros 7 Nov. 3 Analysis of feedback systems: internal stability, root locus 8 Nov. 10 Frequency response 9 Nov. 17 Analysis of feedback systems 2: the Nyquist condition 10 Nov. 24 Specifications for feedback systems 11 Dec. 1 Loop Shaping 12 Dec. 8 PID control 13 Dec. 15 Implementation issues 14 Dec. 22 Robustness E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 2 / 24

Today s learning objectives After today s lecture, you should be able to: Describe the benefits of using control systems to another student Understand the difference between the main control architectures. Can use the concept of state to model a system Write the model of a LTI system with A, B, C, D matrices. Understands the notion of equilibrium points and can calculate them. The student is able to linearize a non-linear system at an appropriately chosen equilibrium point to derive an approximate LTI system with A, B,C, D matrices E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 3 / 24

Control objectives Stabilization: make sure the system does not blow up (i.e., it stays within normal operating conditions). Regulation: Maintain a desired operating point in spite of disturbances. Tracking: follow a reference trajectory that changes over time, as closely as possible. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 4 / 24

Basic control architectures: Feed-Forward r F u P y Basic idea: given r, attempt to compute what should be the control input u that would make y = r. Essentially, F should be an inverse of P. Relies on good knowledge of P sensitive to modeling errors. Cannot alter the dynamics of P, i.e., cannot make an unstable system stable. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 5 / 24

Basic control architectures: Feedback r e C u P y Basic idea: given the error r y, compute u such that the error is small. Intuition: the bigger C, the smaller the error e will be, regardless of P (under some assumption, e.g., closed-loop stability). Does not require a precise knowledge of P robust to modeling errors. Can stabilize unstable systems. But can also make stable systems unstable (!). Needs an error to develop in order to figure out the appropriate control. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 6 / 24

Basic control architectures: two degrees of freedom F r e C u P y Basic idea: given r, compute a guess for the control input u that would make y = r; correct this guess based on the measurement of the error e, so that the error is minimized. Combines the main advantages of feed-forward and feed-back architectures. Ensures stability, robustness, but can also speed up tracking/regulation. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 7 / 24

Benefits/dangers of feedback Feed-forward control relies on a precise knowledge of the plant, and does not change its dynamics. Feedback control allows one to Stabilize an unstable system; Handle uncertainties in the system; Reject external disturbances. However, feedback can introduce instability, even in an otherwise stable system! feed sensor noise into the system. Two degrees of freedom (feedforward + feedback) allow better transient behavior, e.g., can yield good tracking of rapidly-changing reference inputs. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 8 / 24

Causality revisited An input-output system Σ is causal if, for any t T, the output at time t depends only on the values of the input on (, t]. In other words, an input-output system Σ is causal if P T ΣP T = P T Σ, T T. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 9 / 24

State of a system We know that, if a system is causal, in order to compute its output at a given time t 0, we need to know only the input signal over (, t 0 ]. This is a lot of information. Can we summarize it with something more manageable? Definition (state) The state x(t 1 ) of a causal system at time t 1 is the information needed, together with the input u between times t 1 and t 2, to uniquely predict the output at time t 2, for all t 2 t 1. In other words, the state of the system at a given time t summarizes the whole history of the past inputs over (, t), for the purpose of predicting the output at future times. Usually, the state of a system is a vector in some Euclidean space R n. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 10 / 24

Water tank example Suppose that the input is u = u + u (i.e., net flow of water into the tank). Is there a way to summarize the effect of all past inputs until time T? E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 11 / 24

Dimension of a system The choice of a state for a system is not unique (in fact, there are infinite choices, or realizations). However, there are come choices of state which are preferable to others; in particular, we can look at minimal realizations. Definition (Dimension of a system) We define the dimension of a causal system as the minimal number of variables sufficient to describe the system s state (i.e., the dimension of the smallest state vector). We will deal mostly with finite-dimensional systems, i.e., systems which can be described with a finite number of variables. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 12 / 24

LTI State-space model It can be shown that any finite-dimensional LTI system can be described by a state-space model of the form: Definition (Continuous-time State-Space Models) d x(t) dt = Ax(t) + Bu(t); y(t) = Cx(t) + Du(t); The state x represents the memory of the system. The state x is an internal variable that cannot be accessed directly, but only controlled though the input x and observed through the output y. The order of the system is the dimension of the state x. A system is memoryless if the dimension of the state is zero (i.e., there is no need to keep a state, or memory) A system is strictly causal if the feedthrough term D is zero. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 13 / 24

Water Tank (Integrator) Notation: Flow: u = u + u, Water level: h, Tank cross-section area: S, Dynamic model: d h dt = 1 S u State-space model, with y = x = h: [ ] [ ] A B 0 1 = S C D 1 0 E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 14 / 24

Temperature Control (1st order system) Notation: Heat Flow: u, Temperature: T, Outside Temperature: T e, Thermal Conductivity: c Thermal Capacity: m Dynamic model: m d T dt = c(t e T ) + u Equilibrium (T, u) = (T e, u). State-space model, with y = x = T T e : [ ] [ A B c = m C D 1 0 1 m ] E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 15 / 24

Nonlinear systems Unfortunately, most real-world systems are non-linear. Finite-dimensional, time-invariant, causal nonlinear control systems, with input u and output y can typically be modeled using a set of differential equations as follows: Definition (Continuous-time Nonlinear State-Space Models) ẋ(t) := d x(t) dt = f (x(t), u(t)), y(t) = g(x(t), u(t)); Can we construct an LTI approximation of this system, so that we can apply the techniques designed for LTI systems? Remarkably, control systems designed for the LTI approximation will work very well for the nonlinear system. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 16 / 24

Pendulum (2nd-order nonlinear system) Notation: Angular position: θ, Torque input: u, Pendulum length: L, Pendulum mass: m, Viscous damping coefficient: c Dynamic model: ml 2 θ = c θ mgl sin θ + u. Define x 1 := θ, and x 2 := θ. Then one can write ẋ 1 = x 2, ẋ 2 = c ml 2 x 2 g L sin(x 1) + u. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 17 / 24

Equilibrium point The pendulum is a nonlinear system. How can we construct an approximate model which is linear? The key idea is that of constructing an approximation that is valid near some special operating condition, e.g., equilibrium points. Definition (Equilibrium point) A system described by an ODE ẋ(t) = f (x(t), u(t)) has an equilibrium point (x e, u e ) if f (x e, u e ) = 0. Clearly, if x(0) = x e, and u(t) = u e for all t 0, then x(t) = x(0) = x e, for all t 0. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 18 / 24

Equilibria for a pendulum What would be an equilibrium for the pendulum? We need to solve for ẋ 1 = x 2 = 0, ẋ 2 = c ml 2 x 2 g L sin(x 1) + u = 0. There are two solutions: x e = (0, 0), u e = 0, and x e = (π, 0), u e = 0. The first equilibrium is stable, the second unstable; we will make these notions more precise. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 19 / 24

(Jacobian) Linearization procedure Given an equilibrium point (x e, u e ), with output y e = g(x e, u e ), a linearized model is obtained by setting x x e + δx, u u e + δu, y y e + δy, and then neglecting all terms of second (or higher) order in δx, δu, and δy in the (nonlinear) dynamics model. Note that since x e is a constant, ẋ = δẋ. The resulting model would be a good approximation of the original nonlinear model when near the equilibrium point, i.e., for δx << 1, δu << 1, and δy << 1. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 20 / 24

Linearization about the stable equilibrium Susbstituting as in the previous slide, with x e = (0, 0) and u e = 0, δẋ 1 = 0 + δx 2, δẋ 2 = c ml 2 (0 + δx 2) g L (0 + δx 1) + 1 (0 + δu), ml2 δy = δx 1. The above can be rewritten in the state-space form as δẋ = Aδx + Bδu, δy = Cδx + Dδu, where [ ] [ ] 0 1 0 A = g/l c/(ml 2, B = ) 1/(mL 2. ) C = [ 1 0 ], D = 0. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 21 / 24

Linearization about the unstable equilibrium Susbstituting x e = (π, 0) and u e = 0, δẋ 1 = π + δx 2, δẋ 2 = c ml 2 (0 + δx 2) g L (0 δx 1) + 1 (0 + δu), ml2 δy = δx 1. The above can be rewritten in the state-space form as δẋ = Aδx + Bδu, δy = Cδx + Dδu, where [ ] [ ] 0 1 0 A = +g/l c/(ml 2, B = ) 1/(mL 2. ) C = [ 1 0 ], D = 0. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 22 / 24

Some remarks on infinite-dimensional systems Even though we will not address infinite-dimensional systems in detail, some examples are very useful: Time-delay systems: Consider the very simple time delay S T, defined as a continuous-time system such that its input and outputs are related by y(t) = u(t T ). In order to predict the output at times after t, the knowledge of the input for all times in (t T, t] is necessary. PDE-driven systems: Many systems in engineering, arising, e.g., in structural control and flow control applications, can only be described exactly using a continuum of state variables (stress, displacement, pressure, temperature, etc.). These are infinite-dimensional systems. In order to deal with infinite-dimensional systems, approximate discrete models are often used to reduce the dimension of the state. E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 23 / 24

Today s learning objectives After today s lecture, you should be able to: Describe the benefits of using control systems to another student Understand the difference between the main control architectures. Can use the concept of state to model a system Write the model of a LTI system with A, B, C, D matrices. Understand the notion of equilibrium points. Linearize a non-linear system at an appropriately chosen equilibrium point to derive an approximate LTI system with A, B,C, D matrices E. Frazzoli (ETH) Lecture 2: Control Systems I 09/29/2017 24 / 24