Background technology
Led light source more and more receives people's attention as a kind of emerging energy-saving light source, and various control system to LED are multifarious, but the core technology of its communication is nothing more than following three kinds:
One:, comprise that the product of modal on the market DMX512 bus all belongs to this type based on the Communication Control scheme of RS485 physical bus.See also Fig. 1; Be shown as the control system network diagram of LED of the prior art, as shown in the figure, it comprises a plurality of nodes 23; Each node comprises a bus transceiver terminal 20, incoming line 21 and output line 22; Incoming line 21 and output line 22 be a pair of asynchronous communication interface of connecting bus transceiver terminal 20 internal microprocessors (MCU) respectively, i.e. receiving port RX and delivery outlet TX, and the incoming line 21 and the output line 22 of network node 23 all are to be articulated on the network 24 with bus form; The advantage of this series products is that transmission range is far away, receives the quantity and the internodal distance affects of light fixture of light fixture node but its maximum shortcoming is a communication speed.Because the output of signal will drive a lot of signal receiving nodes, influence each other easily between a plurality of nodes, particularly during many, the circuit length of number of nodes, signal reflection problem can increase the weight of, even causes network paralysis.Increasing the quantity of light fixture node or prolonging internodal distance just to lean on expansion relays equipment or reduction communication speed to guarantee.And, adopt the equipment of RS485 bus before using, must give every address code that apparatus settings is unique, and need be provided with one by one each equipment usually, operate pretty troublesomely, just lack flexibility when using so at the scene.
Two: adopt the controlling schemes of serial shift communication and control technology, this type of scheme is used widely in the LED large-screen, also extends to now in a lot of light products.Its advantage is that cost is low, and has higher transmission rate, is convenient to realize the animation effect of enriching.But the maximum shortcoming of this type of scheme is: owing to adopt TTL (Transistor-Transistor Logic; Transistor-transistor logic) level transmissions; And be many holding wires, comprising clock signal, data-signal, latch signal or the like, circuit has been grown to cause between signal easily and has been misplaced; So communication distance is very near, can only within several meters, transmit; And this system can produce bigger phase shift to clock signal when communication cable is longer, and this phase shift meeting produces accumulated error along with the increase of node cascade quantity, and is out of control up to fully.Because in distributed view light was used, the distance between the light fixture node was often all bigger, therefore the application of this system has significant limitation.
Three: the mechanics of communication controlling schemes that adopts the single line network.The advantage of this type of scheme is that connection cable core number significantly reduces, if holding wire add one just can communication with reference to ground wire.But just adopt the product of single line control at present; Basically all be based on the basis realization that signal shaping drives, more for a long time, the phase deviation of each grade generation can reach the accumulative total limit in cascade quantity; Cause the stability of a system to descend; Even more serious is that owing to adopt the single line chain type topological structure, the fault of middle any node all can cause the interruption of back level signal and large stretch of light-off phenomenon occur.
Thereby, how a kind of node apparatus of the LED of being used for lamp light controlled network is provided, solving the many disadvantages of LED lamp light controlled network in the prior art, become the technical problem that this area practitioner needs to be resolved hurrily in fact.
Summary of the invention
The shortcoming of prior art in view of the above; The object of the present invention is to provide a kind of node apparatus and LED light network topology structure of the LED of being used for lamp light controlled network, be used for solving prior art LED control system drive node number few, drive that distance is short, the cable core number is many, data traffic is little and node failure of chain network topological structure causes problems such as large stretch of node is out of control.
For realizing above-mentioned purpose and other relevant purposes, the present invention provides a kind of node apparatus of the LED of being used for lamp light controlled network, and the one of which end connects signal input line, and the other end connects output line, and said node apparatus comprises at least:
The signal codec module; Resolve after being used to receive said signal input line data sent bag; And extract with data that self address is complementary after the regeneration data format identical with said packet, export by said output line as the playback of data bag;
Discrimination module connects said signal codec module, detects the input and the output of said signal codec module, output drive signal when no signal inputs or outputs in the time period that the input or the output of the said signal codec module of differentiation are being preset;
First by-pass switch; Be connected between the input of said signal input line and said signal codec module; Has first moving contact that connects said signal input line; The first normality contact that connects the input of said signal codec module, and the first bypass contact, said first by-pass switch its first moving contact under normal conditions are connected with the said first normality contact; When said first by-pass switch received said drive signal, said first moving contact jumped to the said first bypass contact;
Second by-pass switch; Be connected between the output of said output line and said signal codec module; Has second moving contact that connects said output line; The second normality contact that connects the output of said signal codec module, and the second bypass contact, and said second by-pass switch under normal conditions its second moving contact be connected with the said second normality contact; When said second by-pass switch received said drive signal, said second moving contact jumped to the said second bypass contact;
Straight-through cable, an end connects the said first bypass contact, and the other end connects the said second bypass contact.
The present invention also provides a kind of LED light network topology structure, comprising:
Signal input line;
A plurality of node apparatus connect said signal input line, and each node apparatus comprises:
The signal codec module; Resolve after being used to receive said signal input line data sent bag; And extract with data that self address is complementary after the regeneration data format identical with said packet, export by said output line as the playback of data bag;
Discrimination module connects said signal codec module, detects the input and the output of said signal codec module, output drive signal when no signal inputs or outputs in the time period that the input or the output of the said signal codec module of differentiation are being preset;
First by-pass switch; Be connected between the input of said signal input line and said signal codec module; Has first moving contact that connects said signal input line; The first normality contact that connects the input of said signal codec module, and the first bypass contact, said first by-pass switch its first moving contact under normal conditions are connected with the said first normality contact; When said first by-pass switch received said drive signal, said first moving contact jumped to the said first bypass contact;
Second by-pass switch; Be connected between the output of said output line and said signal codec module; Has second moving contact that connects said output line; The second normality contact that connects the output of said signal codec module, and the second bypass contact, and said second by-pass switch under normal conditions its second moving contact be connected with the said second normality contact; When said second by-pass switch received said drive signal, said second moving contact jumped to the said second bypass contact;
Straight-through cable, an end connects the said first bypass contact, and the other end connects the said second bypass contact;
Output line; One end connects second moving contact of the node apparatus that is positioned at upper level; The other end connects first moving contact of the node apparatus that is positioned at next stage, is used for the playback of data bag that the node apparatus that is positioned at upper level sends is transferred to the node apparatus that is positioned at next stage;
Ground wire connects said even higher level of node device and next stage node apparatus.
As stated, node apparatus and the LED light network topology structure that is used for the LED lamp light controlled network of the present invention has following beneficial effect:
Each node can both be monitored the input/output state of oneself automatically, interrupts in case abnormal signal occurs, starts bypass circuit immediately; This node is broken away from network and signal is led directly to the back level, owing to be the chain network topological structure, only two the node communications adjacent of each node with it; Therefore, the signal driving force increases greatly, can drive longer distance and more number of nodes; And; Required cable core number is few and data traffic is big, can also realize the automatic address distribution function, reduces the workload of construction greatly.Specifically:
1. whether correct each node all have one to input signal and output signal discriminating gear, in case detect the abnormal information of signal transmission, immediately with the input and output signal bypass, and this malfunctioning node broken away from network.The fault of individual nodes can not have influence on the node of back level like this.
2. even certain node power is lost, this signal bypass circuit is timely switching signal path also, and signal bypass commutation circuit still can work when guaranteeing loss of power.
3. each node only carries out single-point with its next node and sends data, and concerning sending node, its offered load is very light, can transmit fartherly or adopts higher speed communication.
4. the refile of each node of process; Be equivalent to each node and all become a repeater; Redispatch away after signal regenerated again, there is not accumulative total phase deviation distortion in signal waveform, so just can drive more number of nodes; Adopt the shaping mode to drive output unlike the present chip of main flow, can cause the accumulative total of phase deviation like this and have a strong impact on the stability of a system and cascade driving capability.
5. owing to be the chain network topological structure, can realize the automatic address distribution function easily, bring very big convenience to site operation.
Embodiment
Below through specific instantiation execution mode of the present invention is described, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this specification disclosed.The present invention can also implement or use through other different embodiment, and each item details in this specification also can be based on different viewpoints and application, carries out various modifications or change under the spirit of the present invention not deviating from.
See also Fig. 2 and Fig. 4.Need to prove; The diagram that is provided in the present embodiment is only explained basic conception of the present invention in a schematic way; Satisfy only show in graphic with the present invention in relevant assembly but not component count, shape and plotted when implementing according to reality; Kenel, quantity and the ratio of each assembly can be a kind of random change during its actual enforcement, and its assembly layout kenel also maybe be more complicated.
Embodiment one
See also Fig. 2, be shown as the node apparatus configuration diagram that the present invention is used for the LED lamp light controlled network.As shown in the figure; The present invention provides a kind of node apparatus 3b of the LED of being used for lamp light controlled network; The one of which end connects signal input line 1; The other end connects output line 5, in the present embodiment, said node apparatus 3b in order to resolve control command with control respectively respectively this LED light modules carry out light, extinguish, brightness regulation or colour temperature regulate operation and be used to monitor and to the respectively operating state of this LED light modules of control centre's its control of feedback.Said node apparatus 3b comprises at least: signal codec module 31, discrimination module 32, the first by-pass switches 33, the second by-pass switches 34, and straight-through cable 35.
Said signal codec module 31 is resolved after being used to receive said signal input line 1 data sent bag; And extract with data that self address is complementary after the regeneration data format identical with said packet, as the playback of data bag by said output line 5 outputs; In other words; After receiving the packet that carries control command, said signal codec module 31 resolves; Stay the serial data that is complementary with self address, the serial data of back node is regenerated the back again by said output line 5 outputs, so there is not accumulative total phase deviation distortion in signal waveform; And then avoided available technology adopting shaping mode to drive output, the accumulative total of phase deviation be can cause like this and the stability of a system and cascade driving capability had a strong impact on.In the present embodiment, said signal codec module 31 comprises microcontroller (MUC).
Said discrimination module 32 connects said signal codec module 31; Detect the input and the output of said signal codec module 31, output drive signal when no signal inputs or outputs in the time period that the input or the output of the said signal codec module 31 of differentiation are being preset; In the present embodiment, said discrimination module 32 preset sections detection time are 1 ~ 500ms, but are not limited thereto, and to different application environments, said discrimination module 32 preset Duan Yike detection time adjust.
In the implementation process of reality, the operating state of said discrimination module 32 has several kinds of situation:
1. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period of 500ms) detection is less than the output signal in the certain hour of input signal is arranged; Declarative section point apparatus 3b has fault; Can't regenerated signal, then discriminating gear 32 will be exported a drive signal.
2. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example being in the time period of 500ms) detects the output signal in the certain hour of input signal is arranged; Then declarative section point apparatus 3b can normally resolve; Also can regenerated signal, then discriminating gear 32 will keep original output state.
3. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period for 500ms) said discrimination module 32 detects the output signal in the certain hour of no signal input; Then declarative section point apparatus 3b output signal comes through straight-through cable 35; Said node apparatus 3b is in bypass condition, and then discriminating gear 32 makes first, second by- pass switch 33,34 still be in bypass condition.
4. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period for 500ms) said discrimination module 32 does not detect the output signal yet in the certain hour of no signal input; Explanation might be that the server of control centre does not send data; Network is in idle condition, and then this moment, discriminating gear 32 outputs drove first, second by- pass switch 33,34 to normal condition, waited pending data to arrive and judged.
Said first by-pass switch 33 is connected between the input of said signal input line 1 and said signal codec module 31; Has the first moving contact a that connects said signal input line 1; The first normality contact b that connects the input of said signal codec module 31; And the first bypass contact c; Said first by-pass switch 33 its first moving contact a under normal conditions is connected with the said first normality contact b, and when said first by-pass switch 33 received said drive signal, the said first moving contact a jumped to the said first bypass contact c.
Said second by-pass switch 34 is connected between the output of said output line 5 and said signal codec module 31; Has the second moving contact a ' that connects said output line 5; The second normality contact b ' that connects the output of said signal codec module 31; And the second bypass contact c '; And said second by-pass switch 34 its second moving contact a ' under normal conditions is connected with the said second normality contact b ', and when said second by-pass switch 34 received said drive signal, the said second moving contact a ' jumped to the said second bypass contact c '.
In the present embodiment, said first by-pass switch 33 and second by-pass switch 34 are miniature relay or electronic switch.
Said straight-through cable 35 1 ends connect the said first bypass contact c; The other end connects the said second bypass contact c '; Promptly when the said first bypass contact c is communicated with the second normality contact b ' with the first normality contact b and the said second bypass contact c '; Then said signal codec module 31 breaks away from network, and signal is by said straight-through cable 35 short circuits.
Node apparatus 3b of the present invention can monitor the input/output state of oneself automatically, interrupts in case abnormal signal occurs, starts by-pass switch immediately; This node apparatus 3b is broken away from network and with the straight-through back of signal level, then can realize chain network topological structure (holding the back details) thus, realize only former and later two node apparatus 3as and the 3c communication adjacent of each node apparatus 3b with it; Therefore, the signal driving force increases greatly, can drive longer distance and more number of nodes; And; Required cable core number is few and data traffic is big, can also realize the automatic address distribution function, reduces the workload of construction greatly.
Embodiment two
The present invention also provides a kind of LED light network topology structure based on above-mentioned node apparatus, comprising: signal input line 1, a plurality of node apparatus 3a, 3b, and 3c, output line 5, and ground wire 7.
Each node apparatus 3a, 3b or 3c include: signal codec module 31, discrimination module 32, the first by-pass switches 33, the second by-pass switches 34, and straight-through cable 35.
Said signal codec module 31 is resolved after being used to receive said signal input line 1 data sent bag; And extract with data that self address is complementary after the regeneration data format identical with said packet, as the playback of data bag by said output line 5 outputs; In other words; After receiving the packet that carries control command, said signal codec module 31 resolves; Stay the serial data that is complementary with self address, said output line 5 outputs after the serial data of back node is regenerated again, so there is not accumulative total phase deviation distortion in signal waveform; And then avoided available technology adopting shaping mode to drive output, the accumulative total of phase deviation be can cause like this and the stability of a system and cascade driving capability had a strong impact on.In the present embodiment, said signal codec module 31 comprises microcontroller (MUC).
Said discrimination module 32 connects said signal codec module 31; Detect the input and the output of said signal codec module 31, output drive signal when no signal inputs or outputs in the time period that the input or the output of the said signal codec module 31 of differentiation are being preset; In the present embodiment, said discrimination module 32 preset sections detection time are 1 ~ 500ms, but are not limited thereto, and to different application environments, said discrimination module 32 preset Duan Yike detection time adjust.
In the implementation process of reality, the operating state of said discrimination module 32 has several kinds of situation:
1. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period of 500ms) detection is less than the output signal in the certain hour of input signal is arranged; Declarative section point apparatus 3b has fault; Can't regenerated signal, then discriminating gear 32 will be exported a drive signal.
2. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example being in the time period of 500ms) detects the output signal in the certain hour of input signal is arranged; Then declarative section point apparatus 3b can normally resolve; Also can regenerated signal, then discriminating gear 32 will keep original output state.
3. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period for 500ms) said discrimination module 32 detects the output signal in the certain hour of no signal input; Then declarative section point apparatus 3b output signal comes through straight-through cable 35; Said node apparatus 3b is in bypass condition, and then discriminating gear 32 makes first, second by- pass switch 33,34 still be in bypass condition.
4. said discriminating gear 32 detects the level state of said signal codec module 31 inputs and output respectively; If (for example in the time period for 500ms) said discrimination module 32 does not detect the output signal yet in the certain hour of no signal input; Explanation might be that the server of control centre does not send data; Network is in idle condition, and then this moment, discriminating gear 32 outputs drove first, second by- pass switch 33,34 to normal condition, waited pending data to arrive and judged.
Said first by-pass switch 33 is connected between the input of said signal input line 1 and said signal codec module 31; Has the first moving contact a that connects said signal input line 1; The first normality contact b that connects the input of said signal codec module 31; And the first bypass contact c; Said first by-pass switch 33 its first moving contact a under normal conditions is connected with the said first normality contact b, and when said first by-pass switch 33 received said drive signal, the said first moving contact a jumped to the said first bypass contact c.
Said second by-pass switch 34 is connected between the output of said output line 5 and said signal codec module 31; Has the second moving contact a ' that connects said output line 5; The second normality contact b ' that connects the output of said signal codec module 31; And the second bypass contact c '; And said second by-pass switch 34 its second moving contact a ' under normal conditions is connected with the said second normality contact b ', and when said second by-pass switch 34 received said drive signal, the said second moving contact a ' jumped to the said second bypass contact c '.
In the present embodiment, said first by-pass switch 33 and second by-pass switch 34 are miniature relay or electronic switch.
Said straight-through cable 35 1 ends connect the said first bypass contact c; The other end connects the said second bypass contact c '; Promptly when the said first bypass contact c is communicated with the second normality contact a ' with the first normality contact a and the said second bypass contact c '; Then said signal codec module 31 breaks away from network, and signal is by said straight-through cable 35 short circuits.
Said output line 5 one ends connect the second moving contact a ' of the node apparatus 3a that is positioned at upper level; The other end connects the first moving contact a of the node apparatus 3c that is positioned at next stage, is used for the playback of data bag that the node apparatus 3a that is positioned at upper level sends is transferred to the node apparatus 3c that is positioned at next stage;
Said ground wire 7 connects said even higher level of node device 3a and next stage node apparatus 3c.
Be further to set forth principle of the present invention and effect, see also on the basis of Fig. 3 and consult Fig. 4 a and Fig. 4 b that in the application process of reality, the operating state of said node apparatus has following several kinds of situation:
1. said discrimination module does not detect the output signal in the certain hour of signal input if having; Declarative section is decorated and is equipped with fault; Can't regenerated signal; Then discriminating gear starts first, second bypass diverter switch to bypass condition, let input signal by said direct-through line to next node, guarantee that the node of back can continue to obtain signal.
2. said discrimination module detects the output signal in the certain hour of signal input if having, and the declarative section point apparatus can normally be resolved, also can regenerated signal, and then discriminating gear output makes first, second bypass diverter switch still be in normal condition.
3. if said discrimination module detects the output signal in the certain hour of no signal input; Declarative section point apparatus output signal is straight-through and next; Said node apparatus is in bypass condition, and then discriminating gear makes first, second bypass diverter switch still be in bypass condition.
4. if said discrimination module does not detect the output signal yet in the certain hour of no signal input; Explanation might be that the server of control centre does not send data; Network is in idle condition; Then this moment, discriminating gear output drove first, second bypass diverter switch to normal condition, waited pending data to arrive and judged.
Adopt after this by pass mechanism, the reliability model that has thoroughly changed the chain network topological structure is the critical defect of cascaded structure, and it is reliable just as bus type to make it should use reliability; And even a lot of aspects surpass bus type, distribute the address automatically such as realizing, this is that bus type can't be realized; This function can greatly reduce the workload of job site; And this bus structures are easy to the investigation problem when breaking down, and badly just find problem as long as find; Single failure name a person for a particular job bus signals clamper or interference sometimes also can appear unlike bus type; Cause whole unstable networks, the situation that phenomenon is intangible is difficult to find the fault point.And because each node of this bus structures is only followed two somes communication of its consecutive points, and offered load is very light, communication speed and communication distance can increase greatly; Node signal in this bus has adopted regenerative system; Can produce a new signal waveform again after each decoding; Be equivalent to each grade node apparatus and all handle through school zero, after many again nodes, waveform still as before; Driving force is very powerful, and as long as a holding wire can be connected two points with a ground wire.
In sum, node apparatus and the LED light network topology structure that is used for the LED lamp light controlled network of the present invention, each node apparatus can both be monitored the input/output state of oneself automatically; Interrupt in case abnormal signal occurs, start bypass circuit immediately, this node apparatus is broken away from network and signal is led directly to the back level; Since be the chain network topological structure, only two the node communications adjacent of each node apparatus with it, therefore; The signal driving force increases greatly, can drive longer distance and more number of nodes, and; Required cable core number is few and data traffic is big, can also realize the automatic address distribution function, reduces the workload of construction greatly.So the present invention has effectively overcome various shortcoming of the prior art and the tool high industrial utilization.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any be familiar with this technological personage all can be under spirit of the present invention and category, the foregoing description is modified or is changed.Therefore, have common knowledge the knowledgeable in the affiliated such as technical field, must contain by claim of the present invention not breaking away from all equivalence modifications of being accomplished under disclosed spirit and the technological thought or changing.