Implementation of EMG Pattern Recognition System in FPGA

碩士 === 國立臺灣大學 === 電機工程學研究所 === 93 === The disabled people such as arm amputees or spinal cord injured patients usually need to use assistive devices like electric prosthesis or functional electrical stimulation system. It is an important topic to control these devices. EMG signal is one of the feasi...

Full description

Bibliographic Details
Main Authors: Cheng-Ting Lin, 林政廷
Other Authors: 郭德盛
Format: Others
Language:zh-TW
Published: 2005
Online Access:http://ndltd.ncl.edu.tw/handle/26881490356226212659
id ndltd-TW-093NTU05442091
record_format oai_dc
spelling ndltd-TW-093NTU054420912015-12-21T04:04:14Z http://ndltd.ncl.edu.tw/handle/26881490356226212659 Implementation of EMG Pattern Recognition System in FPGA 以場效可程式閘陣列實現肌電圖辨識系統 Cheng-Ting Lin 林政廷 碩士 國立臺灣大學 電機工程學研究所 93 The disabled people such as arm amputees or spinal cord injured patients usually need to use assistive devices like electric prosthesis or functional electrical stimulation system. It is an important topic to control these devices. EMG signal is one of the feasible control commands extensively investigated in many researches. An FPGA-based EMG recognition system is developed in this thesis. Most of core algorithms are derived from the previous researches of our laboratory. Two sets of active electrode are bilaterally placed on the triangular region surrounded by the sternocleidomastoid, the upper trapezius, and the clavicle to collect surface EMG signals. Five motions of neck and shoulders are specified to provide possible control commands. The integrated EMG is computed to detect the onset of muscle contraction. The cepstral parameters derived from autoregressive coefficients are used as the recognition features. The autoregressive coefficients can be calculated by using the estimated autocorrelation lags in the Yule-walker equation. These features are then discriminated using the dynamic timing warping (DTW) method. There are three parts in our hardware architecture including autocorrelation module, feature extraction module, and classifier module. The feature parameters from individual channel are concatenated to form a feature vector for classification. Two channels of EMG signal must be processed simultaneously. The data rate requirement of EMG signal processing is much lower than the clock rate of our chip design. To avoid rapid growth of logic units due to circuit duplication, we reduced the hardware functional units by time-multiplexing several operations such as multiplication and addition in algorithm. A design with small area and low cost can be achieved with the multiplexing controlled by a finite state machine (FSM). A single multiplication-and-accumulation (MAC) unit is shared to calculate Hamming window and autocorrelation functions of both two channels. There are several divisions used in Levinson-Durbin algorithm. A software solution usually needs a microprocessor to perform division; besides, it takes many clock cycles to complete a division, which is obviously not a good choice in our architecture. A sequential divider using subtract-and-shift algorithm is implemented in our design. After observing the operation flow of dynamic timing warping method, we establish some rules to reduce the amount of registers extensively. One subtractor is shared to calculate the distance between test and reference feature vectors. The final design is downloaded and verified on Altera Stratix FPGA. The simulation results show that the clock rate is 35MHz clock rate and the hardware requirement is 4379 logic elements. 郭德盛 2005 學位論文 ; thesis 69 zh-TW
collection NDLTD
language zh-TW
format Others
sources NDLTD
description 碩士 === 國立臺灣大學 === 電機工程學研究所 === 93 === The disabled people such as arm amputees or spinal cord injured patients usually need to use assistive devices like electric prosthesis or functional electrical stimulation system. It is an important topic to control these devices. EMG signal is one of the feasible control commands extensively investigated in many researches. An FPGA-based EMG recognition system is developed in this thesis. Most of core algorithms are derived from the previous researches of our laboratory. Two sets of active electrode are bilaterally placed on the triangular region surrounded by the sternocleidomastoid, the upper trapezius, and the clavicle to collect surface EMG signals. Five motions of neck and shoulders are specified to provide possible control commands. The integrated EMG is computed to detect the onset of muscle contraction. The cepstral parameters derived from autoregressive coefficients are used as the recognition features. The autoregressive coefficients can be calculated by using the estimated autocorrelation lags in the Yule-walker equation. These features are then discriminated using the dynamic timing warping (DTW) method. There are three parts in our hardware architecture including autocorrelation module, feature extraction module, and classifier module. The feature parameters from individual channel are concatenated to form a feature vector for classification. Two channels of EMG signal must be processed simultaneously. The data rate requirement of EMG signal processing is much lower than the clock rate of our chip design. To avoid rapid growth of logic units due to circuit duplication, we reduced the hardware functional units by time-multiplexing several operations such as multiplication and addition in algorithm. A design with small area and low cost can be achieved with the multiplexing controlled by a finite state machine (FSM). A single multiplication-and-accumulation (MAC) unit is shared to calculate Hamming window and autocorrelation functions of both two channels. There are several divisions used in Levinson-Durbin algorithm. A software solution usually needs a microprocessor to perform division; besides, it takes many clock cycles to complete a division, which is obviously not a good choice in our architecture. A sequential divider using subtract-and-shift algorithm is implemented in our design. After observing the operation flow of dynamic timing warping method, we establish some rules to reduce the amount of registers extensively. One subtractor is shared to calculate the distance between test and reference feature vectors. The final design is downloaded and verified on Altera Stratix FPGA. The simulation results show that the clock rate is 35MHz clock rate and the hardware requirement is 4379 logic elements.
author2 郭德盛
author_facet 郭德盛
Cheng-Ting Lin
林政廷
author Cheng-Ting Lin
林政廷
spellingShingle Cheng-Ting Lin
林政廷
Implementation of EMG Pattern Recognition System in FPGA
author_sort Cheng-Ting Lin
title Implementation of EMG Pattern Recognition System in FPGA
title_short Implementation of EMG Pattern Recognition System in FPGA
title_full Implementation of EMG Pattern Recognition System in FPGA
title_fullStr Implementation of EMG Pattern Recognition System in FPGA
title_full_unstemmed Implementation of EMG Pattern Recognition System in FPGA
title_sort implementation of emg pattern recognition system in fpga
publishDate 2005
url http://ndltd.ncl.edu.tw/handle/26881490356226212659
work_keys_str_mv AT chengtinglin implementationofemgpatternrecognitionsysteminfpga
AT línzhèngtíng implementationofemgpatternrecognitionsysteminfpga
AT chengtinglin yǐchǎngxiàokěchéngshìzházhènlièshíxiànjīdiàntúbiànshíxìtǒng
AT línzhèngtíng yǐchǎngxiàokěchéngshìzházhènlièshíxiànjīdiàntúbiànshíxìtǒng
_version_ 1718154667220795392