Knee joint angle prediction device and method based on physical topological characteristics

Through the knee joint angle prediction method based on physical topological characteristics, using graph neural network and multiple weight screening technologies, the problems of difficulty in installing the knee joint angle prediction device and low accuracy in the existing technology are solved, and the prediction accuracy is significantly improved. and system simplicity.

CN118614869AActive Publication Date: 2024-09-10BEIJING INST OF TECH
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202410223160.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-09-10
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

Existing knee joint angle prediction devices have problems such as difficulty in equipment installation, large interference to human movement, and low prediction accuracy.

Method used

A knee joint angle prediction method based on physical topological characteristics is used to collect muscle electrical signals and inertial sensing signals, perform filtering and normalization preprocessing, extract feature data, and convert it into graph data and input it into the graph neural network for prediction. Use multiple weight evaluation methods to screen features and improve prediction accuracy.

Benefits of technology

Improved the accuracy of knee joint angle prediction, reduced equipment installation difficulty and system implementation complexity, measured fitting goodness increased by 6%, the deviation between actual values ​​and predicted values ​​dropped to 60.5% on average, expected and observed values The linear relationship between

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614869A
    Figure CN118614869A
Patent Text Reader

Abstract

The invention belongs to the technical field of motion capture, and discloses a knee joint angle prediction device and method based on physical topological characteristics. The method comprises the following steps: acquiring knee joint measurement data including an electromyographic signal and an inertial sensing signal, and carrying out filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data; performing feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data; converting the knee joint feature data into graph data comprising nodes and edges; and inputting the graph data into the graph neural network, and outputting to obtain a predicted knee joint angle. The device depends on a leg ring and comprises data acquisition equipment, a data preprocessing unit, a data feature processing unit, a graph data processing unit and a graph neural network unit. The knee joint angle prediction method improves the knee joint angle prediction accuracy. The device has the advantages of being easy and convenient to install and small in interference on human body movement, and can accurately predict the angle of the knee joint.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of human motion capture, and in particular to a device and method for predicting knee joint angle based on physical topological characteristics. Background Art

[0002] In recent years, with the development of science and technology, people's demand for exoskeleton robots in the fields of medical rehabilitation, industry, military, etc. has been increasing, and the application scope of exoskeleton robots has been expanding. The prediction of knee joint angle is an important part of the continuous and smooth control of exoskeleton. Especially in the field of medical rehabilitation, with the significant increase in hemiplegic patients caused by aging population and cerebrovascular disease, exoskeleton robots that can provide functions such as sports assistance and rehabilitation training for the rehabilitated have become a hot topic of research. Since the accurate prediction of lower limb angle can significantly improve the human-machine coordination performance, the prediction of knee joint angle has become an important technical link.

[0003] In the prior art, surface electromyography (sEMG) is usually collected using dispersed surface muscle electrodes, and a neural network prediction model is used to predict the human knee joint angle, such as BP, CNN and Bi-LSTM neural networks. Existing detection devices have problems such as complex and time-consuming deployment, difficulty in locating muscles in specific parts, and wearing devices that affect normal human movement.

[0004] In terms of data collection, most existing knee angle prediction devices use dispersed electrodes. There are a large number of electrodes, and each electrode needs to be precisely positioned at the position of the muscle. However, due to individual differences, the position of the muscle cannot be accurately predicted, making the installation of the equipment very difficult. In addition, the dispersed electrodes make it difficult for the subjects to adapt to the equipment quickly, which greatly interferes with human movement.

[0005] In terms of prediction accuracy, most existing studies use a continuous motion estimation model based on principal component analysis and regularized extreme learning machine, with a root mean square error of 8.478, and use a BP neural network for angle estimation, with a predicted knee angle error of 3.25% to 11.65%. Therefore, the existing technology for predicting knee angles has problems such as difficulty in equipment installation, great interference with human motion, and low prediction accuracy.

[0006] In view of this, how to improve the accuracy of knee joint angle prediction while reducing the difficulty of equipment installation and the complexity of methods as much as possible has become a technical problem that urgently needs to be solved. Summary of the invention

[0007] The purpose of the present invention is to address the problems of low knee joint angle prediction accuracy and high system implementation complexity, and propose a knee joint angle prediction device and method based on physical topological characteristics, which is committed to improving the accuracy of knee joint angle prediction while reducing the system implementation complexity as much as possible.

[0008] In order to achieve the above object, the present invention provides the following technical solutions:

[0009] A method for predicting knee joint angle based on physical topological characteristics, comprising:

[0010] Collecting knee joint measurement data, wherein the knee joint measurement data includes muscle electrical signals and inertial sensor signals;

[0011] Performing filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data;

[0012] Perform feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data;

[0013] Convert knee joint feature data into graph data including nodes and edges;

[0014] The graph data is input into the graph neural network, and the predicted knee joint angle is output;

[0015] The muscle electrical signal is a surface signal of the knee joint muscle and is collected by configuring a muscle electrical signal collection unit; the inertial sensor signal is collected by an inertial sensor unit located at the knee joint; the muscle electrical signal collection unit includes a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscle.

[0016] The surface muscle electrical electrodes are distributed and arranged according to the physical topological characteristics of the knee joint muscles.

[0017] The filtering and normalization preprocessing of the knee joint measurement data to obtain normalized knee joint measurement data includes: performing high-pass filtering on the muscle electrical signal after removing the baseline; performing low-pass filtering on the inertial sensor signal; and normalizing the muscle electrical signal and the inertial sensor signal after the filtering process respectively to obtain the normalized muscle electrical signal and the normalized inertial sensor signal.

[0018] The feature extraction and feature screening of normalized knee joint measurement data include: extracting knee joint feature data including time domain features, transform domain features, and time advance features from the normalized knee joint measurement data; using one or more weight evaluation methods to perform weight evaluation on the knee joint feature data and weight sorting them respectively; screening multiple common features from one or more weight sorting sequences according to weight thresholds as screened knee joint feature data. The weight evaluation methods include a weight calculation method based on the NCFS method, a weight calculation method using the maximum correlation minimum redundancy method, and a weight calculation method based on relief screening.

[0019] The method converts the knee joint feature data into graph data including nodes and edges, including: determining a node feature matrix based on the number of sliding windows and feature data; calculating correlation coefficients of adjacent nodes according to the node feature matrix; and obtaining features of edges between nodes according to the correlation coefficients of adjacent nodes.

[0020] The graph neural network includes a first graph neural sub-network, a second graph neural sub-network, a readout layer, a elimination layer, and a linear layer;

[0021] The step of inputting the graph data into the graph neural network and outputting the predicted knee joint angle includes:

[0022] The first graph neural sub-network is used to perform adjacent aggregation, activation, and pooling processing on each node of the graph data to form a new node feature vector;

[0023] The second graph neural sub-network is used to perform adjacent aggregation, activation, and pooling processing on each new node feature vector to form a new node feature vector again;

[0024] The readout layer is used to obtain the first and second graph neural sub-networks to form new node feature vectors;

[0025] Use the elimination layer to perform random deletion on the new node feature vector;

[0026] The linear layer is used to integrate the feature vector information of the undeleted nodes and perform linear processing to output the predicted knee joint angle.

[0027] Compared with the prior art, the method for predicting knee joint angle based on physical topology proposed in this application has the following beneficial effects:

[0028] 1. Use a leg ring with multiple surface muscle electrodes to collect more biological information;

[0029] 2. Introducing one or more inertial sensor signals can more accurately obtain displacement change information;

[0030] 3. The leg ring is more convenient to wear and can transmit data to the PC wirelessly, reducing interference with human movement and making movement more natural;

[0031] 4. The ring structure of the leg ring matches the physical topological characteristics of the leg. The leg muscles form a tendon that surrounds the patella and forms the patellar ligament downward to end at the tibial tuberosity. The detection electrodes of the leg ring are distributed according to the physical topological characteristics, which can make the measurement data obtained based on the physical topological characteristics of the leg more accurate.

[0032] 5. For the feature screening between muscle electrodes, weights are obtained through a variety of weight calculation methods, and features with higher weight values ​​are selected. The NCFS method, the maximum correlation minimum redundancy method, and the relief method are used under different feature conditions. The node features screened are more significant, which can significantly improve the prediction accuracy;

[0033] 6. The adopted GNN model showed a superior match with the true knee joint angle. The results showed that the statistical measure measuring the goodness of fit increased by 6%, the deviation between the actual and predicted values ​​decreased to an average of 60.5%, and the linear relationship between the expected and observed values ​​improved by an average of 1.5%.

[0034] The present invention also provides a knee joint angle prediction device based on physical topological characteristics, comprising:

[0035] A data acquisition device configured to acquire knee joint measurement data, wherein the knee joint measurement data includes muscle electrical signals and inertial sensor signals;

[0036] A data preprocessing unit is configured to perform filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data;

[0037] A data feature processing unit is configured to perform feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data;

[0038] A graph data processing unit configured to convert the knee joint feature data into graph data including nodes and edges;

[0039] The graph neural network unit is configured to input graph data into the graph neural network, and the graph neural network outputs a predicted knee joint angle.

[0040] The data acquisition device is connected to a data preprocessing unit, the data preprocessing unit is connected to a data feature processing unit, the data feature processing unit is connected to a graph data processing unit, and the graph data processing unit is connected to a graph neural network unit.

[0041] The data acquisition device comprises:

[0042] A muscle electrical signal collection unit is configured to collect muscle electrical signals on the surface of the knee joint muscles;

[0043] an inertial sensor unit configured to collect inertial sensor signals at a knee joint;

[0044] The muscle electrical signal acquisition unit comprises a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles.

[0045] The surface muscle electrical electrodes are distributed and arranged according to the physical topological characteristics of the knee joint muscles.

[0046] Compared with the prior art, the beneficial effects of the device for predicting knee joint angle based on physical topology provided by the present invention are the same as the beneficial effects of the method for predicting knee joint angle based on physical topology described in the above technical solution, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0048] Figure 1 This is a flow chart of a method for predicting knee joint angle based on physical topological characteristics in an embodiment of the present invention;

[0049] Figure 2 Schematic diagram of a knee joint angle prediction device based on physical topological characteristics in an embodiment of the present invention;

[0050] Figure 3 The figure is a schematic diagram of the neural network structure in the embodiment of the present invention;

[0051] Figure 4 This is a schematic diagram of feature weight sorting results in an embodiment of the present invention;

[0052] Figure 5 This is a GraphSAGE1 framework diagram in an embodiment of the present invention;

[0053] Figure 6 This is a graph showing the feature weight sorting results in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0055] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0056] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.

[0057] In the following, a method for predicting the angle of the knee joint based on physical topology is described in detail in conjunction with the accompanying drawings and specific embodiments, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more specific definition of the protection scope of the present invention. ...

[0058] Example 1

[0059] like Figure 1 As shown, a flowchart of a knee joint angle prediction method based on physical topological characteristics is given, including the following steps:

[0060] S1, collecting knee joint measurement data; the knee joint measurement data includes muscle electrical signals and inertial sensor signals; the muscle electrical signals are knee joint muscle surface signals and are collected by configuring a muscle electrical signal collection unit; the inertial sensor signals are collected by an inertial sensor unit located at the knee joint; the muscle electrical signal collection unit includes a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles.

[0061] S2, filtering and normalizing the knee joint measurement data to obtain normalized knee joint measurement data;

[0062] The filtering specifically includes: performing high-pass filtering on the muscle electrical signal after removing the baseline; performing low-pass filtering on the inertial sensor signal to obtain filtered knee joint measurement data; the filtered knee joint measurement data includes the filtered muscle electrical signal and the filtered inertial sensor signal;

[0063] The normalization preprocessing is specifically: normalizing the filtered muscle electrical signal and the filtered inertial sensor signal respectively to obtain normalized knee joint measurement data; the normalized knee joint measurement data includes the normalized muscle electrical signal and the normalized inertial sensor signal;

[0064] The normalization processing includes but is not limited to row normalization, column normalization, norm normalization, maximum and minimum normalization, neural network normalization, logarithmic function normalization and inverse tangent function normalization.

[0065] S3, extracting and screening features of the normalized knee joint measurement data to obtain knee joint feature data;

[0066] The feature extraction step includes extracting the time domain features, transform domain features and time advance features of the pre-processed surface muscle electrical signals and inertial sensor signals. Specifically, the time domain features include variance, root mean square value, integral value, waveform length and average absolute value; the transform domain features include the absolute mean, root mean square value, Wilson amplitude and waveform length of the decomposition coefficients extracted by wavelet transform and wavelet packet decomposition; the time advance features are extracted through the time advance window.

[0067] Preferably, the wavelet transform includes but is not limited to continuous wavelet transform, discrete wavelet transform and stationary wavelet transform. The wavelet base used in the wavelet transform includes but is not limited to db, bior, coif and sym wavelet bases, and: db wavelet bases include: db2, db4, db5, db7 and db8; bior wavelet bases include: bior2.3, bior3.7 and bior6.8; coif wavelet bases include: coif5; sym wavelet bases include: sym2, sym4 and sym8.

[0068] In the feature screening step, specifically: the weights of the multiple features extracted by the multiple feature extraction methods in step S3 are calculated by the NCFS method, the maximum correlation minimum redundancy method and the Relief method respectively, and the weights are sorted to obtain the first, second and third weight sorting sequences;

[0069] The NCFS method is used to calculate the weights of multiple features and sort the weights, specifically:

[0070] The weights of each surface EMG node and inertial sensing feature are determined as:

[0071]

[0072] Wherein, K is the number of nodes. In the specific implementation, K=16; the w f 、w fi 、w adfi are the weights of each feature, each node feature, and the response time predecessor feature; the weight value w for each feature f Sorting is performed to obtain a first weighted sorting sequence.

[0073] The maximum relevance minimum redundancy algorithm is based on an mRMR evaluation algorithm, wherein mRMR is the maximum value of the difference between relevance and redundancy. Given two random variables x and y, whose probability density functions are p(x) and p(y) respectively, the mutual information I(x, y) is:

[0074]

[0075] The p(x, y) is the joint probability density function of the random variables x and y; the correlation between the feature set and the target value is calculated, and the correlation is the average of all mutual information between each feature in the feature set and the target value; the redundancy of all features in the feature set is calculated as the average of all mutual information between two features; finally, the weights of multiple features are calculated based on the maximum correlation minimum redundancy method and the weights are sorted to obtain a second weight sorting sequence.

[0076] Based on Relief screening, feature weights are calculated and weights are sorted to obtain a third weight sorting sequence; wherein, the Relief algorithm assigns different weights to features according to the correlation between each feature and the category, and features with weights less than a certain threshold will be removed; the correlation is based on the ability of the feature to distinguish close samples; the specific operation is: randomly select a sample from the training set, denoted as R, then select the nearest neighbor sample from the same sample, denoted as H, and find the nearest neighbor sample from the sample of a different class from R, denoted as M. If the distance between R and H on a certain feature is less than the distance between R and M, it means that the feature is beneficial to distinguishing the nearest neighbors of the same and different classes, and the weight of the feature is increased; conversely, if the distance between R and H on a certain feature is greater than the distance between R and M, it means that the feature has a negative effect on distinguishing the nearest neighbors of the same and different classes, and the weight of the feature is reduced. The above process is repeated m times, and finally the average weight of each feature is obtained; after weight sorting, the third weight sorting sequence is obtained.

[0077] The top N common features are selected from the first, second and third weight sorting sequences as the knee joint feature data after screening. The feature screening method between the electrode nodes selects features with higher weight values, and comprehensively considers the use of NCFS method, maximum correlation minimum redundancy method and Relief method under different feature conditions, which can effectively improve the prediction accuracy.

[0078] S4, converting the knee joint feature data into graph data including nodes and edges;

[0079] S5, input the graph data into the graph neural network, and output the predicted knee joint angle.

[0080] like Figure 2 As shown, a schematic diagram of a device for predicting the knee joint angle based on physical topology is given, including:

[0081] A data acquisition device configured to acquire knee joint measurement data, wherein the knee joint measurement data includes muscle electrical signals and inertial sensor signals;

[0082] A data preprocessing unit is configured to perform filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data;

[0083] A data feature processing unit is configured to perform feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data;

[0084] A graph data processing unit configured to convert the knee joint feature data into graph data including nodes and edges;

[0085] The graph neural network unit is configured to input graph data into the graph neural network, and the graph neural network outputs a predicted knee joint angle.

[0086] The data acquisition device comprises:

[0087] A muscle electrical signal collection unit is configured to collect muscle electrical signals on the surface of the knee joint muscles;

[0088] an inertial sensor unit configured to collect inertial sensor signals at a knee joint;

[0089] The muscle electrical signal acquisition unit comprises a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles.

[0090] In S1, knee joint measurement data is collected, and muscle electrical signals on the surface of the knee joint muscles are collected using a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles. The knee joint measurement data includes muscle electrical signals and inertial sensor signals; the inertial sensor signal at the knee joint is collected using an inertial sensor unit. The data collection device is specifically a leg ring worn at the knee joint, or a ring-shaped knee brace wrapped around the knee joint, or a brace fixed to the knee joint by a buckle.

[0091] In specific implementation, the data acquisition device uses a leg ring with 16 or 32 surface muscle electrodes to collect more biological information; the surface muscle electrodes are ABS plastic substrates and stainless steel electrode sheets. The inertial sensor unit includes one or more inertial sensors.

[0092] The data acquisition device also includes a wireless transmission unit for transmitting the knee joint measurement data to a data processing terminal, such as a PC terminal or a remote server connected via a network. Wireless data transmission reduces interference with human movement, making movement more natural and the device more convenient to wear. Wireless transmission methods include mobile communication networks, WIFI networks, and Bluetooth.

[0093] like Figure 3 As shown, a physical topology diagram of the data acquisition equipment for collecting knee joint measurement data is given. Figure 3 The data measurement device shown in the figure includes 7 surface muscle electroencephalogram electrodes and 2 inertial sensors.

[0094] Taking the leg ring device as an example, Figure 3 The 0th and 1st electrodes are inertial sensor electrodes, and the 2nd to 8th are surface muscle electrodes. The 0th and 1st inertial sensors are located just above and just below the knee joint, respectively, to detect and measure data such as acceleration and tilt of the thigh.

[0095] Figure 3In the figure, the muscle distribution of the knee joint is also shown, mainly the quadriceps femoris group on the front side above the knee joint. Among them, a is the rectus femoris, and its 2nd and 8th electrodes detect signals at different positions of the muscle group; b and c are the vastus lateralis muscles on the side above the knee joint, which are detected by the 7th and 3rd electrodes respectively; d is the semitendinosus, which is detected by the 4th and 6th electrodes, and e is the biceps femoris group on the inside above the knee joint, which is detected by the 5th electrode.

[0096] like Figure 4 As shown, another physical topology schematic diagram of the data acquisition device for collecting knee joint measurement data is given. Figure 4 The data measurement device shown in the figure includes four surface muscle electroencephalogram electrodes and two inertial sensors.

[0097] Taking the leg ring device as an example, Figure 4 The 0th and 1st electrodes are inertial sensor electrodes, and the 2nd to 5th electrodes are surface muscle electrodes. The 0th and 1st inertial sensors are located just above and just below the knee joint, respectively, to detect and measure data such as acceleration and tilt of the thigh. Figure 4 In the figure, the muscle distribution of the knee joint is also schematically shown, which is mainly the quadriceps muscle group on the front side above the knee joint, wherein a is the quadriceps muscle group composed of the rectus femoris and the vastus medialis lateralis muscle, and the 2nd and 5th electrodes detect signals at different positions of the muscle group; b is the vastus medialis muscle, and the 4th electrode detects signals at the corresponding position of the muscle group; c is the vastus lateralis muscle, and the 3rd electrode detects signals at the corresponding position of the muscle group.

[0098] Taking the leg ring device as an example, each electrode is set at the position corresponding to the knee. After wearing the leg ring, each electrode naturally contacts the corresponding position of the leg to be measured, so that more accurate measurement data can be obtained. At the same time, the leg ring is easy to wear, which simplifies the data measurement process and the problem of overly complicated electrode connection.

[0099] In S2, the knee joint measurement data is filtered and normalized preprocessed to obtain normalized knee joint measurement data, specifically including: performing high-pass filtering on the muscle electrical signal after removing the baseline; performing low-pass filtering on the inertial sensor signal; in specific implementation, removing the baseline of the collected surface muscle electrical signal, obtaining the surface muscle electrical signal after removing the baseline, and then performing high-pass filtering to filter out low-frequency noise below 20 Hz; performing low-pass filtering on the collected inertial sensor signal to filter out high-frequency noise above 10 Hz; and then normalizing the muscle electrical signal and the inertial sensor signal after filtering, respectively, to obtain normalized muscle electrical signal and normalized inertial sensor signal; the normalization includes but is not limited to row normalization, column normalization, norm normalization, maximum and minimum normalization, neural network normalization, log logarithmic function normalization and inverse tangent function normalization; in specific implementation, L2 norm normalization is adopted.

[0100] In S3, feature extraction and feature screening are performed on the normalized knee joint measurement data to obtain knee joint feature data.

[0101] In the feature extraction step, the time domain features, transform domain features and time advance features of the pre-processed surface muscle electrical signals and inertial sensor signals are extracted. Specifically, the time domain features are extracted through sEMG characteristics, including variance, root mean square value, electromyographic integral value, waveform length, and average absolute value; the transform domain features include the absolute mean value, root mean square value, Wilson amplitude and waveform length of the decomposition coefficients; the time advance features are extracted through the time advance window.

[0102] In the feature screening step, after extracting a plurality of features, the weights are calculated and sorted according to one or more different weight determination methods to obtain a weight sorting sequence.

[0103] The NCFS method is used to generate the weights of each surface electromyographic signal node and inertial sensing feature, and the calculation method is: Where K is the number of nodes, and w f 、w fi 、w adfi are the weights of each feature, each node feature and the time-predecessor feature of the response, and the first weighted sorted sequence is obtained.

[0104] The feature data is processed and transformed, the joint distribution and marginal distribution of two features are calculated, the feature data is normalized, and each dimension is stored using reasonable feature data results; then the distribution and mutual information between features and between features and response variables are calculated, and the maximum relevance minimum redundancy method is used to sort the features and obtain the second weight sorting sequence.

[0105] The feature weights are calculated based on the relief screening method and a third weight ranking sequence is obtained.

[0106] The first N common features ranked in the first, second and third weight sorting sequences are used as the knee joint feature data after screening; the value of N is greater than or equal to 5, and in this embodiment, N is 5;

[0107] The feature screening method between the above-mentioned electrode nodes selects features with higher weight values, and comprehensively considers the use of the NCFS method, the maximum correlation minimum redundancy method and the relief method under different feature conditions, which effectively improves the prediction accuracy.

[0108] In S4, the knee joint feature data is converted into graph data including nodes and edges; specifically, the filtered knee joint feature data is converted into graph data to generate nodes and edges; the node features are represented by a matrix as follows:

[0109]

[0110] Among them, F node is the feature matrix of the node, is the feature value of each node, t is the number of sliding windows, N is the number of features, and L is the total number of nodes;

[0111] Based on the eigenvalues ​​of the nodes, the correlation coefficients of the adjacent nodes are obtained as:

[0112] Among them, p ij is the correlation coefficient of adjacent nodes, f i is the eigenvalue of node i, f j is the eigenvalue of node j, Cov(f i ,f j ) is the covariance between two nodes i and j, D(f i ) and D(f j ) are f i and f j The variance of .

[0113] Based on the correlation coefficient of the nodes, the eigenvalue of the outgoing edge is determined, which is expressed as:

[0114] Among them, F edg is the edge feature, N is the number of nodes, p i is the i-th feature of each node based on the correlation coefficient.

[0115] In S5, the graph data is input into the graph neural network, and the predicted knee joint angle is output.

[0116] The graph neural network includes a first graph neural subnetwork, a second graph neural subnetwork, a readout layer, a elimination layer, and a linear layer. The first graph neural subnetwork is used to perform adjacent aggregation, activation, and pooling processing on each node of the graph data to form a new node feature vector; the second graph neural subnetwork is used to perform adjacent aggregation, activation, and pooling processing on each new node feature vector to form a new node feature vector; the readout layer is used to obtain the new node feature vectors formed by the first and second graph neural subnetworks; the elimination layer is used to perform random deletion processing on the obtained new node feature vectors; the linear layer is used to integrate the information of the new node feature vectors that have not been deleted and perform linear processing to output the predicted knee joint angle.

[0117] The first graph neural sub-network and the second graph neural sub-network adopt the GraphSAGE framework.

[0118] like Figure 5As shown, in the first graph neural subnetwork GraphSAGE1 framework, the neighbor nodes of each node of the input graph data are aggregated, and the aggregation result is connected with the feature vector of the node to obtain the feature vector of each node for downstream use. The newly formed node feature vector is activated to complete the nonlinear transformation of the data; after activation, pooling is performed to compress the amount of data and parameters and reduce overfitting.

[0119] In the second graph neural sub-network GraphSAGE2 framework, the new node feature vector output by the first graph neural sub-network GraphSAGE1 framework after pooling is input into the GraphSAGE2 framework, and is read out after completing the activation and pooling processing.

[0120] When reading out, the new node feature vectors output by the first graph neural sub-network and the second graph neural sub-network are read out.

[0121] After reading out, half of the neuron nodes are randomly hidden (randomly deleted).

[0122] For the new node feature vectors left by random deletion, the node information after graph convolution is integrated into the graph; the integrated information is subjected to two-layer linear processing through the linear layer.

[0123] After S1 to S5, the operation of knee joint angle model prediction is completed and the predicted knee joint angle is obtained.

[0124] like Figure 5 As shown, the convolution layer is SAGEConv. In addition, the model uses SAGEPooling in the GraphSAGE framework to reduce the size of the graph while keeping the most important information. After the graph convolution, the maintenance information from the nodes is aggregated to the entire graph through the readout function.

[0125] During the training process of the graph neural network, for the new nodes left by random deletion, the input is forward propagated through the modified network, and then the loss result is backpropagated through the modified network; after completing this process for the training samples, the corresponding parameters are updated on the neurons that have not been deleted according to the stochastic gradient descent method; the node information after graph convolution is integrated into the graph.

[0126] By adopting the graph neural network (GNN) model of the above-mentioned two-level network, the knee joint angle prediction method of the present application showed superior matching with the actual knee joint angle. The results showed that the statistical measure for measuring the goodness of fit increased by 6%, the deviation between the actual value and the predicted value decreased to an average of 60.5%, and the linear relationship between the expected value and the observed value improved by an average of 1.5%.

[0127] Example 2

[0128] The method of knee joint angle prediction can be applied to the evaluation of sports posture and status of athletes during training; in rehabilitation treatment, it can help patients understand the degree of recovery; and for people who stand or sit for a long time, it can prevent knee joint strain.

[0129] During the specific implementation, test data of 4 subjects were collected. The subjects wore leg rings with 16 muscle electrodes and 1 inertial sensor on them; the wearing position was just above and just below the knee joint. Test data was collected from the subjects in various scenarios.

[0130] Experimental data collection of subjects going up and down stairs: the first 2 seconds of data collection are standing, and the 2nd to 10th seconds are the going up and down stairs state.

[0131] The experimental data collection of the subjects standing and squatting: The experimental data collection of standing and squatting is the first 2s standing state, the 2nd to 4th seconds is the squatting state, the 4th to 6th seconds is the squatting state, and the 6th to 8th seconds is the standing state. S4. The experimental data collection of the subjects walking state: The experimental data collection of the walking state is the first 2s standing state, and the next 2 to 55s is the walking state.

[0132] The collected surface muscle electrical signals are baseline-removed, and the surface muscle electrical signals after baseline removal are high-pass filtered to filter out low-frequency noise below 20Hz; the collected inertial sensor signals are low-pass filtered to filter out high-frequency noise above 10Hz. The filtered muscle electrical signals and inertial sensor signals are normalized respectively.

[0133] The preprocessed surface muscle electrical signals and inertial sensor signals are transmitted to the host computer via wireless data; the preprocessed motion state test data are divided into training set, validation set and test set, with a ratio of 6:1:3.

[0134] The training set data is used in the training process. After the trained model is verified by the validation set, the test set can be used for performance testing.

[0135] Next, a variety of extraction methods are used to extract features from the preprocessed surface muscle electrical signals and inertial sensor signals.

[0136] The time domain features of the surface muscle electrical signal and the inertial sensor signal are extracted, wherein the time domain features include variance, electromyographic integral value, root mean square, waveform length, mean absolute value, and Wilson amplitude.

[0137] DB7 wavelet is used to perform three-layer signal decomposition to extract time-frequency features. The length of the time sliding window used in the extraction process is 100ms, and the window increment is 10ms. The start and end points of the time advance window are calculated using the following method:

[0138] Among them, t adv Indicates the advance of time, T is the sampling period, n ads 、n s are the starting point of the time advance window and the starting point of the time window respectively; n a d e 、n e are the end point of the time advance window and the end point of the time window respectively.

[0139] Based on the time-frequency features, the time advance features are extracted using the advance window: the average absolute value, root mean square and waveform length of the decomposition coefficients and the time advance features based on these features are extracted. The start and end points of the time advance window are calculated, and the result is that the advance time is 200ms.

[0140] After extracting node feature data through various extraction methods, feature screening is performed. Specifically, by reducing feature dimension and feature selection, the NCFS method is used to generate the weight of each surface electromyography signal node and inertial sensor feature. The calculation method is:

[0141] like Figure 6 The figure shows the result of feature weight sorting, and the top five features are selected as the screened features. In the ranking of feature weights, the top five features are waveform length, root mean square, third-level mean absolute value, variance, and electromyographic integral value.

[0142] In this embodiment, 17 nodes and 16 edges are included, wherein the nodes include 16 muscle electroencephalogram nodes and one inertial sensor node. Nodes 1-16 represent surface electromyographic signal electrodes, and node 0 represents an inertial sensor. Electrode nodes are connected to adjacent nodes according to the topological characteristics of the leg band. For example, node No. 1 is connected to nodes No. 2 and No. 16.

[0143] In the process of converting the filtered features into graph data, the dimension of each node is calculated, and the calculated result is that the dimension is 200; then, the correlation coefficient of the related nodes is calculated; the attributes of the adjacent edges are represented; the attributes of the edges and nodes are generated according to the calculation results to obtain the graph data.

[0144] The image formed by the graph data is input into the graph neural network model; specifically, the nodes are input into the GraphSAGE1 framework, the neighbors of each node are aggregated, and the aggregation results are connected with the features of the node to obtain the vectors of each node for downstream use; the newly formed node feature vectors are activated to complete the nonlinear transformation of the data; after activation, pooling processing based on the self-attention mechanism is performed to compress the amount of data and parameters to 0.8 of the original number of nodes to reduce overfitting.

[0145] The new nodes are used as part of the readout, and the other part is input into the GraphSAGE2 framework. After activation and pooling, the readout is performed again.

[0146] After reading out from the two-level graph neural network respectively, half of the neuron nodes are randomly hidden (randomly deleted), and then training and optimization are carried out; the input is forward propagated through the modified network, and then the loss result is back-propagated through the modified network.

[0147] At this point, after a small batch of training samples completes the training process of this graph neural network, the corresponding parameters are updated on the neurons that have not been deleted according to the stochastic gradient descent method. Then the node information after graph convolution is integrated into the graph; the integrated information is processed by two layers of linear processing through the linear layer unit.

[0148] Figure 5 The convolutional layer used in is SAGEConv. In addition, the model uses SAGEPooling in the GraphSAGE framework to reduce the size of the graph while keeping the most important information. After the graph convolution, the maintenance information from the nodes is aggregated to the entire graph through the readout function.

[0149] After the training, the graph neural network model is obtained. When using the model for angle prediction, the predicted knee joint angle can be directly output through the linear layer.

[0150] In the process of evaluating the performance of the graph neural network model, the statistic R that measures the goodness of fit is calculated. 2 , the deviation between the actual value and the predicted value RMSE and the linear relationship CC between the expected value and the observed value. 2 The value range is between 0 and 1. The closer to 1, the better the model fits the data, and the closer to 0, the poorer the model fits the data. The RMSE is the root mean square value of the prediction error of the regression model. The smaller the RMSE, the higher the prediction accuracy of the model. The CC is used to evaluate the linear correlation between the predicted value and the actual observed value. Its value range is between -1 and 1, where -1 indicates a complete negative correlation, 0 indicates no correlation, and 1 indicates a complete positive correlation.

[0151] Statistics R for measuring goodness of fit based on graph neural model, CNN model, and BiLSTM model 2 , the deviation RMSE between the actual value and the predicted value and the linear relationship CC between the expected value and the observed value. The comparative performance results can be obtained as shown in Table 1.

[0152] Table 1: Performance comparison of graph neural model, CNN model, and BiLSTM model

[0153]

[0154] As shown in Table 1, the average estimated RMSE based on the graph neural model is 3.23, which is 63% lower than the CNN model and 58% lower than the Bi-LSTM model. The estimated CC is 0.994, which is 2% higher than the CNN model and 1% higher than the Bi-LSTM model. The estimated R2 is 0.985, achieving a 7% and 5% performance improvement over the CNN and Bi-LSTM models, respectively.

[0155] The present invention also provides a computer storage medium, in which instructions are stored. When the instructions are executed, the method for predicting the knee joint angle based on physical topology as described above is implemented.

[0156] The present invention also provides a computing device, including a processor and a communication interface coupled to the processor; the processor is used to run a computer program or instruction to implement the method for predicting the knee joint angle based on physical topology as described above.

[0157] It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0158] The embodiment of the present invention can divide the functional modules of the knee joint angle prediction device based on the physical topological characteristics according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0159] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A method for predicting knee joint angle based on physical topological characteristics, It is characterized in that include: Collecting knee joint measurement data, wherein the knee joint measurement data includes muscle electrical signals and inertial sensor signals; Performing filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data; Perform feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data; Convert knee joint feature data into graph data including nodes and edges; The graph data is input into the graph neural network, and the predicted knee joint angle is output; The muscle electrical signal is a surface signal of the knee joint muscle and is collected by configuring a muscle electrical signal collection unit; the inertial sensor signal is collected by an inertial sensor unit located at the knee joint; The muscle electrical signal acquisition unit comprises a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles.

2. The method according to claim 1, It is characterized in that The surface muscle electrical electrodes are distributed and arranged according to the physical topological characteristics of the knee joint muscles.

3. The method according to claim 1, It is characterized in that The filtering and normalization preprocessing of the knee joint measurement data to obtain normalized knee joint measurement data includes: The muscle electrical signals were subjected to baseline removal and high-pass filtering; Low-pass filtering of inertial sensor signals; The muscle electrical signal and the inertial sensor signal after filtering are normalized to obtain a normalized muscle electrical signal and a normalized inertial sensor signal.

4. The method according to claim 1, It is characterized in that The feature extraction and feature screening of the normalized knee joint measurement data includes: Extracting knee joint feature data including time domain features, transform domain features, and time advance features from normalized knee joint measurement data; One or more weight evaluation methods are used to evaluate the knee joint characteristic data and to sort the weights respectively; According to the weight threshold, multiple common features are selected from one or more weight sorting sequences as the selected knee joint feature data.

5. The method according to claim 3, It is characterized in that The weight evaluation method includes a weight calculation method based on the NCFS method, a weight calculation method using the maximum correlation minimum redundancy method, and a weight calculation method based on relief screening.

6. The method according to claim 1, It is characterized in that The step of converting the knee joint feature data into graph data including nodes and edges comprises: Determine the feature matrix of each node based on the number of sliding windows and feature data; The correlation coefficients of adjacent nodes are calculated based on the node feature matrix; The characteristics of the edges between nodes are obtained based on the correlation coefficients of adjacent nodes.

7. The method according to claim 1, It is characterized in that The graph neural network includes a first graph neural sub-network, a second graph neural sub-network, a readout layer, a elimination layer, and a linear layer; The step of inputting the graph data into the graph neural network and outputting the predicted knee joint angle includes: The first graph neural sub-network is used to perform adjacent aggregation, activation, and pooling processing on each node of the graph data to form a new node feature vector; The second graph neural sub-network is used to perform adjacent aggregation, activation, and pooling processing on each new node feature vector to form a new node feature vector again; The readout layer is used to obtain the first and second graph neural sub-networks to form new node feature vectors; Use the elimination layer to perform random deletion on the new node feature vector; The linear layer is used to integrate the feature vector information of the undeleted nodes and perform linear processing to output the predicted knee joint angle.

8. A knee joint angle prediction device based on physical topological characteristics, It is characterized in that include: A data acquisition device configured to acquire knee joint measurement data, wherein the knee joint measurement data includes muscle electrical signals and inertial sensor signals; A data preprocessing unit is configured to perform filtering and normalization preprocessing on the knee joint measurement data to obtain normalized knee joint measurement data; A data feature processing unit is configured to perform feature extraction and feature screening on the normalized knee joint measurement data to obtain knee joint feature data; A graph data processing unit configured to convert the knee joint feature data into graph data including nodes and edges; The graph neural network unit is configured to input graph data into the graph neural network, and the graph neural network outputs a predicted knee joint angle.

9. The device according to claim 8, It is characterized in that The data acquisition device comprises: A muscle electrical signal collection unit is configured to collect muscle electrical signals on the surface of the knee joint muscles; an inertial sensor unit configured to collect inertial sensor signals at a knee joint; The muscle electrical signal acquisition unit comprises a plurality of surface muscle electrical electrodes distributed on the surface of the knee joint muscles.

10. The device according to claim 9, It is characterized in that The surface muscle electrical electrodes are distributed and arranged according to the physical topological characteristics of the knee joint muscles.

Citation Information

Patent Citations

  • Human skeleton behavior identification method, system and device based on graph convolutional network

    CN110222611A

  • Wearable knee joint measuring system

    CN110558939A

  • Lower limb movement pose quick predicting system and method based on fusion of a plurality of sensors

    CN110755070A

  • Hemiplegia gait classification method based on graph convolution network

    CN111104902A

  • Knee joint angle prediction method and system based on electromyographic signals and angle signals

    CN111803250A