Hardware-in-the-loop simulation and implementation of a fuzzy logic controller with FPGA: case study of a magnetic levitation system


Akbatı O. , Uzgun H. D. , Akkaya S.

TRANSACTIONS OF THE INSTITUTE OF MEASUREMENT AND CONTROL, cilt.41, ss.2150-2159, 2019 (SCI İndekslerine Giren Dergi) identifier identifier

  • Cilt numarası: 41
  • Basım Tarihi: 2019
  • Doi Numarası: 10.1177/0142331218813425
  • Dergi Adı: TRANSACTIONS OF THE INSTITUTE OF MEASUREMENT AND CONTROL
  • Sayfa Sayıları: ss.2150-2159

Özet

This paper presents the design and implementation of a fuzzy logic controller using Very High Speed Integrated Circuit Hardware Description Language (VHDL) on a field programmable gate array (FPGA). First, a Sugeno-type fuzzy logic controller with five triangular and trapezoidal membership functions for two inputs and with nine singleton membership functions for one output is examined. The proposed structure is tested with second- and third-order system model using FPGA-in-the-loop simulation via a MATLAB/Simulink environment. Then, for different kinds of fuzzy logic controllers, a new look-up table (LUT) and interpolation-based controller implementation is proposed to eliminate the computational complexity of the primarily designed structure. As a case study, a magnetic levitation system is controlled with an adaptive neuro-fuzzy inference system (ANFIS) trained fuzzy logic controller, then it is simulated and implemented using a LUT-based controller. Finally, we provide a comparison of results.