Signal Delay Estimator with Absolute Delay Amount and Direction Estimation
A signal delay estimator includes an adjustable delay element for delaying a first signal to obtain a delayed first signal, a delay amount estimator for estimating a delay amount between the delayed first signal and a second signal that is similar and delayed relative to the first signal, and a leading signal determiner for determining whether the delayed first signal leads the second signal or vice versa, and for generating a corresponding binary signal. A selective inverter is provided for selectively inverting the delay amount depending on the binary signal. The signal delay estimator also includes a feedback element to the adjustable delay element for controlling a delay based on an output of the selective inverter. Another exemplary signal delay estimator includes a closed control loop with an adjustable delay element and separate first and second processing paths for absolute delay amount and delay direction, respectively.
Latest Intel Patents:
- ENHANCED LOADING OF MACHINE LEARNING MODELS IN WIRELESS COMMUNICATIONS
- DYNAMIC PRECISION MANAGEMENT FOR INTEGER DEEP LEARNING PRIMITIVES
- MULTI-MICROPHONE AUDIO SIGNAL UNIFIER AND METHODS THEREFOR
- APPARATUS, SYSTEM AND METHOD OF COLLABORATIVE TIME OF ARRIVAL (CTOA) MEASUREMENT
- IMPELLER ARCHITECTURE FOR COOLING FAN NOISE REDUCTION
The disclosure relates to a signal delay estimator. Furthermore, the disclosure relates to a method for estimating a delay between a first signal and a similar second signal. Furthermore, the disclosure may relate to a mobile communication device. Furthermore, the disclosure may relate to a signal delay tracking loop.
BACKGROUNDIn many signal processing applications there is often a need to estimate an amount of delay introduced by circuitry. Taking modern wireless transmitters as one of many possible examples (e.g., wireless transmitters in mobile phones, or in computers with built-in transceivers), knowledge of the transmitter's delay (i.e., between input and output) may be an integral part of techniques applied to make any of a number of types of measurements in a closed-loop configuration. Different types of measurements can be made with such a configuration, such as (without limitation): transmitter power measurement, transmitter gain measurement, transmitter phase measurement, transmitter IQ mismatches (i.e., mismatches between amplitude and/or phase of an In-phase and Quadrature signal pair), and transmitter adaptive pre-distortion.
In a closed-loop configuration, the feed-back signal typically is a delayed but accurate (or at least highly similar) copy of the base-band transmitted signal. This delay will vary with process, transmitter settings, temperature, and the like. The loop-back delay can severely degrade the closed-loop measurement if not compensated for.
SUMMARYEmbodiments of the disclosure provide a signal delay estimator comprising an adjustable delay element, a delay amount estimator, a leading signal determiner, a selective inverter, and a feedback element. The adjustable delay element is configured to delay a first signal to obtain a delayed first signal. The delay amount estimator is configured to estimate a delay amount between the delayed first signal and a second signal. The second signal is similar to the first signal and delayed relative to the first signal. The leading signal determiner is configured to determine whether the delayed first signal leads the second signal or vice versa, and generate a corresponding binary signal. The selective inverter is configured to selectively invert the delay amount depending on the binary signal. The feedback element to the adjustable delay element is configured to control a delay based on an output of the selective inverter.
According to further embodiments, a signal delay estimator comprises a closed control loop. The closed control loop comprises an adjustable delay element as a control element and separate first and second processing paths for an absolute delay amount and a delay direction, respectively. The delay direction indicates whether a delayed version of a first signal leads a second signal, or vice versa. The second signal is similar and delayed relative to the first signal. The second processing path for the delay direction comprises a slope-selective error signal integrator configured to integrate an error signal between the delayed first signal and the second signal if a slope of the second signal is positive. Furthermore, the second processing path, i.e. the processing path for the delay direction, comprises an integration result evaluator configured to evaluate whether an integration result provided by the slope-selective error signal integrator is greater than a threshold value and set a binary signal to a first value or a second value depending on a result of the evaluation.
Furthermore, the disclosure relates to a mobile communication device comprising an antenna port, an RF-frontend, and a digital baseband processor. The mobile communication device also comprises a signal delay estimator as described above. The RF-frontend of the mobile communication device is coupled to the antenna port and the digital baseband processor of the mobile communication device.
Further embodiments provide a method for estimating a delay between a first signal and a similar second signal. The method comprises delaying the first signal by an adjustable delay to obtain a delayed first signal and estimating a delay amount between the delayed first signal and the second signal. The method also comprises determining whether the delayed first signal leads the second signal or vice versa and generating a corresponding binary signal based thereon. The delay amount is selectively inverted depending on the binary signal to obtain a conditionally inverted delay amount. The adjustable delay used for delaying the first signal is adjusted based on the conditionally inverted delay amount.
According to further embodiments, a method for estimating a delay between a first signal and a second signal comprises delaying the first signal by an adjustable delay to obtain a delayed first signal and determining an error signal between the delayed first signal and the second signal. The error signal is integrated if a slope of one of the first signal and the second signal is positive. The method further comprises evaluating whether an integration result is greater than a threshold value, and setting a binary signal to a first value or a second value depending on a result of the evaluation.
The disclosure will be described in the following using the accompanying figures in which:
Different embodiments of the teachings disclosed herein will subsequently be discussed referring to the Figures. Below, identical or similar reference numerals are provided to objects having identical or similar functions so that objects referred to by identical reference numerals within the different embodiments are interchangeable and a description thereof is mutually applicable.
The transceiver 16 is connected to an antenna 18 and comprises an analog frontend and a baseband processor 20. The analog frontend comprises a signal divider element 22 (e.g. a circulator or duplexer), a transmitter 28a, and a receiver 28b. The transmitter 28a and the receiver 28b are arranged between the signal divider element 22 and the baseband processor 20. The transmitter 28a is connected to the divider element 22 via a differential interface 26a. The transmitter 28a comprises a differential amplifier 30a and a mixer arrangement 32a which is arranged between the amplifier 30a and the baseband processor 20. The amplifier 30a of the transmitter 28a amplifies a signal provided by the mixer arrangement 32a and feeds it via the differential interface 26a to the divider element 22. The receiver 28b is connected to the divider element 22 via another differential interface 26b. The receiver 28b comprises a differential amplifier 30b and a mixer arrangement 32b which is arranged between the amplifier 30b and the baseband processor 20. The amplifier 30b of the receiver 28b may be a low noise amplifier (LNA) and is configured to amplify a signal received by the antenna 18 and forwarded to an input of the amplifier 30b via the signal divider element 22 and the differential interface 26b. The amplified signal output by the amplifier 30b is fed to the mixer arrangement 32b for frequency down mixing and subsequent processing by the baseband processor 20.
The transmitter 28a typically distorts or otherwise modifies the signal provided by the baseband processor 20. The distortion and/or other modification introduced by the transmitter 28a typically varies with the operating and environmental conditions. In order to be able to maintain the signal properties of the signal radiated via the antenna within a desired range, it may be necessary to adjust one or more operating parameters of the transmitter 28a, such as a supply voltage or a bias condition of the amplifier 30a. This in turn may require a comparison of the signal output by the transmitter 28a and the signal output by the baseband processor 20 so that an amount of the distortion and/or modification introduced by the transmitter 28a can be assessed. As the transmitter 28a, in addition, typically also introduces a varying delay, the delay needs to be known or estimated for a meaningful comparison of the two signals. This is where a signal delay estimator may be used. Nevertheless, the signal delay estimator may also be used in other applications, such as audio signal processing, echo suppression, radar applications, sonar application, etc.
In all these applications, often there is a need to align the signals in time (TX versus feedback) before a meaningful model/measurement can be performed.
The transmit signal experiences a delay which is dependent on the operating conditions and is prone to the tolerances of the individual components. In our example the delay (Δt) is introduced mainly by the duplexer 22.
A simple way is to measure the delay in the Lab or during production using measurement equipment and use the measured delay for the operation. This does not help when the delay is changing with operating conditions (temperature, supply, device ageing).
Another solution is to generate a test signal (with a predefined pattern) which allows one to measure (and adjust) the delay. The problem with this approach is that it requires the normal operation (transmission) to pause while the test signal is applied for the delay measurement. This is not allowed for most of the systems (transmission power with test signal would disturb the communication network).
The transmitter schematically illustrated in
The in-phase component and the quadrature component output by the mixers 212 and 214, respectively, are fed to the power amplifier 30a which outputs an amplified signal. The amplified signal is provided to the duplexer 22 which is, in the example of
The delay tracking loop is further described in the context of two different systems as application examples: IQ-transmitter/receiver for LTE standard (
For both systems, the target is to measure the delay between the feedback signal (inp2) and the forward signal (inp1). The delay measurement can be done during active transmission and does not require a special modulation pattern.
The polar transmitter/receiver system in
The measured delay can be used to align the signals in time. As shown in
The signal delay estimator 300 also comprises a leading signal determiner 330 for determining whether the delayed first signal inp1(t+Δt) leads the second signal inp2 or vice versa, and for generating a corresponding binary signal. A selective inverter 340 is provided for selectively inverting the delay amount depending on the binary signal. The signal delay estimator further comprises a feedback element 350 to the adjustable delay element 310 for controlling a delay or a variable delay portion based on an output of the selective inverter 340. In the example depicted in
DC (Direct Current) components are removed from signals inp1 and inp2 using a first DC remover 302 and a second DC remover 304. For example, this can be done by differentiating the input signal X(n) (inp1 or inp2) to provide the output signal Y=X(n)−X(n−1), or applying a more dedicated high pass filter.
The DC-removed first signal inp1 is delayed by an integer and fractional portion of the sampling rate, using a buffer for integer delay and an allpass IIR filter for fractional delay that together form the adjustable delay element 310 in one embodiment. The fractional delay can also be achieved by a FIR filter (Lagrange structure) or any other filter structure commonly used for fractional delay implementation.
The delay amount estimator 320 comprises a subtraction element 322 and a discrete absolute amount integrator 324. An error signal err is computed, wherein err=inp1−inp2 by the subtraction element 322.
The delay amount is proportional to the sum(abs(err)) for a sequence of samples, indicated by [1 . . . n] in
The delay direction (increase/decrease decision) is calculated by the “trend detect” block which is similar or corresponds to the leading signal determiner 330. The leading signal determiner 330 comprises slope detector 332 and an error integrator 334. The idea is to sum up the error signal err only when a positive slope of the signal X (i.e., the DC-removed second signal inp2) is detected. To this end, the derivative or slope Δ of the second signal inp2 is determined by subtracting the previous sample of the second signal inp2N−1 from the current sample inp2N (in
The error integrator 334 is configured to integrate, or sum up, the output Yout1 of the slope detector 332 over a certain time period, for example m samples (samples [1 . . . m]). Now, if this sum(Yout1) is positive, then the delayed first signal inp1(t+Δt) signal was faster in time than the second signal inp2 and, therefore, the delay of the first signal inp1 has to be increased. If the sum of the error signal sum(err) is negative, then we have to decrease the delay of the first signal inp1. This is indicated by the binary signal Yout2 which is zero unless the sum is greater than zero. It is also possible to use another threshold value than 0.
The signal delay estimator 300 in
The selectively inverted gain amount output by the selective inverter 340 is now scaled with appropriate gain using a scaling element 662 and integrated within an integrator 652. The integrator may be regarded as a part of the feedback element 650, but this is not necessarily so. The gain can be dynamically set/adjusted versus time. First, starting with high gain for faster locking of the delay tracking loop, then reducing the gain as the time proceeds, allowing for slower but more accurate settling of the delay. In case of a noisy signal the lower gain helps to reduce the effect of the noise and improve the accuracy of the delay measurement (but also extends the measurement time).
The output of the integrator 652 is fed back via the feedback line 354 into the delay block 310 for adjusting the signal inp1 in time until it matches to the signal inp2. Note: the delay block 310 can also be applied on the second signal inp2 instead of the first signal inp1 (as another implementation example). In this case the trend detection has to invert its sign.
The delay direction determination typically functions in a reliable manner up to a delay of approximately +/−π/4, or +/−90 degrees. However, if the first and second signals inp1 and inp2 differ too much from each other (are not sufficiently similar), the operating range of the delay tracking loop may be smaller.
The loop achieves at least one of two things: it delivers the measured delay amount of the system AND it aligns the signals inp1 and inp2 in time, thus, they can be directly used for further processing w/o additional time alignment elements.
As an alternative to act 1204 the error signal may be integrated when the slope of the second signal inp2 or the (delayed) first signal inp1(t+Δt) is negative. In this case the act of selectively inverting the delay amount is adapted accordingly.
In contrast to the measurement of the delay in the lab or at the end of manufacturing, the proposed signal delay estimators and corresponding methods are capable of measuring the delay during TX operation and, thus, can cope with the changing conditions.
In contrast to delay measurements using a test signal while pausing the normal operation, the proposed signal delay estimators and corresponding methods are typically capable of using the “normal” TX signal and do not need a special test pattern. It is investigated on GSM, EDGE, TD-SCDMA, UMTS and LTE system (but can work with many other RATs (Radio Access Technologies) as well).
At least one aspect of the invention is a method for an automatic delay measurement, which can measure the delay and align two similar signals in time.
The application of the delay-tracking-loop or signal delay estimator is not limited to the cellular systems shown above, but can be in general applied whenever a delay of two similar signals is of interest.
A number of products, which have the possibility to detect distortion parameters (AMPM distortion) may require a method to cope with the changing delay and could in principle benefit from the current invention. The same may be true for a system using antenna tuner hardware which is relying on measuring antenna mismatch and tuning the antenna impedance back. For example, it would be possible to measure the antenna impedance (or radiated antenna power) OR overall system efficiency/battery current vs antenna mismatch at room temperature. Now, changing the temperature will significantly change the delay of the system (a standard duplexer can easily triple its delay vs temperature from 30 nsec to 90 nsec). The antenna impedance measurement will normally deliver wrong results under such conditions (as well as the accurate AMPM distortion detection will fail). When a signal delay estimator or a method for estimating a signal delay as described herein is used, the performance parameters are likely to stay almost the same vs temperature (the antenna radiated power will be stable). Not using a signal delay estimator (delay tracking loop) or a method typically leads to significantly changes of radiated antenna power.
Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or a feature of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus. Some or all of the method steps may be executed by (or using) a hardware apparatus, like a microprocessor, a programmable computer or an electronic circuit. Some one or more of the most important method steps may be executed by such an apparatus.
The implementation may be in hardware or in software or may be performed using a digital storage medium, for example a floppy disk, a DVD, a Blu-Ray, a CD, a ROM, a PROM, an EPROM, an EEPROM or a FLASH memory, having electronically readable control signals stored thereon, which cooperate (or are capable of cooperating) with a programmable computer system such that the respective method is performed. A data carrier may be provided which has electronically readable control signals, which are capable of cooperating with a programmable computer system, such that the method described herein is performed.
The implementation may also be in the form of a computer program product with a program code, the program code being operative for performing the method when the computer program product runs on a computer. The program code may be stored on a machine readable carrier.
The above described is merely illustrative, and it is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending claims and not by the specific details presented by way of description and explanation above.
Claims
1. A signal delay estimator, comprising:
- an adjustable delay element for delaying a first signal to obtain a delayed first signal;
- a delay amount estimator configured to estimate a delay amount between the delayed first signal and a second signal that is similar and delayed relative to the first signal;
- a leading signal determiner configured to determine whether the delayed first signal leads the second signal or vice versa, and generate a corresponding binary signal based thereon;
- a selective inverter configured to selectively invert the delay amount based on the binary signal; and
- a feedback element to the adjustable delay element configured to control a delay of the adjustable delay element based on an output of the selective inverter.
2. The signal delay estimator according to claim 1, wherein the leading signal determiner comprises:
- a first input configured to receive an error signal corresponding to a delay between the delayed first signal and the second signal;
- a second input configured to receive the second signal;
- a slope detector configured to detect whether one of the first signal and the second signal has a slope greater than zero, and output, as a slope detector output signal, the error signal if the slope is greater than zero and otherwise output a zero signal;
- an error integrator configured to integrate the slope detector output signal; and
- an integration result evaluator configured to set the corresponding binary signal to a first value if an integration result is positive, and to a second, different value if the integration result is negative.
3. The signal delay estimator according to claim 2, wherein the error integrator is configured to integrate the slope detector output signal over a time interval.
4. The signal delay estimator according to claim 3, wherein the time interval is variable, and wherein the signal delay estimator further comprises a time interval adjuster configured to set a relatively short time interval if a bandwidth of the first signal is greater than a threshold and a relatively long time interval if a bandwidth of the first signal is less than the threshold.
5. The signal delay estimator according to claim 2, wherein at least one of the error signal and the slope detector output signal is a time discrete signal, and wherein the error integrator is configured to sum the slope detector output signal over a plurality of samples.
6. The signal delay estimator according to claim 1, wherein the leading signal determiner comprises:
- a first input configured to receive an error signal corresponding to a delay between the delayed first signal and the second signal;
- a second input configured to receive the second signal;
- a slope detector configured to detect whether one of the first signal and the second signal has a slope less than zero, and output, as a slope detector output signal, the error signal if the slope is less than zero and otherwise output a zero signal;
- an error integrator configured to integrate the slope detector output signal; and
- an integration result evaluator configured to set the corresponding binary signal to a first value if an integration result is positive and to a second, different value of the integration result is negative.
7. The signal delay estimator according to claim 1, wherein the delay amount estimator comprises:
- an error signal determiner configured to determine an error signal corresponding to a delay between the delayed first signal and the second signal; and
- an absolute value error integrator configured to integrate an absolute value of the error signal over an absolute value integration time interval, wherein the absolute value error integrator outputs the delay amount.
8. The signal delay estimator according to claim 7, wherein the error signal determiner of the delay amount estimator comprises an output configured to provide the error signal to the leading signal determiner.
9. The signal delay estimator according to claim 1, wherein the selective inverter comprises a non-inverting path for the delay amount, an inverting path for the delay amount, and a multiplexer having the non-inverting path and the inverting path as inputs, wherein the multiplexer is configured to select one of the non-inverting path and the inverting path as an active input as a function of the binary signal provided by the leading signal determiner.
10. The signal delay estimator according to claim 1, further comprising an integrator configured to integrate the output of the selective inverter.
11. The signal delay estimator according to claim 1, further comprising a scaling element configured to scale the output of the selective inverter with a loop gain.
12. The signal delay estimator according to claim 11, further comprising a loop gain adjuster configured to set the loop gain to follow a decreasing gain profile.
13. The signal delay estimator according to claim 11, further comprising a loop gain adjuster configured to set the loop gain based on an estimation of a noise portion within the delay amount.
14. The signal delay estimator according to claim 1, further comprising at least one DC remover configured to remove a DC component of at least one of the first signal and the second signal.
15. The signal delay estimator according to claim 1, wherein the adjustable delay element comprises an integer delay portion and a fractional delay portion relative to a sampling rate of the first and second signals.
16. A signal delay estimator comprising:
- a closed control loop comprising an adjustable delay element as control element and separate first and second processing paths configured to ascertain an absolute delay amount and a delay direction, respectively, wherein the delay direction indicates whether a delayed version of a first signal leads a second signal, or vice versa, and wherein the second signal is similar and delayed relative to the first signal,
- wherein the second processing path for the delay direction comprises: a slope-selective error signal integrator configured to integrate an error signal between the delayed first signal and the second signal if a slope of the second signal is positive, and an integration result evaluator configured to evaluate whether an integration result provided by the slope-selective error signal integrator is greater than a threshold value and set a binary signal to a first value or a second value based on a result of the evaluation.
17. A mobile communication device, comprising:
- an antenna port;
- a digital baseband processor;
- an RF-frontend coupled to the antenna port and to the digital baseband processor; and
- a signal delay estimator associated with the digital baseband processor and the RF-frontend, comprising: an adjustable delay element configured to delay a first signal to obtain a delayed first signal; a delay amount estimator configured to estimate a delay amount between the delayed first signal and a second signal that is similar and delayed relative to the first signal; a leading signal determiner configured to determine whether the delayed first signal leads the second signal or vice versa, and generate a corresponding binary signal; a selective inverter configured to selectively invert the delay amount based on the binary signal; and a feedback element to the adjustable delay element configured to control a delay based on an output of the selective inverter.
18. The mobile communication device according to claim 17, wherein the first signal is provided by the digital baseband processor and the second signal is provided by the RF-frontend to the antenna port based on the first signal.
19. A mobile communication device, comprising:
- an antenna port;
- a digital baseband processor;
- an RF-frontend coupled to the antenna port and to the digital baseband processor; and
- a signal delay estimator associated with the digital baseband processor and the RF-frontend, comprising: a closed control loop comprising an adjustable delay element a as control element and separate first and second processing paths configured to ascertain an absolute delay amount and a delay direction, respectively, wherein the delay direction indicates whether a delayed version of a first signal leads a second signal, or vice versa, and wherein the second signal is similar and delayed relative to the first signal,
- wherein the second processing path for the delay direction comprises: a slope-selective error signal integrator configured to integrate an error signal between the delayed first signal and the second signal if a slope of the second signal is positive, and an integration result evaluator configured to evaluate whether an integration result provided by the slope-selective error signal integrator is greater than a threshold value and set a binary signal to a first value or a second value based on a result of the evaluation.
20. A method for estimating a delay between a first signal and a similar second signal, the method comprising:
- delaying the first signal by an adjustable delay to obtain a delayed first signal;
- estimating a delay amount between the delayed first signal and the second signal;
- determining whether the delayed first signal leads the second signal or vice versa and generating a corresponding binary signal based thereon;
- selectively inverting the delay amount based on the binary signal to obtain a conditionally inverted delay amount; and
- adjusting the adjustable delay used for delaying the first signal based on the conditionally inverted delay amount.
21. The method according to claim 20, wherein determining whether the first signal leads the second signal or vice versa comprises:
- detecting whether one of the first signal and the second signal has a slope greater than zero;
- determining an error signal between the delayed first signal and the second signal;
- generating a slope detection signal if the slope is greater than zero and otherwise a zero signal;
- integrating the error signal if the slope is greater than zero; and
- setting the binary signal to a first value if an integration result is positive and to a second value if the integration result is negative.
22. The method according to claim 21, wherein the error signal is integrated over a time interval and then evaluated as to whether the integration result is positive or negative.
23. The method according to claim 22, further comprising:
- setting a relatively short time interval as the time interval if a bandwidth of the first signal is greater than a threshold and setting a relatively long time interval as the time interval if the bandwidth of the first signal is less than the threshold.
24. The method according to claim 21, wherein at least one of the error signal and the slope detection signal is a time discrete signal, and wherein integrating the error signal comprises summing the error signal over a plurality of samples.
25. The method according to claim 20, further comprising:
- setting a loop gain based on one of a decreasing loop gain and an estimation of a noise portion within the delay amount; and
- scaling the conditionally inverted delay amount with the loop gain.
26. A method for estimating a delay between a first signal and a second signal, the method comprising:
- delaying the first signal by an adjustable delay to obtain a delayed first signal;
- determining an error signal between the delayed first signal and the second signal;
- integrating the error signal if a slope of one of the first signal, the delayed first signal, and the second signal is positive; and
- evaluating whether an integration result is greater than a threshold value and setting a binary signal to a first value or a second value depending on a result of the evaluation.
Type: Application
Filed: Dec 27, 2012
Publication Date: Jul 3, 2014
Applicant: INTEL MOBILE COMMUNICATION GMBH (NEUBIBERG)
Inventor: Alexander Belitzer (Muenchen)
Application Number: 13/727,908
International Classification: H03L 7/08 (20060101);