International
OPEN ACCESS Journal
Of Modern Engineering Research (IJMER)
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 54 |
Industrial Microcontroller Based Neural Network Controlled
Autonomous Vehicle
D. Praveen Kumar1
, G. Sai Sudarsan2
, P. Dinesh3
, K Anil4
, Y. Govardhan5
12345
(Department of Electronics and control Engineering, Sree Vidyanikethan Engineering College, India)
I. INTRODUCTION
Autonomous robots are robots that can perform desired tasks in unstructured environments without
continuous human guidance. Many kinds of robots have some degree of autonomy. Different robots can be
autonomous in different ways. A high degree of autonomy is particularly desirable in fields such as space
exploration, cleaning floors, mowing lawns, and waste water treatment. Navigation is the ability of a mobile
robot to reach the target safely without extended human assistance. So the main issues that are needed to be
addressed in mobile robot navigation are obstacle avoidance and target acquisition.
Navigation comprises two tasks hurdle avoidance and goal reaching. Hurdle avoidance is achieved
with the help of ultrasonic sensors and IR sensors. The data from these sensors is given to neural network
running inside the primary microcontroller. To minimize the computational burden on the microcontroller, a
neural network is implemented with piecewise linear approximation of tangent-sigmoid activation function for
neurons. Goal reaching behavior involves the data from the ultrasonic sensors, IR sensors and GPS receiver
which is processed by another microcontroller. The goal is a set of latitude and longitude location to which the
robot need to navigate. The primary microcontroller fetches the desired data and generates motion commands
for robot. A GSM modem which is interfaced to the main controller is used for selecting start and goal stations
for robot inside the university campus.
II. PROTOTYPE
The prototype is implemented on a two wheeled mobile robot which is a made on chassis. The two
microcontrollers, primary and secondary along with ultrasonic sensors, IR sensors, GPS sensor and GSM
modem will be on the chassis while the chassis will be placed on the wheels that are driven by DC stepper
motors along with a pivot wheel. The whole setup is driven by 18v DC power supply either from a battery or
AC/DC adapter. The Quectel M10 GSM modem will be a used to communicate with the robot like sending the
GPS coordinates or receiving the GPS coordinates of the robot. The GPS sensor which will work based on
satellite navigation system will be continuously sensing the location which can be known through the
commands. The Design of the prototype starts with mechanical design after which the circuit design is done.
The mechanical design is done in such a way that all sensors are placed such that they cover the maximum area,
which makes it easy to detect the sensors. All the other components are placed in appropriate places. Then
circuit design was carried out in two phases, sensor part design and the control board design.
Abstract: This paper essentially deals with the design and implementation of a low cost autonomous
vehicle which is controlled by neural network and is based on micro controller. The autonomous vehicle is
equipped with a ultrasonic sensor for hurdle distance measurement, a GPS receiver for goal position
information, a GSM modem for changing destination place on run time and a nonvolatile RAM for storing
waypoint data; all these are interfaced to a Renesas RL78 microcontroller. This microcontroller processes
the information acquired from the sensors and generates robot motion commands accordingly through
neural network. The neural network which is running inside the microcontroller is a multilayer feed-
forward network with back-propagation training algorithm which is trained offline with tangent-sigmoid as
activation function for neurons and is implemented in real time with piecewise linear approximation of
tangent-sigmoid function. This autonomous vehicle is tested to navigate inside college campus and has
achieved better results.
Keywords: autonomous vehicle; ultrasonic sensors ;compass; GPS receiver ;GSM modem ;nonvolatile
RAM ;tangent-sigmoid function approximation ;neural network ;microcontroller implementation.
Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 55 |
Figure 1.Block diagram
III. NAVIGATION SYSTEM
Navigation problem is decomposed into obstacle avoidance and goal reaching problems.
Figure 2. Experimental Prototype
A. Obstacle Avoidance
When a mobile robot is traveling towards its final target, it might face a variety of obstacles in its way. A neural
network controller is designed to cope up with these situations.
Neural network design: The neural network used is multi layer feed-forward network with back propagation
learning algorithm and is designed using MATLAB® programming environment. The employed configuration
contains 3 neurons in the input layer, 6 in the hidden layer and 4 in the output layer as shown in Fig. 4. The
numbers of neurons in hidden layer are selected on trial and error basis. Three inputs to the neural network are
distance information from 4 sensors. Centre and back sensors are combined to form one input while other two
inputs are from left and right sensors. The outputs from the neural network are direct commands for motors. The
activation function used for hidden layer is tangent-sigmoid function while pure linear function is employed in
output layer.
Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 56 |
Figure 3. Neural Network Model
The output of a neuron can be expressed by the equation:
Yi = T (Σj (Xj * Wij) (1)
where T is the transfer function which is made user selectable, either sigmoid, threshold or custom made. This
equation will be applied to calculate the output of hidden and output layer. For hidden layer, (1) will be
Hj = tansig (Σj (Xj * Wij)), j = 1 to 6, i = 1 to 3 (2)
Similarly for output layer, (1) will be:
Oj = purline (Σj (Xj * Wij)), j = 1 to 4, i = 1 to 6 (3)
Experimental data is divided into two sets: training data set and validation data set. During training, for each
sample value, error is calculated between the desired output „H‟ and network calculated output „Y‟. The
following figure is the schematic of the neural network.
B. Goal Reaching:
E = H-Y (4)
The error is minimized by using backpropagation training algorithm. The algorithm minimizes the error by
updating the weights and biases of the network. For a tangent-sigmoid function, new weights are calculated
according to the relation:
Wnew = Wold + η (1 – α) ∆W + α ∆Wold (5)
where ∆W is the weight correction factor and α is the momentum factor used for convergence of network output
to desired behavior by speeding up the iterative process. After performance goal is met in training phase, the
network is tested with validation data set. This data set is used to avoid over-fitting the network to the training
data. The training error graph showing the performance of network is shown in Fig. 5. 3) Neural network
implementation: After Offline training in MATLAB®, the neural network is implemented using Renesas
Microcontroller. Keeping in view the low memory and processing power of the microcontroller, tangent
sigmoid function is converted in piecewise linear function for implementation in microcontroller and the
converged weights are converted into integer form. The approximated function is described in the following
equations.
The following equations are coded in the microcontroller.
f(x)=0.8x if 0 ≤ x <1 0
f(x)=.2x + 0.6 if 1 ≤ x <1.8 (6)
f(x) = 0.05x + 0.87 1.8 ≤ x < 2.5 +1 x ≥ 2.5
During navigation, if the obstacle avoidance system detects an obstacle, the control commands for
avoiding the obstacle will override the normal commands provided by goal reaching system. In this case,
vehicle will travel more distance than desired. The extra distance traveled by vehicle after avoiding the obstacle
is recorded. Then knowing the current and destination (active waypoint) vehicle orientation, a new path is
Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 57 |
generated along with new distance to be traveled to reach that waypoint. When the vehicle reaches within 5
meter of current waypoint, position value is read with the help of GPS receiver and new waypoint is loaded.
IV. RESULTS
Experiments performed with the prototype and the neural network simulations done on Matlab has
proven better results for navigation in university campus the following are the results of the neural network
toolbar are as follows.
Figure 4. Training state
V. CONCLUSIONS
In this paper, design of a low cost autonomous vehicle based on neural network is presented for
navigation inside the university campus. Equipped with various sensors, the vehicle has the capability of
navigating in complex environments avoiding the obstacles in its way and reaching the target. The complexity
of the system is reduced by making it modular i.e., more modules can easily be added to system by setting their
priority level in the main controller.
REFERENCES
Journal Papers:
[1] Nielsen L., "Automated Guidance of Vehicles using Vision and Projective Invariant Marking", Automatica 24:2, pp.
135-148, 1988.
[2] Schraft R.D., "Mechatronics and Robotics for Service Applications", IEEE Robotics &Automation Magazine, pp. 31-
37, December 1994.
[3] Harris G., "Robotics Decontamination Keeps Operators Clear of Danger", Industrial Robot, 20:3, pp. 30-33, 1993.
[4] Weisbin C.R., D.Lavery, " NASA Rover and Telerobotics Technology Program " , IEEE Robotic & Automation
Magazine, pp. 14-20, December 1994.
[5] Evans J., Krishnamurthy B., "Handling Real World Motion Planning A Hospital Transport Robot", IEEE Control
Systems, pp.15-19, February 1992.
[6] Orwig T, "Cybermotion's Roving Robots", Industrial Robot, 20:3, pp. 27-29, 1993.
[7] Khaldoun K. Tahboub, Munaf S. N. Al-Din, “A Neuro-Fuzzy reasoning system for mobile robot navigation,” Jordan
Journal of Mechanical and Industrial Engineering, vol. 3 (1), pp. 77-88, March 2009.
[8] Jonathan Milton Turner, obstacle avoidance and path traversal using interactive machine learning , M.S Thesis,
Brigham Young University, August 2007.
[9] Alexander Schepelmann, Henry H. Snow, Bradley E. Hughes, Frank L. Merat, Roger D. Quinn, “Vision-Based
Obstacle Detection and Avoidance for the CWRU Cutter Autonomous Lawnmower”M Ozaki, Y. Adachi, Y.
Iwahori, and N. Ishii, Application of fuzzy theory to writer recognition of Chinese characters, International Journal
of Modelling and Simulation, 18(2), 1998, 112-116.

More Related Content

PDF
CANNY EDGE DETECTION BASED REAL-TIME INTELLIGENT PARKING MANAGEMENT SYSTEM
PDF
Final Project Report on Image processing based intelligent traffic control sy...
PDF
Simultaneous Mapping and Navigation For Rendezvous in Space Applications
PDF
VEHICLE CLASSIFICATION USING THE CONVOLUTION NEURAL NETWORK APPROACH
PPT
Video Surveillance Systems For Traffic Monitoring
PDF
Traffic Light Detection for Red Light Violation System
PDF
Classification and Detection of Vehicles using Deep Learning
PDF
Robot Machine Vision
CANNY EDGE DETECTION BASED REAL-TIME INTELLIGENT PARKING MANAGEMENT SYSTEM
Final Project Report on Image processing based intelligent traffic control sy...
Simultaneous Mapping and Navigation For Rendezvous in Space Applications
VEHICLE CLASSIFICATION USING THE CONVOLUTION NEURAL NETWORK APPROACH
Video Surveillance Systems For Traffic Monitoring
Traffic Light Detection for Red Light Violation System
Classification and Detection of Vehicles using Deep Learning
Robot Machine Vision

What's hot (20)

PDF
Research on object detection and recognition using machine learning algorithm...
PDF
Efficient and secure real-time mobile robots cooperation using visual servoing
PPTX
Traffic Violation Detector using Object Detection
PDF
Identification and classification of moving vehicles on road
PDF
Neural Network based Vehicle Classification for Intelligent Traffic Control
PPTX
SPARSH (Solar Powered Automated Route Sensing Hexapod)
PDF
OpenCVand Matlab based Car Parking System Module for Smart City using Circle ...
PDF
A Smart Approach for Traffic Management
PDF
1. control of real time traffic with the help of image processing
PDF
A Traffic Sign Classifier Model using Sage Maker
PDF
Basic geometric shape and primary colour detection using image processing on ...
PDF
IRJET - Unmanned Traffic Signal Monitoring System
PDF
IoT for wheel alignment monitoring system
PDF
Traffic Jam Detection System by Ratul, Sadh, Shams
PDF
Traffic Light Detection and Recognition for Self Driving Cars using Deep Lear...
PDF
Deep Learning for Autonomous Vehicle Innovation Insights from Patents
PDF
IRJET- Smart Traffic Control System using Yolo
PDF
Real time vehicle counting in complex scene for traffic flow estimation using...
PDF
Multiple Sensor Fusion for Moving Object Detection and Tracking
PPTX
Final Project presentation on Image processing based intelligent traffic cont...
Research on object detection and recognition using machine learning algorithm...
Efficient and secure real-time mobile robots cooperation using visual servoing
Traffic Violation Detector using Object Detection
Identification and classification of moving vehicles on road
Neural Network based Vehicle Classification for Intelligent Traffic Control
SPARSH (Solar Powered Automated Route Sensing Hexapod)
OpenCVand Matlab based Car Parking System Module for Smart City using Circle ...
A Smart Approach for Traffic Management
1. control of real time traffic with the help of image processing
A Traffic Sign Classifier Model using Sage Maker
Basic geometric shape and primary colour detection using image processing on ...
IRJET - Unmanned Traffic Signal Monitoring System
IoT for wheel alignment monitoring system
Traffic Jam Detection System by Ratul, Sadh, Shams
Traffic Light Detection and Recognition for Self Driving Cars using Deep Lear...
Deep Learning for Autonomous Vehicle Innovation Insights from Patents
IRJET- Smart Traffic Control System using Yolo
Real time vehicle counting in complex scene for traffic flow estimation using...
Multiple Sensor Fusion for Moving Object Detection and Tracking
Final Project presentation on Image processing based intelligent traffic cont...
Ad

Viewers also liked (20)

PDF
Seismic Pounding Effect in Framed Structures
PDF
Fu2428622866
PDF
Fisheries Enumerator - Ojas.guj.nic.in
PPTX
Objectives and assignment
PDF
Dt3211801185
PDF
Results from set-operations on Fuzzy soft sets
PDF
Development of a New Formula for a Clear Water Scour around Groynes
PDF
Ae02417571760
PDF
Secure File Sharing In Cloud Using Encryption with Digital Signature
PDF
An Application of Energy and Exergy Analysis of Transport Sector of India
PDF
Experimental Investigation on Heat Transfer Analysis in a Cross flow Heat Ex...
PDF
Optimization of Surface Impedance for Reducing Surface Waves between Antennas
PDF
Personalization of the Web Search
PPTX
Reno x tkja
PPTX
The creative arts –
PDF
Erosive Wear Behavior of Nanoclay Filled Basalt - Epoxy Hybrid Composite
PPTX
Ireland's Energy Futures
PDF
Dq3211691171
PPT
Báo cáo nguyễn mạnh tường
Seismic Pounding Effect in Framed Structures
Fu2428622866
Fisheries Enumerator - Ojas.guj.nic.in
Objectives and assignment
Dt3211801185
Results from set-operations on Fuzzy soft sets
Development of a New Formula for a Clear Water Scour around Groynes
Ae02417571760
Secure File Sharing In Cloud Using Encryption with Digital Signature
An Application of Energy and Exergy Analysis of Transport Sector of India
Experimental Investigation on Heat Transfer Analysis in a Cross flow Heat Ex...
Optimization of Surface Impedance for Reducing Surface Waves between Antennas
Personalization of the Web Search
Reno x tkja
The creative arts –
Erosive Wear Behavior of Nanoclay Filled Basalt - Epoxy Hybrid Composite
Ireland's Energy Futures
Dq3211691171
Báo cáo nguyễn mạnh tường
Ad

Similar to Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle (20)

PDF
Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...
PDF
Intelligent traffic light controller using embedded system
PDF
Design and Development of Intelligent Navigation Control Systems for Autonomo...
PDF
IRJET - Steering Wheel Angle Prediction for Self-Driving Cars
PDF
IRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
PDF
IRJET- Automatic Railway Crack Locator
PDF
Smart Navigation Assistance System for Blind People
PDF
IRJET- Iot Based Automatic Vehicle Accident Tracking Down and Salvage Sys...
PDF
IRJET- Smart Accident Detection and Emergency Notification System using IoT a...
PDF
Spy Robot with Wireless Camera using GSM
PDF
A Smart Image Processing-Based System For Parking Space Vacancy Management
PDF
International Journal of Computational Engineering Research(IJCER)
PDF
Unmanned Ground Vehicle
PDF
IRJET- IoT based Motion Control System of a Robotic car
PDF
Congestion Control System Using Machine Learning
PDF
IRJET- Self Driving RC Car using Behavioral Cloning
PDF
Railway Track Geometry Surveying System
PDF
Intelligent vehicle using embedded system
PDF
IRJET- Smart Bus Transportation System
PDF
vehicle traking based on GSM/GPS using 8051
Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...
Intelligent traffic light controller using embedded system
Design and Development of Intelligent Navigation Control Systems for Autonomo...
IRJET - Steering Wheel Angle Prediction for Self-Driving Cars
IRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
IRJET- Automatic Railway Crack Locator
Smart Navigation Assistance System for Blind People
IRJET- Iot Based Automatic Vehicle Accident Tracking Down and Salvage Sys...
IRJET- Smart Accident Detection and Emergency Notification System using IoT a...
Spy Robot with Wireless Camera using GSM
A Smart Image Processing-Based System For Parking Space Vacancy Management
International Journal of Computational Engineering Research(IJCER)
Unmanned Ground Vehicle
IRJET- IoT based Motion Control System of a Robotic car
Congestion Control System Using Machine Learning
IRJET- Self Driving RC Car using Behavioral Cloning
Railway Track Geometry Surveying System
Intelligent vehicle using embedded system
IRJET- Smart Bus Transportation System
vehicle traking based on GSM/GPS using 8051

More from IJMER (20)

PDF
A Study on Translucent Concrete Product and Its Properties by Using Optical F...
PDF
Developing Cost Effective Automation for Cotton Seed Delinting
PDF
Study & Testing Of Bio-Composite Material Based On Munja Fibre
PDF
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
PDF
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
PDF
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
PDF
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
PDF
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
PDF
Static Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
PDF
High Speed Effortless Bicycle
PDF
Integration of Struts & Spring & Hibernate for Enterprise Applications
PDF
Microcontroller Based Automatic Sprinkler Irrigation System
PDF
On some locally closed sets and spaces in Ideal Topological Spaces
PDF
Intrusion Detection and Forensics based on decision tree and Association rule...
PDF
Natural Language Ambiguity and its Effect on Machine Learning
PDF
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
PDF
Material Parameter and Effect of Thermal Load on Functionally Graded Cylinders
PDF
Studies On Energy Conservation And Audit
PDF
An Implementation of I2C Slave Interface using Verilog HDL
PDF
Discrete Model of Two Predators competing for One Prey
A Study on Translucent Concrete Product and Its Properties by Using Optical F...
Developing Cost Effective Automation for Cotton Seed Delinting
Study & Testing Of Bio-Composite Material Based On Munja Fibre
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
Static Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
High Speed Effortless Bicycle
Integration of Struts & Spring & Hibernate for Enterprise Applications
Microcontroller Based Automatic Sprinkler Irrigation System
On some locally closed sets and spaces in Ideal Topological Spaces
Intrusion Detection and Forensics based on decision tree and Association rule...
Natural Language Ambiguity and its Effect on Machine Learning
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Material Parameter and Effect of Thermal Load on Functionally Graded Cylinders
Studies On Energy Conservation And Audit
An Implementation of I2C Slave Interface using Verilog HDL
Discrete Model of Two Predators competing for One Prey

Recently uploaded (20)

PPTX
Environmental studies, Moudle 3-Environmental Pollution.pptx
PDF
IAE-V2500 Engine Airbus Family A319/320
PPT
UNIT-I Machine Learning Essentials for 2nd years
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
Unit IImachinemachinetoolopeartions.pptx
PPTX
Design ,Art Across Digital Realities and eXtended Reality
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PPTX
Principal presentation for NAAC (1).pptx
DOCX
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
PPTX
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
PPTX
chapter 1.pptx dotnet technology introduction
PPTX
Software-Development-Life-Cycle-SDLC.pptx
PPTX
Wireless sensor networks (WSN) SRM unit 2
PPTX
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
PDF
electrical machines course file-anna university
PPTX
AI-Reporting for Emerging Technologies(BS Computer Engineering)
PDF
Project_Mgmt_Institute_-Marc Marc Marc .pdf
PPTX
Solar energy pdf of gitam songa hemant k
PDF
VSL-Strand-Post-tensioning-Systems-Technical-Catalogue_2019-01.pdf
Environmental studies, Moudle 3-Environmental Pollution.pptx
IAE-V2500 Engine Airbus Family A319/320
UNIT-I Machine Learning Essentials for 2nd years
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Unit IImachinemachinetoolopeartions.pptx
Design ,Art Across Digital Realities and eXtended Reality
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
Principal presentation for NAAC (1).pptx
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
chapter 1.pptx dotnet technology introduction
Software-Development-Life-Cycle-SDLC.pptx
Wireless sensor networks (WSN) SRM unit 2
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
electrical machines course file-anna university
AI-Reporting for Emerging Technologies(BS Computer Engineering)
Project_Mgmt_Institute_-Marc Marc Marc .pdf
Solar energy pdf of gitam songa hemant k
VSL-Strand-Post-tensioning-Systems-Technical-Catalogue_2019-01.pdf

Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle

  • 1. International OPEN ACCESS Journal Of Modern Engineering Research (IJMER) | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 54 | Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle D. Praveen Kumar1 , G. Sai Sudarsan2 , P. Dinesh3 , K Anil4 , Y. Govardhan5 12345 (Department of Electronics and control Engineering, Sree Vidyanikethan Engineering College, India) I. INTRODUCTION Autonomous robots are robots that can perform desired tasks in unstructured environments without continuous human guidance. Many kinds of robots have some degree of autonomy. Different robots can be autonomous in different ways. A high degree of autonomy is particularly desirable in fields such as space exploration, cleaning floors, mowing lawns, and waste water treatment. Navigation is the ability of a mobile robot to reach the target safely without extended human assistance. So the main issues that are needed to be addressed in mobile robot navigation are obstacle avoidance and target acquisition. Navigation comprises two tasks hurdle avoidance and goal reaching. Hurdle avoidance is achieved with the help of ultrasonic sensors and IR sensors. The data from these sensors is given to neural network running inside the primary microcontroller. To minimize the computational burden on the microcontroller, a neural network is implemented with piecewise linear approximation of tangent-sigmoid activation function for neurons. Goal reaching behavior involves the data from the ultrasonic sensors, IR sensors and GPS receiver which is processed by another microcontroller. The goal is a set of latitude and longitude location to which the robot need to navigate. The primary microcontroller fetches the desired data and generates motion commands for robot. A GSM modem which is interfaced to the main controller is used for selecting start and goal stations for robot inside the university campus. II. PROTOTYPE The prototype is implemented on a two wheeled mobile robot which is a made on chassis. The two microcontrollers, primary and secondary along with ultrasonic sensors, IR sensors, GPS sensor and GSM modem will be on the chassis while the chassis will be placed on the wheels that are driven by DC stepper motors along with a pivot wheel. The whole setup is driven by 18v DC power supply either from a battery or AC/DC adapter. The Quectel M10 GSM modem will be a used to communicate with the robot like sending the GPS coordinates or receiving the GPS coordinates of the robot. The GPS sensor which will work based on satellite navigation system will be continuously sensing the location which can be known through the commands. The Design of the prototype starts with mechanical design after which the circuit design is done. The mechanical design is done in such a way that all sensors are placed such that they cover the maximum area, which makes it easy to detect the sensors. All the other components are placed in appropriate places. Then circuit design was carried out in two phases, sensor part design and the control board design. Abstract: This paper essentially deals with the design and implementation of a low cost autonomous vehicle which is controlled by neural network and is based on micro controller. The autonomous vehicle is equipped with a ultrasonic sensor for hurdle distance measurement, a GPS receiver for goal position information, a GSM modem for changing destination place on run time and a nonvolatile RAM for storing waypoint data; all these are interfaced to a Renesas RL78 microcontroller. This microcontroller processes the information acquired from the sensors and generates robot motion commands accordingly through neural network. The neural network which is running inside the microcontroller is a multilayer feed- forward network with back-propagation training algorithm which is trained offline with tangent-sigmoid as activation function for neurons and is implemented in real time with piecewise linear approximation of tangent-sigmoid function. This autonomous vehicle is tested to navigate inside college campus and has achieved better results. Keywords: autonomous vehicle; ultrasonic sensors ;compass; GPS receiver ;GSM modem ;nonvolatile RAM ;tangent-sigmoid function approximation ;neural network ;microcontroller implementation.
  • 2. Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 55 | Figure 1.Block diagram III. NAVIGATION SYSTEM Navigation problem is decomposed into obstacle avoidance and goal reaching problems. Figure 2. Experimental Prototype A. Obstacle Avoidance When a mobile robot is traveling towards its final target, it might face a variety of obstacles in its way. A neural network controller is designed to cope up with these situations. Neural network design: The neural network used is multi layer feed-forward network with back propagation learning algorithm and is designed using MATLAB® programming environment. The employed configuration contains 3 neurons in the input layer, 6 in the hidden layer and 4 in the output layer as shown in Fig. 4. The numbers of neurons in hidden layer are selected on trial and error basis. Three inputs to the neural network are distance information from 4 sensors. Centre and back sensors are combined to form one input while other two inputs are from left and right sensors. The outputs from the neural network are direct commands for motors. The activation function used for hidden layer is tangent-sigmoid function while pure linear function is employed in output layer.
  • 3. Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 56 | Figure 3. Neural Network Model The output of a neuron can be expressed by the equation: Yi = T (Σj (Xj * Wij) (1) where T is the transfer function which is made user selectable, either sigmoid, threshold or custom made. This equation will be applied to calculate the output of hidden and output layer. For hidden layer, (1) will be Hj = tansig (Σj (Xj * Wij)), j = 1 to 6, i = 1 to 3 (2) Similarly for output layer, (1) will be: Oj = purline (Σj (Xj * Wij)), j = 1 to 4, i = 1 to 6 (3) Experimental data is divided into two sets: training data set and validation data set. During training, for each sample value, error is calculated between the desired output „H‟ and network calculated output „Y‟. The following figure is the schematic of the neural network. B. Goal Reaching: E = H-Y (4) The error is minimized by using backpropagation training algorithm. The algorithm minimizes the error by updating the weights and biases of the network. For a tangent-sigmoid function, new weights are calculated according to the relation: Wnew = Wold + η (1 – α) ∆W + α ∆Wold (5) where ∆W is the weight correction factor and α is the momentum factor used for convergence of network output to desired behavior by speeding up the iterative process. After performance goal is met in training phase, the network is tested with validation data set. This data set is used to avoid over-fitting the network to the training data. The training error graph showing the performance of network is shown in Fig. 5. 3) Neural network implementation: After Offline training in MATLAB®, the neural network is implemented using Renesas Microcontroller. Keeping in view the low memory and processing power of the microcontroller, tangent sigmoid function is converted in piecewise linear function for implementation in microcontroller and the converged weights are converted into integer form. The approximated function is described in the following equations. The following equations are coded in the microcontroller. f(x)=0.8x if 0 ≤ x <1 0 f(x)=.2x + 0.6 if 1 ≤ x <1.8 (6) f(x) = 0.05x + 0.87 1.8 ≤ x < 2.5 +1 x ≥ 2.5 During navigation, if the obstacle avoidance system detects an obstacle, the control commands for avoiding the obstacle will override the normal commands provided by goal reaching system. In this case, vehicle will travel more distance than desired. The extra distance traveled by vehicle after avoiding the obstacle is recorded. Then knowing the current and destination (active waypoint) vehicle orientation, a new path is
  • 4. Industrial Microcontroller Based Neural Network Controlled Autonomous Vehicle | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 4 | Iss. 5 | May 2014 | 57 | generated along with new distance to be traveled to reach that waypoint. When the vehicle reaches within 5 meter of current waypoint, position value is read with the help of GPS receiver and new waypoint is loaded. IV. RESULTS Experiments performed with the prototype and the neural network simulations done on Matlab has proven better results for navigation in university campus the following are the results of the neural network toolbar are as follows. Figure 4. Training state V. CONCLUSIONS In this paper, design of a low cost autonomous vehicle based on neural network is presented for navigation inside the university campus. Equipped with various sensors, the vehicle has the capability of navigating in complex environments avoiding the obstacles in its way and reaching the target. The complexity of the system is reduced by making it modular i.e., more modules can easily be added to system by setting their priority level in the main controller. REFERENCES Journal Papers: [1] Nielsen L., "Automated Guidance of Vehicles using Vision and Projective Invariant Marking", Automatica 24:2, pp. 135-148, 1988. [2] Schraft R.D., "Mechatronics and Robotics for Service Applications", IEEE Robotics &Automation Magazine, pp. 31- 37, December 1994. [3] Harris G., "Robotics Decontamination Keeps Operators Clear of Danger", Industrial Robot, 20:3, pp. 30-33, 1993. [4] Weisbin C.R., D.Lavery, " NASA Rover and Telerobotics Technology Program " , IEEE Robotic & Automation Magazine, pp. 14-20, December 1994. [5] Evans J., Krishnamurthy B., "Handling Real World Motion Planning A Hospital Transport Robot", IEEE Control Systems, pp.15-19, February 1992. [6] Orwig T, "Cybermotion's Roving Robots", Industrial Robot, 20:3, pp. 27-29, 1993. [7] Khaldoun K. Tahboub, Munaf S. N. Al-Din, “A Neuro-Fuzzy reasoning system for mobile robot navigation,” Jordan Journal of Mechanical and Industrial Engineering, vol. 3 (1), pp. 77-88, March 2009. [8] Jonathan Milton Turner, obstacle avoidance and path traversal using interactive machine learning , M.S Thesis, Brigham Young University, August 2007. [9] Alexander Schepelmann, Henry H. Snow, Bradley E. Hughes, Frank L. Merat, Roger D. Quinn, “Vision-Based Obstacle Detection and Avoidance for the CWRU Cutter Autonomous Lawnmower”M Ozaki, Y. Adachi, Y. Iwahori, and N. Ishii, Application of fuzzy theory to writer recognition of Chinese characters, International Journal of Modelling and Simulation, 18(2), 1998, 112-116.