U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group TLTE.3120 Computer.

Slides:



Advertisements
Similar presentations
Root Locus Diagrams Professor Walter W. Olson
Advertisements

State Variables.
Lecture 3: Signals & Systems Concepts
 (x) f(x,u) u x f(x,  (x) x. Example: Using feed-forward, what should be canceled?
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Lumped Parameter Systems.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo State Space Models Video: Diwheel.
CY3A2 System identification Modelling Elvis Impersonators Fresh evidence that pop stars are more popular dead than alive. The University of Missouri’s.
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Modeling, Simulation, and Control of a Real System Robert Throne Electrical and Computer Engineering Rose-Hulman Institute of Technology.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Growth and decline. Exponential growth pop. size at time t+  t = pop. size at time t + growth increment N(t+  t) = N(t ) +  N Hypothesis:  N = r N.
Feedback Control Systems (FCS)
ECE Introduction to Control Systems -
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
1  (x) f(x,u) u x f(x,  (x) x Example: Using feed-forward, what should be canceled?
PSE and PROCESS CONTROL
What is a model Some notations –Independent variables: Time variable: t, n Space variable: x in one dimension (1D), (x,y) in 2D or (x,y,z) in 3D –State.
1 Chapter 2 1. Parametric Models. 2 Parametric Models The first step in the design of online parameter identification (PI) algorithms is to lump the unknown.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2. Lecture Overview What is Simulink? How to use Simulink  Getting Start with Simulink  Building a model Example.
CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic.
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
SYSTEMS Identification Ali Karimpour Assistant Professor Ferdowsi University of Mashhad Reference: “System Identification Theory For The User” Lennart.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
1 Chapter 5: Harmonic Analysis in Frequency and Time Domains Contributors: A. Medina, N. R. Watson, P. Ribeiro, and C. Hatziadoniu Organized by Task Force.
U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group TLTE.3120 Computer.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Determine the mathematical models that capture the behavior of an electrical system 1.Elements making up an electrical system 2.First-principles modeling.
U NIVERSITY of V AASA Telecommunication Engineering Group TLTE.3120 Computer Simulation in Communication and Systems (5 ECTS) Lecture Timo.
Newton’s 2nd Law: Translational Motion
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Lecture 7: State-Space Modeling 1.Introduction to state-space modeling Definitions How it relates to other modeling formalisms 2.State-space examples 3.Transforming.
President UniversityErwin SitompulSMI 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 System Modeling and Identification
Lecture 6: Time Response 1.Time response determination Review of differential equation approach Introduce transfer function approach 2.MATLAB commands.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
MATLAB and SimulinkLecture 21 To days Outline Introduction to Simulink Block diagrams Building models Exercises on today’s topics.
Modeling & Simulation of Dynamic Systems (MSDS)
President UniversityErwin SitompulSMI 1/1 Dr.-Ing. Erwin Sitompul President University Lecture 1 System Modeling and Identification
In The Name of Allah The Most Beneficent The Most Merciful 1.
State Equations BIOE Processes A process transforms input to output States are variables internal to the process that determine how this transformation.
Computacion Inteligente Least-Square Methods for System Identification.
Modern Control TheoryLecture 1, written by Xiaodong Zhao1 Modern Control Theory Syllabus Course Coordinator: Dr. Xiaodong Zhao – Room: Building Lab 2,
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
CHEM-E7130 Process Modeling Lecture 6
Automatic Control Theory CSE 322
Solution to Homework 2 Chapter 2
MESB374 System Modeling and Analysis
Modeling and Simulation Dr. Mohammad Kilani
State Space Representation
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
Multi-phase Synchronous Motors
Automatic Control System
Digital Control Systems (DCS)
Digital Control Systems (DCS)
Filtering and State Estimation: Basic Concepts
Modeling in the Time Domain
Getting Started With Simulink
State Space Analysis UNIT-V.
State Space Method.
Homework 1: Electrical System
Linearization of Nonlinear Models
Multivariate Methods Berlin Chen
Chapter 3 Modeling in the Time Domain
Presentation transcript:

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group TLTE.3120 Computer Simulation in Communication and Systems (5 ECTS) Lecture 5 – Timo Mantere Professor, Communications & systems University of Vaasa 1

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES 2 Model structures relates on mathematical modelling and system identification, see additional information e.g. from: Mathematical model: Dynamical system: System that changes over time, e.g. pendulum, quite often they might have unpredictable behavior due that the system parts interact with each others

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  Static models  Linear  Nonlinear  Dynamic models  Continuous differential equations  Continuous time-delay equations  Difference equations  Partial differential equations  Transfer functions  SIMULINK – starters  Stochastic processes  Parameterized models – Curve fitting 3

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  STATIC MODELS  Linear, scalar y = k u + b y, u real numbers y output; u input; k gain; b bias EXAMPLE: OHM’s Law U=RI U = voltage (output) I = current (input) R = resistor 4 Interferece etc. b Output y Input u System k

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  STATIC MODELS  Nonlinear, scalar y = f(u; a), a is a parameter EXAMPLE: OHM’s Law with nonlinear resistor R = R(I) = R 0 I 2 ; Resistor depends on current

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  STATIC MODELS  Linear, multi-input multi-output (MIMO) y = Au + b y is output vector (m elements) u input vector (n elements) b constant vector (m elements) A matrix (n*m)

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  EXAMPLE  Linear, multi-input multi-output (MIMO) y = Au 7

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  MATLAB - EXAMPLE >> A=[2 0;3 6] A = >> u=[0.5; 0.4] u = >> y=A*u y =

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Linear, scalar  If the system input changes as a function of time we need dynamic model a and b are constants 9

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS - EXAMPLE  1798: Model of population dynamics (Malthus, ) : Assume that the growth is directly proportional to population size. Population at year 1960 was and its growth 2%. Compute how population evolved up to year

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group Year Population Average annual growth rate (%) Average annual population change 19603,039,669, ,792, ,632,780, ,286, ,708,067, ,587, ,785,654, ,694, ,862,348, ,183, ,938,532, ,547, ,085,478, ,220, ,159,699, ,002, ,232,702, ,442, ,305,144, ,496, ,377,641, ,578, ,450,219, ,540, ,522,760, ,466, ,595,226, ,442, ,667,669, ,368, ,740,037, ,210,364

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES 12

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES 13

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  MATLAB – SIMULINK SOLUTION  Consider the left-hand side of the equation – integrate it:  In SIMULINK, the integral operator is – in goes out comes x(t). x(t)

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  MATLAB – SIMULINK SOLUTION  What about x(t 0 )? Click the integrator block open. In the Initial condition type 3.04*10^9.  Until now, we have handled the left-hand side of the equation.  In order to have balance in the equation, we need to complete the SIMULINK diagram with the term 0.02x(t).

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  MATLAB – SIMULINK SOLUTION x(t) 0.02x(t)

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  MATLAB – SIMULINK SOLUTION – SOLUTION DISPLAYED WITH A SCOPE x(t) 0.02x(t) Simulation result

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  Logistic population model  Population cannot grow without limit. One way to restrict the growth is to introduce a negative quadratic term (Verhulst). 18

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  Logistic population model  Verhulst used the model to predict quite accurately the population growth in USA with the following model. The initial population is from year

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  SIMULINK configuration of Verhulst logistics equation Simulation result 20

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group Model Structures, nonlinearity  Non-parametric models  Weight- and frequency functions can be measured directly from the process  A prior knowledge about the model structure is not required  Polynomial models  Based on preliminary prior knowledge about the model structure  Nonlinear systems m ay be simplified such that the parameter estimation problem becomes linear  Linearization  Simplification have its risks and it is not always possible  Computation programs  In-build optimization and estimation routines (Matlab etc.) 21

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Nonlinear, multi-input multi-output (MIMO)  Vector differential equation is in form:  Where x, u, f, and x(dot) are column vectors, X 0 is the start value at time point 0  In dynamic systems often part of the states are measured, so y is measurement data 22

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Nonlinear, multi-input multi-output (MIMO)

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Nonlinear, multi-input multi-output (MIMO) 24

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Nonlinear, multi-input multi-output (MIMO) 25

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Linear, multi-input multi-output (MIMO) A (nxn), B (nxm), C (pxn) and D (pxm) real, constant 26

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Delay equations, multi-input multi-output (MIMO) Initial datahistory 27

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Delay equations L QiQi Input mass flow QoQo Output mass flow vSpeed Length 28

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Delay equations

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group MODEL STRUCTURES  DYNAMIC MODELS  Discrete time or 30

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group ELLIPTICAL membrane PARTIAL DIFFERENTIAL EQUATIONS 31 PARABOLIC

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS 32 DISCRETIZATION

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group Discretization w.r.t. space variable PARTIAL DIFFERENTIAL EQUATIONS where 33

U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group Discretization w.r.t. space variable leads to PARTIAL DIFFERENTIAL EQUATIONS 34