CN110505736A - A kind of lamp light control system based on speech recognition - Google Patents
A kind of lamp light control system based on speech recognition Download PDFInfo
- Publication number
- CN110505736A CN110505736A CN201810468635.2A CN201810468635A CN110505736A CN 110505736 A CN110505736 A CN 110505736A CN 201810468635 A CN201810468635 A CN 201810468635A CN 110505736 A CN110505736 A CN 110505736A
- Authority
- CN
- China
- Prior art keywords
- resistance
- capacitor
- module
- chip
- lamp 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.)
- Pending
Links
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
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a kind of lamp light control systems based on speech recognition.The system includes CPU master controller, and volume acquisition module, clock module, lamp group module and the power module connecting with CPU master controller: wherein volume acquisition module converts analog signals into digital signal and exports to CPU master controller for acquiring voice messaging;CPU main control module carries out order decoding and instruction distribution;The order that clock module is generated according to CPU master controller, controls System production time;Lamp group module changes according to the flashing of the information adjustment lamp group received;Power module is the CPU master controller power supply system that 220V turns 5V, is used for CPU master controller, clock module, volume acquisition module and lamp group module for power supply.Speech recognition is used for lamp light control system by the present invention, can facilitate, is efficient, being widely used in the fields such as city lighting, light of stage adjusting, the setting of market atmosphere.
Description
One, technical field
This product is related to the field of intelligent control technology of light adjusting, especially a kind of signal light control based on speech recognition
System.
Two, background technique
Signal light control is widely used in fields such as city lighting, the adjusting of store atmosphere, light of stage designs.It is related at present
Large-scale light-control system also rest on stage of manual control, there are the technical barriers of automatic adjustment.Such light control in the market
System mostly uses lamp dimmer to manually adjust, and light variation range is limited, existing some intelligent light control systems, big portion
Dividing can only be according to the brightness for the word content control light that voice inputs, and is chiefly used in small-sized lighting, such as desk lamp etc., In
The occasion of large-scale light-control system is seldom applied.
Three, summary of the invention
It is real the purpose of the present invention is to provide a kind of lamp light control system based on speech recognition quickly, in real time, intelligent
The function of automatic adjustment light variation is now inputted by voice.
The technical solution for realizing the aim of the invention is as follows: a kind of lamp light control system based on speech recognition, including CPU
Master controller and power module connected to it, clock module, volume acquisition module and lamp group module, in which:
The power module is used for the power supply of CPU main controller, lamp group module, volume acquisition module, clock module;
The volume acquisition module acquires voice analog signal, and voice signal is converted to different digital signals, exports
To CPU master controller;
The CPU master controller carries out order decoding and instruction distribution;
The clock module controls the working time of system according to the order of CPU master controller;
The lamp group module changes according to the flashing of the command information adjustment lamp group received.
Further, the alternating current that voltage is 220V is converted to 5V DC power supply by the power module, is CPU master control
Device, volume acquisition module, clock module and lamp group module for power supply processed.
Further, the CPU master controller, including main control chip ATMEGA328P, the first crystal oscillator, first capacitor,
Two capacitors, third capacitor, the 4th capacitor, first resistor, reset switch, download port, the port Bootload;Wherein third electricity
Hold, the 4th capacitor and the first crystal oscillator composition oscillating circuit, two interfaces of oscillating circuit meet main control chip ATMEGA328P respectively
The port PB6, PB7;The 20th port AREE of main control chip ATMEGA238P is connected with the second capacitor;There are five in download port
Interface is the port GND, VCC, RXD, TXD, DTR respectively, wherein RXD, TXD respectively with the PD0 of main control chip ATMEGA328P,
The port PD1 is connected, and DTR is connected by first capacitor capacitor with the port PC6 of main control chip ATMEGA328P;Reset switch is logical
It crosses key and carries out low-voltage reset;Bootload mouthfuls of four ports respectively with PC6, PB3 of main control chip ATMEGA328P,
The connection of the port PB4, PB5.
Further, the clock module includes chip DS1302, the tenth capacitor, the 11st capacitor, the 12nd capacitor,
Seven resistance, the 8th resistance, the 9th resistance;Wherein chip DS1302 is core, and the oscillating circuit of chip DS1320 is by 32.768KHZ
Crystal oscillator and 6PF the tenth capacitor, the 11st capacitor composition;12nd capacitor is connected with the port VCC1 of chip DS1320;When
The clock bus SCLK of clock module, serial bus I/O, reset tri- output ports of RST, respectively with master control in CPU master controller
The port PD7, PB0, PB1 of chip ATMEGA328P is connected;7th resistance, the 8th resistance, the 9th resistance are clock module
The pull-up resistor of three time output lines, one end is connected with clock bus SCLK, serial bus I/O, reset RST respectively, another
End is connected with the 12nd capacitor;Clock module is referred to by being configured and operating from master agreement by the transmission of CPU master controller
It enables to clock module, it is specified that the working time of whole system, within the defined working time, CPU master controller can be to controlled
Object sends order.
Further, the volume acquisition module, including chip I SD1820, microphone Mic2, second resistance, 3rd resistor,
4th resistance, the 5th resistance, the 6th resistance, the 5th capacitor, the 6th capacitor, the 7th capacitor, the 8th capacitor, the 9th capacitor;Wherein
Chip I SD1820 is core;6th capacitor and microphone Mic2 constitute microphone input, and external microphone passes through the 6th capacitive coupling of series connection
To the microphone input of chip, the impedance at coupling capacitance and this end determines the low frequency cut-off points of chip frequency band, chip
The automatic growth control AGC dynamic adjust gain of ISD1820, to compensate the wide cut variation of microphone incoming level;7th capacitor and
After microphone reference end MIC REF series connection, microphone is connected to difference form;The recording of chip I SD1820 indicates the port RECLED
After 5th resistance in sequential series, LED1, it is connected to power supply, is used to display chip working condition;The PLAYE of chip I SD1820,
The port PLAYL, REC is connected with 22 of main control chip ATMEGA328P in the CPU master controller, port PC0, PC1 respectively, as sound
Measure the output of Acquisition Circuit;The 6th resistance eutral grounding of the port ROSC series connection of chip I SD1820.
Further, the lamp group module includes lamp group driving and lamp group, in which:
Lamp group includes red, green, blue tri coloured lantern, and each lamps and lanterns have 256 grey levels, and different gray levels is arranged by programming
Not corresponding lighting effects, while the light mixing output for supporting tri coloured lantern overall brightness to adjust, variation synthesize different light effects
Fruit;
Red light lamp group driving include MOC3061, the tenth resistance, eleventh resistor, twelfth resistor, thirteenth resistor,
14th resistance, the 13rd capacitor;Lamp group drives using the double silicon output optocoupler MOC3061 of zero crossing triggering as core, MOC3061's
Control terminal first interface is connected with eleventh resistor one end, the input driving that the tenth resistance R10 and triode 2N3904 are constituted
Circuit connects with the eleventh resistor other end, and the input signal of the input driving circuit is by main control chip in CPU master controller
The PD3 mouth of ATMEGA328P provides;The twelfth resistor of MOC3061 output end is to trigger the silicon-controlled current limliting electricity of power bi-directional
Resistance, thirteenth resistor are two-way controllable gate electrode resistance, and the 14th resistance and the 13rd capacitor constitute RC buffer circuit, in light
Inhibit voltage change du/dt when brightness control;
The lamp group driving of green light includes MOC3061, the 16th resistance, the 17th resistance, the 18th resistance, the 19th electricity
Resistance, the 20th resistance, the 14th capacitor;
The lamp group driving of blue lamp includes MOC3061, the 22nd resistance, the 23rd resistance, the 24th resistance, second
15 resistance, the 26th resistance, the 15th capacitor;The lamp group driving structure of green light and blue lamp is identical with red light.
Compared with prior art, the present invention its remarkable advantage is: (1) can according to speech recognition it automatically adjust light,
Get rid of traditional mode that light is manually controlled according to light-regulator;(2) lamps intelligent control is introduced into large-scale lamp
In Optimizing Control System, it is no longer limited to small-sized light and adjusts;(3) each RGB lamp group possesses the variation combination of 256^3 kind, compared to
Existing large-scale light-control system system possesses more light regulating effects.
Four, Detailed description of the invention
Fig. 1 is that the present invention is based on the system block diagrams of the lamp light control system of speech recognition.
Fig. 2 is that the present invention is based on the workflow schematic diagrams of the lamp light control system of speech recognition.
Fig. 3 is the circuit diagram of CPU master controller in the present invention.
Fig. 4 is the circuit diagram of power module in the present invention.
Fig. 5 is the circuit diagram of clock module in the present invention.
Fig. 6 is the circuit diagram of volume acquisition module in the present invention.
Fig. 7 is the circuit diagram of tri coloured lantern in lamp group module in the present invention, wherein (a) is the circuit of red colored lamp in lamp group module
Figure is (b) circuit diagram of lamp group module Green lamp, is (c) circuit diagram of blue lamp in lamp group module.
Five, specific embodiment
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
The present invention is based on the lamp light control systems of speech recognition, including CPU master controller, power module, clock module, sound
Measure acquisition module and lamp group module.Wherein power module, clock module, volume acquisition module and lamp group module and CPU main control
Device is connected, and is integrated on integrated circuit board jointly.Power module includes the CPU main control module power supply system that 220V turns 5V.Sound
Measuring acquisition module is the exemplary device for converting analog signals into digital signal, is passed by the way that acoustic information is converted to digital information
A CPU main control module is sent, CPU main control module passes through the control for analyzing the instruction and realizing to lamp group.Clock circuit DS1302 system is
The circuit system built around DS1302 chip, function is to formulate the working time to whole system, to the working time of lamp group
It is controlled.Lamp group module realizes a variety of lighting effects by the 256^3 kind combination of RGB tri coloured lantern.
In conjunction with Fig. 1~2, the present invention is based on the lamp light control systems of speech recognition, including CPU master controller, and and its
Power module, clock module, volume acquisition module and the lamp group module of connection, in which:
The power module is used for the power supply of CPU main controller, lamp group module, volume acquisition module, clock module;
The volume acquisition module acquires voice analog signal, and voice signal is converted to different digital signals, exports
To CPU master controller;
The CPU master controller carries out order decoding and instruction distribution;
The clock module controls the working time of system according to the order of CPU master controller;
The lamp group module changes according to the flashing of the command information adjustment lamp group received.
In conjunction with Fig. 3, the CPU master controller, including main control chip ATMEGA328P, the first crystal oscillator XTAL, first capacitor
C1, the second capacitor C2, third capacitor C3, the 4th capacitor C4, first resistor R1, reset switch S1, download port J2, Bootload
Port J3;Wherein third capacitor C3, the 4th capacitor C4 and the first crystal oscillator XTAL constitute oscillating circuit, two interfaces of oscillating circuit
The port PB6, PB7 of main control chip ATMEGA328P is connect respectively;The 20th port AREE of main control chip ATMEGA238P and second
Capacitor C2 is connected;There are five interfaces in download port J2, are the port GND, VCC, RXD, TXD, DTR respectively, and wherein RXD, TXD points
It is not connected with the port PD0, PD1 of main control chip ATMEGA328P, DTR passes through first capacitor C1 capacitor and main control chip
The port PC6 of ATMEGA328P connects;Reset switch S1 carries out low-voltage reset by key;Four ends of Bootload mouthfuls of J3
Mouth is connect with the port PC6, PB3, PB4, PB5 of main control chip ATMEGA328P respectively.For the chip just produced, In
After carrying out Bootload, program burn writing just can be carried out.
In conjunction with Fig. 4, the power module includes four parts: the power supply of lamp group module, the power supply of CPU main controller, volume are adopted
Collect module for power supply, clock module power supply.Power module is the alternating current that input voltage is 220V, is converted to 5V through transformer module
DC power supply is CPU main control module, volume acquisition module, clock module and lamp group module for power supply.
In conjunction with Fig. 5, the clock module, including chip DS1302, the tenth capacitor C10, the 11st capacitor C11, the 12nd
Capacitor C12, the 7th resistance R7, the 8th resistance R8, the 9th resistance R9;Wherein chip DS1302 is core, the vibration of chip DS1320
Circuit is swung to be made of the crystal oscillator of 32.768KHZ and the tenth capacitor C10, the 11st C11 of 6PF;12nd capacitor C12 and chip
The port VCC1 of DS1320 is connected, and the 12nd capacitor C12 is also high-frequency bypass capacitor, for inhibiting the high frequency inside DS1320 miscellaneous
Wave signal;The clock bus SCLK of clock module, serial bus I/O, reset tri- output ports of RST, respectively with CPU master control mould
PD7, PB0, PB1 of block are connected;7th resistance R7, the 8th resistance R8, the 9th resistance R9 are defeated for three times of clock module
The pull-up resistor of outlet, one end respectively with clock bus SCLK, serial bus I/O, reset RST and be connected, the other end is with the tenth
Two capacitor C12 are connected, since clock chip output data is stringent for timing requirements, in integrated circuit system, and clock core
Easily by the interference of other circuits, increasing pull-up resistor thus enables clock chip to issue clear signal for the work of piece;Clock
Module sends instructions to clock module, it is specified that entire by being configured and operating from master agreement, by CPU main controller module
The working time of system, within the defined working time, CPU main control module can send to controll plant and order.
In conjunction with Fig. 6, the volume acquisition module, including chip I SD1820, microphone Mic2, second resistance R2,3rd resistor
R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, the 5th capacitor C5, the 6th capacitor C6, the 7th capacitor C7, the 8th capacitor
C8, the 9th capacitor C9;Wherein chip I SD1820 is core;6th capacitor C6 and Mic2 constitutes microphone input, and external microphone passes through
The 6th capacitor C6 that connects is coupled to the microphone input of chip, and the impedance at coupling capacitance and this end determines the low of chip frequency band
Frequency cut off, the automatic growth control AGC dynamic adjust gain of chip I SD1820 are become with compensating the wide cut of microphone incoming level
Change, makes to record distortion holding minimum;7th capacitor C7 and microphone reference end MIC REF series connection, is connected to microphone with difference form;
Recording instruction RECLED the 5th the resistance R5 and LED1 of series connection of chip I SD1820, is connected to power supply, is used to display chip work shape
State;The recording access REC of chip I SD1820, triggering playback interface PLAYE, PLAYL respectively with the 22 of master controller CPU, PC0,
PC1 is connected, the output as volume Acquisition Circuit;The end ROSC series connection the 6th resistance R6 ground connection of chip I SD1820.
In conjunction with Fig. 7 (a)~(c), the lamp group module, including lamp group driving and lamp group;Wherein, lamp group is by red, green, blue three
Colored lights composition, each lamps and lanterns have 256 grey levels, and lighting effects corresponding to different grey levels can be arranged by programming,
The light mixing output for supporting tri coloured lantern overall brightness to adjust simultaneously, variation synthesize different lighting effects.
In conjunction with Fig. 7 (a), the lamp group group driving of red light includes MOC3061, the tenth resistance R10, eleventh resistor R11, the tenth
Two resistance R12, thirteenth resistor R13, the 14th resistance R14, the 13rd capacitor C13;Lamp group driving triggers double silicon with zero crossing
Output optocoupler MOC3061 is core, and the control terminal first interface of MOC3061 is connected with the one end eleventh resistor R11, the tenth electricity
The input driving circuit that resistance R10 and triode 2N3904 is constituted connects with the eleventh resistor R11 other end, the input driving circuit
Input signal by CPU main control module PD3 mouth provide;MOC3061 output end, twelfth resistor R12 are triggering power bi-directional
Silicon-controlled current-limiting resistance, thirteenth resistor R13 are two-way controllable gate electrode resistance, the 14th resistance R14 and the 13rd capacitor
C13 constitutes RC buffer circuit, inhibits voltage change du/dt in lamplight brightness regulation.
In conjunction with Fig. 7 (b), the lamp group driving of green light includes MOC3061, the 16th resistance R16, the 17th resistance R17, the tenth
Eight resistance R18, the 19th resistance R19, the 20th resistance R20, the 14th capacitor C14;
In conjunction with Fig. 7 (c), the lamp group driving of blue lamp include MOC3061, the 22nd resistance R22, the 23rd resistance R23,
24th resistance R24, the 25th resistance R25, the 26th resistance R26, the 15th capacitor C15;The lamp of green light and blue lamp
Group driving structure is identical with red light.It is that forceful electric power can be isolated with light current and can be into using the advantages of MOC3061
The numerous control of line frequency.
Embodiment 1
In conjunction with Fig. 1, Fig. 2, a kind of lamp light control system based on speech recognition,
Including CPU master controller, and the power module, the volume acquisition module, clock module that are connect with CPU master controller
With lamp group module, in which:
The power module is used for the power supply of CPU main controller, lamp group, volume acquisition module, clock module;
The volume acquisition module acquires voice analog signal, and voice signal is converted to different digital signals, exports
To CPU master controller;
The CPU master controller carries out order decoding and instruction distribution;
The clock module controls the working time of system according to the order of CPU master controller;
The lamp group module changes according to the flashing of the command information adjustment lamp group received.
In conjunction with Fig. 4, the power module includes four parts: the power supply of lamp group module, the power supply of CPU main controller, volume are adopted
Collect module for power supply, clock module power supply.Power module is the alternating current that input voltage is 220V, is converted to 5V through transformer module
DC power supply is CPU main control module, volume acquisition module, clock module and lamp group module for power supply.
In conjunction with Fig. 3, the CPU main control module, including main control chip ATMEGA328P, the first crystal oscillator XTAL, first capacitor
C1, the second capacitor C2, third capacitor C3, the 4th capacitor C4, first resistor R1, reset switch S1, download port J2, Bootload
Mouth J3;Wherein third capacitor C3, the 4th capacitor C4 and the first crystal oscillator XTAL constitute oscillating circuit, and two interfaces connect master control core respectively
PB6, PB7 mouth of piece ATMEGA328P;The 20th mouthful of AREE of main control chip ATMEGA238P is connected with the second capacitor C2, the second electricity
Hold C2 and be also known as high-frequency bypass capacitor, effect is that the high frequency spurs shorted to earth in power supply is reduced power input to chip
It influences;GND, VCC, RXD, TXD, DTR mouthfuls respectively there are five interface in download port J2, wherein RXD, TXD respectively with master control
PD0, PD1 mouth of chip ATMEGA328P is connected, and DTR is by first capacitor C1 capacitor with main control chip ATMEGA328P's
PC6 connects;Reset switch S1 carries out low-voltage reset by key;Four mouths of Bootload mouthfuls of J3 respectively with main control chip
PC6, PB3, PB4, PB5 of ATMEGA328P is connected.For the chip just produced, after carrying out Bootload,
It can be carried out program burn writing.
In conjunction with Fig. 5, the clock module, including chip DS1302, the tenth capacitor C10, the 11st C11, the 12nd C12,
7th resistance R7, the 8th resistance R8, the 9th resistance R9;Wherein chip DS1302 is core, the oscillating circuit of chip DS1320 by
The crystal oscillator of 32.768KHZ and the tenth capacitor C10, the 11st the C11 composition of 6PF;12nd capacitor C12's and chip DS1320
The port VCC1 is connected, and the 12nd capacitor C12 is also high-frequency bypass capacitor, for inhibiting the high frequency spurs signal inside DS1320;
The clock bus SCLK of clock module, serial bus I/O, reset tri- output ports of RST, respectively with CPU main control module
PD7, PB0, PB1 are connected;7th resistance R7, the 8th resistance R8, three time output lines that the 9th resistance R9 is clock module
Pull-up resistor, one end respectively with clock bus SCLK, serial bus I/O, reset RST and be connected, the other end is electric with the 12nd
Hold C12 to be connected, since clock chip output data is stringent for timing requirements, in integrated circuit system, clock chip
Easily by the interference of other circuits, increasing pull-up resistor thus enables clock chip to issue clear signal for work;Clock module
By being configured and operating from master agreement, clock module is sent instructions to by CPU main controller module, it is specified that whole system
Working time, within the defined working time, CPU main control module can to controll plant send order.
In conjunction with Fig. 6, the volume acquisition module, including chip I SD1820, microphone Mic2, second resistance R2,3rd resistor
R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, the 5th capacitor C5, the 6th capacitor C6, the 7th capacitor C7, the 8th capacitor
C8, the 9th capacitor C9;Wherein chip I SD1820 is core;6th capacitor C6 and Mic2 constitutes microphone input, and external microphone passes through
The 6th capacitor C6 that connects is coupled to the microphone input of chip, and the impedance at coupling capacitance and this end determines the low of chip frequency band
Frequency cut off, the automatic growth control AGC dynamic adjust gain of chip I SD1820 are become with compensating the wide cut of microphone incoming level
Change, makes to record distortion holding minimum;7th capacitor C7 and microphone reference end MIC REF series connection, is connected to microphone with difference form;
Recording instruction RECLED the 5th the resistance R5 and LED1 of series connection of chip I SD1820, is connected to power supply, is used to display chip work shape
State;The recording access REC of chip I SD1820, triggering playback interface PLAYE, PLAYL respectively with the 22 of master controller CPU, PC0,
PC1 is connected, the output as volume Acquisition Circuit;The end ROSC series connection the 6th resistance R6 ground connection of chip I SD1820.
In conjunction with Fig. 7 (a)~(c), the lamp group module, including lamp group driving and lamp group;Wherein, lamp group is by red, green, blue three
Colored lights composition, each lamps and lanterns have 256 grey levels, and lighting effects corresponding to different grey levels can be arranged by programming,
The light mixing output for supporting tri coloured lantern overall brightness to adjust simultaneously, variation synthesize different lighting effects.The lamp group of red light drives packet
Include MOC3061, the tenth resistance R10, eleventh resistor R11, twelfth resistor R12, thirteenth resistor R13, the 14th resistance
R14, the 13rd capacitor C13;Lamp group driving is using the double silicon output optocoupler MOC3061 of zero crossing triggering as core, the control of MOC3061
End first interface is connected with the one end eleventh resistor R11, and the input that the tenth resistance R10 and triode 2N3904 are constituted drives electricity
Road connects with the eleventh resistor R11 other end, and the input signal of the input driving circuit is by main control chip in CPU master controller
The PD3 mouth of ATMEGA328P provides;The twelfth resistor R12 of MOC3061 output end is to trigger the silicon-controlled current limliting of power bi-directional
Resistance, thirteenth resistor R13 are two-way controllable gate electrode resistance, and the 14th resistance R14 and the 13rd capacitor C13 constitute RC buffering
Circuit inhibits voltage change du/dt in lamplight brightness regulation;The lamp group driving of green light includes MOC3061, the 16th resistance
R16, the 17th resistance R17, the 18th resistance R18, the 19th resistance R19, the 20th resistance R20, the 14th capacitor C14;It is blue
The lamp group driving of lamp includes MOC3061, the 22nd resistance R22, the 23rd resistance R23, the 24th resistance R24, second
15 resistance R25, the 26th resistance R26, the 15th capacitor C15.The lamp group driving structure and red light of green light and blue lamp are complete
It is identical.It is that forceful electric power can be isolated with light current and can frequently be controlled using the advantages of MOC3061.
Lamp light control system based on speech recognition of the invention, according to the hardware condition of CPU main control module, volume acquisition
Collected acoustic information is converted into 0~255 digital information by module, and operating side can be realized in this numberical range to lamp
The light and shade of group and brightness control.After volume acquisition module sends light regulation and control instruction, instruction is carried out code solution by CPU main control module
It calculates, obtains the conducting closure period of delivery outlet, to control the flashing variation of lamp group.For the large-scale light-control system system of 220V
System, this approach avoid manually-operated cumbersome and delays, realize real-time, efficient, safe purpose.
Claims (6)
1. a kind of lamp light control system based on speech recognition, which is characterized in that including CPU master controller, and be connected thereto
Power module, clock module, volume acquisition module and lamp group module, in which:
The power module is used for the power supply of CPU main controller, lamp group module, volume acquisition module, clock module;
The volume acquisition module acquires voice analog signal, and voice signal is converted to different digital signals, output to CPU
Master controller;
The CPU master controller carries out order decoding and instruction distribution;
The clock module controls the working time of system according to the order of CPU master controller;
The lamp group module changes according to the flashing of the command information adjustment lamp group received.
2. the lamp light control system described in claim 1 based on speech recognition, which is characterized in that the power module will be electric
Pressure is that the alternating current of 220V is converted to 5V DC power supply, is CPU master controller, volume acquisition module, clock module and lamp group mould
Block power supply.
3. the lamp light control system according to claim 1 based on speech recognition, which is characterized in that the CPU main control
Device, including main control chip ATMEGA328P, the first crystal oscillator (XTAL), first capacitor (C1), the second capacitor (C2), third capacitor
(C3), the 4th capacitor (C4), first resistor (R1), reset switch (S1), download port (J2), the port Bootload (J3);Its
Middle third capacitor (C3), the 4th capacitor (C4) and the first crystal oscillator (XTAL) constitute oscillating circuit, two interfaces point of oscillating circuit
The port PB6, PB7 of main control chip ATMEGA328P is not connect;The electricity of the 20th port AREE of main control chip ATMEGA238P and second
Hold (C2) to be connected;There are five interfaces in download port (J2), are the port GND, VCC, RXD, TXD, DTR respectively, wherein RXD, TXD
It is connected respectively with the port PD0, PD1 of main control chip ATMEGA328P, DTR passes through first capacitor (C1) capacitor and main control chip
The port PC6 of ATMEGA328P connects;Reset switch (S1) carries out low-voltage reset by key;The four of Bootload mouthfuls (J3)
A port is connect with the port PC6, PB3, PB4, PB5 of main control chip ATMEGA328P respectively.
4. the lamp light control system according to claim 3 based on speech recognition, which is characterized in that the clock module packet
Include chip DS1302, the tenth capacitor (C10), the 11st capacitor (C11), the 12nd capacitor (C12), the 7th resistance (R7), the 8th
Resistance (R8), the 9th resistance (R9);Wherein chip DS1302 is core, and the oscillating circuit of chip DS1320 is by 32.768KHZ's
The tenth capacitor (C10) of crystal oscillator and 6PF, the 11st capacitor (C11) composition;12nd capacitor (C12) is with chip DS1320's
The port VCC1 is connected;The clock bus SCLK of clock module, serial bus I/O, reset tri- output ports of RST, respectively with CPU
The port PD7, PB0, PB1 of main control chip ATMEGA328P is connected in master controller;7th resistance (R7), the 8th resistance
(R8), the 9th resistance (R9) be clock module three time output lines pull-up resistor, one end respectively with clock bus SCLK,
Serial bus I/O, reset RST are connected, and the other end is connected with the 12nd capacitor (C12);Clock module by from master agreement come
Be configured and operate, clock module is sent instructions to by CPU master controller, it is specified that whole system working time, providing
Working time in, CPU master controller can to controll plant send order.
5. the lamp light control system according to claim 3 based on speech recognition, which is characterized in that the volume acquires mould
Block, including chip I SD1820, microphone Mic2, second resistance (R2), 3rd resistor (R3), the 4th resistance (R4), the 5th resistance
(R5), the 6th resistance (R6), the 5th capacitor (C5), the 6th capacitor (C6), the 7th capacitor (C7), the 8th capacitor (C8), the 9th electricity
Hold (C9);Wherein chip I SD1820 is core;6th capacitor (C6) and microphone Mic2 constitute microphone input, and external microphone passes through
The 6th capacitor (C6) of connecting is coupled to the microphone input of chip, and the impedance at coupling capacitance and this end determines chip frequency band
Low frequency cut-off points, the automatic growth control AGC dynamic adjust gain of chip I SD1820, to compensate the wide cut of microphone incoming level
Variation;After 7th capacitor (C7) and microphone reference end MIC REF series connection, microphone is connected to difference form;Chip I SD1820's
After the recording instruction port RECLED the 5th resistance (R5) in sequential series, LED1, it is connected to power supply, is used to display chip work shape
State;The port PLAYE, PLAYL, REC of chip I SD1820 respectively with 22 of main control chip ATMEGA328P in CPU master controller,
The port PC0, PC1 is connected, the output as volume Acquisition Circuit;The 6th resistance (R6) of the port ROSC series connection of chip I SD1820
Ground connection.
6. the lamp light control system according to claim 3 based on speech recognition, which is characterized in that the lamp group module packet
Include lamp group driving and lamp group, in which:
Lamp group includes red, green, blue tri coloured lantern, and each lamps and lanterns have 256 grey levels, and different grey level institutes is arranged by programming
Corresponding lighting effects, while the light mixing output for supporting tri coloured lantern overall brightness to adjust, variation synthesize different lighting effects;
Red light lamp group driving include MOC3061, the tenth resistance (R10), eleventh resistor (R11), twelfth resistor (R12),
Thirteenth resistor (R13), the 14th resistance (R14), the 13rd capacitor (C13);Lamp group driving triggers double silicon outputs with zero crossing
Optocoupler MOC3061 is core, and the control terminal first interface of MOC3061 is connected with the one end eleventh resistor (R11), the tenth resistance
(R10) connect with the input driving circuit of triode 2N3904 composition with eleventh resistor (R11) other end, input driving electricity
The input signal on road is provided by the PD3 mouth of main control chip ATMEGA328P in CPU master controller;The tenth of MOC3061 output end
Two resistance (R12) are to trigger the silicon-controlled current-limiting resistance of power bi-directional, and thirteenth resistor (R13) is two-way controllable gate pole electricity
Resistance, the 14th resistance (R14) and the 13rd capacitor (C13) constitute RC buffer circuit, inhibit voltage to become in lamplight brightness regulation
Change du/dt;
The lamp group driving of green light includes MOC3061, the 16th resistance (R16), the 17th resistance (R17), the 18th resistance
(R18), the 19th resistance (R19), the 20th resistance (R20), the 14th capacitor (C14);
The lamp group driving of blue lamp includes MOC3061, the 22nd resistance (R22), the 23rd resistance (R23), the 24th electricity
Hinder (R24), the 25th resistance (R25), the 26th resistance (R26), the 15th capacitor (C15);The lamp group of green light and blue lamp
Driving structure is identical with red light.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810468635.2A CN110505736A (en) | 2018-05-16 | 2018-05-16 | A kind of lamp light control system based on speech recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810468635.2A CN110505736A (en) | 2018-05-16 | 2018-05-16 | A kind of lamp light control system based on speech recognition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110505736A true CN110505736A (en) | 2019-11-26 |
Family
ID=68583681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810468635.2A Pending CN110505736A (en) | 2018-05-16 | 2018-05-16 | A kind of lamp light control system based on speech recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110505736A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702817A (en) * | 2020-11-10 | 2021-04-23 | 苏州亚谱讯物联科技有限公司 | Multidimensional triggering local voice control system based on large-scale networking |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607823A (en) * | 2013-11-27 | 2014-02-26 | 南通芯迎设计服务有限公司 | LED light emitting device |
CN103925548A (en) * | 2014-04-08 | 2014-07-16 | 浙江理工大学 | Acoustic-control energy-saving table lamp |
CN204145858U (en) * | 2014-11-14 | 2015-02-04 | 新乡职业技术学院 | A kind of intelligent voice control lamp |
CN204704767U (en) * | 2015-06-12 | 2015-10-14 | 周华伟 | The lamp socket of a kind of lamppost and application thereof |
CN106685284A (en) * | 2017-01-06 | 2017-05-17 | 南京理工大学 | 220V motor speed-regulation system based on intelligent terminal |
CN106801852A (en) * | 2015-11-26 | 2017-06-06 | 重庆魔艺世家家具有限责任公司 | A kind of Acoustic control lamp holder |
CN106851927A (en) * | 2017-04-19 | 2017-06-13 | 慈溪锐恩电子科技有限公司 | A kind of multichannel light modulation toning LED drive circuit of speech recognition |
CN107009953A (en) * | 2017-05-22 | 2017-08-04 | 湖南大学 | A kind of car door opening anti-collision reflective mirror |
-
2018
- 2018-05-16 CN CN201810468635.2A patent/CN110505736A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607823A (en) * | 2013-11-27 | 2014-02-26 | 南通芯迎设计服务有限公司 | LED light emitting device |
CN103925548A (en) * | 2014-04-08 | 2014-07-16 | 浙江理工大学 | Acoustic-control energy-saving table lamp |
CN204145858U (en) * | 2014-11-14 | 2015-02-04 | 新乡职业技术学院 | A kind of intelligent voice control lamp |
CN204704767U (en) * | 2015-06-12 | 2015-10-14 | 周华伟 | The lamp socket of a kind of lamppost and application thereof |
CN106801852A (en) * | 2015-11-26 | 2017-06-06 | 重庆魔艺世家家具有限责任公司 | A kind of Acoustic control lamp holder |
CN106685284A (en) * | 2017-01-06 | 2017-05-17 | 南京理工大学 | 220V motor speed-regulation system based on intelligent terminal |
CN106851927A (en) * | 2017-04-19 | 2017-06-13 | 慈溪锐恩电子科技有限公司 | A kind of multichannel light modulation toning LED drive circuit of speech recognition |
CN107009953A (en) * | 2017-05-22 | 2017-08-04 | 湖南大学 | A kind of car door opening anti-collision reflective mirror |
Non-Patent Citations (1)
Title |
---|
电子发烧友: "《双向可控硅触发电路设计技巧经验分享》", 《电子发烧友》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702817A (en) * | 2020-11-10 | 2021-04-23 | 苏州亚谱讯物联科技有限公司 | Multidimensional triggering local voice control system based on large-scale networking |
CN112702817B (en) * | 2020-11-10 | 2022-12-06 | 苏州亚谱讯物联科技有限公司 | Multidimensional triggering local voice control system based on large-scale networking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110753432B (en) | Atmosphere lamp system of multi-state new energy automobile and control method thereof | |
CN203732970U (en) | Tissue culture room intelligent monitor | |
CN110505736A (en) | A kind of lamp light control system based on speech recognition | |
CN209375983U (en) | A kind of constant pressure that can adapt to output and input variation automatically turns constant-current drive circuit | |
CN201983181U (en) | Stage lamp capable of adjusting brightness through audio signals | |
CN203327307U (en) | Voice-operated lamp | |
CN205584595U (en) | Adopt intelligent stage control system of A variety of control mode | |
CN207070403U (en) | DOB circuit of light sources, light source module group and the LED lamp of adjustable color temperature | |
CN205864808U (en) | A kind of LED street lamp light adjusting circuit | |
CN204598388U (en) | A kind of sound controlled LED light illumination control circuit | |
CN214627423U (en) | Off-line pronunciation intelligence LED lamp area controller based on bluetooth | |
CN205510458U (en) | Based on environmental change dynamic adjustment LED street lamp intelligence light operator | |
CN208227383U (en) | A kind of LED Intelligent light system | |
CN211759027U (en) | Control system of PLC manual control box for wire cutting | |
CN204408668U (en) | A kind of LED power | |
CN101547541B (en) | Public illumination energy-saving control system | |
CN207911091U (en) | Signal control device | |
CN208190978U (en) | A kind of situated lighting atmosphere control system | |
CN201674696U (en) | DMX controller | |
CN209472802U (en) | A kind of intelligent lamp | |
CN208954612U (en) | A kind of device for realizing the LCD display port with boosting and GPIO multiplexing | |
CN207354670U (en) | A kind of controllable silicon light modulation LED drive power circuit | |
CN205105421U (en) | Dimmer circuit through two lamps of 0 -10V low pressure signal control | |
CN201904888U (en) | Novel computer sound box with LED lamp | |
CN205693931U (en) | A kind of high-power intelligent dimming controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191126 |
|
RJ01 | Rejection of invention patent application after publication |