Module 03 Modeling of Dynamical Systems

Similar documents
Module 02 Control Systems Preliminaries, Intro to State Space

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

Problem Weight Score Total 100

MODELING OF CONTROL SYSTEMS

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

Module 03 Linear Systems Theory: Necessary Background

Module 02 CPS Background: Linear Systems Preliminaries

Module 06 Stability of Dynamical Systems

Course roadmap. ME451: Control Systems. Example of Laplace transform. Lecture 2 Laplace transform. Laplace transform

MATHEMATICAL MODELING OF CONTROL SYSTEMS

Control Systems Engineering (Chapter 2. Modeling in the Frequency Domain) Prof. Kwang-Chun Ho Tel: Fax:

MEM 255 Introduction to Control Systems: Modeling & analyzing systems

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

6.003 Homework #6 Solutions

Given: We are given the drawing above and the assumptions associated with the schematic diagram.

Introduction to Process Control

Module 07 Control Systems Design & Analysis via Root-Locus Method

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

Module 05 Introduction to Optimal Control

I Laplace transform. I Transfer function. I Conversion between systems in time-, frequency-domain, and transfer

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi System Stability - 26 March, 2014

Signals and Systems Chapter 2

Taking the Laplace transform of the both sides and assuming that all initial conditions are zero,

Linear Systems Theory

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

1.2. Introduction to Modeling. P (t) = r P (t) (b) When r > 0 this is the exponential growth equation.

Systems of Ordinary Differential Equations

ẋ 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)

EE102 Homework 2, 3, and 4 Solutions

Identification Methods for Structural Systems

Computer Problems for Methods of Solving Ordinary Differential Equations

Differential Equations and Lumped Element Circuits

Differential and Difference LTI systems

Chap. 3 Laplace Transforms and Applications

8 sin 3 V. For the circuit given, determine the voltage v for all time t. Assume that no energy is stored in the circuit before t = 0.

INC 341 Feedback Control Systems: Lecture 2 Transfer Function of Dynamic Systems I Asst. Prof. Dr.-Ing. Sudchai Boonto

Dr. Ian R. Manchester

An Introduction to Control Systems

Chapter 6: The Laplace Transform. Chih-Wei Liu

Lecture 1. Scott Pauls 1 3/28/07. Dartmouth College. Math 23, Spring Scott Pauls. Administrivia. Today s material.

Laplace Transforms Chapter 3

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

EE Experiment 11 The Laplace Transform and Control System Characteristics

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

Course Background. Loosely speaking, control is the process of getting something to do what you want it to do (or not do, as the case may be).

2015 Holl ISU MSM Ames, Iowa. A Few Good ODEs: An Introduction to Modeling and Computation

Definition of the Laplace transform. 0 x(t)e st dt

Introduction to Controls

Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

Introduction to Modern Control MT 2016

Solving a RLC Circuit using Convolution with DERIVE for Windows

Time Response of Systems

Time Response Analysis (Part II)

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

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

Modeling and Experimentation: Compound Pendulum

Richiami di Controlli Automatici

EE/ME/AE324: Dynamical Systems. Chapter 8: Transfer Function Analysis

Problem set 7 Math 207A, Fall 2011 Solutions

ECE382/ME482 Spring 2005 Homework 1 Solution February 10,

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

Analog Signals and Systems and their properties

Linearization problem. The simplest example

First and Second Order Circuits. Claudio Talarico, Gonzaga University Spring 2015

The integrating factor method (Sect. 1.1)

STABILITY. Have looked at modeling dynamic systems using differential equations. and used the Laplace transform to help find step and impulse

Therefore the new Fourier coefficients are. Module 2 : Signals in Frequency Domain Problem Set 2. Problem 1

Module 07 Controllability and Controller Design of Dynamical LTI Systems

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

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

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

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Continuous Dynamics Solving LTI state-space equations גרא וייס המחלקה למדעי המחשב אוניברסיטת בן-גוריון

Chapter 2 Time-Domain Representations of LTI Systems

Chapter 31. The Laplace Transform The Laplace Transform. The Laplace transform of the function f(t) is defined. e st f(t) dt, L[f(t)] =

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

MATH3203 Lecture 1 Mathematical Modelling and ODEs

Transform Representation of Signals

Linear Control Systems Solution to Assignment #1

Basic Procedures for Common Problems

Control System. Contents

EECE 301 Signals & Systems Prof. Mark Fowler

Linear System Theory

EE Homework 12 - Solutions. 1. The transfer function of the system is given to be H(s) = s j j

Introduction to Dynamical Systems

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

CHAPTER 1 Introduction to Differential Equations 1 CHAPTER 2 First-Order Equations 29

Series RC and RL Time Domain Solutions

ECE 314 Signals and Systems Fall 2012

Unit 2: Modeling in the Frequency Domain. Unit 2, Part 4: Modeling Electrical Systems. First Example: Via DE. Resistors, Inductors, and Capacitors

Module 4 : Laplace and Z Transform Problem Set 4

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

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

Math 266: Ordinary Differential Equations

CHAPTER 5: LAPLACE TRANSFORMS

Laplace Transforms. Chapter 3. Pierre Simon Laplace Born: 23 March 1749 in Beaumont-en-Auge, Normandy, France Died: 5 March 1827 in Paris, France

Ordinary Differential Equations

Course Summary. The course cannot be summarized in one lecture.

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

Chapter three. Mathematical Modeling of mechanical end electrical systems. Laith Batarseh

Transcription:

Module 03 Modeling of Dynamical Systems Ahmad F. Taha EE 3413: Analysis and Desgin of Control Systems Email: ahmad.taha@utsa.edu Webpage: http://engineering.utsa.edu/ taha February 2, 2016 Ahmad F. Taha Module 03 Modeling of Dynamical Systems 1 / 26

Module 3 Outline 1 Physical laws and equations 2 Transfer function model 3 Model of electrical systems 4 Model of mechanical systems 5 Examples Reading material: Dorf & Bishop, Section 2.3 Ahmad F. Taha Module 03 Modeling of Dynamical Systems 2 / 26

Physical Laws and Models By definition, dynamical systems are dynamic because they change with time Change in the sense that their intrinsic properties evolve, vary Examples: coordinates of a drone, speed of a car, body temperature, concentrations of chemicals in a centrifuge Physicists and engineers like to represent dynamic systems with equations Why? Well, the answer is fairly straightforward Dynamic model often means a differential equations Ahmad F. Taha Module 03 Modeling of Dynamical Systems 3 / 26

Physical Laws For many systems, it s easy to understand the physics, and hence the math behind the physics Examples: circuits, motion of a cart, pendulum, suspension system For the majority of dynamical systems, the actual physics is complex Hence, it can be hard to depict the dynamics with ODEs Examples: human body temperature, thermodynamics, spacecrafts This illustrates the needs for models Dynamic system model: a mathematical description of the actual physics Ahmad F. Taha Module 03 Modeling of Dynamical Systems 4 / 26

What are Transfer Functions? * TFs: a mathematical representation to describe relationship between inputs and outputs of the physics of a system, i.e., of the differential equations that govern the motion of bodies, for example Input: always defined as u(t) called control action Output: always defined as y(t) called measurement or sensor data TF relates the derivatives of u(t) and y(t) Why is that important? Well, think of F = ma F above is the input (exerted forces), and the output is the acceleration, a Give me the equations, please... Ahmad F. Taha Module 03 Modeling of Dynamical Systems 5 / 26

Construction of Transfer Functions For linear systems, we can often represent the system dynamics through an nth order ordinary differential equation (ODE): y (n) (t) + a n 1 y (n 1) (t) + a n 2 y (n 2) (t) + + a 0 y(t) = u (m) (t) + b m 1 u (m 1) (t) + b m 2 u (m 2) (t) + + b 0 u(t) The y (k) notation means we re taking the kth derivative of y(t) Typically, m > n Given that ODE description, we can take the LT (assuming zero initial conditions for all signals): H(s) = Y (s) U(s) = sm + b m 1 s m 1 + + b 0 s n + a n 1 s n 1 + + a 0 Ahmad F. Taha Module 03 Modeling of Dynamical Systems 6 / 26

What are Transfer Functions? Given this TF: H(s) = Y (s) U(s) = sm + b m 1 s m 1 + + b 0 s n + a n 1 s n 1 + + a 0 For a given control signal u(t) or U(s), we can find the output of the system, y(t), or Y (s) Impulse response: defined as h(t) the output y(t) if the input u(t) = δ(t) Step response: the output y(t) if the input u(t) = 1 + (t) For any input u(t), the output is: y(t) = h(t) u(t) But...Convolutions are nasty...who likes them? Ahmad F. Taha Module 03 Modeling of Dynamical Systems 7 / 26

TFs of Generic LTI Systems So, we can take the Laplace transform: Typically, we can write the TF as: Y (s) = H(s)U(s) H(s) = Y (s) U(s) = sm + b m 1 s m 1 + + b 0 s n + a n 1 s n 1 + + a 0 Roots of numerator are called the zeros of H(s) or the system Roots of the denominator are called the poles of H(s) Ahmad F. Taha Module 03 Modeling of Dynamical Systems 8 / 26

Example 2s + 1 Given: H(s) = s 3 4s 2 + 6s 4 Zeros: z 1 = 0.5 Poles: solve s 3 4s 2 + 6s 4 = 0, use MATLAB s roots command * poles=roots[1-4 6-4]; poles = {2, 1 + j, 1 j} Factored form: s + 0.5 H(s) = 2 (s 2)(s 1 j)(s 1 + j) Ahmad F. Taha Module 03 Modeling of Dynamical Systems 9 / 26

Analyzing Generic Physical Systems Seven-step algorithm: 1 Identify dynamic variables, inputs (u), and system outputs (y) 2 Focus on one component, analyze the dynamics (physics) of this component How? Use Newton s Equations, KVL, or thermodynamics laws... 3 After that, obtain an nth order ODE: n α i y (i) (t) = i=1 m β j u (j) (t) j=1 4 Take the Laplace transform of that ODE 5 Combine the equations to eliminate internal variables 6 Write the transfer function from input to output 7 For a certain control U(s), find Y (s), then y(t) = L 1 [Y (s)] Ahmad F. Taha Module 03 Modeling of Dynamical Systems 10 / 26

Active Suspension Model Each car has 4 active suspension systems (on each wheel) System is nonlinear, but we consider approximation. Objective? Input: road altitude r(t) (or u(t)), Output: car body height y(t) Ahmad F. Taha Module 03 Modeling of Dynamical Systems 11 / 26

Active Suspension Model Equations for 1 Wheel We only consider one of the four systems System has many components, most important ones are: body (m 2 ) & wheel (m 1 ) weights Ahmad F. Taha Module 03 Modeling of Dynamical Systems 12 / 26

Active Suspension Model Equations for Car Body We now have 2 equations depicting the car body and wheel motion Objective: find the TF relating output (y(t)) to input (r(t)) What is H(s) = Y (s) R(s)? Ahmad F. Taha Module 03 Modeling of Dynamical Systems 13 / 26

Active Suspension Model Transfer Function Differential equations (in time): m 1 ẍ(t) = k s (y(t) x(t)) + b(ẏ(t) ẋ(t)) k w (x(t) r(t)) m 2 ÿ(t) = k s (y(t) x(t)) b(ẏ(t) ẋ(t)) Take Laplace transform given zero ICs: Solution: Find H(s) = Y (s) R(s) Solution: Ahmad F. Taha Module 03 Modeling of Dynamical Systems 14 / 26

Basic Circuits Components Ahmad F. Taha Module 03 Modeling of Dynamical Systems 15 / 26

Basic Circuits RLCs & Op-Amps Ahmad F. Taha Module 03 Modeling of Dynamical Systems 16 / 26

TF of an RLC Circuit Example Apply KVL (assume zero ICs): v i(t) = Ri(t) + L di(t) + 1 dt C v o(t) = 1 i(τ)dt C i(τ)dt Take LT for the above differential equations: V i(s) = RI(s) + LsI(s) + 1 Cs I(s) V o(s) = 1 I(s) I(s) = CsVo(s) Cs Vo(s) V i(s) = 1 LCs 2 + RCs + 1 Ahmad F. Taha Module 03 Modeling of Dynamical Systems 17 / 26

Generic Circuit Analysis Ahmad F. Taha Module 03 Modeling of Dynamical Systems 18 / 26

Dynamic Models in Nature Predator-prey equations are 1st order non-linear, ODEs Describe the dynamics of biological systems where 2 species interact One species as a predator and the other as prey Populations change through time according to these equations: x(t): # of preys (e.g., rabbits) y(t): # of predators (e.g., foxes) ẋ(t) = αx(t) βx(t)y(t) ẏ(t) = δx(t)y(t) γy(t) ẋ(t), ẏ(t): growth rates of the 2 species function of time, t α, β, γ, δ: +ve real parameters depicting the interaction of the species Ahmad F. Taha Module 03 Modeling of Dynamical Systems 19 / 26

Mathematical Model ẋ(t) = αx(t) βx(t)y(t) ẏ(t) = δx(t)y(t) γy(t) Prey s population grows exponentially (αx(t)) why? Rate of predation is assumed to be proportional to the rate at which the predators and the prey meet (βx(t)y(t)) If either x(t) or y(t) is zero then there can be no predation δx(t)y(t) represents the growth of the predator population No prey no food for the predator y(t) decays Is there an equilibrium? What is it? Ahmad F. Taha Module 03 Modeling of Dynamical Systems 20 / 26

Nonlinear Dynamical Systems Let s face it: most dynamical systems are nonlinear Nonlinearities can be seen in the ODEs, e.g.: ẏ(t) + ẏ(t)ÿ(t) + cos(y(t)) = 2u(t) + arctan(e cos(u(t)) ) Examples: electromechanical systems, electronics, hydraulic systems, thermal, etc... Why do we hate nonlinear systems? Well, because we cannot solve ODEs tractably if they are not linear I mean we can, but they re hard and remember, we re lazy Solution: linearize nonlinear equations Btw...most nonlinear systems are linear for a short period of time So, it s legit to linearize for a short period of time Ahmad F. Taha Module 03 Modeling of Dynamical Systems 21 / 26

Linearization The Main Idea Linearization is one of the most important techniques in control theory Without it, all our analysis of nonlinear systems becomes pointless First, let s assume that a nonlinear system is linearized around an operating point Operating point is often called equilibrium point Main idea: Ahmad F. Taha Module 03 Modeling of Dynamical Systems 22 / 26

Linearization The Simple Math Nonlinear equation (or system): ẋ(t) = f (x, u) Equilibrium points: u e, x e Equilibrium deviation : δu(t) = u(t) u e, δx(t) = x(t) x e Taylor series expansion around u e, x e : ẋ(t) f (x e, u e ) + (δx(t)) Hence: δẋ(t) (δx(t)) f (x, u) x f (x, u) x + (δu(t)) xe,u e + (δu(t)) xe,u e f (x, u) u This relationship is a linear one between δx and δu f (x, u) u xe,u e xe,u e Ahmad F. Taha Module 03 Modeling of Dynamical Systems 23 / 26

Linearization Example Pendulum motion: f (x, u) = g L sin(x(t)) + 1 ml 2 u(t) x(t): angle (θ), u(t): force Given equilibrium points: u e = 0, x e = π Taylor series expansion around 0, π: δf (δx, δu) g L δx(t) + 1 ml 2 δu(t) This relationship is a linear one between δx and δu: only valid in the vicinity of the equilibrium point Ahmad F. Taha Module 03 Modeling of Dynamical Systems 24 / 26

Roadmap Revisited Ahmad F. Taha Module 03 Modeling of Dynamical Systems 25 / 26

Questions And Suggestions? Thank You! Please visit engineering.utsa.edu/ taha IFF you want to know more Ahmad F. Taha Module 03 Modeling of Dynamical Systems 26 / 26