Laser point cloud negative obstacle detection method and system for field agricultural robot

LiDAR point cloud technology is combined with point cloud height and curvature information to generate a raster cost map, which solves the problem of negative obstacle detection in agricultural autonomous driving, achieves highly accurate and stable detection results, and ensures safe and efficient operation of the robot. .

CN118566939APending Publication Date: 2024-08-30HANGZHOU DIANZI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410475603.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing agricultural autonomous driving technology is difficult to effectively detect and avoid negative obstacles in fields, such as pits, ravines, and puddles, which pose safety risks, and common detection methods are susceptible to changes in weather and light.

Method used

LiDAR is used to emit laser beams to the ground, receive point cloud data, determine the grid status through point cloud height and curvature information, generate a grid cost map, and determine whether the road conditions ahead are passable. Solid-state LiDAR is used as a detection device, combined with radius filtering. and voxel filtering process point cloud data, determine slopes, pits and water surface grids, and re-plan the robot's path to avoid obstacles.

Benefits of technology

It improves the accuracy and efficiency of detection, reduces the impact on changes in weather, temperature and light, ensuring the safety and operating efficiency of robots in the field, with low cost and high universality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566939A
    Figure CN118566939A
Patent Text Reader

Abstract

The invention belongs to the technical field of unmanned driving, and particularly relates to a laser point cloud negative obstacle detection method and system for a field agricultural robot. The method comprises the following steps: S1, transmitting a laser beam to the ground by using a laser radar, and receiving point cloud data returned by the laser beam; the laser radars are arranged at the front and rear ends of the top of the robot; s2, preprocessing the point cloud data; and judging the grid state in the grid cost map according to the preprocessed point cloud data, and judging whether the vehicle can pass through the front road condition or not according to the grid state. The method has the advantages of being not prone to being influenced by the external environment, high in detection accuracy and high in efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of unmanned driving, and in particular relates to a laser point cloud negative obstacle detection method and system for a field agricultural robot. Background Art

[0002] Nowadays, mobile robots have penetrated into all walks of life and are widely used in military, manufacturing, medical, service and other fields. However, common robots can only be used in smooth and unobstructed occasions. Mobile robots often find it difficult to cope with negative obstacles (such as pits, gullies, cliffs and other potholes below the road surface) and puddles in large fields in agricultural scenes. If the robot cannot effectively detect negative obstacles, there will be safety hazards.

[0003] At present, the methods for detecting negative obstacles are mainly deep learning-based visual detection methods and methods that use infrared light to detect negative obstacles at night. Among them, the deep learning-based visual detection method has high requirements for the lighting in the environment and is easily affected by weather changes; the method of using infrared light to detect negative obstacles at night is only effective at night, and changes in temperature and weather have a greater impact on this method.

[0004] Therefore, how to detect negative obstacles stably and efficiently has become a difficult problem that needs to be solved urgently in the field of agricultural autonomous driving. Summary of the invention

[0005] The present invention aims to overcome the problem in the prior art that negative obstacles are difficult to detect and avoid, thus easily causing safety hazards, and provides a laser point cloud negative obstacle detection method and system for field agricultural robots that is not easily affected by the external environment and has high detection accuracy and efficiency.

[0006] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solutions:

[0007] The laser point cloud negative obstacle detection method for field agricultural robots includes the following steps:

[0008] S1, using a laser radar to emit a laser beam to the ground and receive point cloud data returned by the laser beam; the laser radar is arranged at the front and rear ends of the top of the robot;

[0009] S2, preprocessing the point cloud data; judging the grid state in the grid cost map according to the preprocessed point cloud data, and judging whether the road ahead is passable according to the grid state.

[0010] Preferably, in step S2, the basic unit in the grid cost map is a grid, the grid cost map divides the entire map into multiple grids, each grid size is 10cm*10cm, the initial state of the grid is an unknown grid, and the robot updates the grid state according to the point cloud data information;

[0011] Among them, the updated grid states include inclined grids, pit grids, water surface grids and plane grids; inclined grids, pit grids and water surface grids are all inaccessible grids for robots, and plane grids are accessible grids.

[0012] Preferably, step S2 includes a method for determining an inclined grid, and the method for determining an inclined grid includes the following steps:

[0013] S201, calculating the curvature information relationship between the point cloud and surrounding point clouds based on the point cloud data information, comparing the point cloud curvature information with a set curvature threshold, determining that the point cloud with a curvature greater than the curvature threshold is an edge point cloud, and the point cloud with a curvature less than or equal to the curvature threshold is a plane point cloud;

[0014] S202, preprocessing the point cloud obtained by scanning; the preprocessing includes radius filtering and voxel filtering, which are used to filter outlier point clouds;

[0015] S203, comparing the number of edge point clouds in the grid with a set first threshold, if it is greater than the first threshold, updating the corresponding grid to a slope grid; the value range of the first threshold is 10-30.

[0016] Preferably, in step S201, the specific steps of calculating the curvature between the point cloud and the surrounding point clouds are as follows:

[0017] S2011, select a number of point clouds around the target point cloud to be calculated as a point set P;

[0018] S2012, selecting a beam scanning point set S;

[0019] S2013, the calculation formula of the point cloud curvature c is obtained as:

[0020]

[0021] Among them, X (k,i) , X (k,j) are the coordinates of point i and point j in the point set P in the radar coordinate system; S is the continuous point set obtained by beam scanning; |S| is the number of points in the point set S.

[0022] Preferably, step S2 further includes a method for determining a pit grid, and the method for determining a pit grid includes the following steps:

[0023] S211, calculating the height average of the plane point cloud according to the point cloud data information;

[0024] S212, traversing each point cloud height, comparing the point cloud height with the height mean to obtain a height difference, and when the height difference is greater than a set height threshold, determining that the corresponding point cloud is a negative obstacle point cloud;

[0025] S213, comparing the number of negative obstacle point clouds in the grid with a set second threshold, if it is greater than the second threshold, updating the corresponding grid to a negative obstacle grid;

[0026] Among them, the value range of the height threshold is 10cm-30cm; the value range of the second threshold is 20-50.

[0027] Preferably, step S2 also includes a method for determining a water surface grid, and the method for determining a water surface grid includes the following steps:

[0028] S221, setting an effective detection range on the ground, and detecting a valid point cloud within the range;

[0029] S222, for the detected area without point cloud, using a clustering algorithm to divide the area without point cloud into cluster objects of the water surface, and at the same time separate and filter out the discrete point cloud on the water surface;

[0030] S223, comparing the number of point clouds in the grid with a set third threshold within the effective detection range, if it is less than the third threshold, updating the corresponding grid to a water surface grid; the value range of the third threshold is 40-60.

[0031] Preferably, in step S221, the effective detection range is an area with a radius of 0-30 meters with the agricultural robot as the center.

[0032] Preferably, in step S2, judging whether the road ahead is passable by the grid state specifically includes the following steps:

[0033] S231, calculating the moving direction of the robot and making an extension line along the moving direction of the robot; the moving direction refers to the direction of the instantaneous speed of the robot;

[0034] S232, if the extension line in the moving direction of the robot passes through three or more impassable grids, it is determined that the road condition ahead is an impassable area;

[0035] S233, performing an expansion operation on the inaccessible area to expand the contour range of the inaccessible area, and replanning the robot path to avoid the inaccessible area.

[0036] The present invention also provides a laser point cloud negative obstacle detection system for a field agricultural robot, comprising:

[0037] The laser transmitting and receiving module is used to transmit a laser beam to the ground using a laser radar and receive point cloud data returned by the laser beam;

[0038] The data processing module is used to pre-process the point cloud data; determine the grid state in the grid cost map according to the pre-processed point cloud data, and determine whether the road ahead is passable through the grid state.

[0039] Compared with the prior art, the present invention has the following advantages: (1) the present invention combines point cloud height with curvature information to improve detection accuracy; (2) the present invention adopts solid-state laser radar as detection equipment, which has low cost and high universality; (3) the present invention can effectively ensure the safety of mobile robots in large fields and improve the robot's operating efficiency; (4) the present invention only uses laser radar as a sensor and does not rely on color cameras and infrared light detection. Therefore, changes in weather, temperature and light have little effect on the detection results, and the detection results are stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flow chart of the laser point cloud negative obstacle detection method for a field agricultural robot in the present invention;

[0041] Figure 2 A flow chart for detecting a slope grid in the present invention;

[0042] Figure 3 A flow chart of detecting pit grids in the present invention;

[0043] Figure 4 A flow chart for detecting water surface grids in the present invention;

[0044] Figure 5 A flow chart of the local path planning of the robot in the present invention;

[0045] Figure 6 A top view of a schematic diagram of laser radar installation in the present invention;

[0046] Figure 7 A side view of the laser radar installation schematic diagram in the present invention.

[0047] In the figure: laser radar 1, laser beam 2, vehicle chassis 3, negative obstacle area 4. DETAILED DESCRIPTION

[0048] In order to more clearly illustrate the embodiments of the present invention, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other accompanying drawings and other implementation methods can be obtained based on these accompanying drawings without creative work.

[0049] Example:

[0050] like Figure 1 As shown, the present invention provides a laser point cloud negative obstacle detection method for a field agricultural robot, comprising the following steps:

[0051] S1, using a laser radar to emit a laser beam to the ground and receive point cloud data returned by the laser beam; the laser radar is arranged at the front and rear ends of the top of the robot;

[0052] S2, preprocessing the point cloud data; judging the grid state in the grid cost map according to the preprocessed point cloud data, and judging whether the road ahead is passable according to the grid state.

[0053] In the embodiment of the present invention, point cloud data is obtained by extracting ground data from two laser radars on the roof. The arrangement and collection method of the two laser radars are as follows: Figure 6 , Figure 7 As shown, the laser radar 1 is a solid-state radar, which is located above the vehicle chassis 3. The laser radar emits a laser beam 2, and extracts information about the ground negative obstacle area 4 based on the returned collected point cloud data.

[0054] Among them, the point cloud information obtained by the lidar should include basic information such as the x, y, z of the point cloud and the reflectivity of the object.

[0055] In step S2, the basic unit in the grid cost map is a grid. The grid cost map divides the entire map into multiple grids, each grid size is 10cm*10cm, the initial state of the grid is an unknown grid, and the robot updates the grid state according to the point cloud data information;

[0056] Among them, the updated grid states include slope grids, pit grids, water surface grids and plane grids; slope grids, pit grids and water surface grids are all inaccessible grids for robots, and plane grids are accessible grids

[0057] Further, such as Figure 2 As shown, step S2 includes a method for determining an inclined grid, and the method for determining an inclined grid includes the following steps:

[0058] S201, calculating the curvature information relationship between the point cloud and surrounding point clouds based on the point cloud data information, comparing the point cloud curvature information with a set curvature threshold, determining that the point cloud with a curvature greater than the curvature threshold is an edge point cloud, and the point cloud with a curvature less than or equal to the curvature threshold is a plane point cloud;

[0059] S202, preprocessing the point cloud obtained by scanning; the preprocessing includes radius filtering and voxel filtering, which are used to filter outlier point clouds;

[0060] S203, comparing the number of edge point clouds in the grid with a set first threshold, if it is greater than the first threshold, updating the corresponding grid to a slope grid, otherwise to a plane grid; the value range of the first threshold is 10-30.

[0061] Among them, the curvature threshold is related to the climbing ability of the mobile robot. The wheeled robot has weak climbing ability and is set below 15, while the tracked robot has strong climbing ability and is set below 30.

[0062] In step S202, radius filtering can filter out outlier point clouds. The radius in the radius filtering is 10 cm, and the number of point clouds within the radius is 30. All point clouds in the point cloud are traversed. When a certain point cloud is taken as the center of the circle and the radius is 10 cm, if the number of point clouds in the sphere is less than 30, the point cloud is determined to be an outlier point cloud and filtered out.

[0063] Voxel filtering can reduce the number of point clouds and the amount of calculation. Voxel filtering divides the point cloud into multiple regions according to a certain voxel grid size, averages the coordinates of all point clouds in the voxel, and replaces the coordinates of all points in the voxel with the coordinates of the average value.

[0064] Among them, the voxel grid size can be adjusted according to the actual situation. In areas with fewer features such as plane areas, the voxel grid size is 3cm*3cm*3cm to enhance the filtering effect; in areas with more features such as slope areas or edge areas, the voxel grid size is 2cm*2cm*2cm to retain more feature points.

[0065] Furthermore, in step S201, the specific steps of calculating the curvature between the point cloud and the surrounding point clouds are as follows:

[0066] S2011, select a number of point clouds around the target point cloud to be calculated as a point set P;

[0067] S2012, selecting a beam scanning point set S;

[0068] S2013, the calculation formula of the point cloud curvature c is obtained as:

[0069]

[0070] Among them, X (k,i) , X (k,j) are the coordinates of point i and point j in the point set P in the radar coordinate system; S is the continuous point set obtained by beam scanning; |S| is the number of points in the point set S;

[0071] The point cloud curvature is the curvature in the direction of maximum curvature on the fitting surface.

[0072] Further, such as Figure 3As shown, step S2 also includes a method for determining a pit grid, and the method for determining a pit grid includes the following steps:

[0073] S211, calculating the height average of the plane point cloud according to the point cloud data information;

[0074] S212, traversing each point cloud height, comparing the point cloud height with the height mean to obtain a height difference, and when the height difference is greater than a set height threshold, determining that the corresponding point cloud is a negative obstacle point cloud;

[0075] S213, comparing the number of negative obstacle point clouds in the grid with a set second threshold, if it is greater than the second threshold, updating the corresponding grid to a negative obstacle grid, otherwise to a plane grid;

[0076] Among them, the value range of the height threshold is 10cm-30cm; the value range of the second threshold is 20-50.

[0077] The height mean is the arithmetic mean of the heights of all laser point clouds in the radar coordinate system. Since the road surface is mostly a flat area, the required height mean will be closer to the ground height of the flat area. The advantage of this method is that the height mean can be dynamically adjusted according to the actual road conditions.

[0078] The radar coordinate system is a coordinate system established with the radar as the origin. The original coordinate value returned by the laser point cloud is the coordinate in the radar coordinate system. The z value of the coordinate can intuitively reflect the vertical distance of the point cloud from the radar. Therefore, it is more accurate to use the z value in the radar coordinate system as a reference for the point cloud height.

[0079] The height threshold is related to the travelable height range of the mobile robot. The height threshold for wheeled robots with a smaller travel height range is 10cm-15cm, and the height threshold for tracked robots with a larger travel height range is 20cm-30cm.

[0080] The second threshold is an important basis for judging whether a grid is a pit grid. The optional range of the second threshold is 10-30. When the number of pit point clouds in the same grid is greater than the second threshold, the grid is updated to a pit grid.

[0081] Further, such as Figure 4 As shown, step S2 also includes a method for determining a water surface grid, and the method for determining a water surface grid includes the following steps:

[0082] S221, setting an effective detection range on the ground and detecting a valid point cloud within the range; the effective detection range is an area with a radius of 0-30 meters with the agricultural robot as the center;

[0083] S222, for the detected area without point cloud, using a clustering algorithm to divide the area without point cloud into a cluster object of the water surface, and at the same time separate and filter out the discrete point cloud on the water surface; the area without point cloud is formed because the laser radar cannot receive the returned laser signal due to the reflection of the water surface as a mirror reflection;

[0084] Since the water surface is mirror-reflective, the laser emitted by the lidar cannot return to be received by the lidar after irradiating the water surface. Therefore, density-based clustering algorithms such as DBSCAN can efficiently separate some discrete point clouds on the water surface and remove them.

[0085] S223, comparing the number of point clouds in the grid with a set third threshold within the effective detection range, if it is less than the third threshold, updating the corresponding grid to a water surface grid; the value range of the third threshold is 40-60.

[0086] Further, such as Figure 5 As shown, in step S2, judging whether the road ahead is passable by the grid state specifically includes the following steps:

[0087] S231, calculating the moving direction of the robot and making an extension line along the moving direction of the robot; the moving direction refers to the direction of the instantaneous speed of the robot;

[0088] S232, if the extension line in the moving direction of the robot passes through three or more impassable grids, it is determined that the road condition ahead is an impassable area;

[0089] S233, performing an expansion operation on the inaccessible area to expand the contour range of the inaccessible area, and replanning the robot path to avoid the inaccessible area.

[0090] Among them, the expansion operation can ensure that the robot avoids negative obstacles, and the expansion range should be slightly larger than half the width of the vehicle.

[0091] The present invention also provides a laser point cloud negative obstacle detection system for a field agricultural robot, comprising:

[0092] The laser transmitting and receiving module is used to transmit a laser beam to the ground using a laser radar and receive point cloud data returned by the laser beam;

[0093] The data processing module is used to pre-process the point cloud data; determine the grid state in the grid cost map according to the pre-processed point cloud data, and determine whether the road ahead is passable through the grid state.

[0094] The present invention combines point cloud height with curvature information to improve detection accuracy; the present invention adopts solid-state laser radar as detection equipment, which has low cost and high universality; the present invention can effectively ensure the safety of mobile robots in large fields and improve the robot's operating efficiency; the present invention only uses laser radar as a sensor and does not rely on color cameras and infrared light detection, so weather, temperature and light changes have little effect on the detection results, and the detection results are stable.

[0095] The above description is only a detailed description of the preferred embodiments and principles of the present invention. For ordinary technicians in this field, according to the ideas provided by the present invention, there will be changes in the specific implementation methods, and these changes should also be regarded as the protection scope of the present invention.

Claims

1. A laser point cloud negative obstacle detection method for field agricultural robots, characterized in that: The steps include: S1, using a laser radar to emit a laser beam to the ground and receive point cloud data returned by the laser beam; the laser radar is arranged at the front and rear ends of the top of the robot; S2, preprocessing the point cloud data; judging the grid state in the grid cost map according to the preprocessed point cloud data, and judging whether the road ahead is passable according to the grid state.

2. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 1, characterized in that: In step S2, the basic unit in the grid cost map is a grid. The grid cost map divides the entire map into multiple grids, each grid size is 10cm*10cm, the initial state of the grid is an unknown grid, and the robot updates the grid state according to the point cloud data information; Among them, the updated grid states include inclined grids, pit grids, water surface grids and plane grids; inclined grids, pit grids and water surface grids are all inaccessible grids for robots, and plane grids are accessible grids.

3. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 2, characterized in that: Step S2 includes a method for determining an inclined grid, and the method for determining an inclined grid includes the following steps: S201, calculating the curvature information relationship between the point cloud and surrounding point clouds based on the point cloud data information, comparing the point cloud curvature information with a set curvature threshold, determining that the point cloud with a curvature greater than the curvature threshold is an edge point cloud, and the point cloud with a curvature less than or equal to the curvature threshold is a plane point cloud; S202, preprocessing the point cloud obtained by scanning; the preprocessing includes radius filtering and voxel filtering, which are used to filter outlier point clouds; S203, comparing the number of edge point clouds in the grid with a set first threshold, if it is greater than the first threshold, updating the corresponding grid to a slope grid; the value range of the first threshold is 10-30.

4. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 3, characterized in that: In step S201, the specific steps of calculating the curvature between the point cloud and the surrounding point clouds are as follows: S2011, select a number of point clouds around the target point cloud to be calculated as a point set P; S2012, selecting a beam scanning point set S; S2013, the calculation formula of the point cloud curvature c is obtained as: Among them, X (k,i) , X (k,j) are the coordinates of point i and point j in the point set P in the radar coordinate system; S is the continuous point set obtained by beam scanning; |S| is the number of points in the point set S.

5. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 2, characterized in that: Step S2 also includes a method for determining a pit grid, and the method for determining a pit grid includes the following steps: S211, calculating the height average of the plane point cloud according to the point cloud data information; S212, traversing each point cloud height, comparing the point cloud height with the height mean to obtain a height difference, and when the height difference is greater than a set height threshold, determining that the corresponding point cloud is a negative obstacle point cloud; S213, comparing the number of negative obstacle point clouds in the grid with a set second threshold, if it is greater than the second threshold, updating the corresponding grid to a negative obstacle grid; Among them, the value range of the height threshold is 10cm-30cm; the value range of the second threshold is 20-50.

6. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 2, characterized in that: Step S2 also includes a method for determining a water surface grid, and the method for determining a water surface grid includes the following steps: S221, setting an effective detection range on the ground, and detecting a valid point cloud within the range; S222, for the detected area without point cloud, using a clustering algorithm to divide the area without point cloud into cluster objects of the water surface, and at the same time separate and filter out the discrete point cloud on the water surface; S223, comparing the number of point clouds in the grid with a set third threshold within the effective detection range, if it is less than the third threshold, updating the corresponding grid to a water surface grid; the value range of the third threshold is 40-60.

7. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 6, characterized in that: In step S221, the effective detection range is an area with a radius of 0-30 meters with the agricultural robot as the center.

8. The laser point cloud negative obstacle detection method for field agricultural robots according to claim 2, characterized in that: In step S2, judging whether the road ahead is passable by the grid state specifically includes the following steps: S231, calculating the moving direction of the robot and making an extension line along the moving direction of the robot; the moving direction refers to the direction of the instantaneous speed of the robot; S232, if the extension line in the moving direction of the robot passes through three or more impassable grids, it is determined that the road condition ahead is an impassable area; S233, performing an expansion operation on the inaccessible area to expand the contour range of the inaccessible area, and replanning the robot path to avoid the inaccessible area.

9. A laser point cloud negative obstacle detection system for a field agricultural robot, used to implement the laser point cloud negative obstacle detection method for a field agricultural robot according to any one of claims 1 to 8, characterized in that: The laser point cloud negative obstacle detection system for field agricultural robots includes: The laser transmitting and receiving module is used to transmit a laser beam to the ground using a laser radar and receive point cloud data returned by the laser beam; The data processing module is used to pre-process the point cloud data; determine the grid state in the grid cost map according to the pre-processed point cloud data, and determine whether the road ahead is passable through the grid state.