Presentation is loading. Please wait.

Presentation is loading. Please wait.

President UniversityErwin SitompulSMI 1/1 Lecture 1 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University

Similar presentations


Presentation on theme: "President UniversityErwin SitompulSMI 1/1 Lecture 1 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University"— Presentation transcript:

1 President UniversityErwin SitompulSMI 1/1 Lecture 1 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University http://zitompul.wordpress.com 2015

2 President UniversityErwin SitompulSMI 1/2 Textbook: “Process Modelling, Identification, and Control”, Jan Mikles, Miroslav Fikar, Springer, 2007. Syllabus: Chapter 1:Introduction Chapter 2:Mathematical Modeling of Processes Chapter 3:Analysis of Process Models Chapter 4:Dynamical Behavior of Processes Chapter 5:Discrete-Time Process Models Chapter 6:Process Identification Textbook and Syllabus System Modeling and Identification

3 President UniversityErwin SitompulSMI 1/3 Grade Policy System Modeling and Identification Final Grade = 10% Homework + 20% Quizzes + 30% Midterm Exam + 40% Final Exam + Extra Points Homeworks will be given in fairly regular basis. The average of homework grades contributes 10% of final grade. Written homeworks are to be submitted on A4 papers, otherwise they will not be graded. Homeworks must be submitted on time, on the day of the next lecture, 10 minutes after the class starts. Late submission will be penalized by point deduction of –10·n, where n is the total number of lateness made. There will be 3 quizzes. Only the best 2 will be counted. The average of quiz grades contributes 20% of final grade.

4 President UniversityErwin SitompulSMI 1/4 Grade Policy Midterm and final exams follow the schedule released by AAB (Academic Administration Bureau). Make up of quizzes must be held within one week after the schedule of the respective quiz. Make up for mid exam and final exam must be requested directly to AAB. ●Heading of Written Homework Papers (Required) System Modeling and Identification Homework 2 Rudi Bravo 0029201800058 21 March 2021 No.1. Answer:........ System Modeling and Identification

5 President UniversityErwin SitompulSMI 1/5 Grade Policy Extra points will be given if you solve a problem in front of the class. You will earn 1 or 2. Lecture slides can be copied during class session. It is also available on internet. Please check the course homepage regularly. http://zitompul.wordpress.com The use of internet for any purpose during class sessions is strictly forbidden. You are expected to write a note along the lectures to record your own conclusions or materials which are not covered by the lecture slides. System Modeling and Identification

6 President UniversityErwin SitompulSMI 1/6 Chapter 1 Introduction System Modeling and Identification

7 President UniversityErwin SitompulSMI 1/7 Control Chapter 1Introduction Control is the purposeful influence on an object (process) to ensure the fulfillment of a required objectives. The objectives can be to satisfy the safety and optimal operation of the technology, the product specifications under constraints of disturbance, process stability, and other technical related matters. Control systems in the whole consist of technical devices and human factor. Control systems must satisfy: Disturbance attenuation Stability guarantee Optimal process operation

8 President UniversityErwin SitompulSMI 1/8 Control Chapter 1Introduction There are two main methods of control: Feedback control, where the information about process output is used to calculate the control (manipulated) signal  process output is fed back to process input Feedforward control, where the effect of control is not compared with the desired result Practical control experience confirms the importance of assumptions about dynamical behavior of processes. This behavior is described using mathematical models of processes, which can be constructed from a physical or chemical nature of processes or can be abstract.

9 President UniversityErwin SitompulSMI 1/9 Chapter 1Introduction The purpose of this course is to learn how to model a process, which may have one of these objectives: Synthesis: Modeling as the fundamentals to influence a process through a controller Analysis: Modeling as the fundamentals to a deep understanding of the process and further to optimization of the process Simulation: Modeling as the fundamentals to emulative calculation under a given boundary condition Process is the entire activities where matter and/or energy are stored, transported, and converted; whereas information is stored, transported, converted, created, or destroyed. System is a part of a process, which is defined by the user, and has an interconnection with the environment regarding the flow of matter, energy, and information. Process, System, Model

10 President UniversityErwin SitompulSMI 1/10 Chapter 1Introduction An automobile may represent a process, consisting: Engine and driveline system Suspension system Braking System Climate control system The variables of interest depend on the user, i.e., engine technician requires the relation between transmission and speed, while aircon technician wants to know the relation between speed and cooling performance. Process, System, Model

11 President UniversityErwin SitompulSMI 1/11 Chapter 1Introduction Process, System, Model Model is an appropriate description of the flows of a system to its environment, using physical, chemical nature of the system, or using abstract mathematical equations. A mathematical model is a description of a system using mathematical concepts and language. A model may help to explain a system and to study the effects of different components, and to make predictions about behavior.

12 President UniversityErwin SitompulSMI 1/12 Process Chapter 1An Example of Process Control A simple heat exchanger T i, q i w T o, q o VT Inlet Outlet V: volume of liquid in heat exchanger [m 3 ] q: Volume flow rate [m 3 /s] T: Temperature [K] w: Heat input [W] Assumptions: Ideal mixing No heat loss Constant heating rate Exchanger has no heat capacity T = T o

13 President UniversityErwin SitompulSMI 1/13 Steady-State Chapter 1An Example of Process Control A simple heat exchanger T i, q i w T o, q o VT Inlet Outlet Input variables: Inlet temperature T i Heat input w Output variables: Outlet temperature T The process is said to be in steady-state if the input and output variables remain constant in time. The heat balance in the steady-state is of the form: q: Volume flow rate [m 3 /s] ρ: Liquid specific density [kg/m 3 ] c p : Liquid specific heat capacity [J/(kgK)]

14 President UniversityErwin SitompulSMI 1/14 Process Control Chapter 1An Example of Process Control A simple heat exchanger T i, q i w T o, q o VT Inlet Outlet Control of the heat exchanger in this case means to influence the process so that T will be kept close to T w. This influence is realized with changes in w, which is called manipulated variable. A thermometer must be placed on the outlet of the exchanger and we may choose between manual control or automatic control. Input variables: Inlet temperature T i Heat input w Output variables: Outlet temperature T

15 President UniversityErwin SitompulSMI 1/15 Dynamical Properties of the Process Chapter 1An Example of Process Control In the case that the control is realized automatically, the knowledge about process response to changes of input variables is required. This is the knowledge about dynamical properties of the process, which is the description of the process in unsteady-state. The heat balance for the heat transfer process in a very short time interval Δt converging to zero is given by:

16 President UniversityErwin SitompulSMI 1/16 Assuming q i = q o and T = T o, Dynamical Properties of the Process Chapter 1An Example of Process Control The heat balance in the steady-state may be derived from the last equation, in the case that dT/dt = 0.

17 President UniversityErwin SitompulSMI 1/17 In case of choosing an automatic control, the control device performs the control actions which is described in a control law. The task of a control device is to minimize the difference between T w and T, which is defined as control error. (T w is the set point) Suppose that we choose a controller that will change the heat input proportionally to the control error, the control law can be given as: Feedback Process Control Chapter 1An Example of Process Control We speak about proportional control, and P is called the proportional gain.

18 President UniversityErwin SitompulSMI 1/18 Chapter 1An Example of Process Control Feedback Control of the Heat Exchanger The scheme The block diagram

19 President UniversityErwin SitompulSMI 1/19 Chapter 2 Mathematical Modeling of Processes System Modeling and Identification

20 President UniversityErwin SitompulSMI 1/20 Chapter 2Mathematical Modeling of Processes General Principles of Modeling A system is expressed through mathematical descriptions. These descriptions are called “mathematical models.” The behavior of the system with regard to certain inputs can be characterized by using the mathematical model. Mathematical models can be divided into three groups, depending on how they are obtained: Theoretical model, developed using physical, chemical principles/laws Empirical model, obtained from mathematical analysis of measurement data of the process/ system or through experience Empirical-theoretical model, obtained from a combination of theoretical and empirical modeling approach

21 President UniversityErwin SitompulSMI 1/21 Theoretical models are derived from the so called “balance equation of conserved quantity” that may include: Mass balance equation Energy balance equation Entropy balance equation Enthalpy balance equation Charge balance equation Heat balance equation Impulse balance equation A conserved quantity is a quantity whose total amount is maintained constant and is understood to obey the principle of conservation, which states that such a quantity can be neither created nor destroyed. Chapter 2Mathematical Modeling of Processes General Principles of Modeling

22 President UniversityErwin SitompulSMI 1/22 Chapter 2Mathematical Modeling of Processes General Principles of Modeling Alternatively, a conserved quantity is one whose total amount remains constant in an isolated system, regardless of what changes occur inside the system. An isolated system is a hypothetical system that has zero interaction with its surroundings, i.e., zero transfer of material, heat, work, radiation, etc. across the boundary. The balance equations in an unsteady-state are used to obtain the dynamical model, which is expressed using differential equations. In most cases, ordinary differential equations are chosen to keep the mathematical model simple.

23 President UniversityErwin SitompulSMI 1/23 Balance equation in integral form: Chapter 2Mathematical Modeling of Processes General Principles of Modeling Balance equation can be written in differential form: The variable m in the equations above can be mass, energy, entropy,..., impulse.

24 President UniversityErwin SitompulSMI 1/24 Mass balance in an unsteady-state is given by the law of mass conservation: Chapter 2Mathematical Modeling of Processes General Principles of Modeling ρ, ρ i : Specific densities [kg/m 3 ] V: Volume [m 3 ] q, q i : Volume flow rates [m 3 /s] m: Number of inlets n: Number of outlets In Out

25 President UniversityErwin SitompulSMI 1/25 Energy balance follows the general law of energy conservation: Chapter 2Mathematical Modeling of Processes General Principles of Modeling ρ, ρ i : Specific densities [kg/m 3 ] V: Volume [m 3 ] q, q i : Volume flow rates [m 3 /s] c p, c p,i : Specific heat capacities [J/(kgK) T, T i : Temperatures [K] Q: Heat per unit time [W] m: Number of inlets n: Number of outlets s: Number of heat sources and consumptions

26 President UniversityErwin SitompulSMI 1/26 Let us examine a liquid storage system shown below: Chapter 2Examples of Dynamic Mathematical Models Single-Tank System The mass balance for this process yields: qiqi qo qo V h ρ: Specific densities [kg/m 3 ] V: Volume [m 3 ] q i, q o : Volume flow rates [m 3 /s] A: Cross-sectional area of the tank [m 2 ] h: Height of liquid in the tank [m] With A and ρ assumed to be constant,

27 President UniversityErwin SitompulSMI 1/27 v1v1 Applying the law of mechanical energy conservation to the liquid near the outlet: Chapter 2Examples of Dynamic Mathematical Models Single-Tank System v 1 : Outlet flow velocity [m/s] a 1 : Cross-sectional area of the outlet pipe [m 2 ] qiqi qo qo V h

28 President UniversityErwin SitompulSMI 1/28 Inserting q 0 = v 1 a 1 into the mass balance equation of the system: Chapter 2Examples of Dynamic Mathematical Models Single-Tank System or The initial condition (i.e., the initial height of the liquid) can be arbitrary, h(0) = h 0. The tank will be in steady-state if dh/dt = 0. For a constant inlet flow rate q i, the steady-state liquid height h s is given by:

29 President UniversityErwin SitompulSMI 1/29 Chapter 2Examples of Dynamic Mathematical Models Simulation of Single-Tank System The dynamic mathematical model of the single-tank system will now be simulated using Matlab Simulink. a 1 = 20 cm 2 = 2010 –4 m 2 = 210 –3 m 2 A = 2500 cm 2 = 250010 –4 m 2 = 0.25 m 2 Manual calculation of steady-state liquid height yields: g = 9.8 m/s 2 q i = 5 liters/s = 510 –3 m 3 /s t sim = 200 s

30 President UniversityErwin SitompulSMI 1/30 Simulation with Matlab-Simulink Chapter 2Examples of Dynamic Mathematical Models Matlab-Simulink provides the best simulation environment for control engineers.

31 President UniversityErwin SitompulSMI 1/31 After construction, the Matlab Simulink block diagram is given as: Chapter 2Examples of Dynamic Mathematical Models Simulation of Single-Tank System

32 President UniversityErwin SitompulSMI 1/32 The simulation result, from transient until steady-state, can be observed by clicking the Scope. Chapter 2Examples of Dynamic Mathematical Models Simulation of Single-Tank System

33 President UniversityErwin SitompulSMI 1/33 Impulse and Charge Balance Equations Chapter 2Examples of Dynamic Mathematical Models The impulse balance equation can be related to Newton’s law by: The charge balance equation can be related to Kirchhoff's law by:

34 President UniversityErwin SitompulSMI 1/34 A Two-Mass System: Suspension Model m 1 : mass of the wheel m 2 : mass of the car x,y: displacements from equilibrium r: distance to road surface Equation for m 1 : Equation for m 2 : Rearranging: Chapter 2Examples of Dynamic Mathematical Models

35 President UniversityErwin SitompulSMI 1/35 A Two-Mass System: Suspension Model Using the Laplace transform: to transfer from time domain to frequency domain yields: Chapter 2Examples of Dynamic Mathematical Models

36 President UniversityErwin SitompulSMI 1/36 A Two-Mass System: Suspension Model Eliminating X(s) yields a transfer function: Chapter 2Examples of Dynamic Mathematical Models

37 President UniversityErwin SitompulSMI 1/37 Bridged Tee Circuit v1v1 ResistorInductorCapacitor Chapter 2Examples of Dynamic Mathematical Models

38 President UniversityErwin SitompulSMI 1/38 RL Circuit v1v1 Further calculation and eliminating V 1, Chapter 2Examples of Dynamic Mathematical Models

39 President UniversityErwin SitompulSMI 1/39 Homework 1 v1v1 qiqi qo qo h1h1 Chapter 2Examples of Dynamic Mathematical Models Derive a dynamic mathematical model for the interacting tank-in- series system as shown below. h2h2 v2v2 q1 q1 a1 a1 a2 a2

40 President UniversityErwin SitompulSMI 1/40 Homework 1A Chapter 2Examples of Dynamic Mathematical Models Derive a dynamic mathematical model for the tank with the form of a triangular prism as shown below. v q i1 qo qo a q i2 h max h ρ: Specific densities [kg/m 3 ] V: Volume of liquid in the tank [m 3 ] h: Height of liquid in the tank [m] h max : Height of the tank [m] A: Cross-sectional area of the liquid surface [m 2 ] A max : Cross-sectional area of the tank at the top [m 2 ] q i1, q i2 : Volume flow rates of inlets [m 3 /s] q o : Volume flow rates of outlet[m 3 /s] v: Outlet flow velocity [m/s] a 1 : Cross-sectional area of the outlet pipe [m 2 ]


Download ppt "President UniversityErwin SitompulSMI 1/1 Lecture 1 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University"

Similar presentations


Ads by Google