Wireless Signal Synchronization Method and Device for Power Line Carrier Chip Based on Junction Sequence

By using the synchronization method based on the junction sequence in the high-speed power line carrier-high-speed wireless communication system, the problem of false synchronization caused by noise interference is solved, and higher synchronization accuracy and communication reliability are achieved.

CN119789199BActive Publication Date: 2025-05-27SUZHOU GATE-SEA MICROELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510288435.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-05-27
Estimated Expiration
2045-03-12

AI Technical Summary

Technical Problem

In high-speed power line carrier-high-speed wireless communication system, the autocorrelation method is used to interfere with noise when wireless signal synchronization, resulting in false synchronization, affecting the stability and reliability of communication.

Method used

Using the power carrier chip wireless signal synchronization method based on the junction sequence, the junction sequence is obtained by the XOR of adjacent repeating sequences in the training symbol, the synchronous junction sequence and its corresponding sync training symbol are calculated, the synchronous autocorrelation value is obtained, and the synchronization time is judged based on the autocorrelation peak threshold.

Benefits of technology

It improves the accuracy and reliability of wireless signal synchronization, reduces the occurrence of erroneous synchronization, and enhances the stability and reliability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119789199B_ABST
    Figure CN119789199B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and device for wireless signal synchronization of a power line carrier chip based on a boundary sequence. This method calculates the autocorrelation value based on the synchronization boundary sequence, and then determines the synchronization moment by comparing the autocorrelation value at the current moment with the autocorrelation peak threshold. In the embodiments of the present application, the synchronization boundary sequence can reflect the phase relationship between the repeated sequences in the synchronization training symbols. By introducing the synchronization boundary sequence into the autocorrelation calculation, the synchronization training symbols contained in the wireless signal can be accurately identified, so that the synchronization moment can be accurately determined, improving the accuracy and reliability of synchronization judgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of broadband power line carrier communication, and particularly to a method and device for synchronizing wireless signals of a power line carrier chip based on a boundary sequence. Background Art

[0002] In a power line carrier communication chip based on high-speed power line carrier (HPLC) - high-speed wireless communication, orthogonal frequency division multiplexing (OFDM) is usually used for signal modulation and demodulation. The transmitter decomposes the transmission channel into several orthogonal sub-channels, converts the high-speed data signal to be transmitted into a parallel low-speed data stream, and modulates it onto the sub-carriers of each orthogonal channel for transmission. The several orthogonal signals transmitted in a superposed manner are demodulated and separated by a certain method at the receiver. For the receiver, the accuracy of synchronization is crucial. Once there is a deviation in time synchronization, the orthogonality between sub-carriers will be destroyed, resulting in an increase in interference between signals, thus affecting the correct demodulation of signals; at the same time, it may also lead to incorrect reception of the entire data packet, resulting in data packet loss, seriously affecting the stability and reliability of communication.

[0003] In a high-speed power line carrier (HPLC) - high-speed wireless communication system, due to reasons such as carrier frequency deviation and noise, the self-correlation method is usually used to estimate the synchronization position of wireless signals. However, due to the relatively complex transmission path in the wireless channel, the accuracy of estimating synchronization by the self-correlation method will be interfered by various noises, resulting in false synchronization. Therefore, how to improve the accuracy of synchronization is an urgent problem to be solved. Summary of the Invention

[0004] In view of this, embodiments of the present application provide a method and device for synchronizing wireless signals of a power line carrier chip based on a boundary sequence to solve at least one problem in the background art.

[0005] In a first aspect, embodiments of the present application provide a method for synchronizing wireless signals of a power line carrier chip based on a boundary sequence, the method comprising:

[0006] Obtaining a boundary sequence of a training symbol by performing exclusive OR on adjacent repeated sequences in the training symbol, and obtaining a synchronization boundary sequence and its corresponding synchronization training symbol according to the boundary sequence of the training symbol;

[0007] Obtaining a synchronization self-correlation value based on the synchronization boundary sequence and the synchronization training symbol, and determining a self-correlation peak threshold according to the synchronization self-correlation value;

[0008] Receiving a wireless signal;

[0009] Performing self-correlation calculation on the wireless signal based on the synchronization boundary sequence and a preset time window to obtain a self-correlation value at the current moment;

[0010] Compare the autocorrelation value at the current moment with the autocorrelation peak threshold, and judge whether the current moment is the synchronization moment according to the comparison result.

[0011] In a second aspect, an embodiment of the present application provides a wireless signal synchronization device for a power line carrier chip based on a junction sequence. The device includes:

[0012] An acquisition unit, configured to obtain a junction sequence of a training symbol according to the exclusive OR of adjacent repeated sequences in the training symbol, and obtain a synchronization junction sequence and its corresponding synchronization training symbol according to the junction sequence of the training symbol;

[0013] A threshold calculation unit, configured to obtain a synchronization autocorrelation value based on the synchronization junction sequence and the synchronization training symbol, and determine an autocorrelation peak threshold according to the synchronization autocorrelation value;

[0014] A receiving unit, configured to receive a wireless signal;

[0015] An autocorrelation calculation unit, configured to perform autocorrelation calculation on the wireless signal based on the synchronization junction sequence and a preset time window to obtain an autocorrelation value at the current moment;

[0016] A comparison and judgment unit, configured to compare the autocorrelation value at the current moment with the autocorrelation peak threshold, and judge whether the current moment is the synchronization moment according to the comparison result.

[0017] In a third aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are executed by a processor of an electronic device, the electronic device can execute the wireless signal synchronization method for a power line carrier chip based on a junction sequence described in any one of the above.

[0018] In a fourth aspect, an embodiment of the present application provides an electronic device. The electronic device includes:

[0019] A processor;

[0020] A memory for storing computer-executable instructions;

[0021] The processor is configured to execute the computer-executable instructions to implement the wireless signal synchronization method for a power line carrier chip based on a junction sequence described in any one of the above in the first aspect.

[0022] The present invention relates to a method and apparatus for wireless signal synchronization of a power line carrier chip based on a boundary sequence. The method calculates an autocorrelation value based on a synchronization boundary sequence, and then determines the synchronization time by comparing the autocorrelation value at the current moment with an autocorrelation peak threshold. In the embodiments of the present application, the synchronization boundary sequence can reflect the phase relationship between the repeated sequences in the synchronization training symbols. By introducing the synchronization boundary sequence into the autocorrelation calculation, the synchronization training symbols included in the wireless signal can be accurately identified, so that the synchronization time can be accurately determined, and the accuracy and reliability of synchronization determination are improved.

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

[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments and descriptions thereof of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0025] Figure 1 is a schematic flow chart of a method for wireless signal synchronization of a power line carrier chip provided by an embodiment of the present application;

[0026] Figure 2 is a schematic diagram of the wireless signal synchronization result of a power line carrier chip in a specific embodiment of the present application;

[0027] Figure 3 is a schematic diagram of the wireless signal synchronization result of a power line carrier chip in another specific embodiment of the present application;

[0028] Figure 4 is a schematic diagram of a device for wireless signal synchronization of a power line carrier chip provided by an embodiment of the present application;

[0029] Figure 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0030] To make the technical solutions and beneficial effects of the present invention more obvious and understandable, the following will be described in detail by way of specific embodiments. Unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which the present application belongs.

[0031] Figure 1 is a schematic flow chart of a method for wireless signal synchronization of a power line carrier chip provided by an embodiment of the present application. As Figure 1 shown, the synchronization method of the embodiment of the present application is applied to an HPLC - high - speed wireless communication system, and the method includes:

[0032] S1. Obtain the boundary sequence of the training symbol according to the exclusive OR of adjacent repeated sequences in the training symbol, and obtain the synchronous boundary sequence and its corresponding synchronous training symbol according to the boundary sequence of the training symbol.

[0033] Among them, the training symbol is composed of multiple repeated sequences, each repeated sequence is composed of the same number of sampling points, and the phases of the repeated sequences are the same or opposite, that is, the phases of the corresponding sampling points between the repeated sequences are the same or opposite. For example, the training symbol is composed of 6 repeated sequences, denoted as S, and the phase of the last repeated sequence is inverted, denoted as -S, then the training symbol is SSSSS(-S). Among them, the phases of each sampling point in S and the corresponding sampling points in -S are opposite. Optionally, the amplitudes of the corresponding sampling points between the repeated sequences with the same phase (i.e., between S and S) are equal; the amplitudes of the corresponding sampling points between the repeated sequences with opposite phases (i.e., between S and -S) can be equal or not, which is specifically determined according to the communication protocol or actual situation. It should be noted that the training symbol is a known sequence for synchronization or channel estimation. The training symbol usually has a specific structure, and the receiving end can determine the starting position of the data packet by detecting the training symbol; both the transmitting end and the receiving end can store the training symbol through internal registers for synchronization detection or channel estimation.

[0034] As an optional specific implementation manner, the training symbol includes multiple repeated sequences, and at least one of the repeated sequences has a phase opposite to that of the other repeated sequences, so that the autocorrelation values calculated by different sub-training symbols will change, which is beneficial to the subsequent receiver's judgment of the synchronization moment.

[0035] In the embodiments of the present application, the exclusive OR of adjacent repeating sequences refers to the same or opposite phases of adjacent repeating sequences. Specifically, if the phases of adjacent repeating sequences are the same, the corresponding boundary value is 1; if the phases of adjacent repeating sequences are opposite, the corresponding boundary value is 0; the boundary sequence composed of 0 and 1 can be obtained through the exclusive OR of adjacent repeating sequences in the training symbol, that is, the boundary sequence is a sequence composed of 0 and 1. For example, if the training symbol is SSSSS(-S), the corresponding boundary sequence is 11110. In the embodiments of the present application, the synchronous boundary sequence is the boundary sequence required for autocorrelation calculation, which is a sub-boundary sequence of the boundary sequence of the training symbol. Correspondingly, the synchronous sequence symbol corresponding to the synchronous boundary sequence is a sub-training symbol of the training symbol. As an optional specific implementation manner, the synchronous boundary sequence is different from other sub-boundary sequences of the boundary sequence of the training symbol, that is, the synchronous boundary sequence is unique, so that there is also a unique peak when performing autocorrelation calculation through the synchronous boundary sequence. For example, if the boundary sequence of the training symbol is 11110, the synchronous boundary sequence can be 1111, 1110 or 110, but not 111. As an optional specific implementation manner, the synchronous boundary sequence is also a sequence composed of 0 and 1, and there is at least one repeating sequence with a phase opposite to that of others in the corresponding synchronous training symbol. For example, if the boundary sequence of the training symbol is 11110100001, the synchronous sequence boundary sequence can be 1110, 1010, 0001, etc., but not 1111 or 0000. The synchronous boundary sequence in the embodiments of the present application is composed of 0 and 1, and there is at least one repeating sequence with a phase opposite to that of others in the corresponding synchronous training symbol, so that it has stronger anti-noise performance for regular noises such as sine waves, so that the autocorrelation peak can be obtained more accurately when performing autocorrelation calculation subsequently. For example, if there is regular interference noise in the received signal, although the interference noise may also be composed of repeating sequences, there generally will not be sequences with opposite phases in its repeating sequences. Therefore, the regular interference noise will not generate an autocorrelation peak in the autocorrelation calculation, and an autocorrelation peak is generated only when the received signal includes a synchronous training symbol, thereby improving the anti-noise performance of the autocorrelation calculation and improving the accuracy and reliability of synchronization.

[0036] S2. Obtain a synchronous autocorrelation value based on the synchronous boundary sequence and the synchronous training symbol, and determine an autocorrelation peak threshold according to the synchronous autocorrelation value.

[0037] Specifically, the following formula is used for calculation to obtain the synchronous autocorrelation value:

[0038] ,

[0039] where represents the autocorrelation calculation result value, that is, the synchronous autocorrelation value; Represents an autocorrelation calculation function, specifically the product of the amplitude of the sampling point k in the training symbol and the amplitude of the corresponding sampling point k - T2. k1 represents the first sampling point in the synchronous training symbol, and k2 represents the last sampling point in the synchronous training symbol; T2 represents the repetition period of the training symbol; Represents the constant value corresponding to the boundary value of the boundary sequence corresponding to the sampling point k. If the boundary value is 1, then it is equal to 1; if the boundary value is 0, then it is equal to -1. For example, for the synchronous training symbol SSSS(-S), the corresponding synchronous boundary sequence is 1110, and the corresponding constant values are 1, 1, 1, -1 respectively. When the phase of the repeating sequence is opposite, the amplitude of the corresponding sampling point will also be opposite, that is, the calculation result of its autocorrelation function will be negative. By multiplying by -1, the negative value is changed to a positive value, so that the corresponding synchronous autocorrelation value is also a peak. It should be noted that both the transmitter and the receiver will pre-store the same known training symbol. The receiver can obtain the synchronous boundary sequence based on the training symbol according to the actual communication requirements; thus, there will be a peak in the autocorrelation calculation based on the synchronous boundary sequence and the synchronous training symbol, that is, the synchronous autocorrelation value is the maximum value calculated synchronously under the synchronous boundary sequence, and it will be greater than the autocorrelation value calculated by the synchronous boundary sequence and other sub-training symbols. In the prior art, the autocorrelation calculation is only based on the training symbol and does not involve the boundary sequence. Therefore, it needs to be selected according to the characteristics of the training symbol, and the limitation is relatively large; while the autocorrelation calculation in this application is based on the synchronous boundary sequence and the synchronous training symbol. As long as the synchronous boundary sequence is unique, the calculated autocorrelation value is the peak, so that the synchronous training symbol can be selected more flexibly, and the anti-noise ability of the autocorrelation synchronization algorithm is improved. For example, if the training symbol is SSSSS(-S), in the traditional method, the synchronous training symbol can only be selected as SSSSS, and the corresponding autocorrelation threshold is also based on the autocorrelation calculation result of this synchronous training symbol; while in this application, the synchronous training symbol can be selected as SSSSS, and the corresponding synchronous boundary sequence is 1111, or it can be selected as SSSS(-S), and the corresponding synchronous boundary sequence is 1110, and the corresponding autocorrelation threshold is also based on the autocorrelation calculation result of the synchronous training symbol and the synchronous boundary sequence.

[0040] In the embodiments of the present application, the autocorrelation peak threshold may be equal to the synchronous autocorrelation value, or may be slightly greater than or less than the synchronous autocorrelation value, and can be fine-tuned according to the actual communication situation. As an optional specific implementation, determining the autocorrelation peak threshold according to the synchronous autocorrelation value includes: performing autocorrelation operations on the sub-boundary sequences adjacent to the synchronous boundary sequence and their corresponding sub-training symbols to obtain adjacent autocorrelation values; obtaining the autocorrelation peak threshold according to the adjacent autocorrelation values and the synchronous autocorrelation value. Specifically, the autocorrelation peak threshold is greater than the adjacent autocorrelation value and less than or equal to the synchronous autocorrelation value. For example, the boundary sequence of the training symbol SSSSS(-S) is 11110. If the synchronous boundary sequence is 1110, its adjacent sub-boundary sequence is 1111, and the corresponding sub-training symbol is SSSSS. In the embodiments of the present application, the autocorrelation peak threshold is obtained according to the adjacent autocorrelation values and the synchronous autocorrelation value, so that the autocorrelation peak can be judged more accurately, and the probability of false synchronization can be reduced.

[0041] S3. Receive a wireless signal.

[0042] Specifically, the wireless signal includes a valid signal and a noise signal. The valid signal is the signal sent by the sending end, and the valid signal includes training symbols. Since the training symbols are composed of multiple repeating sequences, they are repetitive or periodic in the time domain, so they can be identified through autocorrelation calculation. Specifically, when the received signal includes training symbols, through the repeating sequences in the training symbols, the autocorrelation peak can be obtained through autocorrelation calculation. Once the autocorrelation peak is found, the starting position of the signal frame can be determined. It should be noted that the autocorrelation operation refers to an operation that only uses the received signal itself, while the cross-correlation operation refers to an operation that uses the received signal and a locally known signal. In wireless communication of a power line carrier chip, due to reasons such as carrier frequency deviation, the performance of using the cross-correlation operation to estimate the synchronization position is poor. Therefore, the present application adopts the autocorrelation method to estimate the synchronization position.

[0043] S4. Based on the synchronous boundary sequence and a preset time window, perform autocorrelation calculation on the wireless signal to obtain the autocorrelation value at the current moment.

[0044] Specifically, S4 includes:

[0045] Obtain the sampling points of the preset time window corresponding to the current moment according to the sampling points at the current moment, the preset time window, and the wireless signal;

[0046] Perform autocorrelation calculation according to the synchronous boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain the autocorrelation value at the current moment.

[0047] Among them, the preset time window length is equal to the length of the synchronization training symbol, that is, the number of sampling points in the preset time window is equal to the number of sampling points in the synchronization training symbol. For example, if the sampling point at the current moment is b1, then sampling points b2, b3... bn are obtained forward, and the sampling points b1, b2, b3... bn are the sampling points of the preset time window corresponding to the current moment, where n represents the number of sampling points.

[0048] As an optional specific implementation manner, the autocorrelation value at the current moment is calculated by the following formula:

[0049] ,

[0050] where, represents the autocorrelation value at the current moment; represents the autocorrelation calculation function, specifically the product of the amplitude of sampling point t and the amplitude of sampling point t - T2; t1 represents the starting sampling point of the time window corresponding to the current moment, that is, the sampling point at the current moment, and t2 represents the ending sampling point of the preset time window corresponding to the current moment; T2 represents the repetition period of the training symbol; represents the constant value corresponding to the boundary value of the synchronization boundary sequence corresponding to sampling point t. For example, for the synchronization training symbol SSSS(-S), each repeated sequence S consists of 10 sampling points, then the corresponding repetition period T2 of the training symbol is 10 sampling points, and the synchronization training symbol consists of 50 sampling points in total, and the synchronization boundary sequence is 1110; then the sampling points of the time window corresponding to the current moment are also 50 sampling points. The sampling points are divided into groups of 10 each, and each group corresponds to the repeated sequence of the synchronization training symbol. When sampling point t is the sampling point of the first group, that is, among the first 10 sampling points, the corresponding boundary value of the boundary sequence is 0, and the corresponding constant value is -1; when sampling point t is in the second, third, and fourth groups, the corresponding boundary values of the boundary sequence are all 1, and the corresponding constant values are all 1. It should be noted that when the boundary value is 0, it indicates that the repeated sequence phases in the corresponding synchronization training symbol are opposite. By multiplying the corresponding constant value -1, when the received signal includes a matching synchronization training symbol, the calculated autocorrelation value is still the maximum value, that is, the corresponding autocorrelation peak can be generated through autocorrelation calculation, so that the synchronization moment can be accurately judged.

[0051] S5. Compare the autocorrelation value at the current moment with the autocorrelation peak threshold, and judge whether the current moment is the synchronization moment according to the comparison result.

[0052] Specifically, S5 includes:

[0053] If the autocorrelation value at the current moment is greater than or equal to the autocorrelation peak threshold, then the current moment is the synchronization moment. Correspondingly, the sampling point at the current moment is the synchronization position.

[0054] If the autocorrelation value at the current moment is less than the autocorrelation peak threshold, then the current moment is not the synchronization moment. Correspondingly, based on a preset sliding step size, the autocorrelation calculation is performed on the wireless signal corresponding to the next moment to obtain the autocorrelation value at the next moment, and the autocorrelation value at the next moment is compared with the autocorrelation peak threshold until the autocorrelation value at a certain moment is greater than the autocorrelation peak threshold.

[0055] Specifically, the sampling interval between the sampling points at the current moment and the next moment is equal to the preset sliding step size. Further, the period of the training symbol is an integer multiple of the sliding step size, so as to reduce the synchronization error caused by the mismatch of the sliding step size, and thus the synchronization position can be accurately detected within the training symbol.

[0056] The synchronization autocorrelation algorithm of the embodiment of the present application is calculated based on the received wireless signal and the synchronization boundary sequence. Therefore, when there is a corresponding synchronization training symbol in the wireless signal, it can be matched with the synchronization boundary sequence, and the calculated autocorrelation value reaches the maximum value; while other sub-training symbols or other signals that do not match the synchronization boundary sequence will not produce the same peak effect in the autocorrelation calculation because they do not completely match the synchronization boundary sequence. Therefore, the embodiment of the present application calculates the autocorrelation value based on the boundary sequence, and then by comparing the autocorrelation value at the current moment with the preset autocorrelation peak threshold, it can accurately identify whether the wireless signal contains a specific synchronization training symbol, and further determine the synchronization moment.

[0057] Further, the synchronization boundary sequence of the embodiment of the present application is composed of 0 and 1, and the corresponding synchronization training symbol also includes at least one repeated sequence with the opposite phase to others. Therefore, even if there is regular interference noise in the received signal, since the regular interference noise does not have a repeated sequence with the opposite phase, the regular interference noise will not generate an autocorrelation peak in the autocorrelation calculation, and only when the received signal includes a synchronization training symbol will an autocorrelation peak be generated, thereby improving the anti-noise performance of the autocorrelation calculation and improving the accuracy and reliability of synchronization.

[0058] It should be noted that the autocorrelation synchronization algorithm in the prior art usually directly calculates based on the received wireless signal. The limitation of this method is that it requires the selection of specific sub-training symbols, and the selection of sub-training symbols has a large limitation and is easily affected by noise and interference. The synchronization boundary sequence in the embodiment of the present application can reflect the phase relationship between the repeated sequences in the synchronization training symbol. By introducing the synchronization boundary sequence in the autocorrelation calculation, when the received wireless signal matches the boundary sequence, the calculated autocorrelation value will have a peak, so that the synchronization moment can be accurately judged, and the accuracy of synchronization detection is improved. The embodiment of the present application can flexibly select the matching synchronization training symbol according to the boundary sequence, which not only improves the accuracy of synchronization detection but also improves the anti-noise ability of the autocorrelation synchronization algorithm.

[0059] Figure 2 Schematic diagram of the wireless signal synchronization result of the power line carrier chip in a specific embodiment of the present application. As Figure 2 shown, in the figure, P1 represents the received wireless signal, which contains potential training symbols; S represents the repeated sequence of training symbols, X represents ordinary noise signals or other signals; P2 - P5 represent time windows corresponding to different moments, and P6 represents the autocorrelation value curve at different moments. The synchronization training symbol in the figure is SSSSS, and the synchronization boundary sequence is 1111. The corresponding moments in P2 - P5 are A, B, C, and D respectively. It can be seen from the figure that the signal in the time window corresponding to point C matches the synchronization boundary sequence. Therefore, the autocorrelation value calculated based on the synchronization boundary sequence and the signal in the P4 time window is the largest. That is, in the autocorrelation value curve P6, the autocorrelation value at point C is the peak value; there is noise in the signals in the time windows corresponding to points A, B, and D, which do not match the synchronization boundary sequence, and the corresponding autocorrelation calculation results are also significantly different from those at point C. It can be seen from the figure that the synchronization moment can be accurately judged through the autocorrelation algorithm of the synchronization boundary sequence, improving the accuracy and reliability of synchronization.

[0060] Figure 3 Schematic diagram of the wireless signal synchronization result of the power line carrier chip in another specific embodiment of the present application. Figure 3 In it, P1' represents the received wireless signal, which contains potential training symbols and noise signals; S represents the repeated sequence of training symbols, X represents random noise signals or other signals, and X' represents regular interference noise; the dotted line a and the solid line b respectively represent the autocorrelation energies corresponding to the synchronization boundary sequences of 1111 and 1110, that is, the autocorrelation values calculated based on the corresponding synchronization boundary sequences at each moment. It can be seen from the figure that for the dotted line a, that is, when the synchronization boundary sequence is 1111, the corresponding synchronization training symbol is SSSSS, and the matching synchronization moment is point B'. That is, the autocorrelation value calculated from the signal in the time window corresponding to point B' is the peak value. However, when the amplitude difference between the sampling points corresponding to X' and S is very small, the difference in the autocorrelation energy at the moment before point A' and the autocorrelation value energy at point B' is also very small, so the moment before point A' is easily misjudged as the synchronization moment; for the solid line b, that is, when the synchronization boundary sequence is 1110, the corresponding synchronization training symbol bit is SSSS(-S), and the matching synchronization moment is point C'. That is, the autocorrelation value calculated from the signal in the time window corresponding to point C' is the peak value. At this time, even if the amplitude difference between the sampling points corresponding to X' and S is very small, since X' does not have a repeated sequence with the opposite phase, the autocorrelation value at the moment before A' is significantly smaller than the autocorrelation peak value at point C', thus avoiding misjudgment and improving the accuracy and reliability of synchronization.

[0061] In the embodiment of the present application, the autocorrelation algorithm introduces a synchronization boundary sequence based on the feature that the phase of the sampling points of the repeated sequences in the synchronization training symbol is the same or opposite. When there is a synchronization training symbol in the received signal, by introducing the synchronization boundary sequence into the autocorrelation algorithm, the autocorrelation peak can be accurately obtained, so as to accurately determine the synchronization moment. It should be noted that ordinary noise signals are randomly generated and have no regularity in both phase and amplitude. The method of the embodiment of the present application also has strong noise resistance to random noise or noise without regularity, so that the autocorrelation peak can be recognized in a timely and accurate manner.

[0062] Figure 4 FIG. is a schematic diagram of a wireless signal synchronization device for a power line carrier chip provided by an embodiment of the present application. As Figure 4 shown, the synchronization device 400 of the embodiment of the present application includes:

[0063] An acquisition unit 401, configured to obtain a boundary sequence of a training symbol according to the exclusive OR of adjacent repeated sequences in the training symbol, and obtain a synchronization boundary sequence and its corresponding synchronization training symbol according to the boundary sequence of the training symbol.

[0064] A threshold calculation unit 402, configured to obtain a synchronization autocorrelation value based on the synchronization boundary sequence and the synchronization training symbol, and determine an autocorrelation peak threshold according to the synchronization autocorrelation value.

[0065] A receiving unit 403, configured to receive a wireless signal.

[0066] An autocorrelation calculation unit 404, configured to perform autocorrelation calculation on the wireless signal based on the synchronization boundary sequence and a preset time window to obtain an autocorrelation value at the current moment.

[0067] A comparison and judgment unit 405, configured to compare the size of the autocorrelation value at the current moment with the autocorrelation peak threshold, and judge whether the current moment is the synchronization moment according to the comparison result.

[0068] As an optional specific implementation manner, at least one repeated sequence with opposite phase is included in the multiple repeated sequences included in the training symbol.

[0069] As an optional specific implementation manner, the synchronization boundary sequence is a sequence composed of 0 and 1. Correspondingly, the synchronization training symbol includes at least one repeated sequence with opposite phase to others.

[0070] As an optional specific implementation manner, the synchronization boundary sequence is a sub-boundary sequence of the boundary sequence of the training symbol. The synchronization boundary sequence is different from other sub-boundary sequences of the boundary sequence of the training symbol and has uniqueness.

[0071] As an optional specific implementation manner, the following formula is used for autocorrelation calculation to obtain the synchronization autocorrelation value:

[0072] ,

[0073] Among them, represents the autocorrelation calculation result value, that is, the synchronous autocorrelation value; represents the autocorrelation calculation function, specifically the product of the amplitude of the sampling point k in the training symbol and the amplitude of the corresponding sampling point k - T2. k1 represents the first sampling point in the synchronous training symbol, k2 represents the last sampling point in the synchronous training symbol; T2 represents the repetition period of the training symbol; represents the constant value corresponding to the boundary value of the boundary sequence corresponding to the sampling point k.

[0074] As an optional specific implementation manner, determining the autocorrelation peak threshold according to the synchronous autocorrelation value includes: performing autocorrelation operation based on adjacent sub-boundary sequences of the synchronous boundary sequence and their corresponding sub-training symbols to obtain adjacent autocorrelation values; obtaining the autocorrelation peak threshold according to the adjacent autocorrelation values and the synchronous autocorrelation value. Specifically, the autocorrelation peak threshold is greater than the adjacent autocorrelation value and less than the synchronous autocorrelation value.

[0075] As an optional specific implementation manner, performing autocorrelation calculation on the wireless signal based on the synchronous boundary sequence and a preset time window to obtain the autocorrelation value at the current moment includes: obtaining the sampling points of the preset time window corresponding to the current moment according to the sampling point at the current moment, the preset time window, and the wireless signal; performing autocorrelation calculation according to the synchronous boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain the autocorrelation value at the current moment.

[0076] As an optional specific implementation manner, the autocorrelation value at the current moment is calculated by the following formula:

[0077] ,

[0078] Among them, represents the autocorrelation value at the current moment; represents the autocorrelation calculation function, specifically the product of the amplitude of the sampling point t and the amplitude of the sampling point t - T2; t1 represents the starting sampling point of the time window corresponding to the current moment, that is, the sampling point at the current moment, t2 represents the ending sampling point of the preset time window corresponding to the current moment; T2 represents the repetition period of the training symbol; represents the constant value corresponding to the boundary value of the synchronous boundary sequence corresponding to the sampling point t.

[0079] As an optional specific implementation manner, judging whether the current moment is the synchronous moment according to the comparison result includes:

[0080] If the autocorrelation value at the current moment is greater than or equal to the autocorrelation peak threshold, then the current moment is the synchronization moment. Correspondingly, the sampling point at the current moment is the synchronization position.

[0081] If the autocorrelation value at the current moment is less than the autocorrelation peak threshold, then the current moment is not the synchronization moment. Correspondingly, perform autocorrelation calculation on the wireless signal corresponding to the next moment based on a preset sliding step length to obtain the autocorrelation value at the next moment, and compare the autocorrelation value at the next moment with the autocorrelation peak threshold until the autocorrelation value at a certain moment is greater than the autocorrelation peak threshold.

[0082] It should be understood that although Figure 1 the steps in the flowchart are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 1 at least a part of the steps in

[0083] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are executed by the processor of the electronic device, the electronic device can execute the steps in the wireless signal synchronization method of the power line carrier chip based on the junction sequence as described in any of the above embodiments.

[0084] The embodiment of the present application may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium, on which computer-readable program instructions for causing a processor to implement various aspects of the present application are uploaded. In some embodiments, by using the status information of the computer-readable program instructions to customize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present application.

[0085] A computer-readable storage medium may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. A computer-readable storage medium is a tangible device that can hold and store instructions used by an instruction execution device. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the readable storage medium (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punched card or raised structures in a groove storing instructions thereon, and any suitable combination of the above.

[0086] Aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0087] Embodiments of the present application also provide an electronic device. Figure 5 The following shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device 500 includes: one or more processors 501 and a memory 502; computer-executable instructions are stored in the memory 502; the processor 501 is configured to execute the computer-executable instructions to implement the steps in the method for wireless signal synchronization of a power line carrier chip based on a junction sequence in any of the above embodiments.

[0088] The processor 501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0089] The memory 502 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory, etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may run the program instructions to implement the steps in the text recognition method of various embodiments of the present application above and / or other desired functions.

[0090] In one example, the electronic device 500 may further include: an input device and an output device, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown in the figure).

[0091] In addition, the input device may further include, for example, a keyboard, a mouse, a microphone, etc. The output device can output various information to the outside, and may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0092] Of course, for simplicity, Figure 5 only a part of the components related to the present application in the electronic device 500 is shown, and components such as a bus, an input device / output interface, etc. are omitted. In addition, according to specific application scenarios, the electronic device 500 may further include any other appropriate components.

[0093] It should be noted that the method embodiment for wireless signal synchronization of a power carrier chip based on a junction sequence, the device embodiment for wireless signal synchronization of a power carrier chip based on a junction sequence, the computer-readable storage medium embodiment, and the electronic device embodiment provided in the embodiments of the present application belong to the same concept; among the technical features in the technical solutions recorded in each embodiment, they can be arbitrarily combined without conflict.

[0094] It should be understood that the above embodiments are all exemplary and do not cover all possible implementation manners included in the claims. Without departing from the scope of the present disclosure, various deformations and changes can be made on the basis of the above embodiments. Similarly, the technical features of the above embodiments can also be arbitrarily combined to form additional embodiments of the present invention that may not be clearly described. Therefore, the above embodiments only represent several implementation manners of the present invention and do not limit the protection scope of the present invention patent.

Claims

1. A method for synchronizing wireless signals of a power carrier chip based on a boundary sequence, characterized in that: The method comprises: A boundary sequence of the training symbol is obtained according to an XOR of adjacent repeated sequences in the training symbol, and a synchronization boundary sequence and its corresponding synchronization training symbol are obtained according to the boundary sequence of the training symbol; wherein the synchronization boundary sequence is unique, the synchronization boundary sequence is a sub-boundary sequence of the boundary sequence of the training symbol, and the synchronization training symbol is a sub-training symbol of the training symbol; Obtaining a synchronization autocorrelation value based on the synchronization boundary sequence and the synchronization training symbol, and determining an autocorrelation peak threshold according to the synchronization autocorrelation value; Receive wireless signals; Based on the synchronization boundary sequence and the preset time window, the wireless signal is subjected to autocorrelation calculation to obtain the autocorrelation value at the current moment; The autocorrelation value at the current moment is compared with the autocorrelation peak threshold, and whether the current moment is a synchronization moment is determined according to the comparison result.

2. The method for synchronizing wireless signals of a power carrier chip based on a boundary sequence according to claim 1, characterized in that: Comparing the autocorrelation value at the current moment with the autocorrelation peak threshold, and judging whether the current moment is a synchronization moment according to the comparison result, including: If the autocorrelation value at the current moment is greater than or equal to the autocorrelation peak threshold, the current moment is the synchronization moment; If the autocorrelation value at the current moment is less than the autocorrelation peak threshold, the current moment is not a synchronization moment.

3. The method for synchronizing wireless signals of a power carrier chip based on a boundary sequence according to claim 1, characterized in that: Based on the synchronization boundary sequence and the preset time window, the wireless signal is subjected to autocorrelation calculation to obtain the autocorrelation value at the current moment, including: According to the sampling point at the current moment, the preset time window and the wireless signal, obtaining the sampling point of the preset time window corresponding to the current moment; An autocorrelation calculation is performed according to the synchronous boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain the autocorrelation value at the current moment.

4. The method for synchronizing wireless signals of a power carrier chip based on a boundary sequence according to claim 3, characterized in that: The autocorrelation value at the current moment is calculated according to the following formula: , in, Represents the autocorrelation value at the current moment; represents the autocorrelation calculation function, specifically the product of the amplitude of the sampling point t and the amplitude of the sampling point t-T2; t1 represents the starting sampling point of the time window corresponding to the current moment, that is, the sampling point at the current moment, t2 represents the end sampling point of the preset time window corresponding to the current moment; T2 represents the repetition period of the training symbol; Represents the constant value corresponding to the boundary value of the synchronization boundary sequence corresponding to the sampling point t.

5. The method for synchronizing wireless signals of a power carrier chip according to claim 1, characterized in that: The synchronous autocorrelation value is obtained by calculating according to the following formula: , in, Represents the autocorrelation calculation result value, that is, the synchronous autocorrelation value; represents the autocorrelation calculation function, specifically the product of the amplitude of the sampling point k in the training symbol and the amplitude of the corresponding sampling point k-T2, k1 represents the first sampling point in the synchronous training symbol, k2 represents the last sampling point in the synchronous training symbol; T2 represents the repetition period of the training symbol; Represents the constant value corresponding to the boundary value of the synchronization boundary sequence corresponding to sampling point k.

6. A power carrier chip wireless signal synchronization device based on a junction sequence, characterized in that: The device comprises: An acquisition unit is used to obtain a boundary sequence of the training symbol according to an XOR of adjacent repeated sequences in the training symbol, and obtain a synchronization boundary sequence and its corresponding synchronization training symbol according to the boundary sequence of the training symbol; wherein the synchronization boundary sequence is unique, the synchronization boundary sequence is a sub-boundary sequence of the boundary sequence of the training symbol, and the synchronization training symbol is a sub-training symbol of the training symbol; A threshold calculation unit, used for obtaining a synchronization autocorrelation value based on the synchronization boundary sequence and the synchronization training symbol, and determining an autocorrelation peak threshold according to the synchronization autocorrelation value; A receiving unit, used for receiving wireless signals; An autocorrelation calculation unit, configured to perform autocorrelation calculation on the wireless signal based on the synchronization boundary sequence and a preset time window to obtain an autocorrelation value at a current moment; The comparison and judgment unit is used to compare the autocorrelation value at the current moment with the magnitude of the autocorrelation peak threshold, and judge whether the current moment is a synchronization moment according to the comparison result.

7. The power carrier chip wireless signal synchronization device based on the boundary sequence according to claim 6, characterized in that: Comparing the autocorrelation value at the current moment with the autocorrelation peak threshold, and judging whether the current moment is a synchronization moment according to the comparison result, including: If the autocorrelation value at the current moment is greater than or equal to the autocorrelation peak threshold, the current moment is the synchronization moment; If the autocorrelation value at the current moment is less than the autocorrelation peak threshold, the current moment is not a synchronization moment.

8. The power carrier chip wireless signal synchronization device based on the boundary sequence according to claim 6, characterized in that: Based on the synchronization boundary sequence and the preset time window, the wireless signal is subjected to autocorrelation calculation to obtain the autocorrelation value at the current moment, including: According to the sampling point at the current moment, the preset time window and the wireless signal, obtaining the sampling point of the preset time window corresponding to the current moment; An autocorrelation calculation is performed according to the synchronous boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain the autocorrelation value at the current moment.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is enabled to execute the power carrier chip wireless signal synchronization method based on a junction sequence as described in any one of claims 1 to 5 above.

10. An electronic device, characterized in that: The electronic device comprises: processor; memory for storing computer executable instructions; The processor is used to execute the computer executable instructions to implement the power carrier chip wireless signal synchronization method based on the junction sequence as described in any one of claims 1 to 5 above.

Citation Information

Patent Citations

  • Radio signal symbol synchronization method

    CN118555029A

  • Signal synchronization method and device based on OFDM system

    CN119276678A