Mathematical Modelling
Mathematical Modelling
Mathematical Modelling
Some of the models commonly used are: i) Scaled model ( expensive and time consuming to develop and modify) ii)Prototype model (any modification needs expertise fabrication , adding components and many others) Iii) mathematical model (cheap & can be developed quickly) Once the designer is satisfied with the performance of the model , a scaled or prototype model can be developed (minimal modification)
The mathematical model of a dynamic system is represented by the Transfer function. The T.F can be re-written as an ordinary differential equation (ODE) Thus, given any i/p signal represented by any time function, the O/P of the system can be obtained by solving ODE Various methods are available to solve ODE. For control engineers, Laplace transformation method is used for solving linear differential equations because standard Laplace Transform table can be used to find the transform F(s) of a given function f (t) and the solution can be obtained directly.
Figure below shows a system represented by a block diagram where y(t) is the output and u(t) is the i/p to the system. Both of these quantities are function of time and referred as variables.
Input U(t), t t0
Initial condition
System
Output Y(t) , t t0
Time response analysis is to study the O/P response of the system y(t) when the system is excited with some i/p signals u (t). > The mathematical model developed is in the form of an ODE > Therefore , time response model can obtained by solving the ODE
Write eqn..
Y (t)
U (t)
The Design Process: 1. Transform Requirement into a Physical System 2. Draw a Functional Block Diagram 3. Create a Schematic 4. Develop a Mathematical Model
a. Transfer function in the frequency domain b. State Equations in the time domain
Many simplifying assumption in order to keep the ensuing model
Differential Equation:
1. Describe the relationship between the input and output of a system 2. The form of differential equation and its coefficients are a formulation or description of the system but not a satisfying
representation
where the input, output, and system are distinct and separate parts.
where a mathematical function, called transfer function, is inside each block, and block functions can easily be combined.
LAPLACE TRANSFORM
Laplace transforms are useful widely in control system analysis. The transfer function of a control system is defined in s domain and provides valuable information about stability and performance of a closed loop/feedback control system. Laplace transform is a method of operational calculus that takes a function of time (tdomain) and converts it to a function of complex variable (s-domain/frequency domain) The Laplace transform of a function of time, f(t) is defined as the integral; Where; f(t) s F(s) L
L f (t )
F ( s)
0
f (t )e st dt
= function in time domain = complex variable ( s = + j ) = Laplace transformation of f(t) = an operational symbol indicating that the quantity that it prefixes is to be transformed by the Laplace integral st
0
e dt
Find the Laplace Transform for the given exponential function; f(t) = 0 for t < 0
Ae at u (t ) =
constant. Steps:
for t
where A and
are
1) From table
2) Insert 3) Rearrange 4) Convert (Table)
F ( s)
at
f (t )e st dt Ae at e st dt
0
Ae
into eq:
e A
( s a )t
dt A
t 0
s a
( s a )t
s a
Property of laplace transform Laplace transform of derivatives Laplace transform of integral Laplace Transform of a unit step function L.T of ramp function L.T for impulse function L.T for sinusoidal function
The derivation of the mathematical model starts from the study of a translational mechanical system, rotational mechanical system, gear system, hydraulic system, liquid level system, thermal system and electrical system. These relationship are then represented by the block diagram representation From the block diagram, the transfer function of the mathematical model can be obtained using block diagram manipulation method. The T.F also can be obtained by transforming the block diagram or representing the dynamic equation into signal flow graph representation and applying Masons Gain Formula.
For linear systems, the T.F is defined as the ratio of the output to the input for a system with zero initial conditions as determined from the Laplace Transform of the system equation.
Input R (s) Transfer Function G (s) Output Y (s)
1. For lumped linear time-invariant systems, mathematical model building based on physical laws normally results in a set of (first order and 2nd order ) differential equations. > Applying laplace transform to the differential equations results in a transfer function model of the system.
The simplifying assumptions in this domain are: all objects are rigid bodies; all interactions between rigid bodies take place via kinematic pairs (joints), springs and damper
Mechanical System
3 main elements -> Spring, damper and mass Parameter system is defined as the constant which represents these elements. Variables are displacement(x),velocity(v), acceleration(a) and force(F) The dynamics describing these elements can be derived by applying the Newtons Laws
X2(t)
m= mass, F= force
Newton Law ,
(f)
Spring-mass-damper system
Xi k
Fs
Fm
Spring force , FS = k(xi-xo) Mass force, FS-FD= mD2xo Damper force, FD=cDxo
Xo
K = Shaft stiffness (spring stiffness) B = Fluid viscous friction coefficient (coefficient of viscous friction) J= moment of inertia (mass m) = angular displacement (displacement ) = angular velocity (linear velocity) = angular acceleration ( linear acceleration) = torque (force)
Exercises 1 2 3
Variables=> torque, angular acceleration, angular velocity and angular displacement for input and output gear Gear B driven by gear A
x = spool valve displacement y = cylinder displacement When the spool valve moves to the right position, the fluid from supply will flow toward right part of the cylinder. Thus, the mass will move to the left. Flow rate,
If PL << Ps q = Kx q = ADy Where A= cross section area of cylinder and Assumption: no leaking, compressible fluid , constant supply pressure
-For l1 l2
Derivation as follow:-
(k) Liquid level system -Variables -> level and flow rate -Parameter ->resistance and capacitance - For laminar flow
qi = inlet volumetric flow rate qo= outlet volumetric flow rate h = liquid level
Using conservation of mass, where c= tank capacitance or cross section area of tank
Assumption: no heat loss to surrounding, no heat stored in the insulation, uniform heat flow Thermal resistance, Where = outlet fluid temperature, h=rate of heat flow By using conservation of energy
Vi
Vo