Carrier signal noise reduction method and system based on cross-correlation function
By using the cross-correlation function to detect and reconstruct the noise phase of the carrier signal in power line communication, the problem of complex noise background in power line communication is solved and a more accurate noise reduction effect of the carrier signal is achieved.
Patent Information
- Application Number
- CN202410932363.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-29
AI Technical Summary
The power line communication channel environment is complex and the noise background is random and unpredictable. It is difficult for existing noise reduction algorithms to accurately model and adapt to different types of noise, resulting in poor carrier signal noise reduction effects.
A method based on the cross-correlation function is used to analyze the OFDM signal characteristics of the power line carrier signal, generate a same-frequency reference signal, detect the phase of the noise part through the cross-correlation function, and reconstruct the carrier signal based on the phase to achieve more accurate noise reduction.
It achieves more accurate and significant noise reduction effects on power line carrier signals, adapts to different noise types in complex channel environments, and improves communication quality.
Smart Images

Figure CN118869008A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of signal noise reduction, and specifically relates to a carrier signal noise reduction method and system based on a cross-correlation function. Background Art
[0002] Power line communication is a communication method that uses power lines to transmit data. It has been widely used due to its wide coverage, low cost, and never-interrupted advantages. However, since power lines were originally designed for power transmission rather than information communication, the communication channel environment is harsh and there is a lot of noise interference. In particular, as a high proportion of power electronic equipment is connected to low-voltage power lines, the channel environment has further deteriorated.
[0003] In order to improve the communication environment, most of the existing commonly used noise reduction algorithms are directly or indirectly related to the characteristics of the noise signal, and usually require the statistical characteristics of the noise to be obtained in advance as prior knowledge, such as Wiener filters and active noise reduction methods. However, due to the complex power line channel environment, the noise background of the power line carrier signal is random and unpredictable, resulting in the noise modeling may not be accurate enough. In addition, different noise reduction algorithms are required for different types and frequencies of noise backgrounds. For example, active noise reduction can only target low-frequency noise; compressed sensing methods need to rely on the sparsity of noise and can therefore only target pulse noise, etc. However, there are many factors that generate noise in the power line communication environment, which makes the noise reduction of the power line carrier signal more complicated. Summary of the invention
[0004] The present application proposes a carrier signal denoising method and system based on a cross-correlation function, which uses a cross-correlation function to detect a noisy power line carrier signal to obtain the phase of the denoised signal, and reconstructs the carrier signal according to the phase of the denoised signal to complete the denoising of the carrier signal and achieve a more accurate and significant denoising effect.
[0005] A first aspect of the present application provides a carrier signal denoising method based on a cross-correlation function, the method comprising:
[0006] Perform OFDM signal feature analysis on the collected power line carrier signal to obtain several subcarriers;
[0007] Generate a reference signal with the same frequency for each subcarrier, and calculate the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier;
[0008] The power line carrier signal is reconstructed according to the phase of each subcarrier to obtain a power line carrier signal after noise reduction.
[0009] The above scheme first performs signal characteristic analysis on the power line carrier signal to obtain several subcarriers that constitute the power line carrier signal, then generates a reference signal with the same frequency as each subcarrier, and uses a cross-correlation function to calculate the power line carrier signal and the corresponding reference signal, and detects the phase of the non-noise part of the power line carrier signal, that is, the phase of each subcarrier, and then reconstructs the power line carrier signal according to the phase, removes the noise influence in the power line carrier signal, and obtains the power line carrier signal after noise reduction, thereby achieving a more accurate and significant noise reduction effect.
[0010] In a possible implementation method of the first aspect, OFDM signal characteristics analysis is performed on the collected power line carrier signal to obtain a plurality of subcarriers, specifically:
[0011] Determine the frequency and amplitude of the subcarrier according to the modulation mode of the power line carrier signal and the carrier standard;
[0012] Based on the fact that the power line carrier signal is formed by the superposition of several subcarriers, the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarriers to obtain several subcarriers.
[0013] The above scheme first determines the frequency and amplitude of the subcarrier according to the modulation method of the power line carrier signal; then decomposes the time domain waveform of the power line carrier signal according to the frequency and amplitude to obtain several subcarriers, which is convenient for the subsequent division of the subcarrier into a denoised part and a noise part, and facilitates cross-correlation calculation.
[0014] In a possible implementation method of the first aspect, a reference signal having the same frequency as that of each subcarrier is generated, and the power line carrier signal and the reference signal are calculated through a cross-correlation function to obtain a phase of each subcarrier, specifically:
[0015] According to the frequency of the subcarrier, generating a reference signal having the same frequency as the subcarrier for each subcarrier;
[0016] Using a cross-correlation function to calculate the power line carrier signal and the reference signal to obtain a cross-correlation operation result;
[0017] According to the noise part and the denoised part of the power line carrier signal, the cross-correlation operation result is decomposed to obtain a target cross-correlation part and a noise cross-correlation part, and the target cross-correlation part and the noise cross-correlation part are analyzed to solve the target cross-correlation part and obtain the phase of each subcarrier; wherein the target cross-correlation part is a cross-correlation function between the reference signal and the denoised signal of the power line carrier signal, and the noise cross-correlation part is a cross-correlation function between the reference signal and the noise signal of the power line carrier signal.
[0018] The above scheme first generates a reference signal with the same frequency for each subcarrier, and then uses the cross-correlation function to calculate the power line carrier signal and the corresponding reference signal to obtain a cross-correlation operation result; the cross-correlation operation result is divided according to the noise part and the non-noise part of the power line carrier signal to obtain the cross-correlation function of the reference signal and the denoised signal of the power line carrier signal, which is the target cross-correlation part, and then the cross-correlation function of the reference signal and the noise signal of the power line carrier signal is used to solve the target cross-correlation part to obtain the phase of the denoised subcarrier, thereby providing data support for reconstructing the power system carrier signal.
[0019] In a possible implementation method of the first aspect, the target cross-correlation part and the noise cross-correlation part are analyzed, the target cross-correlation part is solved, and the phase of each subcarrier is obtained, specifically:
[0020] Dividing the target cross-correlation part into an intra-frequency cross-correlation function and an off-frequency cross-correlation function; wherein the intra-frequency cross-correlation function is a cross-correlation function of the intra-frequency part of the reference signal and the de-noised signal, and the off-frequency cross-correlation function is a cross-correlation function of the non-intra-frequency part of the reference signal and the de-noised signal;
[0021] Calculating the value of the non-co-frequency cross-correlation function based on the periodic characteristics of the subcarriers;
[0022] Performing simulation statistics on the noise cross-correlation part, and obtaining a value of the noise cross-correlation part by gradually increasing the simulation step size;
[0023] The on-frequency cross-correlation function is calculated according to the value of the non-on-frequency cross-correlation function, the value of the noise cross-correlation part, and the frequency and amplitude of the subcarrier to obtain the phase of each subcarrier.
[0024] The above scheme divides the target mutual correlation part into function parts with the same frequency and different frequencies as the reference signal, firstly calculates the value of the non-same frequency function based on the periodic characteristics of the subcarrier, and then calculates the value of the noise mutual correlation part when the simulation time is long enough by increasing the step size of the simulated noise mutual correlation part; according to the value of the non-same frequency mutual correlation function and the value of the noise mutual correlation part, the value of the same frequency mutual correlation function can be determined, and then the phase of the subcarrier can be determined through the frequency and amplitude of the subcarrier.
[0025] In a possible implementation method of the first aspect, the same-frequency cross-correlation function, the non-same-frequency cross-correlation function, and the noise cross-correlation part are specifically:
[0026] The functional expression of the same-frequency cross-correlation function is specifically:
[0027]
[0028] Among them, S 1sx (τ) is the same-frequency cross-correlation function, T is the period of the denoised signal, A j is the amplitude of the same frequency part of the jth denoised signal, ω j is the frequency of the same frequency part of the j-th denoised signal, is the phase of the same-frequency part of the j-th denoised signal, t is the time, and τ is the extreme point of the same-frequency cross-correlation function;
[0029] The functional expression of the non-co-frequency cross-correlation function is specifically:
[0030]
[0031] Among them, S 2sx (τ) is the non-co-frequency cross-correlation function, T is the period of the denoised signal, A i is the amplitude of the non-same frequency part of the ith denoised signal, ω j is the frequency of the same frequency part of the jth denoised signal, ω i is the frequency of the non-co-frequency part of the ith denoised signal, is the phase of the non-co-frequency part of the ith denoised signal, t is the time, and τ is the extreme point of the co-frequency cross-correlation function;
[0032] The functional expression of the noise cross-correlation part is specifically:
[0033]
[0034] Among them, N nx (τ) is the noise cross-correlation part, T is the period of the noise signal, n(t) is the noise signal, and x(t+τ) is the reference signal after a delay of τ.
[0035] In a possible implementation method of the first aspect, the power line carrier signal is reconstructed according to the phase of each subcarrier to obtain a power line carrier signal after noise reduction, specifically:
[0036] Using a decision device to perform error correction on the phase of the subcarrier to obtain an optimized phase of the subcarrier;
[0037] The power line carrier signal is reconstructed according to the frequency and amplitude of the subcarrier and the phase of the optimized subcarrier to obtain a power line carrier signal after noise reduction.
[0038] The above scheme first uses a decision device to reduce the phase of the subcarrier, and then uses the frequency, amplitude and optimized phase of the subcarrier to reconstruct the power line carrier signal; because the phase of the subcarrier itself is the result of the cross-correlation calculation after the noise signal is removed, the phase of the subcarrier is the phase of the power line carrier signal after the noise signal is removed, so it is possible to reconstruct a noise-free power line carrier signal and complete the denoising of the carrier signal.
[0039] A second aspect of the present application provides a carrier signal noise reduction system based on a cross-correlation function, the system comprising: a subcarrier generation module, a phase calculation module and a signal noise reduction module;
[0040] The subcarrier generation module is used to perform OFDM signal feature analysis on the collected power line carrier signal to obtain a number of subcarriers;
[0041] The phase calculation module is used to generate a reference signal with the same frequency for each subcarrier, and calculate the power line carrier signal and the corresponding reference signal through a cross-correlation function to obtain the phase of each subcarrier;
[0042] The signal noise reduction module is used to reconstruct the power line carrier signal according to the phase of each subcarrier to obtain a noise-reduced power line carrier signal.
[0043] In a possible implementation manner of the second aspect, the subcarrier generation module includes: a carrier signal decomposition unit;
[0044] Among them, the carrier signal decomposition unit is used to determine the frequency and amplitude of the subcarrier according to the modulation method of the power line carrier signal; based on the fact that the power line carrier signal is composed of a plurality of superpositioned subcarriers, the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarrier to obtain a plurality of subcarriers.
[0045] In a possible implementation manner of the second aspect, the phase calculation module includes: a phase calculation unit;
[0046] The phase calculation unit is used to generate a reference signal with the same frequency for each subcarrier according to the frequency of the subcarrier; use the cross-correlation function to calculate each subcarrier and the corresponding reference signal to obtain a cross-correlation operation result; decompose the cross-correlation operation result according to the noise part and the denoised part of the subcarrier to obtain a target cross-correlation part and a noise cross-correlation part, and solve the target cross-correlation part according to the noise cross-correlation part to obtain the phase of each subcarrier; wherein the target cross-correlation part is the cross-correlation function of the reference signal and the denoised signal of the subcarrier, and the noise cross-correlation part is the cross-correlation function of the reference signal and the noise signal of the subcarrier.
[0047] In a possible implementation of the second aspect, the phase calculation module includes: a phase calculation unit for a denoised signal;
[0048] The phase calculation unit of the denoised signal is used to divide the target mutual correlation part into an in-frequency mutual correlation function and a non-in-frequency mutual correlation function; wherein the in-frequency mutual correlation function is a mutual correlation function of the in-frequency part of the reference signal and the denoised signal, and the non-in-frequency mutual correlation function is a mutual correlation function of the non-in-frequency part of the reference signal and the denoised signal; based on the periodic characteristics of the subcarrier, the value of the non-in-frequency mutual correlation function is calculated; the noise mutual correlation part is simulated and statistically analyzed, and the value of the noise mutual correlation part is obtained by gradually increasing the simulation step size; the in-frequency mutual correlation function is calculated according to the value of the non-in-frequency mutual correlation function, the value of the noise mutual correlation part, and the frequency and amplitude of the subcarrier to obtain the phase of each subcarrier.
[0049] In a possible implementation manner of the second aspect, the signal noise reduction module includes a carrier signal reconstruction unit;
[0050] Among them, the carrier signal reconstruction unit is used to use a decision device to perform error correction on the phase of the subcarrier to obtain an optimized phase of the subcarrier; according to the frequency, amplitude and optimized phase of the subcarrier, the power line carrier signal is reconstructed to obtain a noise-reduced power line carrier signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the implementation manner will be briefly introduced below. Obviously, the drawings described below are only some implementation manners of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 A specific flow chart of a carrier signal noise reduction method based on a cross-correlation function is provided in a certain embodiment of the present application;
[0053] Figure 2 A certain embodiment of the present application provides a QPSK modulation constellation diagram of a carrier signal noise reduction method based on a cross-correlation function;
[0054] Figure 3 A time domain diagram of a power line carrier signal containing noise, in which a carrier signal noise reduction method based on a cross-correlation function is provided in a certain embodiment of the present application;
[0055] Figure 4A phase detection result of a carrier signal noise reduction method based on a cross-correlation function is provided in a certain embodiment of the present application;
[0056] Figure 5 A certain embodiment of the present application provides a time domain diagram of a reconstructed power line carrier signal of a carrier signal noise reduction method based on a cross-correlation function;
[0057] Figure 6 A specific structural diagram of a carrier signal noise reduction system based on a cross-correlation function is provided in a certain embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0059] It should be understood that the step numbers used in this article are only for the convenience of description and are not intended to limit the order in which the steps are executed.
[0060] Embodiment 1
[0061] like Figure 1 As shown, Figure 1 A specific flow chart of a carrier signal noise reduction method based on a cross-correlation function is provided for a certain embodiment of the present application. The carrier signal noise reduction method based on a cross-correlation function of this embodiment includes steps S1 to S3, which are described in detail as follows:
[0062] In this embodiment, the power line carrier signal is based on QPSK modulation, which adopts a multi-carrier modulation technology, namely, orthogonal frequency division multiplexing technology, also known as OFDM technology.
[0063] Step S1, performing OFDM signal feature analysis on the collected power line carrier signal to obtain a plurality of subcarriers.
[0064] In this step, OFDM signal characteristics analysis is performed based on the signal characteristics of the power line carrier signal. Because for OFDM technology, the power line carrier signal is composed of a plurality of superimposed subcarriers, and the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarrier to obtain a plurality of subcarriers.
[0065] Wherein, the specific expression of the power line carrier signal is:
[0066]
[0067] Where n is the number of subcarriers, ω i is the frequency of the ith subcarrier, is the phase of the ith subcarrier, A i is the amplitude of the ith subcarrier, and s(t) is the power line carrier signal.
[0068] It can be seen from the above formula that each subcarrier in the power line carrier signal is a sine wave. According to the "Power Line Carrier Standard" given by the Southern Power Grid, the symbol length of a power line carrier signal is 40.96us and the base frequency is 24.414kHz, so the frequency of the power line carrier signal can be determined, that is, the frequency of the subcarrier is known. The amplitude and phase of each subcarrier are determined by the modulation method of the subcarrier. Because the amplitude is generally a fixed value, it is necessary to solve the phase of each subcarrier to know the complete parameters of the subcarrier.
[0069] Furthermore, QPSK modulation modulates the digital information into the phase of a time-domain sinusoidal waveform, as shown in Figure 2 As shown in the figure, it is a QPSK modulation constellation diagram. It can be seen from the figure that the amplitude of the power line carrier signal based on QPSK modulation is constant at 1 (that is, the length of the dotted line from the origin to the circle), and the phase to be measured is [0.25, 0.75, 1.25, 1.75] * π, that is, each phase in the subcarrier All meet As for The specific value of needs to be determined by subsequent measurement using the cross-correlation function.
[0070] Step S2, generating a reference signal with the same frequency as each subcarrier, and calculating the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier.
[0071] In this step, first, according to the frequency of the subcarrier, a reference signal with the same frequency as the subcarrier is generated for each subcarrier. Then, the power line carrier signal is used as the signal to be measured, and a cross-correlation function is used to perform a cyclic cross-correlation calculation on the power line carrier signal and the reference signal to obtain a cross-correlation calculation result, so as to realize the detection of the phase of the subcarrier.
[0072] The cross-correlation function is used to describe the correlation between any two signals x(t) and y(t) at any two different times. The specific expression is:
[0073]
[0074] In the formula, R rx (τ) is the cross-correlation result, τ is the delay, T is the period, x(t) = cos(ω jt) is a reference signal with the same frequency as the subcarrier, t is the time, r(t)=s(t)+n(t) is the power line carrier signal containing noise, n(t) is the noise, and s(t) is the power line carrier signal without noise.
[0075] For the noisy power line carrier signal r(t), its time domain diagram is as follows Figure 3 As shown, the specific expression is:
[0076]
[0077] For s(t), its expression can be:
[0078]
[0079] In the formula, the cosine wave with the subscript j on the left represents a signal with the same frequency as the reference signal, and the cosine wave with the subscript i on the right represents a signal with a different frequency than the reference signal.
[0080] Then, according to the above formula, the cross-correlation operation result is decomposed according to the noise part n(t) and the de-noised part s(t) in the noisy power line carrier signal to obtain the target cross-correlation part and the noise cross-correlation part.
[0081] The target cross-correlation part is a cross-correlation function between the reference signal and the de-noised signal of the power line carrier signal, and the noise cross-correlation part is a cross-correlation function between the reference signal and the noise signal of the power line carrier signal.
[0082] Then, the target mutual correlation part is divided into an in-frequency mutual correlation function and a non-in-frequency mutual correlation function, that is, the in-frequency mutual correlation function is the mutual correlation function of the in-frequency part of the reference signal and the denoised signal, and the non-in-frequency mutual correlation function is the mutual correlation function of the non-in-frequency part of the reference signal and the denoised signal.
[0083] So far, the cross-correlation operation result is divided into three parts: the first part is the same-frequency cross-correlation function S 1sx (τ), is the cross-correlation function of the same-frequency part of the reference signal and the de-noised signal; the second part is the non-same-frequency cross-correlation function S 2sx (τ), is the cross-correlation function of the non-co-frequency parts of the reference signal and the de-noised signal; the third part is the noise cross-correlation part N nx (τ) is the cross-correlation function between the reference signal and the noise signal of the power line carrier signal.
[0084] The first two parts are the cross-correlation function between the reference signal and the power line carrier signal without noise, and the latter part is the cross-correlation function between the reference signal and the noise signal. Therefore, it is necessary to calculate Nnx (τ) can get the de-noised power line carrier signal.
[0085] The expressions of the three parts of the cross-correlation calculation result are as follows:
[0086] R rx (τ) = S sx (τ)+N nx (τ) = S 1sx (τ)+S 2sx (τ)+N nx (τ);
[0087] In the formula, S sx (τ) is the target cross-correlation part, N nx (τ) is the noise cross-correlation part.
[0088] The functional expression of the same-frequency cross-correlation function is specifically:
[0089]
[0090] Among them, S 1sx (τ) is the same-frequency cross-correlation function, T is the period of the denoised signal, A j is the amplitude of the same frequency part of the jth denoised signal, ω j is the frequency of the same frequency part of the j-th denoised signal, is the phase of the same-frequency part of the j-th denoised signal, t is the time, and τ is the extreme point of the same-frequency cross-correlation function;
[0091] The following is a functional expression of the non-co-frequency cross-correlation function. Specifically, since the frequency of each subcarrier of the OFDM signal is an integer multiple of the fundamental wave, the result of this part is zero.
[0092]
[0093] Among them, S 2sx (τ) is the non-co-frequency cross-correlation function, T is the period of the denoised signal, A i is the amplitude of the non-same frequency part of the ith denoised signal, ω j is the frequency of the same frequency part of the jth denoised signal, ω i is the frequency of the non-co-frequency part of the ith denoised signal, is the phase of the non-co-frequency part of the ith denoised signal, t is the time, and τ is the extreme point of the co-frequency cross-correlation function;
[0094] The functional expression of the noise cross-correlation part is specifically:
[0095]
[0096] Among them, N nx (τ) is the noise cross-correlation part, T is the period of the noise signal, n(t) is the noise signal, and x(t+τ) is the reference signal after a delay of τ.
[0097] First, the same frequency cross-correlation function S 1sx (τ) is solved. According to the properties of the cosine function, when When S 1sx (τ) reaches the maximum value, at which point the phase to be measured Because the frequency of the power line carrier signal is known, it is only necessary to know the extreme point of the delay τ to obtain the phase value of the corresponding subcarrier.
[0098] Then for the non-co-frequency cross-correlation function S 2sx Based on the periodic characteristics of the subcarrier, all subcarriers are in the entire period within one symbol signal time. In the entire period, because the power line carrier signal is modulated using orthogonal frequency division multiplexing technology, the subcarriers are orthogonal to each other, so S 2sx The result of (τ) is 0.
[0099] Finally, the noise cross-correlation part is solved. Because noise is a random process, its cross-correlation function N nx (τ) also changes randomly, so we can only nx (τ) is used for simulation statistics. Assume that the mean of the noise n(t) is 0 and the variance is Then its cross-correlation function N nx (τ), the mean of which is also 0, so N nx The variance of (τ) is the main reason for the error. However, since the noise itself is irrelevant to the power line carrier signal, as the simulation step size and simulation time gradually increase, N nx (τ) will gradually approach 0.
[0100] In summary, for the cross-correlation operation result, since the value of the non-in-frequency cross-correlation function is determined to be 0, the noise cross-correlation part is close to 0. When the frequency and amplitude of the subcarrier are known, the value of the in-frequency cross-correlation function can be obtained, and then the extreme point of the delay τ is obtained, and the phase of each subcarrier can be obtained.
[0101] Step S3, reconstructing the power line carrier signal according to the phase of each subcarrier to obtain a power line carrier signal after noise reduction.
[0102] In this step, since the statistical characteristics of noise cannot be predicted during the cross-correlation operation, the calculated phase of the subcarrier inevitably has errors, so a decision device is required to perform error correction on the phase of the subcarrier. The decision device principle applies the minimum distance criterion in decision theory to determine the Euclidean distance between the received signal and the four constellation points, and then selects the constellation point with the smallest distance as the decision result.
[0103] First use the decision device to get the random phase of each subcarrier Then The phase obtained by cross-correlation operation is compared and the error is corrected to obtain the optimized subcarrier phase. Figure 4 The figure shows the phase detection result. The precise phase is the phase obtained by cross-correlation operation. Subtracting the phase obtained from the cross-correlation operation results in a zero result, indicating that the phase obtained from the cross-correlation operation is accurate.
[0104] Finally, the power line carrier signal is reconstructed according to the frequency, amplitude and phase of the optimized subcarrier to obtain the power line carrier signal after noise reduction. Because the phase of the optimized subcarrier itself is the result of the cross-correlation calculation after the noise signal is removed, the phase of the optimized subcarrier is the phase of the power line carrier signal after the noise signal is removed, so the noise-free power line carrier signal can be reconstructed and the carrier signal denoising can be completed.
[0105] In order to better demonstrate the denoising effect of this application, Figure 5 A time domain diagram of the reconstructed power line carrier signal is provided. Figure 3 and Figure 5 By comparison, we can see that Figure 5 There is no noise at all in the signal, and it is a smooth signal curve.
[0106] Embodiment 2
[0107] Further, in order to execute the carrier signal noise reduction system based on the cross-correlation function corresponding to the above method embodiment to achieve the corresponding functions and technical effects, Figure 2 A specific structural diagram of a carrier signal denoising system based on a cross-correlation function is provided. For ease of description, only the parts related to this embodiment are shown. The carrier signal denoising system based on a cross-correlation function provided in the embodiment of the present application includes:
[0108] The subcarrier generation module 201 is used to perform OFDM signal feature analysis on the collected power line carrier signal to obtain a plurality of subcarriers;
[0109] The phase calculation module 202 is used to generate a reference signal with the same frequency for each subcarrier, and calculate the power line carrier signal and the corresponding reference signal through a cross-correlation function to obtain the phase of each subcarrier;
[0110] The signal noise reduction module 203 is used to reconstruct the power line carrier signal according to the phase of each subcarrier to obtain a noise-reduced power line carrier signal.
[0111] In some embodiments, the subcarrier generation module 201 further includes:
[0112] The carrier signal decomposition unit is used to determine the frequency and amplitude of the subcarrier according to the modulation mode of the power line carrier signal; based on the fact that the power line carrier signal is composed of a plurality of superimposed subcarriers, the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarrier to obtain a plurality of subcarriers.
[0113] In some embodiments, the phase calculation module 202 further includes:
[0114] A phase calculation unit is used to generate a reference signal with the same frequency for each subcarrier according to the frequency of the subcarrier; use a cross-correlation function to calculate each subcarrier and the corresponding reference signal to obtain a cross-correlation operation result; decompose the cross-correlation operation result according to the noise part and the de-noised part of the subcarrier to obtain a target cross-correlation part and a noise cross-correlation part, and analyze the target cross-correlation part and the noise cross-correlation part to solve the target cross-correlation part to obtain the phase of each subcarrier; wherein the target cross-correlation part is a cross-correlation function between the reference signal and the de-noised signal of the subcarrier, and the noise cross-correlation part is a cross-correlation function between the reference signal and the noise signal of the subcarrier.
[0115] The phase calculation unit of the denoised signal is used to divide the target mutual correlation part into an intra-frequency mutual correlation function and a non-intra-frequency mutual correlation function; wherein the intra-frequency mutual correlation function is a mutual correlation function between the intra-frequency part of the reference signal and the denoised signal, and the non-intra-frequency mutual correlation function is a mutual correlation function between the non-intra-frequency part of the reference signal and the denoised signal; based on the periodic characteristics of the subcarrier, the value of the non-intra-frequency mutual correlation function is calculated; the noise mutual correlation part is simulated and statistically analyzed, and the value of the noise mutual correlation part is obtained by gradually increasing the simulation step size; the intra-frequency mutual correlation function is calculated according to the value of the non-intra-frequency mutual correlation function, the value of the noise mutual correlation part, and the frequency and amplitude of the subcarrier to obtain the phase of each subcarrier.
[0116] In some embodiments, the signal noise reduction module 203 further includes:
[0117] The carrier signal reconstruction unit is used to use a decision device to perform error correction on the phase of the subcarrier to obtain an optimized phase of the subcarrier; and reconstruct the power line carrier signal according to the frequency, amplitude and optimized phase of the subcarrier to obtain a noise-reduced power line carrier signal.
[0118] The embodiment of the present application proposes a carrier signal denoising method and system based on a cross-correlation function: performing OFDM signal feature analysis on the collected power line carrier signal to obtain a number of subcarriers; generating a reference signal with the same frequency as that of each subcarrier, and calculating the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier; reconstructing the power line carrier signal according to the phase of each subcarrier to obtain a denoised power line carrier signal. Its beneficial effect is that: using a cross-correlation function to detect a noisy power line carrier signal to obtain the phase of a denoised signal, and reconstructing a carrier signal according to the phase of the denoised signal, the denoising of the carrier signal is completed, and a more accurate and significant denoising effect is achieved.
[0119] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A carrier signal denoising method based on cross-correlation function, It is characterized in that include: Perform OFDM signal feature analysis on the collected power line carrier signal to obtain several subcarriers; Generate a reference signal with the same frequency for each subcarrier, and calculate the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier; The power line carrier signal is reconstructed according to the phase of each subcarrier to obtain a power line carrier signal after noise reduction.
2. The carrier signal denoising method based on cross-correlation function according to claim 1, It is characterized in that The OFDM signal characteristics analysis is performed on the collected power line carrier signal to obtain several subcarriers, specifically: Determine the frequency and amplitude of the subcarrier according to the modulation mode of the power line carrier signal and the carrier standard; Based on the fact that the power line carrier signal is formed by the superposition of several subcarriers, the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarriers to obtain several subcarriers.
3. The carrier signal denoising method based on cross-correlation function according to claim 1, It is characterized in that The method generates a reference signal with the same frequency for each subcarrier, and calculates the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier, specifically: According to the frequency of the subcarrier, generating a reference signal having the same frequency as the subcarrier for each subcarrier; Using a cross-correlation function to calculate the power line carrier signal and the reference signal to obtain a cross-correlation operation result; According to the noise part and the denoised part of the power line carrier signal, the cross-correlation operation result is decomposed to obtain a target cross-correlation part and a noise cross-correlation part, and the target cross-correlation part and the noise cross-correlation part are analyzed to solve the target cross-correlation part and obtain the phase of each subcarrier; wherein the target cross-correlation part is a cross-correlation function between the reference signal and the denoised signal of the power line carrier signal, and the noise cross-correlation part is a cross-correlation function between the reference signal and the noise signal of the power line carrier signal.
4. The carrier signal denoising method based on cross-correlation function according to claim 3, It is characterized in that The target cross-correlation part and the noise cross-correlation part are analyzed, the target cross-correlation part is solved, and the phase of each subcarrier is obtained, specifically: Dividing the target cross-correlation part into an intra-frequency cross-correlation function and an off-frequency cross-correlation function; wherein the intra-frequency cross-correlation function is a cross-correlation function of the intra-frequency part of the reference signal and the de-noised signal, and the off-frequency cross-correlation function is a cross-correlation function of the non-intra-frequency part of the reference signal and the de-noised signal; Calculating the value of the non-co-frequency cross-correlation function based on the periodic characteristics of the subcarriers; Performing simulation statistics on the noise cross-correlation part, and obtaining a value of the noise cross-correlation part by gradually increasing the simulation step size; The on-frequency cross-correlation function is calculated according to the value of the non-on-frequency cross-correlation function, the value of the noise cross-correlation part, and the frequency and amplitude of the subcarrier to obtain the phase of each subcarrier.
5. The carrier signal denoising method based on cross-correlation function according to claim 4, It is characterized in that The same-frequency mutual correlation function, the non-same-frequency mutual correlation function and the noise mutual correlation part are specifically: The functional expression of the same-frequency cross-correlation function is specifically: Among them, S 1sx (τ) is the same-frequency cross-correlation function, T is the period of the denoised signal, A j is the amplitude of the same frequency part of the jth denoised signal, ω j is the frequency of the same frequency part of the j-th denoised signal, is the phase of the same-frequency part of the j-th denoised signal, t is the time, and τ is the extreme point of the same-frequency cross-correlation function; The functional expression of the non-co-frequency cross-correlation function is specifically: Among them, S 2sx (τ) is the non-co-frequency cross-correlation function, T is the period of the denoised signal, A i is the amplitude of the non-same frequency part of the ith denoised signal, ω j is the frequency of the same frequency part of the jth denoised signal, ω i is the frequency of the non-co-frequency part of the ith denoised signal, is the phase of the non-co-frequency part of the ith denoised signal, t is the time, and τ is the extreme point of the co-frequency cross-correlation function; The functional expression of the noise cross-correlation part is specifically: Among them, N nx (τ) is the noise cross-correlation part, T is the period of the noise signal, n(t) is the noise signal, and x(t+τ) is the reference signal after a delay of τ.
6. The carrier signal denoising method based on cross-correlation function according to claim 1, It is characterized in that The power line carrier signal is reconstructed according to the phase of each subcarrier to obtain a power line carrier signal after noise reduction, specifically: Using a decision device to perform error correction on the phase of the subcarrier to obtain an optimized phase of the subcarrier; The power line carrier signal is reconstructed according to the frequency and amplitude of the subcarrier and the phase of the optimized subcarrier to obtain a power line carrier signal after noise reduction.
7. A carrier signal noise reduction system based on cross-correlation function, It is characterized in that include: Subcarrier generation module, phase calculation module and signal noise reduction module; The subcarrier generation module is used to perform OFDM signal feature analysis on the collected power line carrier signal to obtain a number of subcarriers; The phase calculation module is used to generate a reference signal with the same frequency for each subcarrier, and calculate the power line carrier signal and the reference signal through a cross-correlation function to obtain the phase of each subcarrier; The signal noise reduction module is used to reconstruct the power line carrier signal according to the phase of each subcarrier to obtain a noise-reduced power line carrier signal.
8. The carrier signal noise reduction system based on cross-correlation function according to claim 7, It is characterized in that The subcarrier generation module includes: a carrier signal decomposition unit; Among them, the carrier signal decomposition unit is used to determine the frequency and amplitude of the subcarrier according to the modulation method of the power line carrier signal; based on the fact that the power line carrier signal is composed of a plurality of superpositioned subcarriers, the time domain waveform of the power line carrier signal is decomposed according to the frequency and amplitude of the subcarrier to obtain a plurality of subcarriers.
9. The carrier signal noise reduction system based on cross-correlation function according to claim 8, It is characterized in that The phase calculation module includes: a phase calculation unit; The phase calculation unit is used to generate a reference signal with the same frequency for each subcarrier according to the frequency of the subcarrier; the power line carrier signal and the reference signal are calculated using a cross-correlation function to obtain a cross-correlation operation result; the cross-correlation operation result is decomposed according to the noise part and the denoised part of the power line carrier signal to obtain a target cross-correlation part and a noise cross-correlation part, and the target cross-correlation part is solved according to the noise cross-correlation part to obtain the phase of each subcarrier; wherein the target cross-correlation part is a cross-correlation function between the reference signal and the denoised signal of the power line carrier signal, and the noise cross-correlation part is a cross-correlation function between the reference signal and the noise signal of the power line carrier signal.
10. The carrier signal noise reduction system based on cross-correlation function according to claim 9, It is characterized in that The phase calculation module includes: a phase calculation unit for denoising the signal; The phase calculation unit of the denoised signal is used to divide the target mutual correlation part into an in-frequency mutual correlation function and a non-in-frequency mutual correlation function; wherein the in-frequency mutual correlation function is a mutual correlation function of the in-frequency part of the reference signal and the denoised signal, and the non-in-frequency mutual correlation function is a mutual correlation function of the non-in-frequency part of the reference signal and the denoised signal; based on the periodic characteristics of the subcarrier, the value of the non-in-frequency mutual correlation function is calculated; the noise mutual correlation part is simulated and statistically analyzed, and the value of the noise mutual correlation part is obtained by gradually increasing the simulation step size; the in-frequency mutual correlation function is calculated according to the value of the non-in-frequency mutual correlation function, the value of the noise mutual correlation part, and the frequency and amplitude of the subcarrier to obtain the phase of each subcarrier.
11. The carrier signal noise reduction system based on cross-correlation function according to claim 7, It is characterized in that The signal noise reduction module includes a carrier signal reconstruction unit; Among them, the carrier signal reconstruction unit is used to use a decision device to perform error correction on the phase of the subcarrier to obtain an optimized phase of the subcarrier; according to the frequency, amplitude and optimized phase of the subcarrier, the power line carrier signal is reconstructed to obtain a noise-reduced power line carrier signal.
