›› 2012, Vol. 25 ›› Issue (1): 42-.

• Articles • Previous Articles     Next Articles

Fuzzy Controller HDL Code Automatically Generated Based on Matlab

 ZHU Ge-Jun-Gui   

  1. (Lab of Precision Mechano-electronics Systems and Control Engineering,Shanghai Normal University,Shanghai 201418,China)
  • Online:2012-01-15 Published:2012-01-10

Abstract:

This article,taking the Water Level Control in a Tank as an example,proposes a fuzzy controller automatic HDL code generation method based on Matlab.The generated code can be ported to the FPGA control system.The method is divided into four steps:(1)The fuzzy controller is designed using Fuzzy Logic Toolbox in the Matlab.(2)The fuzzy controller is transformed into the form of Lookup Table.(3)The controller Lookup table is implemented with the state machine.(4)The fuzzy controller implementation with state machine was translated into HDL code by HDL Coder.

Key words: FPGA;Matlab;Simulink;fuzzy controller;Lookup Table;state machine;HDL Colder

CLC Number: 

  • TP273+.4