WO2021088646A1 - Dynamic threshold timing circuit, lidar, and time information obtaining method - Google Patents

Dynamic threshold timing circuit, lidar, and time information obtaining method Download PDF

Info

Publication number
WO2021088646A1
WO2021088646A1 PCT/CN2020/122659 CN2020122659W WO2021088646A1 WO 2021088646 A1 WO2021088646 A1 WO 2021088646A1 CN 2020122659 W CN2020122659 W CN 2020122659W WO 2021088646 A1 WO2021088646 A1 WO 2021088646A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection threshold
analog
digital
input signal
external input
Prior art date
Application number
PCT/CN2020/122659
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 WO2021088646A1 publication Critical patent/WO2021088646A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters

Definitions

  • the present invention generally relates to the field of circuit technology, and more particularly to a dynamic threshold timing circuit, a laser radar including the same, and a method for collecting time information of an external input signal.
  • Time-to-Digital Converter is a measuring device or equipment that digitizes time information
  • a timing circuit is a circuit that extracts time information from an analog signal to be measured.
  • An analog signal carrying time information cannot be directly used as the input of TDC.
  • a timing circuit needs to extract the time information from the signal, output the time signal carrying time information, and send it to TDC.
  • Time information is usually carried by the signal edge of the level transition.
  • the output of the TDC is only the digital quantization result of the measured time signal, and other information such as amplitude and waveform other than the time information cannot be obtained.
  • Timing circuits such as leading edge timing circuits
  • a comparator and a threshold value generating circuit
  • the threshold time information of the signal to be measured is obtained through the comparator. Because the timing circuit only pays attention to the condition of the signal to be measured near the threshold voltage, it is unable to monitor the baseline, resulting in the timing circuit's lack of grasp of the baseline state (the baseline value is determined by the circuit itself and will drift with temperature).
  • ADC analog-to-digital converter
  • the sampling frequency of the ADC is required to be 500MHz (and if the sampling rate is determined according to the sampling law, for a signal with a rise time of 8ns , Only a sampling rate of 80MHz is enough. Lidar needs to get more accurate time measurement, and the sampling rate of ADC is several times higher than that of general applications.
  • the increase in sampling rate also greatly increases the power consumption of the circuit. The increase in circuit power consumption usually results in a large amount of heat. For lidar applications, because a large number of devices are gathered in a small space, the increase in device heat is extremely detrimental to the operation of the system.
  • the present invention provides a dynamic threshold timing circuit, including:
  • a comparator having a first input terminal, a second input terminal and an output terminal, the first input terminal is adapted to receive an external input signal, and the second input terminal is adapted to receive a detection threshold;
  • a time-to-digital converter the time-to-digital converter is coupled to the output terminal of the comparator to obtain time information of the output signal of the comparator;
  • a controller configured to receive the external input signal, generate the detection threshold value according to the external input signal, and provide the detection threshold value to a second input terminal of the comparator, wherein the detection threshold value It is related to the noise in the external input signal.
  • the dynamic threshold timing circuit further includes an analog-to-digital converter, the analog-to-digital converter is coupled to the controller, and the external input signal is converted by the analog-to-digital converter After that, it is provided to the controller.
  • the controller is configured to generate the detection threshold in the following manner:
  • the parameter ⁇ base is the standard deviation of the noise data
  • the detection threshold is (V base +n* ⁇ base ), where n is a positive integer.
  • the dynamic threshold timing circuit further includes a digital-to-analog converter, the input of the digital-to-analog converter is coupled to the controller and receives the detection threshold, the digital-to-analog converter The output terminal of is coupled to the second input terminal of the comparator, and the detection threshold is digital-to-analog converted and then provided to the second input terminal of the comparator.
  • the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
  • the dynamic threshold timing circuit further includes a selection switch, the selection switch has a first position and a second position, when in the first position, the selection switch causes the external input signal to be Is coupled to the input terminal of the analog-to-digital converter, and the input terminal of the analog-to-digital converter is disconnected from the output terminal of the digital-to-analog converter; when in the second position, the selection switch enables the external The input signal is disconnected from the input terminal of the analog-to-digital converter, and the input terminal of the analog-to-digital converter is coupled to the output terminal of the digital-to-analog converter.
  • the controller is configured to use the analog-to-digital converter to sample the output of the digital-to-analog converter when the selector switch is in the second position, and to calibrate the detection threshold .
  • the controller calibrates the detection threshold in the following manner:
  • the detection threshold input to the digital-to-analog converter is set to be (V base +n* ⁇ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
  • the dynamic threshold timing circuit further includes an amplifier whose input terminal can receive the external input signal, and the output terminal is coupled to the first input terminal of the comparator and the analog signal.
  • Digital converter so that the external input signal is amplified by the amplifier, the amplified external input signal is provided to the first input terminal of the comparator, and the amplified external input signal is passed through the analog-to-digital converter After conversion, it is provided to the controller.
  • the present invention also provides a laser radar, including a photodetector and the above-mentioned dynamic threshold timing circuit;
  • the photodetector is suitable for receiving detection echoes reflected by obstacles
  • the dynamic threshold timing circuit is coupled to the photodetector and is adapted to receive the signal output by the photodetector as the external input signal.
  • the lidar further includes a transmitting device, wherein the transmitting device is adapted to emit laser pulses;
  • the controller is coupled to the emitting device, and the controller is adapted to learn the time information of the laser pulse emitted by the emitting device, and based on the time information of the laser pulse emission and the echo received by the photodetector Time information, calculate the distance between the lidar and external obstacles.
  • the present invention also provides a method for collecting time information of external input signals, including:
  • the method further includes: performing analog-to-digital conversion on the external input signal.
  • the detection threshold is generated in the following manner:
  • the parameter ⁇ base is the standard deviation of the noise data
  • the detection threshold is (V base +n* ⁇ base ), where n is a positive integer.
  • the method further includes: performing digital-to-analog conversion of the detection threshold through a digital-to-analog converter and then providing the detection threshold to the comparator.
  • the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
  • the method further includes: sampling the output of the digital-to-analog converter by the analog-to-digital converter, and calibrating the detection threshold.
  • the detection threshold is calibrated in the following manner:
  • the detection threshold input to the digital-to-analog converter is set to be (V base +n* ⁇ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
  • the method further includes: amplifying the external input signal,
  • the step of generating a detection threshold value according to an external input signal includes: performing an analog-to-digital conversion on the amplified external input signal through an analog-to-digital converter;
  • the step of comparing the external input signal with a detection threshold includes: comparing the amplified external input signal with the detection threshold.
  • the embodiment of the present invention combines the advantages of low power consumption of the TDC time measurement circuit, and realizes a dynamic threshold circuit that can be dynamically calibrated. Compared with the TDC time measurement circuit with a fixed threshold, the present invention can monitor the baseline state, dynamically adjust the trigger threshold, and simultaneously realize the dynamic calibration of the threshold, which reduces the amplitude requirement of the signal to be measured. Compared with the ADC time measurement method, this method is more suitable for compact, power-constrained measurement equipment such as Lidar due to its lower power consumption.
  • Figure 1 shows a dynamic threshold timing circuit according to an embodiment of the present invention
  • Figure 2 shows a dynamic threshold timing circuit according to a preferred embodiment of the present invention
  • Figure 3 shows a typical external input signal including signal waveform data and noise data
  • Figure 4 shows a dynamic threshold timing circuit according to a preferred embodiment of the present invention.
  • Fig. 5 shows a method for collecting time information of an external input signal according to an embodiment of the present invention.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present invention, “plurality” means two or more than two, unless otherwise specifically defined.
  • the terms “installation”, “connected”, and “connected” should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection.
  • Connected or integrally connected It can be mechanically connected, or electrically connected or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication of two components or the interaction of two components relationship.
  • an intermediate medium which can be the internal communication of two components or the interaction of two components relationship.
  • the first feature "on” or “under” the second feature may include the first and second features in direct contact, or may include the first and second features Not in direct contact but through other features between them.
  • the "above”, “above” and “above” of the first feature on the second feature include the first feature directly above and obliquely above the second feature, or it simply means that the first feature is higher in level than the second feature.
  • the “below”, “below” and “below” of the first feature of the second feature include the first feature directly above and obliquely above the second feature, or it simply means that the level of the first feature is smaller than the second feature.
  • FIG. 1 shows a dynamic threshold timing circuit 100 according to an embodiment of the present invention, which will be described in detail below with reference to FIG. 1.
  • the dynamic threshold timing circuit 100 includes a comparator 101, a time-to-digital converter 102 and a controller 103.
  • the comparator 101 has a first input terminal (as shown in Fig. 1 in the same direction input terminal +), a second input terminal (as shown in Fig. 1 the inverting input terminal of the comparator 101 -) and an output terminal.
  • the first input terminal can receive an external input signal.
  • the external input signal can be, for example, a signal output by a photodetector of a lidar (such as an avalanche photodiode APD).
  • the dynamic threshold timing circuit 100 can be used to obtain the external input.
  • the time information of the signal; the second input can receive the detection threshold.
  • the output terminal of the comparator 101 when the external input signal is higher than the detection threshold, the output terminal of the comparator 101 outputs a high level; when the external input signal is lower than the detection threshold, the output The output terminal of the comparator 101 outputs a low level.
  • the time-to-digital converter 102 is coupled to the output terminal of the comparator 101 to obtain time information of the timing signal output by the comparator.
  • the signal output by the comparator 101 carries time information during the high-level and low-level transitions.
  • the time-to-digital converter 102 can obtain the time point of the high and low level transition, that is, obtain the digitized time information, and output the digitized time information, for example, to the controller 103.
  • the controller 103 calculates the distance between the lidar and the external obstacle by using the time-of-flight method (TOF), for example, based on the time information of laser pulse emission and the time information of the echo (ie, external input signal) received by the photodetector.
  • TOF time-of-flight method
  • the controller 103 is configured to receive the external input signal, generate the detection threshold value according to the external input signal, and provide the detection threshold value to the second input terminal of the comparator 101.
  • the external input signal is also sent to the first port 1031 of the controller 103, and the controller 103 generates according to the external input signal.
  • the detection threshold is detected, and the detection threshold is provided to the second input terminal of the comparator 101 through the second port 1032.
  • the detection threshold is related to the noise in the external input signal, for example, is related to the mean value of the noise data, the dispersion degree of the noise data, and other parameters.
  • the detection threshold can be dynamically adjusted during the operation of the circuit, so that the comparison threshold of the comparator is dynamically adjusted according to the noise in the external input signal, so even in applications with a lower signal-to-noise ratio, such as lasers In the distance measurement application of radar (Lidar), it will not cause false triggering of noise, so that the time information of the tiny signal can be obtained accurately.
  • Fig. 2 shows a schematic circuit diagram of a dynamic threshold timing circuit 100 according to a preferred embodiment of the present invention. This is described in detail below with reference to FIG. 2.
  • the dynamic threshold timing circuit 100 further includes an analog-to-digital converter (ADC) 104.
  • ADC analog-to-digital converter
  • the external input signal is also coupled to the input terminal of the analog-to-digital converter 104, and the output terminal of the analog-to-digital converter 104 is coupled to the first port 1031 of the controller 103, Therefore, the external input signal is provided to the controller 103 after the analog-to-digital converter 104 performs analog-to-digital conversion.
  • the detection threshold is related to the noise in the external input signal.
  • the method for obtaining the detection threshold according to a preferred embodiment of the present invention is described below.
  • the controller 103 may generate the detection threshold in the following manner:
  • Step 1 Obtain noise data in the external input signal.
  • the controller 103 After the controller 103 receives the sampled data of the analog-to-digital converter 104, it can remove the signal waveform data in the sampled data (for example, using a priori preset threshold for removing the signal waveform data), and only keep the external input signal Noise data.
  • Figure 3 is a typical external input signal including signal waveform and noise.
  • the horizontal axis is time and the vertical axis is amplitude.
  • the corresponding calculation is performed after multiple sampling by the analog-to-digital converter.
  • This noise is called baseline noise, and its average value is Reflects the baseline value, and its standard deviation reflects the intensity of the baseline noise.
  • the signal waveform data of the external input signal whose amplitude is higher than the preset threshold can be removed according to the preset threshold.
  • the threshold can also be selected according to the measured scene.
  • the preset threshold when the measurement is performed during the day, the preset threshold can be set to be higher to retain as much noise data as possible; when the measurement is performed at night, the preset threshold can be set to be lower, so that as much as possible Ground removal of signal waveform data.
  • the “removal of the signal waveform data in the sampled data” in the present invention does not necessarily remove all the signal waveform data in the sampled data, and some signal waveform data with lower amplitude (close to noise) can also be retained. These are all within the protection scope of the present invention.
  • Step 2 Obtain the mean value V base of the noise data. On the basis of the noise data obtained in step 1, for example, by averaging the noise data data, the mean value V base of the noise data can be obtained.
  • Step 3 Obtain a parameter ⁇ base that characterizes the dispersion of the noise data.
  • a parameter ⁇ base that can characterize its dispersion is obtained, and the parameter may be, for example, the standard deviation of the noise data.
  • Step 4 Determine the detection threshold according to the average value V base and the parameter ⁇ base.
  • the detection threshold is V base +n* ⁇ base , where n is a positive integer.
  • the controller calculates the lowest threshold of the low-noise false trigger probability.
  • ambient light noise is the main noise in light scenarios.
  • Ambient light noise is a kind of shot noise, which conforms to the Poisson distribution.
  • the mean value of the Poisson distribution is high, it can be approximated as a Gaussian distribution, with the mean value ⁇ and the standard deviation Therefore, the relationship between the probability of noise crossing and the threshold voltage can be obtained according to the Gaussian distribution model.
  • the trigger threshold needs to be set to be greater than or equal to n ⁇ (the setting of n needs to consider the single pulse/multi-pulse transmission of lidar at the same time).
  • the controller can then calculate that the detection threshold should be set to V base +n* ⁇ base .
  • the controller provides the calculation result to the comparator to realize the signal timing measurement of the dynamic threshold.
  • the dynamic threshold timing circuit 100 further includes a digital-to-analog converter (DAC) 105.
  • DAC digital-to-analog converter
  • the port 1032 is coupled to and receives the detection threshold
  • the output terminal of the digital-to-analog converter 105 is coupled to the second input terminal of the comparator 101
  • the detection threshold is digital-to-analog converted and provided to the comparison
  • the second input terminal of the ⁇ 101 can calculate that the detection threshold should be set to V base +n* ⁇ base .
  • the controller sends the digital sequence for which the detection threshold should be set as the setting value of the digital-to-analog converter DAC to the digital-to-analog converter.
  • the threshold voltage output by the digital-to-analog converter is connected to the comparator through the driver, and the signal timing measurement of the dynamic threshold can be realized.
  • the controller 103 can dynamically update the detection threshold according to the noise condition of the external input signal, so as to provide the comparator 101 with a reference for comparison.
  • the analog-to-digital converter 105 may perform sampling at a lower sampling rate, for example, its sampling frequency may be less than or equal to 100 MHz, which is much lower than the 500 MHz required in the prior art. Applications such as lidar are extremely advantageous.
  • the mean value is ⁇
  • the standard deviation is ⁇
  • the sampled mean value obtained conforms to the Gaussian distribution
  • the mean value is also ⁇
  • the standard deviation is That is, the higher the sampling number of Gaussian random numbers, the smaller the sampling error, and the more the sampling mean can reflect the true distribution mean.
  • the sampling standard deviation obeys the mean ⁇
  • the standard deviation is Gaussian distribution. From this, it can be calculated how large the number of samples should be selected to meet sufficient baseline mean and baseline standard deviation measurement accuracy. For example, when the number of samples reaches 50, the mean measurement error is ⁇ 28.3% ⁇ (95.4% confidence level), and the standard deviation measurement error is ⁇ 20.1% (95.4% confidence level); when the number of samples reaches 100, the mean measurement error is ⁇ 20% ⁇ (95.4% confidence level), the measurement error of the standard deviation is ⁇ 14.2% (95.4% confidence level). So 50 to 100 samples can reach a considerable accuracy.
  • an ADC of 50MHz to 100MHz can be selected for measurement.
  • the frequency is significantly reduced, thus greatly reducing power consumption.
  • Fig. 4 shows a dynamic threshold timing circuit 100 according to a preferred embodiment of the present invention. The following focuses on the differences from the embodiment in FIG. 2.
  • the dynamic threshold timing circuit 100 further includes a selection switch 106, such as a single-pole double-throw switch.
  • the selection switch 106 has a first position and a second position. When in the first position, the selection switch 106 enables the external input signal to be coupled to the input terminal of the analog-to-digital converter 104, and the analog-to-digital converter 104 The input terminal of the DAC is disconnected from the output terminal of the digital-to-analog converter 105; when in the second position, the selector switch 106 causes the external input signal to be disconnected from the input terminal of the analog-to-digital converter 104, so The input terminal of the analog-to-digital converter 104 is coupled to the output terminal of the digital-to-analog converter 105.
  • the selector switch 106 is shown in the first position in FIG. 4.
  • the working mode of the dynamic threshold timing circuit 100 is basically the same as the solution shown in FIG. 2.
  • the dynamic threshold timing circuit 100 further includes an ADC driver and a DAC driver.
  • the digital-to-analog converter 105 After receiving the detection threshold, the digital-to-analog converter 105 performs digital-to-analog conversion, and then, after being driven by the DAC driver, it is sent to the second input terminal of the comparator 101 as a reference for comparison.
  • the external input signal is driven by the ADC driver, it is provided to the analog-to-digital converter 104 for analog-to-digital conversion, and then is provided to the first port 1031 of the controller 103. I won't repeat them here.
  • the inventor of the present invention found that because the ADC driver, DAC driver, and baseline values all have certain deviations and temperature drifts, the scales of the analog-to-digital converter 104 and the digital-to-analog converter 105 are inconsistent, so the detection threshold is opened loop If set, the accuracy of the detection threshold cannot be guaranteed.
  • the solution of the embodiment of FIG. 4 can calibrate the detection threshold setting. As shown in FIG. 4, when the selector switch 106 is in the second position, the output terminal of the digital-to-analog converter 105 is connected to the input terminal of the analog-to-digital converter 104, and the detection threshold output by the digital-to-analog converter can be sampled. .
  • the calibration process is as follows: first, the controller controls the digital-to-analog converter to output the first detection threshold DAC_1, and then controls the selector switch to switch to the second position within a short period of time, and collects the first detection threshold through the analog-to-digital converter 104 A detection threshold is output, and the first detection threshold measurement value ADC_1 is obtained. When the next threshold measurement window is reached, the controller sets the digital-to-analog converter 105 to output the second detection threshold DAC_2, and similarly, the second detection threshold measurement ADC_2 is obtained through the analog-to-digital converter 104.
  • the detection threshold set by the controller should be (V base +n* ⁇ base )*(DAC_2-DAC_1)/( ADC_2-ADC_1)+DAC_1. In this way, real-time calibration is performed before the detection threshold is sent to the comparator, which can eliminate the detection threshold setting deviation caused by offset, temperature drift and inconsistent scale.
  • the controller can control that when the selector switch 106 is in the second position, the analog-to-digital converter 104 is used to sample the output of the digital-to-analog converter 105 , Calibrate the detection threshold.
  • the dynamic threshold timing circuit 100 further includes an amplifier 104 for amplifying the external input signal.
  • the amplifier 104 usually performs equal-scale amplification.
  • the amplified external input signal and the original external input signal only have a change in amplitude, and can still be regarded as the same signal.
  • the input terminal of the amplifier 104 can receive the external input signal, and the output terminal is coupled to a subsequent circuit for providing an amplified external input signal, for example, to the controller.
  • the output terminal of the amplifier 104 is also coupled to the first input terminal of the comparator 101.
  • the amplifier 104 is not a necessary circuit component of the dynamic threshold timing circuit 100.
  • the amplifier 104 can be omitted.
  • the amplifier 104 may be a transimpedance amplifier (TIA), thereby converting the current signal into Voltage signal.
  • the present invention also provides a laser radar, including a photodetector and the dynamic threshold timing circuit 100 shown in FIG. 1, FIG. 2, and FIG. 4.
  • the photodetector is suitable for receiving detection echoes reflected by obstacles.
  • the dynamic threshold timing circuit is coupled to the photodetector and is adapted to receive the signal output by the photodetector as the external input signal.
  • the lidar may also include a transmitting device suitable for emitting laser pulses.
  • the controller is coupled to the emitting device, and the controller is adapted to learn the time information of the laser pulse emitted by the emitting device, and based on the time information of the laser pulse emission and the echo received by the photodetector Time information, calculate the distance between the lidar and external obstacles.
  • the present invention also provides a method 200 for collecting time information of an external input signal.
  • the method 200 can be implemented by, for example, the dynamic threshold timing circuit 100 shown in FIGS. 1, 2, and 4. This is described in detail below with reference to FIG. 5.
  • a detection threshold is generated according to an external input signal, where the detection threshold is related to noise in the external input signal.
  • the detection threshold may be generated in the following manner: obtaining the noise data in the external input signal; obtaining the mean value V base of the noise data; obtaining the parameter ⁇ base representing the dispersion of the noise data of the external input signal; And determining the detection threshold according to the average value V base and the parameter ⁇ base.
  • the parameter ⁇ base is the standard deviation of the noise data
  • the detection threshold is V base +n* ⁇ base , where n is a positive integer.
  • step 202 compare the external input signal with the detection threshold to generate an output signal. After using a comparator to compare the external input signal with the detection threshold, a high and low level jump can be generated, which contains the time information of the external input signal.
  • step 203 Obtain the time information of the output signal.
  • the time-to-digital converter can obtain digitized time information according to the jump of the high and low pulses.
  • the method further includes: performing analog-to-digital conversion of the external input signal through an analog-to-digital converter, and then using it to generate the detection threshold.
  • the external input signal is an analog signal, it is often necessary to perform analog-to-digital conversion first to form a digital signal, and then use it to generate a detection threshold.
  • the method further includes: performing digital-to-analog conversion of the detection threshold through a digital-to-analog converter and then providing the detection threshold to the comparator.
  • the sampling frequency of the analog-to-digital converter can be made less than or equal to 100MHz. Compared with the sampling frequency of 500MHz in the prior art, the sampling frequency of the analog-to-digital converter in the present invention is significantly reduced, so that the amount of heat is generated. And power consumption is also significantly improved.
  • the method further includes sampling the output of the digital-to-analog converter by the analog-to-digital converter, and calibrating the detection threshold.
  • the detection threshold can be calibrated in the following manner:
  • the detection threshold input to the digital-to-analog converter is set to be (V base +n* ⁇ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
  • the external input signal may be amplified first, and then used to generate the detection threshold and for comparison after the amplification. Therefore, the step of generating the detection threshold value according to the external input signal includes: performing analog-to-digital conversion of the amplified external input signal through an analog-to-digital converter; and the step of comparing the external input signal with the detection threshold value includes: The external input signal is compared with the detection threshold.
  • the embodiment of the present invention solves the technical problem that the time measurement circuit based on the time-to-digital converter cannot measure the tiny signal while eliminating the false trigger of noise.
  • Lidar's light noise intensity is not static. The higher the ambient light power in the detector's field of view, the stronger the ambient light noise.
  • the fixed threshold in order for the false trigger probability of noise to be lower than p in any environment, the fixed threshold must be set to n ⁇ in ,max ⁇ G, where n is the normal distribution N(0,in ,max ) x satisfies the n value of P(x>ni n,max ) ⁇ p, i n,max is the maximum photoelectric reaction current generated by ambient light energy, and G is the circuit gain; or use a dynamic threshold, so that the threshold is set to n ⁇ i n ⁇ G, where i n is the photoelectric reaction current generated by ambient light on the APD at any time.
  • the signal amplitude is also required to exceed the threshold in low ambient light conditions to achieve detection, it will waste active luminescence energy in low ambient light conditions and reduce the efficiency of the detector.
  • Lidar needs more energy to make the detection signal trigger the threshold, which will increase the power consumption of laser emission.
  • the second dynamic threshold setting method can lower the trigger threshold when the noise is low, and the detector signal amplitude requirement is reduced accordingly, which avoids the waste of emission energy and improves the efficiency of the detector.
  • the time measurement circuit based on the analog-to-digital converter realizes the time measurement of the signal to be measured is completely digital. Therefore, it is very convenient to deploy a dynamically adjusted threshold on a time measurement circuit based on an analog-to-digital converter.
  • the time measurement circuit based on a single analog-to-digital converter has a sampling frequency of the analog-to-digital converter that is much higher than twice the signal Nyquist frequency and much higher than the frequency required to meet the baseline sampling accuracy.
  • the power consumption of the analog-to-digital converter is positively related to the sampling frequency. Therefore, in order to achieve the same time measurement accuracy, the analog-to-digital converter time measurement method alone needs to consume more power, which is not suitable for the application of compact equipment.
  • the invention combines the advantages of low power consumption of the TDC time measurement circuit, and realizes a dynamic threshold circuit that can be dynamically calibrated.
  • the present invention can monitor the baseline state and the noise level, dynamically adjust the trigger threshold, and realize the dynamic calibration of the threshold at the same time, which reduces the amplitude requirement of the signal to be measured.
  • this method is more suitable for compact, power-constrained measurement equipment such as Lidar due to lower power consumption.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

A dynamic threshold timing circuit (100), comprising: a comparator (101) having a first input terminal, a second input terminal and an output terminal, the first input terminal being capable of receiving an external input signal, and the second input terminal being capable of receiving a detection threshold; a time-to-digital converter (102) which is coupled with an output end of the comparator (101) so as to obtain time information of an output signal of the comparator (101); and a controller (103) which is configured to be capable of receiving an external input signal, generating a detection threshold according to the external input signal, and providing the detection threshold for a second input end of the comparator (101), wherein the detection threshold is related to noise in the external input signal.

Description

动态阈值定时电路、激光雷达、以及获取时间信息的方法Dynamic threshold timing circuit, lidar, and method for acquiring time information 技术领域Technical field
本发明大致涉及电路技术领域,尤其涉及一种动态阈值定时电路、包括其的激光雷达以及用于采集外部输入信号的时间信息的方法。The present invention generally relates to the field of circuit technology, and more particularly to a dynamic threshold timing circuit, a laser radar including the same, and a method for collecting time information of an external input signal.
背景技术Background technique
时间数字转换器(Time-to-Digital Converter,TDC)是一种将时间信息数字化的测量器件或设备,定时电路是提取待测模拟信号中的时间信息的电路。一个携带时间信息的模拟信号无法直接作为TDC的输入,需要由定时电路将信号中的时间信息提取出来,输出携带时间信息的时间信号,送入TDC。时间信息通常是由电平跳变的信号沿携带的。TDC的输出仅为所测时间信号的数字量化结果,而得不到除时间信息外的其他如幅度、波形等信息。Time-to-Digital Converter (TDC) is a measuring device or equipment that digitizes time information, and a timing circuit is a circuit that extracts time information from an analog signal to be measured. An analog signal carrying time information cannot be directly used as the input of TDC. A timing circuit needs to extract the time information from the signal, output the time signal carrying time information, and send it to TDC. Time information is usually carried by the signal edge of the level transition. The output of the TDC is only the digital quantization result of the measured time signal, and other information such as amplitude and waveform other than the time information cannot be obtained.
常见的定时电路,如前沿定时电路,主要由比较器和阈值产生电路构成,通过比较器获取待测信号的过阈时间信息。因为定时电路仅关注待测信号在阈值电压附近的情况,无法对基线进行监控,导致定时电路缺乏对基线状态(基线值由电路本身决定,会随温度发生漂移)的掌握。对于高信噪比的应用来说,这不会造成麻烦,但是在较低信噪比的应用中,例如激光雷达(Lidar)的测远应用中,不能掌握基线位置和噪声大小,会使定时电路失去参考,要么无法探测到待测信号,要么会产生噪声触发。Common timing circuits, such as leading edge timing circuits, are mainly composed of a comparator and a threshold value generating circuit, and the threshold time information of the signal to be measured is obtained through the comparator. Because the timing circuit only pays attention to the condition of the signal to be measured near the threshold voltage, it is unable to monitor the baseline, resulting in the timing circuit's lack of grasp of the baseline state (the baseline value is determined by the circuit itself and will drift with temperature). For applications with high signal-to-noise ratio, this will not cause trouble, but in applications with lower signal-to-noise ratio, such as lidar (Lidar) telemetry applications, the baseline position and noise level cannot be grasped, which will cause timing If the circuit loses its reference, the signal under test cannot be detected, or a noise trigger will be generated.
为了获取基线状态,有方法使用具有多个阈值的定时电路,排除待测信号基线噪声的影响。但是由于没有基线的全波形信息,无法获得具体的基线状态,而仅能从不同阈值的触发规律中推测阈值与基线的相对位置,推测噪声大小。因此这种方法不够直观,也不能从原理上区分噪声与信号。In order to obtain the baseline status, there are methods to use a timing circuit with multiple thresholds to eliminate the influence of the baseline noise of the signal under test. However, because there is no full waveform information of the baseline, a specific baseline state cannot be obtained, and the relative position of the threshold and the baseline can only be estimated from the triggering laws of different thresholds, and the magnitude of the noise can be estimated. Therefore, this method is not intuitive enough, nor can it distinguish between noise and signal in principle.
使用模拟数字转换器(Analog-to-Digital Converter,ADC)对待测信号进行时间测量是避免该技术问题的主要方法。ADC能够采样获得待测信号的全波形,其中包含了基线信息。因此基于ADC的时间测量方法可以使用数字 动态阈值法,在消除噪声影响同时,测量小信号的时间信息。但是由于ADC的时间测量原理,其时间测量精度与待测信号沿上的采样点数相关,因此对于高速信号来说,为了得到精确的时间信息,则需要超高采样率的ADC。对于Lidar等应用来说,对于高速信号的测量是必须的。例如,若待测信号的上升时间为8ns,为了保证待测信号沿有至少4个采样点,则需要ADC的采样频率为500MHz(而若根据采样定律确定采样率,对于上升时间为8ns的信号,仅需要80MHz的采样率就够了。激光雷达需要得到更精确的时间测量,ADC的采样率要比一般应用高数倍),采样率的提高也同时大大增加了电路功耗。电路功耗的增加通常会导致发热量大,对于激光雷达应用,由于在较小的空间内集聚了大量的器件,器件发热量的增加对于系统运行极为不利。Using an analog-to-digital converter (ADC) to measure the time of the signal under test is the main method to avoid this technical problem. ADC can sample to obtain the full waveform of the signal under test, which contains baseline information. Therefore, the ADC-based time measurement method can use the digital dynamic threshold method to measure the time information of the small signal while eliminating the influence of noise. However, due to the time measurement principle of the ADC, its time measurement accuracy is related to the number of sampling points on the edge of the signal to be measured. Therefore, for high-speed signals, in order to obtain accurate time information, an ADC with an ultra-high sampling rate is required. For applications such as Lidar, it is necessary to measure high-speed signals. For example, if the rise time of the signal to be measured is 8ns, in order to ensure that there are at least 4 sampling points along the edge of the signal to be measured, the sampling frequency of the ADC is required to be 500MHz (and if the sampling rate is determined according to the sampling law, for a signal with a rise time of 8ns , Only a sampling rate of 80MHz is enough. Lidar needs to get more accurate time measurement, and the sampling rate of ADC is several times higher than that of general applications. The increase in sampling rate also greatly increases the power consumption of the circuit. The increase in circuit power consumption usually results in a large amount of heat. For lidar applications, because a large number of devices are gathered in a small space, the increase in device heat is extremely detrimental to the operation of the system.
背景技术部分的内容仅仅是发明人所知晓的技术,并不当然代表本领域的现有技术。The content of the background technology is only the technology known to the inventor, and does not of course represent the existing technology in this field.
发明内容Summary of the invention
有鉴于现有技术的至少一个缺陷,本发明提供一种动态阈值定时电路,包括:In view of at least one defect of the prior art, the present invention provides a dynamic threshold timing circuit, including:
比较器,所述比较器具有第一输入端、第二输入端和输出端,所述第一输入端适于接收外部输入信号,所述第二输入端适于接收探测阈值;A comparator, the comparator having a first input terminal, a second input terminal and an output terminal, the first input terminal is adapted to receive an external input signal, and the second input terminal is adapted to receive a detection threshold;
时间数字转换器,所述时间数字转换器与所述比较器的输出端耦接,以获取所述比较器的输出信号的时间信息;A time-to-digital converter, the time-to-digital converter is coupled to the output terminal of the comparator to obtain time information of the output signal of the comparator;
控制器,所述控制器配置成可接收所述外部输入信号,根据所述外部输入信号生成所述探测阈值并向所述比较器的第二输入端提供所述探测阈值,其中所述探测阈值与所述外部输入信号中的噪声相关。A controller configured to receive the external input signal, generate the detection threshold value according to the external input signal, and provide the detection threshold value to a second input terminal of the comparator, wherein the detection threshold value It is related to the noise in the external input signal.
根据本发明的一个方面,所述的动态阈值定时电路,还包括模数转换器,所述模数转换器耦接到所述控制器,所述外部输入信号经所述模数转换器进行转换后,被提供给所述控制器。According to one aspect of the present invention, the dynamic threshold timing circuit further includes an analog-to-digital converter, the analog-to-digital converter is coupled to the controller, and the external input signal is converted by the analog-to-digital converter After that, it is provided to the controller.
根据本发明的一个方面,所述控制器配置成通过以下方式生成所述探测阈值:According to an aspect of the present invention, the controller is configured to generate the detection threshold in the following manner:
获得所述外部输入信号中的噪声数据;Obtaining noise data in the external input signal;
获得所述噪声数据的均值V baseObtaining the mean value V base of the noise data;
获得表征所述噪声数据的离散度的参数σ base;和 Obtain the parameter σ base that characterizes the dispersion of the noise data; and
根据所述均值V base与所述参数σ base,确定所述探测阈值。 Determine the detection threshold according to the average value V base and the parameter σ base.
根据本发明的一个方面,所述参数σ base为所述噪声数据的标准差,所述探测阈值为(V base+n*σ base),其中n为正整数。 According to an aspect of the present invention, the parameter σ base is the standard deviation of the noise data, and the detection threshold is (V base +n*σ base ), where n is a positive integer.
根据本发明的一个方面,所述的动态阈值定时电路还包括数模转换器,所述数模转换器的输入端与所述控制器耦合,并接收所述探测阈值,所述数模转换器的输出端与所述比较器的第二输入端耦接,将所述探测阈值进行数模转换后提供给所述比较器的第二输入端。According to one aspect of the present invention, the dynamic threshold timing circuit further includes a digital-to-analog converter, the input of the digital-to-analog converter is coupled to the controller and receives the detection threshold, the digital-to-analog converter The output terminal of is coupled to the second input terminal of the comparator, and the detection threshold is digital-to-analog converted and then provided to the second input terminal of the comparator.
根据本发明的一个方面,所述模数转换器的采样频率小于等于100MHz。According to an aspect of the present invention, the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
根据本发明的一个方面,所述的动态阈值定时电路还包括选择开关,所述选择开关具有第一位置和第二位置,当位于第一位置时,所述选择开关使得所述外部输入信号被耦接到所述模数转换器的输入端,所述模数转换器的输入端与所述数模转换器的输出端断开;当位于第二位置时,所述选择开关使得所述外部输入信号与所述模数转换器的输入端断开,所述模数转换器的输入端耦接到所述数模转换器的输出端。According to an aspect of the present invention, the dynamic threshold timing circuit further includes a selection switch, the selection switch has a first position and a second position, when in the first position, the selection switch causes the external input signal to be Is coupled to the input terminal of the analog-to-digital converter, and the input terminal of the analog-to-digital converter is disconnected from the output terminal of the digital-to-analog converter; when in the second position, the selection switch enables the external The input signal is disconnected from the input terminal of the analog-to-digital converter, and the input terminal of the analog-to-digital converter is coupled to the output terminal of the digital-to-analog converter.
根据本发明的一个方面,所述控制器配置成当所述选择开关位于所述第二位置时,利用所述模数转换器对所述数模转换器的输出进行采样,校准所述探测阈值。According to an aspect of the present invention, the controller is configured to use the analog-to-digital converter to sample the output of the digital-to-analog converter when the selector switch is in the second position, and to calibrate the detection threshold .
根据本发明的一个方面,所述控制器通过如下方式校准所述探测阈值:According to an aspect of the present invention, the controller calibrates the detection threshold in the following manner:
控制所述数模转换器输出第一探测阈值DAC_1,通过所述模数转换器对所述第一探测阈值进行采样,获得第一探测阈值测量值ADC_1;Controlling the digital-to-analog converter to output a first detection threshold DAC_1, and sampling the first detection threshold through the analog-to-digital converter to obtain a first detection threshold measurement value ADC_1;
控制所述数模转换器输出第二探测阈值DAC_2,通过所述模数转换器对所述第二探测阈值进行采样,获得第二探测阈值测量值ADC_2;Controlling the digital-to-analog converter to output a second detection threshold DAC_2, and sampling the second detection threshold through the analog-to-digital converter to obtain a second detection threshold measurement ADC_2;
设置输入所述数模转换器的探测阈值为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。 The detection threshold input to the digital-to-analog converter is set to be (V base +n*σ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
根据本发明的一个方面,所述的动态阈值定时电路还包括放大器,所述放大器的输入端可接收所述外部输入信号,输出端耦接到所述比较器的第一输入端和所述模数转换器,从而所述外部输入信号经所述放大器放大,放大后的外部输入信号被提供给所述比较器的第一输入端,所述放大后的外部输入信号经所述模数转换器进行转换后,被提供给所述控制器。According to one aspect of the present invention, the dynamic threshold timing circuit further includes an amplifier whose input terminal can receive the external input signal, and the output terminal is coupled to the first input terminal of the comparator and the analog signal. Digital converter, so that the external input signal is amplified by the amplifier, the amplified external input signal is provided to the first input terminal of the comparator, and the amplified external input signal is passed through the analog-to-digital converter After conversion, it is provided to the controller.
本发明还提供一种激光雷达,包括光电探测器以及如上所述的动态阈值定时电路;The present invention also provides a laser radar, including a photodetector and the above-mentioned dynamic threshold timing circuit;
所述光电探测器,适于接收被障碍物反射的探测回波;The photodetector is suitable for receiving detection echoes reflected by obstacles;
所述动态阈值定时电路与所述光电探测器耦接,适于接收所述光电探测器输出的信号,作为所述外部输入信号。The dynamic threshold timing circuit is coupled to the photodetector and is adapted to receive the signal output by the photodetector as the external input signal.
根据本发明的一个方面,所述的激光雷达还包括发射器件,其中所述发射器件,适于发射激光脉冲;According to an aspect of the present invention, the lidar further includes a transmitting device, wherein the transmitting device is adapted to emit laser pulses;
所述控制器与所述发射器件耦接,所述控制器适于获知所述发射器件发射激光脉冲的时间信息,并基于所述激光脉冲发射的时间信息和所述光电探测器接收的回波的时间信息,计算激光雷达与外部障碍物间的距离。The controller is coupled to the emitting device, and the controller is adapted to learn the time information of the laser pulse emitted by the emitting device, and based on the time information of the laser pulse emission and the echo received by the photodetector Time information, calculate the distance between the lidar and external obstacles.
本发明还提供一种用于采集外部输入信号的时间信息的方法,包括:The present invention also provides a method for collecting time information of external input signals, including:
根据外部输入信号生成探测阈值,其中所述探测阈值与所述外部输入信号中的噪声相关;Generating a detection threshold value according to an external input signal, wherein the detection threshold value is related to noise in the external input signal;
将所述外部输入信号与所述探测阈值进行比较,产生输出信号;Comparing the external input signal with the detection threshold to generate an output signal;
获得所述输出信号的时间信息。Obtain the time information of the output signal.
根据本发明的一个方面,所述方法还包括:将所述外部输入信号进行模数转换。According to an aspect of the present invention, the method further includes: performing analog-to-digital conversion on the external input signal.
根据本发明的一个方面,通过以下方式生成所述探测阈值:According to an aspect of the present invention, the detection threshold is generated in the following manner:
获得所述外部输入信号中的噪声数据;Obtaining noise data in the external input signal;
获得所述噪声数据的均值V baseObtaining the mean value V base of the noise data;
获得表征所述外部输入信号的噪声数据的离散度的参数σ base;和 Obtain the parameter σ base that characterizes the dispersion of the noise data of the external input signal; and
根据所述均值V base与所述参数σ base,确定所述探测阈值。 Determine the detection threshold according to the average value V base and the parameter σ base.
根据本发明的一个方面,所述参数σbase为所述噪声数据的标准差,所述探测阈值为(V base+n*σ base),其中n为正整数。 According to an aspect of the present invention, the parameter σbase is the standard deviation of the noise data, and the detection threshold is (V base +n*σ base ), where n is a positive integer.
根据本发明的一个方面,所述的方法还包括:通过数模转换器将所述探测阈值进行数模转换后提供给所述比较器。According to an aspect of the present invention, the method further includes: performing digital-to-analog conversion of the detection threshold through a digital-to-analog converter and then providing the detection threshold to the comparator.
根据本发明的一个方面,所述模数转换器的采样频率小于等于100MHz。According to an aspect of the present invention, the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
根据本发明的一个方面,所述的方法还包括:利用所述模数转换器对所述数模转换器的输出进行采样,校准所述探测阈值。According to an aspect of the present invention, the method further includes: sampling the output of the digital-to-analog converter by the analog-to-digital converter, and calibrating the detection threshold.
根据本发明的一个方面,通过如下方式校准所述探测阈值:According to one aspect of the present invention, the detection threshold is calibrated in the following manner:
控制所述数模转换器输出第一探测阈值DAC_1,通过所述模数转换器对所述第一探测阈值进行采样,获得第一探测阈值测量值ADC_1;Controlling the digital-to-analog converter to output a first detection threshold DAC_1, and sampling the first detection threshold through the analog-to-digital converter to obtain a first detection threshold measurement value ADC_1;
控制所述数模转换器输出第二探测阈值DAC_2,通过所述模数转换器对所述第二探测阈值进行采样,获得第二探测阈值测量值ADC_2;Controlling the digital-to-analog converter to output a second detection threshold DAC_2, and sampling the second detection threshold through the analog-to-digital converter to obtain a second detection threshold measurement ADC_2;
设置输入所述数模转换器的探测阈值为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。 The detection threshold input to the digital-to-analog converter is set to be (V base +n*σ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
根据本发明的一个方面,所述的方法还包括:将所述外部输入信号进行放大,According to an aspect of the present invention, the method further includes: amplifying the external input signal,
其中所述根据外部输入信号生成探测阈值的步骤包括:通过模数转换器,将经过放大的所述外部输入信号进行模数转换;The step of generating a detection threshold value according to an external input signal includes: performing an analog-to-digital conversion on the amplified external input signal through an analog-to-digital converter;
所述将所述外部输入信号与探测阈值进行比较的步骤包括:将经放大的所述外部输入信号与所述探测阈值进行比较。The step of comparing the external input signal with a detection threshold includes: comparing the amplified external input signal with the detection threshold.
本发明的实施例结合了TDC时间测量电路功耗低的优点,又实现了可以动态校准的动态阈值电路。相比于固定阈值的TDC时间测量电路,本发明可以监控基线状态,动态调整触发阈值,同时实现阈值的动态校准,降低了对待测信号的幅度要求。相比ADC时间测量方法,得益于更低的功耗,本方法 更适用于如Lidar的紧凑型、功耗限制型测量设备。The embodiment of the present invention combines the advantages of low power consumption of the TDC time measurement circuit, and realizes a dynamic threshold circuit that can be dynamically calibrated. Compared with the TDC time measurement circuit with a fixed threshold, the present invention can monitor the baseline state, dynamically adjust the trigger threshold, and simultaneously realize the dynamic calibration of the threshold, which reduces the amplitude requirement of the signal to be measured. Compared with the ADC time measurement method, this method is more suitable for compact, power-constrained measurement equipment such as Lidar due to its lower power consumption.
附图说明Description of the drawings
构成本发明的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings constituting a part of the present invention are used to provide a further understanding of the present invention, and the exemplary embodiments of the present invention and the description thereof are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1示出了根据本发明一个实施例的动态阈值定时电路;Figure 1 shows a dynamic threshold timing circuit according to an embodiment of the present invention;
图2示出了根据本发明的优选实施例的动态阈值定时电路;Figure 2 shows a dynamic threshold timing circuit according to a preferred embodiment of the present invention;
图3示出了典型的包括信号波形数据和噪声数据的外部输入信号;Figure 3 shows a typical external input signal including signal waveform data and noise data;
图4示出了根据本发明的优选实施例的动态阈值定时电路;和Figure 4 shows a dynamic threshold timing circuit according to a preferred embodiment of the present invention; and
图5示出了根据本发明一个实施例的用于采集外部输入信号的时间信息的方法。Fig. 5 shows a method for collecting time information of an external input signal according to an embodiment of the present invention.
具体实施方式Detailed ways
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本发明的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。In the following, only certain exemplary embodiments are briefly described. As those skilled in the art can realize, the described embodiments may be modified in various different ways without departing from the spirit or scope of the present invention. Therefore, the drawings and description are to be regarded as illustrative in nature and not restrictive.
在本发明的描述中,需要理解的是,术语"中心"、"纵向"、"横向"、"长度"、"宽度"、"厚度"、"上"、"下"、"前"、"后"、"左"、"右"、"坚直"、"水平"、"顶"、"底"、"内"、"外"、"顺时针"、"逆时针"等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语"第一"、"第二"仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所 指示的技术特征的数量。由此,限定有"第一"、"第二"的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的描述中,"多个"的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " "Back", "Left", "Right", "Straight", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Clockwise", "Counterclockwise" and other directions or The positional relationship is based on the position or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the pointed device or element must have a specific orientation, be constructed and operated in a specific orientation, Therefore, it cannot be understood as a limitation to the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more than two, unless otherwise specifically defined.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语"安装"、"相连"、"连接"应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接:可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. Connected or integrally connected: It can be mechanically connected, or electrically connected or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication of two components or the interaction of two components relationship. For those of ordinary skill in the art, the specific meanings of the above-mentioned terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征之"上"或之"下"可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征"之上"、"上方"和"上面"包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征"之下"、"下方"和"下面"包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise clearly defined and defined, the first feature "on" or "under" the second feature may include the first and second features in direct contact, or may include the first and second features Not in direct contact but through other features between them. Moreover, the "above", "above" and "above" of the first feature on the second feature include the first feature directly above and obliquely above the second feature, or it simply means that the first feature is higher in level than the second feature. The “below”, “below” and “below” of the first feature of the second feature include the first feature directly above and obliquely above the second feature, or it simply means that the level of the first feature is smaller than the second feature.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are only examples, and are not intended to limit the invention. In addition, the present invention may repeat reference numerals and/or reference letters in different examples. Such repetition is for the purpose of simplification and clarity, and does not indicate the relationship between the various embodiments and/or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but those of ordinary skill in the art may be aware of the application of other processes and/or the use of other materials.
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not used to limit the present invention.
图1示出了根据本发明一个实施例的动态阈值定时电路100,下面参考图1详细描述。FIG. 1 shows a dynamic threshold timing circuit 100 according to an embodiment of the present invention, which will be described in detail below with reference to FIG. 1.
如图1所示,动态阈值定时电路100包括比较器101、时间数字转换器102以及控制器103。其中,比较器101具有第一输入端(如图1中比较器101的同向输入端+)、第二输入端(如图1中比较器101的反向输入端-)和输出端。其中,所述第一输入端可接收外部输入信号,外部输入信号例如可以是激光雷达的光电探测器(诸如雪崩光电二极管APD)输出的信号,动态阈值定时电路100即可用于获得所述外部输入信号的时间信息;所述第二输入端可接收探测阈值。根据本发明的一个实施例,当所述外部输入信号高于所述探测阈值时,所述比较器101的输出端输出高电平;当所述外部输入信号低于所述探测阈值时,所述比较器101的输出端输出低电平。本领域技术人员容易理解,相反的设置也是可行的。As shown in FIG. 1, the dynamic threshold timing circuit 100 includes a comparator 101, a time-to-digital converter 102 and a controller 103. Wherein, the comparator 101 has a first input terminal (as shown in Fig. 1 in the same direction input terminal +), a second input terminal (as shown in Fig. 1 the inverting input terminal of the comparator 101 -) and an output terminal. Wherein, the first input terminal can receive an external input signal. The external input signal can be, for example, a signal output by a photodetector of a lidar (such as an avalanche photodiode APD). The dynamic threshold timing circuit 100 can be used to obtain the external input. The time information of the signal; the second input can receive the detection threshold. According to an embodiment of the present invention, when the external input signal is higher than the detection threshold, the output terminal of the comparator 101 outputs a high level; when the external input signal is lower than the detection threshold, the output The output terminal of the comparator 101 outputs a low level. Those skilled in the art can easily understand that the opposite arrangement is also feasible.
所述时间数字转换器102与所述比较器101的输出端耦接,以获取所述比较器输出的定时信号的时间信息。所述比较器101输出的信号中,在高电平和低电平跃变的过程中,携带了时间信息。所述时间数字转换器102可获得高低电平跃变的时间点,即可获得数字化的时间信息,并将所述数字化的时间信息输出,例如传递给控制器103。控制器103例如基于激光脉冲发射的时间信息和所述光电探测器接收的回波(即外部输入信号)的时间信息,利用飞行时间法(TOF)计算激光雷达与外部障碍物间的距离。The time-to-digital converter 102 is coupled to the output terminal of the comparator 101 to obtain time information of the timing signal output by the comparator. The signal output by the comparator 101 carries time information during the high-level and low-level transitions. The time-to-digital converter 102 can obtain the time point of the high and low level transition, that is, obtain the digitized time information, and output the digitized time information, for example, to the controller 103. The controller 103 calculates the distance between the lidar and the external obstacle by using the time-of-flight method (TOF), for example, based on the time information of laser pulse emission and the time information of the echo (ie, external input signal) received by the photodetector.
控制器103配置成可接收所述外部输入信号,根据所述外部输入信号生成所述探测阈值并向所述比较器101的第二输入端提供所述探测阈值。如图1所示,外部输入信号除了被送入所述比较器101的第一输入端以外,还被送入所述控制器103的第一端口1031,控制器103根据所述外部输入信号生成探测阈值,并通过第二端口1032将该探测阈值提供给比较器101的第二输入端。The controller 103 is configured to receive the external input signal, generate the detection threshold value according to the external input signal, and provide the detection threshold value to the second input terminal of the comparator 101. As shown in Figure 1, in addition to being sent to the first input terminal of the comparator 101, the external input signal is also sent to the first port 1031 of the controller 103, and the controller 103 generates according to the external input signal. The detection threshold is detected, and the detection threshold is provided to the second input terminal of the comparator 101 through the second port 1032.
本发明中,所述探测阈值与所述外部输入信号中的噪声相关,例如与所述噪声数据的均值、噪声数据的离散度等参数相关。通过这样的方式,可以 在电路工作过程中动态地调节所述探测阈值,使得比较器的比较阈值根据外部输入信号中噪声而动态地调节,因此即使在较低信噪比的应用中,例如激光雷达(Lidar)的测远应用中,也不会造成噪声误触发,从而能够精确地获得微小信号的时间信息。In the present invention, the detection threshold is related to the noise in the external input signal, for example, is related to the mean value of the noise data, the dispersion degree of the noise data, and other parameters. In this way, the detection threshold can be dynamically adjusted during the operation of the circuit, so that the comparison threshold of the comparator is dynamically adjusted according to the noise in the external input signal, so even in applications with a lower signal-to-noise ratio, such as lasers In the distance measurement application of radar (Lidar), it will not cause false triggering of noise, so that the time information of the tiny signal can be obtained accurately.
图2示出了根据本发明一个优选实施例的动态阈值定时电路100的电路示意图。下面参考图2详细描述。Fig. 2 shows a schematic circuit diagram of a dynamic threshold timing circuit 100 according to a preferred embodiment of the present invention. This is described in detail below with reference to FIG. 2.
如图2所示,根据本发明一个优选实施例,动态阈值定时电路100还包模数转换器(ADC)104。如图2所示,所述外部输入信号还耦接到所述模数转换器104的输入端,所述模数转换器104的输出端耦接到所述控制器103的第一端口1031,因此,所述外部输入信号经过所述模数转换器104进行模数转换后,被提供给所述控制器103。As shown in FIG. 2, according to a preferred embodiment of the present invention, the dynamic threshold timing circuit 100 further includes an analog-to-digital converter (ADC) 104. As shown in FIG. 2, the external input signal is also coupled to the input terminal of the analog-to-digital converter 104, and the output terminal of the analog-to-digital converter 104 is coupled to the first port 1031 of the controller 103, Therefore, the external input signal is provided to the controller 103 after the analog-to-digital converter 104 performs analog-to-digital conversion.
如上所述,所述探测阈值与所述外部输入信号中的噪声相关。下面描述根据本发明一个优选实施例的获得探测阈值的方法。As described above, the detection threshold is related to the noise in the external input signal. The method for obtaining the detection threshold according to a preferred embodiment of the present invention is described below.
所述控制器103在接收到所述外部输入信号后,可以通过以下方式生成所述探测阈值:After receiving the external input signal, the controller 103 may generate the detection threshold in the following manner:
步骤1:获得所述外部输入信号中的噪声数据。控制器103接收到所述模数转换器104的采样数据后,可以去除采样数据中的信号波形数据(比如利用先验的预设阈值,供去除信号波形数据使用),仅保留外部输入信号中的噪声数据。Step 1: Obtain noise data in the external input signal. After the controller 103 receives the sampled data of the analog-to-digital converter 104, it can remove the signal waveform data in the sampled data (for example, using a priori preset threshold for removing the signal waveform data), and only keep the external input signal Noise data.
图3是典型的包括信号波形和噪声的外部输入信号,横轴是时间、纵轴是幅值,通过模数转换器多次采样后进行相应计算,这个噪声称为基线噪声,它的均值即反映基线值,它的标准差即反映基线噪声强度。在去除采样数据中的信号波形数据时,可以根据预设阈值,去除外部输入信号中幅值高于该预设阈值的信号波形数据。该阈值也可以根据测量的场景而进行选定。例如当在白天进行测量时,该预设阈值可以设置的较高一些,以尽可能多的保留噪声数据;当在夜晚进行测量时,该预设阈值可以设置的较低一些,从而尽可能多地去除信号波形数据。另外,本发明中所称的“去除采样数据中的信 号波形数据”,并非是必须去除采样数据中的全部信号波形数据,也可以保留一些幅值较低(与噪声接近)的信号波形数据,这些都在本发明的保护范围内。步骤2:获得所述噪声数据的均值V base。在步骤1获得了噪声数据的基础上,例如对噪声数据数据进行平均,可以得到噪声数据的均值V baseFigure 3 is a typical external input signal including signal waveform and noise. The horizontal axis is time and the vertical axis is amplitude. The corresponding calculation is performed after multiple sampling by the analog-to-digital converter. This noise is called baseline noise, and its average value is Reflects the baseline value, and its standard deviation reflects the intensity of the baseline noise. When removing the signal waveform data in the sampled data, the signal waveform data of the external input signal whose amplitude is higher than the preset threshold can be removed according to the preset threshold. The threshold can also be selected according to the measured scene. For example, when the measurement is performed during the day, the preset threshold can be set to be higher to retain as much noise data as possible; when the measurement is performed at night, the preset threshold can be set to be lower, so that as much as possible Ground removal of signal waveform data. In addition, the “removal of the signal waveform data in the sampled data” in the present invention does not necessarily remove all the signal waveform data in the sampled data, and some signal waveform data with lower amplitude (close to noise) can also be retained. These are all within the protection scope of the present invention. Step 2: Obtain the mean value V base of the noise data. On the basis of the noise data obtained in step 1, for example, by averaging the noise data data, the mean value V base of the noise data can be obtained.
步骤3:获得表征所述噪声数据的离散度的参数σ base。在步骤1获得了噪声数据的基础上,获得能够表征其离散度的参数σ base,该参数例如可以为噪声数据的标准差。 Step 3: Obtain a parameter σ base that characterizes the dispersion of the noise data. On the basis of the noise data obtained in step 1, a parameter σ base that can characterize its dispersion is obtained, and the parameter may be, for example, the standard deviation of the noise data.
步骤4:根据所述均值V base与所述参数σ base,确定所述探测阈值。根据本发明的一个优选实施例,当该参数σ base为噪声数据的标准差时,所述探测阈值为V base+n*σ base,其中n为正整数。 Step 4: Determine the detection threshold according to the average value V base and the parameter σ base. According to a preferred embodiment of the present invention, when the parameter σ base is the standard deviation of the noise data, the detection threshold is V base +n*σ base , where n is a positive integer.
当测量信噪比较低的信号时,为了充分利用信噪比,控制器计算得到低噪声误触发概率的最低阈值。对于激光雷达的应用来说,在有光情景下,环境光噪声是主要噪声。环境光噪声是一种散粒噪声,符合泊松分布。当泊松分布的均值较高时,可以近似认为是高斯分布,其均值为λ,标准差
Figure PCTCN2020122659-appb-000001
因此可以根据高斯分布模型,获得噪声过阈概率与阈值电压的关系。假设为了实现噪声误触发概率低于p,需要将触发阈值设置为大于等于nσ(n的设定需要同时考虑激光雷达单脉冲/多脉冲发射等情况)。控制器于是可以计算出应设探测阈值为V base+n*σ base。控制器将计算结果提供给比较器,即可实现动态阈值的信号定时测量。
When measuring a signal with a low signal-to-noise ratio, in order to make full use of the signal-to-noise ratio, the controller calculates the lowest threshold of the low-noise false trigger probability. For lidar applications, ambient light noise is the main noise in light scenarios. Ambient light noise is a kind of shot noise, which conforms to the Poisson distribution. When the mean value of the Poisson distribution is high, it can be approximated as a Gaussian distribution, with the mean value λ and the standard deviation
Figure PCTCN2020122659-appb-000001
Therefore, the relationship between the probability of noise crossing and the threshold voltage can be obtained according to the Gaussian distribution model. Suppose that in order to realize that the false trigger probability of noise is lower than p, the trigger threshold needs to be set to be greater than or equal to nσ (the setting of n needs to consider the single pulse/multi-pulse transmission of lidar at the same time). The controller can then calculate that the detection threshold should be set to V base +n*σ base . The controller provides the calculation result to the comparator to realize the signal timing measurement of the dynamic threshold.
根据本发明的一个优选实施例,如图2所示,动态阈值定时电路100还包括数模转换器(DAC)105,所述数模转换器105的输入端与所述控制器103的第二端口1032耦合,并接收所述探测阈值,所述数模转换器105的输出端与所述比较器101的第二输入端耦接,将所述探测阈值进行数模转换后提供给所述比较器101的第二输入端。如上所述,控制器可以计算出应设探测阈值为V base+n*σ base。控制器将应设探测阈值的数字序列,作为数模转换器DAC的设置值,发送给数模转换器。数模转换器输出的阈值电压通过驱动器接入比较器,即可实现动态阈值的信号定时测量。 According to a preferred embodiment of the present invention, as shown in FIG. 2, the dynamic threshold timing circuit 100 further includes a digital-to-analog converter (DAC) 105. The input terminal of the digital-to-analog converter 105 and the second of the controller 103 The port 1032 is coupled to and receives the detection threshold, the output terminal of the digital-to-analog converter 105 is coupled to the second input terminal of the comparator 101, and the detection threshold is digital-to-analog converted and provided to the comparison The second input terminal of the 器101. As mentioned above, the controller can calculate that the detection threshold should be set to V base +n*σ base . The controller sends the digital sequence for which the detection threshold should be set as the setting value of the digital-to-analog converter DAC to the digital-to-analog converter. The threshold voltage output by the digital-to-analog converter is connected to the comparator through the driver, and the signal timing measurement of the dynamic threshold can be realized.
图2的实施例中,所述控制器103可以根据所述外部输入信号的噪声状况,动态地更新所述探测阈值,从而为比较器101提供比较的基准。In the embodiment of FIG. 2, the controller 103 can dynamically update the detection threshold according to the noise condition of the external input signal, so as to provide the comparator 101 with a reference for comparison.
在本发明的一个实施例中,所述模数转换器105可以以较低的采样率进行采样,例如其采样频率可以小于等于100MHz,远低于现有技术中所需要的500MHz,这对于诸如激光雷达这样的应用是极为有利的。假设外部输入信号的噪声符合高斯分布,均值为μ,标准差为σ,对其进行N次采样,得到的采样均值符合高斯分布,其均值也为μ,标准差为
Figure PCTCN2020122659-appb-000002
即对高斯随机数的采样数越高,其采样误差越小,采样均值越能体现真实的分布均值。当N>25时,可以近似认为采样标准差服从均值为σ,标准差为
Figure PCTCN2020122659-appb-000003
的高斯分布。由此可以计算,应该选择多大的采样数,以满足足够的基线均值和基线标准差测量精度。例如当采样数达到50时,均值测量误差为±28.3%σ(95.4%置信水平),标准差的测量误差为±20.1%(95.4%置信水平);当采样数达到100时,均值测量误差为±20%σ(95.4%置信水平),标准差的测量误差为±14.2%(95.4%置信水平)。因此50至100个采样可以达到相当的精度。假设一次测量时间为1us(一次测量ADC采样次数50-100次),可以选用50MHz至100MHz的ADC进行测量。,相比现有技术的500M的采样频率,频率显著降低,因此极大地降低了功耗。
In an embodiment of the present invention, the analog-to-digital converter 105 may perform sampling at a lower sampling rate, for example, its sampling frequency may be less than or equal to 100 MHz, which is much lower than the 500 MHz required in the prior art. Applications such as lidar are extremely advantageous. Assuming that the noise of the external input signal conforms to the Gaussian distribution, the mean value is μ, the standard deviation is σ, and it is sampled N times, the sampled mean value obtained conforms to the Gaussian distribution, the mean value is also μ, and the standard deviation is
Figure PCTCN2020122659-appb-000002
That is, the higher the sampling number of Gaussian random numbers, the smaller the sampling error, and the more the sampling mean can reflect the true distribution mean. When N>25, it can be approximately considered that the sampling standard deviation obeys the mean σ, and the standard deviation is
Figure PCTCN2020122659-appb-000003
Gaussian distribution. From this, it can be calculated how large the number of samples should be selected to meet sufficient baseline mean and baseline standard deviation measurement accuracy. For example, when the number of samples reaches 50, the mean measurement error is ±28.3%σ (95.4% confidence level), and the standard deviation measurement error is ±20.1% (95.4% confidence level); when the number of samples reaches 100, the mean measurement error is ±20%σ (95.4% confidence level), the measurement error of the standard deviation is ±14.2% (95.4% confidence level). So 50 to 100 samples can reach a considerable accuracy. Assuming that one measurement time is 1us (50-100 times of ADC sampling for one measurement), an ADC of 50MHz to 100MHz can be selected for measurement. Compared with the 500M sampling frequency of the prior art, the frequency is significantly reduced, thus greatly reducing power consumption.
图4示出了根据本发明一个优选实施例的动态阈值定时电路100。以下重点描述其与图2实施例的不同之处。Fig. 4 shows a dynamic threshold timing circuit 100 according to a preferred embodiment of the present invention. The following focuses on the differences from the embodiment in FIG. 2.
如图4所示,动态阈值定时电路100还包括选择开关106,例如为单刀双掷开关。选择开关106具有第一位置和第二位置,当位于第一位置时,选择开关106使得所述外部输入信号被耦接到所述模数转换器104的输入端,所述模数转换器104的输入端与所述数模转换器105的输出端断开;当位于第二位置时,所述选择开关106使得所述外部输入信号与所述模数转换器104的输入端断开,所述模数转换器104的输入端耦接到所述数模转换器105的输出端。图4中示出了选择开关106处于第一位置。当处于第一位置时,动 态阈值定时电路100的工作方式与图2所示的方案基本相同。虽然图中未示出,但本领域技术人员容易理解,所述选择开关106可以受到控制器103的控制,在第一位置和第二位置之间进行切换。另外,所述动态阈值定时电路100还包括ADC驱动器和DAC驱动器。数模转换器105接收到所述探测阈值后,进行数模转换,然后经DAC驱动器驱动后,送入比较器101的第二输入端,作为比较的基准。所述外部输入信号经ADC驱动器驱动后,提供给模数转换器104进行模数转换,然后提供给所述控制器103的第一端口1031。此处不再赘述。As shown in FIG. 4, the dynamic threshold timing circuit 100 further includes a selection switch 106, such as a single-pole double-throw switch. The selection switch 106 has a first position and a second position. When in the first position, the selection switch 106 enables the external input signal to be coupled to the input terminal of the analog-to-digital converter 104, and the analog-to-digital converter 104 The input terminal of the DAC is disconnected from the output terminal of the digital-to-analog converter 105; when in the second position, the selector switch 106 causes the external input signal to be disconnected from the input terminal of the analog-to-digital converter 104, so The input terminal of the analog-to-digital converter 104 is coupled to the output terminal of the digital-to-analog converter 105. The selector switch 106 is shown in the first position in FIG. 4. When in the first position, the working mode of the dynamic threshold timing circuit 100 is basically the same as the solution shown in FIG. 2. Although not shown in the figure, those skilled in the art can easily understand that the selection switch 106 can be controlled by the controller 103 to switch between the first position and the second position. In addition, the dynamic threshold timing circuit 100 further includes an ADC driver and a DAC driver. After receiving the detection threshold, the digital-to-analog converter 105 performs digital-to-analog conversion, and then, after being driven by the DAC driver, it is sent to the second input terminal of the comparator 101 as a reference for comparison. After the external input signal is driven by the ADC driver, it is provided to the analog-to-digital converter 104 for analog-to-digital conversion, and then is provided to the first port 1031 of the controller 103. I won't repeat them here.
本发明的发明人发现,由于ADC驱动器、DAC驱动器以及基线值等都具有一定的偏差和温漂,模数转换器104和数模转换器105的刻度具有不一致性,因此对探测阈值进行开环设置的话,探测阈值的准确性不能得到保证。图4的实施例的方案可以对探测阈值设置进行校准。如图4所示,当选择开关106处于第二位置时,将数模转换器105的输出端连接到模数转换器104的输入端,可以对数模转换器输出的所述探测阈值进行采样。由于阈值的噪声较小,因此可以用较少的采样数测得精确的阈值。校准过程如下:首先控制器控制所述数模转换器输出第一探测阈值DAC_1,之后在一个较短时间内,控制所述选择开关切换到第二位置,通过模数转换器104采集所述第一探测阈值的输出,得到第一探测阈值测量值ADC_1。到下一个阈值测量窗口时,控制器设置数模转换器105输出第二探测阈值DAC_2,同样的,通过模数转换器104回采,得到第二探测阈值测量值ADC_2。因此可以计算,当所测噪声数据的均值为V base,噪声的标准差为σ base时,控制器设置所述探测阈值应为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。如此在探测阈值被送入比较器前进行实时校准,即可消除因偏移量,温漂和刻度不一致导致的探测阈值设置偏差。 The inventor of the present invention found that because the ADC driver, DAC driver, and baseline values all have certain deviations and temperature drifts, the scales of the analog-to-digital converter 104 and the digital-to-analog converter 105 are inconsistent, so the detection threshold is opened loop If set, the accuracy of the detection threshold cannot be guaranteed. The solution of the embodiment of FIG. 4 can calibrate the detection threshold setting. As shown in FIG. 4, when the selector switch 106 is in the second position, the output terminal of the digital-to-analog converter 105 is connected to the input terminal of the analog-to-digital converter 104, and the detection threshold output by the digital-to-analog converter can be sampled. . Because the threshold has less noise, it is possible to measure an accurate threshold with a smaller number of samples. The calibration process is as follows: first, the controller controls the digital-to-analog converter to output the first detection threshold DAC_1, and then controls the selector switch to switch to the second position within a short period of time, and collects the first detection threshold through the analog-to-digital converter 104 A detection threshold is output, and the first detection threshold measurement value ADC_1 is obtained. When the next threshold measurement window is reached, the controller sets the digital-to-analog converter 105 to output the second detection threshold DAC_2, and similarly, the second detection threshold measurement ADC_2 is obtained through the analog-to-digital converter 104. Therefore, it can be calculated that when the mean value of the measured noise data is V base and the standard deviation of the noise is σ base , the detection threshold set by the controller should be (V base +n*σ base )*(DAC_2-DAC_1)/( ADC_2-ADC_1)+DAC_1. In this way, real-time calibration is performed before the detection threshold is sent to the comparator, which can eliminate the detection threshold setting deviation caused by offset, temperature drift and inconsistent scale.
因此,在图4实施例的方案中,控制器可以控制,当所述选择开关106位于所述第二位置时,利用所述模数转换器104对所述数模转换器105的输出进行采样,校准所述探测阈值。Therefore, in the solution of the embodiment in FIG. 4, the controller can control that when the selector switch 106 is in the second position, the analog-to-digital converter 104 is used to sample the output of the digital-to-analog converter 105 , Calibrate the detection threshold.
如图4所示,所述的动态阈值定时电路100还包括放大器104,用于放大所述外部输入信号。本领域技术人员容易理解,放大器104通常执行的是等比例放大,经放大后的外部输入信号,与原始的外部输入信号,仅幅值有所变化,仍然可认为是相同的信号。所述放大器104的输入端可接收所述外部输入信号,输出端耦接到后续电路,用于提供经放大的外部输入信号,例如提供给所述控制器。所述放大器104的输出端还耦接到所述比较器101的第一输入端。As shown in FIG. 4, the dynamic threshold timing circuit 100 further includes an amplifier 104 for amplifying the external input signal. Those skilled in the art can easily understand that the amplifier 104 usually performs equal-scale amplification. The amplified external input signal and the original external input signal only have a change in amplitude, and can still be regarded as the same signal. The input terminal of the amplifier 104 can receive the external input signal, and the output terminal is coupled to a subsequent circuit for providing an amplified external input signal, for example, to the controller. The output terminal of the amplifier 104 is also coupled to the first input terminal of the comparator 101.
另外,本领域技术人员容易理解,放大器104并非是动态阈值定时电路100所必须的电路元器件。例如当外部输入信号是电压信号并且强度适中时,可以省略放大器104。另外,根据本发明的一个优选实施例,如果所述外部输入信号是电流信号,例如光电探测器输出的电流信号,所述放大器104可以是跨阻放大器(TIA),从而将该电流信号转化为电压信号。In addition, those skilled in the art can easily understand that the amplifier 104 is not a necessary circuit component of the dynamic threshold timing circuit 100. For example, when the external input signal is a voltage signal and the intensity is moderate, the amplifier 104 can be omitted. In addition, according to a preferred embodiment of the present invention, if the external input signal is a current signal, such as a current signal output by a photodetector, the amplifier 104 may be a transimpedance amplifier (TIA), thereby converting the current signal into Voltage signal.
本发明还提供一种激光雷达,包括光电探测器以及图1、图2、图4所示的动态阈值定时电路100。其中所述光电探测器适于接收被障碍物反射的探测回波。所述动态阈值定时电路与所述光电探测器耦接,适于接收所述光电探测器输出的信号,作为所述外部输入信号。The present invention also provides a laser radar, including a photodetector and the dynamic threshold timing circuit 100 shown in FIG. 1, FIG. 2, and FIG. 4. The photodetector is suitable for receiving detection echoes reflected by obstacles. The dynamic threshold timing circuit is coupled to the photodetector and is adapted to receive the signal output by the photodetector as the external input signal.
另外,激光雷达还可包括适于发射激光脉冲的发射器件。所述控制器与所述发射器件耦接,所述控制器适于获知所述发射器件发射激光脉冲的时间信息,并基于所述激光脉冲发射的时间信息和所述光电探测器接收的回波的时间信息,计算激光雷达与外部障碍物间的距离。In addition, the lidar may also include a transmitting device suitable for emitting laser pulses. The controller is coupled to the emitting device, and the controller is adapted to learn the time information of the laser pulse emitted by the emitting device, and based on the time information of the laser pulse emission and the echo received by the photodetector Time information, calculate the distance between the lidar and external obstacles.
本发明还提供一种用于采集外部输入信号的时间信息的方法200,方法200例如可以通过图1、图2、图4所示的动态阈值定时电路100来实施。下面参考图5详细描述。The present invention also provides a method 200 for collecting time information of an external input signal. The method 200 can be implemented by, for example, the dynamic threshold timing circuit 100 shown in FIGS. 1, 2, and 4. This is described in detail below with reference to FIG. 5.
如图5所示,在步骤201:根据外部输入信号生成探测阈值,其中所述探测阈值与所述外部输入信号中的噪声相关。As shown in FIG. 5, in step 201: a detection threshold is generated according to an external input signal, where the detection threshold is related to noise in the external input signal.
例如可以通过以下方式生成所述探测阈值:获得所述外部输入信号中的噪声数据;获得所述噪声数据的均值V base;获得表征所述外部输入信号的噪 声数据的离散度的参数σ base;和根据所述均值V base与所述参数σ base,确定所述探测阈值。其中根据本发明的一个优选实施例,所述参数σ base为所述噪声数据的标准差,所述探测阈值为V base+n*σ base,其中n为正整数。 For example, the detection threshold may be generated in the following manner: obtaining the noise data in the external input signal; obtaining the mean value V base of the noise data; obtaining the parameter σ base representing the dispersion of the noise data of the external input signal; And determining the detection threshold according to the average value V base and the parameter σ base. According to a preferred embodiment of the present invention, the parameter σ base is the standard deviation of the noise data, and the detection threshold is V base +n*σ base , where n is a positive integer.
在步骤202:将所述外部输入信号与所述探测阈值进行比较,产生输出信号。利用比较器将外部输入信号与探测阈值进行比较后,可以产生高低电平的跃变,其中即包含有外部输入信号的时间信息。In step 202: compare the external input signal with the detection threshold to generate an output signal. After using a comparator to compare the external input signal with the detection threshold, a high and low level jump can be generated, which contains the time information of the external input signal.
在步骤203:获得所述输出信号的时间信息。At step 203: Obtain the time information of the output signal.
时间数字转换器可以根据所述高低脉冲的跃变,获得数字化的时间信息。The time-to-digital converter can obtain digitized time information according to the jump of the high and low pulses.
根据本发明的一个方面,所述方法还包括:通过模数转换器,将所述外部输入信号进行模数转换后,再用于生成所述探测阈值。尤其是在外部输入信号为模拟信号的情况下,经常需要首先将其进行模数转化,形成数字信号后,再用于生成探测阈值。According to an aspect of the present invention, the method further includes: performing analog-to-digital conversion of the external input signal through an analog-to-digital converter, and then using it to generate the detection threshold. Especially when the external input signal is an analog signal, it is often necessary to perform analog-to-digital conversion first to form a digital signal, and then use it to generate a detection threshold.
另外根据本发明的一个方面,所述的方法还包括:通过数模转换器将所述探测阈值进行数模转换后提供给所述比较器。In addition, according to an aspect of the present invention, the method further includes: performing digital-to-analog conversion of the detection threshold through a digital-to-analog converter and then providing the detection threshold to the comparator.
通过本发明的方法,可以使得所述模数转换器的采样频率小于等于100MHz,相比于现有技术的500MHz的采样频率,本发明中模数转换器的采样频率显著降低,因而其发热量和功耗也明显改善。With the method of the present invention, the sampling frequency of the analog-to-digital converter can be made less than or equal to 100MHz. Compared with the sampling frequency of 500MHz in the prior art, the sampling frequency of the analog-to-digital converter in the present invention is significantly reduced, so that the amount of heat is generated. And power consumption is also significantly improved.
根据本发明的一个方面,所述的方法还包括利用所述模数转换器对所述数模转换器的输出进行采样,校准所述探测阈值。例如可以通过如下方式校准所述探测阈值:According to one aspect of the present invention, the method further includes sampling the output of the digital-to-analog converter by the analog-to-digital converter, and calibrating the detection threshold. For example, the detection threshold can be calibrated in the following manner:
控制所述数模转换器输出第一探测阈值DAC_1,通过所述模数转换器对所述第一探测阈值进行采样,获得第一探测阈值测量值ADC_1;Controlling the digital-to-analog converter to output a first detection threshold DAC_1, and sampling the first detection threshold through the analog-to-digital converter to obtain a first detection threshold measurement value ADC_1;
控制所述数模转换器输出第二探测阈值DAC_2,通过所述模数转换器对所述第二探测阈值进行采样,获得第二探测阈值测量值ADC_2;Controlling the digital-to-analog converter to output a second detection threshold DAC_2, and sampling the second detection threshold through the analog-to-digital converter to obtain a second detection threshold measurement ADC_2;
设置输入所述数模转换器的探测阈值为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。 The detection threshold input to the digital-to-analog converter is set to be (V base +n*σ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
例外,在方法200中,可以首先将所述外部输入信号进行放大,在放大 之后,再用于生成探测阈值以及用于比较。因此根据外部输入信号生成探测阈值的步骤包括:通过模数转换器,将经过放大的所述外部输入信号进行模数转换;将所述外部输入信号与探测阈值进行比较的步骤包括:将经放大的所述外部输入信号与所述探测阈值进行比较。Exceptionally, in the method 200, the external input signal may be amplified first, and then used to generate the detection threshold and for comparison after the amplification. Therefore, the step of generating the detection threshold value according to the external input signal includes: performing analog-to-digital conversion of the amplified external input signal through an analog-to-digital converter; and the step of comparing the external input signal with the detection threshold value includes: The external input signal is compared with the detection threshold.
本发明的实施例解决了基于时间数字转换器的时间测量电路无法在消除噪声误触发的同时,测量微小信号的技术问题。The embodiment of the present invention solves the technical problem that the time measurement circuit based on the time-to-digital converter cannot measure the tiny signal while eliminating the false trigger of noise.
以基于雪崩光电二极管(APD)的Lidar应用为例。Lidar的光噪声强度不是一成不变的,探测器视场中的环境光功率越高,其环境光噪声越强。具体来说,环境光噪声的标准差可以近似计算为:i n=√2q×I DB×M 2×F×B。其中q为电子电荷量常数,I DB是APD的光电反应电流,M为APD的增益,F为额外噪声系数,B为系统带宽。进入APD光敏面的环境光强度越强,I DB越大,噪声越强。因此为了在任意环境中,噪声误触发概率都低于p,要么要将固定阈值设置为n×i n,max×G,其中n为使服从正态分布N(0,i n,max)的x满足P(x>ni n,max)<p的n值,i n,max为环境光能产生的最大光电反应电流,G为电路增益;要么使用动态阈值,使阈值被设置为n×i n×G,其中i n为任意时刻环境光在APD上产生的光电反应电流。两种方法中的前者,因为在低环境光工况时,也需要信号幅度过阈,才能实现探测,故将浪费低环境光工况中的主动发光能量,降低探测器的效率。主要存在的低环境光工况有两种:一种是环境光源功率低——如阴天或夜晚,另一种为目标物体反射率较低——如探测轮胎。特别地,当低环境光工况属于后者时,Lidar需要更多的能量才能使探测信号触发阈值,将增加更多的激光发射功耗。第二种动态阈值设置方法则可在噪声低时降低触发阈值,探测器信号幅度要求则相应地降低,避免了发射能量的浪费,提高了探测器效率。 Take the Lidar application based on avalanche photodiodes (APD) as an example. Lidar's light noise intensity is not static. The higher the ambient light power in the detector's field of view, the stronger the ambient light noise. Specifically, the standard deviation of ambient light noise can be approximately calculated as: i n =√2q×I DB ×M 2 ×F×B. Where q is the electron charge constant, I DB is the photoelectric reaction current of the APD, M is the gain of the APD, F is the additional noise figure, and B is the system bandwidth. The stronger the ambient light intensity entering the photosensitive surface of the APD, the larger the I DB and the stronger the noise. Therefore, in order for the false trigger probability of noise to be lower than p in any environment, the fixed threshold must be set to n×in ,max ×G, where n is the normal distribution N(0,in ,max ) x satisfies the n value of P(x>ni n,max )<p, i n,max is the maximum photoelectric reaction current generated by ambient light energy, and G is the circuit gain; or use a dynamic threshold, so that the threshold is set to n×i n × G, where i n is the photoelectric reaction current generated by ambient light on the APD at any time. In the former of the two methods, since the signal amplitude is also required to exceed the threshold in low ambient light conditions to achieve detection, it will waste active luminescence energy in low ambient light conditions and reduce the efficiency of the detector. There are two main low ambient light conditions: one is the low power of the ambient light source-such as cloudy or night, and the other is the low reflectivity of the target object-such as detecting tires. In particular, when the low ambient light conditions belong to the latter, Lidar needs more energy to make the detection signal trigger the threshold, which will increase the power consumption of laser emission. The second dynamic threshold setting method can lower the trigger threshold when the noise is low, and the detector signal amplitude requirement is reduced accordingly, which avoids the waste of emission energy and improves the efficiency of the detector.
由于模数转换器采集了待测信号全波形,基于模数转换器实现的时间测量电路对待测信号的时间测量是完全数字化的。因此在基于模数转换器的时间测量电路上部署动态调整的阈值是非常方便的。但如同前文中所描述,基 于单独模数转换器的时间测量电路,其模数转换器采样频率远高于两倍信号奈奎斯特频率,亦远高于满足基线采样精度所需频率。而模数转换器的功耗与采样频率正相关。因此为了实现相同的时间测量精度,单独采用模数转换器测时方法需要消耗更多功耗,不适于紧凑型设备的应用。Since the analog-to-digital converter collects the full waveform of the signal to be measured, the time measurement circuit based on the analog-to-digital converter realizes the time measurement of the signal to be measured is completely digital. Therefore, it is very convenient to deploy a dynamically adjusted threshold on a time measurement circuit based on an analog-to-digital converter. However, as described in the previous article, the time measurement circuit based on a single analog-to-digital converter has a sampling frequency of the analog-to-digital converter that is much higher than twice the signal Nyquist frequency and much higher than the frequency required to meet the baseline sampling accuracy. The power consumption of the analog-to-digital converter is positively related to the sampling frequency. Therefore, in order to achieve the same time measurement accuracy, the analog-to-digital converter time measurement method alone needs to consume more power, which is not suitable for the application of compact equipment.
本发明结合了TDC时间测量电路功耗低的优点,又实现了可以动态校准的动态阈值电路。相比于固定阈值的TDC时间测量电路,本发明可以监控基线状态和噪声大小,动态调整触发阈值,同时实现阈值的动态校准,降低了对待测信号的幅度要求。相比单独采用模数转换器的时间测量方法,得益于更低的功耗,本方法更适用于如Lidar的紧凑型、功耗限制型测量设备。The invention combines the advantages of low power consumption of the TDC time measurement circuit, and realizes a dynamic threshold circuit that can be dynamically calibrated. Compared with the TDC time measurement circuit with a fixed threshold, the present invention can monitor the baseline state and the noise level, dynamically adjust the trigger threshold, and realize the dynamic calibration of the threshold at the same time, which reduces the amplitude requirement of the signal to be measured. Compared with the time measurement method that uses the analog-to-digital converter alone, this method is more suitable for compact, power-constrained measurement equipment such as Lidar due to lower power consumption.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the present invention. Within the scope of protection.
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, it is still for those skilled in the art. The technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (20)

  1. 一种动态阈值定时电路,包括:A dynamic threshold timing circuit, including:
    比较器,所述比较器具有第一输入端、第二输入端和输出端,所述第一输入端适于接收外部输入信号,所述第二输入端适于接收探测阈值;A comparator, the comparator having a first input terminal, a second input terminal and an output terminal, the first input terminal is adapted to receive an external input signal, and the second input terminal is adapted to receive a detection threshold;
    时间数字转换器,所述时间数字转换器与所述比较器的输出端耦接,以获取所述比较器的输出信号的时间信息;A time-to-digital converter, the time-to-digital converter is coupled to the output terminal of the comparator to obtain time information of the output signal of the comparator;
    控制器,所述控制器配置成可接收所述外部输入信号,根据所述外部输入信号生成所述探测阈值并向所述比较器的第二输入端提供所述探测阈值,其中所述探测阈值与所述外部输入信号中的噪声相关。A controller configured to receive the external input signal, generate the detection threshold value according to the external input signal, and provide the detection threshold value to a second input terminal of the comparator, wherein the detection threshold value It is related to the noise in the external input signal.
  2. 根据权利要求1所述的动态阈值定时电路,还包括模数转换器,所述模数转换器耦接到所述控制器,所述外部输入信号经所述模数转换器进行转换后,被提供给所述控制器。The dynamic threshold timing circuit according to claim 1, further comprising an analog-to-digital converter, the analog-to-digital converter is coupled to the controller, and the external input signal is converted by the analog-to-digital converter and then Provided to the controller.
  3. 根据权利要求2所述的动态阈值定时电路,所述控制器配置成通过以下方式生成所述探测阈值:The dynamic threshold timing circuit according to claim 2, wherein the controller is configured to generate the detection threshold in the following manner:
    获得所述外部输入信号中的噪声数据;Obtaining noise data in the external input signal;
    获得所述噪声数据的均值V baseObtaining the mean value V base of the noise data;
    获得表征所述噪声数据的离散度的参数σ base;和 Obtain the parameter σ base that characterizes the dispersion of the noise data; and
    根据所述均值V base与所述参数σ base,确定所述探测阈值。 Determine the detection threshold according to the average value V base and the parameter σ base.
  4. 根据权利要求3所述的动态阈值定时电路,其中所述参数σ base为所述噪声数据的标准差,所述探测阈值为(V base+n*σ base),其中n为正整数。 The dynamic threshold timing circuit according to claim 3, wherein the parameter σ base is the standard deviation of the noise data, and the detection threshold is (V base +n*σ base ), where n is a positive integer.
  5. 根据权利要求2所述的动态阈值定时电路,还包括数模转换器,所述数模转换器的输入端与所述控制器耦合,并接收所述探测阈值,所述数模转换器的输出端与所述比较器的第二输入端耦接,将所述探测阈值进行数模转换后提供给所述比较器的第二输入端。The dynamic threshold timing circuit according to claim 2, further comprising a digital-to-analog converter, the input of the digital-to-analog converter is coupled with the controller, and the detection threshold is received, and the output of the digital-to-analog converter The terminal is coupled to the second input terminal of the comparator, and the detection threshold is digital-to-analog converted and then provided to the second input terminal of the comparator.
  6. 根据权利要求2所述的动态阈值定时电路,其中所述模数转换器的采样频率小于等于100MHz。The dynamic threshold timing circuit according to claim 2, wherein the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
  7. 根据权利要求5所述的动态阈值定时电路,还包括选择开关,所述选择开关具有第一位置和第二位置,当位于第一位置时,所述选择开关使得所述外部输入信号被耦接到所述模数转换器的输入端,所述模数转换器的输入端与所述数模转换器的输出端断开;当位于第二位置时,所述选择开关使得所述外部输入信号与所述模数转换器的输入端断开,所述模数转换器的输入端耦接到所述数模转换器的输出端。The dynamic threshold timing circuit according to claim 5, further comprising a selection switch, the selection switch has a first position and a second position, when in the first position, the selection switch enables the external input signal to be coupled To the input terminal of the analog-to-digital converter, the input terminal of the analog-to-digital converter is disconnected from the output terminal of the digital-to-analog converter; when in the second position, the selection switch makes the external input signal Disconnected from the input terminal of the analog-to-digital converter, and the input terminal of the analog-to-digital converter is coupled to the output terminal of the digital-to-analog converter.
  8. 根据权利要求7所述的动态阈值定时电路,其中所述控制器配置成当所述选择开关位于所述第二位置时,利用所述模数转换器对所述数模转换器的输出进行采样,校准所述探测阈值。The dynamic threshold timing circuit according to claim 7, wherein the controller is configured to use the analog-to-digital converter to sample the output of the digital-to-analog converter when the selector switch is in the second position , Calibrate the detection threshold.
  9. 根据权利要求8所述的动态阈值定时电路,其中所述控制器通过如下方式校准所述探测阈值:8. The dynamic threshold timing circuit according to claim 8, wherein the controller calibrates the detection threshold in the following manner:
    控制所述数模转换器输出第一探测阈值DAC_1,通过所述模数转换器对所述第一探测阈值进行采样,获得第一探测阈值测量值ADC_1;Controlling the digital-to-analog converter to output a first detection threshold DAC_1, and sampling the first detection threshold through the analog-to-digital converter to obtain a first detection threshold measurement value ADC_1;
    控制所述数模转换器输出第二探测阈值DAC_2,通过所述模数转换器对所述第二探测阈值进行采样,获得第二探测阈值测量值ADC_2;Controlling the digital-to-analog converter to output a second detection threshold DAC_2, and sampling the second detection threshold through the analog-to-digital converter to obtain a second detection threshold measurement ADC_2;
    设置输入所述数模转换器的探测阈值为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。 The detection threshold input to the digital-to-analog converter is set to be (V base +n*σ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
  10. 根据权利要求2-9中任一项所述的动态阈值定时电路,还包括放大器,所述放大器的输入端可接收所述外部输入信号,输出端耦接到所述比较器的第一输入端和所述模数转换器,从而所述外部输入信号经所述放大器放大,放大后的外部输入信号被提供给所述比较器的第一输入端,所述放大后 的外部输入信号经所述模数转换器进行转换后,被提供给所述控制器。The dynamic threshold timing circuit according to any one of claims 2-9, further comprising an amplifier, the input terminal of the amplifier can receive the external input signal, and the output terminal is coupled to the first input terminal of the comparator And the analog-to-digital converter, so that the external input signal is amplified by the amplifier, the amplified external input signal is provided to the first input terminal of the comparator, and the amplified external input signal is passed through the After conversion by the analog-to-digital converter, it is provided to the controller.
  11. 一种激光雷达,包括光电探测器以及如权利要求1-10中任一项所述的动态阈值定时电路;A laser radar, comprising a photodetector and the dynamic threshold timing circuit according to any one of claims 1-10;
    所述光电探测器,适于接收被障碍物反射的探测回波;The photodetector is suitable for receiving detection echoes reflected by obstacles;
    所述动态阈值定时电路与所述光电探测器耦接,适于接收所述光电探测器输出的信号,作为所述外部输入信号。The dynamic threshold timing circuit is coupled to the photodetector and is adapted to receive the signal output by the photodetector as the external input signal.
  12. 根据权利要求11所述的激光雷达,还包括发射器件,其中:The lidar according to claim 11, further comprising a transmitting device, wherein:
    所述发射器件,适于发射激光脉冲;The emitting device is suitable for emitting laser pulses;
    所述控制器与所述发射器件耦接,所述控制器适于获知所述发射器件发射激光脉冲的时间信息,并基于所述激光脉冲发射的时间信息和所述光电探测器接收的回波的时间信息,计算激光雷达与外部障碍物间的距离。The controller is coupled to the emitting device, and the controller is adapted to learn the time information of the laser pulse emitted by the emitting device, and based on the time information of the laser pulse emission and the echo received by the photodetector Time information, calculate the distance between the lidar and external obstacles.
  13. 一种用于采集外部输入信号的时间信息的方法,包括:A method for collecting time information of external input signals, including:
    根据外部输入信号生成探测阈值,其中所述探测阈值与所述外部输入信号中的噪声相关;Generating a detection threshold according to an external input signal, wherein the detection threshold is related to noise in the external input signal;
    将所述外部输入信号与所述探测阈值进行比较,产生输出信号;Comparing the external input signal with the detection threshold to generate an output signal;
    获得所述输出信号的时间信息。Obtain the time information of the output signal.
  14. 根据权利要求13所述的方法,还包括:将所述外部输入信号进行模数转换。The method according to claim 13, further comprising: performing analog-to-digital conversion on the external input signal.
  15. 根据权利要求14所述的方法,其中通过以下方式生成所述探测阈值:The method according to claim 14, wherein the detection threshold is generated in the following manner:
    获得所述外部输入信号中的噪声数据;Obtaining noise data in the external input signal;
    获得所述噪声数据的均值V baseObtaining the mean value V base of the noise data;
    获得表征所述外部输入信号的噪声数据的离散度的参数σ base;和 Obtain the parameter σ base that characterizes the dispersion of the noise data of the external input signal; and
    根据所述均值V base与所述参数σ base,确定所述探测阈值。 Determine the detection threshold according to the average value V base and the parameter σ base.
  16. 根据权利要求15所述的方法,其中所述参数σ base为所述噪声数据的标准差,所述探测阈值为(V base+n*σ base),其中n为正整数。 The method according to claim 15, wherein the parameter σ base is the standard deviation of the noise data, and the detection threshold is (V base +n*σ base ), where n is a positive integer.
  17. 根据权利要求14所述的方法,还包括:通过数模转换器将所述探测阈值进行数模转换后提供给所述比较器。The method according to claim 14, further comprising: performing digital-to-analog conversion of the detection threshold value through a digital-to-analog converter and then providing it to the comparator.
  18. 根据权利要求14所述的方法,其中所述模数转换器的采样频率小于等于100MHz。The method according to claim 14, wherein the sampling frequency of the analog-to-digital converter is less than or equal to 100 MHz.
  19. 根据权利要求17所述的方法,还包括:利用所述模数转换器对所述数模转换器的输出进行采样,校准所述探测阈值。The method according to claim 17, further comprising: sampling the output of the digital-to-analog converter with the analog-to-digital converter to calibrate the detection threshold.
  20. 根据权利要求19所述的方法,其中通过如下方式校准所述探测阈值:The method according to claim 19, wherein the detection threshold is calibrated by:
    控制所述数模转换器输出第一探测阈值DAC_1,通过所述模数转换器对所述第一探测阈值进行采样,获得第一探测阈值测量值ADC_1;Controlling the digital-to-analog converter to output a first detection threshold DAC_1, and sampling the first detection threshold through the analog-to-digital converter to obtain a first detection threshold measurement value ADC_1;
    控制所述数模转换器输出第二探测阈值DAC_2,通过所述模数转换器对所述第二探测阈值进行采样,获得第二探测阈值测量值ADC_2;Controlling the digital-to-analog converter to output a second detection threshold DAC_2, and sampling the second detection threshold through the analog-to-digital converter to obtain a second detection threshold measurement ADC_2;
    设置输入所述数模转换器的探测阈值为(V base+n*σ base)*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1。 The detection threshold input to the digital-to-analog converter is set to be (V base +n*σ base )*(DAC_2-DAC_1)/(ADC_2-ADC_1)+DAC_1.
PCT/CN2020/122659 2019-11-07 2020-10-22 Dynamic threshold timing circuit, lidar, and time information obtaining method WO2021088646A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911079921.0 2019-11-07
CN201911079921.0A CN110784220B (en) 2019-11-07 2019-11-07 Dynamic threshold timing circuit, laser radar and method for acquiring time information

Publications (1)

Publication Number Publication Date
WO2021088646A1 true WO2021088646A1 (en) 2021-05-14

Family

ID=69389943

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122659 WO2021088646A1 (en) 2019-11-07 2020-10-22 Dynamic threshold timing circuit, lidar, and time information obtaining method

Country Status (2)

Country Link
CN (1) CN110784220B (en)
WO (1) WO2021088646A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114994643A (en) * 2022-07-18 2022-09-02 四川吉埃智能科技有限公司 APD bias voltage adjusting method and circuit in laser ranging
CN115372941A (en) * 2022-07-14 2022-11-22 合肥芯来光电技术有限公司 Gain-adaptive laser radar receiving circuit and laser radar

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11609336B1 (en) 2018-08-21 2023-03-21 Innovusion, Inc. Refraction compensation for use in LiDAR systems
CN110506220B (en) 2016-12-30 2023-09-15 图达通智能美国有限公司 Multi-wavelength LIDAR design
US10942257B2 (en) 2016-12-31 2021-03-09 Innovusion Ireland Limited 2D scanning high precision LiDAR using combination of rotating concave mirror and beam steering devices
EP3566070A4 (en) 2017-01-05 2020-08-12 Innovusion Ireland Limited Method and system for encoding and decoding lidar
US11009605B2 (en) 2017-01-05 2021-05-18 Innovusion Ireland Limited MEMS beam steering and fisheye receiving lens for LiDAR system
US11977184B2 (en) 2018-01-09 2024-05-07 Seyond, Inc. LiDAR detection systems and methods that use multi-plane mirrors
US11675050B2 (en) 2018-01-09 2023-06-13 Innovusion, Inc. LiDAR detection systems and methods
WO2019164961A1 (en) 2018-02-21 2019-08-29 Innovusion Ireland Limited Lidar systems with fiber optic coupling
US11391823B2 (en) 2018-02-21 2022-07-19 Innovusion, Inc. LiDAR detection systems and methods with high repetition rate to observe far objects
US11808888B2 (en) 2018-02-23 2023-11-07 Innovusion, Inc. Multi-wavelength pulse steering in LiDAR systems
US11988773B2 (en) 2018-02-23 2024-05-21 Innovusion, Inc. 2-dimensional steering system for lidar systems
WO2019199775A1 (en) 2018-04-09 2019-10-17 Innovusion Ireland Limited Lidar systems and methods for exercising precise control of a fiber laser
WO2019241396A1 (en) 2018-06-15 2019-12-19 Innovusion Ireland Limited Lidar systems and methods for focusing on ranges of interest
US11579300B1 (en) 2018-08-21 2023-02-14 Innovusion, Inc. Dual lens receive path for LiDAR system
US11796645B1 (en) 2018-08-24 2023-10-24 Innovusion, Inc. Systems and methods for tuning filters for use in lidar systems
US11614526B1 (en) 2018-08-24 2023-03-28 Innovusion, Inc. Virtual windows for LIDAR safety systems and methods
US11579258B1 (en) 2018-08-30 2023-02-14 Innovusion, Inc. Solid state pulse steering in lidar systems
WO2020102406A1 (en) 2018-11-14 2020-05-22 Innovusion Ireland Limited Lidar systems and methods that use a multi-facet mirror
CN113302515A (en) 2019-01-10 2021-08-24 图达通爱尔兰有限公司 LIDAR system and method with beam steering and wide-angle signal detection
US11486970B1 (en) 2019-02-11 2022-11-01 Innovusion, Inc. Multiple beam generation from a single source beam for use with a LiDAR system
US11977185B1 (en) 2019-04-04 2024-05-07 Seyond, Inc. Variable angle polygon for use with a LiDAR system
CN110784220B (en) * 2019-11-07 2021-02-02 上海禾赛光电科技有限公司 Dynamic threshold timing circuit, laser radar and method for acquiring time information
CN111625000B (en) * 2020-05-28 2023-12-05 京东科技信息技术有限公司 Robot, obstacle avoidance method and device for robot
US11422267B1 (en) 2021-02-18 2022-08-23 Innovusion, Inc. Dual shaft axial flux motor for optical scanners
EP4260086A1 (en) 2021-03-01 2023-10-18 Innovusion, Inc. Fiber-based transmitter and receiver channels of light detection and ranging systems
US11555895B2 (en) 2021-04-20 2023-01-17 Innovusion, Inc. Dynamic compensation to polygon and motor tolerance using galvo control profile
US11614521B2 (en) 2021-04-21 2023-03-28 Innovusion, Inc. LiDAR scanner with pivot prism and mirror
US11662439B2 (en) 2021-04-22 2023-05-30 Innovusion, Inc. Compact LiDAR design with high resolution and ultra-wide field of view
EP4314884A1 (en) 2021-05-21 2024-02-07 Innovusion, Inc. Movement profiles for smart scanning using galvonometer mirror inside lidar scanner
US11768294B2 (en) 2021-07-09 2023-09-26 Innovusion, Inc. Compact lidar systems for vehicle contour fitting
CN116338670A (en) * 2021-12-22 2023-06-27 睿镞科技(北京)有限责任公司 Radar system and radar ranging method
US11871130B2 (en) 2022-03-25 2024-01-09 Innovusion, Inc. Compact perception device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136251A1 (en) * 2001-01-25 2002-09-26 Science And Technology Corporation Automatic gain control system for use with multiple wavelength signal detector
CN106199622A (en) * 2015-05-29 2016-12-07 赫克斯冈技术中心 Time measuring circuit and the geodimeter with this time measuring circuit
CN108401444A (en) * 2017-03-29 2018-08-14 深圳市大疆创新科技有限公司 A kind of laser radar and the Method Of Time Measurement based on laser radar
CN109459757A (en) * 2018-11-23 2019-03-12 辽宁骐迹科技有限公司 A kind of short distance dynamic object pulse laser laser welder and measurement method
CN109581399A (en) * 2018-12-29 2019-04-05 西南技术物理研究所 A kind of Larger Dynamic range Centimeter Level precision laser distance measuring method
CN110784220A (en) * 2019-11-07 2020-02-11 上海禾赛光电科技有限公司 Dynamic threshold timing circuit, laser radar and method for acquiring time information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8866654B2 (en) * 2011-04-21 2014-10-21 Kabushiki Kaisha Toshiba Apparatus for analog-to-digital conversion with a high effective-sample-rate on the leading edge of a signal pulse

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136251A1 (en) * 2001-01-25 2002-09-26 Science And Technology Corporation Automatic gain control system for use with multiple wavelength signal detector
CN106199622A (en) * 2015-05-29 2016-12-07 赫克斯冈技术中心 Time measuring circuit and the geodimeter with this time measuring circuit
CN108401444A (en) * 2017-03-29 2018-08-14 深圳市大疆创新科技有限公司 A kind of laser radar and the Method Of Time Measurement based on laser radar
CN109459757A (en) * 2018-11-23 2019-03-12 辽宁骐迹科技有限公司 A kind of short distance dynamic object pulse laser laser welder and measurement method
CN109581399A (en) * 2018-12-29 2019-04-05 西南技术物理研究所 A kind of Larger Dynamic range Centimeter Level precision laser distance measuring method
CN110784220A (en) * 2019-11-07 2020-02-11 上海禾赛光电科技有限公司 Dynamic threshold timing circuit, laser radar and method for acquiring time information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115372941A (en) * 2022-07-14 2022-11-22 合肥芯来光电技术有限公司 Gain-adaptive laser radar receiving circuit and laser radar
CN115372941B (en) * 2022-07-14 2023-08-08 合肥芯来光电技术有限公司 Gain self-adaptive laser radar receiving circuit and laser radar
CN114994643A (en) * 2022-07-18 2022-09-02 四川吉埃智能科技有限公司 APD bias voltage adjusting method and circuit in laser ranging
CN114994643B (en) * 2022-07-18 2022-11-15 四川吉埃智能科技有限公司 APD bias voltage adjusting method and circuit in laser ranging

Also Published As

Publication number Publication date
CN110784220A (en) 2020-02-11
CN110784220B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2021088646A1 (en) Dynamic threshold timing circuit, lidar, and time information obtaining method
WO2018176288A1 (en) Laser radar and time measurement method based on laser radar
US11592553B2 (en) Distance measurement system and method using lidar waveform matching
CN101946189B (en) Optical-electronic distance measuring device
CN111679260B (en) Drag point identification processing method, laser radar, and computer-readable storage medium
US20110013173A1 (en) Laser range finding device and distance measurement method thereof
CN112986951B (en) Method for measuring reflectivity of target object by using laser radar and laser radar
CN109581399A (en) A kind of Larger Dynamic range Centimeter Level precision laser distance measuring method
CN108896979B (en) Pulse laser radar receiving circuit and system with ultra-wide single-shot measurement range
CN109375194A (en) AFE(analog front end) reading circuit for laser radar
US20090046269A1 (en) Light beam receiver
CN111679290A (en) Photon counting correction method, laser radar, and computer-readable medium
CN111352097A (en) Laser Doppler echo signal processing method for laser radar and circuit system thereof
WO2020037842A1 (en) Laser time-of-flight lidar
CN114637021B (en) Sub-centimeter-level full-waveform laser radar ranging method and device
US9030651B2 (en) Laser range finding device and distance measurement method thereof
KR102430788B1 (en) Lidar sensor with parameter optimization function and tof calculation method thereof
Baharmast et al. A wide dynamic range laser radar receiver based on input pulse-shaping techniques
WO2022206031A1 (en) Method for determining noise level, lidar, and ranging method
CN114428239A (en) Laser radar, method for acquiring flight time of laser radar, method for measuring distance of laser radar, and storage medium
CN114280573A (en) Laser radar and method and system for measuring target reflectivity
US20230288538A1 (en) Laser receiving system and laser ranging system
CN218445996U (en) Laser radar apparatus
CN219456505U (en) Laser radar system and receiving device thereof
CN110850427B (en) Amplifying circuit for laser radar, laser radar and control method

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: 20885691

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20885691

Country of ref document: EP

Kind code of ref document: A1