WO2023198043A1 - Laser ranging method and device - Google Patents

Laser ranging method and device Download PDF

Info

Publication number
WO2023198043A1
WO2023198043A1 PCT/CN2023/087577 CN2023087577W WO2023198043A1 WO 2023198043 A1 WO2023198043 A1 WO 2023198043A1 CN 2023087577 W CN2023087577 W CN 2023087577W WO 2023198043 A1 WO2023198043 A1 WO 2023198043A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
storage space
value
tdc
adjustment difference
Prior art date
Application number
PCT/CN2023/087577
Other languages
French (fr)
Chinese (zh)
Inventor
唐佳捷
贾捷阳
Original Assignee
深圳市灵明光子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市灵明光子科技有限公司 filed Critical 深圳市灵明光子科技有限公司
Publication of WO2023198043A1 publication Critical patent/WO2023198043A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/89Lidar systems specially adapted for specific applications for mapping or imaging
    • G01S17/8943D imaging with simultaneous measurement of time-of-flight at a 2D array of receiver pixels, e.g. time-of-flight cameras or flash lidar

Definitions

  • the present application relates to the technical field of optical distance measurement, and in particular to a laser distance measurement method and device.
  • lidar measurement systems based on dTOF (Directtimeofflight, direct time of flight) measurements usually include a transmitter and a receiver.
  • the receiver usually uses a SPAD (Single Photon Avalanche Diode) array to receive the return
  • SPAD Single Photon Avalanche Diode
  • TDC Time-to-Digital Converter
  • Statistical histogram so as to obtain the distance information of the object based on the statistical histogram.
  • this laser ranging method generally requires a complete statistical histogram for one pixel.
  • the post-processing TDC array and memory such as SRAM (static random access memory)
  • SRAM static random access memory
  • embodiments of the present application provide a laser ranging method and device to solve the problem of excessive chip area in the traditional statistical histogram-based laser ranging method.
  • embodiments of the present application provide a laser ranging method, which method includes:
  • a first storage space is provided, and an adjustment difference value is provided, and the first storage space is used to store a piece of data;
  • the real-time output data of the TDC is compared with the first data in the first storage space. According to the comparison result, the first data plus or minus the adjustment difference is saved as updated data in the first storage space.
  • the first data is preset with an initial value, and the comparison step is stopped until the exposure is completed;
  • an object distance measurement is determined.
  • an implementation is further provided, and the method further includes:
  • a second storage space is provided, and the storage capacity of the second storage space is greater than that of the first storage space
  • the first data plus or minus the adjustment difference is saved in the first storage space as updated data, and is simultaneously saved in the second storage space.
  • the storage capacity of the second storage space N historical values of the first data are stored, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
  • the object distance measurement value is determined based on the average of the N historical values of the first data.
  • the first storage space is a part of the second storage space
  • the second storage space is a storage space capable of storing N pieces of data.
  • a shift register the first storage space occupies the first position or the last position of the second storage space.
  • an implementation in which the data output by TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the The first data plus or minus the adjustment difference is stored in the first storage space as updated data, including:
  • the first data is added to the adjustment difference to obtain updated data, which is stored in the first storage space;
  • the adjusted difference is subtracted from the first data to obtain the updated data, which is stored in the first storage space;
  • the first data is equal to the data output by the TDC in real time, the first data is still stored in the first storage space.
  • an implementation is further provided, in which the initial value preset by the first data is the middle value of the measurement range of the TDC.
  • the adjustment difference includes a first adjustment difference and a second adjustment difference, and the first adjustment difference has a value greater than the The value of the second adjustment difference.
  • the adjustment difference is changed according to the number of times the TDC is received. When the number of comparisons reaches a preset threshold, the first adjustment difference is changed to the second adjustment difference. .
  • an implementation is further provided to improve the accuracy of the object distance measurement value by increasing the number of N or reducing the adjustment difference.
  • the number of N ranges from 2 to 30, and the adjustment difference ranges from 0.5 to 10.
  • a laser ranging device which includes:
  • Laser transmitter used to emit laser
  • SPAD array used to receive optical signals
  • TDC array used to convert the flight time value of the optical signal into a digital signal
  • a comparator used to compare the real-time output data of one of the TDCs with the first data in the first storage space
  • An up/down counter used to save the first data addition and subtraction adjustment difference as updated data in the first storage space according to the comparison result, wherein the adjustment difference is preset;
  • the first storage space is used to save the first data, and the first data is preset with an initial value
  • a processing circuit configured to determine an object distance measurement value based on the first data.
  • the device further includes a second storage space and a computing unit, wherein the second storage space has a greater storage capacity than the first storage space;
  • the up/down counter is also used to add and subtract the adjustment difference to the first data and save it in the first storage space as updated data, and simultaneously save it in the second storage space.
  • the storage capacity of the second storage space stores N historical values of the first data, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
  • the calculation unit is used to calculate an average of N historical values of the first data
  • the processing circuit is also configured to determine the object distance measurement value based on the average of the N historical values of the first data.
  • the first storage space is used to store a piece of data.
  • the adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third
  • the first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is The data is compared with the first data in the first storage space, and according to the comparison result, the plus or minus adjustment difference of the first data is saved in the first storage space as updated data, wherein the first data is preset with an initial value, Until the end of the exposure, the comparison step is stopped, and the data output in real time by each TDC is compared with the first data in the first storage space.
  • the data output by the TDC can be used to conform to the characteristics of the Poisson distribution, and the data can be continuously compared through each numerical comparison.
  • the first data is updated and adjusted accordingly, so that the first data quickly converges to the vicinity of the actual object distance measurement value through numerical comparison at the initial value; finally, the object distance measurement value is determined based on the value of the first data.
  • the TDC real-time output data and After the number of comparisons of the first data in the first storage space is sufficient, the error between the finally obtained first data and the actual object distance measurement value is small, and is basically equal to the actual object distance measurement value.
  • SRAM can be reduced or not used to save data, and the area of the ranging chip is significantly reduced.
  • Figure 1 is a schematic structural diagram of optical ranging in the prior art
  • Figure 2 is a schematic flow chart of using optical ranging methods to achieve histogram statistics in the prior art
  • Figure 3 is a flow chart of a laser ranging method in an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of optical ranging in an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of realizing optical ranging in an embodiment of the present application.
  • first, second, third, etc. may be used to describe the preset range and the like in the embodiments of the present application, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other.
  • the first preset range may also be called the second preset range, and similarly, the second preset range may also be called the first preset range.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determination” or “in response to detection.”
  • the phrase “if determined” or “if detected (stated condition or event)” may be interpreted as “when determined” or “in response to determination” or “when (stated condition or event) is detected” or “in response to detection (stated condition or event).”
  • FIG. 1 is a schematic structural diagram of optical ranging in the prior art.
  • the lidar device 100 includes a laser emitting device 110 , a control module 120 , a SPAD module 140 , a TDC module 150 and a memory 160 .
  • the laser emitting device 110 emits laser light to illuminate the target object 130 with photons through the lens, and the target object 130 is continuously exposed. During exposure of target object 130, photons are illuminated through the lens back to lidar device 100 by reflection.
  • the lidar device 100 receives the returned optical signal through the SPAD module 140, and converts the time information into a quantized multi-bit digital signal through the TDC module 150, and then draws a distance-based dynamic histogram based on the long-term exposure and TDC trigger accumulation value. Figure, thereby obtaining the distance information of the target object 130.
  • the control module 120 is used to control the SPAD module 140, the TDC module 150 and the memory 160 to complete the storage of statistical histogram data.
  • the SPAD module 140 includes many SPAD units, and each SPAD unit can realize the induction detection of photons.
  • the size of the SPAD array in the SPAD module 140 (the number of SPAD units included) characterizes the ranging chip.
  • the resolution is, for example, 320*240, or 640*480.
  • the TDC module 150 and the memory 160 that complete histogram statistics at the subsequent stage require higher scale and storage capacity.
  • one SPAD unit corresponds to a complete statistical histogram.
  • the memory depth is required to be large enough (can store a sufficient number of timebins); to achieve a high signal-to-noise ratio, the memory is required The bits are wide enough (can store larger accumulated count values).
  • the TDC data bit width is 10 bits
  • the minimum accuracy is 0.1ns (corresponding to a distance of 1.5cm)
  • each time bin is represented by an 8-bit count value (maximum count value is 255)
  • FIG. 2 is a schematic flowchart of using optical ranging methods to implement histogram statistics in the prior art.
  • SPAD unit 1
  • TDC unit 1
  • Memory1 can specifically include 1024 timebins with a width of 10 bits.
  • Memory1 will count the light signals received on SPAD1, and finally output the statistical data as the actual result, with timebin as the abscissa.
  • a statistical histogram is generated with the ordinate as the cumulative count value of each timebin within a period of exposure.
  • Memoryn (nth storage unit) can include 1024 10-bit wide timebins.
  • Memory1 will count the light signals received on SPADn (nth SPAD unit) and store the SPADn The corresponding statistical histogram output.
  • the ranging method adopts histogram statistics, when long-distance laser ranging or high resolution is achieved, the size of the memory 160 of the lidar device 100 will become very large, which is detrimental to the lidar.
  • the device 100 has high storage requirements, which will result in an excessively large chip area for the ranging chip.
  • this application Please propose a laser ranging method and laser ranging device.
  • FIG 3 is a flow chart of a laser ranging method in an embodiment of the present application. As shown in Figure 3, the laser ranging method includes the following steps:
  • the first storage space is used to store one piece of data.
  • the unit of data stored in the first storage space is one, and the storage capacity occupied by one piece of data should be understood as a capacity that at least includes the bit width of one TDC. For example, if the bit width of one TDC is 10, then this The bit width of the data stored in the first storage space in the application is at least 10.
  • a first storage space is provided, and the first data stored in the first storage space is used for numerical comparison.
  • the data for numerical comparison also includes real-time input and TDC-converted data that changes with time.
  • This application also provides an adjustment difference value, which is used in the first storage space to adjust the comparison result after numerical comparison, so that the value obtained after multiple adjustments is closer to the actual object distance measurement value.
  • S20 The laser exposure starts, and the data output by the TDC in real time is compared with the first data in the first storage space. According to the comparison result, the addition and subtraction adjustment difference of the first data is saved in the first storage space as updated data. Among them, the first data is preset with an initial value, and the comparison step is stopped until the exposure ends.
  • the first data in the first storage space will be updated according to the comparison result and the adjustment difference.
  • the numerical value of the first storage space will be compensated accordingly according to the numerical difference between the data output by the TDC in real time and the first data of the first storage space, and the compensated numerical value is the adjustment difference, wherein the compensation can be It is positive compensation or negative compensation, that is, the adjustment difference can be added or subtracted when the first data is updated.
  • the first data is preset with an initial value, which will converge to near the actual object distance measurement value after comparing the data output by the TDC in real time multiple times with the first data in the first storage space.
  • the The output data is compared with the first data in the first storage space.
  • the real-time output data of TDC is compared with the first data in the first storage space.
  • the first data is compensated by adjusting the difference, so that the value of the updated first data obtained after the comparison is closer and closer to the timebin value corresponding to the peak value in the statistical histogram. In this way, After multiple times of TDC real-time output data and the first data value in the first storage space are compared, the first data in the first storage space will be updated to be closer and closer to the actual object distance measurement value.
  • the step of comparing the data output by the TDC in real time with the first data in the first storage space will also stop.
  • the last updated data stored in the first storage space can be A data as an object distance measurement.
  • the first data finally obtained will be very close to the actual object distance measurement value.
  • the laser ranging method adopted in the embodiment does not need to be equipped with a memory to store the statistical histogram of each SPAD unit. It only uses the first storage space as the storage unit of the first data, which can save a large amount of TDC real-time output that needs to be stored in the middle.
  • the storage capacity of the photon count value corresponding to the data can reduce the use of memory (such as a large amount of SRAM) and significantly reduce the area of the ranging chip.
  • a first storage space and an adjustment difference are provided.
  • the adjustment difference is used to compare the data in the first storage space.
  • the object distance measurement value can be determined based on the finally obtained first data, which is finally obtained
  • the error between the first data and the actual object distance measurement value is small, and is basically the same as the actual object distance measurement value.
  • the laser ranging method of the present application does not need to save statistical histogram data inside the ranging chip, which can effectively reduce storage requirements and significantly reduce the area of the ranging chip.
  • step S20 the data output by the TDC in real time is compared with the first data in the first storage space, and based on the comparison result, the first data plus or minus adjustment difference is saved in the first storage space as updated data.
  • the first data in the first storage space may be called PEAK_BIN, which represents the timebin (value) corresponding to the peak value in the histogram corresponding to the first data. It is understandable that in the initial stage when the data output by TDC in real time is compared with the first data in the first storage space, PEAK_BIN has not completely converged, and PEAK_BIN is not actually close to the peak value in the histogram. However, with the number of comparisons, increase until the end, and eventually PEAK_BIN will be infinitely close to the actual object distance measurement value.
  • the initial value preset by the first data may be an intermediate value of the TDC measurement range.
  • the 512th timebin can be taken as the middle value.
  • the initial value of the first data is preset to the middle value of the TDC range, so that the first data can converge to the time bin corresponding to the peak value in the statistical histogram as quickly as possible.
  • the object distance measurement value is the distance corresponding to the 150th timebin unit
  • the initial value preset for the first data is the middle value of the TDC range (such as 512 timebin units)
  • the first data will be processed multiple times after After the update, it will converge from the middle value of the TDC range to around 150 timebin units.
  • the user can update PEAK_BIN according to the comparison result between TDCdata and PEAK_BIN by adjusting the difference delta, so that after multiple updates, PEAK_BIN is closer to the timebin corresponding to the peak value in the statistical histogram, that is, closer to the actual value. object detection distance.
  • the adjustment difference value includes a first adjustment difference value and a second adjustment difference value.
  • the value of the first adjustment difference value is greater than the value of the second adjustment difference value.
  • the adjustment difference value changes according to the number of TDC receptions, wherein, when compared When the number of times reaches the preset threshold, the first adjustment difference value is changed to the second adjustment difference value.
  • delta1 and delta2 are provided, where the value of delta1 is greater than the value of delta2.
  • delta1 with a larger value can be used to make the first data converge quickly.
  • a smaller delta2 value can be used in order for the first data to converge more stably and close to the actual object detection distance. In this way, the efficiency of the first data update can be further improved, and the first data can be closer to the actual object detection distance. The gap between them is smaller.
  • the preset threshold can be determined according to the number of comparisons.
  • the preset threshold takes 1/5 or 1/4 of the total number of comparisons, that is, in the first 1/5 or 1/4 stage of comparison, the larger value delta1 is used. In later stages, delta2 with a smaller value is used. Further, the range of the adjustment difference is 0.5-10. For example, delta1 is specifically set to 5, and delta2 is specifically set to 1.
  • the laser ranging method also includes the following steps:
  • S40 There is a second storage space, and the storage capacity of the second storage space is greater than that of the first storage space.
  • the first storage space in order to further improve the accuracy of the final object distance measurement value, can be expanded into a second storage space.
  • the storage capacity of the second storage space may be N times the storage capacity of the first storage space.
  • the second storage space can store some of the newer PEAK_BINs that have just been updated and replaced. That is, it can be understood that the second storage space can store PEAK_BINs of N historical records.
  • the first storage space is part of the second storage space
  • the second storage space is a shift register capable of storing N pieces of data
  • the first storage space occupies the first position or the last position of the second storage space.
  • the first storage space is part of the second storage space and is provided at one of two ends of the second storage space. In this way, the characteristics of the shift register can be used.
  • the second storage space When the second storage space is full, the earliest stored N+1 PEAK_BIN will be removed, and That is to say, it is understood that the second storage space can store up to N latest PEAK_BINs, and the first storage space stores PEAK_BINs updated in the recent numerical comparison history.
  • S50 Save the first data addition and subtraction adjustment difference as updated data in the first storage space and simultaneously in the second storage space.
  • the storage capacity of the second storage space holds N first The historical value of the data, where N is a positive integer and the value of N is less than the maximum range of TDC.
  • the updated data (that is, the updated PEAK_BIN by comparison) will be stored in the first storage space and simultaneously stored in the second storage space.
  • the first storage space can be set as a part of the second storage space, or the second storage space includes the same storage space as the first storage space.
  • the second storage space is updated and saved.
  • the second storage space can store N values with the same size as the first data. At the end of the exposure, the second storage space saves the N latest PEAK_BIN, that is, the historical values of the N first data in the recent numerical comparison. Understandably, since the distance range of optical measurement is limited, the value of N should be limited to a maximum range smaller than TDC.
  • S60 Calculate the average of the historical values of the N first data.
  • S70 Determine the object distance measurement value based on the average of the historical values of the N first data.
  • steps S40-S70 expand the first storage space based on the first storage space.
  • a second storage space is displayed, which can store the latest N historical values of the first data, that is, the value stored in the second storage space is the first data updated after the last N comparisons.
  • the average value can be rounded to determine the object distance measurement value.
  • the last first data is used to determine The object distance measurement value is more error-tolerant, making the object distance measurement value closer to the actual object distance measurement value.
  • FIG. 4 is a schematic structural diagram for realizing optical ranging in an embodiment of the present application.
  • the lidar device 100 includes a laser emitting device 110 , a control module 120 , a SPAD module 140 , a TDC module 150 , a comparator 160 , an up/down counter 170 , a register 180 , and an averaging circuit 190 .
  • the laser emitting device 110 emits laser light to illuminate the target object 130 with photons through the lens, and the target object 130 is continuously exposed. During exposure of target object 130, photons are illuminated through the lens back to lidar device 100 by reflection.
  • the lidar device 100 receives the returned optical signal through the SPAD module 140 and converts the time information into a quantized multi-bit digital signal through the TDC module 150 and outputs it to the comparator 160 in real time.
  • the comparator 160 compares the data transmitted in real time by the TDC with the first data stored in the register 180, changes the comparison result by adjusting the difference through the up/down counter 170, and stores the modified first data in the register 180 , wherein the register 180 may include a second storage space including the first storage space.
  • the averaging circuit 190 performs averaging calculation on the N historical first data to obtain the distance information of the object.
  • the control module 120 is used to control the SPAD module 140 and the TDC module 150, so that the data on the TDC module 150 can be fed back to the comparator 160 in real time according to the SPAD received optical signal.
  • FIG. 5 is a schematic flowchart of realizing optical ranging in an embodiment of the present application.
  • SPAD (unit) 1 sends the signal to TDC (unit) 1 for conversion and sends the converted data to comparator 1 in real time for comparison and passes through the up/down counter circuit 1
  • the numerical update is completed, in which another data used for comparison is searched from the register, and what is searched is the first data in the first storage space in the register.
  • N multiple historical data of the first data stored in the register, that is, multiple historical data that have just been updated recently.
  • These historical data of the first data will be sent to the average In circuit 1, the timebin value M1 will be obtained.
  • SPADn represents the nth SPAD unit in the SPAD module. Its optical ranging process is similar to SPAD1 and will not be described again here.
  • SRAM memory can no longer be used to save data.
  • a very small register can be used.
  • the chip area is significantly reduced. While the chip area is reduced, the chip power consumption and cost are significantly reduced. Compared with SRAM The memory needs at least 2 beats to complete a data accumulation (one beat for reading, one beat for writing).
  • the addition and subtraction counter circuit can realize data addition or subtraction calculation in one beat, thus doubling the data processing speed of the entire TDC module, that is, the entire
  • the chip data throughput is doubled; since the statistical histogram is no longer used to calculate the depth value, but the chip directly outputs the depth data (timebin value), the data output volume of the chip, as well as the post-level calculation amount of the statistical histogram ( For example, matched filtering + peak-finding algorithm, etc.) will be significantly reduced, which can improve the processing efficiency of the chip.
  • the number of N can be specifically set to 2-30.
  • the accuracy of the object distance measurement value can be effectively improved.
  • the number of N can be set to a high point in advance, so that the average value of the historical values of the N first data is closer to the actual object distance. Measurement value, or the adjustment difference can be reduced, so that the first data converges with higher accuracy and a more accurate object can be obtained Distance measurement.
  • the first storage space is used to store a piece of data.
  • the adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third
  • the first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the first data is The addition and subtraction adjustment difference values are stored in the first storage space as updated data.
  • the first data is preset with an initial value until the exposure is completed and the comparison step is stopped.
  • the data output by TDC conforms to the characteristics of Poisson distribution, and the first data is continuously updated and adjusted through each numerical comparison, so that the first data quickly converges to the actual value through numerical comparison at the initial value. near the object distance measurement value; finally, determine the object distance measurement value based on the value of the first data.
  • the data output by the TDC in real time and the first data in the first storage space are compared a sufficient number of times, the finally obtained first data will be compared with the actual
  • the object distance measurement value has a small error and is basically equivalent to the actual object distance measurement value.
  • sequence number of each step in the above embodiment does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
  • the laser ranging device includes:
  • Laser transmitter used to emit laser
  • SPAD array used to receive optical signals
  • TDC array used to convert the flight time value of the optical signal into a digital signal
  • a comparator used to compare the real-time output data of one of the TDCs with the first data in the first storage space
  • An up/down counter used to store the addition and subtraction adjustment difference of the first data as updated data in the first storage space according to the comparison result, where the adjustment difference is preset;
  • the first storage space is used to save the first data, and the first data is preset with an initial value
  • a processing circuit configured to determine an object distance measurement value based on the first data.
  • the laser ranging device also includes:
  • the second storage space has a greater storage capacity than the first storage space
  • the plus/minus counter is also used to save the plus/minus adjustment difference of the first data as updated data in the first storage space and at the same time in the second storage space.
  • the storage capacity of the second storage space Stores N historical values of the first data, where N is a positive integer and the value of N is less than the maximum range of TDC;
  • the calculation unit is used to calculate the average of the historical values of the N first data
  • the processing circuit is also used to determine the object distance measurement value based on the average of the historical values of the N first data.
  • the first storage space is used to store a piece of data.
  • the adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third
  • the first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the first data is The addition and subtraction adjustment difference values are stored in the first storage space as updated data.
  • the first data is preset with an initial value until the exposure is completed and the comparison step is stopped.
  • the first data within the comparison can be utilized
  • the data output by TDC conforms to the characteristics of Poisson distribution.
  • the first data is continuously updated and adjusted through each numerical comparison, so that the first data quickly converges to the actual object distance measurement value through numerical comparison at the initial value; finally, according to the The value of a data determines the object distance measurement value.
  • the error between the finally obtained first data and the actual object distance measurement value is small, basically Equivalent to actual object distance measurement.
  • SRAM can be reduced or not used to save data, and the area of the ranging chip is significantly reduced.
  • a second storage space can be expanded based on the first storage space.
  • the second storage space can store the latest N historical values of the first data, that is, the second storage space stores The value of is the first data updated after the last N comparisons.
  • the average value can be rounded to determine the object distance measurement value. In this way, compared with steps S10-S30, the last first data is used to determine The object distance measurement value is more error-tolerant, making the object distance measurement value closer to the actual object distance measurement value.
  • Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

Abstract

A laser ranging method and device. The laser ranging method comprises: providing a first storage space, and setting an adjustment difference value, the first storage space being used for storing one data; starting laser exposure, comparing data outputted by a TDC in real time with first data in the first storage space, according to the comparison result, adding/subtracting the first data to/from the adjustment difference value, taking the result as updated data and storing same in the first storage space, wherein an initial value is preset for the first data, and the execution of the comparison step stops until the exposure is finished; and determining an object distance measured value according to the value of the first data. According to the laser ranging method, the use of a memory can be reduced, so that the area of a ranging chip is remarkably reduced.

Description

激光测距方法和装置Laser ranging method and device 技术领域Technical field
本申请涉及光学测距技术领域,尤其涉及一种激光测距方法和装置。The present application relates to the technical field of optical distance measurement, and in particular to a laser distance measurement method and device.
背景技术Background technique
目前,在基于dTOF(Directtimeofflight,直接飞行时间)测量的激光雷达测量系统中,通常包括发射器和接收器,其中,接收器通常采用SPAD(Single Photon Avalanche Diode,单光子雪崩二极管)阵列来接收返回的光信号,并且通过TDC(Time-to-Digital Converter,时间数字转换器)将时间信息转换成量化的多比特数字信号,进而再经过长时间的曝光和TDC触发累计值来绘制出基于距离的统计直方图,从而根据统计直方图得出物体的距离信息。然而,该种激光测距方法一般一个像素就需要一份完整的统计直方图,随着面阵激光雷达的分辨率越来越高,后级处理的TDC阵列和存储器(如SRAM(静态随机存取存储器,Static Random-Access Memory))规模就越大,这导致了测距芯片的芯片面积过大。Currently, lidar measurement systems based on dTOF (Directtimeofflight, direct time of flight) measurements usually include a transmitter and a receiver. The receiver usually uses a SPAD (Single Photon Avalanche Diode) array to receive the return The light signal is converted into a quantized multi-bit digital signal through TDC (Time-to-Digital Converter), and then the distance-based distance is drawn through long-term exposure and TDC trigger accumulation value. Statistical histogram, so as to obtain the distance information of the object based on the statistical histogram. However, this laser ranging method generally requires a complete statistical histogram for one pixel. As the resolution of area array lidar becomes higher and higher, the post-processing TDC array and memory (such as SRAM (static random access memory) The larger the memory, the larger the Static Random-Access Memory)), which results in the chip area of the ranging chip being too large.
发明内容Contents of the invention
有鉴于此,本申请实施例提供了一种激光测距方法和装置,用以解决传统采用的统计直方图实现激光测距方法出现的芯片面积过大的问题。In view of this, embodiments of the present application provide a laser ranging method and device to solve the problem of excessive chip area in the traditional statistical histogram-based laser ranging method.
第一方面,本申请实施例提供了一种激光测距方法,所述方法包括:In a first aspect, embodiments of the present application provide a laser ranging method, which method includes:
设有第一存储空间,设有调整差值,所述第一存储空间用于存储一个数据;A first storage space is provided, and an adjustment difference value is provided, and the first storage space is used to store a piece of data;
激光曝光开始,将TDC实时输出的数据和所述第一存储空间内的第一数据进行比较,根据比较结果,将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,其中,所述第一数据预设有初始值,直至曝光结束,停止执行比较步骤;When the laser exposure starts, the real-time output data of the TDC is compared with the first data in the first storage space. According to the comparison result, the first data plus or minus the adjustment difference is saved as updated data in the first storage space. In the first storage space, the first data is preset with an initial value, and the comparison step is stopped until the exposure is completed;
根据所述第一数据的值,确定物体距离测量值。Based on the value of said first data, an object distance measurement is determined.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:Based on the above aspects and any possible implementation, an implementation is further provided, and the method further includes:
设有第二存储空间,所述第二存储空间的存储容量比所述第一存储空间多;A second storage space is provided, and the storage capacity of the second storage space is greater than that of the first storage space;
将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,并同时保存在所述第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个所述第一数据的历史值,其中,所述N为正整数,所述N的值小于所述TDC的最大量程;The first data plus or minus the adjustment difference is saved in the first storage space as updated data, and is simultaneously saved in the second storage space. When the exposure ends, the storage capacity of the second storage space N historical values of the first data are stored, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
计算得到N个所述第一数据的历史值的平均值;Calculate the average of N historical values of the first data;
根据所述N个所述第一数据的历史值的平均值,确定所述物体距离测量值。The object distance measurement value is determined based on the average of the N historical values of the first data.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一存储空间是所述第二存储空间的一部分,所述第二存储空间是一个能够存储N个数据的移位寄存器,所述第一存储空间占用所述第二存储空间的第一个位置或者最后一个位置。Based on the above aspects and any possible implementation, an implementation is further provided, the first storage space is a part of the second storage space, and the second storage space is a storage space capable of storing N pieces of data. A shift register, the first storage space occupies the first position or the last position of the second storage space.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述将TDC实时输出的数据和所述第一存储空间内的第一数据进行比较,根据比较结果,将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,包括: Based on the above aspect and any possible implementation, an implementation is further provided, in which the data output by TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the The first data plus or minus the adjustment difference is stored in the first storage space as updated data, including:
将所述TDC实时输出的数据和所述第一存储空间内的所述第一数据进行比较;Compare the data output by the TDC in real time with the first data in the first storage space;
若所述第一数据小于所述TDC实时输出的数据,则所述第一数据加上所述调整差值得到更新的数据,存入所述第一存储空间;If the first data is less than the data output by the TDC in real time, the first data is added to the adjustment difference to obtain updated data, which is stored in the first storage space;
若所述第一数据大于所述TDC实时输出的数据,则所述第一数据减去所述调整差值得到所述更新的数据,存入所述第一存储空间;If the first data is greater than the data output by the TDC in real time, the adjusted difference is subtracted from the first data to obtain the updated data, which is stored in the first storage space;
若所述第一数据等于所述TDC实时输出的数据,则所述第一数据依然保存在所述第一存储空间。If the first data is equal to the data output by the TDC in real time, the first data is still stored in the first storage space.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一数据预设的所述初始值为所述TDC的量程范围的中间值。According to the above aspects and any possible implementation, an implementation is further provided, in which the initial value preset by the first data is the middle value of the measurement range of the TDC.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述调整差值包括第一调整差值和第二调整差值,所述第一调整差值的数值大于所述第二调整差值的数值,所述调整差值根据所述TDC接收的次数更改,其中,当比较的次数达到预设阈值时,所述第一调整差值更改为所述第二调整差值。According to the above aspects and any possible implementation, an implementation is further provided, the adjustment difference includes a first adjustment difference and a second adjustment difference, and the first adjustment difference has a value greater than the The value of the second adjustment difference. The adjustment difference is changed according to the number of times the TDC is received. When the number of comparisons reaches a preset threshold, the first adjustment difference is changed to the second adjustment difference. .
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,通过增加N的个数,或者减小所述调整差值,提高所述物体距离测量值的精准度。According to the above aspect and any possible implementation, an implementation is further provided to improve the accuracy of the object distance measurement value by increasing the number of N or reducing the adjustment difference.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,N的个数范围为2-30个,所述调整差值的范围为0.5-10。Based on the above aspects and any possible implementation, an implementation is further provided, the number of N ranges from 2 to 30, and the adjustment difference ranges from 0.5 to 10.
第二方面,本申请实施例提供了一种激光测距装置,所述装置包括:In a second aspect, embodiments of the present application provide a laser ranging device, which includes:
激光发射器,用于发射激光;Laser transmitter, used to emit laser;
SPAD阵列,用于接收光信号;SPAD array, used to receive optical signals;
TDC阵列,用于将光信号飞行的时间值转换为数字信号;TDC array, used to convert the flight time value of the optical signal into a digital signal;
比较器,用于将其中一个TDC实时输出的数据和第一存储空间内的第一数据进行比较;A comparator, used to compare the real-time output data of one of the TDCs with the first data in the first storage space;
加/减计数器,用于根据比较结果,将第一数据加减调整差值作为更新的数据保存在所述第一存储空间内,其中,所述调整差值为预先设置的;An up/down counter, used to save the first data addition and subtraction adjustment difference as updated data in the first storage space according to the comparison result, wherein the adjustment difference is preset;
第一存储空间,用于保存第一数据,对第一数据预设有初始值;The first storage space is used to save the first data, and the first data is preset with an initial value;
处理电路,用于根据第一数据,确定物体距离测量值。A processing circuit configured to determine an object distance measurement value based on the first data.
进一步地,所述装置还包括第二存储空间和计算单元,其中,所述第二存储空间的存储容量比所述第一存储空间多;Further, the device further includes a second storage space and a computing unit, wherein the second storage space has a greater storage capacity than the first storage space;
所述加/减计数器,还用于将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,并同时保存在所述第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个所述第一数据的历史值,其中,所述N为正整数,所述N的值小于所述TDC的最大量程;The up/down counter is also used to add and subtract the adjustment difference to the first data and save it in the first storage space as updated data, and simultaneously save it in the second storage space. At the end, the storage capacity of the second storage space stores N historical values of the first data, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
所述计算单元,用于计算得到N个所述第一数据的历史值的平均值;The calculation unit is used to calculate an average of N historical values of the first data;
所述处理电路,还用于根据所述N个所述第一数据的历史值的平均值,确定所述物体距离测量值。The processing circuit is also configured to determine the object distance measurement value based on the average of the N historical values of the first data.
在本申请实施例中,设有第一存储空间、调整差值,第一存储空间用于存储一个数据,可利用调整差值对第一存储空间的数据进行收敛性的调整更新,以使得第一存储空间的第一数据更加接近实际的物体距离测量值;具体地,激光曝光开始,将TDC实时输出的数 据和第一存储空间内的第一数据进行比较,根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,其中,第一数据预设有初始值,直至曝光结束,停止执行比较步骤,通过每次TDC实时输出的数据和第一存储空间内的第一数据进行比较,可利用TDC输出的数据符合泊松分布的特性,通过每次的数值比较不断地更新调整第一数据,使得第一数据在初始值时通过数值比较快速收敛至实际的物体距离测量值附近;最后根据第一数据的值,确定物体距离测量值,当TDC实时输出的数据和第一存储空间内的第一数据比较次数足够后,最后得到的第一数据与实际的物体距离测量值误差较小,基本等同于实际的物体距离测量值。采用该种激光测距方法时,在测距芯片内部无需保存统计直方图数据,可以减少或不使用SRAM来保存数据,测距芯片的面积显著减少。In the embodiment of the present application, there is a first storage space and an adjustment difference value. The first storage space is used to store a piece of data. The adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third The first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is The data is compared with the first data in the first storage space, and according to the comparison result, the plus or minus adjustment difference of the first data is saved in the first storage space as updated data, wherein the first data is preset with an initial value, Until the end of the exposure, the comparison step is stopped, and the data output in real time by each TDC is compared with the first data in the first storage space. The data output by the TDC can be used to conform to the characteristics of the Poisson distribution, and the data can be continuously compared through each numerical comparison. The first data is updated and adjusted accordingly, so that the first data quickly converges to the vicinity of the actual object distance measurement value through numerical comparison at the initial value; finally, the object distance measurement value is determined based on the value of the first data. When the TDC real-time output data and After the number of comparisons of the first data in the first storage space is sufficient, the error between the finally obtained first data and the actual object distance measurement value is small, and is basically equal to the actual object distance measurement value. When using this laser ranging method, there is no need to save statistical histogram data inside the ranging chip, SRAM can be reduced or not used to save data, and the area of the ranging chip is significantly reduced.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1是现有技术中实现光学测距的结构示意图;Figure 1 is a schematic structural diagram of optical ranging in the prior art;
图2是现有技术中采用光学测距方法实现直方图统计的流程示意图;Figure 2 is a schematic flow chart of using optical ranging methods to achieve histogram statistics in the prior art;
图3是本申请实施例中一种激光测距方法的流程图;Figure 3 is a flow chart of a laser ranging method in an embodiment of the present application;
图4是本申请实施例中实现光学测距的结构示意图;Figure 4 is a schematic structural diagram of optical ranging in an embodiment of the present application;
图5是本申请实施例中实现光学测距的流程示意图。FIG. 5 is a schematic flowchart of realizing optical ranging in an embodiment of the present application.
具体实施方式Detailed ways
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solution of the present application, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terminology used in the embodiments of the present application is only for the purpose of describing specific embodiments and is not intended to limit the present application. As used in the embodiments and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的相同的字段,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this article is just a way to describe the same field of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A exists at the same time and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本申请实施例中可能采用术语第一、第二、第三等来描述预设范围等,但这些预设范围不应限于这些术语。这些术语仅用来将预设范围彼此区分开。例如,在不脱离本申请实施例范围的情况下,第一预设范围也可以被称为第二预设范围,类似地,第二预设范围也可以被称为第一预设范围。It should be understood that although the terms first, second, third, etc. may be used to describe the preset range and the like in the embodiments of the present application, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present application, the first preset range may also be called the second preset range, and similarly, the second preset range may also be called the first preset range.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测 (陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determination" or "in response to detection." Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when (stated condition or event) is detected" or "in response to detection (stated condition or event)."
图1是现有技术中实现光学测距的结构示意图。如图1所示,激光雷达装置100包括激光发射装置110、控制模块120、SPAD模块140、TDC模块150和存储器160。在实现光学测距时,激光发射装置110发射出激光,通过透镜将光子照射在目标物体130上,目标物体130持续曝光。在目标物体130曝光期间,通过反射将光子通过透镜照射回激光雷达装置100。激光雷达装置100通过SPAD模块140接收返回的光信号,并通过TDC模块150将时间信息转换成量化的多比特数字信号,进而基于长时间的曝光和TDC触发累计值来绘制出基于距离的动态直方图,从而得出目标物体130的距离信息。其中,控制模块120用于控制SPAD模块140、TDC模块150和存储器160完成统计直方图数据的存储。Figure 1 is a schematic structural diagram of optical ranging in the prior art. As shown in FIG. 1 , the lidar device 100 includes a laser emitting device 110 , a control module 120 , a SPAD module 140 , a TDC module 150 and a memory 160 . When realizing optical distance measurement, the laser emitting device 110 emits laser light to illuminate the target object 130 with photons through the lens, and the target object 130 is continuously exposed. During exposure of target object 130, photons are illuminated through the lens back to lidar device 100 by reflection. The lidar device 100 receives the returned optical signal through the SPAD module 140, and converts the time information into a quantized multi-bit digital signal through the TDC module 150, and then draws a distance-based dynamic histogram based on the long-term exposure and TDC trigger accumulation value. Figure, thereby obtaining the distance information of the target object 130. Among them, the control module 120 is used to control the SPAD module 140, the TDC module 150 and the memory 160 to complete the storage of statistical histogram data.
可以理解地,SPAD模块140中包括很多个SPAD单元,每个SPAD单元都可实现光子的感应检测,其中,SPAD模块140中SPAD阵列的大小(包含的SPAD单元个数)表征了测距芯片的分辨率,例如320*240,或者640*480,当分辨率越高时,后级完成直方图统计的TDC模块150、存储器160所要求规模、存储容量就越高。一般地,一个SPAD单元对应一完整的统计直方图。在统计直方图(histogram)中,横坐标代表时间(也可代表距离,且D=C*TOF/2,其中D表示距离,TOF为根据时间信息转换成表征时间的数字信息,C代表光速),其中,横坐标上的最小刻度代表一个time bin(时间箱),与TDC的最小精度相对应;纵坐标代表每个time bin在一段时间内的累加计数值。由此可知,对于测距芯片的存储要求来说,要实现长距离的激光测距,要求存储器的深度足够大(可以存储足够多的timebin个数);要达到高信噪比,则要求存储器的比特位足够宽(可以存储更大的累加计数值)。假设有一个dTOF接收器为80x60=4800个像素(SPAD单元),TDC数据位宽为10比特,最小精度为0.1ns(对应距离1.5cm),每个time bin用8比特计数值表示(最大计数值为255),对于最远探测距离为6m(对应400个timebin,400*1.5cm=6m)的需求,一帧图像要求的最小存储器大小为:400*8*4800=15.36Mbit=1.92Mbyte,若分辨率变为320x240=76800,最远探测距离仍为6m,则一帧图像要求的存储器大小变为:400*8*76800=245.76Mbit=30.72Mbyte,可见,随着面阵激光雷达的分辨率越来越高,后级处理的TDC阵列和存储器规模就越大,测距芯片的芯片面积也会随之增大。It can be understood that the SPAD module 140 includes many SPAD units, and each SPAD unit can realize the induction detection of photons. The size of the SPAD array in the SPAD module 140 (the number of SPAD units included) characterizes the ranging chip. The resolution is, for example, 320*240, or 640*480. When the resolution is higher, the TDC module 150 and the memory 160 that complete histogram statistics at the subsequent stage require higher scale and storage capacity. Generally, one SPAD unit corresponds to a complete statistical histogram. In a statistical histogram, the abscissa represents time (it can also represent distance, and D=C*TOF/2, where D represents distance, TOF is digital information that is converted into time based on time information, and C represents the speed of light) , where the minimum scale on the abscissa represents a time bin (time bin), corresponding to the minimum accuracy of TDC; the ordinate represents the cumulative count value of each time bin within a period of time. It can be seen from this that for the storage requirements of the ranging chip, to achieve long-distance laser ranging, the memory depth is required to be large enough (can store a sufficient number of timebins); to achieve a high signal-to-noise ratio, the memory is required The bits are wide enough (can store larger accumulated count values). Assume there is a dTOF receiver with 80x60 = 4800 pixels (SPAD unit), the TDC data bit width is 10 bits, the minimum accuracy is 0.1ns (corresponding to a distance of 1.5cm), and each time bin is represented by an 8-bit count value (maximum count value is 255), for the requirement that the furthest detection distance is 6m (corresponding to 400 timebins, 400*1.5cm=6m), the minimum memory size required for one frame of image is: 400*8*4800=15.36Mbit=1.92Mbyte, If the resolution changes to 320x240=76800 and the maximum detection distance is still 6m, the memory size required for one frame of image becomes: 400*8*76800=245.76Mbit=30.72Mbyte. It can be seen that with the resolution of the area array lidar As the rate becomes higher and higher, the TDC array and memory size for post-processing will become larger, and the chip area of the ranging chip will also increase accordingly.
图2是现有技术中采用光学测距方法实现直方图统计的流程示意图。如图2所示,对于SPAD(单元)1,其通过TDC(单元)1,利用寻址的方式确定该SPAD1需要在Memory1(存储单元1)中的累计计数位置。其中,Memory1中具体可包括1024个10比特位宽的timebin,在物体持续曝光时,Memory1将对SPAD1上接收到的光信号进行计数,最后将统计的数据作为实际结果输出,以timebin作为横坐标上的最小刻度,以纵坐标作为每个timebin在一段曝光时间内的累加计数值的方式生成统计直方图。类似地,Memoryn(第n个存储单元)可包括1024个10比特位宽的timebin,在物体曝光期间,Memory1将对SPADn(第n个SPAD单元)上接收的光信号进行计数,并将该SPADn对应的统计直方图输出。Figure 2 is a schematic flowchart of using optical ranging methods to implement histogram statistics in the prior art. As shown in Figure 2, for SPAD (unit) 1, it determines the cumulative count position that SPAD1 needs to be in Memory1 (storage unit 1) through TDC (unit) 1 by using addressing. Among them, Memory1 can specifically include 1024 timebins with a width of 10 bits. When the object is continuously exposed, Memory1 will count the light signals received on SPAD1, and finally output the statistical data as the actual result, with timebin as the abscissa. On the minimum scale, a statistical histogram is generated with the ordinate as the cumulative count value of each timebin within a period of exposure. Similarly, Memoryn (nth storage unit) can include 1024 10-bit wide timebins. During the object exposure, Memory1 will count the light signals received on SPADn (nth SPAD unit) and store the SPADn The corresponding statistical histogram output.
可以理解地,由于该测距方法采用直方图统计的方式,在实现长距离激光测距或分辨率较高的情况下,激光雷达装置100的存储器160的规模会变得很大,对激光雷达装置100的存储要求高,这将导致测距芯片的芯片面积过大。It is understandable that since the ranging method adopts histogram statistics, when long-distance laser ranging or high resolution is achieved, the size of the memory 160 of the lidar device 100 will become very large, which is detrimental to the lidar. The device 100 has high storage requirements, which will result in an excessively large chip area for the ranging chip.
鉴于以上采用的统计直方图实现激光测距方法出现的芯片面积过大的问题,本申 请提出一种激光测距方法和激光测距装置。In view of the problem that the chip area is too large in the above statistical histogram implementation of laser ranging method, this application Please propose a laser ranging method and laser ranging device.
图3是本申请实施例中一种激光测距方法的流程图。如图3所示,该激光测距方法包括如下步骤:Figure 3 is a flow chart of a laser ranging method in an embodiment of the present application. As shown in Figure 3, the laser ranging method includes the following steps:
S10:设有第一存储空间,设有调整差值,第一存储空间用于存储一个数据。S10: There is a first storage space and an adjustment difference value. The first storage space is used to store one piece of data.
其中,该第一存储空间存储的数据的单位为一个,该一个数据占有的存储容量应理解为至少包括一个TDC的比特位宽的容量,例如,若一个TDC的比特位宽为10,则本申请中的该第一存储空间存储的数据的比特位宽至少为10。本申请实施例中,设有第一存储空间,该第一存储空间存储的第一数据用于数值比较,该进行数值比较的数据还包括实时输入、随时间变化的经TDC转换后的数据。本申请中还设有调整差值,该调整差值用于第一存储空间在进行数值比较后对比较结果进行调整,以使得在多次调整后得到的值更接近实际的物体距离测量值。The unit of data stored in the first storage space is one, and the storage capacity occupied by one piece of data should be understood as a capacity that at least includes the bit width of one TDC. For example, if the bit width of one TDC is 10, then this The bit width of the data stored in the first storage space in the application is at least 10. In the embodiment of the present application, a first storage space is provided, and the first data stored in the first storage space is used for numerical comparison. The data for numerical comparison also includes real-time input and TDC-converted data that changes with time. This application also provides an adjustment difference value, which is used in the first storage space to adjust the comparison result after numerical comparison, so that the value obtained after multiple adjustments is closer to the actual object distance measurement value.
S20:激光曝光开始,将TDC实时输出的数据和第一存储空间内的第一数据进行比较,根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,其中,第一数据预设有初始值,直至曝光结束,停止执行比较步骤。S20: The laser exposure starts, and the data output by the TDC in real time is compared with the first data in the first storage space. According to the comparison result, the addition and subtraction adjustment difference of the first data is saved in the first storage space as updated data. Among them, the first data is preset with an initial value, and the comparison step is stopped until the exposure ends.
其中,在每次TDC实时输出的数据和第一存储空间内的第一数据比较后,将根据比较结果,结合调整差值对第一存储空间内的第一数据进行更新。具体地,将根据TDC实时输出的数据相较于第一存储空间的第一数据的数值差距对第一存储空间的数值相应的进行补偿,该补偿的数值为调整差值,其中,该补偿可以是正补偿或者负补偿,也即第一数据更新时可增加或减去调整差值。Among them, after each time the data output by the TDC in real time is compared with the first data in the first storage space, the first data in the first storage space will be updated according to the comparison result and the adjustment difference. Specifically, the numerical value of the first storage space will be compensated accordingly according to the numerical difference between the data output by the TDC in real time and the first data of the first storage space, and the compensated numerical value is the adjustment difference, wherein the compensation can be It is positive compensation or negative compensation, that is, the adjustment difference can be added or subtracted when the first data is updated.
其中,第一数据预设有初始值,该初始值在经过多次TDC实时输出的数据和第一存储空间内的第一数据比较后,将会收敛至实际的物体距离测量值附近。The first data is preset with an initial value, which will converge to near the actual object distance measurement value after comparing the data output by the TDC in real time multiple times with the first data in the first storage space.
对于dTOF激光雷达,其对应的统计直方图满足泊松分布。这些看似离散的统计直方图的值大部分会集中在某个固定值附近,而这个固定值即物体所对应的距离值,从统计直方图上来看,波峰的位置就代表物体所对应的距离。本申请实施例中,利用该不断更新的第一存储空间内的第一数据和调整差值,使得最终得到的第一数据接近采用统计直方图采集方式采集到的波峰对应的数值。具体地,本申请弃用传统的统计直方图统计方式,无需记录每个SPAD通过TDC转换的表示物体测量距离的数据及光子计数的值,而是在每次得到TDC实时输出的数据时,将该输出的数据与第一存储空间内的第一数据进行比较,基于统计直方图的值大部分会集中在某个固定值的特点,将TDC实时输出的数据与第一存储空间内的第一数据进行比较后的数值差异,采用调整差值的方式对第一数据进行补偿,使得比较后得到的更新的第一数据的值越来越向统计直方图中峰值对应的timebin值靠近,这样,在经过多次TDC实时输出的数据与第一存储空间内的第一数据数值比较后,第一存储空间内的第一数据将更新至越来越接近实际的物体距离测量值。For dTOF lidar, its corresponding statistical histogram satisfies the Poisson distribution. Most of the values of these seemingly discrete statistical histograms will be concentrated around a certain fixed value, and this fixed value is the distance value corresponding to the object. From the statistical histogram, the position of the peak represents the distance corresponding to the object. . In the embodiment of the present application, the constantly updated first data in the first storage space and the adjusted difference are used, so that the finally obtained first data is close to the value corresponding to the wave peak collected using the statistical histogram collection method. Specifically, this application abandons the traditional statistical histogram statistical method. There is no need to record the data representing the object measurement distance and the photon count value converted by each SPAD through TDC. Instead, each time the data output by TDC is obtained in real time, the The output data is compared with the first data in the first storage space. Based on the characteristic that most of the statistical histogram values are concentrated at a certain fixed value, the real-time output data of TDC is compared with the first data in the first storage space. For the numerical difference after comparing the data, the first data is compensated by adjusting the difference, so that the value of the updated first data obtained after the comparison is closer and closer to the timebin value corresponding to the peak value in the statistical histogram. In this way, After multiple times of TDC real-time output data and the first data value in the first storage space are compared, the first data in the first storage space will be updated to be closer and closer to the actual object distance measurement value.
S30:根据第一数据的值,确定物体距离测量值。S30: Determine the object distance measurement value based on the value of the first data.
在一实施例中,曝光结束后,TDC实时输出的数据与第一存储空间内的第一数据进行比较的步骤也会停止,此时可将最后更新得到的存储在第一存储空间内的第一数据作为物体距离测量值。In one embodiment, after the exposure is completed, the step of comparing the data output by the TDC in real time with the first data in the first storage space will also stop. At this time, the last updated data stored in the first storage space can be A data as an object distance measurement.
可以理解地,在经过多次(次数由曝光时间内SPAD的触发次数决定)比较后,最终得到的第一数据将非常接近实际的物体距离测量值。与采用统计直方图的方式相比,本申 请实施例采用的该种激光测距方法无需配备存储每个SPAD单元的统计直方图的存储器,仅采用第一存储空间作为第一数据的存储单元,可省去大量中间需要存储的TDC实时输出数据对应的光子计数值的存储容量,可减少存储器(如大量的SRAM)的使用,使测距芯片的面积显著减少。It is understandable that after multiple comparisons (the number of times is determined by the number of SPAD triggers during the exposure time), the first data finally obtained will be very close to the actual object distance measurement value. Compared with the statistical histogram method, this application The laser ranging method adopted in the embodiment does not need to be equipped with a memory to store the statistical histogram of each SPAD unit. It only uses the first storage space as the storage unit of the first data, which can save a large amount of TDC real-time output that needs to be stored in the middle. The storage capacity of the photon count value corresponding to the data can reduce the use of memory (such as a large amount of SRAM) and significantly reduce the area of the ranging chip.
步骤S10-S30中,设有第一存储空间、调整差值,通过第一存储空间内的第一数据与TDC实时输出的数据进行数值比较的方式,利用调整差值对第一存储空间的数据进行收敛性的调整更新,以使得第一存储空间的第一数据更加接近实际的物体距离测量值,在曝光结束后,根据最后得到的第一数据,即可确定物体距离测量值,该最后得到的第一数据与实际的物体距离测量值误差较小,基本等同于实际的物体距离测量值。本申请的激光测距方法,在测距芯片内部无需保存统计直方图数据,可以有效减少存储需求,使得测距芯片的面积显著减少。In steps S10-S30, a first storage space and an adjustment difference are provided. By numerically comparing the first data in the first storage space with the data output by the TDC in real time, the adjustment difference is used to compare the data in the first storage space. Perform convergence adjustment and update to make the first data in the first storage space closer to the actual object distance measurement value. After the exposure is completed, the object distance measurement value can be determined based on the finally obtained first data, which is finally obtained The error between the first data and the actual object distance measurement value is small, and is basically the same as the actual object distance measurement value. The laser ranging method of the present application does not need to save statistical histogram data inside the ranging chip, which can effectively reduce storage requirements and significantly reduce the area of the ranging chip.
进一步地,在步骤S20中,即将TDC实时输出的数据和第一存储空间内的第一数据进行比较,根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,具体包括如下步骤:Further, in step S20, the data output by the TDC in real time is compared with the first data in the first storage space, and based on the comparison result, the first data plus or minus adjustment difference is saved in the first storage space as updated data. within, specifically including the following steps:
S21:将TDC实时输出的数据和第一存储空间内的第一数据进行比较。S21: Compare the data output by the TDC in real time with the first data in the first storage space.
在一实施例中,第一存储空间内的第一数据可称为PEAK_BIN,表示该第一数据对应直方统计图中的峰值所对应的timebin(值)。可以理解地,当TDC实时输出的数据和第一存储空间内的第一数据进行比较的初始阶段,PEAK_BIN还未完全收敛,PEAK_BIN实际上不接近直方统计图中的峰值,但是,随着比较次数的增多直至结束,最终PEAK_BIN将无限接近实际的物体距离测量值。In one embodiment, the first data in the first storage space may be called PEAK_BIN, which represents the timebin (value) corresponding to the peak value in the histogram corresponding to the first data. It is understandable that in the initial stage when the data output by TDC in real time is compared with the first data in the first storage space, PEAK_BIN has not completely converged, and PEAK_BIN is not actually close to the peak value in the histogram. However, with the number of comparisons, increase until the end, and eventually PEAK_BIN will be infinitely close to the actual object distance measurement value.
进一步地,第一数据预设的初始值可以是TDC量程范围的中间值。例如,TDC的量程范围为10的比特位宽时,其TDC量程范围为1024个timebin时,取中间值可取第512个timebin。本申请实施例中,将第一数据的初始值预设为TDC量程范围的中间值,可以让第一数据尽快收敛至统计直方图中的峰值所对应的timebin。例如,假设物体距离测量值为第150个timebin单位对应的距离,则当第一数据预设的初始值为TDC量程范围的中间值(如512个timebin单元)时,第一数据在经多次更新后将会从TDC量程范围的中间值收敛至150个timebin单元的附近。Further, the initial value preset by the first data may be an intermediate value of the TDC measurement range. For example, when the TDC measurement range is 10 bits wide, and the TDC measurement range is 1024 timebins, the 512th timebin can be taken as the middle value. In the embodiment of the present application, the initial value of the first data is preset to the middle value of the TDC range, so that the first data can converge to the time bin corresponding to the peak value in the statistical histogram as quickly as possible. For example, assuming that the object distance measurement value is the distance corresponding to the 150th timebin unit, then when the initial value preset for the first data is the middle value of the TDC range (such as 512 timebin units), the first data will be processed multiple times after After the update, it will converge from the middle value of the TDC range to around 150 timebin units.
S22:若第一数据小于TDC实时输出的数据,则第一数据加上调整差值得到更新的数据,存入第一存储空间。S22: If the first data is smaller than the data output by TDC in real time, add the adjustment difference to the first data to obtain updated data, which is stored in the first storage space.
S23:若第一数据大于TDC实时输出的数据,则第一数据减去调整差值得到更新的数据,存入第一存储空间。S23: If the first data is greater than the data output by the TDC in real time, the adjustment difference is subtracted from the first data to obtain updated data, which is stored in the first storage space.
S24:若第一数据等于TDC实时输出的数据,则第一数据依然保存在第一存储空间。S24: If the first data is equal to the data output by TDC in real time, the first data is still stored in the first storage space.
步骤S22-S24中,可以表示为:当TDCdata(TDC实时输出的数据)>PEAK_BIN时,PEAK_BIN(new)=PEAK_BIN(old)+delta;当TDCdata<PEAK_BIN时,PEAK_BIN(new)=PEAK_BIN(old)-delta;当TDCdata=PEAK_BIN时,PEAK_BIN保持不变,其中,PEAK_BIN(new)是指比较后更新的第一数据,PEAK_BIN(old)是指比较时的第一数据,delta表示调整差值。In steps S22-S24, it can be expressed as: when TDCdata (TDC real-time output data)>PEAK_BIN, PEAK_BIN(new)=PEAK_BIN(old)+delta; when TDCdata<PEAK_BIN, PEAK_BIN(new)=PEAK_BIN(old) -delta; when TDCdata = PEAK_BIN, PEAK_BIN remains unchanged, where PEAK_BIN (new) refers to the first data updated after comparison, PEAK_BIN (old) refers to the first data during comparison, and delta represents the adjustment difference.
步骤S21-S24中,用户可通过调整差值delta根据TDCdata和PEAK_BIN的比较结果对PEAK_BIN进行更新,以使得PEAK_BIN在经多次更新后更加接近统计直方图中与峰值对应的timebin,即更加接近实际的物体检测距离。 In steps S21-S24, the user can update PEAK_BIN according to the comparison result between TDCdata and PEAK_BIN by adjusting the difference delta, so that after multiple updates, PEAK_BIN is closer to the timebin corresponding to the peak value in the statistical histogram, that is, closer to the actual value. object detection distance.
进一步地,调整差值包括第一调整差值和第二调整差值,第一调整差值的数值大于第二调整差值的数值,调整差值根据TDC接收的次数更改,其中,当比较的次数达到预设阈值时,第一调整差值更改为第二调整差值。Further, the adjustment difference value includes a first adjustment difference value and a second adjustment difference value. The value of the first adjustment difference value is greater than the value of the second adjustment difference value. The adjustment difference value changes according to the number of TDC receptions, wherein, when compared When the number of times reaches the preset threshold, the first adjustment difference value is changed to the second adjustment difference value.
在一实施例中,设置有delta1和delta2,其中,delta1的数值大于delta2的数值,在比较的起始阶段,可采用数值较大的delta1使第一数据快速进行收敛,在比较的中间阶段或后期阶段,为了第一数据更加稳定地进行收敛接近实际的物体检测距离,可采用数值较小的delta2,这样,可以进一步提高第一数据更新的效率,以及使得第一数据与实际的物体检测距离之间的差距更小。其中,预设阈值可根据比较的次数确定,如预设阈值取总比较次数的1/5或1/4,即在比较的前1/5或1/4阶段,采用数值较大的delta1,在后面的阶段,采用数值较小的delta2。进一步地,调整差值的范围为0.5-10,例如,delta1具体设为5,delta2具体设为1。In one embodiment, delta1 and delta2 are provided, where the value of delta1 is greater than the value of delta2. In the initial stage of comparison, delta1 with a larger value can be used to make the first data converge quickly. In the intermediate stage of comparison or In the later stage, in order for the first data to converge more stably and close to the actual object detection distance, a smaller delta2 value can be used. In this way, the efficiency of the first data update can be further improved, and the first data can be closer to the actual object detection distance. The gap between them is smaller. Among them, the preset threshold can be determined according to the number of comparisons. For example, the preset threshold takes 1/5 or 1/4 of the total number of comparisons, that is, in the first 1/5 or 1/4 stage of comparison, the larger value delta1 is used. In later stages, delta2 with a smaller value is used. Further, the range of the adjustment difference is 0.5-10. For example, delta1 is specifically set to 5, and delta2 is specifically set to 1.
进一步地,该激光测距方法还包括如下步骤:Further, the laser ranging method also includes the following steps:
S40:设有第二存储空间,第二存储空间的存储容量比第一存储空间多。S40: There is a second storage space, and the storage capacity of the second storage space is greater than that of the first storage space.
在一实施例中,为了进一步提高最终的物体距离测量值的精准度,可在第一存储空间的基础上扩展为第二存储空间。该第二存储空间的存储容量可以是第一存储空间的存储容量的N倍。该第二存储空间中可存储部分较新的、刚通过更新后替换的PEAK_BIN,也即,可理解为该第二存储空间可存储N个历史记录的PEAK_BIN。In one embodiment, in order to further improve the accuracy of the final object distance measurement value, the first storage space can be expanded into a second storage space. The storage capacity of the second storage space may be N times the storage capacity of the first storage space. The second storage space can store some of the newer PEAK_BINs that have just been updated and replaced. That is, it can be understood that the second storage space can store PEAK_BINs of N historical records.
进一步地,第一存储空间是第二存储空间的一部分,第二存储空间是一个能够存储N个数据的移位寄存器,第一存储空间占用第二存储空间的第一个位置或者最后一个位置。在一实施例中,第一存储空间是第二存储空间的一部分,且设置在第二存储空间两端中的一端。这样,可利用移位寄存器的特性,在每次更新PEAK_BIN后,将刚更新完的PEAK_BIN(new)作为第一数据存储在第一存储空间中,将刚更新完的PEAK_BIN(old)移入到第一存储空间的下一存储空间中,第二存储空间的其他存储部分也随之进行移位替换,当第二存储空间存储满时,最早存储的第N+1个PEAK_BIN将移除掉,也即理解为,第二存储空间最大可存储N个最新的PEAK_BIN,第一存储空间存储的为较近数值比较历史中更新得到的PEAK_BIN。Further, the first storage space is part of the second storage space, the second storage space is a shift register capable of storing N pieces of data, and the first storage space occupies the first position or the last position of the second storage space. In one embodiment, the first storage space is part of the second storage space and is provided at one of two ends of the second storage space. In this way, the characteristics of the shift register can be used. After each update of PEAK_BIN, the newly updated PEAK_BIN (new) is stored in the first storage space as the first data, and the newly updated PEAK_BIN (old) is moved into the first storage space. In the next storage space of one storage space, other storage parts of the second storage space are also shifted and replaced. When the second storage space is full, the earliest stored N+1 PEAK_BIN will be removed, and That is to say, it is understood that the second storage space can store up to N latest PEAK_BINs, and the first storage space stores PEAK_BINs updated in the recent numerical comparison history.
S50:将第一数据加减调整差值作为更新的数据保存在第一存储空间内,并同时保存在第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个第一数据的历史值,其中,N为正整数,N的值小于TDC的最大量程。S50: Save the first data addition and subtraction adjustment difference as updated data in the first storage space and simultaneously in the second storage space. At the end of the exposure, the storage capacity of the second storage space holds N first The historical value of the data, where N is a positive integer and the value of N is less than the maximum range of TDC.
在一实施例中,更新的数据(即通过比较更新后的PEAK_BIN)将保存在第一存储空间内,并同时保存在第二存储空间内。可以理解地,第一存储空间可设置为第二存储空间的一部分,或者第二存储空间中包括与第一存储空间存储内容相同的存储空间,在第一存储空间数据更新时,第二存储空间中也更新保存。In one embodiment, the updated data (that is, the updated PEAK_BIN by comparison) will be stored in the first storage space and simultaneously stored in the second storage space. It can be understood that the first storage space can be set as a part of the second storage space, or the second storage space includes the same storage space as the first storage space. When the first storage space data is updated, the second storage space Also updated and saved.
第二存储空间可存储N个与第一数据大小的值,在曝光结束时,第二存储空间保存了N个最新的PEAK_BIN,也即较近数值比较中的N个第一数据的历史值。可以理解地,由于光测的距离范围是有限制的,N的值应限制在小于TDC的最大量程。The second storage space can store N values with the same size as the first data. At the end of the exposure, the second storage space saves the N latest PEAK_BIN, that is, the historical values of the N first data in the recent numerical comparison. Understandably, since the distance range of optical measurement is limited, the value of N should be limited to a maximum range smaller than TDC.
S60:计算得到N个第一数据的历史值的平均值。S60: Calculate the average of the historical values of the N first data.
S70:根据N个第一数据的历史值的平均值,确定物体距离测量值。S70: Determine the object distance measurement value based on the average of the historical values of the N first data.
在一实施例中,步骤S40-S70与步骤S10-S30相比,其在第一存储空间的基础上扩 展出第二存储空间,该第二存储空间可存储有最新的N个第一数据的历史值,即第二存储空间存储的值为最后N次比较后更新得到的第一数据。本申请实施例中,根据N个第一数据的历史值的平均值,可采用该平均值取整确定物体距离测量值,这样,相比于步骤S10-S30步骤采用最后一次的第一数据确定物体距离测量值,更具有容错性,使得得到的物体距离测量值更加接近实际的物体距离测量值。In one embodiment, compared with steps S10-S30, steps S40-S70 expand the first storage space based on the first storage space. A second storage space is displayed, which can store the latest N historical values of the first data, that is, the value stored in the second storage space is the first data updated after the last N comparisons. In the embodiment of the present application, according to the average value of the historical values of N first data, the average value can be rounded to determine the object distance measurement value. In this way, compared with steps S10-S30, the last first data is used to determine The object distance measurement value is more error-tolerant, making the object distance measurement value closer to the actual object distance measurement value.
图4是本申请实施例中实现光学测距的结构示意图。如图4所示,激光雷达装置100包括激光发射装置110、控制模块120、SPAD模块140、TDC模块150、比较器160、加/减计数器170、寄存器180、求均值电路190。在实现光学测距时,激光发射装置110发射出激光,通过透镜将光子照射在目标物体130上,目标物体130持续曝光。在目标物体130曝光期间,通过反射将光子通过透镜照射回激光雷达装置100。激光雷达装置100通过SPAD模块140接收返回的光信号,并通过TDC模块150将时间信息转换成量化的多比特数字信号并实时输出到比较器160。比较器160将TDC实时传输的数据与存储在寄存器180中的第一数据进行比较,并通过加/减计数器170对比较结果进行调整差值的更改,将更改后的第一数据存储在寄存器180中,其中,该寄存器180可包括包含第一存储空间的第二存储空间。最后通过求均值电路190将N个历史的第一数据做求均值计算,得到物体的距离信息。其中,控制模块120用于控制SPAD模块140、TDC模块150,使得TDC模块150上的数据能够按照SPAD接收光信号实时将数据反馈到比较器160中。FIG. 4 is a schematic structural diagram for realizing optical ranging in an embodiment of the present application. As shown in FIG. 4 , the lidar device 100 includes a laser emitting device 110 , a control module 120 , a SPAD module 140 , a TDC module 150 , a comparator 160 , an up/down counter 170 , a register 180 , and an averaging circuit 190 . When realizing optical distance measurement, the laser emitting device 110 emits laser light to illuminate the target object 130 with photons through the lens, and the target object 130 is continuously exposed. During exposure of target object 130, photons are illuminated through the lens back to lidar device 100 by reflection. The lidar device 100 receives the returned optical signal through the SPAD module 140 and converts the time information into a quantized multi-bit digital signal through the TDC module 150 and outputs it to the comparator 160 in real time. The comparator 160 compares the data transmitted in real time by the TDC with the first data stored in the register 180, changes the comparison result by adjusting the difference through the up/down counter 170, and stores the modified first data in the register 180 , wherein the register 180 may include a second storage space including the first storage space. Finally, the averaging circuit 190 performs averaging calculation on the N historical first data to obtain the distance information of the object. Among them, the control module 120 is used to control the SPAD module 140 and the TDC module 150, so that the data on the TDC module 150 can be fed back to the comparator 160 in real time according to the SPAD received optical signal.
图5是本申请实施例中实现光学测距的流程示意图。如图5所示,SPAD(单元)1在接收光信号后将信号发送到TDC(单元)1进行转换并将转换得到的数据实时发送到比较器1中进行比较并通过加/减计数器电路1完成数值更新,其中,另一个用于比较的数据从寄存器中寻找,寻找的是寄存器中第一存储空间中的第一数据。曝光结束后,寄存器中会存有第一数据的多个(例如N=20)历史数据,也即较近的刚更新过的多个历史数据,将这些第一数据的历史数据发送到求均值电路1中去,将得到timebin值M1,类似地,SPADn表示的是SPAD模块中第n个SPAD单元,其光学测距的流程与SPAD1类似,在此不再赘述。FIG. 5 is a schematic flowchart of realizing optical ranging in an embodiment of the present application. As shown in Figure 5, after receiving the optical signal, SPAD (unit) 1 sends the signal to TDC (unit) 1 for conversion and sends the converted data to comparator 1 in real time for comparison and passes through the up/down counter circuit 1 The numerical update is completed, in which another data used for comparison is searched from the register, and what is searched is the first data in the first storage space in the register. After the exposure is completed, there will be multiple (for example, N=20) historical data of the first data stored in the register, that is, multiple historical data that have just been updated recently. These historical data of the first data will be sent to the average In circuit 1, the timebin value M1 will be obtained. Similarly, SPADn represents the nth SPAD unit in the SPAD module. Its optical ranging process is similar to SPAD1 and will not be described again here.
将图4、图5和图1、图2进行比较,可以看到原本占据芯片中大部分面积的存储器和存储器控制电路将被比较器、加/减计数器及求均值电路所代替,由此带来的收益包括但不限于:Comparing Figures 4 and 5 with Figures 1 and 2, we can see that the memory and memory control circuit that originally occupied most of the chip area will be replaced by comparators, up/down counters, and averaging circuits. This will bring Future benefits include but are not limited to:
芯片内部无需保存统计直方图数据,可不再使用SRAM存储器保存数据,用很小的寄存器即可,芯片面积显著减小;芯片面积减小的同时,芯片功耗和成本显著下降;相比于SRAM存储器至少需要2拍完成一次数据累加(读取一拍,写入一拍),加减计数器电路可以在一拍实现数据加或减值计算,从而整个TDC模块数据处理速度提高一倍,即整个芯片数据吞吐量提升一倍;由于不再使用统计直方图来计算深度值,而是芯片端直接输出深度数据(timebin值),因此芯片的数据输出量,以及统计直方图的后级运算量(例如匹配滤波+寻峰算法等)都将显著减少,可提高芯片的处理效率。There is no need to save statistical histogram data inside the chip. SRAM memory can no longer be used to save data. A very small register can be used. The chip area is significantly reduced. While the chip area is reduced, the chip power consumption and cost are significantly reduced. Compared with SRAM The memory needs at least 2 beats to complete a data accumulation (one beat for reading, one beat for writing). The addition and subtraction counter circuit can realize data addition or subtraction calculation in one beat, thus doubling the data processing speed of the entire TDC module, that is, the entire The chip data throughput is doubled; since the statistical histogram is no longer used to calculate the depth value, but the chip directly outputs the depth data (timebin value), the data output volume of the chip, as well as the post-level calculation amount of the statistical histogram ( For example, matched filtering + peak-finding algorithm, etc.) will be significantly reduced, which can improve the processing efficiency of the chip.
进一步地,N的个数具体可设为2-30个。Further, the number of N can be specifically set to 2-30.
进一步地,本申请实施例中通过增加N的个数,或者减小调整差值,能够有效提高物体距离测量值的精准度。在一实施例中,当需要进一步提高物体距离测量值的精准度时,可提前将N的个数设高点,这样得到的N个第一数据的历史值的平均值更加接近实际的物体距离测量值,或者,可减小调整差值,让第一数据收敛时精度更高,能够得到更准确的物体 距离测量值。Furthermore, in the embodiment of the present application, by increasing the number of N or reducing the adjustment difference, the accuracy of the object distance measurement value can be effectively improved. In one embodiment, when it is necessary to further improve the accuracy of the object distance measurement, the number of N can be set to a high point in advance, so that the average value of the historical values of the N first data is closer to the actual object distance. Measurement value, or the adjustment difference can be reduced, so that the first data converges with higher accuracy and a more accurate object can be obtained Distance measurement.
在本申请实施例中,设有第一存储空间、调整差值,第一存储空间用于存储一个数据,可利用调整差值对第一存储空间的数据进行收敛性的调整更新,以使得第一存储空间的第一数据更加接近实际的物体距离测量值;具体地,激光曝光开始,将TDC实时输出的数据和第一存储空间内的第一数据进行比较,根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,其中,第一数据预设有初始值,直至曝光结束,停止执行比较步骤,通过每次TDC实时输出的数据和第一存储空间内的第一数据进行比较,可利用TDC输出的数据符合泊松分布的特性,通过每次的数值比较不断地更新调整第一数据,使得第一数据在初始值时通过数值比较快速收敛至实际的物体距离测量值附近;最后根据第一数据的值,确定物体距离测量值,当TDC实时输出的数据和第一存储空间内的第一数据比较次数足够后,最后得到的第一数据与实际的物体距离测量值误差较小,基本等同于实际的物体距离测量值。采用该种激光测距方法时,在测距芯片内部无需保存统计直方图数据,可以减少或不使用SRAM来保存数据,测距芯片的面积显著减少。In the embodiment of the present application, there is a first storage space and an adjustment difference value. The first storage space is used to store a piece of data. The adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third The first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the first data is The addition and subtraction adjustment difference values are stored in the first storage space as updated data. The first data is preset with an initial value until the exposure is completed and the comparison step is stopped. Through each TDC real-time output data and the first storage space For comparison, the data output by TDC conforms to the characteristics of Poisson distribution, and the first data is continuously updated and adjusted through each numerical comparison, so that the first data quickly converges to the actual value through numerical comparison at the initial value. near the object distance measurement value; finally, determine the object distance measurement value based on the value of the first data. When the data output by the TDC in real time and the first data in the first storage space are compared a sufficient number of times, the finally obtained first data will be compared with the actual The object distance measurement value has a small error and is basically equivalent to the actual object distance measurement value. When using this laser ranging method, there is no need to save statistical histogram data inside the ranging chip, SRAM can be reduced or not used to save data, and the area of the ranging chip is significantly reduced.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence number of each step in the above embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
本申请实施例提供一种激光测距装置。该激光测距装置包括:An embodiment of the present application provides a laser ranging device. The laser ranging device includes:
激光发射器,用于发射激光;Laser transmitter, used to emit laser;
SPAD阵列,用于接收光信号;SPAD array, used to receive optical signals;
TDC阵列,用于将光信号飞行的时间值转换为数字信号;TDC array, used to convert the flight time value of the optical signal into a digital signal;
比较器,用于将其中一个TDC实时输出的数据和第一存储空间内的第一数据进行比较;A comparator, used to compare the real-time output data of one of the TDCs with the first data in the first storage space;
加/减计数器,用于根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,其中,调整差值为预先设置的;An up/down counter, used to store the addition and subtraction adjustment difference of the first data as updated data in the first storage space according to the comparison result, where the adjustment difference is preset;
第一存储空间,用于保存第一数据,对第一数据预设有初始值;The first storage space is used to save the first data, and the first data is preset with an initial value;
处理电路,用于根据第一数据,确定物体距离测量值。A processing circuit configured to determine an object distance measurement value based on the first data.
进一步地,该激光测距装置还包括:Further, the laser ranging device also includes:
第二存储空间和计算单元,其中,第二存储空间的存储容量比第一存储空间多;a second storage space and a computing unit, wherein the second storage space has a greater storage capacity than the first storage space;
加/减计数器,还用于将第一数据加减调整差值作为更新的数据保存在第一存储空间内,并同时保存在第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个第一数据的历史值,其中,N为正整数,N的值小于TDC的最大量程;The plus/minus counter is also used to save the plus/minus adjustment difference of the first data as updated data in the first storage space and at the same time in the second storage space. When the exposure ends, the storage capacity of the second storage space Stores N historical values of the first data, where N is a positive integer and the value of N is less than the maximum range of TDC;
计算单元,用于计算得到N个第一数据的历史值的平均值;The calculation unit is used to calculate the average of the historical values of the N first data;
处理电路,还用于根据N个第一数据的历史值的平均值,确定物体距离测量值。The processing circuit is also used to determine the object distance measurement value based on the average of the historical values of the N first data.
在本申请实施例中,设有第一存储空间、调整差值,第一存储空间用于存储一个数据,可利用调整差值对第一存储空间的数据进行收敛性的调整更新,以使得第一存储空间的第一数据更加接近实际的物体距离测量值;具体地,激光曝光开始,将TDC实时输出的数据和第一存储空间内的第一数据进行比较,根据比较结果,将第一数据加减调整差值作为更新的数据保存在第一存储空间内,其中,第一数据预设有初始值,直至曝光结束,停止执行比较步骤,通过每次TDC实时输出的数据和第一存储空间内的第一数据进行比较,可利用 TDC输出的数据符合泊松分布的特性,通过每次的数值比较不断地更新调整第一数据,使得第一数据在初始值时通过数值比较快速收敛至实际的物体距离测量值附近;最后根据第一数据的值,确定物体距离测量值,当TDC实时输出的数据和第一存储空间内的第一数据比较次数足够后,最后得到的第一数据与实际的物体距离测量值误差较小,基本等同于实际的物体距离测量值。采用该种激光测距方法时,在测距芯片内部无需保存统计直方图数据,可以减少或不使用SRAM来保存数据,测距芯片的面积显著减少。In the embodiment of the present application, there is a first storage space and an adjustment difference value. The first storage space is used to store a piece of data. The adjustment difference value can be used to perform convergent adjustment and update on the data in the first storage space, so that the third The first data in a storage space is closer to the actual object distance measurement value; specifically, when the laser exposure starts, the data output by the TDC in real time is compared with the first data in the first storage space, and according to the comparison result, the first data is The addition and subtraction adjustment difference values are stored in the first storage space as updated data. The first data is preset with an initial value until the exposure is completed and the comparison step is stopped. Through each TDC real-time output data and the first storage space The first data within the comparison can be utilized The data output by TDC conforms to the characteristics of Poisson distribution. The first data is continuously updated and adjusted through each numerical comparison, so that the first data quickly converges to the actual object distance measurement value through numerical comparison at the initial value; finally, according to the The value of a data determines the object distance measurement value. When the data output by the TDC in real time and the first data in the first storage space are compared enough times, the error between the finally obtained first data and the actual object distance measurement value is small, basically Equivalent to actual object distance measurement. When using this laser ranging method, there is no need to save statistical histogram data inside the ranging chip, SRAM can be reduced or not used to save data, and the area of the ranging chip is significantly reduced.
进一步地,本申请实施例中还可在第一存储空间的基础上扩展出第二存储空间,该第二存储空间可存储有最新的N个第一数据的历史值,即第二存储空间存储的值为最后N次比较后更新得到的第一数据。本申请实施例中,根据N个第一数据的历史值的平均值,可采用该平均值取整确定物体距离测量值,这样,相比于步骤S10-S30步骤采用最后一次的第一数据确定物体距离测量值,更具有容错性,使得得到的物体距离测量值更加接近实际的物体距离测量值。Furthermore, in the embodiment of the present application, a second storage space can be expanded based on the first storage space. The second storage space can store the latest N historical values of the first data, that is, the second storage space stores The value of is the first data updated after the last N comparisons. In the embodiment of the present application, according to the average value of the historical values of N first data, the average value can be rounded to determine the object distance measurement value. In this way, compared with steps S10-S30, the last first data is used to determine The object distance measurement value is more error-tolerant, making the object distance measurement value closer to the actual object distance measurement value.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units and modules is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs. Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。 The above embodiments are only used to illustrate the technical solutions of the present application, but are not intended to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments. Modifications are made to the recorded technical solutions, or equivalent substitutions are made to some of the technical features; these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and shall be included in this application. within the scope of protection.

Claims (10)

  1. 一种激光测距方法,其特征在于,包括:A laser ranging method, characterized by including:
    设有第一存储空间,设有调整差值,所述第一存储空间用于存储一个数据;A first storage space is provided, and an adjustment difference value is provided, and the first storage space is used to store a piece of data;
    激光曝光开始,将TDC实时输出的数据和所述第一存储空间内的第一数据进行比较,根据比较结果,将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,其中,所述第一数据预设有初始值,直至曝光结束,停止执行比较步骤;When the laser exposure starts, the real-time output data of the TDC is compared with the first data in the first storage space. According to the comparison result, the first data plus or minus the adjustment difference is saved as updated data in the first storage space. In the first storage space, the first data is preset with an initial value, and the comparison step is stopped until the exposure is completed;
    根据所述第一数据的值,确定物体距离测量值。Based on the value of said first data, an object distance measurement is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    设有第二存储空间,所述第二存储空间的存储容量比所述第一存储空间多;A second storage space is provided, and the storage capacity of the second storage space is greater than that of the first storage space;
    将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,并同时保存在所述第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个所述第一数据的历史值,其中,所述N为正整数,所述N的值小于所述TDC的最大量程;The first data plus or minus the adjustment difference is saved in the first storage space as updated data, and is simultaneously saved in the second storage space. When the exposure ends, the storage capacity of the second storage space N historical values of the first data are stored, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
    计算得到N个所述第一数据的历史值的平均值;Calculate the average of N historical values of the first data;
    根据所述N个所述第一数据的历史值的平均值,确定所述物体距离测量值。The object distance measurement value is determined based on the average of the N historical values of the first data.
  3. 根据权利要求2所述的方法,其特征在于,所述第一存储空间是所述第二存储空间的一部分,所述第二存储空间是一个能够存储N个数据的移位寄存器,所述第一存储空间占用所述第二存储空间的第一个位置或者最后一个位置。The method of claim 2, wherein the first storage space is part of the second storage space, the second storage space is a shift register capable of storing N pieces of data, and the first storage space is a shift register capable of storing N pieces of data. A storage space occupies the first position or the last position of the second storage space.
  4. 根据权利要求1所述的方法,其特征在于,所述将TDC实时输出的数据和所述第一存储空间内的第一数据进行比较,根据比较结果,将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,包括:The method according to claim 1, characterized in that the data output by the TDC in real time is compared with the first data in the first storage space, and the first data is added or subtracted according to the comparison result. The adjusted difference value is saved in the first storage space as updated data, including:
    将所述TDC实时输出的数据和所述第一存储空间内的所述第一数据进行比较;Compare the data output by the TDC in real time with the first data in the first storage space;
    若所述第一数据小于所述TDC实时输出的数据,则所述第一数据加上所述调整差值得到更新的数据,存入所述第一存储空间;If the first data is less than the data output by the TDC in real time, the first data is added to the adjustment difference to obtain updated data, which is stored in the first storage space;
    若所述第一数据大于所述TDC实时输出的数据,则所述第一数据减去所述调整差值得到所述更新的数据,存入所述第一存储空间;If the first data is greater than the data output by the TDC in real time, the adjusted difference is subtracted from the first data to obtain the updated data, which is stored in the first storage space;
    若所述第一数据等于所述TDC实时输出的数据,则所述第一数据依然保存在所述第一存储空间。If the first data is equal to the data output by the TDC in real time, the first data is still stored in the first storage space.
  5. 根据权利要求1所述的方法,其特征在于,所述第一数据预设的所述初始值为所述TDC的量程范围的中间值。The method of claim 1, wherein the initial value preset by the first data is an intermediate value of the measurement range of the TDC.
  6. 根据权利要求1所述的方法,其特征在于,所述调整差值包括第一调整差值和第二调整差值,所述第一调整差值的数值大于所述第二调整差值的数值,所述调整差值根据所述TDC接收的次数更改,其中,当比较的次数达到预设阈值时,所述第一调整差值更改为所述第二调整差值。The method of claim 1, wherein the adjustment difference includes a first adjustment difference and a second adjustment difference, and the first adjustment difference is greater than the second adjustment difference. , the adjustment difference value is changed according to the number of times of TDC reception, wherein when the number of comparisons reaches a preset threshold, the first adjustment difference value is changed to the second adjustment difference value.
  7. 根据权利要求2所述的方法,其特征在于,通过增加N的个数,或者减小所述调整差值,提高所述物体距离测量值的精准度。The method according to claim 2, characterized in that by increasing the number of N or reducing the adjustment difference, the accuracy of the object distance measurement value is improved.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,N的个数范围为2-30个,所述调整差值的范围为0.5-10。The method according to any one of claims 1 to 7, characterized in that the number of N ranges from 2 to 30, and the adjustment difference ranges from 0.5 to 10.
  9. 一种激光测距装置,其特征在于,包括:A laser ranging device, characterized by including:
    激光发射器,用于发射激光;Laser transmitter, used to emit laser;
    SPAD阵列,用于接收光信号; SPAD array, used to receive optical signals;
    TDC阵列,用于将光信号飞行的时间值转换为数字信号;TDC array, used to convert the flight time value of the optical signal into a digital signal;
    比较器,用于将其中一个TDC实时输出的数据和第一存储空间内的第一数据进行比较;A comparator, used to compare the real-time output data of one of the TDCs with the first data in the first storage space;
    加/减计数器,用于根据比较结果,将第一数据加减调整差值作为更新的数据保存在所述第一存储空间内,其中,所述调整差值为预先设置的;An up/down counter, used to save the first data addition and subtraction adjustment difference as updated data in the first storage space according to the comparison result, wherein the adjustment difference is preset;
    第一存储空间,用于保存第一数据,对第一数据预设有初始值;The first storage space is used to save the first data, and the first data is preset with an initial value;
    处理电路,用于根据第一数据,确定物体距离测量值。A processing circuit configured to determine an object distance measurement value based on the first data.
  10. 根据权利要求9所述的装置,其特征在于,还包括第二存储空间和计算单元,其中,所述第二存储空间的存储容量比所述第一存储空间多;The device according to claim 9, further comprising a second storage space and a computing unit, wherein the storage capacity of the second storage space is greater than that of the first storage space;
    所述加/减计数器,还用于将所述第一数据加减所述调整差值作为更新的数据保存在所述第一存储空间内,并同时保存在所述第二存储空间内,曝光结束时,第二存储空间的存储容量保存有N个所述第一数据的历史值,其中,所述N为正整数,所述N的值小于所述TDC的最大量程;The up/down counter is also used to add and subtract the adjustment difference to the first data and save it in the first storage space as updated data, and simultaneously save it in the second storage space. At the end, the storage capacity of the second storage space stores N historical values of the first data, where N is a positive integer, and the value of N is less than the maximum range of the TDC;
    所述计算单元,用于计算得到N个所述第一数据的历史值的平均值;The calculation unit is used to calculate an average of N historical values of the first data;
    所述处理电路,还用于根据所述N个所述第一数据的历史值的平均值,确定所述物体距离测量值。 The processing circuit is also configured to determine the object distance measurement value based on the average of the N historical values of the first data.
PCT/CN2023/087577 2022-04-13 2023-04-11 Laser ranging method and device WO2023198043A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210384502.3A CN115128623A (en) 2022-04-13 2022-04-13 Laser ranging method and device
CN202210384502.3 2022-04-13

Publications (1)

Publication Number Publication Date
WO2023198043A1 true WO2023198043A1 (en) 2023-10-19

Family

ID=83377025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087577 WO2023198043A1 (en) 2022-04-13 2023-04-11 Laser ranging method and device

Country Status (2)

Country Link
CN (1) CN115128623A (en)
WO (1) WO2023198043A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115128623A (en) * 2022-04-13 2022-09-30 深圳市灵明光子科技有限公司 Laser ranging method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652259A (en) * 2015-12-30 2016-06-08 天津大学 Laser ranging reading sequential circuit and method based on Geiger mode APD array
US20180164415A1 (en) * 2016-12-12 2018-06-14 Sensl Technologies Ltd Histogram Readout Method and Circuit for Determining the Time of Flight of a Photon
CN112558096A (en) * 2020-12-11 2021-03-26 深圳市灵明光子科技有限公司 Distance measurement method, system and storage medium based on shared memory
CN112946675A (en) * 2021-01-28 2021-06-11 深圳奥锐达科技有限公司 Distance measuring method, system and equipment based on time fusion
US20210181317A1 (en) * 2019-09-19 2021-06-17 Oradar Technology Company Limited Time-of-flight-based distance measurement system and method
CN113466836A (en) * 2021-06-23 2021-10-01 深圳市欢创科技有限公司 Distance measurement method and device and laser radar
CN113474675A (en) * 2020-01-20 2021-10-01 深圳市速腾聚创科技有限公司 Laser ranging method and device, storage medium and laser radar
CN115128623A (en) * 2022-04-13 2022-09-30 深圳市灵明光子科技有限公司 Laser ranging method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652259A (en) * 2015-12-30 2016-06-08 天津大学 Laser ranging reading sequential circuit and method based on Geiger mode APD array
US20180164415A1 (en) * 2016-12-12 2018-06-14 Sensl Technologies Ltd Histogram Readout Method and Circuit for Determining the Time of Flight of a Photon
CN110073244A (en) * 2016-12-12 2019-07-30 森斯尔科技有限公司 For determining the histogram reading method and circuit of the flight time of photon
US20210181317A1 (en) * 2019-09-19 2021-06-17 Oradar Technology Company Limited Time-of-flight-based distance measurement system and method
CN113474675A (en) * 2020-01-20 2021-10-01 深圳市速腾聚创科技有限公司 Laser ranging method and device, storage medium and laser radar
CN112558096A (en) * 2020-12-11 2021-03-26 深圳市灵明光子科技有限公司 Distance measurement method, system and storage medium based on shared memory
CN112946675A (en) * 2021-01-28 2021-06-11 深圳奥锐达科技有限公司 Distance measuring method, system and equipment based on time fusion
CN113466836A (en) * 2021-06-23 2021-10-01 深圳市欢创科技有限公司 Distance measurement method and device and laser radar
CN115128623A (en) * 2022-04-13 2022-09-30 深圳市灵明光子科技有限公司 Laser ranging method and device

Also Published As

Publication number Publication date
CN115128623A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
WO2023198043A1 (en) Laser ranging method and device
CN109100702B (en) Photoelectric sensor and method for measuring distance to object
US10671025B2 (en) Time-to-digital converter and conversion method
JP5520840B2 (en) Contrast measurement visual sensor and contrast measurement method
US11353828B2 (en) Latched gray code for ToF applications
US11885915B2 (en) Time to digital converter
JP7043218B2 (en) Optical sensors, distance measuring devices, and electronic devices
WO2022161481A1 (en) Time of flight distance measurement method and system, and device
US10989814B2 (en) Method for managing dynamic range of an optical detection device, and corresponding device
CN113325386B (en) Method for real-time statistics of TDC (time-to-digital converter) by using dual random memories of SPAD (space-based data detection) laser radar
CN113484870A (en) Ranging method and apparatus, terminal, and non-volatile computer-readable storage medium
US20220163645A1 (en) Time-of-flight to distance calculator
WO2020223981A1 (en) Time flight depth camera and multi-frequency modulation and demodulation distance measuring method
US9952334B2 (en) Pulse detection circuit, radiation detection circuit, and radiation detection apparatus
US20220179078A1 (en) Time-of-flight ranging device and time-of-flight ranging method
CN114994693A (en) Laser ranging method and device
WO2022242348A1 (en) Dtof depth image acquisition method and apparatus, electronic device, and medium
WO2022160622A1 (en) Distance measurement method, device, and system
US11609539B2 (en) Methods and apparatus for a time-to-digital converter
CN113325429A (en) Time-to-digital converter with photon time correlation detection function
JPH1138136A (en) Distance measuring equipment
WO2023279756A1 (en) Distance measurement system, and method, apparatus and device for determining relative precision thereof
CN115951368A (en) Multi-step DTOF ranging method based on dynamic resolution
CN217766848U (en) Detection system
CN117930265A (en) Processing method and device for improving ranging accuracy

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23787687

Country of ref document: EP

Kind code of ref document: A1