Method of ambient luminosity level detection, and corresponding sensor

10837825 ยท 2020-11-17

Assignee

Inventors

Cpc classification

International classification

Abstract

A method of detecting ambient luminous radiation includes resetting and triggering a counter each time a photodiode illuminated by the ambient luminous radiation reaches a discharge threshold. The counter is then being clocked by a clock signal having a first frequency and delivering a counter output signal. The method further includes generating an AC signal representative of the ambient luminous radiation by converting, from digital to analog, a digital signal obtained from the counter output signal.

Claims

1. An electronic circuit comprising: a photodiode; a counter that is configured to be clocked by a clock signal having a first frequency and configured to deliver a counter output signal; a control module that is configured to reset and trigger the counter when the photodiode illuminated by ambient luminous radiation reaches a discharge threshold, the control module configured to a generate a DC signal representative of a light level of the ambient luminous radiation; and a processing stage including a converting module configured to perform a digital-to-analog conversion of a digital signal obtained from the counter output signal so as to generate an AC signal representative of a frequency of the ambient luminous radiation, wherein the electronic circuit is configured to simultaneously output the DC signal and the AC signal.

2. The circuit according to claim 1, wherein the AC signal is representative of the level and of a frequency or frequencies of the ambient luminous radiation.

3. The circuit according to claim 1, wherein the first frequency is higher than the frequency of the reset of the counter.

4. The circuit according to claim 1, wherein the control module is furthermore configured to reset the photodiode when the latter reaches the discharge threshold.

5. The circuit according to claim 1, produced in digital technology.

6. The circuit according to claim 1, wherein the processing stage furthermore comprises a sampling module that is configured to undersample the counter output signal at a second frequency that is less high than the first frequency.

7. The circuit according to claim 6, wherein the processing stage furthermore comprises a filtering module configured to passband filter the undersampled counter output signal, the digital signal being the filtered signal.

8. The circuit according to claim 7, wherein the passband filtering possesses a low cut-off frequency of about 66 Hz and a high cut-off frequency of about 2 kHz.

9. An electronic circuit comprising: a photodiode; a counter that is configured to be clocked by a clock signal having a first frequency and configured to deliver a counter output signal; a control module that is configured to reset and trigger the counter when the photodiode illuminated by ambient luminous radiation reaches a discharge threshold; and a processing stage including a converting module configured to perform a digital-to-analog conversion of a digital signal obtained from the counter output signal so as to generate an AC signal representative of a level of the ambient luminous radiation, wherein the processing stage furthermore comprises a processing module configured to generate an intermediate signal by clipping and inverting the counter output signal, said digital signal being obtained from said intermediate signal.

10. The circuit according to claim 9, wherein the processing stage furthermore comprises a sampling module that is configured to undersample the intermediate signal at a second frequency that is less high than the first frequency.

11. The circuit according to claim 10, wherein the processing stage furthermore comprises a filtering module configured to passband filter the undersampled intermediate signal, the digital signal being the filtered signal.

12. The circuit according to claim 11, wherein the passband filtering possesses a low cut-off frequency of about 66 Hz and a high cut-off frequency of about 2 kHz.

13. A detector of ambient light level comprising: an electronic circuit that comprises a photodiode; a counter that is configured to be clocked by a clock signal having a first frequency and configured to deliver a counter output signal; a control module that is configured to reset and trigger the counter when the photodiode illuminated by ambient luminous radiation reaches a discharge threshold, the control module configured to a generate a DC signal representative of a light level of the ambient luminous radiation; and a processing stage including a converting module configured to perform a digital-to-analog conversion of a digital signal obtained from the counter output signal so as to generate an AC signal representative of a frequency of the ambient luminous radiation.

14. An electronic device comprising a laptop, tablet, or cellular mobile telephone, the electronic device comprising the detector according to claim 13.

15. A motor vehicle comprising the detector according to claim 13.

16. A method of detecting ambient luminous radiation, the method comprising: resetting and triggering a counter each time a photodiode illuminated by the ambient luminous radiation reaches a discharge threshold, the counter then being clocked by a clock signal having a first frequency and delivering a counter output signal; and simultaneously output a DC signal and an AC signal by generating the DC signal representative of a light level of the ambient luminous radiation and generating the AC signal representative of a frequency of the ambient luminous radiation by converting, from digital to analog, a digital signal obtained from the counter output signal.

17. The method according to claim 16, wherein the AC signal is representative of the level and of one or more frequencies of the ambient luminous radiation.

18. The method according to claim 16, wherein the first frequency is higher than a reset frequency of the counter.

19. The method according to claim 16, wherein the photodiode is reset when it reaches said discharge threshold.

20. The method according to claim 16, wherein the discharge threshold of the photodiode is chosen so as to obtain a counter reset frequency of higher than 4 kHz.

21. The method according to claim 16, further comprising undersampling the counter output signal at a second frequency lower than the first frequency.

22. The method according to claim 21, further comprising passband filtering the undersampled counter output signal, the digital signal being the filtered signal.

23. The method according to claim 22, wherein the passband filtering comprising a low cut-off frequency of about 66 Hz and a high cut-off frequency of about 2 kHz.

24. A method of detecting ambient luminous radiation, the method comprising: resetting and triggering a counter each time a photodiode illuminated by the ambient luminous radiation reaches a discharge threshold, the counter then being clocked by a clock signal having a first frequency and delivering a counter output signal; generating an AC signal representative of a level of the ambient luminous radiation by converting, from digital to analog, a digital signal obtained from the counter output signal; and generating an intermediate signal by clipping and inverting the counter output signal, and obtaining the digital signal from the intermediate signal.

25. The method according to claim 24, comprising undersampling the intermediate signal at a second frequency lower than the first frequency.

26. The method according to claim 25, further comprising passband filtering the undersampled intermediate signal, the digital signal being the filtered signal.

27. The method according to claim 26, wherein the passband filtering comprising a low cut-off frequency of about 66 Hz and a high cut-off frequency of about 2 kHz.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Other advantages and features of the invention will become apparent on examining the detailed description of completely nonlimiting implementations and embodiments and the appended drawings, in which:

(2) FIGS. 1 to 6 schematically illustrate implementations and embodiments of the invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

(3) Embodiments of the present invention describe a small silicon footprint circuit of a low complexity that generates AC output signals corresponding to the variation in the ambient light level in proximity to each photodiode of a detector of ambient light level. These AC output signals are intended to be delivered to a host processor, for example a microcontroller, able to calculate the flicker frequencies of the light sources on the basis of these AC output signals. Therefore, this information on flicker frequencies allows the processor to choose a suitable exposure time so as to prevent such a problem with variable-frequency flicker.

(4) The reference 1 in FIG. 1 illustrates a motor vehicle, for example a car 1, equipped with at least one detector of ambient light level, here for example a detector ALS placed at the back of the car and in proximity to a reversing camera system CAM of the car 1.

(5) The detector ALS of ambient light level is configured to measure the light level in proximity to the detector ALS and to deliver to the reversing camera system CAM one or more signals representative of the one or more flicker frequencies of artificial light sources SLA in proximity to the car 1.

(6) It should be noted that artificial light sources SLA based on light-emitting-diode (LED) technology, for example car LED rear lights and headlights, have been widely used in everyday life for a number of years.

(7) Therefore, the one or more flicker frequencies of the artificial light sources SLA are no longer limited to conventional frequencies, i.e. 50 Hz and 60 Hz. By way of indication, the flicker frequencies may vary between a few Hz and 2 kHz.

(8) FIG. 2 very schematically illustrates an electronic device 2, here, for example, a smart phone 2 including a detector ALS of ambient light level placed in proximity to a camera module CAM, here for example a front-facing camera module CAM, and a processing unit 3, here for example an image processor 3.

(9) The detector ALS of ambient light level is configured to deliver, to the image processor 3, at least one AC output signal so as to allow said processor 3 to determine the one or more flicker frequencies in proximity to the detector ALS, and the ambient light level.

(10) Thus, the processor 3 may be configured to choose a suitable exposure time by taking into account the detected flicker frequencies so as to make the camera module CAM insensitive to said one or more flickers and to therefore increase the quality of images taken with the camera module CAM.

(11) Reference is now made to FIG. 3 in order to schematically illustrate one embodiment of the detector ALS of ambient light level.

(12) The detector ALS comprises a first circuit 4 including at least one photodiode, here for example three photodiodes PDR, PDG, and PDB, each intended to receive light of a separate colour (red R, green G, blue B) and each connected to a corresponding control module MCR, MCG, and MCB.

(13) By way of example, the first circuit 4 may also include other photodiodes intended to for example receive infrared radiation having a wavelength longer than 850 nm.

(14) As the structures of each photodiode PDR, PDG or PDB and its corresponding control module MCR, MCG or MCB are identical, for the sake of simplicity the simplified circuit diagram of the photodiode PDR and its corresponding control module MCR will be focused on.

(15) The anode of the photodiode PDR is coupled to ground GND and the cathode K of the photodiode PDR is coupled to a positive supply terminal VDD of the first circuit 4 via a reset switch 5, here for example embodied by a MOS transistor.

(16) The control module MCR comprises: a comparator COMR including a first input E1R coupled to the cathode K of the photodiode PDR, a second input E2R coupled to a reference voltage VREF and an output SR; and a control stage 6 coupled to the output SR and to the switch 5.

(17) The comparator COMR is known per se to those skilled in the art and configured to deliver a comparison signal SCR to the output SR depending on the voltages present on the first input E1R and the second input E2R.

(18) FIG. 4 shows a timing diagram illustrating the operation of the photodiode PDR and of the corresponding control module MCR.

(19) When the voltage present on the first input E1R, in other words the voltage VK of the cathode of the photodiode PDR, is higher than the reference voltage VREF, the comparison signal SCR is in a first state, here for example a low state.

(20) When the voltage VK is lower than the reference voltage VREF, the comparison signal SCR is in a second state, here for example a high state.

(21) The reference voltage VREF here functions as a discharge threshold that may be used to adjust the discharge time Tdi of the photodiode PDR. It should be noted that in order to detect a frequency of 2 kHz, the discharge time Tdi must not exceed 1/(2*2k) is, i.e. 250 s.

(22) The control stage 6 is intended to receive the comparison signal SCR and configured to deliver to the switch 5 a reset signal SRER depending on the comparison signal SCR so as to control the recharging of the photodiode PDR.

(23) When the reset signal SRER is in the low state, the switch 5 is open, and therefore the cathode K of the photodiode PDR is not coupled to the positive supply terminal VDD.

(24) As the photodiode PDR is sensitive to light, the voltage VK decreases at a rate that depends on the light intensity received by the photodiode PDR.

(25) When the comparison signal SCR is in its high state, the control stage 6 is configured to deliver the reset signal SRER in its high state so as to switch the switch 5 to the closed state.

(26) Thus, the cathode K of the photodiode PDR is once again connected to the positive supply terminal VDD. The voltage VK is substantially equal to the voltage on the supply terminal VDD which is higher than the reference voltage VREF. The comparison signal SCR is once again in the low state.

(27) The control stage 6 here furthermore comprises an output OUT and is configured to deliver a value representative of a light level measured by the detector ALS. This representative value is here generated in the form of a DC signal SDC.

(28) Details on the operation and structure of the control stage 6 may be found in French Patent Publication FR 2 997 496 filed on Oct. 25, 2012 (US counterpart U.S. Pat. No. 9,074,939B2 filed on Oct. 10, 2013), which are both incorporated herein by reference.

(29) As will now be seen in more detail, the light level may thus be obtained via an AC signal. In this respect, the detector ALS furthermore comprises a selecting module 7 that is intended to receive all the comparison signals SCR, SCG and SCB of the photodiodes PDR, PDG and PDB and configured to selectively deliver one of the comparison signals SCR, SCG and SCB depending on a selection signal SS. The detector ALS furthermore comprises a second circuit 8 that is intended to receive the selected comparison signal SCi i=R, G, or B and configured to generate an AC signal SAC representative of the light level and of frequencies of the ambient luminous radiation illuminating the detector ALS.

(30) By way of example, the selecting module 7 may comprise a conventional multiplexer known per se to those skilled in the art.

(31) Reference is now made to FIG. 5 in order to illustrate an example embodiment of the second circuit 8.

(32) The second circuit 8 includes a counter 9 that is intended to receive the comparison signal selected by the multiplexer, here for example the comparison signal SCR, and configured to be reset when the corresponding photodiode, here for example the photodiode PDR, reaches its discharge threshold.

(33) Once reset and triggered, the counter 9 is then clocked by a clock signal CLK having a first frequency F1, here for example at 10 MHz.

(34) The second circuit 8 also includes a processing stage ET including a converting module 13 that is configured to perform a digital-to-analog conversion of a digital signal SN obtained from the counter output signal SSC so as to generate an AC signal SAC representative of the level and of the one or more frequencies of the ambient luminous radiation.

(35) Although not indispensable, it is preferable for the processing stage ET to include a processing module 10 that is configured to generate an intermediate signal SI by clipping CLIP and inverting INV the counter output signal SSC; a sampling module 11 that is configured to undersample the intermediate signal SI at a second frequency F2 lower than the first frequency F1; and a filtering module 12 that is configured to passband filter the sampled intermediate signal SIE.

(36) It should be noted that in this case the digital signal SN to be converted to the analog domain is the filtered signal.

(37) Moreover, sampling the intermediate signal SI at the known second frequency F2 advantageously allows subsequent digital filtering, here passband filtering, while removing the variability in the frequency of the triggering of the counter 9, which frequency varies depending on the ambient luminous radiation received by the photodiodes PDR, PDG, and PDB.

(38) By way of indication, the second circuit 8 is completely implemented in digital technology in order to advantageously allow greater design flexibility and higher precision in the generation of the AC signal SAC.

(39) Reference is now made to FIG. 6 in order to present an example of a timing diagram illustrating the operation of the second circuit 8.

(40) As described above, the comparison signal SCR is in the high state when the photodiode reaches its discharge threshold, or in other words when the voltage VK is lower than the reference voltage VREF.

(41) Thus, the counter 9 is reset and triggered on the rising fronts of the selected comparison signal, here for example the signal SCR.

(42) The counter 9 is clocked by the clock signal CLK at high frequency so as to clearly distinguish the discharge time Tdi varying as a function of the light intensity received by the photodiode PDR.

(43) When the light intensity received is low, the discharge time Tdi becomes longer, thereby allowing a longer period between two resets of the counter 9.

(44) Therefore, a low received light intensity leads to a longer discharge time and a higher value on the output of the counter 9.

(45) After reset, the counter 9 is implemented on each rising front of the clock signal CLK. The longer the time between two resets, the higher the value of the counter before the following reset.

(46) The output signal of the counter SSC is formed by the counter values obtained before each reset of the counter 9. The lower the light intensity received by the photodiode PDR, the higher the value of the counter output signal SSC.

(47) In order to remove discharge times Tdi that are too long, the processing module 10 is configured to perform clipping CLIP, here for example at 216, on the counter output signal SSC.

(48) In addition, the processing module 10 is configured to perform an inversion INV of the counter output signal SSC following the clipping so as to generate an intermediate signal SI the amplitude of which is proportional to the light intensity received by the photodiode PDR, as illustrated in FIG. 6.

(49) In order to obtain a better balance between the performance and power consumption of the second circuit 8 while retaining design flexibility, the sampling module 11 is configured to generate the sampled intermediate signal SIE by undersampling the intermediate signal SI at a second frequency F2 that is less high than the first frequency F1.

(50) By way of nonlimiting example, this second frequency F2 may be 16 kHz and obtained from the clock signal CLK.

(51) As may be seen in FIG. 6, the amplitude of the sampled intermediate signal SIE is proportional to the light intensity received by the photodiode PDR just like the intermediate signal SI.

(52) In practice, the flicker frequency of an artificial light source generally does not exceed 2 kHz. To further improve performance and decrease the power consumption of the detector, the filtering module 12 is configured to passband filter the sampled intermediate signal SIE.

(53) By way of example, the passband filtering has a low cut-off frequency of about 66 Hz and a high cut-off frequency of about 2 kHz. The low cut-off frequency is set to 66 Hz because the conventional frequencies of 50 Hz/60 Hz are taken into account in the control stage 6 that generates the DC signal SDC.

(54) As illustrated in FIG. 5, the filtering module may be produced using a first low-pass filter FPB1 having a cut-off frequency of 2 kHz coupled in series with a second low-pass filter FPB2 having a cut-off frequency of 66 Hz. The digital signal SN is obtained by subtracting the signal output from the first low-pass filter FPB1 and the signal output from the second low-pass filter FPB2.

(55) The first and second low-pass filters FPB1 and FPB2 may for example be infinite impulse response (IIR) filters.

(56) The digital signal SN therefore possesses a passband below 2 kHz. The dynamic range at 100 Hz is lower than 11 bits.

(57) Thus, as illustrated in FIG. 5, the converting module 13 may for example comprise a sigma-delta modulator known per se to those skilled in the art and configured to perform a first-order sigma-delta modulation having a dynamic range of 12 bits at 10 MHz. The converting module 13 may further include a 1-bit digital-analog converter CNA that is known per se and configured to perform a 1-bit digital-to-analog conversion and to generate the AC signal SAC.

(58) This signal SAC may then be filtered by an analog smoothing filter and delivered to a host processor of the detector ALS, for example a microcontroller, able to implement signal-processing operations such as a fast Fourier transform and a pulse width modulation (PWM) so as to extract information on the levels and the one or more flicker frequencies of the ambient luminous radiation from the AC signal SAC.

(59) Thus, a detector of ambient light level capable of generating an AC signal representative of the ambient light levels and of frequencies of ambient luminous radiation in proximity to said detector is obtained.

(60) Advantageously, the detector of ambient light level is also compatible with simultaneous generation of a DC signal.