Robot motion planning optimization method

Through the combination of deep learning and RRT planner, automatic point cloud coding and motion planning network are used to generate informed samples, which solves the efficiency and safety problems of robot path planning under dynamic obstacles and complex scenes in the existing technology, and achieves faster , safer path planning.

CN118809583APending Publication Date: 2024-10-22CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410791993.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing global path planning algorithms are difficult to adapt in real time when facing dynamic obstacles and complex delivery scenarios, resulting in limited efficiency and safety of robot path planning.

Method used

Using a method that combines deep learning with a sampling-based RRT planner, through automatic point cloud encoding and motion planning network training, informed samples are generated to optimize the robot motion path, and a deep feedforward neural network and automatic point cloud encoder are used to construct motion planning network, performs forward propagation to speed up the planning process.

Benefits of technology

Through the introduction of informed samples, the search space is reduced, the solution is promoted to converge to the global optimal solution, and the efficiency and safety of the robot's path planning in the delivery scenario are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118809583A_ABST
    Figure CN118809583A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robot motion planning, in particular to a robot motion planning optimization method, which comprises the following steps: acquiring map point cloud data, and preprocessing the point cloud data; encoding the preprocessed point cloud data; constructing and training a motion planning network according to a robot motion model and the encoded point cloud data; forward propagation is carried out on the motion planning network to generate informed samples, and the informed samples are put into a sampled RRT planner to obtain an optimized robot motion path; according to the method provided by the invention, the robot can find a safe and efficient path more quickly to complete the distribution task, so that the robot motion planning process in the distribution scene is accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot motion planning, and in particular to a robot motion planning optimization method. Background Art

[0002] With the continuous development of intelligent robots in recent years, their autonomous navigation technology has become the current focus. The basic framework of autonomous navigation of intelligent vehicles includes perception, positioning, planning, decision-making, control and other parts. Among them, motion planning directly affects the efficiency and safety of robot movement in the autonomous navigation system, requiring it to effectively avoid obstacles while ensuring that the vehicle reaches the destination in the best way. Robot autonomous navigation has been commercialized in the field of unmanned delivery. Among the existing global path planning algorithms, the Dijkstra algorithm and A* algorithm based on graph search cannot adapt to dynamic obstacles in the environment in real time due to the efficiency of their own algorithms; classic sampling-based planning algorithms such as Bidirectional-RRT and RRT usually limit the actual robot path to a small part of the state space, which has great limitations in complex delivery scenarios with a large number of dimensions and narrow channels. Summary of the invention

[0003] In order to solve the problems existing in the above-mentioned prior art, the present invention proposes a robot motion planning optimization method, which includes: obtaining map point cloud data and preprocessing the point cloud data; encoding the preprocessed point cloud data using an automatic point cloud encoder; constructing and training a motion planning network according to the robot motion model and the encoded point cloud data; forward propagating the motion planning network to generate informed samples, and applying the informed samples to the sampling-based RRT planner to obtain an optimized robot motion path.

[0004] Beneficial effects of the present invention:

[0005] The present invention proposes a new method that combines deep learning with a sampling-based planner RRT to train a motion planning network. It takes the current state and target state of the robot as input, and weights the target bias sampling. After training, the motion planning network can be used to generate informed samples of asymptotically optimal solutions through the forward propagation path. Since the target bias sampling is weighted, these informed samples can be integrated into the sampling-based RRT planner to accelerate the planning process and lead to better solutions. The introduction of informed samples can provide a better initial path, reduce the search space, and promote the convergence of the solution to the global optimal solution. In this way, the robot will be able to find a safe and efficient path more quickly to complete the delivery task, thereby accelerating the robot motion planning process in the delivery scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1This is a robot path planning framework structure diagram of the present invention;

[0007] Figure 2 A diagram showing the robot motion planning result without the method of the present invention;

[0008] Figure 3 This is a diagram of the robot motion planning optimization results of the present invention. DETAILED DESCRIPTION

[0009] 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.

[0010] A robot motion planning optimization method, such as Figure 1 As shown, the method includes: constructing a robot motion model; obtaining map point cloud data and preprocessing the point cloud data; encoding the preprocessed point cloud data using an automatic point cloud encoder; constructing and training a motion planning network based on the robot motion model and the encoded point cloud data; forward propagating the motion planning network to generate informed samples, and applying the informed samples to a sampling-based RRT planner to obtain an optimized robot motion path.

[0011] In this embodiment, preprocessing the point cloud data includes: constructing a spatial coordinate system, specifically including taking the projection of the center of the robot chassis as the origin of the state reference coordinate system, the front direction of the robot as the X direction, and the vertical upward direction as the Z direction, to construct a spatial coordinate system; each point cloud in the point set is represented as: in Represents a point in d-dimensional space; scales all point clouds equally to the surface of a unit sphere for normalization; and repairs the normalized point cloud data.

[0012] In this embodiment, a robot motion planning optimization method for a delivery scenario includes the following steps:

[0013] Step 1: Construct robot kinematic model;

[0014] Step 2: Use the robot's built-in depth camera sensor to obtain the point cloud data of the warehouse map and encode it;

[0015] Step 3: Based on the robot kinematic model and the encoded point cloud data, with the shortest motion planning time as the goal, and the state space variables in the delivery starting posture (current posture) and the target posture as input, the motion planning network is constructed and trained;

[0016] Step 4: Based on the existing motion planning network, generate informed samples of the asymptotically optimal solution through the forward propagation path, and integrate the informed samples into the sampling-based RRT planner to accelerate the robot motion planning process in the delivery scenario.

[0017] Based on the trained motion planning network model, the initial and final postures of the robot are input, the cost function is used to consider the costs of different paths, and the time interval between planning points is used as the main factor of the cost function, and its constraints are further introduced.

[0018] Based on the informed samples generated by the motion planning network, a robot path planning framework that learns from informed samples is constructed. Figure 1 shown.

[0019] Taking the projection of the center of the robot chassis as the origin of the state reference coordinate system, selecting the front direction of the robot as the X direction and the vertical upward as the Z direction, the position state vector of the robot at time k in a given global map can be expressed as: Where (x k ,y k ) is the coordinate of the robot chassis projection at time k, is the heading angle of the robot at time k. At the same time, the basic point set encoding of the point cloud obtained by the depth camera is expressed as Each point cloud in the point set can be expressed as: in represents a point in d-dimensional space, then T is The topological structure of a is if and only if the empty set and is an open set, and the intersection of any finite number of subsets of T still belongs to T, that is, And the union of any number of subsets of T also belongs to T, that is

[0020] Normalize all point clouds by scaling them to a suitable unit sphere surface:

[0021]

[0022] in It is the centroid coordinate of the point cloud, that is, the mean value of all the point coordinates in the point cloud. The centroid coordinate is taken as the origin. By subtracting the centroid coordinate from each point in the point cloud, the centroid becomes the origin of the new coordinate system. It represents the average value of the Euclidean distance of all points in the point cloud to the origin. Since the point cloud has no fixed cardinality, changes in the delivery scene may change the size of the point cloud. In order to repair the point cloud data, n points are randomly selected from a sphere with a given radius r to form a basic point set:

[0023]

[0024] Among them, m k Represents a point in the distribution space, r and k are hyperparameters that can trade off computational complexity and fidelity. The point cloud is encoded using an automatic point cloud encoder:

[0025]

[0026] in Represents the minimum distance from a point in the point cloud to a point in the basic point set. The point cloud encoding and the robot state variables will be used as input to the motion planning network.

[0027] In order to dynamically adjust the path planning strategy, the sampler is target-weighted. Specifically, a weight factor is introduced, which indicates the degree of bias of the current sampling point relative to the target position:

[0028]

[0029] where w(q new ) is the sampling point q new The weight, q goal is the target position, σ is the parameter that controls the width of the Gaussian function and can be adjusted according to the specific situation. The point cloud encoding and robot state variables generated in this way will be used as the input of the motion planning network.

[0030] In this embodiment, training the motion planning network includes: constructing a motion planning network model, wherein the motion planning network model is composed of an automatic point cloud encoder and a deep feedforward neural network; obtaining a set C of all possible states of the robot in the delivery process, wherein C = C z +C f , C z and C f Represents the space with obstacles and without obstacles; Set the robot's initial state space C init and the target state space C goal ; Embed the coded obstacle point cloud Space C z , robot initial state space C init and the target state space C goal As the input of the deep feedforward neural network, the deep feedforward neural network is trained. During the training process, the deep feedforward neural network outputs the next path point C towards the target area. next .

[0031] The deep feedforward neural network processes the input data by: f Generate the current state x of the connection one by onej,i and the next state x j,i+1 The collision-free trajectory is calculated; the sum of the marginal likelihood of the actual point cloud data and the sum of the marginal likelihood of the model-generated prediction points are calculated respectively, and the KL divergence between the two distributions is estimated based on the sum of the marginal likelihood of the actual point cloud data and the sum of the marginal likelihood of the model-generated prediction points; the parameters of the encoder and decoder are initialized; the encoder is used to map the input point cloud data to the obstacle point cloud space C z , use the decoder to map the point cloud data back to the original data space to obtain the reconstructed point cloud data; calculate the mean square error loss based on the predicted state and the target state; construct an estimator of the marginal likelihood lower limit based on the complete data set of the mini-batch framework according to the KL divergence; define the objective function as the sum of the mean square error loss and the loss regularization term; use the objective function to perform unsupervised training on the automatic point cloud encoder, and use the target weight to weight the target point, and the decoder outputs the predicted state, that is, the reconstructed point cloud data; calculate the mean square error as the loss function based on the predicted state and the current state, and back-propagate it in each training step; repeat the above steps iteratively until the weighted mean square error loss function converges and the mean square error value is small, and the model training is completed.

[0032] Specifically, it includes: using a deep learning-based method to accelerate the process of finding the optimal solution for path planning, introducing a cost function to estimate the path solution, and further constructing a motion planning network model. The set of all possible states of the robot during the delivery process is represented as C = C z +C f , Among them C z and C f represents the space with and without obstacles, and d represents the dimension of the C space; similarly, the warehouse map environment for robot delivery is recorded as in The dimension of the warehouse map.

[0033] A motion planning network model consisting of an automatic point cloud encoder and a deep feedforward network is constructed. In order to solve the problems of complex calculations and hidden unknown information, After approximation, the marginal likelihood of each data point in the normalized point cloud data is summed:

[0034]

[0035] in, is the point cloud data embedded with obstacles, ρ θ is the marginal likelihood function.

[0036] Each of these can be rewritten as:

[0037]

[0038] Among them, D KL is the KL divergence, q φ is an approximation of the true posterior update value, z is the unobserved latent variable, λ is the marginal likelihood lower bound function, θ is the generative model parameter, and φ is the learned recognition model parameter.

[0039] The first term is the KL divergence between the approximation and the true posterior update value, due to The KL divergence of is low, so KL divergence of equation It can also be expressed as:

[0040]

[0041] in, is the Monte Carlo gradient estimate.

[0042] For the normalized point cloud data, the following estimator based on the lower bound of the marginal likelihood of the complete dataset in a mini-batch architecture can be used:

[0043]

[0044] in, is an equivalent expression of the lower bound of the marginal likelihood, M is the number of samples extracted, N is the number of data points in the point cloud data, is an equivalent expression of the lower bound of the one-way marginal likelihood.

[0045] The following objective function is introduced for unsupervised training of the automatic point cloud encoder:

[0046]

[0047] Among them, ||xg(f(x))|| 2 is the reconstruction loss, and is a regularization term with coefficient λ, θ e is the encoder parameter, θ d is the decoder parameter, C z is the obstacle space, x is the point cloud in the obstacle space, f(x) is the likelihood function of the encoding process of the automatic encoder, g(f(x)) is the likelihood function of the decoding process of the automatic decoder, is the parameter of the corresponding point cloud encoder, which is updated during the calculation of batch point cloud data. Then find an optimal feasible path solution λ∈Ω, that is:

[0048] X' k+1 =ψ RRT ((X k ,X' k ,E(C z ));θ)

[0049] Among them, X' k+1 is a path in the feasible path solution, ψ RRT represents the RRT depth sampler sampling process, X k is the current state of the robot, X' k is the target state.

[0050] The current state of the robot given by RRT is X k+1 and the predicted state X' k+1 The mean square error (MSE) of is minimized, that is:

[0051]

[0052] Among them, M ρ is the product of the total number of paths ρ and the path length, is the total number of training trajectories, T j The length of the jth trajectory is, is the predicted state, x j,i+1 is the current actual status, is the square of the deviation between the predicted state and the current actual state.

[0053] In this embodiment, the motion planning network consists of two parts: an automatic point cloud encoder and a deep feedforward neural network. The automatic point cloud encoder mainly learns an invariant and robust feature space to embed the obstacle space C. z Point cloud data The deep feedforward neural network uses the known obstacle encoding, starting state and target state to continuously generate informed samples for the deep learning-based RRT sampler during execution. The RRT deep sampler can quickly solve the best solution based on these generated informed samples. Figure 2 , Figure 3 shown.

[0054] The above embodiments further illustrate the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above embodiments are only preferred implementation modes of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made to the present invention within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A robot motion planning optimization method, characterized in that: include: Build a robot motion model; obtain map point cloud data and pre-process the point cloud data; An automatic point cloud encoder is used to encode the preprocessed point cloud data; The motion planning network is constructed and trained according to the robot motion model and the encoded point cloud data. The motion planning network is forward propagated to generate informed samples, and the informed samples are applied to the sampled RRT planner to obtain the optimized robot motion path.

2. A robot motion planning optimization method according to claim 1, characterized in that: Preprocessing of point cloud data includes: constructing a spatial coordinate system; each point cloud in the point set is represented as: in Represents a point in d-dimensional space; scales all point clouds equally to the surface of a unit sphere for normalization; and repairs the normalized point cloud data.

3. A robot motion planning optimization method according to claim 2, characterized in that: The spatial coordinate system is constructed with the projection of the center of the robot chassis as the origin of the state reference coordinate system, the front direction of the robot as the X direction, and the vertical upward direction as the Z direction to construct the spatial coordinate system.

4. A robot motion planning optimization method according to claim 2, characterized in that: Normalization of point cloud data includes: in, is the centroid coordinate of the point cloud, that is, the mean of all point coordinates in the point cloud; q ij is a point in space, is the i-th point cloud, Represents the average of the Euclidean distances of all points in the point cloud to the origin.

5. A robot motion planning optimization method according to claim 1, characterized in that: Encoding point cloud data using the automatic point cloud encoder includes: in, Represents the minimum distance from a point in the point cloud to a point in the basic point set, T is the transpose, m k is a point where the basic points are concentrated, q ij Represents the distance m in the d-dimensional point cloud space considered k The closest point.

6. A robot motion planning optimization method according to claim 1, characterized in that: The training of the motion planning network includes: constructing a motion planning network model, wherein the motion planning network model is composed of an automatic point cloud encoder and a deep feedforward neural network; obtaining a set C of all possible states of the robot in the delivery process, where C = C z +C f , C z and C f Represents the space with obstacles and without obstacles; Set the robot's initial state space C init and the target state space C goal ; Embed the coded obstacle point cloud Space C z , robot initial state space C init and the target state space C goal As the input of the deep feedforward neural network, the deep feedforward neural network is trained. During the training process, the deep feedforward neural network outputs the next path point C towards the target area. next .

7. A robot motion planning optimization method according to claim 6, characterized in that: The deep feedforward neural network processes the input data by: f Generate the current state x of the connection one by one j,i and the next state x j,i+1 The collision-free trajectory is calculated; the sum of the marginal likelihood of the actual point cloud data and the sum of the marginal likelihood of the model-generated prediction points are calculated respectively, and the KL divergence between the two distributions is estimated based on the sum of the marginal likelihood of the actual point cloud data and the sum of the marginal likelihood of the model-generated prediction points; the parameters of the encoder and decoder are initialized; the encoder is used to map the input point cloud data to the obstacle point cloud space C z , use the decoder to map the point cloud data back to the original data space to obtain the reconstructed point cloud data; calculate the mean square error loss based on the predicted state and the target state; construct an estimator of the marginal likelihood lower limit based on the complete data set of the mini-batch framework according to the KL divergence; define the objective function as the sum of the mean square error loss and the loss regularization term; use the objective function to perform unsupervised training on the automatic point cloud encoder, and use the target weight to weight the target point, and the decoder outputs the predicted state, that is, the reconstructed point cloud data; calculate the mean square error as the loss function based on the predicted state and the current state, and back-propagate it in each training step; repeat the above steps iteratively until the weighted mean square error loss function converges and the mean square error value is small, and the model training is completed.

8. A robot motion planning optimization method according to claim 7, characterized in that: The expression of target weight is: Among them, w(q new ) is the sampling point q new The weight, q goal is the target position, and σ is the parameter that controls the width of the Gaussian function.

9. A robot motion planning optimization method according to claim 7, characterized in that: The loss function for unsupervised training of the automatic point cloud encoder is: Among them, ||xg(f(x))|| 2 is the reconstruction loss, CAE is the compression autoencoder, C z For CAE to learn the target obstacle space of the original point cloud data, f(x) is the likelihood function of the autoencoder encoding process, expressed as F(C z θ e ), g(f(x)) is the likelihood function of the automatic decoder decoding process, θ e is the encoder parameter, θ d is the decoder parameter, x is the point cloud in the obstacle space, λ is the coefficient of the possible loss regularization term, It is the parameter of the corresponding point cloud encoder, which is updated during the calculation of batch point cloud data.

10. A robot motion planning optimization method according to claim 7, characterized in that: The expression for calculating the mean square error loss is: Among them, M ρ is the product of the total number of paths ρ and the path length, is the total number of training trajectories, T j is the length of the jth trajectory, is the predicted state, x j,i+1 is the current status.

Citation Information

Cited By

  • Continuous learning motion planning method, device, equipment, medium and product

    CN119595002A

  • Neural network path planning method and system for nasal digestive tract catheterization robot

    CN119610109A

  • Method and system for optimizing robot path planning based on deep learning

    CN120010497A

  • Surgical robot motion planning method based on diffusion model

    CN120038756A

  • Building scene robot operation method based on large model technology

    CN120056106A