Engg. tutorials

Engg. tutorials

Instrumentation and Control Lab

(i) To model the magnetic levitation system

(ii) Design a controller to control the position of a steel ball in magnetic field

(ii) Design a controller to control the position of a steel ball in magnetic field

(i) Magnetic levitation apparatus with the steel ball, (ii) Data acquisition card (iii) PC with Matlab and Simulink software etc.

**Pre-lab tasks**

(i) Write down the equation of motion of a steel ball under the magnetic and
gravitational field. Find out the point of equilibrium.

(ii) Note that the equation governing the motion is nonlinear in nature. Linearise the
equation of motion at equilibrium point. You may take the equilibrium current and
positions are 0.8A and 0.009m respectively. Now find out the open loop transfer
function (take voltage as input and position of the steel ball as output). Now derive
the close loop transfer function with unity gain feedback.

(iii) Find out the pole zero locations of the transfer function. Also draw root locus and
bode plot of the system. Is the system is stable?

(iv) Implement the above system in Simulink. Observe the step response of the system.

(v) Now add a transfer function in the form of (K_{P} + K_{D}S). Take some initial guess of K_{P}
and K_{D}.

(vi) Plot the root locus and find out the values of K_{P} and K_{D} from desired root location.
Also study frequency response and find out the gain margin and phase margin of the
system.

(vii) Write down the closed loop transfer function of the overall system. Also draw block
diagram of the system.

(viii) Implement the system with controller in Simulink and observe the step response as
well as response for square wave set point.

(ix) Now instead of adding a transfer function in the form of (K_{P} + K_{D}S), add the transfer
function in the form of (K_{P} +K_{I}/S + K_{D}S). Repeat the steps (vi) to (viii).