• No results found

Design and Implementation of Electronic Gesture Recognition Unit Using Accelerometer to Control Robotic Arm Powered With Cortex-M3 Core

N/A
N/A
Protected

Academic year: 2020

Share "Design and Implementation of Electronic Gesture Recognition Unit Using Accelerometer to Control Robotic Arm Powered With Cortex-M3 Core"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

Volume 2, Issue 11 (August 2012), PP. 14-18

Design and Implementation of Electronic Gesture Recognition

Unit Using Accelerometer to Control Robotic Arm Powered With

Cortex-M3 Core

Mr. K Pavan Kumar

1

, Mr. N Abid Ali Khan

2

, Mr. V Karthik Reddy

3

1Vasavi College of Engg, Embedded Systems &VLSI Design, Hyderabad, India. 2

Vasavi College of Engg, Asst. Professor - Dept. of ECE, Hyderabad, India.

3

Phoenix Technologies & services, Design Engineer, Hyderabad, India.

Abstract––Mechatronics is one of the promising trends in the era of computing in today’s system automation industry and control. The proposed project is one such attempt of designing an accelerometer based system to communicate with an industrial robotic arm wirelessly. This project comprises of design and implementation of the robotic arm powered with Cortex–M3 based LPC1768 core. The core has to be interfaced with DC motors of robotic arm to control the movements of robotic arm. ADXL335 is a three dimensional accelerometer sensor used for this purpose, this accelerometer sensor captures gestures of human-arm and produces three analog output voltages in three dimensional axes. And two flex sensors are used to control the gripper movement. For different movements of accelerometer and flex sensors corresponding characters will be sent to the Cortex-M3 core wirelessly using 2.4GHz RF module. And depending on the received character robotic arm can be controlled in Dynamic or Static mode by communicating with EEPROM using I2C protocol.

Keywords––Accelerometer, Robotic arm, Arduino, RF transceiver, CORTEX M-3, Networking.

I.

INTRODUCTION

More recently, industries have introduced more flexible forms of automation in the manufacturing cycle. Programmable mechanical manipulators are now being used to perform such tasks as spot welding, spray painting, material handling, and component assembly. Since computer controlled mechanical manipulators can be easily converted through software to do a variety of tasks.

Fig.1. Relative cost effectiveness of soft automation

For very low production volumes, such as those occurring in small batch processing, manual labor is the most cost-effective. As the production volume increases, there comes a point (v1) where robots become more cost-effective than manual labor. As the production volume increases still further, it eventually reaches a point (v2) where hard automation surpasses both manual labor and robots in cost-effectiveness. The curve in Fig.1 is the representative of general qualitative trends, with the exact data dependent upon the characteristics of the unit being produced [1].

(2)

In this paper we proposed an accelerometer-based gesture recognition system to control an industrial robot in a natural way. A 3-axis wireless accelerometer is attached to the human arm, capturing its behavior (gestures and postures). A trained system was used to recognize gestures and postures. Finally, several tests are done to evaluate the proposed system.

II.

ARCHITECTURE

Most of the industrial robots are still programmed using the typical teaching process, through the use of the robot teach pendant. The proposed project is an accelerometer-based system to control an industrial robotic arm wirelessly using 3-axis accelerometers.

Fig.2. Block Diagram of the System

In the proposed project we are using KSR10 robotic arm. To control the different movements of this robotic arm and gripper, we interface motors of the robotic arm to LPC1768 ARM CORTEX-M3 micro controller board through L293D quadruple high-current half-H motor driver board. This LPC1768 micro controller supports frequencies up to 100MHz. So, it can access the data from accelerometer with very high speed. EEPROM (24LC16B) is interfaced with the core to execute the given instructions in static mode. And to receive data from accelerometer over wireless medium we will interface a 2.4GHz RF transceiver module to LPC1768 board.

ADXL335 board is a three axis accelerometer board [13]. It produces three different analog voltages (x, y &z) in three dimensional motions according to the hand movement of the trainer. And we are also using two flex sensors to control the gripper movement. Flex sensors are the sensors that change resistance depending on the amount of bend on the sensor, and produces different analog voltage levels [4]. The voltages produced by accelerometer and flex sensors are converted into digital form using Analog to Digital converter. Here we are using Atmega8 micro controller, which is having in-built six channel 10-bit ADC. By configuring this in-built ADC we will convert analog signals into digital form. After interfacing accelerometer, flex sensors to atmega8 micro controller, we have to observe & analyze the digitized data in serial monitor for different positions of accelerometer and flex sensors. The converted digital data will be compared with observed values, and if the data matches then corresponding character for that movement of accelerometer will be sent to the LPC1768 micro controller wirelessly. For wireless transmission of data we are interfacing a 2.4GHz RF transceiver module to ATmega8 micro controller.

At the receiver end, received characters will be transferred to the LPC1768 Core through UART communication protocol [8]. For each received character, there will be a pre-defined movement in the LPC1768 which will be executed either in dynamic mode or static mode depending on the select switch condition. To execute the instructions in static mode, we are communication with EEPROM using I2C Protocol [10]. Micro controller cannot drive motors directly, hence we need to drive the motors through L293D driver circuit. Each L293D can drive maximum of two motors, therefore we need three L293D ICs to drive five motors of robotic arm.

III.

ROBOTIC ARM

(3)

Fig.3. Robotic Arm

In this project we are using KSR10, a five axes robotic arm. This kit comes with all mechanical modules which are required to build the robotic arm, they are gears, links, motors, gripper, screws...etc. By using all these modules we have to assemble the robotic arm [6]. As shown in Fig.3 it has five DC motors, all these DC motors are interfaced with LPC1768 CORTEX M3 core through L293D driver circuit.

IV.

GESTURE RECOGNITION

Accelerometer sensor is used for gesture recognition. An accelerometer is a device that measures the vibration, or acceleration of motion and produces different voltage levels. The force caused by vibration or a change in motion (acceleration) causes the mass which produces an electrical charge that is proportional to the force exerted upon it. Since the charge is proportional to the force, and the mass is a constant, then the charge is also proportional to the acceleration [7].

(4)

In this project we are using ADXL335 accelerometer which is a 3-dimensional accelerometer. This board measures acceleration in three dimensions(X, Y&Z) and produces three different voltage levels. And we are also using two flex sensors to control the gripper movement. Flex sensors are sensors that change in resistance depending on the amount of bend on the sensor. They convert the change in bend to electrical resistance - the more the bend, the more the resistance value. The output of accelerometer and flex sensor are analog in nature, to convert these analog signals into digital form, we are using in-built ADC of Atmega8 micro controller [14].

Here, Atmega8 micro controllers continuously read data from accelerometer & flex sensors, and convert them into digital form. This digitized data is compared with the data which is already taken in the accelerometer& flex sensor analysis part. And for every movement of accelerometer some characters are assigned. Now, in the comparison phase digitized data is compared with the pre-defined ranges, and for matched range corresponding character will be transmitted through 2.4 GHz RF transmitter.

V.

CONTROLLING MECHANISM

To control different movements of robotic arm we are using LPC1768 ARM CORTEX-M3 micro controller board. The LPC1768 is an ARM Cortex-M3 based microcontroller for embedded applications featuring a high level of integration and low power consumption. The ARM Cortex-M3 is a next generation core that offers system enhancements such as enhanced debug features and a higher level of support block integration. This micro controller operates at up to a 100 MHz CPU frequency and its CPU incorporates a 3-stage pipeline and uses Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals [8].

Fig.5.Receiver flow chart

RF communication modules are set to 9600 baud rate to receive data [11]. LPC 1768 continuously checks the mode

select switch pin, if the pin is high, them the system will work in Dynamic mode i.e. System will give the movements for current receiving values, if there is no received character then no movement will takes place. If the mode select switch is LOW, then the system enters into static mode, in static mode again controller reads the train mode pin, if this pin is HIGH then system enters into training mode where movements will takes place for received characters and simultaneously stores received characters in EEPROM using I2C protocol. If train mode pin is LOW then simply system executes the already stored instructions from EEPROM [10].

VI.

EXPERIMENTAL RESULTS

(5)

have also done experiments in Dynamic mode & Static mode. In Dynamic mode we are able to control the movements of robotic arm by receiving instructions from accelerometer. In Static mode we have trained the system for twenty different movements, and the system executed those twenty movements successfully and continuously.

VII.

CONCLUSION & FUTURE SCOPE

Growing demand for natural Human Machine Interfaces and robot easy programming platforms, a gesture recognition system that allows users to control an industrial robotic arm was proposed and implemented successfully. A 3-axis accelerometer was selected to be the input device of this system, capturing the human arm behavior to control the robotic arm movement. And two flex sensors were used to control gripper movement. When compared with other common input devices like teach pendant, this approach using accelerometers over wireless medium is more easy to work. Using this system, a non-expert robot programmer can control a robot quickly and in a natural way. The low price and short set-up time are other advantages of the system.

Future work will build upon increasing the number of accelerometer movement which is possible through the use of highly sensitive accelerometers. One approach might be the implementation of a gyroscope into the system, in order to separate the acceleration due to gravity from the inertial acceleration. The use of more accelerometers attached to the arms is another possibility.

REFERENCES

[1]. Fundamentals of Robotics Analysis & Control by Robert J.Schilling

[2]. Accelerometer-Based Control of an Industrial Robotic Arm Pedro Neto, J. Norberto Pires, Member, IEEE, and A. Paulo Moreira, Member, IEEE

[3]. R. Dillmann, “Teaching and learning of robot tasks via observation of human performance,” in Robotics and Autonomous Systems

[4]. http://www.sparkfun.com/tutorials/270

[5]. J. Aleotti, A. Skoglund and T. Duckett, “Position teaching of a robot arm by demonstration with a wearable input device,” in International Conference on Intelligent Manipulation and Grasping (IMG04)

[6]. http://www.esr.co.uk/manuals/ksr10.pdf

[7]. K. Murakami, and H. Taguchi, “Gesture Recognition using Recurrent Neural Networks,” in Proceedings of ACM CHI’91Conference on Human Factors in Computing Systems

[8]. http://www.nxp.com/documents/user_manual/UM10360.pdf

[9]. S. Calinon, and A. Billard, “Active teaching in robot programming by demonstration,” in 16th IEEE International Symposium on Robot And Human interactive Communication

[10]. http://www.pmb.co.nz/downloads/st_st24c02_data.pdf

[11]. http://www.ti.com/lit/ds/symlink/cc2500.pdf

[12]. Simple adaptive control of robot arm by Dave E.Goldberg, A.Galip Ulsoy, Y.Koren.

[13]. http://www.analog.com/static/imported-files/data_sheets/ADXL335.pdf

References

Related documents

First, the positive association between 12th-week FFM change and insulin plasma levels suggests a specific modula- tion of insulin actions by the amino acid mixture on signal- ing

Methods: Auditory event-related evoked potential P 300 latency was measured using an oddball paradigm in patients with respiratory failure due to any cause (partial pressure

In a novel finding, we highlight the negative impact that persistent vicarious racism has on child health, with reports of racial discrimination by primary carers at two earlier

This study demonstrated delays to TKR among patients with severe osteoarthritis treated with LMWF-5A compared to saline, while showing no differences in patients with

1) Communication : Fourier Transform is essential to understand how a signal behaves when it passes through filters , amplifiers and communication channels. 2) Image processing

With the high population growth rate in Kenya particularly among uneducated rural women, there is need to generate information on barriers for non-use of contraception among

Int I Dc\ lliul U !3 3 ! (1998) 23 Stra3 Ilehy, a retinoic acid inducible novel member of the transforming growth factor ~ superfamily MUSTAPHA OULAD ABDELGHANI' 3 CLAIRE CHAZAUD'

However, because of the remarkable similarities between X rays on the one hand and TEM and ethyl methanesulfonate (EMS) on the other in (1) the relative rates at