CN107411935A - A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation - Google Patents
A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation Download PDFInfo
- Publication number
- CN107411935A CN107411935A CN201710587171.2A CN201710587171A CN107411935A CN 107411935 A CN107411935 A CN 107411935A CN 201710587171 A CN201710587171 A CN 201710587171A CN 107411935 A CN107411935 A CN 107411935A
- Authority
- CN
- China
- Prior art keywords
- signal
- mode
- brain
- eeg
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H1/00—Apparatus for passive exercising; Vibrating apparatus; Chiropractic devices, e.g. body impacting devices, external devices for briefly extending or aligning unbroken bones
- A61H1/02—Stretching or bending or torsioning apparatus for exercising
- A61H1/0274—Stretching or bending or torsioning apparatus for exercising for the upper limbs
- A61H1/0285—Hand
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/015—Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5007—Control means thereof computer controlled
- A61H2201/501—Control means thereof computer controlled connected to external computer devices or networks
- A61H2201/5015—Control means thereof computer controlled connected to external computer devices or networks using specific interfaces or standards, e.g. USB, serial, parallel
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2230/00—Measuring physical parameters of the user
- A61H2230/08—Other bio-electrical signals
- A61H2230/085—Other bio-electrical signals used as a control parameter for the apparatus
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2230/00—Measuring physical parameters of the user
- A61H2230/08—Other bio-electrical signals
- A61H2230/10—Electroencephalographic signals
- A61H2230/105—Electroencephalographic signals used as a control parameter for the apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Physical Education & Sports Medicine (AREA)
- Neurology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Dermatology (AREA)
- Biomedical Technology (AREA)
- Epidemiology (AREA)
- Pain & Pain Management (AREA)
- Neurosurgery (AREA)
- Rehabilitation Therapy (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Rehabilitation Tools (AREA)
- Prostheses (AREA)
Abstract
本发明公开了一种用于软体康复机械手的多模式脑机接口控制方法,使用者在日常生活中进行主动康复训练时,通过同步采集脑电、肌电和眼电信号构建多源信号控制模式,利用EOG信号的双眨眼进行脑/肌/眼电模式依次切换,并对相应模式的信号进行预处理,特征提取,模式识别,其分类结果通过下位机实时处理转化为控制信号并传送至软体康复机械手,以带动使用者手指完成相关训练任务,其控制结果实时反馈给使用者,从而实现使用者主动康复训练的目的。本发明的多模式脑机接口控制方法具有主动控制模式多、控制命令多和实时性强等优点,软体康复机械手安全性高、舒适度好、噪声小、轻量便携和成本低,具有很大的临床应用前景。
The invention discloses a multi-mode brain-computer interface control method for a software rehabilitation manipulator. When a user performs active rehabilitation training in daily life, a multi-source signal control mode is constructed by synchronously collecting EEG, EMG and EoG signals , use the double blink of EOG signal to switch brain/muscle/oculoelectric mode in turn, and preprocess the signal of the corresponding mode, feature extraction, pattern recognition, and the classification results are converted into control signals through real-time processing of the lower computer and sent to the software The rehabilitation manipulator drives the user's fingers to complete relevant training tasks, and its control results are fed back to the user in real time, so as to achieve the purpose of active rehabilitation training for the user. The multi-mode brain-computer interface control method of the present invention has the advantages of multiple active control modes, multiple control commands, and strong real-time performance. The software rehabilitation manipulator has high safety, good comfort, low noise, light weight, portability, and low cost, and has great advantages. prospects for clinical application.
Description
技术领域technical field
本发明属于康复医学和神经功能信息学科交叉技术领域,涉及一种用于软体康复机械手的多模式脑机接口控制方法。The invention belongs to the interdisciplinary technical field of rehabilitation medicine and neurological function information, and relates to a multi-mode brain-computer interface control method for a software rehabilitation manipulator.
背景技术Background technique
现代社会中,随着老龄化社会到来,大量脑卒中使用者引起运动功能障碍。另外,由于工伤、交通事故、战争和疾病等原因导致神经或肢体损伤的使用者也显著增加,给使用者的生活和工作带来极大的不便。目前脑损伤(脑卒中、脑外伤、脑肿瘤、脊髓损伤等)是手部运动功能丧失的主要原因之一。研究表明,初次发病后的3个月内是脑损伤使用者的功能恢复的黄金时期,在一定程度上的集中训练可修复受损的神经,有利于使用者手部运动功能恢复。然而,传统的治疗方法是通过康复专业的理疗师对康复使用者一对一的指导下完成正确的动作,这种方法劳动强度大,效率不高且工作强度大,然而在训练过程中存在理疗师不足,使用者不主动配合,不能保证按时定量的训练,而训练过程缺乏人机交互,训练内容吸引力不足等因素严重制约了训练的效果。大量的临床医学表明,使用者在训练过程中主动康复的效果比被动康复的要显著,因此使用者在日常生活中主动参与训练,增加人机交互和训练内容的趣味性,能重塑中枢神经并较好的恢复损伤的神经,从而大大提高使用者手部运动功能的康复效果。In modern society, with the arrival of an aging society, a large number of stroke users cause motor dysfunction. In addition, the number of users with nerve or limb injuries due to work-related injuries, traffic accidents, wars and diseases has also increased significantly, which brings great inconvenience to users' life and work. At present, brain injury (stroke, traumatic brain injury, brain tumor, spinal cord injury, etc.) is one of the main reasons for the loss of hand motor function. Studies have shown that the 3 months after the initial onset is the golden period for functional recovery of brain-injured users. To a certain extent, intensive training can repair damaged nerves, which is beneficial to the recovery of user's hand motor function. However, the traditional treatment method is to complete the correct action under the one-on-one guidance of the rehabilitation professional physical therapist to the rehabilitation user. This method is labor-intensive, inefficient and labor-intensive. However, there is a physical therapy in the training process. Insufficient teachers, users do not actively cooperate, cannot guarantee timely and quantitative training, and the lack of human-computer interaction in the training process, the lack of attractive training content and other factors seriously restrict the training effect. A large number of clinical medicine shows that the effect of active rehabilitation of users during training is more significant than that of passive rehabilitation. Therefore, users actively participate in training in daily life, increase the interest of human-computer interaction and training content, and can reshape the central nervous system. And better restore the damaged nerves, thereby greatly improving the rehabilitation effect of the user's hand motor function.
手部运动功能在日常生活中占有很大的比重,手部生理结构也是最为复杂的部位,关节最为集中,使得手部运动功能康复假肢也相对复杂。传统的机械式康复手存在安全性差、不能与手指完全贴合、易产生压迫让使用者产生疼痛感、重量过大和噪音大等诸多缺陷,而软体康复机械手有类似于人手指的多段式关节弯曲,由气动驱动软材料构成的中空结构带动手指被动运动,同时具有安全性高、舒适度高、噪声小和轻量便携等优点,能有效地防止训练中使用者手部的痉挛或者手指的“二次损伤”。由于软体康复机械手具有以上优点,使用者愿意且主动地参与动作任务,也易于接受并主动控制软体康复机械手的变形,以辅助或者助力使用者的手指完成日常生活的基本动作,同时满足使用者日常生活的基本需求(如喝水、吃东西等),从而实现在家庭生活中训练的目的。The motor function of the hand occupies a large proportion in daily life. The physiological structure of the hand is also the most complicated part, and the joints are the most concentrated, which makes the prosthesis for hand motor function rehabilitation relatively complicated. The traditional mechanical rehabilitation hand has many defects such as poor safety, inability to fully fit the fingers, easy pressure causing pain to the user, excessive weight, and loud noise, while the soft rehabilitation robot has a multi-segment joint bending similar to a human finger , the hollow structure composed of pneumatically driven soft materials drives the fingers to move passively. At the same time, it has the advantages of high safety, high comfort, low noise and light weight and portability. secondary damage". Due to the above advantages of the software rehabilitation manipulator, the user is willing and active to participate in the action tasks, and is also easy to accept and actively control the deformation of the software rehabilitation manipulator, so as to assist or assist the user's fingers to complete the basic movements of daily life, and at the same time meet the user's daily needs. The basic needs of life (such as drinking water, eating, etc.), so as to achieve the purpose of training in family life.
脑机接口技术作为一种人脑与外部设备之间特殊的交流通道,通过提取使用者的运动意图实现大脑对软体康复机械手的主动控制,其主动控制信号源主要是肌电信号(EMG信号)、脑电信号(EEG信号)和眼电信号(EOG信号)等脑/肌/眼电信号。基于肌电的仿生假肢通过检测使用者肢体上的EMG信号来控制假肢运动,具有响应速度快,动作自然,但是对于脑卒中使用者的神经末梢效能减弱,导致动作识别率不高,影响肌电假肢的应用。基于脑电的仿生假肢帮助神经肌肉损伤的使用者能通过EEG信号主动地控制假肢运动,但是脑电假肢响应速度慢且对手部精细动作的区分度不高。而利用眼电的仿生假肢具有响应速度快、应用性强、操作简单方便和成本低廉等诸多优点,但是训练的使用者长时间控制眼电假肢会导致眼睛疲劳,眼睛干涩等诸多不适。以上利用脑电,肌电或者眼电的单一模式主动控制仿生假肢的方法已经存在。在双模式控制方面,脑/肌/眼电信号中两两结合模式主动控制仿生假肢的方法也已经出现。但是无论单一模式还是双模式的主动控制方法,其产生的控制命令不多,实时控制性不强,并不能满足日常生活中主动控制手部基本动作的需求。目前还没有发现利用脑/肌/眼电三种模式的脑机接口进行主动控制软体康复机械手的方法。Brain-computer interface technology is a special communication channel between the human brain and external devices. By extracting the user's motion intention, the brain can actively control the software rehabilitation manipulator. The main source of the active control signal is the electromyography signal (EMG signal). , EEG signal (EEG signal) and oculoelectric signal (EOG signal) and other brain/muscle/oculoelectric signals. The bionic prosthesis based on myoelectricity controls the movement of the prosthesis by detecting the EMG signals on the user's limbs. It has fast response and natural movements. However, the performance of nerve endings in stroke users is weakened, resulting in low action recognition rate and affecting myoelectricity. Prosthetic applications. EEG-based bionic prosthetics help users with neuromuscular impairments to actively control prosthetic movements through EEG signals, but EEG prosthetics respond slowly and have low discrimination against fine hand movements. The bionic prosthesis using electro-oculogram has many advantages such as fast response, strong applicability, simple and convenient operation, and low cost. However, long-term control of electro-oculogram prosthesis by trained users will cause eye fatigue, dry eyes and many other discomforts. The above-mentioned methods for actively controlling bionic prostheses using a single mode of EEG, EMG or EEG already exist. In terms of dual-mode control, the method of actively controlling bionic prostheses has also emerged in the combination of two modes in brain/muscle/ocular electrical signals. However, regardless of the single-mode or dual-mode active control method, the generated control commands are not many, the real-time control is not strong, and it cannot meet the needs of active control of basic hand movements in daily life. At present, no method has been found to actively control the software rehabilitation manipulator using the brain-computer interface of the three modes of brain/muscle/eye electricity.
发明内容Contents of the invention
本发明的目的在于克服上述现有技术的缺点,提供一种用于软体康复机械手的多模式脑机接口控制方法,该方法通过对脑/肌/眼电信号进行预处理、特征提取、模式识别以获取使用者主动运动意图,并转化为软体康复机械手的控制指令,从而实现辅助使用者在日常生活中进行手部训练的目的。The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a multi-mode brain-computer interface control method for software rehabilitation manipulators. To obtain the user's active movement intention and convert it into the control command of the software rehabilitation manipulator, so as to achieve the purpose of assisting the user to perform hand training in daily life.
为达到上述目的,本发明采用以下技术方案予以实现:In order to achieve the above object, the present invention adopts the following technical solutions to achieve:
一种用于软体康复机械手的多模式脑机接口控制方法,包括以下步骤:A multi-mode brain-computer interface control method for a software rehabilitation manipulator, comprising the following steps:
1)同步采集脑/肌/眼电信号,构建多源信号控制模式;1) Synchronously collect brain/muscle/oculoelectric signals to build a multi-source signal control mode;
2)根据使用者产生运动意念的时间段内脑/肌/眼电信号来提取其运动意图,并利用提示音或者肌/眼电信号特征来划分相应的任务事件;2) Extract the motion intention according to the brain/muscle/oculogram signal during the time period when the user generates the motion idea, and use the prompt sound or the muscle/oculograph signal feature to divide the corresponding task event;
3)根据使用者的意愿选择不同的控制模式,并利用双眨眼进行控制模式的切换;3) Select different control modes according to the user's wishes, and use double blinking to switch the control mode;
4)根据不同控制模式下对一个任务事件的脑/肌/眼电信号进行预处理、特征提取以及模式识别,实时解码出使用者的运动意图;4) Perform preprocessing, feature extraction, and pattern recognition on the brain/muscle/oculograph signals of a task event under different control modes to decode the user's movement intention in real time;
5)根据解码出的运动意图实时划分出不同的控制命令,并通过下位机实时处理转化为控制指令传送至气泵控制单元,进而控制软体康复机械手的充气和放气。5) Divide different control commands in real time according to the decoded motion intention, and convert them into control commands through the lower computer in real time and send them to the air pump control unit, and then control the inflation and deflation of the software rehabilitation manipulator.
本发明进一步的改进在于:The further improvement of the present invention is:
步骤1)中,脑/肌/眼电信号包括EMG信号、EEG信号和EOG信号。In step 1), the brain/muscle/oculoelectric signals include EMG signals, EEG signals and EOG signals.
步骤2)中,每一个运动意图产生的时间段内的脑/肌/眼电信号称为一个任务事件;针对脑电模式、肌电模式或眼电模式,提取相应的脑电任务事件、肌电任务事件或眼电任务事件;In step 2), the brain/muscle/oculogram signal within the time period generated by each movement intention is called a task event; for the EEG pattern, EMG pattern or Oculogram pattern, extract the corresponding EEG task event, EMG task event or oculograph task event;
a.在脑电模式中,采集EEG信号的同时计算机给一个开始的提示音,此后截取持续运动想象2~4s内的EEG信号为一个脑电任务事件;a. In the EEG mode, when the EEG signal is collected, the computer gives an initial prompt tone, and then the EEG signal within 2-4 seconds of continuous motor imagery is intercepted as an EEG task event;
b.在肌电模式下,根据EMG信号的平均绝对值相加,通过设定阈值来判断动作的起止点,EMG信号的平均绝对值从大于设定阈值开始到小于设定阈值结束的时间段内的EMG信号为一个肌电任务事件;b. In the myoelectric mode, according to the addition of the average absolute value of the EMG signal, the start and end points of the action are judged by setting the threshold. The average absolute value of the EMG signal starts from being greater than the set threshold to the time period when it is less than the set threshold. The EMG signal in is a myoelectric task event;
c.在眼电模式中,在线采集EOG信号时,利用小波变换获取EOG信号的低频分量,若分量大于设定阈值,确定该位置是有意识眨眼,如果两个位置小于长度阈值,该眨眼为双眨眼,否则为单眨眼;若分量超过阈值范围,则视为扫视产生的脉冲,并找出左扫视和右扫视的位置;眨眼位置前后0.1~0.4s或者扫视位置前后0.2~0.3s内的EOG信号为一个眼电任务事件。c. In the electro-oculogram mode, when the EOG signal is collected online, the low-frequency component of the EOG signal is obtained by wavelet transform. If the component is greater than the set threshold, it is determined that the position is a conscious blink. If the two positions are less than the length threshold, the blink is double. Blink, otherwise it is a single blink; if the component exceeds the threshold range, it is regarded as a pulse generated by saccade, and the position of left saccade and right saccade is found; EOG within 0.1-0.4s before and after the blink position or 0.2-0.3s before and after the saccade position The signal is an oculoelectric task event.
步骤3)中,使用者通过双眨眼实现脑/肌/眼电多模式之间依次切换;首先进入默认的眼电模式,判断该模式是否能实现动作任务,能则进入该模式并完成相应动作任务;否则通过双眨眼依次切换脑/肌/眼电模式,直到切换至能完成动作任务的模式为止。In step 3), the user switches between the brain/muscle/EoG mode in turn by double blinking; first enter the default EoG mode, judge whether this mode can realize the action task, and then enter this mode and complete the corresponding action task; otherwise, switch the brain/muscle/eye electricity mode sequentially by double blinking until it switches to the mode that can complete the action task.
步骤4)中,对EMG信号、EEG信号和EOG信号的处理具体如下:In step 4), the processing of EMG signal, EEG signal and EOG signal is specifically as follows:
EOG信号处理:EOG signal processing:
基于小波变换垂直方向上EOG信号对眨眼的位置进行定位,再根据阈值处理并识别一个眼电任务事件内有意识单眨眼和双眨眼;同样,基于小波变换和差分运算,对左扫视/右扫视信号进行识别和定位,再根据阈值法对识别的左扫视/右扫视信号进行修正,通过综合水平和垂直方向的脉冲幅值,根据大幅度和小幅度两种取值进行识别分类,当分量大于设定阈值时,确定该位置是左扫视,反之,则该位置为右扫视,从而完成一个眼电任务事件内左扫视/右扫视的实时检测;Based on wavelet transform and EOG signal in the vertical direction to locate the blink position, and then process and identify conscious single blink and double blink in an oculoelectric task event according to the threshold value; Carry out identification and positioning, and then correct the identified left glance/right glance signal according to the threshold method. By integrating the pulse amplitude in the horizontal and vertical directions, the identification and classification are carried out according to the two values of large amplitude and small amplitude. When the component is greater than the set When the threshold is fixed, it is determined that the position is a left saccade, otherwise, the position is a right saccade, thereby completing the real-time detection of a left saccade/right saccade in an oculoelectric task event;
EEG信号处理:EEG signal processing:
基于小波分析的功率特征选取方法提取EEG信号的同步化和去同步化特征,并通过支持向量机分类算法实现一个脑电任务事件内对左手运动想象事件或者右手运动想象事件的分类;The power feature selection method based on wavelet analysis extracts the synchronization and desynchronization features of EEG signals, and realizes the classification of left-hand motor imagery events or right-hand motor imagery events in an EEG task event through the support vector machine classification algorithm;
EMG信号处理:EMG signal processing:
通过采集使用者上肢前臂的EMG信号,在时域上分别提取平均绝对值MAV、过零点数ZC、斜率变化数SSC、波形长度WL和平均绝对值斜率MAVS的特征值,并采用支持向量机分类算法对五种时域统计学特征值融合进行特征识别,实现对手部训练动作的在线分类。By collecting the EMG signal of the user's upper limb forearm, the feature values of the average absolute value MAV, the number of zero-crossing points ZC, the number of slope changes SSC, the waveform length WL, and the average absolute value slope MAVS are respectively extracted in the time domain, and are classified by a support vector machine. The algorithm performs feature recognition on the fusion of five time-domain statistical eigenvalues to realize online classification of hand training actions.
步骤5)中,通过上位机把解码出的运动意图实时划分出不同的控制命令,再把相应的控制指令发送到下位机,并通过气泵控制单元调节二位三通阀电磁阀相应通路的通断来控制软体康复机械手的充气和放气。In step 5), the decoded motion intention is divided into different control commands in real time by the upper computer, and then the corresponding control instructions are sent to the lower computer, and the air pump control unit is used to adjust the flow of the corresponding passage of the solenoid valve of the two-position three-way valve. control the inflation and deflation of the soft rehabilitation manipulator.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明根据采集脑/肌/眼电信号并识别运动意图,进而对软体康复机械手进行控制,从而辅助使用者在日常生活中能够随时随地进行手指动作任务,也可以自主定制相应的动作任务并完成日常生活中的基本动作,同时满足使用者基本生活需求并调动其主动训练的积极性,从而取得较好的康复训练效果。本发明可用于脑损伤或因意外事故等造成手部运动功能丧失或者不足的使用者做手部训练,能帮助使用者完成主动训练的任务,实现脑损伤或者辅助使用者在日常生活中主动控制软体康复机械手以带动使用者的手部达到康复训练的目的。同时本发明具有主动控制模式多、控制命令多和实时性强等优点,软体康复机械手安全性高、舒适度好、噪声小、轻量便携和成本低等特点,具有很大的临床应用前景。The present invention controls the software rehabilitation manipulator based on collecting brain/muscle/oculoelectric signals and identifying movement intentions, thereby assisting users to perform finger movement tasks anytime and anywhere in daily life, and can also independently customize corresponding movement tasks and complete them. The basic movements in daily life, while meeting the basic needs of users and mobilizing their enthusiasm for active training, so as to achieve better rehabilitation training effect. The present invention can be used for hand training for users who have lost or lacked hand motor function due to brain damage or accidents, etc., can help users complete active training tasks, realize brain damage or assist users in active control in daily life The software rehabilitation manipulator drives the user's hand to achieve the purpose of rehabilitation training. At the same time, the invention has the advantages of multiple active control modes, multiple control commands, and strong real-time performance. The software rehabilitation manipulator has the characteristics of high safety, good comfort, low noise, light weight, portability, and low cost, and has great clinical application prospects.
附图说明Description of drawings
图1是本发明使用者主动控制软体康复机械手系统原理图;Fig. 1 is a schematic diagram of the system of the user's active control software rehabilitation manipulator in the present invention;
图2是本发明使用者主动控制软体康复机械手的技术路线图;Fig. 2 is a technical roadmap for the user to actively control the software rehabilitation manipulator in the present invention;
图3是本发明脑/肌/眼电信号电极连接图;其中,(a)为脑电/眼电极布置图,(b)为肌电电极布置图;Fig. 3 is the electrode connection diagram of the brain/muscle/oculoelectric signal of the present invention; wherein, (a) is the layout diagram of EEG/eye electrodes, and (b) is the layout diagram of EMG electrodes;
图4是本发明脑/肌/眼电信号的任务事件划分示意图;其中,(a)为EEG信号的任务事件划分示意图,(b)为EMG信号的任务事件划分示意图,(c)为EOG信号的任务事件划分示意图;Fig. 4 is the task event division schematic diagram of brain/muscle/oculoelectric signal of the present invention; Wherein, (a) is the task event division schematic diagram of EEG signal, (b) is the task event division schematic diagram of EMG signal, (c) is EOG signal Schematic diagram of the division of task events;
图5是本发明实现软体康复机械手控制的信号处理算法流程图;Fig. 5 is a flow chart of the signal processing algorithm for realizing software rehabilitation manipulator control in the present invention;
图6是本发明软体康复机械手控制系统示意图。Fig. 6 is a schematic diagram of the control system of the software rehabilitation manipulator of the present invention.
具体实施方式detailed description
下面结合附图对本发明做进一步详细描述:The present invention is described in further detail below in conjunction with accompanying drawing:
参见图1-6,本发明用于软体康复机械手的多模式脑机接口控制方法,包括以下步骤:Referring to Figures 1-6, the multi-mode brain-computer interface control method for the software rehabilitation manipulator of the present invention includes the following steps:
1)使用者在训练时,头部戴脑电电极,眼部贴眼电电极以及上肢前臂贴上肌电电极,其中EEG信号和EOG信号的采集共用一个脑电放大器,而EMG信号的采集使用肌电放大器,通过脑电放大器和肌电放大器的开发平台,并利用在Windows平台下设计并开发了一套基于VC++的人机交互控制界面,实现EEG信号、EOG信号和EMG信号的同步在线采集;1) During training, the user wears EEG electrodes on the head, EEG electrodes on the eyes and EMG electrodes on the forearm of the upper limbs. The acquisition of EEG signals and EOG signals shares an EEG amplifier, while the acquisition of EMG signals uses EMG amplifier, through the development platform of EEG amplifier and EMG amplifier, and using the Windows platform to design and develop a set of human-computer interaction control interface based on VC++, to realize the synchronous online acquisition of EEG signal, EOG signal and EMG signal ;
2)使用者想根据自己意愿来主动控制软体康复机械手时,需根据相应的脑/肌/眼电信号产生意念的相应时间段来提取使用者的运动意图,每一个运动意图产生的时间段内的相应的脑/肌/眼电信号信号称为一个任务事件。在脑电模式中,采集EEG信号的同时计算机给一个开始的提示音,此后截取持续运动想象(2~4秒)时间内的EEG信号为一个任务事件。在肌电模式下,根据EMG信号的平均绝对值相加,通过设定阈值来判断动作的起止点,EMG信号的平均绝对值从大于设定阈值开始到小于设定阈值结束的时间段内的EMG信号为一个任务事件。在眼电模式中,在线采集EOG信号时,利用小波变换获取EOG信号的低频分量,若分量大于设定阈值,确定该位置是有意识眨眼,如果两个位置小于长度阈值,该眨眼为双眨眼,否则为单眨眼。若分量超过阈值范围,则视为扫视产生的脉冲,并找出左扫视和右扫视的位置。眨眼位置前后(0.1~0.4秒)或者扫视位置前后(0.2~0.3秒)时间内的EOG信号为一个任务事件;2) When the user wants to actively control the software rehabilitation manipulator according to his own wishes, it is necessary to extract the user's movement intention according to the corresponding time period of the brain/muscle/oculoelectric signal to generate the idea, and within the time period of each movement intention The corresponding brain/muscle/oculogram signal is called a task event. In the EEG mode, the computer gave an initial prompt tone while collecting EEG signals, and then intercepted the EEG signals within the duration of motor imagery (2-4 seconds) as a task event. In the EMG mode, according to the addition of the average absolute value of the EMG signal, the start and end points of the action are judged by setting the threshold. The EMG signal is a mission event. In the electro-oculogram mode, when the EOG signal is collected online, the low-frequency component of the EOG signal is obtained by wavelet transform. If the component is greater than the set threshold, it is determined that the position is a conscious blink. If the two positions are less than the length threshold, the blink is a double blink. Otherwise it is a single blink. If the component exceeds the threshold range, it is regarded as the pulse generated by the saccade, and the location of the left and right saccades is found. The EOG signal before and after the blink position (0.1-0.4 seconds) or before and after the glance position (0.2-0.3 seconds) is a task event;
3)使用者在训练过程中主动控制软体康复机械手时,通过双眨眼实现脑/肌/眼电多模式之间依次切换。首先进入默认的眼电模式,判断该模式是否能实现动作任务,能完成相关任务,则进入该模式并完成相应动作任务,否则通过双眨眼依次切换脑/肌/眼电模式,直到切换至能完成动作任务的模式为止;3) When the user actively controls the software rehabilitation manipulator during the training process, the brain/muscle/eye electricity multi-mode can be switched sequentially by double blinking. First enter the default EEG mode, judge whether this mode can realize the action task, and can complete the relevant task, then enter this mode and complete the corresponding action task, otherwise, switch the brain/muscle/Eogle mode in turn by double blinking until it is able to switch Until the mode of the action task is completed;
4)在EOG信号处理方面,基于小波变换垂直方向上EOG信号对眨眼的位置进行定位,再根据阈值处理并识别一个任务事件内有意识单眨眼和双眨眼。同样,基于小波变换和差分运算,对左扫视/右扫视信号进行识别和定位,再根据阈值法对识别的左扫视/右扫视信号进行修正,通过综合水平和垂直方向的脉冲幅值,根据大幅度和小幅度两种取值进行识别分类,当分量大于设定阈值时,确定该位置是左扫视,反之,则该位置为右扫视,从而完成一个任务事件内左扫视/右扫视的实时检测;4) In terms of EOG signal processing, the position of the blink is located based on the EOG signal in the vertical direction based on wavelet transform, and then the conscious single blink and double blink are identified according to the threshold value processing and within a task event. Similarly, based on wavelet transform and differential operation, the left saccade/right saccade signal is identified and positioned, and then the identified left saccade/right saccade signal is corrected according to the threshold method. When the component is greater than the set threshold, it is determined that the position is a left glance, otherwise, the position is a right glance, so as to complete the real-time detection of left glance/right glance in a task event ;
5)在EEG信号处理方面,基于小波分析的功率特征选取方法提取EEG信号的同步化和去同步化特征,并通过支持向量机分类算法(SVM)实现一个任务事件内对左手运动想象事件或者右手运动想象事件的分类,从而实现使用者利用运动意图在线控制软体康复机械手并带动使用者手指完成相应的康复运动;5) In terms of EEG signal processing, the power feature selection method based on wavelet analysis extracts the synchronization and desynchronization features of EEG signals, and realizes the left-hand motor imagery event or right-hand motor imagery event within a task event through the support vector machine classification algorithm (SVM). Classification of motor imagery events, so that the user can use the motion intention to control the software rehabilitation manipulator online and drive the user's fingers to complete the corresponding rehabilitation movement;
6)在EMG信号处理方面,通过采集使用者上肢前臂的EMG信号,在时域上分别提取平均绝对值(MAV)、过零点数(ZC)、斜率变化数(SSC)、波形长度(WL)和平均绝对值斜率(MAVS)等EMG信号的特征值,并采用支持向量机分类算法对五种时域统计学特征值融合进行特征识别,实现对日常生活中常用的手部训练动作的在线分类。6) In terms of EMG signal processing, by collecting the EMG signal of the forearm of the user's upper limbs, the average absolute value (MAV), the number of zero crossing points (ZC), the number of slope changes (SSC), and the waveform length (WL) are respectively extracted in the time domain. and average absolute value slope (MAVS) and other EMG signal eigenvalues, and use the support vector machine classification algorithm to perform feature recognition on the fusion of five time-domain statistical eigenvalues, and realize the online classification of hand training actions commonly used in daily life .
本发明的原理如下:Principle of the present invention is as follows:
软体康复机械手是由软材料在手部模具中浇注而成中空腔体结构,其外围均匀布置了纤维和限制应变层,通过中空腔体结构的弯曲变形和伸长变形等组合设计成仿人手指。而气压驱动器实现直线位移比较方便,且气体的压缩性保证驱动器的柔顺性,所以气压驱动安全方便,无污染。仿人手指的中空腔内埋覆有气管,软体康复机械手对仿人手指的气管充气和放气以带动使用者手指做相应的动作任务;The soft rehabilitation manipulator is made of soft materials poured into the hand mold to form a hollow cavity structure. Fibers and strain-limiting layers are evenly arranged on the periphery of it. The bending deformation and elongation deformation of the hollow cavity structure are combined to design a humanoid finger. However, it is more convenient for the pneumatic actuator to achieve linear displacement, and the compressibility of the gas ensures the flexibility of the actuator, so the pneumatic actuator is safe, convenient, and pollution-free. A trachea is embedded in the hollow cavity of the humanoid finger, and the soft rehabilitation manipulator inflates and deflates the trachea of the humanoid finger to drive the user's finger to perform corresponding action tasks;
通过上位机对脑/肌/眼电信号的分类结果转化为控制指令,再把相应的控制指令发送到下位机,并通过调节二位三通阀电磁阀相应通路的通断来控制软体康复机械手的充气和放气,用户也可以根据日常生活中手部康复程度自行调节控制单元中的比例阀调节气压大小来控制软体机械手所需力量等级,实现使用者主动控制气压驱动而控制软体康复机械手的不同手指充气、放气以及气量大小,以灵活控制气动软体康复机械手的运动变形并带动使用者手指做相应的康复运动;The classification results of the brain/muscle/oculoelectric signals by the upper computer are converted into control instructions, and then the corresponding control instructions are sent to the lower computer, and the software rehabilitation manipulator is controlled by adjusting the on-off of the corresponding passage of the solenoid valve of the two-position three-way valve The user can also adjust the proportional valve in the control unit to adjust the air pressure to control the force level required by the soft manipulator according to the degree of hand rehabilitation in daily life, so that the user can actively control the air pressure drive and control the software rehabilitation manipulator. Inflate, deflate, and air volume of different fingers to flexibly control the motion deformation of the pneumatic software rehabilitation manipulator and drive the user's fingers to perform corresponding rehabilitation exercises;
结合手部运动功能的常用基本形式和日常生活中手部基本动作以及使用频率,选择常用且使用频率最高的动作任务,通过常用手部训练基本动作(用力抓握、勾拉、推压、松开和击打)或者可以通过调节软体康复机械手控制单元来自定义训练动作来满足使用者在日常生活中的基本需求。Combining the commonly used basic forms of hand motor function with the basic hand movements in daily life and the frequency of use, select the most commonly used and most frequently used movement tasks, and use common hands to train basic movements (grip, pull, push, loosen). opening and hitting) or by adjusting the control unit of the soft rehabilitation manipulator to customize the training actions to meet the basic needs of the user in daily life.
实施例:Example:
参见图1,本发明提出了一种用于软体康复机械手的多模式脑机接口控制方法,使用者不需在医院让康复专业的理疗师的陪同,而是在家里日常生活中进行主动训练,通过同步采集三种脑/肌/眼电信号(EEG信号、EMG信号和EOG信号)构建多源信号控制模式。根据使用者的意愿选择不同的控制模式,并利用EOG信号的双眨眼进行脑/肌/眼电模式依次切换,对所在控制模式下的脑/肌/眼电信号提取使用者的运动意图。通过对脑/肌/眼电信号预处理、特征提取、模式识别,实时分类出不同的控制命令,并通过下位机实时处理转化为控制指令传送至气泵控制单元,根据二位三通阀电磁阀相应通路的通断来控制软体康复机械手的充气和放气,以带动使用者手指完成相关动作任务,其控制结果实时反馈给训练使用者,从而实现使用者主动康复训练的目的。Referring to Fig. 1, the present invention proposes a multi-mode brain-computer interface control method for software rehabilitation manipulators. Users do not need to be accompanied by rehabilitation professional physical therapists in hospitals, but carry out active training at home in daily life. A multi-source signal control mode is constructed by synchronously collecting three kinds of brain/muscle/oculoelectric signals (EEG signal, EMG signal and EOG signal). Select different control modes according to the user's wishes, and use the double blinking of the EOG signal to switch the brain/muscle/oculoelectric mode in turn, and extract the user's movement intention from the brain/muscle/oculoelectric signals under the control mode. Through brain/muscle/oculoelectric signal preprocessing, feature extraction, and pattern recognition, different control commands are classified in real time, and processed in real time by the lower computer into control commands and sent to the air pump control unit. According to the solenoid valve of the two-position three-way valve The inflation and deflation of the software rehabilitation manipulator is controlled by the connection and disconnection of the corresponding pathways, so as to drive the user's fingers to complete relevant action tasks, and the control results are fed back to the training user in real time, so as to realize the purpose of active rehabilitation training for the user.
如图2所示,通过使用者头部戴4导脑电电极(包含1导接地电极和右耳后乳突的1导参考电极)、眼部的4导眼电电极以及上肢前臂的8导肌电电极同时采集脑电/肌电/眼电信号,如果使用者是首次使用软体康复机械手系统,则点击人机交互控制界面上的训练按钮,依次进入脑电模式,肌电模式和眼电模式进行相应的训练,相应的脑/肌/眼电信号进入训练模型,得到各自训练模型的训练参数,并把训练参传递到训练系统中,分别完成脑电模式,肌电模式和眼电模式中的模型训练。模型训练结束后,可点击人机交互控制界面上的测试按钮,进入模型的测试阶段。在测试阶段,首先进入默认的眼电模式中,通过EOG信号的阈值自动划分一个任务事件,再经过阈值处理法和模型训练后的阈值来识别EOG信号中的左扫视和右扫视,并把相应的控制命令转化为控制指令S1/S2,通过下位机把相应控制指令变为软体康复机械手的控制信号。使用者根据实际情况,通过双眨眼来切换到肌电模式,如果不是需要的控制模式,再次眨眼切换到脑电模式,最多两次双眨眼能完成脑/肌/眼电模式三种模式的任意切换。使用者通过双眨眼进入肌电模式后,根据EMG信号的平均绝对值的阈值来划分一个任务事件,根据采集的EMG信号来提取MAV、ZC、SSC、WL和MAVS等5种EMG信号的特征值,并通过支持向量机把五种时域统计学特征值在线识别出使用者的运动意图,并把在线分类出运动意图转化为6种手部的基本动作的控制指令S5/S6/S7/S8/S9/S10,下位机自动转化为主动控制软体康复机械手的运动信号。使用者通过双眨眼进入脑电模式中,当听到计算机发出“滴”的一声时,使用者开始左右手运动想象且运动想象的时间要大于2s,系统会自动取“滴”的一声开始时到2s后这一段时间对应的EEG信号。根据同步化和去同步化现象,在运动区的EEG信号的功率发生变化,根据功率谱的变化来区分被试者是想象了左手或者是右手。通过小波变化提取EEG信号中的功能谱,并用支持向量机在线识别使用者的运动意图,把分类后的运动意图转化为控制指令S3/S4,进而控制软体康复机械手带动使用者手部做相应的运动。As shown in Figure 2, the user wears 4-lead EEG electrodes on the head (including 1-lead ground electrode and 1-lead reference electrode on the mastoid behind the right ear), 4-lead eye electrodes on the eyes, and 8-lead electrodes on the forearm of the upper limbs. The EMG electrodes collect EEG/EMG/EEG signals at the same time. If the user is using the software rehabilitation manipulator system for the first time, click the training button on the human-computer interaction control interface to enter the EEG mode, EMG mode and EEG mode in turn. The corresponding training in the EEG mode, the corresponding brain/muscle/oculoelectric signal enters the training model, and the training parameters of the respective training models are obtained, and the training parameters are passed to the training system to complete the EEG mode, EMG mode and Oculoelectric mode respectively. Model training in . After the model training is over, you can click the test button on the human-computer interaction control interface to enter the testing stage of the model. In the test phase, firstly enter the default electrooculogram mode, automatically divide a task event by the threshold value of the EOG signal, and then identify the left saccade and right saccade in the EOG signal through the threshold value processing method and the threshold value after model training, and put the corresponding The control command is converted into the control command S1/S2, and the corresponding control command is converted into the control signal of the software rehabilitation manipulator through the lower computer. According to the actual situation, the user can switch to the EMG mode by double blinking. If it is not the desired control mode, blink again to switch to the EEG mode. At most two double blinks can complete any of the three modes of brain/muscle/eye electricity mode. switch. After the user enters the EMG mode by double blinking, a task event is divided according to the threshold value of the average absolute value of the EMG signal, and the characteristic values of five EMG signals such as MAV, ZC, SSC, WL and MAVS are extracted according to the collected EMG signals , and use the support vector machine to identify the user's motion intentions online through the five time-domain statistical eigenvalues, and convert the motion intentions classified online into six basic hand movement control commands S5/S6/S7/S8 /S9/S10, the lower computer automatically converts into the motion signal of the active control software rehabilitation manipulator. The user enters the EEG mode by double blinking. When the computer makes a "beep", the user starts to imagine the movement of the left and right hands and the time for motor imagination is longer than 2 seconds. The EEG signal corresponding to this period after 2s. According to the phenomenon of synchronization and desynchronization, the power of the EEG signal in the motor area changes, and the change of the power spectrum can be used to distinguish whether the subjects imagined the left hand or the right hand. Extract the functional spectrum in the EEG signal through wavelet changes, and use the support vector machine to identify the user's motion intention online, convert the classified motion intention into control instructions S3/S4, and then control the software rehabilitation manipulator to drive the user's hand to do corresponding exercises sports.
如图3所示使用者脑/肌/眼电信号电极连接图。按照图3(a)使用者的头部连接6导脑电电极,电极在大脑分布区域分别是:大脑运动区域的C3和C4,置于前额中央靠上位置处的接地电极GND,右耳后的乳凸的参考电极(A2,在耳朵后乳凸上),脑电电极位置采用10-20系统电极法。使用者的眼部采用双极导联连接法来连接4导眼电电极,水平方向两个电极分别置于眼球双外眦部的水平线上,距眼外眦部约10mm处(HR和HL),垂直方向两个电极分别置于单侧眼部中央直线上,距瞳孔约30mm处(VU和VL)。脑电采集和眼电采集统一使用湿电极法,电极为碗状银/氯化银(Ag/AgCl)合金电极,内注入导电膏,所有的电极的阻抗均小于5kΩ,以提高导电性能,且都采用统一的参考电极(A2)和接地电极(GND),EEG信号和EOG信号使用同一个NuAmps脑电放大器(NuAmp,Neuroscan,Inc.),其采样频率为500Hz,配套上位机系统为scan 4.5。按照图3(b),使用者上肢前臂的肌肉发生收缩和舒张会产生微弱的生物电压信号,通过识别手指运动的肌肉纤维可控制手指运动。EMG信号的采集是使用支持较多通道传感器且集成性较好的MYO臂环作为手势控制臂环(加拿大创业公司ThalmicLabs),其采样频率为200Hz,该传感器含有8个表面肌电传感器、1个加速度计、1个陀螺仪,其中8个EMG信号传感器间隔均匀的分布在使用者上肢前臂周向。Figure 3 shows the connection diagram of the user's brain/muscle/oculoelectric signal electrodes. According to Figure 3(a), the user’s head is connected with 6-lead EEG electrodes. The electrodes are distributed in the brain areas: C3 and C4 in the brain motor area, the ground electrode GND placed at the upper center of the forehead, and the right ear. The mastoid reference electrode (A2, on the mastoid behind the ear), the EEG electrode position adopts the 10-20 system electrode method. The user's eyes are connected to the 4-lead eye electrode by bipolar lead connection method, and the two electrodes in the horizontal direction are respectively placed on the horizontal line of the double outer canthus of the eyeball, about 10mm away from the outer canthus of the eye (HR and HL) Two electrodes in the vertical direction were respectively placed on the central line of the eye, about 30mm away from the pupil (VU and VL). The wet electrode method is used uniformly for EEG acquisition and oculoelectric acquisition. The electrode is a bowl-shaped silver/silver chloride (Ag/AgCl) alloy electrode, and conductive paste is injected into it. The impedance of all electrodes is less than 5kΩ to improve the conductivity. Both use a unified reference electrode (A2) and ground electrode (GND). The EEG signal and EOG signal use the same NuAmps EEG amplifier (NuAmp, Neuroscan, Inc.), the sampling frequency is 500Hz, and the supporting host computer system is scan 4.5 . According to Figure 3(b), the contraction and relaxation of the forearm muscles of the user's upper limbs will generate weak biovoltage signals, and the finger movement can be controlled by identifying the muscle fibers of the finger movement. The acquisition of EMG signals is to use the MYO armband that supports more channels of sensors and has better integration as a gesture control armband (ThalmicLabs, a Canadian startup company). The sampling frequency is 200Hz. The sensor contains 8 surface electromyography sensors, 1 An accelerometer, a gyroscope, and 8 EMG signal sensors are evenly spaced around the forearm of the user's upper limb.
如图4,描述了本发明脑/肌/眼电信号的任务事件划分示意图。脑机接口系统在线提取使用者运动意图时,须明确判断运动意图的起止点,并根据相应的脑/肌/眼电信号产生意念的相应时间段内的脑/肌/眼电信号来提取使用者的运动意图。如图(a)在脑电模式中,采集EEG信号的同时计算机给一个开始的提示音(“滴”的一声),提示音结束2s后,完成一个任务事件,同时保存提示音开始到提示音结束2s的时间内的EEG信号。如图(b)在肌电模式下,将MYO臂环的10次实验8导EMG信号的时域特征MAV相加,通过与无动作的EMG信号的MAV比较,设定阈值来判断6种手部运动动作的起止点,8导的EMG信号从运动动作开始到结束的时间段为一个任务事件。如图(c)在眼电模式中,对原始的EOG信号进行10层‘db4’离散小波分解并对低频逼近信号进行重构,获得信号的低频分量,用原始垂直EOG信号减去该低频成分,即获得回归零线的近似多尖峰脉冲信号,对其进行第一次阈值处理,大于阈值T1(取值80uV)置1,小于T1置0,则信号变为矩形波信号其每一个高电平区间,即为包含了眨眼精确位置的近似眨眼区间。为识别该区间,对矩形波进行如下差分运算,对其进行第二次阈值处理,大于阈值T2(取值540uV)置3,小于T2置1,从而识别出单眨眼和双眨眼。图右边的1代表此处为无意识眨眼,2代表有意识单眨眼,3代表双眨眼。眨眼位置前后(0.1~0.4秒)时间内的EOG信号为一个任务事件。设置阈值为30,超过阈值范围的,则视为扫视产生的脉冲,则找到左扫视和右扫视的位置,扫视位置前后(0.2~0.3秒)时间内的EOG信号为一个任务事件。As shown in FIG. 4 , a schematic diagram of task event division of the brain/muscle/oculoelectric signal of the present invention is described. When the brain-computer interface system extracts the user's motion intention online, it must clearly judge the start and end points of the motion intention, and extract and use the brain/muscle/oculogram signals in the corresponding time period when the corresponding brain/muscle/oculogram signals generate ideas. the player's movement intention. As shown in the picture (a) in the EEG mode, when the EEG signal is collected, the computer will give a start beep (“beep”). After the beep ends 2s, a task event will be completed, and the beep will be saved from the beginning to the beep. EEG signal over a period of 2 s. As shown in (b) in the EMG mode, add the time-domain characteristic MAV of the 8-channel EMG signal of the 10 experiments of the MYO armband, and compare it with the MAV of the non-moving EMG signal, and set the threshold to judge the six kinds of hand movements. The start and end points of the internal movement, the time period of the 8-lead EMG signal from the beginning to the end of the movement is a task event. As shown in (c) in the oculoelectric mode, the 10-layer 'db4' discrete wavelet decomposition is performed on the original EOG signal and the low-frequency approximation signal is reconstructed to obtain the low-frequency component of the signal, and the low-frequency component is subtracted from the original vertical EOG signal , That is to obtain the approximate multi-peak pulse signal of the return to zero line, and perform the first threshold processing on it, set 1 when it is greater than the threshold T1 (value 80uV), and set 0 if it is less than T1, then the signal becomes a rectangular wave signal and each high voltage The flat interval is the approximate blink interval including the exact location of the blink. In order to identify this interval, the following difference operation is performed on the rectangular wave, and the second threshold value processing is performed on it. If it is greater than the threshold T2 (value 540uV), it is set to 3, and if it is less than T2, it is set to 1, so as to identify single blink and double blink. The 1 on the right side of the figure represents unconscious blinking, 2 represents conscious single blinking, and 3 represents double blinking. The EOG signal before and after the blink position (0.1-0.4 seconds) is a task event. Set the threshold to 30. If it exceeds the threshold range, it will be regarded as the pulse generated by the saccade, and the positions of the left and right saccades will be found. The EOG signal before and after the saccade position (0.2-0.3 seconds) is a task event.
如图5是本发明实现软体康复机械手控制的信号处理算法流程图。对于运动想象的脑电数据经过脑电放大器的放大,并对采集到的EEG信号进行相应的预处理,再通过带通滤波(8-14Hz)获取Mu频带,然后经过7层的小波变换,得到小波系数能量,将C3通道和C4通道的能量之和分别在支持向量机的测试模式中进行分类测试,分别得到左手运动想象(控制指令:S3)和右手运动想象(控制指令:S4)。同样,对于眨眼、扫视的眼电数据经过脑电放大器的放大,并对采集到的EOG信号去除直流分量,再把EOG信号进行10层‘db4’离散小波分解并对低频逼近信号进行重构,获得信号的低频分量,经过差分运动运算,再根据阈值法可类出单眨眼和双眨眼,同理,识别出左扫视和右扫视的相应的位置及分类(控制指令:S1/S2)。最后对于康复动作的数据经过肌电放大器的放大,并对采集到的EMG信号进行相应的预处理,再通过带通滤波(45~195Hz)获取相应肌电频带,采用五个时域统计学特征(MAV、ZC、SSC、WL、MAVS)作为分类标准,将五种特征分别在支持向量机的测试模式中进行分类测试,分别得到6种手部的基本动作(包括握拳、手掌内收、手掌外展、五指张开、大拇指和中指双击点触,无动作等)的控制指令S5/S6/S7/S8/S9/S10。脑/肌/眼电模式的分类结果都通过下位机把相应的控制指令转化为软体康复机械手的控制信号,以带动使用者的手部进行相应的康复训练。Figure 5 is a flow chart of the signal processing algorithm for realizing software rehabilitation manipulator control in the present invention. For the EEG data of motor imagery, it is amplified by the EEG amplifier, and the collected EEG signal is preprocessed accordingly, and then the Mu frequency band is obtained through band-pass filtering (8-14Hz), and then after 7 layers of wavelet transformation, the obtained The wavelet coefficient energy, the sum of the energy of the C3 channel and the C4 channel is classified and tested in the test mode of the support vector machine, and the left hand motor imagery (control command: S3) and the right hand motor imagery (control command: S4) are respectively obtained. Similarly, the oculoelectric data of blinking and saccade are amplified by the EEG amplifier, and the DC component is removed from the collected EOG signal, and then the EOG signal is decomposed by 10-layer 'db4' discrete wavelet and the low-frequency approximation signal is reconstructed. The low-frequency component of the signal is obtained, and after differential motion calculation, single blink and double blink can be classified according to the threshold method. Similarly, the corresponding position and classification of left saccade and right saccade can be identified (control command: S1/S2). Finally, the data of the rehabilitation action is amplified by the myoelectric amplifier, and the collected EMG signal is preprocessed accordingly, and then the corresponding myoelectric frequency band is obtained through band-pass filtering (45-195Hz), and five time-domain statistical features are used. (MAV, ZC, SSC, WL, MAVS) as the classification standard, the five features are classified and tested in the test mode of the support vector machine, and six basic hand movements (including fist, palm adduction, palm adduction, etc.) are respectively obtained. Abduction, five fingers spread, thumb and middle finger double tap, no action, etc.) control commands S5/S6/S7/S8/S9/S10. The classification results of the brain/muscle/oculoelectric patterns are converted into corresponding control commands by the lower computer into control signals of the software rehabilitation manipulator, so as to drive the user's hands to perform corresponding rehabilitation training.
如图6所示,本发明软体康复机械手控制系统示意图。当使用者的运动意图识别并通过下位机转化为软体康复机械手的控制指令后,空气经气泵流过比例阀、电磁阀、节流阀,通过压缩空气传送至相应手指中的气管给软体康复机械手充气和放气,从而实现仿人手指带动使用者手指做相应的动作任务。而仿人手指是根据使用者的手指的尺寸来设计并制造的5根仿真手指,手指是由软材料(硅橡胶)在3D打印的手部摸具中浇注而成中空腔体结构,其外围均匀布置了纤维和限制应变层,通过中空腔体结构的弯曲变形和伸长变形等组合设计成仿人手指,每个手指由多段关节组成,以保证使用者的手与仿真手指能充分的贴合,并有足够的力来带动手指运动。仿人手指外面有绷带以满足使用者的手和仿真手指之间紧密约束在一起。每个仿人手指中空腔内埋覆有气管,气管连接便携的控制单元。使用者可根据日常生活中手部康复程度来自行调节软体康复机械手所需力量等级,通过控制单元中的比例阀可以调节气压大小,电磁阀为二位三通阀,打开后充气,关闭后放气,节流阀可控制流速,实现气压驱动对软体康复机械手的不同手指充气和放气,以灵活控制气动软体康复机械手的运动变形(用力抓握、勾拉、推压、松开和击打),满足使用者在日常生活中主动康复训练的目的。As shown in FIG. 6 , a schematic diagram of the control system of the software rehabilitation manipulator of the present invention. After the user's movement intention is recognized and converted into the control command of the software rehabilitation manipulator through the lower computer, the air flows through the air pump through the proportional valve, solenoid valve, and throttle valve, and is sent to the air pipe in the corresponding finger through the compressed air to the software rehabilitation manipulator. Inflate and deflate, so as to realize the humanoid fingers to drive the user's fingers to do corresponding action tasks. The humanoid fingers are 5 artificial fingers designed and manufactured according to the size of the user's fingers. The fingers are made of soft material (silicone rubber) and poured into a 3D printed hand mold to form a hollow cavity structure. Fibers and strain-limiting layers are evenly arranged, and humanoid fingers are designed through the combination of bending deformation and elongation deformation of the hollow cavity structure. Each finger is composed of multiple joints to ensure that the user's hand and the artificial finger can fully fit , and have enough force to drive the finger movement. There are bandages on the outside of the anthropomorphic fingers to meet the tight constraints between the user's hand and the artificial fingers. A trachea is embedded in the cavity of each humanoid finger, and the trachea is connected with a portable control unit. The user can adjust the strength level required by the software rehabilitation manipulator according to the degree of hand rehabilitation in daily life. The air pressure can be adjusted through the proportional valve in the control unit. Air, the throttle valve can control the flow rate, realize the pneumatic drive to inflate and deflate different fingers of the soft rehabilitation manipulator, so as to flexibly control the motion deformation of the pneumatic software rehabilitation manipulator (grip, hook, push, release and hit) ), to meet the user's purpose of active rehabilitation training in daily life.
以上内容仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明权利要求书的保护范围之内。The above content is only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any changes made on the basis of the technical solution according to the technical idea proposed in the present invention, all fall into the scope of the claims of the present invention. within the scope of protection.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710587171.2A CN107411935A (en) | 2017-07-18 | 2017-07-18 | A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710587171.2A CN107411935A (en) | 2017-07-18 | 2017-07-18 | A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107411935A true CN107411935A (en) | 2017-12-01 |
Family
ID=60430208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710587171.2A Pending CN107411935A (en) | 2017-07-18 | 2017-07-18 | A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107411935A (en) |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108415565A (en) * | 2018-02-25 | 2018-08-17 | 西北工业大学 | The machine integrated intelligent control method of unmanned plane brain and technology |
| CN108743225A (en) * | 2018-06-07 | 2018-11-06 | 郑州大学 | A kind of twin-stage push-down software hand intelligence control system |
| CN108904163A (en) * | 2018-06-22 | 2018-11-30 | 北京信息科技大学 | wheelchair control method and system |
| CN109044724A (en) * | 2018-07-06 | 2018-12-21 | 北京京成兴华医疗科技有限公司 | Hand function training and auxiliary system |
| CN109223430A (en) * | 2018-07-23 | 2019-01-18 | 上海交通大学 | Wearable software restoring gloves and its control method, system |
| CN109284004A (en) * | 2018-10-29 | 2019-01-29 | 中国矿业大学 | An intelligent nursing system based on brain-computer interface |
| CN109481236A (en) * | 2018-12-27 | 2019-03-19 | 西安交通大学 | The rigid flexible system exoskeleton hand functional rehabilitation device of flexible material 3D printing manufacture |
| CN109646798A (en) * | 2019-02-20 | 2019-04-19 | 浙江强脑科技有限公司 | Brain control formula limbs resume training system and its control method |
| CN109976525A (en) * | 2019-03-27 | 2019-07-05 | 上海大学 | A kind of user interface interaction method, apparatus and computer equipment |
| CN110221684A (en) * | 2019-03-01 | 2019-09-10 | Oppo广东移动通信有限公司 | Apparatus control method, system, electronic device and computer readable storage medium |
| CN110414619A (en) * | 2019-08-05 | 2019-11-05 | 重庆工商职业学院 | An EMG-based Signal Recognition Method |
| CN111820901A (en) * | 2020-06-29 | 2020-10-27 | 西安交通大学 | Gait recognition method based on brain electromyographic signals |
| CN111856958A (en) * | 2020-07-27 | 2020-10-30 | 西北大学 | Smart home control system, control method, computer equipment and storage medium |
| CN112515680A (en) * | 2019-09-19 | 2021-03-19 | 中国科学院半导体研究所 | Wearable brain electrical fatigue monitoring system |
| CN114327048A (en) * | 2021-12-07 | 2022-04-12 | 重庆邮电大学 | A method and system for controlling a robotic arm based on EEG signals and EEG signals |
| CN115517915A (en) * | 2022-10-20 | 2022-12-27 | 北京软体机器人科技股份有限公司 | Rehabilitation training device |
| CN116549189A (en) * | 2023-03-06 | 2023-08-08 | 江苏科技大学 | A control method of soft prosthetic hand based on electromyographic signal |
| CN119597148A (en) * | 2024-11-18 | 2025-03-11 | 中国农业银行股份有限公司 | A banking system interaction method and device based on hybrid brain-computer interface |
-
2017
- 2017-07-18 CN CN201710587171.2A patent/CN107411935A/en active Pending
Cited By (24)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108415565A (en) * | 2018-02-25 | 2018-08-17 | 西北工业大学 | The machine integrated intelligent control method of unmanned plane brain and technology |
| CN108743225A (en) * | 2018-06-07 | 2018-11-06 | 郑州大学 | A kind of twin-stage push-down software hand intelligence control system |
| CN108904163A (en) * | 2018-06-22 | 2018-11-30 | 北京信息科技大学 | wheelchair control method and system |
| CN109044724A (en) * | 2018-07-06 | 2018-12-21 | 北京京成兴华医疗科技有限公司 | Hand function training and auxiliary system |
| CN109044724B (en) * | 2018-07-06 | 2021-03-02 | 北京京成兴华医疗科技有限公司 | Hand function training and assisting system |
| CN109223430A (en) * | 2018-07-23 | 2019-01-18 | 上海交通大学 | Wearable software restoring gloves and its control method, system |
| CN109284004A (en) * | 2018-10-29 | 2019-01-29 | 中国矿业大学 | An intelligent nursing system based on brain-computer interface |
| CN109284004B (en) * | 2018-10-29 | 2022-01-04 | 中国矿业大学 | Intelligent nursing system based on brain-computer interface |
| CN109481236A (en) * | 2018-12-27 | 2019-03-19 | 西安交通大学 | The rigid flexible system exoskeleton hand functional rehabilitation device of flexible material 3D printing manufacture |
| CN109646798A (en) * | 2019-02-20 | 2019-04-19 | 浙江强脑科技有限公司 | Brain control formula limbs resume training system and its control method |
| CN110221684A (en) * | 2019-03-01 | 2019-09-10 | Oppo广东移动通信有限公司 | Apparatus control method, system, electronic device and computer readable storage medium |
| CN109976525A (en) * | 2019-03-27 | 2019-07-05 | 上海大学 | A kind of user interface interaction method, apparatus and computer equipment |
| CN110414619A (en) * | 2019-08-05 | 2019-11-05 | 重庆工商职业学院 | An EMG-based Signal Recognition Method |
| CN110414619B (en) * | 2019-08-05 | 2023-04-07 | 重庆工商职业学院 | EMG signal identification method |
| CN112515680B (en) * | 2019-09-19 | 2023-03-31 | 中国科学院半导体研究所 | Wearable brain electrical fatigue monitoring system |
| CN112515680A (en) * | 2019-09-19 | 2021-03-19 | 中国科学院半导体研究所 | Wearable brain electrical fatigue monitoring system |
| CN111820901A (en) * | 2020-06-29 | 2020-10-27 | 西安交通大学 | Gait recognition method based on brain electromyographic signals |
| CN111856958A (en) * | 2020-07-27 | 2020-10-30 | 西北大学 | Smart home control system, control method, computer equipment and storage medium |
| CN114327048A (en) * | 2021-12-07 | 2022-04-12 | 重庆邮电大学 | A method and system for controlling a robotic arm based on EEG signals and EEG signals |
| CN114327048B (en) * | 2021-12-07 | 2024-04-19 | 山东华数信息技术股份有限公司 | Mechanical arm control method and system based on electroencephalogram signals and electrooculogram signals |
| CN115517915A (en) * | 2022-10-20 | 2022-12-27 | 北京软体机器人科技股份有限公司 | Rehabilitation training device |
| CN116549189A (en) * | 2023-03-06 | 2023-08-08 | 江苏科技大学 | A control method of soft prosthetic hand based on electromyographic signal |
| CN119597148A (en) * | 2024-11-18 | 2025-03-11 | 中国农业银行股份有限公司 | A banking system interaction method and device based on hybrid brain-computer interface |
| CN119597148B (en) * | 2024-11-18 | 2025-12-09 | 中国农业银行股份有限公司 | Bank system interaction method and device based on mixed brain-computer interface |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107411935A (en) | A kind of multi-mode brain-computer interface control method for software manipulators in rehabilitation | |
| CN114822761B (en) | Wrist rehabilitation training system based on muscle synergy and variable stiffness impedance control | |
| Birch et al. | Initial on-line evaluations of the LF-ASD brain-computer interface with able-bodied and spinal-cord subjects using imagined voluntary motor potentials | |
| CN104382595B (en) | Upper limb rehabilitation system and method based on myoelectric signal and virtual reality interaction technology | |
| CN101574297B (en) | Rehabilitation system for disabled persons based on virtual reality | |
| CN111150935B (en) | A myoelectric neck massage device and its control method | |
| CN108814597A (en) | A kind of rehabilitation training evaluating method interacted based on motion information with myoelectricity and system | |
| Gordleeva et al. | Exoskeleton control system based on motor-imaginary brain–computer interface | |
| TWI762313B (en) | Immersive and multi-posture rehabilitation training system with active/passive physical coordination | |
| CN115364327B (en) | Hand function training and assessment rehabilitation glove system based on motor imagery | |
| CN104997581B (en) | Artificial hand control method and apparatus for driving EEG signals on the basis of facial expressions | |
| CN114897012A (en) | Intelligent prosthetic arm control method based on vital machine interface | |
| CN113713333B (en) | Dynamic virtual induction method and system for lower limb rehabilitation full training process | |
| WO2014194609A1 (en) | Control method based on electromyographic signal and sensor signal for implementing fine real-time motion | |
| CN110853753A (en) | A home rehabilitation nursing system for the elderly with cognitive dysfunction | |
| US20230256296A1 (en) | Wrist rehabilitation training system based on muscle coordination and variable stiffness impedance control | |
| CN114021604A (en) | A sports imagery training system based on real-time feedback of 3D virtual reality technology | |
| CN116983185A (en) | An upper limb function reconstruction system for stroke patients | |
| KR20230146024A (en) | Functional rehabilitation and/or pain rehabilitation system due to sensorimotor disorders | |
| Tang et al. | Hand rehabilitation exoskeleton system based on EEG spatiotemporal characteristics | |
| CN1803122A (en) | Method for producing rehabilitation exerciser controlling order using imagination movement brain wave | |
| CN117297625A (en) | Rehabilitation training system and method based on brain wave control | |
| JPH0328225B2 (en) | ||
| CN108325077A (en) | A kind of healing hand function system based on virtual reality technology | |
| Pengcheng et al. | Research of VR-BCI and its application in hand soft rehabilitation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171201 |
|
| RJ01 | Rejection of invention patent application after publication |