Implementationof Digital Image Processing Using NImy RIOand Arduino Mega 2560 As Controlleron Rover Bogie Robot
Implementationof Digital Image Processing Using NImy RIOand Arduino Mega 2560 As Controlleron Rover Bogie Robot
net/publication/334155810
CITATIONS READS
6 1,658
3 authors, including:
Some of the authors of this publication are also working on these related projects:
NI myRIO development as segway controller for lecturer mobility in campus area View project
All content following this page was uploaded by Arif Ainur Rafiq on 18 March 2020.
Abstract— the need for exploration of a place or area is suspension system, this explorers robot can go through a
sometimes necessary for research, documentation or special variety of terrains such as climbing obstacles with a certain
purpose in that area. It is like researching animal life in the height and pass through sandy terrain or unstable terrain [1].
forest, documenting historical sites or searching for the victim Rover bogie also has characteristics that it is suitable for use
because of a natural disaster and an area with a difficult
in areas prone to disaster or areas that are difficult to reach
terrain. However, in some such places, there are many possible
dangers if we send humans to carry out exploratory missions. when natural disaster.
The realization involves making a simulation of the system, This bogie rover robot is designed using Arduino
designing the software, designing the physical system Mega2560 as the control of four DC PG-36 motors, wireless
mechanically and electrically and finally implementing the joystick to build remote control system and NI myRIO 1900
controller to an NI myRIO hardware platform and Arduino as a processor of the image obtained from the camera
Mega 2560. This research will design a rover robot to explore integrated with LabVIEW, so the images and video obtained
in various places that have a variety of terrain characteristic. can be displayed in real time. Images obtained from the
Rover robot is designed with passive suspension rocker-bogie camera will be processed by LabVIEW via image
system. With this system, the robot can go through a variety of
processing tools. In this image processing will be
heavy terrain, a hill, sandy terrain and unstable terrain with a
certain height. An algorithm is created to process the images or enlightened from the picture quality. This control and image
video that captured by the camera. The controller is capture system will make the robot able to perform the
implemented using LabVIEW myRIO 2016 SP2 development exploration mission efficiently.
environment. Arduino will control the rover bogie motion
using velocity reference inputs via a joystick. The realization of II. MATERIAL AND METHODS
this project is successful, however further testing and dynamics In this research will be done in two stages, software
analysis is needed in order to control the robot and image design and hardware design.
processing optimally.
MAIN_PROCESSOR
13
12
10
14
15
16
17
18
19
20
21
11
9
8
7
6
5
4
3
2
1
0
TX0 PE1/TXD0/PDO
PH4/OC4B
PH3/OC4A
PE3/OC3A/AIN1
PG5/OC0B
PE5/OC3C/INT5
PE4/OC3B/INT4
RX0 PE0/RXD0/PCINT8
RX3 PJ0/RXD3/PCINT9
TX2 PH1/TXD2
RX2 PH0/RXD2
TX1 PD3/TXD1/INT3
SDA PD1/SDA/INT1
TX3 PJ1/TXD3/PCINT10
RX1 PD2/RXD1/INT2
SCL PD0/SCL/INT0
PH6/OC2B
PH5/OC4C
AREF
PB6/OC1B/PCINT6
PB5/OC1A/PCINT5
PB4/OC2A/PCINT4
PB7/OC0A/OC1C/PCINT7
22
PA0/AD0
PA1/AD1 23
24
PA2/AD2
PA3/AD3 25
26
PA4/AD4
PA5/AD5 27
28
PA6/AD6
PA7/AD7 29
PC7/A15 30
PWM COMUNICATION 31
PC6/A14
microcontrolandos.blogspot.com 32
PC5/A13
33
DIGITAL
PC4/A12
34
PC3/A11
PC2/A10 35
36
PC1/A9
PC0/A8 37
ATMEGA2560 38
16AU 1126 PD7/T0
PG2/ALE 39
40
PG1/RD
41
Fig 3 Arduino Mega2560 PG0/W R
PL7
42
43
PL6 44
PL5/OC5C
B. BTS 7960B Motor Driver ANALOG IN
PL4/OC5B
PL3/OC5A
45
46
47
PL2/T5
48
PK2/ADC10/PCINT18
PK4/ADC12/PCINT20
PK5/ADC13/PCINT21
PK6/ADC14/PCINT22
PK7/ADC15/PCINT23
PK3/ADC11/PCINT19
The BTS 7960 is a fully integrated high current half PL1/ICP5
PK0/ADC8/PCINT16
PK1/ADC9/PCINT17
49
PL0/ICP4 50
PF6/ADC6/TDO
PF5/ADC5/TMS
PB3/MISO/PCINT3
PF4/ADC4/TCK
PF7/ADC7/TDI
51
bridge for motor drive supplications. It is part of that PB2/MOSI/PCINT2 52
PF0/ADC0
PF1/ADC1
PF2/ADC2
PF3/ADC3
PB1/SCK/PCINT1
PB0/SS/PCINT0 53
RESET
containing one p-channel low side MOSFET with an
integrated driver IC in one package. Due to the p-channel
A0
A1
A2
A3
A7
A6
A5
A4
A8
A9
A10
A11
A12
A13
A14
A15
ARDUINO MEGA2560 R3
D. DC Motor
DC motors consist of one set of coils, called armature
winding, inside another set of coils or a set of permanent
magnets, called the stator. Applying a voltage to the coils
produces a torque in the armature, resulting in motion.In this
study used six PG-36 type DC motor that serves as a motion
media from robot rover bogie.
MA IN_PROCESSOR
ARDUINO MEGA2560 R3
PF3/ADC3
A7 PF7/ADC7/TDI A6
PH4/OC4B 7
PF6/ADC6/ TDO A5
ANALOG IN
PH3/OC4A 6
PF5/ADC5/TMS
ATMEGA2560
5
IBT-2 IBT-2
16AU 1126
M+ M- A4 PE3/OC3A/AIN1 M+ M-
PF4/ADC4/TCK 4
microcontrolandos. blogspot.com
PG5/OC0B
3
A8 PE5/OC3C/INT5
PK0/ADC8/PCINT16 2
A9 PE4/ OC3B/INT4
PK1/ADC9/PCINT17 1
PK3/ADC11/ PCINT19
A12 PK4/ADC12/PCINT20
TX3 PJ1/TXD3/PCINT10 14
A13 PK5/ADC13/PCINT21
RX3 PJ 0/RXD3/PCINT9 15
A14 PK6/ADC14/PCINT22
TX2 PH1/ TXD2 16
A15
SDA PD1/SDA/INT1
PB1/SCK/PCINT1
DIGITAL
PL5/OC5C
PL3/OC5A
PL4/OC5B
21
PL0/ICP4
PL1/ICP5
PG2/ALE
PC2/A10
PC4/A12
PC6/A14
PC7/A15
PA7/AD7
PA6/AD6
PA5/AD5
PA4/AD4
PA3/AD3
PA2/AD2
PA1/AD1
PG0/WR
PC5/A13
PA0/AD0
SCL PD0/SCL/INT0
PC3/A11
PG1/RD
PD7/T0
PC0/A8
PC1/A9
PL2/T5
39
38
37
36
34
33
31
30
29
28
27
26
25
24
23
35
32
22
receiver of the data sent from the transmitter module. There Fig 7 DC motor schematic
is a controller in charge of communicating with a play
station console. E. Rover Bogie Robot
This Robot uses the rocker bogie suspension system,
which was specifically designed for space exploration
vehicles have deep history embedded in its development.
The term “rocker” describes the rocking aspect of the larger
of the larger links present each side of the suspension
Fig 5 Pin configuration in Joystick wireless PS2 system and balance the bogie as these rockers are connected
to each other and the vehicle chassis through a selectively
The communication used is synchronous serial, i.e. data modified differential.
sent one by one through the data path. To coordinate
between the sender and receiver there is one clock line. This
is what distinguish serial sync with asynchronous serial
211
Fig 8 Rocker bogie suspension system
212
diagram to allow dataflow from the user to the H. Image Processing
program and back to the user Image processing is a method to perform some operations
• Sub-Vis is analogous to subroutines in on an image, in order to get an enhanced image or to extract
conventional programming languages. some useful information from it. It is a type of signal
processing in which input is an image and output may be
G. NI myRIO
image or characteristics or features associated with that
The National Instrument myRIO-1900 is a portable image [4]. Nowadays, image processing is among rapidly
reconfiguration I/O (RIO) device that can be used to growing technologies. Image processing basically includes
implement control for mechatronics systems. The myRIO the following three steps:
platform is targeted for academic environment that are
interested in highly portable IO device to be used in • Importing the image via image acquisition tools;
academic project [3]. • Analyzing and manipulating the image;
• Output in which result can be altered image or
report that is based on image analysis.
213
III. RESULT AND ANALYSIS
214
Fig 19 shows the block diagram for take the image with REFERENCES
while loop, it means that the program can take picture
continue with the different condition. [1] M. Safary T. K., R. Sadeghian, M.T. Masouleh, “Design, Analysis
and Construction of a Novel Flexible Rover Robot”, Proceedings
of the 3rd RSI International Conference on Robotics and
Mechatronics, pp. 377–382, Tehran, Iran. October 2015.
[2] Fengzhou Wang, Xiaofan Wu, Tughrul Arslan “Mobile-
Controlled Robotic Measurement Setup for Microwave Imaging
Diagnosis”
[3] Ed Doering. NI myRIO Project Essential Guide. National
Instrument, 2016.
[4] R. Bitter, T.. Mohiuddin, M. Nawrocki, LabVIEW Advanced
Programming Techniques Second Edition. CRC Press, New York:
2007.
[5] Rafael C. Gozalez, Richard E. Woods, Digital Image Processing
Third Edition. Pearson Prentice Hill, New Jersey: 2008.
[6] IMAQ Vision for LabVIEW User Manual. National Instrument.
Fig 19 block diagram image processing using LabVIEW 2004
[7] LabVIEW Signal Processing Course Manual. National Instrument.
LabVIEW has the ability to create stand-alone 2007
executable applications, which run at compiled execution [8] Devipriya M, M. Brindha, “Moving Object Tracking Using
speeds. LabVIEW also give some advantages is the fact that FPGA”, Proceedings of the International Conference on
Intelligent Sustainable Systems (ICISS 2017). IEEE Xplore
it includes built in applications, such as the IMAQ Vision Compliant-Part Number:CFP17M19-ART, ISBN:978-1-5386-
for image processing. 1959-9. Pp:466-469. 2017
[9] Jeffrey Travis, Jim Kring. LabVIEW for Everyone, Graphical
Programming and Fun Third Edition. Prentice Hall. 2008
[10] Ricardo de Asmundo. LabVIEW Modeling, Programming and
Simulation. Intech, Rijeka:2011
IV. CONCLUSION
In this study it can be concluded that the bogie rover robot
can run according to the settings and commands of the
joystick. Camera installed inside the robot can also capture
images according to the expected conditions. We gave an
overview of Digital image processing using LabVIEW. We
describe the use of powerful visualization tools developed
using NI myRIO with LabVIEW and a few of the
demonstration developed were provided.
215