A robot centroid velocity estimation method, apparatus, device, medium and product
By combining a linear inverted pendulum model and Kalman filtering, the accuracy and stability issues of center-of-mass velocity perception in bipedal robots are solved, achieving high-precision, low-noise center-of-mass velocity estimation, adapting to stable operation under complex working conditions, and avoiding robot imbalance.
Patent Information
- Application Number
- CN202611311518.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, the center of mass velocity sensing of bipedal robots has a shortcoming in accuracy. Elastic deformation of the hip joint and instantaneous impact during support switching can easily cause speed measurement jumps, leading to amplified errors and even causing the robot to lose balance and tip over.
By acquiring joint angle data, attitude angle data, and triaxial linear acceleration data, the kinematic model of the linear inverted pendulum and Kalman filtering are used to predict and correct the center of mass velocity. A complete velocity prediction link of multi-source data acquisition, dynamic velocity prediction and filtering correction is constructed, abandoning the traditional differential velocity measurement architecture of center of mass position.
It improves the accuracy and stability of the center of mass velocity measurement, adapts to the robot's full gait cycle velocity measurement scenario, reduces the computational load of the algorithm, adapts to the real-time operation requirements of the embedded controller, and prevents the robot from falling over.
Smart Images

Figure CN123158100A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robotics technology, and in particular to a method, apparatus, device, medium, and product for estimating the center-of-mass velocity of a robot. Background Technology
[0002] With the rapid iteration of humanoid bipedal robot technology, its application in scenarios such as inspection, service, and special operations continues to expand. Complex terrain, dynamic loads, and high-frequency gait switching have become the normal operating conditions for robots. The overall motion state perception capability directly determines the walking control effect, and the center of mass speed, as the core feedback quantity for balance control, continues to increase in application demand.
[0003] Currently, the velocity sensing accuracy of bipedal robots generally suffers from shortcomings. Elastic deformation of the hip joint and instantaneous impact during support switching can easily cause velocity jumps and amplify errors, even leading to robot imbalance and tipping under extreme conditions. Therefore, how to improve the velocity sensing accuracy of robots while ensuring stability under working conditions has become one of the key research focuses for engineers in related fields. Summary of the Invention
[0004] This application provides a method, apparatus, device, medium, and product for estimating the center-of-mass velocity of a robot, in order to improve velocity measurement accuracy and operational stability.
[0005] According to one aspect of this application, a method for estimating the velocity of a robot's center of mass is provided, comprising: Acquire joint angle data, attitude angle data, and triaxial linear acceleration data of each joint of the target robot; Based on the joint angle data, attitude angle data, and the linkage dynamics model corresponding to the target robot, the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting foot are determined respectively. The horizontal position difference and vertical height difference are input into the pre-built kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine. Based on the predicted center-of-mass velocity, triaxial linear acceleration data, and a preset filtering correction model, the predicted center-of-mass velocity is corrected to obtain the target center-of-mass velocity.
[0006] According to another aspect of this application, a robot center-of-mass velocity estimation device is provided, comprising: The data acquisition module is used to acquire joint angle data, attitude angle data, and triaxial linear acceleration data of each joint of the target robot; The dynamics analysis module is used to determine the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting leg, based on the joint angle data, attitude angle data and the link dynamics model corresponding to the target robot. The velocity prediction module is used to input the horizontal position difference and vertical height difference into the pre-built kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine. The velocity correction module is used to correct the predicted value of the center of mass velocity based on the predicted value of the center of mass velocity, the three-axis linear acceleration data, and the preset filtering correction model, so as to obtain the target center of mass velocity.
[0007] According to another aspect of this application, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the robot center of mass velocity estimation method according to any embodiment of this application.
[0008] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the robot center-of-mass velocity estimation method according to any embodiment of this application.
[0009] According to another aspect of this application, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the robot center of mass velocity estimation method according to any embodiment of this application.
[0010] The technical solution of this application embodiment constructs a complete velocity prediction link of "multi-source data acquisition, dynamic velocity prediction, and filtering correction," abandoning the traditional centroid position differential velocity measurement architecture. This solves the problems of traditional solutions that heavily rely on joint angle measurement accuracy, amplified velocity measurement errors under hip joint deformation and support switching conditions, and are prone to failure leading to robot falls. It is adaptable to full gait cycle velocity measurement scenarios for robots, improving velocity measurement accuracy and operational stability. Simultaneously, the algorithm has low computational load, meeting the real-time operation requirements of robot embedded controllers.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart of a robot center of mass velocity estimation method according to Embodiment 1 of this application; Figure 2 This is a schematic diagram of a robot center of mass velocity estimation device according to Embodiment 2 of this application; Figure 3 This is a schematic diagram of the structure of an electronic device that implements the robot center-of-mass velocity estimation method according to the embodiments of this application. Detailed Implementation
[0014] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0016] Example 1 Figure 1 This application provides a flowchart of a robot center-of-gravity velocity estimation method in Embodiment 1. This embodiment is applicable to humanoid scenarios. The method can be executed by a robot center-of-gravity velocity estimation device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes: S110. Acquire the joint angle data, attitude angle data, and triaxial linear acceleration data of each joint of the target robot.
[0017] The target robot can be any robot capable of movement and composed of multiple axes and links, especially a bipedal robot. This application's embodiments and implementation methods will use a bipedal robot as an example for explanation. Joint angle data can be the rotation angle data of all rotatable axes throughout the robot's body, including but not limited to all rotational joints such as the hip, knee, ankle, and trunk joints, and the raw joint rotation position angle data output in real time by the corresponding photoelectric encoders of each joint. Attitude angle data can be the angular velocity data of the gyroscope collected by the IMU (Inertial Measurement Unit) at the center of the fuselage, and the three sets of attitude parameters—roll angle, pitch angle, and yaw angle—obtained after quaternion attitude calculation. Three-axis linear acceleration data can be acceleration data collected using accelerometers. Furthermore, these acceleration data can be further processed by removing the gravity component and correcting the attitude coordinate system, retaining only the horizontal and vertical three-axis motion acceleration data generated by the robot's pure motion.
[0018] For example, as a pre-processing step for algorithm data input, S110 synchronously collects three types of core sensor information: robot joint motion, body posture, and body inertial motion, and completes preprocessing and timing alignment. This provides complete, time-consistent, and low-noise raw sensor input for subsequent calculation of the centroid's geometric position, construction of a linear inverted pendulum model, and filtering and correcting the velocity. It is the data foundation for the entire centroid velocity estimation algorithm.
[0019] S120. Based on the joint angle data, attitude angle data, and the linkage dynamics model corresponding to the target robot, determine the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting leg.
[0020] The linkage dynamics model can be a forward kinematics model based on the robot's linkage parameters, incorporating inherent parameters such as the fixed length of each linkage, the calibrated mass of each linkage, and the offset of each linkage's center of mass. The supporting foot can be the effective single or double foot currently in contact with the ground and bearing the weight of the entire robot, determined by foot-ground contact state logic. The overall center of mass can be the robot's three-dimensional center of mass obtained by weighted fusion of the positions of all linkage center of mass and linkage mass. The horizontal position difference can be the difference between the three-dimensional coordinates of the overall center of mass and the coordinates of the effective supporting foot's ground plane on the horizontal plane (front / back, left / right). The vertical height difference can be the difference between the vertical height coordinates of the overall center of mass and the vertical coordinates of the supporting foot's ground plane.
[0021] For example, based on the kinematic constraints of the robot's mechanical structure, the two core geometric parameters required for the operation of the linear inverted pendulum model can be calculated using synchronous sensor data. The velocity is not calculated directly; only the static difference describing the spatial positional relationship between the center of mass and the supporting foot is extracted. Even if the hip joint undergoes elastic deformation, it will only slightly change the joint angle input and produce only a linear perturbation to the horizontal position difference and vertical height difference. It will not directly amplify the velocity error. This avoids the error amplification defect of traditional differential velocimetry from the underlying geometric parameter level and provides a basic input for subsequent dynamic prediction of the center of mass acceleration.
[0022] S130. Input the horizontal position difference and vertical height difference into the pre-built kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine.
[0023] The pre-constructed kinematic model of the linear inverted pendulum can be a dynamic calculation model built to fit the physical constraints of bipedal robot walking, such as using the core dynamic formula of the linear inverted pendulum. The predicted value of the center of mass velocity can be a priori value of the horizontal velocity of the center of mass obtained solely from the linear inverted pendulum dynamic model and time-domain integration over a single control cycle; it is a rough prediction value that has not been adjusted or corrected.
[0024] For example, S130 abandons the differential velocity measurement link of the traditional scheme of "determining velocity by differentiating the position of the center of mass at continuous moments", and instead uses the physical dynamic relationship of the linear inverted pendulum to directly solve the acceleration of the center of mass, and then integrates to obtain the velocity prediction value. There is no position differential operation throughout the process, and the geometric parameter disturbance caused by hip joint deformation is only linearly transmitted to the acceleration calculation, which will not produce differential amplification velocity jump error. It is especially suitable for severe joint deformation conditions such as support foot switching and foot impact. The output velocity prediction value is used as the state prior for subsequent filtering so as to correct the subsequent prediction value.
[0025] S140. Based on the predicted value of the center of mass velocity, the three-axis linear acceleration data, and the preset filtering correction model, the predicted value of the center of mass velocity is corrected to obtain the target center of mass velocity.
[0026] The preset filtering correction model can be selected by professionals in the relevant field according to the specific situation of the robot. For example, a correction model based on Kalman filtering can be used, with the output velocity of the linear inverted pendulum model as the state prior and the integral velocity of the IMU acceleration as the external observation. The target center of mass velocity can be the high-precision, low-noise, and non-jumping true center of mass velocity of the robot, which can be directly supplied to the gait balance controller after filtering and iterative correction.
[0027] For example, Kalman filtering can be used to compensate for the inherent approximation error caused by the simplified physical model of the linear inverted pendulum, while suppressing the velocity deviation caused by joint deformation and sensor noise. Under harsh working conditions such as single support, double support switching, and instantaneous deformation of the hip joint, the small perturbation of velocity is predicted by observing the constraint smoothing model, and finally outputs a stable and high-precision target centroid velocity throughout the gait cycle, ensuring that the robot balance controller obtains accurate perception data and avoids imbalance and falls.
[0028] The technical solution of this application embodiment constructs a complete velocity prediction link of "multi-source data acquisition, dynamic velocity prediction, and filtering correction," abandoning the traditional centroid position differential velocity measurement architecture. This solves the problems of traditional solutions that heavily rely on joint angle measurement accuracy, amplified velocity measurement errors under hip joint deformation and support switching conditions, and are prone to failure leading to robot falls. It is adaptable to full gait cycle velocity measurement scenarios for robots, improving velocity measurement accuracy and operational stability. Simultaneously, the algorithm has low computational load, meeting the real-time operation requirements of robot embedded controllers.
[0029] In one optional implementation, the triaxial linear acceleration data can be determined by: acquiring the original triaxial acceleration collected by the inertial measurement unit deployed on the target robot, and performing gravity compensation correction on the original triaxial acceleration based on the attitude angle data to obtain the triaxial linear acceleration data.
[0030] The inertial measurement unit (IMU) can be deployed as a six-axis sensing unit at the center of the robot's body, integrating a three-axis gyroscope and a three-axis accelerometer. The raw three-axis acceleration is the acceleration signal directly acquired by the IMU accelerometer in the robot's coordinate system, containing both the vertical component of gravity and the robot's motion acceleration component. Gravity compensation correction can be performed based on the robot's attitude angles to transform the coordinate system, separating and eliminating the constant gravity component from the raw acceleration, retaining only the pure linear acceleration generated by the robot's motion. For example, using the roll, pitch, and yaw attitude angles calculated by the S110 to construct a coordinate transformation matrix, the raw acceleration in the robot's coordinate system is transformed to the world horizontal coordinate system, eliminating gravity interference.
[0031] For example, the raw acceleration collected by the IMU cannot directly reflect the robot's motion acceleration. In a stationary state, the raw acceleration is only a gravity signal. When walking, the gravity component will be superimposed on the motion acceleration, causing observation distortion. This implementation relies on the attitude angle to complete the coordinate system decoupling, eliminate the interference of constant gravity, and output a pure three-axis linear acceleration of motion. This provides an unbiased and effective inertial observation data source for subsequent Kalman filtering, ensuring the accuracy of the observation information in the filtering correction stage.
[0032] In the above implementation, a gravity compensation correction method is defined for the triaxial linear acceleration data, and the original IMU acceleration is corrected based on the fuselage attitude angle. This solves the problems of the original acceleration containing a gravity component and the distortion of observation data caused by fuselage attitude tilt interference, and purifies the data to obtain pure motion acceleration data of the robot, ensuring that the subsequent filtered observation data is true and effective. This provides an accurate sensing observation basis for multi-source information fusion correction and effectively improves the final velocity estimation accuracy.
[0033] In a further optional embodiment, the step S140, which involves correcting the predicted center-of-mass velocity based on the predicted center-of-mass velocity, triaxial linear acceleration data, and a preset filtering correction model to obtain the target center-of-mass velocity, may include: S141. Obtain the previous centroid velocity of the whole machine in the previous control cycle, and use it as the state variable of the filter correction model.
[0034] Here, the previous control cycle can be the algorithm iteration cycle preceding the current operation cycle. The previous centroid velocity can be the centroid velocity output after filtering correction in the previous cycle. The state variables can be the core variables used in the Kalman filter framework to describe the actual motion state of the system. In this scheme, the state variables are uniformly defined as the horizontal velocity of the robot's overall centroid.
[0035] For example, Kalman filtering is a recursive iterative algorithm that relies on the optimal state of the previous cycle to complete the prediction calculation for the current cycle. It retrieves the historical filter output results as the initial state value and establishes the iterative calculation of the velocity in the previous and subsequent cycles to ensure the continuity of the filter iteration and avoid jumps or gaps in the velocity estimation in each cycle.
[0036] S142. Use the predicted value of the centroid velocity as the state prediction value of the filtered correction model.
[0037] The state prediction can be the prior estimate of the system state obtained by the filtered correction model in the prediction stage solely based on the system dynamics model, without introducing external observation corrections.
[0038] For example, S142 can complete the state assignment in the filtering prediction stage. Using the dynamic model derivation results corresponding to the target robot as the filtering prior, and utilizing the bipedal robot walking motion constraints to provide strong physical boundaries, compared with simple IMU integral velocity measurement, it significantly suppresses the long-term drift problem of acceleration integral, and provides a physically reasonable velocity prior benchmark for subsequent correction steps.
[0039] S143. Use the integral velocity of the original triaxial acceleration in the preset control cycle as the filtered observation.
[0040] The preset control period can be the iteration period used for iterative prediction of the centroid velocity. It can be set by relevant technical personnel according to the actual situation. For example, 1ms can be used as the iteration duration. This application embodiment does not limit this.
[0041] The integral velocity can be the velocity increment obtained by performing a time-domain integration operation on the triaxial linear acceleration after gravity compensation correction within a single control cycle, and then superimposing historical integral values to form the IMU observed velocity. Filtered observations can be external independent observation information introduced during the Kalman filter correction stage, used to constrain and correct deviations in state predictions.
[0042] For example, IMU acceleration has the advantage of high-frequency, real-time sensing of the instantaneous motion of the fuselage. The velocity obtained by integration, as an independent external observation, can compensate for the prediction bias caused by the simplified linear inverted pendulum model. A second velocity observation link, completely independent of the dynamic model prediction, is constructed to provide two complementary information paths for filtering and fusion.
[0043] S144. Determine the target centroid velocity in the filtered correction model based on the state variables, state prediction variables, and filtered observations.
[0044] The filtering correction model can be a complete Kalman filter model, which may include the complete set of operational logic for predictive covariance update, residual calculation, Kalman gain solution, state correction, and covariance update.
[0045] This example integrates three types of information: recursive state, dynamic model prediction, and IMU inertial observation, and enters a complete Kalman filter iterative process to achieve information complementarity between model priors and sensor observations. It comprehensively suppresses model errors, joint deformation disturbances, and sensor random noise, and outputs the optimal velocity estimate.
[0046] In the above implementation, the definition methods of the state variables, state prediction variables, and filter observations of the Kalman filter are limited, and a dual-information fusion architecture of dynamic prior and IMU observation is constructed. This solves the drawbacks of the inherent approximation error of a single dynamic model and the susceptibility of a single IMU sensor to random noise interference. By correcting velocity measurement deviation through multi-dimensional information fusion, it effectively suppresses velocity disturbances caused by hip joint deformation and foot impact, and significantly improves the stability of the center-of-mass velocity output under complex working conditions.
[0047] In an optional implementation, determining the target centroid velocity in the filtered correction model based on the state variables, state predictions, and filtered observations in step S144 may include: S1441. Determine the observation residuals based on the filtered observations and state predictions.
[0048] The observation residual can be the difference between the filtered observation (IMU integral velocity) and the state prediction (linear inverted pendulum prediction velocity), which characterizes the degree of deviation between the model prediction and the inertial observation.
[0049] The observation residual is the core basis for correction in the Kalman filter correction process. The larger the residual value, the more significant the prediction deviation of the dynamic model, joint deformation disturbance, or sensor noise. Quantifying the degree of conflict between the two velocity information streams provides the basic parameters for subsequent calculation of correction weights.
[0050] S1442. Determine the Kalman gain based on the predicted covariance at the end of the previous control cycle.
[0051] The prediction covariance is a matrix that characterizes the uncertainty and error fluctuation range of the state prediction. It is updated and cached synchronously after the previous iteration. The Kalman gain is a weighting coefficient in the Kalman filter correction stage, used to allocate the proportion of influence of model priors and IMU observations on the final output speed. The larger the covariance, the higher the Kalman gain, and the greater the weight of observation information correction.
[0052] For example, the reliability of predictions based on the Kalman gain dynamic equilibrium dynamic model and IMU observations is assessed. When hip joint deformation or model error leads to an increase in prediction covariance, the gain is automatically increased, relying more on IMU observations to correct the speed. When IMU noise is high, the gain is reduced, and more trust is placed in the linear inverted pendulum physical model, which is adaptively adapted to various walking conditions.
[0053] S1443. Correct the state prediction based on the observation residual and Kalman gain to determine the target centroid velocity.
[0054] The target centroid velocity can be the optimal centroid velocity estimate with the smallest error after residual weighting correction, which is also the target for centroid velocity prediction in this application.
[0055] For example, the velocity prediction value output by the dynamic model can be corrected based on quantization deviation and adaptive weights to offset various errors caused by hip joint deformation, model simplification, and sensor noise, and output a low-noise, abrupt, and consistent center-of-gravity velocity that fits the robot's real motion state. This value can be directly sent to the robot's gait balance controller to complete correction and attitude disturbance rejection control.
[0056] In the above implementation, the specific filtering iteration logic for observation residuals, Kalman gain calculation, and velocity correction is defined to achieve adaptive dynamic adjustment of weights. This solves the problems of traditional fixed-weight filtering being unable to adapt to the dynamic walking conditions of robots and incomplete error correction. It can accurately offset model errors, hip joint deformation disturbances, and sensor noise, eliminate the problem of instantaneous velocity jumps during support switching, and fundamentally eliminate the risk of robot imbalance and falls.
[0057] In one optional implementation, the step S120, which determines the horizontal position difference and vertical height difference between the target robot's center of mass and its supporting legs based on the joint angle data, attitude angle data, and the link dynamics model corresponding to the target robot, may include: S121. Based on the joint angle data, attitude angle data, and the linkage dynamics model corresponding to the target robot, determine the spatial position of the current supporting foot of the target robot and the spatial position of the center of mass of the entire target robot.
[0058] The spatial position of the support foot can be the three-dimensional coordinates of the effective support foot's grounding center point in the world coordinate system. The spatial position of the robot's center of mass can be the three-dimensional coordinates of the robot's center of mass in the world coordinate system after the weighted fusion of all the robot's links.
[0059] For example, according to the mechanical kinematic constraints of the robot, the two sets of core spatial coordinates required to solve the linear inverted pendulum model are solved; the positions of the supporting feet and the center of mass of the whole machine are distinguished, and it is not affected by the switching between single support and double support gait. Even if the hip joint deformation changes the position of the link, only the coordinate output is slightly adjusted, and no differential amplification error is generated, which provides a precise three-dimensional position basis for subsequent geometric difference calculation.
[0060] S122. Based on the spatial positions of the supporting feet and the spatial position of the center of mass, determine the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting feet.
[0061] For example, the input parameters of the model are determined by calculation based on two spatial coordinates. A subtraction operation is performed between the three-dimensional coordinates of the supporting foot position and the center of mass position; for instance, the Z-axis coordinates of the supporting foot position and the center of mass position are subtracted to obtain the vertical height difference. Then, the straight-line distance between the X-axis and Y-axis coordinates in the three-dimensional coordinate system is calculated to determine the horizontal position difference. Furthermore, the geometric parameters are updated in real-time on a cycle-by-cycle basis to adapt to the dynamic changes in foot undulation and hip joint elastic deformation during walking.
[0062] The above implementation method limits the spatial position calculation and difference calculation of the support foot and the center of mass of the whole machine based on the linkage dynamics model. It solves the problems of poor adaptability of traditional static parameter modeling and inability to adapt to the undulation of the robot's walking feet and the deformation of the hip joint. It can dynamically update the core geometric parameters on a cycle-by-cycle basis, providing high-precision real-time input for the dynamics calculation of the linear inverted pendulum, reducing the error of the center of mass velocity prediction from the source and improving the overall accuracy of velocity measurement.
[0063] In another optional implementation, the step S130 of inputting the horizontal position difference and vertical height difference into a pre-built kinematic model of a linear inverted pendulum to determine the predicted value of the center of mass velocity of the entire machine may include: S131. Based on the difference in horizontal position and the difference in vertical height, calculate the horizontal acceleration of the center of mass of the whole machine using a kinematic model.
[0064] Among them, the horizontal acceleration of the center of mass can be the acceleration of the center of mass on the horizontal plane of the whole machine output by the linear inverted pendulum dynamic model, which characterizes the instantaneous acceleration state of the center of mass in the front-back and lateral directions.
[0065] For example, based on the physical constraints of the linear inverted pendulum for bipedal robot walking, the instantaneous centroid acceleration is directly solved by relying on the geometric offset parameters of the current period without relying on historical velocity or position difference. The geometric parameter disturbance caused by hip joint deformation is only linearly transmitted to the acceleration calculation without error amplification, thus establishing a direct mapping relationship from "spatial geometry" to "dynamic acceleration".
[0066] S132. Using the preset control period as the integration duration, perform time-domain integration on the horizontal acceleration of the center of mass to determine the predicted value of the center of mass velocity.
[0067] Among them, the time-domain integral can be a definite integral operation on a single-cycle constant acceleration, with the initial value of the integral being the target centroid velocity output by the filter in the previous cycle; For example, in the embodiments of this application, the acceleration is calculated first and then the velocity is integrated to eliminate the amplification effect of the difference operation on joint angle noise and hip joint deformation error, and output a stable and non-jumping velocity prior, providing a physically constrained prediction benchmark for subsequent Kalman filtering.
[0068] In the above implementation, the acceleration solution and time-domain integral velocimetry logic are limited to a linear inverted pendulum model, completely abandoning the position differential velocimetry method. This solves the core defect of traditional differential velocimetry in which the error is drastically amplified during hip joint deformation and support switching stages. It allows only a small linear influence of geometric parameters on the velocity result, without error amplification effect, and can output stable prior velocity values throughout the robot's entire gait cycle, adapting to various complex dynamic walking conditions.
[0069] Based on the foregoing embodiments and implementation methods, this application also provides a specific example for extending and supplementing the foregoing embodiments and implementation methods, as follows: Step 1: Real-time synchronous data acquisition and preprocessing from multiple sources of sensors.
[0070] In this embodiment, the robot's underlying control cycle is set to 1ms. All sensor data are synchronously collected and timestamped according to the 1ms control cycle to ensure the timing consistency of multi-source data. The specific collection and preprocessing process is as follows: First, joint angle data is acquired. High-precision photoelectric encoders are used to collect real-time angle position data of all joints, including the hip, knee, ankle, and trunk joints, through the rotating joints of the robot. The encoder resolution is no less than 16 bits. The raw angle values of each joint are output in a single sampling. The raw angle data is preprocessed by mean filtering to remove single sampling pulse noise and retain the true deformation and motion information of the joint angles.
[0071] Next, IMU attitude data is calculated. A six-axis IMU unit (three-axis gyroscope + three-axis accelerometer) fixed at the center of the robot body is used to collect the robot's inertial data in real time. The raw angular velocity data from the gyroscope is integrated and calculated using a quaternion attitude calculation algorithm, and three sets of attitude parameters are output: the robot's roll angle, pitch angle, and yaw angle. The calculation frequency is synchronized with the control cycle at 1000Hz. At the same time, zero-bias correction is performed on the attitude angle data to eliminate attitude calculation errors caused by IMU static drift.
[0072] Thirdly, IMU acceleration data acquisition and preprocessing are performed. Simultaneously, raw three-axis linear acceleration data of the fuselage output from the IMU are acquired. Addressing the issue of gravity components and motion noise in the raw acceleration data, gravity compensation correction is performed based on the calculated fuselage attitude angles. The acceleration data in the fuselage coordinate system is transformed to the world horizontal coordinate system, and the vertical component interference of gravity is removed, resulting in pure motion three-axis acceleration data, which serves as effective input for subsequent filtering observations.
[0073] After completing the above three types of data collection and preprocessing, a unified synchronization timestamp is marked, and all data is matched to a unified 1ms control cycle time sequence to avoid parameter calculation errors caused by time sequence misalignment of multi-source data.
[0074] Step 2: High-precision calculation of basic position parameters of the linear inverted pendulum model.
[0075] Based on the synchronous joint angle data and body posture angle data obtained in step one, and combined with the robot's standard DH linkage kinematic model, the spatial position of the supporting feet and the position of the overall center of mass are calculated cycle by cycle, ultimately obtaining the core geometric parameters required for the linear inverted pendulum model. The specific implementation process is as follows: First, the spatial position of the supporting foot is determined. Based on the real-time joint angles of the robot's ankle, knee, and hip joints, and combined with the fixed parameter of the robot's link length, the three-dimensional spatial coordinates of the left and right feet in the body coordinate system and the world coordinate system are calculated through forward kinematics iteration. Simultaneously, combined with the robot's foot-ground contact state detection logic, the current single-support / double-support motion state of the robot is determined, the current effective supporting foot is locked, and the real-time spatial position coordinates of the effective supporting foot are output.
[0076] Next, the position of the robot's center of mass is determined. Based on the inherent calibration parameters of the mass and center of mass offset of each link of the robot, and combined with the link pose corresponding to the real-time angle of each joint, the partial center of mass positions of all links of the robot are calculated through a weighted iterative algorithm. Finally, the real-time three-dimensional spatial position of the robot's center of mass is obtained by fusing the solutions, including the position information of the horizontal, vertical, and height dimensions.
[0077] Thirdly, core geometric parameters are calculated. Based on the obtained positions of the overall center of mass and the effective supporting feet, two core parameters required for the linear inverted pendulum model are calculated: one is the horizontal position deviation between the center of mass and the supporting feet. The first is the difference between the horizontal coordinates of the center of gravity and the horizontal coordinates of the supporting foot, covering the front-to-back and left-to-right horizontal coupling deviations; the second is the difference in vertical height between the center of gravity and the supporting foot. , which is the difference between the vertical height of the center of gravity and the height of the ground plane of the supporting foot. In this embodiment, the parameter... , It updates on a control cycle, eliminating the need for a fixed model height and adapting to changes in working conditions such as foot undulations and slight hip joint deformations during robot walking.
[0078] Step 3: Prediction of the center of mass velocity based on the linear inverted pendulum dynamics model.
[0079] This step abandons the traditional differential velocity measurement method for the center of mass position. Instead, it solves for the acceleration of the center of mass based on the standard linear inverted pendulum dynamic equations and obtains the prior value of the center of mass velocity through time-domain integration. This avoids the problems of differential amplification noise and deformation error at the source. The specific implementation method is as follows: First, the acceleration of the center of mass is calculated. The horizontal acceleration of the center of mass is calculated using the core dynamics formula of a linear inverted pendulum, as follows: in, The predicted horizontal acceleration of the center of mass by the model; The difference in horizontal position between the center of gravity and the supporting feet; It is the constant of gravitational acceleration; The vertical height difference between the center of mass and the supporting foot is given. This formula is based on the physical constraints of a linear inverted pendulum with no rotation and no lateral sliding, which fits the steady-state and dynamic walking motion characteristics of a bipedal robot.
[0080] Next, the centroid velocity integral prediction is performed. Using a single 1ms control cycle as the integration duration, the real-time centroid acceleration obtained from the solution is integrated in the time domain. The initial value for integration is the centroid velocity optimized from the previous control cycle. The integration formula is: in, This is the prior value for predicting the centroid velocity in the current period. The highest quality core velocity output from the previous cycle of filtering. To control the cycle duration.
[0081] It is important to note that this step relies entirely on the dynamic model and real-time geometric parameters to predict velocity. It does not require differential or subtractive calculations of the center of mass position at consecutive time points. Therefore, when the robot experiences hip joint deformation or slight deviations in joint angles, the impact will be minimal. , The geometric parameter values avoid the error amplification phenomenon of traditional differential algorithms, effectively controlling the velocity measurement failure problem caused by hip joint deformation. The final output centroid velocity prediction value serves as the state prior of the Kalman filter system.
[0082] Step 4: IMU observation fusion, Kalman filter optimization, and velocity output.
[0083] This embodiment constructs a dual-information fusion filtering architecture that combines prior detection of the dynamic model with correction by IMU sensor observation. It uses Kalman filtering to iteratively correct inherent model errors, joint deformation disturbance errors, and sensor noise, outputting a high-precision and stable centroid velocity. The specific filtering iteration process is as follows: First, the filtering state variables and observations are defined. The Kalman filter state variable is defined as the horizontal velocity of the robot's center of mass, and the state prediction variable is the velocity predicted by the dynamic model output in step three. The filtered observation is defined as the IMU real-time acceleration integral velocity after gravity compensation in step one, that is, the observed velocity is obtained by single-cycle integration of the acceleration after IMU correction, and is used as the external observation input.
[0084] Next, the filter parameters are initialized. In the initial state of robot startup, the filter parameters are initialized and the initial state value is set to 0 (the robot's initial velocity is 0 when stationary). The system process noise covariance matrix is calibrated according to the error characteristics of the linear inverted pendulum model, and the observation noise covariance is calibrated according to the IMU sensor noise characteristics to adapt to the noise characteristics of multiple working conditions such as normal robot walking, support switching, and structural deformation.
[0085] Thirdly, Kalman filtering iterative updates are performed. The prediction and correction iterative logic is executed cycle by cycle. First, state prediction and covariance prediction are completed, and the state prediction value is updated based on the prior velocity of the dynamics. Then, the observation residual is calculated using the IMU observation velocity, the Kalman gain is solved, and the state prediction value and covariance matrix are corrected to offset model approximation errors, parameter disturbance errors caused by hip joint deformation, and sensor random noise.
[0086] Finally, high-precision speed output and application are performed. After filtering and iterative optimization, the optimal real-time speed of the robot's center of mass for the current cycle is output. This speed data has no abrupt extreme values and low noise amplitude, and can maintain stable output under harsh conditions such as robot single-leg support, bi-leg support switching, instantaneous changes in hip joint, and sudden changes in foot contact force. Finally, the optimized center of mass speed is pushed to the robot's gait balance controller and whole-body motion controller in real time, providing accurate speed perception for robot posture correction, gait adjustment, and anti-disturbance balance control, effectively avoiding robot imbalance and falls caused by speed observation failure.
[0087] The above specific examples demonstrate that the proposed solution possesses the following characteristics: Firstly, it reduces the reliance on the accuracy of joint angle measurements, making it suitable for hip joint elastic deformation prototypes. This application's scheme does not employ differential velocity measurement of the center of mass position; continuous, minute deformation of the hip joint only slightly alters its position. , Geometric parameters do not produce differentially amplified speed errors, eliminating the need for high-precision, high-rigidity, non-deformable hip joint structures and reducing robot hardware processing and assembly costs.
[0088] Secondly, the instantaneous speed measurement during support foot switching is stable, eliminating the risk of imbalance and falls. When switching between single and double support or when the hip joint is subjected to instantaneous large deformation due to foot impact load, the dynamic prediction speed of this invention has no jump extreme value error. The filtered output center of mass speed truly reflects the body's motion state. The balance controller can complete ZMP (Zero Moment Point) correction based on the accurate speed, greatly improving walking stability and eliminating the risk of falls when walking at high speeds or on uneven ground.
[0089] Third, the accuracy of center of mass velocity perception is improved throughout the entire gait cycle, optimizing the robot's motion control performance. High-precision, low-noise center of mass velocity estimates can be output throughout the entire gait cycle (single support, double support, start-up, and stop). The controller can accurately plan the center of mass motion trajectory, achieving less body sway and smoother, more stable humanoid walking movements.
[0090] Fourth, the algorithm has a moderate computational load, making it suitable for real-time operation with embedded robot controllers. Linear inverted pendulum acceleration and integral operations are the basic arithmetic and integral operations. The Kalman filter has a low dimensionality, and the entire algorithm can complete real-time iterations within the robot's millisecond-level control cycle. It requires no high-performance computing hardware and is compatible with mainstream bipedal robot embedded main control platforms.
[0091] Example 2 Figure 2 This is a schematic diagram of a robot center-of-mass velocity estimation device provided in Embodiment 2 of this application. Figure 2 As shown, the device 200 includes: The data acquisition module 210 is used to acquire joint angle data, attitude angle data and triaxial linear acceleration data of each joint of the target robot; The dynamic analysis module 220 is used to determine the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting foot based on the joint angle data, attitude angle data and the link dynamic model corresponding to the target robot. The velocity prediction module 230 is used to input the horizontal position difference and vertical height difference into the pre-built kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine. The velocity correction module 240 is used to correct the predicted value of the center of mass velocity based on the predicted value of the center of mass velocity, the three-axis linear acceleration data and the preset filtering correction model, so as to obtain the target center of mass velocity.
[0092] The technical solution of this application embodiment constructs a complete velocity prediction link of "multi-source data acquisition, dynamic velocity prediction, and filtering correction," abandoning the traditional centroid position differential velocity measurement architecture. This solves the problems of traditional solutions that heavily rely on joint angle measurement accuracy, amplified velocity measurement errors under hip joint deformation and support switching conditions, and are prone to failure leading to robot falls. It is adaptable to full gait cycle velocity measurement scenarios for robots, improving velocity measurement accuracy and operational stability. Simultaneously, the algorithm has low computational load, meeting the real-time operation requirements of robot embedded controllers.
[0093] In one optional embodiment, the device 200 includes a triaxial linear acceleration determination module, used to acquire the triaxial raw acceleration collected by the inertial measurement unit deployed on the target robot, and to perform gravity compensation correction on the triaxial raw acceleration according to the attitude angle data to obtain triaxial linear acceleration data.
[0094] In one alternative embodiment, the speed correction module 240 may include: The state variable definition unit is used to obtain the previous centroid velocity of the whole machine in the previous control cycle, as the state variable of the filter correction model. The state prediction unit is used to use the predicted value of the centroid velocity as the state prediction of the filtered correction model. The filter observation definition unit is used to use the integral velocity of the triaxial raw acceleration in a preset control cycle as the filter observation. The target velocity determination unit is used to determine the target centroid velocity in the filtered correction model based on state variables, state prediction variables, and filtered observations.
[0095] In a further optional embodiment, the target velocity determination unit may include: The observation residual determination subunit is used to determine the observation residual based on the filtered observations and state predictions. The Kalman gain determination subunit is used to determine the Kalman gain based on the predicted covariance at the end of the previous control cycle. The target centroid velocity determination sub-unit is used to determine the target centroid velocity by correcting the state prediction based on the observation residuals and Kalman gain.
[0096] In a further optional embodiment, the velocity prediction module 230 may include: The center of mass horizontal acceleration determination unit is used to calculate the center of mass horizontal acceleration of the whole machine based on the difference in horizontal position and the difference in vertical height using a kinematic model. The center of mass velocity prediction unit is used to perform time-domain integration of the horizontal acceleration of the center of mass with a preset control period as the integration duration, and to determine the predicted value of the center of mass velocity.
[0097] In a further optional embodiment, the dynamic analysis module 220 may include: The centroid spatial position determination unit is used to determine the spatial position of the current supporting foot of the target robot and the spatial position of the centroid of the entire target robot based on the joint angle data, attitude angle data and the link dynamics model corresponding to the target robot. The difference determination unit is used to determine the horizontal position difference and vertical height difference between the target robot's center of mass and the supporting feet, based on the spatial positions of the supporting feet and the center of mass.
[0098] The robot center of mass velocity estimation device provided in this application embodiment can execute the robot center of mass velocity estimation method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing each robot center of mass velocity estimation method.
[0099] Example 3 Figure 3 A schematic diagram of an electronic device 10, which can be used to implement embodiments of this application, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0100] like Figure 3As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0101] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0102] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as robot center-of-mass velocity estimation methods.
[0103] In some embodiments, the robot center-of-gravity velocity estimation method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the robot center-of-gravity velocity estimation method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the robot center-of-gravity velocity estimation method by any other suitable means (e.g., by means of firmware).
[0104] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0105] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0106] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0108] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0109] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0110] This application also discloses a computer program product, which includes a computer program that, when executed by a processor, implements the robot center-of-gravity velocity estimation method provided in any embodiment of this application. This program product belongs to the same inventive concept as the robot center-of-gravity velocity estimation methods disclosed in the embodiments of this application, and therefore will not be described in detail here.
[0111] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
[0112] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A robot centroid velocity estimation method, characterized by, include: Acquire joint angle data, attitude angle data, and triaxial linear acceleration data of each joint of the target robot; Based on the joint angle data, the posture angle data, and the linkage dynamics model corresponding to the target robot, the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting foot are determined respectively. The horizontal position difference and the vertical height difference are input into the pre-constructed kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine. Based on the predicted center-of-mass velocity, the triaxial linear acceleration data, and the preset filtering correction model, the predicted center-of-mass velocity is corrected to obtain the target center-of-mass velocity.
2. The method of claim 1, wherein, The triaxial linear acceleration data are determined in the following manner: The raw triaxial accelerations collected by the inertial measurement unit deployed on the target robot are obtained, and gravity compensation correction is performed on the raw triaxial accelerations based on the attitude angle data to obtain the triaxial linear acceleration data.
3. The method of claim 2, wherein, The step of correcting the predicted center-of-mass velocity based on the predicted center-of-mass velocity, the triaxial linear acceleration data, and a preset filtering correction model to obtain the target center-of-mass velocity includes: Obtain the previous centroid velocity of the whole machine centroid in the previous control cycle, and use it as the state variable of the filter correction model; The predicted centroid velocity is used as the state prediction value of the filtered correction model. The integral velocity of the original triaxial acceleration in a preset control cycle is used as the filtered observation. The target centroid velocity is determined in the filtered correction model based on the state quantity, the state prediction quantity, and the filtered observation quantity.
4. The method of claim 3, wherein, The step of determining the target centroid velocity in the filtered correction model based on the state variables, the predicted state variables, and the filtered observations includes: The observation residuals are determined based on the filtered observations and the state predictions. The Kalman gain is determined based on the predicted covariance at the end of the previous control cycle. The state prediction is corrected based on the observation residual and the Kalman gain to determine the target centroid velocity.
5. The method of claim 1, wherein, The step of inputting the horizontal position difference and the vertical height difference into the pre-constructed kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the entire machine includes: Based on the horizontal position difference and the vertical height difference, the horizontal acceleration of the center of mass of the entire machine is calculated using the kinematic model; Using a preset control period as the integration duration, the horizontal acceleration of the center of mass is integrated in the time domain to determine the predicted value of the center of mass velocity.
6. The method of claim 1, wherein, The step of determining the horizontal position difference and vertical height difference between the center of mass of the target robot and its supporting legs based on the joint angle data, the attitude angle data, and the linkage dynamics model corresponding to the target robot includes: Based on the joint angle data, the attitude angle data, and the linkage dynamics model corresponding to the target robot, the spatial position of the current supporting foot of the target robot and the spatial position of the center of mass of the entire target robot are determined respectively. Based on the spatial positions of the supporting feet and the spatial positions of the center of mass, the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting feet are determined.
7. A robot centroid velocity estimation apparatus, characterized by, include: The data acquisition module is used to acquire joint angle data, attitude angle data, and triaxial linear acceleration data of each joint of the target robot; The dynamics analysis module is used to determine the horizontal position difference and vertical height difference between the center of mass of the target robot and the supporting foot, respectively, based on the joint angle data, the posture angle data, and the linkage dynamics model corresponding to the target robot. The velocity prediction module is used to input the horizontal position difference and the vertical height difference into the pre-constructed kinematic model of the linear inverted pendulum to determine the predicted value of the center of mass velocity of the whole machine. The velocity correction module is used to correct the predicted value of the center of mass velocity based on the predicted value of the center of mass velocity, the triaxial linear acceleration data, and a preset filtering correction model, so as to obtain the target center of mass velocity.
8. An electronic device, comprising: The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the robot center of mass velocity estimation method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the robot center-of-gravity velocity estimation method according to any one of claims 1-6.
10. A computer program product, characterised in that, The computer program product includes a computer program that, when executed by a processor, implements the robot center-of-mass velocity estimation method according to any one of claims 1-6.
