Page 234 - Introduction to Microcontrollers Architecture, Programming, and Interfacing of The Motorola 68HC12
P. 234

7.6 Fuzzy Logic                                                     211
























                           Figure 7.21. Fuzzy Logic Control System

            A microcontroller-based fuzzy logic control system has & fuzzy inference kernel and
        a knowledge base. See Figure 7.21. The fuzzy inference kernel is executed periodically
        to determine system outputs based on current system inputs. The knowledge base
        contains membership functions and rules.
            A programmer who does not know how the application system works can write a
        fuzzy inference kernel. One execution pass through the fuzzy inference kernel generates
        system output signals in response to current system input conditions. As in a
        conventional control system, the kernel is executed as often as needed to maintain
        control. If the kernel is executed too often, processor bandwidth and power are wasted;




























                             Figure 7.22. Membership Functions
   229   230   231   232   233   234   235   236   237   238   239