APD sensor and ranging system
Provided are an avalanche photodiode (APD) sensor and a ranging system capable of counting, with high accuracy, a value relating to signals from a plurality of pixels with one counter. The APD according to the present disclosure includes a plurality of pixels each including an APD, a plurality of state detection circuits configured to detect states of a plurality of first signals output from the plurality of pixels and generate a plurality of second signals including detection results of the states of the plurality of first signals, a logical operation circuit configured to perform a logical operation on the plurality of second signals or a plurality of third signals that varies in a manner that depends on the plurality of second signals and generate a fourth signal including a result of the logical operation, and a counter configured to count a value relating to the plurality of first signals on the basis of the fourth signal, each of the state detection circuits having an input terminal to which the fourth signal is input, and input of each of the first signals to a corresponding one of the state detection circuits being disabled on the basis of the fourth signal input to the input terminal.
1 . An avalanche photodiode (APD) sensor comprising:
a plurality of pixels each including an APD;
a plurality of state detection circuits configured to detect states of a plurality of first signals output from the plurality of pixels and generate a plurality of second signals including detection results of the states of the plurality of first signals;
a logical operation circuit configured to perform a logical operation on the plurality of second signals or a plurality of third signals that varies in a manner that depends on the plurality of second signals and generate a fourth signal including a result of the logical operation; and
a counter configured to count a value relating to the plurality of first signals based on the fourth signal, wherein
each of the plurality of state detection circuits has an input terminal to which the fourth signal is input, and
input of each of the plurality of first signals to a corresponding one of the plurality of state detection circuits is disabled based on the fourth signal input to the input terminal.
2 . The APD sensor according to claim 1 , further comprising:
a first substrate including a pixel array region having the plurality of pixels; and
a second substrate bonded to the first substrate, the second substrate including the plurality of state detection circuits, the logical operation circuit, and the counter.
3 . The APD sensor according to claim 2 , wherein the plurality of state detection circuits and at least a part of the logical operation circuit is disposed so as to face the pixel array region, and the counter is disposed so as not to face the pixel array region or is disposed in the pixel array region.
4 . The APD sensor according to claim 2 , wherein the plurality of state detection circuits is disposed so as to face the pixel array region, and at least a part of the logical operation circuit and the counter are disposed so as not to face the pixel array region.
5 . The APD sensor according to claim 1 , wherein the APD is a single photon avalanche diode (SPAD).
6 . The APD sensor according to claim 1 , wherein the APD has a cathode electrically connected to a corresponding one of the plurality of state detection circuits.
7 . The APD sensor according to claim 1 , wherein the APD has an anode electrically connected to a corresponding one of the plurality of state detection circuits.
8 . The APD sensor according to claim 1 , wherein the input terminal is a reset terminal configured to reset a corresponding one of the plurality of state detection circuits.
9 . The APD sensor according to claim 1 , wherein the plurality of state detection circuits each detect an edge of a corresponding one of the plurality of first signals.
10 . The APD sensor according to claim 1 , wherein each of the plurality of state detection circuits includes a flip-flop circuit.
11 . The APD sensor according to claim 10 , wherein each of the plurality of first signals is input to a clock terminal of the flip-flop circuit.
12 . The APD sensor according to claim 1 , wherein each of the plurality of state detection circuits is configured to detect a level of a corresponding one of the plurality of first signals.
13 . The APD sensor according to claim 1 , wherein each of the plurality of state detection circuits includes a latch circuit.
14 . The APD sensor according to claim 13 , wherein each of the plurality of state detection circuits further includes an AND circuit or a NAND circuit configured to perform an AND operation or a NAND operation on two signals obtained from a corresponding one of the plurality of first signals, and inputs a signal indicating a result of the AND operation or the NAND operation to the latch circuit.
15 . The APD sensor according to claim 1 , wherein the logical operation circuit includes a plurality of transistors configured to generate the plurality of third signals based on the plurality of second signals.
16 . The APD sensor according to claim 15 , wherein
each of the plurality of second signals is input to a control terminal of a corresponding one of the plurality of transistors, and
each of the plurality of third signals is output from a main terminal of a corresponding one of the plurality of transistors.
17 . The APD sensor according to claim 1 , wherein the fourth signal includes a result of an AND operation, an OR operation, a NAND operation, or a NOR operation on the plurality of second signals or the plurality of third signals.
18 . The APD sensor according to claim 1 , wherein the logical operation circuit includes a wired AND circuit, a wired OR circuit, a wired NAND circuit, or a wired NOR circuit.
19 . The APD sensor according to claim 1 , wherein the logical operation circuit includes at least one of an AND gate, an OR gate, a NAND gate, or a NOR gate.
20 . A ranging system comprising:
a light emitting device configured to irradiate a subject with light;
a light receiving device configured to receive light reflected off the subject; and
a ranging device configured to measure a distance to the subject based on the light received by the light receiving device, wherein
the light receiving device includes:
a plurality of pixels each including an avalanche photodiode (APD), the APD being configured to receive the light reflected off the subject;
a plurality of state detection circuits configured to detect states of a plurality of first signals output from the plurality of pixels and generate a plurality of second signals including detection results of the states of the plurality of first signals;
a logical operation circuit configured to perform a logical operation on the plurality of second signals or a plurality of third signals that varies in a manner that depends on the plurality of second signals and generate a fourth signal including a result of the logical operation; and
a counter configured to count a value relating to the plurality of first signals based on the fourth signal,
each of the plurality of state detection circuits has an input terminal to which the fourth signal is input, and
input of each of the plurality of first signals to a corresponding one of the plurality of state detection circuits is disabled based on the fourth signal input to the input terminal.