# Patent

## Title
Systems and methods for delay calibration in power amplifier systems

## Abstract

A power amplifier system is provided. The power amplifier system includes a power supply to generate a supply voltage based on an input signal, a power amplifier powered by the supply voltage to amplify the input signal and generate an output signal, a delay determiner to determine a delay mismatch between the input signal and the supply voltage, and a programmable delay block coupled to the delay determiner to compensate for the determined delay mismatch between the input signal and the supply voltage. The delay determiner determines the delay mismatch based on a first delay between the input and output signals when the input signal is below a threshold and a second delay between the input and output signals when the input signal is above the threshold.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims the benefit under 35 U.S.C. §120 as a continuation of U.S. application Ser. No. 14/270,020, titled “Envelop Tracking Power Amplifier System with Delay Calibration,” filed on May 5, 2014, which claims priority under 35 U.S.C. §120 as a continuation of U.S. application Ser. No. 13/779,461, titled “Envelop Tracking Power Amplifier System with Delay Calibration,” filed on Feb. 27, 2013, now U.S. Pat. No. 8,718,579, which claims priority under 35 U.S.C. §119(e) to U.S. Provisional Application Ser. No. 61/606,454, titled “Envelope Tracking Delay Calibration System,” filed on Mar. 4, 2012, each of which is hereby incorporated herein by reference in its entirety.


BACKGROUND
1. Field of Technology
Embodiments disclosed herein relate to an envelope tracking power amplifier system, and more specifically to calibrating delay in an envelope tracking power amplifier system.
2. Description of the Related Arts
In an envelope tracking (ET) power amplifier (PA) system, a power supply supplies a dynamically changing supply voltage to the PA. The supply voltage to the PA adjusts as the amplitude of the radio frequency (RF) signal to the PA changes such that the PA operates at or near peak efficiency for the given instantaneous output power requirements.
In a conventional ET PA system, varying delays may be present in the RF signal path and the envelope tracking power supply path, thus causing misalignment in the envelope tracking. This misalignment is undesirable because it causes distortion of the output signal.
SUMMARY
A delay calibration system time-aligns a supply voltage to a power amplifier RF signal in an envelope tracking system. An envelope tracking signal is generated based on a detected amplitude of an input signal. At a first time instance, the power supply is operated in a static mode to produce the supply voltage as a substantially constant voltage independent of the envelope tracking signal. At a second time instance, the power supply is operated in a dynamic mode to produce the supply voltage as a dynamically varying envelope tracking voltage based on the envelope tracking signal. A first delay between the input signal and the output signal is determined based on portions of the input and output signals captured when the power supply is operating in the static mode. A second delay between the input signal and the output signal is determined based on portions of the input and output signals captured when the power supply is operating in the dynamic mode. A delay block is programmed to compensate for a delay mismatch between the input signal to the power amplifier and the supply voltage, where the determined delay mismatch is based on a difference between the first delay and the second delay. A power amplifier powered by the supply voltage amplifies the input signal to generate an output signal.
In one embodiment, a power supply controller controls the power supply to operate in the dynamic mode responsive to the amplitude of the input signal exceeding an amplitude threshold, and controls the power supply to operate in the static mode responsive to the amplitude of the input signal being below the amplitude threshold.
In one embodiment, the first delay is determined by capturing a window of the input signal and a window of the output signal and performing a first cross correlation between low amplitude samples that are below a first threshold in the captured window of the input signal and low amplitude samples that are below the first threshold in the captured window of the output signal. The first threshold is set such that the low amplitude samples occur during static mode operation of the delay calibration system. The second delay is determined by performing a second cross correlation between high amplitude samples that are above a second threshold in the captured window of the input signal and high amplitude samples that are above the second threshold in the captured window of the output signal. The second threshold is set such that the high amplitude samples occur during dynamic mode operation of the delay calibration system. The difference between the first and second delays represents the delay mismatch between the input signal to the power amplifier and the supply voltage.
The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings and specification. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.



BRIEF DESCRIPTION OF THE DRAWINGS
The teachings of the embodiments disclosed herein can be readily understood by considering the following detailed description in conjunction with the accompanying drawings.
FIG. 1 is a circuit diagram illustrating a first embodiment of an envelope tracking power amplifier system with delay calibration.
FIG. 2 is a circuit diagram illustrating an embodiment of a dual mode power supply controller.
FIG. 3A is a waveform diagram illustrating an example envelope tracking supply voltage and an example power amplifier output signal that are substantially aligned.
FIG. 3B is a waveform diagram illustrating an example envelope tracking supply voltage and an example power amplifier output signal that are misaligned.
FIG. 4 is a flowchart illustrating a first embodiment of a process for calibrating delay of an envelope tracking power amplifier system.
FIG. 5 is a flowchart illustrating a second embodiment of a process for calibrating delay of an envelope tracking power amplifier system.
FIG. 6 is a waveform diagram illustrating a delay calibration calculation using separate cross-correlations between high amplitude portions of the input and output signals and between low amplitude portions of the input and output signals.
FIG. 7 is a circuit diagram illustrating a second embodiment of an envelope tracking power amplifier system with delay calibration.
FIG. 8 is a flowchart illustrating a third embodiment of a process for calibrating delay of an envelope tracking power amplifier system.



DETAILED DESCRIPTION
The Figures (FIG.) and the following description relate to various embodiments by way of illustration only. It should be noted that from the following discussion, alternative embodiments of the structures and methods disclosed herein will be readily recognized as viable alternatives that may be employed without departing from the principles discussed herein.
Reference will now be made in detail to several embodiments, examples of which are illustrated in the accompanying figures. It is noted that wherever practicable similar or like reference numbers may be used in the figures and may indicate similar or like functionality. The figures depict various embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.
An envelope tracking power amplifier system time-aligns a supply voltage from a power supply to an input signal to a power amplifier during a delay calibration. The power supply operates in a static mode for low amplitude input signals to the power amplifier and operates in a dynamic mode for high amplitude input signals to the power amplifier. In the static mode, the power supply produces a substantially constant supply voltage independent of the amplitude of the input signal. In the dynamic mode the power supply produces a dynamically varying envelope tracking supply voltage based on the amplitude of the input signal. A first delay is determined based on portions of the input and output signals captured during static operation of the power supply and a second delay is determined based on portions of the input and output signals captured during dynamic operation. A delay mismatch can then be estimated based on a difference between the first and second delays. A delay block is programmed to compensate for the estimated delay mismatch.
FIG. 1 illustrates an embodiment of an envelope tracking power amplifier system 100. Transmit signal generator 102 generates input signal 103 for transmission by envelope tracking power amplifier system 100. Input signal may comprise, for example, a long-term evolution (LTE) signal or other signal suitable for transmission via radio frequency (RF) carrier. In a signal path 120, delay block 122 receives input signal 103 and applies a delay to input signal 103 based on delay control signal 153 to produce delayed input signal 123. RF upconverter 124 upconverts delayed input signal 123 to produce RF input signal 125 to power amplifier (PA) 126. For example, in one embodiment, RF upconverter 124 modulates delayed input signal 123 onto an RF carrier frequency based on an oscillating signal 129 produced by local oscillator (LO) 128. PA 126 amplifies RF input signal 125 to generate RF output signal 131.
In an envelope tracking path 130, amplitude calculator 132 detects an amplitude of input signal 103 and generates envelope tracking signal 133 representing the detected amplitude. Delay block 134 applies a delay to envelope tracking signal 133 based on delay control signal 151 to generate delayed envelope tracking signal 135. Power supply controller 136 receives delayed envelope tracking signal 135 and generates power supply control signal 137 to control a power supply, which is a switched-mode power supply (SMPS) 138 in this example, although other types of power supplies may be used in other embodiments. SMPS 138 generates a supply voltage 155 to PA 126 from battery voltage (Vbatt) 139 based on power supply control signal 137. Generally, power supply controller 136 operates to control SMPS 138 to increase supply voltage 155 as the amplitude of RF input signal 125 increases, and decrease supply voltage 155 as the amplitude of RF input signal 125 decreases in accordance with conventional envelope tracking principles. For example, in one embodiment, power supply controller 136 controls SMPS 138 to produce an envelope tracking supply voltage 155 that enables PA 126 to operate at or near optimal efficiency given the instantaneous power requirements of RF input signal 125.
Absent compensation from delay blocks 122, 134, signal path 120 and envelope tracking path 130 may have different delays through them. A difference in delays causes envelope tracking supply voltage 155 to be misaligned with RF input signal 125 to PA 126, thus degrading the efficiency of PA 126 or introducing noise into output signal 131. To ensure alignment, delay blocks 134 and/or 122 are adjusted to compensate for the delay difference as will be described below. In alternative embodiments, delay blocks 122, 134 may be positioned elsewhere within their respective signal paths 120, 130. For example, delay block 122 may alternatively be positioned between RF upconverter 124 and PA 126. Furthermore, delay block 134 may be alternatively positioned between power supply controller 136 and SMPS 138. In another embodiment, only one of delay block 122, 134 is present and the other delay block is omitted. For example, because delay through envelope tracking path 130 is generally greater than delay through signal path 120, in one embodiment, delay block 134 is omitted and delay mismatch is compensated for by adding delay to signal path 120 via delay block 122.
In feedback path 140, RF downconverter 142 receives output signal 131 and downconverts output signal 131 to generate downconverted output signal 143. For example, in one embodiment, RF downconverter 142 demodulates output signal 131 using a carrier frequency signal 141 based on local oscillator 128. Delay determiner 144 determines a relative delay between downconverted signal 143 and input signal 103. Delay determiner 144 controls delay blocks 122, 134 based on the determined delay in order to minimize or reduce misalignment.
In one embodiment, one or more RF filters (not shown) may be included between PA 126 and RF downconverter 142. These filters may introduce further delay in feedback path 140. However, because these delays are substantially invariant during the short time between delay determinations, the delay introduced by these filters can be neglected, in one embodiment.
In one embodiment, delay determiner 144 determines delay based in part on a calibration control signal 145 that provides information relating to temperature or other environmental factors, estimated mismatch at an output of PA 126 (e.g., antenna mismatch), or output power of envelope tracking power amplifier system 100 that serves as an initial offset to determining the delay. Operation of delay determiner 144 is described in further detail below.
FIG. 2 illustrates an embodiment of a power supply controller 136 having dual mode operation controlled by a mode controller 202. In dynamic mode, power supply controller 136 controls SMPS 138 to be an envelope tracking power supply that adjusts supply voltage 155 to PA 126 based on an amplitude of input signal 103 in the manner described above. In static mode, power supply controller 136 controls SMPS 138 to output a substantially constant supply voltage 155 that does not perform envelope tracking.
In one embodiment, mode controller 202 automatically switches between dynamic mode and static mode based on the detected amplitude of input signal 103. For example, when the detected amplitude of input signal 103 is above a threshold amplitude, power supply controller 136 controls SMPS 138 to operate in dynamic mode as described above. When the detected amplitude of input signal 103 is below the threshold amplitude, power supply controller 136 controls SMPS 138 to operate in a static mode outputting a constant supply voltage 155. In one embodiment, a force mode select signal 203 can optionally force mode controller 202 into either dynamic mode or static mode independently of the detected amplitude of input signal 103. In alternative embodiments, mode controller 202 may be omitted and power supply controller 136 always operates in dynamic mode.
In another alternative embodiment, power supply controller 136 includes a lookup table that maps envelope tracking signal 135 (representing a detected amplitude of input signal 103) to an envelope tracking supply voltage 155 to be applied to PA 126. Here, the lookup table may be populated such that detected amplitudes of input signal 103 below a threshold map to a constant supply voltage, while detected amplitudes of input signal 103 above the threshold map to an envelope tracking voltage level. This embodiment effectively implements the same static and dynamic control modes described above without necessarily having a switch-based mode controller 202 that switches between discrete static mode and dynamic mode. In the description below, “static mode” refers generally to an operating state in which SMPS 138 produces a substantially constant output voltage (which may be implemented via a mode controller 202, a lookup table, or other means). Similarly, dynamic mode refers generally to an operating state in which SMPS 138 produces an envelope tracking output voltage (which may be implemented via a mode controller 202, a lookup table, or other means).
FIG. 3A-3B illustrate example waveforms produced by envelope tracking system 100. In FIG. 3A, output signal 131 represents an example RF signal such as an LTE signal. Supply voltage 155 is an envelope tracking signal that approximately follows the amplitude of an RF input signal 125 to PA 126 when RF input signal 125 is above a threshold V1, and is approximately constant when RF input signal 125 is below the threshold V1. For clarity of description, the threshold V1 is shown as a scaled threshold GV1 relative to the output signal 131, where G represents a gain of PA 126. In FIG. 3A, envelope tracking supply voltage 155 is well aligned to output signal 131.
FIG. 3B represents similar signals but envelope tracking supply voltage 155 is misaligned (e.g., delayed) relative to RF input signal 125 to PA 126. As a result, portions of the output signal 131 are clipped, causing distortion in output signal 131. For example, in the aligned example of FIG. 3A, a peak in the output signal 131 is observed at a time t1. However, due to misalignment, this peak is clipped in the example of FIG. 3B, and a peak in output signal 131 instead occurs a time t2. As can be observed, the difference in timing of the peaks can be used to approximate the amount of misalignment. For example, envelope tracking path 130 is observed to have an additional delay of approximately t2−t1 relative to the delay through signal path 120.
Based on the principles described above, FIG. 4 is a flowchart illustrating an example embodiment of a process for delay calibration of envelope tracking power amplifier system 100.
Power supply controller 136 is first configured 402 to operate SMPS 138 in static mode to produce a constant supply voltage 155. Here, supply voltage 155 is set sufficiently high to satisfy the peak instantaneous power requirement of RF input signal 125 to PA 126. Delay determiner 144 then determines 404 a first delay between input signal 103 and downconverted output signal 143. The delay determination may be computed using a variety of different methods, which will be described in further detail below. The first delay is not affected by delay through envelope tracking path 130 since supply voltage 155 is static.
Power supply controller 136 is then configured 406 to operate SMPS 138 in dynamic mode so that supply voltage 155 is an envelope tracking signal. Delay determiner 144 then determines 408 a second delay between input signal 103 and downconverted output signal 143. Delay estimator 144 then configures 410 at least one of delay block 122, 134 based on the first and second delay. For example, the difference between the first and second delay approximates the difference in the relative delays through signal path 120 and envelope tracking path 130 respectively. If the first delay is less than the second delay, this means that envelope tracking path 130 has a longer delay than signal path 120, and the delay can be compensated for by increasing the delay through signal path 120 via delay block 122 and/or decreasing the delay through envelope tracking path 130 via delay block 134. Alternatively, if the first delay is more than the second delay, this means that envelope tracking path 130 has a shorter delay than signal path 120, and the delay can be compensated for by decreasing the delay through signal path 120 via delay block 122 and/or increasing the delay through envelope tracking path 130 via delay block 134.
The delay calculation in steps 404 and 408 can be performed by a variety of different methods. In one embodiment, a cross correlation is computed between a captured window (e.g., a time-limited set of samples) of input signal 103 and a captured window of downconverted output signal 143. The cross correlation yields a vector that represents similarity between the signals 103, 143 as a function of a time delay applied to one of the signals 103, 143. The cross correlation vector has a peak at a value corresponding to the time delay that, if applied to one of the signals, represents the statistical best match between the signals. The cross correlation peak therefore provides an estimate of the relative delay between the signals.
In another embodiment, delay determiner 144 detects locations of peaks of the input signal 103 and downconverted output signal 143 and computes the time delay between these peaks. Alternatively, in embodiments where power supply controller 136 does not automatically switch to static mode at low voltages, delay determiner 144 may instead detect the locations of local minima of the input signal 103 and downconverted output signal 143, and compute the delay based on the time delay between these locations. In yet another embodiment, delay determiner 144 uses a phase-based approach to delay estimation, where delay determiner 144 determines a delay based on an offset between one or more zero crossings of the input signal and output signal.
FIG. 5 is a flowchart illustrating another embodiment of a process for delay calibration of envelope tracking system 100. This embodiment may be utilized when power supply controller 136 operates SMPS 138 in dynamic mode when the detected amplitude of input signal 103 is above a threshold and operates SMPS in static mode when the detected amplitude is below the threshold, as described above. A first delay is determined 502 between a low amplitude portion of input signal 103 and a low amplitude portion of downconverted output signal 143. Here, the low amplitude portion refers to samples of signals 103, 143 that have an amplitude below a first threshold y, where y is set such that SMPS 138 operates in static mode for amplitudes below y. Therefore, the delay through envelope tracking path 130 will not affect the first delay and the first delay will represent delay through signal path 120 only. A second delay is then determined 504 between a high amplitude portion of input signal 103 and a high amplitude portion of downconverted output signal 143. Here, the high amplitude portion refers to samples of signals 103, 143 that have an amplitude above a second threshold x, where x is set such that SMPS 138 operates in dynamic mode for amplitudes above x. The second delay is affected by the delay through envelope tracking path 130 because envelope tracking is used for high amplitude signals. Thus, the difference between the first delay and the second delay represents the relative delays through signal path 120 and envelope tracking path 130 respectively. The determined delay can be compensated for by configuring 506 at least one of the delay blocks 122, 134 based on the first and second delays.
FIG. 6 is an example waveform diagram illustrating the calibration method of FIG. 5. Particularly, FIG. 6 illustrates an example capture window 602 of input signal 103 and an example capture window 605 of downconverted output signal 143 that are captured concurrently by delay determiner 144. As described above, a first delay is determined between the samples 606A, 606B having amplitudes above x in the captured windows of input signal 103 and downconverted output signal 143 respectively (e.g., by finding a peak of a cross-correlation between the samples having amplitudes above x). A second delay is determined between the samples 608A, 608B having amplitudes below y in the captured windows of input signal 103 and downconverted output signal 143 respectively (e.g., by finding a peak of a cross-correlation between the samples having amplitudes below y).
In one embodiment, the second threshold x is set at the average amplitude of the input signal 103 (or downconverted output signal 143) in the captured window 602 (or 604), although other values of x are also possible. Furthermore, in one embodiment, the first threshold y is set to be x/2, although other values of y are also possible. In one embodiment, where a lookup table is used by power converter controller 136 to determine voltage levels of supply voltage 155, delay determiner 144 may use the values from the lookup table to set x and y. For example, delay determiner 144 can determine the amplitude threshold where power convert controller 136 will switch between static and dynamic operation, and set x and y to ensure that amplitudes above x occur during dynamic operation and amplitudes below y occur during static operation.
An advantage of the calibration technique described in FIGS. 5-6 is that envelope tracking system 100 does not need to enter a separate calibration mode to perform the delay calibration. Rather, envelope tracking system 100 can detect the delay and adjust delay block 122, 134 based on real-time observation of input and output signals during normal operation of envelope tracking system 100. Another advantage of the embodiments of FIGS. 5-6 is that calibration can be performed based on a single capture window for each of the input signal 103 and downconverted output signal 143, rather than performing separate captures at two separate times. This eliminates the effect of jitter from sampling of input signal 103 or the effects of variable environmental parameters that could change over time.
FIG. 7 illustrates an alternative embodiment of an envelope tracking power amplifier system 700. Envelope tracking power amplifier system 700 is similar to envelope tracking power amplifier system 100 described above, but includes a power supply calibration signal generator 752, a power amplifier calibration signal generator 754, and a calibration switch 756. Depending on a mode select signal 759, calibration switch 756 selects between a power supply calibration signal 733B generated by power supply calibration signal generator 752 and envelope tracking signal 733A tracking the amplitude of input signal 103 generated by amplitude calculator 132 to be applied as input signal 133 to envelope tracking path 130. Similarly, depending on mode select signal 759, calibration switch 756 selects between a power amplifier calibration signal 703B generated by power amplifier calibration signal generator 754 and transmit signal 703A generated by transmit signal generator 102 to be applied as input signal 103 to signal path 120.
Enabling envelope tracking power amplifier system 100 to use dedicated calibration signals 703B, 733B during calibration in place of regular transmit signals 703A, 733A (e.g., an LTE signal) may enable envelope tracking power amplifier system 100 to perform the delay estimation more precisely. Various signals can be used as power supply calibration signal 733B and power amplifier calibration signal 703B in a calibration mode. For example, in one embodiment, power amplifier calibration signal 703B comprises a continuous wave signal of substantially constant amplitude and frequency. In another embodiment, power amplifier calibration signal 703B comprises a square wave signal. Similarly, in various embodiments, power supply calibration signal 733B may comprise, for example, a square wave or a constant voltage signal.
In various embodiments, calibration may be performed using different combinations of power supply calibration signal 733B, envelope tracking signal 733A, transmit signal 703A, and power amplifier calibration signal 703B. For example, in one embodiment, calibration is performed using power amplifier calibration signal 703B in signal path 120 and envelope tracking signal 733A (based on transmit signal 703A) in envelope tracking path 130. In another embodiment, calibration is performed using power supply calibration signal 733B through envelope tracking path 130 and transmit signal 703A through signal path 120. In yet another embodiment, power amplifier calibration signal 703B and power supply calibration signal 733B are both applied during calibration. Calibration using these dedication calibration signals can be performed using, for example, an amplitude correlation technique as described above. For example, windows of downconverted output signal 143 and input signal 103 are captured and a cross-correlation is performed between the captured windows. The delay corresponding to the peak of the cross-correlation represents the delay mismatch between signal path 120 and envelope tracking path 130, and can be used to configure delay blocks 122 and/or 134. In another alternative embodiments, a different method can be used to determine the delay, such as, for example using a phase-based correlation based on comparing the relative delay between zero-crossings of input signal 103 and downconverted output signal 143.
In one embodiment, a calibration mode may be performed prior to normal operation in which delay values are measured at a plurality of different times using any of the methods discussed above, where it expected that various measureable conditions that affect delay will vary between measurements. For example, these conditions may include environmental conditions (e.g., temperature), estimated mismatch at an output of PA 126 (e.g., antenna mismatch), output power, or other potentially time-varying conditions. Thus, a delay can be predicted for a given set of measured conditions and stored to a lookup table used by the delay determiner 144. In one embodiment, the predicted delay can be used during real-time operation instead of performing a real-time delay measurement. For example, in one embodiment, delay determiner 144 monitors various conditions of envelope tracking power amplifier system 100 (or envelope tracking power amplifier system 700), performs a lookup in the lookup table based on the measured conditions, and calibrates delay of delay blocks 122, 134 based on the pre-calibrated values in the lookup table.
In another embodiment, the predetermined delays in the lookup table are used in a predictive way to complement a real-time delay calibration during normal operation. For example, in one embodiment, prior to a delay measurement, delay determiner 144 performs a lookup in the lookup table to determine an expected delay based on measured conditions. Delay determiner 144 may use the expected delay to determine when to start the capture window of the downconverted output signal 143 relative to the capture window of input signal 103 using any of the delay calibration techniques described above. By having a good estimate of the expected delay prior to capture, delay determiner 144 can shorten the size of the capture windows, thus improving computational efficiency.
FIG. 8 illustrates another alternative embodiment of a delay calibration process for an envelope tracking power amplifier system 100 that operates in one of three states: (1) a calibration state 850; (2) a low-power operation state 860; and (3) a full-power operation state 870. These states may be used, for example, in an envelope tracking power amplifier system 100 that is a component of a cellular device or other wireless communications device. Generally, in the calibration state 850, envelope tracking power amplifier system 100 determines an initial delay estimate using techniques similar to those described above. The low power operation state 860 is typically entered during startup conditions of the device, for example, when a cellular device is attempting to locate a network to connect to. SMPS 138 typically operates in static mode in the low power state 860 because low amplitude signals are present. The full power operation state 870 is typically used during normal operation of the device. SMPS 138 typically operates in dynamic (envelope tracking) mode for at least a portion of the time in the full power state 870 because high amplitude signals are present. For example, SMPS 138 may switch between static mode (for low amplitude signals) and dynamic mode (for high amplitude signals) when operating in the full power state 870. The illustrated process enables envelope tracking power amplifier system 100 to calibrate the delay when operating in the lower power state 860 where SMPS 138 is not performing envelope tracking prior to transitioning to the full-power state 870 where envelope tracking is used.
Specifically, in the calibration state 850, envelope tracking system 100 is configured 802 to operate SMPS 138 in static mode and a first delay is determined 804 between input signal 103 and downconverted output signal 143. Envelope tracking system 100 is then configured 806 to operate SMPS 138 in dynamic mode and a second delay is determined 808 between input signal 103 and downconverted output signal 143. A delay mismatch is then determined 810 based on the first and second delay using any of the techniques described above.
In the low power state 860 (e.g., during start up conditions), envelope tracking system 100 is configured 812 to operate in static mode because only low amplitude signals are present in this state. A third delay is determined 814 between input signal 103 and downconverted output signal 143. An adjusted delay mismatch is then determined 816 based on an offset between the first delay and the third delay. The amount of adjustment represents a difference between the calibrated delay mismatch determined during the calibration state 850 and the actual delay mismatch measured in the low power state 860. Delay block 122, 134 can then be configured 818 based on the adjusted delay mismatch prior to entering the full power envelope tracking state 870.
Envelope tracking system 100 then transitions to the full power (envelope tracking) state 870 by configuring 820 SMPS 138 to operate in dynamic mode. Here, the delay has already been pre-configured and will therefore be substantially aligned when transitioning to the full-power state 870. In some embodiments, additional calibrations may be performed in the high power state 870 using the techniques described above to further refine the delay calibration or adapt to changing environmental conditions that may affect delay. In additional alternative embodiments, the process of FIG. 8 can be applied to envelope tracking power amplifier 700 described above using one or more dedicated calibration signals in place of the normal transmit and envelope tracking signals.
Upon reading this disclosure, those of skill in the art will appreciate still additional alternative designs for an envelope tracking system with delay calibration. Thus, while particular embodiments and applications have been illustrated and described, it is to be understood that the embodiments discussed herein are not limited to the precise construction and components disclosed herein and that various modifications, changes and variations which will be apparent to those skilled in the art may be made in the arrangement, operation and details of the method and apparatus disclosed herein without departing from the spirit and scope of the disclosure.

## Claims

1. A power amplifier system comprising:
a power supply configured to generate a supply voltage based on an input signal;
a power amplifier powered by the supply voltage and configured to amplify the input signal and generate an output signal;
a delay determiner coupled to the power amplifier, the delay determiner configured to determine a first delay between the input signal and the output signal when the input signal is below an amplitude threshold, determine a second delay between the input signal and the output signal when the input signal is above the amplitude threshold, the delay determiner configured to determine the first delay and the second delay by detecting at least one of a cross correlation, a peak, a local minimum, a phase, and a zero crossing of the input signal and the output signal, and determine a delay mismatch between the input signal and the supply voltage based on the first delay and the second delay; and
a programmable delay block coupled to the delay determiner and configured to compensate for the determined delay mismatch between the input signal and the supply voltage.

2. The power amplifier system of claim 1 wherein the supply voltage is substantially constant when the input signal is below the amplitude threshold and the supply voltage tracks an amplitude of the input signal when the input signal is above the amplitude threshold.

3. The power amplifier system of claim 1 wherein the delay determiner is configured to determine the delay mismatch based on a difference between the first delay and the second delay.

4. The power amplifier system of claim 1 wherein the programmable delay block is coupled in series with at least one of the power amplifier and the power supply.

5. The power amplifier system of claim 1, further comprising an amplitude detector coupled in series with the power supply to detect an amplitude of the input signal.

6. The power amplifier system of claim 5, further comprising a power supply controller coupled between the amplitude detector and the power supply, the power supply controller being configured to generate a supply voltage control signal to control the power supply based on the detected amplitude of the input signal.

7. The power amplifier system of claim 6 wherein the power supply controller includes a look-up table to map the detected amplitude of the input signal to the supply voltage control signal.

8. A power amplifier system comprising:
a power supply configured to generate a supply voltage based on an input signal;
a power amplifier powered by the supply voltage and configured to amplify the input signal and generate an output signal;
a delay determiner coupled to the power amplifier, the delay determiner configured to determine a first cross-correlation between a first plurality of samples of the input signal and a first plurality of samples of the output signal, and determine a first delay between the input signal and the output signal when the input signal is below an amplitude threshold, determine a second delay between the input signal and the output signal when the input signal is above the amplitude threshold, and determine a delay mismatch between the input signal and the supply voltage based on the first delay and the second delay; and
a programmable delay block coupled to the delay determiner and configured to compensate for the determined delay mismatch between the input signal and the supply voltage.

9. The power amplifier system of claim 8 wherein the delay determiner is configured to identify a first peak in the first cross-correlation and determine the first delay based on the first peak.

10. The power amplifier system of claim 9 wherein the delay determiner is configured to determine a second cross-correlation between a second plurality of samples of the input signal and a second plurality of samples of the output signal.

11. The power amplifier system of claim 10 wherein the delay determiner is configured to identify a second peak in the second cross-correlation and determine the second delay based on the second peak.

12. A method for delay calibration in a power amplifier system, the method comprising:
generating a supply voltage for a power amplifier based on an input signal to the power amplifier;
determining a first delay between the input signal and an output signal of the power amplifier when the input signal is below an amplitude threshold by detecting at least one of a cross correlation, a peak, a local minimum, a phase, and a zero crossing of the input signal and the output signal;
determining a second delay between the input signal and the output signal when the input signal is above the amplitude threshold by detecting at least one of a cross correlation, a peak, a local minimum, a phase, and a zero crossing of the input signal and the output signal;
determining a delay mismatch between the supply voltage and the input signal based on the first delay and the second delay; and
compensating for the determined delay mismatch between the input signal and the supply voltage.

13. The method of claim 12 wherein generating the supply voltage includes generating a first supply voltage that is substantially constant when the input signal is below the amplitude threshold and generating a second supply voltage that tracks an amplitude of the input signal when the input signal is above the amplitude threshold.

14. The method of claim 12 wherein determining the delay mismatch includes determining the delay mismatch based on a difference between the first delay and the second delay.

15. The method of claim 12 wherein generating the supply voltage includes detecting an amplitude of the input signal.

16. The method of claim 15 wherein generating the supply voltage further includes generating a supply voltage control signal to control a power supply based on the detected amplitude of the input signal.

17. The method of claim 12 wherein determining the first delay includes determining a first cross-correlation between a first plurality of samples of the input signal and a first plurality of samples of the output signal.

18. The method of claim 17 wherein determining the first delay further includes identifying a first peak in the first cross-correlation and determining the first delay based on the first peak.

19. The method of claim 18 wherein determining the second delay includes determining a second cross-correlation between a second plurality of samples of the input signal and a second plurality of samples of the output signal.

20. The method of claim 19 wherein determining the second delay further includes identifying a second peak in the second cross-correlation and determining the second delay based on the second peak.