1. Technical Field
The present disclosure relates to a device for detecting and measuring the distance to an object, based on a propagation time of a photon beam emitted in the form of pulses and reflected on the object. The present disclosure applies in particular to touch screens such as those used in mobile phones, and to the detection of an object near such a screen.
2. Description of the Related Art
It is known to use photodiodes as a distance detection and measurement element, using an avalanche phenomenon which may occur in the PN junctions of photodiodes. An avalanche phenomenon may occur in a diode PN junction when the diode is reverse biased near the junction breakdown voltage. This phenomenon can be used in two ways in an avalanche photodiode. If the avalanche photodiode is reverse biased just below the breakdown voltage, the photodiode then generates an electric current proportional to the intensity of the photon flux received by the photodiode, with a gain of some hundreds with a semiconductor such as silicon.
To detect low intensities of photon flux, it is known to use photodiodes which may be reverse biased above the breakdown voltage. Such photodiodes are called Single Photon Avalanche Diode (SPAD) or diodes operating in “Geiger” mode. Each time such a photodiode receives a photon, an avalanche phenomenon occurs in the photodiode PN junction, generating an intense current. To avoid destructing the photodiode by this intense current, the photodiode is connected to a quenching circuit allowing the avalanche process to be stopped some nanoseconds after appearing.
To perform a distance measurement, it is known to light a detection area with a pulsed light source such as a pulsed laser source, and to detect photons reflected by an object present in the detection area using a set of SPAD photodiodes. The distance from the object in the detection area is evaluated based on the propagation time or Time Of Flight (TOF) between the transmit time of a light pulse and the receipt time of a pulse across a photodiode, resulting from the photodiode avalanche triggering. The measure accuracy depends in particular on the duration of the light pulses emitted by the source; the shorter these pulses, the more accurate the measurement.
In an integrated circuit of complementary metal oxide semiconductor (CMOS) type, powered by a voltage around 3 to 5 V, the reverse bias of SPAD photodiodes to a voltage greater than the breakdown voltage is achieved with a bias voltage around 14 V. Such a voltage is produced by a high voltage generation circuit, for example based on a charge pump allowing the supply voltage to be increased. The high voltage generation circuit is sized taking into account the most unfavorable case where all the photodiodes of the detection circuit avalanche trigger at each pulse of a series of photon pulses emitted by the source. In addition, the detection circuit is all the more efficient, and in particular sensitive to detect an object, even a little reflecting one, since it comprises a great number of photodiodes. A SPAD photodiode may consume on average several microamperes if it avalanche triggers after each pulse of a series of photon pulses. This current is to be multiplied by the number of SPAD photodiodes in the circuit. The result is that the more photodiodes in the circuit, the greater the surface occupied by the high voltage generator, and the greater its electrical consumption, even in the absence of load.
The high voltage generation circuit therefore constitutes an element limiting the number of SPAD photodiodes of a detection circuit, in particular in the applications of the integrated circuit to a portable object such as a mobile phone, which preferably have an electrical consumption and dimensions as low as possible.
One embodiment avoids this limitation induced by the high voltage generation circuit, and provides the detection circuit with a sufficient number of SPAD photodiodes, given the measure accuracy and sensitivity desired. In one embodiment, the occupied circuit surface and electrical consumption of the high voltage generation circuit are kept low.
Embodiments relate to a method of detecting the presence of an object near a detection device, including reverse biasing single photon avalanche photodiodes, to a bias voltage greater than a breakdown voltage of a PN junction of each photodiode, emitting pulses of an incident photon beam, detecting photodiodes avalanche triggering after the reception by the photodiodes of at least one photon of a reflected photon beam produced by a reflection of the incident beam on an object near the detection device, determining the presence of an object as a function of the existence of at least one avalanche triggering in one of the photodiodes, and selecting a number of photodiodes of the detection device to be reverse biased, as a function of a load of a generation circuit generating the bias voltage, and biasing only the number of selected photodiodes.
According to an embodiment, the method comprises determining a distance to the object as a function of the time between an emission time of the incident beam and avalanche triggering times in the photodiodes after receiving at least one photon of the reflected beam.
According to an embodiment, the load of the bias voltage generation circuit is determined from the voltage, frequency or intensity of a signal internal to the bias voltage generation circuit.
According to an embodiment, the load of the bias voltage generation circuit is determined from an average number of photodiodes avalanche triggering, calculated during the emission of several successive pulses of the incident beam.
According to an embodiment, the number of photodiodes selected to be reverse biased is adjusted so as to avoid an excessive load of the bias voltage generation circuit, the voltage generation circuit being sized to reverse bias only a fraction of the number of photodiodes of the detection device, avalanche triggering at each pulse of the incident beam of a series of successive pulses.
According to an embodiment, the photodiodes are distributed into several groups of a fixed number of photodiodes, the number of photodiodes selected to be reverse biased being increased by step of a number of photodiodes corresponding to the number of photodiodes in a group, when the load of the voltage generation circuit is not excessive.
According to an embodiment, all the photodiodes of the detection device may be reverse biased if the load of the voltage generation circuit is not excessive.
According to an embodiment, if the load of the voltage generation circuit becomes excessive, then the number of photodiodes that are reversed biased is decreased by 50% to 90%.
According to an embodiment, the method comprises: generating a first signal at the emission frequency of the pulses of the incident beam, synchronizing the start of each pulse of the first signal on an average avalanche triggering time in the photodiodes, generating a second signal having a determined state during an out-of-phase period between the first signal and a third signal at the emission frequency of the pulses of the incident beam, and when the first signal is synchronized, measuring a time during which the second signal is in the determined state, a measure of distance with the object being determined as a function of the measured time.
According to an embodiment, the third signal is a control signal for controlling a source emitting the incident beam, or a signal which start of each pulse is synchronized on an average avalanche triggering time in reverse biased photodiodes of a reference unit optically coupled to the source emitting the incident beam, to determine transmission times of the pulses of the incident beam.
Embodiments also relate to a device for detecting the presence of an object, comprising: an emission circuit for emitting pulses of an incident photon beam, a detection circuit comprising several single photon avalanche photodiodes, and a voltage generation circuit for generating a bias voltage greater than a breakdown voltage of a PN junction of each photodiode, the detection device being configured to implement the method as previously defined.
According to an embodiment, the method comprises a reference detection circuit comprising several single photon avalanche photodiodes, optically coupled to the emission circuit to detect an emission time of each emitted pulse of the incident beam.
According to an embodiment, the method comprises a switching circuit comprising an input receiving the bias voltage and several outputs, each supplying the bias voltage to a group of photodiodes of the detection circuit, and switching elements to selectively connect the input to one or several of the outputs, the switching elements being controlled as a function of the load of the voltage generation circuit.
According to an embodiment, the voltage generation circuit comprises a charge pump to generate the bias voltage from a supply voltage of the detection device, lower than the bias voltage.
According to an embodiment, the method comprises a first synchronization circuit for synchronizing the start of each pulse of a first signal having the emission frequency of the pulses of the incident beam, on an average avalanche triggering time in the photodiodes, the synchronization circuit comprising a phase shifter receiving a control signal for controlling a source emitting the incident beam, and supplying the first signal, two AND logic gates, each receiving the first signal and a detection signal comprising a pulse each time one of the photodiodes avalanche triggers, the output of the AND gates respectively controlling charge or discharge of a capacitor whether a pulse of the detection signal appears during or outside a pulse of the first signal, the voltage across the capacitor controlling the phase shifter, the device comprising a comparator for comparing the first signal to a second signal having the frequency of the control signal, and a time measurement circuit for measuring a time during which the output signal of the comparator is in the high state.
According to an embodiment, the method comprises a second synchronization circuit for synchronizing the start of each pulse of the second signal having the emission frequency of the pulses of the incident beam, on an average avalanche triggering time in the reverse biased photodiodes of a reference unit optically coupled to the source emitting the incident beam, to determine emission times of the pulses of the incident beam.
Embodiments of the disclosure will be described hereinafter, in relation with, but not limited to the appended figures wherein:
Reference unit RSA is optically coupled to emission unit EMU by an optical coupling device OCD configured to send toward reference reception unit RSA a part of the photons emitted by light emission unit EMU. The light emission unit EMU comprises one or more electroluminescent diodes or a laser diode emitting photon pulses in a certain wavelength range. The reception unit MSA may be associated with an optical filter letting photons belonging to the wavelength range of the emission unit pass, excluding photons with other wavelengths. Wafer SB and the light emission unit EMU, the reception unit MSA, and the reference reception unit RSA may be protected by a plate (not shown) in a material transparent to the wavelengths emitted by light emission unit EMU. The reception unit MSA, and possibly the reference reception unit RSA comprises single photon avalanche photodiodes SPAD, which are reverse biased to a bias voltage greater than the breakdown voltage of the PN junction of the photodiodes. Each time a photodiode of unit MSA or RSA avalanche triggers, it generates an electrical pulse. The wavelength range of the photons emitted by light emission unit EMU may be outside visible wavelengths, for example infrared or near infrared.
Detection device DETD measures the time between pulse receipt times in signals from the photodiodes of reference reception unit RSA and pulse receipt times in signals from the photodiodes of reception unit MSA. A distance between the object O and device DETD may then be deduced from the time between these receipt times, corresponding to the propagation time of the light emitted by light emission unit EMU to reflect on the object O, and reach reception unit MSA. To that end, detection device DETD may be configured to count a number of pulses by cycle of a clock signal in detection signals supplied by reception units MSA, RSA. Each pulse in these detection signals corresponds to a photodiode PHD avalanche triggering after receiving a photon. The pulse count data are used to constitute for each measurement cycle triggered by the emission of a photon pulse by light emission unit EMU, a histogram comprising a number of photodiodes PHD avalanche triggering by clock cycle. Each measurement cycle spreads on several clock cycles and may last some nanoseconds, for example between 5 and 15 ns, for example 10 ns to detect an object at less than 20 cm from the detection device. Indeed, the light propagation time to reflect on an object located at 10 cm from reception unit MSA and reach it, is around 0.666 ns. Each histogram obtained may then be used to determine reception times, respectively by reference reception unit RSA and reception unit MSA, of the photon pulse emitted by light emission unit EMU. A distance from the object O which reflected the photon pulse emitted by light emission unit EMU to reception unit MSA, is then determined by calculating the time between the determined reception times. The distance to the object O may then be deduced by multiplying this time by the light speed divided by two, to take into account the light round trip. If a null or insignificant counting is obtained from the signals supplied by reception unit MSA, it is considered that no object is near the detection surface of reception unit MSA.
Likewise, in the example of
Knowing times t1 and t4 then makes it possible to evaluate a propagation time DT1 (=t4−t1) of the photon pulse between light emission unit EMU and reception unit MSA. Distance D between detection device DETD and object O may then be calculated as follows:
D=DT1×c/2, where c is the light speed.
High voltage generation circuit HVGN may comprise a charge pump CP to generate, from a supply voltage of device DETD, a sufficiently high voltage HV to reverse bias photodiodes PHD of the reception units MSA, RSA, to a voltage greater than a breakdown voltage of the photodiodes. The voltage HV may be around 12 V to 17 V, for example 14 V, whereas the supply voltage of the detection device DETD is around 2 to 5 V, for example 3 V.
According to one embodiment, detection device DETD comprises a switching circuit CCT. Switching circuit CCT is configured to selectively transmit the high voltage HV, to one or more lines HV1, HV2, . . . HVn connected to reception unit MSA, as a function of a control signal CCM transmitted by the process unit PRCU. High voltage generation circuit HVGN is configured to provide the process unit PRCU with a measurement signal CMS representing the operation of high voltage generation circuit HVGN, and in particular its load. Measurement signal CMS may be a measurement of current voltage, frequency or intensity of a signal internal to circuit HVGN. Each line HV1-HVn is connected to a group of one or more photodiodes PHD of reception unit MSA to reverse bias the photodiodes of the group. High voltage generation circuit HVGN may also supply high voltage HV to reference reception unit RSA, possibly through switching circuit CCT, to reverse bias all the photodiodes PHD of unit RSA.
That way, few photodiodes may be biased when reception unit MSA is highly lighted by the beam reflected by the object O, and all the photodiodes of reception unit MSA may be biased in the absence of reflected beam or when the intensity of the reflected beam is low.
According to one embodiment, high voltage generation circuit HVGN is sized to reverse bias only a fraction of the number of photodiodes of reception unit MSA, and possibly all the photodiodes of reference reception unit RSA, when all the biased photodiodes avalanche trigger at each measurement cycle MC of several successive measurement cycles.
In addition, process unit PRCU may be configured to compare measurement signal CMS from high voltage generation circuit HVGN, to a threshold value, periodically, at comparison cycles. If at a comparison cycle, a comparison reveals that the load of high voltage generation circuit HVGN is too high, process unit PRCU controls switching circuit CCT to disconnect one or more lines HV1-HVn of high voltage generation circuit HVGN, so as not to bias one or more groups of photodiodes PHD of reception unit MSA. At each comparison cycle, as long as measurement signal CMS reveals that the load of circuit HVGN is not excessive, process unit PRCU controls switching circuit CCT to connect one or more lines HV1-HVn not connected to high voltage generation circuit HVGN, and thus bias one or more additional groups of photodiodes PHD of reception unit MSA. The duration of a comparison cycle may be of 10 to 100 measurement cycles MC.
In the example of
The reference reception unit RSA may comprise photodiode circuits identical to those PHC of reception unit MSA, and each receiving the high voltage HV, directly from high voltage generation circuit HVGN, or through switching circuit CCT. Signals RS of
That way, reception unit MSA may comprise a great number of photodiodes which may all be reverse biased by high voltage generation circuit HVGN, while high voltage generation circuit HVGN may be sized to reverse bias only a small number, equal to a fraction of the number of photodiodes of reception unit MSA, which avalanche trigger at each light pulse emitted by light emission unit EMU. Detection device DETD may thus have a great sensitivity since it comprises a great number of photodiodes, without requiring a high voltage generation circuit having a great capacity to be able to simultaneously reverse bias all the photodiodes of the reception units RSA, MSA, when these photodiodes avalanche trigger at each pulse emitted by light emission unit EMU. Indeed, a photodiode may consume on average for example 8 μA if it avalanche triggers at each measurement cycle MC. If the number of photodiodes PHD to be reverse biased in the reception units MSA, RSA is of 35, high voltage generation circuit HVGN should be sized to supply a current of 35×8=280 μA. However, when no photodiode of reception unit MSA avalanche triggers, the current flowing through the reception units MSA, RSA is nearly equal to zero. High voltage generation circuit HVGN may then bias all the photodiodes of the reception units RSA, MSA, even if it is sized only to supply a current corresponding to the flowing current by a reduced number of photodiodes avalanche triggering, corresponding to the number of photodiodes of reference reception unit RSA, increased by a number corresponding to a fraction, for example equal to 5, of the number of photodiodes of reception unit MSA.
According to one embodiment, when at a comparison cycle, the comparison reveals that the load of high voltage generation circuit HVGN is excessive, switching circuit CCT may be controlled to reduce the number of reverse biased photodiodes, in a high proportion, for example from 50% to 90%. However, if at a comparison cycle, the measurement signal CMS reveals that the load of high voltage generation circuit HVGN is not excessive, switching circuit CCT may be controlled to increase the number of reverse biased photodiodes in a low proportion, for example from 10% to 20%. This number may correspond to the number of photodiodes of a group GP1-GPn of photodiodes powered by a same line HV1-HVn from switching circuit CCT.
According to another embodiment, switching circuit CCT may be controlled as a function of an average number NMA of photodiodes of reception unit MSA, which avalanche trigger at each measurement cycle during a comparison cycle. The acquisition of measures CMS is then not necessary. Step S1 may then consist in determining the average number NMA of photodiodes which avalanche triggered during the previous comparison cycle. Step S2 then consists in comparing the average number NMA to a maximum number NMX of photodiodes avalanche triggering at each measurement cycle MC, that high voltage generation circuit HVGN may bias. If the average number NMA is greater than maximum number NMX, step S3 is executed to reduce the number of reverse biased photodiodes, if not step S4 is executed. At step S3, the number of photodiodes to be biased may for example be calculated by multiplying the number N of photodiodes reverse biased at the previous comparison cycle by the ratio NMX/NMA between number NMX and the average number of photodiodes which avalanche triggered NMA at the previous comparison cycle.
According to another embodiment, adjusting photodiodes to be biased at each measurement cycle may be made both as a function of the measurement signal CMS and the average number of photodiodes which avalanche triggered during the previous comparison cycle. Thus, if at a comparison cycle, measurement signal CMS reveals that the load of high voltage generation circuit HVGN is excessive, step S3 may be executed. If not, step S4 may be executed.
A clock signal CLK is supplied to the inputs of phase-locked loop circuits PLL1, PLL2. Divider DIVN is connected in input to an output of phase-locked loop circuit PLL1 and in output to an input of each analog circuit ADL1, ADL2. Phase-locked loop circuit PLL1 and divider DIVN allow signal ECM for controlling light emission unit EMU to be generated. Phase-locked loop circuit PLL1 increases the frequency of clock signal CLK by a certain factor, and divider circuit DIVN divides the output frequency of phase-locked loop circuit PLL1 by a factor N, so that signal ECM has a frequency lower than the maximum avalanche triggering frequency in the photodiodes PHD. The output of gate OG1 is connected to an input of analog circuit ADL1, and the output of gate OG2 is connected to an input of analog circuit ADL2. Comparator CP1 receives in input, an output signal ADP1, ADP2 from each analog circuit ADL1, ADL2, and supplies a phase-shift signal DPH between signals ADP1, ADP2.
Analog circuits ADL1, ADL2 are identical, only the internal circuits of circuit ADL1 being shown in
When current source IUP is activated by the output signal of gate AG1, capacitor C1 charges, which increases the control voltage of phase-shifter circuit PHS. Conversely, when current source IDW is activated by the output signal of gate AG2, capacitor C1 discharges, which decreases the control voltage of phase-shifter circuit PHS. When the time in the high state of the output signal of gate AG1 exceeds a certain time threshold Th, current source IUP remains activated during a certain fixed time tmax. Likewise, when the time in the high state of the output signal of gate AG2 exceeds the time threshold Th, current source IDW remains activated during the fixed time tmax. If the output signals of gates AG1, AG2 are in the high state for a time lower than threshold Th, current sources IUP, IDW are activated for a time proportional to this time. Thus, during a period of signal ECM, if the output signals of gates AG1, AG2 are in the high state for a same time, the amount of current injected into capacitor C1 may be equal to zero.
At each pulse emitted by a photodiode PHD of reception unit MSA, gate AG1 switches to the high state if signal ADP1 is in the high state, which charges capacitor C1. Conversely, each pulse emitted by a photodiode PHD of reception unit MSA outside the pulses of signal ADP1, discharges capacitor C1. If the numbers of pulses emitted by the photodiodes of reception unit MSA, during and outside the pulses of signal ADP1, are equal, the charge of capacitor C1 does not change and therefore the phase-shift between signals ECM and ADP1 is not modified by phase-shifter circuit PHS. The result is that at the end of a certain number of pulses of signal ECM, the phase-shift between signals ECM and ADP1 tends to converge on a value such that the start of a pulse of signal ADP1 is in the middle of the pulses emitted by the photodiodes of reception unit MSA, during a period of signal ECM. In other words, the start of each pulse of signal ADP1 tends to be synchronized on an average pulse emitting time by the photodiodes of reception unit MSA.
Circuit ADL2 operates like circuit ADL1, with the pulses supplied by the photodiodes of reference reception circuit RSA. The result is that after a certain number of pulses of signal ECM, the phase-shift between signal ECM and signal ADP2 in output of circuit ADL2, tends to converge on a fixed value such that the start of a pulse of signal ADP2 is in the middle of the pulses emitted by the photodiodes of unit RSA, during a period of signal ECM. The start of each pulse of signal ADP2 therefore tends to be synchronized on an average pulse emitting time by the photodiodes of reference reception unit RSA.
Signal DPH supplied by comparator CP1 therefore corresponds to the phase-shift of signal ADP1 with respect to signal ADP2, i.e., to the time DT1=t4−t1 (
An initial adjustment of the phase-shift applied by phase-shifter circuit PHS of each circuit ADL1, ADL2 may be provided. The initial adjustment may be performed by pre-charging capacitor C1 for example to half its maximal voltage in each circuit ADL1, ADL2, or to a voltage corresponding to an average detection distance. The initial adjustment allows a more rapid convergence of the phase-shift produced in each circuit ADL1, ADL2 to be obtained.
Signal DPH in output of comparator CP1 when the signals in input ADP1, ADP2 are fixed, is in the high state at each period of signal ECM for a time corresponding to the phase-shift between signals ADP1 and ADP2. Comparator CP1 may be a simple logic gate of AND type comprising a direct input receiving signal ADP1 and an inverting input receiving signal ADP2.
Measuring the time in the high state of signal DPH may be performed by means of a circuit such as circuit TMC of
The frequency multiplier coefficient of phase-locked loop circuit PLL2 is chosen different but near that of phase-locked loop circuit PLL1. As an example, if signal CLK has a frequency between 1 and 10 MHz, the multiplier coefficients of phase-locked loop circuits PLL1 and PLL2 may for example be respectively chosen equal to 65 and 66. The output signal of phase-locked loop circuit PLL2 defines a counting frequency. The output signal of divider DIVM defines a counting period between two resets of counter CNT. The coefficient M of frequency divider DIVM is chosen so that the counting period corresponds to at least the smallest common multiplier of the multiplier coefficients chosen for phase-locked loop circuits PLL1 and PLL2.
Counter CNT increments at each rising edge of the output signal of phase-locked loop circuit PLL2 if the output of gate AG3 is in the high state, i.e., if signal DPH is in the high state during a counting phase (output signal of divider DIVM in the high state). Due to the frequency difference between the output signals of circuits PLL1, PLL2, the rising edges of the output signal of phase-locked loop circuit PLL2, for the counting time, occur at various times of the period of signal DPH. Thus, over a counting period, the greater the pulse duration in the high state of signal DPH, the more the counter CNT increments. The value of counter CNT at the end of the counting period is representative of the time in the high state of signal DPH. Reading the value of counter CNT at the end of the counting period allows an accurate value of the distance between an object to be detected and reception unit MSA to be obtained. Such accuracy may be obtained by means of clock signals at a frequency lower than 1 GHz, complying with the frequencies used in integrated circuits.
It may be provided to perform several counting cycles to measure an object distance, an average of the counts obtained at each of these cycles being calculated to determine a measure of distance.
It may also be provided to offset signal DTH by some periods of the output signal of phase-locked loop circuit PLL1, with respect to the start of a period of the signal in output of divider DIVN, to guarantee that each time signal DTH switches to the high state is counted by counter CNT. The duration of the pulses of signal DTH may also be artificially increased for a more accurate measure of the time in the high state of this signal, the value of counter CNT at the end of the counting period being adapted accordingly.
It is to be noted that the distance measurement may be taken without reference reception unit RSA, by directly sending signal ECM to the input of comparator CP1, and not signal ADP2. For a greater accuracy of the distance measure, the phase-shift measured by signal ADP2 may be determined once for all and systematically subtracted from signal DPH. The phase-shift measured by signal ADP2 may also be taken into account by directly applying a correction to the obtained distance measure.
It will be clear to those skilled in the art that the present disclosure is susceptible of various embodiments and applications. In particular, the disclosure is not limited to a device supplying a distance measure, but may apply to a device only supplying a detection signal indicating the presence or absence of an object near the device. In this case, it is not necessary to provide a reference reception unit RSA. In addition, if it is not necessary to determine the distance measure with a great accuracy, unit RSA may be omitted, the emission time of the incident beam may be determined from the control signal of light emission unit EMU.
It is not necessary either to bias the photodiodes by groups of photodiodes. Indeed, if the photodiodes can be individually biased, the number of biased photodiodes may be defined with a possible difference of one photodiode.
The disclosure also comprises the possible combinations of the various embodiments previously described.
The various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
1162050 | Dec 2011 | FR | national |