Implementation of Reconfigurable Fuzzy Logic Controller on 8-bit Microcontroller Using C-Generic Code

Main Authors: Samman, Faizal Arya, Sahali, Ida Rachmaniar, Ainuddin, Yulianti, Sombolayuk, Yustinus Upa
Format: Article
Bahasa: eng
Terbitan: , 2017
Subjects:
Online Access: http://repository.unhas.ac.id/handle/123456789/26346
Daftar Isi:
  • In Proc. of the 2005 International Conference on Instrumentation, Communication and Information Technology (ICICI 2005)
  • This paper presents the design and implementation of a fuzzy logic controller (FLC) on 8-bit microcontroller using C-generic code. The FLC can be reconfigured by modifying the generic code written in C language easily. The parameter of the input and output membership functions, the fuzzy inference rules can be reconfigured by change the parameter defined on the top of C-coded program easily to suite any control application. The generic codes of the FLC are divided into: Membership function, max and min operator, and defuzzification function. The C-generic code of the FLC has been implemented on an 8-bit Microcontroller device, Cygnal C8051f020 (MCS-51 family made Cygnal Corp.). The FLC has also been tested in term of its functionality and reconfiguration. And the test results have given control surfaces that are closely similar to MATLAB results. It seems that the C-generic code could be easily implemented on Microcontroller, and provides cost-effective efforts and short design time as well.