International Journal of Electrical and Computer Engineering (IJECE) Vol. No. June 2013, pp. ISSN: 2088-8708 Implementation of Electronic Nose in Omni-directional Robot Harianto. Mohammad Rivai. Djoko Purwanto Department of Electrical Engineering. Institute Teknologi Sepuluh Nopember (ITS) Article Info ABSTRACT Article history: Electronic nose (E-nos. is a device detecting odors which is designed to resemble the ability of the human nose. E-nose can identifying chemical elements that contained in the odors. E-nose is made of arrays of gas sensor, each of it could detect certain chemical element. When detects gases, each sensor will generate a specific pattern for each gas. These patterns could be classified using neural network algorithm. Neural network is a computational method based on mathematical models which has the structure and operation of neural networks which imitate the human brain. Neural network consists of a group of neurons conected to each other with a connection named weight. The weights will determine wether neural networks could compute given inputs to produce a specified output. To generate the appropriate weight, the neural network needs to be trained using a number of gasoline and alcohol samples. The training process to generate appropriate weights is done by using back propagation algorithm on a personal computer. The appropriate weight then transferred to omni-directional robot equipped with e-nose. The result shows that the robot could identify the trained gas. Received Jan 12th, 2013 Revised Feb 20th, 2013 Accepted Mar 26th, 2013 Keyword: Electronic nose Multi layer perceptron Gas sensor Copyright A 2013 Institute of Advanced Engineering and Science. All rights reserved. Corresponding Author: First Author. Department of Computer Engineering. STIKOM Surabaya. Raya Kedung Baruk 98. Surabaya 60298. Indonesia. Email: hari@stikom. INTRODUCTION Nowadays, gas sensor has developed vastly, it begins for detection gas in our surrounding environment such us carbon dioxide, carbon monoxide, ethanol, methane and oxygen. This invention of gas sensor has lead to many researchers to explore and do experiment in several fields such as in medical, industry and military. Nowadays several gas sensors with certain specification were combined as an array sensor so that it could be identify some certain scent containing gasses that specified with the gas sensors. Green et al project to discriminating bacteria in suspension based on the scent has been done using electronic nose method . The gas sensor usually is attached in a mobile robot and designed like human nose and it is called electronic nose. This project, which is to recognize object that has certain smell, have been done by Lilienthal et al . , . in 2001 and Loutfi et al in 2005 . , since then, application and research based on electronic nose attached to mobile robot become popular. Lilienthal et al in the research has successed to mapping gas concentration in building using mobile robot . Zang et al designed mechanical electronic nose with the sensor arrays inside . This research has problem that gas sensor can not detect similar gas which has similarity chemical characteristics. This problem can be solved using neural network algorithm. The previous works about mobile robot with electronic nose that using neural network have been done by Duckett et al . Farah et al . , and Ishida et al. But their objective were to locate the odour source using learning algorithm to guide the robot direction. Journal homepage: http://iaesjournal. com/online/index. php/IJECE A ISSN:2088-8708 In this research, neural network is used to detect several different gasses with has similarity chemical However, processing neural network algorithm training stage on a robot will burden the processing unit in the robot. So, the training process will be done on the computer. When the appropriate weights are generated, those weights will be transferred to the robot. The robotAos processing unit will only need to compute a feed forward neural network. Neural Network Neural Network (NN) can be used to solve non linear and complex function. When it is used to design Multi-Input Single-Output (MISO) systems. NN mapp n-dimension input to single dimension output . field control, input usually comes from error which is difference from real outputs and set point. In this paper. NN has function a pattern recognition of electronic nose to identify certain gas. Neuron in artificial intelligent acts as a biology nerve. Several input . will multiply with each appropriate weight . Figure 1. Neuron Model Then add all the result of multiplication with output from inside activation function to take single degree output F. , this process can be seen in Figure 1. ini = Oc To activate each neuron in NN network need activation function such as hiperbolic function, step, impulse and sigmoid. Sigmoid function, like shown in Figure 2, amongs the other activation function, is closer with the real function of brain, so itAos often used in many research. Figure 2. Activation Function Set of neuron can become a network which has function as computation equipment to solve problem. The amount of neuron and network architecture for each problem has different solution. NN architecture for generall can be seen in Figure 3. From the Figure 3, two inputs . 1 and v. are connected to hidden layer with weight w1 until w6. Output from hidden layer is connected to hidden layer with weight w11 until w21. IJECE Vol. No. June 2013: 399Ae406 IJECE ISSN: 2088-8708 Figure 3. Architecture Neural Network Gas Sensor Four gas sensors from Figaro Engineering Inc . were used in this research. They are TGS 2600. TGS 2610. TGS 2611, and TGS 2612. Main part of TGS is a semiconductor metal oxide. TGS sensor has a resistance sensor that is dependent to oxygen concentration contacting directly with semiconductor metal The changes of potential barrier intergrain from tin oxide gas sensor can be seen in Figure 4. Figure 4 . shows the changes without any chemical gas, while Figure 4 . shows movement when there is any chemical gas. Oxygen increases barrier potential level. This causes increase resistance of sensor material. there is any chemical substance detected by the sensor, oxide intensity would be reduced by the concentration of oxygen. This situation leads the reduction of the barrier potential intergain as it is seen in Figure 4. and reduce the resistance of resistor. Figure 4. Intergrain Potential Barrier Relation between sensor resistant and gas concentration can be seen in Equation 2. R = A [C]- Which R is resistant sensor metal-oxide. C is gas concentratrion. A is coefficient response for some gases, and is sensitivity. A and depend on material type of sensor and temperature sensor. Sensor TGS has two main parts. first part is tin oxide (SnO. as sensor material. This material is connected to pin 2 and 3. Second part is the heater for heating sensor material. This heater is connected to pin 1 Figure 5 show the structur of gas sensor TGS 26XX. Figure 5. TGS Sensor Structure Implementation of Electronic Nose in Omni-directional Robot (Hariant. A ISSN:2088-8708 Schematic for Sensor TGS can be seen in Figure 6. Sensor TGS needs supply circuit (V. and also heater which has input power (VH) respectively in pin 1 and pin 4. A load is connected to pin 2. This load will be used as concentration measurement of gas which is in. Figure 6. TGS Schematic Omni-directional Robot Omni-directional robot is a robot with a steering system which could move in all direction. This steering system is using omni directional poly roller wheel . mni-whee. Figure 7 shows that robot with omniwheel could perform a complex movements to reach a specific position. This steering system enables the robot to moving in x and y axis, so it has two degree of freedom (DoF). Usually, there are omni-directional robotAos that using 3 or 4 omni-wheels. The configuration of these omni-wheels position on the robot will affect robotAos movements significantly. The farther the distance of front and rear wheels, the faster the robot could rotate. Figure 7. Difference between the . standard and . omni-directional wheelAos movement Since research done by Dickerson et al . in 1991 about omni-directional robot using mecanum wheels, there have been many research group that developing an omni-directional robot like Mori et al . that are studying about the mechanism and the running modes of the omni-directional robot. Figure 8. Omni-directional robot IJECE Vol. No. June 2013: 399Ae406 IJECE ISSN: 2088-8708 In this research, we use a modular omni-directional robot from FESTO called RobotinoA the same like the one used by Treesatayapun . The robot could be equipped with various device. The features that are used in this research are 4 pins analog input, 4 I/O pins with 0-10V voltage level, webcam, and wireless connection to controlling the robot from computer. Figure 8 shows the omni-directional robot that is used. RESEARCH METHOD Previous research about methanol and ethanol has been done by Marques . Marques used only one gas sensor as robot navigation tool to locate gas location. In our research, we used an array gas sensor that will be used as electronic nose to identify combustible gasses such as gasoline and alcohol. In this research, four kind of gas sensors were used to process the input. They are TGS 2600. TGS 2610. TGS 2611, and TGS Three procedures is used in this project. Firstly, taking sample array sensor data form different gases, for instance gasoline, alcohol, and other gasses such as general odor and methane. This step is done with the modified electronic nose practical diagram from DaqiAos research . Secondly, those data Were trained in computer using back propagation algorithm. The result of this process are appropriate weight weight and bias for each neuron. Finally the last procedure, this weight and bias implemented in robot using the same network when it was trained. The program controlled the robot actually run from the computer that connected with robot using wireless communication. Figure 9 shows the block diagram of the system. Figure 9. Block diagram of the system Figure 10. Perceptron architecture for electronic nose Figure 10 shows the neural network architecture used in this research. Figure 10 revealed that input analog . comes from array sensor and bias then multiply with weight . The result is output neuron that has summing function from multiplication . and then the neuron activated using sigmoid function. RESULTS AND ANALYSIS Response gas sensor Data which are received from gas sensor are used as data training to determine the weight and bias. Gas sensors (TGS 2600. TGS 2610. TGS2611, and TGS 2. were tested with gasoline and alcohol. Output signal from gas sensors can be presented in Figure 11. Implementation of Electronic Nose in Omni-directional Robot (Hariant. A ISSN:2088-8708 TGS 2600 TGS2610 TGS2611 TGS2612 1 2 3 4 5 6 7 8 9 10 TGS2600 TGS2610 TGS2611 TGS 2612 1 2 3 4 5 6 7 8 9 10 Figure 11. Output of Gas Sensors . alcohol Neural network training The target output of neural network was able to recognize the gasses tested. The target of the neural network can be seen in Table 1. Table 1. Neural network target Jenis Gas Gasoline Alcohol Other Target All the 30 data from gas sensor were used to search weight . and bias . Weight and bias were obtained by entering data training and target in training program, the process to get the weights and bias was shown in Figure 12. The training process parameters used were learning rate (AA) = 0. 1, least error = 0. 10 , and max iteration = 1,000,000,000 10 . The training process was convergence at 781,338,964 iteration with error (SSE) value = 9. 99989696745863E-05. The weight and bias trained then were tested using data trained and new data. Figure 12. Training weight and bias process Identification result The identification results shown in Table 2. It shows that the success percentage for defined gas, gasoline in experiments 1 Ae 10 and alcohol ini experimetns 11Ae20, is 100% each, but when it is tested with other odor gasses, such as air, smoke, methan, etc. , like in experiments 21Ae30, the percentage success rate is down to 70%. So the global success rate is 90% for the trained gasses. IJECE Vol. No. June 2013: 399Ae406 IJECE ISSN: 2088-8708 Table 2. Identification Result Tested Gas Gas Identified Tested Gas Gas Identified Tested Gas Gas Identified Gasoline Gasoline Alcohol Alcohol Other Alcohol Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Alcohol Gasoline Gasoline Alcohol Alcohol Other Gasoline Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Other Gasoline Gasoline Alcohol Alcohol Other Other CONCLUSION The neural network implemented on omni-directional robot is successfully identify determined gasses such as gasoline and alcohol with success rate 100%, but when it is tested with other gasses which is not trained, the success rate is down to 70%. It might be because there were no sample to those other gas that is failed to tested, so the neural network is being confused to determine which class is those gasses. REFFERENCES Amaral JFM. JLM Amaral. C Santini. R Tanscheit. M Vellasco. M Pacheo. Towards Evolvable Analog Artificial Neural Networks Controllers. Proc. 2004 NASA/DoD Conference on Evolution Hardware. Berenson D. N EsteAovez. H Lipson. Hardware Evolution of Analog Circuits for In-situ Robotic Fault-Recovery. Proc 2005 NASA/ DoD Conference on Evolvable Hardware. Daqi G. C Wei. Simultaneous estimation of odor classes and concentrations using an electronic nose with function approximation model ensembles. Journal Elsevier Science of Sensors and Actuators B, 2007. 120: 584Ae594. Dickerson SL. Lapin BD. Control of an omni-directional robotic vehicle with mecanum wheels. National Telesystems Conference Proceeding. 1: 323Ae328. Duckett T. Axelsson M. Saffiotti A. Learning to locate an odour source with a mobile robot. Proceeding of the Ie International Conference on Robotics and Automation (ICRAAo2. Seoul. Korea. Farah AM. Duckett T. Reactive localisation of an odour source by a learning mobile robot. Proceeding of the Second Swedish Workshop on Autonomous Robotics. Stockholm. Sweden. 2002: 29-38. Green GC. Chan ADC. Dan H. Lin M. Using a metal oxide sensor (MOS)-based electronic nose for discrimination of bacteria based on individual colonies in suspension. Journal Elsevier Science of Sensors and Actuators B. 21Ae28. Ishida H. Nakamoto T. Moriizumi T. Study of odor compass. Proceeding of Ie International Conference on Multisensor Fusion and Integration for Intelligent Systems. 1996: 222-226. Lilienthal A. T Duckett. Building gas concentration gridmaps with a mobile robot. Journal Elsevier Science. : 3-16. Lilienthal A. Zell A. Wandel M. Weimar U. Experiences using gas sensors on an autonomous mobile robot. Proceedings of EUROBOT Ao01, 4th European Workshop on Advanced Mobile Robots. Lund. Sweden. Lilienthal A. Zell A. Wandel M. Weimar U. Sensing odour sources in indoor environtments without a constant airflow by a mobile robot. Proceeding of Ie International Conference on Robotics and Automation (ICRAAo2. Seoul. Korea. Loutfi A. Broxvall M. Coradeschi S. Karlsson L. Object recognition: A new application for smelling robots. Journal Elsevier Science of Robotics and Autonomous Systems. 52: 272Ae289. Marques L. U Nunes. AT de Almeida. Olfaction-based mobile robot navigation. Journal Elsevier Science. : 51-58. Mori Y. Nakano E. Takahashi T. Takayama K. Mechanism and running modes of new omni-directional vehicle ODV9. JSME International Journal. Series C. : 210Ae217. Treesatayapun C. A discrete-time stable controller for an omni-directional mobile robot based on an approximation Journal Elsevier Science of Control Engineering Practice. 19: 194Ae203. Zang X. M Zang. J Sun. C He. Design of a Bionic Electronic Nose for Robot. ISECS International Colloquium. Tine Oxide Gas Sensor: w. Implementation of Electronic Nose in Omni-directional Robot (Hariant. A ISSN:2088-8708 BIBLIOGRAPHY OF AUTHORS Harianto received BE degree from STIKOM Surabaya in 2002. ME degree from Gadjah Mada University in 2010. He is currently a lecturer at Computer Engineering Department. STIKOM Surabaya. Indonesia. His research interest is in intelligence control system. Muhammad Rivai received BE degree from Institute of Technology Sepuluh Nopember in 1993. ME degree from University of Indonesia in 1997. PhD degree from University of Airlangga in 2006. He is currently a lecturer at Electrical Engineering Department. Institute of Technology Sepuluh Nopember. Surabaya. Indonesia. His research interest includes odor sensors, electronic circuits, and neural network applications. Djoko Purwanto received Master and Phd from Keio University Japan. His research interest is in Industrial Robot and Robot Vision. IJECE Vol. No. June 2013: 399Ae406