Power line carrier communication method based on signal multipath superposition

Through signal multipath superposition and spread spectrum communication technology, combined with precise time control and power adjustment, the signal attenuation and interference problems in power line carrier communication are solved, the communication success rate and signal strength are improved, and multipath signals without networking are realized Enhance the effect.

CN118399995BActive Publication Date: 2024-11-01NINGBO JIANAN ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410510966.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-11-01
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

Due to the low signal attenuation, interference, and randomly changing load and frequency of power line carrier communication, the communication reliability and bandwidth are limited, making it difficult to achieve simultaneous transmission of multiple paths, affecting the communication success rate.

Method used

Using a power line carrier communication method based on signal multipath superposition, through spread spectrum communication technology and precise time control, each node forwards data frames within M clock cycles, uses multipath superposition effect to enhance the signal, and according to the relay level and neighbor The number of domain nodes adjusts the transmission power to avoid communication interference.

Benefits of technology

It improves the communication success rate and signal strength, avoids interference problems caused by network dependence and single node transmission power enhancement, complies with cost and specification requirements, and achieves multipath signal enhancement without networking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118399995B_ABST
    Figure CN118399995B_ABST
Patent Text Reader

Abstract

The present invention relates to a power line carrier communication method based on signal multipath superposition, and data sending, forwarding and receiving include the following steps: A. The main node, i.e., the communication initiating node, sends a frame of data, and the relay level L=0; B. All nodes receiving the data perform the following operations within M clock cycles: B.1. Frame check verification, if the check is wrong, the frame is discarded; B.2. The relay level in the data frame is L+1, and the check code is recalculated, and it is forwarded on time when the M clock cycles arrive; B.3. The target address is judged, if it is the node address, group address or broadcast address, the data frame is retained and passed to the link layer, otherwise the frame data is discarded; C. Repeat step B until the forwarding relay level L=Lmax, that is, the maximum value is reached, and then no more forwarding is performed. The present invention utilizes a precisely synchronized multipath forwarding mechanism, realizes signal enhancement, and improves the communication success rate, but does not enhance the transmission power of a single node, meets relevant specifications, and does not increase costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to power line carrier communication based on signal multipath superposition, and belongs to the technical field of power line carrier communication. Background Art

[0002] Power line carrier communication technology is a special branch of communication technology. It is wired communication, but it is also a non-dedicated communication. It uses the power supply wires as the transmission medium, so it has the same wiring-free feature as wireless communication, and even does not require an antenna. It is very convenient and practical, especially in the meter reading of power companies. The advantages are extremely obvious and it is favored by power companies. However, the main purpose of wires is to supply power, and there cannot be any restrictions on the distribution and load of the lines due to communication needs. Therefore, power line carrier communication has very large particularity. The aspects that affect communication mainly include signal attenuation of the line, interference from electrical equipment on the line, randomly changing loads, line branches, etc.

[0003] Because power line communication has problems such as large interference and strong randomness, and the power of the transmitter cannot be increased infinitely, networking communication is used in actual communication. However, in networking communication, because only one path can be selected at the same time, there are still many cases where communication fails. Because the bandwidth of power line carrier communication is limited, coupled with cost factor considerations, it is not possible to use a multi-channel method that does not interfere with each other to achieve multi-path simultaneous transmission. In addition, the frequency of power line carrier communication is low, and it is also very difficult to use multiple frequency points for simultaneous transmission to improve communication reliability. Summary of the invention

[0004] In order to improve the communication performance of low-voltage power line carrier, the present invention proposes power line carrier communication based on signal multipath superposition by utilizing the characteristic of multipath transmission in spread spectrum communication that enhances signals.

[0005] The present invention is achieved through the following technical solutions:

[0006] The power line carrier communication method based on signal multipath superposition, data sending, forwarding and receiving includes the following steps:

[0007] A. The master node, i.e. the communication initiating node, sends a frame of data, and the relay level L=0;

[0008] B. All nodes that receive the data perform the following operations within M clock cycles:

[0009] B.1, frame check verification, if the check is wrong, the frame is discarded;

[0010] B.2. Increase the relay level in the data frame to L+1, recalculate the checksum, and forward it on time when M clock cycles arrive;

[0011] B.3. Determine the target address. If it is the address of this node, group address or broadcast address, retain the data frame and pass it to the link layer. Otherwise, discard the frame data. C. Repeat step B until the forwarding relay level L=Lmax, that is, it reaches the maximum value, and then no longer forward.

[0012] Preferably, the length of each frame of data is fixed. When the communication parameters are determined, the transmission time of a single transmission of each frame of data is also fixed, which is T clock cycles.

[0013] Preferably, the delay interval of each forwarding by each node is fixed to M clock cycles.

[0014] Preferably, data transmission adopts spread spectrum communication technology.

[0015] Preferably, the maximum length of the data frame should not exceed 1000000 / e / pn / Lmax / 2 (in bits), where e is the clock accuracy (in ppm), pn is the length of the spread spectrum code sequence, Lmax is the maximum number of relay levels, and 100000 is the reciprocal of ppm.

[0016] Preferably, the target address supports a node address, a broadcast address, and a group address.

[0017] As a preference, the node transmission power is adjusted according to the number of neighboring nodes and the relay level. The specific adjustment method is as follows:

[0018] When the signal is sent as the master node (i.e., the communication initiator), it transmits with power Pmax;

[0019] When a relay node forwards a signal, it transmits it at a power of Ptr, Pmin≦Ptr≦Pmax. The transmit power of the relay node is set to several levels according to the number of neighboring nodes N and the relay level L (starting from 0). 1) When Pmax / N / (L+1) is less than Pmin, Ptr=Pmin; 2) When Pmax / N / (L+1) is greater than Pmin, the closest level greater than Pmax / N / (L+1) is selected as Ptr;

[0020] Preferably, the number of neighboring nodes N is dynamically updated, and the dynamic update method is as follows:

[0021] When the network is idle, each node will generate a random delay based on its own node number as a seed. When the delay ends, if the network is idle, it will send an address broadcast instruction with a relay level of Lmax and a transmission power of Pmax. After receiving it, other nodes will record the node address and reception time to form a neighborhood node set. If a neighboring node Q of a node has not received a new neighborhood broadcast notification for more than the threshold time, the node will delete node Q from its neighborhood record. The number of records in the neighborhood node set is the number of neighborhood nodes N.

[0022] During the communication process, several nodes participate in each forwarding. For the receiver, it is equivalent to receiving the same signal from different paths. Because the forwarding data content of each node is the same, the air transmission time and delay interval are consistent. Through the above-mentioned precise time control, the start time of each node forwarding is exactly the same. The power line carrier communication distance is short, and the transmission path time deviation is extremely small and negligible. Therefore, the multipath signal received by the receiver is superimposed and enhanced.

[0023] Power line carrier communication based on multipath superposition adopts spread spectrum communication technology. Spread spectrum communication has the effect of resisting multipath effect and improving the reception success rate when multipath signals are superimposed and enhanced.

[0024] Power line carrier communication based on multipath superposition has a mechanism to adjust power according to the number of neighboring nodes and the relay level. It solves the problems of communication interference with other devices and distortion of received signals due to excessive transmission power of the entire network when there are too many forwarding nodes.

[0025] The advantages of the present invention are: 1. The communication process does not require networking and does not rely on a specific relay path; 2. It utilizes a precisely synchronized multipath forwarding mechanism to achieve signal enhancement and improve the communication success rate, but does not enhance the transmission power of a single node, which complies with relevant regulations and does not increase costs; 3. It has a forwarding power adjustment mechanism, which will not cause the communication power of the entire network to be too strong and affect the operation of other devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG. 1 is a schematic diagram of the communication process in the method of the present invention. DETAILED DESCRIPTION

[0027] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] like Figure 1 As shown, based on the power line carrier communication method of signal multipath superposition, the data sending, forwarding and receiving processes are as follows:

[0029] A. The master node, i.e. the communication initiating node, sends a frame of data, and the relay level L=0.

[0030] B. All nodes that receive the data perform the following operations within M clock cycles:

[0031] B.1. Frame checksum verification. If the checksum is wrong, the frame is discarded.

[0032] B.2. Increase the relay level in the data frame to L+1, recalculate the checksum, and forward it on time when M clock cycles arrive;

[0033] B.3. Determine the target address. If it is the address of this node, group address or broadcast address, retain the data frame and pass it to the link layer. Otherwise, discard the frame data.

[0034] C. Repeat step B until the forwarding relay level L=Lmax, that is, it reaches the maximum value, and then no further forwarding is done.

[0035] The length of each frame of data is fixed. When the communication parameters are determined, the transmission time of each frame of data is also fixed, which is T clock cycles. The delay interval of each node forwarding is fixed to M clock cycles. Then the reception time of the kth forwarding is k*T+(k-1)*M, and the start time of the kth forwarding is k*(T+M).

[0036] During the communication process, the target node may receive its own data frame in any level of relay forwarding. The node will not forward it, but the entire network will still forward it.

[0037] During the communication process, several nodes participate in each forwarding. For the receiver, it is equivalent to receiving the same signal from different paths. Because the forwarding data content of each node is the same, the air transmission time and delay interval are consistent, through the above-mentioned precise time control, and the start time of each node forwarding is exactly the same, and the power line carrier communication distance is short, the transmission path time deviation is extremely small and negligible, therefore, the multipath signal received by the receiver is superimposed and enhanced.

[0038] The data transmission of the present invention adopts spread spectrum communication technology. Spread spectrum communication has the effect of resisting multipath effect, which is equivalent to superimposing and enhancing multipath signals. Therefore, the above-mentioned data forwarding method has the effect of enhancing the transmission signal, thereby improving the reception success rate.

[0039] However, the use of multipath superposition effect is conditional, that is, the deviation of the signal from each path should be small enough, otherwise it will not be signal enhancement but signal weakening or pure interference. In order to utilize the signal enhancement characteristics of multipath, it is necessary to consider the cumulative error caused by the clock deviation of each node communication chip during the communication process.

[0040] The maximum length of a data frame should not exceed 1000000 / e / pn / Lmax / 2 (in bits), where e is the clock accuracy (in ppm), pn is the length of the spread spectrum code sequence, Lmax is the maximum number of relay levels, and 100000 is the reciprocal of ppm.

[0041] According to the communication principle, if the deviation of the two received signals exceeds half a wavelength, they will cancel each other out. In order to ensure transmission, the cumulative signal deviation during transmission cannot exceed half a wavelength. Low-voltage power line carriers are generally modulated by BFSK or BPSK. The circuit clock uses a 20ppm crystal. The cumulative deviation is allowed to be no more than 25,000 chips. If the spread spectrum sequence PN length is 32 and the maximum relay is 4 levels, the physical layer data frame length is no more than 195 bits according to the formula. If a higher precision clock crystal is used, the physical layer data frame length can be increased.

[0042] The physical layer frame format is defined as follows:

[0043] The target address can be the physical address, group address, or broadcast address of a node, and has a fixed length of n bits, where n can be selected based on the clock accuracy and the total length of the message.

[0044] X represents the number of valid information bytes of the physical layer data.

[0045] Data verification uses CRC verification, and CRC8, CRC16, and CRC32 can be selected according to the clock accuracy and the total length of the information. After receiving a physical layer data frame, the node determines whether the CRC check is correct. If not, it is discarded and no operation is performed.

[0046] When the clock uses a 20ppm crystal, the target address uses 2 bytes, and CRC16 is used for verification, each physical layer frame can carry 20 bytes of valid data, that is, X=20.

[0047] When the information to be sent exceeds the fixed length X (20 bytes), the link layer divides the data into groups of 20 bytes according to the total number of bytes through framing. If the number of bytes in the last group is less than 20 bytes, it is padded with 0. Other data can also be padded as long as it does not affect the link layer decoding.

[0048] The target address uses 2 bytes and can be a node address, broadcast address, or group address. Its definition is as follows:

[0049] (1) If the target address is all 1, that is, 0xffff, it is a broadcast address;

[0050] (2) If the highest bit bit 15 is 0, the lower 15 bits bit 14 to bit 0 are the lower 15 bits of the node address;

[0051] (3) If the highest 2 bits bit15~bit14 are "10", the lower 8 bits bit7~bit0 are the group address. Each node can set one group address.

[0052] It can be seen from the aforementioned communication process that each level of relay forwarding is forwarded by several nodes at the same time. If power control is not performed, the transmission power of the entire network will be too large, which will cause communication interference with other devices on the one hand, and on the other hand, the received signal will be too strong and distorted. In order to solve this problem, the present invention adopts power adjustable technology. The node transmission power is adjusted according to the number of neighboring nodes and the relay level. Each node is set with a maximum transmission power of Pmax and a minimum transmission power of Pmin. When the signal is sent by the master node (i.e., the communication initiator), it transmits with power Pmax.

[0053] When it is a relay node, it transmits at power Ptr, Pmin≦Ptr≦Pmax. The transmit power forwarded by the relay node is set to several levels according to the number of neighboring nodes N and the relay level L (starting from 0), as follows:

[0054] 1) When Pmax / N / (L+1) is less than Pmin, Ptr=Pmin;

[0055] 2) When Pmax / N / (L+1) is greater than Pmin, select the closest level that is greater than Pmax / N / (L+1) as Ptr.

[0056] The number of neighboring nodes N refers to the number of nodes that can receive data frames forwarded by other nodes without relaying. It is dynamically updated, as follows:

[0057] When the network is idle, any node will generate a random delay based on its own node number as a seed. When the delay ends, if the network is idle, it will send a broadcast address instruction with a relay level of L=Lmax and a transmission power of Pmax. After receiving it, other nodes will record the node address and reception time to form a neighborhood node set. Because the relay level is Lmax, all nodes will not forward.

[0058] If a neighboring node Q of a node has not received a new neighbor broadcast notification for more than the threshold time Tmax, the node will delete node Q from its neighbor record. Tmax is adjustable and should generally be set to more than a few hours.

[0059] Through the above-mentioned neighborhood notification mechanism, each node will form a dynamically updated neighborhood node set. The number of records in the neighborhood node set is the number of neighborhood nodes N. Obviously, the number of neighborhood nodes N of each node is changing. There are two purposes for dynamic updating. First, a certain neighborhood node may be offline (such as damage, removal, power outage, etc.), and it will be automatically deleted; second, when the signal is relatively poor or the interference is relatively large, the N value will decrease because the neighborhood broadcast address cannot be received, and N will affect the relay transmission power, improve the relay success rate, and have the relay power adapt to the environment.

[0060] The above communication process is physical layer communication. After a node receives a data frame with a target address of a node address, a broadcast address or a group address, it retains its valid X bytes of data and passes it to the link layer. The link layer splices and combines the data frames received multiple times into a link layer data frame, and then checks the integrity and communication address of the link layer data frame. If it is a valid data frame sent to itself, it organizes the returned link layer data frame and groups it according to the physical layer data frame rules. It acts as the master node and sends it out in multiple frames according to the above physical layer communication method.

[0061] Generally speaking, the physical address of a node is relatively long, but in the above communication method, only the lowest bits are selected as the target communication address, so there are multiple nodes matching the same target communication address. However, in this communication scheme, the physical layer does not directly respond to data, and the communication return is processed at the link layer. The link layer data contains the complete communication address, so there will not be a situation where multiple nodes return data at the same time.

[0062] The present invention has several characteristics:

[0063] 1) The method of actively generating multipath effects is used in communication. Unlike the general multipath that generates multiple propagation paths due to reflection, refraction, scattering and other phenomena, power line carrier communication basically has no refraction or scattering. By accurately controlling the transmission time, the influence of reflection can be basically eliminated, so that controlled multipath signals are transmitted in the channel, and these multipath signals will be superimposed and enhanced at the receiving end;

[0064] 2) At the physical layer, the data length, forwarding times, and total transmission time of each frame are fixed. Even if the target node has received the data when the master node sends it, the entire network will forward it;

[0065] 3) Physical layer communication is actually broadcast transmission, without physical layer response. Therefore, although each physical frame needs to be transmitted a fixed number of Lmax times, the actual time is not large.

[0066] 4) There is no need to establish a network during the communication process, so it does not rely on a specific relay path. Although it takes a certain amount of time to generate a neighborhood set, normal communication is still possible during this period.

Claims

1. Power line carrier communication method based on signal multipath superposition, Features: Data sending, forwarding, and receiving include the following steps: A. The master node, i.e. the communication initiating node, sends a frame of data, and the relay level L=0; B. All nodes that receive the data perform the following operations within M clock cycles: B.1, frame check verification, if the check is wrong, the frame is discarded; B.

2. Increase the relay level in the data frame to L+1, recalculate the checksum, and forward it on time when M clock cycles arrive; B.

3. Determine the target address. If it is the local node address, group address or broadcast address, retain the data frame and pass it to the link layer. Otherwise, discard the frame data. C. Repeat step B until the forwarding relay level L=Lmax, that is, it reaches the maximum value, and then no more forwarding; The length of each frame of data is fixed. When the communication parameters are determined, the transmission time of each frame of data is also fixed, which is T clock cycles. The delay interval for each node to forward each time is fixed M clock cycles.

2. The power line carrier communication method based on signal multipath superposition according to claim 1, Features: Data transmission uses spread spectrum communication technology.

3. The power line carrier communication method based on signal multipath superposition according to claim 1 or 2, Features: The maximum length of a data frame should not exceed 1000000 / e / pn / Lmax / 2, in bits, where e is the clock accuracy in ppm, pn is the length of the spread spectrum code sequence, Lmax is the maximum number of relay levels, and 1000000 is the reciprocal of ppm.

4. The power line carrier communication method based on signal multipath superposition according to claim 1, Features: The target address supports node address, broadcast address, and group address.

5. The power line carrier communication method based on signal multipath superposition according to claim 1, Features: The node transmission power is adjusted according to the number of neighboring nodes and the relay level. The specific adjustment method is as follows: When sending a signal as a master node, it transmits with power Pmax; When a relay node forwards a signal, it transmits it with power Ptr, Pmin≦Ptr≦Pmax. The transmission power forwarded by the relay node is set to several levels according to the number of neighboring nodes N and the relay level L. L starts from 0. When Pmax / N / (L+1) is less than Pmin, Ptr=Pmin; when Pmax / N / (L+1) is greater than Pmin, the closest level larger than Pmax / N / (L+1) is selected as Ptr.

6. The power line carrier communication method based on signal multipath superposition according to claim 5, Features: The number of neighborhood nodes N is dynamically updated, and the dynamic update method is as follows: When the network is idle, each node will generate a random delay based on its own node number as a seed. When the delay ends, if the network is idle, it will send an address broadcast instruction with a relay level of Lmax and a transmission power of Pmax. After receiving it, other nodes will record the node address and reception time to form a neighborhood node set. If a neighboring node Q of a node has not received a new neighborhood broadcast notification for more than the threshold time, the node will delete node Q from its neighborhood record. The number of records in the neighborhood node set is the number of neighborhood nodes N.