Control Systems: Modeling of Electrical and Mechanical Systems
Control Systems: Modeling of Electrical and Mechanical Systems
3
Mathematical Modelling
• To understand system
performance, a
mathematical model of
the plant is required
• This will eventually
allow us to design
control systems to
achieve a particular
specification
2.2 Laplace Transform Review
5
Laplace Transform Review
Laplace Table
6
Laplace Transform Review
Example
PROBLEM: Given the following differential equation, solve for
y(t) if all initial conditions are zero. Use the Laplace transform.
Solution
7
Laplace Transform Review
8
2.3 Transfer Function
Basil Hamed 9
Transfer Functions
• Transfer Function G(s) describes system component
Y ( s ) G ( s )U ( s ) y (t ) g (t )u (t )
X ( s) Y (s)
G(s)
Transfer Function
Solution
Basil Hamed 11
T.F
Example
PROBLEM: Use the result of Example 2.4 to find the response,
c(t) to an input, r(t) = u(t), a unit step, assuming zero initial
conditions.
SOLUTION: To solve the problem, we use G(s) = l/(s + 2) as
found in Example 2.4. Since r(t) = u(t), R(s) = 1/s, from Table
2.1. Since the initial conditions are zero,
Basil Hamed 12
Laplace Example
dy
mc p y (t ) u (t ) sY ( s ) mc pY (s ) U ( s )
dt
m cp
sY ( s ) mc pY ( s ) U ( s )
( s mc p )Y ( s ) U ( s )
Q u (t )
1
T y (t )
Y ( s) U (s)
s mc p
Physical model
Laplace Example
dy
mc p y (t ) u (t ) sY ( s ) mc pY ( s ) U ( s )
dt
m cp
U (s) 1 Y (s)
Q u (t ) s mc p
T y (t )
Block Diagram
Physical model model
Laplace Example
dy
mc p y (t ) u (t ) sY ( s ) mc pY ( s ) U ( s )
dt
m cp
U (s) Y (s)
G(s)
Q u (t )
1
G ( s)
T y (t ) s mc p
16
2.4 Electric Network Transfer Function
Table 2.3 Voltage-current, voltage-charge, and
impedance relationships for capacitors,
resistors, and inductors
17
Modeling – Electrical Elements
Basil Hamed 18
Modeling – Impedance
Basil Hamed 19
Modeling – Kirchhoff’s Voltage & Current Laws
20
Example 2.6 P. 48
•Problem:
Find the transfer function relating the (t) to
the input voltage v(t).
21
Example 2.6 P. 48
•SOLUTION:
In any problem, the designer must first decide what
the input and output should be. In this network, several
variables could have been chosen to be the output.
Summing the voltages around the loop, assuming zero initial
conditions, yields the integro-differential equation for this
network as
Taking Laplace substitute in above eq.
22
Example 2.9 P. 51
PROBLEM: Repeat Example 2.6
using the transformed circuit.
Solution
using voltage division
Basil Hamed 23
Example 2.10 P. 52
•Problem:
Find the T.F
Basil Hamed 24
Example 2.10 P. 52
Solution:
Basil Hamed 25
Modeling – Summary (Electrical System)
• Modeling
– Modeling is an important task!
– Mathematical model
– Transfer function
– Modeling of electrical systems
• Next, modeling of mechanical systems
Basil Hamed 26
2.5 Translational Mechanical System T.F
• The motion of Mechanical elements can be described in
various dimensions as translational, rotational, or
combinations of both.
• Mechanical systems, like electrical systems have three passive
linear components.
• Two of them, the spring and the mass, are energy-storage
elements; one of them, the viscous damper, dissipate energy.
• The motion of translation is defined as a motion that takes
place along a straight or curved path. The variables that are
used to describe translational motion are acceleration,
velocity, and displacement.
Basil Hamed
27
2.5 Translational Mechanical System T.F
•Newton's
law of motion states that the algebraic sum of
external forces acting on a rigid body in a given
direction is equal to the product of the mass of the
body and its acceleration in the same direction. The
law can be expressed as
Basil Hamed 28
2.5 Translational Mechanical System T.F
Basil Hamed 29
Modeling – Mechanical Elements
30
Modeling – Spring-Mass-Damper Systems
Basil Hamed 31
Modeling – Free Body Diagram
Basil Hamed 32
Modeling – Spring-Mass-Damper System
Basil Hamed 33
Example 2.16 P. 70
Problem: Find the transfer function X(S)/F(S)
Basil Hamed 34
Example 2.16 P. 70
Solution:
Basil Hamed 35
Example
Basil Hamed 36
Example
Solution
Basil Hamed 37
Example 2.17 P. 72
•Problem:
Find the T.F
Basil Hamed 38
Example 2.17 P. 72
Solution:
Basil Hamed 39
Example 2.17 P. 72
Basil Hamed 40
Example 2.17 P. 72
Transfer Function
Basil Hamed 41
2.6 Rotational Mechanical System T.F
Basil Hamed 42
2.6 Rotational Mechanical System T.F
•• The rotational motion of a body can be defined as
motion about a fixed axis.
• The extension of Newton's law of motion for
rotational motion :
Basil Hamed 43
2.6 Rotational Mechanical System T.F
•The
other variables generally used to describe the motion of
rotation are torque T, angular velocity ω, and angular
displacement θ. The elements involved with the rotational
motion are as follows:
• Inertia. Inertia, J, is considered a property of an 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 disk or shaft, of radius r and mass M, about its
geometric axis is given by
Basil Hamed 44
2.6 Rotational Mechanical System T.F
Table 2.5
Torque-angular
velocity, torque-
angular
displacement,
and impedance
rotational
relationships for
springs, viscous
dampers, and
inertia
Basil Hamed 45
Modeling – Rotational Mechanism
Basil Hamed 46
Example
Problem: The rotational system shown
in Fig below consists of a disk mounted
on a shaft that is fixed at one end.
Assume that a torque is applied to the
disk, as shown.
Solution:
Basil Hamed 47
Modeling – Torsional Pendulum System
Basil Hamed 48
Modeling – Free Body Diagram
Basil Hamed 49
Modeling – Torsional Pendulum System
Basil Hamed 50
Example
Basil Hamed 51
Example
Solution:
Basil Hamed 52
Example 2.19 P.78
Basil Hamed 53
Example 2.19 P.78
Solution:
𝑘 ( 𝜃1 − 𝜃2 ) =𝐽 2 𝜃¨2+ 𝐵2 𝜃˙2
Basil Hamed 54
Example 2.20 P.80
PROBLEM: Write, but do not solve, the Laplace transform of
the equations of motion for the system shown.
Basil Hamed 55
Example 2.20 P.80
Solution:
Basil Hamed 56
2.8 Electromechanical System Transfer
Functions
• Now, we move to systems that are hybrids of electrical and
mechanical variables, the electromechanical systems.
Basil Hamed 57
Modeling – Electromechanical Systems
What is DC motor?
An actuator, converting electrical energy into rotational
mechanical energy
Basil Hamed 58
Modeling – Why DC motor?
• Advantages:
– high torque
– speed controllability
– portability, etc.
• Widely used in control applications: robot, tape drives,
printers, machine tool industries, radar tracking system,
etc.
• Used for moving loads when
– Rapid (microseconds) response is not required
– Relatively low power is required
Basil Hamed 59
DC Motor
Basil Hamed 60
Modeling – Model of DC Motor
Basil Hamed 61
Dc Motor
Basil Hamed 62
The Mathematical Model Of Dc Motor
Basil Hamed 63
The Mathematical Model Of Dc Motor
Mechanical System
Basil Hamed 64
The Mathematical Model Of Dc Motor
We have
Electrical System
GIVEN
Mechanical System
Basil Hamed 65
The Mathematical Model Of Dc Motor
To find T.F
Basil Hamed 66
2.10 Nonlinearities
• The models thus far are developed from systems that can be
described approximately by linear, time-invariant differential
equations. An assumption of linearity was implicit in the
development of these models.
Basil Hamed 67
Modeling – What Is a Linear System?
Basil Hamed 68
Modeling – Why Linear System?
• Easier to understand and obtain solutions
• Linear ordinary differential equations (ODEs),
– Homogeneous solution and particular solution
– Transient solution and steady state solution
– Solution caused by initial values, and forced solution
• Easy to check the Stability of stationary states (Laplace
Transform)
Basil Hamed 69
2.11 Linearization
Basil Hamed 70
Modeling – Why Linearization
• Actual physical systems are inherently nonlinear. (Linear
systems do not exist!)
• TF models are only for Linear Time-Invariant (LTI)
systems.
• Many control analysis/design techniques are available
only for linear systems.
• Nonlinear systems are difficult to deal with
mathematically.
• Often we linearize nonlinear systems before analysis and
design.
Basil Hamed 71