Experiment No.03: Mathematical Modeling of Physical System: Objective
Experiment No.03: Mathematical Modeling of Physical System: Objective
03:
Mathematical Modeling of Physical
System
CHUM Pharino
Department of Electrical and Energy Engineering
Institute of Technology of Cambodia
March 9, 2021
Objective
1. To understand the role of mathematical models of physical systems in design and analysis of
control systems.
The representation of a system provides complete knowledge of all variables of the system at any
t > f0 As an example, for a linear, time-invariant, second-order system with a single input v(t), the
state equations could take on the following form:
dx1
= a11 x1 + a12 x2 + b1 v(t) (1)
dt
dx2
= a21 x1 + a22 x2 + b2 v(t) (2)
dt
where x1 .x2 are the state variables. If there is single output, the output equation coult take on the
following form:
y = c1 x1 + c2 x2 + d1 v(t) (3)
The choice of state variables for a given system is not unique. The requirement in choosing the state
variables is that they be linearly independent and that a minimum number of them be chosen.
A system is represented in state space and a state vector space by the following equations:
ẋ = Ax + Bu (4)
y = Cx + Du (5)
• A is system matrix.
• B is input matrix
• C is output matrix
• D is feedforward matrix.
Page 1 of 5
Figure 1: Mass-spring system model.
a) Derive the second order differential equation of the above mass-spring system.
d) Construct a SIMULINK diagram to calculate the response of the Mass-Spring system. The input
force increases from 0N to 8N at t = 1s. The parameter values are M = 2kg, K = 16N/m,
and B = 4N.s/m (Draw a block diagram to represent this equation and draw the corresponding
SIMULINK diagram before implementing it on SIMULINK).
d) Construct a SIMULINK diagram to calculate step and impulse responses of the above systems.
Use R = 3, L = 4 and C = 2 (Draw a block diagram to represent the equations and draw the
corresponding SIMULINK diagram before implementing it on SIMULINK).
2
Lab Assignment
I. Inverting Operational Amplifier Circuit
For figure 3 find the following:
II. DC Motor
A permanent magnet dc motor is a mechanism which converts electrical power to mechanical power via
magnetic coupling. The electrical power is provided by a voltage source, while the mechanical power is
provided by a spinning rotor. A very basic dc motor is constructed of two main components: the rotor
or armature and the stator. The armature rotates within the framework of the stationary stator. A
simple illustration of a dc motor is shown in figure below:
The voltage across the inductor is proportional to the change of current through the coil with respect
to time. DC-motor mchanical equation could be written as follow:
dωm
J = Te − bv ωm − TL (6)
dt
Where J moment of inertia of a rotor, and bv is motor shaft viscous friction constant. Electrical
part of system coud be model by equation:
dia
Va = Ra ia + La + ea (7)
dt
3
Assumpt that negletible field dynamic, constant ea = k1 ωm and Te = k2 ia , where k1 and k2 are assumed
motor constants. Assume that we know all parameters:
a) Find the differential equation of the motor, transfer function and state space equations.
b) Make the block diagram of the transfer function and implement it in MATLAB SIMULINK. You
can reduce the block diagram according to your understanding and you are required to explain
each step of reduction in detail.
c) Write detailed analysis on the step response of the DC motor. State the assumptions in your
report.
Reference Formula
Video Material:
• How does an Electric Motor work? (DC Motor): https://youtu.be/CWulQ1ZSE3c
formula:
Figure 5: Voltage-current, voltage-charge, and impedance relationships for capacitors, resistors, and inductors.
4
Figure 6: Force-velocity, force-displacement, and impedance translational relationships for springs, viscous
dampers, and mass.
Figure 7: Torque-angular velocity, torque-angular displacement, and impedance rotational relationships for
springs, viscous dampers, and inertia.