Ingegneria dell Automazione - Sistemi in Tempo Reale p.1/30

Similar documents
Ingegneria dell Automazione - Sistemi in Tempo Reale p.1/28

Chap 4. State-Space Solutions and

Discrete and continuous dynamic systems

LTI Systems (Continuous & Discrete) - Basics

Chapter 1 Fundamental Concepts

Chapter 3 Convolution Representation

Control Systems. Frequency domain analysis. L. Lanari

LTI system response. Daniele Carnevale. Dipartimento di Ing. Civile ed Ing. Informatica (DICII), University of Rome Tor Vergata

Advanced Control Theory

06/12/ rws/jMc- modif SuFY10 (MPF) - Textbook Section IX 1

Linear dynamical systems with inputs & outputs

NAME: 23 February 2017 EE301 Signals and Systems Exam 1 Cover Sheet

Discussion Section #2, 31 Jan 2014

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

Automatique. A. Hably 1. Commande d un robot mobile. Automatique. A.Hably. Digital implementation

Methods for analysis and control of. Lecture 6: Introduction to digital control

The Generalized Laplace Transform: Applications to Adaptive Control*

Theory of Linear Systems Exercises. Luigi Palopoli and Daniele Fontanelli

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Introduction to Modern Control MT 2016

Laplace Transform Part 1: Introduction (I&N Chap 13)

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Advanced Mechatronics Engineering

CLTI System Response (4A) Young Won Lim 4/11/15

Chapter 1 Fundamental Concepts

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

EECE 3620: Linear Time-Invariant Systems: Chapter 2

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

III. Time Domain Analysis of systems

MAE143A Signals & Systems - Homework 5, Winter 2013 due by the end of class Tuesday February 12, 2013.

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

NAME: 13 February 2013 EE301 Signals and Systems Exam 1 Cover Sheet

AC&ST AUTOMATIC CONTROL AND SYSTEM THEORY SYSTEMS AND MODELS. Claudio Melchiorri

Module 02 Control Systems Preliminaries, Intro to State Space

2 Classification of Continuous-Time Systems

Control Systems Lab - SC4070 Control techniques

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

BIBO STABILITY AND ASYMPTOTIC STABILITY

6.241 Dynamic Systems and Control

The Laplace Transform

Lecture 2. Introduction to Systems (Lathi )

Problem Set 5 Solutions 1

Module 02 CPS Background: Linear Systems Preliminaries

6.241 Dynamic Systems and Control

ELEC 3035, Lecture 3: Autonomous systems Ivan Markovsky

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

EE 224 Signals and Systems I Review 1/10

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

Background LTI Systems (4A) Young Won Lim 4/20/15

Chapter 2: Time-Domain Representations of Linear Time-Invariant Systems. Chih-Wei Liu

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

CH.6 Laplace Transform

Differential and Difference LTI systems

Linear Systems. ! Textbook: Strum, Contemporary Linear Systems using MATLAB.

Control Systems. Laplace domain analysis

Identification Methods for Structural Systems

EE 210. Signals and Systems Solutions of homework 2

16.30 Estimation and Control of Aerospace Systems

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Norms for Signals and Systems

Control Systems. Time response

2007 Final Exam for Random Processes. x(t)

Richiami di Controlli Automatici

hapter 8 Simulation/Realization 8 Introduction Given an nth-order state-space description of the form x_ (t) = f (x(t) u(t) t) (state evolution equati

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

University of California Department of Mechanical Engineering ECE230A/ME243A Linear Systems Fall 1999 (B. Bamieh ) Lecture 3: Simulation/Realization 1

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

Figure 1 A linear, time-invariant circuit. It s important to us that the circuit is both linear and time-invariant. To see why, let s us the notation

Multivariable Control. Lecture 03. Description of Linear Time Invariant Systems. John T. Wen. September 7, 2006

2.161 Signal Processing: Continuous and Discrete Fall 2008

Discrete-time linear systems

Professor Fearing EECS120/Problem Set 2 v 1.01 Fall 2016 Due at 4 pm, Fri. Sep. 9 in HW box under stairs (1st floor Cory) Reading: O&W Ch 1, Ch2.

Lecture 2 Discrete-Time LTI Systems: Introduction

信號與系統 Signals and Systems

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

Module 09 From s-domain to time-domain From ODEs, TFs to State-Space Modern Control

4 The Continuous Time Fourier Transform

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

Chapter 3 Data Acquisition and Manipulation

Laplace Transforms Chapter 3

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

ENGIN 211, Engineering Math. Laplace Transforms

Time Response of Systems

Linear Systems. Linear systems?!? (Roughly) Systems which obey properties of superposition Input u(t) output

Laurea Specialistica in Ingegneria. Ingegneria dell'automazione: Sistemi in Tempo Reale

This homework will not be collected or graded. It is intended to help you practice for the final exam. Solutions will be posted.

Module 4. Related web links and videos. 1. FT and ZT

Sampling of Linear Systems

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

Observability. Dynamic Systems. Lecture 2 Observability. Observability, continuous time: Observability, discrete time: = h (2) (x, u, u)

The Laplace Transform

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

Dr. Ian R. Manchester

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science : Dynamic Systems Spring 2011

MAE143 A - Signals and Systems - Winter 11 Midterm, February 2nd

Autonomous system = system without inputs

The Behavioral Approach to Systems Theory

CONTROL DESIGN FOR SET POINT TRACKING

Grades will be determined by the correctness of your answers (explanations are not required).

State Variable Analysis of Linear Dynamical Systems

A system that is both linear and time-invariant is called linear time-invariant (LTI).

Transcription:

Ingegneria dell Automazione - Sistemi in Tempo Reale Selected topics on discrete-time and sampled-data systems Luigi Palopoli palopoli@sssup.it - Tel. 050/883444 Ingegneria dell Automazione - Sistemi in Tempo Reale p.1/30

Outline Systems and I/O behaviours Linear time-invariant Discrete-time systems and behaviours Discrete Transfer-function State-space representations Representation of a sampled-data system Ingegneria dell Automazione - Sistemi in Tempo Reale p.2/30

Definitions A timeset T is a subgroup of (R, +) Continuous-Time: T = R Discrete-Time (DT): T = Z Discrete-Event: T is a countable subset of R and there is a finite number of elements between any two elements Ingegneria dell Automazione - Sistemi in Tempo Reale p.3/30

Sequences a sequence u is a mapping froma a subset of T to a set U given an interval I the set of all sequences from I into U is denoted as: U I = {ω ω : I U} Example if T = Z the set U [0, k) = ω(0),..., ω(k 1) Ingegneria dell Automazione - Sistemi in Tempo Reale p.4/30

System a system (or machine) is a five tuple Σ = (T, X, U, φ) consisting of: a timeset T a nonempty statespace X an input-value space U a transition map φ : D φ X defined on a subset D φ of: {(τ, σ, x, ω) τ, σ T, x X, ω U [σ, τ) }... and some techinical axioms that we omit here. Ingegneria dell Automazione - Sistemi in Tempo Reale p.5/30

System with output A system with output is a system Σ with: a set Y called the measurement-value space a readout map h: h : T X Y it is possible to consider output maps where the ouput depends also on the input (e.g., non strictly causal systems) h : T X U Y Ingegneria dell Automazione - Sistemi in Tempo Reale p.6/30

Some taxonomy a DT system is one for which T = Z a system is time-invariant (TI) iff for each ω U [σ,τ), each x X, each µ T, if ω is admissible for x then ω µ U [σ+µ,τ+µ), ω µ = ω(t µ) is admissible for x, moreover φ(τ, σ, x, ω) = ω(t + µ, σ + µ, x, ω µ ) Ingegneria dell Automazione - Sistemi in Tempo Reale p.7/30

FSM Finite State Machines (FSM) X is finite U is finite Y is finite T is a discrete-event timeset Ingegneria dell Automazione - Sistemi in Tempo Reale p.8/30

Trajectory A trajectory is a pair of functions (ξ, ω), ξ X I, ω U I such that ξ(τ) = φ(τ, σ, ξ(σ), ω [σ, τ) ) holds for each pair σ, τ I, σ < τ Ingegneria dell Automazione - Sistemi in Tempo Reale p.9/30

I/O behaviour an I/O behaviour is a 4-tuple Λ = (T, U, Y, λ) consisting of a timeset T a nonempty control-value set U a nonempty output-value set Y a response map: λ : D λ Y which is defined on a noneempty subset D λ of {(τ, σ, ω) σ, τ T, σ τ, ω U [σ,τ) } Ingegneria dell Automazione - Sistemi in Tempo Reale p.10/30

I/S behaviour - System Initialised system is a pair (Σ, x 0 ), where x 0 is the initial state an Input/State (I/S) behaviour of (Σ, x 0 ) is the behaviour with the same T, U as Σ and with output-value space X, whose response map is defined on the projection {(τ, σ, ω) (τ, σ, x 0, ω) D φ } λ(τ, σ, ω) = φ(τ, σ, x 0, ω). Ingegneria dell Automazione - Sistemi in Tempo Reale p.11/30

I/O behaviour of a System if (Σ, x 0 ) is an initialised system with output, then the I/O behaviour of (Σ, x 0 ) has the same T, U, Y as σ the domain is the projection {(τ, σ, ω) (τ, σ, x 0, ω) D φ } and response map: λ(τ, σ, ω) = h(τ, φ(τ, σ, x 0, ω)) Ingegneria dell Automazione - Sistemi in Tempo Reale p.12/30

Linear systems A DT system Σ is linear over the field K if it is complete (every input is admissible for every state) X and U are vector spaces P(t,.,.) is linear for each t Z where P(t, x, u) = φ(t + 1, t, x, ω) in addition, if the system has output then Y is a vector space h(t,.) is linear for each t Ingegneria dell Automazione - Sistemi in Tempo Reale p.13/30

Linear DT systems Linearity is equivalent to the existence of two matrices A(t), B(t) such that P(t, x, u) = A(t)x + B(t)u if the system has outputs then h(t, x) = C(t)x if the output depends on u then h(t, x, u) = C(t)x + D(t)u if the system is TI then A(t), B(t), C(t), D(t) do not depend on t Ingegneria dell Automazione - Sistemi in Tempo Reale p.14/30

Linear DT I/O behaviours An I/O bevhaviour Λ is linear if: it is complete U, Y are vector spaces for each σ Z and τ Z, with σ τ, λ(τ, σ, ω) is linear with respect to ω Ingegneria dell Automazione - Sistemi in Tempo Reale p.15/30

Linear DT TI I/O behaviours - I introduce δ(t) (kronecker delta): δ(t) = 1 if t = 0 0 otherwise a generic sequence u(t) can be expressed as u(t) = τ k=σ u(k)δ(t k) let h(t) = λ(t, 0, δ(t)) (pulse response) due to linearity and time invariance, the response to u(t) can be expressed as y(t)) = τ k=σ h(t k)u(k) h(k) u(k) (convolution). For general sequences and noncausal systems σ =, τ = + Ingegneria dell Automazione - Sistemi in Tempo Reale p.16/30

The Z transform The Z transform plays for DT systems as the Laplace transform plays in CT systems given a sequence e(k), the Z trasform E(z) is given by E(z) = Z[e(t)] = + e(k)z k where z is a complex variable Ingegneria dell Automazione - Sistemi in Tempo Reale p.17/30

The Z transform I Some properties Linearity: Z[αf + βg] = αf (z) + βg(z) Time-shift: Z[f(t n)] = z n F (z) Convolution: y(t) = h(t) u(t) Y (z) = H(z)U(z) Forward step: Z[y(t + 1)] = z(y (z) y 0 )...please consult a basic text book... Ingegneria dell Automazione - Sistemi in Tempo Reale p.18/30

Transfer function General notations for expressing the transfer function (TF), i.e., the Z transform of the pulse response Polynomial representation: H(z) = b 0+b 1 z 1 +...b m z m 1+a 1 z 1 +...+a n z n Matlab code: num = [b0, b1,...bm]; den = [1, a1,...an]; sys = tf(num,den,t); Zero Pole representation: H(z) = K Q m i=1 (z z i) Q n i=1 (z p i) Matlab code: z = [z1,...bm]; p= [p1...pn]; k = K; sys = zpk(z,p,k,t); Ingegneria dell Automazione - Sistemi in Tempo Reale p.19/30

Zeros and poles Poles are the zeros of the denonimator. A pole p i correspond to a free mode of the system associated with the time function z = p t i Zeros correspond to blocking properties of the the system: z = z i means that there exist initial conditions such that the system has response 0 to the signal z t i Ingegneria dell Automazione - Sistemi in Tempo Reale p.20/30

Zeros and poles - I Example: y(t + 1) ay(t) = u(t + 1) bu(t) Computing the Z transform we get: Y (z) = z z a (y 0 u 0 ) + z b z a U(z) u(t) = b t U(z) = Therefore z z b Y (z) = if y 0 = 1 then Y (z) = 0 z z a (y 0 1) Ingegneria dell Automazione - Sistemi in Tempo Reale p.21/30

Zeros and poles - II A more subtle example: y(t + 1) ay(t) = u(t + 1) au(t) The transfer function is z a ; is it equivalent to 1? z a Ingegneria dell Automazione - Sistemi in Tempo Reale p.22/30

Zeros and poles - II A more subtle example: y(t + 1) ay(t) = u(t + 1) au(t) The transfer function is z a ; is it equivalent to 1? z a NO! The evolution of the system is given by: y(t) = a t y 0 + u(t) Ingegneria dell Automazione - Sistemi in Tempo Reale p.22/30

Zeros and poles - II A more subtle example: y(t + 1) ay(t) = u(t + 1) au(t) The transfer function is z a ; is it equivalent to 1? z a NO! The evolution of the system is given by: y(t) = a t y 0 + u(t) Problems are limited only if a < 1 Ingegneria dell Automazione - Sistemi in Tempo Reale p.22/30

TF of a LTI DT system consider an initalised Single Input Single Output (SISO) system x(t + 1) = Ax(t) + Bu(t) with initial state y(t) = Cx(t), x 0 = 0 the pulse response is y(t) = t j=0 CAt B Y (z) = C(zI A) 1 BU(z) Ingegneria dell Automazione - Sistemi in Tempo Reale p.23/30

Realization of a TF Realization is the converse problem: given a TF H(z) find a system Σ whose TF is H(z) Preliminary point: is a realization unique? NO!, Given a realization A, B, C also A, B, C is a realization, where A = for any a, h. [ a 0 0 A ], B = [ 0 b ], C = [h C], we aim at minimal realization (completely controllable and observable) Ingegneria dell Automazione - Sistemi in Tempo Reale p.24/30

Control canonical form Start from: U(z) = H(z)E(z) = a(z) b(z) E(z), where a(z) = z 3 + a 1 z 2 + a 2 z + a 3, b(z) = b 0 z 3 + b 1 z 2 + b 2 z + b 3 Introduce ξ = E(z)/a(z) U(z) = b(z)ξ, a(z)ξ = E(z) From the properties of the Z transform: a(z)ξ = E(z) ξ(t + 3) = e(t) a 1 ξ(t + 2) a 2 ξ b(z)ξ = U(z) u(t) = b 0 ξ(t + 3) + b 1 ξ(t + 2) + b2 Ingegneria dell Automazione - Sistemi in Tempo Reale p.25/30

Control canonical form - I Graphical representation: b 0 b 1 b 2 e(t) Σ ξι(t+3) Z 1 ξι(t+2) Z 1 ξι(t+1) Z 1 ξι(t) b 3 Σ u(t) a 1 a 2 a 3 Ingegneria dell Automazione - Sistemi in Tempo Reale p.26/30

Control canonical form - II Define ξ(t + 2) = x 1 (t), ξ(t + 1) = x 2 (t), ξ(t) = x 3 (t) It is possible to write: x 1 (t + 1) = a 1 x 1 (t) a 2 x 2 (t) a 3 x 3 (t) + e(k), x 2 (t + 1) = u(t) = b 0 e(t) + (b 1 a 1 b 0 )x 1 (t) + (b 2 a 2 b 0 )x 2 (t) + (b 3 a 3 b The system can be written as x(t + 1) = A c x(t) + b c e(t), u(t) = C c u(t) + D c u(t) where: A c = [ a 1 a 2 a 3 1 0 0 ], b c = [ 1 0 ] 0 1 0 0 C c = [ b 1 a 1 b 0 b 2 a 2 b 0 b 3 a 3 b 0 ], D c = [b 0 ] Ingegneria dell Automazione - Sistemi in Tempo Reale p.27/30

Observer Canonical Form The difference equations can be written as: z 3 u+a 1 z 2 ua 2 zu+a 3 u = b 0 z 3 e+b 1 z 2 e+b 2 ze+b 3 e We put on the lhs everything that does not depend on z: b 3 e a 3 u = z 3 u+a 1 z 2 ua 2 zu b 0 z 3 e b 1 z 2 e b 2 ze Ingegneria dell Automazione - Sistemi in Tempo Reale p.28/30

Observer Canonical Form - I Graphical Representation e(t) b 3 Σ Z 1 z^2 u + a1 z u + a2 u b0 z^2 e b1 z e b a 1 u(t) Hey, we can play the same game working on the output of the delay element!! Ingegneria dell Automazione - Sistemi in Tempo Reale p.29/30

Observer Canonical Form - II After some iteration we get: e(t) b 3 b 2 b 1 b 0 Σ Z 1 Σ Z 1 Σ Z 1 Σ u(t) a 1 a 2 a 3 The system can be written as x(t + 1) = A o x(t) + b o e(t), u(t) = C o u(t) + D o u(t) where: A o = [ a 1 1 0 a 2 0 1 ], b o = [ b 1 b 0a 1 b 2 b 0 a 2 a 3 0 0 C o = [ 1 0 0], D o = [b 0 ] b 3 b 0 a 3 ] Ingegneria dell Automazione - Sistemi in Tempo Reale p.30/30