DESIGNING A FUZZY CONTROLLER USING LABVIEW IMPLEMENTED ON A FPGA

Jesus de la Cruz-Alejo,∗ Juan C.G. Montalva,∗ and Ernesto E. Contreras∗

Keywords

Fuzzy controller, α-levels, Mamdani rules, look-up tables, LabVIEW, FPGA

Abstract

This paper aims at developing an intelligent controller with fuzzy logic technique using LabVIEW application and its control procedure applied to a solar tracking system. This application simulates the fuzzy logic stages according to the input conditions in a graphical environment whose results are implemented in digital circuits on a field programmable gate array (FPGA). To reduce runtime and simplify hardware description, the proposed fuzzy logic controller (FLC) uses α-levels to discretize membership values and look-up tables to store them. The FLC uses Mamdani max–min implication and centre of slice area average defuzzification method. Reading– writing–processing is carried out in real-time processing by a finite state machine in a very high speed and advanced synthesis and place and route tools. Crisp output values are compared with those obtained with the Matlab Fuzzy Logic Toolbox, showing that the error is small enough, and the maximum deviation is 2.75% for all parameters over a full range contained in the universe of discussion and a mean square error of 1.66 using 8 bits for sample. The proposed method could minimize the control error for the solar tracking system and reduce the clock cycles required to generate the active response.

Important Links:

Go Back