CN104754798B - The brightness control method and device of key-press backlight - Google Patents
The brightness control method and device of key-press backlight Download PDFInfo
- Publication number
- CN104754798B CN104754798B CN201310740140.8A CN201310740140A CN104754798B CN 104754798 B CN104754798 B CN 104754798B CN 201310740140 A CN201310740140 A CN 201310740140A CN 104754798 B CN104754798 B CN 104754798B
- Authority
- CN
- China
- Prior art keywords
- led
- keypad
- bin value
- key
- brightness
- 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.)
- Active
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The brightness control method and device of a kind of key-press backlight, the brightness control method of the key-press backlight include:Button panel sign is read from default memory, the bin value of the LED on the keypad is obtained;Using pulse width modulation wave corresponding with the bin value, the drive circuit of the LED on the keypad is controlled, the LED is lighted, the dutycycle of the bin value and the pulse width modulation wave has one-to-one relationship.Using methods described and device, can efficiently solve button on different key plate backlight illumination it is inconsistent the problem of.
Description
Technical field
The present invention relates to field of intelligent control, the brightness control method and device of more particularly to a kind of key-press backlight.
Background technology
Existing electronic equipment, such as onboard control console or mobile phone, can all set key backlight lamp in keyboard case.
Under low light environment, key backlight lamp is lighted, in order to which user operates.Typically use light emitting diode(Light Emitting
Diode, LED)It is used as key backlight lamp.
Due to production technology, multiple different bin values, different bin value correspondences are there may be with a batch of LED
Different brightness.Use bin value identical LED as far as possible on same keypad, but used on different keypad
LED bin value may be different, cause the backlight illumination of the button on different keypads also to differ, it is impossible to meet client couple
In the demand of brightness uniformity.
The content of the invention
The embodiment of the present invention solve be button on different key plate backlight illumination it is inconsistent the problem of.
To solve the above problems, the embodiment of the present invention provides a kind of brightness control method of key-press backlight, including:From default
Memory in read button panel sign, obtain the bin value of the LED on the keypad;Using with the BIN
It is worth corresponding pulse width modulation wave, controls the drive circuit of the LED on the keypad, light the LED, the bin value
There is one-to-one relationship with the dutycycle of the pulse width modulation wave.
Optionally, the bin value includes:The brightness of the driving voltage of the LED, the colour temperature of the LED and the LED.
Optionally, the flicker frequency of the LED is not less than 60 hertz.
Optionally, the default memory is EEPROM.
Optionally, the keypad is designated the keypad sequence number.
To solve the above problems, the embodiment of the present invention also provides a kind of brightness controlling device of key-press backlight, including:Obtain
Unit, for reading button panel sign from default memory, obtains the bin value of the LED on the keypad;Control is single
Member, for using pulse width modulation wave corresponding with the bin value, controls the drive circuit of the LED on the keypad, point
The bright LED, the dutycycle of the bin value and the pulse width modulation wave has one-to-one relationship.
Optionally, the bin value includes:The brightness of the driving voltage of the LED, the colour temperature of the LED and the LED.
Optionally, the flicker frequency of the LED is not less than 60 hertz.
Optionally, the default memory is EEPROM.
Optionally, the keypad is designated the keypad sequence number.
Compared with prior art, the technical scheme of the embodiment of the present invention has advantages below:
Because LED brightness is related to fall time ratio to lighting for LED, according to the default bin value and the arteries and veins
The corresponding relation rushed between the dutycycle of width modulated ripple, for the bin value of the LED on different key plate, using different duties
The pulse width modulation wave control LED's of ratio lights and fall time ratio, so that it may so that the backlight of the button on different key plate
Brightness is identical.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the brightness control method of key-press backlight in the embodiment of the present invention;
Fig. 2 is the flow chart of the brightness control method of another key-press backlight in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of the brightness controlling device of key-press backlight in the embodiment of the present invention.
Embodiment
Due to production technology, multiple different bin values, different bin value correspondences are there may be with a batch of LED
Different brightness.Use bin value identical LED as far as possible on same keypad, but used on different keypad
LED bin value may be different, cause the backlight illumination of the button on different keypads also to differ, it is impossible to meet client couple
In the demand of brightness uniformity.
In the embodiment of the present invention, because LED brightness is related to fall time ratio to lighting for LED, according to default institute
The corresponding relation between the dutycycle of bin value and the pulse width modulation wave is stated, for the BIN of the LED on different key plate
Value, controls lighting and fall time ratio for LED, so that it may so that different key plate using the pulse width modulation wave of different duty
On button backlight illumination it is identical.
It is understandable to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage to become apparent, it is right below in conjunction with the accompanying drawings
The specific embodiment of the present invention is described in detail.
The embodiment of the present invention provides a kind of brightness control method of key-press backlight, and reference picture 1 is entered below by way of specific steps
Row is described in detail.
Step S101, reads button panel sign from default memory, obtains the bin value of the LED on the keypad.
In specific implementation, LED bin value can include the ginseng such as LED driving voltage, LED colour temperature and LED brightness
Number, can also include LED other specification.
In specific implementation, the identification information of keypad is obtained and is stored in default memory in advance,
Default memory can be EEPROM(Electrically Erasable Programmable
Read-Only Memory, EEPROM)Or other kinds of memory, as long as button panel sign can be stored by meeting
Information.
In specific implementation, button panel sign can be included in the sequence number of keypad, the sequence number of keypad
The bin value information of key-press backlight LED on keypad.
Step S102, the drive circuit of the LED on the keypad, point are controlled using PWM ripples corresponding with the bin value
The bright LED, the dutycycle of the bin value and the PWM ripples has one-to-one relationship.
In specific implementation, corresponding to different bin values, there may be the PWM ripples of duty ratio corresponding, utilize correspondence duty
The drive circuit of LED on the PWM ripple control button plates of ratio, that is, utilize the LED on the PWM ripple control button plates of duty ratio corresponding
Light and extinguish between time ratio.The dutycycle of LED bin value and PWM ripples is one-to-one, in specific implementation,
It can be obtained by experimental data.
In specific implementation, because LED brightness can be relevant with the ratio between the fall time with lighting for LED, therefore can be with
LED drive circuit is controlled using the PWM ripples of different duty so that LED is in continuous light on and off circulation.When one
LED lighting time is elongated in the individual cycle, and the fall time becomes in short-term, LED brightness increase;When LED is lighted in a cycle
Between shorten, when the fall time is elongated, LED brightness is dimmed.LED driving electricity is controlled by using the PWM ripples of different duty
Road, you can realize the consistent of backlight illumination on different key plate.
In specific implementation, LED flicker frequency scope can be not less than 60 hertz, for example, LED flicker frequency is 80
Hertz.It is understood that LED flicker frequency can also be other values, as long as the flicker frequency for meeting LED is not less than 60 hertz
Hereby.
Using the scheme of the embodiment of the present invention, because LED brightness is related to fall time ratio to lighting for LED, according to
Corresponding relation between the dutycycle of the default bin value and the pulse width modulation wave, on different key plate
LED bin value, controls lighting and fall time ratio for LED, so that it may so that not using the pulse width modulation wave of different duty
It is identical with the backlight illumination of the button on keypad.
In specific implementation, further extension can also be made to such scheme, carried out below by way of specific embodiment detailed
Describe in detail bright.
The embodiments of the invention provide the brightness control method of another key-press backlight, reference picture 2, below by way of specific step
Suddenly it is described in detail.
Step S201, by the identification information storage of keypad in default memory.
In embodiments of the present invention, the identification information of keypad can be obtained in keypad production process, keypad
Identification information can be the LED that the key-press backlight on keypad is contained in the sequence number of keypad, the sequence number of keypad
Bin value, the sequence number of keypad is stored in default memory, and memory can be EEPROM or other classes
The memory of type, as long as keypad identification information can be stored by meeting.Memory can be placed on keypad, can also be placed
In other positions, the riding position of memory can be selected according to actual needs.
Step S202, reads button panel sign from default memory, obtains the bin value of the LED on keypad.
In embodiments of the present invention, when the device is opened, the controller of equipment can read from default memory and press
The identification information of keypad, the bin value of the LED on keypad can be obtained according to the identification information of button.
Step S203, chooses the drive circuit of the LED on PWM ripples control button plate corresponding with the bin value.
In embodiments of the present invention, the LED on keypad acquired according to step S202 bin value, using default
Bin value and PWM ripples dutycycle corresponding relation, using the driving of the LED on the PWM ripple control button plates of duty ratio corresponding
Circuit.
For example, the bin value that there may be the LED on 4 keypads, each keypad is identical, the LED's between keypad
Bin value is different, corresponding to different bin values, and LED brightness is different, the corresponding bin values of LED on 4 keypads be respectively a,
B, c and d, wherein, a<b<c<D, corresponding LED brightness increases successively.Corresponding to different bin values, using different duty
PWM ripples control LED drive circuit.Corresponding to bin value on keypad be a LED, can use dutycycle for 95% PWM
Ripple is controlled to its drive circuit;Corresponding to bin value on keypad be b LED, can use dutycycle for 90% PWM ripples
Its drive circuit is controlled;Corresponding to bin value on keypad be c LED, can use dutycycle for 85% PWM ripples pair
Its drive circuit is controlled;Corresponding to bin value on keypad be d LED, can use dutycycle for 80% PWM ripples to it
Drive circuit is controlled.
It is understood that such scheme is one be controlled to different bin values using the PWM ripples of different duty
Individual example, can according to actual needs, corresponding to different LED bin value, using duty ratio corresponding in specific implementation
PWM ripples are controlled to LED drive circuit.
Step S204, lights the key-press backlight LED on keypad.
Reference picture 3, the embodiment of the present invention additionally provides a kind of brightness controlling device 30 of key-press backlight, including:Obtain single
Member 301 and control unit 302, wherein:
Acquiring unit 301, for reading button panel sign from default memory, obtains the LED on the keypad
Bin value;
Control unit 302, for being controlled using the corresponding pulse width modulation wave of the bin value on the keypad
LED drive circuit, lights the LED, and there is the dutycycle of the bin value and the pulse width modulation wave one-to-one corresponding to close
System.
In specific implementation, the bin value can include:The driving voltage of the LED, the colour temperature of the LED and described
LED brightness.
In specific implementation, the flicker frequency scope of the LED can be not less than 60 hertz.
In specific implementation, the default memory can be EEPROM.
In specific implementation, the button panel sign can be the keypad sequence number.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:ROM, RAM, disk or CD etc..
Although present disclosure is as above, the present invention is not limited to this.Any those skilled in the art, are not departing from this
In the spirit and scope of invention, it can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
The scope of restriction is defined.
Claims (8)
1. a kind of brightness control method of key-press backlight, it is characterised in that including:
Button panel sign is read from default memory, the bin value of the LED on the keypad is obtained;
Using pulse width modulation wave corresponding with the bin value, the drive circuit of the LED on the keypad is controlled, is utilized
Between the lighting and extinguish of LED on the pulse width modulation wave control button plate of dutycycle corresponding with the bin value when
Between compare, the dutycycle of the bin value and the pulse width modulation wave has one-to-one relationship;
The flicker frequency of the LED is not less than 60 hertz.
2. the brightness control method of key-press backlight as claimed in claim 1, it is characterised in that the bin value includes:It is described
The brightness of LED driving voltage, the colour temperature of the LED and the LED.
3. the brightness control method of key-press backlight as claimed in claim 1, it is characterised in that the default memory is electricity
EPROM.
4. the brightness control method of key-press backlight as claimed in claim 1, it is characterised in that the keypad is designated described
Keypad sequence number.
5. a kind of brightness controlling device of key-press backlight, it is characterised in that including:
Acquiring unit, for reading button panel sign from default memory, obtains the bin value of the LED on the keypad;
Control unit, for using the LED's on pulse width modulation wave corresponding with the bin value, the control keypad
Drive circuit, using the LED on the pulse width modulation wave control button plate of dutycycle corresponding with the bin value light and
Time ratio between extinguishing, the dutycycle of the bin value and the pulse width modulation wave has one-to-one relationship;
The flicker frequency of the LED is not less than 60 hertz.
6. the brightness controlling device of key-press backlight as claimed in claim 5, it is characterised in that the bin value includes:It is described
The brightness of LED driving voltage, the colour temperature of the LED and the LED.
7. the brightness controlling device of key-press backlight as claimed in claim 5, it is characterised in that the default memory is electricity
EPROM.
8. the brightness controlling device of key-press backlight as claimed in claim 5, it is characterised in that the keypad is designated described
Keypad sequence number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310740140.8A CN104754798B (en) | 2013-12-27 | 2013-12-27 | The brightness control method and device of key-press backlight |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310740140.8A CN104754798B (en) | 2013-12-27 | 2013-12-27 | The brightness control method and device of key-press backlight |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754798A CN104754798A (en) | 2015-07-01 |
CN104754798B true CN104754798B (en) | 2017-11-07 |
Family
ID=53593724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310740140.8A Active CN104754798B (en) | 2013-12-27 | 2013-12-27 | The brightness control method and device of key-press backlight |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754798B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445214B (en) * | 2015-08-07 | 2021-06-29 | 中兴通讯股份有限公司 | Method and device for controlling brightness of terminal key lamp |
CN105427752B (en) * | 2015-11-03 | 2018-11-20 | 景旺电子科技(龙川)有限公司 | A kind of LED sync id method of more BIN |
CN106332415B (en) * | 2016-08-22 | 2019-08-13 | 北京小米移动软件有限公司 | Key brightness correcting method and device |
FR3064148B1 (en) * | 2017-03-15 | 2021-07-16 | Valeo Vision | DEVICE AND METHOD FOR CONTROL OF LIGHT SOURCES OF A MOTOR VEHICLE |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201639563U (en) * | 2010-02-04 | 2010-11-17 | 福建省冠林科技有限公司 | Novel stainless steel capacitor-type sensing key structure |
CN102062305A (en) * | 2009-11-16 | 2011-05-18 | 连营科技股份有限公司 | Lamp, and luminous light bar and lamp driving method thereof |
CN102387642A (en) * | 2007-09-05 | 2012-03-21 | 马田专业公司 | LED bar |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI586209B (en) * | 2008-11-17 | 2017-06-01 | 艾杜雷控股有限公司 | Method of configuring an led driver, led driver, and led assembly |
US8866391B2 (en) * | 2011-07-26 | 2014-10-21 | ByteLight, Inc. | Self identifying modulated light source |
-
2013
- 2013-12-27 CN CN201310740140.8A patent/CN104754798B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102387642A (en) * | 2007-09-05 | 2012-03-21 | 马田专业公司 | LED bar |
CN102062305A (en) * | 2009-11-16 | 2011-05-18 | 连营科技股份有限公司 | Lamp, and luminous light bar and lamp driving method thereof |
CN201639563U (en) * | 2010-02-04 | 2010-11-17 | 福建省冠林科技有限公司 | Novel stainless steel capacitor-type sensing key structure |
Also Published As
Publication number | Publication date |
---|---|
CN104754798A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754798B (en) | The brightness control method and device of key-press backlight | |
CN104769354B (en) | With the method and apparatus of the control luminous intensity of voltage pulsation | |
TWI441564B (en) | Method and device for driving an array of light sources | |
EP2704529A1 (en) | Illumination control system | |
EP2168118B1 (en) | Driving circuit for driving a plurality of light sources arranged in a series configuration | |
CN103547026B (en) | Integrated LED light modulator controller | |
CN103428966A (en) | Key backlight processing method and device and terminal device | |
US8878455B2 (en) | Systems and methods of controlling the output of a light fixture | |
JP2016502235A (en) | LED driving and dimming circuit and configuration method | |
CN103310763A (en) | Method for switching display state of mobile equipment, device and equipment | |
CN105513545A (en) | Backlight unit and driving method thereof and display device | |
CN105960671A (en) | Circuits and methods for controlling current in a light emitting diode array | |
EP3550938B1 (en) | Light source actuating apparatus | |
CN105931603A (en) | Color temperature adjusting method, color temperature adjusting apparatus, backlight drive circuit and terminal equipment | |
CN105931604A (en) | Backlight driver control method, apparatus and terminal equipment | |
US20080074409A1 (en) | Method for Controlling the Power Supply from a Power Source to a Power Consumer | |
CN108882468A (en) | Electrical equipment, the control method of electrical equipment illuminating module, device and medium | |
CN106470513A (en) | Illumination control method and device | |
CN106817805A (en) | Indicate lamp control method and device | |
US20170041992A1 (en) | Light source driving device and dimming/toning control method | |
CN110809346A (en) | Light adjusting method, light adjusting device and terminal equipment | |
CN113260110B (en) | Brightness control method, device, equipment and storage medium | |
CN103903594B (en) | Remote controller, household appliance and control method and device of display of household appliance | |
CN107846751A (en) | Lighting apparatus, illuminator and electronic equipment with signal edit function | |
CN210629914U (en) | Capacitor pre-charging circuit, LED drive circuit and LED device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200513 Address after: 430056 No. 1 Dongfeng Avenue, Wuhan economic and Technological Development Zone, Hubei, Wuhan Patentee after: DONGFENG MOTOR Corp. Address before: 200030 Shanghai City, Xuhui District Tianyaoqiao Road No. 30 Metro Building 19 floor Patentee before: SHANGHAI PATEO YUEZHEN NETWORKING TECHNOLOGY SERVICE Co.,Ltd. |
|
TR01 | Transfer of patent right |