A quadruped robot obstacle control method based on deep reinforcement learning

Through the deep reinforcement learning method, the quadruped robot model is established and the jump controller is trained, which solves the problem of poor performance of quadruped robots in complex environments in the existing technology, and achieves stronger flexibility, robustness, and adaptability. and generalization ability.

CN117032283BActive Publication Date: 2024-10-18JIANGNAN UNIV

Patent Information

Application Number
CN202311011450.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2024-10-18
Estimated Expiration
2043-08-11

AI Technical Summary

Technical Problem

Existing quadruped robot control methods are ineffective in dealing with complex and changing environments, lack flexibility and robustness, and are difficult to cope with unknown environments and external interference.

Method used

A quadruped robot obstacle-crossing control method based on deep reinforcement learning is used to build a robot model, use motion redirection technology to map motion capture data, build a deep reinforcement learning framework, train a jump controller, and deploy it in a simulation environment to complete obstacle crossing. action.

Benefits of technology

It improves the generalization ability and adaptability of quadruped robots, reduces learning time and computing resources, and achieves more flexible and robust obstacle-crossing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117032283B_ABST
    Figure CN117032283B_ABST
Patent Text Reader

Abstract

The present invention discloses a quadruped robot obstacle control method based on deep reinforcement learning, which relates to the field of robotics and deep reinforcement learning control technology, including building a simulation environment, establishing a quadruped robot model, and determining various parameters of the robot; using motion redirection technology to map the captured data to the A1 robot, and strengthening learning training; building a deep reinforcement learning framework; deploying a jump controller in the simulation environment to complete the obstacle crossing action. The quadruped robot obstacle control method based on deep reinforcement learning proposed by the present invention has better adaptability, stronger flexibility, generalization and robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robotics and deep reinforcement learning control technology, and in particular to a quadruped robot obstacle crossing control method based on deep reinforcement learning. Background Art

[0002] Quadruped robots have been widely used in exploration, rescue, transportation and other fields due to their superior stability and obstacle-crossing ability. Traditional methods mainly rely on rule-based control methods, model-based control methods and optimization-based control methods. These methods mainly rely on preset motion planning and control strategies, and often do not work well in dealing with complex and changing environments. There are mainly three control methods: Rule-based control method: This method mainly relies on preset motion planning and control strategies, such as center of gravity control, zero momentum point control, etc., and works well in dealing with simple and stable environments. However, in dealing with complex and changing environments, the preset rules often cannot cover all environments and situations. When encountering unexpected situations, the performance of the robot often declines. In addition, the design and adjustment of rules usually require a lot of manual work and expertise. Model-based control method: This method first establishes the kinematic or kinematic model of the robot, and then designs the control strategy based on the model. For example, inverse dynamics control method, inverse kinematics control method, etc. However, the effect of this method often depends on the accuracy of the model. In practical applications, due to various factors (such as friction, unmodeled dynamics, etc.), the model is often not completely accurate. In addition, for complex robot systems, it may be very difficult to establish an accurate model. Optimization-based control method: This method transforms the control problem into an optimization problem and obtains the control strategy by solving the optimization problem. For example, methods based on model predictive control (MPC) and trajectory planning methods based on optimization. However, this method usually requires a lot of computing resources, and the design of the optimization problem (such as the selection of objective functions and constraints) may require a lot of manual work and expertise. Summary of the invention

[0003] In view of the above-mentioned and / or existing problems in the control of existing quadruped robots, the present invention is proposed.

[0004] Therefore, the problem to be solved by the present invention is how to provide an obstacle crossing control method for a quadruped robot with greater flexibility, greater generalization and robustness against external interference.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In the first aspect, an embodiment of the present invention provides a quadruped robot obstacle crossing control method based on deep reinforcement learning, which includes establishing a quadruped robot model and determining various parameters of the robot; using motion redirection technology to map the motion captured data to the A1 robot and strengthen learning training; building a deep reinforcement learning framework and training a jumping controller; and deploying the jumping controller in a simulation environment to complete the obstacle crossing action.

[0007] As a preferred solution of the quadruped robot obstacle crossing control method based on deep reinforcement learning described in the present invention, wherein: the motion redirection technology is used to map the motion captured data to the A1 robot, and the specific process of reinforcement learning training includes: cleaning the collected motion capture data, removing existing outliers and noise by filtering; calculating the scaling ratio by the ratio of the joint length of the A1 robot to the joint length of the motion captured according to the joint length information of each joint of the A1 robot and the collected motion capture data, and scaling the joint length of the action to match the target robot; key point selection; extracting key points in the data according to the selected key points; obtaining the target position and posture from the motion capture data through key point extraction, and calculating the joint angle that enables the foot end of the quadruped robot to reach the target position and posture through inverse kinematics.

[0008] As a preferred solution of the quadruped robot obstacle control method based on deep reinforcement learning described in the present invention, the solution result of the inverse kinematics is as follows:

[0009]

[0010]

[0011]

[0012] Where l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, p x , p y , p z is the coordinate of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system.

[0013] As an optimal solution of the quadruped robot obstacle crossing control method based on deep reinforcement learning described in the present invention, the specific steps of building a deep reinforcement learning framework are: determining the state space S according to the environment, which is used for decision-making and learning, and determining the next action as the input of the reinforcement learning algorithm, calculating the reward function, and updating the algorithm's strategy; determining the decision action according to the reinforcement learning algorithm, which is used to control the robot; the reward function provides a learning direction for the reinforcement learning algorithm, and the function reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward; constructing a deep neural network structure of the PPO reinforcement learning algorithm; the deep neural network structure includes a state value network structure and a policy network structure; and training the controller based on the PPO algorithm.

[0014] As a preferred solution of the quadruped robot obstacle crossing control method based on deep reinforcement learning of the present invention, the state space S is described as an 8-dimensional vector space including:

[0015] S=[H body ,θ,v,ang,pos,point,H jump ,s jump ]

[0016] Among them, H body is the basic height of the robot, θ is the angular velocity of the robot in the local coordinate system, v is the basic linear velocity, ang is the basic angular velocity, pos is the joint position, point is the key point, H jump is the jumping height, s jump It is a jump signal.

[0017] As a preferred solution of the quadruped robot obstacle control method based on deep reinforcement learning described in the present invention, the reward function includes: target height reward: r hight =5; Linear speed tracking reward: r line =5; angular velocity tracking reward: r angle =5; Jump reward: r jump =5; Early termination negative reward: r termination =-5; negative reward for exceeding joint limit: r limit =5.

[0018] As an optimal solution of the quadruped robot obstacle crossing control method based on deep reinforcement learning described in the present invention, the process of deploying a jumping controller in a simulation environment to complete the obstacle crossing action includes: deploying the trained jumping controller to the A1 robot in the simulation environment, adjusting the parameter speed v=1.78m / s, and controlling the quadruped robot to complete the obstacle crossing action; using the isaacgym simulation environment, setting the obstacle in the simulation environment to be 1m long, 0.25m wide, and 0.55m high.

[0019] In the second aspect, the present invention further solves the problems existing in the existing quadruped robot control. The embodiment provides a quadruped robot obstacle control system based on deep reinforcement learning, including: an acquisition module, which is used to build a simulation environment, establish a quadruped robot model, and determine various parameters of the robot; a jump controller training module, which is used to map the motion captured data to the A1 robot using motion redirection technology, and build a deep reinforcement learning framework to complete the training of the jump controller; the specific process of the jump controller training includes cleaning the collected motion capture data, removing the existing outliers and noise by filtering; according to the joint length information of the A1 robot and each joint length information obtained from the collected motion capture data, the scaling ratio is calculated by the ratio of the joint length of the A1 robot to the joint length captured by motion, and the joint length of the action is scaled to match the target robot; key point selection; key point extraction is performed in the data according to the selected key points; through the key point extraction, the target position and posture are obtained from the motion capture data, and the joint angle that makes the foot end of the quadruped robot reach the target position and posture is calculated by inverse kinematics; the solution result of the inverse kinematics is as follows:

[0020]

[0021]

[0022]

[0023] Where l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, p x , p y and p z is the coordinate of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system; the specific steps of building the deep reinforcement learning framework are: determine the state space S according to the environment, which is used for decision-making and learning, and use it as the input of the reinforcement learning algorithm to determine the next action, calculate the reward function, and update the algorithm's strategy; determine the decision action according to the reinforcement learning algorithm to control the robot; the reward function provides the learning direction for the reinforcement learning algorithm, and the function reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward; construct the deep neural network structure of the PPO reinforcement learning algorithm; the deep neural network structure includes a state value network structure and a strategy network structure; train the controller based on the PPO algorithm; the reward function includes: target height reward: r hight =5; Linear speed tracking reward: r line =5; angular velocity tracking reward: r angle =5; Jump reward: r jump =5; Early termination negative reward: r termination =-5; negative reward for exceeding joint limit: r limit=5; simulation module, used to deploy the jump controller in the simulation environment to complete the obstacle crossing action.

[0024] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the quadruped robot obstacle control method based on deep reinforcement learning as described in the first aspect of the present invention is implemented.

[0025] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the quadruped robot obstacle control method based on deep reinforcement learning as described in the first aspect of the present invention.

[0026] The beneficial effects of the present invention are as follows: the motion capture data in the present invention provides rich motion information, which can be used as prior knowledge for reinforcement learning to help the algorithm find effective strategies more quickly, greatly reducing the time and computing resources required for learning; and the motion capture data can capture complex, high-dimensional movements, which are difficult to achieve through manual design; the reinforcement learning algorithm can learn strategies that are more adaptable to the environment through interaction with the environment based on the motion capture data, which enables the robot to have better generalization ability and adaptability when facing unknown or changing environments; the reinforcement learning algorithm can automatically optimize the strategy so that the robot's obstacle crossing performance reaches the optimal level, which is more effective and more flexible than manually designed strategies; the quadruped robot obstacle crossing control method based on deep reinforcement learning proposed in the present invention has better adaptability, stronger flexibility, generalization and robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. 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 creative work. Among them:

[0028] Figure 1 This is a flow chart of the obstacle crossing control method of a quadruped robot based on deep reinforcement learning in Example 1.

[0029] Figure 2 This is a diagram of the quadruped robot running start in the quadruped robot obstacle control method based on deep reinforcement learning in Example 2.

[0030] Figure 3 This is a diagram of the take-off position of the quadruped robot in the quadruped robot obstacle control method based on deep reinforcement learning in Example 2.

[0031] Figure 4 This is a diagram of a quadruped robot taking off in the quadruped robot obstacle control method based on deep reinforcement learning in Example 2.

[0032] Figure 5 This is a diagram of the take-off position of the quadruped robot in the quadruped robot obstacle control method based on deep reinforcement learning in Example 2.

[0033] Figure 6 This is the obstacle map of the quadruped robot in the quadruped robot obstacle control method based on deep reinforcement learning in Example 2.

[0034] Figure 7 This is the landing map of the quadruped robot after overcoming the obstacle in the quadruped robot obstacle overcoming control method based on deep reinforcement learning in Example 2.

[0035] Figure 8 It is the average reward graph of the reinforcement learning algorithm training in Example 2. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0038] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0039] Example 1

[0040] Reference Figure 1 , which is the first embodiment of the present invention, and provides a quadruped robot obstacle control method based on deep reinforcement learning, comprising the following steps:

[0041] S1: Build a simulation environment, establish a quadruped robot model, and determine the robot's parameters.

[0042] Preferably, the present invention uses the unitree A1 robot model.

[0043] Among them, the parameters include mass, maximum joint torque and maximum joint speed.

[0044] S2: Use motion redirection technology to map the motion-captured data to the A1 robot for enhanced learning training.

[0045] Preferably, the specific process includes:

[0046] S2.1: Clean the collected motion capture data and remove outliers and noise through filtering.

[0047] S2.2: Based on the length information of each joint of the A1 robot and the length information of each joint obtained from the collected motion capture data, the scaling ratio is calculated by the ratio of the joint length of the A1 robot to the joint length of the motion capture, and the joint length of the action is scaled to match that of the target robot.

[0048] S2.3: Key point selection.

[0049] Furthermore, since the A1 robot has 12 degrees of freedom, there are 12 key points, namely the right front leg, left front leg, right hind leg, and left hind leg. Each leg has a hip joint, a thigh joint, and a calf joint, for a total of twelve.

[0050] S2.4: Extract key points from the data based on the selected key points.

[0051] S2.5: The target position and posture are obtained from the motion capture data through key point extraction, and the joint angles that enable the quadruped robot's foot to reach the target position and posture are calculated through inverse kinematics.

[0052] Furthermore, the solution of inverse kinematics is as follows:

[0053]

[0054]

[0055]

[0056] Where l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, p x , p y , p z is the coordinate of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system.

[0057] S3: Build a deep reinforcement learning framework and train the jump controller.

[0058] S3.1: Determine the state space S based on the environment for decision-making and learning, and use it as the input of the reinforcement learning algorithm to determine the next action, calculate the reward function, and update the algorithm's strategy.

[0059] Preferably, the state space S is described as an 8-dimensional vector space including:

[0060] S=[H body ,θ,v,ang,pos,point,H jump ,s jump ]

[0061] Among them, H body is the basic height of the robot, θ is the angular velocity of the robot in the local coordinate system, v is the basic linear velocity, ang is the basic angular velocity, pos is the joint position, point is the key point, H jump is the jumping height, s jump It is a jump signal.

[0062] S3.2: Determine the decision action based on the reinforcement learning algorithm to control the robot.

[0063] S3.3: The reward function provides learning direction for the reinforcement learning algorithm, and the functional reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward.

[0064] Preferably, the reward function includes:

[0065] Target height reward: r hight =5; Linear speed tracking reward: r line =5; angular velocity tracking reward: r angle =5; Jump reward: r jump =5; Early termination negative reward: r termination =-5; negative reward for exceeding joint limit: r limit =5.

[0066] S3.4: Construct a deep neural network structure of the PPO reinforcement learning algorithm; the deep neural network structure includes a state-value network structure and a strategy network structure.

[0067] Furthermore, the value network is used to represent the value function, that is, the expected return of a given state; the input of the value network is the state, and the output is a scalar, representing the expected return; it consists of a multi-layer fully connected network, and the last layer has no activation function to ensure that the output can be any real number.

[0068] The policy network is used to represent the policy, the probability distribution of selecting an action under a given state; the input of the policy network is the state, and the output is the probability of each action; it consists of a multi-layer fully connected network or convolutional neural network, and the last layer uses a softmax activation function to ensure the output.

[0069] S3.5: Controller training based on PPO algorithm.

[0070] Specifically, first, the quadruped jumping data processed by the motion retargeting technology is used as the training input data; the policy network and the value network are initialized, the policy network is used to represent the probability distribution of selecting an action under a given state, and the value network is used to represent the expected report of a given state; in a simulation environment, the robot is allowed to perform actions in the environment according to the current policy network, and collect data on state, action, and reward; the policy network and the value network are updated using the collected data, the degree of change of the strategy is limited, and the stability of learning is ensured; the steps of interaction and updating are repeated until the policy network and the value network converge.

[0071] S4: Deploy the jump controller in the simulation environment to complete the obstacle crossing action.

[0072] S4.1: Deploy the trained jumping controller to the A1 robot in the simulation environment, adjust the parameter speed v = 1.78m / s, and control the quadruped robot to complete the obstacle crossing action.

[0073] Among them, v = 1.78m / s is the limit data for crossing an obstacle with a height of 0.55m and is the preferred data.

[0074] S4.2: Use the isaacgym simulation environment and set the obstacle in the simulation environment to be 1m long, 0.25m wide, and 0.55m high.

[0075] Among them, the height of 0.55m is the maximum height that the quadruped robot can cross in the isaacgym simulation environment according to the method of the present invention.

[0076] In order to further solve the problems existing in the existing quadruped robot control, the present invention provides a quadruped robot obstacle control system based on deep reinforcement learning, including: an acquisition module, which is used to build a simulation environment, establish a quadruped robot model, and determine various parameters of the robot; a jump controller training module, which is used to map the motion captured data to the A1 robot using motion redirection technology, and build a deep reinforcement learning framework to complete the training of the jump controller; the specific process of the jump controller training includes cleaning the collected motion capture data, removing the existing abnormal values ​​and noise by filtering; according to the joint length information of the A1 robot and each joint length information obtained from the collected motion capture data, the scaling ratio is calculated by the ratio of the joint length of the A1 robot to the joint length captured by motion, and the joint length of the action is scaled to match the target robot; key point selection; key point extraction is performed in the data according to the selected key points; through the key point extraction, the target position and posture are obtained from the motion capture data, and the joint angle that makes the foot end of the quadruped robot reach the target position and posture is calculated by inverse kinematics; the solution result of the inverse kinematics is as follows:

[0077]

[0078]

[0079]

[0080] Where l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, p x , p y and p z is the coordinate of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system; the specific steps of building the deep reinforcement learning framework are: determine the state space S according to the environment, which is used for decision-making and learning, and use it as the input of the reinforcement learning algorithm to determine the next action, calculate the reward function, and update the algorithm's strategy; determine the decision action according to the reinforcement learning algorithm to control the robot; the reward function provides the learning direction for the reinforcement learning algorithm, and the function reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward; construct the deep neural network structure of the PPO reinforcement learning algorithm; the deep neural network structure includes a state value network structure and a strategy network structure; train the controller based on the PPO algorithm; the reward function includes: target height reward: r hight =5; Linear speed tracking reward: r line =5; angular velocity tracking reward: r angle =5; Jump reward: r jump =5; Early termination negative reward: r termination =-5; negative reward for exceeding joint limit: r limit =5; simulation module, used to deploy the jump controller in the simulation environment to complete the obstacle crossing action.

[0081] This embodiment also provides a computer device, which is suitable for the case of a quadruped robot obstacle control method based on deep reinforcement learning, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the quadruped robot obstacle control method based on deep reinforcement learning proposed in the above embodiment.

[0082] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0083] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the quadruped robot obstacle crossing control method based on deep reinforcement learning as proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, disk or optical disk.

[0084] In summary, the motion capture data of the present invention provides rich motion information, which can be used as prior knowledge for reinforcement learning to help the algorithm find effective strategies more quickly and greatly reduce the time and computing resources required for learning; and the motion capture data can capture complex, high-dimensional movements, which are difficult to achieve through manual design; the reinforcement learning algorithm can learn strategies that are more adaptable to the environment through interaction with the environment based on the motion capture data, which enables the robot to have better generalization ability and adaptability when facing unknown or changing environments; the reinforcement learning algorithm can automatically optimize the strategy to optimize the robot's obstacle crossing performance, which is more effective and flexible than manually designed strategies; the quadruped robot obstacle crossing control method based on deep reinforcement learning proposed in the present invention has better adaptability, stronger flexibility, generalization and robustness.

[0085] Example 2

[0086] Reference Figure 2 to Figure 8 , which is the second embodiment of the present invention, is based on the first embodiment and, in order to verify its beneficial effects, provides specific experimental simulation data of the quadruped robot obstacle crossing control method based on deep reinforcement learning of the present invention.

[0087] The present invention firstly uses motion redirection technology to convert the jumping data of quadruped animals obtained by motion capture into data suitable for training quadruped robots in a simulation environment; secondly, deep reinforcement learning is used to train the processed data to obtain a controller that enables the quadruped robot to have the ability to jump in the simulation environment; the trained jumping controller is deployed to the A1 robot in the simulation environment, and the parameters (speed v = 1.78m / s) are adjusted to control the quadruped robot to complete the obstacle crossing action: Figure 2 to Figure 7 As shown, in the isaacgym, the quadruped robot successfully crossed a 0.45m high obstacle at a speed of v=1.50m / s; and successfully crossed a 0.55m high obstacle at a speed of v=1.78m / s.

[0088] Depend on Figure 2 to Figure 7 It can be seen that the method proposed by the present invention can enable the quadruped robot to successfully cross an obstacle with a height of 0.55 m in a simulation environment.

[0089] Depend on Figure 8 It can be seen from the reward function curve that in the early stage of training, as the algorithm begins to learn, the reward gradually increases, and the algorithm is gradually finding a better strategy; during the training process, the reward fluctuates due to exploration; in the later stage of training, the reward tends to be stable, indicating that the algorithm has found a better strategy; the algorithm has sufficient exploration times, gradually approaches the optimal strategy, and the reward rate tends to be stable, reflecting that the algorithm converges to a high-quality and reliable strategy, achieving a stable and controllable learning effect, and providing a strong guarantee for the actual deployment and application of the model.

[0090] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A quadruped robot obstacle control method based on deep reinforcement learning, characterized by: include: Establish a quadruped robot model and determine the robot's parameters; Use motion redirection technology to map motion-captured data onto the robot to enhance learning and training; The specific process of mapping the motion captured data to the robot by using motion redirection technology and strengthening learning training includes: Clean the collected motion capture data and remove outliers and noise through filtering; According to the joint length information of the robot and each joint length information obtained from the collected motion capture data, the scaling ratio is calculated by the ratio of the robot joint length to the motion captured joint length, and the joint length of the action is scaled to match the target robot; Key point selection; Extract key points from the data based on the selected key points; The target position and posture are obtained from the motion capture data through key point extraction, and the joint angles that enable the quadruped robot's foot to reach the target position and posture are calculated through inverse kinematics. The solution of the inverse kinematics is as follows: ; ; ; Among them, l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, px, py and pz are the coordinates of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system; Build a deep reinforcement learning framework and train the jump controller; The specific steps of building the deep reinforcement learning framework are: The state space S is determined according to the environment for decision-making and learning, and is used as the input of the reinforcement learning algorithm to determine the next action, calculate the reward function, and update the algorithm's strategy; Determine the decision action based on the reinforcement learning algorithm to control the robot; The reward function provides a learning direction for the reinforcement learning algorithm, and the functional reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward; Constructing a deep neural network structure of a PPO reinforcement learning algorithm; the deep neural network structure includes a state-value network structure and a policy network structure; training a controller based on the PPO reinforcement learning algorithm; The state space S is described as an 8-dimensional vector space including: ; in, is the basic height of the robot, θ is the angular velocity of the robot in the local coordinate system, v is the basic linear velocity, ang is the basic angular velocity, pos is the joint position, point is the key point, For Jump Jump height, is a jump signal; The reward function includes: target height reward: ; Line speed tracking bonus: ; Angular velocity tracking bonus: ; Jump reward: ; Early termination of negative rewards: ; Negative rewards for exceeding joint limits: ; Deploy the Jump Controller to perform obstacle hopping maneuvers.

2. The quadruped robot obstacle control method based on deep reinforcement learning as claimed in claim 1, characterized in that: The process of deploying the jump controller in the simulation environment to complete the obstacle crossing action includes: Deploy the trained jumping controller to the robot in the simulation environment, adjust the parameter speed v=1.78m / s, and control the quadruped robot to complete the obstacle crossing action; Use the isaac gym simulation environment, and set the obstacles in the simulation environment to be 1m long, 0.25m wide, and 0.55m high.

3. A quadruped robot obstacle control system based on deep reinforcement learning, based on the quadruped robot obstacle control method based on deep reinforcement learning according to any one of claims 1 to 2, characterized in that: Also includes, The acquisition module is used to build a quadruped robot model and determine various parameters of the robot; The jump controller training module is used to map the motion capture data to the robot using motion redirection technology and build a deep reinforcement learning framework to complete the training of the jump controller; The specific process of the jump controller training includes cleaning the collected motion capture data and removing the existing outliers and noise by filtering; According to the joint length information of the robot and each joint length information obtained from the collected motion capture data, the scaling ratio is calculated by the ratio of the robot joint length to the motion captured joint length, and the joint length of the action is scaled to match the target robot; Key point selection; Extract key points from the data based on the selected key points; By extracting key points, the target position and posture are obtained from the motion capture data, and the joint angles that enable the foot of the quadruped robot to reach the target position and posture are calculated through inverse kinematics; the solution of the inverse kinematics is as follows: ; ; ; Among them, l1, l2 and l3 are the lengths of the hip joint, thigh joint and calf joint respectively, px, py and pz are the coordinates of the foot end in the hip joint coordinate system, m, x, n, k are all process variables, and r is the reference coordinate system; Build a deep reinforcement learning framework and train the jump controller; The specific steps of building the deep reinforcement learning framework are: The state space S is determined according to the environment for decision-making and learning, and is used as the input of the reinforcement learning algorithm to determine the next action, calculate the reward function, and update the algorithm's strategy; Determine the decision action based on the reinforcement learning algorithm to control the robot; The reward function provides a learning direction for the reinforcement learning algorithm, and the functional reinforcement learning algorithm learns the optimal strategy by maximizing the cumulative reward; Constructing a deep neural network structure of a PPO reinforcement learning algorithm; the deep neural network structure includes a state-value network structure and a policy network structure; training a controller based on the PPO reinforcement learning algorithm; The reward function includes: target height reward: ; Line speed tracking bonus: ; Angular velocity tracking bonus: ; Jump reward: ; Early termination of negative rewards: ; Negative rewards for exceeding joint limits: ; The simulation module is used to deploy the jump controller in the simulation environment to complete the obstacle crossing action.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the quadruped robot obstacle control method based on deep reinforcement learning described in any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the quadruped robot obstacle control method based on deep reinforcement learning described in any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Visual robot grabbing method and system based on deep learning

    CN111723782A

  • Quadruped robot imitation motion control method based on deep reinforcement learning

    CN113156892A

Cited By

  • Universal modeling method for obstacle crossing of quadruped robot based on leg structure characteristics

    CN121744623A