Temperature compensation method and device of lidar, lidar and storage medium

By performing temperature compensation twice on the ranging and pulse width values ​​of the lidar, the problem of low compensation accuracy in the existing technology is solved, and the ranging accuracy and reflectivity stability of the lidar are improved.

CN123176733APending Publication Date: 2026-11-27ZVISION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510682177.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing lidar temperature compensation methods have low accuracy and cannot effectively reduce the impact of ambient temperature changes on lidar performance.

Method used

A two-stage temperature compensation method is adopted. First, the ranging value and pulse width value of the lidar are compensated for the first time based on the first test temperature to obtain the second ranging value and the second pulse width value. Then, the second temperature compensation is performed based on the calibrated ranging value and reflectivity value to output the target ranging value and the calibrated reflectivity value.

Benefits of technology

This improves the accuracy of lidar ranging and the stability of reflectivity, while reducing the impact of ambient temperature on ranging and reflectivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176733A_ABST
    Figure CN123176733A_ABST
Patent Text Reader

Abstract

The present disclosure provides a temperature compensation method and device of a laser radar, a laser radar and a storage medium. The method comprises: receiving a first echo signal returned at a first test temperature, wherein the echo signals returned by the laser radar at different test temperatures are different; performing first temperature compensation on a first ranging value and a first pulse width value of the first echo signal according to the first test temperature to obtain a second ranging value and a second pulse width value; calibrating an internal parameter of the laser radar based on the second ranging value and the second pulse width value to obtain a calibrated second ranging value and a calibrated reflectivity value; performing second temperature compensation on the calibrated second ranging value according to the first test temperature to obtain a target ranging value at the first test temperature; and outputting the target ranging value and the calibrated reflectivity value. Through the present disclosure, the temperature compensation accuracy of the laser radar can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of lidar technology, and in particular to a lidar temperature compensation method, device, lidar and storage medium. Background Technology

[0002] Variations in the operating environment temperature of a lidar system can alter its point cloud performance, causing the output ranging value to change with temperature. Currently, temperature compensation of the lidar's output ranging value is one effective method to reduce the impact of ambient temperature changes on lidar performance. However, current temperature compensation methods suffer from low compensation accuracy. Summary of the Invention

[0003] This disclosure provides a temperature compensation method, device, lidar, and storage medium for lidar, which can improve the temperature compensation accuracy of lidar.

[0004] In a first aspect, this disclosure provides a temperature compensation method for a lidar, the method comprising: receiving a first echo signal returned at a first test temperature, wherein the echo signal returned by the lidar is different at different test temperatures; performing a first temperature compensation on a first ranging value and a first pulse width value of the first echo signal according to the first test temperature to obtain a second ranging value and a second pulse width value; calibrating the intrinsic parameters of the lidar based on the second ranging value and the second pulse width value to obtain a calibrated second ranging value and a calibrated reflectivity value; performing a second temperature compensation on the calibrated second ranging value according to the first test temperature to obtain a target ranging value at the first test temperature; and outputting the target ranging value and the calibrated reflectivity value.

[0005] In some possible implementations, a first temperature compensation is performed on the first ranging value and the first pulse width value of the first echo signal based on the first test temperature to obtain a second ranging value and a second pulse width value. This includes: determining a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature based on the first test temperature; obtaining the ranging correction value and pulse width correction value of the lidar under normal temperature conditions; determining the second ranging value based on the first ranging value, the first ranging compensation amount, and the ranging correction value; and determining the second pulse width value based on the first pulse width value, the first pulse width compensation amount, and the pulse width correction value.

[0006] In some possible implementations, determining a first ranging compensation amount and a first pulse width compensation amount corresponding to a first test temperature based on a first test temperature includes: determining a first ranging compensation amount corresponding to a first test temperature based on a preset first mapping relationship and the first test temperature; the first mapping relationship is a mapping relationship between test temperature and the first ranging compensation amount; determining a first pulse width compensation amount corresponding to a first test temperature based on a preset second mapping relationship and the first test temperature; the second mapping relationship is a mapping relationship between test temperature and pulse width compensation amount.

[0007] In some possible implementations, the test temperature of the lidar is divided into multiple temperature ranges; based on the first test temperature, a first ranging value and a first pulse width value of the first echo signal are subjected to a first temperature compensation to obtain a second ranging value and a second pulse width value, including: determining the first temperature range to which the first test temperature belongs; and based on the first temperature range and the first test temperature, performing a first temperature compensation on the first ranging value and the first pulse width value to obtain a second ranging value and a second pulse width value.

[0008] In some possible implementations, a first temperature compensation is performed on the first ranging value and the first pulse width value based on the first temperature range and the first test temperature to obtain a second ranging value and a second pulse width value, including: determining a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature based on the first temperature range; determining a second ranging value based on the first ranging value and the first ranging compensation amount; and determining a second pulse width value based on the first pulse width value and the first pulse width compensation amount.

[0009] In some possible implementations, determining the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature based on the first temperature range includes: calculating the first ranging compensation amount corresponding to the first test temperature based on a preset third mapping relationship and the first temperature range; the third mapping relationship corresponds to the first temperature range; the third mapping relationship is the mapping relationship between the temperature value of the first temperature range and the ranging compensation amount; calculating the first pulse width compensation amount corresponding to the first test temperature based on a preset fourth mapping relationship and the first temperature range; the fourth mapping relationship corresponds to the first temperature range; the fourth mapping relationship is the mapping relationship between the temperature value of the first temperature range and the pulse width compensation amount.

[0010] In some possible implementations, determining a second ranging value based on a first ranging value, a first ranging compensation amount, and a ranging correction value includes: summing the first ranging value, the first ranging compensation amount, and the ranging correction value to obtain the second ranging value; determining a second pulse width value based on a first pulse width value, a first pulse width compensation amount, and a pulse width correction value includes: summing the first pulse width value, the first pulse width compensation amount, and the pulse width correction value to obtain the second pulse width value.

[0011] In some possible implementations, receiving the first echo signal returned at the first test temperature includes: heating the lidar; reading the lidar temperature; if the lidar temperature is less than or equal to a first threshold temperature, determining whether the temperature difference between the lidar temperature and the previously read lidar temperature is greater than a preset temperature unit; if the temperature difference is greater than or equal to the preset temperature unit, receiving the first echo signal returned at the first test temperature.

[0012] Secondly, this disclosure provides a temperature compensation device for a lidar, comprising: a data receiving module configured to receive a first echo signal returned at a first test temperature, wherein the echo signals returned by the lidar are different at different test temperatures; a temperature compensation module configured to perform a first temperature compensation on a first ranging value and a first pulse width value of the first echo signal based on the first test temperature to obtain a second ranging value and a second pulse width value; a calibration module configured to calibrate the intrinsic parameters of the lidar based on the second ranging value and the second pulse width value to obtain a calibrated second ranging value and a calibrated reflectivity value; a temperature compensation module configured to perform a second temperature compensation on the calibrated second ranging value based on the first test temperature to obtain a target ranging value at the first test temperature; and a data output module configured to output the target ranging value and the calibrated reflectivity value.

[0013] In some possible implementations, the temperature compensation module is configured to: determine a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature based on the first test temperature; acquire the ranging correction value and pulse width correction value of the lidar under normal temperature conditions; determine a second ranging value based on the first ranging value, the first ranging compensation amount and the ranging correction value; and determine a second pulse width value based on the first pulse width value, the first pulse width compensation amount and the pulse width correction value.

[0014] In some possible implementations, the temperature compensation module is configured to: determine a first ranging compensation amount corresponding to the first test temperature based on a preset first mapping relationship and a first test temperature; the first mapping relationship is a mapping relationship between the test temperature and the first ranging compensation amount; and determine a first pulse width compensation amount corresponding to the first test temperature based on a preset second mapping relationship and the first test temperature; the second mapping relationship is a mapping relationship between the test temperature and the pulse width compensation amount.

[0015] In some possible implementations, the test temperature of the lidar is divided into multiple temperature ranges; the temperature compensation module is configured to: determine the first temperature range to which the first test temperature belongs; and perform a first temperature compensation on the first ranging value and the first pulse width value based on the first temperature range and the first test temperature to obtain a second ranging value and a second pulse width value.

[0016] In some possible implementations, the temperature compensation module is configured to: determine a first ranging compensation amount and a first pulse width compensation amount corresponding to a first test temperature based on a first temperature range; determine a second ranging value based on the first ranging value and the first ranging compensation amount; and determine a second pulse width value based on the first pulse width value and the first pulse width compensation amount.

[0017] In some possible implementations, the temperature compensation module is configured to: calculate a first ranging compensation amount corresponding to a first test temperature based on a preset third mapping relationship and a first temperature range; the third mapping relationship corresponds to the first temperature range; the third mapping relationship is a mapping relationship between the temperature value of the first temperature range and the ranging compensation amount; calculate a first pulse width compensation amount corresponding to the first test temperature based on a preset fourth mapping relationship and the first temperature range; the fourth mapping relationship corresponds to the first temperature range; the fourth mapping relationship is a mapping relationship between the temperature value of the first temperature range and the pulse width compensation amount.

[0018] In some possible implementations, the temperature compensation module is configured to: sum the first ranging value, the first ranging compensation amount, and the ranging correction value to obtain a second ranging value; and sum the first pulse width value, the first pulse width compensation amount, and the pulse width correction value to obtain a second pulse width value.

[0019] In some possible implementations, the data receiving module is configured to: heat the lidar; read the lidar temperature; if the lidar temperature is less than or equal to a first threshold temperature, determine whether the temperature difference between the lidar temperature and the previously read lidar temperature is greater than a preset temperature unit; if the temperature difference is greater than or equal to the preset temperature unit, receive the first echo signal returned at the first test temperature.

[0020] Thirdly, this disclosure provides a lidar system, comprising: a memory storing computer-executable instructions; and a processor connected to the memory for executing the computer-executable instructions to implement the method as described in the first aspect and any possible implementation thereof.

[0021] Fourthly, this disclosure provides a computer storage medium storing computer-executable instructions that, when executed by a processor, enable the implementation of the methods described in the first aspect and any possible embodiments thereof.

[0022] The advantages of the technical solution provided in this disclosure compared with the prior art are as follows:

[0023] In this disclosure, by performing temperature compensation twice on the ranging value to obtain the target ranging value, the influence of ambient temperature on lidar ranging can be reduced, thereby improving the accuracy of lidar ranging.

[0024] Furthermore, by performing temperature compensation and calibration on the pulse width value to obtain the calibrated reflectivity value, the influence of ambient temperature on the accuracy of the lidar output reflectivity can be reduced, and the reflectivity stability can be improved.

[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit the scope of protection of this disclosure. Attached Figure Description

[0026] Figure 1 This is a schematic diagram of the composition of the lidar system in the embodiments of this disclosure;

[0027] Figure 2 This is a schematic diagram of the first implementation process of the temperature compensation method for lidar in this disclosure;

[0028] Figure 3 This is a schematic diagram of the lidar and calibration board in an embodiment of this disclosure;

[0029] Figure 4 A schematic diagram of the fitting process for calibration parameters;

[0030] Figure 5 This is a schematic diagram of a second implementation process of the temperature compensation method for lidar in this disclosure;

[0031] Figure 6 This is a schematic diagram of a third implementation process of the temperature compensation method for lidar in this disclosure;

[0032] Figure 7 This is a schematic diagram showing the change of the calibrated ranging value with temperature in the absence of temperature compensation in this embodiment of the disclosure.

[0033] Figure 8 This is a schematic diagram showing the change of calibrated reflectance value with temperature without temperature compensation in an embodiment of this disclosure.

[0034] Figure 9 This is a schematic diagram showing the change of the ranging value with temperature before calibration in an embodiment of this disclosure without temperature compensation.

[0035] Figure 10 This is a schematic diagram showing the change of pulse width value with temperature before calibration in an embodiment of this disclosure without temperature compensation.

[0036] Figure 11 This is a schematic diagram showing the change of the amplitude before calibration with temperature in an embodiment of this disclosure without temperature compensation.

[0037] Figure 12This is a schematic diagram showing the change of the second ranging value with temperature in the case of temperature compensation in this embodiment of the disclosure.

[0038] Figure 13 This is a schematic diagram showing the change of the second pulse width value with temperature in the case of temperature compensation in this embodiment of the disclosure.

[0039] Figure 14 This is a schematic diagram showing the change of target ranging value with temperature in the case of temperature compensation in this embodiment of the disclosure.

[0040] Figure 15 This is a schematic diagram showing the change of calibrated reflectance values ​​with temperature in the case of temperature compensation in this embodiment of the disclosure.

[0041] Figure 16 This is a schematic diagram showing the change of the corrected target ranging value with temperature in the case of temperature compensation in this embodiment of the disclosure.

[0042] Figure 17 This is a schematic diagram of the structure of a blind zone ranging device for a lidar according to an embodiment of this disclosure;

[0043] Figure 18 This is a block diagram showing the configuration of the control device for the lidar system in this embodiment. Detailed Implementation

[0044] The following detailed description is based on the accompanying drawings, and various exemplary embodiments thereof are provided to aid in a thorough understanding. The following description includes various details to aid understanding, but these details are to be considered merely examples and not intended to limit the disclosure, which is defined by the appended claims and their equivalents.

[0045] LiDAR (Light Detection and Ranging) is a technology that uses laser pulses to measure distances and is widely used in remote sensing, surveying, autonomous vehicles, unmanned aerial vehicle systems, and many other fields. A LiDAR system mainly consists of a laser transmitter, a receiver, optical elements (such as lenses and front windows), and a data processing unit.

[0046] In LiDAR systems, single-photon avalanche diode (SPAD) receivers are highly sensitive photodetectors capable of detecting signals at the single-photon level. The high sensitivity of SPAD receivers enables LiDAR to accurately measure distances even with weak reflected signals, making it one of the key technologies for achieving high-precision lidar.

[0047] The front window is a transparent window in a LiDAR system that protects internal optical components from external environmental influences. It not only needs to have good light transmittance to ensure normal laser transmission, but also needs to have sufficient strength and weather resistance to cope with various weather conditions and possible physical impacts.

[0048] In LiDAR signal processing, the "target waveform" typically refers to the time series of the laser pulse reflection signal received by the receiver. This waveform contains information such as the target object's distance, reflectivity, and environmental conditions. By analyzing the target waveform, key parameters such as the target object's position and reflectivity intensity can be extracted, thereby achieving accurate target identification and localization.

[0049] The following is for reference. Figure 1 A lidar system 100 according to an embodiment of the present disclosure is described. Wherein, for illustrative purposes only, Figure 1 The XYZ coordinate system is marked in the text. Figure 1 This is a schematic diagram of the composition of a lidar system according to an embodiment of this disclosure. The lidar system 100 can be used to detect the distance and speed of a target object.

[0050] In this embodiment of the disclosure, the lidar system 100 may include a transmitting device 110, a scanning device 120, and a receiving device 130.

[0051] In some embodiments, the emitting device 110 may be configured to emit an emitted beam having a uniform energy distribution. Here, a uniform energy distribution may also be interpreted as uniform illuminance or light intensity. In some embodiments, such an emitted beam with a uniform energy distribution can be obtained by shaping (uniforming) the beam using the emitting optics system 112, which will be discussed in detail later.

[0052] In some embodiments, the emitted beam diverges in a first direction perpendicular to the optical axis of the emitting device 110, having a corresponding first divergence angle.

[0053] Furthermore, in some embodiments, the emitted beam is either parallel to or divergent in a second direction that is perpendicular to the optical axis of the emitting device and perpendicular to the first direction, and the corresponding second divergence angle is less than a preset threshold.

[0054] In practical applications, the first direction ( Figure 1 The Y-axis direction shown can usually refer to the vertical direction (V direction), while the second direction ( Figure 1The Z-axis direction shown can generally refer to the horizontal direction (H direction). For ease of understanding, the following description uses the case where the first direction corresponds to the vertical direction and the second direction corresponds to the horizontal direction as an example. However, those skilled in the art will readily understand that this disclosure does not specifically limit the embodiments. For example, the first direction can also refer to the horizontal direction, and the second direction can refer to the vertical direction.

[0055] On the one hand, the emitted beam diverges in the vertical direction, and the corresponding first divergence angle is defined as Δθ. Z That is, the emitted beam is at an angle Δθ in the vertical direction. V A fan-shaped beam of light is emitted.

[0056] On the other hand, the emitted beam can be parallel in the horizontal direction. Alternatively, the emitted beam can also be divergent in the horizontal direction, but the corresponding second divergence angle is less than a preset threshold. That is, the emitted beam is emitted as parallel light or at a very small angle in the horizontal direction. The selection of the preset threshold will be discussed in detail later.

[0057] That is, the emitted beam is a uniform linear or narrow rectangular beam. Therefore, the light spot projected into the field of view can appear as a narrow rectangle, or even a line. The longer side of the rectangle corresponds to the vertical direction, and the shorter side corresponds to the horizontal direction. Here, "narrow" can mean that the aspect ratio of the rectangle is greater than a preset aspect ratio threshold. Advantageously, by using a linear or narrow rectangular emitted beam, the lidar system 100 of this disclosure can achieve more concentrated energy in the field of view, farther detection range, and higher resolution.

[0058] In some possible implementations, the emitted beam with the aforementioned specific illumination distribution can be obtained by shaping the laser beam emitted from a common light source.

[0059] Therefore, in some embodiments, the emitting device 110 includes a light source 111 and an emitting optical system 112. The emitting optical system 112 is configured to shape the laser beam emitted from the light source 111 to convert it into the aforementioned emitted beam.

[0060] In some embodiments, the light source 111 may be a laser, such as a solid-state laser (e.g., a vertical-cavity surface-emitting laser (VCSEL), an edge-emitting laser (EEL), an external-cavity diode laser (ECDL)), a laser diode, or a fiber laser. In some embodiments, the light source 111 may also include a light-emitting diode (LED).

[0061] It should be noted that this disclosure does not impose specific restrictions on the type of device used in the light source 111, as long as the output power of the light source 111 is sufficiently large.

[0062] In some embodiments, the light source 111 may be an array light source. For example, the light source 111 may be a VCSEL array comprising multiple VCSELs. In a non-limiting example, the multiple VCSELs may be configured to all be lit simultaneously during measurement, rather than being lit in sections and / or at different times.

[0063] Alternatively, in some embodiments, the light source 111 may also be a single point light source. Those skilled in the art will readily understand that this disclosure does not impose specific limitations on the arrangement of the light source 111.

[0064] In some embodiments, the light source 111 can emit different forms of light beams, including pulsed light, continuous wave (CW) light, and quasi-continuous light. The operating wavelength of the light source can be 650 nm to 1150 nm, 800 nm to 1000 nm, 850 nm to 950 nm, or 1300 nm to 1600 nm. In some embodiments, the light source 111 may also include optical components optically coupled to the light source 111 for collimating or focusing the light beam emitted by the light source 111. Each emitted light beam from the light source 111 can be continuous light lasting for a certain period of time, or it can be one or more light pulses.

[0065] In some embodiments, the emitting optical system 112 may include a diffusion unit configured to diffuse and shape the input laser beam. For example, the diffusion unit may diffuse and shape the beam based on diffraction and / or refraction to emit the aforementioned uniform linear or narrow rectangular beam.

[0066] It should be noted that the above-mentioned emitted beam can also be obtained through other shaping processes.

[0067] In some embodiments, the diffusion unit may include at least one of the following optical devices: an optical diffuser, a diffractive optical element (DOE), and an aspherical cylindrical mirror.

[0068] It should be noted that the above-mentioned devices are merely examples of diffusion units, and the embodiments disclosed herein do not impose any specific limitations on them.

[0069] When using an optical diffuser or DOE to perform diffusion shaping, the emitting optical system 112 may further include a collimation unit. The collimation unit can be configured to collimate the laser beam emitted from the light source to obtain a collimated laser beam to be input into the diffuser or DOE.

[0070] In some embodiments, the collimation unit may include at least one of the following optical devices: microlenses or collimating lenses. For example, the collimation unit may be an array of microlenses.

[0071] It should be noted that the above-mentioned devices are merely examples of collimation units, and the embodiments disclosed herein do not impose any specific limitations on them.

[0072] In some embodiments, the lidar system 100 further includes a plane mirror 140 with an aperture 141. Specifically, the plane mirror 140 uses the aperture 141 to transmit an emitted light beam to guide the emitted light beam to the scanning device 120, and uses a mirror surface to reflect a received light beam to guide the received light beam to the receiving device 130. That is, the emitted light beam emitted from the transmitting device 110 can be directly transmitted through the plane mirror 140 via the aperture 141, while the reflected received light beam can be reflected by the mirror surface in the plane mirror 140. In other words, the reverse receiving path can be separated from the forward transmitting path at the plane mirror 140. Thus, by means of the plane mirror 140 with an aperture, the lidar system 100 can achieve coaxial transmission and reception. Advantageously, coaxial transmission and reception can avoid the imaging position deviation problem of near-range and far-range detection return light spot caused by the separation of their optical axes, thereby avoiding the additional calibration caused by this problem and facilitating mass production.

[0073] It should be noted that this disclosure can also be for a non-coaxial lidar system.

[0074] In some possible implementations, the precision requirements for the manufacturing and assembly of the aperture in a plane mirror are relatively relaxed, as long as the emitted light beam can pass through. Furthermore, by reducing the size of the aperture, the loss of reflected light can be reduced.

[0075] Therefore, in some embodiments, the emitted beam is focused when passing through the aperture. For example, by designing the beam characteristics of the emitted beam and / or adjusting the position of the plane mirror relative to the emitting device, it can be ensured that the emitted beam is focused when passing through the aperture. Advantageously, by focusing the emitted beam at the aperture, the aperture can be minimized while ensuring that the emitted beam passes through the aperture, thereby minimizing the loss of reflected light and further reducing the precision requirements for the manufacture and assembly of the aperture.

[0076] It should be noted that the embodiments disclosed herein do not impose specific limitations on this.

[0077] The aforementioned aperture is typically located at the center of the plane mirror, but this disclosure does not specifically limit this. Furthermore, to reduce the loss of reflected light, the shape of the aperture can correspond to the cross-sectional shape of the emitted light beam as it passes through the aperture, and therefore does not necessarily have to be circular.

[0078] It should be noted that other methods can also be used to achieve coaxial transmission and reception. However, compared to other methods such as beam splitters, the perforated plane mirror proposed in this embodiment can reduce light loss and improve efficiency.

[0079] In some embodiments, a scanning device 120, such as a rotating mirror, can be configured to rotate about a rotation axis oriented in a vertical direction (a first direction, the Y-axis direction in the figure) to guide the emitted beam to scan a target object within the field of view. The target object can be any object within the scanning field of view of the lidar system that can reflect the scanning laser, such as vehicles, pedestrians, animals, road signs, obstacles, trees, shelves, furniture, etc.

[0080] In some embodiments, the emitted beam is scattered back after illuminating the target object, and a portion of it is returned to the lidar system 100 as a received beam and received by the receiving device 130.

[0081] In some embodiments, the receiving device 130 may be configured to receive and detect a received light beam returning from the target object. For example, the received light beam scattered back by the target object may return along its original path to the scanning device 120, then be guided by the scanning device 120 to the plane mirror 140, and then reflected by the plane mirror 140 back to the receiving device 130.

[0082] In some embodiments, the receiving device 130 may include a photodetector 131. The photodetector 131 may measure the power, phase, or time characteristics of the received light and generate a corresponding current output.

[0083] In some embodiments, such as Figure 1 As shown, the photodetector 131 may include a plurality of photodetector units 1310 arranged along one direction. Different photodetector units 1310 are configured to receive and detect light signals returned from a target object at different relative angles in the vertical direction within the field of view. The photodetector 131 may also include receiving circuitry (not shown) associated with each photodetector unit 1310. Each receiving circuitry can be used to process the output electrical signal of the corresponding photodetector unit 1310.

[0084] The photodetector unit 1310 may include various forms of photodetector devices or one-dimensional or two-dimensional arrays of photodetector devices. Correspondingly, the receiving circuit may be a single circuit or an array of multiple circuits. In various embodiments, the photodetector device may be an avalanche photodiode (APD), a SPAD, a PN photodiode, or a PIN photodiode.

[0085] For example, the photodetector unit 1310 can be a photodetector SPAD or a one-dimensional or two-dimensional array thereof, thus the photodetector 131 is an array of SPADs. Advantageously, due to the very small spacing and close arrangement of the SPADs, spatial resolution can be greatly improved. Moreover, different SPADs can simultaneously and individually perform direct time-of-flight (dToF) measurements without the need for time-division lighting of the light source, which can greatly improve temporal resolution.

[0086] In some embodiments, the receiving device 130 may further include a receiving optical system 132. The receiving optical system 132 may be configured to image the received light onto the photodetector 131. For example, in some embodiments, the receiving optical system 132 may include a receiving lens and an aperture stop. The receiving lens and aperture stop are located upstream of the photodetector 131 in the receiving path. For example, the receiving lens may include an imaging system lens such that the focal point of the received beam is in front of or behind the receiving surface of the photodetector, or exactly above the receiving surface. In some cases, instead of existing as a separate component, the receiving lens may also be integrated into the photodetector 131. The aperture stop is used to limit the angle of incident light onto the photodetector 131, block stray light, etc.

[0087] As described above, the light spot projected into the field of view by the lidar system 100 can be a uniform line extending vertically or a narrow rectangle. Therefore, the received light beam returning from the target object will form a similar pattern on the receiving surface of the photodetector 131. By arranging multiple photodetector units 1310 correspondingly along the long side of the line or rectangle, and using the receiving optical system 132 to image the light returned from the target object at different relative angles in the vertical direction of the field of view onto different photodetector units 1310, these photodetector units 1310 can be made to correspond to the target object at different relative angles in the vertical direction of the field of view. That is, different photodetector units 1310 are configured to receive and detect the light signals returned from the target object at different relative angles in the vertical direction of the field of view. Therefore, based on the arrangement information of the photodetector units 1310 and the parameter information of the optical system, the relative angle of the corresponding target object can be accurately calculated.

[0088] Because a uniform linear (or narrow rectangular) emission beam is used, only simple assembly and adjustment of the lidar system 100 are required, ensuring that the received light spot imaged on the photodetector 131 by the receiving optics system 132 covers the receiving surface of the photodetector unit 1310 (i.e., the photosensitive surface of all photodetector units 1310), without the need for separate alignment of the transmitting and receiving modules. Here, "covering" the receiving surface can be understood as the receiving light spot at least partially overlapping the receiving surface, allowing each photodetector unit to receive the light signal returned from the target object. For example, in some embodiments, the size of the receiving light spot can be relatively small, covering only a portion of the receiving surface, thereby maximizing the reception of the returned light signal by the photodetector units and minimizing waste. Therefore, advantageously, the solution proposed in this disclosure can greatly simplify the assembly and adjustment process, facilitating automated production.

[0089] The vertical angular resolution δθ of the lidar system 100 according to an embodiment of the present disclosure Z =Δθ Z / Q, where Q is the number of photodetector units 1310 included in the photodetector 131. By reducing the emission angle Δθ V Increasing the number Q of photodetector units 1310 in photodetector 131 can reduce the angular resolution δθ in the vertical direction. V The value of this improves the angular resolution in the vertical direction.

[0090] It is worth noting that, in some embodiments, each photodetector unit 1310 may include a plurality of photodetector devices (such as SPADs) arranged along one direction, wherein the arrangement direction of the plurality of photodetector devices is perpendicular to the arrangement direction of the plurality of photodetector units 1310. This arrangement allows for an increase in the number of photodetector devices in each photodetector unit 1310 without affecting the spacing between the photodetector units 1310, thereby improving detection accuracy without compromising spatial resolution.

[0091] Variations in the operating environment temperature of a lidar system introduce system-level changes that can alter its point cloud performance. These system-level changes include temperature drift in modules such as the transmitting module, receiving module, system-on-chip (SoC), and optomechanical system. Currently, temperature compensation of the lidar's output ranging value is one of the effective methods to reduce the impact of ambient temperature changes on lidar performance.

[0092] Temperature compensation for lidar involves several aspects, including temperature compensation for ranging and temperature compensation for reflectivity, in order to reduce the impact of temperature changes on lidar performance, especially in terms of ranging accuracy and the reliability of reflectivity measurement.

[0093] Ranging temperature compensation focuses on the impact of temperature changes on the ranging accuracy of lidar, including the following aspects: 1. Temperature dependence of Time-of-Flight (ToF) signals: Temperature changes alter the response time of optoelectronic devices, thus affecting ToF measurements. In some embodiments, specific circuit designs or algorithms can be used to correct this time delay, ensuring ranging accuracy at different temperatures. This compensation is device-level temperature regulation. 2. Temperature compensation of signal processing algorithms: Software algorithms dynamically adjust signal processing parameters to adapt to temperature changes and maintain ranging accuracy.

[0094] Reflectivity temperature compensation addresses the impact of temperature variations on reflectivity measurements. This involves temperature compensation for the detector response; for example, the sensitivity of a SPAD detector may change with temperature. In some embodiments, the detection efficiency can be kept stable by adjusting the detector bias voltage or using a temperature compensation circuit, but temperature drift will still exist in the compensated SPAD detection data.

[0095] It is evident that current temperature compensation methods suffer from problems such as simple compensation methods, single dimension, and low compensation accuracy.

[0096] To address the aforementioned issues, this disclosure provides a temperature compensation method for lidar to improve the temperature compensation accuracy of lidar.

[0097] Below, we will combine the above... Figure 1 The lidar system shown illustrates the temperature compensation method for lidar according to embodiments of this disclosure. Figure 2 This is a schematic diagram of the first implementation process of the temperature compensation method for lidar in this disclosure, as shown below. Figure 2 As shown, the method may include:

[0098] In the embodiments disclosed herein, for ease of explanation, the temperature compensation device of the lidar is referred to as the temperature compensation device in the following embodiments.

[0099] S201, receive the first echo signal returned at the first test temperature. The echo signal returned by the lidar is different at different test temperatures.

[0100] Understandably, the temperature compensation device can perform temperature compensation for the lidar across the entire temperature range. The first test temperature is the temperature at which temperature compensation is performed on the lidar, and this first test temperature can be any temperature within the aforementioned entire temperature range. The entire temperature range is -40℃ to 85℃.

[0101] In some embodiments, the lidar emits a laser towards a calibration plate at a first test temperature, and the photodetector in the lidar receives the echo signal reflected back from the calibration plate (i.e., the first echo signal).

[0102] In some embodiments, the calibration plates used in the temperature compensation process can be multiple calibration plates with different reflectivities. The reflectivities are selected based on actual testing requirements, such as 2.5%, 10%, 90%, and high reflectivity (hereinafter referred to as high reflectivity). These multiple calibration plates with different reflectivities can be arranged on the same plane. During temperature compensation, the position of the lidar can be moved so that the laser emitted by the lidar can target the calibration plates with different reflectivities. Alternatively, the multiple calibration plates with different reflectivities can be arranged separately, and during temperature compensation, the calibration plates can be replaced so that the laser emitted by the lidar can target the calibration plates with different reflectivities.

[0103] In some embodiments, Figure 3 This is a schematic diagram of the lidar and calibration board in an embodiment of this disclosure. See also... Figure 3 As shown, the height of the lidar 32 is h, and the distance between the lidar 32 and the calibration plate 31 is D. Both h and D are preset values ​​according to actual needs. For example, h = 1.5 meters (m) and D = 25 meters.

[0104] S202, based on the first test temperature, perform a first temperature compensation on the first ranging value and the first pulse width value of the first echo signal to obtain the second ranging value and the second pulse width value.

[0105] Understandably, based on the first echo signal received by the lidar, the distance between the lidar and the calibration board (i.e., the first ranging value) and the lidar's pulse width (i.e., the first pulse width value) can be determined. It should be noted that the first ranging value and the first pulse width value are information directly obtained from the first echo signal and are uncompensated ranging information.

[0106] In some embodiments, after acquiring the first ranging value and the first pulse width value, the temperature compensation device can determine the compensation amount corresponding to the current first test temperature based on the first test temperature, and then calculate the second ranging value and the second pulse width value based on the compensation amount. The second ranging value is obtained by temperature compensation of the first ranging value, and the second pulse width value is obtained by temperature compensation of the first pulse width value.

[0107] S203, based on the second ranging value and the second pulse width value, calibrates the intrinsic parameters of the lidar to obtain the calibrated second ranging value and the calibrated reflectivity value.

[0108] Understandably, after determining the second ranging value and the second pulse width value, the temperature compensation device can calibrate the lidar at room temperature to obtain the calibrated second ranging value and the calibrated reflectivity value. The calibrated reflectivity value is based on the second pulse width value.

[0109] It should be noted that the room temperature mentioned in the embodiments of this disclosure refers to a temperature range of 20°C to 25°C.

[0110] S204, based on the first test temperature, perform a second temperature compensation on the calibrated second ranging value to obtain the target ranging value at the first test temperature.

[0111] Understandably, the temperature compensation device can perform a second temperature compensation on the calibrated second ranging value based on the first test temperature. The target ranging value obtained after two temperature compensations meets the ranging accuracy requirements of the lidar system.

[0112] In some embodiments, the ranging accuracy requirements of the lidar system are as follows: the accuracy standard for ranging values ​​is ±5 cm; the reflectivity accuracy requirement is 10% to 90% Lambertian, and the reflectivity accuracy standard is ±30; the time index of the time-of-flight (ToF) signal is ±0.3333 nanoseconds.

[0113] S205 outputs the target ranging value and the calibrated reflectivity value.

[0114] Understandably, after undergoing two temperature compensations and one calibration to obtain the target ranging value, and after undergoing one temperature compensation and one calibration to obtain the reflectivity value, the target ranging value and the calibrated reflectivity value are output.

[0115] In some possible implementations, temperature compensation can be implemented using two schemes (i.e., Scheme 1 and Scheme 2). When Scheme 1 is used to execute the above S202, in S202, a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature can be determined based on the first test temperature; the ranging correction value and pulse width correction value of the lidar under normal temperature conditions can be obtained; a second ranging value can be determined based on the first ranging value, the first ranging compensation amount and the ranging correction value; and a second pulse width value can be determined based on the first pulse width value, the first pulse width compensation amount and the pulse width correction value.

[0116] It is understandable that the temperature at which the lidar is located during ranging (i.e., the first test temperature) corresponds to the ranging compensation amount (i.e., the first ranging compensation amount) and the pulse width compensation amount (i.e., the first pulse width compensation amount). Among them, the ranging compensation amount corresponding to different test temperatures is different, and correspondingly, the pulse width compensation amount corresponding to different test temperatures is also different.

[0117] In some embodiments, since the initial ranging value obtained by the lidar at room temperature will deviate from the actual ranging value (i.e., the distance between the target and the lidar), the lidar can be tested at room temperature to obtain ranging correction value and pulse width correction value.

[0118] In some possible implementations, the above-described determination of the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature based on the first test temperature may include: determining the first ranging compensation amount corresponding to the first test temperature based on a preset first mapping relationship and the first test temperature; the first mapping relationship being a mapping relationship between the test temperature and the first ranging compensation amount; and determining the first pulse width compensation amount corresponding to the first test temperature based on a preset second mapping relationship and the first test temperature; the second mapping relationship being a mapping relationship between the test temperature and the pulse width compensation amount.

[0119] Understandably, the first mapping relationship is the mapping relationship between the test temperature and the ranging compensation amount. Given the first test temperature, the first ranging compensation amount can be calculated based on the first mapping relationship. Correspondingly, the second mapping relationship is the mapping relationship between the test temperature and the pulse width compensation amount. Given the first test temperature, the first pulse width compensation amount can be calculated based on the second mapping relationship.

[0120] In some embodiments, the expression (1) of the first mapping relationship or the second mapping relationship described above is as follows:

[0121] y = a × x 3 +b×x 2 +c1×x+d (1)

[0122] When Equation (1) is the expression for calculating the first ranging compensation amount, y is the first ranging compensation amount, x is the first test temperature, and a, b, c, and d are preset calibration parameters. When Equation (1) is the expression for calculating the first pulse width compensation amount, y is the first pulse width compensation amount, x is the first test temperature, and a, b, c, and d are preset calibration parameters.

[0123] In some embodiments, the calibration parameters in equation (1) can be obtained by fitting the temperature drift data of the lidar using a preset fitting function, where the calibration parameters are the coefficients of the fitting function. It should be noted that the calibration parameters in equation (1) may change depending on the calibration results of the lidar, and this embodiment does not specifically limit this.

[0124] In some possible implementations, temperature compensation can be implemented in two ways (i.e., Scheme 1 and Scheme 2). When Scheme 2 is used to execute the above S202, the test temperature of the lidar can be divided into multiple temperature ranges. Then, in the above S202, the first temperature range to which the first test temperature belongs can be determined. Based on the first temperature range and the first test temperature, the first ranging value and the first pulse width value are subjected to the first temperature compensation to obtain the second ranging value and the second pulse width value.

[0125] Understandably, the temperature compensation device divides the entire temperature range into multiple temperature zones, each with a different temperature compensation method. When using Scheme 2 for temperature compensation, it is necessary to first determine the temperature zone to which the first test temperature belongs (i.e., the first temperature zone), and then calculate the second ranging value and the second pulse width value according to the temperature compensation method corresponding to the first temperature zone.

[0126] In some possible implementations, the above-described process of performing a first temperature compensation on the first ranging value and the first pulse width value based on the first temperature range and the first test temperature to obtain the second ranging value and the second pulse width value may include: determining a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature based on the first temperature range; determining a second ranging value based on the first ranging value and the first ranging compensation amount; and determining a second pulse width value based on the first pulse width value and the first pulse width compensation amount.

[0127] Understandably, based on the temperature compensation method corresponding to the first temperature range, the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature can be determined. Different temperature ranges correspond to different temperature compensation methods.

[0128] In some possible implementations, the above-described determination of the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature based on the first temperature range may include: calculating the first ranging compensation amount corresponding to the first test temperature based on a preset third mapping relationship and the first temperature range; the third mapping relationship corresponds to the first temperature range; the third mapping relationship is the mapping relationship between the temperature value of the first temperature range and the ranging compensation amount; calculating the first pulse width compensation amount corresponding to the first test temperature based on a preset fourth mapping relationship and the first temperature range; the fourth mapping relationship corresponds to the first temperature range; the fourth mapping relationship is the mapping relationship between the temperature value of the first temperature range and the pulse width compensation amount.

[0129] Understandably, the third mapping relationship is the mapping relationship between the test temperature and the ranging compensation amount when the test temperature is within the first temperature range. Given the first test temperature, the first ranging compensation amount can be calculated based on the third mapping relationship. Correspondingly, the fourth mapping relationship is the mapping relationship between the test temperature and the pulse width compensation amount when the test temperature is within the first temperature range. Given the first test temperature, the first pulse width compensation amount can be calculated based on the fourth mapping relationship.

[0130] In some embodiments, taking the full temperature range as an example of being divided into four temperature intervals, the expression (2) of the above third or fourth mapping relationship is as follows:

[0131]

[0132] In equation (2), p1, p2, and p3 are three temperature segmentation points, dividing the entire temperature range into four temperature intervals. When equation (2) is the expression for calculating the first ranging compensation amount, y is the first ranging compensation amount, x is the first test temperature, and a1, b1, a2, b2, a3, b3, a4, and b4 are preset calibration parameters. When equation (2) is the expression for calculating the first pulse width compensation amount, y is the first pulse width compensation amount, x is the first test temperature, and a1, b1, a2, b2, a3, b3, a4, and b4 are preset calibration parameters. It should be noted that p1, p2, and p3 are preset temperature segmentation points, which can be obtained through function fitting; this embodiment does not specifically limit their value.

[0133] In some embodiments, the calibration parameters in equation (2) can be obtained by fitting the temperature drift data of the lidar using a preset fitting function, where the calibration parameters are the coefficients of the fitting function. It should be noted that the calibration parameters in equation (2) may change depending on the calibration results of the lidar, and this embodiment does not specifically limit this.

[0134] In some embodiments, the calibration parameters and temperature breakpoints in the expression shown in equation (2) above can be determined using function fitting tools, such as MATLAB or Python. Taking Python as an example... Figure 4 See the schematic diagram of the fitting process for calibration parameters. Figure 4 As shown, the first test temperature 41 of the lidar and the first echo information 42 corresponding to the first echo signal are input into the fitting tool 43. The fitting tool 43 outputs the fitting result 44, which includes temperature segmentation point 441, calibration parameter a 442 and calibration parameter b 443.

[0135] In some possible implementations, determining the second ranging value based on the first ranging value, the first ranging compensation amount, and the ranging correction value may include: summing the first ranging value, the first ranging compensation amount, and the ranging correction value to obtain the second ranging value; determining the second pulse width value based on the first pulse width value, the first pulse width compensation amount, and the pulse width correction value may include: summing the first pulse width value, the first pulse width compensation amount, and the pulse width correction value to obtain the second pulse width value.

[0136] Understandably, by summing the first ranging value, the first ranging compensation amount, and the ranging correction value, a second ranging value can be obtained, which is the result of the first ranging value after compensation and correction. Similarly, by summing the first pulse width value, the first pulse width compensation amount, and the pulse width correction value, a second pulse width value can be obtained, which is the result of the first pulse width value after compensation and correction.

[0137] In some possible implementations, the second temperature compensation for the calibrated second ranging value is performed in the same way as the first temperature compensation, and there are two schemes (i.e., scheme one and scheme two). The second ranging compensation amount is calculated according to scheme one or scheme two, and the target ranging value is obtained by summing the second ranging compensation amount and the calibrated second ranging value.

[0138] In some embodiments, the expression for the second temperature compensation of the calibrated second ranging value using Scheme 1 is shown in Equation (1). In the case of the second temperature compensation, y in Equation (1) is the second ranging compensation amount, and x is the first test temperature.

[0139] In some embodiments, the expression for the second temperature compensation of the calibrated second ranging value using Scheme 2 is shown in Equation (2). In the case of the second temperature compensation, y in Equation (2) is the second ranging compensation amount, and x is the first test temperature.

[0140] In some embodiments, during the first and second temperature compensation processes, the expression (3) for calculating the second ranging value, the second pulse width value, and the target ranging value is as follows:

[0141]

[0142] In equation (3), risePos represents the first ranging value, risePos_TemCom represents the first ranging compensation amount, risePos_T represents the second ranging value, FWHM represents the first pulse width value, FWHM_TemCom represents the first pulse width compensation amount, FWHM_T represents the second pulse width value, range represents the calibrated second ranging value, range_TemCom represents the second ranging compensation amount, and range_T represents the target ranging value.

[0143] It should be noted that equation (3) is only one example and does not represent the ranging correction value and the pulse width correction value. According to actual needs, in the process of calculating the second pulse width value, the second ranging value and the target ranging value, the first ranging value, the first ranging compensation amount and the ranging correction value are added together to obtain the second ranging value, the first pulse width value, the first pulse width compensation amount and the pulse width correction value are added together to obtain the second pulse width value, and the target ranging value and the ranging correction value are added together to obtain the corrected target ranging value. This disclosure does not specifically limit this.

[0144] In some embodiments, since the temperature drift of weak signals is larger and that of strong signals is smaller, a high-reflectance calibration board or a 90% calibration board can be used for testing to obtain the first and second ranging compensation amounts. Because the temperature drift trend of reflectivity is consistent with the pulse width change, and the reflectivity calibration result is caused by the pulse width, temperature compensation for reflectivity can be directly performed on the pulse width, using the pulse width to represent reflectivity. To avoid overcompensation, a 2.5% calibration board can be used for testing to obtain the first pulse width compensation amount.

[0145] In some embodiments, Tables 1, 2, and 3 are specific examples of the calibration parameters in expression (2) above. Among them, Table 1 is one example of the value of the parameter in expression (2) when calculating the second pulse width value.

[0146] Table 1

[0147] Parameter name unit Default value (decimal) FWHM breakpoints0 ℃ -5) FWHM breakpoints1 ℃ 12.65 FWHM breakpoints2 ℃ 42.42 FWHMslopes0 ns 0.015 FWHMslopes1 ns 0.025 FWHMslopes2 ns 0.0347 FWHMslopes3 ns 0.0123 FWHMintercepts0 ns -0.78258 FWHMintercepts1 ns -0.6858 FWHMintercepts2 ns -0.9867 FWHMintercepts3 ns -0.0372

[0148] In Table (1), FWHM_breakpoints represents the preset temperature breakpoints, with a total of three temperature breakpoints, dividing the full temperature range into four temperature intervals. FWHM_slopes represents calibration parameter a, with four temperature intervals corresponding to four calibration parameters a. FWHM_intercepts represents calibration parameter b, with four temperature intervals corresponding to four calibration parameters b.

[0149] Table 2

[0150] Parameter name unit Default value (decimal) risePosbreakpoints0 ℃ -5 risePosbreakpoints1 ℃ 12.656 risePosbreakpoints2 ℃ 38.881 risePosslopes0 ns -0.04525 risePosslopes1 ns -0.0358 risePosslopes2 ns -0.0365 risePosslopes3 ns -0.01646 risePosintercepts0 ns 0.2694 risePosintercepts1 ns 0.15889 risePosintercepts2 ns 1.08844 risePosintercepts3 ns 0.3093

[0151] See Table 2, which shows one example of the parameter values ​​in expression (2) when calculating the second ranging value. In this table, risePos_breakpoints represents the preset temperature breakpoints, with a total of three temperature breakpoints, dividing the entire temperature range into four temperature intervals. risePos_slopes represents calibration parameter a, with four temperature intervals corresponding to four calibration parameters a. risePos_intercepts represents calibration parameter b, with four temperature intervals corresponding to four calibration parameters b.

[0152] Table 3

[0153] variable name unit Default value (decimal) rangebreakpoints0 ℃ -6 rangebreakpoints1 ℃ 12.6562 rangebreakpoints2 ℃ 54.9392 rangeslopes0 ns -0.0152 rangeslopes1 ns -0.0255 rangeslopes2 ns -0.05 rangeslopes3 ns -0.031 rangeintercepts0 ns 0.952 rangeintercepts1 ns 0.8592 rangeintercepts2 ns 1.4680 rangeintercepts3 ns 0.4308

[0154] See Table 3. Table 3 shows one example of the parameter values ​​in expression (2) when calculating the target ranging value. In this table, range_breakpoints represents the preset temperature breakpoints, with a total of three temperature breakpoints, dividing the entire temperature range into four temperature intervals. range_slopes represents calibration parameter a, with four temperature intervals corresponding to four calibration parameters a. range_intercepts represents calibration parameter b, with four temperature intervals corresponding to four calibration parameters b.

[0155] In some embodiments, the photodetector in the lidar is an example of a SPAD. Figure 5 This is a schematic diagram of a second implementation process of the temperature compensation method for lidar in this disclosure. See [link to relevant documentation]. Figure 5 As shown, SPAD 41 receives the first echo signal at the first test temperature and obtains ranging data such as the first ranging value 52, the first pulse width value 53, and the amplitude 54 based on the first echo signal. It performs a first temperature compensation (i.e., first ranging temperature compensation) on the first ranging value 52 and the first pulse width value 53. The obtained second ranging value and second pulse width value are input into the calibration module 55. The calibration module 55 calibrates the lidar's intrinsic parameters and outputs the calibrated second ranging value 56 and the calibrated reflectivity value 57. A second temperature compensation (i.e., second ranging temperature compensation) is then performed on the calibrated second ranging value 56 to obtain the target ranging value 58, and the target ranging value 58 and the calibrated reflectivity value 57 are output.

[0156] In this embodiment of the present disclosure, a first ranging compensation amount and a first pulse width compensation amount are obtained by performing a first temperature compensation on the raw data (i.e., the first echo signal) received by the photodetector; after calibration, a second temperature compensation is performed on the calibrated second ranging value to obtain the target ranging value; so that the target ranging value obtained after two temperature compensations can meet the ranging index requirements of the lidar system.

[0157] In some possible implementations, S201 may include: heating the lidar; reading the lidar temperature; if the lidar temperature is less than or equal to a first threshold temperature, determining whether the temperature difference between the lidar temperature and the previously read lidar temperature is greater than a preset temperature unit; if the temperature difference is greater than or equal to the preset temperature unit, receiving a first echo signal returned at a first test temperature.

[0158] Understandably, to perform temperature compensation for the LiDAR in every temperature unit across the entire temperature range, the LiDAR can first be placed in a temperature chamber with an internal environment set to -40℃. After one hour, the LiDAR is removed, and the window heating function is activated. A heating sleeve is then wrapped around the LiDAR to heat it. During the heating process, the LiDAR temperature is read in real time. If the real-time temperature is less than or equal to a first threshold temperature, it indicates that temperature compensation for the LiDAR in each temperature unit has not yet been completed. Next, it is determined whether the LiDAR's rising temperature (i.e., the temperature difference between the LiDAR's current temperature and the previously read temperature) is greater than or equal to a preset temperature unit. If the rising temperature is greater than the preset temperature unit, temperature compensation for the LiDAR at the current temperature is completed.

[0159] In some embodiments, the first threshold temperature can be the highest temperature value in the full temperature range, i.e., 85°C. The preset temperature unit can be 1°C.

[0160] In some embodiments, if the temperature rise of the lidar (i.e., the temperature difference between the lidar temperature and the previously read lidar temperature) is less than a preset temperature unit, the step of reading the lidar temperature described above is returned.

[0161] In some embodiments, when the heating temperature of the lidar is greater than the preset temperature unit, temperature compensation of the lidar at the current temperature is performed, and the first ranging compensation amount, the first pulse width compensation amount, and the second ranging compensation amount at the current temperature are stored; then, the step of reading the temperature of the lidar described above is returned.

[0162] In some embodiments, if the real-time temperature is greater than the first threshold temperature, it indicates that temperature compensation for the lidar has been completed in every temperature unit across the entire temperature range, and the temperature compensation process ends.

[0163] In one example, Figure 6 This is a schematic diagram of a third implementation process of the temperature compensation method for lidar in this disclosure. See [link to relevant documentation]. Figure 6As shown, taking a full temperature range of -40℃ to 85℃ as an example, and using a SPAD photodetector as an example, the temperature compensation method for a lidar can include the following steps:

[0164] S601, set the chamber temperature to -40℃.

[0165] S602, place the lidar in an incubator for one hour.

[0166] S603, remove the lidar and turn on the window heating function.

[0167] S604, with a heating jacket wrapped around the outside of the lidar.

[0168] S605, adjust the position of the lidar and align it with the calibration board.

[0169] S606 reads the temperature of the SPAD in real time from the LiDAR.

[0170] S607 determines whether the SPAD temperature is less than or equal to 85℃.

[0171] S608, when the SPAD temperature is less than or equal to 85°C, determines whether the SPAD's heating temperature is greater than or equal to 1°C.

[0172] S609, the process ends when the SPAD temperature exceeds 85°C.

[0173] S610: When the SPAD's heating temperature is greater than or equal to 1°C, receive the first echo signal, execute the temperature compensation method, obtain the first ranging compensation amount, the first pulse width compensation amount, and the second ranging compensation amount, and save the above data in association with the current temperature; then return to S606.

[0174] This completes the temperature compensation method for lidar.

[0175] In some embodiments, to characterize the effect of temperature compensation described in the present disclosure, before performing temperature compensation, a series of schematic diagrams showing the changes in ranging, reflectivity, and pulse width with temperature are drawn based on the echo information received by the lidar. Figure 7 This is a schematic diagram showing the change of the calibrated ranging value with temperature in the case of no temperature compensation in this embodiment of the present disclosure. Figure 8 This is a schematic diagram showing the change of the calibrated reflectance value with temperature in the absence of temperature compensation in this embodiment of the present disclosure. Figure 9 This is a schematic diagram showing the change of the ranging value with temperature before calibration in an embodiment of this disclosure without temperature compensation. Figure 10 This is a schematic diagram showing the change of pulse width value with temperature before calibration in an embodiment of this disclosure without temperature compensation. Figure 11This is a schematic diagram illustrating the change in amplitude with temperature before calibration in an embodiment of this disclosure without temperature compensation. See also... Figures 7 to 11 It can be seen that the amplitude does not change significantly with temperature, and the amount of change with temperature does not exceed its own jitter index (i.e., 10% jitter), so there is no need to consider amplitude temperature compensation; the ranging value, pulse width value and reflectivity value change significantly with temperature. This is because the waveform leading edge changes after temperature change, and the trailing edge is stable, which makes the ranging value, pulse width value and reflectivity value monotonic with temperature change.

[0176] In some embodiments, the following diagram illustrates the changes in ranging, reflectivity, and pulse width with temperature after temperature compensation. Figure 12 This is a schematic diagram showing the change of the second ranging value with temperature in the case of temperature compensation in this embodiment of the disclosure. Figure 13 This is a schematic diagram showing the change of the second pulse width value with temperature in the case of temperature compensation in this embodiment of the disclosure. Figure 14 This is a schematic diagram showing the change of target ranging value with temperature in the case of temperature compensation in this embodiment of the disclosure. Figure 15 This is a schematic diagram showing the change of calibrated reflectance values ​​with temperature in the case of temperature compensation in this embodiment of the disclosure. Figure 16 This diagram illustrates the change in the corrected target ranging value with temperature, as shown in the embodiment of this disclosure where temperature compensation is applied. (See also...) Figures 12 to 16 As shown, the accuracy error of the calibrated reflectivity value is less than ±30, and the accuracy error of the corrected target ranging value is less than ±0.3333ns, which meets the ranging index requirements of the lidar system.

[0177] In this embodiment of the disclosure, by performing temperature compensation twice on the ranging value to obtain the target ranging value, the influence of ambient temperature on lidar ranging can be reduced, thereby improving the accuracy of lidar ranging.

[0178] Furthermore, by performing temperature compensation and calibration on the pulse width value to obtain the calibrated reflectivity value, the influence of ambient temperature on the accuracy of the lidar output reflectivity can be reduced, and the reflectivity stability can be improved.

[0179] Furthermore, the temperature compensation method described in this embodiment can provide effective and robust input for the perception layer algorithm and the multi-sensor fusion algorithm.

[0180] Based on the same inventive concept, this disclosure provides a temperature compensation device for lidar to solve the problem that lidar cannot effectively measure distances in near-range blind spots. Figure 17 This is a schematic diagram of the structure of a temperature compensation device for a lidar according to an embodiment of this disclosure. See also... Figure 17As shown, the temperature compensation device 1700 for a lidar includes: a data receiving module 1701 configured to receive a first echo signal returned at a first test temperature, wherein the echo signals returned by the lidar are different at different test temperatures; a temperature compensation module 1702 configured to perform a first temperature compensation on a first ranging value and a first pulse width value of the first echo signal based on the first test temperature to obtain a second ranging value and a second pulse width value; a calibration module 1703 configured to calibrate the intrinsic parameters of the lidar based on the second ranging value and the second pulse width value to obtain a calibrated second ranging value and a calibrated reflectivity value; a temperature compensation module 1702 configured to perform a second temperature compensation on the calibrated second ranging value based on the first test temperature to obtain a target ranging value at the first test temperature; and a data output module 1704 configured to output the target ranging value and the calibrated reflectivity value.

[0181] In some possible implementations, the temperature compensation module 1702 is configured to: determine a first ranging compensation amount and a first pulse width compensation amount corresponding to the first test temperature based on the first test temperature; acquire the ranging correction value and pulse width correction value of the lidar under normal temperature conditions; determine a second ranging value based on the first ranging value, the first ranging compensation amount and the ranging correction value; and determine a second pulse width value based on the first pulse width value, the first pulse width compensation amount and the pulse width correction value.

[0182] In some possible implementations, the temperature compensation module 1702 is configured to: determine a first ranging compensation amount corresponding to the first test temperature based on a preset first mapping relationship and a first test temperature; the first mapping relationship is a mapping relationship between the test temperature and the first ranging compensation amount; and determine a first pulse width compensation amount corresponding to the first test temperature based on a preset second mapping relationship and the first test temperature; the second mapping relationship is a mapping relationship between the test temperature and the pulse width compensation amount.

[0183] In some possible implementations, the test temperature of the lidar is divided into multiple temperature ranges; the temperature compensation module 1702 is configured to: determine the first temperature range to which the first test temperature belongs; and perform a first temperature compensation on the first ranging value and the first pulse width value based on the first temperature range and the first test temperature to obtain a second ranging value and a second pulse width value.

[0184] In some possible implementations, the temperature compensation module 1702 is configured to: determine a first ranging compensation amount and a first pulse width compensation amount corresponding to a first test temperature based on a first temperature range; determine a second ranging value based on the first ranging value and the first ranging compensation amount; and determine a second pulse width value based on the first pulse width value and the first pulse width compensation amount.

[0185] In some possible implementations, the temperature compensation module 1702 is configured to: calculate a first ranging compensation amount corresponding to a first test temperature based on a preset third mapping relationship and a first temperature range; the third mapping relationship corresponds to the first temperature range; the third mapping relationship is a mapping relationship between the temperature value of the first temperature range and the ranging compensation amount; calculate a first pulse width compensation amount corresponding to the first test temperature based on a preset fourth mapping relationship and the first temperature range; the fourth mapping relationship corresponds to the first temperature range; the fourth mapping relationship is a mapping relationship between the temperature value of the first temperature range and the pulse width compensation amount.

[0186] In some possible implementations, the temperature compensation module 1702 is configured to: sum the first ranging value, the first ranging compensation amount, and the ranging correction value to obtain a second ranging value; and sum the first pulse width value, the first pulse width compensation amount, and the pulse width correction value to obtain a second pulse width value.

[0187] In some possible implementations, the data receiving module 1701 is configured to: heat the lidar; read the temperature of the lidar; if the temperature of the lidar is less than or equal to a first threshold temperature, determine whether the temperature difference between the lidar temperature and the previously read lidar temperature is greater than a preset temperature unit; if the temperature difference is greater than or equal to the preset temperature unit, receive the first echo signal returned at the first test temperature.

[0188] Based on the same inventive concept, this disclosure provides a control device for a lidar system, which is used to control such... Figure 1 The lidar system shown. Figure 18 This is a block diagram illustrating the configuration of the control device for the lidar system in this embodiment. The control device 1800 of the lidar system can be any type of general-purpose or special-purpose computing device, such as a desktop computer, laptop computer, server, mainframe computer, cloud-based computer, tablet computer, wearable device, vehicle electronics, etc. Figure 18 As shown, the control device 1800 of the lidar system includes an input / output (I / O) interface 1801, a network interface 1802, a memory 1804, and a processor 1803.

[0189] It should be noted that, Figure 18 The control equipment of the lidar system in the middle can be connected with Figure 1 The lidar system can be integrated into a single lidar system, or it can be set up separately.

[0190] I / O interface 1801 is a collection of components that can receive input from a user and / or provide output to a user. I / O interface 1801 may include, but is not limited to, buttons, keyboards, keypads, LCD displays, LED displays or other similar display devices, including display devices with touch screen capabilities that enable interaction between the user and the control device 1800 of the LiDAR system.

[0191] Network interface 1802 may include various adapters and circuitry implemented in software and / or hardware to enable communication with the LiDAR system using wired or wireless protocols. Wired protocols include, for example, any one or more of serial, parallel, Ethernet, USB, or other wired communication protocols. Wireless protocols include, for example, any IEEE 802.11 Wi-Fi protocol, cellular network communication protocols, etc.

[0192] Memory 1804 includes a single memory or one or more memories or storage locations, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), EPROM, EEPROM, flash memory, logic blocks of an FPGA, hard disk, or any other layer of a memory hierarchy. Memory 1804 can be used to store any type of instructions, software, or algorithms, including instructions 1805 for the general functions and operations of the control device 1800 for controlling the lidar system.

[0193] Processor 1803 controls the general operation of control device 1800 of the lidar system. Processor 1803 may include, but is not limited to, a CPU, hardware microprocessor, hardware processor, multi-core processor, single-core processor, microcontroller, application-specific integrated circuit (ASIC), DSP, or other similar processing device, capable of executing any type of instructions, algorithms, or software for controlling the operation and functions of control device 1800 of the lidar system according to embodiments described in this disclosure. Processor 1803 may be various implementations of digital circuit systems, analog circuit systems, or mixed-signal (analog and digital combination) circuit systems that perform functions in a computing system. Processor 1803 may include, for example, portions or circuitry of an integrated circuit (IC), a single processor core, an entire processor core, a single processor, a programmable hardware device such as a field-programmable gate array (FPGA), and / or a system comprising multiple processors.

[0194] The internal bus 1806 can be used to establish communication between the components of the control device 1800 of the lidar system.

[0195] The control device 1800 of the lidar system is communicatively coupled to the lidar system to be calibrated to control the operation of the lidar system. For example, the calibration method according to this disclosure can be stored in the memory 1804 of the control device 1800 of the lidar system as computer-readable instructions. The processor 1803 implements the calibration method by reading the stored computer-readable instructions.

[0196] Although specific components are used to describe the control device 1800 of the lidar system, different components may be present in the control device 1800 of the lidar system in alternative embodiments. For example, the control device 1800 of the lidar system may include one or more additional processors, memory, network interfaces, and / or I / O interfaces. Additionally, one or more of these components may not be present in the control device 1800 of the lidar system. Furthermore, although in Figure 18 Individual components are shown, but in some embodiments, some or all of a given component may be integrated into one or more other components in the control device 1800 of the lidar system.

[0197] This disclosure can be implemented as any combination of apparatus, system, integrated circuit, computer program or program product on a non-transitory computer-readable medium.

[0198] It should be understood that the computer-executable instructions in a computer-readable storage medium or program product according to embodiments of this disclosure can be configured to perform operations corresponding to the above-described device and method embodiments. When referring to the above-described device and method embodiments, embodiments of the computer-readable storage medium or program product will be clear to those skilled in the art, and therefore will not be described again. Computer-readable storage media and program products used to carry or include the above-described computer-executable instructions also fall within the scope of this disclosure. Such storage media may include, but are not limited to, floppy disks, optical disks, magneto-optical disks, memory cards, memory sticks, etc.

[0199] Furthermore, it should be understood that the aforementioned series of processes and devices can also be implemented via software and / or firmware. In the case of implementation via software and / or firmware, the corresponding program constituting the software is stored in the storage medium of the relevant device, and when said program is executed, it is capable of performing various functions.

[0200] For example, the multiple functions included in one unit in the above embodiments can be implemented by separate devices. Alternatively, the multiple functions implemented by multiple units in the above embodiments can be implemented by separate devices respectively. In addition, one of the above functions can be implemented by multiple units. Such configurations are included within the scope of this disclosure.

[0201] In this disclosure, the steps described in the flowcharts include not only processes executed sequentially in the stated order, but also processes executed in parallel or individually, rather than necessarily sequentially. Furthermore, even within steps involving sequential processing, the order can be appropriately altered.

[0202] The terms "comprising," "including," or any other variations thereof used in embodiments of this disclosure are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0203] The term "or" in this disclosure means inclusive "or," not exclusive "or." A reference to a "first" component does not necessarily require the provision of a "second" component. Furthermore, unless explicitly indicated, "first" or "second" component does not imply a restriction on the order in which the components are mentioned. The term "based on" means "at least partially based on."

Claims

1. A temperature compensation method for lidar, characterized in that, The method includes: Receive the first echo signal returned at a first test temperature, wherein the echo signal returned by the lidar is different at different test temperatures; Based on the first test temperature, the first ranging value and the first pulse width value of the first echo signal are subjected to a first temperature compensation to obtain a second ranging value and a second pulse width value. Based on the second ranging value and the second pulse width value, the intrinsic parameters of the lidar are calibrated to obtain the calibrated second ranging value and the calibrated reflectivity value. Based on the first test temperature, a second temperature compensation is performed on the calibrated second ranging value to obtain the target ranging value at the first test temperature; Output the target ranging value and the calibrated reflectivity value.

2. The method according to claim 1, characterized in that, The step of performing a first temperature compensation on the first ranging value and the first pulse width value of the first echo signal based on the first test temperature to obtain a second ranging value and a second pulse width value includes: Based on the first test temperature, determine the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature; Obtain the ranging correction value and pulse width correction value of the lidar under normal temperature conditions; The second ranging value is determined based on the first ranging value, the first ranging compensation amount, and the ranging correction value; The second pulse width value is determined based on the first pulse width value, the first pulse width compensation amount, and the pulse width correction value.

3. The method according to claim 2, characterized in that, The step of determining the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature based on the first test temperature includes: Based on a preset first mapping relationship and the first test temperature, a first ranging compensation amount corresponding to the first test temperature is determined; the first mapping relationship is the mapping relationship between the test temperature and the first ranging compensation amount. Based on the preset second mapping relationship and the first test temperature, the first pulse width compensation amount corresponding to the first test temperature is determined; the second mapping relationship is the mapping relationship between the test temperature and the pulse width compensation amount.

4. The method according to claim 1, characterized in that, The test temperature of the lidar is divided into multiple temperature ranges; The step of performing a first temperature compensation on the first ranging value and the first pulse width value of the first echo signal based on the first test temperature to obtain a second ranging value and a second pulse width value includes: Determine the first temperature range to which the first test temperature belongs; Based on the first temperature range and the first test temperature, the first ranging value and the first pulse width value are subjected to a first temperature compensation to obtain a second ranging value and a second pulse width value.

5. The method according to claim 4, characterized in that, The step of performing a first temperature compensation on the first ranging value and the first pulse width value based on the first temperature range and the first test temperature to obtain a second ranging value and a second pulse width value includes: Based on the first temperature range, determine the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature; Based on the first ranging value and the first ranging compensation amount, determine the second ranging value; The second pulse width value is determined based on the first pulse width value and the first pulse width compensation amount.

6. The method according to claim 5, characterized in that, The step of determining the first ranging compensation amount and the first pulse width compensation amount corresponding to the first test temperature based on the first temperature range includes: Based on the preset third mapping relationship and the first temperature range, the first ranging compensation amount corresponding to the first test temperature is calculated; the third mapping relationship corresponds to the first temperature range; the third mapping relationship is the mapping relationship between the temperature value of the first temperature range and the ranging compensation amount. Based on the preset fourth mapping relationship and the first temperature range, the first pulse width compensation amount corresponding to the first test temperature is calculated; the fourth mapping relationship corresponds to the first temperature range; the fourth mapping relationship is the mapping relationship between the temperature value of the first temperature range and the pulse width compensation amount.

7. The method according to claim 2, characterized in that, Determining the second ranging value based on the first ranging value, the first ranging compensation amount, and the ranging correction value includes: The first ranging value, the first ranging compensation amount, and the ranging correction value are summed to obtain the second ranging value; The step of determining the second pulse width value based on the first pulse width value, the first pulse width compensation amount, and the pulse width correction value includes: The first pulse width value, the first pulse width compensation amount, and the pulse width correction value are summed to obtain the second pulse width value.

8. The method according to claim 1, characterized in that, The receiving of the first echo signal returned at the first test temperature includes: The lidar is subjected to a heating process; Read the temperature of the lidar; If the temperature of the lidar is less than or equal to the first threshold temperature, determine whether the temperature difference between the lidar temperature and the previously read lidar temperature is greater than a preset temperature unit. When the temperature difference is greater than or equal to a preset temperature unit, the first echo signal returned at the first test temperature is received.

9. A temperature compensation device for a lidar, characterized in that, The device includes: The data receiving module is configured to receive a first echo signal returned at a first test temperature, wherein the echo signal returned by the lidar is different at different test temperatures; The temperature compensation module is configured to perform a first temperature compensation on the first ranging value and the first pulse width value of the first echo signal based on the first test temperature, so as to obtain a second ranging value and a second pulse width value. The calibration module is configured to calibrate the intrinsic parameters of the lidar based on the second ranging value and the second pulse width value, so as to obtain the calibrated second ranging value and the calibrated reflectivity value. The temperature compensation module is further configured to perform a second temperature compensation on the calibrated second ranging value based on the first test temperature, so as to obtain the target ranging value at the first test temperature. The data output module is configured to output the target ranging value and the calibrated reflectance value.

10. A lidar, characterized in that, include: Memory, which stores computer-executable instructions; A processor, connected to the memory, is configured to implement the method as described in any one of claims 1 to 8 by executing the computer-executable instructions.

11. A computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a processor, can implement the method as described in any one of claims 1 to 8.

12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.