WO2022206031A1 - Method for determining noise level, lidar, and ranging method - Google Patents

Method for determining noise level, lidar, and ranging method Download PDF

Info

Publication number
WO2022206031A1
WO2022206031A1 PCT/CN2021/138328 CN2021138328W WO2022206031A1 WO 2022206031 A1 WO2022206031 A1 WO 2022206031A1 CN 2021138328 W CN2021138328 W CN 2021138328W WO 2022206031 A1 WO2022206031 A1 WO 2022206031A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
intensity
information
noise
time information
Prior art date
Application number
PCT/CN2021/138328
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 WO2022206031A1 publication Critical patent/WO2022206031A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • G01S17/10Systems determining position data of a target for measuring distance only using transmission of interrupted, pulse-modulated waves
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/483Details of pulse systems
    • G01S7/486Receivers
    • G01S7/487Extracting wanted echo signals, e.g. pulse detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/491Details of non-pulse systems
    • G01S7/493Extracting wanted echo signals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C3/00Measuring distances in line of sight; Optical rangefinders
    • G01C3/02Details
    • G01C3/06Use of electric means to obtain final indication
    • G01C3/08Use of electric radiation detectors

Definitions

  • the present disclosure relates to the technical field of photoelectric detection, and in particular, to a method for determining a noise level, a laser radar, and a method for ranging using the laser radar.
  • Lidar is a radar system that emits a laser beam to detect the position, speed and other characteristics of the target. It is an advanced detection method that combines laser technology with photoelectric detection technology. Because of its high resolution, good concealment, strong anti-active interference ability, good low-altitude detection performance, small size and light weight, lidar is widely used in autonomous driving, transportation and communication, unmanned aerial vehicles, intelligent robots, resource exploration and other fields.
  • the environment in which the lidar is located is usually full of various noises or background light, such as sunlight, the lights of other vehicles, the lights of buildings, and the laser light emitted by the lidar on other vehicles.
  • the lidar In order to accurately calculate the distance of the target, the lidar needs to obtain the noise level in the surrounding environment as accurately as possible, and distinguish the echo generated by the laser beam emitted by itself from the surrounding noise.
  • TDC time-to-digital converter
  • a single photon avalanche diode can be used as a detector in the lidar, and the SPAD can be triggered by a single photon to avalanche.
  • the output terminals of multiple SPADs are connected to the same TDC, as a macro pixel (pixel), the TDC provides the trigger moment and the number of SPADs that are simultaneously triggered in the macro pixel.
  • noise acquisition methods one is to fix the noise information, that is, the detection of all cycles in several cycles or even a period of time adopts the same fixed noise threshold, so that real-time noise information cannot be obtained; Data other than the arrival time of the signal is used to calculate the noise, but in this way, the noise and the signal will affect each other, and it is difficult to obtain accurate noise information.
  • the present invention provides a method for determining a noise level, including:
  • S102 Clamp the intensity information-time information curve with an estimated noise threshold
  • the intensity information-time information curve is a photon number histogram.
  • the step S101 includes: scanning a field of view multiple times, and superimposing the intensity information versus time information curves of the multiple scans as the intensity information-time information curve.
  • the method further includes: acquiring the total intensity of the optical signal, calculating an estimated noise intensity using the total intensity, comparing the estimated noise intensity with a preset noise intensity, and obtaining a smaller value, Take the smaller value as the estimated noise threshold.
  • the step of calculating the estimated noise intensity includes: multiplying the total number of photons S by a preset ratio K to obtain the estimated noise photon number, as the estimated noise intensity, the preset ratio K is between 0-1.
  • the step S101 further includes: receiving an optical signal through a detection unit, where the detection unit includes a plurality of single-photon avalanche diodes, and the preset noise intensity is based on the single-photon avalanche diodes in the detection unit. One or more of the number, the dead time of the single photon avalanche diode is determined.
  • the step S103 includes: obtaining the total intensity of the clamped intensity information-time information curve, relative to the average value of the time span, as the noise level.
  • step S102 for the intensity information corresponding to any time information, the smaller value of the intensity information and the estimated noise threshold is taken as the clamped intensity information.
  • the present invention also provides a method for ranging by means of laser radar, comprising:
  • S203 Calculate the distance of the target object based on the intensity information-time information curve after noise filtering.
  • the step S202 includes: judging whether the peak value of the intensity information-time information curve is higher than the noise level; when the peak value is higher than the noise level, based on the noise level, Perform noise filtering processing on the intensity information-time information curve.
  • the step S203 includes: calculating the center of gravity of the intensity information relative to the time information according to the intensity information-time information curve after noise filtering, and the time information corresponding to the center of gravity is taken as the flight time.
  • the step S203 includes: calculating the leading edge time of the echo pulse according to the filtered intensity information-time information curve, and using the leading edge time as the flight time, wherein the leading edge time is the time information corresponding to the intensity information on the leading edge of the echo pulse equal to the preset threshold.
  • the present invention also provides a laser radar, comprising:
  • a light emission module configured to emit a detection laser beam for detecting a target
  • a light detection module configured to receive echoes of the detection laser beam reflected on the target and convert them into electrical signals
  • the control module is coupled to the light emitting unit and the light detection module, and is configured to execute the method as described above to calculate the distance of the target.
  • the light detection module includes a plurality of detection units, each detection unit includes a plurality of single-photon avalanche diodes to receive the echoes.
  • FIG. 1 shows a method for determining a noise level according to an embodiment of the present invention
  • Figure 2 shows an intensity information-time information curve according to an embodiment of the present invention
  • Figure 3 shows the intensity information-time information curve after clamping
  • Figure 4 shows a schematic diagram of the number of echo photons obtained by multiple scans in one measurement
  • FIG. 5 shows a schematic diagram of a histogram obtained by accumulating the number of echo photons of multiple scans
  • Figure 6 shows a detection unit according to an embodiment of the present invention
  • Fig. 7 shows the curve waveform obtained after the intensity information-time information noise filtering processing
  • FIG. 8 shows a method for ranging by a lidar according to a preferred embodiment of the present invention
  • Figure 9 shows a data storage method according to the prior art
  • Figure 12 shows a block diagram of a lidar according to one embodiment of the present invention.
  • connection should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection Connection, or integral connection: it can be a mechanical connection, an electrical connection or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal communication of two elements or the interaction of two elements relation.
  • connection should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection Connection, or integral connection: it can be a mechanical connection, an electrical connection or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal communication of two elements or the interaction of two elements relation.
  • a first feature "on” or “under” a second feature may include direct contact between the first and second features, or may include the first and second features Not directly but through additional features between them.
  • the first feature being “above”, “over” and “above” the second feature includes that the first feature is directly above and diagonally above the second feature, or simply means that the first feature is level higher than the second feature.
  • the first feature “below”, “below” and “beneath” the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature has a lower level than the second feature.
  • FIG. 1 shows a method 100 for determining a noise level according to an embodiment of the present invention, which can be used to determine a noise level or threshold in a lidar, which will be described in detail below with reference to FIG. 1 .
  • step S101 obtaining the intensity information-time information curve of the optical signal.
  • FIG. 2 shows an intensity information-time information curve according to an embodiment of the present invention, wherein the abscissa is the time information, and the ordinate is the parameter value representing the optical signal intensity information.
  • the abscissa in FIG. 2 is not an absolute time coordinate, and the abscissa is the time difference between the time when the laser radar transmits the light pulse and the time when the light signal is received.
  • the intensity information-time information curve shown in Fig. 2 can be the intensity information-time information curve obtained in one scan of the lidar for a certain field of view, or it can be obtained in multiple scans of a certain field of view Curves formed by superimposing the intensity information of the optical signal with respect to the time information are all within the protection scope of the present invention.
  • the ordinate in FIG. 2 can use the number of photons to represent the intensity of the optical signal.
  • step S102 the intensity information-time information curve is clamped by using an estimated noise threshold.
  • Estimated noise thresholds are shown in FIG. 2 (shown by the line of “Noise Thresholds” in FIG. 2 ).
  • the clamping refers to comparing the intensity information corresponding to any time scale with the estimated noise threshold, and taking the smaller value as the intensity information after clamping. That is, for the part of the intensity information-time information curve where the intensity information is higher than the estimated noise threshold, take the estimated noise threshold; for the intensity information-time information curve, the intensity information is lower than the estimated noise For the part of the threshold, take the actual intensity information.
  • the intensity information corresponding to each time scale is compared in turn to obtain a clamped intensity information-time information curve.
  • the estimated noise threshold set in FIG. 2 is used for clamping, and the clamped intensity information-time information curve shown in FIG. 3 is obtained.
  • step S103 the noise level is determined using the clamped intensity information-time information curve.
  • an average value of the clamped intensity information relative to the time information can be obtained as the noise level.
  • the area of the area covered by the clamped intensity information-time information curve can be obtained, and then divided by the total time span, that is, the time span of the clamped intensity information-time information curve on the horizontal axis, and the clamped intensity information-time information curve can be obtained.
  • the intensity information relative to the time span is averaged as the noise level.
  • the clamped intensity information shown in FIG. 3 is characterized by the number of photons, and the total number of photons in the total time span is calculated and divided by the total time span to obtain the noise level characterized by the number of photons.
  • the noise value can be calculated directly by using the intensity information-time information curve obtained by lidar detection, and it is not necessary to reserve a special detection time for noise measurement; and after obtaining an intensity information-time information curve, it can be
  • the noise level corresponding to the detection data can be obtained by calculating the detection data, that is, the real-time noise can be acquired while measuring the distance, and the accuracy of the noise level can be improved. Taking the noise level calculated in real time as the corresponding ranging noise threshold can improve the ranging accuracy.
  • lidar In the detection process of lidar, take the detector composed of single-photon avalanche diode SPAD(s) as an example, because SPAD can be triggered by a single photon to avalanche effect, so it is easily affected by environmental noise;
  • the photon detection efficiency (PDE) of the commonly used detection light band of lidar is low, and the signal intensity obtained by a single detection is very weak. It is in Geiger mode within the time window, that is, the state where the avalanche effect can be triggered by photons. This time window is called the "detection time window". Only a few triggers occur within the time window, and it is impossible to distinguish whether it is triggered by the echo signal reflected by the target or Triggered by ambient noise.
  • the same field of view range can be repeatedly scanned multiple times.
  • the light source at the transmitting end emits a light pulse for detection, and the controller of the lidar records the emission time t1 when the light pulse is emitted.
  • the light pulse encounters an external obstacle, is reflected by the obstacle, and returns to the The lidar is received by the photodetector at the receiving end.
  • the photodetector is an array of SPAD(s)
  • ambient light may also cause the SPAD to be triggered avalanche.
  • an avalanche electrical signal is generated, which is transmitted to the time-to-digital converter TDC.
  • the TDC outputs the time signal of the SPAD trigger and the signal of the number of SPADs that are triggered at the same time, and the subsequent memory stores the SPAD trigger time minus the launch time t1.
  • the timestamp timestamp that is, the time information represented by the horizontal axis in Figures 2 and 3) and the trigger number of the timestamp (hereinafter referred to as cnt) signal.
  • the trigger number cnt obtained by each measurement is stored in the corresponding memory location according to the timestamp timestamp.
  • a new trigger number cnt arrives at the corresponding position of a timestamp timestamp
  • the original stored value is compared with the new trigger number cnt. Accumulate and then update to this position.
  • a histogram is saved in the memory. As shown in Figure 5, the histogram reflects the sum of the number of triggers cnt corresponding to different timestamps on the time axis. In this way, the histogram is used to calculate
  • the time of flight corresponding to the echo pulse is obtained by operations such as the center of gravity, and then the ranging result is obtained.
  • the lidar in one time-of-flight measurement of the lidar for a field of view, the lidar actually performs multiple scans (multiple transmit-receive cycles), and the number of scans can range from dozens to several times. Hundreds of times, scan a field of view (or approximately one target point) within a period of time, and superimpose the curve of the intensity information received by the detector relative to the time information in the multiple scans as the intensity information - Time information curve.
  • nth scans For example, as shown in Figure 4, in the 1st, 2nd, ..., nth scans, only a very limited number of echoes or photons are received in each scan, but after the detection results of n scans are superimposed, Obtain the photon number histogram of one time-of-flight measurement in this field of view, as shown in Figure 5, where the scale of the abscissa is time information, and the scale width on the time axis is usually equal to the resolution of the time-to-digital converter in the lidar, That is, the resolution of the detection time of the lidar.
  • the total number of photons S can be obtained by accumulating the number of photons corresponding to each scale on the photon number histogram, which is used to represent the total intensity information.
  • a “measurement” corresponds to the time-of-flight measurement of a certain field of view within a detection period of the lidar (that is, within the period of generating a frame of point cloud) to generate a point cloud in a frame. Or multiple (one or more columns or one block) "points", a complete frame of point cloud is obtained after the measurement of all fields of view is completed; and “scanning” refers to the laser in a detection channel during a measurement process The process of completing a transmission and the detector completing the corresponding reception.
  • a “measurement” may include a single “scan” or multiple “scans” of the same target point, eg hundreds of times.
  • the method 100 further includes: acquiring the total intensity of the optical signal, calculating an estimated noise intensity (for example, represented by the number of photons) according to the total intensity, and setting parameters according to the receiving end of the lidar. Set the preset noise level.
  • the total intensity of the optical signal can be characterized by the total number of photons S received in the total time span.
  • the total time span corresponds to the total time during which the intensity information is recorded on the curve shown in FIG. 2 , that is, the difference between the maximum value and the minimum value of the time information.
  • the time range corresponding to the maximum detection distance and the minimum detection distance of the lidar can be used as the total time span. Or alternatively, as shown in FIG. 2 , only the intensity information corresponding to part of the time information is recorded.
  • the time period during which the reflected echo of the target can be expected to be obtained is used as the total time span of the intensity information-time information curve.
  • the total intensity of the optical signal can be characterized by the area covered by the intensity information-time information curve in FIG. 2 . According to a preferred embodiment of the present invention, the total intensity can be characterized by the total number of photons S received in the total time span.
  • the total number of photons S in the total time span can be multiplied by a preset ratio K to obtain the estimated noise photon number, which is used as the estimated noise intensity, and the preset ratio K is between 0- between 1.
  • the preset ratio K ⁇ (0,1), the empirical value of the ratio of the noise number to the total photon number can be obtained as K through simulation or actual measurement.
  • the receiving end parameters of the lidar include the total number of detection units (pixels), the number of SPADs in each detection unit, and the dead time of the SPAD, according to which the SPAD (unit time) is calculated. ) of the average maximum noise trigger photon number S max , which is taken as the preset noise intensity. Regarding how to calculate S max , specific examples will be given below.
  • the estimated noise intensity calculated according to the intensity information-time information curve is compared with the preset noise intensity S max , a smaller value is obtained, and the smaller value is used as the estimated noise threshold.
  • step S102 for the intensity information corresponding to any time information, the smaller value of the intensity information and the estimated noise threshold is taken as the clamped intensity information.
  • the step S101 further includes: receiving the echo through a detection unit, where the detection unit includes a plurality of single-photon avalanche diodes.
  • the preset noise intensity is determined based on one or more of the number of single-photon avalanche diodes in each detection unit and the dead time of single-photon avalanche diodes.
  • FIG. 6 shows an embodiment of the detection unit.
  • the detection module includes a plurality of detection units, and the detection units P1, P2 and P3 are shown in the figure, and each detection unit includes nine single-photon avalanche diodes respectively.
  • the nine single-photon avalanche diodes are all connected to a time-to-digital converter TDC, so that the TDC can obtain the time signal of the SPAD triggered in the detection unit and the signal of the number of SPADs triggered at the same time, and store them in the memory.
  • a detection unit can trigger up to 9 times within the SPAD dead time.
  • the dead time of the SPAD in the detection unit shown in Figure 6 is set to be 20 ns, and the same SPAD can be triggered at most once within 20 ns.
  • the noise level can be calculated directly by using the intensity information-time information curve (such as a histogram) obtained by detection, and it is not necessary to reserve a detection time for noise measurement; and real-time noise can be obtained while ranging, which can be used as Ranging noise threshold.
  • the noise threshold can be used to judge whether the echo is valid, that is, the echo pulse signal reflected from the target object or the noise signal. If the measured echo strength is lower than the noise threshold, it is judged as noise and filtered.
  • the set noise threshold is higher than the actual noise level, the actual detected echo will be misjudged as noise, resulting in data loss; if the set noise threshold is lower than the actual noise level, some noise signals will be judged as targets Objects reflect echoes, creating noise in the point cloud.
  • the environmental noise around the lidar is also constantly changing, and the inability to obtain the noise in real time will also cause lost points or noise.
  • the above embodiments of the present invention can acquire the noise level in real time, improve the signal-to-noise ratio of the laser radar, and thus improve the ranging accuracy.
  • the present invention also provides a method 200 for ranging by using a laser radar, including:
  • S201 Calculate the noise level through the method 100 as described above.
  • S202 Perform noise filtering processing on the intensity information-time information curve based on the noise level.
  • a peak value is obtained on the intensity information-time information curve, that is, the maximum value of the intensity information on the total flight time span, and it is determined whether the peak value is higher than the noise level, and if it is higher than the noise level level, the intensity information-time information curve is subjected to noise filtering processing.
  • the noise filtering process for example, compares the intensity information corresponding to each time scale with the noise level, retains the intensity information data higher than the noise level, and subtracts the noise level from the intensity information data to obtain the intensity corresponding to the actual detection signal.
  • Information-time information curve For example, compares the intensity information corresponding to each time scale with the noise level, retains the intensity information data higher than the noise level, and subtracts the noise level from the intensity information data to obtain the intensity corresponding to the actual detection signal.
  • S203 Calculate the distance of the target object based on the intensity information-time information curve after noise filtering.
  • the step S203 includes: according to the time information corresponding to the center of gravity of the intensity information-time information curve after noise filtering processing on the time axis, as the flight time, calculating the time of the target object. distance.
  • the curve waveform obtained after the noise filtering process is shown.
  • the center of gravity position of the curve waveform is obtained, and the flight time Tof1 corresponding to the center of gravity position is taken as the time of flight in this measurement process.
  • Time of flight which is used to calculate the distance to the target and generate a data point in the point cloud.
  • the maximum value of the intensity information is obtained, and as the echo intensity, the detection light intensity emitted by the lidar is obtained, and the target object can be calculated based on the echo intensity and the detection light intensity. reflectivity.
  • Fig. 8 shows a method for ranging by a lidar according to a preferred embodiment of the present invention, wherein the detection methods shown in Figs. 4-7 are combined. This is described in detail below with reference to FIG. 8 .
  • the lidar performs multiple scans, taking 500 times as an example.
  • step S301 the i-th scan is performed, and i is initially 1.
  • the laser of the lidar emits the detected light pulse, and the controller of the lidar records the emission time t1 of the emitted light pulse.
  • the light pulse encounters an external obstacle, is reflected by the obstacle and returns to the lidar, and is detected by the photoelectric detection of the receiving end. received by the device.
  • the photodetector is an array of SPAD(s)
  • ambient light may also cause the SPAD to be triggered avalanche.
  • the SPAD receives the photon, it generates an avalanche electrical signal, which is transmitted to the time-to-digital converter TDC.
  • the TDC outputs the time signal of the SPAD trigger and the signal of the number of SPADs that are triggered at the same time, and stores the SPAD trigger time minus the time stamp of the launch time t1.
  • timestamp that is, time information
  • cnt the trigger number of the timestamp
  • step S302 the detection results of the i-th scan and the detection results of the previous i-1 times are accumulated.
  • a new trigger number cnt arrives at the position corresponding to a certain timestamp timestamp
  • the original stored value and the new trigger number cnt are accumulated and then updated to the position.
  • all cnt values are accumulated (time stamps are not distinguished) to obtain the total number of SPAD triggers, which are used to obtain the total intensity of the optical signal for one measurement.
  • step S303 it is determined whether i has reached a preset number of scans N, for example, 500. If it has not been reached yet, accumulate i, and go back to step S301 to continue scanning detection. If the preset number of scans N has been reached, proceed to step S304.
  • a preset number of scans N for example, 500.
  • step S304 a histogram is generated. Since N scans have been completed, the number of triggers cnt obtained in each scan is stored in the corresponding memory location according to the time stamp timestamp. After multiple measurements are superimposed, a histogram is stored in the memory, as shown in Figure 5. The histogram reflects the sum of the number of triggers cnt corresponding to different timestamps on the timeline. The data in memory can be read out as a histogram. At the same time, all the cnt values are accumulated to obtain the total intensity of the optical signal represented by the number of photons in one measurement.
  • step S305 the data of the histogram is filtered. After that, steps S306 and S307 are performed respectively.
  • step S306 the noise level is obtained, for example, the noise threshold around the lidar is obtained according to the method 100 described above.
  • step S307 the peak value of the signal is found according to the filtered histogram, that is, the point with the largest ordinate in the histogram is found.
  • step S308 according to the noise level obtained in step S306, it is determined whether the signal peak value found in step S307 is valid, that is, whether the signal peak value is greater than the noise level. When the signal peak value is greater than the noise level, the signal peak value is valid, and then step 309 is performed. When the signal peak value is lower than the noise level, the signal peak value is invalid and not processed.
  • step S309 ranging information is obtained.
  • the center of gravity of the intensity information in the total time span is calculated, and the time information corresponding to the center of gravity is used as the flight time to calculate the distance of the target object.
  • the distance to the target object is calculated using the echo pulse leading edge time. Specifically, the intensity information of the front edge of the echo pulse is compared with a preset threshold, and the time information corresponding to the intensity information whose intensity is equal to the preset threshold is used as the flight time.
  • the above-mentioned preset threshold is a noise threshold.
  • the above-mentioned preset threshold is an average value of the signal peak value and the noise threshold value.
  • step 309 the above-mentioned methods of S202-S203 may be used to perform noise filtering processing on the intensity information-time information curve based on the noise level, and then based on the intensity information-time information curve after the noise filtering processing, Calculate the distance and/or reflectivity of the target.
  • the detection results of N scans are superimposed and stored. After all scans are completed, the data in the memory can be read out as a histogram, and the histogram data is filtered. , look for signal peaks.
  • the noise calculation method of the present invention the real-time noise value of the histogram can be obtained as the current noise threshold. When it is judged that the peak value of the histogram signal is greater than the noise threshold, the peak value is an effective peak value, and then the echo arrival time is calculated. Therefore, the noise level and ranging information of the current measurement can be obtained almost simultaneously after one measurement is completed. Compared with the solution of setting a uniform noise threshold for the lidar, the solution of dynamically calculating the noise level of the embodiment of the present invention is more accurate.
  • the noise level is calculated by using the scheme of the embodiment of the present invention, and the distance and/or reflectivity of the target object are calculated after the intensity information is filtered out of the noise.
  • the filtered intensity information can reflect a more real echo pulse signal. Conducive to improving the measurement accuracy.
  • the second aspect of the present invention relates to a method for storing detection data of a lidar, which can be combined with the method 100 for determining a noise level applied to the first aspect of the present invention.
  • each time scale of its time resolution needs to have a corresponding storage location, and all the triggered SPAD number information cnt obtained by multiple measurements are stored in the same time as the time.
  • the time resolution of the time-to-digital converter TDC can reach the order of picoseconds ps, so a register with a very large space is required.
  • SPAD can be triggered by a single photon to avalanche effect, so it is easily affected by ambient light noise; on the other hand, SPAD has low photon detection efficiency (PDE) for the commonly used detection light band of lidar, and the signal obtained by a single detection
  • PDE photon detection efficiency
  • the intensity is very weak, as shown in Figure 4.
  • the lidar can perform multiple repeated measurements during one detection of the same field of view (one measurement is called a sweep). , the number of repetitions can reach 400-500 times, or more or less), the results of multiple measurements or scans are accumulated to obtain a histogram, and the distance is measured from this, and then a point cloud on the lidar is obtained. point.
  • the controller of the lidar gates some (a row or column or any shape of interest) macro pixels by supplying high voltage to the SPAD, and then sends a synchronization signal to notify the laser at the transmitter that it can emit light, and the laser at the transmitter
  • a light pulse for detection is sent out.
  • the light pulse encounters an external obstacle, is reflected by the obstacle and returns to the lidar, and can be received by the photodetector at the receiving end. .
  • the photodetector is a SPAD(s) array
  • an avalanche electrical signal is generated, which is transmitted to the time-to-digital converter, and the time-to-digital converter outputs the time signal t 1a triggered by the SPAD and the SPAD triggered at the same time.
  • the number signal cnt 1a (here 1a represents the first trigger of the a-th scan)
  • the timestamp 1a (hereinafter referred to as tp 1a ) of t 1a -t a is calculated by the subtraction procedure
  • tp 1a and the time The number of triggers for stamping the cnt 1a signal is transmitted and stored in memory.
  • a macro pixel includes multiple SPADs, and SPADs can be detected again after the dead time, so in one scan, SPAD triggering may occur at another time, and the memory stores tp 2a and cnt 2a of this trigger (2a is Represents the 2nd trigger of the a-th probe). Multiple triggers in one scan need to be stored as time information.
  • the controller of the lidar sends a signal again according to the preset program to control the transmitting end to send out the detection light pulse at time t b .
  • the SPAD receives the photon
  • the avalanche electrical signal is transmitted to the time-to-digital converter TDC, and the time-to-digital converter TDC outputs the time signal t 1b triggered by the SPAD and the signal cnt 1b of the number of SPADs triggered at the same time (the b-th detection 1 trigger)
  • the subsequent memory stores the timestamp timestamp 1b (hereinafter referred to as tp 1b ) of the SPAD trigger time t 1b -t b and the trigger number cnt 1b signal of the timestamp.
  • a macro pixel includes multiple SPADs, and the SPADs can be detected again after the dead time, so in one scan, the SPAD may be triggered again at another time, and the memory stores tp 2b and cnt 2b of this trigger
  • the trigger number cnt obtained by each measurement is stored in the corresponding memory location according to the timestamp.
  • the original stored value is compared with The new trigger number cnt is accumulated and then updated to this position.
  • a histogram is saved in the memory. As shown in Figure 5, the histogram reflects the sum of the trigger numbers cnt corresponding to different timestamps on the time axis. In this way, the histogram is used to calculate the center of gravity or the frontier time and other operations to obtain the time information corresponding to the echo, which is used as the flight time for distance calculation to generate a point on the point cloud.
  • a data storage method is shown in Figure 9.
  • the abscissa is time t
  • the scale interval of the abscissa is the resolution of TDC
  • each time scale corresponds to a storage location R (register).
  • R register
  • a SPAD trigger occurs at time scale 0.
  • the timestamp tp 1 (trigger time - the current transmission time)
  • the trigger number information cnt 1a are obtained by calculation, and cnt 1a is stored.
  • a represents the a-th detection
  • b is the b-th detection
  • the numbers represent the corresponding time scale and the corresponding storage location
  • the storage location R corresponds to the time scale one-to-one
  • the memory only stores the trigger number cnt
  • the data processing When the circuit reads the data, the time corresponding to the trigger number cnt can be known according to the storage location).
  • a histogram is obtained by accumulating the data of many detection scans (400-500 times), and the detection results of hundreds of scans are superimposed into a histogram to obtain a point in the point cloud.
  • the storage location corresponding to the time scale stores the accumulated sum of all the trigger quantities cnt triggered at this moment.
  • SPAD triggering does not occur at every time scale in a scan, as shown in Figure 9, a histogram data is superimposed by many detection results, and each time scale may be triggered at a certain scan A SPAD trigger occurs during the process, so that the memory receives the corresponding data.
  • each time scale needs to have a corresponding storage location, and all the trigger numbers cnt obtained from multiple measurements are stored in the storage location corresponding to the time.
  • the time interval of tp that is, the resolution of TDC
  • the rate is on the order of ps, requiring very large registers.
  • the inventor of the present application has conceived that it is not necessary to set a corresponding storage location for each time scale of the TDC time resolution.
  • the invention adopts the data storage method of weighted accumulation, compresses the original signal under the condition of keeping the ranging precision, and greatly reduces the storage space required for storing the histogram. Specifically, the weighted accumulation data storage method can reduce the total storage space to 1/10 of the original range.
  • the time precision of the stored intensity information in the present invention is the first time precision, and the first time precision may be n times the time resolution of the time-to-digital converter TDC.
  • the intensity information refers to the optical signal intensity information corresponding to the time information.
  • different parameters can be used to represent the optical signal intensity: for example, the detector is a SPAD array, and the SPAD that is triggered at the same time corresponding to the time information can be used.
  • the quantity is used as the intensity information; if the detector is SiPM, the output level/current intensity corresponding to the time information can be used to represent the optical signal intensity information.
  • the detection data of the radar includes time information and intensity information corresponding to the time information.
  • the time information is the time when one or more single-photon avalanche diode SPADs in the detection unit (P1, P2, P3...) are triggered, and the intensity information is the triggering time.
  • the number of single-photon avalanche diodes SPADs that are triggered by time, that is, the intensity of the optical signal is characterized by the number of single-photon avalanche diodes SPADs that are triggered.
  • the time information is the time stamp timestamp of the triggering of the single-photon avalanche diode SPAD, that is, the time difference t between the time t a emitted from the laser and the time t 1a when the single-photon avalanche diode SPAD is triggered 1a -t a .
  • the single-photon avalanche diode SPAD is used as an example for illustration.
  • Those skilled in the art can easily understand that the present invention is not limited to this, and other types of photodetectors can also be used, including but not limited to avalanche photodiode APD. , silicon photomultiplier tube SiPM, etc.
  • the data storage method of the present invention is specifically as follows: with a first time precision, according to the weight of the time information, the intensity information is stored; the first time precision is the time interval between any two adjacent first time scales , and is n times the time resolution of the radar detection data, where n>1; the weight is associated with the time information and the time interval of at least one first time scale.
  • Figures 10 and 11 show a specific schematic diagram of a storage method according to a preferred embodiment of the present invention, and the implementation of the data storage method of the present invention will be described in detail below with reference to Figures 10 and 11 .
  • the abscissa is the flight time
  • the interval of the time scale of the abscissa is, for example, the time resolution of the lidar, such as the time resolution of the time-to-digital converter TDC, which can reach the order of picoseconds ps.
  • the first time scale is set based on the time resolution of the lidar.
  • the interval between two adjacent first time scales spans 16 interval of the time resolution of the lidar.
  • the time scale corresponding to the time resolution of lidar can also be called “fine scale”. Also known as “coarse scale”.
  • the weight of the time x includes a first weight and a second weight
  • the first weight is associated with the time interval between the time x and one of the adjacent first time scales
  • the second weight Associated with the time interval between said instant x and another adjacent first time scale.
  • the first weight is associated with the time interval between the moment x and the first time scale A adjacent to the left thereof, and the first weight is, for example, (16-x)
  • the second weight is associated with the time interval between the moment x and the first time scale A+1 adjacent to the right side thereof, and the second weight is, for example, x. Therefore, the moment x is represented by its weight at two adjacent coarse scales (A, A+1), where the weight of x at coarse scale A is (16-x), and at coarse scale A+
  • the weight of 1 is x (x represents the distance from A at this moment), which is equivalent to the fine scale of x at this moment.
  • the data at the fine scale is stored at the addresses corresponding to two adjacent thick scales to represent the value of the scale x, rather than storing the scale x itself. This process is represented by the equation as follows:
  • the left side of the equal sign is the sum of the weights applied according to the coarse scale storage, the start value and the end value of the coarse scale, and the right side of the equal sign is the specific value of the timestamp. It can be seen that the storage method of coarse scale + weight can accurately represent the specific value of the timestamp.
  • the newly added intensity information on the coarse scale A is cnt*(16-x), and the coarse scale A+1
  • the newly added intensity information is cnt*x, which can be accumulated separately in multiple scans.
  • the fine scale represents the time-to-digital converter TDC time resolution. For a timestamp, the starting value of its coarse scale is A, and its fine scale is at the corresponding 0-15 fine scale x scale in its coarse scale.
  • a register is allocated for each coarse scale, the coarse scale interval of the abscissa is 16 times the TDC resolution, and each coarse scale corresponds to a register.
  • a coarse scale time fine scale 0 to 15
  • all trigger quantity information cnt is weighted, and stored in the registers corresponding to storage positions A and A+1 after summing with the original data.
  • the trigger quantity information cnt in the next coarse scale time is weighted and stored in the registers corresponding to the coarse scales A+1 and A+2. For example, when a SPAD trigger occurs at time 2', the time information tp 3 ' and cnt 3a ' are obtained.
  • the received signals tp 2 and cnt 2b are assigned weights cnt 2b *(16-x 2b ) and cnt 2b *x 2b on the coarse scale A and A+1 respectively, which are respectively the same as the original stored data.
  • After the summation is stored in the registers corresponding to the coarse scale A and A+1.
  • a histogram is obtained by accumulating the data of many scans. In several scans, all the trigger numbers cnt corresponding to the triggers at times 0 to 15 are stored in the registers corresponding to the coarse scales A and A+1.
  • the present invention adopts the weighted accumulation storage method, only needs to set registers corresponding to the coarse scales from 0 to n+1, and the required number of registers is reduced to the original one. 1/16, although the storage bit width of each register increases, the space occupied becomes larger, but because the storage location to be allocated is greatly reduced, the weighted accumulation data storage method can reduce the total storage space to the original 1/ 10 ranges.
  • the time interval between adjacent first time scales is 16 times the time resolution (fine scale) of radar detection data, that is, data compression is performed with a weight of 16.
  • the weight here can be any large positive integer.
  • the time interval of the coarse scale is 2 m times that of the fine scale, where m is a positive integer, so as to facilitate implementation in an FPGA or an ASIC.
  • the first weight is (16-x), the second weight is x, the present invention is not limited to this, the first weight may be x, and the second weight is (16-x ), or the first weight may be 1-(x/n), and the second preset weight may be x/n, as long as the first weight is equal to the time x and one of the adjacent first time scales
  • the second weight may be associated with the time interval between the moment x and another adjacent first time scale.
  • the storage method of the second aspect of the present invention can be applied to the method 100 of determining the noise level of the first aspect of the present invention.
  • step S101 of the method 100 an intensity information-time information curve of an optical signal is obtained, and the intensity information-time information curve is, for example, a photon number histogram.
  • the curves of intensity information relative to time information of multiple scans are superimposed to obtain, and the data obtained from each scan can be weighted and stored according to the storage method of the second aspect of the present invention, and finally a photon number histogram is obtained.
  • the total intensity S of the optical signal when calculating the total intensity S of the optical signal, it can be performed according to different ways.
  • the total intensity S of the optical signal is the accumulated sum of the original trigger number cnt data before weighting, and the histogram is two parallel steps.
  • the total intensity S of the optical signal can be calculated from the histogram, all of which are within the scope of the present invention.
  • the photon number histogram obtained by the storage method of the second aspect of the present invention when the noise level is calculated, since the time precision of the histogram data storage is n times the time resolution of the radar detection data, that is, the number of scales on the abscissa of the histogram becomes The intensity information corresponding to each time scale is processed in steps S102, S103, and the required calculation amount is correspondingly greatly reduced, which improves the data processing and calculation efficiency while maintaining the calculation accuracy unchanged.
  • the present invention also relates to a laser radar 300, as shown in FIG. 12, including a light emission module 301, a light detection module 302 and a control module 303, wherein the light emission module 301 refers to the part of the laser radar for laser emission, which can be Contains circuits, devices, structures, etc., configured to emit a detection laser beam for detection of a target.
  • the light detection module 302 refers to the part of the laser radar used to detect the echo signal of the laser, which may include circuits, devices, structures, etc., and is configured to receive the echo reflected by the detection laser beam on the target and convert it into electric signal.
  • the control module 303 is coupled to the light emission module 301 and the light detection module 302, and is configured to execute the method 100, 200 or 300 as described above to calculate the distance of the target object.
  • the light detection module 302 includes a plurality of detection units as shown in FIG. 6 , and each detection unit includes a plurality of single-photon avalanche diodes for receiving echoes.
  • the light emitting module 301 includes a light emitting array 3011, which is implemented by, for example, a Vertical-Cavity Surface-Emitting Laser (VCSEL) array.
  • the light emitting array 3011 includes multiple rows and multiple columns. Wherein, each row and each column are respectively provided with a plurality of light emitting units 30111, and each light emitting unit 30111 includes at least one light emitter; the light emitting array 3011 is also correspondingly configured with an emitting array driving circuit, which is coupled to each light emitting unit 30111.
  • the transmitter is used to drive the light transmitter to work.
  • the photodetection module 302 includes a photodetection array 3021, and the photodetection array 3021 may use, for example, a detection unit as shown in FIG. 6 to receive the optical echo signal after the detection beam reaches the target OB.
  • the photodetection module 302 may further include a signal readout circuit 3022 for reading out and transmitting the signals generated by the photodetection array 3021 to the control module 303 .
  • a transmitting lens group 304 may be further provided, which is located on the outgoing optical path of the light transmitting array 3011; May be located on the focal plane of the receiving lens group 305 .
  • the control module 303 is coupled to the light emission array 3011 and the photoelectric detection array 3021; respectively controls the light emission arrays to emit detection beams according to a certain order and power, and the corresponding light detection arrays receive echo signals.

Abstract

The present invention provides a method for determining a noise level, comprising: S101, obtaining an intensity information-time information curve of an optical signal; S102, clamping the intensity information-time information curve by means of an estimated noise threshold; and S103, determining a noise level by means of the clamped intensity information-time information curve. The present invention further provides a method for ranging by means of a lidar, and a lidar.

Description

确定噪声水平的方法、激光雷达以及测距方法Methods for determining noise levels, lidar, and ranging methods 技术领域technical field
本公开涉及光电探测的技术领域,尤其涉及确定噪声水平的方法、激光雷达以及利用激光雷达进行测距的方法。The present disclosure relates to the technical field of photoelectric detection, and in particular, to a method for determining a noise level, a laser radar, and a method for ranging using the laser radar.
背景技术Background technique
激光雷达是以发射激光束探测目标的位置、速度等特征量的雷达系统,是一种将激光技术与光电探测技术相结合的先进探测方式。激光雷达因其分辨率高、隐蔽性好、抗有源干扰能力强、低空探测性能好、体积小及重量轻等优势,被广泛应用于自动驾驶、交通通讯、无人机、智能机器人、资源勘探等领域。激光雷达所处的环境中,通常充满了各种噪声或者背景光,例如日光、其他车辆的车灯、建筑物灯光、以及其他车辆上的激光雷达发出的激光。为了准确地计算目标物的距离,激光雷达需要尽量精确地获取周围环境中的噪声水平,将自身发射的激光束产生的回波与周围的噪声区分开。在激光雷达中的高精度时间数字转换器(time to digital converter,TDC)测量系统中,探测信号和噪声相互叠加,不能在保证测距精度、效率的基础上获得准确的噪声信息。Lidar is a radar system that emits a laser beam to detect the position, speed and other characteristics of the target. It is an advanced detection method that combines laser technology with photoelectric detection technology. Because of its high resolution, good concealment, strong anti-active interference ability, good low-altitude detection performance, small size and light weight, lidar is widely used in autonomous driving, transportation and communication, unmanned aerial vehicles, intelligent robots, resource exploration and other fields. The environment in which the lidar is located is usually full of various noises or background light, such as sunlight, the lights of other vehicles, the lights of buildings, and the laser light emitted by the lidar on other vehicles. In order to accurately calculate the distance of the target, the lidar needs to obtain the noise level in the surrounding environment as accurately as possible, and distinguish the echo generated by the laser beam emitted by itself from the surrounding noise. In the high-precision time-to-digital converter (TDC) measurement system in lidar, the detection signal and noise are superimposed on each other, and accurate noise information cannot be obtained on the basis of ensuring ranging accuracy and efficiency.
激光雷达中可以使用单光子雪崩二极管(single photon avalanche diode,SPAD)作为探测器,SPAD可被单光子触发雪崩,TDC可以对每次触发的时刻timestamp给出皮秒级精度的测量。某些应用中,多个SPAD的输出端连接到同一TDC,作为一个宏像素(pixel),TDC在提供触发时刻的同时,给出该宏像素内同时触发的SPAD个数。A single photon avalanche diode (SPAD) can be used as a detector in the lidar, and the SPAD can be triggered by a single photon to avalanche. In some applications, the output terminals of multiple SPADs are connected to the same TDC, as a macro pixel (pixel), the TDC provides the trigger moment and the number of SPADs that are simultaneously triggered in the macro pixel.
为了获得当前噪声信息,往往需要预留一段时间不主动发光,用SPAD(s)触发信息来测量噪声,这样会浪费很多测量时间。其他的获取噪声方法,一种是固定噪声信息,即若干周期甚至一段时间内所有周期的探测均采用同一固定的噪声阈值,这样无法获得实时的噪声信息;或者在进行探测的同时, 以回波信号到达时间以外的数据用于计算噪声,但这样噪声和信号会相互影响,难以获得准确的噪声信息。In order to obtain the current noise information, it is often necessary to reserve a period of time not to actively emit light, and use the SPAD(s) trigger information to measure the noise, which will waste a lot of measurement time. Other noise acquisition methods, one is to fix the noise information, that is, the detection of all cycles in several cycles or even a period of time adopts the same fixed noise threshold, so that real-time noise information cannot be obtained; Data other than the arrival time of the signal is used to calculate the noise, but in this way, the noise and the signal will affect each other, and it is difficult to obtain accurate noise information.
背景技术部分的内容仅仅是公开人所知晓的技术,并不当然代表本领域的现有技术。The contents in the Background section are merely technologies known to the disclosed person, and do not of course represent the prior art in the field.
发明内容SUMMARY OF THE INVENTION
有鉴于现有技术的至少一个缺陷,本发明提供一种确定噪声水平的方法,包括:In view of at least one defect of the prior art, the present invention provides a method for determining a noise level, including:
S101:获得光信号的强度信息-时间信息曲线;S101: Obtain an intensity information-time information curve of an optical signal;
S102:利用预估噪声阈值钳位所述强度信息-时间信息曲线;和S102: Clamp the intensity information-time information curve with an estimated noise threshold; and
S103:利用钳位后的强度信息-时间信息曲线,确定噪声水平。S103: Determine the noise level using the clamped intensity information-time information curve.
根据本发明的一个方面,所述强度信息-时间信息曲线为光子数直方图。According to one aspect of the present invention, the intensity information-time information curve is a photon number histogram.
根据本发明的一个方面,所述步骤S101包括:对一个视场范围进行多次扫描,将多次扫描的强度信息相对于时间信息的曲线叠加作为所述强度信息-时间信息曲线。According to an aspect of the present invention, the step S101 includes: scanning a field of view multiple times, and superimposing the intensity information versus time information curves of the multiple scans as the intensity information-time information curve.
根据本发明的一个方面,所述方法还包括:获取光信号的总强度,采用所述总强度计算预估噪声强度,将所述预估噪声强度与预设噪声强度比较,获得较小值,将所述较小值作为预估噪声阈值。According to an aspect of the present invention, the method further includes: acquiring the total intensity of the optical signal, calculating an estimated noise intensity using the total intensity, comparing the estimated noise intensity with a preset noise intensity, and obtaining a smaller value, Take the smaller value as the estimated noise threshold.
根据本发明的一个方面,所述计算预估噪声强度的步骤包括:将总光子数S乘以预设比例K,获得预估噪声光子数,作为所述预估噪声强度,所述预设比例K在0-1之间。According to an aspect of the present invention, the step of calculating the estimated noise intensity includes: multiplying the total number of photons S by a preset ratio K to obtain the estimated noise photon number, as the estimated noise intensity, the preset ratio K is between 0-1.
根据本发明的一个方面,所述步骤S101还包括:通过探测单元接收光信号,所述探测单元包括多个单光子雪崩二极管,所述预设噪声强度基于所述探测单元中单光子雪崩二极管的数目、单光子雪崩二极管的死时间中的一个或多个确定。According to an aspect of the present invention, the step S101 further includes: receiving an optical signal through a detection unit, where the detection unit includes a plurality of single-photon avalanche diodes, and the preset noise intensity is based on the single-photon avalanche diodes in the detection unit. One or more of the number, the dead time of the single photon avalanche diode is determined.
根据本发明的一个方面,所述步骤S103包括:获得所述钳位后的强度信息-时间信息曲线的总强度,相对于时间跨度的平均值,作为所述噪声水平。According to an aspect of the present invention, the step S103 includes: obtaining the total intensity of the clamped intensity information-time information curve, relative to the average value of the time span, as the noise level.
根据本发明的一个方面,在步骤S102中,对任一时间信息对应的强度信息,取所述强度信息和预估噪声阈值之中的较小值作为钳位后的强度信息。According to an aspect of the present invention, in step S102, for the intensity information corresponding to any time information, the smaller value of the intensity information and the estimated noise threshold is taken as the clamped intensity information.
本发明还提供一种通过激光雷达进行测距的方法,包括:The present invention also provides a method for ranging by means of laser radar, comprising:
S201:通过如上所述的方法计算噪声水平;S201: Calculate the noise level by the method described above;
S202:基于所述噪声水平,对所述强度信息-时间信息曲线进行滤噪处理;和S202: Perform noise filtering processing on the intensity information-time information curve based on the noise level; and
S203:基于滤噪处理后的所述强度信息-时间信息曲线,计算目标物的距离。S203: Calculate the distance of the target object based on the intensity information-time information curve after noise filtering.
根据本发明的一个方面,所述步骤S202包括:判断所述强度信息-时间信息曲线的峰值是否高于所述噪声水平;当所述峰值高于所述噪声水平时,基于所述噪声水平,对所述强度信息-时间信息曲线进行滤噪处理。According to an aspect of the present invention, the step S202 includes: judging whether the peak value of the intensity information-time information curve is higher than the noise level; when the peak value is higher than the noise level, based on the noise level, Perform noise filtering processing on the intensity information-time information curve.
根据本发明的一个方面,所述步骤S203包括:根据滤噪后的所述强度信息-时间信息曲线,计算强度信息相对于时间信息的重心,所述重心对应的时间信息作为飞行时间。According to an aspect of the present invention, the step S203 includes: calculating the center of gravity of the intensity information relative to the time information according to the intensity information-time information curve after noise filtering, and the time information corresponding to the center of gravity is taken as the flight time.
根据本发明的一个方面,所述步骤S203包括:根据滤噪后的所述强度信息-时间信息曲线,计算回波脉冲的前沿时间,将所述前沿时间作为飞行时间,其中,所述前沿时间为所述回波脉冲前沿上等于预设阈值的强度信息对应的时间信息。According to an aspect of the present invention, the step S203 includes: calculating the leading edge time of the echo pulse according to the filtered intensity information-time information curve, and using the leading edge time as the flight time, wherein the leading edge time is the time information corresponding to the intensity information on the leading edge of the echo pulse equal to the preset threshold.
本发明还提供一种激光雷达,包括:The present invention also provides a laser radar, comprising:
光发射模块,配置成可发射探测激光束用于探测目标物;a light emission module, configured to emit a detection laser beam for detecting a target;
光探测模块,配置成可接收所述探测激光束在目标物上反射的回波并转换为电信号;和a light detection module configured to receive echoes of the detection laser beam reflected on the target and convert them into electrical signals; and
控制模块,与所述光发射单元和光探测模块耦接,并配置成可执行如上所述的方法以计算目标物的距离。The control module is coupled to the light emitting unit and the light detection module, and is configured to execute the method as described above to calculate the distance of the target.
根据本发明的一个方面,所述光探测模块包括多个探测单元,每个探测单元包括多个单光子雪崩二极管以接收所述回波。According to an aspect of the present invention, the light detection module includes a plurality of detection units, each detection unit includes a plurality of single-photon avalanche diodes to receive the echoes.
附图说明Description of drawings
构成本公开的一部分的附图用来提供对本公开的进一步理解,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The accompanying drawings constituting a part of the present disclosure are used to provide further understanding of the present disclosure, and the exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation of the present disclosure. In the attached image:
图1示出了根据本发明一个实施例的一种确定噪声水平的方法;FIG. 1 shows a method for determining a noise level according to an embodiment of the present invention;
图2中示出了根据本发明一个实施例的强度信息-时间信息曲线;Figure 2 shows an intensity information-time information curve according to an embodiment of the present invention;
图3示出了钳位后的强度信息-时间信息曲线;Figure 3 shows the intensity information-time information curve after clamping;
图4示出了在一次测量中通过多次扫描获得回波光子数的示意图;Figure 4 shows a schematic diagram of the number of echo photons obtained by multiple scans in one measurement;
图5示出了将多次扫描的回波光子数累加后获得直方图的示意图;5 shows a schematic diagram of a histogram obtained by accumulating the number of echo photons of multiple scans;
图6示出了根据本发明一个实施例的探测单元;Figure 6 shows a detection unit according to an embodiment of the present invention;
图7示出了强度信息-时间信息滤噪处理后获得的曲线波形;Fig. 7 shows the curve waveform obtained after the intensity information-time information noise filtering processing;
图8示出了根据本发明一个优选实施例的通过激光雷达进行测距的方法;FIG. 8 shows a method for ranging by a lidar according to a preferred embodiment of the present invention;
图9示出了根据现有技术的数据存储方法;Figure 9 shows a data storage method according to the prior art;
图10和图11示出了根据本发明一个优选实施例的存储方式的具体示意图;10 and 11 show a specific schematic diagram of a storage mode according to a preferred embodiment of the present invention;
图12示出了根据本发明一个实施例的激光雷达的框图。Figure 12 shows a block diagram of a lidar according to one embodiment of the present invention.
具体实施方式Detailed ways
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本发明的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。In the following, only certain exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, 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", "lateral", "length", "width", "thickness", "top", "bottom", "front", " Or The positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, Therefore, it should not be construed as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语"安装"、"相连"、"连接"应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接:可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection Connection, or integral connection: it can be a mechanical connection, an electrical connection or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal communication of two elements or the interaction of two elements relation. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征之"上"或之"下"可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征"之上"、"上方"和"上面"包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征"之下"、"下方"和"下面"包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise expressly specified and limited, a first feature "on" or "under" a second feature may include direct contact between the first and second features, or may include the first and second features Not directly but through additional features between them. Also, the first feature being "above", "over" and "above" the second feature includes that the first feature is directly above and diagonally above the second feature, or simply means that the first feature is level higher than the second feature. The first feature "below", "below" and "beneath" the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature has a lower level than the second feature.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present disclosure may repeat reference numerals and/or reference letters in different instances for the purpose of simplicity and clarity and not in itself indicative of a relationship between the various embodiments and/or arrangements discussed. In addition, the present disclosure provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, but not to limit the present invention.
第一方面first
图1示出了根据本发明一个实施例的一种确定噪声水平的方法100,可用于在激光雷达中确定噪声水平或阈值,下面参考图1详细描述。FIG. 1 shows a method 100 for determining a noise level according to an embodiment of the present invention, which can be used to determine a noise level or threshold in a lidar, which will be described in detail below with reference to FIG. 1 .
在步骤S101:获得光信号的强度信息-时间信息曲线。In step S101 : obtaining the intensity information-time information curve of the optical signal.
图2中示出了根据本发明一个实施例的强度信息-时间信息曲线,其中横坐标为时间信息,纵坐标为表征光信号强度信息的参数值。容易理解,图2中的横坐标非绝对时间坐标,横坐标为激光雷达从发射光脉冲的发射时刻到接收到光信号的时刻之间的时间差。图2所示的强度信息-时间信息曲线可以是激光雷达对某一视场范围的一次扫描中获得的强度信息-时间信息曲线,也可以为对某一视场范围的多次扫描中获得的光信号的强度信息相对于时间信息叠加而形成的曲线,这些都在本发明的保护范围内。根据本发明的一个优选实施例,图2中的纵坐标可以采用光子数来表征光信号的强度。FIG. 2 shows an intensity information-time information curve according to an embodiment of the present invention, wherein the abscissa is the time information, and the ordinate is the parameter value representing the optical signal intensity information. It is easy to understand that the abscissa in FIG. 2 is not an absolute time coordinate, and the abscissa is the time difference between the time when the laser radar transmits the light pulse and the time when the light signal is received. The intensity information-time information curve shown in Fig. 2 can be the intensity information-time information curve obtained in one scan of the lidar for a certain field of view, or it can be obtained in multiple scans of a certain field of view Curves formed by superimposing the intensity information of the optical signal with respect to the time information are all within the protection scope of the present invention. According to a preferred embodiment of the present invention, the ordinate in FIG. 2 can use the number of photons to represent the intensity of the optical signal.
在步骤S102:利用预估噪声阈值钳位所述强度信息-时间信息曲线。In step S102: the intensity information-time information curve is clamped by using an estimated noise threshold.
图2中示出了预估噪声阈值(如图2中的“噪声阈值”的直线所示)。对任一时间信息对应的强度信息,取所述强度信息和预估噪声阈值之中的较小值作为钳位后的强度信息,得到钳位后的强度信息-时间信息曲线。在本实施例中,所述钳位,指的是对任一时间刻度对应的强度信息,比较强度信息和预估噪声阈值中,取较小值作为钳位后的强度信息。即、对于所述强度信息-时间信息曲线中强度信息高于所述预估噪声阈值的部分,取预估噪声阈值;对于所述强度信息-时间信息曲线中强度信息低于所述预估噪声阈值的部分,取实际的强度信息。对总时间跨度内,每一时间刻度处对应的强度信息依次进行比较,得到钳位后的强度信息-时间信息曲线。对于图2所示强度信息-时间信息曲线,采用图2中所设定的预估噪声阈值进行钳位,得到图3示意的钳位后的强度信息-时间信息曲线。Estimated noise thresholds are shown in FIG. 2 (shown by the line of “Noise Thresholds” in FIG. 2 ). For the intensity information corresponding to any time information, the smaller value of the intensity information and the estimated noise threshold is taken as the clamped intensity information, and a clamped intensity information-time information curve is obtained. In this embodiment, the clamping refers to comparing the intensity information corresponding to any time scale with the estimated noise threshold, and taking the smaller value as the intensity information after clamping. That is, for the part of the intensity information-time information curve where the intensity information is higher than the estimated noise threshold, take the estimated noise threshold; for the intensity information-time information curve, the intensity information is lower than the estimated noise For the part of the threshold, take the actual intensity information. In the total time span, the intensity information corresponding to each time scale is compared in turn to obtain a clamped intensity information-time information curve. For the intensity information-time information curve shown in FIG. 2 , the estimated noise threshold set in FIG. 2 is used for clamping, and the clamped intensity information-time information curve shown in FIG. 3 is obtained.
在步骤S103:利用钳位后的强度信息-时间信息曲线,确定噪声水平。In step S103: the noise level is determined using the clamped intensity information-time information curve.
在图3所示的钳位后的强度信息-时间信息曲线的基础上,优选地可以获得钳位后的强度信息相对于时间信息的平均值,作为所述噪声水平。例如可以获得钳位后的强度信息-时间信息曲线所覆盖的区域的面积,再除以总时间跨度,即钳位后的强度信息-时间信息曲线在横轴上的时间跨度,获得钳位后的强度信息相对于时间跨度的平均值,作为所述噪声水平。On the basis of the clamped intensity information-time information curve shown in FIG. 3 , preferably an average value of the clamped intensity information relative to the time information can be obtained as the noise level. For example, the area of the area covered by the clamped intensity information-time information curve can be obtained, and then divided by the total time span, that is, the time span of the clamped intensity information-time information curve on the horizontal axis, and the clamped intensity information-time information curve can be obtained. The intensity information relative to the time span is averaged as the noise level.
作为优选,图3所示的钳位后的强度信息用光子数表征,计算总时间跨度内的总光子数,除以总时间跨度,获得以光子数表征的噪声水平。Preferably, the clamped intensity information shown in FIG. 3 is characterized by the number of photons, and the total number of photons in the total time span is calculated and divided by the total time span to obtain the noise level characterized by the number of photons.
通过上述方法,可以直接利用激光雷达探测获得的强度信息-时间信息曲线来计算噪声值,不需要预留专门测噪声的探测时间;并且在获得一个强度信息-时间信息曲线后,即可根据实时探测数据计算获得与该探测数据对应的噪声水平,即可以在测距的同时获取实时噪声,可提高噪声水平的精度。将实时计算的噪声水平作为对应的测距噪声阈值,可以提高测距精度。Through the above method, the noise value can be calculated directly by using the intensity information-time information curve obtained by lidar detection, and it is not necessary to reserve a special detection time for noise measurement; and after obtaining an intensity information-time information curve, it can be The noise level corresponding to the detection data can be obtained by calculating the detection data, that is, the real-time noise can be acquired while measuring the distance, and the accuracy of the noise level can be improved. Taking the noise level calculated in real time as the corresponding ranging noise threshold can improve the ranging accuracy.
在激光雷达的探测过程中,以单光子雪崩二极管SPAD(s)构成的探测器为例为例,因为SPAD可被单个光子触发雪崩效应,因此容易受到环境噪声的影响;另一方面,SPAD对于激光雷达常用探测光波段的光子探测效率(photon detection efficiency,PDE)较低,单次探测获得的信号强度很弱,如图4所示,一次探测可能在探测时间窗口(SPAD仅在预设的时间窗口内处于盖革模式,即能够被光子触发雪崩效应的状态,该时间窗口称为“探测时间窗口”)内只发生了几次触发,无法区分是被目标物反射的回波信号触发还是被环境噪声触发。根据本发明的一个优选实施例,为了提高激光雷达的测远性能并且降低噪声的影响,如图4所示,可以对同一视场范围进行多次重复扫描。对于每一次扫描而言,发射端的光源发出用以探测的光脉冲,激光雷达的控制器记录发出光脉冲的发射时刻t1,该光脉冲遇到外界的障碍物,被障碍物所反射且回到激光雷达,被接收端的光电探测器所接收。当光电探测器为SPAD(s)阵列时,环境光也可能造成SPAD被触发雪崩。一旦SPAD接收到光子,产生雪崩电信号,传输至时间数字转换器TDC,由TDC输出SPAD 触发的时间信号以及同一时刻被触发的SPAD的数量信号,后续的存储器存储SPAD触发时间减去发射时刻t1的时间戳timestamp(即图2和3横轴表示的时间信息)和该时间戳的触发数量(以下简称cnt)信号。In the detection process of lidar, take the detector composed of single-photon avalanche diode SPAD(s) as an example, because SPAD can be triggered by a single photon to avalanche effect, so it is easily affected by environmental noise; The photon detection efficiency (PDE) of the commonly used detection light band of lidar is low, and the signal intensity obtained by a single detection is very weak. It is in Geiger mode within the time window, that is, the state where the avalanche effect can be triggered by photons. This time window is called the "detection time window". Only a few triggers occur within the time window, and it is impossible to distinguish whether it is triggered by the echo signal reflected by the target or Triggered by ambient noise. According to a preferred embodiment of the present invention, in order to improve the distance measurement performance of the lidar and reduce the influence of noise, as shown in FIG. 4 , the same field of view range can be repeatedly scanned multiple times. For each scan, the light source at the transmitting end emits a light pulse for detection, and the controller of the lidar records the emission time t1 when the light pulse is emitted. The light pulse encounters an external obstacle, is reflected by the obstacle, and returns to the The lidar is received by the photodetector at the receiving end. When the photodetector is an array of SPAD(s), ambient light may also cause the SPAD to be triggered avalanche. Once the SPAD receives the photon, an avalanche electrical signal is generated, which is transmitted to the time-to-digital converter TDC. The TDC outputs the time signal of the SPAD trigger and the signal of the number of SPADs that are triggered at the same time, and the subsequent memory stores the SPAD trigger time minus the launch time t1. The timestamp timestamp (that is, the time information represented by the horizontal axis in Figures 2 and 3) and the trigger number of the timestamp (hereinafter referred to as cnt) signal.
将每次测量得到的触发数量cnt根据时间戳timestamp存入相应的存储器位置中,当某个时间戳timestamp对应位置处有新的触发数量cnt到达时,将原来存储的值与新的触发数量cnt累加然后更新到该位置,多次测量叠加后存储器内即保存了一个直方图,如图5所示,直方图反映了时间轴上不同时间戳timestamp对应的触发数量cnt总和,这样使用直方图计算重心等操作获得回波脉冲对应的飞行时间,然后获得测距结果。The trigger number cnt obtained by each measurement is stored in the corresponding memory location according to the timestamp timestamp. When a new trigger number cnt arrives at the corresponding position of a timestamp timestamp, the original stored value is compared with the new trigger number cnt. Accumulate and then update to this position. After multiple measurements are superimposed, a histogram is saved in the memory. As shown in Figure 5, the histogram reflects the sum of the number of triggers cnt corresponding to different timestamps on the time axis. In this way, the histogram is used to calculate The time of flight corresponding to the echo pulse is obtained by operations such as the center of gravity, and then the ranging result is obtained.
因此根据上述实施例,在激光雷达对于一个视场范围的一次飞行时间测量中,激光雷达实际上执行了多次扫描(多个发射-接收的循环),扫描的数量可从数十次到数百次,在一时间段内对一个视场范围(或近似认为一个目标点)进行多次扫描,将多次扫描中探测器接收到的强度信息相对于时间信息的曲线叠加作为所述强度信息-时间信息曲线。例如如图4所示,在第1次、第2次、…、第n次扫描中,每次扫描仅接收到数量极为有限的回波或者光子,但是将n次扫描的探测结果叠加之后,获得该视场范围一次飞行时间测量的光子数直方图,如图5所示,其中横坐标的刻度为时间信息,时间轴上的刻度宽度通常等于激光雷达中的时间数字转换器的分辨率,也就是激光雷达的探测时间的分辨率。将光子数直方图上每个刻度对应的光子数累加,即可获得总光子数S,用来表征总强度信息。Therefore, according to the above-mentioned embodiment, in one time-of-flight measurement of the lidar for a field of view, the lidar actually performs multiple scans (multiple transmit-receive cycles), and the number of scans can range from dozens to several times. Hundreds of times, scan a field of view (or approximately one target point) within a period of time, and superimpose the curve of the intensity information received by the detector relative to the time information in the multiple scans as the intensity information - Time information curve. For example, as shown in Figure 4, in the 1st, 2nd, ..., nth scans, only a very limited number of echoes or photons are received in each scan, but after the detection results of n scans are superimposed, Obtain the photon number histogram of one time-of-flight measurement in this field of view, as shown in Figure 5, where the scale of the abscissa is time information, and the scale width on the time axis is usually equal to the resolution of the time-to-digital converter in the lidar, That is, the resolution of the detection time of the lidar. The total number of photons S can be obtained by accumulating the number of photons corresponding to each scale on the photon number histogram, which is used to represent the total intensity information.
本发明的上下文中,区分“测量”与“扫描”。具体而言,一次“测量”是对应于在激光雷达的一个探测周期内(即生成一帧点云的周期内)内对某一视场范围进行飞行时间测量从而生成一帧点云图中的一个或者多个(一列或者多列或者一块)“点”,所有视场范围的测量均完成后得到一帧完整的点云;而“扫描”是指在一次测量过程中,一个探测通道内的激光器完成一次发射、探测器完成相应的接收的过程。一次“测量”可包括一次“扫描”,也可以包括对同一目标点的多次“扫描”,例如数百次。In the context of the present invention, a distinction is made between "measurement" and "scanning". Specifically, a "measurement" corresponds to the time-of-flight measurement of a certain field of view within a detection period of the lidar (that is, within the period of generating a frame of point cloud) to generate a point cloud in a frame. Or multiple (one or more columns or one block) "points", a complete frame of point cloud is obtained after the measurement of all fields of view is completed; and "scanning" refers to the laser in a detection channel during a measurement process The process of completing a transmission and the detector completing the corresponding reception. A "measurement" may include a single "scan" or multiple "scans" of the same target point, eg hundreds of times.
根据本发明的一个实施例,所述方法100还包括:获取光信号的总强度,根据所述总强度计算预估噪声强度(例如以光子数来表征),同时根据激光雷达的接收端的参数设定预设噪声强度。According to an embodiment of the present invention, the method 100 further includes: acquiring the total intensity of the optical signal, calculating an estimated noise intensity (for example, represented by the number of photons) according to the total intensity, and setting parameters according to the receiving end of the lidar. Set the preset noise level.
所述光信号的总强度,可以通过总时间跨度内接收的总光子数S来表征。The total intensity of the optical signal can be characterized by the total number of photons S received in the total time span.
所述总时间跨度,对应图2所示曲线记录强度信息的总时间,即时间信息最大值与最小值之差。可以使用所述激光雷达的最大探测距离和最小探测距离分别对应的时间的范围作为所述总时间跨度。或者可替换的,如图2所示,只记录部分时间信息对应的强度信息,作为具体实施例,将预期可获得目标物反射回波的时间段作为强度信息-时间信息曲线的总时间跨度。所述光信号的总强度,可以通过图2中的强度信息-时间信息曲线所覆盖的面积来表征。根据本发明的一个优选实施例,总强度可以通过总时间跨度内接收的总光子数S来表征。The total time span corresponds to the total time during which the intensity information is recorded on the curve shown in FIG. 2 , that is, the difference between the maximum value and the minimum value of the time information. The time range corresponding to the maximum detection distance and the minimum detection distance of the lidar can be used as the total time span. Or alternatively, as shown in FIG. 2 , only the intensity information corresponding to part of the time information is recorded. As a specific embodiment, the time period during which the reflected echo of the target can be expected to be obtained is used as the total time span of the intensity information-time information curve. The total intensity of the optical signal can be characterized by the area covered by the intensity information-time information curve in FIG. 2 . According to a preferred embodiment of the present invention, the total intensity can be characterized by the total number of photons S received in the total time span.
计算预估噪声强度,可以将总时间跨度内的总光子数S乘以预设比例K,获得所述预估噪声光子数,作为所述预估噪声强度,所述预设比例K在0-1之间。预设比例K∈(0,1),可通过仿真或实测获得噪声数占总的光子数的比例的经验值作为K。To calculate the estimated noise intensity, the total number of photons S in the total time span can be multiplied by a preset ratio K to obtain the estimated noise photon number, which is used as the estimated noise intensity, and the preset ratio K is between 0- between 1. The preset ratio K∈(0,1), the empirical value of the ratio of the noise number to the total photon number can be obtained as K through simulation or actual measurement.
在本发明的一个具体实施例中,激光雷达的接收端参数包括总的探测单元(像素)的数目,每个探测单元中的SPAD的数目,以及SPAD的死时间,据此计算SPAD(单位时间)的平均最大噪声触发光子数S max,将所述作为预设噪声强度。关于如何计算S max,下文将给出具体的实施例。 In a specific embodiment of the present invention, the receiving end parameters of the lidar include the total number of detection units (pixels), the number of SPADs in each detection unit, and the dead time of the SPAD, according to which the SPAD (unit time) is calculated. ) of the average maximum noise trigger photon number S max , which is taken as the preset noise intensity. Regarding how to calculate S max , specific examples will be given below.
进一步,将根据强度信息-时间信息曲线计算得到的预估噪声强度和预设噪声强度S max进行比较,获得其中的较小值,将所述较小值作为所述预估噪声阈值。 Further, the estimated noise intensity calculated according to the intensity information-time information curve is compared with the preset noise intensity S max , a smaller value is obtained, and the smaller value is used as the estimated noise threshold.
根据本发明的一个优选实施例,在步骤S102中,对任一时间信息对应的强度信息,取所述强度信息和预估噪声阈值之中的较小值作为钳位后的强度信息。所述步骤S101还包括:通过探测单元接收所述回波,所述探测单元包括多个单光子雪崩二极管。其中所述预设噪声强度基于所述每个探测单元中 单光子雪崩二极管的数目、单光子雪崩二极管的死时间中的一个或多个确定。图6示出了探测单元的一个实施例,如图所示,探测模块包括多个探测单元,图中示出了探测单元P1、P2和P3,每个探测单元分别包括九个单光子雪崩二极管,九个单光子雪崩二极管均连接到一个时间数字转换器TDC,从而TDC能够获得该探测单元中SPAD触发的时间信号以及同一时刻被触发的SPAD的数量信号,并存储到存储器中。According to a preferred embodiment of the present invention, in step S102, for the intensity information corresponding to any time information, the smaller value of the intensity information and the estimated noise threshold is taken as the clamped intensity information. The step S101 further includes: receiving the echo through a detection unit, where the detection unit includes a plurality of single-photon avalanche diodes. The preset noise intensity is determined based on one or more of the number of single-photon avalanche diodes in each detection unit and the dead time of single-photon avalanche diodes. FIG. 6 shows an embodiment of the detection unit. As shown in the figure, the detection module includes a plurality of detection units, and the detection units P1, P2 and P3 are shown in the figure, and each detection unit includes nine single-photon avalanche diodes respectively. , the nine single-photon avalanche diodes are all connected to a time-to-digital converter TDC, so that the TDC can obtain the time signal of the SPAD triggered in the detection unit and the signal of the number of SPADs triggered at the same time, and store them in the memory.
对于图6所示的探测单元,一个探测单元在SPAD死时间内最多发生9次触发。设定图6所示的探测单元中SPAD的死时间均为20ns,同一个SPAD在20ns内最多被触发1次,假设一次测量包括N次扫描,则一个探测单元在一次测量的时间内最多被触发(9*N*探测时间/20ns)次,S max=9*N/20,即总飞行时间内噪声造成的单位时间最大噪声触发光子数,作为预设噪声强度。 For the detection unit shown in Figure 6, a detection unit can trigger up to 9 times within the SPAD dead time. The dead time of the SPAD in the detection unit shown in Figure 6 is set to be 20 ns, and the same SPAD can be triggered at most once within 20 ns. Assuming that one measurement includes N scans, one detection unit can be triggered at most within the time of one measurement. Triggered (9*N*detection time/20ns) times, S max =9*N/20, that is, the maximum number of noise trigger photons per unit time caused by noise in the total flight time, as the preset noise intensity.
上述实施例中,可以直接利用探测获得的强度信息-时间信息曲线(例如直方图)计算噪声水平,不需要预留专门测噪声的探测时间;并且可以在测距的同时获取实时噪声,可作为测距噪声阈值。在激光雷达的数据处理过程中,噪声阈值可用于判断回波是否有效,也就是来自目标物反射的回波脉冲信号还是噪声信号。如果测得回波强度低于噪声阈值,则将其判定为噪声而滤除。如果设定的噪声阈值高于实际噪声水平,会造成实际探测回波被误判为噪声,造成数据丢失;如果设定的噪声阈值低于实际噪声水平,会导致某些噪声信号被判定为目标物反射回波,在点云中产生噪点。另外,激光雷达周围的环境噪声也是不断变化的,不能实时获得噪声也会造成丢点或噪点。本发明的上述实施例可以实时获取噪声水平,提高激光雷达的信噪比,从而提高测距精度。In the above embodiment, the noise level can be calculated directly by using the intensity information-time information curve (such as a histogram) obtained by detection, and it is not necessary to reserve a detection time for noise measurement; and real-time noise can be obtained while ranging, which can be used as Ranging noise threshold. In the data processing process of lidar, the noise threshold can be used to judge whether the echo is valid, that is, the echo pulse signal reflected from the target object or the noise signal. If the measured echo strength is lower than the noise threshold, it is judged as noise and filtered. If the set noise threshold is higher than the actual noise level, the actual detected echo will be misjudged as noise, resulting in data loss; if the set noise threshold is lower than the actual noise level, some noise signals will be judged as targets Objects reflect echoes, creating noise in the point cloud. In addition, the environmental noise around the lidar is also constantly changing, and the inability to obtain the noise in real time will also cause lost points or noise. The above embodiments of the present invention can acquire the noise level in real time, improve the signal-to-noise ratio of the laser radar, and thus improve the ranging accuracy.
本发明还提供一种通过激光雷达进行测距的方法200,包括:The present invention also provides a method 200 for ranging by using a laser radar, including:
S201:通过如上所述的方法100计算噪声水平。S201: Calculate the noise level through the method 100 as described above.
S202:基于所述噪声水平对所述强度信息-时间信息曲线进行滤噪处理。S202: Perform noise filtering processing on the intensity information-time information curve based on the noise level.
作为本发明的一个优选实施例,在所述强度信息-时间信息曲线上获得峰值,即总飞行时间跨度上的强度信息最大值,并判断该峰值是否高于所述噪 声水平,如果高于噪声水平,将所述强度信息-时间信息曲线进行滤噪处理。As a preferred embodiment of the present invention, a peak value is obtained on the intensity information-time information curve, that is, the maximum value of the intensity information on the total flight time span, and it is determined whether the peak value is higher than the noise level, and if it is higher than the noise level level, the intensity information-time information curve is subjected to noise filtering processing.
所述滤噪处理,例如为将每一时间刻度处对应的强度信息与噪声水平比较,保留高于噪声水平的强度信息数据,并将强度信息数据减去噪声水平,获得对应实际探测信号的强度信息-时间信息曲线。The noise filtering process, for example, compares the intensity information corresponding to each time scale with the noise level, retains the intensity information data higher than the noise level, and subtracts the noise level from the intensity information data to obtain the intensity corresponding to the actual detection signal. Information-time information curve.
S203:基于滤噪处理后的所述强度信息-时间信息曲线,计算目标物的距离。S203: Calculate the distance of the target object based on the intensity information-time information curve after noise filtering.
根据本发明的一个优选实施例,所述步骤S203包括:根据滤噪处理后的所述强度信息-时间信息曲线在时间轴上的重心对应的时间信息,作为飞行时间,计算所述目标物的距离。According to a preferred embodiment of the present invention, the step S203 includes: according to the time information corresponding to the center of gravity of the intensity information-time information curve after noise filtering processing on the time axis, as the flight time, calculating the time of the target object. distance.
如图7所示,其中示出了滤噪处理后获得的曲线波形,在此基础上,获得所述曲线波形的重心位置,将该重心位置对应的飞行时间Tof1作为在此次测量过程中的飞行时间,用于计算目标物的距离,生成点云中的一个数据点。As shown in Figure 7, the curve waveform obtained after the noise filtering process is shown. On this basis, the center of gravity position of the curve waveform is obtained, and the flight time Tof1 corresponding to the center of gravity position is taken as the time of flight in this measurement process. Time of flight, which is used to calculate the distance to the target and generate a data point in the point cloud.
另一方面,滤噪处理后的强度信息-时间信息曲线,获取强度信息的最大值,作为回波强度,获取激光雷达发出的探测光强度,可基于该回波强度和探测光强度计算目标物的反射率。On the other hand, from the intensity information-time information curve after noise filtering, the maximum value of the intensity information is obtained, and as the echo intensity, the detection light intensity emitted by the lidar is obtained, and the target object can be calculated based on the echo intensity and the detection light intensity. reflectivity.
图8示出了根据本发明一个优选实施例的通过激光雷达进行测距的方法,其中结合了图4-7所示的探测方式。下面参考图8详细描述。Fig. 8 shows a method for ranging by a lidar according to a preferred embodiment of the present invention, wherein the detection methods shown in Figs. 4-7 are combined. This is described in detail below with reference to FIG. 8 .
在图8的实施例中,在激光雷达的一次测量中,激光雷达执行了多次扫描,以500次为例。In the embodiment of FIG. 8 , in one measurement of the lidar, the lidar performs multiple scans, taking 500 times as an example.
在步骤S301,进行第i次扫描,i初始为1。激光雷达的激光器发射探测的光脉冲,激光雷达的控制器记录发出光脉冲的发射时刻t1,该光脉冲遇到外界的障碍物,被障碍物所反射且回到激光雷达,被接收端的光电探测器所接收。当光电探测器为SPAD(s)阵列时,环境光也可能造成SPAD被触发雪崩。一旦SPAD接收到光子,产生雪崩电信号,传输至时间数字转换器TDC,由TDC输出SPAD触发的时间信号以及同一时刻被触发的SPAD的数量信号,存储SPAD触发时间减去发射时刻t1的时间戳timestamp(即时间信息)和该时间戳的触发数量(以下简称cnt)。In step S301, the i-th scan is performed, and i is initially 1. The laser of the lidar emits the detected light pulse, and the controller of the lidar records the emission time t1 of the emitted light pulse. The light pulse encounters an external obstacle, is reflected by the obstacle and returns to the lidar, and is detected by the photoelectric detection of the receiving end. received by the device. When the photodetector is an array of SPAD(s), ambient light may also cause the SPAD to be triggered avalanche. Once the SPAD receives the photon, it generates an avalanche electrical signal, which is transmitted to the time-to-digital converter TDC. The TDC outputs the time signal of the SPAD trigger and the signal of the number of SPADs that are triggered at the same time, and stores the SPAD trigger time minus the time stamp of the launch time t1. timestamp (that is, time information) and the trigger number of the timestamp (hereinafter referred to as cnt).
在步骤S302,将第i次扫描的探测结果与之前i-1次的探测结果进行累加。当某个时间戳timestamp对应位置处有新的触发数量cnt到达时,将原来存储的值与新的触发数量cnt累加然后更新到该位置。同时,将所有cnt值进行累加(不区分时间戳),获得SPAD总触发数量,用于获取一次测量的光信号总强度。In step S302, the detection results of the i-th scan and the detection results of the previous i-1 times are accumulated. When a new trigger number cnt arrives at the position corresponding to a certain timestamp timestamp, the original stored value and the new trigger number cnt are accumulated and then updated to the position. At the same time, all cnt values are accumulated (time stamps are not distinguished) to obtain the total number of SPAD triggers, which are used to obtain the total intensity of the optical signal for one measurement.
在步骤S303,判断i是否达到了预设的扫描数量N,例如500。如果尚未达到,则对i进行累加,回到步骤S301,继续进行扫描探测。如果已经达到了预设的扫描数量N,则进行到步骤S304。In step S303, it is determined whether i has reached a preset number of scans N, for example, 500. If it has not been reached yet, accumulate i, and go back to step S301 to continue scanning detection. If the preset number of scans N has been reached, proceed to step S304.
在步骤S304,生成直方图。由于已经完成了N次扫描,每次扫描的得到的触发数量cnt根据时间戳timestamp存入相应的存储器位置中,多次测量叠加后,存储器中即存储了一个直方图,如图5所示,直方图反映了时间轴上不同时间戳timestamp对应的触发数量cnt总和。存储器中的数据可读出作为直方图。同时,所有cnt值进行累加即获得了一次测量的以光子数表征的光信号总强度。In step S304, a histogram is generated. Since N scans have been completed, the number of triggers cnt obtained in each scan is stored in the corresponding memory location according to the time stamp timestamp. After multiple measurements are superimposed, a histogram is stored in the memory, as shown in Figure 5. The histogram reflects the sum of the number of triggers cnt corresponding to different timestamps on the timeline. The data in memory can be read out as a histogram. At the same time, all the cnt values are accumulated to obtain the total intensity of the optical signal represented by the number of photons in one measurement.
在步骤S305,对直方图的数据进行滤波。之后分别进行步骤S306和S307。In step S305, the data of the histogram is filtered. After that, steps S306 and S307 are performed respectively.
在步骤S306,获得噪声的水平,例如根据上述的方法100获得激光雷达周围的噪声阈值。In step S306, the noise level is obtained, for example, the noise threshold around the lidar is obtained according to the method 100 described above.
在步骤S307,根据滤波后的直方图寻找信号的峰值,即寻找直方图中纵坐标最大的点。In step S307, the peak value of the signal is found according to the filtered histogram, that is, the point with the largest ordinate in the histogram is found.
在步骤S308,根据在步骤S306获得的噪声水平,判断步骤S307中找到的信号峰值是否有效,即信号峰值是否大于噪声的水平。当信号峰值大于噪声的水平时,信号峰值有效,然后进行步骤309。当信号峰值低于噪声水平时,该信号峰值无效,不作处理。In step S308, according to the noise level obtained in step S306, it is determined whether the signal peak value found in step S307 is valid, that is, whether the signal peak value is greater than the noise level. When the signal peak value is greater than the noise level, the signal peak value is valid, and then step 309 is performed. When the signal peak value is lower than the noise level, the signal peak value is invalid and not processed.
在步骤S309,获得测距信息。In step S309, ranging information is obtained.
作为本发明的一个实施方式,计算强度信息在总时间跨度上的重心,将重心对应的时间信息作为飞行时间,用于计算目标物的距离。As an embodiment of the present invention, the center of gravity of the intensity information in the total time span is calculated, and the time information corresponding to the center of gravity is used as the flight time to calculate the distance of the target object.
作为本发明的另一个实施方式,采用回波脉冲前沿时间计算目标物的距 离。具体的,将回波脉冲前沿的强度信息与预设阈值相比,将强度等于预设阈值的强度信息对应的时间信息作为飞行时间。As another embodiment of the present invention, the distance to the target object is calculated using the echo pulse leading edge time. Specifically, the intensity information of the front edge of the echo pulse is compared with a preset threshold, and the time information corresponding to the intensity information whose intensity is equal to the preset threshold is used as the flight time.
作为一个实施方式,上述预设阈值为噪声阈值。As an embodiment, the above-mentioned preset threshold is a noise threshold.
作为一个实施方式,上述预设阈值为信号峰值和噪声阈值的平均值。As an embodiment, the above-mentioned preset threshold is an average value of the signal peak value and the noise threshold value.
所述步骤309,可以采用上述S202-S203的方法,基于所述噪声水平,对所述强度信息-时间信息曲线进行滤噪处理,然后基于滤噪处理后的所述强度信息-时间信息曲线,计算目标物的距离和/或反射率。In step 309, the above-mentioned methods of S202-S203 may be used to perform noise filtering processing on the intensity information-time information curve based on the noise level, and then based on the intensity information-time information curve after the noise filtering processing, Calculate the distance and/or reflectivity of the target.
在本发明的上述实施例中,在激光雷达的一次测量过程中,以N次扫描的探测结果进行叠加存储,完成所有扫描后,存储器中的数据可读出作为直方图,直方图数据进行滤波,寻找信号峰值。采用本发明的噪声计算方法可获得该直方图的实时噪声值,作为当前噪声阈值,判断直方图信号峰值大于噪声阈值时,该峰值为有效峰值,进而计算回波到达时间。因此在一次测量结束后就可以几乎同时地获得本次测量的噪声水平以及测距信息,相比于为激光雷达设置统一噪声阈值的方案,本发明实施例的动态计算噪声水平的方案更加精确。In the above-mentioned embodiment of the present invention, during a measurement process of the lidar, the detection results of N scans are superimposed and stored. After all scans are completed, the data in the memory can be read out as a histogram, and the histogram data is filtered. , look for signal peaks. Using the noise calculation method of the present invention, the real-time noise value of the histogram can be obtained as the current noise threshold. When it is judged that the peak value of the histogram signal is greater than the noise threshold, the peak value is an effective peak value, and then the echo arrival time is calculated. Therefore, the noise level and ranging information of the current measurement can be obtained almost simultaneously after one measurement is completed. Compared with the solution of setting a uniform noise threshold for the lidar, the solution of dynamically calculating the noise level of the embodiment of the present invention is more accurate.
采用本发明实施例的方案计算出噪声水平,将强度信息滤除噪声后再进行目标物距离和/或反射率的计算,滤躁处理后的强度信息能够反映更真实的回波脉冲信号,有利于提高测量精度。The noise level is calculated by using the scheme of the embodiment of the present invention, and the distance and/or reflectivity of the target object are calculated after the intensity information is filtered out of the noise. The filtered intensity information can reflect a more real echo pulse signal. Conducive to improving the measurement accuracy.
第二方面the second aspect
本发明的第二方面涉及激光雷达的探测数据的存储方法,可以结合应用于本发明第一方面的确定噪声水平的方法100。The second aspect of the present invention relates to a method for storing detection data of a lidar, which can be combined with the method 100 for determining a noise level applied to the first aspect of the present invention.
在一些激光雷达的时间数字转换器中,在其时间分辨率的每个时间刻度都需要有一个对应的存储位置,多次测量获得的所有的触发的SPAD个数信息cnt均存储在与时刻相对应的存储位置内,而时间数字转换器TDC的时间分 辨率能够达到皮秒ps的量级,因此需要非常大空间的寄存器。具体解释如下。In some lidar time-to-digital converters, each time scale of its time resolution needs to have a corresponding storage location, and all the triggered SPAD number information cnt obtained by multiple measurements are stored in the same time as the time. In the corresponding storage location, the time resolution of the time-to-digital converter TDC can reach the order of picoseconds ps, so a register with a very large space is required. The specific explanation is as follows.
SPAD可被单个光子触发雪崩效应,因此容易受到环境光噪声的影响;另一方面,SPAD对于激光雷达常用探测光波段的光子探测效率(photon detection efficiency,PDE)较低,单次探测获得的信号强度很弱,如图4所示,一次探测扫描中,可能在探测时间窗口内只发生了几次触发(图4中为两次触发),无法区分是回波信号还是环境光噪声。为了提高激光雷达的测远性能并且降低噪声的影响,如图4所示,激光雷达在对同一视场范围的一次探测过程中,可以进行多次重复测量(一次测量称为一次扫描(sweep),重复次数可达400-500次,也可以更多次或更少次),多次测量或扫描的结果累积得到一个直方图,并以此测得距离,进而获得激光雷达点云上的一个点。SPAD can be triggered by a single photon to avalanche effect, so it is easily affected by ambient light noise; on the other hand, SPAD has low photon detection efficiency (PDE) for the commonly used detection light band of lidar, and the signal obtained by a single detection The intensity is very weak, as shown in Figure 4. In a detection scan, only a few triggers may occur within the detection time window (two triggers in Figure 4), and it is impossible to distinguish whether it is an echo signal or ambient light noise. In order to improve the range-finding performance of the lidar and reduce the influence of noise, as shown in Figure 4, the lidar can perform multiple repeated measurements during one detection of the same field of view (one measurement is called a sweep). , the number of repetitions can reach 400-500 times, or more or less), the results of multiple measurements or scans are accumulated to obtain a histogram, and the distance is measured from this, and then a point cloud on the lidar is obtained. point.
对于一次扫描而言,激光雷达的控制器通过给SPAD供应高压的方式来选通部分(一行或一列或任意感兴趣的形状)宏像素,然后发送同步信号通知发射端的激光器可以发光,发射端的激光器于时刻t a(a表示第a次扫描)发出用以探测的光脉冲,该光脉冲遇到外界的障碍物,被障碍物所反射且回到激光雷达,可被接收端的光电探测器所接收。当光电探测器为SPAD(s)阵列时,一旦SPAD接收到光子,产生雪崩电信号,传输至时间数字转换器,由时间数字转换器输出SPAD触发的时间信号t 1a以及同一时刻被触发的SPAD的数量信号cnt 1a(此处1a即表示第a次扫描的第1次触发),经过相减程序计算t 1a-t a的时间戳timestamp 1a(以下简称tp 1a),将tp 1a和该时间戳的触发数量cnt 1a信号传输并存储在存储器中。一个宏像素内包括多个SPAD,且SPAD在死时间之后可以再次探测,所以在一次扫描中,可能在另一时刻又发生了SPAD触发,存储器存储这一次触发的tp 2a和cnt 2a(2a即表示第a次探测的第2次触发)。一次扫描中的多次触发均需要按时间信息进行存储。 For one scan, the controller of the lidar gates some (a row or column or any shape of interest) macro pixels by supplying high voltage to the SPAD, and then sends a synchronization signal to notify the laser at the transmitter that it can emit light, and the laser at the transmitter At time t a (a represents the a-th scan), a light pulse for detection is sent out. The light pulse encounters an external obstacle, is reflected by the obstacle and returns to the lidar, and can be received by the photodetector at the receiving end. . When the photodetector is a SPAD(s) array, once the SPAD receives the photons, an avalanche electrical signal is generated, which is transmitted to the time-to-digital converter, and the time-to-digital converter outputs the time signal t 1a triggered by the SPAD and the SPAD triggered at the same time. The number signal cnt 1a (here 1a represents the first trigger of the a-th scan), the timestamp 1a (hereinafter referred to as tp 1a ) of t 1a -t a is calculated by the subtraction procedure, and tp 1a and the time The number of triggers for stamping the cnt 1a signal is transmitted and stored in memory. A macro pixel includes multiple SPADs, and SPADs can be detected again after the dead time, so in one scan, SPAD triggering may occur at another time, and the memory stores tp 2a and cnt 2a of this trigger (2a is Represents the 2nd trigger of the a-th probe). Multiple triggers in one scan need to be stored as time information.
在下一次扫描b,激光雷达的控制器按照预设程序,再次发送信号控制发射端于t b时刻发出探测光脉冲。一旦SPAD接收到光子,雪崩电信号传输至时间数字转换器TDC,由时间数字转换器TDC输出SPAD触发的时间信号t 1b 以及同一时刻被触发的SPAD的数量信号cnt 1b(第b次探测的第1次触发),后续的存储器存储SPAD触发时间t 1b-t b的时间戳timestamp 1b(以下简称tp 1b)和该时间戳的触发数量cnt 1b信号。一个宏像素内包括多个SPAD,且SPAD在死时间之后可以再次探测,所以在一次扫描中,可能在另一时刻又发生了SPAD触发,存储器存储这一次触发的tp 2b和cnt 2bIn the next scan b, the controller of the lidar sends a signal again according to the preset program to control the transmitting end to send out the detection light pulse at time t b . Once the SPAD receives the photon, the avalanche electrical signal is transmitted to the time-to-digital converter TDC, and the time-to-digital converter TDC outputs the time signal t 1b triggered by the SPAD and the signal cnt 1b of the number of SPADs triggered at the same time (the b-th detection 1 trigger), the subsequent memory stores the timestamp timestamp 1b (hereinafter referred to as tp 1b ) of the SPAD trigger time t 1b -t b and the trigger number cnt 1b signal of the timestamp. A macro pixel includes multiple SPADs, and the SPADs can be detected again after the dead time, so in one scan, the SPAD may be triggered again at another time, and the memory stores tp 2b and cnt 2b of this trigger.
几百次测量中,将每次测量得到的触发数量cnt根据时间戳timestamp存入相应的存储器位置中,当同样时间戳timestamp对应位置处有新的触发数量cnt到达时,将原来存储的值与新的触发数量cnt累加然后更新到该位置,多次扫描叠加后存储器内即保存了一个直方图,如图5所示,直方图反映了时间轴上不同时间戳timestamp对应的触发数量cnt总和,这样使用直方图计算重心或前沿时间等操作获得回波对应的时间信息,作为用于距离计算的飞行时间,生成点云上的一个点。In hundreds of measurements, the trigger number cnt obtained by each measurement is stored in the corresponding memory location according to the timestamp. When a new trigger number cnt arrives at the corresponding location of the same timestamp, the original stored value is compared with The new trigger number cnt is accumulated and then updated to this position. After multiple scans and stacking, a histogram is saved in the memory. As shown in Figure 5, the histogram reflects the sum of the trigger numbers cnt corresponding to different timestamps on the time axis. In this way, the histogram is used to calculate the center of gravity or the frontier time and other operations to obtain the time information corresponding to the echo, which is used as the flight time for distance calculation to generate a point on the point cloud.
一种数据存储方法如图9所示,横坐标为时间t,横坐标的刻度间隔为TDC的分辨率,每一时间刻度对应一个存储位置R(寄存器)。比如某一次探测扫描a,在时间刻度0发生SPAD触发,根据发射时间和TDC传输的触发时间计算获得时间戳tp 1(触发时间-本次发射时间)和触发数量信息cnt 1a,将cnt 1a存储在tp 1时刻对应的存储位置R1;在时间刻度4如果发生了SPAD触发,获得时间信息tp 5和cnt 5a,将cn 5a存储在tp 5对应的存储位置R5。在另一次探测扫描b,在时间刻度4也发生了SPAD触发,获得时间信息tp 5和cnt 5b,cnt 5b也对应存储位置R5,此时将cnt 5a读出,再将cnt 5b与cnt 5a相加的值更新到R5。(结合图9,a表示第a次探测,b即第b次探测,数字表示对应的时间刻度和相应的存储位置;存储位置R与时间刻度一一对应,存储器只存储触发数量cnt,数据处理电路读取数据时根据存储位置即可获知触发数量cnt对应的时间)。 A data storage method is shown in Figure 9. The abscissa is time t, the scale interval of the abscissa is the resolution of TDC, and each time scale corresponds to a storage location R (register). For example, in a certain detection scan a, a SPAD trigger occurs at time scale 0. According to the transmission time and the trigger time of TDC transmission, the timestamp tp 1 (trigger time - the current transmission time) and the trigger number information cnt 1a are obtained by calculation, and cnt 1a is stored. At the corresponding storage location R1 at time tp 1 ; if a SPAD trigger occurs at time scale 4, obtain time information tp 5 and cnt 5a , and store cn 5a in the storage location R5 corresponding to tp 5 . In another detection scan b , SPAD triggering also occurs at time scale 4, and time information tp 5 and cnt 5b are obtained, and cnt 5b also corresponds to the storage location R5. The added value is updated to R5. (combined with Fig. 9, a represents the a-th detection, b is the b-th detection, and the numbers represent the corresponding time scale and the corresponding storage location; the storage location R corresponds to the time scale one-to-one, the memory only stores the trigger number cnt, and the data processing When the circuit reads the data, the time corresponding to the trigger number cnt can be known according to the storage location).
参考图9可知,一个直方图由很多次探测扫描(400-500次)的数据累加获得,在几百次扫描的探测结果叠加成一个直方图,获得点云中一个点的过程中,某一时间刻度对应的存储位置存储的是该时刻发生触发的所有触发 数量cnt累加的和。虽然一次扫描中并不会在每个时间刻度处都发生SPAD触发,但如图9所示,一个直方图数据是由很多次探测结果叠加的,每一个时间刻度处都有可能在某一次扫描过程中发生SPAD触发,使存储器收到对应的数据。因此,对于一个TDC,每个时间刻度都需要有一个对应的存储位置,多次测量获得的所有的触发数量cnt均存储在与时刻相对应的存储位置内,tp的时间间隔、即TDC的分辨率达到ps量级,需要非常大空间的寄存器。Referring to Figure 9, it can be seen that a histogram is obtained by accumulating the data of many detection scans (400-500 times), and the detection results of hundreds of scans are superimposed into a histogram to obtain a point in the point cloud. The storage location corresponding to the time scale stores the accumulated sum of all the trigger quantities cnt triggered at this moment. Although SPAD triggering does not occur at every time scale in a scan, as shown in Figure 9, a histogram data is superimposed by many detection results, and each time scale may be triggered at a certain scan A SPAD trigger occurs during the process, so that the memory receives the corresponding data. Therefore, for a TDC, each time scale needs to have a corresponding storage location, and all the trigger numbers cnt obtained from multiple measurements are stored in the storage location corresponding to the time. The time interval of tp, that is, the resolution of TDC The rate is on the order of ps, requiring very large registers.
采用这样的存储和测距方法,由于时间戳timestamp的精度单位为ps量级,需要较长tof探测时,要存储一个完整的直方图需要消耗极大的存储器,消耗极大的存储空间。特别是为了提高测远能力,需要增大测量的时长和重复测量次数,对存储空间的要求也不断增大。With such a storage and ranging method, since the accuracy of the timestamp is in the order of ps, when a long tof detection is required, it requires a great deal of memory and storage space to store a complete histogram. In particular, in order to improve the distance measuring ability, it is necessary to increase the measurement duration and the number of repeated measurements, and the requirements for storage space are also increasing.
本申请的发明人构思出,不必对于TDC时间分辨率的每个时间刻度都设置对应的存储位置,在存储探测数据时,不按照时间分辨率来存储,而是以更低的时间精度,按照时间信息的权重来存储强度信息。本发明采用加权累加的数据存储方法,在保留测距精度的情况下对原始信号做压缩,极大地减少存储直方图所需的存储空间。具体的,加权累加的数据存储方法可将总的存储空间减小到原来的1/10范围。The inventor of the present application has conceived that it is not necessary to set a corresponding storage location for each time scale of the TDC time resolution. The weight of the time information to store the intensity information. The invention adopts the data storage method of weighted accumulation, compresses the original signal under the condition of keeping the ranging precision, and greatly reduces the storage space required for storing the histogram. Specifically, the weighted accumulation data storage method can reduce the total storage space to 1/10 of the original range.
具体的,本发明存储强度信息的时间精度为第一时间精度,第一时间精度可以为时间数字转换器TDC时间分辨率的n倍。所述强度信息,指的是对应时间信息的光信号强度信息,对于不同的光电探测器,可用不同的参数表征光信号强度:例如探测器为SPAD阵列,可采用对应时间信息的同时触发的SPAD数量作为强度信息;若探测器为SiPM,可采用对应时间信息的输出电平/电流强度表示光信号强度信息。Specifically, the time precision of the stored intensity information in the present invention is the first time precision, and the first time precision may be n times the time resolution of the time-to-digital converter TDC. The intensity information refers to the optical signal intensity information corresponding to the time information. For different photodetectors, different parameters can be used to represent the optical signal intensity: for example, the detector is a SPAD array, and the SPAD that is triggered at the same time corresponding to the time information can be used. The quantity is used as the intensity information; if the detector is SiPM, the output level/current intensity corresponding to the time information can be used to represent the optical signal intensity information.
下面参考附图详细描述。A detailed description will be given below with reference to the accompanying drawings.
首先,雷达的探测数据包括时间信息和与时间信息对应的强度信息。First, the detection data of the radar includes time information and intensity information corresponding to the time information.
以图6所示的探测单元为例,所述时间信息为探测单元(P1、P2、P3……)中一个或多个单光子雪崩二极管SPAD被触发的时间,所述强度信息为在该触发时间被触发的单光子雪崩二极管SPAD的数量,即通过被触发的单光子雪崩 二极管SPAD的数量来表征光信号的强度。根据本发明的一个优选实施例,所述时间信息为触发单光子雪崩二极管SPAD的时间戳timestamp,即从激光器发射的时间t a与单光子雪崩二极管SPAD被触发的时间t 1a之间的时间差t 1a-t aTaking the detection unit shown in FIG. 6 as an example, the time information is the time when one or more single-photon avalanche diode SPADs in the detection unit (P1, P2, P3...) are triggered, and the intensity information is the triggering time. The number of single-photon avalanche diodes SPADs that are triggered by time, that is, the intensity of the optical signal is characterized by the number of single-photon avalanche diodes SPADs that are triggered. According to a preferred embodiment of the present invention, the time information is the time stamp timestamp of the triggering of the single-photon avalanche diode SPAD, that is, the time difference t between the time t a emitted from the laser and the time t 1a when the single-photon avalanche diode SPAD is triggered 1a -t a .
图6的实施例中,以单光子雪崩二极管SPAD为例进行了说明,本领域技术人员容易理解,本发明不限于此,也可以采用其他类型的光电探测器,包括但不限于雪崩光电二极管APD、硅光电倍增管SiPM等。In the embodiment of FIG. 6 , the single-photon avalanche diode SPAD is used as an example for illustration. Those skilled in the art can easily understand that the present invention is not limited to this, and other types of photodetectors can also be used, including but not limited to avalanche photodiode APD. , silicon photomultiplier tube SiPM, etc.
本发明的数据存储方法具体为:以第一时间精度,按照所述时间信息的权重,存储所述强度信息;所述第一时间精度为任意两个相邻第一时间刻度之间的时间间隔,且为所述雷达的探测数据的时间分辨率的n倍,其中n>1;所述权重与所述时间信息和至少一个第一时间刻度的时间间隔相关联。The data storage method of the present invention is specifically as follows: with a first time precision, according to the weight of the time information, the intensity information is stored; the first time precision is the time interval between any two adjacent first time scales , and is n times the time resolution of the radar detection data, where n>1; the weight is associated with the time information and the time interval of at least one first time scale.
图10和图11示出了根据本发明一个优选实施例的存储方式的具体示意图,下面参考图10和图11详细描述本发明数据存储方法的实施。Figures 10 and 11 show a specific schematic diagram of a storage method according to a preferred embodiment of the present invention, and the implementation of the data storage method of the present invention will be described in detail below with reference to Figures 10 and 11 .
图10中,横坐标为飞行时间,横坐标的时间刻度的间隔例如为激光雷达的时间分辨率,例如时间数字转换器TDC的时间分辨率,可达到皮秒ps的量级。如图10所示,在激光雷达的时间分辨率的基础上设置了第一时间刻度,如图10中的A和A+1所示,相邻的两个第一时间刻度之间跨过16个所述激光雷达的时间分辨率的间隔。当在时刻x处探测到光子时(例如图6所示的一个探测单元中一个或多个单光子雪崩二极管SPAD被触发),按照所述时刻x的权重来存储探测到的强度值。时刻x表示所述该时刻与其左侧相邻的第一时间刻度A的时间间隔为x倍的雷达探测数据时间分辨率。In Figure 10, the abscissa is the flight time, and the interval of the time scale of the abscissa is, for example, the time resolution of the lidar, such as the time resolution of the time-to-digital converter TDC, which can reach the order of picoseconds ps. As shown in Figure 10, the first time scale is set based on the time resolution of the lidar. As shown in A and A+1 in Figure 10, the interval between two adjacent first time scales spans 16 interval of the time resolution of the lidar. When a photon is detected at time x (eg, one or more single-photon avalanche diodes SPAD in a detection unit shown in FIG. 6 are triggered), the detected intensity value is stored according to the weight of said time x. Time x represents the time resolution of radar detection data where the time interval between the time and the first time scale A adjacent to the left of the time is x times.
本领域技术人员容易理解,由于激光雷达的时间分辨率较小,第一时间刻度的间隔较大,因此对应于激光雷达时间分辨率的时间刻度也可称为“细刻度”,第一时间刻度也可称为“粗刻度”。Those skilled in the art can easily understand that since the time resolution of lidar is small and the interval of the first time scale is large, the time scale corresponding to the time resolution of lidar can also be called "fine scale". Also known as "coarse scale".
如图10所示,所述时刻x的权重包括第一权重和第二权重,第一权重与所述时刻x和其中一个相邻的第一时间刻度之间的时间间隔相关联,第二权重与所述时刻x与另一个相邻的第一时间刻度之间的时间间隔相关联。确定 了第一权重和第二权重之后,以第一时间精度,分别按照所述第一权重和第二权重,存储所述强度信息。As shown in FIG. 10 , the weight of the time x includes a first weight and a second weight, the first weight is associated with the time interval between the time x and one of the adjacent first time scales, and the second weight Associated with the time interval between said instant x and another adjacent first time scale. After the first weight and the second weight are determined, the intensity information is stored according to the first weight and the second weight, respectively, with the first time precision.
根据本发明的一个优选实施例,所述第一权重与所述时刻x和其左侧相邻的第一时间刻度A之间的时间间隔相关联,第一权重例如为(16-x),所述第二权重为所述时刻x和其右侧相邻的第一时间刻度A+1之间的时间间隔相关联,第二权重例如为x。因此,将时刻x用其在相邻的两个粗刻度(A,A+1)处的权重来替代表示,其中x在粗刻度A处的权重为(16-x),在粗刻度A+1的权重为x(x表征该时刻距离A的距离),以此来等效该时刻x的细刻度。换言之,通过将x作为权重,将细刻度处的数据存储到相邻两个粗刻度对应地址上,来表示刻度x的数值,而非存储刻度x本身。这个过程用等式表示如下:According to a preferred embodiment of the present invention, the first weight is associated with the time interval between the moment x and the first time scale A adjacent to the left thereof, and the first weight is, for example, (16-x), The second weight is associated with the time interval between the moment x and the first time scale A+1 adjacent to the right side thereof, and the second weight is, for example, x. Therefore, the moment x is represented by its weight at two adjacent coarse scales (A, A+1), where the weight of x at coarse scale A is (16-x), and at coarse scale A+ The weight of 1 is x (x represents the distance from A at this moment), which is equivalent to the fine scale of x at this moment. In other words, by using x as a weight, the data at the fine scale is stored at the addresses corresponding to two adjacent thick scales to represent the value of the scale x, rather than storing the scale x itself. This process is represented by the equation as follows:
A*(16-x)+(A+1)*x=A*16+xA*(16-x)+(A+1)*x=A*16+x
式中,等号左边为按照粗刻度存储、粗刻度起始值和结束值施加权重的和,等号右边为时间戳的具体值。可见,用粗刻度+权重的存储方法能够准确表征时间戳的具体值。In the formula, the left side of the equal sign is the sum of the weights applied according to the coarse scale storage, the start value and the end value of the coarse scale, and the right side of the equal sign is the specific value of the timestamp. It can be seen that the storage method of coarse scale + weight can accurately represent the specific value of the timestamp.
类似的,当触发得到的信号除了时间戳还包括表示触发的数目或者强度等信息的触发数量cnt时,粗刻度A上新增的强度信息为cnt*(16-x),粗刻度A+1上新增的强度信息为cnt*x,在多次扫描中分别进行累加即可。参考图11进行详细描述。细刻度表示时间数字转换器TDC时间分辨率。对于某个时间戳timestamp,其粗刻度的起始值为A,其细刻度在其粗刻度中对应的0-15细标尺x刻度处。Similarly, when the signal obtained by triggering includes the number of triggers cnt indicating the number of triggers or information such as intensity in addition to the timestamp, the newly added intensity information on the coarse scale A is cnt*(16-x), and the coarse scale A+1 The newly added intensity information is cnt*x, which can be accumulated separately in multiple scans. A detailed description will be made with reference to FIG. 11 . The fine scale represents the time-to-digital converter TDC time resolution. For a timestamp, the starting value of its coarse scale is A, and its fine scale is at the corresponding 0-15 fine scale x scale in its coarse scale.
参考图11,为每一个粗刻度分配了一个寄存器,横坐标的粗刻度间隔为16倍的TDC分辨率,每一粗刻度对应一个寄存器。在某一次扫描a过程中,在时间刻度0处发生了SPAD触发,获得时间信息tp 1(对应的x 1a=0)和触发数量信息cnt 1a,分别在粗刻度A对应的寄存器A存储cnt 1a*(16-x 1a),在粗刻度A+1对应的寄存器A+1存储cnt 1a*x 1a;在另一时间刻度5,获得时间信息tp 6(对应的x6 a=5)和触发数量信息cnt 6a,将在粗刻度A对应的寄存器A内 存储的数据读出,加上cnt 6a*(16-x 6a)后再存储在寄存器A;将粗刻度A+1对应的寄存器A+1的数据读出,加上cnt 6a*x 6a后重新存储在寄存器A+1。一个粗刻度时间(细刻度0~15)内,所有的触发数量信息cnt均施加权重,与原有数据求和后存储在存储位置A和A+1对应的寄存器内。下一个粗刻度时间内的触发数量信息cnt施加权重后存储在粗刻度A+1和A+2对应的寄存器中,例如时刻2’处发生了SPAD触发,获得时间信息tp 3’和cnt 3a’,则在粗刻度A+1对应的寄存器A+1内存储的数据加上cnt 3a’*(16-x 3a’),在粗刻度A+2对应的寄存器A+2内存储cnt 3a’*x 3a’。 Referring to FIG. 11 , a register is allocated for each coarse scale, the coarse scale interval of the abscissa is 16 times the TDC resolution, and each coarse scale corresponds to a register. During a certain scan a, a SPAD trigger occurs at time scale 0, time information tp 1 (corresponding to x 1a =0) and trigger quantity information cnt 1a are obtained, and cnt 1a is stored in register A corresponding to coarse scale A, respectively *(16-x 1a ), store cnt 1a *x 1a in register A+1 corresponding to coarse scale A+1; at another time scale 5, obtain time information tp 6 (corresponding to x6 a = 5) and the number of triggers For the information cnt 6a , read out the data stored in the register A corresponding to the coarse scale A, add cnt 6a *(16-x 6a ), and then store it in the register A; read the register A+1 corresponding to the coarse scale A+1 The data read out, add cnt 6a *x 6a and re-store it in register A+1. In a coarse scale time (fine scale 0 to 15), all trigger quantity information cnt is weighted, and stored in the registers corresponding to storage positions A and A+1 after summing with the original data. The trigger quantity information cnt in the next coarse scale time is weighted and stored in the registers corresponding to the coarse scales A+1 and A+2. For example, when a SPAD trigger occurs at time 2', the time information tp 3 ' and cnt 3a ' are obtained. , then add cnt 3a '*(16-x 3a ') to the data stored in register A+1 corresponding to coarse scale A+1, and store cnt 3a '* in register A+2 corresponding to coarse scale A+2 x 3a '.
下一次扫描b的过程中,收到的信号tp 2和cnt 2b,分别在粗刻度A和A+1分配权重cnt 2b*(16-x 2b)和cnt 2b*x 2b,分别与原存储数据求和后存储在粗刻度A和A+1对应的寄存器中。一个直方图由很多次扫描的数据累加获得,若干次扫描中,在时刻0~15对应发生触发的所有触发数量cnt均在粗刻度A和A+1对应的寄存器中进行存储。 In the process of the next scan b, the received signals tp 2 and cnt 2b are assigned weights cnt 2b *(16-x 2b ) and cnt 2b *x 2b on the coarse scale A and A+1 respectively, which are respectively the same as the original stored data. After the summation is stored in the registers corresponding to the coarse scale A and A+1. A histogram is obtained by accumulating the data of many scans. In several scans, all the trigger numbers cnt corresponding to the triggers at times 0 to 15 are stored in the registers corresponding to the coarse scales A and A+1.
相对于每个细刻度处都需要一个寄存器进行数据存储的方案,本发明采用了加权累加存储方法,只需要在0~n+1的粗刻度对应设置寄存器,所需要的寄存器数量缩减到原来的1/16,虽然每个寄存器存储的位宽增大,占用的空间变大,但因为需要分配的存储位置大大减少,加权累加的数据存储方法可将总的存储空间减小到原来的1/10范围。Compared with the scheme that requires a register for data storage at each fine scale, the present invention adopts the weighted accumulation storage method, only needs to set registers corresponding to the coarse scales from 0 to n+1, and the required number of registers is reduced to the original one. 1/16, although the storage bit width of each register increases, the space occupied becomes larger, but because the storage location to be allocated is greatly reduced, the weighted accumulation data storage method can reduce the total storage space to the original 1/ 10 ranges.
图10-11的实施例中,相邻的第一时间刻度(粗刻度)的时间间隔为雷达探测数据时间分辨率(细刻度)的16倍,即使用16为权重进行数据压缩。本领域技术人员容易理解,本发明不限于此,这里权重可以是任何较大的正整数。作为优选,粗刻度的时间间隔为细刻度的为2 m倍,其中m为正整数,从而便于在FPGA或者ASIC中实现。 In the embodiments of FIGS. 10-11 , the time interval between adjacent first time scales (coarse scales) is 16 times the time resolution (fine scale) of radar detection data, that is, data compression is performed with a weight of 16. Those skilled in the art can easily understand that the present invention is not limited thereto, and the weight here can be any large positive integer. Preferably, the time interval of the coarse scale is 2 m times that of the fine scale, where m is a positive integer, so as to facilitate implementation in an FPGA or an ASIC.
上述实施例中,所述第一权重为(16-x),所述第二权重为x,本发明不限于此,所述第一权重可以为x,所述第二权重为(16-x),或者所述第一权重可以为1-(x/n),所述第二预设权重为x/n,只要第一权重与所述时刻x和其中一个相邻的第一时间刻度之间的时间间隔相关联、第二权重与所 述时刻x与另一个相邻的第一时间刻度之间的时间间隔相关联即可。In the above embodiment, the first weight is (16-x), the second weight is x, the present invention is not limited to this, the first weight may be x, and the second weight is (16-x ), or the first weight may be 1-(x/n), and the second preset weight may be x/n, as long as the first weight is equal to the time x and one of the adjacent first time scales The second weight may be associated with the time interval between the moment x and another adjacent first time scale.
本发明第二方面的存储方法可以应用于本发明第一方面的确定噪声水平的方法100。例如,在该方法100的步骤S101中,获得光信号的强度信息-时间信息曲线,该所述强度信息-时间信息曲线例如为光子数直方图,通过对一个视场范围进行多次扫描、并将多次扫描的强度信息相对于时间信息的曲线叠加获得,每次扫描获得的数据可以根据本发明第二方面的存储方法进行加权存储,最终获得光子数直方图。The storage method of the second aspect of the present invention can be applied to the method 100 of determining the noise level of the first aspect of the present invention. For example, in step S101 of the method 100, an intensity information-time information curve of an optical signal is obtained, and the intensity information-time information curve is, for example, a photon number histogram. The curves of intensity information relative to time information of multiple scans are superimposed to obtain, and the data obtained from each scan can be weighted and stored according to the storage method of the second aspect of the present invention, and finally a photon number histogram is obtained.
另外,在该方法100中,在计算光信号总强度S时,可以根据不同的方式来进行。根据本发明一个实施例,该光信号总强度S是加权之前的原始触发数量cnt数据累加的和,与直方图是两个并行步骤。或者可替换的,可以根据该直方图来计算光信号总强度S,这些都在本发明的范围内。In addition, in the method 100, when calculating the total intensity S of the optical signal, it can be performed according to different ways. According to an embodiment of the present invention, the total intensity S of the optical signal is the accumulated sum of the original trigger number cnt data before weighting, and the histogram is two parallel steps. Or alternatively, the total intensity S of the optical signal can be calculated from the histogram, all of which are within the scope of the present invention.
根据本发明第二方面的存储方法获得的光子数直方图,进行噪声水平计算时,由于直方图数据存储的时间精度是雷达探测数据的时间分辨率的n倍,即直方图横坐标刻度数成倍减少,S102、S103等步骤中对每个时间刻度对应的强度信息进行处理,所需的计算量相应的也大量降低,提高数据处理和计算效率的同时,能保持计算精度不变。According to the photon number histogram obtained by the storage method of the second aspect of the present invention, when the noise level is calculated, since the time precision of the histogram data storage is n times the time resolution of the radar detection data, that is, the number of scales on the abscissa of the histogram becomes The intensity information corresponding to each time scale is processed in steps S102, S103, and the required calculation amount is correspondingly greatly reduced, which improves the data processing and calculation efficiency while maintaining the calculation accuracy unchanged.
第三方面the third aspect
本发明还涉及一种激光雷达300,如图12所示,包括光发射模块301、光探测模块302和控制模块303,其中光发射模块301指的是激光雷达中用于激光发射的部分,可以包含电路、器件、结构等,配置成可发射探测激光束用于探测目标物。光探测模块302指的是激光雷达中用于探测激光的回波信号的部分,可以包含电路、器件、结构等,配置成可接收所述探测激光束在目标物上反射的回波并转换为电信号。控制模块303与所述光发射模块301和光探测模块302耦接,并配置成可执行如上所述的方法100、200或300以计算目标物的距离。根据本发明的一个优选实施例,所述光探测模块302包 括多个如图6所示的探测单元,每个探测单元包括多个单光子雪崩二极管用于接收回波。The present invention also relates to a laser radar 300, as shown in FIG. 12, including a light emission module 301, a light detection module 302 and a control module 303, wherein the light emission module 301 refers to the part of the laser radar for laser emission, which can be Contains circuits, devices, structures, etc., configured to emit a detection laser beam for detection of a target. The light detection module 302 refers to the part of the laser radar used to detect the echo signal of the laser, which may include circuits, devices, structures, etc., and is configured to receive the echo reflected by the detection laser beam on the target and convert it into electric signal. The control module 303 is coupled to the light emission module 301 and the light detection module 302, and is configured to execute the method 100, 200 or 300 as described above to calculate the distance of the target object. According to a preferred embodiment of the present invention, the light detection module 302 includes a plurality of detection units as shown in FIG. 6 , and each detection unit includes a plurality of single-photon avalanche diodes for receiving echoes.
所述光发射模块301包括光发射阵列3011,例如垂直腔面发射激光器(Vertical-Cavity Surface-Emitting Laser,VCSEL)阵列实现。所述光发射阵列3011中包括多个行及多个列。其中,每行及每列分别设有多个光发射单元30111,每个光发射单元30111包括至少一个光发射器;所述光发射阵列3011还对应配置有发射阵列驱动电路,耦接于各个光发射器,用于驱动光发射器工作。The light emitting module 301 includes a light emitting array 3011, which is implemented by, for example, a Vertical-Cavity Surface-Emitting Laser (VCSEL) array. The light emitting array 3011 includes multiple rows and multiple columns. Wherein, each row and each column are respectively provided with a plurality of light emitting units 30111, and each light emitting unit 30111 includes at least one light emitter; the light emitting array 3011 is also correspondingly configured with an emitting array driving circuit, which is coupled to each light emitting unit 30111. The transmitter is used to drive the light transmitter to work.
所述光探测模块302包括光电探测阵列3021,所述光电探测阵列3021可以采用例如图6所示的探测单元,用以接收所述探测光束到达目标物OB后的光回波信号。另外,光探测模块302还可以包括信号读出电路3022,用以将光电探测阵列3021产生的信号读出并传输至控制模块303。The photodetection module 302 includes a photodetection array 3021, and the photodetection array 3021 may use, for example, a detection unit as shown in FIG. 6 to receive the optical echo signal after the detection beam reaches the target OB. In addition, the photodetection module 302 may further include a signal readout circuit 3022 for reading out and transmitting the signals generated by the photodetection array 3021 to the control module 303 .
在所述激光雷达300中,还可设置有发射透镜组304,位于所述光发射阵列3011出射光路上;在所述激光雷达中,还可设置有接收透镜组305,所述光电探测阵列3021可位于所述接收透镜组305的焦平面上。In the lidar 300, a transmitting lens group 304 may be further provided, which is located on the outgoing optical path of the light transmitting array 3011; May be located on the focal plane of the receiving lens group 305 .
所述控制模块303耦接所述光发射阵列3011及光电探测阵列3021;分别控制光发射阵列按照一定的顺序和功率发射探测光束,对应的光探测阵列接收回波信号。The control module 303 is coupled to the light emission array 3011 and the photoelectric detection array 3021; respectively controls the light emission arrays to emit detection beams according to a certain order and power, and the corresponding light detection arrays receive echo signals.
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。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, for those skilled in the art, the The technical solutions described in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (14)

  1. 一种确定噪声水平的方法,包括:A method of determining noise levels, including:
    S101:获得光信号的强度信息-时间信息曲线;S101: Obtain an intensity information-time information curve of an optical signal;
    S102:利用预估噪声阈值钳位所述强度信息-时间信息曲线;和S102: Clamp the intensity information-time information curve with an estimated noise threshold; and
    S103:利用钳位后的强度信息-时间信息曲线,确定噪声水平。S103: Determine the noise level using the clamped intensity information-time information curve.
  2. 如权利要求1所述的方法,其中所述强度信息-时间信息曲线为光子数直方图。The method of claim 1, wherein the intensity information-time information curve is a photon number histogram.
  3. 如权利要求1所述的方法,其中所述步骤S101包括:对一个视场范围进行多次扫描,将多次扫描的强度信息相对于时间信息的曲线叠加作为所述强度信息-时间信息曲线。The method according to claim 1, wherein the step S101 comprises: scanning a field of view multiple times, and superimposing the curves of the intensity information relative to the time information of the multiple scans as the intensity information-time information curve.
  4. 如权利要求2所述的方法,还包括:获取光信号的总强度,采用所述总强度计算预估噪声强度,将所述预估噪声强度与预设噪声强度比较,获得较小值,将所述较小值作为预估噪声阈值。The method according to claim 2, further comprising: acquiring a total intensity of the optical signal, calculating an estimated noise intensity using the total intensity, comparing the estimated noise intensity with a preset noise intensity, obtaining a smaller value, and calculating The smaller value is used as the estimated noise threshold.
  5. 如权利要求4所述的方法,其中所述计算预估噪声强度的步骤包括:将总光子数S乘以预设比例K,获得预估噪声光子数,作为所述预估噪声强度,所述预设比例K在0-1之间。The method according to claim 4, wherein the step of calculating the estimated noise intensity comprises: multiplying the total photon number S by a preset ratio K to obtain the estimated noise photon number, as the estimated noise intensity, the The preset ratio K is between 0-1.
  6. 如权利要求4或5所述的方法,其中所述步骤S101还包括:通过探测单元接收光信号,所述探测单元包括多个单光子雪崩二极管,所述预设噪声强度基于所述探测单元中单光子雪崩二极管的数目、单光子雪崩二极管的死时间中的一个或多个确定。The method according to claim 4 or 5, wherein the step S101 further comprises: receiving an optical signal through a detection unit, the detection unit includes a plurality of single-photon avalanche diodes, and the preset noise intensity is based on the One or more of the number of single photon avalanche diodes, the dead time of the single photon avalanche diodes is determined.
  7. 如权利要求1-4中任一项所述的方法,其中所述步骤S103包括:获得所述钳位后的强度信息-时间信息曲线的总强度,相对于时间跨度的平均 值,作为所述噪声水平。The method according to any one of claims 1-4, wherein the step S103 comprises: obtaining the total intensity of the clamped intensity information-time information curve, relative to the average value of the time span, as the noise level.
  8. 如权利要求1-4中任一项所述的方法,其中在步骤S102中,对任一时间信息对应的强度信息,取所述强度信息和预估噪声阈值之中的较小值作为钳位后的强度信息。The method according to any one of claims 1-4, wherein in step S102, for the intensity information corresponding to any time information, the smaller value between the intensity information and the estimated noise threshold is taken as the clamp strength information after.
  9. 一种通过激光雷达进行测距的方法,包括:A method for ranging by lidar, comprising:
    S201:通过如权利要求1-8中任一项所述的方法计算噪声水平;S201: Calculate the noise level by the method according to any one of claims 1-8;
    S202:基于所述噪声水平,对所述强度信息-时间信息曲线进行滤噪处理;和S202: Perform noise filtering processing on the intensity information-time information curve based on the noise level; and
    S203:基于滤噪处理后的所述强度信息-时间信息曲线,计算目标物的距离。S203: Calculate the distance of the target object based on the intensity information-time information curve after noise filtering.
  10. 如权利要求9所述的方法,其中所述步骤S202包括:判断所述强度信息-时间信息曲线的峰值是否高于所述噪声水平;当所述峰值高于所述噪声水平时,基于所述噪声水平,对所述强度信息-时间信息曲线进行滤噪处理。The method according to claim 9, wherein the step S202 comprises: judging whether the peak value of the intensity information-time information curve is higher than the noise level; when the peak value is higher than the noise level, based on the Noise level, performing noise filtering processing on the intensity information-time information curve.
  11. 如权利要求9或10中任一项所述的方法,其中所述步骤S203包括:根据滤噪后的所述强度信息-时间信息曲线,计算强度信息相对于时间信息的重心,所述重心对应的时间信息作为飞行时间。The method according to any one of claims 9 or 10, wherein the step S203 comprises: calculating the center of gravity of the intensity information relative to the time information according to the intensity information-time information curve after noise filtering, and the center of gravity corresponds to time information as flight time.
  12. 如权利要求9或10中任一项所述的方法,其中所述步骤S203包括:根据滤噪后的所述强度信息-时间信息曲线,计算回波脉冲的前沿时间,将所述前沿时间作为飞行时间,其中,所述前沿时间为所述回波脉冲前沿上等于预设阈值的强度信息对应的时间信息。The method according to any one of claims 9 or 10, wherein the step S203 comprises: calculating the leading edge time of the echo pulse according to the filtered intensity information-time information curve, and using the leading edge time as Time of flight, wherein the leading edge time is the time information corresponding to the intensity information on the leading edge of the echo pulse equal to a preset threshold.
  13. 一种激光雷达,包括:A lidar comprising:
    光发射模块,配置成可发射探测激光束用于探测目标物;a light emission module, configured to emit a detection laser beam for detecting a target;
    光探测模块,配置成可接收所述探测激光束在目标物上反射的回波并转换为电信号;和a light detection module configured to receive echoes of the detection laser beam reflected on the target and convert them into electrical signals; and
    控制模块,与所述光发射单元和光探测模块耦接,并配置成可执行如权利要求9-12中任一项所述的方法以计算目标物的距离。A control module, coupled to the light emitting unit and the light detection module, and configured to perform the method of any one of claims 9-12 to calculate the distance of the target.
  14. 如权利要求13所述的激光雷达,其中所述光探测模块包括多个探测单元,每个探测单元包括多个单光子雪崩二极管以接收所述回波。14. The lidar of claim 13, wherein the light detection module includes a plurality of detection units, each detection unit including a plurality of single-photon avalanche diodes to receive the echoes.
PCT/CN2021/138328 2021-03-31 2021-12-15 Method for determining noise level, lidar, and ranging method WO2022206031A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110351449.2 2021-03-31
CN202110351449.2A CN115144863A (en) 2021-03-31 2021-03-31 Method for determining noise level, lidar and ranging method

Publications (1)

Publication Number Publication Date
WO2022206031A1 true WO2022206031A1 (en) 2022-10-06

Family

ID=83403972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138328 WO2022206031A1 (en) 2021-03-31 2021-12-15 Method for determining noise level, lidar, and ranging method

Country Status (2)

Country Link
CN (1) CN115144863A (en)
WO (1) WO2022206031A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111868561A (en) * 2018-03-20 2020-10-30 帕诺森斯有限公司 Efficient signal detection using adaptive identification of noise floor
CN116678799A (en) * 2023-08-03 2023-09-01 深圳市灵明光子科技有限公司 Particle detector and particle detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572384B (en) * 2024-01-19 2024-03-29 珠海光恒科技有限公司 Method for improving detection performance of laser radar

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110976A1 (en) * 2003-11-26 2005-05-26 Labelle John Rangefinder with reduced noise receiver
EP2192419A2 (en) * 2008-11-26 2010-06-02 Robert Bosch GmbH Method for dynamic calculation of noise levels
US20180284245A1 (en) * 2017-03-30 2018-10-04 Luminar Technologies, Inc. Lidar receiver calibration
CN109085606A (en) * 2017-06-14 2018-12-25 欧姆龙汽车电子株式会社 Range unit
EP3540460A1 (en) * 2018-03-15 2019-09-18 Ricoh Company, Ltd. Light receiving apparatus, object detection apparatus, distance measurement apparatus, mobile object apparatus, noise measuring method, object detecting method, and distance measuring method
US20190293769A1 (en) * 2018-03-20 2019-09-26 Panosense Inc. Active signal detection using adaptive identification of a noise floor
CN110462437A (en) * 2017-03-29 2019-11-15 株式会社电装 Photodetector
CN110568422A (en) * 2019-08-30 2019-12-13 上海禾赛光电科技有限公司 SiPM receiver, dynamic threshold value adjusting method of laser radar and laser radar
CN110609291A (en) * 2019-08-30 2019-12-24 深圳奥锐达科技有限公司 System and method for time-coded time-of-flight distance measurement
US20200174120A1 (en) * 2018-11-30 2020-06-04 Nxp B.V. Lidar system and method of operating the lidar system
CN111316130A (en) * 2018-09-27 2020-06-19 深圳市大疆创新科技有限公司 Distance measuring device and time measuring method based on distance measuring device
CN111492261A (en) * 2018-11-28 2020-08-04 深圳市大疆创新科技有限公司 Laser receiving circuit, distance measuring device and mobile platform
WO2020166609A1 (en) * 2019-02-15 2020-08-20 株式会社デンソー Optical ranging device
CN112236687A (en) * 2019-04-30 2021-01-15 深圳市大疆创新科技有限公司 Detection circuit, detection method, distance measuring device and mobile platform
WO2021026241A1 (en) * 2019-08-05 2021-02-11 Ouster, Inc. Processing system for lidar measurements
CN112368597A (en) * 2018-07-02 2021-02-12 株式会社电装 Optical distance measuring device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110976A1 (en) * 2003-11-26 2005-05-26 Labelle John Rangefinder with reduced noise receiver
EP2192419A2 (en) * 2008-11-26 2010-06-02 Robert Bosch GmbH Method for dynamic calculation of noise levels
CN110462437A (en) * 2017-03-29 2019-11-15 株式会社电装 Photodetector
US20180284245A1 (en) * 2017-03-30 2018-10-04 Luminar Technologies, Inc. Lidar receiver calibration
CN109085606A (en) * 2017-06-14 2018-12-25 欧姆龙汽车电子株式会社 Range unit
EP3540460A1 (en) * 2018-03-15 2019-09-18 Ricoh Company, Ltd. Light receiving apparatus, object detection apparatus, distance measurement apparatus, mobile object apparatus, noise measuring method, object detecting method, and distance measuring method
US20190293769A1 (en) * 2018-03-20 2019-09-26 Panosense Inc. Active signal detection using adaptive identification of a noise floor
CN112368597A (en) * 2018-07-02 2021-02-12 株式会社电装 Optical distance measuring device
CN111316130A (en) * 2018-09-27 2020-06-19 深圳市大疆创新科技有限公司 Distance measuring device and time measuring method based on distance measuring device
CN111492261A (en) * 2018-11-28 2020-08-04 深圳市大疆创新科技有限公司 Laser receiving circuit, distance measuring device and mobile platform
US20200174120A1 (en) * 2018-11-30 2020-06-04 Nxp B.V. Lidar system and method of operating the lidar system
WO2020166609A1 (en) * 2019-02-15 2020-08-20 株式会社デンソー Optical ranging device
CN112236687A (en) * 2019-04-30 2021-01-15 深圳市大疆创新科技有限公司 Detection circuit, detection method, distance measuring device and mobile platform
WO2021026241A1 (en) * 2019-08-05 2021-02-11 Ouster, Inc. Processing system for lidar measurements
CN110609291A (en) * 2019-08-30 2019-12-24 深圳奥锐达科技有限公司 System and method for time-coded time-of-flight distance measurement
CN110568422A (en) * 2019-08-30 2019-12-13 上海禾赛光电科技有限公司 SiPM receiver, dynamic threshold value adjusting method of laser radar and laser radar

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111868561A (en) * 2018-03-20 2020-10-30 帕诺森斯有限公司 Efficient signal detection using adaptive identification of noise floor
CN116678799A (en) * 2023-08-03 2023-09-01 深圳市灵明光子科技有限公司 Particle detector and particle detection method
CN116678799B (en) * 2023-08-03 2023-12-26 深圳市灵明光子科技有限公司 Particle detector and particle detection method

Also Published As

Publication number Publication date
CN115144863A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US11598856B2 (en) Receiver arrangement for the reception of light impulses, lidar module and method for receiving light impulses
WO2022206031A1 (en) Method for determining noise level, lidar, and ranging method
CN107085218B (en) Method for determining the return time of a return light pulse and SPL scanner
US20200408908A1 (en) Adaptive Multiple-Pulse LIDAR System
KR20220145845A (en) Noise Filtering Systems and Methods for Solid State LiDAR
CN111679290A (en) Photon counting correction method, laser radar, and computer-readable medium
US20220187430A1 (en) Time of flight calculation with inter-bin delta estimation
CN111366944B (en) Distance measuring device and distance measuring method
WO2023284319A1 (en) Lidar ranging method, lidar and computer-readable storage medium
WO2023284318A1 (en) Detection method of laser radar, transmitting unit and laser radar
CN114280573A (en) Laser radar and method and system for measuring target reflectivity
CN111538026B (en) Laser ranging method and system
US20230288538A1 (en) Laser receiving system and laser ranging system
WO2023284317A1 (en) Data processing method for laser radar, and laser radar
WO2023071908A1 (en) Distance measurement method and distance measurement system
WO2022206032A1 (en) Storage method, data processing method, laser radar, and computer readable storage medium
CN114814880A (en) Laser radar detection parameter adjustment control method and device
JP7003949B2 (en) Optical range measuring device
CN114114213A (en) Laser radar calibration method and laser radar
CN113848558A (en) Flight time distance measuring system and method
CN114594493B (en) Laser radar system and ambient light sensing method thereof
CN114594494B (en) Laser radar system and ambient light denoising method thereof
WO2023184896A1 (en) Detection method of laser radar, computer storage medium, and laser radar
CN117890918A (en) Distance measurement system, method and computer readable storage medium based on time of flight
US20220050200A1 (en) Range estimation for lidar systems

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

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

Country of ref document: EP

Kind code of ref document: A1