The electronic fireworks lamp controller
Technical field
The utility model relates to a kind of controller that is used on the electronic fireworks lamp.
Background technology
Electronic fireworks lamp is made up of launching cradle, fulcrum ball, radiation bar, controller.Patent ZL-991187792.2 discloses a kind of electronic fireworks lamp.Its controller links to each other with flashing lamp with emission lamp, blast lamp, and emission lamp order is from bottom to top lighted, the lamp that explodes is then lighted, and closes the emission lamp simultaneously, lights flashing lamp when the blast lamp is closed, after flashing lamp is closed,, light successively by said sequence lighting reflector lamp.The controller of prior art is an independent control unit, promptly a controller can only be controlled setting off of a fireworks lamp, and electronic fireworks lamp generally needs to be provided with in groups, and the time started of at every turn setting off of every fireworks lamp can not be synchronous, give messy sensation, lack associative perception.
Summary of the invention
At the deficiencies in the prior art, the utility model provides a kind of controller that can control fireworks lamp work synchronously in groups.
Technical solution adopted in the utility model: a kind of electronic fireworks lamp controller, comprise the transformation rectification circuit, filter regulator circuit, microcontroller, wireless receiving circuit, parallel interface chip, level shifting circuit, drive circuit, power amplification circuit, described voltage stabilizing circuit, the level shifting circuit that is connected to group control synchronous input signal, the output of wireless receiving circuit are connected with microcontroller; The output of microcontroller links to each other with the input of described parallel interface chip; The output port of described parallel interface chip is connected to drive circuit, photoelectric isolating circuit, the power amplification circuit of series connection successively respectively, the output output group control output signal of one road power amplification circuit wherein, the output termination fireworks lamp of other power amplification circuit.
A kind of electronic fireworks controller, also comprise sound chip, drive circuit, power amplification circuit, audio amplifier, the output of the described microcontroller of input termination of described sound chip, the output of described sound chip are connected to the drive circuit of series connection successively, power amplification circuit, audio amplifier.
A kind of electronic fireworks controller also comprises analog to digital conversion circuit, group control time-delay potentiometer and time regulator potentiometer, and described group of control time-delay potentiometer and time regulator potentiometer are connected on the input of analog-digital conversion circuit as described.
A kind of electronic fireworks controller also comprises a signal projector.This reflector comprises coding circuit and modulation circuit two parts, and coding circuit is converted to digital code information with operator's control command, and modulation circuit sends digital code information modulation back with the high frequency radio waveshape.
Each electronic fireworks lamp controller has a group control input signal and a group control output signal, when electronic fireworks lamp is provided with in groups, one of them is made as master controller, output group control synchronizing signal, other controller is made as assistant controller, and the group control synchronizing signal that the reception master controller sends is to reach synchronous.The utility model has adopted American I SD1420 series sound chip, and real fireworks display are fired in the typing chip, can set off the acoustics that broadcast fireworks display synchronous in the process fire at fireworks display, makes electronic fireworks lamp in vision and acoustically more true to nature.
The utility model is described in further detail below in conjunction with accompanying drawing.
Description of drawings
The circuit block diagram of Fig. 1 the utility model electronic fireworks lamp controller.
The circuit theory diagrams of Fig. 2 the utility model electronic fireworks lamp controller.
Embodiment
As shown in Figure 1, provide stable voltage to single-chip microcomputer behind AC power process transformation, rectification, the filtering voltage regulation; Time regulates variable resistance and group control time-delay variable resistance is connected on the input that modulus changes device; Time is regulated the time that variable resistance is used for regulating the fireworks display sustained combustion, and group control time-delay variable resistance is used for guaranteeing that all electronic fireworks lamps set off simultaneously, can also show the visual effect of rising one after another.The output of analog to digital conversion circuit is connected on the input of single-chip microcomputer.The output of the level shifting circuit of reception group control synchronizing signal is connected on the input of single-chip microcomputer.The output of single-chip microcomputer is connected to parallel interface chip and sound chip.Two outputs of parallel interface chip are connected to drive circuit, photoelectric isolating circuit and power amplification circuit, connect fireworks lamp respectively and control synchronization output signal for another controller provides group; The output termination drive circuit of sound chip, power amplification circuit and drive circuit series connection are for audio amplifier provides working signal.
Core component with reference to Fig. 2 electronic fireworks lamp controller is AT89C52 single-chip microcomputer U1, adopts CMOS technology, and 8KEEROM is contained in inside, the 256K byte.Program and data storage are stored among the single-chip microcomputer U1.The X1 of single-chip microcomputer U1, the X2 port connects clock circuit; The P15 of single-chip microcomputer U1, P16, the P17 port is connected to resistance R 29 respectively as the input that receives remote signal, R30, R31, the P00-P07 port ground connection location bus of single-chip microcomputer U1, the P24 of single-chip microcomputer U1, P25, P26 port respectively with NAND gate U3A, U3D, the input of U3C is connected, U3A, U3D, the input of another input of U3C and NAND gate U3B is connected on the WR port of single-chip microcomputer U1; NAND gate U3A, U3C, the output of U3D is connected with the LE port of three address latch 74ls373s respectively, three address latch U6, U7, the D0-D7 port ground connection location bus of U8, Q0-Q7 port correspondence is connected to 8 photoelectrical coupler U9-U16, U17-U24, U25-U32, the output of each photoelectrical coupler are connected to bidirectional thyristor by a resistance, are connected to 24 bidirectional thyristor Q1-Q24 altogether, the output termination fireworks lamp of thyristor, the break-make that drives fireworks lamp forms different electronic fireworks lamp types.The output of photoelectricity coupling chip U33 connects the P14 port of single-chip microcomputer U1, and the interchange group control conversion of signals that is used for the outside is the TTL signal.
The output of the P33 port of single-chip microcomputer U1 is connected on another input port of NAND gate U3B, the output of NAND gate U3B is connected on the LE port of address latch U35, the D0-D7 port ground connection location bus of address latch U35, the Q0-Q7 port of address latch U35 connects the A0-A7 port of sound chip U34, the PLAYL port of sound chip U34 connects the P10/T-port of single-chip microcomputer U1, NAND gate U5A, U5B respectively has an input to be connected on the P27 port of single-chip microcomputer U1, and another input of U5A is connected on the WR-port of single-chip microcomputer U1.Another input of U5B is connected on the RD-port of single-chip microcomputer U1.The ALE port of the output termination modulus conversion chip U2 of U5A, the ENABLE port of the output termination modulus conversion chip U2 of U5B.
When electronic fireworks lamp is provided with in groups, one of them is made as master controller, output group control synchronizing signal, other is made as assistant controller, receives the group control synchronizing signal that master controller sends, to reach synchronous.Energized, master controller starts, at first judge whether to receive wireless remote control information, receive wireless remote control information after, enter operate as normal circulation, fireworks display pattern data according to storage, the P24 of single-chip microcomputer U1, P25, the corresponding latch of P26 port gating, the bidirectional thyristor that control is corresponding, fireworks lamp links to each other with bidirectional thyristor.Acoustics is then passed through the broadcast of the P27 foot control molding onomatopoeia sound of single-chip microcomputer U1 to set off festive air by contrast if desired.The IN-0 of modulus conversion chip U2 and IN-1 pin are used for regulating the cycle of each circulation of fireworks display and the interval between twice startup respectively, regulate cycle period and can control the fireworks lamp conversion rate, regulating interval between twice startup can control fireworks lamp open number of times, control power consumption in a period of time.Get one road input that is connected to photoelectricity coupling chip U33 from the output line of master controller, after master controller started, this road signal was used to control the startup of assistant controller, and after the startup of assistant controller, its course of work is identical with master controller.IN-1 may command assistant controller and the master controller of regulating modulus conversion chip U2 are synchronous, each duty cycle assistant controller and master controller are synchronously once, so when master controller stopped, assistant controller can be waited for the group control synchronizing signal of master controller, reach group control purpose.