Humanoid robot-based human action assisting method, device, equipment and medium

By acquiring real-time user data and interaction force data, and combining Lyapunov functions and a pre-defined solver, the problem of insufficient coordination between auxiliary force and bipedal stability in humanoid robots was solved, achieving stable and continuous assistance for human movement.

CN123169141APending Publication Date: 2026-11-27DIGITAL HUAXIA (SHENZHEN) TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611684171.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, when humanoid robots assist human movement, the coordination between the assisting force and the stability of the two feet is insufficient, resulting in discontinuous assistance or robot imbalance. Furthermore, delays or misclassifications in recognizing human task categories affect the continuity of assistance.

Method used

By acquiring real-time motion state data and interaction force data of the user, the vertical position of the center of mass, velocity, and leg support force are estimated. The target constraint conditions expressed by Lyapunov functions are constructed, and the joint control commands are solved by a preset solver to achieve stability control of the humanoid robot for the user.

Benefits of technology

It achieves joint control of stability and assistive force when humanoid robots assist human movement, ensuring the continuity and safety of the assistance process and avoiding problems of excessive or insufficient assistive force.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169141A_ABST
    Figure CN123169141A_ABST
Patent Text Reader

Abstract

The application discloses a human action assisting method and device based on a humanoid robot, equipment and a medium, relates to the technical field of robot control, and comprises the following steps: estimating a human state estimation value of a user based on real-time motion state data of the user and interaction force data between the humanoid robot and the user; determining an expected assisting force according to the human state estimation value and a preset upper limit of human acceptable supporting force, and constructing a target constraint condition in the form of a Lyapunov function and used for constraining the stability of the humanoid robot; inputting the expected assisting force and the target constraint condition into a preset solver to obtain joint control instructions of the humanoid robot and a target assisting force; and controlling the humanoid robot to exert a pulling action on the user based on the joint control instructions, so that the action assisting is performed according to the target assisting force. The action assisting includes getting-up assisting, standing assisting and flat-ground walking assisting. The application can realize the joint control of the assisting force and the biped stability of the humanoid robot when the humanoid robot assists human action.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot control technology, and in particular to human mobility assistance methods, devices, equipment and media based on humanoid robots. Background Technology

[0002] With the deepening of population aging and the continuous growth in demand for daily care, rehabilitation training, and manual labor, providing safe and continuous weight assistance for people with limited mobility or who require physical support has become an important research direction in the field of robot-assisted design. Among related technologies, there have been studies on tagless assistance using wearable devices such as lower limb exoskeletons. These studies design control laws through modular energy shaping control frameworks or by combining human motion and contact information to provide assisted control for different daily activities and joint configurations, and use electromyography (EMG) signals to evaluate muscle responses after assistance. However, such solutions typically use wearable exoskeletons as the assistive carrier, and the assistive force is mainly transmitted through human joints. Therefore, their control laws are difficult to directly apply to assistive devices for independent walking.

[0003] On the other hand, with the development of bipedal humanoid robot technology, using humanoid robots to apply lifting force to a person through their arms to provide weight assistance has become a possible technological path. Unlike wearable exoskeletons, humanoid robots also bear the reaction force of the human body while applying lifting force. The amount of assistance they can provide changes with the robot's own posture, the contact state of the supporting feet, and the relative position of the human and the robot. Therefore, the support force required by the human body must be calculated together with the force that the robot can currently stably apply; otherwise, it is easy to cause discontinuous assistance or the robot itself to become unbalanced. In addition, if the assistance process requires first identifying the human task category such as getting up, standing, or walking before switching the support curve, recognition delays or misclassifications will also affect the continuity of assistance. Existing assistance schemes still have shortcomings in the coordination of assistive force and bipedal balance, coordination when support conflicts occur, and confirmation of assistance transfer.

[0004] In summary, how to achieve the combined control of assistive force and bipedal stability when humanoid robots assist human movement is a technical problem that urgently needs to be solved. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a method, device, equipment, and medium for assisting human movement based on a humanoid robot, capable of jointly controlling the assisting force and bipedal stability when the humanoid robot assists human movement. The specific solution is as follows: In a first aspect, this application provides a human mobility assistance method based on a humanoid robot, comprising: The system acquires real-time motion state data of the user and interaction force data between the humanoid robot and the user, and estimates the vertical position, velocity and leg support force of the user's center of mass based on the real-time motion state data and the interaction force data, thereby obtaining an estimated value of the user's human body state. Based on the estimated human body state and the user's corresponding preset acceptable support force upper limit, the expected auxiliary force applied by the humanoid robot to the user is determined, and a target constraint condition, expressed in the form of a Lyapunov function, is constructed to constrain the stability of the humanoid robot. The construction process of the target constraint condition is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined; wherein, the task output is the base position and posture of the humanoid robot; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint condition is constructed according to the derivative of the Lyapunov function along the task output error state. The desired assist force and the target constraint are input together into a preset solver to obtain the joint control commands and target assist force of the humanoid robot. Based on the joint control commands, the humanoid robot is controlled to apply a lifting action to the user, so as to provide movement assistance to the user according to the target assistive force; the movement assistance includes standing assistance, standing assistance, and flat walking assistance.

[0006] Optionally, the humanoid robot's hands are connected to the force-transmitting connection components worn by the user, and the interaction force data is obtained based on the force measurement between the humanoid robot's hands and the force-transmitting connection components.

[0007] Optionally, the step of estimating the user's vertical position and velocity of the center of mass and leg support force based on the real-time motion state data and the interaction force data to obtain the user's estimated human body state includes: Based on the real-time motion state data and the interactive force data, the vertical force relationship of the user's center of mass is constructed; the vertical force relationship of the center of mass is used to describe the force balance relationship of the user's center of mass; A Kalman filter is constructed based on the vertical force relationship of the center of mass and the real-time motion state data. The interactive force data is used as input to filter and estimate the Kalman filter to obtain the human body state estimate. The human body state estimate includes the vertical position and velocity of the user's center of mass and the leg support force.

[0008] Optionally, determining the expected assistive force applied by the humanoid robot to the user based on the estimated human body state and the user's corresponding preset acceptable human support force upper limit includes: The lower bound of the leg support force is determined based on the leg support force and the variance of the estimation error corresponding to the leg support force; The lower bound of the leg support force and the sum of the preset single-cycle allowable increment are compared with the preset upper limit of the human body's acceptable support force, and the smaller value is taken as the target leg support amount that the user is allowed to bear. The desired assistive force applied by the humanoid robot to the user is calculated based on the user's mass and the target leg support.

[0009] Optionally, before inputting the desired auxiliary force and the target constraint into the preset solver, the method further includes: Determine the lower limit of the real-time assistance force corresponding to the user; the lower limit of the real-time assistance force is the minimum assistance force that the humanoid robot should provide to the user under the user's current posture and speed. The lower bound of the target assist force is determined based on the maximum value between the real-time assist force lower limit and the preset minimum allowable assist force corresponding to the humanoid robot; the preset minimum allowable assist force is the minimum vertical lifting force allowed by the force-transmitting connection component; The upper limit of the target assist force is determined based on the preset maximum allowable assist force corresponding to the user; the preset maximum allowable assist force is the maximum vertical lifting force allowed by the user and the force-transmitting connection component together; The solution range of the target auxiliary force is determined based on the lower bound and the upper bound of the target auxiliary force, so that the solution range, the desired auxiliary force, and the target constraint are jointly input into the preset solver.

[0010] Optionally, before inputting the desired auxiliary force and the target constraint into the preset solver, the method further includes: The upper body control of the humanoid robot is decomposed into vertical control and horizontal control; In the horizontal direction, a compliance force target is generated based on a preset spring damping model; the compliance force target is used to keep the humanoid robot compliant in the horizontal direction. The compliance force objective, the desired auxiliary force, and the objective constraint are input together into the preset solver; Wherein, the desired assist force is an optimization target in the vertical direction, and the compliance force target is an optimization target in the horizontal direction.

[0011] Secondly, this application provides a human mobility assistance device based on a humanoid robot, comprising: The motion state data acquisition module is used to acquire the user's real-time motion state data and the interaction force data between the humanoid robot and the user, and to estimate the user's center of mass position, velocity and leg support force based on the real-time motion state data and the interaction force data, so as to obtain the estimated value of the user's human body state. A target constraint construction module is used to determine the expected auxiliary force applied by the humanoid robot to the user based on the estimated human body state and the user's corresponding preset acceptable human support force upper limit, and to construct target constraints expressed in the form of a Lyapunov function to constrain the stability of the humanoid robot. The construction process of the target constraints is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined; wherein, the task output is the base position and posture of the humanoid robot; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint is constructed according to the derivative of the Lyapunov function along the task output error state. The joint control command determination module is used to input the desired auxiliary force and the target constraint into a preset solver to solve for the joint control command and target auxiliary force of the humanoid robot. The mobility assistance module is used to control the humanoid robot to apply a lifting action to the user based on the joint control commands, so as to provide mobility assistance to the user according to the target assistive force; the mobility assistance includes standing assistance, standing assistance, and flat walking assistance.

[0012] Optionally, the humanoid robot's hands are connected to the force-transmitting connection components worn by the user, and the interaction force data is obtained based on the force measurement between the humanoid robot's hands and the force-transmitting connection components.

[0013] Thirdly, this application provides an electronic device, comprising: Memory, used to store computer programs; A processor is used to execute the computer program to implement the aforementioned human mobility assistance method based on a humanoid robot.

[0014] Fourthly, this application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned human mobility assistance method based on a humanoid robot.

[0015] In this application, firstly, real-time motion state data of the user and interaction force data between the humanoid robot and the user are acquired. Based on the real-time motion state data and the interaction force data, the vertical position, velocity, and leg support force of the user's center of mass are estimated to obtain an estimated value of the user's human body state. Then, based on the estimated value of the human body state and the preset upper limit of acceptable human body support force corresponding to the user, the expected auxiliary force applied by the humanoid robot to the user is determined, and a target constraint condition expressed in the form of a Lyapunov function is constructed to constrain the stability of the humanoid robot. The construction process of the target constraint condition is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined. The task output is the humanoid robot's... The robot's base position and posture are determined; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint condition is constructed along the derivative of the task output error state according to the Lyapunov function; then, the desired assist force and the target constraint condition are jointly input into a preset solver to solve for the joint control commands and target assist force of the humanoid robot; finally, based on the joint control commands, the humanoid robot is controlled to apply a lifting action to the user, so as to provide action assistance to the user according to the target assist force; the action assistance includes standing assistance, standing assistance, and flat walking assistance. As can be seen from the above, this application first collects real-time motion state data of the user and interaction force data between the humanoid robot and the user, and estimates the vertical position, velocity, and leg support force of the user's center of mass to obtain a human body state estimate. Then, combined with the human body state estimate and the preset upper limit of acceptable human support force, the expected auxiliary force applied by the humanoid robot is determined, and a target constraint condition in the form of a Lyapunov function is established to ensure the stability of the robot system. Subsequently, the expected auxiliary force and the target constraint condition are fed into a preset solver to calculate the robot joint control command and the target auxiliary force. Finally, based on the joint control command, the humanoid robot is driven to apply a lifting action to the user, and the target auxiliary force is used to complete actions such as getting up, standing, and walking on flat ground. In this way, this application can perceive human motion and interaction force in real time, accurately estimate human dynamic state, and ensure the stability and controllability of the robot assistance process by using Lyapunov constraints under the premise of meeting the human body's force tolerance limit. It can adaptively output appropriate auxiliary force, safely provide users with multi-scenario action assistance, and avoid the problem of excessive auxiliary force causing human discomfort or insufficient force failing to provide effective assistance. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0017] Figure 1 A flowchart of a humanoid robot-based human motion assistance method provided for this application; Figure 2 A schematic diagram of a specific force-transmitting shoulder strap provided in this application; Figure 3 This application provides a schematic diagram of a specific humanoid robot holding strap lifting aid; Figure 4 This application provides a specific diagram illustrating assistance in getting up; Figure 5 A schematic diagram of a specific sequence of movements for assisting in getting up is provided in this application; Figure 6 A specific standing aid diagram provided for this application; Figure 7 A side view diagram illustrating a specific method for assisting in getting up, as provided in this application; Figure 8 A side view diagram illustrating a specific method for assisting walking on flat ground, as provided in this application; Figure 9 A schematic diagram of a human mobility aid device based on a humanoid robot provided in this application; Figure 10 This application provides a structural diagram of an electronic device. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] With the deepening of population aging and the continuous growth in demand for daily care, rehabilitation training, and manual labor, providing safe and continuous weight assistance for people with limited mobility or who require physical support has become an important research direction in the field of robot-assisted design. Among related technologies, there have been studies on tagless assistance using wearable devices such as lower limb exoskeletons. These studies design control laws through modular energy shaping control frameworks or by combining human motion and contact information to provide assisted control for different daily activities and joint configurations, and use electromyography (EMG) signals to evaluate muscle responses after assistance. However, such solutions typically use wearable exoskeletons as the assistive carrier, and the assistive force is mainly transmitted through human joints. Therefore, their control laws are difficult to directly apply to assistive devices for independent walking.

[0020] On the other hand, with the development of bipedal humanoid robot technology, using humanoid robots to apply lifting force to a person through their arms to provide weight assistance has become a possible technical path. Unlike wearable exoskeletons, humanoid robots also bear the reaction force of the human body while applying lifting force. The amount of assistance they can provide changes with the robot's own posture, the contact state of the supporting feet, and the relative position of the human and the robot. Therefore, the support force required by the human body must be calculated together with the force that the robot can currently stably apply; otherwise, it is easy to cause discontinuous assistance or the robot itself to become unbalanced. In addition, if the assistance process requires first identifying the human task category such as getting up, standing, or walking before switching the support curve, recognition delays or misclassifications will also affect the continuity of assistance. Existing assistance schemes still have shortcomings in the coordination of assisting force and bipedal balance, coordination when support conflicts occur, and confirmation of assistance transfer. To this end, this application provides a humanoid robot-based human movement assistance scheme that can achieve joint control of assisting force and bipedal stability when the humanoid robot assists human movement.

[0021] See Figure 1 As shown, this embodiment of the invention discloses a human mobility assistance method based on a humanoid robot, which may include: Step S11: Obtain the user's real-time motion state data and the interaction force data between the humanoid robot and the user, and estimate the user's vertical position, velocity and leg support force based on the real-time motion state data and the interaction force data to obtain the estimated value of the user's human body state.

[0022] In this embodiment, real-time motion data includes user center of mass movement, contact information such as foot placement and chair surface contact. The humanoid robot's hands are connected to force-transmitting connection components worn by the user, and the interaction force data is obtained based on force measurements between the humanoid robot's hands and the force-transmitting connection components. Specifically, the user can wear a force-transmitting lumbar support or back strap, see [link to relevant documentation]. Figure 2As shown, the bipedal humanoid robot is positioned behind or slightly to the side of the user, with its hands connected to the left and right lifting points. See the diagram illustrating the humanoid robot's grip on the carrying straps. Figure 3 As shown. The system acquires information on the user's center of mass movement, foot contact, and chair surface contact; it obtains interaction force data through wrist force sensors; and it uses humanoid robot sensors to acquire joint states, inertial measurement data, and left and right foot contact. Wrist forces are uniformly transformed to world coordinates, and the symbols used for human-induced forces and robot reaction forces are consistent.

[0023] It should be noted that in this embodiment, all human-machine contact forces are first transformed to the same ground-fixed world coordinate system, with vertical upward being positive. For continuous time (s); This is the current control sampling number. , These are the previous and next sampling numbers, respectively; To control the sampling period (s). Subscript Indicates the numerical value at that moment, not the multiplication. Superscript For transpose, superscript Find the inverse of the matrix; the first and second time derivatives are found at one and two points above the variable, respectively. min and max take the minimum and maximum values ​​of the listed scalars, respectively; clip performs clipping in the order of "input, lower limit, upper limit"; col vertically concatenates the listed components in order. is the identity matrix of the corresponding dimension in the formula, and 0 is the zero block of the corresponding dimension; It is the Euclidean norm. Weight matrix The square norm of the matrix. A positive definite matrix means that its quadratic form is positive for any non-zero vector; a positive semi-definite matrix allows for zero forms. In this embodiment, the same timestamp is used; control quantities without timestamps are evaluated in the current period.

[0024] In this embodiment, the vertical position and velocity of the user's center of mass and the leg support force are estimated based on real-time motion state data and interactive force data to obtain an estimated value of the user's human body state. The specific process may include: constructing the vertical force relationship of the user's center of mass based on the real-time motion state data and the interactive force data; the vertical force relationship of the center of mass is used to describe the force balance relationship of the user's center of mass; constructing a Kalman filter based on the vertical force relationship of the center of mass and the real-time motion state data, and using the interactive force data as input to filter and estimate the Kalman filter to obtain the estimated value of the human body state; the estimated value of the human body state includes the vertical position and velocity of the user's center of mass and the leg support force.

[0025] Specifically, The height and speed of the human body's overall center of mass. It contributes to the vertical support transmitted from the leg to the sole of the foot. The measured vertical force exerted by the robot on the human body. For the vertical forces already measured in contact with the chair surface, armrests, and other components, the vertical force relationship on the human body is as follows: ; in, The equivalent mass of the assisted human body wearing the connection device is determined by weighing and device mass records. It is a positive value of gravitational acceleration. It is the vertical coordinate of the human body's center of mass relative to the fixed origin of the world coordinate system; Let the vertical velocity of the center of mass be... This represents the vertical acceleration of the center of mass. The position of the center of mass is calculated from the calibrated human body segment mass and posture, and the derivative is obtained through time synchronization and filtering. It is the sum of the vertical ground reaction forces exerted by both feet on the human body, obtained by foot force measurement or estimated by an estimator; It is the vertical resultant force actually applied to the human body by the robot's two hands through the connecting device, obtained by calibrated contact force measurement and coordinate transformation; It is the combined vertical supporting force exerted on the human body by the seat, armrests, and other effective external contacts. The contact sources of these three components are independent. Only when it is confirmed that there are no other supporting contacts is it considered... Existing but unmeasurable contact should render the effective measurement position invalid. It should be noted that the overall center of mass is calculated from the segmented human body model and posture, not directly from the waist position. When unmeasurable additional contact exists, the force balance residual cannot be attributed to the legs.

[0026] It should be noted that the state equation of the Kalman filter is taken as , in a cycle Sampling is used to model short-term support changes as process noise. ; ; ; ; in, For the first A column vector of the real human state at each sampling time, with three components. , , The order is: vertical position of the center of mass, velocity, and vertical resultant force on the soles of the feet; This indicates the state at the next moment. This is the net vertical input excluding the reaction force from the sole of the foot. , yes , The synchronous sampled value. It is a three-dimensional zero-mean discrete process noise, with the three components having the same unit as the corresponding state components, covering discrete approximation and changes in foot force. It is a 3×3 state transition matrix. It is a 3×1 input matrix; both are expressed according to the formula. and structure. It is the square of the sampling period; the matrix contains , The elements are responsible for the conversion of velocity integral and force to acceleration, respectively.

[0027] When plantar force is measured, the observation is as follows: , Select the first and third components of the state; among them, the observations It is a 2×1 column vector; The height of the center of mass is observed by the sensor and the human body segmentation model. It is the load-bearing measurement given by the plantar force measurement; obs means observation rather than estimation. It is a 2×3 observation matrix, with the first row being (1,0,0) and the second row being (0,0,1), used to select altitude and foot force from the state. Kalman update is used: ; ; ; ; ; in, This is a state estimate based on the fusion observations from the previous cycle; This is a prediction estimate prior to the fusion observations in this cycle; This is an updated estimate based on the fused observations for this period. The superscript minus sign here indicates "prediction phase". This represents the measured net input from the previous cycle. , , These are the 3×3 state error covariances after the previous cycle update, after the current cycle prediction forward propagation, and after the current cycle observation update, respectively; the unit of the (i,j)th element is the product of the units of the i and jth state components. The effective process noise covariance for this period is (3×3). To observe the noise covariance (2×2), the height diagonal element is in m², the force diagonal element is in N², and the cross element is in m·N. For a 3×2 Kalman gain, the observation residuals will be... Converted into state correction quantities. In covariance update. It is a 3×3 identity matrix; the inverse matrix acts on the 2×2 observation residual covariance, and its invertibility must be guaranteed. The initial state and initial covariance are set by the synchronous effective observations and independent calibration errors at startup.

[0028] It should be pointed out that, The process and measurement covariances are set independently by calibration; force measurement noise is... Incorporate process covariance. Update only when time is synchronized, measurements are valid, and residuals are within calibration range. Freeze capability-related updates when contact is missing or covariance is too large. Where Var represents variance; This represents the net input measurement error variance. This is the contribution to the 3×3 covariance mapped to the state. This item only includes valid values. Once, do not add repeatedly within the predictive formula. If there is insufficient ground force, you can revert to height observation, but observability, delay, and estimation error must be verified separately. If the input error is significantly correlated with the observation error, an implementation with cross-covariance should be used and re-validated.

[0029] Understandably, there is an acceptable upper limit to support. The data is derived from independent posture-related calibration and conservative margins. Independent calibration records different postures, known auxiliary quantities, and plantar load under reliable external support and supervision. The acceptable rather than maximum load level is determined by the training program. The lower bound and effective range are saved by posture zone. This is the "conservative upper limit of the allowable load on the sole of the foot" under the current posture zone, which is the preset upper limit of the acceptable support force for the human body: it is obtained by subtracting an uncertainty margin from the independently calibrated acceptable load level. The posture zone, calibration value, conservative margin, and effective range are saved according to the configuration of the assisted person.

[0030] Furthermore, the human state estimate can also include a continuous motion reference, using a first-order filtered value of the human body's vertical velocity. The reference acceleration limit is obtained by differential calculation: ; ; in, , These are the vertical reference velocities of the centroid for the current and previous cycles, respectively. This is the current estimated speed of the filter. is a dimensionless low-pass coefficient, ranging from 0 to 1 (excluding 0). This is the reference acceleration obtained after differential limiting of the reference velocity. The upper limit of the allowable reference acceleration amplitude, This is the lower limit. To start the reference speed, This is an estimate of the startup speed. ,initialization This reference only follows low-frequency movement trends and does not determine whether one is standing up or sitting down. Required outputs include... With valid bits. for The element in the third row and third column is the variance of the plantar bearing capacity estimation error; its square root is the corresponding standard deviation. The valid bit is a Boolean flag output by the module, indicating whether the time synchronization, contact observation, and estimation error meet the configuration requirements. Automatic force reduction will not be activated if a failure occurs.

[0031] Step S12: Based on the estimated human body state and the user's corresponding preset acceptable human support force upper limit, determine the expected auxiliary force applied by the humanoid robot to the user, and construct a target constraint condition expressed in the form of a Lyapunov function to constrain the stability of the humanoid robot; wherein, the construction process of the target constraint condition is as follows: based on the current joint state and foot contact state of the humanoid robot, determine the actual task output of the humanoid robot and the target task output corresponding to the foot contact state; wherein, the task output is the base position and posture of the humanoid robot; construct the task output error state between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; construct a Lyapunov function based on the task output error state, and construct the target constraint condition according to the derivative of the Lyapunov function along the task output error state.

[0032] In this embodiment, the expected auxiliary force applied by the humanoid robot to the user is determined based on the estimated human body state value and the user's corresponding preset acceptable human support force upper limit. The specific process may include: determining the lower bound of the leg support force based on the leg support force and the estimation error variance corresponding to the leg support force; comparing the sum of the lower bound of the leg support force and the preset single-cycle allowable bearing increment with the preset acceptable human support force upper limit, and taking the smaller value as the target leg support amount that the user can bear; and calculating the expected auxiliary force applied by the humanoid robot to the user based on the user's mass and the target leg support amount.

[0033] Specifically, the formula is as follows: ; ; ; in, This is a conservative lower bound for the current plantar load, derived from the estimated mean. minus Take the non-negative value after multiplying the standard deviation. This is a dimensionless conservative coefficient, set by the error calibration. The plan specifies the amount of pressure the human body can withstand on the sole of the foot during this cycle, while not exceeding... and ; This is the single-cycle allowable increase relative to the conservatively already undertaken amount, i.e., the preset single-cycle allowable increase. For the desired assist force, This indicates a "demand candidate," not the optimal value; this quantity is supported by mass, reference acceleration, and other actual contact parameters. and planned undertaking volume The result is obtained by subtraction. It may fall outside the robot's feasible range, therefore it cannot be directly used as an execution instruction. To calibrate the margin factor, This represents the allowable increase in autonomous commitment per cycle. No commitment is increased at low confidence levels; if there is no independent calibration or valid contact, the branch exits and a validated fixed support setup is adopted.

[0034] In this embodiment, a target constraint condition, expressed in the form of a Lyapunov function, is constructed to constrain the stability of the humanoid robot. The specific process may include: determining the actual task output of the humanoid robot and the target task output corresponding to the foot contact state based on the current joint state and foot contact state; wherein the task output is the base position and posture of the humanoid robot; constructing a task output error state between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output and the derivative of the error; constructing a Lyapunov function based on the task output error state, and constructing the target constraint condition according to the derivative of the Lyapunov function along the task output error state.

[0035] Specifically, stability constraints are established for the local task tracking error of the humanoid robot under the current contact conditions. The task output is then retrieved. To verify the controllable base position and local attitude components under these contact conditions, reference is used. It is generated from a constrained following reference; the reference is at least second-order continuous, and its derivative is determined before the current cycle is solved. The construction definition of the task output error state is as follows: ; ; ; ; ; ; in, It is the selected d-dimensional robot task output column vector, which includes the base or upper body position and local attitude components selected in the configuration; Output the dimension for the task. This is the same-dimensional target trajectory used as a candidate reference. The task components are converted according to the saved scale and then used for calculation. For task error, Its time derivative; This represents the 2D error state of the two components joined sequentially. It is its time derivative. It is a d×(n+6) task Jacobi. This is the time derivative along the current motion; It is the second-order time derivative of the reference trajectory. The nominal error acceleration in d dimensions is calculated from the current Jacobian, the decision acceleration, and the reference acceleration. The state matrix of the 2d×2d dual integrator is... The input matrix is ​​a 2d×d matrix with non-zero unit blocks. It is d×d. The residual perturbation in the 2D error state derivative covers model, execution, and discrete hold-up errors, with each component relating to... The corresponding components are in the same unit. For the task Jacobi, This represents the model and execution error after being normalized to a uniform scale. Each task component is normalized according to the saved scale, and the pose is only used within the calibrated local coordinate range.

[0036] Furthermore, the selection makes Feedback gain of the Hurwitz matrix Given Offline solution of Lyapunov equations: ; ; in, For the d×2d feedback gain matrix, offline selection is performed to make... The real parts of the eigenvalues ​​are all negative (Hurwitz condition). The specified 2d×2d symmetric positive definite error penalty matrix; Let be the same-dimensional symmetric positive definite matrix obtained from the listed Lyapunov equations. , With state estimator , Irrelevant. This is the scalar quadratic Lyapunov function for the current error state. The normalization scale and the values ​​of each matrix must be saved together.

[0037] Subsequently, the target constraints, namely the CLF (Control Lyapunov Function) constraints, are calculated each cycle based on the measured conditions. After adding its derivative coefficients, it is constructed as follows: ; in, It is the perturbation vector under the adopted error coordinate scale. The upper bound of the norm is a nonnegative scalar; It is the Euclidean norm of the product of a matrix and a state. The required Lyapunov descent rate (s) - ¹); It is the non-negative descent condition relaxation amount optimized per cycle, with the unit being V, which is the weighted error unit per second. It is the upper limit of allowable relaxation for the same unit. It is a robust margin adopted under the above perturbation norm assumption. The perturbation assumptions used within the working domain; For the rate of decrease, offline can be no greater than Determine the value of slack and verify the feasibility under constraints. The penalty is applied to the objective function and recorded. for The smallest eigenvalue, for The largest eigenvalue. Its ratio is used for selection under the fixed error coordinates and time scale. The feasibility of the constrained system must also be examined. and This corresponds to two different scenarios: strictly meeting the descent conditions and using relaxation.

[0038] It should be noted that when the disturbance bound holds, the constraints remain feasible, and there is no relaxation, the above formula provides the descent condition for the selected error within the current continuous contact interval; when bounded relaxation exists, the conclusion is the residual error bound. This condition does not prove the stability of the human body's own dynamics, nor does it cover the internal dynamics of the robot not included in the output. Offline, the internal dynamics, feasible working domain, and sampling implementation must be checked. Foot-changing impacts are not automatically covered by the continuous-time inequality; the contact constraints and feasible domain should be re-examined according to the measured state after contact; unverified transitions should not enter the normal auxiliary process. Human body forces, robot contact, and actuator boundaries are still treated as separate hard constraints.

[0039] Step S13: Input the desired auxiliary force and the target constraint into a preset solver to solve for the joint control commands and target auxiliary force of the humanoid robot.

[0040] It should be noted that the output from the human body side represents the auxiliary requirements to be met; the actual force exerted by the hands must be solved in conjunction with the balance of the feet. Let wL and wR be the six-dimensional forces exerted by the robot on the human body by the left and right hands, and fL and fR be the contact forces exerted by the ground on the robot's left and right feet. All quantities are transformed to the same world coordinate system. The vertical resultant force of the hands for tracking the target, the lateral resultant force, and the torque around the human pelvis are all limited.

[0041] In this embodiment, before inputting the desired assist force and target constraint into the preset solver, the method further includes: determining the lower limit of the real-time assist force corresponding to the user; the lower limit of the real-time assist force is the minimum assist force that the humanoid robot should provide to the user under the user's current posture and speed; determining the lower bound of the target assist force based on the maximum value of the lower limit of the real-time assist force and the preset minimum allowable assist force corresponding to the humanoid robot; the preset minimum allowable assist force is the minimum vertical lifting force allowed by the force-transmitting connection component; determining the upper bound of the target assist force according to the preset maximum allowable assist force corresponding to the user; the preset maximum allowable assist force is the maximum vertical lifting force allowed by the user and the force-transmitting connection component; and determining the solution range of the target assist force according to the lower bound and the upper bound, so that the solution range, the desired assist force, and the target constraint are input into the preset solver.

[0042] Specifically, the lower limit of real-time assist force The calculation formula is: ; in, This represents the lower bound of the vertical acceleration allowed under the current human posture and velocity envelope, with "low" indicating the lower bound label. This serves as a conservative lower bound for the support that other effective external contacts can sustain within this cycle. If contact may disappear, the seat support in the previous frame is not considered continuously available. This lower bound assumes that the autonomous capacity is maintained within the calibrated range and is an operational boundary rather than a guarantee of human capability.

[0043] The solution range constraint for the target auxiliary force is: ; ; in, The minimum vertical lifting force allowed by the device. The upper limit of vertical force allowed jointly by the user and the connecting device is uniformly denoted as the state machine output. That is, when force reduction is allowed, the confirmed baseline force is subtracted by one step size. The lower bound (N) of the auxiliary force output by the force reduction state machine in the current control cycle; gate is the state machine gating label. The vertical auxiliary force target was issued in the previous control cycle. The upper limit of the rate of change of the auxiliary force is configured separately; this rate limit is calibrated separately from the upper limit of the feasible force determined by attitude and foot contact. These are different quantities; the rate limit multiplied by The following is the allowable target force variation amplitude for a single cycle.

[0044] It should be noted that before inputting the desired auxiliary force and the target constraint into the preset solver, the process further includes: decomposing the upper body control of the humanoid robot into vertical control and horizontal control; generating a compliance force target based on a preset spring damping model in the horizontal direction; the compliance force target is used to keep the humanoid robot compliant in the horizontal direction; and inputting the compliance force target, the desired auxiliary force, and the target constraint into the preset solver; wherein the desired auxiliary force is an optimization target in the vertical direction, and the compliance force target is an optimization target in the horizontal direction.

[0045] Specifically, in the vertical direction, the position-type execution interface can use positive gain admittance to adjust the vertical reference of the hand: ; in, The height is used as a reference for vertical hand control. The hand reference is marked here, not the body's center of mass; for The update speed is used to form the next hand reference through sampling and integration. The combined vertical target assist force of both hands is equal to the optimized output described later at the sampling time. ; After sampling the actual auxiliary force at the same moment, that is . The admittance gain from positive force error to velocity, in m / (N·s); The upper limit of the vertical reference velocity amplitude for the hand is indicated by the negative sign, which indicates the lower limit. The connection geometry must be calibrated to raise the hand to increase the lifting force; mechanisms with opposite signs should be transformed accordingly.

[0046] For horizontal tasks : ; in, The three-dimensional position of the selected upper body control task point. For reference positions of the same task point; , This is for both actual and reference speeds. The task point and its mapping to the combined force of both hands are fixed in the interface configuration and cannot be substituted with the human body's center of mass. It is a 3×3 horizontal stiffness matrix. The horizontal damping matrix is ​​3×3 and is positive definite within the controlled horizontal subspace. Position and velocity errors are projected onto the horizontal plane before entering the gain matrix to avoid vertical errors generating lateral force targets through matrix intersection terms. It is a three-dimensional unit vector pointing vertically upwards in the world coordinate system, with coordinates (0,0,1); It is a 3×3 horizontal projection matrix, here It is a 3×3 identity matrix. It is the three-dimensional vector of the resultant force of the horizontal compliant task, with its vertical component being zero. cmd represents the task objective, and the final executable force must still satisfy the hard constraints of the whole-body optimization. The matrix is ​​positive definite, and the horizontal force has an independent upper limit; the force target and the vertical target are fed into the solver together. Human body reaction forces are used for measurement feedback and dynamics, and are not directly added back to the force command. Joint torques are uniformly generated by whole-body control, avoiding the repeated application of torques by impedance control and balance control.

[0047] It should be noted that when using the torque execution interface, the above joint solution is the main implementation method; the position type admittance interface is only used as an alternative execution method for further verification, and its tracking error and delay must be reintroduced into the model before the CLF conditions can be used; the measured lifting force, rather than the target force, is returned to the human body estimator to form the known input for the next cycle.

[0048] In this embodiment, the desired assist force Instead of being directly assigned to the hands, the decision vector is entered into the solver along with the CLF constraints. The state, contact set, and reference derivative are fixed for each cycle, and the joint decision vector is: ; Under the following constraints, minimize the following objective function for the above joint decision vector: ; ; ; ; ; Where st represents the joint decision vector, which must satisfy all subsequent terms simultaneously. The components are assembled in the following order: generalized acceleration, joint torque, six-dimensional force of the left foot, six-dimensional force of the right foot, six-dimensional force of the left hand, six-dimensional force of the right hand, vertical resultant force, and CLF relaxation. The dimension is 2n+32. This is the dimensionless decision vector obtained by dividing each component by the corresponding scale stored in the configuration. The positive weights of the regularization terms. For the weight of demand force tracking items, The weights of the auxiliary force smoothing term for adjacent periods, The CLF relaxation penalty weights; all three are positive scalars. Let be the weight matrix of the d×d error acceleration feedback term. This is an n×n weight matrix for torque variation terms. The weight matrix for the horizontal resultant force tracking term is 3×3, and all weights are symmetric positive semi-definite matrices. The weights are used to convert the quadratic terms of different physical quantities to the same cost scale, and the values ​​and units are saved with the normalization configuration; it is not possible to directly compare the unit errors without scale processing. The vertical auxiliary force target was issued in the previous control cycle; This is the joint torque command from the previous cycle. This is the error acceleration residual relative to the nominal stable feedback. exist The central concept refers to the combination of the six-dimensional forces of the left and right hands; its specific mapping is as follows: . Extract a 3×6 matrix, with the first three columns being a 3×3 identity matrix. The last three columns are zero, used to take only the translational force component in the six-dimensional force. Extracting force components from six-dimensional forces. The horizontal projection of the combined force of both hands. This is the vertical unit vector in the world coordinate system. The weight matrix is ​​positive semi-definite, and the scalar weights are positive. The decision vector is normalized according to the preservation scale. The coefficients are regularization factors. The friction cone is a conservative inscribed polyhedron, with the contact geometry and Jacobian fixed in the current period. The CLF constraint is affine for the decision variables. Hard constraints also include the lateral forces of both hands, the resultant torque around the human pelvis, joint torques, and the one-cycle predicted joint position and velocity boundaries. The connection device model must constrain the compatibility between hand forces and motion: for tension connections, a local elasticity and damping model along the connection direction can be used in the calibration interval to predict the tension of the next cycle using the current elongation, relative velocity, and decision acceleration, and constrained to non-negative values; the remaining torque degrees of freedom are constrained according to the actual interface. Joint predictions are updated using the second-order position and first-order velocity under the current state; model coefficients, connection pre-tensioning range, and prediction period are saved with configuration.

[0049] In the solution results As The joint torques, along with those obtained in the same solution iteration, are delivered to the execution module. The available auxiliary range on the robot side is determined by this joint feasible set, no longer calculated by an independent scalar trimmer and then executed by another controller. The initial target is initialized with measured forces; the module records the required force, execution target, CLF relaxation, solution status, and actual force deviation. If the calculation time limit is exceeded, hard constraints are infeasible, or the error exceeds the calibration range, an unverified solution is not sent; instead, the pre-verified support maintenance and supervision takeover process is initiated. The auxiliary force target issued after successfully solving and passing the validity check in this cycle is equal to the resultant force component of the optimal solution in this iteration. It is related to the human body's needs. Sensor measured values There are three different quantities.

[0050] It is understandable that the whole-body dynamics constraints are established based on the robot's dynamics equations: ; in, Includes a floating base. Select the drive joint. This corresponds to the contact Jacobian. Constraints include the upper limit of joint torque, joint range, unidirectional contact of the foot, friction cone, range of the center of pressure of the foot, and zero acceleration constraint of the supporting foot.

[0051] The humanoid robot uses a floating base model. Let... To drive the number of joints, The generalized position is composed of the local position of the base, attitude coordinates, and joint angles. , These represent the corresponding generalized velocity and acceleration; the dimension in the local coordinate system is... The translation components are in units of m, m / s, and m / s², respectively, while the rotation components are in units of rad, rad / s, and rad / s². The actual integral of the rotation is still implemented according to the generalized position integral described later. The generalized inertia matrix is ​​(n+6)×(n+6). The bias terms are (n+6)×1, including gravity, Coriolis, and centrifugal forces, both of which are calculated from the robot's mass, inertia, and current state. The driving torque for the joint is n×1 (N·m for a rotary joint). For an n×(n+6) driving selection matrix, make Enter the generalized force component corresponding to the drive joint. (Subscript) Enumerate the two interfaces, index Enumerate the currently active foot contacts; , These are the 6×(n+6) geometric Jacobians of the corresponding interfaces. Their transpose maps the six-dimensional force of the interface to a generalized force. The six-dimensional force exerted on the human body by the i-th hand interface of the robot consists of three force components and three torque components in sequence. Let J represent the six-dimensional forces of the same type exerted by the environment on the j-th foot contact. Each torque is relative to its corresponding interface reference point, and the direction is expressed in the same world coordinate system. The Jacobian and force must be conjugate. The hand term in the dynamics is negative, representing the reaction force from the human body on the robot. , For left and right hand interface quantities, , These are measurements at the left and right foot interfaces; the subscripts L / R here are simply left and right labels, and are related to the resultant force scalar of the human foot sole. Different. The contact force of a non-contact foot is fixed at zero. Bipedal following generates a constrained base speed based on the human body's horizontal position and the robot's relative distance error. The planner selects a landing point only within a validated reachable area; during foot contact switching, the available lifting force is determined by the constraints of the currently effective supporting foot. The controller's maximum feasible force... As the pose and robot foot contact set Update. If the required force is not feasible, stop stepping or switch to a proven double-support position and request supervision. Do not disrupt your balance in an attempt to follow the body. Represents a given robot pose and effective foot contact set At the same time, the upper limit of the vertical auxiliary force that can be achieved under the same dynamic and safety constraints; This is the contact set. This upper limit is used to explain the feasibility; the actual instructions are generated by joint optimization as described later and are not considered as independent pruners free from constraints. This notation omits the robot velocity, connection geometry, candidate references, and constraint parameters fixed in this cycle. When an explicit calculation of the upper limit is required, the vertical resultant force is maximized, and the corresponding dynamics, contact, stability, human forces, and actuator hard constraints are applied; if the problem has no feasible solution, no usable upper limit is given.

[0052] In addition, the joint solver adds hard constraints: ; in, The vertical resultant force of the two hands in this cycle is the decision variable for the joint solver. This inequality requires that the optimization candidate must not be lower than... Only after the solution is successful will... Used as an implementation reference.

[0053] Therefore, when the support required by the human body conflicts with the robot's capabilities, simply reducing the lifting force cannot yield a mathematically feasible solution. The reference coordination module checks three validated reference candidates in a fixed order: maintaining the current following reference; smoothly reducing the horizontal following speed; and performing a restoration of the dual-support reference when the landing is reachable and the transition has been validated. Each candidate has its current-cycle reference and its derivative fixed, generating CLF coefficients and solving the same whole-body optimization problem. Deceleration time and acceleration boundaries are limited by a preset transition trajectory, disallowing the base speed from being directly set to zero.

[0054] The reference inspection uses a fixed step size. and fixed length The rolling prediction parameters are saved with the robot configuration. For each reference candidate, starting from the same measured state, the dynamics and CLF coefficients are recalculated at each prediction node to solve the following whole-body optimization: ; ; ; ; in, The node time step for rolling prediction can be different from the control period. ; The prediction step number (a positive integer). To predict the node index, from 0 to... . , To predict the generalized position and velocity of the robot at the node, The generalized acceleration obtained by optimizing this node; subscript Indicates the next prediction node, with units as described above. , , The corresponding components are consistent. , , These represent the three-dimensional position, velocity, and acceleration of the human reference point at the prediction node, with the superscript h indicating the human body. , This is the updated next node value. This reference point is selected and fixed according to the connection geometry, and does not default to the global centroid. The tested case is derived from the current state estimate and calibration uncertainty interval. The square of the prediction step size; the symbol ⊕ denotes the generalized position integral including base rotation updates. Node 0 is initialized with the current synchronized measured or estimated state. This represents the generalized position integral, with the joint and translation components added together, and the base rotation updated with an exponential mapping; The position, velocity, and acceleration of the human body reference point are used. Human body acceleration within the calibration upper and lower bounds is taken as the endpoint case; for other human contact cases, the endpoints of the effective force range are taken; the same candidate reference is used for all cases. Endpoint checking is a finite case screening. For tension connections, predicted elongation and relative velocity are substituted into the calibration spring-damped model to check tension and human-machine distance; candidates are rejected if they exceed the model's effective range.

[0055] Each node checks the lower support limit, torque, contact, upper CLF relaxation limit, and distance boundary; the deceleration waiting state is locked within the prediction window, and confirmation of success is not predicted if it has not yet occurred. A candidate is rejected if any situation is infeasible, the ground reset model is not calibrated, or the calculation time limit has been exceeded. The ground reset node updates its speed using the impact reset model calibrated by this platform; it cannot directly skip contact switching and continue using continuous integration. The first candidate that passes is selected in a predetermined order, and only the first control cycle is executed; prediction is recalculated in the next cycle. If all three candidates fail, external support or supervisory takeover is requested; it is not claimed that it can independently maintain support even in an infeasible state.

[0056] Step S14: Based on the joint control command, control the humanoid robot to apply a lifting action to the user so as to provide movement assistance to the user according to the target assistive force; the movement assistance includes standing assistance, standing assistance, and flat walking assistance.

[0057] In this embodiment, the humanoid robot can be controlled to apply a lifting force to the user based on joint control commands, so as to assist the user's movement according to the target assistive force.

[0058] It should be noted that after applying a lifting force to the user, a force reduction operation and support transfer confirmation are also included. Force reduction employs a state machine that allows one force reduction, waits for support confirmation, and then re-allows it. Before initiating force reduction, a valid baseline window is saved. The average measured auxiliary force, plantar load, other contact forces, and center of gravity acceleration are used; activation only occurs when the human contact assembly is stable and the measurement is valid. The total step length of a single force reduction does not exceed [a certain value]. The target can be smoothly completed across multiple control cycles by limiting the rate of change, but the step size cannot be re-accumulated in each cycle. The lower bound of this target is set. Latch and enter the waiting state. The effective baseline time window before force reduction, The equal-length confirmation time window is set after the load reduction is completed and stabilized; the window length, minimum number of valid samples, and stabilization waiting time are determined in the deployment configuration. The maximum allowable total force difference for a single force reduction event, relative to the sampling period. Irrelevant; The minimum target force locked during the execution and confirmation period of this event must not be reduced periodically.

[0059] It should be noted that after the force reduction execution reaches the tracking tolerance and stabilizes, an equal-length confirmation window is used. The window average is defined as follows: ; ; ; ; in, , This represents the average of the actual assist forces applied to both the front and rear windows. , The average value of plantar force observed in the front and rear windows; , This represents the average value of the remaining contact supports in the front and rear windows. The vertical acceleration of the center of mass is estimated and obtained from synchronous motion measurements or filtered velocity differences. , It is the mean of the estimate over the two windows. This is the difference between the actual assist force before and after force reduction; a positive value indicates that the robot is reducing force. The difference between the amount of force applied to the sole of the foot and the amount applied before force reduction is calculated; a positive value indicates increased leg support. The difference between the previous and subsequent values ​​for the remaining contact supports; This is the difference between the mean acceleration of the center of mass and the mean acceleration of the second window. Δ represents the difference between the two windows, not the multiplication by the control period.

[0060] The following combined verification method is used, rather than simply determining force balance at a single moment: ; ; ; ; in, This represents the allowable absolute error of the window difference force balance residual; for The error bound; for The error bound; for The error bound; for The error bounds are all non-negative quantities obtained from calibration. The combined residuals introduced by force measurement, synchronization, and mass and acceleration estimation should be covered. The required reduction ratio of force actually borne by the sole of the foot (dimensionless, 0 to 1, excluding 0). This represents the allowable amplitude of acceleration variation between windows; This represents the allowable amplitude of variations in the remaining contact support. Vertical lines indicate the absolute value of the scalar. For the calibration margin of synchronous and two-window measurement errors; To determine the actual force reduction ratio borne by the legs, and Limit the influence of inertia and other contact changes on the judgment. Parameters must be calibrated jointly: large acceleration tolerances cannot mask human body sinking, nor can confirmation be triggered by force reduction below the measurement resolution. The first check examines the consistency of force balance, the second checks that the leg load has indeed increased, and the latter two checks exclude obvious changes in motion or situations where armrests or chair surfaces take over support.

[0061] Only when a predetermined number of consecutive valid windows meet the above conditions, attitude, and velocity envelope requirements, and no one reports discomfort, will the state be reset to allow the next reduction in force, and a baseline will be established using the new measured window. (Waiting period) The system does not update downwards with each cycle's target; if the assisted recovery exceeds the tracking tolerance, the current force reduction confirmation is invalidated, and a new effective baseline is established. Further force reduction is prohibited in case of timeout, contact change, missing measurement, or failure of any condition; the feasible support must be resolved, and takeover requested if necessary. Automatic force reduction is disabled when effective plantar measurements are missing. This rule confirms the support transfer under current conditions and does not identify maximum muscle strength; recovery assistance is also subject to robot feasibility limitations. Latched data is retrieved during execution and waiting periods. When the initial force is not yet confirmed, the measured initial force is used. Its update only occurs during the aforementioned state transitions, not in every control cycle.

[0062] In one specific implementation, the user gets up from the chair and moves forward. As the chair surface force gradually decreases and the body's center of gravity shifts upward, the estimator directly uses the new contact forces and motion observations to calculate the support state, without waiting for the "sitting / standing" label. The user continues to move forward, and the bipedal robot follows based on the relative position error, synchronously limiting the available lifting force when supporting on one leg. If the user is about to enter single support after getting up, and the current reference cannot simultaneously meet the lower limit of human support and robot constraints, then the system first checks verified references such as smooth deceleration and restoration of dual support. Execution is only performed if the lower limit of support and human-robot distance checks are passed; the lifting force is not directly reduced. Subsequently, when planning to reduce the assistance, after each force reduction, the system waits for joint confirmation of the foot's load increment, acceleration, other contact changes, and force balance consistency before deciding whether to continue; if no feasible reference can be found, external support or supervisory intervention is requested. The entire process is completed by the same estimation, CLF constraint construction, joint solution, and execution feedback loop.

[0063] For applications where humanoid robots provide human mobility assistance through their arms and wearable devices, see [link to relevant documentation]. Figure 4 , Figure 5 , Figure 6 , Figure 7 and Figure 8 As shown, this includes the processes of getting up, standing, and walking on flat ground. Specifically, Figure 4 This is a diagram illustrating assistance in getting up. Figure 5 This is a diagram illustrating the sequence of movements to assist in getting up. Figure 6 This is a diagram illustrating standing assistance. Figure 7 A side view illustration to assist in getting up. Figure 8 A side view diagram illustrating aids for walking on flat ground.

[0064] As can be seen from the above, this embodiment first acquires the user's real-time motion state data and the interaction force data between the humanoid robot and the user. Based on the real-time motion state data and the interaction force data, it estimates the user's vertical position, velocity, and leg support force to obtain the user's human body state estimate. Then, based on the human body state estimate and the user's corresponding preset acceptable human body support force upper limit, it determines the expected auxiliary force applied by the humanoid robot to the user, and constructs a target constraint condition expressed in the form of a Lyapunov function to constrain the stability of the humanoid robot. The construction process of the target constraint condition is as follows: based on the current joint state and foot contact state of the humanoid robot, it determines the actual task output of the humanoid robot and the target task output corresponding to the foot contact state. The task output is the... The base position and posture of the humanoid robot are determined; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint condition is constructed according to the derivative of the Lyapunov function along the task output error state; then, the desired assist force and the target constraint condition are jointly input into a preset solver to solve for the joint control commands and target assist force of the humanoid robot; finally, based on the joint control commands, the humanoid robot is controlled to apply a lifting action to the user, so as to provide action assistance to the user according to the target assist force; the action assistance includes standing assistance, standing assistance, and flat walking assistance. As can be seen from the above, this embodiment first collects real-time motion state data of the user and interaction force data between the humanoid robot and the user, and estimates the vertical position, velocity, and leg support force of the user's center of mass to obtain a human body state estimate. Then, combined with the human body state estimate and the preset upper limit of acceptable human support force, the expected auxiliary force applied by the humanoid robot is determined, and a target constraint condition in the form of a Lyapunov function is established to ensure the stability of the robot system. Subsequently, the expected auxiliary force and the target constraint condition are fed into a preset solver to calculate the robot joint control command and the target auxiliary force. Finally, based on the joint control command, the humanoid robot is driven to apply a lifting action to the user, and the target auxiliary force is used to complete actions such as getting up, standing, and walking on flat ground. In this way, this embodiment can perceive human body movement and interaction force in real time, accurately estimate human body dynamic state, and ensure the stability and controllability of the robot assistance process by using Lyapunov constraints under the premise of meeting the human body's force tolerance limit. It can adaptively output appropriate auxiliary force, safely provide users with multi-scenario action assistance, and avoid the problem of excessive auxiliary force causing human discomfort or insufficient force failing to provide effective assistance.

[0065] Accordingly, see Figure 9As shown in the illustration, this application also provides a human mobility assistance device based on a humanoid robot, which may include: The motion state data acquisition module 11 is used to acquire the user's real-time motion state data and the interaction force data between the humanoid robot and the user, and to estimate the user's center of mass position, velocity and leg support force based on the real-time motion state data and the interaction force data, so as to obtain the estimated value of the user's human body state. The target constraint construction module 12 is used to determine the expected auxiliary force applied by the humanoid robot to the user based on the estimated human body state and the user's corresponding preset acceptable human support force upper limit, and to construct target constraint conditions expressed in the form of a Lyapunov function to constrain the stability of the humanoid robot. The construction process of the target constraint conditions is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined; wherein, the task output is the base position and posture of the humanoid robot; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint conditions are constructed according to the derivative of the Lyapunov function along the task output error state. The joint control command determination module 13 is used to input the desired auxiliary force and the target constraint into a preset solver to solve for the joint control command and target auxiliary force of the humanoid robot. The action assistance module 14 is used to control the humanoid robot to apply a lifting action to the user based on the joint control command, so as to provide action assistance to the user according to the target assistance force; the action assistance includes standing assistance, standing assistance, and flat walking assistance.

[0066] In some specific embodiments, the humanoid robot's hands are connected to a force-transmitting connection component worn by the user, and the interaction force data is obtained based on force measurements between the humanoid robot's hands and the force-transmitting connection component.

[0067] In some specific embodiments, the motion state data acquisition module 11 may include: The vertical force relationship construction unit of the center of mass is used to construct the vertical force relationship of the user's center of mass based on the real-time motion state data and the interactive force data; the vertical force relationship of the center of mass is used to describe the force balance relationship of the user's center of mass; The human body state estimation unit is used to construct a Kalman filter based on the vertical force relationship of the center of mass and the real-time motion state data, and to filter and estimate the Kalman filter using the interaction force data as input to obtain the human body state estimation value; the human body state estimation value includes the vertical position and velocity of the user's center of mass and the leg support force.

[0068] In some specific embodiments, the target constraint construction module 12 may include: The leg support force lower bound determination unit is used to determine the lower bound of the leg support force based on the leg support force and the estimation error variance corresponding to the leg support force; The target leg support amount determination unit is used to compare the sum of the lower bound of the leg support force and the preset single-cycle allowable increment with the preset human body acceptable support force upper limit, and take the smaller value as the target leg support amount that the user is allowed to bear; The expected assistance force determination unit is used to calculate the expected assistance force applied by the humanoid robot to the user based on the user's mass and the target leg support amount.

[0069] In some specific embodiments, the humanoid robot-based human mobility assistance device may further include: The real-time assistance force lower limit determination module is used to determine the real-time assistance force lower limit corresponding to the user; the real-time assistance force lower limit is the minimum assistance force that the humanoid robot should provide to the user under the user's current posture and speed. The target assistance force lower bound determination module is used to determine the lower bound of the target assistance force based on the maximum value of the real-time assistance force lower limit and the preset minimum allowable assistance force corresponding to the humanoid robot; the preset minimum allowable assistance force is the minimum vertical lifting force allowed by the force-transmitting connection component; The target assist force upper limit determination module is used to determine the upper limit of the target assist force based on the preset maximum allowable assist force corresponding to the user; the preset maximum allowable assist force is the maximum vertical lifting force allowed by the user and the force-transmitting connection component. The solution range determination module is used to determine the solution range of the target auxiliary force based on the lower bound and the upper bound of the target auxiliary force, so as to input the solution range together with the desired auxiliary force and the target constraint into the preset solver.

[0070] In some specific embodiments, the humanoid robot-based human mobility assistance device may further include: The orientation decomposition module is used to decompose the upper body control of the humanoid robot into vertical direction control and horizontal direction control; A compliance force target generation module is used to generate a compliance force target in the horizontal direction based on a preset spring damping model; the compliance force target is used to keep the humanoid robot compliant in the horizontal direction. The joint input module is used to input the compliance force objective, the desired auxiliary force, and the objective constraint into the preset solver; wherein the desired auxiliary force is an optimization objective in the vertical direction, and the compliance force objective is an optimization objective in the horizontal direction.

[0071] Furthermore, embodiments of this application also disclose an electronic device, Figure 10 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the human mobility assistance method based on a humanoid robot disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0072] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0073] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0074] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the humanoid robot-based human mobility assistance method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0075] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned human mobility assistance method based on a humanoid robot. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0076] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0077] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0078] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0079] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0080] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A human mobility assistance method based on a humanoid robot, characterized in that, include: The system acquires real-time motion state data of the user and interaction force data between the humanoid robot and the user, and estimates the vertical position, velocity and leg support force of the user's center of mass based on the real-time motion state data and the interaction force data, thereby obtaining an estimated value of the user's human body state. Based on the estimated human body state and the user's corresponding preset acceptable support force upper limit, the expected auxiliary force applied by the humanoid robot to the user is determined, and a target constraint condition, expressed in the form of a Lyapunov function, is constructed to constrain the stability of the humanoid robot. The construction process of the target constraint condition is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined; wherein, the task output is the base position and posture of the humanoid robot; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint condition is constructed according to the derivative of the Lyapunov function along the task output error state. The desired assist force and the target constraint are input together into a preset solver to obtain the joint control commands and target assist force of the humanoid robot. Based on the joint control commands, the humanoid robot is controlled to apply a lifting action to the user, so as to provide movement assistance to the user according to the target assistive force; the movement assistance includes standing assistance, standing assistance, and flat walking assistance.

2. The human mobility assistance method based on a humanoid robot according to claim 1, characterized in that, The humanoid robot's hands are connected to the force-transmitting connection components worn by the user, and the interactive force data is obtained based on the force measurement between the humanoid robot's hands and the force-transmitting connection components.

3. The human mobility assistance method based on a humanoid robot according to claim 1, characterized in that, The process of estimating the user's vertical position and velocity of the center of mass and leg support force based on the real-time motion state data and the interaction force data to obtain the user's estimated human body state includes: Based on the real-time motion state data and the interactive force data, the vertical force relationship of the user's center of mass is constructed; the vertical force relationship of the center of mass is used to describe the force balance relationship of the user's center of mass; A Kalman filter is constructed based on the vertical force relationship of the center of mass and the real-time motion state data. The interactive force data is used as input to filter and estimate the Kalman filter to obtain the human body state estimate. The human body state estimate includes the vertical position and velocity of the user's center of mass and the leg support force.

4. The human mobility assistance method based on a humanoid robot according to claim 3, characterized in that, The step of determining the expected assistive force applied by the humanoid robot to the user based on the estimated human body state value and the user's corresponding preset acceptable human support force upper limit includes: The lower bound of the leg support force is determined based on the leg support force and the variance of the estimation error corresponding to the leg support force; The lower bound of the leg support force and the sum of the preset single-cycle allowable increment are compared with the preset upper limit of the human body's acceptable support force, and the smaller value is taken as the target leg support amount that the user is allowed to bear. The desired assistive force applied by the humanoid robot to the user is calculated based on the user's mass and the target leg support.

5. The human mobility assistance method based on a humanoid robot according to claim 2, characterized in that, Before inputting the desired auxiliary force and the target constraint into the preset solver, the method further includes: Determine the lower limit of the real-time assistance force corresponding to the user; the lower limit of the real-time assistance force is the minimum assistance force that the humanoid robot should provide to the user under the user's current posture and speed. The lower bound of the target assist force is determined based on the maximum value between the real-time assist force lower limit and the preset minimum allowable assist force corresponding to the humanoid robot; the preset minimum allowable assist force is the minimum vertical lifting force allowed by the force-transmitting connection component; The upper limit of the target assist force is determined based on the preset maximum allowable assist force corresponding to the user; the preset maximum allowable assist force is the maximum vertical lifting force allowed by the user and the force-transmitting connection component together; The solution range of the target auxiliary force is determined based on the lower bound and the upper bound of the target auxiliary force, so that the solution range, the desired auxiliary force, and the target constraint are jointly input into the preset solver.

6. The human mobility assistance method based on a humanoid robot according to any one of claims 1 to 5, characterized in that, Before inputting the desired auxiliary force and the target constraint into the preset solver, the method further includes: The upper body control of the humanoid robot is decomposed into vertical control and horizontal control; In the horizontal direction, a compliance force target is generated based on a preset spring damping model; the compliance force target is used to keep the humanoid robot compliant in the horizontal direction. The compliance force objective, the desired auxiliary force, and the objective constraint are input together into the preset solver; Wherein, the desired assist force is an optimization target in the vertical direction, and the compliance force target is an optimization target in the horizontal direction.

7. A human mobility assistance device based on a humanoid robot, characterized in that, include: The motion state data acquisition module is used to acquire the user's real-time motion state data and the interaction force data between the humanoid robot and the user, and to estimate the user's center of mass position, velocity and leg support force based on the real-time motion state data and the interaction force data, so as to obtain the estimated value of the user's human body state. A target constraint construction module is used to determine the expected auxiliary force applied by the humanoid robot to the user based on the estimated human body state and the user's corresponding preset acceptable human support force upper limit, and to construct target constraints expressed in the form of a Lyapunov function to constrain the stability of the humanoid robot. The construction process of the target constraints is as follows: based on the current joint state and foot contact state of the humanoid robot, the actual task output of the humanoid robot and the target task output corresponding to the foot contact state are determined; wherein, the task output is the base position and posture of the humanoid robot; a task output error state is constructed between the actual task output and the target task output; the task output error state is a combination of the error between the actual task output and the target task output of the humanoid robot and the derivative of the error; a Lyapunov function is constructed based on the task output error state, and the target constraint is constructed according to the derivative of the Lyapunov function along the task output error state. The joint control command determination module is used to input the desired auxiliary force and the target constraint into a preset solver to solve for the joint control command and target auxiliary force of the humanoid robot. The mobility assistance module is used to control the humanoid robot to apply a lifting action to the user based on the joint control commands, so as to provide mobility assistance to the user according to the target assistive force; the mobility assistance includes standing assistance, standing assistance, and flat walking assistance.

8. The human mobility assistance device based on a humanoid robot according to claim 7, characterized in that, The humanoid robot's hands are connected to the force-transmitting connection components worn by the user, and the interactive force data is obtained based on the force measurement between the humanoid robot's hands and the force-transmitting connection components.

9. An electronic device, characterized in that, The electronic device includes a processor and a memory; wherein the memory is used to store a computer program, which is loaded and executed by the processor to implement the human mobility assistance method based on a humanoid robot as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the human mobility assistance method based on a humanoid robot as described in any one of claims 1 to 6.