System and method for determining and controlling gain margin in an RF repeater
RE047075 ยท 2018-10-02
Assignee
Inventors
Cpc classification
International classification
Abstract
An apparatus for repeating signals includes a receive antenna for capturing a receive signal, processing circuitry for processing the receive signal to form a repeated signal, and a transmit antenna for transmitting the repeated signal. The processing circuitry includes gain circuitry for gain in the repeated signal and decorrelation circuitry configured for modifying the repeated signal with respect to the receive signal to thereby decorrelate the repeated signal from the receive signal. The processing circuitry further comprises circuitry configured for calculating a gain margin for the apparatus utilizing the decorrelated receive and repeated signals.
Claims
1. An apparatus for repeating signals, the apparatus comprising: a receive antenna for capturing a receive signal that includes an input signal and a feedback signal; processing circuitry coupled with the receive antenna for processing the receive signal to form a repeated signal; a transmit antenna coupled with the processing circuitry for transmitting the repeated signal; the processing circuitry for processing the receive signal including: gain circuitry to provide gain in the repeated signal; decorrelation circuitry including frequency shifting circuitry that is configured for decorrelating the input signal of the receive signal and the repeated signal by introducing a frequency shift in the repeated signal to form the repeated signal that is decorellated and frequency-shifted from the input signal of the receive signal; gain margin circuitry configured for calculating a gain margin for the apparatus by utilizing samples of the decorrelated receive signal and the frequency-shifted repeated signal and utilizing samples of the repeated signal wherein the frequency shift that is used to decorrelate the receive and repeated signals has been removed.
2. The apparatus of claim 1 wherein the frequency shifting circuitry is operable for creating the frequency shift by multiplying the input signal with a complex sinusoid.
3. The apparatus of claim 1 wherein the processing circuitry is further operable for adjusting the gain based upon the calculated gain margin.
4. The apparatus of claim 1 wherein the gain margin circuitry determines the gain margin by comparing a cross-correlation of the receive signal and the repeated signal with a cross-correlation of the receive signal and the repeated signal wherein the frequency shift used to decorrelate the receive signal has been removed.
5. The apparatus of claim 4 wherein the receive signal includes both the input signal and the feedback signal, cross-correlations being performed over a sufficient correlation length so that an average phase of the feedback signal relative to the input signal is around zero degrees.
6. The apparatus of claim 4 wherein cross correlations are performed over a correlation length that is an integer number of periods of the frequency shift.
7. The apparatus of claim 4 wherein cross correlations are windowed, the windowing being performed so that an average phase of the cross correlations is around zero degrees.
8. The apparatus of claim 4 wherein the processing circuitry normalizes the input signal to have generally a constant envelope.
9. The apparatus of claim 5 wherein the processing circuitry is further configured for determining additional frequency shifting in the feedback signal and providing a compensating amount of frequency shift for cross-correlations to reduce the effect of the additional frequency shifting.
10. The apparatus of claim 1 wherein the processing circuitry is configured to dynamically increase or decrease the amount of frequency shift provided by the frequency shifting circuit to the input signal.
11. The apparatus of claim 1 wherein the decorrelation circuitry is selectively turned ON and OFF for selectively calculating the gain margin.
12. The apparatus of claim 1 wherein the processing circuitry is implemented at least partially with digital circuitry.
13. A method for repeating signals comprising: capturing a receive signal with a receive antenna, the receive signal including an input signal and a feedback signal; processing the receive signal with processing circuitry to form a repeated signal; transmitting the repeated signal; the processing steps including: providing gain in the repeated signal; decorrelating the input signal of the receive signal and the repeated signal by introducing a frequency shift in the repeated signal to form the repeated signal that is decorrelated and frequency-shifted from the input signal of the receive signal; calculating a gain margin for the apparatus by utilizing samples of the decorrelated receive signal and the frequency-shifted repeated signal and utilizing samples of the repeated signal wherein the frequency shift that is used to decorrelate the receive and repeated signals has been removed.
14. The method of claim 13 further including creating a frequency shift by multiplying the input signal with a complex sinusoid.
15. The method of claim 13 further comprising adjusting the gain based upon the calculated gain margin.
16. The method of claim 13 wherein calculating the gain margin includes comparing a cross-correlation of the receive signal and the repeated signal with a cross-correlation of the receive signal and the repeated signal wherein the frequency shift used to decorrelate the receive signal has been removed.
17. The method of claim 16 wherein the receive signal includes both the input signal and the feedback signal, and further comprising performing cross-correlations over a sufficient correlation length so that an average phase of the feedback signal relative to the input signal is around zero degrees.
18. The method of claim 16 further comprising performing cross correlations over a correlation length that is an integer number of periods of the frequency shift.
19. The method of claim 16 further comprising windowing cross correlations so that an average phase of the cross correlations is around zero degrees.
20. The method of claim 16 further comprising normalizing the input signal to have generally a constant envelope.
21. The method of claim 16 further comprising determining additional frequency shifting in the receive signal and providing a compensating amount of frequency shift for cross correlations to reduce the effect of the additional frequency shifting.
22. The method of claim 13 further comprising dynamically increasing or decreasing the amount of frequency shift provided by the frequency shifting circuit to the input signal.
23. The method of claim 13 further comprising selectively turning the decorrelation circuitry ON and OFF for selectively calculating the gain margin.
.Iadd.24. An apparatus for repeating signals, the apparatus comprising: a receive antenna configured to capture a receive signal; a transmit antenna configured to transmit a repeated signal formed from the receive signal; gain circuitry configured to provide gain in the repeated signal; decorrelation circuitry configured to modify the repeated signal and including frequency shifting circuitry operable to create a frequency shift in the repeated signal with respect to the receive signal, wherein the repeated signal is frequency shifted and decorrelated from the receive signal; and gain margin circuitry configured to calculate a gain margin for the apparatus utilizing the decorrelated receive and repeated signals, the gain margin circuitry utilizing a repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive and repeated signal..Iaddend.
.Iadd.25. The apparatus of claim 24, further comprising processing circuitry configured to adjust the gain based upon the calculated gain margin..Iaddend.
.Iadd.26. The apparatus of claim 24, wherein the gain margin circuitry is configured to calculate the gain margin by comparing a cross-correlation of the receive signal and the repeated signal with a cross-correlation of the receive signal and the repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive signal and repeated signal..Iaddend.
.Iadd.27. The apparatus of claim 26, wherein the receive signal includes both an input signal and a feedback signal, the cross-correlations being performed over at least one of a length of the correlation that is an integer number of periods of the frequency shift or a length of the correlation that is a sufficient length so that an average cross-correlation phase of the feedback signal relative to the input signal is around zero degrees..Iaddend.
.Iadd.28. The apparatus of claim 26, wherein the cross-correlations are windowed, the windowing being performed so that an average phase of the cross-correlations is around zero degrees..Iaddend.
.Iadd.29. The apparatus of claim 26, further comprising processing circuitry configured to normalize the receive and repeated signals to have generally a constant envelope..Iaddend.
.Iadd.30. The apparatus of claim 26, further comprising processing circuitry configured to determine additional frequency shifting in the feedback signal and provide a compensating amount of frequency shift for the cross-correlations to reduce the effect of the additional frequency shifting..Iaddend.
.Iadd.31. The apparatus of claim 24, further comprising processing circuitry configured to dynamically increase or decrease the amount of frequency shift provided by the frequency shifting circuitry to the repeated signal..Iaddend.
.Iadd.32. The apparatus of claim 24, wherein the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in different circuits..Iaddend.
.Iadd.33. The apparatus of claim 24, wherein at least two of the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in the same circuit..Iaddend.
.Iadd.34. The apparatus of claim 24, wherein the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in the same circuit..Iaddend.
.Iadd.35. The apparatus of claim 24, further comprising: a first mixer configured to down-convert the receive signal from a radio frequency to an intermediate frequency or baseband frequency; an analog-to-digital converter configured to convert the down-converted receive signal to a digital signal, wherein the gain circuitry provides gain to the digital signal, wherein the decorrelation circuitry shifts the frequency of the digital signal; and a digital-to-analog converter configured to convert the digital signal to an analog signal; a second mixer configured to up-convert the analog signal to a radio frequency signal, wherein the radio frequency signal is provided to the transmit antenna for transmission as the repeated signal..Iaddend.
.Iadd.36. The apparatus of claim 24, wherein the gain circuitry, decorrelation circuitry, and the gain margin circuitry are implemented in the analog domain..Iaddend.
.Iadd.37. A method for repeating signals comprising: capturing a receive signal; transmitting a repeated signal formed from the receive signal; providing gain in the repeated signal; modifying the repeated signal by creating a frequency shift in the repeated signal with respect to the receive signal, wherein the repeated signal is frequency shifted and decorrelated from the receive signal; calculating a gain margin for the apparatus utilizing the decorrelated receive and repeated signals and utilizing a repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive signal and repeated signal..Iaddend.
.Iadd.38. The method of claim 37, further comprising adjusting the gain based upon the calculated gain margin..Iaddend.
.Iadd.39. The method of claim 37, wherein calculating the gain margin includes comparing a cross-correlation of the receive signal and the repeated signal with a cross-correlation of the receive signal and the repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive signal and repeated signal..Iaddend.
.Iadd.40. The method of claim 39, wherein the receive signal includes both an input signal and a feedback signal, and further comprising performing the cross-correlations over at least one of a length of the correlation that is an integer number of periods of the frequency shift or a length of the correlation that is a sufficient length so that an average cross-correlation phase of the feedback signal relative to the input signal is around zero degrees..Iaddend.
.Iadd.41. The method of claim 39, further comprising normalizing the receive and repeated signals to have generally a constant envelope..Iaddend.
.Iadd.42. The method of claim 39, further comprising determining additional frequency shifting in the receive signal and providing a compensating amount of frequency shift for the cross-correlations to reduce the effect of the additional frequency shifting..Iaddend.
.Iadd.43. The method of claim 37, further comprising dynamically increasing or decreasing the amount of frequency shift provided by the frequency shifting circuit to the repeated signal..Iaddend.
.Iadd.44. The method of claim 37, further comprising: down-converting the receive signal to an intermediate frequency or baseband frequency; converting the down-converted receive signal to a digital signal, wherein gain is provided to the digital signal, wherein the digital signal is frequency shifted; converting the digital signal to an analog signal; and up-converting the analog signal to a radio frequency signal, wherein the radio frequency signal is transmitted as the repeated signal..Iaddend.
.Iadd.45. The method of claim 37, wherein providing gain in the repeated signal, modifying the repeated signal, and calculating the gain margin are implemented in the analog domain..Iaddend.
.Iadd.46. An apparatus for repeating signals, the apparatus comprising: a receive input to couple the apparatus to a receive antenna, wherein the receive antenna is configured to capture a receive signal, wherein the receive input is configured to obtain the receive signal from the receive antenna; a transmit output to couple the apparatus to a transmit antenna, wherein the transmit output is configured to provide a repeated signal formed from the receive signal to the transmit antenna, wherein the transmit antenna is configured to transmit the repeated signal; gain circuitry configured to provide gain in the repeated signal; decorrelation circuitry configured to modify the repeated signal and including frequency shifting circuitry operable to create a frequency shift in the repeated signal with respect to the receive signal, wherein the repeated signal is frequency shifted and decorrelated from the receive signal; and gain margin circuitry configured to calculate a gain margin for the apparatus utilizing the decorrelated receive and repeated signals, the gain margin circuitry utilizing a repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive and repeated signal..Iaddend.
.Iadd.47. The apparatus of claim 46, further comprising processing circuitry configured to adjust the gain based upon the calculated gain margin..Iaddend.
.Iadd.48. The apparatus of claim 46, wherein the gain margin circuitry is configured to calculate the gain margin by comparing a cross-correlation of the receive signal and the repeated signal with a cross-correlation of the receive signal and the repeated signal that is shifted in frequency by the negative of the frequency shift used to decorrelate the receive signal and repeated signal..Iaddend.
.Iadd.49. The apparatus of claim 48, wherein the receive signal includes both an input signal and a feedback signal, the cross-correlations being performed over at least one of a length of the correlation that is an integer number of periods of the frequency shift or a length of the correlation that is a sufficient length so that an average cross-correlation phase of the feedback signal relative to the input signal is around zero degrees..Iaddend.
.Iadd.50. The apparatus of claim 48, wherein the cross-correlations are windowed, the windowing being performed so that an average phase of the cross-correlations is around zero degrees..Iaddend.
.Iadd.51. The apparatus of claim 48, further comprising processing circuitry configured to normalize the receive and repeated signals to have generally a constant envelope..Iaddend.
.Iadd.52. The apparatus of claim 48, further comprising processing circuitry configured to determine additional frequency shifting in the feedback signal and provide a compensating amount of frequency shift for the cross-correlations to reduce the effect of the additional frequency shifting..Iaddend.
.Iadd.53. The apparatus of claim 46, further comprising processing circuitry configured to dynamically increase or decrease the amount of frequency shift provided by the frequency shifting circuitry to the repeated signal..Iaddend.
.Iadd.54. The apparatus of claim 46, wherein the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in different circuits..Iaddend.
.Iadd.55. The apparatus of claim 46, wherein at least two of the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in the same circuit..Iaddend.
.Iadd.56. The apparatus of claim 46, wherein the gain circuitry, the decorrelation circuitry, and the gain margin circuitry are implemented in the same circuit..Iaddend.
.Iadd.57. The apparatus of claim 46, further comprising: a first mixer configured to down-convert the receive signal from a radio frequency to an intermediate frequency or baseband frequency; an analog-to-digital converter configured to convert the down-converted receive signal to a digital signal, wherein the gain circuitry provides gain to the digital signal, wherein the decorrelation circuitry shifts the frequency of the digital signal; and a digital-to-analog converter configured to convert the digital signal to an analog signal; a second mixer configured to up-convert the analog signal to a radio frequency signal, wherein the radio frequency signal is provided to the transmit antenna for transmission as the repeated signal..Iaddend.
.Iadd.58. The apparatus of claim 46, wherein the gain circuitry, decorrelation circuitry, and the gain margin circuitry are implemented in the analog domain..Iaddend.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with a general description of the invention given below, serve to explain the principles of the invention.
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE INVENTION
(6) The present invention provides a signal repeating apparatus, or a repeater that provides adaptive gain adjustment. Particularly, the inventive repeater determines the gain margin of the repeater and uses the measured gain margin to adjust the gain of the repeater to avoid oscillation and instability. The repeater modifies the repeated signals with respect to the receive signals to decorrelate those signals so that the gain margin may be determined. In one embodiment, the modification is made using a frequency shifting circuit to add a frequency shift and provide repeated signals that are slightly frequency-shifted from the input signals originally received by the repeater. Processing circuitry uses the frequency-shifted repeated signals to determine gain margin. The processing circuitry then uses the measured gain margin to adaptively adjust the repeater gain to maintain the desired gain margin to prevent instability.
(7) Referring to
(8) For proper signal repeating, repeater 30 includes suitable electronics 40 coupled between the antennas 32, 36. Generally, such electronics will include adjustable gain circuitry 42 that provides a desired gain G in the repeater. In accordance with one aspect of the invention, frequency shift circuitry 44 provides the desired signal modification and frequency shift of the repeated signal in accordance with one aspect of the invention. Processing circuitry 46 is utilized to provide the desired gain margin measurement and to suitably adjust the gain G of the gain circuitry 42. To that end, processing circuitry 46 is appropriately coupled with the gain circuitry 42, and is also configured to receive a portion of the receive signal 38 and a portion 50 of the repeated signal 52 that is then transmitted by antenna 36 resulting in the transmit signal 37 and the feedback signal 34.
(9) Generally, the input or receive signal 38 progresses through repeater 30 to become the repeated signal 52. Repeated signal 52 experiences a delay (d) relative to the receive signal, which is considered the delay of the repeater. Similarly, there will be a propagation delay (p) from the transmit antenna 36 to the receive antenna 32 for the feedback signal 34. Generally, there is a transfer function 54 associated with the feedback signal 34 that provides a feedback gain (F) to the feedback signal. As illustrated in
(10) As may be appreciated, the block diagram of the Figures and the description herein generally illustrates a downlink signal path through the repeater 30, such as from a base station 12 to the mobile devices 24 (See
(11) Referring to
(12) As noted, it would be readily understood by a person of ordinary skill in the art that a return path, such as an uplink path, would similarly process signals from the mobile device 24 back to the base station 12 in order to realize the invention. However, discussion of the signal processing in one path is made herein, with an understanding that generally the similar processing occurs and similar circuit components are used in the signal path in the opposite direction as well.
(13) In accordance with one embodiment of the present invention, the input signals or receive signals 38 are modified for decorrelation by being frequency-shifted, utilizing a frequency-shifting circuit 44 to provide transmission or repeated signals that are frequency-shifted from the input signals.
(14) The disclosed embodiment of the present invention utilizes an introduced frequency shift into the repeated signals and cross-correlation of the repeated signals with the receive signals in order to isolate the feedback signals from the input signals.
(15) One way to separately measure the input signal and the feedback signal is to autocorrelate the receive signal with itself. Since the feedback signal is essentially a delayed version of the input signal, the feedback signal will appear as a correlation peak at whatever time the feedback signal is delayed. If the correlation peak of the feedback signal is greater than the autocorrelation profile of the input signal, then the level of the feedback signal can be measured. This method has the advantage in that the gain margin can be measured while the repeater is operating. The method is most effective when the repeater delay is greater than 2-4 times the reciprocal of the modulation bandwidth of the repeated signals because then the feedback signal is delayed beyond that point where there is any significant autocorrelation due to the input signal itself. Such a methodology may be suitable for high bandwidth signals like CDMA and W-CDMA signals. However, narrowband signals have a very wide correlation bandwidth. Therefore, the autocorrelation profile of the input signal is wide relative to typical feedback delay of the repeater. Therefore, the autocorrelation profile masks the feedback signal.
(16) In one specific embodiment of the present invention, a small frequency shift is added to the output of the repeater, or is added to the repeated signals that are transmitted by the repeater. The frequency shift decorrelates the input signal and the feedback signal. This allows the level of the input signal and the feedback signal to be measured separately by cross-correlating the receive signal with the repeated signal. One advantage of the invention is that the gain margin may be measured while the repeater continues to operate and provide service. Furthermore, it provides suitable gain margin measurements even when the autocorrelation profile of the input signal is very wide, such as for narrowband signals. In accordance with one aspect of the invention, the frequency shift f.sub.shift is small so that it does not affect system performance significantly.
(17) The methodology of the invention operates based upon the fact that a wide sense stationary random signal cross-correlated with a frequency-shifted version of the same signal that has gone through any linear, time-invariant transformation has an average value of zero. Additionally, a wide sense stationary random signal multiplied by the complex conjugate of the same signal that has been frequency shifted and that has gone through any linear time invariant transformation has a phase that is uniformly distributed from to with an average value of zero over integer periods of the frequency shift. This property implies that a correlation performed over integer periods of the frequency shift will have an average value of zero. This invention is applicable when the properties of the signals the repeater operates on, or repeats, are or can be transformed to be approximately similar to a wide sense stationary random signal over the measurement interval and when the forward and feedback path can be approximated as a linear, time invariant transform over the measurement interval.
(18) In accordance with one aspect of the invention, the cross-correlations are performed over exactly an integer number of periods of the frequency shift f.sub.shift to insure that the average cross-correlation phase is zero. Meeting that criterion, the invention minimizes the measurement period. If the measurement is performed over a non-integer number of periods, then the cross-correlation must be performed over a long enough time such that the average phase is still near zero.
(19) In accordance with one aspect of the invention, a frequency shift is provided to the repeated signal so that the gain margin may be measured by comparing the level of the input signal with the level of the feedback signal. To determine the relative level of the feedback signal 34, the repeated signal output indicated as 37 is cross-correlated with the receive signal 38. The cross-correlation is performed over a time window that is greater than or equal to the maximum time delay of the feedback signal 34 relative to the input signal 31. To determine the relative level of the input signal 31, the frequency shift provided to the output of the repeater or the repeated signal 37 is mathematically removed prior to the cross-correlation, and the resulting unshifted signal is cross-correlated with the receive signal 38. That cross-correlation is performed over a time window that is also greater than or equal to the maximum time delay of the feedback signal 34 relative to the input signal 31. The peak value of the cross-correlation is the relative level of the input signal. The gain margin is then calculated as the ratio of the relative level of the input signal to the relative level of the feedback signal.
(20) In describing the invention, an example is helpful in understanding the use of signal modification and cross-correlation in determining the relative levels of the feedback signal and the input signal. In reviewing the typical case where the repeated signal has a constant level, a zero mean, and no significant autocorrelation peaks other than those caused by the modulation filter, it can be considered to be approximately a wide sense stationary random signal beyond the impulse response of any modulation filter. In the case where the gain and the feedback is static, reference is made to
rx(t)=in(t)+F.Math.tx(tp) EQ. 1
The output signal, or repeated signal 37, is then set forth by Equation 2:
tx(t)=G.Math.rx(td).Math.e.sup.j.Math.2.Math..Math.fshift.Math.t EQ. 2
Therefore, the repeated signal tx(t) reflects the frequency shift of the received signal provided in accordance with one aspect of the present invention by frequency-shifting circuitry 44.
(21) To determine the relative level of the feedback signal 34 in the overall receive signal 38, the repeated signal 37 is cross-correlated with the receive signal 38. Correlation is a linear operation, therefore this cross-correlation is equivalent to the sum of the input signal 31 in(t) cross-correlated with the repeated signal 37 tx(t) and the feedback signal 34 F.Math.tx(tp) cross-correlated with the repeated signal 37 tx(t). Assuming all signals are WSS over the measurement interval, the cross correlation of in(t) with tx(t) will have an average value of zero because the signals are uncorrelated due the frequency shift. The cross correlation F.Math.tx(tp) with tx(t) will have an average value of F.Math.tx.sub.rms.sup.2 at t=p.
(22) To determine the relative level of the input signal in(t) in the receive signal 38, the frequency shift is mathematically removed from the repeated signal 52 tx(t) prior to calculating the cross-correlation, and the unshifted repeated signal is then cross-correlated with the receive signal 38. The frequency shift can be mathematically removed by multiplying it with a complex exponential with the negative of the frequency shift as shown in EQ. 3.
tx.sub.unshift(t)=tx(t).Math.e.sup.j.Math.2.Math..Math.fshift.Math.t EQ. 3
Again, since correlation is a linear operation, rx(td) can be split into its components, in(t) and F.Math.tx(tp). Since the frequency shift has been removed, tx.sub.unshift(t) is uncorrelated with F.Math.tx(tp) and has an average value of zero, while tx.sub.unshift is correlated with in(t) and has an average value proportional to G.sup.1.Math.tx.sub.rms.sup.2 at t=d.
(23) Therefore, the gain margin may then be calculated as a ratio of the cross correlations of rx(t) with tx.sub.unshift(t) at t=d and tx(t) with rx(t) at t=p.
(24)
(25) In another embodiment of the invention, the ratio of the input and feedback signals is determined by other methodology that relies upon the fact that the input signal and feedback signal are decorrelated due to the applied frequency shift of the repeated signal. In an alternative embodiment, the average power of the receive signal can be calculated, rx.sub.rms.sup.2. The relative level of the feedback signal in the receive signal is then calculated as the cross-correlation of the receive signal with the receive signal shifted by the negative of the frequency shift provided by the transmission circuitry of the invention. For ease of understanding, the feedback signal in this case is represented as the delayed input signal multiplied by the loop gain of the repeater multiplied by the frequency shift, G.Math.F.Math.rx(tdp).Math.e.sup.j.Math.2.Math..Math.fshift.Math.t. The receive signal can then be represented as the sum of the input signal and the feedback signal as shown in EQ. 5.
rx(t)=in(t)+G.Math.F.Math.rx(tdp).Math.e.sup.j.Math.2.Math.fshift.Math.t EQ. 5
The receive signal shifted by the negative of the frequency shift fshift is shown in EQ. 6
rx.sub.unshift(t)=in(t).Math.e.sup.j.Math.2.Math..Math.fshift.Math.t+G.Math.F.Math.rx(tdp) EQ. 6
(26) Again, since cross correlation is a linear operation, the cross correlation of rx(t) with rx.sub.shift(t) is equivalent to the sum of the input signal 31 in(t) with a negative frequency shift applied cross-correlated with the receive signal rx(t) and the feedback signal G.Math.F.Math.rx(tdp) cross correlated with rx(t). Assuming all signals are WSS over the measurement interval, and G and F are linear, time-invariant systems, then the cross correlation of in(t).Math.e.sup.j.Math.2.Math..Math.fshift.Math.t with rx(t) will have an average value of zero because the signals are uncorrelated. The cross correlation G.Math.F.Math.rx(tdp) with rx(t) has an average value of G.Math.F.Math.rx.sub.rms.sup.2 at t=d+p. The gain margin can then be calculated as the ratio of the average power of rx(t) to the cross-correlation of rx(t) and rx.sub.shift(t) as shown in EQ. 7.
(27)
(28) In accordance with another aspect of the present invention, the correlation circuitry insures that the average phase of the cross-correlation is zero, while minimizing the number of computations. If the frequency shift is small and the bandwidth of the signal is very large, then the calculations are performed over a large number of samples. However, to minimize the number of computations, one embodiment of the invention performs a windowed cross-correlation. The windows are equally distributed throughout one period of the frequency shift f.sub.shift. For instance, if the frequency shift was one Hertz, the correlation would have to be performed over a one-second period. However, if a window were applied from 0-0.1 seconds and 0.5-0.6 seconds, then the average phase of the cross-correlations would still sum to zero. Generally, any number of windows can be used as long as the average phase of the cross-correlations equals zero.
(29) In one embodiment, the correlation circuitry or processing circuitry assumes that the magnitude of the repeated signal is approximately constant throughout the measurement period. If the magnitude of the signal's envelope varies greatly during the measurement, the sum of the correlations may not add to zero. In accordance with another embodiment of the invention, to compensate for the problem, the receive and repeated/transmit signals are normalized so that they have a constant envelope prior to the correlation calculations. Normalization does not change the ratio of the input signal to the feedback signal. If the receive signal and repeated signal are normalized by the same function, the methodology of the invention continues to provide the desired results.
(30) In accordance with another feature of the invention, one embodiment of the invention may provide a constant frequency shift that is always applied to the repeated signal. Alternatively, the frequency shift feature is selectable and may be selectively turned ON or OFF selectively as the gain margin measurement is needed.
(31) Furthermore, in another embodiment of the invention, the frequency shift may be selectively varied both in the amount of the frequency shift, and also the sign of the shift. For example, the invention may alternate between a positive frequency shift and a negative frequency shift so that the overall average frequency shift utilized in the invention is zero.
(32) Turning now to
(33) Turning to
(34) Receive antenna 32 receives both the input signal and frequency shifted or modified feedback signal. That receive signal is coupled to a low noise amplifier (LNA) 64 for amplifying downlink RF receive signals from a base station. A mixer component 66 is fed by an appropriate local oscillator (LO) signal and converts the RF receive signal 38 to an IF signal at a different IF frequency or a frequency at or near the baseband frequency for ease of later processing in the repeater. The signal is then filtered by a filter component or circuitry 68. In the embodiments illustrated in
(35) The analog signal, such as at analog IF, is further upconverted with mixer circuitry 86 fed by an appropriate transmit LO to an appropriate RF signal. The RF signal is filtered by filter circuitry 88, and then fed to an RF power amplifier 90 before being transmitted as a repeated signal through the transmit antenna 36.
(36) The mixing elements are typical of a repeater. There can be more or fewer mixing elements than illustrated in the examples and still implement a functional repeater. In one embodiment, the frequency shift mixing operation can be combined with one or more of the other mixers if desired. However, the mixing operations must be implemented such that the frequency of the input signal and the frequency of the transmit or repeated signal differ by the amount of the frequency shift. The frequency shift mixer is shown after the filter; however, t can be placed anywhere between the receive and transmit antennas. In
(37) In the embodiments illustrated in
(38) Turning to
(39) In a static case, the frequency shift of the feedback signal 34 would be identical to the frequency shift of the repeated signals 37. However, in some implementations of the invention, there might be additional frequency shifting between the repeated signal 37 and the feedback signal 34 due to Doppler shifting, or other parameters and conditions within the installation and operation of the repeater. To that end, in one embodiment, the invention measures and accounts for the additional frequency shifting in the cross-correlation calculations. For example, this might be done by examining or measuring how the phase of the cross-correlation changes throughout the correlation period. By finding constant changes in the correlation phase during the correlation period, the phase change due to any additional frequency shift can be readily determined. If more or less of an integer number of phase rotations are observed in the measurement, then the correlation result can be truncated or extrapolated respectively to account for the additional frequency shift. In an alternative embodiment of the invention, the circuitry provides a compensating amount of frequency shift that is added or subtracted during the correlation calculation to negate the affect of any additional frequency shift associated with the environment and installation. This functionality will be implemented in the digital signal processing circuitry as suitable in the circuits of
(40) In one aspect of the invention, once the gain margin measurement is determined, the gain is automatically adjusted by the DSP circuitry 70, and specifically gain block or component 78. The gain may be automatically adjusted to ensure that the gain margin is above an acceptable level to insure proper operation. As will be understood, the gain margin might be adjusted through the DSP control circuitry as well as the specific gain adjustment parameters. The gain margin is usually greater than 0 dB in order to prevent oscillation. In fact, it is usually kept well above 0 dB to allow for variation in repeater gain, and antenna isolation. The present invention, by constantly measuring the gain margin as noted herein, provides automatic gain adjustment so that the repeater can compensate for any variation in the gain margin. In that way, the minimum threshold that has to be maintained might be reduced as the repeater is able to constantly automatically adjust the gain margin. As discussed above with respect to the correlation calculations, one embodiment of the invention might use a complex sinusoid to frequency shift the repeated signal that is output. However, one of ordinary skill in the art would realize that other signals might be used to modify the repeated signals with respect to the received signal to thereby decorrelate the repeated signal from the receive signal. Such modification must have minimal affect on the repeated or transmitted output of the repeater.
(41) The invention, as described with respect to various embodiments herein, wherein the frequency shift and correlation calculations are implemented in the digital domain, such as through DSP circuitry 70. However, such frequency shifting and decorrelation might also be implemented in the analog domain. Alternatively, a mixed signal implementation using both analog and digital components might be utilized to provide the desired signal decorrelation functions and correlation calculations.
(42) The invention, as described with respect to various embodiments herein, wherein the decorrelating function applied to the repeated signal is a frequency shift, could apply other decorrelating functions that cause minimal degradation of the repeated signal. The methods described herein could be readily adapted by a person of ordinary skill in the art to use alternate decorrelation functions to measure gain margin and control the gain of a repeater to maintain a minimum gain margin.
(43) As noted above, while a repeater is described herein as an exemplary embodiment, the invention might be applied to any type of signal repeating system wherein some part of the transmitted or repeated signal is fed back or finds its way into the input on the receive side as a feedback signal.
(44) Having described this invention in its various embodiments and parameters, other variations will become apparent to a person of ordinary skill in the art without deviating from the scope of the described embodiments and the invention.