Summary of the invention
To solve the above problems, the present invention proposes a kind of distribution distribution feed line automatization system, adaptive distribution is realized
Network frame topology variation, solves distributed feed line automatization system configuration complexity and information exchange relies on the technology of consecutive points communication
Problem.
The present invention adopts the following technical scheme that, a kind of distribution distribution feed line automatization system, comprising: route head end feeder line
Automatization terminal and line node feed line automatization terminal are based on mqtt protocol interaction information, wherein
Route head end feed line automatization terminal includes information exchange server-side, is used for and line node feed line automatization terminal
Information exchange is carried out, feeder automation logic judgment is carried out;
Line node feed line automatization terminal includes information exchange client, is used for and route head end feed line automatization terminal
Information exchange is carried out, switch motion is executed.
Preferably, the head end feed line automatization terminal is installed on bus outgoing line side or route head end electric pole;The node
Feed line automatization terminal is distributed in each node of route;
The information exchange includes: ordering for route head end feed line automatization terminal receiving circuit node feed line automatization terminal
It reads theme and pushes corresponding subject information by subscription demand, route head end feed line automatization terminal receiving circuit node feeder line is automatic
Change itself subject information of terminal publication, line node feed line automatization terminal, which receives, subscribes to subject information.
Preferably, the information exchange specifically:
After line node feed line automatization terminal is connect with route head end feed line automatization terminal, certainly to route head end feeder line
Dynamicization terminal issues itself subject information, including subject name and the information content, and route head end feed line automatization terminal receives line
After itself subject information of circuit node feed line automatization terminal publication, judge in the theme of self-management whether to include the subject
Claim, if not including the subject name, create the theme and be managed, if including the subject name, to all subscription masters
The line node feed line automatization terminal of topic forwards the information content of the theme;
After line node feed line automatization terminal is connect with route head end feed line automatization terminal, certainly to route head end feeder line
Dynamicization terminal sends a subscription information, and subscription information includes the subject name subscribed to, and route head end feed line automatization terminal connects
After receiving the subscription information, judge in the theme of self-management whether to include ordered subject name, if not including the subject
Claim, then create the theme and be managed, if including the subject name, to the line node feeder automation for sending subscription information
Terminal forwards the up-to-date information of corresponding theme in real time.
Preferably, the subscription theme of the line node feed line automatization terminal includes public information, the public information
It include: the fault message and feeder automation movement letter of each node of status monitoring information, line topological of each node of line topological
Breath;
Itself subject information of line node feed line automatization terminal publication includes numbering the number being the theme with own node
It is believed that breath, the data information includes the fault message and own node of the status monitoring information of own node, own node
Failure involution information.
Preferably, the feeder automation action message includes Fault Isolation information and Troubleshooting information;
The Fault Isolation information includes the node serial number and action command of needs movement, for realizing fault section isolation
It restores electricity with non-faulting region;Specifically, the line node feed line automatization terminal to break down is sent out when line failure
Cloth numbers the data information being the theme with own node, and route head end feed line automatization terminal receives the failure in data information
After information, fault zone is judged, obtain Fault Isolation information, it is whole to all line node feeder automations for subscribing to public information
End publication Fault Isolation information;
The Troubleshooting information is for providing Failure elimination information, specifically, route head end is presented after line fault is eliminated
Line automation terminal receives being the theme with own node number for the line node feed line automatization terminal publication being isolated
After failure involution information in data information, failure is issued to all line node feed line automatization terminals for subscribing to public information
Restore information.
Preferably, the realization fault section isolation and non-faulting region restore electricity specifically, when line failure,
Line node feed line automatization terminal receives the Fault Isolation information of route head end feed line automatization terminal publication, parses this
The corresponding actions of node instruct, and complete switch motion, realize that fault section isolation restores electricity with non-faulting region.
Preferably, the subscription theme of the line node feed line automatization terminal includes dynamic topology information, is believed in topology
Node feed line automatization terminal forwarding topologies of the head end feed line automatization terminal to all subscription dynamic topology information when breath change
Modification information, the topology modification information include: to reduce nodal information, increase change in topology information in nodal information and node newly;
Itself subject information of line node feed line automatization terminal publication includes being opened up with what own node number was the theme
Change information is flutterred, line node feed line automatization terminal is sent out when topology information is changed to route head end feed line automatization terminal
Cloth numbers the change in topology information being the theme with own node, described to number the change in topology packet being the theme with own node
It includes the newly-added information of own node, exit information and inner topology change information.
Preferably, nodes of the head end feed line automatization terminal to all subscription dynamic topology information when topology information changes
Feed line automatization terminal issues topological modification information, specifically, in topology information change, route head end feed line automatization terminal
After the change in topology information being the theme with own node number for receiving the publication of line node feed line automatization terminal, feeder line is adjusted
Topological logic is automated, changes letter to all line node feed line automatization terminal forwarding topologies for subscribing to dynamic topology information
Breath.
Preferably, it subscribes to and is connected as long connection, publication is connected as short connection.
Invent achieved the utility model has the advantages that the present invention is a kind of distribution distribution feed line automatization system, realization is adaptive
The variation of distribution network frame topology, solves distributed feed line automatization system configuration complexity and information exchange relies on consecutive points communication
Technical problem.The theory of present invention combination power distribution network all things on earth interconnection, is passed based on the message queue telemetering in Internet of Things communication protocol
Defeated agreement (Message Queuing TelemetryTransport, mqtt), realizes distributed automatic system, and advantage exists
In, be easily achieved based on mqtt, the feature that communication overhead is low, low in energy consumption, save distributed system software and hardware resources;It does not need to examine
Consider the information model mapping conversion between IEC104/101 and IEC61850, it is convenient that configuration is implemented in deployment;The present invention can be realized dynamic
State topology subscribes to issuing function, realizes each terminal node adaptive topology of system;It is different from previous point-to-point interactive mode, this is
Each node can carry out information exchange by arbitrary node in mqtt serve end program and network under system, and communication is flexible.
Specific embodiment
Below according to attached drawing and technical solution of the present invention is further elaborated in conjunction with the embodiments.
A kind of distribution distribution feed line automatization system, comprising: route head end feed line automatization terminal and line node are presented
Line automation terminal, be based on mqtt protocol interaction information, information exchange content can refer to the specifications such as IEC61850,101,104 or
It is customized, wherein
Route head end feed line automatization terminal includes information exchange server-side, is used for and line node feed line automatization terminal
Information exchange is carried out, feeder automation logic judgment is carried out;
Line node feed line automatization terminal includes information exchange client, is used for and route head end feed line automatization terminal
Information exchange is carried out, switch motion is executed.
Mqtt protocol client program is small, is easy to transplant, and communication overhead is small, low in energy consumption, and deployment is convenient, can save distribution
The software and hardware resources of formula feed line automatization system.
The head end feed line automatization terminal is installed on bus outgoing line side or route head end electric pole;The node feeder line is automatic
Change terminal and is distributed in each node of route;
The information exchange includes: ordering for route head end feed line automatization terminal receiving circuit node feed line automatization terminal
It reads theme and pushes corresponding subject information by subscription demand, route head end feed line automatization terminal receiving circuit node feeder line is automatic
Change itself subject information of terminal publication, line node feed line automatization terminal, which receives, subscribes to subject information.
The information exchange specifically:
After line node feed line automatization terminal is connect with route head end feed line automatization terminal, certainly to route head end feeder line
Dynamicization terminal issues itself subject information, including subject name and the information content, disconnects after publication automatic with route head end feeder line
Change the connection of terminal, reconnection when having new publication;The feeder automation of route head end feed line automatization terminal receiving circuit node is whole
After itself subject information for holding publication, judge in the theme of self-management whether to include the subject name, if not including the theme
Title then creates the theme and is managed, if including the subject name, certainly to all line node feeder lines for subscribing to the theme
Dynamicization terminal forwards the information content of the theme;
After line node feed line automatization terminal is connect with route head end feed line automatization terminal, certainly to route head end feeder line
Dynamicization terminal sends a subscription information, and subscription information includes the subject name subscribed to, and connection is kept after transmission, convenient to receive in real time
It is pushed to information;After route head end feed line automatization terminal receives the subscription information, judge in the theme of self-management whether
It including ordered subject name, if not including the subject name, creates the theme and is managed, if including the subject
Claim, then forwards the up-to-date information of corresponding theme in real time to the line node feed line automatization terminal for sending subscription information.
Itself subject information includes delivering letters to deliver letters breath in breath and mutation in timing.Line node feed line automatization terminal
Itself topology information need to be configured in installation and operation, indicate terminal number in the line, position, whether in branched line,
The relevant configuration for not having traffic model to map, configuration are convenient.
The subscription theme of the line node feed line automatization terminal includes public information and dynamic topology information, the public affairs
Co-information includes: the status monitoring information of each node of line topological, the fault message of each node of line topological and feeder automation
Action message;The topology modification information includes: to reduce nodal information, increase change in topology information in nodal information and node newly.
Line node feed line automatization terminal according to obtained public information and the data information of dynamic topology information subscribing adjacent end,
For the publication of oriented server-side subject information, each client can subscribe to selectively, for example, line node feeder line from
Dynamicization terminal can subscribe to according to their needs numbers the status monitoring information being the theme with adjacent node, and the information interaction approach is more
Add flexibly.
Itself subject information of line node feed line automatization terminal publication includes numbering the number being the theme with own node
It is believed that breath, the i.e. data information of theme entitled " node n information ", the data information includes the status monitoring letter of own node
The failure involution information of breath, the fault message of own node and own node.
After server-side terminal receives the data information of theme entitled " node n information ", the theme is managed, and issue newest
Public information and topological modification information, i.e., send entitled " the node n of theme to the client for having subscribed " node n information " theme
The data information of information ".In line fault, server-side terminal is issued most to all client terminals for subscribing to " public information "
New public information, in topology information change to all client terminal publication topology change letters for subscribing to " dynamic topology information "
Breath.
The feeder automation action message includes Fault Isolation information and Troubleshooting information;
The Fault Isolation information includes the node serial number and action command of needs movement, for realizing fault section isolation
It restores electricity with non-faulting region;Specifically, when line failure, as shown in Figure 1, the line node feeder line to break down is certainly
The publication of dynamicization terminal numbers the data information being the theme with own node, and route head end feed line automatization terminal receives data letter
After fault message in breath, the topology information sent on when each node deployment is combined to judge failure by feeder automation FA logical program
Region obtains Fault Isolation information, issues Fault Isolation to all line node feed line automatization terminals for subscribing to public information
Information;
The realization fault section isolation and non-faulting region restore electricity specifically, when line failure, route section
Point feed line automatization terminal receives the public information of route head end feed line automatization terminal publication, parses the corresponding of this node
Action command completes switch motion and realizes fault section isolation and issue the data information that subject is " node n information ", wherein
Include switch motion information, the subject of route head end feed line automatization terminal receiving circuit node feed line automatization terminal publication
Data information for " node n information " issues newest public information, line after switch motion validation of information Fault Isolation
Circuit node feed line automatization terminal receives the public information of route head end feed line automatization terminal publication, parses this node
Corresponding actions instruction, completes switch motion, realizes that non-faulting region restores electricity;
The Troubleshooting information enables failure multiple for providing Failure elimination information, specifically, service personnel completes maintenance
Return, i.e., after line fault is eliminated, it is whole that route head end feed line automatization terminal receives the line node feeder automation being isolated
After failure involution information in the data information of end publication being the theme with own node number, to all subscription public informations
Line node feed line automatization terminal issues Troubleshooting information, informs that each node failure has been repaired, main power supply has restored, standby
With electrical circuit tripping, line node feed line automatization terminal receives the Troubleshooting information of server-side terminal, resets itself prison
Survey state.
The subscription theme of the line node feed line automatization terminal includes dynamic topology information, in topology information change
Head end feed line automatization terminal to it is all subscribe to dynamic topology information node feed line automatization terminal forwarding topology modification informations,
The topology modification information includes: to reduce nodal information, increase change in topology information in nodal information and node newly;
Topology information change when head end feed line automatization terminal to it is all subscribe to dynamic topology information node feeder lines from
Dynamicization terminal issues topological modification information, specifically, route head end feed line automatization terminal receives line in topology information change
After the change in topology information of circuit node feed line automatization terminal publication being the theme with own node number, feeder automation is adjusted
Topological logic, to all line node feed line automatization terminal forwarding topology modification informations for subscribing to dynamic topology information.It subscribes to
The line node feed line automatization terminal of dynamic topology message subject can adjust subscription theme after receiving corresponding subject information, that is, adjust
Adaptive topology function is realized in the whole subscription to adjacent node subject information.
Itself subject information of line node feed line automatization terminal publication includes being opened up with what own node number was the theme
Change information is flutterred, line node feed line automatization terminal is sent out when topology information is changed to route head end feed line automatization terminal
Cloth numbers the change in topology information being the theme with own node, described to number the change in topology packet being the theme with own node
It includes the newly-added information of own node, exit information and inner topology change information.
Referring to Fig. 2, when increasing the line node feed line automatization terminal of node 5 newly, the line node feed line automatization terminal
It issues to route head end feed line automatization terminal with the change in topology information of " 5 information of the node " title that is the theme, server-side receives
After the change in topology information of " 5 information of the node " title that is the theme, newly-increased node and its topology information, adjustment FA topology are parsed
Logic, and changed to the topology that all line node feed line automatization terminals for subscribing to dynamic topology information issue newly-increased node,
Neighbor information is subscribed in adjustment after each node line node feed line automatization terminal receives the information.
Likewise, the line node feeder line is automatic when topology changes in 5 line node feed line automatization terminal of node
Change terminal to issue to route head end feed line automatization terminal with the change in topology information of " 5 information of the node " title that is the theme, service
After end receives the subject information, FA topological logic is adjusted, and automatic to all line node feeder lines for subscribing to dynamic topology information
Change the topology change of 5 terminal of terminal publisher node, each node line node feed line automatization terminal receives adjustment pair after the information
Neighbor information is subscribed to.
Likewise, when 5 line node feed line automatization terminal of deletion of node, the line node feed line automatization terminal is to line
Road head end feed line automatization terminal is issued with the change in topology information of " 5 information of the node " title that is the theme, and server-side terminal receives
It after the information, quits the subscription of " 5 information of node " theme, adjusts FA topological logic, and to all route sections for subscribing to dynamic topology information
The topology change of point feed line automatization terminal publication deletion of node, each node line node feed line automatization terminal receive the information
After adjust to neighbor information subscribe to.
All subscription are connected as long connection in system, ensure and receive release information immediately;All publications are connected as in system
Short connection, disconnects after being sent completely, reconnection when having new information publication, to save hardware resource and power consumption.
The foregoing is merely the preferred embodiment of the present invention, to illustrate technical solution of the present invention, rather than limit it
System;It is noted that, modifying the technical solutions described in the foregoing embodiments, or part of technical characteristic is carried out
Equivalent replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.