Carrier channel data transmission distributed management system based on medium-voltage line
Technical Field
The invention relates to the technical field of 10kv power line communication, in particular to a carrier channel data transmission distributed management system based on a medium-voltage line.
Background
The power distribution network is an open network structure, medium-voltage carrier communication can realize point-to-multipoint communication by utilizing the open structure of the power distribution network, carrier signals can transmit signals to all nodes along lines of the power distribution network, and meanwhile, each signal node can send signals to other nodes. The power line medium voltage carrier communication technology is a new technology for carrying out data transmission by utilizing carrier signals, and mainly utilizes a 10kV power line as a transmission medium to provide information communication support for various services in a power distribution network.
In the past, due to the limitation of the transmission rate of the power line carrier channel and the limitation of the half-duplex communication mode, a single-point polling mechanism is generally used in the network model, namely, a management unit polls each carrier node all the time circularly, and when a remote slave node is encountered, the problem can be solved only by building a relay.
In the existing medium-voltage carrier multi-point communication system, once a relay is established by a node with a longer distance, although the communication success rate can be ensured, the communication real-time performance is reduced, and the communication real-time performance is reduced by one time when a first-level relay is added. The prior art lacks effective means for managing communication problems in a scene where the line node relationship is particularly complex and the number of nodes is particularly large.
Disclosure of Invention
In order to solve the above problems, the present invention provides a medium voltage carrier distributed manager system, and the technical scheme of the present invention is as follows: 1. the utility model provides a carrier channel data transmission distributed management system based on medium voltage line, includes main management unit, distributed management unit, slave node, distribution network main website and distribution network terminal, wherein:
the main management unit and the distributed management unit are both managers, the main management unit is connected with the distribution network master station in an uplink mode, and the main management unit is connected with each slave node in a downlink mode; the distributed management unit is connected with each slave node in a downlink mode, and is connected to a network port in an upper-level system in an uplink mode through a network cable to achieve a multi-level distributed system architecture;
the slave node is provided with two network ports which can be connected with two distribution network terminals simultaneously, wherein one network port can be reused as a serial port and used for connecting two channel types of distribution network equipment, and the serial port can also be used for connecting a next-level distributed management unit.
Preferably, the master management unit, the distributed management unit and the slave nodes use a medium-voltage carrier protocol for data communication, and the data is divided into uplink and downlink.
The uplink data is data generated by the distribution network terminal, which means to collect the data of the distribution network terminal directly connected with the uplink data or the data of the lower-level distribution network extracted from the management unit,
the downlink data refers to that the main management unit acquires the data of the main station and then transmits the data to the distributed management unit directly connected with the slave nodes through the slave nodes and then transmits the data to the final destination distribution network equipment through the next-stage slave nodes.
Preferably, when the distribution network master station and the distribution network terminal do not actively initiate a command, each level of management unit works in a normal state, constantly inquires a data state flag bit of each direct-connected node, and checks whether the distribution network terminal actively sends a request command;
when a distribution network terminal is connected and needs to initiatively initiate a data request command, the command is transmitted to a carrier machine through a carrier machine network port, at the moment, a distributed management unit can know that the node is to be transmitted to a distribution network main station from data through a normal data state inquiring flag bit, the management unit starts to issue a data extraction command to the node, the data is extracted to the management unit, if the node is a main management unit, the node is directly reported to the distribution network main station, and if the node is a distributed management unit, the node is reported to a slave node of the previous stage, and the slave node of the previous stage continues to extract the data.
When a master station needs to actively send a data command to a certain distribution network terminal, firstly, data are transmitted to a main management unit, if a slave node belongs to a direct connection node of the main management unit, the data are directly transmitted, and a reply confirmation frame is waited; if the slave node belongs to a non-direct connection node, the management unit issues to a carrier machine connected with the local machine and a lower management unit, the carrier machine issues to the carrier machine first, the carrier machine replies confirmation, the processing of the data of the previous stage is finished, meanwhile, the carrier machine transmits the data to the distributed management unit through the serial port, and the management unit continues to send the data to the next stage.
The invention has the beneficial effects that: a carrier channel data transmission distributed management system based on a medium-voltage line is provided, and the problem of unified management and scheduling of long-distance and multi-type power equipment in the existing system is solved. When a slave node of remote communication is encountered, the flow line mode is adopted for processing, the communication success rate and the communication real-time performance can be ensured simultaneously when the remote communication is solved, the remote management and dispatching of power equipment are realized, the labor and instrument cost for field operation is saved, and the operation efficiency is improved; reliable data is provided, and the management level is improved.
Drawings
FIG. 1 is a diagram illustrating a conventional management system polling;
FIG. 2 is a diagram illustrating polling of a distributed management system according to the present invention;
FIG. 3 is an interaction flow of the present invention.
Detailed Description
A carrier channel data transmission distributed management system based on a medium-voltage line is a system for carrying out communication management on each node in power distribution network communication. In a conventional management polling system, a management unit polls each node in turn and waits for a data reply from each node. As shown in fig. 1, three slave nodes 11, 12, and 21 are far from the master node, and in order to solve the communication distance problem when the management unit polls the three nodes, a relay method can only be set up, for example, when polling the nodes 11 and 12, a primary relay needs to be set up, and the slave node 1 is used as a relay; when polling the node 21, a secondary relay needs to be established, and communication is performed by taking the slave node 1 as the primary relay and the slave node 11 as the secondary relay.
Assuming that the communication access time for each directly connected node is T, the polling slave nodes 11, 12 both have a time of 2T, and similarly, the access time for the slave node 21 is 3T. In the system of fig. 1, 4 direct-connected nodes add 2 primary relay nodes, and add 1 secondary relay node, and the total time of polling one round is 4T +2T +3T ═ 11T. The overall time consumption will increase more as the relay level in the system is deeper.
In fig. 2, the carrier channel data transmission distributed management system based on the medium-voltage line to be described herein is adopted, that is, a management unit is added at a place where a relay node needs to be built for long-distance communication, and polling access management is performed on subordinate nodes. The mode of the direct connection node accessed by the main management unit on the process is unchanged, when the non-direct connection node is accessed, the data is only required to be sent to the subordinate management unit, the access of the node is finished after the management unit replies, at the moment, the next node can be polled, meanwhile, the level 1 management unit continues to access the node downwards, the node is cached and reported at the slave node 1 after the data is obtained, and when the next round of access is waited, the data can directly reach the management unit. Because each level of management unit accesses respective direct-connected nodes in parallel, the system is equivalent to a pipeline working mode as a whole, and therefore efficiency is improved. Performing polling calculation on nodes with the same topological structure, wherein the total time of polling one circle by the distributed management unit is 4T +2T +1T + 2T-7T + 2T; wherein T-represents the time consumed by the transmission of the slave node and the distributed management unit, and the communication between the slave node and the distributed management unit adopts a hundred-mega Ethernet, so the time of T is far shorter than the communication time T of the medium-voltage carrier. Taking the system in the figure as an example, the distributed management unit improves the overall system performance by about 36%. The specific calculation is as follows: (1- (7T +2T)/11T) ≈ 100% ≈ 36%
The scheme is elaborated:
taking the system in fig. 2 as an example, the main management unit in the figure is connected with the distribution network master station in an uplink mode, and the main management unit in the figure is connected with each slave node in a downlink mode;
the distributed management unit is connected with each slave node in a downlink mode, and is connected to a network port in an upper-level system in an uplink mode through a network cable to achieve a multi-level distributed system architecture; the slave node is provided with two network ports which can be connected with two distribution network terminals simultaneously, wherein one network port can be reused as a serial port and used for connecting two channel types of distribution network equipment, and the serial port can also be used for connecting a next-level distributed management unit.
As shown in fig. 3, for the interactive process of the present invention, there are 2 actual types of data for the slave nodes, one is to collect the distribution network terminal data directly connected to the slave nodes, and the other is to collect the lower-level distribution network data extracted from the management unit. The two kinds of data are uniformly extracted by the upper-level management unit and are uploaded step by step in the mode until the main management unit and finally the main management unit sends the data to the distribution network main station.
The specific work flow is divided into three states:
the first state: neither device initiates the request on its own.
When the distribution network master station and the distribution network terminal do not actively initiate commands, each level of management unit works in a normal state, namely, the data state flag bit of each direct-connected node is always inquired, and whether the distribution network terminal actively sends a request command is checked.
And a second state: and the distribution network master station actively initiates a request.
When a certain distribution network terminal needs to actively initiate a request command when being connected, the command is transmitted to a carrier machine through a carrier machine network port, at the moment, a management unit can know that the node is to be transmitted to a distribution network main station from data through a normal data state inquiring zone bit, the management unit starts to issue a data extraction command to the node, the data is extracted to the management unit, if the node is a main management unit, the data is directly reported to the distribution network main station, and if the node is a distributed management unit, the data is reported to a carrier machine of the previous stage, and the data is continuously extracted by the management unit of the previous stage.
And a third state: and the distribution network terminal actively initiates a request.
When the master station needs to actively send a command to a certain distribution network terminal, the first phase transmits data to the main management unit, and if the nodes belong to the direct connection nodes of the main management unit, the data are directly transmitted and a reply confirmation frame is waited. If the node belongs to the non-direct connection node, the management unit issues the carrier machine connected with the lower management unit, and after the carrier machine replies confirmation, the main management unit completes the task at the current stage and returns to the state I. At this time, the first-level management unit continues to loop the above steps after receiving the command until the data is finally transmitted to the destination device.
The above embodiments are illustrative of specific embodiments of the present invention, and are not restrictive of the present invention, and those skilled in the relevant art can make various changes and modifications without departing from the spirit and scope of the present invention to obtain corresponding equivalent technical solutions, and therefore all equivalent technical solutions should be included in the scope of the present invention.