Humanoid robot movement mechanism, control method and equipment and humanoid robot

Through the symmetrically arranged control torque gyroscope and servo motor, combined with the closed-loop controller, the stability problem of the wheel-footed robot in external interference and accelerated motion is solved, and the rapid response and anti-interference ability of the attitude are achieved, ensuring that the robot can perform well in various situations. stable operation under conditions.

CN118848979APending Publication Date: 2024-10-29SHENZHEN SNAIL POWER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411098628.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The wheel-footed robot has weak anti-interference when facing external interference overturning torque, and has poor starting performance when accelerating, unable to stop in an emergency, and difficult to achieve stable attitude control.

Method used

Using a symmetrically arranged control torque gyro and servo motor, through the speed sensor, inclination sensor and steering angular velocity sensor, combined with the speed closed-loop controller, upright closed-loop controller and steering closed-loop controller, the wheel hub motor and the servo motor can be controlled collaboratively to generate mutual interactions. The interference torque is offset to ensure the robot's attitude is stable and it responds quickly.

Benefits of technology

It achieves stable control of the robot's attitude under external interference, quickly eliminates overturning moments, supports rapid acceleration and emergency stop functions, and suppresses vertical vibration during bumps or falls to keep the robot's attitude stable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118848979A_ABST
    Figure CN118848979A_ABST
Patent Text Reader

Abstract

The invention provides a humanoid robot movement mechanism, a control method and equipment and a humanoid robot. The humanoid robot movement mechanism comprises a frame, two control moment gyroscopes, a servo motor, two wheels and hub motors thereof, legs, a speed sensor, a tilt angle sensor, a steering angular velocity sensor, a speed closed-loop controller, a control moment gyroscope closed-loop controller, an upright closed-loop controller and a steering closed-loop controller. The control moment gyroscopes are arranged in bilateral symmetry, are parallel to the vertical direction when the axis of the internal flywheel is balanced, and rotate in opposite directions. The speed closed-loop controller determines a target inclination angle; the vertical closed-loop controller determines the control torque of the hub motor; the steering closed-loop controller determines the correction torque of the hub motor; and the control moment gyroscope closed-loop controller determines the control torque of the servo motor according to the current inclination angle, the mechanical zero point and the target inclination angle. The stable posture control of the robot can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention generally relate to the technical field of humanoid robots, and more specifically, to a humanoid robot motion mechanism and control method, device, and humanoid robot. Background Art

[0002] Humanoid robots are robots that look and behave like humans, designed to mimic human movements, communication, and behavior to bring more convenience to humans. However, despite the great progress made in humanoid robot technology, its balance and motion control are still a major problem to be solved.

[0003] A wheeled-legged robot is a special humanoid robot structure, usually with an upper body and legs similar to those of humans, while the feet are replaced by a wheeled structure. This design enables it to have agile movement and turning capabilities while maintaining a human appearance, but it is also difficult to achieve stable and rapid response of the robot's posture.

[0004] In terms of control algorithms, wheel-foot structures usually use an inverted pendulum control algorithm to achieve the robot's balance, advance, retreat, and steering control, but there are two problems: when there is an external interference overturning torque, the wheel-foot robot needs to swing greatly to maintain balance, and its anti-interference ability is weak; when acceleration and deceleration movements are required, it is necessary to first accelerate in the opposite direction to generate an inclination angle, resulting in poor starting performance and inability to stop suddenly in emergencies. Summary of the invention

[0005] In order to solve the above problems in the prior art, in the first aspect, an embodiment of the present invention provides a humanoid robot motion mechanism, the humanoid robot motion mechanism includes a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, an inclination sensor, a steering angular velocity sensor, a speed closed-loop controller, a control moment gyroscope closed-loop controller, an upright closed-loop controller and a steering closed-loop controller. The two wheels are arranged side by side in the left and right relative to the direction of travel, and the hub motor is used to drive the wheels to travel and turn. The two control moment gyroscopes are installed inside the frame and arranged symmetrically, and the internal flywheel axis is perpendicular to the direction of travel and parallel to the vertical direction in a balanced state, wherein each control moment gyroscope extends two support shafts respectively in the front and back of the direction of travel, and the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions. The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is the same as the direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip in the opposite direction around their respective axes, thereby driving the two control moment gyroscopes to flip in the opposite direction. The leg is installed between the frame and the wheel, and the leg includes a spring shock absorber and / or a joint motor and a leg connecting rod. The speed sensor is used to sense the current speed of the humanoid robot motion mechanism. The tilt sensor is used to sense the current tilt of the humanoid robot motion mechanism. The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism. The speed closed-loop controller is used to receive a speed control command, and determine the target tilt of the humanoid robot motion mechanism according to the target speed specified in the speed control command and the current speed. The upright closed-loop controller is used to determine the hub motor control torque according to the target tilt, the mechanical zero point, and the current tilt. The steering closed-loop controller is used to receive a steering control command, determine the angle error according to the target angular velocity specified in the steering control command and the current steering angular velocity, and determine the hub motor correction torque according to the angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor. The control torque gyro closed-loop controller is used to determine the servo motor control torque according to the current tilt, the mechanical zero point, and the target tilt.

[0006] In some embodiments, the humanoid robot motion mechanism further includes a control moment gyro flip angle sensor and a control moment gyro recovery loop controller. The control moment gyro flip angle sensor is used to sense the current flip angle of the control moment gyro; the control moment gyro recovery loop controller is used to determine the required tilt angle for the control moment gyro to recover according to the current flip angle when the current flip angle exceeds a predetermined flip angle threshold; the upright closed-loop controller is also used to determine the hub motor control torque according to the target tilt angle, the mechanical zero point, the current tilt angle, and the tilt angle required for the control moment gyro to recover.

[0007] In some embodiments, the flywheel rotation speeds of the two control moment gyroscopes are the same, and the flip angles and angular velocities of the two control moment gyroscopes are the same.

[0008] In some embodiments, the humanoid robot motion mechanism further includes a loading platform, and the loading platform is disposed on the top of the frame.

[0009] In a second aspect, an embodiment of the present invention provides a humanoid robot, wherein the humanoid robot comprises a humanoid robot motion mechanism according to any of the above embodiments.

[0010] In a third aspect, an embodiment of the present invention proposes a method for controlling a motion mechanism of a humanoid robot, wherein the motion mechanism of the humanoid robot comprises a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, an inclination sensor and a steering angular velocity sensor. The two wheels are arranged side by side with respect to the direction of travel, and the hub motor is used to drive the wheels to travel and turn. The two control moment gyroscopes are installed inside the frame and arranged symmetrically, and the axes of the flywheels inside the two control moment gyroscopes are perpendicular to the direction of travel and parallel to the vertical direction in a balanced state, wherein each control moment gyroscope extends two support shafts respectively in front and behind along the direction of travel, and the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions. The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is the same as the direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip in the opposite directions around their respective axes, thereby driving the two control moment gyroscopes to flip in the opposite directions. The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg connecting rods. The speed sensor is used to sense the current speed of the humanoid robot motion mechanism. The inclination sensor is used to sense the current inclination of the humanoid robot motion mechanism. The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism. The method includes: receiving a speed control command through a speed closed-loop controller, and determining the target inclination of the humanoid robot motion mechanism according to the target speed specified in the speed control command and the current speed; determining the hub motor control torque through an upright closed-loop controller according to the target inclination, mechanical zero point, and the current inclination; receiving a steering control command through a steering closed-loop controller, determining the angle error according to the target angular velocity specified in the steering control command and the current steering angular velocity, and determining the hub motor correction torque according to the angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; and determining the servo motor control torque through a control torque gyro closed-loop controller according to the current inclination, mechanical zero point, and the target inclination.

[0011] In some embodiments, the humanoid robot motion mechanism further includes a control moment gyro flip angle sensor for sensing the current flip angle of the control moment gyro. The method further includes: determining the required tilt angle for the control moment gyro to recover according to the current flip angle by a control moment gyro recovery loop controller when the current flip angle exceeds a predetermined flip angle threshold; determining the hub motor control torque by an upright closed-loop controller according to the target tilt angle, the mechanical zero point, the current tilt angle, and the tilt angle required for the control moment gyro to recover.

[0012] In a fourth aspect, an embodiment of the present invention proposes a method for controlling a motion mechanism of a humanoid robot, wherein the motion mechanism of the humanoid robot comprises a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, an inclination sensor and a steering angular velocity sensor. The two wheels are arranged side by side with respect to the direction of travel, and the hub motor is used to drive the wheels to travel and turn. The two control moment gyroscopes are installed inside the frame and arranged symmetrically, and the axes of the flywheels inside the two control moment gyroscopes are perpendicular to the direction of travel and parallel to the vertical direction in a balanced state, wherein each control moment gyroscope extends two support shafts respectively in front and behind along the direction of travel, and the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions. The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is the same as the direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip in the opposite directions around their respective axes, thereby driving the two control moment gyroscopes to flip in the opposite directions. The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg connecting rods. The speed sensor is used to sense the current speed of the humanoid robot motion mechanism. The inclination sensor is used to sense the current inclination of the humanoid robot motion mechanism. The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism. The method is executed by a processor, and the method includes: receiving a speed control command, and determining the target inclination of the humanoid robot motion mechanism according to the target speed specified in the speed control command and the current speed; determining the hub motor control torque according to the target inclination, the mechanical zero point, and the current inclination; receiving a steering control command, determining the steering angle error according to the target angular velocity specified in the steering control command and the current steering angular velocity, and determining the hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; determining the servo motor control torque according to the current inclination, the mechanical zero point, and the target inclination.

[0013] In some embodiments, the humanoid robot motion mechanism further includes a control moment gyro flip angle sensor for sensing a current flip angle of the control moment gyro. The method further includes: when the current flip angle exceeds a predetermined flip angle threshold, determining the tilt angle required for the control moment gyro to recover according to the current flip angle; and determining the hub motor control torque according to the target tilt angle, the mechanical zero point, the current tilt angle, and the tilt angle required for the control moment gyro to recover.

[0014] In the fifth aspect, an embodiment of the present invention proposes a device for controlling the motion mechanism of a humanoid robot, the device comprising a memory and a processor, the memory storing a computer program, and implementing the method for controlling the motion mechanism of a humanoid robot described in any of the above embodiments when the computer program is executed by the processor.

[0015] The embodiment of the present invention combines the wheel-foot structure and CMGs in the structural form of a humanoid robot, and is composed of a frame, CMGs, servo motors, legs, wheels and hub motors: the internal flywheel axes of the two CMGs are parallel to the vertical direction in a balanced state, two support shafts extend from the sides of the CMGs and are supported by the frame, and the servo motor is fixed on one side of the support shaft, whose axis is the same as the forward direction and perpendicular to the CMGs flywheel axis direction, and can drive the CMGs to flip around its axis; the legs are installed on both sides of the frame, and can be composed of a spring shock absorber, or a joint motor and a connecting rod to form a structure similar to a human leg. Through the inward and outward movement of the spring shock absorber or the joint motor, the vibration suppression of the robot in the vertical direction can be achieved; the wheels and hub motors are installed at the end of the legs for agile driving and steering. The two CMGs have opposite rotation speeds and the same magnitude, and the flip angles and angular velocities are opposite and the same magnitude. During operation, the interference torques generated by the two CMGs cancel each other out, and only the torque in the desired direction is retained, thereby achieving the posture control of the robot.

[0016] The embodiments of the present invention can achieve the following beneficial effects:

[0017] The two CMGs are arranged symmetrically and rotate in opposite directions. The interference direction torques generated cancel each other out, leaving only the pitch direction torque. When the humanoid robot is tilted and ready to run upright, the robot can swing in situ at a large angle only through the torque generated by the CMGs, without relying on the hub motor, to avoid the adverse effects caused by the movement of the robot during the swinging process.

[0018] The two CMGs are arranged symmetrically and rotate in opposite directions. The interference direction torques generated cancel each other out, leaving only the pitch direction torque. This can quickly eliminate the interference of the external overturning torque, maintain the stability of the robot's pitch angle, and achieve stable posture control of the robot.

[0019] The two CMGs are arranged symmetrically and rotate in opposite directions. The interference direction torques generated cancel each other out, leaving only the pitch direction torque. This pitch direction torque can drive the robot to tilt rapidly, and cooperate with the acceleration / deceleration control of the hub motor to realize the robot's rapid acceleration and emergency stop functions.

[0020] When the humanoid robot is on a bumpy road or falling, the vertical vibration of the robot can be suppressed through the humanoid robot's leg joint motor or spring shock-absorbing structure to maintain the robot's posture stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and other objects, features and advantages of the embodiments of the present invention will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:

[0022] Figure 1 A front view showing an example of a humanoid robot motion mechanism according to an embodiment of the present invention;

[0023] Figure 2 A left side view showing an example of a humanoid robot motion mechanism according to an embodiment of the present invention;

[0024] Figure 3 A front view showing another example of a humanoid robot motion mechanism according to an embodiment of the present invention;

[0025] Figure 4 A left side view showing another example of a humanoid robot motion mechanism according to an embodiment of the present invention;

[0026] Figure 5 A control logic diagram of a humanoid robot motion mechanism according to an embodiment of the present invention is shown;

[0027] Figure 6 A flow chart of a method for controlling a motion mechanism of a humanoid robot according to an embodiment of the present invention is shown;

[0028] Figure 7 A schematic diagram of the application flow of a method for controlling a motion mechanism of a humanoid robot according to an embodiment of the present invention is shown.

[0029] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0030] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way.

[0031] In one aspect, embodiments of the present invention provide a humanoid robot motion mechanism. Figure 1-Figure 4 , which respectively show the front view and left view of two different examples of the humanoid robot motion mechanism according to the embodiment of the present invention. Figure 1-Figure 4 In the figure, the x-axis is the forward direction, the y-axis is the left-right direction, and the z-axis is the vertical direction.

[0032] like Figure 1-4As shown, the motion mechanism of the humanoid robot includes a frame 2, two control moment gyroscopes (CMGs) 3, a servo motor 6, two wheels and their hub motors 5, legs, a speed sensor, a tilt sensor, a steering angular velocity sensor, a speed closed-loop controller, a control moment gyroscope closed-loop controller, an upright closed-loop controller and a steering closed-loop controller.

[0033] The frame 2 is used to fix and support the remaining components. The two wheels are arranged side by side with respect to the direction of travel, that is, the center line of the two wheels is perpendicular to the direction of travel. The wheel hub motor is used to drive the wheels to travel and turn, that is, to drive the humanoid robot to travel and turn, for example, by controlling torque, speed or angle. As an example only, the two wheel hub motors can realize the balance, forward and backward, and steering control of the robot through an inverted pendulum control algorithm.

[0034] Two control moment gyroscopes 3 are installed inside the frame 2 and arranged symmetrically. The internal flywheel axes of the two control moment gyroscopes 3 are perpendicular to the direction of travel and parallel to the vertical direction in a balanced state, that is, parallel to the z-axis. Each control moment gyroscope 3 extends two support shafts forward and backward along the direction of travel, and the two support shafts are supported on the frame 2. The flywheels of the two control moment gyroscopes 3 rotate in opposite directions. The control moment gyroscope is a posture adjuster. When its internal flywheel rotates at high speed, it generates angular momentum. When the motor drives it to flip in the direction perpendicular to the angular momentum, the precession effect of the gyroscope will generate a gyroscopic torque perpendicular to the angular momentum axis and the flip axis, thereby realizing posture control. In an embodiment of the present invention, two CMGs generate gyroscopic torque to realize the posture control of the robot.

[0035] The servo motor 6 is fixed to one side of the support shaft, and the axis of the servo motor 6 is the same as the direction of travel, that is, parallel to the x-axis. The servo motor 6 is used to apply a precession torque to the support shaft to make the two support shafts flip around their respective axes in the opposite direction to each other, thereby driving the two control torque gyroscopes 3 to flip in the opposite direction to each other. As an embodiment of the present invention, the flywheel rotation speeds of the two control torque gyroscopes are the same, and the flip angles and angular velocities of the two control torque gyroscopes are the same.

[0036] During operation, CMGs rotate at high speed to generate angular momentum. When the servo motor 6 applies a precession torque to it, CMGs3 flips around the axis of the servo motor 6, causing the direction of the angular momentum to change, generating a gyroscopic torque (parallel to the y-axis) perpendicular to the original angular momentum direction (parallel to the z-axis) and the precession torque direction (parallel to the x-axis). Assuming that the flip angular velocity during operation is CMGs 3 rotation speed The moment of inertia is I z , then the gyro torque generated by the flipping of CMGs 3 is expressed as follows:

[0037]

[0038] in, is the gyro torque, I z is the moment of inertia, is the rotation speed of CMGs 3, is the flip angular velocity.

[0039] When CMGs 3 is in other positions (flip angle )hour, Torque components will be generated along the y and z axes. The magnitudes of the torque components along the y and z axes are shown in the following formula (2):

[0040]

[0041] Among them, τ y yes The torque component generated along the y-axis, τ z yes The torque component that will be generated along the z-axis is is the gyroscopic torque, is the flip angle.

[0042] The embodiment of the present invention adopts two CMGs 3 arranged symmetrically. Since the flywheel rotation angular velocities are The angular momentum they generate is the same in magnitude and opposite in direction. When the servo motor 6 drives them to move along their respective axes Reverse Flip When , the torque components of the y and z axes can be calculated, as shown in the following formula (3):

[0043]

[0044] in, is the torque component about the y-axis, is the torque component about the z-axis, I z is the moment of inertia, is the rotation speed of CMGs3, is the flip angular velocity, is the flip angle.

[0045] Generally, CMGs can generate the required gyroscopic torque, but also generate interference torques in other directions. By symmetrically arranging the two CMGs 3 proposed in the above embodiment of the present invention, the pitch angle control around the y-axis can be achieved without generating interference torque around the z-axis.

[0046] The legs are mounted between the frame and the wheels, e.g. Figure 1-Figure 4As shown, the leg structure is installed on both sides of the frame, and the end of the leg structure is installed with wheels and wheel hub motors 5. The leg structure can take many forms.

[0047] As an embodiment of the present invention, Figure 1-Figure 2 As shown, the leg may include a spring damper 4, which can be used to provide cushioning and suppress vibration in the vertical direction.

[0048] As another embodiment of the present invention, Figure 3-Figure 4 As shown, the leg may include a joint motor 7 and a leg connecting rod 8, forming a mechanical structure similar to a human leg, and providing cushioning through the abduction and adduction of the joint.

[0049] Optionally, the leg may also be designed to include a spring shock absorber 4 , a joint motor 7 , and a leg connecting rod 8 .

[0050] As an embodiment of the present invention, the humanoid robot motion mechanism may further include a loading platform 1, which may be disposed on the top of the frame 2 and may be used, for example, to load cargo or transport passengers.

[0051] The speed sensor can be used to sense the current speed of the humanoid robot's motion mechanism.

[0052] The inclination sensor can be used to sense the current inclination of the motion mechanism of the humanoid robot.

[0053] The steering angular velocity sensor can be used to sense the current steering angular velocity of the humanoid robot motion mechanism.

[0054] The speed sensor, inclination sensor, and steering angular velocity sensor are not shown in the figure. In fact, in specific practice, these sensors can be arranged according to actual needs or scenarios as long as they can realize the corresponding sensing functions and the communication functions with related components.

[0055] The speed closed-loop controller can be used to receive a speed control command and determine a target inclination angle of the humanoid robot motion mechanism according to a target speed and a current speed specified in the speed control command.

[0056] The upright closed-loop controller can be used to determine the wheel hub motor control torque based on the target inclination angle, the mechanical zero point, and the current inclination angle.

[0057] The steering closed-loop controller can be used to receive a steering control command, determine the steering angle error according to the target angular velocity specified by the steering control command and the current steering angular velocity, and determine the hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor.

[0058] The control torque gyro closed-loop controller can be used to determine the servo motor control torque based on the current tilt angle, mechanical zero point and target tilt angle.

[0059] The various controllers described above are not shown in the figure. In fact, in specific practice, these controllers can be arranged according to actual needs or scenarios, as long as they can realize the corresponding control functions and the required information transmission functions.

[0060] As an embodiment of the present invention, the humanoid robot motion mechanism may further include a control moment gyro flip angle sensor and a control moment gyro recovery loop controller. The control moment gyro flip angle sensor may be used to sense the current flip angle of the control moment gyro. The control moment gyro recovery loop controller may be used to determine the inclination angle required for the control moment gyro to recover according to the current flip angle when the current flip angle exceeds a predetermined flip angle threshold. The upright closed-loop controller is also used to determine the hub motor control torque according to the target inclination angle, the mechanical zero point, the current inclination angle, and the inclination angle required for the control moment gyro to recover.

[0061] Since CMGs are currently saturated, they cannot generate y-axis gyro torque when saturated, and thus cannot operate stably for a long time. Through the above implementation, the size of the robot's target tilt angle can be adjusted to make it in an unbalanced state. In the unbalanced state, the robot's gravity torque will drive CMGs 3 back to the normal state, and CMGs 3 will gradually recover from the saturated state to the unsaturated state, thereby continuing to work. The above algorithm is combined with the inverted pendulum control algorithm to realize the saturation recovery of CMGs, and ultimately achieve the robot's agile movement, steering and posture control.

[0062] In another aspect, an embodiment of the present invention provides a humanoid robot, which includes the humanoid robot motion mechanism described according to any of the above embodiments.

[0063] In yet another aspect, an embodiment of the present invention provides a method for controlling a motion mechanism of a humanoid robot. Figure 1-Figure 4 ,The motion mechanism of the humanoid robot includes a frame 2, two control torque gyroscopes 3, a servo motor 6, two wheels and their hub motors 5, legs, a speed sensor, an inclination sensor and a steering angular velocity sensor.

[0064] The frame 2 is used to fix and support the remaining components. The two wheels are arranged side by side with respect to the direction of travel, that is, the center line of the two wheels is perpendicular to the direction of travel. The wheel hub motor is used to drive the wheels to travel and turn, that is, to drive the humanoid robot to travel and turn, for example, by controlling torque, speed or angle. As an example only, the two wheel hub motors can realize the balance, forward and backward, and steering control of the robot through an inverted pendulum control algorithm.

[0065] Two control moment gyroscopes 3 are installed inside the frame 2 and arranged symmetrically. The internal flywheel axes of the two control moment gyroscopes 3 are perpendicular to the direction of travel and parallel to the vertical direction in a balanced state, that is, parallel to the z-axis. Each control moment gyroscope 3 extends two support shafts forward and backward along the direction of travel, and the two support shafts are supported on the frame 2. The flywheels of the two control moment gyroscopes 3 rotate in opposite directions. The control moment gyroscope is a posture adjuster. When its internal flywheel rotates at high speed, it generates angular momentum. When the motor drives it to flip in the direction perpendicular to the angular momentum, the precession effect of the gyroscope will generate a gyroscopic torque perpendicular to the angular momentum axis and the flip axis, thereby realizing posture control. In an embodiment of the present invention, two CMGs generate gyroscopic torque to realize the posture control of the robot.

[0066] The servo motor 6 is fixed to one side of the support shaft, and the axis of the servo motor 6 is the same as the direction of travel, that is, parallel to the x-axis. The servo motor 6 is used to apply a precession torque to the support shaft to make the two support shafts flip around their respective axes in the opposite direction to each other, thereby driving the two control torque gyroscopes 3 to flip in the opposite direction to each other. As an embodiment of the present invention, the flywheel rotation speeds of the two control torque gyroscopes are the same, and the flip angles and angular velocities of the two control torque gyroscopes are the same.

[0067] Generally, CMGs can generate the required gyroscopic torque, but also generate interference torques in other directions. By symmetrically arranging the two CMGs 3 proposed in the above embodiment of the present invention, the pitch angle control around the y-axis can be achieved without generating interference torque around the z-axis.

[0068] The legs are mounted between the frame and the wheels, e.g. Figure 1-Figure 4 As shown, the leg structure is installed on both sides of the frame, and the end of the leg structure is installed with wheels and wheel hub motors 5. The leg structure can take many forms.

[0069] As an embodiment of the present invention, Figure 1-Figure 2 As shown, the leg may include a spring damper 4, which can be used to provide cushioning and suppress vibration in the vertical direction.

[0070] As another embodiment of the present invention, Figure 3-Figure 4 As shown, the leg may include a joint motor 7 and a leg connecting rod 8, forming a mechanical structure similar to a human leg, and providing cushioning through the abduction and adduction of the joint.

[0071] Optionally, the leg may also be designed to include a spring shock absorber 4 , a joint motor 7 , and a leg connecting rod 8 .

[0072] As an embodiment of the present invention, the humanoid robot motion mechanism may further include a loading platform 1, which may be disposed on the top of the frame 2 and may be used, for example, to load cargo or transport passengers.

[0073] The speed sensor can be used to sense the current speed of the humanoid robot's motion mechanism.

[0074] The inclination sensor can be used to sense the current inclination of the motion mechanism of the humanoid robot.

[0075] The steering angular velocity sensor can be used to sense the current steering angular velocity of the humanoid robot motion mechanism.

[0076] The speed sensor, inclination sensor, and steering angular velocity sensor are not shown in the figure. In fact, in specific practice, these sensors can be arranged according to actual needs or scenarios as long as they can realize the corresponding sensing functions and the communication functions with related components.

[0077] In this embodiment, the method for controlling the motion mechanism of the humanoid robot is performed by a speed closed-loop controller, a control moment gyro closed-loop controller, an upright closed-loop controller, and a steering closed-loop controller. The arrangement of these controllers can take a variety of forms. As an example, these controllers can be arranged on the above-mentioned humanoid robot motion mechanism, and the specific arrangement form can be flexibly adjusted according to needs or scenarios, and the present invention does not impose any restrictions in this regard. As another example, these controllers can be arranged on the humanoid robot, but outside the motion mechanism of the humanoid robot, as long as the necessary communication functions can be achieved with the corresponding components in the motion mechanism. As another example, these controllers can be arranged outside the humanoid robot, for example, they can be communicatively connected to the humanoid robot by wired or wireless means, for example, these controllers can be communicatively connected to the corresponding components in the motion mechanism of the humanoid robot by any wireless communication method, and the present invention does not impose any restrictions on the communication method. In addition, these controllers can be separate physical entities, or they can be integrated on the same physical entity.

[0078] In this embodiment, the method for controlling the motion mechanism of a humanoid robot may include the following steps: receiving a speed control command through a speed closed-loop controller, and determining a target inclination angle of the motion mechanism of the humanoid robot according to a target speed and a current speed specified in the speed control command; determining a hub motor control torque according to the target inclination angle, a mechanical zero point, and a current inclination angle through an upright closed-loop controller; receiving a steering control command through a steering closed-loop controller, determining a steering angle error according to a target angular velocity and a current steering angular velocity specified in the steering control command, and determining a hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; and determining a servo motor control torque according to the current inclination angle, a mechanical zero point, and a target inclination angle through a control torque gyro closed-loop controller.

[0079] The various controllers described above are not shown in the figure. In fact, in specific practice, these controllers can be arranged according to actual needs or scenarios, as long as they can realize the corresponding control functions and the required information transmission functions.

[0080] As an embodiment of the present invention, the motion mechanism of the humanoid robot may further include a control moment gyro flip angle sensor for sensing the current flip angle of the control moment gyro. In this embodiment, the method for controlling the motion mechanism of the humanoid robot may further include: determining the required inclination angle for the control moment gyro to recover according to the current flip angle by controlling the moment gyro recovery ring controller when the current flip angle exceeds a predetermined flip angle threshold; determining the hub motor control torque according to the target inclination angle, the mechanical zero point, the current inclination angle, and the inclination angle required for the control moment gyro to recover by an upright closed-loop controller. Similarly, the control moment gyro recovery ring controller may be arranged inside the motion mechanism of the humanoid robot, inside the humanoid robot and outside the motion mechanism of the humanoid robot or outside the humanoid robot, as long as it can realize the corresponding communication function with each corresponding component in the motion mechanism of the humanoid robot.

[0081] Since CMGs are currently saturated, they cannot generate y-axis gyro torque when saturated, and thus cannot operate stably for a long time. Through the above implementation, the size of the robot's target tilt angle can be adjusted to make it in an unbalanced state. In the unbalanced state, the robot's gravity torque will drive CMGs 3 back to the normal state, and CMGs 3 will gradually recover from the saturated state to the unsaturated state, thereby continuing to work. The above algorithm is combined with the inverted pendulum control algorithm to realize the saturation recovery of CMGs, and ultimately achieve the robot's agile movement, steering and posture control.

[0082] refer to Figure 5 , which shows a control logic diagram of a humanoid robot motion mechanism according to an embodiment of the present invention. As an example only, the figure is a joint control logic diagram of a humanoid robot CMGs and an inverted pendulum. The control system receives external robot inclination, speed, and steering control commands, uses sensors to collect robot speed, inclination, and CMGs flip angle signals, calculates the servo motor and left and right wheel hub torques through a joint control algorithm, and drives the robot to respond, forming a closed-loop control.

[0083] The joint control algorithm consists of an inverted pendulum control algorithm and a CMGs control algorithm. The inverted pendulum control algorithm includes a speed loop, an upright loop, and a steering loop, and the CMGs control algorithm includes a CMGs control loop and a CMGs recovery loop.

[0084] When the robot accelerates or brakes, it will generate acceleration in the corresponding direction. If the robot is kept upright during this process, it will fall in the opposite direction. Therefore, a speed closed-loop controller is set up, which receives the speed control command vtarget , collect the speed sensor signal v, and calculate the inclination angle θ required for the robot to travel through the PID control algorithm target , and input the angle into the CMGs closed-loop controller and the upright closed-loop controller for attitude control. In this process, the robot first generates an inclination angle in the acceleration direction, and then the wheel hub motor accelerates to achieve attitude stability and speed control during the robot's driving process. target The calculation formula is shown in the following formula (4):

[0085]

[0086] Among them, θ target is the target inclination angle of the robot calculated by the speed closed-loop controller; K p-v , K i-v , K d-v are the proportional, integral and differential coefficients of the speed closed-loop controller respectively; Δv(t) is the speed error of the robot at time t, which is obtained according to the following formula (5):

[0087] Δv(t)=vv target Formula (5)

[0088] Where Δv(t) is the velocity error of the robot at time t, v is the current velocity sensed by the velocity sensor, and v target It is the target speed indicated by the received speed control command.

[0089] The upright closed-loop controller receives the robot's inclination feedback θ(t), mechanical zero point θ0, and speed loop target inclination θ target and the CMGs recovery ring inclination angle θ cmg , the wheel hub motor drive torque T is calculated by PID control algorithm wheel , driving the wheel hub motor to rotate to maintain the robot's pitch angle stability and achieve robot posture control. wheel The calculation formula is as follows (6):

[0090]

[0091]

[0092] Among them, T wheel is the wheel hub motor control torque; K p-wheel , K i-wheel , K d-wheel are the proportional, integral, and differential coefficients of the vertical closed-loop controller; Δθ wheel (t) is the robot inclination error of the upright closed-loop control algorithm at time t, which is obtained by the following formula (7):

[0093] Δθwheel (t) = θ(t) - θ0 - θ target -θ cmg Formula (7)

[0094] Among them, Δθ wheel (t) is the robot inclination error of the upright closed-loop control algorithm at time t; θ(t) is the robot inclination feedback; θ0 is the mechanical zero point, which is the constant deviation of the attitude sensor when the robot is balanced due to the measurement error and installation error of the attitude sensor itself; θ target is the target inclination angle of the velocity loop; θ cmg is the inclination of the CMGs recovery ring.

[0095] During the robot's steering process, the driving torques of the two wheel hub motors are different, so a steering closed-loop controller is added to correct the torques of the two wheel hub motors based on the upright closed-loop controller to achieve the purpose of robot steering. The steering closed-loop controller receives the steering command ω target , the wheel hub motor correction torque T′ is calculated by the PID control algorithm, as shown in the following formula (8):

[0096]

[0097] Where T′ is the wheel hub motor correction torque; K p-ω , K i-ω , K d-ω are the proportional, integral, and differential coefficients of the steering closed-loop controller respectively; Δω(t) is the robot angular error at time t, which is obtained by the following formula (9):

[0098] Δω(t)=ω(t)-ω target Formula (9)

[0099] Then, as shown in formula (10), the driving torques of the two wheel hub motors are calculated as:

[0100] T l =T+T′

[0101] T r =T- T′ Formula (10)

[0102] Among them, T l , T r are the driving torques of the left and right wheel hub motors, T is the control torque of the wheel hub motor, and T′ is the correction torque of the wheel hub motor.

[0103] The CMGs closed-loop controller receives the robot’s inclination feedback θ(t), the mechanical zero point θ0, and the speed loop target inclination θ target , calculate the servo motor drive torque T through the PID control algorithm cmgThe servo motor drives the two CMGs to rotate synchronously in opposite directions to generate the required pitch torque of the robot and realize the pitch attitude control of the robot. cmg The calculation formula is as follows (11)

[0104]

[0105]

[0106] Among them, T cmg is the servo motor control torque; K p-cmg , K i-cmg , K d-cmg They are the proportional, integral and differential coefficients of the CMGs closed-loop controller; Δθ cmg (t) is the robot inclination error of the CMGs control algorithm at time t, which is obtained according to the following formula (12):

[0107] Δθ cmg (t) = θ(t) - θ0 Formula (12)

[0108] Among them, Δθ cmg (t) is the robot inclination error of the CMGs control algorithm at time t, θ(t) is the robot inclination feedback, and θ0 is the mechanical zero point.

[0109] Since CMGs have a saturation effect, when the CMGs flip angle hour, It is impossible to generate effective pitch control torque. Therefore, a CMGs recovery loop controller is added. When the CMGs are saturated, the robot's target tilt angle is adjusted to make it in an unbalanced state. In this state, the robot's gravity torque will drive the CMGs back to the normal position, realizing CMGs saturation recovery. The CMGs recovery loop controller receives the CMGs flip angle collected by the sensor. Calculate the required inclination angle θ of CMGs recovery through PID control algorithm cmg , and input the inclination angle into the upright closed-loop controller to drive the robot to tilt, and then drive the CMGs to recover through the CMGs closed-loop controller. cmg The calculation formula is shown in the following formula (13):

[0110]

[0111] Among them, θ cmg is the servo motor control torque; K p-rec , K i-rec , K d-rec They are the proportional, integral, and differential term coefficients of the CMGs closed-loop controller; is the flip angle of CMGs at time t.

[0112] Through the above controller, the robot's balance, advance, retreat and steering control can be achieved:

[0113] When the robot stands on the ground at a certain angle and prepares to run, the CMGs closed-loop controller is enabled to quickly generate a large pitch torque, while the upright, speed, steering and CMGs recovery controllers are turned off to avoid the movement of the hub motors and enable the robot to swing at a large angle in place.

[0114] When receiving the speed signal, the speed closed-loop controller calculates the inclination angle θ target , the CMGs closed-loop controller and the upright closed-loop controller work together to make the robot produce an inclination angle in the acceleration direction, thereby driving the robot to travel. This involves the control ratio of the CMGs closed-loop controller and the upright closed-loop controller: when the CMGs closed-loop controller plays a major role, the large torque generated by the CMGs can quickly tilt the robot and improve the acceleration and deceleration response of the robot, but the CMGs are prone to saturation; when the upright closed-loop controller plays a major role, the acceleration and deceleration response of the robot slows down, and the acceleration and deceleration are softer.

[0115] When a steering signal is received, the steering closed-loop controller takes effect and corrects the torque of the left and right wheel hub motors to achieve the purpose of steering.

[0116] When the robot receives external interference, the CMGs closed-loop controller responds quickly to offset the external interference and maintain the robot's posture stability.

[0117] When the CMGs are saturated, the CMGs recovery loop controller calculates the required tilt angle θ cmg ,The robot is tilted by the upright closed-loop controller to put it in an unbalanced state. In this state, the gravity torque of the robot will drive the CMGs back to the normal state, realizing the saturation recovery of CMGs.

[0118] In another aspect, an embodiment of the present invention provides a method for controlling a motion mechanism of a humanoid robot. Figure 6 , which shows a flow chart of a method 600 for controlling a motion mechanism of a humanoid robot according to an embodiment of the present invention. The method 600 proposed in this embodiment is executed by a processor.

[0119] The motion mechanism of the humanoid robot includes a frame, two control torque gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, a tilt sensor and a steering angular velocity sensor.

[0120] The two wheels are arranged side by side left and right relative to the direction of travel, and the hub motor is used to drive the wheels for traveling and steering.

[0121] Two control moment gyroscopes are installed inside the frame and arranged symmetrically on the left and right. The internal flywheel axis is perpendicular to the direction of travel and parallel to the vertical direction in a balanced state. Each control moment gyroscope has two supporting shafts extending forward and backward along the direction of travel respectively. The two supporting shafts are supported on the frame. The flywheels of the two control moment gyroscopes rotate in opposite directions.

[0122] The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is in the same direction of travel. It is used to apply a precession torque to the support shaft to make the two support shafts flip in opposite directions around their respective axes, thereby driving the two control torque gyroscopes to flip in opposite directions.

[0123] The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg links.

[0124] The speed sensor is used to sense the current speed of the humanoid robot's motion mechanism.

[0125] The inclination sensor is used to sense the current inclination of the humanoid robot's motion mechanism.

[0126] The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism.

[0127] In this embodiment, the method 600 for controlling the motion mechanism of a humanoid robot may include steps S601 - S604 .

[0128] In step S601, a speed control command is received, and a target inclination angle of a motion mechanism of a humanoid robot is determined according to a target speed and a current speed specified in the speed control command.

[0129] In step S602, the hub motor control torque is determined according to the target inclination angle, the mechanical zero point, and the current inclination angle.

[0130] In step S603, a steering control command is received, a steering angle error is determined according to the target angular velocity specified by the steering control command and the current steering angular velocity, and a hub motor correction torque is determined according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor.

[0131] In step S604, the servo motor control torque is determined according to the current inclination angle, the mechanical zero point and the target inclination angle.

[0132] In this embodiment, the method for controlling the motion mechanism of a humanoid robot is executed by a processor (or a CPU, or a processing unit, or a computer, or a controller). The arrangement of the processor can be in various forms. As an example, the processor can be arranged on the above-mentioned motion mechanism of the humanoid robot, and the specific arrangement form can be flexibly adjusted according to needs or scenarios, and the present invention does not impose any restrictions in this regard. As another example, the processor can be arranged on the humanoid robot, but outside the motion mechanism of the humanoid robot, as long as it can realize the necessary communication functions with the corresponding components in the motion mechanism. As another example, the processor can be arranged outside the humanoid robot, that is, remotely set, and can be communicatively connected to the humanoid robot by wired or wireless means. For example, the processor can be communicatively connected to each corresponding component in the motion mechanism of the humanoid robot by any wireless communication method. For example, the processor can be arranged on a remote control, a computer, or a mobile terminal outside the humanoid robot, and the present invention does not impose any restrictions on the communication method. In addition, the processor can be a single physical entity or distributed on multiple different physical entities.

[0133] As an embodiment of the present invention, the humanoid robot motion mechanism may further include a control moment gyro flip angle sensor for sensing the current flip angle of the control moment gyro. The method for controlling the humanoid robot motion mechanism may further include: when the current flip angle exceeds a predetermined flip angle threshold, determining the tilt angle required for the control moment gyro to recover according to the current flip angle; determining the hub motor control torque according to the target tilt angle, the mechanical zero point, the current tilt angle, and the tilt angle required for the control moment gyro to recover.

[0134] For ease of description, each step of the method executed by the processor is described herein by each corresponding module. For example, the above steps S601-S604 are respectively implemented by a speed closed-loop control module, an upright closed-loop control module, a steering closed-loop control module, and a control torque gyro closed-loop control module.

[0135] The control system receives external robot inclination, speed, and steering control commands, uses sensors to collect the robot's speed, inclination, and CMGs flip angle signals, calculates the servo motor and left and right wheel hub torque through a joint control algorithm, and drives the robot to respond, forming a closed-loop control.

[0136] The joint control algorithm consists of an inverted pendulum control algorithm and a CMGs control algorithm. The inverted pendulum control algorithm includes a speed loop, an upright loop, and a steering loop, and the CMGs control algorithm includes a CMGs control loop and a CMGs recovery loop.

[0137] When the robot accelerates or brakes, it will generate acceleration in the corresponding direction. If the robot is kept upright during this process, it will fall in the opposite direction. Therefore, a speed closed-loop control module is set up. This control module receives the speed control command v target , collect the speed sensor signal v, and calculate the inclination angle θ required for the robot to travel through the PID control algorithm target , and input the angle into the CMGs closed-loop control module and the upright closed-loop control module for attitude control. In this process, the robot first generates an inclination angle in the acceleration direction, and then the wheel hub motor accelerates to achieve attitude stability and speed control during the robot's driving process. target The calculation formula is shown in the following formula (4):

[0138]

[0139] Among them, θ target is the robot target inclination angle calculated by the speed closed-loop control module; K p-v , K i-v , K d-v are the proportional, integral and differential coefficients of the speed closed-loop control module respectively; Δv(t) is the speed error of the robot at time t, which is obtained according to the following formula (5):

[0140] Δv(t)=vv target Formula (5)

[0141] Where Δv(t) is the velocity error of the robot at time t, v is the current velocity sensed by the velocity sensor, and v target It is the target speed indicated by the received speed control command.

[0142] The upright closed-loop control module receives the robot's inclination feedback θ(t), mechanical zero point θ0, and speed loop target inclination θ target and the CMGs recovery ring inclination angle θ cmg , the wheel hub motor drive torque T is calculated by PID control algorithm wheel , driving the wheel hub motor to rotate to maintain the robot's pitch angle stability and achieve robot posture control. wheel The calculation formula is as follows (6):

[0143]

[0144] Among them, T wheel is the wheel hub motor control torque; K p-wheel , K i-wheel , K d-wheel They are the proportional, integral and differential coefficients of the vertical closed-loop control module; Δθ wheel(t) is the robot inclination error of the upright closed-loop control algorithm at time t, which is obtained by the following formula (7):

[0145] Δθ wheel (t) = θ(t) - θ0 - θ target -θ cmg Formula (7)

[0146] Among them, Δθ wheel (t) is the robot inclination error of the upright closed-loop control algorithm at time t; θ(t) is the robot inclination feedback; θ0 is the mechanical zero point, which is the constant deviation of the attitude sensor when the robot is balanced due to the measurement error and installation error of the attitude sensor itself; θ target is the target inclination angle of the velocity loop; θ cmg is the inclination of the CMGs recovery ring.

[0147] During the robot's steering process, the driving torques of the two wheel hub motors are different, so a steering closed-loop control module is added to correct the torques of the two wheel hub motors based on the upright closed-loop control module to achieve the purpose of robot steering. The steering closed-loop control module receives the steering command ω target , the wheel hub motor correction torque T′ is calculated by the PID control algorithm, as shown in the following formula (8):

[0148]

[0149] Where T′ is the wheel hub motor correction torque; K p-ω , K i-ω , K d-ω are the proportional, integral and differential coefficients of the steering closed-loop control module respectively; Δω(t) is the robot angular error at time t, which is obtained by the following formula (9):

[0150] Δω(t)=ω(t)-ω target Formula (9)

[0151] Then, as shown in formula (10), the driving torques of the two wheel hub motors are calculated as:

[0152] T l =T+T′

[0153] T r =T- T′ Formula (10)

[0154] Among them, T l , T r are the driving torques of the left and right wheel hub motors, T is the control torque of the wheel hub motor, and T′ is the correction torque of the wheel hub motor.

[0155] The CMGs closed-loop control module receives the robot’s inclination feedback θ(t), the mechanical zero point θ0, and the speed loop target inclination θ target , calculate the servo motor drive torque T through the PID control algorithm cmg The servo motor drives the two CMGs to rotate synchronously in opposite directions to generate the required pitch torque of the robot and realize the pitch attitude control of the robot. cmg The calculation formula is as follows (11)

[0156]

[0157] Among them, T cmg is the servo motor control torque; K p-cmg , K i-cmg , K d-cmg They are the proportional, integral and differential coefficients of the CMGs closed-loop control module; Δθ cmg (t) is the robot inclination error of the CMGs control algorithm at time t, which is obtained according to the following formula (12):

[0158] Δθ cmg (t) = θ(t) - θ0 Formula (12)

[0159] Among them, Δθ cmg (t) is the robot inclination error of the CMGs control algorithm at time t, θ(t) is the robot inclination feedback, and θ0 is the mechanical zero point.

[0160] Since CMGs have a saturation effect, when the CMGs flip angle hour, It is impossible to generate effective pitch control torque. Therefore, a CMGs recovery loop control module is added. When the CMGs are saturated, the robot's target tilt angle is adjusted to make it unbalanced. In this state, the robot's gravity torque will drive the CMGs back to the normal position, realizing CMGs saturation recovery. The CMGs recovery loop control module receives the CMGs flip angle collected by the sensor. Calculate the required inclination angle θ of CMGs recovery through PID control algorithm cmg , and input the inclination angle into the upright closed-loop control module to drive the robot to tilt, and then drive the CMGs to recover through the CMGs closed-loop control module. cmg The calculation formula is shown in the following formula (13):

[0161]

[0162] Among them, θ cmg is the servo motor control torque; K p-rec , K i-rec , K d-recThey are the proportional, integral, and differential term coefficients of the CMGs closed-loop control module; is the flip angle of CMGs at time t.

[0163] Through the above control modules, the robot's balance, advance, retreat and steering control can be achieved:

[0164] When the robot stands on the ground at a certain angle and prepares to run, the CMGs closed-loop control module is enabled to quickly generate a large pitch torque. At the same time, the upright, speed, steering and CMGs recovery control modules are turned off to avoid the movement of the hub motors and enable the robot to swing at a large angle in place.

[0165] When receiving the speed signal, the speed closed-loop control module calculates the inclination angle θ target , the CMGs closed-loop control module and the upright closed-loop control module work together to make the robot produce an inclination angle in the acceleration direction, thereby driving the robot to travel. This involves the control ratio of the CMGs closed-loop control module and the upright closed-loop control module: when the CMGs closed-loop control module plays a major role, the large torque generated by the CMGs can quickly tilt the robot and improve the robot's acceleration and deceleration response, but the CMGs are prone to saturation; when the upright closed-loop control module plays a major role, the robot's acceleration and deceleration response slows down, and the acceleration and deceleration are softer.

[0166] When a steering signal is received, the steering closed-loop control module takes effect and corrects the torque of the left and right wheel hub motors to achieve the purpose of steering.

[0167] When the robot receives external interference, the CMGs closed-loop control module responds quickly to offset the external interference and maintain the robot's posture stability.

[0168] When the CMGs are saturated, the CMGs recovery loop control module calculates the required inclination angle θ for recovery. cmg ,The robot is tilted by the upright closed-loop control module to put it in an unbalanced state. In this state, the gravity torque of the robot will drive the CMGs back to the normal state, realizing the saturation recovery of CMGs.

[0169] refer to Figure 7 , which shows a schematic diagram of the application process of a method for controlling a motion mechanism of a humanoid robot according to an embodiment of the present invention.

[0170] In the preparation phase, the CMGs (3) are rotated to Figure 1 The zero position is shown, and then the internal flywheel starts to accelerate. When the set speed is reached, the CMGs (3) is ready.

[0171] During the startup phase, the robot stands on the ground at a certain inclination angle. The sensor detects the angle. The controller calculates the driving torque of the servo motor (6) based on the inclination angle, drives the CMGs (3) to flip and generate a gyroscopic torque parallel to the y-axis (pitch direction), so that the robot swings in place until the pitch angle of the robot is 0, and the startup is completed.

[0172] When receiving the speed signal, the servo motor (6) responds quickly and drives the CMGs (3) to rotate, generating a y-axis gyroscopic (pitch) torque, causing the inclination angle of the wheeled robot to change rapidly. The inverted pendulum control algorithm is then used to control the movement of the two wheel hub motors (5), driving the two wheels to accelerate and decelerate, thereby achieving speed control of the robot.

[0173] When a steering signal is received, the inverted pendulum control algorithm calculates the differential speed control signal of the two wheel hub motors (5) according to the robot model, thereby realizing the steering control of the robot.

[0174] When receiving a tipping torque disturbance in the pitch direction or an impact in the driving direction, the servo motor responds quickly and drives the CMGs (3) to rotate, generating a gyroscopic torque around the y-axis (pitch direction) to offset the external force disturbance and maintain the balance of the robot.

[0175] When the robot is in a situation such as overcoming obstacles or falling, the wheels and wheel hub motors (5) will generate vertical (z-axis) vibrations, which are transmitted along the legs to the robot's main frame. Figure 1 The spring shock-absorbing structure in the can directly offset the interference through the passive action of the spring; if using Figure 2 The joint motor structure in the robot can adjust the joint motor angle through the control algorithm to actively eliminate vibration.

[0176] Optionally, when the CMGs are saturated and cannot generate y-axis gyro torque, the robot's target tilt angle is adjusted through an inverted pendulum control algorithm to put it in an unbalanced state. In the unbalanced state, the robot's gravity torque will drive the CMGs (3) back to the normal state, and the CMGs (3) will gradually recover from the saturated state to the unsaturated state, thereby continuing to work.

[0177] In another aspect, an embodiment of the present invention provides a device for controlling a humanoid robot motion mechanism. The humanoid robot motion mechanism may be a humanoid robot motion mechanism as described in any of the embodiments described above. The device may include a speed closed-loop control module, a control moment gyro closed-loop control module, an upright closed-loop control module, and a steering closed-loop control module.

[0178] The speed closed-loop control module may be configured to receive a speed control command, and determine a target inclination angle of the motion mechanism of the humanoid robot according to a target speed and a current speed specified in the speed control command.

[0179] The upright closed-loop control module can be configured to determine the wheel hub motor control torque according to the target inclination angle, the mechanical zero point, and the current inclination angle.

[0180] The steering closed-loop control module can be configured to receive a steering control command, determine a steering angle error based on a target angular velocity specified by the steering control command and a current steering angular velocity, and determine a hub motor correction torque based on the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor.

[0181] The control moment gyro closed-loop control module can be configured to determine the servo motor control torque based on the current tilt angle, the mechanical zero point and the target tilt angle.

[0182] It should be noted that the functions implemented by each module in the device for controlling the motion mechanism of a humanoid robot proposed in the embodiments of the present invention correspond one-to-one to the various steps of the method for controlling the motion mechanism of a humanoid robot executed by the processor described above. For its specific implementation methods, examples and beneficial effects, please refer to the above description of the method.

[0183] In another aspect, an embodiment of the present invention further provides a method for controlling a humanoid robot. The humanoid robot may include a humanoid robot motion mechanism described in any embodiment above. The steps of the method for controlling a humanoid robot may include the steps of the method for controlling a humanoid robot motion mechanism described in any embodiment above, including the steps of the method performed by each controller or the steps of the method performed by a processor.

[0184] In another aspect, an embodiment of the present invention further provides a device for controlling a humanoid robot. The humanoid robot may include a humanoid robot motion mechanism described in any embodiment above. The device for controlling a humanoid robot may include various modules of the device for controlling a humanoid robot motion mechanism as described above.

[0185] It should be noted that the functions implemented by each module in the device for controlling a humanoid robot proposed in the embodiments of the present invention correspond one-to-one to the various steps of the method for controlling a humanoid robot executed by the processor described above. For its specific implementation methods, examples and beneficial effects, please refer to the above description of the method.

[0186] On the other hand, an embodiment of the present invention proposes a device for controlling the motion mechanism of a humanoid robot, the device including a memory and a processor, the memory storing a computer program, and when the computer program is executed by the processor, the method for controlling the motion mechanism of a humanoid robot described in any of the above embodiments and executed by the processor is implemented.

[0187] On the other hand, an embodiment of the present invention further proposes a storage medium storing computer-readable instructions, which, when executed by a processor, executes the method for controlling the motion mechanism of a humanoid robot described in any of the above embodiments and executed by the processor.

[0188] In order to solve the posture control problem of the humanoid robot, the embodiment of the present invention proposes a humanoid robot system solution combining a wheel-foot structure and CMGs, designs the mechanical structure and control method, and realizes flexible forward and backward driving, steering, pitch control and saturation recovery of CMGs through the combination of the wheel-foot structure and CMGs. The vertical vibration of the robot is suppressed through the leg structure design, and it has manufacturability.

[0189] The embodiments of the present invention combine the wheel-foot structure and CMGs in the structural form of a humanoid robot, and are composed of a frame, CMGs, servo motors, legs, wheels and hub motors: the internal flywheel axes of the two CMGs are parallel to the vertical direction in a balanced state, two support shafts extend from the sides of the CMGs and are supported by the frame, and the servo motor is fixed on one side of the support shaft, with its axis being the same as the forward direction and perpendicular to the direction of the CMGs flywheel axis, and can drive the CMGs to flip around its axis; the legs are installed on both sides of the frame, and can be composed of a spring shock absorber, or can be composed of a joint motor and a connecting rod to form a structure similar to a human leg, and the vibration suppression in the vertical direction of the robot can be achieved by the inward and outward movement of the spring shock absorber or the joint motor; the wheels and hub motors are installed at the ends of the legs for agile driving and steering.

[0190] The control method of the humanoid robot combines the inverted pendulum and CMGs control algorithm to achieve the posture stability control of the humanoid robot: the two hub motors realize the balance, advance and retreat, and steering control of the robot through the inverted pendulum control algorithm; the two CMGs have opposite rotation speeds and the same magnitude, and the flip angles and angular velocities are opposite and the same magnitude. During operation, the interference torques generated by the two CMGs cancel each other out, and only the torque in the desired direction is retained, thereby realizing the posture control of the robot; when the CMGs are saturated, the hub motors are driven by the inverted pendulum control algorithm to put the robot in an unbalanced state. In this state, the gravity torque of the robot will drive the CMGs to return to the normal state, and the CMGs will gradually recover from the saturated state to the unsaturated state, thereby continuing to work.

[0191] The embodiments of the present invention can achieve the following beneficial effects:

[0192] 1. The two CMGs are symmetrically arranged and rotate in opposite directions. The interference torques generated cancel each other out, leaving only the pitch torque. When the humanoid robot is tilted and ready to run upright, the robot can swing in situ at a large angle only through the torque generated by the CMGs, without relying on the hub motor, to avoid the adverse effects caused by the movement of the robot during the swinging process.

[0193] 2. The two CMGs are symmetrically arranged and rotate in opposite directions. The interference direction torques generated cancel each other out, leaving only the pitch direction torque. This can quickly eliminate the interference of the external overturning torque, maintain the stability of the robot's pitch angle, and achieve the robot's attitude control.

[0194] 3. The two CMGs are symmetrically arranged and rotate in opposite directions. The interference direction torques generated cancel each other out, leaving only the pitch direction torque. The pitch direction torque can drive the robot to tilt rapidly, and cooperate with the acceleration / deceleration control of the hub motor to realize the rapid acceleration and emergency stop functions of the robot.

[0195] 4. When the humanoid robot is on a bumpy road or falling, the vertical vibration of the robot can be suppressed through the humanoid robot's leg joint motor or spring shock-absorbing structure to maintain the robot's posture stable.

[0196] 5. When CMGs are in a saturated state, they cannot generate pitch torque. The inverted pendulum control algorithm is used to drive the wheel hub motor and adjust the robot's inclination angle to put it in an unbalanced state, thereby driving the CMGs back to the center.

[0197] For the purpose of illustration, the foregoing description of the embodiments of the present invention has been given, which is not exhaustive nor intended to limit the present invention to the disclosed exact form. It will be appreciated by those skilled in the art that various changes can be made without departing from the scope of the present invention, and that the elements therein can be replaced with equivalents. In addition, without departing from the basic scope of the present invention, many modifications can be made so that specific situations or materials are adapted to the teachings of the present invention. Therefore, the present invention is not intended to be limited to the specific embodiments disclosed as the best mode for realizing the present invention, and the present invention will include all embodiments falling within the scope of the appended claims.

Claims

1. A humanoid robot motion mechanism, characterized in that: The humanoid robot motion mechanism includes a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, an inclination sensor, a steering angular velocity sensor, a speed closed-loop controller, a control moment gyroscope closed-loop controller, an upright closed-loop controller and a steering closed-loop controller, wherein: The two wheels are arranged side by side in left and right relation to the direction of travel, and the wheel hub motor is used to drive the wheels to travel and turn; The two control moment gyroscopes are installed inside the frame and arranged symmetrically, the internal flywheel axes are perpendicular to the travel direction and parallel to the vertical direction in a balanced state, each control moment gyroscope extends two support shafts respectively in front and behind along the travel direction, the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions; The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is in the same direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip around their respective axes in opposite directions to each other, thereby driving the two control torque gyroscopes to flip in opposite directions to each other; The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg connecting rods; The speed sensor is used to sense the current speed of the motion mechanism of the humanoid robot; The inclination sensor is used to sense the current inclination of the motion mechanism of the humanoid robot; The steering angular velocity sensor is used to sense the current steering angular velocity of the motion mechanism of the humanoid robot; The speed closed-loop controller is used to receive a speed control command, and determine a target inclination angle of the motion mechanism of the humanoid robot according to a target speed specified in the speed control command and the current speed; The upright closed-loop controller is used to determine the hub motor control torque according to the target inclination angle, the mechanical zero point, and the current inclination angle; The steering closed-loop controller is used to receive a steering control command, determine a steering angle error according to a target angular velocity specified by the steering control command and the current steering angular velocity, and determine a hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; The control moment gyro closed-loop controller is used to determine the servo motor control torque according to the current inclination angle, the mechanical zero point and the target inclination angle.

2. The humanoid robot motion mechanism according to claim 1, characterized in that: The humanoid robot motion mechanism also includes a control moment gyro flip angle sensor and a control moment gyro recovery ring controller. The control moment gyro flip angle sensor is used to sense the current flip angle of the control moment gyro; The control moment gyro recovery ring controller is used to determine the inclination angle required for the control moment gyro to recover according to the current flip angle when the current flip angle exceeds a predetermined flip angle threshold; The upright closed-loop controller is also used to determine the hub motor control torque according to the target inclination angle, the mechanical zero point, the current inclination angle, and the inclination angle required for the control moment gyro to restore.

3. The humanoid robot motion mechanism according to claim 1, characterized in that: The flywheel rotation speeds of the two control moment gyroscopes are the same, and the flip angles and angular velocities of the two control moment gyroscopes are the same.

4. The humanoid robot motion mechanism according to claim 1, characterized in that: The humanoid robot motion mechanism further comprises a loading platform, and the loading platform is arranged on the top of the frame.

5. A humanoid robot, characterized in that: The humanoid robot comprises a humanoid robot motion mechanism according to any one of claims 1-4.

6. A method for controlling a motion mechanism of a humanoid robot, characterized in that: The humanoid robot motion mechanism includes a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, a tilt sensor and a steering angular velocity sensor, wherein: The two wheels are arranged side by side in left and right relation to the direction of travel, and the wheel hub motor is used to drive the wheels to travel and turn; The two control moment gyroscopes are installed inside the frame and arranged symmetrically, the internal flywheel axes are perpendicular to the travel direction and parallel to the vertical direction in a balanced state, each control moment gyroscope extends two support shafts respectively in front and behind along the travel direction, the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions; The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is in the same direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip around their respective axes in opposite directions to each other, thereby driving the two control torque gyroscopes to flip in opposite directions to each other; The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg connecting rods; The speed sensor is used to sense the current speed of the motion mechanism of the humanoid robot; The inclination sensor is used to sense the current inclination of the motion mechanism of the humanoid robot; The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism. The method comprises: receiving a speed control command through a speed closed-loop controller, and determining a target inclination angle of the motion mechanism of the humanoid robot according to a target speed specified in the speed control command and the current speed; Determine the hub motor control torque according to the target inclination angle, the mechanical zero point, and the current inclination angle by an upright closed-loop controller; receiving a steering control command through a steering closed-loop controller, determining a steering angle error according to a target angular velocity specified by the steering control command and the current steering angular velocity, and determining a hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; The control moment gyro closed-loop controller is used to determine the servo motor control torque according to the current inclination angle, the mechanical zero point and the target inclination angle.

7. The method according to claim 6, characterized in that The humanoid robot motion mechanism further includes a control moment gyro flip angle sensor for sensing a current flip angle of the control moment gyro. The method further comprises: When the current flip angle exceeds a predetermined flip angle threshold, the control moment gyro recovery ring controller determines the required tilt angle for the control moment gyro to recover according to the current flip angle; The hub motor control torque is determined by an upright closed-loop controller according to the target inclination angle, the mechanical zero point, the current inclination angle, and the inclination angle required for the control moment gyro to restore.

8. A method for controlling a motion mechanism of a humanoid robot, characterized in that: The humanoid robot motion mechanism includes a frame, two control moment gyroscopes, a servo motor, two wheels and their hub motors, legs, a speed sensor, a tilt sensor and a steering angular velocity sensor, wherein: The two wheels are arranged side by side in left and right relation to the direction of travel, and the wheel hub motor is used to drive the wheels to travel and turn; The two control moment gyroscopes are installed inside the frame and arranged symmetrically, the internal flywheel axes are perpendicular to the travel direction and parallel to the vertical direction in a balanced state, each control moment gyroscope extends two support shafts respectively in front and behind along the travel direction, the two support shafts are supported on the frame, and the flywheels of the two control moment gyroscopes rotate in opposite directions; The servo motor is fixed on one side of the support shaft, and the axis of the servo motor is in the same direction of travel, and is used to apply a precession torque to the support shaft to make the two support shafts flip around their respective axes in opposite directions to each other, thereby driving the two control torque gyroscopes to flip in opposite directions to each other; The legs are installed between the frame and the wheels, and the legs include spring shock absorbers and / or joint motors and leg connecting rods; The speed sensor is used to sense the current speed of the motion mechanism of the humanoid robot; The inclination sensor is used to sense the current inclination of the motion mechanism of the humanoid robot; The steering angular velocity sensor is used to sense the current steering angular velocity of the humanoid robot motion mechanism. The method is executed by a processor, and the method includes: receiving a speed control command, and determining a target inclination angle of the motion mechanism of the humanoid robot according to a target speed specified in the speed control command and the current speed; Determine the hub motor control torque according to the target inclination angle, the mechanical zero point, and the current inclination angle; receiving a steering control command, determining a steering angle error according to a target angular velocity specified by the steering control command and the current steering angular velocity, and determining a hub motor correction torque according to the steering angle error, wherein the hub motor correction torque and the hub motor control torque are used together to control the hub motor; The servo motor control torque is determined according to the current inclination angle, the mechanical zero point and the target inclination angle.

9. The method according to claim 8, characterized in that The humanoid robot motion mechanism further includes a control moment gyro flip angle sensor for sensing a current flip angle of the control moment gyro. The method further comprises: When the current flip angle exceeds a predetermined flip angle threshold, determining the inclination angle required for the control moment gyro to recover according to the current flip angle; The hub motor control torque is determined according to the target inclination angle, the mechanical zero point, the current inclination angle, and the inclination angle required for the control moment gyro to restore.

10. A device for controlling the motion mechanism of a humanoid robot, characterized in that: The device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method for controlling the motion mechanism of a humanoid robot according to any one of claims 8 to 9 is implemented.