CN107404783B - Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal - Google Patents

Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal Download PDF

Info

Publication number
CN107404783B
CN107404783B CN201610341099.0A CN201610341099A CN107404783B CN 107404783 B CN107404783 B CN 107404783B CN 201610341099 A CN201610341099 A CN 201610341099A CN 107404783 B CN107404783 B CN 107404783B
Authority
CN
China
Prior art keywords
color lamp
signal
hoc network
edge signal
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610341099.0A
Other languages
Chinese (zh)
Other versions
CN107404783A (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
Hangzhou Yun Core Photoelectric Technology Co Ltd
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 Hangzhou Yun Core Photoelectric Technology Co Ltd filed Critical Hangzhou Yun Core Photoelectric Technology Co Ltd
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 ad hoc network color lamp devices based on the control of power supply line edge signal, including edge signal generator, several LED modules and LED driver for driving the LED lights group according to power supply line edge signal;Edge signal generator is equipped with networking control terminal, and ad hoc network color lamp device has two operating modes of host mode and slave mode.The invention also discloses a kind of color lamp systems, including several ad hoc network color lamp devices, at least one ad hoc network color lamp device works in host mode, remaining ad hoc network color lamp device works in slave mode, the synchronous variation of the LED module greater than the control of 2000 power supply line edge signals can be achieved, solve the problems such as caused supply current when the LED module by the more power supply line edge signal control of single color lamp device driving quantity is excessive, and ad hoc network mode simple and flexible.

Description

Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal
Technical field
The present invention relates to LED control technology fields, and in particular to a kind of ad hoc network based on the control of power supply line edge signal Color lamp device and color lamp system.
Background technique
Light emitting diode (Light Emitting Diode, LED) has luminous efficiency height, high reliablity, service life length etc. Remarkable advantage is particularly suitable for application to LED decorative illumination.LED Christmas lamp generally by plurality of LEDs by series, parallel mode or Series-parallel hybrid mode is coupled, be the red-letter days such as Christmas Day, Easter primary decoration product and celebrating, amusement, nightscape lighting Brightening decorative product, has a vast market.
Currently, having the color light control technology controlled by power supply line edge signal, it is only necessary to which power and ground can To realize the synchronously control of plurality of LEDs, circuit design is simplified, decreases product processing cost.
In practical application, usually being controlled single color lamp device the diversity to realize color lamp effect.Although needle Color lamp effect abundant can be obtained to single color lamp device independent control, but be difficult to realize the unified control of multiple color lamp devices System, it is difficult to obtain that large-scale application is suitble to need to obtain the demand for being uniformly controlled effect.Accordingly it is contemplated that multiple color lamps are filled It sets and is constructed as color lamp network to carry out centralized control, this is extremely important for extensive color lamp system.
But the color lamp driven currently based on power supply line edge signal, all can not achieve the ad hoc network function of multiple color lamp devices Can, the color lamp device in color lamp net cannot be uniformly controlled, cannot achieve the whole control effect of large-scale application.No It is able to achieve by the color lamp device of the color lamp device control slave mode of host mode, is controlled to realize by power supply line edge signal Large-scale color lamp system, wherein host mode refers to that the color lamp effect of color lamp device is independent, is not influenced by other color lamp devices; Slave mode refers to influence of the color lamp effect of current color lamp by other color lamp devices.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of ad hoc network color lamps based on the control of power supply line edge signal Device and color lamp system.
A kind of ad hoc network color lamp device based on the control of power supply line edge signal, comprising:
Edge signal generator, for generating edge signal and exporting the edge signal load on the power line;
Several LED modules, each LED module include a LED lights group and are used to be driven according to power supply line edge signal The LED driver of the LED lights group;
The edge signal generator is equipped with networking control terminal, for receiving networking control signal to control ad hoc network color lamp The operating mode of device;
Ad hoc network color lamp device has two operating modes of host mode and slave mode, under slave mode, edge Signal generator generates edge signal according to the reference signal of input;Under host mode, edge signal generator is according to pre- If basis signal formed edge signal.
As a kind of way of realization, the edge signal generator is equipped with defeated for receiving the reference signal of reference signal Enter end.
The reference signal input terminal is also connected with a reference signal generation module, for according to corresponding outer signal (outer signal for referring to the input of reference signal generation module) generates reference signal.
In practical application, can be by carrying out circuit design to reference signal generation module to generate need according to outer signal The reference signal wanted.
When the voltage magnitude of the outer signal for generating reference signal and the reference signal of edge signal generator input When the voltage magnitude that end allows mismatches, the reference signal generation module includes voltage transformation module, corresponding for making The voltage magnitude of outer signal is transformed to the first preset value.The size of first preset value allows according to reference signal input terminal Voltage magnitude setting, may be generally equal to the voltage magnitude of the permission.
Alternatively implementation, the edge signal generator also serve as reference signal with networking control terminal and input End, and the networking control signal received with networking control terminal also serves as reference signal.
The networking control terminal is also connected with networking control signal generation module, for according to corresponding outer signal (outer signal for referring to networking control signal generation module input) generates networking control signal.
In practical application, circuit design can be carried out with raw according to outer signal by controlling signal generation module to networking Signal is controlled at the networking of needs.
The networking control signal generation module includes voltage transformation module, for making the voltage of corresponding outer signal Amplitude transformation is the second preset value.
When the networking of the voltage magnitude and edge signal generator of the outer signal for generating networking control signal controls When the voltage magnitude that end allows mismatches, the networking control signal generation module includes voltage transformation module, for making phase The voltage magnitude for the outer signal answered is transformed to the second preset value.The size of second preset value allows according to networking control terminal Voltage magnitude setting, may be generally equal to the voltage magnitude of the permission.
The voltage transformation module is realized based on current limliting bleeder circuit.Voltage transformation module at this time is suitable for reference to letter Voltage transformation module in number generation module and networking control signal generation module.
Preferably, the current limliting division module includes the 3rd resistor being connected in series, the 4th resistance, and with 3rd resistor With at the concatenation of the 4th resistance be used as output end, (i.e. current limliting when the current limliting division module is connect with reference signal input terminal Division module is the voltage transformation module in reference signal generation module), output end output is reference signal;When the current limliting (i.e. the current limliting division module is the voltage transformation in networking control signal generation module when division module is connect with networking control terminal Unit), output end output is networking control signal.
The resistance value of 3rd resistor and the 4th resistance in current limliting bleeder circuit is adjusted according to application demand.In practical application When, third electricity in the current limliting division module being connect with reference signal input terminal and the current limliting division module being connect with networking control terminal The resistance value situation of resistance and the 4th resistance can be different.
Under slave mode, edge signal and the outer signal for generating reference signal that edge signal generator generates It is identical.It is designed in this way, it is only necessary to guarantee that reference signal is identical, so that it may realize LED lights in multiple ad hoc network color lamp devices Working method is identical.
The present invention also provides a kind of color lamp systems, including several ad hoc network color lamp devices as described above, wherein extremely The networking control signal that the networking control terminal of the edge signal generator of rare ad hoc network color lamp device receives makes always In host mode, remaining ad hoc network color lamp device is sequentially connected in series after the described ad hoc network color lamp device for its work, and adjacent two The networking control signal of the latter generates to obtain according to the edge signal of previous output in a ad hoc network color lamp device.
Preferably, the edge signal generator include the first controllable switch and pressure control circuit, described first The input terminal of controllable switch connects a DC power supply, output termination power supply line, the control signal output of the pressure control circuit End connect the on-off for controlling the first controllable switch with the control terminal of the first controllable switch to generate edge signal and load On power supply line.
By controlling the on-off of the first controllable switch, edge signal can be formed, and be loaded on power supply line.In the present invention When the conducting of the first controllable switch, the edge signal loaded on power supply line is high level, when the first controllable switch disconnects, power supply The edge signal loaded on line is low level.
Pressure control circuit in edge signal generator is controlled in the present invention by reference to signal or basis signal to export Control signal to control the on-off of controllable switch to realize the output of edge signal.
Preferably, the first controllable switch is P-channel field-effect transistor (PEFT) pipe, source electrode connects the DC power supply, drain electrode connection institute Power supply line is stated, 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 are greater than P-channel field-effect transistor (PEFT) pipe conduction threshold, P-channel field The conducting of effect pipe;When P-channel field-effect transistor (PEFT) pipe source voltage and grid voltage difference are greater than P-channel field-effect transistor (PEFT) pipe breakdown voltage, P ditch Road field-effect tube 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 on-off of P-channel field-effect transistor (PEFT) pipe as the first controllable switch controls, and makes the P-channel field-effect transistor (PEFT) as the first controllable switch It manages not breakdown.
Preferably, the pressure control circuit includes that microprocessor, first resistor, second resistance and second are controllably opened It closes, in which:
The microprocessor for exporting intermediate control signal, microprocessor potential minimum end connection ground (i.e. with ground Line connection);
The input terminal connection of second controllable switch passes through the first resistor and the second resistance being sequentially connected in series It is connect with the DC power supply, output end connection ground, control terminal is connect with the microprocessor;
At the series connection of the first resistor and the second resistance as the control signal output of pressure control circuit with Output control signal.
Further, to reduce cost, the microprocessor can be single-chip microcontroller.
Corresponding reference signal is by the pin of single-chip microcontroller from external input;Preset basis signal passes through built in single-chip microcontroller Program realize.
When the intermediate control signal of microprocessor output is high level, the conducting of the second controllable switch, the second controllable switch Equivalent resistance be approximately equal to 0, the control signal output voltage of pressure control circuit is by first resistor and second resistance ratio It determines, the difference of the control signal output voltage of pressure control circuit and the P-channel field-effect transistor (PEFT) tube grid voltage is greater than the P Channel field-effect pipe on state threshold voltage, the P-channel field-effect transistor (PEFT) pipe conducting;Conversely, when the intermediate control of microprocessor output When signal is low level, the second controllable switch cut-off, the equivalent resistance of the second controllable switch is approximately equal to infinity, as The difference of the P-channel field-effect transistor (PEFT) pipe source voltage of first controllable switch and the P-channel field-effect transistor (PEFT) tube grid voltage is less than the P ditch Road field-effect tube on state threshold voltage, the P-channel field-effect transistor (PEFT) pipe cut-off.
To improve power supply line upper edge signal high level to low level switch speed, also gone here and there between the power supply line and ground It is connected to pull-down circuit, the on-off of pull-down circuit is changeable, and in the control signal by making the edge signal loaded on power supply line Conducting when being switched to low level from high level, conversely, then disconnecting.
Preferably, the pull-down circuit is third controllable switch, in which:
The input terminal of third controllable switch connects the power supply line, and output end connects describedly, and control terminal is connected with second Control circuit, the second control circuit are opposite with the logic level of the output signal of first control circuit.As a kind of realization The control terminal of scheme, the first controllable switch and third controllable switch is connected to the microprocessor difference output pin, and this two The logic level of the output of a output pin is opposite.
Preferably, being also connected with current-limiting resistance between the third controllable switch input terminal and the power supply line.To protect Controllable switch response speed with higher is demonstrate,proved, second controllable switch, third controllable switch can use field-effect tube It realizes.Preferably, second controllable switch, third controllable switch realize that source electrode is made based on the field-effect tube of N-channel For input terminal, drain electrode is used as output end, and grid is as control terminal.
Preferably, the LED driver includes:
Edging trigger arithmetic element is triggered by power supply line edge signal and carries out operation, and exports operation result;
Charhing unit, the edge signal for being inputted according to power supply line provide power supply electrical level for edging trigger arithmetic element, It charges when edge signal is high level, discharges when edge signal is low level;
Initialization unit, for being initialized according to the power supply electrical level to edging trigger arithmetic element.
Preferably, the edging trigger arithmetic element is edge counting unit, the edge for inputting to power supply line The edge of signal is counted, and exports count results.
The edge counting unit includes several triggers, exports count results with the output end of trigger.
Preferably, the trigger is d type flip flop.
Preferably, the edge counting unit includes several concatenated d type flip flops, with the output end of d type flip flop Export count results, in which:
The clock signal input terminal of first d type flip flop is connect with power supply line, in two neighboring d type flip flop, the latter D touching The clock signal input terminal of hair device is connect with the inverse output terminal of previous d type flip flop;
The reset terminal of each d type flip flop is connect with initialization unit, and each d type flip flop inverse output terminal and triggering end connect It connects.
Without specific instruction in the present invention, first d type flip flop refer to according to the corresponding D of lowest order in edge counting unit Trigger.Using the d type flip flop of opposite low level as previous in two neighboring d type flip flop, after high-order d type flip flop is used as relatively One.
The charhing unit includes asymmetrical circuit element, and the anode voltage of the asymmetrical circuit element is higher than cathode voltage When it is conductive, cathode voltage ends when being higher than anode voltage.The anode of the asymmetrical circuit element is connect with power supply line, and cathode passes through One energy-storage travelling wave tube ground connection, the cathode that the charhing unit passes through asymmetrical circuit element are edging trigger arithmetic element and initialization Unit provides power supply electrical level.Asymmetrical circuit element can be individual devices, is also possible to multiple having for devices composition and unidirectionally leads The circuit of electrical characteristics.
Further preferably, the LED driver further includes LED drive circuit, the input terminal of the LED drive circuit It is connect with the output end of edging trigger arithmetic element, output end is with corresponding LED connection to drive corresponding LED.
Compared with prior art, ad hoc network color lamp device of the invention can control signal according to the networking of input and determine work Operation mode: slave mode or host mode, and then the networking that multiple ad hoc network control signals may be implemented forms color lamp system, Multiple ad hoc network color lamp devices can be by the color lamp device synchronously control in host mode in the color lamp system that networking is formed In the color lamp device of slave mode, to form the color lamp system controlled by power supply line edge signal, realizes and be greater than 2000 electricity The synchronous variation of the LED module of source line edge signal control.In addition, by the ad hoc network of multiple ad hoc network color lamp devices, so that Color lamp system can flexibly cope with different application demands and determine the quantity for needing the color lamp device of networking, and can solve by list The problems such as caused supply current is excessive when the LED module of the more power supply line edge signal control of a color lamp device driving quantity.
Detailed description of the invention
Fig. 1 is the ad hoc network color lamp device based on the control of power supply line edge signal of the present embodiment;
Fig. 2 is the structural block diagram of the LED driver of the present embodiment;
Fig. 3 is the circuit diagram of the edging trigger arithmetic element of the present embodiment;
Fig. 4 is the circuit diagram of the charhing unit of the present embodiment;
Fig. 5 is the circuit diagram of the initialization unit of the present embodiment;
Fig. 6 is the timing diagram for the arithmetic operating apparatus that the power supply line edge signal of the present embodiment triggers.
Fig. 7 is the color lamp system that the ad hoc network color lamp apparatus module based on the control of power supply line edge signal of the present embodiment is constituted System;
Fig. 8 is the ad hoc network color lamp device based on the control of power supply line edge signal of the present embodiment.
Specific 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 ad hoc network color lamp device based on the control of power supply line edge signal, comprising:
Edge signal generator, for generating edge signal and exporting the edge signal load on the power line;
Several LED modules, each LED module include a LED lights group and are used to be driven according to power supply line edge signal The LED driver of the LED lights group;
Wherein, edge signal generator is equipped with networking control terminal, for receiving networking control signal to control ad hoc network coloured silk The operating mode of lamp device;
Ad hoc network color lamp device has two operating modes of host mode and slave mode, under slave mode, edge Signal generator generates edge signal according to the reference signal of input;Under host mode, edge signal generator is according to pre- If basis signal formed edge signal.
In the present embodiment when received networking control signal is low level, ad hoc network color lamp device works in host mode Under, conversely, ad hoc network color lamp device works under slave mode when the networking control signal received is high level.
Further, to avoid the occurrence of erroneous judgement, the reliability of color lamp device is improved, when the electricity of the networking control signal received It is flat when jumping, corresponding operating mode is just switched to after after the jump level duration reaches 2s.For example, ad hoc network Color lamp device works in slave mode, and the networking control signal received at this time is jumped by high level to low level, after jump The low level duration carry out timing, after duration reaches 2s, ad hoc network color lamp device automatically switches to host mould Formula.
4 LED modules, respectively M are shared in the ad hoc network color lamp device of the present embodiment1、M2、M3、M4, all LED modules Power supply line is connected to by series system.
As shown in Figure 1, edge signal generator includes the first controllable switch and pressure control circuit, the first controllable switch Input terminal connects a DC power supply, output termination power supply line, and the control signal output of pressure control circuit is controllably opened with first The control terminal connection of pass is for controlling the on-off (i.e. conducting and disconnection) of the first controllable switch to generate edge signal and load It is exported on power supply line.For edge signal generator when not generating edge signal, output voltage maintains high level (namely direct current The supply voltage of power supply).
First controllable switch of the present embodiment is P-channel field-effect transistor (PEFT) pipe CJ2301 (P1), and source electrode is straight as input termination Galvanic electricity source (+18V power supply), drain electrode are connect as output end with power supply line, and grid is defeated with pressure control circuit as control terminal Outlet (i.e. control signal output) connection.
Pressure control circuit includes: microprocessor, first resistor, second resistance and the second controllable switch, in which:
Microprocessor is for exporting intermediate control signal, microprocessor potential minimum end connection ground (connecting with ground wire);
Microprocessor is EM78P153S type single-chip microcontroller in the present embodiment, and pin 9 exports intermediate control signal.Pin 11 For grounding pin, pin 4 is supply input pin.
Supply voltage needed for EM78P153S type single-chip microcontroller is 5V, for the DC power supply for avoiding adding 5V, directly uses pressure stabilizing The DC voltage of 18V is reduced to 5V for single-chip microcontroller power supply by circuit.
The present embodiment voltage regulator circuit includes divider resistance R8 and zener diode D1, and one end of divider resistance R8 connects direct current Power supply (+18V power supply), the cathode of other end connection zener diode D1 are single-chip microcontroller power supply, pressure stabilizing two as voltage output end The anode of pole pipe (D1) connects ground, and the cathode of zener diode D1 also passes through capacitor C1 and is grounded.
The input terminal of second controllable switch passes through the first resistor R1 being sequentially connected in series and second resistance R2 and DC power supply connects It connects (one end of second resistance R1 is connect with power supply line), output end connection ground, control terminal is connect to receive micro- place with microprocessor Manage the intermediate control signal of the output of device;
As the control signal output of pressure control circuit to export at the series connection of first resistor R1 and second resistance R2 Control signal.
Second controllable switch is CJ2302 type N-channel field-effect tube N1, and source electrode is as input terminal, and drain electrode is as output End, grid is as control terminal.
The input terminal connection of second controllable switch passes through the first resistor R1 being sequentially connected in series and second resistance R2 and direct current Source connection, output end connection ground, control terminal and microprocessor are connected to receive the intermediate control that the pin 9 of microprocessor exports and believe Number;
As the control signal output of pressure control circuit to export at the series connection of first resistor R1 and second resistance R2 Control signal.
When the pin 9 of microprocessor exports high level, the second controllable switch is connected, field-effect tube P1 source voltage and grid The difference of pole tension is greater than P-channel field-effect transistor (PEFT) pipe on state threshold voltage, and field-effect tube P1 is connected, the edge signal loaded on power supply line For high level;
When one output pin of microprocessor is low level, the second controllable switch cut-off, field-effect tube P1 source electrode The difference of voltage and grid voltage is less than P-channel field-effect transistor (PEFT) pipe on state threshold voltage, and field-effect tube P1 ends, and loads on power supply line Edge signal is low level.
Low level speed is switched to by high level to improve the edge signal loaded on power supply line, between power supply line and ground It is also serially connected with pull-down circuit, pull-down circuit is third controllable switch.
The input terminal of third controllable switch connects the power supply line, and output end connects describedly, and control terminal is connected with second Control circuit, second control circuit are opposite with the logic level of intermediate control signal.
Current-limiting resistance R6 is also connected between third controllable switch input terminal and the power supply line.
Third controllable switch is CJ2302 type N-channel field-effect tube N2 in the present embodiment, and source electrode is as input terminal, drain electrode As output end, grid is as control terminal.
Conveniently, second control circuit and third control circuit are all made of chip microcontroller, by field-effect tube N2 grid The pin 8 of pole connection EM78P153S single-chip microcontroller.
When the output of pin 9 of EM78P153S single-chip microcontroller is high level, led as the first controllable switch field-effect tube P1 Logical, at this point, the pin 8 of EM78P153S single-chip microcontroller exports low level, the field-effect tube N2 as third controllable switch ends, electricity The edge signal loaded on the line of source is down for high level.
At this point, if make EM78P153S single-chip microcontroller pin 9 export be low level when, as the first controllable switch field-effect Pipe P1 cut-off, at this point, the pin 8 of EM78P153S single-chip microcontroller exports high level, the field-effect tube N2 as third controllable switch is led Logical, power supply line is discharged by third controllable switch to ground, rapidly by the edge signal loaded on power supply line down for low level.
As it can be seen that the on-off of pull-down circuit is changeable, and in control signal by the edge signal that exports the first controllable switch Conducting when being switched to low level for high level, conversely, then disconnecting.
The present embodiment as between the grid and ground of the field-effect tube N1 of the second controllable switch connect pull down resistor R5, as Pull down resistor R7 is connected between the grid and ground of the field-effect tube N2 of third controllable switch.
Edge signal generator also serves as reference signal input terminal with networking control terminal in the present embodiment, and with networking control terminal The networking control signal received also serves as reference signal.Using 7 feet of single-chip microcontroller as edge signal generator in the present embodiment Networking control terminal.
Networking control terminal is also connected with networking control signal generation module, for generating networking according to corresponding outer signal Control signal.
It, should to realize that networking controls the matching of the outer signal of signal generation module and the voltage magnitude of networking control signal It includes voltage transformation module that networking, which controls signal generation module, for making the voltage magnitude of corresponding outer signal be transformed to second Preset value.Second preset value is 5V.
Conveniently, the networking control signal generation module of the present embodiment is an electricity realized based on current limliting bleeder circuit Pressure converter unit (i.e. networking control signal generation module is limited flow point volt circuit).
As shown in Figure 1, current limliting bleeder circuit includes 3rd resistor R3 (R3=13k Ω), the 4th resistance R4 being connected in series (R4=5k Ω), one end ground connection of the 4th resistance R4, using 3rd resistor R3 and the one end of the 4th resistance R4 concatenated as networking The output end for controlling signal generation module, connect, with 3rd resistor R3's with the networking control signal end of edge signal generator The other end controls the input terminal of signal generation module as networking to input corresponding outer signal.
When the outer signal input terminal of networking control signal generation module is hanging or ground connection, the input of 7 foot of single-chip microcontroller is low Level, ad-hoc network devices work in host mode;When the outer signal input termination high level of networking control signal generation module When, the input of 7 foot of single-chip microcontroller is high level, and ad-hoc network devices work in host mode.
When ad hoc network color lamp device is under slave mode, the edge signal that edge signal generator generates is joined with for generating The outer signal for examining signal is identical, according to whether reference signal input terminal, which is separately provided, is divided into the following two kinds situation:
(a) when reference signal input terminal is separately provided, edge signal and reference signal that edge signal generator generates The outer signal of generation module connection is identical;
(b) when reference signal input terminal is not separately provided, edge signal and group network control that edge signal generator generates The outer signal of signal generation module connection processed is identical.
Reference signal input terminal is not separately provided for ad hoc network color lamp device in the present embodiment, belong to situation (b) i.e. from Under machine mode, the edge signal that edge signal generator generates controls the outer signal phase that signal generation module is connect with networking Together.
As shown in Fig. 2, the LED driver of the present embodiment includes:
Edging trigger arithmetic element is triggered by power supply line edge signal and carries out operation, and exports operation result;
Charhing unit, the edge signal for being inputted according to power supply line provide power supply electrical level for edging trigger arithmetic element, It charges when edge signal is high level, discharges when edge signal is low level;
Initialization unit, for being initialized according to the power supply electrical level to edging trigger arithmetic element;
And LED drive circuit, the corresponding driving of operation result output for being exported according to edging trigger arithmetic element Signal is to drive corresponding LED lights group.The present embodiment LED drive circuit is 3 NMOS tubes, and each NMOS tube grid is corresponding to be connected The output end in edging trigger arithmetic element is connect, the source electrode of each NMOS tube connects the ground of LED driver, the drain electrode of each NMOS tube It is connected to the output end of LED driver.
Fig. 3 is the edging trigger arithmetic element of the present embodiment, including 3 d type flip flops in parallel and 3 arithmetical logics Unit exports operation result 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 Trigger F1, the second d type flip flop F2 and third d type flip flop F3, corresponding forward direction output end are respectively Q1, Q2 and Q3, corresponding Operation result is followed successively by Q1, Q2, Q3 from low to high.The triggering end of each d type flip flop respectively with arithmetic logic unit corresponding positions Output end connection, 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 connect with the output end of initialization unit, by first Beginningization unit carries out d type flip flop initially to set number.
Clock signal input terminal (including CK1, CK2 and CK3) is connect with power supply line, is touched by the edge signal of power supply line input Hair carries out arithmetical operation.
Edging trigger arithmetic element is three adders, the A group input terminal of the edging trigger arithmetic element in the present embodiment It is followed successively by A1, A2 and A3 from low to high, B group input terminal is followed successively by B1, B2 and B3 from low to high, and output end is followed successively by from low to high C1, C2 and C3.The A group input terminal of arithmetic logic unit connect respectively with the output end of the d type flip flop of corresponding positions (i.e. Q1 connect A1, Q2 meets A2, Q3 and meets A3).The external scheme control constant of B group input terminal.Scheme control constant can be set according to user demand Number.
Fig. 4 is the physical circuit of the charhing unit of the present embodiment, including the anode and power supply line of diode D, diode D connect It connects, by energy-storage travelling wave tube C ground connection, (charging capacitor is the metal-oxide-semiconductor equivalent capacity that source and drain is shorted, equivalent electricity to cathode in the present embodiment The size of appearance is 0.2 μ F).The cathode that entire charhing unit passes through diode D is edging trigger arithmetic element and initialization unit Power supply electrical level is provided.
Fig. 5 is the circuit diagram of initialization unit, including four metal-oxide-semiconductors, respectively p-channel metal-oxide-semiconductor T1, p-channel MOS Pipe T2, n-channel metal-oxide-semiconductor T3 and n-channel metal-oxide-semiconductor T4, the first phase inverter V1, the second phase inverter V2.Specific connection relationship is as follows:
The source electrode and drain electrode of metal-oxide-semiconductor T1 is connected to the cathode of diode D1 in charhing unit, the leakage of grid and metal-oxide-semiconductor T3 Pole connection, the grid of metal-oxide-semiconductor T3 are connect with the source electrode of metal-oxide-semiconductor T1, metal-oxide-semiconductor T3 source electrode ground connection.The grid and source electrode of metal-oxide-semiconductor T2 point It is not connect with the grid of metal-oxide-semiconductor T1 and source electrode, (size of current-limiting resistance is in the present embodiment after one current-limiting resistance R of drain series 500 Ω), connect with the grid of metal-oxide-semiconductor T4, and metal-oxide-semiconductor T4 drain electrode and source electrode respectively with the source electrode of metal-oxide-semiconductor T3 and connect.
The grid of metal-oxide-semiconductor T4 connects the first phase inverter V1 input terminal, and the output end of the first phase inverter V1 connects the second reverse phase Device V2 input terminal, output end of the output of the second phase inverter V2 as initialization unit are multiple to the output of edging trigger arithmetic element Position signal.
The working principle of the arithmetic operating apparatus of the power supply line edge signal triggering of the present embodiment is as follows:
When the arithmetic unit does not power on, charhing unit provide power supply electrical level be low level, at this time initialization unit and Edging trigger arithmetic element electricity shortage, entire arithmetic unit are unable to operation.
When arithmetic unit powers on, and when edge signal is high level, the energy-storage travelling wave tube C in charhing unit is electrically charged. In the sufficiently long situation of high level lasting time, power supply electrical level is high level, initialization unit and edge by low level overturning Arithmetic element is triggered by normal power supply.
At this point, the metal-oxide-semiconductor T3 in initialization unit is connected, metal-oxide-semiconductor T2 is connected, therefore, charhing unit can pass through limit Leakage resistance R charges to the metal-oxide-semiconductor T4 for being used as capacitor.In to metal-oxide-semiconductor T4 charging process, the voltage of metal-oxide-semiconductor T4 grid gradually increases Greatly, it completes to initialize after charging reaches so that the reset signal of the second phase inverter V2 output is overturn by low level to high level.
The output end of second phase inverter V2 is connect with the reset terminal of each d type flip flop in edging trigger arithmetic element, when When 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 the three adder B group input terminals of power supply line input in the present embodiment Scheme control constant operation result when being Binary Zero 01 time diagram, wherein operation result is using three d type flip flops The output signal of positive output end indicates.After power supply electrifying, logical zero, i.e. operation knot are reset in three d type flip flops of T time Fruit resets.At the rising edge E1 of edge signal, operation result is Binary Zero 01;It is risen on the power line along E2, operation result is Binary Zero 10;It is risen on the power line along E3, operation result is Binary Zero 11;It is risen on the power line along E4, operation result two System 100;It is risen on the power line along E5, operation result is binary one 01;Risen on the power line along E6, operation result be two into System 110;It is risen on the power line along E7, operation result is binary one 11;It is risen on the power line along E8, arithmetic unit overflows, operation It as a result is Binary Zero 00, the operation result of edging trigger arithmetic element takes in the LED driver of power supply line edge signal triggering Being worth range is 0~(23-1)。
In the present embodiment, the edging trigger arithmetic element operation in the same manner of the LED driver of all LED modules.
It include 4 LED modules, respectively M in the present embodiment1、M2、M3、M4, connect in a series arrangement between each other.
A kind of color lamp system, including the above-mentioned ad hoc network color lamp device of at least two, wherein at least one ad hoc network is color Networking that the networking control terminal of the edge signal generator of lamp device receives control signal makes its work in host mode always, Remaining ad hoc network color lamp device is sequentially connected in series after the described ad hoc network color lamp device, in two neighboring ad hoc network color lamp device The networking control signal of the latter generates to obtain according to the edge signal of previous output.
Fig. 7 is the color lamp system that 3 ad hoc network color lamp apparatus modules are constituted, latter in two neighboring ad hoc network color lamp device A networking control signal generates to obtain according to the edge signal of previous output, and specific connection relationship is as follows:
The input terminal of the networking control signal generation module for the ad hoc network color lamp device that number is 1 does not connect (i.e. outstanding It is empty), the networking control signal of corresponding networking control signal generation module output is low level, the color lamp dress that number is 1 at this time The operating mode set is in host mode;Output end (the ad hoc network control letter of the edge signal generator for the color lamp device that number is 1 Number generation module) connection number be 2 the networking of ad hoc network color lamp device control signal generation module, the color lamp dress that number is 2 The operating mode set is slave mode;(ad hoc network controls signal and generates mould the edge signal generator for the color lamp device that number is 2 Block) connect the ad hoc network control signal generation module for numbering the color lamp device for being 3, the operating mode for the color lamp device that number is 3 For slave mode.The color lamp device that color lamp device that color lamp device that number is 1, number are 2, number are 3 is connected in 18v in parallel Power supply.Color lamp device in color lamp system can also be connected by common ground between different electrical power by different power supply power supplies.
The color lamp system of the present embodiment, by using the edge signal that previous ad hoc network color lamp device exports as next The outer signal of the networking control signal generation module of ad hoc network color lamp device, the edge signal for generating edge signal generator It is identical as the edge signal that upper ad hoc network color lamp device generates, and then realize the ad hoc network of multiple color lamp devices.From group Net function makes to form large-scale color lamp system in large-scale decoration occasions with can be convenient;Networking is not needed in each color lamp device When, it is only necessary to the ad hoc network of the networking control terminal and previous stage color lamp device that disconnect the color lamp device controls signal generation module Connection.
Embodiment 2
As another implementation of ad hoc network color lamp device, as shown in figure 8, the ad hoc network color lamp of the present embodiment fills Set it is identical as the ad hoc network color lamp device in embodiment 1, except that the networking control terminal of edge signal generator and reference Signal input part separates, and wherein the external circuit of networking control terminal is same as Example 1, and the reference for receiving reference signal is believed Number input terminal connects a reference signal generation module, which is limited flow point volt circuit, specifically includes string Resistance R9 (resistance value is 13k ohm), the resistance R10 (resistance value is 5k ohm) of connection connection constitute voltage transformation module, with resistance R9 2 foot of single-chip microcontroller, the other end ground connection of resistance R10, using the other end of resistance R9 as ginseng are connected with the concatenation of resistance R10 point The outer signal input terminal of signal generation module is examined to input outer signal.Ad hoc network color lamp device in the present embodiment is individually set Reference signal input terminal is set, under slave mode, the edge signal and networking control signal that edge signal generator generates are generated The outer signal of module connection is identical.
Technical solution of the present invention and beneficial effect is described in detail in above-described specific embodiment, Ying Li Solution is not intended to restrict the invention the foregoing is merely presently most preferred embodiment of the invention, all in principle model of the invention Interior done any modification, supplementary, and equivalent replacement etc. are enclosed, should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of ad hoc network color lamp device based on the control of power supply line edge signal characterized by comprising
Edge signal generator, for generating edge signal and exporting the edge signal load on the power line;
Several LED modules, each LED module is including a LED lights group and for driving the LED according to power supply line edge signal The LED driver of color lamp group;
The edge signal generator is equipped with networking control terminal, for receiving networking control signal to control ad hoc network color lamp device Operating mode;
Ad hoc network color lamp device has two operating modes of host mode and slave mode, under slave mode, edge signal Generator generates edge signal according to the reference signal of input;Under host mode, edge signal generator is according to preset Basis signal forms edge signal.
2. the ad hoc network color lamp device as described in claim 1 based on the control of power supply line edge signal, which is characterized in that institute The edge signal generator stated is equipped with the reference signal input terminal for receiving reference signal.
3. the ad hoc network color lamp device as claimed in claim 2 based on the control of power supply line edge signal, which is characterized in that described Reference signal input terminal be also connected with a reference signal generation module, for according to corresponding outer signal generate with reference to letter Number.
4. the ad hoc network color lamp device as claimed in claim 3 based on the control of power supply line edge signal, which is characterized in that described Reference signal generation module include voltage transformation module, it is pre- for making the voltage magnitude of corresponding outer signal be transformed to first If value.
5. the ad hoc network color lamp device as described in claim 1 based on the control of power supply line edge signal, which is characterized in that institute The edge signal generator stated also serves as reference signal input terminal, and the group network control received with networking control terminal with networking control terminal Signal processed also serves as reference signal.
6. the ad hoc network based on the control of power supply line edge signal as described in any one of claim 2~5 claim is color Lamp device, which is characterized in that the networking control terminal is also connected with networking control signal generation module, for according to corresponding Outer signal generates networking and controls signal.
7. the ad hoc network color lamp device as claimed in claim 6 based on the control of power supply line edge signal, which is characterized in that described Networking control signal generation module include voltage transformation module, for making the voltage magnitude of corresponding outer signal be transformed to the Two preset values.
8. the ad hoc network color lamp device as claimed in claim 7 based on the control of power supply line edge signal, which is characterized in that described Voltage transformation module based on current limliting bleeder circuit realize.
9. as claimed in claim 6 based on power supply line edge signal control ad hoc network color lamp device, which is characterized in that from Under machine mode, the edge signal that edge signal generator generates is identical as generating the outer signal of reference signal.
10. a kind of color lamp system, which is characterized in that including several as described in any one of claim 5~9 claim Ad hoc network color lamp device, wherein the networking of the edge signal generator of at least one ad hoc network color lamp device controls termination The networking control signal received makes its work in host mode always, remaining ad hoc network color lamp device is sequentially connected in series described from group After net color lamp device, the networking of the latter controls signal according to the side of previous output in two neighboring ad hoc network color lamp device It generates to obtain along signal.
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 CN107404783A (en) 2017-11-28
CN107404783B true 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)

Families Citing this family (3)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM307928U (en) * 2006-07-10 2007-03-11 Silicon Touch Tech Inc Control circuit for automatically generating latch signal to control LED device according to input data signal and clock signal
CN104780686B (en) * 2015-04-20 2018-03-16 杭州昀芯光电科技有限公司 The shift unit and LED driver of power line edge signal triggering
CN104507218B (en) * 2014-12-15 2017-03-15 罗小华 Based on the color lamp device that power line edge signal is controlled
CN105114850B (en) * 2015-08-29 2017-11-24 台州海之大电子科技有限公司 A kind of LED string for selecting light-emitting mode

Also Published As

Publication number Publication date
CN107404783A (en) 2017-11-28

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
CN107404783B (en) Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal
CN103460801A (en) Led light source
CN104981060A (en) Linear constant-current LED driving device capable of lowering quantity of lampwicks
CN208539785U (en) A kind of negative voltage regulator circuit
CN105493628B (en) Edge signal counting device and led driver
CN104780686B (en) The shift unit and LED driver of power line edge signal triggering
CN104635569B (en) A kind of multimode sequential control circuit
CN204482081U (en) A kind of LED switch dimming color-temperature regulating circuit
CN206831438U (en) LED lamp bead and the LED lamp using the LED lamp bead
CN205793546U (en) A kind of constant current driver circuit for LED and LED light device
CN204859619U (en) Can reduce linear constant current LED drive arrangement of wick quantity
CN208834723U (en) Multi-channel LED backlight drive circuit and LCD TV
CN202652594U (en) Light emitting diode driver possessing protection path
CN207491270U (en) LED light control circuit and LED light
CN204305420U (en) Based on the color lamp device that power line edge signal controls
CN102105004B (en) Multi-light source control circuit
CN202385361U (en) Improved single-color LED lamp string control device
CN207518898U (en) LED flashing lights control circuit, chip and LED lamp
CN203206567U (en) LED lamp adjustment and control system
CN207490252U (en) A kind of double Type-C interfaces charging data lines
CN202679708U (en) LED (light emitting diode) driving circuit
CN206894218U (en) Washing machine and the short-circuit protection circuit for it

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