Chapter 4 - Control System Modelling
Chapter 4 - Control System Modelling
Objectives
Students should be able to:
Determine modeling and transfer function
of electrical system.
Determine modeling and transfer function
of mechanical system.
Understand modeling and transfer function
of electromechanical system.
CONTROL SYSTEMS MODELING
Electric network
Translational mechanical system
Rotational mechanical system
System with gear
ELECTRIC NETWORK MODELING
For basic electrical circuit modeling, only Passive RLC
Network and Op-Amp circuit are considered.
Equivalent circuits for the electric networks consist of
three passive linear components: resistors, capacitors
and inductors.
Table 3.1 summarizes the components and the
relationships between voltage and current and between
current and charge under zero initial conditions.
From these relationships, obtain differential equations
for the circuit using Kirchhoff’s laws.
Next, Laplace transforms the differential equations and
finally solve for the transfer function.
Voltage-current, voltage-charge, and impedance relationships for
capacitors, resistors, and inductors.
Table 3.1
Component Voltage-Current Current-voltage Voltage-charge Impedance Admittance
For the capacitor, V ( s ) 1 I ( s )
Cs
For the resistor, V ( s) RI ( s )
V (s)
Now define the following transfer function: Z ( s)
I ( s)
[Sum of impedances] I(s) = [Sum of applied voltages]
Simple, Single-loop Electrical Network
mesh analysis
◦ via the differential equation (Ex 3.1)
◦ via transform method (Ex 3.2)
nodal analysis
◦ via transform method (Ex 3.3)
Example 3.1
Find the transfer function relating the capacitor voltage, VC(s)
to the input voltage, V(s), in Figure below using mesh analysis
and transform methods.
Solution:
Single loop via the differential equation.
t
di (t ) 1
L Ri (t ) i ( )d v (t )
dt C 0
Changing variables from current to charge using i(t) = dq(t)/dt
d 2 q (t ) dq (t ) 1
L 2
R q (t ) v (t )
dt dt C
Solution:
From the voltage-charge relation in Table 3.1:
1
v c (t ) q (t ) q (t ) Cv c (t )
C
d 2 v c (t ) dv c (t )
LC 2
RC v c (t ) v (t )
dt dt
Taking the Laplace transform
LCs 2V c ( s ) RCsV c ( s ) V c ( s ) V ( s )
Solution:
VC ( s ) 1 / LC
G (s)
V (s) s 2 R s 1
L LC
So, the block diagram of series RLC electrical network:
t
di (t ) 1
L Ri (t ) i ( )d v (t )
dt C 0
1
( Ls R ) I (s) V (s)
Cs
1
( Ls R ) I (s) V (s)
Cs
Solving for I(s)/V(s) I (s) 1
V ( s ) ( Ls R 1 )
Cs
But the voltage 1
across the capacitor Vc ( s ) I ( s ) Vc ( s )Cs I ( s )
Cs
Solving I(s) into equation:
I (s) 1
I ( s ) Vc ( s )Cs
V ( s ) ( Ls R 1 )
Cs
Vc ( s ) 1 Vc ( s )Cs 1
V ( s ) ( Ls R 1 )Cs V (s) ( Ls R
1
)
Cs Cs
Answer:
Vc ( s ) 1
V ( s ) ( Ls R 1 )Cs
Cs
VC ( s ) 1 / LC
V (s) R 1
s s
2
L LC
Example 3.3
Repeat example 3.1 using nodal analysis and transform
methods without writing a differential equation.
Solution:
From I(s)=V(s)/Z(s),
VC ( s ) Vc ( s ) V ( s )
0
1 R Ls
Cs
Solution:
VC ( s ) Vc ( s ) V ( s )
0
1 R Ls
Cs
Vc ( s ) V ( s )
VC ( s )Cs 0
R Ls
Vc ( s ) V (s)
VC ( s )Cs
R Ls R Ls
Solution:
Vc ( s ) 1
VC ( s )Cs ( R Ls ) Vc ( s ) V ( s )
V ( s ) ( Ls R 1 )Cs
Cs
(Cs ( R Ls ) 1)Vc ( s ) V ( s )
VC ( s ) 1 / LC
V (s) R 1
s s
2
L LC
Complex Circuit (having more than one loop)
mesh analysis
◦ via transform method (Ex 3.4)
nodal analysis
◦ via transform method (Ex 3.5)
Example 3.4
I 2 ( s)
Given the network below, find the transfer function, .
V (s)
Solution:
Solution:
Around mesh 1,
R1 I1 ( s ) LsI 1 ( s ) LsI 2 ( s ) V ( s )
( R1 Ls ) I1 ( s ) LsI 2 ( s ) V ( s )
Around mesh 2,
1
LsI 2 ( s ) R2 I 2 ( s ) I 2 ( s ) LsI 1 ( s ) 0
Cs
1
( Ls R2 ) I 2 ( s ) LsI 1 ( s ) 0
Cs
Solution:
( R1 Ls ) I1 ( s ) LsI 2 ( s ) V ( s )
1
( Ls R2 ) I 2 ( s ) LsI 1 ( s ) 0
Cs
1 1
( Ls R2 ) I 2 ( s ) I1 ( s )
Ls Cs
Solution:
1 1
( Ls R2 ) I 2 ( s ) I1 ( s )
Ls Cs
R2 1
(1 2
) I 2 ( s ) I1 ( s )
Ls LCs
Combining these equations to find answer:
R2 1
(1 2
) I 2 ( s ) I1 ( s )
Ls LCs
( R1 Ls ) I1 ( s ) LsI 2 ( s ) V ( s )
Solution:
R2 1
( R1 Ls )(1 2
) I 2 ( s) LsI 2 ( s ) V ( s )
Ls LCs
R1 R2 R1 LsR2 Ls
( R1 2
Ls 2
) I 2 ( s) LsI 2 ( s ) V ( s )
Ls LCs Ls LCs
R1 R2 R1 LsR2 Ls
( R1 2
Ls Ls 2
) I 2 ( s) V ( s)
Ls LCs Ls LCs
R1 R2 R1 LsR2 Ls
( R1 2
2
) I 2 ( s) V (s)
Ls LCs Ls LCs
Answer:
I 2 ( s) 1
V ( s) R1 R2 R1 LsR2 Ls
( R1 2
2
)
Ls LCs Ls LCs
I 2 (s) LCs 2
G (s)
V ( s ) ( R1 R 2 ) LCs 2 ( R1 R2 C L ) s R1
Notice that we can also use these equations:
Example 3.5
V L ( s ) V ( s ) V L ( s ) V L ( s ) VC ( s )
0
R1 Ls R2
VC ( s ) V L ( s )
CsV C ( s ) 0
R2
G1=1/R1 and G2=1/R2
VL (s)
G 1 (V L ( s ) V ( s )) G 2 (V L ( s ) V C ( s )) 0
Ls
CsV C ( s ) R 2 (V C ( s ) V L ( s )) 0
Example 3.6
G 1G 2
s
VC (s) C
V (s) G 1G 2 L C G2
(G 1 G 2 ) s
2
s
LC LC
where G1 = 1/R1 and G2 = 1/R2
where G1 = 1/R1 and G2 = 1/R2
Sum of Sum of
_ admittances V (s) Sum of applied
admittances VL(s) C =
currents at
connected to common to the Node 1
Node 1 two nodes
Sum of Sum of
Sum of Sum of applied
impedances impedances
impedances I1(s) _ I2(s) _ I (s) = voltages around
common to common to 3
around Mesh 1 Mesh 1
Mesh 1 and Mesh 1 and
Mesh 2 Mesh 3
Sum of Sum of
Sum of
impedances Sum of applied
_ common to I1(s) impedances I2(s) _ I3(s) = voltages around
+ common to
Mesh 1 and around Mesh 2
Mesh 2 and Mesh 2
Mesh 2
Mesh 3
Sum of
Sum of impedances Sum of
Sum of applied
_ common to I1(s) _ common to I2(s) impedances
+ I (s) = voltages around
Mesh 1 and Mesh 2 and around Mesh 3 3
Mesh 3
Mesh 3 Mesh 3
Answer :
Solve the equation to obtain the transfer function of any of the currents
versus the supply voltage.
It has been shown that electrical networks can
be modeled by a transfer function.
The same also can be done for mechanical
systems through Newton’s Laws. .
Mechanical systems, like electrical network
have 3 passive, linear components.
Two of them
o spring
energy storage elements
o mass
another one
o viscous damper - dissipates energy
These mechanical elements are shown in Table 2.4.
In the table, K - spring constant
fv - coefficient of viscous friction
M - mass
There are three categories of mechanical system
translational system
rotational system
Figure 2.10
Another way to find the transfer function is using
Laplace transform method.
First, we take the Laplace transform from force
displacement column in Table 2.4, we obtain:
◦ for the spring, F(s) = KX(s)
◦ for the viscous damper, F(s) = fvsX(s)
◦ for the mass, F(s) = Ms2X(s)
This approach is simpler rather than to write the
differentiate equation.
Example 3.9 (one equation of motion)
Find the transfer function, X(s)/F(s), for the system below using
the differentiate equation. Repeat the question without writing
the differentiate equation first.
Example 3.10 (one equation of motion)
Solution:
Step 1: Draw the free-body diagram shown in figure below
d 2 x(t ) dx(t )
M 2
fv Kx(t ) f (t ) Ms2 X (s) fv sX (s) KX (s) F (s)
dt dt
Example 3.12 (one equation of motion)
Solution:
X ( s) 1
F (s) Ms f v s K
2
Example 3.13
Find the transfer function given: K=1, fv=1.
Ex 2.20 (2 degrees of freedom)
Find the transfer function, X2(s)/F(s), for the system of Figure
shown below.
Ex 2.20 (2 degrees of freedom)
Solution:
First, we take the Laplace transform of force displacement.
Sum of Sum of
Impedances Impedances Sum of applied
_ X2(s) =
connected to X1 (s) between X1 forces at X1
the motion at and X2
X1
Torque on J1 when:
a. J2 still, J1 rotated
b. J1 still, J2 rotated
c. Final FBD for J1
Torque on J2 when:
a. J1 still, J2 rotated
b. J2 still, J1 rotated
c. Final FBD for J2
k1 ( s ) ( J 2 s D2 s k ) 2 ( s ) 0
2
From these figures, we obtain the equations of motion,
K1 ( s ) ( J 2 s D2 s K ) 2 0
2
(2)
Sum of
impedances Sum of
impedances Sum of
connected 1 ( s ) ( s ) applied torques
between 2
to the motion at 1
at 1 1 and 2
Sum of
Sum of impedances
impedances Sum of
1 ( s ) connected 2 ( s ) applied torques
between
to the motion at 2
1 and 2 at 2
Example 3.15
Write but do not solve the Laplace transform of the equations of
motion for the system shown in Figure 2.14.
Answer:
01 ( s ) D2 s 2 ( s ) ( J 3 s 2 D3 s D2 s ) 3 ( s ) 0
Most systems with rotational mechanical system are usually
combined with gears with certain ratios.
Gears provide mechanical advantages to rotational system
as high-speed rotation can be produced with low
torque and vice versa.
The linearized interaction between two gears is depicted in
figure below.
an input gear with radius r1 and
N1 teeth is rotated through
angle 1 (t) due to torque, T1 (t).
63
reflect the mechanical impedance from the input to the
output …
64
Example 3.16
Find the transfer function, 2(s) / T1(s), for the system of figure
below.
65