Invention constitutes
The objective of the invention is to overcome weak point of the prior art and provide a kind of and improve signal transmission strength and accuracy, make signal can accurately send to the road lamp system power communication signal relay transmission means of terminal.
The objective of the invention is to realize by following approach:
Road lamp system power communication signal relay transmission means, its main points are:
1, provide a master control set,
1.1 it includes first central processing unit and the first power communication device,
1.2 the first power communication device includes first chromacoder and first sender unit that is connected, wherein the signal receiving end of first chromacoder is connected with the transmission of first central processing unit;
2, provide a plurality of street lamp control device,
2.1 each street lamp control device has included second central processing unit and the second power communication device,
2.2 the second power communication device includes secondary signal conversion equipment, secondary signal receiving system and secondary signal dispensing device, wherein the secondary signal conversion equipment is connected with the transmission of second central processing unit;
2.3 an output of secondary signal receiving system is electrically connected with the input of secondary signal dispensing device, another output then is electrically connected with the signal input part of secondary signal conversion equipment;
3, first sender unit of master control set is connected with the secondary signal receiving system transmission of the street lamp control device adjacent with master control set;
4, the secondary signal dispensing device of each street lamp control device then is connected with the secondary signal receiving system transmission of the street lamp control device adjacent with this street lamp control device.
Because the street lamp control device among the present invention has the secondary signal dispensing device, it can carry out the relay transmission with the signal sent from the master control set secondary signal dispensing device by the street lamp control device, promptly the signal that sends from master control set will be through following chain (establishing the street lamp control device that is connected with master control set be the main road lamp control device): the first power communication device of master control set---(the main road lamp control device) second power communication device---is (adjacent with the main road lamp control device, be called for short " next stage ") the second power communication device of next stage street lamp control device-... the second power communication device of-last street lamp control device is specially: first central processing unit-first chromacoder-first sender unit---(the main road lamp control device) secondary signal receiving system-(the main road lamp control device) secondary signal dispensing device---secondary signal dispensing device of the secondary signal receiving system of next stage street lamp control device-next stage street lamp control device---secondary signal receiving system of last street lamp control device of this branch road.When signal flow passes through the secondary signal receiving system of each street lamp control device, to have one along separate routes, that is: secondary signal receiving system-secondary signal conversion equipment-second central processing unit, this is exactly that the street lamp control device receives and handle the control signal that master control set is sent along separate routes.
When the signal that sends from master control set passes through the street lamp control device like this, the reception of the second power communication device that will be by adjacent two-way lamp control device and transmission information are carried out the relay mode and are transmitted, both passed to next power communication device from a power communication device, " adjacent " of the present invention not exclusively is the arest neighbors on the space length, and its adjacent transmission that can carry out as required between the two-way lamp control device connects.Owing to can make the distance between the two whenever adjacent street lamps shorter, signal is in the interior transmission of this distance, its attenuation very I to ignore, rather than directly send to terminal control mechanism, thereby the problems such as control misoperation that decay brought of signal have been avoided producing because of long-distance transmissions by master control set.
The present invention can also further be specially:
1, the first power communication device also includes first signal receiving device,
1.1 wherein the output of first signal receiving device is electrically connected with first chromacoder,
2, the second power communication device also includes the 4th sender unit and the 4th signal receiving device that mutual transmission connects,
2.1 the signal input part of the 4th sender unit is electrically connected with the signal sending end of secondary signal conversion equipment,
3, the signal receiving end of first signal receiving device is connected with the signal sending end transmission of the 4th sender unit of the street lamp control device that is attached thereto,
4, the 4th signal receiving device of each street lamp control device then is connected with the 4th sender unit transmission of the street lamp control device adjacent with this street lamp control device.
Because street lamp control device of the present invention makes it to have the function that information is transmitted by sender unit, so carry out when sending control signal the relay transmission of power communication except master control set, when returning master control set, the signal of each street lamp control device also can transmit by the relay mode of above-mentioned power communication device, promptly from sending the street lamp control device of feedback signal, its feedback signal is received the feedback information that is attached thereto the next stage street lamp control device that connects by the 4th signal receiving device, and then feedback signal is sent to the street lamp control device of its upper level by the 4th sender unit, send to again the street lamp control device of upper level again through this higher level's street lamp control device, until sending to main control unit, this street lamp control device described here following (on) the street lamp control device of one-level is meant:for this street lamp control device, the street lamp control device of its next stage and the geographical position between master control set distance is longer, its feedback signal stream of the street lamp control device of upper level then and the distance of the geographical position between the master control set littler. is: the second power communication Zhuan Zhi of the second power communication Zhuan Zhi that sends the roam lamp control device of feedback signal---upper level roam lamp control device-... the second power communication Zhuan Zhi of main road lamp control device---master control set is specially: send feedback signal roam lamp control device second centre reason device-secondary signal output device-the 4th sender unit---the 4th sender unit of the 4th signal receiving device of upper level roam lamp control device-upper level roam lamp control device---Zai upper level roam lamp control device the 4th signal receiving device-... the first signal receiving system of the 4th sender unit of-main road lamp control device---master control set-first signal input unit-first centre reason device.
This street lamp control device described here following (on) the street lamp control device of one-level is meant: for this street lamp control device, the street lamp control device of its next stage and the geographical position between master control set distance is longer, the street lamp control device of upper level then and the distance of the geographical position between the master control set littler.
Because when the link road lamp control device, reasonable connectivity scenario is: master control set always is connected with the street lamp control device transmission of phase neighbour or arest neighbors with it, and each street lamp control device always with this street lamp control device mutually his position street lamp control device transmission of neighbour or arest neighbors be connected, simultaneously also and for this street lamp control device, transmit with the farther street lamp control device of geographical position between master control set distance and to be connected, thereby form the linear transmission of signal.
When carrying out the relay transmission, can carry out the processing and amplifying of following mode to signal:
First kind of mode:
1, master control set includes first signal amplifying apparatus, and first central processing unit transmits with first chromacoder by this signal amplifying apparatus and is connected;
2, each street lamp control device has included the secondary signal amplifying device, and the secondary signal conversion equipment will be by this signal amplifying apparatus transmits with second central processing unit and was connected this moment.
Like this, first central processing unit of master control set can amplify signal by first signal amplifying apparatus when sending signal, and then send out by first chromacoder, equally, after first chromacoder receives signal, also cocoa amplifies signal by first signal amplifying apparatus, and then sends into first central processing unit and handle.
And each street lamp control device is receiving and during the information of transmission, also will signal amplified by the secondary signal amplifying device, and then or sending into second central processing unit handles, or carry out feedback information by the secondary signal conversion equipment.
Because signal is in transmission, can once amplify, but the attenuation problem of erasure signal in transmission course like this so that can carrying out relay smoothly, signal transmits.
The second way:
1, the first power communication device of master control set includes first signal amplifying apparatus, and first chromacoder transmits with first sender unit and first signal receiving device respectively by this signal amplifying apparatus and is connected;
2, the second power communication device of each street lamp control device has included the secondary signal amplifying device, and the output of secondary signal receiving system is electrically connected with secondary signal dispensing device and secondary signal conversion equipment respectively by this signal amplifying apparatus.
3, the second power communication device of each street lamp control device has included the secondary signal amplifying device, and the input of the 4th sender unit is electrically connected with the 4th signal receiving device and secondary signal conversion equipment respectively by this signal amplifying apparatus.
That is to say, the secondary signal receiving system of each street lamp control device will be divided into two-way after receiving signal, one the tunnel sends into second central processing unit with signal by the secondary signal conversion equipment through the secondary signal amplifying device handles, another road then is connected with the secondary signal dispensing device by signal amplifying apparatus, and delivers to the street lamp control device of next stage.The signal of relay transmission this moment directly carries out the secondary signal dispensing device by this signal amplifying apparatus signal is delivered to next stage street lamp control device, and the signal flow process is more simple and direct.
And it is same, no matter master control set is when receiving still in transmission information, its first chromacoder all should carry out signal by first signal amplifying apparatus earlier and amplify, and then or send into the processing that first central processing unit carries out feedback information, or send by first sender unit information of carrying out.
Adopt such feedback transmission mode, circuit will more be simplified, after the 4th signal receiving device receives signal, directly amplified, by the 4th sender unit this signal is sent to the street lamp control device of upper level again by signal amplifying apparatus.The feedback signal of second central processing unit then can be sent by secondary signal amplifying device and the 4th sender unit in regular turn.
Master control set can also further be specially:
First central processing unit also includes interconnective first comparison means and APU, the input of first comparison means is connected with the output of first chromacoder, and the output of APU then is connected with the input of first chromacoder.
First comparison means is differentiated the feedback signal of road lamp system, delivering to APU then analyzes and handles this signal, APU also can send control signal to road lamp system according to the instruction of master control set: for example, after APU sends switching control instruction, the switch of receiving the street lamp control device is carried out feedback signal, first comparison means will be judged this road road lamp switch executing state according to this feedback signal, and by APU this information be carried out respective handling; When APU send patrol and examine instruction after, the feedback signal of the current state of a control of street lamp control device will be received, first comparison means will be judged this road street lamp whether fault or normal operation according to this signal, and by APU this information be analyzed and respective handling; When a certain street lamp breaks down, it will send fault message to master control set by the street lamp control device, and first comparison means will be differentiated the classification or the state of fault according to this information, and by APU this information be analyzed and respective handling.
Second central processing unit also includes interconnective second comparison means and driving control device, and the secondary signal receiving system then is connected with the transmission of the second comparison means signal by the secondary signal conversion equipment respectively with the 4th sender unit.
The command signal that second comparison means is sent master control set is differentiated, and drive driving control device action: for example according to this command signal, when master control set sends switching control instruction, then second comparison means is when relatively the back confirms that this control command is switch control, the operation that driving control device will open or close street lamp; Patrol and examine instruction when master control set sends, after then second comparison means is confirmed, driving control device will send feedback signal according to the state of a control of this machine and return master control set.
The present invention can also further be specially:
First central processing unit comprises that model is process chip and the peripheral circuit thereof of AT89C52, first chromacoder of the first power communication device comprises that then signal is chip and the peripheral circuit thereof of P485, and the INT0 pin of AT89C52, TXD pin, RXD pin and P17 pin are connected with ILD pin, DI pin, RO pin and the WL pin of P485 respectively.
Wherein the TXD pin of AT89C52 is the transmitting terminal of first central processing unit, and the RXD pin is the receiving terminal of first central processing unit; Equally, the DI pin of P485 is the signal receiving end of first chromacoder, and RO is the signal sending end of first chromacoder.
Here, the process chip of first central processing unit can also be the control chip or the programmable chip of other models, and its peripheral circuit mainly includes crystal oscillating circuit, oscillating circuit, interface chip circuit, storage chip circuit etc.First chromacoder can also be the chip of other models, and its peripheral circuit mainly is crystal oscillating circuit, oscillating circuit, inductive circuit etc.
Second central processing unit comprises that model is process chip and the peripheral circuit thereof of AT89C4051, the secondary signal conversion equipment of the second power communication device comprises that then signal is chip and the peripheral circuit thereof of P485, and the INT0 pin of AT89C52, TXD pin, RXD pin and P17 pin are connected with ILD pin, DI pin, RO pin and the WL pin of P485 respectively.
Wherein the TXD pin of AT89C4051 is the delivery end of second central processing unit, and the RXD pin is the input of second central processing unit; Equally, the DI pin of P485 is the signal receiving end of secondary signal conversion equipment, and RO is the signal sending end of secondary signal conversion equipment.
Equally, AT89C4051 is not the process chip of unique second central processing unit, and it can also be the control chip of other models, as: models such as AT89C52, can also be identical with the process chip model of first central processing unit.The circuit of the periphery of second central processing unit mainly includes crystal oscillating circuit, oscillating circuit, interface chip circuit, storage chip circuit etc.And the peripheral circuit of secondary signal conversion equipment mainly is crystal oscillating circuit, oscillating circuit, inductive circuit etc.
First signal amplifying apparatus is included in the process chip and peripheral circuit thereof that a model is SSCP111, and its peripheral port 485SO, 485TS, 485SI respectively with SO, TS, the SI pin of P485,14,11,17 pin that are P485 are electrically connected, and first signal receiving device and first sender unit all can carry out data input and output transmission by the OUT120 interface in the peripheral circuit.
The model of the process chip of first signal amplifying apparatus can also be other amplification chip, and its this peripheral circuit is some filter circuits, earthed circuit, power circuit etc.The signal incoming end of first signal amplifying apparatus is the 485SI end, and its signal output part is the 485SO end, and the 485TS end is trigger end.The OUT120 interface here is a kind of jack interface, and " OUT120 " is its circuit numbers, can define separately according to inventor self needs.
The secondary signal amplifying device is included in the process chip and peripheral circuit thereof that a model is SSCP111, and its peripheral port 485SO, 485TS, 485SI respectively with SO, TS, the SI pin of P485,14,11,17 pin that are P485 are electrically connected, and secondary signal receiving system, secondary signal dispensing device, the 4th sender unit and the 4th signal receiving device all can carry out data input and output transmission by the OUT120 interface in the peripheral circuit.
The model of the process chip of secondary signal amplifying device can also be other amplification chip, and its this peripheral circuit is some filter circuits, earthed circuit, power circuit etc.The signal incoming end of secondary signal amplifying device is the 485SI end, and its signal output part is the 485SO end, and the 485TS end is trigger end.The OUT120 interface here is a kind of jack interface, and " OUT120 " is its circuit numbers, can define separately according to inventor self needs.
In sum, the invention has the advantages that: a plurality of street lamp control device in the control area are divided into a plurality of branch roads, adjacent two-way lamp control device on every branch road transmits connection by the power communication device, thereby form linear transmission connection chain, and then undertaken by the power communication device in the street lamp control device that signal sends and the relay of feedback transmission, thereby avoided directly sending to because of signal, but produce signal attenuation and the problems of therefore bringing such as control misoperation owing to distance is oversize.
Below we the present invention will be further described in conjunction with the embodiments.
For convenience of description, the label of shown device in the square frame is put in the lower right corner of each square frame in Fig. 1.
Specific embodiment
Most preferred embodiment:
Referring to accompanying drawing 1, road lamp system power communication signal relay transmission means, one master control set 1 and 1000 street lamp control device 2 are provided, per 100 street lamp control device 2 are a branch road, adjacent two-way lamp control device 2 on every branch road transmits connection, the transmission of signal is to be sent to next stage street lamp control device from this street lamp control device, and the feedback of signal is to send to upper level street lamp control device from this street lamp control device, and linear signal sends and the transmission connection chain of the relay transmission of feedback thereby form.
With reference to accompanying drawing 2, master control set includes first central processing unit and the first power communication device, wherein first central processing unit includes interconnective first comparison means 111 and APU 112, and the first power communication device includes first chromacoder 125, first signal amplifying apparatus 124, first sender unit 121 and first signal receiving device 122; The input of first comparison means 111 is connected with the output of first chromacoder 125, one output of APU 112 then is connected with the input of first chromacoder 125, and another output then is connected with control system (being generally Surveillance center) transmission; First chromacoder 125 carries out the signal transmitted in both directions with first signal amplifying apparatus 124 and is connected, and the signal output part of first signal amplifying apparatus 124 is electrically connected with first sender unit 121, and input then is electrically connected with first signal receiving device 122.
Street lamp control device 2 includes second central processing unit and the second power communication device, wherein second central processing unit includes interconnective second comparison means 211 and driving control device 212, the second power communication devices then include secondary signal conversion equipment 225, secondary signal amplifying device 226, secondary signal receiving system 221, secondary signal dispensing device 222, the 4th sender unit 223 and the 4th signal receiving device.The input of second comparison means 221 is electrically connected with secondary signal conversion equipment 225, and a signal output part of driving control device 212 is electrically connected with secondary signal conversion equipment 225, and another output is then controlled and exported street lamp control system (being generally on-off control system) to.The output of secondary signal receiving system 221 is electrically connected with secondary signal conversion equipment 225 and secondary signal dispensing device 222 respectively by secondary signal amplifying device 226, and the 4th signal receiving device 224 and secondary signal conversion equipment 225 respectively are electrically connected with the input of the 4th sender unit 223 by secondary signal amplifying device 226.
First sender unit 121 of master control set is connected with secondary signal receiving system 221 transmission of the street lamp control device adjacent with master control set; 222 of the secondary signal dispensing devices of each street lamp control device are connected with secondary signal receiving system 221 transmission of the street lamp control device adjacent with this street lamp control device, and this connection will form from the relay chain of master control set to branch road street lamp control device transmission signal.
The signal receiving end of first signal receiving device 122 is connected with the signal sending end transmission of the 4th sender unit 223 of the street lamp control device that is attached thereto, 224 of the 4th signal receiving devices of each street lamp control device are connected with the 4th sender unit 223 transmission of the street lamp control device adjacent with this street lamp control device, and this connection will form from the relay chain of street lamp control device to the master control set feedback signal.
With reference to accompanying drawing 3, accompanying drawing 4 and accompanying drawing 5, because limited space, so circuit diagram one is divided into three.Wherein as shown in Figure 3, first central processing unit of master control set comprises that model is process chip and the peripheral circuit thereof of AT89C52, the first power communication device is then as accompanying drawing 4, its first chromacoder comprises that signal is chip and the peripheral circuit thereof of P485, in conjunction with the accompanying drawings 3 and accompanying drawing 4, the INT0 pin of AT89C52, TXD pin, RXD pin and P17 pin are connected with ILD pin, DI pin, RO pin and the WL pin of P485 respectively.Wherein the TXD pin of AT89C52 is the transmitting terminal of first central processing unit, and the RXD pin is the receiving terminal of first central processing unit; Equally, the DI pin of P485 is the signal receiving end of first chromacoder, and RO is the signal sending end of first chromacoder.The peripheral circuit of P485 mainly includes crystal oscillating circuit, oscillating circuit, interface chip circuit etc.
As shown in Figure 5, first signal amplifying apparatus is included in the process chip and peripheral circuit thereof that a model is SSCP111, in conjunction with the accompanying drawings 4, peripheral port 485SO, the 485TS of the process chip of SSCP111,485SI respectively with SO, TS, the SI pin of P485,14,11,17 pin that are P485 are electrically connected, and first signal receiving device and first sender unit all can carry out data input and output transmission by the OUT120 interface in the peripheral circuit.The signal incoming end of first signal amplifying apparatus is the 485SI end, and its signal output part is the 485SO end, and the 485TS end is trigger end.
The circuit diagram of second central processing unit of street lamp control device is consistent with accompanying drawing 3, the circuit diagram of secondary signal conversion equipment is then consistent with accompanying drawing 4, secondary signal amplifying device, secondary signal receiving system, secondary signal amplifying device, the 4th sender unit and the 4th signal receiving device are then consistent with accompanying drawing 5, so respective drawings no longer is provided, its method of attachment simultaneously is:
As shown in Figure 3, second central processing unit comprises that model is process chip and the peripheral circuit thereof of AT89C52, and the secondary signal conversion equipment of the second power communication device as shown in Figure 4, comprise that then signal is chip and the peripheral circuit thereof of P485, the INT0 pin of AT89C52, TXD pin, RXD pin and P17 pin are connected with ILD pin, DI pin, RO pin and the WL pin of P485 respectively.
As shown in Figure 5, the secondary signal amplifying device is included in the process chip and peripheral circuit thereof that a model is SSCP111, in conjunction with the accompanying drawings 4, peripheral port 485SO, the 485TS of the process chip of SSCP111,485SI respectively with SO, TS, the SI pin of P485,14,11,17 pin that are P485 are electrically connected, and secondary signal receiving system, secondary signal dispensing device, the 4th signal receiving device and the 4th sender unit all can carry out data input and output transmission by the OUT120 interface in the peripheral circuit.Not stating part in the description of street lamp control device describes identical with the circuit of master control set.
It is same as the prior art that the present invention does not state part.