CN107277995A - The adjusting method of indicator lamp brightness - Google Patents
The adjusting method of indicator lamp brightness Download PDFInfo
- Publication number
- CN107277995A CN107277995A CN201710542710.0A CN201710542710A CN107277995A CN 107277995 A CN107277995 A CN 107277995A CN 201710542710 A CN201710542710 A CN 201710542710A CN 107277995 A CN107277995 A CN 107277995A
- Authority
- CN
- China
- Prior art keywords
- brightness value
- current
- duty cycle
- mapping relations
- pwm duty
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000013507 mapping Methods 0.000 claims abstract description 117
- 230000008859 change Effects 0.000 claims abstract description 12
- 238000013139 quantization Methods 0.000 claims description 68
- 238000012545 processing Methods 0.000 claims description 31
- 230000011218 segmentation Effects 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000011002 quantification Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009711 regulatory function Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present embodiments relate to a kind of adjusting method of indicator lamp brightness, the first max-thresholds of the first brightness value of television terminal are set;The first mapping relations set up using the first max-thresholds of first brightness value between first brightness value and PWM duty cycle;The second mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle;Obtain current first brightness value of the television terminal;The current PWM duty cycle of current first brightness value is obtained according to first mapping relations;Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to second mapping relations obtain set the second brightness value;The indicator lamp brightness is adjusted according to the second brightness value of the setting.The embodiment of the present invention realizes the technique effect of TV indicator lamp Intelligent adjustment indicator lamp brightness with the brightness change of screen.
Description
Technical field
The present invention relates to field of photoelectric technology, more particularly to a kind of adjusting method of indicator lamp brightness.
Background technology
Currently for portable equipment and various terminal equipment, such as television set, mobile phone, tablet personal computer, notebook computer etc.,
Indicator lamp is as the instruction of terminal operating status, and its lamp only has in itself to be switched two states and can not carry out the intelligent tune of brightness
Whole, indicator lamp is too bright then to influence the viewing experience of people, and too dark then indicating effect declines.Need a kind of with screen luminance of terminal intelligence
The method for adjusting indicator lamp brightness.
Existing scheme:Breath light.Breath light is to send a frequency by CPU to fix, and dutycycle is from 0-100% mechanical periodicities
PWM ripples drive indicator lamp, indicator lamp brightness is produced by bright to secretly, then by secretly to the bright effect gradually changed.Its brightness
Adjustment is solidified by producer, and go round and begin again unalterable change as clock.
Under this requirement background, we are taken the lead in into the research and development in the field, and the technology can be arrived with large-scale application
From consumer mobile phone, tablet personal computer, notebook computer, desktop computer wait until the electronic flight terminal of sector application, vehicle-mounted computer,
All kinds of products containing display screen of heavy duty service terminal etc., solve the blank problem in current industry, and realize high
Industrial value.
The content of the invention
It is an object of the invention to provide a kind of adjusting method of indicator lamp brightness, indicator lamp present in prior art is solved
Can not with screen brightness Intelligent adjustment indicator lamp brightness the problem of.
To solve the problem of prior art is present, the invention provides a kind of adjusting method of indicator lamp brightness, the side
Method includes:
Set the first max-thresholds of the first brightness value of television terminal;
Set up using the first max-thresholds of first brightness value between first brightness value and PWM duty cycle
One mapping relations;
The second mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle;
Obtain current first brightness value of the television terminal;
The current PWM duty cycle of current first brightness value is obtained according to first mapping relations;
Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to described second mapping
Relation obtains setting the second brightness value;
The indicator lamp brightness is adjusted according to the second brightness value of the setting.
Further, the maximum of the current PWM duty cycle is 100%, and the minimum value of the current PWM duty cycle is
0%;
Second max-thresholds of second brightness value are 300nit, and the second minimum threshold of second brightness value is
0nit。
Further, the current PWM duty cycle is specially that the first segment quantization is interval.
Further, the current PWM duties that current first brightness value is obtained according to first mapping relations
Than being specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;
First brightness value of second segment quantization interval processing is obtained first point according to first mapping relations
The current PWM duty cycle of section quantized interval.
Further, the current PWM duties that current first brightness value is obtained according to first mapping relations
Also include than after:
The current PWM duty cycle is subjected to the first segment quantization processing, the interval current PWM of the first segment quantization is obtained
Dutycycle.
Further, methods described also includes:
Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to described second mapping
Relation is obtained after the second brightness value of setting, judges whether the second brightness value of the setting matches with current second brightness value, if institute
The second brightness value of setting is stated to mismatch then according to the setting the second brightness value regulation indicator lamp with current second brightness value
Brightness.
Further, the invention further relates to a kind of adjusting method of indicator lamp brightness, methods described includes:
Set the first max-thresholds of the first brightness value of television terminal;
First brightness value and television terminal screen brightness are set up using the first max-thresholds of first brightness value
Voltage signal the 3rd mapping relations;
The 4th mapping relations set up between the voltage signal and PWM duty cycle;
The 5th mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle;
Obtain current first brightness value of the television terminal;
The current voltage signal of current first brightness value is obtained according to the 3rd mapping relations;
The current PWM duty cycle of the current voltage signal is obtained according to the 4th mapping relations;
Using the current PWM duty cycle as the 5th mapping relations current PWM duty cycle, and according to the described 5th mapping
Relation obtains setting the second brightness value;
The indicator lamp brightness is adjusted according to the second brightness value of the setting.
Further, the current PWM duty cycle is specially that the first segment quantization is interval, and the current voltage signal is the
Three segment quantizations are interval.
Further, the current voltage signal that current first brightness value is obtained according to the 3rd mapping relations
Specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;Will
It is interval that first brightness value of the second segment quantization interval processing obtains the 3rd segment quantization according to the 3rd mapping relations
Current voltage signal;
It is specially according to the current PWM duty cycle that the 4th mapping relations obtain the current voltage signal:
The current voltage signal of 3rd segment quantization interval processing is obtained first according to the 4th mapping relations
The interval current PWM duty cycle of segment quantization.
Further, the current voltage signal that current first brightness value is obtained according to the 3rd mapping relations
Also include afterwards:
The current voltage signal is subjected to the 3rd segment quantization processing, the interval current voltage of the 3rd segment quantization is obtained
Signal;
The current voltage signal of 3rd segment quantization interval processing is obtained first according to the 4th mapping relations
The interval current PWM duty cycle of segment quantization.
The adjusting method of indicator lamp brightness provided in an embodiment of the present invention, realizes TV indicator lamp with the brightness of screen
Change and the technique effect of Intelligent adjustment indicator lamp brightness.
Brief description of the drawings
Fig. 1 is the flow chart of the adjusting method of indicator lamp brightness provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the adjusting method of indicator lamp brightness provided in an embodiment of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Fig. 1 provides the flow chart of the adjusting method of indicator lamp brightness for the embodiment of the present invention, as illustrated, methods described bag
Include:
S101:Set the first max-thresholds of the first brightness value of television terminal.
The present invention be in order that the brightness of TV indicator lamp can change with the change of the brightness of the screen of television terminal,
Therefore the present invention relates to the setting of the screen intensity of television terminal.
The first max-thresholds of the first brightness value of television terminal are set first, and first brightness value is that the TV is whole
The screen brightness value at end.Because the codomain of the brightness value of video screen is larger, but it is not that the brightness of whole codomain can be by
Human eye is received, therefore the first max-thresholds of one the first brightness value of setting, to meet receiving of the human eye for screen intensity
Degree.First max-thresholds are the maximum of the first brightness value.
S102:Using the first max-thresholds of first brightness value set up first brightness value and PWM duty cycle it
Between the first mapping relations.
In order to adjust the brightness of TV indicator lamp by the screen intensity of television terminal, to refer in screen intensity and TV
Show and set up a bridge between lamp brightness, mapping relations this conditions can be set up present invention utilizes PWM duty cycle and brightness,
Mapping relations are set up between the first brightness value and the second brightness value by PWM duty cycle.
First set up mapping relations between the first brightness value and PWM duty cycle first, and the first mapping relations build on the
On the basis of first max-thresholds of one brightness value, in view of the use habit of user, the minimum value of first brightness value can be with
It is set to 0.
Further, the 3rd maximum of the PWM duty cycle is 100%, and the 3rd minimum value of the PWM duty cycle is
0%;3rd max-thresholds of the PWM duty cycle and the first max-thresholds of the first brightness value have mapping relations, the PWM
3rd minimum threshold of dutycycle and the first minimum threshold of the first brightness value have mapping relations.
S103:The second mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle.
PWM duty cycle and first brightness value are set up after the first mapping relations, and the second of PWM duty cycle and indicator lamp
Brightness value sets up the second mapping relations, so far, i.e., using PWM duty cycle as bridge, brightness and indicator lamp in video screen
An indirect mapping relations are established between brightness, i.e., corresponding PWM duty cycle are obtained by the first brightness value, then pass through
The PWM duty cycle of above-mentioned acquisition obtains corresponding second brightness value.Second mapping relations typically with the first mapping relations not
Together, second brightness value is general also different from the first brightness value.
Second max-thresholds of second brightness value are 300nit, and the second minimum threshold of second brightness value is
0nit.Many using incandescent lamp, fluorescent lamp and energy-saving LED lamp in modern life room, with power, intensity of illumination is energy-conservation successively
LED>Fluorescent lamp>Incandescent lamp, a common 40W incandescent lamp bulbs about 400nit, the pleasant brightness of human eye is 100~
300nit, therefore it is that comparison is rational that definition 300nit, which carries out brightness regulation for maximum ambient brightness, once more than 300nit,
Indicator lamp is directly adjusted by saturation for high-high brightness.
Second max-thresholds of second brightness value with the 3rd max-thresholds of the PWM duty cycle there is mapping to close
System, the second minimum threshold of second brightness value has mapping relations with the 3rd minimum threshold of the PWM duty cycle.
Further, methods described also includes:
To carrying out 100 interval quantizations and life between the first max-thresholds and the first minimum threshold of first brightness value
Into first interval, such as interval quantization is { 0,1,2 ... 98,99,100 }.
The first interval of first brightness value has mapping relations, i.e. 0 correspondence with the 3rd interval of the PWM duty cycle
Correspond to 1% etc. in 0%, 1.
The second interval of second brightness value has mapping relations, i.e. 0 correspondence with the 3rd interval of the PWM duty cycle
Correspond to 1% etc. in 0%, 3.
Further, the current PWM duties that current first brightness value is obtained according to first mapping relations
Than being specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;Will
It is interval that first brightness value of the second segment quantization interval processing obtains the first segment quantization according to first mapping relations
Current PWM duty cycle.
Specifically, the situation of the current voltage signal of current first brightness value is obtained according to first mapping relations two
The situation of kind, one of which is to carry out segment quantization processing to the first brightness value first, obtains second point after result quantification treatment
First brightness value of section quantized interval, maps by the first interval brightness value of treated second segment quantization according to first
Relation is handled, and obtains the interval current PWM duty cycle of the first segment quantization.
Further, the current PWM duties that current first brightness value is obtained according to first mapping relations
Also include than after:
The current PWM duty cycle is subjected to the first segment quantization processing, the interval current PWM of the first segment quantization is obtained
Dutycycle.
Second of situation of the current voltage signal of current first brightness value is obtained according to first mapping relations
For:Get after current PWM duty cycle, the first segment quantization processing is carried out to it, obtain treated first segment quantization
Interval current PWM duty cycle.
S104:Obtain current first brightness value of the television terminal.
When user is when using television terminal, and when television terminal is in running order, i.e. the screen of TV has picture to broadcast
When going out, user is impacted in order to avoid the indicator lamp of TV, the brightness of indicator lamp can be now adjusted.
The control centre of television terminal is the first brightness value that CPU gets video screen, due to current TV signal
Brightness is originally that CPU is independently sent, therefore this step need not increase other hardware, and the burden in cost is not had.
S105:The current PWM duty cycle of current first brightness value is obtained according to first mapping relations.
CPU is obtained after the first brightness value, by default software by the first brightness value according to the set in advance first mapping
Relation acquisition is to corresponding current PWM duty cycle.
S106:Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to described
Two mapping relations obtain setting the second brightness value.
Previous step is got after the corresponding current PWM duty cycle of the first brightness value, by default software by current PWM
Dutycycle gets the second brightness value of corresponding setting, the brightness value of setting second according to the second mapping relations set in advance
Match the brightness value of the indicator lamp of current screen brightness.
S107:The indicator lamp brightness is adjusted according to the second brightness value of the setting.
CPU is got after the brightness value of setting second of current screen lock matching, according to the setting the second brightness value regulation
The brightness of the indicator lamp.
Further, methods described also includes:
Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to described second mapping
Relation is obtained after the second brightness value of setting, judges whether the second brightness value of the setting matches with current second brightness value, if institute
The second brightness value of setting is stated to mismatch then according to the setting the second brightness value regulation indicator lamp with current second brightness value
Brightness.
The CPU is got after the second brightness value of setting by current PWM duty cycle, by the second brightness value of setting and currently
Second brightness value is contrasted, if the second brightness value of setting is identical with current second brightness value, not to current indicator lamp
Second brightness value is adjusted, if the second brightness value of setting is differed with current second brightness value, just to current second brightness
Value is adjusted.When setting the second brightness value less than current second brightness value, then dim degree is carried out to current second brightness value
Processing;When setting the second brightness value more than current second brightness value, then luminance-increasing processing is carried out to current second brightness value.
After the indicator lamp is provided with brightness control function module, CPU can be by brightness described in the second brightness value sending value
Regulatory function module, the brightness by the brightness control function module to the indicator lamp is adjusted.
After the indicator lamp is provided with signal conversion module, CPU can send the current PWM duty cycle to the letter
Number modular converter, the current PWM duty cycle will be converted to the second brightness value of setting by the signal conversion module, then by
Brightness control function module adjusts the brightness of the indicator lamp according to second brightness value.
Further, methods described also includes:
Preset the voltage signal of television terminal screen brightness and the 3rd mapping relations of PWM duty cycle;
Current first brightness value is converted to voltage signal by photoelectric sensor;
The corresponding current PWM duty cycle of the voltage signal is obtained according to the 3rd mapping relations, and is closed according to the second mapping
System obtains the second brightness value of the corresponding setting of current PWM duty cycle.
The present invention can also set up mapping relations to complete to set the second brightness value by voltage signal and PWM duty cycle
Obtain work.Television terminal is preset on the voltage signal of screen intensity and the 3rd mapping relations of PWM duty cycle, works as electricity
After being started working depending on terminal, photoelectric sensor gets the brightness of television terminal screen, and current first brightness value is converted to
Voltage signal is sent to CPU, and the CPU gets current PWM duty cycle according to the 3rd mapping relations, and is closed according to the second mapping
System gets the brightness value of setting second corresponding to current PWM duty cycle, and second brightness value is sent into indicator lamp.
CPU is received after this voltage signal, the same with the above method, and the codomain of voltage signal is quantified as 100 areas by CPU
Between, by the way that voltage signal and quantized interval are carried out into contrast inquiry, so which interval judged to be currently at, and export corresponding
PWM duty cycle is to carry out subsequent treatment.
The adjusting method of indicator lamp brightness provided in an embodiment of the present invention can change intelligence according to current environment brightness
Viewing TV (many users like turn off the light in the evening see TV) under regulation indicator lamp, especially evening dark surrounds, indicator lamp is not
Can be dazzling, comfort level enhancing.The method advantage is need not to increase additional hardware, and people is in viewing TV in addition, into the master of eyes
If the brightness that TV is sent, the method is adjusted with TV brightness in itself, the brightness of indicator lamp is changed and enter human eye
Brightness change it is synchronous, improve the comfort of user.
Fig. 2 is a kind of adjusting method of indicator lamp brightness of the invention, as illustrated, methods described includes:
S201:Set the first max-thresholds of the first brightness value of television terminal
The first max-thresholds of the first brightness value of television terminal are set first, and first brightness value is that the TV is whole
The screen brightness value at end.Because the codomain of the brightness value of video screen is larger, but it is not that the brightness of whole codomain can be by
Human eye is received, therefore the first max-thresholds of one the first brightness value of setting, to meet receiving of the human eye for screen intensity
Degree.First max-thresholds are the maximum of the first brightness value.
S202:First brightness value and television terminal screen are set up using the first max-thresholds of first brightness value
3rd mapping relations of the voltage signal of brightness;
S203:The 4th mapping relations set up between the voltage signal and PWM duty cycle.
In order to adjust the brightness of TV indicator lamp by the screen intensity of television terminal, to refer in screen intensity and TV
Show and set up a bridge between lamp brightness, the present embodiment make use of PWM duty cycle and indicator lamp brightness to set up mapping relations
This condition, by the way that the voltage signal of the first brightness value of video screen and television terminal screen brightness is set up into the 3rd mapping
Relation, then the voltage signal and PWM duty cycle of television terminal screen brightness are set up into the 4th mapping relations.
The 3rd mapping relations are directly first set up in the first brightness value and voltage signal first, then are accounted in voltage signal and PWM
Sky than between sets up the 4th mapping relations, and the 3rd mapping relations build on the basis of the first max-thresholds of the first brightness value
On, in view of the use habit of user, the minimum value of first brightness value can be set to 0.
S204:The 5th mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle.
PWM duty cycle and the voltage signal are set up after the 4th mapping relations, and the second of PWM duty cycle and indicator lamp is bright
Angle value sets up the 5th mapping relations, so far, i.e., using voltage signal and PWM duty cycle as bridge, video screen brightness and
An indirect mapping relations are established between the brightness of indicator lamp, i.e., obtaining corresponding voltage by the first brightness value believes
Number, corresponding PWM duty cycle is obtained by voltage signal, then it is bright by the PWM duty cycle acquisition corresponding second of above-mentioned acquisition
Angle value.5th mapping relations are typically different from the first mapping relations, second brightness value it is general also with the first brightness value
It is different.
S205:Obtain current first brightness value of the television terminal.
When user is when using television terminal, and when television terminal is in running order, i.e. the screen of TV has picture to broadcast
When going out, user is impacted in order to avoid the indicator lamp of TV, the brightness of indicator lamp can be now adjusted.
The control centre of television terminal is the first brightness value that CPU gets video screen, due to current TV signal
Brightness is originally that CPU is independently sent, therefore this step need not increase other hardware, and the burden in cost is not had.
S206:The current voltage signal of current first brightness value is obtained according to the 3rd mapping relations.
CPU is got after current first brightness value, according to the 3rd mapping relations, and current first brightness value of acquisition is corresponding to work as
Preceding voltage signal.The current voltage signal, is the voltage signal corresponding to TV screen luminance of terminal, the voltage signal
Change with the change of television terminal screen brightness, the two belongs to positively related relation.
S207:The current PWM duty cycle of the current voltage signal is obtained according to the 4th mapping relations.
CPU is got after current voltage signal, current according to corresponding to the 4th mapping relations obtain current voltage signal
PWM duty cycle, the value of the current PWM duty cycle is not more than 1 and is not less than 0.
Further, the current PWM duty cycle is specially that the first segment quantization is interval, and the current voltage signal is the
Three segment quantizations are interval.
Specifically, the first segment quantization interval refers to, current PWM duty cycle can be divided into limited quantized interval,
Such as current PWM duty cycle is divided into 100 quantized intervals, be respectively 0%, 1%, 2%, 3% ... 97%, 98%, 99%,
100% }, similarly, current voltage signal can also be divided into limited quantized interval, for example can be corresponding with current PWM duty cycle
Ground is also classified into 100 quantized intervals.
Further, the current voltage signal that current first brightness value is obtained according to the 3rd mapping relations
Specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;Will
It is interval that first brightness value of the second segment quantization interval processing obtains the 3rd segment quantization according to the 3rd mapping relations
Current voltage signal;
It is specially according to the current PWM duty cycle that the 4th mapping relations obtain the current voltage signal:
The current voltage signal of 3rd segment quantization interval processing is obtained first according to the 4th mapping relations
The interval current PWM duty cycle of segment quantization.
Specifically, the situation for the current voltage signal for obtaining current first brightness value according to the 3rd mapping relations has two
The situation of kind, one of which is to carry out segment quantization processing to the first brightness value first, obtains second point after result quantification treatment
First brightness value of section quantized interval, maps by the first interval brightness value of treated second segment quantization according to the 3rd
Relation is handled, and gets current voltage signal, and acquired current voltage signal is that have the 3rd segment quantization area
Between current voltage signal.The interval current voltage signal of the 3rd segment quantization is handled according to the 4th mapping relations again,
Obtain the interval current PWM duty cycle of the first segment quantization.
Further, the current voltage signal that current first brightness value is obtained according to the 3rd mapping relations
Also include afterwards:
The current voltage signal is subjected to the 3rd segment quantization processing, the interval current voltage of the 3rd segment quantization is obtained
Signal;The current voltage signal of 3rd segment quantization interval processing is obtained into the first segmentation according to the 4th mapping relations
The current PWM duty cycle of quantized interval.
Second of situation of the current voltage signal of current first brightness value is obtained according to the 3rd mapping relations
For:Get after current voltage signal, the 3rd segment quantization processing is carried out to it, treated 3rd segment quantization area is obtained
Between current voltage signal, then by the interval current voltage signal of treated 3rd segment quantization according to the 4th mapping relations
Progress processing gets the interval current PWM duty cycle of the first segment quantization.
S208:Using the current PWM duty cycle as the 5th mapping relations current PWM duty cycle, and according to described
Five mapping relations obtain setting the second brightness value.
Previous step is got after the corresponding current PWM duty cycle of the first brightness value, by default software by current PWM
Dutycycle gets the second brightness value of corresponding setting, the brightness value of setting second according to the 5th mapping relations set in advance
Match the brightness value of the indicator lamp of current screen brightness.
S209:The indicator lamp brightness is adjusted according to the second brightness value of the setting.
CPU is got after the brightness value of setting second of current screen lock matching, according to the setting the second brightness value regulation
The brightness of the indicator lamp.
The adjusting method of indicator lamp brightness provided in an embodiment of the present invention can change intelligence according to current environment brightness
Viewing TV (many users like turn off the light in the evening see TV) under regulation indicator lamp, especially evening dark surrounds, indicator lamp is not
Can be dazzling, comfort level enhancing.The method advantage is need not to increase additional hardware, and people is in viewing TV in addition, into the master of eyes
If the brightness that TV is sent, the method is adjusted with TV brightness in itself, the brightness of indicator lamp is changed and enter human eye
Brightness change it is synchronous, improve the comfort of user.
Professional should further appreciate that, each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software, generally describes the composition and step of each example according to function in the above description.
These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.
Professional and technical personnel can realize described function to each specific application using distinct methods, but this realize
It is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm
Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc. all should be included
Within protection scope of the present invention.
Claims (10)
1. a kind of adjusting method of indicator lamp brightness, it is characterised in that methods described includes:
Set the first max-thresholds of the first brightness value of television terminal;
First set up using the first max-thresholds of first brightness value between first brightness value and PWM duty cycle is reflected
Penetrate relation;
The second mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle;
Obtain current first brightness value of the television terminal;
The current PWM duty cycle of current first brightness value is obtained according to first mapping relations;
Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to second mapping relations
Obtain setting the second brightness value;
The indicator lamp brightness is adjusted according to the second brightness value of the setting.
2. according to the method described in claim 1, it is characterised in that
The maximum of the current PWM duty cycle is 100%, and the minimum value of the current PWM duty cycle is 0%;
Second max-thresholds of second brightness value are 300nit, and the second minimum threshold of second brightness value is 0nit.
3. according to the method described in claim 1, it is characterised in that the current PWM duty cycle is specially the first segment quantization
It is interval.
4. method according to claim 3, it is characterised in that described to obtain described current according to first mapping relations
The current PWM duty cycle of first brightness value is specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;
First brightness value of second segment quantization interval processing is obtained into the first segmentation amount according to first mapping relations
Change interval current PWM duty cycle.
5. method according to claim 3, it is characterised in that described to obtain described current according to first mapping relations
Also include after the current PWM duty cycle of first brightness value:
The current PWM duty cycle is subjected to the first segment quantization processing, the interval current PWM duties of the first segment quantization are obtained
Than.
6. according to the method described in claim 1, it is characterised in that methods described also includes:
Using the current PWM duty cycle as the second mapping relations current PWM duty cycle, and according to second mapping relations
Obtain after the second brightness value of setting, judge whether the second brightness value of the setting matches with current second brightness value, if described set
Fixed second brightness value mismatches with current second brightness value and then adjusts the indicator lamp brightness according to the second brightness value of the setting.
7. a kind of adjusting method of indicator lamp brightness, it is characterised in that methods described includes:
Set the first max-thresholds of the first brightness value of television terminal;
The electricity of first brightness value and television terminal screen brightness is set up using the first max-thresholds of first brightness value
Press the 3rd mapping relations of signal;
The 4th mapping relations set up between the voltage signal and PWM duty cycle;
The 5th mapping relations set up between the second brightness value of indicator lamp and PWM duty cycle;
Obtain current first brightness value of the television terminal;
The current voltage signal of current first brightness value is obtained according to the 3rd mapping relations;
The current PWM duty cycle of the current voltage signal is obtained according to the 4th mapping relations;
Using the current PWM duty cycle as the 5th mapping relations current PWM duty cycle, and according to the 5th mapping relations
Obtain setting the second brightness value;
The indicator lamp brightness is adjusted according to the second brightness value of the setting.
8. method according to claim 7, it is characterised in that the current PWM duty cycle is specially the first segment quantization
Interval, the current voltage signal is that the 3rd segment quantization is interval.
9. method according to claim 8, it is characterised in that described to obtain described current according to the 3rd mapping relations
The current voltage signal of first brightness value is specially:
First brightness value is subjected to segment quantization processing, the first interval brightness value of the second segment quantization is obtained;Will be described
First brightness value of the second segment quantization interval processing obtains working as the 3rd segment quantization interval according to the 3rd mapping relations
Preceding voltage signal;
It is specially according to the current PWM duty cycle that the 4th mapping relations obtain the current voltage signal:
The current voltage signal of 3rd segment quantization interval processing is obtained into the first segmentation according to the 4th mapping relations
The current PWM duty cycle of quantized interval.
10. method according to claim 8, it is characterised in that described to work as according to being obtained the 3rd mapping relations
Also include after the current voltage signal of preceding first brightness value:
The current voltage signal is subjected to the 3rd segment quantization processing, the interval current voltage letter of the 3rd segment quantization is obtained
Number;
The current voltage signal of 3rd segment quantization interval processing is obtained into the first segmentation according to the 4th mapping relations
The current PWM duty cycle of quantized interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710542710.0A CN107277995A (en) | 2017-07-05 | 2017-07-05 | The adjusting method of indicator lamp brightness |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710542710.0A CN107277995A (en) | 2017-07-05 | 2017-07-05 | The adjusting method of indicator lamp brightness |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107277995A true CN107277995A (en) | 2017-10-20 |
Family
ID=60071626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710542710.0A Pending CN107277995A (en) | 2017-07-05 | 2017-07-05 | The adjusting method of indicator lamp brightness |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277995A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640478A (en) * | 2018-12-18 | 2019-04-16 | 深圳Tcl新技术有限公司 | Standby lamp brightness adjusting method, terminal device and storage medium |
CN109842978A (en) * | 2017-11-24 | 2019-06-04 | 神讯电脑(昆山)有限公司 | Adjust the circuit of breath light brightness |
CN110891351A (en) * | 2019-12-18 | 2020-03-17 | 上海船舶研究设计院(中国船舶工业集团公司第六0四研究院) | Lamp group control device and system |
CN112135389A (en) * | 2020-09-11 | 2020-12-25 | 苏州浪潮智能科技有限公司 | Method, system and device for balancing flickering frequency of breathing lamp |
WO2023160087A1 (en) * | 2022-02-28 | 2023-08-31 | 海信视像科技股份有限公司 | Prompting method for response state of voice instruction and display device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809728A (en) * | 2012-11-09 | 2014-05-21 | 和硕联合科技股份有限公司 | Electronic device and power saving method thereof |
CN104869688A (en) * | 2014-12-18 | 2015-08-26 | 北汽福田汽车股份有限公司 | A backlight adjustment switch with brightness reduction of working indicator light |
CN106550517A (en) * | 2015-09-18 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of method and terminal of control indicator lamp brightness |
-
2017
- 2017-07-05 CN CN201710542710.0A patent/CN107277995A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809728A (en) * | 2012-11-09 | 2014-05-21 | 和硕联合科技股份有限公司 | Electronic device and power saving method thereof |
CN104869688A (en) * | 2014-12-18 | 2015-08-26 | 北汽福田汽车股份有限公司 | A backlight adjustment switch with brightness reduction of working indicator light |
CN106550517A (en) * | 2015-09-18 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of method and terminal of control indicator lamp brightness |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842978A (en) * | 2017-11-24 | 2019-06-04 | 神讯电脑(昆山)有限公司 | Adjust the circuit of breath light brightness |
CN109640478A (en) * | 2018-12-18 | 2019-04-16 | 深圳Tcl新技术有限公司 | Standby lamp brightness adjusting method, terminal device and storage medium |
CN110891351A (en) * | 2019-12-18 | 2020-03-17 | 上海船舶研究设计院(中国船舶工业集团公司第六0四研究院) | Lamp group control device and system |
CN112135389A (en) * | 2020-09-11 | 2020-12-25 | 苏州浪潮智能科技有限公司 | Method, system and device for balancing flickering frequency of breathing lamp |
CN112135389B (en) * | 2020-09-11 | 2022-12-23 | 苏州浪潮智能科技有限公司 | A method, system and device for balancing the flickering frequency of a breathing light |
WO2023160087A1 (en) * | 2022-02-28 | 2023-08-31 | 海信视像科技股份有限公司 | Prompting method for response state of voice instruction and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277995A (en) | The adjusting method of indicator lamp brightness | |
EP3561765B1 (en) | Dynamic tone mapping method, mobile terminal, and computer readable storage medium | |
AU2015294824B2 (en) | Backlight brightness adjustment method and apparatus | |
CN103415109B (en) | The method of adjustment of LED-backlit brightness | |
CN105608677B (en) | A kind of image colour of skin beautification method under arbitrary light environment and system | |
CN109219961A (en) | HDR video is coded and decoded | |
CN104268843B (en) | Image self-adapting enhancement method based on histogram modification | |
US10593292B2 (en) | Dynamic power management for an HDR display | |
CN108966439A (en) | The adjusting method and device of room brilliancy | |
CN113608459A (en) | Intelligent light environment regulation and control method, intelligent light environment regulation and control system and equipment | |
KR20090103930A (en) | Systems and methods for reducing power consumption in a device through a content adaptive display | |
US10332480B2 (en) | Color display method and system for mobile terminal | |
US20220015209A1 (en) | Illumination control systems and methods | |
CN208424845U (en) | The Healthy Lighting system of Effective Regulation human circadian | |
CN108737740A (en) | A kind of image light compensation method and system | |
CN116466899A (en) | Image processing method and electronic equipment | |
CN111935885A (en) | Linkage control method, equipment and storage medium for terminal and equipment light color | |
CN112669764B (en) | Display brightness uniformity adjusting method | |
CN105304061B (en) | The adjusting method and terminal of the display picture of terminal | |
JP4705609B2 (en) | Apparatus and method for uniformizing light intensity of light source of digital image test member, and digital image hue test apparatus and method using the same | |
CN203416335U (en) | Monitoring camera self-adaptive light complement device | |
CN110446313A (en) | Intelligent control method, system, storage medium and garden lamp based on outdoor lights | |
CN102637410A (en) | Processing method and device of backlight brightness control signal | |
CN107367954A (en) | A kind of intelligent domestic environment parameter control system based on Arduino | |
CN105374339A (en) | Method and system for automatically adjusting brightness of display screen by intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171020 |