A prefabricated beam yard mapping method and system based on image recognition

By using multiple AGV trolleys, depth cameras, and 3D lidar to collect data in the precast beam field, combined with loop detection and global optimization, the problem of environmental variability and data collection accuracy is solved, and the accuracy and accuracy of the precast beam field map are improved. Reliability, achieving timely updates and true reflection of map content.

CN118550929BActive Publication Date: 2024-10-22CHINA TIESIJU CIVIL ENGINEERING GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411010841.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-22
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

The existing technology has problems with insufficient environmental variability processing, insufficient establishment accuracy, and data collection accuracy in the establishment of prefabricated beam field maps, resulting in insufficient reliability and accuracy of predicted beam field maps.

Method used

Using a method based on image recognition, by setting up multiple AGV cars, using depth cameras and 3D lidar to collect data, perform data fusion and registration, combined with loop detection and global optimization, establish and update the prefabricated beam field map, and verify it through comparison Validity and representativeness of collected data, determine collection status and update frequency.

Benefits of technology

It improves the accuracy and robustness of the prefabricated beam field map, ensures the timeliness and authenticity of the map content, enhances the pertinence and rationality of dynamic map creation, and solves the map creation needs of frequent environmental changes and complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550929B_ABST
    Figure CN118550929B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of precast beam yard mapping, and specifically discloses a precast beam yard mapping method and system based on image recognition, the method comprising: setting the mapping path of each AGV car; each AGV car collects front-end sensor data; confirming each focus position, judging the collection status of each focus position, and when the judgment result is abnormal, confirming each abnormal AGV car, and warning each abnormal AGV car, if the judgment result is consistent, calculating the odometer information of each AGV car; performing loop detection on each AGV car; performing global optimization to obtain a global map of the precast beam yard; confirming the map establishment and updating frequency, and continuously updating the global map of the precast beam yard. The present invention effectively solves the problem of insufficient processing of current environmental variability, meets the map establishment requirements of frequent environmental changes and relatively complex scenes, and ensures the accuracy, robustness and timeliness of precast beam yard map construction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of prefabricated beam yard mapping, and relates to a prefabricated beam yard mapping method and system based on image recognition. Background Art

[0002] Precast beam yards are often an important part of a building construction site, used to produce and store precast concrete beams, which play an important role in bearing weight in building structures. As time goes by and construction progresses, the layout and needs of the beam yard may change. Therefore, precast beam yard maps need to be established to ensure that they are consistent with actual operations.

[0003] The prior art, such as a map building method, a map building device and a robot disclosed in the Chinese invention patent application with application publication number CN109959935B, establishes and stores acquisition vectors based on the data obtained by the acoustic sensor after performing ultrasonic obstacle scanning at the current location of the robot using an acoustic sensor, and then determines whether there is an obstacle at the location based on the number of acquisition vectors with different starting points pointing to the same location among all the stored acquisition vectors, and finally establishes an acoustic map based on the determined obstacle location. This can avoid the problem of inaccurate judgment such as multipath effect when judging obstacles only through data measured at the same location, and can improve the accuracy of the established acoustic map.

[0004] Another example of the prior art is a method for establishing a map model, a method for generating a real-time map, and a map system disclosed in a Chinese invention patent application with application publication number CN113160396B, which includes: obtaining an environmental point cloud and lane markings, and generating a line point cloud based on the environmental point cloud, and training the map model based on a neural network using a training set until the model deviation of the map model is less than or equal to a preset deviation, thereby realizing the construction of a dynamic navigation map and improving the accuracy of the dynamic navigation map.

[0005] For the above two technical solutions, there are still the following deficiencies in their application to the establishment of predictive beam site maps: 1. Insufficient handling of environmental variability: Existing technologies mostly rely on fixed environmental characteristics or tend to fixed environmental characteristics, while the beam site environment changes frequently, especially the position of objects and environmental structure may change frequently. The current monitoring data dimension is single, and the specific map update frequency setting is not performed, which makes the establishment of predictive beam site maps insufficiently reliable.

[0006] 2. Insufficient accuracy: The current map construction method cannot accurately display the detailed features of the precast beam yard, and thus cannot guarantee the accuracy and robustness of the precast beam yard map construction.

[0007] 3. Failure to pay attention to the accuracy of data collection: Currently, there is no comparison and verification of the data collected by multiple collection terminals, which makes it impossible to guarantee the validity and representativeness of the data collected by the collection terminals, and it is also impossible to improve the pertinence and rationality of dynamic map establishment and settings. Summary of the invention

[0008] In view of this, in order to solve the problems raised in the above background technology, a method and system for mapping a precast beam yard based on image recognition is proposed.

[0009] The purpose of the present invention can be achieved through the following technical solutions: The first aspect of the present invention provides a prefabricated beam yard mapping method based on image recognition, including: S1, mapping path planning: setting the starting point and end point of the mapping of the target prefabricated beam yard, and each AGV vehicle performs autonomous path planning to generate a mapping path.

[0010] S2, front-end data acquisition: Each AGV uses a depth camera and 3D lidar to collect front-end sensor data along its mapping path, including the recorded position, visual image, point cloud data and depth information at each collection time point.

[0011] S3, collection status judgment processing: confirm each focus position, and judge the collection status of each focus position. When the judgment results of each focus position are consistent, execute step S4. Otherwise, confirm each abnormal AGV car and issue an early warning to each abnormal AGV car.

[0012] S4, data fusion and odometer calculation: the visual image and the lidar point cloud data are registered through a registration algorithm, and the odometer information of each AGV is calculated.

[0013] S5. Loop detection: Perform loop detection on each AGV and record the loop information.

[0014] S6. Global map establishment: Based on the front-end sensor data and loop information of each AGV, global optimization is performed to obtain a global map of the precast beam yard.

[0015] S7, global map update: confirm the map establishment and update frequency, and repeat steps S1 to S6 based on the map establishment path to continuously update the global map of the precast beam yard.

[0016] The second aspect of the present invention provides a precast beam yard mapping system based on image recognition, including: a mapping path planning module, which is used to set the starting point and end point of the mapping of the target precast beam yard, and each AGV performs autonomous path planning to generate a mapping path.

[0017] The front-end data acquisition module is used to collect the front-end sensor data of each AGV vehicle.

[0018] The acquisition judgment processing module is used to judge and process the acquisition status of the AGV based on the front-end sensor data.

[0019] The data fusion calculation module is used to calculate the odometer information of each AGV.

[0020] The acquisition loop detection module is used to perform loop detection on each AGV and record loop information.

[0021] The global map building module is used to perform global optimization based on the front-end sensor data and loop information to obtain a global map of the prefabricated beam yard.

[0022] The global map update module is used to calculate the map establishment and update frequency, and continuously update the global map of the precast beam yard based on the map establishment path.

[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention sets up multiple AGV carts and uses depth cameras and 3D lidars to collect front-end sensor data, and then performs data fusion and registration, and establishes a precast beam yard map based on this, which effectively solves the problem of insufficient processing of current environmental variability, meets the needs of map establishment in environments with frequent environmental changes and complex scenes, and avoids the deficiency of the current monitoring data with a relatively single dimension. At the same time, it also realizes the refined display of the corresponding detailed features of the precast beam yard, thereby ensuring the accuracy and robustness of the precast beam yard map construction.

[0024] (2) The present invention analyzes the recorded positions of the AGVs, identifies the positions of interest, and performs collection status judgment and corresponding processing on the positions of interest, thereby effectively solving the accuracy problem of the current data collection that is not of interest, and realizing the comparison and verification of the corresponding collected data between multiple AGVs, thereby improving the timeliness of the early warning of abnormal AGVs, thereby further improving the effectiveness and representativeness of the corresponding collected data of the AGVs, and also providing data assistance for the subsequent dynamic map establishment and setting, thereby facilitating the improvement of the pertinence and rationality of the subsequent dynamic map establishment and setting.

[0025] (3) The present invention greatly improves the comprehensiveness and accuracy of the collection status judgment by statistically analyzing the collection differences between the associated vehicles in each focus position and setting two dimensions, namely the numerical comparison dimension and the time comparison dimension, to ensure the reference and rationality of the collection status judgment result.

[0026] (4) The present invention conducts an in-depth analysis of the collection differences between the associated vehicles in each focus position, and then determines the map establishment and update frequency, thereby avoiding the shortcomings of the current fixed update frequency, and further improving the accuracy and reliability of the predicted beam site map establishment. At the same time, it also improves the timeliness of the predicted beam site map establishment, thereby ensuring the timeliness and authenticity of the map content, and providing a strong guarantee for the execution of complex tasks. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] Figure 1 The present invention is a schematic flow chart of the steps for implementing the method.

[0029] Figure 2 It is a schematic diagram of the connection of each module of the system of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] See also Figure 1 As shown, the present invention provides a precast beam yard mapping method based on image recognition, including: S1, mapping path planning: setting the starting point and end point of the mapping of the target precast beam yard, and each AGV vehicle performs autonomous path planning to generate a mapping path.

[0032] It should be added that autonomous path planning can be planned through a path planning algorithm, such as the Dijkstra algorithm, the A* algorithm, and the PRM algorithm, among which the path planning algorithm is a relatively mature algorithm, and its specific implementation process will not be described again.

[0033] S2, front-end data acquisition: Each AGV uses a depth camera and 3D lidar to collect front-end sensor data along its mapping path, including the recorded position, visual image, point cloud data and depth information at each collection time point.

[0034] It should be added that depth information refers to the distance of each point calculated by the 3D laser radar based on the time difference between the emission and reception of the laser beam. The laser radar point cloud data usually contains attribute information such as the spatial position information and reflection intensity of each point.

[0035] S3, collection status judgment processing: confirm each focus position, and judge the collection status of each focus position. When the judgment results of each focus position are consistent, execute step S4. Otherwise, confirm each abnormal AGV car and issue an early warning to each abnormal AGV car.

[0036] The embodiment of the present invention analyzes the recorded position of the AGV car, confirms each focus position, and performs collection status judgment and corresponding processing on each focus position, thereby effectively solving the accuracy problem of the current data collection that is not focused on, and realizes the comparison and verification of the corresponding collected data between multiple AGV cars, thereby improving the timeliness of early warning of abnormal AGV cars, thereby further improving the effectiveness and representativeness of the corresponding collected data of the AGV car, and also provides data assistance for the subsequent dynamic map establishment and setting, thereby facilitating the improvement of the pertinence and rationality of the subsequent dynamic map establishment and setting.

[0037] S4, data fusion and odometer calculation: the visual image and the lidar point cloud data are registered through a registration algorithm, and the odometer information of each AGV is calculated.

[0038] S5. Loop detection: Perform loop detection on each AGV and record the loop information.

[0039] S6. Global map establishment: Based on the front-end sensor data and loop information of each AGV, global optimization is performed to obtain a global map of the precast beam yard.

[0040] The embodiment of the present invention sets up multiple AGV carts and uses depth cameras and 3D lidars to collect front-end sensor data, and then performs data fusion and registration, and establishes a precast beam yard map based on this, which effectively solves the problem of insufficient processing of current environmental variability, meets the needs of map establishment in environments with frequent environmental changes and relatively complex scenes, and avoids the deficiency of the current monitoring data with a relatively single dimension. At the same time, it also realizes the refined display of the corresponding detailed features of the precast beam yard, thereby ensuring the accuracy and robustness of the precast beam yard map construction.

[0041] S7, global map update: confirm the map establishment and update frequency, and repeat steps S1 to S6 based on the map establishment path to continuously update the global map of the precast beam yard.

[0042] Furthermore, the confirmation of each focus position in the step S3 includes: constructing a position sequence based on the recorded positions at each acquisition time point, and comparing the position sequences of each AGV vehicle.

[0043] If an AGV corresponds to the same recording position as another AGV, the collection time points of the two AGVs are marked, and the two AGVs are associated with the recording position, and the recording position is used as the focus position to obtain each focus position.

[0044] Furthermore, in the step S3, the collection status of each concerned position is judged, including: B1, each AGV car with an associated mark corresponding to each concerned position is used as each associated car.

[0045] B2. Compare the visual images and point cloud data of each associated car at the same focus position, and count the acquisition differences between each associated car in each focus position.

[0046] B3. If the collection difference between a certain associated car and other associated cars is less than the set collection difference , and regard other associated cars as similar cars to this associated car.

[0047] It should be added that the collection difference is set Obtained by extracting from the collection and assessment specification table.

[0048] B4. Count the number of associated cars in each focus position and the number of similar cars to each associated car, and record the ratio of the number of similar cars to the number of associated cars as the similarity ratio.

[0049] B5. Set the reference correlation similarity ratio within each focus position.

[0050] It should be added that the setting formula of the reference association similarity ratio is: reference association similarity ratio = (number of associated vehicles - 1) / number of associated vehicles.

[0051] B6. Filter out the maximum similarity ratio from the similarity ratios of the associated vehicles in each focus position and compare it with the reference similarity ratio.

[0052] B7. If the comparison result of a certain focus position is equal, it is determined that the acquisition status of the focus position is consistent.

[0053] B8. If the comparison result of a certain focus position is less than, the focus position is used as a secondary judgment position, and is judged again, and the judgment result is output, and the judgment result is one of a match and an exception.

[0054] Understandably, in step B2, the collection differences between the associated cars in each focus position are counted, including: H1, any associated car is selected from the associated cars in each focus position as the benchmark car, and the other associated cars are used as reference cars.

[0055] H2. Preprocess the visual images and point cloud data of the benchmark vehicle and each reference vehicle respectively.

[0056] In a specific embodiment, the preprocessing of the visual images of the benchmark vehicle and each reference vehicle refers to standardizing the visual images, for example, such as resizing, color space conversion, camera labeling and dedistortion, etc. The preprocessing of the point cloud data of the benchmark vehicle and each reference vehicle refers to filtering and downsampling the point cloud data to reduce noise and computational complexity.

[0057] H3. Extract the features of the preprocessed visual images and point cloud data corresponding to the benchmark vehicle and each reference vehicle, and calculate the visual image difference and point cloud data difference between the benchmark vehicle and each reference vehicle respectively.

[0058] It should be added that the features of visual images include color histograms, texture features, key points and descriptors, and the features of point cloud data include geometric features, surface normals and local descriptors, such as FPFH and other features. In a specific embodiment, the color histogram is obtained by statistically analyzing the color distribution of the visual image, the texture features can be extracted by using filters such as Gabor filters or gray-level co-occurrence matrices GLCM, and the key points and descriptors are extracted by using algorithms such as SIFT, SURF or ORB, among which the features of point cloud data are extracted by PCL tools. Since the extraction methods of the features of visual images and the features of point cloud data are existing methods, the specific extraction process of the features will not be repeated here.

[0059] It should be added that the specific calculation process of calculating the visual image difference between the benchmark vehicle and each reference vehicle includes: using a similarity measurement algorithm to sequentially count the color histogram difference and texture feature difference corresponding to the benchmark vehicle and each reference vehicle, and using an image matching algorithm to count the key point descriptor difference between the benchmark vehicle and each reference vehicle.

[0060] The weights of color histogram, texture features and key point descriptors are set, and the visual image difference between the benchmark vehicle and each reference vehicle is calculated by weighted summation.

[0061] In a specific embodiment, the similarity measurement algorithm includes multiple algorithms such as chi-square distance, Bhattacharyya distance, Euclidean distance and cosine similarity, among which the chi-square distance or Bhattacharyya distance can be used as a calculation algorithm for the difference of color histograms, and the Euclidean distance or cosine similarity can be used as a calculation algorithm for the difference of texture features. The matching algorithm includes multiple algorithms such as FLANN matcher, SIFT algorithm, ORB algorithm and SURF algorithm. Specifically, the FLANN matcher can be selected to count the differences in key point descriptors between the benchmark vehicle and each reference vehicle.

[0062] In another specific embodiment, the color histogram can well capture the color distribution characteristics of the image, which has a great influence on the establishment of the map. Therefore, the weight of the color histogram is set to be the largest, the texture feature describes the subtle texture changes of the image, and the weight of the texture feature is set to be smaller than the weight of the color histogram. The key and descriptors capture local features by detecting key points and generating descriptors, which are similar to the texture features and describe detail features. Exemplarily, the weights of the color histogram, texture features, and key point descriptors can be 0.4, 0.3, and 0.3, respectively.

[0063] It should also be added that the specific supplementary calculation process for calculating the difference in point cloud data between the benchmark vehicle and each reference vehicle is as follows: 1) The rotation and translation parameters are gradually optimized through the point cloud registration algorithm so that the point cloud data of the benchmark vehicle coincides with the point cloud data of the reference vehicle.

[0064] 2) At each iteration, the transformation matrix is ​​adjusted according to the similarity measurement algorithm until the convergence condition is reached. The rotation and translation parameters that achieve the convergence condition are used as the target rotation and target translation parameters. According to the target rotation and target translation parameters, the point cloud data of each reference vehicle is converted to the coordinate system of the benchmark vehicle.

[0065] 3) Based on the final transformation result obtained from the above registration and optimization process, the difference between the point cloud data of the benchmark vehicle and each reference vehicle is calculated through a similarity measurement algorithm.

[0066] In a specific embodiment, the registration algorithm includes multiple algorithms such as ICP algorithm and NDT algorithm, and the ICP algorithm can be used specifically, wherein the rotation can be represented by a rotation matrix or a quaternion, wherein the rotation and translation parameters correspond to the rotation amount and the translation amount respectively. When the difference between the reference vehicle and each reference vehicle point cloud data is calculated by a similarity measurement algorithm, the Euclidean distance can be used specifically for calculation.

[0067] H4. Filter out the maximum value from the visual image difference and the point cloud data difference as the acquisition difference between the benchmark vehicle and each reference vehicle.

[0068] H5. Set each reference vehicle as the benchmark vehicle in turn, repeat steps H3 and H4, and obtain the collection difference between each associated vehicle in each focus position.

[0069] Understandably, a second judgment is performed in step B8, including: B81, extracting the mark collection time points of each associated car within the secondary judgment position, if the mark collection time points of an associated car and another associated car are within the preset time window, the other associated car is regarded as an adjacent car of the associated car.

[0070] It should be added that the preset time window is a specified data collection interval, which is obtained by setting according to the concurrent collection determination rule. For example, the preset time window is 5 minutes.

[0071] B82. If there is no adjacent vehicle for each associated vehicle, the match is taken as the judgment result. If there is an adjacent vehicle for an associated vehicle, the associated vehicle is recorded as the target vehicle.

[0072] B83. The acquisition difference between each target vehicle and its neighboring vehicles is recorded as , Indicates the target vehicle number, .

[0073] B84, if , the abnormality is taken as the judgment result, otherwise the coincidence is taken as the judgment result.

[0074] The embodiment of the present invention greatly improves the comprehensiveness and accuracy of the collection status judgment by counting the collection differences between the associated vehicles in each focus position, and sets the two dimensions of numerical comparison dimension and time comparison dimension for judgment, thereby ensuring the reference and rationality of the results of the collection status judgment.

[0075] Furthermore, confirming each abnormal AGV in the step S3 includes: taking each focus position with a judgment result of being abnormal as each analysis position.

[0076] For the same analysis position, the mark collection time points of each associated vehicle are compared, and the associated vehicles whose mark collection time points are within the preset time window are combined into an associated group.

[0077] In each associated group, calculate the collection difference between each associated car and The difference is recorded as the acquisition difference.

[0078] For the same association group, if the collection difference between a certain associated vehicle and other associated vehicles is greater than or equal to 0, the associated vehicle is recorded as an abnormal AGV vehicle.

[0079] If the difference in the collected data between a certain associated car and another associated car is greater than or equal to 0, the other associated car is recorded as a reference car. If there is an associated car whose difference in the collected data between the associated car and the reference car is less than 0, the associated car is recorded as an abnormal AGV car, so as to obtain the abnormal AGV cars.

[0080] Furthermore, in the step S4, the visual image and the lidar point cloud data are registered by a registration algorithm, specifically by an ICP algorithm.

[0081] In one embodiment, the registration algorithm may iteratively optimize the rotation and translation until the point cloud data is optimally aligned to the perspective of the visual image.

[0082] Furthermore, the odometer information of each AGV is calculated in step S4, including: E1, extracting feature points and descriptors as well as feature point positions from the visual image.

[0083] E2. Project the depth information of the same AGV corresponding to the same acquisition time point to the corresponding feature point position in the visual image to generate a sparse depth map.

[0084] E3. Based on the sparse depth map, the translation and rotation of each AGV corresponding to each acquisition time point are calculated and accumulated to obtain the overall motion trajectory of each AGV relative to the starting point, and then the overall motion trajectory and the translation and rotation at each acquisition time point are used as the odometer information of each AGV.

[0085] It should be added that the methods for calculating the translation and rotation include methods based on optical flow, methods based on feature point matching, such as methods based on RANSAC and SLAM methods, wherein the translation can be calculated by accumulating the translation distances of the sparse depth maps corresponding to adjacent acquisition time points. The rotation can be calculated by accumulating the rotation angles between the sparse depth maps corresponding to adjacent acquisition time points, or by using quaternions to represent the rotation and accumulating them.

[0086] Furthermore, in the step S5, loop detection is performed on each AGV and loop information is recorded, including: S51, extracting the translation and rotation at each acquisition time point from the odometer information, combining the translation and rotation, and constructing posture features.

[0087] S52, the posture features of each acquisition time point are combined into a posture feature sequence, and the posture feature sequence of each AGV is independently detected by a loop detection algorithm.

[0088] S53: If a loop is detected by an AGV at a certain collection time point, the collection time point, the recorded position and posture features of the AGV at the collection time point are used as loop information.

[0089] S54: If no loop is detected at any collection time point of a certain AGV, no loop is taken as loop information.

[0090] It should be added that loop detection refers to identifying visited locations in the path of the mobile robot. By identifying loops, the AGV can correct previous pose estimates, thereby improving positioning accuracy and improving the consistency and accuracy of the constructed map. Loop detection algorithms can usually adopt sliding window-based methods or feature matching-based methods, or they can be based on graph optimization algorithms, such as factor graph-based optimization, or sub-map matching-based algorithms, such as NDT matching.

[0091] Furthermore, the specific execution process of performing global optimization in step S6 to obtain the global map of the precast beam yard is as follows: based on the front-end sensor data of each AGV, a map corresponding to the mapping path of each AGV is constructed as the preliminary constructed map of each AGV.

[0092] Based on the loop information of each AGV, the preliminary constructed map of each AGV is closed-loop optimized.

[0093] After closed-loop optimization of the local maps of each AGV, a global map is generated through alignment and fusion to obtain the global map of the precast beam yard.

[0094] In a specific embodiment, the closed-loop optimization is optimized by a graph optimization algorithm, wherein the graph optimization algorithm includes the G2O algorithm, the CeresSolver algorithm, the iSAM algorithm, etc., and the alignment can be specifically performed by the ICP algorithm. The specific implementation means of the closed-loop optimization, map alignment and fusion are relatively mature existing means, and the specific alignment process and fusion process are not described in detail here.

[0095] Furthermore, the map establishment update frequency is confirmed in the step S7, including: S71, sorting the associated vehicles in each focus position in chronological order according to the mark collection time points, recording the associated vehicle ranked first as a Class I vehicle, and the associated vehicles ranked in other positions as analysis vehicles.

[0096] S72. Using time as the horizontal coordinate and the acquisition difference between the Class I vehicle and each analysis vehicle as the horizontal coordinate, construct an acquisition difference curve for each focus position, and extract the slope of the curve as the acquisition change rate.

[0097] S73: If the acquisition change rate of a certain focus position is greater than the set acquisition change rate , record the focus position as a frequently changing position, and count the number of frequently changing positions , and calculate the mean value of the acquisition change rate of each frequently changing position, and record the calculation result as .

[0098] S74, traverse the collection differences between the associated vehicles in each focus position, extract the maximum collection difference in each focus position, and calculate the mean, and record the calculation result as .

[0099] S75. Count the number of focus positions, recorded as , statistical location feature collection change , , To set the frequently changing position ratio of the reference, is a natural constant, , and are the weights of the frequently changing position ratio, acquisition change rate and acquisition difference, respectively. The floor symbol.

[0100] It should be added that The specific value of is obtained by extracting from the collection and evaluation specification table. For example, Can be set to a constant slightly greater than 0, such as The value can be 0.5 or 1.

[0101] It is also necessary to add that The ratio between the number of frequently changing positions and the number of concerned positions is recorded as the frequently changing position ratio, and the frequently changing position ratio of the reference is set as The specific value of is set according to the number of collection positions of interest. For example, when the number of collection positions of interest is 10, the number of reference frequently changing positions can be set to 2, that is, 0.5 can be used as The specific value of .

[0102] In a specific embodiment, in the calculation of the position feature acquisition change degree, the weight distribution of the three indicators of the frequently changing position ratio, the acquisition change rate and the acquisition difference will affect the final change value. The frequently changing position ratio reflects the proportion of the number of acquisition positions with a higher frequency of position change from the overall level, that is, it reflects the overall change situation, and the impact is the most intuitive. The acquisition change rate reflects the change law and degree of the acquisition difference between different associated vehicles at different acquisition positions, and the acquisition difference reflects the specific degree of difference. Therefore, the weight of the frequently changing position ratio is set to be > the weight of the acquisition change rate > the weight of the acquisition difference. For example, , and The possible values ​​are 0.45, 0.35 and 0.2 respectively.

[0103] In another specific embodiment, the position feature acquisition change degree is obtained by changing according to an exponential regression function, wherein the exponential regression function is selected to avoid the calculation interference caused by the positive and negative value problem, and by rounding down, the change is more intuitive to express the feature acquisition change situation, that is, when and The ratio is less than , Less than as well as Less than At this time, the position feature acquisition change degree is 0.

[0104] S76, will The map update frequency is matched and compared with the reference position feature collection change degree of each set map update frequency, and the matched map update frequency is used as the map establishment update frequency.

[0105] It should be added that the interval of the location feature collection change degree corresponding to each map update frequency can be obtained by extracting the frequently changed position ratio, reference collection change rate and reference collection difference corresponding to each map update frequency from the map establishment specification table, and then calculating the collection change degree of the location feature collection according to the location feature collection change degree. The calculation method of is similar to that of , and the location feature collection change degree corresponding to each map update frequency is calculated as the reference location feature collection change degree of each map update frequency.

[0106] The embodiment of the present invention conducts an in-depth analysis of the collection differences between each associated vehicle in each focus position, and then confirms the map establishment and update frequency, thereby avoiding the shortcomings of the current fixed update frequency, and further improving the accuracy and reliability of the predicted beam site map establishment. At the same time, it also improves the timeliness of the predicted beam site map establishment, thereby ensuring the timeliness and authenticity of the map content, and providing a strong guarantee for the execution of complex tasks.

[0107] See also Figure 2 As shown, the present invention also provides a precast beam yard mapping system based on image recognition, including: a mapping path planning module, a front-end data acquisition module, an acquisition judgment processing module, a data fusion calculation module, an acquisition loop detection module, a global map establishment module and a global map update module.

[0108] In the above, the mapping path planning module is respectively connected to the front-end data acquisition module and the global map update module, the front-end data acquisition module is also respectively connected to the collection judgment processing module, the data fusion calculation module, the collection loop detection module and the global map establishment module, the data fusion calculation module is respectively connected to the collection judgment processing module and the collection loop detection module, the global map establishment module is respectively connected to the collection loop detection module and the global map update module, and the global map update module is also connected to the collection judgment processing module.

[0109] The mapping path planning module is used to set the starting point and the end point of the mapping of the target precast beam yard. Each AGV performs autonomous path planning to generate a mapping path.

[0110] The front-end data acquisition module is used to collect the front-end sensor data of each AGV, including the recorded position, visual image, point cloud data and depth information at each collection time point.

[0111] The acquisition judgment processing module is used to confirm each focus position based on the front-end sensor data, and perform acquisition status judgment and processing on each focus position.

[0112] Specifically, the processing refers to confirming each abnormal AGV car when there is a focus position whose judgment result is abnormal, and issuing an early warning to each abnormal AGV car.

[0113] The data fusion calculation module is used to calculate the odometer information of each AGV.

[0114] The acquisition loop detection module is used to perform loop detection on each AGV and record loop information.

[0115] The global map building module is used to perform global optimization based on the front-end sensor data and loop information to obtain a global map of the precast beam yard.

[0116] The global map updating module is used to calculate the map establishment and updating frequency, and continuously update the global map of the precast beam yard based on the map building path.

[0117] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.

Claims

1. A method for mapping a precast beam yard based on image recognition, characterized in that: include: S1. Mapping path planning: Set the starting point and end point of the mapping of the target precast beam yard, and each AGV performs autonomous path planning to generate a mapping path; S2, front-end data acquisition: Each AGV uses a depth camera and 3D lidar to collect front-end sensor data along its mapping path, including the recorded position, visual image, point cloud data and depth information at each acquisition time point; S3, collection status judgment processing: confirm each concerned position, and judge the collection status of each concerned position. When the judgment results of each concerned position are consistent, execute step S4. Otherwise, confirm each abnormal AGV car and issue an early warning for each abnormal AGV car. S4, data fusion and odometer calculation: the visual image and the lidar point cloud data are registered through a registration algorithm, and the odometer information of each AGV is calculated; S5, loop detection: perform loop detection on each AGV and record loop information; S6, global map establishment: perform global optimization based on the front-end sensor data and loop information of each AGV to obtain a global map of the precast beam yard; S7, global map update: confirm the map establishment and update frequency, and repeat steps S1 to S6 based on the map establishment path to continuously update the global map of the precast beam yard; The confirming of each concerned position includes: Based on the recorded positions at each acquisition time point, a position sequence is constructed and the position sequences of each AGV are compared. If a certain AGV corresponds to the same recording position as another AGV, the collection time points of the two AGVs are marked, and the two AGVs are associated with the recording position, and the recording position is used as the focus position, so as to obtain each focus position; The step of determining the collection status of each concerned position includes: The AGVs corresponding to the associated marks at the respective focus positions are taken as associated vehicles; Compare the visual images and point cloud data of each associated car at the same focus position, and count the acquisition differences between each associated car in each focus position; If the collection difference between a certain associated car and other associated cars is less than the set collection difference , take other associated cars as similar cars to the associated car; Count the number of associated cars in each focus position and the number of similar cars to each associated car, and record the ratio of the number of similar cars to the number of associated cars as the similarity ratio; Setting the reference association similarity ratio within each focus position; The maximum similarity ratio is selected from the similarity ratios of the associated vehicles in each focus position, and compared with the reference associated similarity ratio; If the comparison result of a certain focus position is equal, the acquisition status of the focus position is determined to be consistent; If the comparison result of a certain focus position is less than, the focus position is used as a secondary judgment position, and a judgment is performed again, and a judgment result is output, and the judgment result is one of a coincidence and an abnormality; The statistical collection difference between each associated vehicle in each focus position includes: H1. Randomly select one associated car from the associated cars in each focus position as the benchmark car, and use the other associated cars as reference cars; H2, preprocessing the visual images and point cloud data of the benchmark vehicle and each reference vehicle respectively; H3, extract the features of the pre-processed visual images and point cloud data corresponding to the benchmark vehicle and each reference vehicle, and calculate the visual image difference and point cloud data difference between the benchmark vehicle and each reference vehicle respectively; H4, selecting the maximum value from the visual image difference and the point cloud data difference as the acquisition difference between the benchmark vehicle and each reference vehicle; H5, set each reference vehicle as the benchmark vehicle in turn, repeat steps H3 and H4, and obtain the collection difference between each associated vehicle in each focus position; The re-judgment includes: Extract the mark collection time points of each associated car in the secondary judgment position. If the mark collection time points of a certain associated car and another associated car are within the preset time window, the other associated car is regarded as the adjacent car of the associated car. If there is no adjacent car for each associated car, the match is taken as the judgment result. If there is an adjacent car for an associated car, the associated car is recorded as the target car. The acquisition difference between each target vehicle and its neighboring vehicles is recorded as , Indicates the target vehicle number, ; like , the abnormality is taken as the judgment result, otherwise the coincidence is taken as the judgment result; The confirming map establishment update frequency includes: Sort the associated cars in each focus position according to the time point of the mark collection, record the associated car with the first position as a Class I car, and the associated cars in other positions as analysis cars; With time as the horizontal axis and the acquisition difference between the Class I vehicle and each analysis vehicle as the horizontal axis, an acquisition difference curve of each focus position is constructed, and the slope of the curve is extracted as the acquisition change rate; If the acquisition change rate of a certain location of interest is greater than the set acquisition change rate , record the focus position as a frequently changing position, and count the number of frequently changing positions , and calculate the mean value of the acquisition change rate of each frequently changing position, and record the calculation result as ; Traverse the collection differences between the associated vehicles in each focus position, extract the maximum collection difference in each focus position, and calculate the mean. The calculation result is recorded as ; Count the number of attention positions, denoted as , statistical location feature collection change , , To set the frequently changing position ratio of the reference, is a natural constant, , and are the weights of the frequently changing position ratio, acquisition change rate and acquisition difference, respectively. is the floor rounding symbol; Will The map update frequency is matched and compared with the reference position feature collection change degree of each set map update frequency, and the matched map update frequency is used as the map establishment update frequency.

2. The method for mapping a precast beam yard based on image recognition according to claim 1, characterized in that: The confirmation of each abnormal AGV includes: The respective focus positions for which the judgment result is abnormal are used as respective analysis positions; For the same analysis position, the mark collection time points of each associated vehicle are compared, and the associated vehicles whose mark collection time points are within the preset time window are combined into an associated group; In each associated group, calculate the collection difference between each associated car and The difference is recorded as the acquisition difference; For the same association group, if the collection difference between a certain associated car and other associated cars is greater than or equal to 0, the associated car is recorded as an abnormal AGV car; If the difference in the collected data between a certain associated car and another associated car is greater than or equal to 0, the other associated car is recorded as a reference car. If there is an associated car whose difference in the collected data between the associated car and the reference car is less than 0, the associated car is recorded as an abnormal AGV car, so as to obtain the abnormal AGV cars.

3. The method for mapping a precast beam yard based on image recognition according to claim 1, characterized in that: The calculation of the odometer information of each AGV includes: Extracting feature points and descriptors and feature point locations from the visual image; Projecting the depth information of the same AGV corresponding to the same acquisition time point to the corresponding feature point position in the visual image to generate a sparse depth map; Based on the sparse depth map, the translation and rotation of each AGV corresponding to each acquisition time point are calculated and accumulated to obtain the overall motion trajectory of each AGV relative to the starting point, and then the overall motion trajectory and the translation and rotation at each acquisition time point are used as the odometer information of each AGV.

4. The method for mapping a precast beam yard based on image recognition according to claim 3 is characterized in that: The loop detection of each AGV and recording of loop information include: Extracting the translation and rotation at each acquisition time point from the odometer information, combining the translation and rotation to construct a posture feature; The posture features of each collected time point are combined into a posture feature sequence, and the posture feature sequence of each AGV is independently detected through the loop detection algorithm; If a certain AGV detects a loop at a certain collection time point, the collection time point, the recorded position and posture features of the AGV at the collection time point are used as loop information; If no loop is detected at each collection time point of an AGV, no loop is taken as loop information.

5. A precast beam yard mapping system based on image recognition, used to execute the steps in the method according to claim 1, characterized in that: include: The mapping path planning module is used to set the starting and ending points of the mapping of the target precast beam yard. Each AGV performs autonomous path planning to generate a mapping path. The front-end data acquisition module is used to collect the front-end sensor data of each AGV vehicle; A collection judgment processing module, used to confirm each focus position based on the front-end sensor data, and to judge and process the collection status of each focus position; Data fusion calculation module, used to calculate the odometer information of each AGV; The acquisition loop detection module is used to perform loop detection on each AGV and record loop information; A global map building module is used to perform global optimization based on the front-end sensor data and loop information to obtain a global map of the precast beam yard; The global map update module is used to calculate the map establishment and update frequency, and continuously update the global map of the precast beam yard based on the map establishment path.