Wednesday, June 5, 2019

MEMS Accelerometer Based Hand Gesture Recognition

MEMS Accelerometer Based Hand Gesture intelligenceMEMS ACCELEROMETER BASED pass away GESTURE RECOGNITIONMeenaakumari.M1, M.Muthulakshmi21Dept.of ECE, Sri Lakshmi Aammal tech noneogy College, Chennai,2Asst.Prof, Dept.of ECE, Sri Lakshmi Aammal Engineering College, Chennai,Abstract This paper presents an MEMS accelerometer mostly ground on apparent motion reference algorithm and its applications. The hardware module consists of a triaxial mems accelerometer, microcontroller, and zigbee wireless transmission module for sensing and collecting accelerations of exceedwriting and hand gesture trajectories. Users will use this hardware module to write down digits, alphabets in digital kind by making four hand gestures. The accelerations of hand exploits measured by the accelerometer are genic wirelessly to a individualized computer for flying apprehension. The flight algorithm composed of information assortment collection, argue preprocessing for reconstructing the trajectories to attenuate the cumulative delusions caused by drift of sensors. So, by changing the position of MEMS (micro electro mechanical systems) we mickle able to show the alphabetical characters and numeric within the PC.Keywords MEMS accelerometer, gesture, handwritten erudition, trajectory algorithm.INTRODUCTIONNOW A DAYS, the expansion of human machine interaction technologies in electronic circuits has been greatly reduced the dimension and weight of con supplyer electronics products such as smart phones and handheld computers, and therefore will increases our day to day convenience. Recently, an attractive alternative, a conveyable embedded guile with inertial sensors, has been projected to sense the activities of human and to capture their motion trajectory information from accelerations for handwriting and recognizing gestures. The foremost necessary wages of inertial sensors for general motion sensing is that they croupe be operated without any external reference and limit ation in operating conditions. However, motion trajectory recognition is comparatively tough for different users since they have different speeds and styles to generate various motion trajectories. Thus, several researchers have tried to avoid the problem domain for change order theaccuracy of handwriting recognition systems. During this survey a miniature MEMS accelerometer based recognition systems which acknowledge four hand gestures in 3-D is constructed by victimization this four gestures, numerical and alphabets will be recognized in the digital format.MEMS are termed as micro electro mechanical system where mechanical parts the like cantilevers or membranes have been manufactured at microelectronics circuits. It uses the technology known as micro-fabrication technology. It has holes, cavity, channels, cantilevers, membranes and additionally imitates mechanical parts. The emphasis on MEMS is based on silicon. The explanation that trigger that prompt the utilization of ME MS technology are for example miniaturization of existing spins, development of new devices based on principal that do not work at large scale and to interact with micro world. Miniaturization reduces cost by decreasing material consumption. It also increases applicability by reducing bundle and size allowing placing the, MEMS in places where a traditional system. Instead of having a series of external components connected by wire or soldered to printed circuit board the MEMS on silicon can be integrated directly with the electronics. These are called smart integrated MEMS already include data acquisition, filtering, data storage, communication interfacing and networking. MEMS technology not only makes the things smaller tho often makes them better. A typical example is brought by the accelerometer development.An accelerometer is a device that measures the physical acceleration. The physical parameters are temperature, pressure, force, light and so on it measures the weight per unit mass. By contrast, accelerometers in free fall or at rest in outer quad will measure zero. some other term for the type of acceleration that accelerometers can measure is g-force. It works on the principle of displacement of a small proof mass etched into the silicon surface of the integrated circuit and suspended by small beams.RELATED WORKThere are mainly two existing types of gesture recognition manners, i.e., vision-based and accelerometer and/or gyroscope based. Due to some limitations like ambient optical psychological disorder, slower dynamic response, and relatively large data collections/processing of vision-based method 1, our recognition system is implemented based on an inertial measurement unit based on MEMS acceleration sensors. If gyroscopes are used for inertial measurement 2 it causes sullen computational burden, thus our system is based on MEMS accelerometers only and gyroscopes are not implemented. Many researchers have focused on developing effective al gorithms for error compensation of inertial sensors to improve the recognition accuracy. For few examples, Yang et al. 3 proposed a pen-type input device to track trajectories in 3-D plaza by utilize accelerometers and gyroscopes. An competent acceleration error compensation algorithm based on zero velocity compensation was developed to decrease the acceleration errors for acquiring accurate theorize trajectory. An extended Kalman filter with magnetometers (micro inertial measurement unit (IMU) with magnetometers), proposed by Luo et al. 10, was employed to compensate the orientation of the proposed digital writing means. If the orientation of the instrument was estimated precisely, the motion trajectories of the instrument were reconstructed accurately. Dong et al. 4 proposed an optical tracking calibration method based on optical tracking system (OTS) to calibrate 3-D accelerations, angular velocities, and space military capability of handwriting motions. The OTS was develop ed for the following two goals 1) to obtain accelerations of the proposed ubiquitous digital writing instrument (UDWI) by calibrating 2-D trajectories and 2) to obtain the accurate attitude angles by using the multiple camera calibration. However, in order to recognize or reconstruct motion trajectories accurately, the aforementioned approaches introduce other sensors such as gyroscopes or magnetometers to obtain precise orientation. This increases additional cost for motion trajectory recognition systems as well as computational burden of their algorithms.In this paper, a takeout device has been developed with a trajectory recognition algorithm. The portable device consists of a triaxial accelerometer, a microprocessor, and an zigbee wireless transmission module. The acceleration signs measured from the triaxial accelerometer are transmitted to a computer via the zigbee wireless module. Users can utilize this portal device to write digits and make hand gestures at normal speed. T he measured acceleration signals of these motions can be recognized by the trajectory recognition algorithm. The recognition procedure is composed of acceleration acquisition, signal preprocessing, trace generation, feature endurance, and feature extraction. The acceleration signals of hand motions are measured by the portable device. The signal preprocessing procedure consists of calibration, a moving comely filter, a high-pass filter, and normalization. First, the accelerations are calibrated to get out drift errors and offsets from the lancinate signals. These two filters are applied to remove high frequency noise and gravitational acceleration from the raw data, respectively. The features of the preprocessed acceleration signals of each axis include mean, coefficient of correlational statistics among axes, interquartile range (IQR), mean absolute deviation (MAD), root mean square (rms), VAR, standard deviation (STD), and energy. Before yearifying the hand motion trajecto ries, we perform the procedures of feature selection and extraction methods. In general, feature selection aims at selecting a subset of size m from an original set of d features (d m). Therefore, the criterion of kernel-based class separability (KBCS) with best soulfulness N (BIN) is to select significant features from the original features (i.e., to pick up some important features from d) and that of linear discriminate analysis (LDA) is to reduce the dimension of the feature space with a better recognition proceeding (i.e., to reduce the size of m). The objective of the feature selection and featureextraction methods is not only to eradicate the burden of computational burden but also to increase the accuracy of classification. The reduced features are used as the inputs of classifiers. The contributions of this paper include the following 1) the development of a portable device with a trajectory recognition algorithm, i.e., with the hardware module , can give desired command s by hand motions to control electronics devices anywhere without space limitations, and 2) an effective trajectory recognition algorithm, i.e., the proposed algorithm can efficiently select significant features from the time and frequency domains of acceleration signals and project the feature space into a smaller feature dimension for motion recognition with high recognition accuracy.III.HARDWARE DESIGN OFPORTABLE DEVICEThe portable device consists of a triaxial accelerometer (MMA2240), a microcontroller (C8051F206 with a 12-b A/D converter), and a wireless transceiver (nRF2401, Nordic). The triaxial accelerometer measures the acceleration signals generated by a users hand motions. The microcontroller collects the analog acceleration signals and converts the signals to digital ones via the A/D converter. The wireless transceiver transmits the acceleration signals wirelessly to a personal computer (PC).The MMA2240 is a low-cost capacitive micro machined accelerometer with a tempera ture compensation function and a g-select function for a full-scale selection of +_2 g to +_6 gand is able to measure accelerations over the drawwidth of 0.5 kHz for all axes. The accelerometers sensitivity is set from 2 g to +2 g. The C8051F206 integrates a high-performance 12-b A/D converter and an optimized signal cycle 25-MHz 8-b microcontroller unit (MCU) (8051 instruction set compatible) on a signal chip. The output signals of the accelerometer are sampled at 100 Hz by the 12-b A/D converter. Then, all the data sensed by the accelerometer are transmitted wirelessly to a PC by an zigbee transceiver at 2.4-GHz transmission band with 1-Mb/s transmission rate. The boilers suit power consumption of the digital pen circuit is 30 mA at 3.7 V. The block diagram of the portable device is shown in Fig. 1.MEMSPICACCELEROMTERMICROCONZIGBEE TXTROLLERPCRS 232ZIGBEE RXFig.1. Block diagram of the portable device.IV. TRAJECTORY RECOGNITIONALGORITHMThe proposed trajectory recognition algorith m consisting of acceleration acquisition, signal preprocessing, feature generation, feature selection, and feature extraction. In this paper, the motions for recognition include Arabic numerals alphabets. The acceleration signals of the hand motions are measured by a triaxial accelerometer and then preprocessed by filtering and normalization.Consequently, the features are extracted from the preprocessed data to represent the characteristics of different motion signals, and the feature selection process based on KBCS picks p features out of the original extracted features. To reduce the computational load and increase the recognition accuracy of the classifier, LDA is utilized to decrease the dimension of the selected features. The reduced feature vectors are then fed into a PNN classifier to recognize the motion to which the feature vector it belongs.A. Signal PreprocessingThe microcontroller collects the acceleration signals of hand motions which are generated by the accelerometer. Due to slight tremble movement of hand certain amount of noise is generated. The signal preprocessing consists of calibration, a moving average filter, a high-pass filter, and normalization. First, the accelerations are calibrated to remove drift errors and offsets from the raw signals. The second step of the signal preprocessing is to use a moving average filter to reduce the high-frequency noise of the calibrated accelerations, and the filter is expressed aswhere xt is the input signal, yt is the output signal, and N is the number of sharpens in the average filter. In this paper, we set N = 8. The decision of using an eight-point moving average filter is based on our empirical tests. Then, a high-pass filter is used to remove the gravitational acceleration from the filtered acceleration to obtain accelerations caused by hand movement. In general, the size of samples of each movement between fast and slow writers is different. Therefore, after filtering the data, we starting sig nal segment each movement signal properly to extract the exact motion interval. Then, we normalize each segmented motion interval into equal sizes via interpolation.B. sport GenerationThe characteristics of different hand movement signals can be obtained by extracting features from the preprocessed x-,Fig 2 Block diagram of the trajectory recognition algorithm.5) Correlation among axes The correlation among axes is computed as the ratio of the covariance to the product of the STD for each pair of axes. For example, the correlation (corrxy) between two variables x on x-axis and y on y-axis is defined aswhere E represents the expected quantify, x and x are STDs, and mx and my are the expected values of x and y, respectively.6)MAD7)rmsY-, and z-axis signals, and we extract eight featureswhere xi is the acceleration instance and m isfrom the triaxial acceleration signals, including mean,the mean value of xi in (6) to (7).STD, VAR, IQR 6, correlation between axes 7,MAD, rms, and energy 8 . They are explicated asfollows.8) Energy Energy is calculated as the sum of1) Mean The mean value of the accelerationthe magnitudes of squared discrete fastsignals of each hand motion is the dcFourier transform (FFT) components of thecomponent of the signalsignal in a window. The equation is definedaswhere W is the length of each hand motion.2) STD STD is the square root of VARwhere Fi is the ith FFT component of thewindow and Fi is the magnitude of Fi.C. Feature SelectionFeature selection comprises a selection criterion. TheKBCS can be computed as follows Let (x, y) (Rd -3)VARY)represents a sample, where Rd denotes a ddimensional feature space, Y symbolizes the set ofclass labels, and the size of Y is the number of class c.This method projects the samples onto a kernel space,where xi is the acceleration instance and m isand m i is defined as the mean vector for the I thclass in the kernel space, ni denotes the number ofthe mean value of xi in (3) and (4).samples in the ith clas s, m denotes the mean vector4)IQR When differentclasses havesimilarfor all classes in the kernel space, S B denotes thebetween-class separate matrix in the kernel space, andmean values,theinterquartilerangeS/ Wdenotes the within-class scatter matrix in therepresentsthedispersionofthe dataandkernel space. Let () be a possible nonlineareliminatestheinfluenceofoutliersinthemapping from the feature space Rd to a kernel spacedata. and tr(A) represents the trace of a square matrixA.1889www.ijarcet.orgISSN 2278 1323International journal of pass on Research in Computer Engineering Technology (IJARCET) Volume 2, No 5, May 2013The following two equations are used in the class separability measure1234The class separability in the kernel space can be measured asTo maintain the numerical stability in the maximization of J , the denominator tr(S W ) has to be prevented from approaching zero.IV. EXPERIMENTAL RESULTSIn this section, the effectiveness of trajectory recognition algorithm is vali dated.A.Handwritten Digit RecognitionThe acceleration signals after the signal preprocessing procedure of the proposed trajectory recognition algorithm for the digit 0. The calibrated acceleration signals acquired from the accelerometer module are shown. With the preprocessed accelerations, alphabets and numerical features are generated by the feature generation procedure. Subsequently, the KBCS is adopted to choose characteristic features from the generated features. We choose digits 0 and 6 to illustrate the effectiveness of the KBCS, since their accelerations and handwritten trajectories are pretty similar and demanding to classify. The IQR features of these two digits are closely overlapped. Thus, the features are not effective for12345678910Fig. 4. Trajectories of four hand gestures.corrxy, meanz, energyx, energyy, and energyz selected by the KBCS. Finally, the dimension of the selected features was further reduced by the LDA not only to ease the burden of computational load b ut also to increase the accuracy of classification.Fig. 5.a Trajectories of alphabetsFig. 5.b. Trajectories of alphabets.Fig. 6. IQR features of (red star) digit 0 and (blue diamond) digit 6.Fig. 3. Generation of numerical1890www.ijarcet.orgISSN 2278 1323International Journal of Advanced Research in Computer Engineering Technology (IJARCET) Volume 2, No 5, May 2013Fig. 6.a. Mean feature of (red star) digit 0 and digit (blue diamond) 6.Therefore, the tally testing samples were 100 (10 - 10 - 1) for the testing procedure, and the total training samples were 900 (10 - 10 - 9) for the raining procedure. Because there are ten digits needed to be classified, the maximum of the dimension of the feature extraction by the LDA was nine. To see the performance variation caused by feature dimensions, we varied the dimensions of the LDA from one to nine. In Fig. 10, the best average recognition rate ofFig. 7. Average recognition rates versus the feature dimensions of the PNN classifier by usi ng the LDA.Fig. 8. Average recognition rates versus the feature dimensions of the PNN classifier by using the KBCS.V. CONCLUSIONThe development of a portable device, is used to generate desired commands by hand motions tocontrol electronic devices without space limitations. The time and frequency domains of acceleration signals of motion recognition, which has high recognition accuracy. The acceleration made by the hand gesture is measured by accelerometer are wirelessly transmitted to computer. In the experiments, we used 2-D handwriting digits, alphabets by using four hand gestures to validate the effectiveness of the proposed device and algorithm. The overall handwritten digit recognition rate was 98%, and the gesture recognition rate was also 98.75%. This result encourages us to further investigate the possibility of using our digital pen as an effective tool for HCI applications. In this project, an additional button can be used to allow users to indicate the starting point and ending point of motion. That is, the limitation of the proposed trajectory recognition algorithm is that it can only recognize a letter or a number completed with a single stroke.VI. FUTURE ENHANCEMENTThe algorithms can be developed for letters or words with multistrokes which involve more challenging problems.REFERENCESS. Zhou, Q. Shan, F. Fei, W. J. Li, C. P. Kwong, and C. K. Wu et al.,Gesture recognition for interactive controllers using MEMS motion sensors, in Proc. IEEE Int. Conf. Nano/Micro Engineered and MolecularSystems, Jan. 2009,pp. 935-940.S. Zhang, C. Yuan, and V. Zhang, Handwritten character recognition using orientation quantization based on 3-D accelerometer, presented at the fifth Annu. Int. Conf. Ubiquitous Systems, Jul. 25th, 2008.J. Yang, W. Chang, W. C. Bang, E. S. Choi, K. H.Kang, S. J. Cho, and D. Y. Kim, Analysis and compensation of errors in the input device based on inertial sensors, in Proc. IEEE Int. L. Wang, Feature selection with kernel class separabil ity, IEEE Trans.Pattern Anal. Mach. Intell., vol. 30, no. 9, pp. 1534-1546, Sep. 2008.Z. Dong, U. C. Wejinya, and W. J. Li, An optical-tracking calibration method for MEMS-based digital writing instrument, IEEE Sens. J.,vol. 10, no. 10, pp. 1543-1551, Oct. 2010.J. S.Wang, Y. L. Hsu, and J. N. Liu, An inertial-measurement-unit-based pen with a trajectory reconstruction algorithm and its applications, IEEE Trans. Ind. Electron., vol. 57, no. 10, pp. 3508-3521, Oct. 2010.S. Zhou, Z. Dong, W. J. Li, and C. P. Kwong, Hand-written character recognition using MEMSmotionsensingtechnology,inProc.IEEE/ASME Int. Conf. Advanced IntelligentMechatronics, 2008, pp.1418-1423.J. K. Oh, S. J. Cho, and W. C. Bang et al.,Inertial sensor based recognition of 3-D character gestures with an ensemble of classifiers, presented at the 9th Int. Workshop on Frontiers in book Recognition, 2004.Conf. Inf.Technol.-Coding and Computing,2004, pp. 790-796.Y. Luo, C. C. Tsang, G. Zhang, Z. Dong, G. Shi,Y. Kwok, W. J . Li, P. H. W. Leong, and M. Y.Wong, An attitude compensation technique for a MEMS motion sensor based digital writing instrument, in Proc.IEEE Int. Conf. Nano/Micro Eng. Mol. Syst., 2006, pp. 909-914.Z. Dong, G. Zhang, Y. Luo, C. C. Tsang, G. Shi,Y. Kwok, W. J. Li,P. H. W. Leong, and M. Y.Wong, A calibration method for MEMS inertial sensors based on optical tracking, in Proc. IEEE Int. Conf.Nano/Micro Eng. Mol. Syst., 2007, pp.542-547.S. J. Preece, J. Y. Goulermas, L. P. J. Kenney, and D. Howard, A comparison of feature extraction methods for the classification of dynamic activities from accelerometer data,IEEE Trans. Biomed. Eng., vol. 56,no. 3, pp.871-879, Mar. 2009.L. Bao and S. S. Intille, Activity recognition from user-annotated acceleration data,Pervasive, Lecture Notes in Computer Science,no. 3001,pp. 1-17, 2004.Y. P. Chen, J. Y. Yang, S. N. Liou, G. Y. Lee, and J. S. Wang, Online classifier construction algorithm for human activity detection using a triaxial accelerometer, Appl. Math. Comput., pp. 849-860, Nov. 2008.L. Wang, Feature selection with kernel class separability, IEEE Trans.Pattern Anal. Mach. Intell., vol. 30, no. 9, pp. 1534-1546, Sep. 2008.Z. Dong, U. C. Wejinya, and W. J. Li, An optical-tracking calibration method for MEMS-based digital writing instrument, IEEE Sens.,vol. 10, no. 10, pp. 1543-1551, Oct. 2010.J. S.Wang, Y. L. Hsu, and J. N. Liu, An inertial-measurement-unit-based pen with a trajectory reconstruction algorithm and its applications, IEEE Trans. Ind. Electron., vol. 57, no. 10, pp. 3508-3521, Oct. 2010.S. Zhou, Z. Dong, W. J. Li, and C. P. Kwong, Hand-written character recognition usingMEMS motion sensing technology, inProc.IEEE/ASME Int. Conf. Advanced Intelligent Mechatronics, 2008, pp.1418-1423.J. K. Oh, S. J. Cho, and W. C. Bang et al.,Inertial sensor based recognition of 3-Dcharacter gestures with an ensemble of classifiers, presented at the 9th Int. Workshop on Frontiers in Handwriting Recognition, 2004.A. H. F. Lam, W. J. Li, Y. Liu, and N. Xi,MIDS Micro input devices system using MEMS sensors, presented at the IEEE/RSJ Int. Conf.Intelligent Robots an

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.