This disclosure generally relates to a detection device and a detection method and, more particularly, to an automatic detection method and a portable electronic device using the same.
Because portable electronic devices are convenient for use, they are becoming indispensable to daily lives. However, as the battery used in portable electronic devices has limited capacity, in order to extend the lifetime of the battery, how to reduce the power consumption of the portable electronic devices becomes an important researching topic.
For example in an electronic device employing a liquid crystal display panel, it is an effective method to save power by real-timely adjusting backlight brightness of the liquid crystal display panel. Referring to
Accordingly, the present disclosure further provides an automatic detection method and a portable electronic device using the same that may avoid the error in the conventional technology aforementioned.
It is an object of the present disclosure to provide an automatic detection method and a portable electronic device capable of accurately controlling the backlight adjustment.
It is another object of the present disclosure to provide an automatic detection method adapted to control backlight brightness of a portable electronic device, wherein the portable electronic device includes an ambient light sensor and a proximity sensor.
It is another object of the present disclosure to provide an automatic detection method adapted to control backlight brightness of a cell phone, wherein the cell phone includes an ambient light sensor and a proximity sensor.
The present disclosure provides a light control method of a portable device, and the portable device includes an ambient light sensor, a proximity sensor and a display. The light control method includes: detecting an incoming signal, and after the incoming signal is received, executing: activating the ambient light sensor and the proximity sensor; setting display brightness of the display to zero when the proximity sensor detects an object; and adjusting the display brightness according to ambient light detected by the ambient light sensor when the proximity sensor does not detect the object. The light control method further includes: after the incoming signal is received and the proximity sensor detects the object, further executing: continuously setting the display brightness to zero when the proximity sensor detects that the object has not left.
The present disclosure further provides a light control method of a portable device, and the portable device includes an ambient light sensor, a proximity sensor and a display. The light control method includes: detecting an incoming signal; and activating the ambient light sensor and the proximity sensor, and executing following steps after the incoming signal is received: adjusting display brightness of the display according to an intensity value of ambient light detected by the ambient light sensor when the proximity sensor does not detect an object; continuously setting the display brightness to zero when the proximity sensor detects that the object has not left.
The present disclosure further provides a portable device including a display, an ambient light sensor, a proximity sensor and a processor. The display is configured to display images using a display brightness. The ambient light sensor is configured to detect ambient light intensity. The proximity sensor is configured to detect an object. The processor is configured to activate the ambient light sensor and the proximity sensor after an incoming signal is received, wherein after the incoming signal is received and the proximity sensor does not detect the object, the processor is further configured to adjust the display brightness according to the ambient light intensity detected by the ambient light sensor, and after the incoming signal is received and the proximity sensor detects the object, the processor is further configured to continuously set the display brightness to zero when the proximity sensor detects that the object has not left.
In the automatic detection method and the portable electronic device of the present disclosure, a proximity sensor is used to further confirm a detection result of the ambient light sensor so as to effectively increase the accuracy of controlling the backlight brightness.
Other objects, advantages, and novel features of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
It should be noted that, wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
Referring to
Referring to
The display unit 11 is configured to display images and includes a liquid crystal display unit 111 and a backlight module 112, wherein the backlight module 112 illuminates with backlight brightness so as to provide backlight needed by the liquid crystal display unit 111 in displaying images. In other words, the liquid crystal display unit 111 and the backlight module 112 may compose a liquid crystal display panel.
The detection module 2 includes an ambient light sensor (ALS) 21, a proximity sensor (PS) 22 and a processing unit 23. It is appreciated that the processing unit 23 may be the processor of the portable electronic device 10 or an independent processor. The ambient light sensor 21 is configured to detect ambient light intensity or a variation of the ambient light intensity and sends the detection result to the processing unit 23. The proximity sensor 22 is configured to detect whether an object 8 is approaching or not and sends the detection result to the processing unit 23, wherein embodiments of the proximity sensor 22 include a capacitive, an inductive, an electromagnetic, an optical, a microwave or an ultrasonic proximity sensor. For example, when the proximity sensor 22 is an optical proximity sensor, the portable electronic device 10 may further include an active light source 24 configured to illuminate the object 8, wherein the object 8 may be any object without any limitation, e.g. a finger shown herein, capable of blocking the ambient light sensor 21 from receiving ambient light, and the active light source 24 may be any proper light source.
The processing unit 23 is configured to activate the proximity sensor 22 when the ambient light intensity detected by the ambient light sensor 21 is lower than a predetermined value or decreases more than a predetermined range, and to maintain or reduce the backlight brightness of the backlight module 112 according to a detection result of the proximity sensor 22. The processing unit 23 further outputs a control signal S1 according to a detection result of the detection module 2 so as to control the operation of the backlight module 112 (e.g. adjusting the backlight brightness or deactivating the backlight module 112) and/or to control the operation of the portable electronic device 10 (e.g. deactivating a button function and/or a touch control function). When the portable electronic device 10 is a cell phone, the processing unit 23 may further detect an incoming phone call at any time and accordingly controls the operation of the detection module 2. For example, when the incoming phone call S2 is detected, the ambient light sensor 21 and the proximity sensor 22 are activated simultaneously; and when the incoming phone call S2 is not detected, only the ambient light sensor 21 is activated (described later).
Referring to
Referring to
The portable electronic device 10 is in a normal operating state initially and it is referred to an initial state herein (Step S11).
The ambient light sensor (ALS) 21 is activated to continuously detect ambient light. Preferably in the normal operating state of the portable electronic device 10 the ambient light sensor 21 detects the ambient light periodically with a fixed time period (Step S12) and sends detection results to the processing unit 23.
The processing unit 23 identifies whether an intensity value B or an intensity variation ΔB of the ambient light detected by the ambient light sensor 21 satisfies a predetermined condition or not (Step S13), wherein satisfying the predetermined condition may be the intensity value B exceeding a predetermined intensity range or the intensity variation ΔB exceeding a predetermined variation range.
When the processing unit 23 identifies that the intensity value B exceeds the predetermined intensity range or the intensity variation ΔB exceeds the predetermined variation range (Step S14), it means that the variation of ambient light is apparent enough to affect the display performance of the display unit 11 and thus the backlight brightness may be adjusted. For example, when the intensity value of the ambient light is lower than a predetermined value or decreases more than a predetermined range, the processing unit 23 activates the proximity sensor 22 (Step S15) so as to double confirm whether to adjust the backlight brightness. On the contrary, when the intensity value does not decrease (e.g. the intensity value of the ambient light being larger than a predetermined value or increasing more than a predetermined range), the backlight brightness is increased (Step S16) so as to improve the display performance and then the process returns to the Step S12. On the other hand, when the processing unit 23 identifies that the intensity value does not exceed the predetermined intensity range or the intensity variation does not exceed the predetermined variation range (i.e. the predetermined condition not satisfied), it is not necessary to perform any adjustment and the process returns to the Step S12.
In order to further confirm whether to perform the adjustment, the processing unit 23 then identifies whether an object is approaching the proximity sensor 22 or not, i.e. approaching the portable electronic device 10 (Step S17). When the proximity sensor 22 detects an object 8 is approaching, the processing unit 23 controls the backlight module 112 to maintain the backlight brightness since the decreasing of ambient light now is caused by the object 8 blocking the ambient light sensor 21 but not by the weakening of the ambient light (Step S18). On the contrary, when the proximity sensor 22 does not detect the object 8, the processing unit 23 controls the backlight module 112 to reduce the backlight brightness since the ambient light really becomes weak in this case, and the power consumption can be saved by reducing the backlight brightness (Step S19). After the Steps S16, S18 and S19 are executed, the process returns to the Step S12.
Referring to
Referring to
Similarly, the cell phone is in a normal operating state initially which is referred to an initial state herein (Step S11).
The processing unit 23 detects an incoming phone call S2 at any time (Step S12), and when the processing unit 23 does not detect the incoming phone call, the Steps S12-S19 are executed and details thereof are similar to those described in
When the processing unit 23 detects the incoming phone call S2, the ambient light sensor (ALS) 21 and the proximity sensor (PS) 22 are simultaneously activated (Step S22).
The processing unit 23 then identifies whether an object is approaching the proximity sensor 22 or not, i.e. approaching the cell phone (Step S23). When the proximity sensor 22 detects that the object 8 is approaching, the processing unit 23 controls the backlight module 112 to set the backlight brightness to zero, i.e. deactivating the backlight module 112 so as to save power; that is, now the user is putting the cell phone to his or her ear to have a talk such that the processing unit 23 may deactivate the backlight and further may deactivate a button function and/or a touch control function so as to save power as well as to avoid error due to incidentally touch (Step S24). On the contrary, when the proximity sensor 22 does not detect the object 8, the processing unit 23 may adjust the backlight brightness according to the ambient light intensity detected by the ambient light sensor 21 since now the user does not put the cell phone to his or her ear to have a talk such that the backlight brightness may be reduced when the ambient light intensity detected by the ambient light sensor 21 becomes weak or the backlight brightness may be increased when the ambient light intensity detected by the ambient light sensor 21 becomes strong (Step S25). Next, Steps S22 and S23 are executed repeatedly so as to detect the usage state of the user.
When the processing unit 23 detects the incoming phone call S2 (Step S21) and the proximity sensor 22 detects the object 8 is approaching (Step S23) and the Step S24 is executed as well, the processing unit 23 further identifies whether the object 8 has left or not (Step S26). When the proximity sensor 22 detects that the object 8 has left, it indicates that the user has ended the talk such that the process returns to the Step S21 and the processing unit 23 starts to detect a next incoming phone call; on the contrary, when the proximity sensor 22 detects that the object 8 has not left, it indicates that the user is still talking such that the processing unit 23 continuously sets the backlight brightness to zero to save the power consumption. Of course, the button function and the touch control function may be deactivated simultaneously when the backlight is deactivated.
It should be mentioned that in the above embodiments, the method that the proximity sensor 22 detects whether an object is approaching or not is different according to different types of the proximity sensor and the method may be designed according to the setting of the user and the above embodiments are only exemplary.
As mentioned above, as conventional electronic devices only use an ambient light sensor to detect an ambient light variation to accordingly adjust the backlight brightness, an error may be introduced when there is an object approaches the ambient light sensor. The present disclosure further provides an automatic detection method (
Although the disclosure has been explained in relation to its preferred embodiment, it is not used to limit the disclosure. It is to be understood that many other possible modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the disclosure as hereinafter claimed.
Number | Date | Country | Kind |
---|---|---|---|
101107289 | Mar 2012 | TW | national |
This application is a continuation application of U.S. application Ser. No. 16/870,430, filed on May 8, 2020, which is a continuation application of U.S. application Ser. No. 16/735,745, filed on Jan. 7, 2020, which is a continuation application of U.S. application Ser. No. 16/360,226, filed on Mar. 21, 2019, which is a continuation application of U.S. application Ser. No. 16/126,382, filed on Sep. 10, 2018, which is a continuation application of U.S. application Ser. No. 15/253,397, filed on Aug. 31, 2016, which is a continuation application of U.S. application Ser. No. 13/783,613, filed on Mar. 4, 2013 and claims the priority benefit of Taiwan Patent Application Serial Number 101107289, filed on Mar. 5, 2012, the full disclosures of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 16870430 | May 2020 | US |
Child | 17699380 | US | |
Parent | 16735745 | Jan 2020 | US |
Child | 16870430 | US | |
Parent | 16360226 | Mar 2019 | US |
Child | 16735745 | US | |
Parent | 16126382 | Sep 2018 | US |
Child | 16360226 | US | |
Parent | 15253397 | Aug 2016 | US |
Child | 16126382 | US | |
Parent | 13783613 | Mar 2013 | US |
Child | 15253397 | US |