Control_of_Magnetic_Levitation_System_Using_Fuzzy_Logic_Control
Control_of_Magnetic_Levitation_System_Using_Fuzzy_Logic_Control
F G X X0 I I0 V V0
f x i u (5)
G D I max Vmax
d 2x D d 2x D d 2x
Figure 1 Maglev Plant Equipment f m. D . 2 m (6)
G dt m.g dt 2 g dt 2
The magnetic ball suspension system consists of an
electromagnet, a ball rest, a ball position sensor, and a steel D wF I max wF
ball. The magnetic ball suspension system can be f .x . .i (7)
G wX I0 G wI X0
categorized into two systems: a mechanical system and an
electrical system. The ball position in the mechanical L di
u i (8)
system can be controlled by adjusting the current through the R dt
electromagnet where the current through the electromagnet Let set the gains and time constant as
in the electrical system can be controlled by applying
I max wF L D wF D
controlled voltage across the electromagnet terminals. Ke , Te , Km , Tm (9)
G wI X0 R G wX I0 g
Then the equation (5), (6), and (7) can be rewritten as
d 2x
f Tm 2 . (10)
dt 2
f K m .x K e .i (11)
di
u i Te . (12)
dt
Figure 2 Schematic of Magnetic Levitation System
The voltage equation of the electromagnetic coil is given Then the block diagram of the linearised model as shown in
in equation 1. Figure 3.
di
U IR L (1)
dt
The magnetic force applied by the electromagnet is opposite
direction compare to gravity force and it maintains the
suspended steel ball levitated. The magnetic force F
depends on the electromagnet current I, electromagnet
characteristics and air gap x between the steel ball and the
Figure 3 Block Diagram of Linearization System
electromagnet. The motion of the steel ball in the magnetic
filed is expressed as
B Fuzzy Logic Control
d 2x
F mg m (2) Fuzzy logic controller design is based on the linguistic
dt 2 description of the control strategy. There are specific
E i2 components characteristic of a fuzzy controller to support a
F (3) design procedure. In the block diagram in Figure 4, the
h
In the equation 3, shows that the current flows in the coil controller is between a preprocessing block and a
is nonlinear. The steady state of the operating point air gap postprocessing block. The following explains the diagram
between mass and the electromagnet is maintained by block by block. There are three sources of nonlinearity in a
generating on magnetic force, which is adjusted so that the fuzzy controller.
gravitational force of the steel ball is balanced. Using • The Rule Base - The position, shape and number of
fuzzy sets as well as nonlinear input scaling cause
52
48
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on December 25,2024 at 17:00:15 UTC from IEEE Xplore. Restrictions apply.
nonlinear transformations. The rules often express a
nonlinear control strategy.
• The Inference Engine - If the connectives and and or
are implemented as for example Min and Max
respectively, they are nonlinear.
• The Defuzzification - Several defuzzification
methods are nonlinear.
53
49
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on December 25,2024 at 17:00:15 UTC from IEEE Xplore. Restrictions apply.
Figure 9 Different shapes like bell-shaped, triangular,
trapezoidal and singleton.
From all data shows that least error is coming from Fuzzy
controller. The biggest errors come from the controller
designed by Matlab.
54
50
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on December 25,2024 at 17:00:15 UTC from IEEE Xplore. Restrictions apply.
Figure 17 Error gain = 2, dif error = 0.02, output gain = 400,
integral error gain = 0.
In Figure 16, shows that only error applied in
membership function in Fuzzy Logic Controller, the output
Figure 14 Simulink of Magnetic Levitation System from the MAGLEV tends to unstable. Then when applied
the change of error in the membership function show in
Figure 14 show the simulink block in the MATLAB tool. Figure 17, the output now to be steady state value. But still
From figure, it has the design of PID controller, Fuzzy logic now good because have steady state error.
controller and MATLAB controller.
55
51
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on December 25,2024 at 17:00:15 UTC from IEEE Xplore. Restrictions apply.
IV CONCLUSION AND FUTURE WORK Propulsion Conference, 2008 , Page 1-3.
[6] Yang, Zhenyu, Pedersen, Gerulf, “Automatic tuning of PID
The output of the magnetic levitation system is observed controller for a 1-D levitation system using a genetic
and analyzed. Apart from that, comparisons are made to see algorithm – a real case study”, IEEE international
which systems give better performances by considering the Conference on Control Application, 2006, Page 3098 – 3103.
time settling, time peak, steady state error and how much [7] John Yen, Reza Langari, Lotfi A.Zadeh.(1994),Industria
oscillations occurs. Application of Fuzzy Logic and Intelligent Systems. New
From the figures, we can conclude that the PID Jersey: IEEE PRESS.
controller gain is proportional with time integral. This [8] Tzu-Hseng S Li, Ming-Yuan Shieh, “Switching-type fuzzy
means when the Kp value is bigger, the output will have sliding mode control of a cart±pole system”, Mechatronic
Elsevier, March 2000, Page 91-109.
smaller value of offset but the more oscillatory the process
[9] CHAO-LIN KUO, TZUU-HSENG S. LI_ and NAI REN
becomes. Where else, if the Ti is bigger, the offset is bigger GUO (2005). “Design of a Novel Fuzzy Sliding-Mode
but the oscillation is less. Control for Magnetic Ball Levitation System “Journal of
As for the fuzzy controller, the response is slower than Intelligent and Robotic Systems 42: 295–316 © Springer
the PID controller. However, fuzzy controller shows the 2005.
best performance in terms of lowest overshoot among three [10] Mamdani, E.H., and S.Assilian (1975).An experiment in
controller and no steady state error. It reaches the desired linguistic synthesis with a fuzzy logic controller.
setpoint at t = 0.98 sec. The PID controller has steady state International Journal of Machine Studies 7(1).
error and with the best adjustment, it reaches to the [11]Franklin. G.,D.Powell, and A.Emami-Naeini (1991).
Feedback control of dynamic systems.
desired set point. Scaling factors are most important with
Reading,Mass.:Addison-Wesley.
respect to fuzzy controller performance and provide a [12] John Gerry, Michel Ruel (2002). Control Solutions.
guideline for tuning. It was shown that the scaling Simulation on The Road to Optimization.
factors play a role similar to that of the gain coefficients for rd
conventional controllers. [13] Nise S.N.(2000), Control System Engineering (3 ed).New
York: Wiley.
In the fuzzy controller, if there not provide the
[14] Jantzen, Jan.(2007),Foundation of Fuzzy Control. British:
integration of error, the steady error cannot be eliminates. Wiley.
That is why here integration of error need to apply in the [15] Smith, A.C. (2006), Principles and Practice of Automatic
membership function. Process Control (3rd edition). New Jersey: Wiley.
The extensions of this research lie primarily in the areas
of implementation and applications of the FLC. It is highly
recommended that a faster Digital Signal Processing (DSP)
be used for the implementation of the FLC.
In the future, it can be implemented the PID-Fuzzy
controller or Neural Network controller to control the
MAGLEV system.
Lastly, this simulation can be implemented to magnetic
levitation system, CE152 model. Then it can be compared
the result between simulation value and the actual plant
value
REFERENCES
[1] Walter Barie; John Chiasson , Linear and nonlinear state-space
controllers for magnetic levitation , International Journal of
System Science, Volume 27, Issue 11 November 1996, Pages
1153-1163.
[2] Cho, D.; Kato, Y.; Spilman, D., “Sliding-Mode Controller and
Classical Controller on Magnetic Levitation System”, Control
System Magazine, IEEE, 1993,Volume 13, Page 42-48.
[3] Chen Wenbai, Meng Xuan, Li Jinao, “PID Controller Design of
Maglev Ball System Based on Chaos Parameter Optimization”,
International Conference on Machine Vision and Human-
Machine Interface(MVHI), 2010, Page 772-775.
[4] Wai R, Lee J, Chuang K, “Real-Time PID Control Strategy for
Maglev Transportation SystemVia Particle Swarm
Optimization”, IEEE Transaction on Industrial Electronics,
2010, Page 1-1.
[5] Ding Zhang, Ning Wang, Yungang Li, Wensen Chang,
“Parameter self-adaptive PID algorithm for magnetic power
supply on maglev train”, IEEE Vehicle Power and
56
52
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on December 25,2024 at 17:00:15 UTC from IEEE Xplore. Restrictions apply.