Bucket arm vehicle path planning method and system, medium and product

The boom truck path planning is optimized through the environment awareness model and reinforcement learning algorithm, which solves the problems of traditional methods being susceptible to interference and poor accuracy, and achieves efficient and accurate path planning, which is suitable for complex environments.

CN118758328APending Publication Date: 2024-10-11GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional boom truck path planning relies on manual operation and laser radar positioning, which is susceptible to interference, has weak environmental adaptability, and has poor accuracy.

Method used

The environment perception model is used to obtain the coordinates of the starting point and the target point, and the path planning model is constructed by combining reinforcement learning and optimization algorithms. The optimized path targets the shortest path, considers obstacles and safe distances, and determines the optimal planned path through intelligent agent learning.

Benefits of technology

It improves the accuracy and efficiency of path planning, enhances robustness and safety, is suitable for complex terrain and various environments, and enhances the application potential of RTK positioning technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118758328A_ABST
    Figure CN118758328A_ABST
Patent Text Reader

Abstract

The invention discloses a bucket arm vehicle path planning method and system, a medium and a product. The method comprises the following steps: acquiring a starting point coordinate and a target point coordinate of the bucket arm vehicle in a preset environment perception model; taking the shortest path length between the starting point coordinate and the target point coordinate as an optimization target condition, and constructing a path planning model by determining a constraint condition; and based on reinforcement learning and an optimization algorithm, performing optimization solution on the path planning model, and determining an optimal planning path of the bucket arm vehicle according to an optimal solution. The bucket arm vehicle can learn and optimize according to historical data and environment information, and the accuracy and efficiency of path planning are further improved. The technical problems that an existing path planning method depends on manual operation and laser radar positioning and is prone to interference, poor in environment adaptability and poor in accuracy are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of boom truck path planning, and in particular to a boom truck path planning method, system, medium and product. Background Art

[0002] At present, the basic technology supporting China's high-precision positioning is the Beidou satellite navigation system, which is also a global satellite navigation system independently developed by China and occupies an important position in the world. The Beidou satellite navigation system is not only used for regional navigation and regional positioning, but its high-end capabilities of high-precision dynamic positioning also determine the depth and breadth of its application status. The core technologies of high-precision positioning mainly include RTK-Beidou real-time network real-time dynamic differential positioning service, RTD-Beidou real-time dynamic differential positioning service, and PPP-Beidou real-time precise single-point positioning service. Among them, the RTK service can achieve high-precision centimeter-level positioning. Based on the characteristics of RTK, its application scenarios are widely applicable to engineering layout, topographic mapping and various control measurements, and are also crucial for precision construction and map making.

[0003] Therefore, the path planning of traditional boom trucks basically relies on manual operation and lidar positioning, but the above methods are susceptible to interference, have weak environmental adaptability, and poor accuracy. Summary of the invention

[0004] The present invention provides a boom truck path planning method, system, medium and product, which solve the technical problems that the existing path planning method relies on manual operation and laser radar positioning, resulting in susceptibility to interference, weak environmental adaptability and poor precision.

[0005] A first aspect of the present invention provides a boom truck path planning method, comprising:

[0006] Obtain the starting point coordinates and target point coordinates of the boom truck in a preset environment perception model;

[0007] Taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition, and constructing a path planning model by determining constraint conditions;

[0008] Based on reinforcement learning and optimization algorithms, the path planning model is optimized and solved, and the optimal planning path of the boom truck is determined according to the optimal solution.

[0009] Optionally, it also includes:

[0010] Obtain obstacle information, cargo information and boom truck information;

[0011] The obstacle information, the cargo information and the boom truck information are used to perform 3D modeling on the environment in which the boom truck is located, and an environmental perception model is constructed; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes starting point coordinates and target point coordinates.

[0012] Optionally, the step of obtaining obstacle information, cargo information and boom truck information includes:

[0013] Obtain the position, volume and shape of obstacles and generate obstacle information;

[0014] Obtain the location, weight and size of the goods and generate cargo information;

[0015] The position, maximum extension length and current extension length of the boom truck are obtained to generate boom truck information.

[0016] Optionally, the step of taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition and constructing the path planning model by determining constraint conditions includes:

[0017] Taking the path between the starting point coordinates and the target point coordinates as the optimization target condition, and taking the coordinate points corresponding to all paths from the starting point coordinates to the target point coordinates as decision variables, constructing an objective function;

[0018] A path planning model is constructed with the constraint condition that the interval distance between the boom truck and the obstacle is greater than or equal to a preset safety distance threshold.

[0019] Optionally, the step of performing optimal solution on the path planning model based on reinforcement learning and optimization algorithm, and determining the optimal planning path of the boom truck according to the optimal solution includes:

[0020] Based on reinforcement learning, the Q network parameters, target network parameters and experience replay storage of the initial path planning model are initialized, and the boom truck is set as an intelligent agent;

[0021] Setting hyperparameters of the path planning model;

[0022] Initializing the initial state of the agent;

[0023] Based on the greedy strategy, a first action is selected from the Q network according to the initial state of the agent, and a corresponding action is performed according to the first action to generate an updated state and a first reward of the agent;

[0024] Using the initial state, the first action, the updated state and the first reward, a first experience is generated and stored in the experience replay storage;

[0025] Determine whether the update state corresponding to the first experience satisfies the termination state, and update the Q network parameter and the target network parameter according to the determination result;

[0026] The updated state is set to a new initial state, and the greedy strategy is jumped to execute, a first action is selected from the Q network according to the initial state of the agent, and a corresponding action is executed according to the first action to generate the updated state of the agent and the first reward step, until the optimal planning path of the boom truck is obtained.

[0027] Optionally, the step of judging whether the update state corresponding to the first experience satisfies a termination state, and updating the Q network parameter and the target network parameter according to the judgment result includes:

[0028] Determine whether the updated state corresponding to the first experience satisfies the termination state;

[0029] If yes, the iteration is stopped and the current path planning model is determined as the target path planning model;

[0030] If not, the mean square error loss function is used to perform gradient descent to update the Q network parameters, generate updated Q network parameters, and update the target network parameters according to the updated Q network parameters.

[0031] A second aspect of the present invention provides a boom truck path planning system, comprising:

[0032] An acquisition module is used to acquire the starting point coordinates and the target point coordinates of the boom truck in a preset environment perception model;

[0033] A construction module, used to construct a path planning model by taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition and determining constraint conditions;

[0034] The optimal planning path module is used to optimize and solve the path planning model based on reinforcement learning and optimization algorithm, and determine the optimal planning path of the bucket truck according to the optimal solution.

[0035] Optionally, it also includes:

[0036] The acquisition submodule is used to obtain obstacle information, cargo information and boom truck information;

[0037] A submodule is constructed, which is used to use the obstacle information, the cargo information and the boom truck information to perform 3D modeling on the environment in which the boom truck is located, and to construct an environmental perception model; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes starting point coordinates and target point coordinates.

[0038] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the boom truck path planning method as described in any one of the above items.

[0039] A fourth aspect of the present invention provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer executes the boom truck path planning method as described in any one of the above items.

[0040] It can be seen from the above technical solutions that the present invention has the following advantages:

[0041] The present invention uses an environmental perception model to obtain the starting point coordinates and target point coordinates of the boom truck, and uses machine learning methods such as reinforcement learning and optimization algorithms to learn and optimize the constructed path planning model, so that the boom truck can learn and optimize according to historical data and environmental information, further improving the accuracy and efficiency of path planning. The present invention cleverly integrates the optimization algorithm, abstracts and models the reinforcement learning algorithm with the boom truck path planning, and brings higher stability and reliability to the boom truck path planning. Specifically, it includes the following significant advantages:

[0042] ① Efficiency and accuracy of complex terrain path optimization: The algorithm can make full use of the high-precision location information provided by the Beidou system to analyze and optimize complex terrain. At the same time, through the application of machine learning technology, the algorithm can learn and optimize based on historical data and environmental information, further improving the accuracy and efficiency of path planning.

[0043] ② Excellent robustness: In complex spaces, due to the existence of the incentive mechanism, the present invention can operate stably, not only demonstrating excellent success rate and accuracy, but also ensuring the safety and integrity of the boom truck in terms of safety.

[0044] ③ Broad application potential: This invention is not only universal, but also highly adaptable, and can play its intrinsic value in a variety of observation environments and conditions. Whether it is drone navigation, intelligent vehicle systems, or modern smart agriculture, this technology can bring a breakthrough improvement to the application of RTK positioning technology, and has broad market potential and application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 A flowchart of a method for path planning of a boom truck provided in Embodiment 1 of the present invention;

[0047] Figure 2 A schematic diagram of the combination of two learning methods used in a bucket truck path planning method provided in Embodiment 1 of the present invention;

[0048] Figure 3 A schematic diagram of path planning for a boom truck path planning method provided in Embodiment 1 of the present invention;

[0049] Figure 4 This is a structural block diagram of a boom truck path planning system provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0050] The embodiments of the present invention provide a boom truck path planning method, system, medium and product, which are used to solve the technical problems that the existing path planning method relies on manual operation and laser radar positioning, resulting in susceptibility to interference, weak environmental adaptability and poor accuracy.

[0051] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.

[0052] Embodiment 1

[0053] See also Figures 1 to 3 , Figure 1 A flowchart of the steps of a boom truck path planning method provided in Example 1 of the present invention.

[0054] The present invention provides a method for path planning of a boom truck, comprising the following steps:

[0055] Optionally, before executing step 101, the following steps S11-S12 are also included:

[0056] S11, obtaining obstacle information, cargo information and boom truck information;

[0057] S12. Use obstacle information, cargo information and boom truck information to perform 3D modeling of the environment in which the boom truck is located, and construct an environmental perception model; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes the coordinates of the starting point and the coordinates of the target point.

[0058] It should be noted that the environment perception module is a 3D map model, which is a key part of the boom truck path planning method and is responsible for obtaining the working environment and cargo information of the boom truck in real time. This information usually includes the location, size and shape of obstacles, the location, weight and size of cargo, and the location and posture of the boom truck itself. To build a description of this module, you first need to define the relevant variables and parameters, and then establish the relationship between them.

[0059] The task of the environment perception module is to obtain obstacle information, cargo information, and boom truck information in real time and integrate them into a unified model (i.e., environment perception model). This model can be a three-dimensional map containing the location information of obstacles, cargo, and boom trucks. To simplify the problem, these objects can be regarded as points or simple geometric shapes.

[0060] For example, the following equations can be used to describe the positions of obstacles and cargo in three-dimensional space:

[0061]

[0062]

[0063] Among them, O i is the position of the (i)th obstacle; C is the position of the cargo.

[0064] The position and posture of the boom truck can be represented by a six-dimensional vector:

[0065]

[0066] in, They represent the pitch angle, yaw angle and roll angle of the boom truck respectively.

[0067] In specific implementation, the present invention is based on the technical application of network RTK in power line survey, and adopts real-time dynamic RTK to measure the attitude of the boom truck's insulated boom.

[0068] Among them, the advantages of RTK in power line survey are:

[0069] (1) High precision: Network RTK technology can achieve sub-millimeter measurement accuracy, meeting the needs of high-precision positioning in power line surveys.

[0070] (2) Real-time: Network RTK technology can transmit differential data in real time and calculate the position in real time, thereby realizing real-time dynamic differential positioning and improving survey efficiency.

[0071] (3) Portability: Network RTK equipment is small in size and light in weight, easy to carry, and can be used for surveying anytime and anywhere.

[0072] (4) Easy to operate: Network RTK equipment is easy to operate. You only need to make simple settings to start surveying.

[0073] For the posture measurement of the insulated bucket arm of the bucket truck, the present invention adopts the RTK real-time differential positioning technology to realize the arm posture mapping, so as to map the spatial coordinates of the working bucket with the insulating arm column as the origin of the coordinate system, and then calculate the key parameters of each joint control point according to the geometric structure of the insulating arm, support the high-precision control of the arm posture for the distribution network live working robot and the arm intelligent requirements, and effectively reduce the number of sensors arranged on the insulating arm, reducing the difficulty of mapping.

[0074] Optionally, step S11 includes the following steps S111-S113:

[0075] S111, obtaining the position, volume and shape of the obstacle, and generating obstacle information;

[0076] S112, obtaining the location, weight and size of the goods and generating goods information;

[0077] S113, obtaining the position, maximum extension length and current extension length of the boom truck, and generating boom truck information.

[0078] It should be noted that obstacle information:

[0079] (O i ): The position of the (i)th obstacle (e.g., 3D coordinates (x i , y i , z i )

[0080] (S i ): The size of the (i)th obstacle (e.g., length, width, height)

[0081] (Sh i ): shape of the (i)th obstacle (e.g., cube, cylinder, etc.)

[0082] Cargo information:

[0083] (C): The location of the cargo (e.g., three-dimensional coordinates (x c , y c , z c )

[0084] (W): weight of the cargo

[0085] (D): Dimensions of the goods (e.g. length, width, height)

[0086] Boom truck information:

[0087] (R): The position of the boom truck (e.g., three-dimensional coordinates plus the attitude angle (x r , y r , z r , Θ, Φ, Ψ))

[0088] (L): Maximum extension length of the boom truck

[0089] (CL): The current reach length of the boom truck

[0090] The task of the environment perception module is to obtain the above information in real time and integrate it into a unified model (i.e., the environment perception model).

[0091] Step 101: Obtain the starting point coordinates and target point coordinates of the boom truck in a preset environment perception model.

[0092] It should be noted that the path planning of the present invention aims to find a collision-free path from the starting point to the target point, while taking into account the kinematic constraints of the boom truck and the dynamic changes in the working environment. Figure 2 As shown in , this can usually be done by combining traditional optimization algorithms (heuristic algorithms) with machine learning algorithms to model and optimize the motion process of the bucket truck, such as Figure 3 shown.

[0093] In the specific implementation, the boom truck is set as an intelligent agent, and a 3D environmental perception model is constructed for its working environment (including obstacles, cargo, etc.). The starting point coordinates and target point coordinates of the boom truck in the environmental perception model are used to solve the path in which the boom truck does not collide with obstacles and has the shortest travel length during the period from the starting point coordinates to the target point coordinates.

[0094] Step 102: Taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition, and constructing a path planning model by determining constraint conditions.

[0095] Optionally, step 102 includes the following steps S21-S22:

[0096] S21, taking the path between the starting point coordinates and the target point coordinates as the optimization target condition, and taking the coordinate points corresponding to all paths from the starting point coordinates to the target point coordinates as decision variables, to construct an objective function;

[0097] S22: Build a path planning model with the distance between the boom truck and the obstacle being greater than or equal to the preset safety distance threshold as a constraint condition

[0098] It should be noted that the motion process of the boom truck is modeled and optimized by combining the traditional optimization algorithm (heuristic algorithm) and the machine learning algorithm, and the objective function of the optimization problem can include the shortest path length, the shortest execution time and the least energy consumption as optimization target conditions.

[0099] In a specific embodiment, the path between the starting point coordinates and the target point coordinates is mainly used as the optimization target condition, and the coordinate points corresponding to all paths from the starting point coordinates to the target point coordinates are used as decision variables to construct the objective function.

[0100] It should be noted that the constraints may include avoiding collision with obstacles, meeting the maximum extension length limit of the boom truck, etc. Specifically, the path planning model can be expressed as:

[0101]

[0102] In the formula, represents a path consisting of n points, Indicates point ( ) and dot ( ), Indicates the preset safety distance threshold, which is used to ensure that the boom truck does not intersect with obstacles when traveling along the planned path.

[0103] Step 103: Based on reinforcement learning and optimization algorithm, the path planning model is optimized and solved, and the optimal planning path of the boom truck is determined according to the optimal solution.

[0104] Optionally, step 103 includes the following steps S31-S37:

[0105] S31. Based on reinforcement learning, the Q network parameters, target network parameters and experience playback storage of the initial path planning model are initialized, and the boom truck is set as an intelligent agent;

[0106] S32, setting hyper parameters of the path planning model;

[0107] S33, initializing the initial state of the agent;

[0108] S34, based on the greedy strategy, selecting a first action from the Q network according to the initial state of the agent, and executing a corresponding action according to the first action to generate an updated state of the agent and a first reward;

[0109] S35, using the initial state, the first action, the updated state and the first reward, generating a first experience and storing it in the experience playback storage;

[0110] S36, judging whether the update state corresponding to the first experience satisfies the termination state, and updating the Q network parameters and the target network parameters according to the judgment result;

[0111] S37, update the state to a new initial state, jump to execute based on the greedy strategy, select the first action from the Q network according to the initial state of the intelligent agent, and execute the corresponding action according to the first action, generate the updated state of the intelligent agent and the first reward step, until the optimal planning path of the boom truck is obtained.

[0112] It should be noted that the boom truck is regarded as an intelligent agent, and its working environment (including obstacles, cargo, etc.) is regarded as the environment. The goal of the intelligent agent is to find a strategy through learning so that it can efficiently plan the path in a given environment. The learning process is constructed based on the reinforcement learning algorithm. The interaction between the intelligent agent and the environment in reinforcement learning can be adapted to the interaction between the boom truck and the complex working environment. Based on the high-precision positioning application of RTK technology, the real-time positioning and posture of the boom truck are obtained in real time. Combined with the fusion results of the optimization algorithm and reinforcement learning, the dynamic operation model of the boom truck is constructed to optimize its operation trajectory.

[0113] Specifically, the steps of the reinforcement learning algorithm are as follows:

[0114] ① Initialization: Initialize the Q value (Q(s, a)) for each state-action pair ((s, a)).

[0115] ②Iteration: For each episode:

[0116] Initialization state(s).

[0117] In state (s), select action (a): Use the ε-greedy strategy: select a random action with probability ε, and select the action with the maximum Q value a=arg max with probability (1 - ε) a Q(s,a).

[0118] Perform an action (a), observe the new state (s') and reward (r).

[0119] Update Q value: Q(s,a) Q(s,a)+α(r+γmax(Q(s′,a1),Q(s′,a2),...,Q(s′,a ∣A∣ )) Q(s,a)) where is the learning rate, is the discount factor. (Update the current state to the new state).

[0120] ③ Termination condition: When a certain termination condition is met (such as reaching the maximum number of iterations or Q value convergence), stop the iteration.

[0121] In the specific implementation, in order to further make the path data of the planned path accurate and stable, DQN and QL are combined to train the path planning model. The training algorithm steps are as follows:

[0122] ① Initialization:

[0123] Initialize the Q network parameters θ and target network parameters θ' of the path planning model.

[0124] Initialize experience replay storage D.

[0125] Set hyperparameters: learning rate α, discount factor γ, exploration rate ε, batch size batch size wait.

[0126] ②Iteration: For each episode:

[0127] Initialize state s.

[0128] For each step t:

[0129] Select action a (i.e. the first action) from the Q network using the ε-greedy strategy;

[0130] Execute action a and observe the new state s' (i.e. updated state) and reward r (i.e. first reward).

[0131] Experience<s, a, r, s'> Stored in D.

[0132] Randomly sample a batch of experience from D i , a i , r i , s i '>.

[0133] For each experience:

[0134] If s_i' is the terminal state, set y i =r i .

[0135] Otherwise, set .

[0136] use Perform gradient descent to update θ.

[0137] Update the target network parameters at each step: θ' = θ.

[0138] s = s' (update the current state to the new state). ​

[0139] ③ Termination condition: When a certain termination condition is met (such as reaching the maximum number of iterations or Q value convergence), stop the iteration.

[0140] Q-value function approximation: Use neural network to approximate the Q-value function, that is , where θ is the parameter of the neural network.

[0141] Target Q value calculation: For non-terminal states, the target Q value y i The calculation formula is:

[0142]

[0143] In the formula, represents the target value, Indicates that the Q function is in state Take action The predicted value at time , where Indicates the current state. Indicates the next action. Represents the parameters of the target network.

[0144] The above formula is used to calculate the target Q value for each experience for gradient descent updates.

[0145] By combining deep learning and Q-Learning, DQN can process high-dimensional state space and continuous action space, providing an effective solution to the path planning problem of the boom truck. The target path planning model is obtained through training, so that the boom truck can learn what actions to take in different states to obtain the maximum long-term reward, thereby achieving efficient path planning.

[0146] By inputting the starting point coordinates and target point coordinates of the intelligent agent into the target path planning model, the optimal planning path of the boom truck can be output.

[0147] It should be noted that the gradient descent update: gradient descent update using the mean square error loss function:

[0148]

[0149] In the formula, represents the target value, Indicates that the Q function is in state Next action The value of Indicates the current state. Indicates status The following execution actions, Indicates the parameters of the current network.

[0150] Through this loss function, the parameters θ of the neural network can be updated to approximate the true Q-value function.

[0151] Optionally, step S36 includes the following steps S361-S363:

[0152] S361, determining whether the update state corresponding to the first experience satisfies the termination state;

[0153] S362: If yes, stop the iteration and determine the current path planning model as the target path planning model;

[0154] S363. If not, use the mean square error loss function to perform gradient descent to update the Q network parameters, generate updated Q network parameters, and update the target network parameters according to the updated Q network parameters.

[0155] It should be noted that the termination condition is to stop the iteration when a certain termination condition is met (such as reaching the maximum number of iterations or the Q value converges).

[0156] In the specific implementation, it is determined whether the update state corresponding to the first experience satisfies the terminal state, that is, whether s_i' is the terminal state. If so, y is set i =r i .

[0157] Otherwise, set .

[0158] use Perform gradient descent to update θ.

[0159] Update the target network parameters at each step: .

[0160] Embodiment 2

[0161] See also Figure 4 , Figure 4 This is a structural block diagram of a boom truck path planning system provided in Example 2 of the present invention.

[0162] The present invention provides a bucket truck path planning system, comprising:

[0163] An acquisition module 201 is used to acquire the coordinates of the starting point and the target point of the boom truck in a preset environment perception model;

[0164] A construction module 202 is used to construct a path planning model by taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition and determining the constraint conditions;

[0165] The optimal planning path module 203 is used to optimize and solve the path planning model based on reinforcement learning and optimization algorithm, and determine the optimal planning path of the bucket truck according to the optimal solution.

[0166] Optionally, the system further includes:

[0167] The acquisition submodule is used to obtain obstacle information, cargo information and boom truck information;

[0168] The submodule is used to use obstacle information, cargo information and boom truck information to perform 3D modeling of the environment in which the boom truck is located, and to construct an environmental perception model; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes the coordinates of the starting point and the coordinates of the target point.

[0169] Optionally, the acquisition submodule includes:

[0170] The first acquisition submodule is used to acquire the position, volume and shape of the obstacle and generate obstacle information;

[0171] The second acquisition submodule is used to obtain the location, weight and size of the goods and generate the goods information;

[0172] The third acquisition submodule is used to obtain the position, maximum extension length and current extension length of the boom truck and generate boom truck information.

[0173] Optionally, the construction module 202 includes:

[0174] The objective function submodule is used to construct an objective function by taking the path between the starting point coordinates and the target point coordinates as the optimization target condition and taking the coordinate points corresponding to all paths from the starting point coordinates to the target point coordinates as decision variables;

[0175] The path planning model submodule is used to construct a path planning model with the interval distance between the boom truck and the obstacle being greater than or equal to a preset safety distance threshold as a constraint condition.

[0176] Optionally, the optimal planning path module 203 includes:

[0177] The initialization submodule is used to initialize the Q network parameters, target network parameters and experience playback storage of the initial path planning model based on reinforcement learning, and set the boom truck as an intelligent agent;

[0178] The hyperparameter submodule is used to set the hyperparameters of the path planning model;

[0179] The initial state submodule is used to initialize the initial state of the agent;

[0180] A greedy strategy submodule, for selecting a first action from the Q network according to the initial state of the agent based on the greedy strategy, and performing a corresponding action according to the first action to generate an updated state and a first reward of the agent;

[0181] A storage submodule, for using an initial state, a first action, an updated state, and a first reward to generate a first experience and store it in an experience replay storage;

[0182] A judgment submodule, used to judge whether the update state corresponding to the first experience satisfies the termination state, and update the Q network parameters and the target network parameters according to the judgment result;

[0183] The jump execution submodule is used to update the state to a new initial state. The jump execution is based on a greedy strategy. According to the initial state of the agent, the first action is selected from the Q network, and the corresponding action is executed according to the first action to generate the updated state of the agent and the first reward step until the optimal planning path of the boom truck is obtained.

[0184] Optionally, the judgment submodule includes:

[0185] A termination state submodule, used to determine whether the update state corresponding to the first experience satisfies the termination state;

[0186] The target path planning model submodule is used to stop iteration if yes and determine the current path planning model as the target path planning model;

[0187] The update submodule is used to update the Q network parameters by gradient descent using the mean square error loss function if no, generate updated Q network parameters, and update the target network parameters according to the updated Q network parameters.

[0188] Embodiment 3

[0189] Embodiment 3 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, a boom truck path planning method according to any embodiment of the present invention is implemented.

[0190] Embodiment 4

[0191] Embodiment 4 of the present invention provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer executes a boom truck path planning method as described in any embodiment of the present invention.

[0192] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0193] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0194] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0195] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0197] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A bucket truck path planning method, characterized in that: include: Obtain the starting point coordinates and target point coordinates of the boom truck in a preset environment perception model; Taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition, and constructing a path planning model by determining constraint conditions; Based on reinforcement learning and optimization algorithms, the path planning model is optimized and solved, and the optimal planning path of the boom truck is determined according to the optimal solution.

2. The boom truck path planning method according to claim 1, characterized in that: Also includes: Obtain obstacle information, cargo information and boom truck information; The obstacle information, the cargo information and the boom truck information are used to perform 3D modeling on the environment in which the boom truck is located, and an environmental perception model is constructed; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes starting point coordinates and target point coordinates.

3. The boom truck path planning method according to claim 2, characterized in that: The step of obtaining obstacle information, cargo information and boom truck information includes: Obtain the position, volume and shape of obstacles and generate obstacle information; Obtain the location, weight and size of the goods and generate cargo information; The position, maximum extension length and current extension length of the boom truck are obtained to generate boom truck information.

4. The boom truck path planning method according to claim 1, characterized in that: The step of taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition and constructing the path planning model by determining the constraint conditions comprises: Taking the path between the starting point coordinates and the target point coordinates as the optimization target condition, and taking the coordinate points corresponding to all paths from the starting point coordinates to the target point coordinates as decision variables, constructing an objective function; A path planning model is constructed with the constraint condition that the interval distance between the boom truck and the obstacle is greater than or equal to a preset safety distance threshold.

5. The boom truck path planning method according to claim 1, characterized in that: The step of optimizing and solving the path planning model based on reinforcement learning and optimization algorithm, and determining the optimal planning path of the boom truck according to the optimal solution, comprises: Based on reinforcement learning, the Q network parameters, target network parameters and experience replay storage of the path planning model are initialized, and the boom truck is set as an intelligent agent; Setting hyperparameters of the path planning model; Initializing the initial state of the agent; Based on the greedy strategy, a first action is selected from the Q network according to the initial state of the agent, and a corresponding action is performed according to the first action to generate an updated state and a first reward of the agent; Using the initial state, the first action, the updated state and the first reward, a first experience is generated and stored in the experience replay storage; Determine whether the update state corresponding to the first experience satisfies the termination state, and update the Q network parameter and the target network parameter according to the determination result; The updated state is set to a new initial state, and the greedy strategy is jumped to execute, a first action is selected from the Q network according to the initial state of the agent, and a corresponding action is executed according to the first action to generate the updated state of the agent and the first reward step until the optimal planning path of the boom truck is obtained.

6. The boom truck path planning method according to claim 5, characterized in that: The step of determining whether the update state corresponding to the first experience satisfies the termination state, and updating the Q network parameters and the target network parameters according to the determination result, comprises: Determine whether the updated state corresponding to the first experience satisfies the termination state; If yes, the iteration is stopped and the current path planning model is determined as the target path planning model; If not, the mean square error loss function is used to perform gradient descent to update the Q network parameters, generate updated Q network parameters, and update the target network parameters according to the updated Q network parameters.

7. A bucket truck path planning system, characterized in that: include: An acquisition module is used to acquire the starting point coordinates and the target point coordinates of the boom truck in a preset environment perception model; A construction module, used to construct a path planning model by taking the shortest path length between the starting point coordinates and the target point coordinates as the optimization target condition and determining constraint conditions; The optimal planning path module is used to optimize and solve the path planning model based on reinforcement learning and optimization algorithm, and determine the optimal planning path of the bucket truck according to the optimal solution.

8. The boom truck path planning system according to claim 7, characterized in that: Also includes: The acquisition submodule is used to obtain obstacle information, cargo information and boom truck information; A submodule is constructed, which is used to use the obstacle information, the cargo information and the boom truck information to perform 3D modeling on the environment in which the boom truck is located, and to construct an environmental perception model; wherein the environmental perception model includes a planned path of the boom truck, and the planned path includes starting point coordinates and target point coordinates.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the boom truck path planning method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer executes the boom truck path planning method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Automatic overhead working truck path generation system and method based on machine learning

    CN121625150A