Title :
Different Fuzzy Parameter Selection Based on Multiple Criteria for Microcontroller
Author :
Phongpensri, C. ; Sripanomwan, K.
Author_Institution :
Dept. of Comput., Silpakorn Univ.
Abstract :
In this paper, we explore memory usage, speed of execution, and accuracy tradeoff when developing fuzzy applications on a microcontroller. To develop fuzzy systems, various parameters need to be selected. Different parameters result in different degrees of accuracy and give different memory cost and execution time. In the experiments, we consider two typical controllers: fuzzy fan control and fuzzy pendulum. We target at PIC18F8722 microcontroller. We implement the example various fuzzy APIs in C for the microcontroller for testing the characteristics of typical fuzzy programs. We explore the tradeoff between the memory cost, speed and accuracy. The results show that when using table lookup for membership function, the time spent on the whole inference process grows linearly to the fuzzy set size. Using functions to represent the membership function is easy and save the code and data space. However, we need to spend time on calculating each membership value and floating support is needed. Bisection and COG defuzzification approaches outperform others. The max-min inference is slightly faster than max-product operation. The code size for the example fuzzy programs is around 15-30 K. The number of instructions increase when we use complex fuzzy inference operation, defuzzification, membership functions and more number of rules. The data size is increased linearly when the size of fuzzy sets grows. The accuracy rate varies majority on the size of the table storing membership values and defuzzfication method.
Keywords :
application program interfaces; fuzzy control; fuzzy set theory; fuzzy systems; inference mechanisms; microcontrollers; table lookup; COG defuzzification; PIC18F8722 microcontroller; accuracy tradeoff; complex fuzzy inference operation; floating support; fuzzy API; fuzzy fan control; fuzzy parameter selection; fuzzy pendulum; fuzzy programs; fuzzy sets; fuzzy systems; max-min inference; max-product operation; membership function; memory usage; speed of execution; table lookup; table storing membership values; Computer architecture; Consumer electronics; Costs; Fuzzy control; Fuzzy sets; Fuzzy systems; Hardware; Microcontrollers; Testing; Timing; Embedded Systems.; Fuzzy Applications; Microcontroller; PIC18F8722;
Conference_Titel :
Embedded and Ubiquitous Computing, 2008. EUC '08. IEEE/IFIP International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3492-3
DOI :
10.1109/EUC.2008.146