CN107404783A - MANET color lamp device and color lamp system based on the control of power line edge signal - Google Patents

MANET color lamp device and color lamp system based on the control of power line edge signal Download PDF

Info

Publication number
CN107404783A
CN107404783A CN201610341099.0A CN201610341099A CN107404783A CN 107404783 A CN107404783 A CN 107404783A CN 201610341099 A CN201610341099 A CN 201610341099A CN 107404783 A CN107404783 A CN 107404783A
Authority
CN
China
Prior art keywords
color lamp
signal
manet
edge signal
lamp device
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.)
Granted
Application number
CN201610341099.0A
Other languages
Chinese (zh)
Other versions
CN107404783B (en
Inventor
杨颖汉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yunxin Optoelectronic Technology Co ltd
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610341099.0A priority Critical patent/CN107404783B/en
Publication of CN107404783A publication Critical patent/CN107404783A/en
Application granted granted Critical
Publication of CN107404783B publication Critical patent/CN107404783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]

Abstract

The invention discloses a kind of MANET color lamp device based on the control of power line edge signal, including edge signal generator, some LED modules and the LED driver for driving the LED lights group according to power line edge signal;Edge signal generator is provided with networking control terminal, and MANET color lamp device has two mode of operations of host mode and slave mode.The invention also discloses a kind of color lamp system, including several MANET color lamp devices, at least one MANET color lamp device is operated in host mode, remaining MANET color lamp device is operated in slave mode, the synchronous change of LED module for being more than 2000 power line edge signal control can be achieved, the problems such as caused supply current is excessive when solving to drive the LED module of quantity more power line edge signal control by single color lamp device, and MANET mode simple and flexible.

Description

MANET color lamp device and color lamp system based on the control of power line edge signal
Technical field
The present invention relates to LED control technology fields, and in particular to one kind is based on power line edge signal control The MANET color lamp device and color lamp system of system.
Background technology
Light emitting diode (Light Emitting Diode, LED) has high luminous efficiency, reliability height, longevity The remarkable advantages such as life length, are particularly suitable for application to LED decorative illumination.LED Christmas lamps are typically by more LED is coupled by series, parallel mode or connection in series-parallel hybrid mode, is the red-letter days such as Christmas Day, Easter Primary decoration product, and it is celebrating, amusement, the brightening decorative product of nightscape lighting, there is wide city .
At present, the color light control technology controlled by power line edge signal, it is only necessary to power line and Ground wire can realizes the Synchronization Control of plurality of LEDs, simplifies circuit design, decreases product and adds Work cost.
In practical application, generally single color lamp device is controlled to realize the diversity of color lamp effect. Although abundant color lamp effect can be obtained for single color lamp device independent control, it is difficult to multiple Color lamp device is uniformly controlled, it is difficult to obtains being adapted to large-scale application scenario needs acquisition to be uniformly controlled effect Demand.Accordingly it is contemplated that multiple color lamp devices are constructed as into color lamp network to carry out centralized Control, this is right It is extremely important for extensive color lamp system.
But the color lamp of power line edge signal driving is currently based on, can not all realize the MANET of multiple color lamp devices Function, it is impossible to be uniformly controlled to the color lamp device in color lamp net, large-scale application scenario can not be realized Overall control effect.The color lamp device that slave mode is controlled by the color lamp device of host mode can not be realized, So as to realize the large-scale color lamp system controlled by power line edge signal, wherein, host mode refers to color lamp dress The color lamp effect put is independent, is not influenceed by other color lamp devices;Slave mode refers to the color lamp of current color lamp Effect is influenceed by other color lamp devices.
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.
Brief description of the drawings
Fig. 1 is the MANET color lamp device based on the control of power line edge signal of the present embodiment;
Fig. 2 is the structured flowchart of the LED driver of the present embodiment;
Fig. 3 is the circuit theory diagrams of the edging trigger arithmetic element of the present embodiment;
Fig. 4 is the circuit theory diagrams of the charhing unit of the present embodiment;
Fig. 5 is the circuit theory diagrams of the initialization unit of the present embodiment;
Fig. 6 is the timing diagram for the arithmetic operating apparatus that the power line edge signal of the present embodiment triggers.
Fig. 7 is that the MANET color lamp apparatus module based on the control of power line edge signal of the present embodiment is formed Color lamp system;
Fig. 8 is the MANET color lamp device based on the control of power line edge signal of the present embodiment.
Embodiment
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
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.
Embodiment 2
As another implementation of MANET color lamp device, as shown in figure 8, the present embodiment from Networking color lamp device is identical with the MANET color lamp device in embodiment 1, except that edge signal is sent out Networking control terminal and the reference signal input of raw device separate, wherein the external circuit of networking control terminal and reality Apply that example 1 is identical, the reference signal input for receiving reference signal connects a reference signal generation mould Block, the reference signal generation module are limited flow point volt circuit, specifically include the resistance R9 (resistances being connected in series Be worth for 13k ohms), resistance R10 (resistance is 5k ohms) form voltage transformation module, with resistance R9 and The resistance R10 concatenation point connection pin of single-chip microcomputer 2, resistance R10 other end ground connection, with resistance R9 Other end as the outer signal input of reference signal generation module to input outer signal.This reality The MANET color lamp device applied in example is separately provided reference signal input, under slave mode, edge letter The edge signal of number generator generation is identical with the outer signal that networking control signal generation module connects.
Above-described embodiment has been carried out in detail to technical scheme and beneficial effect Explanation, it should be understood that the foregoing is only presently most preferred embodiment of the invention, be not limited to this hair It is bright, all any modification, supplement and equivalent substitutions made in the spirit of the present invention etc., it all should wrap It is contained within protection scope of the present invention.

Claims (10)

  1. A kind of 1. MANET color lamp device based on the control of power line edge signal, it is characterised in that 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.
  2. 2. the MANET color lamp device as described in claim 1 based on the control of power line edge signal, Characterized in that, described edge signal generator is provided with the reference signal input for being used to receive reference signal End.
  3. 3. the MANET color lamp device as claimed in claim 2 based on the control of power line edge signal, its It is characterised by, described reference signal input is also associated with a reference signal generation module, for basis Corresponding outer signal generation reference signal.
  4. 4. the MANET color lamp device as claimed in claim 3 based on the control of power line edge signal, its It is characterised by, described reference signal generation module includes voltage transformation module, corresponding external for making The voltage magnitude of signal is transformed to the first preset value.
  5. 5. the MANET color lamp device as described in claim 1 based on the control of power line edge signal, Characterized in that, described edge signal generator also serves as reference signal input with networking control terminal, and The networking control signal received with networking control terminal also serves as reference signal.
  6. 6. as described in any one claim in claim 2~5 based on power line edge signal control The MANET color lamp device of system, it is characterised in that described networking control terminal is also associated with networking control letter Number generation module, for generating networking control signal according to corresponding outer signal.
  7. 7. the MANET color lamp device as claimed in claim 6 based on the control of power line edge signal, its It is characterised by, described networking control signal generation module includes voltage transformation module, corresponding for making The voltage magnitude of outer signal is transformed to the second preset value.
  8. 8. the MANET color lamp device as claimed in claim 7 based on the control of power line edge signal, its It is characterised by, described voltage transformation module is realized based on current limliting bleeder circuit.
  9. 9. the MANET color lamp device based on the control of power line edge signal as described in claim 2 or 6, Characterized in that, under slave mode, the edge signal of edge signal generator generation for generating with joining The outer signal for examining signal is identical.
  10. 10. a kind of color lamp system, it is characterised in that including several as any one in claim 5~9 MANET color lamp device described in item claim, wherein, the side of at least one MANET color lamp device The networking control signal received along the networking control terminal of signal generator makes it be operated in main frame mould all the time Formula, remaining MANET color lamp device is sequentially connected in series after the described MANET color lamp device, two neighboring The networking control signal of the latter generates according to the edge signal of previous output in MANET color lamp device Obtain.
CN201610341099.0A 2016-05-20 2016-05-20 Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal Active CN107404783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610341099.0A CN107404783B (en) 2016-05-20 2016-05-20 Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610341099.0A CN107404783B (en) 2016-05-20 2016-05-20 Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal

Publications (2)

Publication Number Publication Date
CN107404783A true CN107404783A (en) 2017-11-28
CN107404783B CN107404783B (en) 2018-12-11

Family

ID=60389234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610341099.0A Active CN107404783B (en) 2016-05-20 2016-05-20 Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal

Country Status (1)

Country Link
CN (1) CN107404783B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730536A (en) * 2019-11-01 2020-01-24 杭州昀芯光电科技有限公司 Colour lamp device controlled by power line edge signal
CN112105114A (en) * 2020-08-03 2020-12-18 江苏彩汇芯电子科技有限公司 Lamp bead chip set and control method thereof, and colored lamp device and control method thereof
WO2023124889A1 (en) * 2021-12-29 2023-07-06 杭州昀芯光电科技有限公司 Bidirectional light-emitting power line pulse signal trigger light source, lamp string and control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080007320A1 (en) * 2006-07-10 2008-01-10 Guan-Ting Lu Control circuit for automatically generating latch signal to control led device according to input data signal and clock signal
CN104507218A (en) * 2014-12-15 2015-04-08 罗小华 Color lamp device on basis of edge signal control of power line
CN104780686A (en) * 2015-04-20 2015-07-15 罗小华 Power cord edge signal triggered displacement device and LED driver
CN105114850A (en) * 2015-08-29 2015-12-02 台州海之大电子科技有限公司 LED lamp string with light-emitting modes capable of being selected

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080007320A1 (en) * 2006-07-10 2008-01-10 Guan-Ting Lu Control circuit for automatically generating latch signal to control led device according to input data signal and clock signal
CN104507218A (en) * 2014-12-15 2015-04-08 罗小华 Color lamp device on basis of edge signal control of power line
CN104780686A (en) * 2015-04-20 2015-07-15 罗小华 Power cord edge signal triggered displacement device and LED driver
CN105114850A (en) * 2015-08-29 2015-12-02 台州海之大电子科技有限公司 LED lamp string with light-emitting modes capable of being selected

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730536A (en) * 2019-11-01 2020-01-24 杭州昀芯光电科技有限公司 Colour lamp device controlled by power line edge signal
CN110730536B (en) * 2019-11-01 2021-11-19 杭州昀芯光电科技有限公司 Colour lamp device controlled by power line edge signal
CN112105114A (en) * 2020-08-03 2020-12-18 江苏彩汇芯电子科技有限公司 Lamp bead chip set and control method thereof, and colored lamp device and control method thereof
WO2023124889A1 (en) * 2021-12-29 2023-07-06 杭州昀芯光电科技有限公司 Bidirectional light-emitting power line pulse signal trigger light source, lamp string and control device

Also Published As

Publication number Publication date
CN107404783B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN105722270B (en) The connection in series-parallel mixing color lamp device controlled based on power line edge signal
CN104507218B (en) Based on the color lamp device that power line edge signal is controlled
CN103813585B (en) A kind of equipment for controlling luminescent device
CN107404783A (en) MANET color lamp device and color lamp system based on the control of power line edge signal
CN205987484U (en) Backlight unit's drive circuit , backlight unit and display device
CN204180343U (en) Edge signal counting device and led driver
CN104936361B (en) A kind of totally digitilized LED illumination light source driving control system and technical scheme
EP3206463B1 (en) Computing device and led driver triggered by power cord edge signal
CN206831438U (en) LED lamp bead and the LED lamp using the LED lamp bead
CN204305420U (en) Based on the color lamp device that power line edge signal controls
CN204217177U (en) The arithmetic operating apparatus that power line edge signal triggers and LED driver
CN202652594U (en) Light emitting diode driver possessing protection path
CN206452570U (en) Many breath light control circuits
CN204634104U (en) A kind of three function LED drive circuits
CN204316816U (en) Lighting device
CN203147684U (en) LED lamp regulating control system
CN202385361U (en) Improved single-color LED lamp string control device
CN207638940U (en) LED light string control system
CN206118117U (en) Power driving circuit
CN207117231U (en) A kind of portable power source electricity indicating circuit and portable power source
CN204291494U (en) A kind of LED linear drive circuit
CN205372426U (en) LED color lamp cluster
CN204707330U (en) A kind of LED driver
CN203761616U (en) LED lamp drive circuit
CN206413217U (en) Flowing water lamp 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180523

Address after: 310012 1 unit 401-, 998 West Wen Yi Road, Wuchang Street, Yuhang District, Hangzhou, Zhejiang, China, 1

Applicant after: HANGZHOU YUNXIN OPTOELECTRONIC TECHNOLOGY CO.,LTD.

Address before: 310030 Xihu District Hong Kong Bay home in Hangzhou, Zhejiang

Applicant before: Yang Yinghan

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Self organizing network color lighting device and color lighting system based on power line edge signal control

Effective date of registration: 20230825

Granted publication date: 20181211

Pledgee: Industrial and Commercial Bank of China Limited Hangzhou Yuhang sub branch

Pledgor: HANGZHOU YUNXIN OPTOELECTRONIC TECHNOLOGY CO.,LTD.

Registration number: Y2023980053837