8024 CHAPTER 8. DIGITAL CONTROL
0 2 4 6 8 10 12 14
-1.5
-1
0.5
Time (sec)
11. It is possible to suspend a mass of magnetic material by means of an
electromagnet whose current is controlled by the position of the mass
(Woodson and Melcher, 1968). The schematic of a possible setup is shown
in Fig. 8.25, and a photo of a working system at Stanford University is
shown in Fig. 9.2. The equations of motion are
m•x=mg +f(x; I);
where the force on the ball due to the electromagnet is given by f(x; I).
At equilibrium the magnet force balances the gravity force. Suppose we
let I0represent the current at equilibrium. If we write I=I0+i, expand
fabout x= 0 and I=I0, and neglect higher-order terms, we obtain the
linearized equation
m•x=k1x+k2i: (1)
Reasonable values for the constants in Eq. (1) are m= 0:02 kg,k1= 20
N=m, and k2= 0:4 N=A.
(a) Compute the transfer function from Ito x, and draw the (continuous)
root locus for the simple feedback i=Kx.
(b) Assume the input is passed through a ZOH, and let the sampling
period be 0.02 sec. Compute the transfer function of the equivalent
discrete-time plant.
(c) Design a digital control for the magnetic levitation device so that the
closed-loop system meets the following specifications: tr0:1 sec,
ts0:4 sec, and overshoot 20%.