Light receiving device and distance measuring device

The light receiving device and circuit optimize photon detection in ToF distance measurement by adjusting power supply and recharge parameters, reducing dead time and improving accuracy and efficiency.

JP7562570B2Active Publication Date: 2024-10-07SONY SEMICON SOLUTIONS CORP
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
JP2021569824
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-01-10
Filing Date
2020-12-23
Publication Date
2024-10-07
Estimated Expiration
2040-12-23

AI Technical Summary

Technical Problem

Existing distance measurement technologies using Time of Flight (ToF) with avalanche photodiodes (APDs) face challenges in minimizing dead time during photon detection, which affects measurement accuracy and efficiency.

Method used

A light receiving device and circuit that includes a control circuit to adjust power supply potential, recharge current, and load circuit parameters based on signal output, utilizing multiple light receiving circuits to minimize dead time through passive and active recharging methods, and error detection and correction.

Benefits of technology

The solution effectively reduces dead time, enhancing photon detection efficiency and accuracy in distance measurement, allowing for high-quality distance imaging and reduced power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562570000001
    Figure 0007562570000001
  • Figure 0007562570000002
    Figure 0007562570000002
  • Figure 0007562570000003
    Figure 0007562570000003
Patent Text Reader

Abstract

[Problem] To provide a light-receiving device, a light-receiving circuit, and a ranging device with which it is possible to minimize dead time. [Solution] The light-receiving device according to the present disclosure may be provided with: a light-receiving circuit including a light-receiving element; a power supply circuit configured to supply a power supply potential to the light-receiving circuit; and a control circuit configured to control the power supply potential supplied by the power supply circuit on the basis of a signal that the light-receiving circuit outputs due to a reaction with photons.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a light receiving device, a distance measuring device, and a light receiving circuit. [Background technology]

[0002] In multiple fields, including automotive and mobile devices, the application of technology that measures the distance to an object based on the time of flight (ToF) that it takes for light emitted from a light-emitting element to be reflected by the object and return to a light-receiving element is progressing. Avalanche photodiodes (APDs) are known as light-receiving elements. In a Geiger-mode APD, a voltage equal to or greater than the breakdown voltage is applied between the terminals, and the avalanche phenomenon occurs when a single photon is incident. An APD that multiplies a single photon by the avalanche phenomenon is called a single-photon avalanche diode (SPAD).

[0003] In a SPAD, the avalanche phenomenon can be stopped by lowering the voltage between the terminals to the breakdown voltage. Lowering the voltage between the terminals and stopping the avalanche phenomenon is called quenching. Then, by recharging the voltage between the terminals of the SPAD to a bias voltage equal to or higher than the breakdown voltage, it becomes possible to detect photons again. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2010-091377 A [Patent Document 2] JP 2014-081254 A [Patent Document 3] JP 2018-179732 A [Patent Document 4] Special Publication No. 2008-542706 Summary of the Invention [Problem to be solved by the invention]

[0005] Before starting distance measurement using ToF, it is desirable to set the sensor to shorten the dead time during which photons cannot be detected.

[0006] Therefore, the present disclosure provides a light receiving device, a light receiving circuit, and a distance measuring device that can minimize the dead time. [Means for solving the problem]

[0007] According to one aspect of the present disclosure, there is provided a photodetector comprising: a photodetector circuit including a photodetector element; a power supply circuit configured to supply a power supply potential to the photodetector circuit; and a control circuit configured to control the power supply potential supplied by the power supply circuit based on a signal output by the photodetector circuit in reaction with photons.

[0008] The light receiving element may further include a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element, and the control circuit may be configured to change parameters including at least one of the recharge current of the load circuit or the resistance value of the load circuit based on the signal.

[0009] The control circuit may be configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the light receiving circuits based on the signals output by the light receiving circuits.

[0010] The optical amplifier may further include an error detector configured to make an error determination based on the waveform of the signal output by the optical receiving circuit, and the control circuit may be configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the optical receiving circuits based on the number of error determinations in the signals output from a plurality of the optical receiving circuits.

[0011] At least any of the light receiving circuits may be configured to perform passive recharging, and the control circuit may be configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value.

[0012] At least one of the light receiving circuits may be configured to perform active recharging, and the control circuit may be configured to adjust a time delay at which a pulse is generated for the active recharging in the light receiving circuit based on the number of error determinations.

[0013] The error detector may be configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value and the signal having a pulse interval less than a third threshold value.

[0014] The optical fiber may further include an error correction circuit configured to make an error determination based on the waveform of the signal output by the light receiving circuit, and to correct the waveform of the signal determined to have an error.

[0015] The error correction circuit may be configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value and the signal having an interval between pulses less than a third threshold value.

[0016] The control circuit may be configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least any of the light receiving circuits based on the number of error judgments in the signals output from the multiple light receiving circuits.

[0017] At least one of the light receiving circuits may be configured to perform passive recharging, and the control circuit may be configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value.

[0018] At least one of the light receiving circuits may be configured to perform active recharging, and the control circuit may be configured to adjust a time delay at which a pulse is generated for the active recharging in the light receiving circuit based on the number of error determinations.

[0019] The light receiving element may be an avalanche photodiode.

[0020] A distance measuring device according to one aspect of the present disclosure may include a light-emitting element, a plurality of light-receiving circuits including a light-receiving element, a power supply circuit configured to supply a power supply potential to the plurality of light-receiving circuits, and a control circuit configured to control the power supply potential based on signals output by the plurality of light-receiving circuits in reaction to photons during a period when the light-emitting element is not emitting light.

[0021] The light receiving element may further include a plurality of load circuits connected to each of the light receiving circuits and supplying a recharge current to the light receiving element, and the control circuit may be configured to control at least one of the resistance values ​​of the plurality of load circuits or the recharge current based on the signal.

[0022] The control circuit may be configured to adjust a time delay at which a pulse for active recharge is generated in at least one of the light receiving circuits based on the signal.

[0023] A light receiving circuit according to one embodiment of the present disclosure may include a light receiving element, a current source, a switch capable of turning on either a first contact side connected to a reference potential or a second contact side connected to the light receiving element, a current mirror circuit configured to supply from an output side a second current that mirrors a first current flowing between the reference potential and the current source, and a transistor having a first signal electrode connected to the reference potential, a second signal electrode connected to the light receiving element and the output side of the current mirror circuit, and a control electrode connected to the switch.

[0024] The switch and the transistor may be provided in plurality, and a third current obtained by multiplying the first current by N (N is a positive integer) may be supplied to the light receiving element in response to switching of the switch.

[0025] The device may further include readout circuitry configured to generate a pulse upon reaction of the photodetector with a photon.

[0026] A photodetector circuit according to one aspect of the present disclosure may include a photodetector, a plurality of resistors connected in parallel between a reference potential and the photodetector, a plurality of switches each connected in series with the resistors, and a readout circuit configured to generate a pulse upon reaction of the photodetector with a photon, and may be configured such that a current supplied to the photodetector is adjusted in response to switching of the switches. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 is a block diagram showing an example of a light receiving device. [Diagram 2] FIG. 1 is a diagram showing a schematic example of distance measurement using a light receiving device. [Diagram 3] FIG. 11 is a circuit diagram showing an example of a light receiving circuit that performs passive recharging. [Figure 4] 5 is a graph showing an example of a voltage waveform in the light receiving circuit of FIG. 4. [Diagram 5] FIG. 11 is a circuit diagram showing an example of a light receiving circuit that performs active recharging. [Figure 6] 6 is a graph showing an example of a voltage waveform in the light receiving circuit of FIG. 5. [Figure 7] FIG. 4 is a circuit diagram showing an example of the configuration of a pulse generator. [Figure 8] 1 is a schematic diagram illustrating an example of a light receiving device according to the present disclosure. [Figure 9] 6 is a graph showing an example of error determination by an error detector. [Figure 10] 10 is a flowchart showing an example of processing in a light receiving device or a distance measuring device according to the present disclosure. [Figure 11]11 is a table showing an example of settings in a light receiving device or a distance measuring device and the number of error determinations. [Figure 12] FIG. 1 is a circuit diagram showing an example of a load circuit with an adjustable resistance value. [Figure 13] FIG. 1 is a circuit diagram showing an example of a load circuit capable of adjusting a current value. [Figure 14] 6 is a flowchart showing an example of a process for determining a setting of a load circuit. [Figure 15] 10 is a flowchart showing an example of a process for determining settings of a power supply circuit. [Figure 16] 1 is a table showing an example of a power supply potential and an error determination number. [Figure 17] FIG. 11 is a block diagram showing an example of a distance measuring device according to a second modified example. [Figure 18] 18 is a graph showing an example of a correction process for a voltage waveform in the distance measuring device of FIG. 17. [Figure 19] 18 is a graph showing an example of a correction process for a voltage waveform in the distance measuring device of FIG. 17. [Figure 20] FIG. 11 is a block diagram showing an example of a distance measuring device according to a third modified example. [Figure 21] FIG. 13 is a block diagram showing an example of a light receiving device according to a fourth modified example. [Figure 22] FIG. 13 is a circuit diagram showing an example of a circuit according to Modification 5. [Figure 23] FIG. 13 is a circuit diagram showing an example of a circuit according to Modification 6. [Figure 24] 1 is a block diagram showing an example of a schematic configuration of a vehicle control system; [Diagram 25] 4 is an explanatory diagram showing an example of the installation positions of an outside-vehicle information detection unit and an imaging unit; FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted.

[0029] The block diagram of Fig. 1 shows an example of a light receiving device. Fig. 2 shows a schematic example of distance measurement using a light receiving device. The light receiving device 200 of Fig. 1 includes a communication circuit 210, a control circuit 220, a SPAD controller 221, a SPAD array 240, a circuit block 241, a processing circuit 230, a transfer circuit 211, a PLL 250, a clock generator 251, a current source 252, a temperature sensor 253, a trigger circuit 254, and a power supply circuit 256. The processing circuit 230 includes a histogram generator 232 and a distance calculation unit 233 as internal components. The light receiving device 200 is connected to a light emitting element 255 of Fig. 2 via a terminal T_OUT.

[0030] The communication circuit 210 and the transfer circuit 211 communicate with an external circuit. The control circuit 220 controls each component of the light receiving device 200. The SPAD array 240 corresponds to the detection unit 1 in FIG. 2. For example, a plurality of SPADs and light receiving circuits corresponding to each SPAD are implemented in the SPAD array 240. The SPAD array includes a plurality of single photon avalanche diodes (SPADs). The light receiving circuit is configured to output a pulse to a downstream circuit when the SPAD reacts with a photon. The light receiving circuit also includes a circuit for quenching and recharging the SPAD. The SPAD controller 221 controls the light receiving circuit. For example, the SPAD controller 221 controls the switching of the switch in the light receiving circuit, the control of the current value, and the timing of generating the pulse.

[0031] The circuit block 241 includes, for example, a sampler connected to the rear stage of each light receiving circuit. The sampler is also called a buffer, and digitizes the signal input from the light receiving circuit. The circuit block 241 may also include an error detector and an error correction circuit. The error detector and the error correction circuit will be described in detail later. The trigger circuit 254 controls the light emission timing of the light emitting element 255.

[0032] The histogram generator 232 samples the voltage levels of the digitized output signals of each light receiving circuit to generate a histogram. The histogram generator 232 may repeat the sampling operation multiple times to generate a histogram. By performing the sampling operation multiple times, it becomes possible to distinguish between the reflected light rl of the light emitted from the light emitting element and other light. The histogram generator 232 may perform calculations such as averaging the results of multiple measurements when generating a histogram. The distance calculation unit 233 calculates the distance between the light receiving device 200 and the object based on the information on the light emission time t0 transferred from the trigger circuit 254 and the peak time t1 of the histogram. For example, if the speed of light is c, the distance between the light receiving device 200 and the object OBJ can be calculated by the formula L=c / 2(t1-t0). Among these, t1-t0 corresponds to the flight time. The transfer circuit 211 may be used to transfer information including the calculated distance to an external circuit. A device that has the function of calculating the distance to an object, such as the light receiving device 200, is called a distance measuring device.

[0033] The power supply circuit 256 is a circuit that supplies a power supply potential Vdd to the light receiving circuits implemented as pixels in the SPAD array 240. The circuits described in the circuit diagrams above can be used as the light receiving circuits in the SPAD array 240. That is, the power supply circuit 256 is electrically connected to a signal line of the power supply potential Vdd in the circuit diagrams described below. The power supply circuit 256 is also connected to the SPAD controller 221 via a control signal line. The SPAD controller 221 can change the value of the power supply potential Vdd by sending a control signal to the power supply circuit 256.

[0034] The power supply circuit 256 may be controlled by a component other than the SPAD controller 221. For example, the control circuit 220 that determines the recharge method in the light receiving circuit may directly control the power supply circuit 256.

[0035] For example, the components of the processing circuit 230 including the histogram generator 232 and the distance calculation unit 233 can be implemented by hardware circuits such as a field programmable gate array (FPGA) and an application specific integrated circuit (ASIC). However, the functions of the processing circuit 230 may be implemented by a central processing unit (CPU) and a program executed on the CPU. In this case, the processing circuit 230 may include a memory or storage for storing the program and data required for executing the program.

[0036] 1 is merely an example of the configuration of a light receiving device. Therefore, the configuration of a light receiving device according to the present disclosure may be different from that of the light receiving device 200. The light receiving device may not include all of the components of the light receiving device 200. For example, the light receiving device may omit at least one of the PLL 250, the clock generator 251, the current source 252, the temperature sensor 253, the trigger circuit 254, and the communication circuit 210. In addition, other components may be added, or other components may be omitted.

[0037] The circuit diagram in FIG. 3 shows an example of a light receiving circuit used for photon detection. The graph in FIG. 4 shows an example of a voltage waveform in the light receiving circuit. The light receiving circuit 13 in FIG. 3 includes a photodiode PD, a transistor TR0, and an inverter INV. The transistor TR0 is a PMOS transistor. For example, a SPAD can be used as the photodiode PD. The source of the transistor TR0 is connected to a power supply potential Vdd. The drain of the transistor TR0 is connected to the cathode of the photodiode PD. A voltage Van is applied to the anode of the photodiode PD. A reverse voltage equal to or greater than the breakdown voltage is applied between the terminals of the photodiode PD by the voltage Van. The input side of the inverter INV is connected to the drain of the transistor TR0 and the cathode of the photodiode PD. A subsequent circuit such as a buffer is connected to the output side of the inverter INV.

[0038] The transistor TR0 is an example of the load element 90 of the light receiving circuit 13. However, the configuration of the load element may be different. For example, a resistor may be used as the load element, or a combination of a transistor and a resistor may be used. Also, a load circuit including multiple elements may be connected in place of the load element.

[0039] When a photon is incident on the photodiode PD and the current flowing between the terminals of the photodiode PD increases due to avalanche multiplication, the cathode potential Vca decreases in response to the voltage drop in the load element 90. When the terminal voltage of the photodiode PD decreases to the breakdown voltage, the avalanche phenomenon stops and the current flowing between the terminals of the photodiode PD decreases. As a result, the voltage between the terminals of the photodiode PD becomes equal to or higher than the breakdown voltage, making it possible to detect photons again (Vca in graph 60). Meanwhile, the inverter INV outputs a HIGH (positive polarity) pulse (Vp in graph 60) during the period when the cathode potential Vca is equal to or lower than the threshold thi. Since the light receiving circuit 13 outputs a pulse when a photon is detected, various processes such as photon counting, generation of a histogram, and calculation of flight time can be performed in subsequent circuits.

[0040] A circuit that operates as shown in graph 60 is called a passive recharge circuit. The above-mentioned light receiving circuit 13 is an example of a passive recharge circuit. A circuit with a different configuration from the light receiving circuit 13 may be used as the passive recharge circuit. For example, a circuit with inverted polarity may be used. Also, a circuit in which other elements are added to the light receiving circuit 13 may be used. By using a passive recharge circuit, it is possible to reduce power consumption.

[0041] During the period from when the photodiode PD reacts with a photon to when the avalanche phenomenon is stopped (quenched) and the voltage between the terminals of the photodiode PD is recharged to a breakdown voltage or higher, the photodiode PD cannot detect photons. This period is called dead time. If the current supplied from the load element 90 is insufficient, the time tup until the voltage Vca shown in the graph 60 rises becomes longer, and the dead time becomes longer. The current supplied from the load element or load circuit to reset the voltage level of the terminal of the light receiving element (e.g., the photodiode PD) is called a recharge current. When a passive recharge circuit is used as the light receiving circuit, it is preferable to set the recharge current of the light receiving circuit so that the dead time is minimized before starting a process such as distance measurement. For example, in a calibration process executed when the distance measuring device is shipped from the factory, when it is started for the first time, or when it is initialized, the recharge current in the light receiving circuit (pixel) in the SPAD array 240 can be determined to minimize the dead time and improve the distance measurement performance.

[0042] In addition, in a passive recharge circuit, if the recharge current is too large, the terminal voltage of the photodiode PD will not drop to the breakdown voltage, and quenching will not be possible (Vca in graph 61). At this time, the output voltage of the inverter INV will stick, making it difficult to detect photons. Therefore, in order to improve distance measurement performance, it is desirable to suppress the probability of output voltage deadlock by not supplying an excessively large recharge current to the light receiving element.

[0043] The circuit diagram of Fig. 5 shows an example of a circuit according to the present disclosure. The light receiving circuit 10 of Fig. 5 includes a photodiode PD, a switch SW1, a transistor TR0, a transistor TR1, a switch SW2, a transistor TR2, a switch SW3, an inverter INV, and a pulse generator PG. The transistors TR0, TR1, and TR2 are all PMOS transistors. For example, a SPAD can be used as the photodiode PD.

[0044] The switches SW1, SW2, and SW3 are implemented by, for example, MOS transistors. For example, the gates of the respective MOS transistors can be connected to the SPAD controller 221. In this case, the SPAD controller 221 controls the voltages applied to the gates of the individual MOS transistors to turn the switches on and off. The gate of the transistor TR0 may be connected to the SPAD controller 221. In this case, the SPAD controller 221 can control the voltage applied to the gate of the transistor TR0 to adjust the resistance value between the source and drain of the transistor TR0. In place of the SPAD controller 221, the control circuit 220 may perform the above-mentioned control.

[0045] The source of the transistor TR0 is connected to the power supply potential Vdd. The switch SW1 is connected between the drain of the transistor TR0 and the cathode of the photodiode PD. A voltage Van is applied to the anode of the photodiode PD. The value of the voltage Van can be determined so that a reverse voltage equal to or greater than the breakdown voltage is applied between the terminals of the photodiode PD. The input terminal of the inverter INV is connected to the cathode of the photodiode PD and the switch SW1 via the signal line Lin.

[0046] The source of the transistor TR1 and the source of the transistor TR2 are both connected to a power supply potential Vdd. A switch SW2 is connected between the drain of the transistor TR1 and a signal line Lin. Meanwhile, a switch SW3 is connected between the drain of the transistor TR2 and the signal line Lin. An output terminal of the inverter INV is connected to the gate of the transistor TR2 and an input terminal of the pulse generator PG via a signal line Lout. An output terminal of the pulse generator PG is connected to the gate of the transistor TR1.

[0047] In the light receiving circuit 10, the recharge method of the photodiode PD can be switched according to the switch setting. When the switch SW1 is turned OFF and the switches SW2 and SW3 are turned ON, the light receiving circuit 10 can be made to perform active recharge. In the light receiving circuit 10 shown in FIG. 5, the switches are set to perform active recharge. When the switch SW1 is turned ON and the switches SW2 and SW3 are turned OFF, the light receiving circuit 10 can be made to perform passive recharge. In this case, the light receiving circuit 10 operates in the same manner as the light receiving circuit 13 (passive recharge circuit) in FIG. 3. Furthermore, when the switches SW1 and SW2 are turned ON, the light receiving circuit 10 can be made to perform both active recharge and active recharge. In this case, the switch SW3 may be ON or OFF.

[0048] The graph in Fig. 6 shows an example of a voltage waveform in the light receiving circuit 10. Graph 63 in Fig. 6 corresponds to a voltage waveform when active recharging is performed in the light receiving circuit 10. Note that Vg in graph 63 indicates the gate voltage of transistor TR1. In each graph, the horizontal axis indicates time.

[0049] The operation when the light receiving circuit 10 is made to perform active recharge (when the switch is set to st1) will be described. When a photon is incident on the photodiode PD and the current flowing between the terminals of the photodiode PD increases due to avalanche multiplication, the cathode potential Vca decreases according to the voltage drop between the source / drain of the transistors TR1 and TR2. When the voltage between the terminals of the photodiode PD decreases to the breakdown voltage, the avalanche phenomenon stops (quenches), just like when passive recharge is performed.

[0050] The inverter INV outputs a HIGH (positive polarity) pulse during a period when the voltage of the signal line Lin is equal to or lower than the threshold value thi (Vp in graph 64). Based on this pulse, the downstream measurement circuit 30 can execute various processes. Since the voltage of the signal line Lin becomes LOW, the voltage of the signal line Lout on the output side of the inverter INV becomes HIGH. When a HIGH signal is input, the pulse generator PG outputs a LOW (negative polarity) pulse with a time delay td. Therefore, a LOW voltage is applied to the gate of the transistor TR1, and the source / drain of the transistor TR1 is turned on. At Vg in graph 64, a LOW pulse is output over the period tr. As a result, the cathode potential Vca is raised by the power supply potential Vdd, and photon detection by the photodiode PD becomes possible again.

[0051] When the voltage of the signal line Lin becomes HIGH due to recharging, the voltage of the signal line Lout on the output side of the inverter INV becomes LOW. At this time, a LOW voltage is applied to the gate of the transistor TR2, and the source / drain of the transistor TR2 is turned on. In this way, the transistor TR2 latches the state of the transistor TR1. The transistor TR2 suppresses the occurrence of a shoot-through current and prevents the cathode potential Vca from becoming unstable.

[0052] When not only the switches SW2 and SW3 but also the switch SW1 is ON (switch setting st3), the voltage drop across the source / drain of the transistor TR0 also contributes to the quenching of the photodiode PD. When the current flowing across the terminals of the photodiode PD decreases due to the quenching, the voltage across the terminals of the photodiode PD increases, similar to the light receiving circuit 13 in FIG.

[0053] As shown in graph 63 of FIG. 6, in order to perform active recharge and shorten the dead time of the photodiode PD, it is necessary to adjust the value of the time delay td. Here, the time delay td refers to the time difference between when the cathode potential Vca of the photodiode PD becomes equal to or lower than the threshold value thi and when the pulse generator PG outputs a LOW pulse. Graph 64 of FIG. 6 shows a voltage waveform when the time delay td is set too short. If the time delay td is set too short, the cathode potential Vca may drop again even if the pulse generator PG outputs a reset pulse. The cathode potential Vca falls below the threshold value thi, and the pulse generator PG generates multiple pulses in a short period of time. For this reason, hunting occurs in the cathode potential Vca, and photon detection using the light receiving circuit 10 becomes impossible. In order to improve distance measurement performance, it is desirable to sufficiently secure the value of the time delay td at which the active recharge pulse is generated in the light receiving circuit, and to prevent voltage hunting.

[0054] When an active recharge circuit is used as the light receiving circuit, it is preferable to set the time delay td at which a pulse for active recharge of the light receiving circuit is generated so that the dead time is minimized before starting processing such as distance measurement. For example, in a calibration process executed when the distance measuring device is shipped from the factory, when it is first started up, or during an initialization operation, the time delay td at which a pulse for active recharge is generated in the light receiving circuit (pixel) in the SPAD array 240 can be determined to minimize the dead time and improve the distance measurement performance.

[0055] In the light receiving circuit 10, a portion including the transistor TR1, the transistor TR2, the switch SW2, the switch SW3, and the pulse generator PG corresponds to an active recharge circuit 91. In addition, in the light receiving circuit 10, a portion including the transistor TR0 (load element 90) and the switch SW1 corresponds to a passive recharge circuit. The light receiving circuit 10 is an example of a light receiving circuit including a passive recharge circuit and an active recharge circuit.

[0056] A circuit having a different configuration from the light receiving circuit 10 (FIG. 5) may be used. For example, a circuit in which an element is added to the light receiving circuit 10 may be used. A circuit in which the polarity of the light receiving circuit 10 is inverted may be used. When a circuit in which the polarity is inverted is used, the PMOS transistor is replaced with an NMOS transistor. In addition, when the polarity of the light receiving circuit 10 is inverted, a positive bias voltage is applied to the cathode of the photodiode PD. Therefore, the cathode potential of the photodiode PD in the above description is replaced with the anode potential. In addition to the light receiving circuit 10, a configuration in which the polarity is inverted can be adopted for other circuits described in this specification.

[0057] The circuit diagram in Fig. 7 shows an example of the configuration of a pulse generator. The pulse generator PG in Fig. 7 includes a flip-flop FP and an inverter INV2. The flip-flop FP is a D flip-flop. The signal line Lout is connected to the D terminal of the flip-flop F1. The signal line dctr is connected to the clock terminal of the flip-flop F1. The inverter INV2 is connected between the Q terminal of the flip-flop F1 and the gate of the transistor TR1.

[0058] In the pulse generator PG of FIG. 7, the time delay td from when the voltage of the signal line Lout becomes a HIGH level until the voltage Vg is changed to a LOW level can be changed by controlling the clock signal supplied to the signal line dctr. For example, the time delay td can be increased by increasing the interval between pulses in the clock signal. Also, the time delay td can be decreased by decreasing the interval between pulses in the clock signal. The pulse generator PG of FIG. 7 makes it easy to control the time delay by a clock signal supplied from an external source. For example, the SPAD controller 221 or the clock generator 251 can supply a clock signal to the signal line dctr.

[0059] Note that the circuit in FIG. 7 is only one example of the pulse generator PG. Therefore, a pulse generator with a different configuration may be used. For example, a pulse generator may be implemented using an inverter chain. Also, a pulse generator may be implemented by combining a delay element and a logical operation element. In other words, as long as a pulse can be output to the gate of the transistor TR1 with a time delay after the input voltage level changes, a pulse generator with any circuit configuration may be used.

[0060] Fig. 8 shows a schematic diagram of an example of a light receiving device according to the present disclosure. The light receiving device 101 in Fig. 8 includes a plurality of light receiving circuits 11, a plurality of samplers 20, a plurality of error detectors 21, a measurement circuit 30, and a control circuit 40. The light receiving circuit 11 includes a SPAD and a light receiving circuit. The measurement circuit 30 includes a histogram generator 31 as an internal component.

[0061] The multiple light receiving circuits 11 correspond to, for example, the SPAD array 240 of the light receiving device 200 (FIG. 1). The multiple samplers 20 and the multiple error detectors 21 are arranged in, for example, a circuit block 241. The measurement circuit 30 corresponds to, for example, the processing circuit 230. The control circuit 40 corresponds to, for example, the control circuit 220 and the SPAD controller 221.

[0062] Each light receiving circuit 11 is connected to a sampler 20 at the rear stage via a signal line l_rd. The sampler is also called a buffer, and digitizes the signal input from the light receiving circuit. The output side of each sampler 20 is connected to an error detector 21. Then, a measurement circuit 30 is connected to the rear stage of each error detector 21. The measurement circuit 30 is connected to a control circuit 40. The control circuit 40 is connected to each light receiving circuit 11 via a signal line l_ct. Note that, although multiple signal lines l_ct are shown in FIG. 8, the number of control signal lines does not matter. For example, the control circuit 40 may control multiple light receiving circuits 11 with one signal line. Note that the configuration of the light receiving circuit 11 does not matter. For example, the light receiving circuits shown in the above-mentioned FIG. 3 and FIG. 5 can be used as the light receiving circuit 11. The light receiving circuit 11 may be a recharge circuit or an active recharge circuit. Also, circuits of different configurations may be mixed in the multiple light receiving circuits 11.

[0063] When the SPAD reacts with a photon, the light receiving circuit 11 outputs a voltage signal to the signal line l_rd. The error detector 21 is configured to perform error detection based on the voltage signal output from the light receiving circuit 11. The sampler 20 digitizes the voltage signal output from the light receiving circuit 11. The histogram generator 31 generates a histogram based on the pulses contained in the signals input from each sampler.

[0064] The configuration of the light receiving device shown in FIG. 8 is merely an example. For example, the error detector 21 may be connected between the light receiving circuit 11 and the sampler 20. Also, a circuit in which the functions of the sampler 20 and the error detector 21 are integrated may be connected between each light receiving circuit 11 and the input terminal of the measurement circuit 30. Also, instead of preparing an error detector 21 for each signal line l_rd, multiple signal lines l_rd may be connected to a common error detector. In this case, one error detector needs to perform error judgment for multiple signal lines l_rd, but it is possible to reduce the required circuit area. Also, a function equivalent to the error detector 21 may be implemented on the measurement circuit 30 side. In this case, it can be said that the measurement circuit 30 also has the function of the error detector 21.

[0065] The graph in Fig. 9 shows an example of error detection by the error detector 21. The error detector 21 can perform error determination by, for example, the method described below. Graphs 65 to 67 in Fig. 9 show the waveforms of the cathode potential Vca of the photodiode PD and the output voltage Vp of the light receiving circuit 11 (inverter INV). In each graph, the horizontal axis indicates time.

[0066] Graph 65 shows a case where the photodiode PD reacts with photons again before the cathode potential Vca rises to a voltage higher than the threshold of the inverter INV, causing the pulse width output by the inverter INV to become too large. For example, the error detector 21 detects the rising edge of a pulse in the voltage signal output from the light receiving circuit 11. Then, the error detector 21 monitors the pulse width. The error detector 21 makes an error determination when the pulse width exceeds a threshold t_h. For example, the error detector 21 samples the voltage of the signal at a period t_s, and can make an error determination when the sampled voltage becomes HIGH n_h times in succession. In this case, the values ​​of t_s and n_h can be set so that the relationship t_h=t_s×n_h is satisfied. However, an error determination may be made by a method different from this.

[0067] In graph 66, the recharge current in the light receiving circuit 11 is too large, so the voltage between the terminals of the photodiode PD does not drop to the breakdown voltage, and quenching is not possible. This causes the output voltage of the light receiving circuit 11 to stick. For example, the error detector 21 detects the rising edge of a pulse in the voltage signal output from the light receiving circuit 11. The error detector 21 then measures the period during which the output voltage of the light receiving circuit 11 is HIGH. If the period during which the output voltage of the light receiving circuit 11 is HIGH exceeds a threshold value t_h, the error detector 21 makes an error determination. In the example of graph 66, an error can be determined by the same method as in the case of graph 65.

[0068] In the graph 67, residual charges are generated in the photodiode PD after the reaction with the photon. Therefore, even if the light receiving circuit 11 performs the quench and recharge operations, the photodiode PD reacts again with the photon. The cathode potential Vca hunts due to the reaction with the photon. For example, the error detector 21 judges an error when the period during which the output voltage of the light receiving circuit 11 is LOW after the fall of the pulse in the voltage signal of the light receiving circuit 11 is shorter than the threshold value t_l. For example, the error detector 21 samples the voltage of the signal at a period t_s, and judges an error when the number of times the sampled voltage has been LOW in succession is less than n_l times. In this case, the values ​​of t_s and n_l can be set so that the relationship t_l=t_s×n_l is satisfied. Also, the error may be judged by a method different from the above.

[0069] Here, an error determination has been described in the case where the light receiving circuit 11 outputs a HIGH level (positive polarity) pulse when detecting a photon. The error detector 21 can also perform an error determination in the case where the light receiving circuit 11 outputs a LOW level (negative polarity) pulse. In that case, the error detector 21 may perform an operation in which HIGH is replaced with LOW, LOW is replaced with HIGH, the falling edge of the pulse with the rising edge of the pulse, and the rising edge of the pulse with the falling edge of the pulse in the above description.

[0070] When an error is detected, the error detector 21 outputs an error signal to the measurement circuit 30. For example, the error signal may be transmitted using a signal line separate from the signal line through which a pulse is transmitted when a photon is detected. The error signal may also be superimposed on the signal line through which a pulse is transmitted when a photon is detected and transmitted. The error detector 21 may output an error signal including an error code indicating the type of the detected error. The error code may include information indicating, for example, (1) an insufficient recharge current, (2) an excessive recharge current, (3) a time delay td that is too short, or (4) a time delay td that is too long. The error signal may also include information specifying the type of the error waveform described above or information regarding the detected waveform.

[0071] Next, an example of a process for searching for a setting that minimizes the dead time by error determination based on voltage signals output from a plurality of pixels (light receiving circuits) in the SPAD array 240 will be described.

[0072] The flowchart in Fig. 10 shows an example of processing in a light receiving device or a distance measuring device according to the present disclosure. The processing will be described below with reference to the flowchart in Fig. 10.

[0073] First, the SPAD array 240 is started (step S101). Then, the measurement circuit 30 counts errors in a plurality of light receiving circuits in the SPAD array 240 (step S102). The error determination and detection in step S102 is performed, for example, by the above-mentioned error detector 21 or the measurement circuit 30. When the error detector 21 detects an error, the downstream measurement circuit 30 can obtain information on the number of error determinations in the SPAD array 240 from an error signal. Here, the measurement circuit 30 may count the number of error determinations for each error code.

[0074] For example, information including at least one of the number of error determinations in the SPAD array 240 and the number of error determinations for each error code is referred to as error information. The error information obtained by the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220). When a distance measuring device having a light-emitting element is used, the light emission of the light-emitting element can be stopped during the execution of step S102 to eliminate the influence of the light-emitting element.

[0075] The control circuit 40 determines whether the error count is within a reference range (step S103). For example, the control circuit 40 may determine whether the number of determined errors in the SPAD array 240 is less than a threshold value. The control circuit 40 may also compare the number of determined errors for each error code with a threshold value and determine whether the error count is within a reference range. This makes it possible to identify the adjustment to be performed next.

[0076] Depending on the result of the determination in step S103, the process to be executed branches. If the control circuit 40 determines that the error count is within the reference range (YES in step S103), the adjustment process is completed (step S105). After step S205, the distance measuring device may irradiate the object OBJ with light from the light emitting element and start the distance measuring process.

[0077] If the control circuit 40 determines that the error count is outside the reference range (NO in step S103), the control circuit 40 changes at least one of the recharge current and / or the time delay at which the pulse generator PG generates a pulse (step S104). Examples of cases where the determination in step S103 is negative include a case where the number of error determinations is greater than a threshold value or a case where the number of error determinations of a specific error code is greater than a threshold value. The adjustment content in step S104 depends on the type of light receiving circuit in the SPAD array 240. For example, if the light receiving circuit is a passive recharge circuit, the recharge current is adjusted. Also, if the light receiving circuit is a passive recharge circuit, the time delay td at which the pulse generator PG generates a pulse is adjusted. The SPAD controller 221 can change the setting of each light receiving circuit in the SPAD array 240. In this case, the control circuit 40 may notify the SPAD controller 221 of the address of the pixel (light receiving circuit) to be changed in setting and the setting content.

[0078] For example, if it is determined that the magnitude of the recharge current is insufficient, the control circuit 40 can adjust the recharge current in the light receiving circuit to be larger. In this case, the control circuit 40 may adjust the resistance value in the load element or the load circuit to be smaller. Also, if it is determined that the recharge current is excessive, the control circuit 40 can adjust the recharge current in the light receiving circuit to be smaller. In this case, the control circuit 40 may adjust the resistance value in the load element or the load circuit to be smaller.

[0079] Also, if it is determined that the time delay td at which the pulse generator PG generates a pulse is too short, the control circuit 40 can adjust the time delay td to be longer. If it is determined that the time delay td at which the pulse generator PG generates a pulse is too long, the control circuit 40 can adjust the time delay td to be shorter.

[0080] When the process of step S104 is completed, the processes of steps S102 and S103 are executed again. That is, errors in the multiple light receiving circuits are counted again, and it is determined whether the error count is within the reference range. When the error count falls within the reference range (YES in step S103), the adjustment process is completed (step S105). After step S105, the distance measuring device may irradiate light from the light emitting element to the object OBJ and start the distance measuring process.

[0081] The execution timing of the process in Fig. 10 described above is not limited to the time of calibration of the device. Therefore, the process in Fig. 10 may be executed at a time other than the time of calibration of the device. For example, the process in Fig. 10 may be executed after the device starts operating.

[0082] Table T1 in FIG. 11 shows the number of error determinations when each value of recharge current is used in the light receiving circuit in the SPAD array 240. For example, the measurement circuit 30 or the control circuit 40 measures the number of error determinations using different recharge currents and generates table T1. Referring to FIG. 11, the number of error determinations decreases when the recharge current is suppressed. For example, the control circuit 40 uses a threshold th e In this case, the control circuit 40 may adjust the recharge current i c1 The number of errors e when using c1 The threshold value th e Compare with e c1 >th e If so, the control circuit 40 controls the recharge current to i c2 (i c1 ≠i c2 The control circuit 40 changes the c1 Greater than i c2 Or use i c1 Less than i c2 Then, when the control circuit 40 determines that the number of error determinations is less than the threshold value, the recharge current at that time can be used to perform distance measurement.

[0083] For example, if the data in table T1 is obtained by the adjustment process, the threshold th e An error judgment number of 3 can be used as the threshold. However, the threshold may be different. Note that the current values ​​included in the table of FIG. 11 are merely examples and are not intended to limit the recharge current values ​​used in the light receiving circuit.

[0084] When measuring the number of error judgments using different recharge currents, the maximum recharge current that can be set in the light receiving circuit i max You can start counting the number of error judgments from the minimum recharge current i min You may start counting the number of errors from i max and i min In other words, the recharge current at the start of the adjustment process is not limited.

[0085] The control circuit 40 detects the number of error determinations as a threshold value th e For example, if it is desired to use the largest possible recharge current in order to reduce the dead time, the number of error determinations may be counted using a larger recharge current, and the number of error determinations may be set to a threshold value th e Even after the recharge current is changed, the number of error judgments can be compared with the threshold value th e If the recharge current is smaller than the threshold value th, a larger recharge current can be used for distance measurement. If it is desired to use the smallest possible recharge current in order to reduce power consumption, the number of error determinations is counted using the smaller recharge current, and the number of error determinations is set to a threshold value th e Even after the recharge current is changed, the number of error judgments can be compared with the threshold value th e If it is less, then a smaller recharge current can be used to perform the distance measurement.

[0086] Table T2 in FIG. 11 shows the number of error determinations when each value of recharge current is used in the light receiving circuit in the SPAD array 240. For example, the measurement circuit 30 or the control circuit 40 measures the number of error determinations using different time delays td and generates table T2. Referring to FIG. 11, the number of error determinations is reduced when the pulse generator PG generates a pulse with a shorter time delay td. For example, the control circuit 40 sets a threshold th e In this case, the control circuit 40 may adjust the time delay td 1 The number of errors e when using d1 The threshold value th e Compare with e d1 >th e If so, the control circuit 40 sets the time delay to td 2 (td 1 ≠td 2 The control circuit 40 changes the td 1 Larger td 2 Or use td 1 Smaller td 2 Then, when the control circuit 40 determines that the number of error determinations is less than the threshold value, an active recharge pulse is generated with a time delay at that time, and distance measurement can be performed.

[0087] For example, if the data in table T2 is obtained by the adjustment process, the threshold th e An error decision number of 3 can be used as the threshold value. However, the threshold value may be different. Note that the time delay values ​​included in the table of FIG. 11 are only examples and are not intended to limit the time delay values ​​at which a pulse is generated.

[0088] When measuring the number of error judgments using different recharge currents, the minimum time delay td that can be set in the pulse generator PG is min The error count may be started from the minimum time delay td maxThe error count may be started from td min and td max In other words, there is no limitation on the time delay at the start of the adjustment process.

[0089] The control circuit 40 detects the number of error determinations as a threshold value th e For example, if it is desired to use the shortest possible time delay to reduce dead time, the number of error determinations may be counted using the shorter time delay and the number of error determinations may be set to a threshold value th e Even after a short time delay, the number of error judgments is smaller than the threshold th e If the number of delays is smaller than the threshold value, the distance measurement can be performed using a shorter time delay. If it is desired to use the longest possible time delay to reduce power consumption, the number of error determinations can be counted using a longer time delay and the number of error determinations can be set to a threshold value th e Even after changing the time delay, the number of error judgments can be compared with the threshold th e If there are fewer, then a longer time delay can be used to perform the ranging.

[0090] Next, an example of a load circuit that can be used in the light receiving device, distance measuring device, and light receiving circuit according to the present disclosure will be described.

[0091] 3 and 5 show examples of light receiving circuits in which a transistor TR0 is used as the load element 90 that controls the recharge current. However, in order to control the recharge current with higher precision, a load circuit including multiple elements may be used instead of the load element 90. Below, an example of a load circuit in which the resistance value or recharge current can be controlled will be described.

[0092] The circuit diagram of FIG. 12 shows an example of a load circuit with adjustable resistance. FIG. 12 shows a load circuit 90A connected to a light receiving circuit. The load circuit 90A is connected to the cathode of the photodiode PD and the signal line Lin via a switch SW1. For example, the transistor TR0 in the circuit diagrams of FIG. 3 and FIG. 5 can be replaced with the load circuit 90A. The switch SW1 is a switch for switching between enabling and disabling passive charging. If the passive charging is not disabled in the light receiving circuit, the switch SW1 may be omitted and the load circuit 90A may be directly connected to the cathode of the photodiode PD and the signal line Lin.

[0093] The load circuit 90A includes a plurality of resistor-switch pairs connected in series. The resistor R1 is connected in series with the switch s1 of the pair. The resistor R2 is connected in series with the switch s2 of the pair. The resistor R3 is connected in series with the switch s3 of the pair. Similarly, the resistor R4 is connected in series with the switch s4 of the pair. The load circuit 90A of FIG. 12 includes four resistor-switch pairs. However, the number of resistor-switch pairs in the load circuit may be different. For example, a load circuit may be used in which the number of resistor-switch pairs is any integer number equal to or greater than two. The resistor-switch pairs are connected in parallel with each other. A power supply potential Vdd is applied to the end point of each pair opposite the photodiode PD.

[0094] The switches s1 to s4 in the load circuit 90A are switched by a circuit that controls the SPAD array 240. For example, the switches s1 to s4 are turned on / off by at least one of the control circuit 40, the control circuit 220, the SPAD controller 221, and the external processing circuit 300. The switches s1 to s4 are implemented, for example, by MOS transistors. However, there is no restriction on the method of implementing the switches s1 to s4.

[0095] In the load circuit 90A, the resistance value can be adjusted according to the number of switches that are turned on. When the number of switches that are turned on is increased, the number of resistors connected in parallel increases, and the resistance value of the load circuit 90A decreases. For example, assume that the resistance values ​​of the resistors R1 to R4 are equal. In this case, when two switches are turned on, the resistance value of the load circuit 90A becomes 1 / 2 compared to when one switch is turned on. Similarly, when three switches are turned on, the resistance value of the load circuit 90A becomes 1 / 3 compared to when one switch is turned on. Furthermore, when four switches are turned on, the resistance value of the load circuit 90A becomes 1 / 4 compared to when one switch is turned on.

[0096] The resistance values ​​of the resistors in the load circuit do not necessarily have to be equal, and therefore the load circuit may include resistors with different resistance values.

[0097] When using the same power supply potential Vdd, increasing the resistance value of the load circuit 90A reduces the recharge current. Also, decreasing the resistance value of the load circuit 90A can increase the recharge current. In this manner, in the light receiving device, light receiving circuit, and distance measuring device according to the present disclosure, the recharge current may be adjusted by changing the number of switches turned on in the load circuit 90A. Using the load circuit 90A makes it possible to adjust the recharge current with high precision.

[0098] As shown in the example of FIG. 12, the light receiving circuit according to the present disclosure may include a light receiving element, a plurality of resistors connected in parallel between a reference potential and the light receiving element, a plurality of switches each connected in series with the resistor, and a readout circuit configured to generate a pulse when the light receiving element reacts with a photon. The light receiving circuit according to the present disclosure may be configured such that a current supplied to the light receiving element is adjusted in response to switching of the switch. The above-mentioned power supply potential Vdd is an example of a reference potential. The above-mentioned photodiode PD is an example of a light receiving element. The readout circuit corresponds to, for example, a portion of the circuit shown in FIG. 3 and FIG. 5 excluding the transistor TR0, the switch SW1, and the photodiode PD.

[0099] The circuit diagram of FIG. 13 shows an example of a load circuit whose current value is adjustable. FIG. 13 shows a load circuit 90B connected to a light receiving circuit. The load circuit 90B is connected to the cathode of the photodiode PD and the signal line Lin via a switch SW1. For example, the transistor TR0 in the circuit diagrams of FIG. 3 and FIG. 5 can be replaced with the load circuit 90B. The switch SW1 is a switch for switching between enabling and disabling passive charging. If the passive charging is not disabled in the light receiving circuit, the switch SW1 may be omitted and the load circuit 90B may be directly connected to the cathode of the photodiode PD and the signal line Lin. In the following, the load circuit 90B will be described assuming that the switch SW1 is on.

[0100] The load circuit 90B includes a current source CS, a transistor tr0, a transistor tr1, a transistor tr3, a transistor tr4, and a switch se2, a switch se3, and a switch se4. A current source transistor can be used as the current source CS. A MOS transistor can be used as the current source transistor. However, there is no restriction on the method of implementing the current source CS. The current source CS may be a constant current source. The transistors tr0 to tr4 are PMOS transistors. The switches se2 to se4 are switches that can switch an electrical connection between a contact c0 and a contact c1.

[0101] The sources of the transistors tr0 to tr4 are all connected to the power supply potential Vdd. The drains of the transistors tr2 to tr4 are connected to the photodiode PD and the signal line Lin via the switch SW1. The transistors tr0 and tr1 form a current mirror circuit that mirrors the current ics between the power supply potential Vdd and the current source CS. For this reason, the gate and drain of the transistor tr0 are shorted. The gate of the transistor tr0 is also connected to the gate of the transistor tr1 via the signal line Lc.

[0102] A switch se2 is connected to the gate of the transistor tr2. A switch se3 is connected to the gate of the transistor tr3. A switch se4 is connected to the gate of the transistor tr4. The contacts c0 of the switches se2 to se4 are all connected to the power supply potential Vdd. The contacts c1 of the switches se2 to se4 are all connected to the signal line Lc.

[0103] The switches se2 to se4 in the load circuit 90B can be switched by a circuit that controls the SPAD array 240. For example, the switches se2 to se4 are switched by at least one of the control circuit 40, the control circuit 220, the SPAD controller 221, and the external processing circuit 300.

[0104] The load circuit 90B in FIG. 13 includes three pairs of transistors and switches connected to the gates of the transistors. However, the number of transistor-switch pairs may be different. For example, the load circuit may include any number of transistor-switch pairs, from one onwards. When a transistor-switch pair is added to the circuit in FIG. 13, the wiring of the additional transistor and switch follows the wiring method of the existing transistor and switch. When a switch is added, the contact c0 is connected to the power supply potential Vdd, and the contact c1 is connected to the signal line Lc. When a transistor is added, the gate is connected to the switch, the source is connected to the power supply potential Vdd, and the drain is connected to the drain of another transistor.

[0105] In the load circuit 90B, the current value can be adjusted according to the number of switches that have the contact c1 side turned on. For example, when the number of switches that have the contact c1 side turned on is 0, the light receiving circuit is supplied with a recharge current equal to the current ics of the current source CS. When there is one switch that has the contact c1 side turned on, the light receiving circuit is supplied with a recharge current that is twice the current of the current source CS (2×ics). When there are two switches that have the contact c1 side turned on, the light receiving circuit is supplied with a recharge current that is three times the current of the current source CS (3×ics). When there are three switches that have the contact c2 side turned on, the light receiving circuit is supplied with a recharge current that is four times the current of the current source CS (4×ics). In this way, in the light receiving device, light receiving circuit, and distance measuring device according to the present disclosure, the recharge current may be adjusted by changing the number of switches that have the contact c1 side turned on in the load circuit 90B. By using the load circuit 90B, it is possible to adjust the recharge current with high accuracy.

[0106] When photon detection is performed using a circuit in which the polarity of the above-mentioned light receiving circuit is inverted, the polarity of the load circuit 90B may be inverted. The polarity of the load circuit 90B can be inverted by replacing the PMOS transistor in FIG. 13 with an NMOS transistor.

[0107] As shown in the example of FIG. 13, the light receiving circuit according to the present disclosure may include a light receiving element, a current source, a switch, a current mirror circuit, and a transistor. The switch can turn on either a first contact side connected to a reference potential or a second contact side connected to the light receiving element. The current mirror circuit is configured to supply a second current, which is a mirror of a first current flowing between the reference potential and the current source, from its output side. The transistor has a first signal electrode connected to a reference potential, a second signal electrode connected to the light receiving element and the output side of the current mirror circuit, and a control electrode connected to the switch.

[0108] Here, the first contact corresponds to, for example, the contact c0 of the above-mentioned switches se2 to se4. The second contact corresponds to, for example, the contact c1 of the above-mentioned switches se2 to se4. The current mirror circuit is, for example, a current mirror circuit formed by the above-mentioned transistors tr0 and tr1. The output side of the current mirror circuit corresponds to, for example, the drain of the transistor tr1. The first signal electrode is, for example, the source of a MOS transistor. The second signal electrode is, for example, the drain of a MOS transistor. However, the correspondence relationship between the first signal electrode, the second signal electrode, and the electrode of the MOS transistor may be inverted. The control electrode is, for example, the gate of a MOS transistor.

[0109] 13, the light receiving circuit according to the present disclosure may include a plurality of switches and transistors. The light receiving circuit according to the present disclosure may be configured to supply a third current, which is N times the first current (N is a positive integer), to the light receiving element in response to switching of the switch. The light receiving circuit according to the present disclosure may further include a readout circuit configured to generate a pulse upon reaction of the light receiving element with a photon.

[0110] When controlling the recharge method of the SPAD, the power supply potential Vdd used in the light receiving circuit may be changed. By changing the power supply potential Vdd, the recharge current during passive charging can be adjusted. If a common power supply potential is supplied to the pixels in the SPAD array, the recharge current settings of all the pixels in the SPAD array can be changed in a short time. However, a light receiving device and a distance measuring device may be used that are configured such that a common power supply potential is not supplied to the pixels in the SPAD array. For example, a power supply potential may be supplied to the pixels in the SPAD array using multiple power supply circuits.

[0111] In the light receiving device and distance measuring device according to the present disclosure, a power supply circuit capable of adjusting the value of the power supply potential Vdd may be used in combination with the above-mentioned load circuit 90A or 90B. By using a combination of multiple components, it becomes possible to set a wide range of recharge current values ​​in the light receiving circuit.

[0112] By optimizing the settings of the load circuit and the power supply circuit, it is possible to minimize the dead time in the light receiving device or the distance measuring device. An example of a process for determining the settings of the load circuit and the power supply circuit will be described below.

[0113] An example of a process for determining the settings of a load circuit is shown in the flowchart of Fig. 14. The process will be described below with reference to the flowchart of Fig. 14.

[0114] First, the SPAD array 240 is started (step S201). Then, the measurement circuit 30 counts errors in a plurality of light receiving circuits in the SPAD array 240 (step S202). The error determination and detection in step S202 is performed, for example, by the above-mentioned error detector 21 or the measurement circuit 30. When the error detector 21 detects an error, the downstream measurement circuit 30 can obtain information on the number of error determinations in the SPAD array 240 from an error signal. Here, the measurement circuit 30 may count the number of error determinations for each error code that specifies the type of error.

[0115] For example, information including at least one of the number of error judgments in the SPAD array 240 or the number of error judgments for each error code is referred to as error information. The error information obtained by the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220). When a distance measuring device having a light-emitting element is used, the emission of the light-emitting element can be stopped during the execution of step S202. This makes it possible to eliminate the influence of the light-emitting element.

[0116] The control circuit 40 determines whether the error count is within a reference range (step S203). For example, the control circuit 40 may determine whether the number of determined errors in the SPAD array 240 is less than a threshold value. The control circuit 40 may also compare the number of determined errors for each error code with a threshold value to determine whether the error count is within a reference range. For example, the control circuit 40 can estimate whether the recharge current is too low or too high based on the number of determined errors and the error code in step S203.

[0117] Depending on the result of the determination in step S203, the process to be executed branches. If the control circuit 40 determines that the error count is within the reference range (YES in step S203), the adjustment process is completed (step S205). After step S205, the distance measuring device may irradiate the object OBJ with light from the light emitting element and start the distance measuring process.

[0118] If the control circuit 40 determines that the error count is outside the reference range (NO in step S203), the control circuit 40 changes at least one of the recharge current and the resistance value of the load circuit (step S204). Examples of cases in which the determination in step S203 is negative include a case in which the number of error determinations is greater than a threshold value, and a case in which the number of error determinations for a specific error code is greater than a threshold value. As described above, the SPAD controller 221 may change the settings of each light receiving circuit in the SPAD array 240. In this case, the control circuit 40 may notify the SPAD controller 221 of the address of the pixel (light receiving circuit) whose setting is to be changed, and the setting content.

[0119] For example, when it is determined that the magnitude of the recharge current is insufficient, the control circuit 40 can change the recharge current in the light receiving circuit to a larger value. In this case, the control circuit 40 may change the resistance value in the load circuit to a smaller value. For example, the load circuit 90A in FIG. 12 or the load circuit 90B in FIG. 13 can be used as the load circuit. Also, when the phenomenon shown in the graph 62 in FIG. 4 is detected in the light receiving circuit in the SPAD array 240 and it is determined that the recharge current is too large, the control circuit 40 can change the recharge current in the light receiving circuit to a smaller value. In this case, the control circuit 40 may change the resistance value in the load circuit to a larger value.

[0120] When the process of step S204 is completed, the processes of steps S202 and S203 are executed again. That is, errors in the multiple light receiving circuits are counted again, and it is determined whether the error count is within the reference range. When the error count falls within the reference range (YES in step S203), the calibration process is completed (step S205). After step S205, the distance measuring device may irradiate light from the light emitting element to the object OBJ and start the distance measuring process.

[0121] The execution timing of the process of Fig. 14 described above is not limited to the time of calibration of the device. Therefore, the process of Fig. 14 may be executed at a time other than the time of calibration of the device. For example, the resistance value of the load circuit 90A of Fig. 12 may be adjusted after the device starts operating.

[0122] An example of a process for determining the settings of a power supply circuit is shown in the flowchart of Fig. 15. The process will be described below with reference to the flowchart of Fig. 15.

[0123] First, the SPAD array 240 is started (step S211). Then, the measurement circuit 30 counts errors in a plurality of light receiving circuits in the SPAD array 240 (step S212). The error determination and detection in step S212 is performed, for example, by the above-mentioned error detector 21 or the measurement circuit 30. When the error detector 21 detects an error, the downstream measurement circuit 30 can obtain error information in the SPAD array 240 by an error signal.

[0124] The error information obtained by the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220). If a distance measuring device having a light emitting element is used, the light emission of the light emitting element can be stopped in step S202. This makes it possible to eliminate the influence of the light emitting element.

[0125] The control circuit 40 judges whether or not the error count is within a reference range (step S213). As long as the judgment is based on the error information, the detailed judgment method in step S213 is not important.

[0126] Depending on the result of the determination in step S213, the process to be executed branches. If the control circuit 40 determines that the error count is within the reference range (YES in step S213), the adjustment process is completed (step S215). After step S215, the distance measuring device may irradiate the object OBJ with light from the light emitting element and start the distance measuring process.

[0127] If the control circuit 40 determines that the error count is outside the reference range (NO in step S213), the control circuit 40 controls the power supply circuit to change the power supply voltage of the SPAD array 240 (step S214). Examples of cases in which the determination in step S213 is negative include a case in which the number of error determinations is greater than a threshold value, and a case in which the number of error determinations for a specific error code is greater than a threshold value. The SPAD controller 221 or the external processing circuit 300 may change the settings of the power supply circuit instead of the control circuit 40. Furthermore, if multiple power supply circuits are connected to the SPAD array 240, the settings of at least one of the power supply circuits may be changed in step S214.

[0128] For example, when it is determined that the magnitude of the recharge current is insufficient, the control circuit 40 can control the power supply circuit to change the power supply potential Vdd used in the SPAD array 240 to a higher value. This can increase the recharge current in each light receiving circuit. Also, when the phenomenon shown in graph 62 of FIG. 4 is detected in the light receiving circuit in the SPAD array 240 and it is determined that the recharge current is excessive, the control circuit 40 can control the power supply circuit to change the power supply potential Vdd used in the SPAD array 240 to a lower value. This can reduce the recharge current in the light receiving circuit in the SPAD array 240.

[0129] When the process of step S204 is completed, the processes of steps S202 and S203 are executed again. That is, errors in the multiple light receiving circuits are counted again, and it is determined whether the error count is within the reference range. When the error count falls within the reference range (YES in step S203), the adjustment process is completed (step S205). After step S205, the distance measuring device may irradiate light from the light emitting element to the object OBJ and start the distance measuring process.

[0130] The execution timing of the process in Fig. 15 described above is not limited to the time of calibration of the device. Therefore, the process in Fig. 15 may be executed at a time other than the time of calibration of the device. For example, the value of the power supply potential Vdd supplied by the power supply circuit may be adjusted after the device starts operating.

[0131] Table T3 in Fig. 16 shows the number of error detections when multiple values ​​of power supply potential Vdd are used in the SPAD array 240. For example, the measurement circuit 30 or the control circuit 40 measures the number of error detections using different power supply potentials Vdd to generate table T3. Referring to Fig. 16, the number of error detections decreases when a higher power supply potential Vdd is set. For example, the control circuit 40 sets a threshold th e In this case, the control circuit 40 may adjust the power supply potential Vdd based on the power supply potential Vdd 1 The number of errors e when using d1 The threshold value th e Compare with e d1 >th e If so, the control circuit 40 sets the power supply potential to Vdd 2 (Vdd 1 ≠ Vdd 2 The control circuit 40 changes the Vdd 1 Higher Vdd 2 Or Vdd 1 Lower Vdd 2 Then, if the control circuit 40 determines that the number of error determinations is less than the threshold value, the power supply potential at that time can be used to perform distance measurement.

[0132] For example, if the data in table T3 is obtained by the adjustment process, the threshold value th e The error judgment number 3 can be used as the error judgment number. However, the threshold value may be different from this. Note that the power supply potential values ​​included in the table of FIG. 16 are merely examples and are not intended to limit the value of the power supply potential used in the light receiving circuit.

[0133] When measuring the number of error detections using multiple power supply potentials, the highest power supply potential Vdd that can be used by the light receiving circuit is max The measurement of the number of error judgments may be started from the lowest power supply potential Vdd that can be used by the light receiving circuit. min The error count may be started from Vdd max and Vdd min In other words, there is no limitation on the power supply potential at the start of the adjustment process.

[0134] The control circuit 40 detects the number of error determinations as a threshold value th e For example, if it is desired to use the largest possible recharge current in order to reduce the dead time, the number of error determinations may be counted using a higher power supply potential, and the number of error determinations may be set to a threshold value th e Even after the power supply potential is changed, the number of error judgments can be compared with the threshold value th e If the number of power supply voltages is smaller than the threshold value th, the distance measurement can be performed using a higher power supply voltage. If it is desired to use the lowest possible power supply voltage in order to reduce power consumption, the number of error determinations is counted using the lower power supply voltage, and the number of error determinations is compared with the threshold value th e Even after the power supply potential is changed, the number of error judgments can be compared with the threshold value th e If it is less, then a lower power supply potential can be used to perform the distance measurement.

[0135] A light receiving device according to the present disclosure may include a light receiving circuit including a light receiving element, a power supply circuit configured to supply a power supply potential to the light receiving circuit, and a control circuit configured to control the power supply potential supplied by the power supply circuit based on a signal output by the light receiving circuit in reaction with photons.

[0136] As described above, the light receiving device according to the present disclosure may further include a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element. In this case, the control circuit may be configured to change parameters including at least one of the recharge current of the load circuit and the resistance value of the load circuit based on a signal output by the light receiving circuit in response to photons.

[0137] The light receiving device according to the present disclosure may include a plurality of light receiving circuits, in which case the control circuit may be configured to change at least one of the power supply potential of the power supply circuit or a parameter of a load circuit connected to at least one of the light receiving circuits based on signals output from the plurality of light receiving circuits.

[0138] The light receiving device according to the present disclosure may further include an error detector configured to determine an error based on the waveform of the signal output by the light receiving circuit. The error detector may be the above-mentioned error detector 21 or the measurement circuit 30. In this case, the control circuit may be configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the light receiving circuits based on the number of error determinations in the signal output from the multiple light receiving circuits.

[0139] In the light receiving device according to the present disclosure, at least one of the light receiving circuits may be configured to perform passive recharging, and in this case, the control circuit is configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value.

[0140] Furthermore, in the light receiving device according to the present disclosure, at least one of the light receiving circuits may be configured to perform active recharging, and in this case, the control circuit is configured to adjust a time delay at which a pulse is generated for active recharging in the light receiving circuit based on the number of error determinations.

[0141] The error detector may be configured to determine an error in at least one of a signal whose pulse width exceeds a second threshold value or a signal whose pulse interval is less than a third threshold value. In the light receiving device according to the present disclosure, an avalanche photodiode may be used as the light receiving element.

[0142] Next, an example of a light receiving device having a function of correcting an output signal from a light receiving circuit when the output signal is determined to be erroneous will be described.

[0143] The block diagram of FIG. 17 shows an example of a distance measuring device according to the second modification. In the light receiving device 102 of FIG. 17, an error correction circuit 22 is connected between the sampler 20 and each input terminal of the measurement circuit 30. The error correction circuit 22 is configured to correct a voltage signal determined to be in an error state among the voltage signals output from the sampler 20. The error correction circuit 22 corresponds to the error detector 21 to which a function of converting a voltage signal determined to be in an error state into a voltage signal without an error state is added. The error correction circuit 22 is arranged in a circuit block 241 together with the sampler 20, for example. Except that the error detector 21 is replaced with the error correction circuit 22, the configuration and function of the light receiving device 102 are similar to those of the light receiving device 101 described above.

[0144] The configuration of the light receiving device shown in FIG. 17 is only an example. For example, the error correction circuit 22 may be connected between the light receiving circuit 11 and the sampler 20. Also, a circuit in which the functions of the sampler 20 and the error correction circuit 22 are integrated may be connected between each light receiving circuit 11 and the input terminal of the measurement circuit 30. Also, instead of preparing an error correction circuit 22 for each signal line l_rd, multiple signal lines l_rd may be connected to a common error correction circuit. In this case, one error correction circuit needs to perform error judgment and signal correction for multiple signal lines l_rd, but it is possible to reduce the required circuit area. Note that the function of converting a voltage signal judged to be an error into a voltage signal without an error state may be implemented in the input stage of the measurement circuit 30. In this case, the measurement circuit 30 can correct the voltage signal output from the light receiving circuit 11 based on the error signal received from the error detector 21. That is, it is also possible to adopt a configuration in which the measurement circuit 30 includes the error correction circuit 22.

[0145] The configuration of the light receiving circuit 11 is not limited. For example, the light receiving circuits shown in the above-mentioned Figs. 3 and 5 can be used as the light receiving circuit 11. The light receiving circuit 11 may be a recharge circuit or an active recharge circuit. Furthermore, multiple light receiving circuits 11 may contain circuits with different configurations.

[0146] The graphs of Figures 18 and 19 show examples of the correction process for the voltage waveform in the light receiving device 102 of Figure 17. In both graphs, the horizontal axis indicates time.

[0147] Graph 73 in FIG. 18 shows the waveforms of the input voltage Vai of the error correction circuit 22, the output voltage Vao of the error correction circuit 22, and the error signal Ves. In graph 73, passive recharging is performed in the light receiving circuit 11, but the time required for recharging is too long. For this reason, in graph 73, the pulse width output from the light receiving circuit 11 is too large. For example, the error correction circuit 22 detects the rising edge of a pulse in the voltage signal output from the light receiving circuit 11. Then, the error correction circuit 22 monitors the pulse width. The error correction circuit 22 outputs the input signal as is until an error determination is performed. When the pulse width exceeds a threshold value t_h, the error correction circuit 22 performs an error determination. When the error correction circuit 22 performs an error determination during the detection of a pulse, it masks the part of the pulse that exceeds the threshold value t_h.

[0148] In the example of graph 73, the error correction circuit 22 outputs a HIGH voltage during the period t_h from the rising edge of the pulse. The error correction circuit 22 outputs a LOW voltage during the period t_m1 corresponding to the period after the pulse width exceeds t_h. In this way, even if the light receiving circuit 11 outputs a pulse with a pulse width exceeding the threshold value t_h, the error correction circuit 22 can correct the pulse width to a pulse equal to the threshold value t_h. In the example of graph 73, the voltage of the error signal Ves is HIGH during the period t_m1 when the pulse is masked. This makes it possible to notify the downstream measurement circuit 30 that an error determination has been made. The error correction circuit 22 may notify the measurement circuit 30 of an error code.

[0149] The error correction circuit 22 samples the input voltage Vai at a period t_s, and can perform error determination when the sampled voltage is at a HIGH level n_h times in succession. Here, the values ​​of t_s and n_h can be set so that the relationship t_h=t_s×n_h is satisfied. For example, it is possible to set t_s=1 nanosecond, n_h=10, and t_h=10 nanoseconds. However, error determination can also be performed by a method different from this.

[0150] Graph 74 in FIG. 19 shows waveforms of the input voltage Vai, the output voltage Vao, and the error signal Ves of the error correction circuit 22. In the example of graph 74, active recharging is performed in the light receiving circuit 11. In the example of graph 74, the output voltage of the light receiving circuit 11 (i.e., the input voltage Vai of the error correction circuit 22) is hunting due to the phenomenon illustrated in graph 64 or graph 67. The error correction circuit 22 outputs the input signal as it is until an error determination is performed. For example, the error correction circuit 22 performs an error determination when the input voltage Vai is LOW for a period shorter than the threshold value t_l after the falling edge of the pulse in the input voltage Vai. After performing the error determination, the error correction circuit 22 may output a HIGH error signal Ves. In addition, the error correction circuit 22 may notify the measurement circuit 30 of an error code. The error correction circuit 22 masks the pulse for a predetermined period t_m2 after the error determination.

[0151] In the example of graph 74, the error correction circuit 22 outputs a LOW level voltage during a period t_m2 after the error determination. This period t_m2 is called a masking period. After the error determination, when the masking period t_m2 has elapsed, the error correction circuit 22 again outputs the input signal as is. For example, in graph 74, after the masking period t_m2 has elapsed, the error correction circuit 22 again outputs a pulse. For example, the masking period t_m2 can be set to a value greater than the threshold value t_l.

[0152] Also, the error correction circuit 22 may adjust the masking period t_m2 according to the state of the error determination in the input voltage Vai. For example, in the input voltage Vai of the graph 74, after the arrival of the first pulse, three pulses arrive at intervals shorter than the threshold value t_l. Therefore, the error correction circuit 22 makes three consecutive error determinations at the timing indicated by the white arrow. However, the error correction circuit 22 can release the error state when no error determination is made for a period t_r after the last error determination. When the error state is released, the error correction circuit 22 outputs the input pulse again as it is. As in the example of the graph 74, the error correction circuit 22 may set the error signal Ves to LOW when the error state is released. Note that, instead of continuously outputting the HIGH error signal Ves during the period t_m2, the error correction circuit 22 may output a discontinuous HIGH error signal Ves every time an error determination is made.

[0153] For example, the error correction circuit 22 can sample the signal voltage at a period t_s, and determine an error if the number of times the sampled voltage has been continuously LOW is less than n_l times. The values ​​of t_s and n_l can be set so that the relationship t_l=t_s×n_l is satisfied. However, the error correction circuit 22 may perform the error determination using a method other than this.

[0154] Here, the error determination and error correction have been described when the light receiving circuit 11 outputs a HIGH level (positive polarity) pulse when detecting a photon. However, the error correction circuit 22 can also perform error determination when the light receiving circuit 11 outputs a LOW level (negative polarity) pulse. In that case, the error correction circuit 22 can perform operations by replacing HIGH with LOW, LOW with HIGH, the falling edge of the pulse with the rising edge of the pulse, and the rising edge of the pulse with the falling edge of the pulse, respectively, in the above description.

[0155] Even when a light receiving device 102 equipped with an error correction circuit 22 is used, it is possible to carry out the adjustment process of the light receiving circuit, the pulse generator, or the power supply circuit using the above-mentioned flowchart or table.

[0156] In this manner, the light receiving device according to the present disclosure may further include an error correction circuit configured to make an error judgment based on the waveform of the signal output by the light receiving circuit and correct the waveform of the signal judged to be an error. For example, the above-mentioned error correction circuit 22 or the measurement circuit 30 can be used as the error correction circuit. In this case, the error correction circuit may be configured to judge an error in at least one of a signal whose pulse width exceeds the second threshold value or a signal whose pulse interval is less than the third threshold value. When the light receiving device includes the error correction circuit, the control circuit may be configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the light receiving circuits based on the number of error judgments in the signals output from the multiple light receiving circuits.

[0157] The block diagram of FIG. 20 shows an example of a distance measuring device according to the third modification. FIG. 20 shows a light receiving device 202 and an external processing circuit 300. The light receiving device 202 corresponds to the light receiving device 200 (FIG. 1) with the control circuit 220 and the power supply circuit 256 omitted. The processing circuit 230 of the light receiving device 202 is connected to the external processing circuit 300 via the transfer circuit 211 and the terminal S_OUT. In addition, the SPAD controller 221 of the light receiving device 202 is connected to the external processing circuit 300 via the terminal S_IN and the communication circuit 210. As shown in FIG. 20, an external power supply circuit 257 may be used as a circuit for supplying a power supply potential Vdd to the SPAD array 240. The power supply circuit 257 is connected to the SPAD array 240 in the distance measuring device 204 via the terminal PWR. In addition, the power supply circuit 257 is connected to the external processing circuit 300 via a control signal line. The external processing circuit 300 changes the value of the power supply potential Vdd by sending a control signal to the power supply circuit 257 .

[0158] The external processing circuit 300 is, for example, a hardware circuit such as an ASIC or an FPGA. However, the external processing circuit 300 may be a computer equipped with a CPU (Central Processing Unit) and a storage. In this case, the external processing circuit 300 provides various functions by executing a program stored in the storage on the CPU.

[0159] The external processing circuit 300 executes a function corresponding to the control circuit 220 in Fig. 1 (the control circuit 40 in Figs. 8 and 17). That is, an external processing circuit 300 separate from the light receiving device 202 may set the light receiving circuit 11 and the power supply circuit. Note that communication between the external processing circuit 300 and the light receiving device 202 may be performed by wire or wirelessly.

[0160] The block diagram of FIG. 21 shows an example of a light receiving device according to the fourth modification. The light receiving device according to the present disclosure may be a distance measuring device equipped with a light emitting element and a distance calculation unit, as in the devices shown in FIG. 1 and FIG. 20. However, the light receiving device according to the present disclosure does not necessarily have to be equipped with a distance measuring function. For example, a device in which the distance calculation unit 233 and the trigger circuit 254 are omitted may be used, as in the light receiving device 201 of FIG. 21. The light receiving device 201 can detect photons using the SPAD array 240 and generate a histogram. The light receiving device 201 may be connected to another device, and functions equivalent to the distance calculation unit, the trigger circuit, and the light emitting element may be added. In addition, the light receiving device 201 can be used as a device that determines the settings and power supply potential of the SPAD array 240. In this case, the other distance measuring device can perform distance measurement based on the settings and power supply potential of the SPAD array 240 determined by the light receiving device 201.

[0161] Other examples of light receiving circuits that can be used as pixels in SPAD array 240 are described below.

[0162] The circuit diagram of FIG. 22 shows an example of a circuit according to the fifth modification. The light receiving circuit 12 in FIG. 22 corresponds to a circuit in which the transistor TR2 and the switch SW3 of the light receiving circuit 10 are omitted. That is, in the light receiving circuit 12, the part of the light receiving circuit 10 that latches the state of the transistor TR1 is omitted. In the light receiving circuit 12, when SW1 is set to ON and SW2 is set to OFF, passive recharging is performed. In addition, in the light receiving circuit 12, when SW1 is set to OFF and SW2 is set to ON, active recharging is performed. In addition, in the light receiving circuit 12, when both SW1 and SW2 are set to ON, both passive recharging and active recharging are performed. Note that the operation of the light receiving circuit 12 is the same as that of the light receiving circuit 10 described above, except that the operation of latching the state of the transistor TR1 is eliminated.

[0163] The circuit diagram in Fig. 23 shows an example of a circuit according to Modification 6. The light receiving circuit 14 in Fig. 23 corresponds to a circuit in which the load element 90 (transistor TR0) of the light receiving circuit 10 is omitted. In other words, the light receiving circuit 14 is a circuit dedicated to active recharging. The operation of the light receiving circuit 14 is the same as that in the light receiving circuit 10 when the switch SW1 is set to OFF, the switch SW2 is set to ON, and the switch SW3 is set to ON (switch setting st1 in table 70).

[0164] The distance measuring device according to the present disclosure may include a light emitting element, a plurality of light receiving circuits, a power supply circuit configured to supply a power supply potential to the plurality of light receiving circuits, and a control circuit configured to control the power supply potential based on a signal output by the plurality of light receiving circuits in reaction with a photon during a period in which the light emitting element is not emitting light. The distance measuring device according to the present disclosure may further include a plurality of load circuits connected to each of the light receiving circuits and supplying a recharge current to the light receiving element in the light receiving circuit. In this case, the control circuit may be configured to control at least one of the resistance value or the recharge current of the plurality of load circuits based on the signal.

[0165] Furthermore, the control circuit of the distance measuring device according to the present disclosure may be configured to adjust the time delay in generating a pulse for active recharge in at least one of the light receiving circuits based on the signal.

[0166] By using the light receiving device, the distance measuring device, and the light receiving circuit according to the present disclosure, it is possible to start distance measurement after setting to minimize the dead time. This makes it possible to perform photon detection or distance measurement with high accuracy. In the light receiving device, the distance measuring device, and the light receiving circuit according to the present disclosure, the recharge current may be adjusted by selecting at least one of a plurality of methods. For example, the power supply potential supplied by the power supply circuit to the plurality of light receiving circuits may be adjusted according to the number of error determinations in the plurality of light receiving circuits. When a common power supply potential is supplied within the SPAD array, the recharge current of the entire SPAD array can be changed in a short time.

[0167] The SPAD array may also include pixels in which a load circuit with adjustable resistance or adjustable current is connected to the light receiving circuit. This allows the recharge current to be adjusted with higher precision for each individual pixel. For example, it is easy to adjust the recharge current for each region in the SPAD array. This makes it possible to obtain a high-quality distance image. The light receiving device, light receiving circuit, and distance measuring device according to the present disclosure can reduce power consumption while improving distance measuring performance.

[0168] The technology according to the present disclosure (the present technology) can be applied to various products. For example, the technology according to the present disclosure may be realized as a device mounted on any type of moving body such as an automobile, an electric vehicle, a hybrid electric vehicle, a motorcycle, a bicycle, a personal mobility device, an airplane, a drone, a ship, a robot, etc.

[0169] FIG. 24 is a block diagram showing a schematic configuration example of a vehicle control system, which is an example of a moving object control system to which the technology according to the present disclosure can be applied.

[0170] The vehicle control system 12000 includes a plurality of electronic control units connected via a communication network 12001. In the example shown in Fig. 24, the vehicle control system 12000 includes a drive system control unit 12010, a body system control unit 12020, an outside-vehicle information detection unit 12030, an inside-vehicle information detection unit 12040, and an integrated control unit 12050. Also, as functional configurations of the integrated control unit 12050, a microcomputer 12051, an audio / video output unit 12052, and an in-vehicle network I / F (interface) 12053 are illustrated.

[0171] The drivetrain control unit 12010 controls the operation of devices related to the drivetrain of the vehicle in accordance with various programs. For example, the drivetrain control unit 12010 functions as a control device for a drive force generating device for generating a drive force of the vehicle, such as an internal combustion engine or a drive motor, a drive force transmission mechanism for transmitting the drive force to the wheels, a steering mechanism for adjusting the steering angle of the vehicle, and a braking device for generating a braking force of the vehicle.

[0172] The body system control unit 12020 controls the operation of various devices mounted on the vehicle body according to various programs. For example, the body system control unit 12020 functions as a control device for a keyless entry system, a smart key system, a power window device, or various lamps such as head lamps, back lamps, brake lamps, turn signals, and fog lamps. In this case, radio waves or signals of various switches transmitted from a portable device that replaces a key may be input to the body system control unit 12020. The body system control unit 12020 receives the input of these radio waves or signals and controls the door lock device, power window device, lamps, and the like of the vehicle.

[0173] The outside-vehicle information detection unit 12030 detects information outside the vehicle equipped with the vehicle control system 12000. For example, an imaging unit 12031 is connected to the outside-vehicle information detection unit 12030. The outside-vehicle information detection unit 12030 causes the imaging unit 12031 to capture an image outside the vehicle and receives the captured image. The outside-vehicle information detection unit 12030 may perform object detection processing or distance detection processing for a person, a car, an obstacle, a sign, or characters on a road surface, based on the received image.

[0174] The imaging unit 12031 is an optical sensor that receives light and outputs an electrical signal according to the amount of light received. The imaging unit 12031 can output the electrical signal as an image, or as distance measurement information. The light received by the imaging unit 12031 may be visible light or invisible light such as infrared light.

[0175] The in-vehicle information detection unit 12040 detects information inside the vehicle. For example, a driver state detection unit 12041 that detects the state of the driver is connected to the in-vehicle information detection unit 12040. The driver state detection unit 12041 includes, for example, a camera that captures an image of the driver, and the in-vehicle information detection unit 12040 may calculate the degree of fatigue or concentration of the driver based on the detection information input from the driver state detection unit 12041, or may determine whether the driver is dozing.

[0176] The microcomputer 12051 can calculate control target values ​​for the driving force generating device, the steering mechanism, or the braking device based on the information inside and outside the vehicle acquired by the outside-of-vehicle information detection unit 12030 or the inside-vehicle information detection unit 12040, and output a control command to the drive system control unit 12010. For example, the microcomputer 12051 can perform cooperative control aimed at realizing the functions of an ADAS (Advanced Driver Assistance System), including vehicle collision avoidance or impact mitigation, following driving based on the inter-vehicle distance, vehicle speed maintenance driving, vehicle collision warning, vehicle lane departure warning, etc.

[0177] In addition, the microcomputer 12051 can perform cooperative control for the purpose of autonomous driving, which allows the vehicle to travel autonomously without relying on the driver's operation, by controlling the driving force generating device, steering mechanism, braking device, etc. based on information about the surroundings of the vehicle acquired by the outside vehicle information detection unit 12030 or the inside vehicle information detection unit 12040.

[0178] Furthermore, the microcomputer 12051 can output a control command to the body system control unit 12020 based on the information outside the vehicle acquired by the outside-vehicle information detection unit 12030. For example, the microcomputer 12051 can control the headlamps according to the position of a preceding vehicle or an oncoming vehicle detected by the outside-vehicle information detection unit 12030, and perform cooperative control for the purpose of preventing glare, such as switching from high beams to low beams.

[0179] The audio / video output unit 12052 transmits at least one output signal of audio and video to an output device capable of visually or audibly notifying the passengers of the vehicle or the outside of the vehicle of information. In the example of Fig. 24, an audio speaker 12061, a display unit 12062, and an instrument panel 12063 are exemplified as the output device. The display unit 12062 may include at least one of an on-board display and a head-up display, for example.

[0180] FIG. 25 is a diagram showing an example of the installation position of the imaging unit 12031.

[0181] In FIG. 25, a vehicle 12100 has imaging units 12101, 12102, 12103, 12104, and 12105 as an imaging unit 12031.

[0182] The imaging units 12101, 12102, 12103, 12104, and 12105 are provided at positions such as the front nose, side mirrors, rear bumper, back door, and the upper part of the windshield inside the vehicle cabin of the vehicle 12100. The imaging unit 12101 provided at the front nose and the imaging unit 12105 provided at the upper part of the windshield inside the vehicle cabin mainly acquire images of the front of the vehicle 12100. The imaging units 12102 and 12103 provided at the side mirrors mainly acquire images of the sides of the vehicle 12100. The imaging unit 12104 provided at the rear bumper or back door mainly acquires images of the rear of the vehicle 12100. The images of the front acquired by the imaging units 12101 and 12105 are mainly used to detect a preceding vehicle, a pedestrian, an obstacle, a traffic light, a traffic sign, a lane, or the like.

[0183] 25 shows an example of the imaging ranges of the imaging units 12101 to 12104. Imaging range 12111 indicates the imaging range of the imaging unit 12101 provided on the front nose, imaging ranges 12112 and 12113 indicate the imaging ranges of the imaging units 12102 and 12103 provided on the side mirrors, respectively, and imaging range 12114 indicates the imaging range of the imaging unit 12104 provided on the rear bumper or back door. For example, an overhead image of the vehicle 12100 viewed from above is obtained by superimposing the image data captured by the imaging units 12101 to 12104.

[0184] At least one of the imaging units 12101 to 12104 may have a function of acquiring distance information. For example, at least one of the imaging units 12101 to 12104 may be a stereo camera made up of a plurality of imaging elements, or may be an imaging element having pixels for detecting a phase difference.

[0185] For example, the microcomputer 12051 can extract, as a preceding vehicle, a three-dimensional object that is the closest three-dimensional object on the travel path of the vehicle 12100 and travels at a predetermined speed (for example, 0 km / h or more) in approximately the same direction as the vehicle 12100, by calculating the distance to each three-dimensional object in the imaging ranges 12111 to 12114 and the change over time of this distance (relative speed with respect to the vehicle 12100) based on the distance information obtained from the imaging units 12101 to 12104. Furthermore, the microcomputer 12051 can set a vehicle distance to be secured in advance in front of the preceding vehicle, and perform automatic brake control (including follow-up stop control) and automatic acceleration control (including follow-up start control). In this way, cooperative control can be performed for the purpose of automatic driving that travels autonomously without relying on the driver's operation.

[0186] For example, the microcomputer 12051 classifies and extracts three-dimensional object data on three-dimensional objects, such as two-wheeled vehicles, ordinary vehicles, large vehicles, pedestrians, utility poles, and other three-dimensional objects, based on distance information obtained from the imaging units 12101 to 12104, and can use the data for automatic obstacle avoidance. For example, the microcomputer 12051 distinguishes obstacles around the vehicle 12100 into obstacles that are visible to the driver of the vehicle 12100 and obstacles that are difficult to see. Then, the microcomputer 12051 determines a collision risk indicating the risk of collision with each obstacle, and when the collision risk is equal to or exceeds an operating parameter and there is a possibility of collision, the microcomputer 12051 can provide driving assistance for collision avoidance by outputting an alarm to the driver via the audio speaker 12061 or the display unit 12062, or by performing forced deceleration or avoidance steering via the drive system control unit 12010.

[0187] At least one of the imaging units 12101 to 12104 may be an infrared camera that detects infrared rays. For example, the microcomputer 12051 can recognize a pedestrian by determining whether or not a pedestrian is present in the captured images of the imaging units 12101 to 12104. The recognition of such a pedestrian is performed, for example, by a procedure of extracting feature points in the captured images of the imaging units 12101 to 12104 as infrared cameras, and a procedure of performing pattern matching processing on a series of feature points that indicate the contour of an object to determine whether or not the object is a pedestrian. When the microcomputer 12051 determines that a pedestrian is present in the captured images of the imaging units 12101 to 12104 and recognizes the pedestrian, the audio / image output unit 12052 controls the display unit 12062 to superimpose a rectangular contour line for emphasis on the recognized pedestrian. The audio / image output unit 12052 may also control the display unit 12062 to display an icon or the like indicating a pedestrian at a desired position.

[0188] An example of a vehicle control system to which the technology according to the present disclosure can be applied has been described above. The technology according to the present disclosure can be applied to the imaging unit 12031. For example, the light receiving device 200 of FIG. 1 and the light emitting element 255 of FIG. 2 can be implemented in the imaging unit 12031. In addition, at least one of the light receiving devices 200 to 202 may be implemented in the imaging unit 12031. By applying the technology according to the present disclosure to the imaging unit 12031, distance measurement can be performed with higher accuracy. This makes it possible to improve the safety of the vehicle 12100.

[0189] The present technology can be configured as follows. (1) a light receiving circuit including a light receiving element; a power supply circuit configured to supply a power supply potential to the light receiving circuit; a control circuit configured to control the power supply potential supplied by the power supply circuit based on a signal output by the light receiving circuit in response to a photon; A light receiving device comprising: (2) a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element; The control circuit is configured to change a parameter including at least one of the recharge current of the load circuit or a resistance value of the load circuit based on the signal. A light receiving device as described in (1). (3) A plurality of the light receiving circuits are provided, the control circuit is configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuits connected to at least one of the light receiving circuits, based on the signals output from the plurality of light receiving circuits. A light receiving device as described in (2). (4) An error detector configured to determine an error based on a waveform of the signal output by the light receiving circuit, the control circuit is configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the light receiving circuits based on the number of error determinations in the signals output from the plurality of light receiving circuits. A light receiving device as described in (3). (5) At least one of the light receiving circuits is configured to perform passive recharging; The control circuit is configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value. The light receiving device described in (4). (6) At least one of the light receiving circuits is configured to perform active recharging; The control circuit is configured to adjust a time delay at which a pulse is generated for the active recharge in the light receiving circuit based on the number of error determinations. A light receiving device according to (4) or (5). (7) The error detector is configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value or the signal having an interval between pulses less than a third threshold value. A light receiving device according to any one of (4) to (6). (8) The optical signal processing circuit further includes an error correction circuit configured to perform an error determination based on the waveform of the signal output by the optical receiving circuit and to correct the waveform of the signal determined to be in error. A light receiving device according to any one of (3) to (7). (9) The error correction circuit is configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value and the signal having an interval between pulses less than a third threshold value. The light receiving device according to (8). (10) the control circuit is configured to change at least one of the power supply potential of the power supply circuit or the parameters of the load circuit connected to at least one of the light receiving circuits based on the number of error determinations in the signals output from the plurality of light receiving circuits. The light receiving device according to (8). (11) At least one of the light receiving circuits is configured to perform passive recharging; The control circuit is configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value. The light receiving device according to (10). (12) At least one of the light receiving circuits is configured to perform active recharging; The control circuit is configured to adjust a time delay at which a pulse is generated for the active recharge in the light receiving circuit based on the number of error determinations. A light receiving device according to (10) or (11). (13) The light receiving element is an avalanche photodiode. A light receiving device according to any one of (1) to (12). (14) A light-emitting element; A plurality of light receiving circuits including light receiving elements; a power supply circuit configured to supply a power supply potential to the plurality of light receiving circuits; a control circuit configured to control the power supply potential based on signals output from the light receiving circuits in response to photons during a period in which the light emitting element is not emitting light, Ranging device. (15) a plurality of load circuits connected to the light receiving circuits and supplying a recharge current to the light receiving elements; The control circuit is configured to control at least one of the resistance values ​​of the plurality of load circuits or the recharge current based on the signal. A distance measuring device as described in (14). (16) The control circuit is configured to adjust a time delay at which a pulse for active recharge is generated in at least one of the light receiving circuits based on the signal. A distance measuring device according to (14) or (15). (17) A light receiving element; A current source; a switch capable of turning on either a first contact connected to a reference potential or a second contact connected to the light receiving element; a current mirror circuit configured to supply, from an output side, a second current obtained by mirroring a first current flowing between the reference potential and the current source; a transistor having a first signal electrode connected to the reference potential, a second signal electrode connected to the light receiving element and the output side of the current mirror circuit, and a control electrode connected to the switch; A light receiving circuit comprising: (18) a plurality of the switches and the transistors; A third current, which is N times (N is a positive integer) the first current, is supplied to the light receiving element in response to switching of the switch. The light receiving circuit according to (17). (19) and a readout circuit configured to generate a pulse upon reaction of the light receiving element with a photon. A light receiving circuit according to (17) or (18). (20) A light receiving element; a plurality of resistors connected in parallel between a reference potential and the light receiving element; a plurality of switches, each switch being connected in series with the resistor; and a readout circuit configured to generate a pulse upon reaction of the light receiving element with a photon; A current supplied to the light receiving element is adjusted in response to switching of the switch. Photoreceiver circuit.

[0190] The aspects of the present disclosure are not limited to the above-mentioned individual embodiments, but include various modifications that may be conceived by a person skilled in the art, and the effects of the present disclosure are not limited to the above-mentioned contents. In other words, various additions, modifications, and partial deletions are possible within the scope of the conceptual idea and intent of the present disclosure derived from the contents defined in the claims and their equivalents. [Explanation of symbols]

[0191] OBJ object 1. Detection section 10, 12, 13, Photoreceiving circuit 11 Photoreceiver circuit 20 Sampler 21 Error Detector 22 Error correction circuit 30 Measurement circuit 40 Control circuit 50, 51, 52, 53, 54, 55, 56 pixels 75, 76 Light shielding section 80, 81 Opening surface 90 Load element 91, 91, 92 Active recharge circuit 100, 101, 102 Photodetector 200 Rangefinder 255 Light Emitting Element 256 Power supply circuit

Claims

1. A plurality of light receiving circuits including avalanche photodiodes as light receiving elements; a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element; a power supply circuit configured to supply a power supply potential to the light receiving circuit; a control circuit configured to control the power supply potential supplied by the power supply circuit based on a signal output from the light receiving circuit in response to a photon; an error detector configured to determine an error based on a waveform of the signal output by the light receiving circuit; Equipped with the control circuit is configured to change at least one of the power supply potential of the power supply circuit and a parameter including at least one of the recharge current of the load circuit connected to at least any of the light receiving circuits or a resistance value of the load circuit based on the number of error determinations in the signals output from the plurality of light receiving circuits. Light receiving device.

2. At least one of the light receiving circuits is configured to perform passive recharging; The control circuit is configured to adjust the recharge current of the light receiving circuit so that the number of error determinations is less than a first threshold value. The light receiving device according to claim 1 .

3. At least one of the light receiving circuits is configured to perform active recharging; The control circuit is configured to adjust a time delay at which a pulse is generated for the active recharge in the light receiving circuit based on the number of error determinations. The light receiving device according to claim 1 .

4. The error detector is configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value and the signal having an interval between pulses less than a third threshold value. The light receiving device according to claim 1 .

5. A plurality of light receiving circuits including avalanche photodiodes as light receiving elements; a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element; a power supply circuit configured to supply a power supply potential to the light receiving circuit; a control circuit configured to control the power supply potential supplied by the power supply circuit based on a signal output from the light receiving circuit in response to a photon; an error correction circuit configured to perform an error determination based on the waveform of the signal output by the light receiving circuit and to correct the waveform of the signal determined to be in error; Equipped with the control circuit is configured to change at least one of the power supply potential of the power supply circuit and a parameter including at least one of the recharge current of the load circuit connected to at least any of the light receiving circuits and a resistance value of the load circuit based on the number of error determinations in the signals output from the plurality of light receiving circuits. Light receiving device.

6. The error correction circuit is configured to determine, as an error, at least one of the signal having a pulse width exceeding a second threshold value and the signal having an interval between pulses less than a third threshold value. The light receiving device according to claim 5 .

7. At least one of the light receiving circuits is configured to perform passive recharging; The control circuit is configured to adjust a recharge current in the passive recharge of the light receiving circuit based on the number of error determinations. The light receiving device according to claim 5 .

8. At least one of the light receiving circuits is configured to perform active recharging; The control circuit is configured to adjust a time delay at which a pulse is generated for the active recharge in the light receiving circuit based on the number of error determinations. The light receiving device according to claim 5 .

9. A light-emitting element; A plurality of light receiving circuits including light receiving elements each being an avalanche photodiode; a power supply circuit configured to supply a power supply potential to the plurality of light receiving circuits; a control circuit configured to control the power supply potential based on signals output from the light receiving circuits in response to photons during a period when the light emitting element is not emitting light; The control circuit is configured to adjust a time delay at which a pulse for active recharge is generated in at least one of the light receiving circuits based on the signal. Ranging device.

10. a plurality of load circuits connected to the light receiving circuits and supplying a recharge current to the light receiving elements; The control circuit is configured to control at least one of the resistance values ​​of the plurality of load circuits or the recharge current based on the signal.

10. A distance measuring device according to claim 9.

Citation Information

Patent Citations

  • Optimal setting method for parameters of single-photon detector

    CN106382993A

  • Adjustable output current's LED drive power supply

    CN205566723U

  • Voltage-controlled oscillator, bias device for voltage-controlled oscillator, and bias adjusting program for voltage-controlled oscillator

    JP2008053784A

  • Light-emitting diode drive circuit

    JP2008218911A

  • Photon counting device

    JP2008542706A