Fault self-diagnosis method for quadruped robot based on multi-modal time sequence fingerprint spectrum

By using a multimodal temporal fingerprinting-based fault self-diagnosis method, the risks of missed reports, false reports, and OTA upgrades in quadruped robot fault diagnosis are resolved. This enables early fault identification and dynamic OTA strategies, improving fault analysis efficiency and equipment security.

CN123158285APending Publication Date: 2026-11-24CHENGDU ZHIJIANG INNOVATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611213586.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-11
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing quadruped robot fault diagnosis technologies suffer from issues such as missed reports, false alarms, and low fault analysis efficiency. Furthermore, OTA upgrade strategies lack dynamic risk assessment, which can easily lead to equipment failure.

Method used

A fault self-diagnosis method based on multimodal temporal fingerprint mapping is adopted. Kinematic and electrical data are extracted in real time at the edge and combined with the environmental context to generate a device-specific temporal fingerprint mapping. Anomaly detection and fault classification are performed in the cloud to construct a dynamic health fingerprint, enabling early fault identification and automatic root cause classification. At the same time, health scores are dynamically screened before OTA upgrades.

Benefits of technology

It enables accurate identification of early and minor faults, reduces the cost of manual troubleshooting, lowers the risk of OTA upgrades, and forms a self-evolving closed-loop diagnostic and upgrade optimization process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158285A_ABST
    Figure CN123158285A_ABST
Patent Text Reader

Abstract

This invention discloses a self-diagnosis method for quadruped robots based on multimodal temporal fingerprint maps, belonging to the field of quadruped robot fault diagnosis technology, and used on the cloud side. The method includes: receiving a local fingerprint summary sent by the edge control unit of the quadruped robot; performing anomaly detection on the local fingerprint summary, including extracting the baseline mean vector and baseline covariance matrix from a preset historical database based on environmental context data, and calculating the Mahalanobis distance between the local fingerprint summary and the baseline mean vector. Local fingerprint summaries with a Mahalanobis distance greater than a preset threshold are considered potentially anomalous fingerprints. A univariate linear regression is performed on the Mahalanobis distance sequence within a preset Mahalanobis distance sliding window; if the slope exceeds a preset slope threshold, the corresponding local fingerprint summary is determined to be a potentially anomalous fingerprint. The anomalous fingerprint is then matched with a preset fault case library for similarity, and the fault category corresponding to the anomalous fingerprint is output. This invention improves the accuracy and efficiency of fault identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of quadruped robot fault diagnosis technology, and in particular to a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting. Background Technology

[0002] With the large-scale deployment of quadruped robots (robot dogs) in scenarios such as power line inspection and security patrol, PHM (device health management) has become a core pain point in operation and maintenance. Currently, mainstream technical solutions have the following shortcomings:

[0003] 1. Single Threshold Alarm Mechanism: Traditional solutions only set fixed upper and lower thresholds for motor current, temperature, and battery voltage (e.g., alarm when motor temperature > 80℃). However, quadruped robots operate under complex conditions (walking on flat ground, climbing slopes, jumping), and the current fluctuates greatly under different loads for the same action. Fixed thresholds lead to a large number of "false positive" alarms (normal high loads are misjudged as faults) or "missed alarms" (early minor anomalies do not reach the threshold but the trend worsens).

[0004] 2. Data silos and lack of context: Existing cloud platforms typically store and process video data, IMU attitude data, and motor drive data separately. When a failure occurs, maintenance personnel need to manually backtrack data logs from multiple timelines, making it difficult to quickly pinpoint whether the anomaly is caused by "mechanical jamming," "control algorithm oscillation," or "sensor drift," resulting in extremely low root cause analysis efficiency.

[0005] 3. Rigid OTA Upgrade Strategy: Existing firmware upgrades (OTA, Over-The-Air) typically employ full rollouts or simple regional / batch phased rollouts. If a new firmware introduces potential underlying driver bugs, it could lead to widespread device outages. Current solutions lack dynamic risk assessment based on the "current health status of the device," making it impossible to achieve precise phased rollouts only to devices with stable health, compatible hardware versions, and performing non-critical tasks.

[0006] Therefore, a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting was developed to solve the above problems. Summary of the Invention

[0007] This invention proposes a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting to solve the problems of missed and false alarms and low fault analysis efficiency in existing technologies.

[0008] The present invention achieves the above objectives through the following technical solutions:

[0009] This invention discloses a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting, for cloud-based applications, comprising:

[0010] The system receives a local fingerprint summary sent by the edge master control unit of the quadruped robot. The edge master control unit is used to acquire the kinematic data, electrical data, and environmental context data of the quadruped robot. In each control cycle, it performs multimodal temporal fingerprint feature extraction on the kinematic data, electrical data, and environmental context data to obtain a local fingerprint summary.

[0011] Anomaly detection is performed on the local fingerprint summary to output potential abnormal fingerprints. Anomaly detection includes extracting the baseline mean vector and baseline covariance matrix from a preset historical database based on environmental context data, calculating the Mahalanobis distance between the local fingerprint summary and the baseline mean vector, marking local fingerprint summaries with Mahalanobis distance greater than a preset threshold as potential abnormal fingerprints, and performing univariate linear regression fitting on the Mahalanobis distance sequence within a preset Mahalanobis distance sliding window to obtain the slope. If the slope exceeds a preset slope threshold, the corresponding local fingerprint summary is judged to be a potential abnormal fingerprint.

[0012] If the local fingerprint summary is a potential abnormal fingerprint, then the abnormal fingerprint is matched with the preset fault case library for similarity, and the fault category corresponding to the abnormal fingerprint is output.

[0013] Furthermore, the kinematic data included IMU acceleration. angular velocity Joint position Joint velocity Electrical data includes the motor current of each joint. Bus voltage Motor winding temperature Environmental context data includes ground roughness estimates. Load weight estimation .

[0014] Furthermore, within each control cycle, multimodal temporal fingerprint features are extracted from kinematic data, electrical data, and environmental context data to obtain a local fingerprint summary, including:

[0015] In each control cycle Internally, calculate the fingerprint feature vector. As a local fingerprint summary:

[0016] ;

[0017] in: To normalize instantaneous power consumption, For acceleration tracking error ratio, Let be the motor current of the i-th joint. Let be the angular velocity of the i-th joint. This is the normalization factor for rated power. For the desired acceleration, For actual acceleration, This represents the rate of temperature rise per unit time.

[0018] Furthermore, based on environmental context data, the baseline mean vector and baseline covariance matrix are extracted from a pre-defined historical database, including:

[0019] Based on the estimated ground roughness value and load weight estimation Samples meeting preset conditions are extracted from the historical database as the initial health baseline under the same working conditions. The historical database includes the quadruped robot's local fingerprint summary, the quadruped robot's working condition context information, the quadruped robot's health status marker, and the quadruped robot's equipment identity information. The preset conditions include no fault records, operating time exceeding 100 hours, and the Mahalanobis distance of samples within the period corresponding to the generation of the local fingerprint summary. Less than 1.5;

[0020] Wherein, the initial health baseline under the same working conditions is a pre-calibrated health baseline, including an initial mean vector and an initial covariance matrix; the initial health baseline under the same working conditions is derived from at least one of factory calibration data, post-maintenance calibration data, manually confirmed health operation data, and historical golden sample data; the sample Mahalanobis distance is calculated based on the initial mean vector and initial covariance matrix of the initial health baseline under the same working conditions.

[0021] Further, the Mahalanobis distance between the local fingerprint summary and the baseline mean vector is calculated, including:

[0022] ;

[0023] in The baseline covariance matrix, This is a local fingerprint summary.

[0024] Furthermore, the preset threshold is a dynamic threshold. The calculation formula is:

[0025] ;

[0026] here and These are the mean and standard deviation of all Mahalanobis distances for the device over the past week.

[0027] Furthermore, a univariate linear regression is performed on the Mahalanobis distance sequence within the preset Mahalanobis distance sliding window to obtain the slope, including:

[0028] Maintain a length of The Mahalanobis distance sliding window queue, for consecutive elements in the queue Mahalanobis distance sequence of 1 period Perform univariate linear regression fitting;

[0029] Let the time index sequence be The line with the fitted Mahalanobis distance is calculated using the least squares method. slope :

[0030] .

[0031] Where i represents the index of the time series T within the Mahalanobis distance sliding window.

[0032] Furthermore, the process of building the failure case library is as follows:

[0033] Data aggregation: Collect historical abnormal fingerprint data, use PCA algorithm for dimensionality reduction, and extract the main fault feature components;

[0034] Density clustering: The DBSCAN algorithm is used to cluster dimensionality-reduced data;

[0035] Semantic annotation: Domain experts perform semantic annotation on the clustering results in conjunction with maintenance records to form a labeled fault cluster center vector library.

[0036] Furthermore, the abnormal fingerprints are matched with a pre-defined fault case library to determine their similarity, and the fault categories corresponding to the abnormal fingerprints are output, including:

[0037] Projection and distance calculation: The abnormal fingerprint is projected onto the same low-dimensional space, and the abnormal fingerprint and the center vector of each fault cluster are calculated. Euclidean distance ;

[0038] Calculating matching confidence: Calculating matching confidence based on Gaussian kernel function ,in For the minimum distance, The standard deviation of the fault cluster;

[0039] Decision output: If the matching confidence is greater than the confidence threshold, the corresponding root cause label of the fault is directly output; otherwise, it is judged as a newly emerging unknown anomaly, stored in the "pending labeling pool" and temporarily marked as "general performance degradation".

[0040] Furthermore, it also includes executing the following grayscale screening logic when a new firmware version is available:

[0041] Initial screening of the candidate set: Collect the version, battery level and task execution status of all devices, and exclude devices with incompatible hardware versions, less than 20% battery level, or those performing emergency tasks;

[0042] Health risk weighting: calculating upgrade risk for remaining equipment The calculation formula is as follows:

[0043] ;

[0044] Indicates the current degree of health deviation. Indicates the frequency of historical failures. This indicates the control stability score. , respectively, are the weighting coefficients;

[0045] The judgment logic is as follows:

[0046] All candidate devices according to The devices are sorted from low to high (risk from lowest to highest), and the top 5% of devices are selected as the pioneer group to be the first to receive the new firmware.

[0047] The next 20% of devices were selected as the observation group. After the pioneer group had been running stably for 24 hours, the firmware was pushed out to verify the universality of the firmware on devices with different health levels.

[0048] The remaining 75% of devices were selected as the conservative group and the push notifications were temporarily suspended.

[0049] After the equipment of the pioneer group is upgraded, the changes in its local fingerprint summary are monitored in real time. If the Mahalanobis distance of the local fingerprint summary increases significantly or a new cluster center appears after the upgrade, the "automatic rollback" command is immediately triggered, and the push of the observation group and the conservative group is suspended.

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

[0051] The present invention proposes a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting:

[0052] 1. Constructing a dynamic health fingerprint: By extracting the kinematic-electrical coupling features in real time at the edge, a device-specific time-series fingerprint map is generated, eliminating noise caused by differences in operating conditions and enabling accurate identification of early and minor faults;

[0053] 2. Automatic root cause classification: Using cloud-based clustering algorithms, abnormal fingerprints are mapped to a preset fault mode library, and the fault type is automatically output (such as joint wear, encoder interference, poor heat dissipation), reducing manual troubleshooting costs by more than 90%. Attached Figure Description

[0054] Figure 1 This is a flowchart of the self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting, as described in this application. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0056] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0057] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0058] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0059] This technical solution utilizes a multimodal temporal fingerprinting-based self-diagnosis method for quadruped robots, operating between the robot dog's edge computing unit and a cloud-based health management platform. Figure 1 As shown, Figure 1 This is a cloud-edge interaction timing diagram of the method in this patent, illustrating the complete closed-loop process from edge fingerprint extraction, cloud anomaly diagnosis to OTA dynamic grayscale decision-making and rollback protection. Specifically, it includes the following steps:

[0060] Step 1: Extraction of multimodal temporal fingerprint features at the edge.

[0061] The edge control unit synchronously collects three types of data at a high frequency (≥100Hz):

[0062] Kinematic data: IMU acceleration angular velocity Joint position Joint velocity ;

[0063] Electrical data: Motor current at each joint Bus voltage Motor winding temperature ;

[0064] Context: Ground roughness estimate (Provided by the robot dog's own visual SLAM module), load weight estimation .

[0065] In each control cycle Internally, the "energy efficiency-stability coupling index" is calculated as a fingerprint feature vector. :

[0066] ;

[0067] in:

[0068] First item To normalize instantaneous power consumption and reflect abnormal mechanical resistance;

[0069] Second item The acceleration tracking error ratio reflects changes in control stiffness or mechanical clearance.

[0070] in: Let be the motor current of the i-th joint. Let be the angular velocity of the i-th joint. This is the normalization factor for rated power. The desired acceleration (from motion control commands). This refers to the actual acceleration, which is estimated by the IMU or joint sensors. This is a dimensionless estimate of the ground roughness output by visual SLAM. This represents the rate of temperature rise per unit time.

[0071] Edge pair Slide the window (window size) (The corresponding time length is 5 seconds, and the control period Tc is 10ms by default, i.e., 100Hz) Statistical analysis is performed to generate a local fingerprint summary. (Including mean, variance, and skewness), and reported to the cloud every 5 seconds via MQTT (Message Queuing Telemetry Transport) protocol.

[0072] Step 2: Cloud-based dynamic health baseline construction and anomaly detection.

[0073] Cloud reception Then, perform the following processing:

[0074] 2.1) Standardization of operating conditions: Based on the reported... and From historical databases (containing local fingerprint summaries) The "golden sample" baseline is selected from samples that simultaneously meet the following three conditions under the same operating conditions (operating condition context information, health status markers, and equipment identity information):

[0075] Manually marked as "healthy" (no fault records);

[0076] Running time exceeds 100 hours;

[0077] Mahalanobis distance within this period Less than 1.5.

[0078] Calculate the baseline mean vector for the selected gold samples. and baseline covariance matrix The baseline is recalculated every 7 days.

[0079] (Baseline mean vector): Represents the center position of all selected gold samples in the fingerprint space. If the fingerprint vector It is 4-dimensional (power, error, temperature rise, roughness), then It is also a 4-dimensional vector, representing the average value of the "standard" fingerprint features of a healthy robot dog under the current specific working conditions (such as: flat ground, no load).

[0080] The physical meaning of the baseline mean vector: It represents what the "normal state" should look like.

[0081] (Baseline covariance matrix): Represents the volatility relationship matrix among all selected gold samples. It is... The matrix (assuming the fingerprint is 4-dimensional).

[0082] 2.2) Mahalanobis distance anomaly score: Calculate the current fingerprint Mahalanobis distance from the baseline :

[0083] ;

[0084] in Let be the covariance matrix. If it is, then it is marked as a "potential anomaly". The dynamic threshold is calculated using the following formula:

[0085] ;

[0086] here and These are the mean and standard deviation of all Mahalanobis distances of the device over the past 168 hours (one week).

[0087] 2.3) Time series trend analysis:

[0088] Maintain a length of in the cloud (default A sliding window queue of Mahalanobis distances. For consecutive elements in the queue... Mahalanobis distance sequence of 1 period Perform a univariate linear regression fit.

[0089] Let the time index sequence be The fitted line is calculated using the least squares method. slope :

[0090] ;

[0091] Decision logic:

[0092] If the slope (Default threshold set to) (Unit: Mahalanobis distance / cycle), indicating that the equipment health status is showing a continuous deterioration trend.

[0093] At this point, even the latest Mahalanobis distance Not exceeding the dynamic threshold The system still identifies it as an "early warning of progressive failure" (such as slow-developing failures like slight bearing wear or gradual lubrication failure).

[0094] This mechanism aims to detect hidden faults that have not yet triggered absolute threshold alarms but show obvious abnormal trends.

[0095] Step 3: Fault root cause clustering and knowledge graph mapping.

[0096] A "known fault case library" is maintained in the cloud, which is built through the following offline pre-training process:

[0097] Data aggregation: Collect historical abnormal fingerprint data, use PCA algorithm for dimensionality reduction, and extract the main fault feature components;

[0098] Density clustering: The DBSCAN algorithm is used to cluster dimensionality-reduced data to automatically discover high-density abnormal regions (i.e. potential failure modes) in the data.

[0099] Manual annotation: Domain experts combine maintenance records to semantically annotate the clustering results (such as "joint wear" and "sensor drift"), forming a labeled fault cluster center vector library.

[0100] Online matching logic:

[0101] For abnormal fingerprints detected in real time :

[0102] 3.1) Projection and Distance Calculation: Project it onto the same low-dimensional space and calculate its distance from the centers of each known fault cluster. Euclidean distance ;

[0103] 3.2) Confidence Assessment: Calculate the matching confidence score based on the Gaussian kernel function. ,in For the minimum distance, This represents the standard deviation of the corresponding cluster.

[0104] 3.3) Decision Output:

[0105] like Directly output the corresponding root cause label;

[0106] like It was determined to be a newly discovered unknown anomaly, stored in the "pending labeling pool" and triggered expert intervention, and temporarily marked as "general performance degradation".

[0107] 3.1) Project the abnormal fingerprints into a low-dimensional space and perform similarity matching with the known fault case library (such as "wear of the left front leg harmonic reducer" and "interference of the right rear leg encoder signal") by calculating the confidence score using Euclidean distance and Gaussian kernel function.

[0108] 3.2) If the matching confidence level Directly output the root cause label of the fault;

[0109] 3.3) If it is a newly discovered unknown anomaly, store it in the "pending labeling pool", trigger the expert intervention process, and temporarily mark it as "general performance degradation".

[0110] Step 4: Adaptive OTA grayscale strategy based on health score.

[0111] When a new firmware version is available During deployment, the following gray-scale screening logic is executed in the cloud:

[0112] 4.1) Initial screening of the candidate set: Exclude devices with incompatible hardware versions, less than 20% battery power, or those performing emergency tasks;

[0113] 4.2) Health Risk Weighting:

[0114] Calculate an "upgrade risk score" for the remaining equipment. The formula is as follows:

[0115] ;

[0116] (Current Health Deviation): Mahal distance in the past 24 hours The average value. If less than 24 hours have passed, all available data are used. The larger the value, the further the device is from a healthy baseline.

[0117] (Historical Fault Frequency): The number of times an error was marked as "abnormal" and a work order was generated in the past 30 days. Normalization is required (e.g., divided by the maximum allowed number of 10). ).

[0118] (Control stability score): Calculated based on the Mahalanobis distance distribution over the past week. The value range is [0,1], where 1 indicates extreme stability.

[0119] Weighting coefficients: The weights are determined based on the Analytic Hierarchy Process (AHP), emphasizing the decisive role of real-time health status in escalating risk.

[0120] The judgment logic is as follows:

[0121] Calculated The value range is [0,1].

[0122] The closer to 0, the healthier and more stable the device is, and the more likely it is to be included in Group A.

[0123] The closer the value is to 1, the higher the risk of the device, and it may be included in Group C or prohibited from upgrading.

[0124] 4.3) Dynamic grayscale grouping:

[0125] This step is based on the upgrade risk score calculated in step 4.2. The candidate devices are sorted into ordered layers, and the specific logic is as follows:

[0126] Sort: Sort all candidate devices according to Sort by risk from low to high (from smallest to largest).

[0127] Grouping definition and usage:

[0128] Group A (Pioneer Group): Select the top 5% of devices in the ranking (or the top 50 in absolute number).

[0129] Purpose: As "canary" nodes, they are the first to receive new firmware. Due to their extremely high health scores (as guaranteed by step 4.2), they have the highest tolerance for potential compatibility issues with new firmware and best reflect the pure performance of the firmware itself, excluding interference from device aging.

[0130] Group B (Observation Group): Select the next 20% of devices.

[0131] Purpose: To push out the firmware after GroupA has been running stably for 24 hours. Used to verify the firmware's universality across devices with varying health levels.

[0132] Group C (Conservative Group): 75% of equipment remaining.

[0133] Purpose: To temporarily halt push notifications. These devices may have mild sub-optimal performance (as described in step 4.2). or (Reflection) It is necessary to wait for the first two stages of verification to be fully passed, or for manual confirmation by maintenance personnel before pushing the update, in order to prevent failures during the upgrade process.

[0134] The quantified risk score provided in step 4.2 is the core basis for achieving "precise triage" in this step. Without step 4.2, this step would degenerate into random grouping, failing to achieve the protection mechanism of "letting good equipment try first." Through this coupling, the system ensures that upgrade risks are always kept within a controllable minimum range.

[0135] 4.4) Post-upgrade verification: After the GroupA device is upgraded, its fingerprint is monitored in real time by the cloud. Changes. If after the upgrade... If the cluster center increases significantly or a new cluster center appears, the "automatic rollback" command will be triggered immediately, and the push of GroupB / C will be paused.

[0136] Step 5: Baseline self-evolution update.

[0137] For devices that have been successfully upgraded and are running stably, their new fingerprint data will be incorporated into the "new version baseline library" to gradually replace the old version baseline, enabling online iteration of the health model.

[0138] The specific application scenarios of this invention are as follows:

[0139] In a campus where multiple inspection robot dogs have been deployed, a firmware upgrade is planned (e.g., updating the motor FOC control algorithm to improve energy efficiency).

[0140] The implementation process of this invention is as follows:

[0141] 1. Baseline construction: After the system has been running for a certain period of time, normal fingerprint baselines under different ground surfaces (grass, cement, gravel) are accumulated in the cloud.

[0142] 2. Anomaly Detection: When a certain device is climbing a slope, the fingerprint report from the edge terminal shows "normal power consumption," but the "acceleration tracking error ratio" remains consistently high, and the Mahalanobis distance... The error exceeds the standard, and the trend slope k is positive. The cloud-based clustering and matching result is "slight wear of a certain joint harmonic reducer," generating an early warning work order.

[0143] 3. OTA (Over-The-Air) Gray-Scale Decision-Making: When a new firmware is released, devices with historical fault markers... Devices with relatively high health scores are classified into Group C (Conservative Group) and will not receive push notifications for the time being; while devices with extremely high health scores are classified into Group A (Pioneer Group) and will be upgraded first.

[0144] 4. Upgrade Verification and Rollback: After GroupA upgrades, if a device exhibits a new fingerprint anomaly, the cloud determines that the new firmware conflicts with the device's characteristics, immediately issues a rollback command, and suspends push notifications to other groups.

[0145] 5. Final result: All equipment was upgraded for safety, and equipment with potential mechanical hazards was identified in advance.

[0146] The advantages of this invention compared to traditional technologies are shown in Table 1 below:

[0147] Table 1:

[0148]

[0149] The present invention proposes a self-diagnosis method for quadruped robots based on multimodal temporal fingerprinting, which has the following advantages over existing technologies:

[0150] 1. Constructing a dynamic health fingerprint: By extracting the kinematic-electrical coupling features in real time at the edge, a device-specific time-series fingerprint map is generated, eliminating noise caused by differences in operating conditions and enabling accurate identification of early and minor faults;

[0151] 2. Automatic root cause classification: Using cloud-based clustering algorithms, abnormal fingerprints are mapped to a preset fault mode library, and the fault type is automatically output (such as joint wear, encoder interference, poor heat dissipation), reducing manual troubleshooting costs by more than 90%.

[0152] 3. Adaptive security grayscale: Before OTA release, based on the real-time health fingerprint score of the target device, a "low-risk candidate set" is dynamically screened to avoid pushing updates to sub-healthy or high-risk devices, significantly reducing the upgrade failure rate and the risk of bricking.

[0153] 4. Closed-loop feedback optimization: Device behavior data after OTA upgrade corrects the fingerprint baseline, forming a self-evolutionary closed loop of "diagnosis-upgrade-verification-optimization".

[0154] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for self-diagnosis of faults in a quadruped robot based on multimodal temporal fingerprinting, characterized in that, For use on the cloud side, including: The system receives a local fingerprint summary sent by the edge master control unit of the quadruped robot. The edge master control unit is used to acquire the kinematic data, electrical data, and environmental context data of the quadruped robot. In each control cycle, it performs multimodal temporal fingerprint feature extraction on the kinematic data, electrical data, and environmental context data to obtain a local fingerprint summary. Anomaly detection is performed on the local fingerprint summary to output potential abnormal fingerprints. Anomaly detection includes extracting the baseline mean vector and baseline covariance matrix from a preset historical database based on environmental context data, calculating the Mahalanobis distance between the local fingerprint summary and the baseline mean vector, marking local fingerprint summaries with Mahalanobis distance greater than a preset threshold as potential abnormal fingerprints, and performing univariate linear regression fitting on the Mahalanobis distance sequence within a preset Mahalanobis distance sliding window to obtain the slope. If the slope exceeds a preset slope threshold, the corresponding local fingerprint summary is judged to be a potential abnormal fingerprint. If the local fingerprint summary is a potential abnormal fingerprint, then the abnormal fingerprint is matched with the preset fault case library for similarity, and the fault category corresponding to the abnormal fingerprint is output.

2. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting as described in claim 1, characterized in that, Kinematic data including IMU acceleration angular velocity Joint position Joint velocity Electrical data includes the motor current of each joint. Bus voltage Motor winding temperature Environmental context data includes ground roughness estimates. Load weight estimation .

3. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting according to claim 2, characterized in that, Within each control cycle, multimodal temporal fingerprint features are extracted from kinematic data, electrical data, and environmental context data to obtain a local fingerprint summary, including: In each control cycle Internally, calculate the fingerprint feature vector. As a local fingerprint summary: ; in: To normalize instantaneous power consumption, For acceleration tracking error ratio, Let be the motor current of the i-th joint. Let be the angular velocity of the i-th joint. This is the normalization factor for rated power. For the desired acceleration, For actual acceleration, This represents the rate of temperature rise per unit time.

4. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting according to claim 2, characterized in that, Based on environmental context data, the baseline mean vector and baseline covariance matrix are extracted from a pre-defined historical database, including: Based on the estimated ground roughness value and load weight estimation Samples meeting preset conditions are extracted from the historical database as the initial health baseline under the same working conditions. The historical database includes the quadruped robot's local fingerprint summary, working condition context information, health status markers, and device identification information. The preset conditions include no fault records, running time exceeding 100 hours, and Mahalanobis distance of samples within the period corresponding to the generation of the local fingerprint summary. Less than 1.5; Wherein, the initial health baseline under the same working conditions is a pre-calibrated health baseline, including an initial mean vector and an initial covariance matrix, and the sample Mahalanobis distance is calculated based on the initial mean vector and initial covariance matrix of the initial health baseline under the same working conditions.

5. A method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting as described in claim 4, characterized in that, Calculate the Mahalanobis distance between the local fingerprint summary and the baseline mean vector, including: ; in The baseline covariance matrix, This is a local fingerprint summary.

6. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting according to claim 1, characterized in that, The preset threshold is a dynamic threshold. The calculation formula is: ; here and These are the mean and standard deviation of all Mahalanobis distances for the device over the past week.

7. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting according to claim 1, characterized in that, A univariate linear regression is performed on the Mahalanobis distance sequence within a preset Mahalanobis distance sliding window to obtain the slope, including: Maintain a length of The Mahalanobis distance sliding window queue, for consecutive elements in the queue Mahalanobis distance sequence of 1 period Perform univariate linear regression fitting; Let the time index sequence be The line with the fitted Mahalanobis distance is calculated using the least squares method. slope : ; Where i represents the index of the time series T within the Mahalanobis distance sliding window.

8. The method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting according to claim 1, characterized in that, The process of building the failure case library is as follows: Data aggregation: Collect historical abnormal fingerprint data, use PCA algorithm for dimensionality reduction, and extract the main fault feature components; Density clustering: The DBSCAN algorithm is used to cluster dimensionality-reduced data; Semantic annotation: Domain experts perform semantic annotation on the clustering results in conjunction with maintenance records to form a labeled fault cluster center vector library.

9. A method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting as described in claim 8, characterized in that, The abnormal fingerprint is matched with a pre-defined fault case library for similarity analysis, and the fault category corresponding to the abnormal fingerprint is output, including: Projection and distance calculation: The abnormal fingerprint is projected onto the same low-dimensional space, and the abnormal fingerprint and the center vector of each fault cluster are calculated. Euclidean distance ; Calculating matching confidence: Calculating matching confidence based on Gaussian kernel function ,in For the minimum distance, The standard deviation of the fault cluster; Decision output: If the matching confidence is greater than the confidence threshold, the corresponding root cause label of the fault is directly output; otherwise, it is judged as a newly discovered unknown anomaly, stored in the "pending labeling pool" and temporarily marked as "general performance degradation".

10. A method for self-diagnosis of quadruped robot faults based on multimodal temporal fingerprinting as described in claim 1, characterized in that, This also includes executing the following grayscale screening logic when a new firmware version is available: Initial screening of the candidate set: Collect the version, battery level and task execution status of all devices, and exclude devices with incompatible hardware versions, less than 20% battery level, or those performing emergency tasks; Health risk weighting: calculating upgrade risk for remaining equipment The calculation formula is as follows: ; Indicates the current degree of health deviation. Indicates the frequency of historical failures. This indicates the control stability score. , respectively, are the weighting coefficients; The judgment logic is as follows: All candidate devices according to The devices are sorted from low to high (risk from lowest to highest), and the top 5% of devices are selected as the pioneer group to be the first to receive the new firmware. The next 20% of devices were selected as the observation group. After the pioneer group had been running stably for 24 hours, the firmware was pushed out to verify the universality of the firmware on devices with different health levels. The remaining 75% of devices were selected as the conservative group to postpone the push notifications. After the equipment of the pioneer group is upgraded, its local fingerprint summary changes are monitored in real time. If the Mahalanobis distance of the local fingerprint summary increases significantly or a new cluster center appears after the upgrade, the "automatic rollback" command is immediately triggered, and the push of the observation group and the conservative group is suspended.