Power carrier signal processing method and device, storage medium and chip

By monitoring and updating the available coefficients of subcarriers in the broadband power line carrier communication system, identifying and suppressing interference, the problem of communication quality degradation caused by interference in broadband power line carrier communication is solved, and the anti-interference ability and robustness of the system are improved.

CN119996144AActive Publication Date: 2025-05-13BEIJING SMARTCHIP SEMICON TECH CO LTD +1

Patent Information

Application Number
CN202510469592.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-05-13
Estimated Expiration
2045-04-15

AI Technical Summary

Technical Problem

There are single-frequency interference and pulse interference in broadband power line carrier communication, resulting in a decline in communication quality and insufficient robustness.

Method used

By monitoring the power line carrier communication link, noise data of each subcarrier is collected when an idle symbol is received, the disturbed subcarrier is determined and its available coefficients are updated. When receiving the valid symbol, the data sub-blocks carried on each sub-carrier are extracted and the data sub-blocks are reconstructed based on the available coefficients of each sub-carrier to achieve suppression of interference and accurate reconstruction of the data blocks.

Benefits of technology

Effectively suppress interference, improve anti-interference ability and communication robustness, enhance the accuracy of data block reconstruction, and improve the reliability of the system in complex power line environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996144A_ABST
    Figure CN119996144A_ABST
Patent Text Reader

Abstract

The invention discloses a power line carrier signal processing method and device, a storage medium and a chip, and belongs to the technical field of power communication. The method comprises the following steps: monitoring a power line carrier communication link; under the condition that the idle symbols are received, collecting noise data of each subcarrier; determining interfered subcarriers based on the noise data accumulated by each subcarrier, and updating available coefficients of the interfered subcarriers; under the condition that the effective symbols are received, extracting data sub-blocks borne on each sub-carrier; the data sub-blocks are obtained by performing diversity copying on the data blocks through the sending end; and reconstructing the data sub-block based on the available coefficient of each sub-carrier to obtain a data block sent by the sending end. According to the method, the interfered subcarriers are detected and analyzed, and the available coefficients are introduced to adjust the weight of the subcarriers during combined decoding, so that the influence of communication interference is reduced, and the data decoding accuracy and the robustness of a communication system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power communication, and in particular relates to a power carrier signal processing method, device, storage medium and chip. Background Art

[0002] High-speed Power Line Communication (HPLC) is a broadband power line communication (BPLC) technology for data transmission on low-voltage power lines. The broadband power line carrier communication network uses power lines as the communication medium to achieve the communication network of low-voltage power users' electricity consumption information aggregation, transmission, and interaction. Broadband power line carrier mainly uses orthogonal frequency division multiplexing (OFDM) technology. Compared with traditional low-speed narrowband power line carrier technology, it has the characteristics of large bandwidth and high transmission rate, which can meet the higher requirements of low-voltage power line carrier communication.

[0003] However, due to the irregularity of the power line network in the low voltage range, the randomness of the transmission distance and the diversity of load changes on the power line, the interference problem has become the main obstacle to the development and popularization of low voltage power line carrier communication. In practical applications, broadband power line carrier communication systems will encounter two main types of interference problems: single frequency interference and pulse interference.

[0004] Among them, single-frequency interference is usually a continuous interference generated by certain devices on the power line. For example, some electrical equipment may generate fixed-frequency interference signals when running. These signals may overlap or be close to the signal frequency of the carrier communication system, thus affecting the communication quality. Single-frequency interference is characterized by a single and stable frequency, but it may cause a continuous impact on communications in a specific frequency band.

[0005] Pulse interference refers to those short-term, instantaneous interferences, which may be caused by switching operations on power lines, lightning strikes, starting and stopping of electrical equipment, etc. Although this type of interference is short-lived, it has high energy and may have a serious impact on the communication system, especially when it occurs, it may cause data transmission errors or communication interruptions.

[0006] Therefore, how to reduce interference in broadband power line carrier communication to improve communication robustness is a problem that needs to be solved urgently. Summary of the invention

[0007] The present invention aims to solve at least one of the technical problems existing in the related art. To this end, the present invention proposes a power carrier signal processing method, device, storage medium and chip to suppress interference in power communication signals and improve communication robustness.

[0008] In a first aspect, the present invention provides a method for processing a power carrier signal, the method comprising: Monitoring of power line carrier communication links; When an idle symbol is received, noise data of each subcarrier is collected; Determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier; When a valid symbol is received, a data sub-block carried on each sub-carrier is extracted; the data sub-block is obtained by performing diversity copying on the data block by the transmitting end; The data sub-blocks are reconstructed based on available coefficients of each sub-carrier to obtain data blocks sent by the transmitting end.

[0009] In the above technical scheme, by monitoring the power line carrier communication link, and in the case of receiving idle symbols, the noise data of each subcarrier is collected, and the interfered subcarrier is determined based on the accumulated noise data of each subcarrier, and the available coefficient of the interfered subcarrier is updated, thereby accumulating and analyzing the subcarrier noise and dynamically marking it, so that the weight of the interfered subcarrier can be timely identified and reduced, thereby effectively suppressing interference when reconstructing the data block, and improving the anti-interference ability; and in the case of receiving valid symbols, the data subblocks carried on each subcarrier are extracted, and the data subblocks are reconstructed based on the available coefficients of each subcarrier to obtain the data blocks sent by the transmitter, and by using the weighted merging method of the available coefficients, the diversity data block merging has a differentiated processing mechanism, which improves the fault tolerance of the receiving end to partially distorted data blocks and enhances the accuracy of data block reconstruction. Therefore, by real-time monitoring and dynamic updating of subcarrier availability in the communication link, rapid response and adaptive dynamic adjustment of the channel state in the complex environment of the power line are achieved, and the robustness and reliability of the system are improved.

[0010] According to one embodiment of the present invention, each subcarrier is initialized with a subcarrier number, and the subcarrier number of each subcarrier and the respectively initialized preset available coefficient form an available coefficient list; the updating of the available coefficient of the interfered subcarrier includes: Based on the available coefficients of the interfered subcarrier, the available coefficient list is updated, and the available coefficients of other subcarriers are kept as preset values.

[0011] In the above embodiment, by binding the subcarrier number and the available coefficient, efficient management of the subcarrier availability status is achieved, and the subcarrier status maintenance logic is simplified, thereby improving the real-time and accuracy of the available coefficient management, wherein only the interfered subcarrier is updated to avoid affecting the weight of the normal subcarrier.

[0012] According to an embodiment of the present invention, the reconstructing the data sub-block based on the available coefficients of each sub-carrier to obtain the data block sent by the transmitting end includes: Determine a data subblock belonging to a target data block as a target data subblock, and determine a target subcarrier that carries each target data subblock; Reconstruction is performed based on the available coefficients of each target subcarrier and each target data subblock to obtain a data block sent by the transmitting end.

[0013] In the above embodiment, multiple target data sub-blocks are used for reconstruction to reduce the impact of interfered sub-carriers and improve the accuracy of data recovery. The data recovery strategy is adaptively adjusted in combination with the available coefficients of each sub-carrier to improve the communication reliability of the system in a complex power line environment. The information on different sub-carriers is fully utilized to improve transmission efficiency and avoid the loss of the entire data block due to damage to some sub-carriers.

[0014] In a second aspect, the present invention provides a power carrier signal processing device, the device comprising: A monitoring module, used for monitoring a power line carrier communication link; An interference detection module, used to collect noise data of each subcarrier when receiving an idle symbol; The interference detection module is further used to determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier; An interference elimination module, configured to extract data sub-blocks carried on each sub-carrier when a valid symbol is received; the data sub-blocks are obtained by performing diversity copying on the data block at the transmitting end; The interference elimination module is further used to reconstruct the data sub-block based on the available coefficients of each sub-carrier to obtain the data block sent by the transmitting end.

[0015] In the above technical scheme, by monitoring the power line carrier communication link, and in the case of receiving idle symbols, the noise data of each subcarrier is collected, and the interfered subcarrier is determined based on the accumulated noise data of each subcarrier, and the available coefficient of the interfered subcarrier is updated, thereby accumulating and analyzing the subcarrier noise and dynamically marking it, so that the weight of the interfered subcarrier can be timely identified and reduced, thereby effectively suppressing interference when reconstructing the data block, and improving the anti-interference ability; and in the case of receiving valid symbols, the data subblocks carried on each subcarrier are extracted, and the data subblocks are reconstructed based on the available coefficients of each subcarrier to obtain the data blocks sent by the transmitter, and by using the weighted merging method of the available coefficients, the diversity data block merging has a differentiated processing mechanism, which improves the fault tolerance of the receiving end to partially distorted data blocks and enhances the accuracy of data block reconstruction. Therefore, by real-time monitoring and dynamic updating of subcarrier availability in the communication link, rapid response and adaptive dynamic adjustment of the channel state in the complex environment of the power line are achieved, and the robustness and reliability of the system are improved.

[0016] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the power carrier signal processing method as described in the first aspect above is implemented.

[0017] In a fourth aspect, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the power carrier signal processing method as described in the first aspect above is implemented.

[0018] In a fifth aspect, the present invention provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the power carrier signal processing method as described in the first aspect above.

[0019] In a sixth aspect, the present invention provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the power carrier signal processing method as described in the first aspect above is implemented.

[0020] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 is a schematic diagram of the structure of a PPDU provided in some embodiments of the present invention; Figure 2 is a schematic diagram of the structure of a frame preamble provided in some embodiments of the present invention; Figure 3 is a schematic diagram of the principle of the diversity copy provided in some embodiments of the present invention; Figure 4 is a schematic diagram of application scenarios of power line carrier signal processing methods provided by the present invention in other embodiments; Figure 5 is a flowchart of a power carrier signal processing method provided in some embodiments of the present invention; Figure 6 is a schematic diagram of the principle of subcarriers carrying data subblocks provided in some embodiments of the present invention; Figure 7 is a flowchart of a power carrier signal processing process provided in some embodiments of the present invention; Figure 8 is a flowchart of a power carrier signal processing process provided in other embodiments of the present invention; Fig. 9 is a schematic diagram of a flow chart of simulated carrier interference and elimination provided in some embodiments of the present invention; Fig.10 is a flow chart of carrier interference detection provided in some embodiments of the present invention; Fig.11 is a flow chart of carrier interference elimination provided in some embodiments of the present invention; Fig.12 is a schematic diagram of simulation results of a time-frequency resource graph provided in some embodiments of the present invention; Fig.13 is a comparative schematic diagram of amplitude variance provided in some embodiments of the present invention; Fig.14 is a schematic diagram of interference subcarrier detection rate provided in some embodiments of the present invention; Fig.15 is a schematic diagram comparing the performance of gain combining and weighted gain combining provided in some embodiments of the present invention; Fig.16 is a schematic diagram of the structure of a power carrier signal processing device provided in some embodiments of the present invention; Fig.17 It is a schematic diagram of the structure of a computer device provided in some embodiments of the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0023] Unless otherwise defined, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by technicians in the technical field of the present invention; the terms used in the specification of the present invention in the application are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order or a primary and secondary relationship.

[0024] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in the present invention may be combined with other embodiments.

[0025] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "attached" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] The term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.

[0027] The term "plurality" used in the present invention refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple sheets" refers to more than two sheets (including two sheets).

[0028] For HPLC communication systems, the "Low Voltage Power Line Broadband Carrier Technical Specifications" publicly released by the industry specifies in detail the physical layer, data link layer, application layer protocol and related inspection technical specifications of broadband carrier communication standards. In the technical specifications, OFDM symbols are usually transmitted in sequence through PPDU frames (Physical Protocol Data Unit).

[0029] like Figure 1 As shown in Figure 1, a PPDU frame usually includes a frame preamble, a frame control field, and a data payload. The frame preamble is used for frame synchronization and channel estimation. The frame control field is used to describe basic information of the frame, such as modulation mode, subcarrier distribution, etc. The data payload is used to describe the actual data to be transmitted. The frame preamble structure is a periodic sequence known to both the sender and the receiver, such as Figure 2 As shown in the figure, SYNCP (Synchronization Pattern) is used to provide a synchronization signal to the receiving end to help the receiving end identify the beginning of the frame. SYNCM (Synchronization Marker) is used to mark the end of the frame. Repetition Interval (RI) is a gap / interval in the leading frame, which is used to avoid interference or superposition between leading symbols. During data transmission, data is first organized into logical frames in the upper layer protocol. The logical frames are encapsulated into PPDU frames and transmitted to the physical layer. The physical layer performs OFDM modulation on the PPDU frames and sends them as a continuous signal through the power line.

[0030] In the current "Technical Specifications for Low Voltage Power Line Broadband Carrier Communication", the data blocks can be repeatedly copied and transmitted through the diversity copy method, so that there are always data blocks that are not interfered with that can be correctly parsed, which greatly suppresses pulse interference. The data block (also called information block) carried in the data payload forms a transmission data block after verifying the information, and the diversity copy is used to divide and map the transmission data block. The data sub-block is a simple repeated copy of the transmission data block. When only the diversity number is 1, this link can be omitted. Diversity copy processes the data sub-block according to the load data diversity copy process according to the different copy times in the selected mode.

[0031] For example, the overall principle of diversity copy can be as follows Figure 3 As shown in the figure, taking the diversity copy number of 4 times as an example, a scenario of 4 diversity copies is given. Therefore, in the case of pulse interference, due to the repeated transmission in time, there are always transmission blocks that are not interfered with and can be correctly parsed. However, since single-frequency interference always exists in the system, there is also interference on the corresponding subcarrier of each data subblock, which greatly affects the demodulation performance of the receiving end.

[0032] In view of this, in the embodiment of the present invention, the interference subcarriers are accurately identified and their availability coefficients are dynamically adjusted by accumulating and analyzing the subcarrier noise in the idle symbol stage. After receiving the valid symbol, the data sub-blocks are weighted and combined based on the subcarrier availability coefficients, the interference subcarriers are accurately determined and utilized, and the availability of the subcarriers is fully considered during reconstruction, which can effectively improve the accuracy of data block reconstruction and improve the anti-interference ability and robustness of the communication system. In other words, after the interference subcarriers are detected, they are not completely discarded, but the weights are adjusted according to their availability, so as to more efficiently utilize the data of the diversity copy.

[0033] The power carrier signal processing method provided by the embodiment of the present invention is described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios. The power carrier signal processing method provided by the embodiment of the present invention can be applied to Figure 4 In the application environment shown.

[0034] Among them, the sending end receives data from the data link layer, and after a series of power carrier signal processing and transformation, it uses OFDM modulation to process the encoded data and sends the formed OFDM signal to the power line. After the receiving end detects the signal from the power line, it performs corresponding decoding and demodulation processing, and finally restores the carrier signal on the power line to the decoded data information, and sends it to the data link layer for subsequent protocol analysis.

[0035] In the present invention, if the receiving end does not detect a valid frame preamble on the communication power line, the data is used to detect the interference of the power line subcarrier, record the number of the interfered subcarrier, and evaluate the available coefficient of the interfering subcarrier. If the receiving end detects a valid frame preamble, the normal synchronization and channel equalization process is completed, the data subblock is demodulated, and the subcarrier number corresponding to each data in the diversity copy data is recorded. When the diversity is combined, the data corresponding to the interfering subcarrier number participates in the gain combination weighted calculation of the repeated transmission diversity according to the available coefficient, and finally the channel decoding is performed to demodulate the data block transmitted by the sending end.

[0036] Among them, the sending end and the receiving end can be, for example, computer devices, and the computer devices can be various power devices with communication capabilities, or other terminal devices such as desktop computers, laptops, smart phones, tablet computers, vehicle-mounted terminals, Internet of Things devices, portable wearable devices or servers, etc. One or more of the above.

[0037] The power carrier signal processing method can be applied to the receiving end, and can be specifically executed by hardware or software in the receiving end. The power carrier signal processing method provided by the embodiment of the present invention is described below by taking the receiving end as an example of the execution subject.

[0038] like Figure 5As shown, the power carrier signal processing method includes: steps 510 to 550.

[0039] Step 510: Monitor the power line carrier communication link.

[0040] The receiving end continuously monitors the power line carrier communication link, identifies the idle symbol and valid symbol status, and collects noise data or receives data signals based on this. Among them, when the receiving end does not detect a valid frame preamble, it considers that the symbol received at the current moment is an idle state symbol, indicating that the power line is in an idle state, that is, no device is currently sending data frames. The idle state symbol is mainly composed of background noise.

[0041] Exemplarily, the receiving end identifies whether there is a valid frame preamble in the signal through a frame synchronization module, for example, by using correlation detection or matched filtering to compare with a known frame preamble template. When the correlation value exceeds a threshold, it is marked as a valid symbol area, otherwise it is an idle symbol area.

[0042] Step 520: When an idle symbol is received, noise data of each subcarrier is collected.

[0043] When an idle symbol is received, the receiving end determines through a frame synchronization module that the currently received symbol is an idle symbol, and then extracts the frequency domain data corresponding to each subcarrier and performs cumulative statistics.

[0044] Exemplarily, the receiving end converts the received time domain signal into a frequency domain signal through Fast Fourier Transform (FFT), obtains the noise data carried by each subcarrier and records it.

[0045] Step 530: determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier.

[0046] Each subcarrier is configured with a default availability coefficient during initialization. The availability coefficient represents the signal availability of the subcarrier. For a subcarrier that is not interfered with, its availability coefficient is, for example, 1. For an interfered subcarrier, the receiving end can reduce its availability coefficient to indicate that its signal is interfered with. When the interfered subcarrier is severely interfered with or has serious communication obstacles, its availability coefficient can be set to 0 to indicate that it is unavailable. That is, the lower the availability coefficient, the less reliable the corresponding subcarrier is.

[0047] After accumulating a certain amount of noise data, the receiving end marks the interfered subcarrier from each subcarrier based on the noise data accumulated by each subcarrier, and adjusts the available coefficient of the corresponding subcarrier according to the interference degree. In some embodiments, the receiving end can calculate the variance of the noise characteristics accumulated by the subcarrier and compare it with the preset threshold. If it exceeds the threshold, it is marked as an interfered subcarrier and the corresponding available coefficient is adjusted.

[0048] Step 540: When a valid symbol is received, extract the data sub-blocks carried on each sub-carrier; the data sub-blocks are obtained by performing diversity copying on the data blocks by the transmitting end.

[0049] After confirming the receipt of valid symbols, the receiving end extracts the data sub-blocks carried by each sub-carrier. These data sub-blocks originate from the OFDM modulation and diversity copy of the data block by the transmitting end, that is, the diversity copy data block. In order to avoid redundancy, they are referred to as data sub-blocks. The receiving end extracts the frequency domain data carried by each sub-carrier through fast Fourier transform, and extracts the data sub-block according to the pre-configured sub-carrier mapping rules.

[0050] In other words, the transmitting end allocates the bits in the data block to multiple subcarriers for parallel transmission according to the pre-configured subcarrier mapping rule, and the receiving end extracts the corresponding data subblock from each subcarrier according to the same rule.

[0051] In some embodiments, when mapping data blocks to different frequencies, the transmitter maps multiple copies of the same data block to subcarriers of different frequencies through diversity mapping, ensuring that when some subcarriers are interfered, data can still be recovered through other subcarriers.

[0052] In other words, the transmitter copies the data block multiple times, and shuffles the data blocks obtained after the repeated copies and distributes them in different subcarriers and / or different OFDM symbols. In this way, even if some subcarriers are interfered in some time periods, the receiver can still reconstruct the original data block through the remaining parts.

[0053] Step 550: reconstruct the data sub-blocks based on the available coefficients of each sub-carrier to obtain the data blocks sent by the transmitting end.

[0054] The receiving end combines the extracted data sub-blocks with weighted gains according to the available coefficients of each sub-carrier to restore the original data block, thereby realizing the reconstruction of the data block. When the transmitting end uses the diversity copy method to divide and map the data block, the receiving end combines and restores the data sub-blocks of the same data block on multiple sub-carriers and / or multiple symbols to obtain the data block sent by the transmitting end.

[0055] The power carrier signal processing method provided by the embodiment of the present invention monitors the power line carrier communication link, and when receiving an idle symbol, collects the noise data of each subcarrier, determines the interfered subcarrier based on the accumulated noise data of each subcarrier, and updates the available coefficient of the interfered subcarrier, thereby accumulating and analyzing the subcarrier noise and dynamically marking it, and can timely identify and reduce the weight of the interfered subcarrier, so as to effectively suppress interference when reconstructing the data block, thereby improving the anti-interference ability; and when receiving a valid symbol, extract the data subblock carried on each subcarrier, and reconstruct the data subblock based on the available coefficient of each subcarrier to obtain the data block sent by the transmitter, and by using the weighted merging method of the available coefficient, the diversity data block merging has a differentiated processing mechanism, improves the fault tolerance of the receiving end to partially distorted data blocks, and enhances the accuracy of data block reconstruction. Therefore, by real-time monitoring and dynamic updating of subcarrier availability in the communication link, rapid response and adaptive dynamic adjustment of the channel state in a complex power line environment are achieved, and the robustness and reliability of the system are improved.

[0056] In order to improve the anti-interference capability of the system, it is necessary to monitor the noise characteristics of the subcarriers, identify and shield the interfered subcarriers in real time, so as to ensure the quality of the communication link. To this end, in some embodiments, the interfered subcarriers are determined based on the noise data accumulated by each subcarrier, including: for any subcarrier, determining the unit amplitude fluctuation of the targeted subcarrier when receiving noise data; when multiple idle symbols are received, determining the average amplitude fluctuation corresponding to the targeted subcarrier based on the unit amplitude fluctuation; when the average amplitude fluctuation exceeds the rejection threshold, determining the targeted subcarrier as an interfered subcarrier.

[0057] Specifically, the receiving end receives and records the noise samples of each subcarrier during the idle symbol. Generally speaking, the receiving end uses the time taken to receive a complete OFDM symbol as the unit time window, and calculates the amplitude fluctuation of each subcarrier within the unit time window, which is called unit amplitude fluctuation, which is used to reflect the change in noise intensity of the subcarrier within the unit time window. The unit amplitude fluctuation can be, for example, standard deviation, variance or mean square error.

[0058] In the case of receiving multiple idle symbols, the receiving end accumulates and counts multiple unit amplitude fluctuations of each subcarrier based on the noise data in the multiple idle symbols, thereby obtaining the average amplitude fluctuation of each subcarrier. The average amplitude fluctuation can reflect the change in noise intensity of the subcarrier over a period of time. For example, for any subcarrier, after receiving a preset number (such as N idle symbols) of noise data, the receiving end calculates the mean or median of all unit amplitude fluctuations of the subcarrier, thereby obtaining the average amplitude fluctuation corresponding to the subcarrier.

[0059] For example, assuming that the subcarrier sequence number is 1 to n, and the receiving end receives m idle symbol data 1m to nm continuously, the average amplitude fluctuation corresponding to the subcarrier can be calculated by referring to the following formula: (1) in, is the amplitude variance of the i-th symbol subcarrier j, i.e., the unit amplitude fluctuation; is the mean of the amplitude variance of the m idle symbols of the subcarrier j, that is, the average amplitude fluctuation.

[0060] Therefore, the receiving end compares the average amplitude fluctuation with the preset rejection threshold, and if the average amplitude fluctuation exceeds the rejection threshold, the subcarrier is marked as an interfered subcarrier and its usable coefficient is updated. The rejection threshold is a completely unusable threshold, that is, the reception is completely incorrect or unusable.

[0061] In the above embodiment, by counting the noise data received by the subcarrier during the idle symbol, the amplitude fluctuation characteristics of the subcarrier are calculated, and the subcarrier is determined to be interfered with according to the preset threshold, so as to dynamically adjust the availability of the subcarrier and improve the reliability and stability of communication. The interference subcarrier is determined by accumulating noise statistics to avoid misjudgment caused by a single measurement error, so as to more accurately mark the interfered subcarrier and improve the reliability of the communication link.

[0062] In order to improve the accuracy of data block recovery, the receiving end needs to identify the interfered subcarrier in time by statistically analyzing the noise characteristics of each subcarrier, and adjust the data credibility of the subcarrier according to the interference degree, that is, update the available coefficient of the subcarrier. To this end, in some embodiments, updating the available coefficient of the interfered subcarrier includes: respectively determining the first number of times that the average amplitude fluctuation of the interfered subcarrier exceeds the rejection threshold, and the second number of times that the average amplitude fluctuation exceeds the tolerance threshold; wherein the rejection threshold is greater than the tolerance threshold; based on the received multiple idle symbols, the first number and the second number, determining the available coefficient of the interfered subcarrier, and updating the available coefficient of the interfered subcarrier.

[0063] Specifically, during reception of idle symbols, the receiving end determines a first number of times that the average amplitude fluctuation of the interfered subcarrier exceeds a rejection threshold, and determines a second number of times that the average amplitude fluctuation exceeds an error tolerance threshold.

[0064] Among them, the rejection threshold Indicates the severe interference threshold. Data exceeding this value is basically unusable. Indicates the mild interference threshold, within which there may be a small amount of bit errors, but some data is still available. Generally speaking, the rejection threshold is greater than the tolerance threshold, that is, .

[0065] Therefore, the receiving end can determine the proportion of mild interference and the proportion of severe interference respectively based on the total number of statistical representations of the multiple idle symbols received and the first number and the second number, and then calculate the available coefficient of the interfered subcarrier and update the available coefficient of the interfered subcarrier.

[0066] In the above embodiment, by setting different interference judgment thresholds and introducing a multi-threshold statistical mechanism to count and analyze the cumulative number of subcarrier excess times, it is possible to more accurately determine whether a subcarrier is an interfered subcarrier, and then when merging data sub-blocks, a greater weight is given to reliable subcarriers based on the available coefficients, which can improve the restoration accuracy of the data blocks.

[0067] Compared with the traditional simple bit error rate statistics, the embodiment of the present invention calculates the availability coefficient by comprehensively counting the number of partial interference times (exceeding the tolerance threshold but not exceeding the rejection threshold) and the number of no interference times (not exceeding the tolerance threshold), and introduces the availability parameter to adjust the partial interference weight, thereby realizing a more flexible subcarrier quality assessment mechanism.

[0068] To this end, in some embodiments, based on the received multiple idle symbols, the first number and the second number, the available coefficient of the interfered subcarrier is determined, including: determining the partial interference ratio in the received multiple idle symbols based on the difference between the second number and the first number; determining the non-interference ratio in the received multiple idle symbols based on the difference between the second number and the statistical number; adjusting the size of at least the partial interference ratio through the availability parameter, and combining the adjusted partial interference ratio and non-interference ratio to obtain the available coefficient of the interfered subcarrier.

[0069] The receiving end can calculate the difference between the second number and the first number, and obtain the partial interference ratio based on the ratio of the difference to the number of the plurality of idle symbols received. Generally speaking, the number of the plurality of idle symbols received is the statistical number. Similarly, the receiving end calculates the difference between the statistical number and the second number, and obtains the interference-free ratio based on the ratio of the difference to the statistical number.

[0070] On this basis, the availability parameter is introduced λ , availability parameters λ The value range of can be, for example, between 0 and 1, which is used to adjust the weight of the influence of partial interference on the available coefficient. Thus, the receiving end can adjust the size of the partial interference ratio through the availability parameter, and combine the adjusted partial interference ratio and non-interference ratio to obtain the available coefficient of the interfered subcarrier. In some embodiments, the receiving end can also adjust the size of the partial interference ratio and the non-interference ratio respectively, and the availability parameters corresponding to the partial interference ratio and the non-interference ratio can be the same or different, so as to obtain the available coefficient of the interfered subcarrier.

[0071] For example, taking subcarrier j as an example, the receiving end can determine the number of statistics K for subcarrier j based on the number of idle symbols received, where the average amplitude fluctuation is Greater than the rejection threshold The number of times is k1, the average amplitude fluctuation Greater than the fault tolerance threshold The number of times is k2, then the available coefficients of subcarrier j are It can be expressed as: (2) in, λ is the average amplitude fluctuation of subcarrier j in [ , ] interval, which represents the signal availability of subcarrier j when partial interference occurs on subcarrier j.

[0072] Of course, it is not limited to this. In the embodiment of the present invention, for the convenience of explanation, only the error tolerance threshold and the rejection threshold are set, but in order to make the determination of the interfering subcarrier more accurate, a more fine-grained threshold can be set, for example, multiple other thresholds can be additionally set. Correspondingly, the availability parameter can also be not only limited to adjusting the partial interference ratio, but also can adjust other parts, for example: (3) in, It represents the ratio calculated based on each threshold. Used to adjust the size of each ratio.

[0073] In order to avoid misjudgment and impact of interference on unaffected subcarriers, this solution only updates the corresponding available coefficient when the interfered subcarrier is detected, and keeps the available coefficients of other subcarriers at the initial setting value, thereby ensuring system stability and simplifying management. To this end, the receiving end can configure an available coefficient list, each subcarrier is initialized with a subcarrier number, and the available coefficient list records the subcarrier number of each subcarrier and its respective preset available coefficient.

[0074] Accordingly, in some embodiments, updating the available coefficient of the interfered subcarrier includes: updating the available coefficient list based on the available coefficient of the interfered subcarrier, and keeping the available coefficients of other subcarriers as preset values. For any interfered subcarrier, the receiving end uses the calculated new available coefficient to overwrite the original preset value of the interfered subcarrier, thereby completing the update of the available coefficient of the interfered subcarrier. The available coefficients of other subcarriers remain unchanged.

[0075] Exemplarily, the receiving end stores and maintains an updated available coefficient list as shown in Table 1 below: Table 1

[0076] In the above embodiment, by binding the subcarrier number and the available coefficient, efficient management of the subcarrier availability status is achieved, and the subcarrier status maintenance logic is simplified, thereby improving the real-time and accuracy of the available coefficient management, wherein only the interfered subcarrier is updated to avoid affecting the weight of the normal subcarrier.

[0077] In order to avoid misjudgment caused by short-term fluctuations, in some embodiments, the above method also includes: when the number of consecutive interferences of the interfered subcarrier exceeds a first number threshold, marking the interfered subcarrier as an unavailable subcarrier; when the interfered subcarrier is re-determined as a normal subcarrier and the number of consecutive interferences of the interfered subcarrier exceeds a second number threshold, updating the available coefficient of the interfered subcarrier to a preset value.

[0078] When determining whether a subcarrier is unavailable or available again, the receiving end sets a number threshold limit, such as a first number threshold and a second number threshold, where the first number threshold is used to determine whether a subcarrier is unavailable due to long-term interference. For example, if the receiving end detects that a subcarrier is interfered with 10 times in a row, it will be marked as an unavailable subcarrier. The second number threshold is used to determine whether the subcarrier marked as unavailable has returned to normal. For example, if the receiving end detects that a subcarrier is not interfered with 5 times in a row, it means that it has returned to normal, then it will be re-marked as a normal subcarrier and its availability coefficient will be reset, that is, reset to a preset value.

[0079] In the above embodiment, a number threshold is used to determine whether the interfered subcarrier has returned to normal, thereby avoiding frequent switching caused by short-term interference and preventing short-term interference from interfering with channel quality. After the interference is removed, the subcarrier availability is automatically restored to ensure the self-healing ability of the communication link and enhance the system's ability to adaptively adjust the subcarrier status.

[0080] The data sub-block is a diversity copy data block, which is a copy form of the original data block that is split by the transmitter and transmitted through multiple sub-carriers. To this end, in some embodiments, the data sub-block is reconstructed based on the available coefficients of each sub-carrier to obtain the data block sent by the transmitter, including: determining the data sub-block belonging to the target data block as the target data sub-block, and determining the target sub-carrier that carries each target data sub-block; reconstructing based on the available coefficients of each target sub-carrier and each target data sub-block to obtain the data block sent by the transmitter.

[0081] After a data block is copied in diversity, it may be distributed on different subcarriers and / or different OFDMs. The receiving end receives data subblocks from multiple subcarriers, and each subcarrier carries part or all of the information of the data block. Therefore, after the receiving end detects a valid signal frame, it extracts the data subblocks carried on each subcarrier and determines the data subblocks belonging to the same target data block, that is, those diversity copy data blocks originating from the same data block. In addition, the receiving end identifies the target subcarriers carrying these target data subblocks and obtains the available coefficients of these subcarriers.

[0082] For example, Figure 6 As shown, assuming that subcarrier 1 to subcarrier n are configured, target data block 1 is transmitted through multiple symbols (symbol 1 to symbol M) respectively, and distributed on different subcarriers, such as subcarrier 1 carries target data subblock B1, subcarrier 2 carries target data subblock B2... subcarrier n-2 carries target data subblock B4, subcarrier n-1 carries target data subblock B3 and target data subblock BL, etc. In addition, target data block 1 transmits the corresponding target data subblocks in different symbols. Therefore, the receiving end extracts the target data subblocks belonging to the target data block from each subcarrier respectively, and successively receives multiple symbols until all target data subblocks belonging to the target data block are obtained.

[0083] Therefore, after determining each target data sub-block and each corresponding sub-carrier, the receiving end can reconstruct each target data sub-block based on the available coefficients of these sub-carriers. The reconstruction process includes but is not limited to one or more of equal gain merging, weighted gain merging, maximum likelihood estimation or deep learning methods to restore the data block sent by the transmitting end. For example, by training a neural network, the reconstruction rules are learned from the received data of multiple sub-carriers to achieve data block recovery. For another example, combined with the statistical characteristics of noise, a linear filter is used to minimize the mean square error of the reconstructed data block, and so on.

[0084] After the receiving end reconstructs each target data sub-block, it performs power carrier signal processing such as demodulation and decoding on the combined signal data, thereby recovering the data block sent by the sending end.

[0085] In the above embodiment, multiple target data sub-blocks are used for reconstruction to reduce the impact of interfered sub-carriers and improve the accuracy of data recovery. The data recovery strategy is adaptively adjusted in combination with the available coefficients of each sub-carrier to improve the communication reliability of the system in a complex power line environment. The information on different sub-carriers is fully utilized to improve transmission efficiency and avoid the loss of the entire data block due to damage to some sub-carriers.

[0086] In order to reduce the occupancy of equipment resources and improve computing efficiency, in some embodiments, reconstruction is performed based on the available coefficients of each target subcarrier and each target data subblock to obtain a data block sent by the transmitter, including: determining the product result of the available coefficients of each target subcarrier and the target data subblocks carried by each of them; performing weighted gain merging based on all product results to obtain a merged data block; and performing power carrier signal processing on the merged data block to obtain a data block sent by the transmitter.

[0087] After the receiving end obtains multiple target data sub-blocks, it reads the stored available coefficient list and searches for the available coefficient of each target sub-carrier from the available coefficient list. Then, the receiving end can calculate the product of the available coefficient of each target sub-carrier and the target data sub-block it carries, form multiple product results, and perform weighted summation on all product results to obtain a merged data block.

[0088] For example, assuming that the data block length is bit length L, the corresponding data sub-block character is d 1~ d L , the number of data sub-blocks is H, and the corresponding numbers are B1~BH; subcarrier j is marked with available coefficients . Record the jth data bit d in the set copy Bi Bi,j Subcarrier k for: . Then the weighted gain corresponding to the jth target data block is combined The calculation is as follows: (4) in, represents the Bi-th target data sub-block corresponding to the j-th target data block, The corresponding subcarrier In other words, the merged data block corresponding to the target data block 1 It can be expressed as: (5) After obtaining the combined data block, the receiving end needs to perform power carrier signal processing on the combined data block to restore the data block sent by the sending end. The power carrier signal processing method includes but is not limited to one or more of demodulation, channel decoding and error correction.

[0089] In the above embodiment, weighted gain merging is used to improve the recovery accuracy of the interfered channel and reduce the risk of data loss. In combination with the adaptive adjustment of the data merging strategy, the impact of channel interference can be effectively reduced and the reliability of the communication system can be improved.

[0090] In the power line carrier communication system, the receiver needs to distinguish between valid data symbols and idle symbols with no data transmission in order to perform reliable data recovery and interference assessment. Since the power line channel is susceptible to noise interference, the receiver usually relies on a known frame structure for synchronization detection and signal classification. The frame preamble data is a known signal pattern that can be used to identify the starting position of the frame and compare it with the received time domain signal. By sliding the correlation calculation, the receiver can evaluate the degree of match between the signal and the frame preamble data at different times. When the correlation is low, it indicates that the received symbol does not contain valid data, and when the correlation exceeds the threshold value, it is judged as a valid data symbol, thereby starting the subsequent data demodulation and processing process.

[0091] To this end, in some embodiments, the above method also includes: receiving a time domain signal from a power line carrier communication link and obtaining frame preamble data in a known frame structure; performing a sliding calculation on the time domain signal based on the frame preamble data to obtain a correlation peak value between the time domain signal and the frame preamble data; when the correlation peak value does not reach the correlation threshold value, determining that an idle symbol is received; when the correlation peak value reaches the correlation threshold value, determining that a valid symbol is received.

[0092] The receiving end continuously monitors the time domain signal on the power line and stores the continuous sampling data. The receiving end also stores the known frame leading data, which is usually predefined by the system protocol.

[0093] For each received time domain signal window, a sliding correlation calculation is performed. Specifically, the receiving end calculates the correlation between the time domain signal and the frame leading data in each sliding window, and takes the maximum value as the correlation peak. Among all the correlation calculation results, if the correlation peak is less than the preset correlation threshold value, the receiving end determines that the received symbol is an idle symbol. If the correlation peak is greater than or equal to the preset correlation threshold value, the receiving end determines that the received symbol is a valid symbol and enters the subsequent data demodulation process.

[0094] In the above embodiment, correlation matching is performed through known frame preamble data, which helps to improve the recognition accuracy of valid symbols, reduce the misjudgment rate, and improve the accuracy of signal synchronization. By sliding the correlation calculation, idle symbols and valid symbols can still be effectively distinguished in a strong noise environment, thereby improving the robustness of communication and adaptability to complex power line communication environments. Furthermore, by clearly distinguishing idle symbols, the system can collect noise characteristics when there is no valid data transmission, thereby providing data support for subsequent interference analysis and adaptive channel optimization.

[0095] Since the noise of the power line channel is complex and changeable, there may be large errors in directly judging the symbol type based on the received signal. Therefore, the receiving end usually compares the frame preamble data with the received signal to improve the accuracy of the judgment. Sliding correlation calculation is a commonly used method, which calculates the signal correlation by gradually moving a sliding window of a preset length to find the best matching point, thereby determining the symbol type. To this end, in some embodiments, a sliding calculation is performed on the time domain signal based on the frame preamble data to obtain a correlation peak value between the time domain signal and the frame preamble data, including: gradually moving a sliding window of a preset length on the time domain signal, and performing correlation calculation on the time domain signal and the frame preamble data in each sliding window to obtain a correlation value corresponding to each sliding window; calculating the correlation values ​​of all sliding windows, and determining the maximum correlation value among the correlation values ​​as the correlation peak value.

[0096] Specifically, the receiving end continuously obtains the time domain signal from the power line carrier communication link and stores it in the cache. The receiving end also stores the frame preamble data, which is known at the transmitting end and has a fixed pattern. The receiving end sets a sliding window of a preset length, and the length of the window is generally the same as the length of the frame preamble data to ensure the matching degree of the correlation calculation. On the received time domain signal, the receiving end gradually moves the sliding window according to the sampling points, one sampling point at a time, to ensure continuity. For each set of time domain signal data in the sliding window and the frame preamble data, the correlation is calculated, and after calculating the correlation values ​​of all sliding windows, the maximum correlation value is found among them, which is used as the correlation peak of the current received signal for subsequent symbol determination. The step size or matching threshold value of the sliding window can be adjusted dynamically.

[0097] In the above embodiment, the sliding correlation calculation can effectively find the most matching signal segment, improve the detection capability of valid symbols, and even if there is noise and interference in the power line channel, the correlation calculation can still use the known characteristics of the frame preamble data for matching, thereby improving the reliability of signal synchronization and enhancing the anti-interference capability.

[0098] The following is a specific example. Figure 7 As shown, the present invention can be divided into a synchronization state detection module, a carrier interference detection module, a carrier interference analysis module, a channel equalization module, a parsing diversity copy module, a module for removing interfered carrier data, and a combined decoding module in terms of function and process. Among them: The synchronization state detection module, the receiving end receives the signal on the power line, and uses the frame preamble structure to search for the frame header. If a valid frame preamble is found, it is determined to be a valid frame structure, otherwise it is determined to be power line idle state symbol data, and the noise data carried by the subcarrier of each symbol is recorded in the idle state.

[0099] The carrier interference detection module uses the non-correlation of signal background noise and the strong characteristics of single-frequency interference signals to calculate the variance of noise data carried by multiple idle state symbol subcarriers. Subcarriers with variances exceeding the threshold are recorded as interfered subcarriers.

[0100] The carrier interference analysis module uses the carrier interference detection module to detect the interference subcarrier number and records it in the subcarrier interference list. If a subcarrier is continuously marked as an interference subcarrier, the available coefficient of the subcarrier is recorded, and the receiving end will periodically update the available coefficient list.

[0101] The channel equalization module uses the leading data in the frame structure data to perform channel estimation, and uses the channel estimation to perform frame control and frame load symbol data equalization.

[0102] Parsing the diversity copy module, the receiving end performs channel equalization in the frequency domain, and then performs data demapping in the frequency domain, and also extracts the diversity copy data block from the frequency domain subcarrier. This process requires marking the available coefficients on the data corresponding to the diversity copy data block according to the recorded subcarrier interference available coefficient list.

[0103] The interference suppression and merging decoding module demultiplexes the diversity copy data blocks generated by the diversity copy module and merges them using weighted gain. During the merging process, the interfering subcarriers participate in the weighted gain merging calculation according to the available coefficients. Finally, the receiving end uses the merged data blocks for demodulation and channel decoding to obtain the data blocks sent by the transmitting end.

[0104] In power line broadband carrier communication, the carrier sense multiple access (CSMA) method is used to share communication resources, so no matter whether there is a valid data frame on the power line, the receiving end is always in the state of searching for the frame preamble. The specific operation process is as follows Figure 8 As shown, including steps 1 to 9: Step 1: The receiving end receives time domain data on the power line, performs sliding correlation calculation using the leading data of the locally known frame structure, and searches for whether there is a valid leading symbol in the received time domain data.

[0105] Step 2: If it is determined during the search process that it is not a frame preamble symbol, a fast Fourier transform is performed on the time domain signal to obtain the frequency domain background noise data carried by the power line idle symbol subcarrier, and the frequency domain background noise data of the symbol is saved in an array.

[0106] Step 3: Under the condition of idle symbols, collect noise data on each subcarrier. When the number of symbols for collecting frequency domain noise floor data reaches N (N is an integer greater than 3), start calculating the interference subcarrier detection algorithm.

[0107] Step 4: For each subcarrier, calculate its amplitude fluctuation, and use the subcarrier amplitude fluctuation variance to detect the interfering subcarrier. That is, first calculate the variance value of each subcarrier amplitude in units of symbols, and then calculate the average value of the amplitude variance of the corresponding subcarrier on all symbols. When the subcarrier amplitude variance is greater than the threshold, the subcarrier is determined to be an interfered subcarrier.

[0108] Step 5: Record the interference subcarrier number in the interference subcarrier number list. All subcarrier numbers in the list represent the interfered subcarriers. If they are determined to be interference subcarriers for M consecutive times (M is an integer greater than 3), calculate the available coefficient of the interference subcarrier and update the interference subcarrier available coefficient list.

[0109] Step 6: During the leading symbol search, if a valid leading symbol exists at the receiving end, it indicates that a valid frame structure data exists, and the receiving end continues to receive a complete frame structure data.

[0110] Step 7: Use the leading symbol received in the frame structure to perform channel estimation, and then use the channel estimation result to perform channel equalization on the frame control and frame payload data.

[0111] Step 8: Obtain subcarrier data of OFDMA symbols of frame control and frame payload. The receiving end takes out corresponding diversity copy data from the subcarrier of the symbol according to the mapping rules of frame control and frame payload. This process needs to mark the available coefficients on the data corresponding to the diversity copy data block according to the recorded subcarrier interference available coefficient list.

[0112] Step 9: Use weighted gain to combine. During the combining process, the interfering subcarrier participates in the weighted gain combining calculation according to the available coefficient. Finally, the receiving end uses the combined data block for demodulation and channel decoding to obtain the data block sent by the transmitting end.

[0113] Based on this, when the electric power communication system is subject to single-frequency interference, the power of these interfered subcarriers is relatively large. Although the system supports repeated transmission diversity to enhance the demodulation performance, the conventional method also involves the interfered subcarriers in the repeated transmission diversity combining, resulting in performance degradation. Therefore, the above processing method sets these subcarriers as available coefficients, and determines the weights of participating in the diversity copy according to the degree of influence of the abnormal subcarriers on the communication system. The electric power system adopts repeated diversity transmission, and the same data will be mapped to different subcarriers, so as to minimize the impact of the interfering subcarriers on the normal decoding of the receiving end.

[0114] In addition, the implementation of the present invention is relatively simple and easy to implement in engineering. In terms of subcarrier interference, data from the frame structure preamble search can be used. When the interfering subcarrier is determined and it is determined to be an interfering subcarrier, only weighted gain diversity merging and calculation are required, and the hardware processing requirement is low.

[0115] The low-voltage power line carrier communication system is simulated. The transmitting end uses a standard power line carrier communication transmission link to send normal power communication frame structure data. Then, by adding simulated single-frequency interference noise to the fixed subcarrier, and applying the power carrier signal processing method of the present invention at the receiving end, the interference subcarrier is detected and the interference of these interference subcarriers on the receiving end is eliminated, thereby reducing the impact of interference on the performance of the receiving end, and then restoring the original signal. The specific flow chart can be shown as follows: Fig. 9 As shown, the analog interference module adds a power line channel carrier interference signal to the pure signal output by the transmitter, and the receiver receives the time domain data from the power line through the signal time domain sampling function.

[0116] Afterwards, the receiving end completes the frame structure preamble signal detection through the synchronization state detection module. Since the broadband carrier communication adopts the CSMA mechanism, it is necessary to monitor in real time whether there is valid frame structure data on the power line, and use the sliding correlation calculation method for detection. If a preamble symbol time length does not detect valid preamble data, the data is Fourier transformed to obtain the noise data carried by the idle symbol subcarrier.

[0117] The receiving end records the frequency domain noise data of the idle symbols of the idle subcarriers received on the power line through the subcarrier interference detection module, and calculates the available coefficients of the interfering subcarriers to form an available coefficient list. In addition, the receiving end performs signal estimation and equalization on the received valid symbols, and restores the pure signal sent by the transmitting end through de-diversity copy, combined decoding and data demodulation. Specifically, the receiving end uses the leading data in the frame structure to perform channel estimation, and then performs channel equalization on the subsequent frame control and frame payload data symbols. Channel estimation and channel equalization are processed in the frequency domain. The receiving end performs channel equalization in the frequency domain, and then performs data demapping in the frequency domain, and also extracts the diversity copy data block from the frequency domain subcarrier. This process requires marking the available coefficients on the data corresponding to the diversity copy data block according to the recorded subcarrier interference available coefficient list. Afterwards, the receiving end uses weighted gain to merge each diversity copy data block. During the merging process, the subcarrier participates in the weighted gain merging calculation according to the available coefficients. Finally, the receiving end uses the merged data block for demodulation and channel decoding to obtain the data block sent by the transmitting end.

[0118] The following further describes the carrier interference detection process and the carrier interference elimination process respectively.

[0119] Among them, the carrier communication subcarrier interference detection process is as follows: Fig.10 As shown, including steps 1 to 4: Step 1: The receiving end receives data on the power line and uses the leading data in the known frame structure to perform synchronization search. According to the present invention, sliding correlation calculation is used. When the correlation peak value is not greater than the threshold value, it is determined that an idle state symbol data is received.

[0120] Step 2: Collect the subcarrier data of the idle state symbol. Two adjacent symbol data do not overlap in the time domain. This step only saves the subcarrier data of the symbol, that is, the background noise data carried by the subcarrier.

[0121] Step 3: When a certain number of idle state subcarrier data is collected, interference carrier determination is performed. It is defined as starting interference subcarrier calculation with 10 idle state symbol data. First, the amplitude variance of each idle symbol subcarrier in the entire symbol is calculated, and then the variance mean of all idle symbols is averaged and finally determined as the variance of the subcarrier. If the amplitude variance of a subcarrier is greater than a threshold value, it is marked as an interference subcarrier.

[0122] Step 4: If the subcarrier is marked as an interfering subcarrier for 10 consecutive times, the subcarrier is marked as an unavailable subcarrier. If the subcarrier is not marked as an interfering subcarrier for 5 consecutive times, the subcarrier is deleted from the record list.

[0123] The carrier interference elimination process is as follows Fig.11 As shown, including steps 1 to 6: Step 1: The receiving end receives data on the power line and uses the leading data in the known frame structure to perform synchronization search. According to the present invention, sliding correlation calculation is used. When the correlation peak value is greater than the threshold, it is determined that a valid frame structure data has been received: Step 2: Receive complete frame structure data, including frame control and frame payload data. The frame control length is fixed, and the frame payload length is determined according to the frame control content.

[0124] Step 3: Use the leading symbol data in the frame structure to perform channel estimation, and then perform channel equalization on the frame control symbols and the symbols in the frame payload.

[0125] Step 4: According to the frame control mapping rule, the frame control data is taken out from the symbol frequency domain. For the frame payload part, the repeated transmission diversity data block is taken out from the subcarrier, and deinterleaving and demapping are performed to obtain the diversity transmission block of the frame payload repeated transmission.

[0126] Step 5: The frame control data is merged using a weighted gain merging algorithm, and the frame load data is merged using a weighted gain merging calculation.

[0127] Step 6: Demodulate the combined data and perform channel decoding to obtain the data block sent by the transmitter.

[0128] In order to simplify the simulation process of the embodiment, a simplified link is used for illustration, and Matlab simulation is used for illustration in this embodiment. The simulation parameters are shown in Table 2, and FFTSize=1024 and 20 OFDM symbols are used for simulation illustration, of which 4 OFDM symbols carry the same data but are mapped to different subcarrier positions. In the simulation, it is assumed that there are 120 random interference subcarriers.

[0129] Table 2

[0130] like Fig.12 As shown in the figure, txGrid represents the transmission time-frequency resource map, rxGrid is the time-frequency resource map after passing through the channel, and rxNanGrid is the time-frequency resource map after eliminating the interference and unusable subcarriers.

[0131] In this simulation, the amplitude variance of each subcarrier is calculated using the content of the present invention, and the result is as follows: Fig.13 As shown in the figure, rxGrid represents the received time-frequency resource map, allSymbolsVariance means that all symbols participate in the subcarrier amplitude variance calculation, and unusedSymbolsVariance means that only idle subcarriers are used to participate in the subcarrier amplitude variance calculation. Fig.13 It can be concluded that the interference subcarrier has an obvious peak value. In the present invention, the idle subcarrier unusedSymbolsVariance is used to calculate the variance.

[0132] Fig.14 In the figure, it is indicated that the interference subcarrier is specifically set at the transmitting end, and the performance of the interfered subcarrier is detected by using the detection method of the present invention. In the simulation, 120 interference subcarriers are randomly set (setBadSubCarrier), and 106 interfered subcarriers are detected (detectBadSubCarrier), and the detection probability reaches 89%.

[0133] In this embodiment, two equal-gain combining methods are used for repeated transmission data. MeanBER means that all repeated transmission data participate in equal-gain combining calculation, while AdvancedBER uses weighted-gain combining calculation. Fig.15 As shown in the figure, it can be concluded that the performance of the AdvanceBER merging method of the present invention is better than the traditional MeanBER merging method under low signal-to-noise ratio conditions.

[0134] The power carrier signal processing method provided in the embodiment of the present invention can be executed by a power carrier signal processing device. In the embodiment of the present invention, the power carrier signal processing device provided in the embodiment of the present invention is described by taking the power carrier signal processing device executing the power carrier signal processing method as an example.

[0135] The embodiment of the present invention further provides a power carrier signal processing device, which is applied to a receiving end. Fig.16 As shown, the power carrier signal processing device includes a monitoring module 1601, an interference detection module 1602 and an interference elimination module 1603. Among them: The monitoring module 1601 is used to monitor the power line carrier communication link.

[0136] The interference detection module 1602 is used to collect noise data of each subcarrier when receiving an idle symbol.

[0137] The interference detection module 1602 is further used to determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier.

[0138] The interference elimination module 1603 is used to extract the data sub-blocks carried on each sub-carrier when receiving a valid symbol; the data sub-blocks are obtained by performing diversity copying on the data blocks by the transmitting end.

[0139] The interference elimination module 1603 is further configured to reconstruct the data sub-blocks based on the available coefficients of each sub-carrier to obtain the data blocks sent by the transmitting end.

[0140] According to the power carrier signal processing device provided by the embodiment of the present invention, by monitoring the power line carrier communication link, and in the case of receiving an idle symbol, the noise data of each subcarrier is collected, and the interfered subcarrier is determined based on the accumulated noise data of each subcarrier, and the available coefficient of the interfered subcarrier is updated, thereby accumulating and analyzing the subcarrier noise and dynamically marking it, so that the weight of the interfered subcarrier can be timely identified and reduced, thereby effectively suppressing interference when reconstructing the data block, and improving the anti-interference ability; and in the case of receiving a valid symbol, the data subblock carried on each subcarrier is extracted, and the data subblock is reconstructed based on the available coefficient of each subcarrier to obtain the data block sent by the transmitter, and the weighted merging method of the available coefficient is used to make the diversity data block merging have a differentiated processing mechanism, improve the fault tolerance of the receiving end to partially distorted data blocks, and enhance the accuracy of data block reconstruction. Therefore, by real-time monitoring and dynamic updating of subcarrier availability in the communication link, rapid response and adaptive dynamic adjustment of the channel state in a complex power line environment are achieved, and the robustness and reliability of the system are improved.

[0141] In some embodiments, the interference detection module is also used to determine, for any subcarrier, the unit amplitude fluctuation of the targeted subcarrier when receiving noise data; when multiple idle symbols are received, determine the average amplitude fluctuation corresponding to the targeted subcarrier based on the unit amplitude fluctuation; when the average amplitude fluctuation exceeds a rejection threshold, determine that the targeted subcarrier is an interfered subcarrier.

[0142] In some embodiments, the interference detection module is also used to respectively determine the first number of times that the average amplitude fluctuation of the interfered subcarrier exceeds the rejection threshold, and the second number of times that the average amplitude fluctuation exceeds the tolerance threshold; wherein the rejection threshold is greater than the tolerance threshold; based on the received multiple idle symbols, the first number and the second number, determine the available coefficient of the interfered subcarrier, and update the available coefficient of the interfered subcarrier.

[0143] In some embodiments, the interference detection module is also used to determine the proportion of partial interference in the multiple received idle symbols based on the difference between the second number and the first number; determine the proportion of non-interference in the multiple received idle symbols based on the difference between the second number and the statistical number; adjust the size of at least the partial interference proportion through the availability parameter, and combine the adjusted partial interference proportion and non-interference proportion to obtain the available coefficient of the interfered subcarrier.

[0144] In some embodiments, each subcarrier is initialized with a subcarrier number, and the subcarrier number of each subcarrier and the respectively initialized preset available coefficient form an available coefficient list; the interference detection module is also used to update the available coefficient list based on the available coefficient of the interfered subcarrier, and keep the available coefficients of other subcarriers as preset values.

[0145] In some embodiments, the interference detection module is further used to mark the interfered subcarrier as an unavailable subcarrier when the number of consecutive interferences of the interfered subcarrier exceeds a first number threshold; and to update the available coefficient of the interfered subcarrier to a preset value when the interfered subcarrier is re-determined as a normal subcarrier and the number of consecutive interferences of the interfered subcarrier exceeds a second number threshold.

[0146] In some embodiments, the interference elimination module is also used to determine the data subblocks belonging to the target data block as the target data subblocks, and determine the target subcarriers that carry each target data subblock; reconstruct based on the available coefficients of each target subcarrier and each target data subblock to obtain the data block sent by the transmitter.

[0147] In some embodiments, the interference elimination module is also used to determine the product of the available coefficient of each target subcarrier and the target data subblock it carries; perform weighted gain merging based on all product results to obtain a merged data block; perform power carrier signal processing on the merged data block to obtain a data block sent by the transmitter.

[0148] In some embodiments, the monitoring module is also used to receive a time domain signal from a power line carrier communication link and obtain frame preamble data in a known frame structure; perform sliding calculation on the time domain signal based on the frame preamble data to obtain a correlation peak value between the time domain signal and the frame preamble data; when the correlation peak value does not reach a correlation threshold value, determine that an idle symbol is received; when the correlation peak value reaches a correlation threshold value, determine that a valid symbol is received.

[0149] In some embodiments, the monitoring module is also used to gradually move on the time domain signal through a sliding window of preset length, and perform correlation calculations on the time domain signal and frame leading data in each sliding window to obtain the correlation value corresponding to each sliding window; calculate the correlation values ​​of all sliding windows, and determine the maximum correlation value among the correlation values ​​as the correlation peak.

[0150] The power carrier signal processing device in the embodiment of the present invention may be a computer device, or a component in a computer device, such as an integrated circuit or a chip. The computer device may be a terminal device or a server. Exemplarily, the computer device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted computer device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc. It may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.

[0151] The power carrier signal processing device in the embodiment of the present invention may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

[0152] The power carrier signal processing device provided in the embodiment of the present invention can implement each process implemented in each method embodiment, and will not be described again here to avoid repetition.

[0153] In some embodiments, Fig.17 As shown, an embodiment of the present invention further provides a computer device 1700, including a processor 1701, a memory 1702, and a computer program stored in the memory 1702 and executable on the processor 1701. When the program is executed by the processor 1701, each process of the above-mentioned method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0154] It should be noted that the computer device in the embodiment of the present invention includes the mobile computer device and the non-mobile computer device mentioned above.

[0155] An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned power carrier signal processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0156] The processor is the processor in the computer device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0157] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the above-mentioned power carrier signal processing method when executed by a processor.

[0158] The processor is the processor in the computer device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0159] An embodiment of the present invention further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned power carrier signal processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0160] It should be understood that the chip mentioned in the embodiment of the present invention may also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0161] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present invention is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0163] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0164] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0165] If not otherwise specified, all embodiments and optional embodiments of the present invention can be combined with each other to form a new technical solution.

[0166] Unless otherwise specified, all technical features and optional technical features of the present invention can be combined with each other to form a new technical solution.

[0167] If not otherwise specified, all steps of the present invention may be performed sequentially or randomly, preferably sequentially. For example, the method includes steps (a) and (b), which means that the method may include steps (a) and (b) performed sequentially, or may include steps (b) and (a) performed sequentially. For example, mentioning that the method may also include step (c) means that step (c) may be added to the method in any order, for example, the method may include steps (a), (b) and (c), or may include steps (a), (c) and (b), or may include steps (c), (a) and (b), etc.

[0168] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for processing a power carrier signal, characterized in that: The method comprises: Monitoring of power line carrier communication links; When an idle symbol is received, noise data of each subcarrier is collected; Determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier; When a valid symbol is received, a data sub-block carried on each sub-carrier is extracted; the data sub-block is obtained by performing diversity copying on the data block by the transmitting end; The data sub-blocks are reconstructed based on available coefficients of each sub-carrier to obtain data blocks sent by the transmitting end.

2. The method according to claim 1, characterized in that The determining the interfered subcarrier based on noise data accumulated by each subcarrier comprises: For any subcarrier, determining a unit amplitude fluctuation of the subcarrier when receiving noise data; In case that a plurality of idle symbols are received, determining an average amplitude fluctuation corresponding to the targeted subcarrier based on the unit amplitude fluctuation; In the case where the average amplitude fluctuation exceeds the rejection threshold, the targeted subcarrier is determined to be an interfered subcarrier.

3. The method according to claim 1 or 2, characterized in that: The updating of the available coefficients of the interfered subcarrier comprises: Respectively determine a first number of times that the average amplitude fluctuation of the interfered subcarrier exceeds a rejection threshold, and a second number of times that the average amplitude fluctuation exceeds an error tolerance threshold; wherein the rejection threshold is greater than the error tolerance threshold; Based on the received plurality of idle symbols, the first number of times and the second number of times, an available coefficient of the interfered subcarrier is determined, and the available coefficient of the interfered subcarrier is updated.

4. The method according to claim 3, characterized in that The determining, based on the received plurality of idle symbols, the first number of times and the second number of times, the available coefficient of the interfered subcarrier comprises: Determine a partial interference ratio of the received plurality of idle symbols based on a difference between the second number and the first number; Determine, based on the difference between the second number and the statistical number, a non-interference ratio among the received plurality of idle symbols; At least the size of the partial interference ratio is adjusted through the availability parameter, and the available coefficient of the interfered subcarrier is obtained by combining the adjusted partial interference ratio and the non-interference ratio.

5. The method according to claim 1, characterized in that Each subcarrier is initialized with a subcarrier number, and the subcarrier number of each subcarrier and the preset available coefficients initialized respectively form an available coefficient list; the updating of the available coefficients of the interfered subcarrier includes: Based on the available coefficients of the interfered subcarrier, the available coefficient list is updated, and the available coefficients of other subcarriers are kept as preset values.

6. The method according to claim 5, characterized in that The method further comprises: When the number of consecutive interferences of the interfered subcarrier exceeds a first number threshold, marking the interfered subcarrier as an unavailable subcarrier; When the interfered subcarrier is re-determined as a normal subcarrier and the number of times the interfered subcarrier is continuously determined as a normal subcarrier exceeds a second number threshold, the available coefficient of the interfered subcarrier is updated to the preset value.

7. The method according to claim 1, characterized in that The reconstructing the data sub-block based on the available coefficients of each sub-carrier to obtain the data block sent by the transmitting end includes: Determine a data subblock belonging to a target data block as a target data subblock, and determine a target subcarrier that carries each target data subblock; Reconstruction is performed based on the available coefficients of each target subcarrier and each target data subblock to obtain a data block sent by the transmitting end.

8. The method according to claim 7, characterized in that The reconstructing based on the available coefficients of each target subcarrier and each target data subblock to obtain the data block sent by the transmitting end includes: Determine the product result of the available coefficient of each target subcarrier and the target data subblock carried by each subcarrier; Perform weighted gain merging based on all product results to obtain a merged data block; The combined data block is subjected to power carrier signal processing to obtain a data block sent by the sending end.

9. The method according to claim 1, characterized in that: The method further comprises: Receiving a time domain signal from the power line carrier communication link and acquiring frame preamble data in a known frame structure; Perform sliding calculation on the time domain signal based on the frame leading data to obtain a correlation peak value between the time domain signal and the frame leading data; In a case where the correlation peak value does not reach the correlation threshold value, determining that an idle symbol is received; When the correlation peak reaches the correlation threshold, it is determined that a valid symbol is received.

10. The method according to claim 9, characterized in that The performing sliding calculation on the time domain signal based on the frame leading data to obtain a correlation peak value between the time domain signal and the frame leading data includes: The sliding window of a preset length is gradually moved on the time domain signal, and correlation calculation is performed on the time domain signal and the frame leading data in each sliding window to obtain a correlation value corresponding to each sliding window; The correlation values ​​of all sliding windows are calculated, and the maximum correlation value among the correlation values ​​is determined as the correlation peak value.

11. A power carrier signal processing device, characterized in that: The device comprises: A monitoring module, used for monitoring a power line carrier communication link; An interference detection module, used to collect noise data of each subcarrier when receiving an idle symbol; The interference detection module is further used to determine the interfered subcarrier based on the noise data accumulated by each subcarrier, and update the available coefficient of the interfered subcarrier; each subcarrier is configured with a preset available coefficient, and the available coefficient represents the signal availability of the subcarrier; An interference elimination module, configured to extract data sub-blocks carried on each sub-carrier when a valid symbol is received; the data sub-blocks are obtained by performing diversity copying on the data block at the transmitting end; The interference elimination module is further used to reconstruct the data sub-block based on the available coefficients of each sub-carrier to obtain the data block sent by the transmitting end.

12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the power carrier signal processing method according to any one of claims 1 to 10 is implemented.

13. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power carrier signal processing method according to any one of claims 1 to 10 is implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the power carrier signal processing method according to any one of claims 1 to 10 is implemented.

15. A chip, characterized in that: The chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the power carrier signal processing method as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Interference noise estimation and interference inhibition method and corresponding system

    CN102571659A

  • Multicarrier spread spectrum signal interference suppression system and method and electronic equipment

    CN113452407A

  • Pulse interference suppression method and device for power line carrier communication, chip and equipment

    CN115459810A

  • Power line carrier hierarchical networking method and device based on noise

    CN115622591A

  • Noise suppression method and device for power line carrier communication and storage medium

    CN117955576A

Cited By

  • Channel equalization method, receiving device, storage medium and program product

    CN120639556A

  • Power line carrier target data modulation method and device, storage medium and chip

    CN120880856A

  • Synchronization method, system and equipment based on software radio burst waveform and medium

    CN121217526A