Active anti-collision control method and system for boom based on multi-lidar fusion technology

Through multi-lidar fusion technology and bounding box algorithm, the anti-collision area of ​​the portal crane boom is dynamically adjusted, which solves the problems in the existing technology due to the difference in the number of point clouds and the fixed anti-collision area, and achieves an efficient and flexible boom. Anti-collision control improves work efficiency and safety.

CN118289653BActive Publication Date: 2024-10-08JIANGSU SUGANG INTELLIGENT EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410718791.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-08
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

When the existing gantry crane boom anti-collision system is operating with multiple gantry cranes at the same time, the number of point clouds is different due to the distance of the laser radar scanning object, the threshold limit selection error, and the anti-collision area is fixed and does not have flexible adjustment, which reduces the work efficiency. and anti-collision effect.

Method used

Using multi-lidar fusion technology, we establish an initial warning area and adjust its size and position in real time according to the boom movement data to obtain the working condition warning area. We use point cloud data fusion and clustering and combine with the bounding box algorithm to determine obstacle entry warning. area, issue active collision avoidance instructions, and dynamically adjust the anti-collision area to reduce over-protection.

Benefits of technology

It achieves flexible adjustment of the boom working condition warning area, reduces over-protection, improves the efficiency and rationality of collision avoidance, avoids the uncertainty of single point cloud data volume determination, and improves the efficiency and safety of door operator operations. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118289653B_ABST
    Figure CN118289653B_ABST
Patent Text Reader

Abstract

The present invention discloses a boom active anti-collision control method and system based on multi-laser radar fusion technology, which belongs to the technical field of gantry cranes. The method comprises: establishing an initial warning area for the boom; adjusting the size and position of the initial warning area for the boom based on the action data of the boom, and obtaining the working condition warning area of ​​the boom; obtaining point cloud data of the laser radar, and fusing and clustering all the point cloud data to obtain a target point cloud cluster; obtaining a minimum rectangular bounding box wrapped around the outside of the target point cloud cluster, and using the minimum rectangular bounding box as a target bounding box; judging whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issuing a corresponding active anti-collision instruction according to the entry position of the target bounding box; the size of the boom working condition warning area can be adjusted in real time according to the operating condition of the boom, thereby reducing over-protection and ensuring the high efficiency of the boom's active anti-collision protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of portal cranes, and in particular relates to a boom active anti-collision control method and system based on multi-laser radar fusion technology. Background Art

[0002] During the loading and unloading operations of gantry cranes at ports, there may be several gantry cranes performing loading and unloading operations on a ship at the same time. At this time, the relative distance between the gantry cranes will be relatively small. When two adjacent gantry cranes are in operation, due to a certain overlap in the rotation space of the booms, the two gantry cranes are prone to boom collisions between machines or boom collisions with cargo ships during the luffing, rotation and traveling operations, causing significant losses.

[0003] The patent application with publication number CN117466162A proposes a gantry crane boom anti-collision method and system, comprising the following steps: real-time scanning of the boom motion area to obtain the point cloud of the obstacle; calculating the protection area of ​​the single gantry crane boom based on the motion state parameters of the single gantry crane; real-time statistics of the point cloud number of the obstacle in the protection area, judging whether the point cloud number of the obstacle is greater than the set threshold, and if so, issuing an alarm and controlling the gantry crane to stop running; calculating the running trajectory position of the boom in a future period of time based on the motion state parameters of two adjacent gantry cranes; judging whether the two adjacent gantry crane booms collide at the same time point in the time period, and if so, issuing an alarm and controlling the gantry crane to stop running; although this prior art can avoid collisions between gantry crane booms, due to the particularity of the laser radar scanning objects, the same object is affected by the distance factor, and the number of point clouds scanned near and far from the laser radar will be different, resulting in errors in the selection of the threshold limit; in addition, the anti-collision area is fixed and does not have flexible adjustment, which will reduce the work efficiency of the gantry crane operation to a certain extent. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a boom active anti-collision control method and system based on multi-laser radar fusion technology, the anti-collision area of ​​which can be flexibly adjusted to reduce over-protection.

[0005] The present invention provides the following technical solutions:

[0006] In a first aspect, a boom active collision avoidance control method based on multi-lidar fusion technology is provided, comprising:

[0007] Establishing the initial warning area of ​​the boom;

[0008] Based on the received motion data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current motion state;

[0009] Install at least two laser radars for scanning obstacles on the portal crane where the boom is located;

[0010] Obtain the point cloud data of each laser radar, fuse and cluster all the point cloud data, and obtain at least one target point cloud cluster;

[0011] Using the bounding box algorithm, obtain the minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds to the target point cloud cluster one by one, and use the minimum rectangular bounding box as the target bounding box;

[0012] It is determined whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, a corresponding active collision avoidance instruction is issued according to the entry position of the target bounding box.

[0013] Optionally, in the initial warning area of ​​the boom, the initial warning area includes a rotation warning area and an amplitude change warning area; the rotation warning area is fan-shaped, and the amplitude change warning area is fan-shaped; there are two rotation warning areas and they are respectively located on the left and right sides of the boom; the amplitude change warning area is located on the front side of the boom head;

[0014] The rotation warning area includes a first warning prompt area, a first deceleration area and a first stop area; the amplitude change warning area includes a second warning prompt area, a second deceleration area and a second stop area;

[0015] When establishing the initial warning area of ​​the boom, the initial sizes of the rotation warning area and the amplitude change warning area are set based on expert experience.

[0016] Optionally, based on the received motion data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current motion state:

[0017] The action data of the front end of the boom during operation includes the rotation angle of the boom and the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs luffing operation;

[0018] Adjusting the size of the boom initial warning area includes adjusting the radius length of the rotation warning area and the fan ring width of the amplitude change warning area;

[0019] Adjust the position of the initial warning area based on the rotation angle of the boom;

[0020] Based on the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs the luffing operation, the outer radius length of the fan ring of the boom's luffing warning area is adjusted; based on the telescopic length of the boom when the boom performs the luffing operation, the radius length of the boom's rotation warning area is adjusted.

[0021] Optionally, in the adjustment of the radius length of the rotation warning area of ​​the boom, real-time adjustment is performed according to a set linear relationship between the telescopic length of the boom and the radius length of the rotation warning area;

[0022] The fan ring outer radius length of the boom amplitude change warning area includes the fan ring outer radius length of the second warning prompt area, the fan ring outer radius length of the second deceleration area, and the fan ring outer radius length of the second stop area;

[0023] The outer radius length of the fan ring of the second warning prompt area changes linearly with the telescopic length of the boom;

[0024] The outer radius length L1 of the sector ring of the second deceleration zone is:

[0025]

[0026] in, is the outer radius length of the initial fan ring in the second deceleration zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance the front end of the boom travels when the current movement speed drops to the set intermediate deceleration speed. is the current moving speed of the front end of the boom, is the set deceleration time, When the boom is performing luffing operations, the output frequency of the motor is The maximum output frequency of the motor when performing luffing operation for the boom;

[0027] The outer radius length L2 of the sector ring of the second stop zone is:

[0028]

[0029] in, is the outer radius length of the initial fan ring of the second stop zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance traveled by the front end of the boom when the current movement speed drops to zero. It is the motor output frequency corresponding to the boom being at the middle deceleration speed.

[0030] Optionally, the second warning prompt area, the second deceleration area and the second stop area are all in a fan ring shape and are successively close to the head of the boom from the outside to the inside; the first warning prompt area, the first deceleration area and the first stop area are successively close to the left side or the right side of the boom from the outside to the inside;

[0031] The first warning prompt area is fan-shaped, the first deceleration area and the first stop area are fan-ring shaped, and a fan-ring shaped emergency braking area is provided at the tail of the first deceleration area and the first stop area. The fan-ring width of the emergency braking area remains unchanged during the boom movement.

[0032] Optionally, the step of acquiring point cloud data of each laser radar, fusing and clustering all point cloud data, and acquiring at least one target point cloud cluster includes:

[0033] Obtain the point cloud data of each laser radar and pre-process the point cloud data;

[0034] All pre-processed point cloud data are subjected to coarse and fine registration to determine the optimal transformation matrix, and all point cloud data are fused according to the optimal transformation matrix;

[0035] Perform dimension reduction and downsampling operations on the fused point cloud data to obtain dimension-reduced point cloud data from a two-dimensional bird's-eye view;

[0036] Cluster the reduced-dimensional point cloud data using the HDBSCAN algorithm to generate multiple point cloud clusters;

[0037] It is determined whether the number of point clouds in each point cloud cluster exceeds the set filtering threshold, and the point cloud cluster exceeding the filtering threshold is defined as the target point cloud cluster.

[0038] Optionally, the determining whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issuing a corresponding active collision avoidance instruction according to the entry position of the target bounding box includes:

[0039] For each target bounding box, a determination operation is performed to determine whether it enters the working condition warning area;

[0040] The determination operation of whether to enter the working condition warning area is as follows:

[0041] Determine whether the target enclosing box enters the first stop zone or the second stop zone. If so, output a stop signal. If not, determine whether the target enclosing box enters the first deceleration zone or the second deceleration zone. If so, output a deceleration signal. If not, determine whether the target enclosing box enters the first warning prompt zone or the second warning prompt zone. If so, output a warning prompt signal. If not, output a normal driving signal.

[0042] Optionally, one of the first stop zone, the second stop zone, the first deceleration zone, the second deceleration zone, the first warning prompt zone and the second warning prompt zone is the current determination area;

[0043] Determining whether the target bounding box enters the current determination area includes the following steps:

[0044] E1: Get the vertex coordinates of the target bounding box;

[0045] E2: Determine whether the vertex coordinates of the target bounding box are within the current determination area. If so, proceed to step E4; if not, proceed to step E3;

[0046] E3: Determine whether the coordinates of the selected point on the boundary of the current determination area are within the target bounding box. If so, proceed to step E4. If not, the target bounding box does not enter the current determination area.

[0047] E4: Determine whether the number of point clouds in the target bounding box is greater than the set threshold. If so, the target bounding box enters the current determination area. If not, the target bounding box does not enter the current determination area.

[0048] In a second aspect, a boom active collision avoidance control system based on multi-lidar fusion technology is provided, including: a perception module and a decision module, wherein the decision module includes an initial area determination unit, a working condition area determination unit, a point cloud processing unit, a target bounding box construction unit, and an instruction issuing unit;

[0049] A perception module, comprising at least two laser radars, which are mounted on the portal crane where the boom is located and are used to scan obstacles;

[0050] The initial area determination unit is used to establish the initial warning area of ​​the boom.

[0051] A working condition area determination unit, used to adjust the size and position of the initial warning area of ​​the boom based on the received action data of the front end of the boom during operation, and obtain the working condition warning area of ​​the boom in the current action state;

[0052] A point cloud processing unit is used to obtain the point cloud data of each laser radar, and fuse and cluster all the point cloud data to obtain at least one target point cloud cluster;

[0053] A target bounding box construction unit is used to use a bounding box algorithm to obtain a minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds one-to-one with the target point cloud cluster, and use the minimum rectangular bounding box as the target bounding box;

[0054] The instruction issuing unit is used to determine whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issue a corresponding active collision avoidance instruction according to the entry position of the target bounding box.

[0055] Optionally, it also includes an execution module, which includes a PLC controller, a frequency converter and a motor; the PLC controller receives the active anti-collision instruction issued by the decision module, and transmits the active anti-collision instruction to the motor through the frequency converter, and after receiving the instruction, the motor controls the arm to execute the action of the active anti-collision instruction.

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

[0057] (1) The size of the boom working condition warning area can be adjusted in real time according to the boom's operating conditions, thereby reducing over-protection and ensuring the efficiency of the boom's active anti-collision protection. In addition, the point cloud data of multiple lidars are used to obtain obstacle information, which effectively segments the obstacle information and avoids the uncertainty of single judgment based on the amount of point cloud data.

[0058] (2) Based on the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs the boom-length variation operation, the outer radius length of the fan ring of the boom's boom-length variation warning area is adjusted; based on the telescopic length of the boom when the boom performs the boom-length variation operation, the radius length of the rotation warning area of ​​the boom is adjusted. The outer radius length of the fan ring of the boom's boom-length variation warning area changes dynamically according to the speed change of the boom-length variation process, which can make the size adjustment of the boom's boom-length variation warning area closer to the working conditions, thereby improving the rationality of the boom's active collision avoidance and avoiding excessive protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a flow chart of the boom active anti-collision control method based on multi-laser radar fusion technology of the present invention;

[0060] Figure 2 It is a structural schematic diagram of the initial warning area of ​​the present invention;

[0061] Figure 3 It is a schematic diagram of a flow chart of the present invention for judging whether a target bounding box enters a working condition warning area;

[0062] Figure 4 It is a schematic diagram of a method for judging whether a target bounding box enters a current judgment area according to the present invention;

[0063] Figure 5 It is a schematic diagram of the structure where the target bounding box intersects with the determination area;

[0064] Figure 6 It is a structural schematic diagram of the boom active anti-collision control system based on multi-laser radar fusion technology of the present invention;

[0065] Figure 7 It is the structural diagram of the decision-making module;

[0066] Figure 8It is the structural block diagram of the execution module. DETAILED DESCRIPTION

[0067] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0068] Embodiment 1

[0069] like Figure 1 As shown, a boom active anti-collision control method based on multi-laser radar fusion technology is provided, including the following steps:

[0070] S1: Establish the initial warning area of ​​the boom.

[0071] Specifically, the initial warning area includes a rotation warning area and an amplitude variation warning area; the rotation warning area is fan-shaped, and the amplitude variation warning area is fan-ring shaped; there are two rotation warning areas and they are located on the left and right sides of the boom respectively; the amplitude variation warning area is located on the front side of the boom head.

[0072] The rotation warning area includes a first warning prompt area, a first deceleration area and a first stop area; the amplitude change warning area includes a second warning prompt area, a second deceleration area and a second stop area.

[0073] like Figure 2 As shown, the blue area is where the arm is located, r l0 and r r0 r3 and r4 represent the first deceleration zone and the first stop zone when the boom rotates to the left, respectively; r5 and r6 represent the first stop zone and the first deceleration zone when the boom rotates to the right, respectively; the first warning zone, the first deceleration zone and the first stop zone are located close to the left or right side of the boom from the outside to the inside; r c0 is the second warning prompt area, r1 and r2 represent the second deceleration area and the second stop area respectively; the second warning prompt area, the second deceleration area and the second stop area are all in the shape of a fan ring and are close to the head of the boom from the outside to the inside.

[0074] The first warning prompt area is fan-shaped, the first deceleration area and the first stop area are fan-ring shaped, and a fan-ring shaped emergency braking area is provided at the tail of the first deceleration area and the first stop area. The fan-ring width of the emergency braking area remains unchanged during the boom movement. There are rotation warning areas on the left and right sides of the boom, and there are also two emergency braking areas (r7 and r8), which are located on the left and right sides of the boom respectively.

[0075] In some other embodiments, the first warning prompt area, the first deceleration area and the first stop area may all be sector-shaped.

[0076] When establishing the initial warning area of ​​the boom, the initial sizes of the rotation warning area and the amplitude change warning area are set according to expert experience, including the fan angles of the first warning prompt area, the first deceleration area and the first stop area, and the initial radius lengths of the first warning prompt area, the first deceleration area and the first stop area; the fan ring angles and the initial radius lengths of the second warning prompt area, the second deceleration area and the second stop area; of course, in some other embodiments, the size of the initial warning area of ​​the boom can support user customization, so that the client can customize the size requirements of the initial warning area according to actual working conditions.

[0077] S2: Based on the received motion data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current motion state.

[0078] Specifically, the motion data of the front end of the boom when operating includes the rotation angle of the boom and the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs a variable-length operation (the boom is extended or retracted in the horizontal plane).

[0079] Based on the rotation angle of the boom, the position of the initial warning area is adjusted, that is, after the boom rotates a specified angle, the initial warning area rotates accordingly by the same specified angle; adjusting the size of the initial warning area of ​​the boom includes adjusting the radius length of the rotation warning area and the outer radius length of the fan ring of the amplitude change warning area.

[0080] Based on the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs the luffing operation, the outer radius length of the fan ring of the boom's luffing warning area is adjusted; based on the telescopic length of the boom when the boom performs the luffing operation, the radius length of the boom's rotation warning area is adjusted.

[0081] Specifically, in the adjustment of the radius length of the rotation warning area of ​​the boom, real-time adjustment is performed according to the linear relationship set between the telescopic length of the boom and the radius length of the rotation warning area, the fan ring outer radius length of the boom amplitude change warning area includes the fan ring outer radius length of the second warning prompt area, the fan ring outer radius length of the second warning prompt area changes linearly with the telescopic length of the boom, and the linear relationship between the fan ring outer radius length of the second warning prompt area and the telescopic length of the boom is obtained based on expert experience or multiple tests; that is, area r c0 , r l0 , r r0 , the radius lengths of r3, r4, r5 and r6 change in real time according to the telescopic length of the boom.

[0082] Since the luffing motion of the front end of the boom is a very complex nonlinear system, in order to calculate the effective braking distance, it is regarded as an approximately uniform motion process. Assume that during the luffing motion of the boom, the safety distance of the second stop zone and the safety distance of the second deceleration zone (the outer radius length of the fan ring) are L2 and L1 respectively. The distance value of each area is composed of two parts. The reserved safety distance when the boom is not performing luffing motion operation and The reserved safety distance (initial fan ring outer radius length) is the reserved safety distance that the machine's boom should maintain with obstacles when the boom is not performing luffing operations. and is a constant. When the boom is performing a luffing operation, a braking distance that changes dynamically according to the luffing speed is provided. The braking distance is the distance the boom travels from its current movement speed to 0 or the intermediate deceleration speed. The rate of change of the braking distance is dynamically related to the motor frequency. Compared with a given constant value safety distance, smooth deceleration and braking control can be achieved, and the size of the initial warning area can be adjusted. While ensuring safety protection, the impact of emergency braking on the equipment can be effectively reduced, and the efficiency of the anti-collision strategy can be achieved. The intermediate deceleration speed is the set value. According to the set intermediate deceleration speed, the corresponding motor output frequency at the intermediate deceleration speed is determined.

[0083] Furthermore, the fan ring outer radius length of the boom amplitude change warning area also includes the fan ring outer radius length of the second deceleration area and the fan ring outer radius length of the second stop area.

[0084] The outer radius length L1 of the sector ring of the second deceleration zone is:

[0085]

[0086] in, is the outer radius length of the initial fan ring in the second deceleration zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance the front end of the boom travels when the current movement speed drops to the set intermediate deceleration speed. is the current moving speed of the front end of the boom, is the set deceleration time, When the boom is performing luffing operations, the output frequency of the motor is The maximum output frequency of the motor when performing luffing operation for the boom;

[0087] The outer radius length L2 of the sector ring of the second stop zone is:

[0088]

[0089] in, is the outer radius length of the initial fan ring of the second stop zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance traveled by the front end of the boom when the current movement speed drops to zero. It is the motor output frequency corresponding to the boom being at the middle deceleration speed.

[0090] The faster the boom speed is, the greater the safety distance will be. When the boom speed is reduced to 0, the safety distance will be reduced to the reserved safety distance value d. 10 and d 20 .

[0091] According to the actual working conditions, the size of the initial warning area is adjusted to obtain the working condition warning area. The working condition warning area changes its position and size in real time according to the movement of the boom, which can reduce over-protection and thus ensure the high efficiency of the variable amplitude protection.

[0092] S3: Install at least two laser radars for scanning obstacles on the portal crane where the boom is located.

[0093] There are three 16-line laser radars. The 16 laser emitting components inside the laser radar rotate rapidly while emitting high-frequency laser beams to continuously scan and measure the external environment.

[0094] Three laser radars are generally installed on the turntable of the gantry crane. The laser radar maintains a certain angle between the scanning plane and the vertical plane of the boom, forming a specific protection area for the gantry crane boom based on the scanning range of the laser radar.

[0095] S4: Obtain the point cloud data of each laser radar, and fuse and cluster all the point cloud data to obtain at least one target point cloud cluster.

[0096] S4.1: Obtain point cloud data of each laser radar and preprocess the point cloud data.

[0097] After the laser radar obtains the original point cloud information, it obtains the laser radar data packet through Ethernet. However, the information in the data packet is based on the azimuth and distance values ​​in the polar coordinate system. Converting the polar coordinate system into Cartesian coordinate system data can realize convenient three-dimensional scene construction of point cloud data.

[0098] S4.2: Determine the optimal transformation matrix for all pre-processed point cloud data through coarse registration and fine registration, and realize the fusion of all point cloud data according to the optimal transformation matrix.

[0099] First, the point cloud data of each lidar is downsampled and filtered to calculate the point cloud feature information, and then the extracted features are used to match the corresponding target point clouds based on the RANSAC point cloud coarse registration algorithm to calculate the corresponding transformation matrix Ra and t a ; Finally, based on the iterative optimization of the ICP fine registration algorithm, the optimal transformation matrix R for fine registration is calculated c and t c ;

[0100] The rotation transformation matrix R and translation transformation matrix t required for the final point cloud coordinate system registration are:

[0101]

[0102] Based on the final rotation transformation matrix and translation transformation matrix, all point cloud data are fused, and other existing technologies can also be used for point cloud coarse alignment and fine alignment.

[0103] S4.3: Perform dimensionality reduction and downsampling operations on the fused point cloud data to obtain dimensionality reduced point cloud data from a two-dimensional bird's-eye view.

[0104] The fused point cloud data is a three-dimensional view. Considering that the present invention is an active anti-collision device for the boom, the height of the anti-collision area is fixed. Based on this, the present invention implements the boom anti-collision strategy with a bird's-eye view (the boom's top-down view), that is, compressing the three-dimensional point cloud data to a two-dimensional bird's-eye view. Therefore, it is necessary to perform dimensionality reduction on the fused data. After dimensionality reduction, the voxelized grid method is used to downsample the redundant point cloud information, that is, to minimize the number of point cloud data sets without affecting the system function.

[0105] S4.4: Cluster the reduced-dimensional point cloud data using the HDBSCAN algorithm to generate multiple point cloud clusters.

[0106] The steps of the HDBSCAN algorithm can refer to the existing technology. After clustering the point cloud data, it can effectively segment the obstacle information. The visual effect is intuitive and clear, and at the same time avoids the uncertainty of determining the amount of point cloud data.

[0107] S4.5: Determine whether the number of point clouds in each point cloud cluster exceeds a set filtering threshold, and define the point cloud cluster that exceeds the filtering threshold as a target point cloud cluster.

[0108] The purpose of setting the filtering threshold is to prevent the possibility of false alarms caused by extracting obstacle information of small objects such as flying objects in the air.

[0109] S5: Using a bounding box algorithm, obtain a minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds one-to-one with the target point cloud cluster, and use the minimum rectangular bounding box as the target bounding box.

[0110] Specifically, a target point cloud cluster corresponds to a target bounding box. In order to extract the integrity of information and detection efficiency, it is necessary to define a rectangular directed bounding box to tightly wrap the target point cloud cluster. First, the x and y components of a series of point coordinates of the graphic object are obtained to determine the main axis direction of the bounding box. According to the covariance The calculation formula is used to obtain the covariance matrix, where C is a symmetric matrix whose diagonal represents the variance of the x and y components, and the non-diagonal area represents the covariance of the x and y components. The eigenvalues ​​and eigenvectors are solved by the covariance matrix. The direction of the eigenvector corresponding to the maximum eigenvalue is the main axis direction of the OBB bounding box. Assume that the determined direction vector is recorded as P = [P 0 P 1 ].

[0111]

[0112]

[0113] Where C is a symmetric matrix, Expressed as The mathematical expectation of .

[0114] Project the coordinate point onto the direction vector and find the maximum and minimum values ​​of the x and y components in each direction, recorded as , , k = 0,1, we can get the center O of the bounding box and the half length of the bounding box and the bounding box vertex coordinates .

[0115]

[0116]

[0117]

[0118] in, is the coordinate of a vertex of the bounding box, is the minimum value of the x component in the x direction, is the minimum value of the y component in the y direction, is the maximum value of the x component in the x direction, is the maximum value of the y component in the y direction.

[0119] S6: Determine whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issue a corresponding active collision avoidance instruction according to the entry position of the target bounding box.

[0120] like Figure 3As shown, specifically, a determination operation is performed on each target bounding box as to whether it enters the working condition warning area.

[0121] The determination operation of whether to enter the working condition warning area is as follows:

[0122] Determine whether the target enclosing box enters the first stop zone or the second stop zone. If so, output a stop signal. If not, determine whether the target enclosing box enters the first deceleration zone or the second deceleration zone. If so, output a deceleration signal. If not, determine whether the target enclosing box enters the first warning prompt zone or the second warning prompt zone. If so, output a warning prompt signal. If not, output a normal driving signal.

[0123] like Figure 4 As shown, judging whether the target bounding box enters the current judgment area includes the following steps:

[0124] E1: Get the vertex coordinates of the target bounding box;

[0125] E2: Determine whether the vertex coordinates of the target bounding box are within the current determination area. If so, proceed to step E4; if not, proceed to step E3;

[0126] E3: Determine whether the coordinates of the selected points on the boundary of the current determination area are within the target bounding box. If so, proceed to step E4. If not, the target bounding box does not enter the current determination area. The coordinates of the selected points on the boundary of the determination area can be obtained according to the existing technology, and the number of selected points on the boundary of the determination area can be determined according to expert experience.

[0127] E4: Determine whether the number of point clouds in the target bounding box is greater than the set threshold. If so, the target bounding box enters the current determination area. If not, the target bounding box does not enter the current determination area.

[0128] The current determination area is one of a first stop zone, a second stop zone, a first deceleration zone, a second deceleration zone, a first warning prompt zone, and a second warning prompt zone.

[0129] The target bounding box enters multiple judgment areas at the same time.

[0130] In judging whether the target bounding box enters the first stop zone or the second stop zone, the judging whether the target bounding box enters the first stop zone can be performed simultaneously with the judging whether the target bounding box enters the second stop zone, or they can be performed one after the other. Specifically, after judging whether the target bounding box enters the first stop zone, the current judgment area is changed to the second stop zone, and then the vertex coordinates of the target bounding box are input to judge whether the target bounding box enters the second stop zone; the judging whether the target bounding box enters the first deceleration zone or the second deceleration zone can be performed simultaneously, or they can be performed one after the other, and the judging whether the target bounding box enters the first early warning prompt zone or the second early warning prompt zone can be performed simultaneously, or they can be performed one after the other.

[0131] Conventional collision detection algorithms are separation axis algorithms or obb bounding box algorithms, and conventional algorithms are limited to intersection detection between polygons. The working condition warning area of ​​the present invention is an irregular convex sector, so steps E1 to E4 are used to detect the positional relationship between the target bounding box and the judgment area.

[0132] like Figure 5 As shown, (a) is a schematic diagram of the structure of the intersection of the target bounding box and the determination area when the vertex of the target bounding box is not in the determination area, but the point of the boundary of the determination area is in the target bounding box; Figure 5 As shown, (b) is a schematic diagram of the structure of the target bounding box intersecting with the determination area when the vertex of the target bounding box is within the determination area and the point on the boundary of the determination area is within the target bounding box. By adopting the method of steps E1 to E4 of the present invention, it is possible to ensure Figure 5 The intersection of (a) and (b) is accurately judged.

[0133] Embodiment 2

[0134] like Figure 6-Figure 8 As shown, a boom active collision avoidance control system based on multi-lidar fusion technology is provided, including: a perception module and a decision module, the decision module including an initial area determination unit, a working condition area determination unit, a point cloud processing unit, a target bounding box construction unit and an instruction issuing unit.

[0135] A perception module, comprising at least two laser radars, which are mounted on the portal crane where the boom is located and are used to scan obstacles;

[0136] The initial area determination unit is used to establish the initial warning area of ​​the boom.

[0137] A working condition area determination unit, used to adjust the size and position of the initial warning area of ​​the boom based on the received action data of the front end of the boom during operation, and obtain the working condition warning area of ​​the boom in the current action state;

[0138] A point cloud processing unit is used to obtain the point cloud data of each laser radar, and fuse and cluster all the point cloud data to obtain at least one target point cloud cluster;

[0139] A target bounding box construction unit is used to use a bounding box algorithm to obtain a minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds one-to-one with the target point cloud cluster, and use the minimum rectangular bounding box as the target bounding box;

[0140] The instruction issuing unit is used to determine whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issue a corresponding active collision avoidance instruction according to the entry position of the target bounding box.

[0141] As an option, the present invention includes three 16-line laser radars for scanning and detecting the real scene point cloud map during the operation of the boom and obtaining the boom posture information; the hardware in the decision module uses an industrial computer as a computing platform, which is responsible for receiving the point cloud data of the laser radar, the position signal of the gantry boom, etc., executing the control algorithm and inputting the final active anti-collision instruction to the execution module.

[0142] The boom active collision avoidance control system based on multi-laser radar fusion technology also includes an execution module, which includes a PLC controller, a frequency converter and a motor; the PLC controller receives the active collision avoidance command issued by the decision module, and transmits the active collision avoidance command to the motor through the frequency converter, and after receiving the command, the motor controls the boom to execute the action of the active collision avoidance command.

[0143] The PLC controller acquires the gantry crane's amplitude change, rotation and other posture information in real time, and sends it to the decision-making module for processing via Ethernet. The decision-making module acquires the gantry crane's position information in real time, establishes the gantry crane boom's working condition warning area based on the basic principles of the braking process, the gantry crane's basic parameters and the characteristics of the safety anti-collision system, and determines whether the obstacle target is within the safety anti-collision area based on the anti-collision detection algorithm. When the safety conditions are not met, the corresponding control instructions are sent to the PLC controller. After receiving the control instructions from the decision-making module, the PLC controller implements data conversion according to the control intent and sends the data to the underlying actuator to complete the active anti-collision function of the gantry crane boom.

[0144] In some other embodiments, the target point cloud cluster can intuitively observe obstacle information through the human-computer exchange interface, and the positional relationship between the target bounding box and the working condition warning area can also be intuitively displayed on the human-computer exchange interface.

[0145] For more specific processes of the above method, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0146] In another embodiment, the present invention provides a computer device, including a processor and a memory; wherein, when the processor executes the computer program stored in the memory, the steps of the above-mentioned boom active avoidance collision control method based on multi-laser radar fusion technology are implemented.

[0147] For more specific processes of the above method, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0148] In another embodiment, the present invention provides a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, the steps of the above-mentioned boom active avoidance collision control method based on multi-laser radar fusion technology are implemented.

[0149] For more specific processes of the above method, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0150] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system, device, and storage medium disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0151] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0152] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. The boom active anti-collision control method based on multi-laser radar fusion technology is characterized by: include: Establishing the initial warning area of ​​the boom; Based on the received motion data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current motion state; Install at least two laser radars for scanning obstacles on the portal crane where the boom is located; Obtain the point cloud data of each laser radar, fuse and cluster all the point cloud data, and obtain at least one target point cloud cluster; Using the bounding box algorithm, obtain the minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds to the target point cloud cluster one by one, and use the minimum rectangular bounding box as the target bounding box; Determine whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issue a corresponding active collision avoidance instruction according to the entry position of the target bounding box; The initial warning area of ​​the boom is established, wherein the initial warning area includes a rotation warning area and a luffing warning area; The rotation warning area is fan-shaped, and the amplitude change warning area is fan-shaped; there are two rotation warning areas, which are located on the left and right sides of the boom respectively; the amplitude change warning area is located on the front side of the boom head; The rotation warning area includes a first warning prompt area, a first deceleration area and a first stop area; the amplitude change warning area includes a second warning prompt area, a second deceleration area and a second stop area; When establishing the initial warning area of ​​the boom, the initial sizes of the rotation warning area and the amplitude change warning area are set according to expert experience; Based on the received action data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current action state: The action data of the front end of the boom during operation includes the rotation angle of the boom and the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs luffing operation; Adjusting the size of the boom initial warning area includes adjusting the radius length of the rotation warning area and the outer radius length of the fan ring of the amplitude change warning area; Adjust the position of the initial warning area based on the rotation angle of the boom; Based on the boom's movement speed, the motor's output frequency and the boom's telescopic length when the boom performs a luffing operation, the fan ring outer radius length of the boom's luffing warning area is adjusted; based on the boom's telescopic length when the boom performs a luffing operation, the radius length of the boom's rotation warning area is adjusted; In the adjusting of the radius length of the rotation warning area of ​​the boom, real-time adjustment is performed according to a set linear relationship between the telescopic length of the boom and the radius length of the rotation warning area; The fan ring outer radius length of the boom amplitude change warning area includes the fan ring outer radius length of the second warning prompt area, the fan ring outer radius length of the second deceleration area, and the fan ring outer radius length of the second stop area; The outer radius length of the fan ring of the second warning prompt area changes linearly with the telescopic length of the boom; The outer radius length L1 of the sector ring of the second deceleration zone is: ; in, is the outer radius length of the initial fan ring in the second deceleration zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance the front end of the boom travels when the current movement speed drops to the set intermediate deceleration speed. is the current movement speed of the front end of the boom, is the set deceleration time, When the boom is performing luffing operations, the output frequency of the motor is The maximum output frequency of the motor when performing luffing operation for the boom; The outer radius length L2 of the sector ring of the second stop zone is: ; in, is the outer radius length of the initial fan ring of the second stop zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance traveled by the front end of the boom when the current movement speed drops to zero. The motor output frequency corresponding to the boom being at the middle deceleration speed; The step of obtaining the point cloud data of each laser radar, fusing and clustering all the point cloud data, and obtaining at least one target point cloud cluster includes: Obtain the point cloud data of each laser radar and pre-process the point cloud data; All pre-processed point cloud data are subjected to coarse and fine registration to determine the optimal transformation matrix, and all point cloud data are fused according to the optimal transformation matrix; Perform dimension reduction and downsampling operations on the fused point cloud data to obtain dimension-reduced point cloud data from a two-dimensional bird's-eye view; Cluster the reduced-dimensional point cloud data using the HDBSCAN algorithm to generate multiple point cloud clusters; Determine whether the number of point clouds in each point cloud cluster exceeds the set filtering threshold, and define the point cloud cluster that exceeds the filtering threshold as the target point cloud cluster; The determining whether the target bounding box enters the working condition warning area and issuing a corresponding active collision avoidance instruction according to the entry position of the target bounding box when the target bounding box enters the working condition warning area includes: For each target bounding box, a determination operation is performed to determine whether it enters the working condition warning area; The determination operation of whether to enter the working condition warning area is as follows: Determine whether the target enclosing box enters the first stop zone or the second stop zone, if so, output a stop signal, if not, determine whether the target enclosing box enters the first deceleration zone or the second deceleration zone, if so, output a deceleration signal, if not, determine whether the target enclosing box enters the first warning prompt zone or the second warning prompt zone, if so, output a warning prompt signal, if not, output a normal driving signal; One of the first stop zone, the second stop zone, the first deceleration zone, the second deceleration zone, the first warning prompt zone and the second warning prompt zone is a current determination zone; Determining whether the target bounding box enters the current determination area includes the following steps: E1: Get the vertex coordinates of the target bounding box; E2: Determine whether the vertex coordinates of the target bounding box are within the current determination area. If so, proceed to step E4; if not, proceed to step E3; E3: Determine whether the coordinates of the selected point on the boundary of the current determination area are within the target bounding box. If so, proceed to step E4. If not, the target bounding box does not enter the current determination area. E4: Determine whether the number of point clouds in the target bounding box is greater than the set threshold. If so, the target bounding box enters the current determination area. If not, the target bounding box does not enter the current determination area.

2. The boom active collision avoidance control method based on multi-laser radar fusion technology according to claim 1 is characterized in that: The second warning prompt area, the second deceleration area and the second stop area are all in the shape of a fan ring and are close to the head of the boom from the outside to the inside; the first warning prompt area, the first deceleration area and the first stop area are close to the left side or the right side of the boom from the outside to the inside; The first warning prompt area is fan-shaped, the first deceleration area and the first stop area are fan-ring shaped, and a fan-ring shaped emergency braking area is provided at the tail of the first deceleration area and the first stop area. The fan-ring width of the emergency braking area remains unchanged during the boom movement.

3. The boom active anti-collision control system based on multi-laser radar fusion technology is characterized by: include: A perception module and a decision module, wherein the decision module includes an initial area determination unit, a working condition area determination unit, a point cloud processing unit, a target bounding box construction unit and an instruction issuing unit; A perception module, comprising at least two laser radars, which are mounted on the portal crane where the boom is located and are used to scan obstacles; The initial area determination unit is used to establish the initial warning area of ​​the boom. A working condition area determination unit, used to adjust the size and position of the initial warning area of ​​the boom based on the received action data of the front end of the boom during operation, and obtain the working condition warning area of ​​the boom in the current action state; A point cloud processing unit is used to obtain the point cloud data of each laser radar, and fuse and cluster all the point cloud data to obtain at least one target point cloud cluster; A target bounding box construction unit is used to use a bounding box algorithm to obtain a minimum rectangular bounding box that is wrapped outside the target point cloud cluster and corresponds one-to-one with the target point cloud cluster, and use the minimum rectangular bounding box as the target bounding box; The command issuing unit is used to determine whether the target bounding box enters the working condition warning area, and when the target bounding box enters the working condition warning area, issue a corresponding active collision avoidance command according to the entry position of the target bounding box; The initial warning area of ​​the boom is established, wherein the initial warning area includes a rotation warning area and a luffing warning area; The rotation warning area is fan-shaped, and the amplitude change warning area is fan-shaped; there are two rotation warning areas, which are located on the left and right sides of the boom respectively; the amplitude change warning area is located on the front side of the boom head; The rotation warning area includes a first warning prompt area, a first deceleration area and a first stop area; the amplitude change warning area includes a second warning prompt area, a second deceleration area and a second stop area; When establishing the initial warning area of ​​the boom, the initial sizes of the rotation warning area and the amplitude change warning area are set according to expert experience; Based on the received action data of the front end of the boom during operation, the size and position of the initial warning area of ​​the boom are adjusted to obtain the working condition warning area of ​​the boom in the current action state: The action data of the front end of the boom during operation includes the rotation angle of the boom and the movement speed of the boom, the output frequency of the motor and the telescopic length of the boom when the boom performs luffing operation; Adjusting the size of the boom initial warning area includes adjusting the radius length of the rotation warning area and the outer radius length of the fan ring of the amplitude change warning area; Adjust the position of the initial warning area based on the rotation angle of the boom; Based on the boom's movement speed, the motor's output frequency and the boom's telescopic length when the boom performs a luffing operation, the fan ring outer radius length of the boom's luffing warning area is adjusted; based on the boom's telescopic length when the boom performs a luffing operation, the radius length of the boom's rotation warning area is adjusted; In the adjusting of the radius length of the rotation warning area of ​​the boom, real-time adjustment is performed according to a set linear relationship between the telescopic length of the boom and the radius length of the rotation warning area; The fan ring outer radius length of the boom amplitude change warning area includes the fan ring outer radius length of the second warning prompt area, the fan ring outer radius length of the second deceleration area, and the fan ring outer radius length of the second stop area; The outer radius length of the fan ring of the second warning prompt area changes linearly with the telescopic length of the boom; The outer radius length L1 of the sector ring of the second deceleration zone is: ; in, is the outer radius length of the initial fan ring in the second deceleration zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance the front end of the boom travels when the current movement speed drops to the set intermediate deceleration speed. is the current movement speed of the front end of the boom, is the set deceleration time, When the boom is performing luffing operations, the output frequency of the motor is The maximum output frequency of the motor when performing luffing operation for the boom; The outer radius length L2 of the sector ring of the second stop zone is: ; in, is the outer radius length of the initial fan ring of the second stop zone when the boom is in a stationary state, When the boom is performing luffing operation, the distance traveled by the front end of the boom when the current movement speed drops to zero. The motor output frequency corresponding to the boom being at the middle deceleration speed; The step of obtaining the point cloud data of each laser radar, fusing and clustering all the point cloud data, and obtaining at least one target point cloud cluster includes: Obtain the point cloud data of each laser radar and pre-process the point cloud data; All pre-processed point cloud data are subjected to coarse and fine registration to determine the optimal transformation matrix, and all point cloud data are fused according to the optimal transformation matrix; Perform dimension reduction and downsampling operations on the fused point cloud data to obtain dimension-reduced point cloud data from a two-dimensional bird's-eye view; Cluster the reduced-dimensional point cloud data using the HDBSCAN algorithm to generate multiple point cloud clusters; Determine whether the number of point clouds in each point cloud cluster exceeds the set filtering threshold, and define the point cloud cluster that exceeds the filtering threshold as the target point cloud cluster; The determining whether the target bounding box enters the working condition warning area and issuing a corresponding active collision avoidance instruction according to the entry position of the target bounding box when the target bounding box enters the working condition warning area includes: For each target bounding box, a determination operation is performed to determine whether it enters the working condition warning area; The determination operation of whether to enter the working condition warning area is as follows: Determine whether the target enclosing box enters the first stop zone or the second stop zone, if so, output a stop signal, if not, determine whether the target enclosing box enters the first deceleration zone or the second deceleration zone, if so, output a deceleration signal, if not, determine whether the target enclosing box enters the first warning prompt zone or the second warning prompt zone, if so, output a warning prompt signal, if not, output a normal driving signal; One of the first stop zone, the second stop zone, the first deceleration zone, the second deceleration zone, the first warning prompt zone and the second warning prompt zone is a current determination zone; Determining whether the target bounding box enters the current determination area includes the following steps: E1: Get the vertex coordinates of the target bounding box; E2: Determine whether the vertex coordinates of the target bounding box are within the current determination area. If so, proceed to step E4; if not, proceed to step E3; E3: Determine whether the coordinates of the selected point on the boundary of the current determination area are within the target bounding box. If so, proceed to step E4. If not, the target bounding box does not enter the current determination area. E4: Determine whether the number of point clouds in the target bounding box is greater than the set threshold. If so, the target bounding box enters the current determination area. If not, the target bounding box does not enter the current determination area.

4. The boom active collision avoidance control system based on multi-laser radar fusion technology according to claim 3 is characterized in that: It also includes an execution module, which includes a PLC controller, a frequency converter and a motor; the PLC controller receives the active anti-collision instruction issued by the decision module, and transmits the active anti-collision instruction to the motor through the frequency converter, and after receiving the instruction, the motor controls the arm frame to execute the action of the active anti-collision instruction.