| The number of new strokes in our country exceeds 2.8 million every year,and the incidence rate is increasing year by year and showing a younger trend.Due to the irreversible damage to nerve transmission pathways of different degrees in stroke patients,about 80% of patients have limb movement disorders.Human hand motor function accounts for 54% of the total limb motor function.Therefore,it is necessary to carry out hand rehabilitation treatment for stroke patients.Existing research shows that early treatment can effectively improve the patient’s hand motor function and improve the patient’s living standard.Functional electrical stimulation(FES)has become standard clinical therapy for stroke rehabilitation.However,the passive rehabilitation training of traditional functional electrical stimulation cannot stimulate the intention of patients to train spontaneously.In this paper,with the help of braincomputer interface(BCI)technology to collect electroencephalogram(EEG)of the scalp of stroke patients,the patient’s subjective movement intention is converted into control instructions for external electronic equipment which can make patients actively participate in rehabilitation training.The main work in the paper is to design a wearable functional electrical stimulator based on STM32 and combine it with motor intention EEG signal recognition.The wearable functional electrical stimulator mainly includes hardware design and software design.The identification process of EEG signal of motor intention is as follows: first,the EEG signal containing the motor intention of the right hand is processed and analyzed,mainly including filtering and time label definition;second,the EEG signals were extracted for feature extraction;finally,the kernel function-based Support Vector Machines(SVM)were used to decode the left and right-hand motion intentions.Suppose the movement intention of the EEG signal is right-hand movement.In that case,the upper computer software sends a control command to the functional electrical stimulator.The functional electrical stimulator produces a train of electrical stimulation pulses to assist the right hand in performing the corresponding motor-intent actions.The results show that the system has a high recognition accuracy for the EEG signal distinction of right-hand motion intention.After identifying the right-hand motion intention,the system can send control signals to the electrical stimulator normally.Meanwhile the command can effectively output functional electrical stimulation pulse sequence,make the human body produce muscle contraction,realize the fist-clenching action.During the experiment the entire system maintains stable.This can help patients repair damaged neurons,activate undamaged dormant neurons,and reconstruct motor nerve pathways,proving that this system has high application value in clinical treatment. |