Process Modelling and Simulation with Application to the MATLAB/Simulink Environment

Similar documents
Dynamic Process Modeling. Process Dynamics and Control

Introduction to Engineering System Dynamics

Matlab and Simulink. Matlab and Simulink for Control

MODELING, SIMULATION AND DESIGN OF CONTROL CIRCUIT FOR FLEXIBLE ENERGY SYSTEM IN MATLAB&SIMULINK

What is Modeling and Simulation and Software Engineering?

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

DCMS DC MOTOR SYSTEM User Manual

ECE 516: System Control Engineering

Manufacturing Equipment Modeling

Experimental Identification an Interactive Online Course

Control System Definition

Pre-requisites

Mathematical Modeling and Engineering Problem Solving

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Copyright. Network and Protocol Simulation. What is simulation? What is simulation? What is simulation? What is simulation?

Integration of a fin experiment into the undergraduate heat transfer laboratory

System Modeling and Control for Mechanical Engineers

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

Implementation of Fuzzy and PID Controller to Water Level System using LabView

CORRECTION OF DYNAMIC WHEEL FORCES MEASURED ON ROAD SIMULATORS

Modeling Mechanical Systems

Introduction. Theory. The one degree of freedom, second order system is shown in Figure 2. The relationship between an input position

ME 3012 Systems Analysis & Control and Vibrational Responses. Learning Outcomes. Dr. Bob Williams

STEADY STATE MODELING AND SIMULATION OF HYDROCRACKING REACTOR

Real-Time Systems Versus Cyber-Physical Systems: Where is the Difference?

Content. Professur für Steuerung, Regelung und Systemdynamik. Lecture: Vehicle Dynamics Tutor: T. Wey Date: , 20:11:52

MATLAB AS A PROTOTYPING TOOL FOR HYDRONIC NETWORKS BALANCING

LINEAR MOTOR CONTROL IN ACTIVE SUSPENSION SYSTEMS

ω h (t) = Ae t/τ. (3) + 1 = 0 τ =.

Precise Modelling of a Gantry Crane System Including Friction, 3D Angular Swing and Hoisting Cable Flexibility

Energy transformations

EASTERN ARIZONA COLLEGE Differential Equations

Parameter identification of a linear single track vehicle model

Lecture 9 Modeling, Simulation, and Systems Engineering

Proceeding of 5th International Mechanical Engineering Forum 2012 June 20th 2012 June 22nd 2012, Prague, Czech Republic

Introduction to the course Chemical Reaction Engineering I

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Lecture 07: Work and Kinetic Energy. Physics 2210 Fall Semester 2014

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Example Analysis of MDOF Forced Damped Systems

STUDY OF DAM-RESERVOIR DYNAMIC INTERACTION USING VIBRATION TESTS ON A PHYSICAL MODEL

An Introduction to Applied Mathematics: An Iterative Process

240EQ014 - Transportation Science

Sensor Performance Metrics

CATALOG CHANGES - F13. The Department of Ocean and Mechanical Engineering offers programs of study leading to the following degrees:

Linear-Quadratic Optimal Controller 10.3 Optimal Linear Control Systems

Students Manual for the Exam. General Engineering and Electrical Civil Engineering Discipline

PID Control. Chapter 10

Design-Simulation-Optimization Package for a Generic 6-DOF Manipulator with a Spherical Wrist

Slide Basic system Models

Turbulence, Heat and Mass Transfer (THMT 09) Poiseuille flow of liquid methane in nanoscopic graphite channels by molecular dynamics simulation

Comparison of two calculation methods used to estimate cooling energy demand and indoor summer temperatures

Working Model 2D Exercise Problem ME 114 Vehicle Design Dr. Jose Granda. Performed By Jeffrey H. Cho

Engineering Problem Solving as Model Building

PREDICTION OF MACHINE TOOL SPINDLE S DYNAMICS BASED ON A THERMO-MECHANICAL MODEL

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Modeling, Analysis, and Control of Dynamic Systems

MODELING FIRST AND SECOND ORDER SYSTEMS IN SIMULINK

3.1 State Space Models

State-Space Feedback Control for Elastic Distributed Storage in a Cloud Environment

Chapter 12 Modal Decomposition of State-Space Models 12.1 Introduction The solutions obtained in previous chapters, whether in time domain or transfor

The simulation of machine tools can be divided into two stages. In the first stage the mechanical behavior of a machine tool is simulated with FEM

Lecture 1: Introduction to Dynamical Systems

Introduction to Simulink & Stateflow. Coorous Mohtadi

Figure 1. The Ball and Beam System.

INTERACTION BETWEEN MOVING VEHICLES AND RAILWAY TRACK AT HIGH SPEED

Lecturer, Department of Engineering, Lecturer, Department of Mathematics,

Modelling and Big Data. Leslie Smith ITNPBD4, October Updated 9 October 2015

Engineering g Problem Solving Process

Finite Element Methods (in Solid and Structural Mechanics)

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

The dynamic equation for the angular motion of the wheel is R w F t R w F w ]/ J w

Eco Pelmet Modelling and Assessment. CFD Based Study. Report Number R1D1. 13 January 2015

Engineering: Electrical Engineering

Real Time Simulation for Off-Road Vehicle Analysis. Dr. Pasi Korkealaakso Mevea Ltd., May 2015

San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010

ELECTRICAL ENGINEERING

Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab

Name: Partners: Period: Coaster Option: 1. In the space below, make a sketch of your roller coaster.

Plates and Shells: Theory and Computation - 4D9 - Dr Fehmi Cirak (fc286@) Office: Inglis building mezzanine level (INO 31)

Lecture 2 Linear functions and examples

ORDINARY DIFFERENTIAL EQUATIONS

SGN-1158 Introduction to Signal Processing Test. Solutions

SAMPLE CHAPTERS UNESCO EOLSS PID CONTROL. Araki M. Kyoto University, Japan

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

C B A T 3 T 2 T What is the magnitude of the force T 1? A) 37.5 N B) 75.0 N C) 113 N D) 157 N E) 192 N

The Influence of Aerodynamics on the Design of High-Performance Road Vehicles

Experiment: Static and Kinetic Friction

CHAPTER 1. Mathematical Modelina and Engineering Problem s&ing. =f( 1.1 A SIMPLE MATHEMATICAL MODEL. , parameters,

Non Linear Control of a Distributed Solar Field

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

Engineering Feasibility Study: Vehicle Shock Absorption System

Optimal Resource Allocation for the Quality Control Process

Using MATLAB in a Graduate Electrical Engineering Optimal Control Course

DISCRETE EVENT SIMULATION HELPDESK MODEL IN SIMPROCESS

CHAPTER 3 MODAL ANALYSIS OF A PRINTED CIRCUIT BOARD

ME6130 An introduction to CFD 1-1

Brush DC Motor Basics. by Simon Pata Business Unit Manager, Brushless DC

Transcription:

Process Modelling and Simulation with Application to the MATLAB/Simulink Environment CZECH REPUBLIC František Gazdoš (gazdos@fai.utb.cz) November, 2016 Università di Cagliari, Sardinia (IT)

COUNTRIES & REGIONS Italy / Sardinia / Cagliari (60M / 1.6M / 154k ) Czech Republic / Zlín Region / Zlín (10.5M / 600k / 75k) Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš

UNIVERSITIES Università di Cagliari (more than 30.000 students) Faculty of Biology and Pharmacy Faculty of Engineering and Architecture Faculty of Medicine and Surgery Faculty of Sciences Faculty of Economic Sciences, Law and Political Sciences Faculty of Humanities Tomas Bata University in Zlín (more than 10.000 students) Faculty of Technology Faculty of Management and Economics Faculty of Multimedia Communications Faculty of Applied Informatics Faculty of Humanities Faculty of Logistics and Crisis Management Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš

Faculty of Applied Informatics Studies: Bachelor s Degree studies Follow-on Master s Degree studies Ph.D. Degree studies A number of courses in English for International students! You are Welcome! R&D in: Applied Informatics Security Technologies Automatic Control Measurement and Instrumentation Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš

Process modelling and simulation / contents CONTENTS 1 Motivation Why? 2 Approaches How? 3 Illustrative examples room heating process mass-spring-damper system tubular heat exchanger 4 Introduction to MATLAB & Simulink basics of MATLAB programming (displaying process static characteristics) basics of Simulink (solving differential equations process dynamics responses) building Simulink blocks, masking 5 Further - What else? Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 2

Process modelling and simulation / why? 1. MOTIVATION WHY? it saves time! (slow real-time experiments ) it saves costs! (expensive real-time experiments, repairs ) it saves health & lives! (hazardous real-time experiments, dangerous conditions ) Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 3

Process modelling and simulation / how..? 2. APPROACHES HOW? ANALYTICAL approach: material & energy balances mathematical description of physical, chemical, bilogical sub-processes analytical (internal, state-space) model structure & behaviour model (model variables & parameters correspond to real process variables & parameters) valid in wide range of input variables and modes (often not allowable under real conditions ) knowledge of the process + mathemathics, physics, chemistry, bilogy design stage of a new technology (real plant still does not exists ) Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 4

Process modelling and simulation / how..? 2. APPROACHES HOW? EMPIRICAL approach: real-time measurements (input output) measured data processing & evaluation (model structure choice, identification, ) experimental (external, input-output) model only behaviour model (model variables & parameters DO NOT correspond to real process variables & parameters) process must already exist (real-time measurements) usually simpler model often more accurate model (for the measured range of input signals!) usually time-demanding Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 5

Process modelling and simulation / how..? 2. APPROACHES HOW? COMBINATION analytical + empirical (basic model structure by an analysis + parameters via experiments ) what to model? mathematical model = SIMPLIFIED reality (some sub-processes unknown, some neglected ) what to neglect? how accurate model is needed? TRADE-OFF (model accuracy x model complexity) how complex the model can be? Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 6

Process modelling and simulation / how..? 2. APPROACHES HOW? schematic picture definition of variables (input, output, state) simplifying assumptions energy / material balances steady-states analysis choice / estimate / determination of model parameters process variables limits, model validity choice of initial / boundary conditions & operating point(s) for simulation implementation of the model simulation experiments experiments evaluation model verification / corrections Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 7

Process modelling and simulation / examples 3. ILLUSTRATIVE EXAMPLES schematic picture: definition of variables: inputs: - heat power P(t) in [W] ROOM heating process: simplifying assumptions: - ideal air mixing - constant process parameters (air volume V, density, heat capacity c P, overall heat transfer coefficient a, heat transfer surface area A, ) - heat accumulation in the walls neglected - - outdoor temperature T C (t) in [K] states: - room temperature T(t) in [K] outputs: - room temperature T(t) in [K] Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 8

Process modelling and simulation / examples 3. ILLUSTRATIVE EXAMPLES energy / material balances: ROOM heating process: steady-states analysis: heat input = heat output + heat accumulation (heat loss due to exchange of air and heat conduction through the walls) (steady variables) Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 9

Process modelling and simulation / examples 3. ILLUSTRATIVE EXAMPLES ROOM heating process: choice / estimate / determination of model parameters: A = 55 [m 2 ], V = 70 [m 3 ] measured a = 1.82 [W/(m 2 K)] estimated (steady-state model for P s = 2000 [W] and T s = 20 [K]) = 1.205 [kg/m 3 ], c p = 1005 [J/(kgK)] taken from the literature (for T = 20 [ C]) process variables limits, model validity - no singular states - model valid in common (reasonable chosen) conditions choice of initial / boundary conditions & operating point(s) for simulation T(0) = 25 [ C] = 298.15 [K] P = 2000 [W] Tc = 5 [ C] = 278.15 [K] Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 10

Process modelling and simulation / examples 3. ILLUSTRATIVE EXAMPLES ROOM heating process: implementation of the model (steady-state model, dynamic model ) simulation experiments experiments evaluation model verification / corrections - linear 1 st order system, - with lumped parameters, - continuous-time, - deterministic, - multivariable (MIMO), - time-invariant Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 11

Process modelling and simulation / MATLAB 4. INTRODUCTION TO MATLAB & SIMULINK basics of MATLAB programming (displaying process static characteristics) basics of Simulink (solving differential equations process dynamics responses) building Simulink blocks, masking Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 12

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES schematic picture: Mass-spring-damper system: (simplified car shock absorber) definition of variables: inputs: - forcing function F(t) in [N] simplifying assumptions: - ideal spring - well lubricated, sliding surface (wall friction modelled as viscous damper) - constant process parameters (spring constant k, friction constant b, mass of load m, ) - states: - position y(t) in [m] - velocity v(t) = dy(t)/dt in [m/s] outputs: - position y(t) in [m] Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 13

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES performing a force balance: (& utilizing Newton s 2 nd law of motion ) Mass-spring-damper system: steady-states analysis: (steady variables) spring force friction force (viscous damper) Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 14

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES Mass-spring-damper system: choice / estimate / determination of model parameters: m = 500 [kg] load of mass (measured) k = 2000 [N/m] spring constant (taken form the literature) b = 400 [N/(m/s)] friction constant / viscous damping coefficient (taken from the literature) process variables limits, model validity - no singular states - model valid in common (reasonable chosen) conditions choice of initial / boundary conditions & operating point(s) for simulation y(0) = dy(0)/dt = 0 [m] F = 50 [N] Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 15

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES Mass-spring-damper system: implementation of the model (steady-state model, dynamic model ) simulation experiments experiments evaluation model verification / corrections - linear 2 nd order system, - with lumped parameters, - continuous-time, - deterministic, - single-input single-output (SISO), - time-invariant Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 16

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES Mass-spring-damper system: transfer function description (using the Laplace transform): Gain K damping coefficient steady-state gain: time-constant T time-constant (natural period / inverse natural frequency): natural frequency: damping coefficient: Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 17

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES Mass-spring-damper system: state-space description: define states as: and input as: then output will be: then it holds: and the 2 nd order model can be rewritten into two 1 st order DE: in the matrix form: A B C D Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 18

Process modelling and simulation / examples ILLUSTRATIVE EXAMPLES state-space description: in the compact form: Mass-spring-damper system: with matrices as: and initial conditions: easy simulation in the MATLAB/Simulink using the Transfer Fcn or State-Space blocks... Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 19

Process modelling and simulation / what else..? 5. FURTHER for control engineers linearization in a chosen operating point (for nonlinear models ) deviation variables & proper scaling system analysis - state-space / transfer function description...? - controllabilty & observability...? - system degree & type (P/I/D)...? - system gain & time-constants...? - (un)stable...? - (a)periodic response...? - (non-)minimum-phase behaviour...? - with(out) time-delay? - linear / nonlinear? - with lumped / distributed parameters...? - continuous / discrete-time...? - deterministic / stochastic...? - single-variable / multi-variable...? - time-invariant / variant...? Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš 20

Process modelling and simulation / what else..? 5. FURTHER for self-study WELLSTEAD, P. Introduction to Physical Modelling. Academic Press, 1980. SEVERANCE, F.L. System Modeling and Simulation: An Introduction. Wiley, 2001. INGHAM et al. Chemical Engineering Dynamics: Modelling with PC Simulation. Wiley, 1994. LUYBEN, W.L. Process Modeling, Simulation and Control for Chemical Engineers. McGraw-Hill, 1990. HANSELMAN, D.C. & LITTLEFIELD, B.L. Mastering MATLAB. Prentice Hall, 2011. DABNEY, J.B. & HARMAN, T.L. Mastering Simulink. Prentice Hall, 2003. SKOGESTAD, S & I. POSTLETHWAITE, I. Multivariable Feedback Control: Analysis and Design. Chichester: Wiley, 2005. Thank you for your attention! Erasmus lectures at Università di Cagliari in November 2016 / František Gazdoš