Operation path dot matrix planning method, device and equipment and storage medium

By acquiring and processing point cloud information, building a three-dimensional model and generating a working path, it solves the problem of difficulty in programming and teaching robot processing paths in complex environments, and achieves automatic planning and efficient processing.

CN118528248APending Publication Date: 2024-08-23CISDI RES & DEV CO LTD

Patent Information

Application Number
CN202410394586.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-02
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

It is difficult to teach robots processing path programming in industrial operations, especially in complex environments, which results in increased time costs and limits the use scenarios of robots.

Method used

By obtaining point cloud information of the object to be processed and obstacles, a three-dimensional model is constructed, an obstacle avoidance path and a processing path are generated, a working path is generated by combining the two, and the robot operation path is automatically planned, using laser point cloud data and three-dimensional modeling technology.

Benefits of technology

It realizes automatic planning of robot processing operation paths, reduces teaching time, and improves industrial processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528248A
    Figure CN118528248A
Patent Text Reader

Abstract

The invention provides an operation path dot matrix planning method, device and equipment and a storage medium, and the method comprises the steps: obtaining the initial point cloud information of a to-be-recognized region, constructing a to-be-machined surface three-dimensional model based on the to-be-machined object point cloud information, and constructing a to-be-recognized surface three-dimensional model based on the to-be-machined object point cloud information; an obstacle three-dimensional model is constructed based on the obstacle point cloud information, an obstacle avoidance path is generated based on the obstacle three-dimensional model, a machining path is generated based on the to-be-machined surface three-dimensional model, an operation path is generated in combination with the obstacle avoidance path and the machining path, and the robot is controlled to operate the to-be-machined object based on the operation path; according to the method, laser point cloud data and three-dimensional modeling are fused, automatic planning of the robot machining operation path is achieved, the robot teaching time is effectively shortened, and therefore the industrial machining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and storage medium for operation path lattice planning. Background Art

[0002] With the continuous advancement of science and technology and the improvement of automation, the widespread use of robots has become a major trend in the industrial field. Their appearance has greatly increased the difficulty and complexity of industrial operations, making it possible to efficiently complete tedious and repetitive work that originally required a large number of manual labor. The widespread use of robots has not only improved production efficiency, but also reduced labor costs, playing a positive role in promoting the transformation and upgrading of industrial production.

[0003] However, although robots have demonstrated powerful capabilities in industrial operations, their processing path programming and teaching has become an issue that cannot be ignored. Processing path programming and teaching refers to setting a series of processing actions and paths for the robot through manual operation or specific software tools. This process often takes a lot of time and effort, especially when faced with complex and changeable industrial environments and processing tasks, the difficulty and complexity of programming and teaching are significantly increased. Therefore, although the widespread use of robots has increased the difficulty and complexity of industrial operations, the difficulty of processing path programming and teaching has significantly increased the time cost of processing operations, thereby limiting the use scenarios of robots. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a method, device, equipment and storage medium for planning a work path dot matrix to solve the technical problem of the difficulty in programming and teaching the above-mentioned machining path.

[0005] The present invention provides a method for planning an operation path dot matrix, the method comprising: obtaining initial point cloud information of an area to be identified, the initial point cloud information comprising point cloud information of an object to be processed and point cloud information of an obstacle; constructing a three-dimensional model of a surface to be processed based on the point cloud information of the object to be processed, and constructing a three-dimensional model of an obstacle based on the point cloud information of the obstacle; generating an obstacle avoidance path based on the three-dimensional model of the obstacle, and generating a processing path based on the three-dimensional model of the surface to be processed; generating an operation path by combining the obstacle avoidance path and the processing path, so as to control a robot to operate on the object to be processed based on the operation path.

[0006] In one embodiment of the present invention, obtaining initial point cloud information of the area to be identified includes: scanning the area to be identified and generating a laser three-dimensional model of the area to be identified, wherein each point in the laser three-dimensional model has a corresponding three-dimensional space coordinate value.

[0007] In one embodiment of the present invention, generating an obstacle avoidance path based on the obstacle three-dimensional model also includes: calculating the obstacle point cloud information according to a preset path planning algorithm and the obstacle three-dimensional model to obtain an optimal solution for the obstacle avoidance distance; generating an initial obstacle avoidance path based on the optimal solution for the obstacle avoidance distance; and optimizing the initial obstacle avoidance path to determine the optimized obstacle avoidance path as the target obstacle avoidance path.

[0008] In one embodiment of the present invention, before generating an obstacle avoidance path based on the obstacle three-dimensional model, it also includes: identifying boundary points and salient points of the obstacle based on the obstacle point cloud information; geometrically expanding the obstacle based on the boundary points and the salient points to obtain a simple three-dimensional geometric body corresponding to the volume of the obstacle, so as to generate an obstacle avoidance path based on the simple three-dimensional geometric body.

[0009] In one embodiment of the present invention, a processing path is generated based on the three-dimensional model of the surface to be processed, including: generating a surface dot grid based on the point cloud information of the object to be processed, wherein the dot grid is used to represent the surface information of the object to be processed; and connecting the intersection points of the surface dot grid to generate a processing path.

[0010] In one embodiment of the present invention, a surface dot grid is generated based on point cloud information of an object to be processed, including: determining the three-dimensional spatial coordinates of the object to be processed based on the point cloud information of the object to be processed, and generating a first dot grid according to the three-dimensional spatial coordinates, wherein the first dot grid is used to represent the surface of the object to be processed, and a grid density of the first dot grid is determined based on the point cloud density; or, determining the three-dimensional spatial coordinates of the object to be processed based on the information of the object to be processed, and generating a second dot grid based on a preset surface modeling method, wherein the grid density of the second point cloud grid is determined based on the node vector and the number of control points of the preset surface modeling method.

[0011] In one embodiment of the present invention, the operation path is generated by combining the obstacle avoidance path and the processing path, including: determining a safe passage area based on the obstacle avoidance path; generating an operation path by combining the safe passage area and the processing path, and the entire operation path is within the safe passage area.

[0012] In one embodiment of the present invention, before generating an operation path by combining the obstacle avoidance path and the processing path, it also includes: identifying whether the obstacle avoidance path can avoid all obstacles, and if the obstacle avoidance path cannot avoid all obstacles, adjusting and optimizing the obstacle avoidance path; obtaining the operation coverage range of the operation path, and if the operation coverage range fails to include the entire surface of the object to be processed or exceeds the entire surface of the object to be processed, adjusting and optimizing the operation path.

[0013] The present application provides a work path dot matrix planning device, which includes: an identification module, which is used to obtain initial point cloud information of an area to be identified, wherein the initial point cloud information includes point cloud information of an object to be processed and point cloud information of an obstacle; a construction module, which is used to construct a three-dimensional model of a surface to be processed based on the point cloud information of the object to be processed, and to construct a three-dimensional model of an obstacle based on the point cloud information of the obstacle; a planning module, which is used to generate an obstacle avoidance path based on the three-dimensional model of the obstacle, and to generate a processing path based on the three-dimensional model of the surface to be processed; and a dot matrix module, which is used to generate an operation path in combination with the obstacle avoidance path and the processing path, so as to control a robot to operate on the object to be processed based on the operation path.

[0014] The present application provides an electronic device, characterized in that it includes a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the operation path lattice planning method as described above.

[0015] The present application provides a computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is used to enable a computer to execute the operation path lattice planning method as described above.

[0016] The beneficial effects of the present invention are as follows: a method, device, equipment and storage medium for dot matrix planning of an operation path in the present invention, the method comprising obtaining initial point cloud information of an area to be identified, wherein the initial point cloud information comprises point cloud information of an object to be processed and point cloud information of an obstacle, constructing a three-dimensional model of a surface to be processed based on the point cloud information of the object to be processed, constructing a three-dimensional model of an obstacle based on the point cloud information of the obstacle, generating an obstacle avoidance path based on the three-dimensional model of the obstacle, generating a processing path based on the three-dimensional model of the surface to be processed, combining the obstacle avoidance path and the processing path to generate an operation path, so as to control a robot to operate on the object to be processed based on the operation path; the method realizes automatic planning of robot processing operation paths by fusing laser point cloud data with three-dimensional modeling, effectively reducing the robot teaching time, thereby improving industrial processing efficiency.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0019] Figure 1 is a schematic diagram of an implementation environment of an operation path lattice planning method shown in an exemplary embodiment of the present application;

[0020] Figure 2 is a schematic diagram of steps of a method for planning a work path lattice according to an exemplary embodiment of the present application;

[0021] Figure 3 is a block diagram of a work path lattice planning device shown in an exemplary embodiment of the present application;

[0022] Figure 4 It is a schematic diagram of the planning process of an operation path lattice planning device shown as an exemplary embodiment of the present application.

[0023] Figure 5 It is a dot grid on the surface of a working object shown in an exemplary embodiment of the present application.

[0024] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0026] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0027] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0028] First of all, it should be noted that the RRT (Rapidly-exploring Random Tree) algorithm and the RRT* algorithm are two important algorithms in the field of path planning. They are mainly used to solve the path planning problems of robots in unknown or complex environments.

[0029] PRM (Probabilistic Roadmap Method) is an algorithm widely used in the field of robot motion planning. The main idea of ​​this algorithm is to construct a probabilistic roadmap by randomly sampling points in the configuration space, and then use a graph search algorithm (such as Dijkstra algorithm or A* algorithm) to find a path from the starting point to the end point in the roadmap.

[0030] The A* algorithm, also known as the A (A-Star) algorithm, is the most effective direct search method for solving the shortest path in a static road network. The algorithm combines the characteristics of the best-first search and the Dijkstra algorithm, and uses heuristic search to find a path from the starting point to the end point with the lowest cost. It is widely used in games, robot navigation and other fields, especially in scenarios where real-time path calculation is required.

[0031] Dijkstra's algorithm, also known as Dijkstra's algorithm, was proposed by Dutch computer scientist Dijkstra in 1959. The algorithm is mainly used to solve the shortest path problem in a weighted graph, that is, the shortest path problem from one vertex to the remaining vertices.

[0032] Simple 3D geometric bodies are basic shapes defined in 3D space, usually composed of finite geometric elements (such as points, lines, and surfaces) and have clear boundaries and volumes. These geometric bodies are widely used in mathematics, computer graphics, robotics, and autonomous driving to approximate the shapes of complex objects in order to simplify calculations and improve processing efficiency.

[0033] NURBS (Non-Uniform Rational B-Splines) algorithm has a wide range of applications in computer graphics, especially in 3D modeling and CAD (Computer-Aided Design) systems.

[0034] Figure 1 It is a schematic diagram of the implementation environment of the operation path lattice planning method shown in an exemplary embodiment of the present application.

[0035] like Figure 1As shown, the implementation environment of the operation path dot matrix planning method includes a data acquisition device 101 and a computer device 102, wherein the data acquisition device 101 is used to collect point cloud information of the object to be processed and the processing environment, and send the collected point cloud information to the computer device 102, and the data acquisition device can be any device that can be used to capture point cloud information, such as a three-dimensional laser scanner, a structured light camera, an industrial camera and lens, an airborne laser radar, etc., and the present application does not impose any restrictions on this; the computer device 102 is used to build a three-dimensional model based on the point cloud information collected by the data acquisition device 101, and generate a processing path and an obstacle avoidance path, and then generate an operation path based on the processing path and the obstacle avoidance path. Among them, the computer device 102 can be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc., or it can be an intelligent processor integrated in the current vehicle, and the present application does not impose any restrictions on this.

[0036] like Figure 2 As shown, in an exemplary embodiment, the operation path lattice planning method includes at least steps S210 to S240, which are described in detail as follows:

[0037] Step S210, obtaining initial point cloud information of the area to be identified, the initial point cloud information including point cloud information of the object to be processed and point cloud information of obstacles.

[0038] In one embodiment of the present application, initial point cloud information of the area to be identified is obtained, including: scanning the area to be identified, generating a laser three-dimensional model of the area to be identified, each point in the laser three-dimensional model has a corresponding three-dimensional space coordinate value, and its obstacles include but are not limited to other equipment in the working environment, robotic arms and their end tools, and any other objects other than the object to be operated.

[0039] In a specific embodiment of the present application, firstly, the selected 3D laser scanner is placed at a suitable position of the area to be identified, ensuring that the scanner can cover the entire area to be identified, and then the scanner is started and the 3D spatial coordinate values ​​of each point are calculated based on the collected laser beam information. These coordinate values ​​reflect the geometric shape and structure of the surface of the area to be identified; then the scanned data is imported into professional point cloud processing software for post-processing. This includes steps such as filtering, denoising, and registration to improve the quality and accuracy of the point cloud data; in addition, in the processed point cloud data, further operations such as feature extraction and model reconstruction can be performed to obtain more information about the area to be identified, and the final generated laser 3D model can be saved in multiple formats for use in different application scenarios.

[0040] It should be noted that in the actual operation process, the robot arm and its end tool (i.e., the processing tool carried by the robot) occupy a certain volume, so when planning the obstacle avoidance path, these volume factors need to be fully considered. Therefore, in the operation path lattice planning method proposed in this application, the robot's robot arm and its end tool are also regarded as part of the obstacle, and their volume data are fully included in the obstacle data set. The space occupied by the robot arm and the end tool during the operation process is fully considered, thereby effectively avoiding potential collisions with the surrounding environment or other objects, and being able to plan the obstacle avoidance path more accurately, ensuring the safety and stability of the robot when performing tasks.

[0041] Step S220 , constructing a three-dimensional model of the surface to be processed based on the point cloud information of the object to be processed, and constructing a three-dimensional model of the obstacle based on the point cloud information of the obstacle.

[0042] In one embodiment of the present application, the number of point clouds belonging to the object to be processed is first screened out from the preprocessed point cloud data through algorithms such as threshold setting and region growing, and the screened point cloud data of the object to be processed is further processed such as smoothing and segmentation to more accurately describe the geometric features of the surface to be processed; then, a three-dimensional model of the surface to be processed is constructed based on the processed point cloud data. Similarly, the point cloud data belonging to the obstacle is screened out from the preprocessed point cloud data, and the screened obstacle point cloud data is subjected to necessary processing such as removing noise points that do not belong to the obstacle and smoothing the obstacle surface, and then a three-dimensional model of the obstacle is constructed based on the processed obstacle point cloud data. It should be noted that the obstacles mentioned above may include equipment, other workpieces, fixtures, etc., and the present application does not impose any restrictions on the categories of its obstacles.

[0043] Step S230, generating an obstacle avoidance path based on the three-dimensional model of the obstacle, and generating a processing path based on the three-dimensional model of the surface to be processed.

[0044] In one embodiment of the present application, before generating an obstacle avoidance path based on the obstacle three-dimensional model, it also includes: identifying boundary points and salient points of the obstacle based on obstacle point cloud information; geometrically expanding the obstacle based on the boundary points and the salient points to obtain a simple three-dimensional geometric body corresponding to the volume of the obstacle, so as to generate an obstacle avoidance path based on the simple three-dimensional geometric body.

[0045] In a specific embodiment of the present application, when working in a narrow workshop, a point cloud processing algorithm (such as the method in the PCL library) is first used to identify the boundary points and convex points of the obstacle, and a suitable structural element is defined, such as a circle, an ellipse or a rectangle, etc. The present application does not impose any restrictions on the category of its structural element; then the structural element is moved along the boundary and convex points of the obstacle, and the expanded point cloud data is updated according to the overlap between the structural element and the obstacle point cloud, so that a simple three-dimensional geometric body corresponding to the volume of the obstacle is constructed through the expanded point cloud data, which is the simple three-dimensional geometric body mentioned above.

[0046] It should be noted that by implementing geometric expansion processing on obstacles, not only can the model volume be appropriately expanded to enhance the safety of path planning, but also the concave surface in the model can be simplified into a plane, or a complex structure can be converted into a simplified model that is slightly larger than the actual model. Such simplification processing not only effectively reduces the difficulty of calculating the obstacle avoidance path, but also ensures the feasibility of the generated obstacle avoidance path in practical applications, thereby improving the overall work efficiency and safety.

[0047] In one embodiment of the present application, an obstacle avoidance path is generated based on a three-dimensional model of an obstacle, including: calculating obstacle point cloud information according to a preset path planning algorithm and the three-dimensional model of the obstacle to obtain an optimal solution for the obstacle avoidance distance; generating an initial obstacle avoidance path based on the optimal solution for the obstacle avoidance distance; and optimizing the initial obstacle avoidance path to determine the optimized obstacle avoidance path as a target obstacle avoidance path.

[0048] In a specific embodiment of the present application, first, we select a suitable path planning algorithm according to the characteristics of the robot or processing equipment and the requirements of the processing environment. For example, if there are many static obstacles in the environment, the A* algorithm may be a good choice; if the environment is dynamic or there are unknown obstacles, it may be necessary to use a sampling-based algorithm such as RRT (rapidly expanding random tree) or PRM (probabilistic roadmap), and then import the previously constructed obstacle three-dimensional model into the path planning algorithm, use the preset path planning algorithm, combined with the obstacle three-dimensional model, calculate the optimal solution of the obstacle avoidance distance from the starting point to the end point, and then generate an initial obstacle avoidance path from the starting point to the end point according to the optimal solution of the obstacle avoidance distance and the path planning algorithm, and further import the generated initial obstacle avoidance path into the simulation environment for preliminary verification to check whether the path is consistent with the actual processing environment, whether there is a potential collision risk, and whether the path is smooth and continuous. In addition, the initial obstacle avoidance path generated above can also be smoothed to reduce sharp turns and unnecessary jitters in the path, so that the robot or processing equipment can move more smoothly, and try to reduce the total length of the path while maintaining obstacle avoidance to improve processing efficiency, or further optimize the path according to the characteristics of the processing equipment (such as maximum speed, acceleration, accuracy, etc.). For example, the speed distribution in the path can be adjusted so that the robot or equipment can slow down or accelerate at key positions to meet the processing requirements. Finally, if the optimized obstacle avoidance path meets all requirements and the performance is improved, it is determined as the target obstacle avoidance path. Otherwise, return to the optimization step to continue adjusting until a target obstacle avoidance path that meets the conditions is obtained, and the determined target obstacle avoidance path is exported to a format that can be recognized by the robot or processing equipment for application in the actual processing process.

[0049] It should be noted that through the above embodiments, we can calculate the optimal solution for the obstacle avoidance distance and generate an initial obstacle avoidance path based on the preset path planning algorithm and the three-dimensional model of the obstacle, and through further optimization processing, we can obtain a target obstacle avoidance path that meets the processing requirements and has better performance, providing guidance and support for subsequent processing operations.

[0050] It should be noted that in the actual production process, due to the narrow production workshop and the large size of the robot, it is not convenient for the robot to "walk". In order to meet the requirements of operation accuracy, the robot is mainly controlled more accurately. Therefore, after identifying the point cloud information of the target operation object and the obstacles in the processing environment, it is necessary to generate the operation path related to the target object and the obstacle avoidance path related to the environment respectively, so as to avoid the robot being disturbed, affected, or even unable to reach the area where the target operation object is located in the operation diagram. In addition, since obstacles are usually large in size, they can be geometrically expanded to simplify the irregular obstacle volume into a simple three-dimensional geometric body that is easier to handle. This simplification process significantly reduces the calculation complexity of the obstacle avoidance path while ensuring the realization of the obstacle avoidance function, thereby improving the real-time performance and efficiency of the system.

[0051] In one embodiment of the present application, a processing path is generated based on a three-dimensional model of the surface to be processed, including: generating a surface dot grid based on point cloud information of the object to be processed, the dot grid being used to represent the surface information of the object to be processed; and connecting the intersection points of the surface dot grid to generate a processing path.

[0052] In a specific embodiment of the present application, first, the point cloud data of the object to be processed is obtained, and the obtained point cloud data is pre-processed such as denoising, smoothing, filtering, etc. to improve the quality of the point cloud data; then the point cloud processing software or algorithm is used to convert the processed point cloud data into a surface dot grid; further, the grid data can be optimized by operations including but not limited to grid smoothing, removing redundant vertices, adjusting the grid density, etc., to ensure that the grid can more accurately represent the surface details of the object to be processed; then in the generated surface dot grid, the intersections that need to be connected are identified and extracted, and the path connecting the intersections is planned according to the processing requirements and goals, and a specific processing path is generated according to the results of the path planning. Among them, the path planning can be based on a specific algorithm or tool, and the factors considered include the processing sequence, processing direction, and the smoothness of the tool path. In addition, the generated processing path can also be verified to ensure its feasibility and effectiveness in the actual processing environment. The verification can be completed by simulation or trial operation on the actual equipment to check whether there is collision, interference or other potential problems in the path; finally, the verified processing path is exported to a format that can be recognized by the robot or processing equipment for application in the actual processing process.

[0053] It should be noted that through the above embodiments, we can generate a surface dot grid based on the point cloud information of the object to be processed, and generate a processing path by connecting the intersections. We can make full use of the three-dimensional information of the point cloud data, realize accurate representation of the surface of the object to be processed and automatic generation of the processing path, and effectively improve the processing efficiency and accuracy.

[0054] In one embodiment of the present application, a surface dot grid is generated based on point cloud information of the object to be processed, including: determining the three-dimensional spatial coordinates of the object to be processed based on the point cloud information of the object to be processed, and generating a first dot grid according to the three-dimensional spatial coordinates, the first dot grid is used to represent the surface of the object to be processed, and the grid density of the first dot grid is determined based on the point cloud density; or, determining the three-dimensional spatial coordinates of the object to be processed based on the information of the object to be processed, generating a second dot grid based on a preset surface modeling method, and the grid density of the second point cloud grid is determined based on the node vector and the number of control points of the preset surface modeling method.

[0055] Step S240 , generating an operation path by combining the obstacle avoidance path and the processing path, so as to control the robot to perform operation on the object to be processed based on the operation path.

[0056] In one embodiment of the present application, an operation path is generated by combining an obstacle avoidance path and a processing path, including: determining a safe passage area based on the obstacle avoidance path; generating an operation path by combining the safe passage area and the processing path, and the entire operation path is within the safe passage area.

[0057] In a specific embodiment of the present application, first, we determine a suitable safety margin based on the obstacle avoidance path calculated and optimized previously, and according to the size, motion characteristics and safety standards of the processing equipment. The margin will be used to create a safe passage area around the obstacle avoidance path to ensure that the equipment will not collide with obstacles during operation; then, based on the obstacle avoidance path, according to the calculated safety margin, a certain distance is expanded outward to form a safe passage area, which should completely cover the obstacle avoidance path and ensure that the processing equipment will not come into contact with any obstacles when moving in the area; then the processing path is compared with the determined safe passage area to ensure that the processing path is completely within the safe passage area. If there is a conflict between the processing path and the safe passage area, it needs to be adjusted to ensure its safety. After confirming that the processing path is within the safe passage area, the processing path is combined with the safe passage area to generate a final operation path, which not only meets the processing requirements but also ensures that the processing equipment will not collide with obstacles during operation. In addition, in order to further improve processing efficiency and equipment performance, the generated operation path can also be optimized, and the optimization includes but is not limited to reducing the path length, reducing the turning radius, improving the path smoothness, etc., so that the processing equipment can complete the task more efficiently.

[0058] In one embodiment of the present application, before generating an operation path by combining the obstacle avoidance path and the processing path, it also includes: identifying whether the obstacle avoidance path can avoid all obstacles, and if the obstacle avoidance path cannot avoid all obstacles, adjusting and optimizing the obstacle avoidance path; obtaining the operation coverage of the operation path, and if the operation coverage fails to include the entire surface of the object to be processed or exceeds the entire surface of the object to be processed, adjusting and optimizing the operation path.

[0059] In a specific embodiment of the present application, first, obstacles in the environment are detected in real time using sensors or visual systems. These obstacles may be static, such as walls and fixed equipment; they may also be dynamic, such as other mobile robots or workers; then the generated obstacle avoidance path is compared with the detected obstacles to verify whether the obstacle avoidance path can successfully avoid all obstacles. If the obstacle avoidance path cannot avoid all obstacles, it needs to be adjusted and optimized. The adjustment may include changing the local direction of the path, adding or reducing turning points, adjusting the height or depth of the path, etc., and the optimization can improve the smoothness of the path, reduce the length of the path, or improve the efficiency of the path through algorithms.

[0060] In a specific embodiment of the present application, after obtaining the operation path, its operation coverage is analyzed, and the coverage of the operation path is compared with the entire surface of the object to be processed to identify uncovered areas. If the operation coverage fails to include the entire surface of the object to be processed or exceeds the entire surface of the object to be processed, the operation path needs to be adjusted and optimized. The adjustment and optimization may include adding new processing path segments, modifying the parameters of existing path segments (such as speed, depth, angle, etc.) or re-planning the processing sequence to ensure that the entire surface of the object to be processed can be effectively covered.

[0061] It should be noted that the adjustment and optimization of obstacle avoidance paths and operating paths may be an iterative process. After each adjustment, obstacle detection and coverage analysis need to be performed again to verify whether the adjusted path meets the requirements. In addition, before actual application, the adjusted obstacle avoidance path and operating path can be verified by a simulation system, which can simulate the obstacle distribution and processing process in the actual processing environment to evaluate the feasibility and performance of the path. In addition, after simulation verification, the adjusted obstacle avoidance path and operating path can also be tested in the actual environment. If the actual test passes, the effectiveness and safety of the path can be further verified, and necessary fine-tuning can be performed based on the test results.

[0062] In addition, considering the actual situation that there are many mechanical equipment in the production workshop and the space is relatively small, the operation path lattice planning method proposed in this application not only generates an efficient operation path based on the point cloud information of the object to be operated when designing the robot's operation path, but also carefully plans an obstacle avoidance path based on the obstacle information in the environment, and then cleverly combines these two paths to generate an executable processing path that not only ensures the effective completion of the operation, but also avoids potential inconveniences during the operation. Such a path planning strategy not only ensures the operation efficiency, but also greatly improves the safety and smoothness of the operation process. Moreover, in the process of obstacle avoidance path planning, the operation path lattice planning proposed in this application fully considers the challenges brought by the obstacle volume to the calculation of the obstacle avoidance path, and adopts the method of geometric expansion to transform irregular obstacles into simple three-dimensional geometric bodies. This conversion not only simplifies the shape of the obstacle, but also effectively reduces the difficulty of calculating the obstacle avoidance path, thereby improving the efficiency and accuracy of path planning.

[0063] Figure 3 is a block diagram of an operation path dot matrix planning device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The device may also be applicable to other exemplary implementation environments and specifically configured in other devices, and this embodiment does not limit the implementation environment to which the device is applicable.

[0064] like Figure 3 As shown, the exemplary operation path lattice planning device includes: an identification module 310 , a construction module 320 , a planning module 330 , and a lattice module 340 .

[0065] Among them, the recognition module 310 is used to obtain the initial point cloud information of the area to be identified, and the initial point cloud information includes the point cloud information of the object to be processed and the point cloud information of the obstacle; the construction module 320 is used to construct a three-dimensional model of the surface to be processed based on the point cloud information of the object to be processed, and to construct a three-dimensional model of the obstacle based on the point cloud information of the obstacle; the planning module 330 is used to generate an obstacle avoidance path based on the three-dimensional model of the obstacle, and to generate a processing path based on the three-dimensional model of the surface to be processed; the dot matrix module 340 is used to generate an operation path in combination with the obstacle avoidance path and the processing path, so as to control the robot to operate on the object to be processed based on the operation path.

[0066] In addition, in one embodiment of the present application, the operation path lattice planning device also includes a verification module, which is used to identify whether the obstacle avoidance path can avoid all obstacles. If the obstacle avoidance path cannot avoid all obstacles, the obstacle avoidance path is adjusted and optimized; the operation coverage range of the operation path is obtained. If the operation coverage range fails to include the entire surface of the object to be processed or exceeds the entire surface of the object to be processed, the operation path is adjusted and optimized.

[0067] Figure 4 It is a schematic diagram of the planning process of an operation path lattice planning device shown as an exemplary embodiment of the present application.

[0068] like Figure 4 As shown, the operation path dot matrix planning device involves an identification module, a construction module, a planning module, a dot matrix module, and a verification module. First, the identification module collects point cloud information through a laser sensor and generates a laser three-dimensional model, and then sends the laser three-dimensional model to the construction module and the dot matrix module respectively, wherein the laser point cloud information sent to the construction module is used for obstacle recognition and object recognition to be processed, and then the laser three-dimensional model is geometrically processed to achieve set expansion, so as to further perform path planning through RRT / RRT*, and perform path optimization through Dijkstra algorithm or A* algorithm or NURBS algorithm to generate an obstacle avoidance path; and the point cloud information sent to the dot matrix module is used to construct a dot matrix network to generate a processing path; then the generated obstacle avoidance path and processing path are sent to the verification module respectively to verify their feasibility, and the operation path is generated by combining the obstacle avoidance path and the processing path.

[0069] In a specific embodiment of the present application, the operation path dot matrix planning includes the following steps:

[0070] Step 1: Use a laser sensor to scan the processing area, create a laser point cloud through the recognition module, and generate a laser three-dimensional model of the area. Each point cloud has a corresponding three-dimensional space coordinate value.

[0071] Step 2: Identify obstacles and the surface of the object to be processed based on the laser 3D model, which can be a plane or a curved surface. Geometrize the obstacle 3D model and the processing surface 3D model through the construction module, and geometrically expand the obstacle 3D model.

[0072] Step 3: Based on the laser point cloud data and obstacle geometry model, the planning module uses the RRT or RRT* algorithm path to generate the robot path, optimizes the path based on the optimal distance characteristics, and uses the NURBS interpolation algorithm to optimize the obstacle avoidance path to make it smooth, thus generating an obstacle avoidance path.

[0073] Step 4: The dot matrix module can generate a dot matrix grid on the surface of the processing object in two ways. First, based on the three-dimensional spatial coordinates of the laser point cloud, a dot matrix grid is formed on the processing surface (i.e. Figure 5The surface dot grid shown in the figure) has a grid density determined by the point cloud density, and the grid intersections are represented by vectors, and the vector elements include the three-dimensional space coordinates and the surface or plane normal vector located at the grid point; secondly, a dot grid is generated by the NURBS interpolation algorithm based on the three-dimensional space coordinates of the laser point cloud, and the grid density is adjusted by the NURBS node vector and the number of control points, and the grid intersections are represented by vectors, and the vector elements include the three-dimensional space coordinates and the surface or plane normal vector located at the grid point.

[0074] Step 5: Connect the intersection points of the dot grid to generate a processing path.

[0075] Step 6: Verify the obstacle avoidance path generated by the planning module and the processing path generated by the dot matrix module. If the obstacle avoidance path cannot avoid the obstacle, the control points of the NUBRS curve need to be adjusted to adjust the path. If the processing path does not completely cover the processing object, the dot matrix grid needs to be adjusted.

[0076] Step 7: Combine the obstacle avoidance path and the processing path to finally generate the operation path.

[0077] It should be noted that the operation path dot matrix planning device proposed in this application and applied to the above-mentioned operation path dot matrix planning method includes five functional modules: identification, construction, planning, lattice and verification. It extracts the advantages of multiple robot path planning algorithms, and integrates laser point cloud data with three-dimensional modeling to realize automatic planning of robot processing operation paths, greatly reduce the robot teaching time, and effectively improve the processing efficiency of robot operations.

[0078] In addition, it should be noted that the operation path lattice planning device provided in the above embodiment and the operation path lattice planning method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual applications, the operation path lattice planning device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0079] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the operation path lattice planning method provided in the above-mentioned embodiments.

[0080] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0081] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method described in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602 and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0082] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0083] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.

[0084] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0085] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0086] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0087] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the operation path dot matrix planning method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0088] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the operation path lattice planning method provided in each of the above embodiments.

[0089] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for planning an operation path dot matrix, characterized in that: The method comprises: Acquire initial point cloud information of the area to be identified, wherein the initial point cloud information includes point cloud information of the object to be processed and point cloud information of obstacles; Constructing a three-dimensional model of the surface to be processed based on the point cloud information of the object to be processed, and constructing a three-dimensional model of the obstacle based on the point cloud information of the obstacle; Generate an obstacle avoidance path based on the three-dimensional model of the obstacle, and generate a processing path based on the three-dimensional model of the surface to be processed; An operation path is generated by combining the obstacle avoidance path and the processing path, so as to control a robot to operate on the object to be processed based on the operation path.

2. The operation path lattice planning method according to claim 1, characterized in that: Generating an obstacle avoidance path based on the obstacle three-dimensional model also includes: Calculating the obstacle point cloud information according to a preset path planning algorithm and the obstacle three-dimensional model to obtain an optimal solution for the obstacle avoidance distance; Generate an initial obstacle avoidance path based on the optimal solution of the obstacle avoidance distance; The initial obstacle avoidance path is optimized to determine the optimized obstacle avoidance path as the target obstacle avoidance path.

3. The operation path lattice planning method according to claim 2, characterized in that: Before generating an obstacle avoidance path based on the obstacle three-dimensional model, the method further includes: Identify boundary points and salient points of the obstacle based on the obstacle point cloud information; The obstacle is geometrically expanded based on the boundary points and the convex points to obtain a simple three-dimensional geometric body corresponding to the volume of the obstacle, so as to generate an obstacle avoidance path based on the simple three-dimensional geometric body.

4. The operation path lattice planning method according to claim 1, characterized in that: Generating a machining path based on the three-dimensional model of the surface to be machined includes: Generate a surface dot grid based on the point cloud information of the object to be processed, wherein the dot grid is used to represent the surface information of the object to be processed; The intersection points of the surface point grid are connected to generate a machining path.

5. The operation path lattice planning method according to claim 4, characterized in that: Generate surface dot grid based on point cloud information of the object to be processed, including: Determine the three-dimensional space coordinates of the object to be processed based on the point cloud information of the object to be processed, and generate a first dot grid according to the three-dimensional space coordinates, wherein the first dot grid is used to represent the surface of the object to be processed, and the grid density of the first dot grid is determined based on the point cloud density; or, The three-dimensional spatial coordinates of the object to be processed are determined based on the information of the object to be processed, and a second dot grid is generated based on a preset surface modeling method. The grid density of the second point cloud grid is determined based on the node vector and the number of control points of the preset surface modeling method.

6. The operation path lattice planning method according to any one of claims 1 to 4, characterized in that: Combining the obstacle avoidance path and the processing path to generate an operation path includes: Determining a safe passage area based on the obstacle avoidance path; An operation path is generated by combining the safe passage area and the processing path, and the entire operation path is within the safe passage area.

7. The operation path lattice planning method according to claim 6, characterized in that: Before combining the obstacle avoidance path and the processing path to generate an operation path, the method further includes: Identify whether the obstacle avoidance path can avoid all obstacles, and if the obstacle avoidance path cannot avoid all obstacles, adjust and optimize the obstacle avoidance path; The operation coverage of the operation path is obtained. If the operation coverage fails to include the entire surface of the object to be processed or exceeds the entire surface of the object to be processed, the operation path is adjusted and optimized.

8. A work path dot matrix planning device, characterized in that: The device comprises: The recognition module is used to obtain the initial point cloud information of the area to be recognized, wherein the initial point cloud information includes the point cloud information of the object to be processed and the point cloud information of the obstacle; A construction module, used to construct a three-dimensional model of the surface to be processed based on the point cloud information of the object to be processed, and to construct a three-dimensional model of the obstacle based on the point cloud information of the obstacle; A planning module, used to generate an obstacle avoidance path based on the three-dimensional model of the obstacle, and to generate a processing path based on the three-dimensional model of the surface to be processed; The dot matrix module is used to generate an operation path by combining the obstacle avoidance path and the processing path, so as to control the robot to operate on the object to be processed based on the operation path.

9. An electronic device, characterized in that: It includes a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute the computer program stored in the memory to implement the operation path lattice planning method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to enable a computer to execute the operation path lattice planning method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Live working robot control system

    CN109434826A

  • Narrow space robot attitude autonomous planning system and method

    CN117162098A

  • Apparatus and a Method for Automatically Programming a Robot to Follow Contours of Objects

    US20240042605A1

Cited By

  • Mechanical arm path planning method and device based on neural network and mechanical arm

    CN119057795A

  • Robotic arm path planning method, device and robotic arm based on neural network

    CN119057795B

  • Mechanical arm operation obstacle avoidance method and system based on probe obstacle collection

    CN119257729A

  • RRTstar algorithm-based path planning method, apparatus and device, and storage medium

    CN119645036A

  • Operation obstacle avoidance control method and system for coating construction integrated robot

    CN121028787A