Overhead crane three-dimensional obstacle detection method and system for brewing environment

By using dual three-dimensional lidar point cloud fusion and an improved radial bounded nearest neighbor clustering algorithm in the brewing environment, real-time and accurate detection of three-dimensional obstacles in the brewing environment is achieved, solving the problem of low overhead crane automation control. Improved work efficiency and safety.

CN114966742BActive Publication Date: 2024-09-17SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210535181.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-17
Publication Date
2024-09-17
Estimated Expiration
2042-05-17

AI Technical Summary

Technical Problem

The low level of overhead crane automation control in the brewing industry results in low overhead crane operation efficiency and potential safety hazards. Traditional obstacle detection methods have problems of over-segmentation, under-segmentation, and are not suitable for dual lidar scenarios.

Method used

A three-dimensional obstacle detection method for the brewing environment is adopted, and the point cloud data of dual three-dimensional lidar is obtained for fusion and preprocessing, and a radial bounded nearest neighbor clustering algorithm based on partitioned multi-segment dynamic thresholds is proposed to realize the detection of three-dimensional obstacles. Accurate detection in real time.

Benefits of technology

It constructs a wide range of perception fields, solves the problems of over-segmentation, under-segmentation and inapplicability of dual lidar scenarios in traditional methods, achieves real-time and accurate detection of three-dimensional obstacles in the brewing environment, and improves the operating efficiency and safety of the overhead crane. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114966742B
    Figure CN114966742B
Patent Text Reader

Abstract

The present invention provides a three-dimensional obstacle detection method for an overhead crane in a brewing environment. While adapting to the overhead crane of a brewery, a large-range perception field of view is constructed, dual laser radar point cloud data are fused and preprocessed, and a radial bounded nearest neighbor clustering algorithm based on partitioned multi-segment dynamic threshold is proposed for three-dimensional obstacle detection in a brewing environment. The problem of over-segmentation, under-segmentation and unsuitability for dual laser radar scenarios existing in traditional methods is solved, and finally real-time detection of three-dimensional obstacles in a brewing environment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of obstacle detection, and in particular to a method and system for detecting three-dimensional obstacles of an overhead travelling crane in a brewing environment. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] The important role of overhead cranes in the industrial production process is becoming increasingly prominent. Overhead cranes are special transportation equipment used to move materials from the starting position to the target position. They free workers from the heavy labor of handling and loading and unloading, and promote the development of the industrial economy.

[0004] However, at present, overhead cranes in the brewing industry are usually controlled by manual remote control, with a low level of automation, and the brewing environment is relatively complex. There are a large number of production equipment in the factory, and the workers' working environment overlaps with the overhead crane operating environment. Workers need to always observe the surrounding environment when operating the overhead crane to avoid collisions between the overhead crane and production equipment or workers when lifting goods. The entire process relies entirely on the workers' experience, which leads to low efficiency of overhead crane operations and safety hazards. Summary of the invention

[0005] In order to address the shortcomings of the prior art, the present invention provides a three-dimensional obstacle detection method and system for an overhead crane in a brewing environment, which constructs a large-range perception field of view while adapting to the overhead crane of the brewery, fuses and preprocesses the dual laser radar point cloud data, and innovatively proposes a radial bounded nearest neighbor clustering algorithm based on partitioned multi-segment dynamic thresholds for three-dimensional obstacle detection in a brewing environment, which solves the problems of over-segmentation, under-segmentation and unsuitability for dual laser radar scenarios in traditional methods, and realizes real-time and accurate detection of three-dimensional obstacles in the brewing environment.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A first aspect of the present invention provides a method for detecting three-dimensional obstacles of an overhead crane in a brewing environment.

[0008] A three-dimensional obstacle detection method for an overhead crane in a brewing environment includes the following processes:

[0009] Acquire point cloud data of a first three-dimensional laser radar and a second three-dimensional laser radar arranged on a sensor bracket;

[0010] Performing point cloud fusion on point cloud data of two three-dimensional laser radars, wherein the point cloud fusion includes point cloud time synchronization and point cloud stitching;

[0011] Preprocess the fused point cloud data;

[0012] For the preprocessed point cloud data, three-dimensional obstacle detection is performed based on the improved radial bounded nearest neighbor clustering algorithm;

[0013] In the improved radial bounded nearest neighbor clustering algorithm, the origin of the coordinate system of a certain laser radar is taken as the center of the circle, and concentric circles are drawn in the XOY plane. The X axis is the axis perpendicular to the ground, and circles are drawn at each preset distance to divide the XOY plane into different segments, where D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. The maximum gap corresponding to the maximum concentric circle radius of the segment is used as the threshold radius of the radial bounded nearest neighbor clustering of the segment.

[0014] As an optional implementation method, two three-dimensional laser radars are arranged at the diagonal vertices of the sensor bracket. Both three-dimensional laser radars are installed horizontally. The laser beam scans 360 degrees in the vertical direction. The sensor bracket is fixed on the trolley of the overhead crane and extends to the bottom of the overhead crane trolley body. The width of the sensor bracket is smaller than the width of the overhead crane trolley, and the length of the sensor bracket is smaller than the width of the overhead crane trolley body.

[0015] As an optional implementation, the point cloud of the first three-dimensional laser radar is P1, the point cloud of the second three-dimensional laser radar is P2, and the fused point cloud data P u =P1+P′2, where P′2=RP2+t, R is the rotation matrix, and t is the translation vector.

[0016] As an optional implementation method, the fused point cloud data is preprocessed, including:

[0017] Extract the region of interest and downsample the point cloud, filter outliers by radius filtering, and filter out ground points by setting a height threshold.

[0018] As an optional implementation method, in the improved radial bounded nearest neighbor clustering algorithm, a partition function is defined:

[0019] divZone1(x,y,z)=0.072x 2 +0.072y 2 -z 2

[0020] divZone2(x,y,z)=0.072x 2 +0.072(y+2.6) 2 -(z+1.5) 2

[0021] For any point p in the valid point cloud i (x i ,yi ,z i ), if divZone1(x i ,y i ,z i )≥0, the point belongs to the primary partition or the public partition, according to d i Partition; if divZone1(x i ,y i ,z i )<0 and divZone2(x i ,y i ,z i )≥0, the point belongs to the extended partition, according to d′ i Partition, where d i For point p i (x i ,y i ,z i ) and the projection distance of the first 3D laser radar on the XOY plane, d′ i For point p i (x i ,y i ,z i ) and the projection distance of the second 3D laser radar in the XOY plane.

[0022] As an optional implementation method, each segmented point cloud is processed by a radial bounded nearest neighbor clustering algorithm to obtain a point cloud cluster set, and the maximum and minimum coordinates of each point cloud cluster in the point cloud cluster set on the XYZ axis are calculated to determine the coordinates of the eight vertices of the corresponding rectangular bounding box, and then determine the rectangular bounding box of the obstacle represented by the point cloud cluster;

[0023] The point cloud clusters in different segments are aggregated in the X-axis direction, where the X-axis is the axis perpendicular to the ground. If the projections of two 3D obstacles on the YOZ plane intersect, the point cloud clusters corresponding to the two obstacles are merged into one and regarded as the same obstacle.

[0024] As an optional implementation, the threshold radius is the maximum inherent gap of the point cloud data collected by the three-dimensional laser radar within the segment.

[0025] A second aspect of the present invention provides a three-dimensional obstacle detection system for an overhead crane in a brewing environment.

[0026] A three-dimensional obstacle detection system for overhead cranes in brewing environments, comprising:

[0027] A data acquisition module is configured to: acquire point cloud data of a first three-dimensional laser radar and a second three-dimensional laser radar arranged on a sensor bracket;

[0028] A point cloud fusion module is configured to: perform point cloud fusion on point cloud data of two three-dimensional laser radars, wherein the point cloud fusion includes point cloud time synchronization and point cloud stitching;

[0029] The point cloud preprocessing module is configured to: preprocess the fused point cloud data;

[0030] The obstacle detection module is configured to: perform three-dimensional obstacle detection on the preprocessed point cloud data according to an improved radial bounded nearest neighbor clustering algorithm;

[0031] In the improved radial bounded nearest neighbor clustering algorithm, the origin of the coordinate system of a certain laser radar is taken as the center, and concentric circles are drawn on the XOY plane. Each circle is drawn at a preset distance, and the XOY plane is divided into different segments, where D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. The maximum gap corresponding to the maximum concentric circle radius of the segment is used as the threshold radius of the radial bounded nearest neighbor clustering of the segment.

[0032] A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the method for detecting three-dimensional obstacles of an overhead crane in a brewing environment as described in the first aspect of the present invention.

[0033] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for detecting three-dimensional obstacles of an overhead crane for a brewing environment as described in the first aspect of the present invention are implemented.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] The three-dimensional obstacle detection method and system for overhead cranes in brewing environments described in the present invention adapt to the overhead cranes of breweries while building a large-range perception field of view, fuse and preprocess the dual laser radar point cloud data, and innovatively propose a radial bounded nearest neighbor clustering algorithm based on partitioned multi-segment dynamic thresholds for three-dimensional obstacle detection in brewing environments. It solves the problems of over-segmentation, under-segmentation and unsuitability for dual laser radar scenarios in traditional methods, and realizes real-time and accurate detection of three-dimensional obstacles in brewing environments.

[0036] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0038] Figure 1 A top view of the sensor bracket provided in Example 1 of the present invention.

[0039] Figure 2 This is a schematic diagram of the installation of the sensor bracket provided in Example 1 of the present invention.

[0040] Figure 3 This is a gap calculation auxiliary diagram provided in Example 1 of the present invention.

[0041] Figure 4 This is a schematic diagram of the segmented threshold design provided in Example 1 of the present invention.

[0042] Figure 5 A three-dimensional diagram of the dual laser radar boundary cone surface provided in Example 1 of the present invention.

[0043] Figure 6 This is a schematic diagram of the experimental scene arrangement provided in Example 1 of the present invention.

[0044] Figure 7 This is a comparison chart of the point cloud detection results of the 102nd frame of the single obstacle scene provided in Example 1 of the present invention.

[0045] Figure 8 This is a comparison chart of the point cloud detection results of the 26th frame of the multi-obstacle scene provided in Example 1 of the present invention.

[0046] Fig. 9 This is a physical picture of the overhead crane provided in Example 1 of the present invention.

[0047] Fig.10 This is the result of material box obstacle detection in a real brewing environment provided by Example 1 of the present invention.

[0048] Among them, 1-sensor bracket, 2-overhead crane trolley, 3-overhead crane trolley. DETAILED DESCRIPTION

[0049] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0050] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0051] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0052] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0053] Embodiment 1:

[0054] Embodiment 1 of the present invention provides a method for detecting three-dimensional obstacles of an overhead traveling crane in a brewing environment, comprising the following contents:

[0055] S1: Design of dual laser radar horizontal installation layout

[0056] A top view of the sensor bracket used to install dual laser radars is shown in the figure below. Figure 1 As shown in the figure, two 16-line 3D laser radars are arranged at the diagonal vertices of the sensor bracket. The 3D laser radar is installed horizontally, and the laser beam performs 360-degree scanning in the vertical direction. The sensor bracket is welded on the overhead crane trolley and extends to the bottom of the overhead crane trolley body, as shown in the figure. Figure 2 As shown, 1 is the sensor bracket, 2 is the overhead crane trolley, and 3 is the overhead crane trolley.

[0057] To prevent the size of the sensor bracket from affecting the extreme position of the overhead crane, the width of the sensor bracket should be smaller than the width of the overhead crane trolley, and the length of the sensor bracket should be smaller than the width of the overhead crane trolley. At the same time, the three-dimensional laser radar should be far away from the center of the overhead crane trolley to prevent the intermediate load from appearing directly under its field of view and blocking its perception field of view. Based on the above two considerations, this embodiment sets the horizontal distance between the two three-dimensional laser radars to 1.5 meters and the vertical distance to 2.6 meters.

[0058] S2: Dual LiDAR Point Cloud Fusion

[0059] Point cloud fusion includes point cloud time synchronization and point cloud stitching. This embodiment uses the strategy-based time synchronizer in the ROS system to time synchronize the dual laser radar data. The specific strategy selected is the approximate time strategy, so that the time-synchronized point cloud data can be obtained. Point cloud stitching refers to the spatial transformation of the time-synchronized point cloud data, converting the point cloud data from different three-dimensional laser radars to the same reference coordinate system. In this embodiment, the coordinate system of three-dimensional laser radar 1 is used as the reference coordinate system, and three-dimensional laser radar 2 is transformed to three-dimensional laser radar 1. The point clouds generated by three-dimensional laser radars 1 and 2 are defined as P1 and P2, respectively, as shown in the following formula:

[0060] P1={p i |i=0,...,N-1}={(x i ,y i ,z i )|i=0,...,N-1} (1)

[0061] P2={p j |j=0,...,M-1}={(x j ,y j ,z j )|j=0,...,M-1} (2)

[0062] The sensor layout determines the Euler angle vector e = (α, β, γ) of the transformation of the point cloud of 3D LiDAR 2 to the coordinate system of 3D LiDAR 1. T and translation vector t=(t x ,t y ,t z ) T , are all known quantities. Assume that the rotation order of the Euler angle is ZYX. The rotation matrix R can be obtained from the Euler angle vector as follows:

[0063]

[0064] Therefore, the formula for converting the point cloud P2 of 3D laser radar 2 to the coordinate system of 3D laser radar 1 is:

[0065] P′2=RP2+t (4)

[0066] Then the fused point cloud P is obtained after point cloud splicing u The calculation formula is:

[0067] P u =P1+P′2 (5)

[0068] S3: Point cloud data preprocessing

[0069] This embodiment extracts the effective area point cloud through the method of region of interest extraction and point cloud downsampling, reduces the point cloud density, and reduces the pressure of subsequent algorithms. Region of interest extraction filters out the points in the region of interest by limiting the XYZ axis coordinates of the point cloud. Point cloud downsampling divides the three-dimensional space occupied by the region of interest into three-dimensional voxel grids according to the pre-set grid size. Each point in the point cloud of the region of interest will be divided into a voxel grid. Point cloud downsampling replaces all points in the voxel grid with the centroid of the voxel grid, thereby achieving the purpose of reducing the point cloud density.

[0070] In addition, the point cloud data generated by the three-dimensional laser radar contains outliers caused by measurement noise and environmental noise, as well as ground points that are meaningless for three-dimensional obstacle detection. For this reason, this embodiment filters out outliers by using radius filtering and filters out ground points by setting a height threshold.

[0071] S4: 3D obstacle detection based on improved radial bounded nearest neighbor clustering algorithm

[0072] After performing point cloud fusion and preprocessing operations on the dual laser radar point cloud data, this embodiment obtains effective point cloud data and uses a clustering algorithm to detect three-dimensional obstacles. In view of the problems of under-segmentation, over-segmentation and unsuitability for dual laser radars in the traditional radial bounded nearest neighbor clustering algorithm, this embodiment proposes an improved radial bounded nearest neighbor clustering algorithm based on partitioned multi-segment dynamic thresholds. The specific contents of the algorithm are as follows:

[0073] S4.1: Multi-segment dynamic threshold design.

[0074] The under-segmentation and over-segmentation problems in the traditional radial bounded nearest neighbor algorithm are caused by the fixed threshold radius processing unevenly distributed point cloud data. Therefore, this embodiment designs a dynamic threshold based on the gap between the multi-laser beams of the 3D laser radar. Figure 3 Given a laser beam distribution diagram at a certain moment, the distance between the 3D laser radar and the ground is d, and the distance from l1 to l is defined 15 are the gaps formed by adjacent laser beams, and the calculation formula of l1 is:

[0075] l1=2×d×tan 1° (6)

[0076] The calculation formula from l2 to l8 is:

[0077] l i =d×[tan(2i-1)°-tan(2i-3)°],i∈{2,3,...,8} (7)

[0078] 19 to 1 15 The calculation formula is:

[0079] l i+7 = l i ,i∈{2,3,...,8} (8)

[0080] Obviously, the maximum gap l max When i is 8 or 15, we get:

[0081] l max =l8=l 15 =d×(tan 15°-tan 13°)=d×0.037 (9)

[0082] In this embodiment, the maximum gap l max Instead of other gaps, it is used as the design basis of the dynamic threshold to design the segmented threshold. With the origin of the 3D laser radar 1 coordinate system as the center, concentric circles are drawn on the XOY plane, and circles are drawn every 3 meters to divide the XOY plane into different segments, such as Figure 4 As shown, D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. Use the maximum gap l corresponding to the maximum concentric circle radius of the segment. max As the threshold radius of the radial bounded nearest neighbor clustering of this segment. This threshold radius represents the maximum inherent gap of the point cloud data collected by the Velodyne 16-line LiDAR in this segment, which has nothing to do with the environment.

[0083] For any point p in the point cloud i (x i ,y i ,z i ), p i The projection distance d from the origin of the 3D laser radar 1 coordinate system on the XOY plane i It can be found from the following:

[0084]

[0085] S4.2: Zoning Design

[0086] For the area that can only be sensed by the 3D laser radar 1, it is defined as the main partition, d i That is, the projection distance between the point and the 3D laser radar 1 on the XOY plane, so d i For the area that can be sensed by both 3D laser radar 1 and 2, it is defined as a common partition. In the case of only 3D laser radar 1, the points in this area are relatively sparse. The addition of 3D laser radar 2 makes the point cloud of this area denser and the gaps become smaller accordingly. i The threshold radius matched during segmentation is still the maximum inherent gap of the segment, so d can still be used. i As the basis for segmentation; for the area that can only be perceived by the 3D laser radar 2, it is defined as an extended partition, and all the points in this partition come from the 3D laser radar 2. i If segmentation fails to obtain a reasonable threshold radius, the projection distance d′ between the point and the 3D laser radar 2 on the XOY plane should be used. i Segmentation, the XY coordinates of 3D laser radar 2 in the coordinate system of 3D laser radar 1 are (0, -2.6), so d′ i The calculation formula is as follows:

[0087]

[0088] In order to facilitate the partitioning of the data in the fused point cloud, the three-dimensional laser interface equation is required. According to the principle of three-dimensional laser radar, the boundary cone equation of the three-dimensional laser radar 1 can be obtained as follows:

[0089] 0.072x 2 +0.072y 2 -z 2 =0 (12)

[0090] According to the function translation property, the boundary cone equation of the three-dimensional laser radar 2 can be deduced as follows:

[0091] 0.072x 2 +0.072(y+2.6) 2 -(z+1.5) 2 =0 (13)

[0092] Based on formulas (12) and (13), a three-dimensional diagram of the interface is drawn, as follows: Figure 5 As shown, point O is the center position of the three-dimensional laser radar 1, point O' is the center position of the three-dimensional laser radar 2, the light-colored curved surface is the boundary cone surface of the three-dimensional laser radar 1, and the dark-colored curved surface is the boundary cone surface of the three-dimensional laser radar 2.

[0093] Based on formulas (12) and (13), the partition functions divZone1(x, y, z) and divZone2(x, y, z) are defined as follows:

[0094] divZone1(x,y,z)=0.072x 2 +0.072y 2 -z 2 (14)

[0095] divZone2(x,y,z)=0.072x 2 +0.072(y+2.6) 2 -(z+1.5) 2 (15)

[0096] For any point p in the valid point cloud i (x i ,y i ,z i ), if divZone1(x i ,y i ,z i )≥0, the point belongs to the primary partition or the public partition, according to d i If divZone1(x i ,y i ,z i)<0 and divZone2(x i ,y i ,z i )≥0, the point belongs to the extended partition, according to d′ i Just partition.

[0097] S4.3: Design of results aggregation

[0098] The traditional radial bounded nearest neighbor clustering algorithm is used to process each segment of the point cloud after segmentation to obtain a point cloud cluster set C. The maximum and minimum coordinates of each point cloud cluster in C on the XYZ axis are calculated to determine the coordinates of the eight vertices of the corresponding rectangular bounding box, and then the rectangular bounding box of the obstacle represented by the point cloud cluster is determined. The point cloud clusters in C are actually the clustering results of the points in each segmented area. When the obstacle spans multiple segments, this method is incomplete. To this end, based on the objective fact that there are no suspended obstacles in the brewery, this embodiment aggregates the point cloud clusters located in different segments in the X-axis direction, that is, the axis perpendicular to the ground. If the projections of two three-dimensional obstacles on the YOZ plane intersect, the point cloud clusters corresponding to the two obstacles are merged into one and regarded as the same obstacle.

[0099] In order to verify the effectiveness of the method described in this embodiment, experiments were conducted in a laboratory scenario and a real brewing environment respectively.

[0100] In the laboratory scenario, the experimental scene is arranged according to the proposed dual laser radar horizontal installation layout scheme, such as Figure 6 As shown, the three-dimensional laser radars 1 and 2 are 1.5 meters apart horizontally and 2.6 meters apart vertically, and their heights are both 1.5 meters. Although the installation height is inconsistent with the actual installation height of the winery, this does not affect the verification of the effectiveness of the method.

[0101] The detection rate is defined as:

[0102]

[0103] The number of correctly detected frames refers to the number of point cloud frames in which all obstacles in the scene's area of ​​interest are correctly detected. In the single pedestrian obstacle scene, the threshold radius of the traditional radial bounded nearest neighbor clustering algorithm is set to 0.1, 0.3, and 0.6, respectively. The experimental results of the comparison between the traditional algorithm and the method described in this embodiment are shown in Table 2.

[0104] Table 2: Algorithm comparison results in single obstacle scenario.

[0105]

[0106] As can be seen from Table 2, the detection rate of the method in this embodiment is the highest in the single obstacle scene. When the threshold of the traditional radial bounded nearest neighbor method is 0.1, the comparison of the point cloud detection results of the 102nd frame is as follows: Figure 7 As shown. Figure 7 It can be seen that the traditional method has an over-segmentation problem, while the improved algorithm correctly detects the single pedestrian obstacle.

[0107] It can be seen from Table 2 that the detection rate of the traditional radial bounded nearest neighbor clustering method is higher than that of other threshold radii when the threshold is 0.6. Therefore, in the multi-pedestrian obstacle scene, the threshold radius of the traditional method is set to 0.6. Only when multiple obstacles in a frame of point cloud are detected is it considered a correct detection frame. The experimental results of the comparison between the traditional algorithm and the method of this embodiment are shown in Table 3.

[0108] Table 3: Algorithm comparison results in multi-obstacle scenarios.

[0109]

[0110] As can be seen from Table 3, the detection rate of the method in this embodiment is the highest in the multi-obstacle scene. When the threshold of the traditional radial bounded nearest neighbor method is 0.6, the comparison of the point cloud detection results of the 26th frame is as follows: Figure 8 As shown. Figure 8 It can be seen that the traditional method has an under-segmentation problem and detects obstacles 2 and 3 as the same obstacle, while the improved algorithm correctly detects multiple pedestrian obstacles.

[0111] The actual crane in the real brewing environment Fig. 9 As shown in Figure 2, a material box obstacle is placed in a real brewing environment, such as Fig.10 As shown in (a) in the figure, when the material box obstacle enters the radar field of view, the detection result is as follows Fig.10 As shown in (b) in .

[0112] Embodiment 2:

[0113] Embodiment 2 of the present invention provides a three-dimensional obstacle detection system for an overhead traveling crane in a brewing environment, comprising:

[0114] A data acquisition module is configured to: acquire point cloud data of a first three-dimensional laser radar and a second three-dimensional laser radar arranged on a sensor bracket;

[0115] A point cloud fusion module is configured to: perform point cloud fusion on point cloud data of two three-dimensional laser radars, wherein the point cloud fusion includes point cloud time synchronization and point cloud stitching;

[0116] The point cloud preprocessing module is configured to: preprocess the fused point cloud data;

[0117] The obstacle detection module is configured to: perform three-dimensional obstacle detection on the preprocessed point cloud data according to an improved radial bounded nearest neighbor clustering algorithm;

[0118] In the improved radial bounded nearest neighbor clustering algorithm, the origin of the coordinate system of a certain laser radar is taken as the center, and concentric circles are drawn on the XOY plane. Each circle is drawn at a preset distance, and the XOY plane is divided into different segments, where D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. The maximum gap corresponding to the maximum concentric circle radius of the segment is used as the threshold radius of the radial bounded nearest neighbor clustering of the segment.

[0119] The specific working method of the system is the same as the overhead crane three-dimensional obstacle detection method for brewing environment provided in Example 1, and will not be repeated here.

[0120] Embodiment 3:

[0121] Embodiment 3 of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the method for detecting three-dimensional obstacles of an overhead crane for a brewing environment as described in Embodiment 1 of the present invention.

[0122] Embodiment 4:

[0123] Embodiment 4 of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method for detecting three-dimensional obstacles of an overhead crane for a brewing environment as described in Embodiment 1 of the present invention are implemented.

[0124] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0125] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.

[0126] 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.

[0127] 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.

[0128] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A three-dimensional obstacle detection method for overhead crane in brewing environment, characterized by: The process includes: Acquire point cloud data of a first three-dimensional laser radar and a second three-dimensional laser radar arranged on a sensor bracket; Performing point cloud fusion on point cloud data of two three-dimensional laser radars, wherein the point cloud fusion includes point cloud time synchronization and point cloud stitching; Preprocess the fused point cloud data; For the preprocessed point cloud data, three-dimensional obstacle detection is performed based on the improved radial bounded nearest neighbor clustering algorithm; In the improved radial bounded nearest neighbor clustering algorithm, the origin of the coordinate system of a certain laser radar is taken as the center of the circle, and concentric circles are drawn in the XOY plane. The X axis is the axis perpendicular to the ground, and circles are drawn at each preset distance to divide the XOY plane into different segments, where D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. The maximum gap corresponding to the maximum concentric circle radius of the segment is used as the threshold radius of the radial bounded nearest neighbor clustering of the segment.

2. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: Two three-dimensional laser radars are arranged at the diagonal vertices of the sensor bracket. Both three-dimensional laser radars are installed horizontally. The laser beam scans 360 degrees in the vertical direction. The sensor bracket is fixed on the trolley of the overhead crane and extends to the bottom of the overhead crane trolley body. The width of the sensor bracket is smaller than the width of the overhead crane trolley, and the length of the sensor bracket is smaller than the width of the overhead crane trolley body.

3. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: The point cloud of the first 3D laser radar is P1, the point cloud of the second 3D laser radar is P2, and the fused point cloud data P u =P1+P'2, where P'2=RP2+t, R is the rotation matrix, and t is the translation vector.

4. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: Preprocess the fused point cloud data, including: Extract the region of interest and downsample the point cloud, filter outliers by radius filtering, and filter out ground points by setting a height threshold.

5. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: In the improved radial bounded nearest neighbor clustering algorithm, the partition function is defined as: divZone1(x,y,z)=0.072x 2 +0.072y 2 -z 2 divZone2(x,y,z)=0.072x 2 +0.072(y+2.6) 2 -(z+1.5) 2 For any point p in the valid point cloud i (x i ,y i ,z i ), if divZone1(x i ,y i ,z i )≥0, the point belongs to the primary partition or the public partition, according to d i Partition; if divZone1(x i ,y i ,z i )<0 and divZone2(x i ,y i ,z i )≥0, the point belongs to the extended partition, according to d i 'Partition, where d i For point p i (x i ,y i ,z i ) and the projection distance of the first 3D laser radar on the XOY plane, d i ' is point p i (x i ,y i ,z i ) and the projection distance of the second 3D laser radar in the XOY plane.

6. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: The radial bounded nearest neighbor clustering algorithm is used to process each segment of the point cloud to obtain a point cloud cluster set. The maximum and minimum coordinates of each point cloud cluster in the point cloud cluster set on the XYZ axis are calculated to determine the coordinates of the eight vertices of the corresponding rectangular bounding box, and then the rectangular bounding box of the obstacle represented by the point cloud cluster is determined; The point cloud clusters in different segments are aggregated in the X-axis direction, where the X-axis is the axis perpendicular to the ground. If the projections of two 3D obstacles on the YOZ plane intersect, the point cloud clusters corresponding to the two obstacles are merged into one and regarded as the same obstacle.

7. The method for detecting three-dimensional obstacles of an overhead crane in a brewing environment according to claim 1, characterized in that: The threshold radius is the maximum inherent gap of the point cloud data collected by the three-dimensional laser radar within the segment.

8. A three-dimensional obstacle detection system for overhead cranes in brewing environments, characterized by: include: A data acquisition module is configured to: acquire point cloud data of a first three-dimensional laser radar and a second three-dimensional laser radar arranged on a sensor bracket; A point cloud fusion module is configured to: perform point cloud fusion on point cloud data of two three-dimensional laser radars, wherein the point cloud fusion includes point cloud time synchronization and point cloud stitching; The point cloud preprocessing module is configured to: preprocess the fused point cloud data; The obstacle detection module is configured to: perform three-dimensional obstacle detection on the preprocessed point cloud data according to an improved radial bounded nearest neighbor clustering algorithm; In the improved radial bounded nearest neighbor clustering algorithm, the origin of the coordinate system of a certain laser radar is taken as the center, and concentric circles are drawn on the XOY plane. Each circle is drawn at a preset distance, and the XOY plane is divided into different segments, where D i Represents the projection distance between the point in the i-th segment and the origin on the XOY plane. The maximum gap corresponding to the maximum concentric circle radius of the segment is used as the threshold radius of the radial bounded nearest neighbor clustering of the segment.

9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps of the overhead crane three-dimensional obstacle detection method for a brewing environment as described in any one of claims 1 to 7 are implemented.

10. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the overhead crane three-dimensional obstacle detection method for a brewing environment as described in any one of claims 1 to 7 are implemented.