A spatio-temporal graph convolution network-based fault detection method for legged robots

By constructing a joint graph using a deep learning model based on a spatiotemporal graph convolutional network and utilizing temporal and spatial graph convolutional modules, the fault characteristics of legged robots are captured. This solves the problems of insufficient accuracy and generalization ability of traditional methods in fault detection in complex environments, and achieves high-precision fault diagnosis.

CN120645209BActive Publication Date: 2026-11-24HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510755185.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2026-11-24
Estimated Expiration
2045-06-06

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively capture various types of fault characteristics in legged robot systems, especially in complex environments. Traditional methods suffer from insufficient accuracy and generalization ability in multi-scale feature extraction and fault detection.

Method used

A deep learning model based on spatiotemporal graph convolutional networks is adopted. By constructing a joint graph and using temporal gated convolutional modules and spatial graph convolutional modules, the spatiotemporal coupling features of joints and spatial dependencies between nodes are captured to achieve fault detection.

Benefits of technology

It improves the accuracy of fault detection in legged robots and the generalization performance of the algorithm, enabling accurate diagnosis of robot faults in complex environments, reducing maintenance costs, and increasing task success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120645209B_ABST
    Figure CN120645209B_ABST
Patent Text Reader

Abstract

This invention relates to a fault detection method for legged robots based on spatiotemporal graph convolutional networks (SPCRNs). It employs a deep learning model based on SPCRNs, which includes a temporally gated convolutional module and a spatial graph convolutional module. The method includes: constructing a joint graph based on the robot's joint connections; extracting long-sequence features from the joint graph using the temporally gated convolutional module; using the features obtained from the temporally gated convolutional module as input to the spatial graph convolutional module, where the spatial graph convolutional layer performs convolution operations on node features through an adjacency matrix to capture spatial dependencies between nodes; and repeatedly performing feature extraction through the temporally gated convolutional module and the spatial graph convolutional module to obtain the fault detection results of the legged robot during operation. This invention can improve the accuracy of legged robot fault detection and the generalization performance of the algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a fault detection method for legged robots based on spatiotemporal graph convolutional networks, belonging to the field of legged robots. Background Technology

[0002] Legged robots, as a type of biomimetic robot, have broad application prospects in rescue, service, and reconnaissance fields due to their superior mobility and structural characteristics. However, legged robots may encounter various malfunctions when operating in complex environments, such as joint failures, sensor failures, motor failures, and battery failures. Fault detection technology is needed to detect and diagnose these malfunctions, and appropriate measures should be taken for repair or adjustment to ensure the robot's continuous and stable operation. This is particularly important for robots performing tasks in complex environments, such as disaster relief and hazardous area detection. Predictive maintenance allows for preventative maintenance before malfunctions occur, further reducing maintenance costs. Timely detection and handling of malfunctions during task execution can also improve task success rates, ensuring the robot completes its tasks as planned. Research and application of fault detection technology can promote the development of robotics technology, enhance the intelligence level of robots, and enable them to better adapt to complex and changing environments and complete more diverse tasks.

[0003] While fault detection in legged robots plays a crucial role in their continuous and stable operation, this field still faces a series of challenges. First, the main difficulty in legged robot fault detection lies in the high complexity and dynamic nature of the robot system. Because robots consist of multiple joints and actuators, these components have complex interrelationships, and various types of faults may occur during operation, such as joint wear, sensor failure, and power system problems. However, due to the lack of effective multi-scale feature extraction techniques, these features are often overlooked by traditional diagnostic models, limiting the model's generalization ability. Second, the existence of multiple fault types and varying degrees of damage leads to differences in the distribution of fault features at different scales, and the dependencies in this distribution are difficult to capture using traditional networks. Furthermore, because faults are often gradual and multi-dimensional, potentially manifesting as subtle changes in motion behavior, traditional fault detection methods struggle to accurately capture and diagnose faults. Traditional methods also have limitations in handling feature extraction at a single event scale, making it difficult to effectively extract deep features. Finally, the motion state of legged robots changes in different environments, making it difficult for models to possess strong generalization capabilities. Deep learning possesses powerful feature learning and generalization capabilities, enabling it to process massive amounts of data and learn complex fault modes progressively from low to high levels through a multi-layered structure. In recent years, deep learning-based fault diagnosis methods have been proposed to overcome these challenges. However, improving the accuracy of fault detection in legged robots under complex conditions and the generalization ability of the models remains a significant research topic. Summary of the Invention

[0004] This invention provides a method for fault detection of legged robots based on spatiotemporal graph convolutional networks, aiming to solve at least one of the technical problems existing in the prior art.

[0005] The technical solution of this invention relates to a fault detection method for legged robots based on spatiotemporal graph convolutional networks. The method according to this invention includes the following steps:

[0006] Among them, a deep learning model based on spatiotemporal graph convolutional network is adopted, which includes a temporal gated convolutional module and a spatial graph convolutional module;

[0007] The method includes the following steps:

[0008] S100. Construct a joint diagram based on the robot's joint connection relationships;

[0009] S200. Use the temporal gated convolution module to extract long sequence features from the joint graph;

[0010] S300. The features obtained by the sequential gated convolution module are used as the input of the spatial graph convolution module. The spatial graph convolution layer performs convolution operation on the node features through the adjacency matrix to capture the spatial dependencies between nodes.

[0011] S400: Feature extraction is performed multiple times through the temporal gated convolution and the spatial graph convolution module to obtain the fault detection results of the legged robot during operation.

[0012] Furthermore, in step S100:

[0013] The nodes of the joint graph represent the joints of the robot, and the edges of the joint graph represent the connection relationships between the joints; an adjacency matrix is ​​used to represent the graph structure, and the elements in the adjacency matrix represent the connection relationships between the nodes.

[0014] Furthermore, in step S200,

[0015] Each temporal convolutional layer of the temporal gated convolutional module includes two convolutional modules, one for extracting deep features and the other for generating gated signals; the gated convolutional layer updates the features of nodes by merging the features of corresponding nodes on consecutive time slices.

[0016] Furthermore, in step S200,

[0017] Each of the gated convolutional layers includes a gated linear unit, and the gated linear unit includes two one-dimensional convolutional layers; the gated convolutional layers are represented as follows:

[0018] y gated =(K1*x gated +b1)⊙σ(K2*x gated +b2)

[0019] In the formula, K1 and K2 represent the convolution kernels, b1 and b2 are both biases, * represents the convolution operation, ⊙ represents the element-wise multiplication operation, σ is the sigmoid function, and x gated and y gated These are the input and output of the gated convolutional network, respectively.

[0020] Furthermore, in step S300,

[0021] In the graph convolutional neural network of the spatial graph convolution module, the graph is defined as a network composed of nodes and edges, where nodes represent entities and edges represent relationships between nodes.

[0022] Furthermore, in step S300,

[0023] The graph convolutional neural network includes multiple graph convolutional layers with a stacked hierarchical structure. The graph convolutional layers are used to normalize the adjacency matrix and update the representation of the target node by weighting the features of neighboring nodes. The weighting coefficients are jointly determined by the adjacency matrix and the degree matrix.

[0024] Furthermore, step S300 includes:

[0025] S310. For each node in the joint graph, the graph convolutional neural network aggregates the features of its own node and those of its neighboring nodes to obtain a new node, represented as follows:

[0026] Z l + 1 =A·H (l) ·W (l)

[0027] In the formula, Z l+1 This is the new node representation; the set of nodes to be updated is represented by the adjacency matrix A and the node features H. (l) The product of W is obtained. (l) It is the weight matrix of the l-th layer;

[0028] S320. Aggregation is achieved by weighted summation of the features of neighboring nodes, where the weights are determined by the adjacency matrix and degree matrix of the graph, as shown below:

[0029]

[0030] In the formula, This is the standardized new node representation, where D is the degree matrix;

[0031] S330. Apply a non-linear transformation to the updated node representation, as follows:

[0032]

[0033] In the formula, H (l+1) It is the node representation updated after graph convolution operation, and ReLU(*) represents the activation function.

[0034] Furthermore, the deep learning model based on the spatiotemporal graph convolutional network includes a global average pooling layer, a fully connected layer, and two STGCN modules; the output of one STGCN module serves as the input of the other STGCN module.

[0035] Each STGCN module first captures the spatiotemporal coupling features of the joints through the temporal gated convolution module, then captures the spatial dependencies between nodes through the spatial graph convolution module, then extracts temporal features through another temporal gated convolution module, and finally obtains the output of the STGCN module through a batch normalization layer.

[0036] The initial features obtained are processed through two STGCN modules, then through a global average pooling layer, and finally through a fully connected layer to obtain the output of the deep learning model.

[0037] The present invention also relates to a computer-readable storage medium having program instructions stored thereon, which, when executed by a processor, implement the above-described method.

[0038] The technical solution of the present invention also relates to a fault detection system for a legged robot based on a spatiotemporal graph convolutional network, the system including a computer device that includes the aforementioned computer-readable storage medium.

[0039] The beneficial effects of this invention are as follows:

[0040] The present invention provides a fault detection method for legged robots based on spatiotemporal graph convolutional networks, which can improve the accuracy of fault detection and the generalization performance of the algorithm. This invention constructs a graph of the joint features of the legged robot and uses a graph convolutional network for feature extraction and fault detection. A temporally gated convolutional module learns the temporal features of sensor signals to capture the spatiotemporal coupling features of the joints. The spatial graph convolutional layer performs convolution operations on node features through an adjacency matrix to capture the spatial dependencies between nodes, enabling the model to effectively detect faults during robot operation. Attached Figure Description

[0041] Figure 1 This is a basic flowchart of the fault detection method for legged robots according to the present invention and a structural schematic diagram of the deep learning model.

[0042] Figure 2 This is a schematic diagram of the joints of the bipedal robot according to the present invention.

[0043] Figure 3 This is a schematic diagram of the joints of a quadruped robot according to the present invention.

[0044] Figure 4 and Figure 5 This is a schematic diagram of the confusion matrix results used to verify the accuracy of fault diagnosis according to an embodiment of the present invention.

[0045] Figure 6a and Figure 6b as well as Figure 7a and Figure 7bThis is a comparison chart of detection results according to an embodiment of the present invention. Detailed Implementation

[0046] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention.

[0047] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. The singular forms "a," "described," and "the" used herein are also intended to include the plural forms, unless the context clearly indicates otherwise. Furthermore, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and not for limiting the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.

[0048] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from one another. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. Any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided herein are intended only to better illustrate embodiments of the invention and, unless otherwise required, do not impose a limitation on the scope of the invention.

[0049] Reference Figures 1 to 3 In some embodiments, the legged robot fault detection method based on spatiotemporal graph convolutional networks according to the present invention employs a deep learning model based on spatiotemporal graph convolutional networks, wherein the deep learning model includes a temporal gated convolutional module and a spatial graph convolutional module; the method includes at least the following steps:

[0050] S100. Construct a joint diagram based on the robot's joint connection relationships;

[0051] S200. Use the temporal gated convolution module to extract long sequence features from the joint graph;

[0052] S300. The features obtained by the temporal gated convolution module are used as the input of the spatial graph convolution module. The spatial graph convolution layer performs convolution operation on the node features through the adjacency matrix to capture the spatial dependencies between nodes.

[0053] The S400 performs feature extraction multiple times through temporal gated convolution and spatial graph convolution modules to obtain fault detection results for the legged robot during operation.

[0054] This invention presents a fault detection method for legged robots based on spatiotemporal graph convolutional networks. These faults include various issues that legged robots may encounter when operating in complex environments, such as joint failures, sensor failures, motor failures, and battery failures. These faults not only affect the normal operation of the robot but may also lead to task failure and even safety issues. This invention achieves accurate fault diagnosis for legged robots under complex conditions by employing an end-to-end spatiotemporal graph convolutional network and training the model on a large dataset.

[0055] The present invention relates to a fault detection method for legged robots based on spatiotemporal graph convolutional networks, which aims to improve the accuracy of fault detection in legged robots. See [link to relevant documentation]. Figure 1 This invention relates to a legged robot fault detection system, which includes a robot joint graph construction module, a temporally gated convolutional module (TGCM), and a spatial graph convolutional module (SGCM). The invention obtains optimal model parameter values ​​through model training, resulting in a deep learning model based on a spatiotemporal graph convolutional network capable of achieving high accuracy in legged robot fault detection. The optimal deep learning model is then used to conduct fault detection experiments on legged robots. This invention employs a legged robot fault detection algorithm based on a spatiotemporal graph convolutional network. By constructing a graph of the joint features of the legged robot and using a graph convolutional network for feature extraction and fault detection, the network model effectively detects faults during robot operation. Extensive experimental results and analysis validate the effectiveness of the proposed temporally gated convolutional module and spatial graph convolutional module, demonstrating the advantages of the proposed method in terms of fault diagnosis accuracy and adaptability.

[0056] In some embodiments, see Figure 1 The deep learning model based on the Spatiotemporal Graph Convolutional Network (STGCN) in this embodiment of the invention is composed of multiple STGCN modules stacked together. Each STGCN module includes a temporally gated convolutional module (TGCM) and a spatial graph convolutional module (SGCM), wherein feature extraction is achieved by alternating combinations of the temporally gated convolutional module (TGCM) and the spatial graph convolutional module (SGCM).

[0057] Specifically, the deep learning model includes two STGCN modules. Each STGCN module first captures the spatiotemporal coupling features of joints through a TGCM, then captures the spatial dependencies between nodes through an SGCM, and then extracts temporal features through another TGCM. Finally, the output of the STGCN module is obtained through a batch normalization (BN) layer. The output of one STGCN module serves as the input to the other. Furthermore, the deep learning model of this invention also includes a global average pooling (GAP) layer and a fully connected (FC) layer. The initial features are passed through the two STGCN modules sequentially before being input into the GAP module, and finally the model result is output through the FC layer.

[0058] In some embodiments, the present invention first constructs a joint graph when building a deep learning model. Specifically, to capture the spatial dependencies between the joints of a legged robot, the present invention constructs a graph structure based on the robot's joint connection relationships, wherein the nodes of the joint graph represent the robot's joints, and the edges of the joint graph represent the connection relationships between joints. An adjacency matrix is ​​used to represent the graph structure, and the elements in the adjacency matrix represent the connection relationships between nodes. See also Figure 2 and Figure 3 In the simulation system of a specific embodiment of the present invention, the bipedal robot has 33 joints and the quadrupedal robot has 18 joints. In the adjacency matrix, a joint pair with a value of 1 indicates that the joints are connected to each other, and the adjacency matrix value corresponding to each joint is 1.

[0059] In some embodiments, after the joint graph is constructed, time-series features are extracted from the constructed robot joint graph. Specifically, to extract the sequence features of the robot sensor time-series signals, this invention uses a temporally gated convolutional module (TGCM) to achieve long-sequence feature extraction.

[0060] Specifically, this invention inputs robot joint graph data into a temporally gated convolutional module. Convolution operations are used in this network, and gating signals control the flow of information, enabling the temporally gated convolutional module to capture the spatiotemporal coupling relationships of joint features, comprehensively understand joint state changes, and thus better identify complex fault modes. Each temporally gated convolutional layer contains two convolutional modules: one for extracting deep features and the other for generating gating signals, thus forming a gated convolutional layer.

[0061] In one application embodiment, the present invention employs stacked gated convolutional layers to update node features by merging the features of corresponding nodes across consecutive time slices. Each gated convolutional layer contains a gated linear unit, which is implemented by two conventional one-dimensional convolutional layers. Specifically, the mathematical model of the gated convolutional layer is represented as follows:

[0062] ygated =(K1-x gated +b1)⊙σ(K2*x gated +b2)

[0063] In the formula, K1 and K2 represent the convolution kernels, b1 and b2 are both biases, * represents the convolution operation, ⊙ represents the element-wise multiplication operation, σ is the sigmoid function, and x gated and y gated These are the input and output of the gated convolutional network, respectively.

[0064] In some embodiments, the features obtained by the temporally gated convolutional module are used as input to the spatial graph convolutional module (SGCM). The spatial graph convolutional layer performs convolution operations on the node features through the adjacency matrix to capture the spatial dependencies between nodes. Specifically, the spatial graph convolutional module of this invention can learn the correlations between joint features through graph convolution, including the correlations between position, angle, velocity, etc. The spatial graph convolutional module enables the robot fault detection task to adaptively learn the association between each joint and the fault state, thereby optimizing the accuracy of fault detection. Subsequently, deeper features are extracted multiple times through temporally gated convolutional gating and the spatial graph convolutional module.

[0065] In one application embodiment, the Graph Convolutional Neural Network (GCN) employed in this invention is used to process and analyze graph-structured data. In the GCN of this invention, a joint graph is defined as a network composed of nodes and edges, where nodes represent entities and edges represent relationships between nodes. Unlike traditional fully connected neural networks, the GCN of this invention fully utilizes the structural information of the graph, ensuring that the representation of each node depends not only on its own features but also on the information of its neighboring nodes. This mechanism enables the GCN to capture local and global patterns in the graph during training, thereby exhibiting greater adaptability when processing complex system data.

[0066] Furthermore, the GCN of this invention consists of multiple Graph Convolutional Layers (GCLs), each with independent weight parameters. Through multi-layer combination, the graph convolutional neural network can progressively learn more abstract and high-level feature representations. The stacked layer structure enables the GCN to perform deep learning on graph structures, thereby capturing complex graph relationships. The core operation of the graph convolutional layer is to normalize the adjacency matrix and update the representation of the target node using the features of weighted neighbor nodes, where the weighting coefficients are determined by both the adjacency matrix and the degree matrix. This design ensures that the GCN can effectively propagate and learn structural information in the graph while preserving the original features of the nodes.

[0067] Specifically, for each node in the joint graph, the graph convolutional neural network aggregates the features of its own node with those of its neighboring nodes to obtain a new node representation:

[0068] Z l+1 =A·H (l) ·W (l)

[0069] In the formula, Z l+1 This is the new node representation; the set of nodes to be updated is represented by the adjacency matrix A and the node features H. (l) The product of W is obtained. (l) It is the weight matrix of the l-th layer.

[0070] Furthermore, the aggregation method is achieved by weighted summation of the features of neighboring nodes, where the weights are jointly determined by the adjacency matrix and degree matrix of the graph. This weighting strategy of the present invention can reflect the strength of the relationships between nodes and the topological structure of the graph.

[0071] In the formula, It is the new node representation after standardization, and D is the degree matrix.

[0072] Furthermore, the updated node representation is subjected to a nonlinear transformation by using activation functions such as the Modified Linear Unit (ReLU) to introduce nonlinearity.

[0073]

[0074] In the formula, H (l+1) It is the node representation updated after graph convolution operation, and ReLU(*) represents the activation function.

[0075] In some embodiments, preprocessed training data on legged robot faults is used as model input. During model training, the temporally gated convolutional module and the spatial graph convolutional module are improved to obtain optimal model parameters, ultimately resulting in a deep learning model capable of accurately diagnosing robot faults. The Adam optimization algorithm is applied to this model training optimization task to replace the traditional stochastic gradient descent method. Finally, the trained deep learning model is used to test the accuracy of legged robot fault detection.

[0076] Specifically, when constructing a deep learning model for fault detection in legged robots, this invention first inputs a preprocessed robot fault training dataset into the model. During the model training phase, the temporal gating convolution module and the spatial graph convolution module are optimized to obtain the best model parameter configuration, thereby achieving accurate diagnosis of faults in legged robots.

[0077] The fault detection algorithm for legged robots based on spatiotemporal graph convolutional networks of the present invention constructs a graph of the joint features of the legged robot and uses graph convolutional networks for feature extraction and fault detection. The temporal gated convolutional module learns the temporal features of sensor signals, and the spatial graph convolutional layer performs convolution operations on node features through adjacency matrices to capture the spatial dependencies between nodes. The model can effectively detect faults during robot operation.

[0078] In some embodiments, the legged robot fault data used in the training set preprocessing of this invention is obtained through PyBullet simulation. The legged robot state types include normal state, joint fault, sensor fault, motor fault, and battery fault. During dataset preprocessing, data is first read from the simulated robot fault dataset and divided into training, validation, and test sets in a 3:1:1 ratio. The dataset is then checked for missing values, outliers, etc., and necessary data cleaning, normalization, and scaling are performed to a fixed range. Through these steps, the legged robot fault detection dataset is preprocessed into a data format suitable for deep learning model training.

[0079] In one application embodiment, the present invention employs the Adam optimization algorithm in the optimization task of model training to replace the traditional stochastic gradient descent (SGD) method, thereby accelerating model convergence and improving training efficiency, enabling the model to learn and optimize more effectively.

[0080] Specifically, the training process of its model includes:

[0081] A1: Input the robot joint graph data into the temporal gated convolutional module. Use convolution operations in this network to control the flow of information through gating signals, so that the temporal gated convolutional module can learn the long sequence characteristics of the sensor temporal signals.

[0082] A2: The extracted temporal features are input into the spatial graph convolution module. The node features are convolved using the adjacency matrix to capture the spatial dependencies between nodes. This adaptively learns the association between each joint and the fault state, thereby optimizing the accuracy of fault detection. Subsequently, feature extraction is performed multiple times using temporal gated convolution and spatial graph convolution modules.

[0083] A3: The output features generated in the above steps are then subjected to global average pooling and fed into a fully connected layer. In the output layer, a softmax activation function is used to predict the conditional probability of each class. The cross-entropy function is chosen as the loss function to measure the difference between the model's predictions and the actual labels.

[0084] A4: Train the entire deep learning model, calculate the loss function and update the network parameters until the loss function value stabilizes, thereby obtaining an optimized legged robot fault diagnosis model.

[0085] This invention tests a fault detection method for legged robots based on spatiotemporal graph convolutional networks. Specifically, this invention uses PyBullet simulation to obtain a fault detection dataset for legged robots. First, the PyBullet simulation environment is started, and the legged robot model is loaded. Gravity and the robot's initial position are set. The robot's joint indices are obtained, and global variables are initialized to simulate different fault conditions. A function is defined to simulate the robot's normal movement. By setting gait parameters, the target position of each joint is calculated, and joint movement is controlled. A function is defined to simulate different types of faults, including joint faults, sensor faults, motor faults, and battery faults. The robot's joint angles, joint velocities, and force sensor data are obtained and concatenated into a vector. A loop is defined to generate time-series data containing different fault types. Each fault sequence contains 100 time steps, with the first 60 time steps representing normal walking and the last 40 time steps representing the fault state. For dataset partitioning, the training set contains 2400 samples, the validation set contains 800 samples, and the test set contains 800 samples. In this embodiment, the invention method is compared with existing methods in an experiment. The results of the fault diagnosis accuracy are shown in Tables 1 and 2.

[0086] Table 1: Fault diagnosis accuracy in bipedal robot fault dataset

[0087]

[0088]

[0089] Table 2: Fault diagnosis accuracy in quadruped robot fault dataset

[0090]

[0091] As can be seen from Tables 1 and 2, the method of this invention achieves higher overall accuracy and better performance on robot datasets compared to other methods mentioned. See also... Figure 4 and Figure 5 The confusion matrix results show that the method of the present invention can achieve accurate fault diagnosis.

[0092] Furthermore, to visually demonstrate the effectiveness of the proposed method, t-SNE dimensionality reduction technology was used to visualize the classification results. See [link / reference] Figure 6a and Figure 6b as well as Figure 7a and Figure 7bThe comparison results are shown, with the original, unclassified signal on the left and the classification result after processing using the proposed method on the right. Observation reveals that the signal processed by this method exhibits a more significant visual classification effect. Therefore, this example verifies the effectiveness of the proposed method and demonstrates its superior performance.

[0093] It should be understood that the method steps in the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).

[0094] Furthermore, the procedures described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by the context. The procedures described herein (or variations and / or combinations thereof) may be executed under the control of one or more computer systems configured with executable instructions, and may be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. The computer program comprises a plurality of instructions executable by one or more processors.

[0095] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RSM, ROM, etc., such that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques described in the invention, the invention may also include the computer itself.

[0096] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.

[0097] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.

Claims

1. A method for fault detection in legged robots based on spatiotemporal graph convolutional networks, characterized in that, A deep learning model based on a spatiotemporal graph convolutional network is adopted, which includes a temporal gated convolutional module and a spatial graph convolutional module; The method includes the following steps: S100. Construct a joint graph based on the joint connection relationships of the robot; wherein, the nodes of the joint graph represent the various joints of the robot, and the edges of the joint graph represent the connection relationships between the joints; use an adjacency matrix to represent the graph structure, and the elements in the adjacency matrix represent the connection relationships between the nodes; wherein, joint pairs with a value of 1 in the adjacency matrix represent joints connected to each other, and the adjacency matrix value corresponding to each joint itself is 1. S200. Use the temporal gated convolution module to extract long sequence features from the joint graph; S300. The features obtained by the temporal gated convolution module are used as the input of the spatial graph convolution module. The spatial graph convolution module performs convolution operation on the node features through the adjacency matrix to capture the spatial dependencies between nodes. S400: Feature extraction is performed multiple times through the temporal gated convolutional gate and the spatial graph convolutional module to obtain the fault detection results of the legged robot during operation; The deep learning model based on spatiotemporal graph convolutional networks includes a global average pooling layer, a fully connected layer, and two STGCN modules; the output of one STGCN module serves as the input of the other STGCN module. Each STGCN module first captures the spatiotemporal coupling features of the joints through the temporal gated convolution module, then captures the spatial dependencies between nodes through the spatial graph convolution module, then extracts temporal features through another temporal gated convolution module, and finally obtains the output of the STGCN module through a batch normalization layer. The initial features obtained are processed through two STGCN modules, then through a global average pooling layer, and finally through a fully connected layer to obtain the output of the deep learning model. Each temporal convolutional layer of the temporal gated convolutional module includes two convolutional modules, one for extracting deep features and the other for generating gated signals; the gated convolutional layer updates the features of nodes by merging the features of corresponding nodes on consecutive time slices. Each of the gated convolutional layers includes a gated linear unit, and the gated linear unit includes two one-dimensional convolutional layers; the gated convolutional layer is represented as follows: In the formula, and Represents the convolution kernel. and All are deviations. This represents the convolution operation. This represents element-wise multiplication. It is the sigmoid function. and These are the input and output of the gated convolutional network, respectively.

2. The method according to claim 1, characterized in that, In step S300 In the graph convolutional neural network of the spatial graph convolution module, the graph is defined as a network composed of nodes and edges, where nodes represent entities and edges represent relationships between nodes.

3. The method according to claim 2, characterized in that, In step S300 The graph convolutional neural network includes multiple graph convolutional layers with a stacked hierarchical structure. The graph convolutional layers are used to normalize the adjacency matrix and update the representation of the target node by weighting the features of neighboring nodes. The weighting coefficients are jointly determined by the adjacency matrix and the degree matrix.

4. The method according to claim 3, characterized in that, Step S300 includes: S310. For each node in the joint graph, the graph convolutional neural network aggregates the features of its own node and those of its neighboring nodes to obtain a new node, represented as follows: In the formula, This is a new node representation; the set of nodes to be updated is represented by an adjacency matrix. and node features The product is obtained as follows: It is the first Layer weight matrix; S320. Aggregation is achieved by weighted summation of the features of neighboring nodes, where the weights are determined by the adjacency matrix and degree matrix of the graph, as shown below: In the formula, This is the standardized new node representation, where D is the degree matrix; S330. Apply a non-linear transformation to the updated node representation, as follows: In the formula, It is the node representation updated after graph convolution operations. This represents the activation function.

5. A computer-readable storage medium, characterized in that, It stores program instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 4.

6. A fault detection system for legged robots based on spatiotemporal graph convolutional networks, characterized in that, include: A computer device, the computer device comprising the computer-readable storage medium according to claim 5.

Citation Information

Patent Citations

  • Wheeled robot intelligent fault diagnosis method and system based on graph convolutional network

    CN115099268A

  • Bearing fault detection method based on graph neural network and two-stage framework

    CN118190415A