Gesture Control of Robotic Arm: Institute of Research Advances
Gesture Control of Robotic Arm: Institute of Research Advances
Gesture Control of Robotic Arm: Institute of Research Advances
1
IRA-International Journal of Technology & Engineering
ABSTRACT
Robots have become a key technology in various fields. Robotic arms are mostly remote controlled by
buttons or panels and sometimes in batch process they are autonomous. The usage of panel boards or
control sticks includes a lot of hardwiring and subject to malfunction. It also induces some stress on
the operators. Hence major chemical industries like cosmetic manufacturing, paint manufacturing and
Biosynthesis laboratory etc., which deals with hazardous environment due to the chemicals and other
bio substances, involve humans for the processing. The aim is to reduce the bulk of wiring in the
robotic arms and reduce the effort and number of operators in controlling the robotic arm operations.
To implement gestures into the process this would be a major breakthrough. This can also be used as
pick & place robot, a cleaning robot in chemical industries where a human does not need to directly
involved in the process of cleaning the chemicals and also for coating underground tanks.
Camera
+
LabVIEW Image
processing Tool Kit
ARDUINO UNO
Power supply Microcontroller
Robotic Arm
2
IRA-International Journal of Technology & Engineering
• LabVIEW 2014
• Vision and Motion Toolkit
HARDWARES USED
CAMERA
• PC web camera.
SERVO MOTORS
• 10kg torque
• Metal geared
• Operating voltage 5V
ARDUINO UNO
3
IRA-International Journal of Technology & Engineering
Fig.2.Force calculation
The force calculations are done for motor selection. You must make sure that the motor you choose
should not only support the weight of the robot arm, but also what the robot arm will carry (the blue
ball in the fig below).
The first step is to label the FBD, with the robot arm stretched out to its maximum length.
Next the moment arm calculation is done by multiplying downward force times the linkage lengths.
The calculation must be done for each lifting actuator. This design has just two DOF[6] [11] that
requires lifting, and the center of mass of each linkage is assumed to be Length/2.
Torque about Joint 1:
M1 = L1/2 * W1 + L1 * W4 + (L1 + L2/2) * W2 + (L1 + L3) * W3
Torque About Joint 2:
M2 = L2/2 * W2 + L3 * W3
For each added DOF, the math gets more complicated, and the joint weights get heavier. It is also seen
that shorter arm lengths allow for smaller torque requirements.
FORWARD KINEMATICS
4
IRA-International Journal of Technology & Engineering
Forward kinematics is the method for determining the orientation and position of the end effector, using
the joint angles and link lengths of the robot arm.
Here the end effector location with given joint angles and link lengths is calculated. To make
visualization easier, the blue triangles are drawn and the angles are labelled.
Assume that the base is located at x=0 and y=0. The first step would be to locate x and y of each joint.
Joint 0 (with x and y at base equaling 0):
x0 = 0
y0 = L0
Joint 1 (with x and y at J1 equaling 0):
cos(psi) = x1/L1 => x1 = L1*cos(psi)
sin(psi) = y1/L1 => y1 = L1*sin(psi)
Joint 2 (with x and y at J2 equaling 0):
sin(theta) = x2/L2 => x2 = L2*sin(theta)
cos(theta) = y2/L2 => y2 = L2*cos(theta)
End Effector Location (make sure your signs are correct):
x0 + x1 + x2, or 0 + L1*cos(psi) + L2*sin(theta)
y0 + y1 + y2, or L0 + L1*sin(psi) + L2*cos(theta)
z equals alpha, in cylindrical coordinates
The angle of the end effector, in this example, is equal to theta + psi.
INVERSE KINEMATICS
Inverse kinematics is the opposite of forward kinematics. Here there is a desired end effector position,
but need to know the joint angles required to achieve it. Inverse kinematics is more useful than forward
kinematics, but the calculation is much more complicated.
psi = arccos((x^2 + y^2 - L1^2 - L2^2) / (2 * L1 * L2))
theta = arcsin((y * (L1 + L2 * c2) - x * L2 * s2) / (x^2 + y^2))
where
c2 = (x^2 + y^2 - L1^2 - L2^2) / (2 * L1 * L2);
ands2 = sqrt(1 - c2^2).
5
IRA-International Journal of Technology & Engineering
Gestures
Camera
ARDUINO UNO
Microcontroller
Coding
Control of servo motor
The gesture movement of the object is captured using the camera [1] [4].
The captured image is then processed using image processing technique through NI LabVIEW software[8].
The ARDUINO UNO Microcontroller act as an interface between the system and the servo motors of the
robotic arm.
The power supply is given to the ARDUINO UNO Microcontroller and the servo motors.
The robotic arm moves with the help of a servo motor where the movement is controlled by the PWM
technique through the ARDUINO UNO Microcontroller[3][15].
The robotic arm is introduced to the environment for its various applications[7] [13].
(a)
(b)
(c)
6
IRA-International Journal of Technology & Engineering
Fig. 5. (a) Hardware construction prototype. (b) Block Diagram Code for the Robotic Arm. (c)
LabVIEW Interface With Arduino.
SOFTWARE USED
III.
The software used is LabVIEW (Laboratory Virtual Instrument Engineering Workbench). It is a
system-design platform and development environment for a visual programming language from
National Instruments.
The graphical language is named "G". It was released for the Apple Macintosh in 1986, LabVIEW is
normallyused for data acquisition, instrument control, and industrial automation on a variety of
platforms including Microsoft Windows, UNIX, Linux. The latest version of LabVIEW is LabVIEW
2016, released in August 2016.
IV. RESULTS
(a)
(b)
Fig. 6. (a) Front Panel Code of the Gesture Control. (b) Overall prototype.
V. CONCLUSION
A two degree of freedom robotic arm was designed using CAD from a sheet of 10mm PVC sheet. The
robotic arm was controlled successfully using image processing by LabVIEW and driving the servos
using ARDUINO UNO Microcontroller [15]. The robotic arm replicated or moved in accordance with
the movement of the gesture or reference image[3]. By controlling the robotic arm through the gesture a
pick and place of an object was performed[7] [13].This method of robotic arm control can be used for
handling heavy load. A heavy lifting crane can be controlled by gesture. In laboratories where toxic
stuff are being handled an arm controlled by gestures will give a better interface of the users. As a
future work the 2D processing can be upgraded to a 3D control using the gesture which would help lot
of different purposes in different areas of the industries.
ACKNOWLEDGMENT
The authors would like to sincerely thank the Management, Director, Principal and the Head of the
Department of Sri Ramakrishna Engineering College, Coimbatore for their constant support and
providing us with the required facility.
REFERENCES
1. Asanterabi Malima, ErolOzgur, and Mujdat Cetin, 2006, “A Fast Algorithm for Vision-Based
Hand Gesture Recognition for Robot Control”, IEEE International Conference on Computer
Vision.Vol.21, pp 10-55.
7
IRA-International Journal of Technology & Engineering
2. Bertram, T., Bekes, F., Greul, R., Hanke, O., Hab, J., Hilgert, J., Miller, M., Ottgen, O., Opgen-
Rhein, P., Torlo, M. and Ward, D. (2003) „Modelling and simulation for Robotic design in
automotion systems‟, Control Engineering Practice, Vol. 11, pp. 179-190.
4. Chao Hy Xiang Wang, Mrinal K. Mandal, Max Meng, and Donglin Li , 2003, “Efficient Face
and Gesture Recognition Techniques for Robot Control”, Electronics and Instrumentation
Engineering Research &Publications,Vol. 3, pp. 1757-1762.
5. Jagdish Lal Raheja, RadheyShyam, Umesh Kumar and P Bhanu Prasad,2010, “Real-Time
Robotic Hand Control using Hand Gestures”, Second International Conference on Machine
Learning and Computing,Vol. 21,pp. 12-62.
9. Thomas G. Zimmerman, Jaron Lanier, Chuck Blanchard, Steve Bryson and Young Harvill,
1987, “A Hand Gesture Interface Device”,Conference Texas Instruments India educators'
Conference,Vol. 15,pp.189-192.
10. 10.Wong GunaHalo,Y., Leck Lim Chot,R., (2011) “6-DOF PC-Based Robotic Arm (PC-
ROBOARM) with efficient trajectory planning and speed control”,4th International Conference
IEEE Conference Publications Vol. 1,pp.1 – 7.
12. Fan Zhang, Yunping Zhu, Tomonari Furukawa, and WanqingSong ,(2016) “Kinematic
Analysis of a Partially Decoupled 3-DOF Parallel Wrist”,Volume 2015 (2015), Article ID
790414, 9 pages.
8
IRA-International Journal of Technology & Engineering