CN104754798A - Method and device for controlling brightness of key backlight - Google Patents

Method and device for controlling brightness of key backlight Download PDF

Info

Publication number
CN104754798A
CN104754798A CN201310740140.8A CN201310740140A CN104754798A CN 104754798 A CN104754798 A CN 104754798A CN 201310740140 A CN201310740140 A CN 201310740140A CN 104754798 A CN104754798 A CN 104754798A
Authority
CN
China
Prior art keywords
led
keypad
key
brightness
bin value
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.)
Granted
Application number
CN201310740140.8A
Other languages
Chinese (zh)
Other versions
CN104754798B (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.)
Dongfeng Motor Corp
Original Assignee
Shanghai Pateo Network Technology Service Co 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 Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN201310740140.8A priority Critical patent/CN104754798B/en
Publication of CN104754798A publication Critical patent/CN104754798A/en
Application granted granted Critical
Publication of CN104754798B publication Critical patent/CN104754798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

Provided are a method and a device for controlling the brightness of key backlight. The method for controlling the brightness of key backlight comprises the following steps: reading key board identifiers from a preset memory and acquiring the BIN values of light emitting diodes LED on the key boards; and adopting pulse width modulation waves corresponding to the BIN values to control the drive circuits of the LEDs on the key boards to light up the LEDs, wherein there is a one-to-one correspondence between the BIN values and the duty ratios of the pulse width modulation waves. By adopting the method and the device of the invention, the problem that the backlight brightness of keys on different keyboards is inconsistent can be solved effectively.

Description

The brightness control method of key-press backlight and device
Technical field
The present invention relates to field of intelligent control, particularly a kind of brightness control method of key-press backlight and device.
Background technology
Existing electronic equipment, such as onboard control console or mobile phone etc., all can arrange key backlight lamp in keyboard case.Under low light environment, light key backlight lamp, so that user operation.General employing light-emitting diode (Light Emitting Diode, LED) is as key backlight lamp.
Due to production technology, may there is multiple different bin value in the LED of same batch, the brightness that different B IN value is corresponding different.Same keypad uses the LED that bin value is identical as far as possible, but the bin value of the LED that different keypads uses may be different, cause the backlight illumination of the button on different keypads also not identical, the demand of client for brightness uniformity can not be met.
Summary of the invention
The problem that what the embodiment of the present invention solved the is backlight illumination of button on different key plate is inconsistent.
For solving the problem, the embodiment of the present invention provides a kind of brightness control method of key-press backlight, comprising: from the memory preset, read keypad mark, obtain the bin value of the LED on described keypad; Adopt the pulse width modulation wave corresponding with described bin value, control the drive circuit of the LED on described keypad, light described LED, the duty ratio of described bin value and described pulse width modulation wave has one-to-one relationship.
Optionally, described bin value comprises: the brightness of the driving voltage of described LED, the colour temperature of described LED and described LED.
Optionally, the flicker frequency of described LED is not less than 60 hertz.
Optionally, described default memory is EEPROM (Electrically Erasable Programmable Read Only Memo).
Optionally, described keypad is designated described keypad sequence number.
For solving the problem, the embodiment of the present invention also provides a kind of brightness controlling device of key-press backlight, comprising: acquiring unit, for reading keypad mark from the memory preset, obtains the bin value of the LED on described keypad; Control unit, for adopting the pulse width modulation wave corresponding with described bin value, controlling the drive circuit of the LED on described keypad, lighting described LED, the duty ratio of described bin value and described pulse width modulation wave has one-to-one relationship.
Optionally, described bin value comprises: the brightness of the driving voltage of described LED, the colour temperature of described LED and described LED.
Optionally, the flicker frequency of described LED is not less than 60 hertz.
Optionally, described default memory is EEPROM (Electrically Erasable Programmable Read Only Memo).
Optionally, described keypad is designated described keypad sequence number.
Compared with prior art, the technical scheme of the embodiment of the present invention has the following advantages:
Due to the brightness of LED and lighting with the fall time than relevant of LED, according to the corresponding relation between the described bin value preset and the duty ratio of described pulse width modulation wave, for the bin value of the LED on different key plate, adopt lighting and fall time ratio of the pulse width modulation wave control LED of different duty, the backlight illumination of the button on different key plate just can be made identical.
Accompanying drawing explanation
Fig. 1 is the flow chart of the brightness control method of a kind of key-press backlight in the embodiment of the present invention;
Fig. 2 is the flow chart of the brightness control method of another kind of key-press backlight in the embodiment of the present invention;
Fig. 3 is the structural representation of the brightness controlling device of a kind of key-press backlight in the embodiment of the present invention.
Embodiment
Due to production technology, may there is multiple different bin value in the LED of same batch, the brightness that different B IN value is corresponding different.Same keypad uses the LED that bin value is identical as far as possible, but the bin value of the LED that different keypads uses may be different, cause the backlight illumination of the button on different keypads also not identical, the demand of client for brightness uniformity can not be met.
In the embodiment of the present invention, due to the brightness of LED and lighting with the fall time than relevant of LED, according to the corresponding relation between the described bin value preset and the duty ratio of described pulse width modulation wave, for the bin value of the LED on different key plate, adopt lighting and fall time ratio of the pulse width modulation wave control LED of different duty, the backlight illumination of the button on different key plate just can be made identical.
For enabling above-mentioned purpose, the feature and advantage of the embodiment of the present invention more become apparent, below in conjunction with accompanying drawing, specific embodiments of the invention are described in detail.
The embodiment of the present invention provides a kind of brightness control method of key-press backlight, with reference to Fig. 1, is described in detail below by way of concrete steps.
Step S101, reads keypad mark, obtains the bin value of the LED on described keypad from the memory preset.
In concrete enforcement, the bin value of LED can comprise the parameters such as the brightness of the driving voltage of LED, the colour temperature of LED and LED, can also comprise other parameters of LED.
In concrete enforcement, the identification information of keypad can be obtain in advance and be stored in default memory, the memory preset can be EEPROM (Electrically Erasable Programmable Read Only Memo) (Electrically ErasableProgrammable Read-Only Memory, EEPROM), also can be the memory of other types, keypad identification information can be stored as long as meet.
In concrete enforcement, keypad mark can be the sequence number of keypad, can comprise the bin value information of the key-press backlight LED on keypad in the sequence number of keypad.
Step S102, adopt the PWM ripple corresponding with described bin value to control the drive circuit of the LED on described keypad, light described LED, the duty ratio of described bin value and described PWM ripple has one-to-one relationship.
In concrete enforcement, corresponding to different bin values, the PWM ripple of duty ratio corresponding can be there is, utilize the PWM ripple of duty ratio corresponding to control the drive circuit of the LED on keypad, namely utilize the PWM ripple of duty ratio corresponding to control lighting of LED on keypad and time ratio between extinguishing.The bin value of LED and the duty ratio of PWM ripple are one to one, in concrete enforcement, and can data acquisition by experiment.
In concrete enforcement, because the brightness of LED can be relevant with lighting with the ratio of fall time of LED, the drive circuit of PWM ripple to LED of different duty therefore can be adopted to control, LED is in continuous light on and off circulation.When in one-period, the lighting time of LED is elongated, when the fall time shortens, the brightness of LED increases; When in one-period, LED lighting time shortens, when the fall time is elongated, the brightness of LED is dimmed.By adopting the drive circuit of the PWM ripple control LED of different duty, the consistent of the backlight illumination on different key plate can be realized.
In concrete enforcement, the flicker frequency scope of LED can be not less than 60 hertz, and such as, the flicker frequency of LED is 80 hertz.Be understandable that, the flicker frequency of LED can also be other values, as long as the flicker frequency meeting LED is not less than 60 hertz.
Adopt the scheme of the embodiment of the present invention, due to the brightness of LED and lighting with the fall time than relevant of LED, according to the corresponding relation between the described bin value preset and the duty ratio of described pulse width modulation wave, for the bin value of the LED on different key plate, adopt lighting and fall time ratio of the pulse width modulation wave control LED of different duty, the backlight illumination of the button on different key plate just can be made identical.
In concrete enforcement, further expansion can also be done to such scheme, be described in detail below by way of specific embodiment.
Embodiments provide the brightness control method of another kind of key-press backlight, with reference to Fig. 2, be described in detail below by way of concrete steps.
Step S201, by the identification information storage of keypad in the memory preset.
In embodiments of the present invention, the identification information of keypad can be obtained in keypad production process, the identification information of keypad can be the sequence number of keypad, the bin value of the LED of the key-press backlight on keypad is contained in the sequence number of keypad, the sequence number of keypad is stored in default memory, memory can be EEPROM, also can be the memory of other types, can store keypad identification information as long as meet.Memory can be placed on keypad, also can be placed on other positions, can the riding position of selection memory according to actual needs.
Step S202, reads keypad mark, obtains the bin value of the LED on keypad from the memory preset.
In embodiments of the present invention, when the device is opened, the controller of equipment can read the identification information of keypad from the memory preset, and can obtain the bin value of the LED on keypad according to the identification information of button.
Step S203, chooses the drive circuit that the PWM ripple corresponding with described bin value controls the LED on keypad.
In embodiments of the present invention, according to the bin value of the LED on the keypad that step S202 acquires, utilize the corresponding relation of the duty ratio of bin value and the PWM ripple preset, adopt the PWM ripple of duty ratio corresponding to control the drive circuit of the LED on keypad.
Such as, 4 keypads can be there are, the bin value of the LED on each keypad is identical, the bin value of the LED between keypad is different, and corresponding to different bin values, the brightness of LED is different, the bin value that LED on 4 keypads is corresponding is respectively a, b, c and d, wherein, a<b<c<d, the brightness of corresponding LED increases successively.Corresponding to different bin values, adopt the drive circuit of the PWM ripple control LED of different duty.Be the LED of a corresponding to bin value on keypad, can adopt duty ratio be 95% PWM ripple its drive circuit is controlled; Be the LED of b corresponding to bin value on keypad, can adopt duty ratio be 90% PWM ripple its drive circuit is controlled; Be the LED of c corresponding to bin value on keypad, can adopt duty ratio be 85% PWM ripple its drive circuit is controlled; Be the LED of d corresponding to bin value on keypad, can adopt duty ratio be 80% PWM ripple its drive circuit is controlled.
Be understandable that, such scheme is the example adopting the PWM ripple of different duty to control to different B IN value, in concrete enforcement, and can be according to actual needs, corresponding to the bin value of different LED, the drive circuit of PWM ripple to LED of duty ratio corresponding is adopted to control.
Step S204, lights the key-press backlight LED on keypad.
With reference to Fig. 3, the embodiment of the present invention additionally provides a kind of brightness controlling device 30 of key-press backlight, comprising: acquiring unit 301 and control unit 302, wherein:
Acquiring unit 301, for reading keypad mark from the memory preset, obtains the bin value of the LED on described keypad;
Control unit 302, the LED drive circuit controlling on described keypad for adopting pulse width modulation wave corresponding to described bin value, light described LED, the duty ratio of described bin value and described pulse width modulation wave has one-to-one relationship.
In concrete enforcement, described bin value can comprise: the brightness of the driving voltage of described LED, the colour temperature of described LED and described LED.
In concrete enforcement, the flicker frequency scope of described LED can be not less than 60 hertz.
In concrete enforcement, described default memory can be EEPROM (Electrically Erasable Programmable Read Only Memo).
In concrete enforcement, described keypad mark can be described 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 that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (10)

1. a brightness control method for key-press backlight, is characterized in that, comprising:
From the memory preset, read keypad mark, obtain the bin value of the LED on described keypad;
Adopt the pulse width modulation wave corresponding with described bin value, control the drive circuit of the LED on described keypad, light described LED, the duty ratio of described bin value and described pulse width modulation wave has one-to-one relationship.
2. the brightness control method of key-press backlight as claimed in claim 1, it is characterized in that, described bin value comprises: the brightness of the driving voltage of described LED, the colour temperature of described LED and described LED.
3. the brightness control method of key-press backlight as claimed in claim 1, it is characterized in that, the flicker frequency of described LED is not less than 60 hertz.
4. the brightness control method of key-press backlight as claimed in claim 1, it is characterized in that, described default memory is EEPROM (Electrically Erasable Programmable Read Only Memo).
5. the brightness control method of key-press backlight as claimed in claim 1, it is characterized in that, described keypad is designated described keypad sequence number.
6. a brightness controlling device for key-press backlight, is characterized in that, comprising:
Acquiring unit, for reading keypad mark from the memory preset, obtains the bin value of the LED on described keypad;
Control unit, for adopting the pulse width modulation wave corresponding with described bin value, controlling the drive circuit of the LED on described keypad, lighting described LED, the duty ratio of described bin value and described pulse width modulation wave has one-to-one relationship.
7. the brightness controlling device of key-press backlight as claimed in claim 6, it is characterized in that, described bin value comprises: the brightness of the driving voltage of described LED, the colour temperature of described LED and described LED.
8. the brightness controlling device of key-press backlight as claimed in claim 6, it is characterized in that, the flicker frequency of described LED is not less than 60 hertz.
9. the brightness controlling device of key-press backlight as claimed in claim 6, it is characterized in that, described default memory is EEPROM (Electrically Erasable Programmable Read Only Memo).
10. the brightness controlling device of key-press backlight as claimed in claim 6, it is characterized in that, described keypad is designated described keypad sequence number.
CN201310740140.8A 2013-12-27 2013-12-27 The brightness control method and device of key-press backlight Active CN104754798B (en)

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 true CN104754798A (en) 2015-07-01
CN104754798B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427752A (en) * 2015-11-03 2016-03-23 景旺电子科技(龙川)有限公司 Synchronous marking method for LEDs of multiple BINs
CN106332415A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Key brightness correction method and device
CN106445214A (en) * 2015-08-07 2017-02-22 中兴通讯股份有限公司 Terminal key lamp brightness control method and apparatus
CN108633132A (en) * 2017-03-15 2018-10-09 法雷奥照明公司 Device and method for the light source for controlling motor vehicles

Citations (5)

* Cited by examiner, † Cited by third party
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
US20110248644A1 (en) * 2008-11-17 2011-10-13 Eldolab Holding B.V. Method of configuring an led driver, led driver, led assembly and method of controlling an led assembly
CN102387642A (en) * 2007-09-05 2012-03-21 马田专业公司 LED bar
US20130026940A1 (en) * 2011-07-26 2013-01-31 ByteLight, Inc. Self identifying modulated light source

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387642A (en) * 2007-09-05 2012-03-21 马田专业公司 LED bar
US20110248644A1 (en) * 2008-11-17 2011-10-13 Eldolab Holding B.V. Method of configuring an led driver, led driver, led assembly and method of controlling an led assembly
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
US20130026940A1 (en) * 2011-07-26 2013-01-31 ByteLight, Inc. Self identifying modulated light source

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445214A (en) * 2015-08-07 2017-02-22 中兴通讯股份有限公司 Terminal key lamp brightness control method and apparatus
CN106445214B (en) * 2015-08-07 2021-06-29 中兴通讯股份有限公司 Method and device for controlling brightness of terminal key lamp
CN105427752A (en) * 2015-11-03 2016-03-23 景旺电子科技(龙川)有限公司 Synchronous marking method for LEDs of multiple BINs
CN105427752B (en) * 2015-11-03 2018-11-20 景旺电子科技(龙川)有限公司 A kind of LED sync id method of more BIN
CN106332415A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Key brightness correction method and device
CN108633132A (en) * 2017-03-15 2018-10-09 法雷奥照明公司 Device and method for the light source for controlling motor vehicles
CN108633132B (en) * 2017-03-15 2021-06-29 法雷奥照明公司 Device and method for controlling a light source of a motor vehicle

Also Published As

Publication number Publication date
CN104754798B (en) 2017-11-07

Similar Documents

Publication Publication Date Title
US10257896B2 (en) Individually addressable dimmer systems and methods
JP3217199U (en) LED driving and dimming circuit and configuration method
CN101770752B (en) Display and display control method
CN104769354B (en) With the method and apparatus of the control luminous intensity of voltage pulsation
US8988010B2 (en) LED driving device and lighting device
CN104754798A (en) Method and device for controlling brightness of key backlight
US10874006B1 (en) Lighting fixture controller for controlling color temperature and intensity
CN102612212A (en) Lamp and switch device thereof
CN103428966A (en) Key backlight processing method and device and terminal device
CN102023709B (en) Keyboard and notebook computer
CN105706531B (en) Illumination component of the control at least two semiconductor light sources
CN104329618A (en) LED smart ceiling lamp utilizing wireless (Bluetooth) control technique
CN105513545A (en) Backlight unit and driving method thereof and display device
WO2012176097A1 (en) Lighting apparatus and method using multiple dimming schemes
US20150137708A1 (en) Light Control System and Light Control Method Thereof
CN101558693A (en) Electronic operating device and method for the incremental dimming of a lighting device
KR102045432B1 (en) Lighting system and lighting apparatus
JP2015032445A (en) Illumination control system and dimming control device
US8934993B2 (en) Life management circuit, an electronic system and a machine-implemented method for managing usage rates of multiple electronic components
US20170041992A1 (en) Light source driving device and dimming/toning control method
CN203457366U (en) LED driver controller and LED driver
JP2016129150A (en) Lighting system and lighting apparatus
US20140176001A1 (en) Dimming control apparatus, light system driving apparatus and dimming control method
CN108064099A (en) Intelligent lighting system, control method and intelligent illuminating system
CN209659664U (en) The LED lamp panel of adjustable color temperature

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