The present disclosure relates to an optical proximity sensor. Specifically, the present disclosure relates to an optical proximity sensor including photodiode, light source and measurement circuit to determine the difference between light sensed when the light source is turned off and light sensed when the light source is turned on. The present disclosure also relates to a mobile communication device including the optical proximity sensor.
Optical proximity sensors are used in electronic devices to determine the proximity of an object relative to the electronic device. The object may be a portion of the body of an operator using the electronic device and the electronic device may be a mobile communication device such as a smartphone. In industry applications, the optical proximity sensor may be used to determine a proximity event of an object passing through a region. Proximity sensors may be based on light intensity measurements wherein a light source illuminates a target space so that the reflected light is a function of the distance of the nearest object to the sensor. At least two measurements may be performed to determine light received when a light source, such as a LED or a VCSEL, is turned on and with the light source turned off. The difference represents the reflected light which is a function of the proximity of the object. The subtraction of the on and off measurements removes the systematic ambient light. In conventional optical proximity sensors the first measurement having the light source on and the second measurement having the light source off are of equal duration.
In current smartphones, the optical proximity sensor and the light source may be placed behind the smartphone display which may be based on OLED (organic light-emitting diode) technology. In this case, there is a limit on how long the light source may be switched on without affecting the display distortion. There could also be some synchronization involved in the light source for proximity and the OLED display refresh signal.
The electronic devices used in the proximity sensor generate noise which effects the accuracy of the calculation. A major source of the noise in the measurement signals may be shot noise of the photodiode that receives the light during the on and off measurement phases. Shot noise becomes critical under high ambient light conditions which may involve situations with ambient light in the range of 100 klux or more.
There is a need in optical proximity sensors to improve the SNR (signal to noise ratio) of an optical proximity sensor. The SNR of the optical proximity sensor should be improved for high ambient light conditions to reduce the impact of the shot noise generated by the photodiode. The optical proximity sensor should be applicable to smartphone applications under behind OLED conditions where the sensor is placed behind the display screen.
It is an object of the present disclosure to provide an optical proximity sensor that has improved SNR.
It is another object of the present disclosure to provide an optical proximity sensor with improved SNR under high ambient light conditions.
It is yet another object of the present disclosure to provide an optical proximity sensor having improved SNR under high ambient light conditions in a behind-OLED situation.
It is yet another object of the present disclosure to provide a mobile communication device having an optical proximity sensor having improved accuracy.
One or more of the above-mentioned objects are achieved by an optical proximity sensor having the features of present claim 1.
An optical proximity sensor according to an embodiment comprises a photodiode to receive optical light. The sensor includes a light source which is configured to emit light during an on-phase of the light source. The light source may be a LED (light-emitting diode) or a VCSEL (vertical cavity surface emitting laser) or another light source that may be formed by integrated circuit technology. The optical proximity sensor includes a measurement circuit that is coupled to the photodiode so that the measurement circuit evaluates light received through the photodiode. The measurement circuit is operable and configured to measure light received by the photodiode in a first phase when the light source is turned off so that ambient light only is received by the photodiode and evaluated by the measurement circuit. The measurement circuit is further operable and configured to measure light received by the photodiode in a second phase when the light source is turned on so that ambient light plus light emitted by the light source and reflected by an object is received by the photodiode and evaluated. The measurement circuit determines the difference between the light measured in the first phase and the second phase. The light measurements are subtracted from each other so that the reflected light is separated and serves as a measure to indicate the proximity event of the object. It is possible to also have light source on in the first phase and off in the second phase and light measurements subtracted in an electronic circuit appropriately to estimate the reflected light. The second phase may be performed after the first phase or the first phase may be performed after the second phase.
According to the embodiment, the first phase when the light source is turned off is longer than the second phase when the light source is turned on so that the measurement during the first phase is longer than the measurement during the second phase. More light is received and evaluated during the off phase so that more signal energy is received compared to the noise generated in the circuit, especially the shot noise of the photodiode. The measurement time during the second phase when the light source is on is limited by the acceptable distortion generated by the light source in a behind-OLED situation. Practically, the first phase may be an integer multiple of the second phase which may be two times or four times or eight times or even higher integer times of the second phase.
Applying the first phase longer than the second phase may be realized by a first and by an alternative second embodiment. According to the first embodiment, the first phase, when the light source is off to measure the ambient light, comprises a consecutive performance of a first sub-phase and a second sub-phase, wherein light is measured during each of the first and second sub-phases.
The measurement circuit comprises an integrator which is coupled to the photodiode, a sum and hold circuit which is coupled downstream of the integrator and a capacitor arrangement to sample the integrator output voltage signal which is disposed between the integrator and the sum and hold circuit.
The capacitor arrangement comprises at least a first and a second capacitor wherein selectively one of said capacitors is operatively connected between the output of the integrator and the input of the sum and hold circuit during the at least first and second sub-phases of the first phase, which is the off phase. A parallel connection of the first and second capacitors is operatively connected between the output of the integrator and the input of the sum and hold circuit during the second phase, which is the on phase of the light source. Accordingly, during the first phase only one of the capacitors is operative, during the second phase, both capacitors are operative in a parallel connection as the average charge is transferred to the sum and hold circuit.
As the first phase is longer than the second phase and comprises a first sub-phase and a second sub-phase, the first capacitor is operative during the first sub-phase and the second capacitor is operative during the second sub-phase.
Such sub-phases can be extended to higher than two where more capacitors are connected as a parallel array at the sum and hold input where each capacitor stores the integration voltage for one sub-phase.
The operation of the first and second capacitors during first sub-phase, the second sub-phase and the second phase is achieved by switches disposed between one of the capacitor plates and the output of the integrator and another one of the capacitor plates and the input of the sum and hold circuit. The switches are operated such that the first and second switches connected to the first capacitor are conductive during the first sub-phase and non-conductive during the second sub-phase to achieve that the first capacitor is operative during the first sub-phase and decoupled during the second sub-phase. The third and fourth switches connected to the second capacitor are non-conductive during the first sub-phase and conductive during the second sub-phase so that the second capacitor is operative during the second sub-phase and decoupled during the first sub-phase.
The capacitors in the capacitor arrangement are controlled by corresponding control signals which perform a switching of the first and second switches out of phase compared to the third and fourth switches during the first and second sub-phases of the first phase. The first and second switches are conductive when the third and fourth switches are non-conductive and vice versa.
The capacitor arrangement may comprise at least four capacitors disposed between integrator output and input of the sum and hold circuit. During the first phase, which is the off phase of the light source, a single one of said four capacitors is associated to one of the sub-phases. Having four sub-phases, a different one of the four capacitors is associated to each one of the sub-phases so that it is operatively connected between integrator output and sum and hold circuit input, wherein the other capacitors are disconnected. The four capacitors may have equal capacitance. Each sub-phase of the first phase is associated to one of the capacitors. The principle can be extended to more than four capacitors, such as eight capacitors and so forth.
During operation of the capacitor arrangement an output signal is received from the integrator and a charge is stored in the individual capacitors of the capacitor arrangement. A noise averaging is performed during the first and second sub-phases of the first phase. The signal from the integrator includes a useful signal portion and a noise portion, wherein noise averaging reduces the noise portion.
The sum and hold circuit comprises an amplifier connected downstream of the capacitor arrangement which includes at least one capacitor connected between input and output of the amplifier and a switch connected parallel to the capacitor. The sum and hold circuit is configured and operative to generate an output signal that represents the difference between the charge stored in the capacitors of the capacitor arrangement at the end of the first phase, that is at the end of the last sub-phase of the first phase, and the charge stored in the capacitors of the capacitor arrangement at the end of the second phase.
The signal at the output of the sum and hold circuit which comprises the difference between the charges from the capacitor arrangement at the end of the first and second phases is forwarded to an ADC (analog-to-digital converter) to convert the analog voltage signal to a digital code which may be a bitstream or a digital word useful for further use to control operation of the circuit.
According to the second alternative embodiment, the integrator generates a first signal that represents the amount of light received by the photodiode during the first phase when the light source is off and a second signal that represents the amount of light received by the photodiode during the second phase when the light source is on. The measurement circuit normalizes the first signal when the light source is off by the ratio of durations or lengths of the first and the second, off and on, phases. The sum and hold circuit generates the difference between the normalized first signal of the off phase and the second signal of the on phase.
The integration capacitor of the integrator disposed between input and output of the integrator is increased by said ratio of the lengths of the first and second phases so that the gain of the integrator is changed from the first to the second phase.
Concerning applications of the proximity sensor in a larger device, the output signal from the optical proximity sensor may be used in a mobile communication device such as a smartphone, wherein the proximity sensor including the light source is disposed behind the display. The output signal from the optical proximity sensor serves as an indicator of the level of proximity of an object relative to the mobile communication device and may be used to control the brightness of the display. For example, when an object is proximate, which may be the case when a user of a smartphone receives a telephone call, the brightness of the display is reduced or shut off. When no object is determined to be proximate, the brightness of the display is operated as normal.
It is to be understood that both the foregoing general description and the following detailed description are merely exemplary, and are intended to provide an overview or framework to understand the nature and character of the claims. The accompanying drawings are included to provide a further understanding and are incorporated in, and constitute a part of, this description. The drawings illustrate one or more embodiments, and together with the description serve to explain principles and operation of the various embodiments. The same elements in different figures of the drawings are denoted by the same reference signs.
In the drawings:
The present disclosure will now be described more fully hereinafter with reference to the accompanying drawings showing embodiments of the disclosure. The disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the disclosure will fully convey the scope of the disclosure to those skilled in the art. The drawings are not necessarily drawn to scale but are configured to clearly illustrate the disclosure.
The light source 110 illuminates the space and the reflected light is a function of the distance of the nearest object to the sensor. In order to accurately measure this reflected light and subtract out the ambient, at least two measurements are necessary, one with the illuminating light source 110 turned on and one with light source 110 turned off. The difference is a measure of the reflected light and therefore a measure for the proximity of object 150 to device 10. The operation of the circuits is subject to noise which is particularly caused by the shot noise of the photodiode 121, which may be a problem under high ambient light conditions of, for example, more than 100 klux.
Photodiode 205 is disposed behind the display of a smartphone and receives ambient light only in a first measurement phase and ambient light plus the reflected light in a second measurement phase. The reflected light results from light generated by the light source 110 which may be a VCSEL generating light at a defined wavelength such as 940 nm and reflected at an object.
First stage 121 includes an integrator 210 which comprises an operational amplifier 211 of which the inverting input is coupled to photodiode 205. A capacitor 212 is connected between inverting input and output 213 of amplifier 211. The non-inverting input of amplifier 211 is connected to a reference capacitor 215 and may be charged through a switch 216 with reference potential VCM1. A switch 214 is connected in parallel to feedback capacitor 212 to initialize the integrator. The output signal S1 of the integrator 210 includes portions such as a reset portion during which the integrator is set to an initial state, an integration portion during which the current from photodiode 205 is applied to the integrator and integrated in capacitor 212, and a hold portion during which integration is stopped and the integrated signal S1 is sampled and forwarded to the second stage 122.
The second stage 122 includes a sampling capacitor arrangement 230 comprising, in the present case, four capacitors 231, 232, 233, 234. Corresponding switches are provided to either plate of the capacitors to couple the capacitors to the output 213 of integrator 210 and the input 253 of the downstream connected sum and hold circuit 250. Capacitor 231 is connected through switch 241 to output 213 of integrator 210 and through switch 242 to input 253 of sum and hold circuit 250. Capacitor 232 is connected through switch 243 to output 213 and through switch 244 to input 253. Correspondingly, capacitor 233 has switches 245, 246 and capacitor 234 has switches 247, 248 for connection to terminals 213, 253. During operation, only one of the capacitors 231, 232, 233, 234 is selected and operative so that it is connected between output 213 of integrator 210 and input 253 of sum and hold circuit 250 during the off phase of light source 110 and the first measurement phase. The parallel connection of the four shown capacitors is connected between output 213 and input 253 during the on phase of light source 110 and the second measurement phase, as explained in more detail below.
The second stage 122 includes sum and hold circuit 250 connected downstream of capacitor arrangement 230. Sum and hold circuit 250 includes an operational amplifier 251 of which the inverting input 253 is connected to the capacitor arrangement 230. At least one capacitor 252 is connected between inverting input and output 254 of operational amplifier 251. A switch 255 is connected in parallel to capacitor 252. Another capacitor may be connected in parallel to capacitor 252. The non-inverting input of amplifier 251 is connected to a reference capacitor 256 and through a switch 257 to another reference potential VCM2. Sum and hold circuit 250 receives the voltages from the capacitor arrangement 230 during on and off measurement phases and forms the difference between the corresponding voltage signals supplied by the capacitor arrangement to subtract out the ambient light portion so that the reflected light portion remains as a measure for the proximity of object 150 relative to display 140.
Operation of the circuit of
The off time measurement is considerably longer than the on time measurement. According to the first embodiment of which the operational phases are shown in the lower portion of
Then, a measurement cycle of on and off phases is performed wherein the sequence is reversed in that, first, an on measurement phase 316 is performed, followed by four consecutive off measurement phases 317, 318, 319, 320. One individual on or off measurement phase such as 311 or 315 includes integration of ambient light in 311 or integration of ambient plus reflected light in 315 followed by a hold phase 3111 an 3151, respectively, and a reset phase to prepare the circuit for the next measurement phases 312 and 316, respectively. During phase 311 only capacitor 234 having capacitance CS1 is operative and operatively connected between the output 213 of the first stage and the input 253 of the sum and hold circuit. During the phases 312, 313, 314 capacitor 234 of capacitance CS1 is shut off and another one of the capacitors, such as 233 having capacitance CS2 during phase 312, capacitor 232 having capacitance CS3 during phase 313 and capacitor 231 having capacitance CS4 during phase 314, is operative. The capacitors 231, . . . , 234 have equal capacitance so that CS1=CS2=CS3=CS4. During the on measurement phase, all four capacitances 231, . . . , 234 are connected parallel to each other so that the effective capacitance between output 213 of the first stage and input 253 of the sum and hold circuit is the sum of capacitances CS1+CS2+CS3+CS4. The individual and parallel connection of the capacitances 231, . . . , 234 are achieved by the switches 241, 242, . . . , 247, 248. The switches are operated by corresponding control signals CLK34, . . . , CLK31 that provide corresponding control signals to open or close the switches and cause the switches to be non-conductive and conductive, resp.
The impact of noise is improved so that the SNR (signal to noise ratio) is lower than in a conventional case that has only one single sampling capacitor disposed between first and second stages for on and off measurement phases. The following equations apply to the circuit in
The shot noise current in the photodiode is given as:
Shot noise current=sqrt(qI/ton),
wherein q is the electron charge, I is the photocurrent and ton is the ontime which is mostly identical to the integration time.
The shot noise voltage is given as:
Shot noise voltage=sqrt(qIton/Cint2), wherein
Cint is the capacitance of integration capacitor 212.
Each integration of off phase produces certain noise voltage Vnoise1 for a given signal voltage Vsignal1.
The signal and noise charges, after averaging, onto second stage are:
Second stage input signal=Vsignal1*CS1/4+Vsignal2*CS2/4+Vsignal3*CS3/4+Vsignal4*CS4/4
Noise charge=sqrt(Vnoise12*CS12/16+Vnoise22*CS22/16+Vnoise32*CS32/16+Vnoise42*CS42/16)
By comparison, in a conventional sensor having equal off and on measurement times and correspondingly equal capacitances in the off and on measurement phases:
The SNR of the circuit according to
With the embodiment shown in
According to the second embodiment, the integrator generates a first signal that represents the amount of light received by the photodiode during the off phase. The integrator further generates a second signal that represents the amount of light received by the photodiode during the on phase so that the measurement time with the illuminating light may be fixed but the time of integration/measurement when the light source is off is increased. The ambient light during the off phase of the light source is integrated and measured for longer than ambient light plus signal light during the on phase of the light source. The off measurement light counts are normalized by the ratio of on/off time durations before the subtraction in a sum and hold circuit. This technique reduces the noise in the measurement of ambient light and improves the overall shot noise by a factor of up to SQRT (2). Accordingly, the measurement circuit is configured to normalize the first signal generated during the off phase by the ratio of lengths between first and second phases and then the sum and hold circuit generates the difference between the normalized first signal and the second signal obtained during the on phase.
The ambient light measurement during the off phase may be four to eight times longer than the measurement during the on phase. It may be necessary to use different gain of the integrator during the off and the on measurement phases which can be achieved by the adaption of the integration capacitance by the ratio of lengths of first and second phases. According to the second embodiment, the capacitance during the off phase is larger than during the on phase by the ratio of lengths of first and second phases.
The first and second embodiments increase the measurement time during the off phase and thereby reduce the shot noise improving the SNR. The first embodiment as depicted in
It will be apparent to those skilled in the art that various modifications and variations can be made without departing from the spirit or scope of the disclosure as laid down in the appended claims. Since modifications, combinations, sub-combinations and variations of the disclosed embodiments incorporating the spirit and substance of the disclosure may occur to the persons skilled in the art, the disclosure should be construed to include everything within the scope of the appended claims.
This patent application claims the priority of German patent application with application No. 102021108275.7, the disclosure content of which is hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
10 2021 108 275.7 | Mar 2021 | DE | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/058298 | 3/29/2022 | WO |