TWI425496B - Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium - Google Patents
Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium Download PDFInfo
- Publication number
- TWI425496B TWI425496B TW100111483A TW100111483A TWI425496B TW I425496 B TWI425496 B TW I425496B TW 100111483 A TW100111483 A TW 100111483A TW 100111483 A TW100111483 A TW 100111483A TW I425496 B TWI425496 B TW I425496B
- Authority
- TW
- Taiwan
- Prior art keywords
- brightness
- value
- display
- adjustment order
- order value
- Prior art date
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
本發明與顯示器之亮度調整有關,特別是關於一種顯示器亮度自動調整方法、可攜式電子裝置及電腦可讀式儲存媒體。The invention relates to brightness adjustment of a display, in particular to a method for automatically adjusting brightness of a display, a portable electronic device and a computer readable storage medium.
近年來,隨著光感測技術的進步,已有許多先進的光感測元件陸續被開發出來,並廣泛地應用於各種電子產品中。舉例而言,目前市面上常見的可攜式電子裝置,像是智慧型手機、筆記型電腦或平板電腦等,已可利用環境光感測器(ambient light sensor)來感測環境照度,並搭配其顯示器目前的背光亮度或是處於電池/充電模式下,進行顯示器顯示亮度的自動調整。In recent years, with the advancement of optical sensing technology, many advanced optical sensing components have been developed and widely used in various electronic products. For example, portable electronic devices commonly used on the market, such as smart phones, notebook computers or tablet computers, can use ambient light sensors to sense ambient illumination and match The current backlight brightness of the display is in the battery/charge mode, and the display brightness is automatically adjusted.
雖然現今市面上的可攜式電子裝置已可實現自動調整其顯示器顯示亮度之功能,然而,使用者在實際使用此一顯示器顯示亮度自動調整功能時,仍會感覺到存在著某些缺失。舉例而言,當可攜式電子裝置處於自動亮度調整模式下時,可攜式電子裝置將會根據環境光感測器之環境照度感測結果以及電源輸入模式自動調整其顯示器的顯示亮度,但卻忽略了最重要的使用者於視覺上的主觀感受。Although the portable electronic device on the market today can realize the function of automatically adjusting the brightness of the display of the display, the user still feels that there are some defects when actually using the display to display the automatic brightness adjustment function. For example, when the portable electronic device is in the automatic brightness adjustment mode, the portable electronic device automatically adjusts the display brightness of the display according to the ambient light sensing result of the ambient light sensor and the power input mode, but It ignores the visual subjective feelings of the most important users.
無論使用者覺得經過可攜式電子裝置自動調整後的顯示器亮度太亮或太暗,使用者均無法根據自己視覺上的主觀感受,對於處於自動亮度調整模式下的可攜式電子裝置之顯示器的顯示亮度進行任何調亮或調暗的動作,反而使得顯示亮度自動調整功能無法滿足使用者之實際需求,甚至造成使用者觀看螢幕時眼睛感到不適。Whether the user feels that the brightness of the display automatically adjusted by the portable electronic device is too bright or too dark, the user cannot display the display of the portable electronic device in the automatic brightness adjustment mode according to his visual subjective feeling. The brightness performs any brightening or dimming action, but the display brightness automatic adjustment function cannot meet the actual needs of the user, and even causes the user to feel uncomfortable when viewing the screen.
本發明提出一種顯示器亮度自動調整方法、可攜式電子裝置及電腦可讀式儲存媒體,以解決先前技術所遭遇到之上述種種問題。The invention provides a method for automatically adjusting brightness of a display, a portable electronic device and a computer readable storage medium to solve the above problems encountered in the prior art.
本發明之一範疇在於提出一種顯示器亮度自動調整方法。於一實施例中,該顯示器亮度自動調整方法係應用於一顯示器中。該顯示器亮度自動調整方法包含下列步驟:接收多個亮度感測訊號,並據以計算出一平均環境照度值;接收一使用者設定訊號,該使用者設定訊號包含一使用者定義的增減值;根據該平均環境照度值及該使用者定義的增減值自一對照表中找出相對應之一特定亮度控制訊號;根據該特定亮度控制訊號自動調整該顯示器之一顯示亮度。One aspect of the present invention is to provide a method for automatically adjusting the brightness of a display. In an embodiment, the display brightness automatic adjustment method is applied to a display. The method for automatically adjusting the brightness of the display comprises the steps of: receiving a plurality of brightness sensing signals, and calculating an average ambient illuminance value; receiving a user setting signal, the user setting signal including a user-defined increase or decrease value And determining, according to the average ambient illuminance value and the user-defined increase or decrease value, a corresponding one of the specific brightness control signals from the comparison table; and automatically adjusting the display brightness of the display according to the specific brightness control signal.
於本發明之一實施例中,該對照表包含多個環境照度值以及相對應的多個調整階數值與多個亮度控制訊號。上述找出特定亮度控制訊號之步驟包含下列步驟:比對該平均環境照度值與該對照表,以自該些調整階數值中找出對應於該平均環境照度值之一第一調整階數值;根據該第一調整階數值與該使用者定義的增減值產生一第二調整階數值;比對該第二調整階數值與該對照表,以自該些亮度控制訊號中找出對應於該第二調整階數值之該特定亮度控制訊號。In an embodiment of the invention, the look-up table includes a plurality of ambient illuminance values and corresponding plurality of adjustment order values and a plurality of brightness control signals. The step of finding a specific brightness control signal includes the following steps: comparing the average ambient illuminance value with the comparison table to find a first adjustment order value corresponding to the average ambient illuminance value from the adjusted order values; And generating, according to the first adjustment step value and the user-defined increase or decrease value, a second adjustment step value; comparing the second adjustment step value with the comparison table, to find out corresponding to the brightness control signal The second brightness adjustment level of the particular brightness control signal.
於本發明之一實施例中,上述比對第二調整階數值與對照表之步驟包含下列步驟:判斷該第二調整階數值是否已達到一最大調整階數值或一最小調整階數值;若上述判斷步驟的判斷結果為是,將該第二調整階數值設定為該最大調整階數值或該最小調整階數值;根據該最大調整階數值或該最小調整階數值自該些亮度控制訊號中找出對應於該最大調整階數值或該最小調整階數值之該特定亮度控制訊號。In an embodiment of the present invention, the step of comparing the second adjustment order value with the comparison table includes the following steps: determining whether the second adjustment order value has reached a maximum adjustment order value or a minimum adjustment order value; The determination result of the determining step is yes, the second adjustment step value is set to the maximum adjustment order value or the minimum adjustment order value; and the maximum adjustment order value or the minimum adjustment order value is found out from the brightness control signals. The specific brightness control signal corresponding to the maximum adjustment order value or the minimum adjustment order value.
於本發明之一實施例中,該最大調整階數值及該最小調整階數值係分別對應於該顯示器之一最大顯示亮度或一最小顯示亮度。上述自動調整顯示器之顯示亮度之步驟包含下列步驟:根據該特定亮度控制訊號控制該顯示器之該顯示亮度為該最大顯示亮度或該最小顯示亮度。In an embodiment of the invention, the maximum adjustment order value and the minimum adjustment order value respectively correspond to one of the maximum display brightness or a minimum display brightness of the display. The step of automatically adjusting the display brightness of the display comprises the steps of: controlling the display brightness of the display to be the maximum display brightness or the minimum display brightness according to the specific brightness control signal.
本發明之另一範疇在於提出一種可攜式電子裝置。於一實施例中,可攜式電子裝置包含顯示器、亮度感測單元、使用者介面、處理單元及亮度控制單元。亮度感測單元係用以感測環境照度並據以產生多個亮度感測訊號。使用者介面係用以產生一使用者設定訊號。該使用者設定訊號包含一使用者定義的增減值。處理單元係用以接收該些亮度感測訊號與該使用者設定訊號,並根據該些亮度感測訊號計算出一平均環境照度值,且根據該平均環境照度值及使用者定義的增減值自對照表中找出相對應之特定亮度控制訊號。亮度控制單元係用以根據特定亮度控制訊號自動調整顯示器之顯示亮度。Another aspect of the present invention is to provide a portable electronic device. In one embodiment, the portable electronic device includes a display, a brightness sensing unit, a user interface, a processing unit, and a brightness control unit. The brightness sensing unit is configured to sense ambient illumination and accordingly generate a plurality of brightness sensing signals. The user interface is used to generate a user setting signal. The user setting signal includes a user-defined increase or decrease. The processing unit is configured to receive the brightness sensing signals and the user setting signals, and calculate an average ambient illuminance value according to the brightness sensing signals, and according to the average ambient illuminance value and the user-defined increase or decrease value Find the corresponding specific brightness control signal from the comparison table. The brightness control unit is configured to automatically adjust the display brightness of the display according to the specific brightness control signal.
於本發明之一實施例中,該對照表包含多個環境照度值以及相對應的多個調整階數值與多個亮度控制訊號。該處理單元包含計算子單元及比對子單元。計算子單元根據該些亮度感測訊號計算出平均環境照度值後,比對子單元比對平均環境照度值與對照表,以自該些調整階數值中找出對應於平均環境照度值之第一調整階數值。接著,計算子單元根據第一調整階數值與使用者定義的增減值產生第二調整階數值後,比對子單元比對第二調整階數值與對照表,以自該些亮度控制訊號中找出對應於第二調整階數值之特定亮度控制訊號。In an embodiment of the invention, the look-up table includes a plurality of ambient illuminance values and corresponding plurality of adjustment order values and a plurality of brightness control signals. The processing unit includes a calculation subunit and a comparison subunit. After calculating the average ambient illuminance value according to the brightness sensing signals, the calculating subunit compares the average ambient illuminance value with the comparison table to find the corresponding value of the average ambient illuminance value from the adjusted order values. Adjust the order value. Then, the calculating subunit generates a second adjustment order value according to the first adjustment order value and the user-defined increase and decrease value, and compares the subunits to the second adjustment order value and the comparison table to select from the brightness control signals. Find a specific brightness control signal corresponding to the second adjustment step value.
於本發明之一實施例中,比對子單元包含判斷器、設定器及比對器。判斷器係用以判斷第二調整階數值是否已達到最大調整階數值或最小調整階數值。若判斷器的判斷結果為是,設定器將第二調整階數值設定為最大調整階數值或最小調整階數值。比對器係用以根據最大調整階數值或最小調整階數值自該些亮度控制訊號中找出對應於最大調整階數值或最小調整階數值之特定亮度控制訊號。In an embodiment of the invention, the comparison subunit includes a determiner, a setter, and a comparator. The determiner is used to determine whether the second adjustment order value has reached the maximum adjustment order value or the minimum adjustment order value. If the judgment result of the determiner is YES, the setter sets the second adjustment order value to the maximum adjustment order value or the minimum adjustment order value. The comparator is configured to find a specific brightness control signal corresponding to the maximum adjustment order value or the minimum adjustment order value from the brightness control signals according to the maximum adjustment order value or the minimum adjustment order value.
本發明之另一範疇在於提出一種電腦可讀式資訊儲存媒體。於一實施例中,該電腦可讀式資訊儲存媒體係用以儲存一程式。當可攜式電子裝置執行該程式後,可完成上述之顯示器亮度自動調整方法。Another aspect of the present invention is to provide a computer readable information storage medium. In one embodiment, the computer readable information storage medium is for storing a program. After the portable electronic device executes the program, the above method for automatically adjusting the brightness of the display can be completed.
相較於先前技術,本發明所提出之顯示器亮度自動調整方法除了能夠使得運用該方法的可攜式電子裝置可利用環境光感測器(ambient light sensor)所感測到之環境照度進行顯示器顯示亮度的自動調整之外,還可根據使用者自行定義的亮度增減值對顯示器的顯示亮度作更進一步的調整,故能充分滿足使用者於視覺上對顯示器亮度的需求,以避免使用者觀看可攜式電子裝置的顯示器時,眼睛會感到不適。Compared with the prior art, the automatic brightness adjustment method of the display provided by the present invention can enable the portable electronic device using the method to perform display brightness display using the ambient light sensed by the ambient light sensor. In addition to the automatic adjustment, the display brightness of the display can be further adjusted according to the brightness increase and decrease value defined by the user, so that the user can visually satisfy the brightness of the display to avoid the user's viewing. When the display of the portable electronic device is worn, the eyes may feel uncomfortable.
關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.
根據本發明之第一較佳具體實施例為一種可攜式電子裝置。該可攜式電子裝置可以是智慧型手機、筆記型電腦或平板電腦,但不以此為限。請參照圖1及圖2,圖1係繪示此實施例之可攜式電子裝置的功能方塊圖,而圖2係繪示圖1中之處理單元的詳細功能方塊圖。According to a first preferred embodiment of the present invention, a portable electronic device is provided. The portable electronic device can be a smart phone, a notebook computer or a tablet computer, but is not limited thereto. 1 and FIG. 2, FIG. 1 is a functional block diagram of the portable electronic device of the embodiment, and FIG. 2 is a detailed functional block diagram of the processing unit of FIG.
如圖1及圖2所示,可攜式電子裝置1包含有顯示器10、亮度感測單元12、使用者介面14、處理單元16、BIOS單元17、亮度控制單元18、中央處理器19及儲存單元20。處理單元16包含計算子單元160及比對子單元162。比對子單元162包含判斷器1620、設定器1622及比對器1624。處理單元16分別耦接至亮度感測單元12、使用者介面14、亮度控制單元18及儲存單元20;顯示器10耦接至亮度控制單元18;BIOS單元17耦接至處理單元16;中央處理器19耦接至BIOS單元17;比對子單元162耦接至計算子單元160;判斷器1620耦接至設定器1622;設定器1622耦接至比對器1624。As shown in FIG. 1 and FIG. 2 , the portable electronic device 1 includes a display 10 , a brightness sensing unit 12 , a user interface 14 , a processing unit 16 , a BIOS unit 17 , a brightness control unit 18 , a central processing unit 19 , and storage . Unit 20. Processing unit 16 includes a computing sub-unit 160 and a matching sub-unit 162. The comparison sub-unit 162 includes a determiner 1620, a setter 1622, and a comparator 1624. The processing unit 16 is coupled to the brightness sensing unit 12, the user interface 14, the brightness control unit 18, and the storage unit 20; the display 10 is coupled to the brightness control unit 18; the BIOS unit 17 is coupled to the processing unit 16; 19 is coupled to the BIOS unit 17; the comparison sub-unit 162 is coupled to the calculation sub-unit 160; the determiner 1620 is coupled to the setter 1622; the setter 1622 is coupled to the comparator 1624.
於實際應用中,顯示器10可以是液晶顯示器(LCD)或發光二極體(LED)顯示器;亮度感測單元12可以是具有環境照度感測功能的光感測器,例如環境光感測器(ambient light sensor);使用者介面14可以是可攜式電子裝置1的按鍵或觸控螢幕,用以供使用者進行輸入或設定之動作;處理單元16可以是微控制器(MCU)或其他運算處理器;BIOS單元係作為中央處理器19與處理單元16之間中介的角色,亦可另耦接一BIOS記憶體(圖未示);亮度控制單元18可以是背光電路板,用以控制顯示器10的顯示亮度;儲存單元20可以是任意型式的儲存媒體,例如記憶體或硬碟,但並不以此為限。In practical applications, the display 10 may be a liquid crystal display (LCD) or a light emitting diode (LED) display; the brightness sensing unit 12 may be a light sensor having an ambient illumination sensing function, such as an ambient light sensor ( The user interface 14 can be a button or a touch screen of the portable electronic device 1 for inputting or setting operations by the user; the processing unit 16 can be a microcontroller (MCU) or other operation. The BIOS unit functions as an intermediary between the central processing unit 19 and the processing unit 16, and may be coupled to a BIOS memory (not shown); the brightness control unit 18 may be a backlight circuit board for controlling the display. The display unit 20 can be any type of storage medium, such as a memory or a hard disk, but is not limited thereto.
接下來,將分別就可攜式電子裝置1所包含的各單元及其具備的功能進行說明。Next, each unit included in the portable electronic device 1 and its functions will be described.
於此實施例中,當可攜式電子裝置1處於電池供電模式下,亦即可攜式電子裝置1並未透過適配器耦接至交流電源時,亮度感測單元12將會自動地感測環境照度並據以產生多個亮度感測訊號。實際上,亮度感測單元12可設置於可攜式電子裝置1之顯示器10的左上方或右上方,抑或與CMOS感測器及麥克風一起整合於網路攝影機單元內,但不以此為限。需說明的是,亮度感測單元12實際上是設置於可攜式電子裝置1之殼體內的一顆IC,其耦接軟排線(FPC)並透過I2C方式耦接至處理單元16。亮度感測單元12包含兩個感光元件,分別用以感測可見光及紅外線,並輸出經訊號處理後的該些亮度感測訊號。In this embodiment, when the portable electronic device 1 is in the battery-powered mode, and the portable electronic device 1 is not coupled to the AC power source through the adapter, the brightness sensing unit 12 will automatically sense the environment. Illuminance and accordingly generate multiple brightness sensing signals. In fact, the brightness sensing unit 12 can be disposed in the upper left or upper right of the display 10 of the portable electronic device 1 or integrated in the network camera unit together with the CMOS sensor and the microphone, but not limited thereto. . It should be noted that the brightness sensing unit 12 is actually an IC disposed in the casing of the portable electronic device 1 and coupled to the flexible cable (FPC) and coupled to the processing unit 16 through the I2C mode. The brightness sensing unit 12 includes two photosensitive elements for sensing visible light and infrared light, and outputting the signal processed brightness sensing signals.
於此實施例中,使用者介面14係用以產生一使用者設定訊號,並且該使用者設定訊號係包含一使用者定義的增減值。實際上,使用者可依照其本身對可攜式電子裝置1之顯示器10的顯示亮度之亮暗感受,透過可攜式電子裝置1的使用者介面14(例如按鍵或觸控螢幕等)於某一作業系統(例如Windows作業系統)的環境下,藉由一應用程式設定該使用者定義的增減值,但不以此為限。In this embodiment, the user interface 14 is configured to generate a user setting signal, and the user setting signal includes a user-defined increase and decrease value. In fact, the user can use the user interface 14 (such as a button or a touch screen) of the portable electronic device 1 according to the brightness and darkness of the display brightness of the display 10 of the portable electronic device 1 . In an environment of an operating system (for example, a Windows operating system), the user-defined increase or decrease is set by an application, but is not limited thereto.
於此實施例中,處理單元16將會接收亮度感測單元12所輸出之該些亮度感測訊號及使用者介面14所輸出之使用者 設定訊號,並根據該些亮度感測訊號計算出平均環境照度值,且根據平均環境照度值及使用者定義的增減值自對照表中找出相對應之特定亮度控制訊號。實際上,處理單元16可依實際需求採用不同的計算方法算出平均環境照度值,例如算術平均法、加權平均法、中間分數平均法等,並無特定之限制。In this embodiment, the processing unit 16 will receive the brightness sensing signals output by the brightness sensing unit 12 and the user output by the user interface 14. Setting a signal, and calculating an average ambient illuminance value according to the brightness sensing signals, and finding a corresponding specific brightness control signal from the comparison table according to the average ambient illuminance value and the user-defined increase or decrease value. In fact, the processing unit 16 can calculate the average ambient illuminance value by using different calculation methods according to actual needs, such as the arithmetic average method, the weighted average method, the intermediate score averaging method, and the like, and there is no specific limitation.
於實際應用中,對照表可包含多個環境照度值以及相對應的多個調整階數值與多個亮度控制訊號。舉例而言,如對照表T所示,對照表T可紀錄有16個環境照度值以及其相對應的16個調整階數值L0~L15與16個亮度控制訊號,但不以此為限。需說明的是,對照表T僅為繪示其中的6個調整階數之示意表。實際上,處理單元16所計算出來的平均環境照度值、使用者介面14所輸出之使用者定義的增減值以及對照表均可儲存於儲存單元20中,但不以此為限。In practical applications, the comparison table may include a plurality of ambient illuminance values and corresponding plurality of adjustment order values and a plurality of brightness control signals. For example, as shown in the comparison table T, the comparison table T can record 16 ambient illuminance values and corresponding 16 adjustment order values L0~L15 and 16 brightness control signals, but not limited thereto. It should be noted that the comparison table T is only a schematic table showing six adjustment orders among them. In fact, the average ambient illuminance value calculated by the processing unit 16 and the user-defined increase and decrease value output by the user interface 14 and the comparison table may be stored in the storage unit 20, but not limited thereto.
詳細而言,如圖2所示,當計算子單元160根據該些亮度感測訊號計算出平均環境照度值後,比對子單元162將會比對平均環境照度值與對照表所儲存的該些環境照度值,以自對照表中之該些調整階數值中找出對應於平均環境照度值之第一調整階數值。接著,計算子單元160根據第一調整階數值與使用者定義的增減值產生第二調整階數值之後,再由比對子單元162比對第二調整階數值與對照表,以自對照表中之該些亮度控制訊號中找出對應於第二調整階數值之特定亮度控制訊號。In detail, as shown in FIG. 2, after the calculation sub-unit 160 calculates an average ambient illuminance value according to the brightness sensing signals, the comparison sub-unit 162 compares the average ambient illuminance value with the comparison table. For the ambient illuminance values, the first adjustment order values corresponding to the average ambient illuminance values are found out of the adjustment order values in the comparison table. Next, the calculation sub-unit 160 generates a second adjustment order value according to the first adjustment order value and the user-defined increase and decrease value, and then compares the second adjustment order value with the comparison table by the comparison sub-unit 162, in the self-check table. The specific brightness control signals corresponding to the second adjustment order value are found in the brightness control signals.
於實際應用中,由於可攜式電子裝置1的顯示器10本身 具有最大顯示亮度與最小顯示亮度,分別對應於對照表T中之最大調整階數值(L15)與最小調整階數值(L0),因此,為了避免計算子單元160所得到之第二調整階數值超出對照表T中之最大調整階數值(L15)與最小調整階數值(L0)之間的範圍,比對子單元162的判斷器1620將會判斷第二調整階數值是否已達到最大調整階數值(L15)或最小調整階數值(L0)。In practical applications, the display 10 of the portable electronic device 1 itself The maximum display brightness and the minimum display brightness respectively correspond to the maximum adjustment order value (L15) and the minimum adjustment order value (L0) in the comparison table T, and therefore, in order to avoid the second adjustment order value obtained by the calculation subunit 160 exceeds Comparing the range between the maximum adjustment order value (L15) and the minimum adjustment order value (L0) in the table T, the determiner 1620 of the comparison sub-unit 162 will determine whether the second adjustment order value has reached the maximum adjustment order value ( L15) or minimum adjustment order value (L0).
若判斷器1620的判斷結果為是,亦即第二調整階數值已達到最大調整階數值(L15)或最小調整階數值(L0),設定器1622即會把第二調整階數值設定為最大調整階數值(L15)或最小調整階數值(L0)。接著,比對器1624再根據最大調整階數值(L15)或最小調整階數值(L0)自該些亮度控制訊號中找出對應於最大調整階數值(L15)或最小調整階數值(L0)之特定亮度控制訊號。If the judgment result of the determiner 1620 is YES, that is, the second adjustment order value has reached the maximum adjustment order value (L15) or the minimum adjustment order value (L0), the setter 1622 sets the second adjustment order value to the maximum adjustment. The order value (L15) or the minimum adjustment order value (L0). Then, the comparator 1624 further finds a value corresponding to the maximum adjustment order value (L15) or the minimum adjustment order value (L0) from the brightness control signals according to the maximum adjustment order value (L15) or the minimum adjustment order value (L0). Specific brightness control signal.
由於最大調整階數值(L15)及最小調整階數值(L0)係分別對應於顯示器10之最大顯示亮度或最小顯示亮度,因此,亮度控制單元18將會根據特定亮度控制訊號控制顯示器10之顯示亮度為最大顯示亮度或最小顯示亮度。Since the maximum adjustment order value (L15) and the minimum adjustment order value (L0) respectively correspond to the maximum display brightness or the minimum display brightness of the display 10, the brightness control unit 18 controls the display brightness of the display 10 according to the specific brightness control signal. For maximum display brightness or minimum display brightness.
反之,若判斷器1620的判斷結果為否,亦即第二調整階數值並未達到最大調整階數值(L15)或最小調整階數值(L0),比對器1624將會根據第二調整階數值自該些亮度控制訊號中找出對應於第二調整階數值之特定亮度控制訊號。之後,亮度控制單元18再根據特定亮度控制訊號自動調整顯示器10之顯示亮度。On the other hand, if the judgment result of the determiner 1620 is no, that is, the second adjustment order value does not reach the maximum adjustment order value (L15) or the minimum adjustment order value (L0), the comparator 1624 will be based on the second adjustment order value. A specific brightness control signal corresponding to the second adjustment order value is found from the brightness control signals. Thereafter, the brightness control unit 18 automatically adjusts the display brightness of the display 10 based on the particular brightness control signal.
根據本發明之第二較佳具體實施例為一種顯示器亮度自動調整方法。於此實施例中,該顯示器亮度自動調整方法 係應用於一顯示器中。實際上,該顯示器係設置於一可攜式電子裝置上,該顯示器可以是液晶顯示器(LCD)或發光二極體(LED)顯示器,並且該可攜式電子裝置可以是智慧型手機、筆記型電腦或平板電腦,但不以此為限。According to a second preferred embodiment of the present invention, a method for automatically adjusting brightness of a display is provided. In this embodiment, the display brightness automatic adjustment method It is applied to a display. In fact, the display is disposed on a portable electronic device, and the display may be a liquid crystal display (LCD) or a light emitting diode (LED) display, and the portable electronic device may be a smart phone or a notebook. Computer or tablet, but not limited to this.
請參照圖3,圖3係繪示此實施例之顯示器亮度自動調整方法的流程圖。如圖3所示,首先,該方法執行步驟S10,接收多個亮度感測訊號,並據以計算出一平均環境照度值。於實際應用中,該些亮度感測訊號可藉由可攜式電子裝置的光感測器,例如環境光感測器(ambient light sensor),感測可攜式電子裝置周圍的環境照度而得,但不以此為限。Please refer to FIG. 3. FIG. 3 is a flow chart showing a method for automatically adjusting the brightness of the display according to this embodiment. As shown in FIG. 3, first, the method performs step S10, receives a plurality of brightness sensing signals, and calculates an average ambient illuminance value. In practical applications, the brightness sensing signals can be sensed by sensing the ambient illumination around the portable electronic device by using a light sensor of the portable electronic device, such as an ambient light sensor. , but not limited to this.
接著,該方法執行步驟S12,接收包含使用者定義的增減值之一使用者設定訊號。於實際應用中,使用者可透過可攜式電子裝置的按鍵或觸控螢幕等使用者介面於一作業系統(OS)的環境下藉由一應用程式設定該使用者定義的增減值,但不以此為限。Next, the method performs step S12 to receive a user setting signal including a user-defined increase or decrease value. In a practical application, the user can set the user-defined increase and decrease value by an application through a user interface of the portable electronic device or a touch screen in an operating system (OS) environment, but Not limited to this.
之後,該方法執行步驟S14,根據平均環境照度值及使用者定義的增減值自一對照表中找出相對應之一特定亮度控制訊號。於實際應用中,該對照表可包含多個環境照度值以及相對應的多個調整階數值與多個亮度控制訊號。舉例而言,如對照表T所示,對照表T可紀錄有16個環境照度值以及其相對應的16個調整階數值L0~L15與16個亮度控制訊號,但不以此為限。需說明的是,對照表T僅為繪示其中的6個調整階數之示意表。Thereafter, the method performs step S14 to find a corresponding one of the specific brightness control signals from a comparison table according to the average ambient illuminance value and the user-defined increase or decrease. In practical applications, the comparison table may include a plurality of ambient illumination values and corresponding plurality of adjustment order values and a plurality of brightness control signals. For example, as shown in the comparison table T, the comparison table T can record 16 ambient illuminance values and corresponding 16 adjustment order values L0~L15 and 16 brightness control signals, but not limited thereto. It should be noted that the comparison table T is only a schematic table showing six adjustment orders among them.
詳細而言,如圖4所示,步驟S14包含下列三個子步驟S140~S144。於子步驟S140中,該方法比對平均環境照度值 與對照表,以自該些調整階數值中找出對應於平均環境照度值之一第一調整階數值。舉例而言,假設環境照度值為60,則從對照表T可知:對應於環境照度值60的第一調整階數值為L12。In detail, as shown in FIG. 4, step S14 includes the following three sub-steps S140-S144. In sub-step S140, the method compares the average ambient illuminance value And the comparison table, the first adjustment order value corresponding to one of the average ambient illuminance values is found out from the adjusted order values. For example, if the ambient illuminance value is 60, it can be seen from the comparison table T that the first adjustment order value corresponding to the ambient illuminance value 60 is L12.
接著,於子步驟S142中,該方法根據第一調整階數值與使用者定義的增減值產生一第二調整階數值。承上例,已知第一調整階數值為L12,若使用者定義的增減值為(+1),亦即使用者覺得可攜式電子裝置的顯示器之顯示亮度不夠亮,故欲將原本的第一調整階數值(L12)加上1而得到第二調整階數值(L13)。Next, in sub-step S142, the method generates a second adjustment order value according to the first adjustment order value and the user-defined increase and decrease value. In the above example, the first adjustment step value is known as L12. If the user-defined increase or decrease is (+1), that is, the user feels that the display brightness of the display of the portable electronic device is not bright enough, the original is intended to be The first adjustment order value (L12) plus one gives a second adjustment order value (L13).
然後,於子步驟S144中,該方法比對第二調整階數值與對照表,以自該些亮度控制訊號中找出對應於第二調整階數值之特定亮度控制訊號。承上例,已知第二調整階數值為L13,從對照表T可知:第二調整階數值L13所對應的特定亮度控制訊號為(0xAB)。Then, in sub-step S144, the method compares the second adjustment order value with the comparison table to find a specific brightness control signal corresponding to the second adjustment order value from the brightness control signals. According to the above example, the second adjustment order value is known as L13. It can be seen from the comparison table T that the specific brightness control signal corresponding to the second adjustment order value L13 is (0xAB).
於實際應用中,由於可攜式電子裝置的顯示器本身具有最大顯示亮度與最小顯示亮度,分別對應於最大調整階數值(L15)與最小調整階數值(L0),因此,為了避免該方法執行子步驟S142所得到之該第二調整階數值超出最大調整階數值(L15)與最小調整階數值(L0)之間的範圍,子步驟S144可包含下列三個子步驟S1440~S1446。如圖5所示,於子步驟S1440中,該方法判斷第二調整階數值是否已達到最大調整階數值或最小調整階數值。In practical applications, since the display of the portable electronic device itself has the maximum display brightness and the minimum display brightness, respectively corresponding to the maximum adjustment order value (L15) and the minimum adjustment order value (L0), therefore, in order to avoid the method execution The second adjustment order value obtained in step S142 exceeds the range between the maximum adjustment order value (L15) and the minimum adjustment order value (L0), and the sub-step S144 may include the following three sub-steps S1440 to S1446. As shown in FIG. 5, in sub-step S1440, the method determines whether the second adjustment order value has reached the maximum adjustment order value or the minimum adjustment order value.
承上例,由於第二調整階數值為L13,並未達到最大調整階數值(L15)或最小調整階數值(L0),亦即該方法執行子步驟 S1440之判斷結果為否,此時該方法將會執行子步驟S1442,根據該第二調整階數值自該些亮度控制訊號中找出對應於該第二調整階數值之該特定亮度控制訊號。According to the above example, since the second adjustment order value is L13, the maximum adjustment order value (L15) or the minimum adjustment order value (L0) is not reached, that is, the method performs substeps. If the determination result of S1440 is no, the method will perform sub-step S1442, and find the specific brightness control signal corresponding to the second adjustment order value from the brightness control signals according to the second adjustment order value.
於另一例中,當第二調整階數值為L15或L0時,由於第二調整階數值(L15或L0)已達到最大調整階數值或最小調整階數值,亦即該方法執行子步驟S1440的判斷結果為是,此時該方法將會執行子步驟S1444,將第二調整階數值設定為最大調整階數值或最小調整階數值。接著,該方法執行子步驟S1446,根據最大調整階數值或最小調整階數值自該些亮度控制訊號中找出對應於最大調整階數值或最小調整階數值之特定亮度控制訊號。In another example, when the second adjustment order value is L15 or L0, since the second adjustment order value (L15 or L0) has reached the maximum adjustment order value or the minimum adjustment order value, that is, the method performs sub-step S1440. The result is yes, at this point the method will perform sub-step S1444, setting the second adjustment order value to the maximum adjustment order value or the minimum adjustment order value. Then, the method performs sub-step S1446 to find a specific brightness control signal corresponding to the maximum adjustment order value or the minimum adjustment order value from the brightness control signals according to the maximum adjustment order value or the minimum adjustment order value.
回到圖3,當該方法已透過上述步驟找出特定亮度控制訊號後,該方法將會執行步驟S16,根據特定亮度控制訊號自動調整顯示器之一顯示亮度。需注意的是,當第二調整階數值已達到最大調整階數值(L15)或最小調整階數值(L0)時,該方法執行子步驟S1446之後,將會執行步驟S160,根據特定亮度控制訊號控制顯示器之顯示亮度為最大顯示亮度或最小顯示亮度。Returning to FIG. 3, after the method has found the specific brightness control signal through the above steps, the method will perform step S16 to automatically adjust the display brightness of one of the displays according to the specific brightness control signal. It should be noted that when the second adjustment order value has reached the maximum adjustment order value (L15) or the minimum adjustment order value (L0), after the method performs sub-step S1446, step S160 is performed to control the signal according to the specific brightness control. The display brightness of the display is the maximum display brightness or the minimum display brightness.
於實際應用中,可攜式電子裝置係透過背光模組來控制其顯示器的顯示亮度。一般而言,可攜式電子裝置輸出特定亮度控制訊號至背光模組的方式可分為兩種:一種是透過不同電壓大小的直流(DC)訊號,另一種則是透過脈衝寬度調變(Pulse-Width Modulation,PWM)訊號,但並不以此為限。In practical applications, the portable electronic device controls the display brightness of the display through the backlight module. In general, the manner in which a portable electronic device outputs a specific brightness control signal to a backlight module can be divided into two types: one is to transmit a direct current (DC) signal of a different voltage level, and the other is to pass a pulse width modulation (Pulse). -Width Modulation, PWM) signal, but not limited to this.
本發明之第三較佳具體實施例為一種電腦可讀式資訊儲存媒體。於此實施例中,該電腦可讀式資訊儲存媒體係用 以儲存一程式。當一可攜式電子裝置執行該程式後,可完成上述第二較佳具體實施例中之顯示器亮度自動調整方法。至於其詳細內容請參照上述第二較佳具體實施例之文字說明及其圖式,於此不另行贅述。A third preferred embodiment of the present invention is a computer readable information storage medium. In this embodiment, the computer readable information storage medium is used To store a program. After the portable electronic device executes the program, the method for automatically adjusting the brightness of the display in the second preferred embodiment may be completed. For the details, please refer to the text description and the drawings of the second preferred embodiment above, and no further details are provided herein.
相較於先前技術,本發明所提出之顯示器亮度自動調整方法除了能夠使得運用該方法的可攜式電子裝置可利用環境光感測器所感測到之環境照度進行顯示器顯示亮度的自動調整之外,還可根據使用者自行定義的亮度增減值對顯示器的顯示亮度作更進一步的調整,故能充分滿足使用者於視覺上對顯示器亮度的需求,以避免使用者觀看可攜式電子裝置的顯示器時,眼睛會感到不適。Compared with the prior art, the automatic brightness adjustment method of the display provided by the present invention can make the portable electronic device using the method automatically adjust the display brightness of the display by using the ambient illumination sensed by the ambient light sensor. The display brightness of the display can be further adjusted according to the brightness increase and decrease value defined by the user, so that the user can visually satisfy the brightness of the display to avoid the user watching the portable electronic device. When the monitor is in use, the eyes may feel uncomfortable.
藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。The features and spirit of the present invention will be more apparent from the detailed description of the preferred embodiments. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.
S10~S1446‧‧‧流程步驟S10~S1446‧‧‧ Process steps
1‧‧‧可攜式電子裝置1‧‧‧Portable electronic device
10‧‧‧顯示器10‧‧‧ display
12‧‧‧亮度感測單元12‧‧‧Brightness sensing unit
14‧‧‧使用者介面14‧‧‧User interface
16‧‧‧處理單元16‧‧‧Processing unit
18‧‧‧亮度控制單元18‧‧‧Brightness control unit
20‧‧‧儲存單元20‧‧‧ storage unit
17‧‧‧BIOS單元17‧‧‧BIOS unit
160‧‧‧計算子單元160‧‧‧Compute subunit
19‧‧‧中央處理器19‧‧‧Central Processing Unit
162‧‧‧比對子單元162‧‧‧ alignment subunit
1620‧‧‧判斷器1620‧‧‧Judge
1622‧‧‧設定器1622‧‧‧Setter
1624‧‧‧比對器1624‧‧‧ aligner
圖1係繪示本發明之第一較佳具體實施例之可攜式電子裝置的功能方塊圖。1 is a functional block diagram of a portable electronic device according to a first preferred embodiment of the present invention.
圖2係繪示圖1中之處理單元的詳細功能方塊圖。2 is a detailed functional block diagram of the processing unit of FIG. 1.
圖3係繪示本發明之第二較佳具體實施例之顯示器亮度自動調整方法的流程圖。3 is a flow chart showing a method for automatically adjusting brightness of a display according to a second preferred embodiment of the present invention.
圖4係繪示圖3中之步驟S14的詳細流程圖。FIG. 4 is a detailed flow chart of step S14 in FIG.
圖5係繪示圖4中之子步驟S144的詳細流程圖。FIG. 5 is a detailed flow chart of sub-step S144 of FIG. 4.
S10~S16‧‧‧流程步驟S10~S16‧‧‧ process steps
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100111483A TWI425496B (en) | 2011-04-01 | 2011-04-01 | Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100111483A TWI425496B (en) | 2011-04-01 | 2011-04-01 | Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201241820A TW201241820A (en) | 2012-10-16 |
TWI425496B true TWI425496B (en) | 2014-02-01 |
Family
ID=47600188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100111483A TWI425496B (en) | 2011-04-01 | 2011-04-01 | Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI425496B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI578295B (en) * | 2014-04-21 | 2017-04-11 | 緯創資通股份有限公司 | Display and brightness adjusting method thereof |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI594224B (en) * | 2013-04-16 | 2017-08-01 | 富智康(香港)有限公司 | System and method for adjusting backlight brightness |
TWI502356B (en) * | 2013-07-05 | 2015-10-01 | Wistron Corp | Electronic device having display device for sync brightness control and operating method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM242798U (en) * | 2003-01-29 | 2004-09-01 | Mitac Technology Corp | Control apparatus for dynamically adjusting backlight brightness and color of computer display |
US20050151728A1 (en) * | 2002-03-28 | 2005-07-14 | Petri Nenonen | Method and device for diplaying images |
US20080219672A1 (en) * | 2007-03-09 | 2008-09-11 | John Tam | Integrated infrared receiver and emitter for multiple functionalities |
-
2011
- 2011-04-01 TW TW100111483A patent/TWI425496B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050151728A1 (en) * | 2002-03-28 | 2005-07-14 | Petri Nenonen | Method and device for diplaying images |
TWM242798U (en) * | 2003-01-29 | 2004-09-01 | Mitac Technology Corp | Control apparatus for dynamically adjusting backlight brightness and color of computer display |
US20080219672A1 (en) * | 2007-03-09 | 2008-09-11 | John Tam | Integrated infrared receiver and emitter for multiple functionalities |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI578295B (en) * | 2014-04-21 | 2017-04-11 | 緯創資通股份有限公司 | Display and brightness adjusting method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW201241820A (en) | 2012-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8686981B2 (en) | Display brightness control based on ambient light angles | |
US10783835B2 (en) | Automatic control of display brightness | |
TWI578295B (en) | Display and brightness adjusting method thereof | |
TWI428891B (en) | Electronic apparatus and backlight brightness control method thereof | |
TWI386910B (en) | Display device and method for adjusting the luminance thereof | |
KR102117530B1 (en) | Display apparatus and control method thereof | |
TW201610955A (en) | Method and system for adjusting brightness of display screen | |
TW201333926A (en) | System and method for adjusting luminance of a display | |
WO2019042279A1 (en) | Method and device for controlling screen brightness, terminal, and computer readable storage medium | |
TWI425496B (en) | Method of automatically adjusting display lightness, portable electronic apparatus, and computer readable storage medium | |
US20140292632A1 (en) | Display apparatus, data gain regulating circuit and data gain regulating method | |
EP2413310A1 (en) | Display Brightness Control Temporal Response | |
US20140176393A1 (en) | Information processing apparatus, user assistance method and storage medium | |
CN102737611A (en) | Method for automatically adjusting brightness of display and portable electronic device | |
CN112153788A (en) | Illumination adjusting method and system | |
US20100271385A1 (en) | Intelligent digital photo frame | |
TWI406169B (en) | Electronic device and its automatic control method | |
WO2018098992A1 (en) | Method and device for screen control and computer storage medium | |
CN112153780A (en) | Method and system for eliminating lighting shadow based on user picture | |
TWM306668U (en) | Flat panel display with automatically brightness adjustment function | |
CN112235922A (en) | Method and system for eliminating lighting shadows based on auxiliary light source | |
US11164508B2 (en) | Electronic device | |
TWI532375B (en) | Display method and display apparatus | |
CN102543033A (en) | Automatic background luminance regulation device for PC (personal computer) | |
CN106162134B (en) | Display method and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |