Ambient light sensor
11580901 ยท 2023-02-14
Assignee
Inventors
- Timothy Cogan (Eindhoven, NL)
- Doug Nelson (Eindhoven, NL)
- Pradeep Hegde (Eindhoven, NL)
- James Archibald (Eindhoven, NL)
- Drew Paterson (Eindhoven, NL)
- George Richard Kelly (Eindhoven, NL)
- David Harlow Sin (Eindhoven, NL)
Cpc classification
G09G2320/0633
PHYSICS
G09G2360/16
PHYSICS
International classification
Abstract
Techniques are described for portable computing devices and other apparatus that include an ambient light sensor. The techniques can be particularly advantageous for situations in which the ambient light sensor is disposed behind a display screen of a host device such that ambient light detected by the sensor passes through the light emitting display before being detected by the sensor.
Claims
1. An apparatus comprising: a light emitting display screen; an ambient light sensor disposed behind the display screen; and a processor configured to receive, process and analyze signals from the ambient light sensor and to control a brightness of the display screen, wherein the processor is configured to estimate a first amount of a light signal detected by the ambient light sensor that is attributable to light generated by the display screen, to subtract the first amount from a second amount so as to obtain an ambient light value, wherein the second amount represents a combined amount of light detected by the ambient light sensor, the combined amount including ambient light and light generated by the display screen, and wherein the processor is configured to control the brightness of the display screen based, at least in part, on the ambient light value.
2. The apparatus of claim 1, wherein the display screen comprises an OLED-type display screen.
3. The apparatus of claim 1, wherein the processor is configured to estimate the first amount of the light signal detected by the ambient light sensor based on a feature of a signal detected by the ambient light sensor, wherein the feature correlates with an amplitude of a light signal generated by the display screen.
4. The apparatus of claim 3, wherein the feature of the signal detected by the ambient light sensor that correlates with the amplitude of the light signal generated by the display screen corresponds to a refresh period of the display screen.
5. The apparatus of claim 1, wherein the processor is configured to extract a periodic signal from data received from the ambient light sensor, wherein an amplitude of the extracted periodic signal correlates with an amplitude of the light generated by the display screen, the processor further being configured to access a look-up table to estimate the amplitude of the light generated by the display screen based on the amplitude of the extracted periodic signal.
6. The apparatus of claim 5, wherein the periodic signal has a period that is the same as a period of a refresh signal for the display screen.
7. The apparatus of claim 1 further comprising a cover glass, wherein the light emitting display screen is disposed behind the cover glass.
8. The apparatus of claim 1 wherein the ambient light sensor includes multiple light channels, the processor being configured to estimate, for each particular channel separately, a respective ambient light value by: estimating a first respective amount of a light signal detected by the particular channel that is attributable to light generated by the display screen; and subtracting the first respective amount from a second respective amount so as to obtain the respective ambient light value, wherein the second amount represents a combined amount of light detected by the particular channel, the combined amount including ambient light and light generated by the display screen, wherein the processor is configured to control the brightness of the display screen based, at least in part, on a weighted average of the respective ambient light values for the channels.
9. The apparatus of claim 1, wherein the processor is configured to report a lux value to the display screen, wherein the lux value is based at least in part on the ambient light value, the display screen being configured to respond in a predetermined manner based on the reported lux value.
10. The apparatus of claim 9, wherein the display screen is configured to adjust its display light level in response to the reported lux value.
11. A method of controlling a brightness of a display screen, the method comprising: detecting, in an ambient light sensor disposed behind the light emitting display, a combined amount of light including ambient light and light generated by the display screen, receiving, in a processor, signals from the ambient light sensor, the received signals representing the combined amount of light; estimating, by the processor, a first amount of a light signal detected by the ambient light sensor that is attributable to light generated by the display screen; subtracting the first amount from a second amount so as to obtain an ambient light value, wherein the second amount represents the combined amount of light; and adjusting the brightness of the display screen based, at least in part, on the ambient light value.
12. The method of claim 11, wherein the display screen comprises an OLED-type display screen.
13. The method of claim 11, wherein the estimating the first amount of the light signal detected by the ambient light sensor is based on a feature of a signal detected by the ambient light sensor, wherein the feature correlates with an amplitude of a light signal generated by the display screen.
14. The method of claim 13, wherein the feature of the signal detected by the ambient light sensor that correlates with the amplitude of the light signal generated by the display screen corresponds to a refresh period of the display screen.
15. The method of claim 11, further comprising extracting a periodic signal from data received from the ambient light sensor, wherein an amplitude of the extracted periodic signal correlates with an amplitude of the light generated by the display screen, the method further including accessing a look-up table to estimate the amplitude of the light generated by the display screen based on the amplitude of the extracted periodic signal.
16. The method of claim 15, wherein the periodic signal has a period that is the same as a period of a refresh signal for the display screen.
17. The method of claim 11, wherein the ambient light sensor includes multiple light channels, the method including estimating, for each particular channel separately, a respective ambient light value by: estimating a first respective amount of a light signal detected by the particular channel that is attributable to light generated by the display screen; and subtracting the first respective amount from a second respective amount so as to obtain the respective ambient light value, wherein the second amount represents a combined amount of light detected by the particular channel, the combined amount including ambient light and light generated by the display screen; and controlling the brightness of the display screen based, at least in part, on a weighted average of the respective ambient light values for the channels.
18. The method of claim 11 including: reporting a lux value that is based at least in part on the ambient light value; and adjusting the light level of the display screen in response to the reported lux value.
19. The method of claim 11, wherein the ambient light passes through the light emitting display before being detected by the ambient light sensor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) As shown in
(7) Overall brightness of the OLED can be controlled, for example, by either applying PWM modulation of each pixel with a transistor in series with the pixel or by the adjusting the overall range of current that can drive each pixel.
(8) The inventors of the present application determined that the amplitude of an artifact that appears in the signal sensed by the ALS 14 correlates generally with the amplitude of the light signal generated by the OLED 12 itself. The artifact results from the display's refresh period (sometimes referred to as the display blanking period) and can be used to estimate the amplitude of the light signal from the OLED 12. The estimated OLED light signal then can be subtracted from the corresponding signal sensed by the ALS 14 to obtain a more accurate estimate of the ambient light signal.
(9)
(10) As indicated at 106, the processor 16 also extracts the periodic display signal from the raw sensor data. Further, as indicated at 108, the processor 16 calculates one or more signal features (e.g., amplitude) of the extracted periodic signal.
(11) As indicated by 110, the processor 16 estimates the average (e.g., mean) sensed display brightness based on the amplitude of the 60 Hz signal previously identified in operation 108. For this purpose, the processor 16 can access a look-up table (LUT) 18 stored in memory or implemented in software (see
(12) At 112, the processor 16 then calculates the difference between the average (e.g., mean) value of the sensor data obtained at operation 104 and the average (e.g., mean) sensed display brightness determined at operation 110. The difference represents an estimate of the ambient light signal. The resulting estimate of the ambient light signal can be stored in memory associated with the processor 16.
(13) As mentioned above, in some implementations, the ALS 14 includes multiple channels (e.g., multiple photodiodes each of which is sensitive to a different respective wavelength or range of wavelengths). In such instances, the processor 16 can perform the operations within the dashed box 120 (i.e., operations 102 through 114) for each channel, respectively. As indicated at 116, the processor 16 then calculates the ambient lux (i.e., the illuminance) based on the ambient light level(s) stored at 114. Where the ALS 14 has multiple channels, the processor 16 can calculate the lux based, for example, on a weighted average of the estimated ambient light values for the various channels. For example, in some implementations (e.g., a 4-channel implementation), the lux calculation is a linear combination of the channels, e.g., lux=(channel_0*a)+(channel_1*b)+(channel_2*c)+(channel_3*d), where the values of a, b, c and d depend on the OLED glass transmissivity, the spectral responses of the channels, and in some cases the light type being measured. The values of a, b, c and d can be determined, for example, empirically.
(14) As indicated at 118, the resulting ambient lux value then can be reported by the processor 16, for example, to a sub-system of the portable computing device 10 that responds in some predetermined manner based on the report information. For example, in some implementations, the resulting ambient lux value is used to control the display light level. In particular, the display screen 12 can be operable to adjust its display light level in response to receiving the reported lux value from the processor 16.
(15) The techniques described here can be used to compensate for display brightness so that an ambient light sensor 14 can be used to measure ambient light levels even when disposed behind the display 12.
(16) Although a 60 Hz signal is used in the particular examples described above, other frequencies can be used for other implementations.
(17) Various aspects of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Thus, aspects of the subject matter described in this specification can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more of them. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware.
(18) A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
(19) The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
(20) Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Computer readable media suitable for storing computer program instructions and data include all forms of non volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
(21) While this specification contains many specifics, these should not be construed as limitations on the scope of the invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of the invention. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a sub-combination or variation of a sub-combination.
(22) Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous.
(23) A number of implementations have been described. Nevertheless, various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other implementations are within the scope of the invention.