TW201351389A - Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light - Google Patents

Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light Download PDF

Info

Publication number
TW201351389A
TW201351389A TW101121153A TW101121153A TW201351389A TW 201351389 A TW201351389 A TW 201351389A TW 101121153 A TW101121153 A TW 101121153A TW 101121153 A TW101121153 A TW 101121153A TW 201351389 A TW201351389 A TW 201351389A
Authority
TW
Taiwan
Prior art keywords
value
illuminance
screen
brightness
interval
Prior art date
Application number
TW101121153A
Other languages
Chinese (zh)
Inventor
Jui-Chieh Hsiang
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to TW101121153A priority Critical patent/TW201351389A/en
Publication of TW201351389A publication Critical patent/TW201351389A/en

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

A method and an electronic apparatus for adaptively adjusting screen brightness according to ambient light are provided. In the method, an illumination section of a light sensor corresponding to a current brightness of a screen is obtained, in which a range of the illumination that the light sensor detects the ambient light is divided into a plurality of illumination sections which are respectively corresponding to a plurality of screen brightness. Next, the light sensor is used to detect an illumination of current ambient light and compared with the obtained illumination section, so as to accordingly adjust the screen brightness. When the illumination exceeds an upper limit of the illumination section by more than a present value, a current brightness of the screen is adjusted to a first target brightness in a level higher than a current level. When the illumination exceeds a lower limit of the illumination section by more than the present value, the current brightness of the screen is adjusted to a second target brightness in a level lower than the current level.

Description

依據環境光源適應性調整螢幕亮度的方法及電子裝 置 Method for adjusting screen brightness according to environmental light source adaptability and electronic equipment Set

本發明是有關於一種螢幕亮度調整方法及裝置,且特別是有關於一種依據環境光源變化及使用者操作適應性調整螢幕亮度的方法及電子裝置。 The present invention relates to a method and a device for adjusting the brightness of a screen, and more particularly to a method and an electronic device for adjusting the brightness of a screen according to changes in ambient light source and user operation.

中高階的行動電話、平板電腦等攜帶式電子裝置常會配置外界光感測器(Ambient Light Sensor,ALS),以便能夠根據周遭環境光源的變化及時調整裝置螢幕的亮度。此技術的目的是為了讓使用者在不同環境光源下能夠觀看到適當亮度的螢幕畫面。 Portable electronic devices such as mobile phones and tablet computers are often equipped with Ambient Light Sensors (ALS) to adjust the brightness of the device screen in time according to changes in ambient light sources. The purpose of this technology is to allow the user to view a screen of appropriate brightness under different ambient light sources.

圖1(a)~(c)繪示習知根據環境光源調整螢幕亮度的示意圖。由圖1(a)~(c)可知,隨著使用者持用行動裝置12的姿勢與環境光源14之間相對位置的不同,行動裝置12之螢幕122的亮度會有明顯的變化。然而,在相同環境光源的環境下,由於使用者眼睛16觀看螢幕122的角度與環境光源14的光線角度之間的相對位置或角度不斷改變,造成光感測器124感應環境光源14之數值的變異性過大,而將螢幕122亮度調整過暗。這樣的調整結果常造成使用者困擾,並可能因此關閉螢幕亮度的自動調整功能。 1(a) to (c) are schematic diagrams showing the adjustment of the brightness of a screen according to an ambient light source. 1(a) to (c), the brightness of the screen 122 of the mobile device 12 changes significantly as the relative position between the user's mobile device 12 and the ambient light source 14 is different. However, in the environment of the same ambient light source, the relative position or angle between the angle at which the user's eye 16 views the screen 122 and the angle of the light of the ambient light source 14 is constantly changing, causing the light sensor 124 to sense the value of the ambient light source 14. The variability is too large, and the brightness of the screen 122 is adjusted too dark. Such adjustments often cause user confusion and may therefore turn off automatic adjustment of the screen brightness.

現有的攜帶式電子裝置在搭配光感測器時,一般是隨著光感測器偵測環境光源的變化量而對應改變螢幕亮度,但此設計可能會因為使用者不斷改變螢幕位置及角度,使 得光感測器接收到的光照度值不斷改變,而間接改變螢幕亮度。若此光照度值剛好位於裝置所定義的兩個照度區間的交界,則些微的光照度值差異將導致螢幕的亮度不斷在兩個階層之間交替,從而產生忽亮忽暗的情況,結果將造成使用者眼睛的不適。 When a portable electronic device is used with a light sensor, the brightness of the screen is generally changed according to the amount of change of the ambient light source detected by the light sensor, but the design may change the position and angle of the screen continuously by the user. Make The illuminance value received by the light sensor is constantly changing, and the brightness of the screen is indirectly changed. If the illuminance value is just at the boundary of the two illuminance intervals defined by the device, the slight difference in illuminance value will cause the brightness of the screen to alternate between the two levels, resulting in a situation of flickering and dimming, which will result in the use of The discomfort of the eyes.

有鑑於此,本發明提出一種依據環境光源適應性調整螢幕亮度的方法及電子裝置,可對應環境光源的變化適應性調整螢幕亮度,避免螢幕產生忽亮忽暗的情況。 In view of this, the present invention provides a method and an electronic device for adjusting the brightness of a screen according to the adaptability of an ambient light source, which can adjust the brightness of the screen according to the change of the ambient light source, and avoid the situation that the screen is flickering and dimming.

本發明提出一種依據環境光源適應性調整螢幕亮度的方法,適用於包括光感測器及螢幕的電子裝置。此方法係取得螢幕之目前亮度值所對應的光感測器的照度區間,其中光感測器偵測外界之光照度值的數值範圍係區分為連續的多個照度區間,且這些照度區間分別對應於多個螢幕亮度值。接著,利用光感測器偵測目前外界的光照度值,並與所取得的照度區間比較,據以調整螢幕的螢幕亮度值。其中,當光照度值比照度區間之上限值高出一預設值時,將螢幕的目前亮度值調整為高一階的第一目標亮度值;而當光照度值比照度區間之下限值低出預設值時,將螢幕的目前亮度值調整為低一階的第二目標亮度值。 The invention provides a method for adjusting the brightness of a screen according to the adaptability of an ambient light source, and is suitable for an electronic device including a photo sensor and a screen. The method is to obtain an illuminance interval of the photo sensor corresponding to the current brightness value of the screen, wherein the photo sensor detects the external illuminance value and the numerical range is divided into consecutive illuminance intervals, and the illuminance intervals respectively correspond to For multiple screen brightness values. Then, the photosensor is used to detect the current external illuminance value, and compared with the obtained illuminance interval, the screen brightness value is adjusted accordingly. Wherein, when the illuminance value is higher than the upper limit of the illuminance interval by a preset value, the current brightness value of the screen is adjusted to the first target brightness value of the higher first order; and when the illuminance value is lower than the lower limit of the illuminance interval, the preset is lower. At the time of the value, the current brightness value of the screen is adjusted to the second target brightness value of the lower first order.

在本發明之一實施例中,上述調整螢幕亮度的方法更包括記錄各個照度區間的數值範圍以及所對應的螢幕亮度值於查找表(Look-Up Table,LUT)。 In an embodiment of the invention, the method for adjusting the brightness of the screen further comprises recording a value range of each illumination interval and a corresponding screen brightness value in a look-up table (LUT).

在本發明之一實施例中,上述調整螢幕的螢幕亮度值的步驟包括查詢查找表,以找出比目前亮度值高一階的螢幕亮度值來作為第一目標亮度值,或找出比目前亮度值低一階的螢幕亮度值來作為第二目標亮度值。 In an embodiment of the invention, the step of adjusting the screen brightness value of the screen includes querying the lookup table to find a screen brightness value higher than the current brightness value as the first target brightness value, or finding the current brightness value. The lower first order brightness value is used as the second target brightness value.

在本發明之一實施例中,上述比較光照度值及照度區間,據以調整螢幕的螢幕亮度值的步驟更包括當光照度值落在照度區間之上限值加上預設值以及照度區間之下限值減去預設值的數值範圍內時,維持螢幕原先的螢幕亮度值。 In an embodiment of the present invention, the comparing the illuminance value and the illuminance interval, according to the step of adjusting the screen brightness value of the screen, further comprises: when the illuminance value falls below the upper limit of the illuminance interval plus the preset value and the illuminance interval Maintain the original screen brightness value when the limit value is subtracted from the preset value range.

在本發明之一實施例中,當光照度值比照度區間之上限值高出預設值時,上述調整螢幕亮度的方法更包括每隔一預定時間,利用光感測器偵測外界的光照度值,判斷這些光照度值是否比照度區間之上限值高出預設值,並累計比照度區間之上限值高出預設值的光照度值的數目,而當所累計的數目超過門檻值時,將螢幕的目前亮度值調整為高一階的第一目標亮度值。 In an embodiment of the present invention, when the illuminance value is higher than the upper limit of the illuminance interval by a preset value, the method for adjusting the brightness of the screen further includes detecting the illuminance of the external light by using the photo sensor every predetermined time. a value, determining whether the illuminance values are higher than the upper limit of the illuminance interval by a preset value, and accumulating the number of illuminance values higher than the upper limit of the illuminance interval by a preset value, and when the accumulated number exceeds the threshold value , adjust the current brightness value of the screen to the first target brightness value of the first higher order.

在本發明之一實施例中,當光照度值比照度區間之下限值低出預設值時,上述調整螢幕亮度的方法更包括每隔一預定時間,利用光感測器偵測外界的光照度值,判斷這些光照度值是否比照度區間之下限值低出預設值,並累計比照度區間之下限值低出預設值的光照度值的數目,而當所累計的數目超過門檻值時,將螢幕的目前亮度值調整為低一階的第二目標亮度值。 In an embodiment of the present invention, when the illuminance value is lower than the lower limit of the illuminance interval by a preset value, the method for adjusting the brightness of the screen further includes detecting the illuminance value of the external light by using the photo sensor every predetermined time. , determining whether the illuminance values are lower than the lower limit of the illuminance interval by a preset value, and accumulating the number of illuminance values lower than the lower limit of the illuminance interval by a preset value, and when the accumulated number exceeds the threshold value, the screen is displayed The current brightness value is adjusted to the second target brightness value of the lower first order.

在本發明之一實施例中,在調整螢幕的螢幕亮度值的步驟之後,上述調整螢幕亮度的方法更包括間隔一預定時 間後,再度利用光感測器偵測外界的光照度值,並重新進行光照度值的比較以及螢幕亮度值的調整步驟。 In an embodiment of the invention, after the step of adjusting the screen brightness value of the screen, the method for adjusting the brightness of the screen further comprises spacing a predetermined time. After the interval, the photo sensor is used again to detect the external illuminance value, and the illuminance value comparison and the screen brightness value adjustment step are re-executed.

本發明提出一種電子裝置,其包括螢幕、光感測器、儲存媒體及控制器。其中,光感測器係用以偵測外界的光照度值,其中光感測器偵測光照度值的數值範圍係區分為連續的多個照度區間,且這些照度區間分別對應於螢幕的多個螢幕亮度值。儲存媒體係用以儲存一個查找表,而此查找表中記錄各個照度區間的數值範圍以及所對應的螢幕亮度值。控制器係連接該螢幕、光感測器及儲存媒體,而用以取得螢幕之目前亮度值所對應的照度區間以及光感測器所偵測的光照度值,並比較光照度值及照度區間,據以調整螢幕的螢幕亮度值。其中,當光照度值比照度區間之上限值高出預設值時,控制器即將螢幕的目前亮度值調整為高一階的第一目標亮度值;當光照度值比照度區間之下限值低出預設值時,控制器則將螢幕的目前亮度值調整為低一階的第二目標亮度值。 The invention provides an electronic device comprising a screen, a light sensor, a storage medium and a controller. The photo sensor is configured to detect an external illuminance value, wherein the photo sensor detects the illuminance value and the numerical range is divided into consecutive illuminance intervals, and the illuminance intervals respectively correspond to multiple screens of the screen. Brightness value. The storage medium is used to store a lookup table, and the value range of each illumination interval and the corresponding screen brightness value are recorded in the lookup table. The controller is connected to the screen, the light sensor and the storage medium, and is used to obtain the illuminance interval corresponding to the current brightness value of the screen and the illuminance value detected by the light sensor, and compare the illuminance value and the illuminance interval. To adjust the screen brightness value of the screen. Wherein, when the illuminance value is higher than the upper limit of the illuminance interval by a preset value, the controller adjusts the current brightness value of the screen to the first target brightness value of the first order; when the illuminance value is lower than the lower limit of the illuminance interval, the preset is lower than the preset value. At the time of the value, the controller adjusts the current brightness value of the screen to the second target brightness value of the lower first order.

在本發明之一實施例中,上述的控制器會查詢儲存媒體中的查找表,以找出比目前亮度值高一階的螢幕亮度值來作為第一目標亮度值,或找出比目前亮度值低一階的螢幕亮度值來作為第二目標亮度值。 In an embodiment of the present invention, the controller queries the lookup table in the storage medium to find a screen brightness value higher than the current brightness value as the first target brightness value, or finds that the current brightness value is lower than the current brightness value. The first-order screen brightness value is used as the second target brightness value.

在本發明之一實施例中,上述的控制器更在光照度值落在照度區間之上限值加上預設值以及照度區間之下限值減去預設值的數值範圍內時,維持螢幕原先的螢幕亮度值。 In an embodiment of the present invention, the controller maintains the screen when the illuminance value falls within the upper limit of the illuminance interval plus the preset value and the lower limit of the illuminance interval minus the preset value. The original screen brightness value.

在本發明之一實施例中,上述的控制器更每隔一預定 時間接收光感測器偵測外界的光照度值,並累計比照度區間之上限值高出預設值的光照度值的數目,而當所累計的數目超過一門檻值時,將螢幕的目前亮度值調整為高一階的第一目標亮度值。 In an embodiment of the invention, the controller is further scheduled every other time. The time receiving photo sensor detects the external illuminance value, and accumulates the number of illuminance values higher than the upper limit of the illuminance interval by a preset value, and when the accumulated number exceeds a threshold, the current brightness of the screen is The value is adjusted to the first target luminance value of the first order.

在本發明之一實施例中,上述的控制器更每隔一預定時間接收光感測器偵測外界的光照度值,並累計比照度區間之下限值低出預設值的光照度值的數目,而當所累計的數目超過一門檻值時,將螢幕的目前亮度值調整為低一階的第二目標亮度值。 In an embodiment of the present invention, the controller receives the illuminance value of the external light sensor every other predetermined time, and accumulates the number of illuminance values lower than the lower limit value of the illuminance interval by a preset value, When the accumulated number exceeds a threshold, the current brightness value of the screen is adjusted to the second target brightness value of the lower first order.

在本發明之一實施例中,上述的控制器更每隔一預定時間利用光感測器偵測外界的光照度值,並重新進行光照度值的比較以及螢幕亮度值的調整。 In an embodiment of the invention, the controller further detects the ambient light value by using the light sensor every predetermined time, and re-measures the illumination value and adjusts the brightness value of the screen.

基於上述,本發明之依據環境光源適應性調整螢幕亮度的方法及電子裝置係將光感測器偵測外界之光照度值的數值範圍區分為連續的多個照度區間,而在判斷目前光照度值所在的照度區間時,將照度區間的範圍擴大,只有當光照度值超出此擴大的範圍時,才對應將螢幕亮度調高一階或調低一階。藉此,可避免環境光源的些微變化造成螢幕忽亮忽暗的情況。 Based on the above, the method and the electronic device for adapting the brightness of the screen according to the environmental light source of the present invention divide the numerical range of the light illuminance value detected by the light sensor into a continuous plurality of illuminance intervals, and determine the current illuminance value. In the illuminance interval, the range of the illuminance interval is expanded, and only when the illuminance value exceeds the expanded range, the screen brightness is adjusted to be higher or lower by one step. In this way, it is possible to avoid the slight change of the ambient light source causing the screen to flicker and dim.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.

為了解決螢幕因為環境光源些微變化而產生忽亮忽 暗的情況,本發明係將光感測器所偵測之光照度值的數值範圍區分為多個照度區間,並在判斷光照度值所在的照度區間是否改變時,將用來做為判斷依據之照度區間的範圍加大,藉此避免在相同環境光源下,因光照度數值變異所造成之亮度經常改變的問題。 In order to solve the problem, the screen is slightly changed due to slight changes in the ambient light source. In the dark case, the present invention divides the numerical range of the illuminance value detected by the photo sensor into a plurality of illuminance intervals, and when determining whether the illuminance interval in which the illuminance value is changed, the illuminance used as the judgment basis is used. The range of the interval is increased to avoid the problem that the brightness caused by the variability of the illuminance value often changes under the same ambient light source.

圖2是依照本發明一實施例所繪示之電子裝置的方塊圖。請參照圖2,本實施例的電子裝置20例如是行動電話、平板電腦、筆記型電腦等裝置,適於在不同的環境光源下提供使用者進行操作。電子裝置20中包括螢幕22、光感測器24、儲存媒體26及控制器28,其功能分述如下: FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 2, the electronic device 20 of the embodiment is, for example, a mobile phone, a tablet computer, a notebook computer, etc., and is adapted to provide a user to operate under different ambient light sources. The electronic device 20 includes a screen 22, a photo sensor 24, a storage medium 26 and a controller 28, the functions of which are as follows:

螢幕22例如是液晶顯示器(Liquid Crystal Display,LCD)、發光二極體(Light-Emitting Diode,LED)顯示器、場發射顯示器(Field Emission Display,FED)或其他種類的顯示器,其係用以顯示電子裝置20輸出的畫面,而提供給使用者觀看。 The screen 22 is, for example, a liquid crystal display (LCD), a Light-Emitting Diode (LED) display, a Field Emission Display (FED), or other types of displays for displaying electronic The screen output by the device 20 is provided for viewing by the user.

光感測器24例如是環境光源感測器(Ambient Light Sensor,ALS),其例如是配置在螢幕24的同一側,而用以偵測螢幕24前方環境光源的光照度值。其中,光感測器24偵測光照度值的數值範圍係區分為連續的多個照度區間,且這些照度區間分別對應於螢幕22的多個螢幕亮度值。 The light sensor 24 is, for example, an Ambient Light Sensor (ALS), which is disposed on the same side of the screen 24, for example, to detect the illuminance value of the ambient light source in front of the screen 24. The numerical range of the light sensor 24 for detecting the illuminance value is divided into a plurality of consecutive illuminance intervals, and the illuminance intervals respectively correspond to the plurality of screen brightness values of the screen 22 .

儲存媒體26例如是硬碟或記憶體等儲存裝置,其係用以儲存一個查找表。此查找表中例如會記錄各個照度區間的數值範圍以及所對應的螢幕亮度值。 The storage medium 26 is, for example, a storage device such as a hard disk or a memory for storing a lookup table. For example, the range of values for each illuminance interval and the corresponding screen brightness value are recorded in this lookup table.

控制器28例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,其與螢幕22、光感測器24、儲存媒體26連接,而可根據光感測器24所偵測到的光照度值,適應性調整螢幕22的亮度。以下則舉一實施例詳細說明。 The controller 28 is, for example, a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable Controllers, Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or other similar devices, or combinations of these devices, with the screen 22, the light sensor 24 The storage medium 26 is connected, and the brightness of the screen 22 can be adaptively adjusted according to the illuminance value detected by the photo sensor 24. The following is a detailed description of an embodiment.

圖3是依照本發明一實施例所繪示之依據環境光源適應性調整螢幕亮度的方法。請參照圖3,本實施例的螢幕亮度調整方法適用於圖2的電子裝置20,以下即搭配圖2中的各項元件說明本方法的詳細步驟: FIG. 3 illustrates a method for adjusting brightness of a screen according to an environment light source according to an embodiment of the invention. Referring to FIG. 3, the screen brightness adjustment method of the present embodiment is applied to the electronic device 20 of FIG. 2, and the detailed steps of the method are described below with the components in FIG. 2:

首先,由控制器28取得螢幕22之目前亮度值所對應的光感測器24的照度區間(步驟S302)。其中,螢幕22的目前亮度值是依據光感測器24最近一次所偵測的光照度值或是該光照度值所在的照度區間所調整,因此也會與此光照度值或照度區間相對應,這些資訊例如會記錄在儲存媒體26中,而可供控制器28存取以與後續偵測到的光照度值比較,進而決定是否進行螢幕22的亮度調整。 First, the illuminance section of the photo sensor 24 corresponding to the current luminance value of the screen 22 is obtained by the controller 28 (step S302). The current brightness value of the screen 22 is adjusted according to the illuminance value detected by the photo sensor 24 last time or the illuminance interval where the illuminance value is located, and therefore corresponds to the illuminance value or the illuminance interval. For example, it will be recorded in the storage medium 26, and can be accessed by the controller 28 to compare with the subsequently detected illuminance values to determine whether to perform the brightness adjustment of the screen 22.

接著,由控制器28利用光感測器24偵測目前外界的光照度值(步驟S304)。其中,在一實施例中,光感測器24例如會每隔一預定時間即偵測環境光源的光照度值並提供給控制器28。在另一實施例中,光感測器24也可以 是依照控制器28的控制來啟動並偵測光照度值,而控制器28例如是在使用者按下電子裝置20的電源鍵或其他按鍵時,藉由發送控制訊號至光感測器42,而控制光感測器42偵測光照度值。 Next, the controller 28 detects the current external illuminance value by using the photo sensor 24 (step S304). In one embodiment, the photo sensor 24 detects the illuminance value of the ambient light source, for example, every predetermined time and provides it to the controller 28. In another embodiment, the photo sensor 24 can also The illuminance value is activated and detected according to the control of the controller 28, and the controller 28 sends a control signal to the photo sensor 42 by, for example, when the user presses the power button or other button of the electronic device 20. The light sensor 42 is controlled to detect the illuminance value.

在控制器28取得目前的光照度值後,即會將此光照度值與照度區間進行比較,並據此調整螢幕22的螢幕亮度值。詳言之,控制器28例如會判斷光照度值是否比照度區間之上限值高出一預設值(步驟S306)。其中,若控制器28判斷光照度值比照度區間之上限值高出該預設值,則會將螢幕22的目前亮度值調整為高一階的第一目標亮度值(步驟S308)。 After the controller 28 obtains the current illuminance value, the illuminance value is compared with the illuminance interval, and the screen brightness value of the screen 22 is adjusted accordingly. In detail, the controller 28 determines, for example, whether the illuminance value is higher than the upper limit of the illuminance interval by a predetermined value (step S306). If the controller 28 determines that the illuminance value is higher than the upper limit of the illuminance interval by the preset value, the current brightness value of the screen 22 is adjusted to the first target brightness value of the higher first order (step S308).

另一方面,若控制器28判斷光照度值沒有比照度區間之上限值高出該預設值,則會進一步判斷光照度值是否比照度區間之下限值低出該預設值(步驟S310)。其中,若控制器28判斷光照度值比照度區間之下限值低出該預設值,則會將螢幕22的目前亮度值調整為低一階的第二目標亮度值(步驟S312)。反之,若控制器28判斷光照度值沒有比照度區間之下限值低出該預設值,即光照度值是落在照度區間之上限值加上預設值以及照度區間之下限值減去預設值的數值範圍內。此時,控制器28會將螢幕22維持在原先的螢幕亮度值(步驟S314)。 On the other hand, if the controller 28 determines that the illuminance value is not higher than the upper limit of the illuminance interval by the preset value, it is further determined whether the illuminance value is lower than the lower limit of the illuminance interval by the preset value (step S310). If the controller 28 determines that the illuminance value is lower than the lower limit of the illuminance interval by the preset value, the current brightness value of the screen 22 is adjusted to the second target brightness value of the lower first order (step S312). On the other hand, if the controller 28 determines that the illuminance value is not lower than the lower limit of the illuminance interval, the illuminance value is the upper limit of the illuminance interval plus the preset value and the lower limit of the illuminance interval minus the pre-predetermined value. Set the value within the range of values. At this time, the controller 28 maintains the screen 22 at the original screen brightness value (step S314).

需說明的是,控制器28在調整螢幕24的亮度值之後,也會持續接收光感測器22每隔預定時間所偵測的光照度值,或是控制光感測器22每隔預定時間偵測光照度值, 並重新進行上述的光照度值的比較以及螢幕亮度值的調整步驟,從而達到適應性調整螢幕亮度的功效。 It should be noted that after adjusting the brightness value of the screen 24, the controller 28 also continuously receives the illuminance value detected by the photo sensor 22 every predetermined time, or controls the photo sensor 22 to detect every predetermined time. Measure the illuminance value, And the above comparison of the illuminance value and the adjustment step of the brightness value of the screen are performed again, thereby achieving the effect of adaptively adjusting the brightness of the screen.

藉由上述方法,即可將環境光源照度變異對於螢幕亮度的影響降到最低,進而解決螢幕忽明忽暗的問題,而可提供使用者一個較舒適的觀賞環境。 By the above method, the influence of the illumination variation of the ambient light source on the brightness of the screen can be minimized, thereby solving the problem of flickering and dimming, and providing a more comfortable viewing environment for the user.

需說明的是,上述實施例是以單一次的光照度值來做為判斷照度區間是否改變以及螢幕亮度是否調整的依據,而在另一實施例中,則可以多個連續的光照度值或是單位時間內多個不連續的光照度值來做為判斷照度區間是否改變的依據,藉此可提供一個更為客觀的判斷標準,而更符合環境光源實際的變化態樣。以下則再舉一實施例詳細說明。 It should be noted that, in the above embodiment, the illuminance value is used as a basis for determining whether the illuminance interval is changed and whether the brightness of the screen is adjusted. In another embodiment, multiple consecutive illuminance values or units may be used. A plurality of discontinuous illuminance values are used as a basis for judging whether the illuminance interval is changed, thereby providing a more objective criterion and more in line with the actual change of the ambient light source. The following is a detailed description of an embodiment.

圖4是依照本發明一實施例所繪示之依據環境光源適應性調整螢幕亮度的方法。請參照圖4,本實施例的螢幕亮度調整方法適用於圖2的電子裝置20,以下即搭配圖2中的各項元件說明本方法的詳細步驟: FIG. 4 illustrates a method for adjusting brightness of a screen according to an environmental light source according to an embodiment of the invention. Referring to FIG. 4, the screen brightness adjustment method of the present embodiment is applied to the electronic device 20 of FIG. 2, and the detailed steps of the method are described below with the components in FIG. 2:

首先,由控制器28取得螢幕22之目前亮度值所對應的光感測器24的照度區間(步驟S402)。接著,由控制器28利用光感測器24偵測目前外界的光照度值(步驟S404)。而在控制器28取得目前的光照度值後,即會將此光照度值與照度區間進行比較,並據此調整螢幕22的螢幕亮度值。其中,控制器28例如會判斷光照度值是否比照度區間之上限值高出一預設值(步驟S406),以及判斷光照度值是否比照度區間之下限值低出該預設值(步驟 S408)。上述步驟S402~S408的實施方式係與前述實施例中的步驟S302~S308相同或相似,故其詳細內容在此不再贅述。 First, the illuminance section of the photo sensor 24 corresponding to the current luminance value of the screen 22 is obtained by the controller 28 (step S402). Next, the controller 28 detects the current external illuminance value by using the photo sensor 24 (step S404). After the controller 28 obtains the current illuminance value, the illuminance value is compared with the illuminance interval, and the screen brightness value of the screen 22 is adjusted accordingly. For example, the controller 28 determines whether the illuminance value is higher than the upper limit of the illuminance interval by a preset value (step S406), and determines whether the illuminance value is lower than the lower limit of the illuminance interval by the preset value (step S408). The implementations of the foregoing steps S402 to S408 are the same as or similar to the steps S302 to S308 in the foregoing embodiment, and thus the details thereof are not described herein again.

與前述實施例不同的是,本實施例的控制器28在判斷光照度值比照度區間之上限值高出預設值時,會進一步累計比照度區間之上限值高出預設值的多個光照度值的數目,並判斷此數目是否超過一門檻值(步驟S410)。而當所累計的數目超過門檻值時,控制器28才會將螢幕22的目前亮度值調整為高一階的第一目標亮度值(步驟S412)。 Different from the foregoing embodiment, when the controller 28 of the embodiment determines that the illuminance value is higher than the upper limit value of the illuminance interval, the controller 28 further accumulates the upper limit of the illuminance interval higher than the preset value. The number of illuminance values, and determines whether the number exceeds a threshold (step S410). When the accumulated number exceeds the threshold value, the controller 28 adjusts the current brightness value of the screen 22 to the first target brightness value of the first higher order (step S412).

相對的,控制器28在判斷光照度值比照度區間之下限值低出預設值時,也會進一步累計比照度區間之下限值低出預設值的多個光照度值的數目,並判斷此數目是否超過一門檻值(步驟S414)。而當所累計的數目超過門檻值時,控制器28才會將螢幕22的目前亮度值調整為低一階的第二目標亮度值(步驟S416)。 In contrast, when determining that the illuminance value is lower than the lower limit of the illuminance interval by the preset value, the controller 28 further accumulates the number of the plurality of illuminance values lower than the lower limit of the illuminance interval by the preset value, and determines the number. Whether it exceeds a threshold (step S414). When the accumulated number exceeds the threshold value, the controller 28 adjusts the current brightness value of the screen 22 to the second target brightness value of the lower first order (step S416).

最後,若控制器28判斷光照度值沒有比照度區間之下限值低出預設值,即光照度值是落在照度區間之上限值加上預設值以及照度區間之下限值高減去預設值的數值範圍內。此時,控制器28會將螢幕22維持在原先的螢幕亮度值(步驟S418)。 Finally, if the controller 28 determines that the illuminance value is not lower than the lower limit of the illuminance interval by a preset value, that is, the illuminance value falls below the illuminance interval and the preset value and the illuminance interval are lower than the lower limit. Set the value within the range of values. At this time, the controller 28 maintains the screen 22 at the original screen brightness value (step S418).

藉由上述方法,只有在環境光源變異過大且持續的情況下,控制器28才會調整螢幕22的亮度,因此可避免相同環境光源下螢幕位置或角度些微改變所造成的誤判,進而解決螢幕忽明忽暗的問題,而可提供使用者一個較舒適 的觀賞環境。 By the above method, the controller 28 adjusts the brightness of the screen 22 only when the ambient light source is excessively large and continuous, thereby avoiding misjudgment caused by slight changes in the position or angle of the screen under the same ambient light source, thereby solving the problem. Clear and dark problems, but can provide users with a more comfortable The viewing environment.

綜上所述,本發明的依據環境光源適應性調整螢幕亮度的方法與電子裝置係藉由將判斷光照度值所在照度區間的範圍適當擴大,在光照度值落在範圍之外一次或多次時,才將螢幕亮度調高或調低一階,藉此可避免環境光源的些微變化造成螢幕忽明忽暗,而可提供使用者一個較舒適的觀賞環境。 In summary, the method and the electronic device for adapting the brightness of the screen according to the ambient light source adaptively expand the range of the illuminance interval in which the illuminance value is determined, and when the illuminance value falls outside the range one or more times, Only increase or decrease the brightness of the screen by one step, so as to avoid slight fluctuations in the ambient light source, which can provide a more comfortable viewing environment for the user.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

12‧‧‧行動裝置 12‧‧‧Mobile devices

122、22‧‧‧螢幕 122, 22‧‧‧ screen

124、24‧‧‧光感測器 124, 24‧‧‧Light sensor

14‧‧‧環境光源 14‧‧‧Environmental light source

16‧‧‧眼睛 16‧‧‧ eyes

20‧‧‧電子裝置 20‧‧‧Electronic devices

26‧‧‧儲存媒體 26‧‧‧Storage media

28‧‧‧控制器 28‧‧‧ Controller

S302~S314‧‧‧本發明一實施例之依據環境光源適應性調整螢幕亮度的方法步驟 S302~S314‧‧‧ method steps for adapting the brightness of the screen according to the ambient light source according to an embodiment of the invention

S402~S418‧‧‧本發明一實施例之依據環境光源適應性調整螢幕亮度的方法步驟 S402~S418‧‧‧ method steps for adjusting the brightness of the screen according to the environment light source according to an embodiment of the present invention

圖1(a)~(c)繪示習知根據環境光源調整螢幕亮度的示意圖。 1(a) to (c) are schematic diagrams showing the adjustment of the brightness of a screen according to an ambient light source.

圖2是依照本發明一實施例所繪示之電子裝置的方塊圖。 FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention.

圖3是依照本發明一實施例所繪示之依據環境光源適應性調整螢幕亮度的方法。 FIG. 3 illustrates a method for adjusting brightness of a screen according to an environment light source according to an embodiment of the invention.

圖4是依照本發明一實施例所繪示之依據環境光源適應性調整螢幕亮度的方法。 FIG. 4 illustrates a method for adjusting brightness of a screen according to an environmental light source according to an embodiment of the invention.

S302~S314‧‧‧本發明一實施例之依據環境光源適應性調整螢幕亮度的方法步驟 S302~S314‧‧‧ method steps for adapting the brightness of the screen according to the ambient light source according to an embodiment of the invention

Claims (13)

一種依據環境光源適應性調整螢幕亮度的方法,適用於包括一光感測器及一螢幕的一電子裝置,該方法包括下列步驟:取得該螢幕之一目前亮度值所對應的該光感測器的一照度區間,其中該光感測器偵測外界之一光照度值的一數值範圍係區分為連續的多個照度區間,且該些照度區間分別對應於多個螢幕亮度值;利用該光感測器偵測目前外界的該光照度值;比較該光照度值及該照度區間,據以調整該螢幕的一螢幕亮度值;當該光照度值比該照度區間之一上限值高出一預設值時,調整該螢幕的一目前亮度值為高一階的一第一目標亮度值;以及當該光照度值比該照度區間之一下限值低出該預設值時,調整該螢幕的該目前亮度值為低一階的一第二目標亮度值。 A method for adjusting brightness of a screen according to an ambient light source adaptability is applicable to an electronic device including a light sensor and a screen, the method comprising the steps of: obtaining the light sensor corresponding to a current brightness value of one of the screens An illuminance interval, wherein a range of values of the illuminance value detected by the photo sensor is divided into a plurality of consecutive illuminance intervals, and the illuminance intervals respectively correspond to a plurality of screen brightness values; The detector detects the current illuminance value of the outside world; compares the illuminance value with the illuminance interval, and adjusts a screen brightness value of the screen; when the illuminance value is higher than a upper limit value of the illuminance interval by a preset value Adjusting a current brightness value of the screen to a first target brightness value of a higher first order; and adjusting the current brightness value of the screen when the illuminance value is lower than the lower limit value of the illuminance interval by the preset value A second target brightness value of the lower order. 如申請專利範圍第1項所述之依據環境光源適應性調整螢幕亮度的方法,更包括:記錄各該些照度區間的數值範圍以及所對應的螢幕亮度值於一查找表(Look-Up Table,LUT)。 The method for adjusting the brightness of the screen according to the ambient light source according to the first aspect of the patent application includes: recording the numerical range of each of the illumination intervals and the corresponding brightness value of the screen in a look-up table (Look-Up Table, LUT). 如申請專利範圍第2項所述之依據環境光源適應性調整螢幕亮度的方法,其中調整該螢幕的該螢幕亮度值的步驟包括: 查詢該查找表,以找出比該目前亮度值高一階的螢幕亮度值來作為該第一目標亮度值,或找出比該目前亮度值低一階的螢幕亮度值來作為該第二目標亮度值。 The method for adjusting the brightness of the screen according to the ambient light source according to the second aspect of the patent application, wherein the step of adjusting the brightness value of the screen of the screen comprises: Querying the lookup table to find a screen brightness value higher than the current brightness value as the first target brightness value, or finding a screen brightness value lower than the current brightness value as the second target brightness value . 如申請專利範圍第1項所述之依據環境光源適應性調整螢幕亮度的方法,其中比較該光照度值及該照度區間,據以調整該螢幕的該螢幕亮度值的步驟更包括:當該光照度值落在該照度區間之該上限值加上該預設值以及該照度區間之該下限值減去該預設值的數值範圍內時,維持該螢幕原先的螢幕亮度值。 The method for adjusting the brightness of the screen according to the ambient light source according to the first aspect of the patent application, wherein comparing the illuminance value and the illuminance interval, the step of adjusting the brightness value of the screen according to the method further comprises: when the illuminance value is When the upper limit value of the illumination interval is added to the preset value and the lower limit value of the illumination interval minus the value range of the preset value, the original screen brightness value of the screen is maintained. 如申請專利範圍第1項所述之依據環境光源適應性調整螢幕亮度的方法,其中當該光照度值比該照度區間之該上限值高出該預設值時,該方法更包括:每隔一預定時間,利用該光感測器偵測外界的光照度值,並判斷該些光照度值是否比該照度區間之該上限值高出該預設值;累計比該照度區間之該上限值高出該預設值的該些光照度值的一數目;以及當所累計的該數目超過一門檻值時,調整該螢幕的該目前亮度值為高一階的該第一目標亮度值。 The method for adjusting the brightness of the screen according to the ambient light source according to the first aspect of the patent application, wherein when the illuminance value is higher than the upper limit value of the illuminance interval, the method further includes: a predetermined time, using the photo sensor to detect an external illuminance value, and determining whether the illuminance values are higher than the upper limit value of the illuminance interval; the cumulative ratio is the upper limit value of the illuminance interval a number of the illuminance values higher than the preset value; and when the accumulated number exceeds a threshold value, adjusting the current brightness value of the screen to the first target brightness value of the first order. 如申請專利範圍第1項所述之依據環境光源適應性調整螢幕亮度的方法,其中當該光照度值比該照度區間之該下限值低出該預設值時,該方法更包括:每隔一預定時間,利用該光感測器偵測外界的光照度值,並判斷該些光照度值是否比該照度區間之該下限值低 出該預設值;累計比該照度區間之該下限值低出該預設值的該些光照度值的一數目;以及當所累計的該數目超過一門檻值時,調整該螢幕的該目前亮度值為低一階的該第二目標亮度值。 The method for adjusting the brightness of the screen according to the ambient light source according to the first aspect of the patent application, wherein when the illuminance value is lower than the lower limit value of the illuminance interval, the method further comprises: every other one The predetermined time, the light sensor is used to detect the ambient light value, and it is determined whether the light value is lower than the lower limit of the illumination interval. And outputting the preset value; accumulating a number of the illuminance values lower than the lower limit value of the illuminance interval by the preset value; and adjusting the current brightness of the screen when the accumulated number exceeds a threshold value The value is the second target luminance value of the lower first order. 如申請專利範圍第1項所述之依據環境光源適應性調整螢幕亮度的方法,其中在調整該螢幕的該螢幕亮度值的步驟之後,該方法更包括:間隔該預定時間後,再度利用該光感測器偵測外界的光照度值,並重新進行光照度值的比較以及該螢幕亮度值的調整步驟。 The method for adjusting the brightness of the screen according to the ambient light source according to the first aspect of the patent application, wherein after the step of adjusting the brightness value of the screen of the screen, the method further comprises: reusing the light after the predetermined time interval The sensor detects the illuminance value of the outside world, and re-measures the illuminance value and the adjustment step of the brightness value of the screen. 一種電子裝置,包括:一螢幕;一光感測器,偵測外界的一光照度值,其中該光感測器偵測該光照度值的一數值範圍係區分為連續的多個照度區間,且該些照度區間分別對應於該螢幕的多個螢幕亮度值;一儲存媒體,儲存一查找表,該查找表中記錄各該些照度區間的數值範圍以及所對應的螢幕亮度值;以及一控制器,連接該螢幕、該光感測器及該儲存媒體,取得該螢幕之一目前亮度值所對應的照度區間以及該光感測器所偵測的該光照度值,並比較該光照度值及該照度區間,據以調整該螢幕的螢幕亮度值,其中當該光照度值比該照度區間之一上限值高出一預設 值時,調整該螢幕的一目前亮度值為高一階的一第一目標亮度值;以及當該光照度值比該照度區間之一下限值低出該預設值時,調整該螢幕的該目前亮度值為低一階的一第二目標亮度值。 An electronic device includes: a screen; a light sensor that detects an external illuminance value, wherein the photo sensor detects a range of values of the illuminance value as a continuous plurality of illuminance intervals, and the The illumination intervals respectively correspond to the plurality of screen brightness values of the screen; a storage medium stores a lookup table, wherein the lookup table records the numerical range of each of the illumination intervals and the corresponding screen brightness value; and a controller, Connecting the screen, the light sensor and the storage medium, obtaining an illuminance interval corresponding to a current brightness value of the screen and the illuminance value detected by the light sensor, and comparing the illuminance value and the illuminance interval Adjusting the screen brightness value of the screen, wherein the illuminance value is higher than the upper limit value of the illuminance interval by a preset Adjusting a current brightness value of the screen to a first target brightness value of a higher first order; and adjusting the current brightness value of the screen when the illuminance value is lower than the lower limit value of the illuminance interval by the preset value A second target brightness value that is lower than the first order. 如申請專利範圍第8項所述之電子裝置,其中該控制器包括查詢該儲存媒體中的該查找表,以找出比該目前亮度值高一階的螢幕亮度值來作為該第一目標亮度值,或找出比該目前亮度值低一階的螢幕亮度值來作為該第二目標亮度值。 The electronic device of claim 8, wherein the controller comprises querying the lookup table in the storage medium to find a screen brightness value higher than the current brightness value as the first target brightness value, Or find a screen brightness value that is one step lower than the current brightness value as the second target brightness value. 如申請專利範圍第8項所述之電子裝置,其中該控制器更在該光照度值落在該照度區間之該上限值加上該預設值以及該照度區間之該下限值減去該預設值的數值範圍內時,維持該螢幕原先的螢幕亮度值。 The electronic device of claim 8, wherein the controller further reduces the illuminance value by the upper limit value of the illuminance interval plus the preset value and the lower limit value of the illuminance interval. The original screen brightness value of the screen is maintained when the value range of the preset value is within the range. 如申請專利範圍第8項所述之電子裝置,其中該控制器更每隔一預定時間接收該光感測器偵測外界的光照度值,並累計比該照度區間之該上限值高出該預設值的該些光照度值的一數目,而當所累計的該數目超過一門檻值時,調整該螢幕的該目前亮度值為高一階的該第一目標亮度值。 The electronic device of claim 8, wherein the controller receives the photometric value of the external light sensor every other predetermined time and accumulates the upper limit value of the illumination interval higher than the upper limit value of the illumination interval. a predetermined number of the illuminance values, and when the accumulated number exceeds a threshold, adjusting the current brightness value of the screen to the first target brightness value of the first order. 如申請專利範圍第8項所述之電子裝置,其中該控制器更每隔一預定時間接收該光感測器偵測外界的光照度值,並累計比該照度區間之該下限值低出該預設值的該些光照度值的一數目,而當所累計的該數目超過一門檻值 時,調整該螢幕的該目前亮度值為低一階的該第二目標亮度值。 The electronic device of claim 8, wherein the controller receives the light sensor to detect an external illuminance value every other predetermined time, and accumulates the lower limit than the lower limit of the illuminance interval. Set a number of the illuminance values of the value, and when the accumulated number exceeds a threshold And adjusting the current brightness value of the screen to the second target brightness value of the first order. 如申請專利範圍第8項所述之電子裝置,其中該控制器更每隔一預定時間利用該光感測器偵測外界的光照度值,並重新進行光照度值的比較以及該螢幕亮度值的調整。 The electronic device of claim 8, wherein the controller uses the photo sensor to detect an external illuminance value every other predetermined time, and re-measures the illuminance value and adjusts the brightness value of the screen. .
TW101121153A 2012-06-13 2012-06-13 Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light TW201351389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101121153A TW201351389A (en) 2012-06-13 2012-06-13 Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101121153A TW201351389A (en) 2012-06-13 2012-06-13 Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light

Publications (1)

Publication Number Publication Date
TW201351389A true TW201351389A (en) 2013-12-16

Family

ID=50158093

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101121153A TW201351389A (en) 2012-06-13 2012-06-13 Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light

Country Status (1)

Country Link
TW (1) TW201351389A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105575364A (en) * 2015-12-22 2016-05-11 惠州Tcl移动通信有限公司 Intelligent watch and brightness adaptive adjusting system and method
TWI578223B (en) * 2014-10-27 2017-04-11 群邁通訊股份有限公司 Automatic controlling system and method for screen brightness
CN114822245A (en) * 2022-03-31 2022-07-29 联想(北京)有限公司 Electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI578223B (en) * 2014-10-27 2017-04-11 群邁通訊股份有限公司 Automatic controlling system and method for screen brightness
US9898949B2 (en) 2014-10-27 2018-02-20 Chiun Mai Communication Systems, Inc. Electronic device for adjusting brightness of display screen of the electronic device and method using the same
CN105575364A (en) * 2015-12-22 2016-05-11 惠州Tcl移动通信有限公司 Intelligent watch and brightness adaptive adjusting system and method
CN114822245A (en) * 2022-03-31 2022-07-29 联想(北京)有限公司 Electronic device
CN114822245B (en) * 2022-03-31 2024-01-23 联想(北京)有限公司 Electronic equipment

Similar Documents

Publication Publication Date Title
TWI428891B (en) Electronic apparatus and backlight brightness control method thereof
RU2666133C2 (en) Method and device for glow control
US20130147855A1 (en) Electronic device having display and method for adjusting brightness of display
TWI527009B (en) Organic light-emitting diode display with burn-in reduction capabilities
TWI433135B (en) Display adjusting device and display adjusting method
US20130021308A1 (en) Electronic device and method for adjusting backlight brightness
CN111258158B (en) Projector and brightness adjusting method
US20130088523A1 (en) Electronic device with function of adjusting display brightness and method therefor
US10147393B2 (en) Display apparatus and control method thereof
US9329466B2 (en) Image projection apparatus in which lamp power is determined by measured illuminance
KR102477979B1 (en) Display device and control method of the same
TW201351389A (en) Method and electronic apparatus for adaptively adjusting screen brightness according to ambient light
KR20180052246A (en) Manually or automatically brightness controlling display device by sensor value setting of illuminance sensor
US20100271385A1 (en) Intelligent digital photo frame
US20060077214A1 (en) Method and apparatus for adjusting the brightness of a display device
CN101193140A (en) Brightness adjusting method for background lamp for mobile communication terminal
US20100271552A1 (en) Intelligent digital photo frame
TW201340077A (en) Display device
JP2011109188A (en) Display device
TWI406169B (en) Electronic device and its automatic control method
US20100265227A1 (en) Intelligent digital photo frame
KR20060129759A (en) Method for controlling a screen brightness at all times in the portable terminal
US20100271384A1 (en) Intelligent digital photo frame
US8519942B2 (en) Display device and backlight brightness control method thereof
JP2014232634A (en) Lighting device control apparatus