WO2021140912A1 - 受光装置、測距装置および受光回路 - Google Patents

受光装置、測距装置および受光回路 Download PDF

Info

Publication number
WO2021140912A1
WO2021140912A1 PCT/JP2020/048115 JP2020048115W WO2021140912A1 WO 2021140912 A1 WO2021140912 A1 WO 2021140912A1 JP 2020048115 W JP2020048115 W JP 2020048115W WO 2021140912 A1 WO2021140912 A1 WO 2021140912A1
Authority
WO
WIPO (PCT)
Prior art keywords
light receiving
circuit
error
power supply
recharge
Prior art date
Application number
PCT/JP2020/048115
Other languages
English (en)
French (fr)
Inventor
久美子 馬原
治 小澤
朋広 松川
康大 篠塚
慶太郎 天川
Original Assignee
ソニーセミコンダクタソリューションズ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ソニーセミコンダクタソリューションズ株式会社 filed Critical ソニーセミコンダクタソリューションズ株式会社
Priority to DE112020006482.4T priority Critical patent/DE112020006482T5/de
Priority to CN202080090982.1A priority patent/CN114902068A/zh
Priority to JP2021569824A priority patent/JPWO2021140912A1/ja
Priority to US17/790,081 priority patent/US20230048083A1/en
Publication of WO2021140912A1 publication Critical patent/WO2021140912A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • G01S17/10Systems determining position data of a target for measuring distance only using transmission of interrupted, pulse-modulated waves
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/483Details of pulse systems
    • G01S7/486Receivers
    • G01S7/4861Circuits for detection, sampling, integration or read-out
    • G01S7/4863Detector arrays, e.g. charge-transfer gates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/483Details of pulse systems
    • G01S7/486Receivers
    • G01S7/4865Time delay measurement, e.g. time-of-flight measurement, time of arrival measurement or determining the exact position of a peak
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes
    • G01S17/931Lidar systems specially adapted for specific applications for anti-collision purposes of land vehicles

Definitions

  • the present disclosure relates to a light receiving device, a distance measuring device, and a light receiving circuit.
  • APD avalanche photodiode
  • the avalanche phenomenon can be stopped by lowering the voltage between the terminals to the yield voltage. Lowering the voltage between the terminals to stop the avalanche phenomenon is called quenching. Then, when the voltage between the terminals of the SPAD is recharged to a bias voltage equal to or higher than the yield voltage, photons can be detected again.
  • the present disclosure provides a light receiving device, a light receiving circuit, and a distance measuring device capable of minimizing the dead time.
  • the light receiving device is based on 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 signal output by the light receiving circuit in reaction with photons.
  • a light receiving device including a control circuit configured to control the power supply potential supplied by the power supply circuit.
  • a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element is further provided, and the control circuit is at least one of the recharge current of the load circuit or the resistance value of the load circuit based on the signal. It may be configured to change parameters including.
  • the control circuit includes the plurality of light receiving circuits, and the control circuit is the said load circuit of the load circuit connected to the power source potential of the power supply circuit or at least one of the light receiving circuits based on the signals output by the plurality of light receiving circuits. It may be configured to change at least one of the parameters.
  • the control circuit further includes an error detector configured to determine an error based on the waveform of the signal output by the light receiving circuit, and the control circuit is based on the number of error determinations in the signal output from the plurality of light receiving circuits.
  • the power supply potential of the power supply circuit or at least one of the parameters of the load circuit connected to at least one of the light receiving circuits may be changed.
  • At least one of the light receiving circuits is configured to perform passive recharge, and the control circuit adjusts the recharge current of the light receiving circuit so that the number of error determinations is less than the first threshold value. It may be configured as follows.
  • At least one of the light receiving circuits is configured to perform active recharge, and the control circuit delays the time in which a pulse is generated in the light receiving circuit for the active recharge based on the number of error determinations. It may be configured to adjust.
  • the error detector may be configured to make an error determination of at least one of the signals whose pulse width exceeds the second threshold value or the signals whose intervals between pulses are less than the third threshold value. ..
  • An error correction circuit configured to make an error determination based on the waveform of the signal output by the light receiving circuit and correct the waveform of the signal for which the error determination has been made may be further provided.
  • the error correction circuit may be configured to make an error determination of at least one of the signals whose pulse width exceeds the second threshold value or the signals whose intervals between pulses are less than the third threshold value. ..
  • the control circuit is among the parameters of the load circuit connected to the power supply potential of the power supply circuit or 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. , At least one of them may be modified.
  • At least one of the light receiving circuits is configured to perform passive recharge, and the control circuit adjusts the recharge current of the light receiving circuit so that the number of error determinations is less than the first threshold value. It may be configured as follows.
  • At least one of the light receiving circuits is configured to perform active recharge, and the control circuit delays the time in which a pulse is generated in the light receiving circuit for the active recharge based on the number of error determinations. It may be configured to adjust.
  • the light receiving element may be an avalanche photodiode.
  • the distance measuring device includes 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 the light emitting element emitting light. It may be provided with a control circuit configured to control the power supply potential based on the signals output by the plurality of light receiving circuits in response to the photon during the period during which the light receiving circuit is not used.
  • a plurality of load circuits connected to each of the light receiving circuits and supplying a recharge current to the light receiving element are further provided, and the control circuit is at least one of the resistance values of the plurality of load circuits or the recharge current based on the signal. It may be configured to control.
  • the control circuit may be configured to adjust the time delay in which a pulse for active recharge is generated in at least one of the light receiving circuits based on the signal.
  • the light receiving circuit can turn on the light receiving element, the current source, and either the first contact side connected to the reference potential or the second contact side connected to the light receiving element.
  • Switch a current mirror circuit configured to supply a second current that mirrors the first current flowing between the reference potential and the current source from the output side, and a first signal electrode to the reference potential. It may include a transistor that is connected, the second signal electrode is connected to the light receiving element and the output side of the current mirror circuit, and the control electrode is connected to the switch.
  • a plurality of the switch and the transistor are provided, and a third current obtained by multiplying the first current by N (N is a positive integer) is supplied to the light receiving element according to the switching of the switch. You may.
  • a readout circuit configured to generate a pulse when the light receiving element reacts with a photon may be further provided.
  • the light receiving circuit includes a light receiving element, a plurality of resistors connected in parallel between the reference potential and the light receiving element, and a plurality of switches each connected in series with the resistor. And a read-out circuit configured to generate a pulse when the light receiving element reacts with the photon, and the current supplied to the light receiving element is adjusted according to the change of the switch. You may.
  • the block diagram which showed the example of the light receiving device The figure which showed typically the example of distance measurement using a light receiving device.
  • the circuit diagram which showed the example of the light receiving circuit which performs passive recharge.
  • the graph which showed the example of the voltage waveform in the light receiving circuit of FIG.
  • the circuit diagram which showed the example of the light receiving circuit which performs active recharge.
  • the graph which showed the example of the voltage waveform in the light receiving circuit of FIG.
  • the flowchart which showed the example of the process in the light receiving device or the ranging device by this disclosure.
  • the circuit diagram which showed the example of the circuit by the modification 6. It is a block diagram which shows an example of the schematic structure of a vehicle control system. It is explanatory drawing which shows an example of the installation position of the vehicle exterior information detection unit and the image pickup unit.
  • the block diagram of FIG. 1 shows an example of a light receiving device.
  • FIG. 2 schematically shows an 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 and a processing circuit 230, a transfer circuit 211, a PLL 250, and a clock generator 251.
  • a current source 252, a temperature sensor 253, a trigger circuit 254, and a power supply circuit 256 are provided.
  • 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 the light emitting element 255 of FIG. 2 via the terminal T_OUT.
  • 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.
  • the SPAD array 240 is equipped with, for example, a plurality of SPADs and a light receiving circuit corresponding to each SPAD.
  • the SPAD array includes a plurality of single photon avalanche diodes (SPADs).
  • the light receiving circuit is configured to output a pulse to a subsequent circuit when the SPAD reacts with a photon. Further, the light receiving circuit includes a circuit for quenching the SPAD and a circuit for performing recharging.
  • the SPAD controller 221 controls the light receiving circuit.
  • the SPAD controller 221 controls, for example, a switch in the light receiving circuit, a current value, and a pulse generation timing.
  • the circuit block 241 includes, for example, a sampler connected to the subsequent stage of each light receiving circuit.
  • the sampler also called a buffer, digitizes the signal input from the light receiving circuit.
  • the circuit block 241 may include an error detector and an error correction circuit. Details of the error detector and the error correction circuit will be described later.
  • the trigger circuit 254 controls the light emission timing of the light emitting element 255.
  • the histogram generator 232 samples the voltage level of the output signal of each digitized light receiving circuit and generates a histogram.
  • the histogram generator 232 may generate a histogram by repeating the sampling operation a plurality of times. By performing the sampling operation a plurality of times, it is 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 operations such as averaging the measurement results over a plurality of times when generating the histogram.
  • the distance calculation unit 233 calculates the distance between the light receiving device 200 and the object based on the information regarding the irradiation time t0 of the light transferred from the trigger circuit 254 and the peak time t1 of the histogram.
  • the transfer circuit 211 may be used to transfer information, including the calculated distance, to an external circuit.
  • a device having a function of calculating the distance to an object, such as the light receiving device 200, is called a distance measuring device.
  • the power supply circuit 256 is a circuit that supplies the power supply potential Vdd to the light receiving circuit mounted as a pixel in the SPAD array 240.
  • the circuits described in the above circuit diagrams can be used. That is, the power supply circuit 256 is electrically connected to the signal line of the power supply potential Vdd in the circuit diagram described later. Further, the power supply circuit 256 is 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 transmitting a control signal to the power supply circuit 256.
  • the power supply circuit 256 may be controlled by a component other than the SPAD controller 221.
  • the control circuit 220 that determines the recharge method in the light receiving circuit may directly control the power supply circuit 256.
  • a component of a processing circuit 230 including a histogram generator 232 and a distance calculation unit 233 can be implemented by a hardware circuit such as FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit).
  • the function of the processing circuit 230 may be implemented by a CPU (central processing unit) and a program executed on the CPU.
  • the processing circuit 230 may include a program and a memory or storage for storing data necessary for executing the program.
  • the light receiving device 200 in FIG. 1 is only an example of the configuration of the light receiving device. Therefore, the configuration of the 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 the components of the light receiving device 200.
  • 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 may be omitted.
  • other components may be added, or other components may be omitted.
  • the circuit diagram of FIG. 3 shows an example of a light receiving circuit used for photon detection. Further, the graph of FIG. 4 shows an example of a voltage waveform in the light receiving circuit.
  • the light receiving circuit 13 of FIG. 3 includes a photodiode PD, a transistor TR0, and an inverter INV.
  • Transistor TR0 is a epitaxial transistor. For example, SPAD can be used as the photodiode PD.
  • the source of the transistor TR0 is connected to the 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 higher than the breakdown voltage is applied between the terminals of the photodiode PD.
  • the input side of the inverter INV is connected to the drain of the transistor TR0 and the cathode of the photodiode PD. Further, a subsequent circuit such as a buffer is connected to the output side of the inverter INV.
  • the transistor TR0 is an example of the load element 90 of the light receiving circuit 13.
  • the configuration of the load element may be different from this.
  • a resistor may be used as the load element, or a combination of a transistor and a resistor may be used.
  • a load circuit including a plurality of elements may be connected at the position of the load element.
  • the cathode potential Vca decreases according to the voltage drop in the load element 90.
  • the avalanche phenomenon stops and the current flowing between the terminals of the photodiode PD decreases.
  • the voltage between the terminals of the photodiode PD becomes a value equal to or higher than the breakdown voltage, and photons can be detected again (Vca in Graph 60).
  • the inverter INV outputs a HIGH (positive electrode) pulse during the period when the cathode potential Vca is equal to or less than the threshold value th (Vp in Graph 60). Since the light receiving circuit 13 outputs a pulse when a photon is detected, various processes such as photon counting, histogram generation, and flight time calculation can be performed in the subsequent circuit.
  • the circuit that performs the operation shown in Graph 60 is called a passive recharge circuit.
  • the light receiving circuit 13 described above is an example of a passive recharge circuit.
  • a circuit having a configuration different from that of the light receiving circuit 13 may be used.
  • a circuit having inverted polarities may be used.
  • a circuit in which other elements are added to the light receiving circuit 13 may be used. Power consumption can be reduced by using a passive recharge circuit.
  • the photodiode PD detects photons during the period from when the photodiode PD reacts with photons until the avalanche phenomenon is stopped (quenched) and the voltage between the terminals of the photodiode PD is recharged above the breakdown voltage. I can't do it. This period is called dead time. If the current supplied from the load element 90 is insufficient, the time up until the voltage Vca shown in the graph 60 rises becomes long, and the dead time becomes long. The current supplied from the load element or load circuit to reset the voltage level of the terminal of the light receiving element (for example, the photodiode PD) is called a recharge current.
  • a passive recharge circuit 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 processing such as distance measurement. For example, in the calibration process executed at the time of factory shipment of the distance measuring device, the first startup, or the initialization operation, the recharge current in the light receiving circuit (pixel) in the SPAD array 240 is determined, the dead time is minimized, and the distance measurement is performed. Performance can be improved.
  • the passive recharge circuit In the passive recharge circuit, if the recharge current is made too large, the voltage between the terminals of the photodiode PD will not drop to the breakdown voltage, and quenching will not be possible (Vca in Graph 61). At this time, since the output voltage of the inverter INV sticks, it becomes difficult to detect photons. Therefore, in order to improve the distance measurement performance, it is desirable to suppress the probability of deadlock of the output voltage without supplying an excessive recharge current to the light receiving element.
  • the circuit diagram of FIG. 5 shows an example of the 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 transistor TR0, the transistor TR1, and the transistor TR2 are all polyclonal transistors.
  • SPAD can be used as the photodiode PD.
  • the switch SW1, the switch SW2 and the switch SW3 are mounted by, for example, a MOS transistor.
  • the gate of each MOS transistor can be connected to the SPARC controller 221.
  • the SPARC controller 221 turns the switch on and off by controlling the voltage applied to the gates of the individual MOS transistors.
  • the gate of the transistor TR0 may be connected to the SPAD controller 221.
  • the SPAD controller 221 can control the voltage applied to the gate of the transistor TR0 and adjust the resistance value between the source and drain of the transistor TR0.
  • the control circuit 220 may perform the above-mentioned control instead of the SPAD controller 221.
  • 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 higher 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.
  • Both the source of the transistor TR1 and the source of the transistor TR2 are connected to the power supply potential Vdd.
  • a switch SW2 is connected between the drain of the transistor TR1 and the signal line Lin.
  • the switch SW3 is connected between the drain of the transistor TR2 and the signal line Lin.
  • the output terminal of the inverter INV is connected to the gate of the transistor TR2 and the input terminal of the pulse generator PG via the signal line Lout.
  • the output terminal of the pulse generator PG is connected to the gate of the transistor TR1.
  • the method of recharging the photodiode PD can be switched according to the switch setting.
  • the switch setting for active recharging is set.
  • the light receiving circuit 10 can be passively recharged.
  • the light receiving circuit 10 operates in the same manner as the light receiving circuit 13 (passive recharge circuit) of FIG.
  • the switch SW1 and the switch SW2 are turned on, the light receiving circuit 10 can be made to perform both active recharge and active recharge.
  • the switch SW3 may be ON or OFF.
  • the graph of FIG. 6 shows an example of a voltage waveform in the light receiving circuit 10.
  • Graph 63 of FIG. 6 corresponds to a voltage waveform when active recharging is performed by the light receiving circuit 10. Note that Vg in the graph 63 indicates the gate voltage of the transistor TR1. In each graph, the horizontal axis shows the time.
  • the inverter INV outputs a HIGH (positive electrode property) pulse during a period when the voltage of the signal line Lin is equal to or less than the threshold value th (Vp in Graph 64). Based on the pulse, the measurement circuit 30 in the subsequent stage 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 the HIGH signal is input, the pulse generator PG outputs a LOW (negative electrode) pulse with a time delay td. Therefore, the LOW voltage is applied to the gate of the transistor TR1 and the source / drain of the transistor TR1 is turned on. In Vg of the graph 64, the LOW pulse is output over the period tr. As a result, the cathode potential Vca is raised by the power supply potential Vdd, and photons can be detected again by the photodiode PD.
  • the transistor TR2 latches the state of the transistor TR1.
  • the transistor TR2 can suppress the generation of a through current and prevent the cathode potential Vca from becoming indefinite.
  • the voltage drop between the source and drain of the transistor TR0 contributes to the quenching of the photodiode PD. Similar to the light receiving circuit 13 in FIG. 3, the voltage between the terminals of the photodiode PD rises when the current flowing between the terminals of the photodiode PD decreases due to quenching.
  • the time delay td means the time difference from when the cathode potential Vca of the photodiode PD becomes equal to or less than the threshold value th to when the LOW pulse is output from the pulse generator PG.
  • 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 reset pulse is output from the pulse generator PG.
  • the cathode potential Vca is below the threshold value th, and the pulse generator PG generates a plurality of pulses in a short period of time. Therefore, hunting occurs at the cathode potential Vca, and photon detection using the light receiving circuit 10 becomes impossible. In order to improve the distance measurement performance, it is desirable to sufficiently secure the value of the time delay td in which the active recharge pulse is generated in the light receiving circuit and prevent voltage hunting.
  • the time delay td at which the active recharge pulse of the light receiving circuit is generated is set so that the dead time is minimized before starting the process such as distance measurement. ..
  • the time delay td at which the active recharge pulse is generated in the light receiving circuit (pixel) in the SPAD array 240 is determined. , Dead time can be minimized and distance measurement performance can be improved.
  • the portion of the light receiving circuit 10 including the transistor TR1, the transistor TR2, the switch SW2, the switch SW3, and the pulse generator PG corresponds to the active recharge circuit 91. Further, in the light receiving circuit 10, the portion including the transistor TR0 (load element 90) and the switch SW1 corresponds to the 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.
  • a circuit having a configuration different from that of the light receiving circuit 10 may be used.
  • 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.
  • the NMOS transistor replaces the NMOS transistor.
  • 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 by the anode potential.
  • the light receiving circuit 10 but also other circuits described in the present specification can adopt a configuration in which the polarity is inverted.
  • the circuit diagram of FIG. 7 shows an example of the configuration of the pulse generator.
  • the pulse generator PG of 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.
  • An inverter INV2 is connected between the Q terminal of the flip-flop F1 and the gate of the transistor TR1.
  • the pulse generator PG of FIG. 7 by controlling the clock signal supplied to the signal line dctr, the time delay td from when the voltage of the signal line Lout becomes HIGH level to when the voltage Vg is changed to LOW level is set. Can be changed. For example, by increasing the pulse interval in the clock signal, the time delay td can be increased. Further, by reducing the pulse interval in the clock signal, the time delay td can be reduced. By using the pulse generator PG of FIG. 7, it becomes easy to control the time delay by the clock signal supplied from the outside. For example, the SPAD controller 221 or the clock generator 251 can supply a clock signal to the signal line dctr.
  • the circuit of FIG. 7 is only an example of the pulse generator PG. Therefore, a pulse generator having a different configuration may be used.
  • a pulse generator may be mounted by an inverter chain.
  • a pulse generator may be mounted by combining a delay device and a logical operation element. That is, a pulse generator having any circuit configuration may be used as long as a pulse can be output to the gate of the transistor TR1 with a time delay after the level of the input voltage changes.
  • FIG. 8 schematically shows an example of a light receiving device according to the present disclosure.
  • the light receiving device 101 of FIG. 8 includes a plurality of light receiving circuits 11, a plurality of samplers 20, a plurality of error detectors 21, a measuring 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.
  • the plurality of light receiving circuits 11 correspond to, for example, the SPAD array 240 of the light receiving device 200 (FIG. 1).
  • the plurality of samplers 20 and the plurality of error detectors 21 are arranged, for example, in the 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.
  • Each light receiving circuit 11 is connected to the sampler 20 in the subsequent stage via the signal line l_rd.
  • the sampler also called a buffer, digitizes the signal input from the light receiving circuit.
  • An error detector 21 is connected to the output side of each sampler 20.
  • a measurement circuit 30 is connected to the subsequent stage of each error detector 21.
  • the measurement circuit 30 is connected to the control circuit 40.
  • the control circuit 40 is connected to each light receiving circuit 11 via a signal line l_ct. Although a plurality of signal lines l_ct are shown in FIG. 8, the number of control signal lines does not matter.
  • the control circuit 40 may control a plurality of light receiving circuits 11 with one signal line.
  • the configuration of the light receiving circuit 11 does not matter.
  • the light receiving circuit shown in FIGS. 3 and 5 described above can be used as the light receiving circuit 11.
  • the light receiving circuit 11 may be a recharge circuit or an active recharge circuit. Further, circuits having different configurations may be mixed in the plurality of light receiving circuits
  • the light receiving circuit 11 When SPAD reacts with photons, 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. Further, 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 included in the signals input from each sampler.
  • the error detector 21 may be connected between the light receiving circuit 11 and the sampler 20. Further, a circuit in which the function of the sampler 20 and the function of the error detector 21 are integrated may be connected between each light receiving circuit 11 and the input terminal of the measurement circuit 30. Further, the error detector 21 may not be prepared for each signal line l_rd, and a plurality of signal lines l_rd may be connected to a common error detector. In this case, one error detector needs to perform error determination of a plurality of signal lines l_rd, but the required circuit area can be reduced. Further, the function corresponding to the error detector 21 may be mounted 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.
  • the graph of 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 of FIG. 9 show 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 the time.
  • Graph 65 shows a case where the photodiode PD re-reacts with photons before the cathode potential Vca rises to a voltage higher than the threshold value of the inverter INV, and the pulse width output by the inverter INV becomes too large.
  • the error detector 21 detects the rising edge of the 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 the threshold value t_h.
  • the error detector 21 can sample the voltage of the signal in the period t_s, and if the sampled voltage continuously becomes HIGH n_h times, an error determination can be made.
  • an error determination may be made by a method different from this.
  • the error detector 21 detects the rising edge of the pulse in the voltage signal output from the light receiving circuit 11. Then, the error detector 21 measures the period during which the output voltage of the light receiving circuit 11 is HIGH. The error detector 21 determines an error when the period during which the output voltage of the light receiving circuit 11 is HIGH exceeds the threshold value t_h. In the example of the graph 66, the error determination can be made by the same method as in the case of the graph 65.
  • the error detector 21 makes an error determination when the period during which the output voltage of the light receiving circuit 11 is LOW is shorter than the threshold value t_l after the fall of the pulse in the voltage signal of the light receiving circuit 11.
  • the error detector 21 samples the voltage of the signal in the period t_s, and makes an error determination when the number of times the sampled voltage becomes LOW continuously is less than n_l times.
  • the error determination may be made by a method different from this.
  • the error detector 21 can also perform error determination when the light receiving circuit 11 outputs a LOW level (negative electrode) pulse. In that case, if the error detector 21 performs an operation in which HIGH is replaced with LOW, LOW is replaced with HIGH, the falling edge of the pulse is replaced with the rising edge of the pulse, and the rising edge of the pulse is replaced with the falling edge of the pulse in the above description. Good.
  • an error signal may be transmitted using a signal line separate from the signal line to which the pulse is transmitted when a photon is detected. Further, an error signal may be transmitted by superimposing it on a signal line to which a pulse is transmitted when a photon is detected.
  • 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, for example, information indicating (1) an undercharged current, (2) an overcharged current, (3) a time lag td that is too short, and (4) a time lag td that is too long.
  • the error signal may also include information that identifies the type of error waveform described above or information about the detected waveform.
  • the flowchart of FIG. 10 shows an example of processing in the light receiving device or the ranging device according to the present disclosure. Hereinafter, the process will be described with reference to the flowchart of FIG.
  • the SPAD array 240 is activated (step S101). Then, the measurement circuit 30 counts the errors in the plurality of light receiving circuits in the SPAD array 240 (step S102).
  • the error determination and detection in step S102 is performed by, for example, the error detector 21 or the measurement circuit 30 described above.
  • the measurement circuit 30 in the subsequent stage can obtain information on the number of error determinations in the SPAD array 240 from the error signal.
  • the measurement circuit 30 may count the number of error determinations for each error code.
  • error information information including at least one of the number of error judgments in the SPAD array 240 and the number of error judgments for each error code is referred to as error information.
  • the error information obtained in the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220).
  • the control circuit 40 control circuit 220.
  • the control circuit 40 determines whether or not the error count is within the reference range (step S103). For example, the control circuit 40 may determine whether or not the number of error determinations in the SPAD array 240 is less than the threshold value. Further, the control circuit 40 may compare the number of error determinations for each error code with the threshold value and determine whether or not the error count is within the reference range. This makes it possible to specify the content of the next adjustment.
  • the process to be executed branches according to the result of the determination in step S103.
  • 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).
  • the distance measuring device may irradiate the object OBJ with light from the light emitting element to start the distance measuring process.
  • Step S104 the control circuit 40 determines that the error count is out of the reference range.
  • the control circuit 40 is at least one of the recharge currents and / or the time delay at which the pulse generator PG generates the pulse.
  • Examples of cases where the determination in step S103 is negative include a case where the number of error determinations is larger than the threshold value or a case where the number of error determinations of a specific error code is larger than the threshold value.
  • the adjustment content in step S104 depends on the type of the light receiving circuit in the SPAD array 240. For example, when the light receiving circuit is a passive recharge circuit, the recharge current is adjusted.
  • the pulse generator PG adjusts the time delay td at which a pulse is generated.
  • the SPAD controller 221 can 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.
  • 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. Further, when 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.
  • the control circuit 40 can adjust the time delay td longer. If the pulse generator PG determines that the time delay td at which the pulse is generated is too long, the control circuit 40 can adjust the time delay td to be shorter.
  • step S104 When the process of step S104 is completed, the processes of step S102 and step S103 are executed again. That is, the errors in the plurality of light receiving circuits are counted again, and it is determined whether or not 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 the object OBJ with light from the light emitting element to start the distance measuring process.
  • the execution timing of the process of FIG. 10 described above is not limited to the time of calibration of the device. Therefore, the process of FIG. 10 may be executed at a timing other than the time of calibrating the device. For example, the process of FIG. 10 may be executed after the operation of the device is started.
  • Table T1 of FIG. 11 shows the number of error determinations when the recharge currents of the respective values are used in the light receiving circuit in the SPAD array 240.
  • the measurement circuit 30 or the control circuit 40 measures the number of error determinations using different recharge currents and generates the table T1. Referring to FIG. 11, the number of error determinations is small when the recharge current is suppressed.
  • the control circuit 40 may perform the adjustment of the recharge current based on a threshold th e error determination number. In this case, the control circuit 40, the error determination number e c1 when using recharge current i c1 is compared with a threshold th e.
  • the control circuit 40 changes the recharge current i c2 (i c1 ⁇ i c2 ).
  • the control circuit 40 may decide to use from either or i c1 smaller than i c2 using i c1 larger i c2 based on the information in the error code. Then, when the control circuit 40 determines that the number of error determinations is less than the threshold value, the distance measurement can be performed using the recharge current at that time.
  • the threshold th e may be different.
  • the current values included in the table of FIG. 11 are merely examples, and are not intended to limit the values of the recharge current used in the light receiving circuit.
  • the measurement of the number of error judgments may be started from the maximum value imax of the recharge current that can be set in the light receiving circuit, or can be set in the light receiving circuit. from the minimum value i min of recharge current may start determination number of measurement errors. Further, the measurement of the number of error determinations may be started from the recharge current of a value between i max and i min. That is, the recharge current at the start of the adjustment process is not limited.
  • the control circuit 40 may continue to adjust treatment after error determination number becomes less than the threshold value th e. For example, in order to shorten the dead time, when it is desired to use a large recharging current as possible, with a greater recharge current counts the number of determination errors, comparing the number of determined the error with a threshold value th e be able to. If the number of decision error even after the change of the recharge current is less than the threshold value th e, it is possible to perform distance measurement with greater recharge current. Further, since the power consumption suppression, if it is desired to use a small recharging current as possible, by counting the number of determination errors with a smaller recharge current, compares the number determined the error with a threshold value th e be able to. If the number of decision error even after the change of the recharge current is less than the threshold value th e, it is possible to perform distance measurement with a smaller recharge current.
  • Table T2 in FIG. 11 shows the number of error determinations when the recharge currents of the respective values are used in the light receiving circuit in the SPAD array 240.
  • the measurement circuit 30 or the control circuit 40 measures the number of error determinations using different time delay td and generates the table T2.
  • the control circuit 40 may perform the adjustment of the time delay td based on the threshold th e error determination number. In this case, the control circuit 40 compares the error determination number e d1 when using delay td 1 time threshold th e.
  • the control circuit 40 changes the time delay td 2 (td 1 ⁇ td 2 ).
  • the control circuit 40 can determine whether to use td 2 larger than td 1 or td 2 smaller than td 1 based on the information of the error code. Then, when the control circuit 40 determines that the number of error determinations is less than the threshold value, an active recharge pulse can be generated with a time delay at that time to perform distance measurement.
  • the threshold th e may be different.
  • the time delay values included in the table of FIG. 11 are merely examples, and are not intended to limit the time delay values at which pulses are generated.
  • the measurement of the number of error judgments may be started from the minimum value td min that can be set in the pulse generator PG, or the pulse generator PG.
  • the measurement of the number of error determinations may be started from the minimum value td max of the time delay that can be set to. Further, the measurement of the number of error determinations may be started from the time delay value of the value between td min and td max. That is, the time delay at the start of the adjustment process is not limited.
  • the control circuit 40 may continue to adjust treatment after error determination number becomes less than the threshold value th e. For example, in order to shorten the dead time, when it is desired to use a short time delay as possible, by counting the number of determination errors with a shorter time delay, compares the number determined the error with a threshold value th e be able to. If the number of decision error even after a short time delay change is less than the threshold th e, it is possible to perform distance measurement with a shorter time delay. Further, since the power consumption suppression, if it is desired to use a longer time delay as possible, by counting the number of determination errors with longer time delay, and compares the number determined the error with a threshold value th e be able to. If no error determination number is smaller than the threshold value th e after time delay changes, it is possible to perform distance measurement with a longer time delay.
  • FIG. 3 and 5 show an example of a light receiving circuit in which the transistor TR0 is used as the load element 90 for controlling the recharge current.
  • a load circuit including a plurality of elements may be used instead of the load element 90.
  • an example of a load circuit capable of controlling the resistance value or the recharge current will be described.
  • FIG. 12 shows an example of a load circuit whose resistance value can be adjusted.
  • FIG. 12 shows a load circuit 90A connected to the light receiving circuit.
  • the load circuit 90A is connected to the cathode of the photodiode PD and the signal line Lin via the switch SW1.
  • the transistor TR0 in the circuit diagrams of FIGS. 3 and 5 can be replaced with the load circuit 90A.
  • the switch SW1 is a switch for switching between enabling / disabling passive recharge. When the passive recharge 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.
  • the load circuit 90A has a plurality of pairs of resistors and switches connected in series.
  • the resistor R1 is connected in series with the paired switch s1.
  • the resistor R2 is connected in series with the paired switch s2.
  • the resistor R3 is connected in series with the paired switch s3.
  • the resistor R4 is connected in series with the paired switch s4.
  • the load circuit 90A of FIG. 12 includes four resistor / switch pairs.
  • the number of resistor / switch pairs of the load circuit may be different.
  • a load circuit can be used in which the number of resistor / switch pairs is any integer greater than or equal to 2.
  • the resistor and switch pairs are connected in parallel with each other.
  • the power supply potential Vdd is applied to the end points on the opposite side of the photodiode PD of each pair.
  • the switches s1 to s4 in the load circuit 90A are switched by the circuit that controls the SPAD array 240.
  • 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 mounted by, for example, a MOS transistor.
  • the mounting method of the switches s1 to s4 is not limited.
  • the load circuit 90A it is possible to adjust the resistance value according to the number of switches to be turned on.
  • the number of switches to be turned on is increased, the number of resistors connected in parallel increases, so that the resistance value of the load circuit 90A decreases.
  • the resistance values of the resistors R1 to R4 are equal.
  • the resistance value of the load circuit 90A is halved as compared with the case where one switch is turned on.
  • the resistance value of the load circuit 90A becomes 1/3 as compared with the case where one switch is turned on.
  • the resistance value of the load circuit 90A becomes 1/4 as compared with the case where one switch is turned on.
  • the resistance values of multiple resistors in the load circuit do not necessarily have to be equal. Therefore, the load circuit may include resistors having different resistance values.
  • the recharge current When using the same power supply potential Vdd, if the resistance value of the load circuit 90A is increased, the recharge current becomes smaller. Further, if the resistance value of the load circuit 90A is reduced, the recharge current can be increased. As described above, in the light receiving device, the light receiving circuit, and the distance measuring device according to the present disclosure, the recharge current may be adjusted by changing the number of switches to be turned on in the load circuit 90A. By using the load circuit 90A, it is possible to adjust the recharge current with high accuracy.
  • a light receiving element As shown in the example of FIG. 12, in the light receiving circuit according to the present disclosure, a light receiving element, a plurality of resistors connected in parallel between the reference potential and the light receiving element, and each of them are connected in series with the resistor. It may include a plurality of switches and a readout circuit configured to generate a pulse when the photon of the light receiving element reacts with the photon.
  • the light receiving circuit according to the present disclosure may be configured so that the current supplied to the light receiving element is adjusted according to the switching of the switch.
  • the power supply potential Vdd described above 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, the portion of the circuit shown in FIGS. 3 and 5 excluding the transistor TR0, the switch SW1, and the photodiode PD.
  • FIG. 13 shows an example of a load circuit in which the current value can be adjusted.
  • FIG. 13 shows a load circuit 90B connected to the light receiving circuit.
  • the load circuit 90B is connected to the cathode of the photodiode PD and the signal line Lin via the switch SW1.
  • the transistor TR0 in the circuit diagrams of FIGS. 3 and 5 can be replaced with the load circuit 90B.
  • the switch SW1 is a switch for switching between enabling / disabling passive recharge. When the passive recharge 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.
  • the load circuit 90B will be described on the assumption that the switch SW1 is on.
  • the load circuit 90B includes a current source CS, a transistor tr0, a transistor tr1, a transistor tr3, a transistor tr4, 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.
  • the current source CS may be a constant current source.
  • Transistors tr0 to tr4 are photoresist transistors.
  • the switches se2 to se4 are switches capable of switching the electrical connection destination between the contact c0 and the contact c1.
  • the sources of the transistors tr0 to tr4 are all connected to the power supply potential Vdd. Further, the drains of the transistors tr2 to tr4 are connected to the photodiode PD and the signal line Lin via the switch SW1.
  • the transistor tr0 and the transistor tr1 form a current mirror circuit that mirrors the current ics between the power supply potential Vdd and the current source CS. Therefore, the gate and drain of the transistor tr0 are short-circuited. Further, the gate of the transistor tr0 is connected to the gate of the transistor tr1 via the signal line Lc.
  • the switch se2 is connected to the gate of the transistor tr2. Further, a switch se3 is connected to the gate of the transistor tr3. Further, 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. Further, the contacts c1 of the switches se2 to se4 are all connected to the signal line Lc.
  • switches se2 to se4 in the load circuit 90B can be switched by the circuit that controls the SPAD array 240.
  • the switches se2 to se4 are switched by at least one of the control circuit 40, the control circuit 220, the SPAD controller 221 or the external processing circuit 300.
  • the load circuit 90B of FIG. 13 includes a transistor and three pairs of switches connected to the gate of the transistor.
  • the number of transistor / switch pairs may be different.
  • the load circuit may include any number of transistor / switch pairs of one or more.
  • the additional transistor / switch wiring follows the existing transistor / switch wiring method.
  • the contact c0 is connected to the power potential Vdd and the contact c1 is connected to the signal line Lc.
  • the gate is connected to the switch, the source is connected to the power potential Vdd, and the drain is connected to the drain of another transistor.
  • the current value can be adjusted according to the number of switches with the contact c1 side turned on. For example, when the number of switches with the contact c1 side turned on is 0, a recharge current equal to the current ics of the current source CS is supplied to the light receiving circuit. When there is one switch with 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 with the contact c1 side turned on, the light receiving circuit is supplied with a recharge current that is three times (3 ⁇ ics) the current of the current source CS.
  • the light receiving circuit is supplied with a recharge current four times (4 ⁇ ics) the current of the current source CS.
  • the recharge current may be adjusted by changing the number of switches that turn on the contact c1 side in the load circuit 90B. By using the load circuit 90B, it is possible to adjust the recharge current with high accuracy.
  • the polarity of the load circuit 90B may be inverted.
  • the polarity of the load circuit 90B can be reversed.
  • the light receiving circuit may include a light receiving element, a current source, a switch, a current mirror circuit, and a transistor.
  • the switch can be turned on either on the first contact side connected to the reference potential or on the second contact side connected to the light receiving element.
  • the current mirror circuit is configured to supply a second current that mirrors the first current flowing between the reference potential and the current source from the output side.
  • the first signal electrode is connected to the reference potential
  • the second signal electrode is connected to the light receiving element and the output side of the current mirror circuit
  • the control electrode is connected to the switch.
  • the first contact corresponds to, for example, the contact c0 in the above-mentioned switches se2 to se4.
  • the second contact corresponds to, for example, the contact c1 in the switches se2 to se4 described above.
  • the current mirror circuit is, for example, a current mirror circuit formed by the above-mentioned transistor tr0 and transistor 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 the MOS transistor.
  • the second signal electrode is, for example, the drain of a MOS transistor. However, the correspondence 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.
  • 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 the light receiving element with a third current obtained by multiplying the first current by N (N is a positive integer) according to the switching of the switch.
  • the light receiving circuit according to the present disclosure may further include a readout circuit configured to generate a pulse when the light receiving element reacts with a photon.
  • the power potential Vdd used in the light receiving circuit may be changed when controlling the SPAD recharge method. By changing the power supply potential Vdd, the recharge current at the time of passive recharge can be adjusted.
  • the recharge current setting of all the pixels in the SPAD array can be changed in a short time.
  • a light receiving device and a distance measuring device having a configuration in which a common power supply potential is not supplied to the pixels in the SPAD array may be used.
  • a plurality of power supply circuits may be used to supply power supply potentials to pixels in the SPAD array.
  • a power supply circuit capable of adjusting the value of the power supply potential Vdd and the above-mentioned load circuit 90A or 90B may be used in combination. By using a combination of multiple components, it is possible to set a wide range of recharge current values in the light receiving circuit.
  • the flowchart of FIG. 14 shows an example of processing for determining the setting of the load circuit. Hereinafter, the process will be described with reference to the flowchart of FIG.
  • the SPAD array 240 is activated (step S201). Then, the measurement circuit 30 counts the errors in the plurality of light receiving circuits in the SPAD array 240 (step S202).
  • the error determination and detection in step S202 is performed by, for example, the error detector 21 or the measurement circuit 30 described above.
  • the measurement circuit 30 in the subsequent stage can obtain information on the number of error determinations in the SPAD array 240 from the error signal.
  • the measurement circuit 30 may count the number of error determinations for each error code that specifies the type of error.
  • error information 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 in the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220).
  • the control circuit 40 control circuit 220.
  • the control circuit 40 determines whether or not the error count is within the reference range (step S203). For example, the control circuit 40 may determine whether or not the number of error determinations in the SPAD array 240 is less than the threshold value. Further, the control circuit 40 may compare the number of error determinations for each error code with the threshold value and determine whether or not the error count is within the reference range. For example, the control circuit 40 can estimate whether the recharge current is too small or too large based on the number of error determinations and the error code in step S203.
  • step S203 The process to be executed branches according to the result of the determination in step S203.
  • 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).
  • the distance measuring device may irradiate the object OBJ with light from the light emitting element to start the distance measuring process.
  • the control circuit 40 determines that the error count is out of the reference range (NO in step S203)
  • the control circuit 40 changes at least either the recharge current or the resistance value of the load circuit (step S204).
  • An example of a case where the determination in step S203 is negative includes a case where the number of error determinations is larger than the threshold value and a case where the number of error determinations of a specific error code is larger than the threshold value.
  • the SPAD controller 221 may change the settings of the respective light receiving circuits 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.
  • the control circuit 40 can change the recharge current in the light receiving circuit to a larger extent. In this case, the control circuit 40 may change the resistance value in the load circuit to a smaller value.
  • the load circuit for example, the load circuit 90A of FIG. 12 or the load circuit 90B of FIG. 13 can be used.
  • the control circuit 40 changes the recharge current in the light receiving circuit to a smaller value. be able to. In this case, the control circuit 40 may change the resistance value in the load circuit more significantly.
  • step S204 When the process of step S204 is completed, the processes of step S202 and step S203 are executed again. That is, the errors in the plurality of light receiving circuits are counted again, and it is determined whether or not 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 the object OBJ with light from the light emitting element to start the distance measuring process.
  • 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 timing other than the time of calibrating the device. For example, the resistance value in the load circuit 90A of FIG. 12 may be adjusted after the operation of the device is started.
  • the flowchart of FIG. 15 shows an example of a process for determining the setting of the power supply circuit. Hereinafter, the process will be described with reference to the flowchart of FIG.
  • the SPAD array 240 is started (step S211). Then, the measurement circuit 30 counts the errors in the plurality of light receiving circuits in the SPAD array 240 (step S212).
  • the error determination and detection in step S212 is executed by, for example, the error detector 21 or the measurement circuit 30 described above.
  • the measurement circuit 30 in the subsequent stage can obtain the error information in the SPAD array 240 by the error signal.
  • the error information obtained in the measurement circuit 30 is transferred to the control circuit 40 (control circuit 220).
  • the control circuit 40 control circuit 220.
  • the light emission of the light emitting element can be stopped in step S202. Thereby, the influence of the light emitting element can be eliminated.
  • the control circuit 40 determines whether or not the error count is within the reference range (step S213). As long as the determination is made based on the error information, the detailed determination method in step S213 does not matter.
  • step S213 The process to be executed branches according to the result of the determination in step S213.
  • 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).
  • the ranging device may irradiate the object OBJ with light from the light emitting element to start the ranging process.
  • the control circuit 40 determines that the error count is out of the reference range (NO in step S213), the control circuit 40 controls the power supply circuit and changes the power supply voltage of the SPAD array 240 (step S214). Examples of cases where the determination in step S213 is negative include a case where the number of error determinations is larger than the threshold value and a case where the number of error determinations of a specific error code is larger than the threshold value.
  • the SPAD controller 221 or the external processing circuit 300 may change the setting of the power supply circuit. Further, when a plurality of power supply circuits are connected to the SPAD array 240, at least one of the power supply circuits may be changed in step S214.
  • the control circuit 40 can control the power supply circuit and change the power supply potential Vdd used in the SPAD array 240 to a higher value. As a result, the recharge current in each light receiving circuit can be increased. Further, when the phenomenon shown in the 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 controls the power supply circuit and the SPAD array 240 The power supply potential Vdd used in can be changed to a lower value. As a result, the recharge current in the light receiving circuit in the SPAD array 240 can be reduced.
  • step S204 When the process of step S204 is completed, the processes of step S202 and step S203 are executed again. That is, the errors in the plurality of light receiving circuits are counted again, and it is determined whether or not 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 the object OBJ with light from the light emitting element to start the distance measuring process.
  • the execution timing of the process of FIG. 15 described above is not limited to the time of calibration of the device. Therefore, the process of FIG. 15 may be executed at a timing other than the time of calibrating the device. For example, the value of the power supply potential Vdd supplied by the power supply circuit may be adjusted after the operation of the device is started.
  • Table T3 of FIG. 16 shows the number of error determinations when the power supply potentials Vdd of a plurality of values are used in the SPAD array 240.
  • the measurement circuit 30 or the control circuit 40 measures the number of error determinations using different power supply potentials Vdd and generates the table T3.
  • the number of error determinations is reduced when a higher power supply potential Vdd is set.
  • the control circuit 40 may perform the adjustment of the power supply potential Vdd, based on a threshold value th e error determination number. In this case, the control circuit 40 compares the error determination number e d1 when using the power potential Vdd 1 and the threshold th e.
  • the control circuit 40 changes the power supply potential to Vdd 2 (Vdd 1 ⁇ Vdd 2 ).
  • the control circuit 40 may determine whether either or to use a lower Vdd 2 than Vdd 1 using a higher Vdd 2 than Vdd 1 based on the information in the error code. Then, when the control circuit 40 determines that the number of error determinations is less than the threshold value, the distance measurement can be performed using the power supply potential at that time.
  • the threshold th e For example, if the data table T3 is obtained by adjustment process, it is possible to use error determination number 3 as the threshold th e. However, the threshold may be different.
  • the value of the power supply potential included in the table of FIG. 16 is only an example, and is not intended to limit the value of the power supply potential used in the light receiving circuit.
  • the measurement of the number of error judgments may be started from the highest power supply potential Vdd max that can be used in the light receiving circuit, or can be used in the light receiving circuit.
  • the measurement of the number of error determinations may be started from the lowest power supply potential Vdd min. Further, the measurement of the number of error determinations may be started from the power supply potential of a value between Vdd max and Vdd min. That is, the power supply potential at the start of the adjustment process is not limited.
  • the control circuit 40 may continue to adjust treatment after error determination number becomes less than the threshold value th e. For example, in order to shorten the dead time, when it is desired to use a large recharging current as possible, by counting the number of determination errors with a higher power source potential, and compares the number determined the error with a threshold value th e be able to. If the number of decision error even after the change of the power supply potential is less than the threshold th e, it is possible to perform distance measurement with a higher power source potential. Further, since the power consumption suppression, if it is desired to use a lower power supply potential as possible, by counting the number of determination errors with a lower power supply potential, and compares the number determined the error with a threshold value th e be able to. If the number of decision error even after the change of the power supply potential is less than the threshold th e, it is possible to perform distance measurement with a lower power supply potential.
  • the light receiving device is supplied by the power supply circuit based on 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 signal output by the light receiving circuit in reaction with photons. It may be provided with a control circuit configured to control the power supply potential.
  • the light receiving device may further include a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element.
  • the control circuit may be configured to change parameters including at least one of the load circuit recharge current or the load circuit resistance value based on the signal output by the light receiving circuit in response to photons. ..
  • the light receiving device may include a plurality of light receiving circuits.
  • the control circuit is configured to change at least one of the power potential of the power supply circuit or the parameter of the load circuit connected to at least one of the light receiving circuits based on the signals output by the plurality of light receiving circuits. It may have been done.
  • the light receiving device may further include an error detector configured to determine an error based on the waveform of the signal output by the light receiving circuit.
  • an error detector configured to determine an error based on the waveform of the signal output by the light receiving circuit.
  • the error detector the above-mentioned error detector 21 or measurement circuit 30 can be used.
  • the control circuit sets at least one of the power supply potential of the power supply circuit or the parameter 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 plurality of light receiving circuits. It may be configured to change.
  • At least one of the light receiving circuits may be 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 the first threshold value.
  • At least one of the light receiving circuits may be configured to perform active recharging.
  • the control circuit is configured to adjust the time delay in which the light receiving circuit generates a pulse for active recharge based on the number of error determinations.
  • the error detector may be configured to determine at least one of a signal whose pulse width exceeds the second threshold value and a signal whose interval between pulses is less than the third threshold value. Further, in the light receiving device according to the present disclosure, an avalanche photodiode may be used as the light receiving element.
  • the block diagram of FIG. 17 shows an example of the distance measuring device according to the modified example 2.
  • 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 the voltage signal determined to be in the error state among the voltage signals output from the sampler 20.
  • the error correction circuit 22 corresponds to an error detector 21 with a function of converting a voltage signal for which an error has been determined into a voltage signal that is not in an error state.
  • the error correction circuit 22 is arranged in the circuit block 241 together with the sampler 20, for example.
  • the configuration and function of the light receiving device 102 are the same as those of the light receiving device 101 described above, except that the error detector 21 replaces the error correction circuit 22.
  • the error correction circuit 22 may be connected between the light receiving circuit 11 and the sampler 20. Further, a circuit in which the function of the sampler 20 and the function of 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. Further, the error correction circuit 22 may not be prepared for each signal line l_rd, and a plurality of signal lines l_rd may be connected to a common error correction circuit. In this case, one error correction circuit needs to perform error determination and signal correction of a plurality of signal lines l_rd, but the required circuit area can be reduced.
  • the function of converting the voltage signal determined to be an error into a voltage signal that is not in an error state may be implemented in the input stage of the measurement circuit 30.
  • 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.
  • the configuration of the light receiving circuit 11 does not matter.
  • the light receiving circuit shown in FIGS. 3 and 5 described above can be used as the light receiving circuit 11.
  • the light receiving circuit 11 may be a recharge circuit or an active recharge circuit. Further, circuits having different configurations may be mixed in the plurality of light receiving circuits 11.
  • the graphs of FIGS. 18 and 19 show an example of the voltage waveform correction process in the light receiving device 102 of FIG.
  • the horizontal axis indicates the time.
  • Graph 73 of 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.
  • the pulse width output from the light receiving circuit 11 is too large.
  • the error correction circuit 22 detects the rising edge of the 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 it is until the error determination is performed.
  • the error correction circuit 22 determines an error when the pulse width exceeds the threshold value t_h. If the error correction circuit 22 makes an error determination during pulse detection, the error correction circuit 22 masks the portion of the pulse that exceeds the threshold value t_h.
  • the error correction circuit 22 outputs the HIGH voltage in the portion of the period t_h from the rising edge of the pulse. Then, the error correction circuit 22 outputs the LOW voltage in the portion of the corresponding period t_m1 after the pulse width exceeds t_h. In this way, the error correction circuit 22 can correct the pulse width to a pulse equal to the threshold value t_h even when the light receiving circuit 11 outputs a pulse having a pulse width exceeding the threshold value t_h.
  • the voltage of the error signal Ves is HIGH during the period t_m1 in which the pulse is masked. As a result, it is possible to notify the measurement circuit 30 in the subsequent stage that the error determination has been performed.
  • the error correction circuit 22 may notify the measurement circuit 30 of the error code.
  • the error correction circuit 22 samples the input voltage Vai in the period t_s, and can perform error determination when the sampled voltage is continuously n_h times HIGH level.
  • the error determination may be performed by a method different from this.
  • Graph 74 of FIG. 19 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.
  • active recharging is performed in the light receiving circuit 11.
  • the output voltage of the light receiving circuit 11 that is, the input voltage Vai of the error correction circuit 22
  • the error correction circuit 22 outputs the input signal as it is until the error determination is performed.
  • the error correction circuit 22 determines an error when the input voltage Vai is LOW for a period shorter than the threshold value t_l after the fall of the pulse at the input voltage Vai.
  • the error correction circuit 22 may output the HIGH error signal Ves after determining the error. Further, the error correction circuit 22 may notify the measurement circuit 30 of the error code.
  • the error correction circuit 22 masks the pulse for a predetermined period t_m2 after the error determination.
  • the error correction circuit 22 outputs a LOW level voltage in the period t_m2 after the error determination.
  • This period t_m2 is referred to as a masking period.
  • the error correction circuit 22 again outputs the input signal as it is.
  • the masking period t_m2 for example, a value larger than the threshold value t_l can be set.
  • the error correction circuit 22 may adjust the masking period t_m2 according to the error determination status in the input voltage Vai. For example, in the input voltage Vai of the graph 74, three pulses arrive at intervals shorter than the threshold value t_l after the arrival of the first pulse. 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 cancel the error state when the error determination is not performed for the period t_r after the error determination is finally made. When the error state is cleared, the error correction circuit 22 outputs the re-input pulse 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. The error correction circuit 22 may output a discontinuous HIGH error signal Ves each time an error determination is made, instead of continuously outputting the HIGH error signal Ves during the period t_m2.
  • the error correction circuit 22 can sample the voltage of the signal in the period t_s, and perform error determination when the number of times the sampled voltage becomes LOW continuously is less than n_l times.
  • the error correction circuit 22 may perform error determination by a method different from this.
  • the error determination and error correction in the case where the light receiving circuit 11 outputs a HIGH level (positive electrode property) pulse at the time of detecting a photon have been described.
  • the error correction circuit 22 can also perform error determination even when the light receiving circuit 11 outputs a LOW level (negative electrode) pulse. In that case, if the error correction circuit 22 performs an operation in which HIGH is replaced with LOW, LOW is replaced with HIGH, the falling edge of the pulse is replaced with the rising edge of the pulse, and the rising edge of the pulse is replaced with the falling edge of the pulse in the above description. Good.
  • the light receiving device further includes 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 for which the error determination has been made. May be good.
  • the error correction circuit for example, the above-mentioned error correction circuit 22 or measurement circuit 30 can be used.
  • the error correction circuit may be configured to make an error determination of at least one of a signal whose pulse width exceeds the second threshold value and a signal whose interval between pulses is less than the third threshold value. ..
  • the control circuit is a parameter of the power supply potential of the power supply circuit or 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 plurality of light receiving circuits. Of these, at least one may be changed.
  • FIG. 20 shows an example of the distance measuring device according to the modified example 3.
  • FIG. 20 shows the light receiving device 202 and the external processing circuit 300.
  • the light receiving device 202 corresponds to a component of the light receiving device 200 (FIG. 1) in which the control circuit 220 and the power supply circuit 256 are 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.
  • 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.
  • an external power supply circuit 257 may be used as a circuit for supplying the power supply potential Vdd to the SPAD array 240.
  • the power supply circuit 257 is connected to the SPAD array 240 in the ranging device 204 via the terminal PWR. Further, 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 transmitting a control signal to the power supply circuit 257.
  • the external processing circuit 300 is, for example, a hardware circuit such as an ASIC or an FPGA.
  • the external processing circuit 300 may be a computer including a CPU (central processing unit) and storage. In this case, the external processing circuit 300 provides various functions by executing the program stored in the storage on the CPU.
  • the external processing circuit 300 executes a function corresponding to the control circuit 220 of FIG. 1 (control circuit 40 of FIGS. 8 and 17). That is, an external processing circuit 300 separate from the light receiving device 202 may set each light receiving circuit 11 and a power supply circuit. The communication between the external processing circuit 300 and the light receiving device 202 may be performed by wire or wirelessly.
  • the block diagram of FIG. 21 shows an example of the light receiving device according to the modified example 4.
  • the light receiving device according to the present disclosure may be a distance measuring device including a light emitting element and a distance calculation unit, as in the devices shown in FIGS. 1 and 20.
  • the light receiving device according to the present disclosure does not necessarily have to have a distance measuring function.
  • a device such as the light receiving device 201 of FIG. 21 in which the distance calculation unit 233 and the trigger circuit 254 are omitted may be used.
  • the light receiving device 201 can detect photons by the SPAD array 240 and generate a histogram.
  • the light receiving device 201 may be connected to another device to add functions corresponding to the distance calculation unit, the trigger circuit, and the light emitting element.
  • the light receiving device 201 can be used as a device for setting the SPAD array 240 and determining the power supply potential.
  • the other ranging device can perform ranging based on the setting of the SPAD array 240 determined by the light receiving device 201 and the power supply potential.
  • the circuit diagram of FIG. 22 shows an example of the circuit according to the modified example 5.
  • the light receiving circuit 12 of 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 portion 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. Further, in the light receiving circuit 12, when SW1 is set to OFF and SW2 is set to ON, active recharging is performed. In the light receiving circuit 12, when both SW1 and SW2 are set to ON, both passive recharge and active recharge are performed. 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.
  • the circuit diagram of FIG. 23 shows an example of the circuit according to the modified example 6.
  • the light receiving circuit 14 of FIG. 23 corresponds to a circuit in which the load element 90 (transistor TR0) of the light receiving circuit 10 is omitted. That is, the light receiving circuit 14 is a circuit dedicated to active recharge.
  • the operation of the light receiving circuit 14 is the same as when the switch SW1 is set to OFF, the switch SW2 is set to ON, and the switch SW3 is set to ON in the light receiving circuit 10 (switch setting st1 in the table 70).
  • the ranging device includes 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 photon during a period when the light emitting element does not emit light. It may include a control circuit configured to control the power supply potential based on the signals output by the plurality of light receiving circuits in the reaction. Further, the distance measuring device according to the present disclosure may further include a plurality of load circuits connected to each light receiving circuit 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 values or the recharge currents of the plurality of load circuits based on the signal.
  • control circuit of the distance measuring device may be configured to adjust the time delay in which a pulse for active recharge is generated in at least one of the light receiving circuits based on the signal.
  • the light receiving device, the distance measuring device, and the light receiving circuit according to the present disclosure it is possible to start the distance measuring after setting to minimize the dead time. Therefore, it is possible to perform photon detection or distance measurement with high accuracy.
  • at least one of a plurality of methods may be selected to adjust the recharge current.
  • 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.
  • the recharge current of the entire SPAD array can be changed in a short time.
  • the SPAD array may include a pixel in which a load circuit having an adjustable resistance value or a load circuit having an adjustable current value is connected to the light receiving circuit.
  • the value of the recharge current can be adjusted with higher accuracy in units of individual pixels. For example, it becomes easy to adjust the recharge current for each region in the SPAD array. This makes it possible to obtain high quality distance images.
  • the light receiving device, the light receiving circuit, and the distance measuring device according to the present disclosure it is possible to improve the distance measuring performance while suppressing the power consumption.
  • the technology related to this disclosure can be applied to various products.
  • the technology according to the present disclosure is realized as a device mounted on a moving body of any kind such as an automobile, an electric vehicle, a hybrid electric vehicle, a motorcycle, a bicycle, a personal mobility, an airplane, a drone, a ship, and a robot. You may.
  • FIG. 24 is a block diagram showing a schematic configuration example of a vehicle control system, which is an example of a mobile control system to which the technique according to the present disclosure can be applied.
  • the vehicle control system 12000 includes a plurality of electronic control units connected via the communication network 12001.
  • the vehicle control system 12000 includes a drive system control unit 12010, a body system control unit 12020, an outside information detection unit 12030, an in-vehicle information detection unit 12040, and an integrated control unit 12050.
  • a microcomputer 12051, an audio image output unit 12052, and an in-vehicle network I / F (interface) 12053 are shown as a functional configuration of the integrated control unit 12050.
  • the drive system control unit 12010 controls the operation of the device related to the drive system of the vehicle according to various programs.
  • the drive system control unit 12010 provides a driving force generator for generating the driving force of the vehicle such as an internal combustion engine or a driving motor, a driving force transmission mechanism for transmitting the driving force to the wheels, and a steering angle of the vehicle. It functions as a control device such as a steering mechanism for adjusting and a braking device for generating braking force of the vehicle.
  • the body system control unit 12020 controls the operation of various devices mounted on the vehicle body according to various programs.
  • the body system control unit 12020 functions as a keyless entry system, a smart key system, a power window device, or a control device for various lamps such as headlamps, back lamps, brake lamps, blinkers or fog lamps.
  • the body system control unit 12020 may be input with radio waves transmitted from a portable device that substitutes for the key or signals of various switches.
  • the body system control unit 12020 receives inputs of these radio waves or signals and controls a vehicle door lock device, a power window device, a lamp, and the like.
  • the vehicle outside information detection unit 12030 detects information outside the vehicle equipped with the vehicle control system 12000.
  • the image pickup unit 12031 is connected to the vehicle exterior information detection unit 12030.
  • the vehicle outside information detection unit 12030 causes the image pickup unit 12031 to capture an image of the outside of the vehicle and receives the captured image.
  • the vehicle exterior information detection unit 12030 may perform object detection processing or distance detection processing such as a person, a vehicle, an obstacle, a sign, or a character on the road surface based on the received image.
  • the imaging unit 12031 is an optical sensor that receives light and outputs an electric signal according to the amount of the light received.
  • the image pickup unit 12031 can output an electric signal as an image or can output it as distance measurement information. Further, the light received by the imaging unit 12031 may be visible light or invisible light such as infrared light.
  • the in-vehicle information detection unit 12040 detects the in-vehicle information.
  • a driver state detection unit 12041 that detects the driver's state is connected to the in-vehicle information detection unit 12040.
  • the driver state detection unit 12041 includes, for example, a camera that images the driver, and the in-vehicle information detection unit 12040 determines the degree of fatigue or concentration of the driver based on the detection information input from the driver state detection unit 12041. It may be calculated, or it may be determined whether or not the driver has fallen asleep.
  • the microcomputer 12051 calculates the control target value of the driving force generator, the steering mechanism, or the braking device based on the information inside and outside the vehicle acquired by the vehicle exterior information detection unit 12030 or the vehicle interior information detection unit 12040, and the drive system control unit.
  • a control command can be output to 12010.
  • the microcomputer 12051 realizes ADAS (Advanced Driver Assistance System) functions including vehicle collision avoidance or impact mitigation, follow-up driving based on inter-vehicle distance, vehicle speed maintenance driving, vehicle collision warning, vehicle lane deviation warning, and the like. It is possible to perform cooperative control for the purpose of.
  • ADAS Advanced Driver Assistance System
  • the microcomputer 12051 controls the driving force generator, the steering mechanism, the braking device, and the like based on the information around the vehicle acquired by the vehicle exterior information detection unit 12030 or the vehicle interior information detection unit 12040. It is possible to perform coordinated control for the purpose of automatic driving, etc., which runs autonomously without depending on the operation.
  • 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 vehicle exterior information detection unit 12030.
  • the microcomputer 12051 controls the headlamps according to the position of the preceding vehicle or the oncoming vehicle detected by the external information detection unit 12030, and performs coordinated control for the purpose of anti-glare such as switching the high beam to the low beam. It can be carried out.
  • the audio image output unit 12052 transmits an output signal of at least one of audio and an image to an output device capable of visually or audibly notifying information to the passenger or the outside of the vehicle.
  • an audio speaker 12061, a display unit 12062, and an instrument panel 12063 are exemplified as output devices.
  • the display unit 12062 may include, for example, at least one of an onboard display and a heads-up display.
  • FIG. 25 is a diagram showing an example of the installation position of the imaging unit 12031.
  • the vehicle 12100 has image pickup units 12101, 12102, 12103, 12104, 12105 as the image pickup unit 12031.
  • the imaging units 12101, 12102, 12103, 12104, 12105 are provided at positions such as the front nose, side mirrors, rear bumpers, back doors, and the upper part of the windshield in the vehicle interior of the vehicle 12100, for example.
  • the image pickup unit 12101 provided on the front nose and the image pickup section 12105 provided on the upper part of the windshield in the vehicle interior mainly acquire an image in front of the vehicle 12100.
  • the imaging units 12102 and 12103 provided in the side mirrors mainly acquire images of the side of the vehicle 12100.
  • the imaging unit 12104 provided on the rear bumper or the back door mainly acquires an image of the rear of the vehicle 12100.
  • the images in front acquired by the imaging units 12101 and 12105 are mainly used for detecting a preceding vehicle or a pedestrian, an obstacle, a traffic light, a traffic sign, a lane, or the like.
  • FIG. 25 shows an example of the photographing range of the imaging units 12101 to 12104.
  • the imaging range 12111 indicates the imaging range of the imaging unit 12101 provided on the front nose
  • the imaging ranges 12112 and 12113 indicate the imaging ranges of the imaging units 12102 and 12103 provided on the side mirrors, respectively
  • the imaging range 12114 indicates the imaging range of the imaging units 12102 and 12103.
  • the imaging range of the imaging unit 12104 provided on the rear bumper or the back door is shown. For example, by superimposing the image data captured by the imaging units 12101 to 12104, a bird's-eye view image of the vehicle 12100 as viewed from above can be obtained.
  • At least one of the imaging units 12101 to 12104 may have a function of acquiring distance information.
  • at least one of the image pickup units 12101 to 12104 may be a stereo camera composed of a plurality of image pickup elements, or may be an image pickup element having pixels for phase difference detection.
  • the microcomputer 12051 has a distance to each three-dimensional object within the imaging range 12111 to 12114 based on the distance information obtained from the imaging units 12101 to 12104, and a temporal change of this distance (relative velocity with respect to the vehicle 12100).
  • a predetermined speed for example, 0 km / h or more.
  • the microcomputer 12051 can set an inter-vehicle distance to be secured in front of the preceding vehicle in advance, and can perform automatic braking control (including follow-up stop control), automatic acceleration control (including follow-up start control), and the like. In this way, it is possible to perform coordinated control for the purpose of automatic driving or the like in which the vehicle travels autonomously without depending on the operation of the driver.
  • the microcomputer 12051 converts three-dimensional object data related to a three-dimensional object into two-wheeled vehicles, ordinary vehicles, large vehicles, pedestrians, utility poles, and other three-dimensional objects based on the distance information obtained from the imaging units 12101 to 12104. It can be classified and extracted and used for automatic avoidance of obstacles. For example, the microcomputer 12051 distinguishes obstacles around the vehicle 12100 into obstacles that can be seen by the driver of the vehicle 12100 and obstacles that are difficult to see. Then, the microcomputer 12051 determines the collision risk indicating the risk of collision with each obstacle, and when the collision risk is equal to or higher than the operation parameter and there is a possibility of collision, the microcomputer 12051 is used via the audio speaker 12061 or the display unit 12062. By outputting an alarm to the driver and performing forced deceleration and avoidance steering via the drive system control unit 12010, driving support for collision avoidance can be provided.
  • At least one of the imaging units 12101 to 12104 may be an infrared camera that detects infrared rays.
  • the microcomputer 12051 can recognize a pedestrian by determining whether or not a pedestrian is present in the captured image of the imaging units 12101 to 12104.
  • pedestrian recognition includes, for example, a procedure for extracting feature points in an image captured by an imaging unit 12101 to 12104 as an infrared camera, and pattern matching processing for a series of feature points indicating the outline of an object to determine whether or not the pedestrian is a pedestrian. It is done by the procedure to determine.
  • the audio image output unit 12052 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 outputs a square contour line for emphasizing the recognized pedestrian.
  • the display unit 12062 is controlled so as to superimpose and display. Further, the audio image output unit 12052 may control the display unit 12062 so as to display an icon or the like indicating a pedestrian at a desired position.
  • the above is an example of a vehicle control system to which the technology according to the present disclosure can be applied.
  • the technique according to the present disclosure can be applied to the imaging unit 12031.
  • the light receiving device 200 of FIG. 1 and the light emitting element 255 of FIG. 2 can be mounted on the imaging unit 12031.
  • at least one of the light receiving devices 200 to 202 may be mounted on the imaging unit 12031.
  • the present technology can have the following configurations.
  • a light receiving circuit including a light receiving element and A power supply circuit configured to supply a power supply potential to the light receiving circuit
  • a light receiving device including 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.
  • a load circuit connected to the light receiving circuit and supplying a recharge current to the light receiving element is further provided.
  • the control circuit is configured to change parameters based on the signal, including at least one of the recharge current of the load circuit or the resistance value of the load circuit.
  • the control circuit sets at least one of the power potential of the power supply circuit or at least one of the parameters of the load circuit connected to at least one of the light receiving circuits. It is configured to change, The light receiving device according to (2).
  • An error detector configured to determine an error based on the waveform of the signal output by the light receiving circuit is further provided.
  • the control circuit is among the parameters of the load circuit connected to the power supply potential of the power supply circuit or 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. , Is configured to change at least one, The light receiving device according to (3).
  • At least one of the light receiving circuits is configured to perform passive recharge.
  • 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 the first threshold value.
  • At least one of the light receiving circuits is configured to perform active recharge.
  • the control circuit is configured to adjust the time delay in which a pulse is generated for the active recharge in the light receiving circuit based on the error determination number.
  • the error detector is configured to make an error determination of at least one of the signals whose pulse width exceeds the second threshold value or the signals whose intervals between pulses are less than the third threshold value.
  • the light receiving device according to any one of (4) to (6).
  • 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 for which the error determination has been made is further provided.
  • the light receiving device according to any one of (3) to (7).
  • the error correction circuit is configured to make an error determination of at least one of the signals whose pulse width exceeds the second threshold value or the signals whose intervals between pulses are less than the third threshold value.
  • the light receiving device according to (8).
  • the control circuit is among the parameters of the load circuit connected to the power supply potential of the power supply circuit or 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 configured to change at least one, The light receiving device according to (8).
  • At least one of the light receiving circuits is configured to perform passive recharge.
  • 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 the first threshold value.
  • the light receiving device (10).
  • (12) At least one of the light receiving circuits is configured to perform active recharge.
  • the control circuit is configured to adjust the time delay in which a pulse is generated for the active recharge in the light receiving circuit based on the error determination number.
  • the light receiving device according to (10) or (11).
  • the light receiving element is an avalanche photodiode.
  • the light receiving device according to any one of (1) to (12).
  • Light emitting element and Multiple light receiving circuits including light receiving elements and A power supply circuit configured to supply a power supply potential to the plurality of light receiving circuits, and a power supply circuit.
  • a control circuit configured to control the power supply potential based on signals output by the plurality of light receiving circuits in reaction with photons during a period in which the light emitting element is not emitting light is provided.
  • Distance measuring device (15) A plurality of load circuits connected to each of the light receiving circuits and supplying a recharge current to the light receiving elements are further provided. 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. The distance measuring device according to (14).
  • the control circuit is configured to adjust for a time delay in generating a pulse for active recharge in at least one of the light receiving circuits based on the signal.
  • the distance measuring device according to (14) or (15).
  • (17) With the light receiving element With the current source A switch capable of turning on either the first contact side connected to the reference potential or the second contact side connected to the light receiving element.
  • a current mirror circuit configured to supply a second current that mirrors the first current flowing between the reference potential and the current source from the output side.
  • a light receiving circuit including a transistor in which a first signal electrode is connected to the reference potential, a second signal electrode is connected to the light receiving element and the output side of the current mirror circuit, and a control electrode is connected to the switch. ..
  • a plurality of the switches and the transistors are provided.
  • a third current obtained by multiplying the first current by N (N is a positive integer) is supplied to the light receiving element in response to the switching of the switch.
  • a readout circuit configured to generate a pulse when the light receiving element reacts with a photon is further provided.
  • (20) With the light receiving element A plurality of resistors connected in parallel between the reference potential and the light receiving element, Multiple switches, each connected in series with the resistor, A readout circuit configured to generate a pulse when the light receiving element reacts with a photon is provided. The current supplied to the light receiving element is adjusted according to the switching of the switch. Light receiving circuit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Electromagnetism (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

[課題]デッドタイムを最小化することが可能な受光装置、受光回路および測距装置を提供する。 [解決手段]本開示による受光装置は、受光素子を含む受光回路と、前記受光回路に電源電位を供給するように構成された電源回路と、フォトンとの反応で前記受光回路が出力する信号に基づいて前記電源回路が供給する前記電源電位を制御するように構成された制御回路とを備えていてもよい。

Description

受光装置、測距装置および受光回路
 本開示は、受光装置、測距装置および受光回路に関する。
 車載、モバイルなど複数の分野において、発光素子からの照射光が物体で反射し、受光素子に戻ってくるまでの飛行時間(ToF)に基づき、物体までの距離を測定する技術の応用が進められている。受光素子として、アバランシェフォトダイオード(APD)が知られている。ガイガーモードのAPDでは、端子間に降伏電圧以上の電圧が印加され、単一フォトンの入射でアバランシェ現象が発生する。単一フォトンをアバランシェ現象で増倍させるAPDは、シングルフォトンアバランシェダイオード(SPAD)とよばれる。
 SPADでは、端子間の電圧を降伏電圧まで下げることによって、アバランシェ現象を止めることができる。端子間の電圧を下げ、アバランシェ現象を止めることは、クエンチとよばれる。そして、SPADの端子間の電圧を降伏電圧以上のバイアス電圧にリチャージさせると、再びフォトンの検出を行うことが可能となる。
特開2010-091377号公報 特開2014-081254号公報 特開2018-179732号公報 特表2008-542706号公報
 ToFによる距離の測定を開始する前に、フォトンの検出ができないデッドタイムを短くする設定を行うことが望ましい。
 そこで、本開示は、デッドタイムを最小化することが可能な受光装置、受光回路および測距装置を提供する。
本開示に一態様による受光装置は、受光素子を含む受光回路と、前記受光回路に電源電位を供給するように構成された電源回路と、フォトンとの反応で前記受光回路が出力する信号に基づいて前記電源回路が供給する前記電源電位を制御するように構成された制御回路とを備える受光装置。
 前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに備え、前記制御回路は、前記信号に基づいて前記負荷回路の前記リチャージ電流または前記負荷回路の抵抗値の少なくともいずれかを含むパラメータを変更するように構成されていてもよい。
 複数の前記受光回路を備え、前記制御回路は、複数の前記受光回路が出力する前記信号に基づき、前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 前記受光回路が出力する前記信号の波形に基づいてエラー判定するように構成されたエラー検出器をさらに備え、前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、 前記制御回路は、前記エラー判定数が第1しきい値未満となるように前記受光回路の前記リチャージ電流を調整するように構成されていてもよい。
 少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されていてもよい。
 前記エラー検出器は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されていてもよい。
 前記受光回路が出力する前記信号の波形に基づきエラー判定をし、前記エラー判定をされた前記信号の波形を補正するように構成されたエラー補正回路をさらに備えていてもよい。
 前記エラー補正回路は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されていてもよい。
 前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、前記制御回路は、前記エラー判定数が第1しきい値未満となるように前記受光回路の前記リチャージ電流を調整するように構成されていてもよい。
 少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されていてもよい。
 前記受光素子は、アバランシェフォトダイオードであってもよい。
 本開示の一態様による測距装置は、発光素子と、受光素子を含む複数の受光回路と、前記複数の受光回路に電源電位を供給するように構成された電源回路と、前記発光素子が発光していない期間に、フォトンとの反応で複数の前記受光回路が出力する信号に基づいて前記電源電位を制御するように構成された制御回路とを備えていてもよい。
 それぞれの前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに複数備え、前記制御回路は、前記信号に基づいて複数の前記負荷回路の抵抗値または前記リチャージ電流の少なくともいずれかを制御するように構成されていてもよい。
 前記制御回路は、前記信号に基づいて少なくともいずれかの前記受光回路においてアクティブリチャージ用のパルスが生成される時間遅れを調整するように構成されていてもよい。
 本開示の一態様による受光回路は、受光素子と、電流源と、基準電位に接続された第1接点側または前記受光素子に接続された第2接点側のいずれかをオンにすることが可能なスイッチと、前記基準電位と前記電流源との間に流れる第1電流をミラーした第2電流を出力側より供給するように構成されたカレントミラー回路と、第1信号電極が前記基準電位に接続され、第2信号電極が前記受光素子および前記カレントミラー回路の前記出力側に接続され、制御電極が前記スイッチに接続されているトランジスタとを備えていてもよい。
 前記スイッチおよび前記トランジスタを複数備え、前記スイッチの切り替えに応じて前記受光素子に前記第1電流をN倍(Nは正の整数)した第3電流を前記受光素子に供給するように構成されていてもよい。
 前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路をさらに備えていてもよい。
 本開示の一態様による受光回路は、受光素子と、基準電位と前記受光素子との間に並列に接続された複数の抵抗器と、それぞれが前記抵抗器と直列に接続されている複数のスイッチと、前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路とを備え、前記スイッチの切り替えに応じ、前記受光素子に供給される電流が調整されるように構成されていてもよい。
受光装置の例を示したブロック図。 受光装置を用いた測距の例を模式的に示した図。 パッシブリチャージを行う受光回路の例を示した回路図。 図4の受光回路における電圧波形の例を示したグラフ。 アクティブリチャージを行う受光回路の例を示した回路図。 図5の受光回路における電圧波形の例を示したグラフ。 パルス生成器の構成の例を示した回路図。 本開示による受光装置の例を概略的に示した図。 エラー検出器によるエラー判定の例を示したグラフ。 本開示による受光装置または測距装置における処理の例を示したフローチャート。 受光装置または測距装置における設定とエラー判定数の例を示したテーブル。 抵抗値を調整可能な負荷回路の例を示した回路図。 電流値を調整可能な負荷回路の例を示した回路図。 負荷回路の設定を決定する処理の例を示したフローチャート。 電源回路の設定を決定する処理の例を示したフローチャート。 電源電位とエラー判定数の例を示したテーブル。 変形例2による測距装置の例を示したブロック図。 図17の測距装置における電圧波形の補正処理の例を示すグラフ。 図17の測距装置における電圧波形の補正処理の例を示すグラフ。 変形例3による測距装置の例を示したブロック図。 変形例4による受光装置の例を示したブロック図。 変形例5による回路の例を示した回路図。 変形例6による回路の例を示した回路図。 車両制御システムの概略的な構成の一例を示すブロック図である。 車外情報検出部及び撮像部の設置位置の一例を示す説明図である。
 以下に添付図面を参照しながら、本開示の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。
 図1のブロック図は、受光装置の例を示している。また、図2は、受光装置を用いた測距の例を模式的に示している。図1の受光装置200は、通信回路210と、制御回路220と、SPADコントローラ221と、SPADアレイ240と、回路ブロック241と、処理回路230と、転送回路211と、PLL250と、クロック生成器251と、電流源252と、温度センサ253と、トリガ回路254と、電源回路256とを備えている。処理回路230は、内部の構成要素として、ヒストグラム生成器232と、距離計算部233とを備えている。また、受光装置200は、端子T_OUTを介して図2の発光素子255に接続されている。
 通信回路210および転送回路211は、外部の回路との通信を行う。制御回路220は、受光装置200の各構成要素を制御する。SPADアレイ240は、図2の検出部1に相当する。SPADアレイ240には、例えば、複数のSPADおよびそれぞれのSPADに対応する受光回路が実装されている。SPADアレイは、複数のシングルフォトンアバランシェダイオード(SPAD)を含む。受光回路は、SPADがフォトンと反応したときに、パルスを後段の回路に出力するように構成されている。また、受光回路は、SPADのクエンチと、リチャージを行う回路とを含んでいる。SPADコントローラ221は、受光回路を制御する。SPADコントローラ221は、例えば、受光回路におけるスイッチの切り替え、電流値の制御、パルスの生成タイミングの制御を行う。
 回路ブロック241は、例えば、それぞれの受光回路の後段に接続されたサンプラを含んでいる。サンプラは、バッファともよばれ、受光回路から入力された信号をデジタル化する。また、回路ブロック241は、エラー検出器およびエラー補正回路を含んでいてもよい。エラー検出器およびエラー補正回路の詳細については、後述する。トリガ回路254は、発光素子255の発光タイミングを制御する。
 ヒストグラム生成器232は、デジタル化されたそれぞれの受光回路の出力信号の電圧レベルをサンプリングし、ヒストグラムを生成する。ヒストグラム生成器232は、複数回にわたって、サンプリング動作を繰り返し、ヒストグラムを生成してもよい。複数回にわたってサンプリング動作を行うことにより、発光素子から照射した光の反射光rlとその他の光を識別することが可能となる。ヒストグラム生成器232は、ヒストグラムの生成時に、複数回にわたる計測結果の平均などの演算を行ってもよい。距離計算部233は、トリガ回路254から転送された光の照射時刻t0に関する情報およびヒストグラムのピーク時刻t1に基づき、受光装置200と、物体との間の距離を計算する。例えば、光速度をcとすると、受光装置200と物体OBJまでの距離をL=c/2(t1-t0)の式によって求めることができる。このうち、t1-t0は、飛行時間に相当する。転送回路211を使って、計算された距離を含む情報を外部の回路に転送してもよい。受光装置200のように、物体との間の距離を計算する機能を備えた装置を測距装置とよぶ。
 電源回路256は、SPADアレイ240内の画素として実装されている受光回路に電源電位Vddを供給する回路である。SPADアレイ240内の受光回路として、上述の各回路図で説明した回路を使うことができる。すなわち、電源回路256は、後述する回路図における電源電位Vddの信号線と電気的に接続されている。また、電源回路256は、制御用の信号線を介してSPADコントローラ221に接続される。SPADコントローラ221は、電源回路256に、制御信号を送信することによって、電源電位Vddの値を変更することができる。
 電源回路256は、SPADコントローラ221以外の構成要素によって制御されてもよい。例えば、受光回路におけるリチャージ方法を決定する制御回路220が直接電源回路256を制御してもよい。
 例えば、FPGA(Field Programmable Gate Array)、ASIC(Application Specific Integrated Circuit)などのハードウェア回路によって、ヒストグラム生成器232、距離計算部233を含む処理回路230の構成要素を実装することができる。ただし、処理回路230の機能は、CPU(中央処理装置)と、CPU上で実行されるプログラムによって実装されていてもよい。この場合、処理回路230は、プログラムおよびプログラムの実行に必要なデータを保存するメモリまたはストレージを含んでいてもよい。
 なお、図1の受光装置200は、受光装置の構成の一例にしかすぎない。したがって、本開示による受光装置の構成は、受光装置200とは異なっていてもよい。受光装置は、受光装置200のすべての構成要素を備えていなくてもよい。例えば、受光装置では、PLL250、クロック生成器251、電流源252、温度センサ253、トリガ回路254、通信回路210のうち、少なくともいずれかが省略されていてもよい。また、その他の構成要素の追加がされていてもよいし、その他の構成要素が省略されていてもよい。
 図3の回路図は、フォトン検出に使われる受光回路の一例を示している。また、図4のグラフは、受光回路における電圧波形の例を示している。図3の受光回路13は、フォトダイオードPDと、トランジスタTR0と、インバータINVとを備えている。トランジスタTR0は、PMOSトランジスタである。フォトダイオードPDとして、例えば、SPADを使うことができる。トランジスタTR0のソースは、電源電位Vddに接続されている。トランジスタTR0のドレインは、フォトダイオードPDのカソードに接続されている。フォトダイオードPDのアノードには、電圧Vanが印加されている。電圧Vanによって、フォトダイオードPDの端子間には、降伏電圧以上の逆電圧が印加される。インバータINVの入力側は、トランジスタTR0のドレインおよびフォトダイオードPDのカソードに接続されている。また、インバータINVの出力側には、バッファなど後段の回路が接続される。
 トランジスタTR0は、受光回路13の負荷素子90の一例である。ただし、負荷素子の構成は、これとは異なっていてもよい。例えば、負荷素子として、抵抗器を使ってもよいし、トランジスタと抵抗器を組み合わせたものを使ってもよい。また、負荷素子の位置に複数の素子を含む負荷回路を接続してもよい。
 フォトダイオードPDにフォトンが入射し、アバランシェ増倍によってフォトダイオードPDの端子間を流れる電流が増えると、負荷素子90における電圧降下に応じ、カソード電位Vcaが低下する。フォトダイオードPDの端子間電圧が降伏電圧まで下がると、アバランシェ現象は停止し、フォトダイオードPDの端子間を流れる電流が減少する。これにより、フォトダイオードPDの端子間の電圧は、降伏電圧以上の値となり、再びフォトンの検出を行うことが可能となる(グラフ60のVca)。一方、インバータINVは、カソード電位Vcaがしきい値thi以下である期間に、HIGH(正極性)のパルスを出力する(グラフ60のVp)。受光回路13は、フォトンの検出時にパルスを出力するため、後段の回路においてフォトンカウント、ヒストグラムの生成、飛行時間の計算など各種の処理を行うことができる。
 なお、グラフ60に示したような動作を行う回路は、パッシブリチャージ回路とよばれる。上述の受光回路13は、パッシブリチャージ回路の一例である。パッシブリチャージ回路として、受光回路13とは異なる構成の回路を使ってもよい。例えば、極性が反転した回路を使ってもよい。また、受光回路13にその他の素子が追加された回路を使ってもよい。パッシブリチャージ回路を使うと、消費電力を抑えることが可能である。
 フォトダイオードPDがフォトンと反応してから、アバランシェ現象を停止(クエンチ)させて、再度フォトダイオードPDの端子間の電圧を降伏電圧以上にリチャージするまでの期間、フォトダイオードPDは、フォトンの検出を行うことができない。この期間は、デッドタイムとよばれる。負荷素子90より供給される電流が不足すると、グラフ60に示した電圧Vcaが上昇するまでの時間tupが長くなり、デッドタイムが長くなってしまう。受光素子(例えば、フォトダイオードPD)の端子の電圧レベルをリセットするために負荷素子または負荷回路より供給される電流は、リチャージ電流とよばれる。受光回路としてパッシブリチャージ回路が使われる場合、測距などの処理を開始する前にデッドタイムが最小となるように受光回路のリチャージ電流の設定を行うことが好ましい。例えば、測距装置の工場出荷時、初回起動時または初期化操作時に実行されるキャリブレーション処理において、SPADアレイ240内の受光回路(画素)におけるリチャージ電流を決め、デッドタイムを最小化し、測距性能を高めることができる。
 なお、パッシブリチャージ回路では、リチャージ電流を大きくしすぎると、フォトダイオードPDの端子間電圧が降伏電圧まで下がらなくなるため、クエンチを行うことができなくなってしまう(グラフ61のVca)。このとき、インバータINVの出力電圧が張り付いてしまうため、フォトンを検出するのが困難となる。このため、測距性能を高めるためには、受光素子に過大なリチャージ電流を供給せず出力電圧のデッドロックが発生する確率を抑えることが望ましい。
 図5の回路図は、本開示による回路の例を示している。図5の受光回路10は、フォトダイオードPDと、スイッチSW1と、トランジスタTR0と、トランジスタTR1と、スイッチSW2と、トランジスタTR2と、スイッチSW3と、インバータINVと、パルス生成器PGとを備えている。トランジスタTR0、トランジスタTR1、トランジスタTR2は、いずれもPMOSトランジスタである。フォトダイオードPDとして、例えば、SPADを使うことができる。
 スイッチSW1、スイッチSW2およびスイッチSW3は、例えば、MOSトランジスタによって実装される。例えば、それぞれのMOSトランジスタのゲートをSPADコントローラ221に接続することができる。この場合、SPADコントローラ221は、個々のMOSトランジスタのゲートに印加する電圧を制御することによって、スイッチをオン/オフする。なお、トランジスタTR0のゲートをSPADコントローラ221に接続してもよい。この場合、SPADコントローラ221は、トランジスタTR0のゲートに印加する電圧を制御し、トランジスタTR0のソース/ドレイン間の抵抗値を調整することができる。なお、SPADコントローラ221の代わりに、制御回路220が上述の制御を行ってもよい。
 トランジスタTR0のソースは、電源電位Vddに接続されている。スイッチSW1は、トランジスタTR0のドレインと、フォトダイオードPDのカソードとの間に接続されている。フォトダイオードPDのアノードには、電圧Vanが印加されている。フォトダイオードPDの端子間に、降伏電圧以上の逆電圧が印加されるよう、電圧Vanの値を決めることができる。インバータINVの入力端子は、信号線Linを介してフォトダイオードPDのカソードおよびスイッチSW1に接続されている。
 トランジスタTR1のソースおよびトランジスタTR2のソースは、いずれも電源電位Vddに接続されている。トランジスタTR1のドレインと、信号線Linとの間には、スイッチSW2が接続されている。一方、トランジスタTR2のドレインと、信号線Linとの間には、スイッチSW3が接続されている。インバータINVの出力端子は、信号線Loutを介して、トランジスタTR2のゲートおよびパルス生成器PGの入力端子に接続されている。パルス生成器PGの出力端子は、トランジスタTR1のゲートに接続されている。
 受光回路10では、スイッチ設定に応じてフォトダイオードPDのリチャージ方法を切り替えることができる。スイッチSW1をOFFにし、スイッチSW2およびスイッチSW3をONにすると、受光回路10にアクティブリチャージを行わせることができる。図5に示した受光回路10では、アクティブリチャージを行うスイッチ設定となっている。また、スイッチSW1をONにし、スイッチSW2およびスイッチSW3をOFFにすると、受光回路10にパッシブリチャージを行わせることができる。この場合、受光回路10は、図3の受光回路13(パッシブリチャージ回路)と同様の動作をする。さらに、スイッチSW1およびスイッチSW2をONにすると、受光回路10にアクティブリチャージとアクティブリチャージの両方を行わせることができる。この場合、スイッチSW3は、ONであってもよいし、OFFであってもよい。
 図6のグラフは、受光回路10における電圧波形の例を示している。図6のグラフ63は、受光回路10でアクティブリチャージを行った場合における電圧波形に相当している。なお、グラフ63のVgは、トランジスタTR1のゲート電圧を示している。いずれのグラフにおいても、横軸は時刻を示している。
 受光回路10にアクティブリチャージを行わせるとき(スイッチ設定st1のとき)の動作について説明する。フォトダイオードPDにフォトンが入射し、アバランシェ増倍によってフォトダイオードPDの端子間を流れる電流が増えると、トランジスタTR1およびトランジスタTR2のソース/ドレイン間における電圧降下に応じ、カソード電位Vcaが低下する。フォトダイオードPDの端子間電圧が降伏電圧まで下がると、アバランシェ現象が停止(クエンチ)する点は、パッシブリチャージが行われる場合と同様である。
 インバータINVは、信号線Linの電圧がしきい値thi以下である期間に、HIGH(正極性)のパルスを出力する(グラフ64のVp)。当該パルスに基づき、後段の計測回路30は、各種の処理を実行することができる。信号線Linの電圧は、LOWになるため、インバータINVの出力側にある信号線Loutの電圧は、HIGHになる。パルス生成器PGは、HIGHの信号が入力されると、時間遅れtdをもって、LOW(負極性)のパルスを出力する。したがって、トランジスタTR1のゲートにLOWの電圧が印加され、トランジスタTR1のソース/ドレイン間がオンになる。グラフ64のVgでは、期間trにわたって、LOWのパルスが出力されている。これにより、カソード電位Vcaは、電源電位Vddによって引き上げられ、再びフォトダイオードPDによるフォトンの検出が可能となる。
 リチャージによって信号線Linの電圧がHIGHになると、インバータINVの出力側の信号線Loutの電圧は、LOWになる。このとき、トランジスタTR2のゲートには、LOWの電圧が印加され、トランジスタTR2のソース/ドレイン間は、オンとなる。このように、トランジスタTR2は、トランジスタTR1の状態をラッチする。トランジスタTR2によって、貫通電流の発生を抑制し、カソード電位Vcaが不定となるのを防止できる。
 なお、スイッチSW2およびスイッチSW3だけでなく、スイッチSW1もONになっている場合(スイッチ設定st3)、さらにトランジスタTR0のソース/ドレイン間における電圧降下がフォトダイオードPDのクエンチに寄与する。クエンチによって、フォトダイオードPDの端子間を流れる電流が減少すると、フォトダイオードPDの端子間の電圧が上昇する点は、図3の受光回路13と同様である。
 図6のグラフ63に示したように、アクティブリチャージを行い、フォトダイオードPDのデッドタイムを短くするためには、時間遅れtdの値を調整する必要がある。ここで、時間遅れtdとは、フォトダイオードPDのカソード電位Vcaがしきい値thi以下となってから、パルス生成器PGからLOWのパルスが出力されるまでの時差のことをいうものとする。図6のグラフ64は、時間遅れtdを短く設定しすぎた場合における電圧波形を示している。時間遅れtdを短く設定しすぎると、パルス生成器PGからリセット用のパルスを出力しても、再びカソード電位Vcaが低下する場合がある。カソード電位Vcaは、しきい値thiを下回り、パルス生成器PGは、短期間で複数のパルスを生成する。このため、カソード電位Vcaでハンチングが発生し、受光回路10を使ったフォトン検出ができなくなってしまう。測距性能を高めるためには、受光回路におけるアクティブリチャージ用パルスが生成される時間遅れtdの値を充分に確保し、電圧のハンチングを防止することが望ましい。
 受光回路としてアクティブリチャージ回路が使われる場合、測距などの処理を開始する前にデッドタイムが最小となるように受光回路のアクティブリチャージ用パルスが生成される時間遅れtdの設定を行うことが好ましい。例えば、測距装置の工場出荷時、初回起動時または初期化操作時に実行されるキャリブレーション処理において、SPADアレイ240内の受光回路(画素)においてアクティブリチャージ用パルスが生成される時間遅れtdを決め、デッドタイムを最小化し、測距性能を高めることができる。
 受光回路10のうち、トランジスタTR1と、トランジスタTR2と、スイッチSW2と、スイッチSW3と、パルス生成器PGとを含む部分は、アクティブリチャージ回路91に相当している。また、受光回路10のうち、トランジスタTR0(負荷素子90)と、スイッチSW1を含む部分は、パッシブリチャージ回路に相当している。受光回路10は、パッシブリチャージ回路と、アクティブリチャージ回路とを含む受光回路の一例である。
 なお、受光回路10(図5)とは異なる構成の回路を使ってもよい。例えば、受光回路10に素子を追加した回路を使ってもよい。また、受光回路10の極性を反転させた回路を使ってもよい。極性を反転させた回路を使う場合、PMOSトランジスタは、NMOSトランジスタに置き換わる。また、受光回路10の極性を反転させると、フォトダイオードPDのカソードに正のバイアス電圧が印加される。したがって、上述の説明におけるフォトダイオードPDのカソード電位は、アノード電位に置き換わる。なお、受光回路10に限らず、本明細書で説明するその他の回路についても、極性を反転させた構成を採用することが可能である。
 図7の回路図は、パルス生成器の構成の例を示している。図7のパルス生成器PGは、フリップフロップFPと、インバータINV2とを備えている。フリップフロップFPは、Dフリップフロップである。信号線Loutは、フリップフロップF1のD端子に接続されている。信号線dctrは、フリップフロップF1のクロック端子に接続されている。フリップフロップF1のQ端子と、トランジスタTR1のゲートとの間には、インバータINV2が接続されている。
 図7のパルス生成器PGでは、信号線dctrに供給するクロック信号を制御することによって、信号線Loutの電圧がHIGHレベルになってから、電圧VgをLOWレベルに変化させるまでの時間遅れtdを変えることができる。例えば、クロック信号におけるパルスの間隔を大きくすると、時間遅れtdを大きくすることができる。また、クロック信号におけるパルスの間隔を小さくすると、時間遅れtdを小さくすることができる。図7のパルス生成器PGを使えば、外部から供給されるクロック信号によって、時間遅れを制御することが容易となる。例えば、SPADコントローラ221またはクロック生成器251が信号線dctrにクロック信号を供給することができる。
 なお、図7の回路は、パルス生成器PGの一例にしかすぎない。したがって、これとは異なる構成のパルス生成器を使ってもよい。例えば、インバータチェインによってパルス生成器を実装してもよい。また、遅延器と論理演算素子を組み合わせることによってパルス生成器を実装してもよい。すなわち、入力電圧のレベルが変化してから、時間遅れをもって、トランジスタTR1のゲートにパルスを出力できれば、どのような回路構成のパルス生成器を使ってもよい。
 図8は、本開示による受光装置の例を概略的に示している。図8の受光装置101は、複数の受光回路11と、複数のサンプラ20と、複数のエラー検出器21と、計測回路30と、制御回路40とを備えている。受光回路11は、SPADおよび受光回路を含んでいる。計測回路30は、内部の構成要素として、ヒストグラム生成器31を含んでいる。
 複数の受光回路11は、例えば、受光装置200(図1)のSPADアレイ240に相当する。複数のサンプラ20および複数のエラー検出器21は、例えば、回路ブロック241に配置される。計測回路30は、例えば、処理回路230に相当する。制御回路40は、例えば、制御回路220およびSPADコントローラ221に相当する。
 それぞれの受光回路11は、信号線l_rdを介して後段のサンプラ20に接続されている。サンプラは、バッファともよばれ、受光回路から入力された信号をデジタル化する。それぞれのサンプラ20の出力側には、エラー検出器21に接続されている。そして、それぞれのエラー検出器21の後段には、計測回路30が接続されている。計測回路30は、制御回路40に接続されている。制御回路40は、信号線l_ctを介してそれぞれの受光回路11に接続されている。なお、図8では、複数の信号線l_ctが示されているが、制御用の信号線の本数については、問わない。例えば、制御回路40は、1本の信号線で複数の受光回路11を制御してもよい。なお、受光回路11の構成については、問わない。例えば、受光回路11として上述の図3および図5に示した受光回路を使うことができる。受光回路11は、リチャージ回路であってもよいし、アクティブリチャージ回路であってもよい。また、複数の受光回路11内に異なる構成の回路が混在していてもよい。 
 SPADがフォトンと反応すると、受光回路11は信号線l_rdに電圧信号を出力する。エラー検出器21は、受光回路11から出力された電圧信号に基づき、エラー検出を行うように構成されている。また、サンプラ20は、受光回路11から出力された電圧信号をデジタル化する。ヒストグラム生成器31は、それぞれのサンプラから入力された信号に含まれるパルスに基づいてヒストグラムを生成する。 
なお、図8に示した受光装置の構成は、一例にしかすぎない。例えば、エラー検出器21を、受光回路11と、サンプラ20との間に接続してもよい。また、サンプラ20の機能およびエラー検出器21の機能が統合された回路を、それぞれの受光回路11と、計測回路30の入力端子との間に接続してもよい。また、それぞれの信号線l_rdごとにエラー検出器21を用意せず、複数の信号線l_rdを共通のエラー検出器に接続してもよい。この場合、ひとつのエラー検出器が複数の信号線l_rdのエラー判定を行う必要があるが、必要な回路面積を削減することが可能になる。また、エラー検出器21に相当する機能を、計測回路30側に実装してもよい。この場合、計測回路30は、エラー検出器21の機能を兼ね備えているといえる。
 図9のグラフは、エラー検出器21によるエラー検出の例を示している。エラー検出器21は、例えば、以下で説明する方法によってエラー判定を行うことが可能である。図9のグラフ65~67は、フォトダイオードPDのカソード電位Vcaおよび受光回路11(インバータINV)の出力電圧Vpの波形を示している。いずれのグラフにおいても、横軸は、時刻を示している。
 グラフ65では、カソード電位VcaがインバータINVのしきい値より高い電圧に上がる前に、フォトダイオードPDがフォトンと再反応しており、インバータINVが出力するパルス幅が大きくなりすぎている場合を示している。例えば、エラー検出器21は、受光回路11から出力された電圧信号におけるパルスの立ち上がりを検出する。そして、エラー検出器21は、パルス幅を監視する。エラー検出器21は、パルス幅がしきい値t_hを超えた場合に、エラー判定をする。例えば、エラー検出器21は、周期t_sで信号の電圧をサンプリングし、サンプリングされた電圧が連続してn_h回HIGHとなったら、エラー判定をすることができる。この場合、t_h=t_s×n_hの関係が満たされるよう、t_sおよびn_hの値を設定することができる。ただし、これとは異なる方法によって、エラー判定をしてもよい。
 グラフ66では、受光回路11におけるリチャージ電流が大きすぎるため、フォトダイオードPDの端子間電圧が降伏電圧まで下がらず、クエンチができなくなっている。このため、受光回路11の出力電圧が張り付いてしまう。例えば、エラー検出器21は、受光回路11から出力された電圧信号におけるパルスの立ち上がりを検出する。そして、エラー検出器21は、受光回路11の出力電圧がHIGHとなっている期間を計測する。エラー検出器21は、受光回路11の出力電圧がHIGHとなっている期間がしきい値t_hを超えたら、エラー判定をする。グラフ66の例では、グラフ65のケースと同様の方法によって、エラー判定をすることができる。
 グラフ67では、フォトンとの反応後のフォトダイオードPDに残留電荷が発生している。このため、受光回路11によって、クエンチおよびリチャージの動作が行われていても、フォトダイオードPDでフォトンとの再反応が起こる。フォトンとの再反応により、カソード電位Vcaは、ハンチングする。例えば、エラー検出器21は、受光回路11の電圧信号におけるパルスの立ち下がり後に、受光回路11の出力電圧がLOWとなっている期間がしきい値t_lより短い場合に、エラー判定をする。例えば、エラー検出器21は、周期t_sで信号の電圧をサンプリングし、サンプリングされた電圧が連続してLOWとなった回数がn_l回より少ない場合にエラー判定をする。この場合、t_l=t_s×n_lの関係が満たされるよう、t_sおよびn_lの値を設定することができる。また、これとは異なる方法によって、エラー判定をしてもよい。
 ここでは、受光回路11が、フォトンの検出時にHIGHレベル(正極性)のパルスを出力する場合におけるエラー判定を説明した。エラー検出器21は、受光回路11がLOWレベル(負極性)のパルスを出力する場合にも、エラー判定を行うことができる。その場合、エラー検出器21は、上述の説明におけるHIGHをLOWに、LOWをHIGHに、パルスの立ち下がりをパルスの立ち上がりに、パルスの立ち上がりをパルスの立ち下がりに、それぞれ置き換えた動作を行えばよい。
 エラー検出器21は、エラー判定を行った場合、エラー信号を計測回路30に出力する。例えば、フォトンの検出時にパルスが伝達される信号線とは別個の信号線を使って、エラー信号を伝達してもよい。また、フォトンの検出時にパルスが伝達される信号線に重畳してエラー信号を送信してもよい。エラー検出器21は、検出したエラーの種類を示すエラーコードを含むエラー信号を出力してもよい。エラーコードは、例えば、(1)過少なリチャージ電流、(2)過大なリチャージ電流、(3)短すぎる時間遅れtd、(4)長すぎる時間遅れtdを示す情報を含んでいてもよい。また、エラー信号は、上述のエラー波形の種類を特定する情報または検出された波形に関する情報を含んでいてもよい。
 次に、SPADアレイ240内の複数の画素(受光回路)から出力される電圧信号に基づくエラー判定によってデッドタイムが最小となる設定を探索する処理の例について説明する。
 図10のフローチャートは、本開示による受光装置または測距装置における処理の例を示している。以下では、図10のフローチャートを参照しながら、処理を説明する。
 はじめに、SPADアレイ240が起動される(ステップS101)。そして、計測回路30は、SPADアレイ240内の複数の受光回路におけるエラーをカウントする(ステップS102)。ステップS102におけるエラーの判定および検出は、例えば、上述のエラー検出器21または計測回路30によって行われる。エラー検出器21がエラーを検出する場合、後段の計測回路30は、エラー信号によってSPADアレイ240内におけるエラー判定数の情報を得ることができる。ここで、計測回路30は、エラーコードごとにエラー判定数をカウントしてもよい。
 例えば、SPADアレイ240内のエラー判定数、エラーコードごとのエラー判定数の少なくともいずれかを含む情報をエラー情報とよぶものとする。計測回路30で得られたエラー情報は、制御回路40(制御回路220)に転送される。発光素子を有する測距装置が使われている場合、ステップS102の実行期間中に発光素子の発光を停止し、発光素子からの影響を除去することができる。
 制御回路40は、エラーのカウントが基準の範囲内であるか否かを判定する(ステップS103)。例えば、制御回路40は、SPADアレイ240内のエラー判定数がしきい値未満であるか否かを判定してもよい。また、制御回路40は、エラーコード別のエラー判定数をしきい値と比較し、エラーのカウントが基準の範囲内であるか否かを判定してもよい。これにより、次に行う調整内容を特定することができる。
 ステップS103での判定の結果に応じて、実行される処理が分岐する。制御回路40がエラーのカウントが基準の範囲内であると判定した場合(ステップS103のYES)、調整処理は、完了する(ステップS105)。ステップS205の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 制御回路40がエラーのカウントが基準の範囲外であると判定した場合(ステップS103のNO)、制御回路40は、リチャージ電流および/またはパルス生成器PGでパルスが生成される時間遅れの少なくともいずれかを変更する(ステップS104)。ステップS103の判定が否定的となる場合の例としては、エラー判定数がしきい値より多い場合または特定のエラーコードのエラー判定数がしきい値より多い場合が挙げられる。ステップS104における調整内容は、SPADアレイ240内の受光回路の種類による。例えば、受光回路がパッシブリチャージ回路である場合、リチャージ電流を調整する。また、受光回路がパッシブリチャージ回路である場合、パルス生成器PGでパルスが生成される時間遅れtdを調整する。SPADコントローラ221がSPADアレイ240内のそれぞれの受光回路の設定変更を行うことができる。この場合、制御回路40は、SPADコントローラ221に設定の変更対象となる画素(受光回路)のアドレスと、設定内容とを通知してもよい。
 例えば、リチャージ電流の大きさが不足していると判定される場合、制御回路40は、受光回路におけるリチャージ電流をより大きく調整することができる。この場合、制御回路40は、負荷素子または負荷回路における抵抗値をより小さく調整してもよい。また、リチャージ電流が過大であると判定される場合、制御回路40は、受光回路におけるリチャージ電流をより小さく調整することができる。この場合、制御回路40は、負荷素子または負荷回路における抵抗値をより小さく調整してもよい。
 また、パルス生成器PGでパルスが生成される時間遅れtdが短すぎると判定される場合、制御回路40は、時間遅れtdをより長く調整することができる。パルス生成器PGでパルスが生成される時間遅れtdが長すぎると判定される場合、制御回路40は、時間遅れtdをより短く調整することができる。
 ステップS104の処理が完了したら、ステップS102およびステップS103の処理が再び実行される。すなわち、再び複数の受光回路におけるエラーがカウントされ、エラーのカウントが基準の範囲内であるか否かが判定される。エラーのカウントが基準の範囲内となったら(ステップS103のYES)、調整処理は、完了する(ステップS105)。ステップS105の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 上述の図10の処理の実行タイミングは、装置のキャリブレーション時に限定されない。したがって、装置のキャリブレーション時以外のタイミングに、図10の処理を実行してもよい。例えば、装置の動作開始後に、図10の処理を実行してもよい。
 図11のテーブルT1は、SPADアレイ240内の受光回路においてそれぞれの値のリチャージ電流を使ったときにおけるエラー判定数を示している。例えば、計測回路30または制御回路40は、異なるリチャージ電流を使ってエラー判定数を計測し、テーブルT1を生成する。図11を参照すると、リチャージ電流を抑えた場合にエラー判定数が少なくなっている。例えば、制御回路40は、エラー判定数のしきい値thに基づいてリチャージ電流の調整を行ってもよい。この場合、制御回路40は、リチャージ電流ic1を使ったときのエラー判定数ec1をしきい値thと比較する。ec1>thである場合、制御回路40は、リチャージ電流をic2(ic1≠ic2)に変更する。制御回路40は、エラーコードの情報に基づいてic1より大きいic2を使うのか、あるいはic1より小さいic2を使うのかを決めることができる。そして、制御回路40によってエラー判定数がしきい値より少ないと判定されたら、そのときのリチャージ電流を使って測距を行うことができる。
 例えば、調整処理でテーブルT1のデータが得られた場合、しきい値thとしてエラー判定数3を使うことができる。ただし、しきい値は、これとは異なっていてもよい。なお、図11のテーブルに含まれる電流値は例にしかすぎず、受光回路で使われるリチャージ電流の値を限定することを意図したものではない。
 なお、異なるリチャージ電流を使ってエラー判定数の計測を行う場合、受光回路で設定可能なリチャージ電流の最大値imaxからエラー判定数の計測を開始してもよいし、受光回路で設定可能なリチャージ電流の最小値iminからエラー判定数の計測を開始してもよい。また、imaxとiminとの間にある値のリチャージ電流よりエラー判定数の計測を開始してもよい。すなわち、調整処理の開始時におけるリチャージ電流については、限定しない。
 制御回路40は、エラー判定数がしきい値thより少なくなった後に調整処理を継続してもよい。例えば、デッドタイムの短縮のため、可能な限り大きいリチャージ電流を使うことが望まれる場合、より大きいリチャージ電流を使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。リチャージ電流の変更後においてもエラー判定数がしきい値thより少ない場合、より大きいリチャージ電流を使って測距を行うことができる。また、消費電力の抑制のため、可能な限り小さいリチャージ電流を使うことが望まれる場合、より小さいリチャージ電流を使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。リチャージ電流の変更後においてもエラー判定数がしきい値thより少ない場合、より小さいリチャージ電流を使って測距を行うことができる。
 図11のテーブルT2は、SPADアレイ240内の受光回路においてそれぞれの値のリチャージ電流を使ったときにおけるエラー判定数を示している。例えば、計測回路30または制御回路40は、異なる時間遅れtdを使ってエラー判定数を計測し、テーブルT2を生成する。図11を参照すると、パルス生成器PGがより短い時間遅れtdでパルスを生成した場合にエラー判定数が少なくなっている。例えば、制御回路40は、エラー判定数のしきい値thに基づいて時間遅れtdの調整を行ってもよい。この場合、制御回路40は、時間遅れtdを使ったときのエラー判定数ed1をしきい値thと比較する。ed1>thである場合、制御回路40は、時間遅れをtd(td≠td)に変更する。制御回路40は、エラーコードの情報に基づいてtdより大きいtdを使うのか、あるいはtdより小さいtdを使うのかを決めることができる。そして、制御回路40によってエラー判定数がしきい値より少ないと判定されたら、そのときの時間遅れでアクティブリチャージ用パルスを生成して測距を行うことができる。
 例えば、調整処理でテーブルT2のデータが得られた場合、しきい値thとしてエラー判定数3を使うことができる。ただし、しきい値は、これとは異なっていてもよい。なお、図11のテーブルに含まれる時間遅れの値は例にしかすぎず、パルスが生成される時間遅れの値を限定することを意図したものではない。
 なお、異なるリチャージ電流を使ってエラー判定数の計測を行う場合、パルス生成器PGに設定可能な時間遅れの最小値tdminからエラー判定数の計測を開始してもよいし、パルス生成器PGに設定可能な時間遅れの最小値tdmaxからエラー判定数の計測を開始してもよい。また、tdminとtdmaxとの間にある値の時間遅れの値よりエラー判定数の計測を開始してもよい。すなわち、調整処理の開始時における時間遅れについては、限定しない。
 制御回路40は、エラー判定数がしきい値thより少なくなった後に調整処理を継続してもよい。例えば、デッドタイムの短縮のため、可能な限り短い時間遅れを使うことが望まれる場合、より短い時間遅れを使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。短い時間遅れの変更後においてもエラー判定数がしきい値thより少ない場合、より短い時間遅れを使って測距を行うことができる。また、消費電力の抑制のため、可能な限り長い時間遅れを使うことが望まれる場合、より長い時間遅れを使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。時間遅れの変更後においてもエラー判定数がしきい値thより少ない場合、より長い時間遅れを使って測距を行うことができる。
 次に、本開示による受光装置、測距装置および受光回路で使用することが可能な負荷回路の例について説明する。
 図3および図5では、リチャージ電流を制御する負荷素子90としてトランジスタTR0が使われている受光回路の例を示した。ただし、リチャージ電流をより高い精度で制御するために、負荷素子90の代わりに複数の素子を含む負荷回路を使ってもよい。以下では、抵抗値またはリチャージ電流の制御が可能な負荷回路の例について説明する。
 図12の回路図は、抵抗値を調整可能な負荷回路の例を示している。図12には、受光回路に接続された負荷回路90Aが示されている。負荷回路90Aは、スイッチSW1を介して、フォトダイオードPDのカソードおよび信号線Linに接続されている。例えば、図3および図5の回路図におけるトランジスタTR0を負荷回路90Aに置き換えることが可能である。スイッチSW1は、パッシブリチャージのイネーブル/ディスエーブルを切り替えるためのスイッチである。受光回路でパッシブリチャージのディスエーブルを行わない場合、スイッチSW1を省略し、負荷回路90Aを直接フォトダイオードPDのカソードおよび信号線Linに接続してもよい。
 負荷回路90Aは、直列に接続された抵抗器とスイッチのペアを複数有する。抵抗器R1は、ペアとなるスイッチs1と直列に接続されている。また、抵抗器R2は、ペアとなるスイッチs2と直列に接続されている。抵抗器R3は、ペアとなるスイッチs3と直列に接続されている。同様に、抵抗器R4は、ペアとなるスイッチs4と直列に接続されている。図12の負荷回路90Aは、抵抗器とスイッチのペアを4つ含んでいる。ただし、負荷回路が有する抵抗器とスイッチのペアの数は、これとは異なっていてもよい。例えば、抵抗器とスイッチのペアの数が2以上の任意の整数である、負荷回路を使うことができる。また、抵抗器とスイッチのペアは、互いに並列に接続されている。それぞれのペアのフォトダイオードPDと反対側にある端点には、電源電位Vddが印加される。
 負荷回路90A内のスイッチs1~s4は、SPADアレイ240を制御する回路によって切り替えられるものとする。例えば、スイッチs1~s4は、制御回路40、制御回路220、SPADコントローラ221、外部処理回路300の少なくともいずれかの回路によってオン/オフされる。スイッチs1~s4は、例えば、MOSトランジスタによって実装される。ただし、スイッチs1~s4の実装方法については、問わない。
 負荷回路90Aでは、オンにするスイッチの数に応じて抵抗値の調整を行うことが可能である。オンにするスイッチの数を増やすと、並列に接続された抵抗器の数が増えるため、負荷回路90Aの抵抗値が低下する。例えば、抵抗器R1~R4の抵抗値が等しいと仮定する。この場合、2つのスイッチをオンにすると、1つのスイッチがオンになっている場合と比べ、負荷回路90Aの抵抗値が1/2になる。同様に、3つのスイッチをオンにすると、1つのスイッチがオンになっている場合と比べ、負荷回路90Aの抵抗値が1/3になる。さらに、4つのスイッチをオンにすると、1つのスイッチがオンになっている場合と比べ、負荷回路90Aの抵抗値が1/4になる。
 なお、負荷回路の複数の抵抗器の抵抗値は、必ず等しくなくてもよい。したがって、負荷回路は、抵抗値の異なる抵抗器を含んでいてもよい。
 同じ電源電位Vddを使う場合、負荷回路90Aの抵抗値を大きくすると、リチャージ電流が小さくなる。また、負荷回路90Aの抵抗値を小さくすると、リチャージ電流を大きくすることができる。このように、本開示による受光装置、受光回路および測距装置では、負荷回路90A内でオンにするスイッチの数を変えることによって、リチャージ電流を調整してもよい。負荷回路90Aを使うと、高い精度でリチャージ電流を調整することが可能になる。
 図12の例で示したように、本開示による受光回路は、受光素子と、基準電位と受光素子との間に並列に接続された複数の抵抗器と、それぞれが抵抗器と直列に接続されている複数のスイッチと、受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路とを備えていてもよい。本開示による受光回路は、スイッチの切り替えに応じ、受光素子に供給される電流が調整されるように構成されていてもよい。上述の電源電位Vddは、基準電位の一例である。上述のフォトダイオードPDは、受光素子の一例である。読み出し回路は、例えば、図3および図5に示した回路のうち、トランジスタTR0、スイッチSW1およびフォトダイオードPDを除いた部分に相当する。
 図13の回路図は、電流値を調整可能な負荷回路の例を示している。図13には、受光回路に接続された負荷回路90Bが示されている。負荷回路90Bは、スイッチSW1を介して、フォトダイオードPDのカソードおよび信号線Linに接続されている。例えば、図3および図5の回路図におけるトランジスタTR0を負荷回路90Bに置き換えることが可能である。スイッチSW1は、パッシブリチャージのイネーブル/ディスエーブルを切り替えるためのスイッチである。受光回路でパッシブリチャージのディスエーブルを行わない場合には、スイッチSW1を省略し、負荷回路90Bを直接フォトダイオードPDのカソードおよび信号線Linに接続してもよい。以下では、スイッチSW1がオンであると仮定して、負荷回路90Bを説明する。
 負荷回路90Bは、電流源CSと、トランジスタtr0と、トランジスタtr1と、トランジスタtr3と、トランジスタtr4と、スイッチse2と、スイッチse3と、スイッチse4とを備えている。電流源CSとして、電流源トランジスタを使うことができる。電流源トランジスタとして、MOSトランジスタを使うことができる。ただし、電流源CSの実装方法については、問わない。電流源CSは、定電流源であってもよい。トランジスタtr0~tr4は、PMOSトランジスタである。スイッチse2~se4は、電気的な接続先を接点c0と接点c1との間で切り替えることが可能なスイッチである。
 トランジスタtr0~tr4のソースは、いずれも電源電位Vddに接続されている。また、トランジスタtr2~tr4のドレインは、スイッチSW1を介してフォトダイオードPDおよび信号線Linに接続されている。トランジスタtr0とトランジスタtr1は、電源電位Vddと、電流源CSとの間の電流icsをミラーするカレントミラー回路を形成している。このため、トランジスタtr0のゲートとドレインが短絡されている。また、トランジスタtr0のゲートは、信号線Lcを介してトランジスタtr1のゲートに接続されている。
 トランジスタtr2のゲートには、スイッチse2が接続されている。また、トランジスタtr3のゲートには、スイッチse3が接続されている。さらに、トランジスタtr4のゲートには、スイッチse4が接続されている。スイッチse2~se4の接点c0は、いずれも電源電位Vddに接続されている。また、スイッチse2~se4の接点c1は、いずれも信号線Lcと接続されている。
 負荷回路90B内のスイッチse2~se4は、SPADアレイ240を制御する回路によって切り替え可能であるものとする。例えば、スイッチse2~se4は、制御回路40、制御回路220、SPADコントローラ221または外部処理回路300の少なくともいずれかの回路によって切り替えられる。
 図13の負荷回路90Bは、トランジスタと、当該トランジスタのゲートに接続されたスイッチのペアを3つ含んでいる。ただし、トランジスタとスイッチのペアの数は、これとは異なっていてもよい。例えば、負荷回路は、トランジスタとスイッチのペアを、1以上の任意の数で含んでいてもよい。図13の回路に、トランジスタとスイッチのペアを追加する場合、追加のトランジスタとスイッチの配線は、既存のトランジスタとスイッチの配線方法にしたがう。スイッチを追加する場合、接点c0が電源電位Vddに接続され、接点c1が信号線Lcに接続される。また、トランジスタを追加する場合、ゲートがスイッチに接続され、ソースが電源電位Vddに接続され、ドレインが他のトランジスタのドレインに接続される。
 負荷回路90Bでは、接点c1側をオンにしたスイッチの数に応じて、電流値を調整することが可能である。例えば、接点c1側をオンにしたスイッチの数が0である場合、受光回路には、電流源CSの電流icsに等しいリチャージ電流が供給される。接点c1側をオンにしたスイッチが1つである場合、受光回路には、電流源CSの電流の2倍(2×ics)のリチャージ電流が供給される。また、接点c1側をオンにしたスイッチが2つである場合、受光回路には、電流源CSの電流の3倍(3×ics)のリチャージ電流が供給される。さらに、接点c2側をオンにしたスイッチが3つである場合、受光回路には、電流源CSの電流の4倍(4×ics)のリチャージ電流が供給される。このように、本開示による受光装置、受光回路および測距装置では、負荷回路90B内で接点c1側をオンにするスイッチの数を変えることによって、リチャージ電流を調整してもよい。負荷回路90Bを使うと、高い精度でリチャージ電流を調整することが可能になる。
 なお、上述の受光回路の極性を反転させた回路を使ってフォトン検出を行う場合、負荷回路90Bの極性を反転させてもよい。図13のPMOSトランジスタをNMOSトランジスタに置き換えることにより、負荷回路90Bの極性を反転させることが可能である。
 図13の例で示したように、本開示による受光回路は、受光素子と、電流源と、スイッチと、カレントミラー回路と、トランジスタとを備えていてもよい。スイッチは、基準電位に接続された第1接点側または受光素子に接続された第2接点側のいずれかをオンにすることが可能である。カレントミラー回路は、基準電位と電流源との間に流れる第1電流をミラーした第2電流を出力側より供給するように構成されている。トランジスタは、第1信号電極が基準電位に接続され、第2信号電極が受光素子およびカレントミラー回路の出力側に接続され、制御電極がスイッチに接続されている。
 ここで、第1接点は、例えば、上述のスイッチse2~se4における接点c0に相当する。第2接点は、例えば、上述のスイッチse2~se4における接点c1に相当する。カレントミラー回路は、例えば、上述のトランジスタtr0とトランジスタtr1によって形成されたカレントミラー回路である。カレントミラー回路の出力側は、例えば、トランジスタtr1のドレインに相当する。第1信号電極は、例えば、MOSトランジスタのソースである。第2信号電極は、例えば、MOSトランジスタのドレインである。ただし、第1信号電極と第2信号電極とMOSトランジスタの電極との対応関係は、反転していてもよい。制御電極は、例えば、MOSトランジスタのゲートである。
 また、図13の例で示したように、本開示による受光回路は、スイッチおよびトランジスタを複数備えていてもよい。本開示による受光回路は、スイッチの切り替えに応じて受光素子に第1電流をN倍(Nは正の整数)した第3電流を受光素子に供給するように構成されていてもよい。また、本開示による受光回路は、受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路をさらに備えていてもよい。
 SPADのリチャージ方法の制御時に、受光回路で使われる電源電位Vddを変更してもよい。電源電位Vddを変更することにより、パッシブリチャージ時におけるリチャージ電流を調整することができる。SPADアレイ内の画素に共通の電源電位が供給されている場合、短時間でSPADアレイ内の全画素のリチャージ電流の設定を変更することができる。ただし、SPADアレイ内の画素に共通の電源電位が供給されない構成の受光装置および測距装置を使ってもよい。例えば、複数の電源回路を使って、SPADアレイ内の画素に電源電位を供給してもよい。
 本開示による受光装置および測距装置では、電源電位Vddの値を調整可能な電源回路と、上述の負荷回路90Aまたは90Bを組み合わせて使ってもよい。複数の構成要素を組み合わせて使い、受光回路で幅広い範囲のリチャージ電流値を設定することが可能となる。
 負荷回路の設定および電源回路の設定を最適化することによって、受光装置または測距装置におけるデッドタイムを最小化させることが可能である。以下では、負荷回路の設定および電源回路の設定を決定する処理の例を説明する。
 図14のフローチャートは、負荷回路の設定を決定する処理の例を示している。以下では、図14のフローチャートを参照しながら、処理を説明する。
 はじめに、SPADアレイ240が起動される(ステップS201)。そして、計測回路30は、SPADアレイ240内の複数の受光回路におけるエラーをカウントする(ステップS202)。ステップS202におけるエラーの判定および検出は、例えば、上述のエラー検出器21または計測回路30によって行われる。エラー検出器21がエラーを検出する場合、後段の計測回路30は、エラー信号によってSPADアレイ240内におけるエラー判定数の情報を得ることができる。ここで、計測回路30は、エラーの種類を特定するエラーコードごとにエラー判定数をカウントしてもよい。
 例えば、SPADアレイ240内のエラー判定数またはエラーコードごとのエラー判定数の少なくともいずれかを含む情報をエラー情報とよぶものとする。計測回路30で得られたエラー情報は、制御回路40(制御回路220)に転送される。発光素子を有する測距装置が使われている場合、ステップS202の実行期間中に発光素子の発光を停止することができる。これにより、発光素子による影響を排除することができる。
 制御回路40は、エラーのカウントが基準の範囲内であるか否かを判定する(ステップS203)。例えば、制御回路40は、SPADアレイ240内のエラー判定数がしきい値未満であるか否かを判定してもよい。また、制御回路40は、エラーコード別のエラー判定数をしきい値と比較し、エラーのカウントが基準の範囲内であるか否かを判定してもよい。例えば、制御回路40は、ステップS203でエラー判定数およびエラーコードに基づき、リチャージ電流が過少なのか、あるいはリチャージ電流が過大なのかを推定することができる。
 ステップS203での判定の結果に応じて、実行される処理が分岐する。制御回路40がエラーのカウントが基準の範囲内であると判定した場合(ステップS203のYES)、調整処理は、完了する(ステップS205)。ステップS205の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 制御回路40がエラーのカウントが基準の範囲外であると判定した場合(ステップS203のNO)、制御回路40は、リチャージ電流または負荷回路の抵抗値の少なくともいずれかを変更する(ステップS204)。ステップS203の判定が否定的となる場合の例としては、エラー判定数がしきい値より多い場合、特定のエラーコードのエラー判定数がしきい値より多い場合が挙げられる。上述のように、SPADコントローラ221がSPADアレイ240内のそれぞれの受光回路の設定変更を行ってもよい。この場合、制御回路40は、SPADコントローラ221に設定の変更対象となる画素(受光回路)のアドレスと、設定内容とを通知してもよい。
 例えば、リチャージ電流の大きさが不足していると判定される場合、制御回路40は、受光回路におけるリチャージ電流をより大きく変更することができる。この場合、制御回路40は、負荷回路における抵抗値をより小さく変更してもよい。負荷回路として、例えば、図12の負荷回路90Aまたは図13の負荷回路90Bを使うことができる。また、SPADアレイ240内の受光回路において、図4のグラフ62に示した現象が検出され、リチャージ電流が大きすぎると判定される場合、制御回路40は、受光回路におけるリチャージ電流をより小さく変更することができる。この場合、制御回路40は、負荷回路における抵抗値をより大きく変更してもよい。
 ステップS204の処理が完了したら、ステップS202およびステップS203の処理が再び実行される。すなわち、再び複数の受光回路におけるエラーがカウントされ、エラーのカウントが基準の範囲内であるか否かが判定される。エラーのカウントが基準の範囲内となったら(ステップS203のYES)、キャリブレーション処理は、完了する(ステップS205)。ステップS205の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 上述の図14の処理の実行タイミングは、装置のキャリブレーション時に限定されない。したがって、装置のキャリブレーション時以外のタイミングに、図14の処理を実行してもよい。例えば、装置の動作開始後に、図12の負荷回路90Aにおける抵抗値を調整してもよい。
 図15のフローチャートは、電源回路の設定を決定する処理の例を示している。以下では、図15のフローチャートを参照しながら、処理を説明する。
 はじめに、SPADアレイ240が起動される(ステップS211)。そして、計測回路30は、SPADアレイ240内の複数の受光回路におけるエラーをカウントする(ステップS212)。ステップS212におけるエラーの判定および検出は、例えば、上述のエラー検出器21または計測回路30によって実行される。エラー検出器21がエラーを検出する場合、後段の計測回路30は、エラー信号によってSPADアレイ240内におけるエラー情報を得ることができる。
 計測回路30で得られたエラー情報は、制御回路40(制御回路220)に転送される。発光素子を有する測距装置が使われている場合、ステップS202では発光素子の発光を止めることができる。これにより、発光素子の影響を排除することができる。
 制御回路40は、エラーのカウントが基準の範囲内であるか否かを判定する(ステップS213)エラー情報に基づく判定が行われるのであれば、ステップS213における詳細な判定方法については、問わない。
 ステップS213での判定の結果に応じて、実行される処理が分岐する。制御回路40がエラーのカウントが基準の範囲内であると判定した場合(ステップS213のYES)、調整処理は、完了する(ステップS215)。ステップS215の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 制御回路40がエラーのカウントが基準の範囲外であると判定した場合(ステップS213のNO)、制御回路40は、電源回路を制御し、SPADアレイ240の電源電圧を変更する(ステップS214)。ステップS213の判定が否定的となる場合の例としては、エラー判定数がしきい値より多い場合、特定のエラーコードのエラー判定数がしきい値より多い場合が挙げられる。制御回路40に代わって、SPADコントローラ221または外部処理回路300が電源回路の設定変更を行ってもよい。また、複数の電源回路がSPADアレイ240に接続されている場合、ステップS214で少なくともいずれかの電源回路の設定変更を行ってもよい。
 例えば、リチャージ電流の大きさが不足していると判定される場合、制御回路40は、電源回路を制御し、SPADアレイ240内で使われる電源電位Vddをより高く変更することができる。これにより、それぞれの受光回路におけるリチャージ電流を増やすことができる。また、SPADアレイ240内の受光回路において、図4のグラフ62に示した現象が検出され、リチャージ電流が過大であると判定される場合、制御回路40は、電源回路を制御し、SPADアレイ240内で使われる電源電位Vddをより低く変更することができる。これにより、SPADアレイ240内の受光回路におけるリチャージ電流を減らすことができる。
 ステップS204の処理が完了したら、ステップS202およびステップS203の処理が再び実行される。すなわち、再び複数の受光回路におけるエラーがカウントされ、エラーのカウントが基準の範囲内であるか否かが判定される。エラーのカウントが基準の範囲内となったら(ステップS203のYES)、調整処理は、完了する(ステップS205)。ステップS205の後、測距装置は、発光素子から光を物体OBJに照射し、測距処理を開始してもよい。
 上述の図15の処理の実行タイミングは、装置のキャリブレーション時に限定されない。したがって、装置のキャリブレーション時以外のタイミングに、図15の処理を実行してもよい。例えば、装置の動作開始後に、電源回路が供給する電源電位Vddの値を調整してもよい。
 図16のテーブルT3は、SPADアレイ240で複数の値の電源電位Vddを使ったときにおけるエラー判定数を示している。例えば、計測回路30または制御回路40は、異なる電源電位Vddを使ってエラー判定数を計測し、テーブルT3を生成する。図16を参照すると、より高い電源電位Vddが設定されたときにエラー判定数が少なくなっている。例えば、制御回路40は、エラー判定数のしきい値thに基づいて電源電位Vddの調整を行ってもよい。この場合、制御回路40は、電源電位Vddを使ったときのエラー判定数ed1をしきい値thと比較する。ed1>thである場合、制御回路40は、電源電位をVdd(Vdd≠Vdd)に変更する。制御回路40は、エラーコードの情報に基づいてVddより高いVddを使うのか、あるいはVddより低いVddを使うのかを決めることができる。そして、制御回路40によってエラー判定数がしきい値より少ないと判定されたら、そのときの電源電位を使って測距を行うことができる。
 例えば、調整処理でテーブルT3のデータが得られた場合、しきい値thとしてエラー判定数3を使うことができる。ただし、しきい値は、これとは異なっていてもよい。なお、図16のテーブルに含まれる電源電位の値は例にしかすぎず、受光回路で使用されるリ電源電位の値を限定することを意図したものではない。
 なお、複数の電源電位を使ってエラー判定数の計測を行う場合、受光回路で使用可能な最も高い電源電位Vddmaxからエラー判定数の計測を開始してもよいし、受光回路で使用可能な最も低い電源電位Vddminからエラー判定数の計測を開始してもよい。また、VddmaxとVddminとの間にある値の電源電位よりエラー判定数の計測を開始してもよい。すなわち、調整処理の開始時における電源電位については、限定しない。
 制御回路40は、エラー判定数がしきい値thより少なくなった後に調整処理を継続してもよい。例えば、デッドタイムの短縮のため、可能な限り大きいリチャージ電流を使うことが望まれる場合、より高い電源電位を使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。電源電位の変更後においてもエラー判定数がしきい値thより少ない場合、より高い電源電位を使って測距を行うことができる。また、消費電力の抑制のため、可能な限り低い電源電位を使うことが望まれる場合、より低い電源電位を使ってエラー判定数をカウントし、当該エラー判定数をしきい値thと比較することができる。電源電位の変更後においてもエラー判定数がしきい値thより少ない場合、より低い電源電位を使って測距を行うことができる。
 本開示による受光装置は、受光素子を含む受光回路と、受光回路に電源電位を供給するように構成された電源回路と、フォトンとの反応で受光回路が出力する信号に基づいて電源回路が供給する電源電位を制御するように構成された制御回路とを備えていてもよい。
 上述のように、本開示による受光装置は、受光回路に接続され、受光素子にリチャージ電流を供給する負荷回路をさらに備えていてもよい。この場合、制御回路は、フォトンとの反応で受光回路が出力する信号に基づいて負荷回路のリチャージ電流または負荷回路の抵抗値の少なくともいずれかを含むパラメータを変更するように構成されていてもよい。
 また、本開示による受光装置は、複数の受光回路を備えていてもよい。この場合、制御回路は、複数の受光回路が出力する信号に基づき、電源回路の電源電位または少なくともいずれかの受光回路に接続された負荷回路のパラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 また、本開示による受光装置は、受光回路が出力する信号の波形に基づいてエラー判定するように構成されたエラー検出器をさらに備えていてもよい。エラー検出器として、上述のエラー検出器21または計測回路30を使うことができる。この場合、制御回路は、複数の受光回路から出力された信号におけるエラー判定数に基づいて電源回路の電源電位または少なくともいずれかの受光回路に接続された負荷回路のパラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 また、本開示による受光装置では、少なくともいずれかの受光回路がパッシブリチャージを行うように構成されていてもよい。この場合、制御回路は、エラー判定数が第1しきい値未満となるように受光回路のリチャージ電流を調整するように構成されている。
 さらに、本開示による受光装置では、少なくともいずれかの受光回路がアクティブリチャージを行うように構成されていてもよい。この場合、制御回路は、エラー判定数に基づいて受光回路でアクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されている。
 エラー検出器は、パルス幅が第2しきい値を超える信号またはパルスどうしの間隔が第3しきい値未満である信号の少なくともいずれかをエラー判定するように構成されていてもよい。また、本開示による受光装置では、受光素子としてアバランシェフォトダイオードを使ってもよい。
 次に、受光回路から出力信号がエラー判定された場合に、当該信号を補正する機能を備えた受光装置の例について説明する。
 図17のブロック図は、変形例2による測距装置の例を示している。図17の受光装置102では、サンプラ20と、計測回路30のそれぞれの入力端子との間に、エラー補正回路22が接続されている。エラー補正回路22は、サンプラ20から出力された電圧信号のうち、エラー状態と判定された電圧信号を補正するように構成されている。エラー補正回路22は、エラー検出器21に、エラー判定された電圧信号を、エラー状態でない電圧信号に変換する機能を追加したものに相当する。エラー補正回路22は、例えば、サンプラ20とともに回路ブロック241に配置されている。エラー検出器21がエラー補正回路22に代わっている点を除けば、受光装置102の構成および機能は、上述の受光装置101と同様である。
 図17に示した受光装置の構成は、一例にしかすぎない。例えば、エラー補正回路22を、受光回路11と、サンプラ20との間に接続してもよい。また、サンプラ20の機能およびエラー補正回路22の機能が統合された回路を、それぞれの受光回路11と、計測回路30の入力端子との間に接続してもよい。また、それぞれの信号線l_rdごとにエラー補正回路22を用意せず、複数の信号線l_rdを共通のエラー補正回路に接続してもよい。この場合、ひとつのエラー補正回路が複数の信号線l_rdのエラー判定と信号の補正を行う必要があるが、必要な回路面積を削減することが可能になる。なお、エラー判定された電圧信号を、エラー状態でない電圧信号に変換する機能は、計測回路30の入力段に実装されていてもよい。この場合、計測回路30は、エラー検出器21から受信したエラー信号に基づいて、受光回路11から出力された電圧信号の補正を行うことができる。すなわち、計測回路30がエラー補正回路22を含む構成を採用することも可能である。
 なお、受光回路11の構成については、問わない。例えば、受光回路11として上述の図3および図5に示した受光回路を使うことができる。受光回路11は、リチャージ回路であってもよいし、アクティブリチャージ回路であってもよい。また、複数の受光回路11内に異なる構成の回路が混在していてもよい。
 図18および図19のグラフは、図17の受光装置102における電圧波形の補正処理の例を示している。いずれのグラフにおいても、横軸は、時刻を示している。
 図18のグラフ73は、エラー補正回路22の入力電圧Vai、エラー補正回路22の出力電圧Vaoおよびエラー信号Vesの波形を示している。グラフ73は、受光回路11でパッシブリチャージが行われているが、リチャージにかかる時間が長くなりすぎている。このため、グラフ73では、受光回路11から出力されるパルス幅が大きくなりすぎている。例えば、エラー補正回路22は、受光回路11から出力された電圧信号におけるパルスの立ち上がりを検出する。そして、エラー補正回路22は、パルス幅を監視する。エラー補正回路22は、エラー判定の行われるまで、入力された信号をそのまま出力する。エラー補正回路22は、パルス幅がしきい値t_hを超えた場合、エラー判定をする。エラー補正回路22は、パルスの検出中にエラー判定を行ったら、当該パルスのうち、しきい値t_hを超える部分をマスキングする。
 グラフ73の例において、エラー補正回路22は、パルスの立ち上がりから期間t_hの部分でHIGHの電圧を出力している。そして、エラー補正回路22は、パルス幅がt_hを超えた後に相当する期間t_m1の部分でLOWの電圧を出力する。このように、エラー補正回路22は、受光回路11がしきい値t_hを超えるパルス幅のパルスを出力した場合であっても、パルス幅がしきい値t_hに等しいパルスに補正することができる。なお、グラフ73の例では、パルスがマスキングされている期間t_m1に、エラー信号Vesの電圧がHIGHになっている。これにより、後段の計測回路30に、エラー判定が行われた旨を通知することが可能となる。なお、エラー補正回路22は、計測回路30にエラーコードを通知してもよい。
 エラー補正回路22は、周期t_sで入力電圧Vaiをサンプリングし、サンプリングされた電圧が連続してn_h回HIGHレベルであった場合に、エラー判定を行うことができる。ここで、t_h=t_s×n_hの関係が満たされるように、t_sおよびn_hの値を設定することができる。例えば、t_s=1ナノ秒、n_h=10、t_h=10ナノ秒に設定することが可能である。ただし、これとは異なる方法によって、エラー判定を行ってもよい。
 図19のグラフ74は、エラー補正回路22の入力電圧Vai、エラー補正回路22の出力電圧Vaoおよびエラー信号Vesの波形を示している。グラフ74の例では、受光回路11でアクティブリチャージが行われている。グラフ74の例では、グラフ64またはグラフ67に例示した現象によって受光回路11の出力電圧(すなわち、エラー補正回路22の入力電圧Vai)がハンチングしている。エラー補正回路22は、エラー判定の行われるまで、入力された信号をそのまま出力する。例えば、エラー補正回路22は、入力電圧Vaiにおけるパルスの立ち下がり後に、入力電圧Vaiがしきい値t_lより短い期間LOWとなっている場合、エラー判定をする。エラー補正回路22は、エラー判定をしたら、HIGHのエラー信号Vesを出力してもよい。また、エラー補正回路22は、エラーコードを計測回路30に通知してもよい。エラー補正回路22は、エラー判定後に所定の期間t_m2、パルスをマスキングする。
 グラフ74の例において、エラー補正回路22は、エラー判定後の期間t_m2において、LOWレベルの電圧を出力している。この期間t_m2をマスキング期間とよぶものとする。エラー判定後、マスキング期間t_m2を経過すると、エラー補正回路22は、再び、入力された信号をそのまま出力する。例えば、グラフ74では、マスキング期間t_m2の経過後、エラー補正回路22は、再びパルスを出力している。マスキング期間t_m2として、例えば、しきい値t_lより大きい値を設定することができる。
 また、エラー補正回路22は、入力電圧Vaiにおけるエラー判定の状況に応じて、マスキング期間t_m2を調整してもよい。例えば、グラフ74の入力電圧Vaiでは、初回のパルスの到来後、しきい値t_lより短い間隔で3つのパルスが到来している。このため、エラー補正回路22は、白い矢印で示されたタイミングで、続けて3回エラー判定をすることになる。ただし、エラー補正回路22は、最後にエラー判定がされてから、期間t_r、エラー判定がされない場合に、エラー状態を解除することができる。エラー状態が解除されたら、エラー補正回路22は、再び入力されたパルスをそのまま出力する。グラフ74の例のように、エラー補正回路22は、エラー状態を解除したとき、エラー信号VesをLOWにしてもよい。なお、エラー補正回路22は、期間t_m2の間、連続的にHIGHのエラー信号Vesを出力する代わりに、エラー判定がされるたびに、不連続なHIGHのエラー信号Vesを出力してもよい。
 例えば、エラー補正回路22は、周期t_sで信号の電圧をサンプリングし、サンプリングされた電圧が連続してLOWとなった回数がn_l回より少ない場合にエラー判定を行うことができる。t_l=t_s×n_lの関係が満たされるよう、t_sおよびn_lの値を設定することができる。ただし、エラー補正回路22は、これとは異なる方法によって、エラー判定を行ってもよい。
 ここでは、受光回路11が、フォトンの検出時にHIGHレベル(正極性)のパルスを出力する場合におけるエラー判定およびエラー補正について説明した。ただし、エラー補正回路22は、受光回路11がLOWレベル(負極性)のパルスを出力する場合にも、エラー判定を行うことが可能である。その場合、エラー補正回路22は、上述の説明におけるHIGHをLOWに、LOWをHIGHに、パルスの立ち下がりをパルスの立ち上がりに、パルスの立ち上がりをパルスの立ち下がりに、それぞれ置き換えた動作を行えばよい。
 エラー補正回路22を備えた受光装置102を使った場合でも、上述のフローチャートまたはテーブルを使った、受光回路、パルス生成器または電源回路の調整処理を実行することが可能である。
 このように、本開示による受光装置は、受光回路が出力する信号の波形に基づきエラー判定をし、エラー判定をされた信号の波形を補正するように構成されたエラー補正回路をさらに備えていてもよい。エラー補正回路として、例えば、上述のエラー補正回路22または計測回路30を使うことができる。この場合、エラー補正回路は、パルス幅が第2しきい値を超える信号またはパルスどうしの間隔が第3しきい値未満である信号の少なくともいずれかをエラー判定するように構成されていてもよい。受光装置がエラー補正回路を備える場合、制御回路は、複数の受光回路から出力された信号におけるエラー判定数に基づいて電源回路の電源電位または少なくともいずれかの受光回路に接続された負荷回路のパラメータのうち、少なくともいずれかを変更するように構成されていてもよい。
 図20のブロック図は、変形例3による測距装置の例を示している。図20には、受光装置202と、外部処理回路300が示されている。受光装置202は、受光装置200(図1)の構成要素うち、制御回路220と電源回路256を省略したものに相当する。受光装置202の処理回路230は、転送回路211および端子S_OUTを介して、外部処理回路300に接続されている。また、受光装置202のSPADコントローラ221は、端子S_INおよび通信回路210を介して、外部処理回路300に接続されている。図20のように、SPADアレイ240に電源電位Vddを供給する回路として、外部の電源回路257を使ってもよい。電源回路257は、端子PWRを介して、測距装置204内のSPADアレイ240に接続されている。また、電源回路257は、制御用の信号線を介して外部処理回路300に接続されている。外部処理回路300は、電源回路257に制御信号を送信することによって、電源電位Vddの値を変更する。
 外部処理回路300は、例えば、ASICまたは、FPGAなどのハードウェア回路である。ただし、外部処理回路300は、CPU(中央処理装置)と、ストレージを備えるコンピュータであってもよい。この場合、外部処理回路300は、ストレージに保存されたプログラムをCPU上で実行することによって、各種の機能を提供する。
 外部処理回路300は、図1の制御回路220(図8および図17の制御回路40)に相当する機能を実行する。すなわち、受光装置202とは、別個の外部処理回路300がそれぞれの受光回路11の設定および電源回路の設定を行ってもよい。なお、外部処理回路300と、受光装置202との間の通信は、有線で行われてもよいし、無線によって行われてもよい。
 図21のブロック図は、変形例4による受光装置の例を示している。本開示による受光装置は、図1および図20に示した装置のように、発光素子および距離計算部を備えた測距装置であってもよい。ただし、本開示による受光装置は、必ず測距機能を備えていなくてもよい。例えば、図21の受光装置201のように、距離計算部233およびトリガ回路254が省略された装置を使ってもよい。受光装置201は、SPADアレイ240によるフォトンの検出と、ヒストグラムの生成を行うことができる。受光装置201を他の装置に接続し、距離計算部、トリガ回路、発光素子に相当する機能を追加してもよい。また、受光装置201を、SPADアレイ240の設定と電源電位を決める装置として使うことができる。この場合、他の測距装置は、受光装置201が決定したSPADアレイ240の設定と電源電位に基づいて測距を行うことができる。
 以下では、SPADアレイ240内の画素として使用可能なその他の受光回路の例について説明する。
 図22の回路図は、変形例5による回路の例を示している。図22の受光回路12は、受光回路10のトランジスタTR2およびスイッチSW3を省略した回路に相当する。すなわち、受光回路12では、受光回路10のうち、トランジスタTR1の状態をラッチする部分が省略されている。受光回路12では、SW1をONに、SW2をOFFに設定すると、パッシブリチャージが行われる。また、受光回路12では、SW1をOFFに、SW2をONに設定すると、アクティブリチャージが行われる。なお、受光回路12では、SW1とSW2の両方をONに設定すると、パッシブリチャージと、アクティブリチャージの両方が行われる。なお、受光回路12の動作は、トランジスタTR1の状態をラッチする動作がなくなる点を除けば、上述の受光回路10と同様となる。
 図23の回路図は、変形例6による回路の例を示している。図23の受光回路14は、受光回路10の負荷素子90(トランジスタTR0)を省略した回路に相当する。すなわち、受光回路14は、アクティブリチャージ専用の回路である。受光回路14の動作は、受光回路10において、スイッチSW1がOFF、スイッチSW2がON、スイッチSW3がONに設定されている場合(テーブル70のスイッチ設定st1)と同様となる。
 本開示による測距装置は、発光素子と、複数の受光回路と、複数の受光回路に電源電位を供給するように構成された電源回路と、発光素子が発光していない期間に、フォトンとの反応で複数の受光回路が出力する信号に基づいて電源電位を制御するように構成された制御回路とを備えていてもよい。また、本開示による測距装置は、それぞれの受光回路に接続され、受光回路内の受光素子にリチャージ電流を供給する負荷回路をさらに複数備えていてもよい。この場合、制御回路は、信号に基づいて複数の負荷回路の抵抗値またはリチャージ電流の少なくともいずれかを制御するように構成されていてもよい。
 また、本開示による測距装置の制御回路は、信号に基づいて少なくともいずれかの受光回路においてアクティブリチャージ用のパルスが生成される時間遅れを調整するように構成されていてもよい。
 本開示による受光装置、測距装置および受光回路を使うと、デッドタイムを最小化する設定を行ってから測距を開始するができる。このため、高い精度でフォトン検出または測距を行うことが可能となる。本開示による受光装置、測距装置および受光回路では、複数の方式の少なくともいずれかを選択してリチャージ電流を調整してもよい。例えば、複数の受光回路におけるエラー判定数に応じて、電源回路が複数の受光回路に供給する電源電位を調整してもよい。SPADアレイ内に共通の電源電位が供給されている場合、短時間でSPADアレイ全体のリチャージ電流を変更することができる。
 また、SPADアレイは、受光回路に抵抗値が調整可能な負荷回路または電流値が調整可能な負荷回路が接続された画素を含んでいてもよい。これにより、個別の画素の単位で、リチャージ電流の値をより高い精度で調整することができる。例えば、SPADアレイ内の領域ごとに、リチャージ電流を調整することが容易となる。これにより、高い品質の距離画像を得ることができるようになる。本開示による受光装置、受光回路および測距装置を使うと、消費電力を抑制しつつ、測距性能を高めることができる。
 本開示に係る技術(本技術)は、様々な製品へ応用することができる。例えば、本開示に係る技術は、自動車、電気自動車、ハイブリッド電気自動車、自動二輪車、自転車、パーソナルモビリティ、飛行機、ドローン、船舶、ロボット等のいずれかの種類の移動体に搭載される装置として実現されてもよい。
 図24は、本開示に係る技術が適用され得る移動体制御システムの一例である車両制御システムの概略的な構成例を示すブロック図である。
 車両制御システム12000は、通信ネットワーク12001を介して接続された複数の電子制御ユニットを備える。図24に示した例では、車両制御システム12000は、駆動系制御ユニット12010、ボディ系制御ユニット12020、車外情報検出ユニット12030、車内情報検出ユニット12040、及び統合制御ユニット12050を備える。また、統合制御ユニット12050の機能構成として、マイクロコンピュータ12051、音声画像出力部12052、及び車載ネットワークI/F(interface)12053が図示されている。
 駆動系制御ユニット12010は、各種プログラムにしたがって車両の駆動系に関連する装置の動作を制御する。例えば、駆動系制御ユニット12010は、内燃機関又は駆動用モータ等の車両の駆動力を発生させるための駆動力発生装置、駆動力を車輪に伝達するための駆動力伝達機構、車両の舵角を調節するステアリング機構、及び、車両の制動力を発生させる制動装置等の制御装置として機能する。
 ボディ系制御ユニット12020は、各種プログラムにしたがって車体に装備された各種装置の動作を制御する。例えば、ボディ系制御ユニット12020は、キーレスエントリシステム、スマートキーシステム、パワーウィンドウ装置、あるいは、ヘッドランプ、バックランプ、ブレーキランプ、ウィンカー又はフォグランプ等の各種ランプの制御装置として機能する。この場合、ボディ系制御ユニット12020には、鍵を代替する携帯機から発信される電波又は各種スイッチの信号が入力され得る。ボディ系制御ユニット12020は、これらの電波又は信号の入力を受け付け、車両のドアロック装置、パワーウィンドウ装置、ランプ等を制御する。
 車外情報検出ユニット12030は、車両制御システム12000を搭載した車両の外部の情報を検出する。例えば、車外情報検出ユニット12030には、撮像部12031が接続される。車外情報検出ユニット12030は、撮像部12031に車外の画像を撮像させるとともに、撮像された画像を受信する。車外情報検出ユニット12030は、受信した画像に基づいて、人、車、障害物、標識又は路面上の文字等の物体検出処理又は距離検出処理を行ってもよい。
 撮像部12031は、光を受光し、その光の受光量に応じた電気信号を出力する光センサである。撮像部12031は、電気信号を画像として出力することもできるし、測距の情報として出力することもできる。また、撮像部12031が受光する光は、可視光であっても良いし、赤外線等の非可視光であっても良い。
 車内情報検出ユニット12040は、車内の情報を検出する。車内情報検出ユニット12040には、例えば、運転者の状態を検出する運転者状態検出部12041が接続される。運転者状態検出部12041は、例えば運転者を撮像するカメラを含み、車内情報検出ユニット12040は、運転者状態検出部12041から入力される検出情報に基づいて、運転者の疲労度合い又は集中度合いを算出してもよいし、運転者が居眠りをしていないかを判別してもよい。
 マイクロコンピュータ12051は、車外情報検出ユニット12030又は車内情報検出ユニット12040で取得される車内外の情報に基づいて、駆動力発生装置、ステアリング機構又は制動装置の制御目標値を演算し、駆動系制御ユニット12010に対して制御指令を出力することができる。例えば、マイクロコンピュータ12051は、車両の衝突回避あるいは衝撃緩和、車間距離に基づく追従走行、車速維持走行、車両の衝突警告、又は車両のレーン逸脱警告等を含むADAS(Advanced Driver Assistance System)の機能実現を目的とした協調制御を行うことができる。
 また、マイクロコンピュータ12051は、車外情報検出ユニット12030又は車内情報検出ユニット12040で取得される車両の周囲の情報に基づいて駆動力発生装置、ステアリング機構又は制動装置等を制御することにより、運転者の操作に拠らずに自律的に走行する自動運転等を目的とした協調制御を行うことができる。
 また、マイクロコンピュータ12051は、車外情報検出ユニット12030で取得される車外の情報に基づいて、ボディ系制御ユニット12020に対して制御指令を出力することができる。例えば、マイクロコンピュータ12051は、車外情報検出ユニット12030で検知した先行車又は対向車の位置に応じてヘッドランプを制御し、ハイビームをロービームに切り替える等の防眩を図ることを目的とした協調制御を行うことができる。
 音声画像出力部12052は、車両の搭乗者又は車外に対して、視覚的又は聴覚的に情報を通知することが可能な出力装置へ音声及び画像のうちの少なくとも一方の出力信号を送信する。図24の例では、出力装置として、オーディオスピーカ12061、表示部12062及びインストルメントパネル12063が例示されている。表示部12062は、例えば、オンボードディスプレイ及びヘッドアップディスプレイの少なくとも一つを含んでいてもよい。
 図25は、撮像部12031の設置位置の例を示す図である。
 図25では、車両12100は、撮像部12031として、撮像部12101,12102,12103,12104,12105を有する。
 撮像部12101,12102,12103,12104,12105は、例えば、車両12100のフロントノーズ、サイドミラー、リアバンパ、バックドア及び車室内のフロントガラスの上部等の位置に設けられる。フロントノーズに備えられる撮像部12101及び車室内のフロントガラスの上部に備えられる撮像部12105は、主として車両12100の前方の画像を取得する。サイドミラーに備えられる撮像部12102,12103は、主として車両12100の側方の画像を取得する。リアバンパ又はバックドアに備えられる撮像部12104は、主として車両12100の後方の画像を取得する。撮像部12101及び12105で取得される前方の画像は、主として先行車両又は、歩行者、障害物、信号機、交通標識又は車線等の検出に用いられる。
 なお、図25には、撮像部12101ないし12104の撮影範囲の一例が示されている。撮像範囲12111は、フロントノーズに設けられた撮像部12101の撮像範囲を示し、撮像範囲12112,12113は、それぞれサイドミラーに設けられた撮像部12102,12103の撮像範囲を示し、撮像範囲12114は、リアバンパ又はバックドアに設けられた撮像部12104の撮像範囲を示す。例えば、撮像部12101ないし12104で撮像された画像データが重ね合わせられることにより、車両12100を上方から見た俯瞰画像が得られる。
 撮像部12101ないし12104の少なくとも1つは、距離情報を取得する機能を有していてもよい。例えば、撮像部12101ないし12104の少なくとも1つは、複数の撮像素子からなるステレオカメラであってもよいし、位相差検出用の画素を有する撮像素子であってもよい。
 例えば、マイクロコンピュータ12051は、撮像部12101ないし12104から得られた距離情報を基に、撮像範囲12111ないし12114内における各立体物までの距離と、この距離の時間的変化(車両12100に対する相対速度)を求めることにより、特に車両12100の進行路上にある最も近い立体物で、車両12100と略同じ方向に所定の速度(例えば、0km/h以上)で走行する立体物を先行車として抽出することができる。さらに、マイクロコンピュータ12051は、先行車の手前に予め確保すべき車間距離を設定し、自動ブレーキ制御(追従停止制御も含む)や自動加速制御(追従発進制御も含む)等を行うことができる。このように運転者の操作に拠らずに自律的に走行する自動運転等を目的とした協調制御を行うことができる。
 例えば、マイクロコンピュータ12051は、撮像部12101ないし12104から得られた距離情報を元に、立体物に関する立体物データを、2輪車、普通車両、大型車両、歩行者、電柱等その他の立体物に分類して抽出し、障害物の自動回避に用いることができる。例えば、マイクロコンピュータ12051は、車両12100の周辺の障害物を、車両12100のドライバが視認可能な障害物と視認困難な障害物とに識別する。そして、マイクロコンピュータ12051は、各障害物との衝突の危険度を示す衝突リスクを判断し、衝突リスクが動作パラメータ以上で衝突可能性がある状況であるときには、オーディオスピーカ12061や表示部12062を介してドライバに警報を出力することや、駆動系制御ユニット12010を介して強制減速や回避操舵を行うことで、衝突回避のための運転支援を行うことができる。
 撮像部12101ないし12104の少なくとも1つは、赤外線を検出する赤外線カメラであってもよい。例えば、マイクロコンピュータ12051は、撮像部12101ないし12104の撮像画像中に歩行者が存在するか否かを判定することで歩行者を認識することができる。かかる歩行者の認識は、例えば赤外線カメラとしての撮像部12101ないし12104の撮像画像における特徴点を抽出する手順と、物体の輪郭を示す一連の特徴点にパターンマッチング処理を行って歩行者か否かを判別する手順によって行われる。マイクロコンピュータ12051が、撮像部12101ないし12104の撮像画像中に歩行者が存在すると判定し、歩行者を認識すると、音声画像出力部12052は、当該認識された歩行者に強調のための方形輪郭線を重畳表示するように、表示部12062を制御する。また、音声画像出力部12052は、歩行者を示すアイコン等を所望の位置に表示するように表示部12062を制御してもよい。
 以上、本開示に係る技術が適用され得る車両制御システムの一例について説明した。本開示に係る技術は、撮像部12031に適用され得る。例えば、撮像部12031に、図1の受光装置200および図2の発光素子255を実装することができる。また、撮像部12031に、受光装置200~202の少なくともいずれかを実装してもよい。撮像部12031に、本開示に係る技術を適用することにより、より高い精度で測距を行うことができる。これにより、車両12100の安全性を高めることが可能となる。
 なお、本技術は、以下のような構成をとることができる。
(1)
 受光素子を含む受光回路と、
 前記受光回路に電源電位を供給するように構成された電源回路と、
 フォトンとの反応で前記受光回路が出力する信号に基づいて前記電源回路が供給する前記電源電位を制御するように構成された制御回路と
 を備える受光装置。
(2)
 前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに備え、
 前記制御回路は、前記信号に基づいて前記負荷回路の前記リチャージ電流または前記負荷回路の抵抗値の少なくともいずれかを含むパラメータを変更するように構成されている、
 (1)に記載の受光装置。
(3)
 複数の前記受光回路を備え、
 前記制御回路は、複数の前記受光回路が出力する前記信号に基づき、前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
 (2)に記載の受光装置。
(4)
 前記受光回路が出力する前記信号の波形に基づいてエラー判定するように構成されたエラー検出器をさらに備え、
 前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
 (3)に記載の受光装置。
(5)
 少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、
 前記制御回路は、前記エラー判定数が第1しきい値未満となるように前記受光回路の前記リチャージ電流を調整するように構成されている、
 (4)に記載の受光装置。
(6)
 少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、
 前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されている、
 (4)または(5)に記載の受光装置。
(7)
 前記エラー検出器は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されている、
 (4)ないし(6)のいずれか一項に記載の受光装置。
(8)
 前記受光回路が出力する前記信号の波形に基づきエラー判定をし、前記エラー判定をされた前記信号の波形を補正するように構成されたエラー補正回路をさらに備える、
 (3)ないし(7)のいずれか一項に記載の受光装置。
(9)
 前記エラー補正回路は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されている、
 (8)に記載の受光装置。
(10)
 前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
 (8)に記載の受光装置。
(11)
 少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、
 前記制御回路は、前記エラー判定数が第1しきい値未満となるように前記受光回路の前記リチャージ電流を調整するように構成されている、
 (10)に記載の受光装置。
(12)
 少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、
 前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されている、
 (10)または(11)に記載の受光装置。
(13)
 前記受光素子は、アバランシェフォトダイオードである、
 (1)ないし(12)のいずれか一項に記載の受光装置。
(14)
 発光素子と、
 受光素子を含む複数の受光回路と、
 前記複数の受光回路に電源電位を供給するように構成された電源回路と、
 前記発光素子が発光していない期間に、フォトンとの反応で複数の前記受光回路が出力する信号に基づいて前記電源電位を制御するように構成された制御回路とを備える、
 測距装置。
(15)
 それぞれの前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに複数備え、
 前記制御回路は、前記信号に基づいて複数の前記負荷回路の抵抗値または前記リチャージ電流の少なくともいずれかを制御するように構成されている、
 (14)に記載の測距装置。
(16)
 前記制御回路は、前記信号に基づいて少なくともいずれかの前記受光回路においてアクティブリチャージ用のパルスが生成される時間遅れを調整するように構成されている、
 (14)または(15)に記載の測距装置。
(17)
 受光素子と、
 電流源と、
 基準電位に接続された第1接点側または前記受光素子に接続された第2接点側のいずれかをオンにすることが可能なスイッチと、
 前記基準電位と前記電流源との間に流れる第1電流をミラーした第2電流を出力側より供給するように構成されたカレントミラー回路と、
 第1信号電極が前記基準電位に接続され、第2信号電極が前記受光素子および前記カレントミラー回路の前記出力側に接続され、制御電極が前記スイッチに接続されているトランジスタと
 を備えた受光回路。
(18)
 前記スイッチおよび前記トランジスタを複数備え、
 前記スイッチの切り替えに応じて前記受光素子に前記第1電流をN倍(Nは正の整数)した第3電流を前記受光素子に供給するように構成されている、
 (17)に記載の受光回路。
(19)
 前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路をさらに備える、
 (17)または(18)に記載の受光回路。
(20)
 受光素子と、
 基準電位と前記受光素子との間に並列に接続された複数の抵抗器と、
 それぞれが前記抵抗器と直列に接続されている複数のスイッチと、
 前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路とを備え、
 前記スイッチの切り替えに応じ、前記受光素子に供給される電流が調整されるように構成されている、
 受光回路。
 本開示の態様は、上述した個々の実施形態に限定されるものではなく、当業者が想到しうる種々の変形も含むものであり、本開示の効果も上述した内容に限定されない。すなわち、特許請求の範囲に規定された内容およびその均等物から導き出される本開示の概念的な思想と趣旨を逸脱しない範囲で種々の追加、変更および部分的削除が可能である。
 OBJ 物体
 1 検出部
 10、12、13、 受光回路
 11 受光回路
 20 サンプラ
 21 エラー検出器
 22 エラー補正回路
 30 計測回路
 40 制御回路
 50、51、52、53、54、55、56 画素
 75、76 遮光部
 80、81 開口面
 90 負荷素子
 91、91、92 アクティブリチャージ回路
 100、101、102 受光装置
 200 測距装置
 255 発光素子
 256 電源回路

Claims (20)

  1.  受光素子を含む受光回路と、
     前記受光回路に電源電位を供給するように構成された電源回路と、
     フォトンとの反応で前記受光回路が出力する信号に基づいて前記電源回路が供給する前記電源電位を制御するように構成された制御回路と
     を備える受光装置。
  2.  前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに備え、
     前記制御回路は、前記信号に基づいて前記負荷回路の前記リチャージ電流または前記負荷回路の抵抗値の少なくともいずれかを含むパラメータを変更するように構成されている、
     請求項1に記載の受光装置。
  3.  複数の前記受光回路を備え、
     前記制御回路は、複数の前記受光回路が出力する前記信号に基づき、前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
     請求項2に記載の受光装置。
  4.  前記受光回路が出力する前記信号の波形に基づいてエラー判定するように構成されたエラー検出器をさらに備え、
     前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
     請求項3に記載の受光装置。
  5.  少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、
     前記制御回路は、前記エラー判定数が第1しきい値未満となるように前記受光回路の前記リチャージ電流を調整するように構成されている、
     請求項4に記載の受光装置。
  6.  少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、
     前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されている、
     請求項4に記載の受光装置。
  7.  前記エラー検出器は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されている、
     請求項4に記載の受光装置。
  8.  前記受光回路が出力する前記信号の波形に基づきエラー判定をし、前記エラー判定をされた前記信号の波形を補正するように構成されたエラー補正回路をさらに備える、
     請求項3に記載の受光装置。
  9.  前記エラー補正回路は、パルス幅が第2しきい値を超える前記信号またはパルスどうしの間隔が第3しきい値未満である前記信号の少なくともいずれかをエラー判定するように構成されている、
     請求項8に記載の受光装置。
  10.  前記制御回路は、複数の前記受光回路から出力された前記信号におけるエラー判定数に基づいて前記電源回路の前記電源電位または少なくともいずれかの前記受光回路に接続された前記負荷回路の前記パラメータのうち、少なくともいずれかを変更するように構成されている、
     請求項8に記載の受光装置。
  11.  少なくともいずれかの前記受光回路は、パッシブリチャージを行うように構成されており、
     前記制御回路は、前記エラー判定数に基づいて前記受光回路の前記パッシブリチャージにおけるリチャージ電流を調整するように構成されている、
     請求項10に記載の受光装置。
  12.  少なくともいずれかの前記受光回路は、アクティブリチャージを行うように構成されており、
     前記制御回路は、前記エラー判定数に基づいて前記受光回路で前記アクティブリチャージのためにパルスが生成される時間遅れを調整するように構成されている、
     請求項10に記載の受光装置。
  13.  前記受光素子は、アバランシェフォトダイオードである、
     請求項1に記載の受光装置。
  14.  発光素子と、
     受光素子を含む複数の受光回路と、
     前記複数の受光回路に電源電位を供給するように構成された電源回路と、
     前記発光素子が発光していない期間に、フォトンとの反応で複数の前記受光回路が出力する信号に基づいて前記電源電位を制御するように構成された制御回路とを備える、
     測距装置。
  15.  それぞれの前記受光回路に接続され、前記受光素子にリチャージ電流を供給する負荷回路をさらに複数備え、
     前記制御回路は、前記信号に基づいて複数の前記負荷回路の抵抗値または前記リチャージ電流の少なくともいずれかを制御するように構成されている、
     請求項14に記載の測距装置。
  16.  前記制御回路は、前記信号に基づいて少なくともいずれかの前記受光回路においてアクティブリチャージ用のパルスが生成される時間遅れを調整するように構成されている、
     請求項14に記載の測距装置。
  17.  受光素子と、
     電流源と、
     基準電位に接続された第1接点側または前記受光素子に接続された第2接点側のいずれかをオンにすることが可能なスイッチと、
     前記基準電位と前記電流源との間に流れる第1電流をミラーした第2電流を出力側より供給するように構成されたカレントミラー回路と、
     第1信号電極が前記基準電位に接続され、第2信号電極が前記受光素子および前記カレントミラー回路の前記出力側に接続され、制御電極が前記スイッチに接続されているトランジスタと
     を備えた受光回路。
  18.  前記スイッチおよび前記トランジスタを複数備え、
     前記スイッチの切り替えに応じて前記受光素子に前記第1電流をN倍(Nは正の整数)した第3電流を前記受光素子に供給するように構成されている、
     請求項17に記載の受光回路。
  19.  前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路をさらに備える、
     請求項17に記載の受光回路。
  20.  受光素子と、
     基準電位と前記受光素子との間に並列に接続された複数の抵抗器と、
     それぞれが前記抵抗器と直列に接続されている複数のスイッチと、
     前記受光素子のフォトンとの反応時にパルスを生成するように構成された読み出し回路とを備え、
     前記スイッチの切り替えに応じ、前記受光素子に供給される電流が調整されるように構成されている、
     受光回路。
PCT/JP2020/048115 2020-01-10 2020-12-23 受光装置、測距装置および受光回路 WO2021140912A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
DE112020006482.4T DE112020006482T5 (de) 2020-01-10 2020-12-23 Lichtempfangsvorrichtung, entfernungsmessvorrichtung und lichtempfangsschaltung
CN202080090982.1A CN114902068A (zh) 2020-01-10 2020-12-23 光接收装置、距离测量装置和光接收电路
JP2021569824A JPWO2021140912A1 (ja) 2020-01-10 2020-12-23
US17/790,081 US20230048083A1 (en) 2020-01-10 2020-12-23 Light receiving device, distance measuring device, and light receiving circuit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-003075 2020-01-10
JP2020003075 2020-01-10

Publications (1)

Publication Number Publication Date
WO2021140912A1 true WO2021140912A1 (ja) 2021-07-15

Family

ID=76788642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/048115 WO2021140912A1 (ja) 2020-01-10 2020-12-23 受光装置、測距装置および受光回路

Country Status (5)

Country Link
US (1) US20230048083A1 (ja)
JP (1) JPWO2021140912A1 (ja)
CN (1) CN114902068A (ja)
DE (1) DE112020006482T5 (ja)
WO (1) WO2021140912A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022181081A1 (ja) * 2021-02-25 2022-09-01 ソニーセミコンダクタソリューションズ株式会社 光検出装置および光検出システム

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114543957A (zh) * 2020-11-26 2022-05-27 梅特勒-托利多(常州)测量技术有限公司 检测信号的实时处理方法及检测器

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007004606A1 (ja) * 2005-07-04 2007-01-11 Nikon Vision Co., Ltd. 測距装置
JP2008053784A (ja) * 2006-08-22 2008-03-06 Toshiba Corp 電圧制御発振器、電圧制御発振器用のバイアス装置、電圧制御発振器のバイアス調整プログラム
JP2008218911A (ja) * 2007-03-07 2008-09-18 Mitsumi Electric Co Ltd 発光ダイオード駆動回路
JP2008542706A (ja) * 2005-05-27 2008-11-27 センスル・テクノロジーズ・リミテッド 光子計数装置
JP2014081254A (ja) * 2012-10-16 2014-05-08 Toyota Central R&D Labs Inc 光学的測距装置
JP2015117970A (ja) * 2013-12-17 2015-06-25 株式会社デンソー レーダ装置
CN205566723U (zh) * 2016-03-09 2016-09-07 四川长虹电子部品有限公司 一种可调节输出电流的led驱动电源
CN106382993A (zh) * 2016-08-19 2017-02-08 浙江神州量子网络科技有限公司 一种单光子探测器的参数优化设置方法
JP2018179732A (ja) * 2017-04-12 2018-11-15 株式会社デンソー 光検出器
JP2019041201A (ja) * 2017-08-24 2019-03-14 ソニーセミコンダクタソリューションズ株式会社 駆動装置、駆動方法、及び、発光装置
JP2019184297A (ja) * 2018-04-04 2019-10-24 株式会社デンソー 光測距装置
JP2020143959A (ja) * 2019-03-05 2020-09-10 ソニーセミコンダクタソリューションズ株式会社 制御回路および測距システム

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5206297B2 (ja) 2008-10-07 2013-06-12 トヨタ自動車株式会社 光学式測距装置及び方法

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008542706A (ja) * 2005-05-27 2008-11-27 センスル・テクノロジーズ・リミテッド 光子計数装置
WO2007004606A1 (ja) * 2005-07-04 2007-01-11 Nikon Vision Co., Ltd. 測距装置
JP2008053784A (ja) * 2006-08-22 2008-03-06 Toshiba Corp 電圧制御発振器、電圧制御発振器用のバイアス装置、電圧制御発振器のバイアス調整プログラム
JP2008218911A (ja) * 2007-03-07 2008-09-18 Mitsumi Electric Co Ltd 発光ダイオード駆動回路
JP2014081254A (ja) * 2012-10-16 2014-05-08 Toyota Central R&D Labs Inc 光学的測距装置
JP2015117970A (ja) * 2013-12-17 2015-06-25 株式会社デンソー レーダ装置
CN205566723U (zh) * 2016-03-09 2016-09-07 四川长虹电子部品有限公司 一种可调节输出电流的led驱动电源
CN106382993A (zh) * 2016-08-19 2017-02-08 浙江神州量子网络科技有限公司 一种单光子探测器的参数优化设置方法
JP2018179732A (ja) * 2017-04-12 2018-11-15 株式会社デンソー 光検出器
JP2019041201A (ja) * 2017-08-24 2019-03-14 ソニーセミコンダクタソリューションズ株式会社 駆動装置、駆動方法、及び、発光装置
JP2019184297A (ja) * 2018-04-04 2019-10-24 株式会社デンソー 光測距装置
JP2020143959A (ja) * 2019-03-05 2020-09-10 ソニーセミコンダクタソリューションズ株式会社 制御回路および測距システム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022181081A1 (ja) * 2021-02-25 2022-09-01 ソニーセミコンダクタソリューションズ株式会社 光検出装置および光検出システム

Also Published As

Publication number Publication date
CN114902068A (zh) 2022-08-12
JPWO2021140912A1 (ja) 2021-07-15
US20230048083A1 (en) 2023-02-16
DE112020006482T5 (de) 2022-12-01

Similar Documents

Publication Publication Date Title
KR102577166B1 (ko) 광 검출 장치 및 거리 측정 장치
CN212321848U (zh) 光检测设备以及距离测量传感器
WO2021090691A1 (ja) センシングデバイスおよび測距装置
WO2021140912A1 (ja) 受光装置、測距装置および受光回路
US20210293958A1 (en) Time measurement device and time measurement apparatus
WO2021085123A1 (ja) 受光装置、測距装置および受光回路
JP7478526B2 (ja) 固体撮像素子、および、測距システム
US20220345652A1 (en) Solid-state imaging element and electronic device
US20240111033A1 (en) Photodetection device and photodetection system
WO2022059397A1 (ja) 測距システムおよび光検出装置
WO2020255855A1 (ja) 測距装置および測距方法
US20220136896A1 (en) Measurement device, distance measurement device, electronic device, and measurement method
WO2021251057A1 (ja) 光検出回路および測距装置
US20230417921A1 (en) Photodetection device and photodetection system
WO2021256276A1 (ja) 測距装置および測距システム
US20240056700A1 (en) Photodetection device and photodetection system
CN116325166A (zh) 光接收元件、测距模块、测距系统和用于控制光接收元件的方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20912601

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021569824

Country of ref document: JP

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 20912601

Country of ref document: EP

Kind code of ref document: A1