A tower crane hoisting path planning method and device based on improved A* algorithm

Through the tower crane hoisting path planning method based on the A* algorithm, the three-dimensional grid model and obstacle point set are used to solve the problem of tower crane operators' limited vision and obstruction by obstacles, and achieve a more efficient and safer hoisting operation. Operation path planning reduces fatigue risks.

CN113901611BActive Publication Date: 2024-10-22GUANGZHOU INSTITUTE OF BUILDING SCIENCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111190913.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-13
Publication Date
2024-10-22
Estimated Expiration
2041-10-13

AI Technical Summary

Technical Problem

Due to limited vision and obstruction by obstacles, tower crane operators are prone to blind hoisting and mountain-mounted hoisting, which results in difficult operations and safety hazards. In addition, long-term driving leads to fatigue, which is difficult to effectively solve with existing technology.

Method used

An improved tower crane lifting path planning method based on the A* algorithm is adopted. By establishing a three-dimensional grid model under cylindrical coordinates, an obstacle point set is generated, and a specific heuristic function is used to plan the lifting path, and the data structure is optimized to improve path planning. efficiency, avoiding visual blind spots and collisions.

Benefits of technology

It greatly reduces the calculation time, improves the efficiency and safety of path planning, ensures that obstacles are avoided during lifting, reduces fatigue risks, and improves lifting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901611B_ABST
    Figure CN113901611B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of automatic control of tower cranes, and specifically discloses a tower crane hoisting path planning method and device based on an improved A* algorithm, the method comprising: establishing a three-dimensional grid model of a construction site under cylindrical coordinates, and generating a grid node set; generating an obstacle point set according to obstacles in the construction site and the grid node set; obtaining the coordinates of the hoisting starting point and the coordinates of the hoisting end point under cylindrical coordinates; planning a hoisting path from the hoisting starting point to the hoisting end point according to the hoisting starting point, the hoisting end point, the grid node set, the obstacle point set and a preset hoisting path planning strategy, and the like. The present invention optimizes the set data structure, greatly reduces the calculation time, improves the efficiency of path planning, avoids the visual blind spot problem existing in manual driving by generating an obstacle point set, and adopts a specific heuristic function so that the planned hoisting path is more in line with the tower crane working scene and hoisting logic, thereby improving the hoisting safety and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic control of tower cranes, and in particular to a tower crane hoisting path planning method and device based on an improved A* algorithm. Background Art

[0002] Tower cranes are key mechanical equipment in construction work. They can be seen everywhere in building construction sites, which can effectively save manpower, reduce construction costs and improve construction progress. However, due to the high position of the tower crane cab, the vision of the tower crane operator is greatly limited. There are also buildings and obstacles in the site, and blind cranes and mountain cranes often occur. The driver can only work based on experience in combination with the instructions of the ground personnel. The blindness and high difficulty of operation have certain safety hazards. At the same time, the tower crane driver works repeatedly for a long time in the narrow high-altitude cab, which is prone to fatigue, causing a great impact on the safe production of tower crane lifting operations. To solve this problem, the existing technology mainly provides assistance to the driver by setting up a tower crane operation monitoring system, collecting the parameters and video images of the tower crane operation, and reducing the visual blind spot. However, tower crane driving is greatly affected by human factors, and the problem of driver fatigue driving still exists. Therefore, automatic driving unmanned tower cranes are an important direction for the current research and development of new tower cranes.

[0003] Invention patent applications CN110182696A, CN110482409A and CN109610850A respectively proposed to use SLAM algorithm, rapid search random tree (RRT) algorithm and ant colony algorithm to search for lifting paths. In addition, A* algorithm is also an algorithm to realize path planning, but the conventional A* algorithm is used for path planning in tower crane working scenarios, which has problems such as low algorithm efficiency and low lifting height, and its practicality and safety need to be improved.

[0004] Therefore, people in this field are in urgent need of finding a new technical solution to solve the above problems. Summary of the invention

[0005] In view of the technical problems in the prior art, the present invention provides a tower crane hoisting path planning method and device based on an improved A* algorithm.

[0006] The present invention discloses a tower crane hoisting path planning method based on an improved A* algorithm, comprising:

[0007] Establish a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set;

[0008] Generate the obstacle point set U according to the obstacles and grid node set in the construction site 0 ;

[0009] Obtain the coordinates of the lifting start point S and the lifting end point G in cylindrical coordinates, which are (r S ,θ S ,h S ) and (r G ,θ G ,h G );

[0010] According to the lifting starting point S, lifting end point G, grid node set, obstacle point set U 0 And the preset lifting path planning strategy plans the lifting path from the lifting starting point S to the lifting end point G;

[0011] Among them, the lifting path planning strategy includes:

[0012] S101: Create an open list of reachable points and a close list of points that do not need attention;

[0013] S102: put the lifting starting point S into the open list of the reachable points, set the total cost f(S) and the actual cost g(S) of the lifting starting point S to 0, and set its parent node to itself;

[0014] S103: Select the node n with the smallest total cost f(n) from the reachable point set open list, and delete the node n from the reachable point set open list; where the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k 1 (h mid -h n )+k 2 +k 3 (|r n -r G |+|θ n -θ G |)+k 4 |h n -h G |, k 1 ,k 2 ,k 3 ,k 4 is the preset weight function, h mid It is the safety height value that needs to be ensured before the preset large-scale horizontal movement;

[0015] S104: Obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set U 0Or there is no need for a focus set close list; among them, the coordinates of node m are (r m , θ m , h m ); Otherwise,

[0016] S105: Determine whether node m is already in the reachable point set open list;

[0017] S106: If node m is not in the reachable point set open list, add node m to the reachable point set open list, set node n as the parent node of node m, and calculate the total cost of node m f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the hoisting starting point S via its parent node n to node m, g(m) = g(n) + |r m - r n | + r n ·|θ m - θ n | + |h m - h n |, h(m) is the heuristic function of node m, and h(m) = k 1 (h mid - h m ) + k 2 + k 3 (|r m - r G | + |θ m - θ G |) + k 4 |h m - h G |;

[0018] S107: If node m is already in the reachable point set open list, calculate the cost l(m, n) = g(n) + |r m - r n | + r n ·|θ m - θ n | + |h m - h n | from the hoisting starting point S via the non-parent node n to node m, compare the cost l(m, n) with the actual cost g(m). If l(m, n) < g(m), set node n as the parent node of node m, let the actual cost g(m) = l(m, n), and update the total cost f(m);

[0019] After traversing all adjacent nodes m of node n through S104 to S107, execute S108;

[0020] S108: adding node n to the close list of points that do not need attention;

[0021] Repeat S103 to S108 until the node selected from the open list of reachable points is the lifting end point G;

[0022] S109: Starting from the lifting end point G, trace back along the parent node of each node until the lifting starting point S, and connect the traced nodes in sequence to form the lifting path.

[0023] Furthermore, a three-dimensional grid model of the construction site in cylindrical coordinates is established, and a grid node set is generated, including:

[0024] Take the central axis of the tower crane as the longitudinal axis of the cylindrical coordinates, and divide the angle coordinate θ into a parts with a set step length;

[0025] Convert the angle coordinates θ of all nodes into integers between 0 and a-1;

[0026] The angle coordinate of the node is used as the index of the first-level list, and the radius coordinate r and height coordinate h of the node are used as the second-level list.

[0027] Furthermore, the step size is set to 1°, and the angle coordinate θ is divided into 360 equal parts.

[0028] Further, in S104: determining whether the node m belongs to the obstacle point set or the closelist of points that do not need attention includes:

[0029] The angle coordinate θ of node m m Index in the first-level list in the obstacle point set or the close list of the point set that does not need attention, and find the corresponding second-level list;

[0030] Find the corresponding (r m ,h m ).

[0031] Furthermore, a three-dimensional grid model of the construction site in cylindrical coordinates is established and a grid node set is generated, which also includes:

[0032] Establish a three-dimensional model of the construction site in rectangular coordinates;

[0033] The three-dimensional model is converted into a three-dimensional mesh model, and the mesh node set is determined by setting the plane mesh accuracy.

[0034] Furthermore, the weight function k 1 The expression is:

[0035]

[0036] Wherein, d(n,S) represents the Euclidean distance between node n and the lifting starting point S, d(n,G) represents the Euclidean distance between node n and the lifting end point G, and ρ is the preset radius range.

[0037] Furthermore, the weight function k 2 The expression is:

[0038]

[0039] Wherein, λ is a constant that is one order of magnitude greater than d(S,G), and d(S,G) represents the Euclidean distance between the lifting starting point S and the lifting end point G.

[0040] Furthermore, the weight function k 3 The expression is: Weight function k 4 Equal to the constant 1.

[0041] Furthermore, the safe height value is:

[0042] h mid =max(h S ,h G )+(h max -max(h S ,h G )) / 2;

[0043] Among them, h max It is the maximum height that the tower crane is allowed to lift.

[0044] The present invention also includes a tower crane hoisting path planning device based on an improved A* algorithm, the tower crane hoisting path planning device includes a three-dimensional grid model building module, an obstacle point set generation module, a hoisting start and end point coordinate acquisition module, a hoisting path planning module, and a hoisting control module; wherein:

[0045] A three-dimensional grid model building module is connected with the obstacle point set generation module and the lifting path planning module. The three-dimensional grid model building module is used to build a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set;

[0046] The obstacle point set generation module is connected with the three-dimensional grid model building module and the lifting path planning module. The obstacle point set generation module is used to generate an obstacle point set U according to the obstacles and grid node sets in the construction site. 0 ;

[0047] The lifting start and end point coordinate acquisition module is connected to the lifting path planning module. The lifting start and end point coordinate acquisition module is used to obtain the coordinates of the lifting start point S and the lifting end point G in the cylindrical coordinates, which are (r S ,θ S ,hS ) and (r G ,θ G ,h G );

[0048] The lifting path planning module is connected with the three-dimensional grid model building module, the obstacle point set generation module, the lifting start and end point coordinate acquisition module and the lifting control module. The lifting path planning module is used to calculate the lifting path according to the lifting start point S, the lifting end point G, the grid node set, and the obstacle point set U. 0 And a preset lifting path planning strategy is used to plan the lifting path from the lifting starting point S to the lifting end point G; the lifting path planning strategy includes: S101: establishing an open list of reachable points and a close list of points that do not need to be concerned; S102: putting the lifting starting point S into the open list of reachable points, setting the total cost f(S) and the actual cost g(S) of the lifting starting point S to 0, and setting its parent node to itself; S103: in the open list of reachable points, selecting the node n with the smallest total cost f(n), and deleting the node n from the open list of reachable points; wherein the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k 1 (h mid -h n )+k 2 +k 3 (|r n -r G |+|θ n -θ G |)+k 4 |h n -h G |, k 1 ,k 2 ,k 3 ,k 4 is the preset weight function, h mid is the preset safety height value to be ensured before large-scale horizontal movement; S104: obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set or the close list of the point set that does not need attention; wherein the coordinates of the node m are (r m ,θ m ,h m);If not, S105: Determine whether node m is already in the reachable point set open list; S106: If node m is not in the reachable point set open list, add node m to the reachable point set open list, set node n as the parent node of node m, and calculate the total cost of node m, f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the hoisting starting point S to node m via its parent node n, g(m) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h n |, h(m) is the heuristic function of node m, and h(m) = k 1 (h mid -h m )+k 2 +k 3 (|r m -r G |+|θ m -θ G |)+k 4 |h m -h G |; S107: If node m is already in the reachable point set open list, calculate the cost l(m,n) of reaching node m from the hoisting starting point S via a non-parent node n, l(m,n) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h n |, compare the cost l(m,n) with the actual cost g(m). If l(m,n) < g(m), set node n as the parent node of node m, set the actual cost g(m) = l(m,n), and update the total cost f(m); After traversing all adjacent nodes m of node n through S104 to S107, execute S108; S108: Add node n to the set of nodes that do not need to be concerned about, close list; Repeat S103 to S108 until the node selected from the reachable point set open list is the hoisting end point G; S109: Starting from the hoisting end point G, backtrack along the parent node of each node until the hoisting starting point S, and connect the backtracked nodes in sequence to obtain the hoisting path;

[0049] The hoisting control module is connected to the hoisting path planning module. The hoisting control module is used to generate tower crane operation instructions according to the hoisting path.

[0050] The tower crane lifting path planning method and device improved based on the A* algorithm of the present invention replaces the mode of relying solely on manual driving. The three-dimensional grid model of the construction site established by cylindrical coordinates is used as the basis for lifting path planning, which optimizes the set data structure, greatly reduces the calculation time, and improves the efficiency of path planning. By generating an obstacle point set, the visual blind spot problem existing in manual driving is avoided, and relevant nodes can be avoided during the path planning process, thereby ensuring that no collision occurs between objects and obstacles during the lifting process. By adopting a specific heuristic function, the planned lifting path is more in line with the tower crane working scene and lifting logic, thereby improving the safety of the lifting path, having higher lifting efficiency, and saving time and effort. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Figure 1 This is a flowchart of a tower crane hoisting path planning method based on an improved A* algorithm according to an embodiment of the present invention (I);

[0053] Figure 2 This is a flowchart of a tower crane hoisting path planning method improved based on the A* algorithm according to an embodiment of the present invention (II);

[0054] Figure 3 This is a structural diagram of a tower crane hoisting path planning device improved based on the A* algorithm according to an embodiment of the present invention;

[0055] Figure 4 This is a structural diagram of a tower crane hoisting path planning system improved based on the A* algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the accompanying drawings in 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 belong to the protection scope of the present invention.

[0057] In tower crane operation scenarios, the conditions in areas close to the ground or obstacles are more complicated, and there are often people and machinery working, or irregular obstacles, etc. Therefore, for safety reasons, tower crane drivers usually lift the load to a certain height when driving, so that it is a certain distance from the ground and obstacles, and then start the luffing and rotation operations to avoid large-scale horizontal movement of the load on the ground and other areas close to obstacles. Similarly, when lowering the load, the driver will move the heavy object to the top of the target point, and then slowly lower the load.

[0058] As a heuristic path search algorithm, the core of the A* algorithm is to introduce a heuristic function to guide the program to choose a node closer to the end point each time it selects a node, so that the program can quickly obtain a feasible path. Commonly used heuristic functions in the A* algorithm are:

[0059] Euclidean distance:

[0060] Manhattan distance:

[0061] Chebyshev distance:

[0062] In the formula, p i ,q i (i=1,2,...,n) are the coordinate values ​​of the current node and the end point respectively. Using the above distance as the heuristic function, the planned path is often a path that goes straight from the starting point to the end point. It often moves horizontally close to the ground and in obstacle areas. It can be seen that the path obtained by using the heuristic function of the conventional A* algorithm for tower crane hoisting path planning is not suitable for tower crane working scenarios and has certain safety hazards.

[0063] Therefore, the present invention provides an embodiment of a tower crane hoisting path planning method based on an improved A* algorithm, such as Figure 1 As shown, including:

[0064] Step S10: Establish a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set.

[0065] To implement this step, a three-dimensional model of the construction site in rectangular coordinates can be first established. The three-dimensional model can be established by combining oblique photography with image analysis technology or three-dimensional laser scanning modeling. The implementation process of oblique photography combined with image analysis technology may include: (1) deploying a number of video surveillance cameras around the building body and the tower crane; the video surveillance camera is used to collect on-site images around the building body and the tower crane, and the video surveillance camera is fixedly installed to facilitate the maintenance of a shooting angle during the image collection process. (2) The video surveillance camera collects on-site images; (3) The on-site images taken by the video surveillance camera are analyzed to generate a three-dimensional model of the construction site in rectangular coordinates; the tower cranes, buildings, etc. captured in the on-site images are extracted, and the tower cranes, buildings, etc. are restored in proportion according to their locations and image sizes, and finally the three-dimensional model of this embodiment is determined.

[0066] After establishing the three-dimensional model of the construction site under rectangular coordinates, the three-dimensional model is converted into a three-dimensional grid model, and the grid node set is determined by setting the plane grid accuracy (for example, less than or equal to 1m). The three-dimensional grid model of this embodiment is established under cylindrical coordinates, and may include: (1) using the central axis of the tower crane body as the longitudinal axis of the cylindrical coordinates, and dividing the angle coordinate θ into a parts with a set step size; (2) converting the angle coordinate θ of all nodes into integers between 0 and a-1; (3) using the angle coordinate of the node as the index of the first-level list, and the radius coordinate r and height coordinate h of the node as the second-level list. Preferably, the step size is set to 1°, and the angle coordinate θ is divided into 360 parts, then the angle coordinate θ of all nodes is converted into integers between 0 and 359, and then the angle coordinate is used as the index of the first list, and the radius coordinate r and height coordinate h of the node are stored in the second list. That is:

[0067]

[0068] Step S20: Generate an obstacle point set U according to the obstacles and grid node set in the construction site 0 .

[0069] In order to ensure that the objects lifted by the tower crane do not collide with obstacles in the construction site during the lifting operation, it is necessary to determine the obstacle point set U based on the grid node set and the location, size and shape of the obstacles in the construction site. 0 .

[0070] A person skilled in the art may set a redundancy l for ensuring safety. extra , and then the obstacle point set U 0 The range of adding redundancy extraRemove nodes from the grid node set, and the remaining nodes are the set of reachable points, the open list, and the removed nodes are the set of points that do not need attention, the close list.

[0071] Step S30: Obtain the coordinates of the lifting start point S and the lifting end point G in cylindrical coordinates, which are (r S ,θ S ,h S ) and (r G ,θ G ,h G ).

[0072] The method of obtaining the coordinates of the lifting starting point S and the coordinates of the lifting end point G in the cylindrical coordinates can refer to the existing technology and will not be limited here.

[0073] Step S40: Based on the lifting starting point S, lifting end point G, grid node set, obstacle point set U 0 And the preset lifting path planning strategy is used to plan the lifting path from the lifting starting point S to the lifting end point G.

[0074] Among them, Figure 2 As shown in the figure, the lifting path planning strategy includes:

[0075] S101: Create an open list of reachable points and a close list of unnecessary points.

[0076] The open list of reachable points and the close list of unconcerned points are obtained by using the grid node set, obstacle point set and the set redundancy l proposed in the above embodiment. extra Established on the basis.

[0077] S102: put the lifting starting point S into the open list of reachable points, set the total cost f(S) and actual cost g(S) of the lifting starting point S to 0, and set its parent node to itself.

[0078] S103: Select the node n with the smallest total cost f(n) from the reachable point set open list, and delete the node n from the reachable point set open list; where the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k 1 (h mid -h n )+k 2 +k 3 (|rn -r G |+|θ n -θ G |)+k 4 |h n -h G |, k 1 ,k 2 ,k 3 ,k 4 is the preset weight function, h mid It is the safety height value that needs to be ensured before the preset large-scale horizontal movement.

[0079] Specifically, in this embodiment, the weight function k 1 Mainly used to control lifting, the path can first move upward to the target height h mid , weight function k 1 The expression is:

[0080]

[0081] Wherein, d(n,S) represents the Euclidean distance between node n and the lifting starting point S, d(n,G) represents the Euclidean distance between node n and the lifting end point G, and ρ is the preset radius range.

[0082] In this embodiment, the weight function k 2 Mainly used to improve the overall height near the starting point and target height h mid The cost of the following nodes ensures that after lifting to the target height, the search for nodes outside the area can be started smoothly. Let λ be a constant at least one order of magnitude larger than d(S,G), then the weight function k 2 The expression is:

[0083]

[0084] Wherein, d(S,G) represents the Euclidean distance between the lifting starting point S and the lifting end point G.

[0085] In this embodiment, the weight function k 3 It is mainly used to control the horizontal movement towards the lifting end point G. The weight function k 3 The expression is:

[0086] In this embodiment, the weight function k 4 It is mainly used to control the vertical movement towards the lifting end point G. The weight function k 4 Can be taken as a constant 1.

[0087] Safety height h mid According to the height of the lifting starting point S and the lifting end point G and the maximum height h allowed by the tower crane max Comprehensive determination:

[0088] The safe height value is: h mid =max(h S ,h G )+(h max -max(h S ,h G )) / 2.

[0089] S104: Obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set U 0 Or there is no need to pay attention to the close list of points; where the coordinates of node m are (r m ,θ m ,h m ).

[0090] This step determines whether node m belongs to the obstacle point set or the close list of points that do not need attention. The coordinates of node m (r m ,θ m ,h m ) and obstacle point set U 0 The coordinates of each point in the close list of points that do not need to be concerned are compared one by one, and when the obstacle point set U 0 When the close list of points that do not need attention is large, the number of comparisons will increase significantly, slowing down the comparison process and reducing the efficiency of path planning. 0 ,Since the tower crane working site is large, in order to ensure the accuracy of the tower crane path, the site is divided into ,space grids with each unit side length no more than 1m according to the previous steps, so that the number of ,obstacle points is at least hundreds of thousands, thus generating a large amount of ,comparison work.

[0091] To this end, the embodiment of the present invention adopts the aforementioned nested list form, including: the angle coordinate θ of node m m Index in the first-level list in the obstacle point set or the close list of the point set that does not need attention, and find the corresponding second-level list; find the corresponding (r m ,h m ). When querying whether node m belongs to the obstacle point set U 0 Or when there is no need to focus on the close list of points, just use their angle coordinates θ m As an index, query the θth m Is there a corresponding second list (r m ,h m) coordinates. By using the above method, most elements in the list can be directly excluded during comparison, greatly reducing the number of judgments. Similarly, the radius coordinate r or the height coordinate h can also be used as an index. However, in the tower crane working scenario, since the angle coordinate θ can often accommodate more integers, it is more recommended to use the angle as the index.

[0092] If the node m does not belong to the obstacle point set U 0 Or if there is no need to focus on the close list, then execute S105.

[0093] S105: Determine whether the node m is already in the open list of reachable points.

[0094] S106: If node m is not in the open list of reachable points, add node m to the open list of reachable points, set node n as the parent node of node m, and calculate the total cost of node m: f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the lifting starting point S to node m via its parent node n, g(m) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h n |, h(m) is the heuristic function of node m, and h(m) = k 1 (h mid -h m )+k 2 +k 3 (|r m -r G |+|θ m -θ G |)+k 4 |h m -h G |.

[0095] S107: If node m is already in the open list of reachable points, calculate the cost of reaching node m from the lifting starting point S via the non-parent node n l(m,n) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h nCompare the cost l(m,n) with the actual cost g(m). If l(m,n) < g(m), set node n as the parent node of node m, let the actual cost g(m) = l(m,n), and update the total cost f(m).

[0096] Node n has multiple adjacent nodes m. Therefore, after traversing all adjacent nodes m of node n through S104 to S107, execute S108;

[0097] S108: Add node n to the set of nodes that do not need to be concerned, the close list;

[0098] Repeat S103 to S108 until the node selected from the set of reachable points, the open list, is the lifting end point G;

[0099] S109: Starting from the lifting end point G, trace back along the parent node of each node until the lifting start point S, and connect the traced-back nodes in sequence, which is the lifting path.

[0100] After determining the lifting path through the embodiments of the present invention, then operate on the lifted object according to the aerial lifting path.

[0101] The present invention also includes a tower crane lifting path planning device improved based on the A* algorithm, as Figure 3 shown. The tower crane lifting path planning device 10 includes a three-dimensional grid model establishment module 101, an obstacle point set generation module 102, a lifting start and end point coordinate acquisition module 103, a lifting path planning module 104, and a lifting control module 105; where:

[0102] The three-dimensional grid model establishment module 101 is connected to the obstacle point set generation module 102 and the lifting path planning module 104. The three-dimensional grid model establishment module 101 is used to establish a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set;

[0103] The obstacle point set generation module 102 is connected to the three-dimensional grid model establishment module 101 and the lifting path planning module 104. The obstacle point set generation module 102 is used to generate an obstacle point set U according to the obstacles in the construction site and the grid node set 0 ;

[0104] The lifting start and end point coordinate acquisition module 103 is connected to the lifting path planning module 104. The lifting start and end point coordinate acquisition module 103 is used to acquire the coordinates of the lifting start point S and the lifting end point G in cylindrical coordinates, which are (r S ,θ S ,h S ) and (r G ,θ G ,hG );

[0105] The lifting path planning module 104 is connected to the three-dimensional grid model building module 101, the obstacle point set generation module 102, the lifting start and end point coordinate acquisition module 103 and the lifting control module 105. The lifting path planning module 104 is used to calculate the lifting path according to the lifting start point S, the lifting end point G, the grid node set, the obstacle point set U 0 And the preset lifting path planning strategy is used to plan the lifting path from the lifting starting point S to the lifting end point G.

[0106] Lifting path planning strategies include:

[0107] S101: Create an open list of reachable points and a close list of points that do not need attention;

[0108] S102: put the lifting starting point S into the open list of the reachable points, set the total cost f(S) and the actual cost g(S) of the lifting starting point S to 0, and set its parent node to itself;

[0109] S103: Select the node n with the smallest total cost f(n) from the reachable point set open list, and delete the node n from the reachable point set open list; where the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k 1 (h mid -h n )+k 2 +k 3 (|r n -r G |+|θ n -θ G |)+k 4 |h n -h G |, k 1 ,k 2 ,k 3 ,k 4 is the preset weight function, h mid It is the safety height value that needs to be ensured before the preset large-scale horizontal movement;

[0110] S104: Obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set U 0 Or there is no need to pay attention to the close list of points; where the coordinates of node m are (r m ,θm , h m ); If not,

[0111] S105: Determine whether node m is already in the reachable node set open list;

[0112] S106: If node m is not in the reachable node set open list, add node m to the reachable node set open list, set node n as the parent node of node m, and calculate the total cost of node m, f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the hoisting starting point S to node m via its parent node n, g(m) = g(n) + |r m -r n | + r n ·|θ m -θ n | + |h m -h n |, h(m) is the heuristic function of node m, and h(m) = k 1 (h mid -h m ) + k 2 +k 3 (|r m -r G | + |θ m -θ G |) + k 4 |h m -h G |;

[0113] S107: If node m is already in the reachable node set open list, calculate the cost of reaching node m from the hoisting starting point S via a non-parent node n, l(m, n) = g(n) + |r m -r n | + r n ·|θ m -θ n | + |h m -h n |, compare the cost l(m, n) with the actual cost g(m). If l(m, n) < g(m), set node n as the parent node of node m, let the actual cost g(m) = l(m, n), and update the total cost f(m);

[0114] After traversing all adjacent nodes m of node n through S104 to S107, execute S108;

[0115] S108: Add node n to the set of nodes that do not need to be concerned about, close list;

[0116] Repeat S103 to S108 until the node selected from the open list of reachable points is the lifting end point G;

[0117] S109: Starting from the lifting end point G, trace back along the parent node of each node until the lifting starting point S, and connect the traced nodes in sequence to form the lifting path.

[0118] The hoisting control module 105 is connected to the hoisting path planning module 104 , and is used to generate tower crane operation instructions according to the hoisting path.

[0119] For the specific implementation process of the steps in the path planning strategy, please refer to the description in the aforementioned method embodiment, which will not be repeated here.

[0120] The present invention also provides a tower crane hoisting path planning system based on the improved A* algorithm, such as Figure 4 As shown, the system includes a tower crane, a tower crane hoisting path planning device 10, a driving device 20 and a braking device 30, and the driving device 20 and the braking device 30 are communicatively connected with the tower crane hoisting path planning device 10, wherein: the tower crane hoisting path planning device 10 is used to plan a hoisting path from a hoisting starting point S to a hoisting end point G, and generate a tower crane operation instruction according to the hoisting path; the driving device 20 is installed on the tower crane, and is used to drive the tower crane to perform hoisting operations according to the tower crane operation instructions; the braking device 30 is installed on the tower crane, and is used to brake the tower crane in operation according to the tower crane operation instructions.

[0121] The tower crane lifting path planning method and device improved based on the A* algorithm of the present invention replaces the mode of relying solely on manual driving. The three-dimensional grid model of the construction site established by cylindrical coordinates is used as the basis for lifting path planning, which optimizes the set data structure, greatly reduces the calculation time, and improves the efficiency of path planning. By generating an obstacle point set, the visual blind spot problem existing in manual driving is avoided, and relevant nodes can be avoided during the path planning process, thereby ensuring that no collision occurs between objects and obstacles during the lifting process. By adopting a specific heuristic function, the planned lifting path is more in line with the tower crane working scene and lifting logic, thereby improving the safety of the lifting path, having higher lifting efficiency, and saving time and effort.

[0122] The present invention is further described above with the aid of specific embodiments. However, it should be understood that the specific description here should not be construed as limiting the essence and scope of the present invention. Various modifications made to the above embodiments by ordinary technicians in the field after reading this specification are all within the scope of protection of the present invention.

Claims

1. A tower crane hoisting path planning method based on an improved A* algorithm, characterized in that: include: Establish a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set; Generate an obstacle point set U0 according to the obstacles in the construction site and the grid node set; Obtain the coordinates of the lifting start point S and the lifting end point G in cylindrical coordinates, which are (r S ,θ S ,h S ) and (r G ,θ G ,h G ); According to the lifting starting point S, the lifting end point G, the grid node set, the obstacle point set U0 and the preset lifting path planning strategy, plan the lifting path from the lifting starting point S to the lifting end point G; Wherein, the lifting path planning strategy includes: S101: Create an open list of reachable points and a close list of points that do not need attention; S102: put the lifting starting point S into the reachable point set openlist, set the total cost f(S) and actual cost g(S) of the lifting starting point S to 0, and set its parent node to itself; S103: Select a node n with the smallest total cost f(n) from the open list of reachable points, and delete the node n from the open list of reachable points; wherein the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k1(h mid -h n )+k2+k3(|r n -r G |+|θ n -θ G |)+k4|h n -h G |, k1, k2, k3, k4 are the preset weight functions, h mid It is the safety height value that needs to be ensured before the preset large-scale horizontal movement; S104: Obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set or the close list of points that do not need attention; wherein the coordinates of the node m are (r m ,θ m ,h m ); if not, S105: Determine whether the node m is already in the open list of the reachable point set; S106: If node m is not in the open list of reachable points, add node m to the open list of reachable points, set node n as the parent node of node m, and calculate the total cost of node m f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the lifting starting point S to node m via its parent node n, g(m) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h n |, h(m) is the heuristic function of node m, and h(m) = k1(h mid -h m )+k2+k3(|r m -r G |+|θ m -θ G |)+k4|h m -h G |; S107: If node m is already in the reachable point set open list, then calculate the cost l(m,n) from the hoisting starting point S via non-parent node n to node m, where l(m,n) = g(n) + |r m - r n | + r n · |θ m - θ n | + |h m - h n |. Compare the cost l(m,n) with the actual cost g(m). If l(m,n) < g(m), then set node n as the parent node of node m, let the actual cost g(m) = l(m,n), and update the total cost f(m); Determine whether the above steps are performed on all adjacent nodes m of node n. If yes, execute S108. If not, perform steps S104 to S107 on other adjacent nodes m. Therefore, after traversing all adjacent nodes m of node n through S104 to S107, S108 is executed; S108: adding the node n to the close list of the set of points that do not need attention; Repeat S103 to S108 until the node selected from the reachable point set openlist is the lifting end point G; S109: Starting from the lifting end point G, trace back along the parent node of each node until the lifting starting point S, and connect the traced nodes in sequence to form the lifting path.

2. The tower crane hoisting path planning method based on the improved A* algorithm according to claim 1 is characterized in that: The step of establishing a three-dimensional grid model of the construction site in cylindrical coordinates and generating a grid node set includes: Take the central axis of the tower crane as the longitudinal axis of the cylindrical coordinates, and divide the angle coordinate θ into a parts with a set step length; Convert the angle coordinates θ of all nodes into integers between 0 and a-1; The angle coordinate of the node is used as the index of the first-level list, and the radius coordinate r and height coordinate h of the node are used as the second-level list.

3. The tower crane hoisting path planning method based on the improved A* algorithm as claimed in claim 2 is characterized in that: The setting step is 1°, and the angle coordinate θ is divided into 360 equal parts.

4. The tower crane hoisting path planning method based on the improved A* algorithm as claimed in claim 2 is characterized in that: In S104: determining whether the node m belongs to the obstacle point set or the close list of points that do not need attention includes: The angle coordinate θ of node m m Indexing in the first-level list in the obstacle point set or the close list of the point set that does not need attention, and finding the corresponding second-level list; Find the corresponding (r m ,h m ).

5. The tower crane hoisting path planning method based on the improved A* algorithm as claimed in claim 2, characterized in that: The step of establishing a three-dimensional grid model of the construction site in cylindrical coordinates and generating a grid node set also includes: Establish a three-dimensional model of the construction site in rectangular coordinates; The three-dimensional model is converted into the three-dimensional mesh model, and the mesh node set is determined with a set plane mesh accuracy.

6. The tower crane hoisting path planning method based on the improved A* algorithm according to claim 1 is characterized in that: The expression of weight function k1 is: Wherein, d(n,S) represents the Euclidean distance between node n and the lifting starting point S, d(n,G) represents the Euclidean distance between node n and the lifting end point G, and ρ is the preset radius range.

7. The tower crane hoisting path planning method based on the improved A* algorithm according to claim 6 is characterized in that: The expression of weight function k2 is: Wherein, λ is a constant that is one order of magnitude greater than d(S,G), and d(S,G) represents the Euclidean distance between the lifting starting point S and the lifting end point G.

8. The tower crane hoisting path planning method based on the improved A* algorithm according to claim 7 is characterized in that: The expression of weight function k3 is: The weight function k4 is equal to the constant 1.

9. The tower crane hoisting path planning method based on the improved A* algorithm according to claim 1, characterized in that: The safe height values ​​are: h mid =max(h S ,h G )+(h max -max(h S ,h G )) / 2; Among them, h max It is the maximum height that the tower crane is allowed to lift.

10. A tower crane hoisting path planning device based on an improved A* algorithm, characterized in that: The tower crane hoisting path planning device comprises a three-dimensional grid model building module, an obstacle point set generation module, a hoisting start and end point coordinate acquisition module, a hoisting path planning module, and a hoisting control module; wherein: The three-dimensional grid model building module is connected to the obstacle point set generation module and the lifting path planning module, and the three-dimensional grid model building module is used to build a three-dimensional grid model of the construction site in cylindrical coordinates and generate a grid node set; The obstacle point set generation module is connected to the three-dimensional grid model establishment module and the lifting path planning module, and the obstacle point set generation module is used to generate an obstacle point set U0 according to the obstacles in the construction site and the grid node set; The lifting start and end point coordinate acquisition module is connected to the lifting path planning module. The lifting start and end point coordinate acquisition module is used to obtain the coordinates of the lifting start point S and the coordinates of the lifting end point G in the cylindrical coordinates, which are (r S ,θ S ,h S ) and (r G ,θ G ,h G ); The lifting path planning module is connected with the three-dimensional grid model building module, the obstacle point set generation module, the lifting start and end point coordinate acquisition module and the lifting control module. The lifting path planning module is used to plan the lifting path from the lifting start point S to the lifting end point G according to the lifting start point S, the lifting end point G, the grid node set, the obstacle point set U0 and the preset lifting path planning strategy; the lifting path planning strategy includes: S101: establishing a reachable point set openlist and a point set closelist that does not need attention; S102: putting the lifting start point S into the reachable point set openlist, setting the total cost f(S) and the actual cost g(S) of the lifting start point S to 0, and setting its parent node to itself; S103: selecting the node n with the smallest total cost f(n) in the reachable point set openlist, and deleting the node n from the reachable point set openlist; wherein the coordinates of the node n are (r n ,θ n ,h n ), the total cost of node n is f(n)=g(n)+h(n), g(n) is the actual cost of node n, h(n) is the heuristic function of node n, and h(n)=k1(h mid -h n )+k2+k3(|r n -r G |+|θ n -θ G |)+k4|h n -h G |, k1, k2, k3, k4 are the preset weight functions, h mid is the preset safety height value to be ensured before large-scale horizontal movement; S104: obtain the node m adjacent to the node n, and determine whether the node m belongs to the obstacle point set or the close list of points that do not need to be concerned; wherein the coordinates of the node m are (r m ,θ m ,h m ); if not, S105: determine whether node m is already in the reachable point set openlist; S106: if node m is not in the reachable point set openlist, add node m to the reachable point set openlist, and set node n as the parent node of node m, and calculate the total cost of node m f(m) = g(m) + h(m), where g(m) represents the actual cost of moving from the lifting starting point S to the node m via its parent node n, g(m) = g(n) + |r m -r n |+r n ·|θ m -θ n |+|h m -h n |, where h(m) is the heuristic function of node m, and h(m) = k1(h mid -h m ) + k2 + k3(|r m -r G | + |θ m -θ G |) + k4|h m -h G |; S107: If node m is already in the reachable point set open list, then calculate the cost l(m,n) of reaching node m from the hoisting starting point S via non-parent node n as l(m,n) = g(n) + |r m -r n | + r n ·|θ m -θ n | + |h m -h n |. Compare the cost l(m,n) with the actual cost g(m). If l(m,n) < g(m), then set node n as the parent node of node m, and let the actual cost g(m) = l(m,n), and update the total cost f(m); After traversing all adjacent nodes m of node n through S104 to S107, execute S108; S108: Add node n to the set of nodes that do not need to be concerned about closelist; Repeat S103 to S108 until the node selected from the reachable point set open list is the hoisting end point G; S109: Starting from the hoisting end point G, backtrack along the parent node of each node until the hoisting starting point S, and connect the backtracked nodes in sequence, which is the hoisting path; The hoisting control module is connected to the hoisting path planning module, and the hoisting control module is used to generate tower crane operation instructions according to the hoisting path.