Modeling and Analysis of Dynamic Systems

Similar documents
Modeling and Analysis of Dynamic Systems

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

Modeling and Analysis of Dynamic Systems

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

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

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

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

Modeling and Analysis of Dynamic Systems

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

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

Modeling and Analysis of Dynamic Systems

Exam. 135 minutes + 15 minutes reading time

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

Control System Design

Introduction to Mathematical Modeling

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

EE C128 / ME C134 Feedback Control Systems

Topic # Feedback Control Systems

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

Chapter One. Introduction

CHBE320 LECTURE V LAPLACE TRANSFORM AND TRANSFER FUNCTION. Professor Dae Ryook Yang

Modeling and Control Overview

Exam. 135 minutes, 15 minutes reading time

Today s goals So far Today 2.004

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

Modeling and Analysis of Dynamic Systems

Signals and Systems Chapter 2

Introduction to Process Control

Introduction to Modelling and Simulation

Modeling and Analysis of Dynamic Systems

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

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

Time Response of Systems

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

BIBO STABILITY AND ASYMPTOTIC STABILITY

Iterative Controller Tuning Using Bode s Integrals

Introduction to Controls

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

Subject: Introduction to Process Control. Week 01, Lectures 01 02, Spring Content

YTÜ Mechanical Engineering Department

Laboratory Exercise 1 DC servo

Chapter 7 Control. Part State Space Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

Systems Engineering/Process Control L1

Automatic Control (TSRT15): Lecture 1

Overview of the Seminar Topic

Copyrighted Material. 1.1 Large-Scale Interconnected Dynamical Systems

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

Differential and Difference LTI systems

AMJAD HASOON Process Control Lec4.

ME 132, Dynamic Systems and Feedback. Class Notes. Spring Instructor: Prof. A Packard

Lecture 1: Feedback Control Loop

Lecture 9 Nonlinear Control Design

Dr. Ian R. Manchester

Lecture for Week 6 (Secs ) Derivative Miscellany I

2.004 Dynamics and Control II Spring 2008

Measurement plus Observation A Modern Metrological Structure

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

Introduction. Dagmar Iber Jörg Stelling. CSB Deterministic, SS 2015, 1.

Chapter 6 - Ordinary Differential Equations

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

EXAMPLES EXAMPLE - Temperature in building

Uncertainty and Robustness for SISO Systems

Automatic Control Systems. -Lecture Note 15-

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

2A1H Time-Frequency Analysis II Bugs/queries to HT 2011 For hints and answers visit dwm/courses/2tf

Systems Engineering/Process Control L1

Gaussians Distributions, Simple Harmonic Motion & Uncertainty Analysis Review. Lecture # 5 Physics 2BL Summer 2015

Introduction to Control (034040) lecture no. 2

Lecture Module 5: Introduction to Attitude Stabilization and Control

信號與系統 Signals and Systems

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

YTÜ Mechanical Engineering Department

Rozwiązanie zagadnienia odwrotnego wyznaczania sił obciąŝających konstrukcje w czasie eksploatacji

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

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami

Automatic Control II Computer exercise 3. LQG Design

Lecture 25: Tue Nov 27, 2018

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

On the problem of control and observation: a general overview

Index. Index. More information. in this web service Cambridge University Press

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

1.4 Unit Step & Unit Impulse Functions

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

A Model-Free Control System Based on the Sliding Mode Control Method with Applications to Multi-Input-Multi-Output Systems

Basic concepts in DT systems. Alexandra Branzan Albu ELEC 310-Spring 2009-Lecture 4 1

First Year Physics: Prelims CP1. Classical Mechanics: Prof. Neville Harnew. Problem Set III : Projectiles, rocket motion and motion in E & B fields

10 Transfer Matrix Models

16.30 Estimation and Control of Aerospace Systems

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

Active Control? Contact : Website : Teaching

General procedure for formulation of robot dynamics STEP 1 STEP 3. Module 9 : Robot Dynamics & controls

信號與系統 Signals and Systems

PID controllers, part I

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

CHAPTER 3 TUNING METHODS OF CONTROLLER

FAULT DETECTION AND FAULT TOLERANT APPROACHES WITH AIRCRAFT APPLICATION. Andrés Marcos

6.003: Signals and Systems

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

Optimal Polynomial Control for Discrete-Time Systems

Transcription:

Modeling and Analysis of Dynamic Systems by Dr. Guillaume Ducard Fall 2016 Institute for Dynamic Systems and Control ETH Zurich, Switzerland based on script from: Prof. Dr. Lino Guzzella 1/33

Outline 1 Introduction 2 2/33

Definitions: Modeling and Analysis of Dynamic Systems Dynamic Systems systems that are not static, i.e., their state evolves w.r.t. time, due to: input signals, external perturbations, or naturally. For example, a dynamic system is a system which changes: its trajectory changes in acceleration, orientation, velocity, position. its temperature, pressure, volume, mass, etc. its current, voltage, frequency, etc. 3/33

Examples of Dynamic Systems 4/33

Definition: Modeling and Analysis the field of science which formulates a mathematical representation of a system: 1 for analysis/understanding (unstable, stable, observable, controllable, etc.) 2 simulation 3 control purposes. u m System Σ x p y Usually, we have to deal with nonlinear time-varying system. Nonlinear System A system for which the output is not directly proportional to the input. Example of nonlinearities? 5/33

Definition: Modeling and Analysis u m System Σ x p y ẋ(t) = f(x(t),u(t),t), x(t) R n,u(t) R m y(t) = g(x(t),u(t),t), y(t) R p or as a transfer function (linear time-invariant system) Y(s) = [ D +C(sI A) 1 B ] U(s), y(t) C p, u(t) C m 6/33

Model Synthesis Introduction Types of Model black-box models : derived from experiments only grey-box models : model-based, experiments need for parameter identification, model validation white-box models : no experiments at all 7/33

Model Synthesis Introduction Types of Model black-box models : derived from experiments only grey-box models : model-based, experiments need for parameter identification, model validation white-box models : no experiments at all Model-based System Description Based on physical first principles. This approach has 2 major benefits (comp. to exp. methods), the models obtained: 1 are able to extrapolate the system behavior (valid beyond the operating conditions used in model validation). 2 useful, if the real system is not available (still in planning phase or too dangerous for real experiments). 7/33

Why Use Models? Introduction 1 System analysis and synthesis 2 Feedforward control systems 3 Feedback control systems 8/33

Why Use Models? Introduction Imagine you are to design a system. Good practice in engineering is to consider: 1. System analysis What are the optimal system parameters (performance, safety, economy, etc.)? Can the system be stabilized and, if yes, what are the best (cost, performance, etc.) control and sensor configurations? What happens if a sensor or an actuator fails and how can the system s robustness be increased? If the real system is not available for experimentation a mathematical model must be used to answer these questions. 9/33

Why Use Models? Introduction 1. System analysis Example: Geostationary Satellite Figure: Geostationary Satellite Constant altitude, circular orbit, constant angular velocity, despite external disturbances Need for a stabilizing controller 10/33

Why Use Models? Introduction 1. System analysis Example: Geostationary Satellite Figure: Geostationary Satellite 1 What is an optimal geometric thruster configuration? 2 Minimum thruster size? amount of fuel? 3 What kind of sensors are necessary for stabilization? 4 What happens if an actuator fails? 11/33

Why Use Models? Introduction 2. Feedforward control systems What are the control signals that yield optimal system behavior (shortest cycle time, lowest fuel consumption, etc.)? How can the system response be improved: speed, precision..? How much is lost when trading optimality for safety, reliability..? B A 12/33

Why Use Models? Introduction 3. Feedback control systems How can system stability be maintained for a given set of expected modeling errors? How can a specified disturbance rejection (robustness) be guaranteed for disturbances acting in specific frequency bands? What are the minimum and maximum bandwidths that a controller must attain for a specific system in order for stability and performance requirements to be guaranteed? 13/33

Why Use Models? Introduction 3. Feedback control systems Example: Magnetic Bearing Figure: Cross section of a magnetic bearing 14/33

Scope of the lecture Introduction Questions addressed in this lecture: 1 How are these mathematical models derived? 2 What properties of the system can be inferred from these models? Objectives: 1 assemble some methods for model design in a unified way 2 suggest a methodology to formulate mathematical models (on any arbitrary system). Keep in mind: however hard we try to model a system, it will always contain: 1 approximations 2 uncertainties 3 modeling or parameter errors... 15/33

Case Studies Introduction 16/33

Case Studies Introduction 17/33

Case Studies Introduction 18/33

2. 19/33

Types of Modeling: Definitions u m System Σ x p y Figure: General definition of a system, input u(t) R m, output y(t) R p, internal state variable x(t) R n. Mathematical models of dynamic systems can be subdivided into two broad classes 1 parametric models (PM) 2 non-parametric models (NPM). 20/33

Types of Modeling: Definitions u m System Σ x p y Figure: General definition of a system, input u(t) R m, output y(t) R p, internal state variable x(t) R n. Mathematical models of dynamic systems can be subdivided into two broad classes 1 parametric models (PM) 2 non-parametric models (NPM). Question: What are the differences between these 2 classes of modeling? 20/33

Types of Modeling: Example y(t) k d ẏ(t) m Figure: Spring mass system with viscous damping Parametric Model Differential equation mÿ(t)+dẏ(t)+ky(t) = F(t) Parameters: mass: m, viscous damping: d, spring constant: k 21/33

Types of Modeling: Example Non Parametric Model PSfrag Impulse response of a damped mechanical oscillator y(t) k d ẏ(t) m 0.5 0.4 0.3 0.2 time t output y(t) 0 0 12 4.5201e-01 3.3873e-01 3 1.4459e-01 4 2.6475e-02 5-1.5108e-02 67-1.7721e-02-9.6283e-03 8-2.9319e-03 9 1.3013e-04 10 8.0621e-04 0.1 0 1 2 3 4 5 6 7 8 9 22/33

Types of Modeling: Discussion Non parametric models have several drawbacks 1 they require the system to be accessible for experiments 2 they cannot predict the behavior of the system if modified 3 not useful for systematic design optimization During this lecture, we will only consider parametric modeling. 23/33

Parametric Models Introduction 2 types: 1 forward (regular causality) 2 backward (inverted causality) causality? causes/effects, inputs/outputs v(t) F(t) m k 0 +k 1 v 2 (t) Figure: Car moving in a plane. 24/33

Parametric Models Introduction Forward models m d dt v(t) = {k 0 +k 1 v(t) 2 }+F(t) System input: Traction force F [N]. System output: actual fuel mass flow m (t) (or its integral) m (t) = {µ+ǫf(t)}v(t) (1) 25/33

Parametric Models Introduction Backward models Look at the speed history: v(t i ) = v i, i = 1,...,N, t i t i 1 = δ Invert the causality chain to reconstruct the applied forces F(t i ) m v(t i) v(t i 1 ) δ ( ) v(ti )+v(t i 1 ) 2 +k 0 +k 1 2 Insert resulting force F(t i ) and known speed v(t i ) into (1) compute the total consumed fuel: N i=1 m (t i )δ 26/33

Modeling Fundamentals b) signals with relevant dynamics; a) signals with fast dynamics; c) signals with slow dynamics. variables a) b) c) exitation time Figure: Classification of variables 27/33

When modeling any physical system: 2 main classes of objects to take into account: 1 reservoirs, accumulative element, for ex: of thermal or kinetic energy, of mass or of information; 2 flows, for instance of heat, mass, etc. flowing between the reservoirs. 28/33

When modeling any physical system: 2 main classes of objects to take into account: 1 reservoirs, accumulative element, for ex: of thermal or kinetic energy, of mass or of information; 2 flows, for instance of heat, mass, etc. flowing between the reservoirs. Fundamental notions The notion of a reservoir is fundamental: only systems including one or more reservoirs exhibit dynamic behavior. To each reservoir there is an associated level variable that is a function of the reservoir s content (in control literature: state variable ). The flows are typically driven by the differences in the reservoir levels. Several examples are given later. 28/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 3 formulate the differential equations ( conservation laws ) for all relevant reservoirs as shown in eq. (2) d dt (reservoir content) = inflows outflows; 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 3 formulate the differential equations ( conservation laws ) for all relevant reservoirs as shown in eq. (2) d dt (reservoir content) = inflows outflows; 4 formulate the (usually nonlinear) algebraic relations that express the flows between the reservoirs as functions of the level variables ; 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 3 formulate the differential equations ( conservation laws ) for all relevant reservoirs as shown in eq. (2) d dt (reservoir content) = inflows outflows; 4 formulate the (usually nonlinear) algebraic relations that express the flows between the reservoirs as functions of the level variables ; 5 resolve implicit algebraic loops, if possible, and simplify the resulting mathematical relations as much as possible; 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 3 formulate the differential equations ( conservation laws ) for all relevant reservoirs as shown in eq. (2) d dt (reservoir content) = inflows outflows; 4 formulate the (usually nonlinear) algebraic relations that express the flows between the reservoirs as functions of the level variables ; 5 resolve implicit algebraic loops, if possible, and simplify the resulting mathematical relations as much as possible; 6 identify the unknown system parameters using some experiments; 29/33

Modeling Methodology: Reservoir-based Approach 1 define the system-boundaries (what inputs, what outputs,...); 2 identify the relevant reservoirs (for mass, energy, information,...) and corresponding level variables (or state variables); 3 formulate the differential equations ( conservation laws ) for all relevant reservoirs as shown in eq. (2) d dt (reservoir content) = inflows outflows; 4 formulate the (usually nonlinear) algebraic relations that express the flows between the reservoirs as functions of the level variables ; 5 resolve implicit algebraic loops, if possible, and simplify the resulting mathematical relations as much as possible; 6 identify the unknown system parameters using some experiments; 7 validate the model with experiments that have not been used to identify the system parameters. 29/33

Example: Water Tank m in (t) m h(t) F m out (t) y(t) A Figure: Water tank system, m(t) mass of water in tank, h(t) corresponding height, F tank-floor area, A = out flow orifice area 30/33

Modeling the water tank Step 1: Inputs/Outputs System input is: incoming mass flow m in (t). System output is: water height in the tank h(t). 31/33

Modeling the water tank Step 1: Inputs/Outputs System input is: incoming mass flow m in (t). System output is: water height in the tank h(t). Step 2: Reservoirs and associated levels One relevant reservoir : mass of water in tank: m(t). Level variable: height of water in tank : h(t). Assumptions: Sensor very fast (type a) variable. Water temperature (density) very slow (type c) variable mass and height strictly proportional. 31/33

Modeling the water tank Step 3: Differential equation d dt m(t) = u(t) m out (t) 32/33

Modeling the water tank Step 3: Differential equation d dt m(t) = u(t) m out (t) Step 4: formulate algebraic relations of flows btw reservoirs Mass flow leaving the tank given by Bernoulli s law m out (t) = Aρv(t), v(t) = 2 p(t)/ρ, p(t) = ρgh(t) therefore d dt m(t) = ρf d dt h(t) = u(t) Aρ 2gh(t) 32/33

Modeling the water tank Causality Diagrams replacements m in (t) = u(t) + - y(t) mass reservoir h(t) m out (t) orifice Figure: Causality diagram of the water tank system, shaded blocks represent dynamical subsystems (containing reservoirs), plain blocks represent static subsystems. 33/33