The content of the invention
In view of the shortcomings of the prior art, the invention provides it is a kind of based on power line edge signal control from
Networking color lamp device and color lamp system.
A kind of MANET color lamp device based on the control of power line edge signal, including:
Edge signal generator, for generating edge signal and described edge signal being carried in into power line
Upper output;
Some LED modules, each LED module include a LED lights group and for according to power supplys
Line edge signal drives the LED driver of the LED lights group;
The edge signal generator is provided with networking control terminal, for receive networking control signal with control from
The mode of operation of networking color lamp device;
MANET color lamp device has two mode of operations of host mode and slave mode, under slave mode,
Its edge signal generator generates edge signal according to the reference signal of input;Under host mode, its side
Edge signal is formed according to default basis signal along signal generator.
As a kind of way of realization, described edge signal generator is provided with the ginseng for being used for receiving reference signal
Examine signal input part.
Described reference signal input is also associated with a reference signal generation module, for according to corresponding
Outer signal (outer signal for referring to the input of reference signal generation module) generation reference signal.
In practical application, can be by carrying out circuit design to reference signal generation module with according to external letter
Number generation need reference signal.
When the reference of the voltage magnitude and edge signal generator of the outer signal for generating reference signal
When the voltage magnitude that signal input part allows mismatches, described reference signal generation module becomes including voltage
Unit is changed, the voltage magnitude for making corresponding outer signal is transformed to the first preset value.This is first default
The voltage magnitude that the size of value allows according to reference signal input is set, and may be generally equal to the electricity of the permission
Pressure amplitude value.
Alternatively implementation, described edge signal generator also serve as reference with networking control terminal
Signal input part, and the networking control signal received with networking control terminal also serves as reference signal.
Described networking control terminal is also associated with networking control signal generation module, for according to corresponding outer
Connect signal (outer signal for referring to the input of networking control signal generation module) generation networking control signal.
In practical application, can be by carrying out circuit design to networking control signal generation module with according to outer
Connect the networking control signal of signal generation needs.
Described networking control signal generation module includes voltage transformation module, for making corresponding external letter
Number voltage magnitude be transformed to the second preset value.
When the voltage magnitude and edge signal generator of the outer signal for generating networking control signal
When the voltage magnitude that networking control terminal allows mismatches, described networking control signal generation module includes electricity
Converter unit is pressed, the voltage magnitude for making corresponding outer signal is transformed to the second preset value.This second
The voltage magnitude that the size of preset value allows according to networking control terminal is set, and may be generally equal to the electricity of the permission
Pressure amplitude value.
Described voltage transformation module is realized based on current limliting bleeder circuit.Voltage transformation module now is applicable
Voltage transformation module in reference signal generation module and networking control signal generation module.
Preferably, the current limliting division module includes 3rd resistor, the 4th resistance being connected in series, and
Using at 3rd resistor and the concatenation of the 4th resistance as output end, when the current limliting division module and reference signal
When input connects (the current limliting division module is the voltage transformation module in reference signal generation module),
The output of its output end for reference signal;(i.e. should when the current limliting division module is connected with networking control terminal
Current limliting division module is the voltage transformation module in networking control signal generation module), the output of its output end
For networking control signal.
The resistance of 3rd resistor and the 4th resistance in current limliting bleeder circuit adjusts according to application demand.In reality
When border is applied, the current limliting division module being connected with reference signal input and the limit being connected with networking control terminal
3rd resistor and the resistance situation of the 4th resistance can be different in flow point die block.
Under slave mode, the edge signal of edge signal generator generation generates reference signal with being used for
Outer signal is identical.It is so designed that, it is only necessary to ensure that reference signal is identical, it is possible to realize multiple from group
The working method of LED lights is identical in net color lamp device.
Present invention also offers a kind of color lamp system, including several MANET color lamp devices as described above,
Wherein, the networking control terminal of the edge signal generator of at least one MANET color lamp device receives
Networking control signal makes it be operated in host mode all the time, and remaining MANET color lamp device is sequentially connected in series in institute
After stating the MANET color lamp device, the networking control letter of the latter in two neighboring MANET color lamp device
Number generate to obtain according to the edge signal of previous output.
Preferably, described edge signal generator includes the first gate-controlled switch and pressure control circuit,
The input of first gate-controlled switch connects a dc source, output termination power line, the partial pressure control
It is controllable that the control signal output of circuit processed and the control terminal of the first gate-controlled switch are connected to control first
Switch on-off to generate edge signal and load on the power line.
By the break-make for controlling the first gate-controlled switch, you can form edge signal, and be loaded onto on power line.
In the present invention when the first gate-controlled switch turns on, the edge signal loaded on power line is high level, when
When one gate-controlled switch disconnects, the edge signal loaded on power line is low level.
Partial pressure in edge signal generator is controlled to control by reference to signal or basis signal in the present invention
The control signal of circuit output is to control the break-make of gate-controlled switch to realize the output of edge signal.
Preferably, the first gate-controlled switch is P-channel field-effect transistor (PEFT) pipe, source electrode connects the dc source,
Drain electrode connects the power line, and grid connects the control signal output of the pressure control circuit.
When P-channel field-effect transistor (PEFT) pipe source voltage and grid voltage difference be more than P-channel field-effect transistor (PEFT) pipe conduction threshold,
P-channel field-effect transistor (PEFT) pipe turns on;When P-channel field-effect transistor (PEFT) pipe source voltage and grid voltage difference are more than P-channel
During FET breakdown voltage, P-channel field-effect transistor (PEFT) pipe is breakdown.
Pressure control circuit of the present invention provides control signal, by controlling P-channel field-effect transistor (PEFT) tube grid
Voltage, realizes the break-make control of the P-channel field-effect transistor (PEFT) pipe as the first gate-controlled switch, and to be used as the
The P-channel field-effect transistor (PEFT) pipe of one gate-controlled switch is not breakdown.
Preferably, the pressure control circuit includes microprocessor, first resistor, second resistance and the
Two gate-controlled switches, wherein:
The microprocessor is used to export intermediate control signal, the microprocessor potential minimum end connection ground
(being connected with ground wire);
The input of second gate-controlled switch connects through the first resistor that is sequentially connected in series and described
Second resistance is connected with the dc source, and output end connection ground, control terminal is connected with the microprocessor;
Control signal at the series connection of the first resistor and the second resistance as pressure control circuit
Output end is with output control signal.
Further, to reduce cost, described microprocessor can be single-chip microcomputer.
Corresponding reference signal is by the pin of single-chip microcomputer from outside input;Default basis signal passes through list
Program built in piece machine is realized.
When the intermediate control signal of microprocessor output is high level, the conducting of the second gate-controlled switch, second
The equivalent resistance of gate-controlled switch is approximately equal to 0, and the control signal output voltage of pressure control circuit is by
One resistance and the determination of second resistance ratio, control signal output voltage and the P of pressure control circuit
The difference of channel field-effect tube grid voltage is more than the P-channel field-effect transistor (PEFT) pipe on state threshold voltage, the P
Channel field-effect pipe turns on;Conversely, when the intermediate control signal of microprocessor output is low level, institute
The cut-off of the second gate-controlled switch is stated, the equivalent resistance of the second gate-controlled switch is approximately equal to infinity, as first
The P-channel field-effect transistor (PEFT) pipe source voltage of gate-controlled switch is poor small with the P-channel field-effect transistor (PEFT) tube grid voltage
In the P-channel field-effect transistor (PEFT) pipe on state threshold voltage, the P-channel field-effect transistor (PEFT) pipe cut-off.
To improve power line upper edge signal high level to low level switch speed, the power line and ground
Between be also serially connected with pull-down circuit, the break-make of pull-down circuit is changeable, and in the control signal by making electricity
The edge signal loaded on the line of source turns on when switching to low level from high level, conversely, then disconnecting.
Preferably, the pull-down circuit is the 3rd gate-controlled switch, wherein:
The input of 3rd gate-controlled switch connects the power line, and output end connects describedly, and control terminal connects
It is connected to second control circuit, the logic electricity of the output signal of the second control circuit and first control circuit
It is flat opposite.As a kind of implementation, the control terminal of the first gate-controlled switch and the 3rd gate-controlled switch is connected to
The microprocessor difference output pin, and the logic level of the output of two output pins is opposite.
Preferably, current limliting electricity is also associated between the 3rd gate-controlled switch input and the power line
Resistance.It is the second described gate-controlled switch, the 3rd controllable to ensure that gate-controlled switch has a higher response speed
Switch can use FET to realize.Preferably, the second described gate-controlled switch, the 3rd controllable opening
Close the FET based on N-channel to realize, its source electrode is used as output end, grid as input, drain electrode
As control terminal.
Preferably, the LED driver includes:
Edging trigger arithmetic element, triggered by power line edge signal and carry out computing, and export operation result;
Charhing unit, the edge signal for being inputted according to power line provide confession for edging trigger arithmetic element
Level, charge when edge signal is high level, discharged when edge signal is low level;
Initialization unit, for being initialized according to described power supply electrical level to edging trigger arithmetic element.
Preferably, described edging trigger arithmetic element is edge counting unit, for defeated to power line
The edge of the edge signal entered is counted, and exports count results.
Described edge counting unit includes several triggers, and knot is counted with the output end output of trigger
Fruit.
Preferably, described trigger is d type flip flop.
Preferably, described edge counting unit includes the d type flip flop of several series connection, touched with D
The output end output count results of device are sent out, wherein:
The clock signal input terminal of first d type flip flop is connected with power line, two neighboring d type flip flop
In, the inverse output terminal of the clock signal input terminal of the latter d type flip flop and previous d type flip flop connects
Connect;
The reset terminal of each d type flip flop is connected with initialization unit, each d type flip flop inverse output terminal
It is connected with triggering end.
Do not make specified otherwise in the present invention, first d type flip flop refers to according to minimum in edge counting unit
D type flip flop corresponding to position.Using the d type flip flop of relative low level as previous in two neighboring d type flip flop
Individual, high-order d type flip flop is as the latter relatively.
Described charhing unit includes asymmetrical circuit element, and the anode voltage of the asymmetrical circuit element is higher than
Conductive during cathode voltage, cathode voltage ends when being higher than anode voltage.The anode of the asymmetrical circuit element
It is connected with power line, negative electrode is grounded by an energy-storage travelling wave tube, and described charhing unit passes through unilateal conduction member
The negative electrode of part provides power supply electrical level for edging trigger arithmetic element and initialization unit.Asymmetrical circuit element can
To be the circuit with unilateal conduction characteristic that individual devices or multiple devices are formed.
Further preferably, described LED driver also includes LED drive circuit, described LED
The input of drive circuit is connected with the output end of edging trigger arithmetic element, output end and corresponding LED
Connect to drive corresponding LED.
Compared with prior art, MANET color lamp device of the invention can be controlled according to the networking of input and believed
Number determine mode of operation:Slave mode or host mode, and then multiple MANET control signals can be realized
Networking form color lamp system, multiple MANET color lamp devices can be by the color lamp system that networking is formed
Color lamp device Synchronization Control in host mode is in the color lamp device of slave mode, so as to be formed by electricity
The color lamp system of source line edge signal control, realizes and is more than what 2000 power line edge signals controlled
The synchronous change of LED module.In addition, the MANET by multiple MANET color lamp devices so that color lamp
System can flexibly tackle different application demands and determine to need the quantity of the color lamp device of networking, and energy
Solve to cause when driving the LED module of the more power line edge signal control of quantity by single color lamp device
Supply current it is excessive the problems such as.
Embodiment 1
As shown in figure 1, a kind of MANET color lamp device based on the control of power line edge signal, including:
Edge signal generator, for generating edge signal and described edge signal being carried in into power line
Upper output;
Some LED modules, each LED module include a LED lights group and for according to power supplys
Line edge signal drives the LED driver of the LED lights group;
Wherein, edge signal generator is provided with networking control terminal, for receiving networking control signal to control
The mode of operation of MANET color lamp device;
MANET color lamp device has two mode of operations of host mode and slave mode, under slave mode,
Its edge signal generator generates edge signal according to the reference signal of input;Under host mode, its side
Edge signal is formed according to default basis signal along signal generator.
In the present embodiment when the networking control signal of reception is low level, MANET color lamp device is operated in
Under host mode, conversely, when the networking control signal received is high level, MANET color lamp device
It is operated under slave mode.
Further, to avoid the occurrence of erroneous judgement, the reliability of color lamp device is improved, when the networking control received
When saltus step occurs for the level of signal processed, level duration after saltus step just switches to phase after reaching 2s
The mode of operation answered.For example, MANET color lamp device works in slave mode, the networking now received
Control signal carries out timing by high level saltus step to low level, to the low level duration after saltus step,
After duration reaches 2s, MANET color lamp device automatically switches to host mode.
4 LED modules, respectively M are shared in the MANET color lamp device of the present embodiment1、M2、
M3、M4, all LED modules are connected to power line by series system.
As shown in figure 1, edge signal generator includes the first gate-controlled switch and pressure control circuit, first
The input of gate-controlled switch connects a dc source, output termination power line, the control of pressure control circuit
The control terminal of signal output part and the first gate-controlled switch is connected to the break-make of the first gate-controlled switch of control (i.e.
Conducting is with disconnecting) exported on the power line with generating edge signal and loading.Edge signal generator is not
When generating edge signal, output voltage maintains high level (the namely supply voltage of dc source).
First gate-controlled switch of the present embodiment is P-channel field-effect transistor (PEFT) pipe CJ2301 (P1), and its source electrode is made
For input termination dc source (+18V power supplys), drain electrode is connected as output end with power line, and grid is made
For control terminal, it is connected with the output end (i.e. control signal output) of pressure control circuit.
Pressure control circuit includes:Microprocessor, first resistor, second resistance and the second gate-controlled switch,
Wherein:
Microprocessor is used to export intermediate control signal, microprocessor potential minimum end connection ground (i.e. with ground
Line connects);
Microprocessor is EM78P153S type single-chip microcomputers in the present embodiment, and its pin 9 exports middle control
Signal.Pin 11 is grounding pin, and pin 4 is supply input pin.
Supply voltage is 5V needed for EM78P153S type single-chip microcomputers, to avoid setting up 5V dc source,
Mu balanced circuit is directly used, 18V DC voltage is reduced into 5V powers for single-chip microcomputer.
The present embodiment mu balanced circuit includes divider resistance R8 and voltage-regulator diode D1, divider resistance R8's
One end connection dc source (+18V power supplys), other end connection voltage-regulator diode D1 negative electrode is as electricity
Output end is pressed to be powered for single-chip microcomputer, the anode connection ground of voltage-regulator diode (D1), voltage-regulator diode D1
Negative electrode be also grounded by electric capacity C1.
The input of second gate-controlled switch by the first resistor R1 and second resistance R2 that are sequentially connected in series with
Dc source connects (second resistance R1 one end is connected with power line), output end connection ground, control terminal
It is connected with microprocessor to receive the intermediate control signal of the output of microprocessor;
Control signal at first resistor R1 and second resistance R2 series connection as pressure control circuit is defeated
Go out end with output control signal.
Second gate-controlled switch is CJ2302 type N-channel FET N1, and its source electrode is as input, leakage
Pole is as output end, and grid is as control terminal.
The input of second gate-controlled switch connects through the first resistor R1 and second resistance R2 being sequentially connected in series
It is connected with dc source, output end connection ground, control terminal is connected with microprocessor to receive microprocessor
The intermediate control signal that pin 9 exports;
Control signal at first resistor R1 and second resistance R2 series connection as pressure control circuit is defeated
Go out end with output control signal.
When the pin 9 of microprocessor exports high level, the conducting of the second gate-controlled switch, FET P1
The difference of source voltage and grid voltage is more than P-channel field-effect transistor (PEFT) pipe on state threshold voltage, FET P1
Turn on, the edge signal loaded on power line is high level;
When one output pin of microprocessor is low level, the second gate-controlled switch cut-off, field-effect
The difference of pipe P1 source voltages and grid voltage is less than P-channel field-effect transistor (PEFT) pipe on state threshold voltage, field-effect
Pipe P1 ends, and the edge signal loaded on power line is low level.
Low level speed, power line are switched to by high level to improve the edge signal loaded on power line
Pull-down circuit is also serially connected between ground, pull-down circuit is the 3rd gate-controlled switch.
The input of 3rd gate-controlled switch connects the power line, and output end connects describedly, and control terminal connects
Second control circuit is connected to, second control circuit is opposite with the logic level of intermediate control signal.
Current-limiting resistance R6 is also associated between 3rd gate-controlled switch input and the power line.
The 3rd gate-controlled switch is CJ2302 type N-channel FET N2 in the present embodiment, its source electrode conduct
Input, drain electrode are used as output end, and grid is as control terminal.
Conveniently, second control circuit and the 3rd control circuit use chip microcontroller, field is imitated
Should pipe N2 grids connection EM78P153S single-chip microcomputers pin 8.
When the output of pin 9 of EM78P153S single-chip microcomputers is high level, as the first gate-controlled switch field
Effect pipe P1 is turned on, and now, the pin 8 of EM78P153S single-chip microcomputers exports low level, as the 3rd
The FET N2 of gate-controlled switch ends, and the edge signal loaded on power line is down for high level.
Now, can as first when if making the output of pin 9 of EM78P153S single-chip microcomputers be low level
Switched field effect pipe P1 cut-offs are controlled, now, the pin 8 of EM78P153S single-chip microcomputers exports high level,
FET N2 as the 3rd gate-controlled switch is turned on, and power line is discharged by the 3rd gate-controlled switch to ground,
Rapidly by the edge signal loaded on power line down for low level.
It can be seen that the break-make of pull-down circuit is changeable, and exported in control signal by making the first gate-controlled switch
Edge signal is that high level turns on when switching to low level, conversely, then disconnecting.
The present embodiment is as connection drop-down electricity between the FET N1 of the second gate-controlled switch grid and ground
R5 is hindered, as connection pull down resistor R7 between the FET N2 of the 3rd gate-controlled switch grid and ground.
Edge signal generator also serves as reference signal input with networking control terminal in the present embodiment, and with group
The networking control signal that network control system termination receives also serves as reference signal.With 7 pin of single-chip microcomputer in the present embodiment
Networking control terminal as edge signal generator.
Networking control terminal is also associated with networking control signal generation module, for according to corresponding outer signal
Generate networking control signal.
To realize the voltage magnitude of the outer signal of networking control signal generation module and networking control signal
Matching, the networking control signal generation module includes voltage transformation module, for making corresponding external letter
Number voltage magnitude be transformed to the second preset value.Second preset value is 5V.
Conveniently, the networking control signal generation module of the present embodiment is based on current limliting bleeder circuit for one
The voltage transformation module (i.e. the networking control signal generation module be limited flow point volt circuit) of realization.
As shown in figure 1, current limliting bleeder circuit include be connected in series 3rd resistor R3 (R3=13k Ω),
4th resistance R4 (R4=5k Ω), the 4th resistance R4 one end ground connection, with 3rd resistor R3 and the 4th
Output end of the one end of resistance R4 concatenation as networking control signal generation module, sent out with edge signal
The networking control signal end connection of raw device, is given birth to using the 3rd resistor R3 other end as networking control signal
Into the input of module to input corresponding outer signal.
When the outer signal input of networking control signal generation module is hanging or is grounded, the pin of single-chip microcomputer 7
Input and be operated in host mode for low level, ad-hoc network devices;When outside networking control signal generation module
When connecing signal input part and connecing high level, the input of the pin of single-chip microcomputer 7 is high level, and ad-hoc network devices are operated in master
Machine pattern.
When the edge signal and use that MANET color lamp device is under slave mode, and edge signal generator generates
In generation reference signal outer signal it is identical, according to whether be separately provided reference signal input be divided into as
Lower two kinds of situations:
(a) when being separately provided reference signal input, the edge signal of edge signal generator generation
It is identical with the outer signal of reference signal generation module connection;
(b) when not being separately provided reference signal input, the edge letter of edge signal generator generation
Number with networking control signal generation module connection outer signal it is identical.
MANET color lamp device in the present embodiment is not separately provided reference signal input, belongs to situation (b)
I.e. under slave mode, the edge signal and networking control signal generation module of the generation of edge signal generator
The outer signal of connection is identical.
As shown in Fig. 2 the LED driver of the present embodiment includes:
Edging trigger arithmetic element, triggered by power line edge signal and carry out computing, and export operation result;
Charhing unit, the edge signal for being inputted according to power line provide confession for edging trigger arithmetic element
Level, charge when edge signal is high level, discharged when edge signal is low level;
Initialization unit, for being initialized according to described power supply electrical level to edging trigger arithmetic element;
And LED drive circuit, for the operation result output exported according to edging trigger arithmetic element
Corresponding drive signal is with LED lights group corresponding to driving.The present embodiment LED drive circuit is 3
NMOS tube, each NMOS tube grid are correspondingly connected to the output end of edging trigger arithmetic element, respectively
The source electrode of individual NMOS tube connects the ground of LED driver, and the drain electrode of each NMOS tube is connected to LED
The output end of driver.
Fig. 3 is the edging trigger arithmetic element of the present embodiment, including 3 d type flip flops in parallel and one
3 ALUs, operation result is exported with the output end of each d type flip flop.
D type flip flop in the present embodiment is that the rising edge clock resetted with low level triggers d type flip flop,
Respectively the first d type flip flop F1, the second d type flip flop F2 and 3d flip-flop F3, it is corresponding just
Be respectively Q1, Q2 and Q3 to output end, corresponding operation result be followed successively by from low to high Q1, Q2,
Q3.Output end of the triggering end of each d type flip flop respectively with ALU corresponding positions is connected, i.e.,
D1, which connects C1, D2 and connects C2, D3, connects C3.
The reset terminal (including RD1, RD2 and RD3) of each d type flip flop is defeated with initialization unit
Go out end connection, d type flip flop is carried out by initialization unit initially to put number.
Clock signal input terminal (including CK1, CK2 and CK3) is connected with power line, by power line
The edge signal triggering of input carries out arithmetical operation.
Edging trigger arithmetic element is three adders in the present embodiment, the A of the edging trigger arithmetic element
Group input is followed successively by A1, A2 and A3 from low to high, B groups input be followed successively by from low to high B1,
B2 and B3, output end are followed successively by C1, C2 and C3 from low to high.The A groups of ALU are defeated
Enter output end of the end respectively with the d type flip flop of corresponding positions and be connected that (i.e. Q1 meets A1, Q2 and meets A2, Q3
Meet A3).The external Schema control constant of B group inputs.Schema control constant can enter according to user's request
Row puts number.
Fig. 4 is the physical circuit of the charhing unit of the present embodiment, including diode D, diode D sun
Pole is connected with power line, and negative electrode is grounded that (charging capacitor is source and drain in the present embodiment by an energy-storage travelling wave tube C
The metal-oxide-semiconductor equivalent capacity of short circuit, the size of equivalent capacity is 0.2 μ F).Whole charhing unit passes through two
Pole pipe D negative electrode provides power supply electrical level for edging trigger arithmetic element and initialization unit.
Fig. 5 is the circuit theory diagrams of initialization unit, including four metal-oxide-semiconductors, respectively p-channel
Metal-oxide-semiconductor T1, p-channel metal-oxide-semiconductor T2, n-channel metal-oxide-semiconductor T3 and n-channel metal-oxide-semiconductor T4,
First phase inverter V1, the second phase inverter V2.Specific annexation is as follows:
Metal-oxide-semiconductor T1 source electrode and drain electrode are connected to the negative electrode of diode D1 in charhing unit, grid
Drain electrode with metal-oxide-semiconductor T3 is connected, and metal-oxide-semiconductor T3 grid is connected with metal-oxide-semiconductor T1 source electrode,
Metal-oxide-semiconductor T3 source grounds.The metal-oxide-semiconductor T2 grid and source electrode grid with metal-oxide-semiconductor T1 respectively
Connected with source electrode, after the current-limiting resistance R of drain series one (size of current-limiting resistance is 500 Ω in the present embodiment),
Be connected with metal-oxide-semiconductor T4 grid, and metal-oxide-semiconductor T4 drain electrode and source electrode respectively with metal-oxide-semiconductor T3
Source electrode and ground connect.
Metal-oxide-semiconductor T4 grid connects the first phase inverter V1 inputs, the first phase inverter V1 output
The second phase inverter V2 inputs of end connection, the second phase inverter V2 output is as the defeated of initialization unit
Go out end, reset signal is exported to edging trigger arithmetic element.
The operation principle of the arithmetic operating apparatus of the power line edge signal triggering of the present embodiment is as follows:
When the arithmetic unit is not upper electric, the power supply electrical level that charhing unit provides is low level, now initially
Change unit and edging trigger arithmetic element electricity shortage, whole arithmetic unit are unable to computing.
When electric on arithmetic unit, and when edge signal is high level, the energy-storage travelling wave tube in charhing unit
C is electrically charged.In the case of high level lasting time is sufficiently long, power supply electrical level is height by low level upset
Level, initialization unit and edging trigger arithmetic element are by normal power supply.
Now, the metal-oxide-semiconductor T3 conductings in initialization unit, turn on metal-oxide-semiconductor T2, therefore,
Charhing unit can be charged by current-limiting resistance R to the metal-oxide-semiconductor T4 as electric capacity.To metal-oxide-semiconductor
In T4 charging processes, the voltage of metal-oxide-semiconductor T4 grids gradually increases, and make it that second is anti-when being charged to reach
The reset signal of phase device V2 outputs completes initialization after being overturn by low level to high level.
Second phase inverter V2 output end and the reset of each d type flip flop in edging trigger arithmetic element
End connection, when the second phase inverter V2 exports low level, each d type flip flop resets, i.e. edging trigger
Arithmetic element is reset.
Fig. 6 is edge signal, initialization unit and three adders that power line inputs in the present embodiment
The time diagram of operation result when the Schema control constant of B group inputs is Binary Zero 01, wherein transporting
Result is calculated to represent using the output signal of the positive output end of three d type flip flops.After power supply electrifying,
Three d type flip flops of T time are reset to logical zero, i.e. operation result is reset.In the rising edge of edge signal
At E1, operation result is Binary Zero 01;Rise on the power line along E2, operation result is Binary Zero 10;
Rise on the power line along E3, operation result is Binary Zero 11;Rise on the power line along E4, computing knot
Fruit is binary one 00;Rise on the power line along E5, operation result is binary one 01;On the power line
Rise along E6, operation result is binary one 10;Rise on the power line along E7, operation result is binary system
111;Rise on the power line along E8, arithmetic unit overflows, and operation result is Binary Zero 00, power line
The span of the operation result of edging trigger arithmetic element is in the LED driver of edge signal triggering
0~(23-1)。
In the present embodiment, the edging trigger arithmetic element of the LED driver of all LED modules is with identical
Mode computing.
The present embodiment includes 4 LED modules, respectively M1、M2、M3、M4, between each other
Connect in a series arrangement.
A kind of color lamp system, including the MANET color lamp device that at least two is above-mentioned, wherein, at least one
The networking control signal that the networking control terminal of the edge signal generator of individual MANET color lamp device receives
All the time it is made to be operated in host mode, remaining MANET color lamp device is sequentially connected in series color in the described MANET
After lamp device, the networking control signal of the latter is according to previous in two neighboring MANET color lamp device
The edge signal of output generates to obtain.
The color lamp system that Fig. 7 is formed for 3 MANET color lamp apparatus modules, two neighboring MANET color lamp
The networking control signal of the latter generates to obtain according to the edge signal of previous output in device, specifically connects
It is as follows to connect relation:
The input of the networking control signal generation module for the MANET color lamp device that numbering is 1 does not connect
(i.e. hanging), the networking control signal of corresponding networking control signal generation module output is low level,
Now the mode of operation for the color lamp device that numbering is 1 is in host mode;The side for the color lamp device that numbering is 1
The MANET that output end (MANET control signal generation module) connection numbering along signal generator is 2
The networking control signal generation module of color lamp device, the mode of operation for the color lamp device that numbering is 2 is slave
Pattern;The edge signal generator (MANET control signal generation module) for the color lamp device that numbering is 2
The MANET control signal generation module for the color lamp device that connection numbering is 3, the color lamp device that numbering is 3
Mode of operation be slave mode.Color lamp device that color lamp device that numbering is 1, numbering are 2, numbering
18v power supply is connected in parallel for 3 color lamp device.Color lamp device in color lamp system can also be by not
Same power supply is powered, and is connected between different electrical power by common ground.
The color lamp system of the present embodiment, made by the edge signal exported with previous MANET color lamp device
For the outer signal of the networking control signal generation module of next MANET color lamp device, make edge signal
The edge signal of generator generation is identical with the edge signal that upper MANET color lamp device generates, and then
Realize the MANET of multiple color lamp devices.MANET function allows in large-scale decoration occasions easily
Form large-scale color lamp system;When each color lamp device does not need networking, it is only necessary to disconnect color lamp dress
The networking control terminal put and the connection of the MANET control signal generation module of previous stage color lamp device.