A method and device for testing the gait regularity of a robot

By synchronously acquiring the three-dimensional coordinate data and body sensor data of the bipedal robot through an optical motion capture system, and combining it with preset standard thresholds and weighting coefficients, the problems of manual dependence and low batch detection efficiency in existing bipedal robot gait detection are solved, realizing high-precision, non-contact gait testing and management.

CN123135145APending Publication Date: 2026-11-2058 INTELLIGENT TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611315520.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing bipedal robot gait testing technologies suffer from problems such as high reliance on manual labor, inconsistent evaluation standards, insufficient external three-dimensional motion measurement, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and poor repeatability and traceability of test results. These issues make them unsuitable for the needs of large-scale mass production and quality control of bipedal robots.

Method used

The optical motion capture system synchronously collects the three-dimensional coordinate data of the reflective markers of the bipedal robot under test, the body sensor data, and the test task status information. After data preprocessing and gait feature extraction, the gait standardization is evaluated by combining preset standard thresholds and weight coefficients. The system outputs a detailed list of out-of-limit indicators, identifies abnormal gaits, and finally generates a single-machine test report and batch test statistical results.

Benefits of technology

It enables high-precision, non-contact, objective quantitative testing and batch intelligent management of bipedal robot gait, improving testing efficiency, evaluation consistency and result traceability, and is suitable for bipedal robot R&D verification, factory testing and batch acceptance scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123135145A_ABST
    Figure CN123135145A_ABST
Patent Text Reader

Abstract

The application provides a robot motion gait normative test method and device, three-dimensional coordinate data of reflective marker points of a two-legged robot to be tested, body sensor data and test task state information are synchronously collected through an optical motion capture system, after data preprocessing and gait feature extraction, the gait normative evaluation is completed in combination with a preset specification threshold and a weight coefficient, and an out-of-limit index detail is output, based on the out-of-limit detail and gait feature, an abnormal gait is identified, finally, data archiving is completed, a single-machine test report and batch test statistical results are generated, the problems of high artificial dependence, incomplete test indexes, low batch detection efficiency, difficult quantitative identification of abnormal gaits, difficult standardized evaluation and traceability management of test results and the like in the existing two-legged robot gait detection are solved, and high-precision, non-contact, objective and quantitative test and batch intelligent management of two-legged robot gaits are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of robot testing, motion capture, intelligent detection and robot motion performance evaluation, and in particular to a method and apparatus for testing the standardization of robot gait. Background Technology

[0002] Currently, bipedal robot gait testing mainly includes manual observation and video recording methods. This means that testers judge whether the robot has gait abnormalities by observing with the naked eye or recording and playing back videos with ordinary cameras. This method relies on the experience of the testers, is highly subjective, and is greatly affected by the observation angle and environmental conditions, making it difficult to form a unified, objective, and reproducible evaluation result.

[0003] Data detection based on robot body sensors involves collecting internal state data through the robot's built-in joint encoders, inertial measurement units, plantar pressure sensors, torque sensors, etc., and analyzing the control effect. However, this type of data can only reflect the robot's internal state and is difficult to independently and objectively measure the actual motion trajectory of the robot's key parts in external three-dimensional space, thus failing to fully verify the robot's true gait performance.

[0004] Specialized testing methods based on single-item athletic indicators, which evaluate athletic ability by measuring single indicators such as straight-line walking distance, 100-meter yaw rate, average speed, and minimum turning radius, cannot fully describe the dynamic changes in the gait process and lack comprehensive analysis of fine-grained indicators such as gait cycle, foot trajectory, center of gravity fluctuation, and left-right coordination.

[0005] The single-machine testing method based on laboratory motion capture equipment involves using an optical motion capture system to collect the motion trajectory of a single machine in a scientific research setting for kinematic analysis or control algorithm verification. However, existing applications are more inclined towards single experiments and algorithm research, and a complete method system for batch testing, automatic scoring, anomaly identification, and test report generation of bipedal robots has not yet been formed. Batch testing efficiency is low, and test results are difficult to trace and compare horizontally.

[0006] Therefore, existing bipedal robot gait testing technologies generally suffer from problems such as high reliance on human intervention, inconsistent evaluation standards, insufficient external three-dimensional motion measurement, low batch testing efficiency, difficulty in quantifying and identifying abnormal gait, and poor repeatability and traceability of test results, making them unsuitable for the needs of large-scale mass production and quality control of bipedal robots. Summary of the Invention

[0007] In view of this, the purpose of this application is to provide a method and device for testing the gait standardization of a robot. The method uses an optical motion capture system to simultaneously acquire the three-dimensional coordinate data of reflective markers on the bipedal robot under test, body sensor data, and test task status information. After data preprocessing and gait feature extraction, the method combines preset standardization thresholds and weighting coefficients to complete the gait standardization evaluation and output a detailed list of out-of-limit indicators. Based on the out-of-limit details and gait features, abnormal gaits are identified. Finally, the data is archived, and a single-machine test report and batch test statistical results are generated. This method solves the problems of high reliance on manual labor, incomplete test indicators, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and difficulty in standardizing and managing test results in existing bipedal robot gait detection. It achieves high-precision, non-contact, objective quantitative testing and batch intelligent management of bipedal robot gait.

[0008] This application provides a method for testing the regularity of robot gait, the method comprising: The bipedal robot under test is controlled to perform walking motion within a preset test area according to the task parameters corresponding to the pre-configured batch test task. The preset optical motion capture system is used to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and to collect the body sensor data of the bipedal robot under test and the test task status information corresponding to the batch test task. The three-dimensional coordinate data and the body sensor data are preprocessed to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and the gait feature parameters of the bipedal robot under test in multiple dimensions are extracted based on the gait data sequence. Based on the gait feature parameters, preset standard thresholds, and preset weight coefficients, the gait standardization evaluation result of the bipedal robot under test is determined; wherein, the gait standardization evaluation result includes at least the individual index score value under multiple preset indicators, the comprehensive gait standardization score value, the qualified status judgment result, and the detailed result of the out-of-limit indicators; Based on the detailed results of the out-of-limit indicators and the deviation and posture change characteristics represented by the gait feature parameters, the abnormal gait recognition result of the bipedal robot under test is determined. The three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results, and the abnormal gait identification results are organized and archived to generate a single-machine test report and batch test statistical results for the bipedal robot under test.

[0009] Furthermore, before controlling the bipedal robot under test to perform walking motion within a preset test area according to the pre-configured task parameters corresponding to the batch test tasks, the test method further includes: Multiple infrared motion capture cameras are deployed in the test area to form an optical motion capture system. The test area is spatially calibrated to establish a unified three-dimensional spatial coordinate system. A standardized test path is set in the test area. Reflective markers are installed at predetermined locations on the bipedal robot under test to form a set of markers for characterizing the robot's posture and motion trajectory; wherein, the predetermined locations include at least the head, torso, pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet of the bipedal robot under test. Based on the three-dimensional spatial coordinate system, the standardized test path, and the entered basic test information, test item parameters, and pass thresholds, a batch test task corresponding to the bipedal robot under test and the task parameters corresponding to the batch test task are generated. The basic test information includes at least the robot number, test batch, robot model, and control version; the test item parameters include at least the test item, test speed, number of repeated tests, and test path; and the pass thresholds include at least a preset standard threshold and a preset pass threshold.

[0010] Furthermore, the process involves controlling the bipedal robot under test to perform walking motion within a preset test area according to the pre-configured task parameters corresponding to the batch test task. A preset optical motion capture system is used to collect in real-time the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test, as well as the body sensor data corresponding to the bipedal robot under test and the test task status information corresponding to the batch test task, including: The bipedal robot under test is controlled to move to the starting position within the preset test area, so that the bipedal robot under test enters the ready-to-trigger state after completing the initial walking orientation alignment, and a walking motion test command is issued to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task. In response to the bipedal robot under test entering the trigger-ready state, a walking motion test command and a unified trigger signal are issued to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task, and the optical motion capture system and the body sensor of the bipedal robot under test are activated simultaneously. The bipedal robot under test executes walking motion actions according to the walking motion test instructions. The optical motion capture system collects the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time at a fixed sampling rate, and simultaneously collects the body sensor data corresponding to the body sensor. The body sensor data includes at least joint state data, posture state data, foot contact state data, motor operation data, and motion control state data. The three-dimensional coordinate data and the body sensor data are collected synchronously using a unified time reference. The start time, end time, execution status, and abnormal interruption information of the batch test tasks are recorded synchronously to generate test task status information corresponding to the batch test tasks.

[0011] Furthermore, the data preprocessing of the three-dimensional coordinate data and the body sensor data to obtain the gait data sequences corresponding to the bipedal robot under test in multiple gait cycles includes: The three-dimensional coordinate data and the body sensor data are sequentially processed by missing marker point repair, noise filtering, outlier point removal, coordinate system unification, and time synchronization to obtain the preprocessed three-dimensional coordinate data and the body sensor data. The three-dimensional coordinate data is analyzed to obtain foot height features and foot velocity features. Based on the foot height features, foot velocity features, and foot contact state in the body sensor data, the ground contact event and ground lift event corresponding to the left and right feet of the bipedal robot under test are identified. Based on the ground contact event and the ground lift event, the time interval between two consecutive ground contactes of the same side foot of the bipedal robot under test is taken as a gait cycle, and each gait cycle is divided into a support phase and a swing phase, so as to output a continuous and stable gait data sequence of the bipedal robot under test in multiple gait cycles.

[0012] Furthermore, the gait feature parameters include at least one or more of the following: gait cycle parameters, stride length data, stride width data, stride frequency data, foot lift height value, foot landing point deviation, left and right foot trajectory symmetry index, trunk pitch angle time series data, trunk roll angle time series data, trunk yaw angle time series data, trunk posture change feature parameters, body center of gravity trajectory fluctuation data, and left and right leg phase difference data; the extraction of gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequence includes: Based on the gait data sequence corresponding to each gait cycle, the total duration, support phase duration and swing phase duration of each gait cycle are calculated, and the proportion of support phase and the proportion of swing phase are determined. The total duration, support phase duration, swing phase duration, support phase proportion and swing phase proportion are determined as the gait cycle parameters. The stride length data is calculated based on the distance difference between the left and right foot contact points in the gait data sequence in the direction of travel; the stride width data is calculated based on the distance difference between the left and right foot contact points in the gait data sequence in the lateral direction; and the stride frequency data is calculated based on the stride length data per unit time. Extract the vertical target height value of the foot tip in the swing phase within the gait data sequence corresponding to each gait cycle, and calculate the foot tip lift value based on the vertical target height value of the foot tip in the swing phase and the ground reference height; The actual foot-to-ground contact position in the gait data sequence is compared with the expected landing position of the robot's body sensor to calculate the foot-to-ground deviation. After performing phase normalization processing on the left and right foot movement trajectories in the gait data sequence according to the gait cycle, a mirror comparison is performed to obtain the symmetry index of the left and right foot trajectory. Based on the three-dimensional coordinate data in the gait data sequence, the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data are calculated. Based on the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data, the mean, peak-to-peak value, and root mean square value of each attitude angle in each gait cycle are statistically analyzed to obtain the trunk attitude change characteristic parameters. Based on the three-dimensional coordinate data in the gait data sequence and the mass distribution model of the bipedal robot under test, the three-dimensional trajectory data of the body center of gravity of the bipedal robot under test is estimated. Based on the three-dimensional trajectory data of the body center of gravity, the fluctuation amplitude of the body center of gravity of the bipedal robot under test in the forward, lateral and vertical directions is statistically analyzed to obtain the body center of gravity trajectory fluctuation data. The left and right leg gait phases are constructed based on the ground contact and ground lift events of the left and right feet in the gait data sequence, and the phase difference data of the left and right legs is calculated. All calculated gait feature parameters are validated for reasonableness to eliminate invalid feature data and output structured gait feature parameters.

[0013] Furthermore, determining the gait normality evaluation result of the bipedal robot under test based on the gait feature parameters, the preset normalization threshold, and the preset weight coefficient includes: Each gait feature parameter is compared with its corresponding preset standard threshold to obtain deviation fluctuation data and detailed results of the out-of-limit indicators for multiple preset indicators. Based on the deviation fluctuation data, the individual indicator scores under multiple preset indicators are calculated; wherein, the individual indicator scores include stride consistency score, stride width stability score, foot landing accuracy score, trunk posture stability score, left and right leg coordination score, and movement trajectory deviation score. Based on preset weighting coefficients, the individual indicator scores are weighted and summed to obtain the gait standardization comprehensive score. The comprehensive score for gait conformity is compared with a first preset pass threshold and a second preset pass threshold to determine the pass status result; wherein the pass status result includes one of pass, fail, or need to be retested.

[0014] Furthermore, determining the abnormal gait recognition result of the bipedal robot under test based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters includes: Based on the detailed results of the out-of-limit indicators, the gait cycle segments with out-of-limit indicators are located, and the gait parameter change features, trunk posture change features and foot trajectory change features within the corresponding gait cycle segments are extracted to form anomaly identification feature quantity. Based on the aforementioned anomaly identification features, a multi-feature joint judgment logic is used to determine the abnormal gait type of the bipedal robot under test; wherein, the abnormal gait type includes one or more of the following: dragging foot abnormality, limping abnormality, inconsistent left and right step length abnormality, foot landing point deviation abnormality, excessive body swaying abnormality, yaw abnormality, and support instability abnormality. Based on the characteristic over-limit amplitude corresponding to the abnormal gait type, the number of consecutively over-limit gait cycles, and the frequency of abnormal occurrence, combined with the degree of influence of the abnormal gait type on walking stability, the severity classification result corresponding to the abnormal gait type is determined; wherein, the severity classification result includes one of mild, moderate, and severe levels; The abnormal gait types are subjected to correlation logic verification to eliminate false abnormal results caused by acquisition noise, and the abnormal gait identification results of the bipedal robot under test, including the abnormal gait types and the severity classification results, are output.

[0015] Furthermore, the process of organizing and archiving the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait normalization evaluation results, and the abnormal gait identification results to generate a single-machine test report and batch test statistical results for the bipedal robot under test includes: According to the task parameters corresponding to the batch test tasks, the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait normalization evaluation results and the abnormal gait identification results are structured and classified for storage, and corresponding data retrieval indexes are established to form a traceable test result database. For a single test task of a single bipedal robot under test, the basic test information in the test task status information is extracted, and combined with the gait normality evaluation results and the abnormal gait identification results, a single-machine test report of the bipedal robot under test is generated. For all the bipedal robots under test in the same test batch, the overall gait normalization evaluation results and abnormal gait identification results of the batch are statistically analyzed, and a batch test statistical result including a batch test statistical table and an abnormal problem summary table is generated. Based on preset screening dimensions, a comparative analysis is performed on the gait feature parameters, gait standardization evaluation results, and abnormal gait identification results corresponding to multiple bipedal robots under test, multiple test batches, and multiple control versions, and a comparative analysis result is generated.

[0016] This application embodiment also provides a testing device for the regularity of robot gait, the testing device comprising: The data acquisition and synchronization module is used to control the bipedal robot under test to perform walking motion in a preset test area according to the task parameters corresponding to the pre-configured batch test task. It uses a preset optical motion capture system to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and also collects the body sensor data of the bipedal robot under test and the test task status information corresponding to the batch test task. The gait feature extraction module is used to preprocess the three-dimensional coordinate data and the body sensor data to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and extract the gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequence. The gait standardization evaluation module is used to determine the gait standardization evaluation result of the bipedal robot under test based on the gait feature parameters, preset standardization thresholds and preset weight coefficients; wherein, the gait standardization evaluation result includes at least the individual index score value under multiple preset indicators, the comprehensive gait standardization score value, the qualified status judgment result and the detailed result of the out-of-limit indicators; An abnormal gait recognition module is used to determine the abnormal gait recognition result of the bipedal robot under test based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters. The test result generation module is used to organize and archive the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results, and the abnormal gait identification results, and generate a single-machine test report and batch test statistical results for the bipedal robot under test.

[0017] Furthermore, the testing apparatus also includes: An optical motion capture module is used to deploy multiple infrared motion capture cameras within a test area to form an optical motion capture system, and to perform spatial calibration of the test area to establish a unified three-dimensional spatial coordinate system, and to set up a standardized test path within the test area. The marker placement module is used to install reflective markers on preset parts of the bipedal robot under test to form a set of markers to characterize the robot's posture and motion trajectory; wherein, the preset parts include at least the head, torso, pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet of the bipedal robot under test. The test task configuration module is used to generate batch test tasks and corresponding task parameters for the bipedal robot under test based on the three-dimensional spatial coordinate system, the standardized test path, and the input test basic information, test item parameters, and pass thresholds. The test basic information includes at least the robot number, test batch, robot model, and control version; the test item parameters include at least the test item, test speed, number of repeated tests, and test path; and the pass thresholds include at least a preset standard threshold and a preset pass threshold.

[0018] This application also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the robot gait conformity testing method described above are performed.

[0019] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the robot gait conformity testing method described above.

[0020] The present application provides a method and apparatus for testing the gait standardization of a robot. The testing method includes: controlling a bipedal robot under test to perform walking motion within a preset test area according to task parameters corresponding to a pre-configured batch test task; using a preset optical motion capture system to collect in real time the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test, and collecting the body sensor data corresponding to the bipedal robot under test and the test task status information corresponding to the batch test task; performing data preprocessing on the three-dimensional coordinate data and the body sensor data to obtain gait data sequences corresponding to multiple gait cycles of the bipedal robot under test, and extracting gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequences. Based on the gait feature parameters, preset standard thresholds, and preset weight coefficients, the gait standardization evaluation result of the bipedal robot under test is determined. The gait standardization evaluation result includes at least individual indicator scores under multiple preset indicators, a comprehensive gait standardization score, a pass / fail status determination result, and a detailed list of out-of-limit indicators. Based on the detailed list of out-of-limit indicators and the deviation and posture change characteristics represented by the gait feature parameters, the abnormal gait identification result of the bipedal robot under test is determined. The three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation result, and the abnormal gait identification result are organized and archived to generate a single-machine test report and batch test statistical results for the bipedal robot under test.

[0021] Compared with existing bipedal robot gait testing methods, this method uses an optical motion capture system to simultaneously collect the three-dimensional coordinate data of reflective markers, body sensor data, and test task status information of the bipedal robot under test. After data preprocessing and gait feature extraction, it combines preset standard thresholds and weight coefficients to complete gait standardization evaluation and output a detailed list of out-of-limit indicators. Then, based on the out-of-limit details and gait features, it identifies abnormal gaits. Finally, it completes data archiving and generates single-machine test reports and batch test statistical results. This method solves the problems of high manual dependence, incomplete test indicators, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and difficulty in standardizing and tracking test results in existing bipedal robot gait detection. It achieves high-precision, non-contact, objective quantitative testing and batch intelligent management of bipedal robot gait.

[0022] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0023] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 One of the flowcharts for a method to test the gait regularity of a robot provided in this application embodiment; Figure 2 This is a schematic diagram of data acquisition for an optical motion capture system provided in an embodiment of this application; Figure 3 A second flowchart illustrating a method for testing the gait regularity of a robot provided in an embodiment of this application; Figure 4 This is a schematic diagram of the installation location of a robot reflective marker provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating the configuration of a batch testing task provided in an embodiment of this application; Figure 6 This is one of the structural schematic diagrams of a robot gait standardization testing device provided in an embodiment of this application; Figure 7 This is a second schematic diagram of a testing device for the standardization of robot gait provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.

[0026] Research has shown that as bipedal robots, humanoid robots, and related legged mobility platforms are increasingly used in scientific research demonstrations, industrial inspections, commercial services, emergency rescue, education and training, and human-computer interaction, their walking stability, gait regularity, motion consistency, and operational safety have become important indicators for evaluating the overall performance of robots. Compared to wheeled or tracked robots, bipedal robots rely on alternating support from their left and right legs to complete movement. The movement process involves multiple stages, including hip, knee, and ankle joints, foot contact, body posture adjustment, and center of gravity transfer, exhibiting characteristics such as multiple degrees of freedom, strong coupling, nonlinearity, and dynamic instability. Stable walking of bipedal robots requires comprehensive consideration of factors such as joint trajectory tracking, foot landing point planning, body posture control, switching between support and swing phases, and overall dynamic balance. Among these, the Zero Moment Point (ZMP) theory is an early and widely adopted stability criterion, and a large number of research results on gait planning and stability based on ZMP have been achieved both domestically and internationally.

[0027] Currently, there are four main technical solutions for bipedal robot gait testing: The first category is manual observation and video recording, where testers judge whether the robot has gait abnormalities by visual observation or playback of video recordings from ordinary cameras. This method relies on the experience of the testers, is highly subjective, and is greatly affected by the observation angle and environmental conditions, making it difficult to form a unified, objective, and reproducible evaluation result.

[0028] The second category is data detection based on the robot's own sensors. This involves collecting internal state data through the robot's built-in joint encoders, inertial measurement units, plantar pressure sensors, torque sensors, etc., and analyzing the control effect. This type of data can only reflect the robot's internal state and is difficult to independently and objectively measure the actual motion trajectory of the robot's key parts in external three-dimensional space, thus failing to fully verify the robot's true gait performance.

[0029] The third category is specialized testing methods based on single athletic indicators, which evaluate athletic ability by measuring single indicators such as straight-line walking distance, yaw rate per 100 meters, average speed, and minimum turning radius. This method cannot fully describe the dynamic changes in the gait process and lacks comprehensive analysis of fine-grained indicators such as gait cycle, foot trajectory, center of gravity fluctuation, and left-right coordination.

[0030] The fourth category is single-machine testing based on laboratory motion capture equipment. This involves using optical motion capture systems in research settings to collect the motion trajectory of a single machine for kinematic analysis or control algorithm verification. However, current applications tend to focus more on single experiments and algorithm research, and a complete methodology for batch testing, automatic scoring, anomaly identification, and test report generation for bipedal robots has not yet been formed. Batch testing is inefficient, and test results are difficult to trace and compare horizontally.

[0031] In summary, existing bipedal robot gait testing technologies generally suffer from problems such as high reliance on human intervention, inconsistent evaluation standards, insufficient external three-dimensional motion measurement, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and poor repeatability and traceability of test results. These issues make them unsuitable for the needs of large-scale mass production and quality control of bipedal robots.

[0032] Based on this, this application provides a method for testing the gait standardization of a robot. An optical motion capture system synchronously collects the three-dimensional coordinate data of reflective markers on the bipedal robot under test, body sensor data, and test task status information. After data preprocessing and gait feature extraction, a gait standardization evaluation is completed by combining preset standardization thresholds and weighting coefficients, and a detailed list of out-of-limit indicators is output. Abnormal gaits are then identified based on the out-of-limit details and gait features. Finally, data archiving is completed, and a single-machine test report and batch test statistical results are generated. This method solves the problems of high reliance on manual labor, incomplete test indicators, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and difficulty in standardizing and managing test results in existing bipedal robot gait detection. It achieves high-precision, non-contact, objective quantitative testing and intelligent batch management of bipedal robot gait.

[0033] Please see Figure 1 , Figure 1 This is one of the flowcharts for a method to test the gait regularity of a robot provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the method for testing the gait regularity of a robot specifically relates to a method for testing, analyzing, and evaluating the gait regularity, motion stability, left-right symmetry, and abnormal gait of a bipedal robot during its walking process based on optical motion capture. It can be applied to scenarios such as R&D verification, factory testing, batch acceptance, and performance iteration of bipedal robots. It achieves high-precision, non-contact, and objective quantitative testing of bipedal robot gait, and has batch test management and automatic anomaly identification capabilities. It can effectively improve testing efficiency, evaluation consistency, and result traceability, and is suitable for scenarios such as R&D verification, factory testing, and batch acceptance of bipedal robots.

[0034] like Figure 1 As shown, the test method includes: S101. Control the bipedal robot under test to perform walking motion in the preset test area according to the task parameters corresponding to the pre-configured batch test task. Use the preset optical motion capture system to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and collect the body sensor data corresponding to the bipedal robot under test and the test task status information corresponding to the batch test task.

[0035] It should be noted that the bipedal robot under test refers to a humanoid / legged robot that moves by alternating support from its left and right legs. It is the test object for the gait conformity test of the method described in the embodiments of this application and has independent walking ability and body state sensing ability.

[0036] Here, batch testing tasks refer to a set of standardized test tasks pre-configured for multiple bipedal robots under test, multiple sets of test items, and multiple repeated tests. These tasks include test object information, execution parameters, and evaluation rules, and are used to support automated and batch gait testing processes.

[0037] In this embodiment, the optical motion capture system is a high-precision non-contact measurement system that identifies reflective markers on the surface of the object being measured using multiple infrared cameras and reconstructs the three-dimensional spatial position and motion trajectory of the markers based on the principle of multi-view stereo vision. It typically has sub-millimeter level spatial measurement accuracy.

[0038] Here, the reflective markers are spherical or circular markers with a surface covered with a highly reflective material. They are placed on the rigid parts of the object being measured and are used to be identified by an infrared camera to obtain the three-dimensional coordinate data of the corresponding position.

[0039] Among them, the three-dimensional coordinate data is the X, Y, and Z axis position data of the reflective marker points in a unified spatial coordinate system, which is calculated by the optical motion capture system and recorded in time series form to reconstruct the spatial motion trajectory of various parts of the robot; the body sensor data is the internal state data collected by various sensors on the robot itself, which is used to reflect the robot's joint movement, posture, force and control command status; the test task status information is metadata that records the status of the entire test task execution process, including the task start / end time, execution status, abnormal interruption information, etc., which is used for effective data segmentation, data validity determination and test report generation.

[0040] In this step, based on the pre-configured batch test task parameters, the test positioning and initial state calibration of the bipedal robot under test are first completed. Then, the external optical measurement equipment and the robot's internal sensing system are started simultaneously through a unified triggering mechanism. During the entire process of the robot performing the preset walking task, the optical motion capture system continuously collects the three-dimensional spatial coordinates of all reflective markers on the robot's surface at a fixed sampling frequency. Simultaneously, the internal operating status data output by various sensors on the robot body are collected in parallel. At the same time, the execution status and time node information of the test task are recorded in real time. Finally, the three types of data are packaged and encapsulated with a unified timestamp as the basis to form a complete original multi-source dataset, which is then transferred to the subsequent data preprocessing stage.

[0041] Here, the robot's external real motion trajectory, internal operating status, and test task metadata are acquired simultaneously, providing a complete raw data foundation for subsequent analysis and avoiding judgment bias caused by a single data source.

[0042] In this way, by synchronously acquiring external optical measurements and internal sensor data, the integrity and time consistency of the data are guaranteed. This allows for independent verification of the robot's real spatial motion state, as well as in-depth analysis in conjunction with internal control data, providing support for subsequent accurate gait evaluation and anomaly diagnosis.

[0043] In one possible implementation of this application, step S101 may include: S1011. Control the bipedal robot under test to move to the starting position in the preset test area, so that the bipedal robot under test enters the ready-to-trigger state after completing the initial walking orientation alignment, and issues a walking motion test command to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task.

[0044] In this step, according to the execution order of the batch test task queue, a scheduling command is sent to the bipedal robot currently under test to guide the robot to autonomously travel to the starting position of the corresponding test item. After the robot arrives at the starting point, it adjusts its own orientation through a dual method of site positioning mark and optical marker calibration to ensure that the robot's initial forward direction is consistent with the forward direction of the preset path, and the initial orientation deviation is controlled within the allowable range. After the posture alignment is completed, the robot sends a positioning completion signal to the test system and enters a standby and trigger-ready state. After confirming that the robot is in position and in normal condition, the walking motion test command for the corresponding test item is sent to the robot controller to complete the pre-loading of commands before the test.

[0045] This ensures that the robot starts the test in a uniform initial state, eliminating the influence of differences in initial position and orientation on the test results.

[0046] For example, according to the batch task queue order, the robot with the number RBT-001 is called to drive to the starting point of the straight path. Through visual positioning and marker point calibration, the robot's direction of travel is made to coincide with the X-axis. The initial orientation deviation is less than or equal to 1°. After receiving the test command, the robot enters the standby and trigger-ready state.

[0047] S1012. In response to the bipedal robot under test entering the trigger-ready state, a walking motion test command and a unified trigger signal are issued to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task, and the optical motion capture system and the body sensor of the bipedal robot under test are activated simultaneously.

[0048] In this step, after receiving the robot's pending trigger confirmation signal, a hardware synchronous trigger signal is output and sent to the main control terminal of the optical motion capture system and the controller terminal of the bipedal robot under test. At the same time that the two systems receive the trigger signal, they start the data acquisition program and motion control program respectively, and both use a pre-synchronized unified time base to assign high-precision timestamps to all output data.

[0049] Furthermore, by using a unified trigger and unified timestamp, the time misalignment caused by startup delays, sampling rate differences, and communication transmission delays of different devices is eliminated, ensuring that external optical measurement data and robot internal sensing data are strictly aligned in the time dimension, providing an accurate time reference for subsequent multi-source data joint analysis.

[0050] This ensures that the optical capture data and the data from the body sensor are strictly aligned in the time dimension, providing an accurate time reference for subsequent joint analysis.

[0051] For example, the optical motion capture system and the robot controller are simultaneously activated by a hardware synchronization trigger signal. Both use the PTP precision time protocol for time synchronization. The sampling rate of the optical capture system is set to 200Hz, the sampling rate of the robot body sensor is set to 100Hz, and all data frames are accompanied by a timestamp with microsecond precision.

[0052] S1013. The bipedal robot under test executes walking motion actions according to the walking motion test instructions. The optical motion capture system collects the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time at a fixed sampling rate, and simultaneously collects the body sensor data corresponding to the body sensor.

[0053] The body sensor data includes at least joint state data, posture state data, foot contact state data, motor operation data, and motion control state data. The three-dimensional coordinate data and the body sensor data are time-synchronized and collected through a unified time reference.

[0054] Here, a unified time reference provides a unified high-precision timestamp reference for all data sources, which is used to eliminate time misalignment caused by differences in sampling rates of different devices and communication delays, and to achieve accurate time alignment of multi-source data.

[0055] In this step, after receiving the start signal, the robot controller executes walking motion according to the preset test speed and path planning, and keeps the control parameters stable throughout the process; the optical motion capture system continuously collects two-dimensional images of all reflective markers in the test area at a set fixed sampling rate, and calculates the three-dimensional coordinate data of each marker in the world coordinate system through a real-time three-dimensional reconstruction algorithm, with each frame of coordinate data accompanied by a timestamp of the corresponding time.

[0056] Furthermore, the robot's sensing system synchronously collects internal operating status data, including joint status data such as angles, angular velocities, and angular accelerations of each joint; attitude status data such as body posture angles, accelerations, and angular velocities; foot contact status data such as foot contact status, contact force, and torque; motor operating data such as current, speed, and temperature of each drive motor; and motion control status data such as motion control commands and desired landing positions output by the controller.

[0057] Here, all the data from the body sensors also come with timestamps under a unified time base, keeping them synchronized with the optical 3D coordinate data in time, forming a parallel dual-data source acquisition stream.

[0058] In this way, the robot's external real motion trajectory and internal operating state are acquired simultaneously, realizing the correspondence between external measurement and internal state.

[0059] For example, the robot walks 8m along a straight path at a speed of 1.0m / s; the optical capture system collects three-dimensional coordinate data of 16 marker points at a frequency of 200Hz; the robot end simultaneously collects angle and angular velocity data of 12 lower limb joints, attitude and acceleration data of the inertial measurement unit, contact status and force data of the plantar pressure sensor, motor current and speed data, and the controller's expected landing point command data, all of which are accompanied by a unified timestamp.

[0060] For example, please refer to Figure 2 , Figure 2 This is a schematic diagram of data acquisition for an optical motion capture system provided in an embodiment of this application. Figure 2 As shown in the diagram, in the optical motion capture system, 1 is an infrared motion capture camera, 2 is the test area, 3 is the straight path, 4 is the turning test area, 5 is the obstacle test area, 6 is the starting point, 7 is the ending point, and 8 is the workstation or data processing terminal.

[0061] S1014. Synchronously record the start time, end time, execution status, and abnormal interruption information of the batch test tasks to generate test task status information corresponding to the batch test tasks.

[0062] In this step, the running status of the task is monitored in real time throughout the entire test execution process, and the start and end times of the test task are accurately recorded. At the same time, the running status and communication status of the robot are monitored. If abnormal situations such as robot falling, communication interruption, program error, or manual emergency stop occur, the time point of the abnormality, the type of abnormality, and the description of the abnormality are recorded in real time. Furthermore, after the test task is completed, the system generates task status metadata for this test, including the unique task number, corresponding robot information, test project type, task execution status (normal completion / abnormal interruption), total runtime, and exception records. This task status metadata is bound and encapsulated with the synchronously collected 3D coordinate data and body sensor data to form a complete original multi-source synchronous dataset, which is then transmitted to subsequent processing stages.

[0063] In this way, recording the metadata of the test task provides a basis for subsequent effective data extraction, data validity judgment, and report generation.

[0064] For example, the start time of this test is recorded as 2025-06-24 10:05:30.000, the end time is recorded as 10:05:38.200, the execution status is recorded as "normal completion", and there are no abnormal interruptions or error messages; this status information is stored together with the collected data to form the original multi-source synchronous dataset.

[0065] Optional, please refer to Figure 3 , Figure 3 This is a second flowchart illustrating a method for testing the gait regularity of a robot, as provided in an embodiment of this application. Figure 3 As shown in the embodiment of this application, the method for testing the gait regularity of a robot, before step S101, further includes: S106. Multiple infrared motion capture cameras are deployed in the test area to form an optical motion capture system, and the test area is spatially calibrated to establish a unified three-dimensional spatial coordinate system. A standardized test path is set in the test area.

[0066] Here, the infrared motion capture camera is the core acquisition hardware of the optical motion capture system. It is a high-speed camera equipped with an infrared light source, used to emit infrared light and acquire reflected images of reflective markers.

[0067] Spatial calibration is a core preliminary step in ensuring the accuracy of motion capture measurements. It involves calculating the intrinsic, extrinsic, and distortion parameters of all cameras using standard calibration tools to establish a unified spatial coordinate system. The three-dimensional spatial coordinate system is a unified spatial reference datum established through spatial calibration, which includes a clear origin position, axial definition, and length unit. All position data are calculated based on this coordinate system. The standardized test path is a fixed walking route that is pre-planned and marked within the test site, including straight lines, turns, obstacles, etc., providing a consistent walking benchmark for all test objects.

[0068] In this step, firstly, based on the actual size of the test site and the test requirements, determine the number of infrared motion capture cameras, their installation height, and their pitch angle. Cameras are evenly distributed on the surrounding walls and the top truss of the test area to ensure that all preset test path areas are within the common field of view of at least 3 cameras, eliminating blind spots caused by marker points during the walking process.

[0069] Furthermore, after the cameras are deployed, a high-precision standard calibration tool is used to perform global spatial calibration on the entire test area. The intrinsic, extrinsic and distortion parameters of each camera are calculated through multi-view images to establish a unified world three-dimensional spatial coordinate system. The origin position, the definition of each axis and the length unit of the coordinate system are clarified, and the calibration accuracy is verified to ensure that the spatial measurement error is controlled within the sub-millimeter level.

[0070] Furthermore, based on the requirements of the test project, the starting and ending points of the walking are precisely marked on the ground of the test site, and different types of standardized test routes such as straight paths, turning paths, and obstacle paths are laid out. The length, turning radius, obstacle size, and other parameters of each path are clearly defined to form a reusable standardized test site.

[0071] In this way, a standardized physical testing environment with a unified spatial benchmark is established, providing completely consistent external measurement conditions for all test objects and eliminating the impact of spatial benchmark differences on test results from the source.

[0072] For example, eight infrared motion capture cameras are deployed around and above a test area that is 10m long and 6m wide. The camera angles and heights are adjusted so that all test areas are within the overlapping field of view of at least three cameras, with no blind spots. A standard calibration pole with a length of 2m is used to complete global spatial calibration, establishing a world three-dimensional coordinate system with the origin at the lower left corner of the test area, the X-axis along the direction of travel, the Y-axis along the horizontal direction, and the Z-axis along the vertical direction. The calibration accuracy is verified to be 0.1mm. An 8m long straight path, a 1.5m radius turning test area, and obstacle test areas with heights of 5cm and 10cm are marked on the ground of the test area, along with corresponding start and end point markers, forming a standardized test area.

[0073] S107. Install reflective markers on a preset part of the bipedal robot to be tested to form a set of markers to characterize the robot's posture and motion trajectory.

[0074] Here, the marker group is a collection of multiple reflective markers placed on different parts of the robot, which can completely characterize the robot's overall posture, joint motion state and foot movement trajectory.

[0075] The preset parts include at least the head, torso, pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet of the bipedal robot under test.

[0076] For example, please refer to Figure 4 , Figure 4 This is a schematic diagram of the installation location of a robot reflective marker provided in an embodiment of this application. Figure 4 As shown in the diagram, 1 is the head marker; 2 is the left shoulder marker; 3 is the right shoulder marker; 4 is the left torso marker; 5 is the right torso marker; 6 is the center torso marker; 7 is the left upper arm marker; 8 is the right upper arm marker; 9 is the left forearm marker; 10 is the right forearm marker; 11 is the left dexterity hand marker; 12 is the right dexterity hand marker; 13 is the left waist / pelvis marker; 14 is the right waist / pelvis marker; 15 is the left thigh marker; 16 is the right thigh marker; 17 is the left calf marker; 18 is the right calf marker; 19 is the left foot marker; and 20 is the right foot marker.

[0077] In this step, firstly, based on the body structure of the bipedal robot under test and the testing and analysis requirements, the installation location of the marker points is selected. Priority is given to the rigid structural parts of the robot, avoiding areas that are prone to relative displacement, such as flexible shells, cables, and gaps between moving joints. The core layout covers the head, the center of the torso, the left and right sides of the pelvis, the left and right hip joints, the left and right knee joints, the left and right ankle joints, and the left and right feet, to ensure that the overall posture of the robot, the movement trajectory of each joint of the lower limbs, and the spatial position changes of the feet can be fully represented.

[0078] Optionally, if additional analysis of upper limb swing coordination is required, markers can be added at corresponding positions on the shoulder, upper arm, forearm, and hand.

[0079] Furthermore, the markers are fixed using high-strength adhesive or threaded fastening during installation to ensure that there is no relative sliding or detachment between the markers and the robot body throughout the test. After installation, all markers are identified and numbered using an optical motion capture system, and each marker is assigned a globally unique identifier. A one-to-one mapping relationship between the marker number and the robot body part is established, and a rigid body posture calculation model of the robot is constructed based on multi-point rigid body constraints.

[0080] In this way, by establishing external optical measurement anchor points at key parts of the robot, the motion capture system can accurately acquire the three-dimensional spatial motion trajectory of each part, and fully characterize the robot's overall posture, lower limb movement and foot landing point changes.

[0081] For example, for a certain type of humanoid bipedal robot, 12mm diameter spherical reflective markers were affixed to 16 rigid locations, including the head, left and right shoulders, torso center, left and right pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet. These markers avoided motion interference and easily obscured areas, ensuring that there was no relative displacement between the markers and the robot body during testing. All markers were identified and assigned unique IDs by an optical motion capture system, establishing a one-to-one mapping relationship between "marker IDs and robot body parts," and constructing a rigid body posture calculation model for the robot.

[0082] S108. Based on the three-dimensional spatial coordinate system, the standardized test path, and the entered test basic information, test item parameters, and pass threshold, generate the batch test tasks corresponding to the bipedal robot under test and the task parameters corresponding to the batch test tasks.

[0083] The basic test information is used to identify the basic information of the test object and test attributes, including at least robot number, test batch, robot model and control version. The test item parameters include at least test item, test speed, number of repeated tests and test path. The pass threshold is used to determine whether the test result is qualified, including at least preset standard threshold and preset pass threshold.

[0084] In this step, firstly, the basic information of all robots under test is entered into the test task configuration system, including the unique number of each robot, the test batch, product model, built-in control program version, test personnel information, etc., to establish a test object ledger; then, the test items included in this test are selected, and multiple test items can be selected in combination, such as straight constant speed walking, variable speed walking, turning in place, curved turning, low obstacle crossing, high obstacle crossing, etc., and the corresponding operating parameters are configured for each test item, including target walking speed, speed adjustment mode, number of repeated tests, rest time after a single round of testing, corresponding test path, etc. Next, the robot model, The test items are matched with preset standard thresholds and pass / fail thresholds, covering the upper and lower limits of pass / fail for all gait characteristic parameters. Then, the weight system for gait evaluation is configured, assigning corresponding weight coefficients to six core evaluation dimensions: stride consistency, stride width stability, foot landing accuracy, trunk posture stability, left and right leg coordination, and movement trajectory deviation, with a total weight of 1. Finally, the pass / fail rules for comprehensive scoring are set, specifying the score ranges for three levels: pass, fail, and retest required. The system automatically matches all configuration parameters with the robot under test, generating a batch test task queue to be executed sequentially, and supports the import, saving, modification, and batch distribution of configuration files.

[0085] In this way, the execution standards and evaluation rules for batch testing are unified, enabling parameterized and automated management of multiple robots and multiple projects, and ensuring that all robots in the same batch complete the testing under completely consistent testing conditions.

[0086] Please see Figure 5 , Figure 5 This is a schematic diagram illustrating the configuration of a batch testing task provided in an embodiment of this application. Figure 5 As shown in the diagram, 1 is the robot basic information configuration area, 2 is the test version and tester information configuration area, 3 is the test item selection area, 4 is the test route illustration area, 5 is the test speed parameter configuration area, 6 is the test number and gait mode configuration area, 7 is the rest time configuration area, 8 is the remarks information input area, 9 is the pass threshold configuration area, 10 is the evaluation standard configuration area, and 11 is the task operation area.

[0087] Return to reference Figure 1 ,like Figure 1 As shown in the figure, in step S102, the three-dimensional coordinate data and the body sensor data are preprocessed to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and the gait feature parameters of the bipedal robot under test in multiple dimensions are extracted based on the gait data sequence.

[0088] In this embodiment, the gait feature parameters are quantitative indicators calculated from gait data sequences, covering multiple dimensions such as spatiotemporal parameters, foot movement, trunk posture, and stability performance. They are used to characterize the regularity and motion stability of the robot's gait and include at least one or more of the following: gait cycle parameters, stride length data, stride width data, stride frequency data, foot lift height value, foot landing point deviation, left and right foot trajectory symmetry index, trunk pitch angle time series data, trunk roll angle time series data, trunk yaw angle time series data, trunk posture change feature parameters, body center of gravity trajectory fluctuation data, and left and right leg phase difference data.

[0089] Here, the gait data sequence is a standardized motion data sequence that has been preprocessed and periodically segmented, arranged in chronological order, and corresponds to one or more gait cycles. It is the basic data unit for gait feature extraction.

[0090] Among them, the gait cycle is the time interval between two consecutive ground touches by the same side foot of a bipedal robot. It is the basic time unit for gait analysis and fully covers one gait cycle of "support and swing".

[0091] This step is divided into two execution stages: data preprocessing and feature extraction. The first stage involves a full-process cleaning and correction of the original 3D coordinate data and body sensor data, addressing five types of original data issues in turn: missing data, high-frequency noise, abnormal jumps, inconsistent coordinate systems, and inconsistent sampling rates, resulting in continuous, smooth, and standardized time-series data. Subsequently, based on foot movement characteristics and contact states, key gait events are identified, and the continuous walking data is divided into several independent standard gait cycles. The phase division of the support phase and swing phase is completed, and a standardized gait data sequence is output.

[0092] The second stage uses the single gait cycle as the basic analysis unit, and calculates layer by layer from four dimensions: spatiotemporal parameters, foot movement, trunk posture, and stability performance. It extracts quantitative feature parameters covering all dimensions of gait and completes feature validity verification, providing standardized quantitative input for subsequent normative evaluation and anomaly identification.

[0093] Here, noise and anomalies in the raw data are cleaned, spatial and temporal benchmarks are unified, continuous motion data is divided into standardized gait cycle units, and further transformed into gait characteristic indicators that can be quantified and evaluated.

[0094] In this way, data quality is significantly improved by eliminating acquisition errors, occlusion interference, and benchmark differences; the original location data is transformed into multi-dimensional quantitative features covering spatiotemporal characteristics, foot movement, posture characteristics, and stability, and a standardized gait evaluation index system is constructed to replace the traditional manual qualitative judgment.

[0095] In one possible implementation of this application, in specific implementation, the step S102 of preprocessing the three-dimensional coordinate data and the body sensor data to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles may include: S1021. The three-dimensional coordinate data and the body sensor data are sequentially processed by missing marker point repair, noise filtering, outlier point removal, coordinate system unification, and time synchronization to obtain the three-dimensional coordinate data and the body sensor data after data preprocessing.

[0096] In this step, five data preprocessing operations are performed in a fixed order: The first item is missing marker repair. For the temporary loss of markers during walking due to limb occlusion or abnormal reflection angle, linear interpolation or spline interpolation algorithms are used to fill in the missing data of a single frame or a small number of consecutive frames, based on the position change trend of adjacent frames and the kinematic constraints of the robot. For segments with more than a preset threshold of consecutively lost frames, they are marked as invalid data segments and are not included in the subsequent analysis.

[0097] The second step is noise filtering. A Butterworth low-pass filter is used to smooth the three-dimensional coordinate data and all body sensor data, filtering out high-frequency interference caused by noise in the acquisition circuit and minor vibrations of the mechanical structure, while retaining the effective low-frequency signal of gait motion.

[0098] The third item is outlier removal. Based on the robot's physical motion limits, speed and acceleration thresholds are set to identify and remove outliers in the data that exceed the kinematic limits, thus avoiding sudden changes in sensor signals from affecting subsequent calculations.

[0099] The fourth item is Coordinate System 1. Through pre-calibrated coordinate system transformation parameters, the coordinate data in the local coordinate system of optical motion capture and the posture data in the robot body coordinate system are uniformly transformed to the world three-dimensional coordinate system established in step 1, so as to achieve the spatial reference unification of all data.

[0100] The fifth step is time synchronization processing, which involves linearly interpolating and resampling the optical capture data and the body sensor data at different sampling rates to unify them to the same sampling frequency, so that the two types of data correspond one-to-one on the time axis, and finally output the preprocessed synchronized time data.

[0101] This eliminates missing data, noise, anomalous jumps, and baseline discrepancies in the original data, improving data quality and continuity.

[0102] S1022. The three-dimensional coordinate data is analyzed to obtain foot height features and foot velocity features. Based on the foot height features, the foot velocity features, and the foot contact state in the body sensor data, the ground contact event and ground lift event corresponding to the left and right feet of the bipedal robot under test are identified.

[0103] Here, the ground contact event is the moment when the foot transitions from the swinging state to contact with the ground during the gait cycle; the ground lift-off event is the moment when the foot transitions from the support state to leaving the ground during the gait cycle. These two events are key time points for dividing the gait cycle and distinguishing between the support phase and the swinging phase.

[0104] In this step, firstly, the vertical coordinates of the left and right foot markers are extracted from the preprocessed three-dimensional coordinate data, and the foot height time series is calculated. Then, the height time series is differentially calculated to obtain the foot vertical velocity characteristics. At the same time, the contact state signal and force value data of the plantar pressure sensor are extracted from the body sensor data.

[0105] Furthermore, a multi-signal fusion-based decision logic is used to identify gait events: for ground contact events, the ground contact moment is determined when three conditions are met simultaneously: plantar pressure rises from 0 to above the contact threshold, the vertical height of the foot decreases to near the ground reference height, and the vertical velocity of the foot changes from downward to near zero; for ground takeoff events, the ground takeoff moment is determined when three conditions are met simultaneously: plantar pressure drops from above the contact threshold to 0, the vertical height of the foot begins to rise continuously, and the vertical velocity of the foot changes from zero to upward.

[0106] Among them, by using a multi-signal joint judgment method, event recognition errors caused by single signal errors are avoided, and the recognition time accuracy of ground contact and ground lift events is controlled at the millisecond level.

[0107] In this way, the precise timing of gait phase switching can provide accurate timing data for gait cycle segmentation.

[0108] S1023. Based on the ground contact event and the ground lift event, the time interval between two consecutive ground contactes of the same side foot of the bipedal robot under test is taken as a gait cycle, and each gait cycle is divided into a support phase and a swing phase, so as to output a continuous and stable gait data sequence of the bipedal robot under test corresponding to multiple gait cycles.

[0109] Here, the support phase is the stage in the gait cycle where the foot contacts the ground and supports the weight of the aircraft; the swing phase is the stage in the gait cycle where the foot leaves the ground and swings forward.

[0110] In this step, the identified ground contact event and ground lift event are used as the time reference. The time interval between two consecutive ground contact events of the same side foot (such as the right foot) is selected and defined as a complete gait cycle. According to this rule, the entire continuous walking data is divided into several independent gait cycles, and a unique sequential number is assigned to each cycle.

[0111] Furthermore, within each gait cycle, the time period from the ground contact point to the takeoff point is divided into the support phase, corresponding to the stage where the foot contacts the ground and supports the weight of the aircraft; the time period from the takeoff point to the next ground contact point is divided into the swing phase, corresponding to the stage where the foot leaves the ground and swings forward; after completing the segmentation and phase division of all cycles, the data integrity of each cycle is verified, and incomplete cycles at the start and end positions are removed, finally outputting a continuous, stable, and clearly segmented multi-gait cycle gait data sequence.

[0112] In this way, continuous motion data is divided into standardized gait cycle units, providing a unified analysis unit for subsequent cycle-by-cycle feature calculations.

[0113] For example, taking the time interval between two consecutive ground touches of the right foot as a gait cycle, a total of 12 complete gait cycles were identified in this 8m straight-line walking exercise, with each cycle lasting about 0.68s. Within each cycle, the period from the moment of ground touch to the moment of ground lift is the support phase, accounting for about 62%, and the period from the moment of ground lift to the next moment of ground touch is the swing phase, accounting for about 38%, thus forming a standardized gait data sequence divided by cycle.

[0114] In one possible implementation of this application, in specific implementation, step S102, which involves extracting the gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequence, may include: S1024. Based on the gait data sequence corresponding to each gait cycle, calculate the total duration, support phase duration and swing phase duration of each gait cycle, determine the support phase ratio and swing phase ratio, and determine the total duration, support phase duration, swing phase duration, support phase ratio and swing phase ratio as the gait cycle parameters.

[0115] S1025. Calculate the stride length data based on the distance difference between the left and right foot contact points in the gait data sequence in the direction of travel, calculate the stride width data based on the distance difference between the left and right foot contact points in the lateral direction in the gait data sequence, and calculate the stride frequency data based on the stride length data per unit time.

[0116] In this step, for each complete gait cycle, firstly, the total duration of the cycle, as well as the duration of the support phase and the swing phase within the cycle, are calculated. The proportions of the support phase duration to the total cycle duration and the swing phase duration to the total cycle duration are calculated respectively, yielding the support phase proportion and the swing phase proportion, which together constitute the gait cycle parameters. Subsequently, the three-dimensional coordinates of the ground contact moments of the left and right feet are extracted, and the distance difference between the two ground contact positions in the same cycle along the travel direction (X-axis) is calculated to obtain the single-step stride length. When the left and right feet are simultaneously in the support phase, the distance between the two foot positions in the lateral direction (Y-axis) is calculated to obtain the stride width. Finally, the number of effective steps completed per unit time is counted to obtain the walking cadence.

[0117] Furthermore, the parameters of all effective cycles are statistically analyzed to obtain the average value, standard deviation, extreme values, and other statistical results for the entire test segment, which comprehensively reflect the basic spatiotemporal characteristics and rhythmic stability of gait.

[0118] Thus, obtaining the basic spatiotemporal characteristics of gait, reflecting walking rhythm and basic gait dimensions, is a fundamental indicator for evaluating gait consistency.

[0119] For example, the 12 gait cycles were calculated one by one, and the average gait cycle was 0.68s, the average support phase ratio was 62%, the average stride length was 0.58m, the average difference between left and right stride lengths was 12mm, the average stride width was 0.22m, the standard deviation of stride width fluctuation was 8mm, and the cadence was about 1.47 steps / second.

[0120] S1026. Extract the vertical target height value of the foot in the swing phase from the gait data sequence corresponding to each gait cycle, and calculate the foot lift height value based on the vertical target height value of the foot in the swing phase and the ground reference height.

[0121] S1027. Compare the actual foot contact position in the gait data sequence with the expected landing position of the robot body sensor, and calculate the foot landing point deviation.

[0122] S1028. After performing phase normalization processing on the left and right foot movement trajectories in the gait data sequence according to the gait cycle, a mirror comparison is performed to obtain the symmetry index of the left and right foot trajectory.

[0123] Here, phase normalization is a process that maps gait cycles of different durations to a standardized phase range of 0 to 1 in the time dimension, which is used for trajectory alignment and comparison between different cycles and between the left and right legs.

[0124] In this step, for the swing phase of each gait cycle, the coordinate sequence of the foot marker point in the vertical direction (Z-axis direction) is extracted, the maximum vertical height value within the swing phase is selected, and the difference is calculated with the ground reference height to obtain the foot lift height for that cycle, which is used to measure the sufficiency of the foot swing lift. Subsequently, the expected landing point position coordinates output by the robot controller are extracted and compared with the actual foot coordinates at the actual ground contact time of that cycle. The deviation values ​​in the forward, lateral, and vertical directions and the comprehensive deviation distance are calculated to obtain the foot landing point deviation, which is used to measure the control accuracy of the foot landing. Finally, the foot movement trajectories of the left and right legs are phase-normalized according to their respective gait cycles, mapping the time dimension to a phase dimension of 0 to 1. After mirror transformation of the left leg trajectory, the similarity between the left and right leg trajectory is calculated to obtain the symmetry index of the left and right foot trajectory, which is used to measure the degree of coordination of bilateral lower limb movements.

[0125] In this way, the sufficiency of foot swing, the accuracy of landing point, and the coordination of left and right lower limb movements can be quantified.

[0126] For example, the average maximum lift height of the foot during the swing phase was calculated to be 45 mm, and the minimum was 32 mm; the average deviation between the actual landing point and the controller's expected landing point was 15 mm; after normalizing the left and right foot trajectories according to the phase, a mirror correlation analysis was performed, and the trajectory symmetry correlation coefficient was 0.94.

[0127] S1029. Based on the three-dimensional coordinate data in the gait data sequence, calculate the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data. Based on the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data, calculate the mean, peak-to-peak value, and root mean square value of each attitude angle in each gait cycle to obtain the trunk attitude change characteristic parameters.

[0128] In this step, multiple marker points on the torso are selected to form a rigid torso body. Based on the rigid body attitude calculation algorithm, the continuous time series data of the pitch angle, roll angle and yaw angle of the torso are calculated from the three-dimensional coordinate time series of each marker point.

[0129] Furthermore, for each gait cycle, the average, maximum, and minimum values ​​of the three attitude angles within the cycle are statistically analyzed, the peak-to-peak value (the difference between the maximum and minimum values) is calculated, and the root mean square value of the attitude angle time sequence is calculated.

[0130] The aforementioned statistics collectively constitute the characteristic parameters of trunk attitude change. Among them, the pitch angle characteristic reflects the degree of forward and backward swaying of the fuselage during walking, the roll angle characteristic reflects the degree of left and right swaying of the fuselage, and the yaw angle characteristic reflects the directional deflection of the fuselage and the accuracy of walking heading control.

[0131] In this way, the posture stability and directional control precision of the robot's upper body can be quantified, reflecting the degree of body sway during walking.

[0132] For example, based on the trunk center and pelvic markers, the trunk attitude is calculated, and the average peak-to-peak trunk pitch angle is 3.2°, the average peak-to-peak roll angle is 2.8°, the average single-cycle yaw angle fluctuation is 1.5°, and the total cumulative yaw deviation is 0.8°.

[0133] S10210. Based on the three-dimensional coordinate data in the gait data sequence and the mass distribution model of the bipedal robot under test, estimate the three-dimensional trajectory data of the body center of gravity of the bipedal robot under test, and based on the three-dimensional trajectory data of the body center of gravity, count the fluctuation amplitude of the body center of gravity of the bipedal robot under test in the forward, lateral and vertical directions to obtain the body center of gravity trajectory fluctuation data.

[0134] Here, the mass distribution model is a pre-established model of the mass and center of mass distribution parameters of each component of the robot under test, used to estimate the real-time position of the robot's overall center of gravity; the three-dimensional trajectory data of the body center of gravity is the continuous motion trajectory of the robot's overall center of gravity in three-dimensional space, which is estimated based on the mass distribution model and the position of the marker points, and is the core data for evaluating gait stability.

[0135] S10211. Construct the left and right leg gait phases based on the ground contact events and ground lift events of the left and right feet in the gait data sequence, and calculate the left and right leg phase difference data.

[0136] In this step, firstly, the mass distribution model of the bipedal robot to be tested is imported. Combined with the real-time position of the marker points of each part, the three-dimensional coordinates of the robot's overall body center of gravity are estimated by a weighted average algorithm to obtain continuous center of gravity trajectory data. The peak-to-peak value and root mean square value of the center of gravity in the forward, lateral and vertical directions within each gait cycle are statistically analyzed to obtain body center of gravity trajectory fluctuation data.

[0137] Furthermore, based on the ground contact and lift-off events of the left and right feet, gait phases of the left and right legs are constructed respectively, and the phase difference between the left and right legs at the same moment is calculated to obtain phase difference data of the left and right legs, which is used to measure the coordination degree of alternating movement of the two legs. Finally, a support polygon is constructed based on the foot support position, and the real-time position of the zero moment point is calculated by combining the center of gravity trajectory and ground reaction force. The minimum distance from the zero moment point to the boundary of the support polygon is further calculated to obtain the stability margin parameter. At the same time, the dynamic stability margin is calculated by combining the extrapolation center of mass algorithm, and the continuous gait stability parameters are obtained to quantify the dynamic stability of the robot during walking.

[0138] Here, the zero-moment point is a classic criterion for the dynamic stability of bipedal robots. It refers to the point where the resultant force of the ground reaction force has zero torque on the supporting surface. When this point is located inside the supporting polygon formed by the foot, the robot has dynamic walking stability. The extrapolated center of mass is a stability index obtained by extrapolating the position and velocity of the center of mass, and is used to evaluate the dynamic stability margin of the robot.

[0139] In this way, the dynamic stability of the robot's walking and the degree of coordination between its two legs can be quantified, and its ability to resist instability during continuous walking can be comprehensively evaluated.

[0140] For example, based on the mass distribution of each component of the robot and the position of the marker point, the three-dimensional trajectory of the center of mass is estimated, and the peak value of the lateral fluctuation of the center of mass is 18 mm, and the peak value of the vertical fluctuation is 12 mm. The average phase difference between the left and right legs is calculated to be 180°±3°, and the phase stability is good. The minimum distance between the ZMP trajectory and the supporting polygon is calculated, and the minimum stability margin is 25 mm, which is within the safe range.

[0141] S10212. Perform a rationality check on all calculated gait feature parameters to remove invalid feature data and output structured gait feature parameters.

[0142] In this step, a multi-dimensional rationality check is performed on all calculated gait feature parameters: the gait cycle duration is checked, and if the cycle duration deviates significantly from the reasonable range of the average cycle of the same batch, it is judged as an abnormal cycle and removed; the gait event logic is checked, and if there are contradictory situations such as the ground departure event being later than the next ground contact event or the logical anomaly of the overlapping support of the left and right legs, the cycle is judged to be invalid; the data completeness is checked, and the proportion of missing data of the marked points within the cycle is counted. If the missing rate exceeds the preset threshold, the data of the cycle is judged to be unreliable.

[0143] Furthermore, after removing the feature data of all invalid cycles, the feature parameters of the remaining valid cycles are organized in a structured format, including cycle number, value of each feature, statistical indicators, etc., and finally a standardized gait feature parameter set is output.

[0144] In this way, invalid features from abnormal cycles are filtered out, ensuring the accuracy and reliability of the output features.

[0145] S103. Based on the gait feature parameters, preset standard threshold and preset weight coefficient, determine the gait standardization evaluation result of the bipedal robot under test.

[0146] Here, the preset standard threshold is the qualified value range of each gait characteristic parameter pre-configured, which is the benchmark for judging whether the gait index meets the standard. It can be adjusted according to the robot model, test items and inspection level. The preset weight coefficient is the weight ratio of each individual evaluation index pre-configured, which is used to calculate the comprehensive score. The sum of all weight coefficients is 1, which can be flexibly adjusted according to the evaluation focus of the test scenario. The gait standardization evaluation result is a set of quantitative evaluation conclusions on the degree of robot gait standardization, which includes four core contents: individual index score, comprehensive score, qualified status judgment and out-of-limit index details.

[0147] The gait standardization evaluation results include at least the individual indicator scores under multiple preset indicators, the comprehensive gait standardization score, the qualified status judgment results, and the detailed results of the out-of-limit indicators.

[0148] Here, the individual indicator score is a percentage score calculated for a single evaluation dimension such as stride consistency and stride width stability, used to quantify the degree of gait compliance in the corresponding dimension; the gait standardization comprehensive score is a percentage score obtained by weighted summation of the individual indicator scores, used to measure the overall standardization of the robot's gait; the pass / fail status judgment result is a level judgment of the test result based on the comprehensive score and the threshold of key individual indicators, divided into three categories: pass, fail, and require retesting; the out-of-limit indicator detail result is a detailed list recording the name of all indicators that exceed the preset standard threshold, the out-of-limit amplitude, the corresponding period and timestamp, which is the preliminary judgment basis for abnormal gait identification.

[0149] In this step, gait feature parameters are used as the analysis object, and pre-configured preset standard thresholds and weight coefficients are used as the evaluation benchmark. A three-level evaluation logic is executed: First, the threshold comparison of each indicator is completed, and the deviation, fluctuation range and exceedance of each feature parameter are statistically analyzed, and detailed exceedance index records are output. Second, the individual indicator scores for the six core evaluation dimensions are calculated to quantify the gait compliance degree of each dimension. Finally, the six individual scores are weighted and fused according to the preset weight allocation scheme to obtain a comprehensive gait standardization score. Combined with the qualified threshold rules, the final qualified status is determined, and a complete gait standardization evaluation result is output, realizing the transformation from raw features to standardized evaluation conclusions.

[0150] In this way, the standardization and qualification of robot gait are quantitatively scored and judged based on a unified standard, and standardized and comparable evaluation conclusions are output. This replaces subjective human evaluation and achieves standardization and quantification of gait evaluation. By weighted fusion of multiple indicators, a comprehensive evaluation result is obtained, which can reflect the compliance of individual indicators and measure the overall degree of gait standardization. The evaluation results are objective and reproducible, and support cross-sample horizontal comparison.

[0151] In one possible implementation of this application, step S103 may include: S1031. Compare each of the gait feature parameters with the corresponding preset standard threshold to obtain the deviation fluctuation data and the detailed results of the out-of-limit indicators corresponding to multiple preset indicators.

[0152] In this step, the qualified thresholds for each indicator matching the current test item and robot model are retrieved from the preset standard threshold library. Each gait characteristic parameter is compared with its corresponding threshold. For range-type thresholds, it is determined whether the parameter is between the upper and lower limits of the qualified range, and the deviation and deviation ratio between the actual value and the standard value are calculated. For fluctuation-type thresholds, it is determined whether the fluctuation amplitude and standard deviation of the parameter exceed the upper limit of the allowable range, and the magnitude and duration of the exceedance are statistically analyzed. For all indicators, the name of the indicator that exceeds the limit, the specific value of the exceedance, the magnitude of the exceedance, the corresponding gait cycle number, and the timestamp are recorded one by one. After all indicator comparisons are completed, a complete list of exceedance indicators is generated, clearly marking all non-compliant indicators and their corresponding locations.

[0153] In this way, the qualification screening of a single indicator is completed, and the name of the indicator that exceeds the limit, the value of the exceeding limit, and the corresponding gait cycle are accurately located.

[0154] For example, each characteristic parameter is compared with the preset threshold one by one. It is found that the foot elevation height is lower than the threshold of 35mm within 2 cycles, and the maximum over-limit amplitude is 3mm; the other indicators are all within the qualified range; a list of over-limit indicators is generated, recording the over-limit indicator name, over-limit amplitude, corresponding cycle number and timestamp.

[0155] S1032. Based on the deviation fluctuation data, calculate the score value of the individual indicator under multiple preset indicators.

[0156] The individual indicator scores include stride consistency score, stride width stability score, foot landing accuracy score, trunk posture stability score, left and right leg coordination score, and movement trajectory deviation score.

[0157] In this step, based on the deviation fluctuation data obtained from the comparison of indicator thresholds, individual indicator scores for six core dimensions are calculated: Step length consistency score is calculated based on the standard deviation of step length fluctuation and the difference between left and right step lengths within a continuous period; the smaller the step length fluctuation and the more consistent the left and right step lengths, the higher the score. Step width stability score is calculated based on the fluctuation range of step width and the degree of lateral offset; the more stable the step width and the smaller the lateral offset, the higher the score. Foot landing accuracy score is calculated based on the deviation between the actual landing point and the expected landing point; the smaller the landing point deviation, the higher the score. Trunk posture stability score is calculated based on the peak-to-peak value and root mean square value of the three posture angles of the trunk; the smaller the posture fluctuation, the higher the score. Left and right leg coordination score is calculated based on the stability of the phase difference between the left and right legs and the symmetry of the support phase duration; the more stable the phase of both legs and the higher the symmetry, the higher the score. Motion trajectory deviation score is calculated based on the overall deviation between the robot's actual walking path and the preset path; the smaller the trajectory deviation, the higher the score. All scores are based on a 100-point scale. A perfect score is awarded when the deviation is 0, and a passing score is awarded when the deviation reaches the upper limit of the threshold. Scores in between are calculated according to a linear rule.

[0158] S1033. Based on preset weighting coefficients, the individual indicator scores are weighted and summed to obtain the comprehensive gait standardization score.

[0159] In this step, the weight coefficients corresponding to the six pre-configured individual indicators are read, and the sum of the weight coefficients is confirmed to be 1. The scores of the six individual indicators are multiplied by their corresponding weight coefficients, and then all the weighted scores are added together to obtain the final comprehensive score for gait normativity. The comprehensive score is also based on a percentage system.

[0160] Here, by using a weighted approach, the importance of each dimension can be adjusted according to the needs of different testing scenarios. For example, factory testing can increase the weight of the stability dimension, while algorithm debugging can increase the weight of the foot control dimension, achieving flexible adaptation of the evaluation system. Through weighted fusion, a comprehensive quantitative evaluation of gait standardization is obtained, providing an overall measure of gait quality.

[0161] For example, according to the preset weights w1=0.2, w2=0.15, w3=0.2, w4=0.2, w5=0.15, w6=0.1, the comprehensive score S=0.2×92+0.15×94+0.2×88+0.2×93+0.15×95+0.1×90=91.55 points.

[0162] S1034. The comprehensive score for gait standardization is compared with the first preset qualification threshold and the second preset qualification threshold to determine the qualification status judgment result.

[0163] The qualification status determination result includes one of the following: qualified, unqualified, or requiring retesting.

[0164] In this step, a dual judgment rule of comprehensive scoring and key individual item scoring is used to determine the final pass status. First, the comprehensive score of gait standardization is compared with two preset pass thresholds. The first preset pass threshold is the pass score, and the second preset pass threshold is the fail score. If the comprehensive score is greater than or equal to the first pass threshold, and all key individual item scores are not lower than the minimum limit, it is judged as pass. If the comprehensive score is less than the second pass threshold, or any key indicator seriously exceeds the threshold, it is judged as fail. If the comprehensive score is in the critical range between the two thresholds, or if there are situations that affect the reliability of the evaluation, such as missing data or abnormal event identification during the test, it is judged as needing to be retested, and a retest is prompted to confirm the results.

[0165] For example, the first pass threshold is set to 80 points (≥80 points and all key items meet the standard to be considered passable), and the second pass threshold is set to 60 points (<60 points is considered failable, and 60 to 80 points is considered to require retesting); the robot's overall score is 91.55 points, and all key item scores are higher than 70 points, so the gait test result is considered passable.

[0166] S104. Based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters, determine the abnormal gait recognition result of the bipedal robot under test.

[0167] Here, abnormal gait recognition results are diagnostic conclusions for robot gait abnormalities, including abnormal gait type, location of abnormal gait type occurrence, severity, and judgment criteria, used to locate gait problems and guide debugging and optimization.

[0168] In this step, the detailed list of out-of-limit indicators output from the gait standardization evaluation is taken into account. The core logic is to complete the accurate diagnosis of abnormal gait by using multi-feature joint judgment: First, the out-of-limit indicators are used as the directional entry point to locate the corresponding gait cycle segment and extract the associated feature quantities within the segment to narrow the analysis scope; then, for typical abnormal gait such as dragging feet, limping, abnormal stride length, landing point deviation, posture swaying, abnormal yaw, and support instability, multi-dimensional associated feature combinations are used for classification and judgment to avoid misjudgment caused by fluctuations in a single indicator.

[0169] Furthermore, after anomaly classification, the severity of the anomaly is quantified by combining three dimensions: over-limit amplitude, duration period, and frequency of occurrence. Finally, after verification by correlation logic to eliminate false anomalies caused by data acquisition interference, a complete anomaly identification result is output, including anomaly type, location of occurrence, severity level, and judgment criteria.

[0170] In this way, the specific type, location, and severity of gait abnormalities can be automatically located, enabling accurate diagnosis of gait problems. This replaces manual inspection and effectively reduces the false judgment rate through multi-feature joint judgment logic. It can quickly identify a variety of typical abnormalities such as dragging, limping, landing point deviation, and body shaking, and quantify the severity level, providing a direct and clear basis for robot debugging and fault diagnosis.

[0171] In one possible implementation of this application, step S104 may include: S1041. Based on the detailed results of the out-of-limit indicators, locate the gait cycle segments where the indicators exceed the limits, and extract the gait parameter change features, trunk posture change features, and foot trajectory change features within the corresponding gait cycle segments to form anomaly identification feature quantities.

[0172] In this step, firstly, the detailed results of the out-of-limit indicators output by the step are read. Based on the out-of-limit cycle number recorded in the details, all gait cycle segments with out-of-limit indicators are accurately located without having to traverse and analyze all test cycles.

[0173] Furthermore, for each out-of-range periodic segment, three types of related features are extracted: first, the variation characteristics of all gait parameters within the period, including abnormal deviations in parameters such as stride length, stride width, period duration, and phase ratio; second, the variation characteristics of trunk posture within the period, including the fluctuation amplitude and abrupt changes of the three posture angles; and third, the variation characteristics of foot trajectory within the period, including changes in foot height, velocity, and trajectory morphology. These three types of features are integrated into anomaly identification features, serving as input for subsequent anomaly classification, enabling targeted and accurate anomaly analysis and improving identification efficiency.

[0174] S1042. Based on the anomaly identification features, the abnormal gait type of the bipedal robot under test is determined by multi-feature joint judgment logic.

[0175] The abnormal gait types include one or more of the following: dragging foot abnormality, limping abnormality, inconsistent stride length between the left and right sides abnormality, foot landing point deviation abnormality, excessive body swaying abnormality, yaw abnormality, and support instability abnormality.

[0176] Here, the multi-feature joint judgment logic is an identification logic that uses multiple physically related gait feature indicators to jointly determine the anomaly type, in order to avoid misjudgment caused by fluctuations in a single indicator or noise in the data collection.

[0177] In this step, based on the anomaly identification features, a unique multi-feature judgment rule is set for each type of typical abnormal gait, and anomaly classification is performed using a combined condition triggering method: when judging dragging foot abnormality, three features must be met simultaneously: foot lift height is lower than the threshold, foot clearance during the swing phase is continuously smaller, and foot horizontal velocity is lower, eliminating interference from fluctuations in single height data; when judging limping and left and right leg phase abnormalities, three features must be met simultaneously: unilateral support phase duration deviates significantly from the opposite side, left and right leg phase difference exceeds the stable range, and bilateral stride length difference is significant. When determining inconsistent stride length and abnormal stride width, the core judgment criteria are the fluctuation amplitude of continuous periodic stride length, the difference between left and right stride lengths, and the fluctuation range of stride width. When determining insufficient foot lift and landing point drift, the core criteria are the lift height threshold and landing point deviation threshold, respectively, combined with trajectory morphology characteristics for auxiliary confirmation. When determining excessive fuselage sway and excessive yaw, the fluctuation amplitude of torso attitude angle and cumulative offset are used for joint judgment. When determining deviation of walking trajectory and risk of fall, a comprehensive judgment is made by combining multiple dimensions of characteristics such as overall path deviation, center of gravity projection position, and stability margin.

[0178] Here, by using the logic of joint determination of multiple features, the misjudgment caused by noise of a single indicator is effectively reduced, and the accuracy of anomaly classification is improved.

[0179] In this embodiment, the following abnormalities are identified: dragging feet are determined based on the foot lift height, foot clearance, and sustained low height of the foot trajectory; limping and left / right leg phase abnormalities are determined based on the differences in support phase duration, swing phase duration, and left / right leg phase difference; stride length inconsistency and stride width are determined based on the differences in left and right stride length, stride length fluctuation, and stride width fluctuation range; insufficient foot lift and foot landing point drift are determined based on the deviation in foot lift height and foot landing point deviation; excessive fuselage sway and excessive yaw are determined based on the cumulative deviation in trunk pitch angle, trunk roll angle, and trunk yaw angle; and walking trajectory deviation and fall risk are determined based on the walking trajectory deviation, body center of gravity trajectory fluctuation, and stability margin characteristics.

[0180] For example, further verification of the two cycles in which the foot lift height exceeded the limit revealed that: the lowest foot clearance from the ground during the swing phase was only 8mm, the horizontal speed of the foot was 15% lower than the normal cycle, the duration of the swing phase was 10% shorter, and multiple related features were synchronously abnormal, which was judged as a dragging foot abnormality; the other indicators did not exceed the limit significantly, and no other abnormal types were identified.

[0181] S1043. Based on the characteristic over-limit amplitude corresponding to the abnormal gait type, the number of consecutively over-limit gait cycles and the frequency of abnormal occurrence, and combined with the degree of influence of the abnormal gait type on walking stability, determine the severity classification result corresponding to the abnormal gait type.

[0182] The severity grading results are anomaly levels classified according to the abnormal over-limit amplitude, duration, and frequency of occurrence, used to distinguish the priority of problem handling, including one of the following: minor, moderate, and severe.

[0183] In this step, after determining the type of abnormal gait, the severity of the abnormality is quantified from three dimensions: first, the feature over-limit amplitude, which is the proportion of the actual value of the abnormal indicator exceeding the qualified threshold; the larger the amplitude, the higher the severity. Second, the number of consecutive cycles, which is the number of consecutive gait cycles in which the abnormality occurs; the longer the consecutive cycles, the higher the severity. Third, the frequency of abnormality occurrence, which is the total number of times this type of abnormality occurs during the entire test; high-frequency repetition increases the severity level. Simultaneously, a weighting adjustment is made based on the impact of the abnormality type on walking stability; for example, the grading criteria for fall risk-related abnormalities are more stringent.

[0184] Furthermore, all anomalies are ultimately classified into three levels: mild, moderate, and severe. At the same time, the gait cycle number and the precise time of occurrence corresponding to each anomaly are recorded to achieve accurate anomaly localization.

[0185] S1044. Perform correlation logic verification on the abnormal gait type to eliminate false abnormal results caused by acquisition noise, and output the abnormal gait identification result of the bipedal robot under test, including the abnormal gait type and the severity classification result.

[0186] In this step, all the abnormal gaits initially identified are subjected to correlation logic verification to check whether they are false anomalies caused by acquisition noise: check whether there are records of marker point occlusion, data frame loss, sensor jumps, etc. within the abnormal period. If the anomaly only appears in a single indicator and there are no other related features that are synchronously abnormal, it is determined to be a false anomaly caused by data interference and is excluded; if multiple indicators with physical correlation show anomalies synchronously, the anomaly is confirmed to be real and valid.

[0187] Furthermore, after verification, the complete abnormal gait recognition results are compiled and output, including the abnormality type, the time of occurrence of the abnormality and the corresponding cycle number, the severity level, and the feature details on which the judgment is based, forming a structured abnormality diagnosis record, which provides a clear basis for subsequent robot debugging and fault diagnosis.

[0188] S105. Organize and archive the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results, and the abnormal gait identification results to generate a single-machine test report and batch test statistical results for the bipedal robot under test.

[0189] Here, the single-machine test report is a standardized report generated for a single robot in a single test, which includes basic test information, key indicator statistics, scoring conclusions, anomaly details and optimization suggestions; the batch test statistics result is a summary statistical result generated for the test of multiple robots in the same batch, which includes a batch test statistics table and an anomaly summary table, and is used for batch-level product quality control.

[0190] In this step, all data generated throughout the process is standardized, collected, and visualized: First, according to the hierarchical logic of test batch, robot identity, and test project, the raw collected data, intermediate feature parameters, evaluation results, and anomaly identification results are structurally classified and stored, a multi-dimensional retrieval index is established, and a traceable test result database is constructed; Second, for a single robot and a single test task, basic information, indicator statistics, scoring conclusions, anomaly details, and optimization suggestions are automatically integrated to generate a standardized single-machine test report; For batch test tasks, the overall batch pass rate, indicator distribution, and anomaly type distribution are automatically calculated to generate a batch statistical summary table; At the same time, multi-dimensional horizontal comparative analysis across robots, batches, and control versions is supported, providing data support for product quality control and algorithm iteration.

[0191] This enables standardized management and end-to-end traceability of test data, outputs standardized test conclusions, and supports batch testing and product quality control. It significantly improves the efficiency of test result delivery, supports multi-dimensional horizontal comparisons across robots, batches, and control versions, and provides complete data support for product consistency control, control algorithm iteration, and quality traceability.

[0192] In one possible implementation of this application, step S105 may include: S1051. According to the task parameters corresponding to the batch test task, the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results and the abnormal gait identification results are structured and classified for storage, and a corresponding data retrieval index is established to form a traceable test result database.

[0193] Here, the data retrieval index establishes multi-dimensional retrieval tags for the test data, including information such as robot model, control version, test time, comprehensive score, and pass / fail status, for quick retrieval of historical test data; the test result database is a database that stores all raw test data, intermediate calculation results, and final conclusions according to structured rules, supporting end-to-end data traceability and multi-dimensional statistical analysis.

[0194] In this step, according to the classification dimensions in the batch test task parameters, a three-level hierarchical structure of "test batch, robot number, test item" is adopted to structurally classify and store all data generated throughout the process. The archived data objects include: raw data such as original 3D coordinate data, raw body sensor data, and test task status information; intermediate calculation data such as gait feature parameters; and conclusion data such as gait standardization evaluation results and abnormal gait identification results.

[0195] Furthermore, corresponding tag information is added to each piece of data, including robot model, control version, test time, comprehensive score, pass / fail status, etc., to establish a multi-dimensional data retrieval index; all data and index together constitute a traceable test result database, which supports quick retrieval of historical test data by any dimension, and realizes data traceability throughout the entire test chain.

[0196] S1052. For a single test task of a single bipedal robot under test, extract the basic test information from the test task status information, and combine the gait normalization evaluation results and the abnormal gait identification results to generate a single-machine test report for the bipedal robot under test.

[0197] In this step, for a single test task of a single robot, basic test information is automatically extracted from the test task status information, including robot number, model, batch, control version, test items, test time, test personnel, etc.; then, the statistical results of key gait indicators, six individual scores and comprehensive scores, pass / fail status judgment conclusions, abnormal gait details, etc. are integrated; at the same time, for the identified abnormal problems, corresponding debugging directions and parameter optimization suggestions are matched to generate actionable improvement references; finally, a standardized single-machine test report is automatically generated, which fully covers five parts: basic test information, performance indicators, evaluation conclusions, problem diagnosis, and optimization suggestions, supporting the acceptance and debugging of a single product.

[0198] S1053. For all the bipedal robots under test in the same test batch, calculate the overall gait standardization evaluation results and abnormal gait identification results of the batch, and generate batch test statistics results including a batch test statistics table and an abnormal problem summary table.

[0199] In this step, for all robots under test within the same test batch, all test results are automatically summarized and statistically analyzed from multiple dimensions: the number of qualified robots, the number requiring retesting, and the number of unqualified robots within the batch are counted, and the overall pass rate of the batch is calculated; the batch average, standard deviation, and distribution range of various gait indicators are counted to reflect the overall performance level and consistency of the batch products; the occurrence frequency, occurrence number, and corresponding robot number of various abnormal gaits are counted, and an abnormal problem summary table is generated to locate common problems in the batch.

[0200] Furthermore, the final output includes batch test statistics tables and anomaly summary tables, providing data support for batch-level quality control and production process optimization.

[0201] S1054. Based on preset screening dimensions, perform a horizontal comparative analysis of the gait feature parameters, gait standardization evaluation results, and abnormal gait identification results corresponding to multiple bipedal robots under test, multiple test batches, and multiple control versions, and generate comparative analysis results.

[0202] In this step, users can customize the filtering dimensions and select different individual robots, different test batches, and different control program versions as comparison objects. The system automatically extracts the gait feature parameters, scoring results, and anomaly identification results of the corresponding objects, performs alignment and comparison analysis, and generates comparison data tables and difference analysis conclusions.

[0203] Furthermore, through horizontal comparison, the performance differences of different individual robots, the quality fluctuations of different batches of products, and the algorithm optimization effects of different control versions can be intuitively evaluated, providing quantitative data support for improving product consistency, iterating control algorithms, and fault tracing analysis.

[0204] As an example of the method described in this application, suppose a gait conformity test of a single robot walking in a straight line is performed: Step 1: Preliminary Preparation. Test Environment Setup: Eight infrared optical motion capture cameras were deployed in a 10m long and 6m wide laboratory. Global spatial calibration was completed to establish a world 3D coordinate system with a calibration accuracy of 0.1mm. An 8m long straight path was laid on the ground, and the start and end points were marked. Marker Placement: Reflective markers were affixed to 16 rigid locations on the bipedal robot under test, including the head, left and right shoulders, torso center, left and right pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet. Marker identification and location mapping were completed to construct a rigid body posture calculation model. Task Configuration: Enter robot number RBT-001, test batch BATCH-20250624, and control version V2.3.1; select the straight-line constant speed walking project, set the test speed to 1.0m / s, repeat the test 3 times, and rest for 60s after each test; import the pass thresholds: step length 0.40-0.80m, step width 0.10-0.35m, foot lift height ≥35mm, peak torso roll angle ≤5°, and foot landing point deviation ≤20mm; set the weights of the six individual indicators to 0.2, 0.15, 0.2, 0.2, 0.15, and 0.1 respectively; set the comprehensive score to 80 points as the pass line and 60 points as the fail line.

[0205] Step 2: Multi-source data acquisition. Control the robot to travel to the starting point of the straight path, complete the initial orientation alignment, and enter the ready-to-trigger state; send a hardware synchronization trigger signal, and simultaneously activate the optical motion capture system (sampling rate 200Hz) and the robot's body sensors (sampling rate 100Hz); the robot travels 8m along a straight line at a speed of 1.0m / s; synchronously acquire the 3D coordinates, joint angles, IMU attitude, plantar pressure, motor status, and control command data of 16 marked points; record the test start and end times, mark the task status as normal completion, and form the original multi-source synchronous dataset.

[0206] Step 3: Data Preprocessing and Period Segmentation. The raw data is sequentially subjected to missing point interpolation repair, 10Hz Butterworth low-pass filtering, and outlier removal. All data is converted to the world coordinate system and resampled to 200Hz synchronous time-series data. The left and right foot contact and take-off events are jointly identified by combining plantar pressure signals, foot height, and vertical velocity. Gait cycles are divided into 12 complete gait cycles based on two consecutive right foot contact points. Each cycle is further divided into a support phase and a swing phase, forming a standardized gait data sequence.

[0207] Step 4: Multi-dimensional gait feature extraction. Gait feature parameters are calculated cycle by cycle: average gait cycle 0.68s, support phase ratio 62%; average stride length 0.58m, stride width 0.22m, cadence 1.47 steps / second; average foot lift height 45mm, minimum value 32mm; average landing point deviation 15mm; left and right foot trajectory symmetry coefficient 0.94; trunk pitch angle peak-to-peak value 3.2°, roll angle peak-to-peak value 2.8°; center of mass lateral fluctuation peak-to-peak value 18mm; left and right leg phase difference 180°±3°; one invalid cycle with excessive missing data rate is removed, and structured feature parameters of 11 valid cycles are output.

[0208] Step 5: Gait conformity evaluation. Each characteristic parameter is compared with the preset threshold to generate a detailed list of out-of-limit indicators: foot elevation height is below the 35mm threshold within two cycles, with a maximum out-of-limit amplitude of 3mm; the six individual scores are calculated as 92, 94, 88, 93, 95, and 90 points respectively; the weighted average score is calculated to obtain a comprehensive score of 91.55 points; if the comprehensive score is above 80 points and all key individual indicators meet the standards, the test result is deemed qualified.

[0209] Step 6: Abnormal Gait Identification. Based on the over-limit details, locate two cycles of excessive lifting height and extract the corresponding foot trajectory, speed, and swing phase duration features; use multi-feature joint judgment: low foot clearance, slow swing speed, and short swing phase confirm the dragging foot abnormality; the over-limit amplitude is 8.6%, appearing sporadically without continuity, and the severity is judged as slight; after verification to eliminate data noise interference, the final abnormality identification result is output.

[0210] Step 7: Report Generation and Data Archiving. Archive all raw data and analysis results by batch, robot number, and test item level, and establish a search index; generate a standardized single-machine test report, including basic information, indicator statistics, scoring results, pass / fail criteria, anomaly details, and optimization suggestions; and incorporate the robot data into the batch statistics database.

[0211] Optionally, as another example of the method described in this application embodiment, it is assumed that multiple robots are being tested in batches and compared with different versions: based on the embodiment of testing the gait standardization of a single robot walking in a straight line, all test items of 10 robots in the same batch are completed sequentially according to the batch task queue, without the need for manual configuration and triggering of each robot; after all tests are completed, the system automatically generates a batch test statistics table and an anomaly summary table, and calculates the batch pass rate, average comprehensive score, anomaly type distribution and corresponding robots; at the same time, it supports horizontal comparison with the test data of the previous batch of V2.2.0 version, analyzes the changes in gait comprehensive score and anomaly occurrence rate, and verifies the optimization effect of the control algorithm.

[0212] In summary, the method described in this application has the following significant advantages compared with the prior art: Significantly improved testing accuracy and objectivity: By acquiring the robot's external three-dimensional motion data through optical motion capture and combining it with the body sensor data for joint analysis, subjective errors from manual observation and biases from a single data source are avoided, achieving sub-millimeter-level high-precision gait measurement. The test results are objective, reproducible, and traceable.

[0213] The evaluation index system is complete and comprehensive: it covers multiple dimensions of gait characteristics such as spatiotemporal parameters, foot movement, trunk posture, stability, and coordination, replacing traditional single index tests, and can comprehensively and finely reflect the standardization and motion stability of robot gait.

[0214] Accurate and efficient anomaly identification: It adopts multi-feature joint judgment logic to automatically identify various abnormal gaits such as dragging, limping, landing point deviation, and body shaking, quantifies the severity of the anomaly, replaces manual inspection one by one, and greatly improves the efficiency and accuracy of anomaly diagnosis.

[0215] Outstanding batch testing capabilities: Supports parameterized configuration and automated management of multiple robots, multiple test items, and multiple repeated tests, greatly improving the efficiency of batch factory inspection and adapting to the testing needs of large-scale bipedal robot production.

[0216] High data management and application value: The standardized data archiving and report generation mechanism supports multi-dimensional horizontal comparisons across robots, batches, and control versions, providing complete data support for product quality control, control algorithm optimization, and performance iteration.

[0217] The robot gait standardization testing method provided in this application synchronously collects the three-dimensional coordinate data of reflective marker points, body sensor data, and test task status information of the bipedal robot under test through an optical motion capture system. After data preprocessing and gait feature extraction, the method combines preset standardization thresholds and weight coefficients to complete gait standardization evaluation and outputs a list of out-of-limit indicators. Then, based on the out-of-limit details and gait features, abnormal gait is identified. Finally, the data is archived and a single-machine test report and batch test statistical results are generated. This method solves the problems of high reliance on manual labor, incomplete test indicators, low batch testing efficiency, difficulty in quantifying and identifying abnormal gait, and difficulty in standardizing and managing test results in existing bipedal robot gait detection. It realizes high-precision, non-contact, objective quantitative testing and batch intelligent management of bipedal robot gait.

[0218] Please see Figure 6 , Figure 7 , Figure 6 This is one of the structural schematic diagrams of a robot gait standardization testing device provided in the embodiments of this application. Figure 7This is a second schematic diagram of a testing device for the standardization of robot gait provided in an embodiment of this application. Figure 6 As shown, the testing apparatus 600 includes: The data acquisition and synchronization module 610 is used to control the bipedal robot under test to perform walking motion in a preset test area according to the task parameters corresponding to the pre-configured batch test task. It uses a preset optical motion capture system to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and collects the body sensor data corresponding to the bipedal robot under test and the test task status information corresponding to the batch test task. The gait feature extraction module 620 is used to preprocess the three-dimensional coordinate data and the body sensor data to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and extract the gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequence. The gait standardization evaluation module 630 is used to determine the gait standardization evaluation result of the bipedal robot under test based on the gait feature parameters, preset standardization thresholds and preset weight coefficients; wherein, the gait standardization evaluation result includes at least the individual index score value under multiple preset indicators, the comprehensive gait standardization score value, the qualified status judgment result and the detailed result of the out-of-limit indicators; The abnormal gait recognition module 640 is used to determine the abnormal gait recognition result of the bipedal robot under test based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters. The test result generation module 650 is used to organize and archive the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results and the abnormal gait identification results, and generate a single-machine test report and batch test statistical results for the bipedal robot under test.

[0219] Furthermore, such as Figure 7 As shown, the testing apparatus 600 further includes: The optical motion capture module 660 is used to deploy multiple infrared motion capture camera devices in the test area to form an optical motion capture system, and to perform spatial calibration of the test area to establish a unified three-dimensional spatial coordinate system, and to set a standardized test path in the test area. The marker placement module 670 is used to install reflective markers on preset parts of the bipedal robot under test to form a set of markers for characterizing the robot's posture and motion trajectory; wherein, the preset parts include at least the head, torso, pelvis, left and right hips, left and right knees, left and right ankles and left and right feet of the bipedal robot under test. The test task configuration module 680 is used to generate batch test tasks corresponding to the bipedal robot under test and task parameters corresponding to the batch test tasks based on the three-dimensional spatial coordinate system, the standardized test path, and the input test basic information, test item parameters, and pass thresholds. The test basic information includes at least the robot number, test batch, robot model, and control version; the test item parameters include at least the test item, test speed, number of repeated tests, and test path; and the pass thresholds include at least a preset standard threshold and a preset pass threshold.

[0220] The robot gait standardization testing device provided in this application synchronously collects the three-dimensional coordinate data of reflective marker points, body sensor data, and test task status information of the bipedal robot under test through an optical motion capture system. After data preprocessing and gait feature extraction, it completes gait standardization evaluation and outputs a list of out-of-limit indicators by combining preset standard thresholds and weight coefficients. Then, based on the out-of-limit details and gait features, it identifies abnormal gaits. Finally, it completes data archiving and generates single-machine test reports and batch test statistical results. This solves the problems of high manual dependence, incomplete test indicators, low batch testing efficiency, difficulty in quantifying and identifying abnormal gaits, and difficulty in standardizing and tracking test results in existing bipedal robot gait detection. It realizes high-precision, non-contact, objective quantitative testing and batch intelligent management of bipedal robot gait.

[0221] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 800 includes a processor 810, a memory 820, and a bus 830.

[0222] The memory 820 stores machine-readable instructions executable by the processor 810. When the electronic device 800 is running, the processor 810 and the memory 820 communicate via the bus 830. When the machine-readable instructions are executed by the processor 810, they can perform the operations described above. Figure 1 as well as Figure 3 The steps of the robot gait standardization test method in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.

[0223] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 as well as Figure 3 The steps of the robot gait standardization test method in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.

[0224] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0225] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0226] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0227] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0228] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0229] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for testing the regularity of robot gait, characterized in that, The testing method includes: The bipedal robot under test is controlled to perform walking motion within a preset test area according to the task parameters corresponding to the pre-configured batch test task. The preset optical motion capture system is used to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and to collect the body sensor data of the bipedal robot under test and the test task status information corresponding to the batch test task. The three-dimensional coordinate data and the body sensor data are preprocessed to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and the gait feature parameters of the bipedal robot under test in multiple dimensions are extracted based on the gait data sequence. Based on the gait feature parameters, preset standard thresholds, and preset weight coefficients, the gait standardization evaluation result of the bipedal robot under test is determined; wherein, the gait standardization evaluation result includes at least the individual index score value under multiple preset indicators, the comprehensive gait standardization score value, the qualified status judgment result, and the detailed result of the out-of-limit indicators; Based on the detailed results of the out-of-limit indicators and the deviation and posture change characteristics represented by the gait feature parameters, the abnormal gait recognition result of the bipedal robot under test is determined. The three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results, and the abnormal gait identification results are organized and archived to generate a single-machine test report and batch test statistical results for the bipedal robot under test.

2. The method according to claim 1, characterized in that, Before controlling the bipedal robot under test to perform walking motion within a preset test area according to the task parameters corresponding to the pre-configured batch test tasks, the test method further includes: Multiple infrared motion capture cameras are deployed in the test area to form an optical motion capture system. The test area is spatially calibrated to establish a unified three-dimensional spatial coordinate system. A standardized test path is set in the test area. Reflective markers are installed at predetermined locations on the bipedal robot under test to form a set of markers for characterizing the robot's posture and motion trajectory; wherein, the predetermined locations include at least the head, torso, pelvis, left and right hips, left and right knees, left and right ankles, and left and right feet of the bipedal robot under test. Based on the three-dimensional spatial coordinate system, the standardized test path, and the entered basic test information, test item parameters, and pass thresholds, a batch test task corresponding to the bipedal robot under test and the task parameters corresponding to the batch test task are generated. The basic test information includes at least the robot number, test batch, robot model, and control version; the test item parameters include at least the test item, test speed, number of repeated tests, and test path; and the pass thresholds include at least a preset standard threshold and a preset pass threshold.

3. The method according to claim 1, characterized in that, The process involves controlling the bipedal robot under test to perform walking motion within a preset test area according to the pre-configured task parameters corresponding to the batch test task. A preset optical motion capture system is used to collect in real-time the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot, as well as the body sensor data of the bipedal robot under test and the test task status information corresponding to the batch test task, including: The bipedal robot under test is controlled to move to the starting position within the preset test area, so that the bipedal robot under test enters the ready-to-trigger state after completing the initial walking orientation alignment, and a walking motion test command is issued to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task. In response to the bipedal robot under test entering the trigger-ready state, a walking motion test command and a unified trigger signal are issued to the bipedal robot under test according to the task parameters corresponding to the pre-configured batch test task, and the optical motion capture system and the body sensor of the bipedal robot under test are activated simultaneously. The bipedal robot under test executes walking motion actions according to the walking motion test instructions. The optical motion capture system collects the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time at a fixed sampling rate, and simultaneously collects the body sensor data corresponding to the body sensor. The body sensor data includes at least joint state data, posture state data, foot contact state data, motor operation data, and motion control state data. The three-dimensional coordinate data and the body sensor data are collected synchronously using a unified time reference. The start time, end time, execution status, and abnormal interruption information of the batch test tasks are recorded synchronously to generate test task status information corresponding to the batch test tasks.

4. The method according to claim 1, characterized in that, The process of preprocessing the three-dimensional coordinate data and the body sensor data to obtain gait data sequences corresponding to multiple gait cycles of the bipedal robot under test includes: The three-dimensional coordinate data and the body sensor data are sequentially processed by missing marker point repair, noise filtering, outlier point removal, coordinate system unification, and time synchronization to obtain the preprocessed three-dimensional coordinate data and the body sensor data. The three-dimensional coordinate data is analyzed to obtain foot height features and foot velocity features. Based on the foot height features, foot velocity features, and foot contact state in the body sensor data, the ground contact event and ground lift event corresponding to the left and right feet of the bipedal robot under test are identified. Based on the ground contact event and the ground lift event, the time interval between two consecutive ground contactes of the same side foot of the bipedal robot under test is taken as a gait cycle, and each gait cycle is divided into a support phase and a swing phase, so as to output a continuous and stable gait data sequence of the bipedal robot under test in multiple gait cycles.

5. The method according to claim 1, characterized in that, The gait feature parameters include at least one or more of the following: gait cycle parameters, stride length data, stride width data, stride frequency data, foot lift height value, foot landing point deviation, left and right foot trajectory symmetry index, trunk pitch angle time series data, trunk roll angle time series data, trunk yaw angle time series data, trunk posture change feature parameters, body center of gravity trajectory fluctuation data, and left and right leg phase difference data; Based on the gait data sequence, the gait feature parameters of the bipedal robot under test are extracted in multiple dimensions, including: Based on the gait data sequence corresponding to each gait cycle, the total duration, support phase duration and swing phase duration of each gait cycle are calculated, and the proportion of support phase and the proportion of swing phase are determined. The total duration, support phase duration, swing phase duration, support phase proportion and swing phase proportion are determined as the gait cycle parameters. The stride length data is calculated based on the distance difference between the left and right foot contact points in the gait data sequence in the direction of travel; the stride width data is calculated based on the distance difference between the left and right foot contact points in the gait data sequence in the lateral direction; and the stride frequency data is calculated based on the stride length data per unit time. Extract the vertical target height value of the foot tip in the swing phase within the gait data sequence corresponding to each gait cycle, and calculate the foot tip lift value based on the vertical target height value of the foot tip in the swing phase and the ground reference height; The actual foot-to-ground contact position in the gait data sequence is compared with the expected landing position of the robot's body sensor to calculate the foot-to-ground deviation. After performing phase normalization processing on the left and right foot movement trajectories in the gait data sequence according to the gait cycle, a mirror comparison is performed to obtain the symmetry index of the left and right foot trajectory. Based on the three-dimensional coordinate data in the gait data sequence, the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data are calculated. Based on the trunk pitch angle time series data, the trunk roll angle time series data, and the trunk yaw angle time series data, the mean, peak-to-peak value, and root mean square value of each attitude angle in each gait cycle are statistically analyzed to obtain the trunk attitude change characteristic parameters. Based on the three-dimensional coordinate data in the gait data sequence and the mass distribution model of the bipedal robot under test, the three-dimensional trajectory data of the body center of gravity of the bipedal robot under test is estimated. Based on the three-dimensional trajectory data of the body center of gravity, the fluctuation amplitude of the body center of gravity of the bipedal robot under test in the forward, lateral and vertical directions is statistically analyzed to obtain the body center of gravity trajectory fluctuation data. The left and right leg gait phases are constructed based on the ground contact and ground lift events of the left and right feet in the gait data sequence, and the phase difference data of the left and right legs is calculated. All calculated gait feature parameters are validated for reasonableness to eliminate invalid feature data and output structured gait feature parameters.

6. The method according to claim 1, characterized in that, The determination of the gait normality evaluation result of the bipedal robot under test based on the gait feature parameters, preset normalization threshold, and preset weight coefficient includes: Each gait feature parameter is compared with its corresponding preset standard threshold to obtain deviation fluctuation data and detailed results of the out-of-limit indicators for multiple preset indicators. Based on the deviation fluctuation data, the individual indicator scores under multiple preset indicators are calculated; wherein, the individual indicator scores include stride consistency score, stride width stability score, foot landing accuracy score, trunk posture stability score, left and right leg coordination score, and movement trajectory deviation score. Based on preset weighting coefficients, the individual indicator scores are weighted and summed to obtain the gait standardization comprehensive score. The comprehensive score for gait conformity is compared with a first preset pass threshold and a second preset pass threshold to determine the pass status result; wherein the pass status result includes one of pass, fail, or need to be retested.

7. The method according to claim 1, characterized in that, The step of determining the abnormal gait recognition result of the bipedal robot under test based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters includes: Based on the detailed results of the out-of-limit indicators, the gait cycle segments with out-of-limit indicators are located, and the gait parameter change features, trunk posture change features and foot trajectory change features within the corresponding gait cycle segments are extracted to form anomaly identification feature quantity. Based on the aforementioned anomaly identification features, a multi-feature joint judgment logic is used to determine the abnormal gait type of the bipedal robot under test; wherein, the abnormal gait type includes one or more of the following: dragging foot abnormality, limping abnormality, inconsistent left and right step length abnormality, foot landing point deviation abnormality, excessive body swaying abnormality, yaw abnormality, and support instability abnormality. Based on the characteristic over-limit amplitude corresponding to the abnormal gait type, the number of consecutively over-limit gait cycles, and the frequency of abnormal occurrence, combined with the degree of influence of the abnormal gait type on walking stability, the severity classification result corresponding to the abnormal gait type is determined; wherein, the severity classification result includes one of mild, moderate, and severe levels; The abnormal gait types are subjected to correlation logic verification to eliminate false abnormal results caused by acquisition noise, and the abnormal gait identification results of the bipedal robot under test, including the abnormal gait types and the severity classification results, are output.

8. The method according to claim 1, characterized in that, The process of organizing and archiving the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait normalization evaluation results, and the abnormal gait identification results to generate a single-machine test report and batch test statistical results for the bipedal robot under test includes: According to the task parameters corresponding to the batch test tasks, the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait normalization evaluation results and the abnormal gait identification results are structured and classified for storage, and corresponding data retrieval indexes are established to form a traceable test result database. For a single test task of a single bipedal robot under test, the basic test information in the test task status information is extracted, and combined with the gait normality evaluation results and the abnormal gait identification results, a single-machine test report of the bipedal robot under test is generated. For all the bipedal robots under test in the same test batch, the overall gait normalization evaluation results and abnormal gait identification results of the batch are statistically analyzed, and a batch test statistical result including a batch test statistical table and an abnormal problem summary table is generated. Based on preset screening dimensions, a comparative analysis is performed on the gait feature parameters, gait standardization evaluation results, and abnormal gait identification results corresponding to multiple bipedal robots under test, multiple test batches, and multiple control versions, and a comparative analysis result is generated.

9. A testing device for the standardization of robot gait, characterized in that, The testing apparatus includes: The data acquisition and synchronization module is used to control the bipedal robot under test to perform walking motion in a preset test area according to the task parameters corresponding to the pre-configured batch test task. It uses a preset optical motion capture system to collect the three-dimensional coordinate data corresponding to the reflective markers installed on the bipedal robot under test in real time, and also collects the body sensor data of the bipedal robot under test and the test task status information corresponding to the batch test task. The gait feature extraction module is used to preprocess the three-dimensional coordinate data and the body sensor data to obtain the gait data sequence corresponding to the bipedal robot under test in multiple gait cycles, and extract the gait feature parameters of the bipedal robot under test in multiple dimensions based on the gait data sequence. The gait standardization evaluation module is used to determine the gait standardization evaluation result of the bipedal robot under test based on the gait feature parameters, preset standardization thresholds and preset weight coefficients; wherein, the gait standardization evaluation result includes at least the individual index score value under multiple preset indicators, the comprehensive gait standardization score value, the qualified status judgment result and the detailed result of the out-of-limit indicators; An abnormal gait recognition module is used to determine the abnormal gait recognition result of the bipedal robot under test based on the detailed results of the out-of-limit indicators and the deviation characteristics and posture change characteristics represented by the gait feature parameters. The test result generation module is used to organize and archive the three-dimensional coordinate data, the body sensor data, the test task status information, the gait feature parameters, the gait standardization evaluation results, and the abnormal gait identification results, and generate a single-machine test report and batch test statistical results for the bipedal robot under test.

10. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. The machine-readable instructions are executed by the processor to perform the steps of the robot gait conformity testing method as described in any one of claims 1 to 8.