Proceedings of IEEE 72nd Vehicular Technology Conference: VTC2010-Fall - 6-9 September 2010, Ottawa, Canada
DoA Estimation with Compensation of Hardware Impairments Daniele Inserra and Andrea M. Tonello DIEGM - Universit`a di Udine - via delle Scienze 208 - 33100 Udine - Italy phone: +39 0432 558042 - fax: +39 0432 558251 - e-mail:
[email protected],
[email protected] Abstract—We consider the estimation of the direction of arrival (DoA) in the presence of hardware impairments that include the RF carrier frequency offsets, the phase offsets generated by an uncalibrated array, and the DC offset. The impairments model has been derived from the analysis of a hardware multiple antenna test-bed that uses direct down-conversion RF front-ends. The performance of the proposed algorithm has been investigated both analytically and via simulations. We show that the estimator provides good performance for a wide range of angles and it is robust to the hardware impairments.
In particular, we evaluate the Cramer-Rao bound. Simulation results are reported in Section VI. II. S YSTEM MODEL DESCRIPTION We consider a source that emits a single tone signal s(t) = ej2πf0,RF t and a receiver equipped with a linearly equispaced antenna array of M elements. Assuming a plane waves lineof-sight propagation scenario, the incident signal at the i-th antenna element (sensor) can be written as (i)
(i)
xRF (t) = ρ(i) ej2πf0,RF (t−τ −Δt
I. I NTRODUCTION The estimation of a signal direction of arrival (DoA) has attracted considerable research efforts. Several algorithms have been proposed and they exploit the phase difference of the signals received by distinct antenna elements [1]-[2]. The performance of the estimator can be severely affected by the presence of hardware impairments. Some of these impairments have been considered in the literature among which the array uncalibration that causes a phase ambiguity [3]-[4], the imperfect knowledge of the array position [5], the mutual coupling of the array elements [6]. However, there are also other impairments that need to be taken into account as the presence of offsets among the emitter and the receiver carrier frequency, and the presence of a DC bias. Carrier frequency offsets can also be introduced because of the emitter movement in vehicular scenarios. In this paper we consider a system model that takes into account the presence of an uncalibrated array, carrier and phase offsets among the transceivers, as well as the presence of a DC bias. The model has been derived by the experimental characterization of a hardware test-bed that comprises a four element linearly spaced array, four direct-conversion RF receivers, and an eight channel acquisition board with FPGA. The test-bed operates at 2.4 GHz and it is based on the Lyrtech platform [7]. We have not considered the I&Q imbalance problem because measurements have revealed that in our test-bed it is of negligible entity. The base-band system model is described in Section II. An algorithm for the compensation of the impairments and the DoA estimation is presented in Section III. The algorithm mitigates the DC offsets via filtering the signals down converted at an intermediate low frequency. Then, a spatio-temporal differential metric is implemented to cancel the time variant phase ambiguity generated by the carrier frequency offsets. We study the performance of the estimator in Section IV.
)
(i)
+wRF (t), i ∈ [1, M ] (1)
where f0,RF is the plane wave frequency, τ is the propagation delay between the emitter and the receiver array, Δt(i) is the propagation delay between the first sensor and the i-th one caused by a non-zero propagation angle φ between the incident (i) signal and the array (Fig. 1), and wRF (t) is the additive noise. We also assume the attenuation ρ(i) (propagation loss) to be time invariant during the DoA estimation. Under the plane wave propagation assumption, we can express the propagation delay as Δt(i) =
d (i − 1) sin(φ), i ∈ [1, M ] c0
(2)
where d is the distance between the sensors and c0 is the speed of light. We consider a direct-conversion RF hardware architecture as sketched in Fig. 1 followed by sampling the signals with period T . Assuming to down-convert the RF signals to a low frequency f0 , the sequence of samples for the i-th sensor can be written as x(i) (nT ) = x(i) n (i)
= α(i) ej(ψn
−Φ(i) )
+ wn(i) , i ∈ [1, M ]
(3)
where ψn(i) = 2π(f0 + Δf (i) )nT − 2πf0,RF τ − 2πf0,RF Δt(i) (4) (i)
where fc = f0,RF −f0 −Δf (i) is the down-conversion carrier frequency of the i-th receiver. We assume it to be somewhat smaller than f0,RF to allow the elimination, as it is explained (i) in the following, of the DC offset wDC that is introduced by the direct conversion chain. Furthermore, each receiver suffers of a carrier frequency offset Δf (i) , and a phase offset Φ(i) . (i) Also, we assume wn circularly symmetric Gaussian, with (i) mean wDC and variance per component N0 /2. Finally, α(i) is
978-1-4244-3574-6/10/$25.00 ©2010 IEEE
filtering totally removes the DC offset effect, so that the noise (i) wF,n has zero mean. Now, if we assume the carrier frequency offsets of the M receivers identical, i.e., Δf (i) = Δf, ∀i ∈ [1, M ], we can perform a differential operation among pair of distinct antenna signals to remove them. This yields the signals (2i−1)
zn(i) = xF,n
(2i)∗
· xF,n ˆ
ˆ (i) )
=α ˆ (i) ej(ψ−Φ
(6)
+w ˆn(i) , i ∈ [1, M/2]
where d ψˆ = 2πf0,RF sin(φ) c0 ∗ α ˆ (i) = α(2i−1) · α(2i) ˆ (i) = Φ(2i−1) − Φ(2i) Φ
(7)
and the noise contribution is (2i−1)
w ˆn(i) = wF,n Fig. 1. Main blocks of the direct conversion receiver architecture. The antenna receives a signal that is filtered by a band select filter (BSF), it is amplified by a low noise amplifier (LNA), and down-converted. Finally, it is filtered by a channel select filter (CSF).
the time-invariant channel gain that includes the propagation loss and the receiver gain. It is real due to the fact that we neglect the I&Q imbalance. Furthermore, we denote the carrier phase offsets with Φ(i) . The estimation of the DoA can be done exploiting the phase difference among the sensors 2πf0,RF Δt(i) that is due to the different propagation delay. Unfortunately, the presence of the hardware impairments causes a phase uncertainty as a result of the presence of the contribution from the carrier frequency offset 2π(f0 + Δf (i) )nT and the carrier phase offset Φ(i) . Furthermore, the DC offset is also a source of error. III. J OINT I MPAIRMENT C OMPENSATION AND D OA E STIMATION In this section we describe the proposed algorithm for DoA estimation and the compensation of the hardware impairments. It is based on first removing the DC offset. Then, we perform a spatio-temporal differential operation. A. Impairment Compensation
+
(2i)∗
(i)
xF,n = h ∗ x(i) n (i)
−Φ(i) )
(i)
+ wF,n , i ∈ [1, M ]
(5)
where we have assumed the carrier frequency offsets to be small compared to the filter bandwidth. The filtered noise (i) wF,n has approximately zero mean depending on the filter selectivity. In the following analysis we assume that the
e
(8)
As (6) reveals, the time variant phase ambiguity introduced by the carrier frequency offset is removed, and we are left with the useful phase ψˆ that is a function of the angle of arrival φ. Furthermore, the noise contribution has zero mean under the (2i−1) (2i) assumption of wF,n and wF,n to be independent with zero mean, and it has variance 2 (2i) 2 2 2 2 2 | σw(2i−1) + |α(2i−1) |2 σw σw (2i) + σ (2i−1) σ (2i) ˆ (i) = |α w w F
F
F
F
(9)
(i)
where σ 2 (i) is the variance of wF,n . There is still a phase wF ˆ (i) that needs to be removed from the useful ambiguity Φ signal. This is due to the array uncalibration and the receiver carrier phase offsets. A method to remove it consists in averaging (in space) the antenna signals as proposed in [3] under the assumption that receiver phases are independent the M/2 ˆ (i) = 0. This is a reasonable with zero mean so that i=1 Φ approach if the number of sensors is large. Another method uses a pre-calibration step. This can be achieved either using a local reference signal or performing a DoA pre-estimation with a transmitting node at a known position. With this last method the signals (6) assuming φREF = 0◦ read ˆ (i)
zREF,n = α ˆ (i) e−j Φ
(i)
+w ˆREF,n , i ∈ [1, M/2]
(10)
(i)
2 where w ˆREF,n has variance σw . We proceed by impleˆ (i) menting another differential operation between (6) and (10) with a lag of N samples to obtain (i)∗
(i)
= α(i) ej(ψn
α
(2i−1) (2i)∗ −Φ(2i−1) ) wF,n α(2i−1) ej(ψn .
(i)
To remove the DC offset, we down-convert the RF signals to the intermediate low frequency f0 and we sample them to obtain (3). Then, we implement a digital band-pass filter to obtain
(2i) (2i−1) (2i)∗ −j(ψn −Φ(2i) )
· wF,n + wF,n
zˆn(i) = zn+N · zREF,n ˆ
= |ˆ α(i) |2 ej ψ + w ˜n(i) , i ∈ [1, M/2]
(11)
where the noise term (i)∗
ˆ
ˆ (i) )
w ˜n(i) = w ˆREF,n α ˆ (i) ej(ψ−Φ (i)
∗
ˆ (i)
+w ˆn+N α ˆ (i) ej Φ
(i)
(i)∗
+w ˆn+N w ˆREF,n i ∈ [1, M/2]
(12)
has still zero mean. Clearly, the reference signal and the unknown DoA signal have to be time multiplexed which is the reason why we use a lag of N samples.
If we can approximate the channel gains as α ˆ (i) ≈ α ˆ , ∀i ∈ [1, M/2], (13) becomes ˆ
z ≈ Aej(ψ+) + W
B. DoA Estimation The DoA can be obtained with a least square approach from (11) as follows
where
=
M/2 N −1
z=
2 (i) ˆ zˆ = Aej ψ + W N M i=1 n=0 n
(13)
where A=
M/2 M/2 N −1 2 (i) 2 (i) 2 |ˆ α | , W = w ˜ . M i=1 N M i=1 n=0 n
Finally, the angle of arrival φ is obtained as follows c 0 ˜ · Δt φ˜ = arcsin d z ˜ = Δt 2πf0,RF
(14)
(15) (16)
where · is the argument operator. In summary, the estimation of the angle of arrival in the presence of the hardware impairments comprises the following steps: • we down-convert the array RF signals to an intermediate low frequency f0 , we sample and filter them with a bandpass filter to remove the DC offset; • we perform a differential operation among pair of antenna signals to remove the carrier frequency offsets; • we perform the previous operation first with a known position emitter to obtain a reference array calibration signal; • we perform another differential operation among the reference signal and the unknown direction signal to remove the phase ambiguity mainly due to an uncalibrated array; • we perform time and space averaging according to (13) and finally compute the angle-of-arrival. IV. P ERFORMANCE A NALYSIS In this section we study the mean square error of the estimator that is defined as ˜ 2} M SE(φ) = E{|φ − φ| 2
(17) λ 0 z = E φ − arcsin 2πd where φ˜ is the estimated angle from (15). It should be noted that the model (13) used to develop the algorithm, is based on the assumption that Δf (2i−1) = Δf (2i) , ∀i ∈ [1, M/2]. Since this may not be perfectly true in reality, the differential operation in equation (6) does not remove completely the carrier frequency offset contribution. From these considerations, (13) can be written as ⎞ ⎛ M/2 (2i−1) (2i) 2 ˆ −Δf )N T ⎠ j ψ e + W. |ˆ α(i) |2 ej2π(Δf z=⎝ M i=1 (18)
(19)
M/2 2 j2π(Δf (2i−1) −Δf (2i) )N T e . M i=1
(20)
Then, computing the phase via the arctan(.) function, for z ∈ [− π2 , π2 ], we obtain [z] z = arctan [z] A sin(ψˆ + ) + [W ] (21) = arctan A cos(ψˆ + ) + [W ] ˆ ) = arctan tan(ψˆ + ) · K(ψ,
where ˆ ) = K(ψ,
1+ 1+
[W ] ˆ A sin(ψ+) [W ] ˆ A cos(ψ+)
.
(22)
To proceed, we can write ˆ ) = tan(ψˆc ) tan(ψˆ + ) · K(ψ,
(23)
where ψˆc = 2πf0,RF Δtc = 2π λd0 sin(φc ) is the phase corrupted by the noise and the unperfect carrier frequency offset compensation. Therefore, we can express the MSE as 2 (24) M SE(φ) = E |φ − arcsin {sin(φc )}| . Averaging in time and space reduces the noise variance. However, in the presence of distinct carrier frequency offsets among the antennas, there exists a phase error that depends on the averaging time period N . Ideally, the argument of z is d (25) ψˆ = 2π sin(φ) λ0 c0 because f0,RF = λ0 . If we want to correctly estimate the DoA, the range of ψˆ has to be comprised between −π and π because of the periodicity of the sin function. Hence, we can derive the constraint d (26) 2π |sin(φ)| ≤ π. λ0 If we want to correctly resolve the widest possible DoA range (ideally φ ∈ [−90◦ , 90◦ ]), the constraint becomes d≤
λ0 . 2
(27)
Note that the larger the distance d, the larger the angle ψˆ and, consequently, the lower the noise effect is. To graphically show the observations above, we now consider the additive contribution on ψˆ caused by a DoA increˆ 1◦ )) ment of 1◦ (that is denoted as Δψ(φ, ˆ 1◦ ) = ψ(φ) ˆ ˆ − 1◦ ) Δψ(φ, − ψ(φ ≤ π(sin(φ) − sin(φ − 1◦ )).
(28)
with
2 d ∂ 2 L(θ) 1 ˆ ˆ −j ψ ∗ jψ zAe 2π = − cos(φ) + z Ae 2 ∂φ2 σW λ0 d ˆ ˆ −j ψ ∗ jψ + j2π sin(φ) zAe . − z Ae λ0 (33)
Finally, if the noise has zero mean, we obtain CRB(φ) =
A2 2 σW
2
1
2 . 2π λd0 cos(φ)
(34)
To proceed, we can write the noise variance as 2 = E{|W |2 } σW
Fig. 2. Curves of Δψ(φ, 1◦ ) as function of DoA φ for three values of sensors distance d.
In Fig. 2 we plot the curves of Δψ(φ, 1◦ ) for three possible distances d. As we can see from the figure, the increment ˆ 1◦ ) decreases for increasing angles |φ| and for deΔψ(φ, creasing antenna distances d, which lowers the robustness of the estimator in the presence of noise. V. C RAMER -R AO BOUND The MSE can be lower bounded with the Cramer-Rao bound [8],[9], i.e., M SE(φ) ≥ CRB(φ). To benchmark the best attainable performance we evaluate the Cramer-Rao bound in the absence of DC offset and under identical carrier frequency offsets for all antenna channels. By definition, the CRB is the p-th diagonal entry of the inverse of the Fisher information matrix F , where p is the index of φ in the unknown parameters vector θ = [A, φ]; the (i, j)-th element of the Fisher information matrix is given by ∂2 [ln p(z|θ)] (29) Fij = −E ∂θi ∂θj where p(z|θ) is the probability density function (pdf) of z in (13), conditioned by the unknown parameters vector θ. Assuming the noise W to have independent zero-mean Gaussian components, we obtain ˆ 2 1 − σ12 z−Aej ψ W . (30) p(z|θ) = 2 e πσW We have verified via numerical fitting that Gaussianity holds true. Neglecting constant additive terms, the logarithmic pdf becomes 1 ˆ ˆ (31) L(θ) = 2 zAe−j ψ + z ∗ Aej ψ − A2 . σW Although not reported for space limitations, the Fisher information matrix is diagonal so that the CRB is −1 Fpp =−
E
1 ∂ 2 L(θ) ∂φ2
(32)
=
M/2 4 2 σ (i) N M 2 i=1 w˜
=
4 2 2 2 2|ˆ α(i) |2 σw ˆ (i) + (σw ˆ (i) ) . N M 2 i=1
(35)
M/2
Assuming the differential noise to be spatially and temporally uncorrelated with variance identical for each index i, i.e., 2 2 = σw σw ˆ , ∀i ∈ [1, M/2], we obtain the ratio ˆ (i) A2 2 = σW
4 NM2
M/2
2 M
i=1
M/2 i=1
|α ˆ (i) |2 2 σw ˆ (i) |2
2 |σαˆ2
w ˆ (i)
2 +1
(36)
2
=
N M SN Rz 2 2SN Rz + 1
where SN Rz =
M/2 2 SN Rz(i) M i=1
(37)
with SN Rz(i) = =
|ˆ α(i) |2 2 σw ˆ
(2i−1)
SN RxF (2i−1)
SN RxF
(38)
(2i)
SN RxF
(2i)
+ SN RxF + 1
, i ∈ [1, M/2]
and SN Rx(i)F = Nh
|α(i) |2
2 2 k=−Nh |hk | σw
, i ∈ [1, M ].
(39)
It should be noted that for high SNRs we have that 2 SN RxF SN RxF and σA2 ≈ N2M . Hence, the use SN Rz ≈ 2 4 W of the proposed algorithm that performs a double differential operation, reduces the SNR by a factor of 4 (6 dB). However, it allows compensating the hardware impairments with a simple method.
Fig. 3. MSE as function of the SNR for different values of SIR and σΔf , with φ = 30◦ .
Fig. 4. MSE as function of the φ for different values of SIR and σΔf , with SN R = 10 dB.
VI. S IMULATION RESULTS
range of angles of arrival as Fig. 4. The most significant error is introduced by the DC offset that needs to be lowered with narrow band filtering. In the simulation we have used a conventional band-pass filter.
The performance of the estimator has been evaluated also via simulations. We have assumed N = 1, M = 4, f0 = 3 MHz, fc = 2.412 GHz, and d = λ20 . The carrier frequency offsets for the antenna channels have been modeled as independent Gaussian random variables with mean value mΔf = 15 kHz and standard deviation σΔf . The phase offsets Φ(i) that model the effect of uncalibrated array have been considered as uniform random variables, with zero-mean and standard deviation 2π. Finally, the DC offset has been included (i) in the noise and treated as a constant interferer wDC yielding a given signal-to-interference ratio at the digital receiver filter (i) 2 input equal to SIR(i) = |α(i) | 2 . The SN Rs and SIRs have |wDC | been assumed identical for the 4 antenna channels. In Fig. 3 we report the MSE as function of the SNR, for different values of the SIR and σΔf . For σΔf = 0 Hz the carrier frequency offsets are identical for all antenna channels and they are equal to 15 kHz. In the absence of a DC offset (SIR = +∞) the CRB and the simulated performance are in excellent agreement for σΔf = 0 Hz. For increasing values of DC offset, the MSE curves exhibit an error floor and fall off the CRB (obtained under the assumption of null DC offset) as the SNR increases. In Fig. 4 we report the estimator MSE as function of the DoA, for different values of SIR and σΔf . Again, as the SIR increases the simulated curves approach the CRB for σΔf = 0 Hz. The right plots in Fig. 3 and 4 show that when we assume the carrier frequency offset to be different across the antenna channels (with σΔf = 10 kHz), the estimator MSE is still close to the CRB if the DC offset is absent. With a DC offset, the error floors are a little more pronounced than those shown in the left plots because the distinct carrier frequency offsets cannot be fully compensated and a residual phase error
exists. In general, the DoA estimator performs well for a wide
VII. C ONCLUSION We have presented an algorithm for DoA estimation in the presence of carrier/phase offsets and DC bias. Both the Cramer-Rao bound and simulation analysis show that the estimator is robust for a wide range of angles and SNRs, also in the presence of antenna channels that exhibit different carrier frequency offsets. The most significant cause of error is the presence of the DC offset introduced by the direct conversion RF front-ends. To lower the DC offset selective narrow band filtering is required. R EFERENCES [1] R. O. Schmidt, “Multiple emitter location and signal parameter estimation,” IEEE Trans. Antennas Propag., vol. AP-34, pp. 276–280, Mar. 1986. [2] R. Roy and T. Kailath, “Esprit - estimation of signal parameters via rotational invariance,” IEEE Trans. Acoust., Speech, Signal Process., vol. 37, no. 7, pp. 984–995, Jul. 1989. [3] M. P. Wylie, S. Roy, and H. Messer, “Joint doa estimation and phase calibration of linear equispaced (les) arrays,” IEEE Trans. Signal Process., vol. 42, pp. 3449–3459, Dec. 1994. [4] A. Paulraj and T. Kailath, “Direction of arrival estimation by eigenstructure methods with unknown sensor gain and phase,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), New York City, Apr. 1988, pp. 2681–2684. [5] C. Wang and J. A. Cadzow, “Direction-finding with sensor gain, phase and location uncertainty,” in Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP’91), Jul. 1991, pp. 1429–1432. [6] K. R. Dandekar, H. Ling, and G. Xu, “Smart antenna array calibration procedure including amplitude and phase mismatch and mutual coupling effects,” in Proc. IEEE International Conference on Personal Wireless Communications (ICPWC 2000), 2000, pp. 293–297. [7] Lyrtech website. [Online]. Available: www.lyrtech.com [8] A. Swami, “Cramer-rao bounds for deterministic signals in additive and multiplicative noise,” Signal Processing, vol. 53, pp. 231–244, 1996. [9] E. Tuncer and B. Friedlander, Classical and Modern Direction-of-Arrival Estimation. Burlington, MA: Academic Press, 2009.