Journal of Computer Science

Design and Implementation of an Optimal Fuzzy Logic Controller Using Genetic Algorithm

S. Khan, S. F. Abdulazeez, L. W. Adetunji, A. H.M.Z. Alam and M. J.E. Salami

DOI : 10.3844/jcssp.2008.799.806

Journal of Computer Science

Volume 4, Issue 10

Pages 799-806


All control systems suffer from problems related to undesirable overshoot, longer settling times and vibrations while going form one state to another state. Most of relevant techniques had been in the form of suggesting modification and improvement in the instrumentation or interfacing part of the control system and the results reported, remain suffering from shortcomings related to hardware parameter dependence and maintenance and operational complexities. Present study was based on a software approach which was focusing on an algorithmic approach for programming a PIC16F877A microcontroller, for eliminating altogether the parametric dependence issues while adding the benefits of easier modification to suit a given control system to changing operational conditions. Said approach was first simulated using MATLAB/SIMULINK using the techniques of Proportional Derivative Fuzzy Logic Controller (PD-FLC) whose membership function, fuzzy logic rules and scaling gains were optimized by the genetic algorithm technique. Simulated results were verified by programming the PIC16F877A microcontroller with the algorithm and using it on a temperature control system where a fan was regulated in response to variations in the ambient system temperature. Resulting tabulated performance indices showed a considerable improvement in rising and settling time besides reducing overshoot and steady state error.


© 2008 S. Khan, S. F. Abdulazeez, L. W. Adetunji, A. H.M.Z. Alam and M. J.E. Salami. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.