CN109217901B - Power line communication system and networking method - Google Patents
Power line communication system and networking method Download PDFInfo
- Publication number
- CN109217901B CN109217901B CN201811324922.2A CN201811324922A CN109217901B CN 109217901 B CN109217901 B CN 109217901B CN 201811324922 A CN201811324922 A CN 201811324922A CN 109217901 B CN109217901 B CN 109217901B
- Authority
- CN
- China
- Prior art keywords
- power line
- line communication
- network
- slave
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 82
- 230000006855 networking Effects 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 19
- 241000854291 Dianthus carthusianorum Species 0.000 claims description 34
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010276 construction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/544—Setting up communications; Call and signalling arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a power line communication system and a networking method, relates to a communication system and a networking method, and aims to solve the problem that a relay node cannot achieve a good relay effect and the stability of a network is poor. The invention has the beneficial effects that: a network member information database is adopted for associating information of each node; and the information such as signal strength can be effectively utilized, better relay nodes can be selected, the networking speed is high, the network hierarchy is clear, and the stability of the network is effectively improved by more than 85%.
Description
Technical Field
The invention relates to a communication system and a networking method, in particular to a communication system of a low-voltage power line and a networking method.
Background
The development and construction of power line communication have become recognized development trends, but power lines are not originally constructed for communication, so that, for example, a relay networking mode is selected in the construction process of power line communication, and a good relay effect cannot be achieved in the selection of relay nodes, so that the stability of a network is poor, and the maintenance and reconstruction of a route are difficult.
Disclosure of Invention
The invention aims to solve the problem that a relay node cannot achieve a good relay effect and the stability of a network is poor, and provides a power line communication system and a networking method.
The power line communication system comprises a plurality of power line communication networks under the transformer areas, wherein the power line communication network in each transformer area comprises a central node and a plurality of slave nodes, the central node and the slave nodes are connected in a tree-shaped topological structure through power line communication, the power line communication system also comprises a network member information database at a local side, and the central node in each transformer area is communicated with the network member information database through a network.
The networking method based on the power line communication system of the invention comprises the following steps that the central node and the slave node in the same transformer area sequentially execute the following steps in each communication period:
step one, a central node sends networking broadcast to all slave nodes in a local area, the slave nodes receiving the networking broadcast signals judge whether the signal strength of the networking broadcast signals is greater than or equal to a preset threshold value, and if the signal strength is greater than or equal to the preset threshold value, the corresponding slave nodes send network access requests to the central node; otherwise, not sending the network access request;
step two, the central node receives a network access request signal of the slave node, and adds the slave node sending the network access request into a next layer of power line communication network of the central node, wherein the next layer of power line communication network is marked as an ith layer, i is 1, 2, …, N is a positive integer; meanwhile, the central node distributes a unique ID to each slave node in the ith layer of the power line communication network, records the IDs of all the slave nodes in the ith layer of the power line communication network in a network member table, and synchronizes the network member table for all the slave nodes added into the power line communication network;
step three, selecting a cluster head slave node of the layer from slave nodes newly added to the power line communication network of the ith layer;
step four, the cluster head slave node sends out relay networking broadcast to other slave nodes, the slave node which receives the relay networking broadcast signal judges whether the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value or not, and judges whether the slave node is added into any layer of power line communication network or not;
if the slave node judges that the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value and does not join any power line communication network, the slave node sends a relay network access request to a cluster head slave node in the network, and the step five is carried out;
otherwise, not sending the relay network access request and finishing networking;
step five, the cluster head slave nodes receive relay network access request signals of the slave nodes, the slave nodes which send the relay network access requests are added into the (i + 1) th layer of power line communication network, unique IDs are distributed to all the slave nodes in the (i + 1) th layer of power line communication network, the IDs of all the slave nodes in the (i + 1) th layer of power line communication network are recorded in a network member table, and the network member table is synchronized with all the slave nodes which are added into the power line communication network through the central node;
and step six, changing i to i +1, and then returning to the step three.
The invention has the beneficial effects that: a network member information database is adopted for associating information of each node; and the information such as signal strength can be effectively utilized, better relay nodes can be selected, the networking speed is high, the network hierarchy is clear, and the stability of the network is effectively improved by more than 85%.
Drawings
FIG. 1 is a schematic diagram of a topology of a power line communication system according to the present invention;
FIG. 2 is a schematic diagram of a topology structure in the same power line area of the power line communication system of the present invention;
fig. 3 is a flowchart of a networking method based on a power line communication system according to the present invention.
Detailed Description
Detailed description of the invention
The power line communication system comprises power line communication networks under a plurality of transformer areas, wherein the power line communication network in each transformer area comprises a central node 1 and a plurality of slave nodes 2, the central node 1 and the slave nodes 2 are connected in a tree-shaped topological structure through power line communication, the power line communication system also comprises a local side network member information database 3, and the central nodes 1 in each transformer area are communicated with the network member information database 3 through the network.
The central node 1 communicates with the office-side switch 4 through an optical fiber network or the like, and the power line communication network communicates with the outside through the office-side switch 4.
The member information database 3 is used for associating member information of each central node 1 and each slave node 2 in the power line communication system, and the member information includes network identifications, MAC addresses, historical communication rates, network times, routes and other related information of the central node 1 and the slave node 2.
Detailed description of the invention
The networking method of the power line communication system based on the first embodiment of the invention mainly lies in
The central node and the slave node in the same transformer area sequentially execute the following specific steps in each communication period:
step one, a central node sends networking broadcast to all slave nodes in a local area, the slave nodes receiving the networking broadcast signals judge whether the signal strength of the networking broadcast signals is greater than or equal to a preset threshold value, and if the signal strength is greater than or equal to the preset threshold value, the corresponding slave nodes send network access requests to the central node;
step two, the central node receives a network access request signal of the slave node, and adds the slave node sending the network access request into a next layer of power line communication network of the central node, wherein the next layer of power line communication network is marked as an ith layer, i is 1, 2, …, N is a positive integer; meanwhile, the central node distributes a unique ID to each slave node in the ith layer of the power line communication network, records the IDs of all the slave nodes in the ith layer of the power line communication network in a network member table, and synchronizes the network member table for all the slave nodes added into the power line communication network;
step three, selecting a cluster head slave node of the layer from slave nodes newly added to the power line communication network of the ith layer;
step four, the cluster head slave node sends out relay networking broadcast to other slave nodes, the slave node which receives the relay networking broadcast signal judges whether the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value or not, and judges whether the slave node is added into any layer of power line communication network or not;
if the slave node judges that the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value and does not join any power line communication network, the slave node sends a relay network access request to a cluster head slave node in the network, and the step five is carried out;
otherwise, not sending the relay network access request and finishing networking;
step five, the cluster head slave nodes receive the relay network access request signals of the slave nodes, the slave nodes which send the relay network access requests are added into the (i + 1) th layer of power line communication network of the cluster head slave nodes, meanwhile, unique IDs are distributed to all slave nodes in the (i + 1) th layer of power line communication network, the IDs of all the slave nodes in the (i + 1) th layer of power line communication network are recorded in a network member table, and all the slave nodes which are added into the power line communication network are synchronized with the network member table through a central node;
step six, changing i to i +1, and then returning to step three
Before all the steps, the method also comprises a step of initializing the network, namely, the central node is communicated with a network member information database, and an identification code is automatically or manually allocated to the central node and is used for distinguishing the central nodes in different transformer areas;
detailed description of the invention
The third embodiment differs from the second embodiment in that the method for selecting the slave node as the cluster head in the fourth step is as follows:
the slave nodes are arranged from large to small according to the product of the signal strength and the historical communication rate, the cluster head slave nodes are selected according to the sequence of the product from large to small, and the number of the cluster head slave nodes is determined by the number of the cluster heads planned by the power line communication network in each station area.
The number of cluster head slave nodes is planned in advance according to the size and the scale of each station area.
The expression of the historical communication rate is Pk+1=Pk0.5+0.7 · S, where k is 0, 1, 2 … …, P0The initial connectivity rates are both set to 1, and 0.5 and 0.7 are fixed parameters adjusted according to different networks, S is the last connectivity state, success is 1, and failure is 0. When P is presentk+1If it is greater than 1, it is forced to be equal to 1.
Detailed description of the invention
The difference between the fourth embodiment and the second or third embodiment is that, in the third step, the central node allocates a unique ID to each slave node in the next-layer power line communication network of the central node, and the unique ID is allocated according to the sequence in which the central node receives the network access request signal;
the cluster head slave node assigns a unique ID to each slave node in the power line communication network next to the cluster head slave node, in the order in which the cluster head slave nodes receive the relay access request.
The ID may be assigned by a method in which the sequence number of each node may be a cluster head prefix-a number of layers-a sequence in which the node itself is located in the current layer, where the cluster head prefix is a sequence number of a slave node as a cluster head, and the number of layers in which the center node is located is set as a zeroth layer, and the sequence in which the node itself is located in the current layer is (more than one) a sequence of network access requests received by the center node or the slave node as a cluster head.
For example, as shown in fig. 2, the slave node a is located in the first layer, and the central node receives the network access request signal of the slave node a first, so that the assigned ID is 1-1, other slave nodes are assigned IDs, the ID of the slave node b is 1-2, and the ID of the slave node c is 1-3.
And in the second layer, the slave node d and the slave node e are located in a cluster in which the slave node b is a cluster head, and assuming that the slave node b first receives a relay network-entry request signal from the slave node d, the assigned ID is 1-2 (cluster head prefix) -2 (layer number) -1 (order), and the ID of the slave node e is 1-2-2-2.
Detailed description of the invention
The difference between the fifth embodiment and the second or third embodiment is that one communication cycle is the time when all nodes poll once.
Claims (3)
1. The networking method based on the power line communication system is characterized in that the power line communication system further comprises a network member information database (3) at a local side, and the central node (1) in each station area is communicated with the network member information database (3) through the network;
the method is characterized in that a central node and a slave node in the same transformer area sequentially execute the following specific steps in each communication period:
step one, a central node sends networking broadcast to all slave nodes in a local area, the slave nodes receiving the networking broadcast signals judge whether the signal strength of the networking broadcast signals is greater than or equal to a preset threshold value, and if the signal strength is greater than or equal to the preset threshold value, the corresponding slave nodes send network access requests to the central node; otherwise, not sending the network access request;
step two, the central node receives a network access request signal of the slave node, and adds the slave node sending the network access request into a next layer of power line communication network of the central node, wherein the next layer of power line communication network is marked as an ith layer, i is 1, 2, …, N is a positive integer; meanwhile, the central node distributes a unique ID to each slave node in the ith layer of the power line communication network, records the IDs of all the slave nodes in the ith layer of the power line communication network in a network member table, and synchronizes the network member table for all the slave nodes added into the power line communication network;
step three, selecting a cluster head slave node of the layer from slave nodes newly added to the power line communication network of the ith layer;
step four, the cluster head slave node sends out relay networking broadcast to other slave nodes, the slave node which receives the relay networking broadcast signal judges whether the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value or not, and judges whether the slave node is added into any layer of power line communication network or not;
if the slave node judges that the signal intensity of the relay networking broadcast signal is greater than or equal to a preset threshold value and does not join any power line communication network, the slave node sends a relay network access request to a cluster head slave node in the network, and the step five is carried out;
otherwise, not sending the relay network access request and finishing networking;
step five, the cluster head slave nodes receive relay network access request signals of the slave nodes, the slave nodes which send the relay network access requests are added into the (i + 1) th layer of power line communication network, unique IDs are distributed to all the slave nodes in the (i + 1) th layer of power line communication network, the IDs of all the slave nodes in the (i + 1) th layer of power line communication network are recorded in a network member table, and the network member table is synchronized with all the slave nodes which are added into the power line communication network through the central node;
step six, changing i to i +1, and then returning to the step three;
the method for selecting the slave node as the cluster head in the third step comprises the following steps:
the slave nodes are arranged from large to small according to the product of the signal strength and the historical communication rate, the cluster head slave nodes are selected according to the sequence of the product from large to small, and the number of the cluster head slave nodes is determined by the number of the cluster heads planned by the power line communication network in each station area.
2. The networking method based on the power line communication system according to claim 1, wherein in the second step, the central node assigns a unique ID to each slave node in the power line communication network of the next layer of the central node, and assigns the unique IDs in the order in which the central node receives the network access request signals;
the cluster head slave node assigns a unique ID to each slave node in the power line communication network next to the cluster head slave node, in the order in which the cluster head slave nodes receive the relay access request.
3. The networking method based on the power line communication system according to claim 1, wherein one communication cycle is a time when all the nodes are polled once.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811324922.2A CN109217901B (en) | 2018-11-08 | 2018-11-08 | Power line communication system and networking method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811324922.2A CN109217901B (en) | 2018-11-08 | 2018-11-08 | Power line communication system and networking method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109217901A CN109217901A (en) | 2019-01-15 |
CN109217901B true CN109217901B (en) | 2021-10-01 |
Family
ID=64995156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811324922.2A Active CN109217901B (en) | 2018-11-08 | 2018-11-08 | Power line communication system and networking method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109217901B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113541736B (en) * | 2021-07-12 | 2022-07-05 | 国网甘肃综合能源服务有限公司 | Networking fault maintenance method based on power line carrier communication |
CN115968056B (en) * | 2022-08-12 | 2024-03-22 | 北京市腾河智慧能源科技有限公司 | Automatic networking communication method and system for transformer area, electronic equipment and storage medium |
CN116668308B (en) * | 2023-07-31 | 2023-12-26 | 北京智芯微电子科技有限公司 | Networking method of communication network, networking method and device based on dual-mode communication network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9356655B2 (en) * | 2014-07-15 | 2016-05-31 | Stmicroelectronics S.R.L. | Method of operating communication networks, corresponding communication network and computer program product |
CN104539315B (en) * | 2014-12-02 | 2017-02-22 | 上海电器科学研究院 | Rapid networking method for power line carrier communication |
CN106781414A (en) * | 2017-01-04 | 2017-05-31 | 深圳市中创电测技术有限公司 | A kind of platform area network topology dynamic self-adapting method based on bandwidth carrier |
-
2018
- 2018-11-08 CN CN201811324922.2A patent/CN109217901B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9356655B2 (en) * | 2014-07-15 | 2016-05-31 | Stmicroelectronics S.R.L. | Method of operating communication networks, corresponding communication network and computer program product |
CN104539315B (en) * | 2014-12-02 | 2017-02-22 | 上海电器科学研究院 | Rapid networking method for power line carrier communication |
CN106781414A (en) * | 2017-01-04 | 2017-05-31 | 深圳市中创电测技术有限公司 | A kind of platform area network topology dynamic self-adapting method based on bandwidth carrier |
Non-Patent Citations (1)
Title |
---|
低压电力线窄带载波通信路由设计;宗群龙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110415(第4期);第3-4章 * |
Also Published As
Publication number | Publication date |
---|---|
CN109217901A (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109217901B (en) | Power line communication system and networking method | |
CN101399757B (en) | Method and device for tracing time clock source | |
Garrett et al. | A study of slot reuse in dual bus multiple access networks | |
CN100379183C (en) | Inter-synchronuos method for mobile wireless self-organized network | |
CN1496064B (en) | Operation, management and maintenance capability finding method in Ethernet passive optical network | |
CN110401971B (en) | Communication method based on 230MHz electric power special frequency band intelligent ad hoc network | |
CN109150712B (en) | Networking method and system for power line carrier and wireless converged communication | |
CN103004143A (en) | Frame transmission and communication network | |
CN102318322B (en) | Device and method for distributing MAC address | |
CN103078969A (en) | Method and equipment for announcing media access control (MAC) address information | |
CN102395126B (en) | Mobile Ad hoc network address configuration realization method based on tree structure | |
CN103595461B (en) | A kind of resource allocation methods of ultra-large VSAT system frame structure | |
CN105119828B (en) | A kind of quickly wireless network route implementation method | |
CN103297342A (en) | Energy-saving ZigBee network tree topology formation method | |
CN106060957A (en) | CSMA/TDMA hybrid access control method | |
CN105262855A (en) | Train-based IP address assignment method and train communication network | |
CN101330411B (en) | Method and system for simulating large-scale network topological | |
CN104754757A (en) | Channel and time slot scheduling method suitable for WIA-PA network | |
CN102291302A (en) | Local routing reconstruction method in power line carrier communication network of low-voltage electric distribution network | |
CN107959959B (en) | Multi-stage networking method for wireless data acquisition of electric meter | |
CN107995668A (en) | A kind of optimization network-building method of wireless ad hoc network | |
CN103139865A (en) | Method of networking and communicating in electric power internet of things | |
MX2021002817A (en) | Method for centralizing interference coordination. | |
CN107959537A (en) | A kind of state synchronization method and device | |
CN102572907A (en) | Wireless communication mode of industrial information corridor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |