Power carrier chip wireless signal synchronization method and device based on double matching modes
By adopting a dual-match mode wireless signal synchronization method on the power carrier chip, using the autocorrelation calculation and judgment threshold of two junction sequences, the problem of difficulty in distinguishing signal and noise in complex wireless channel environments is solved, and the accuracy and reliability of synchronization are improved.
Patent Information
- Application Number
- CN202510288406.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-03-12
AI Technical Summary
In a complex and changeable wireless channel environment, it is difficult for the prior art to effectively distinguish signals from noise, resulting in increased synchronization errors and affect signal processing and data demodulation.
The power carrier chip wireless signal synchronization method based on the dual matching mode is used to calculate the received wireless signals through two different junction sequences, and combine multiple judgment thresholds to determine whether the current time is a synchronization time.
Improves the accuracy and reliability of synchronization, avoids the erroneous synchronization caused by repeated noise, and enhances the noise anti-noise performance.
Smart Images

Figure CN119789198A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadband power carrier communication, and in particular to a power carrier chip wireless signal synchronization method and device 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 to the stability and reliability of the communication system. However, the complexity and variability of the wireless channel transmission path make the signal extremely susceptible to interference from various noises during transmission. These noises include not only ordinary random noises, but also regular noises such as sine waves, which are particularly interfering with the synchronization process.
[0003] In the prior art, the synchronization of wireless signals usually relies on the autocorrelation calculation method. However, during the synchronization process, the autocorrelation calculation results of regular noise often significantly exceed the autocorrelation calculation results of useful signals, thereby misleading the judgment of the synchronization position and causing the problem of missynchronization. Specifically, when the noise in the wireless channel, especially the regular repetitive noise, is similar to the autocorrelation characteristics of the signal, the traditional autocorrelation synchronization estimation method will find it difficult to effectively distinguish between the signal and the noise, resulting in an increase in the synchronization error, which in turn affects the subsequent signal processing and data demodulation. Therefore, how to improve the accuracy of synchronization and reduce noise interference, especially the interference of regular noise, in a complex and changeable wireless channel environment is a problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method and device for synchronizing wireless signals of a power carrier chip based on a dual matching mode in order to solve at least one problem existing in the background technology.
[0005] In a first aspect, an embodiment of the present application provides a method for synchronizing wireless signals of a power carrier chip based on a dual matching mode, the method comprising: 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; 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; 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; Compare the first synchronization value corresponding to the current moment with the first judgment threshold and 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.
[0006] In a second aspect, an embodiment of the present application provides a power carrier chip wireless signal synchronization device based on a dual matching mode, the device comprising: 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; 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 boundary sequence, the first training symbol, the second boundary sequence, and the second training symbol; 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 a preset time window to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to a current moment; The comparison and judgment unit is used to compare the first synchronization value corresponding to the current moment with the first judgment threshold and 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.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: 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 based on the dual matching mode as described in any one of the first aspects above.
[0008] The embodiment of the present application provides a method and device for synchronizing wireless signals of a power carrier chip based on a dual matching mode. The method performs autocorrelation calculation on the received wireless signal based on two different boundary sequences, combines multiple judgment thresholds, and compares the first synchronization value and the first difference corresponding to the current moment with the corresponding threshold value to determine whether the current moment is a synchronization moment. 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 determined, the false synchronization phenomenon caused by repeated noise is avoided, and the accuracy and reliability of synchronization are improved.
[0009] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] 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 of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic flow chart of a method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to an embodiment of the present application; Figure 2 This is a schematic diagram of wireless signal synchronization results of a power carrier chip based on a dual matching mode according to a specific implementation of the present application; Figure 3 A schematic diagram of a wireless signal synchronization device for a power carrier chip based on a dual matching mode provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0011] In order to make the technical solutions and beneficial effects of the present invention more clearly understood, the following is a detailed description by listing specific embodiments. Unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application belongs.
[0012] In an ideal wireless communication system, the local oscillators of the transmitter and receiver should generate exactly the same frequency to ensure that the signal can be transmitted and received accurately. However, in practical applications, due to manufacturing differences, temperature changes, equipment aging and other factors, there are often slight differences in the local oscillator frequencies of the transmitter and receiver. This difference is called carrier frequency deviation. When the signal reaches the receiver, the receiver converts the RF signal to a lower frequency baseband signal through a down-conversion process for subsequent processing. In the down-conversion process, the local oscillator signal is multiplied (mixed) with the RF signal and passed through a low-pass filter to obtain the baseband signal. If there is a carrier frequency deviation, the frequency difference between the local oscillator signal and the RF signal will no longer be zero, resulting in additional "rotation" or "phase change" in the down-converted baseband signal. More importantly, this frequency deviation will also affect the DC component in the baseband signal. The DC component is the part of the signal with zero frequency, which usually represents a certain average value or offset of the signal. Under the influence of carrier frequency deviation, the DC component may change from zero frequency to a non-zero frequency, thus becoming a time-varying signal, that is, sinusoidal noise. Sine wave noise is a repetitive sequence similar to a sine wave, and its frequency is determined by the frequency deviation. When the signal power and frequency deviation are appropriate or the repetitive noise energy is too large, the autocorrelation calculation result of the repetitive sequence in synchronization will be significantly greater than the result of the training symbol in the signal, resulting in synchronization position errors. This phenomenon is particularly significant when the frequency deviation is an integer multiple of the training symbol repetition frequency or the repetitive noise energy is too large. In order to eliminate missynchronization caused by repetitive noise such as carrier frequency deviation and ensure accurate transmission and reception of signals, an embodiment of the present application provides a wireless signal synchronization method for a power carrier chip based on a dual matching mode. Figure 1 This is a schematic diagram of a flow chart of a wireless signal synchronization method for a power carrier chip based on a dual matching mode according to an embodiment of the present application. Figure 3 As shown, the method includes: S10, obtaining a boundary sequence of training symbols according to an XOR of adjacent repeated sequences in the training symbols, 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 symbols.
[0013] 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 a plurality of repeated sequences, each of which is composed of the same number of sampling points, and the phases between 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, represented by S, wherein the last repeated sequence is phase-inverted, represented by -S, then the training symbol is SSSSS (-S), wherein each sampling point in S and the corresponding sampling point in -S have opposite phases. 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) may be equal or unequal, 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, and both the transmitting end and the receiving end can store the training symbol through the internal register, so as to be used for synchronization detection or channel estimation. The first training symbol and the second training symbol in the embodiment of the present application are both training symbols for synchronization, and are both sub-training symbols of the training symbol.
[0014] As an optional specific implementation, the training symbol includes multiple repetitive sequences, at least one of which has a phase opposite to that of the other repetitive sequences, so that the autocorrelation values calculated by different sub-training symbols will change, which is beneficial for the subsequent receiver to determine the synchronization position of the received wireless signal.
[0015] In the embodiment of the present application, the XOR of adjacent repeating sequences refers to the phases of adjacent repeating sequences being the same or opposite. 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; a boundary sequence consisting of 0 and 1 can be obtained by XORing adjacent repeating sequences in training symbols. For example, if the training symbol is SSSSS (-S), the corresponding boundary sequence is 11110. In the embodiment of the present application, the first boundary sequence and the second boundary sequence are boundary sequences required for autocorrelation calculation, and both are 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, 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, the first boundary sequence and the second boundary sequence are both unique, and the first boundary sequence and the second boundary sequence are different, so that when the received signal includes matching training symbols, the corresponding peak value 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, then the first boundary sequence and the second boundary sequence can be 1110 and 1100, or 1001 and 0110, etc. As an optional specific implementation, the lengths of the first boundary sequence and the second boundary sequence are the same, so as to facilitate the comparison of subsequent 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 overlapping parts in the first training symbol and the second training symbol. According to the order of transmission by the transmitting end, the moment when all sampling points of the second training symbol are sent is earlier than the moment when all sampling points in the first training symbol are sent. That is, for the receiver, the second training symbol is received first, and then the first training symbol is received. In the embodiment of the present application, the interval between the sampling points of 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 sampling points corresponding to 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, the boundary sequence of the training symbol SSSS(-S)SSS(-S) is 11100110, then the first boundary sequence and the second boundary sequence can be 1110 and 1001, and the corresponding first training symbol is SSSS(-S), and the second training symbol is SS(-S)SS. 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.
[0016] S20, 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.
[0017] Specifically, S20 includes: 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; 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; Based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value and the fourth autocorrelation value, a first judgment threshold, a second judgment threshold, a first difference threshold and a second difference threshold are obtained.
[0018] Specifically, autocorrelation calculation is performed according to the following formula to obtain a first autocorrelation value, a second autocorrelation value, a third autocorrelation value, and a fourth autocorrelation value: , in, 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 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, k2 represents the last sampling point in the synchronous training symbol, wherein the synchronous training symbol is the first training symbol or the second training symbol; T2 represents the repetition period of the training symbol; Indicates the constant value corresponding to the boundary value of the boundary sequence corresponding to sampling point k. If the boundary value is 1, then is equal to 1; if the boundary value is 0, then =-1. For example, the training symbol SSSS (-S) corresponds to a boundary sequence of 1110, and the corresponding constant values are 1, 1, 1, and -1 respectively. When the phases of the repeated sequences are opposite, the amplitudes of the corresponding sampling points 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 value. It should be noted that the transmitter and the receiver will pre-store the same known training symbols, and the receiver can obtain the first boundary sequence and the second boundary sequence based on the training symbols based on actual communication requirements; thus, the peak value will only appear when the autocorrelation calculation is based on the boundary sequence and the matching training symbol, for example, the peak value will appear when the autocorrelation calculation is performed between the first boundary sequence and the first training symbol. If the autocorrelation calculation is performed between the first boundary sequence and other sub-training symbols, or the first training symbol and other sub-boundary sequences, no peak value will appear. In the prior art, autocorrelation calculation is only performed based on training symbols and does not involve boundary sequences. Therefore, it is necessary to select according to the characteristics of the training symbols, which has great limitations. However, the autocorrelation calculation of the present application is based on the sub-training symbols corresponding to the two boundary sequences. As long as the sub-boundary sequence is unique, the corresponding calculated autocorrelation value is a unique peak value, so that the sub-training symbols can be selected more flexibly, thereby improving the noise resistance of the autocorrelation synchronization algorithm.
[0019] 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 size of each threshold is determined according to the actual communication protocol and communication situation. As an optional specific implementation, 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 theoretical synchronization energy peak positions and relative sizes of the 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 corresponding to the judgment peak can be obtained, so that the receiver can judge the synchronization position according to the autocorrelation result calculated by the boundary sequence. It should be noted that a peak value can be obtained based on the autocorrelation calculation of the boundary sequence and the training symbol matching it. 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.
[0020] S30: Receive a wireless signal.
[0021] Specifically, the wireless beacon includes a valid signal and a noise signal. The valid signal is the signal sent by the transmitter, and the valid signal includes training symbols. Since the training symbols are composed of multiple repeated sequences, they are repeated or periodic in the time domain, so they can be identified through autocorrelation calculations. Specifically, when the received signal includes training symbols, the autocorrelation peak can be obtained through autocorrelation calculations through the repeated sequences in the training symbols. 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 the operation performed only using the received signal itself, while the cross-correlation operation refers to the operation performed using the received signal and the local known signal.
[0022] S40. Based on the first boundary sequence, the second boundary sequence and the preset time window, perform autocorrelation calculation on the wireless signal to obtain a first synchronization value, a second synchronization value and a first difference value corresponding to the current moment.
[0023] 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.
[0024] Specifically, S40 includes: obtaining the sampling points of the preset time window corresponding to the current moment according to the sampling points, preset time window and wireless signal at the current moment; performing 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, and obtaining the first synchronization value, the second synchronization value and the first difference value 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 corresponding to the current moment that need to be autocorrelated; 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 from the sampling points of the current moment forward 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 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, and n represents the number of sampling points.
[0025] As an optional specific implementation, autocorrelation calculation is performed 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 the first synchronization value, the second synchronization value, and the 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.
[0026] As an optional specific implementation manner, 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; Indicates 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, and the repetition period of the training symbol is 10 sampling points. The corresponding number of sampling points of the first training symbol and the second training symbol is 50 sampling points. The sampling points of the preset time window are also 50 sampling points. The sampling points of the preset time window are divided into groups of 10 each, and divided into the first to fifth groups in chronological order. The first group includes the sampling points at the current moment; when calculating the first synchronization value, the corresponding boundary sequence is 1110. When the sampling point t is the first group of sampling points, the corresponding boundary value is 0, and the corresponding constant value is -1, and the corresponding The value of is -1. When the sampling point t is the next few groups of sampling points, the corresponding boundary values are all 1, the corresponding constant value is 1, and the corresponding The value of is 1; when calculating the second synchronization value, the corresponding boundary sequence is 1001, then when the sampling point t is the first group of sampling points, the corresponding boundary value is 1, then the corresponding constant value is 1, and the corresponding The value of is 1. When the sampling points are the second, third, and fourth groups of sampling points, the corresponding boundary values are 0, 0, and 1, respectively, and the corresponding constant values are -1, -1, and 1, respectively, so it can be determined The corresponding values are -1, -1, and 1 respectively.
[0027] S50, comparing the first synchronization value corresponding to the current moment with the first judgment threshold and the first difference value 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.
[0028] As an optional specific implementation, S50 includes: 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, the current moment is not a synchronization moment.
[0029] The first judgment threshold is a threshold value obtained based on 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 value, thereby judging that the current moment is not the synchronization moment, and correspondingly, the sampling point at the current moment is not the synchronization position. The first difference reflects the difference in the degree of matching 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 unmatched second boundary sequence and the autocorrelation value calculated based on the matched first boundary sequence, which means that even if there is an autocorrelation peak at the current moment, the peak is likely to be a false synchronization peak caused by noise, interference or other factors. In the embodiment of the present application, based on the difference and characteristic of the degree of matching between different boundary sequences and the received signal, it is possible to judge whether the current moment is the synchronization moment based on the size of the first synchronization value and the first judgment threshold and the size of the first difference and the first difference threshold, thereby improving the accuracy and reliability of the synchronization moment judgment.
[0030] As an optional specific implementation, S50 further includes: 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 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 position based on the comparison result.
[0031] Wherein, the second moment is the moment before the current moment, and the sampling point interval between the sampling point of the preset time window corresponding to the second moment and the sampling point 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 embodiment of the present application, if the current moment meets the condition, it is determined whether the second moment meets the condition, so as to perform a double verification through two moments to see whether the current moment is a true synchronization moment. For example, if the sampling point of the preset window corresponding to the current moment matches the first boundary sequence, it is determined whether the sampling point of the preset window corresponding to the second moment matches the second boundary sequence. If it matches, the current moment is a synchronization moment. Wherein, 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, the second moment and the first moment also have the same sampling point interval, so that it can be compared with the corresponding threshold value to determine whether it matches.
[0032] As an optional specific implementation, comparing the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference value 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, including: 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.
[0033] Specifically, if the current moment is a synchronization moment, the sampling point at the current moment is a synchronization position. In an embodiment 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 at the current moment is less than or equal to the first difference threshold, by 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, it is possible to more accurately determine whether the current moment is a synchronization moment, and two different boundary sequences correspond to two different moments, so that double verification can be performed according to the matching situation, which greatly improves the accuracy and reliability of synchronization. The embodiment of the present application performs autocorrelation calculation based on two different boundary sequences, and then uses two different boundary sequences to correspond to matching signals at different moments, so that double verification can be performed according to the comparison results of two different moments, thereby determining the accurate synchronization moment, thereby improving the accuracy and reliability of synchronization.
[0034] 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 the present application, there are two matching autocorrelation peaks corresponding to 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, thereby avoiding the false synchronization caused by other repetitive noises and improving the accuracy and reliability of synchronization.
[0035] As an optional specific implementation manner, comparing the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference value 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, further comprising: If the second synchronization value corresponding to the second moment is smaller than the second judgment threshold, or the first difference corresponding to the second moment is smaller than the second difference threshold, the current moment is not a synchronization moment.
[0036] As an optional specific implementation, if the current moment is not the synchronization moment, the second synchronization value and the first difference value corresponding to the current moment are saved.
[0037] As an optional specific implementation, if the current moment is not a synchronization moment, the wireless signal corresponding to the next moment is autocorrelated and calculated based on a preset sliding step to determine whether the next moment is a synchronization moment, until a certain moment is determined to be a synchronization moment. Specifically, the sampling interval between the sampling point at the current moment and the sampling point at the next moment is equal to the preset sliding step. Furthermore, the period of the training symbol is equal to an integer multiple of the sliding step, thereby reducing the synchronization error caused by the mismatch of the sliding step, so that the synchronization position can be accurately detected within the training symbol.
[0038] When there is sinusoidal noise caused by carrier frequency deviation in the signal, the periodicity and repetitive characteristics of the sinusoidal noise will produce 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 errors in synchronization position judgment, thereby 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, combined with multiple judgment thresholds. When the autocorrelation value and the difference at two different moments meet the conditions, the current moment is confirmed to be the synchronization moment. The method of the embodiment of the present application performs double verification through the matching degree of two different boundary sequences and the corresponding signals at two different moments, which reduces the false synchronization caused by repeated noise and improves the accuracy and reliability of synchronization. Specifically, although the repetitive noise caused by carrier frequency deviation, such as sinusoidal noise, may produce higher autocorrelation values at certain moments, it is difficult to satisfy the autocorrelation peak and difference conditions at two different moments corresponding to two different boundary sequences due to its periodicity and repetitive characteristics; in contrast, the embodiment of the present application performs autocorrelation calculation based on two different boundary sequences, and the true synchronization position is able to produce significant autocorrelation peaks at two corresponding different moments and satisfy the corresponding difference conditions, thereby distinguishing noise from synchronization signals, thereby improving the accuracy and reliability of synchronization.
[0039] Figure 2 This is a schematic diagram of wireless signal synchronization results of a power carrier chip based on a dual matching mode according to a specific implementation of the present application. Figure 2 Wherein P1' represents the received wireless signal, which contains potential training symbols and repetitive noise caused by carrier frequency deviation; S represents the repetitive sequence of training symbols, X represents random noise signal or other signals, and X' represents repetitive noise caused by carrier frequency deviation; P2' represents the autocorrelation value calculated based on different boundary sequences, wherein the dotted line a and the solid line b represent the autocorrelation energy corresponding to the boundary sequences of 1110 and 1111, respectively, that is, the autocorrelation value calculated based on the corresponding boundary sequence at each moment, denoted as L and E, respectively; P3' represents the difference between the corresponding autocorrelation energy of 1110 and the autocorrelation energy of 1111, denoted as D, that is, D=LE; T1'-T5' represent different time zones, T1'-T5' are in chronological order, and T1' is the time zone before T5'. It can be seen from the figure that the training symbol is SSSSS (-S), and the corresponding junction sequence is 11110. Both 1110 and 1111 are sub-junction sequences of the junction 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 The first interval is equal to the repetition period T2 of the training symbol. It should be noted that, Figure 2 Among them, 1110 is the first boundary sequence, 1111 is the second boundary sequence, and correspondingly, L represents the first synchronization value, and E represents the second synchronization value.
[0040] In the T1' region, E and L are affected by the frequency offset repetitive noise and have larger values. Since 1111 and the repetitive noise have a better match, E is greater than L. Correspondingly, D is greater than zero and D is 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 symbol, for the boundary sequences 1111 and 1110, their E and L in the T1' region are greater than the autocorrelation peak value of the corresponding boundary sequence match. If the autocorrelation peak is judged only based on the threshold corresponding to the autocorrelation peak, it is easy to make a misjudgment in the T1' region.
[0041] In the T2' region, the training symbols in the effective signal arrive. Since the patterns of the training symbols and the frequency offset repetitive noise are different, E and L decrease significantly.
[0042] In the T3' region, synchronization proceeds normally, and both E and L show normal trends. At this signal power, due to the large amplitude of frequency offset repetitive noise, E and L are not significantly improved compared to T1'. From the values of E and L corresponding to T3' and T1', it can be seen that frequency offset repetitive noise has a great influence on the autocorrelation value. If the synchronization position is determined only by the autocorrelation peak, the autocorrelation peak is likely to appear in the T1' time period, resulting in false synchronization.
[0043] In the T4' region, E reaches its peak value first, at which time E is in the best match and L is not in the best match, so E must be greater than L; then after a repetition cycle of a training symbol, L reaches its peak value, at which time L is in the best match and E is not in the best match, so L must be greater than E. Therefore, in the T4' period, D shows a trend of first positive and then negative, and this trend has obvious characteristics and is easy to distinguish from frequency offset repetitive noise. Specifically, L is in the best match at the time point corresponding to comparison 2. 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 dotted line a, and a trough appears in P3', which indicates that the time point corresponding to comparison 2 may be the synchronization moment; then further judge the best match time point corresponding to the 1111 boundary sequence, that is, the time point corresponding to comparison 1, E in comparison 1 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 then can it be judged that the time point corresponding to comparison 2 is the synchronization moment. Figure 2In the embodiment of the present application, the first synchronization value (i.e., the L value corresponding to the dotted line a) and the first difference at the time point corresponding to comparison 2 are judged to meet the conditions, and then the second synchronization value (i.e., the E value corresponding to the solid line b) and the first difference corresponding to the time point before the cached repetition cycle and comparison 1 are judged to meet the conditions, so that it is possible to accurately judge whether the time point corresponding to comparison 2 is the synchronization moment. In the embodiment of the present application, the autocorrelation value and the corresponding difference are calculated based on two different boundary sequences, and the matching relationship between the actual received signal and the two different boundary sequences can be used to clearly distinguish it from the characteristics of the frequency deviation repetitive noise, thereby enhancing the anti-noise performance and improving the accuracy and reliability of synchronization.
[0044] Figure 3 This is a schematic diagram of a wireless signal synchronization device for a power carrier chip based on a dual matching mode provided in an embodiment of the present application. Figure 3 As shown, the synchronization device 300 includes: The acquisition unit 301 is used to obtain a boundary sequence of training symbols according to the XOR 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 the first interval.
[0045] The threshold calculation unit 302 is used 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.
[0046] The receiving unit 303 is used to receive a wireless signal.
[0047] The autocorrelation calculation unit 304 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 the first synchronization value, the second synchronization value and the first difference corresponding to the current moment; 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.
[0048] The comparison and judgment unit 305 is used to compare the first synchronization value corresponding to the current moment with the first judgment threshold and 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.
[0049] As an optional specific implementation, obtaining a first judgment threshold, a second judgment threshold, a first difference threshold and a second difference threshold based on a first boundary sequence, a first training symbol, a second boundary sequence and a second training symbol includes: 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; 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; Based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value and the fourth autocorrelation value, a first judgment threshold, a second judgment threshold, a first difference threshold and a second difference threshold are obtained.
[0050] As an optional specific implementation manner, autocorrelation calculation is performed according to the following formula to obtain a first autocorrelation value, a second autocorrelation value, a third autocorrelation value, and a fourth autocorrelation value: , in, 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 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, k2 represents the last sampling point in the synchronous training symbol, wherein the synchronous 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 boundary value of the boundary sequence corresponding to the sampling point k.
[0051] As an optional specific implementation, based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value and the fourth autocorrelation value, a first judgment threshold, a second judgment threshold, a first difference threshold and a 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.
[0052] As an optional specific implementation, based on the first boundary sequence, the second boundary sequence and the preset time window, the wireless signal is autocorrelatedly calculated to obtain the first synchronization value, the second synchronization value and the first difference value corresponding to the current moment, including: obtaining the sampling point 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; based on the first boundary sequence and the second boundary, the sampling point of the preset time window corresponding to the current moment is autocorrelatedly calculated to obtain the first synchronization value, the second synchronization value and the first difference value corresponding to the current moment.
[0053] As an optional specific implementation, autocorrelation calculation is performed 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 the first synchronization value, the second synchronization value, and the 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.
[0054] As an optional specific implementation manner, autocorrelation calculation is performed using the following formula to obtain the first synchronization value and 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.
[0055] As an optional specific implementation manner, comparing the first synchronization value corresponding to the current moment with the first judgment threshold and the first difference value 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, includes: 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, the current moment is not a synchronization moment.
[0056] As an optional specific implementation, comparing the first synchronization value corresponding to the current moment with the first judgment threshold and the first difference value corresponding to the current moment with the first difference threshold, and determining whether the current moment is the synchronization moment according to the comparison result, further comprising: 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 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 position based on the comparison result.
[0057] As an optional specific implementation, comparing the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference value 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, including: 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.
[0058] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0059] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed by a processor of an electronic device, enable the electronic device to execute the steps in the power carrier chip wireless signal synchronization method based on the dual matching mode as described in any of the above embodiments.
[0060] The embodiments of the present application may be systems, methods and / or computer program products. The computer program product may include a computer-readable storage medium on which computer-readable program instructions are loaded for causing a processor to implement various aspects of the present application. In some embodiments, by using the state information of the computer-readable program instructions to personalize 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.
[0061] Computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. Computer readable storage medium is a tangible device that can keep and store instructions used by an instruction execution device. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a protruding structure in a groove on which instructions are stored, and any suitable combination of the above.
[0062] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0063] An embodiment of the present application also provides an electronic device. Figure 4 The structure diagram of an electronic device provided by an embodiment of the present application is shown. As shown in the figure, the electronic device 400 includes: one or more processors 401 and a memory 402; the memory 402 stores computer executable instructions; the processor 401 is used to execute the computer executable instructions to implement the steps in the power carrier chip wireless signal synchronization method based on the dual matching mode as in any of the above embodiments.
[0064] The processor 401 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.
[0065] 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. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. 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 medium, and the processor 401 may execute the program instructions to implement the steps in the text recognition method of each embodiment of the present application described above and / or other desired functions.
[0066] In one example, the electronic device 400 may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown in the figure).
[0067] In addition, the input device may also 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, a communication network and a remote output device connected thereto, and the like.
[0068] Of course, to simplify, 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 conditions, the electronic device 400 may also include any other appropriate components.
[0069] It should be noted that the embodiments of the power carrier chip wireless signal synchronization method based on a dual matching mode, the power carrier chip wireless signal synchronization device based on a dual matching mode, the computer-readable storage medium embodiment and the electronic device embodiment provided in the embodiments of the present application belong to the same concept; the technical features in the technical solutions recorded in each embodiment can be arbitrarily combined without conflict.
[0070] It should be understood that the above embodiments are exemplary and are not intended to include all possible implementations included in the claims. Various modifications and changes may be made on the basis of the above embodiments without departing from the scope of the present disclosure. Similarly, the various technical features of the above embodiments may be arbitrarily combined to form other embodiments of the present invention that may not be explicitly described. Therefore, the above embodiments only express several implementations of the present invention and do not limit the scope of protection of the patent of the present invention.
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; 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; 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; Compare the first synchronization value corresponding to the current moment with the first judgment threshold and 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.
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: Comparing the first synchronization value corresponding to the current moment with the first judgment threshold and the first difference value 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, including: If the first synchronization value corresponding to the current moment is smaller than the first judgment threshold, or the first difference value corresponding to the current moment is larger than the first difference value threshold, the current moment is not a synchronization moment.
3. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 1, characterized in that: Comparing the first synchronization value corresponding to the current moment with the first judgment threshold and the first difference value 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, including: 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 position based on the comparison result; wherein the second moment is the moment before 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: Comparing the second synchronization value corresponding to the second moment with the second judgment threshold and the first difference value 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, including: 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.
5. 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.
6. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 5, 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.
7. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 6, 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.
8. The method for synchronizing wireless signals of a power carrier chip based on a dual matching mode according to claim 1, characterized in that: 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, including: 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; Perform 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; A first judgment threshold, a second judgment threshold, a first difference threshold and a second difference threshold are obtained based on the first autocorrelation value, the second autocorrelation value, the third autocorrelation value and the fourth autocorrelation value.
9. 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 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; 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; The comparison and judgment unit is used to compare the first synchronization value corresponding to the current moment with the first judgment threshold and 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.
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 dual matching mode as described in any one of claims 1 to 8 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
Time synchronization method for wireless communication system
KR1020100074064A
Packet Detection Apparatus and Method, Wireless Communication Apparatus and Method, and Computer Program
US20090304128A1
Method of detecting synchronization timing and sub-band based on adaptive threshold and receiver performing the same
US20240244542A1