Motion track control method of quadruped robot
Through the combination of deep reinforcement learning and dynamic models, sensors and smart cameras are used to optimize the motion trajectory of the quadruped robot, solving the problem of insufficient motion control in complex environments, improving adaptability and efficiency, and avoiding collisions with obstacles.
Patent Information
- Application Number
- CN202410401551.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology is difficult to effectively control the movement trajectory of quadruped robots, resulting in insufficient adaptability and movement efficiency in complex environments.
It uses deep reinforcement learning combined with dynamic models, uses sensors and smart cameras to obtain environmental information, plans and optimizes movement trajectories, and realizes real-time adjustments through protection instructions to avoid collisions with obstacles.
It improves the complex environment adaptability and movement efficiency of the quadruped robot, extends its service life, and avoids damage caused by collisions.
Smart Images

Figure CN118567347A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot motion control, and in particular to a motion trajectory control method for a quadruped robot. Background Art
[0002] With the continuous development and progress of science and technology, the application of robots is becoming more and more extensive. Robots can complete a large number of repetitive and tedious tasks in a short time, such as parts processing, handling, assembly, etc., which are more efficient than manual labor. At the same time, they can also reduce the error rate in the production process and improve production quality. At the same time, robots only require a one-time investment cost and a small amount of maintenance costs. Not only is it more stable in time, but it can also maximize the use of production resources and reduce production costs. Improving the working environment and ensuring safety are of great significance to the development of modern manufacturing.
[0003] There are many types of robots, and different types have different application scenarios and functional characteristics. Among them, walking robots are widely used, and walking robots include bipedal robots, quadrupedal robots and other types; the research purpose and significance of quadrupedal robots are mainly to improve the adaptability, carrying capacity and operation ability of complex environments, and to play an important role in the transportation of materials in the wild environment, environmental detection, disaster relief, etc. Therefore, how to better control the movement of quadrupedal robots is still a problem that needs to be studied. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a motion trajectory control method for a quadruped robot, which can not only realize the planning and optimization of the motion trajectory, but also better control the movement of the quadruped robot, protect itself from damage, and improve the adaptability to complex environments and the movement efficiency of the quadruped robot.
[0005] To achieve the above object, the present invention provides a motion trajectory control method of a quadruped robot, comprising the following steps:
[0006] Use sensors to obtain the current position and posture of the quadruped robot;
[0007] Use smart cameras to obtain global environmental information, perform initial environmental modeling, and obtain an initial model;
[0008] Using deep reinforcement learning to plan a motion trajectory on the initial model, and identifying and marking obstacles in the motion trajectory to obtain a global environment model, and generating corresponding protection instructions based on the global environment model and relevant information of the obstacles;
[0009] The motion trajectory is optimized in real time using a dynamic model, and the motion parameters are adjusted in real time to control the posture and motion trajectory of the quadruped robot.
[0010] Optionally, the specific process of using sensors to obtain the current position and current posture of the quadruped robot is as follows:
[0011] By analyzing the leg structure of the quadruped robot, the thigh length, the calf length and the angle between the thigh length and the calf length are obtained, and stored in a posture database;
[0012] The current position is obtained by combining with the GPS system and stored in a position database.
[0013] Optionally, the specific process of using a smart camera to obtain global environmental information and perform initial environmental modeling is as follows:
[0014] The smart camera is installed on the body of the quadruped robot, and the quadruped robot starts from the current position and walks in the actual environment to obtain image information of the actual environment;
[0015] Performing data processing using the image information of the actual environment, extracting characteristic landmark information of the actual environment, and saving the information in a characteristic database to obtain an initial environment model;
[0016] Identify and classify characteristic landmark information of the actual environment, and obtain the position, shape, and size of the characteristic landmark information.
[0017] Optionally, the specific process of using deep reinforcement learning to plan the motion trajectory and identify and mark obstacles in the motion trajectory to obtain the global environment model is as follows:
[0018] Based on the initial environment model, determine the starting point and end point of the motion trajectory of the quadruped robot and the edge of the actual environment, and then combine the characteristic landmark information to obtain the global motion trajectory of the actual environment;
[0019] When the quadruped robot walks along the global motion trajectory, it interacts with the actual environment in real time to obtain detailed information of the actual environment, and saves the detailed information of the actual environment to the feature database for updating in real time;
[0020] Acquire the position information of the quadruped robot in real time and save it in the position database for updating;
[0021] After the quadruped robot completes a walk, the global motion trajectory is replanned according to the updated feature database, the position database and the relevant information of the obstacle, and the obstacle is identified and marked to obtain the global environment model and the relevant information of the obstacle.
[0022] Optionally, the relevant information of the obstacle includes key information and physical information, the key information includes movable obstacles and immovable obstacles, and the physical information includes type, location, shape, size and hardness.
[0023] Optionally, the specific process of generating a corresponding protection instruction according to the global environment model and the relevant information of the obstacle is:
[0024] The danger coefficient of the obstacle is set according to the relevant information of the obstacle; the danger coefficient includes a first-level danger obstacle, a second-level danger obstacle and a third-level danger obstacle; the protection instruction includes a first-level protection instruction corresponding to the first-level danger obstacle, a second-level protection instruction corresponding to the second-level danger obstacle, and a third-level protection instruction corresponding to the third-level danger obstacle;
[0025] When the obstacle is identified as the non-movable obstacle, the obstacle is set as the first-level dangerous obstacle; the first-level protection instruction is used to perform an avoidance movement or a passing movement according to the relevant information of the obstacle and the current posture, and the passing movement is used to control the angle between the thigh length and the calf length so that the height of the machine leg is higher than the height of the obstacle, so as to enable the quadruped robot to pass through the obstacle; the avoidance movement is used to control the walking direction of the machine leg so that the quadruped robot walks around the side of the obstacle;
[0026] When the obstacle is identified as the movable obstacle, the obstacle is set as the secondary dangerous obstacle; the secondary protection instruction is used to perform evasive movement based on the relevant information of the obstacle and the current posture; the evasive movement is used to identify the movement direction of the obstacle through the smart camera, so that the movement direction of the quadruped robot is opposite to the movement direction of the obstacle.
[0027] Optionally, the specific process of optimizing the motion trajectory in real time using a dynamic model is as follows:
[0028] Based on the structure and movement mode of the quadruped robot, a geometric model and a kinematic model of the quadruped robot are established using a simulation tool to simulate the movement process of the quadruped robot and obtain dynamic parameters;
[0029] The actual environmental information obtained by the sensor and the smart camera is combined to analyze and optimize the movement process of the quadruped robot to achieve optimization of the movement trajectory.
[0030] Optionally, the motion parameters include the leg structure, motion speed, motion direction, number of motion steps, and motion time of the quadruped robot.
[0031] Optionally, the specific process of adjusting the motion parameters in real time and controlling the posture and motion trajectory of the quadruped robot is as follows:
[0032] The leg structure is adjusted by arranging a controller, a motor, a reducer and a telescopic rod on the leg joint of the robot leg. The reducer is used to drive the leg joint to rotate and adjust the angle between the thigh and the calf; the telescopic rod is respectively arranged on the thigh and the calf to adjust the length of the thigh and the calf to adjust the posture of the quadruped robot;
[0033] After the posture adjustment of the quadruped robot is completed, it walks according to the optimized motion trajectory.
[0034] The present invention discloses the following technical effects by providing a motion trajectory control method of a quadruped robot:
[0035] The present invention can plan and optimize the motion trajectory of the quadruped robot by combining deep reinforcement learning with a dynamic model; through intelligent cameras and sensors, it can perceive environmental information in real time, adjust the current posture and motion direction, and make the movement of the quadruped robot more flexible; through protection instructions, emergency avoidance can be achieved, the service life and environmental adaptability of the quadruped robot can be improved, and damage caused by collision can be avoided. In summary, the present invention can better control the motion trajectory of the quadruped robot, improve its adaptability to complex environments and the motion efficiency of the quadruped robot.
[0036] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] 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 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 labor.
[0038] Figure 1 A flow chart of a method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] 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.
[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0041] Figure 1 It is a flow chart of the method of the present invention, such as Figure 1 As shown, the present invention provides a motion trajectory control method for a quadruped robot, comprising the following steps:
[0042] Step 1: Use sensors to obtain the current position and posture of the quadruped robot. Specifically include:
[0043] By analyzing the leg structure of the quadruped robot, the thigh length, the calf length and the angle between the thigh length and the calf length are obtained, and stored in a posture database;
[0044] The current position is obtained by combining with the GPS system and stored in a position database.
[0045] Step 2: Use the smart camera to obtain global environment information, perform initial environment modeling, and obtain an initial model. Specifically include:
[0046] The smart camera is installed on the body of the quadruped robot, and the quadruped robot starts from the current position and walks in the actual environment to obtain image information of the actual environment;
[0047] Performing data processing using the image information of the actual environment, extracting characteristic landmark information of the actual environment, and saving the information in a characteristic database to obtain an initial environment model;
[0048] Identify and classify characteristic landmark information of the actual environment, and obtain the position, shape, and size of the characteristic landmark information.
[0049] Step 3: Use deep reinforcement learning to plan a motion trajectory on the initial model, identify and mark obstacles in the motion trajectory, obtain a global environment model, and generate corresponding protection instructions based on the global environment model and relevant information of the obstacles.
[0050] 1) Using deep reinforcement learning to plan the motion trajectory, and identifying and marking obstacles in the motion trajectory, the specific process of obtaining the global environment model is as follows:
[0051] Based on the initial environment model, determine the starting point and end point of the motion trajectory of the quadruped robot and the edge of the actual environment, and then combine the characteristic landmark information to obtain the global motion trajectory of the actual environment;
[0052] When the quadruped robot walks along the global motion trajectory, it interacts with the actual environment in real time to obtain detailed information of the actual environment, and saves the detailed information of the actual environment to the feature database for updating in real time;
[0053] Acquire the position information of the quadruped robot in real time and save it in the position database for updating;
[0054] After the quadruped robot completes a walk, the global motion trajectory is replanned according to the updated feature database, the position database and the relevant information of the obstacle, and the obstacle is identified and marked to obtain the global environment model and the relevant information of the obstacle.
[0055] 2) The relevant information of the obstacle includes key information and physical information, the key information includes movable obstacles and immovable obstacles, and the physical information includes type, location, shape, size and hardness.
[0056] 3) The specific process of generating corresponding protection instructions according to the global environment model and the relevant information of the obstacle is as follows:
[0057] The danger coefficient of the obstacle is set according to the relevant information of the obstacle; the danger coefficient includes a first-level danger obstacle, a second-level danger obstacle and a third-level danger obstacle; the protection instruction includes a first-level protection instruction corresponding to the first-level danger obstacle, a second-level protection instruction corresponding to the second-level danger obstacle, and a third-level protection instruction corresponding to the third-level danger obstacle;
[0058] When the obstacle is identified as the non-movable obstacle, the obstacle is set as the first-level dangerous obstacle; the first-level protection instruction is used to perform an avoidance movement or a passing movement according to the relevant information of the obstacle and the current posture, and the passing movement is used to control the angle between the thigh length and the calf length so that the height of the machine leg is higher than the height of the obstacle, so as to enable the quadruped robot to pass through the obstacle; the avoidance movement is used to control the walking direction of the machine leg so that the quadruped robot walks around the side of the obstacle;
[0059] When the obstacle is identified as the movable obstacle, the obstacle is set as the secondary dangerous obstacle; the secondary protection instruction is used to perform evasive movement based on the relevant information of the obstacle and the current posture; the evasive movement is used to identify the movement direction of the obstacle through the smart camera, so that the movement direction of the quadruped robot is opposite to the movement direction of the obstacle.
[0060] Step 4: Utilize the dynamics model to optimize the motion trajectory in real time, and adjust the motion parameters in real time to control the posture and motion trajectory of the quadruped robot. Specifically, it includes:
[0061] 1) The motion parameters include the leg structure, motion speed, motion direction, number of motion steps, and motion time of the quadruped robot.
[0062] 2) The specific process of optimizing the motion trajectory in real time using the dynamic model is as follows: based on the structure and motion mode of the quadruped robot, a geometric model and a kinematic model of the quadruped robot are established using a simulation tool, the motion process of the quadruped robot is simulated, and the dynamic parameters are obtained;
[0063] The actual environmental information obtained by the sensor and the smart camera is combined to analyze and optimize the movement process of the quadruped robot to achieve optimization of the movement trajectory.
[0064] 3) The specific process of adjusting the motion parameters in real time and controlling the posture and motion trajectory of the quadruped robot is as follows: the leg structure is adjusted by setting a controller, a motor, a reducer and a telescopic rod on the leg joints of the robot legs, the reducer is used to drive the leg joints to rotate and adjust the angle between the thigh and the calf; the telescopic rod is respectively set on the thigh and the calf to adjust the length of the thigh and the calf to adjust the posture of the quadruped robot;
[0065] After the posture adjustment of the quadruped robot is completed, it walks according to the optimized motion trajectory.
[0066] Therefore, the present invention provides a motion trajectory control method for a quadruped robot, which can not only realize the planning and optimization of the motion trajectory, but also better control the movement of the quadruped robot, protect itself from damage, and improve the adaptability of the quadruped robot to complex environments and the movement efficiency of the quadruped robot.
[0067] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0068] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A motion trajectory control method for a quadruped robot. It is characterized in that The following steps are involved: Use sensors to obtain the current position and posture of the quadruped robot; Use smart cameras to obtain global environmental information, perform initial environmental modeling, and obtain an initial model; Using deep reinforcement learning to plan a motion trajectory on the initial model, and identifying and marking obstacles in the motion trajectory to obtain a global environment model, and generating corresponding protection instructions based on the global environment model and relevant information of the obstacles; The motion trajectory is optimized in real time using a dynamic model, and the motion parameters are adjusted in real time to control the posture and motion trajectory of the quadruped robot.
2. The motion trajectory control method of a quadruped robot according to claim 1, It is characterized in that The specific process of using sensors to obtain the current position and posture of the quadruped robot is as follows: By analyzing the leg structure of the quadruped robot, the thigh length, the calf length and the angle between the thigh length and the calf length are obtained, and stored in a posture database; The current position is obtained by combining with the GPS system and stored in a position database.
3. The motion trajectory control method of a quadruped robot according to claim 2, It is characterized in that The specific process of using smart cameras to obtain global environmental information and perform initial environmental modeling is as follows: The smart camera is installed on the body of the quadruped robot, and the quadruped robot starts from the current position and walks in the actual environment to obtain image information of the actual environment; Performing data processing using the image information of the actual environment, extracting characteristic landmark information of the actual environment, and saving the information in a characteristic database to obtain an initial environment model; Identify and classify characteristic landmark information of the actual environment, and obtain the position, shape, and size of the characteristic landmark information.
4. The motion trajectory control method of a quadruped robot according to claim 3, It is characterized in that The specific process of using deep reinforcement learning to plan the motion trajectory, identify and mark obstacles in the motion trajectory, and obtain the global environment model is as follows: Based on the initial environment model, determine the starting point and end point of the motion trajectory of the quadruped robot and the edge of the actual environment, and then combine the characteristic landmark information to obtain the global motion trajectory of the actual environment; When the quadruped robot walks along the global motion trajectory, it interacts with the actual environment in real time to obtain detailed information of the actual environment, and saves the detailed information of the actual environment to the feature database for updating in real time; Acquire the position information of the quadruped robot in real time and save it in the position database for updating; After the quadruped robot completes a walk, the global motion trajectory is replanned according to the updated feature database, the position database and the relevant information of the obstacle, and the obstacle is identified and marked to obtain the global environment model and the relevant information of the obstacle.
5. The motion trajectory control method of a quadruped robot according to claim 4, It is characterized in that The obstacle-related information includes key information and physical information. The key information includes movable obstacles and immovable obstacles. The physical information includes type, location, shape, size and hardness.
6. The motion trajectory control method of a quadruped robot according to claim 5, It is characterized in that The specific process of generating corresponding protection instructions according to the global environment model and the relevant information of the obstacle is: The danger coefficient of the obstacle is set according to the relevant information of the obstacle; the danger coefficient includes a first-level danger obstacle, a second-level danger obstacle and a third-level danger obstacle; the protection instruction includes a first-level protection instruction corresponding to the first-level danger obstacle, a second-level protection instruction corresponding to the second-level danger obstacle, and a third-level protection instruction corresponding to the third-level danger obstacle; When the obstacle is identified as the non-movable obstacle, the obstacle is set as the first-level dangerous obstacle; the first-level protection instruction is used to perform an avoidance movement or a passing movement according to the relevant information of the obstacle and the current posture, and the passing movement is used to control the angle between the thigh length and the calf length so that the height of the machine leg is higher than the height of the obstacle, so as to enable the quadruped robot to pass through the obstacle; the avoidance movement is used to control the walking direction of the machine leg so that the quadruped robot walks around the side of the obstacle; When the obstacle is identified as the movable obstacle, setting the obstacle as the secondary dangerous obstacle; The secondary protection instruction is used to perform an avoidance movement based on the relevant information of the obstacle and the current posture; the avoidance movement is used to identify the movement direction of the obstacle through the smart camera, so that the movement direction of the quadruped robot is opposite to the movement direction of the obstacle.
7. The motion trajectory control method of a quadruped robot according to claim 6, It is characterized in that The specific process of optimizing the motion trajectory in real time using the dynamic model is as follows: Based on the structure and movement mode of the quadruped robot, a geometric model and a kinematic model of the quadruped robot are established using a simulation tool to simulate the movement process of the quadruped robot and obtain dynamic parameters; The actual environmental information obtained by the sensor and the smart camera is combined to analyze and optimize the movement process of the quadruped robot to achieve optimization of the movement trajectory.
8. The motion trajectory control method of a quadruped robot according to claim 7, It is characterized in that The motion parameters include the leg structure, motion speed, motion direction, motion steps, and motion time of the quadruped robot.
9. The motion trajectory control method of a quadruped robot according to claim 8, It is characterized in that The specific process of adjusting motion parameters in real time and controlling the posture and motion trajectory of the quadruped robot is as follows: The leg structure is adjusted by arranging a controller, a motor, a reducer and a telescopic rod on the leg joint of the robot leg. The reducer is used to drive the leg joint to rotate and adjust the angle between the thigh and the calf; the telescopic rod is respectively arranged on the thigh and the calf to adjust the length of the thigh and the calf to adjust the posture of the quadruped robot; After the posture adjustment of the quadruped robot is completed, it walks according to the optimized motion trajectory.
