Project9 Levitation
Project9 Levitation
Two input channels used for ball position and coil current measurement . One
analog output used for coil power amplifier driving. The power amplifier is built-in
current/voltage power convertor with coil overheat protection and Input: 0-5 V and
Output 0-1.5 A and 0.3 A/V( figure 1).
2. MODELING
Now it is presented one mathematical model not considering all of the dynamical
properties of the device attempting to simplify the derivation of the model. It is a
systematic modelling method whose approach is a direct derivation of the model by
computing the force balance.
figure 4- Force balance scheme for the coil and ball subsystem
The motion equation is based on the balance of all forces acting on the ball, i.e.
gravity force (Fg), electromagnetic force (Fm) and the acceleration force (Fa) as
seen above.
I
figure 5- The power amplifier and its internal structure
Because neither amplifier gain (Kam) nor the coil resistence (R) and inductance
(L) are directly measurable, the amplifier and coil subsystem has to be modelled
with the transfer function of 1st order with aggregated coefficients Ki - gain and Ta
- time constant.
The amplifier is designed so that its time constant is negligible with respects to
system dynamics and the current limits are not reached under standart operating
conditions. Then the subsystem can be modelled just as a constant gain:
To model the limits, model constants have to vary according the ball position
After running the program you'll see main control panel window.
You can see buttons labeled Start, Stop, Plot and Reset at the down right
corner of the screen. In the working area there is a filled green circle representing
the actual position of the metal ball and an empty red circle showing the setpoint.
By clicking the Start button you start the control process. Pressing Stop button
stops the experiment. You can change the setpoint by pointing the mouse cursor to
the working area and clicking the mouse at the position of the new setpoint . The
cursor changes its shape to indicate that the setpoint setting is active. The red
circle changes its position and controller immediatelly accepts the new value of set
point. You can also change the PID coefficients by dragging the button to change
the mantissa. Another possibility for changing the PID coefficients is to use the
Controller menu item. The Reset button reverts the original coefficients of the PID
controller. You can exit the demonstration program by closing the main control
panel window.
By clicking the Plot button you open a new screen to see history plots. Similarly
to the main control panel, the red lines represent the setpoints and the green lines
represent the actual position. You can hold the updating by clicking the Hold button
and clear the plots by clicking the Clear button. By clicking the close button you
close this window. The range of the time axis can be set from the Range menu.