Ranging method, laser radar, device and storage medium

By establishing a calibration table and using the fitted distance value to correct the ranging value output by the lidar, the problem of low lidar ranging accuracy is solved and a more stable point cloud shape and higher ranging accuracy are achieved.

CN118584499BActive Publication Date: 2024-10-22SHENZHEN CAMSENSE TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The calibration algorithm in the existing lidar ranging system is complex, has many parameters, and requires a large amount of calculation, resulting in low ranging accuracy and the inability to obtain a stable point cloud shape.

Method used

Establish a calibration table for distance calibration, including calibration data at multiple different calibration distances. Calculate the fitting distance value through the measured distance and reflection value output by the lidar, which is used to correct the ranging value of the lidar.

Benefits of technology

It improves the accuracy of lidar ranging, obtains a more stable and good point cloud shape, and enhances the accuracy of ranging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584499B_ABST
    Figure CN118584499B_ABST
Patent Text Reader

Abstract

The present invention discloses a distance measurement method, a laser radar, a device and a storage medium. The method comprises: establishing a calibration table for distance calibration, wherein the calibration table comprises calibration data at multiple different calibration distances, and the calibration data at each calibration distance comprises a calibration point, a calibration distance, a measured distance and a reflection value of each calibration target with different reflectivity, and a fitting distance value of each calibration target, wherein the measured distance and the reflection value are data output by the laser radar at the calibration distance, and the fitting distance value is calculated based on the measured distance and the reflection value of each calibration target; when the laser radar measures the distance of a target object, obtaining an original distance measurement value and a measured reflection value of the target object output by the laser radar; and correcting the original distance measurement value based on the calibration table, the original distance measurement value and the measured reflection value to obtain a corrected distance measurement value of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a distance measurement method, a laser radar, an autonomous mobile device and a computer-readable storage medium. Background Art

[0002] The laser radar ranging system is generally composed of a laser transmitter and a receiver. The laser transmitter is controlled by a controller to continuously emit pulse signals to the target object (such as obstacles within the laser radar ranging range). The photosensitive device at the receiving end receives the light energy information and calculates the distance from the laser radar to the target object through the time difference between the two.

[0003] The calibration algorithm in the existing technology is too complicated, has too many parameters, and requires a large amount of calculation. In addition, during the laser radar ranging process, a stable and good point cloud morphology cannot be obtained, resulting in a large deviation between the measured distance obtained by the laser radar and the actual distance. Summary of the invention

[0004] In order to solve the existing technical problems, the embodiments of the present invention provide a ranging method, a laser radar, an autonomous mobile device and a computer-readable storage medium, which can obtain a more stable and better point cloud morphology, thereby more accurately correcting the ranging of the laser radar and improving the ranging accuracy.

[0005] In a first aspect, a distance measurement method is provided, comprising: establishing a calibration table for distance calibration, wherein the calibration table comprises calibration data at multiple different calibration distances, and the calibration data at each calibration distance comprises a calibration point, a calibration distance, a measured distance and a reflection value of each calibration target with different reflectivity, and a fitting distance value of each calibration target, wherein the measured distance and the reflection value are data output by the laser radar at the calibration distance, and the fitting distance value is calculated based on the measured distance and the reflection value of each calibration target;

[0006] When the laser radar measures the distance of the target object, obtaining the original distance measurement value and the measured reflection value of the target object output by the laser radar;

[0007] Based on the calibration table, the original distance measurement value and the measured reflection value, the original distance measurement value is corrected to obtain a corrected distance measurement value of the target object.

[0008] In a second aspect, a laser radar is provided, comprising at least one processor; and

[0009] a memory communicatively connected to the at least one processor; wherein,

[0010] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the ranging method provided in the embodiment of the present application.

[0011] In a third aspect, an autonomous mobile device is provided, comprising the laser radar provided in an embodiment of the present application.

[0012] In a fourth aspect, a storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the ranging method provided in the embodiments of the present application.

[0013] The embodiments of the present application provide a ranging method, a laser radar, an autonomous mobile device, and a computer-readable storage medium having at least the following beneficial effects: a correction table includes calibration data at multiple different calibration distances, calibration targets with different reflectivities are set at the same calibration distance, and the laser radar outputs the measurement distances and reflection values ​​corresponding to each calibration target at multiple different calibration distances, and the fitting distance value of each calibration target is calculated, so that the original ranging value of the target object in the actual ranging process can be more accurately corrected according to the correction table, and a more stable and better point cloud morphology can be obtained, so that the ranging of the laser radar can be more accurately corrected and the ranging accuracy can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A diagram showing an application environment of a distance measurement method in an embodiment;

[0015] Figure 2 A schematic diagram of the ranging principle of a TOF laser radar in one embodiment;

[0016] Figure 3 is a flow chart of a distance measurement method in one embodiment;

[0017] Figure 4 is a flow chart of a distance measurement method in another embodiment;

[0018] Figure 5 is a flow chart of a distance measurement method based on a correction strategy corresponding to a normal tilt degree in an embodiment;

[0019] Figure 6 A flowchart of determining a precise positioning interval in a ranging method in an embodiment;

[0020] Figure 7 is a flow chart of a distance measurement method based on a correction strategy corresponding to an abnormal tilt degree in an embodiment;

[0021] Figure 8 is a flow chart of calculating a first estimated reflection value and a first estimated target distance value in a distance measurement method in one embodiment;

[0022] Fig. 9 is a flow chart of calculating a second estimated reflection value and a second estimated target distance value in a distance measurement method in one embodiment;

[0023] Fig.10 is a flow chart of a distance measurement method in another embodiment;

[0024] Fig.11 is a schematic diagram of a distance measuring device in one embodiment;

[0025] Fig.12 Schematic diagram of an autonomous mobile device in one embodiment. DETAILED DESCRIPTION

[0026] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the scope of protection of the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0028] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it should be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0029] See also Figure 1 , is an application environment diagram of a ranging method in an embodiment. The ranging method is applied to a laser radar 10, and the laser radar 10 is arranged on an autonomous mobile device 20, for example, in front of the autonomous mobile device 20, to collect obstacles in front of the autonomous mobile device 20. Before the laser radar 10 is arranged on the autonomous mobile device 20, the laser radar 10 is calibrated at different calibration distances to obtain a calibration table, and then the calibration table is pre-stored in the laser radar 10 or the autonomous mobile device 20. During the autonomous operation of the autonomous mobile device 20, the laser radar 10 measures the distance of the target object within the ranging range, and based on the calibration table, the original ranging value output by the laser radar 10 is calibrated to obtain the actual ranging value corresponding to the target object.

[0030] The laser radar 10 includes but is not limited to pulse laser radar, continuous wave laser radar and other laser radars. The laser radar 10 is used to emit a laser beam, so that the laser beam reflects the laser beam after reaching the target object (such as an obstacle within the ranging range), so that the laser radar 10 receives the reflected laser beam, and determines the distance between the laser radar 10 and the target object according to the time difference between sending the laser beam and receiving the emitted laser beam, that is, the original ranging value.

[0031] The autonomous mobile device 20 is a device installed on any type of mobile body capable of autonomous movement, such as a vehicle, electric vehicle, hybrid electric vehicle, motorcycle, bicycle, personal mobile device, airplane, drone, ship or robot, etc.

[0032] In some embodiments, the laser radar 10 includes: a transmitting end (transmitter), a receiving end (receiver), a processor and a rotating mechanism. The transmitting end is a laser transmitting device, such as a gas laser, a solid laser, a semiconductor laser or a free electron laser. The receiving end is a laser receiving device, such as a charge coupled device (CCD). The receiving end can output the measured emission value of the target object.

[0033] Take TOF laser radar as an example to explain the distance measurement principle of laser radar. TOF laser radar determines the measured distance based on the time difference between the emission and reflection of the laser pulse. The TOF sensor is mounted on the laser radar and can be used to realize the distance measurement function. Please refer to Figure 2 , Figure 2 Schematic diagram of the distance measurement principle of TOF laser radar in one embodiment. The TOF distance measurement method mainly uses the laser radar to emit a very short laser beam to the target object, and directly measures the flight time of the laser emission, hitting the target object and then returning to the receiver, that is, Figure 2The T1 shown is the time required for the laser beam to be emitted to the target object, and T2 is the time for the laser beam emitted by the target object to reach the receiving end. Then the value of (T1+T2) multiplied by the speed of light / 2 is calculated, which is the distance from the transmitting end to the target object. Using the TOF ranging method, the photosensitive chip of the laser radar outputs the TOF (Time-of-Flight, referred to as TOF) value, the reflectivity value (Peak value) related to the reflectivity of the material, and the background noise value (Noise value). Among them, the TOF value can be understood as the flight time value of the laser radar to the target object, and the reflectivity value is related to the material, which can be understood as the light intensity value obtained by the photosensitive chip after the laser hits the target object. At the same distance, the light intensity value of the high-reflective material will be greater than that of the low-reflective material. Under the same material, the greater the distance, the higher the TOF value. The physical meaning of the TOF value is the flight time of the laser. According to the TOF value, the original ranging value of the target object output by the laser radar can be calculated.

[0034] See also Figure 3 , is a flow chart of a distance measurement method provided in an embodiment of the present application. The distance measurement method is applied to a laser radar, and the distance measurement method includes the following steps:

[0035] S11. Establish a calibration table for distance calibration.

[0036] Before the laser radar 10 works normally, it is necessary to calibrate the distance. The purpose of distance calibration is to make the original distance value output by the laser radar 10 close to the actual distance value. During the calibration process, a calibration table is obtained, and during the actual ranging process of the laser radar 10, the parameters in the calibration table can be used to correct the original ranging value output by the laser radar 10, so as to obtain a more accurate corrected ranging value.

[0037] In this embodiment, the calibration table includes calibration data at multiple different calibration distances, and the calibration data at each calibration distance includes the calibration point, calibration distance, measurement distance and reflection value of each calibration target with different reflectivity, and fitting distance value of each calibration target, wherein the measurement distance and reflection value are the data output by the laser radar at the calibration distance, and the fitting distance value is calculated based on the measurement distance and reflection value of each calibration target.

[0038] During the calibration process, several calibration distances are set within the range of the laser radar 10. For example, the calibration distances are set at 0.1m, 0.2m, 0.3m, 0.4m, 0.5m, 0.6m, 0.7m, 0.8m, 0.9m, and 1m from the laser radar 10. The calibration distances can be set to different intervals and the number of calibration distances according to the calibration requirements. At the same calibration distance, calibration targets with different reflectivities are set respectively, and the calibration targets are used to reflect the laser beam emitted by the laser radar. In this embodiment, calibration targets of three materials are set, namely, upper, middle, and lower layers. From top to bottom, the materials are lattice target / 3M target, white target, and black target, respectively, wherein the emissivity of the lattice target / 3M target is greater than the emissivity of the white target, and the emissivity of the white target is greater than the emissivity of the black target. Different reflectivity corresponds to different brightness values. The black target has the smallest reflectivity, so the brightness value is the smallest, followed by the white target, and the lattice target has the largest reflectivity, so the brightness value is the largest. Therefore, at the same calibration distance, three calibration points are set, namely, the lattice target / 3M target, the white target, and the black target. According to the order of the calibration distance, the calibration points are numbered in sequence, that is, each calibration point corresponds to a point number.

[0039] At the same calibration distance, the laser radar 10 irradiates the laser onto three different calibration targets, and obtains the measurement distance and emission value corresponding to each calibration target respectively, where the measurement distance and reflection value are the data output by the laser radar 10 at the calibration distance.

[0040] In laser ranging, due to the shape of the laser radar, the transmitting end and the receiving end are not coaxial, but there is a baseline. This makes it impossible for the light spot to fall completely into the photosensitive chip at close distances. At this time, the light energy received by the photosensitive chip comes from the inside of the receiving end lens barrel. At the same time, for high-reflective materials, the returned light spot is larger than that of other materials. Based on this, the phenomenon of the change curve of the original distance value output at close distance may exist. As the distance to the target object increases, the original distance value first increases and then decreases. This characteristic change is not convenient for subsequent analysis. The goal is to make the distribution of the original distance value present better linearity. Therefore, it is necessary to process the measured distance corresponding to each calibration target to obtain the fitted distance value of each calibration target, so as to facilitate more accurate distance correction in the subsequent actual ranging process.

[0041] Due to the SPAD (single photon avalanche diode) characteristics of the photosensitive chip, at the same calibration distance, the measurement distances of different reflectivities are different. Therefore, at the calibration distance point, the three target materials have three different measurement distance change curves. Similarly, the reflection value also has three different distribution change curves.

[0042] Through the above analysis, in some embodiments, based on the measured distance and reflection value of each calibration target, calculating the fitting distance value of each calibration target includes:

[0043] The calibration distance and the measured distance corresponding to the calibration target with the same reflectivity are obtained for fitting, and a calibration distance-measurement distance model is obtained;

[0044] Based on the calibration distance-measurement distance model, the fitting target value corresponding to the calibration target with the same reflectivity is obtained;

[0045] Based on the fitting target value and the corresponding measured distance value corresponding to the calibration target with the same reflectivity, the difference value corresponding to the calibration target with the same reflectivity is obtained;

[0046] The difference value and the corresponding reflection value of the calibration target with the same reflectivity are fitted to obtain a reflection value-fitting distance difference model;

[0047] Based on the reflection values ​​of the calibration targets, input data of a reflection value-fitting distance difference model is formed, and the fitting distance difference corresponding to each calibration target is calculated;

[0048] Based on the fitting distance difference corresponding to each calibration target and the measured distance of the calibration target, the fitting distance value corresponding to each calibration target is calculated.

[0049] Specifically, for a calibration target, the fitting distance value corresponding to the calibration target is the sum of the fitting distance difference value corresponding to the calibration target and the measured distance of the calibration target.

[0050] S12. When the laser radar measures the distance to the target object, an original distance measurement value and a measured reflection value of the target object output by the laser radar are obtained.

[0051] S13. Based on the calibration table, the original distance measurement value and the measured reflection value, the original distance measurement value is corrected to obtain a corrected distance measurement value of the target object.

[0052] In the above embodiment, the correction table includes calibration data at multiple different calibration distances, and calibration targets with different reflectivities are set at the same calibration distance. The laser radar outputs the measurement distance and reflection value corresponding to each calibration target at multiple different calibration distances, and the fitting distance value of each calibration target is calculated, so that the original distance measurement value of the target object in the actual distance measurement process can be corrected more accurately according to the correction table later, and a more stable and better point cloud morphology can be obtained, thereby improving the distance measurement accuracy.

[0053] In some embodiments, Figure 4 FIG. 1 is a flow chart of a distance measurement method provided in an embodiment of the present application. The distance measurement method is applied to a laser radar, and the distance measurement method includes the following steps:

[0054] S11. Establish a calibration table for distance calibration.

[0055] S12. When the laser radar measures the distance to the target object, an original distance measurement value and a measured reflection value of the target object output by the laser radar are obtained.

[0056] S13. Calculate the inclination coefficient, where the inclination coefficient indicates the relationship between the calibration distance and the measurement distance.

[0057] S14: If the tilt coefficient is greater than the preset tilt value, a correction strategy corresponding to a normal tilt is executed.

[0058] In this embodiment, the tilt coefficient indicates the degree of deviation between the calibrated distance and the measured distance. The larger the tilt coefficient, the smaller the deviation. If the tilt coefficient is greater than the preset tilt value, the correction strategy corresponding to the normal tilt is executed, which means that the reflection value output by the laser radar can no longer be trusted, and the estimated distance value and the estimated deviation value need to be inferred based on the correction table, so as to infer the corrected distance measurement value of the target object.

[0059] S15: If the tilt coefficient is not greater than the preset tilt value, a correction strategy corresponding to the abnormal tilt is executed.

[0060] In this embodiment, the tilt coefficient represents the degree of deviation between the calibrated distance and the measured distance. The smaller the tilt coefficient, the greater the deviation. If the tilt coefficient is not greater than the preset tilt value, the correction strategy corresponding to the abnormal tilt is executed, which means that the reflection value output by the lidar can no longer be trusted, and it is necessary to infer the estimated reflection value and the estimated target distance value based on the correction table, thereby inferring the corrected ranging value of the target object.

[0061] In the above embodiment, according to the degree of deviation between the calibrated distance and the measured distance, when the tilt coefficient is not greater than the preset tilt value, the correction strategy corresponding to the abnormal tilt is executed, and when the tilt coefficient is greater than the preset tilt value, the correction strategy corresponding to the normal tilt is executed. Different correction strategies are executed according to different conditions. A more stable and better point cloud morphology can be obtained, so that the ranging of the laser radar can be more accurately corrected and the ranging accuracy can be improved.

[0062] In some embodiments, Figure 5 As shown, Figure 5 The flowchart of the ranging method based on the correction strategy corresponding to the normal tilt degree in one embodiment is shown in FIG. 1 , and step S14 includes:

[0063] S141. Calculate the fitted target distance value corresponding to the target object based on the measured reflection value and the calibration table.

[0064] In this embodiment, calculating the fitting target distance value corresponding to the target object includes:

[0065] Based on the correction table, a reflection value-fitting distance difference model is calculated, which is the tenth fitting model to be mentioned later;

[0066] Then, based on the measured reflection value, input data of the reflection value-fitting distance difference model is formed, and the fitting distance difference is calculated;

[0067] Based on the fitting distance difference and the original distance measurement value, the fitting target distance value corresponding to the target object is calculated, that is, the fitting target distance value = fitting distance difference + original distance measurement value.

[0068] S142: Based on the fitted target distance value and the calibration table, obtain the precise positioning interval closest to the target object.

[0069] S143. Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, the estimated distance value corresponding to each precise calibration point is calculated.

[0070] S144. Calculate the estimated deviation value corresponding to each precise calibration point based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval.

[0071] S145. Calculate the estimated deviation value corresponding to the target object based on the original distance measurement value, the estimated distance value corresponding to each precise calibration point, and the estimated deviation value corresponding to each precise calibration point.

[0072] S146. Correct the original distance measurement value based on the estimated deviation value corresponding to the target object to obtain a corrected distance measurement value of the target object.

[0073] In this embodiment, if the tilt coefficient is greater than the preset tilt value, and the original distance measurement value is greater than the estimated deviation value corresponding to the target object and the estimated deviation value corresponding to the target object is greater than 0, then the corrected distance measurement value of the target object is the difference between the original distance measurement value and the estimated deviation value corresponding to the target object;

[0074] If the tilt coefficient is greater than the preset tilt value and the original distance measurement value is not greater than the estimated deviation value corresponding to the target object, the original distance measurement value is used as the corrected distance measurement value of the target object.

[0075] In the above embodiment, the precise positioning interval close to the target object is first found, and then based on the calibration data corresponding to each precise calibration point in the correction table, such as the measured distance and the reflection value, the estimated distance value and the estimated deviation value corresponding to each precise calibration point are estimated, and fitting is performed with the estimated distance value and the estimated deviation value corresponding to each precise calibration point, and based on the original ranging value, the estimated deviation value corresponding to the target object is obtained, thereby obtaining the corrected ranging value of the target object. Therefore, the present application can find the positioning point closer to the target object from the calibration table, and evaluate the estimated deviation value of the original ranging value of the target object based on the positioning data of the positioning point, thereby obtaining the corrected ranging value. Therefore, the present application can obtain a more stable and better point cloud morphology, and more accurately correct the distance output by the laser radar, thereby improving the ranging accuracy.

[0076] In some embodiments, the precise positioning interval represents the closest calibration point to the target object. Figure 6 As shown, it is a flow chart of determining the precise positioning interval in the ranging method in one embodiment, and S142 specifically includes:

[0077] S1421. Compare the fitted target distance value with the fitted distance values ​​corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table and the fitted distance value corresponding to the calibration target with the highest reflectivity to determine the coarse positioning interval corresponding to the target object.

[0078] In an optional implementation, S1421 specifically includes:

[0079] Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table, and determine the first calibration point position which is smaller than the fitted target distance value and closest to the fitted target distance value;

[0080] Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the highest reflectivity at different calibration distances in the calibration table, and determine a second calibration point position that is smaller than the fitted target distance value and closest to the fitted target distance value;

[0081] A coarse positioning interval is determined based on the first calibration point and the second calibration point.

[0082] In this embodiment, for example, the calibration target with the lowest reflectivity is a black target material, and the calibration target with the highest reflectivity is described as a lattice target material, but it is not limited thereto. The fitting target distance value of the target object is compared with the corresponding fitting distance value of each black target material at each calibration distance, to obtain a first calibration point, and the point number of the first calibration point is represented by A. The fitting target distance value is compared with the fitting distance value corresponding to the lattice target material at different calibration distances, to obtain a second calibration point, and the point number of the second calibration point is represented by B. The minimum point number is the smallest of the point number of the first calibration point A and the point number of the second calibration point B, that is, min(A, B), and the maximum point number is the largest of the point number of the first calibration point A and the point number of the second calibration point B, that is, max(A, B). If the point number of the first calibration point A is equal to the point number of the second calibration point B, the minimum point number is equal to the maximum point number. Based on this, the coarse positioning interval is [min(A,B), max(A,B)].

[0083] If the minimum point number in the coarse positioning interval is greater than 1, then the value is reduced by 1, otherwise it is set to 1. If the maximum point number in the coarse positioning interval is less than the maximum number Len of the target plate point, then it is increased by 1, otherwise it is set to the maximum number Len of the target point. To this end, the coarse positioning expansion interval is obtained, and the coarse positioning expansion interval may exist in the following ranges: [1, max(A,B)], [min(A,B)-1, max(A,B)+1], [min(A,B)-1, Len].

[0084] S1422. Compare the measured reflection value with the reflection value of the calibration target with intermediate reflectivity corresponding to each calibration point in the coarse positioning interval, determine the fitting model corresponding to each calibration point in the coarse positioning interval, and calculate the estimated fitting distance value corresponding to each calibration point in the coarse positioning interval based on the fitting model corresponding to each calibration point in the coarse positioning interval and the measured reflection value.

[0085] In this embodiment, the fitting model corresponding to each calibration point represents the relationship between the reflection intensity and the fitting distance. Through the fitting model corresponding to each calibration point, the estimated fitting distance value corresponding to each calibration point can be obtained. In the fitting model corresponding to the calibration point, the reflection intensity is used as the independent variable and the fitting distance is used as the dependent variable. The fitting model corresponding to the calibration point includes but is not limited to a linear model and a nonlinear model.

[0086] In this embodiment, the calibration target with the lowest reflectivity is a black target material, the calibration target with the highest reflectivity is a lattice target material, and the calibration target with an intermediate reflectivity is a white target material, but this is not a limitation, wherein the white target material corresponding to the calibration point is the white target material at the calibration distance corresponding to the calibration point. For a calibration point, the measured reflection value is compared with the reflection value of the white target material corresponding to the calibration point. If the measured reflection value is greater than the reflection value of the white target material corresponding to the calibration point, the reflection value and the fitting distance value corresponding to the white target material and the lattice target material are used to establish a fitting model corresponding to the calibration point. If the measured reflection value is not greater than the reflection value of the white target material corresponding to the calibration point, the reflection value and the fitting distance value corresponding to the white target material and the black target material are used to establish a fitting model corresponding to the calibration point.

[0087] The measured reflection value is used as the input data of the fitting model corresponding to the calibration point, and the estimated fitting distance value corresponding to the calibration point is calculated.

[0088] S1423: Compare the fitted target distance value with the estimated fitted distance value corresponding to each calibration point in the coarse positioning interval, determine the nearest calibration point, and determine the precise positioning interval based on the nearest calibration point.

[0089] In this embodiment, the estimated fitting distance value of the nearest calibration point is greater than the fitting target distance value and is closest to the estimated fitting distance value. The fitting target distance value is compared with the estimated fitting distance value corresponding to each calibration point to obtain the nearest calibration point. The point number of the nearest calibration point is represented by X. If the nearest calibration point X is equal to min(A, B), then it is determined whether X is less than or equal to 1, that is, the nearest calibration point X is equal to min(A, B), and X is less than or equal to 1, then the precise positioning interval is [1, 2]; if the nearest calibration point X is equal to min(A, B), and X is greater than 1, the precise positioning interval is [X-1, X]; if X If (X+1) is greater than or equal to max(A,B), then determine whether (X+1) is greater than or equal to Len. That is, if X is greater than or equal to max(A,B), and (X+1) is greater than or equal to Len, the precise positioning interval is [Len-1,Len]. If X is greater than or equal to max(A,B), and (X+1) is less than Len, the precise positioning interval is [X-1,X]. If the nearest calibration point X is not equal to min(A,B), and X is less than max(A,B), then the precise positioning interval is [X-1, X].

[0090] Understandably, Figure 6 This is a method for calculating the precise positioning interval provided by an embodiment of the present application. Other methods may also be used to calculate the precise positioning interval.

[0091] In the above embodiment, a coarse positioning interval close to the target object is first found, and then a precise positioning interval is determined based on the coarse positioning interval, so that a more accurate precise positioning interval can be obtained, which makes it easier to obtain a more accurate corrected ranging value based on the estimated distance value and estimated deviation value corresponding to each precise calibration point. Therefore, the present application can more accurately correct the distance output by the laser radar, thereby improving the ranging accuracy.

[0092] In an optional embodiment, step S143 includes:

[0093] For any precise calibration point, the measured reflection value is compared with the reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, so as to obtain the first fitting model corresponding to any precise calibration point;

[0094] Based on the measured reflection value, the input data of the first fitting model corresponding to any precise calibration point is formed, and the estimated distance value corresponding to any precise calibration point is calculated, and other precise calibration points are continued to be calculated until the estimated distance values ​​corresponding to each precise calibration point are calculated.

[0095] In this embodiment, the fitting model corresponding to any precise calibration point represents the relationship between the reflection intensity and the estimated distance. If the measured reflection value is greater than the reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, and the measured distance and reflection value of the calibration target with the highest reflectivity corresponding to the precise calibration point are fitted to obtain the first fitting model corresponding to any precise calibration point. For example, for precise calibration point C, if the measured reflection value is greater than the reflection value of the white target corresponding to precise calibration point C, the measured distance and reflection value corresponding to the white target corresponding to precise calibration point C, and the measured distance and reflection value corresponding to the lattice target corresponding to precise calibration point C are fitted to obtain the first fitting model corresponding to precise calibration point C.

[0096] If the measured reflection value is less than or equal to the reflection value of the calibration target with the intermediate reflectivity corresponding to any of the precise calibration points, the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to any of the precise calibration points, and the measured distance and reflection value of the calibration target with the lowest reflectivity corresponding to the precise calibration point are fitted to obtain the first fitting model corresponding to the precise calibration point. For example, for precise calibration point C, if the measured reflection value is not greater than the reflection value of the white target material corresponding to precise calibration point C, the measured distance and reflection value corresponding to the white target material corresponding to precise calibration point C, and the measured distance and reflection value corresponding to the black target material corresponding to precise calibration point C are fitted to obtain the first fitting model corresponding to precise calibration point C.

[0097] For example, the precise positioning interval includes two precise calibration points. By using the above step S143, the estimated distance values ​​corresponding to the two precise calibration points can be obtained respectively, namely TOF1 and TOF2 respectively.

[0098] In the above embodiment, the measured reflection value is compared with the reflection value of the calibration target of the intermediate reflectivity corresponding to any precise calibration point, and then fitting is performed based on the measured distances and reflection values ​​corresponding to different target materials at the same calibration distance corresponding to the precise calibration point to obtain a first fitting model corresponding to any precise calibration point, thereby obtaining more accurate estimated distance values ​​corresponding to each precise calibration point, thereby facilitating subsequent acquisition of more accurate corrected distance measurement values ​​and improving distance measurement accuracy.

[0099] In an optional embodiment, step S144 includes:

[0100] For any precise calibration point, the measured reflection value is compared with the reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, so as to obtain a second fitting model corresponding to the any precise calibration point;

[0101] Based on the measured reflection value, the input data of the second fitting model corresponding to any precise calibration point is formed, and the estimated deviation value corresponding to any precise calibration point is calculated, and other precise calibration points are continued to be calculated until the estimated deviation values ​​corresponding to each precise calibration point are calculated.

[0102] In this embodiment, if the measured reflection value is greater than the reflection value of the calibration target of the intermediate reflectivity corresponding to any precise calibration point, the measured distance deviation value and reflection value of the calibration target of the intermediate reflectivity corresponding to any precise calibration point, and the measured distance deviation value and reflection value of the calibration target of the highest reflectivity corresponding to the precise calibration point are fitted to obtain the second fitting model corresponding to any precise calibration point. The measured distance deviation is the deviation between the measured distance and the corresponding calibration distance, and the second fitting model represents the relationship between the reflection intensity and the distance deviation. For example, for precise calibration point C, if the measured reflection value is greater than the reflection value of the white target corresponding to precise calibration point C, the measured distance deviation value and reflection value corresponding to the white target corresponding to precise calibration point C, and the measured distance deviation value and reflection value corresponding to the lattice target corresponding to precise calibration point C are fitted to obtain the second fitting model corresponding to precise calibration point C.

[0103] If the measured reflection value is less than or equal to the reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, the measured distance deviation value and reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, and the measured distance deviation value and reflection value of the calibration target with the lowest reflectivity corresponding to the precise calibration point are fitted to obtain the second fitting model corresponding to the precise calibration point. For example, for precise calibration point C, if the measured reflection value is not greater than the reflection value of the white target material corresponding to precise calibration point C, the measured distance deviation value and reflection value corresponding to the white target material corresponding to precise calibration point C, and the measured distance deviation value and reflection value corresponding to the black target material corresponding to precise calibration point C are fitted to obtain the second fitting model corresponding to precise calibration point C.

[0104] For example, the precise positioning interval includes two precise calibration points. By using the above step S144, the estimated distance values ​​corresponding to the two precise calibration points can be obtained respectively, namely, Bias1 and Bias2 respectively.

[0105] In the above embodiment, the measured reflection value is compared with the reflection value of the calibration target of the intermediate reflectivity corresponding to any precise calibration point, and then fitting is performed based on the measured distance deviation value and reflection value corresponding to different target materials at the same calibration distance corresponding to the precise calibration point to obtain a second fitting model corresponding to any precise calibration point, thereby obtaining more accurate estimated deviation values ​​corresponding to each precise calibration point, which facilitates subsequent acquisition of more accurate corrected ranging values ​​and improves ranging accuracy.

[0106] In an optional implementation, step S145 includes:

[0107] Fitting the estimated distance values ​​corresponding to each precise calibration point and the estimated deviation values ​​corresponding to each precise calibration point to obtain a third fitting model, wherein the third fitting model represents the relationship between the distance and the distance deviation;

[0108] Based on the original distance measurement value, input data of the third fitting model is formed to calculate the estimated deviation value corresponding to the target object.

[0109] In the third fitting model, the distance is the independent variable and the distance deviation is the dependent variable. For example, the precise positioning interval includes two precise calibration points. The above steps are used to obtain TOF1 and TOF2, Bias1 and Bias2 respectively. (TOF1, Bias1) is used as one point and (TOF2, Bias2) is used as another point to fit the third fitting model. Then the original distance measurement value is substituted into the third fitting model to obtain the estimated deviation value corresponding to the target object.

[0110] In the above embodiment, fitting is performed based on the estimated distance values ​​and estimated deviation values ​​corresponding to multiple precise calibration points to obtain a third fitting model, thereby obtaining a more accurate estimated deviation value, which facilitates subsequent acquisition of a more accurate corrected ranging value and improves ranging accuracy.

[0111] In some embodiments, Figure 7 As shown, Figure 7 The flowchart of the ranging method based on the correction strategy corresponding to the abnormal tilt degree in one embodiment specifically includes:

[0112] S151. Obtain a first precise positioning interval, and based on the first precise positioning interval, obtain a first estimated reflection value and a first estimated target distance value corresponding to the target object.

[0113] S152: Obtain a second precise positioning interval, and obtain a second estimated reflection value and a second estimated target distance value corresponding to the target object based on the second precise positioning interval.

[0114] S153, performing fitting based on the first estimated reflection value and the first estimated target distance value corresponding to the target object, and the second estimated reflection value and the second estimated target distance value corresponding to the target object, to obtain a fourth fitting model, wherein the fourth fitting model represents the relationship between the reflection intensity and the target distance.

[0115] In this embodiment, in the fourth fitting model, the reflection intensity is the independent variable and the target distance is the dependent variable. For example, the first estimated reflection value is represented by Peak1, the first estimated target distance value is represented by target_dist1, the second estimated reflection value is represented by Peak2, and the second estimated target distance value is represented by target_dist2, then the fourth fitting model can be fitted based on (Peak1, target_dist1), (Peak2, target_dist2).

[0116] S154: Based on the measured reflection value, form input data of a fourth fitting model, calculate an output distance value, and use the output distance value as a corrected distance measurement value of the target object.

[0117] In the above embodiment, two precise positioning intervals are first determined according to different precise positioning methods, and based on the relationship between the fitted distance value and the reflection value corresponding to each calibration point in the two precise positioning intervals, two estimated reflection values ​​and two estimated distance values ​​corresponding to the target object are calculated, and then based on the two estimated reflection values ​​and two estimated distance values ​​corresponding to the target object, the relationship between the reflection intensity and the target distance is fitted, thereby inferring the corrected ranging value of the target object and improving the ranging accuracy.

[0118] In some embodiments, Figure 8 As shown, Figure 8Flow chart of calculating the first estimated reflection value and the first estimated target distance value in a distance measurement method in one embodiment; step S151 includes:

[0119] S1511. Calculate a fitting target distance value corresponding to the target object based on the measured reflection value and the calibration table.

[0120] In this embodiment, calculating the fitting target distance value corresponding to the target object includes:

[0121] Based on the correction table, a reflection value-fitting distance difference model is calculated, which is the tenth fitting model to be mentioned later;

[0122] Then, based on the measured reflection value, input data of the reflection value-fitting distance difference model is formed, and the fitting distance difference is calculated;

[0123] Based on the fitting distance difference and the original distance measurement value, the fitting target distance value corresponding to the target object is calculated, that is, the fitting target distance value = fitting distance difference + original distance measurement value.

[0124] S1512. Compare the fitted target distance value with the fitted distance value of the calibration target with the middle reflectivity in the calibration table to determine the first target calibration point, and determine the first precise positioning interval based on the first target calibration point.

[0125] In this embodiment, a fitting distance value that is smaller than the fitting target distance value and closest to the fitting target distance value is determined, the calibration point corresponding to the determined fitting distance value is determined as the first target calibration point, and the first precise positioning interval is determined based on the first target calibration point.

[0126] Specifically, the fitted target distance value is compared with the fitted distance values ​​of each white target material in the calibration table to determine the first target calibration point. If the point sequence number of the first target calibration point is X, the first precise positioning interval is [X, X+1]; if X is Len, the precise positioning interval is [X-1, Len].

[0127] S1513, fitting is performed using the reflection value and fitting distance value corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval to obtain a fifth fitting model.

[0128] In this embodiment, the fifth fitting model represents the relationship between reflection intensity and fitting distance, with fitting distance as the independent variable and reflection intensity as the dependent variable. Specifically, the reflection value and fitting distance value corresponding to the white target material corresponding to each calibration point are fitted to obtain the fifth fitting model.

[0129] S1514. Based on the fitted target distance value, form input data of the fifth fitting model, and output a first estimated reflection value corresponding to the target object.

[0130] In this embodiment, the fitting target distance value is substituted into the fifth fitting model, and a first estimated reflection value corresponding to the target object is output, for example, represented by Peak1.

[0131] S1515. Perform fitting based on the fitting distance value and the calibration distance corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval to obtain a sixth fitting model.

[0132] In this embodiment, the sixth fitting model represents a fitting model of the relationship between the fitting distance and the calibration distance, with the fitting distance as the independent variable and the calibration distance as the dependent variable. Specifically, the fitting distance value corresponding to the white target material corresponding to each calibration point and the calibration distance are fitted to obtain the sixth fitting model.

[0133] S1516. Based on the fitted target distance value, form input data of a sixth fitting model, and output a first estimated target distance value corresponding to the target object.

[0134] In this embodiment, the fitted target distance value is substituted into the sixth fitting model, and a first estimated target distance value corresponding to the target object is output, for example, represented by target_dist1.

[0135] In the above embodiment, a precise positioning interval is first determined according to a precise positioning method, and based on the relationship between the fitting distance value and the reflection value corresponding to each calibration point in a precise positioning interval, an estimated reflection value and an estimated distance value corresponding to the target object are calculated, so as to facilitate the subsequent fitting of the relationship between the reflection intensity and the target distance, thereby inferring the corrected ranging value of the target object and improving the ranging accuracy.

[0136] In some embodiments, Fig. 9 As shown, Fig. 9 Flow chart of calculating the second estimated reflection value and the second estimated target distance value in the distance measurement method in one embodiment; step S152 includes:

[0137] S1521. Determine the second target calibration point based on the measured reflection value and the first estimated reflection value corresponding to the target object, determine the second precise positioning interval based on the second target calibration point, and determine the reflection value and fitting distance value corresponding to each calibration point in the second precise positioning interval.

[0138] In this embodiment, if the measured reflection value is less than the first estimated reflection value corresponding to the target object, the fitted target distance value is compared with the fitted distance value of the calibration target with the lowest reflectivity in the calibration table to determine the second target calibration point, and the second precise positioning interval is determined based on the second target calibration point, and the fitted distance value corresponding to the second target calibration point is less than the fitted target distance value and is closest to the fitted target distance value. The reflection value and fitted distance value of the calibration target with the lowest reflectivity in each calibration point in the second precise positioning interval are determined as the reflection value and fitted distance value corresponding to each calibration point in the second precise positioning interval;

[0139] If the measured reflection value is not less than the first estimated reflection value corresponding to the target object, the fitted target distance value is compared with the fitted distance value of the calibration target with the highest reflectivity in the calibration table, and is determined as the second target calibration point. The second precise positioning interval is determined based on the second target calibration point, and the fitted distance value corresponding to the second target calibration point is smaller than the fitted target distance value and closest to the fitted target distance value. The reflection value and fitted distance value of the calibration target with the highest reflectivity among the calibration points in the second precise positioning interval are determined as the reflection value and fitted distance value corresponding to each calibration point in the second precise positioning interval.

[0140] In an optional implementation, if the point number of the second target calibration point is X, the second precise positioning interval is [X, X+1]; if X is Len, the second precise positioning interval is [X-1, Len].

[0141] S1522. Perform fitting based on the reflection values ​​and fitting distance values ​​corresponding to each calibration point in the second precise positioning interval to obtain a seventh fitting model.

[0142] In this embodiment, the seventh fitting model represents the relationship between the reflection intensity and the fitting distance, with the reflection intensity as the independent variable and the fitting distance as the dependent variable.

[0143] S1523. Based on the fitting target distance value, form input data of a seventh fitting model, and output a second estimated reflection value corresponding to the target object.

[0144] In this embodiment, the fitted target distance value is substituted into the seventh fitting model to obtain a second estimated reflection value corresponding to the target object, for example, represented by Peak2.

[0145] S1524: Perform fitting based on the fitting distance values ​​and the calibration distances corresponding to the calibration points in the second precise positioning interval to obtain an eighth fitting model.

[0146] In this embodiment, the eighth fitting model represents the relationship between the fitting distance and the estimated distance, with the fitting distance as the independent variable and the estimated distance as the dependent variable.

[0147] S1525. Based on the fitted target distance value, form input data of the eighth fitting model, and output a second estimated target distance value corresponding to the target object.

[0148] In this embodiment, the fitted target distance value is substituted into the eighth fitting model to obtain a second estimated target distance value corresponding to the target object, for example, represented by target_dist2.

[0149] In the above embodiment, a precise positioning interval is first determined according to a precise positioning method, and based on the relationship between the fitting distance value and the reflection value corresponding to each calibration point in a precise positioning interval, an estimated reflection value and an estimated distance value corresponding to the target object are calculated, so as to facilitate the subsequent fitting of the relationship between the reflection intensity and the target distance, thereby inferring the corrected ranging value of the target object and improving the ranging accuracy.

[0150] In some embodiments, in the above-mentioned correction strategy corresponding to the normal tilt degree and the correction strategy corresponding to the normal tilt degree, it is necessary to calculate the fitting target distance value corresponding to the target object. In an optional implementation, based on the measured reflection value and the calibration table, calculating the fitting target distance value corresponding to the target object includes:

[0151] Fitting the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity obtained from the calibration table to obtain a ninth fitting model, wherein the ninth fitting model represents the relationship between the calibration distance and the measurement distance corresponding to the same reflectivity, and based on the ninth fitting model, obtaining a fitting target value corresponding to the calibration target with the same reflectivity;

[0152] Based on the fitting target value corresponding to the calibration target with the same reflectivity and the corresponding measured distance value, the difference value corresponding to the calibration target with the same reflectivity is obtained, and the difference value corresponding to the calibration target with the same reflectivity and the corresponding reflection value are fitted to obtain a tenth fitting model, wherein the tenth fitting model represents the relationship between the reflection value and the fitting distance difference value;

[0153] Based on the measured reflection value, input data of the tenth fitting model is formed, a fitting distance difference corresponding to the target object is calculated, and a fitting target distance value corresponding to the target object is calculated based on the fitting distance difference and the original distance measurement value.

[0154] In some embodiments, Fig.10 is a flow chart of a distance measurement method in another embodiment,

[0155] S21. Establish a calibration table for distance calibration.

[0156] S22. When the laser radar measures the distance to the target object, an original distance measurement value and a measured reflection value of the target object output by the laser radar are obtained.

[0157] S23. Calculate the fitted target distance value corresponding to the target object based on the measured reflection value and the calibration table.

[0158] S24. Based on the fitted target distance value and the calibration table, obtain the precise positioning interval closest to the target object.

[0159] S25. Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, the estimated distance value corresponding to each precise calibration point is calculated.

[0160] S26. Calculate the inclination coefficient according to the estimated distance value and the calibrated distance corresponding to each precise calibration point.

[0161] In this embodiment, two precise calibration points may be selected from various precise calibration points for calculation, and the inclination coefficient = the difference between the estimated distance values ​​of the two precise calibration points / the difference between the calibration distances of the two precise calibration points.

[0162] S27: If the tilt coefficient is greater than the preset tilt value, execute a correction strategy corresponding to a normal tilt.

[0163] In this embodiment, according to the above embodiment Figure 5 It can be seen that in the flowchart, S23-S25 have been executed, and the specific steps in step S27 include: Figure 5 S144-S146 in are not repeated here.

[0164] S28: If the tilt coefficient is not greater than the preset tilt value, a correction strategy corresponding to the abnormal tilt is executed.

[0165] The above step S21 is the same as step S11, S22 is the same as step S12, and S23-S25 are the same as step S13. Figure 5 S141-S143 in are the same, step S28 is the same as step S15, and will not be repeated here.

[0166] On the other hand, the present application provides a computer program product, including a computer program, which implements the ranging method described in any embodiment of the present application when executed by a processor.

[0167] Among them, in the computer program product, an optional implementation form of the program module architecture of the computer program that implements each step of the ranging method can be a ranging device.

[0168] See also Fig.11An embodiment of the present application provides a distance measuring device, comprising: a calibration module 111, used to establish a calibration table for distance calibration, wherein the calibration table includes calibration data at multiple different calibration distances, and the calibration data at each calibration distance includes a calibration point, a calibration distance, a measured distance and a reflection value of each calibration target with different reflectivity, and a fitting distance value of each calibration target, wherein the measured distance and the reflection value are data output by the laser radar at the calibration distance, and the fitting distance value is calculated based on the measured distance and the reflection value of each calibration target; an acquisition module 112, used to acquire the original distance measurement value and the measured reflection value of the target object output by the laser radar when the laser radar measures the distance of the target object;

[0169] The correction module 113 is used to correct the original distance measurement value based on the calibration table, the original distance measurement value and the measured reflection value to obtain a corrected distance measurement value of the target object.

[0170] Optionally, the correction module 113 is further used for:

[0171] Calculating a tilt coefficient, wherein the tilt coefficient indicates a relationship between a calibration distance and a measurement distance, and if the tilt coefficient is greater than a preset tilt value, executing a correction strategy corresponding to a normal tilt;

[0172] If the tilt coefficient is not greater than the preset tilt value, a correction strategy corresponding to the abnormal tilt is executed.

[0173] Optionally, the correction module 113 is further used for:

[0174] Based on the measured reflection value and the calibration table, calculating a fitted target distance value corresponding to the target object;

[0175] Based on the fitted target distance value and the calibration table, obtaining a precise positioning interval closest to the target object;

[0176] Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, calculating the estimated distance value corresponding to each precise calibration point;

[0177] Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, calculating the estimated deviation value corresponding to each precise calibration point;

[0178] Calculating the estimated deviation value corresponding to the target object based on the original distance measurement value, the estimated distance value corresponding to each precise calibration point, and the estimated deviation value corresponding to each precise calibration point;

[0179] The original distance measurement value is corrected based on the estimated deviation value corresponding to the target object to obtain a corrected distance measurement value of the target object.

[0180] Optionally, the correction module 113 is further used for:

[0181] Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table and the fitted distance value corresponding to the calibration target with the highest reflectivity to determine the coarse positioning interval corresponding to the target object;

[0182] The measured reflection value is compared with the reflection value of the calibration target at the intermediate reflectivity corresponding to each calibration point in the coarse positioning interval, and a fitting model corresponding to each calibration point in the coarse positioning interval is determined, wherein the fitting model corresponding to each calibration point represents the relationship between the reflection intensity and the fitting distance, and based on the fitting model corresponding to each calibration point in the coarse positioning interval and the measured reflection value, an estimated fitting distance value corresponding to each calibration point in the coarse positioning interval is calculated;

[0183] The fitted target distance value is compared with the estimated fitted distance value corresponding to each calibration point in the coarse positioning interval to determine the nearest calibration point, and the precise positioning interval is determined based on the nearest calibration point.

[0184] Optionally, the correction module 113 is further used for:

[0185] Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table to determine the first calibration point;

[0186] Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the highest reflectivity at different calibration distances in the calibration table to determine the second calibration point;

[0187] A coarse positioning interval is determined based on the first calibration point and the second calibration point.

[0188] Optionally, the correction module 113 is further used for:

[0189] For any precise calibration point, compare the measured reflection value with the reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, wherein the lowest reflectivity is less than the intermediate reflectivity, and the intermediate reflectivity is less than the highest reflectivity. If the measured reflection value is greater than the reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, fit the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, and the measured distance and reflection value of the calibration target with the highest reflectivity corresponding to the any precise calibration point, to obtain a first fitting model corresponding to the any precise calibration point, wherein the fitting model corresponding to the any precise calibration point represents the relationship between the reflection intensity and the estimated distance.

[0190] If the measured reflection value is less than or equal to the reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point and the measured distance and reflection value of the calibration target with the lowest reflectivity corresponding to the precise calibration point are fitted to obtain a first fitting model corresponding to the precise calibration point;

[0191] Based on the measured reflection value, the input data of the first fitting model corresponding to any precise calibration point is formed, the estimated distance value corresponding to any precise calibration point is calculated, and the other precise calibration points are continued to be calculated until the estimated distance values ​​corresponding to each precise calibration point are calculated.

[0192] Optionally, the correction module 113 is further used for:

[0193] Fitting the estimated distance values ​​corresponding to each precise calibration point and the estimated deviation values ​​corresponding to each precise calibration point to obtain a third fitting model, wherein the third fitting model represents the relationship between the distance and the distance deviation;

[0194] Based on the original distance measurement value, input data of the third fitting model is formed, and an estimated deviation value corresponding to the target object is calculated.

[0195] Optionally, the correction module 113 is further used for:

[0196] If the tilt coefficient is greater than the preset tilt value, and the original distance measurement value is greater than the estimated deviation value corresponding to the target object and the estimated deviation value corresponding to the target object is greater than 0, then the corrected distance measurement value of the target object is the difference between the original distance measurement value and the estimated deviation value corresponding to the target object;

[0197] If the tilt coefficient is greater than a preset tilt value, and the original distance measurement value is not greater than the estimated deviation value corresponding to the target object, the original distance measurement value is used as the corrected distance measurement value of the target object.

[0198] Optionally, the correction module 113 is further used for:

[0199] Acquire a first precise positioning interval, and acquire a first estimated reflection value and a first estimated target distance value corresponding to the target object based on the first precise positioning interval;

[0200] Acquire a second precise positioning interval, and acquire a second estimated reflection value and a second estimated target distance value corresponding to the target object based on the second precise positioning interval;

[0201] The first estimated reflection value and the first estimated target distance value corresponding to the target object and the second estimated reflection value and the second estimated target distance value corresponding to the target object are fitted to obtain a fourth fitting model, wherein the fourth fitting model represents the relationship between the reflection intensity and the target distance;

[0202] Based on the measured reflection value, input data of the fourth fitting model is formed, an output distance value is calculated, and the output distance value is used as a corrected distance measurement value of the target object.

[0203] Optionally, the correction module 113 is further used for:

[0204] Based on the measured reflection value and the calibration table, calculating a fitted target distance value corresponding to the target object;

[0205] Compare the fitted target distance value with the fitted distance value of the calibration target with the middle reflectivity in the calibration table, wherein the lowest reflectivity is less than the middle reflectivity, and the middle reflectivity is less than the highest reflectivity, determine the first target calibration point, and determine the first precise positioning interval based on the first target calibration point;

[0206] The fifth fitting model is obtained by fitting the reflection value and the fitting distance value corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval; wherein the fifth fitting model represents the relationship between the reflection intensity and the fitting distance;

[0207] Based on the fitted target distance value, forming input data of the fifth fitting model, and outputting a first estimated reflection value corresponding to the target object;

[0208] The fitting distance value corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval and the calibration distance are used for fitting to obtain a sixth fitting model, wherein the sixth fitting model represents a fitting model of the relationship between the fitting distance and the calibration distance;

[0209] Based on the fitted target distance value, input data of the sixth fitting model is formed, and a first estimated target distance value corresponding to the target object is output.

[0210] Optionally, the correction module 113 is further used for:

[0211] Determine a second target calibration point based on the measured reflection value and the first estimated reflection value corresponding to the target object, determine the second precise positioning interval based on the second target calibration point, and determine the reflection value and the fitting distance value corresponding to each calibration point in the second precise positioning interval;

[0212] Fitting is performed using the reflection values ​​and fitting distance values ​​corresponding to each calibration point in the second precise positioning interval to obtain a seventh fitting model, wherein the seventh fitting model represents the relationship between the reflection intensity and the fitting distance;

[0213] Based on the fitted target distance value, forming input data of the seventh fitting model, and outputting a second estimated reflection value corresponding to the target object;

[0214] Performing fitting based on the fitting distance values ​​and the calibration distance corresponding to each calibration point in the second precise positioning interval to obtain an eighth fitting model, wherein the eighth fitting model represents the relationship between the fitting distance and the estimated distance;

[0215] Based on the fitted target distance value, input data of the eighth fitting model is formed, and a second estimated target distance value corresponding to the target object is output.

[0216] Optionally, the correction module 113 is further used for:

[0217] Fitting the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity obtained from the calibration table to obtain a ninth fitting model, wherein the ninth fitting model represents the relationship between the calibration distance and the measurement distance corresponding to the same reflectivity, and based on the ninth fitting model, obtaining a fitting target value corresponding to the calibration target with the same reflectivity;

[0218] Based on the fitting target value corresponding to the calibration target with the same reflectivity and the corresponding measured distance value, the difference value corresponding to the calibration target with the same reflectivity is obtained, and the difference value corresponding to the calibration target with the same reflectivity and the corresponding reflection value are fitted to obtain a tenth fitting model, wherein the tenth fitting model represents the relationship between the reflection value and the fitting distance difference value;

[0219] Based on the measured reflection value, input data of the tenth fitting model is formed, a fitting distance difference corresponding to the target object is calculated, and a fitting target distance value corresponding to the target object is calculated based on the fitting distance difference and the original distance measurement value.

[0220] It can be understood by those skilled in the art that Fig.11The structure of the distance measuring device does not constitute a limitation on the distance measuring device, and the various modules can be implemented in whole or in part by software, hardware, and a combination thereof. The above modules can be embedded in or independent of the controller in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the controller can call and execute the operations corresponding to the above modules. In other embodiments, the distance measuring device can include more or fewer modules than those shown in the figure.

[0221] See also Fig.12 On the other hand, the embodiment of the present application also provides a laser radar, including a memory 3011 and a processor 3012, wherein the memory 3011 stores a computer program, and when the computer program is executed by the processor, the processor 3012 executes the steps of the ranging method provided in any of the above embodiments of the present application. The processor 3012 is a control center, which uses various interfaces and lines to connect various parts of the entire computer device, and executes various functions of the computer device and processes data by running or executing software programs and / or modules stored in the memory 3011, and calling data stored in the memory 3011. Optionally, the processor 3012 may include one or more processing cores; preferably, the processor 3012 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and applications, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 3012.

[0222] The memory 3011 can be used to store software programs and modules. The processor 3012 executes various functional applications and data processing by running the software programs and modules stored in the memory 3011. The memory 3011 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 3011 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 3011 may also include a memory controller to provide the processor 3012 with access to the memory 3011.

[0223] On the other hand, an embodiment of the present application also provides an autonomous mobile device, which is a device installed on any type of mobile body capable of autonomous movement, such as a vehicle, electric vehicle, hybrid electric vehicle, motorcycle, bicycle, personal mobile device, airplane, drone, ship or robot.

[0224] On the other hand, an embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the ranging method provided in any of the above embodiments of the present application.

[0225] Those skilled in the art can understand that all or part of the processes in the methods provided in the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0226] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A distance measurement method, characterized in that: Applications in LiDAR, including: Establishing a calibration table for distance calibration, wherein the calibration table includes calibration data at multiple different calibration distances, and the calibration data at each calibration distance includes a calibration point, a calibration distance, a measured distance and a reflection value of each calibration target with different reflectivity, and a fitted distance value of each calibration target, wherein the measured distance and the reflection value are data output by the laser radar at the calibration distance, and the fitted distance value is calculated based on the measured distance and the reflection value of each calibration target; When the laser radar measures the distance of the target object, obtaining the original distance measurement value and the measured reflection value of the target object output by the laser radar; Based on the calibration table, the original distance measurement value and the measured reflection value, the original distance measurement value is corrected to obtain a corrected distance measurement value of the target object; Calculating a tilt coefficient, wherein the tilt coefficient indicates a relationship between a calibration distance and a measurement distance, and if the tilt coefficient is greater than a preset tilt value, executing a correction strategy corresponding to a normal tilt; If the tilt coefficient is greater than the preset tilt value, executing the correction strategy corresponding to the normal tilt includes: Based on the measured reflection value and the calibration table, calculating a fitted target distance value corresponding to the target object; Based on the fitted target distance value and the calibration table, a precise positioning interval closest to the target object is obtained, wherein the precise positioning interval represents a set of calibration points closest to the target object; Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, calculating the estimated distance value corresponding to each precise calibration point; Based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval, calculating the estimated deviation value corresponding to each precise calibration point; Calculating the estimated deviation value corresponding to the target object based on the original distance measurement value, the estimated distance value corresponding to each precise calibration point, and the estimated deviation value corresponding to each precise calibration point; The original distance measurement value is corrected based on the estimated deviation value corresponding to the target object to obtain a corrected distance measurement value of the target object.

2. The distance measurement method according to claim 1, characterized in that: The obtaining of the closest precise positioning interval to the target object based on the fitted target distance value and the calibration table comprises: Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table and the fitted distance value corresponding to the calibration target with the highest reflectivity to determine the coarse positioning interval corresponding to the target object; The measured reflection value is compared with the reflection value of the calibration target at the intermediate reflectivity corresponding to each calibration point in the coarse positioning interval, and a fitting model corresponding to each calibration point in the coarse positioning interval is determined, wherein the fitting model corresponding to each calibration point represents the relationship between the reflection intensity and the fitting distance, and based on the fitting model corresponding to each calibration point in the coarse positioning interval and the measured reflection value, an estimated fitting distance value corresponding to each calibration point in the coarse positioning interval is calculated; The fitted target distance value is compared with the estimated fitted distance value corresponding to each calibration point in the coarse positioning interval to determine the nearest calibration point, and the precise positioning interval is determined based on the nearest calibration point.

3. The distance measurement method according to claim 2, characterized in that: The step of comparing the fitted target distance value with the fitted distance values ​​corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table and the fitted distance value corresponding to the calibration target with the highest reflectivity to determine the coarse positioning interval corresponding to the target object comprises: Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the lowest reflectivity at different calibration distances in the calibration table to determine the first calibration point; Compare the fitted target distance value with the fitted distance value corresponding to the calibration target with the highest reflectivity at different calibration distances in the calibration table to determine the second calibration point; A coarse positioning interval is determined based on the first calibration point and the second calibration point.

4. The distance measurement method according to claim 1, characterized in that: The calculating of the estimated distance value corresponding to each precise calibration point based on the measured reflection value and the calibration data corresponding to each precise calibration point in the precise positioning interval includes: For any precise calibration point, compare the measured reflection value with the reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, wherein the lowest reflectivity is less than the intermediate reflectivity, and the intermediate reflectivity is less than the highest reflectivity. If the measured reflection value is greater than the reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, fit the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to the any precise calibration point, and the measured distance and reflection value of the calibration target with the highest reflectivity corresponding to the any precise calibration point, to obtain a first fitting model corresponding to the any precise calibration point, wherein the fitting model corresponding to the any precise calibration point represents the relationship between the reflection intensity and the estimated distance. If the measured reflection value is less than or equal to the reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point, the measured distance and reflection value of the calibration target with the intermediate reflectivity corresponding to any precise calibration point and the measured distance and reflection value of the calibration target with the lowest reflectivity corresponding to the precise calibration point are fitted to obtain a first fitting model corresponding to the precise calibration point; Based on the measured reflection value, the input data of the first fitting model corresponding to any precise calibration point is formed, the estimated distance value corresponding to any precise calibration point is calculated, and the other precise calibration points are continued to be calculated until the estimated distance values ​​corresponding to each precise calibration point are calculated.

5. The distance measurement method according to claim 1, characterized in that: The calculating the estimated deviation value corresponding to the target object based on the original distance measurement value, the estimated distance value corresponding to each precise calibration point, and the estimated deviation value corresponding to each precise calibration point includes: Fitting the estimated distance values ​​corresponding to each precise calibration point and the estimated deviation values ​​corresponding to each precise calibration point to obtain a third fitting model, wherein the third fitting model represents a model of the relationship between distance and distance deviation; Based on the original distance measurement value, input data of the third fitting model is formed, and an estimated deviation value corresponding to the target object is calculated.

6. The distance measurement method according to claim 1, characterized in that: The correcting the original distance measurement value based on the estimated deviation value corresponding to the target object to obtain the corrected distance measurement value of the target object includes: If the tilt coefficient is greater than the preset tilt value, and the original distance measurement value is greater than the estimated deviation value corresponding to the target object and the estimated deviation value corresponding to the target object is greater than 0, then the corrected distance measurement value of the target object is the difference between the original distance measurement value and the estimated deviation value corresponding to the target object; If the tilt coefficient is greater than a preset tilt value, and the original distance measurement value is not greater than the estimated deviation value corresponding to the target object, the original distance measurement value is used as the corrected distance measurement value of the target object.

7. The distance measurement method according to claim 1, characterized in that: The calculating the fitting target distance value corresponding to the target object based on the measured reflection value and the calibration table includes: Fitting the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity obtained from the calibration table to obtain a ninth fitting model, wherein the ninth fitting model represents the relationship between the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity, and based on the ninth fitting model, obtaining a fitting target value corresponding to the calibration target with the same reflectivity; Based on the fitting target value corresponding to the calibration target with the same reflectivity and the corresponding measured distance value, the difference value corresponding to the calibration target with the same reflectivity is obtained, and the difference value corresponding to the calibration target with the same reflectivity and the corresponding reflection value are fitted to obtain a tenth fitting model, wherein the tenth fitting model represents the relationship between the reflection value and the fitting distance difference value; Based on the measured reflection value, input data of the tenth fitting model is formed, a fitting distance difference corresponding to the target object is calculated, and a fitting target distance value corresponding to the target object is calculated based on the fitting distance difference and the original distance measurement value.

8. A distance measurement method, characterized in that: Applications in LiDAR, including: Establishing a calibration table for distance calibration, wherein the calibration table includes calibration data at multiple different calibration distances, and the calibration data at each calibration distance includes a calibration point, a calibration distance, a measured distance and a reflection value of each calibration target with different reflectivity, and a fitted distance value of each calibration target, wherein the measured distance and the reflection value are data output by the laser radar at the calibration distance, and the fitted distance value is calculated based on the measured distance and the reflection value of each calibration target; When the laser radar measures the distance of the target object, obtaining the original distance measurement value and the measured reflection value of the target object output by the laser radar; Based on the calibration table, the original distance measurement value and the measured reflection value, the original distance measurement value is corrected to obtain a corrected distance measurement value of the target object; calculating a tilt degree coefficient, the tilt degree coefficient indicating a relationship between a calibration distance and a measurement distance; If the tilt coefficient is not greater than the preset tilt value, a correction strategy corresponding to the abnormal tilt is executed; If the tilt coefficient is not greater than the preset tilt value, executing a correction strategy corresponding to the abnormal tilt includes: Acquire a first precise positioning interval, and acquire a first estimated reflection value and a first estimated target distance value corresponding to the target object based on the first precise positioning interval; Acquire a second precise positioning interval, and acquire a second estimated reflection value and a second estimated target distance value corresponding to the target object based on the second precise positioning interval, wherein the first precise positioning interval and the second precise positioning interval are two positioning intervals determined according to different precise positioning methods, and the first precise positioning interval and the second precise positioning interval include a plurality of calibration points; The first estimated reflection value and the first estimated target distance value corresponding to the target object and the second estimated reflection value and the second estimated target distance value corresponding to the target object are fitted to obtain a fourth fitting model, wherein the fourth fitting model represents the relationship between the reflection intensity and the target distance; Based on the measured reflection value, input data of the fourth fitting model is formed, an output distance value is calculated, and the output distance value is used as a corrected distance measurement value of the target object.

9. The distance measurement method according to claim 8, characterized in that: The obtaining of the first precise positioning interval, and obtaining the first estimated reflection value and the first estimated target distance value corresponding to the target object based on the first precise positioning interval include: Based on the measured reflection value and the calibration table, calculating a fitted target distance value corresponding to the target object; Compare the fitted target distance value with the fitted distance value of the calibration target with the middle reflectivity in the calibration table, wherein the lowest reflectivity is less than the middle reflectivity, and the middle reflectivity is less than the highest reflectivity, determine the first target calibration point, and determine the first precise positioning interval based on the first target calibration point; The fifth fitting model is obtained by fitting the reflection value and the fitting distance value corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval; wherein the fifth fitting model represents the relationship between the reflection intensity and the fitting distance; Based on the fitted target distance value, forming input data of the fifth fitting model, and outputting a first estimated reflection value corresponding to the target object; Performing fitting based on the fitting distance value corresponding to the calibration target of the intermediate reflectivity of each calibration point in the first precise positioning interval and the calibration distance to obtain a sixth fitting model, wherein the sixth fitting model represents a fitting model of the relationship between the fitting distance and the calibration distance; Based on the fitted target distance value, input data of the sixth fitting model is formed, and a first estimated target distance value corresponding to the target object is output.

10. The distance measurement method according to claim 9, characterized in that: The obtaining of the second precise positioning interval, and obtaining the second estimated reflection value and the second estimated target distance value corresponding to the target object based on the second precise positioning interval include: Determine a second target calibration point based on the measured reflection value and the first estimated reflection value corresponding to the target object, determine the second precise positioning interval based on the second target calibration point, and determine the reflection value and the fitting distance value corresponding to each calibration point in the second precise positioning interval; Fitting is performed using the reflection values ​​and fitting distance values ​​corresponding to each calibration point in the second precise positioning interval to obtain a seventh fitting model, wherein the seventh fitting model represents the relationship between the reflection intensity and the fitting distance; Based on the fitted target distance value, forming input data of the seventh fitting model, and outputting a second estimated reflection value corresponding to the target object; Performing fitting based on the fitting distance values ​​and the calibration distance corresponding to each calibration point in the second precise positioning interval to obtain an eighth fitting model, wherein the eighth fitting model represents the relationship between the fitting distance and the calibration distance; Based on the fitted target distance value, input data of the eighth fitting model is formed, and a second estimated target distance value corresponding to the target object is output.

11. The distance measurement method according to claim 9, characterized in that: The calculating the fitting target distance value corresponding to the target object based on the measured reflection value and the calibration table includes: Fitting the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity obtained from the calibration table to obtain a ninth fitting model, wherein the ninth fitting model represents the relationship between the calibration distance and the measurement distance corresponding to the calibration target with the same reflectivity, and based on the ninth fitting model, obtaining a fitting target value corresponding to the calibration target with the same reflectivity; Based on the fitting target value corresponding to the calibration target with the same reflectivity and the corresponding measured distance value, the difference value corresponding to the calibration target with the same reflectivity is obtained, and the difference value corresponding to the calibration target with the same reflectivity and the corresponding reflection value are fitted to obtain a tenth fitting model, wherein the tenth fitting model represents the relationship between the reflection value and the fitting distance difference value; Based on the measured reflection value, input data of the tenth fitting model is formed, a fitting distance difference corresponding to the target object is calculated, and a fitting target distance value corresponding to the target object is calculated based on the fitting distance difference and the original distance measurement value.

12. A laser radar, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the ranging method described in any one of claims 1 to 7 and / or the ranging method described in any one of claims 8 to 11.

13. An autonomous mobile device, characterized in that: include: The laser radar as claimed in claim 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer device to execute the ranging method according to any one of claims 1 to 7 and / or the ranging method according to any one of claims 8 to 11.