chapter2c
chapter2c
chapter2c
Electrical Components
V 1
t 1 I
v( s) I (s)
c
+ - v(t) I ( )d cs cs
0
C I
di(t ) v (s ) L s I (s ) Ls
v(t ) L
dt
V
+ -
L I
1
Mechanical impedance (Translation)
dx(t ) F (s ) BsX (s ) Bs
F(t) F (t ) B
dt
B X((t) F ( s )=Bs (X 2 (s)− X 1 (s ))
damper
F ( t )=B ( ddtx − ddtx )
2 1
F(t)
F (t ) kx (t ) F ( s ) kX ( s ) K
K
Spring X(t)
F ( t )=K ( X 2 (t)− X 1 (t)) F ( s )=K ( X 2 ( s )−X 1(s) )
d (t ) T ( s ) Bs ( s ) Bs
T (t ) B
dt
B (t ) T(t)
( d θdt(t) − d θdt(t) )
damper 2 1
T ( t )=B
T (t ) K (t ) T ( s ) k ( s ) K
K T ( t )=K ( θ2 ( t )−θ 1 ( t ))
(t ) T(t)
Spring
2
Chapter 2
To understand and control complex systems, one must obtain quantitative mathematical models
of these systems. It is necessary therefore to analyze the relationships between the system
variables and to obtain a mathematical model. Because the systems under consideration are
dynamic in nature, the descriptive equations are usually differential equations. Furthermore if
these equations can be linearized, then the Laplace transform can be utilized to simplify the
method of solution. In practice the complexity of systems lead us to use assumptions concerning
the system in operation. Then by using the physical laws describing the linear equivalent system,
we can obtain a set of linear differential equations. Finally utilizing mathematical tools such as
the Laplace transform we obtain a solution describing the operation of the system.
We present a summary of modeling various components which are often used in control systems.
Electrical components: -
+ V -
+ V - + V -
R C L
I I I
dV dI L
V = I.R I = C dt V = L dt
Figure 2.0
_ Current at a node = 0.
3
Mechanical system elements
Most control systems contain mechanical as well as electrical components, although some
systems even have hydraulic and pneumatic elements. From a mathematical view point the
descriptions of electrical and mechanical elements are analogous. In fact, we can show that given
an electrical device there is usually an analogous mechanical counter part mathematically and
vice versa.
The motion of mechanical elements can be described in various dimensions as, translation,
rotational or combination. The equations governing the motion of mechanical systems are often
formulated directly or indirectly from Newton's law of motion.
Translational motion
x
d2 x
m 2
F = m dt
F
Figure 2.1
2
Mass = Kg, acceleration=m/s Force = Newton's (N)
4
Mass is considered as a property of an element that stores kinetic energy of
translational motion. Mass is analogous to inductance of electrical network.
Spring (linear)
x1 x2
F = k(x2 - x1 ) Newton
F k = spring constant N/m
k
Friction (damper)
x1 x2
F=B dt (
dx 2 dx 1
−
dt )
Figure 2.3 viscous friction
Whenever there is motion or tendency of motion between two physical elements, frictional
forces exist. The frictional forces encountered in physical systems are usually of a nonlinear
nature. The characteristics of the frictional forces between two contacting surfaces often depend
on such factors as the composition of the surfaces. The pressure between the surfaces, their
relative velocity and others so that an exact model description of the friction force is difficult.
5
Rotational motion
The rotational motion of a body can be defined as a motion about a fixed axis. The
extension of Newton's law of motion for rotational or torque about a fixed axis is equal to the
product of the inertia and the angular acceleration about the axis, or
∑ torque=J ×a
Torques acting on inertia = inertia¿ angular acceleration
Inertia T(t)
Q(t) = rad
d 2θ
T =J
dt 2 N.m
Inertia J is considered to be the property of on element that stores the kinetic energy of
rotational motion. The inertia of a given element depends on the geometric composition about
the axis of rotation and its density. For instance, the inertia of a circular disc or shaft about its
2 2
geometric axis is J = 1/2 M.r Kg.m
6
Torsional spring
As with the linear spring for translational motion, a torsional spring constant k, in torque per unit
angular displacement, can be devised to represent the compliance of a rod or a shaft when it is
subject to an applied torque.
T T
1
2 2
1
Figure 2.5 Torsional spring
B
1 2
Figure 2.6
(
T = B dt
dθ2
−
dθ1
dt )
7
Example (2.1): -
L
+
I
Vi(t)
R
Vo(t)
Time Domain
dI
Vi(t)= L dt +Vo(t)
Vo
I= R
L dVo(t )
∴ Vi(t) = R dt +Vo(t)
Using Laplace
V ( s )=LSI ( s )+ Vo ( s )
Vo ( s ) LSVo ( s )
I= ¿ ∴ Vi ( s )= +Vo ( s )
R(s¿ R ( s)
∴ Vi(s)=Vo ( s )
[ LS
R (s )
+1
]
Vo (s ) 1 R (s )
∴ = =
Vi( s) LS LS+ R(s)
+1
R (s )
8
Example (2.2): -
Time Domain
1 d V o(t )
V i ( t ) =RI ( t ) +V o ( t ) we know that V 0=
C
∫ I ( t ) dt ∴ I ( t ) =C
dt
d V o (t)
∴ V i ( t )=RC +V o (t )
dt
Laplace Transform
Vi ( s )=RI ( s ) +Vo ( s )
1
we know Vo ( s )= I ( s ) ∴ I ( s )=Vo ( s ) CS
Cs
∴ Vi ( s )=R [ Vo ( s ) Cs ] +Vo ( s )
Vi ( s )=Vo ( s ) [ RCs+1 ]
9
Vo (s ) 1
∴ =
Vi( s) RCs+1
Example 2.3
di 1 1
e i=L + Ri+ ∫ idt ¿ e o= ∫ idt
dt C C
Laplace transform
1 1 1 1
E I =LSI ( s )+ RI ( s ) + I ( s )∧Eo = I ( s)
C s C s
❑❑
Eo 1
∴ = 2
E i LC S + RCS +1
10
Example 2.3
Time Domain
Loop 1
1
e i=
C1
∫ ( i1−i2 ) dt+ R 1 i1
Loop2
1 1
0=
C1
∫ ( i2−i1 ) dt+ R 2 i2+ C ∫ i2 dt
2
Output
1
e o= ∫ i dt
C2 2
Laplace domain
1
Ei ( s )= [ I ( s )−I 2 ( s ) ] + R1 I 1 ( s )
C1 S 1
1 1
¿ 0= [ I ( s )−I 1 ( s ) ]+ R 2 I 2 ( s )+ C S I 2 ( s )
C1 S 2 2
1
¿ E0 ( s ) = I ( s)
C2 S 2
This yield
11
Eo (s) 1
=
Ei (s) ( R1 C 1 S+1 )( R 2 C 2 S+1 ) + R 1 C 2 S
Example (2.3):
R1 R2
I1 I2 C
Taking loop 1:
Taking loop 2:
Applying rule 1:
( R 1 + Ls ) I 1−LsI 2 =V
Applying rule 2:
(
−LsI 1 + R2 + Ls+
1
)
I =0
Cs 2
12
( LsI 1 ) ( Cs )+ ( R2 Cs+ LsCs+1 ) I 2
=0
Cs
( R1 + Ls ) I 1−LsI 2 =V
−LCs 2 I 1 + ( R 2 Cs+ LCs2 +1 ) I 2 =0
dI 1 dI 2
R1 I 1 + L −L =V
dt dt
2
d I1 dI 2 d 2 I2
−LC + R2C + LC 2 + I 2=0
dt 2 dt dt
13
Mechanical system
Example (2.4):
T 1 2
B1 B2 3 B3
k
1
J1 J2 J3
Rule
θ1 θ2
[Sum of all impedances acting on J1 ] 1 - [impedances connecting J1 &J2 ]
−kθ 1 + ( J 2 s 2 + B2 s+ k ) θ2 −B2 sθ 3 =0
d2 θ2 dθ 2 dθ3
−kθ 1 + J 2 + B2 + kθ2 −B 2 =0
dt 2 dt dt equation2
14
- [impedances connecting J2 & J3 ] θ2 = 0
0 θ1 −B2 sθ 2 + ( J 3 s2 + B3 s +B 2 s ) θ3 =0
dθ 2 d 2θ dθ dθ
−B2 + J 3 2 3 + B3 3 +B 2 3 =0
dt dt dt dt equation3
( J 3 s 2 + B3 s+ B2 s ) θ 3
θ2 =
B2 s
[ J 3 s2 + ( B 2 + B3 ) s ] θ 3
(J 1s 2
+ B1 s+k ) θ −k1
B2 s
=T
equation4
2
−kθ 1 +( J 2 s + B2 s+k )
[ ( J 3 s2 + ( B2 + B3 ) θ3 )
B2 s ]
− B2 sθ3 =0
equation5
Now using the second equation obtain 1 . Then substitute 1 in the first equation, simplify then
θ3
workout the transfer function T .
( Js 2 + B2 s+ k ) θ2 −B2 sθ 3
θ1 =
k
(J 1s 2
+ B1 s+k )
( Js 2 + B2 s+ k ) θ2 −B2 sθ 3
k
−k
[
J 3 s 2 +( B2 + B 3 ) s
B2 s ]
θ3 =T
15
θ3
θ2
Now substitute for in above equation and find transfer function T
Example
Laplace
( m s 2 +cs+ k ) y ( s )=f ( s ) ∴ Y (s ) = 1
F ( s) ( m s +cs +k )
2
Example
16
m2 ÿ2 + c y 2 +¿ k 2 ( y ˙2− y 1 )=0 ¿
y 2(s)
∧ y 1 (s )
Students are required to finish this question convert to Laplace and derive f (s)
f (s)
Example
Convert to Laplace
Example
17
Figure 2.16 Rotational system
Apply Euler’s rotational law (The rotational equivalent of Newton’s second law)
J θ̈+b θ̇+ k R θ=τ ( t )
This system can be represented by a single second order linear time invariant ordinary
differential equation (shown above). This equation is equivalent of a translational
mechanical mass-spring-damper system with torque as the input and angular displacement
as outut
Example
Consider the system shown in figure 2.17 below obtain the mathematical model by assuming the
cart is standing still for t<0 and the spring-mass-dashpot system is also standing till at t<0. In this
system u(t) is the displacement of the cart and is the input to the system. The displacement Y(t)
is the output (the displacement is relative to the ground). M denotes the mass, b viscous friction
and k denotes the spring constant. We assume that the friction force of the dashpot is
proportional to ẏ−u̇ and the spring is linear that is the spring force is y−u
18
Figure 2.17 Spring mass dashpot system mounted on a cart
For translational systems Newton’s second law state
ma=∑ F
∴m
d2 y ( t )
dt 2
+b(dy ( t ) du ( t )
dt
−
dt )+k ( y ( t )−u(t) ) =0
2
m S Y ( s ) +bSY ( s ) +kY ( s )=kU ( s ) −bSU ( s )
Y (s) k +bS
∴ ( m S 2+ bS+ k ) Y ( s )=( k +bS ) U ( s ) ∴ =
U ( s) m S 2 +bS+ k
Example
x1 ( s) x2 ( s)
Obtain the transfer function and for the mechanical system shown in figure 2.18
u (s) u (s )
19
Figure 2.18 Mechanical System
For mass 1
(black impedances acting on mass 1 and in red impedances common between mass 1 and mass 2)
(black impedances acting on mass 2 and in red impedances common between mass 2 and mass 1)
[m 1 s 2+ bs+ ( k 1 +k 2 ) ] x 1 ( s )−( bs +k 2 ) x 2 ( s ) =u ( s )
20
X 1 (s) ( m2 s +bs +k 2+ k 3 )
2
=
U (s) ( m1 s +bs+ k 1 +k 2 )( m 2 s2 +bs +k 2 +k 3) −( bs +k 2) 2
2
X 2 (s) ( bs+ k 2 )
=
U (s) ( m1 s +bs +k 1 +k 2 )( m 2 s2 +bs +k 2 +k 3) −( bs+k 2) 2
2
21
T L = load driving torque (N.m) ω Lload angular speed (rad/s)
2 2
Jm = motor inertia (N.m.s /rad) J L = load inertia (N.m.s /rad)
Gear relationship
N1
ωL = ωm
N2 (for both acceleration and position).
N2
t1
TL = N1
t 1 ωm =T L ω L
Electrical side
dI
V a = R I a + L dt + e = R I a + e since L=0
∴ V a = R I a + kb ω m
22
V a −k b ωm
I a=
Ra
tm = kt
I a = torque constant*current
Mechanical equation
Tm m t1
t1
BL L T L = J L s L B L L
N2
JL t1
But T =
L N 1
N2
t
N 1 1 = ( J L s +B L ) ω L equation2
N2 N
t m=( J L s+ B L ) ω L + 2 J m sωm
N1 N1 … (equation3)
23
N2
ω m= ω
Equation on the load side substitute N 1 L into (equation3)
( )
N2 N 2
t m=( J L s+ B L ) ω L + 2 J m sωL
∴
N1 N1
[ ( ) ]
2
N 2 = J s+ J s N 2 + B ω
t L m
N1 L L
NL m … (equation4)
V a−k b ωm
t m=k t I a = Kt
Ra
( )[ ( ) ]
N2 V a −k b ω m N2 2
k = J L s+ J m s + B L ωL
N 1 t Ra N1
N 2 kt V a N 2 k t k b ωm
N1 Ra
−
N 1 Ra [
= J L s+ J m s
N2 2
N1 ( )
+ B L ωL
]
N 2 kt V a
N1 Ra [( N 22
)
= J L + J m 2 s + B L ω L+
N1
kt kb
Ra
ωm
]
N2
N1
N2
ω m= ωL
But N1
∴
N2 k t
N1 Ra [(N2
)
k k N2
V a = J L+ J m 22 s+ B L ω L + t b 22 ω L
N1 Ra N 1 ]
[(
¿ J L+ J m
N 22
N 21 ) (
s+ B L+
k t k b N 22
R a N 21 )] ωL
24
Equation on the motor shaft substituting
ω L in (equation3): -
N1
ωL = ωm
N2
∴
N2
N1 [
t m= ( J L s+ B L )
N1
N2
+Jm
N2
N1 ]
s ωm
[ ]
N1 N2
( J L s+ B L ) N2
Jm s
N1
t m= + ωm
N2 N2
N1 N1
[
= ( J L s+ B L )
N 21
N 22
+ J m s ωm
]
¿
[( JL
N 21
N 22 )
+J m s+ B L
N 21
N 22 ] ωm
Same as before
V a−k b ωm Va
t m=k t I a = k t=
Ra Ra
ktVa
Ra
−
( kt kb )
Ra
ω m= J L
( N 21
N22 )
+ J m s + BL
N 21
N 22
ωm
[( ) ( )]
2 2
kt N1 N 1 kt kb
V a = J L 2 +J m s+ B L 2 + ωm
Ra N2 N 2 Ra
25
characteristics are quite nonlinear, which makes the analytical task more difficult. DC motors on
the other hand are more expensive
because of the brushes and commutators. Before permanent-magnet technology was fully
developed, the torque per unit volume or weight of a dc motor with permanent magnet (PM)
field was far desirable. Today with the development of the rare magnet, it is possible to achieve
very high torque-volume PM dc motors at reasonable cost.
Basic operation: -
The dc motor is basically a torque transducer that converts electric energy into mechanical
energy. The torque developed on the motor shaft is directly proportional to the fixed flux and
armature current. The relationship among the developed torque, flux and current ia is:
Tm = km θm .ia N.m
When the conductor moves in the magnetic field, a voltage is generated across its terminals. This
voltage, the back e.m.f which is proportional to the shaft velocity tends to oppose the current
flow.
eb = km ω m
26
Torque speed curves of a dc motor: -
The torque speed curves of a dc motor describe the static torque producing capability of the
motor with respect to the applied voltage and motor speed. With reference to the figure below in
the steady state, the effect of the inductance is zero, and the torque equation of the motor is
( Ea −k b ω m )
kt
Tm = kt Ia = Ra where Tm, Ia, Ea and
ω m represent the steady state values
of the motor torque current applied voltage-speed
respectively.
Maximum Tm
Figure 2.20
For a given applied Ea the equation above describes the straight line relation of the torque-speed
characteristics of the dc motor. In reality the motor may be subject to two types of saturation or
limitations. 1) As Ia increase when La is increased the magnetic circuit will saturate. 2) The
second limitations is due to the maximum current that the motor can handle due to the heat
dissipation rating of the motor.
27
In practice, the torque-speed curves of a dc motor can be determined experimentally by a
dynamometer.
28