Wireless Signal Synchronization Method and Device for Power Carrier Chip Based on Dual Matching Mode
By adopting a power carrier chip wireless signal synchronization method based on the dual matching mode in the high-speed power line carrier-high-speed wireless communication system, the junction sequence and judgment threshold are used to perform autocorrelation calculations, the problem of noise interference in signal synchronization is solved, and the accuracy and reliability of synchronization are improved.
Patent Information
- Application Number
- CN202510288406.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-03-12
AI Technical Summary
In high-speed power line carrier-high-speed wireless communication systems, the accuracy of signal synchronization is affected by noise interference, especially regular noise, which leads to false synchronization problems.
Using a power carrier chip wireless signal synchronization method based on the dual matching mode, the border sequence is obtained by training the XOR of adjacent repeating sequences in the symbol, and combined with multiple judgment thresholds, autocorrelation calculation is performed to judge the synchronization time.
It improves the accuracy and reliability of signal synchronization, reduces noise interference, especially regular noise interference, and avoids missync.
Smart Images

Figure CN119789198B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadband power line carrier communication, and particularly to a wireless signal synchronization method and device for a power line carrier chip based on a dual matching mode. Background Art
[0002] In the field of high-speed power line carrier (HPLC) - high-speed wireless communication, the accuracy of signal synchronization is crucial for the stability and reliability of the communication system. However, due to the complexity and variability of the wireless channel transmission path, signals are extremely vulnerable to various noises during transmission. These noises include not only ordinary random noises but also regular noises such as sine waves, and their interference on the synchronization process is particularly significant.
[0003] In the prior art, the synchronization of wireless signals usually relies on autocorrelation calculation methods. However, during the synchronization process, the autocorrelation calculation results of regular noises often significantly exceed those of useful signals, thus misleading the judgment of the synchronization position and causing mis-synchronization problems. Specifically, when the noises in the wireless channel, especially regularly repeating noises, are similar to the autocorrelation characteristics of signals, traditional autocorrelation synchronization estimation methods will be difficult to effectively distinguish signals from noises, resulting in an increase in synchronization errors and further affecting subsequent signal processing and data demodulation. Therefore, how to improve the synchronization accuracy and reduce noise interference, especially the interference of regular noises, in a complex and variable wireless channel environment is an urgent problem to be solved currently. Summary of the Invention
[0004] In view of this, embodiments of the present application provide a wireless signal synchronization method and device for a power line carrier chip based on a dual matching mode to solve at least one problem in the background art.
[0005] In a first aspect, embodiments of the present application provide a wireless signal synchronization method for a power line carrier chip based on a dual matching mode, the method comprising:
[0006] Obtaining a boundary sequence of a training symbol according to the exclusive OR of adjacent repeated sequences in the training symbol, and obtaining a first boundary sequence and its corresponding first training symbol and a second boundary sequence and its corresponding second training symbol according to the boundary sequence of the training symbol;
[0007] Obtaining a first judgment threshold, a second judgment threshold, a first difference threshold and a second difference threshold based on the first boundary sequence, the first training symbol, the second boundary sequence and the second training symbol;
[0008] Receiving a wireless signal;
[0009] Perform autocorrelation calculation on the wireless signal based on the first junction sequence, the second junction sequence, and a preset time window to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment;
[0010] Compare the magnitude of the first synchronization value corresponding to the current moment with the first judgment threshold and the magnitude of the first difference corresponding to the current moment with the first difference threshold, and determine whether the current moment is a 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 dual matching mode. 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 first junction sequence and its corresponding first training symbol and a second junction sequence and its corresponding second training symbol according to the junction sequence of the training symbol;
[0013] A threshold calculation unit, configured to obtain a first judgment threshold, a second judgment threshold, a first difference threshold, and a second difference threshold based on the first junction sequence, the first training symbol, the second junction sequence, and the second training symbol;
[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 first junction sequence, the second junction sequence, and a preset time window to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment;
[0016] A comparison and judgment unit, configured to compare the magnitude of the first synchronization value corresponding to the current moment with the first judgment threshold and the magnitude of the first difference corresponding to the current moment with the first difference threshold, and determine whether the current moment is a synchronization moment according to the comparison result.
[0017] In a third aspect, an embodiment of the present application provides an electronic device. The electronic device includes:
[0018] A processor;
[0019] A memory for storing computer-executable instructions;
[0020] The processor is configured to execute the computer-executable instructions to implement the wireless signal synchronization of the power line carrier chip based on the dual matching mode described in any item of the first aspect above.
[0021] The embodiment of the present application provides a method and device for wireless signal synchronization of a power line carrier chip based on a dual matching mode. This method performs autocorrelation calculation on the received wireless signal based on two different boundary sequences, combines multiple judgment thresholds, and determines whether the current moment is a synchronization moment by comparing the first synchronization value and the first difference corresponding to the current moment with the corresponding thresholds. The method of the embodiment of the present application is based on the difference and characteristic of the matching degree between different boundary sequences and the received signal, so that the synchronization moment can be accurately judged, the false synchronization phenomenon caused by repeated noise is avoided, and the accuracy and reliability of synchronization are improved.
[0022] 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 understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0024] Figure 1 It is a schematic flowchart of a method for wireless signal synchronization of a power line carrier chip based on a dual matching mode provided by an embodiment of the present application;
[0025] Figure 2 It is a schematic diagram of the wireless signal synchronization result of a power line carrier chip based on a dual matching mode in a specific embodiment of the present application;
[0026] Figure 3 It is a schematic diagram of a device for wireless signal synchronization of a power line carrier chip based on a dual matching mode provided by an embodiment of the present application;
[0027] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] 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.
[0029] In an ideal wireless communication system, the local oscillators of the transmitter and the receiver should generate exactly the same frequency to ensure accurate signal transmission and reception. However, in practical applications, due to various factors such as manufacturing differences, temperature changes, and device aging, there are often slight differences in the local oscillator frequencies of the transmitter and the receiver. This difference is called carrier frequency offset. When the signal reaches the receiver, the receiver converts the radio frequency signal into a baseband signal with a lower frequency through the down-conversion process for subsequent processing. During the down-conversion process, the local oscillator signal is multiplied (mixed) with the radio frequency signal, and the baseband signal is obtained through a low-pass filter. If there is a carrier frequency offset, the frequency difference between the local oscillator signal and the radio frequency signal will no longer be zero, resulting in additional "rotation" or "phase change" in the down-converted baseband signal. More importantly, this frequency offset also affects the DC component in the baseband signal. The DC component is the part of the signal with a frequency of zero and usually represents a certain average value or offset of the signal. Under the influence of the carrier frequency offset, the DC component may change from zero frequency to a non-zero frequency, thus becoming a time-varying signal, that is, sine wave noise. The sine wave noise is a repetitive sequence similar to a sine wave, and its frequency is determined by the frequency offset. When the signal power and frequency offset are appropriate or the repetitive noise energy is too large, the autocorrelation calculation result of this repetitive sequence in synchronization will be significantly greater than the result of the training symbols in the signal, causing an error in the synchronization position. This phenomenon is particularly significant when the frequency offset is an integer multiple of the repetition frequency of the training symbols or the repetitive noise energy is too large. To eliminate the false synchronization caused by repetitive noises such as carrier frequency offset and ensure accurate signal transmission and reception, the embodiments of this application provide a wireless signal synchronization method for a power line carrier chip based on a dual matching mode. Figure 1 It is a schematic flowchart of a wireless signal synchronization method for a power line carrier chip based on a dual matching mode provided by an embodiment of this application. As Figure 3 shown, the method includes:
[0030] S10. Obtain the boundary sequence of the training symbol according to the exclusive OR of adjacent repetitive sequences in the training symbol, and obtain the first boundary sequence and its corresponding first training symbol and the second boundary sequence and its corresponding second training symbol according to the boundary sequence of the training symbol.
[0031] Among them, the sampling point interval between the first training symbol and the second training symbol is the first interval. The training symbol is composed of multiple repeating sequences, and each repeating sequence is composed of the same number of sampling points. The phases of the repeating sequences are the same or opposite, that is, the phases of the corresponding sampling points between the repeating sequences are the same or opposite. For example, the training symbol is composed of 6 repeating sequences, denoted as S. Among them, the phase of the last repeating sequence is inverted, denoted as -S. Then the training symbol is SSSSS(-S), where 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 repeating sequences with the same phase (i.e., between S and S) are equal; the amplitudes of the corresponding sampling points between the repeating sequences with opposite phases (i.e., between S and -S) can be equal or not equal, 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. Both the transmitter and the receiver can store the training symbol through internal registers for synchronization detection or channel estimation. The first training symbol and the second training symbol in the embodiments of the present application are both training symbols for synchronization and are sub-training symbols of the training symbol.
[0032] As an optional specific implementation manner, the training symbol includes multiple repeating sequences, and at least one of the repeating sequences has a phase opposite to that of the other repeating sequences, so that the autocorrelation values calculated by different sub-training symbols will change, which is beneficial to the subsequent receiver to judge the synchronization position of the received wireless signal.
[0033] In the embodiments of the present application, the exclusive OR of adjacent repeated sequences refers to the same or opposite phases of adjacent repeated sequences. Specifically, if the phases of adjacent repeated sequences are the same, the corresponding boundary value is 1; if the phases of adjacent repeated 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 repeated sequences in the training symbol. For example, if the training symbol is SSSSS(-S), the corresponding boundary sequence is 11110. In the embodiments of the present application, the first boundary sequence and the second boundary sequence are the boundary sequences required for autocorrelation calculation, and they are both sub-boundary sequences of the boundary sequence of the training symbol. Correspondingly, the first training symbol corresponding to the first boundary sequence and the second training symbol corresponding to the second boundary sequence are both sub-training symbols of the training symbol. As an optional specific implementation manner, the first boundary sequence is different from other sub-boundary sequences, and the second boundary sequence is different from other sub-boundary sequences, that is, both the first boundary sequence and the second boundary sequence are unique, and the first boundary sequence and the second boundary sequence are different. Therefore, when the received signal includes a matching training symbol, corresponding peaks will appear in the autocorrelation calculation, which is convenient for synchronization judgment. For example, if the boundary sequence of the training symbol SSSS(-S)SSS(-S) is 11100110, the first boundary sequence and the second boundary sequence can be 1110 and 1100, or 1001 and 0110, etc. As an optional specific implementation manner, the lengths of the first boundary sequence and the second boundary sequence are the same, which is convenient for subsequent comparison of autocorrelation values; correspondingly, the number of sampling points of the first training symbol and the number of sampling points of the second training symbol are also the same. It should be noted that there will be an overlapping part between the first training symbol and the second training symbol. According to the sending order of the transmitting end, the time when all sampling points of the second training symbol are sent ends earlier than the time when all sampling points of the first training symbol are sent ends, that is, for the receiver, the second training symbol is received first, and then the first training symbol is received. In the embodiments of the present application, the sampling point interval between the first training symbol and the second training symbol is the first interval, that is, the interval between the sampling points in the first training symbol and the corresponding sampling points in the second training symbol is equal to the first interval. If the first interval is T sampling points, the interval between each sampling point in the first training symbol and the corresponding sampling point in the second training symbol is T sampling points. For example, if the boundary sequence of the training symbol SSSS(-S)SSS(-S) is 11100110, the first boundary sequence and the second boundary sequence can be 1110 and 1001, the corresponding first training symbol is SSSS(-S), the second training symbol is SS(-S)SS, and if the repeated sequence S is 10 sampling points, the corresponding first interval is 20 sampling points. It should be noted that since the first training symbol and the second training symbol are determined according to the boundary sequence, the first interval is an integer multiple of the number of sampling points in the repeated sequence.
[0034] S20. Obtain a first judgment threshold, a second judgment threshold, a first difference threshold, and a second difference threshold based on the first junction sequence, the first training symbol, the second junction sequence, and the second training symbol.
[0035] Specifically, S20 includes:
[0036] Perform autocorrelation calculation based on the first junction sequence and the first training symbol to obtain a first autocorrelation value;
[0037] Perform autocorrelation calculation based on the second junction sequence and the first training symbol to obtain a second autocorrelation value;
[0038] Perform autocorrelation calculation based on the second junction sequence and the second training symbol to obtain a third autocorrelation value;
[0039] Perform autocorrelation calculation based on the first junction sequence and the second training symbol to obtain a fourth autocorrelation value;
[0040] Obtain a first judgment threshold, a second judgment threshold, a first difference threshold, and a second difference threshold based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value.
[0041] Specifically, perform autocorrelation calculation according to the following formula to obtain the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value:
[0042] ,
[0043] Wherein, represents the autocorrelation calculation result value, that is, is the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, or the fourth 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 synchronization training symbol, k2 represents the last sampling point in the synchronization training symbol, where the synchronization training symbol is the first training symbol or the second training symbol; T2 represents the repetition period of the training symbol; represents the constant value corresponding to the junction value of the junction sequence corresponding to the sampling point k. If the junction value is 1, then is equal to 1; if the junction value is 0, then Equal to -1. For example, for the training symbol SSSS(-S), the corresponding boundary sequence is 1110, and the corresponding constant values are 1, 1, 1, -1 respectively. When the phase of the repeated 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 autocorrelation value is still a peak. It should be noted that both the transmitter and the receiver will pre-store the same known training symbol, and the receiver can obtain the first boundary sequence and the second boundary sequence based on the training symbol according to the actual communication requirements; thus, a peak will only appear when calculating the autocorrelation between the boundary sequence and the matching training symbol. For example, a peak will only appear when calculating the autocorrelation between the first boundary sequence and the first training symbol. If the first boundary sequence and other sub-training symbols, or the first training symbol and other sub-boundary sequences are used for autocorrelation calculation, no peak will appear. In the prior art, the autocorrelation calculation is only based on the training symbol and does not involve the boundary sequence. Therefore, it is necessary to select according to the characteristics of the training symbol, and the limitation is relatively large; while in this application, the autocorrelation calculation is based on the sub-training symbols corresponding to two boundary sequences. As long as the sub-boundary sequence is unique, the corresponding calculated autocorrelation value is the only peak, so that the sub-training symbol can be selected more flexibly, and the anti-noise ability of the autocorrelation synchronization algorithm is improved.
[0044] In the embodiment of the present application, the first judgment threshold is obtained according to the first autocorrelation value, the second judgment threshold is obtained according to the third autocorrelation value, the first difference threshold is obtained according to the difference between the second autocorrelation value and the first autocorrelation value, and the second difference threshold is obtained according to the difference between the third autocorrelation value and the fourth autocorrelation value. The specific sizes of each threshold are determined according to the actual communication protocol and communication situation. As an optional specific implementation manner, based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value, the first judgment threshold, the second judgment threshold, the first difference threshold, and the second difference threshold are obtained, including: the first judgment threshold is equal to the first autocorrelation value; the second judgment threshold is equal to the third autocorrelation value; the first difference threshold is equal to the difference between the second autocorrelation value and the first autocorrelation value; the second difference threshold is equal to the difference between the third autocorrelation value and the fourth autocorrelation value. In the embodiment of the present application, through two different boundary sequences, the theoretically synchronous energy peak positions and relative sizes of these two boundary sequences can be used, so that the first judgment threshold, the second judgment threshold, the first difference threshold, and the second difference threshold for judging the peak can be obtained, which is convenient for the receiver to judge the synchronization position according to the autocorrelation result calculated by the boundary sequence. It should be noted that an autocorrelation calculation based on the boundary sequence and its matching training symbol can obtain a peak. Therefore, the first autocorrelation value calculated based on the first boundary sequence is greater than the second autocorrelation value, and the third autocorrelation value calculated based on the second boundary sequence is greater than the fourth autocorrelation value. Correspondingly, the first difference threshold is less than zero, and the second difference threshold is greater than zero.
[0045] S30. Receive a wireless signal.
[0046] Specifically, the wireless beacon includes a valid signal and a noise signal. The valid signal is the signal sent by the transmitting end. 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, and thus 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.
[0047] S40. Based on the first boundary sequence, the second boundary sequence, and a preset time window, perform an autocorrelation calculation on the wireless signal to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment.
[0048] Wherein, the first difference corresponding to the current moment is the difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment.
[0049] Specifically, S40 includes: obtaining the sampling points of the preset time window corresponding to the current moment according to the sampling points of the current moment, the preset time window, and the wireless signal; performing an autocorrelation calculation on the sampling points of the preset time window corresponding to the current moment based on the first boundary sequence and the second boundary to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment. It should be noted that the sampling points of the preset time window corresponding to the current moment are the wireless signals that need to be autocorrelated corresponding to the current moment; the number of sampling points of the preset time window is equal to the number of sampling points of the first training symbol; obtaining the sampling points of the preset time window corresponding to the current moment is to obtain forward from the sampling points of the current moment until the number of sampling points of the preset time window is obtained. For example, if the sampling point at the current moment is b1, then the sampling points b2, b3... bn are obtained forward. The sampling points b1, b2, b3... bn are the sampling points of the preset time window corresponding to the current moment, and n represents the number of sampling points.
[0050] As an optional specific implementation manner, performing an autocorrelation calculation based on the first boundary sequence, the second boundary, and the sampling points of the preset time window corresponding to the current moment to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment includes:
[0051] Performing an autocorrelation calculation according to the first boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain a first synchronization value corresponding to the current moment;
[0052] Perform autocorrelation calculation based on the second boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain the second synchronization value corresponding to the current moment;
[0053] Calculate the difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment to obtain the first difference corresponding to the current moment.
[0054] As an optional specific implementation manner, perform autocorrelation calculation through the following formula to obtain the first synchronization value or the second synchronization value corresponding to the current moment:
[0055] ,
[0056] where, represents the first synchronization value or the second synchronization value corresponding to 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, and the value range of t is from t1 to t2 + T2; t1 represents the starting sampling point among the sampling points of the preset time window corresponding to the current moment, that is, the sampling point at the current moment, and t2 represents the ending sampling point among the sampling points 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 boundary sequence corresponding to the sampling point t. For example, the first boundary sequence is 1110, the second boundary sequence is 1001, the repetition period of the training symbol is 10 sampling points, then the number of sampling points of the corresponding first training symbol and the second training symbol is both 50 sampling points, and the sampling points of the preset time window are also 50 sampling points. Divide the sampling points of the preset time window into groups of 10 each, and divide them into the first group to the fifth group in chronological order. The first group includes the sampling point at the current moment; when calculating the first synchronization value, the corresponding boundary sequence is 1110, then when the sampling point t is the sampling point of the first group, the corresponding boundary value is 0, and the corresponding constant value is -1, and the corresponding value is -1. When the sampling point t is the sampling point of the subsequent groups, the corresponding boundary values are all 1, and the corresponding constant values are 1, and the corresponding value is 1; when calculating the second synchronization value, the corresponding boundary sequence is 1001, then when the sampling point t is the sampling point of the first group, the corresponding boundary value is 1, and the corresponding constant value is 1, and the corresponding value is 1. When the sampling points are the sampling points of the second group, the third group, and the fourth group respectively, the corresponding boundary values are 0, 0, and 1 respectively, and the corresponding constant values are -1, -1, and 1 respectively, so that the corresponding corresponding values can be determined to be -1, -1, and 1 respectively.
[0057] S50. Compare the magnitude of the first synchronization value corresponding to the current moment with the first judgment threshold and the magnitude of the first difference corresponding to the current moment with the first difference threshold, and determine whether the current moment is a synchronization moment according to the comparison result.
[0058] As an optional specific implementation manner, S50 includes:
[0059] If the first synchronization value corresponding to the current moment is less than the first judgment threshold, or the first difference corresponding to the current moment is greater than the first difference threshold, then the current moment is not a synchronization moment.
[0060] The first judgment threshold is a threshold obtained according to the autocorrelation calculation result of the first boundary sequence and the first training symbol. If the first synchronization value corresponding to the current moment is less than the first judgment threshold, it indicates that the first synchronization value is not the autocorrelation peak, so it is determined that the current moment is not a synchronization moment. Correspondingly, the sampling point at the current moment is not the synchronization position. The first difference reflects the difference in the matching degree between the received signal and the two boundary sequences; when the first difference is greater than the first difference threshold, it means that there is no significant difference between the autocorrelation value calculated based on the mismatched second boundary sequence and the autocorrelation value calculated based on the matched first boundary sequence, that is, it means that even if there is an autocorrelation peak at the current moment, this peak is likely to be a false synchronization peak caused by noise, interference or other factors. In the embodiments of the present application, based on the difference and characteristic of the matching degree between different boundary sequences and the received signal, it is possible to determine whether the current moment is a synchronization moment according to the magnitude of the first synchronization value and the first judgment threshold and the magnitude of the first difference and the first difference threshold, improving the accuracy and reliability of the synchronization moment judgment.
[0061] As an optional specific implementation manner, S50 further includes:
[0062] If the first synchronization value corresponding to the current moment is greater than or equal to the first judgment threshold, and the first difference corresponding to the sampling point at the current moment is less than or equal to the first difference threshold, then compare the magnitude of the second synchronization value corresponding to the second moment with the second judgment threshold and the magnitude of the first difference corresponding to the second moment with the second difference threshold, and determine whether the current moment is the synchronization position according to the comparison result.
[0063] Among them, the second moment is a moment before the current moment. The sampling point interval between the sampling points of the preset time window corresponding to the second moment and the sampling points of the preset time window corresponding to the current moment is equal to the first interval, that is, the sampling point interval corresponding to the second moment and the current moment is equal to the sampling point interval corresponding to the second training symbol and the first training symbol. The first difference corresponding to the second moment is the difference between the second synchronization value corresponding to the second moment and the first synchronization value corresponding to the second moment. In the embodiments of the present application, if the current moment meets the condition, it is determined whether the second moment meets the condition, so as to double verify whether the current moment is a true synchronization moment through two moments. For example, if the sampling points of the preset window corresponding to the current moment match the first boundary sequence, it is determined whether the sampling points of the preset window corresponding to the second moment match the second boundary sequence. If they match, the current moment is a synchronization moment. Among them, since there is also a sampling point interval between the first training symbol corresponding to the first boundary sequence and the second training symbol corresponding to the second boundary sequence, there is also the same sampling point interval between the second moment and the first moment, so that it can be determined whether they match by comparing with the corresponding threshold value.
[0064] As an optional specific implementation manner, comparing the magnitude of the second synchronization value corresponding to the second moment with the second judgment threshold and the magnitude of the first difference corresponding to the second moment with the second difference threshold, and determining whether the current moment is a synchronization position according to the comparison result, includes:
[0065] If the second synchronization value corresponding to the second moment is greater than or equal to the second judgment threshold, and the first difference corresponding to the second moment is greater than or equal to the second difference threshold, then the current moment is a synchronization moment.
[0066] Specifically, if the current moment is a synchronization moment, then the sampling point of the current moment is the synchronization position. In the embodiments of the present application, when the first synchronization value corresponding to the current moment is greater than or equal to the first judgment threshold, and the first difference corresponding to the sampling point of the current moment is less than or equal to the first difference threshold, by comparing the magnitude of the second synchronization value corresponding to the second moment with the second judgment threshold and the magnitude of the first difference corresponding to the second moment with the second difference threshold, it is possible to more accurately determine whether the current moment is a synchronization moment. Two different boundary sequences correspond to two different moments, so that double verification can be performed according to the matching situation, greatly improving the accuracy and reliability of synchronization. The embodiments of the present application perform autocorrelation calculation based on two different boundary sequences, and then through the signals that match at different moments corresponding to the two different boundary sequences, so that double verification can be performed according to the comparison results of the two different moments, thereby determining the accurate synchronization moment, and further improving the accuracy and reliability of synchronization.
[0067] It should be noted that the first difference threshold is less than zero, and the second difference threshold is greater than zero. In the implementation of this application, there are two corresponding autocorrelation peaks for two different boundary sequences. At the same time, the first difference corresponding to two different moments will also change from positive to negative. Therefore, the synchronization moment can be verified according to the characteristics of the autocorrelation peak and the difference, so as to avoid the mis-synchronization phenomenon caused by other repetitive noises and improve the accuracy and reliability of synchronization.
[0068] As an optional specific implementation manner, compare the magnitude of the second synchronization value corresponding to the second moment with the second judgment threshold and the magnitude of the first difference corresponding to the second moment with the second difference threshold, and determine whether the current moment is the synchronization position according to the comparison result. It further includes:
[0069] If the second synchronization value corresponding to the second moment is less than the second judgment threshold, or the first difference corresponding to the second moment is less than the second difference threshold, then the current moment is not the synchronization moment.
[0070] As an optional specific implementation manner, if the current moment is not the synchronization moment, then save the second synchronization value and the first difference corresponding to the current moment.
[0071] As an optional specific implementation manner, if the current moment is not the synchronization moment, then perform autocorrelation calculation on the wireless signal corresponding to the next moment based on a preset sliding step length, and judge whether the next moment is the synchronization moment until it is determined that a certain moment is the synchronization moment. Specifically, the sampling interval between the sampling points of the current moment and the next moment is equal to the preset sliding step length. Further, the period of the training symbol is an integer multiple of the sliding step length, so as to reduce the synchronization error caused by the mismatch of the sliding step length, and thus accurately detect the synchronization position within the training symbol.
[0072] When there is sinusoidal noise caused by carrier frequency offset in the signal, the periodic and repetitive characteristics of the sinusoidal noise will generate false synchronization peaks in the autocorrelation calculation. The autocorrelation calculation result of the sinusoidal noise may be confused with the autocorrelation peak of the training symbol, resulting in incorrect determination of the synchronization position, and further affecting the performance and reliability of the entire communication system. The embodiment of the present application performs autocorrelation calculation on the received wireless signal based on two different boundary sequences, and combines multiple judgment thresholds. When the autocorrelation values and differences at two different times both meet the conditions, the current time is confirmed as the synchronization time. The method of the embodiment of the present application performs double verification through the matching degree between two different boundary sequences and the signals at two corresponding different times, reduces the false synchronization caused by repetitive noise, and improves the accuracy and reliability of synchronization. Specifically, repetitive noise caused by carrier frequency offset, such as sinusoidal noise, although it may generate a relatively high autocorrelation value at certain times, due to its periodic and repetitive characteristics, it is difficult to meet the autocorrelation peak and difference conditions at two different times corresponding to two different boundary sequences. In contrast, the embodiment of the present application performs autocorrelation calculation based on two different boundary sequences. The true synchronization position can generate significant autocorrelation peaks at two corresponding different times and meet the corresponding difference conditions, so that the noise can be distinguished from the synchronization signal, and the accuracy and reliability of synchronization are improved.
[0073] Figure 2 Schematic diagram of the wireless signal synchronization result of the power line carrier chip based on the dual matching mode in a specific embodiment of the present application. Figure 2 In the figure, P1’ represents the received wireless signal, which includes potential training symbols and repetitive noise caused by carrier frequency offset; S represents the repeated sequence of the training symbol, X represents the random noise signal or other signals, and X’ represents the repetitive noise caused by carrier frequency offset; P2’ represents the autocorrelation value calculated based on different boundary sequences. Among them, the dotted line a and the solid line b respectively represent the autocorrelation energy corresponding to the 1110 and 1111 boundary sequences, that is, the autocorrelation value calculated based on the corresponding boundary sequence at each moment, which are respectively denoted as L and E; P3’ represents the difference between the autocorrelation energy corresponding to 1110 minus the autocorrelation energy corresponding to 1111, denoted as D, that is, D = L - E; T1’-T5’ represent different time regions. T1’-T5’ are in chronological order, and T1’ is the time region before T5’. It can be seen from the figure that the training symbol is SSSSS(-S), the corresponding boundary sequence is 11110, and both 1110 and 1111 are sub-boundary sequences of the boundary sequence. The interval between the sampling points in the training symbol corresponding to 1110 and the sampling points in the training symbol corresponding to 1111 is the first interval. Figure 2 In the figure, the first interval is equal to the repetition period T2 of the training symbol. It should be noted that Figure 2 In the figure, 1110 is the first boundary sequence, 1111 is the second boundary sequence. Correspondingly, L represents the first synchronization value, and E represents the second synchronization value.
[0074] In the T1' region, E and L are affected by frequency offset repetitive noise and will have relatively large values. Moreover, since the matching between 1111 and the repetitive noise is better, E is greater than L. Correspondingly, D is greater than zero, and D shows a relatively stable positive value. It should be noted that since the amplitude of the frequency offset repetitive noise is significantly greater than the amplitude of the training symbols, for the boundary sequences 1111 and 1110, both E and L in the T1' region are greater than the autocorrelation peak values corresponding to the matching of the corresponding boundary sequences. If the autocorrelation peak is judged only based on the threshold corresponding to the autocorrelation peak, it is easy to generate misjudgments in the T1' region.
[0075] In the T2' region, the training symbols in the valid signal arrive. Since the patterns of the training symbols and the frequency offset repetitive noise are different, E and L decrease significantly.
[0076] In the T3' region, synchronization proceeds normally, and both E and L show normal trends. At this signal power, since the amplitude of the frequency offset repetitive noise is relatively large, E and L do not increase significantly compared to those in the T1' region. By comparing the values of E and L corresponding to T3' and T1', it can be seen that the frequency offset repetitive noise has a greater impact on the autocorrelation value. If the synchronization position is determined only by the autocorrelation peak, an autocorrelation peak is likely to appear in the T1' time period, leading to the occurrence of false synchronization.
[0077] In the T4' region, first E reaches its peak. At this time, E is in the best match, while L is not in the best match, so E must be greater than L. Then, after a repetition period of a training symbol, L reaches its peak. At this time, L is in the best match, while E is not in the best match, so L must be greater than E. Therefore, in the T4' time period, D shows a trend of being positive first and then negative, and this trend has obvious characteristics and is easy to distinguish from the frequency offset repetitive noise. Specifically, at the time point corresponding to comparison 2, L is in the best match. At this time, the 1110 boundary sequence is in the best match, and the corresponding L exceeds the first judgment threshold, and D is less than the first difference threshold. That is, an autocorrelation peak appears in the dashed line a, and a trough appears in P3'. At this time, it indicates that the time point corresponding to comparison 2 may be the synchronization moment. Then, further judge the time point corresponding to the best match of the 1111 boundary sequence, that is, the time point corresponding to comparison 1. In comparison 1, E is in the best match, and the corresponding E exceeds the second judgment threshold, and D is greater than the first difference threshold. That is, an autocorrelation peak appears in the solid line b, and a peak also appears in P3'. Only at this time can it be judged that the time point corresponding to comparison 2 is the synchronization moment. Figure 2In this case, by first determining whether the first synchronization value (i.e., the L value corresponding to the dashed line a) and the first difference value at the time point corresponding to comparison 2 meet the conditions, and then determining whether the second synchronization value (i.e., the E value corresponding to the solid line b) and the first difference value at the time point before another repetition period and corresponding to comparison 1 meet the conditions, it is possible to accurately determine whether the time point corresponding to comparison 2 is a synchronization moment. In the embodiments of the present application, by calculating the autocorrelation value and the corresponding difference value based on two different boundary sequences, according to the matching relationship between the actually received signal and the two different boundary sequences, it is possible to clearly distinguish from the characteristics of the frequency offset repetition noise, enhance the anti-noise performance, and improve the accuracy and reliability of synchronization.
[0078] Figure 3 FIG. is a schematic diagram of a wireless signal synchronization device for a power line carrier chip based on a dual matching mode provided by an embodiment of the present application. As Figure 3 shown, the synchronization device 300 includes:
[0079] An acquisition unit 301, configured to obtain the boundary sequence of the training symbol according to the exclusive OR of adjacent repeated sequences in the training symbol, and obtain the first boundary sequence and its corresponding first training symbol and the second boundary sequence and its corresponding second training symbol according to the boundary sequence of the training symbol; wherein, the sampling point interval between the first training symbol and the second training symbol is the first interval.
[0080] A threshold calculation unit 302, configured to obtain a first judgment threshold, a second judgment threshold, a first difference threshold, and a second difference threshold based on the first boundary sequence, the first training symbol, the second boundary sequence, and the second training symbol.
[0081] A receiving unit 303, configured to receive a wireless signal.
[0082] An autocorrelation calculation unit 304, configured to perform autocorrelation calculation on the wireless signal based on the first boundary sequence, the second boundary sequence, and a preset time window, and obtain a first synchronization value, a second synchronization value, and a first difference value corresponding to the current moment; the first difference value corresponding to the current moment is the difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment.
[0083] A comparison and judgment unit 305, configured to compare the magnitude of the first synchronization value corresponding to the current moment with the first judgment threshold and the magnitude of the first difference value corresponding to the current moment with the first difference threshold, and determine whether the current moment is a synchronization moment according to the comparison result.
[0084] As an optional specific implementation manner, obtaining the first judgment threshold, the second judgment threshold, the first difference threshold, and the second difference threshold based on the first boundary sequence, the first training symbol, the second boundary sequence, and the second training symbol includes:
[0085] Perform autocorrelation calculation based on the first junction sequence and the first training symbol to obtain the first autocorrelation value;
[0086] Perform autocorrelation calculation based on the second junction sequence and the first training symbol to obtain the second autocorrelation value;
[0087] Perform autocorrelation calculation based on the second junction sequence and the second training symbol to obtain the third autocorrelation value;
[0088] Perform autocorrelation calculation based on the first junction sequence and the second training symbol to obtain the fourth autocorrelation value;
[0089] Based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value, obtain the first judgment threshold, the second judgment threshold, the first difference threshold, and the second difference threshold.
[0090] As an optional specific implementation manner, perform autocorrelation calculation according to the following formula to obtain the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value:
[0091] ,
[0092] wherein, represents the autocorrelation calculation result value, that is, is the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, or the fourth 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 synchronization training symbol, k2 represents the last sampling point in the synchronization training symbol, where the synchronization training symbol is the first training symbol or the second training symbol; T2 represents the repetition period of the training symbol; represents the constant value corresponding to the junction value of the junction sequence corresponding to the sampling point k.
[0093] As an optional specific implementation manner, based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value, and the fourth autocorrelation value, obtain the first judgment threshold, the second judgment threshold, the first difference threshold, and the second difference threshold, including: the first judgment threshold is equal to the first autocorrelation value; the second judgment threshold is equal to the third autocorrelation value; the first difference threshold is equal to the difference between the second autocorrelation value and the first autocorrelation value; the second difference threshold is equal to the difference between the third autocorrelation value and the fourth autocorrelation value.
[0094] As an optional specific implementation manner, based on the first junction sequence, the second junction sequence, and a preset time window, perform autocorrelation calculation on the wireless signal to obtain a first synchronization value, a second synchronization value, and a first difference corresponding to the current moment, including: obtaining 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; performing autocorrelation calculation on the sampling points of the preset time window corresponding to the current moment based on the first junction sequence and the second junction to obtain the first synchronization value, the second synchronization value, and the first difference corresponding to the current moment.
[0095] As an optional specific implementation manner, perform autocorrelation calculation based on the first junction sequence, the second junction, and the sampling points of the preset time window corresponding to the current moment to obtain the first synchronization value, the second synchronization value, and the first difference corresponding to the current moment, including:
[0096] Perform autocorrelation calculation according to the first junction sequence and the sampling points of the preset time window corresponding to the current moment to obtain the first synchronization value corresponding to the current moment;
[0097] Perform autocorrelation calculation according to the second junction sequence and the sampling points of the preset time window corresponding to the current moment to obtain the second synchronization value corresponding to the current moment;
[0098] Calculate the difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment to obtain the first difference corresponding to the current moment.
[0099] As an optional specific implementation manner, perform autocorrelation calculation through the following formula to obtain the first synchronization value and the second synchronization value corresponding to the current moment:
[0100] ,
[0101] where, represents the first synchronization value or the second synchronization value corresponding to 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, and the value range of t is from t1 to t2 + T2; t1 represents the starting sampling point among the sampling points of the preset time window corresponding to the current moment, that is, the sampling point at the current moment, t2 represents the ending sampling point among the sampling points 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 junction value of the junction sequence corresponding to sampling point t.
[0102] As an optional specific implementation manner, compare the magnitude of the first synchronization value corresponding to the current moment with the first judgment threshold and the magnitude of the first difference corresponding to the current moment with the first difference threshold, and determine whether the current moment is a synchronization moment according to the comparison result, including:
[0103] If the first synchronization value corresponding to the current moment is less than the first judgment threshold, or the first difference corresponding to the current moment is greater than the first difference threshold, then the current moment is not a synchronization moment.
[0104] As an optional specific implementation manner, comparing the size of the first synchronization value corresponding to the current moment with the first judgment threshold and the size of the first difference corresponding to the current moment with the first difference threshold, and determining whether the current moment is a synchronization moment according to the comparison result further includes:
[0105] If the first synchronization value corresponding to the current moment is greater than or equal to the first judgment threshold, and the first difference corresponding to the sampling point at the current moment is less than or equal to the first difference threshold, then compare the size of the second synchronization value corresponding to the second moment with the second judgment threshold and the size of the first difference corresponding to the second moment with the second difference threshold, and determine whether the current moment is a synchronization position according to the comparison result.
[0106] As an optional specific implementation manner, comparing the size of the second synchronization value corresponding to the second moment with the second judgment threshold and the size of the first difference corresponding to the second moment with the second difference threshold, and determining whether the current moment is a synchronization position according to the comparison result includes:
[0107] If the second synchronization value corresponding to the second moment is greater than or equal to the second judgment threshold, and the first difference corresponding to the second moment is greater than or equal to the second difference threshold, then the current moment is a synchronization moment.
[0108] It should be understood that although Figure 1 the steps in the flowchart of Figure 1 are shown in sequence according to the indication of the arrows, these steps do not necessarily need to be executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order restriction, and these steps can be executed in other orders. Moreover,
[0109] At least a part of the steps in
[0110] This application embodiment also 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 steps in the wireless signal synchronization method of the power line carrier chip based on the dual matching mode as described in any of the above embodiments.Embodiments 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 having thereon computer-readable program instructions for causing a processor to implement various aspects of the present application. In some embodiments, by utilizing 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 may execute the computer-readable program instructions to implement various aspects of the present application.
[0111] The computer-readable storage medium may employ 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 retain and store instructions for use 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 foregoing. 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 disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanically encoded device such as a punch card or raised structures in grooves having instructions stored thereon, and any suitable combination of the foregoing.
[0112] Aspects of the present application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0113] Embodiments of the present application also provide an electronic device. Figure 4 The following is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device 400 includes: one or more processors 401 and a memory 402; computer-executable instructions are stored in the memory 402; the processor 401 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 dual matching mode as described in any of the foregoing embodiments.
[0114] The processor 401 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0115] The memory 402 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, random access memory (RAM) and / or cache memory, etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage media, and the processor 401 may run the program instructions to implement the steps in the text recognition method of the various embodiments of the present application above and / or other desired functions.
[0116] In one example, the electronic device 400 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).
[0117] In addition, the input device may further include, for example, a keyboard, a mouse, a microphone, etc. The output device may 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.
[0118] Of course, for simplicity, Figure 4 only a part of the components related to the present application in the electronic device 400 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 400 may further include any other appropriate components.
[0119] It should be noted that the embodiments of the wireless signal synchronization method for a power line carrier chip based on a dual matching mode, the embodiments of the wireless signal synchronization device for a power line carrier chip based on a dual matching mode, the embodiments of the computer-readable storage medium, and the embodiments of the electronic device 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 combined arbitrarily without conflict.
[0120] 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 also be made based on the above embodiments. Similarly, the various technical features of the above embodiments can be combined arbitrarily to form additional embodiments of the present invention that may not be explicitly 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 dual matching mode, characterized in that: The method comprises: Obtain a boundary sequence of training symbols according to an exclusive OR of adjacent repeated sequences in the training symbols, and obtain a first boundary sequence and its corresponding first training symbol and a second boundary sequence and its corresponding second training symbol according to the boundary sequence of the training symbols; Performing autocorrelation calculation based on the first boundary sequence and the first training symbol to obtain a first autocorrelation value; performing autocorrelation calculation based on the second boundary sequence and the first training symbol to obtain a second autocorrelation value; performing autocorrelation calculation based on the second boundary sequence and the second training symbol to obtain a third autocorrelation value; performing autocorrelation calculation based on the first boundary sequence and the second training symbol to obtain a fourth autocorrelation value; obtaining a first judgment threshold value based on the first autocorrelation value, obtaining a second judgment threshold value based on the third autocorrelation value, obtaining a first difference threshold value based on a difference between the second autocorrelation value and the first autocorrelation value, and obtaining a second difference threshold value based on a difference between the third autocorrelation value and the fourth autocorrelation value; Receive wireless signals; Based on the first boundary sequence, the second boundary sequence and the preset time window, the wireless signal is autocorrelatedly calculated to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to the current moment; If the first synchronization value corresponding to the current moment is less than the first judgment threshold, or the first difference value corresponding to the current moment is greater than the first difference threshold, the current moment is not a synchronization moment; If the first synchronization value corresponding to the current moment is greater than or equal to the first judgment threshold, and the first difference corresponding to the current moment is less than or equal to the first difference threshold, then compare the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference corresponding to the second moment with the second difference threshold, and determine whether the current moment is a synchronization moment according to the comparison result; wherein the second moment is a moment before the current moment; If the second synchronization value corresponding to the second moment is greater than or equal to the second judgment threshold, and the first difference corresponding to the second moment is greater than or equal to the second difference threshold, the current moment is the synchronization moment.
2. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 1, characterized in that: Based on the first boundary sequence, the second boundary sequence and the preset time window, the wireless signal is autocorrelatedly calculated to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to 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; Based on the first boundary sequence, the second boundary sequence and the sampling points of the preset time window corresponding to the current moment, autocorrelation calculation is performed to obtain the first synchronization value, the second synchronization value and the first difference value corresponding to the current moment.
3. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 2, characterized in that: Based on the first boundary sequence and the second boundary sequence, an autocorrelation calculation is performed on the sampling points of the preset time window corresponding to the current moment to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to the current moment, including: Perform autocorrelation calculation according to the first boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain a first synchronization value corresponding to the current moment; Perform autocorrelation calculation according to the second boundary sequence and the sampling points of the preset time window corresponding to the current moment to obtain a second synchronization value corresponding to the current moment; The difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment is calculated to obtain a first difference corresponding to the current moment.
4. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode as claimed in claim 3, characterized in that: The autocorrelation calculation is performed using the following formula to obtain the first synchronization value or the second synchronization value corresponding to the current moment: , in, Indicates the first synchronization value or the second synchronization value corresponding to 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, the value range of t is t1 to t2+T2; t1 represents the starting sampling point in the sampling points of the preset time window corresponding to the current moment, that is, the sampling point at the current moment, t2 represents the ending sampling point in the sampling points 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 boundary sequence corresponding to the sampling point t.
5. A power carrier chip wireless signal synchronization device based on a dual matching mode, characterized in that: The device comprises: an acquisition unit, configured to obtain a boundary sequence of training symbols according to an exclusive OR of adjacent repeated sequences in the training symbols, and obtain a first boundary sequence and its corresponding first training symbol and a second boundary sequence and its corresponding second training symbol according to the boundary sequence of the training symbols; wherein the sampling point interval between the first training symbol and the second training symbol is a first interval; a threshold calculation unit, configured to perform autocorrelation calculation based on the first boundary sequence and the first training symbol to obtain a first autocorrelation value; perform autocorrelation calculation based on the second boundary sequence and the first training symbol to obtain a second autocorrelation value; perform autocorrelation calculation based on the second boundary sequence and the second training symbol to obtain a third autocorrelation value; perform autocorrelation calculation based on the first boundary sequence and the second training symbol to obtain a fourth autocorrelation value; obtain a first judgment threshold value according to the first autocorrelation value, obtain a second judgment threshold value according to the third autocorrelation value, obtain a first difference threshold value according to a difference between the second autocorrelation value and the first autocorrelation value, and obtain a second difference threshold value according to a difference between the third autocorrelation value and the fourth autocorrelation value; A receiving unit, used for receiving wireless signals; An autocorrelation calculation unit is used to perform autocorrelation calculation on the wireless signal based on the first boundary sequence, the second boundary sequence and the preset time window to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to the current moment; wherein the first difference value corresponding to the current moment is the difference between the second synchronization value corresponding to the current moment and the first synchronization value corresponding to the current moment; A comparison and judgment unit, used for comparing the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference corresponding to the second moment with the second difference threshold, and determining whether the current moment is a synchronization moment according to the comparison result; wherein the second moment is a moment before the current moment; if the second synchronization value corresponding to the second moment is greater than or equal to the second judgment threshold, and the first difference corresponding to the second moment is greater than or equal to the second difference threshold, then the current moment is a synchronization moment.
6. 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 dual matching mode as described in any one of claims 1 to 4 above.
Citation Information
Patent Citations
Signal synchronization method and device based on OFDM system
CN119276678A
Communication device, control method, decentralization antenna system, and computer program
JP2020053769A