SlideShare a Scribd company logo
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1494
FPGA based Controller Design for Mobile Robots
K. Anitha1, M. Srinivasa Rao2
1, 2Department of ECE, Prasad V Potluri Siddhartha Institute of Technology, Vijayawada, A.P, India
--------------------------------------------------------------------***----------------------------------------------------------------------
Abstract:- Mobile robotics and embedded systems are two
research areas that have been receiving a considerable
attention in years. Combining these two research topics is
a very interesting and promising task. Some of the
problems of controlling robots using embedded systems
are designing device drivers, provide network
communication and develop complex control algorithms
under hardware limitations. This paper presents a
conception of mobile robots using rapid prototyping,
distributing the several control actions in growing levels of
complexity and computing proposal oriented to embed
systems implementation. This kind of controller can be
tested on different platform representing the mobile
robots using reprogrammable logic components (FPGA).
Different modules can be interfaced using FPGA controller.
Here we are constructing a simple robot model, which can
measure the distance from obstacle with the aid of sensor
and accordingly it is able to control the speed of motor.
Keywords — Infrared sensor, Obstacle Avoidance,
Motor driver L293D, Spartan3E FPGA, VHDL.
I. INTRODUCTION
The emergence of reconfigurable Field
Programmable Gate Arrays (FPGA) has given rise to a
new platform of complete mobile robot control system.
With FPGA devices, it is possible to tailor the design to fit
the requirements of applications (for example,
exploration and navigation functions for a robot).
General-purpose computers can provide acceptable
performance when tasks are not too complex. A single
processor system cannot guarantee real-time response
(particularly in the absence of considerable additional
hardware), if the environment is dynamic or semi-
dynamic. Here we focus on the design of the mobile
robot platform, with two driving wheels mounted on the
same axis. An FPGA-based robotic system can be
designed to handle tasks in parallel [3]. The mobile robot
consists of many units like Mechanics (chassis, housing,
wheels), electromechanical parts and Sensors.
Robots carry out various tasks. During these
tasks the robot moves and orients. While navigating, it
uses signals from the environment and the contents of
its own memory to make the correct decisions. This form
of navigation may be manifold depending on the given
task and problem [1].
Wheeled mobile robot:
Wheel control is less complex than the actuation
of multi-joint legs, and wheels cause minimal surface
damage in comparison with treads. Wheeled mobile
robots (WMRs) are more energy efficient than legged
robots on hard and smooth surfaces [6]. They require
fewer and simpler parts and are thus easier to build than
legged mobile robots.
A robot is capable of locomotion on surface
solely through the actuation of wheel assemblies
mounted on the robot and in contact with the surface.
Most designs require minimum two motors for driving
(and steering) a mobile robot. The combination of two
driven wheels allows the robot to be driven straight, in a
curve, or to turn on the spot.
II. HARDWARE DESCRIPTION OF MOBILE ROBOT
Architecture of Mobile Robot:
Within the proposal of mobile robotics
platform, the use of FPGA Controller, with control
software especially developed for the necessary
applications, is considered using structured libraries to
design, simulation, and verification with MODELSIM, we
convert the model to function prototyping using FPGA
hardware.
This system included both hardware and
software development. The output of ADC was
connected to the FPGA board and it was used as the
input of the source code. The assembly language that is
used in this system is VHDL. After the simulation and the
synthesis process, the program has been implemented
on the FPGA board.
The Spartan 3E family of Field-Programmable Gate
Arrays is specifically designed to meet the needs of high
volume, cost-sensitive consumer electronic applications
[4]. They are ideally suited to a wide range of consumer
electronics applications, including broadband access,
home networking, display/projection and digital
television equipment.
Fig.1: Block Diagram of mobile robot.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1495
FPGA’s avoid the high initial cost, the lengthy
development cycles, and the inherent inflexibility of
conventional ASICs. Also, FPGA programmability permits
design upgrades in the field with no hardware
replacement necessary, an impossibility with ASICs.
Logic Implementation on FPGA:
Basically two approaches are followed to implement
logic on FPGA board. They are Look up table approach
and Multiplexer approach.
In look up table approach, the logic is
implemented with LUTs. A LUT is basically a memory
device with certain capacity. As per the design
requirement, the LUT is filled up with specific value to
implement the design. The LUT approach is widely used
in most of the FPGAs.
As the logic capacity of FPGA increases, synthesis for
FPGAs is becoming more important. To efficiently exploit
increased logic capacity of FPGAs, synthesis tools and
efficient synthesis methods for FPGA targets become
necessary. One solution to designing large designs
efficiently is to use VHDL synthesis. Several synthesis
tools exist for mapping these descriptions to various
FPGA families.
FPGA implementation and programming:
Fig.2: Design flow on FPGA
To define the behavior of the FPGA, the user provides a
hardware description language (HDL) or a schematic
design. The HDL form is more suited to work with large
structures because it's possible to just specify them
numerically rather than having to draw every piece by
hand.
Once the design and validation process is
complete, the binary file generated is used to
(re)configure the FPGA. This file is transferred to the
FPGA/CPLD via a serial interface (JTAG).
In a typical design flow, an FPGA application
developer will simulate the design at multiple stages
throughout the design process. Initially the RTL
description in VHDL or Verilog is simulated by creating
test benches to simulate the system and observe results.
Then, after the synthesis engine has mapped the design
to a netlist, the netlist is translated to a gate level
description where simulation is repeated to confirm the
synthesis proceeded without errors.
Finally the design is laid out in the FPGA at which
point propagation delays can be added and the
simulation run again with these values back-annotated
onto the netlist.
III. IR DISTANCE MEASURABLE SENSOR
The Sharp GP2YOA21YK sensor shown in Figure is an
IR device that can provide distance measurements. This
sensor has a shorter range of 10 to 80cm (~ 4 to 32
inches). The measured distance appears as an analog
signal at the output.
Fig.3: Pin Assignment
Fig.4: Operation of Sharp IR Ranging Module
Fig.5: Internal Block Diagram of sensor.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1496
As shown in Figure internally the GP2YOA21YK contains
an IR LED and a position-sensitive IR detector. The IR
LED transmits a modulated beam of infrared light.
When the light strikes an object, most of the light
will be reflected back to the LED. Since no surface is a
perfect optical reflector, scattering of the IR beam occurs
at the surface of the object and some of the light is
reflected back to the position sensitive detector.
By comparing the near and far object beams shown
in figure, it is apparent that position at which the
scattered reflected IR beam hits the detector is a
function of the reflection angle [7].
Characteristics:
Fig.6: Analog Output Voltage Vs Distance to Reflective
Object.
Alignment of sensor:
Fig.7: Proper Alignment of Moving Sensor.
IV. DRIVING DC MOTOR
A DC motor requires 9v power supply. The motor will
have two lines. Since we cannot connect a DC motor
directly to FPGA board, so we use a driver IC.
The driver IC takes the control from board and
converts the voltage level to level required to drive the
motor. Now the current for the motor is supplied by the IC
driver.
A program is written to drive the motor. It is assumed
that a switch is connected to digital pin2 and the function
of this switch is to change the motor state. Initially the
motor is OFF. The motor will run in one direction when the
switch is pressed.
L293D Driver IC:
Fig.8: L293D Driver IC.
The diagrammatic representation of L293D is as
shown below. L293D is a 16 pin DIP (dual in-line
package) IC.
Fig.9: Pin Assignment of L293D IC.
Pin 1 and Pin 9 are enable pins, EN1 and EN2
respectively. The basic purpose of enable pins is to
enable a particular channel. EN1 enables the first
channel while EN2 enables the second channel. If both
the channels are to be used simultaneously, then both
the enables pins, EN1 and EN2 should be enabled by
applying 5V power supply.
Suppose, to control the left motor which is connected to
Pin3 (Output1) and Pin6 (Output2). As mentioned above,
it requires three pins to control this motor - Pin1
(Enable1), Pin2 (Input1) and Pin7 (Input2). Here is the
truth table representing the functionality of this motor
driver.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1497
Table 1: Truth Table for L293D Motor Driver IC
Pin 1 Pin 2 Pin 7 Function
High High Low Turn clockwise (Forward)
High Low High
Turn Anti-clockwise
(Reverse)
High High High Stop
High Low Low Stop
Low X X Stop
Table2: Logic inputs to activate the L293 chip
Functions Inputs (EN1 EN2 IN1 IN2 IN3 IN4)
Forward 111010
Reverse 110101
Left 110100
Right 110001
The motor driver can be mounted on the chassis
using the connectors as shown below:
Fig.10: Mounting of L293D
The ADC converter on the Spartan 3E board converts the
analog signal from sensor to digital signal which in turn
used to display the distance of the robot from obstacle
through seven segment and control the motor to drive in
a proper way.
V. SIMULATION RESULTS
i) Analog to digital converter
ii) Motor Control
iii). Display (seven segment)
iv) Controller
VI. CONCLUSION & FUTURE WORK
With the advancement in the field of robotics,
robots can be used in hazardous condition where the
presence of human is unsafe. Autonomous mobile robots
can also be used to deliver parts in factories, being
complementary platforms in a security system. This
paper describes the implementation of a FPGA based
controller for a simple mobile robot. This design may be
described as a mapping from the input sensors to the
actuators which control the robot motions. It is shown
that FPGA can be configured to implement the design
successfully. The wireless channel may also be added to
increase system flexibility.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1498
VII. REFERENCES
[1] Prabhas Chongstitvatana. “A FPGA-based Behavioral
Control System for a Mobile Robot”. IEEE Asia-Pacific
Conference on Circuits and Systems, Chiangmai,
Thailand, 1998.
[2] Renato A. Krohling, Yuchao Zhou, Andy M. Tyrrell.
“Evolving FPGA-based Robot Controllers using an
Evolutionary Algorithm”. n International Conference
on Artificial Immune Systems, pp.41-46, 2002.
[3] Hannan Bin Aznar, MA, Dimond, K.R. “Design of an
FPGA based adaptive neural controller for intelligent
robot navigation”. In Proceedings of the Euromicro
Symposium on Digital Systems Design, pp.283-290,
2005.
[4] P.H.W. Leong and K.H. Tsoi “Field Programmable
Array Technology for Robotics Applications”. In IEEE
International Conference on Robotics and Bioimetics
ROBIO, 2005.
[5] P. Jin, M.H. Yang, L. Wei, R. Liu, Y.W. Cai, H.G. Liu, H.
Seitz, N. Butterfass, J. Hirzinger, G “High
performance DSP/FPGA controller for
implementation of HIT/DLR dexterous robot hand".
In International conference on Robotics and
Automation, ICRA, pp.3397-3402, 2004.
[6] J.M. Rosario, R. Pegoraro, H. Ferasoli. “Conception of
Wheeled Mobile Robots with Reconfigurable
Control using Integrate Prototyping”. Laboratory of
Automation and Robotics, Sao Paulo, Brazil
[7] István Matijevics: Microcontrollers, Actuators and
Sensors in Mobile Robots, in Proceedings of 4th
Serbian-Hungarian Joint Symposium on Intelligent
Systems (SISY206) September 29-30,
2006,Subotica, Serbia.
[8] Volnie A.Pedroni. “Circuit Design with VHDL”.MIT
Press, Cambridge, Massachusetts, London, England.
[9] Chris Lo. “Dynamic Reconfiguration Mechanism for
Robot Control Software”. Department of Electrical
and Computer Engineering, University of Auckland,
Auckland, New Zealand.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072

More Related Content

What's hot (20)

DOCX
design of FPGA based traffic light controller system
Vinny Chweety
 
PDF
vlsi projects using verilog code 2014-2015
E2MATRIX
 
PPTX
An Introduction to Robotics and Embedded System
Peeyush Sahu CAPM®
 
PDF
Robotic Project - published paper
Robert Rosier
 
PDF
Design & development of embedded application
eSAT Publishing House
 
PDF
Network Based Data Acquisition and Logging System using PIC Microcontroller
CSCJournals
 
PDF
Power Optimized ALU Design with Control-Signal Gating Technique for Efficient...
Anil Yadav
 
PDF
Programmable logic controller performance enhancement by field programmable g...
ISA Interchange
 
PDF
IRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET Journal
 
DOCX
project report on embedded system
ram avtar
 
PPTX
Dot matrix display design using fpga
Hossam Hassan
 
DOCX
bds project final documentation
Kranthiveer Dontineni
 
PDF
Design of subthreshold dml logic gates with power gating techniques
eSAT Publishing House
 
PPTX
programmable_devices_en_02_2014
Svetozar Jovanovic
 
PDF
Basic signal processing system design on fpga using lms based adaptive filter
eSAT Journals
 
PDF
IRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET Journal
 
DOCX
UNIT-II CPLD & FPGA Architectures and Applications
Dr.YNM
 
PDF
AN DYNAMIC ENERGY MANAGEMENT ON FPGA FOR WIRELESS SENSOR NETWORK
csijjournal
 
PDF
Doc a.7-tlc report
9951081577
 
PDF
training report on embedded system and AVR
Urvashi Khandelwal
 
design of FPGA based traffic light controller system
Vinny Chweety
 
vlsi projects using verilog code 2014-2015
E2MATRIX
 
An Introduction to Robotics and Embedded System
Peeyush Sahu CAPM®
 
Robotic Project - published paper
Robert Rosier
 
Design & development of embedded application
eSAT Publishing House
 
Network Based Data Acquisition and Logging System using PIC Microcontroller
CSCJournals
 
Power Optimized ALU Design with Control-Signal Gating Technique for Efficient...
Anil Yadav
 
Programmable logic controller performance enhancement by field programmable g...
ISA Interchange
 
IRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET Journal
 
project report on embedded system
ram avtar
 
Dot matrix display design using fpga
Hossam Hassan
 
bds project final documentation
Kranthiveer Dontineni
 
Design of subthreshold dml logic gates with power gating techniques
eSAT Publishing House
 
programmable_devices_en_02_2014
Svetozar Jovanovic
 
Basic signal processing system design on fpga using lms based adaptive filter
eSAT Journals
 
IRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET Journal
 
UNIT-II CPLD & FPGA Architectures and Applications
Dr.YNM
 
AN DYNAMIC ENERGY MANAGEMENT ON FPGA FOR WIRELESS SENSOR NETWORK
csijjournal
 
Doc a.7-tlc report
9951081577
 
training report on embedded system and AVR
Urvashi Khandelwal
 

Similar to IRJET- FPGA based Controller Design for Mobile Robots (20)

PDF
IRJET- IoT Color based Product Sorting Machine
IRJET Journal
 
PDF
Smartphone fpga based balloon payload using cots components
eSAT Journals
 
PDF
IRJET- Design and Implementation of PID Controller using HDL on FPGA
IRJET Journal
 
PDF
A Voice Controlled Vehicle For The Aid Of Disabled Person
IRJET Journal
 
PDF
IRJET- Line following and Obstacle avoiding Bluetooth Controlled Surveillance...
IRJET Journal
 
PDF
Ball following Robot using ESP32-cam & Arduino UNO
IRJET Journal
 
PDF
IRJET- Design and Implementation of Driverless Car using Machine Learning
IRJET Journal
 
PDF
IRJET- College Bus Fee Payment System
IRJET Journal
 
PDF
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET Journal
 
PDF
Review Report on SOC on Various Platforms for Vehicles
IRJET Journal
 
PDF
IRJET- Design and Development of Gesture Controlled Robot
IRJET Journal
 
DOCX
Meier_ECET365_Manual_LI
jmeier72
 
PDF
The Principle Of Ultrasound Imaging System
Melissa Luster
 
PDF
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...
IRJET Journal
 
PDF
GESTURE CONTROL FORKLIFT
IRJET Journal
 
PDF
Mr3422682272
IJERA Editor
 
PDF
IRJET- Design of an FPGA based Control System for Robot
IRJET Journal
 
PDF
IRJET- Portable Surveillance Robot using IoT
IRJET Journal
 
PDF
IRJET- A Study of Programmable Logic Controllers (PLC) and Graphical User Int...
IRJET Journal
 
PDF
IRJET- PLC using Renesas Controller
IRJET Journal
 
IRJET- IoT Color based Product Sorting Machine
IRJET Journal
 
Smartphone fpga based balloon payload using cots components
eSAT Journals
 
IRJET- Design and Implementation of PID Controller using HDL on FPGA
IRJET Journal
 
A Voice Controlled Vehicle For The Aid Of Disabled Person
IRJET Journal
 
IRJET- Line following and Obstacle avoiding Bluetooth Controlled Surveillance...
IRJET Journal
 
Ball following Robot using ESP32-cam & Arduino UNO
IRJET Journal
 
IRJET- Design and Implementation of Driverless Car using Machine Learning
IRJET Journal
 
IRJET- College Bus Fee Payment System
IRJET Journal
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET Journal
 
Review Report on SOC on Various Platforms for Vehicles
IRJET Journal
 
IRJET- Design and Development of Gesture Controlled Robot
IRJET Journal
 
Meier_ECET365_Manual_LI
jmeier72
 
The Principle Of Ultrasound Imaging System
Melissa Luster
 
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...
IRJET Journal
 
GESTURE CONTROL FORKLIFT
IRJET Journal
 
Mr3422682272
IJERA Editor
 
IRJET- Design of an FPGA based Control System for Robot
IRJET Journal
 
IRJET- Portable Surveillance Robot using IoT
IRJET Journal
 
IRJET- A Study of Programmable Logic Controllers (PLC) and Graphical User Int...
IRJET Journal
 
IRJET- PLC using Renesas Controller
IRJET Journal
 
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
PDF
Kiona – A Smart Society Automation Project
IRJET Journal
 
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
PDF
Breast Cancer Detection using Computer Vision
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
Kiona – A Smart Society Automation Project
IRJET Journal
 
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
Breast Cancer Detection using Computer Vision
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Ad

Recently uploaded (20)

PDF
LEARNING CROSS-LINGUAL WORD EMBEDDINGS WITH UNIVERSAL CONCEPTS
kjim477n
 
PDF
Comparative Analysis of the Use of Iron Ore Concentrate with Different Binder...
msejjournal
 
PPTX
Data_Analytics_Presentation_By_Malik_Azanish_Asghar.pptx
azanishmalik1
 
PPT
IISM Presentation.ppt Construction safety
lovingrkn
 
PDF
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
PPTX
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
PDF
3.-Differential-Calculus-Part-2-NOTES.pdf
KurtMarbinCalicdan1
 
PDF
13th International Conference of Networks and Communications (NC 2025)
JohannesPaulides
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PDF
th International conference on Big Data, Machine learning and Applications (B...
Zac Darcy
 
PPT
Hazard identification and risk assessment PPT
SUNILARORA51
 
PDF
July 2025 - Top 10 Read Articles in Network Security & Its Applications.pdf
IJNSA Journal
 
PPTX
Smart_Cities_IoT_Integration_Presentation.pptx
YashBhisade1
 
PDF
IEEE EMBC 2025 「Improving electrolaryngeal speech enhancement via a represent...
NU_I_TODALAB
 
PDF
Non Text Magic Studio Magic Design for Presentations L&P.pdf
rajpal7872
 
PDF
Geothermal Heat Pump ppt-SHRESTH S KOKNE
SHRESTHKOKNE
 
PPTX
Dolphin_Conservation_AI_txhasvssbxbanvgdghng
jeeaspirant2026fr
 
PDF
An Evaluative Study on Performance Growth Plan of ICICI Mutual Fund and SBI M...
PoonamKilaniya
 
PPTX
Unit II: Meteorology of Air Pollution and Control Engineering:
sundharamm
 
PDF
Call For Papers - International Journal on Natural Language Computing (IJNLC)
kevig
 
LEARNING CROSS-LINGUAL WORD EMBEDDINGS WITH UNIVERSAL CONCEPTS
kjim477n
 
Comparative Analysis of the Use of Iron Ore Concentrate with Different Binder...
msejjournal
 
Data_Analytics_Presentation_By_Malik_Azanish_Asghar.pptx
azanishmalik1
 
IISM Presentation.ppt Construction safety
lovingrkn
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
3.-Differential-Calculus-Part-2-NOTES.pdf
KurtMarbinCalicdan1
 
13th International Conference of Networks and Communications (NC 2025)
JohannesPaulides
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
th International conference on Big Data, Machine learning and Applications (B...
Zac Darcy
 
Hazard identification and risk assessment PPT
SUNILARORA51
 
July 2025 - Top 10 Read Articles in Network Security & Its Applications.pdf
IJNSA Journal
 
Smart_Cities_IoT_Integration_Presentation.pptx
YashBhisade1
 
IEEE EMBC 2025 「Improving electrolaryngeal speech enhancement via a represent...
NU_I_TODALAB
 
Non Text Magic Studio Magic Design for Presentations L&P.pdf
rajpal7872
 
Geothermal Heat Pump ppt-SHRESTH S KOKNE
SHRESTHKOKNE
 
Dolphin_Conservation_AI_txhasvssbxbanvgdghng
jeeaspirant2026fr
 
An Evaluative Study on Performance Growth Plan of ICICI Mutual Fund and SBI M...
PoonamKilaniya
 
Unit II: Meteorology of Air Pollution and Control Engineering:
sundharamm
 
Call For Papers - International Journal on Natural Language Computing (IJNLC)
kevig
 

IRJET- FPGA based Controller Design for Mobile Robots

  • 1. © 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1494 FPGA based Controller Design for Mobile Robots K. Anitha1, M. Srinivasa Rao2 1, 2Department of ECE, Prasad V Potluri Siddhartha Institute of Technology, Vijayawada, A.P, India --------------------------------------------------------------------***---------------------------------------------------------------------- Abstract:- Mobile robotics and embedded systems are two research areas that have been receiving a considerable attention in years. Combining these two research topics is a very interesting and promising task. Some of the problems of controlling robots using embedded systems are designing device drivers, provide network communication and develop complex control algorithms under hardware limitations. This paper presents a conception of mobile robots using rapid prototyping, distributing the several control actions in growing levels of complexity and computing proposal oriented to embed systems implementation. This kind of controller can be tested on different platform representing the mobile robots using reprogrammable logic components (FPGA). Different modules can be interfaced using FPGA controller. Here we are constructing a simple robot model, which can measure the distance from obstacle with the aid of sensor and accordingly it is able to control the speed of motor. Keywords — Infrared sensor, Obstacle Avoidance, Motor driver L293D, Spartan3E FPGA, VHDL. I. INTRODUCTION The emergence of reconfigurable Field Programmable Gate Arrays (FPGA) has given rise to a new platform of complete mobile robot control system. With FPGA devices, it is possible to tailor the design to fit the requirements of applications (for example, exploration and navigation functions for a robot). General-purpose computers can provide acceptable performance when tasks are not too complex. A single processor system cannot guarantee real-time response (particularly in the absence of considerable additional hardware), if the environment is dynamic or semi- dynamic. Here we focus on the design of the mobile robot platform, with two driving wheels mounted on the same axis. An FPGA-based robotic system can be designed to handle tasks in parallel [3]. The mobile robot consists of many units like Mechanics (chassis, housing, wheels), electromechanical parts and Sensors. Robots carry out various tasks. During these tasks the robot moves and orients. While navigating, it uses signals from the environment and the contents of its own memory to make the correct decisions. This form of navigation may be manifold depending on the given task and problem [1]. Wheeled mobile robot: Wheel control is less complex than the actuation of multi-joint legs, and wheels cause minimal surface damage in comparison with treads. Wheeled mobile robots (WMRs) are more energy efficient than legged robots on hard and smooth surfaces [6]. They require fewer and simpler parts and are thus easier to build than legged mobile robots. A robot is capable of locomotion on surface solely through the actuation of wheel assemblies mounted on the robot and in contact with the surface. Most designs require minimum two motors for driving (and steering) a mobile robot. The combination of two driven wheels allows the robot to be driven straight, in a curve, or to turn on the spot. II. HARDWARE DESCRIPTION OF MOBILE ROBOT Architecture of Mobile Robot: Within the proposal of mobile robotics platform, the use of FPGA Controller, with control software especially developed for the necessary applications, is considered using structured libraries to design, simulation, and verification with MODELSIM, we convert the model to function prototyping using FPGA hardware. This system included both hardware and software development. The output of ADC was connected to the FPGA board and it was used as the input of the source code. The assembly language that is used in this system is VHDL. After the simulation and the synthesis process, the program has been implemented on the FPGA board. The Spartan 3E family of Field-Programmable Gate Arrays is specifically designed to meet the needs of high volume, cost-sensitive consumer electronic applications [4]. They are ideally suited to a wide range of consumer electronics applications, including broadband access, home networking, display/projection and digital television equipment. Fig.1: Block Diagram of mobile robot. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
  • 2. © 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1495 FPGA’s avoid the high initial cost, the lengthy development cycles, and the inherent inflexibility of conventional ASICs. Also, FPGA programmability permits design upgrades in the field with no hardware replacement necessary, an impossibility with ASICs. Logic Implementation on FPGA: Basically two approaches are followed to implement logic on FPGA board. They are Look up table approach and Multiplexer approach. In look up table approach, the logic is implemented with LUTs. A LUT is basically a memory device with certain capacity. As per the design requirement, the LUT is filled up with specific value to implement the design. The LUT approach is widely used in most of the FPGAs. As the logic capacity of FPGA increases, synthesis for FPGAs is becoming more important. To efficiently exploit increased logic capacity of FPGAs, synthesis tools and efficient synthesis methods for FPGA targets become necessary. One solution to designing large designs efficiently is to use VHDL synthesis. Several synthesis tools exist for mapping these descriptions to various FPGA families. FPGA implementation and programming: Fig.2: Design flow on FPGA To define the behavior of the FPGA, the user provides a hardware description language (HDL) or a schematic design. The HDL form is more suited to work with large structures because it's possible to just specify them numerically rather than having to draw every piece by hand. Once the design and validation process is complete, the binary file generated is used to (re)configure the FPGA. This file is transferred to the FPGA/CPLD via a serial interface (JTAG). In a typical design flow, an FPGA application developer will simulate the design at multiple stages throughout the design process. Initially the RTL description in VHDL or Verilog is simulated by creating test benches to simulate the system and observe results. Then, after the synthesis engine has mapped the design to a netlist, the netlist is translated to a gate level description where simulation is repeated to confirm the synthesis proceeded without errors. Finally the design is laid out in the FPGA at which point propagation delays can be added and the simulation run again with these values back-annotated onto the netlist. III. IR DISTANCE MEASURABLE SENSOR The Sharp GP2YOA21YK sensor shown in Figure is an IR device that can provide distance measurements. This sensor has a shorter range of 10 to 80cm (~ 4 to 32 inches). The measured distance appears as an analog signal at the output. Fig.3: Pin Assignment Fig.4: Operation of Sharp IR Ranging Module Fig.5: Internal Block Diagram of sensor. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
  • 3. © 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1496 As shown in Figure internally the GP2YOA21YK contains an IR LED and a position-sensitive IR detector. The IR LED transmits a modulated beam of infrared light. When the light strikes an object, most of the light will be reflected back to the LED. Since no surface is a perfect optical reflector, scattering of the IR beam occurs at the surface of the object and some of the light is reflected back to the position sensitive detector. By comparing the near and far object beams shown in figure, it is apparent that position at which the scattered reflected IR beam hits the detector is a function of the reflection angle [7]. Characteristics: Fig.6: Analog Output Voltage Vs Distance to Reflective Object. Alignment of sensor: Fig.7: Proper Alignment of Moving Sensor. IV. DRIVING DC MOTOR A DC motor requires 9v power supply. The motor will have two lines. Since we cannot connect a DC motor directly to FPGA board, so we use a driver IC. The driver IC takes the control from board and converts the voltage level to level required to drive the motor. Now the current for the motor is supplied by the IC driver. A program is written to drive the motor. It is assumed that a switch is connected to digital pin2 and the function of this switch is to change the motor state. Initially the motor is OFF. The motor will run in one direction when the switch is pressed. L293D Driver IC: Fig.8: L293D Driver IC. The diagrammatic representation of L293D is as shown below. L293D is a 16 pin DIP (dual in-line package) IC. Fig.9: Pin Assignment of L293D IC. Pin 1 and Pin 9 are enable pins, EN1 and EN2 respectively. The basic purpose of enable pins is to enable a particular channel. EN1 enables the first channel while EN2 enables the second channel. If both the channels are to be used simultaneously, then both the enables pins, EN1 and EN2 should be enabled by applying 5V power supply. Suppose, to control the left motor which is connected to Pin3 (Output1) and Pin6 (Output2). As mentioned above, it requires three pins to control this motor - Pin1 (Enable1), Pin2 (Input1) and Pin7 (Input2). Here is the truth table representing the functionality of this motor driver. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
  • 4. © 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1497 Table 1: Truth Table for L293D Motor Driver IC Pin 1 Pin 2 Pin 7 Function High High Low Turn clockwise (Forward) High Low High Turn Anti-clockwise (Reverse) High High High Stop High Low Low Stop Low X X Stop Table2: Logic inputs to activate the L293 chip Functions Inputs (EN1 EN2 IN1 IN2 IN3 IN4) Forward 111010 Reverse 110101 Left 110100 Right 110001 The motor driver can be mounted on the chassis using the connectors as shown below: Fig.10: Mounting of L293D The ADC converter on the Spartan 3E board converts the analog signal from sensor to digital signal which in turn used to display the distance of the robot from obstacle through seven segment and control the motor to drive in a proper way. V. SIMULATION RESULTS i) Analog to digital converter ii) Motor Control iii). Display (seven segment) iv) Controller VI. CONCLUSION & FUTURE WORK With the advancement in the field of robotics, robots can be used in hazardous condition where the presence of human is unsafe. Autonomous mobile robots can also be used to deliver parts in factories, being complementary platforms in a security system. This paper describes the implementation of a FPGA based controller for a simple mobile robot. This design may be described as a mapping from the input sensors to the actuators which control the robot motions. It is shown that FPGA can be configured to implement the design successfully. The wireless channel may also be added to increase system flexibility. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072
  • 5. © 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1498 VII. REFERENCES [1] Prabhas Chongstitvatana. “A FPGA-based Behavioral Control System for a Mobile Robot”. IEEE Asia-Pacific Conference on Circuits and Systems, Chiangmai, Thailand, 1998. [2] Renato A. Krohling, Yuchao Zhou, Andy M. Tyrrell. “Evolving FPGA-based Robot Controllers using an Evolutionary Algorithm”. n International Conference on Artificial Immune Systems, pp.41-46, 2002. [3] Hannan Bin Aznar, MA, Dimond, K.R. “Design of an FPGA based adaptive neural controller for intelligent robot navigation”. In Proceedings of the Euromicro Symposium on Digital Systems Design, pp.283-290, 2005. [4] P.H.W. Leong and K.H. Tsoi “Field Programmable Array Technology for Robotics Applications”. In IEEE International Conference on Robotics and Bioimetics ROBIO, 2005. [5] P. Jin, M.H. Yang, L. Wei, R. Liu, Y.W. Cai, H.G. Liu, H. Seitz, N. Butterfass, J. Hirzinger, G “High performance DSP/FPGA controller for implementation of HIT/DLR dexterous robot hand". In International conference on Robotics and Automation, ICRA, pp.3397-3402, 2004. [6] J.M. Rosario, R. Pegoraro, H. Ferasoli. “Conception of Wheeled Mobile Robots with Reconfigurable Control using Integrate Prototyping”. Laboratory of Automation and Robotics, Sao Paulo, Brazil [7] István Matijevics: Microcontrollers, Actuators and Sensors in Mobile Robots, in Proceedings of 4th Serbian-Hungarian Joint Symposium on Intelligent Systems (SISY206) September 29-30, 2006,Subotica, Serbia. [8] Volnie A.Pedroni. “Circuit Design with VHDL”.MIT Press, Cambridge, Massachusetts, London, England. [9] Chris Lo. “Dynamic Reconfiguration Mechanism for Robot Control Software”. Department of Electrical and Computer Engineering, University of Auckland, Auckland, New Zealand. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 10 | Oct 2018 www.irjet.net p-ISSN: 2395-0072