The sample clock frequency deviation compensation method of OFDM receiver and device
Technical field
A kind of method and apparatus that is applied to the sample clock frequency deviation compensation of OFDM (OFDM) receiver.It belongs to digital communication technology field, method and the device thereof, particularly a class that relate to the sample clock frequency deviation compensation in OFDM (OFDM) communications field add the ofdm communication system sample clock frequency deviation compensation method and the device thereof of targeting signal (Preamble) and adding pilot tone (Pilots).
Background technology
OFDM (Orthogonal Frequency Division Multiplexing, OFDM) technology is the more superior technology of performance that high efficiency sends data on channel, this technology has used a plurality of sub-carrier frequencies in the channel width to send data.Simultaneously, ofdm system also has tolerance degree to multidiameter expansion and frequency selective fading, effectively frequency spectrum use and good characteristic such as anti-interference.At present at high-bit-rate digital subscriber line (HDSL), digital audio broadcasting (DAB), digital video broadcasting (DVB), wireless lan (wlan), wireless MAN fields such as (WMAN) obtains extensive use.
Usually the OFDM transmitting system adopts rapid fourier change (FFT) to send information through subcarrier, and adds the protection interval that Cyclic Prefix constitutes in the effective code element front portion, so that reduce multi-path influence.In a class OFDM block data transmission system is used, particularly the wireless data transmission occasion is (as WLAN (wireless local area network) IEEE802.11a, HiperLAN2, wireless MAN IEEE 802.16--OFDM pattern), add the steering signal (Preamble) that pseudo random sequence constitutes before each OFDM frame, it is synchronous to be used for frame head, Nonlinear Transformation in Frequency Offset Estimation, and channel estimating, as shown in Figure 2.
After Preamble handles, output at equalizer, receiver clock can be accurately synchronous with tranmitting data register, the not skew of FFT window this moment, but because there is frequency departure (generally within 50ppm) in the local receiver sampling clock with the transmission sampling clock, make to receive sampling clock offset launch clock gradually, cause that skew appears in the FFT window.The skew of FFT window will cause and occur the phase place rotation on current each subcarrier of OFDM symbol, and rotation amount is directly proportional with subcarrier number.
For correcting sampling frequency deviation and carrier frequency offset, the general equally distributed pilot channel (Pilots) that in the subchannel of OFDM, adds, the content receiver of pilot channel transmission can be known in advance.Accompanying drawing 4 has been described the sub-carrier phase rotation that causes the drift of FFT window to cause owing to frequency deviation of clock in the IEEE802.11a system.The each point abscissa is represented sub-carrier channels number among Fig. 4, and ordinate is represented the phase deviation amount.Wherein square dot is represented the phase deviation amount of pilot subchannel.
In demodulating process, the phase place rotation that needs this class of compensation to cause because of the skew of FFT window, as Maxime .B. Melissa Belote plucked instrument Koffsky, little Louis .R. Li Tewen is shown in the patent application 01102895.5.
In addition, when FFT window side-play amount arrives to a certain degree, just need keep synchronously, promptly move a sampled point forward or backward, also can be regarded as forward or mobile backward FFT window by the mode that changes synchronous points.Specifically, be higher than transmit clock, when the side-play amount of FFT window arrives to a certain degree, the FFT window moved a sampled point backward if receive sampling clock; Otherwise, the FFT window be moved forward a sampled point.See accompanying drawing 6.Just: if the side-play amount of the FFT window of current OFDM symbol surpasses a positive thresholding, then the FFT window moves forward once, and the side-play amount of FFT window increases a specific amount; Otherwise the side-play amount of the FFT window of current OFDM symbol is less than a negative thresholding, and window moves once backward, and FFT window side-play amount reduces by a specific amount.
By can obtain the estimation of FFT window side-play amount to the processing of pilot subchannel phase difference.Most method is to all being to come direct estimation FFT window side-play amount by the pilot signal phase difference of current OFDM symbol, noisy the time, the fluctuation of pilot signal phase difference causes the inaccurate of FFT window side-play amount estimation, causes the deterioration of overall system performance.
As shown in Figure 5, Jin Dongkui, device for carrying a tripots still all, Cui Jiongchen, Lee order and shine in patent 98104218.X, are that mould is obtained according to phase place with 2 π, adopt the phase difference zero passage to count and obtain the estimation of FFT window side-play amount.But this mode performance under low signal-to-noise ratio is bad, and estimates accurate inadequately to the phase place rotation of each subcarrier.
Jinhui's chastity, Li Xiankui is in patent application 00802091.4, formula (10) at its specification, (11) though in provided a kind of adding up and ask slope to estimate the method for side-play amount, but this method need be known the value of even number window side-play amount in advance, and big and calculation of complex of memory space and noise robustness are still good inadequately.
Summary of the invention:
There is this technical barrier of sampling frequency deviation in the present invention in order to solve in ofdm system, in the OFDM device, adopt the technical method of accurate estimating OFDM symbol FFT window side-play amount, can reduce noise to a great extent to the side-play amount estimation effect, also the just influence of compensated receiver sample clock frequency deviation more exactly.
The present invention uses the FFT window side-play amount of accurately estimating current OFDM symbol in the frame by all pilot signals that receive of current OFDM symbol.When receiving an OFDM symbol sometime, obtain FFT window side-play amount by the pilot signal phase deviation of calculating this symbol, the estimation of the side-play amount of such FFT window has big noise, directly use it to come correcting action can bring very big phase perturbation, influence the receiver overall system performance, the technology solution that the present invention proposes is to realize the side-play amount by current OFDM symbol in the same frame is added up by the calculation function device, be averaged again, obtain side-play amount poor of the FFT window between the two adjacent OFDM symbol, (because sample clock frequency deviation is stable, so can think that the difference of side-play amount of the FFT window between the two adjacent OFDM symbol is constant), the OFDM symbolic number that is received in difference by the FFT window side-play amount between the above-mentioned two adjacent OFDM symbol and the same frame like this can calculate the side-play amount of the FFT window of current OFDM symbol.As person skilled known to, the method by the sample that adds up can reduce the influence of noise to estimator, the present invention utilizes such principle to eliminate noise just, obtains the estimation of FFT window side-play amount more accurately.
Feature of the present invention in turn includes the following steps:
1. obtain channel equalizer coefficients and realize that receiver clock is just synchronous by the steering signal (Preamble) before the OFDM symbol, determine the accurate position of FFT window.
2. from the output subchannel of current OFDM symbol after, extract the pilot value of pilot channel by FFT and equilibrium, by with the comparison of predetermined pilot signal, ask phase angle deviation separately.
3. obtain average FFT window side-play amount according to following formula, be designated as shift_new (n);
Wherein:
N: n OFDM symbol of these frame data;
Shift_new (n): the FFT window side-play amount of utilizing the pilot signal of current OFDM symbol to obtain;
The number of N:OFDM system sub-carriers, promptly FFT's counts;
P: the number of an interior pilot signal of OFDM symbol,
θ
i: the phase deviation angle of i pilot signal,
The mean value of θ: P the pilot signal phase angle of deviation,
p
i: the channel number of i pilot signal
4. in same frame, will add up, add because the additional offset amount that mobile FFT window is brought is write as mathematical expression by the FFT window side-play amount that current OFDM symbol obtains:
sum_shift(n)=sum_shift(n-1)+shift_new(n)+lack_overlap_counter(n)
Wherein, 1≤n≤M, M are total number of OFDM symbol in these frame data.
Sum_shift (n): the accumulated value of FFT window side-play amount, initial value are zero;
Shift_new (n): the FFT window side-play amount that the pilot signal of current OFDM symbol obtains;
Lack_overlap_counter (n): the number of times that the FFT window moves forward or backward, initial value are zero;
5. the computational methods of difference that obtain the FFT window side-play amount of average two adjacent OFDM symbol by the method that accumulated value is averaged are:
6. calculate the accurate estimation of side-play amount of the FFT window of current OFDM symbol, formula is as follows:
7. the FFT window side-play amount that obtains according to step 6 judges whether the FFT window of next OFDM symbol moves, and FFT window in the frame is moved time counting number.The condition of judging is: the side-play amount of the FFT window of current OFDM symbol is accurately estimated to surpass a positive thresholding, and then window moves forward once, and counter lack_overlap_counter adds 1; Otherwise the side-play amount of the FFT window of current OFDM symbol is less than a negative thresholding, and window moves once backward, and counter lack_overlap_counter subtracts 1.
8. the FFT window side-play amount that obtains according to step 6 is calculated each subchannel phase angle compensation amount, compensates the phase place rotation on each subchannel.Computing formula is as follows:
Wherein k represents Sub-Channel Number, and θ represents the mean value of the current OFDM symbol pilot phase angle of deviation.
Description of drawings
Fig. 1 is a primary structure schematic diagram of the present invention.
Fig. 2 is a class OFDM transmission frame format figure, mainly is made of pilot signal (Preamble) and OFDM symbol two parts.
Fig. 3 is the demodulation method schematic diagram of the symbol of OFDM, removes Cyclic Prefix from each OFDM symbol, sends into the FFT module then.
Fig. 4 has described in the IEEE802.11a system because the sub-carrier phase that frequency deviation of clock causes rotation.
Fig. 5 is the structural representation of a referenced patent.
Fig. 6 is that the FFT window position moves schematic diagram.
Fig. 7 is the FFT window deviation rough estimate value sequence figure of each OFDM symbol, i.e. shift_new sequence chart.
Fig. 8 is the sequence chart that the FFT window deviation of each OFDM symbol is accurately estimated, i.e. est_shift sequence chart.
Fig. 9 is the concrete enforcement block diagram of pilot extraction and FFT window rough estimate module (6) among Fig. 1.
Figure 10 is that module among Fig. 1 (7) FFT window skew accumulation is specifically implemented block diagram with smart estimation module
Figure 11 is that concrete implementing procedure figure is judged in the adjustment of module among Fig. 1 (10) FFT window.
Embodiment
Based on embodiment of the present invention, the receiver clock frequency departure compensation in the WLAN (wireless local area network) of application IEEE 802.11a agreement with reference to accompanying drawing, provides concrete implementation step:
1. receiver is made carrier frequency synchronization after receiving steering signal (Preamble), clock synchronization and channel estimation works, and channel estimation coefficient passed to equalizer, and trigger the work of FFT window controller.
2. the each OFDM symbol that receives of receiver passes through FFT module and equalizer module by FFT window controller intercepting data division wherein.
3. accompanying drawing 9 is depicted as the concrete enforcement block diagram of (6) pilot extraction of module among Fig. 1 and the rough estimate of FFT window.Output obtains the-21 ,-7,7 and the pilot value of 21 channels in each subchannel after equilibrium, try to achieve four pilot signal phase angles by arc tan unit (40), again by phase angle difference computing unit (42), deduct the pilot value phase angle (0 or π) of precognition, obtain the phase deviation angle of four pilot tones.
4. after deducting average calculation unit (44) by phase angle difference, again by removing Sub-Channel Number computing unit (46), the phase angle difference straight slope that is calculated respectively, again by asking average calculation unit (48) to obtain the phase angle difference straight slope of current OFDM symbol, i.e. the rough estimate of FFT window skew.
5. accompanying drawing 10 is that module among Fig. 1 (7) FFT window skew accumulation is specifically implemented block diagram with smart estimation module.By the FFT window side-play amount unit (50) that adds up, the FFT window side-play amount that will obtain by current OFDM symbol in same frame adds up, by additional FFT window side-play amount unit (52), add the additional window side-play amount of being brought owing to mobile FFT window again, the following formula of specific implementation foundation:
sum_shift(n)=sum_shift(n-1)+shift_new(n)+lack_overlap_counter(n)
Wherein, n represents n the OFDM symbol that begins from Signal;
Sum_shift (n) is the accumulated value of FFT window side-play amount, and initial value is zero;
Shift_new (n) is the FFT window side-play amount that the pilot signal of current OFDM symbol obtains;
Lack_overlap_counter (n) is the number of times that moves forward or backward by current OFDM symbol FFT window, and initial value is zero.
6. then by cumulant divider (54), and subtract additional FFT window side-play amount unit (56), obtain the accurate estimation of side-play amount of the FFT window of current OFDM symbol.This step computing formula is as follows:
Wherein:
Est_shift (n) represents the accurate estimation to current OFDM symbol FFT window side-play amount,
Sum_shift (n) is the accumulated value of FFT window offset amount, and initial value is zero;
N the OFDM symbol that the n representative begins from Signal;
Lack_overlap_counter (n) is the number of times that the FFT window moves forward or backward, and initial value is zero.
7. accompanying drawing 11 is concrete implementing procedure figure of module among Fig. 1 (10).Whether the accurate estimated value est_shift of side-play amount (n) that judges the FFT window of current OFDM symbol surpasses a positive thresholding (being taken as 0.6) (60), and then counter lack_overlap_counter adds 1 (62); Whether then judge est_shift (n) less than a negative thresholding-0.6 (64), if set up, counter lack_overlap_counter subtracts 1 (66).Then change and adjust FFT window position (68) according to the value of lack_overlap_counter.
8. adjust the phase place of each subchannel of current sign according to the FFT window side-play amount of accurate estimation, module is made of a multiplication unit and adder unit, and is as follows according to formula:
-26≤k≤-1,1≤k≤26
Wherein k represents Sub-Channel Number, θ from unit (44) in the accompanying drawing 9 calculate the mean value of four pilot phase angles of deviation.
Module described herein and unit both can adopt hardware to realize, also can adopt software to realize, or the compound mode of software and hardware realized.The technology of the present invention method is not limited to the foregoing description, and those skilled in the art are understood that the change that can make within the scope of the present invention on various forms and the details.Be that the present invention can be used for meeting the system of IEEE 802.11a standard, HiperLAN2 standard, IEEE 802.16 standards and the system of other employings OFDM; Great advantage of the present invention is the principle according to " asking average method can reduce the influence that noise is treated estimator by the sample that adds up ", the creationary introducing this technical process that " side-play amount by current OFDM symbol in the same frame added up; be averaged again; obtain side-play amount poor of the intersymbol FFT window of two adjacent OFDM " is estimated in order to the side-play amount that realizes accurate more current OFDM symbol FFT window.From the realization effect of this technology, be that measuring and calculating accuracy or system's antijamming capability general relatively " the sample clock frequency deviation compensation of receiver " method has all had large increase.