A Multimodal Interference Detection and Compensation Method for Power Line Carrier Communication
By obtaining the modal list and the total value list of interference index, combined with the Cartesian coordinate system and the target grid, the problem of low interference detection accuracy in power carrier communication is solved, and the precise detection and compensation of interference is achieved.
Patent Information
- Application Number
- CN202510151956.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-02-12
AI Technical Summary
The interference detection method of power carrier communication in the prior art fails to effectively determine the parameters of the interference detection model, resulting in low interference detection accuracy.
By obtaining the modal list, the first interference index total value list and the second interference index total value list, combined with the rectangular coordinate system and the target grid, the modality of the interference is determined to compensate for the interference, and the interference detection accuracy is improved.
Accurate detection and compensation of interference in power carrier communication is realized, and the accuracy of interference detection is improved.
Smart Images

Figure CN119652357B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power communication, and particularly to a multi-modal interference detection and compensation method for power line carrier communication. Background Art
[0002] Power Line Carrier Communication (PLCC) is a technology that uses power lines as a transmission medium for communication. Its basic principle is to modulate the information to be transmitted (such as voice, data, etc.) onto a high-frequency carrier signal at the sending end, so that the frequency of the high-frequency signal is suitable for transmission over the power line. These high-frequency signals are transmitted over the power line, and at the receiving end, the original information is restored from the carrier signal through operations such as demodulation.
[0003] During the transmission process, the carrier signal is interfered by interference sources, resulting in problems such as a decrease in signal quality. The patent with the application number 2021115377886 provides an interference detection method, which determines the interference index value of a resource block based on the received signal strength value of the resource block and an interference detection model, but does not determine the parameters of the interference detection model, resulting in a low accuracy rate of interference detection. Summary of the Invention
[0004] In view of the above technical problems, the technical solution adopted by the present invention is: a multi-modal interference detection and compensation method for power line carrier communication, the method comprising the following steps:
[0005] S100, obtaining a modality list A = {A1, A2,..., A i ,..., A m}, the resource block list L i corresponding to the i-th modality A i = {L i1 , L i2 ,..., L ij ,..., L in(i)}, L ij is the j-th resource block corresponding to A i , the value range of j is from 1 to n(i), and n(i) is the number of resource blocks corresponding to A i , and the value range of i is from 1 to m, where m is the number of modalities;
[0006] S200, obtaining a first total interference index list B = {B1, B2,..., B i ,..., B m}, the first total interference index B i = ∑ n(i) j=1 B ij , , where, ai is A i The corresponding first parameter, β0 is the second parameter, b0 is the third parameter, k1 is the intensity value of the carrier signal received in the case of no interference in the resource block, k 2ij is A ij The average intensity value of the actually received carrier signal;
[0007] S300, obtain the second total interference index list C = {C1, C2,..., C i , …, C m}, the second total interference index C i =∑ n(i) j=1 C ij , C ij =B ij -[α × (M ij -B ij ) / M ij , where , k 3ij is A ij The maximum intensity value of the actually received carrier signal; α is the fourth parameter;
[0008] S400, based on the first total interference index list B and the second total interference index list C, determine to compensate the electronic carrier communication for the interference mode.
[0009] The present invention has at least the following beneficial effects: In summary, obtain the mode list, obtain the first total interference index list, obtain the second total interference index list, and based on the first total interference index list and the second total interference index list, determine to compensate the electronic carrier communication for the interference mode. The present invention determines to compensate the electronic carrier communication for the interference mode through two calculation methods of the total interference index, improving the accuracy of interference detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0011] Figure 1 It is a flowchart of a multi-modal interference detection and compensation method for power line carrier communication provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0012] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a 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 those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0013] An embodiment of the present invention provides a multi-modal interference detection and compensation method for power line carrier communication, as Figure 1 shown, the method includes the following steps:
[0014] S100, obtain a modal list A = {A1, A2,..., A i ,..., A m}, the resource block list L i corresponding to the i-th mode A i = {L i1 , L i2 ,..., L ij ,..., L in(i)}, L ij is the j-th resource block corresponding to A i , the value range of j is from 1 to n(i), and n(i) is the number of resource blocks corresponding to A i . The value range of i is from 1 to m, and m is the number of modes. It can be understood that the resource blocks corresponding to different modes are different. In an embodiment of the present invention, the modulation methods of different modes are different.
[0015] S200, obtain a list B of the total first interference index values B = {B1, B2,..., B i ,..., B m}, the total first interference index value B i = ∑ n(i) j=1 B ij , , where a i is the first parameter corresponding to A i , β0 is the second parameter, b0 is the third parameter, k1 is the intensity value of the carrier signal received without interference in the resource block, and k 2ij is the average intensity value of the carrier signal actually received by A ij .
[0016] Specifically, k 2ij is the average intensity value of the carrier signal actually received by A ij within a preset time period.
[0017] Specifically, those skilled in the art are aware that any method for obtaining the average intensity value of a carrier signal in the prior art falls within the protection scope of the present invention, and will not be elaborated herein.
[0018] S300. Obtain the second total interference index list C = {C1, C2,..., C i ,..., C m}, where the second total interference index C i =∑ n(i) j=1 C ij , C ij =B ij -[α×(M ij -B ij ) / M ij ), where , k 3ij is the maximum intensity value of the carrier signal actually received by A ij ; α is the fourth parameter. Among them, the fourth parameter α = 1. It can be understood that the second total interference index is obtained by using both the maximum intensity value and the average intensity value.
[0019] S400. Based on the first total interference index list B and the second total interference index list C, determine the compensation for the electronic carrier communication in the interference mode. Specifically, based on B and C, determine whether the main carrier is interfered. If the main carrier is interfered, determine the compensation for the electronic carrier communication in the interference mode.
[0020] In summary, obtain the mode list, obtain the first total interference index list, obtain the second total interference index list, and based on the first total interference index list and the second total interference index list, determine the compensation for the electronic carrier communication in the interference mode. The present invention determines the compensation for the electronic carrier communication in the interference mode through two calculation methods of the total interference index, more simply and conveniently determines the total interference index, and improves the accuracy of interference detection, so as to more accurately compensate the electronic carrier communication in the interference mode.
[0021] Specifically, S200 further includes obtaining β0 and b0 through the following steps:
[0022] S001. Fix a as the natural constant e.
[0023] S002. Obtain the sample data vector list D = {D1, D2,..., D r ,..., D s}, where the rth sample data vector D r =(D r1 , D r2 , D r3 ), D r1is the intensity value of the sample carrier signal received without interference in the sample resource block, D r2 is the average intensity value of the sample carrier signal received in the sample resource block, D r3 is the sample true interference index value.
[0024] Specifically, those skilled in the art know that any method for determining the true interference index value in the prior art belongs to the protection scope of the present invention, and will not be elaborated here.
[0025] S002. Arbitrarily select two sample data vectors from D and substitute them into the interference index calculation formula to obtain the f-th output vector E f =(β f , b f ), so as to obtain the output vector list E = {E1, E2,..., E f ,..., E h}, where the value range of f is from 1 to h, and h is the number of output vectors. In an embodiment of the present invention, h = s! / (2×(s - 2)!), where s! is the factorial operation of s, and (s - 2)! is the factorial operation of s - 2.
[0026] Specifically, the present invention arbitrarily selects 2 sample data vectors from D, substitutes them into the interference index calculation formula , forms a system of equations, and obtains an output vector.
[0027] S003. If β f ∈[1, 2] and b f ∈[0, 1], mark E f as an intermediate vector, so as to obtain the intermediate vector list F = {F1, F2,..., F g1 ,..., F g2 ,..., F z}, the g1-th intermediate vector E g1 =(β g1 , b g1 ), the g2-th intermediate vector E g2 =(β g2 , b g2 ), the value range of g1 is from 1 to z, the value range of g2 is from 1 to z, and g1≠g2. The number of intermediate vectors z is less than h.
[0028] S004. Obtain the first minimum value mβ0 = min{mβ1, mβ2,..., mβ t ,..., mβ k}, mβ t =|β g1 - β g2 |, obtain the second minimum value mb0 = min{mb1, mb2,..., mbt , …, mb k},mb t = |b g1 - b g2 |, the value range of t is from 1 to k, k = z! / (2×(z - 2)!), where z! is the factorial operation of z, and (z - 2)! is the factorial operation of z - 2.
[0029] S005, establish a rectangular coordinate system, establish an initial grid with the X - axis in [1, 2] and the Y - axis in [0, 1], with (mβ0, mb0) as the preset grid size, divide the initial grid into several target grids, so as to obtain the target grid list G = {G1, G2, …, G y , …, G p},G y is the y - th target grid, the value range of y is from 1 to p, p is the number of target grids, where the rectangular coordinate system takes β as the X - axis and b as the Y - axis.
[0030] S006, obtain the intermediate coordinates corresponding to the intermediate vector, and obtain the number H y of the intermediate coordinates in G y , and determine β0 and b0 based on the number H y . Specifically, obtain H0 = max{H1, H2, …, H
[0031] , …, H y , …, H p}, and determine β0 and b0 based on the target grid corresponding to H0.
[0032] Furthermore, S006 also includes: take the X - axis coordinate of the center point of the target grid corresponding to H0 as β0, and take the Y - axis coordinate of the center point of the target grid corresponding to H0 as b0.
[0033] Even further, after S006, it also includes: S007, obtain , and verify β0 and b0 based on D r3 and D r4 . Specifically, if D r3 - D r4 is less than the preset difference threshold, then the verification of β0 and b0 is successful.
[0034] In summary, fix a as the natural constant e, randomly select two sample data vectors from D, substitute them into the interference index calculation formula, obtain the f - th output vector E f , so as to obtain the output vector list. If β f ∈[1, 2] and b f ∈[0, 1], then E fLabel it as the intermediate vector to obtain the intermediate vector list F, obtain the first minimum value mβ0, obtain the second minimum value mb0, use β as the X-axis and b as the Y-axis to establish a rectangular coordinate system, obtain the initial grid where the X-axis is in [1, 2] and the Y-axis is in [0, 1], and divide the initial grid into several target grids with (mβ0, mb0) as the preset grid size to obtain the target grid list, obtain the intermediate coordinates corresponding to the intermediate vector, and obtain the number H of the intermediate coordinates in G y of the intermediate coordinates y , and based on the quantity H y determine β0 and b0. The present invention can more accurately obtain β0 and b0 through an optimization algorithm.
[0035] Specifically, A is obtained through the following steps i corresponding a i :
[0036] S210, obtain the training data list set J = {J1, J2,..., J i ,..., J m}, the training data list J i corresponding to A i ={J i1 , J i2 ,..., J ij ,..., J in(i)}, the training data J ij corresponding to A ij =(J ij1 , J ij2 , J ij3 ), J ij1 is the intensity value of the sample carrier signal received by A ij in the case of no interference, J ij2 is the intensity value of the training carrier signal actually received by A ij , and J ij3 is the training true interference index value.
[0037] S220, based on the formula , obtain a ij , obtain ma i =(a i1 +…+a ij +…+a in(i) ) / n(i), so as to obtain the fitting coordinate point (n(i), ma i ).
[0038] S230, perform linear fitting based on the fitting coordinate point (n(i), ma i ) to obtain the quantity parameter function.
[0039] Specifically, those skilled in the art know that any method of linear fitting in the prior art falls within the protection scope of the present invention, and will not be elaborated here.
[0040] S240, based on A i Determine a according to the number n(i) of resource blocks included and the number parameter function i .
[0041] In summary, obtain the training data list set, obtain the fitting coordinate points, perform linear fitting based on the fitting coordinate points (n(i), ma i ), obtain the number parameter function, and through the training data list set, establish the relationship between the number of resource blocks and a i , so as to obtain the first parameter a more accurately i .
[0042] Specifically, S400 further includes:
[0043] S410, obtain the main mode A0, A0 ∈ A.
[0044] S420, obtain the total value B0 of the first interference index and the total value C0 of the second interference index corresponding to the main mode A0. If B0 is greater than the first interference threshold TB and C0 is greater than the second interference threshold TC, execute S430. Specifically, the first interference threshold and the second interference threshold can be determined according to actual needs.
[0045] S430, based on the list B of the total value of the first interference index and the list C of the total value of the second interference index, obtain the first initial gap value AB i = B i - B0 and the second initial gap value AC i = C i - C0.
[0046] S440, obtain the first intermediate gap value N 1i = AB i - AB0 and the second intermediate gap value N 2i = AC i - AC0, so as to obtain the first intermediate gap value list N1 = {N 11 , N 12 , …, N 1i , …, N 1m} and the second intermediate gap value list N2 = {N 21 , N 22 , …, N 2i , …, N 2m}.
[0047] S450, based on the first intermediate gap value list N1 and the second intermediate gap value list N2, obtain the third intermediate gap value list N3 = {N31 , N 32 , …, N 3i , …, N 3m}, where N 3i = c × N 1i + d × N 2i , c is the first weight factor and d is the second weight factor.
[0048] Optionally, c ≥ d; preferably, c = d = 1 / 2.
[0049] S460, obtain N0 = max{N 31 , N 32 , …, N 3i , …, N 3m}, and use the mode corresponding to N0 as the auxiliary mode to compensate the main mode.
[0050] In summary, obtain the main mode A0, obtain the total value B0 of the first interference index and the total value C0 of the second interference index corresponding to the main mode A0. If B0 is greater than the first interference threshold TB and C0 is greater than the second interference threshold TC, based on the list B of the total values of the first interference index and the list C of the total values of the second interference index, obtain the first initial gap value and the second initial gap value, obtain the first intermediate gap value and the second intermediate gap value, thereby obtaining the list of the first intermediate gap values and the list of the second intermediate gap values. Based on the list N1 of the first intermediate gap values and the list N2 of the second intermediate gap values, obtain the list of the third intermediate gap values, obtain N0, and use the mode corresponding to N0 as the auxiliary mode to compensate the main mode. The present invention compensates the main carrier by finding the carrier with the largest gap from the main carrier.
[0051] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one segment of program related to a method for implementing a method in the method embodiment. The at least one instruction or the at least one segment of program is loaded and executed by the processor to implement the method provided in the above embodiment.
[0052] An embodiment of the present invention also provides an electronic device, including a processor and the foregoing non-transitory computer-readable storage medium.
[0053] Although some specific embodiments of the present invention have been described in detail by way of examples, those skilled in the art should understand that the above examples are only for illustration and not for limiting the scope of the present invention. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the present invention.
Claims
1. A multimodal interference detection and compensation method for power line carrier communication, characterized in that The method includes the following steps: S100, obtain the modality list A = {A1, A2, …, A i , …, A m}, and for the i-th modality A i , the corresponding resource block list L i = {L i1 , L i2 , …, L ij , …, L in(i)}, where L ij is the j-th resource block corresponding to A i . The value range of j is from 1 to n(i), and n(i) is the number of resource blocks corresponding to A i . The value range of i is from 1 to m, and m is the number of modalities; S200, obtain the first total interference index list B = {B1, B2, …, B i , …, B m}, the first total interference index B i = ∑ n(i) j=1 B ij , , where a i is the first parameter corresponding to A i , β0 is the second parameter, b0 is the third parameter, k1 is the intensity value of the carrier signal received without interference in the resource block, k 2ij is the average intensity value of the actually received carrier signal of L ij ; S300, obtain the list of second interference index total values C = {C1, C2, …, C i , …, C m}, and the second interference index total value C i = ∑ n(i) j=1 C ij , C ij = B ij - [α × (M ij - B ij ) / M ij , where , k 3ij is the maximum intensity value of the carrier signal actually received by L ij ; α is the fourth parameter; S400, based on the first total interference index list B and the second total interference index list C, determine to compensate for the electronic carrier communication of the interference mode.
2. The multimodal interference detection and compensation method for power line carrier communication according to claim 1, wherein S200 further includes obtaining β0 and b0 through the following steps: S001, fix a as the natural constant e; S002, obtain a list of sample data vectors D = {D1, D2, …, D r , …, D s}, the r-th sample data vector D r = (D r1 , D r2 , D r3 ), D r1 is the intensity value of the sample carrier signal received in the case of no interference in the sample resource block, D r2 is the average intensity value of the sample carrier signal received in the sample resource block, D r3 is the sample true interference index value; S0025, randomly select any two sample data vectors from D and substitute them into the interference index calculation formula , and obtain the f-th output vector E f = (β f , b f ), so as to obtain the output vector list E = {E1, E2, …, E f , …, E h}, where the value range of f is from 1 to h, and h is the number of output vectors; S003, if β f ∈ [1, 2] and b f ∈ [0, 1], mark E f as an intermediate vector, thereby obtaining a list of intermediate vectors F = {F1, F2, …, F g1 , …, F g2 , …, F z}, the g1-th intermediate vector E g1 = (β g1 , b g1 ), the g2-th intermediate vector E g2 = (β g2 , b g2 ), the value range of g1 is from 1 to z, the value range of g2 is from 1 to z, and g1 ≠ g2. The number of intermediate vectors z is less than h; S004, obtain the first minimum value \(m_{β0} = min\{m_{β1}, m_{β2}, …, m_{β t , …, m_{β k}\), where \(m_{β t = |β g1 - β g2 |. Then, obtain the second minimum value \(m_{b0} = min\{m_{b1}, m_{b2}, …, m_{b t , …, m_{b k}\), where \(m_{b t = |b g1 - b g2 |. The value range of t is from 1 to k, where k = z! / (2×(z - 2)!), and z! is the factorial operation of z, and (z - 2)! is the factorial operation of z - 2; S005, establish a rectangular coordinate system, establish an initial grid with the X-axis in [1, 2] and the Y-axis in [0, 1], and divide the initial grid into a number of target grids with a preset grid size of (mβ0, mb0), so as to obtain a target grid list G = {G1, G2, …, G y , …, G p}, G y is the y-th target grid, where the value range of y is from 1 to p, and p is the number of target grids. Among them, in the rectangular coordinate system, β is used as the X-axis and b is used as the Y-axis; S006, obtain the intermediate coordinates corresponding to the intermediate vector, and obtain the number H of intermediate coordinates in G y and determine β0 and b0 based on the number H y and determine β0 and b0 based on the number H y and determine β0 and b0.
3. The multimodal interference detection and compensation method for power line carrier communication according to claim 2, characterized in that, Obtain H0 = max{H1, H2, …, H y , …, H p}, and determine β0 and b0 based on the target grid corresponding to H0.
4. The multimodal interference detection and compensation method for power line carrier communication according to claim 3, wherein, S006 further includes: taking the X-axis coordinate of the center point of the target grid corresponding to H0 as β0, and taking the Y-axis coordinate of the center point of the target grid corresponding to H0 as b0.
5. The multimodal interference detection and compensation method for power line carrier communication according to claim 2, wherein After S006, it further includes: S007, Obtain , based on D r3 and D r4 , verify β0 and b0.
6. The multimodal interference detection and compensation method for power line carrier communication according to claim 5, characterized in that Obtain A through the following steps i The corresponding a i : S210, obtain the training data list set J = {J1, J2, …, J i , …, J m}, and the training data list J i corresponding to A i = {J i1 , J i2 , …, J ij , …, J in(i)}, and the training data J ij corresponding to L ij = (J ij1 , J ij2 , J ij3 ), where J ij1 is the intensity value of the sample carrier signal received by L ij without interference, J ij2 is the average intensity value of the actually received training carrier signal by L ij , and J ij3 is the training true interference index value; S220, based on the formula , obtain a ij , obtain ma i = (a i1 + … + a ij + … + a in(i) ) / n(i), thereby obtaining the fitting coordinate points (n(i), ma i ); S230, perform linear fitting based on the fitted coordinate points (n(i), ma i ) to obtain the quantity parameter function; S240, based on A i Determine a based on the number n(i) of resource blocks included and the quantity parameter function i .
7. The multimodal interference detection and compensation method for power line carrier communication according to claim 1, wherein The fourth parameter α = 1.
8. The multimodal interference detection and compensation method for power line carrier communication according to claim 1, characterized in that S400 further includes: S410, obtain the main mode A0, A0 ∈ A; S420, obtain the first total interference index B0 and the second total interference index C0 corresponding to the main mode A0. If B0 is greater than the first interference threshold TB and C0 is greater than the second interference threshold TC, execute S430; S430, obtain the first initial gap value AB based on the first total interference index list B and the second total interference index list C i =B i - B0 and the second initial gap value AC i =C i - C0; S440, obtain the first intermediate gap value N 1i =AB i - AB0 and the second intermediate gap value N 2i =AC i - AC0, so as to obtain the first intermediate gap value list N1 = {N 11 , N 12 , …, N 1i , …, N 1m} and the second intermediate gap value list N2 = {N 21 , N 22 , …, N 2i , …, N 2m}; S450, based on the first intermediate difference value list N1 and the second intermediate difference value list N2, obtain the third intermediate difference value list N3 = {N 31 , N 32 , …, N 3i , …, N 3m}, where N 3i = c × N 1i + d × N 2i , c is the first weight factor and d is the second weight factor; S460, obtain N0 = max{N 31 , N 32 , …, N 3i , …, N 3m}, and use the mode corresponding to N0 as the auxiliary mode to compensate the main mode.
9. The multimodal interference detection and compensation method for power line carrier communication according to claim 8, characterized in that c ≥ d.
10. The multimodal interference detection and compensation method for power line carrier communication according to claim 9, characterized in that, c = d = 1 / 2.
Citation Information
Patent Citations
Connection signal strength improvement method and system for realizing 5G communication based on data fusion
CN118353555A
Data transmission method and system based on power line carrier
CN118740200A