Professional Documents
Culture Documents
Consider
By simple manipulation,
The command
So,
Transfer Function
d 2 y (t ) dy (t )
2
+ 3 + 2 y (t ) = 5u (t )
dt dt
dy (0)
With initial conditions y(0) = -1 and =2
dt (0)
So, the Laplace transform is
1
s Y ( s ) − sy (0) − y (0) + 3sY ( s ) − 3 y (0) + 2Y ( s ) = 5.
2
s
− s2 − s + 5 − s2 − s + 5 5 5 3
Y ( s) = = Y ( s) = − +
s( s + 3s + 2) s( s + 1)( s + 2)
2
2 s s + 1 2( s + 2)
and hence,
These elements are defined by physical laws. These are given by:
Mass:
Friction:
Spring:
Modeling of Mechanical Systems
Example
Draw the FBD of the mass and show all forces and
to zero,
Mass M2:
a) Springs in Parallel:
b) Springs in series
,, eliminate y
Modeling of Mechanical Systems
Example
Obtain the equivalent dampers constants for the systems shown in Figures
below.
a) Springs in Parallel:
b) Springs in series
Modeling of Electrical System
There are three main elements in electrical circuits. These are resistance,
capacitance and inductance. These are modeled as follows:
→
Modeling of Electrical System
Impedance Approach
Mathematical models and transfer functions for electrical circuits can be
obtained using the impedance approach.
This method is valid only when the initial conditions are equal to zero.
V (s)
The impedance of various electrical elements Z ( s ) = are given in
the figure below, i.e., I (s)
1 1
Z R (s) = R , Z C ( s ) = and Z C ( s ) =
Cs Cs
Impedances in series
Ze = Z R + ZC + Z L
Impedances in Parallel
1 1 1 1
= + +
Ze Z R ZC Z L
Modeling of Electrical System
Example
For the circuit shown, determine the transfer function between the input
and the output voltages.
1
For R, Z R ( s ) = R and for C, Z C ( s ) =
Cs
where K is motor
, KT is torque constant
, taking Laplace
Modeling of Electromechanical System
The system block diagram is constructed as shown below
,
Modeling of Liquid-Level System
Resistance of Liquid-Level Systems
The resistance R (depends on type of flow) for liquid flow in such a pipe
or restriction is defined as the change in the level difference necessary to
cause a unit change in flow rate; that is,
Since the inflow minus outflow during the small time interval dt is equal to
the additional amount stored in the tank, we see that;
Taking the Laplace transforms of both sides and assuming the zero
initial condition, we obtain,
and
If, however, qo is taken as the output, the input being the same, then
the transfer function is
Where
Modeling of Liquid-Level System
Liquid-Level Systems with Interaction - Example
Consider the system shown in figure below.
In this system, the two tanks interact. Thus the transfer function of the
system is not the product of two first-order transfer functions.
Modeling of Liquid-Level System
Considering each tank, the following equations can be obtained,
If q is considered the input and q2 the output, the transfer function of the
system is
Modeling of Liquid-Level System
The block diagram can be constructed as
Modeling of Liquid-Level System
The block diagram can be reduced as
Modeling of Thermal System
Thermal systems are those that involve the transfer of heat from one
substance to another.
There are three different ways heat can flow from one substance to
another: conduction, convection, and radiation. Most thermal processes
in process control systems do not involve radiation heat transfer.
For conduction or convection heat transfer
Modeling of Thermal System
Thermal Resistance and capacitance
The thermal resistance R for heat transfer between two substances may
be defined as follows
Substituting,
(Laplace) →
Modeling of Thermal System
Thermal System: Example
In practice, the temperature of the inflowing liquid may fluctuate and may act
as a load disturbance. If the temperature of the inflowing liquid is suddenly
changed by θi , while the heater supply and the liquid flow rate G are kept
constant, then the heat balance equation for this case is
dh θi θ
hF + hi = ho + where hF = Gcθ i = , and ho = Gcθ =
dt R R
→
Modeling of Thermal System
Block Diagram Manipulation
Block diagram is a pictorial representation of physical systems. It is a
tool used to reduce block and hence obtain the transfer functions of
various systems.
Block diagrams consist of three main elements. These are functional
block, summing point and take-off (branching) point.
C ( s ) = G ( s ) E ( s ) = G ( s )[ R( s ) − B( s )]
B( s ) = H ( s )C ( s )
C ( s ) = G ( s ) R( s ) − G ( s ) H ( s )C ( s )
C ( s )[1 + G ( s ) H ( s )] = G ( s ) R( s )
G (s)
C (s) = R( s)
1 + G ( s) H ( s)
C (s) G (s)
T (s) = =
R( s) 1 + G ( s) H ( s)
Block Diagram Manipulation
A fundamental block diagram configuration is a single feedback system
shown below. Tracing the signals, we get
C ( s ) = G ( s ) E ( s ) = G ( s )[ R( s ) − B( s )]
B( s ) = H ( s )C ( s )
C ( s ) = G ( s ) R( s ) − G ( s ) H ( s )C ( s )
C ( s )[1 + G ( s ) H ( s )] = G ( s ) R( s )
G (s)
C (s) = R( s)
1 + G ( s) H ( s)
C (s) G (s)
T (s) = =
R( s) 1 + G ( s) H ( s)
Block Diagram Manipulation
Block Diagram Manipulation
Block Diagram Manipulation
Block Diagram Manipulation
Example: Simplify the block diagram shown below.
Solution
Block Diagram Manipulation
Block Diagram Manipulation
Example: Simplify the block diagram shown below.
Solution
Block Diagram Manipulation
Block Diagram Manipulation
Example: Obtain the transfer function of the system below using block
diagram reduction.
Solution:
Modeling in State Space
Many modern control systems are MIMO systems. It is more convenient
to use state space approach in in the analysis and design of MIMO
systems.
The state of a dynamic system is the smallest set of variables (called
state variables) such that knowledge of these variables at t = t0 ,
together with knowledge of the input for t ≥ t0 , completely determines
the behavior of the system for any time t ≥ t0 .
where
A(t) : state matrix
B(t) : input matrix
C(t) : output matrix
D(t) : direct transition matrix (Usually = 0)
A block diagram representation of the state space equations above is
shown as
Modeling in State Space
Example
Consider the mechanical system shown. Derive the state space equation
of the system.
Then we obtain
→
Modeling in State Space
or, we can write
Modeling in State Space
And the output is
System TF is given by
Modeling in State Space
Example
Obtain the state space model of the system below.
and
and
Modeling in State Space
Example
Obtain the state space model of the system below.
The equations for this system are
and
Where
System TF is given by
Modeling in State Space
Example
For the system shown below, obtain the state space model.
Taking the Laplace transform of this last equation, assuming zero initial
condition, gives
→
Modeling in State Space
Obtain the DE
and
Modeling in State Space
Correlation Between Transfer Functions and State-Space Equations.
and
→
Modeling in State Space
Example
Determine the transfer function of the system shown
Modeling in State Space
Example:
Obtain a state-space model of the system shown
X2 X1
X3
Modeling in State Space