CN102938247B - Brightness adjusting method and device - Google Patents

Brightness adjusting method and device Download PDF

Info

Publication number
CN102938247B
CN102938247B CN201210506732.9A CN201210506732A CN102938247B CN 102938247 B CN102938247 B CN 102938247B CN 201210506732 A CN201210506732 A CN 201210506732A CN 102938247 B CN102938247 B CN 102938247B
Authority
CN
China
Prior art keywords
ambient light
light sensor
light intensity
brightness
current environment
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201210506732.9A
Other languages
Chinese (zh)
Other versions
CN102938247A (en
Inventor
甄桂宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210506732.9A priority Critical patent/CN102938247B/en
Publication of CN102938247A publication Critical patent/CN102938247A/en
Application granted granted Critical
Publication of CN102938247B publication Critical patent/CN102938247B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Liquid Crystal Display Device Control (AREA)
  • Liquid Crystal (AREA)

Abstract

The invention relates to a brightness adjusting method and device. The method comprises the following steps of: S1, opening an ambient light sensor; S2, carrying out pretreatment on the ambient light sensor, and setting a register as a high range mode by default; S3, sensing the present ambient light intensity through the ambient light sensor, wherein the value M is equal to read ADC (Analog to Digital Converter) number multiplying 1lux/LSB (Least Significant Bit) multiplying 10, judging whether the value M is larger than 1000 or not, if so, executing the step S5, or else, executing the step S4; S4, resetting the register as a low range mode, and rereading the present ambient light intensity sensed by the ambient light sensor, wherein the value M is equal to the read ADC number multiplying 0.01lux/LSB multiplying 10, and judging whether the value M is less than 1000 or not, if so, executing the step S5, or else, executing the step S3; S5, generating an objective brightness value of display equipment according to the present ambient light intensity; and S6, adjusting the brightness of the display equipment to an objective brightness value. By utilizing the brightness adjusting method, the ambient light intensity can be accurately measured, and furthermore, the objective brightness value of the display equipment is accurately adjusted.

Description

A kind of luminance regulating method and device
Technical field
The present invention relates to display control technology field, more particularly, relate to a kind of luminance regulating method and device.
Background technology
Quality and the people of display device display image feel there be close contacting, and surround lighting affects very large on the sensation of people.As under outdoor environment by day when light intensity, display device needs very bright display effect that user could be allowed to recognize to know its displaying contents; And the very dark situation of surround lighting at night, if display device display brightness can make too by force people feel very dazzling.Therefore, it is very important for regulating display device to be operated in suitable display brightness for its user.
Adjust in the method for its display brightness at existing display device, have and increase ambient light sensor in the display device, the intensity of the surround lighting that the detecting of this ambient light sensor is outside, the backlight illumination of adjustment screen of taking this as a foundation, makes human eye comfort level high.But the range of current ambient light sensor only has one usually, high range or lower range, in use, if there will be inaccurate with lower range test high brightness, also comparatively big error is had with high range test low-light level, and environment ratio of transformation is comparatively large, therefore adopt existing ambient light sensor to adjust the luminance errors of display device greatly, be unfavorable for that accurately adjustment display device is to suitable brightness automatically.
Summary of the invention
The technical problem to be solved in the present invention is, ambient light sensor range for prior art is single, cause environmental light brightness to be measured inaccurate, and then affect the brightness adjustment defect of display device, a kind of luminance regulating method and the device that solve above defect are provided.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of luminance regulating method, comprise the following steps:
S1, open ambient light sensor;
S2, pre-service is carried out to ambient light sensor, register default configuration is become high range pattern;
S3, described ambient light sensor induction current environment light intensity, its numerical value is the ADC number * 1lux/LSB*10 that M=reads, and judges whether this numerical value M is greater than 1000; If so, then perform step S5, otherwise perform step S4;
S4, to reset register be lower range pattern, and the current environment light intensity of read loop border optical sensor induction again, the ADC number * 0.01lux/LSB*10 that its numerical value M=reads, judges whether this numerical value M is less than 1000; If so, then perform step S5, otherwise perform step S3;
S5, generate the target brightness value of display device according to current environment light intensity;
S6, by the brightness adjustment of display device to target brightness value.
In luminance regulating method of the present invention, in described step S2, pre-service has comprised and to power on to described ambient light sensor and to carry out initialization to described ambient light sensor.
In luminance regulating method of the present invention, described step S3 comprises following further:
S31, this ambient light sensor regularly respond to current environment light intensity by a predetermined period.
In luminance regulating method of the present invention, described predetermined period was 5 seconds.
In luminance regulating method of the present invention, described display device is mobile phone screen or a liquid crystal display.
The present invention also constructs a kind of brightness adjusting device, comprising:
Ambient light sensor, for responding to current environment light intensity, when register configuration becomes high range pattern, the numerical value of current environment light intensity is the ADC number * 1lux/LSB*10 that M=reads, when register configuration becomes lower range pattern, the numerical value of current environment light intensity is the ADC number * 0.01lux/LSB*10 that M=reads;
Judge to arrange module, under being high range pattern at register, judging whether the current environment light intensity that ambient light sensor is responded to is greater than 1000, if not, then register being arranged to lower range pattern; And under register is lower range pattern, judge whether the current environment light intensity that ambient light sensor is responded to is less than 1000, if not, then register is arranged to high range pattern;
Computing module, generates the target brightness value of display device for the current environment light intensity that environmentally optical sensor exports;
Adjusting module, for receiving the target brightness value that computing module exports, and by the brightness adjustment of display device to object brightness.
In brightness adjusting device of the present invention, also comprise the pretreatment module be connected with described ambient light sensor, for carrying out pre-service to ambient light sensor, described pre-service comprises and to power on to described ambient light sensor and to carry out initialization to described ambient light sensor.
In brightness adjusting device of the present invention, described ambient light sensor regularly responds to current environment light intensity by a predetermined period.
In brightness adjusting device of the present invention, described predetermined period was 5 seconds.
In brightness adjusting device of the present invention, described display device is mobile phone screen or a liquid crystal display.
Implement luminance regulating method of the present invention and device, there is following beneficial effect: by adjusting high range pattern and the lower range pattern of register, ambient light intensity under making ambient light sensor measure high brightness or low-light level accurately, reach the object of Measurement accuracy surround lighting, and then regulate the backlight illumination of display device accurately, hommization more.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the process flow diagram of luminance regulating method of the present invention;
Fig. 2 is the structured flowchart of brightness adjusting device of the present invention.
Embodiment
In order to make object of the present invention clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in the process flow diagram of luminance regulating method of the present invention, comprise the following steps:
S1, open ambient light sensor;
S2, pre-service is carried out to ambient light sensor, register default configuration is become high range pattern;
S3, this ambient light sensor induction current environment light intensity, its numerical value is the ADC number * 1lux/LSB*10 that M=reads, and judges whether this numerical value M is greater than 1000; If so, then perform step S5, otherwise perform step S4; In step s3, this ADC is 16, and numerical range is 0 ~ 65535(2 16); 1lux/LSB is resolution, represents the brightness value representated by ADC lowest order; In the computing formula of M 10 is the compensation of transmittance 10%, because display device is 10% at the transmittance of ambient light sensor part usually, therefore needs to be multiplied by 10 to responded to light intensity and could match with the ambient light intensity of reality.
S4, to reset register be lower range pattern, and the current environment light intensity of read loop border optical sensor induction again, the ADC number * 0.01lux/LSB*10 that its numerical value M=reads, judges whether this numerical value M is less than 1000; If so, then perform step S5, otherwise perform step S3; In step s 4 which, this ADC is 16, and numerical range is 0 ~ 65535; 0.0lux/LSB is resolution, represents the brightness value representated by ADC lowest order; In the computing formula of M 10 is the compensation of transmittance 10%, because display device is 10% at the transmittance of ambient light sensor part usually, therefore needs to be multiplied by 10 to responded to light intensity and could match with the ambient light intensity of reality.
S5, generate the target brightness value of display device according to current environment light intensity;
S6, by the brightness adjustment of display device to target brightness value.
Further, in step S2, pre-service has comprised and to power on to ambient light sensor and to carry out initialization to ambient light sensor.
Further, step S3 comprises following further:
S31, this ambient light sensor regularly respond to current environment light intensity by a predetermined period.User can arrange a predetermined period according to actual needs, and regularly induction current environment light intensity, is carrying out brightness adjustment to display device, makes display device can environmentally light change and adjust backlight illumination accordingly timely.
Further, predetermined period was 5 seconds; User also can be arranged to 10 minutes, and user can determine this predetermined period according to individual demand.
Further, this display device is a liquid crystal display, and this display device also can be mobile phone screen, or the display screen of other electronic equipments.
By adopting above-mentioned luminance regulating method, the high-low-range pattern of register can be switched according to the intensity of external ambient light, as when outside is high light, register configuration is become high range pattern; When external environment condition is the low light level, register configuration is become lower range pattern; The object of Measurement accuracy ambient light intensity can be reached, and then can more accurately according to the object brightness (backlight illumination) of current environment light intensity adjustment display device, the more comfortable hommization more of backlight illumination of the display device regulated thus.And by arranging high-low-range pattern, measurement range can be made larger.
As shown in Figure 2, in the structured flowchart of brightness adjusting device of the present invention, comprise
Ambient light sensor 10, for responding to current environment light intensity, when register configuration becomes high range pattern, the numerical value of current environment light intensity is the ADC number * 1lux/LSB*10 that M=reads, when register configuration becomes lower range pattern, the numerical value of current environment light intensity is the ADC number * 0.01lux/LSB*10 that M=reads; This ADC is 16, and numerical range is 0 ~ 65535.1lux/LSB is resolution, represents the brightness value representated by ADC lowest order under high range pattern; In the computing formula of M 10 is the compensation of transmittance 10%, because display device is 10% at the transmittance of ambient light sensor part usually, therefore needs to be multiplied by 10 to responded to light intensity and could match with the ambient light intensity of reality.0.011lux/LSB is resolution, represents the brightness value representated by ADC lowest order under lower range pattern.
Judge to arrange module 20, under being high range pattern at register, judging whether the current environment light intensity that ambient light sensor is responded to is greater than 1000, if not, then register being arranged to lower range pattern; And under register is lower range pattern, judge whether the current environment light intensity that ambient light sensor is responded to is less than 1000, if not, then register is arranged to high range pattern;
Computing module 30, generates the target brightness value of display device for the current environment light intensity that environmentally optical sensor exports;
Adjusting module 40, for receiving the target brightness value that computing module exports, and by the brightness adjustment of display device to object brightness.
Further, this brightness adjusting device also comprises the pretreatment module 50 be connected with ambient light sensor, and for carrying out pre-service to ambient light sensor, pre-service comprises and to power on to described ambient light sensor and to carry out initialization to described ambient light sensor.
Further, ambient light sensor regularly responds to current environment light intensity by a predetermined period.User can arrange a predetermined period according to actual needs, and regularly induction current environment light intensity, is carrying out brightness adjustment to display device, makes display device can environmentally light change and adjust backlight illumination accordingly timely.
Further, predetermined period was 5 seconds.User also can be arranged to 10 minutes, and user can determine this predetermined period according to individual demand.
Further, this display device is a liquid crystal display, and this display device also can be mobile phone screen, or the display screen of other electronic equipments.
By adopting above-mentioned brightness adjusting device, the high-low-range pattern of register can be switched according to the intensity of external ambient light, as when outside is high light, register configuration is become high range pattern; When external environment condition is the low light level, register configuration is become lower range pattern; The object of Measurement accuracy ambient light intensity can be reached, and then can more accurately according to the object brightness (backlight illumination) of current environment light intensity adjustment display device, the more comfortable hommization more of backlight illumination of the display device regulated thus.And by arranging high-low-range pattern, measurement range can be made larger.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a luminance regulating method, is characterized in that, comprises the following steps:
S1, open ambient light sensor;
S2, pre-service is carried out to ambient light sensor, register default configuration is become high range pattern;
S3, this ambient light sensor induction current environment light intensity, its numerical value is the ADC number * 1lux/LSB*10 that M=reads, and judges whether this numerical value M is greater than 1000; If so, then perform step S5, otherwise perform step S4; Wherein, 1lux/LSB is resolution, represents the brightness value representated by ADC lowest order under high range pattern;
S4, to reset register be lower range pattern, and the current environment light intensity of read loop border optical sensor induction again, the ADC number * 0.01lux/LSB*10 that its numerical value M=reads, judges whether this numerical value M is less than 1000; If so, then perform step S5, otherwise perform step S3; Wherein, 0.01lux/LSB is resolution, represents the brightness value representated by ADC lowest order under lower range pattern;
S5, generate the target brightness value of display device according to current environment light intensity;
S6, by the brightness adjustment of display device to target brightness value.
2. luminance regulating method according to claim 1, is characterized in that, in described step S2, pre-service has comprised and to power on to described ambient light sensor and to carry out initialization to described ambient light sensor.
3. luminance regulating method according to claim 1, is characterized in that, described step S3 comprises following further:
S31, this ambient light sensor regularly respond to current environment light intensity by a predetermined period.
4. luminance regulating method according to claim 3, is characterized in that, described predetermined period was 5 seconds.
5. luminance regulating method according to claim 1, is characterized in that, described display device is mobile phone screen or a liquid crystal display.
6. a brightness adjusting device, is characterized in that, comprising:
Ambient light sensor (10), for responding to current environment light intensity, when register configuration becomes high range pattern, the numerical value of current environment light intensity is the ADC number * 1lux/LSB*10 that M=reads, when register configuration becomes lower range pattern, the numerical value of current environment light intensity is the ADC number * 0.01lux/LSB*10 that M=reads; Wherein, 1lux/LSB is resolution, represents the brightness value representated by ADC lowest order under high range pattern; 0.01lux/LSB is resolution, represents the brightness value representated by ADC lowest order under lower range pattern;
Judge to arrange module (20), under being high range pattern at register, judging whether the current environment light intensity that ambient light sensor is responded to is greater than 1000, if not, then register being arranged to lower range pattern; And under register is lower range pattern, judge whether the current environment light intensity that ambient light sensor is responded to is less than 1000, if not, then register is arranged to high range pattern;
Computing module (30), generates the target brightness value of display device for the current environment light intensity that environmentally optical sensor exports;
Adjusting module (40), for receiving the target brightness value that computing module exports, and by the brightness adjustment of display device to object brightness.
7. brightness adjusting device according to claim 6, it is characterized in that, also comprise the pretreatment module (50) be connected with described ambient light sensor (10), for carrying out pre-service to ambient light sensor, described pre-service comprises and to power on to described ambient light sensor and to carry out initialization to described ambient light sensor.
8. brightness adjusting device according to claim 6, is characterized in that, described ambient light sensor (10) regularly responds to current environment light intensity by a predetermined period.
9. brightness adjusting device according to claim 8, it is characterized in that, described predetermined period was 5 seconds.
10. brightness adjusting device according to claim 6, is characterized in that, described display device is mobile phone screen or a liquid crystal display.
CN201210506732.9A 2012-11-29 2012-11-29 Brightness adjusting method and device Expired - Fee Related CN102938247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210506732.9A CN102938247B (en) 2012-11-29 2012-11-29 Brightness adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210506732.9A CN102938247B (en) 2012-11-29 2012-11-29 Brightness adjusting method and device

Publications (2)

Publication Number Publication Date
CN102938247A CN102938247A (en) 2013-02-20
CN102938247B true CN102938247B (en) 2015-03-04

Family

ID=47697138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210506732.9A Expired - Fee Related CN102938247B (en) 2012-11-29 2012-11-29 Brightness adjusting method and device

Country Status (1)

Country Link
CN (1) CN102938247B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346057B (en) * 2013-08-02 2021-10-12 腾讯科技(深圳)有限公司 Background color adjusting method and device
CN104112439A (en) * 2014-07-16 2014-10-22 南靖万利达科技有限公司 Method for improving light sensitive IC (Integrated Circuit) numerical value accuracy
CN105679256B (en) * 2015-05-25 2018-03-06 深圳Tcl数字技术有限公司 Dynamic adjustment backlight approach and device
CN106384574A (en) * 2016-02-24 2017-02-08 深圳嘟嘟智能科技有限公司 Backlight adjustment method of intelligent rearview mirror and system thereof
CN105719618A (en) * 2016-03-30 2016-06-29 深圳市蓝视界科技有限公司 Method for saving energy by means of automatically adjusting brightness of mobile phone screen
CN109425984A (en) * 2017-08-29 2019-03-05 苏州幻视互动信息技术有限公司 A kind of augmented reality display methods and device based on inductive module
EP3482674B1 (en) * 2017-11-10 2022-03-30 Maxer Endoscopy GmbH System comprising an optical instrument
CN108154853A (en) * 2017-11-27 2018-06-12 国网北京市电力公司 Liquid crystal on silicon shows the control method of equipment
CN109300438B (en) * 2018-11-12 2020-07-10 青岛海信移动通信技术股份有限公司 Method and equipment for adjusting screen brightness
CN110673077B (en) * 2019-09-30 2022-02-22 上海商汤智能科技有限公司 Data processing method and device, measuring instrument, measuring platform and storage medium
CN113035144B (en) * 2019-12-25 2022-07-08 Oppo广东移动通信有限公司 Method and device for adjusting display parameters, mobile terminal and storage medium
US11378357B2 (en) * 2020-01-17 2022-07-05 Sig Sauer, Inc. Target dot sight having target illumination sensor
CN113889053B (en) * 2021-06-04 2022-07-22 荣耀终端有限公司 Screen brightness adjusting method based on ambient light sensor
CN113643673B (en) * 2021-07-22 2022-11-01 武汉华星光电技术有限公司 Ambient light detection method and device and display device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980266A (en) * 2005-12-09 2007-06-13 乐金电子(中国)研究开发中心有限公司 Low-power-consumption hand-set
CN101383139B (en) * 2008-06-27 2011-01-12 青岛海信电器股份有限公司 Luminance control method for display screen

Also Published As

Publication number Publication date
CN102938247A (en) 2013-02-20

Similar Documents

Publication Publication Date Title
CN102938247B (en) Brightness adjusting method and device
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN104981077A (en) Color temperature control method, color temperature control device and electronic equipment
CN106157904B (en) Liquid crystal display and its display auto-correction method and device
CN105632459A (en) Computer display screen brightness adaptive adjustment method
CN100550123C (en) A kind of method, device and a kind of display of determining display brightness automatically
CN104200783B (en) Method and system for enabling mobile phone to acquire uniform light effect through production line calibration
US20130088523A1 (en) Electronic device with function of adjusting display brightness and method therefor
US8411098B2 (en) Display device modulation system
CN102231255A (en) Energy-saving display, electronic device and energy-saving displaying method
CN109140674B (en) Display panel control method and device and air conditioner
CN201540713U (en) Ambient photodetection and respond device for LCD element
CN201238363Y (en) Display image movement response test equipment
CN102355536A (en) Electricity saving method and system for mobile terminal display screen
CN103905759B (en) Image projecting equipment and its control method
US20150062185A1 (en) Electronic apparatus and method for controlling brightness for a display
CN105913812A (en) Method and device for adjusting LCD backlight brightness of terminal as well as terminal
CN106094198B (en) A kind of intelligence color selector optical system self-adapting correction method and device
CN202267594U (en) Three-dimensional (3D) glasses testing device
JP2005189795A (en) Luminance adjusting method for display
CN105702230B (en) Display backlight luminance regulating method, device and the terminal of a kind of terminal
CN201904071U (en) Separated display apparatus brightness adjusting device based on environmental light
KR20100008845A (en) Apparatus and method for controlling back-light brightness
CN106370296A (en) Detection method and system for the environment light by mobile terminal light sensor
CN105895050B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150304