@article{1395, author = {G. N. Reddy, Gurpreet Singh, Vishnudev Vasanthan}, title = {Embedding-code for a Mobile Fuzzy Logic Controller}, journal = {Journal of Information Technology Review}, year = {2013}, volume = {4}, number = {4}, doi = {}, url = {http://www.dline.info/jitr/fulltext/v4n4/1.pdf}, abstract = {This paper presents embedding-code that can be used to realize a mobile fuzzy logic controller FLC. The software code is developed using MS Visual C++. The code can be downloaded into any microcontroller board MCB that supports C++. A short review of the current MCBs is included. Some mobile-FLC-applications are cited. The software-code is an FLC-simulator. It can be used to simulate an FLC off-line or it can be downloaded into a mobile-microcontroller so it can operate in autonomously. The embedding-code has 4-modules, 3-input and 1-output. The three input modules represent system description in the form: of a rule-based knowledge base; a set of input/output variables with their corresponding membership functions; and a set of sensed input variable values. The output module contains the generated control signals. It also generates continuous step-by-step output simulation trace illustrating the detailed sequential steps executed by the FLC’s inference engine. While operating off-line, the three input modules are represented by three input data files and the output module by a generated output file. While operating in real-time, the knowledge-base and the i/o membership functions are merged into the FLC’s C++ code. The sensed input signals and the computed output control signals are mapped to the target microcontroller’s i/o-ports. In real-time mode the output simulation trace can be disabled. We have used this software to implement two RT-FLCs: One for precise estimation of the state of charge SoC of a battery using what is called the impedance interrogation method; and the other to implement the classical controller for balancing of an inverted pendulum.}, }