Abstract

This paper presents the two-dimensional fuzzy sliding mode control of a field-sensed magnetic suspension system. The fuzzy rules include both the sliding manifold and its derivative. The fuzzy sliding mode control has advantages of the sliding mode control and the fuzzy control rules are minimized. Magnetic suspension systems are nonlinear and inherently unstable systems. The two-dimensional fuzzy sliding mode control can stabilize the nonlinear systems globally and attenuate chatter effectively. It is adequate to be applied to magnetic suspension systems. New design circuits of magnetic suspension systems are proposed in this paper. ARM Cortex-M3 microcontroller is utilized as a digital controller. The implemented driver, sensor, and control circuits are simpler, more inexpensive, and effective. This apparatus is satisfactory for engineering education. In the hands-on experiments, the proposed control scheme markedly improves performances of the field-sensed magnetic suspension system.

1. Introduction

Sliding mode control (SMC) is a powerful nonlinear control technique [1, 2]. SMC applies a discontinuous control signal that forces the system trajectory to slide along the boundaries of the control structures. The controlled system is switched from one continuous structure to another. Hence, sliding mode control is a variable structure control methodology. SMC has low sensitivity to the plant parameter uncertainties and disturbances. SMC can apply to a class of nonlinear systems in the global sense and consider robustness issues for modeling uncertainties and disturbances. The disadvantage of SMC is the problem of chattering.

Recently, applications of the fuzzy sliding mode control (FSMC) are popular [3, 4]. The FSMC can reduce the chattering problem. The FSMC integrates the sliding mode control (SMC) and the fuzzy logic control (FLC). The fuzzy set theory was introduced by Wang [5]. The FLC methods have been investigated for almost 50 years. They have been successfully adopted for many engineering applications. The FSMC provides a minimal fuzzy set of the FLC and a systematic design procedure [3, 4]. It provides a simple way to achieve asymptotic stability of the system. In general, FSMC fuzzifies the sliding manifold to improve the chattering problem caused by the switching in the control input. This is the same idea applied in the present work. But the fuzzy control part of FSMC is reinforced by the two-dimensional fuzzy control in this paper. The advantages are more flexible to design the fuzzy control part and more effective to reduce the system chattering. The two-dimensional fuzzy sliding mode control (2DFSMC) improves the problem of chattering effectively. The disadvantage of 2DFSMC is the computational load.

Magnetic suspension techniques have been widely used in different fields of industrial applications such as levitation of high speed trains [6, 7], frictionless bearings [8], and magnetically suspended wind tunnels [9]. Magnetic suspension systems (MSS) are nonlinear and inherently unstable. Hence, they are good apparatus for verifying different control techniques. Magnetic suspension systems are appropriate educational tools in engineering courses [1024]. Cho et al. [10] provided an experimental comparison between a sliding mode controller and a classical controller for a magnetic levitation system (MLS). As expected, the sliding mode controller provided perfect performance. Shen [11] compared the control, the sliding mode control, and the PID control of the MLS. From experimental results of Shen [11], these three controllers were excellent at specified conditions. Al-Muthairi and Zribi [12] addressed specified dynamic sliding mode control of a MLS. From simulation results, the proposed control scheme reduced the chattering problem. Yang et al. [13] proposed the dynamic surface control a voltage-controlled MLS. The developed dynamic surface control is modified and applied to the system under study. Kuo et al. [14] presented the design of a novel fuzzy sliding-mode control (NFSMC) for the magnetic ball levitation system. A NFSMC scheme was an integration of the SMC and the FSMC with an adjustable gain. Simulation results suggested that the proposed scheme is feasible for the magnetic ball levitation system. Chiang et al. [15] proposed an integral variable-structure grey control for a MLS. The proposed controller does not require exact knowledge of the maximum uncertainly boundary for disturbances and parameter variations. Experimental results therein showed good performance and reduces the chattering phenomenon. Chen et al. [16] proposed the fuzzy sliding mode control of a magnetic ball suspension system. The adaptive fuzzy estimator was designed to estimate the unknown lumped uncertainty. It reduced the chattering magnitude or steady state error phenomenon. Lin et al. [17, 18] proposed two SMC and neural network controllers of the MLS. In [17], the sliding-mode control system using a radial basis function network (RBFN) is proposed to control the position of a levitated object of a MLS. In [18], a robust dynamic sliding mode control system using a recurrent Elman neural network (RENN) is proposed to control the position of a levitated object of a MLS. The RBFN is utilized to estimate the uncertain system dynamics online. The RENN is used to estimate the unknown nonlinear function of the MLS. Both stabilities of these controls were guaranteed by way of Lyapunov stability analysis. The experimental results were included in these papers. Li [19] proposed a fuzzy supervisory control of a DSP-based MLS. The discrete-time model of the MLS is derived and the stability is guaranteed by the root locus methodology. A fuzzy supervisory control is used to compensate for system nonlinearities. Li and Wu [20] proposed the two-dimensional fuzzy sliding mode control (2DFSMC) of the MLS. Now, the same idea is applied to the field-sensed magnetic suspension system (FSMSS) in this paper. The more precise derivations are proposed. With respect to the FSMSS, novel circuits are proposed. The implemented driver, sensor, and control circuits are more simple, inexpensive, and effective. Shieh et al. [21] proposed a robust optimal sliding-mode control approach for position tracking of a MLS. The feedback linearization method is used and the integral SMC and control were based on linearized model. The experimental results verified the proposed control scheme.

Lundberg et al. [22] used inexpensive experiments to teach the analysis and design of magnetic levitation in undergraduate control courses. The analog control of the FSMSS is a class project at MIT (Massachusetts Institute of Technology) on feedback systems. Subsequently, Li [23] proposed multiloop PID control for the FSMSS. Two control loops are implemented. The control scheme is mathematically analyzed by the Routh stability criterion. The stability of the FSMSS is guaranteed and the experimental result is accomplished successfully. Later, the FSMSS is extended to a discrete-time control scheme [24], and the problem of robust stability on discrete-time systems is addressed. The size of allowable perturbation in polynomial coefficient space was estimated for the output feedback control of the FSMSS. This paper presents the 2DFSMC of the FSMSS. The sliding manifold and its derivative are both fuzzied for fuzzy logic rules. The more precise derivations are proposed. For the hands-on experiments, this proposed control scheme improves performances of the FSMSS.

This paper is organized as follows. The SMC control methodology is presented in Section 2. The FSMC control technique is stated in Section 3. The presented 2DFSMC control strategy is delineated in Section 4. The hands-on experiments are discussed in Section 5. The conclusion is provided in Section 6.

2. Sliding Mode Control

The control model of a FSMSS is shown in the following [19, 20, 23, 24]: where is the mass of the magnet, is the distance between the electromagnet and the magnet, is the coil current, and is the gravitational acceleration. The electromagnetic force is the function of . Let the distance be the function of the measurement output () of the magnet position . If the sensor circuit is linear, for example , is a constant. Then and and (1) is rewritten as follows: where is the approximate polynomial function and (if then ). Let be the position measurement, its derivative, and control input the coil current. The nonlinear state equation of a FSMSS is

The control objective is to control the levitation height at the desired height . Let the tracking error be with respect to the tracking control, an integral error term is included in the sliding manifold as follows: For the SMC, the approaching and sliding conditions of the sliding manifold is By Lyapunov stability criterion, if the above condition holds, the asymptotical stability is guaranteed for nonlinear systems. The derivative of is given as follows: The equivalent control law for can be obtained as follows [1, 2, 10]: and the complete sliding mode control is given as follows: where is a positive real number and the sign function is Substituting (9) into , we can obtain the following inequality Therefore the controller (9) satisfies the approaching and sliding conditions (6). The error and the error integral approach to zero for steady states. One possible method of improving the chattering problem is to replace the sign function with the saturation function as follows [1, 2, 10]: where is a positive real number and is the band parameter and is a positive real number.

3. Fuzzy Sliding Mode Control

In this section, the general FSMC is reviewed. From (9), the FSMC is determined by where is the denormalized factor of FSMC and is the normalized factor of . The fuzzy inference rules are generally determined as follows:Rule 1: IF is PB, THEN is PB,Rule 2: IF is PM, THEN is PM,Rule 3: IF is PS, THEN is PS,Rule 4: IF is ZE, THEN is ZE,Rule 5: IF is NS, THEN is NS,Rule 6: IF is NM, THEN is NM,Rule 7: IF is NB, THEN is NB.

The linguistic sets of the universe of discourse and the fuzzy control output have the forms, positive big (PB), positive middle (PM), positive small (PS), zero (ZE), negative small (NS), negative middle (NM), and negative big (NB). The membership functions are shown in Figure 1. The centroid defuzzification method can be expressed by the following equation: where is the rule number and is the membership function. Substituting (14) into , we can obtain the following inequality: From Rule 1 to Rule 7, the sliding manifold and fuzzy control are in phase. Hence, the controller (14) satisfies the approaching and sliding conditions (6).

4. Two-Dimensional Fuzzy Sliding Mode Control

In this section, the two-dimensional fuzzy sliding mode control (2DFSMC) is reviewed and presented. The 2DFSMC technique is to use both the sliding manifold and its derivative , simultaneously. Similarly from (9), (12), and (14), the 2DFSMC is given as follows: where is the fuzzy function of and . is the denormalized factor, is the normalized factor of , and is the normalized factor of . The membership functions of fuzzy numbers , , and and the linguistic states PB, PM, PS, ZE, NS, NM, and NB are shown in Figure 2. The design rules are to make the derivative of Lyapunov function negative. They can be represented in Table 1. In the previous section, only one proposition is concerned. It is named one-dimensional fuzzy sliding mode control. Taking Table 1 into account, both of and are discussed. Therefore, it is named 2DFSMC. For the defuzzification, the same centroid defuzzification method is utilized as follows: where the inferred membership function is . The total number of possible nonconflicting fuzzy inference rules is 49. Therefore, the fuzzy conclusion of has the following property: Substituting (17) into , the derivative of the Lyapunov function can be obtained: Now, we focus on the rule table. Let the rule base Table 1 be viewed as a phase plane of fuzzy numbers; the horizontal axis is and the vertical axis is the derivative of . The diagonal linguistic states are all ZE; then the diagonal line is From the rule base Table 1, the upper triangular linguistic states are all positive and the lower triangular linguistic states are all negative. By rearranging (21), we can obtain Substituting (22) into , we can obtain the derivative of the Lyapunov function as follows: Hence, the 2DFSMC controller (17) satisfies the approaching and sliding conditions (6). The asymptotical stability is guaranteed and the system chattering is reduced.

5. Hands-On Experiments

In this section, the hands-on experiments will be presented. The setup of the FSMSS experiment is shown in Figure 3. The driver and sensor circuits are shown in Figure 4. These circuits are new designed for the FSMSS. The circuit of Figure 4(a) is the coil current sensor and driver. The MOSFET IRF1010E is served as a switch of pulse width modulation (PWM). The IR2101S is a MOSFET trigger chip. This switch element is placed on the top of the driver circuit. The current sensing resistor is placed on the bottom of the driver circuit. We can use an inexpensive element in this circuit. Otherwise we must use an expensive current sensor. The PWM control is from the Arminno [25] PWM port and the frequency of PWM is 17.6 KHz. Arminno is a 32-bit microcontroller board based on ARM Cortex-M3 processor. The ARM Cortex-M3 processor is the industry-leading 32-bit processor nowadays. It is suitable to develop high-performance low-cost platforms for industrial control systems. The μVision4 development environment [26] helps us quickly create and test embedded applications for the Cortex-M processor. The μVision4 includes a text-editor, a C-complier, an assembler, a debugger, and a download tool. Users can realize control theories by use of C-programs. In our hands-on experiments, the programs are designed by C-language and based on μVision4 development environment.

When the MOSFET is off, the flywheel diode (1N5819) can maintain coil current circuit. It can avoid the open-circuit spark. The 0.2  resistor transfers current signal to voltage signal. The coil current signal is sampled by the Arminno analog to digital (A/D) port. The sample rate is 1 KHz. The circuit of Figure 4(b) is the magnet position sensor circuit. The A1321 is a magnetic field sensor which has a ratiometric output voltage. It varies in proportion to the strength of the magnetic field. The noninverting amplifier is adjusted so that the magnet position signal varies from 0 Volts to 3 Volts. When the magnet is placed on the top of A1321, the output voltage can be measured as 3 Volts. The output voltage is decreasing while the magnet is pulled away from the A1321. So we can measure the position of the magnet by this circuit. From Figure 5, the bottom of the magnet is exactly 1 cm away from the magnetic field sensor; then the measured voltage is 1.5 Volts and the distance between the electromagnet and the top of the magnet is 4 cm (). The bias current required to balance the gravitational force is 0.5 Amps.

The block diagram of a FSMSS is shown in Figure 6. Two control loops are utilized in Figure 6. The coil current is compensated in the inner loop and the magnet position is stabilized in the outer loop. The coil current is well designed by digital PI (proportional and integral) controller [19, 20, 24]. Figure 7 is from the digital storage oscilloscope. This picture shows the step response of the coil current signal from 1 Volt to 2 Volts. The vertical scale is 500 mV/Div and the horizontal scale is 10 ms/Div. From Figure 7, the settling time of the coil current is about 25 ms. The dynamics of coil current are faster than that of position, so the inner loop subsystem can be approximated as a constant gain current driver. Then the inner loop design is finished.

Now, the second hands-on experiment is to measure the characteristic curve of the FSMSS. From [19, 20, 24], the digital PD (proportional and derivative) control can be used to stabilize the FSMSS. We choose five equilibrium set points and find the corresponding stable bias coil current against gravity. By experiments, the corresponding stable input-output data are shown in Table 2. By Curve Fitting Tool of MATLAB, the characteristic curve is shown in Figure 8. The -axis is the position measurement and the -axis is the square of coil current. The fitting curve of Figure 8 is the 4th degree of polynomial and is presented as follows: where the coefficients of the polynomial are , , , , and .

The third hands-on experiment presents the 2DFSMC. In our experiments, the velocity of the magnet is not available. Hence, the approximation is made, where is the sampling period. Therefore (5) and (12) are modified as follows: where , is the present error, and is the previous error. Consider where the new parameters are , , and .

The FSMC based on (25), (26), and (14) is modified as follows: where the new parameter is .

Then the 2DFSMC (17) based on (25) and (27) is modified as follows: where the new parameters are and . For the 2DFSMC method, the experimental results are shown in Figures 9, 10, and 11. These pictures are from the digital storage oscilloscope. The vertical scale is 500 mV/Div. The new control parameters are given as follows: , , , , . Figure 9 is the set point response of the magnet position. The set point is 1.5 Volts. From Figure 9, the magnet position is stable at equilibrium position. Because the integral error control term is included in 2DFSMC, there is no steady state error in this set point experiment. Figure 10 shows the sinusoidal response of the magnet position. This result guarantees that 2DFSMC can work in global. From Figure 10, the input signal is . The vertical scale is 500 mV/Div and the horizontal scale is 2.5 s/Div. The maximum output value is 2 Volts and the minimum output value is 1 Volt. The measurement output tracks the command input stably. The 2DFSMC controller is verified to stabilize the nonlinear FSMSS. From Figure 10, the sinusoidal distortion is almost none. The step response is shown in Figure 11. The command is a square wave signal. The bias signal is 1.5 Volts. The amplitude of the square wave is 0.25 Volts. From Figure 11, the system response is underdamped. This is a common phenomenon for magnetic suspension systems. For the steady state condition, there is no steady state error in this response. In the third experiment, the 2DFSMC controller is guaranteed to improve the system chattering. In experiments, the PD type control is utilized to stabilize the equilibrium positions as shown in Table 2. The stability margin is not good enough. The PD type control cannot stabilize the FSMSS globally. In nonlinear and robust control aspect, the 2DFSMC controller is superior to the PD type controller.

6. Conclusion

This paper has successfully demonstrated the 2DFSMC of a FSMSS. For 2DFSMC technique, the sliding manifold and its derivative are both considered for fuzzy rules. The more precise derivations are proposed in this paper. The Lyapunov stability proof is based on fuzzy rule based plane. The horizontal axis is represented by the sliding manifold and the vertical axis is represented by the derivative of sliding manifold. The rule table is filled out in the form of stable sliding mode control.

For the hands-on experiments, a low cost FSMSS is realized. New design circuits are proposed. The implemented driver, sensor, and control circuits are more simple, inexpensive, and effective. The control scheme is based on two-loop control. This simplifies design procedure for control of coil current. The proposed 2DFSMC improves position responses of the FSMSS effectively. This can stabilize the FSMSS globally. These experiments are appropriate for engineering education.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors would like to express the sincere thanks to the reviewers for their invaluable comments and suggestions. This work is supported by the National Science Council, Taiwan, Republic of China, under Grant nos. NSC 102-2221-E-218-017 and NSC100-2632-E-218-001-MY3.