Lab 4
Lab 4
Lab 4
EXPERIMENT 4
OBJECTIVE
PRELIMINARY
The experimental rig of the Magnetic Levitation (Maglev) system shown in Figure 1a
is used to levitate a magnet in air by an electromagnetic force generated by an
electromagnet. The position of the magnet is measured by a sensor on the maglev rig
and available for feedback. The simplified attractive Maglev system is shown in Figure
1b, where 𝑥 is the distance of the magnet from the base (mm), 𝑖 is the coil current
(Ampere), 𝑔 is the gravitational constant 9810 ( , 𝐹 is an electromagnetic force
(mN), 𝐾 is the electromagnetic force coefficient , m is the mass of the
magnet 0.0282 (Kg) and the distance from the base to the surface of the electromagnet
is 10.2 (mm).
(a) (b)
Figure 1. Magnetic levitation system
1
The dynamic equation of the above system is as follows:
𝑚 𝐾 𝑚𝑔 (1)
.
.
𝐾 (2)
̂
𝐾 𝑔 (3)
.
But
(4)
̂
Let 𝑓 𝑥, 𝑖 𝐾 𝑔 𝐾 𝑔 which can be
. .
linearized with the truncated Taylor series as follows:
𝑓 𝑥, 𝑖 𝑓 𝑥 ,𝑖 𝑥 𝚤̂ (5)
, ,
𝑥 𝚤̂ (6)
, ,
2
3. 𝐷erive the transfer function of the linearized system Eq. (6) at the
equilibrium point: 𝑃 𝑠 .
PROCEDURE
X(s)
𝐶 𝑠𝑠
𝐾𝐶
where
𝐶 𝑠 𝐾 𝐾 𝑠 (7)
3
3. Analyse the system performance with a PID controller where 𝐾 1, 𝐾
1 𝑎𝑛𝑑 𝐾 0.01 in Eq. (7).
a) Plot the system root locus with the PID controller above and 𝐾 ∈
0, ∞ . Analyse the system stability and the accuracy to a unit step
input. Comment on the effects of the PID controller.
b) Plot the system step response with the PID controller above and
K=1. Comment on the system performance.
Set up the experimental system and conduct the following steps. The detailed
instructions are available in the lab.
2. Record the closed loop step response with the PID controller (𝐾
1, 𝐾 1 𝑎𝑛𝑑 𝐾 0.01, 𝑎𝑛𝑑 𝐾 1).
REPORT
Please refer to the guideline for laboratory works in the Canvas regarding how
to write your report.