CN106061044B - A kind of intelligent lamp control method and control system based on DTMF patterns - Google Patents
A kind of intelligent lamp control method and control system based on DTMF patterns Download PDFInfo
- Publication number
- CN106061044B CN106061044B CN201610612598.9A CN201610612598A CN106061044B CN 106061044 B CN106061044 B CN 106061044B CN 201610612598 A CN201610612598 A CN 201610612598A CN 106061044 B CN106061044 B CN 106061044B
- Authority
- CN
- China
- Prior art keywords
- dtmf
- patterns
- intelligent lamp
- lamp control
- control method
- 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
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a kind of intelligent lamp control method based on DTMF patterns, including:Voice data is gathered, and voice data stream is segmented at a time interval;Three adjacent audio data units are divided into one group;The dtmf signal of every group of color for correspondingly controlling light fixture, brightness and frequency is chosen, to determine the mode of operation of light fixture.A kind of intelligent lamp control system based on DTMF patterns, including:Intelligent terminal, bluetooth module, audio playing module, microprocessor, sampled audio signal circuit, dtmf signal extraction and decoder module and LED control circuit.The state of a variety of RGBW lamps can be realized using dual-tone multifrequency signaling processing mode three times, so as to realize music regular movements function.It is widely used in lighting field.
Description
Technical field
The present invention relates to lighting field, specially a kind of intelligent lamp control method and control system based on DTMF patterns.
Background technology
DTMF (Dual Tone Multi Frequency) touch-tone signal, telephone set and interchanger in telephone system
Between a kind of subscriber signaling, be generally used for send called number.
Touch-tone signal is made up of high frequency group and low frequency group, and height frequency group respectively includes 4 frequencies.One high-frequency signal and
One low frequency signal superposition one composite signal of composition, represents a numeral.Dtmf signaling has 16 codings.Utilize dtmf signaling
The corresponding intercom of calling may be selected.Before using touch-tone signal, a series of interrupting pulse is used in telephone system
To transmit called number, referred to as pulse dialing.Pulse dialing needs the operator in telecommunication bureau to have been manually done trunk connection.Double-tone
Multiple-frequency signal is AT&T Labs's invention, and its purpose is to be automatically performed trunk call, it is that a kind of push-button telephone makes
Dialing tone.This dialing tone represents the 0~9 of phone, *, # button (such as using the synthesis of the sound of two different frequencies
Shown in table 1).Dialing tone can not only be sent to the interchanger of telephone office by dial telephone, to illustrate the phone number to be called
Code, number selection can also be carried out using automatic sound answering system.When carrying out sound compression transmission using voip technology etc.,
Can not correctly transmission signal sound, therefore can not as former state directly during the transmission signal sound such as utilization voip technology due to sound variation
Transmission, will carry out necessary numerical data conversion.This function is referred to as dtmf relay.
With the change of people's consumption idea, the epoch of featured function are pursued in various media products, consumer is no longer
It is satisfied with single hearing enjoying, is more likely to all good product of audio visual effect.Popular Baffle Box of Bluetooth in existing market
It would generally be combined with LED, or carry out simple color transformed, it is current to meet consumer to a certain extent
Demand.It is single in the color transformed aspect method of control LED, it is not strong with the sense of music rhythm cadence synchronization;And to sound waves
The fft algorithm that graphic data carries out fast Flourier spectrum analysis takes many CPU, if further to frequency spectrum extraction envelope letter
Number, plus the requirement of real-time, then the response speed that CPU handles other instruction tasks is just no so fast, and to hardware
It is required that high, required cost is higher, is not suitable for miscellaneous goods.It is therefore desirable to be improved.
The content of the invention
In order to solve the above-mentioned technical problem, it is an object of the invention to provide a kind of intelligent lamp control method based on DTMF patterns
And control system.
The technical solution adopted in the present invention is:A kind of intelligent lamp control method based on DTMF patterns, including:
Voice data is gathered, and voice data stream is segmented at a time interval;
Three adjacent audio data units are divided into one group;
The dtmf signal of every group of color for correspondingly controlling light fixture, brightness and frequency is chosen, to determine the mode of operation of light fixture.
As the improvement of the technical scheme, by the voice data stream number consecutively of segmentation and it is grouped.
As the improvement of the technical scheme, the color settings of the light fixture are 16 kinds of patterns, including 4 kinds of monochromes, 6 kinds it is double-colored
Mixing, 4 kind of three mixture of colours, four mixture of colours and light fixture do not work.
As the improvement of the technical scheme, the brightness includes 16 grades of brightness.
As the further improvement of the technical scheme, 4 kinds of monochromes include red, green, blueness and white.
As the further improvement of the technical scheme, color, brightness and the frequency signal of light fixture are extracted respectively, forms light fixture
A kind of mode of operation.
On the other hand, the present invention also provides a kind of intelligent lamp control system based on DTMF patterns, including:Intelligent terminal,
Bluetooth module, audio playing module, microprocessor, sampled audio signal circuit, dtmf signal extraction are controlled with decoder module and LED
Circuit processed;
The dtmf signal extraction is connected with the output end of decoder module and the input of microprocessor;
The output end of the microprocessor and the input of LED control circuit connect;
The light control module includes MCU and bluetooth, and the bluetooth is connected with MCU;
The intelligent terminal is connected by bluetooth module with audio playing module;
The bluetooth module is extracted with dtmf signal by sampled audio signal circuit and is connected with decoder module.
The beneficial effects of the invention are as follows:A kind of intelligent lamp control method and control system based on DTMF patterns provided by the invention
System, employs the DTMF in the communication technology, a variety of RGBW lamps can be realized using dual-tone multifrequency signaling processing mode three times
State, so as to realize music regular movements function.This programme adds a control intelligence based on stable Bluetooth audio frequency data channel
The mode of lamp, music regular movements can be realized in the product of Baffle Box of Bluetooth and intelligent lamp, low to hardware requirement, processing speed is more
It hurry up, and can have good uniformity with the rhythm of music, can meet the needs of client is for music regular movements function.
Brief description of the drawings
The embodiment of the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the method flow schematic diagram of one embodiment of the invention;
Fig. 2 is the module connection diagram of one embodiment of the invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.
The present invention provides a kind of intelligent lamp control method based on DTMF patterns, by mobile phone and Baffle Box of Bluetooth light control module
Bluetooth module successful matching after, one section of 100ms or so audio is played using cell phone application, this section audio is used for extracting DTMF
Signal, the pattern of extracted signal is set using program.Music is played in mobile phone music player simultaneously, is passed through
100ms audio, DTMF signaling method is taken to obtain desired signal.Wherein, table 1 illustrates the frequency of each dtmf signal
Rate.
Table 1
Audio signal is divided into the time-based unit that waits of several length phases, each time-based unit corresponds to one group of dtmf signal,
Three units that three sections of adjacent time-based units T, T+1, T+2 are divided into one group, each group are distinguished by its corresponding DTMF
Control color R/G/B/W, the brightness L and frequency F (time interval t) of LED.
Such as:T roads signal is set as selecting 16 kinds of lamp colors, wherein being respectively:Monochrome is 4 kinds, and R/G/B/W is double-colored
It is mixed into 6 kinds, RG/RB/RW/GB/GW/BW, three color contaminations are combined into 4 kinds, RGB/RBW/RGW/GBW, four a kind of the mixture of colours, RGBW, this
It is the situation of the color of 15 kinds of different lamps, the situation that also a kind of lamp does not work entirely, comes to 16 kinds.The signal setting of T+1 roads
For select 16 grades of brightness, wherein respectively the 1st grade, the 2nd grade, the 15th grade of 3rd level ..., 16 grades of brightness.T+2 roads signal is set
It is set to selection time interval t, respectively t/2t/3t......15t/16t, by that analogy.In the journey set by microprocessor
In sequence, according to the pattern of extracted signal come specific color, intensity gray scale, scintillation time for controlling the colored lights of R/G/B/W tetra- etc..
Selecting a kind of bright sudden strain of a muscle pattern of lamp needs 3 extraction dtmf signalings, i.e. 300ms time.After setting this pattern, pass through this
Individual Baffle Box of Bluetooth play music when, intelligent lamp can with music regular movements the color of anomaloscope, brightness, scintillation time interval,
So as to realize music regular movements function.
Table 2
R | G | B | W | RG | RB | RW | GB |
GW | BW | RGB | RBW | RGW | GBW | RGBW | Go out entirely |
Table 3
1 grade | 2 grades | ...... | 15 grades | 16 grades |
Table 4
t | 2t | ...... | 15t | 16t |
A kind of parameter is chosen respectively in 4 three table 2, table 3 and table forms, that is, constitutes a kind of state of lamp:Color * is bright
Spend * frequencies.
Reference picture 1, it is the method flow schematic diagram of one embodiment of the invention.A kind of intelligent lamp prosecutor based on DTMF patterns
Method, including:
Voice data is gathered, and voice data stream is segmented at a time interval;
Three adjacent audio data units are divided into one group;
The dtmf signal of every group of color for correspondingly controlling light fixture, brightness and frequency is chosen, to determine the mode of operation of light fixture.
As the improvement of the technical scheme, by the voice data stream number consecutively of segmentation and it is grouped.
As the improvement of the technical scheme, the color settings of the light fixture are 16 kinds of patterns, including 4 kinds of monochromes, 6 kinds it is double-colored
Mixing, 4 kind of three mixture of colours, four mixture of colours and light fixture do not work.
As the improvement of the technical scheme, the brightness includes 16 grades of brightness.
As the further improvement of the technical scheme, 4 kinds of monochromes include red, green, blueness and white.
As the further improvement of the technical scheme, color, brightness and the frequency signal of light fixture are extracted respectively, forms light fixture
A kind of mode of operation.
Audio data samples are carried out first;Then it is T voice data stream to be segmented at a time interval and numbered;
Voice data after segmentation is grouped;T and 3 is subjected to complementation computing;If T%3=0, extract dtmf signal and decode,
R/G/B/W selection signals determine color mode;If T%3=1, extract dtmf signal and decode, select brightness control signal;
If T%3=2, extract dtmf signal and decode, select frequency control signal;According to the determination of three kinds of unlike signals, and then really
The mode of operation of intelligent lamp is determined.As an embodiment, numbering and 3 are subjected to complementation computing, if its value is 0, extract DTMA
Signal simultaneously decodes, and carries out color control signal selection;If its value is 1, extracts DTMA signals and decode, carry out brilliance control letter
Number selection;If its value is 2, extracts DTMA signals and decode, carry out frequency control signal selection.
Reference picture 2, it is the module connection diagram of one embodiment of the invention.A kind of intelligent lamp control based on DTMF patterns
System, including:Intelligent terminal such as mobile phone, bluetooth module, audio playing module, microprocessor, sampled audio signal circuit, DTMF
Signal extraction and decoder module and LED control circuit;
The dtmf signal extraction is connected with the output end of decoder module and the input of microprocessor;
The output end of the microprocessor and the input of LED control circuit connect;
The light control module includes MCU and bluetooth, and the bluetooth is connected with MCU;
The intelligent terminal is connected by bluetooth module with audio playing module;
The bluetooth module is extracted with dtmf signal by sampled audio signal circuit and is connected with decoder module.
The bluetooth connection agreement uses traditional Baffle Box of Bluetooth connection protocol, convenient connection pairing and stably.
The present invention realizes control intelligent lamp by way of audio transmission data.And traditional Baffle Box of Bluetooth increase intelligence
The function of lamp control, a bluetooth module is simply individually done, realize the communication with APP, or there is no cell phone managing function, process is multiple
It is miscellaneous.
By DTMF this ripe technical method be applied to music rhythm scene in, by three groups of dtmf signals respectively come
Color R/G/B/W, brightness degree and the time interval of LED are controlled, the state of 16*16*16 kind lamps is realized, realizes music regular movements
Function.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation
Example, those skilled in the art can also make a variety of equivalent variations on the premise of without prejudice to spirit of the invention or replace
Change, these equivalent deformations or replacement are all contained in the application claim limited range.
Claims (6)
- A kind of 1. intelligent lamp control method based on DTMF patterns, it is characterised in that including:Voice data is gathered, and voice data stream is segmented at a time interval;Three adjacent audio data units are divided into one group;The dtmf signal of every group of color for correspondingly controlling light fixture, brightness and frequency is chosen, to determine the mode of operation of light fixture.
- 2. the intelligent lamp control method according to claim 1 based on DTMF patterns, it is characterised in that:By the audio number of segmentation According to stream number consecutively and it is grouped.
- 3. the intelligent lamp control method according to claim 1 or 2 based on DTMF patterns, it is characterised in that:The light fixture Color settings are 16 kinds of patterns, including 4 kinds of monochromes, 6 kinds of double-colored mixing, 4 kind of three mixture of colours, four mixture of colours and light fixtures do not work.
- 4. the intelligent lamp control method according to claim 3 based on DTMF patterns, it is characterised in that:The brightness includes 16 Level brightness.
- 5. the intelligent lamp control method according to claim 4 based on DTMF patterns, it is characterised in that:Described 4 kinds monochromatic bags Include red, green, blueness and white.
- 6. the intelligent lamp control method according to claim 5 based on DTMF patterns, it is characterised in that:Light fixture is extracted respectively Color, brightness and frequency signal, form a kind of mode of operation of light fixture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610612598.9A CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610612598.9A CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106061044A CN106061044A (en) | 2016-10-26 |
CN106061044B true CN106061044B (en) | 2018-03-09 |
Family
ID=57196794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610612598.9A Active CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106061044B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995717A (en) * | 2016-10-27 | 2018-05-04 | 广州达森灯光股份有限公司 | APP wireless lamp control method and devices |
CN106793405B (en) * | 2016-12-23 | 2019-04-02 | 浙江大学 | A kind of sound control illuminating system based on dtmf signal |
CN111526651B (en) * | 2020-04-23 | 2023-05-26 | 北京智米科技有限公司 | Intelligent control method and device for lamp and lamp |
CN114422282B (en) * | 2021-12-25 | 2023-04-28 | 深圳市台电实业有限公司 | Conference device, client and remote conference system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885976A (en) * | 2005-06-24 | 2006-12-27 | 英华达(上海)电子有限公司 | Method for making sound graphic display and playing on mobile phone display screen |
JP2014110185A (en) * | 2012-12-04 | 2014-06-12 | Eco Trust Japan Co Ltd | Led line lamp control device, led line lamp, and method of controlling led line lamp |
CN104507237A (en) * | 2014-12-29 | 2015-04-08 | 古龙辉 | Voice-operated lighting scene effect realization method |
-
2016
- 2016-07-28 CN CN201610612598.9A patent/CN106061044B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106061044A (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106061044B (en) | A kind of intelligent lamp control method and control system based on DTMF patterns | |
CN101252801B (en) | Method and apparatus for controlling light | |
CN113613369B (en) | Light effect control method, device, equipment and storage medium | |
CN105657901B (en) | Audio-video signal and lamp light control system | |
CN102123546A (en) | Full-color acousto-optic conversion control method and system | |
CN104243034B (en) | A kind of visible light communication system and visible light communication method | |
CN102932993B (en) | Lamp under remote control of cell phone and control method of lamp | |
CN106376148A (en) | Control method and system of audio light fixture, and audio light fixture | |
CN204100177U (en) | A kind of sound controlled LED light | |
CN105915687A (en) | User Interface Adjusting Method And Apparatus Using The Same | |
CN113613370A (en) | Atmosphere lamp control method and device, computer readable storage medium and terminal | |
CN104219850A (en) | Light emitting equipment control method and device | |
JP2009510849A (en) | Frequency allocation user access LAN system and uplink / downlink transmission method | |
CN103747149B (en) | Judge whether missed call needs mobile terminal and the method reminded | |
CN102595704A (en) | Nightscape lighting sound and light synchronous control system and control method thereof | |
CN104464741A (en) | Method and system for converting audio frequency signals into vision color information | |
CN105722269B (en) | Integral ceiling is wireless background music lamplight pointing method and system | |
CN113727501B (en) | Sound-based light dynamic control method, device, system and storage medium | |
CN105338270A (en) | Modularization television | |
CN108135050A (en) | A kind of pickup LED toning lamps | |
CN203219543U (en) | Induction type lamp | |
CN106686450A (en) | Display strategy control method, device and set-top box | |
CN101996615B (en) | Color enhancing method for display equipment | |
CN108260264A (en) | A kind of colorful energy-saving lamp control device based on three primary colours palette | |
CN105843292B (en) | Watchband color control method, device and the intelligent watch of intelligent watch |
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 |