CN101686593B - 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 PDFInfo
- Publication number
- CN101686593B CN101686593B CN200910209466A CN200910209466A CN101686593B CN 101686593 B CN101686593 B CN 101686593B CN 200910209466 A CN200910209466 A CN 200910209466A CN 200910209466 A CN200910209466 A CN 200910209466A CN 101686593 B CN101686593 B CN 101686593B
- Authority
- CN
- China
- Prior art keywords
- look
- lamp group
- volume
- music
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 239000003086 colorant Substances 0.000 title abstract description 10
- 230000000694 effects Effects 0.000 claims abstract description 11
- 230000033764 rhythmic process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- PLXMOAALOJOTIY-FPTXNFDTSA-N Aesculin Natural products OC[C@@H]1[C@@H](O)[C@H](O)[C@@H](O)[C@H](O)[C@H]1Oc2cc3C=CC(=O)Oc3cc2O PLXMOAALOJOTIY-FPTXNFDTSA-N 0.000 description 1
- 206010021033 Hypomenorrhoea Diseases 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000001020 rhythmical effect Effects 0.000 description 1
Images
Classifications
-
- 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
- Electroluminescent Light Sources (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
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 table according 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 group of 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 the effect 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
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, like 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: to the deficiency of 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 scheme that the present invention taked 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 said look-up table all stores one group of electroluminescent lamp Control Parameter, and said 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;
Said step 4 can obtain the index of said 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 said 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.
Said step 4 can obtain the index of said look-up table according to the size of volume value, and then searches corresponding electroluminescent lamp Control Parameter.
Can the note value 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.
Said 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 said electroluminescent lamp Control Parameter is used to regulate the duty ratio of pulse-width signal.
In technique scheme; The present invention 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 through setting up look-up table; This square-wave signal can be regulated the fluorescent lifetime of versicolor electroluminescent lamp in the multicolor light-emitting lamp group; Like this, confirm the index value of look-up table, export different electroluminescent lamp Control Parameter according to the volume of music; 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 reflect the volume of music through the variation of color and brightness; Can also the tempo variation pattern control, and reflect the rhythm of music through the variation of color and brightness.Existing the present invention not only method is simple, easy to implement to prior art, 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
To combine Figure of description and specific embodiment that the present invention is done further explain below.
At first, be necessary to introduce some relevant background technologies.
Shown in Figure 1 is the performance diagram of audio signal.The volume of sound wave big or small 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 cycle 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 mean flow rate in each light period; Promptly light a mean flow rate after time and the fall time weighting,, just can control the brightness variation of electroluminescent lamp like this through changing the duty ratio (ratio that the time that signal is high is shared) of square-wave signal.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 different colours in the multicolor light-emitting lamp group electroluminescent lamp luminous with extinguish, obtain color combinations.And according to the three-primary colours principle of optical color, the combination through the versicolor varying strength of control RGB just can realize different color effects.Like (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 present invention provides a kind of brightness of music-controlled luminous lamp group and the method for color, and 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 said look-up table all stores one group of electroluminescent lamp Control Parameter, said 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;
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, and said volume detection module is used for input audio signal, obtains volume value; And analysis obtains volume and rate of change; Thereby the generation look-up table index, so that look-up table according to the look-up table index of input, is exported the drive unit of corresponding electroluminescent lamp Control Parameter to polychrome electroluminescent lamp group.
Said 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 said 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.Said initialized process comprises the initialization procedure of system hardware.Also comprise set up look-up table (Look-Up-Table, LUT), each row of said look-up table all stores one group of electroluminescent lamp Control Parameter, said 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 03, the maximum of the volume in statistics a period of time, and with this volume maximum preservation.
Step 05 judges said volume maximum judges whether volume raises up, and is execution in step 07 then, otherwise execution in step 06.
Whether step 07 judges said volume change slope greater than said threshold value, if execution in step 08 then, otherwise jump procedure 09.
Step 09 remains unchanged current index value.
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 016, look-up table are exported corresponding electroluminescent lamp Control Parameter according to the new current look-up table index value that step 014 or step 015 obtained, and get into step 017.So far accomplish 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 produces one group of pulse-width signal with certain duty ratio, thereby accomplishes the control to the fluorescent lifetime of LED lamp.
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 when volume descends, close three-colour light-emitting lamp group 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.
Can find out that from present embodiment essence of the present invention is to utilize the variation of the duty ratio of square-wave signal, regulate bright, the dark and luminous duration of multicolor light-emitting lamp group; Can obtain the principle of different brightness and color, and pass through the volume value of audio frequency acquiring signal, select corresponding duty cycle adjustment parameter; Be 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, and changeability is stronger, and display effect is better.
More than be merely a kind of specific embodiment of the present invention, in the practical application, the present invention can make corresponding adjustment, can both adopt simultaneously like 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 scheme of the present invention when the function that is produced does not exceed the scope of technical scheme of the present invention, all belong to protection scope of the present invention.
Claims (2)
1. the method for the brightness of a 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 said look-up table all stores one group of electroluminescent lamp Control Parameter, and said 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, be to obtain the index of said look-up table according to the size of volume value, and then search 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 said 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
The note value is divided into several scopes in whole volume range, the index of the corresponding look-up table of each scope,
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 lookup table index;
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.
(2) as claimed in claim 1, wherein the light emitting lamps of the music control brightness and color, characterized in that: said multi-color light emitting lamps preclude the use of red, green, and blue LED light lamps, the drive means of the three groups were used to control the red, green and blue LED light lamps pulse width modulation signal generator, said control parameter is used to adjust light emission pulse width modulated signal duty cycle.
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 CN101686593A (en) | 2010-03-31 |
CN101686593B true 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) |
Families Citing this family (9)
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 |
WO2017120844A1 (en) * | 2016-01-14 | 2017-07-20 | 邓娟 | Method for pushing information when controlling lighting and light |
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 |
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 |
TWI848303B (en) * | 2022-06-16 | 2024-07-11 | 美商美國未來科技公司 | How to display light according to the rhythm of music |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2514617Y (en) * | 2001-11-17 | 2002-10-02 | 赵培 | Music dream lamp light source |
CN1444428A (en) * | 2002-03-11 | 2003-09-24 | 久春工业有限公司 | Control method of all-colour LED acousto-optic system and its equipment |
-
2004
- 2004-12-24 CN CN200910209466A patent/CN101686593B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2514617Y (en) * | 2001-11-17 | 2002-10-02 | 赵培 | Music dream lamp light source |
CN1444428A (en) * | 2002-03-11 | 2003-09-24 | 久春工业有限公司 | Control method of all-colour LED acousto-optic system and its equipment |
Non-Patent Citations (1)
Title |
---|
JP特开平7-73976A 1995.03.17 |
Also Published As
Publication number | Publication date |
---|---|
CN101686593A (en) | 2010-03-31 |
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 | |
US8630549B2 (en) | Visible light communication apparatus and visible light communciation method | |
CN101686593B (en) | Method for controlling brightness and colors of luminescent lamp group by music | |
CN1677483B (en) | Electronic equipment synchronously controlling light emission from light emitting devices and audio control | |
CN101242697A (en) | Apparatus and method for dimming function to control LED intensity | |
CN100508681C (en) | Controlling apparatus for luminous lamp group accompanied by music broadcasting | |
CN107580384A (en) | A kind of personalized light fixture of adaptive environment | |
CN105472807B (en) | The music light efficiency synchronous method and terminal of terminal | |
US9019208B2 (en) | Mobile communication terminal, program and state display method | |
CN111246628A (en) | Control method, device, equipment and storage medium for optical module indicator lamp | |
CN105135349B (en) | Full-color LED lamp and its control method with WIFI function | |
CN1703129B (en) | Light cluster device varied with music | |
CN107124796A (en) | Regulate and control the control system and device of LED luminance using smart mobile phone | |
CN101684913B (en) | Device of luminescent lamp group controlled by music | |
CN1703130B (en) | Device for controlling light cluster by music | |
CN113763875A (en) | Driving method and circuit for dual-mode modulation RGB LED | |
CN100508680C (en) | A music-controlled luminous lamp bank apparatus | |
CN2812489Y (en) | An illuminating lamp combination capable of changing with music | |
CN105611693B (en) | The control method and device of sound equipment and desk lamp with dimmer switch | |
KR101338685B1 (en) | Apparatus and method for controlling mood lighting in vehicle | |
CN1642378B (en) | Lighting lamp controller lighting with broadcasted music or bell sound | |
CN2762486Y (en) | Device for controlling luminous lamp set by music | |
CN2762487Y (en) | Device for controlling luminous lamp set by music |
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 |