{"title":"Exploration of different parameter selection in fuzzy control applications on microcontroller","authors":"C. Phongpensri, K. Sripanomwan","doi":"10.1109/TENCON.2008.4766647","DOIUrl":null,"url":null,"abstract":"In this paper, we explore memory usage and speed of execution when developing fuzzy applications on a microcontroller. To develop a fuzzy system, various parameters need to be select. 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, and speed. The results show that using table lookup for fuzzy set approach is faster than the calculation. Max-min inference is not always faster than max-product operation. The code size for the example fuzzy program is around 20-30K. The number of instructions increases when we use complex fuzzy inference operation and defuzzification. The data size is increased linearly when the size of fuzzy sets grows.","PeriodicalId":22230,"journal":{"name":"TENCON 2008 - 2008 IEEE Region 10 Conference","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2008-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"TENCON 2008 - 2008 IEEE Region 10 Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TENCON.2008.4766647","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we explore memory usage and speed of execution when developing fuzzy applications on a microcontroller. To develop a fuzzy system, various parameters need to be select. 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, and speed. The results show that using table lookup for fuzzy set approach is faster than the calculation. Max-min inference is not always faster than max-product operation. The code size for the example fuzzy program is around 20-30K. The number of instructions increases when we use complex fuzzy inference operation and defuzzification. The data size is increased linearly when the size of fuzzy sets grows.