1. Field of the Invention
The present invention relates to radio frequency (RF) repeaters. More particularly, the present invention relates to adaptive echo cancellation system and method for an on-frequency RF repeater.
2. Description of the Prior Art and Related Information
In a wireless communication system, a mobile unit such as a cellular phone transmits and receives RF signals to and from cell site base stations. An on-frequency RF repeater receives, filters, and re-transmits the signal of interest at the same frequency and at a higher power level. If the product of the forward gain of the repeater and the coupling between antennas is too high, the repeater will oscillate. In general, this is undesirable. An internal feedback path may be used to compensate for the external coupling between antennas, allowing the forward gain of the repeater to be increased if required. This compensation is referred to as “echo cancellation.”
Some residual echo after cancellation is acceptable. However, it is desirable to minimize such residual echo. This may be difficult in some applications, especially for large repeater gains, or for other repeater implementations having difficult cancellation conditions. Accordingly, a need exists for an improved system and method for echo cancellation.
In view of the foregoing, the following systems and methods provide improved echo cancellation for an RF repeater using a weighted power spectrum.
In one aspect, embodiments of the invention provide a wireless repeater, which includes an input antenna for receiving an input signal, an output antenna for outputting an amplified signal, an amplifier for amplifying the received input signal and providing the output amplified signal to the output antenna, a filter for applying a weighting function to a power spectrum of a measured signal in the wireless repeater thereby obtaining a weighted power spectrum of the measured signal, and an internal feedback path for adaptively canceling an echo between the output antenna and the input antenna by implementing an adaptive algorithm based on an autocorrelation of the input signal employing the weighted power spectrum of the measured signal, wherein the filter reduces the width of the autocorrelation of the input signal.
In one embodiment, the input signal and the output amplified signal have the same frequency. The internal feedback path may include a digital gain block, and the measured signal is measured before the digital gain block.
In one embodiment, the internal feedback path includes a portion of a digital IF stage. The digital IF stage may include a digital signal processor implementing the adaptive algorithm for cancelling the echo.
In one embodiment, the weighting function whitens a power spectrum of the input signal plus noise. The weighting function may preserve echo ripples in the power spectrum of the measured signal. The weighting function adjusts power of a carrier within the measured signal so that when multiple carriers are included, each carrier has on average the same power density, and when a single carrier is included, the power density of the single carrier is reduced to match an ambient noise of the repeater.
In another aspect, embodiments of the invention provide a method for echo cancellation in a wireless repeater. The method includes measuring a signal in a signal path of the wireless repeater, applying a spectral weighting function to a power spectrum of the measured signal to obtain a weighted power spectrum, obtaining an autocorrelation of the signal in the signal path of the repeater based on the weighted power spectrum, detecting an echo in the signal path based on the autocorrelation, and adaptively cancelling the echo in the signal path based on the detected echo, wherein the weighted power spectrum reduces the width of the autocorrelation.
In one embodiment, applying the spectral weighting function comprises filtering the measured signal. The signal in the signal path may be a narrowband signal having an overlapping autocorrelation between the echo and measured signal prior to applying the spectral weighting function. Such narrowband signals include, for example, an Enhanced Data rates for GSM Evolution (EDGE) signal.
In one embodiment, the method further includes obtaining the spectral weighting function based on an input spectrum without echo, and may further include estimating the input spectrum by fitting the power spectrum of the measured signal to a model based on the modulation format of the signal in the signal path. The power spectrum of the measured signal is quantized to a plurality of levels. Preferably quantizing the power spectrum includes logarithmic quantizing. The power spectrum is configured as a function of a plurality of frequency bins, and the method may further include grouping bins in the power spectrum to form bands wider than the frequency bins. The method may further include obtaining a mean power from the bands, and calculating the spectral weighting function using an inverse of the mean power.
In one embodiment, the spectral weighting function is based on an input signal and a noise signal spectra without effects of the echo.
The method may further include partitioning the power spectrum into disjoint bands by grouping frequency bins into contiguous bands based on a measured power density, and normalizing a power of each band so that a power spectral density of each band equals a reference level.
In another aspect, embodiments of the invention provide a wireless communication system, including a base station and an on-frequency repeater for extending the base station coverage. The on-frequency repeater includes an input antenna for receiving an input signal, an output antenna for outputting an amplified signal, an amplifier for amplifying the received input signal and providing the amplified output signal to the output antenna, and an internal feedback path for adaptively cancelling an echo between the input antenna and the output antenna. The internal feedback path includes means for measuring a signal in the feedback path, means for obtaining a weighted power spectrum of the measured signal, means for obtaining a signal autocorrelation in the feedback path based on the weighted power spectrum, and means for adaptively cancelling the echo based on the obtained signal autocorrelation.
In one embodiment, the means for obtaining the weighted power spectrum includes a filter for reducing the width of the signal autocorrelation. The means for obtaining the weighted power spectrum may whiten the power spectrum.
Further aspects of the construction and method of operation of the invention, with additional objects and advantages thereof, will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings.
The present invention will now be described, by way of example, for the best mode contemplated by the inventors for carrying out the present invention, in reference with the accompanying drawings. It shall be understood that the following description, together with numerous specific details, may not contain specific details that have been omitted as it shall be understood that numerous variations are possible and thus will be detracting from the full understanding of the present invention. It will be apparent, however, to those skilled in the art, that the present invention may be put into practice while utilizing various techniques.
Embodiments of the invention provide an adaptive echo cancellation system and method for an on-frequency RF repeater using a weighted power spectrum. The repeater preferably has a digital intermediate frequency (IF) stage, and internal digital echo cancellation is performed in a digital signal processor (DSP). A preferred technique is based on the autocorrelation of the repeater signal (input signal plus echoes). The gain of the repeater is adjusted outside of the internal digital feedback loop of the echo cancellation, such as within the RF stages at the output side of the repeater. The RF gain of the repeater is set low initially, then increased to a maximum gain, so that the echo cancellation can adapt incrementally and maintain stability throughout.
The autocorrelation detects echoes reliably when the width of the autocorrelation of the input signal is less than the loop delay of the echo path. Narrow bandwidth signals such as Enhanced Data rates for GSM Evolution (EDGE) can cause problems because the autocorrelations of the input signal and echo overlap. However, in the approach in accordance with embodiments of the invention as discussed in detail below, the repeater signal is filtered to reduce the width of the autocorrelation. The filter is designed to adjust the power of all carriers within the input signal so that each carrier has the same power density (on average) without affecting the ripples within the power spectrum that are needed to detect the echoes. When only one carrier is available, its power density is reduced to match the ambient noise of the repeater. The filtering is applied in the frequency domain to the power spectrum. This weighted power spectrum is Fourier transformed to produce a more favorable autocorrelation. Applying the filter to the power spectrum directly simplifies the computation of the optimum filter. The power spectrum is partitioned into disjoint bands by grouping frequency bins into a contiguous bands based on the measured power density. Each contiguous band approximates a carrier bandwidth or the guard region separating carriers. The power of each band is normalized so that the power spectral density equals a reference level.
An on-frequency repeater in accordance with embodiments of the invention is shown in
The up- and down-link paths 10a, 10b perform substantially the same functions and may use the same components. Bandpass filtering is performed at an intermediate frequency (IF) using filters 14a and 14b. Compensation for the antenna coupling is performed in internal feedback paths within the up- and down-link paths 10a and 10b. The internal feedback paths may include feedback compensation units within the digital IF stages comprising digital signal processors (DSP) 15a and 15b.
The key components of each path, shown in an exemplary path in
The block diagram shown in
The input signal, e.g., the in-coming signal without the effects of feedback, is denoted by x(t). It's Fourier transform is denoted by X(ω). The output signal and it's Fourier transform are denoted by y(t) and Y(ω), respectively. Within
The input signal X(ω), although used in the following for modeling, usually cannot be directly measured because it is difficult to separate X(ω) from the output signal Y(ω) through the coupling path H. What can be measured usually is a signal v(t) within a signal path of the repeater, measured prior to the digital gain Gdigital block 153. The signal v(t), whose Fourier transform is denoted by V(ω), is a measurement made prior to the digital gain Gdigital block 153. The external feedback coupling is modeled as
where an are complex coefficients and Tn are loop delays. The estimate of the feedback coupling has the same form:
where bn are complex coefficients.
In the following analysis, the IF filter 25 shown in
The transfer function of the repeater, using the measurement signal v(t), is
where G0=GinGout. The input signal X(ω) is usually not available for measurement because the input antenna 12 sums both X(ω) and the coupled signal from the output antenna 13, (H*Y). Statistical properties of the measured signal, v(t), may be used to estimate the feedback coupling. The power spectrum of v(t) is used in the estimation and subsequent iterative search for the optimum feedback cancellation coefficients, bn.
The power spectrum of the measured signal, Sv(ω), written as a function of the input power spectrum, Sx(ω), is
The autocorrelation of v(t) is denoted by ρv(τ), and can be computed from the power spectral density, (Eq. 4). The autocorrelation for a loop delay Tn is
where M is the number of frequency bins in the power spectrum. If the input signal can be described as an a-dependent process, then the input signal (without echo) is uncorrelated to itself for delays greater than Ta. The echo caused by the feedback appears in the autocorrelation at multiples of the loop delay, Tn. When the minimum loop delay, Tmin, is greater than Ta, the portion of the autocorrelation associated with the input signal and echo can be separated. In such cases, the autocorrelation is used to refine the feedback coefficient estimates associated with the dominant loop delays. For a repeater with a digital IF stage, it is easy to ensure that the minimum loop delay exceeds Ta, although excessively large delays (>10 μs) are discouraged for cellular systems.
Consider the time domain representation of the repeater signal:
v(t)=x(t)+ε(t) (Eq. 6)
where x(t) and ε(t) are the input and residual echo signals, respectively, in the time domain. The residual echo is
which makes (Eq. 6) recursive. Assume that the autocorrelation of the input signal, denoted by E[x(t+τ)x*(t)] where E[ ] indicates expected value, is zero for τ>Tmin, the autocorrelation of the repeater signal for τ<Tmin is
ρv(0<τ<Tmin)=E[x(t+τ)x*(t)]+E[ε(t+τ)ε*(t)]≈E[x(t+τ)x*(t)]. (Eq. 8)
The approximation assumes that the residual echo, ε(t), is much lower in power than the desired input signal, x(t). When the approximation is valid, (Eq. 8) is an estimate of the autocorrelation of the input signal. For τ>Tmin, we have
ρv(τ>Tmin)=E[x(t+τ)ε*(t)]+E[ε(t+τ)ε*(t)]≈E[x(t+τ)ε*(t)]. (Eq. 9)
When E[ε(t+τ)ε*(t)] is small, (Eq. 9) is an estimate of the cross-correlation between the input and residual echo signals. Note that E[ε(t+τ)ε*(t)] can cause an unwanted offset in (Eq. 9) when it is larger than E[x(t+τ)ε*(t)]; however, this is unlikely to occur except when the residual echo magnitude is large and at time delays that are multiples of echo loop delays Tn (that is, when τ>2 Tmin).
The echo cancellation coefficients, bn, are adjusted in an iterative manner to reduce the residual coupling, H(ω)−Hest(ω). The error in the feedback coefficient is estimated using
The estimate of the residual coefficients is the least mean square (LMS) solution of (Eq. 10). It can be seen from (Eq. 8) and (Eq. 9) that the elements of the vector [ρv(T1) . . . ρv(Tn)]T and matrix QΔT are the cross-correlation of the input and echo signals, and the autocorrelation of the input signal, respectively.
The update of the coefficient bn is
bn(ti+1)=bn(ti)+γ·Δbn (Eq. 13)
where γ is a convergence constant. The process is considered converged where the maximum correlation magnitude beyond the minimum loop delay is 0.032 (−15 dB below the average power). An echo of −15 dB creates a ripple in the power spectrum of about 3 dB.
The autocorrelation of the input signal does not have to be zero for all delays greater than the minimum loop delay. However, a necessary condition is that the autocorrelation beyond Tmin is less than −15 dB, although some additional margin is preferred. Unfortunately, some cellular signals exist, such as an EDGE carrier, where the autocorrelation declines slowly and is still greater than −15 dB after a time delay of 10 μsec. In such cases, the autocorrelation method for refining the echo coefficients, (Eq. 10), will fail to converge to the desired values. This is due to the fact that the autocorrelation of the input masks the cross-correlation with the residual echo, and because the matrix QΔT in (Eq. 11) becomes ill-conditioned.
It is possible to filter the repeater signal, V(ω), so that the autocorrelation is more compact, thereby allowing the use of the correlation method, (Eq. 10). As shown in
The goal of filtering the measurement is to “whiten” the spectrum of the input signal plus noise. In the ideal case, QΔT of (Eq. 11) will become equal to the identity matrix. Selecting the filter to achieve this would be challenging if it were applied to the signal directly; however, it is possible to modify the power spectrum used to compute the autocorrelation. Thus, the filter 210 shown in
Thus, the weighted power spectrum, denoted by SLV(ω), becomes
SLV(ω)=|L(ω)|2·SV(ω). (Eq. 15)
As can be seen from (Eq. 14), the whitening function must be limited to frequency bands with discernible signal and/or noise power.
When creating the whitening function from measurements, it is preferably to base it on the input and noise spectra only, and not the effects of the echo. The input spectrum can be approximated in several ways:
The third approach, fitting the measured spectrum SV(ω) to a model, is used within the following preferred approach. The model assumes that the input signal comprises white noise plus multiple carrier signals, each of which has a flat power spectral density over the carrier bandwidth. Each carrier may have different power levels. The thermal noise from the front end of the repeater's receiver chain (LNA, for example), once amplified, is also treated as part of the input signal. When using the repeater signal V(ω) as a measurement, the spectrum will have ripples that are due to the residual echo. In accordance with a preferred embodiment of the invention, the filter preserves these ripples. The input signal may also have spectral variations due to multi-path fading before reaching the input antenna. The filter may alter multi-path ripples without affecting the results or the overall performance of the repeater.
Knowledge of the minimum loop delay is used in the construction of a spectral weighting function, |L(ω)|2, that preserves echo ripples. On average, the spacing between echo ripple peaks must be less than 1/Tmin, where Tmin is the minimum loop delay. As a result, an individual carrier bandwidth is useful for computing echo cancellation coefficients only when its bandwidth exceeds 1/Tmin. The model for the filter is a set of disjoint bands each wider than 1/Tmin with transitions between bands.
In the first step for creating the spectral weighting function |L(ω)2, the measurement |V(ω)|2, is quantized in magnitude to create a finite number of levels, which become classes. More specifically as shown in
rk−1=α·rk (Eq. 16)
where 0<α<1. The value of α is selected so that the width of each class, rk−rk−1, is on the same order as the expected echo ripple. The peak-to-peak ripple of the spectrum due to a −15 dB echo is 3 dB. In general, the peak-to-peak ripple will be larger.
The quantization assigns a class to each bin, as shown in
The first grouping of neighboring bands, shown in
Bands are widened further using a second grouping, shown in
Once the quantization as illustrated in
Next, an example will be described. In the following example, echo cancellation using a weighted spectrum is demonstrated. A Matlab simulink program models the repeater. Matlab code is used to compute the echo cancellation coefficients. The RF coupling in simulink has two taps at delays [t1 t2]=[131 135] whose coefficients are [0.5 0.5*exp(−jπ4)]. (Note that [t1 t2]=[131 135] within simulink corresponds to [t1 t2]=[234 238] within Matlab and within the autocorrelation figures shown below because of the additional delay of the repeater).
The input signal is a single EDGE carrier and a three-carrier Wideband Code Division Multiple Access (WCDMA) signal whose average power is 30 dB (gain term in simulink set to 0.03) below the EDGE carrier. A noise spectrum would replace the WCDMA signal in an actual operation. The bandwidth of the EDGE carrier is too narrow to use the correlation method for echo cancellation. However, it is shown below that weighting the spectrum allows the use of the correlation method.
The repeater spectrum 71 shown in
The repeater spectrum 71 in
The class assignment and grouping for the −17 dB residual echo case is shown in
A continuous interval of a given class is treated as a band, which is normalized in terms power density, creating the spectral weighting |L(ω)|2. As mentioned earlier, bins with no power are not used in the calculation of the band's normalization constant. The weighting functions for the −11 dB and −17 dB residual echoes are shown in
The weighted power spectra, |L(ω)|2*|V(ω)|2, are shown in
The autocorrelation for the −11 dB residual echo is shown in
The autocorrelation for the −17 dB residual echo is shown in
Advantageously, embodiments of the invention allow autocorrelation method to be applied to narrow bandwidth signals for echo cancellation. This is achieved by, for example, using a weighted power spectrum.
The present invention has been described in relation to a presently preferred embodiment, however, it will be appreciated by those skilled in the art that a variety of modifications, too numerous to describe, may be made while remaining within the scope of the present invention. Accordingly, the above detailed description should be viewed as illustrative only and not limiting in nature.
The present application claims priority under 35 USC section 119(e) to U.S. Provisional Patent Application Ser. No. 60/897,112, filed Jan. 24, 2007, the disclosure of which is herein incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6182203 | Simar et al. | Jan 2001 | B1 |
20020181699 | Pham et al. | Dec 2002 | A1 |
20040001464 | Adkins et al. | Jan 2004 | A1 |
20050215193 | Kummetz | Sep 2005 | A1 |
20060014491 | Cleveland | Jan 2006 | A1 |
20060040611 | Ding et al. | Feb 2006 | A1 |
20060052066 | Cleveland et al. | Mar 2006 | A1 |
20060240795 | He | Oct 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080176513 A1 | Jul 2008 | US |
Number | Date | Country | |
---|---|---|---|
60897112 | Jan 2007 | US |