A human-machine control multi-modal signal recognition prediction system

By using multimodal synchronous acquisition and dual-layer LSTM network to optimize feature extraction, the problems of large signal timing alignment error and fragmented measurement dimensions in human-computer interaction control are solved, enabling more accurate prediction and evaluation of interactive actions and improving the comparability and traceability of the system.

CN123178787APending Publication Date: 2026-11-27NAVAL UNIV OF ENG PLA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611491256.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

Smart Images

  • Figure CN123178787A_ABST
    Figure CN123178787A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of human-machine neuromuscular interaction control, and particularly relates to a human-machine control multi-modal signal recognition and prediction system, which comprises a multi-modal synchronous acquisition module, a signal preprocessing module, a feature extraction module and an interaction prediction module; the multi-modal synchronous acquisition module acquires signals based on a distributed acquisition array; the signal preprocessing module optimizes data through preprocessing operations; the feature extraction module performs time-frequency domain feature extraction and optimizes feature sets; and the interaction prediction module predicts interaction actions according to the finally determined feature combination category. In the case of facing massive electroencephalogram and electromyogram data signals and various types of features, the present application can fully combine system computing power and task requirements, perform targeted feature optimization and combination, and realize effective identification of interaction action intentions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of human-computer neuromuscular interaction control technology, specifically to a human-computer control multimodal signal recognition and prediction system. Background Technology

[0002] Neuromuscular control is a core physiological process in which the central nervous system regulates muscle activation, coordinated contraction, and limb motor output through neural pathways. Measurability, assessability, and a closed-loop feedback mechanism are the core foundations for human-computer interaction control and functional evaluation. Existing technologies of this kind have the following shortcomings: lack of measurability, mostly relying on single surface electromyography (EMG) or joint angle acquisition, lacking simultaneous acquisition of multimodal data including EEG neural drive, muscle mechanics, and motor posture; large signal timing alignment errors, unable to capture millisecond-level neuromuscular response timing; fragmented measurement dimensions, unable to fully characterize the entire neuromuscular control chain; poor analysis and prediction effects, existing commercial solutions only analyze EMG amplitude and joint angle in isolation, without establishing deep feature continuous change correlation prediction; evaluation results are greatly affected by human factors, lack comparability, and are untraceable. Summary of the Invention

[0003] The purpose of this invention is to provide a multimodal signal recognition and prediction system for fields such as human-machine control, which can better achieve multimodal data feature optimization extraction among electroencephalogram (EEG) signals, electromyogram (EMG) signals, and interactive action data, and can better achieve complex interactive action prediction and analysis based on EMG signals.

[0004] To achieve the above objectives, the present invention adopts the following technical solution.

[0005] A human-machine control multimodal signal recognition and prediction system includes a multimodal synchronous acquisition module, a signal preprocessing module, a feature extraction module, and an interactive prediction module;

[0006] The multimodal synchronous acquisition module acquires EEG signals, EMG signals, and joint motion posture signals based on a distributed acquisition array, and establishes a synchronous acquisition mechanism between signals based on a centralized synchronization network.

[0007] The signal preprocessing module preprocesses the raw data output by the synchronous acquisition module to optimize the data.

[0008] The feature extraction module extracts basic time-frequency domain features of EEG and EMG signals based on a unified time window. Based on these basic time-frequency domain features, it then performs feature set optimization, specifically:

[0009] Establish the original dataset of signals related to human-computer interaction tasks; divide the training and test sets using stratified random sampling; build classification and regression trees based on the random forest classification method; complete the training of classification and regression trees for all training subsets; for each category, count the total number of decision trees for that category as the base score, and use the single-tree classification accuracy corresponding to each training subset. The final score is obtained by weighting the base scores and calculating the weights. The category with the highest final score is then selected as the category. This refers to the number of correctly classified samples. For training subset The total number of samples in the corresponding out-of-bag dataset; by perturbing the sample feature values, the decision tree is reused to classify and predict the new out-of-bag dataset, and the number of correctly classified samples is counted. Calculate the importance score for each feature type. ; 'a' represents the feature class; based on the importance ranking of the feature classes, the feature classes are selected as the final feature class combination;

[0010] The interactive prediction module acquires signal data based on the final determined feature combination category, and simultaneously acquires motion data collected by the nine-axis inertial measurement unit, establishing a joint feature vector X composed of signal data and motion data; a two-layer LSTM network is established for interactive motion prediction, wherein the input of the first layer of the two-layer LSTM network at each time step t is... Cell state of the first layer of the LSTM network at time t-1 Dimensions of hidden layers The output is the hidden layer dimension of the first-layer LSTM network at the current time step. and cell state The input of the second-layer LSTM network at each time step t is the dimension of the hidden layer of the first-layer LSTM network. And the hidden layer dimension of the second-layer LSTM network at time t-1 and cell state The output is the hidden layer dimension of the second-layer LSTM network at the current time step. and cell state .

[0011] A further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system includes a multimodal synchronous acquisition module comprising an EEG electrode array, a surface electromyography electrode array, a nine-axis inertial measurement unit, and a data synchronization network. The data synchronization network includes a master clock source based on a temperature-compensated crystal oscillator, a differential signal circuit, and a phase-locked loop circuit. The master clock source based on the temperature-compensated crystal oscillator generates a master clock signal for synchronous triggering. Each sensor synchronously acquires the master clock signal through the differential signal circuit. The phase-locked loop circuit is built into the acquisition circuit of each sensor or sensor array to lock the master clock signal.

[0012] In a further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system, the preprocessing operation specifically refers to the preprocessing of electroencephalogram (EEG) signals, the preprocessing of electromyogram (EMG) signals, and the preprocessing of nine-axis inertial measurement data.

[0013] Preprocessing of EEG signals includes:

[0014] B1. Amplification and filtering processing refer to: EEG signal preamplification processing based on instrumentation amplifier, common-mode suppression processing based on hardware or common-mode cancellation algorithm, DC drift filtering processing based on high-pass Butterworth filter, high-frequency noise filtering processing based on low-pass Butterworth filter, and power frequency interference filtering processing based on adaptive notch filter.

[0015] B2. Artifact Removal

[0016] ① Removal of electrooculography artifacts from EEG signals

[0017] By acquiring clean eye movement and blink data as artifact reference templates, wavelet transform was used to analyze EEG signals containing oculomotor artifacts. The process involves decomposition, where each wavelet coefficient is further decomposed into several intrinsic mode functions based on empirical mode decomposition. All intrinsic mode functions of each wavelet coefficient are then input into an independent component analysis tool to separate the electroencephalogram (EEG) and electrooculogram (EOG) components. An approximate entropy threshold method is used to identify the EOG independent components. A template matching algorithm is then used to calculate the correlation coefficient between each component and the template to identify EOG-related components. After removing the identified EOG components, the EEG signal is reconstructed, retaining the effective EEG information.

[0018] ②Removal of ECG artifacts

[0019] The preprocessed EEG signal was segmented into K consecutive, non-overlapping signal segments. For each segment of the signal (j=1,…,J), adaptive threshold R-peak detection is performed. Local peak search is conducted near each detected R-peak position to determine the maximum value, and the initial R-peak position is found and stored. Using the detected R-peak position as a synchronization point, a detection window of -60ms to +80ms is used to obtain the average baseline of the R-peak position. ; Calculate the average baseline The Pearson correlation between the signal segment waveform and the signal segment is used. If the correlation and waveform amplitude are higher than a preset threshold, the signal segment is assigned to the ECG signal class. It is determined whether the peak frequency of the signal segment in the ECG signal class is within the normal heart rate frequency range. If not, it is marked as a non-ECG signal. The signal is reconstructed based on the independent components of the ECG signal that have been removed.

[0020] ③ Motion artifact removal:

[0021] The signal containing artifacts is decomposed into multiple intrinsic mode functions (IMFs) using an integrated empirical mode decomposition algorithm, so that different types of signal components are separated into different frequency bands and scales. The IMFs are further separated into source signals using a blind source separation tool to output correlation coefficients. The obtained correlation coefficients and wavelet transform algorithm are used to identify and locate the time-frequency domain features of the artifact components. The Pearson correlation coefficient is used to evaluate the wavelet transform results, and components highly correlated with motion artifacts are identified and removed. The remaining wavelet modes after artifact removal are used to reconstruct the signal, and finally, the reconstructed motion artifact-free signal is output.

[0022] In a further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system, the EEG signal features and EMG signal features include statistical features related to the time and frequency domains of the signals; the categories of signal statistical features include: the average value, standard deviation, average absolute value of the difference, normalized length density, and event correlation / decorrelation synchronization index; the categories of energy statistical features include: power, power spectral density, squared value of signal amplitude, and average power.

[0023] In a further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system, the features also include signal oscillation features based on the centered processing of EEG or EMG signals, and the specific extraction method is as follows:

[0024] Sequences of EEG or EMG signals from each channel Subtract its arithmetic mean A signal sequence with a mean of zero was obtained. ; It refers to the sampled value of the EEG signal of the nth channel at sampling point t, where T refers to the total number of sampling points;

[0025] Select an appropriate filter based on the effective bandwidth of the signal, and use several filters. Process the signal sequence to obtain the processed filtered sequence. ;

[0026] Based on the filter sequence The sequence of positive and negative value changes determines the oscillation characteristics of the signal, denoted as: .

[0027] In a further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system, the feature set preferably includes:

[0028] S1. Based on the actions related to human-computer interaction tasks, extract multi-dimensional features for each signal frame and construct feature vectors; label all the feature vectors of all frames with the corresponding interactive actions to complete the labeling of signal features and establish the original dataset of signals related to human-computer interaction tasks; use stratified random sampling to divide the training set D and the test set T in a 7:3 ratio to ensure that the category distribution of the training set and the test set is consistent with the original data.

[0029] S2. Based on the random forest classification method, determine the total number of decision trees N∈[100, 200] according to the complexity of the signal and the system's computing power resources.

[0030] Perform N bootstrap samplings with replacement on the training set D: each sampling has the same sample size as the original training set D, resulting in a training subset containing approximately a portion of the samples from the training set D. The remaining unselected samples are used to create an out-of-bag dataset for the training subset, which is then used for subsequent single-tree performance validation; this results in N independent training subsets D = ... , and the corresponding out-of-bag dataset;

[0031] S3. For each training subset, use the Gini coefficient. The CART decision tree is constructed using node splitting metrics. This refers to the proportion of the k-th type of action samples within a node, where K represents the total number of action categories; specifically:

[0032] For each training subset Starting from the root node, recursively execute the following process to generate the i-th decision tree. :

[0033] a. Randomly select j features (j∈[5,8]) from M features. For each continuous feature, iterate through all possible binary thresholds and calculate the Gini coefficient corresponding to each threshold. Select the feature with the largest Gini coefficient and its corresponding threshold as the splitting rule for that node. If the current node satisfies any of the following conditions, mark it as a leaf node and stop splitting: ① The criteria for a node to be considered are: ① All samples within a node belong to the same category; ② The number of samples within a node is ≤ 1; ③ All samples within a node have identical feature values; ④ Based on k randomly selected features, the Gini coefficient after splitting is... ;

[0034] b. Set the most lenient growth stopping condition, allowing the decision tree to grow completely to the point where it can no longer split. Divide the current node sample into left and right leaf nodes according to the optimal splitting rule. Repeat step a for the leaf nodes until all branches reach the leaf nodes. Label the leaf nodes with the category that has the most leaf node samples.

[0035] S4. Complete the training of classification and regression trees for all training subsets to obtain a random forest consisting of N classification and regression trees. Input the test set samples into each decision tree in the forest. Starting from the root node of the decision tree, the system traverses downwards based on the node's splitting features and thresholds. Upon reaching a leaf node, the system outputs the action category classification result of the decision tree for the training set samples. The single-tree classification accuracy is then tested using the out-of-bag dataset corresponding to the training subset.

[0036] S5. Calculate the classification results of all decision trees. For each category, use the total number of decision trees for that category as the base score, and then use the single-tree classification accuracy corresponding to each training subset. The final score is obtained by weighting the base scores and calculating the weights. The category with the highest final score is then selected as the category. This refers to the number of correctly classified samples. For training subset The total number of samples in the corresponding out-of-bag dataset

[0037] S6. For each feature type, perturb the sample feature values ​​in the out-of-bag dataset to obtain a new out-of-bag dataset. Re-apply the decision tree to classify and predict the new out-of-bag dataset, and count the number of correctly classified samples. Calculate the importance score for each feature type. ; 'a' represents the feature class; based on the importance ranking of the feature classes, the feature classes are selected as the final feature class combination.

[0038] In a further improvement or preferred embodiment of the aforementioned human-machine control multimodal signal recognition and prediction system, the specific process of interactive prediction includes:

[0039] S1. Based on the final determined feature combination category, acquire signal data and motion data collected by the nine-axis inertial measurement unit, and establish a joint feature vector X composed of signal data and motion data;

[0040] S2. Real-time inference using a sliding window: Set the time scale of the time window based on the interactive action features, update the input window, input the trained two-layer LSTM model, and output the probability of future action categories or the action trajectory at several future time steps.

[0041] Further improvements or preferred implementations of the aforementioned human-machine control multimodal signal recognition and prediction system include: for long-term continuous actions, a sliding voting method is adopted, which uses the prediction results of several consecutive time windows for voting; 8. Kalman filtering is used to smooth the predicted action trajectory to eliminate jitter, and prediction results with a classification probability lower than 0.7 are marked as "uncertain" to avoid misjudgment.

[0042] Based on fundamental technologies such as optimized processing of EEG signals, EMG signals, and joint motion posture signals, this application creates an interactive action prediction system based on EEG and EMG signals by combining targeted feature selection and feature association. Faced with massive amounts of EEG and EMG data signals and various feature types, this system can fully combine system computing power and task requirements to perform targeted feature optimization and combination, thereby achieving effective identification of interactive action intentions and applying it to fields such as body movement assessment and human-computer interaction control. Attached Figure Description

[0043] Figure 1 This is a functional flowchart of a human-machine control multimodal signal recognition and prediction system. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0045] This application relates to a human-computer control multimodal electromyography signal recognition system and prediction method, which is mainly used in the fields of neuromuscular measurement and control and interactive prediction analysis, including but not limited to functional scenarios such as body movement ability analysis and interactive intention prediction, such as movement analysis, injury / rehabilitation assessment, human-computer interaction and brain-computer control.

[0046] The technical solution of this application is applied to the fields of neuromuscular control research, sports biomechanics, and human-computer control interaction. The multimodal synchronous acquisition module is the foundation of data collection and is also one of the basic modules of the system of this application.

[0047] The multimodal synchronous acquisition module is used for the acquisition and capture of core data. It captures raw data related to the four-dimensional signal chain of nerve-muscle-mechanics-movement, so as to facilitate subsequent reconstruction and extraction of features related to the brain's motor command issuance and limb movement execution. The multimodal synchronous acquisition module includes data acquisition components and data synchronization components. The data acquisition components consist of an EEG electrode array, a surface electromyography (EMG) electrode array, and a nine-axis inertial measurement unit. The EEG electrode array acquires electrical signals of the motor cortex, the EMG electrode array acquires EMG signals of the target muscle group, the EMG sensor acquires EMG signals of muscle contraction, and the nine-axis inertial measurement unit acquires joint movement posture signals.

[0048] For ease of implementation, the EEG electrode array in this embodiment includes 64 or 128 channels of silver chloride / graphene composite EEG electrodes arranged in an array. The coverage area of ​​the EEG electrode array includes at least the C3, C4, CZ, FC3, and FC4 regions of the motor cortex. In specific implementation, the basic installation configuration of the EEG electrode array is shown in Table 1.

[0049] Table 1. Configuration parameters of EEG array

[0050]

[0051] There are two types of surface electromyography (EMG) signal acquisition devices: needle electrodes and surface electrodes. Needle electrodes have the disadvantage of causing discomfort or pain to the subject. Therefore, in this embodiment, surface patch electrodes are used as the endpoint for EMG data acquisition. The EMG sensor array includes surface electrodes arranged in an array. In the specific implementation process, the basic installation configuration of the EMG sensor array can be referred to Table 2.

[0052] Table 2 Configuration parameters of electromyography sensor array

[0053]

[0054] The nine-axis inertial measurement unit includes an accelerometer, a gyroscope, and a magnetometer; the basic installation configuration of the nine-axis inertial measurement unit can be found in Table 3 during implementation.

[0055] Table 3 Configuration parameters of the nine-axis inertial measurement unit

[0056]

[0057] To effectively preserve the data correlation between EEG and EMG data and joint movements, this module constructs a data synchronization network based on a "distributed acquisition + centralized synchronization" architecture. This ensures that all sensor nodes are triggered for sampling by a unified clock source, guaranteeing that the time alignment error of each modality signal is ≤10ms, and that the sampling rate is uniformly configured to be no less than 1000Hz (which can be expanded as needed, such as to 2000Hz), ensuring accurate and measurable physical signals throughout the entire link. The data synchronization network includes a master clock source based on a temperature-compensated crystal oscillator, a differential signal circuit, and a phase-locked loop circuit. The master clock source based on the temperature-compensated crystal oscillator generates a 1kHz master clock signal for synchronization triggering (frequency accuracy ±0.5ppm, annual aging rate ±1ppm). Each sensor synchronously acquires the master clock signal through the differential signal circuit. The phase-locked loop circuit is built into the acquisition circuit of each sensor or sensor array to lock the master clock signal and ensure clock consistency for continuous sampling.

[0058] As a necessary means of optimizing and organizing raw data, this system also includes a signal preprocessing module. The signal preprocessing and feature extraction module processes and analyzes the raw data such as EEG data, EMG data, and joint motion data output by the synchronous acquisition module. It optimizes the data through preprocessing operations such as noise suppression, artifact removal, and signal enhancement to provide necessary feature data input for motion intention decoding analysis and human-computer interaction control.

[0059] Specifically:

[0060] The preprocessing includes preprocessing for electroencephalogram (EEG) signals, preprocessing for electromyography (EMG) signals, and preprocessing for nine-axis inertial measurement data.

[0061] Preprocessing of EEG signals includes:

[0062] B1. Amplification and filtering processes refer to: pre-amplification of EEG signals based on instrumentation amplifiers (commonly with a gain of 1000 times), common-mode suppression based on hardware or common-mode cancellation algorithms, DC drift filtering based on high-pass Butterworth filters, high-frequency noise filtering based on low-pass Butterworth filters, and power frequency interference filtering based on adaptive notch filters (removing noise signals of specific frequencies).

[0063] B2. Artifact Removal

[0064] ① Removal of electrooculography artifacts from EEG signals

[0065] By acquiring clean eye movement and blink data as artifact reference templates, wavelet transform was used to analyze EEG signals containing oculomotor artifacts. The process involves decomposition, where each wavelet coefficient is further decomposed into several intrinsic mode functions based on empirical mode decomposition. All intrinsic mode functions of each wavelet coefficient are then input into an independent component analysis tool to separate the electroencephalogram (EEG) and electrooculogram (EOG) components. An approximate entropy threshold method is used to identify the EOG independent components. A template matching algorithm is then used to calculate the correlation coefficient between each component and the template to identify EOG-related components. After removing the identified EOG components, the EEG signal is reconstructed, retaining the effective EEG information.

[0066] ②Removal of ECG artifacts

[0067] Independent Component Analysis (ICA): The preprocessed signal is divided into 20-second non-overlapping segments. The InfomaxICA algorithm is performed on each segment to generate independent components. Where n=1,…,N; N is the number of EEG channels;

[0068] Since the order of each component generated by the ICA algorithm is arbitrary, we cannot pre-select components based on prior information; each component must be checked to see if it has activity similar to an ECG signal.

[0069] The basic assumption is that an independent ECG component is similar to a genuine ECG signal in terms of QRS interval, general waveform morphology, and periodicity; since the most prominent feature of an ECG signal is the presence of the QRS complex, this feature is used to identify ECG artifact components. Complete ECG component detection therefore involves two main stages: first, in the independent component... Automatic QRS detection is performed, and then an ECG period classifier determines whether a given component is indeed an ECG artifact component. The specific processing steps include:

[0070] I. Amplitude Range Conversion: Since the output components of the ICA algorithm may have arbitrary scale and polarity, the first step is to scale the independent components to the typical amplitude range of an ECG signal. Specifically:

[0071] Divide the signal into K consecutive non-overlapping signal segments. j=1,…,J;

[0072] II. Peak detection: The signal is segmented and R-peak detection is performed with an adaptive threshold. Local peak search is performed near each detected R-peak position to determine the maximum value, find the initial R-peak position and store it.

[0073] III. Signal Classification: The goal of the classification phase is to verify whether the detected peaks can be attributed to cardiac activity. If these peaks do not exhibit characteristic ECG properties (periodicity, QRS interval, and amplitude), the independent component will be labeled as a non-ECG component, including:

[0074] Classification: Using the detected R-peak position as the synchronization point, the average baseline of the R-peak position is obtained by using a detection window of -60ms to +80ms. ; Calculate the average baseline The Pearson correlation between the signal segment waveform and the waveform amplitude is used. If the correlation and waveform amplitude are higher than a preset threshold, the signal segment is assigned to the ECG signal class.

[0075] Judgment: Determine whether the peak frequency of the signal segment in the ECG signal category is within the normal heart rate frequency range. If not, mark it as a non-ECG signal.

[0076] IV. Signal Reconstruction: Signal reconstruction is performed based on the removal of independent components from the electrocardiogram signal;

[0077] ③ Motion artifact removal:

[0078] For EEG signals that may contain motion artifacts, after preprocessing, the signal with artifacts is decomposed into multiple intrinsic mode functions (IMFs) using the Ensemble Empirical Mode Decomposition (EEMD) algorithm, so that different types of signal components are separated into different frequency bands and scales. The IMFs are further separated into source signals using blind source separation tools to output correlation coefficients. The obtained correlation coefficients and wavelet transform algorithm are used to identify and locate the time-frequency domain features of the artifact components. The Pearson correlation coefficient is used to evaluate the wavelet transform results, identify and remove components highly correlated with motion artifacts. The remaining wavelet modes after artifact removal are used to reconstruct the signal, and finally output the reconstructed motion artifact-free signal.

[0079] Preprocessing of electromyographic signals includes:

[0080] ① Abnormal data and interference removal: Window sliding median filtering is used to remove slow baseline drift in the muscle relaxation state; abnormal segments with amplitude exceeding the limited range of electromyographic signal value (usually caused by electrode loosening / poor contact, etc.) are detected and marked as invalid frames, and the activation mean of the first 100ms is used to complete the frame; fast ICA is used to separate signal crosstalk between adjacent muscles to avoid non-target muscle activation interfering with intention recognition.

[0081] ② Signal feature optimization: Butterworth bandpass filtering and wavelet decomposition reconstruction are used to remove low-frequency motion artifacts and high-frequency equipment noise, remove white noise in electromyography signals, and reveal and preserve transient mutation features of muscle activation.

[0082] Preprocessing for nine-axis inertial measurement data typically involves specific noise reduction methods for each sub-sensor, as well as data correction procedures such as error correction and zero-point drift correction. These methods are commonly used in the application of the corresponding sensors and will not be elaborated upon here.

[0083] To achieve interactive action prediction and analysis based on EEG and EMG signals, it is necessary to extract essential data features from massive amounts of data for correlation mapping, thus including a feature extraction module.

[0084] (3) Feature extraction module

[0085] In this application, the feature extraction module extracts and analyzes EEG signal features and EMG signal features based on a unified time window to ensure the temporal consistency of the features; the feature extraction and analysis based on a unified time window means: using a time window with a window length of 200~1000ms and a step size of 50~100ms to obtain signal segments for feature extraction.

[0086] The EEG and EMG signal features include statistical features related to the time and frequency domains of the signals; the categories of signal statistical features include: signal mean, standard deviation, average absolute value of difference, normalized length density, and event correlation / decorrelation synchronization index; the categories of energy statistical features include: power, power spectral density, squared value of signal amplitude, and average power (energy divided by the number of samples).

[0087] Specifically, during interactive control, the oscillation changes in EEG or EMG signals are involved before and after the actual execution of different interactive actions. Based on these oscillation changes, the recognition and analysis of interactive actions / intents during human-computer interaction can be further enhanced. Therefore, this embodiment also includes signal oscillation features based on EEG or EMG signal-centered processing. The specific extraction method is as follows:

[0088] Sequences of EEG or EMG signals from each channel Subtract its arithmetic mean A signal sequence with a mean of zero was obtained. ; It refers to the sampled value of the EEG signal of the nth channel at sampling point t, where T refers to the total number of sampling points;

[0089] Select an appropriate filter based on the effective bandwidth of the signal, and use several filters. Process the signal sequence to obtain the processed filtered sequence. ;

[0090] Based on the filter sequence The sequence of positive and negative value changes determines the oscillation characteristics of the signal, denoted as: ;

[0091] Because electromyography (EMG) and electroencephalography (EEG) signals themselves are highly variable and have many feature types, and it is necessary to comprehensively consider the signal changes of multiple interactive actions, the overall number of features is enormous, containing a large amount of redundancy and ineffective information. Therefore, directly using the time-frequency domain features of the original signals for signal processing is difficult and hinders good industrial applications. Therefore, this application further optimizes the feature set based on the basic time-frequency domain signals. The signal feature optimization and extraction specifically includes:

[0092] S1. Based on the actions related to human-computer interaction tasks, extract multi-dimensional features for each signal frame and construct feature vectors; label all the feature vectors of all frames with the corresponding interactive actions to complete the labeling of signal features and establish the original dataset of signals related to human-computer interaction tasks; use stratified random sampling to divide the training set D and the test set T in a 7:3 ratio to ensure that the category distribution of the training set and the test set is consistent with the original data.

[0093] S2. Based on the random forest classification method, determine the total number of decision trees N∈[100, 200] according to the complexity of the signal and the system's computing power resources.

[0094] Perform N bootstrap samplings with replacement on the training set D: each sampling has the same sample size as the original training set D, resulting in a training subset containing approximately a portion of the samples from the training set D. The remaining unselected samples are used to create an out-of-bag dataset for the training subset, which is then used for subsequent single-tree performance validation; this results in N independent training subsets D = ... , and the corresponding out-of-bag dataset;

[0095] S3. For each training subset, use the Gini coefficient. The CART decision tree is constructed using node splitting metrics. This refers to the proportion of the k-th type of action samples within a node, where K represents the total number of action categories; specifically:

[0096] For each training subset Starting from the root node, recursively execute the following process to generate the i-th decision tree. :

[0097] a. Randomly select j features (j∈[5,8]) from M features. For each continuous feature, iterate through all possible binary thresholds and calculate the Gini coefficient corresponding to each threshold. Select the feature with the largest Gini coefficient and its corresponding threshold as the splitting rule for that node. If the current node satisfies any of the following conditions, mark it as a leaf node and stop splitting: ① The criteria for a node to be considered are: ① All samples within a node belong to the same category; ② The number of samples within a node is ≤ 1; ③ All samples within a node have identical feature values; ④ Based on k randomly selected features, the Gini coefficient after splitting is... ;

[0098] b. Set the most lenient growth stopping condition, allowing the decision tree to grow completely to the point where it can no longer split. Divide the current node sample into left and right leaf nodes according to the optimal splitting rule. Repeat step a for the leaf nodes until all branches reach the leaf nodes. Label the leaf nodes with the category that has the most leaf node samples.

[0099] S4. Complete the training of classification and regression trees for all training subsets to obtain a random forest consisting of N classification and regression trees. Input the test set samples into each decision tree in the forest. Starting from the root node of the decision tree, the system traverses downwards based on the node's splitting features and thresholds. Upon reaching a leaf node, the system outputs the action category classification result of the decision tree for the training set samples. The single-tree classification accuracy is then tested using the out-of-bag dataset corresponding to the training subset.

[0100] S5. Calculate the classification results of all decision trees. For each category, use the total number of decision trees for that category as the base score, and then use the single-tree classification accuracy corresponding to each training subset. The final score is obtained by weighting the base scores and calculating the weights. The category with the highest final score is then selected as the category. This refers to the number of correctly classified samples. For training subset The total number of samples in the corresponding out-of-bag dataset

[0101] S6. For each feature type, perturb the sample feature values ​​in the out-of-bag dataset to obtain a new out-of-bag dataset. Re-apply the decision tree to classify and predict the new out-of-bag dataset, and count the number of correctly classified samples. Calculate the importance score for each feature type. ; 'a' represents the feature class; based on the importance ranking of the feature classes, the feature classes are selected as the final feature class combination;

[0102] (4) Interactive prediction module

[0103] The EEG and EMG signals and interactive action signals in the human-computer interaction control process have temporal continuity. The information flow of their data characteristics can be identified and predicted by long short-term memory artificial neural networks. Based on the basic model of long short-term memory artificial neural networks in this application, a two-layer LSTM network is further optimized to predict interactive actions, so as to solve the problem of large error in the interactive action prediction results of traditional LSTM networks in practical applications.

[0104] The input of the first layer LSTM network of the two-layer LSTM network at each time step t is: Cell state of the first layer of the LSTM network at time t-1 Dimensions of hidden layers The output is the hidden layer dimension of the first-layer LSTM network at the current time step. and cell state ;

[0105] The input to the second-layer LSTM network at each time step t is the dimension of the hidden layer of the first-layer LSTM network. And the hidden layer dimension of the second-layer LSTM network at time t-1 and cell state The output is the hidden layer dimension of the second-layer LSTM network at the current time step. and cell state ;

[0106] The specific process of the interactive prediction includes:

[0107] S1. Based on the final determined feature combination category, acquire signal data and motion data collected by the nine-axis inertial measurement unit, and establish a joint feature vector X composed of signal data and motion data;

[0108] S2. Real-time inference using a sliding window: Set the time scale of the time window based on the interactive action features, update the input window, input the trained two-layer LSTM model, and output the probability of future action categories or the action trajectory at several future time steps.

[0109] Furthermore, a sliding voting method is adopted, which uses the prediction results of several consecutive time windows to vote, in order to improve the accuracy of the prediction results of long-delay actions. Kalman filtering is used to smooth the predicted action trajectory to eliminate jitter. At the same time, prediction results with a classification probability of less than 0.7 are marked as "uncertain" to avoid misjudgment.

[0110] In training the electromyography-muscle strength prediction model, this embodiment selected the same group of experimental subjects to conduct several sets of interactive motion data to be analyzed for training. Repeated, disordered, and interleaved tests were performed on several different types of hand, foot, and torso movements. Each set of movements was executed a total of twenty times, with an interval of 5-10 seconds between each movement. After removing invalid data, the final motion prediction results are shown in Table 4.

[0111] Table 4. Action type and the accuracy of its prediction results

[0112]

[0113] The test data shows that, based on the prediction method of this application, the general prediction accuracy of the movement type reaches 71.6% to 86.7% under different movement characteristics of different experimental subjects. The accuracy of different movement regions varies depending on the differences between different experimental subjects, but the average prediction accuracy of all movement regions exceeds 80%, and the accuracy of specific regions of some experimental subjects reaches 92.5%. It is speculated that this is because the EEG or EMG signal changes in specific regions of experimental subjects are richer and more obvious. It also indicates that there may be certain differences between different movement types in different regions for different experimental subjects. In the specific implementation process, targeted optimization of needle data collection can be carried out according to the characteristics of specific subjects, which can further improve the prediction accuracy.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the essence and scope of the technical solutions of the present invention.

Claims

1. A human-machine control multimodal signal recognition and prediction system, characterized in that, It includes a multimodal synchronous acquisition module, a signal preprocessing module, a feature extraction module, and an interactive prediction module; The multimodal synchronous acquisition module acquires EEG signals, EMG signals, and joint motion posture signals based on a distributed acquisition array, and establishes a synchronous acquisition mechanism between signals based on a centralized synchronization network. The signal preprocessing module preprocesses the raw data output by the synchronous acquisition module to optimize the data. The feature extraction module extracts basic time-frequency domain features of EEG and EMG signals based on a unified time window. Based on these basic time-frequency domain features, it then performs feature set optimization, specifically: Establish the original dataset of signals related to human-computer interaction tasks; divide the training and test sets using stratified random sampling; build classification and regression trees based on the random forest classification method; complete the training of classification and regression trees for all training subsets; for each category, count the total number of decision trees for that category as the base score, and use the single-tree classification accuracy corresponding to each training subset. The final score is obtained by weighting the base scores and calculating the weights. The category with the highest final score is then selected as the category. This refers to the number of correctly classified samples. For training subset The total number of samples in the corresponding out-of-bag dataset; by perturbing the sample feature values, the decision tree is reused to classify and predict the new out-of-bag dataset, and the number of correctly classified samples is counted. Calculate the importance score for each feature type. ; 'a' represents the feature class; Based on the importance ranking of feature classes, feature classes are selected as the final feature class combination; The interactive prediction module acquires signal data based on the final determined feature combination category, and simultaneously acquires motion data collected by the nine-axis inertial measurement unit, establishing a joint feature vector X composed of signal data and motion data; a two-layer LSTM network is established for interactive motion prediction, wherein the input of the first layer of the two-layer LSTM network at each time step t is... Cell state of the first layer of the LSTM network at time t-1 Dimensions of hidden layers The output is the hidden layer dimension of the first-layer LSTM network at the current time step. and cell state The input of the second-layer LSTM network at each time step t is the dimension of the hidden layer of the first-layer LSTM network. And the hidden layer dimension of the second-layer LSTM network at time t-1 and cell state ; The output is the hidden layer dimension of the second-layer LSTM network at the current time step. and cell state .

2. The human-machine control multimodal signal recognition and prediction system according to claim 1, characterized in that, The multimodal synchronous acquisition module consists of an EEG electrode array, a surface electromyography electrode array, a nine-axis inertial measurement unit, and a data synchronization network. The data synchronization network includes a master clock source based on a temperature-compensated crystal oscillator, a differential signal circuit, and a phase-locked loop circuit. The master clock source based on the temperature-compensated crystal oscillator generates a master clock signal for synchronous triggering. Each sensor synchronously acquires the master clock signal through the differential signal circuit. The phase-locked loop circuit is built into the acquisition circuit of each sensor or sensor array to lock the master clock signal.

3. The human-machine control multimodal signal recognition and prediction system according to claim 1, characterized in that, The preprocessing operation specifically refers to the preprocessing of electroencephalogram (EEG) signals, the preprocessing of electromyography (EMG) signals, and the preprocessing of nine-axis inertial measurement data. Preprocessing of EEG signals includes: B1. Amplification and filtering processing refer to: EEG signal preamplification processing based on instrumentation amplifier, common-mode suppression processing based on hardware or common-mode cancellation algorithm, DC drift filtering processing based on high-pass Butterworth filter, high-frequency noise filtering processing based on low-pass Butterworth filter, and power frequency interference filtering processing based on adaptive notch filter. B2. Artifact Removal ① Removal of electrooculography artifacts from EEG signals By acquiring clean eye movement and blink data as artifact reference templates, wavelet transform was used to analyze EEG signals containing oculomotor artifacts. The process involves decomposition, where each wavelet coefficient is further decomposed into several intrinsic mode functions based on empirical mode decomposition. All intrinsic mode functions of each wavelet coefficient are then input into an independent component analysis tool to separate the electroencephalogram (EEG) and electrooculogram (EOG) components. An approximate entropy threshold method is used to identify the EOG independent components. A template matching algorithm is then used to calculate the correlation coefficient between each component and the template to identify EOG-related components. After removing the identified EOG components, the EEG signal is reconstructed, retaining the effective EEG information. ②Removal of ECG artifacts The preprocessed EEG signal was segmented into K consecutive, non-overlapping signal segments. For each segment of the signal (j=1,…,J), adaptive threshold R-peak detection is performed. Local peak search is conducted near each detected R-peak position to determine the maximum value, and the initial R-peak position is found and stored. Using the detected R-peak position as a synchronization point, a detection window of -60ms to +80ms is used to obtain the average baseline of the R-peak position. ; Calculate the average baseline The Pearson correlation between the signal segment waveform and the signal segment is used. If the correlation and waveform amplitude are higher than a preset threshold, the signal segment is assigned to the ECG signal class. It is determined whether the peak frequency of the signal segment in the ECG signal class is within the normal heart rate frequency range. If not, it is marked as a non-ECG signal. The signal is reconstructed based on the independent components of the ECG signal that have been removed. ③ Motion artifact removal: The signal containing artifacts is decomposed into multiple intrinsic mode functions (IMFs) using an integrated empirical mode decomposition algorithm, so that different types of signal components are separated into different frequency bands and scales. The IMFs are further separated into source signals using a blind source separation tool to output correlation coefficients. The obtained correlation coefficients and wavelet transform algorithm are used to identify and locate the time-frequency domain features of the artifact components. The Pearson correlation coefficient is used to evaluate the wavelet transform results, and components highly correlated with motion artifacts are identified and removed. The remaining wavelet modes after artifact removal are used to reconstruct the signal, and finally, the reconstructed motion artifact-free signal is output.

4. The human-machine control multimodal signal recognition and prediction system according to claim 1, characterized in that, The EEG and EMG signal features include statistical features related to the time and frequency domains of the signal; the categories of signal statistical features include: signal mean, standard deviation, average absolute value of difference, normalized length density, event correlation / decorrelation synchronization index; the categories of energy statistical features include: power, power spectral density, squared value of signal amplitude, and average power.

5. The human-machine control multimodal signal recognition and prediction system according to claim 4, characterized in that, The features also include signal oscillation features based on the centering processing of EEG or EMG signals, and the specific extraction method is as follows: Sequences of EEG or EMG signals from each channel Subtract its arithmetic mean A signal sequence with a mean of zero was obtained. ; It refers to the sampled value of the EEG signal of the nth channel at sampling point t, where T refers to the total number of sampling points; Select an appropriate filter based on the effective bandwidth of the signal, and use several filters. Process the signal sequence to obtain the processed filtered sequence. ; Based on the filter sequence The sequence of positive and negative value changes determines the oscillation characteristics of the signal, denoted as: .

6. The human-machine control multimodal signal recognition and prediction system according to claim 1, characterized in that, The preferred feature set specifically includes: S1. Based on the actions related to human-computer interaction tasks, extract multi-dimensional features for each signal frame and construct feature vectors; label all the feature vectors of all frames with the corresponding interactive actions to complete the labeling of signal features and establish the original dataset of signals related to human-computer interaction tasks; use stratified random sampling to divide the training set D and the test set T in a 7:3 ratio to ensure that the category distribution of the training set and the test set is consistent with the original data. S2. Based on the random forest classification method, determine the total number of decision trees N∈[100, 200] according to the complexity of the signal and the system's computing power resources. Perform N bootstrap samplings with replacement on the training set D: each sampling has the same sample size as the original training set D, resulting in a training subset containing approximately a portion of the samples from the training set D. The remaining unselected samples are used to create an out-of-bag dataset for the training subset, which is then used for subsequent single-tree performance validation; this results in N independent training subsets D = ... , and the corresponding out-of-bag dataset; S3. For each training subset, use the Gini coefficient. The CART decision tree is constructed using node splitting metrics. This refers to the proportion of the k-th type of action samples within a node, where K represents the total number of action categories; specifically: For each training subset Starting from the root node, recursively execute the following process to generate the i-th decision tree. : a. Randomly select j features (j∈[5,8]) from M features. For each continuous feature, iterate through all possible binary thresholds and calculate the Gini coefficient corresponding to each threshold. Select the feature with the largest Gini coefficient and its corresponding threshold as the splitting rule for that node. If the current node satisfies any of the following conditions, mark it as a leaf node and stop splitting: ① The criteria for splitting a node are: ① All samples within a node belong to the same category; ② The number of samples within a node is ≤ 1; ③ All samples within a node have identical feature values; ④ Based on k randomly selected features, the Gini coefficient after splitting is... ; b. Set the most lenient growth stopping condition, allowing the decision tree to grow completely to the point where it can no longer split. Divide the current node sample into left and right leaf nodes according to the optimal splitting rule. Repeat step a for the leaf nodes until all branches reach the leaf nodes. Label the leaf nodes with the category that has the most leaf node samples. S4. Complete the training of classification and regression trees for all training subsets to obtain a random forest consisting of N classification and regression trees. Input the test set samples into each decision tree in the forest. Starting from the root node of the decision tree, the system traverses downwards based on the node's splitting features and thresholds. Upon reaching a leaf node, the system outputs the action category classification result of the decision tree for the training set samples. The single-tree classification accuracy is then tested using the out-of-bag dataset corresponding to the training subset. S5. Calculate the classification results of all decision trees. For each category, use the total number of decision trees for that category as the base score, and then use the single-tree classification accuracy corresponding to each training subset. The final score is obtained by weighting the base scores and calculating the weights. The category with the highest final score is then selected as the category. This refers to the number of correctly classified samples. For training subset The total number of samples in the corresponding out-of-bag dataset S6. For each feature type, perturb the sample feature values ​​in the out-of-bag dataset to obtain a new out-of-bag dataset. Re-apply the decision tree to classify and predict the new out-of-bag dataset, and count the number of correctly classified samples. Calculate the importance score for each feature type. ; 'a' represents the feature class; based on the importance ranking of the feature classes, the feature classes are selected as the final feature class combination.

7. The human-machine control multimodal signal recognition and prediction system according to claim 1, characterized in that, The specific process of the interactive prediction includes: S1. Based on the final determined feature combination category, acquire signal data and motion data collected by the nine-axis inertial measurement unit, and establish a joint feature vector X composed of signal data and motion data; S2. Real-time inference using a sliding window: Set the time scale of the time window based on the interactive action features, update the input window, input the trained two-layer LSTM model, and output the probability of future action categories or the action trajectory at several future time steps.

8. The human-machine control multimodal signal recognition and prediction system according to claim 7, characterized in that, For long-term continuous actions, a sliding voting method is used, which votes based on the prediction results of several consecutive time windows.

8. Kalman filtering is used to smooth the predicted action trajectory to eliminate jitter. At the same time, prediction results with a classification probability of less than 0.7 are marked as "uncertain" to avoid misjudgment.