CN101686593A - Method for controlling brightness and colors of luminescent lamp group by music - Google Patents

Method for controlling brightness and colors of luminescent lamp group by music Download PDF

Info

Publication number
CN101686593A
CN101686593A CN200910209466A CN200910209466A CN101686593A CN 101686593 A CN101686593 A CN 101686593A CN 200910209466 A CN200910209466 A CN 200910209466A CN 200910209466 A CN200910209466 A CN 200910209466A CN 101686593 A CN101686593 A CN 101686593A
Authority
CN
China
Prior art keywords
lamp group
look
music
brightness
volume
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
CN200910209466A
Other languages
Chinese (zh)
Other versions
CN101686593B (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN200910209466A priority Critical patent/CN101686593B/en
Publication of CN101686593A publication Critical patent/CN101686593A/en
Application granted granted Critical
Publication of CN101686593B publication Critical patent/CN101686593B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a method for controlling brightness and colors of a luminescent lamp group by music. The method comprises the following steps: 1, adopting a multicolor luminescent lamp group and a driving device thereof; 2, establishing a search table, wherein a group of luminescent lamp control parameters are saved in each line of the search table, and correspond with the colors and the brightness which are displayed by the multicolor luminescent lamp group; 3, acquiring volume values of the music; 4, searching the corresponding luminescent lamp control parameter from the search tableaccording to the volume; and 5, transmitting the luminescent lamp control parameter to the driving device of the multicolor luminescent lamp group to ensure that the driving device generates a groupof square signals with a certain duty ratio correspondingly for controlling the luminescent time of luminescent lamps with various colors in the multicolor luminescent lamp group so as to acquire theeffect that the brightness and the colors of the luminescent lamp group are changed along with changes of the volume of the music. Compared with the prior art, the method is simple, is easy to implement, and colorful and diversified in display.

Description

A kind of brightness of music-controlled luminous lamp group and the method for color
The application be on December 24th, 2004 that submit, application number be 200410102617.0, denomination of invention divides an application for " a kind of brightness of music-controlled luminous lamp group and the method for color ".
Technical field
The present invention relates to a kind of brightness of electroluminescent lamp group and the control method of color, the particularly a kind of brightness of music-controlled luminous lamp group and the method for color.
Technical background
More present digital products, as products such as mobile phone, MP3 player, CD players, when playing back music or the tinkle of bells, in order visually to produce a kind of rhythm effect, rhythm and the LED electroluminescent lamp with music links together usually.Some main manufacturers link together the rhythm of music and the Kai Heguan of LED electroluminescent lamp now, promptly open and close along with the variation LED electroluminescent lamp of music or the tinkle of bells rhythm is rhythmical.Although this scheme has visually produced a kind of variation of rhythm, owing to having only bright dark variation, it does not have change in color, and cause visual variation relatively more dull.
Summary of the invention
The objective of the invention is: at the deficiencies in the prior art, the method that provides a kind of bright, dark and color that makes electroluminescent lamp all can change with the volume of music of playing or the tinkle of bells.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of brightness of music-controlled luminous lamp group and the method for color comprise:
Step 1, employing multicolor light-emitting lamp group and drive unit thereof;
Step 2, set up look-up table, each row of described look-up table all stores one group of electroluminescent lamp Control Parameter, and described electroluminescent lamp Control Parameter is corresponding with the color and the brightness of the demonstration of multicolor light-emitting lamp group;
The volume value of step 3, collection music;
Step 4, from look-up table, search corresponding electroluminescent lamp Control Parameter according to volume value;
Step 5, the electroluminescent lamp Control Parameter sent to the drive unit of multicolor light-emitting lamp group, make one group of square-wave signal of the corresponding generation of described drive unit with certain duty ratio, be used to control the fluorescent lifetime of the versicolor electroluminescent lamp of multicolor light-emitting lamp group, thereby obtain the brightness of electroluminescent lamp group and the effect that color changes with volume of music.
Described step 4 can obtain the index of described look-up table according to the variation slope of volume value, and then searches corresponding electroluminescent lamp Control Parameter.
When the volume of music raises up, and the variation slope of volume value can add 1 with the index of look-up table, thereby export one group of new electroluminescent lamp Control Parameter during greater than a certain preset threshold.
When the volume of music raises up, and the variation slope of volume value can make the index of look-up table remain unchanged during less than a certain preset threshold, promptly keeps the brightness of described multicolor light-emitting lamp group and color constant.
When the volume of music descended, the electroluminescent lamp Control Parameter of output can make electroluminescent lamp close.
Described step 4 can obtain the index of described look-up table according to the size of volume value, and then searches corresponding electroluminescent lamp Control Parameter.
The note value can be divided into several scopes in whole volume range, the index of the corresponding look-up table of each scope.
Can add up the max volume in certain period, obtain corresponding look-up table index, be current look-up table index value if this look-up table index, is then got the look-up table index that statistics obtains greater than the current look-up table index that is enabling; Otherwise, be current look-up table index value if the look-up table index that obtains of statistics, is then got the value that current look-up table index subtracts after 1 less than the current lookup table index.
Described multicolor light-emitting lamp group can adopt the LED electroluminescent lamp group of three kinds of colors of red, green, blue, its drive unit can adopt three groups of pulse-duration modulation signal generators that are used to control the LED electroluminescent lamp group of red, green, blue three looks respectively, and described electroluminescent lamp Control Parameter is used to regulate the duty ratio of pulse-width signal.
In technique scheme, the present invention is by setting up look-up table, make the electroluminescent lamp Control Parameter of wherein storage corresponding with the brightness and the color of multicolor light-emitting lamp group, and the electroluminescent lamp Control Parameter can make multicolor light-emitting lamp group drive unit produce the square-wave signal with certain duty ratio, this square-wave signal can be regulated the fluorescent lifetime of versicolor electroluminescent lamp in the multicolor light-emitting lamp group, like this, determine the index value of look-up table according to the volume of music, export different electroluminescent lamp Control Parameter, make the mean flow rate of electroluminescent lamp group and the effect difference of color scheme, thereby realized adjusting the brightness of electroluminescent lamp group and the purpose of color according to the volume of music.In addition, because the size of not only adding up volume value among the present invention, also obtain to reflect the volume change slope of music rhythm variation, thereby the electroluminescent lamp group can not only be controlled with the volume change pattern, and the volume of the reflection of the variation by color and brightness music, all right tempo variation pattern is controlled, and reflects the rhythm of music by the variation of color and brightness.Now to prior art, the present invention not only method is simple, easy to implement, and its may command electroluminescent lamp group obtains rich color, changes visual effect various, that be a splendid legacy.
Description of drawings
Accompanying drawing 1 is the performance diagram of audio signal;
Accompanying drawing 2 is the flow chart of the method for the brightness of a kind of music-controlled luminous lamp group of the present invention and color;
Accompanying drawing 3 is the system configuration functional-block diagram of a kind of specific embodiment of the present invention;
Accompanying drawing 4 is the flow chart of the control method of a kind of specific embodiment of the present invention.
Embodiment
Below in conjunction with Figure of description and specific embodiment the present invention is described in further detail.
At first, be necessary to introduce some relevant background technologies.
Figure 1 shows that the performance diagram of audio signal.The size of the volume of sound wave as shown in the figure, according to the characteristic of sound wave, the volume that people's ear is heard is the amplitude of sound wave up-down vibration, each peak that connects the positive direction vibration obtains the envelope of sound wave.The fluctuations of envelope fundamental reaction volume.When the slope of envelope is big, just represent a rhythm of melody.
The brilliance control of multicolor light-emitting lamp group.Electroluminescent lamp has only two kinds: open or close as the state of light-emitting diode (LED).Electroluminescent lamp is luminous when opening, and just extinguishes when closing.Imagination has electroluminescent lamp of square-wave signal control of certain duty ratio, and the state of electroluminescent lamp will be that light on and off replace, and is promptly luminous when the high level of square-wave signal, extinguishes during low level.
If the period T of square-wave signal is very short, human eye changes the light on and off of imperceptible electroluminescent lamp so, what replace will be the interior mean flow rate of each light period, promptly light a mean flow rate after time and the fall time weighting, by changing the duty ratio (ratio that the time that signal is high is shared) of square-wave signal, the brightness that just can control electroluminescent lamp changes like this.The resolution of square-wave signal duty ratio is high more, and the brightness that can regulate changes also can be careful more.
The color control of multicolor light-emitting lamp group.Can obtain multiple color effects when as you know, different colours is combined.Thereby, can control electroluminescent lamp luminous of different colours in the multicolor light-emitting lamp group and extinguish, obtain color combinations.And according to the three-primary colours principle of optical color, the combination by the versicolor varying strength of control RGB just can realize different color effects.As (0,0,0) is black, (255,255,255) white or the like.Therefore, can use the electroluminescent lamp combination of three RGBs to obtain various color effects.
Based on above-mentioned principle, the invention provides a kind of brightness of music-controlled luminous lamp group and the method for color, with reference to figure 2, its step comprises:
Step 1, employing multicolor light-emitting lamp group and drive unit thereof;
Step 2, set up look-up table (Look-Up-Table, LUT), each row of described look-up table all stores one group of electroluminescent lamp Control Parameter, described electroluminescent lamp Control Parameter is corresponding with the color and the brightness of the demonstration of multicolor light-emitting lamp group;
The volume value of step 3, collection music;
Step 4, from look-up table, search corresponding electroluminescent lamp Control Parameter according to volume;
Step 5, the electroluminescent lamp Control Parameter sent to the drive unit of multicolor light-emitting lamp group, make one group of square-wave signal of the corresponding generation of described drive unit with certain duty ratio, be used to control the fluorescent lifetime of the versicolor electroluminescent lamp of multicolor light-emitting lamp group, thereby obtain the brightness of electroluminescent lamp group and the effect that color changes with volume of music.
In the present embodiment, adopt system shown in Figure 3 to realize the present invention.Wherein, each row of look-up table (LUT) all stores one group of electroluminescent lamp Control Parameter, described volume detection module is used for input audio signal, obtain volume value, and analysis obtains volume and rate of change, thereby the generation look-up table index, so that look-up table, is exported the drive unit of corresponding electroluminescent lamp Control Parameter to polychrome electroluminescent lamp group according to the look-up table index of input.
Described multicolor light-emitting lamp group adopts the LED electroluminescent lamp group of three kinds of colors of red, green, blue, its drive unit adopts three groups of pulse-duration modulation signal generators that are used to control the LED electroluminescent lamp group of red, green, blue three looks respectively, and described electroluminescent lamp Control Parameter is used to regulate the duty ratio of pulse-width signal (PWM).
With reference to figure 4, the control method of present embodiment is specially:
Step 01, system initialization.Described initialized process comprises the initialization procedure of system hardware.Also comprise set up look-up table (Look-Up-Table, LUT), each row of described look-up table all stores one group of electroluminescent lamp Control Parameter, described electroluminescent lamp Control Parameter is corresponding with the color and the brightness of the demonstration of multicolor light-emitting lamp group.Also comprise volume is divided into several scopes in whole volume range the index of the corresponding look-up table of each scope.Also comprise the threshold value of setting the volume change slope simultaneously.
Step 02 is gathered volume by the volume detection module.
Step 03, the maximum of the volume in statistics a period of time, and with this volume maximum preservation.
Step 04 is selected control model, when the control model of selecting is the tempo variation control model, enters step 05; When the control model of selecting is the volume change control model, enter step 011.
Step 05 judges described volume maximum judges whether volume raises up, and is execution in step 07 then, otherwise execution in step 06.
Step 06 is directly exported the signal that the electroluminescent lamp group is closed, and perhaps closes the electroluminescent lamp Control Parameter of electroluminescent lamp group by look-up table output, enters step 017.
Whether step 07 judges described volume change slope greater than described threshold value, if execution in step 08 then, otherwise jump procedure 09.
Step 08 makes index value=current index value+1.
Step 09 remains unchanged current index value.
Step 010, look-up table is according to the index value of step 08 or step 09 acquisition, the electroluminescent lamp Control Parameter that output is corresponding, jump procedure 017.So far finish the tempo variation control model, make three-colour light-emitting lamp group when the speed that volume raises up is enough fast, when promptly music rhythm changes, change its color and brightness, otherwise, keep original color and brightness constant, thereby realize changing its color and brightness according to the rhythm of music.
Step 011 judges described volume maximum is in which scope of described volume range.
Step 012 is determined the index of the residing volume range correspondence of described volume maximum.
Whether step 013, the index that determining step 012 is obtained greater than the current lookup table index, if then execution in step 014, otherwise execution in step 015.
Step 014, getting the index that step 012 obtains is new current look-up table index value, and jump procedure 016.
Step 015 subtracts 1 back income value with current index value and is taken as new current look-up table index value.
Step 016, look-up table are exported corresponding electroluminescent lamp Control Parameter, and are entered step 017 according to the new current look-up table index value that step 014 or step 015 obtained.So far finish the volume change control model, the time three-colour light-emitting lamp group when volume value changes between different volume ranges, change its color and brightness, thereby realize changing its color and brightness according to the volume of music.
Step 017, the drive unit of multicolor light-emitting lamp group, be three groups of pulse-duration modulation signal generators of controlling red, green, blue three-colour light-emitting lamp group respectively in the present embodiment, electroluminescent lamp Control Parameter according to input, produce one group of pulse-width signal, thereby finish control the fluorescent lifetime of LED lamp with certain duty ratio.
Present embodiment in use, red, green, blue three-color LED light group will change its color and brightness along with the quickening of music rhythm, and close three-colour light-emitting lamp group when volume descends under music rhythm changes control model, meet the visual experience of human eye.Red, green, blue three-color LED light group is under the volume change control model, and when volume made progress saltus step in volume range, the color of LED lamp group and brightness were with corresponding saltus step, and when the downward saltus step of volume, LED lamp group will change its color and brightness one by one.
From present embodiment as can be seen, essence of the present invention is to utilize the variation of the duty ratio of square-wave signal, regulate the bright of multicolor light-emitting lamp group, dark and the luminous duration, can obtain the different brightness and the principle of color, and by gathering the volume value of audio signal, select corresponding duty cycle adjustment parameter, it is the electroluminescent lamp Control Parameter, thereby the brightness of multicolor light-emitting lamp group and color can be changed according to the rhythm of music and the size of volume, therefore, the relative prior art of display effect of the electroluminescent lamp group that is obtained, color is abundanter, changeability is stronger, and display effect is better.
Only be a kind of specific embodiment of the present invention below, in the practical application, the present invention can make corresponding adjustment, can both adopt simultaneously as tempo variation control model and volume change control model, also can only adopt wherein a kind of.Therefore, all changes of doing according to technical solution of the present invention when the function that is produced does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.

Claims (4)

1, the method for a kind of brightness of music-controlled luminous lamp group and color comprises:
Step 1, employing multicolor light-emitting lamp group and drive unit thereof;
Step 2, set up look-up table, each row of described look-up table all stores one group of electroluminescent lamp Control Parameter,
Described electroluminescent lamp Control Parameter is corresponding with color and brightness that the multicolor light-emitting lamp group shows;
The volume value of step 3, collection music;
Step 4 is to obtain the index of described look-up table according to the size of volume value, and then searches corresponding electroluminescent lamp Control Parameter,
Step 5, the electroluminescent lamp Control Parameter sent to the drive unit of multicolor light-emitting lamp group, make one group of square-wave signal of the corresponding generation of described drive unit with certain duty ratio, be used to control the fluorescent lifetime of the versicolor electroluminescent lamp of multicolor light-emitting lamp group, thereby obtain the brightness of electroluminescent lamp group and the effect that color changes with volume of music.
2, the method for the brightness of music-controlled luminous lamp group and color according to claim 1 is characterized in that:
The note value is divided into several scopes in whole volume range, the index of the corresponding look-up table of each scope.
3, as the brightness of music-controlled luminous lamp group as described in the claim 2 and the method for color, it is characterized in that:
Adding up the max volume in certain period, obtain corresponding look-up table index, is current look-up table index value if this look-up table index, is then got the look-up table index that statistics obtains greater than the current look-up table index that is enabling; Otherwise, be current look-up table index value if the look-up table index that obtains of statistics, is then got the value that current look-up table index subtracts after 1 less than the current lookup table index.
4, as the brightness of music-controlled luminous lamp group as described in one of in the claim 1 to 3 and the method for color, it is characterized in that: described multicolor light-emitting lamp group adopts the LED electroluminescent lamp group of three kinds of colors of red, green, blue, its drive unit adopts three groups of pulse-duration modulation signal generators that are used to control the LED electroluminescent lamp group of red, green, blue three looks respectively, and described electroluminescent lamp Control Parameter is used to regulate the duty ratio of pulse-width signal.
CN200910209466A 2004-12-24 2004-12-24 Method for controlling brightness and colors of luminescent lamp group by music Expired - Fee Related CN101686593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910209466A CN101686593B (en) 2004-12-24 2004-12-24 Method for controlling brightness and colors of luminescent lamp group by music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910209466A CN101686593B (en) 2004-12-24 2004-12-24 Method for controlling brightness and colors of luminescent lamp group by music

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2004101026170A Division CN1703131B (en) 2004-12-24 2004-12-24 Method for controlling brightness and colors of light cluster by music

Publications (2)

Publication Number Publication Date
CN101686593A true CN101686593A (en) 2010-03-31
CN101686593B CN101686593B (en) 2012-10-03

Family

ID=42049468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910209466A Expired - Fee Related CN101686593B (en) 2004-12-24 2004-12-24 Method for controlling brightness and colors of luminescent lamp group by music

Country Status (1)

Country Link
CN (1) CN101686593B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025643A (en) * 2015-08-25 2015-11-04 广西浦北凯兴电子制品有限公司 Household intelligent light control system and method thereof
CN105812989A (en) * 2014-12-31 2016-07-27 鸿富锦精密工业(深圳)有限公司 Loudspeaker
WO2017120843A1 (en) * 2016-01-14 2017-07-20 邓娟 Data collection method and lamp for lighting-control technology
WO2017120845A1 (en) * 2016-01-14 2017-07-20 邓娟 Method and lamp for lighting control
WO2017120844A1 (en) * 2016-01-14 2017-07-20 邓娟 Method for pushing information when controlling lighting and light
CN109640478A (en) * 2018-12-18 2019-04-16 深圳Tcl新技术有限公司 Standby lamp brightness adjusting method, terminal device and storage medium
CN110460720A (en) * 2019-07-25 2019-11-15 维沃移动通信有限公司 A kind of screen color adjusting method and electronic equipment electronic equipment
CN111935886A (en) * 2020-07-21 2020-11-13 浙江大丰实业股份有限公司 Based on accuse system is broadcast in intelligent reputation electricity linkage of thing networking

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2514617Y (en) * 2001-11-17 2002-10-02 赵培 Musical dream lamp light source
CN1444428A (en) * 2002-03-11 2003-09-24 久春工业有限公司 Control method of all-colour LED acousto-optic system and its equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812989A (en) * 2014-12-31 2016-07-27 鸿富锦精密工业(深圳)有限公司 Loudspeaker
CN105025643A (en) * 2015-08-25 2015-11-04 广西浦北凯兴电子制品有限公司 Household intelligent light control system and method thereof
WO2017120843A1 (en) * 2016-01-14 2017-07-20 邓娟 Data collection method and lamp for lighting-control technology
WO2017120845A1 (en) * 2016-01-14 2017-07-20 邓娟 Method and lamp for lighting control
WO2017120844A1 (en) * 2016-01-14 2017-07-20 邓娟 Method for pushing information when controlling lighting and light
CN109640478A (en) * 2018-12-18 2019-04-16 深圳Tcl新技术有限公司 Standby lamp brightness adjusting method, terminal device and storage medium
CN110460720A (en) * 2019-07-25 2019-11-15 维沃移动通信有限公司 A kind of screen color adjusting method and electronic equipment electronic equipment
CN111935886A (en) * 2020-07-21 2020-11-13 浙江大丰实业股份有限公司 Based on accuse system is broadcast in intelligent reputation electricity linkage of thing networking

Also Published As

Publication number Publication date
CN101686593B (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN1703131B (en) Method for controlling brightness and colors of light cluster by music
CN106376148B (en) Control method, system and the audio lamps and lanterns of audio lamps and lanterns
CN101388234B (en) Multimedia playing system with lighting display device
CN1677483B (en) Electronic equipment synchronously controlling light emission from light emitting devices and audio control
CN103607823B (en) A kind of LED light emission device
CN100508681C (en) Controlling apparatus for luminous lamp group accompanied by music broadcasting
CN105472807B (en) The music light efficiency synchronous method and terminal of terminal
CN101686593B (en) Method for controlling brightness and colors of luminescent lamp group by music
CN102123546A (en) Full-color acousto-optic conversion control method and system
CN107580384A (en) A kind of personalized light fixture of adaptive environment
CN101684913B (en) Device of luminescent lamp group controlled by music
CN1703130B (en) Device for controlling light cluster by music
US9019208B2 (en) Mobile communication terminal, program and state display method
CN105135349B (en) Full-color LED lamp and its control method with WIFI function
CN1703129B (en) Light cluster device varied with music
CN111246628A (en) Control method, device, equipment and storage medium for optical module indicator lamp
CN100508680C (en) A music-controlled luminous lamp bank apparatus
CN107124796A (en) Regulate and control the control system and device of LED luminance using smart mobile phone
CN2812489Y (en) An illuminating lamp combination capable of changing with music
CN203219543U (en) Induction type lamp
CN2762487Y (en) Device for controlling luminous lamp set by music
CN109618444B (en) Sound control colored lamp
CN2762486Y (en) Device for controlling luminous lamp set by music
CN1642378B (en) Lighting lamp controller lighting with broadcasted music or bell sound
CN108064099A (en) Intelligent lighting system, control method and intelligent illuminating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121003

Termination date: 20131224