Automated UAV inspection path optimization method based on BIM modeling of engineering scenarios
Through BIM modeling and similarity analysis, the drone inspection path is automatically optimized, which solves the problems of low path efficiency and difficulty in ensuring accuracy in the existing technology, and achieves a more efficient and accurate inspection path.
Patent Information
- Application Number
- CN202410457454.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-04-16
AI Technical Summary
Existing drone inspection paths are usually preset paths in engineering scenarios and cannot be dynamically optimized, resulting in low efficiency and difficulty in ensuring accuracy.
An automated method based on BIM modeling is used to construct the initial and second BIM models, combined with drone inspection data, to optimize the inspection path, use the overall similarity and building similarity to determine the target similarity, and apply the optimization strategy to adjust the path Starting point, end point and intermediate stops.
It realizes the automated optimization of drone inspection paths, improves the efficiency and accuracy of path optimization, adapts to the needs of engineering scenarios, and avoids the use of complex path planning algorithms.
Smart Images

Figure CN118192636B
Abstract
Description
Technical Field
[0001] The present application relates to the field of drone technology, and more particularly to an automated drone inspection path optimization method based on BIM modeling of engineering scenarios. Background Art
[0002] With the development of drone technology, drones are increasingly being used. In engineering scenarios, drones can be used to perform automatic inspections, thereby ensuring the safety of the engineering scenarios. At present, the inspection path of automatic drones in engineering scenarios is usually a preset inspection path, and the inspection path does not change. Summary of the invention
[0003] The purpose of this application is to provide an automated UAV inspection path optimization method based on BIM modeling of engineering scenarios, which can realize automated UAV inspection path optimization based on BIM modeling and improve the efficiency and accuracy of path optimization.
[0004] To achieve the above-mentioned objectives, an embodiment of the present application provides an automated drone inspection path optimization method based on BIM modeling of engineering scenarios, including: constructing a first BIM model according to a preset type of building in the engineering scenario; generating a first inspection path according to the first BIM model, and importing the first inspection path into a drone so that the drone performs inspections according to the first inspection path; obtaining first inspection data of the drone, the first inspection data including multiple first inspection images, and the multiple first inspection images respectively corresponding to building identifications; constructing a second BIM model according to the correspondence between the multiple first inspection images, the building identifications respectively corresponding to the multiple first inspection images, the preset building identifications and the modeling elements; optimizing the first inspection path according to the first BIM model and the second BIM model.
[0005] In a possible implementation, the preset type of building is a building that satisfies at least one of the following building conditions: the building importance index is greater than the preset importance index; the number of adjacent buildings of the building is between the minimum number of adjacent buildings and the maximum number of adjacent buildings; the building height is between the lowest flight altitude of the drone and the highest flight altitude of the drone; the number of affected objects of the building is less than the preset number of affected objects; constructing a first BIM model according to the preset type of building in the engineering scenario, including: constructing an initial first BIM model according to the preset modeling elements corresponding to the preset type of building, the preset modeling elements corresponding to the preset type of building include modeling elements of the preset type of building and obstacle modeling elements; constructing a final first BIM model according to the preset modeling elements corresponding to the adjacent buildings of the preset type of building, the preset modeling elements corresponding to the affected objects of the preset type of building, and the initial first BIM model.
[0006] In a possible implementation, generating a first inspection path according to the first BIM model includes: determining a path starting point, a path end point, and a plurality of intermediate stop points according to the first BIM model, wherein the plurality of intermediate stop points are determined according to locations of buildings of the preset type; determining sub-inspection paths corresponding to the plurality of intermediate stop points according to the first BIM model, wherein for any sub-inspection path, the starting point and the end point of the sub-inspection path are both intermediate stop points corresponding to the sub-inspection path, and the path length of the sub-inspection path is determined according to the shape parameters of the preset type of building at which the intermediate stop points corresponding to the sub-inspection path are located; determining a plurality of obstacle avoidance points according to the first BIM model; and generating the first inspection path according to the path starting point, the path end point, the plurality of intermediate stop points, the sub-inspection paths corresponding to the plurality of intermediate stop points, and the plurality of obstacle avoidance points.
[0007] In a possible implementation, constructing a second BIM model based on the multiple first inspection images, the building identifications corresponding to the multiple first inspection images, and the correspondence between preset building identifications and modeling elements includes: constructing an initial second BIM model based on the multiple first inspection images and the building identifications corresponding to the multiple first inspection images; determining multiple extended modeling elements based on the building identifications corresponding to the multiple first inspection images and the correspondence between the preset building identifications and modeling elements; and constructing a final second BIM model based on the multiple extended modeling elements, the building identifications corresponding to the multiple extended modeling elements, the initial second BIM model, and preset model extension rules.
[0008] In a possible implementation, optimizing the first inspection path according to the first BIM model and the second BIM model includes: determining the overall similarity between the first BIM model and the second BIM; determining the building similarity between the first BIM model and the second BIM model, the building similarity being used to characterize the similarity between the buildings corresponding to the same building identifier in the first BIM model and the second BIM model; determining the target similarity according to the number of the multiple extended modeling elements, the overall similarity, the building similarity and a preset deviation value, the preset deviation value being used to characterize the deviation between the BIM model and the actual engineering scene; optimizing the first inspection path according to the target similarity and a plurality of preset inspection path optimization strategies.
[0009] In a possible implementation, determining the target similarity according to the number of the multiple extended modeling elements, the overall similarity, the building similarity, and a preset deviation value includes: determining the target similarity according to the number of the multiple extended modeling elements, the overall similarity, the building similarity, a preset deviation value, and a preset similarity determination algorithm, wherein the preset similarity determination algorithm is expressed as:
[0010]
[0011] Among them, S D Characterizes the target similarity, S D =S w Characterize the overall similarity, S p represents the building similarity, N represents the preset deviation value, Q k Characterize the number of the plurality of extended modeling elements, f(Q k ) characterizes a transformation function of the plurality of extended modeling elements.
[0012] In a possible implementation, the first inspection path includes a path starting point, a path end point, multiple intermediate stop points, and sub-inspection paths corresponding to the multiple intermediate stop points, respectively. The optimization of the first inspection path according to the target similarity and multiple preset inspection path optimization strategies includes: if the target similarity is greater than or equal to a first preset similarity, optimizing the path starting point and / or path end point of the first inspection path; if the target similarity is less than the first preset similarity and greater than a second preset similarity, optimizing the intermediate stop points and / or the sub-inspection paths corresponding to the intermediate stop points of the first inspection path; if the target similarity is less than or equal to the second similarity, optimizing the path starting point, path end point, multiple intermediate stop points, and the sub-inspection paths corresponding to the multiple intermediate stop points of the first inspection path.
[0013] In a possible implementation, the automated UAV inspection path optimization method also includes: constructing a third BIM model based on buildings other than the preset type of buildings in the engineering scene; generating a second inspection path based on the third BIM model, and importing the second inspection path into the UAV so that the UAV performs inspections according to the second inspection path; obtaining second inspection data of the UAV, the second inspection data including multiple second inspection images, and the multiple second inspection images respectively corresponding to building identifications; constructing a fourth BIM model based on the association relationship between the multiple second inspection images, the building identifications respectively corresponding to the multiple second inspection images, the multiple first inspection images, the building identifications respectively corresponding to the multiple first inspection images, and the preset building identification; optimizing the second inspection path based on the first BIM model, the third BIM model and the fourth BIM model.
[0014] In a possible implementation manner, optimizing the second inspection path according to the first BIM model, the third BIM model, and the fourth BIM model includes:
[0015] According to the first BIM model and the third BIM model, an overall BIM model is synthesized; the model similarity between the overall BIM model and the fourth BIM model is determined, and the model similarity is determined according to at least two similarities of a first similarity, a second similarity and a third similarity, the first similarity is used to characterize the similarity of buildings of a preset type, the second similarity is used to characterize the similarity of buildings other than the preset type, and the third similarity is used to characterize the integrated similarity of the similarity of buildings of the preset type and the similarity of buildings other than the preset type; according to the model similarity and a plurality of preset inspection path optimization strategies, the second inspection path is optimized.
[0016] In a possible implementation, the automated UAV inspection path optimization method further includes: obtaining an optimized first inspection path and an optimized second inspection path; determining the same path points in the optimized first inspection path and the optimized second inspection path; configuring identifiers corresponding to the same path points in the first BIM model, and configuring identifiers corresponding to the same path points in the third BIM model, wherein the identifiers corresponding to the same path points include: an identifier of the location of the same path point, an identifier of the building where the same path point is located, and an identifier of an influencing object within a preset distance range of the same path point; constructing a target BIM model based on the first BIM model after the configuration identifier and the third BIM model after the configuration identifier; when the UAV performs inspection according to the optimized first inspection path or the optimized second inspection path, the corresponding optimized inspection path is synchronously displayed in the target BIM model.
[0017] Compared with the prior art, the technical solution of the embodiment of the present application has the following technical effects:
[0018] Based on the preset types of buildings in the engineering scene, a first BIM model is first constructed, and the first inspection path is generated using the first BIM model. The drone can perform inspections according to the first inspection path. The second BIM model is constructed based on the inspection data obtained by the drone according to the first inspection path, and the correspondence between the preset building representation and the modeling elements, and then the first inspection path is optimized based on the first BIM model and the second BIM model. This technical solution optimizes the inspection path of the drone based on the BIM model, without the need to adopt various complex path planning algorithms, and by associating the optimization of the inspection path with the BIM model of the engineering scene, an inspection path that is more suitable for the inspection needs of the engineering scene can be obtained. Therefore, this technical solution can realize automated drone inspection path optimization based on BIM modeling, and improve the efficiency and accuracy of path optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a deployment diagram of an engineering scenario according to an embodiment of the present application;
[0020] Figure 2 It is a flow chart of an automated UAV inspection path optimization method based on BIM modeling of engineering scenarios according to an embodiment of the present application;
[0021] Figure 3 is an example diagram of an inspection path according to an embodiment of the present application;
[0022] Figure 4 It is a structural schematic diagram of an automated UAV inspection path optimization device based on BIM modeling of engineering scenarios according to an embodiment of the present application;
[0023] Figure 5 It is a structural diagram of a terminal device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] The specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present application is not limited by the specific implementation methods.
[0025] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0026] The technical solution provided in the embodiment of the present application can be applied to engineering scenarios, where automatic drones are used for inspection, and the safety and operational stability of the engineering scenarios are evaluated based on the inspection data of the automatic drones. The engineering scenarios can be bridge construction scenarios, house construction scenarios, etc., and in these engineering scenarios, various buildings and people are involved.
[0027] At present, the inspection path of automatic drones in engineering scenarios is usually a preset inspection path, and the inspection path will not change. If the inspection path needs to be optimized, the management personnel need to optimize the inspection path first, and then send the optimized inspection path to the drone. On the one hand, the method of optimizing the inspection path by the management personnel is inefficient. On the other hand, the optimization of the inspection path requires the use of multiple path planning algorithms, which is highly complex and difficult to ensure accuracy.
[0028] Based on this, the embodiment of the present application provides an automated drone inspection path optimization solution based on BIM (Building Information Modeling) modeling of engineering scenarios. In this solution, the drone inspection path is optimized based on the BIM model, without the need to use various complex path planning algorithms, and the inspection path optimization is associated with the BIM model of the engineering scenario, so that an inspection path that is more suitable for the inspection needs of the engineering scenario can be obtained. Therefore, this technical solution can realize automated drone inspection path optimization based on BIM modeling, and improve the efficiency and accuracy of path optimization.
[0029] BIM modeling can be understood as an application of three-dimensional modeling. The three-dimensional model it constructs is a building information model, which can be understood as a model that represents multiple buildings, the positional relationships between multiple buildings, and the architectural information of the buildings.
[0030] Please refer to Figure 1, is a deployment diagram of an engineering scenario according to an embodiment of the present application, such as Figure 1 As shown, in the engineering scenario, a drone and a terminal device are included, and the drone and the terminal device are connected in communication. The number of the drones can be one or more.
[0031] In some embodiments, the terminal device can send an inspection path to the drone, so that the drone can perform inspections according to the inspection path and transmit the obtained inspection data back to the terminal device. On the one hand, the terminal device can determine the inspection results based on the inspection data and feedback the inspection results to relevant personnel. On the other hand, the inspection path of the drone can be optimized based on the inspection data, so that the drone can perform optimized inspections according to the optimized inspection path and transmit the obtained inspection data back to the terminal device.
[0032] Therefore, the executor of the technical solution provided in the embodiment of the present application can be a terminal device, which is used to optimize the inspection path of the drone.
[0033] Please refer to Figure 2 , is a flow chart of an automated UAV inspection path optimization method based on BIM modeling of engineering scenarios according to an embodiment of the present application, such as Figure 2 As shown, the method includes:
[0034] Step 201: construct a first BIM model according to a preset type of building in a project scenario.
[0035] Step 202: Generate a first inspection path according to the first BIM model, and import the first inspection path into the drone, so that the drone performs inspection according to the first inspection path.
[0036] Step 203: Acquire first inspection data of the drone. The first inspection data includes a plurality of first inspection images, each of which corresponds to a building identification.
[0037] Step 204 : constructing a second BIM model according to the plurality of first inspection images, the building identifiers respectively corresponding to the plurality of first inspection images, and the correspondence between the preset building identifiers and the modeling elements.
[0038] Step 205: Optimize the first inspection path according to the first BIM model and the second BIM model.
[0039] In step 201, the preset type of building is a building that satisfies at least one of the following building conditions: the building importance index is greater than the preset importance index; the number of adjacent buildings of the building is between the minimum number of adjacent buildings and the maximum number of adjacent buildings; the building height is between the minimum flight altitude of the drone and the maximum flight altitude of the drone; the number of affected objects of the building is less than the preset number of affected objects.
[0040] The building importance index is used to characterize the importance of the building in the engineering scenario. The preset importance index may be an importance index corresponding to a key building. For example, assuming that the building importance index is within the range of 0 to 100%, the preset importance index may be 80%.
[0041] The number of adjacent buildings can be the number of adjacent buildings of a building. An adjacent building can be a building whose distance to the building is less than a preset distance. The preset distance can be configured according to the actual situation of the engineering scene. For example, buildings within a distance of 2m are adjacent buildings. The minimum number of adjacent buildings and the maximum number of adjacent buildings can be obtained by counting the actual number of adjacent buildings of each building in the engineering scene.
[0042] The building height may be the distance between the horizontal plane and the location of the building farthest from the horizontal plane. The minimum flight altitude and the maximum flight altitude of the drone may be determined according to the actual parameters of the drone.
[0043] The number of objects affected by a building can be determined according to the actual situation of the building in the engineering scene, and the objects affected can be people, vehicles, construction equipment, etc. The preset number of objects affected can be the average number of objects affected corresponding to multiple buildings in the engineering scene.
[0044] The determination of the preset type of building is performed each time the inspection path of the drone is planned. That is, when the inspection path of the drone needs to be planned, various information of the buildings in the current engineering scene can be counted to determine the preset type of building. That is, at different time points, the preset type of building may be different buildings. For example, for the height of a building, as the building increases, the height will increase or decrease.
[0045] Furthermore, step 201 may include: constructing an initial first BIM model according to preset modeling elements corresponding to buildings of preset types, wherein the preset modeling elements corresponding to buildings of preset types include modeling elements of buildings of preset types and obstacle modeling elements; constructing a final first BIM model according to preset modeling elements corresponding to adjacent buildings of buildings of preset types, preset modeling elements corresponding to influencing objects of buildings of preset types, and the initial first BIM model.
[0046] In some embodiments, the preset modeling elements corresponding to the preset type of building may include: various sub-models (e.g., pre-built models of different shapes and sizes), pictures (used to implement mapping or extract relevant modeling elements), etc.; or they may also be understood as elements that can implement modeling. They may include modeling elements of the preset type of building, and also include obstacle modeling elements, such as construction tools and road obstacles in the construction scene.
[0047] In some embodiments, relevant modeling software may be used to implement modeling. For specific modeling methods, reference may be made to mature technologies in the art and will not be described in detail herein.
[0048] In some embodiments, based on the initial first BIM model, modeling can continue, that is, adjacent buildings and affected objects of buildings of a preset type are constructed in the initial BIM model, and then the construction of the first BIM model is completed, so that the first BIM model contains not only buildings of the preset type, but also adjacent buildings and affected objects, etc.
[0049] Furthermore, based on the first BIM model, a first inspection path can be generated. This step can be understood as first generating an inspection path based on the model using the overall environment constructed by the model, and then converting the inspection path based on the model into an inspection path of the real environment. For the conversion of the inspection path, reference can be made to mature technologies in the art.
[0050] As an optional implementation, step 202 includes: determining a path starting point, a path end point, and a plurality of intermediate stop points according to the first BIM model, wherein the plurality of intermediate stop points are determined according to the locations of buildings of a preset type; determining sub-inspection paths corresponding to the plurality of intermediate stop points according to the first BIM model, wherein for any sub-inspection path, the starting point and the end point of the sub-inspection path are both intermediate stop points corresponding to the sub-inspection path, and the path length of the sub-inspection path is determined according to the shape parameters of the building of the preset type at which the intermediate stop points corresponding to the sub-inspection path are located; determining a plurality of obstacle avoidance points according to the first BIM model; generating a first inspection path according to the path starting point, the path end point, the plurality of intermediate stop points, the sub-inspection paths corresponding to the plurality of intermediate stop points, and the plurality of obstacle avoidance points.
[0051] Based on the first BIM model, a path starting point, a path end point, and a plurality of intermediate stop points are determined. For example, the path starting point may be a certain edge position of the first BIM model, and correspondingly, the path end point is another edge position of the first BIM model. Each intermediate stop point may correspond to a preset type of building, and the intermediate stop point may be an inspection position of a preset type of building, such as the top, left, right, etc. of a preset type of building.
[0052] Furthermore, for each intermediate stop point, a corresponding sub-inspection path needs to be determined. For any sub-inspection path, the starting point of the sub-inspection path and the end point of the sub-inspection path are both intermediate stop points corresponding to the sub-inspection path, and the path length of the sub-inspection path is determined according to the shape parameters of the preset type of building where the intermediate stop point corresponding to the sub-inspection path is located. The shape parameters may include: length, width, height, diameter (radius), etc. For example, if determined based on the width / diameter, the path length is greater than 2 times the width / diameter. Or it can be understood that the path length can achieve a circle around the preset type of building.
[0053] In addition, multiple obstacle avoidance points need to be determined, and the multiple obstacle avoidance points may be the locations where obstacles are about to be reached.
[0054] Furthermore, a first inspection path is generated according to the path starting point, the path ending point, the multiple intermediate stop points, the sub-inspection paths corresponding to the multiple intermediate stop points, and the multiple obstacle avoidance points.
[0055] In this implementation, the first inspection path may be generated according to some preset path planning algorithms, such as some curve generation algorithms. For example, the inspection path between two points may be generated according to the curve generation algorithm based on two points each time. For the sub-inspection paths corresponding to the multiple intermediate stop points, the sub-inspection paths may be generated according to the curve generation algorithm based on the path length and the intermediate stop points.
[0056] Please refer to Figure 3 , is an example diagram of an inspection path according to an embodiment of the present application, such as Figure 3 As shown, the inspection path starts from the path starting point A, reaches the intermediate stop point B, and then the sub-inspection path X1 based on the intermediate stop point B; followed by the obstacle avoidance point C; followed by the intermediate stop point D, and then the sub-inspection path X2 based on the intermediate stop point D; and finally the path end point E.
[0057] After the first inspection path is generated, the first inspection path is imported into the drone so that the drone performs inspection according to the first inspection path. Thus, in step 203, the first inspection data of the drone is obtained. The first inspection data includes a plurality of first inspection images, and the plurality of first inspection images respectively correspond to building identifications. The building identification can be understood as a unique identification of the building, which can be used to distinguish different buildings.
[0058] Then, in step 204, a second BIM model is constructed according to the plurality of first inspection images, the building identifiers respectively corresponding to the plurality of first inspection images, and the correspondence between the preset building identifiers and the modeling elements.
[0059] As an optional implementation, step 204 includes: constructing an initial second BIM model based on multiple first inspection images and building identifications corresponding to the multiple first inspection images; determining multiple extended modeling elements based on the building identifications corresponding to the multiple first inspection images and the correspondence between preset building identifications and modeling elements; constructing a final second BIM model based on the multiple extended modeling elements, the building identifications corresponding to the multiple extended modeling elements, the initial second BIM model and the preset model extension rules.
[0060] In this implementation, the initial second BIM model is first constructed based on the building identifications corresponding to the first inspection image and the plurality of first inspection images. This can be understood as first constructing the initial BIM model based on the image. The BIM model constructed at this time is a model constructed based on the image collected by the drone, and its completeness may not be consistent with the completeness of the first BIM model. Among them, the construction method of the BIM model based on the image can refer to the mature technology in this field, which will not be introduced in detail here.
[0061] Furthermore, by matching the building identification with the preset corresponding relationship, a plurality of extended modeling elements corresponding to the building identification can be determined. The plurality of extended modeling elements can be images or other types of elements, which are used to supplement the first inspection data to further improve the second BIM model.
[0062] Furthermore, the preset model extension rules are used to characterize the usage rules of multiple extended modeling elements, such as: full use, partial use; and also include usage methods, such as: as a supplementary element of the image, as an inserted element of the image, or integrated with the image, etc.
[0063] Therefore, based on multiple extended elements, the initial second BIM model can be improved to a certain extent, so that the constructed second BIM model has a certain reference and comparability.
[0064] Furthermore, in step 205, the first inspection path is optimized according to the first BIM model and the second BIM model.
[0065] In the embodiment of the present application, the optimization concept of the first inspection path is: since the second BIM model is a model constructed based on the data obtained from the inspection data, it can represent the data collection integrity and data collection stability of the drone inspection path. Therefore, the first BIM model and the second BIM model are compared, and according to the comparison result, it can be determined whether the drone inspection path needs to be optimized. Therefore, there is no need to adopt a complex path optimization algorithm, nor is there any need to analyze various flight data of the drone, etc., to achieve a simpler and more accurate path optimization.
[0066] Therefore, as an optional implementation, step 205 includes: determining the overall similarity between the first BIM model and the second BIM; determining the building similarity between the first BIM model and the second BIM model, the building similarity is used to characterize the similarity between the buildings in the first BIM model and the second BIM model that correspond to the same building identifier; determining the target similarity based on the number of multiple extended modeling elements, the overall similarity, the building similarity and a preset deviation value, the preset deviation value is used to characterize the deviation between the BIM model and the actual engineering scene; optimizing the first inspection path based on the target similarity and a plurality of preset inspection path optimization strategies.
[0067] Among them, the overall similarity can be based on the similarity of the entire model. The similarity of the BIM model can be the similarity determined by combining all the objects of the BIM model. Specifically, for each position of the BIM model, the similarity between the objects at that position is determined respectively, and finally the similarities of multiple positions are integrated to obtain the overall similarity. The building similarity is used to characterize the similarity of buildings corresponding to the same building logo. The similarity can be determined by combining the appearance parameters such as the height and width of the building. The preset deviation value is used to characterize the deviation between the BIM model and the real engineering scene. The deviation is used to characterize the deviation of the similarity. The preset deviation value can be determined by evaluating the similarity deviation between the known BIM model and the real scene in advance through similarity.
[0068] Further, determining the target similarity according to the number of the plurality of extended modeling elements, the overall similarity, the building similarity, and a preset deviation value may include: determining the target similarity according to the number of the plurality of extended modeling elements, the overall similarity, the building similarity, a preset deviation value, and a preset similarity determination algorithm, wherein the preset similarity determination algorithm is expressed as:
[0069]
[0070] Among them, S D Represents the target similarity, S D =S w Represents the overall similarity, S p represents the building similarity, N represents the preset deviation value, Q k Characterizes the number of extended modeling elements, f(Q k ) characterizes the transfer functions of multiple extended modeling elements.
[0071] Among them, the conversion function of multiple extended modeling elements is used to convert the number of multiple extended modeling elements into the influence value of similarity. The conversion function can be a direct proportional function, that is, the more the number of extended modeling elements, the higher the influence value of similarity. And, in the direct proportional function, the influence coefficient can be in the range of 0 to 1. In different application scenarios, a specific conversion function can be configured according to the preset multiple modeling elements.
[0072] Further, on the basis that the first inspection path includes a path starting point, a path end point, multiple intermediate stop points and sub-inspection paths corresponding to the multiple intermediate stop points respectively, optimizing the first inspection path according to the target similarity and multiple preset inspection path optimization strategies may include: if the target similarity is greater than or equal to the first preset similarity, optimizing the path starting point and / or path end point of the first inspection path; if the target similarity is less than the first preset similarity and greater than the second preset similarity, optimizing the intermediate stop points and / or the sub-inspection paths corresponding to the intermediate stop points of the first inspection path; if the target similarity is less than or equal to the second similarity, optimizing the path starting point, path end point, multiple intermediate stop points and the sub-inspection paths corresponding to the multiple intermediate stop points respectively of the first inspection path.
[0073] The first preset similarity may be a value between 90% and 100%, and the second preset similarity may be a value between 70% and 90%.
[0074] Furthermore, if the path start point and / or the path end point need to be optimized, after the path start point and / or the path end point are changed, only the missing path involved in the path start point and / or the path end point needs to be replanned.
[0075] Furthermore, if it is necessary to optimize the intermediate stop points of the first inspection path and / or the sub-inspection paths corresponding to the intermediate stop points, new intermediate stop points and / or the sub-inspection paths corresponding to the intermediate stop points can be reselected.
[0076] And if you need to optimize the path starting point, path end point, multiple intermediate stop points and the sub-inspection paths corresponding to the multiple intermediate stop points, then set a new optimized path starting point, path end point, multiple intermediate stop points and the sub-inspection paths corresponding to the multiple intermediate stop points.
[0077] It can be understood that when setting a new corresponding path, the implementation method of the initial planning can be referred to, but some of the configuration rules can be changed, such as: the selection of preset types of buildings, the reconfiguration of path length, the change of curve generation algorithm, etc.
[0078] As an optional implementation, the automated UAV inspection path optimization method also includes: constructing a third BIM model based on buildings other than preset types of buildings in the engineering scene; generating a second inspection path based on the third BIM model, and importing the second inspection path into the UAV so that the UAV performs inspections according to the second inspection path; obtaining second inspection data from the UAV, the second inspection data including multiple second inspection images, and the multiple second inspection images respectively corresponding to building identifications; constructing a fourth BIM model based on the association relationship between the multiple second inspection images, the building identifications respectively corresponding to the multiple second inspection images, the multiple first inspection images, the building identifications respectively corresponding to the multiple first inspection images, and the preset building identifications; optimizing the second inspection path based on the first BIM model, the third BIM model, and the fourth BIM model.
[0079] In this implementation, the construction method of the third BIM model can refer to the construction method of the first BIM model, except that the construction object this time is a building other than the preset type of building.
[0080] And, according to the third BIM model, the implementation method of generating the second inspection path can refer to the implementation method of generating the first inspection path; however, the intermediate stop points are changed to the locations of buildings other than the preset types of buildings.
[0081] And, the construction method of the fourth BIM model can refer to the construction method of the second BIM model, but the first inspection image is also added here. That is, the fourth BIM model constructed here is the BIM model corresponding to the entire engineering scene, but it is an overall BIM model constructed based on the images collected by the drone.
[0082] Furthermore, according to the first BIM model, the third BIM model and the fourth BIM model, the second inspection path is optimized, including: according to the first BIM model and the third BIM model, an overall BIM model is synthesized; the model similarity between the overall BIM model and the fourth BIM model is determined, the model similarity is determined according to at least two similarities of the first similarity, the second similarity and the third similarity, the first similarity is used to characterize the similarity of buildings of a preset type, the second similarity is used to characterize the similarity of buildings other than the preset type, and the third similarity is used to characterize the integrated similarity of the similarity of buildings of the preset type and the similarity of buildings other than the preset type; according to the model similarity and a plurality of preset inspection path optimization strategies, the second inspection path is optimized.
[0083] In this embodiment, the first BIM model and the third BIM model are synthesized to obtain a more accurate overall BIM model. Then, the overall BIM model is compared with the fourth BIM model to optimize the second inspection path.
[0084] The first similarity is used to characterize the similarity of buildings of a preset type, the second similarity is used to characterize the similarity of buildings other than the preset type, and the third similarity is used to characterize the integrated similarity of the similarity of buildings of the preset type and the similarity of buildings other than the preset type.
[0085] Furthermore, if the integrated similarity is greater than the aforementioned first similarity, only the path starting point and / or path end point of the second inspection path can be optimized. If the overall similarity is less than the first preset similarity and greater than the second preset similarity, the intermediate stop points of the first inspection path and / or the sub-inspection paths corresponding to the intermediate stop points are optimized; if the overall similarity is less than or equal to the second similarity, the path starting point, path end point, multiple intermediate stop points, and sub-inspection paths corresponding to the multiple intermediate stop points of the first inspection path are optimized. Among them, the specific optimization method can refer to the aforementioned embodiment.
[0086] As an optional implementation, the automated UAV inspection path optimization method also includes: obtaining an optimized first inspection path and an optimized second inspection path; determining the same path points in the optimized first inspection path and the optimized second inspection path; configuring identifiers corresponding to the same path points in the first BIM model, and configuring identifiers corresponding to the same path points in the third BIM model, the identifiers corresponding to the same path points including: an identifier of the location of the same path point, an identifier of the building where the same path point is located, and at least one identifier of an influencing object within a preset distance range of the same path point; constructing a target BIM model based on the first BIM model after the configuration identifiers and the third BIM model after the configuration identifiers; when the UAV performs inspection according to the optimized first inspection path or the optimized second inspection path, the corresponding optimized inspection path is synchronously displayed in the target BIM model.
[0087] In this implementation, the same path points are marked so that the target BIM model also has the same mark. In addition, the corresponding optimized inspection path is synchronously displayed in the target BIM model, so that the user can observe the relevant situation of the inspection path of the drone and view the relevant mark information, thereby improving the user experience.
[0088] It can be seen from the introduction of the embodiments of the present application that, based on the preset type of buildings in the engineering scene, a first BIM model is first constructed, and the first inspection path is generated using the first BIM model, and the drone can perform inspections according to the first inspection path. Combined with the inspection data obtained by the drone according to the first inspection path, and the correspondence between the preset building representation and the modeling elements, a second BIM model is constructed, and then the first inspection path is optimized based on the first BIM model and the second BIM model. This technical solution optimizes the inspection path of the drone based on the BIM model, without the need to adopt various complex path planning algorithms, and by associating the optimization of the inspection path with the BIM model of the engineering scene, an inspection path that is more suitable for the inspection needs of the engineering scene can be obtained. Therefore, this technical solution can realize automated drone inspection path optimization based on BIM modeling, and improve the efficiency and accuracy of path optimization.
[0089] Please refer to Figure 4 , is a structural schematic diagram of an automated UAV inspection path optimization device based on BIM modeling of an engineering scenario according to an embodiment of the present application, the device comprising:
[0090] The construction module 401 is used to construct a first BIM model according to a preset type of building in the engineering scene; the path generation module 402 is used to generate a first inspection path according to the first BIM model, and import the first inspection path into a drone so that the drone performs inspection according to the first inspection path; the acquisition module 403 is used to acquire first inspection data of the drone, the first inspection data including multiple first inspection images, and the multiple first inspection images respectively correspond to building identifications; the construction module 401 is also used to construct a second BIM model according to the multiple first inspection images, the building identifications respectively corresponding to the multiple first inspection images, and the correspondence between the preset building identifications and modeling elements; the path optimization module 404 is used to optimize the first inspection path according to the first BIM model and the second BIM model.
[0091] The implementation method of the automated UAV inspection path optimization device based on BIM modeling of engineering scenarios can refer to the aforementioned method embodiment.
[0092] Please refer to Figure 5 , an embodiment of the present application further provides a terminal device; the terminal device includes a processor 501 and a memory 502, and the processor 501 and the memory 502 are communicatively connected.
[0093] The processor 501 and the memory 502 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, these elements can be electrically connected through one or more communication buses or signal buses. The method steps executed by the aforementioned modules or interactive terminals respectively include at least one software function module that can be stored in the memory 502 in the form of software or firmware.
[0094] Processor 501 may be an integrated circuit chip with signal processing capability. Processor 501 may be a general-purpose processor, including a CPU (Central Processing Unit), NP (Network Processor), etc.; it may also be a digital signal processor, a dedicated integrated circuit, a readily available programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. It may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0095] The memory 502 can store various software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, implements various steps in the embodiments of the present application.
[0096] The memory 502 may include, but is not limited to, RAM (Random Access Memory), ROM (Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), etc.
[0097] Understandably, Figure 5 The structure shown is for illustration only. The terminal device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown.
[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0099] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0102] The foregoing description of the specific exemplary embodiments of the present application is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present application to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present application and its practical application, so that those skilled in the art can realize and utilize the various exemplary embodiments of the present application and various selections and changes. The scope of the present application is intended to be limited by the claims and their equivalents.
Claims
1. An automated UAV inspection path optimization method based on BIM modeling of engineering scenarios, characterized in that: include: Construct the first BIM model according to the preset type of buildings in the engineering scenario; Generate a first inspection path according to the first BIM model, and import the first inspection path into a drone, so that the drone performs inspection according to the first inspection path; Acquire first inspection data of the drone, where the first inspection data includes a plurality of first inspection images, and the plurality of first inspection images respectively correspond to building identifications; Constructing a second BIM model according to the plurality of first inspection images, the building identifiers respectively corresponding to the plurality of first inspection images, and the correspondence between the preset building identifiers and the modeling elements; Optimizing the first inspection path according to the first BIM model and the second BIM model; The constructing a second BIM model according to the plurality of first inspection images, the building identifiers respectively corresponding to the plurality of first inspection images, and the correspondence between the preset building identifiers and the modeling elements includes: Constructing an initial second BIM model according to the plurality of first inspection images and the building identifiers respectively corresponding to the plurality of first inspection images; Determine a plurality of extended modeling elements according to the building identifiers respectively corresponding to the plurality of first inspection images and the correspondence between the preset building identifiers and the modeling elements; Constructing a final second BIM model according to the multiple extended modeling elements, the building identifiers respectively corresponding to the multiple extended modeling elements, the initial second BIM model and the preset model extension rules; The optimizing the first inspection path according to the first BIM model and the second BIM model includes: Determining an overall similarity between the first BIM model and the second BIM; Determine a building similarity between the first BIM model and the second BIM model, where the building similarity is used to characterize a similarity between buildings in the first BIM model and the second BIM model that correspond to the same building identifier; Determining a target similarity according to the number of the plurality of extended modeling elements, the overall similarity, the building similarity and a preset deviation value, wherein the preset deviation value is used to characterize the deviation between the BIM model and the actual engineering scene; The first inspection path is optimized according to the target similarity and a plurality of preset inspection path optimization strategies.
2. The method for optimizing the automatic UAV inspection path according to claim 1, characterized in that: The buildings of the preset type are buildings that meet at least one of the following building conditions: the building importance index is greater than the preset importance index; the number of adjacent buildings of the building is between the minimum number of adjacent buildings and the maximum number of adjacent buildings; The building height is between the minimum flight altitude of the drone and the maximum flight altitude of the drone; The number of objects affected by the building is less than the preset number of objects affected; and constructing the first BIM model according to the preset type of building in the engineering scenario includes: Constructing an initial first BIM model according to the preset modeling elements corresponding to the buildings of the preset type, wherein the preset modeling elements corresponding to the buildings of the preset type include modeling elements of the buildings of the preset type and obstacle modeling elements; A final first BIM model is constructed according to the preset modeling elements corresponding to the adjacent buildings of the preset type of building, the preset modeling elements corresponding to the impact objects of the preset type of building, and the initial first BIM model.
3. The method for optimizing the automatic UAV inspection path according to claim 1, characterized in that: Generating a first inspection path according to the first BIM model includes: Determine, according to the first BIM model, a path starting point, a path end point, and a plurality of intermediate stop points, wherein the plurality of intermediate stop points are determined according to locations of buildings of the preset type; According to the first BIM model, sub-inspection paths corresponding to the multiple intermediate stop points are determined, and for any sub-inspection path, the starting point and the end point of the sub-inspection path are both the intermediate stop points corresponding to the sub-inspection path, and the path length of the sub-inspection path is determined according to the shape parameters of the preset type of building where the intermediate stop points corresponding to the sub-inspection path are located; Determine a plurality of obstacle avoidance points according to the first BIM model; The first inspection path is generated according to the path starting point, the path end point, the multiple intermediate stop points, the sub-inspection paths corresponding to the multiple intermediate stop points, and the multiple obstacle avoidance points.
4. The method for optimizing the automatic UAV inspection path according to claim 1, characterized in that: The determining of the target similarity according to the number of the plurality of extended modeling elements, the overall similarity, the building similarity and a preset deviation value comprises: The target similarity is determined according to the number of the plurality of extended modeling elements, the overall similarity, the building similarity, a preset deviation value and a preset similarity determination algorithm, wherein the preset similarity determination algorithm is expressed as: in, Characterize the target similarity, Characterizing the overall similarity, Characterize the similarity of the buildings, Characterizing the preset deviation value, characterizes the number of the plurality of extended modeling elements, A transfer function characterizing the plurality of extended modeling elements.
5. According to the method for optimizing the automatic UAV inspection path of claim 1, the first inspection path includes a path starting point, a path end point, a plurality of intermediate stop points, and sub-inspection paths corresponding to the plurality of intermediate stop points, respectively, and optimizing the first inspection path according to the target similarity and the preset multiple inspection path optimization strategies comprises: If the target similarity is greater than or equal to a first preset similarity, optimizing a path starting point and / or a path end point of the first inspection path; If the target similarity is less than the first preset similarity and greater than the second preset similarity, optimizing the intermediate stop points of the first inspection path and / or the sub-inspection paths corresponding to the intermediate stop points; If the target similarity is less than or equal to the second preset similarity, the path starting point, the path end point, the multiple intermediate stop points and the sub-inspection paths corresponding to the multiple intermediate stop points of the first inspection path are optimized.
6. The method for optimizing the automatic UAV inspection path according to claim 1, characterized in that: The automated UAV inspection path optimization method further includes: Constructing a third BIM model according to buildings other than the preset type of buildings in the engineering scenario; Generate a second inspection path according to the third BIM model, and import the second inspection path into the drone, so that the drone performs inspection according to the second inspection path; Acquire second inspection data of the drone, where the second inspection data includes a plurality of second inspection images, and the plurality of second inspection images respectively correspond to building identifications; Constructing a fourth BIM model according to the association relationship between the plurality of second inspection images, the building identifications respectively corresponding to the plurality of second inspection images, the plurality of first inspection images, the building identifications respectively corresponding to the plurality of first inspection images, and the preset building identification; The second inspection path is optimized according to the first BIM model, the third BIM model and the fourth BIM model.
7. The method for optimizing the automatic UAV inspection path according to claim 6, characterized in that: The optimizing the second inspection path according to the first BIM model, the third BIM model and the fourth BIM model includes: Synthesize an overall BIM model according to the first BIM model and the third BIM model; Determining a model similarity between the overall BIM model and the fourth BIM model, the model similarity being determined according to at least two similarities of a first similarity, a second similarity, and a third similarity, wherein the first similarity is used to characterize a similarity of buildings of a preset type, the second similarity is used to characterize a similarity of buildings other than the preset type, and the third similarity is used to characterize an integrated similarity of the similarity of buildings of the preset type and the similarity of buildings other than the preset type; The second inspection path is optimized according to the model similarity and a plurality of preset inspection path optimization strategies.
8. The method for optimizing the automatic UAV inspection path according to claim 6, characterized in that: The automated UAV inspection path optimization method further includes: Obtaining an optimized first inspection path and an optimized second inspection path; Determining the same path points in the optimized first inspection path and the optimized second inspection path; Configuring an identifier corresponding to the same path point in the first BIM model, and configuring an identifier corresponding to the same path point in the third BIM model, wherein the identifier corresponding to the same path point includes: an identifier of a location where the same path point is located, an identifier of a building where the same path point is located, and an identifier of an influencing object within a preset distance range of the same path point; Constructing a target BIM model according to the first BIM model after the configuration mark and the third BIM model after the configuration mark; When the drone performs inspection according to the optimized first inspection path or the optimized second inspection path, the corresponding optimized inspection path is synchronously displayed in the target BIM model.
