Background technology
LED is high with luminous efficiency, color rendering good, high, the easy realization of long service life, reliability controls and multicoloured feature is more and more subject to people's attention, street lamp is as the Symbol in a city, day by day become a line of scenery line in city, particularly increasing country all formulates the regulation of energy-saving and emission-reduction and the specification of lighting criteria recently, has more effectively promoted the development in LED intelligent lamp market.
But, along with the fast development in LED illumination market, one large focal spot of LED intelligent lamp market Cheng Liaozhong enterprise contention share, due to authoritative technical standard develop delayed, cause the very different of whole LED intelligent lamp industry, make a general survey of current cable network LED intelligent lamp control system, particularly Modular LED intelligent lamp control system, substantially be all that all LED intelligent lamp modules hang on same fieldbus, the problem brought like this is, when module number is more, considerably increase the load of bus, and, some modules are if there is fault, just likely have influence on the reliability of whole network.Also have a large amount of LED intelligent lamp not with central control system in addition, although this kind of intelligent lamp some with light sensor and other intelligent diagnostics regulatory functions, owing to there is no center-control, can only fight separately, be not easy to centralized management.For this reason, need to carry out site controling management to those LED intelligent lamps, then propose one by least one main controller and several are from control device and by the solution connecting to form LED intelligent lamp control system of fieldbus.
In controlling at the scene, particularly master & slave control field, applying maximum is parallel bus, and namely all controllers are all connected in bus, not only can bear causing bus, and then need relaying when communication distance is far away; In addition, network node is many also to be needed to amplify shaping to signal, and each controller needs in advance address to be write, and controls to get up extremely to bother.A kind of each controller is also had to have one to send and a reception, hand-in-hand subsequent, the reliability of whole network is directly had influence on after a controller breaks down, in the application of reality, if only have a controller to break down, just can cause and damage a sheet of illusion, fault-tolerant ability is very poor.
Thus, how a kind of on-site bus control apparatus for LED intelligent lamp is provided, to solve LED field bus control system of the prior art not manageability, the many disadvantages such as communication distance is limited, fault-tolerant ability is very poor, become practitioner in the art's technical problem urgently to be resolved hurrily in fact.
Utility model content
The shortcoming of prior art in view of the above, the purpose of this utility model is to provide a kind of on-site bus control apparatus, in order to solve LED field bus control system of the prior art not manageability, the variety of problems such as communication distance is limited, fault-tolerant ability is very poor.
For achieving the above object and other relevant objects, the utility model provides a kind of on-site bus control apparatus, at least comprises:
For sending controling instruction and/or the main control module receiving feedback data, described main control module comprises the intelligent controller that main control server is connected by WIFI with multiple and described main control server; Described main control server comprises and described control command is compiled into for it WIFI unit that the data-signal that meets WIFI communication protocol transfers out; Described intelligent controller comprises, for it, described feedback data is compiled into the 2nd WIFI unit that the data-signal meeting WIFI communication protocol transfers to described main control server; Be connected with one or more LED module, for the control command that sends according to described main control module control LED module and/or for send acquisition feedback data to described main control module from control module; Described from control module comprise multiple connect respectively one or more LED module from controller; Describedly comprise first from controller, second from controller from controller ... N-1 is from controller and N from controller.
Preferably, the holding wire of intelligent controller described in each at least directly connects first from controller, second from controller and/or rear from controller, the 3rd from controller and/or rear two from controller; The described holding wire from one controller from controller at least directly connects with adjoin from this controller rear one from controller and/or rear two from controller and/or rear three from controller.
Preferably, described intelligent controller has for sending controling instruction and/or the first main communication port and the second main communication port that receive feedback data; The control command that respectively should be used for sending according to described main control module from controller controls its LED module and/or for sending from the feedback data of acquisition to described master controller, respectively all should have first from communication port, second from communication port from controller, and the 3rd from communication port.
Preferably, described first from first of controller from communication port connect described first main communication port, second from communication port connect described second main communication port, the 3rd from communication port be connected to be adjacent second from second of controller from communication port; And first from second of controller from communication port also connect be adjacent second from first of controller from communication port; Second from second of controller from communication port connect be adjacent rear one from first of controller from communication port, second from the 3rd of controller from communication port connect be adjacent rear one from second of controller from communication port.
Preferably, the first main communication port and the second main communication port of described intelligent controller are the transmit port of sending controling instruction, also for receiving the receiving port of feedback data.
Preferably, describedly multiplely comprise second priority level that a limit priority successively decreases successively from controller and multiple priority from controller from controller, described multiple second priority levels adjoin from controller successively according to the priority of successively decreasing successively.
Preferably, describedly the sub-control unit be connected with described LED module is comprised from controller.
Preferably, each communication port connects by holding wire, and described holding wire is RS485 holding wire, RS422 holding wire or CAN signal line.
As mentioned above, on-site bus control apparatus described in the utility model, has following beneficial effect:
In on-site bus control apparatus of the present utility model, each controller has different priority levels, automatically can write address, and Installation and Debugging are convenient, and both-way communication can feed back.And only otherwise need repeater can regenerate signal, can the infinity of Signal transmissions.Importantly, one in on-site bus control apparatus of the present utility model be out of order from controller after, now in network other controllers by the impact of node failure.Master control is diagnosed from controller between needing at one's leisure, once overhaul in time after having networking to break down, owing to there is preliminary data line, thus ensure that equipment can also normally work, adds redundancy.
Accompanying drawing explanation
Fig. 1 is shown as the theory structure schematic diagram of the utility model on-site bus control apparatus.
Fig. 2 is shown as the utility model on-site bus control apparatus structural representation in one embodiment.
Fig. 3 is shown as the control command of master controller transmission to each data flow diagram from controller.
Fig. 4 be shown as each from controller feedback data to the data flow diagram of master controller.
Element numbers explanation
1 on-site bus control apparatus
11 main control modules
12 from control module
111 main control servers
112 intelligent controllers
The main communication port of 112a first
The main communication port of 112b second
1111 the one WIFI unit
1121 the 2nd WIFI unit
121 from controller
1211 first from controller
1212 second from controller
1213 the 3rd from controller
1214 the 4th from controller
1211a first is from first of controller
From communication port
1212a second is from first of controller
From communication port
1213a the 3rd is from first of controller
From communication port
1214a the 4th is from first of controller
From communication port
1211b first is from second of controller
From communication port
1212b second is from second of controller
From communication port
1213b the 3rd is from second of controller
From communication port
1214b the 4th is from second of controller
From communication port
1211c first is from the 3rd of controller the
From communication port
1212c second is from the 3rd of controller the
From communication port
1213c the 3rd is from the 3rd of controller the
From communication port
1214c the 4th is from the 3rd of controller the
From communication port
Embodiment
Below by way of specific instantiation, execution mode of the present utility model is described, those skilled in the art the content disclosed by this specification can understand other advantages of the present utility model and effect easily.The utility model can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present utility model.
Refer to Fig. 1 to Fig. 3.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present utility model in a schematic way, then only the assembly relevant with the utility model is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The utility model provides a kind of on-site bus control apparatus 1, refer to Fig. 1, be shown as the theory structure of on-site bus control apparatus, described on-site bus control apparatus 1 at least comprises: main control module 11 and from control module 12, and wherein said main control module 11 comprises the intelligent controller 112 that main control server 111 is connected by WIFI with multiple and described main control server.Described main control server 111 comprises a WIFI unit, also comprises a WIFI unit in multiple intelligent controller 112 in each intelligent controller 112.Described comprise from control module 12 multiple from controller 121.Described main control server 111 comprises and described control command is compiled into for it WIFI unit 1111 that the data-signal that meets WIFI communication protocol transfers out; Described intelligent controller 112 comprises, for it, described feedback data is compiled into the 2nd WIFI unit 1121 that the data-signal meeting WIFI communication protocol transfers to described main control server;
Described main control module 11 is for sending controling instruction and/or receive feedback data.Described main control server 111 is for carrying out the operating state of the local all LED modules of management and supervision by sending controling instruction or reception feedback data, it is arranged on the control centre of described main control module.Described intelligent controller 112 is for transmitting control command or feedback data, and it is described main control server 111 and the communication bridge from controller 121.Control command is compiled into the data-signal meeting WIFI communication protocol and is sent to described intelligent controller 112 by a WIFI unit 1111 by the main control server in described main control module 11 when sending controling instruction, transferred out after described intelligent controller 112 receives control command.Described feedback data is compiled into the data-signal meeting WIFI communication protocol and is sent to described main control server 111 so that the operating state of the local LED module of management and supervision by the 2nd WIFI unit 1121 by intelligent controller 112 described in described main control module 11 after receiving feedback data.
Describedly to be connected from control module 12 with one or more LED module, the control command for sending according to described main control module 11 control LED module and/or for send acquisition feedback data to described main control module 11.Described from control module 12 comprise multiple connect respectively one or more LED module from controller 121; Described from controller 121 comprise first from controller, second from controller ... N-1 is from controller and N from controller.The holding wire of intelligent controller 112 described in each at least directly connects first from controller, second from controller and/or rear from controller, the 3rd from controller and/or rear two from controller; The described holding wire from one controller from controller at least directly connects with adjoin from this controller rear one from controller and/or rear two from controller and/or rear three from controller.
In the present embodiment, main control server in described main control module, such as being arranged on computer or the server of control centre, be used for by sending controling instruction or the operating state of its local all LED modules of mode management and supervision receiving feedback data.Describedly comprise the sub-control module be connected with described LED module from controller, in order to resolve to control command with control respectively respectively this LED intelligent lamp perform light, extinguish, brightness regulation or colour temperature regulate operation.
Described intelligent controller 112 has for sending controling instruction and/or the first main communication port and the second main communication port that receive feedback data; In the present embodiment, when described main control module 11 has for sending controling instruction, first main communication port and the second main communication port of described intelligent controller 112 are transmit port, when described main control module 11 receives feedback data, the first main communication port and the second main communication port of described intelligent controller 112 are receiving port.
In the present embodiment, the control command that described main control module 11 sends also comprises to each control command from controller allocation address, described main control module 11, according to giving each address distributed from controller 121 to respectively carrying out control and management from controller, realizes the exchange of data and order.
Described multiplely connect a LED module (diagram) respectively from controller 121, the control command that respectively should be used for sending according to described main control module 11 from controller control its LED module perform light, extinguished, brightness regulation or colour temperature regulate operation and/or for sending the feedback data that captures from described LED module to described master controller, describedly comprise first from controller, second from controller from controller 121 ... N-1 is from controller and N from controller, it should be noted that, herein N >=3.
It should be noted that, according to the actual interface quantity of described intelligent controller 112, the holding wire of described intelligent controller 112 can also directly connection first from controller, second from controller ... N-1 is from controller and N from controller; Correspondingly, described first from the holding wire of controller at least directly connect second from controller and with described second from controller adjacent rear one from controller, rear two from controller ... N-1 is from controller and N from controller.
In the present embodiment, describedly to comprise first from controller 1211, second from controller 1212 from controller 121, the 3rd to be described for example from controller 1214 from controller 1213 and the 4th, be respectively second shown in Fig. 2 from controller 1212, the 3rd from controller 1213, the 4th from controller 1214.Respectively all should have first from communication port, second from communication port from controller, and the 3rd from communication port.
In the present embodiment, above-mentioned each communication port connects by holding wire, and described holding wire is such as the bus of RS485 holding wire, RS422 holding wire, CAN signal line or other types.
Refer to Fig. 2, be shown as the utility model on-site bus control apparatus structural representation in one embodiment, as shown in the figure, described on-site bus control apparatus 1 at least comprises main control module 11 and from control module 12, described main control module 11 comprises main control server 111 and intelligent controller 112, comprises from controller 1211,1212,1213,1214 from control module 12.
In the present embodiment, describedly multiplely comprise second priority level that a limit priority successively decreases successively from controller and multiple priority from controller from controller, particularly, described multiple second priority levels adjoin from controller successively according to the priority of successively decreasing successively.In the present embodiment, described to be multiplely described for 4 temporarily from controller, limit priority is from controller for first shown in Fig. 2 is from controller 21, and described multiple second priority levels are respectively second shown in Fig. 2 from controller 1212, the 3rd from controller 1213, the 4th from controller 1214 from controller.
As shown in Figure 2, described first from first of controller 1211 from communication port 1211a connect described intelligent controller 112 the first main communication port 112a, described first from second of controller 1211 from communication port 1211b connect described intelligent controller 112 the second main communication port 112b, described first from the 3rd of controller 1211 from communication port 1211c be connected to be adjacent second from second of controller 1212 from communication port 1212b; Described first from second of controller 1211 from communication port 1211b also connect be adjacent second from first of controller 1212 from communication port 1212a.
By that analogy, described second from second of controller 1212 from communication port 1212b connect be adjacent the 3rd from first of controller 1213 from communication port 1213a.Described second from the 3rd of controller 1212 from communication port 1212c connect be adjacent the 3rd from second of controller 1213 from communication port 1213b.
Described 3rd from second of controller 1213 from communication port 1213a connect be adjacent the 4th from first of controller 1214 from communication port 1214a.Described 3rd from the 3rd of controller 1213 from communication port 1213c connect be adjacent the 4th from second of controller 1214 from communication port 1214b.
From above topological structure, such as the described 3rd break down from controller 1213 after, can not forwarding data, now the 4th can not receive data from second of controller 1214 from communication port 1214b, but the 4th correctly can also receive described second from the 3rd data sent from communication port 1212c of controller 1212 from first of controller 1214 from communication port 1214a, thus to make in network other controllers by the impact of node failure.In addition, the topological structure in the utility model on-site bus control apparatus does not need repeater can regenerate signal, can the infinity of Signal transmissions.
In the utility model, described main control module can also at one's leisure between carry out failure diagnosis to each from controller, once overhaul in time after having path outlet fault, owing to there is preliminary data line, thus ensure that equipment can also normally work, add redundancy.In the present embodiment, arbitrary from first of controller from communication port, second from communication port or the 3rd from communication port, arbitrary port can not receive or send data time, described LED module is given in output alarm instruction, malfunction coefficient is carried out by this LED module, be such as, arrange in advance to make response from control module according to main control module, as: control relay action, lamplight brightness change etc.
It should be noted that, in on-site bus control apparatus of the present utility model, described from controller according to the control command that described main control module sends control its LED module perform light, extinguish, brightness regulation or colour temperature regulate operation time, it first is receiving port from communication port and second from communication port, it the 3rd is transmit port from communication port, refer to Fig. 3, be shown as the control command of main control module transmission to each data flow diagram from controller.As shown in the figure, be described from controller 1211 for first, described control command is also compiled into the data-signal meeting WIFI communication protocol and is sent to described intelligent controller 112 by a WIFI unit 1111 by main control server 111 sending controling instruction in described main control module 11, first controls its LED module execution according to described intelligent controller 112 by the control command that holding wire sends from controller 1211 lights, extinguish, when brightness regulation or colour temperature adjustment operation, it first is receiving port from communication port 1211a and second from communication port 1211b, it the 3rd is transmit port from communication port 1211c.3rd sends data to second from second of controller 1212 from communication port 1212b and the 3rd from first of controller 1213 from communication port 1213a from communication port 1211c, and then to make in network other controllers by the impact of node failure.
In the particular embodiment, described from controller according to the control command that described main control module sends control its LED module perform light, extinguish, brightness regulation or colour temperature regulate operation time, it first mates carrying address information the every segment encode stream received with described address information default from controller from communication port and second from communication port, when mating correct, data in this segment encode stream are received, and be control command by this Data Analysis with control respectively respectively this LED module perform light, extinguish, brightness regulation or colour temperature regulate operation.
Described from controller 121 for sending the feedback data that captures from described LED module to described intelligent controller 112 time, described is transmit port from first of controller 121 from communication port, and it second is receiving port from communication port and the 3rd from communication port.Refer to Fig. 4, be shown as each from controller feedback data to the data flow diagram of main control module.As shown in the figure, be described from controller 1211 for first, described first from controller 1211 for sending the feedback data that captures from described LED module to described intelligent controller 112, the feedback data received is compiled into the data-signal meeting WIFI communication protocol when being sent to described main control server 111 by the 2nd WIFI unit 1121 by described intelligent controller 112, described first is transmit port from first of controller 1211 from communication port 1211a, first is receiving port from second of controller 1211 from communication port 1211b and the 3rd from communication port 1211c, the data that these second data received from communication port 1211b send from communication port 1212a from first of controller 1212 from second, second receives from the 3rd from the first data sent from communication port 1213a of controller 1213 from the 3rd of controller 1212 from communication port 1212c, second from controller 1212 for sending the feedback data that captures from described LED module to described intelligent controller 112 time, this second is transmit port from first of controller 1212 from communication port 1212a, second of second clump of controller 1212 receives the 3rd data sent from communication port 1213a from first of controller 1213 from communication port 1212b, and second receives the 4th from the 3rd of controller 1212 from communication port 1212c sends data from first of controller 1214 from communication port 1214a.And then after one of them is out of order from controller, have feedback path for subsequent use can Normal Feedback data, to make in network other controllers by the impact of node failure.
In sum, in field bus control system of the present utility model, each controller has different priority levels, automatically can write address, and Installation and Debugging are convenient, and both-way communication can feed back.And only otherwise need repeater can regenerate signal, can the infinity of Signal transmissions.Importantly, one in field bus control system of the present utility model be out of order from controller after, now in network other controllers by the impact of node failure.Master control is diagnosed from controller between needing at one's leisure, once overhaul in time after having networking to break down, owing to there is preliminary data line, thus ensure that equipment can also normally work, adds redundancy.So the utility model effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present utility model and effect thereof only, but not for limiting the utility model.Any person skilled in the art scholar all without prejudice under spirit of the present utility model and category, can modify above-described embodiment or changes.Therefore, such as have in art and usually know that the knowledgeable modifies or changes not departing from all equivalences completed under the spirit and technological thought that the utility model discloses, must be contained by claim of the present utility model.