Mathematical Modelling: Magnetic Levitation System

image.png
(Image accessed from paksc.org )

I. INTRODUCTION
The article present a simple model of a Magnetic Levitation System as shown in F ig.1 and F ig.2. This is visually represented in the image above. From these representations, we obtain the mathematical model of its dynamics. In this text, we present in details the process of modelling a system using differential equation and linearize the equation to obtain its state space representation.

II. DESCIPTION OF DYNAMICAL SYSTEMS AND MODELS

A. Electrical Model

image.png

A series RL circuit describes the basic electrical model of a magnetic levitation system as shown in Fig.1. We apply Kirchhoff's voltage law (KVL) to obtain the first-order differential equation for the system.

image.png

This differential equation (1) describe the dynamics of the electrical model of the magnetic levitation system. In 1986, Wong [2] approximates the inductance L(x) in a magnetic levitation system. Wong approximates the inductances L(x) as

image.png

where L0 and x0 are constant and arbitrary to levitation distance. When we substitute (2) to the first-order DE (1), we yield

image.png

The first-order DE (3) approximates the electrical model in reference to an arbitrary levitation distance for the magnetic levitation system.

B. Mechanical Model

image.png

The ball levitates when the electromagnetic force in the coil is equal to magnetic force F(x, t) exerted by the coil to its mass m. We apply Newton’s Law to yield the dynamics of the system. We get

image.png

The energy needed to sustain the levitation in the ball at a distance x is same amount of energy induced by the coil. We obtain

image.png

where k1 is a relational constant between energy in the coil and energy experienced by the ball. The inductance L is approximated as image.png. If we consider l varies directly with x, we define

image.png

where image.png and k3 is a constant relating l and x. We substitute (6) to (5) in order to define the magnetic force acting on the ball.

image.png

where image.png. Then, we substitute (7) to the first order DE (4). We get

image.png

III. STATE SPACE MODEL

A. Nonlinear Models
In this section, we define the state variables

image.png

We transform first-order DE (3, 8) to state space equations using the state variables (9). We obtain

image.png

Considering x0 is a close distance with x, We approximate L(x) as a constant L. We define

image.png

We relates the constants for both electrical and mechanical model by considering L and L0 has minimal difference. We substitute image.png and image.png to equation (5). We get

image.png

where k = k4. We simply the state space equation (11) by substituting L0x0 = 2K. We obtain

image.png

For first-order DE (9), we have a state space equation:

image.png

B. Linearization
Earlier, we derive the state space equations:

image.png

We define the equilibrium points:

image.png

We use the equilibrium points (16) and partial differentiation to linearize state space equations (15). We obtain the following state space equations:

image.png

image.png

image.png

The state space equations (17, 18, 19) represent the linear approximations of the dynamics of a magnetic levitation system.

C. Vector Matrix
We can express the state space equations (17, 18, 19) to its vector matrix form. We define state space matrices

image.png

where A, B, C, and D is the system , input, output and the feedforward matrix respectively.

We obtain the state space system representation

image.png

image.png

IV. CONCLUSION
In the previous sections, the step by step derivation of the mathematical model (time-domain and state space) was presented. The system represented in Fig. 1. and Fig. 2. yield to a nonlinear equation which is difficult to implement in a controller. These nonlinear equations were linearized using partial differentiation. This is to ensure that the state space model is linear and easier to implement. An important point to remember in linearization is to establish the equilibrium point. In general, the mathematical model of the magnetic levitation system is nonlinear and have two degrees of freedom. This makes the system difficult to develop a suitable controller using the nonlinear system model. Thus, a linearized state space equations were derived to make an easily interpretable controllers.

V. REFERENCES

[1] J. Roubal, P. Husek and J. Stecha, ”Linearization: Students Forget the Operating Point,” in IEEE Transactions on Education, vol. 53, no. 3, pp. 413-418, Aug. 2010, doi: 10.1109/TE.2009.2026427.

[2] T. H. Wong, ”Design of a Magnetic Levitation Control System: An Undergraduate Project,” in IEEE Transactions on Education, vol. E-29, no. 4, pp. 196-200, Nov. 1986, doi: 10.1109/TE.1986.5570565

[3] Norman S. Nise. Control Systems Engineering (7th. ed.). 2000. John Wiley & Sons, Inc., USA.

(Note: All images and formulas in the text is created by the author, except for those with separate citation or links. The formula in the text is formatted in Latex.)

Posted with STEMGeeks