1. Field of the Invention
The present invention relates to an apparatus and method for estimating and compensating sampling frequency offset, more particularly to employ a signal-phase storing circuit and a sampling-frequency-offset estimating and compensating circuit to calculate the phase differences instead of the conventional storing circuit and multiplier.
2. Description of Related Art
Orthogonal frequency division multiplexing (OFDM) technology is a modulation architecture used for a communication system, such as IEEE802.11a, which is very sensitive to frequency offset. Two major reasons cause the frequency offset. One of the reasons is that a frequency oscillator in a transmitter has different frequency from the oscillator in a receiver, and the other reason is that the movement of the wireless terminal device causes Doppler effect. Since the frequency offset causes the OFDM system to produce intercarrier interference (ICI), the performance of the system largely decreases. So that, to solve the frequency offset is very important to the transmission system using OFDM technology.
The mentioned frequency oscillators of the transmitter and the receiver are used for digital-to-analog conversion (DAC) and analog-to-digital conversion (ADC). Then the sampling frequency during transmission is not precise, and the sampling interval between the transmitter and the receiver makes an error. So that the timing for each symbol gradually gets offset and causes the sub-carrier to rotate, and further the phase for each symbol also gets offset. Likewise, since the sampling time is not correct, the orthogonality between the sub-carriers is reduced. Therefore, the mentioned. Intercarrier Interference forms and signal-noise-ratio (SNR) loses.
So that, in order to compensate the offset as generating signals, the mentioned OFDM technology utilizes some estimation circuitries for sampling frequency offset. The pilot signals retrieved from the entering symbols are employed by the conventional sampling frequency offset estimation circuit. When the number of entering symbols reaches a pre-set number, the pilot signals of preceding half symbols are retrieved and being accumulated with the pilot signals retrieved from the last half symbols. Next, the accumulating value is processed by a conjugate multiplication. Further, the phase values are obtained for calculating the phase difference between the adjacent symbols. After that, a least-error-sum-of-squares principle is used for obtaining the sampling frequency offset estimation value.
Since the sampling frequency offset estimation circuit is easily influenced by the channel under any condition as processing, the estimating process should be operated after the equalizer. After that, the estimation quality will be restricted by the equalizer and the estimation circuit has very low convenience and integration.
In one OFDM system, the input signal influenced by the sampling frequency offset is described as equation (1):
wherein, l is the index of the symbol of OFDM, k shows the subcarrier position of OFDM, Hk present the channel effect, Pl,k is the original signal without any influence, and ε presents the sampling frequency offset value. Since there are specific carriers transmitting the pilot signals, and the Nnoise,l in equation (1) includes the noise and ICI effect caused by the sampling frequency offset. In order to eliminate the effect, the carriers with the pilot signals are divided by Pl,k, and the accumulated two parts of symbols are processed as the equations (2) and (3):
Since a specific number of the symbols is accumulated, the values of Nnoise,l˜l
After that, a phase is retrieved shown as the equation (4), that is the exponent part thereof. Next, the phase is divided by lsum to obtain the phase difference between the adjacent symbols, such as the equation (5):
After that, the phase difference is operated by means of the least error sum of squares operation, and a sampling frequency offset ε is obtained. Next, this offset value is transmitted to a sampling-frequency-offset weight accumulating circuit to obtain an accumulated sampling frequency offset εsum. Subsequently, this accumulated sampling frequency offset value performs a conjugate multiplication to the original signals in accordance with the positions of the carriers such as the value k in equation (1), and the signals to be compensated are shown as:
The primary steps can be deduced from the above-mentioned process. The steps begin from a first step of receiving the signals. The signals are those influenced by the sampling frequency offset. Next, the pilot signals within are retrieved, and the input signals are calculated. Next, the original signals which are not influenced are employed to obtain the number of symbols through the equations (2) and (3). Further, the phase difference between the adjacent symbols is obtained by a conjugate operation, and then the phase difference is used to obtain the sampling frequency offset value by means of a least-error-sum-of-squares operation.
In order to compensate the sampling frequency offset, a block diagram of the circuit for estimating and compensating the sampling frequency offset is provided by the prior art, such as the diagram shown in
The figure shows a sampling circuit 101 that is used to receive the selected pilot signals. The input signals are described as equation (1). More, a circuit 103 receives and stores those pilot signals into the memory medium in the form of complex number. Next, the stored signals are separated into two sets of symbols for further operation, and the results are described as the mentioned equation (2) and equation (3) respectively. The results of the operation are further received by the circuits 105 and 107 respectively, and the symbols are separately accumulated by the accumulating circuits 109 and 111.
A multiplier, which is implemented by the conjugate multiplication circuit 113, performs the conjugate multiplication between the two accumulated symbols. Its result is described as equation (4). Further, the circuit 115 is used to obtain the phases, and compute the phase difference between the adjacent symbols. The phase difference is described as equation (5). Next, the circuit 117 operates by means of least-error-sum-of-squares, so as to obtain the sampling frequency offset (SFO).
The sampling frequency offset is introduced into a sampling-frequency-offset weight accumulating circuit 119, so as to obtain an accumulated sampling frequency offset. Next, the circuit 121 multiplies the accumulated sampling frequency offset value by a carrier position, and a conjugate multiplication circuit 123 performs a conjugate multiplication on the original signal with the corresponding carrier position. Next, the signal to be compensated is obtained and shown as equation (6).
At last, an equalization circuit next to the sampling frequency offset compensation circuit uses a complex number division operator 125 to apply the compensated signals to an original pre-set channel, so as to eliminate the channel effect.
According to the equations (2), (3), (4) and (6), besides the circuit for storing the complex number of the signals and the conjugate multiplication circuit are required to estimate the sampling frequency offset, an additional conjugate multiplication circuit is also required to compensate the offset in a conventional circuit. Therefore the cost of hardware will increase.
In addition, the complex number division operator adopted by the mentioned equalization circuit is very complicated, such as the regular way having a complex number multiplier, a division operator, two multipliers, one adder and a radical operation.
Since the conventional sampling frequency offset estimation circuit is to use the circuit for storing the signal with complex number to store the signals, and further to subtract the phase in the conjugate multiplication circuit. The hardware costs. More, in order to avoid the influence caused by the channel effect, the channel estimation cannot work before the equalizer but after the equalizer as the sampling frequency offset estimation circuit operates. So that, the estimation is limited by the equalizer and having very low convenience and integration.
Other than the sampling frequency offset estimation circuit of the prior art that utilizes the circuit for storing the complex number of the signal to store the signals, and the circuit for conjugate multiplication to operate the phase subtraction, the present invention provides an apparatus and the method of the sampling frequency offset estimation. Particularly, a concept of linear function is introduced to the invention, and that is only to utilize the circuit for storing the phases of the signals to store the phases, but not the circuit for storing the complex numbers of the signals. Thereby, the present invention accomplishes the sampling frequency offset estimation, reducing the storing circuits by incorporating the compensation circuit, and operating the circuit of conjugate multiplication, and, consequently to compensate the sampling frequency offset.
In order to replace the huge hardware required by the prior art, such as the circuit for storing the complex numbers of the signals and the circuit of conjugate multiplication, the present invention provides a preferred embodiment of the estimating method. Firstly, a sampling frequency offset estimation circuit is used to receive the signals that are retrieved to calculate the phase of each signal. Next, the pilot signals are retrieved. Next, the subtraction is processed to obtain the phase differences between the retrieved pilot signals and the pilot signals that delay for a plurality of symbols. A circuit for storing the signal phase difference is used to store the phase differences after the number of accumulated symbols reaches a specific number. A circuit for accumulating and calculating the phases between the adjacent symbols is further used to accumulate the phases of the symbols, so as to eliminate the systematic noise and the intercarrier interference.
According to the sampling frequency offset estimation circuit of the present invention, a least-error-sum-of-squares operation is used to calculate the phase difference between the adjacent symbols, so as to obtain an estimation value of the communication system.
After that, the estimation value will be introduced into the sampling frequency offset compensation circuit, and only a subtraction operation is performed between the weighted offset and the original signal phases in response to the carrier positions to obtain the signals to be compensated.
In which, the compensation circuit utilizes the mentioned estimation value to perform the steps of sampling frequency offset compensation. Next, the estimation value is introduced, and thereby to assign different weighting on different sampling frequency offset by means of an offset weight accumulating circuit, so as to obtain an accumulated offset. Further, the signals to be compensated are obtained by performing a subtraction operation between the accumulated offset and the original signals in response to the carrier positions.
The present invention will be readily understood by the following detailed description in conjunction accompanying drawings, in which:
To understand the technology, means and functions adopted in the present invention further, reference is made to the following detailed description and attached drawings. The invention shall be readily understood deeply and concretely from the purpose, characteristics and specification. Nevertheless, the present invention is not limited to the attached drawings and embodiments in following description.
In a communication system, the problem of the circuit itself, such as the analog-to-digital conversion, causes the sampling frequency offset. Especially in the OFDM system, the offset happens during every conversion, and the offset will be magnified as time flies. Further, the following modulation would be error. Other than the way to obtain the phase difference by the correlation of the adjacent signals and the conjugate multiplication of the prior art, the compensating apparatus and method for the sampling frequency estimation of the present invention is to obtain the phase angle for each signal (or symbol) at first step, and obtain the phase difference by direct subtraction, and obtain the average value over the phase differences during the process of the sampling frequency offset estimation. After that, the part of noisy interference can be eliminated.
In order to reduce the hardware consumption, the invention features that the provided sampling frequency offset estimation circuit can still be used to estimate the sampling frequency offset of the communication system, and the compensation circuit can be used to compensate the signals influenced by the sampling frequency offset. One of the objects of the invention is to design the hardware having less consumption, in which the apparatus includes the sampling frequency offset estimation circuit, the circuit for storing the signal phases, and the circuit for calculating the phase differences. So that the claimed apparatus substitutes for the prior art that costs large hardware consumption to store the signals with real part and complex part and the circuit operating conjugate multiplication.
In order to implement the provided circuits of the present invention, a linear concept in mathematics is mainly employed to reduce the hardware cost, as follows.
The apparatus for estimating and compensating sampling frequency offset of the present invention starts to receive the signals influenced by the sampling frequency offset in the beginning, the received signals can be described as equation (1):
In which, Hk presents the channel effect, and Pl,k presents the original signals without any influence, and ε is the sampling frequency offset value. One of the objects of the present invention is to minimize the noise and intercarrier interference, involved in Nnoise,l, caused by the sampling frequency offset. Next, the carriers with pilot signals of the input signals influenced by the sampling frequency offset are divided by Pl,k and the phases thereof are extracted and described as equation (7). Only the phase for each signal should be stored in the present invention.
Next, the phases of a symbol and another one with an interval of lsum symbols are subtracted, that is, the phases of the symbol with lsum symbols delay and the original received signals are subtracted, as described in equation (8). In which, the subscript shown in the equation (8) presents the interval of lsum.
Since the phase after subtraction described in equation (8) has a probability being larger than π or smaller than −π, the later operation will get a serious error. Therefore, the phase difference after subtraction needs to be adjusted in a range of ±π, which is shown as equation (9):
Since the (arg{Nnoise,l}−arg{Nnoise,l+l
Since a number of symbols are accumulated, the value of arg{Nnoise,l˜l+2*l
After that, the phases of signals are retrieved. The signals that are compensated can be obtained from a subtraction operated between the value εsum and the phases of the original signals according to the positions of the carriers such as the value k in equation (1). The signals to be compensated can be described as equation (12):
In mathematics, in view of the equations (8), (10) and (12), only a circuit for storing signal phase is used to store the phases as estimating the sampling frequency offset in the present invention. So that, the circuit for storing the complex number with real part and imaginary part is not requisite. The phase-difference calculating circuit of the present invention is used to achieve the subtraction between the phases, but not the conjugate multiplication circuit. Further, the phase-difference calculating circuit in substitution for the conjugate multiplication circuit can apparently reduce the cost.
Furthermore, an equalization circuit next to the mentioned sampling frequency offset compensation circuit can either be implemented by a complex divider, the more complicated scheme, or by the less complicated scheme such as phase subtraction and amplitude subtraction. Since the signal from the sampling frequency offset compensation circuit is in form of phase, the following circuits can reduce the hardware cost by the mentioned scheme.
As the signals enter the system, the sampling frequency offset estimation circuit 20 shown in
In the meantime, the phase difference values are obtained by the subtraction operation between the received signals and the pilot signals delayed for a plurality of symbols by the delay circuit 205. Next, the phase-difference calculating circuit 207 is described as equation (8) that is used to perform the subtraction of the symbols. The mentioned phase-difference calculating circuit substitutes the scheme of accumulating the number of symbols and the conjugate multiplication for obtaining the phase differences.
Rather than the circuit for storing every signal of the prior art, only the circuit for storing phase difference 209 is used to store the phase differences obtained by the phase-difference calculating circuit 207. The equation (9) adjusts the values after subtraction within ±π before storing the phase differences. Next, a circuit 211 for accumulating and calculating the phases of the adjacent symbols to a specific number of symbols. The equation (10) describes the equation for minimizing the noise and the intercarrier interference in the system.
A circuit 211 for accumulating and calculating the phases between the adjacent symbols implements the equation (11). Then the accumulated symbol phases are delivered to the least-error-sum-of-squares operating circuit 213, thereby to obtain the phase differences between the adjacent symbols. The phase differences are the sampling frequency offset values of the communication system after the least-error-sum-of-squares operation.
According to the present invention, such as equation (12) describes, the compensated signals will be obtained as performing the subtraction operation between the original signals and the signals in different carrier positions. Reference is made to
Referring to
The compensation circuit receives the phase calculated by the sampling frequency offset estimation circuit 20. Next, the offset estimation value ε of the communication system is introduced into a sampling frequency offset weight accumulating circuit 303, so as to assign each symbol the different weight on the sampling frequency offset. All the offset values are added to obtain the sampling frequency offset εsum after accumulation.
Next, a carrier-position multiplying circuit 305 is used to multiply each symbol and the signals with carrier positions, that is, each sample of each symbol corresponds to each position of each carrier. Next, a phase-difference calculating circuit 307 performs the subtraction operation between the original signals and the εsum with corresponding carrier-position, so that the compensated signal is obtained.
The invention has another advantage of avoiding the equalizer limiting the estimation quality since the equalizer of the present invention is disposed after the claimed sampling frequency offset estimation circuit 20 and the sampling frequency offset compensation circuit 30. Reference is made to
In this equalization circuit 40, other than the conventional complex divider with complicated operation, a subtractor 401 shown in
Since the divider 403 has complicated hardware design, the cooperation of the sampling frequency offset estimation circuit and sampling frequency offset compensation circuit can ignore the complex divider. Therefore, the following circuitry cost can be reduced further.
To sum up the above-mentioned estimation calculation and reference is made to the flow chart shown in
Since the phase differences are obtained, only the circuit for storing the phase differences or the relevant buffer memory are employed (step S511). Further, the method goes to accumulate the symbols in step S513. Next, the phase differences between the adjacent symbols are obtained (step S515). After that, a least-error-sum-of-squares operation is used to obtain the sampling frequency offset estimation values (steps S517, S519).
After obtaining the accumulated offsets, the corresponding carrier position for each symbol can be obtained as the symbol multiplying the carrier position (step S609). A subtraction operation is performed between the original symbols and the accumulated offset according to the different carrier positions (step S611). The signals to be compensated are obtained (step S613).
The sampling frequency offset estimation circuit and compensation circuit of the present invention have the following merits in comparison with the prior art:
1. The sampling frequency offset estimation circuit can be a circuit for storing phases in substitution for the circuit for storing complex number of the conventional design. The buffer memory in the communication system can only store the phases, but not to store the real part and the imaginary part of the complex number. The buffer memory can be saved.
2. The sampling frequency offset estimation circuit of the present invention can be implemented as a circuit for calculating phase difference in substation for the conjugate multiplication circuit for saving the consumption of a multiplier.
3. The sampling frequency offset compensation circuit can be implemented as circuit for calculating phase difference in substitution for the conjugate multiplication circuit. A multiplier can be saved.
4. The equalization circuit of the present invention can be implemented as a circuit for calculating phase difference and an amplitude divider in substitution for a complex divider. The complex divider can be saved.
The many features and advantages of the present invention are apparent from the written description above and it is intended by the appended claims to cover all. Furthermore, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation as illustrated and described. Hence, all suitable modifications and equivalents may be resorted to as falling within the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
96145109 | Nov 2007 | TW | national |