An OFDM frame synchronization method to resist DC offset
Through the method of segmented delay autocorrelation operation and energy calculation, combined with the sliding window search decision, the accuracy problem of OFDM frame synchronization under low signal-to-noise ratio and DC offset conditions is solved, the calculation is simplified, and the influence of carrier frequency offset is reduced. , improves frame synchronization performance.
Patent Information
- Application Number
- CN202210553291.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-05-20
AI Technical Summary
The existing technology is difficult to accurately synchronize OFDM frames when the signal-to-noise ratio is low and the DC offset is severe. Moreover, it is affected by the carrier frequency offset, has high algorithm complexity, large calculation delay, and consumes a lot of hardware resources.
Using three-dimensional delay autocorrelation operation and energy calculation, through the product of two timing metric functions and false peak detection, combined with the sliding window search decision, the starting position of the frame is found, simplifying the calculation, reducing the impact of noise, and avoiding carrier frequency offset interference.
Accurately find the frame starting position under conditions of low signal-to-noise ratio and severe DC offset, reduce false detection rates, simplify calculations, reduce hardware resource usage, and improve frame synchronization performance.
Smart Images

Figure CN114900415B
Abstract
Description
Technical Field
[0001] The invention relates to synchronization technology in the field of wireless communications, and in particular discloses an OFDM frame synchronization method capable of resisting direct current offset. Background Art
[0002] In recent years, OFDM technology has been widely used in various wireless communication standards, but the OFDM system is very sensitive to symbol timing deviation and carrier frequency offset. Timing deviation affects the start and end positions of FFT, causing inter-symbol interference; frequency offset affects the orthogonality of subcarriers, causing inter-carrier interference, and frame synchronization is the premise of symbol synchronization and frequency offset estimation, and is the primary task of digital communication receivers. After the receiver receives the RF signal, DC offset will be introduced during the down-conversion process due to local oscillator leakage, interference from adjacent channels, or mismatch in the signal transmission path. Although the DC offset can be removed by filtering, this processing (such as AC coupling) removes the ideal signal component and causes signal distortion. It is generally believed that DC offset is undesirable because it occupies part of the A / D dynamic range, makes automatic gain control difficult, and seriously affects the accuracy of frame synchronization, which is prone to false detection. In response to this phenomenon, many scholars have proposed methods for estimating and compensating DC offset. However, these methods are all based on the premise that the starting position of the frame is known, and do not solve the fundamental problem of the difficulty in frame synchronization of DC offset signals. Moreover, these methods require additional system overhead, have high algorithm complexity, and have a certain computational delay.
[0003] The frame synchronization method based on the preamble sequence correlation operation has gradually evolved from the earliest Schmid1&Cox algorithm, which mainly improves the ability to resist noise and frequency deviation, but has weak ability to resist external interference such as DC offset. As for external interference such as DC offset, the energy detection method is generally used to find the starting position of the frame. The energy detection module often has a certain processing delay and cannot complete frame synchronization as quickly as possible. In addition, the calculation complexity is high and the hardware resources are large. Summary of the invention
[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose an OFDM frame synchronization method that is resistant to DC offset. The method is simple to calculate and has a small calculation delay. It can find the starting position of the frame when the signal-to-noise ratio is low and the DC offset is severe, and is not affected by carrier frequency deviation.
[0005] The technical solution adopted by the present invention to solve the technical problem is: an OFDM frame synchronization method for resisting DC offset, the method comprising the following steps:
[0006] Step 1: Down-convert the RF signal received by the receiving antenna into an analog baseband signal, and then use an analog / digital converter to sample the analog baseband signal and convert it into a digital signal;
[0007] Step 2: Perform three different segmented delayed autocorrelation operations and two different energy calculations on the digital signal sequence in step 1. The segment length of the first autocorrelation operation is 4 segments of the frame synchronization sequence length, that is, 4L p , the autocorrelation delay is 2 frames of frame synchronization sequence length, that is, 2L p ; The segment length of the second autocorrelation operation is 2L p , delay is 4L p ; The segment length of the third autocorrelation operation is 4L p , the delay is L0; the first energy calculation is: the calculation length is 4L p The sum of the squares of the modulus of the sample point and its delay 2L p The sum of the squares of the post-sample model and the average of the two squares is the first energy calculation value; the second energy calculation is: the calculation length is 2L p The sum of the squares of the modulus of the sample point and its delay 4L p The square sum of the post-sample model and the average of the two square sums are the second energy calculation value; the third energy calculation is: the calculation length is 4L p The sum of squares of the modulus of the sample point and the sum of squares of the modulus after the sample point is delayed by L0, and the average of the two square sums is the third energy calculation value. The first autocorrelation operation divided by the first energy calculation is recorded as M1(d), and the second autocorrelation operation divided by the second energy calculation is recorded as M2(d), which is specifically expressed as follows:
[0008]
[0009]
[0010] Where y is the digital signal sequence output by the analog / digital converter, y * is the conjugate of the digital signal sequence, and its corresponding subscript is the sample point position of the digital signal sequence. represents the (d+m+2Lth p ) sample points, d is the time domain sample point position of the timing metric function, m is the time domain sample point position of the digital signal sequence, L p is the length of a frame synchronization sequence, and also the number of repetition cycles of the frame synchronization sequence. The product of M1(d) and M2(d) is the first frame synchronization timing metric function, that is, M pos (d) = M1(d)·M2(d);
[0011] The third autocorrelation operation divided by the third energy calculation is the second frame synchronization timing measurement function, which is specifically expressed as follows:
[0012]
[0013] Step 3: Compare the two frame synchronization timing measurement functions in step 2 with the preset decision threshold T p With T DC Perform sliding window search and judgment. When the number of samples in the sliding search window that is greater than the corresponding judgment threshold reaches a preset value, it is considered to be detected. The specific expression is as follows:
[0014] numel[M pos (d,d+N w )>T p ]≥N;
[0015] numel[M neg (d,d+N w )>T DC ]≥N;
[0016] Where numel[·] represents the number of elements that meet the specified condition, M pos (d,d+N w ) and M neg (d,d+N w ) represents the sliding window of two timing metric functions, with a window length of N w , search within the sliding window, and when the number of samples that meet the conditions is greater than or equal to N, it is considered that the correct starting position of the frame has been found.
[0017] Furthermore, the radio frequency signal is converted into a digital baseband signal in the present invention by first down-converting the radio frequency signal to convert it into an intermediate frequency signal, and then converting the intermediate frequency signal into a digital baseband signal.
[0018] Furthermore, the frame synchronization sequence of the present invention is a repetitive sequence of no less than 10 segments, and each segment has a length of L p , that is, the frame synchronization sequence repetition period is L p .
[0019] Furthermore, the delay L0 of the third autocorrelation operation and energy calculation in step 2 of the present invention is less than L p ,and Best time.
[0020] Furthermore, the decision threshold T in step 3 of the present invention is p With T DC The specific parameters need to be determined according to the specific situation, that is, L p , L0 parameters, and obtain the optimal decision threshold based on simulation of actual channel conditions.
[0021] Furthermore, the sliding window size N in step 3 of the present invention is w =100, the number of sample points that meet the conditions is required to be N=80.
[0022] Beneficial effects:
[0023] 1. The present invention adopts two timing measurement functions to respectively detect the correlation peaks generated by the frame synchronization sequence and the pseudo peaks generated by external interference factors such as DC offset, so as to well determine the correct position of the frame header, overcoming the shortcomings of the traditional frame synchronization method with high false detection rate in low signal-to-noise ratio and the presence of DC offset.
[0024] 2. The present invention adopts segmented delayed autocorrelation operation. Segmentation can reduce the influence of noise. The multiplication resources required for autocorrelation operation are far less than those for cross-correlation operation. The calculation is simple. The processing delay is only caused by multiplication and addition operations, and the autocorrelation operation is not affected by carrier frequency deviation. It overcomes the shortcomings of high complexity, high delay and susceptibility to carrier frequency deviation of DC offset estimation and compensation methods and energy detection methods, thereby improving the frame synchronization performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a flow chart of the method of the present invention.
[0026] Figure 2 This is a structural diagram of a frame synchronization sequence applied in the IEEE 802.11ax standard of the present invention.
[0027] Figure 3 This is a signal control flow chart of the frame synchronization method of the present invention. DETAILED DESCRIPTION
[0028] The invention will be further described in detail below in conjunction with the accompanying drawings.
[0029] like Figure 1 As shown, the present invention provides an OFDM frame synchronization method for resisting DC offset, the method comprising the following steps:
[0030] S1: Receiving and processing RF signals
[0031] S1.1: Down-convert the RF signal received by the receiving antenna into an analog baseband signal, and then use an analog / digital converter to sample the analog baseband signal and convert it into a digital signal.
[0032] S2: Calculation of two timing metric functions
[0033] S2.1: Calculate three different segment delay autocorrelation functions, with different segment lengths and delay times, as shown in equation (1), equation (2), and equation (3) respectively:
[0034]
[0035]
[0036]
[0037] In equations (1), (2) and (3), d is the time domain sampling point position of the timing metric function, m is the time domain sampling point position of the digital signal sequence, and L p is the length of a frame synchronization sequence, and is also the number of repetition cycles of the frame synchronization sequence.
[0038] S2.2: Calculate the normalized energy corresponding to the three autocorrelation functions, as shown in equation (4), equation (5), and equation (6) respectively:
[0039]
[0040]
[0041]
[0042] S2.3: Energy normalization is performed on the autocorrelation function. The product of the first two normalized autocorrelation functions is used as the first timing measurement function to detect all repetition periods less than or equal to L. p The third normalized autocorrelation function is used as the second timing metric function to detect the pseudo peaks generated by all sequences with a repetition period less than or equal to L0. The two timing metric functions are shown in equations (7) and (8) respectively:
[0043]
[0044]
[0045] S3: Slide Search Verdict
[0046] S3.1: The timing metric function appears as a platform when there is no noise or interference, and the width is set to N. w The search window with a length of N samples starts to slide to the right from the timing metric function d = 0. The search window always has N w The timing metric function for each sample point is framed therein.
[0047] S3.2: Set two decision thresholds T p With T DC , corresponding to two timing metric functions. For the first timing metric function M pos (d) For the search window M pos (d)>T p When the number of sample points is greater than N, it is considered that condition 1 is met; for the second timing metric function M neg (d) For the search window M neg (d)>T DCWhen the number of sample points is greater than N, it is considered that condition 2 is satisfied. The position that satisfies both condition 1 and condition 2 is considered to have detected the pillow, and frame synchronization is completed. The condition 1 and condition 2 are shown in equation (9) and equation (10) respectively:
[0048] numel[M pos (d,d+N w )>T p ]≥N (9),
[0049] numel[M neg (d,d+N w )>T DC ]≥N (10).
[0050] Where numel[·] represents the number of elements that meet the specified condition, M pos (d,d+N w ) and M neg (d,d+N w ) represents the sliding window of two timing metric functions, with a window length of N w .
[0051] The present invention uses a dual timing metric function search and judgment method to achieve frame synchronization in the OFDM system, wherein one timing metric function is used to search for all repetition periods less than or equal to L p The correlation peak generated by the sequence contains a repetition period equal to L p The correlation peak generated by the frame synchronization sequence is used to search for the correlation peak generated by all sequences with a repetition period less than or equal to L0, including pseudo peaks generated by DC bias or other noise interference. When both meet the specified search and decision conditions at the same time, the correct frame header can be found and frame synchronization is completed.
[0052] The present invention provides an OFDM frame synchronization method for resisting DC offset, the method comprising: 1) performing three segmented delayed autocorrelation operations and three energy operations on a received signal sequence, and these operations are performed simultaneously; 2) multiplying the first two autocorrelation operations and the first two energy operations to form a timing measurement function, and the last autocorrelation operation and the energy operation to form a timing measurement function; 3) setting a decision threshold T P and T DC , a sliding search decision is performed on the two timing measurement functions. When the number of points that meet the decision threshold within the specified search window is greater than a predetermined value N, it is considered that the correct frame start position is obtained and frame synchronization is completed.
[0053] The following takes the IEEE 802.11ax wireless local area network system as an example to illustrate the specific implementation of the present invention through embodiments. The examples given are only used to explain the present invention, and are not used to limit the scope of the present invention. The present invention is also applicable to other OFDM systems.
[0054] The frame structure is as follows Figure 2 As shown, the first 10 short training symbols (STS) form a HE-STF sequence as a frame synchronization sequence. The method for generating the preamble HE-STF sequence under a 20MHz bandwidth specified in IEEE 802.11ax is as follows: Define a pseudo-random sequence:
[0055] M = {-1, -1, -1, +1, +1, +1, -1, +1, +1, +1, -1, +1, +1, -1, +1}, which are placed according to the following rules to form the frequency domain sequence S of the frame synchronization sequence:
[0056] Each OFDM symbol has 256 subcarriers. After performing inverse Fourier transform (IFFT) on the sequence S to the time domain, the first 32 points are taken as a frame synchronization sequence.
[0057] The method proposed in the present invention uses the segmented delay correlation of the short training sequence to achieve frame synchronization. The specific implementation of the method is as follows: Figure 3 As shown, the specific steps are as follows:
[0058] First, determine the specific parameters of this embodiment: the frame synchronization sequence repetition period is 32, that is, L p =32, select L0=16, which is used to detect the decision threshold T of the correlation peak generated by the frame synchronization sequence p =0.4, used to detect the pseudo peak caused by external interference such as DC offset, etc. DC =0.15. Search window length N w =100, if the number of sample points that meet the decision threshold within 100 sample points is greater than 80 points, it is considered that the condition is met, that is, N=80.
[0059] Next, the received sequence is divided into 6 parts for parallel processing: Part 1 performs an autocorrelation operation with a delay length of 64 points, and the autocorrelation sum length is 128 points. Part 2 performs an autocorrelation operation with a delay length of 128 points, and the autocorrelation sum length is 64 points. Part 3 performs a 128-point sliding summation of half the modulus square of the received signal sequence and half the modulus square after a 64-point delay. Part 4 performs a 64-point sliding summation of half the modulus square of the received signal sequence and half the modulus square after a 128-point delay. Part 5 performs an autocorrelation operation with a delay length of 32 points, and the autocorrelation sum length is 128 points. Part 6 performs a 128-point sliding summation of half the modulus square of the received signal sequence and half the modulus square after a 32-point delay.
[0060] Then, the autocorrelation calculation results of the first and second parts are multiplied and recorded as a, and the autocorrelation calculation results of the third and fourth parts and the decision threshold 0.4 are multiplied and recorded as b. When the number of sample points that meet a>b in the search window with a length of 100 sample points exceeds 80, it is considered that the first search decision condition is met. The autocorrelation calculation result of the fifth part is recorded as a, and the energy calculation result of the sixth part is recorded as b. When the number of sample points that meet a<b in the search window with a length of 100 sample points exceeds 80, it is considered that the second search decision condition is met.
[0061] Finally, when the two search decision conditions are met at the same time, it is considered that the correct frame header position is detected, frame synchronization is completed, and the position index is output to the subsequent module.
[0062] The above is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment. There may be local minor structural changes during the implementation process. If the various changes or modifications of the present invention do not depart from the spirit and scope of the present invention and fall within the scope of the claims and equivalent technologies of the present invention, the present invention is also intended to include these changes and modifications.
Claims
1. An OFDM frame synchronization method that resists DC offset, It is characterized in that The method comprises the following steps: Step 1: Down-convert the RF signal received by the receiving antenna into an analog baseband signal, and then use an analog / digital converter to sample the analog baseband signal and convert it into a digital signal; Step 2: Perform three different segmented delayed autocorrelation operations and two different energy calculations on the digital signal sequence in step 1. The segment length of the first autocorrelation operation is 4 segments of the frame synchronization sequence length, that is, 4L. p , the autocorrelation delay is 2 frames of frame synchronization sequence length, that is, 2L p ; The segment length of the second autocorrelation operation is 2L p , delay is 4L p ; The segment length of the third autocorrelation operation is 4L p , the delay is L 0 ; The first energy calculation is: the calculated length is 4L p The sum of the squares of the modulus of the sample point and its delay 2L p The sum of the squares of the post-sample model and the average of the two squares is the first energy calculation value; the second energy calculation is: the calculation length is 2L p The sum of the squares of the modulus of the sample point and its delay 4L p The square sum of the post-sample model and the average of the two square sums are the second energy calculation value; the third energy calculation is: the calculation length is 4L p The sum of the squares of the modulus of the sample points and their delay L 0 The sum of squares of the post-sample modulus and the average of the two square sums is the third energy calculation value. The first autocorrelation operation divided by the first energy calculation is recorded as M. 1 (d) The second autocorrelation operation divided by the second energy calculation is recorded as M 2 (d) is specifically expressed as follows: Where y is the digital signal sequence output by the analog / digital converter, y * is the conjugate of the digital signal sequence, and its corresponding subscript is the sampling point position of the digital signal sequence. represents the (d+m+2Lth p ) sample points, d is the time domain sample point position of the timing metric function, m is the time domain sample point position of the digital signal sequence, L p is the length of a frame synchronization sequence, and also the number of repetition cycles of the frame synchronization sequence, M 1 (d) With M 2 The product of (d) is the first frame synchronization timing metric function, namely M pos (d) = M 1 (d)·M 2 (d); The third autocorrelation operation divided by the third energy calculation is the second frame synchronization timing measurement function, which is specifically expressed as follows: Step 3: Compare the two frame synchronization timing measurement functions in step 2 with the preset decision threshold T p With T DC Perform sliding window search and judgment. When the number of samples in the sliding search window that is greater than the corresponding judgment threshold reaches a preset value, it is considered to be detected. The specific expression is as follows: numel[M pos (d,d+N w )>T p ]≥N; numel[M neg (d,d+N w )>T DC ]≥N; Where numel[·] represents the number of elements that meet the specified condition, M pos (d,d+N w ) and M neg (d,d+N w ) represents the sliding window of two timing metric functions, with a window length of N w , search within the sliding window, and when the number of samples that meet the conditions is greater than or equal to N, it is considered that the correct starting position of the frame has been found.
2. The OFDM frame synchronization method for resisting DC offset according to claim 1, It is characterized in that The radio frequency signal is converted into a digital baseband signal by first down-converting the radio frequency signal to convert it into an intermediate frequency signal, and then converting the intermediate frequency signal into a digital baseband signal.
3. The OFDM frame synchronization method for resisting DC offset according to claim 1, It is characterized in that The frame synchronization sequence is a repetitive sequence of no less than 10 segments, and each segment is L long. p , that is, the frame synchronization sequence repetition period is L p .
4. The OFDM frame synchronization method for resisting DC offset according to claim 1, It is characterized in that The delay L of the third autocorrelation operation and energy calculation in step 2 0 <L p ,and Best time.
5. The OFDM frame synchronization method for resisting DC offset according to claim 1, It is characterized in that The decision threshold T in step 3 p With T DC The specific parameters need to be determined according to the specific situation, that is, L p , L 0 And other parameters, and obtain the best decision threshold based on the simulation of actual channel conditions.
6. According to the OFDM frame synchronization method for resisting DC offset as claimed in claim 1, It is characterized in that The sliding window size N in step 3 w =100, the number of sample points that meet the conditions is required to be N=80.
