WO2022017366A1 - Depth imaging method and depth imaging system - Google Patents

Depth imaging method and depth imaging system Download PDF

Info

Publication number
WO2022017366A1
WO2022017366A1 PCT/CN2021/107301 CN2021107301W WO2022017366A1 WO 2022017366 A1 WO2022017366 A1 WO 2022017366A1 CN 2021107301 W CN2021107301 W CN 2021107301W WO 2022017366 A1 WO2022017366 A1 WO 2022017366A1
Authority
WO
WIPO (PCT)
Prior art keywords
laser
scanning angle
photoelectric detection
target object
laser spot
Prior art date
Application number
PCT/CN2021/107301
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 WO2022017366A1 publication Critical patent/WO2022017366A1/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/88Lidar systems specially adapted for specific applications
    • G01S17/89Lidar systems specially adapted for specific applications for mapping or imaging
    • 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/481Constructional features, e.g. arrangements of optical elements
    • 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/481Constructional features, e.g. arrangements of optical elements
    • G01S7/4817Constructional features, e.g. arrangements of optical elements relating to scanning
    • 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/484Transmitters
    • 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

Definitions

  • the present application relates to the field of imaging technologies, and in particular, to a depth imaging method and a depth imaging system.
  • Radar is an important technology for realizing computer vision. Radar includes but is not limited to lidar, millimeter-wave radar, and visible light radar.
  • a 3D camera is an application example of a radar system. The example system consists of a laser pulse transmitter, a laser pulse receiver, a Time to Digital Converter (TDC), and a control system.
  • TDC Time to Digital Converter
  • the laser pulse transmitter In the radar working scene, the laser pulse transmitter generates light pulses and transmits them into the environment. After the light pulses are reflected by the target objects in the environment, they are received by the receiver. The receiving end converts the received photons into electrical signals and then provides them to the TDC. The timing of the emission of the TDC reference pulse quantifies the delay of the returning photons and puts them into a time grid of a given width. When enough pulses are fired, the number of events in the time grid can form a histogram. The highest position in the histogram corresponds to the time of flight (TOF) of the pulse, through which the distance of the target object can be calculated.
  • TOF time of flight
  • Photoelectric sensors are usually used as receivers to detect light pulses. Depth imaging is widely used in fields such as computer vision. With the continuous enrichment of the application requirements of depth imaging, the demand for resolution of depth imaging is also getting higher and higher. However, due to the limitation of semiconductor technology and volume, the resolution of the photodetection unit on the photoelectric sensor is difficult to meet the actual demand.
  • the contradiction between the high-resolution requirement of depth imaging and the low-resolution performance of the photoelectric sensor can be solved through the lattice super-resolution technology.
  • a virtual super-resolution pixel with smaller size can be constructed, so as to make the The resolution of photoelectric sensors has been improved to meet the high-resolution requirements of depth imaging.
  • the transceiver module of the 3D camera used in depth imaging usually has a certain baseline distance, which leads to the mismatch of the transceiver position, and the mismatch offset is also called parallax. Parallax takes the number of photodetection units as a measurement unit, and the parallax changes with the target distance.
  • the photoelectric sensor cannot determine the position of the photoelectric detection unit where the laser spot is located. Therefore, it is often necessary to turn on all the surrounding photodetection units to detect the photodetector units that have received the pulse.
  • the power consumption generated by fully opening the photodetector unit in the strong ambient light scene is unbearable for the chip.
  • multiple photodetector units share one TDC. When the photodetector unit is fully opened, only one photodetector unit has a target signal, and the rest of the photodetector units detect noise, which seriously reduces the TDC receiving signal. signal-to-noise ratio, and it is difficult to determine the signal light from the histogram.
  • the position of the light spot can be detected by turning on the photoelectric detection unit in a time-sharing manner.
  • each photoelectric detection unit is exposed for a certain period of time in turn, but this detection method requires many exposure times and long exposure time, resulting in very high system power consumption, lower frame rate, and slower depth imaging speed.
  • a plurality of photodetection units can be fully turned on at the same time, which reduces the signal-to-noise ratio of the histogram and thus reduces the detection probability of signal light.
  • the present application provides a depth imaging method and a depth imaging system, so as to reduce system power consumption while ensuring a signal-to-noise ratio, achieve high frame rate lattice super-resolution, and improve the speed of depth imaging.
  • the present application provides a depth imaging method, including:
  • the photoelectric detection unit on the photoelectric sensor is polled to be turned on and off;
  • the photoelectric sensor includes a plurality of photoelectric detection units, and each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot;
  • the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  • polling and controlling the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period specifically includes:
  • Each of the photodetection units to be polled is polled and controlled to be turned on and off according to the time window.
  • the laser pulses are emitted with a pulse emission period at each scanning angle, which specifically includes:
  • the laser pulses are emitted to the target object in a dot matrix projection manner for a plurality of the pulse emission periods at each scanning angle, so as to simultaneously form a plurality of laser light spots on the photoelectric sensor;
  • the determining of the photoelectric detection units to be polled in each pulse emission period specifically includes:
  • the photodetection unit to be polled corresponding to each laser spot in each pulse emission period is determined.
  • obtain the minimum interval between two adjacent laser spots in the field of view of the laser specifically including:
  • the minimum detection distance of the photoelectric sensor the lateral field angle and lateral resolution of the photoelectric detection unit, two adjacent lasers in the field of view of the laser are obtained Minimum spacing of the spots.
  • determining the time window corresponding to each photoelectric detection unit to be polled specifically includes:
  • the offset range and the corresponding relationship between the offset and the distance determine the corresponding distance range when the laser spot falls on each of the photoelectric detection units to be polled;
  • the distance range and the corresponding relationship between the distance and the time delay determine the time-of-flight range in which each photoelectric detection unit to be polled can receive the laser spot; the time-of-flight range is used as the time window.
  • each photoelectric detection unit turned on by polling in the pulse emission period obtain the depth information of the laser spot under the current scanning angle, specifically including:
  • the distance information of the laser spot at the current scanning angle is obtained as the depth information of the laser spot.
  • the method further includes:
  • the offset corresponding to the distance information is obtained according to the correspondence between the offset and the distance;
  • the integer part of the offset indicates the number of photodetection units offset by the target photodetection unit relative to the photodetection unit without parallax,
  • the target photoelectric detection unit is the photoelectric detection unit where the laser spot is located, and the fractional part of the offset indicates the super-divided position where the laser spot is received in the target photoelectric detection unit;
  • the offset and the superdivision multiple of the photoelectric sensor determine the superdivision pixel at which the laser spot is detected in the target photoelectric detection unit under the current scanning angle, so as to construct the relationship between the depth information and the superdivision pixel.
  • the depth information of the laser spot at each scanning angle is spliced, which specifically includes:
  • the depth information of the laser spot at each scanning angle is stitched together by using the corresponding relationship between the depth information and the super-divided pixels.
  • scan the target object at different scanning angles including:
  • the laser light path is adjusted before scanning the target object at the next scanning angle to form the next scanning angle.
  • the present application provides a depth imaging system, including: a laser, a controller, a gating element, a photoelectric sensor, a time-to-digital converter, and a processor; the controller is connected to the laser; the photoelectric sensor includes multiple photoelectric detection units, each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; the gating switch is connected to all the photoelectric detection units of the photoelectric sensor; the controller and the processor The time-to-digital converters are respectively connected; the time-to-digital converters are also connected to the photodetection unit through the gate switch;
  • the controller is used to control the laser to scan the target object with different scanning angles, and emit laser pulses with a pulse emission period under each scanning angle;
  • the gate switch is used to poll and control the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period; the turned-on photodetection unit is used to receive the light signal reflected by the target object, and to converting the optical signal into an electrical signal;
  • the time-to-digital converter is used to obtain the flight time according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period and the emission time of each pulse under the current scanning angle, and convert the flight time into counts value;
  • the processor is configured to form a direct time-of-flight histogram corresponding to the current scanning angle according to the count value converted by the time-to-digital converter and the electrical signal; Depth information of the laser spot; after the laser scans the target object, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  • the laser includes: a laser light source, a collimating lens, a deflecting mirror, a light splitting element and a driving device;
  • the laser light source is used to emit a laser beam, and the laser beam includes laser pulses emitted according to a pulse emission period;
  • the collimating lens is used for collimating and sending the laser beam to the deflecting mirror;
  • the deflecting mirror is connected with the driving device, and is used for reflecting the laser beam from the collimating lens to the beam splitting element; during the period, the deflecting mirror is periodically deflected by the driving device;
  • the beam splitting element is used for splitting the received laser beam into multiple beams, and then projecting the multiple laser beams to the target object.
  • the embodiments of the present application at least have the following advantages:
  • the target object is scanned at different scanning angles, and laser pulses are emitted in a pulse emission period under each scanning angle; in each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on
  • the photoelectric sensor includes a plurality of photoelectric detection units, and each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period, the current After scanning the target object, the depth information of the laser spot at each scanning angle is spliced to obtain the super-resolution depth image of the target object.
  • the photoelectric detection unit Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed.
  • the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, ensuring a high effective signal detection probability is beneficial to improve the imaging quality of the depth image of the target object.
  • Fig. 1 is a kind of lattice super-resolution schematic diagram
  • FIG. 2 is a schematic diagram of the relationship between a transmitting field of view and a receiving field of view
  • Fig. 3 is a kind of schematic diagram of the relationship between offset and distance
  • FIG. 4 is a schematic diagram of the actual size of the field of view of a single photoelectric detection unit in the RX field of view under various different distances;
  • FIG. 5 is a flowchart of a depth imaging method provided by an embodiment of the present application.
  • Fig. 6 is a kind of laser dot matrix projection schematic diagram
  • FIG. 7 is a schematic diagram of the positional change of a plurality of laser light spots in the super-divided pixel when the scanning angle changes according to an embodiment of the present application;
  • FIG. 8 is a schematic diagram of the offset range of other photodetection units in the lateral direction relative to the photodetection unit without parallax according to an embodiment of the present application;
  • FIG. 9 is a schematic diagram of the polling sequence of each photoelectric detection unit SPAD0 to SPAD4 to be polled in one pulse emission period provided by the embodiment of the present application;
  • FIG. 10 is a schematic diagram of a direct flight time histogram provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a lattice emission parallax provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a depth imaging system according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a laser according to an embodiment of the present application.
  • the dot matrix super-resolution technique can be used to improve the resolution.
  • Figure 1 is a schematic diagram of lattice super-resolution.
  • the size of one photodetection unit corresponds to 4 ⁇ 4 super-divided pixels, and 4 ⁇ 4 photodetection units share one TDC.
  • the size of the super-divided pixels in the photodetection unit matches the size of the laser spot.
  • the diameter of the laser spot is K
  • the photodetection unit is divided into a plurality of super-divided pixels of K ⁇ K size.
  • the diameter of the laser spot can also be slightly smaller than the size of the super-pixel.
  • FIG. 2 is a schematic diagram showing the relationship between the transmitting field of view and the receiving field of view.
  • TX represents a laser
  • RX represents a photoelectric sensor.
  • the dashed line through TX represents the baseline of the laser and the dashed line through RX represents the baseline of the photosensor.
  • the horizontal direction represents the offset
  • the vertical direction represents the distance. Due to the existence of the baseline distance, the sending and receiving positions of light are mismatched, and the offset of the mismatch (also called parallax) is inversely proportional to the distance.
  • FIG. 3 is a schematic diagram of the relationship between the offset and the distance.
  • the offset is measured by the number of photodetection units, for example, 3 photodetector units are offset. Taking the lateral shift as an example, the actual meaning is to laterally shift the size of 3 photodetection units. As shown in Figure 3, the farther the distance, the smaller the offset; the closer the distance, the greater the offset.
  • represents the offset
  • d baseline represents the baseline distance
  • d spad represents the size of the field of view of a single photoelectric detection unit corresponding to the actual field of view at a given distance.
  • the size of the field of view of a single photodetector unit corresponds to the size in the actual field of view and is inversely proportional to the offset.
  • the field of view of a single photoelectric detection unit corresponds to the size in the actual field of view and is proportional to the distance.
  • Figure 4 shows the actual size of the field of view of a single photodetector unit in the RX field of view at various distances. As shown in Figure 3, at a distance closer to RX, a single photodetector unit corresponds to a smaller size in the RX field of view; at a farther distance from RX, a single photodetector unit corresponds to a larger size in the RX field of view.
  • Formula (2) shows the calculation method of the field of view of a single photoelectric detection unit corresponding to the size in the actual field of view:
  • d spad represents the size of the field of view of a single photodetector unit corresponding to the actual field of view
  • Dist represents the distance
  • FOV h represents the lateral field of view of the photodetector unit
  • N h represents the lateral resolution of the photodetector unit .
  • the premise of lattice super-resolution is to know the specific position of the light spot in the photoelectric detection unit to be super-separated in advance, and does not depend on the output of the photoelectric sensor. That is, the precise position of the light spot formed by the emitted laser pulse on the photosensor is predicted.
  • the time-sharing method of turning on the photodetector units requires sequentially turning on the photodetector units that may detect the light spot, and detecting whether there is a laser pulse in the histogram formed by the converted signals of these photodetector units to determine the position of the light spot.
  • the time-sharing opening means multiple exposure times and exposure times, resulting in a doubled increase in system power consumption and a doubled drop in frame rate.
  • Another method of fully opening the photoelectric detection unit at the same time is easy to detect a large amount of ambient light, which reduces the signal-to-noise ratio of the histogram, and the effective signal is easily covered by noise, which makes it difficult to detect the light pulse, and thus it is difficult to determine the spot position.
  • the present application provides a depth imaging method and a depth imaging system.
  • the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on and off in each pulse emission period, which shortens the exposure time of the photoelectric detection unit and reduces the number of exposures, thus saving system power consumption and improving the frame rate.
  • Improve depth imaging speed improve depth imaging speed.
  • the signal-to-noise ratio of the histogram is enhanced, and the detection rate of valid signals is improved.
  • FIG. 5 is a flowchart of a depth imaging method provided by an embodiment of the present application. As shown in Figure 5, the depth imaging method includes:
  • Step 501 Scan the target object with different scanning angles, and emit laser pulses with a pulse emission period at each scanning angle.
  • the target object refers to the object that depth imaging needs to present. According to the actual needs of the depth image, the target object may be a person, an animal, a building, etc.
  • the type of the target object is not limited here.
  • a laser is used to transmit light pulses to the target object, and then the photoelectric sensor receives the light pulses reflected from the target object.
  • the collimation of the laser is good, and a light spot is formed when it is projected on the target object, and the photoelectric sensor detects the light spot on the target object specifically.
  • various types of lasers can be used, such as lasers operating in the infrared band or lasers operating in the visible light band.
  • the detection band of the photoelectric sensor should match the working band of the laser, so as to realize the effective detection of the formed light spot.
  • a two-dimensional line scan of the target object can be performed. Since the two-dimensional line scan can be divided into several independent one-dimensional line scans, in the following description, the horizontal one-dimensional line scan is taken as an example for description.
  • the scanning angle of the laser to the target object changes constantly.
  • the scanning angle can be changed by adjusting the laser light path inside the laser, or the scanning angle can be changed by adjusting the position of the laser as a whole without changing the laser light path inside the laser.
  • the next scanning angle is formed, and then the scanning is performed at the next scanning angle until the super-division scanning covering the entire receiving field of view is completed.
  • the laser can be made to emit a laser lattice, and then multiple laser spots can be formed on the surface of the target object when the laser pulse is emitted.
  • FIG. 6 is a schematic diagram of a laser dot matrix projection.
  • the photoelectric sensor includes a plurality of photoelectric detection units.
  • the photoelectric detection units on the photoelectric sensor are arranged according to the horizontal and vertical rules.
  • the lateral dimension of each photodetector unit may be the same as the longitudinal dimension, or may be different from the longitudinal dimension.
  • the photodetection unit may be a single photon avalanche diode (Single Photon Avalanche Diode, SPAD) or an avalanche photodiode (Avalanche Photon Diode, APD).
  • SPAD Single Photon Avalanche Diode
  • APD avalanche Photodiode
  • the specific type of the photodetection unit is not limited here.
  • Each photodetection unit is divided into a plurality of super-divided pixels according to the size of the laser spot. For example, if the diameter of the laser spot is D, and the lateral and vertical dimensions of the photodetection unit are both 4D, each photodetector unit can be divided into 4*4 super-divided pixels.
  • the photodetection unit is divided into a plurality of super-resolution pixels according to the size of the laser spot, in order to perform depth imaging with the depth information recorded when the light spot is detected by each super-resolution pixel, so as to meet the high resolution requirements for depth imaging.
  • the embodiment of the present application provides a schematic diagram of the position change of multiple laser light spots in the super-divided pixel when the scanning angle changes, as shown in FIG. 7 .
  • the left side and the right side of FIG. 7 respectively show the position changes of the laser spots 001 to 002 in the photoelectric conversion unit of the photoelectric sensor under two scanning angles. It can be seen from FIG. 7 that when the scanning angle changes once, each laser spot 001 to 002 is laterally shifted by one super-divided pixel on the photoelectric sensor as a whole.
  • laser pulses are emitted with a preset pulse emission period at each scanning angle, in order to accumulate enough photons to obtain the depth information of the laser spot subsequently.
  • the pulse emission period can be set according to actual requirements, for example, the pulse emission period is set to 100ns.
  • Step 502 polling and controlling the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period.
  • the photoelectric sensor detects that the position of the super-divided pixel of the light spot formed by the laser pulses emitted by the laser in different pulse emission periods is unchanged.
  • the specific photodetection unit that receives the light signal reflected from the laser spot, and the specific super-divided pixel on the photodetector unit that receives the light signal reflected from the laser spot are unknown.
  • an implementation scheme of controlling the opening and closing of the photoelectric detection unit by means of round-robin training is proposed. Specifically, as described in this step, in each pulse emission period, the photodetection unit on the photoelectric sensor is controlled to be turned on and off by polling.
  • the photodetection unit when the target distance is infinite and the TX and RX do not have parallax can be pre-calibrated as the photodetection unit without parallax.
  • the position of the photodetection unit without parallax is used as a reference position to measure the offset of each other photodetection unit.
  • FIG. 8 it is a schematic diagram of the offset range of other photodetection units relative to the photodetection unit without parallax in the lateral direction. As shown in FIG. 8 , the offset range of the photodetection unit Spad i is [ ⁇ i-1 , ⁇ i ].
  • the distance of the target object can be obtained by the time of flight of the light pulse emitted by the laser.
  • the relationship between distance and flight time is as follows:
  • ⁇ t represents the flight time
  • c represents the speed of light. Therefore, according to formulas (4) to (6), the range of flight time [t init_i , t end_i ] corresponding to the distance range [d i-1 , d i ] of the target object detected by the photoelectric detection unit can be obtained, and the range of flight time [t
  • the expressions for the lower and upper bounds of init_i , t end_i ] are as follows:
  • the photodetection units to be polled Before the polling controls the photodetection units to be turned on during the pulse emission period, the photodetection units to be polled may be determined first based on the determination. Then, the offset range of each photoelectric detection unit to be polled relative to the photodetection unit without parallax, combined with the relationship between the offset and the distance, obtain the corresponding distance range when the laser spot falls on each photoelectric detection unit to be polled, The time-of-flight range in which each photoelectric detection unit to be polled can receive the laser spot is determined based on the correspondence between distance and time delay, and the time-of-flight range is used as the time window for polling the photoelectric detection unit. In this way, the time window corresponding to each photoelectric detection unit to be polled is determined. Next, each photodetection unit to be polled is controlled to be turned on and off according to the time window polling.
  • FIG. 9 exemplarily shows the polling sequence of each of the photodetection units SPAD0 to SPAD4 to be polled in one pulse emission period.
  • control SPAD0 to turn on control SPAD0 to turn off
  • control SPAD1 to turn off control SPAD2 to turn on
  • control SPAD2 to turn off control SPAD3 to turn on
  • control SPAD3 off control SPAD4 on
  • control SPAD4 off control SPAD4 off.
  • each photoelectric detection unit to be polled is only enabled within the time window in which the photoelectric detection unit may detect the laser spot of the corresponding distance, so as to avoid wasting exposure time and reduce the The chance of detecting ambient light.
  • Step 503 Obtain the depth information of the laser spot at the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period.
  • the photodetection unit when the photodetection unit is turned on, it is possible to collect signal light or ambient light.
  • the photoelectric detection unit is hereinafter referred to as Target photodetector unit. It can be understood that, as the scanning angle changes, the target photodetection unit also changes.
  • the target photodetection unit detects signal light (or signal light + ambient light), and the remaining photodetection units detect ambient light.
  • the direct flight time histogram corresponding to the current scanning angle is generated according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle.
  • the horizontal axis of the direct flight time histogram represents time, and the vertical axis represents the count value.
  • Figure 10 is a schematic diagram of a direct flight time histogram. The time corresponding to the column with the highest count value can be obtained by finding the peak in the histogram, and this time is taken as the flight time corresponding to the laser spot at the current scanning angle.
  • the flight time obtained from the histogram in the previous step is substituted into formula (6), and the distance information of the laser spot at the current scanning angle can be obtained.
  • the distance information represents the depth information of the laser spot detected by the target photoelectric detection unit.
  • steps 501 to 503 are all executed cyclically.
  • Step 504 After the target object is scanned, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  • the scanning position of the target object changes, that is, the position where the same laser beam transmits to the target object changes.
  • the position of the superdivision pixel receiving the same laser spot on the photoelectric sensor changes laterally, and the change scale is one superdivision pixel.
  • the depth information of the laser spot is obtained at each scanning angle, so the complete super-resolution of the target object can be obtained by splicing according to the positional relationship between the super-resolution pixels receiving the laser spot at each scanning angle rate depth image.
  • the target object is scanned at different scanning angles, and laser pulses are emitted at each scanning angle with a pulse emission period; in each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on and off; the photoelectric sensor includes: A plurality of photoelectric detection units, each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period, the laser spot at the current scanning angle is obtained.
  • the depth information of the laser spot at each scanning angle is spliced to obtain the super-resolution depth image of the target object.
  • the photoelectric detection unit Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed.
  • the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, ensuring a high effective signal detection probability is beneficial to improve the imaging quality of the depth image of the target object.
  • the time window that each photoelectric detection unit is enabled in a pulse emission period is precisely controlled, and the photons that may be returned at each distance are accurately received, and the interference of ambient light is reduced as much as possible.
  • the number of ambient light photons collected during the time when multiple photodetector units are turned on is equivalent to the number of ambient light photons collected during the time when a single photodetector unit is always turned on in the prior art , and the detection of signal light is equivalent to fully opening all photoelectric detection units, so the signal quantity will not be lost, and the system power consumption will be greatly saved.
  • multiple laser beams can be projected to the target object at the same time. These laser beams may be parallel or non-parallel.
  • parallel output is taken as an example for description.
  • FIG. 11 the figure is a schematic diagram of dot matrix emission parallax.
  • the solid circles in Figure 11 represent different laser spots in the TX field of view, and the open circles represent different laser spots in the RX field of view.
  • FIG. 11 it is not difficult to see that if there are too many photodetector units involved in a single polling control, it is possible to obtain optical signals of two or more valid laser spots after polling. At this time, it is easy to mistake the weak optical signal as a noise signal of ambient light and ignore it. To avoid this problem, the photodetector units to be polled based on a single laser spot can be determined first before polling.
  • the depth imaging method includes:
  • Step 1201 Scan the target object at different scanning angles, and emit laser pulses to the target object in a dot matrix projection manner for multiple pulse emission cycles at each scanning angle, so as to form multiple laser spots on the photoelectric sensor at the same time.
  • the multiple laser spots formed at different scanning angles are shown on the left side of FIG. 7 and the right side of FIG. 7 , respectively.
  • Step 1202 Obtain the minimum interval between two adjacent laser spots in the field of view of the laser according to the baseline distance between the laser and the photoelectric sensor, the minimum detection distance of the photoelectric sensor, the lateral field angle and lateral resolution of the photoelectric detection unit.
  • the baseline distance between the laser and the photoelectric sensor can be determined by pre-calibration.
  • the detection capability of each photoelectric sensor includes the maximum detection distance and the minimum detection distance.
  • the minimum detection distance can be obtained from the factory parameters of the photoelectric sensor, or obtained through multiple tests.
  • the lateral field of view and lateral resolution of the photodetection unit can also be obtained from the factory parameters.
  • the photoelectric detection unit to be polled in order to determine the photoelectric detection unit to be polled corresponding to each laser spot in each pulse emission period and prevent more than one laser spot from being detected by one round of polling, first calculate the field of view of the laser (TX field of view). ) is the minimum interval between two adjacent laser spots. For each laser spot, the photodetection units to be polled are determined with a minimum interval.
  • N spot represents the minimum interval between two adjacent laser spots in the TX field of view
  • d baseline represents the baseline distance between the laser and the photoelectric sensor
  • Dist min represents the minimum detection distance of the photoelectric sensor
  • FOV h represents the photoelectric detection unit
  • N h represents the lateral resolution of the photodetection unit.
  • in the round-up symbol is the maximum offset corresponding to the minimum detection distance.
  • 1 is added to the result of rounding up the maximum offset, and the final value obtained by this is used as the minimum interval between two adjacent laser spots in the laser field of view.
  • the minimum interval is represented by the number of photodetector units.
  • Step 1203 Determine the photodetection unit to be polled corresponding to each laser spot in each pulse emission period according to the photodetection unit without parallax and the minimum interval.
  • N spot 4 means that four consecutive photodetector units are used as the photodetector units to be polled corresponding to a certain laser spot, and the following four photodetector units are to be used as the photodetector units corresponding to adjacent laser spots. Polled photodetector unit.
  • the minimum interval is 4.
  • the photoelectric detection units 701 to 704 are the photoelectric detection units to be polled corresponding to the laser spot 001
  • the photoelectric detection units 705 to 708 are the photoelectric detection units to be polled corresponding to the laser spot 002. detection unit.
  • N spot photoelectric detection units to be polled corresponding to a certain laser spot will not detect more than one laser spot accumulated in one pulse emission period. In this way, the difficulty of determining the signal light is reduced, the missed detection of the signal light is avoided, and the pertinence and accuracy of the signal light detection are enhanced.
  • Step 1204 Determine the time window corresponding to each photoelectric detection unit to be polled.
  • Step 1205 Control each photoelectric detection unit to be polled on and off according to the time window polling.
  • Step 1206 Generate a direct flight time histogram corresponding to the current scanning angle according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle.
  • S is an integer greater than 1.
  • S direct flight time histograms can be generated.
  • the time corresponding to the maximum count value of each direct flight histogram is the flight time of the corresponding laser spot.
  • An example of a histogram can be found in FIG. 10 .
  • Step 1207 find a peak in the direct flight time histogram, and determine the flight time corresponding to the laser spot at the current scanning angle.
  • Step 1208 According to the flight time and the corresponding relationship between the flight time and the distance, obtain the distance information of the laser spot at the current scanning angle as the depth information of the laser spot.
  • the following steps can be used to determine the target photoelectric detection unit where the super-resolution pixel that receives the laser beam reflected from the laser spot is located. and the position of the super-divided pixel in the target photodetection unit (ie, the super-divided position).
  • Step 1209 Obtain the offset corresponding to the distance information according to the correspondence between the offset and the distance.
  • d obj represents the distance information of a certain laser spot under the current scanning angle
  • ⁇ obj represents the offset corresponding to the distance information
  • the offset calculated according to formula (10) usually includes an integer part and a fractional part.
  • the integer part indicates the number of photodetection units offset by the target photodetector unit relative to the photodetector unit without parallax
  • the target photodetector unit is the photodetector unit where the laser spot is located.
  • the fractional part of the offset indicates the super-resolution position of the received laser spot in the target photodetector unit.
  • ⁇ obj 3.25 as an example, it means that the target photodetection unit is shifted by 3 photodetection units relative to the photodetection unit without parallax.
  • the following step 1210 needs to be performed.
  • Step 1210 According to the offset and the superdivision multiple of the photoelectric sensor, determine the superdivision pixel of the laser spot detected in the target photoelectric detection unit under the current scanning angle, so as to construct the corresponding relationship between the depth information and the superdivision pixel.
  • l rx represents the ordinal number of the super-resolution pixels in the target photodetection unit that detect the laser spot
  • N supres represents the super-resolution multiple of the photoelectric sensor
  • ⁇ obj represents the offset corresponding to the distance information of the laser spot. to round down notation, is the round-up symbol.
  • one photodetection unit includes 4 superdivision pixels laterally, so the superdivision multiple is 4.
  • the ordinal number of the super-divided pixel that detects the laser spot is calculated to be 1, which means that the super-divided pixel that receives the laser spot is the No. 1 pixel of the target photodetection unit along the moving direction of the laser spot. 1 superpixel.
  • steps 1201 to 1210 are performed cyclically. Therefore, by cyclically executing steps 1201 to 1210, the corresponding relationship of the laser spot depth information of each super-divided pixel that has received the laser spot can be constructed.
  • Step 1211 After the target object is scanned, the depth information of the laser spot at each scanning angle is stitched together by using the corresponding relationship between the depth information and the super-divided pixels.
  • the depth information of the laser spot 001 in the first super-divided pixel of the photodetection unit 701 is associated with the depth information of the second super-divided pixel in the photodetection unit 701 according to the positions of the two super-divided pixels. stitched together, and so on.
  • the minimum interval is obtained in step 1202, and then the photoelectric detection unit to be polled corresponding to each laser spot in each pulse emission period is determined based on the minimum interval in step 1203, which reduces the difficulty of determining the signal light , to avoid missed detection of signal light, and enhance the pertinence and accuracy of signal light detection.
  • step 1210 the corresponding relationship between the depth information and the super-divided pixels is constructed, so as to improve the splicing efficiency of the depth information of each position of each target object, and improve the speed of depth imaging.
  • the present application also provides a depth imaging system.
  • the system is described below with reference to the embodiments and the accompanying drawings.
  • FIG. 13 this figure is a schematic structural diagram of a depth imaging system provided by an embodiment of the present application. As shown in Figure 13, the depth imaging system includes:
  • the controller 1302 is connected to the laser 1301 .
  • the controller 1302 is used to control the laser 1301 to scan the target object at different scanning angles, and emit laser pulses with a pulse emission period under each scanning angle.
  • the controller 1302 sets the pulse emission period of the laser 1301, and the laser 1301 emits laser pulses in the above pulse emission period according to the pulse control signal provided by the controller 1302.
  • the controller 1302 may control the scanning angle of the laser 1301 .
  • the controller 1302 transmits a scan angle adjustment signal to the laser 1301, the laser 1301 adjusts the scan angle according to the scan angle adjustment signal.
  • the photosensor 1304 includes a plurality of photodetection units, and each photodetector unit is divided into a plurality of super-divided pixels according to the size of the laser spot.
  • the photodetection unit can be SPAD or APD.
  • the specific type of the photodetection unit is not limited here. In Fig. 13, only SPAD 1, SPAD 2, SPAD 3...SPADN are used as examples to represent different photoelectric detection units.
  • the gate switch 1303 connects all photodetection units of the photoelectric sensor 1304 .
  • the gate switch 1303 is used to poll and control the photodetection unit on the photoelectric sensor 1304 to turn on and off in each pulse emission period.
  • the turned-on photodetection unit is used to receive the light signal reflected by the target object (ie, the reflected laser beam), and convert the light signal into an electrical signal.
  • the controller 1302 and the processor 1305 are respectively connected to the time-to-digital converter TDC.
  • the time-to-digital converter TDC is also connected to each photodetection unit of the photoelectric sensor 1304 through the gate switch 1303 .
  • the time-to-digital converter TDC is used to obtain the flight according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period (also provides the time when the optical signal is detected) and the emission time of each pulse under the current scanning angle. time, and convert the flight time into a count value.
  • the processor 1305 is used to form the direct flight time histogram corresponding to the current scanning angle according to the count value converted by the time-to-digital converter TDC and the electrical signal; obtain the depth information of the laser spot under the current scanning angle according to the direct flight time histogram; After the laser 1301 scans the target object, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  • the depth imaging system provided by the embodiment of the present application. Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed.
  • the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, a higher probability of effective signal detection is ensured, which is beneficial to improve the imaging quality of the depth image of the target object.
  • the time window that each photoelectric detection unit is enabled in a pulse emission period is precisely controlled, and the photons that may be returned at each distance are accurately received, and the interference of ambient light is reduced as much as possible.
  • the number of ambient light photons collected during the time when multiple photodetector units are turned on is equivalent to the number of ambient light photons collected during the time when a single photodetector unit is always turned on in the prior art , and the detection of signal light is equivalent to fully opening all photoelectric detection units, so the signal quantity will not be lost, and the system power consumption will be greatly saved.
  • the depth imaging system may further include a memory connected to the processor for storing the direct time-of-flight histogram.
  • the figure illustrates the structure of a laser.
  • the laser includes: a laser light source 13011 , a collimating lens 13012 , a deflection mirror 13013 , a beam splitting element 13014 and a driving device 13015 .
  • the laser light source 13011 is used to emit a laser beam, and the laser beam includes laser pulses emitted according to the pulse emission period;
  • the collimating lens 13012 is used to collimate the laser beam and send it to the deflection mirror;
  • the deflection mirror 13013 is connected to the driving device 13015 for reflecting the laser beam from the collimating lens 13012 to the beam splitting element 13014; during the period, the deflection mirror 13013 is periodically deflected by the driving device 13015.
  • the deflection mirror 13013 is mechanically and/or electrically connected to the driving device 13015 .
  • the beam splitting element 13014 is used to split the received laser beam into multiple beams, and then project the multiple laser beams to the target object.
  • the projected multiple laser beams may be parallel to each other, or may form an included angle.
  • the controller 1302 controls the laser shown in FIG. 14 to adjust the scanning angle, it may specifically send the scanning angle adjustment signal to the driving device 13015, and then the driving device 13015 drives the deflection mirror 13013 to rotate according to the scanning angle adjustment signal.
  • At least one (item) refers to one or more, and "a plurality” refers to two or more.
  • “And/or” is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, “A and/or B” can mean: only A exists, only B exists, and both A and B exist at the same time. , where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, c can be single or multiple.

Abstract

A depth imaging method and a depth imaging system, the method comprising: scanning a target object at different scanning angles, and emitting laser pulses in pulse emission cycles at each scanning angle (501); in each pulse emission cycle, polling and controlling the on or off of photodetection units on a photoelectric sensor (502), each photoelectric detection unit of the photoelectric sensor being divided into multiple super-division pixels according to the size of laser spots; obtaining depth information of laser spots at a current scanning angle according to electrical signals provided by the photoelectric detection units that are polled and turned on during the pulse emission cycle (503); and after the target object is scanned, splicing the depth information of the laser spots at respective scanning angles to obtain a super-resolution depth image of the target object (504). The cumulative exposure time of the photoelectric detection units on the photoelectric sensor is greatly shortened, thus reducing power consumption and increasing the frame rate and imaging speed, and converted signals have a high signal-to-noise ratio, thus facilitating improvement of the imaging quality of the depth image of the target object.

Description

一种深度成像方法及深度成像系统Depth imaging method and depth imaging system
本申请要求于2020年07月23日提交中华人民共和国国家知识产权局、申请号为202010716865.3、发明名称为“一种深度成像方法及深度成像系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on July 23, 2020 with the State Intellectual Property Office of the People's Republic of China, the application number is 202010716865.3, and the invention name is "a depth imaging method and depth imaging system", the entire content of which is approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及成像技术领域,尤其涉及一种深度成像方法及深度成像系统。The present application relates to the field of imaging technologies, and in particular, to a depth imaging method and a depth imaging system.
背景技术Background technique
随着科技的发展,计算机视觉被广泛应用到人们日常生活和各行各业,比如地理测绘成像、遥感、汽车自动驾驶、自主车辆,协作机器人、三维景深测量以及消费电子等领域。雷达是实现计算机视觉的一种重要技术。雷达包括但不限于激光雷达、毫米波雷达、可见光雷达。3D摄像机是雷达系统的一种应用实例,该实例性系统组成包括:激光脉冲发射端、激光脉冲接收端、时间数字转换器(Time to Digital Converter,TDC)、控制系统。With the development of science and technology, computer vision has been widely used in people's daily life and all walks of life, such as geographic mapping and imaging, remote sensing, automotive autonomous driving, autonomous vehicles, collaborative robots, 3D depth measurement, and consumer electronics. Radar is an important technology for realizing computer vision. Radar includes but is not limited to lidar, millimeter-wave radar, and visible light radar. A 3D camera is an application example of a radar system. The example system consists of a laser pulse transmitter, a laser pulse receiver, a Time to Digital Converter (TDC), and a control system.
雷达工作场景中,激光脉冲发射端产生光脉冲并将其发射到环境中,光脉冲经环境中的目标物体反射后,由接收端接收。接收端将接收到的光子转换为电信号再提供给TDC。TDC参考脉冲的发射时刻对返回光子的延时进行量化,再放入给定宽度的时间网格中。当发射的脉冲数足够多时,时间网格中事件的个数可以形成直方图。直方图中最高的位置对应于脉冲的飞行时间(Time Of Flight,TOF),通过TOF可以计算出目标物体的距离。In the radar working scene, the laser pulse transmitter generates light pulses and transmits them into the environment. After the light pulses are reflected by the target objects in the environment, they are received by the receiver. The receiving end converts the received photons into electrical signals and then provides them to the TDC. The timing of the emission of the TDC reference pulse quantifies the delay of the returning photons and puts them into a time grid of a given width. When enough pulses are fired, the number of events in the time grid can form a histogram. The highest position in the histogram corresponds to the time of flight (TOF) of the pulse, through which the distance of the target object can be calculated.
光电传感器通常可作为接收端来检测光脉冲。深度成像在计算机视觉等领域的应用非常广泛。随着深度成像应用需求的不断丰富,深度成像对分辨率的需求也越来越高。然而,受半导体工艺和体积的限制,光电传感器上光电探测单元的分辨率难以满足实际需求。Photoelectric sensors are usually used as receivers to detect light pulses. Depth imaging is widely used in fields such as computer vision. With the continuous enrichment of the application requirements of depth imaging, the demand for resolution of depth imaging is also getting higher and higher. However, due to the limitation of semiconductor technology and volume, the resolution of the photodetection unit on the photoelectric sensor is difficult to meet the actual demand.
目前可以通过点阵超分技术解决深度成像的高分辨率需求与光电传感器的低分辨率性能的矛盾,在光电传感器的原有分辨率基础上构建虚拟的尺寸更小的超分像素,进而使光电传感器的分辨率提升,以满足深度成像的高分辨率需求。深度成像使用的3D摄像机的收发模组通常具有一定的基线距离,导致收发位置失配,失配偏移量又称为视差。视差以光电探测单元的个数作为度量单元,视差随目标距离而变化。由于视差的存在,在目标距离未知的条件下,光电传感器无法确定激光光斑所在的光电探测单元的位置。因此,往往需要全部打开周围的光电探测单元来检测接收到脉冲的光电探测单元。然而,在强环境光场景下全开光电探测单元所产生的功耗是芯片无法承受的。同时,受TDC数目限制,多个光电探测单元共用一个TDC,全开光电探测单元时仅有一个光电探测单元中有目标信号,其余光电探测单元检测到的均为噪声,严重降低了TDC接收信号的信噪比,进而难以从直方图中确定信号光。At present, the contradiction between the high-resolution requirement of depth imaging and the low-resolution performance of the photoelectric sensor can be solved through the lattice super-resolution technology. On the basis of the original resolution of the photoelectric sensor, a virtual super-resolution pixel with smaller size can be constructed, so as to make the The resolution of photoelectric sensors has been improved to meet the high-resolution requirements of depth imaging. The transceiver module of the 3D camera used in depth imaging usually has a certain baseline distance, which leads to the mismatch of the transceiver position, and the mismatch offset is also called parallax. Parallax takes the number of photodetection units as a measurement unit, and the parallax changes with the target distance. Due to the existence of parallax, under the condition that the target distance is unknown, the photoelectric sensor cannot determine the position of the photoelectric detection unit where the laser spot is located. Therefore, it is often necessary to turn on all the surrounding photodetection units to detect the photodetector units that have received the pulse. However, the power consumption generated by fully opening the photodetector unit in the strong ambient light scene is unbearable for the chip. At the same time, due to the limitation of the number of TDCs, multiple photodetector units share one TDC. When the photodetector unit is fully opened, only one photodetector unit has a target signal, and the rest of the photodetector units detect noise, which seriously reduces the TDC receiving signal. signal-to-noise ratio, and it is difficult to determine the signal light from the histogram.
目前,可以采取分时开启光电探测单元的方式来检测光斑的位置。以分时开启的方式,每个光电探测单元依次曝光一定的时间,但是该检测方式的曝光次数较多且曝光时间长,导致系统功耗非常高,帧率下降,深度成像速度较慢。如果为了降低曝光次数和曝光时间,则目前只能同时对多个光电探测单元采取全开操作,降低了直方图的信噪比,因此降低了 信号光的检出概率。At present, the position of the light spot can be detected by turning on the photoelectric detection unit in a time-sharing manner. In the time-sharing open mode, each photoelectric detection unit is exposed for a certain period of time in turn, but this detection method requires many exposure times and long exposure time, resulting in very high system power consumption, lower frame rate, and slower depth imaging speed. In order to reduce the exposure times and exposure time, currently only a plurality of photodetection units can be fully turned on at the same time, which reduces the signal-to-noise ratio of the histogram and thus reduces the detection probability of signal light.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种深度成像方法及深度成像系统,以在保证信噪比的同时降低系统功耗,实现高帧率的点阵超分,提升深度成像的速度。The present application provides a depth imaging method and a depth imaging system, so as to reduce system power consumption while ensuring a signal-to-noise ratio, achieve high frame rate lattice super-resolution, and improve the speed of depth imaging.
第一方面,本申请提供一种深度成像方法,包括:In a first aspect, the present application provides a depth imaging method, including:
以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;Scan the target object at different scanning angles, and emit laser pulses with pulse emission cycles at each scanning angle;
在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭;所述光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;In each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled to be turned on and off; the photoelectric sensor includes a plurality of photoelectric detection units, and each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot;
根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息;Obtain the depth information of the laser spot at the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period;
对所述目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得所述目标物体的超分辨率深度图像。After the target object is scanned, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
可选地,在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭,具体包括:Optionally, polling and controlling the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period specifically includes:
确定每个脉冲发射周期内待轮询的光电探测单元;Determine the photodetector units to be polled in each pulse emission period;
确定每个所述待轮询的光电探测单元对应的时间窗口;determining a time window corresponding to each of the photodetection units to be polled;
根据所述时间窗口轮询控制每个所述待轮询的光电探测单元开启和关闭。Each of the photodetection units to be polled is polled and controlled to be turned on and off according to the time window.
可选地,在每个扫描角度下以脉冲发射周期发射激光脉冲,具体包括:Optionally, the laser pulses are emitted with a pulse emission period at each scanning angle, which specifically includes:
在每个扫描角度持续多个所述脉冲发射周期按照点阵投射方式向所述目标物体发射激光脉冲,以同时在所述光电传感器上形成多个激光光斑;The laser pulses are emitted to the target object in a dot matrix projection manner for a plurality of the pulse emission periods at each scanning angle, so as to simultaneously form a plurality of laser light spots on the photoelectric sensor;
所述确定每个脉冲发射周期内待轮询的光电探测单元,具体包括:The determining of the photoelectric detection units to be polled in each pulse emission period specifically includes:
获得激光器的视场中相邻两个激光光斑的最小间隔;Obtain the minimum interval between two adjacent laser spots in the field of view of the laser;
根据无视差的光电探测单元和所述最小间隔,确定每个脉冲发射周期内每个激光光斑对应的待轮询的光电探测单元。According to the photodetection unit without parallax and the minimum interval, the photodetection unit to be polled corresponding to each laser spot in each pulse emission period is determined.
可选地,获得激光器的视场中相邻两个激光光斑的最小间隔,具体包括:Optionally, obtain the minimum interval between two adjacent laser spots in the field of view of the laser, specifically including:
根据所述激光器与所述光电传感器的基线距离、所述光电传感器的最小探测距离、所述光电探测单元的横向视场角和横向分辨率,获得所述激光器的视场中相邻两个激光光斑的最小间隔。According to the baseline distance between the laser and the photoelectric sensor, the minimum detection distance of the photoelectric sensor, the lateral field angle and lateral resolution of the photoelectric detection unit, two adjacent lasers in the field of view of the laser are obtained Minimum spacing of the spots.
可选地,确定每个所述待轮询的光电探测单元对应的时间窗口,具体包括:Optionally, determining the time window corresponding to each photoelectric detection unit to be polled specifically includes:
确定每个所述待轮询的光电探测单元相对于无视差的光电探测单元的偏移范围;determining the offset range of each of the photodetection units to be polled relative to the photodetection units without parallax;
根据所述偏移范围以及偏移与距离的对应关系,确定激光光斑落在每个所述待轮询的光电探测单元时对应的距离范围;According to the offset range and the corresponding relationship between the offset and the distance, determine the corresponding distance range when the laser spot falls on each of the photoelectric detection units to be polled;
根据所述距离范围以及距离与时间延迟的对应关系,确定每个所述待轮询的光电探测单元能够接收到激光光斑的飞行时间范围;所述飞行时间范围作为所述时间窗口。According to the distance range and the corresponding relationship between the distance and the time delay, determine the time-of-flight range in which each photoelectric detection unit to be polled can receive the laser spot; the time-of-flight range is used as the time window.
可选地,根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前 的扫描角度下激光光斑的深度信息,具体包括:Optionally, according to the electrical signal provided by each photoelectric detection unit turned on by polling in the pulse emission period, obtain the depth information of the laser spot under the current scanning angle, specifically including:
根据当前的扫描角度下在脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,生成当前的扫描角度对应的直接飞行时间直方图;Generate a direct flight time histogram corresponding to the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle;
在所述直接飞行时间直方图中寻峰,确定当前的扫描角度下激光光斑对应的飞行时间;Find peaks in the direct flight time histogram, and determine the flight time corresponding to the laser spot at the current scanning angle;
根据所述飞行时间以及飞行时间与距离的对应关系,获得当前的扫描角度下激光光斑的距离信息作为该激光光斑的深度信息。According to the flight time and the corresponding relationship between the flight time and the distance, the distance information of the laser spot at the current scanning angle is obtained as the depth information of the laser spot.
可选地,在所述获得当前的扫描角度下激光光斑的距离信息作为该激光光斑的深度信息之后,所述方法还包括:Optionally, after obtaining the distance information of the laser spot at the current scanning angle as the depth information of the laser spot, the method further includes:
根据偏移与距离的对应关系获得所述距离信息对应的偏移量;所述偏移量的整数部分指示目标光电探测单元相对于无视差的光电探测单元偏移的光电探测单元的个数,所述目标光电探测单元为激光光斑所在的光电探测单元,所述偏移量的小数部分指示所述目标光电探测单元中接收到所述激光光斑的超分位置;The offset corresponding to the distance information is obtained according to the correspondence between the offset and the distance; the integer part of the offset indicates the number of photodetection units offset by the target photodetection unit relative to the photodetection unit without parallax, The target photoelectric detection unit is the photoelectric detection unit where the laser spot is located, and the fractional part of the offset indicates the super-divided position where the laser spot is received in the target photoelectric detection unit;
根据所述偏移量和所述光电传感器的超分倍数,确定当前的扫描角度下在所述目标光电探测单元中探测到所述激光光斑的超分像素,以构建深度信息与超分像素的对应关系;According to the offset and the superdivision multiple of the photoelectric sensor, determine the superdivision pixel at which the laser spot is detected in the target photoelectric detection unit under the current scanning angle, so as to construct the relationship between the depth information and the superdivision pixel. Correspondence;
所述对所述目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,具体包括:After the scanning of the target object is completed, the depth information of the laser spot at each scanning angle is spliced, which specifically includes:
对所述目标物体扫描完成后,利用所述深度信息与超分像素的对应关系将各个扫描角度下激光光斑的深度信息拼接起来。After the target object is scanned, the depth information of the laser spot at each scanning angle is stitched together by using the corresponding relationship between the depth information and the super-divided pixels.
可选地,以不同的扫描角度扫描目标物体,具体包括:Optionally, scan the target object at different scanning angles, including:
在以下一个扫描角度扫描所述目标物体之前调节激光光路,以形成所述下一个扫描角度。The laser light path is adjusted before scanning the target object at the next scanning angle to form the next scanning angle.
第二方面,本申请提供一种深度成像系统,包括:激光器、控制器、选通元件、光电传感器、时间数字转换器和处理器;所述控制器连接所述激光器;所述光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;所述选通开关连接所述光电传感器的所有所述光电探测单元;所述控制器和所述处理器分别连接所述时间数字转换器;所述时间数字转换器还通过所述选通开关连接光电探测单元;In a second aspect, the present application provides a depth imaging system, including: a laser, a controller, a gating element, a photoelectric sensor, a time-to-digital converter, and a processor; the controller is connected to the laser; the photoelectric sensor includes multiple photoelectric detection units, each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; the gating switch is connected to all the photoelectric detection units of the photoelectric sensor; the controller and the processor The time-to-digital converters are respectively connected; the time-to-digital converters are also connected to the photodetection unit through the gate switch;
所述控制器,用于控制所述激光器以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;The controller is used to control the laser to scan the target object with different scanning angles, and emit laser pulses with a pulse emission period under each scanning angle;
所述选通开关,用于在每个脉冲发射周期内轮询控制所述光电传感器上的光电探测单元开启和关闭;开启的光电探测单元用于接收所述目标物体反射的光信号,并将所述光信号转换为电信号;The gate switch is used to poll and control the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period; the turned-on photodetection unit is used to receive the light signal reflected by the target object, and to converting the optical signal into an electrical signal;
所述时间数字转换器,用于根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号以及当前的扫描角度下各脉冲的发射时间得到飞行时间,并将所述飞行时间转化为计数值;The time-to-digital converter is used to obtain the flight time according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period and the emission time of each pulse under the current scanning angle, and convert the flight time into counts value;
所述处理器,用于根据所述时间数字转换器转化的计数值和所述电信号形成当前的扫描角度对应的直接飞行时间直方图;根据所述直接飞行时间直方图得到当前的扫描角度下激光光斑的深度信息;当所述激光器对所述目标物体扫描完成后,拼接各个扫描角度下激 光光斑的深度信息,获得所述目标物体的超分辨率深度图像。The processor is configured to form a direct time-of-flight histogram corresponding to the current scanning angle according to the count value converted by the time-to-digital converter and the electrical signal; Depth information of the laser spot; after the laser scans the target object, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
可选地,所述激光器包括:激光光源、准直透镜、偏转镜、分光元件和驱动装置;Optionally, the laser includes: a laser light source, a collimating lens, a deflecting mirror, a light splitting element and a driving device;
所述激光光源用于发射激光束,所述激光束包括按照脉冲发射周期发射的激光脉冲;The laser light source is used to emit a laser beam, and the laser beam includes laser pulses emitted according to a pulse emission period;
所述准直透镜用于将所述激光束准直并发送给所述偏转镜;the collimating lens is used for collimating and sending the laser beam to the deflecting mirror;
所述偏转镜与所述驱动装置连接,用于将来自所述准直透镜的激光束反射到所述分光元件;期间,所述偏转镜在所述驱动装置的带动下进行周期性的偏转;The deflecting mirror is connected with the driving device, and is used for reflecting the laser beam from the collimating lens to the beam splitting element; during the period, the deflecting mirror is periodically deflected by the driving device;
所述分光元件用于将接收到的激光束分光为多束,再向所述目标物体投射多束激光。The beam splitting element is used for splitting the received laser beam into multiple beams, and then projecting the multiple laser beams to the target object.
从以上技术方案可以看出,本申请实施例至少具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application at least have the following advantages:
本申请提供的深度成像方法中,以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭;光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息;对目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得目标物体的超分辨率深度图像。由于每个脉冲发射周期内光电探测单元是轮询开启,因此相比于分时开启光电探测单元,对光电传感器上光电探测单元的累计曝光时间大大缩短,进而,可以降低功耗,提升帧率和深度成像速度。此外,相比于同时全开光电探测单元的方式,轮询开启的方式保证在某时间开启的光电探测单元不受邻近的其他光电探测单元干扰,转换出的信号具有较高的信噪比,进而,保证较高的有效信号检出概率,有利于提升目标物体深度图像的成像质量。In the depth imaging method provided by the present application, the target object is scanned at different scanning angles, and laser pulses are emitted in a pulse emission period under each scanning angle; in each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on The photoelectric sensor includes a plurality of photoelectric detection units, and each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period, the current After scanning the target object, the depth information of the laser spot at each scanning angle is spliced to obtain the super-resolution depth image of the target object. Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed. In addition, compared with the method of fully turning on the photodetector units at the same time, the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, ensuring a high effective signal detection probability is beneficial to improve the imaging quality of the depth image of the target object.
附图说明Description of drawings
图1为一种点阵超分示意图;Fig. 1 is a kind of lattice super-resolution schematic diagram;
图2为一种发射视场与接收视场的关系示意图;FIG. 2 is a schematic diagram of the relationship between a transmitting field of view and a receiving field of view;
图3为一种偏移量与距离的关系示意图;Fig. 3 is a kind of schematic diagram of the relationship between offset and distance;
图4为多种不同距离下单个光电探测单元的视场在RX视场中的实际尺寸示意图;4 is a schematic diagram of the actual size of the field of view of a single photoelectric detection unit in the RX field of view under various different distances;
图5为本申请实施例提供的一种深度成像方法的流程图;5 is a flowchart of a depth imaging method provided by an embodiment of the present application;
图6为一种激光器点阵投射示意图;Fig. 6 is a kind of laser dot matrix projection schematic diagram;
图7为本申请实施例提供的扫描角度变化时多个激光光斑在超分像素的位置变化示意图;7 is a schematic diagram of the positional change of a plurality of laser light spots in the super-divided pixel when the scanning angle changes according to an embodiment of the present application;
图8为本申请实施例提供的横向上其他光电探测单元相对于无视差的光电探测单元的偏移范围示意图;FIG. 8 is a schematic diagram of the offset range of other photodetection units in the lateral direction relative to the photodetection unit without parallax according to an embodiment of the present application;
图9为本申请实施例提供的一个脉冲发射周期内各个待轮询的光电探测单元SPAD0~SPAD4的轮询时序示意图;9 is a schematic diagram of the polling sequence of each photoelectric detection unit SPAD0 to SPAD4 to be polled in one pulse emission period provided by the embodiment of the present application;
图10为本申请实施例提供的一种直接飞行时间直方图的示意图;10 is a schematic diagram of a direct flight time histogram provided by an embodiment of the present application;
图11为本申请实施例提供的一种点阵发射视差示意图;11 is a schematic diagram of a lattice emission parallax provided by an embodiment of the present application;
图12为本申请实施例提供的另一种深度成像方法的流程图;12 is a flowchart of another depth imaging method provided by an embodiment of the present application;
图13为本申请实施例提供的一种深度成像系统的结构示意图;13 is a schematic structural diagram of a depth imaging system according to an embodiment of the present application;
图14为本申请实施例提供的一种激光器的结构示意图。FIG. 14 is a schematic structural diagram of a laser according to an embodiment of the present application.
具体实施方式detailed description
在进行深度成像时,若光电传感器的分辨率难以满足成像需求时,可以利用点阵超分技术提升分辨率。下面结合附图简要介绍点阵超分技术。When performing depth imaging, if the resolution of the photoelectric sensor cannot meet the imaging requirements, the dot matrix super-resolution technique can be used to improve the resolution. The following briefly introduces the lattice super-separation technology with reference to the accompanying drawings.
图1为点阵超分示意图。如图1所示,一个光电探测单元的尺寸对应4×4个超分像素,4×4个光电探测单元共用一个TDC。光电探测单元中超分像素的尺寸与激光光斑的尺寸匹配,例如,激光光斑直径为K,将光电探测单元进行划分为多个K×K尺寸的超分像素。此外,激光光斑的直径也可以略小于超分像素的尺寸。Figure 1 is a schematic diagram of lattice super-resolution. As shown in Figure 1, the size of one photodetection unit corresponds to 4×4 super-divided pixels, and 4×4 photodetection units share one TDC. The size of the super-divided pixels in the photodetection unit matches the size of the laser spot. For example, the diameter of the laser spot is K, and the photodetection unit is divided into a plurality of super-divided pixels of K×K size. In addition, the diameter of the laser spot can also be slightly smaller than the size of the super-pixel.
图2为发射视场与接收视场的关系示意图。图2中,TX表示激光器,RX表示光电传感器。贯穿TX的虚线表示激光器的基线,贯穿RX的虚线表示光电传感器的基线。如图2所示,TX与RX的基线存在一定的距离。在图2中,横向表示偏移,纵向表示距离。由于基线距离的存在,导致光的收发位置失配,且失配的偏移量(又称为视差)与距离成反比。FIG. 2 is a schematic diagram showing the relationship between the transmitting field of view and the receiving field of view. In Fig. 2, TX represents a laser, and RX represents a photoelectric sensor. The dashed line through TX represents the baseline of the laser and the dashed line through RX represents the baseline of the photosensor. As shown in Figure 2, there is a certain distance between the baselines of TX and RX. In Figure 2, the horizontal direction represents the offset, and the vertical direction represents the distance. Due to the existence of the baseline distance, the sending and receiving positions of light are mismatched, and the offset of the mismatch (also called parallax) is inversely proportional to the distance.
图3为偏移量与距离的关系示意图。在本申请实施例中,偏移量以光电探测单元的个数衡量,例如:偏移3个光电探测单元。以横向偏移为例,实际含义是横向偏移了3个光电探测单元的尺寸。如图3所示,距离越远,偏移量越小;距离越近,偏移量越大。FIG. 3 is a schematic diagram of the relationship between the offset and the distance. In this embodiment of the present application, the offset is measured by the number of photodetection units, for example, 3 photodetector units are offset. Taking the lateral shift as an example, the actual meaning is to laterally shift the size of 3 photodetection units. As shown in Figure 3, the farther the distance, the smaller the offset; the closer the distance, the greater the offset.
公式(1)示出偏移量的计算方式:Formula (1) shows how the offset is calculated:
Figure PCTCN2021107301-appb-000001
Figure PCTCN2021107301-appb-000001
公式(1)中,σ表示偏移量,d baseline表示基线距离,d spad表示给定距离时单个光电探测单元的视场对应实际视场中的尺寸。如公式(1),在基线距离一定的情况下,单个光电探测单元的视场对应实际视场中的尺寸与偏移量成反比。结合偏移量与距离的关系可知,单个光电探测单元的视场对应实际视场中的尺寸与距离成正比。 In formula (1), σ represents the offset, d baseline represents the baseline distance, and d spad represents the size of the field of view of a single photoelectric detection unit corresponding to the actual field of view at a given distance. As shown in formula (1), in the case of a certain distance from the baseline, the size of the field of view of a single photodetector unit corresponds to the size in the actual field of view and is inversely proportional to the offset. Combining the relationship between the offset and the distance, it can be known that the field of view of a single photoelectric detection unit corresponds to the size in the actual field of view and is proportional to the distance.
图4展示了多种不同距离下单个光电探测单元的视场在RX视场中的实际尺寸。如图3所示,在与RX越近的距离,单个光电探测单元对应RX视场中的尺寸较小;在与RX较远的距离,单个光电探测单元对应RX视场中的尺寸较大。Figure 4 shows the actual size of the field of view of a single photodetector unit in the RX field of view at various distances. As shown in Figure 3, at a distance closer to RX, a single photodetector unit corresponds to a smaller size in the RX field of view; at a farther distance from RX, a single photodetector unit corresponds to a larger size in the RX field of view.
公式(2)示出单个光电探测单元的视场对应实际视场中的尺寸的计算方式:Formula (2) shows the calculation method of the field of view of a single photoelectric detection unit corresponding to the size in the actual field of view:
Figure PCTCN2021107301-appb-000002
Figure PCTCN2021107301-appb-000002
公式(2)中,d spad表示单个光电探测单元的视场对应实际视场中的尺寸,Dist表示距离,FOV h表示光电探测单元的横向视场角,N h表示光电探测单元的横向分辨率。 In formula (2), d spad represents the size of the field of view of a single photodetector unit corresponding to the actual field of view, Dist represents the distance, FOV h represents the lateral field of view of the photodetector unit, and N h represents the lateral resolution of the photodetector unit .
结合公式(1)和公式(2)得到偏移量与距离的关系式:Combining formula (1) and formula (2), the relationship between offset and distance is obtained:
Figure PCTCN2021107301-appb-000003
Figure PCTCN2021107301-appb-000003
点阵超分的前提是预先知道光斑在待超分的光电探测单元中的具体位置,而不依赖于光电传感器的输出。即,预知所发射的激光脉冲形成的光斑在光电传感器上的精确位置。 目前,分时开启光电探测单元的方式需要依次开启可能探测到光斑的光电探测单元,并检测这些光电探测单元转换信号后形成的直方图中是否存在激光脉冲,以确定光斑的位置。但是分时开启意味着多次的曝光次数和曝光时间,导致系统功耗成倍增加,帧率成倍下降。另一种同一时间全开光电探测单元的方式容易检测到大量的环境光,降低了直方图信噪比,有效信号容易被噪声掩盖,导致光脉冲难以被检出,从而难以确定光斑位置。The premise of lattice super-resolution is to know the specific position of the light spot in the photoelectric detection unit to be super-separated in advance, and does not depend on the output of the photoelectric sensor. That is, the precise position of the light spot formed by the emitted laser pulse on the photosensor is predicted. At present, the time-sharing method of turning on the photodetector units requires sequentially turning on the photodetector units that may detect the light spot, and detecting whether there is a laser pulse in the histogram formed by the converted signals of these photodetector units to determine the position of the light spot. However, the time-sharing opening means multiple exposure times and exposure times, resulting in a doubled increase in system power consumption and a doubled drop in frame rate. Another method of fully opening the photoelectric detection unit at the same time is easy to detect a large amount of ambient light, which reduces the signal-to-noise ratio of the histogram, and the effective signal is easily covered by noise, which makes it difficult to detect the light pulse, and thus it is difficult to determine the spot position.
由以上描述可知,目前应用点阵超分技术进行深度成像时,高成像信噪比和低系统功耗的要求很难兼顾。It can be seen from the above description that it is difficult to take into account the requirements of high imaging signal-to-noise ratio and low system power consumption when applying the lattice super-resolution technology for depth imaging at present.
基于上述问题,在本申请中提供了一种深度成像方法及深度成像系统。本申请技术方案中,在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭,缩短了光电探测单元的曝光时间,减少曝光次数,如此节省系统功耗,提升帧率,提升深度成像速度。此外,增强了直方图的信噪比,提升了有效信号的检出率。为便于理解本申请技术方案,以下结合实施例和附图进行详细说明。Based on the above problems, the present application provides a depth imaging method and a depth imaging system. In the technical solution of the present application, the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on and off in each pulse emission period, which shortens the exposure time of the photoelectric detection unit and reduces the number of exposures, thus saving system power consumption and improving the frame rate. Improve depth imaging speed. In addition, the signal-to-noise ratio of the histogram is enhanced, and the detection rate of valid signals is improved. In order to facilitate understanding of the technical solutions of the present application, the following detailed description is given in conjunction with the embodiments and the accompanying drawings.
方法实施例:Method example:
参见图5,该图为本申请实施例提供的一种深度成像方法的流程图。如图5所示,该深度成像方法包括:Referring to FIG. 5 , which is a flowchart of a depth imaging method provided by an embodiment of the present application. As shown in Figure 5, the depth imaging method includes:
步骤501:以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲。Step 501 : Scan the target object with different scanning angles, and emit laser pulses with a pulse emission period at each scanning angle.
目标物体是指深度成像需要呈现的物体,根据深度图像的实际需求,目标物体可能是人、动物、建筑物等。此处对目标物体的类型不进行限定。本申请实施例中,采用激光器向目标物体发射光脉冲,再由光电传感器接收从目标物体反射的光脉冲。激光的准直性较好,投射到目标物体上时形成光斑,光电传感器则具体对目标物体上的光斑进行探测。The target object refers to the object that depth imaging needs to present. According to the actual needs of the depth image, the target object may be a person, an animal, a building, etc. The type of the target object is not limited here. In the embodiment of the present application, a laser is used to transmit light pulses to the target object, and then the photoelectric sensor receives the light pulses reflected from the target object. The collimation of the laser is good, and a light spot is formed when it is projected on the target object, and the photoelectric sensor detects the light spot on the target object specifically.
在实际应用中,可以采用多种类型的激光器,例如工作在红外波段的激光器或工作在可见光波段的激光器。光电传感器的探测波段则要与激光器的工作波段匹配,以此实现对所形成光斑的有效探测。In practical applications, various types of lasers can be used, such as lasers operating in the infrared band or lasers operating in the visible light band. The detection band of the photoelectric sensor should match the working band of the laser, so as to realize the effective detection of the formed light spot.
为全面地对目标物体进行扫描以便后续深度成像,可以对目标物体进行二维线扫描。由于二维线扫描可以拆分为若干独立的一维线扫描,以下介绍中,均以横向的一维线扫描为例进行描述。In order to comprehensively scan the target object for subsequent depth imaging, a two-dimensional line scan of the target object can be performed. Since the two-dimensional line scan can be divided into several independent one-dimensional line scans, in the following description, the horizontal one-dimensional line scan is taken as an example for description.
本申请实施例中,激光器对目标物体的扫描角度不断变化。可以通过在激光器内部调节激光光路来改变扫描角度,也可以不改变激光器内部的激光光路,而是整体调节激光器的位置来改变扫描角度。激光光路调整后形成下一个扫描角度,接着再以下一个扫描角度进行扫描,直到覆盖整个接收视场的超分扫描完成。为提升扫描效率,可以令激光器出射激光点阵,进而当发射激光脉冲时能够在目标物体的表面形成多个激光光斑。图6为一种激光器点阵投射示意图。In the embodiment of the present application, the scanning angle of the laser to the target object changes constantly. The scanning angle can be changed by adjusting the laser light path inside the laser, or the scanning angle can be changed by adjusting the position of the laser as a whole without changing the laser light path inside the laser. After the laser optical path is adjusted, the next scanning angle is formed, and then the scanning is performed at the next scanning angle until the super-division scanning covering the entire receiving field of view is completed. In order to improve the scanning efficiency, the laser can be made to emit a laser lattice, and then multiple laser spots can be formed on the surface of the target object when the laser pulse is emitted. FIG. 6 is a schematic diagram of a laser dot matrix projection.
本申请实施例中,光电传感器包括多个光电探测单元。光电传感器上光电探测单元按照横向和纵向规律排布。每个光电探测单元的横向尺寸可以与纵向尺寸相同,也可以与纵向尺寸不同。作为示例,光电探测单元可以为单光子雪崩二极管(Single Photon Avalanche Diode,SPAD)或者雪崩式光电二极管(Avalanche Photon Diode,APD)。此处对于光电探测 单元的具体类型不做限定。In the embodiment of the present application, the photoelectric sensor includes a plurality of photoelectric detection units. The photoelectric detection units on the photoelectric sensor are arranged according to the horizontal and vertical rules. The lateral dimension of each photodetector unit may be the same as the longitudinal dimension, or may be different from the longitudinal dimension. As an example, the photodetection unit may be a single photon avalanche diode (Single Photon Avalanche Diode, SPAD) or an avalanche photodiode (Avalanche Photon Diode, APD). The specific type of the photodetection unit is not limited here.
每个光电探测单元依据激光光斑的尺寸划分为多个超分像素。例如,激光光斑的直径为D,光电探测单元的横向尺寸和纵向尺寸均为4D,则可以将每个光电探测单元划分为4*4个超分像素。将光电探测单元依据激光光斑的尺寸划分为多个超分像素,目的是后续以光斑被各个超分像素探测时记录的深度信息进行深度成像,满足对深度成像的高分辨率要求。Each photodetection unit is divided into a plurality of super-divided pixels according to the size of the laser spot. For example, if the diameter of the laser spot is D, and the lateral and vertical dimensions of the photodetection unit are both 4D, each photodetector unit can be divided into 4*4 super-divided pixels. The photodetection unit is divided into a plurality of super-resolution pixels according to the size of the laser spot, in order to perform depth imaging with the depth information recorded when the light spot is detected by each super-resolution pixel, so as to meet the high resolution requirements for depth imaging.
为便于理解,本申请实施例提供了扫描角度变化时多个激光光斑在超分像素的位置变化示意图,如图7。在图7的左侧和右侧分别表示前后两个扫描角度下激光光斑001~002在光电传感器的光电转换单元中超分像素的位置变化。由图7可知,当扫描角度变化一次时,各个激光光斑001~002在光电传感器上整体横向偏移了1个超分像素。For ease of understanding, the embodiment of the present application provides a schematic diagram of the position change of multiple laser light spots in the super-divided pixel when the scanning angle changes, as shown in FIG. 7 . The left side and the right side of FIG. 7 respectively show the position changes of the laser spots 001 to 002 in the photoelectric conversion unit of the photoelectric sensor under two scanning angles. It can be seen from FIG. 7 that when the scanning angle changes once, each laser spot 001 to 002 is laterally shifted by one super-divided pixel on the photoelectric sensor as a whole.
在以不同的扫描角度扫描目标物体时,在每个扫描角度均以预设的脉冲发射周期发射激光脉冲,目的是累积足够的光子数以便于后续获得激光光斑的深度信息。脉冲发射周期可以按照实际需求设定,例如,设定脉冲发射周期为100ns。When scanning the target object at different scanning angles, laser pulses are emitted with a preset pulse emission period at each scanning angle, in order to accumulate enough photons to obtain the depth information of the laser spot subsequently. The pulse emission period can be set according to actual requirements, for example, the pulse emission period is set to 100ns.
步骤502:在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭。Step 502 : polling and controlling the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period.
在扫描角度不变的情况下,光电传感器探测到激光器在不同脉冲发射周期发射的激光脉冲形成的光斑的超分像素的位置是不变的。但是在探测阶段,接收激光光斑处反射的光信号的具体的光电探测单元,以及该光电探测单元上接收激光光斑处反射的光信号的具体的超分像素均是未知的。Under the condition that the scanning angle is unchanged, the photoelectric sensor detects that the position of the super-divided pixel of the light spot formed by the laser pulses emitted by the laser in different pulse emission periods is unchanged. However, in the detection stage, the specific photodetection unit that receives the light signal reflected from the laser spot, and the specific super-divided pixel on the photodetector unit that receives the light signal reflected from the laser spot are unknown.
本申请实施例中,为了节省功耗,提升帧率和深度成像速度,提出通过轮训方式控制光电探测单元开闭的实现方案。具体地,如本步骤描述,在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭。In the embodiments of the present application, in order to save power consumption and improve the frame rate and depth imaging speed, an implementation scheme of controlling the opening and closing of the photoelectric detection unit by means of round-robin training is proposed. Specifically, as described in this step, in each pulse emission period, the photodetection unit on the photoelectric sensor is controlled to be turned on and off by polling.
在上文对图3的介绍中,目标物体的距离越远,TX视场与RX视场的偏移量越小。本申请实施例中可以预先标定目标距离无限远、TX和RX不存在视差时的光电探测单元作为无视差的光电探测单元。以该无视差的光电探测单元的位置作为参考位置衡量其他各光电探测单元的偏移量。参见图8,横向上其他光电探测单元相对于无视差的光电探测单元的偏移范围示意图。如图8所示,光电探测单元Spad i的偏移范围为[σ i-1,σ i]。 In the above introduction to Figure 3, the farther the target object is, the smaller the offset of the TX field of view and the RX field of view. In the embodiment of the present application, the photodetection unit when the target distance is infinite and the TX and RX do not have parallax can be pre-calibrated as the photodetection unit without parallax. The position of the photodetection unit without parallax is used as a reference position to measure the offset of each other photodetection unit. Referring to FIG. 8 , it is a schematic diagram of the offset range of other photodetection units relative to the photodetection unit without parallax in the lateral direction. As shown in FIG. 8 , the offset range of the photodetection unit Spad i is [σ i-1 , σ i ].
根据公式(3)可知光电探测单元的偏移量与目标物体的距离的关系。因此结合公式(3)得到偏移范围[σ i-1,σ i]对应的距离范围[d imin,d imax],该距离范围的上限d imax和下限d imin表达式如下: According to formula (3), the relationship between the offset of the photoelectric detection unit and the distance of the target object can be known. Thus binding equation (3) to give dispersion range [σ i-1, σ i ] corresponding to the distance [d imin, d imax], d imax upper and lower limits of the range of distance d imin expression is as follows:
Figure PCTCN2021107301-appb-000004
Figure PCTCN2021107301-appb-000004
Figure PCTCN2021107301-appb-000005
Figure PCTCN2021107301-appb-000005
在进行深度成像时,可以通过激光器发出的光脉冲的飞行时间得到目标物体的距离。距离与飞行时间的关系式如下:When performing depth imaging, the distance of the target object can be obtained by the time of flight of the light pulse emitted by the laser. The relationship between distance and flight time is as follows:
Figure PCTCN2021107301-appb-000006
Figure PCTCN2021107301-appb-000006
公式(6)中,Δt表示飞行时间,c表示光速。因此,根据公式(4)~(6)可以得到光 电探测单元探测的目标物体的距离范围[d i-1,d i]对应的飞行时间范围[t init_i,t end_i],飞行时间范围[t init_i,t end_i]的下限和上限的表达式如下: In formula (6), Δt represents the flight time, and c represents the speed of light. Therefore, according to formulas (4) to (6), the range of flight time [t init_i , t end_i ] corresponding to the distance range [d i-1 , d i ] of the target object detected by the photoelectric detection unit can be obtained, and the range of flight time [t The expressions for the lower and upper bounds of init_i , t end_i ] are as follows:
Figure PCTCN2021107301-appb-000007
Figure PCTCN2021107301-appb-000007
Figure PCTCN2021107301-appb-000008
Figure PCTCN2021107301-appb-000008
在脉冲发射周期内轮询控制光电探测单元开启之前,可以首先基于确定待轮询的光电探测单元。其后每个待轮训的光电探测单元相对于无视差的光电探测单元的偏移范围,结合偏移与距离的关系得到激光光斑落在每个待轮询的光电探测单元时对应的距离范围,在基于距离与时间延迟的对应关系确定每个待轮询的光电探测单元能够接收到激光光斑的飞行时间范围,将飞行时间范围作为轮询该光电探测单元的时间窗口。如此,确定出每个待轮询的光电探测单元对应的时间窗口。接着,根据时间窗口轮询控制每个待轮询的光电探测单元开启和关闭。Before the polling controls the photodetection units to be turned on during the pulse emission period, the photodetection units to be polled may be determined first based on the determination. Then, the offset range of each photoelectric detection unit to be polled relative to the photodetection unit without parallax, combined with the relationship between the offset and the distance, obtain the corresponding distance range when the laser spot falls on each photoelectric detection unit to be polled, The time-of-flight range in which each photoelectric detection unit to be polled can receive the laser spot is determined based on the correspondence between distance and time delay, and the time-of-flight range is used as the time window for polling the photoelectric detection unit. In this way, the time window corresponding to each photoelectric detection unit to be polled is determined. Next, each photodetection unit to be polled is controlled to be turned on and off according to the time window polling.
以图8所示光电探测单元Spad i为例,结合公式(7)和公式(8)求得的飞行时间范围[t init_i,t end_i],在每个脉冲发射周期内,将t init_i作为开启Spad i的时刻,将t end_i作为关闭Spad i的时刻。为便于理解,图9示例性地展示了一个脉冲发射周期内各个待轮询的光电探测单元SPAD0~SPAD4的轮询时序。如图9所示,在该脉冲发射周期内依次按照相应的时间窗口轮询控制SPAD0开启,控制SPAD0关闭(控制SPAD1开启),控制SPAD1关闭(控制SPAD2开启),控制SPAD2关闭(控制SPAD3开启),控制SPAD3关闭(控制SPAD4开启),控制SPAD4关闭。 Taking the photoelectric detection unit Spad i shown in Fig. 8 as an example, the flight time range [t init_i , t end_i ] obtained by combining formula (7) and formula (8), in each pulse emission period, take t init_i as the ON At the moment of Spad i, set t end_i as the moment of closing Spad i. For ease of understanding, FIG. 9 exemplarily shows the polling sequence of each of the photodetection units SPAD0 to SPAD4 to be polled in one pulse emission period. As shown in Figure 9, in the pulse emission period, according to the corresponding time window polling in turn, control SPAD0 to turn on, control SPAD0 to turn off (control SPAD1 to turn on), control SPAD1 to turn off (control SPAD2 to turn on), control SPAD2 to turn off (control SPAD3 to turn on) , control SPAD3 off (control SPAD4 on), control SPAD4 off.
通过上述方式,在每个脉冲发射周期内,仅在每个待轮询的光电探测单元可能探测到相应距离的激光光斑的时间窗口内对该光电探测单元使能,避免浪费曝光时间,也降低检测到环境光的几率。Through the above method, in each pulse emission period, each photoelectric detection unit to be polled is only enabled within the time window in which the photoelectric detection unit may detect the laser spot of the corresponding distance, so as to avoid wasting exposure time and reduce the The chance of detecting ambient light.
步骤503:根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息。Step 503: Obtain the depth information of the laser spot at the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period.
结合前述步骤502,当光电探测单元开启时,即有可能采集到信号光或环境光。实际应用中,在一个脉冲发射周期内被轮询开启的用于探测某个激光光斑的多个光电探测单元中,仅有一个光电探测单元探测到该激光光斑,下文将该光电探测单元称为目标光电探测单元。可以理解的是,随着扫描角度的变化,目标光电探测单元也发生变化。目标光电探测单元探测到信号光(或信号光+环境光),其余的光电探测单元探测到环境光。Combined with the foregoing step 502, when the photodetection unit is turned on, it is possible to collect signal light or ambient light. In practical applications, among the multiple photodetection units that are turned on by polling in a pulse emission period for detecting a certain laser spot, only one photoelectric detection unit detects the laser spot, and the photoelectric detection unit is hereinafter referred to as Target photodetector unit. It can be understood that, as the scanning angle changes, the target photodetection unit also changes. The target photodetection unit detects signal light (or signal light + ambient light), and the remaining photodetection units detect ambient light.
为了获得目标物体的深度图像,该目标光电探测单元所探测的激光光斑具体的深度信息。下面描述实现过程:In order to obtain the depth image of the target object, the specific depth information of the laser spot detected by the target photoelectric detection unit. The implementation process is described below:
根据当前的扫描角度下在脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,生成当前的扫描角度对应的直接飞行时间直方图。直接飞行时间直方图的横轴表示时间,纵轴表示计数值。图10为直接飞行时间直方图的示意图。通过在直方图中寻峰即可得到计数值最高的柱形对应的时间,以该时间作为当前的扫描角度下激光光斑对应的飞行时间。 根据飞行时间以及飞行时间与距离的对应关系,如公式(6),将前一步从直方图得到的飞行时间代入公式(6)中,即可获得当前的扫描角度下激光光斑的距离信息。该距离信息表征了目标光电探测单元探测到的该激光光斑的深度信息。The direct flight time histogram corresponding to the current scanning angle is generated according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle. The horizontal axis of the direct flight time histogram represents time, and the vertical axis represents the count value. Figure 10 is a schematic diagram of a direct flight time histogram. The time corresponding to the column with the highest count value can be obtained by finding the peak in the histogram, and this time is taken as the flight time corresponding to the laser spot at the current scanning angle. According to the flight time and the corresponding relationship between flight time and distance, such as formula (6), the flight time obtained from the histogram in the previous step is substituted into formula (6), and the distance information of the laser spot at the current scanning angle can be obtained. The distance information represents the depth information of the laser spot detected by the target photoelectric detection unit.
需要说明的是,步骤501至步骤503均是循环执行的。It should be noted that, steps 501 to 503 are all executed cyclically.
步骤504:对目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得目标物体的超分辨率深度图像。Step 504: After the target object is scanned, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
以一维线扫描为例,每改换一次扫描角度,在目标物体的扫描位置变化,即同一激光束透射至目标物体的位置发生改变。并且,光电传感器上接收该同一激光光斑的超分像素的位置横向变化,变化尺度为一个超分像素。Taking one-dimensional line scanning as an example, every time the scanning angle is changed, the scanning position of the target object changes, that is, the position where the same laser beam transmits to the target object changes. In addition, the position of the superdivision pixel receiving the same laser spot on the photoelectric sensor changes laterally, and the change scale is one superdivision pixel.
如步骤503的描述,在每个扫描角度下获得了激光光斑的深度信息,因此可以按照每个扫描角度下接收激光光斑的超分像素之间的位置联系,拼接获得目标物体的完整的超分辨率深度图像。As described in step 503, the depth information of the laser spot is obtained at each scanning angle, so the complete super-resolution of the target object can be obtained by splicing according to the positional relationship between the super-resolution pixels receiving the laser spot at each scanning angle rate depth image.
以上即为本申请实施例提供的深度成像方法。该方法中以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭;光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息;对目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得目标物体的超分辨率深度图像。The above is the depth imaging method provided by the embodiment of the present application. In the method, the target object is scanned at different scanning angles, and laser pulses are emitted at each scanning angle with a pulse emission period; in each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled and controlled to be turned on and off; the photoelectric sensor includes: A plurality of photoelectric detection units, each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period, the laser spot at the current scanning angle is obtained. After scanning the target object, the depth information of the laser spot at each scanning angle is spliced to obtain the super-resolution depth image of the target object.
由于每个脉冲发射周期内光电探测单元是轮询开启,因此相比于分时开启光电探测单元,对光电传感器上光电探测单元的累计曝光时间大大缩短,进而,可以降低功耗,提升帧率和深度成像速度。此外,相比于同时全开光电探测单元的方式,轮询开启的方式保证在某时间开启的光电探测单元不受邻近的其他光电探测单元干扰,转换出的信号具有较高的信噪比,进而,保证较高的有效信号检出概率,有利于提升目标物体深度图像的成像质量。Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed. In addition, compared with the method of fully turning on the photodetector units at the same time, the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, ensuring a high effective signal detection probability is beneficial to improve the imaging quality of the depth image of the target object.
在轮询开启模式下,精确控制每个光电探测单元在一个脉冲发射周期内使能的时间窗口,精确接收各距离可能返回的光子,尽可能地降低环境光的干扰。由于在一个脉冲发射周期内,多个光电探测单元开启的时间内收集到的环境光的光子数等价于在已有技术中单个光电探测单元一直开启的时间内收集到的环境光的光子数,且信号光的检出等价于全开所有光电探测单元,因此不会丢失信号量,并大大节省系统功耗。In the polling on mode, the time window that each photoelectric detection unit is enabled in a pulse emission period is precisely controlled, and the photons that may be returned at each distance are accurately received, and the interference of ambient light is reduced as much as possible. In one pulse emission period, the number of ambient light photons collected during the time when multiple photodetector units are turned on is equivalent to the number of ambient light photons collected during the time when a single photodetector unit is always turned on in the prior art , and the detection of signal light is equivalent to fully opening all photoelectric detection units, so the signal quantity will not be lost, and the system power consumption will be greatly saved.
当利用激光器对目标物体进行扫描时,为提升扫描效率可以同时向目标物体投射多束激光束。这些激光束可能是平行出射的,也可能非平行出射。以下描述中以平行出射为例进行描述。When using a laser to scan a target object, in order to improve the scanning efficiency, multiple laser beams can be projected to the target object at the same time. These laser beams may be parallel or non-parallel. In the following description, parallel output is taken as an example for description.
参见图11,该图为点阵发射视差示意图。图11中实心圆点表示TX视场中不同的激光光斑,空心圆圈表示RX视场中不同的激光光斑。结合图11不难看出,如果单次轮询控制涉及的光电探测单元过多,有可能在轮询后得到两个或两个以上有效的激光光斑的光信号。此时,容易将较弱的光信号误作为环境光的噪声信号忽略掉。为避免此问题的发生,可以 在轮询前首先确定基于单个激光光斑待轮询的光电探测单元。Referring to FIG. 11 , the figure is a schematic diagram of dot matrix emission parallax. The solid circles in Figure 11 represent different laser spots in the TX field of view, and the open circles represent different laser spots in the RX field of view. With reference to Fig. 11, it is not difficult to see that if there are too many photodetector units involved in a single polling control, it is possible to obtain optical signals of two or more valid laser spots after polling. At this time, it is easy to mistake the weak optical signal as a noise signal of ambient light and ignore it. To avoid this problem, the photodetector units to be polled based on a single laser spot can be determined first before polling.
以下结合实施例和附图描述本申请实施例提供的另一种深度成像方法。Another depth imaging method provided by the embodiments of the present application will be described below with reference to the embodiments and the accompanying drawings.
参见图12,该图为本申请实施例提供的另一种深度成像方法的流程图。如图12所示,该深度成像方法包括:Referring to FIG. 12 , which is a flowchart of another depth imaging method provided by an embodiment of the present application. As shown in Figure 12, the depth imaging method includes:
步骤1201:以不同的扫描角度扫描目标物体,在每个扫描角度持续多个脉冲发射周期按照点阵投射方式向目标物体发射激光脉冲,以同时在光电传感器上形成多个激光光斑。Step 1201 : Scan the target object at different scanning angles, and emit laser pulses to the target object in a dot matrix projection manner for multiple pulse emission cycles at each scanning angle, so as to form multiple laser spots on the photoelectric sensor at the same time.
以不同扫描角度形成的多个激光光斑分别参见图7的左侧和图7的右侧。The multiple laser spots formed at different scanning angles are shown on the left side of FIG. 7 and the right side of FIG. 7 , respectively.
步骤1202:根据激光器与光电传感器的基线距离、光电传感器的最小探测距离、光电探测单元的横向视场角和横向分辨率,获得激光器的视场中相邻两个激光光斑的最小间隔。Step 1202 : Obtain the minimum interval between two adjacent laser spots in the field of view of the laser according to the baseline distance between the laser and the photoelectric sensor, the minimum detection distance of the photoelectric sensor, the lateral field angle and lateral resolution of the photoelectric detection unit.
激光器与光电传感器的基线距离可以通过预先标定确定。每个光电传感器的探测能力包括最大探测距离和最小探测距离。最小探测距离可以从光电传感器的出厂参数中获得,也可以通过多次测试获得。光电探测单元的横向视场角和横向分辨率也可以从出厂参数获得。The baseline distance between the laser and the photoelectric sensor can be determined by pre-calibration. The detection capability of each photoelectric sensor includes the maximum detection distance and the minimum detection distance. The minimum detection distance can be obtained from the factory parameters of the photoelectric sensor, or obtained through multiple tests. The lateral field of view and lateral resolution of the photodetection unit can also be obtained from the factory parameters.
本申请实施例中为了确定每个脉冲发射周期内每个激光光斑对应的待轮询的光电探测单元,防止一轮轮询探测到一个以上的激光光斑,首先计算激光器的视场(TX视场)中相邻两个激光光斑的最小间隔。对于每个激光光斑,以最小间隔来确定待轮询的光电探测单元。In the embodiment of the present application, in order to determine the photoelectric detection unit to be polled corresponding to each laser spot in each pulse emission period and prevent more than one laser spot from being detected by one round of polling, first calculate the field of view of the laser (TX field of view). ) is the minimum interval between two adjacent laser spots. For each laser spot, the photodetection units to be polled are determined with a minimum interval.
激光器的视场中相邻两个激光光斑的最小间隔计算公式如下:The formula for calculating the minimum interval between two adjacent laser spots in the field of view of the laser is as follows:
Figure PCTCN2021107301-appb-000009
Figure PCTCN2021107301-appb-000009
公式(9)中,N spot表示TX视场中相邻两个激光光斑的最小间隔,d baseline表示激光器与光电传感器的基线距离,Dist min表示光电传感器的最小探测距离,FOV h表示光电探测单元的横向视场角,N h表示光电探测单元的横向分辨率。
Figure PCTCN2021107301-appb-000010
为向上取整符号,在向上取整符号中为最小探测距离对应的最大偏移量。本申请实施例中将该最大偏移量的上取整结果的基础上加1,以此得到的最终数值作为激光器视场中相邻两个激光光斑的最小间隔。最小间隔用光电探测单元的个数来表示。
In formula (9), N spot represents the minimum interval between two adjacent laser spots in the TX field of view, d baseline represents the baseline distance between the laser and the photoelectric sensor, Dist min represents the minimum detection distance of the photoelectric sensor, and FOV h represents the photoelectric detection unit The lateral field of view, N h represents the lateral resolution of the photodetection unit.
Figure PCTCN2021107301-appb-000010
is the round-up symbol, and in the round-up symbol is the maximum offset corresponding to the minimum detection distance. In the embodiment of the present application, 1 is added to the result of rounding up the maximum offset, and the final value obtained by this is used as the minimum interval between two adjacent laser spots in the laser field of view. The minimum interval is represented by the number of photodetector units.
步骤1203:根据无视差的光电探测单元和最小间隔,确定每个脉冲发射周期内每个激光光斑对应的待轮询的光电探测单元。Step 1203: Determine the photodetection unit to be polled corresponding to each laser spot in each pulse emission period according to the photodetection unit without parallax and the minimum interval.
例如,N spot=4是指连续的4个光电探测单元作为某一激光光斑对应的待轮询的光电探测单元,而后面连续的4个光电探测单元则要作为相邻的激光光斑对应的待轮询的光电探测单元。以图7为例,最小间隔为4,图中光电探测单元701~704为激光光斑001对应的待轮询的光电探测单元,光电探测单元705~708为激光光斑002对应的待轮询的光电探测单元。 For example, N spot = 4 means that four consecutive photodetector units are used as the photodetector units to be polled corresponding to a certain laser spot, and the following four photodetector units are to be used as the photodetector units corresponding to adjacent laser spots. Polled photodetector unit. Taking FIG. 7 as an example, the minimum interval is 4. In the figure, the photoelectric detection units 701 to 704 are the photoelectric detection units to be polled corresponding to the laser spot 001, and the photoelectric detection units 705 to 708 are the photoelectric detection units to be polled corresponding to the laser spot 002. detection unit.
按照公式(9)计算得到的最小间隔N spot来确定某一激光光斑对应的待轮询的N spot个光电探测单元不会在一个脉冲发射周期内探测到累计1个以上的激光光斑。如此,降低了确定信号光的难度,避免漏检信号光,增强了信号光检测的针对性和准确性。 According to the minimum interval N spot calculated by formula (9), it is determined that the N spot photoelectric detection units to be polled corresponding to a certain laser spot will not detect more than one laser spot accumulated in one pulse emission period. In this way, the difficulty of determining the signal light is reduced, the missed detection of the signal light is avoided, and the pertinence and accuracy of the signal light detection are enhanced.
步骤1204:确定每个待轮询的光电探测单元对应的时间窗口。Step 1204: Determine the time window corresponding to each photoelectric detection unit to be polled.
本步骤实现方式参见公式(7)~(8)和图8。For the implementation of this step, refer to formulas (7) to (8) and FIG. 8 .
步骤1205:根据时间窗口轮询控制每个待轮询的光电探测单元开启和关闭。Step 1205: Control each photoelectric detection unit to be polled on and off according to the time window polling.
为便于理解本步骤实现方式,请参照图9。To facilitate understanding of the implementation of this step, please refer to FIG. 9 .
步骤1206:根据当前的扫描角度下在脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,生成当前的扫描角度对应的直接飞行时间直方图。Step 1206: Generate a direct flight time histogram corresponding to the current scanning angle according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle.
当目标物体在当前的脉冲发射周期内被S个激光光束投射(S为大于1的整数),则可以生成S幅直接飞行时间直方图。每幅直接飞行直方图的最大计数值对应的时间为相应的激光光斑的飞行时间。直方图的示例可参照图10。When the target object is projected by S laser beams in the current pulse emission period (S is an integer greater than 1), then S direct flight time histograms can be generated. The time corresponding to the maximum count value of each direct flight histogram is the flight time of the corresponding laser spot. An example of a histogram can be found in FIG. 10 .
步骤1207:在直接飞行时间直方图中寻峰,确定当前的扫描角度下激光光斑对应的飞行时间。Step 1207 : find a peak in the direct flight time histogram, and determine the flight time corresponding to the laser spot at the current scanning angle.
步骤1208:根据飞行时间以及飞行时间与距离的对应关系,获得当前的扫描角度下激光光斑的距离信息作为该激光光斑的深度信息。Step 1208: According to the flight time and the corresponding relationship between the flight time and the distance, obtain the distance information of the laser spot at the current scanning angle as the depth information of the laser spot.
以上步骤1207至步骤1208的实现方式均已在前述实施例中进行过相关的描述,此处不再赘述。通过飞行时间求得激光光斑深度信息的计算方式参见公式(6)。The implementation manners of the above steps 1207 to 1208 have been described in the foregoing embodiments, and will not be repeated here. See formula (6) for the calculation method of obtaining laser spot depth information through time-of-flight.
为顺利拼接各扫描角度下激光光斑的深度信息,以形成包含目标物体的完整超分辨率深度图像,可以通过以下步骤来确定接收激光光斑处反射的激光光束的超分像素所在的目标光电探测单元以及该超分像素在目标光电探测单元的位置(即超分位置)。In order to successfully stitch the depth information of the laser spot at each scanning angle to form a complete super-resolution depth image including the target object, the following steps can be used to determine the target photoelectric detection unit where the super-resolution pixel that receives the laser beam reflected from the laser spot is located. and the position of the super-divided pixel in the target photodetection unit (ie, the super-divided position).
步骤1209:根据偏移与距离的对应关系获得距离信息对应的偏移量。Step 1209: Obtain the offset corresponding to the distance information according to the correspondence between the offset and the distance.
基于公式(3)可以得到当前的扫描角度下激光光斑的距离信息对应的偏移量表达式:Based on formula (3), the offset expression corresponding to the distance information of the laser spot at the current scanning angle can be obtained:
Figure PCTCN2021107301-appb-000011
Figure PCTCN2021107301-appb-000011
公式(10)中,d obj表示当前扫描角度下某个激光光斑的距离信息,σ obj表示该距离信息对应的偏移量。 In formula (10), d obj represents the distance information of a certain laser spot under the current scanning angle, and σ obj represents the offset corresponding to the distance information.
根据公式(10)计算得到的偏移量通常包括整数部分和小数部分。其中,整数部分指示目标光电探测单元相对于无视差的光电探测单元偏移的光电探测单元的个数,目标光电探测单元即为该激光光斑所在的光电探测单元。偏移量的小数部分则指示目标光电探测单元中接收到激光光斑的超分位置。The offset calculated according to formula (10) usually includes an integer part and a fractional part. Wherein, the integer part indicates the number of photodetection units offset by the target photodetector unit relative to the photodetector unit without parallax, and the target photodetector unit is the photodetector unit where the laser spot is located. The fractional part of the offset indicates the super-resolution position of the received laser spot in the target photodetector unit.
以σ obj=3.25为例,表示目标光电探测单元相对于无视差的光电探测单元偏移了3个光电探测单元。为了准确确定目标光电探测单元上接收到激光光斑的超分像素,需要执行以下步骤1210。 Taking σ obj =3.25 as an example, it means that the target photodetection unit is shifted by 3 photodetection units relative to the photodetection unit without parallax. In order to accurately determine the super-divided pixel on the target photodetection unit that receives the laser spot, the following step 1210 needs to be performed.
步骤1210:根据偏移量和光电传感器的超分倍数,确定当前的扫描角度下在目标光电探测单元中探测到激光光斑的超分像素,以构建深度信息与超分像素的对应关系。Step 1210: According to the offset and the superdivision multiple of the photoelectric sensor, determine the superdivision pixel of the laser spot detected in the target photoelectric detection unit under the current scanning angle, so as to construct the corresponding relationship between the depth information and the superdivision pixel.
以下公式表达了接收激光光斑的超分像素的确定方式:The following formula expresses how to determine the super-resolution pixel that receives the laser spot:
Figure PCTCN2021107301-appb-000012
Figure PCTCN2021107301-appb-000012
公式(11)中,l rx表示目标光电探测单元中探测到激光光斑的超分像素的序数,N supres表示光电传感器的超分倍数,σ obj表示该激光光斑的距离信息对应的偏移量。
Figure PCTCN2021107301-appb-000013
为向下取 整符号,
Figure PCTCN2021107301-appb-000014
为向上取整符号。如图7示例,一个光电探测单元横向包括4个超分像素,因此超分倍数为4。l rx的取值为1~N supres之间的整数。当N supres=4时,则l rx=1,2,3,4。以σ obj=3.25为例,根据公式(11)计算得到探测到激光光斑的超分像素的序数为1,表示接收该激光光斑的超分像素是目标光电探测单元沿激光光斑的移动方向的第1个超分像素。
In formula (11), l rx represents the ordinal number of the super-resolution pixels in the target photodetection unit that detect the laser spot, N supres represents the super-resolution multiple of the photoelectric sensor, and σ obj represents the offset corresponding to the distance information of the laser spot.
Figure PCTCN2021107301-appb-000013
to round down notation,
Figure PCTCN2021107301-appb-000014
is the round-up symbol. As shown in FIG. 7 , one photodetection unit includes 4 superdivision pixels laterally, so the superdivision multiple is 4. l The value of rx is an integer between 1 and N supres. When N supres =4, then l rx =1,2,3,4. Taking σ obj =3.25 as an example, according to formula (11), the ordinal number of the super-divided pixel that detects the laser spot is calculated to be 1, which means that the super-divided pixel that receives the laser spot is the No. 1 pixel of the target photodetection unit along the moving direction of the laser spot. 1 superpixel.
如此,构建了目标光电探测单元沿激光光斑的移动方向的第1个超分像素与该激光光斑的深度信息的对应关系。在以点阵投射方式向目标物体发射激光脉冲的场景下,每个扫描角度均可以得到多个超分像素与激光光斑深度信息的对应关系。需要说明的是,步骤1201至步骤1210是循环进行的。因此,通过循环执行步骤1201至步骤1210,能够构建出每个接收过激光光斑的超分像素激光光斑深度信息的对应关系。In this way, the correspondence between the first super-divided pixel of the target photodetection unit along the moving direction of the laser spot and the depth information of the laser spot is constructed. In the scenario of emitting laser pulses to the target object in the form of dot matrix projection, the correspondence between multiple super-divided pixels and the depth information of the laser spot can be obtained for each scanning angle. It should be noted that, steps 1201 to 1210 are performed cyclically. Therefore, by cyclically executing steps 1201 to 1210, the corresponding relationship of the laser spot depth information of each super-divided pixel that has received the laser spot can be constructed.
步骤1211:对目标物体扫描完成后,利用深度信息与超分像素的对应关系将各个扫描角度下激光光斑的深度信息拼接起来。Step 1211 : After the target object is scanned, the depth information of the laser spot at each scanning angle is stitched together by using the corresponding relationship between the depth information and the super-divided pixels.
以图7为例,将激光光斑001在光电探测单元701的第1个超分像素的深度信息与在光电探测单元701的第2个超分像素的深度信息按照两个超分像素的位置关联拼接起来,以此类推。Taking FIG. 7 as an example, the depth information of the laser spot 001 in the first super-divided pixel of the photodetection unit 701 is associated with the depth information of the second super-divided pixel in the photodetection unit 701 according to the positions of the two super-divided pixels. stitched together, and so on.
在以上实施例中,通过步骤1202获得最小间隔,再通过步骤1203以最小间隔为依据确定每个脉冲发射周期内每个激光光斑对应的待轮询的光电探测单元,降低了确定信号光的难度,避免漏检信号光,增强了信号光检测的针对性和准确性。通过步骤1210构建深度信息与超分像素的对应关系,提升各个目标物体的各位置深度信息的拼接效率,提升深度成像速度。In the above embodiment, the minimum interval is obtained in step 1202, and then the photoelectric detection unit to be polled corresponding to each laser spot in each pulse emission period is determined based on the minimum interval in step 1203, which reduces the difficulty of determining the signal light , to avoid missed detection of signal light, and enhance the pertinence and accuracy of signal light detection. Through step 1210, the corresponding relationship between the depth information and the super-divided pixels is constructed, so as to improve the splicing efficiency of the depth information of each position of each target object, and improve the speed of depth imaging.
基于前述实施例提供的深度成像方法,相应地,本申请还提供一种深度成像系统。以下结合实施例和附图介绍该系统。Based on the depth imaging method provided by the foregoing embodiments, correspondingly, the present application also provides a depth imaging system. The system is described below with reference to the embodiments and the accompanying drawings.
系统实施例:System example:
参见图13,该图为本申请实施例提供的深度成像系统的结构示意图。如图13所示,深度成像系统包括:Referring to FIG. 13 , this figure is a schematic structural diagram of a depth imaging system provided by an embodiment of the present application. As shown in Figure 13, the depth imaging system includes:
激光器1301、控制器1302、选通元件1303、光电传感器1304、时间数字转换器TDC和处理器1305; Laser 1301, controller 1302, gating element 1303, photoelectric sensor 1304, time-to-digital converter TDC and processor 1305;
其中,控制器1302连接激光器1301。控制器1302,用于控制激光器1301以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲。The controller 1302 is connected to the laser 1301 . The controller 1302 is used to control the laser 1301 to scan the target object at different scanning angles, and emit laser pulses with a pulse emission period under each scanning angle.
在一种可能的实现方式中,由控制器1302设定激光器1301的脉冲发射周期,激光器1301根据控制器1302提供的脉冲控制信号,以上述脉冲发射周期发射激光脉冲。In a possible implementation manner, the controller 1302 sets the pulse emission period of the laser 1301, and the laser 1301 emits laser pulses in the above pulse emission period according to the pulse control signal provided by the controller 1302.
在另一种可能的实现方式中,控制器1302可以控制激光器1301的扫描角度。当控制器1302向激光器1301发射扫描角度调节信号时,激光器1301根据该扫描角度调节信号调节扫描角度。In another possible implementation, the controller 1302 may control the scanning angle of the laser 1301 . When the controller 1302 transmits a scan angle adjustment signal to the laser 1301, the laser 1301 adjusts the scan angle according to the scan angle adjustment signal.
光电传感器1304包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素。光电探测单元可以为SPAD或者APD。此处对于光电探测单元的具体类型不做限定。图13中,仅以SPAD 1、SPAD 2、SPAD 3......SPADN为示例表示不同的光 电探测单元。The photosensor 1304 includes a plurality of photodetection units, and each photodetector unit is divided into a plurality of super-divided pixels according to the size of the laser spot. The photodetection unit can be SPAD or APD. The specific type of the photodetection unit is not limited here. In Fig. 13, only SPAD 1, SPAD 2, SPAD 3...SPADN are used as examples to represent different photoelectric detection units.
选通开关1303连接光电传感器1304的所有光电探测单元。选通开关1303,用于在每个脉冲发射周期内轮询控制光电传感器1304上的光电探测单元开启和关闭。开启的光电探测单元用于接收目标物体反射的光信号(即反射的激光光束),并将光信号转换为电信号。The gate switch 1303 connects all photodetection units of the photoelectric sensor 1304 . The gate switch 1303 is used to poll and control the photodetection unit on the photoelectric sensor 1304 to turn on and off in each pulse emission period. The turned-on photodetection unit is used to receive the light signal reflected by the target object (ie, the reflected laser beam), and convert the light signal into an electrical signal.
控制器1302和处理器1305分别连接时间数字转换器TDC。The controller 1302 and the processor 1305 are respectively connected to the time-to-digital converter TDC.
时间数字转换器TDC还通过选通开关1303连接光电传感器1304的各个光电探测单元。时间数字转换器TDC,用于根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号(同时也提供了探测到光信号的时间)以及当前的扫描角度下各脉冲的发射时间得到飞行时间,并将飞行时间转化为计数值。The time-to-digital converter TDC is also connected to each photodetection unit of the photoelectric sensor 1304 through the gate switch 1303 . The time-to-digital converter TDC is used to obtain the flight according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period (also provides the time when the optical signal is detected) and the emission time of each pulse under the current scanning angle. time, and convert the flight time into a count value.
处理器1305,用于根据时间数字转换器TDC转化的计数值和电信号形成当前的扫描角度对应的直接飞行时间直方图;根据直接飞行时间直方图得到当前的扫描角度下激光光斑的深度信息;当激光器1301对目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得目标物体的超分辨率深度图像。The processor 1305 is used to form the direct flight time histogram corresponding to the current scanning angle according to the count value converted by the time-to-digital converter TDC and the electrical signal; obtain the depth information of the laser spot under the current scanning angle according to the direct flight time histogram; After the laser 1301 scans the target object, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
以上即为本申请实施例提供的深度成像系统。由于每个脉冲发射周期内光电探测单元是轮询开启,因此相比于分时开启光电探测单元,对光电传感器上光电探测单元的累计曝光时间大大缩短,进而,可以降低功耗,提升帧率和深度成像速度。此外,相比于同时全开光电探测单元的方式,轮询开启的方式保证在某时间开启的光电探测单元不受邻近的其他光电探测单元干扰,转换出的信号具有较高的信噪比,进而,保证较高的有效信号检出概率,有利于提升目标物体深度图像的成像质量。The above is the depth imaging system provided by the embodiment of the present application. Since the photoelectric detection unit is turned on by polling in each pulse emission period, the cumulative exposure time of the photoelectric detection unit on the photoelectric sensor is greatly shortened compared with the time-sharing opening of the photoelectric detection unit, which in turn can reduce power consumption and improve frame rate. and depth imaging speed. In addition, compared with the method of fully turning on the photodetector units at the same time, the polling-on method ensures that the photodetector units that are turned on at a certain time will not be interfered by other adjacent photodetector units, and the converted signal has a higher signal-to-noise ratio. Furthermore, a higher probability of effective signal detection is ensured, which is beneficial to improve the imaging quality of the depth image of the target object.
在轮询开启模式下,精确控制每个光电探测单元在一个脉冲发射周期内使能的时间窗口,精确接收各距离可能返回的光子,尽可能地降低环境光的干扰。由于在一个脉冲发射周期内,多个光电探测单元开启的时间内收集到的环境光的光子数等价于在已有技术中单个光电探测单元一直开启的时间内收集到的环境光的光子数,且信号光的检出等价于全开所有光电探测单元,因此不会丢失信号量,并大大节省系统功耗。In the polling on mode, the time window that each photoelectric detection unit is enabled in a pulse emission period is precisely controlled, and the photons that may be returned at each distance are accurately received, and the interference of ambient light is reduced as much as possible. In one pulse emission period, the number of ambient light photons collected during the time when multiple photodetector units are turned on is equivalent to the number of ambient light photons collected during the time when a single photodetector unit is always turned on in the prior art , and the detection of signal light is equivalent to fully opening all photoelectric detection units, so the signal quantity will not be lost, and the system power consumption will be greatly saved.
可选地,深度成像系统还可以进一步包括存储器,存储器与处理器连接,用于存储直接飞行时间直方图。Optionally, the depth imaging system may further include a memory connected to the processor for storing the direct time-of-flight histogram.
本申请实施例提供了上述激光器的一种示例实现方式。参见图14,该图示意了一种激光器的结构。如图14所示,激光器包括:激光光源13011、准直透镜13012、偏转镜13013、分光元件13014和驱动装置13015。The embodiments of the present application provide an example implementation of the above laser. Referring to Figure 14, the figure illustrates the structure of a laser. As shown in FIG. 14 , the laser includes: a laser light source 13011 , a collimating lens 13012 , a deflection mirror 13013 , a beam splitting element 13014 and a driving device 13015 .
其中,激光光源13011用于发射激光束,激光束包括按照脉冲发射周期发射的激光脉冲;Wherein, the laser light source 13011 is used to emit a laser beam, and the laser beam includes laser pulses emitted according to the pulse emission period;
准直透镜13012用于将激光束准直并发送给偏转镜;The collimating lens 13012 is used to collimate the laser beam and send it to the deflection mirror;
偏转镜13013与驱动装置13015连接,用于将来自准直透镜13012的激光束反射到分光元件13014;期间,偏转镜13013在驱动装置13015的带动下进行周期性的偏转。偏转镜13013与驱动装置13015机械连接和/或电性连接。The deflection mirror 13013 is connected to the driving device 13015 for reflecting the laser beam from the collimating lens 13012 to the beam splitting element 13014; during the period, the deflection mirror 13013 is periodically deflected by the driving device 13015. The deflection mirror 13013 is mechanically and/or electrically connected to the driving device 13015 .
分光元件13014用于将接收到的激光束分光为多束,再向目标物体投射多束激光。根据分光元件13014的设计,投射出的多束激光可能相互平行,也可能成有夹角。The beam splitting element 13014 is used to split the received laser beam into multiple beams, and then project the multiple laser beams to the target object. According to the design of the light splitting element 13014, the projected multiple laser beams may be parallel to each other, or may form an included angle.
当控制器1302控制图14所示的激光器调节扫描角度时,具体可以是将扫描角度调节信号发送给驱动装置13015,进而驱动装置13015根据扫描角度调节信号带动偏转镜13013旋转。When the controller 1302 controls the laser shown in FIG. 14 to adjust the scanning angle, it may specifically send the scanning angle adjustment signal to the driving device 13015, and then the driving device 13015 drives the deflection mirror 13013 to rotate according to the scanning angle adjustment signal.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that, in this application, "at least one (item)" refers to one or more, and "a plurality" refers to two or more. "And/or" is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, "A and/or B" can mean: only A exists, only B exists, and both A and B exist at the same time. , where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c" ", where a, b, c can be single or multiple.
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。The above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

  1. 一种深度成像方法,其特征在于,包括:A depth imaging method, comprising:
    以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;Scan the target object at different scanning angles, and emit laser pulses with pulse emission cycles at each scanning angle;
    在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭;所述光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;In each pulse emission period, the photoelectric detection unit on the photoelectric sensor is polled to be turned on and off; the photoelectric sensor includes a plurality of photoelectric detection units, and each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot;
    根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息;Obtain the depth information of the laser spot at the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period;
    对所述目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得所述目标物体的超分辨率深度图像。After the target object is scanned, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  2. 根据权利要求1所述的深度成像方法,其特征在于,所述在每个脉冲发射周期内轮询控制光电传感器上的光电探测单元开启和关闭,具体包括:The depth imaging method according to claim 1, wherein the polling and controlling the photodetection unit on the photoelectric sensor to be turned on and off in each pulse emission period specifically includes:
    确定每个脉冲发射周期内待轮询的光电探测单元;Determine the photodetector units to be polled in each pulse emission period;
    确定每个所述待轮询的光电探测单元对应的时间窗口;determining a time window corresponding to each of the photodetection units to be polled;
    根据所述时间窗口轮询控制每个所述待轮询的光电探测单元开启和关闭。Each of the photodetection units to be polled is polled and controlled to be turned on and off according to the time window.
  3. 根据权利要求2所述的深度成像方法,其特征在于,所述在每个扫描角度下以脉冲发射周期发射激光脉冲,具体包括:The depth imaging method according to claim 2, wherein the transmitting laser pulses at each scanning angle with a pulse emission period, specifically comprising:
    在每个扫描角度持续多个所述脉冲发射周期按照点阵投射方式向所述目标物体发射激光脉冲,以同时在所述光电传感器上形成多个激光光斑;The laser pulses are emitted to the target object in a dot matrix projection manner for a plurality of the pulse emission periods at each scanning angle, so as to simultaneously form a plurality of laser light spots on the photoelectric sensor;
    所述确定每个脉冲发射周期内待轮询的光电探测单元,具体包括:The determining of the photoelectric detection units to be polled in each pulse emission period specifically includes:
    获得激光器的视场中相邻两个激光光斑的最小间隔;Obtain the minimum interval between two adjacent laser spots in the field of view of the laser;
    根据无视差的光电探测单元和所述最小间隔,确定每个脉冲发射周期内每个激光光斑对应的待轮询的光电探测单元。According to the photodetection unit without parallax and the minimum interval, the photodetection unit to be polled corresponding to each laser spot in each pulse emission period is determined.
  4. 根据权利要求3所述的深度成像方法,其特征在于,所述获得激光器的视场中相邻两个激光光斑的最小间隔,具体包括:The depth imaging method according to claim 3, wherein the obtaining the minimum interval between two adjacent laser spots in the field of view of the laser specifically comprises:
    根据所述激光器与所述光电传感器的基线距离、所述光电传感器的最小探测距离、所述光电探测单元的横向视场角和横向分辨率,获得所述激光器的视场中相邻两个激光光斑的最小间隔。According to the baseline distance between the laser and the photoelectric sensor, the minimum detection distance of the photoelectric sensor, the lateral field angle and lateral resolution of the photoelectric detection unit, two adjacent lasers in the field of view of the laser are obtained Minimum spacing of the spots.
  5. 根据权利要求2所述的深度成像方法,其特征在于,所述确定每个所述待轮询的光电探测单元对应的时间窗口,具体包括:The depth imaging method according to claim 2, wherein the determining a time window corresponding to each photoelectric detection unit to be polled specifically includes:
    确定每个所述待轮询的光电探测单元相对于无视差的光电探测单元的偏移范围;determining the offset range of each of the photodetection units to be polled relative to the photodetection units without parallax;
    根据所述偏移范围以及偏移与距离的对应关系,确定激光光斑落在每个所述待轮询的光电探测单元时对应的距离范围;According to the offset range and the corresponding relationship between the offset and the distance, determine the corresponding distance range when the laser spot falls on each of the photoelectric detection units to be polled;
    根据所述距离范围以及距离与时间延迟的对应关系,确定每个所述待轮询的光电探测单元能够接收到激光光斑的飞行时间范围;所述飞行时间范围作为所述时间窗口。According to the distance range and the corresponding relationship between the distance and the time delay, determine the time-of-flight range in which each photoelectric detection unit to be polled can receive the laser spot; the time-of-flight range is used as the time window.
  6. 根据权利要求1所述的深度成像方法,其特征在于,所述根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,得到当前的扫描角度下激光光斑的深度信息,具 体包括:Depth imaging method according to claim 1, is characterized in that, described according to the electric signal that each photoelectric detection unit that turns on polling in the pulse emission period provides, obtains the depth information of the laser spot under the current scanning angle, specifically includes:
    根据当前的扫描角度下在脉冲发射周期内轮询开启的各个光电探测单元提供的电信号,生成当前的扫描角度对应的直接飞行时间直方图;Generate a direct flight time histogram corresponding to the current scanning angle according to the electrical signal provided by each photoelectric detection unit that is turned on by polling in the pulse emission period under the current scanning angle;
    在所述直接飞行时间直方图中寻峰,确定当前的扫描角度下激光光斑对应的飞行时间;Find peaks in the direct flight time histogram, and determine the flight time corresponding to the laser spot at the current scanning angle;
    根据所述飞行时间以及飞行时间与距离的对应关系,获得当前的扫描角度下激光光斑的距离信息作为该激光光斑的深度信息。According to the flight time and the corresponding relationship between the flight time and the distance, the distance information of the laser spot at the current scanning angle is obtained as the depth information of the laser spot.
  7. 根据权利要求6所述的深度成像方法,其特征在于,在所述获得当前的扫描角度下激光光斑的距离信息作为该激光光斑的深度信息之后,所述方法还包括:The depth imaging method according to claim 6, wherein after obtaining the distance information of the laser spot at the current scanning angle as the depth information of the laser spot, the method further comprises:
    根据偏移与距离的对应关系获得所述距离信息对应的偏移量;所述偏移量的整数部分指示目标光电探测单元相对于无视差的光电探测单元偏移的光电探测单元的个数,所述目标光电探测单元为激光光斑所在的光电探测单元,所述偏移量的小数部分指示所述目标光电探测单元中接收到所述激光光斑的超分位置;The offset corresponding to the distance information is obtained according to the correspondence between the offset and the distance; the integer part of the offset indicates the number of photodetection units offset by the target photodetection unit relative to the photodetection unit without parallax, The target photoelectric detection unit is the photoelectric detection unit where the laser spot is located, and the fractional part of the offset indicates the super-divided position where the laser spot is received in the target photoelectric detection unit;
    根据所述偏移量和所述光电传感器的超分倍数,确定当前的扫描角度下在所述目标光电探测单元中探测到所述激光光斑的超分像素,以构建深度信息与超分像素的对应关系;According to the offset and the superdivision multiple of the photoelectric sensor, determine the superdivision pixel at which the laser spot is detected in the target photoelectric detection unit under the current scanning angle, so as to construct the relationship between the depth information and the superdivision pixel. Correspondence;
    所述对所述目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,具体包括:After the scanning of the target object is completed, the depth information of the laser spot at each scanning angle is spliced, which specifically includes:
    对所述目标物体扫描完成后,利用所述深度信息与超分像素的对应关系将各个扫描角度下激光光斑的深度信息拼接起来。After the target object is scanned, the depth information of the laser spot at each scanning angle is stitched together by using the corresponding relationship between the depth information and the super-divided pixels.
  8. 根据权利要求1所述的深度成像方法,其特征在于,所述以不同的扫描角度扫描目标物体,具体包括:The depth imaging method according to claim 1, wherein the scanning the target object with different scanning angles specifically includes:
    在以下一个扫描角度扫描所述目标物体之前调节激光光路,以形成所述下一个扫描角度。The laser light path is adjusted before scanning the target object at the next scanning angle to form the next scanning angle.
  9. 一种深度成像系统,其特征在于,包括:激光器、控制器、选通元件、光电传感器、时间数字转换器和处理器;所述控制器连接所述激光器;所述光电传感器包括多个光电探测单元,每个光电探测单元依据激光光斑的尺寸划分为多个超分像素;所述选通开关连接所述光电传感器的所有所述光电探测单元;所述控制器和所述处理器分别连接所述时间数字转换器;所述时间数字转换器还通过所述选通开关连接光电探测单元;A depth imaging system, comprising: a laser, a controller, a gating element, a photoelectric sensor, a time-to-digital converter and a processor; the controller is connected to the laser; the photoelectric sensor includes a plurality of photodetectors Each photoelectric detection unit is divided into a plurality of super-divided pixels according to the size of the laser spot; the gating switch is connected to all the photoelectric detection units of the photoelectric sensor; the controller and the processor are respectively connected to the the time-to-digital converter; the time-to-digital converter is also connected to the photodetection unit through the gate switch;
    所述控制器,用于控制所述激光器以不同的扫描角度扫描目标物体,在每个扫描角度下以脉冲发射周期发射激光脉冲;The controller is used to control the laser to scan the target object with different scanning angles, and emit laser pulses with a pulse emission period under each scanning angle;
    所述选通开关,用于在每个脉冲发射周期内轮询控制所述光电传感器上的光电探测单元开启和关闭;开启的光电探测单元用于接收所述目标物体反射的光信号,并将所述光信号转换为电信号;The gate switch is used to poll and control the photodetection unit on the photoelectric sensor to turn on and off in each pulse emission period; the turned-on photodetection unit is used to receive the light signal reflected by the target object, and to converting the optical signal into an electrical signal;
    所述时间数字转换器,用于根据脉冲发射周期内轮询开启的各个光电探测单元提供的电信号以及当前的扫描角度下各脉冲的发射时间得到飞行时间,并将所述飞行时间转化为计数值;The time-to-digital converter is used to obtain the flight time according to the electrical signals provided by each photoelectric detection unit that is turned on by polling in the pulse emission period and the emission time of each pulse under the current scanning angle, and convert the flight time into counts value;
    所述处理器,用于根据所述时间数字转换器转化的计数值和所述电信号形成当前的扫描角度对应的直接飞行时间直方图;根据所述直接飞行时间直方图得到当前的扫描角度下 激光光斑的深度信息;当所述激光器对所述目标物体扫描完成后,拼接各个扫描角度下激光光斑的深度信息,获得所述目标物体的超分辨率深度图像。The processor is configured to form a direct time-of-flight histogram corresponding to the current scanning angle according to the count value converted by the time-to-digital converter and the electrical signal; Depth information of the laser spot; after the laser scans the target object, the depth information of the laser spot at each scanning angle is spliced to obtain a super-resolution depth image of the target object.
  10. 根据权利要求9所述的深度成像系统,其特征在于,所述激光器包括:激光光源、准直透镜、偏转镜、分光元件和驱动装置;The depth imaging system according to claim 9, wherein the laser comprises: a laser light source, a collimating lens, a deflection mirror, a beam splitting element and a driving device;
    所述激光光源用于发射激光束,所述激光束包括按照脉冲发射周期发射的激光脉冲;The laser light source is used to emit a laser beam, and the laser beam includes laser pulses emitted according to a pulse emission period;
    所述准直透镜用于将所述激光束准直并发送给所述偏转镜;the collimating lens is used for collimating and sending the laser beam to the deflecting mirror;
    所述偏转镜与所述驱动装置连接,用于将来自所述准直透镜的激光束反射到所述分光元件;期间,所述偏转镜在所述驱动装置的带动下进行周期性的偏转;The deflecting mirror is connected with the driving device, and is used for reflecting the laser beam from the collimating lens to the beam splitting element; during the period, the deflecting mirror is periodically deflected by the driving device;
    所述分光元件用于将接收到的激光束分光为多束,再向所述目标物体投射多束激光。The beam splitting element is used for splitting the received laser beam into multiple beams, and then projecting the multiple laser beams to the target object.
PCT/CN2021/107301 2020-07-23 2021-07-20 Depth imaging method and depth imaging system WO2022017366A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010716865.3A CN113970757A (en) 2020-07-23 2020-07-23 Depth imaging method and depth imaging system
CN202010716865.3 2020-07-23

Publications (1)

Publication Number Publication Date
WO2022017366A1 true WO2022017366A1 (en) 2022-01-27

Family

ID=79585292

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107301 WO2022017366A1 (en) 2020-07-23 2021-07-20 Depth imaging method and depth imaging system

Country Status (2)

Country Link
CN (1) CN113970757A (en)
WO (1) WO2022017366A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115056818A (en) * 2022-06-22 2022-09-16 中车青岛四方车辆研究所有限公司 Asynchronous control method and device for 3D measurement module and three-dimensional detection system for rail vehicle
CN116300377A (en) * 2023-03-06 2023-06-23 深圳市镭神智能系统有限公司 Time-to-digital converter and laser radar
CN116400379A (en) * 2023-06-08 2023-07-07 合肥国家实验室 Three-dimensional imaging system and three-dimensional imaging method of single-photon laser radar

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155093A1 (en) * 2022-02-17 2023-08-24 华为技术有限公司 Detection apparatus and detection method
CN114994704B (en) * 2022-08-04 2022-12-27 中国科学院西安光学精密机械研究所 Non-visual field imaging method and system based on circular scanning path and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108431626A (en) * 2015-12-20 2018-08-21 苹果公司 Light detection and distance measuring sensor
WO2019121437A1 (en) * 2017-12-18 2019-06-27 Robert Bosch Gmbh Multi-pulse lidar system for multi-dimensional detection of objects
CN110609293A (en) * 2019-09-19 2019-12-24 深圳奥锐达科技有限公司 Distance detection system and method based on flight time
WO2020033001A2 (en) * 2018-02-13 2020-02-13 Sense Photonics, Inc. Methods and systems for high-resolution long-range flash lidar
WO2020070311A1 (en) * 2018-10-04 2020-04-09 Iris-Gmbh Infrared & Intelligent Sensors Imaging sensor
CN111427230A (en) * 2020-03-11 2020-07-17 深圳市安思疆科技有限公司 Imaging method based on time flight and 3D imaging device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108431626A (en) * 2015-12-20 2018-08-21 苹果公司 Light detection and distance measuring sensor
WO2019121437A1 (en) * 2017-12-18 2019-06-27 Robert Bosch Gmbh Multi-pulse lidar system for multi-dimensional detection of objects
WO2020033001A2 (en) * 2018-02-13 2020-02-13 Sense Photonics, Inc. Methods and systems for high-resolution long-range flash lidar
WO2020070311A1 (en) * 2018-10-04 2020-04-09 Iris-Gmbh Infrared & Intelligent Sensors Imaging sensor
CN110609293A (en) * 2019-09-19 2019-12-24 深圳奥锐达科技有限公司 Distance detection system and method based on flight time
CN111427230A (en) * 2020-03-11 2020-07-17 深圳市安思疆科技有限公司 Imaging method based on time flight and 3D imaging device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115056818A (en) * 2022-06-22 2022-09-16 中车青岛四方车辆研究所有限公司 Asynchronous control method and device for 3D measurement module and three-dimensional detection system for rail vehicle
CN115056818B (en) * 2022-06-22 2024-04-09 中车青岛四方车辆研究所有限公司 Asynchronous control method and device for 3D measurement module and three-dimensional detection system for railway vehicle
CN116300377A (en) * 2023-03-06 2023-06-23 深圳市镭神智能系统有限公司 Time-to-digital converter and laser radar
CN116300377B (en) * 2023-03-06 2023-09-08 深圳市镭神智能系统有限公司 Time-to-digital converter and laser radar
CN116400379A (en) * 2023-06-08 2023-07-07 合肥国家实验室 Three-dimensional imaging system and three-dimensional imaging method of single-photon laser radar
CN116400379B (en) * 2023-06-08 2023-09-12 合肥国家实验室 Three-dimensional imaging system and three-dimensional imaging method of single-photon laser radar

Also Published As

Publication number Publication date
CN113970757A (en) 2022-01-25

Similar Documents

Publication Publication Date Title
WO2022017366A1 (en) Depth imaging method and depth imaging system
CN110609293B (en) Distance detection system and method based on flight time
CN110596722B (en) System and method for measuring flight time distance with adjustable histogram
CN110596721B (en) Flight time distance measuring system and method of double-shared TDC circuit
CN108431626B (en) Light detection and ranging sensor
CN109725326B (en) Time-of-flight camera
WO2021072802A1 (en) Distance measurement system and method
WO2021051479A1 (en) Interpolation-based time of flight measurement method and system
WO2021103428A1 (en) Depth measurement system and method
WO2021051480A1 (en) Dynamic histogram drawing-based time of flight distance measurement method and measurement system
WO2021051481A1 (en) Dynamic histogram drawing time-of-flight distance measurement method and measurement system
WO2021196194A1 (en) Laser emitting-and-receiving system, laser radar and automatic driving apparatus
US20220277467A1 (en) Tof-based depth measuring device and method and electronic equipment
CN110780312B (en) Adjustable distance measuring system and method
WO2022206031A1 (en) Method for determining noise level, lidar, and ranging method
KR101145132B1 (en) The three-dimensional imaging pulsed laser radar system using geiger-mode avalanche photo-diode focal plane array and auto-focusing method for the same
CN113780349B (en) Training sample set acquisition method, model training method and related device
WO2019091004A1 (en) Solid-state planar array laser radar device and detection method
IL269455B2 (en) Time of flight sensor
WO2021026709A1 (en) Laser radar system
KR102226359B1 (en) 3D Scanning Lidar Sensor to Change Scan Mode
WO2022241942A1 (en) Depth camera and depth calculation method
CN114488173A (en) Distance detection method and system based on flight time
CN116559846A (en) Photon detection method and device for all-solid-state laser radar and laser radar
WO2022083301A1 (en) 3d image sensor range finding system, and range finding method using same

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

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

Country of ref document: EP

Kind code of ref document: A1