Two-wheeled mobile robot walking mechanism and stability control method thereof

Through the combination of a low center of gravity walking mechanism and an inertial flywheel mechanism, the autonomous balance and stable control of the two-wheeled mobile robot is achieved by using the center of gravity and the moment of inertia, which solves the problem of poor stability in the prior art and improves the structural stability and fault tolerance of the robot. reduces control system complexity and energy consumption.

CN118907272APending Publication Date: 2024-11-08HANGZHOU DIANZI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411213973.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-31
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing two-wheeled self-balancing mobile robots have poor structural stability, high control system stability requirements, large energy consumption, and low fault tolerance, making it difficult to maintain balance during frequent steering and posture adjustment.

Method used

The low center of gravity walking mechanism and inertial flywheel mechanism are adopted to adjust the driving force of the walking wheel and the rotation direction of the inertial flywheel, and use the center of gravity and moment of inertia to achieve independent balance and stable control, reducing the tilt amplitude of the chassis and reciprocating oscillation period.

Benefits of technology

It improves the structural stability and fault tolerance of the two-wheeled mobile robot, reduces the complexity and energy consumption of the control system, and enhances the robot's autonomous navigation capabilities in flat roads and narrow environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118907272A_ABST
    Figure CN118907272A_ABST
Patent Text Reader

Abstract

The invention relates to a walking mechanism of a two-wheeled mobile robot and a stability control method of the walking mechanism, and the walking mechanism comprises a shell which comprises an upper shell and a lower shell, and the lower shell is internally and fixedly connected with a supporting assembly; the low-gravity-center walking mechanism comprises a pair of walking wheels, and the walking wheels are mounted on the lower shell through driving shaft mounting holes; the walking wheel transmission mechanism consists of a synchronous belt driving wheel, a synchronous belt and a synchronous belt driven wheel; the walking wheel driving motor is fixedly connected with the supporting assembly, is connected with the synchronous belt wheel driving wheel through a connecting key for transmission, and is connected with the synchronous belt wheel driving wheel through a positioning pin; the inertia flywheel mechanism is composed of an inertia flywheel, an encoder motor and an encoder motor base, and the two-wheeled mobile robot walking mechanism and the stability control method thereof aim at solving the problems that an existing two-wheeled self-balancing mobile robot is poor in structural stability, and the requirement for the stability of a control system is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a two-wheel mobile robot walking mechanism and a stable control method thereof, belonging to the technical field of mobile robots. Background Art

[0002] With the continuous expansion of artificial intelligence technology and the scope of human activities, robots, especially mobile robots, have an extremely wide market in the fields of inspection, security, scene explanation, etc. These scenes have relatively flat roads, but narrow spaces and changeable environments, requiring robots to be able to frequently turn and adjust their postures. As a branch of mobile robots, two-wheeled mobile robots have the characteristics of simple structure, small size, flexible movement, and zero turning radius.

[0003] Most existing two-wheeled self-balancing mobile robots adopt an inverted pendulum structure, such as patents CN219916227U and CN217994684U. This structure is similar to an inverted pendulum, with its center above the wheel axle of the mobile robot, and it is top-heavy and light-footed. It controls its own balance by controlling the acceleration and deceleration of the wheels. Specifically, when the robot tilts forward as a whole, the forward tilt can be reduced by giving the two wheels the same forward acceleration. Similarly, when the robot tilts backward as a whole, the backward tilt can be reduced by giving the two wheels the same backward acceleration. A mobile robot using this structure requires that it moves while maintaining its own balance by adjusting the wheel acceleration in real time. If the balance cannot be adjusted in time, it may cause the entire robot to tip over. It has the disadvantages of high control system stability requirements, high energy consumption, and low fault tolerance. Summary of the invention

[0004] In order to overcome the deficiencies of existing research, the present invention provides a two-wheeled mobile robot walking mechanism and a stable control method thereof to solve the problems of poor structural stability and high requirements on control system stability of the current two-wheeled self-balancing mobile robot.

[0005] A two-wheeled mobile robot walking mechanism comprises:

[0006] Shell: It includes an upper shell and a lower shell, and a support assembly is fixedly connected inside the lower shell; the support assembly has sufficient rigidity, and while playing the role of fixing the motor, it makes the interior of the lower shell flat "mouth" shape, improves the force structure of the simply supported beam, and prevents the support assembly from deforming during the driving process of the two motors, causing the plane where the two walking wheels are located to be "eight" shaped, affecting the motion control accuracy;

[0007] Low-center-of-gravity walking mechanism: includes a pair of walking wheels coaxially arranged on the left and right sides of the lower shell, the walking wheels are installed on the lower shell through the drive shaft mounting hole, and the position of the drive shaft mounting hole is located directly above the center of gravity of the entire walking mechanism; a stable low-center-of-gravity walking mechanism is realized; this design utilizes the characteristic that the center of gravity is lower than the axis of the wheel, so that when the walking mechanism swings during walking, and because the walking mechanism is affected by gravity, the gravity will exert a force on the walking mechanism, forming a restoring torque opposite to the swinging direction, so that the walking mechanism can autonomously adjust the balance and avoid overturning;

[0008] When the traveling mechanism is traveling, torque is applied to the traveling wheel, causing it to rotate and thus drive the traveling mechanism to move. At the same time, the traveling wheel will generate a reaction force on the lower shell, which will cause the lower shell to swing. To ensure that the lower shell can swing within a small range, the restoring torque M of the chassis must be satisfied when the chassis is at the maximum swing angle. 回 It is greater than the reaction torque M generated by the rotation of the walking wheel. That is: M = G × Lsinθ > M. At this time, the walking mechanism can walk stably within a small range of swing angles without causing the chassis to flip;

[0009] Travel wheel transmission mechanism: It is composed of a synchronous belt driving wheel, a synchronous belt and a synchronous belt driven wheel; the driving wheel has a smaller diameter than the driven wheel, which has the effect of reducing speed and increasing driving force.

[0010] Travel wheel driving motor: drives the travel wheel to roll through the travel wheel transmission mechanism, is fixedly connected to the support assembly, is connected to the synchronous belt pulley driving wheel through a connecting key for transmission, and is connected to the synchronous belt pulley driving wheel through a positioning pin;

[0011] Inertial flywheel mechanism: It is composed of an inertial flywheel, an encoder motor, and an encoder motor seat. The inertial flywheel is fixedly connected to the output shaft of the encoder motor, and the end of the encoder motor is fixedly connected to the support assembly through the encoder motor seat. The inertial flywheel mechanism is longitudinally arranged inside the lower shell. The structural diagram is as shown in the attached figure. Figure 3 As shown, the balance control of the forward and backward swing is realized;

[0012] and control systems.

[0013] The upper shell is used to install sensors such as laser radar, and the lower shell is used to install the walking wheel and the walking wheel transmission mechanism, walking wheel drive motor, support assembly, inertial flywheel mechanism, etc. inside the shell.

[0014] The control system comprises:

[0015] Power supply: used to supply power to all devices inside the walking mechanism;

[0016] Host computer: used to receive information sent by the laser radar, perform data processing, and be used for positioning, mapping, navigation, and sending instructions to the control chip STM32;

[0017] The first STM32: is used to receive the instructions sent by the host computer, and control the speed and direction of the brushless DC motor by controlling the drive module 05 of the brushless DC motor to realize the motion control of the walking mechanism;

[0018] The second STM32: is used to receive the instructions sent by the host computer, and obtain the posture information sent by MPU605004 in real time, and perform data analysis through the PID algorithm to obtain the speed, direction and other information required by the encoder motor. By controlling the drive module 05 that drives the encoder motor, the speed and direction of the encoder motor are controlled to achieve stable control of the walking mechanism;

[0019] MPU6050: used to read the angle, angular velocity and angular acceleration information of the current walking mechanism;

[0020] LiDAR: used to obtain current environmental information and upload it to the host computer in real time.

[0021] The upper shell is connected to a laser radar via a laser radar support.

[0022] The side of the lower shell is provided with a center of gravity adjustment groove and a center of gravity adjustment mass block for adjusting the mass size and center of gravity position of the entire mechanism and making the center of gravity directly below the axis of the two wheels.

[0023] The weight of the inertia flywheel is evenly distributed on the circumferential edge and the center of gravity is located on both sides of the flywheel axis.

[0024] A stable control method for the walking mechanism of a two-wheeled mobile robot. The host computer obtains laser radar information for path planning, sends speed and direction information to the control chip, and then controls the walking mechanism to move forward, backward and turn by controlling the rotation direction and speed of the two walking wheel drive motors, thereby achieving movement according to the planned trajectory.

[0025] When the travel wheel drive motor applies forward driving force to the two wheels, the two wheels move forward and cause the center of gravity to tilt forward. The attitude sensor detects the tilt angle in real time. When the tilt angle is greater than the set threshold, the motor driving force is reduced, and the restoring torque generated by the forward tilt of the center of gravity is used to restore the shell to a balanced position, and the center of gravity returns to the bottom of the two wheel axes to prevent the shell from overturning:

[0026] When the two wheels are started and accelerated, the rotation direction of the inertia flywheel is controlled to generate an inertia moment that is the same as the restoring moment;

[0027] When the two wheels stop and slow down, the rotation direction of the inertia flywheel is controlled to generate an inertia moment opposite to the restoring moment, which reduces the tilt amplitude of the housing and the reciprocating oscillation period of the housing, thereby improving the stability of the walking mechanism movement.

[0028] When the walking mechanism of the mobile robot starts or has forward acceleration, the center of gravity of the robot tends to lean forward, the encoder motor on the left rotates counterclockwise, the encoder motor on the right rotates clockwise, and the inertia flywheels on both sides rotate backward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , and the restoring moment M 回 Working together to offset the reaction torque M 反 , reduce the tilt amplitude of the shell and shorten the reciprocating oscillation period of the shell, thereby improving the stability of the walking mechanism movement.

[0029] When the walking mechanism of the mobile robot stops or has a backward acceleration, the center of gravity of the robot tends to swing backward. At this time, the encoder motor on the left rotates clockwise, the encoder motor on the right rotates counterclockwise, and the inertial flywheels on both sides rotate forward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , offset the restoring moment M 回 and reaction torque M 反 , reduce the tilt amplitude of the shell and shorten the reciprocating oscillation period of the shell, thereby improving the stability of the walking mechanism movement.

[0030] When the mobile robot moves at a constant speed, the restoring torque M 回 The inertia flywheel provides a torque M 飞轮 The combined force and reaction moment M 反 The equal sizes and opposite directions keep the robot balanced.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The walking mechanism of the two-wheeled mobile robot adopts a low-center-of-gravity walking mechanism. The center of gravity of the walking mechanism is lower than the height of the wheel axle. The structure has good stability and autonomous balance, which reduces the complexity of the control system, is conducive to the balance control of the mobile robot, improves the fault tolerance of the two-wheeled self-balancing mobile robot, and reduces the possibility of overturning.

[0033] The walking mechanism of the two-wheeled mobile robot adopts a low-center-of-gravity walking mechanism, and components are arranged inside the lower shell. The two ends of the motor support structure are fixedly connected to the chassis. The support components have sufficient rigidity. While playing the role of fixing the motor, the interior of the lower shell is flat in the shape of a "mouth", improving the force structure of the simply supported beam, and preventing the support components from deforming during the driving process of the two motors, causing the plane where the two walking wheels are located to be in the shape of an "eight", affecting the motion control accuracy.

[0034] The walking mechanism of the two-wheeled mobile robot adopts a separate balancing mechanism, and the movement and balance are independently controlled, which solves the problem that it is difficult for the traditional two-wheeled inverted pendulum mechanism to maintain balance by controlling the movement of two wheels, reduces the requirements for the complexity of the control system, improves the stability of the control system, and is conducive to the realization of autonomous navigation of the two-wheeled mobile robot BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 The invention discloses a two-wheeled mobile robot walking mechanism and a low-center-of-gravity walking mechanism of the same.

[0037] Figure 2 The present invention discloses a two-wheeled mobile robot walking mechanism and a stable control method thereof, and an autonomous balancing principle diagram of a low-center-of-gravity walking mechanism.

[0038] Figure 3 The present invention discloses a simplified structural diagram of a two-wheeled mobile robot walking mechanism equipped with an inertial flywheel mechanism and a supporting assembly.

[0039] Figure 4 It is a schematic diagram of an embodiment of a walking mechanism of a two-wheeled mobile robot disclosed in the present invention.

[0040] Figure 5 It is a schematic diagram of a supporting assembly of a walking mechanism of a two-wheeled mobile robot disclosed in the present invention.

[0041] Figure 6 The invention discloses a schematic structural diagram of a supporting component and a lower shell of a two-wheeled mobile robot walking mechanism after assembly.

[0042] Figure 7 The invention discloses a schematic structural diagram of a two-wheeled mobile robot walking mechanism support component, a walking wheel driving motor and an inertial flywheel mechanism after being assembled.

[0043] Figure 8 yes Figure 7 Top view of the .

[0044] Fig. 9 The invention discloses an axonometric diagram of a walking wheel, a lower shell and internal components of a walking mechanism of a two-wheeled mobile robot after assembly.

[0045] Fig.10 It is the center of gravity adjustment groove and the additional mass block arranged on the side of the lower shell.

[0046] Fig.11 The invention discloses a hardware composition and control logic block diagram of a two-wheel mobile robot walking mechanism and a stable control method thereof.

[0047] Fig.12 The invention discloses a forward and backward control method for a walking mechanism of a two-wheeled mobile robot.

[0048] Fig.13 The invention discloses a left-turn control method and effect of a walking mechanism of a two-wheeled mobile robot.

[0049] Fig.14 The invention discloses a right turn control method and effect of a walking mechanism of a two-wheeled mobile robot.

[0050] Fig.15 The invention discloses a stable control method principle of a walking mechanism of a two-wheeled mobile robot.

[0051] In the figure: 100-upper shell; 110-laser radar; 120-laser radar support; 130-upper cover; 200-lower shell; 201-drive shaft mounting hole; 202-center of gravity adjustment slot; 203-center of gravity adjustment mass block; 210-support assembly; 220-walking wheel; 230-power isolation plate; 310-drive shaft; 320-bearing seat; 330-synchronous belt pulley driven wheel; 340-synchronous belt; 350-synchronous belt pulley driving wheel; 351-locating pin; 352-connecting key; 360-DC brushless reduction motor; 410-inertia flywheel; 420-encoder motor; 430-encoder motor seat; 00-power supply; 01-host computer; 02-first STM32; 03-second STM32; 04-MPU6050; 05-first drive module; 06-second drive module. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] like Figures 4 to 15As shown, a two-wheeled mobile robot walking mechanism and a stability control method thereof are provided as an embodiment of the present invention, wherein the walking mechanism includes: an upper shell 100 and a laser radar 110, wherein the upper shell 100 and the laser radar 110 are connected via a laser radar support 120; an upper cover 130 is connected to the upper shell 100 for easy disassembly; and the upper shell 100 is connected to the lower shell 200.

[0054] Support component structure such as Figure 5 As shown, the support assembly 210 is fixedly connected to the lower housing 200. Figure 6 shown.

[0055] The walking wheel driving motor adopts a DC brushless reduction motor 360, and the DC brushless reduction motor 360 is fixedly connected to the support assembly 210. Figure 8 As shown, the brushless DC reduction motor 360 is connected to the synchronous belt pulley driving wheel 350 through a connecting key 352 for transmission, and is connected to the synchronous belt pulley driving wheel 350 through a positioning pin 351 to prevent axial displacement between the synchronous belt pulley driving wheel 350 and the brushless DC reduction motor 360, thereby affecting transmission.

[0056] like Figure 8 As shown, the inertial flywheel mechanism is coaxially matched and fixedly connected with the mounting hole inside the support assembly 210, and the inertial flywheel mechanism is composed of an inertial flywheel 410, an encoder motor 420, and an encoder motor seat 430. The inertial flywheel 410 is fixedly connected to the output shaft of the encoder motor 420, and the end of the encoder motor 420 is fixedly connected to the support assembly 210 through the encoder motor seat 430 to prevent displacement.

[0057] like Figure 6 As shown, a drive shaft mounting hole 201 and a center of gravity adjustment slot 202 are provided on both sides of the lower shell. Fig. 9 As shown, a bearing seat 320 is installed inside the lower shell to assemble the drive shaft 310, and the walking wheel 220 is fixedly connected to the drive shaft 310. The drive shaft mounting holes 201 on both sides are coaxially arranged and located directly above the center of gravity of the walking mechanism.

[0058] like Fig. 9 One end of the driving shaft is fixedly connected to the synchronous belt pulley driving wheel 330, and the synchronous belt pulley driven wheel 330 and the synchronous belt pulley driving wheel 350 are driven by the synchronous belt 340 to achieve a precise transmission ratio and improve the driving force.

[0059] The walking mechanism control system includes:

[0060] Power supply 00: used to supply power to all devices inside the walking mechanism;

[0061] Host computer 01: used to receive information sent by the laser radar, perform data processing, and be used for positioning, mapping, navigation, and sending instructions to the control chip STM32;

[0062] The first STM3202 is used to receive the instructions sent by the host computer, and control the speed and direction of the brushless DC motor by controlling the drive module 05 of the brushless DC motor to realize the motion control of the walking mechanism;

[0063] The second STM3203 is used to receive the instructions sent by the host computer, and obtain the posture information sent by the MPU605004 in real time. The data is solved by the PID algorithm to obtain the speed, direction and other information required by the encoder motor. The first drive module 05 and the second drive module 06 that drive the encoder motor are controlled to control the speed and direction of the encoder motor to achieve stable control of the walking mechanism.

[0064] MPU605004: used to read the angle, angular velocity and angular acceleration information of the current walking mechanism;

[0065] Laser radar 06: used to obtain current environmental information and upload it to the host computer in real time;

[0066] The hardware composition and control logic of the stable control method are as follows: Fig. 9 As shown;

[0067] In this implementation case, the walking wheel, the walking wheel transmission mechanism, the walking wheel drive motor, the support assembly, the inertial flywheel mechanism, and the housing are assembled, the walking mechanism control system hardware is correctly connected, and the center of gravity of the chassis is adjusted to below the wheel axle by adding or subtracting the mass block in the center of gravity adjustment slot. The DC brushless reduction motor 360 can drive the walking wheel 220 to rotate through the transmission mechanism, and the left and right walking wheels rotate to drive the robot to move; the encoder motor 420 drives the inertial flywheel 410 to adjust the balance of the robot;

[0068] like Fig.12 As shown, when the mobile robot moves forward, the left brushless DC reduction motor rotates counterclockwise, and the right brushless DC reduction motor rotates clockwise. The two brushless DC reduction motors move at the same speed at the same time, ensuring that the left and right wheels rotate forward at the same speed at the same time, and the robot moves in a straight line.

[0069] On the contrary, when the mobile robot moves backward, the left brushless DC reduction motor rotates clockwise, and the right brushless DC reduction motor rotates counterclockwise. The two brushless DC reduction motors move at the same speed at the same time, ensuring that the left and right tires rotate at the same speed at the same time, and the robot moves in a straight line.

[0070] When the mobile robot turns left, the control method is as follows Fig.13As shown, specifically:

[0071] Solution 1: The left brushless DC reduction motor does not rotate, and the right brushless DC reduction motor rotates clockwise. At this time, the left wheel does not move, and the right wheel moves forward. The robot moves in a counterclockwise circular motion with the contact point between the left wheel and the ground as the center and the wheelbase as the radius. The linear speed is equal to that of the right wheel.

[0072] Solution 2: The left brushless DC reduction motor rotates counterclockwise, and the right brushless DC reduction motor rotates clockwise. The speed of the left brushless DC reduction motor is lower than that of the right brushless DC reduction motor. At this time, the left wheel moves forward at a lower speed, and the right wheel moves forward at a higher speed. The robot moves to the left front.

[0073] Solution 3: The left brushless DC reduction motor rotates clockwise, and the right brushless DC reduction motor rotates clockwise. At this time, the left wheel moves backward, the right wheel moves forward, and the robot turns left. When the speeds of the two brushless DC reduction motors are the same, the robot rotates around the center point to achieve a zero turning radius and turn left.

[0074] Solution 4: The left brushless DC reduction motor rotates clockwise, and the right brushless DC reduction motor does not rotate. At this time, the left wheel moves backward, and the right wheel does not rotate. The robot moves in a counterclockwise circular motion with the contact point between the right wheel and the ground as the center and the wheelbase as the radius. The linear speed is equal to that of the left wheel.

[0075] When the mobile robot turns right, the control method is as follows Fig.14 As shown, specifically:

[0076] Solution 1: The left brushless DC reduction motor rotates counterclockwise, the right brushless DC reduction motor does not rotate, the left wheel moves forward, and the right wheel does not move. The robot moves in a clockwise circular motion with the right wheel contacting the ground as the center and the wheelbase as the radius, and the linear speed is equal to that of the left wheel.

[0077] Solution 2: The left brushless DC reduction motor rotates counterclockwise, and the right brushless DC reduction motor rotates clockwise. The speed of the left brushless DC reduction motor is greater than that of the right brushless DC reduction motor. At this time, the left wheel moves forward at a higher speed, and the right wheel moves forward at a lower speed. The robot moves to the right front.

[0078] Solution 3: The left brushless DC reduction motor rotates counterclockwise, and the right brushless DC reduction motor rotates counterclockwise. At this time, the left wheel moves forward, the right wheel moves backward, and the robot turns right. When the speeds of the two brushless DC reduction motors are the same, the robot rotates around the center point to achieve a zero turning radius and turn right.

[0079] Solution 4: The left brushless DC reduction motor does not rotate, and the right brushless DC reduction motor rotates counterclockwise. At this time, the left wheel does not rotate, and the right wheel rotates backward. The robot moves in a clockwise circular motion with the contact point of the left wheel and the ground as the center and the wheelbase as the radius. The linear velocity is equal to that of the right wheel.

[0080] When the robot's walking mechanism is started or has forward acceleration, the robot's center of gravity tends to tilt forward. At this time, the left encoder motor rotates counterclockwise, the right encoder motor rotates clockwise, and the inertial flywheels on both sides rotate backward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , and the restoring moment M 回 Working together to offset the reaction torque M 反 , reduce the tilt amplitude of the shell and reduce the reciprocating oscillation period of the shell, and improve the stability of the walking mechanism;

[0081] When the robot's walking mechanism stops or has a backward acceleration, the robot's center of gravity tends to swing backward. At this time, the left encoder motor rotates clockwise, the right encoder motor rotates counterclockwise, and the inertial flywheels on both sides rotate forward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , offset the restoring moment M 回 and reaction torque M 反 , reduce the tilt amplitude of the shell and reduce the reciprocating oscillation period of the shell, and improve the stability of the walking mechanism;

[0082] When the mobile robot moves at a constant speed, the restoring torque M 反 The inertia flywheel provides a torque M 飞轮 The combined force and reaction moment M 反 The equal sizes and opposite directions keep the robot balanced.

[0083] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations of these embodiments are made without departing from the principles and spirit of the present invention, and still fall within the scope of protection of the present invention.

Claims

1. A two-wheeled mobile robot walking mechanism, characterized in that: include: Shell: including an upper shell and a lower shell, wherein a support assembly is fixedly connected inside the lower shell; Low-center-of-gravity walking mechanism: comprising a pair of walking wheels coaxially arranged on the left and right sides of the lower housing, the walking wheels being mounted on the lower housing through a drive shaft mounting hole, and the drive shaft mounting hole being located just above the center of gravity of the entire walking mechanism; Travel wheel transmission mechanism: It is composed of a synchronous belt driving wheel, a synchronous belt and a synchronous belt driven wheel; Travel wheel driving motor: drives the travel wheel to roll through the travel wheel transmission mechanism, is fixedly connected to the support assembly, is connected to the synchronous belt pulley driving wheel through a connecting key for transmission, and is connected to the synchronous belt pulley driving wheel through a positioning pin; Inertia flywheel mechanism: It is composed of an inertia flywheel, an encoder motor, and an encoder motor seat. The inertia flywheel is fixedly connected to the output shaft of the encoder motor, and the end of the encoder motor is fixedly connected to the support assembly through the encoder motor seat. and control systems.

2. A two-wheeled mobile robot walking mechanism according to claim 1, characterized in that: The control system comprises: Power supply: used to supply power to all devices inside the walking mechanism; Host computer: used to receive information sent by the laser radar, perform data processing, and be used for positioning, mapping, navigation, and sending instructions to the control chip STM32; The first STM32: is used to receive instructions sent by the host computer, and to control the speed and direction of the brushless DC motor by controlling the drive module of the brushless DC motor to achieve motion control of the walking mechanism; The second STM32: is used to receive the instructions sent by the host computer, and obtain the posture information sent by the MPU6050 in real time. The data is solved by the PID algorithm to obtain the speed, direction and other information required by the encoder motor. By controlling the drive module of the encoder motor, the speed and direction of the encoder motor are controlled to achieve stable control of the walking mechanism. MPU6050: used to read the angle, angular velocity and angular acceleration information of the current walking mechanism; LiDAR: used to obtain current environmental information and upload it to the host computer in real time.

3. The walking mechanism of a two-wheeled mobile robot according to claim 1, characterized in that: The upper shell is connected to a laser radar via a laser radar support.

4. The walking mechanism of a two-wheeled mobile robot according to claim 1, characterized in that: The side of the lower shell is provided with a center of gravity adjustment groove and a center of gravity adjustment mass block for adjusting the mass size and center of gravity position of the entire mechanism and making the center of gravity directly below the axis of the two wheels.

5. The walking mechanism of a two-wheeled mobile robot according to claim 1, characterized in that: The weight of the inertia flywheel is evenly distributed on the circumferential edge and the center of gravity is located near the flywheel axis.

6. A method for stabilizing the walking mechanism of a two-wheeled mobile robot according to claims 1-5, characterized in that: The host computer obtains the laser radar information for path planning, sends the speed and direction information to the control chip, and then controls the forward, backward and steering of the walking mechanism by controlling the rotation direction and speed of the two walking wheel drive motors, thereby realizing movement according to the planned trajectory; When the two wheels are started and accelerated, the rotation direction of the inertia flywheel is controlled to generate an inertia moment that is the same as the restoring moment; When the two wheels stop and slow down, the rotation direction of the inertia flywheel is controlled to generate an inertia moment opposite to the restoring moment, thereby reducing the tilt amplitude of the housing and the reciprocating oscillation period of the housing, thereby improving the stability of the walking mechanism movement.

7. The method for stabilizing the walking mechanism of a two-wheeled mobile robot according to claim 6, characterized in that: When the walking wheel drive motor applies forward driving force to the two wheels, the two wheels move forward and cause the center of gravity to tilt forward. The posture sensor detects the inclination angle in real time. When the inclination angle is greater than the set threshold, the motor driving force is reduced, and the restoring torque generated by the forward tilt of the center of gravity is used to restore the shell to a balanced position, and the center of gravity returns to directly below the axis of the two wheels to prevent the shell from overturning.

8. The method for stabilizing the walking mechanism of a two-wheeled mobile robot according to claim 7, characterized in that: When the walking mechanism of the mobile robot starts or has forward acceleration, the center of gravity of the robot tends to lean forward, the encoder motor on the left rotates counterclockwise, the encoder motor on the right rotates clockwise, and the inertia flywheels on both sides rotate backward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , and the restoring moment M 回 Working together to offset the reaction torque M 反 , reduce the tilt amplitude of the shell and shorten the reciprocating oscillation period of the shell, thereby improving the stability of the walking mechanism movement.

9. The method for stabilizing the walking mechanism of a two-wheeled mobile robot according to claim 7, characterized in that: When the walking mechanism of the mobile robot stops or has a backward acceleration, the center of gravity of the robot tends to swing backward. At this time, the encoder motor on the left rotates clockwise, the encoder motor on the right rotates counterclockwise, and the inertial flywheels on both sides rotate forward at the same time, providing the robot body with a reaction torque M 反 The opposite moment M 飞轮 , offset the restoring moment M 回 and reaction torque M 反 , reduce the tilt amplitude of the shell and shorten the reciprocating oscillation period of the shell, thereby improving the stability of the walking mechanism movement.

10. The method for stabilizing the walking mechanism of a two-wheeled mobile robot according to claim 7, characterized in that: When the mobile robot moves at a constant speed, the restoring torque M 回 The inertia flywheel provides a torque M 飞轮 Acting together, resultant moment and reaction moment M 反 The equal sizes and opposite directions keep the robot balanced.