976 CHAO GONG, BANGNING ZHANG, AIJUN LIU, DAOXING GUO, A HIGHLY ACCURATE AND LOW BIAS SNR ESTIMATOR… A Highly Accurate and Low Bias SNR Estimator: Algorithm and Implementation Chao GONG, Bangning ZHANG, Aijun LIU, Daoxing GUO Inst. of Communication Engineering, PLA Univ. of Science and Technology, Yudao Street, 2, 210007, Nanjing, China gongchao.089, Bnzhang089, Ajliu089,
[email protected] Abstract. Signal to noise ratio (SNR) estimators are required for many radio engineering applications. In this paper, a SNR estimator based on the first and second order moments is derived and examined for constant envelope modulations over additive white Gaussian noise (AWGN) channel. Firstly, a modification method is proposed to reduce the bias of conventional first and second order moments based SNR estimator. Then, in order to reduce hardware implementation complexity, multi segments of cubic polynomial are utilized to approximate the nonlinear inverse function of the proposed SNR estimator. The approximate expression is very precise in the SNR range from -10dB to 20 dB as illustrated by numerical simulation results. Besides, practical hardware circuit is proposed for FPGA implementation. Simulation results show that the proposed SNR estimator has the lower normalized bias and variance when compared with two other classic estimators. Keywords SNR estimation, MPSK, moment based, curve fitting, FPGA. 1. Introduction Many radio engineering applications require highly accurate and low bias estimation of signal to noise ratio (SNR) to achieve optimal performance. For example, in modem wireless communication networks, the coding and modulation methods of the transmitted data stream are adapted to match the channel capacity according to the SNR of the channel [1]. Besides, the knowledge of SNR is very important to the iterative decoding and detection techniques which represent the state of the art in wireless digital receiver technology [2]. SNR estimation is also often a requirement for many other applications such as power control, equalization, handoff and dynamic allocation of resources [3]. Various works cited in the literature are devoted to the estimation of SNR using data-aided (DA) or non-data- aided (NDA) approaches. Special pilot symbols or training sequence known to the receiver must be inserted into the data stream for the DA estimators, which reduce the system throughput. Considering the bandwidth efficiency, the NDA estimators may be more favorable choice for many applications. Hence, we only study the NDA SNR estimation techniques in this paper. Roughly speaking, the NDA estimators can be further divided into two major categories, the carrier aided (CA) and non-carrier aided (NCA) methods, depending on whether the carrier parameters, frequency and init-phase, are prior known or not. For the CA method, several estimators have been investigated. In [4], the authors introduced an online SNR estimator with SNR in the range from 0 to 6 dB which was broadened to -5 ~ 12 in [5]. Besides, four simple estimators for QPSK modulation were compared in [6]. In order to reduce the bias in the low SNR, the authors proposed an iterative estimation approach in [7] at the expense of higher complexity. In [8], a simple SNR estimator was proposed for QPSK modulation. However, all of the above mentioned CA estimators are sensitive to carrier parameter estimation errors. In order to avoid the problem, SNR can also be estimated based on envelope of the received signals which is NCA method. As the signal envelope is independent of the carrier frequency and phase, the carrier parameter estimation errors have no influence on the NCA estimators. The algorithm utilizing the second and fourth order moments of envelope, referred to as M2M4 [9], [10], may be the most famous NCA estimator. In [11], the authors proposed a highly accurate NCA estimator using the first and second order moments, which can be implement by a lookup table. The drawback of the algorithm is that the bias tends to increase with the SNR due to the finite dimension of the lookup table. An iterative estimation technique was derived in [12], which avoid the finite accurate problem in [11]. Besides, envelope based SNR estimators were extended for APSK and QAM modulation in [13] and [14] respectively. In this paper, we focus on design NCA SNR estimator for M-ary phase shift keying (MPSK) modulation over AWGN channel. The proposed estimator achieves highly accurate and low bias in a wide SNR range as proved by simulation and it is also very suitable for hardware implementation on field programmable gate array (FPGA). The remainder of this paper is organized as follow. First of all, we introduce the system model and some basic concept in section 2. Then a new SNR estimator is derived in section 3. What’s more, we use multi-segments of cubic
RADIOENGINEERING, VOL. 20, NO. 4, DECEMBER 2011 977 polynomial to approximate the expression of the new estimator and present a practical hardware circuit in section 4. In section 5, the performances of the proposed estimator are evaluated and compared with other two classic SNR estimators by numerical simulation. Finally, section 6 concludes the paper. 2. System Model We consider the MPSK modulation over an AWGN channel. Assuming perfect timing synchronization has been realized, the received symbol-spaced samples at the matched filter output can be represented by (2 2 / ) n jfnT cM nn rAe πθπ ω ++ =+ (1) where 0,1, 2 1nN=−is the time index in the observation interval, A is the amplitude of the transmitted signal, f and θ are the carrier frequency and init-phase respectively, Tis the symbol space, M is the modulation order, 0,1, 2, 1 n cM∈−()is the modulating data and ωn is a complex white Gaussian random variable having zero mean and variance 2 2 σ . The SNR of the received samples is defined as the ratio of transmitted signal power Sto the one side noise power spectral density N0, which can be given by 2 2 02 SA N ρσ == (2) What we are interested in is the signal envelope which is defined as nn ur= (3) where |·| denotes absolute value. It’s obvious that un has no relationship with the phase of the received samples. Hence, the carrier parameter estimation results have no influence on envelope based estimators, and the estimator can be used for MPSK modulation with any value of M. As pointed out in [15], the envelope un is Ricean distributed and the thkorder moment of un can be expressed as 2/2 11 [ ] ( ) ( / 2 1) ( / 2 1;1; ) kk kn MEu k eFk ρ σ ρ Γ− == + + (4) where E[.] denotes expectation, Γ(.) is the gamma function, and 1F1(·;·;·) is the confluent hyper geometric function. It’s not difficult to find from (4) that the thkmoment of un depends only on two unknown parameters 2 σ and ρ . Hence the value of ρ can be estimated utilizing at least two different moments. 3. Estimation Algorithm Our goal is to find a highly accurate and low bias SNR estimator with the least hardware cost and without the knowledge of carrier parameters. Suppose that k is not equal to l, we can get the following equation [11] 11 ,, 11 ((/2 1) (/2 1;1; )) () ((/2 1) (/2 1;1; )) ll k kl kl kk l MkeFk f MleFl ρ ρ ρ λρ ρ Γ Γ − − ++ == = ++ (5) which depends only on ρ but not on 2 σ . As fk,l is a monotone function in the interval (0, ) ρ ∈+∞, the envelope based estimator that depends on the thkand thlorder moment can be got by inverting the corresponding fk,l to solve for ρ , which can be expressed as 1 ,() l k kl k l M fM ρ − =. (6) This is a unified expression for all kinds of envelope based SNR estimators. 3.1 Conventional Envelope Based Algorithms Although the moment orders can be any two different values for equation (6), only the second and fourth order moments based estimator (M2M4) has a close form solution as we know. The M2M4 algorithm can be expressed as 2 24 24 24 2,4 24 212 1 λλλ ρλ −+− − =− ,,, , . (7) In fact, it’s the equivalent to the algorithm proposed in [6]. For MPSK modulation, the optimum choice for kand lare 1k=and 2l=as demonstrated by simulation result in [11]. The expression of the first and second moments based estimator is given by 1 1,2 1,2 1,2 ()f ρ λ − =, (8) 2 12 1,2 0 1 () ((1 )() ()). 41 2 2 e fII ρ πρρ λρ ρ ρ ρ − == + + + ,() (9) where 2 12 1 2 / M M λ = ,, and Im(·) is Bessel function of the first kind with the order m. Although it’s not a close form solution for ρ1,2, it can be realized by a lookup table which would simple consist of a number of samples of the inverse function f-1 1,2(·). As an alternative, the authors proposed an iterative estimation algorithm which was also based on the first and second moments in [12]. The iterative estimator uses a simplified equation to estimate the SNR in the first, and then iteratively revises the bias step by step. The detail about the iterative process can be found in [12]. As shown by simulation result in [12], the performance of the two implementation method is similar to each other. Hence we refer to both of the two algorithms as M1M2 in simulation. In practice, the first, second and fourth order moments are estimated by their respective time averages as 1 22 2 0 2 2,4 1 4 4 0 1 () ˆ ˆˆ1 N n n N n n u MN Mu N λ − = − = == , (10)
978 CHAO GONG, BANGNING ZHANG, AIJUN LIU, DAOXING GUO, A HIGHLY ACCURATE AND LOW BIAS SNR ESTIMATOR… 1 2 2 0 1 1,2 1 2 2 0 1 () ˆ ˆˆ1 N n n N n n u MN Mu N λ − = − = == (11) where Nis the observation length. As un is known in the receiver, the SNR of the received samples can be estimated utilizing above two statistics with equation (7) and (8). 3.2 New Algorithm All of above mentioned algorithms use these statistics to replace corresponding parameters directly. However, we find that there is bias for the M1M2 estimator especially when the observation length is short. Let’s evaluate the expectation of 2 1 ˆ M , which can be expressed as 1 22 1 0 111 2 22 000; 1 ˆ [] [( )] 11 [][ ] N n n NNN nnm nnmmn EM E u N EuE uu NN − = −−− ===≠ = =+ (12) If n is not equal to m, un is independent of um. So we can further express (11) as 111 22 122 000; 2 21 11 ˆ [] [] [][] 11 NNN nnm nnmmn EM Eu Eu Eu NN N MM NN −−− ===≠ =+ − =+ (13) Ignoring the effect of the divider in (10), the expectation of the statistic 1,2 ˆ λ can be expressed using (11) and (12) as 2 1 1,2 1,2 2 1111 ˆ [] M NN ENNMNN λλ −− ≈+ =+ . (14) Above equation indicates that 1,2 ˆ λ is a biased estimation of 1,2 λ . What’s more, we can reduce the bias by 1,2 1,2 1 ˆ 11 N NN λλ =− −− . (15) The effect of the proposed modification method with N = 32 is illustrated by Fig. 1. We can see that there is an obvious gap between 1,2 ˆ λ and 1,2 λ , whereas the modified statistic 1,2 λ tightly match to the real value of 1,2 λ . The corresponding SNR range is from -10 dB to 20 dB. Although the modification method given by (15) does reduce the estimation bias as proved by simulation results, we find that the estimation of ρ utilizing 1,2 λ is still biased. That’s because the inverse function f-1 1,2(·) is nonlinear which induces that an unbiased estimation of 1,2 λ can’t ensure unbiased estimation of ρ . Motivated by the improvement of (15), we hope that residual bias can be further reduced if the result of (15) is modified in the same way once again. Hence an ad hoc modification method is given by 2 ' 1,2 1,2 1,2 22 112 ˆ 11(1)(1) N NN NNN N λλ λ − =−= + −−− − . (16) 0.8 0.82 0.84 0.86 0.88 0.9 0.92 0.94 0.96 0.98 1 0.8 0.82 0.84 0.86 0.88 0.9 0.92 0.94 0.96 0.98 1 Statistics and Real Value of λ 1,2 λ 1,2 Real Value Equation (11) Equation (15) Fig. 1. Statistics vs. real value of 1,2 λ . Finally, the new algorithms can be expressed as 1 1121,2 ˆ() new f ρ λ − =,, (17) 1' 2121,2 ˆ() new f ρ λ − =, (18) which are referred to as Modify1 and Modify2 respectively in the following discussion. 4. Hardware Implementation We are interested in implementing the SNR estimator on the FPGA. As the main difficulty for hardware implementation is how to realize the inverse function f -1 1,2(·), we focus on the realization methods of the inverse function. Although there is no precise close form solution for the inverse function, it can be realized by lookup table, iterative processing or curve fitting methods. The lookup table technique may be the simplest method, but the table will become too big to be implemented on the FPGA when wide range of SNR and high accuracy are required. The iterative processing technique is also not suitable for hardware implementation, since it requires many nonlinear computations which will use too much hardware resources. Hence, we choose the curve fitting technique. The basic idea of curve fitting is using polynomials to approximate a nonlinear curve. In [4], a second order polynomial is used to approximate the inverse function of a CA SNR estimator in the SNR range from 0 to 6 dB. The SNR range is broadened to -5~12dB utilizing a fifth order polynomial in [5]. After thorough research, we find that the second order polynomial can’t approximate the curve with high precise over a large range of SNR and the fifth order polynomial requires too much hardware resources, although the second order polynomial and fifth order polynomial can also be used for the NCA SNR estimator. A superior method is using multi-segments of cubic (third order) polynomial. In order to reduce the bits used for representing the polynomial parameters, we rewrite equation (8) in the decibel domain as
RADIOENGINEERING, VOL. 20, NO. 4, DECEMBER 2011 979 /10 1 10 1 2 10log ( (10 )) ( ) dB dB dB fg λ ρ λ − == , (19) where 1,2 10log10( ) dB λλ =and 1,2 10log10( ) dB ρρ =. Besides, the expression of (9) in the decibel domain can be given by /10 10 1,2 10log (10 ) dB dB f ρ λ =. (20) As (20) is close form, we can calculate dB λ if dB ρ is know. This mapping is one to one and (19) is the inverse of (20), so we can get a group of data about (19). Using the MATLAB function ‘POLYFIT’ to fit these data, we can achieve the approximate expression of (19) by multisegments of cubic polynomial as '32 3 ()/2 dB s dB s dB s dB s abcd ρ λλλ =+++ (21) where s is the index of segment. The value of s is decided by 1 -1.0120 2 -1.0120 -0.8531 3 - 0.8531 -0.1966 4 -0.1966 -0.0665 5 - 0.0665 -0.0215 dB dB dB dB dB s λ λ λ λ λ ≤ <≤ =<≤ <≤ <≤ (22) and the polynomial parameters for different segment and corresponding SNR range are giving in Tab. 1. s as b s c s d s SNR range (dB) 1 1440135 4409935 4501934 1532113 -10<SNR≤-5 2 4779 12488 11038 3295 -5<SNR≤0 3 190 324 285 125 0<SNR≤10 4 9714 4787 1033 170 10<SNR≤15 5 272967 44429 3117 209 15<SNR≤20 Tab. 1. Polynomial parameters for different segments. The strobe of λdB is optimized based on many trails. We can find from Tab. 1 that 9 bits are enough to represent the parameters if we are only interested in the SNR range 0~10 dB. 15 bits will be required if the range is broadened to -5~15 dB. 21 bits will be required when the range of SNR is from -10 dB to 20 dB. The curve fitting effect can be seen from Fig. 2. It is obvious that the two curves match to each other perfectly. -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 -10 -5 0 5 10 15 20 λdB ρdB Equation (19) Equation (21) Fig. 2. Curve fitting effect. s d ⊗ ⊗ ⊗ s c ⊗ s b ⊗ s a ⊕ s d s c s b s a 1,2 λ dB λ dB λ dB ρ Fig. 3. Hardware circuit of the inverse function in the decibel domain. The hardware circuit of the inverse function in decibel domain for FPGA implementation is given in Fig. 3. The logarithm conversion can be implemented by a low complexity technique named Coordinate Rotation Digital Computer (CORDIC) [16]. The polynomial parameters of all segments are stored in a small table and selected by the input statistic according to (22). It should be point out that the input of the circuit can be 1,2 ˆ λ , 1,2 λ or ' 1,2 λ which refer to different algorithms. 5. Numerical Simulation The ‘best’ SNR estimator is the one that is unbiased (or exhibits the smallest bias) and has the smallest variance [3]. Hence, we evaluate the normalized bias (NB) and normalized mean square error (NMSE) of the proposed estimator by numerical simulation. The bias and mean square error normalized to the true SNR are computed from Ltrials respectively as 1 ˆ 1 ˆ NB( ) L l l L ρρ ρ ρ = − = , (23) 2 1 ˆ 1 ˆ NMSE( ) ( ) L l l L ρρ ρρ = − = (24) where ˆl ρ is the estimation of ρ at the thltrial. -10 -5 0 5 10 15 20 -1 0 1 2 3 4 5 6 SNR (dB) Normalized bias of SNR estimation M2M4 M1M2 Modify1 Modify2 Fig. 4. Normalized biases of several SNR estimators.
980 CHAO GONG, BANGNING ZHANG, AIJUN LIU, DAOXING GUO, A HIGHLY ACCURATE AND LOW BIAS SNR ESTIMATOR… -10 -5 0 5 10 15 20 -10 -5 0 5 10 15 20 25 SNR (dB) Mean of SNR estimation (dB) Perferct Estimation M2M4 M1M2 Modify1 Modify2 Fig. 5. Mean values of several SNR estimators. For comparison, simulation results are also provided for the conventional M2M4 and M1M2 algorithms. 10000L= trials are made and observation length for each trial is 32N= in simulation. The received samples are QPSK modulated. The normalized frequency and initphase are set to be 0.01fT = and 0.2 θ = respectively without loss of generality. Fig. 4 shows the normalized bias of the estimators as function of SNR over the range from -10 dB to 20 dB. We can see that the proposed SNR estimator, Modify2, performs best over the whole range of SNR. The bias of Modify1 is lower than the M2M4 and M1M2, but is higher than the Modify2. Although someone may think that the bias can be further reduced if the statistic ' 1,2 λ modified one more time, we find it’s not true by simulation. Proof of the result with theoretical analyses may be a further work which is intractable and not presented here. The performance gain of the Modify2 increases with the decrease of SNR. That’s because the influence of the additive modify factor (1 – 2N)/(N – 1)2 in (16) is more obvious for small values of SNR. -10 -5 0 5 10 15 20 10 -2 10 -1 10 0 10 1 10 2 SNR (dB) NMSE of SNR estimation M2M4 M1M2 Modify1 Modify2 Fig. 6. NMSE of several SNR estimators vs. SNR. 16 32 64 128 256 512 1024 2048 4032 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Observation length N NMSE of SNR estimation M2M4 M1M2 Modify1 Modify2 Fig. 7. NMSE of several SNR estimators vs. observation length. In order to further examine the bias property of the estimators, the mean of the estimated SNR for each estimator is plotted versus the true SNR in Fig. 5. We find that the mean of estimation value of the Modify2 with only 32 available data can be very close to the true SNR value even when the SNR is as low as -2 dB. So the Modify2 algorithm can be used for short burst communication, such as slow frequency hop transmission. For comparison, Fig. 6 and 7 show the normalized noise variances of the four SNR estimators versus SNR and observation length respectively. The SNR is set to be 8 dB in simulation for Fig. 7. Thanks to the modification technique, the variance of the proposed SNR estimator is lowest among all of the four estimators in both of the two figures. We can also see that the performance of M1M2 is better than the M2M4. The same conclusion is also made in [12]. Although more comparisons with other SNR estimation algorithms are not presented here, we can expect that the new estimator is superior to most of them since the M1M2 algorithm has been proved to perform best among many algorithms in [12]. 6. Conclusion A highly accurate and low bias SNR estimator is proposed for MPSK modulation in this paper. Based on the expectation of the statistics with finite observation length, a modification algorithm is derived to reduce the bias of traditional M1M2 estimator. The inverse function representing the M1M2 estimator is approximated by multi segments of cubic polynomial with high precision in the range of SNR from -10 dB to 20 dB. We also investigate the FPGA implementation method and propose practical hardware circuit for the estimator. The performances of the SNR estimator are evaluated by simulation and compared with other two estimators. It’s shown that the proposed estimator performs best among all of the examined estimators. Besides, the new estimator doesn’t require the knowledge of transmitted data and carrier parameters. So
RADIOENGINEERING, VOL. 20, NO. 4, DECEMBER 2011 981 the SNR estimator is not sensitive to carrier parameter estimation errors. The demodulation delay can be reduced as the SNR can be estimated at the same time when carrier parameters are being estimated. What’s more, it can be adopted by MPSK modulation with any order. The proposed estimator can be widely used in many fields, such as adaptive transmission, turbo decoding, power control and so on. Acknowledgement The authors would like to thank the reviewers whose comments led to improvements to the paper. References [1] BENEDETTO, S. et al., High-speed ACM modem for satellite application. IEEE Wireless Communications, April 2005, p. 66-77. [2] HANZO, L., WOODARD, P., ROBERTSON, P. Turbo decoding and detection for wireless applications. Proceedings of the IEEE, 2007, vol. 95, no. 6, p. 1178-200. [3] BEAULIEU, N., TOMS, A., PAULUZZI, D. Comparison of four SNR estimators for QPSK modulation. IEEE Communication Letters, Feb. 2000, vol. 4, p.43–45. [4] SUMMERS, A., WILSON, G. SNR mismatch and online estimation in turbo decoding IEEE Transactions on Communications, 1998, vol. 46, no. 4, p. 421-423. [5] XU, H., ZHENG, H. The simple SNR estimator for MPSK signals. In Proc. IEE ICSP, vol. 2, p. 1781-1785 [6] BEAULIEU, N., TOMS, A., PAULUZZI, D. Comparison of four SNR estimators for QPSK modulation. IEEE Communication Letters, 2000, vol. 4, no. 2, p.43–45. [7] LI, B., DIFAZIO, R., ZEIRA, A. A low bias algorithm to estimate negative SNRs in an AWGN channel. IEEE Communication Letters, 2002, vol. 6, no. 11, p. 469–471. [8] REN, G., CHANG, Y., ZHANG H. A new SNR’s estimator for QPSK modulations in an AWGN channel. IEEE Transaction on Circuits and Systems—II: Express Briefs, 2005, vol. 52, no. 6, p. 336-338. [9] BENEDICT, R., SOONG, T. The joint estimation of signal and noise from the sum envelope. IEEE Trans. Inform. Theory, 1967, vol. IT-13, p. 447–454. [10] MATZNER, R., ENGLEBERGER, F. An SNR estimation algorithm using fourth-order moments. In Proc. IEEE Int. Symp. on Information Theory. Trondheim (Norway), 1994, p. 119. [11] GAO, P., TEPEDELENLIOGLU, C. SNR estimation for nonconstant modulus constellations. IEEE Trans. Signal Processing, 2005, vol. 53, no. 3, p. 865-870. [12] BAKKALI, M., STEPHENNE, A., AFFES, S. Iterative SNR estimation for MPSK modulation over AWGN channels. Vehicular Technology Conference. Montreal (Que), 2006, p. 1-5. [13] LOPEZ-VALCARCE, R., MOSQUERA, C. Sixth-order statisticsbased nondata-aided SNR estimation. IEEE Communication Letters, 2007, vol. 11, no. 4, p.351-353. [14] STEPHENNE, A., BELLILI, F., AFFES, S. Moment-based SNR estimation over linearly-modulated wireless SIMO channels. IEEE Transaction on Wireless Communications, 2010, vol. 9, no. 2, p. 714-722. [15] PROAKIS, G. Digital Communications. 4th edition. New York: McGraw-Hill, 2001. [16] KOTA, K., CALLARO, R. Numerical accuracy and hardware trade-offs for CORDIC arithmetic for special purpose processors. IEEE Transactions on Computers, 1993, vol. 42, no.7, p.769-779. About Authors Chao GONG was born in Jiangxi, China, on November 6, 1984. He received his B.S. degree in communication engineering in 2006 from the PLA University of Science and Technology (PLAUST), Nanjing China. He is currently working toward the Ph.D. degree in satellite communication in PLAUST. His research interests include digital signal processing, adaptive transmission and iterative receiver. Bangning ZHANG was born in 1963, received his B.S. degree in communication engineering in 1983 from the Institute of Communication Engineering, Nanjing China. He is currently a professor at PLA University of Science and Technology. His research interests are focused on satellite communication, information theory and anti-jam communication. Aijun LIU was born in 1970, received his Ph.D. degree from the Institute of Communication Engineering in 1996. He is currently a professor at PLA University of Science and Technology. His primary research work and interests are in the area of wireless communication and signal process. Daoxing GUO was born in 1974, received his Ph.D. degree from the Institute of Communication Engineering in 2002. He is currently a professor at PLA University of Science and Technology. His research interests mainly fall in the area of satellite communication, adaptive transmission and all digital receivers design.