The present invention relates to an electronic device, particularly to an electronic device with an OLED (Organic Light-Emitting Diode) display and an ambient light sensing method thereof.
A mobile electronic device or a wearable electronic device, which is equipped with a display, is likely to use an ambient light sensor to sense an ambient light, whereby to adjust screen brightness. The present ambient light sensor is disposed in the perimeter of the screen. However, the screen-to-body ratio is growing higher and higher. Hence, the space around the screen, which is available for an ambient light sensor, becomes smaller and smaller. Arranging the ambient light sensor below the screen may be a solution to meet the requirement of high screen-to-body ratio.
One objective of the preset invention is to provide an electronic device with an OLED display and an ambient light sensing method thereof.
In one embodiment, the present invention provides an electronic device, which comprises an OLED display including a first display area, wherein a saturation of the first display area remains constant in a first period; a display driver coupled to the OLED display, wherein the display driver changes a brightness coefficient of the first display area from a first brightness coefficient to a second brightness coefficient during the first period; an ambient light sensor under the first display area for sensing light, wherein during the first period, the ambient light sensor senses light to generate a first sensing value when the brightness coefficient of the first display area is the first brightness coefficient and the ambient light sensor senses light to generate a second sensing value when the brightness coefficient of the first display area is the second brightness coefficient; and a controller for calculating an ambient light intensity according to the first brightness coefficient, the second brightness coefficient, the first sensing value and the second sensing value.
In one embodiment, the present invention provides an ambient light sensing method of an electronic device with an OLED display, wherein the electronic device includes an ambient light sensor under a first display area of the OLED display. The ambient light sensing method comprises step A: sensing light to generate a first sensing value by the ambient light sensor when the brightness coefficient of the first display area is a first brightness coefficient in a first period; step B: sensing light to generate a second sensing value by the ambient light sensor when the brightness coefficient of the first display area is a second brightness coefficient in the first period; and step C: calculating an ambient light intensity according to the first brightness coefficient, the second brightness coefficient, the first sensing value and the second sensing value, wherein the a saturation of the first display area remains constant in the first period.
The electronic device and the ambient light sensing method of the present invention can correctly sense ambient light without being affected by the light emitted from the OLED display.
C=ALS+L×Color (Formula 1)
wherein C is the sensing value generated by the ambient light sensor 24; ALS is the intensity of the ambient light AL; L is the brightness coefficient of the first display area DA; Color is the saturation of the first display area DA. According to Formula 1, in a period that the ambient light AL and the saturation Color of the first display area DA remain constant, while the brightness coefficient L of the first display area DA is a first brightness coefficient L1, the ambient light sensor 24 obtains a first sensing value:
C1=ALS+L1×Color (Formula 2)
while the brightness coefficient L of the first display area DA is a second brightness coefficient L2, the ambient light sensor 24 obtains a second sensing value:
C2=ALS+L2×Color (Formula 3)
According to the Formula 2 and Formula 3, the ambient light intensity ALS can be expressed as follows.
It is learned from Formula 4: in the case that the saturation Color of the first display area DA remains constant, after the ambient light sensor 24 generates the first sensing value C1 and the second sensing value C2, the first brightness coefficient L1, the second brightness coefficient L2, the first sensing value C1 and the second sensing value C2 may be used to correctly calculate the ambient light intensity ALS.
In the electronic device 20 of the present invention, the saturation Color of the first display area DA of the OLED display 28 remains constant during a first period T1. In general, the saturation of the pixels of the OLED display 28 remains constant in a frame of the OLED display 28. Therefore, the first period T1 may be within the frame time of a frame. However, the first period T1 of the present invention is not limited within a frame. If the saturation of the first display area DA of the OLED display 28 remains constant during several frames, the first period T1 may be several frame time. The display driver 26 of the electronic device 20 changes the brightness coefficient of the first display area DA from the first brightness coefficient L1 to the second brightness coefficient L2 during the first period T1. While the brightness coefficient of the first display area DA is the first brightness coefficient L1 during the first period T1, the ambient light sensor 24 senses light to generate the first sensing value C1, as shown in step S10 of
In one embodiment, the controller 22 and the ambient light sensor 24 are integrated in an integrated circuit.
In one embodiment, the software, which the controller 22 uses to execute the calculation of Formula 4, is incorporated into the operating system of the electronic device 20.
In one embodiment, the controller 22 provides the first brightness coefficient L1 and the second brightness coefficient L2 to the display driver 26.
While the present invention has been described in conjunction with preferred embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and scope thereof as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
109117756 | May 2020 | TW | national |
This application claims priority for the U.S. provisional patent application No. 62/899,144 filed on 11 Sep. 2019, and Taiwan (R.O.C.) patent application no. 109117756 filed on 28 May 2020, the content of which is incorporated by reference in its entirely.
Number | Name | Date | Kind |
---|---|---|---|
10102789 | Evans | Oct 2018 | B2 |
20160097962 | Kim | Apr 2016 | A1 |
20170092228 | Cote | Mar 2017 | A1 |
20190155501 | Zhang | May 2019 | A1 |
20190228204 | Park | Jul 2019 | A1 |
Number | Date | Country |
---|---|---|
101685593 | Mar 2010 | CN |
103280181 | Sep 2013 | CN |
105592278 | May 2016 | CN |
105841807 | Aug 2016 | CN |
107818753 | Mar 2018 | CN |
107945683 | Apr 2018 | CN |
107957293 | Apr 2018 | CN |
108986724 | Dec 2018 | CN |
109238460 | Jan 2019 | CN |
201917717 | May 2019 | TW |
Entry |
---|
Office Action corresponding to Chinese application No. 202010488516.0 dated Mar. 17, 2021. (pp. 6). |
Office Action and Search Report corresponding to Taiwanese Application No. 109117756 dated Jan. 20, 2021. (pp. 5). |
Number | Date | Country | |
---|---|---|---|
20210074208 A1 | Mar 2021 | US |
Number | Date | Country | |
---|---|---|---|
62899144 | Sep 2019 | US |