CN110464349A - A kind of upper extremity exercise function score method based on hidden Semi-Markov Process - Google Patents
A kind of upper extremity exercise function score method based on hidden Semi-Markov Process Download PDFInfo
- Publication number
- CN110464349A CN110464349A CN201910813637.5A CN201910813637A CN110464349A CN 110464349 A CN110464349 A CN 110464349A CN 201910813637 A CN201910813637 A CN 201910813637A CN 110464349 A CN110464349 A CN 110464349A
- Authority
- CN
- China
- Prior art keywords
- patient
- movement
- limb
- motor function
- assessment
- 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
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Measuring devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor or mobility of a limb
- A61B5/1118—Determining activity level
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/389—Electromyography [EMG]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6801—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
- A61B5/6802—Sensor mounted on worn items
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Veterinary Medicine (AREA)
- Public Health (AREA)
- Animal Behavior & Ethology (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Surgery (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Physiology (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Dentistry (AREA)
- Signal Processing (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Psychiatry (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明公开了一种基于隐半马尔科夫模型的上肢运动功能评分方法,包括步骤:(1)选取标准运动功能评估动作;(2)采集患者健侧上肢执行运动功能评估动作的上肢位姿与肌电数据集;(3)训练适用于运动功能评估的隐半马尔科夫模型;(4)利用(3)中的模型进行运动功能评估。本发明能够对脑卒中偏瘫患者的上肢运动功能恢复程度进行评估,在一定程度上取代康复治疗医师利用运动功能评估量表进行经验性评估的方法,从而降低康复治疗医师工作强度,辅助治疗医师工作,提高医师工作效率的目的。
The invention discloses an upper limb motor function scoring method based on a hidden semi-Markov model, which comprises the steps of: (1) selecting a standard motor function evaluation action; (2) collecting the upper limb pose and posture of the unaffected upper limb of the patient performing the motor function evaluation action and EMG data sets; (3) training a hidden semi-Markov model suitable for motor function assessment; (4) using the model in (3) for motor function assessment. The invention can evaluate the recovery degree of upper limb motor function of stroke patients with hemiplegia, and to a certain extent replace the method of empirical evaluation by rehabilitation physicians using the motor function evaluation scale, thereby reducing the work intensity of rehabilitation physicians and assisting physicians in their work. , to improve the efficiency of physicians.
Description
技术领域technical field
本发明属于康复医学领域,尤其涉及一种基于隐半马尔科夫模型的上肢运动功能评分方法。The invention belongs to the field of rehabilitation medicine, in particular to an upper limb motor function scoring method based on a hidden semi-Markov model.
背景技术Background technique
脑卒中病人往往上肢运动功能存在缺陷,临床表现为肌肉或肢体软瘫、痉挛以及运动迟缓等偏瘫症状。受社会中康复治疗资源紧缺的现状,大量的脑卒中致残患者得不到及时与有效的康复治疗。与此同时治疗成本居高不下。因此,使用合适的计算机方法在一定程度上替代治疗医师对偏瘫患者的运动功能恢复状况进行有效地评估具有重要意义。Stroke patients often have defects in the motor function of the upper limbs, and the clinical manifestations are hemiplegia symptoms such as muscle or limb flaccidity, spasticity, and slow movement. Due to the shortage of rehabilitation treatment resources in society, a large number of stroke disabled patients cannot receive timely and effective rehabilitation treatment. At the same time, treatment costs remain high. Therefore, it is of great significance to use appropriate computer methods to replace the therapist to effectively evaluate the motor function recovery status of hemiplegic patients to a certain extent.
临床康复医学中常用于肢体运动功能评估的方法有Brunnstrom量表与Fugel-Meyer量表等。Brunnstrom量表将上肢运动功能的恢复程度根据肌张力与运动能力进行阶段性划分,划分为6个阶段,第1阶段患者的肌张力水平近乎为零完全软瘫,无反应或反应极迟缓,无任何运动能力;第2阶段患者出现痉挛,联合反应,患肢肌肉可轻微收缩,但关节无法运动;第3阶段患者肌肉痉挛程度剧烈,可发起共同运动、代偿运动;第4阶段患者肌肉痉挛开始减弱,患肢可作脱离共同运动、分离运动;第5阶段患者痉挛程度进一步减弱,分离运动能力增强;第6阶段患者患肢基本康复,接近正常水平,但较健侧运动灵活性稍弱。Fugel-Meyer量表是由AxelFugel-Meyer及其同事提出的一种偏瘫患者的运动恢复的标准化评估测试方法。它与Brunnstrom量表一起广泛用于运动功能的临床评估。Fugl-Meyer评估量表,发现具有出色的一致性,响应性和良好的准确性。Methods commonly used in clinical rehabilitation medicine to assess limb motor function include the Brunnstrom scale and the Fugel-Meyer scale. The Brunnstrom Scale divides the recovery of upper limb motor function in stages according to muscle tension and exercise ability, and divides it into 6 stages. In the first stage, the muscle tension level of patients is almost zero, complete flaccid paralysis, no response or extremely slow response, no Any exercise ability; in the second stage, the patient has spasm, combined reaction, the muscles of the affected limb can contract slightly, but the joint cannot move; in the third stage, the muscle spasm is severe, and joint movement and compensatory movement can be initiated; in the fourth stage, the muscle spasm At the beginning of the weakening, the affected limb can move away from common movement and separate movement; in the fifth stage, the degree of spasticity of the patient is further weakened, and the ability of separation movement is enhanced; in the sixth stage, the patient's affected limb basically recovers, close to the normal level, but the movement flexibility is slightly weaker than that of the healthy side . The Fugel-Meyer scale is a standardized assessment test for motor recovery in hemiplegic patients proposed by Axel Fugel-Meyer and colleagues. It is widely used together with the Brunnstrom scale for the clinical assessment of motor function. The Fugl-Meyer assessment scale was found to have excellent consistency, responsiveness and good accuracy.
隐半马尔科夫模型(HSMM),是隐马尔可夫模型(HMM)的一种扩展模型。相比较隐马尔可夫模型,隐半马尔可夫模型进一步考虑了状态驻留概率分布,在隐马尔可夫模型的基础上加入驻留时间,在解决现实问题中隐半马尔科夫模型有更好的建模能力和评估分析能力。隐半马尔科夫模型λ由参数(N,M,π,A,B,P)描述,其中N是隐状态数,M为观测序列长度,初始状态概率分布矢量π,状态转移概率矩阵A,状态驻留时间分布矩阵P,观察值概率矩阵B。隐半马尔科夫模型可写作λ=(N,M,π,A,B,P)。Hidden Semi-Markov Model (HSMM) is an extended model of Hidden Markov Model (HMM). Compared with the hidden Markov model, the hidden semi-Markov model further considers the state residence probability distribution, and adds the residence time on the basis of the hidden Markov model. The hidden semi-Markov model has more advantages in solving practical problems. Good modeling ability and evaluation analysis ability. The hidden semi-Markov model λ is described by parameters (N, M, π, A, B, P), where N is the number of hidden states, M is the length of the observation sequence, the initial state probability distribution vector π, the state transition probability matrix A, State residence time distribution matrix P, observation value probability matrix B. The hidden semi-Markov model can be written as λ=(N,M,π,A,B,P).
发明内容Contents of the invention
发明目的:针对以上问题,提出来一种基于隐半马尔科夫模型的上肢运动功能评分方法Purpose of the invention: Aiming at the above problems, a method for scoring upper limb motor function based on hidden semi-Markov model is proposed
为实现本发明的目的,本发明所采用的技术方案是:其具体步骤如下:For realizing the purpose of the present invention, the technical solution adopted in the present invention is: its concrete steps are as follows:
(1)、规划标准上肢运动功能评估动作;(1) Planning standard upper limb motor function evaluation actions;
(2)、利用患者健肢采集标准上肢运动功能评估动作的上肢位姿与肌电数据集;(2) Using the healthy limb of the patient to collect the upper limb pose and EMG data set of the standard upper limb motor function evaluation action;
(3)、利用上肢位姿与肌电数据集训练适用于运动功能评估的隐半马尔科夫模型;(3) Using upper limb pose and EMG data sets to train a hidden semi-Markov model suitable for motor function assessment;
(4)、采集患者患肢执行标准运动功能评估动作的上肢位姿与肌电数据;(4) Collect the upper limb posture and myoelectric data of the patient's affected limb performing standard motor function evaluation actions;
(5)、利用前向后向算法结合步骤(3)中所述模型得到步骤(4)中数据的似然概率值;(5), utilize forward-to-backward algorithm in combination with the model described in step (3) to obtain the likelihood probability value of data in step (4);
(6)、根据FMA计算患者健侧上肢运动功能评分;(6), according to FMA calculation patient's uninjured side upper limb motor function score;
(7)、根据步骤(6)与步骤(5),计算患者患侧上肢运动功能评分。(7) According to step (6) and step (5), calculate the motor function score of the upper limb of the affected side of the patient.
进一步地,所述步骤(1)具体包括:Further, the step (1) specifically includes:
患者腰挺直端坐,手臂自然下垂;The patient sits with the waist straight and the arms hang down naturally;
(1.1)、初始姿势为手掌心置于异侧下肢膝盖上,随后肘关节缓慢屈曲,肩关节缓慢抬升、外展,直至手触摸到同侧耳朵;(1.1), the initial posture is to place the palm of the hand on the knee of the lower limb on the opposite side, then slowly bend the elbow joint, and slowly lift and abduct the shoulder joint until the hand touches the ear on the same side;
(1.2)、初始姿势为手掌心置于同侧下肢膝盖上,随后作手背触及腰骶部运动;(1.2), the initial posture is to place the palm of the hand on the knee of the lower limb on the same side, and then perform the movement of touching the back of the hand to the lumbosacral region;
(1.3)、初始姿势为手臂自然下垂,肩关节作外展90度动作,同时肘关节保持伸展状态;(1.3), the initial posture is that the arms are naturally drooping, the shoulder joints are abducted 90 degrees, and the elbow joints are kept in a stretched state;
(1.4)、初始姿势为手臂自然下垂,肘关节缓慢屈曲至90度与地面水平后,小臂作旋前90度,旋后90度动作;(1.4), the initial posture is that the arm is naturally drooping, the elbow joint is slowly flexed to 90 degrees and the ground level, and the forearm is pronated 90 degrees and supinated 90 degrees;
(1.5)、初始姿势为手臂自然下垂,肩关节缓慢向前伸展90度至手臂与地面水平,同时肘关节保持伸展状态;(1.5), the initial posture is that the arms are naturally drooping, the shoulder joints are slowly stretched forward 90 degrees to the level of the arms and the ground, and the elbow joints are kept extended;
(1.6)、初始姿势为手臂自然下垂,肩关节缓慢向前伸展45度,同时肘关节保持伸展状态,手掌完全展开,大臂作旋前90度,旋后90度动作;(1.6), the initial posture is that the arms are naturally drooping, the shoulder joints are slowly stretched forward 45 degrees, while the elbow joints are kept stretched, the palms are fully extended, and the upper arms are pronated 90 degrees and supinated 90 degrees;
(1.7)、初始姿势为手臂下垂,手掌完全展开且掌心朝前,大臂向前抬起同时肘关节屈伸至手掌内侧触及同侧耳朵动作;(1.7) The initial posture is that the arms are drooping, the palms are fully extended and the palms are facing forward, the upper arms are raised forward while the elbow joints are flexed and stretched to the inside of the palms to touch the ears on the same side;
(1.8)、初始姿势为手臂下垂,大臂向前抬起至180度举过头顶运动,同时肘关节保持伸展状态。(1.8) The initial posture is that the arms are drooping, and the upper arms are lifted forward to 180 degrees above the head, while the elbow joints are kept in a stretched state.
进一步地,所述步骤(2)中:采集患者健侧上肢的大臂与小臂执行标准评估运动时的姿态与关联肌肉的表面肌电幅值信号;具体包括:Further, in the step (2): collecting the posture and the surface electromyography amplitude signal of the associated muscles when the upper arm and the forearm of the patient's healthy side upper limb perform standard assessment exercises; specifically include:
(2.1)、于健侧上肢大臂与小臂分别安装姿态测量传感器;(2.1), install attitude measurement sensors on the upper arm and forearm of the healthy side respectively;
(2.2)、于健侧上肢运动关联肌肉上安装表面肌电传感器数个;(2.2), several surface electromyography sensors are installed on the uninjured upper limb movement-related muscles;
(2.3)、患者健肢依照步骤(1)中所有标准评估运动动作分别执行,采集并记录执行运动过程中肢体的姿态数据与表面肌电幅值数据;(2.3), the healthy limbs of the patient are evaluated according to all the standards in step (1), and the movement actions are respectively performed, and the posture data and surface EMG amplitude data of the limbs during the movement are collected and recorded;
(2.4)、重复(2.3)步骤多次,采集多组数据以增强模型鲁棒性。(2.4), repeat the step (2.3) multiple times, and collect multiple sets of data to enhance the robustness of the model.
进一步地,所述步骤(3)具体包括:Further, the step (3) specifically includes:
(3.1)、加窗提取表面肌电原始信号特征;(3.1), adding window to extract the original signal features of surface electromyography;
(3.2)、将每次采集的姿态数据与肌电特征数据组合,组成观测矩阵;(3.2), the attitude data collected each time is combined with the myoelectric feature data to form an observation matrix;
(3.3)、对齐多组观测矩阵数据,组成观测矩阵集,保证观测矩阵集中每组矩阵行列一致;(3.3), aligning multiple groups of observation matrix data to form an observation matrix set, ensuring that the rows and columns of each group of matrix in the observation matrix set are consistent;
(3.4)、利用观测矩阵集结合EM算法或Baum-Welch算法训练隐半马尔科夫模型,得到适用于患者运动功能评估的单个动作隐半马尔科夫模型;(3.4), using the observation matrix set combined with the EM algorithm or the Baum-Welch algorithm to train the hidden semi-Markov model, and obtain a single action hidden semi-Markov model suitable for the patient's motor function assessment;
(3.5)对于多个不同的动作,利用动作对应的观测矩阵集,重复步骤(3.4)即可。(3.5) For multiple different actions, use the observation matrix set corresponding to the action and repeat step (3.4).
进一步地,所述步骤(4)为采集患者患肢执行标准运动功能评估动作的上肢位姿与肌电数据,具体包括:Further, the step (4) is to collect the upper limb posture and myoelectric data of the patient's affected limb performing standard motor function evaluation actions, specifically including:
(4.1)、于患侧上肢大臂与小臂分别安装姿态测量传感器;(4.1), install attitude measurement sensors on the upper arm and forearm of the affected side respectively;
(4.2)、于患侧上肢运动关联肌肉上安装表面肌电传感器数个;(4.2), several surface electromyographic sensors are installed on the movement-related muscles of the upper limb of the affected side;
(4.3)、患者患肢依照步骤(1)中所有标准评估运动动作分别执行,采集并记录执行运动过程中肢体的姿态数据与表面肌电幅值数据;(4.3), the affected limbs of the patient are evaluated according to all the standards in step (1), and the movement actions are respectively performed, and the posture data and surface EMG amplitude data of the limbs during the movement are collected and recorded;
(4.4)、将采集的患肢姿态数据与肌电特征数据组合,组成每个标准评估动作的观测矩阵。(4.4) Combining the collected limb posture data and myoelectric feature data to form an observation matrix for each standard evaluation action.
进一步地,所述步骤(5)根据步骤(3)中所述模型,利用前向-后向算法计算步骤(4)中患侧上肢运动功能数据相对健侧上肢运动功能数据的似然概率数值为:利用所述的适用于运动功能评估的隐半马尔科夫模型,以及由患肢执行所述上肢运动功能评估动作的姿态与肌电数据组成的观测矩阵,结合前向-后向算法,得到患侧上肢运动功能数据相对健侧上肢运动功能数据的似然概率数值,其包括:Further, the step (5) uses the forward-backward algorithm to calculate the likelihood probability value of the motor function data of the upper limb of the affected side relative to the motor function data of the upper limb of the healthy side in step (4) according to the model described in the step (3). It is: using the hidden semi-Markov model suitable for motor function evaluation, and an observation matrix composed of posture and myoelectric data of the upper limb motor function evaluation action performed by the affected limb, combined with a forward-backward algorithm, Obtain the likelihood probability value of the upper limb motor function data of the affected side relative to the upper limb motor function data of the healthy side, which includes:
(5.1)、利用步骤(3)中得到的具体模型λ=(N,M,π,A,B,P)作为前向-后向算法的参数,利用步骤(4)中采集的每组标准评估动作观测矩阵作为前向-后向算法的当前观测值,输出前向-后向算法的结果,即当前观测值的似然概率值;(5.1), using the specific model λ=(N, M, π, A, B, P) obtained in step (3) as the parameters of the forward-backward algorithm, using each group of standards collected in step (4) Evaluate the action observation matrix as the current observation value of the forward-backward algorithm, and output the result of the forward-backward algorithm, that is, the likelihood probability value of the current observation value;
(5.2)、对每组动作均采用(5.1)所述方法求得其似然概率值。(5.2), all adopt (5.1) described method to obtain its likelihood probability value to each group of actions.
进一步地,所述步骤(6)根据FMA计算患者健侧上肢运动功能评分为:治疗医师审查患者健侧上肢执行所述的运动功能评估动作的记录录像带并填写李克特问卷调查,来评估患者健侧上肢执行所述的运动功能评估动作期间的表现,并运用FMA计算健肢运动功能评分:Further, the step (6) calculates the motor function score of the healthy side upper limb of the patient according to the FMA: the treating physician reviews the recorded video tape of the patient's healthy side upper limb performing the described motor function evaluation action and fills in a Likert questionnaire to evaluate the patient The uninjured upper limb performed the performance during the motor function evaluation described above, and the FMA was used to calculate the motor function score of the uninjured limb:
(6.1)、采集健侧上肢分别执行各标准评估动作运动姿态与关联肌肉肌电数据;(6.1), collecting the upper limbs of the healthy side to perform each standard evaluation action movement posture and associated muscle electromyographic data;
(6.2)、利用步骤(4.4)方法,得到单一动作的观测矩阵;(6.2), utilize step (4.4) method, obtain the observation matrix of single action;
(6.3)、利用前向-后向算法结合步骤(3)中训练完毕的模型输出健侧上肢运动的似然概率值作为最大似然概率值;(6.3), using the forward-backward algorithm in combination with the trained model in step (3) to output the likelihood probability value of the uninjured upper limb movement as the maximum likelihood probability value;
(6.4)、利用步骤(5.2)方法得出的似然概率值与步骤(6.3)中得到的最大似然概率值求取满分为100分,最低0分的评估运动得分;(6.4), utilize the likelihood probability value that step (5.2) method draws and the maximum likelihood probability value that obtains in step (6.3) to ask for full marks 100 points, the lowest evaluation sports score of 0 points;
(6.5)、对于多个不同的评估动作,重复步骤(6.1)~(6.4)即可得到每个评估动作的评估得分。(6.5). For a plurality of different evaluation actions, the evaluation score of each evaluation action can be obtained by repeating steps (6.1) to (6.4).
所述步骤(7)利用步骤(6)与步骤(5),计算患者患侧上肢运动功能评分为:首先,对同一康复评估动作,根据步骤(5),计算所有患者患侧上肢运动功能数据相对于健侧上肢运动功能数据的似然概率数值,并通过归一化处理,获取到每位患者患侧对具体每个康复评估动作的归一化似然概率数值;其次,根据步骤(6)患者健侧评分,获取患者健侧对每个康复评估动作的最高与最低评分;最后,利用归一化处理得到的似然概率数值及患者健侧对每个康复评估动作的最高与最低评分,获取到患者患侧对康复评估动作的运动功能评分。The step (7) uses step (6) and step (5) to calculate the motor function score of the affected upper limb of the patient as follows: first, for the same rehabilitation evaluation action, according to step (5), calculate the motor function data of the affected upper limb of all patients Relative to the likelihood probability value of the upper limb motor function data of the healthy side, and through normalization processing, the normalized likelihood probability value of each patient's affected side for each specific rehabilitation evaluation action is obtained; secondly, according to the steps (6 ) score of the healthy side of the patient, to obtain the highest and lowest scores of the healthy side of the patient for each rehabilitation assessment action; finally, the likelihood probability value obtained by normalization and the highest and lowest scores of the healthy side of the patient for each rehabilitation assessment action , to obtain the motor function score of the affected side of the patient on the rehabilitation evaluation action.
本发明的有益效果:本发明能够对脑卒中偏瘫患者的上肢运动功能恢复程度进行评估,在一定程度上取代康复治疗医师利用运动功能评估量表进行经验性评估的方法,从而降低康复治疗医师工作强度,辅助治疗医师工作,提高医师工作效率的目的。Beneficial effects of the present invention: the present invention can evaluate the degree of recovery of the motor function of the upper limbs of stroke hemiplegia patients, and to a certain extent replace the method of empirical evaluation by rehabilitation physicians using the motor function evaluation scale, thereby reducing the workload of rehabilitation physicians. Intensity, assisting the work of the treating physician, and improving the efficiency of the physician's work.
附图说明Description of drawings
图1是本发明的实施流程框图;Fig. 1 is the block diagram of implementation process of the present invention;
图2是本发明中上肢运动姿态采集方案图;Fig. 2 is a scheme diagram of acquisition of upper limb motion posture in the present invention;
图3是本发明中上肢运动关联肌肉表面肌电传感器安装方案图。Fig. 3 is an installation plan diagram of the surface electromyography sensor of the muscle associated with upper limb movement in the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明的技术方案作进一步的说明。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
首先选取涉及到上肢肩关节、肘关节运动功能的8个标准评估动作,其次于患者的健肢安装姿态传感器与表面肌电传感器,指导患者按照8个标准评估动作分别执行,姿态传感器与表面肌电传感器分别记录运动时的生理数据,为保证系统鲁棒性,每个标准评估动作重复执行多次,采集多组运动生理数据;随后提取于健肢运动时姿态传感器与表面肌电传感器的数据特征值,组成观测矩阵集,利用EM算法或Baum-Welch算法训练隐半马尔科夫模型;再次采集于患者的患肢安装姿态传感器与表面肌电传感器,指导患者按照5个标准评估动作分别执行,姿态传感器与表面肌电传感器分别记录运动时的生理数据,提取于患肢运动时姿态传感器与表面肌电传感器的数据特征值,组成观测矩阵;最后利用前向-后向算法与训练完毕的隐半马尔科夫模型输出基于患肢观测矩阵的似然概率值,计算评估运动得分。First, select 8 standard evaluation actions involving the upper limb shoulder joint and elbow joint movement function, and then install posture sensors and surface electromyography sensors on the healthy limbs of the patient, and guide the patients to perform the 8 standard evaluation actions respectively. The electrical sensors record the physiological data during exercise. In order to ensure the robustness of the system, each standard evaluation action is repeated multiple times to collect multiple sets of exercise physiological data; then the data of the posture sensor and the surface electromyography sensor are extracted during the exercise of the healthy limb. The eigenvalues are used to form an observation matrix set, and the hidden semi-Markov model is trained using the EM algorithm or the Baum-Welch algorithm; the posture sensor and the surface electromyography sensor are installed on the affected limb of the patient again, and the patient is guided to perform the evaluation actions according to the five standards , the attitude sensor and the surface electromyography sensor respectively record the physiological data during exercise, and extract the data feature values of the attitude sensor and the surface electromyography sensor during the movement of the affected limb to form an observation matrix; finally, use the forward-backward algorithm and the trained The hidden semi-Markov model outputs the likelihood probability value based on the observation matrix of the affected limb, and calculates the assessment movement score.
如图1所示,1、一种基于隐半马尔科夫模型的上肢运动功能评分方法,包括以下步骤:As shown in Figure 1, 1, a kind of upper limb motor function scoring method based on hidden semi-Markov model, comprises the following steps:
(1)、规划上肢运动功能评估动作;(1) Planning the upper limb motor function assessment action;
(2)、根据上肢运动功能评估动作,采集患者健侧上肢位姿与肌电数据;(2) According to the upper limb motor function evaluation action, collect the posture and EMG data of the healthy side of the patient's upper limb;
(3)、利用患者健侧上肢位姿与肌电数据集训练适用于运动功能评估的隐半马尔科夫模型;(3) Use the uninjured upper limb pose and EMG dataset to train a hidden semi-Markov model suitable for motor function assessment;
(4)、采集患者患侧上肢执行运动功能评估动作的位姿与肌电数据;(4) Collect the posture and myoelectric data of the patient's affected upper limb performing motor function evaluation actions;
(5)、根据步骤(3)中所述模型,利用前向-后向算法计算步骤(4)中患侧上肢运动功能数据相对健侧上肢运动功能数据的似然概率数值;(5), according to the model described in step (3), utilize the forward-backward algorithm to calculate the likelihood probability value of the motor function data of the affected upper limb relative to the upper limb motor function data of the healthy side in the step (4);
(6)、根据FMA计算患者健侧上肢运动功能评分;(6), according to FMA calculation patient's uninjured side upper limb motor function score;
(7)、根据步骤(6)与步骤(5),计算患者患侧上肢运动功能评分。(7) According to step (6) and step (5), calculate the motor function score of the upper limb of the affected side of the patient.
所述步骤(1)上肢运动功能评估动作由如下评估动作组成:The step (1) upper limb motor function evaluation action consists of the following evaluation actions:
(2.1)、小臂旋前旋后运动;(2.1), forearm pronation and supination movement;
(2.2)、屈肌共同运动;(2.2), joint movement of flexor muscles;
(2.3)、手触腰椎运动;(2.3), touch the lumbar spine movement;
(2.4)、肩关节屈曲90°运动;(2.4), shoulder flexion 90° movement;
(2.5)、大臂旋前旋后运动;(2.5), arm pronation and supination movement;
(2.6)、肩关节外展90°运动;(2.6), 90° movement of shoulder joint abduction;
(2.7)、肩关节屈曲90°-180°运动;(2.7), shoulder flexion 90°-180° movement;
(2.8)、肩关节屈曲直至上肢手掌触摸同侧耳朵运动。(2.8), flex the shoulder joint until the palm of the upper limb touches the ear on the same side.
所述步骤(2)根据上肢运动功能评估动作,采集患者健侧上肢位姿与肌电数据为:将姿态传感器安装于健侧上肢的大臂与小臂上,采集患者在执行所述上肢运动功能评估动作时肢体的运动姿态;将表面肌电传感器安装于与运动相关联的肌肉群上,采集患肢在执行所述上肢运动功能评估动作时的表面肌电信号;为保证系统鲁棒性,同一组上肢运动评估动作的位姿与肌电数据可采集数次。The step (2) is to evaluate the action according to the upper limb motor function, and collect the pose and EMG data of the healthy side of the patient's upper limb as follows: install the attitude sensor on the upper arm and forearm of the healthy side of the upper limb, and collect the data of the patient performing the upper limb movement. The movement posture of the limbs during the function evaluation action; the surface electromyography sensor is installed on the muscle group associated with the movement, and the surface electromyography signal of the affected limb is collected when performing the upper limb motor function evaluation action; in order to ensure the robustness of the system , the posture and EMG data of the same group of upper limb movement evaluation actions can be collected several times.
所述步骤(3)利用患者健侧上肢位姿与肌电数据集训练适用于运动功能评估的隐半马尔科夫模型包括:对上肢运动功能评估动作,运用采集到的患者健肢运动姿态与表面肌电数据,构建多维隐半马尔科夫模型显状态观测矩阵;对显状态观测矩阵,运用EM算法或Baum-Welch算法,训练得到适用于单个评估动作的隐半马尔科夫模型。The step (3) utilizes the posture and posture of the patient's healthy upper limb and the EMG data set to train the hidden semi-Markov model suitable for motor function evaluation, including: evaluating the movement of the upper limb motor function, using the collected patient's healthy limb motion posture and Using the surface EMG data, construct a multi-dimensional hidden semi-Markov model explicit state observation matrix; for the explicit state observation matrix, use EM algorithm or Baum-Welch algorithm to train a hidden semi-Markov model suitable for a single evaluation action.
所述步骤(4)采集患者患侧上肢执行运动功能评估动作的位姿与肌电数据为:将姿态传感器安装于患者患肢的大臂与小臂上,采集患肢在执行所述的上肢运动评估动作时的运动姿态角度;将表面肌电传感器安装于与评估运动相关联的患肢上的肌肉群,采集在执行所述的上肢运动评估动作时患肢的表面肌电信号。The step (4) collecting the pose and myoelectric data of the patient's affected upper limb performing the motor function evaluation action is as follows: the posture sensor is installed on the upper arm and the forearm of the patient's affected limb, and the affected limb is collected while performing the upper limb The movement posture angle during the movement assessment action; the surface electromyography sensor is installed on the muscle group of the affected limb associated with the movement assessment, and the surface electromyography signal of the affected limb is collected when performing the upper limb movement assessment action.
所述步骤(5)根据步骤(3)中所述模型,利用前向-后向算法计算步骤(4)中患侧上肢运动功能数据相对健侧上肢运动功能数据的似然概率数值为:利用所述的适用于运动功能评估的隐半马尔科夫模型,以及由患肢执行所述上肢运动功能评估动作的姿态与肌电数据组成的观测矩阵,结合前向-后向算法,得到患侧上肢运动功能数据相对健侧上肢运动功能数据的似然概率数值。According to the model described in step (3), the step (5) uses the forward-backward algorithm to calculate the likelihood value of the upper limb motor function data of the affected side relative to the upper limb motor function data of the healthy side in step (4): using The hidden semi-Markov model suitable for motor function evaluation, and the observation matrix composed of posture and myoelectric data of the affected limb performing the upper limb motor function evaluation action, combined with the forward-backward algorithm, obtain the affected side The likelihood probability value of upper limb motor function data relative to uninjured upper limb motor function data.
所述步骤(6)根据FMA计算患者健侧上肢运动功能评分为:治疗医师审查患者健侧上肢执行所述的运动功能评估动作的记录录像带并填写李克特问卷调查,来评估患者健侧上肢执行所述的运动功能评估动作期间的表现,并运用FMA计算健肢运动功能评分。The step (6) calculates the motor function score of the patient's healthy side upper limb according to the FMA: the treating physician reviews the recording videotape of the patient's healthy side upper limb performing the described motor function evaluation action and fills in a Likert questionnaire to evaluate the patient's healthy side upper limb Performance during the motor function assessment was performed as described, and the FMA was used to calculate the motor function score of the healthy limb.
所述步骤(7)利用步骤(6)与步骤(5),计算患者患侧上肢运动功能评分为:首先,对同一康复评估动作,根据步骤(5),计算所有患者患侧上肢运动功能数据相对于健侧上肢运动功能数据的似然概率数值,并通过归一化处理,获取到每位患者患侧对具体每个康复评估动作的归一化似然概率数值;其次,根据步骤(6)患者健侧评分,获取患者健侧对每个康复评估动作的最高与最低评分;最后,利用归一化处理得到的似然概率数值及患者健侧对每个康复评估动作的最高与最低评分,获取到患者患侧对康复评估动作的运动功能评分。The step (7) uses step (6) and step (5) to calculate the motor function score of the affected upper limb of the patient as follows: first, for the same rehabilitation evaluation action, according to step (5), calculate the motor function data of the affected upper limb of all patients Relative to the likelihood probability value of the upper limb motor function data of the healthy side, and through normalization processing, the normalized likelihood probability value of each patient's affected side for each specific rehabilitation evaluation action is obtained; secondly, according to the steps (6 ) score of the healthy side of the patient, to obtain the highest and lowest scores of the healthy side of the patient for each rehabilitation assessment action; finally, the likelihood probability value obtained by normalization and the highest and lowest scores of the healthy side of the patient for each rehabilitation assessment action , to obtain the motor function score of the affected side of the patient on the rehabilitation evaluation action.
具体的本发明的操作包括下述步骤:Concrete operation of the present invention comprises the following steps:
(1)、标准运动功能评估动作选取:(1) Selection of standard motor function assessment actions:
(1.1)初始姿势为手掌心置于异侧下肢膝盖上,随后肘关节缓慢屈曲,肩关节缓慢抬升、外展,直至手触摸到同侧耳朵;(1.1) The initial posture is to place the palm of the hand on the knee of the lower limb on the opposite side, then slowly bend the elbow joint, and slowly lift and abduct the shoulder joint until the hand touches the ear on the same side;
(1.2)、初始姿势为手掌心置于同侧下肢膝盖上,随后作手背触及腰骶部运动;(1.2), the initial posture is to place the palm of the hand on the knee of the lower limb on the same side, and then perform the movement of touching the back of the hand to the lumbosacral region;
(1.3)、初始姿势为手臂自然下垂,肩关节作外展90度动作,同时肘关节保持伸展状态;(1.3), the initial posture is that the arms are naturally drooping, the shoulder joints are abducted 90 degrees, and the elbow joints are kept in a stretched state;
(1.4)、初始姿势为手臂自然下垂,肘关节缓慢屈曲至90度与地面水平后,小臂作旋前90度,旋后90度动作;(1.4), the initial posture is that the arm is naturally drooping, the elbow joint is slowly flexed to 90 degrees and the ground level, and the forearm is pronated 90 degrees and supinated 90 degrees;
(1.5)、初始姿势为手臂自然下垂,肩关节缓慢向前伸展90度至手臂与地面水平,同时肘关节保持伸展状态;(1.5), the initial posture is that the arms are naturally drooping, the shoulder joints are slowly stretched forward 90 degrees to the level of the arms and the ground, and the elbow joints are kept extended;
(1.6)、初始姿势为手臂自然下垂,肩关节缓慢向前伸展45度,同时肘关节保持伸展状态,手掌完全展开,大臂作旋前90度,旋后90度动作;(1.6), the initial posture is that the arms are naturally drooping, the shoulder joints are slowly stretched forward 45 degrees, while the elbow joints are kept stretched, the palms are fully extended, and the upper arms are pronated 90 degrees and supinated 90 degrees;
(1.7)、初始姿势为手臂下垂,手掌完全展开且掌心朝前,大臂向前抬起同时肘关节屈伸至手掌内侧触及同侧耳朵动作;(1.7) The initial posture is that the arms are drooping, the palms are fully extended and the palms are facing forward, the upper arms are raised forward while the elbow joints are flexed and stretched to the inside of the palms to touch the ears on the same side;
(1.8)、初始姿势为手臂下垂,大臂向前抬起至180度举过头顶运动,同时肘关节保持伸展状态。(1.8) The initial posture is that the arms are drooping, and the upper arms are lifted forward to 180 degrees above the head, while the elbow joints are kept in a stretched state.
(2)、偏瘫患者上肢健侧标准运动数据采集:(2) Collection of standard exercise data on the healthy side of the upper limbs of hemiplegic patients:
(2.1)、保持患者健侧上肢处于自然下垂状态;(2.1) Keep the patient's healthy upper limb in a natural drooping state;
(2.2)、安装姿态传感器两只,分别于大臂与小臂上;(2.2), install two attitude sensors, respectively on the upper arm and the forearm;
(2.3)、安装5只表面肌电传感器,于运动关联5块肌肉:肱二头肌、三角肌、三角肌-肩胛骨、旋前肌群、旋后肌群表面各安装1只;(2.3), install 5 surface electromyographic sensors, and install 1 sensor on the surface of 5 muscles related to exercise: biceps brachii, deltoid, deltoid-scapula, pronator, and supinator;
(2.4)、初始化、清零传感器;(2.4), initialize and clear the sensor;
(2.5)、指导患者运用健侧上肢分别执行步骤(1)中所述8个标准运动评估动作,姿态传感器与表面肌电传感器分别采集运动姿态数据与肌电原始幅值数据;(2.5), instructing the patient to perform the 8 standard motion evaluation actions described in step (1) respectively using the upper limb of the healthy side, and the posture sensor and the surface myoelectric sensor collect the motion posture data and the original amplitude data of the myoelectricity respectively;
(2.6)、重复依次执行(2.4)、(2.5)步骤共K次,采集记录K组不同标准运动评估动作的数据。(2.6), repeat the steps (2.4) and (2.5) for a total of K times in sequence, and collect and record the data of K groups of different standard motion evaluation actions.
(3)、构建适用于患者运动评估的隐半马尔科夫模型:(3) Construct a hidden semi-Markov model suitable for patient motion assessment:
(3.1)、对步骤(2.5)中采集的每组每个肌电原始幅值数据分别进行加窗求特征值,得到特征值序列,取合适的窗口滑动值以保证所求得的各特征值序列长度与姿态角数据序列长度保持一致;(3.1), each group of each group of each myoelectric original amplitude value data collected in step (2.5) is carried out to add window respectively to seek eigenvalue, obtains eigenvalue sequence, gets suitable window sliding value to guarantee each eigenvalue obtained The sequence length is consistent with the attitude angle data sequence length;
(a)、特别地,对于每组每个肌电原始幅值数据提取均值、均方根值、一阶差分标准差、方差、一阶差分均值、平均功率频率、标准差、过零点数、绝对值斜率、积分肌电值、一阶差分中值、中值频率共12种特征值序列。组成单个原始肌电信号的特征值矩阵OkEi(mk×12),其中k是采集次数,1≤k≤K,i是运动关联肌肉的序号1≤i≤4,mk是第k次采集的序列长度;(a), in particular, extract the mean value, root mean square value, first-order difference standard deviation, variance, first-order difference mean value, average power frequency, standard deviation, zero-crossing points for each group of each myoelectric raw amplitude data, There are 12 eigenvalue sequences including absolute value slope, integral EMG value, first-order difference median value, and median frequency. The eigenvalue matrix O kEi (m k × 12) of a single original EMG signal, where k is the number of acquisitions, 1≤k≤K, i is the serial number of the movement-related muscles 1≤i≤4, and m k is the kth time The length of the acquired sequence;
(b)、两只姿态传感器分别采集大臂与小臂的运动姿态四元数数据,得到单个运动姿态四元数矩阵OkQj(mk×4),其中j是两只姿态传感器的序号1≤j≤2;(b), the two attitude sensors collect the movement attitude quaternion data of the big arm and the forearm respectively, and obtain a single movement attitude quaternion matrix O kQj (m k × 4), where j is the serial number of the two attitude sensors 1 ≤j≤2;
(c)、5个表面肌电传感器采集的信号特征值矩阵OkEi(mk×12)组成单次采集的肌电特征信号观测矩阵OkE(mk×60),OkE=(OkE1,OkE2,OkE3,OkE4,OkE5);(c), the signal eigenvalue matrix O kEi (m k × 12) collected by 5 surface electromyography sensors forms the observation matrix O kE (m k × 60) of the myoelectric characteristic signal collected in a single time, O kE = (O kE1 ,O kE2 ,O kE3 ,O kE4 ,O kE5 );
(d)、2个姿态传感器采集的四元数矩阵OkQj(mk×4)组成单次采集的肌电特征信号观测矩阵OkQ(mk×8),OkQ=(OkQ1,OkQ2);(d), the quaternion matrix O kQj (m k × 4) collected by two attitude sensors constitutes the observation matrix O kQ (m k × 8) of the myoelectric characteristic signal acquired in a single acquisition, O kQ = (O kQ1 , O kQ2 );
(e)、如步骤(3.1)所述,对原始肌电信号进行滑动加窗时,要保证特征序列长度与姿态传感器输出四元数序列长度一致均为mk,因此,单个原始肌电信号的特征值矩阵OkE与单个运动姿态数据矩阵OkQ长度一致,组成单次观测的观测值矩阵Ok;(e), as described in step (3.1), when performing sliding windowing on the original EMG signal, it is necessary to ensure that the length of the feature sequence is consistent with the length of the quaternion sequence output by the attitude sensor, and both are m k , therefore, a single original EMG signal The eigenvalue matrix O kE of is consistent with the length of a single motion posture data matrix O kQ , forming the observation value matrix O k of a single observation;
(f)、对于共K次运动重复执行(a)~(e)步骤,得到隐半马尔科夫模型的训练矩阵集O={O1,…,OK}(f), repeat steps (a) to (e) for a total of K times of motion, and obtain the training matrix set O={O 1 ,...,O K } of the hidden semi-Markov model
(3.2)、由于每次采集时序列长度不一致,导致每组观测序列长度M={m1,m2,…,mK}不尽相同,利用DTW算法对O={O1,…,OK}中每个矩阵执行对齐操作;(3.2) Due to the inconsistency of the sequence length in each collection, the length of each observation sequence M={m 1 ,m 2 ,…,m K } is different, and the DTW algorithm is used for O={O 1 ,…,O Each matrix in K } performs an alignment operation;
(3.3)、利用K均值聚类算法对观测矩阵集O进行聚类,取G个聚类中心,得到每个聚类的均值矩阵μ、协方差矩阵U、权值矩阵W;(3.3), use the K-means clustering algorithm to cluster the observation matrix set O, take G cluster centers, and obtain the mean matrix μ, covariance matrix U, and weight matrix W of each cluster;
(3.4)、初始化隐半马尔科夫模型参数:(3.4), initialize the hidden semi-Markov model parameters:
(a)、初始状态概率分布矢量π=norm(rand(N×1));(a), initial state probability distribution vector π=norm(rand(N×1));
(b)、状态转移概率矩阵A=norm(rand(N×N));(b), state transition probability matrix A=norm(rand(N×N));
(c)、观察值概率矩阵B采用多元高斯混合模型初始化;(c), the observation value probability matrix B is initialized with a multivariate Gaussian mixture model;
(d)、状态驻留时间分布矩阵P采用单高斯模型初始化。(d), the state residence time distribution matrix P is initialized with a single Gaussian model.
上式中norm(…)是归一化函数,rand(…)是随机数发生函数;In the above formula, norm(...) is a normalization function, and rand(...) is a random number generation function;
(3.5)、利用步骤(3.4)中初始化完毕的隐半马尔科夫模型λ=(N,M,π,A,B,P)结合EM算法或Baum-Welch算法设置阈值迭代重估隐半马尔科夫模型得到适用于患者运动功能评估的最优隐半马尔科夫模型。(3.5), using the hidden semi-Markov model λ=(N, M, π, A, B, P) initialized in step (3.4) combined with EM algorithm or Baum-Welch algorithm to set the threshold iteratively reevaluate the hidden semi-Markov Cove model The optimal hidden semi-Markov model suitable for motor function assessment of patients was obtained.
(4)、采集患者患侧上肢执行标准运动功能评估动作的上肢位姿与肌电数据:(4) Collect the upper limb posture and myoelectric data of the patient's affected upper limb performing standard motor function evaluation actions:
(4.1)、保持患者患侧上肢处于自然下垂状态;(4.1) Keep the patient's affected upper limb in a natural drooping state;
(4.2)、安装姿态传感器两只,分别于大臂与小臂上;(4.2), install two attitude sensors, respectively on the upper arm and the forearm;
(4.3)、安装5只表面肌电传感器,于运动关联的5块肌肉:肱二头肌、三角肌、三角肌-肩胛骨、旋前肌群、旋后肌群表面各安装1只;(4.3), install 5 surface electromyography sensors, and install 1 on the surface of 5 muscles related to exercise: biceps, deltoid, deltoid-scapula, pronator, and supinator;
(4.4)、初始化、清零传感器;(4.4), initialize and clear the sensor;
(4.5)、指导患者运用患侧上肢分别执行步骤(1)中所述8个标准运动评估动作,姿态传感器与表面肌电传感器分别采集运动姿态数据与肌电原始幅值数据;(4.5) Instruct the patient to use the upper limb of the affected side to perform the 8 standard motion evaluation actions described in step (1), and the posture sensor and the surface electromyography sensor collect the motion posture data and the original amplitude data of the myoelectricity respectively;
(4.6)、构建患侧肢体观测值矩阵X:(4.6), construct the observation value matrix X of the affected limb:
(a)、特别地,对于每组每个肌电原始幅值数据提取均值、均方根值、一阶差分标准差、方差、一阶差分均值、平均功率频率、标准差、过零点数、绝对值斜率、积分肌电值、一阶差分中值、中值频率共12种特征值序列;组成患侧肢体原始肌电信号的特征值矩阵XEi(mx×12),i是运动关联肌肉的序号1≤i≤5,mx是采集的序列长度;(a), in particular, extract the mean value, root mean square value, first-order difference standard deviation, variance, first-order difference mean value, average power frequency, standard deviation, zero-crossing points for each group of each myoelectric raw amplitude data, There are 12 eigenvalue sequences including absolute value slope, integral EMG value, first-order difference median value, and median frequency; the eigenvalue matrix X Ei (m x ×12) that forms the original EMG signal of the affected limb, i is the motion correlation The serial number of the muscle is 1≤i≤5, and m x is the length of the collected sequence;
(b)、两只姿态传感器分别采集大臂与小臂的运动姿态四元数数据,得到患侧肢体运动姿态四元数矩阵XQj(mx×4),其中j是两只姿态传感器的序号1≤j≤2;(b), the two attitude sensors collect the movement attitude quaternion data of the upper arm and the forearm respectively, and obtain the movement attitude quaternion matrix X Qj (m x × 4) of the affected limb, where j is the quaternion data of the two attitude sensors Serial number 1≤j≤2;
(c)、5个表面肌电传感器采集的信号特征值矩阵XEi(mx×12)组成患侧肢体的肌电特征信号观测矩阵XE(mx×60),XE=(XE1,XE2,XE3,XE4,XE5);(c), the signal eigenvalue matrix X Ei (m x × 12) collected by five surface electromyography sensors forms the myoelectric characteristic signal observation matrix X E (m x × 60) of the affected limb, X E = (X E1 ,X E2 ,X E3 ,X E4 ,X E5 );
(d)、2个姿态传感器采集的四元数矩阵XQj(mx×4)组成单次采集的肌电特征信号观测矩阵XQ(mx×8),XQ=(XQ1,XQ2);(d), the quaternion matrix X Qj (m x × 4) collected by two attitude sensors constitutes the observation matrix X Q (m x × 8) of the myoelectric characteristic signal acquired in a single acquisition, X Q = (X Q1 , X Q2 );
(e)、如步骤(3.1)所述,对患侧肢体原始肌电信号进行滑动加窗时,要保证特征序列长度与姿态传感器输出四元数序列长度一致均为mx,因此,患侧肢体肌电信号的特征值矩阵XE与患侧肢体运动姿态数据矩阵XQ长度一致,组成患侧肢体观测值矩阵X=(XQ,XE)。(e), as described in step (3.1), when performing sliding windowing on the original EMG signal of the affected limb, it is necessary to ensure that the length of the feature sequence is consistent with the length of the quaternion sequence output by the attitude sensor, and both are m x , therefore, the affected side The eigenvalue matrix X E of the limb myoelectric signal has the same length as the motion posture data matrix X Q of the affected limb, forming the observed value matrix X=(X Q , X E ) of the affected limb.
(5)、采集患者患侧上肢执行标准运动功能评估动作的上肢位姿与肌电数据:(5) Collect the upper limb posture and myoelectric data of the patient's affected upper limb performing standard motor function evaluation actions:
(5.1)、利用步骤(3.5)中得到的具体模型作为前向-后向算法的参数,利用步骤(4.6)中采集的患侧肢体每组标准评估动作观测矩阵X作为前向-后向算法的当前观测值,输出前向-后向算法的结果,即当前观测值的似然概率值l;(5.1), utilize the concrete model that obtains in step (3.5) As a parameter of the forward-backward algorithm, use the standard evaluation action observation matrix X of each group of affected limbs collected in step (4.6) as the current observation value of the forward-backward algorithm, and output the result of the forward-backward algorithm , that is, the likelihood value l of the current observation value;
(5.2)、对步骤(1)中所述的8种不同动作分别执行步骤(5.1)操作,得到8个观测的似然概率值L=(l1,l2,…,l8)。(5.2) Step (5.1) is performed on the 8 different actions described in step (1), and the likelihood values L=(l 1 ,l 2 ,...,l 8 ) of 8 observations are obtained.
(6)、根据(5)中似然概率值L=(l1,l2,…,l8)计算患肢运动评分:(6) According to the likelihood probability value L=(l 1 ,l 2 ,…,l 8 ) in (5), calculate the motor score of the affected limb:
(6.1)、对于单一标准评估动作,采集健侧上肢所执行运动的姿态与关联肌肉肌电数据;(6.1), for a single standard evaluation action, collect the posture and associated muscle electromyographic data of the exercise performed by the uninjured upper limb;
(6.2)、对于单一标准评估动作,提取肌电特征数据,与姿态传感器数据组合,得到单一动作的观测矩阵;(6.2), for a single standard evaluation action, extract the myoelectric feature data, and combine it with the attitude sensor data to obtain the observation matrix of a single action;
(6.3)、对于单一标准评估动作,利用前向-后向算法与步骤(6.2)中观测均值计算动作所对应模型的似然概率值作为最大似然概率值lmax;(6.3), for a single standard evaluation action, use the forward-backward algorithm and the model corresponding to the observation mean calculation action in step (6.2) The likelihood probability value of is taken as the maximum likelihood probability value l max ;
(6.5)、利用步骤(5.2)方法得出的似然概率值L=(l1,l2,…,l8)与步骤(6.3)中得到的各动作最大似然概率值Lmax=(lmax1,lmax2,…,lmax8)求取满分为100分,最低0分的评估运动总分,计算方法见下式:(6.5), the likelihood probability value L=(l 1 ,l 2 ,...,l 8 ) obtained by the method of step (5.2) and the maximum likelihood probability value L max of each action obtained in step (6.3) =( l max1 ,l max2 ,…,l max8 ) Calculate the total score of the evaluation exercise with a full score of 100 and a minimum score of 0. The calculation method is shown in the following formula:
如图2所示,本发明的基于隐半马尔科夫模型的上肢运动功能评估方法,包括如下内容:As shown in Figure 2, the upper limb motor function evaluation method based on the hidden semi-Markov model of the present invention includes the following contents:
(1)、2只姿态传感器分别安装在患者上肢大臂内侧与小臂内侧,安装时注意2只姿态传感器原始姿态保持一致;(1) Two attitude sensors are respectively installed on the inner side of the upper arm and the inner side of the forearm of the patient's upper limbs. When installing, pay attention to keep the original posture of the two attitude sensors consistent;
(2)、在手臂自然下垂时,初始化清零传感器,随后保持患者上肢静止;(2) When the arm is naturally drooping, initialize the reset sensor, and then keep the patient's upper limbs still;
(3)、指导患者执行标准运动评估动作,姿态传感器同时记录大臂与小臂实时运动的姿态四元数;(3) Guide the patient to perform standard motion assessment actions, and the attitude sensor simultaneously records the attitude quaternion of the real-time movement of the upper arm and the forearm;
(4)、运动结束时,结束传感器数据记录,得到大臂与小臂的运动姿态四元数序列。(4) When the motion ends, the sensor data recording is ended, and the motion posture quaternion sequence of the big arm and the small arm is obtained.
如图3所示,本发明的基于隐半马尔科夫模型的上肢运动功能评估方法,包括如下内容:As shown in Figure 3, the upper limb motor function evaluation method based on the hidden semi-Markov model of the present invention includes the following contents:
(1)、5只表面肌电传感器分别安装于患者上肢的肱二头肌、三角肌、三角肌-肩胛骨、旋前肌群、旋后肌群表面,安装时应注意皮肤清洁干燥;(1), 5 surface electromyographic sensors are respectively installed on the surface of the biceps brachii, deltoid, deltoid-scapula, pronator muscle group, and supinator muscle group of the upper limbs of the patient. The skin should be clean and dry during installation;
(2)、指导患者执行标准运动评估动作,5只表面肌电传感器同时记录大臂与小臂实时运动的5组原始肌电信号;(2) Guide the patient to perform standard motion assessment actions, and 5 surface electromyographic sensors simultaneously record 5 groups of original electromyographic signals of the real-time movement of the upper arm and forearm;
(3)、运动结束时,结束传感器数据记录,得到肱二头肌、三角肌、三角肌-肩胛骨、旋前肌群、旋后肌群的运动原始肌电信号序列;(3) At the end of the exercise, the sensor data recording is ended, and the original EMG signal sequence of the biceps, deltoid, deltoid-scapula, pronator muscle group, and supinator muscle group is obtained;
(4)、对每块肌肉的原始信号,作加窗处理,选择合适的窗口长度与帧移,保证姿态数据序列长度与特征值序列长度一致。(4) Windowing is performed on the original signal of each muscle, and an appropriate window length and frame shift are selected to ensure that the length of the attitude data sequence is consistent with the length of the feature value sequence.
本发明能够对脑卒中偏瘫患者的上肢运动功能恢复程度进行评估,在一定程度上取代康复治疗医师利用运动功能评估量表进行经验性评估的方法,从而降低康复治疗医师工作强度,辅助治疗医师工作,提高医师工作效率的目的。The invention can evaluate the recovery degree of upper limb motor function of stroke patients with hemiplegia, and to a certain extent replace the method of empirical evaluation by rehabilitation physicians using the motor function evaluation scale, thereby reducing the work intensity of rehabilitation physicians and assisting physicians in their work. , to improve the efficiency of physicians.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910813637.5A CN110464349A (en) | 2019-08-30 | 2019-08-30 | A kind of upper extremity exercise function score method based on hidden Semi-Markov Process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910813637.5A CN110464349A (en) | 2019-08-30 | 2019-08-30 | A kind of upper extremity exercise function score method based on hidden Semi-Markov Process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110464349A true CN110464349A (en) | 2019-11-19 |
Family
ID=68514513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910813637.5A Pending CN110464349A (en) | 2019-08-30 | 2019-08-30 | A kind of upper extremity exercise function score method based on hidden Semi-Markov Process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110464349A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111291687A (en) * | 2020-02-11 | 2020-06-16 | 青岛联合创智科技有限公司 | 3D human body action standard identification method |
CN114259235A (en) * | 2021-12-18 | 2022-04-01 | 中国人民解放军空军特色医学中心 | Health state prediction method, apparatus, device, medium, and computer program product |
CN114469000A (en) * | 2022-01-27 | 2022-05-13 | 重庆邮电大学 | Human body falling reduction and shock prevention intelligent monitoring method and system based on multi-sensor data reinforcement learning |
CN114847979A (en) * | 2022-06-15 | 2022-08-05 | 苏州市立医院 | Tracing auxiliary system and method for ankle joint movement control obstacle |
WO2022188238A1 (en) * | 2021-03-11 | 2022-09-15 | 东南大学 | Rehabilitation robot control method based on probabilistic movement primitives and hidden semi-markov |
CN115399791A (en) * | 2022-06-28 | 2022-11-29 | 天津大学 | Stroke lower limb function assessment method and system based on myoelectric motion multi-data fusion |
CN117936100A (en) * | 2024-03-21 | 2024-04-26 | 深圳达实旗云健康科技有限公司 | Critical illness early warning method based on medical big data and related device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070276270A1 (en) * | 2006-05-24 | 2007-11-29 | Bao Tran | Mesh network stroke monitoring appliance |
US20100234693A1 (en) * | 2009-03-16 | 2010-09-16 | Robert Bosch Gmbh | Activity monitoring device and method |
CN102567638A (en) * | 2011-12-29 | 2012-07-11 | 无锡微感科技有限公司 | Interactive upper limb rehabilitation system based on micro-sensor |
KR20140063281A (en) * | 2012-11-16 | 2014-05-27 | 삼성전자주식회사 | 1rm presume device and method |
JP2015062658A (en) * | 2013-08-30 | 2015-04-09 | 国立大学法人鳥取大学 | Muscle fatigue quantitative evaluation method, muscle fatigue display device, and muscle fatigue quantitative evaluation device |
CN105496418A (en) * | 2016-01-08 | 2016-04-20 | 中国科学技术大学 | Arm-belt-type wearable system for evaluating upper limb movement function |
CN105561567A (en) * | 2015-12-29 | 2016-05-11 | 中国科学技术大学 | Step counting and motion state evaluation device |
CN105919591A (en) * | 2016-04-12 | 2016-09-07 | 东北大学 | Surface myoelectrical signal based sign language recognition vocal system and method |
CN108209910A (en) * | 2017-05-25 | 2018-06-29 | 深圳市未来健身衣科技有限公司 | The feedback method and device of body building data |
-
2019
- 2019-08-30 CN CN201910813637.5A patent/CN110464349A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070276270A1 (en) * | 2006-05-24 | 2007-11-29 | Bao Tran | Mesh network stroke monitoring appliance |
US20100234693A1 (en) * | 2009-03-16 | 2010-09-16 | Robert Bosch Gmbh | Activity monitoring device and method |
CN102567638A (en) * | 2011-12-29 | 2012-07-11 | 无锡微感科技有限公司 | Interactive upper limb rehabilitation system based on micro-sensor |
KR20140063281A (en) * | 2012-11-16 | 2014-05-27 | 삼성전자주식회사 | 1rm presume device and method |
JP2015062658A (en) * | 2013-08-30 | 2015-04-09 | 国立大学法人鳥取大学 | Muscle fatigue quantitative evaluation method, muscle fatigue display device, and muscle fatigue quantitative evaluation device |
CN105561567A (en) * | 2015-12-29 | 2016-05-11 | 中国科学技术大学 | Step counting and motion state evaluation device |
CN105496418A (en) * | 2016-01-08 | 2016-04-20 | 中国科学技术大学 | Arm-belt-type wearable system for evaluating upper limb movement function |
CN105919591A (en) * | 2016-04-12 | 2016-09-07 | 东北大学 | Surface myoelectrical signal based sign language recognition vocal system and method |
CN108209910A (en) * | 2017-05-25 | 2018-06-29 | 深圳市未来健身衣科技有限公司 | The feedback method and device of body building data |
Non-Patent Citations (1)
Title |
---|
MARIANNA CAPECCI ET AL.: "A Hidden Semi-Markov Model based approach for rehabilitation exercise assessment", 《JOURNAL OF BIOMEDICAL INFORMATICS》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111291687A (en) * | 2020-02-11 | 2020-06-16 | 青岛联合创智科技有限公司 | 3D human body action standard identification method |
CN111291687B (en) * | 2020-02-11 | 2022-11-11 | 青岛联合创智科技有限公司 | 3D human body action standard identification method |
WO2022188238A1 (en) * | 2021-03-11 | 2022-09-15 | 东南大学 | Rehabilitation robot control method based on probabilistic movement primitives and hidden semi-markov |
CN114259235A (en) * | 2021-12-18 | 2022-04-01 | 中国人民解放军空军特色医学中心 | Health state prediction method, apparatus, device, medium, and computer program product |
CN114469000A (en) * | 2022-01-27 | 2022-05-13 | 重庆邮电大学 | Human body falling reduction and shock prevention intelligent monitoring method and system based on multi-sensor data reinforcement learning |
CN114469000B (en) * | 2022-01-27 | 2023-08-11 | 重庆邮电大学 | Intelligent monitoring method and system for human body fall reduction and shock resistance based on multi-sensor data reinforcement learning |
CN114847979A (en) * | 2022-06-15 | 2022-08-05 | 苏州市立医院 | Tracing auxiliary system and method for ankle joint movement control obstacle |
CN115399791A (en) * | 2022-06-28 | 2022-11-29 | 天津大学 | Stroke lower limb function assessment method and system based on myoelectric motion multi-data fusion |
CN117936100A (en) * | 2024-03-21 | 2024-04-26 | 深圳达实旗云健康科技有限公司 | Critical illness early warning method based on medical big data and related device |
CN117936100B (en) * | 2024-03-21 | 2024-05-31 | 深圳达实旗云健康科技有限公司 | Critical illness early warning method based on medical big data and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110464349A (en) | A kind of upper extremity exercise function score method based on hidden Semi-Markov Process | |
Sun et al. | Intelligent human computer interaction based on non redundant EMG signal | |
Maura et al. | Literature review of stroke assessment for upper-extremity physical function via EEG, EMG, kinematic, and kinetic measurements and their reliability | |
Akhlaghi et al. | Real-time classification of hand motions using ultrasound imaging of forearm muscles | |
CN102622605B (en) | Surface electromyogram signal feature extraction and action pattern recognition method | |
CN106067178B (en) | A kind of continuous estimation method of hand joint movement based on muscle synergistic activation model | |
Xiao et al. | Continuous estimation of joint angle from electromyography using multiple time-delayed features and random forests | |
CN104107134A (en) | Myoelectricity feedback based upper limb training method and system | |
CN108743223A (en) | A kind of the intelligent exoskeleton manipulators in rehabilitation and method automatically controlled based on strong side biology | |
CN104021573A (en) | Human movement classification and identification method based on joint pose angles | |
CN104127181A (en) | Electromyographic signal tumble detection method based on WKFDA | |
Zhang et al. | The design of a hemiplegic upper limb rehabilitation training system based on surface EMG signals | |
CN110570946A (en) | A lower limb rehabilitation robot rehabilitation training motor function rehabilitation evaluation method | |
CN110537913A (en) | Channel selection method of surface EMG signal based on LDA algorithm | |
US20130338540A1 (en) | Systems and methods for hierarchical pattern recognition for simultaneous control of multiple-degree of freedom movements for prosthetics | |
CN113974612A (en) | A method and system for automatic assessment of upper limb motor function in stroke patients | |
Li et al. | Wireless sEMG-based identification in a virtual reality environment | |
CN109758336A (en) | A control method for active rehabilitation therapy using sEMG on the affected side of patients | |
CN118787340A (en) | A hand rehabilitation assessment system and method based on multimodal data fusion | |
Wu et al. | Upper limb motion recognition based on LLE-ELM method of sEMG | |
Wang et al. | Lower limb motion recognition based on surface electromyography signals and its experimental verification on a novel multi-posture lower limb rehabilitation robots☆ | |
Zhou et al. | sEMG-based hand motion recognition by means of multi-class adaboost algorithm | |
Zheng et al. | Prediction of dexterous finger forces with forearm rotation using motoneuron discharges | |
Bhardwaj et al. | Electromyography in physical rehabilitation: a review | |
Veer | A flexible approach for segregating physiological signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191119 |