Adaptive detection method for asynchronous upper limb movement EEG signals

By collecting and processing EEG signals, establishing a baseline model and deriving decision thresholds, the flexion and extension movements in the upper limb movement of the rehabilitation robot are identified, which solves the problem of unclear correlation of asynchronous upper limb movement signals and improves the operability and sensitivity of the equipment. .

CN115956927BActive Publication Date: 2024-10-22CHANGSHU INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211560585.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2024-10-22
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

When rehabilitation robots perform complex upper limb activities at joints such as shoulders, elbows, wrists, and fingers, the correlation between asynchronous upper limb movement EEG signals and motor cognitive tasks is unclear, making it difficult to understand instructions and affecting the operability and sensitivity of the equipment. .

Method used

By collecting EEG signals during asynchronous upper limb movement, performing preprocessing of amplification, filtering and de-fluctuation, extracting baseline data in the idle state and establishing a baseline model, deriving decision thresholds, identifying flexion and extension movements, and using sensitivity and accuracy Indicators are used to evaluate detection performance.

Benefits of technology

It achieves accurate detection of peaks related to flexion and extension movements during asynchronous upper limb movement, improves the operability and sensitivity of complex operations of rehabilitation robots, and provides technical support for continuous motion control for the interaction between the human brain and exoskeleton machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115956927B_ABST
    Figure CN115956927B_ABST
Patent Text Reader

Abstract

The present invention discloses an adaptive detection method for asynchronous upper limb movement electroencephalogram (EEG) signals, comprising the following steps: collecting EEG signals during asynchronous upper limb movement; pre-processing the collected EEG signals by amplifying, filtering, and removing fluctuations; extracting baseline data of the idle state and establishing a baseline model; deriving a decision threshold according to the baseline model, judging whether the signal is related to the movement, and identifying the flexion and extension movements in the asynchronous upper limb movement from the signal; and evaluating the detection performance by using the subject curve analysis. The flexion-related peak and the extension-related peak of the EEG signal can be accurately detected, thereby calibrating the start and end of the movement, distinguishing the idle state and the movement state in the EEG signal, and supporting the human-computer interaction between the human brain and the exoskeleton machine in the case of complex upper limb movement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of upper limb power assist devices for rehabilitation robots, and in particular to an adaptive detection method for asynchronous upper limb movement EEG signals. Background Art

[0002] As a high-tech industry, the development of rehabilitation robots has become a new growth point of the world economy. Related research has been paid attention to by countries around the world and has become one of the important areas of technological competition. With the intensification of global aging, this field has provided a broader market space and rare development opportunities. Among them, upper limb power-assisted brain-computer interface (BMI) shows great potential in improving the quality of life of disabled and elderly people. The working mode of BMI system can be divided into synchronous and asynchronous: in synchronous system, the activity is controlled by specific cues or trigger stimuli, such as visual evoked potential (VEP), slow cortical potential (SCP), P300 evoked potential and sensorimotor rhythm, etc.; while asynchronous system is also called self-paced, and the activity is determined by the subject's will. Upper limb power-assisted BMI equipment should be developed using asynchronous control to provide users with the possibility of deciding operations in a more flexible environment.

[0003] Human upper limb movements are relatively more complex, involving a series of activities at the shoulder, elbow, wrist, and finger joints in daily life. Moreover, the correlation between asynchronous upper limb movement EEG signals and motor cognitive tasks is unclear, and most of them are still difficult to understand. The detection of flexion-related peaks and extension-related peaks can not only mark the beginning and end of the movement phase, but also further explore the relationship between movement information in EEG and real movement parameters such as force, torque, and joint angle, providing technical support for the interaction between the human brain and exoskeleton machines from simple switch control to continuous movement control. Summary of the invention

[0004] The embodiment of the present application provides an adaptive detection method for asynchronous upper limb movement EEG signals, thereby solving the technical problem in the prior art that when a rehabilitation robot performs complex upper limb activities of joints such as shoulders, elbows, wrists and fingers, the correlation between asynchronous upper limb movement EEG signals and motor cognitive tasks is unclear, resulting in difficulty in understanding instructions. The method optimizes the operability of the rehabilitation robot and achieves the sensitivity of the rehabilitation robot when performing complex operations.

[0005] The technical solution to achieve the purpose of the present invention is:

[0006] An adaptive detection method for asynchronous upper limb movement EEG signals comprises the following steps:

[0007] S01: Collect EEG signals during asynchronous upper limb movements;

[0008] S02: pre-processing the collected EEG signals by amplifying, filtering and removing fluctuations;

[0009] S03: extracting baseline data of the idle state and establishing a baseline model;

[0010] S04: Derive the decision threshold based on the baseline model to determine whether the signal is related to the movement, and identify the flexion and extension movements in asynchronous upper limb movements from the signal;

[0011] S05: The detection performance is evaluated using TPR for measuring sensitivity, PPV for measuring accuracy, and TF, a comprehensive evaluation index.

[0012] Preferably, step S01 specifically includes:

[0013] S11: Subjects performed upper limb exercises;

[0014] The subjects performed self-paced upper limb movements and generated trigger signals for the start and end of the movement through switches when lifting and lowering the load;

[0015] S12: Record EEG signals using active electrodes.

[0016] Preferably, asynchronous upper limb movements are collected, and when performing asynchronous upper limb movements of shoulder movements and elbow movements, the test is divided into four stages: rest, flexion, hold and extension.

[0017] Preferably, S02 specifically includes:

[0018] S21: amplifying the collected EEG signal;

[0019] The EEG collected from the measurement point is amplified, A / D converted through the interface board, and the raw data is recorded by the Linux PC;

[0020] S22: raw data filtering;

[0021] The baseline drift was eliminated by using a Butterworth high-pass filter (HPF) with a cutoff frequency of 0.1 Hz, and then the EEG signal of 0.1 to 45 Hz was extracted using a Butterworth low-pass filter (LPF) with a cutoff frequency of 45 Hz;

[0022] S23: Generate average channel signal to remove global background fluctuations;

[0023] As shown in formula (1), the weight coefficients of multiple channels are set to obtain the average channel signal:

[0024]

[0025] in, is the average channel signal, is the average channel signal of F1, F2, Cp3, C5, and C6, is the average channel signal of Cz and Pz, and Cp4 is the channel signal of Cp4.

[0026] Preferably, step S03 specifically includes:

[0027] S31: Consider the EEG related to movement as useful signals, and regard the EEG in the idle state as background noise. During the interval between adjacent single trials in a set of experiments, extract the EEG signals in the idle state as baseline data;

[0028] S32: Fit the data using Weibull distribution, normal distribution, Rayleigh distribution, lognormal distribution, and gamma distribution respectively, and select the baseline model with good fitting effect.

[0029] Preferably, the baseline model is a lognormal distribution model.

[0030] Preferably, step S04 specifically includes:

[0031] S41: Estimate the noise power parameter of the baseline model;

[0032] S42: Deduce the decision threshold;

[0033] S43: Use data averaging with a sliding window to obtain the windowed average signal X of the signal i , and suppress discrete high-amplitude noise;

[0034] S44: Compare the windowed average signal X of the signal i with the threshold T;

[0035] Determine the flexion-related peak by the threshold T. When X i > T, the comparator outputs 1, indicating that the signal is related to the flexion action; when X i < T, the comparator outputs 0, indicating that the signal is not related to the flexion action;

[0036] Determine the extension-related peak by the threshold -T. When X i < -T, the comparator outputs 1, indicating that the signal is related to the extension action; when X i > -T, the comparator outputs 0, indicating that the signal is not related to the extension action.

[0037] Preferably, the threshold is set to 90% of the sample maximum value.

[0038] Preferably, step S05 is specifically:

[0039] The significant flexion-related peaks and extension-related peaks were marked as absolute truth values ​​through manual observation. The detection results of the proposed adaptive method were matched with the absolute truth values, and the TPR for measuring sensitivity, the PPV for measuring accuracy, and the comprehensive evaluation index TF were calculated to evaluate the detection performance.

[0040] The present invention also discloses a computer storage medium on which a computer program is stored. When the computer program is executed, the adaptive detection method of the asynchronous upper limb movement EEG signal is realized.

[0041] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0042] 1. This application establishes a baseline model to characterize the idle state, and then estimates the baseline power parameters with a certain false alarm rate to derive the judgment threshold, and introduces a sliding window to exclude high-amplitude random noise. It can automatically adapt to the differences between subjects to a certain extent and better complete the detection task of flexion-related peaks and extension-related peaks during asynchronous upper limb movements.

[0043] 2. This application observes the signal patterns corresponding to the physiological phenomena of the brain during asynchronous upper limb movement from the detection data, and can accurately capture the flexion-related peaks and extension-related peaks during asynchronous upper limb movement, so as to accurately distinguish the idle state and movement state in the EEG signal, laying the foundation for subsequent complex human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 The flowchart of the adaptive detection method of EEG signals of asynchronous upper limb movements is shown;

[0045] Figure 2 Schematic diagram of the asynchronous upper limb movement experiment process;

[0046] Figure 3 The distribution map of electrodes for recording EEG signals;

[0047] Figure 4 Example graph of event calibration for raw experimental data;

[0048] Figure 5 Example plots of baseline model fits for three different subjects;

[0049] Figure 6 is a flow chart for adaptive detection of motion-related peaks;

[0050] Figure 7 This is a comparison chart of typical shoulder movement EEG test results;

[0051] Figure 8 This is a comparison chart of typical elbow movement EEG detection results. DETAILED DESCRIPTION

[0052] The embodiment of the present application provides an adaptive detection method for asynchronous upper limb movement EEG signals, thereby solving the technical problem in the prior art that when a rehabilitation robot performs complex upper limb activities of joints such as shoulders, elbows, wrists and fingers, the correlation between asynchronous upper limb movement EEG signals and motor cognitive tasks is unclear, resulting in difficulty in understanding instructions.

[0053] The technical solution in the embodiment of the present application is to solve the problem that the correlation between the above-mentioned EEG signals and the motor cognitive tasks is not high. The overall idea is as follows:

[0054] EEG signals are collected through active electrodes, baseline data representing the idle state are extracted and a log-normal baseline model is established, and the relevant peaks of flexion and extension movements in asynchronous upper limb movements are identified from the EEG signals. Finally, the performance of the detection method proposed in this application is evaluated.

[0055] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0056] like Figure 1 As shown, the adaptive detection method of asynchronous upper limb movement EEG signals comprises the following steps:

[0057] S01: Collect EEG signals during asynchronous upper limb movements;

[0058] S11: Subjects performed upper limb exercises;

[0059] The subjects performed self-paced upper limb exercises with a load of 3 kg, and generated trigger signals for the start and end of the exercise through switches when lifting and lowering the load, for a total of 20 trials. Figure 2 As shown, the asynchronous upper limb movements with shoulder and elbow movements were divided into four phases: rest, flexion, hold, and extension.

[0060] S12: Recording EEG signals using active electrodes;

[0061] According to the international 10-20 electrode method, Figure 3 As shown, 8 points, including FC1, FC2, C5, C6, CP3, CP4, Cz, and Pz, were selected. The REF electrode was located on the auricle of the left ear, the GND electrode was located on the mastoid of the left ear, and the sampling frequency was 1000 Hz.

[0062] S02: Preprocessing the collected EEG signals by amplifying, filtering and removing fluctuations;

[0063] S21: amplifying the collected EEG signal;

[0064] The EEG signals collected from 8 measurement points were amplified by a bio-amplifier, A / D converted by an interface board, and the raw data were recorded by a Linux PC.

[0065] S22: raw data filtering;

[0066] The baseline drift was eliminated by a Butterworth high-pass filter (HPF) with a cutoff frequency of 0.1 Hz, and the EEG signal of 0.1 to 45 Hz was extracted by a Butterworth low-pass filter (LPF) with a cutoff frequency of 45 Hz. The signal was smoothed by a 10-point moving average.

[0067] S23: Generate average channel signal to remove global background fluctuations;

[0068] As shown in formula (1), the weight coefficients of multiple channels are set to obtain the average channel signal:

[0069]

[0070] in, is the average channel signal, is the average channel signal of F1, F2, Cp3, C5, and C6, is the average channel signal of Cz and Pz, and Cp4 is the channel signal of Cp4.

[0071] By recording the start and end trigger points of the movement during the experiment, the movement events are marked in the average channel signal and saved as event images. Figure 4 As shown, an example of a set of original experimental data containing 20 trials is shown, and the event calibration of the 3rd, 8th and 14th trial signals is magnified.

[0072] S03: extracting baseline data of the idle state and establishing a baseline model;

[0073] S31: Through the observation of EEG signals, from the perspective of signal analysis, the movement-related EEG is considered as a useful signal, while the idle state EEG is regarded as background noise;

[0074] In the intervals between adjacent single trials of a group of experiments, 4 seconds of EEG signals in a resting state were extracted as baseline data.

[0075] S32: Establish baseline model;

[0076] To investigate the baseline distribution model, the Weibull, normal, Rayleigh, lognormal, and gamma distributions were fitted to the data, and the goodness of fit was tested using Kolmogorov-Smirnov (KS) and Chi-Square (χ2). Figure 5As shown in the figure, there are baseline fitting examples for three different subjects. Among them, the Rayleigh distribution model has the worst fitting effect on the baseline data, the normal distribution model and the lognormal distribution model have the best fitting effect, and the Weibull distribution and gamma distribution models have slight deviation fitting on both sides of the peak. As shown in the table below, it is a goodness of fit test of the distribution model, and the test results confirm the inference of the observation results. For the baselines of NO.1 and NO.2, the normal distribution and the lognormal distribution have similar test results, while the baseline lognormal distribution of NO.3 fits KS and X 2 Smaller, overall, the lognormal model can better describe the baseline distribution characteristics of different subjects.

[0077]

[0078] S04: Derive the decision threshold based on the baseline model to determine whether the signal is related to the movement, and identify the flexion and extension movements in asynchronous upper limb movements from the signal;

[0079] S41: Estimate the noise power parameters of the baseline model;

[0080] like Figure 6 As shown, the noise power parameters of the lognormal baseline model are estimated

[0081] S42: deriving the decision threshold;

[0082] The threshold value T is given by:

[0083] T=αP n (2)

[0084] Among them, P n is the baseline power estimate and α is a scaling factor called the threshold factor. The maximum likelihood estimate of the baseline power is given by:

[0085]

[0086] Among them, X i is the baseline signal, n is the baseline length. fa The threshold factor is given by:

[0087]

[0088] Substituting equation (3) and equation (4) into equation (2), the threshold expression can be rewritten as:

[0089]

[0090] S43: averaging the data of the sliding window to obtain a signal windowed average signal X i , suppress discrete high-amplitude noise;

[0091] Since the movement-related peaks are continuously distributed and have a certain width, data averaging with a sliding window is used to suppress discrete high-amplitude noise.

[0092] S44: Window-average the signal to obtain signal X i Compare it with threshold T;

[0093] Compare the window-averaged signal xi of EEG with threshold T. Positive peaks are presented for flexion-related movements, while negative peaks are presented for extension-related movements. During the detection process, within the initial 3 seconds of the experiment, flexion-related peaks are determined by threshold T, and after an interval of 4 seconds, extension-related peaks are determined by threshold -T.

[0094] When determining flexion-related peaks by threshold T, when X i >T, the comparator outputs 1, indicating that the signal is related to flexion movement; when X i <T, the comparator outputs 0, indicating that this signal is not related to flexion movement;

[0095] When determining extension-related peaks by threshold -T, when X i <-T, the comparator outputs 1, indicating that the signal is related to extension movement; when X i >-T, the comparator outputs 0, indicating that this signal is not related to extension movement.

[0096] S05: Evaluate the detection performance using TPR (True Positive Rate) to measure sensitivity, PPV (Positive Predictive Value) to measure accuracy, and TF (True-False difference) as a comprehensive evaluation index;

[0097] Mark the significant flexion-related peaks and extension-related peaks as absolute truth (ground truth) through manual observation. Match the detection results of the proposed adaptive method with the absolute truth, and calculate TPR (True Positive Rate) to measure sensitivity, PPV (Positive Predictive Value) to measure accuracy, and TF (True-False difference) as a comprehensive evaluation index to evaluate the detection performance.

[0098] For the detection performance evaluation using receiver operating characteristic curve analysis with a binary classification model, TPR, PPV, and TF are respectively:

[0099]

[0100]

[0101]

[0102] Among them, TP means that the model prediction is Positive and is accurate, TN means that the model prediction is Negative and is correct, FP means that the model prediction is Positive and is wrong, and FN means that the model prediction is Negative and is wrong.

[0103] Since the data of a single trial is usually unstable, the average EEG of three consecutive trials is used as the test unit. In addition, the proposed method is compared with the traditional threshold segmentation method, and the threshold is set to 90% of the maximum value of the sample to ensure a similar false alarm rate.

[0104] like Figure 7 As shown in the figure, the absolute truth value and the detection movement related points of the typical shoulder movement EEG detection results. From top to bottom, the TFs obtained by the threshold segmentation method are 0.3429, 0.3500 and 0.0992, respectively, while the TFs obtained by the proposed adaptive detection method are 0.7733, 0.8560 and 0.7992, respectively. Despite the differences in size, shape and width, the proposed method accurately detects the peaks related to the flexion and extension movements of the subject compared to the threshold segmentation.

[0105] like Figure 8 As shown in the figure, the typical elbow movement EEG detection results are similar to shoulder movement. This embodiment achieves higher TFs of 0.7514, 0.5208, and 0.4136, respectively, while the TFs obtained by the threshold segmentation method are 0.0417, 0.0830, and 0.0205, respectively. It can be found that the signal-to-noise ratio during elbow movement is lower than that during shoulder movement, and this embodiment can still detect the peaks related to movement well. However, in some cases, multiple false targets formed by high-amplitude noise are detected near the movement-related peaks, and the reduction in TPR causes the TF to decrease accordingly.

[0106] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0107] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. An adaptive detection method for asynchronous upper limb movement EEG signals, characterized in that: The following steps are involved: S01: Collect EEG signals during asynchronous upper limb movements; S02: pre-processing the collected EEG signals by amplifying, filtering and removing fluctuations; S03: extracting baseline data of the idle state and establishing a baseline model; the step S03 specifically includes: S31: The motion-related EEG is considered as a useful signal, and the idle EEG is considered as background noise. In the interval between adjacent single trials of a group of experiments, the EEG signal in the idle state is extracted as the baseline data; S32: Fit the data using Weibull distribution, normal distribution, Rayleigh distribution, lognormal distribution and gamma distribution respectively, and select the baseline model with good fitting effect; S04: deriving a decision threshold according to the baseline model, determining whether the signal is related to the movement, and identifying the flexion movement and extension movement in the asynchronous upper limb movement from the signal; the step S04 specifically includes: S41: Estimate the noise power parameters of the baseline model; S42: deriving the decision threshold; S43: averaging the data of the sliding window to obtain a signal windowed average signal X i , suppress discrete high-amplitude noise; S44: Window the signal and average the signal X i Compare with threshold T; The flexion-related peak is determined by the threshold T. When X i > T, the comparator outputs 1, indicating that the signal is related to the flexion action; when X i < T, the comparator outputs 0, indicating that the signal is not related to the flexion action; The stretch correlation peak is determined by the threshold -T. i When <-T, the comparator outputs 1, judging that the signal is related to the stretching action; when X i >-T, the comparator outputs 0, judging that this signal is irrelevant to the stretching action; S05: The detection performance is evaluated using TPR for measuring sensitivity, PPV for measuring accuracy, and TF, a comprehensive evaluation index.

2. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The step S01 specifically includes: S11: Subjects performed upper limb exercises; The subjects performed self-paced upper limb movements and generated trigger signals for the start and end of the movement through switches when lifting and lowering the load; S12: Record EEG signals using active electrodes.

3. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The asynchronous upper limb movement is collected. When performing asynchronous upper limb movement of shoulder movement and elbow movement, the experiment is divided into four stages: rest, flexion, holding and extension.

4. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The S02 specifically includes: S21: amplifying the collected EEG signal; The EEG collected from the measurement point is amplified, A / D converted through the interface board, and the raw data is recorded by the Linux PC; S22: raw data filtering; The baseline drift was eliminated by using a Butterworth high-pass filter (HPF) with a cutoff frequency of 0.1 Hz, and then the EEG signal of 0.1 to 45 Hz was extracted using a Butterworth low-pass filter (LPF) with a cutoff frequency of 45 Hz; S23: Generate average channel signal to remove global background fluctuations; As shown in formula (1), the weight coefficients of multiple channels are set to obtain the average channel signal: in, is the average channel signal, is the average channel signal of F1, F2, Cp3, C5, and C6, is the average channel signal of Cz and Pz, and Cp4 is the channel signal of Cp4.

5. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The baseline model is a log-normal distribution model.

6. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The threshold is set to 90% of the sample maximum value.

7. The adaptive detection method of asynchronous upper limb movement EEG signals as claimed in claim 1, characterized in that: The step S05 is specifically as follows: The significant flexion-related peaks and extension-related peaks were marked as the absolute truth values ​​through manual observation, the detection results of the proposed adaptive method were matched with the absolute truth values, and the TPR for measuring sensitivity, the PPV for measuring accuracy, and the comprehensive evaluation index TF were calculated to evaluate the detection performance.

8. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the adaptive detection method of asynchronous upper limb movement EEG signals described in any one of claims 1-7 is implemented.