Design and Analysis of Gantry Robot For Pick and Place Mechanism With
Design and Analysis of Gantry Robot For Pick and Place Mechanism With
Design and analysis of gantry robot for pick and place mechanism with
Arduino Mega 2560 microcontroller and processed using pythons
G.S. Sharath, Niranjan Hiremath, G. Manjunatha
School of Mechanical Engineering, REVA University, Bengaluru 560064, India
a r t i c l e i n f o a b s t r a c t
Article history: Robots are extensively used in industries for their precision work and amount of work that one can obtain
Received 2 September 2020 without any defects. In this paper we are using a gantry robot for as it does not occupy the floor space
Received in revised form 21 November 2020 therefore reducing the distance for reachability of the parts and hence reducing unnecessary material
Accepted 30 November 2020
for guide way. Robots work in strictly defined path and there is no or very little change in such systems
Available online 25 February 2021
in order to overcome this we are using a vision based control system to make the system dynamic in nat-
ure the images are picked by using a USB camera processed images of the object is transmitted via serial
Keywords:
communication to the Arduino Mega 2560 microcontroller and processed using pythons open source
Gantry robot
Machine vision
computer vision (Open CV) image to process the image captured by the USB camera to find the exact col-
Image processing our and to pick the object and sort it.
Arduino microcontroller Ó 2020 Elsevier Ltd. All rights reserved.
Open CV Selection and peer-review under responsibility of the scientific committee of the 4th International Con-
Python ference on Advanced Research in Mechanical, Materials and Manufacturing Engineering-2020.
https://doi.org/10.1016/j.matpr.2020.11.965
2214-7853/Ó 2020 Elsevier Ltd. All rights reserved.
Selection and peer-review under responsibility of the scientific committee of the 4th International Conference on Advanced Research in Mechanical, Materials and
Manufacturing Engineering-2020.
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
Table 1 accordance to the required one then it will be rejected. The com-
Types of CNC Shields. plete sorting system operates on image processing using the
Name Stepoko Gsheild5 CNC Shield V3.51 MATLAB application & microcontroller which will control different
Manufacturer SparkFun Synthetos Protoneer motors in the system. Machine vision based on colour concept has
Number of Axis 3 3 4 found its wide application in the pharmaceuticals industry, agri-
Voltage (Volts DC) 12–30 12–30 8.2–45 culture industry and assembly of parts especially in automobile
Current (Amps) 2 2.5 2.2 industry. This technology can solve problems formerly restricted
Modular Stepper Driver NO NO YES
Stepper Driver Chip DRV8811 DRV8818 DRV8825 or A4998
to manual inspections & sorting [1,2] (Table 1).
Maximum Micro 8X 8X 32X or 16 X
Stepping
GRBL Preloaded YES NO NO 2. Methodology
Shield Cost 11,391 3,822 259
Arduino Cost 0 814 814
2.1. Design of robot
Driver Cost 0 0 784
(Included) (Included) (Price for 4 Drivers
A4998) Design of Robot using solid works software individual parts
Total Cost 11,391 4,636 1,857 were designed using the solid works software designed parts were
analyzed using solid work simulation by applying load and the
results obtained were used for further changes in design and then
tasks in which the robot must process several objects placed in a remodeled until it met our specification the parts that were tested
nearly organized way on a horizontal plane below the robot. In this are
paper, we are planning to do color detection and recognition for
three basic colors Red, Green and Blue and to make sure that Frame
Machine Vision based Color detection and recognition is accurate Guide Wheels
and precise and is also able to withstand ambient lighting condi- Acrylic Plates
tions, pattern orientation and multiple instances, blur and noise
conditions. Machine vision performs the tasks that are equivalent The Frame had to withstand self weight and the weight of the
to human vision. It helps to automate the systems where there stepper motors and acrylic plates
are limitations of human vision like detecting various shades of The guide wheels had to have minimum deformation so as to
colours or determining high precise dimensions and thus permit- provide precisie movement based on stepper motors input
ting human employees to serve in more appropriate positions. The acrylic plates has to withstand the load of the stepper
Now, what happens when the questions turn to ‘‘Is this part of cor- motor and shouldn’t bend so as to provide proper power transfer
rect colour?” or ‘‘Which parts are blue and which red?” So in our to pulley
system, colour based identification of the parts will be done and Assembling the parts in solidworks helped us to create changes
then it will be sorted according to different colours. After recogniz- with respect to placement of parts resizing and interference
ing the colour of the object, robotic arm will automatically pick & between parts while joining were redone by placing holes where
place it accordingly. If the colour of the work piece is not found in there are no interference
378
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
Manufacturing of parts, the acrylic parts were laser cut so as to out the object dimensions and send the appropriate control signals
get clean cuts with the help of drafting made with solidworks and to the Articulated Robot via Arduino microcontroller to pick and
the frame material used was readily available in the market the fix- place the object and sort them at expected location from unknown
tures holding the frames were 3d printed location. The system can be controlled by Python and Arduino
Electronics selection the Microprocessor was selected for its Mega in PC [3,4,5].
storage and compability with CNC Shield and stepper motor driver,
we wanted the setup to be modular so as to change the affected
2.3. Bearings
part rather than the whole setup which would be a costly.
2.4. Stepper motor driver 2.6. Switch mode power supply (SMPS)
Stepper motors don’t rotate in the manner of a traditional The SMPS is a versatile power supply as we can choose from dif-
motor instead, they step. ferent topologies like Step – up (Boost), Step – down (Buck), power
supplies with isolation at input and output depending on the type
of application.
2.5. Stepper motor
A stepper motor, also known as step motor or stepping motor, is 2.6.1. Arduino Mega 2560
a brushless DC electric motor that divides a full rotation into a Arduino is an open-source electronics prototyping platform
number of equal steps. based on flexible, easy-to-use hardware and software. It is
380
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
intended for artists, designers, hobbyists, and anyone interested in 3. Design, analysis & selection of material
creating interactive objects or environments.
The Arduino Mega 2560 R3 is an open source precise microcon- 3.1. Design, analysis & selection of frame material
troller board Successor to the Arduino Mega based on the
ATmega2560 SMD chip. The Mega 2560 R3 also adds SDA and The frame we selected is already available in the market which
SCL pins next to the AREF. In addition, there are two new pins has guideways for the rollers from the supplier precision bearing
placed near the RESET pin. One is the IOREF that allow the shields house made out of Aluminium 6063 T5 which costs at 0.25 paisa
to adapt to the voltage provided from the board. The other is a not per mm.
connected and is reserved for future purposes. The Mega 2560 R3 We used the companies’ 2d part drawings to create frame in the
works with all existing shields but can adapt to new shields which software of the following size
use these additional pins. Advantages of using Aluminium
381
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
Fig. 10.
Fig. 11.
382
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
383
G.S. Sharath, N. Hiremath and G. Manjunatha Materials Today: Proceedings 45 (2021) 377–384
3.3. Electronic components complexity of a timing belt and zero-backlash cable drive circuit in
place of the cost of an expensive gear head. In motor selection, we
3.3.1. CNC Shield used stepper motors for their high torque at low speeds, in
The CNC Shield was designed by Protoneer.co.nz to take advan- exchange for a highly-reduced brushless or brushed motor. These
tage of the demand for a low-cost controller solution for DIY CNC design tradeoffs were chosen for the envisioned target application
machines. of robots interacting with unstructured environments such as a
There are two main types of Arduino CNC shields. typical home or workplace, where the safety of intrinsic mechani-
cal compliance is an important design consideration. The cost- con-
1. Integrated Stepper Driver: The stepper motor drivers are inte- trolling tradeoffs described in this paper were made as an effort
grated into the shield. To replace the drivers, the chip on the cir- towards designing affordable compliant manipulators, an area of
cuit card must be de-soldered and a new one soldered into research which, to date, has received little attention, and which
place. we propose could have a large impact on the speed of adoption
2. Modular Stepper Driver: The stepper motor drivers are modular of robots into typical homes and workplaces.
and plug into a set of headers on the circuit board.
Declaration of Competing Interest
3.3.2. Arduino architecture
Basically, the processor of the Arduino board uses the Harvard The authors declare that they have no known competing finan-
architecture where the program code and program data have sep- cial interests or personal relationships that could have appeared
arate memory. It consists of two memories such as program mem- to influence the work reported in this paper.
ory and data memory. Wherein the data is stored in data memory
and the code is stored in the flash program memory. The References
Atmega328 microcontroller has 32 kb of flash memory, 2 kb of
SRAM 1 kb of EPROM and operates with a 16 MHz clock speed. [1] M. Saedan, H. Marcelo, Inter. Conference on Robotics and Applications (2001)
152–157.
[2] M. Sabin’s, V. Thakur, R. Thorat, G. Yeole, C. Tank, Int. J. Com. Eng. Appl. (2015).
3.3.3. Switch mode power supply [3] Rani A. Magadum, Uttam Bombale, Int. J. Robot. Res. Develop. (IJRRD) 9 (1)
Majority of Electronic DC Loads like Microprocessors, Microcon- (2019) 43–48.
[4] Mary S. Pearl, C. Mahesh, Int. J. Trends Eng. Tech. (2015).
trollers, LEDs, Transistors, ICs, and Motors etc. are supplied with [5] Anita Gade, Yogesh, Inter. Conference on Data Management, Analytics and
standard power sources like batteries for example. Unfortunately, Innovation, 2017.
the prime problem with batteries is the voltage is either too high [6] Tarkesh S. Pujari, S.B. Deosarkar, Inter. Conference on Recent Trends in
Electronics Information & Communication Technology, 2017.
or too low. Hence, an SMPS will provide a regulated DC output. [7] Masahiko Mikawa, Yuya Morimoto and Kazuyo Tanaka, IEEE Inter. Symposium
SMPS is a versatile power supply as we can choose from differ- on Robot and Human Interactive Communication, 2018.
ent topologies like Step – up (Boost), Step – down (Buck), power [8] Jia Liu, Feng Zhu, IEEE INFOCOM 2017 – IEEE Conference on Computer
Communications, 2017
supplies with isolation at input and output depending on the type
[9] Deepthi Unnikrishnan, C.R. Aswani, Arjun K Jayaprakash, Ganesh S Inter, J Eng.
of application. Res. Technol. (2017).
Coming to the major factor of why we need SMPS, the efficiency
of a good SMPS design can be as high as 90% or even more. In con- Further reading
trast, the efficiency of a Linear Regulated Power Supply is depen-
dent on the voltage drop at the pass transistor. [10] S. Priya, M. Ragavi, Int. J. Recent Technol. Eng. (2019).
[11] V. Sundara Mahalingam, Saravanan Aravind, R. Tharini Devi, Int. J. Innov.
Emerg. Res. Eng. (2017).
3.4. Conclusions
384