WO2022252096A1 - Sensor chip and terminal device - Google Patents

Sensor chip and terminal device Download PDF

Info

Publication number
WO2022252096A1
WO2022252096A1 PCT/CN2021/097554 CN2021097554W WO2022252096A1 WO 2022252096 A1 WO2022252096 A1 WO 2022252096A1 CN 2021097554 W CN2021097554 W CN 2021097554W WO 2022252096 A1 WO2022252096 A1 WO 2022252096A1
Authority
WO
WIPO (PCT)
Prior art keywords
flip
signal
flops
spad
flop
Prior art date
Application number
PCT/CN2021/097554
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 华为技术有限公司
Priority to PCT/CN2021/097554 priority Critical patent/WO2022252096A1/en
Priority to CN202180095770.7A priority patent/CN117043947A/en
Publication of WO2022252096A1 publication Critical patent/WO2022252096A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L25/00Assemblies consisting of a plurality of individual semiconductor or other solid state devices ; Multistep manufacturing processes thereof
    • H01L25/03Assemblies consisting of a plurality of individual semiconductor or other solid state devices ; Multistep manufacturing processes thereof all the devices being of a type provided for in the same subgroup of groups H01L27/00 - H01L33/00, or in a single subclass of H10K, H10N, e.g. assemblies of rectifier diodes
    • H01L25/04Assemblies consisting of a plurality of individual semiconductor or other solid state devices ; Multistep manufacturing processes thereof all the devices being of a type provided for in the same subgroup of groups H01L27/00 - H01L33/00, or in a single subclass of H10K, H10N, e.g. assemblies of rectifier diodes the devices not having separate containers
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L31/00Semiconductor devices sensitive to infrared radiation, light, electromagnetic radiation of shorter wavelength or corpuscular radiation and specially adapted either for the conversion of the energy of such radiation into electrical energy or for the control of electrical energy by such radiation; Processes or apparatus specially adapted for the manufacture or treatment thereof or of parts thereof; Details thereof
    • H01L31/08Semiconductor devices sensitive to infrared radiation, light, electromagnetic radiation of shorter wavelength or corpuscular radiation and specially adapted either for the conversion of the energy of such radiation into electrical energy or for the control of electrical energy by such radiation; Processes or apparatus specially adapted for the manufacture or treatment thereof or of parts thereof; Details thereof in which radiation controls flow of current through the device, e.g. photoresistors
    • H01L31/10Semiconductor devices sensitive to infrared radiation, light, electromagnetic radiation of shorter wavelength or corpuscular radiation and specially adapted either for the conversion of the energy of such radiation into electrical energy or for the control of electrical energy by such radiation; Processes or apparatus specially adapted for the manufacture or treatment thereof or of parts thereof; Details thereof in which radiation controls flow of current through the device, e.g. photoresistors characterised by potential barriers, e.g. phototransistors
    • H01L31/101Devices sensitive to infrared, visible or ultraviolet radiation
    • H01L31/102Devices sensitive to infrared, visible or ultraviolet radiation characterised by only one potential barrier
    • H01L31/107Devices sensitive to infrared, visible or ultraviolet radiation characterised by only one potential barrier the potential barrier working in avalanche mode, e.g. avalanche photodiodes

Definitions

  • the embodiments of the present application relate to the field of chips, and in particular, to a sensor chip and a terminal device.
  • 3D time of flight (TOF) imaging technology is used to measure the distance between the TOF imaging system and the target object to obtain the depth information of the image.
  • the principle of 3D TOF imaging technology is to use the laser of the TOF imaging system to send active light to illuminate the target object, and the optical signal reflected by the target object is received by the receiver, and the optical signal sent by the measurement laser. The round-trip time between the subject and the receiver determines the distance between the TOF imaging system and the target subject to obtain the depth information of the image.
  • 3D TOF imaging technology generally uses a single photon avalanche diode (SPAD) to measure the time-of-flight of the light signal, and calculates the distance based on the time-of-flight to obtain the depth information of the image.
  • SPAD photon avalanche diode
  • TDC time-to-digital converter
  • a kind of sensor chip comprises logic die and SPAD bare chip SPAD die that are positioned at different layers
  • Logic die comprises a plurality of logic units
  • SPAD die comprises a plurality of SPAD detectors
  • a plurality of SPAD detectors and a plurality of logic units are integrated One to one correspondence.
  • Each logic unit includes a signal reading circuit and a storage unit, the signal reading circuit is used to read the count value of the TDC when the SPAD detector receives the light signal, and write the count value into the storage unit. Since each logic unit includes a signal reading circuit and a storage unit, and the area of the storage unit is often much larger than the area of the SPAD detector, therefore, as shown in Figure 1B, the area of each logic unit is much larger than its corresponding SPAD detector area.
  • each logic unit in the sensor chip can be located near its corresponding SPAD detector.
  • each logic unit can be arranged directly below its corresponding SPAD detector, so that the distance between each SPAD detector and its corresponding logic unit is relatively close, and the signal transmission time is relatively short. Short, so the detected flight time is more accurate.
  • each logic unit is much larger than the area of each SPAD detector, therefore, as shown in Figure 1C, when each logic unit is arranged directly below its corresponding SPAD detector, although The distance between each SPAD detector and its corresponding logic unit is relatively close, but the distance between two adjacent SPAD detectors is relatively long, so the multiple SPAD detectors included in the SPAD die cannot be arranged compactly, which not only causes 3D
  • the resolution or frame rate of TOF imaging is low, which also causes a lot of waste of the optical signal emitted by the laser, resulting in higher cost of the light source and higher power consumption.
  • Embodiments of the present application provide a sensor chip and a terminal device, which can ensure high accuracy of time-of-flight while improving imaging resolution or frame rate.
  • a time-of-flight sensor chip includes an optical signal sensing chip on the first layer and a logic chip on the second layer.
  • the optical signal sensing chip includes a plurality of A single photon avalanche diode SPAD detector, the logic chip is divided into an independent first area and a second area, and the logic chip includes a plurality of signal reading circuits arranged in the first area and a plurality of storage units arranged in the second area, The vertical projections of the plurality of SPAD detectors included in the optical signal sensing chip on the second layer are in the first area.
  • a plurality of signal reading circuits correspond to a plurality of SPAD detectors one by one, and the plurality of signal reading circuits are used to obtain time-of-flight information of optical signals received by corresponding SPAD detectors, and write the time-of-flight information into multiple storage devices. unit.
  • the plurality of SPAD detectors included in the optical signal sensing chip can be arranged in a compact manner, so as to improve the imaging resolution or frame rate.
  • the compact arrangement of multiple SPAD detectors means that the distance between any two adjacent detectors is less than or equal to a preset threshold.
  • the time-of-flight information obtained by the signal reading circuit may be a TDC count value.
  • the TDC starts counting.
  • the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector and a transient current pulse is generated.
  • the signal reading circuit latches the count value of the TDC, and writes the count value into the storage unit.
  • the sensor chip provided by the embodiment of the present application can take into account the accuracy of time-of-flight and imaging resolution or frame rate, and can ensure that each SPAD detector and its corresponding signal The distance between the readout circuits is relatively short, thus ensuring high time-of-flight accuracy while improving imaging resolution or frame rate.
  • the above-mentioned second area includes a single-side edge area, two-side edge area, three-side edge area, or four-side edge area of the Logic die.
  • a plurality of signal reading circuits are arranged directly under a plurality of SPAD detectors, so that when a plurality of SPAD detectors are arranged in a compact manner, each The distance between the signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit.
  • the above-mentioned logic chip further includes a time-to-digital converter TDC coupled to the above-mentioned multiple signal reading circuits, the TDC is set in the above-mentioned second area, and the resolution of the TDC is N bits, where N is An integer greater than 1.
  • Each signal reading circuit includes a quenching circuit and a first flip-flop group, and the first flip-flop group includes N first flip-flops.
  • the output terminal of the quenching circuit is coupled to the clock input terminals of the N first flip-flops, and the data input terminals of the N first flip-flops are coupled to the output terminal of the TDC.
  • TDC for counting when the laser emits a light signal.
  • the quenching circuit is used for inputting a stop counting signal to the clock input terminals of the N first flip-flops when the SPAD detector detects the light signal.
  • the first trigger group is used to read the time-of-flight information of the light signal detected by the SPAD detector corresponding to the first trigger group from the TDC based on the stop counting signal.
  • the above-mentioned TDC can be arranged in the peripheral edge area of the logic chip, so as to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors .
  • the start signal of the TDC circuit is synchronized with the optical signal sent by the laser, and the stop signal is triggered by the output terminal of the quenching circuit.
  • the TDC is coupled with the data input terminals of all first flip-flop groups in the logic chip, and the output terminals of the quenching circuit in each signal reading circuit are connected with N
  • the clock input terminals of the first flip-flops are coupled, so that when each SPAD detector detects an optical signal, the quenching circuit inputs a stop counting signal to the first flip-flop group, and the first flip-flop group latches the TDC count value, to obtain the time-of-flight information of the light signal detected by the SPAD detector.
  • all the signal reading circuits in the logic chip can share one TDC, and there is no need to set a TDC for each signal reading circuit, therefore, the area of the sensor chip can be reduced.
  • the above logic chip further includes a controller, the controller is arranged in the above second area, and the controller is connected to the clock of each first flip-flop The input terminal is coupled and connected; the controller is used for inputting a common clock signal to the clock input terminals of the first flip-flops in the multiple first flip-flop groups when the TDC count ends, and controlling the multiple first flip-flop groups to form at least one
  • the shift register writes the time-of-flight information read by the plurality of first flip-flop groups into the storage unit.
  • the controller when the TDC count ends, the controller inputs a common clock signal to a plurality of first flip-flop groups, and controls the plurality of first flip-flop groups to form a shift register, and the data read by the plurality of flip-flop groups Time-of-flight information is sequentially shifted and written to memory cells. That is, when this solution transmits the time-of-flight information read by multiple flip-flop groups to the storage unit, the multiple flip-flop groups can function as a buffer, so it can avoid the problem of inserting a buffer in the middle due to long wiring , reducing the complexity of the circuit layout. Moreover, by arranging the controller in the peripheral edge area of the logic chip, the circuit layout pressure directly under the multiple SPAD detectors can be further reduced, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors .
  • the controller controls multiple flip-flop groups to form shift registers in different ways
  • the time-of-flight information recorded by the multiple flip-flop groups can be serially shifted and transmitted to the corresponding storage unit using a set of data lines
  • the controller may control the data output terminals of N first flip-flops in one first flip-flop group to be respectively coupled to the data input terminals of N first flip-flops in another first flip-flop group, so that multiple The first flip-flop group forms N shift registers, and the N shift registers transmit the time-of-flight information recorded by multiple first flip-flop groups in parallel through N groups of data lines.
  • the controller can control the N first flip-flops in each first flip-flop group to be connected end-to-end, and the multiple first flip-flop groups are connected end-to-end, so that the composition shift between the multiple first flip-flop groups register, and the shift register serially transmits time-of-flight information recorded by a plurality of first flip-flop groups through a set of data lines.
  • each signal reading circuit further includes a selector, and the above-mentioned quenching circuit communicates with the clock input terminals of the N first flip-flops through the selector Coupled, the controller is coupled to the clock input terminals of the N first flip-flops through the selector; the selector is used to select the input signal of the clock input terminals of the N first flip-flops as a stop counting signal or a common clock signal.
  • the selector selects the input signals of N first flip-flops as the stop counting signal, so that when the SPAD detector detects the light signal, the output of the quenching circuit
  • the terminal can input a count stop signal to the clock input terminals of the N first flip-flops, and the N first flip-flops can record the counting results of the TDC.
  • the selector selects the input signal of N first flip-flops as the common clock signal input by the controller, so that multiple flip-flop groups can form a shift register, and the time-of-flight read by multiple flip-flop groups Information is written to the storage unit.
  • the SPAD detector detects an optical signal from the start of TDC counting to the end of TDC counting, it can trigger the first trigger group to record the current counting value of TDC.
  • the TDC counting ends, by combining multiple flip-flop groups into a shift register, the time-of-flight information recorded by the multiple flip-flop groups can be written into the storage unit.
  • each signal reading circuit further includes a second flip-flop group, and the second flip-flop group includes N second flip-flops, each The clock input terminals of the N second flip-flops in the signal reading circuit are coupled to the clock input terminals of the N first flip-flops, and the first flip-flop group and the second flip-flop group in each signal reading circuit are shifted. bit register.
  • the SPAD detector may detect multiple light signals, so by setting multiple trigger groups in the signal reading circuit, Time-of-flight information corresponding to multiple optical signals detected by the SPAD detector can be stored in multiple trigger groups, which can improve the detection accuracy of the time-of-flight information.
  • the data input terminals of the N second flip-flops in each signal reading circuit are coupled to the data outputs of the N first flip-flops end.
  • two trigger groups can be connected end to end to form a shift register, so that when the laser emits an optical signal, the signal reading circuit can record the first trigger group when the SPAD detector detects the optical signal for the first time.
  • the first trigger group shifts the recorded time-of-flight information to the second trigger group, and records the second time-of-flight information.
  • the above-mentioned first flip-flop group and the second flip-flop group may form a shift register in the following manner: the N first flip-flops in the first flip-flop group are connected end to end, and the N flip-flops in the second flip-flop group The second flip-flops are connected end to end, and the first flip-flop group and the second flip-flop group are connected end-to-end to form a shift register.
  • the above-mentioned Logic die further includes a controller, the controller is arranged in the second area, and the controller is connected to the clock input of each first flip-flop terminal coupling connection; the controller is used to input a common clock signal to the clock input end of the first flip-flop and the clock input end of the second flip-flop in the multiple signal reading circuits when the TDC count ends, and to control the multiple signals
  • the first flip-flop group and the second flip-flop group in the reading circuit form at least one shift register, and write the time-of-flight information read by multiple signal reading circuits into the storage unit.
  • the controller inputs a common clock signal to the first flip-flop group and the second flip-flop group, and controls the first flip-flop group and/or the second flip-flop group to form a shift register , sequentially shifting the time-of-flight information read by multiple flip-flop groups, and writing them into the storage unit. That is, when this solution transmits the time-of-flight information read by multiple flip-flop groups to the storage unit, the multiple flip-flop groups can function as a buffer, so it can avoid the problem of inserting a buffer in the middle due to long wiring , reducing the complexity of the circuit layout.
  • the shift register composed of the first flip-flop group and/or the second flip-flop group transmits the above-mentioned flight data serially through a set of data lines.
  • Time information, or, the above-mentioned time-of-flight information is transmitted in parallel through N groups of data lines.
  • the data output terminals of N flip-flops in one flip-flop group can be respectively coupled to the data input terminals of N flip-flops in another flip-flop group , so that a plurality of flip-flop groups form a set of shift registers (N shift registers), and shift and transmit the time-of-flight information to corresponding storage units in parallel through N sets of data lines. It is also possible to connect the N first flip-flops in each flip-flop group end-to-end, and connect multiple flip-flop groups end-to-end, so that a shift register is formed between the multiple flip-flop groups, and serially shifted through a group of data lines. The bits transfer the time-of-flight information to the corresponding storage unit.
  • the second aspect of the embodiments of the present application provides a terminal device, the terminal device includes a processor and the sensor chip as described in the first aspect above, the processor is coupled to the sensor chip, and the processor is used to Calculate distance information according to the time-of-flight information detected by the sensor chip.
  • Fig. 1A is a schematic diagram of the principle of a 3D TOF imaging technology provided by the embodiment of the present application;
  • FIG. 1B is a schematic structural diagram of a sensor chip provided by an embodiment of the present application.
  • FIG. 1C is a schematic structural diagram of another sensor chip provided by the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a working mode of a SPAD provided by the embodiment of the present application.
  • Fig. 3 is the working circuit schematic diagram of a kind of SPAD provided by the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of the positional layout of the signal reading circuit and the storage unit in a Logic die provided by the embodiment of the present application;
  • Fig. 8 is the schematic diagram of the circuit structure of a kind of Logic die that the embodiment of the present application provides;
  • FIG. 9 is a schematic diagram of a connection mode for forming a shift register between multiple flip-flop groups provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the circuit structure of another Logic die provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of the principle of ranging based on a SPAD detector provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • At least one item (piece) of a, b or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, wherein a, b and c can be single or multiple.
  • words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect, Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order.
  • first and second in the second trigger group in the embodiment of the present application are only used to distinguish different trigger groups.
  • the first, second, etc. descriptions that appear in the embodiments of this application are only for illustration and to distinguish the description objects. Any limitations of the examples.
  • the SPAD detector uses the avalanche multiplication effect of carriers to detect a single photon.
  • a strong electric field is generated in the depletion layer of the p-n junction, and when weak photons are injected into the detector, weak charge carriers are induced due to the photoelectric effect,
  • Such photogenerated carriers can obtain enough energy to collide with the lattice of atoms and generate ionization under the acceleration of the electric field.
  • impact ionization new electron-hole pairs are created.
  • the subsequently generated secondary electron-hole pairs are rapidly separated under the electric field in the depletion region, thereby generating new impact ionization events.
  • the carrier avalanche effect is triggered to generate considerable avalanche current.
  • the reverse bias voltage applied to both ends of the p-n junction continues to increase and exceeds its breakdown voltage, a charge carrier will excite many electron-hole pairs, that is, the sensor current gain is extremely high, and the generated free carriers are Absorb and form a relatively stable avalanche current under the action of the drift electric field.
  • the avalanche current will not be generated when it is not excited by photogenerated carriers, if the depletion layer of the p-n junction has no carriers, if the reverse bias voltage of the p-n junction is higher than the breakdown of the SPAD detector Once the photon enters the sensing area of the SPAD detector, it will trigger the SPAD detector to generate an avalanche current.
  • Figure 2 shows the working mode of a SPAD under different reverse bias voltage conditions.
  • the working modes of SPAD include no gain mode, linear mode and Geiger mode.
  • the internal gain of the SPAD increases with the increase of the reverse bias voltage until the reverse bias voltage reaches the breakdown voltage V break (the breakdown voltage can also be called avalanche voltage or avalanche breakdown voltage).
  • the SPAD can work in the Geiger mode, that is, the reverse bias voltage across the SPAD is greater than the breakdown voltage, and a single photon can trigger the SPAD to avalanche.
  • Figure 3 is a working circuit diagram of a SPAD.
  • the circuit includes: a SPAD detector and a quenching circuit, and the quenching circuit includes a resistor Rs.
  • the resistor Rs is coupled to the power supply V EX
  • the other end of the resistor Rs is coupled to the cathode of the SPAD detector.
  • the anode of the SPAD detector is coupled to V SPAD
  • the output voltage of the quenching circuit is the cathode voltage V C of the SPAD detector.
  • the SPAD detector when the SPAD detector does not receive photons, the reverse bias voltage across the SPAD detector is V EX -V SPAD , if V EX -V SPAD is greater than the breakdown voltage V break of the SPAD detector, the SPAD The detector works in Geiger mode. Therefore, when the SPAD detector receives a single photon, the SPAD detector can be triggered to generate an avalanche, thereby generating an avalanche current i SPAD .
  • the avalanche current cannot stop autonomously.
  • the long-term high current may cause the SPAD detector to heat up or even burn out, and The SPAD detector also cannot enter a new detection cycle, so the avalanche can be suppressed in time through the above quenching circuit, so that the SPAD detector can enter the standby state again and continue the next detection.
  • FIG. 3 takes the quenching circuit as an example for illustration.
  • the quenching circuit may be an active quenching circuit or a passive quenching circuit, which is not limited in this application.
  • 3D TOF imaging technology is used to measure the distance between the TOF imaging system and the target object to obtain the depth information of the image.
  • the principle of 3D TOF imaging technology is to use the laser to send active light to illuminate the target object, and the optical signal reflected by the target object is received by the receiver.
  • the round-trip time (time of flight) between the sensors determines the distance between the TOF imaging system and the target object to obtain the depth information of the image.
  • 3D TOF imaging technology generally uses SPAD detectors to measure the time-of-flight of optical signals, and calculates the distance based on the time-of-flight to obtain the depth information of the image.
  • SPAD detectors to measure the time-of-flight of optical signals, and calculates the distance based on the time-of-flight to obtain the depth information of the image.
  • the following is a brief description of the ranging principle of the SPAD detector.
  • a counter (eg, TDC) starts counting.
  • TDC time division multiple access detector
  • an avalanche occurs on the SPAD detector, generating an avalanche current i SPAD .
  • the output voltage V C of the quenching circuit is used to generate a count stop signal after being processed by the subsequent circuit, and the signal reading circuit latches the count value of the counter based on the count stop signal.
  • the flight time can be obtained, combined with the constant flight speed of the photon, the distance between the TOF and the measured target can be determined.
  • the distance between TOF and the measured target can be calculated as follows:
  • L is the distance between TOF and the measured target
  • c is the speed of light
  • N is the count value
  • f c is the clock frequency of the counter.
  • a kind of sensor chip can comprise Logic die and SPAD die that are positioned at different layers, and this Logic die and SPAD die are packaged together, and Logic die comprises a plurality of logic units, and SPAD die comprises a plurality of SPAD detectors, and a plurality of A SPAD detector is in one-to-one correspondence with multiple logical units.
  • a SPAD detector is used to detect photons, and when the SPAD detector receives a photon, an avalanche occurs in the SPAD detector.
  • Each logic unit includes a signal reading circuit and a storage unit, the signal reading circuit is used to read the count value of the TDC when the SPAD detector receives the light signal, and write the count value into the storage unit.
  • each logic unit includes a signal reading circuit and a storage unit, and the area of the storage unit is much larger than that of the SPAD detector, therefore, as shown in Figure 1B, the area of each logic unit is much larger than that of its corresponding SPAD detector area.
  • each logic unit can be placed in the vicinity of its corresponding SPAD detector.
  • each logic unit can be arranged directly below its corresponding SPAD detector, so that the distance between each SPAD detector and its corresponding logic unit is relatively close, and the signal transmission time is relatively short. Short, so the detected flight time is more accurate.
  • each logic unit is much larger than the area of each SPAD detector, therefore, when each logic unit is arranged directly below its corresponding SPAD detector, although each SPAD detector is connected to The distance between the corresponding logic units is relatively close, but the distance between two adjacent SPAD detectors is relatively long, so the multiple SPAD detectors included in the SPAD die cannot be arranged compactly, which will cause a large number of optical signals emitted by the laser Waste, resulting in higher cost of the light source and greater power consumption. Moreover, due to the long distance between two adjacent SPAD detectors in the SPAD die, the resolution or frame rate of 3D TOF imaging will be low.
  • the solution shown in Figure 1C cannot take into account the distance between multiple detectors when ensuring that the distance between each logic unit and its corresponding SPAD detector is relatively close, resulting in two adjacent SPAD die
  • the long distance of the SPAD detector not only reduces the imaging resolution or frame rate, but also causes a waste of laser cost and power consumption.
  • multiple SPAD detectors can share a logic unit, so that multiple SPAD detectors in the SPAD die can be arranged compactly to reduce the light source cost and power consumption.
  • the signal reading circuit included in the logic unit can only read the time-of-flight information of the optical signal received by one SPAD detector, which will result in a lower imaging resolution or frame rate. Low.
  • each SPAD detector corresponds to a logical unit.
  • the area of each logic unit is much larger than the area of each SPAD detector. Therefore, when multiple SPAD detectors are arranged in a compact manner in Figure 5, the SPAD detector farther from the central area of the SPAD array corresponds to it.
  • the distance between the logic units is far, the signal routing is long, and the signal transmission time is long. The long signal transmission time will affect the accuracy of the flight time obtained by the signal reading circuit, resulting in signal reading There is a large error in the time-of-flight of the signal received by the SPAD detector in the edge area of the SPAD die obtained by the circuit.
  • the embodiment of the present application provides a sensor chip, which can ensure that each SPAD detector The distance between the corresponding signal reading circuits is relatively short, so the accuracy of the time-of-flight can be ensured while improving the imaging resolution or frame rate.
  • the sensor chip includes: an optical signal sensing chip on the first layer and a logic chip on the second layer, and the optical signal sensing chip includes a SPAD detection chip.
  • the detector array, the SPAD detector array includes a plurality of SPAD detectors; the logic chip is divided into independent first area and second area, and the logic chip includes a plurality of signal reading circuits arranged in the first area and arranged in the second area.
  • the vertical projections of multiple storage units in the area and multiple SPAD detectors on the second layer are in the first area.
  • a plurality of signal reading circuits correspond to a plurality of SPAD detectors one by one, and the plurality of signal reading circuits are used to obtain time-of-flight information of optical signals received by corresponding SPAD detectors, and write the time-of-flight information into multiple storage devices. unit.
  • the aforementioned sensor chip may be a bare chip or a packaged chip.
  • a logic chip can be a logic die or a packaged chip. The embodiment of the present application does not limit the specific forms of the sensor chip and the logic chip.
  • the division of the independent first area and the second area on the logic chip means that the first area and the second area divided on the logic chip do not overlap each other, and the circuits or components included in the first area do not will be included in the second area, and the circuits or components included in the second area will not be included in the first area.
  • the logic chip is divided into a first area and a second area, and 9 signal reading circuits corresponding to the 9 SPAD detectors are located at the first One area, the storage unit is located in the second area, the second area is located on both sides of the first area, the signal reading circuit in the first area will not be included in the second area, and the storage unit in the second area will not be included included in the first region.
  • each SPAD detector on the second layer overlaps with its corresponding signal reading circuit.
  • each signal readout circuit is located directly below its corresponding SPAD detector.
  • the plurality of SPAD detectors included in the optical signal sensing chip can be arranged in a compact manner, so as to improve the imaging resolution or frame rate.
  • the compact arrangement of multiple SPAD detectors means that the distance between any two adjacent detectors is less than or equal to a preset threshold.
  • the time-of-flight information obtained by the above-mentioned signal reading circuit may be a TDC count value.
  • the TDC starts counting.
  • the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector and a transient current pulse is generated.
  • the signal reading circuit latches the count value of the TDC, and writes the count value into the storage unit.
  • the above-mentioned first area may be a middle area of the logic chip.
  • the above-mentioned second area may be an edge area of the logic chip.
  • the second area includes a single-side edge area, two-side edge area, three-side edge area or four-side edge area of the logic chip.
  • the second area As the edge areas on both sides of the logic chip as an example, as shown in FIG.
  • a plurality of storage units are arranged in the second area, and a plurality of signal reading circuits are arranged in the first area.
  • a plurality of signal reading circuits are arranged directly under a plurality of SPAD detectors, so that when a plurality of SPAD detectors are arranged in a compact manner, it can also ensure that each The distance between the signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit.
  • the multiple storage units when multiple storage units are located in a single side edge area of the logic chip, the multiple storage units may all be located in the upper side edge area, the lower side edge area, the left side edge area or the right side edge area of the logic chip.
  • the application embodiments do not limit this.
  • some of the storage units may be located on the upper side edge area of the logic chip, and the other part of the storage units may be located on the lower side edge area of the logic chip. It is also possible that a part of the storage units is located in the left edge area of the logic chip, and another part of the storage units is located in the right edge area of the logic chip. Alternatively, other layout manners may also be used, which is not limited in this embodiment of the present application.
  • a part of the storage units when a plurality of storage units are located in the peripheral edge area of the logic chip, a part of the storage units may be located in the upper edge area of the logic chip, a part of the storage units may be located in the lower edge area of the logic chip, and a part of the storage units may be located in the left side of the logic chip. Side edge area, a portion of the memory cells are located on the right edge area of the logic chip.
  • the storage unit can be static random-access memory (static random-access memory, SRAM), double data rate dynamic random-access memory (double data rate dynamic random access memory, DDR) or magnetic random-access memory ( magneto resistive random access memory, MRAM) and other memories.
  • SRAM static random-access memory
  • DDR double data rate dynamic random access memory
  • MRAM magnetic random-access memory
  • SRAM static random-access memory
  • SRAM static random-access memory
  • DDR double data rate dynamic random access memory
  • MRAM magneto resistive random access memory
  • the above-mentioned multiple storage units may use a single-chip SRAM, or may use multiple-chip SRAMs.
  • the time-of-flight information read by multiple signal reading circuits can be partitioned or time-divisionally stored in different areas of the SRAM.
  • FIG. 7 is a top view layout diagram of a logic chip.
  • the SRAM in the logic chip may be located in the upper edge area of the logic chip.
  • a part of the SRAM in the logic chip is located in the left edge area of the logic chip, and another part of the SRAM is located in the right edge area of the logic chip.
  • the SRAMs in the logic chip are respectively arranged in the left edge area, the right edge area, the upper edge area and the lower edge area of the logic chip.
  • the embodiment of the present application can arrange multiple SPAD detectors in a compact manner, and each SPAD detector corresponds to a signal reading circuit, so the resolution of imaging can be improved rate or frame rate.
  • the embodiment of the present application when multiple SPAD detectors are arranged in a compact manner, by arranging all the storage units in the edge area of the logic chip, the circuit directly under the multiple SPAD detectors can be reduced. Layout pressure, so that each signal reading circuit can be arranged directly under the corresponding SPAD detector, therefore, the embodiment of the present application can ensure that each SPAD detector and its corresponding The distance between the signal reading circuits is relatively close. That is, the embodiments of the present application can ensure high accuracy of time-of-flight while improving imaging resolution or frame rate.
  • a plurality of storage units and a plurality of signal reading circuits are respectively arranged in two independent areas, and a plurality of signal reading circuits are located directly below a plurality of SPAD detectors, therefore , the distance between each signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit.
  • multiple SPAD detectors can be arranged in a compact manner, and each SPAD detector corresponds to a signal reading circuit, which can improve the imaging resolution or frame rate, and reduce the cost and power consumption of the light source.
  • the sensor chip provided by the embodiment of the present application can take into account the accuracy of time-of-flight and imaging resolution or frame rate, and can ensure that each SPAD detector and its corresponding signal The distance between the readout circuits is relatively short, thus ensuring high time-of-flight accuracy while improving imaging resolution or frame rate.
  • the logic chip further includes a TDC coupled to a plurality of signal reading circuits, the TDC is disposed in the second region, and the resolution of the TDC may be N bits, where N is an integer greater than 1.
  • Each signal reading circuit includes a quenching circuit and a first flip-flop group, the first flip-flop group includes N first flip-flops, the output end of the quenching circuit is coupled to the clock input ends of the N first flip-flops , the data input terminals of the N first flip-flops are coupled to the output terminals of the TDC.
  • TDC for counting when the laser emits a light signal.
  • the quenching circuit is used for inputting a stop counting signal to the clock input terminals of the N first flip-flops when the SPAD detector detects the light signal.
  • the first trigger group is configured to obtain, from the TDC, time-of-flight information of light signals detected by the SPAD detectors corresponding to the first trigger group based on the stop counting signal.
  • the TDC starts counting, and when the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector, generating an avalanche current i SPAD , the output voltage V C of the quenching circuit is used to input a stop counting signal to the clock input terminals of the N first flip-flops, and based on the stop counting signal, the signal reading circuit latches the count value of the TDC.
  • the above-mentioned quenching circuit may be an active quenching circuit or a passive quenching circuit, and the embodiment of the present application does not limit the specific circuit structure of the quenching circuit.
  • the TDC can be arranged in the peripheral edge area of the logic chip, so as to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors.
  • the counting signal of the TDC is synchronized with the optical signal sent by the laser, and the counting signal of the TDC is triggered by the output terminal of the quenching circuit.
  • the above-mentioned first flip-flops may include but not limited to D flip-flops DFF, T flip-flops, RS flip-flops, JK flip-flops and other flip-flops, and the first flip-flops may also be composed of the above-mentioned flip-flops and logic gates D flip-flops, the embodiment of the present application does not limit the specific type of the first flip-flop, and the following embodiments take the first flip-flop as an example for illustration.
  • each row of the optical signal sensing chip includes 100 SPAD detectors as an example, as shown in Figure 8, 100 SPAD detectors correspond to 100 signal reading circuits respectively, and each signal reading circuit includes The quenching circuit and the first flip-flop group, each first flip-flop group includes 7 DFFs, the clock input terminal of each DFF is coupled to the output terminal of the quenching circuit, and the data input terminal of each DFF is coupled to the output of the TDC terminal coupling.
  • the TDC starts counting, and when the SPAD detector 1 detects the light signal reflected by the target object, the output terminal of the quenching circuit 1 corresponding to the SPAD detector 1 sends a signal to the first A stop count signal 1 is input to the clock input terminals of the seven DFFs of a flip-flop group 1, and the count value of TDC is latched in the seven DFFs of the first flip-flop group 1.
  • the time for different SPAD detectors to detect the light signal is different. Therefore, the time for the stop counting signal input from the output terminals of different quenching circuits to the first trigger group coupled to it is different. Therefore, the time-of-flight information recorded by different first trigger groups will be different.
  • the TDC starts counting from 0. If the TDC counts to 50, the SPAD detector 1 detects the optical signal, and the output terminal of the quenching circuit 1 sends a signal to the first trigger group 1 The clock input terminals of the seven DFFs input stop counting signal 1, and the first flip-flop group 1 will record flight time information 50. If the TDC counts to 100, the SPAD detector 2 detects the light signal, and the output terminal of the quenching circuit 2 inputs the stop counting signal 2 to the clock input terminals of the 7 DFFs of the first flip-flop group 2, and the first flip-flop group 2 Time-of-flight information 100 is recorded.
  • each first trigger group can obtain the time-of-flight information of the light signal detected by its corresponding SPAD detector.
  • the TDC will start counting from 0 to 128 every time the laser emits light. That is, the longest time-of-flight information read by the signal reading circuit is the maximum count value of the TDC.
  • the logic chip further includes a controller, the controller is disposed in the second region, and the controller is coupled and connected to the clock input end of the first flip-flop.
  • a controller configured to input a common clock signal to the clock input terminals of the first flip-flops in the plurality of first flip-flop groups when the TDC count ends, and control the plurality of first flip-flop groups to form at least one shift register, Writing the time-of-flight information read by the plurality of first flip-flop groups into the plurality of storage units.
  • the controller can be arranged in the peripheral edge area of the logic chip to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors .
  • the controller controls at least two first flip-flop groups to form a shift register, so that the time-of-flight information recorded by the at least two first flip-flop groups can be shifted and transmitted to the storage unit.
  • the controller controls the data output terminals of the N first flip-flops in one first flip-flop group to be respectively coupled to the data input terminals of the N first flip-flops in another first flip-flop group, A plurality of first flip-flop groups are connected end to end to form N shift registers.
  • the controller inputs a common clock signal to the clock input terminals of these two groups of flip-flops, the time-of-flight information recorded by one flip-flop group will be shifted to the next flip-flop group.
  • the time-of-flight information recorded by the multiple flip-flop groups will be sequentially shifted and written into corresponding storage units.
  • the N shift registers transmit the time-of-flight information recorded by the multiple first flip-flop groups in parallel through N sets of data lines.
  • each flip-flop group includes N DFFs, respectively DFF 1 to DFF N, as shown in the figure
  • the controller controls DFF 1 of trigger group 1, DFF1 of trigger group 2, DFF1 of trigger group 3...and DFF1 of trigger group 2M are connected end to end (that is, the data of the previous DFF
  • the output terminal is coupled to the data input terminal of the next DFF
  • DFF 1 of trigger group 1, DFF1 of trigger group 2, DFF1 of trigger group 3... and DFF1 of trigger group 2M form a shift register, and the time-of-flight information recorded by the multiple DFF1 will be sequentially shifted and written to the storage unit.
  • the controller can control flip-flop group 1 to flip-flop group 2M to form N shift registers, and the N shift registers can transmit flip-flop groups 1 to 2M in parallel through N sets of data lines. Time-of-flight information recorded by trigger group 2M.
  • multiple flip-flops are connected end to end, which means that the data output end of one flip-flop in two adjacent flip-flops is coupled with the data input end of the other flip-flop.
  • a shift register can be formed by connecting flip-flops end to end.
  • the controller may control the N first flip-flops in each first flip-flop group to be connected end-to-end, and the multiple first flip-flop groups are connected end-to-end, so that the multiple first flip-flop groups form a shift register.
  • the controller inputs a common clock signal to the clock input terminals of the multiple flip-flop groups, the time-of-flight information recorded by the multiple flip-flop groups will be sequentially shifted and written into corresponding storage units.
  • the shift register serially transmits the time-of-flight information recorded by the multiple first flip-flop groups through a set of data lines.
  • each flip-flop group includes N DFFs as an example, as shown in (b) in FIG. 9 , the controller controls DFF 1 to DFF N corresponding to trigger group 1 to be connected end to end, DFF 1 to DFF N corresponding to trigger group M+1 are connected end to end, and trigger group 1 and trigger group M+1 are connected end to end,
  • the controller inputs a common clock signal at the clock input terminals of the flip-flops in flip-flop group 1 and flip-flop group M+1
  • flip-flop group 1 and flip-flop group M+1 form a shift register
  • the shift register The time-of-flight information recorded by trigger group 1 and trigger group M+1 can be serially transmitted through a set of data lines, and written into the corresponding storage unit.
  • the controller can control multiple flip-flop groups in the logic chip to form a shift register, or control multiple flip-flop groups in the logic chip to form multiple shift registers.
  • the controller can control groups of flip-flops in the same row in the logic chip to form a shift register to transmit time-of-flight information serially.
  • the controller can also control the flip-flop group in the same row in the logic chip to form a plurality of shift registers, and each shift register shifts and transmits the time-of-flight information serially.
  • the controller can also control the flip-flop groups in the same row in the logic chip to form a group of shift registers, and the group of shift registers shifts and transmits time-of-flight information in parallel through N groups of data lines.
  • the controller can also control the flip-flop groups of the same row in the logic chip to form multiple sets of shift registers, and each set of shift registers transmits the time-of-flight information by parallel shifting through N sets of data lines.
  • the specific manner in which the shift register is formed by the group of registers is not limited, and FIG. 8 and FIG. 9 are only illustrative illustrations. It should be noted that, based on the different ways in which multiple flip-flop groups form the shift register, the time-of-flight information recorded by the multiple flip-flop groups can be serially shifted and transmitted to the corresponding storage unit using a set of data lines, or can be Multiple sets of data lines are used for parallel shifting and transmission to corresponding storage units.
  • the controller when the TDC count ends, can control multiple flip-flop groups to form a shift register, sequentially shift the time-of-flight information read by the multiple flip-flop groups, and write them into the storage unit. That is, when transmitting time-of-flight information read by a plurality of trigger groups to the storage unit, the plurality of trigger groups can function as
  • the buffer so it can avoid the problem of inserting a buffer in the middle due to long traces, reducing the complexity of the circuit layout.
  • all the signal reading circuits in the logic chip can share one TDC, and there is no need to set a TDC for each signal reading circuit, therefore, the area of the sensor chip can be reduced.
  • each signal reading circuit may also include a selector, the quenching circuit is coupled with the clock input terminals of the N first flip-flops through the selector, and the controller is connected with the N first flip-flops through the selector. The clock input of the first flip-flop is coupled.
  • the selector is used to select the input signal of the clock input terminals of the N first flip-flops as a stop counting signal or a common clock signal.
  • the selector selects the input signals of the N first flip-flops as the stop counting signal, so that when the SPAD detector detects the light signal, the output terminal of the quenching circuit can be sent to the Nth A clock input terminal of a flip-flop inputs a stop counting signal, and the N first flip-flops can record the counting result of the TDC.
  • the selector selects the input signal of N first flip-flops as the common clock signal input by the controller, so that multiple flip-flop groups can form a shift register, and the time-of-flight read by multiple flip-flop groups Information is written to the storage unit.
  • the first trigger group may be triggered to record the current count value of the TDC.
  • the time-of-flight information recorded by the multiple flip-flop groups can be written into the storage unit.
  • FIG. 8 only illustrates that the selector is a multiplexer MUX as an example.
  • the selection function can also be realized by switching elements.
  • each signal reading circuit may further include a second flip-flop group, the second flip-flop group includes N second flip-flops, and the Nth flip-flops in each signal reading circuit
  • the clock input ends of the two flip-flops are coupled to the clock input ends of the N first flip-flops, and the first flip-flop group and the second flip-flop group in each signal reading circuit form one or N shift registers.
  • the data output terminals of the N first flip-flops in the first flip-flop group are respectively connected to the data input terminals of the N second flip-flops in the second flip-flop group. Coupled to form a shift register.
  • the time-of-flight information recorded by the first set of triggers can be shifted and transmitted in parallel to the second set of triggers.
  • the N first flip-flops in the first flip-flop group are connected end-to-end
  • the N second flip-flops in the second flip-flop group are connected end-to-end
  • the first flip-flops The group and the second flip-flop group are connected end to end to form a shift register.
  • the time-of-flight information recorded by the first trigger group can be serially shifted and transmitted to the second trigger group.
  • the embodiment of the present application does not limit the specific connection manner of the shift register formed by the first flip-flop group and the second flip-flop group in each signal reading circuit, and the above two implementation manners are only illustrative illustrations.
  • the signal reading circuit 1 includes a first flip-flop group 1 and a second flip-flop group 1, the first flip-flop group 1 includes 7 DFFs, and the second flip-flop group 1 includes 7 DFFs,
  • the clock input terminals of the 7 DFFs in the first flip-flop group 1 and the clock input terminals of the 7 DFFs in the second flip-flop group 1 are coupled to the output terminal of the quenching circuit.
  • the data output terminals of the 7 DFFs in the first flip-flop group 1 are respectively coupled to the data input terminals of the 7 DFFs in the second flip-flop group 1 .
  • the TDC starts counting from 0.
  • the SPAD detector 1 detects an avalanche of the optical signal, and the output terminal of the quenching circuit 1 is sent to the 7 DFFs and The clock input terminals of the 7 DFFs of the second flip-flop group 1 input the stop count signal 1, and the first flip-flop group 1 shifts the recorded empty data to the second flip-flop group 2, and the 7 of the first flip-flop group 1
  • Each DFF records the TDC counting result 20.
  • the SPAD detector 1 detects an avalanche of the optical signal, and the output terminal of the quenching circuit 1 is input to the clocks of the 7 DFFs of the first flip-flop group 1 and the 7 DFFs of the second flip-flop group 1
  • the end counting signal 1 is input again, the first flip-flop group 1 shifts the time-of-flight information 20 recorded by it to the second flip-flop group 1, and the 7 DFFs of the first flip-flop group 1 record the TDC counting result 30 .
  • each signal reading circuit can include three flip-flop groups, four flip-flop groups, or even more flip-flop groups, and a shift register can be formed between the multiple flip-flop groups to record multiple flight time information.
  • the number of flip-flop groups included in the circuit is taken, and the embodiment of the present application does not limit the specific number of flip-flop groups included in the signal reading circuit.
  • the SPAD detector may detect multiple optical signals. Therefore, by setting multiple trigger groups in the signal reading circuit, the corresponding time-of-flight information when the SPAD detector detects multiple optical signals can be stored in multiple trigger groups, so as to improve the detection accuracy of the time-of-flight information Spend.
  • the above-mentioned controller is also used to input a common clock signal to the clock input terminal of the first flip-flop and the clock input terminal of the second flip-flop in the multiple signal reading circuits when the TDC count ends, and control
  • the first flip-flop group and the second flip-flop group in the multiple signal reading circuits form at least one shift register, and transmit the time-of-flight information read by the multiple signal reading circuits to corresponding storage units.
  • the controller may control all first flip-flop groups in at least two signal reading circuits to form one or more shift registers, and control all second flip-flop groups in at least two signal reading circuits to form a or a plurality of shift registers, each of which transmits time-of-flight information serially. It is also possible to control the first flip-flop group and the second flip-flop group in at least two signal reading circuits to form one or more shift registers, and each shift register transmits time-of-flight information serially. It is also possible to control the first flip-flop groups in at least two signal reading circuits to form one or more groups of shift registers, and control all the second flip-flop groups in at least two signal reading circuits to form one or more groups of shift registers.
  • each group of shift registers transmits time-of-flight information through parallel shifting of N groups of data lines. It is also possible to control the first flip-flop group and the second flip-flop group in at least two signal reading circuits to form one or more sets of shift registers, and each set of shift registers shifts and transmits time-of-flight information in parallel through N sets of data lines .
  • each signal reading circuit includes a plurality of flip-flop groups
  • the specific manner of how to form a shift register among the plurality of flip-flop groups is not limited, and it is only an exemplary description here.
  • a shift register is formed between multiple flip-flop groups to write the time-of-flight information recorded by the multiple flip-flop groups into the storage unit. That is, when the present application writes the time-of-flight information obtained by the signal reading circuit into the storage unit, the multiple flip-flop groups can function as buffers, so the problem of inserting buffers in the middle due to long wiring can be avoided. The complexity of circuit layout is reduced.
  • the time-of-flight information of a single measurement may be inaccurate, so the laser can emit light signals multiple times, and the sensor chip reads and counts the detection of each SPAD detector each time the laser emits a light signal At least one time-of-flight information corresponding to the optical signal can determine the time-of-flight information corresponding to each pixel by counting a large number of events, so that the depth of field can be determined according to the time-of-flight information of each pixel, which can reduce the influence of environmental factors and improve Accuracy of time-of-flight information measurements.
  • the laser emits a light signal once.
  • the SPAD detector corresponding to the pixel point may detect light signals multiple times, and the sensor chip Record the time-of-flight information of each light signal detected by the SPAD detector.
  • the laser emits light signals multiple times, and each storage unit in the sensor chip stores the time-of-flight information read by its corresponding signal reading circuit. After recording all the time-of-flight information, the storage unit completes the histogram statistics. According to the statistical distribution results of the time-of-flight information, it can be determined that the time-of-flight information corresponding to each pixel can be obtained more accurately, so that the environment and interference can be eliminated. Signal and other factors, improve the accuracy of flight time.
  • the embodiment of the present application also provides a terminal device.
  • the terminal device includes the sensor chip shown in FIG. 8 or FIG.
  • the distance module is used for calculating distance information according to the time-of-flight information detected by the sensor chip.
  • the terminal device may further include a lens, and the lens is used to shoot a target object.
  • the terminal device may be a TOF camera.
  • the terminal device may further include a laser, and a laser driver coupled with the laser, where the laser driver is used to drive the laser to emit an optical signal.
  • the terminal device may further include other functional modules, which is not limited in this embodiment of the present application, and FIG. 12 is only an exemplary illustration.
  • the steps of the methods or algorithms described in connection with the disclosure of this application can be implemented in the form of hardware, or can be implemented in the form of a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (Random Access Memory, RAM), flash memory, erasable programmable read-only memory (Erasable Programmable ROM, EPROM), electrically erasable Programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • the ASIC may be located in the core network interface device.
  • the processor and the storage medium may also exist in the core network interface device as discrete components.
  • the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof.
  • the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Electromagnetism (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

A sensor chip and a terminal device, relating to the field of chips, and improving the problem that sensor chips cannot simultaneously take into consideration time-of-flight accuracy and imaging resolution or frame rate. Specifically: the sensor chip comprises an optical signal sensing chip positioned on a first layer and a logic chip positioned on a second layer, the optical signal sensing chip comprising a plurality of SPAD detectors, and the logic chip being divided into an independent first area and second areas; the logic chip comprises a plurality of signal read circuits arranged in the first area and a plurality of storage units arranged in the second areas, and the vertical projection on the second layer of the plurality of SPAD detectors comprised in the optical signal sensing chip is in the first area; the plurality of signal read circuits correspond on a one-to-one basis to the plurality of SPAD detectors, and are used for acquiring time-of-flight information of the optical signals received by the corresponding SPAD detectors, and writing the time-of-flight information to the plurality of storage units.

Description

一种感应器芯片及终端设备A sensor chip and terminal equipment 技术领域technical field
本申请实施例涉及芯片领域,尤其涉及一种感应器芯片及终端设备。The embodiments of the present application relate to the field of chips, and in particular, to a sensor chip and a terminal device.
背景技术Background technique
随着光学测量技术的发展,3D飞行时间(time of flight,TOF)成像技术得到了广泛应用。3D TOF成像技术用于测量TOF成像系统与目标拍摄物之间的距离,以得到图像的深度信息。如图1A所示,3D TOF成像技术的原理是采用TOF成像系统的激光器发送主动光照射目标拍摄物,经过目标拍摄物反射后的光信号被接收器接收,通过测量激光器发送的光信号在目标拍摄物与接收器之间的往返时间,确定TOF成像系统与目标拍摄物之间的距离,以获取图像的深度信息。With the development of optical measurement technology, 3D time of flight (TOF) imaging technology has been widely used. 3D TOF imaging technology is used to measure the distance between the TOF imaging system and the target object to obtain the depth information of the image. As shown in Figure 1A, the principle of 3D TOF imaging technology is to use the laser of the TOF imaging system to send active light to illuminate the target object, and the optical signal reflected by the target object is received by the receiver, and the optical signal sent by the measurement laser The round-trip time between the subject and the receiver determines the distance between the TOF imaging system and the target subject to obtain the depth information of the image.
3D TOF成像技术一般采用单光子雪崩二极管(single photon avalanche diode,SPAD)测量光信号的飞行时间,并基于该飞行时间计算距离,得到图像的深度信息。在采用SPAD探测器测量飞行时间时,当激光器发射光信号时,时间数字转换器(time-to-digital converter,TDC)开始计数,当激光器发射的光信号经过目标拍摄物反射回SPAD探测器的光电感应区时,SPAD探测器发生雪崩,产生瞬态电流脉冲。基于该脉冲,信号读取电路锁存TDC的计数值,并将该计数值写入存储单元。基于该计数值与计数器的时钟频率即可获得光信号的飞行时间。3D TOF imaging technology generally uses a single photon avalanche diode (SPAD) to measure the time-of-flight of the light signal, and calculates the distance based on the time-of-flight to obtain the depth information of the image. When the SPAD detector is used to measure the flight time, when the laser emits an optical signal, the time-to-digital converter (time-to-digital converter, TDC) starts counting, when the optical signal emitted by the laser is reflected back to the SPAD detector by the target object When the photoelectric sensing area is reached, an avalanche occurs on the SPAD detector, which generates a transient current pulse. Based on this pulse, the signal reading circuit latches the count value of the TDC, and writes the count value into the memory cell. Based on the count value and the clock frequency of the counter, the time-of-flight of the optical signal can be obtained.
一种感应器芯片包括位于不同层的逻辑裸片Logic die和SPAD裸片SPAD die,Logic die包括多个逻辑单元,SPAD die包括多个SPAD探测器,多个SPAD探测器与多个逻辑单元一一对应。每个逻辑单元包括信号读取电路和存储单元,信号读取电路用于在SPAD探测器接收光信号时读取TDC的计数值,并将该计数值写入存储单元。由于每个逻辑单元包括信号读取电路和存储单元,而存储单元的面积往往远大于SPAD探测器的面积,因此,如图1B所示,每个逻辑单元的面积远大于其对应的SPAD探测器的面积。A kind of sensor chip comprises logic die and SPAD bare chip SPAD die that are positioned at different layers, and Logic die comprises a plurality of logic units, and SPAD die comprises a plurality of SPAD detectors, and a plurality of SPAD detectors and a plurality of logic units are integrated One to one correspondence. Each logic unit includes a signal reading circuit and a storage unit, the signal reading circuit is used to read the count value of the TDC when the SPAD detector receives the light signal, and write the count value into the storage unit. Since each logic unit includes a signal reading circuit and a storage unit, and the area of the storage unit is often much larger than the area of the SPAD detector, therefore, as shown in Figure 1B, the area of each logic unit is much larger than its corresponding SPAD detector area.
为了提高飞行时间的准确度,可以将感应器芯片中的每个逻辑单元设置在其对应的SPAD探测器附近。例如,如图1C所示,可以将每个逻辑单元设置在其对应的SPAD探测器的正下方,以使得每个SPAD探测器与其对应的逻辑单元之间的距离较近,信号传输的时间较短,因此检测的飞行时间较准确。To improve time-of-flight accuracy, each logic unit in the sensor chip can be located near its corresponding SPAD detector. For example, as shown in Figure 1C, each logic unit can be arranged directly below its corresponding SPAD detector, so that the distance between each SPAD detector and its corresponding logic unit is relatively close, and the signal transmission time is relatively short. Short, so the detected flight time is more accurate.
但是,由图1B可知,每个逻辑单元的面积远大于每个SPAD探测器的面积,因此,如图1C所示,将每个逻辑单元设置在其对应的SPAD探测器的正下方时,虽然每个SPAD探测器与其对应的逻辑单元之间的距离较近,但是相邻两个SPAD探测器之间的距离较远,故SPAD die包括的多个SPAD探测器不能紧凑排列,这不仅造成3D TOF成像的分辨率或者帧率较低,也造成激光器发射的光信号的大量浪费,导致光源的成本较高功耗较大。However, as can be seen from Figure 1B, the area of each logic unit is much larger than the area of each SPAD detector, therefore, as shown in Figure 1C, when each logic unit is arranged directly below its corresponding SPAD detector, although The distance between each SPAD detector and its corresponding logic unit is relatively close, but the distance between two adjacent SPAD detectors is relatively long, so the multiple SPAD detectors included in the SPAD die cannot be arranged compactly, which not only causes 3D The resolution or frame rate of TOF imaging is low, which also causes a lot of waste of the optical signal emitted by the laser, resulting in higher cost of the light source and higher power consumption.
发明内容Contents of the invention
本申请实施例提供一种感应器芯片及终端设备,能够在提高成像分辨率或者帧率的同时,确保飞行时间的准确度较高。Embodiments of the present application provide a sensor chip and a terminal device, which can ensure high accuracy of time-of-flight while improving imaging resolution or frame rate.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
本申请实施例的第一方面,提供一种飞行时间感应器芯片,该感应器芯片包括位于第一层上的光信号感应芯片和位于第二层上的逻辑芯片,光信号感应芯片包括多个单光子雪崩二极管SPAD探测器,逻辑芯片上划分有独立的第一区域和第二区域,逻辑芯片包括设置于第一区域的多个信号读取电路和设置于第二区域的多个存储单元,光信号感应芯片包括的多个SPAD探测器在第二层上的垂直投影处于第一区域内。多个信号读取电路与多个SPAD探测器一一对应,多个信号读取电路用于获得对应的SPAD探测器接收的光信号的飞行时间信息,并将该飞行时间信息写入多个存储单元。According to the first aspect of the embodiments of the present application, a time-of-flight sensor chip is provided. The sensor chip includes an optical signal sensing chip on the first layer and a logic chip on the second layer. The optical signal sensing chip includes a plurality of A single photon avalanche diode SPAD detector, the logic chip is divided into an independent first area and a second area, and the logic chip includes a plurality of signal reading circuits arranged in the first area and a plurality of storage units arranged in the second area, The vertical projections of the plurality of SPAD detectors included in the optical signal sensing chip on the second layer are in the first area. A plurality of signal reading circuits correspond to a plurality of SPAD detectors one by one, and the plurality of signal reading circuits are used to obtain time-of-flight information of optical signals received by corresponding SPAD detectors, and write the time-of-flight information into multiple storage devices. unit.
可选的,光信号感应芯片包括的多个SPAD探测器可以紧凑排列,以提高成像的分辨率或帧率。多个SPAD探测器紧凑排列是指任意两个相邻探测器之间的距离小于或等于预设阈值。Optionally, the plurality of SPAD detectors included in the optical signal sensing chip can be arranged in a compact manner, so as to improve the imaging resolution or frame rate. The compact arrangement of multiple SPAD detectors means that the distance between any two adjacent detectors is less than or equal to a preset threshold.
可选的,信号读取电路获得的飞行时间信息可以是TDC的计数值。例如,当激光器发射光信号时,TDC开始计数,当激光器发射的光信号经过目标拍摄物反射回SPAD探测器的光电感应区时,SPAD探测器发生雪崩,产生瞬态电流脉冲,基于该脉冲,信号读取电路锁存TDC的计数值,并将该计数值写入存储单元。Optionally, the time-of-flight information obtained by the signal reading circuit may be a TDC count value. For example, when the laser emits an optical signal, the TDC starts counting. When the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector and a transient current pulse is generated. Based on the pulse, The signal reading circuit latches the count value of the TDC, and writes the count value into the storage unit.
基于本方案,通过将多个存储单元与多个信号读取电路分别设置在两个独立的区域,而且多个信号读取电路位于多个SPAD探测器的正下方,因此,每个信号读取电路与其对应的SPAD探测器之间的距离较近,信号走线较短,能够确保每个信号读取电路获得的飞行时间信息的准确度较高。而且本申请实施例中多个SPAD探测器紧凑排列时,也能确保每个信号读取电路与其对应的SPAD探测器之间的距离较近。也就是说,本申请实施例提供的感应器芯片能够兼顾飞行时间的准确度和成像分辨率或者帧率,在多个SPAD探测器紧凑排列的同时,能够确保每个SPAD探测器与其对应的信号读取电路之间的距离较近,因此,在提高成像分辨率或者帧率的同时,确保飞行时间的准确度较高。Based on this scheme, by arranging a plurality of storage units and a plurality of signal reading circuits in two independent areas, and a plurality of signal reading circuits are located directly below a plurality of SPAD detectors, therefore, each signal reading The distance between the circuit and its corresponding SPAD detector is relatively short, and the signal wiring is relatively short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit. Moreover, in the embodiment of the present application, when a plurality of SPAD detectors are arranged compactly, it can also ensure that the distance between each signal reading circuit and its corresponding SPAD detector is relatively short. That is to say, the sensor chip provided by the embodiment of the present application can take into account the accuracy of time-of-flight and imaging resolution or frame rate, and can ensure that each SPAD detector and its corresponding signal The distance between the readout circuits is relatively short, thus ensuring high time-of-flight accuracy while improving imaging resolution or frame rate.
在一种可能的实现方式中,上述第二区域包括Logic die的单侧边缘区域、两侧边缘区域、三侧边缘区域或四周边缘区域。In a possible implementation manner, the above-mentioned second area includes a single-side edge area, two-side edge area, three-side edge area, or four-side edge area of the Logic die.
基于本方案,通过将多个存储单元设置在逻辑芯片的边缘区域,多个信号读取电路设置在多个SPAD探测器的正下方,使得多个SPAD探测器紧凑排列时,也能确保每个信号读取电路与其对应的SPAD探测器之间的距离较近,信号走线较短,能够确保每个信号读取电路获得的飞行时间信息的准确度较高。Based on this scheme, by arranging a plurality of storage units in the edge area of the logic chip, a plurality of signal reading circuits are arranged directly under a plurality of SPAD detectors, so that when a plurality of SPAD detectors are arranged in a compact manner, each The distance between the signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit.
在一种可能的实现方式中,上述逻辑芯片还包括与上述多个信号读取电路相耦合的时间数字转换器TDC,该TDC设置于上述第二区域,TDC的分辨率为N比特,N为大于1的整数。每个信号读取电路包括淬灭电路和第一触发器组,第一触发器组包括N个第一触发器。淬灭电路的输出端与N个第一触发器的时钟输入端相耦合,N个第一触发器的数据输入端与TDC的输出端相耦合。TDC,用于在激光器发射光信号时开始计数。淬灭电路,用于在SPAD探测器检测到光信号时,向N个第一触发器的时钟输入端输入停止计数信号。第一触发器组,用于基于该停止计数信号,从TDC读取 该第一触发器组对应的SPAD探测器检测到光信号的飞行时间信息。In a possible implementation manner, the above-mentioned logic chip further includes a time-to-digital converter TDC coupled to the above-mentioned multiple signal reading circuits, the TDC is set in the above-mentioned second area, and the resolution of the TDC is N bits, where N is An integer greater than 1. Each signal reading circuit includes a quenching circuit and a first flip-flop group, and the first flip-flop group includes N first flip-flops. The output terminal of the quenching circuit is coupled to the clock input terminals of the N first flip-flops, and the data input terminals of the N first flip-flops are coupled to the output terminal of the TDC. TDC for counting when the laser emits a light signal. The quenching circuit is used for inputting a stop counting signal to the clock input terminals of the N first flip-flops when the SPAD detector detects the light signal. The first trigger group is used to read the time-of-flight information of the light signal detected by the SPAD detector corresponding to the first trigger group from the TDC based on the stop counting signal.
可选的,上述TDC可以设置在逻辑芯片的外围边缘区域,以减小多个SPAD探测器正下方的电路布局压力,从而可以将多个信号读取电路设置在多个SPAD探测器的正下方。TDC电路的start信号与激光器发出的光信号同步,stop信号则由淬灭电路的输出端触发。Optionally, the above-mentioned TDC can be arranged in the peripheral edge area of the logic chip, so as to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors . The start signal of the TDC circuit is synchronized with the optical signal sent by the laser, and the stop signal is triggered by the output terminal of the quenching circuit.
基于本方案,通过在逻辑芯片上设置一个TDC,该TDC与逻辑芯片中的所有第一触发器组的数据输入端相耦合,每个信号读取电路中的淬灭电路的输出端与N个第一触发器的时钟输入端相耦合,从而可以在每个SPAD探测器检测到光信号时,淬灭电路向该第一触发器组输入停止计数信号,第一触发器组锁存TDC的计数值,得到该SPAD探测器检测到光信号的飞行时间信息。而且本方案中,逻辑芯片中的所有信号读取电路可以共用一个TDC,不需要为每个信号读取电路设置一个TDC,因此,可以减小感应器芯片的面积。Based on this scheme, by setting a TDC on the logic chip, the TDC is coupled with the data input terminals of all first flip-flop groups in the logic chip, and the output terminals of the quenching circuit in each signal reading circuit are connected with N The clock input terminals of the first flip-flops are coupled, so that when each SPAD detector detects an optical signal, the quenching circuit inputs a stop counting signal to the first flip-flop group, and the first flip-flop group latches the TDC count value, to obtain the time-of-flight information of the light signal detected by the SPAD detector. Moreover, in this solution, all the signal reading circuits in the logic chip can share one TDC, and there is no need to set a TDC for each signal reading circuit, therefore, the area of the sensor chip can be reduced.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,上述逻辑芯片还包括控制器,该控制器设置于上述第二区域,控制器与每个第一触发器的时钟输入端耦合连接;控制器用于,在TDC计数结束时,向多个第一触发器组中的第一触发器的时钟输入端输入公共时钟信号,并控制多个第一触发器组组成至少一个移位寄存器,将多个第一触发器组读取的飞行时间信息写入存储单元。In combination with the first aspect and the above possible implementation manner, in another possible implementation manner, the above logic chip further includes a controller, the controller is arranged in the above second area, and the controller is connected to the clock of each first flip-flop The input terminal is coupled and connected; the controller is used for inputting a common clock signal to the clock input terminals of the first flip-flops in the multiple first flip-flop groups when the TDC count ends, and controlling the multiple first flip-flop groups to form at least one The shift register writes the time-of-flight information read by the plurality of first flip-flop groups into the storage unit.
基于本方案,通过在TDC计数结束时,控制器向多个第一触发器组输入公共时钟信号,并控制该多个第一触发器组组成移位寄存器,将多个触发器组读取的飞行时间信息依次移位,并写入存储单元。即,本方案在向存储单元传输多个触发器组读取的飞行时间信息时,该多个触发器组可以起到buffer的作用,因此能够避免因走线较长需要在中间插入buffer的问题,降低了电路布局的复杂度。而且通过将控制器可以设置在逻辑芯片的外围边缘区域,可以进一步减小多个SPAD探测器正下方的电路布局压力,从而可以将多个信号读取电路设置在多个SPAD探测器的正下方。Based on this scheme, when the TDC count ends, the controller inputs a common clock signal to a plurality of first flip-flop groups, and controls the plurality of first flip-flop groups to form a shift register, and the data read by the plurality of flip-flop groups Time-of-flight information is sequentially shifted and written to memory cells. That is, when this solution transmits the time-of-flight information read by multiple flip-flop groups to the storage unit, the multiple flip-flop groups can function as a buffer, so it can avoid the problem of inserting a buffer in the middle due to long wiring , reducing the complexity of the circuit layout. Moreover, by arranging the controller in the peripheral edge area of the logic chip, the circuit layout pressure directly under the multiple SPAD detectors can be further reduced, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors .
可选的,控制器控制多个触发器组组成移位寄存器器的方式不同时,该多个触发器组记录的飞行时间信息可以采用一组数据线串行移位传输至相应的存储单元,也可以采用多组数据线并行移位传输至相应的存储单元。例如,控制器可以控制一个第一触发器组中的N个第一触发器的数据输出端分别耦合至另一个第一触发器组中的N个第一触发器的数据输入端,使得多个第一触发器组组成N个移位寄存器,该N个移位寄存器通过N组数据线并行传输多个第一触发器组记录的飞行时间信息。再例如,控制器可以控制每个第一触发器组中的N个第一触发器首尾相连,多个第一触发器组之间首尾相连,使得多个第一触发器组之间组成移位寄存器,该移位寄存器通过一组数据线串行传输多个第一触发器组记录的飞行时间信息。Optionally, when the controller controls multiple flip-flop groups to form shift registers in different ways, the time-of-flight information recorded by the multiple flip-flop groups can be serially shifted and transmitted to the corresponding storage unit using a set of data lines, It is also possible to use multiple groups of data lines to shift and transmit in parallel to corresponding storage units. For example, the controller may control the data output terminals of N first flip-flops in one first flip-flop group to be respectively coupled to the data input terminals of N first flip-flops in another first flip-flop group, so that multiple The first flip-flop group forms N shift registers, and the N shift registers transmit the time-of-flight information recorded by multiple first flip-flop groups in parallel through N groups of data lines. For another example, the controller can control the N first flip-flops in each first flip-flop group to be connected end-to-end, and the multiple first flip-flop groups are connected end-to-end, so that the composition shift between the multiple first flip-flop groups register, and the shift register serially transmits time-of-flight information recorded by a plurality of first flip-flop groups through a set of data lines.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,每个信号读取电路还包括选择器,上述淬灭电路通过选择器与N个第一触发器的时钟输入端相耦合,控制器通过选择器与N个第一触发器的时钟输入端相耦合;选择器,用于选择N个第一触发器的时钟输入端的输入信号为停止计数信号或公共时钟信号。In combination with the first aspect and the above possible implementation manner, in another possible implementation manner, each signal reading circuit further includes a selector, and the above-mentioned quenching circuit communicates with the clock input terminals of the N first flip-flops through the selector Coupled, the controller is coupled to the clock input terminals of the N first flip-flops through the selector; the selector is used to select the input signal of the clock input terminals of the N first flip-flops as a stop counting signal or a common clock signal.
基于本方案,通过设置选择器,可以在TDC计数未结束时,选择器选择N个第一触发器的输入信号为停止计数信号,从而在SPAD探测器检测到光信号时,淬灭电 路的输出端可以向N个第一触发器的时钟输入端输入停止计数信号,该N个第一触发器可以记录TDC的计数结果。在TDC计数结束时,选择器选择N个第一触发器的输入信号为控制器输入的公共时钟信号,使得多个触发器组可以组成移位寄存器,将多个触发器组读取的飞行时间信息写入存储单元。也就是说,本方案中,在TDC开始计数至TDC计数结束前,SPAD探测器一旦检测到光信号,就可以触发第一触发器组记录TDC当前的计数值。在TDC计数结束后,通过将多个触发器组组成移位寄存器,可以将该多个触发器组记录的飞行时间信息写入存储单元。Based on this scheme, by setting the selector, when the TDC counting is not over, the selector selects the input signals of N first flip-flops as the stop counting signal, so that when the SPAD detector detects the light signal, the output of the quenching circuit The terminal can input a count stop signal to the clock input terminals of the N first flip-flops, and the N first flip-flops can record the counting results of the TDC. At the end of TDC counting, the selector selects the input signal of N first flip-flops as the common clock signal input by the controller, so that multiple flip-flop groups can form a shift register, and the time-of-flight read by multiple flip-flop groups Information is written to the storage unit. That is to say, in this solution, once the SPAD detector detects an optical signal from the start of TDC counting to the end of TDC counting, it can trigger the first trigger group to record the current counting value of TDC. After the TDC counting ends, by combining multiple flip-flop groups into a shift register, the time-of-flight information recorded by the multiple flip-flop groups can be written into the storage unit.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,每个信号读取电路还包括第二触发器组,第二触发器组包括N个第二触发器,每个信号读取电路中的N个第二触发器的时钟输入端耦合至N个第一触发器的时钟输入端,每个信号读取电路中的第一触发器组与第二触发器组组成移位寄存器。In combination with the first aspect and the above possible implementation manner, in another possible implementation manner, each signal reading circuit further includes a second flip-flop group, and the second flip-flop group includes N second flip-flops, each The clock input terminals of the N second flip-flops in the signal reading circuit are coupled to the clock input terminals of the N first flip-flops, and the first flip-flop group and the second flip-flop group in each signal reading circuit are shifted. bit register.
基于本方案,通过在每个信号读取电路中设置两个触发器组,而且该两个触发器组可以组成移位寄存器,从而能够在激光器发射一次光信号时,记录两个飞行时间信息。由于环境因素、玻璃透射、反射、光照等诸多因素的影响,激光器发射一次光信号时,SPAD探测器可能会检测到多次光信号,因此通过在信号读取电路中设置多个触发器组,可以将SPAD探测器检测到多次光信号分别对应的飞行时间信息存储在多个触发器组中,能够提高飞行时间信息的检测准确度。Based on this solution, by setting two flip-flop groups in each signal reading circuit, and the two flip-flop groups can form a shift register, so that when the laser emits an optical signal, two time-of-flight information can be recorded. Due to environmental factors, glass transmission, reflection, illumination and many other factors, when the laser emits a light signal once, the SPAD detector may detect multiple light signals, so by setting multiple trigger groups in the signal reading circuit, Time-of-flight information corresponding to multiple optical signals detected by the SPAD detector can be stored in multiple trigger groups, which can improve the detection accuracy of the time-of-flight information.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,每个信号读取电路中的N个第二触发器的数据输入端耦合至N个第一触发器的数据输出端。In combination with the first aspect and the above possible implementation, in another possible implementation, the data input terminals of the N second flip-flops in each signal reading circuit are coupled to the data outputs of the N first flip-flops end.
基于本方案,可以将两个触发器组首尾相连组成移位寄存器,从而激光器发射一次光信号时,信号读取电路可以在SPAD探测器第一次检测到光信号时,第一触发器组记录一次飞行时间信息,在SPAD探测器第二次检测到光信号时,第一触发器组将其记录的飞行时间信息移位至第二触发器组,并记录第二次的飞行时间信息。Based on this scheme, two trigger groups can be connected end to end to form a shift register, so that when the laser emits an optical signal, the signal reading circuit can record the first trigger group when the SPAD detector detects the optical signal for the first time. For one time-of-flight information, when the SPAD detector detects the light signal for the second time, the first trigger group shifts the recorded time-of-flight information to the second trigger group, and records the second time-of-flight information.
可选的,上述第一触发器组与第二触发器组组成移位寄存器的方式还可以是:第一触发器组中的N个第一触发器首尾相连,第二触发器组的N个第二触发器首尾相连,第一触发器组和第二触发器组之间首尾相连,组成移位寄存器。Optionally, the above-mentioned first flip-flop group and the second flip-flop group may form a shift register in the following manner: the N first flip-flops in the first flip-flop group are connected end to end, and the N flip-flops in the second flip-flop group The second flip-flops are connected end to end, and the first flip-flop group and the second flip-flop group are connected end-to-end to form a shift register.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,上述Logic die还包括控制器,该控制器设置于第二区域,控制器与每个第一触发器的时钟输入端耦合连接;控制器用于,在TDC计数结束时,向多个信号读取电路中的第一触发器的时钟输入端和第二触发器的时钟输入端输入公共时钟信号,并控制多个信号读取电路中的第一触发器组和第二触发器组组成至少一个移位寄存器,将多个信号读取电路读取的飞行时间信息写入存储单元。In combination with the first aspect and the above-mentioned possible implementation, in another possible implementation, the above-mentioned Logic die further includes a controller, the controller is arranged in the second area, and the controller is connected to the clock input of each first flip-flop terminal coupling connection; the controller is used to input a common clock signal to the clock input end of the first flip-flop and the clock input end of the second flip-flop in the multiple signal reading circuits when the TDC count ends, and to control the multiple signals The first flip-flop group and the second flip-flop group in the reading circuit form at least one shift register, and write the time-of-flight information read by multiple signal reading circuits into the storage unit.
基于本方案,通过在TDC计数结束时,控制器向第一触发器组和第二触发器组输入公共时钟信号,并控制该第一触发器组和/或第二触发器组组成移位寄存器,将多个触发器组读取的飞行时间信息依次移位,并写入存储单元。即,本方案在向存储单元传输多个触发器组读取的飞行时间信息时,该多个触发器组可以起到buffer的作用,因此能够避免因走线较长需要在中间插入buffer的问题,降低了电路布局的复杂度。Based on this scheme, when the TDC count ends, the controller inputs a common clock signal to the first flip-flop group and the second flip-flop group, and controls the first flip-flop group and/or the second flip-flop group to form a shift register , sequentially shifting the time-of-flight information read by multiple flip-flop groups, and writing them into the storage unit. That is, when this solution transmits the time-of-flight information read by multiple flip-flop groups to the storage unit, the multiple flip-flop groups can function as a buffer, so it can avoid the problem of inserting a buffer in the middle due to long wiring , reducing the complexity of the circuit layout.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,上述第一触发器组和/或第二触发器组组成的移位寄存器通过一组数据线串行传输上述飞行时间 信息,或者,通过N组组数据线并行传输上述飞行时间信息。基于本方案,多个触发器组之间组成移位寄存器时,可以一个触发器组中的N个触发器的数据输出端分别耦合至另一个触发器组中的N个触发器的数据输入端,使得多个触发器组组成一组移位寄存器(N个移位寄存器),通过N组数据线并行移位传输飞行时间信息至相应的存储单元。也可以每个触发器组中的N个第一触发器首尾相连,多个触发器组之间首尾相连,使得多个触发器组之间组成一个移位寄存器,通过一组数据线串行移位传输飞行时间信息至相应的存储单元。In combination with the first aspect and the above-mentioned possible implementation, in another possible implementation, the shift register composed of the first flip-flop group and/or the second flip-flop group transmits the above-mentioned flight data serially through a set of data lines. Time information, or, the above-mentioned time-of-flight information is transmitted in parallel through N groups of data lines. Based on this scheme, when multiple flip-flop groups form a shift register, the data output terminals of N flip-flops in one flip-flop group can be respectively coupled to the data input terminals of N flip-flops in another flip-flop group , so that a plurality of flip-flop groups form a set of shift registers (N shift registers), and shift and transmit the time-of-flight information to corresponding storage units in parallel through N sets of data lines. It is also possible to connect the N first flip-flops in each flip-flop group end-to-end, and connect multiple flip-flop groups end-to-end, so that a shift register is formed between the multiple flip-flop groups, and serially shifted through a group of data lines. The bits transfer the time-of-flight information to the corresponding storage unit.
本申请实施例的第二方面,提供一种终端设备,该终端设备包括处理器以及如上述第一方面所述的感应器芯片,处理器与所述感应器芯片相耦合,所述处理器用于根据所述感应器芯片检测的所述飞行时间信息,计算距离信息。The second aspect of the embodiments of the present application provides a terminal device, the terminal device includes a processor and the sensor chip as described in the first aspect above, the processor is coupled to the sensor chip, and the processor is used to Calculate distance information according to the time-of-flight information detected by the sensor chip.
上述第二方面的效果描述可以参考第一方面的效果描述,在此不再赘述。For the effect description of the second aspect above, reference may be made to the effect description of the first aspect, and details are not repeated here.
附图说明Description of drawings
图1A为本申请实施例提供的一种3D TOF成像技术的原理示意图;Fig. 1A is a schematic diagram of the principle of a 3D TOF imaging technology provided by the embodiment of the present application;
图1B为本申请实施例提供的一种感应器芯片的结构示意图;FIG. 1B is a schematic structural diagram of a sensor chip provided by an embodiment of the present application;
图1C为本申请实施例提供的另一种感应器芯片的结构示意图;FIG. 1C is a schematic structural diagram of another sensor chip provided by the embodiment of the present application;
图2为本申请实施例提供的一种SPAD的工作模式示意图;FIG. 2 is a schematic diagram of a working mode of a SPAD provided by the embodiment of the present application;
图3为本申请实施例提供的一种SPAD的工作电路示意图;Fig. 3 is the working circuit schematic diagram of a kind of SPAD provided by the embodiment of the present application;
图4为本申请实施例提供的另一种感应器芯片的结构示意图;FIG. 4 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application;
图5为本申请实施例提供的另一种感应器芯片的结构示意图;FIG. 5 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application;
图6为本申请实施例提供的另一种感应器芯片的结构示意图;FIG. 6 is a schematic structural diagram of another sensor chip provided by an embodiment of the present application;
图7为本申请实施例提供的一种Logic die中信号读取电路与存储单元的位置布局示意图;Fig. 7 is a schematic diagram of the positional layout of the signal reading circuit and the storage unit in a Logic die provided by the embodiment of the present application;
图8为本申请实施例提供的一种Logic die的电路结构示意图;Fig. 8 is the schematic diagram of the circuit structure of a kind of Logic die that the embodiment of the present application provides;
图9为本申请实施例提供的一种多个触发器组之间组成移位寄存器的连接方式示意图;FIG. 9 is a schematic diagram of a connection mode for forming a shift register between multiple flip-flop groups provided by an embodiment of the present application;
图10为本申请实施例提供的另一种Logic die的电路结构示意图;FIG. 10 is a schematic diagram of the circuit structure of another Logic die provided by the embodiment of the present application;
图11为本申请实施例提供的一种基于SPAD探测器测距的原理示意图;FIG. 11 is a schematic diagram of the principle of ranging based on a SPAD detector provided by an embodiment of the present application;
图12为本申请实施例提供的一种终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或,a和b和c,其中a、b和c可以是单个,也可以是多个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字 样并不对数量和执行次序进行限定。比如,本申请实施例中的第一触发器组中的“第一”和第二触发器组中的“第二”仅用于区分不同的触发器组。本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, wherein a, b and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect, Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order. For example, "first" in the first trigger group and "second" in the second trigger group in the embodiment of the present application are only used to distinguish different trigger groups. The first, second, etc. descriptions that appear in the embodiments of this application are only for illustration and to distinguish the description objects. Any limitations of the examples.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
首先对SPAD探测器的工作原理进行介绍:First, the working principle of the SPAD detector is introduced:
SPAD探测器是利用载流子的雪崩倍增效应实现单个光子的检测。当探测器p-n结的反向偏置电压足够高时,在p-n结的耗尽层内产生强电场,当微弱的光子注入到探测器中时,由于光电效应感应出微弱的电荷载流子,此类光生载流子在电场加速下可获得足够的能量与原子的晶格产生碰撞并产生电离。碰撞电离的结果产生新的电子-空穴对。随后产生的二次电子-空穴对在耗尽区的电场下被快速分离,进而产生新的碰撞电离事件。如此反复,从而触发载流子雪崩效应,产生可观的雪崩电流。当加在p-n结两端的反向偏置电压不断增加并超过其击穿电压时,一个电荷载流子将激发众多电子-空穴对,即传感器电流增益极高,产生的自由载流子被吸收并在漂移电场作用下形成相对稳定的雪崩电流。由于雪崩电流在没有受到光生载流子激发时不会产生,因此,在p-n结的耗尽层没有载流子的情况下,如果p-n结的反向偏置电压高于SPAD探测器的击穿电压,一旦光子进入SPAD探测器的感应区,就会触发SPAD探测器发生雪崩电流。The SPAD detector uses the avalanche multiplication effect of carriers to detect a single photon. When the reverse bias voltage of the p-n junction of the detector is high enough, a strong electric field is generated in the depletion layer of the p-n junction, and when weak photons are injected into the detector, weak charge carriers are induced due to the photoelectric effect, Such photogenerated carriers can obtain enough energy to collide with the lattice of atoms and generate ionization under the acceleration of the electric field. As a result of impact ionization new electron-hole pairs are created. The subsequently generated secondary electron-hole pairs are rapidly separated under the electric field in the depletion region, thereby generating new impact ionization events. Repeatedly, the carrier avalanche effect is triggered to generate considerable avalanche current. When the reverse bias voltage applied to both ends of the p-n junction continues to increase and exceeds its breakdown voltage, a charge carrier will excite many electron-hole pairs, that is, the sensor current gain is extremely high, and the generated free carriers are Absorb and form a relatively stable avalanche current under the action of the drift electric field. Since the avalanche current will not be generated when it is not excited by photogenerated carriers, if the depletion layer of the p-n junction has no carriers, if the reverse bias voltage of the p-n junction is higher than the breakdown of the SPAD detector Once the photon enters the sensing area of the SPAD detector, it will trigger the SPAD detector to generate an avalanche current.
图2为一种SPAD在不同反向偏置电压条件下的工作模式。如图2所示,在不同反向偏置电压条件下,SPAD的工作模式包括无增益模式、线性模式以及盖革模式。SPAD的内部增益随反向偏置电压的增大而增大,直到反向偏置电压达到击穿电压V break(击穿电压也可以称为雪崩电压或雪崩击穿电压)。在单光子探测中,为了获得足够大的增益来触发雪崩,SPAD可以工作在盖革模式,即SPAD两端的反向偏置电压大于击穿电压,此时单个光子即可触发SPAD发生雪崩。 Figure 2 shows the working mode of a SPAD under different reverse bias voltage conditions. As shown in Figure 2, under different reverse bias voltage conditions, the working modes of SPAD include no gain mode, linear mode and Geiger mode. The internal gain of the SPAD increases with the increase of the reverse bias voltage until the reverse bias voltage reaches the breakdown voltage V break (the breakdown voltage can also be called avalanche voltage or avalanche breakdown voltage). In single-photon detection, in order to obtain a large enough gain to trigger an avalanche, the SPAD can work in the Geiger mode, that is, the reverse bias voltage across the SPAD is greater than the breakdown voltage, and a single photon can trigger the SPAD to avalanche.
图3为一种SPAD的工作电路图。如图3所示,该电路包括:SPAD探测器和淬灭电路,该淬灭电路包括电阻Rs。其中,电阻Rs的一端耦合至电源V EX,电阻Rs的另一端耦合至SPAD探测器的阴极。SPAD探测器的阳极耦合至V SPAD,淬灭电路的输出电压为SPAD探测器的阴极电压V CFigure 3 is a working circuit diagram of a SPAD. As shown in FIG. 3 , the circuit includes: a SPAD detector and a quenching circuit, and the quenching circuit includes a resistor Rs. Wherein, one end of the resistor Rs is coupled to the power supply V EX , and the other end of the resistor Rs is coupled to the cathode of the SPAD detector. The anode of the SPAD detector is coupled to V SPAD , and the output voltage of the quenching circuit is the cathode voltage V C of the SPAD detector.
如图3所示,当SPAD探测器未接收光子时,SPAD探测器两端的反向偏置电压为V EX-V SPAD,若V EX-V SPAD大于SPAD探测器的击穿电压V break,SPAD探测器工作在盖革模式。从而当SPAD探测器接收到单个光子时,可以触发SPAD探测器发生雪崩,产生雪崩电流i SPAD。当SPAD探测器的阴极电压V C减小到使SPAD探测器两端的反向偏置电压小于SPAD探测器的击穿电压V break(即,|V C-V SPAD|<|V break|)时,SPAD探测器耗尽区内的电场将无法满足雪崩所需的强度,SPAD的雪崩被淬灭,进入恢复阶段,直至SPAD探测器两端的反向偏置电压大于SPAD探测器的击穿电压V break,SPAD探测器再次工作在盖革模式。 As shown in Figure 3, when the SPAD detector does not receive photons, the reverse bias voltage across the SPAD detector is V EX -V SPAD , if V EX -V SPAD is greater than the breakdown voltage V break of the SPAD detector, the SPAD The detector works in Geiger mode. Therefore, when the SPAD detector receives a single photon, the SPAD detector can be triggered to generate an avalanche, thereby generating an avalanche current i SPAD . When the cathode voltage V C of the SPAD detector is reduced to make the reverse bias voltage across the SPAD detector less than the breakdown voltage V break of the SPAD detector (that is, |V C -V SPAD |<|V break |) , the electric field in the depletion region of the SPAD detector will not be able to meet the intensity required for the avalanche, and the avalanche of the SPAD is quenched and enters the recovery stage until the reverse bias voltage at both ends of the SPAD detector is greater than the breakdown voltage V of the SPAD detector break , the SPAD detector works in Geiger mode again.
可以理解的,由于光信号进入SPAD探测器的光电感应区时,会触发雪崩电流, 如果没有外界的干扰抑制,雪崩电流无法自主停止,长时间的大电流可能造成SPAD探测器发热甚至烧毁,而且SPAD探测器也无法进入新的探测周期,因此通过上述淬灭电路可以及时对雪崩进行抑制,从而使得SPAD探测器可以再次进入待测状态,继续进行下一次检测。It is understandable that when the light signal enters the photoelectric sensing area of the SPAD detector, it will trigger the avalanche current. If there is no external interference suppression, the avalanche current cannot stop autonomously. The long-term high current may cause the SPAD detector to heat up or even burn out, and The SPAD detector also cannot enter a new detection cycle, so the avalanche can be suppressed in time through the above quenching circuit, so that the SPAD detector can enter the standby state again and continue the next detection.
需要说明的是,本申请实施例对于淬灭电路的具体电路结构并不限定,图3以淬灭电路为电阻Rs为例进行说明。实际应用中,淬灭电路可以是主动淬灭电路,也可以是被动淬灭电路,本申请对此并不限定。It should be noted that, the embodiment of the present application does not limit the specific circuit structure of the quenching circuit. FIG. 3 takes the quenching circuit as an example for illustration. In practical applications, the quenching circuit may be an active quenching circuit or a passive quenching circuit, which is not limited in this application.
3D TOF成像技术用于测量TOF成像系统与目标拍摄物之间的距离,以得到图像的深度信息。如图1所示,3D TOF成像技术的原理是采用激光器发送主动光照射目标拍摄物,经过目标拍摄物反射后的光信号被接收器接收,通过测量激光器发送的光信号在目标拍摄物与接收器之间的往返时间(飞行时间),确定TOF成像系统与目标拍摄物之间的距离,以获取图像的深度信息。3D TOF imaging technology is used to measure the distance between the TOF imaging system and the target object to obtain the depth information of the image. As shown in Figure 1, the principle of 3D TOF imaging technology is to use the laser to send active light to illuminate the target object, and the optical signal reflected by the target object is received by the receiver. The round-trip time (time of flight) between the sensors determines the distance between the TOF imaging system and the target object to obtain the depth information of the image.
3D TOF成像技术一般采用SPAD探测器测量光信号的飞行时间,并基于该飞行时间计算距离,得到图像的深度信息。下面对SPAD探测器的测距原理进行简单说明。3D TOF imaging technology generally uses SPAD detectors to measure the time-of-flight of optical signals, and calculates the distance based on the time-of-flight to obtain the depth information of the image. The following is a brief description of the ranging principle of the SPAD detector.
结合图1,如图3所示,当激光器发射光子时,计数器(例如,TDC)开始计数。当激光器发射的光子经过被测目标(例如,目标拍摄物)反射回SPAD阵列的光电感应区时,SPAD探测器发生雪崩,产生雪崩电流i SPAD。淬灭电路的输出电压V C经后续电路处理后用于产生停止计数信号,信号读取电路基于该停止计数信号锁存计数器的计数值。基于该计数值和计数器的时钟频率可以得到飞行时间,再结合光子恒定的飞行速度,可以确定TOF与被测目标之间的距离。TOF与被测目标的距离可以通过下述计算: Referring to FIG. 1 , as shown in FIG. 3 , when the laser emits photons, a counter (eg, TDC) starts counting. When the photons emitted by the laser are reflected back to the photoelectric sensing area of the SPAD array through the measured target (for example, the target object), an avalanche occurs on the SPAD detector, generating an avalanche current i SPAD . The output voltage V C of the quenching circuit is used to generate a count stop signal after being processed by the subsequent circuit, and the signal reading circuit latches the count value of the counter based on the count stop signal. Based on the count value and the clock frequency of the counter, the flight time can be obtained, combined with the constant flight speed of the photon, the distance between the TOF and the measured target can be determined. The distance between TOF and the measured target can be calculated as follows:
Figure PCTCN2021097554-appb-000001
Figure PCTCN2021097554-appb-000001
其中,L为TOF与被测目标的距离,c为光速,N为计数值,f c为计数器的时钟频率。 Among them, L is the distance between TOF and the measured target, c is the speed of light, N is the count value, and f c is the clock frequency of the counter.
示例性的,一种感应器芯片可以包括位于不同层的Logic die和SPAD die,该Logic die和SPAD die封装在一起,Logic die包括多个逻辑单元,SPAD die包括多个SPAD探测器,多个SPAD探测器与多个逻辑单元一一对应。SPAD探测器用于检测光子,当SPAD探测器接收光子时,SPAD探测器发生雪崩。每个逻辑单元包括信号读取电路和存储单元,信号读取电路用于在SPAD探测器接收光信号时读取TDC的计数值,并将该计数值写入存储单元。Exemplary, a kind of sensor chip can comprise Logic die and SPAD die that are positioned at different layers, and this Logic die and SPAD die are packaged together, and Logic die comprises a plurality of logic units, and SPAD die comprises a plurality of SPAD detectors, and a plurality of A SPAD detector is in one-to-one correspondence with multiple logical units. A SPAD detector is used to detect photons, and when the SPAD detector receives a photon, an avalanche occurs in the SPAD detector. Each logic unit includes a signal reading circuit and a storage unit, the signal reading circuit is used to read the count value of the TDC when the SPAD detector receives the light signal, and write the count value into the storage unit.
由于每个逻辑单元包括信号读取电路和存储单元,而存储单元的面积远大于SPAD探测器的面积,因此,如图1B所示,每个逻辑单元的面积远大于其对应的SPAD探测器的面积。Since each logic unit includes a signal reading circuit and a storage unit, and the area of the storage unit is much larger than that of the SPAD detector, therefore, as shown in Figure 1B, the area of each logic unit is much larger than that of its corresponding SPAD detector area.
为了提高飞行时间的准确度,可以将每个逻辑单元设置在其对应的SPAD探测器的附近。例如,如图1C所示,可以将每个逻辑单元设置在其对应的SPAD探测器的正下方,以使得每个SPAD探测器与其对应的逻辑单元之间的距离较近,信号传输的时间较短,因此检测的飞行时间较准确。但是,由图1B可知,每个逻辑单元的面积远大于每个SPAD探测器的面积,因此,将每个逻辑单元设置在其对应的SPAD探测 器的正下方时,虽然每个SPAD探测器与其对应的逻辑单元之间的距离较近,但是相邻两个SPAD探测器之间的距离较远,故SPAD die包括的多个SPAD探测器不能紧凑排列,这将造成激光器发射的光信号的大量浪费,导致光源的成本较高,功耗较大。而且由于SPAD die中相邻两个SPAD探测器的距离较远,将导致3D TOF成像的分辨率或者帧率较低。也就是说,图1C所示的方案,在确保每个逻辑单元与其对应的SPAD探测器之间的距离较近时,不能兼顾多个探测器之间的距离,导致SPAD die中相邻两个SPAD探测器的距离较远,不仅降低了成像的分辨率或帧率,也造成了激光器成本和功耗的浪费。In order to improve the accuracy of time-of-flight, each logic unit can be placed in the vicinity of its corresponding SPAD detector. For example, as shown in Figure 1C, each logic unit can be arranged directly below its corresponding SPAD detector, so that the distance between each SPAD detector and its corresponding logic unit is relatively close, and the signal transmission time is relatively short. Short, so the detected flight time is more accurate. However, as can be seen from Figure 1B, the area of each logic unit is much larger than the area of each SPAD detector, therefore, when each logic unit is arranged directly below its corresponding SPAD detector, although each SPAD detector is connected to The distance between the corresponding logic units is relatively close, but the distance between two adjacent SPAD detectors is relatively long, so the multiple SPAD detectors included in the SPAD die cannot be arranged compactly, which will cause a large number of optical signals emitted by the laser Waste, resulting in higher cost of the light source and greater power consumption. Moreover, due to the long distance between two adjacent SPAD detectors in the SPAD die, the resolution or frame rate of 3D TOF imaging will be low. That is to say, the solution shown in Figure 1C cannot take into account the distance between multiple detectors when ensuring that the distance between each logic unit and its corresponding SPAD detector is relatively close, resulting in two adjacent SPAD die The long distance of the SPAD detector not only reduces the imaging resolution or frame rate, but also causes a waste of laser cost and power consumption.
为了减小多个SPAD探测器之间的距离,如图4所示,可以将多个SPAD探测器共用一个逻辑单元,从而使得SPAD die中的多个SPAD探测器能够紧凑排列,以降低光源的成本和功耗。但是,多个SPAD探测器共用一个逻辑单元时,该逻辑单元包括的信号读取电路只能读取一个SPAD探测器接收的光信号的飞行时间信息,这将导致成像的分辨率或者帧率较低。In order to reduce the distance between multiple SPAD detectors, as shown in Figure 4, multiple SPAD detectors can share a logic unit, so that multiple SPAD detectors in the SPAD die can be arranged compactly to reduce the light source cost and power consumption. However, when a plurality of SPAD detectors share one logic unit, the signal reading circuit included in the logic unit can only read the time-of-flight information of the optical signal received by one SPAD detector, which will result in a lower imaging resolution or frame rate. Low.
为了减小多个SPAD探测器之间的距离,如图5所示,可以将多个SPAD探测器紧凑排列,每个SPAD探测器对应一个逻辑单元。但是,由图2可知,每个逻辑单元的面积远大于每个SPAD探测器的面积,因此,图5中多个SPAD探测器紧凑排列时,离SPAD阵列中心区域较远的SPAD探测器与其对应的逻辑单元之间的距离较远,信号走线较长,信号传输的时间较长,该较长的信号传输时间会对信号读取电路获得的飞行时间的准确性造成影响,导致信号读取电路获得的SPAD die边缘区域的SPAD探测器接收的信号的飞行时间存在较大误差。In order to reduce the distance between multiple SPAD detectors, as shown in FIG. 5 , multiple SPAD detectors can be arranged compactly, and each SPAD detector corresponds to a logical unit. However, it can be seen from Figure 2 that the area of each logic unit is much larger than the area of each SPAD detector. Therefore, when multiple SPAD detectors are arranged in a compact manner in Figure 5, the SPAD detector farther from the central area of the SPAD array corresponds to it. The distance between the logic units is far, the signal routing is long, and the signal transmission time is long. The long signal transmission time will affect the accuracy of the flight time obtained by the signal reading circuit, resulting in signal reading There is a large error in the time-of-flight of the signal received by the SPAD detector in the edge area of the SPAD die obtained by the circuit.
为了解决上述方案不能兼顾飞行时间和成像分辨率或者帧率的问题,本申请实施例提供了一种感应器芯片,该芯片能够在多个SPAD探测器紧凑排列的同时,确保每个SPAD探测器与其对应的信号读取电路之间的距离较近,因此,能够在提高成像分辨率或者帧率的同时,确保飞行时间的准确度较高。In order to solve the problem that the above solution cannot take into account the time-of-flight and imaging resolution or frame rate, the embodiment of the present application provides a sensor chip, which can ensure that each SPAD detector The distance between the corresponding signal reading circuits is relatively short, so the accuracy of the time-of-flight can be ensured while improving the imaging resolution or frame rate.
本申请实施例提供一种感应器芯片,如图6所示,该感应器芯片包括:位于第一层上的光信号感应芯片和位于第二层上的逻辑芯片,光信号感应芯片包括SPAD探测器阵列,该SPAD探测器阵列包括多个SPAD探测器;逻辑芯片上划分有独立的第一区域和第二区域,逻辑芯片包括设置于第一区域的多个信号读取电路和设置于第二区域的多个存储单元,多个SPAD探测器在第二层上的垂直投影处于第一区域内。An embodiment of the present application provides a sensor chip. As shown in FIG. 6 , the sensor chip includes: an optical signal sensing chip on the first layer and a logic chip on the second layer, and the optical signal sensing chip includes a SPAD detection chip. The detector array, the SPAD detector array includes a plurality of SPAD detectors; the logic chip is divided into independent first area and second area, and the logic chip includes a plurality of signal reading circuits arranged in the first area and arranged in the second area. The vertical projections of multiple storage units in the area and multiple SPAD detectors on the second layer are in the first area.
多个信号读取电路与多个SPAD探测器一一对应,多个信号读取电路用于获得对应的SPAD探测器接收的光信号的飞行时间信息,并将该飞行时间信息写入多个存储单元。A plurality of signal reading circuits correspond to a plurality of SPAD detectors one by one, and the plurality of signal reading circuits are used to obtain time-of-flight information of optical signals received by corresponding SPAD detectors, and write the time-of-flight information into multiple storage devices. unit.
可选的,上述感应器芯片可以是一个裸片,也可以是一个封装好的芯片。逻辑芯片可以是一个逻辑裸片,也可以是一个封装好的芯片。本申请实施例对于感应器芯片和逻辑芯片的具体形态并不限定。Optionally, the aforementioned sensor chip may be a bare chip or a packaged chip. A logic chip can be a logic die or a packaged chip. The embodiment of the present application does not limit the specific forms of the sensor chip and the logic chip.
可选的,上述逻辑芯片上划分有独立的第一区域和第二区域是指,逻辑芯片上划分的第一区域和第二区域是互不重叠的,第一区域包括的电路或元器件不会被包含在第二区域内,第二区域包括的电路或元器件也不会被包含在第一区域内。Optionally, the division of the independent first area and the second area on the logic chip means that the first area and the second area divided on the logic chip do not overlap each other, and the circuits or components included in the first area do not will be included in the second area, and the circuits or components included in the second area will not be included in the first area.
例如,如图6所示,以光信号感应芯片包括9个SPAD探测器为例,逻辑芯片上 划分有第一区域和第二区域,9个SPAD探测器对应的9个信号读取电路位于第一区域,存储单元位于第二区域,第二区域位于第一区域的两侧,第一区域内的信号读取电路不会被包含在第二区域内,第二区域内的存储单元也不会被包含在第一区域内。For example, as shown in Figure 6, taking the optical signal sensing chip including 9 SPAD detectors as an example, the logic chip is divided into a first area and a second area, and 9 signal reading circuits corresponding to the 9 SPAD detectors are located at the first One area, the storage unit is located in the second area, the second area is located on both sides of the first area, the signal reading circuit in the first area will not be included in the second area, and the storage unit in the second area will not be included included in the first region.
可选的,每个SPAD探测器在第二层上的垂直投影与其对应的信号读取电路重叠。例如,如图6所示,每个信号读取电路位于其对应的SPAD探测器的正下方。Optionally, the vertical projection of each SPAD detector on the second layer overlaps with its corresponding signal reading circuit. For example, as shown in Figure 6, each signal readout circuit is located directly below its corresponding SPAD detector.
可选的,光信号感应芯片包括的多个SPAD探测器可以紧凑排列,以提高成像的分辨率或帧率。多个SPAD探测器紧凑排列是指任意两个相邻探测器之间的距离小于或等于预设阈值。Optionally, the plurality of SPAD detectors included in the optical signal sensing chip can be arranged in a compact manner, so as to improve the imaging resolution or frame rate. The compact arrangement of multiple SPAD detectors means that the distance between any two adjacent detectors is less than or equal to a preset threshold.
可选的,上述信号读取电路获得的飞行时间信息可以是TDC的计数值。例如,当激光器发射光信号时,TDC开始计数,当激光器发射的光信号经过目标拍摄物反射回SPAD探测器的光电感应区时,SPAD探测器发生雪崩,产生瞬态电流脉冲,基于该脉冲,信号读取电路锁存TDC的计数值,并将该计数值写入存储单元。Optionally, the time-of-flight information obtained by the above-mentioned signal reading circuit may be a TDC count value. For example, when the laser emits an optical signal, the TDC starts counting. When the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector and a transient current pulse is generated. Based on the pulse, The signal reading circuit latches the count value of the TDC, and writes the count value into the storage unit.
可选的,上述第一区域可以为逻辑芯片的中间区域。Optionally, the above-mentioned first area may be a middle area of the logic chip.
可选的,上述第二区域可以为逻辑芯片的边缘区域。第二区域包括逻辑芯片的单侧边缘区域、两侧边缘区域、三侧边缘区域或四周边缘区域。Optionally, the above-mentioned second area may be an edge area of the logic chip. The second area includes a single-side edge area, two-side edge area, three-side edge area or four-side edge area of the logic chip.
例如,以第二区域为逻辑芯片的两侧边缘区域为例,如图6所示,第一区域位于逻辑芯片的中间区域,第二区域位于逻辑芯片的两侧边缘区域,第二区域位于第一区域的两侧,多个存储单元设置于第二区域,多个信号读取电路设置于第一区域。可以理解的,通过将多个存储单元设置在逻辑芯片的边缘区域,多个信号读取电路设置在多个SPAD探测器的正下方,使得多个SPAD探测器紧凑排列时,也能确保每个信号读取电路与其对应的SPAD探测器之间的距离较近,信号走线较短,能够确保每个信号读取电路获得的飞行时间信息的准确度较高。For example, taking the second area as the edge areas on both sides of the logic chip as an example, as shown in FIG. On both sides of one area, a plurality of storage units are arranged in the second area, and a plurality of signal reading circuits are arranged in the first area. It can be understood that by arranging a plurality of storage units in the edge area of the logic chip, a plurality of signal reading circuits are arranged directly under a plurality of SPAD detectors, so that when a plurality of SPAD detectors are arranged in a compact manner, it can also ensure that each The distance between the signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit.
可选的,多个存储单元位于逻辑芯片的单侧边缘区域时,该多个存储单元可以全部位于逻辑芯片的上侧边缘区域、下侧边缘区域、左侧边缘区域或右侧边缘区域,本申请实施例对此并不限定。Optionally, when multiple storage units are located in a single side edge area of the logic chip, the multiple storage units may all be located in the upper side edge area, the lower side edge area, the left side edge area or the right side edge area of the logic chip. The application embodiments do not limit this.
可选的,多个存储单元位于逻辑芯片的两侧边缘区域时,可以一部分存储单元位于逻辑芯片的上侧边缘区域,另一部分存储单元位于逻辑芯片的下侧边缘区域。也可以一部分存储单元位于逻辑芯片的左侧边缘区域,另一部分存储单元位于逻辑芯片的右侧边缘区域。或者,还可以是其他布局方式,本申请实施例对此并不限定。Optionally, when multiple storage units are located on both side edge areas of the logic chip, some of the storage units may be located on the upper side edge area of the logic chip, and the other part of the storage units may be located on the lower side edge area of the logic chip. It is also possible that a part of the storage units is located in the left edge area of the logic chip, and another part of the storage units is located in the right edge area of the logic chip. Alternatively, other layout manners may also be used, which is not limited in this embodiment of the present application.
可选的,多个存储单元位于逻辑芯片的四周边缘区域时,可以一部分存储单元位于逻辑芯片的上侧边缘区域,一部分存储单元位于逻辑芯片的下侧边缘区域,一部分存储单元位于逻辑芯片的左侧边缘区域,一部分存储单元位于逻辑芯片的右侧边缘区域。Optionally, when a plurality of storage units are located in the peripheral edge area of the logic chip, a part of the storage units may be located in the upper edge area of the logic chip, a part of the storage units may be located in the lower edge area of the logic chip, and a part of the storage units may be located in the left side of the logic chip. Side edge area, a portion of the memory cells are located on the right edge area of the logic chip.
示例性的,上述存储单元可以为静态随机存取存储器(static random-access memory,SRAM)、双倍速率动态随机存取存储器(double data rate dynamic random access memory,DDR)或磁性随机存取存储器(magneto resistive random access memory,MRAM)等存储器。下述实施例以存储单元为SRAM为例进行说明。Exemplary, the storage unit can be static random-access memory (static random-access memory, SRAM), double data rate dynamic random-access memory (double data rate dynamic random access memory, DDR) or magnetic random-access memory ( magneto resistive random access memory, MRAM) and other memories. The following embodiments are described by taking the storage unit as an SRAM as an example.
可选的,上述多个存储单元可以采用单片SRAM,也可以采用多片SRAM。多个信号读取电路读取的飞行时间信息可以分区或者分时存储在SRAM的不同区域中。Optionally, the above-mentioned multiple storage units may use a single-chip SRAM, or may use multiple-chip SRAMs. The time-of-flight information read by multiple signal reading circuits can be partitioned or time-divisionally stored in different areas of the SRAM.
例如,以存储单元为SRAM为例,图7为一种逻辑芯片的俯视布局示意图。如图7中的(a)所示,逻辑芯片中的SRAM可以位于逻辑芯片的上侧边缘区域。如图7中的(b)所示,逻辑芯片中的一部分SRAM位于逻辑芯片的左侧边缘区域,另一部分SRAM位于逻辑芯片的右侧边缘区域。如图7中的(c)所示,逻辑芯片中的SRAM分别设置在逻辑芯片的左侧边缘区域、右侧边缘区域、上侧边缘区域和下侧边缘区域。For example, taking the storage unit as an SRAM as an example, FIG. 7 is a top view layout diagram of a logic chip. As shown in (a) of FIG. 7 , the SRAM in the logic chip may be located in the upper edge area of the logic chip. As shown in (b) of FIG. 7 , a part of the SRAM in the logic chip is located in the left edge area of the logic chip, and another part of the SRAM is located in the right edge area of the logic chip. As shown in (c) of FIG. 7 , the SRAMs in the logic chip are respectively arranged in the left edge area, the right edge area, the upper edge area and the lower edge area of the logic chip.
可以理解的,与图1C和图4所示的方案相比,本申请实施例可以将多个SPAD探测器紧凑排列,而且每个SPAD探测器对应一个信号读取电路,因此能够提高成像的分辨率或帧率。与图5所示的方案相比,本申请实施例在多个SPAD探测器紧凑排列时,通过将所有存储单元设置在逻辑芯片的边缘区域,能够减小多个SPAD探测器的正下方的电路布局压力,从而可以将每个信号读取电路设置在对应的SPAD探测器的正下方,因此,本申请实施例在多个SPAD探测器紧凑排列的同时,能够确保每个SPAD探测器与其对应的信号读取电路之间的距离较近。即本申请实施例在提高成像分辨率或者帧率的同时,能够确保飞行时间的准确度较高。It can be understood that, compared with the solutions shown in Figure 1C and Figure 4, the embodiment of the present application can arrange multiple SPAD detectors in a compact manner, and each SPAD detector corresponds to a signal reading circuit, so the resolution of imaging can be improved rate or frame rate. Compared with the scheme shown in FIG. 5 , in the embodiment of the present application, when multiple SPAD detectors are arranged in a compact manner, by arranging all the storage units in the edge area of the logic chip, the circuit directly under the multiple SPAD detectors can be reduced. Layout pressure, so that each signal reading circuit can be arranged directly under the corresponding SPAD detector, therefore, the embodiment of the present application can ensure that each SPAD detector and its corresponding The distance between the signal reading circuits is relatively close. That is, the embodiments of the present application can ensure high accuracy of time-of-flight while improving imaging resolution or frame rate.
本申请实施例提供的感应器芯片,通过将多个存储单元与多个信号读取电路分别设置在两个独立的区域,而且多个信号读取电路位于多个SPAD探测器的正下方,因此,每个信号读取电路与其对应的SPAD探测器之间的距离较近,信号走线较短,能够确保每个信号读取电路获得的飞行时间信息的准确度较高。而且本申请实施例中多个SPAD探测器可以紧凑排列,每个SPAD探测器对应一个信号读取电路,能够提高成像的分辨率或帧率,降低光源的成本和功耗。也就是说,本申请实施例提供的感应器芯片能够兼顾飞行时间的准确度和成像分辨率或者帧率,在多个SPAD探测器紧凑排列的同时,能够确保每个SPAD探测器与其对应的信号读取电路之间的距离较近,因此,在提高成像分辨率或者帧率的同时,确保飞行时间的准确度较高。In the sensor chip provided by the embodiment of the present application, a plurality of storage units and a plurality of signal reading circuits are respectively arranged in two independent areas, and a plurality of signal reading circuits are located directly below a plurality of SPAD detectors, therefore , the distance between each signal reading circuit and its corresponding SPAD detector is relatively short, and the signal wiring is short, which can ensure high accuracy of the time-of-flight information obtained by each signal reading circuit. Moreover, in the embodiment of the present application, multiple SPAD detectors can be arranged in a compact manner, and each SPAD detector corresponds to a signal reading circuit, which can improve the imaging resolution or frame rate, and reduce the cost and power consumption of the light source. That is to say, the sensor chip provided by the embodiment of the present application can take into account the accuracy of time-of-flight and imaging resolution or frame rate, and can ensure that each SPAD detector and its corresponding signal The distance between the readout circuits is relatively short, thus ensuring high time-of-flight accuracy while improving imaging resolution or frame rate.
可选的,逻辑芯片还包括与多个信号读取电路相耦合的TDC,该TDC设置于第二区域,TDC的分辨率可以为N比特,N为大于1的整数。每个信号读取电路包括淬灭电路和第一触发器组,该第一触发器组包括N个第一触发器,淬灭电路的输出端与N个第一触发器的时钟输入端相耦合,N个第一触发器的数据输入端与TDC的输出端相耦合。Optionally, the logic chip further includes a TDC coupled to a plurality of signal reading circuits, the TDC is disposed in the second region, and the resolution of the TDC may be N bits, where N is an integer greater than 1. Each signal reading circuit includes a quenching circuit and a first flip-flop group, the first flip-flop group includes N first flip-flops, the output end of the quenching circuit is coupled to the clock input ends of the N first flip-flops , the data input terminals of the N first flip-flops are coupled to the output terminals of the TDC.
TDC,用于在激光器发射光信号时开始计数。TDC for counting when the laser emits a light signal.
淬灭电路,用于在SPAD探测器检测到光信号时,向N个第一触发器的时钟输入端输入停止计数信号。The quenching circuit is used for inputting a stop counting signal to the clock input terminals of the N first flip-flops when the SPAD detector detects the light signal.
第一触发器组,用于基于停止计数信号,从TDC获得该第一触发器组对应的SPAD探测器检测到光信号的飞行时间信息。The first trigger group is configured to obtain, from the TDC, time-of-flight information of light signals detected by the SPAD detectors corresponding to the first trigger group based on the stop counting signal.
结合图1A和图3所示,当激光器发射光信号时,TDC开始计数,当激光器发射的光信号经过目标拍摄物反射回SPAD探测器的光电感应区时,SPAD探测器发生雪崩,产生雪崩电流i SPAD,淬灭电路的输出电压V C用于向N个第一触发器的时钟输入端输入停止计数信号,基于该停止计数信号,信号读取电路锁存TDC的计数值。需要说明的是,上述淬灭电路可以为主动淬灭电路,也可以为被动淬灭电路,本申请实施例对于淬灭电路的具体电路结构并不限定。 As shown in Figure 1A and Figure 3, when the laser emits an optical signal, the TDC starts counting, and when the optical signal emitted by the laser is reflected back to the photoelectric sensing area of the SPAD detector through the target object, an avalanche occurs on the SPAD detector, generating an avalanche current i SPAD , the output voltage V C of the quenching circuit is used to input a stop counting signal to the clock input terminals of the N first flip-flops, and based on the stop counting signal, the signal reading circuit latches the count value of the TDC. It should be noted that the above-mentioned quenching circuit may be an active quenching circuit or a passive quenching circuit, and the embodiment of the present application does not limit the specific circuit structure of the quenching circuit.
可选的,TDC可以设置在逻辑芯片的外围边缘区域,以减小多个SPAD探测器正 下方的电路布局压力,从而可以将多个信号读取电路设置在多个SPAD探测器的正下方。Optionally, the TDC can be arranged in the peripheral edge area of the logic chip, so as to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors.
可选的,TDC的开始计数信号与激光器发出的光信号同步,TDC的停止计数信号则由淬灭电路的输出端触发。Optionally, the counting signal of the TDC is synchronized with the optical signal sent by the laser, and the counting signal of the TDC is triggered by the output terminal of the quenching circuit.
可选的,上述第一触发器可以包括但不限制D触发器DFF、T触发器、RS触发器、JK触发器等触发器,该第一触发器还可以是由上述触发器与逻辑门组成的D触发器,本申请实施例对于第一触发器的具体类型并不限定,下述实施例以第一触发器为D触发器为例进行说明。Optionally, the above-mentioned first flip-flops may include but not limited to D flip-flops DFF, T flip-flops, RS flip-flops, JK flip-flops and other flip-flops, and the first flip-flops may also be composed of the above-mentioned flip-flops and logic gates D flip-flops, the embodiment of the present application does not limit the specific type of the first flip-flop, and the following embodiments take the first flip-flop as an example for illustration.
例如,以TDC为7比特,光信号感应芯片每行包括100个SPAD探测器为例,如图8所示,100个SPAD探测器分别对应100个信号读取电路,每个信号读取电路包括淬灭电路和第一触发器组,每个第一触发器组包括7个DFF,每个DFF的时钟输入端与淬灭电路的输出端相耦合,每个DFF的数据输入端与TDC的输出端相耦合。如图8所示,当激光器发射光信号时,TDC开始计数,在SPAD探测器1检测到经目标拍摄物反射的光信号时,该SPAD探测器1对应的淬灭电路1的输出端向第一触发器组1的7个DFF的时钟输入端输入停止计数信号1,将TDC的计数值锁存在第一触发器组1的7个DFF中。For example, taking the TDC as 7 bits, each row of the optical signal sensing chip includes 100 SPAD detectors as an example, as shown in Figure 8, 100 SPAD detectors correspond to 100 signal reading circuits respectively, and each signal reading circuit includes The quenching circuit and the first flip-flop group, each first flip-flop group includes 7 DFFs, the clock input terminal of each DFF is coupled to the output terminal of the quenching circuit, and the data input terminal of each DFF is coupled to the output of the TDC terminal coupling. As shown in Figure 8, when the laser emits a light signal, the TDC starts counting, and when the SPAD detector 1 detects the light signal reflected by the target object, the output terminal of the quenching circuit 1 corresponding to the SPAD detector 1 sends a signal to the first A stop count signal 1 is input to the clock input terminals of the seven DFFs of a flip-flop group 1, and the count value of TDC is latched in the seven DFFs of the first flip-flop group 1.
由于目标拍摄物不同位置的景深不同,故不同SPAD探测器检测到光信号的时间不同,因此,不同淬灭电路的输出端向其耦合的第一触发器组输入的停止计数信号的时间不同,从而不同第一触发器组记录的飞行时间信息会不同。Since the depth of field of different positions of the target object is different, the time for different SPAD detectors to detect the light signal is different. Therefore, the time for the stop counting signal input from the output terminals of different quenching circuits to the first trigger group coupled to it is different. Therefore, the time-of-flight information recorded by different first trigger groups will be different.
比如,如图8所示,激光器发射光信号时,TDC从0开始计数,若TDC计数到50时,SPAD探测器1检测到光信号,淬灭电路1的输出端向第一触发器组1的7个DFF的时钟输入端输入停止计数信号1,第一触发器组1将记录飞行时间信息50。若TDC计数到100时,SPAD探测器2检测到光信号,淬灭电路2的输出端向第一触发器组2的7个DFF的时钟输入端输入停止计数信号2,第一触发器组2记录飞行时间信息100。若TDC计数到113时,SPAD检测到光信号,淬灭电路3的输出端向第一触发器组3的7个DFF的时钟输入端输入停止计数信号3,第一触发器组3记录飞行时间信息113。以此类推,每个第一触发器组可以获得其对应的SPAD探测器检测到光信号的飞行时间信息。For example, as shown in Figure 8, when the laser emits an optical signal, the TDC starts counting from 0. If the TDC counts to 50, the SPAD detector 1 detects the optical signal, and the output terminal of the quenching circuit 1 sends a signal to the first trigger group 1 The clock input terminals of the seven DFFs input stop counting signal 1, and the first flip-flop group 1 will record flight time information 50. If the TDC counts to 100, the SPAD detector 2 detects the light signal, and the output terminal of the quenching circuit 2 inputs the stop counting signal 2 to the clock input terminals of the 7 DFFs of the first flip-flop group 2, and the first flip-flop group 2 Time-of-flight information 100 is recorded. If the TDC counts to 113, the SPAD detects the light signal, and the output terminal of the quenching circuit 3 inputs the stop counting signal 3 to the clock input terminals of the 7 DFFs of the first flip-flop group 3, and the first flip-flop group 3 records the flight time Information 113. By analogy, each first trigger group can obtain the time-of-flight information of the light signal detected by its corresponding SPAD detector.
需要说明的是,如果TDC为7比特,那么激光器每发射一次光,TDC都将从0开始计数直至计数到128再结束。即信号读取电路读取的最长的飞行时间信息即为该TDC的最大计数值。It should be noted that if the TDC is 7 bits, the TDC will start counting from 0 to 128 every time the laser emits light. That is, the longest time-of-flight information read by the signal reading circuit is the maximum count value of the TDC.
可选的,如图8所示,逻辑芯片还包括控制器,该控制器设置于第二区域,控制器与第一触发器的时钟输入端耦合连接。Optionally, as shown in FIG. 8 , the logic chip further includes a controller, the controller is disposed in the second region, and the controller is coupled and connected to the clock input end of the first flip-flop.
控制器,用于在TDC计数结束时,向多个第一触发器组中的第一触发器的时钟输入端输入公共时钟信号,并控制多个第一触发器组组成至少一个移位寄存器,将多个第一触发器组读取的飞行时间信息写入多个存储单元。a controller, configured to input a common clock signal to the clock input terminals of the first flip-flops in the plurality of first flip-flop groups when the TDC count ends, and control the plurality of first flip-flop groups to form at least one shift register, Writing the time-of-flight information read by the plurality of first flip-flop groups into the plurality of storage units.
可选的,控制器可以设置在逻辑芯片的外围边缘区域,以减小多个SPAD探测器正下方的电路布局压力,从而可以将多个信号读取电路设置在多个SPAD探测器的正下方。而且控制器在TDC计数结束时,通过控制至少两个第一触发器组组成移位寄存 器,从而可以将该至少两个第一触发器组记录的飞行时间信息移位传输至存储单元。Optionally, the controller can be arranged in the peripheral edge area of the logic chip to reduce the circuit layout pressure directly under the multiple SPAD detectors, so that multiple signal reading circuits can be arranged directly under the multiple SPAD detectors . And when the TDC count ends, the controller controls at least two first flip-flop groups to form a shift register, so that the time-of-flight information recorded by the at least two first flip-flop groups can be shifted and transmitted to the storage unit.
一种实现方式中,控制器控制一个第一触发器组中的N个第一触发器的数据输出端分别耦合至另一个第一触发器组中的N个第一触发器的数据输入端,使得多个第一触发器组首尾相连,组成N个移位寄存器。如此一来,控制器在这两组触发器的时钟输入端输入公共时钟信号时,一个触发器组记录的飞行时间信息会移位到下一个触发器组。当多个触发器组组成移位寄存器时,该多个触发器组记录的飞行时间信息会依次移位,并写入相应的存储单元。在该实现方式中,多个第一触发器组组成N个移位寄存器时,该N个移位寄存器通过N组数据线并行传输多个第一触发器组记录的飞行时间信息。In an implementation manner, the controller controls the data output terminals of the N first flip-flops in one first flip-flop group to be respectively coupled to the data input terminals of the N first flip-flops in another first flip-flop group, A plurality of first flip-flop groups are connected end to end to form N shift registers. In this way, when the controller inputs a common clock signal to the clock input terminals of these two groups of flip-flops, the time-of-flight information recorded by one flip-flop group will be shifted to the next flip-flop group. When multiple flip-flop groups form a shift register, the time-of-flight information recorded by the multiple flip-flop groups will be sequentially shifted and written into corresponding storage units. In this implementation manner, when multiple first flip-flop groups form N shift registers, the N shift registers transmit the time-of-flight information recorded by the multiple first flip-flop groups in parallel through N sets of data lines.
例如,以逻辑芯片的一行包括2M个第一触发器组,分别为触发器组1至触发器组2M,每个触发器组包括N个DFF,分别为DFF 1至DFF N为例,如图9中的(a)所示,控制器控制触发器组1的DFF 1、触发器组2的DFF1、触发器组3的DFF1…以及触发器组2M的DFF1首尾相连(即前一个DFF的数据输出端与后一个DFF的数据输入端相耦合),当控制器在触发器组1的DFF 1、触发器组2的DFF1、触发器组3的DFF1…以及触发器组2M的DFF1的时钟输入端输入公共时钟信号时,触发器组1的DFF 1、触发器组2的DFF1、触发器组3的DFF1…以及触发器组2M的DFF1组成移位寄存器,该多个DFF1记录的飞行时间信息会依次移位,并写入存储单元。如图9中的(a)所示,控制器可以控制触发器组1至触发器组2M组成N个移位寄存器,该N个移位寄存器可以通过N组数据线并行传输触发器组1至触发器组2M记录的飞行时间信息。For example, take a row of a logic chip including 2M first flip-flop groups, respectively flip-flop group 1 to flip-flop group 2M, and each flip-flop group includes N DFFs, respectively DFF 1 to DFF N, as shown in the figure As shown in (a) in 9, the controller controls DFF 1 of trigger group 1, DFF1 of trigger group 2, DFF1 of trigger group 3...and DFF1 of trigger group 2M are connected end to end (that is, the data of the previous DFF The output terminal is coupled to the data input terminal of the next DFF), when the controller is in the clock input of DFF 1 of flip-flop group 1, DFF1 of flip-flop group 2, DFF1 of flip-flop group 3... and DFF1 of flip-flop group 2M When the common clock signal is input to the terminal, DFF 1 of trigger group 1, DFF1 of trigger group 2, DFF1 of trigger group 3... and DFF1 of trigger group 2M form a shift register, and the time-of-flight information recorded by the multiple DFF1 will be sequentially shifted and written to the storage unit. As shown in (a) in Figure 9, the controller can control flip-flop group 1 to flip-flop group 2M to form N shift registers, and the N shift registers can transmit flip-flop groups 1 to 2M in parallel through N sets of data lines. Time-of-flight information recorded by trigger group 2M.
需要说明的是,本申请实施例中多个触发器首尾相连是指,相邻两个触发器中一个触发器的数据输出端与另一个触发器的数据输入端相耦合,如此一来,多个触发器首尾相连可以组成移位寄存器。It should be noted that in the embodiment of the present application, multiple flip-flops are connected end to end, which means that the data output end of one flip-flop in two adjacent flip-flops is coupled with the data input end of the other flip-flop. A shift register can be formed by connecting flip-flops end to end.
另一种实现方式中,控制器可以控制每个第一触发器组中的N个第一触发器首尾相连,多个第一触发器组之间首尾相连,使得多个第一触发器组之间组成移位寄存器。如此一来,控制器在这多个触发器组的时钟输入端输入公共时钟信号时,该多个触发器组记录的飞行时间信息会依次移位,并写入相应的存储单元。在该实现方式中,多个第一触发器组组成一个移位寄存器时,该移位寄存器通过一组数据线串行传输多个第一触发器组记录的飞行时间信息。In another implementation manner, the controller may control the N first flip-flops in each first flip-flop group to be connected end-to-end, and the multiple first flip-flop groups are connected end-to-end, so that the multiple first flip-flop groups form a shift register. In this way, when the controller inputs a common clock signal to the clock input terminals of the multiple flip-flop groups, the time-of-flight information recorded by the multiple flip-flop groups will be sequentially shifted and written into corresponding storage units. In this implementation manner, when multiple first flip-flop groups form a shift register, the shift register serially transmits the time-of-flight information recorded by the multiple first flip-flop groups through a set of data lines.
例如,以逻辑芯片的一行包括2M个第一触发器组,分别为触发器组1至触发器组2M,每个触发器组包括N个DFF为例,如图9中的(b)所示,控制器控制触发器组1对应的DFF 1至DFF N首尾相连,触发器组M+1对应的DFF 1至DFF N首尾相连,触发器组1与触发器组M+1之间首尾相连,当控制器在触发器组1和触发器组M+1中的触发器的时钟输入端输入公共时钟信号时,触发器组1和触发器组M+1组成一个移位寄存器,该移位寄存器可以通过1组数据线串行传输触发器组1和触发器组M+1记录的飞行时间信息,并写入相应的存储单元。For example, taking a row of a logic chip including 2M first flip-flop groups, which are respectively flip-flop group 1 to flip-flop group 2M, and each flip-flop group includes N DFFs as an example, as shown in (b) in FIG. 9 , the controller controls DFF 1 to DFF N corresponding to trigger group 1 to be connected end to end, DFF 1 to DFF N corresponding to trigger group M+1 are connected end to end, and trigger group 1 and trigger group M+1 are connected end to end, When the controller inputs a common clock signal at the clock input terminals of the flip-flops in flip-flop group 1 and flip-flop group M+1, flip-flop group 1 and flip-flop group M+1 form a shift register, and the shift register The time-of-flight information recorded by trigger group 1 and trigger group M+1 can be serially transmitted through a set of data lines, and written into the corresponding storage unit.
可选的,控制器可以控制逻辑芯片中的多个触发器组组成一个移位寄存器,也可以控制逻辑芯片中的多个触发器组组成多个移位寄存器。例如,控制器可以控制逻辑芯片中同一行的触发器组组成一个移位寄存器串行传输飞行时间信息。或者,控制器 也可以控制逻辑芯片中同一行的触发器组组成多个移位寄存器,每个移位寄存器串行移位传输飞行时间信息。或者,控制器也可以控制逻辑芯片中同一行的触发器组组成一组移位寄存器,该组移位寄存器通过N组数据线并行移位传输飞行时间信息。或者,控制器也可以控制逻辑芯片中同一行的触发器组组成多组移位寄存器,每组移位寄存器通过N组数据线并行移位传输飞行时间信息,本申请实施例对于控制器控制触发器组组成移位寄存器的具体方式并不限定,图8和图9仅是示例性说明。需要说明的是,基于多个触发器组组成移位寄存器的方式的不同,该多个触发器组记录的飞行时间信息可以采用一组数据线串行移位传输至相应的存储单元,也可以采用多组数据线并行移位传输至相应的存储单元。Optionally, the controller can control multiple flip-flop groups in the logic chip to form a shift register, or control multiple flip-flop groups in the logic chip to form multiple shift registers. For example, the controller can control groups of flip-flops in the same row in the logic chip to form a shift register to transmit time-of-flight information serially. Or, the controller can also control the flip-flop group in the same row in the logic chip to form a plurality of shift registers, and each shift register shifts and transmits the time-of-flight information serially. Alternatively, the controller can also control the flip-flop groups in the same row in the logic chip to form a group of shift registers, and the group of shift registers shifts and transmits time-of-flight information in parallel through N groups of data lines. Alternatively, the controller can also control the flip-flop groups of the same row in the logic chip to form multiple sets of shift registers, and each set of shift registers transmits the time-of-flight information by parallel shifting through N sets of data lines. The specific manner in which the shift register is formed by the group of registers is not limited, and FIG. 8 and FIG. 9 are only illustrative illustrations. It should be noted that, based on the different ways in which multiple flip-flop groups form the shift register, the time-of-flight information recorded by the multiple flip-flop groups can be serially shifted and transmitted to the corresponding storage unit using a set of data lines, or can be Multiple sets of data lines are used for parallel shifting and transmission to corresponding storage units.
可以理解的,本申请实施例在TDC计数结束时,控制器可以控制多个触发器组组成移位寄存器,将多个触发器组读取的飞行时间信息依次移位,并写入存储单元。即,在向存储单元传输多个触发器组读取的飞行时间信息时,该多个触发器组可以起到It can be understood that in the embodiment of the present application, when the TDC count ends, the controller can control multiple flip-flop groups to form a shift register, sequentially shift the time-of-flight information read by the multiple flip-flop groups, and write them into the storage unit. That is, when transmitting time-of-flight information read by a plurality of trigger groups to the storage unit, the plurality of trigger groups can function as
buffer的作用,因此能够避免因走线较长需要在中间插入buffer的问题,降低了电路布局的复杂度。而且本申请实施例中逻辑芯片中的所有信号读取电路可以共用一个TDC,不需要为每个信号读取电路设置一个TDC,因此,可以减小感应器芯片的面积。The role of the buffer, so it can avoid the problem of inserting a buffer in the middle due to long traces, reducing the complexity of the circuit layout. Moreover, in the embodiment of the present application, all the signal reading circuits in the logic chip can share one TDC, and there is no need to set a TDC for each signal reading circuit, therefore, the area of the sensor chip can be reduced.
可选的,如图8所示,每个信号读取电路还可以包括选择器,淬灭电路通过选择器与N个第一触发器的时钟输入端相耦合,控制器通过选择器与N个第一触发器的时钟输入端相耦合。Optionally, as shown in FIG. 8, each signal reading circuit may also include a selector, the quenching circuit is coupled with the clock input terminals of the N first flip-flops through the selector, and the controller is connected with the N first flip-flops through the selector. The clock input of the first flip-flop is coupled.
选择器,用于选择N个第一触发器的时钟输入端的输入信号为停止计数信号或公共时钟信号。The selector is used to select the input signal of the clock input terminals of the N first flip-flops as a stop counting signal or a common clock signal.
可选的,在TDC计数未结束时,选择器选择N个第一触发器的输入信号为停止计数信号,从而在SPAD探测器检测到光信号时,淬灭电路的输出端可以向N个第一触发器的时钟输入端输入停止计数信号,该N个第一触发器可以记录TDC的计数结果。在TDC计数结束时,选择器选择N个第一触发器的输入信号为控制器输入的公共时钟信号,使得多个触发器组可以组成移位寄存器,将多个触发器组读取的飞行时间信息写入存储单元。也就是说,本申请实施例中,在TDC开始计数至TDC计数结束前,SPAD探测器一旦检测到光信号,就可以触发第一触发器组记录TDC当前的计数值。在TDC计数结束后,通过将多个触发器组组成移位寄存器,将该多个触发器组记录的飞行时间信息可以写入存储单元。Optionally, when the TDC counting is not over, the selector selects the input signals of the N first flip-flops as the stop counting signal, so that when the SPAD detector detects the light signal, the output terminal of the quenching circuit can be sent to the Nth A clock input terminal of a flip-flop inputs a stop counting signal, and the N first flip-flops can record the counting result of the TDC. At the end of TDC counting, the selector selects the input signal of N first flip-flops as the common clock signal input by the controller, so that multiple flip-flop groups can form a shift register, and the time-of-flight read by multiple flip-flop groups Information is written to the storage unit. That is to say, in the embodiment of the present application, once the SPAD detector detects an optical signal before the TDC starts counting and the TDC counting ends, the first trigger group may be triggered to record the current count value of the TDC. After the TDC counting ends, by combining multiple flip-flop groups into a shift register, the time-of-flight information recorded by the multiple flip-flop groups can be written into the storage unit.
可以理解的,本申请实施例对于选择器的具体类型和结构并不进行限定,图8仅以选择器为多路选择器MUX为例进行示意。实际应用中,也可以通过开关元件实现选择功能。It can be understood that the embodiment of the present application does not limit the specific type and structure of the selector, and FIG. 8 only illustrates that the selector is a multiplexer MUX as an example. In practical applications, the selection function can also be realized by switching elements.
可选的,如图10所示,每个信号读取电路还可以包括第二触发器组,该第二触发器组包括N个第二触发器,每个信号读取电路中的N个第二触发器的时钟输入端耦合至N个第一触发器的时钟输入端,每个信号读取电路中的第一触发器组与第二触发器组组成一个或N个移位寄存器。Optionally, as shown in FIG. 10, each signal reading circuit may further include a second flip-flop group, the second flip-flop group includes N second flip-flops, and the Nth flip-flops in each signal reading circuit The clock input ends of the two flip-flops are coupled to the clock input ends of the N first flip-flops, and the first flip-flop group and the second flip-flop group in each signal reading circuit form one or N shift registers.
一种实现方式中,每个信号读取电路中,第一触发器组中的N个第一触发器的数据输出端分别与第二触发器组的N个第二触发器的数据输入端相耦合,组成移位寄存器。在该实现方式中,第一触发器组记录的飞行时间信息可以并行移位传输至第二触 发器组。In one implementation, in each signal reading circuit, the data output terminals of the N first flip-flops in the first flip-flop group are respectively connected to the data input terminals of the N second flip-flops in the second flip-flop group. Coupled to form a shift register. In this implementation, the time-of-flight information recorded by the first set of triggers can be shifted and transmitted in parallel to the second set of triggers.
另一种实现方式中,每个信号读取电路中,第一触发器组中的N个第一触发器首尾相连,第二触发器组的N个第二触发器首尾相连,第一触发器组和第二触发器组之间首尾相连,组成移位寄存器。在该实现方式中,第一触发器组记录的飞行时间信息可以串行移位传输至第二触发器组。In another implementation, in each signal reading circuit, the N first flip-flops in the first flip-flop group are connected end-to-end, the N second flip-flops in the second flip-flop group are connected end-to-end, and the first flip-flops The group and the second flip-flop group are connected end to end to form a shift register. In this implementation manner, the time-of-flight information recorded by the first trigger group can be serially shifted and transmitted to the second trigger group.
本申请实施例对于每个信号读取电路中,第一触发器组和第二触发器组组成移位寄存器的具体连接方式并不限定,上述两种实现方式仅是示例性说明。The embodiment of the present application does not limit the specific connection manner of the shift register formed by the first flip-flop group and the second flip-flop group in each signal reading circuit, and the above two implementation manners are only illustrative illustrations.
例如,如图10所示,信号读取电路1包括第一触发器组1和第二触发器组1,第一触发器组1包括7个DFF,第二触发器组1包括7个DFF,第一触发器组1中的7个DFF的时钟输入端与第二触发器组1中的7个DFF的时钟输入端耦合至淬灭电路的输出端。第一触发器组1中的7个DFF的数据输出端分别与第二触发器组1中的7个DFF的数据输入端相耦合。当激光器发射光信号后,TDC从0开始计数,若TDC计数到20时,SPAD探测器1检测到光信号发生雪崩,淬灭电路1的输出端向第一触发器组1的7个DFF和第二触发器组1的7个DFF的时钟输入端输入停止计数信号1,第一触发器组1将其记录的空数据移位至第二触发器组2,第一触发器组1的7个DFF记录TDC的计数结果20。若TDC计数到30时,SPAD探测器1检测到光信号发生雪崩,淬灭电路1的输出端向第一触发器组1的7个DFF和第二触发器组1的7个DFF的时钟输入端再次输入停止计数信号1,第一触发器组1将其记录的飞行时间信息20移位至第二触发器组1,第一触发器组1的7个DFF记录TDC的计数结果30。For example, as shown in FIG. 10, the signal reading circuit 1 includes a first flip-flop group 1 and a second flip-flop group 1, the first flip-flop group 1 includes 7 DFFs, and the second flip-flop group 1 includes 7 DFFs, The clock input terminals of the 7 DFFs in the first flip-flop group 1 and the clock input terminals of the 7 DFFs in the second flip-flop group 1 are coupled to the output terminal of the quenching circuit. The data output terminals of the 7 DFFs in the first flip-flop group 1 are respectively coupled to the data input terminals of the 7 DFFs in the second flip-flop group 1 . After the laser emits an optical signal, the TDC starts counting from 0. If the TDC counts to 20, the SPAD detector 1 detects an avalanche of the optical signal, and the output terminal of the quenching circuit 1 is sent to the 7 DFFs and The clock input terminals of the 7 DFFs of the second flip-flop group 1 input the stop count signal 1, and the first flip-flop group 1 shifts the recorded empty data to the second flip-flop group 2, and the 7 of the first flip-flop group 1 Each DFF records the TDC counting result 20. If the TDC counts to 30, the SPAD detector 1 detects an avalanche of the optical signal, and the output terminal of the quenching circuit 1 is input to the clocks of the 7 DFFs of the first flip-flop group 1 and the 7 DFFs of the second flip-flop group 1 The end counting signal 1 is input again, the first flip-flop group 1 shifts the time-of-flight information 20 recorded by it to the second flip-flop group 1, and the 7 DFFs of the first flip-flop group 1 record the TDC counting result 30 .
可选的,每个信号读取电路可以包括三个触发器组,四个触发器组,甚至更多个触发器组,该多个触发器组之间可以组成移位寄存器,以记录多个飞行时间信息。触发器组设置的数量越多,可以记录的飞行时间信息越多,但感应器芯片的面积也会越大,因此实际应用中,可以根据用户需求、芯片面积等多重因素具体设置每个信号读取电路包括的触发器组的数量,本申请实施例对于信号读取电路包括的触发器组的具体数量并不进行限定。Optionally, each signal reading circuit can include three flip-flop groups, four flip-flop groups, or even more flip-flop groups, and a shift register can be formed between the multiple flip-flop groups to record multiple flight time information. The more trigger groups are set, the more time-of-flight information can be recorded, but the area of the sensor chip will also be larger. Therefore, in practical applications, each signal readout can be set according to multiple factors such as user needs and chip area. The number of flip-flop groups included in the circuit is taken, and the embodiment of the present application does not limit the specific number of flip-flop groups included in the signal reading circuit.
可以理解的,由于环境因素、玻璃透射、反射、光照等诸多因素的影响,激光器发射一次光信号时,SPAD探测器可能会检测到多次光信号。因此通过在信号读取电路中设置多个触发器组,可以将SPAD探测器检测到多次光信号时分别对应的飞行时间信息存储在多个触发器组中,以提高飞行时间信息的检测准确度。It can be understood that due to environmental factors, glass transmission, reflection, illumination and many other factors, when the laser emits an optical signal once, the SPAD detector may detect multiple optical signals. Therefore, by setting multiple trigger groups in the signal reading circuit, the corresponding time-of-flight information when the SPAD detector detects multiple optical signals can be stored in multiple trigger groups, so as to improve the detection accuracy of the time-of-flight information Spend.
可选的,上述控制器还用于,在TDC计数结束时,向多个信号读取电路中的第一触发器的时钟输入端和第二触发器的时钟输入端输入公共时钟信号,并控制多个信号读取电路中的第一触发器组和第二触发器组组成至少一个移位寄存器,将多个信号读取电路读取的飞行时间信息传输至相应的存储单元。Optionally, the above-mentioned controller is also used to input a common clock signal to the clock input terminal of the first flip-flop and the clock input terminal of the second flip-flop in the multiple signal reading circuits when the TDC count ends, and control The first flip-flop group and the second flip-flop group in the multiple signal reading circuits form at least one shift register, and transmit the time-of-flight information read by the multiple signal reading circuits to corresponding storage units.
可选的,控制器可以控制至少两个信号读取电路中的所有第一触发器组组成一个或多个移位寄存器,控制至少两个信号读取电路中的所有第二触发器组组成一个或多个移位寄存器,每个移位寄存器串行传输飞行时间信息。也可以控制至少两个信号读取电路中的第一触发器组和第二触发器组组成一个或多个移位寄存器,每个移位寄存器串行传输飞行时间信息。还可以控制至少两个信号读取电路中的第一触发器组组成一组或多组移位寄存器,控制至少两个信号读取电路中的所有第二触发器组组成一组 或多组移位寄存器,每组移位寄存器通过N组数据线并行移位传输飞行时间信息。也可以控制至少两个信号读取电路中的第一触发器组和第二触发器组组成一组或多组移位寄存器,每组移位寄存器通过N组数据线并行移位传输飞行时间信息。本申请实施例对于每个信号读取电路包括多个触发器组时,该多个触发器组之间如何组成移位寄存器的具体方式并不限定,在此仅是示例性说明。Optionally, the controller may control all first flip-flop groups in at least two signal reading circuits to form one or more shift registers, and control all second flip-flop groups in at least two signal reading circuits to form a or a plurality of shift registers, each of which transmits time-of-flight information serially. It is also possible to control the first flip-flop group and the second flip-flop group in at least two signal reading circuits to form one or more shift registers, and each shift register transmits time-of-flight information serially. It is also possible to control the first flip-flop groups in at least two signal reading circuits to form one or more groups of shift registers, and control all the second flip-flop groups in at least two signal reading circuits to form one or more groups of shift registers. Bit registers, each group of shift registers transmits time-of-flight information through parallel shifting of N groups of data lines. It is also possible to control the first flip-flop group and the second flip-flop group in at least two signal reading circuits to form one or more sets of shift registers, and each set of shift registers shifts and transmits time-of-flight information in parallel through N sets of data lines . In the embodiment of the present application, when each signal reading circuit includes a plurality of flip-flop groups, the specific manner of how to form a shift register among the plurality of flip-flop groups is not limited, and it is only an exemplary description here.
可以理解的,本申请实施例对于上述第一触发器组和第二触发器组组成移位寄存器时的具体电路结构并不进行限定,具体可结合图9参考前述实施例中的相关描述。It can be understood that the embodiment of the present application does not limit the specific circuit structure when the above-mentioned first flip-flop group and the second flip-flop group form a shift register, and for details, reference may be made to the relevant descriptions in the foregoing embodiments in conjunction with FIG. 9 .
本申请实施例提供的感应器芯片,通过控制多个触发器组之间组成移位寄存器,以将该多个触发器组记录的飞行时间信息写入存储单元。即,本申请在将信号读取电路获得的飞行时间信息写入存储单元时,该多个触发器组可以起到buffer的作用,因此能够避免因走线较长需要在中间插入buffer的问题,降低了电路布局的复杂度。In the sensor chip provided by the embodiment of the present application, a shift register is formed between multiple flip-flop groups to write the time-of-flight information recorded by the multiple flip-flop groups into the storage unit. That is, when the present application writes the time-of-flight information obtained by the signal reading circuit into the storage unit, the multiple flip-flop groups can function as buffers, so the problem of inserting buffers in the middle due to long wiring can be avoided. The complexity of circuit layout is reduced.
由于受环境等诸多因素的影响,单次测量的飞行时间信息可能不准确,因此激光器可以多次发射光信号,感应器芯片读取并统计每次激光器发射光信号时每个SPAD探测器检测到光信号对应的至少一个飞行时间信息,通过统计大量事件,可以确定每个像素点对应的飞行时间信息,从而根据该每个像素点的飞行时间信息可以确定景深,能够降低环境因素的影响,提高飞行时间信息测量的准确性。Due to the influence of many factors such as the environment, the time-of-flight information of a single measurement may be inaccurate, so the laser can emit light signals multiple times, and the sensor chip reads and counts the detection of each SPAD detector each time the laser emits a light signal At least one time-of-flight information corresponding to the optical signal can determine the time-of-flight information corresponding to each pixel by counting a large number of events, so that the depth of field can be determined according to the time-of-flight information of each pixel, which can reduce the influence of environmental factors and improve Accuracy of time-of-flight information measurements.
例如,如图11所示,对于每个像素点,激光器发射一次光信号,受环境、干扰信号等诸多因素的影响,该像素点对应的SPAD探测器可能多次检测到光信号,感应器芯片记录SPAD探测器每次检测到光信号的飞行时间信息。激光器发射多次光信号,感应器芯片中的每个存储单元存储其对应的信号读取电路读取到的飞行时间信息。将所有飞行时间信息记录完成后,存储单元完成直方图(histogram)统计,根据飞行时间信息的统计分布结果,可以确定较为准确的得到每个像素点对应的飞行时间信息,从而能够排除环境、干扰信号等因素的影响,提高飞行时间的准确度。For example, as shown in Figure 11, for each pixel point, the laser emits a light signal once. Affected by many factors such as the environment and interference signals, the SPAD detector corresponding to the pixel point may detect light signals multiple times, and the sensor chip Record the time-of-flight information of each light signal detected by the SPAD detector. The laser emits light signals multiple times, and each storage unit in the sensor chip stores the time-of-flight information read by its corresponding signal reading circuit. After recording all the time-of-flight information, the storage unit completes the histogram statistics. According to the statistical distribution results of the time-of-flight information, it can be determined that the time-of-flight information corresponding to each pixel can be obtained more accurately, so that the environment and interference can be eliminated. Signal and other factors, improve the accuracy of flight time.
本申请实施例还提供一种终端设备,如图12所示,该终端设备包括图8或图10所示的感应器芯片,以及测距模块,该测距模块与感应器芯片相耦合,测距模块用于根据感应器芯片检测的飞行时间信息,计算距离信息。The embodiment of the present application also provides a terminal device. As shown in FIG. 12, the terminal device includes the sensor chip shown in FIG. 8 or FIG. The distance module is used for calculating distance information according to the time-of-flight information detected by the sensor chip.
可选的,如图12所示,终端设备还可以包括镜头,镜头用于拍摄目标拍摄物。该终端设备可以为TOF相机。Optionally, as shown in FIG. 12 , the terminal device may further include a lens, and the lens is used to shoot a target object. The terminal device may be a TOF camera.
可选的,如图12所示,终端设备还可以包括激光器,以及与激光器相耦合的激光器驱动,该激光器驱动用于驱动激光器发射光信号。Optionally, as shown in FIG. 12 , the terminal device may further include a laser, and a laser driver coupled with the laser, where the laser driver is used to drive the laser to emit an optical signal.
可选的,终端设备还可以包括其他功能模块,本申请实施例对此并不限定,图12仅是示例性说明。Optionally, the terminal device may further include other functional modules, which is not limited in this embodiment of the present application, and FIG. 12 is only an exemplary illustration.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储 介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of the methods or algorithms described in connection with the disclosure of this application can be implemented in the form of hardware, or can be implemented in the form of a processor executing software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (Random Access Memory, RAM), flash memory, erasable programmable read-only memory (Erasable Programmable ROM, EPROM), electrically erasable Programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC may be located in the core network interface device. Certainly, the processor and the storage medium may also exist in the core network interface device as discrete components.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be included in the protection scope of the present invention.

Claims (10)

  1. 一种感应器芯片,其特征在于,所述感应器芯片包括位于第一层上的光信号感应芯片和位于第二层上的逻辑芯片,所述光信号感应芯片包括多个单光子雪崩二极管SPAD探测器,所述逻辑芯片上划分有独立的第一区域和第二区域,所述逻辑芯片包括设置于所述第一区域的多个信号读取电路和设置于所述第二区域的多个存储单元,所述多个SPAD探测器在第二层上的垂直投影处于第一区域内;A sensor chip, characterized in that the sensor chip includes an optical signal sensing chip on the first layer and a logic chip on the second layer, and the optical signal sensing chip includes a plurality of single photon avalanche diodes SPAD In the detector, the logic chip is divided into an independent first area and a second area, and the logic chip includes a plurality of signal reading circuits arranged in the first area and a plurality of signal reading circuits arranged in the second area a storage unit, the vertical projections of the plurality of SPAD detectors on the second layer are in the first area;
    所述多个信号读取电路与所述多个SPAD探测器一一对应,用于获得对应的SPAD探测器接收的光信号的飞行时间信息,并将所述飞行时间信息写入所述多个存储单元。The plurality of signal reading circuits are in one-to-one correspondence with the plurality of SPAD detectors, and are used to obtain time-of-flight information of optical signals received by corresponding SPAD detectors, and write the time-of-flight information into the plurality of SPAD detectors. storage unit.
  2. 根据权利要求1所述的感应器芯片,其特征在于,所述第二区域包括所述逻辑芯片的单侧边缘区域、两侧边缘区域、三侧边缘区域或四周边缘区域。The sensor chip according to claim 1, wherein the second area includes a single-side edge area, two-side edge areas, three-side edge areas, or four-side edge areas of the logic chip.
  3. 根据权利要求1或2所述的感应器芯片,其特征在于,所述逻辑芯片还包括与所述多个信号读取电路相耦合的时间数字转换器TDC,所述TDC设置于所述第二区域,所述TDC为N比特,N为大于1的整数;每个所述信号读取电路包括淬灭电路和第一触发器组,所述第一触发器组包括N个第一触发器;所述淬灭电路的输出端与所述N个第一触发器的时钟输入端相耦合,所述N个第一触发器的数据输入端与所述TDC的输出端相耦合;The sensor chip according to claim 1 or 2, wherein the logic chip further comprises a time-to-digital converter (TDC) coupled to the plurality of signal reading circuits, and the TDC is arranged on the second In the area, the TDC is N bits, and N is an integer greater than 1; each of the signal reading circuits includes a quenching circuit and a first flip-flop group, and the first flip-flop group includes N first flip-flops; The output terminal of the quenching circuit is coupled to the clock input terminals of the N first flip-flops, and the data input terminals of the N first flip-flops are coupled to the output terminal of the TDC;
    所述TDC,用于在激光器发射光信号时开始计数;The TDC is used to start counting when the laser emits an optical signal;
    所述淬灭电路,用于在所述SPAD探测器检测到光信号时,向所述N个第一触发器的时钟输入端输入停止计数信号;The quenching circuit is configured to input a count stop signal to the clock input terminals of the N first flip-flops when the SPAD detector detects a light signal;
    所述第一触发器组,用于基于所述停止计数信号,从所述TDC读取该第一触发器组对应的所述SPAD探测器检测到光信号的飞行时间信息。The first trigger group is configured to read, from the TDC, the time-of-flight information of the light signal detected by the SPAD detector corresponding to the first trigger group based on the stop counting signal.
  4. 根据权利要求3所述的感应器芯片,其特征在于,所述逻辑芯片还包括控制器,所述控制器设置于所述第二区域,所述控制器与每个所述第一触发器的时钟输入端耦合连接;The sensor chip according to claim 3, wherein the logic chip further comprises a controller, the controller is disposed in the second region, and the controller is connected to each of the first flip-flops Clock input coupling connection;
    所述控制器,用于在所述TDC计数结束时,向多个所述第一触发器组中的所述第一触发器的时钟输入端输入公共时钟信号,并控制多个所述第一触发器组组成至少一个移位寄存器,将多个所述第一触发器组读取的飞行时间信息写入所述多个存储单元。The controller is configured to input a common clock signal to the clock input terminals of the first flip-flops in the plurality of first flip-flop groups when the TDC count ends, and control the plurality of first flip-flops The flip-flop group forms at least one shift register, and writes the time-of-flight information read by the plurality of first flip-flop groups into the plurality of storage units.
  5. 根据权利要求4所述的感应器芯片,其特征在于,每个所述信号读取电路还包括选择器,所述淬灭电路通过所述选择器与所述N个第一触发器的时钟输入端相耦合,所述控制器通过所述选择器与所述N个第一触发器的时钟输入端相耦合;The sensor chip according to claim 4, wherein each of the signal reading circuits further includes a selector, and the quenching circuit is input through the selector and the clock of the N first flip-flops The controller is coupled to the clock input terminals of the N first flip-flops through the selector;
    所述选择器,用于选择所述N个第一触发器的时钟输入端的输入信号为所述停止计数信号或所述公共时钟信号。The selector is configured to select the input signal of the clock input terminals of the N first flip-flops as the stop counting signal or the common clock signal.
  6. 根据权利要求3所述的感应器芯片,其特征在于,每个所述信号读取电路还包括第二触发器组,所述第二触发器组包括N个第二触发器,每个所述信号读取电路中的所述N个第二触发器的时钟输入端耦合至所述N个第一触发器的时钟输入端,每个所述信号读取电路中的所述第一触发器组与所述第二触发器组组成移位寄存器。The sensor chip according to claim 3, wherein each of the signal reading circuits further includes a second flip-flop group, and the second flip-flop group includes N second flip-flops, each of the The clock input terminals of the N second flip-flops in the signal reading circuit are coupled to the clock input terminals of the N first flip-flops, and each of the first flip-flop groups in the signal reading circuit A shift register is formed with the second flip-flop group.
  7. 根据权利要求6所述的感应器芯片,其特征在于,每个所述信号读取电路中的所述N个第二触发器的数据输入端耦合至所述N个第一触发器的数据输出端。The sensor chip according to claim 6, wherein the data input terminals of the N second flip-flops in each of the signal reading circuits are coupled to the data outputs of the N first flip-flops end.
  8. 根据权利要求6或7所述的感应器芯片,其特征在于,所述逻辑芯片还包括控 制器,所述控制器设置于所述第二区域,所述控制器与每个所述第一触发器的时钟输入端耦合连接;The sensor chip according to claim 6 or 7, wherein the logic chip further comprises a controller, the controller is arranged in the second area, and the controller is connected with each of the first triggers The clock input terminal of the device is coupled and connected;
    所述控制器用于,在所述TDC计数结束时,向多个所述信号读取电路中的所述第一触发器的时钟输入端和所述第二触发器的时钟输入端输入公共时钟信号,并控制多个所述信号读取电路中的所述第一触发器组和所述第二触发器组组成至少一个移位寄存器,将多个所述信号读取电路读取的飞行时间信息写入所述多个存储单元。The controller is configured to input a common clock signal to the clock input terminals of the first flip-flops and the clock input terminals of the second flip-flops in the plurality of signal reading circuits when the TDC counting ends , and control the first flip-flop group and the second flip-flop group in a plurality of said signal reading circuits to form at least one shift register, and the time-of-flight information read by a plurality of said signal reading circuits write to the plurality of storage units.
  9. 根据权利要求4-8中至少一项所述的感应器芯片,其特征在于,所述第一触发器组和/或第二触发器组组成的所述移位寄存器通过一组数据线串行传输所述飞行时间信息,或者,通过N组组数据线并行传输所述飞行时间信息。The sensor chip according to at least one of claims 4-8, wherein the shift register composed of the first flip-flop group and/or the second flip-flop group is serially connected through a set of data lines The time-of-flight information is transmitted, or the time-of-flight information is transmitted in parallel through N groups of data lines.
  10. 一种终端设备,其特征在于,所述终端设备包括处理器以及如权利要求1至9中任一项所述的感应器芯片,处理器与所述感应器芯片相耦合,所述处理器用于根据所述感应器芯片检测的所述飞行时间信息,计算距离信息。A terminal device, characterized in that the terminal device comprises a processor and the sensor chip according to any one of claims 1 to 9, the processor is coupled to the sensor chip, and the processor is used for Calculate distance information according to the time-of-flight information detected by the sensor chip.
PCT/CN2021/097554 2021-05-31 2021-05-31 Sensor chip and terminal device WO2022252096A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/097554 WO2022252096A1 (en) 2021-05-31 2021-05-31 Sensor chip and terminal device
CN202180095770.7A CN117043947A (en) 2021-05-31 2021-05-31 Inductor chip and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/097554 WO2022252096A1 (en) 2021-05-31 2021-05-31 Sensor chip and terminal device

Publications (1)

Publication Number Publication Date
WO2022252096A1 true WO2022252096A1 (en) 2022-12-08

Family

ID=84322627

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097554 WO2022252096A1 (en) 2021-05-31 2021-05-31 Sensor chip and terminal device

Country Status (2)

Country Link
CN (1) CN117043947A (en)
WO (1) WO2022252096A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449337A (en) * 2023-01-12 2023-07-18 深圳阜时科技有限公司 Pixel circuit, photoelectric sensor, toF device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104779259A (en) * 2014-01-15 2015-07-15 全视科技有限公司 Single photo avalanche diode imaging sensor for complementary metal oxide semiconductor stacked chip applications
CN108234910A (en) * 2017-02-03 2018-06-29 思特威电子科技(美国)有限公司 Imaging system and formation stack the method for imaging system and digital camera imaging system components
CN108513619A (en) * 2017-08-31 2018-09-07 深圳市大疆创新科技有限公司 Signal processing chip, image processing system and Range Measurement System
CN110196106A (en) * 2019-05-20 2019-09-03 北京师范大学 Single-photon avalanche photoelectron diode array detector
WO2020234216A1 (en) * 2019-05-22 2020-11-26 Robert Bosch Gmbh Operating method and control unit for a spad-based detector arrangement, lidar system and work device
US10855939B1 (en) * 2019-08-29 2020-12-01 SmartSens Technology (HK) Co, Limited Stacked image sensor with programmable edge detection for high frame rate imaging and an imaging method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104779259A (en) * 2014-01-15 2015-07-15 全视科技有限公司 Single photo avalanche diode imaging sensor for complementary metal oxide semiconductor stacked chip applications
CN108234910A (en) * 2017-02-03 2018-06-29 思特威电子科技(美国)有限公司 Imaging system and formation stack the method for imaging system and digital camera imaging system components
CN108513619A (en) * 2017-08-31 2018-09-07 深圳市大疆创新科技有限公司 Signal processing chip, image processing system and Range Measurement System
CN110196106A (en) * 2019-05-20 2019-09-03 北京师范大学 Single-photon avalanche photoelectron diode array detector
WO2020234216A1 (en) * 2019-05-22 2020-11-26 Robert Bosch Gmbh Operating method and control unit for a spad-based detector arrangement, lidar system and work device
US10855939B1 (en) * 2019-08-29 2020-12-01 SmartSens Technology (HK) Co, Limited Stacked image sensor with programmable edge detection for high frame rate imaging and an imaging method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449337A (en) * 2023-01-12 2023-07-18 深圳阜时科技有限公司 Pixel circuit, photoelectric sensor, toF device and electronic equipment
CN116449337B (en) * 2023-01-12 2024-05-24 深圳阜时科技有限公司 Pixel circuit, photoelectric sensor, toF device and electronic equipment

Also Published As

Publication number Publication date
CN117043947A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US10304877B2 (en) Circuit and method for controlling and selectively enabling photodiode cells
US11639990B2 (en) Digital pixels and operating methods thereof
EP2740262B1 (en) Position-sensitive readout modes for digital silicon photomultiplier arrays
US20210231782A1 (en) Dram-based lidar pixel
US11221400B2 (en) Dual mode stacked photomultipliers suitable for use in long range time of flight applications
JP7043218B2 (en) Optical sensors, distance measuring devices, and electronic devices
US20180246212A1 (en) Higher pixel density histogram time of flight sensor with higher pixel density
CN110109085B (en) Low-power consumption wide-range array type photon timing reading circuit based on dual-mode switching
CN109374139B (en) Single photon flight time detection circuit and measurement method
US20210215807A1 (en) Pipelined histogram pixel
CN113093212A (en) SPAD sensor and detection system and electronic equipment using same
WO2022252096A1 (en) Sensor chip and terminal device
US20230280464A1 (en) Dtof sensing module, terminal device, and ranging method
TWI777602B (en) Light sensor and ranging method
US20220206158A1 (en) Event driven shared memory pixel
CN211979200U (en) Sensor with a sensor element
Xie et al. Single-photon avalanche diode array with column-level time-to-digital converter for unmanned vehicle
CN210155522U (en) Pixel-level high-precision amplitude-time conversion circuit
CN113777582A (en) Time of flight TOF sensing device and control method thereof
CN113759344A (en) Sensing control device and method of direct time-of-flight (DTOF) sensor
CN217787400U (en) Neutron photographic device
WO2023203351A1 (en) Single photon avalanche diode macropixel
US20220146671A1 (en) Laser ranging receiver device
JP2023028992A (en) Imaging apparatus and method for controlling the same
CN118068304A (en) Sensing module and ranging device

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180095770.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21943471

Country of ref document: EP

Kind code of ref document: A1