METHOD FOR FAST AUTOMATIC POWER CONTROL OF WIRELESS TRANSMITTERS

Information

  • Patent Application
  • 20140141730
  • Publication Number
    20140141730
  • Date Filed
    November 19, 2013
    10 years ago
  • Date Published
    May 22, 2014
    10 years ago
Abstract
A circuit includes a transmit path to receive an input signal and generate an output signal to be output at a transmit power level according to a power target signal. The circuit also includes a gain corrector to output a signal for adjusting a power level of the output signal to correspond to the transmit power level. The signal for adjusting is based on the power target signal and a delay for time-aligning a first signal and a second signal.
Description

The present disclosure is related to U.S. application Ser. No. 13/351,273, filed on Jan. 17, 2012, U.S. application Ser. No. 13/330,715, filed on Dec. 20, 2011, U.S. application Ser. No. 12/397,366, filed on Mar. 4, 2009, U.S. application Ser. No. 61/566,877, filed on Dec. 5, 2011, and U.S. application Ser. No. 61/034,285, filed on Mar. 6, 2008, which are each incorporated by reference herein in their entirety.


BACKGROUND

The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.


Wireless telecommunication systems require accurate control of transmit power under a wide range of operating conditions. This includes “3G” systems that comply with the International Mobile Telecommunications-2000 (IMT-2000) specifications and “4G” systems such as Long Term Evolution (LTE) and Mobile WiMax. Accurate and robust transmit power control is required both in user equipment (UE) such as cellular phone, tablets, computers and mobile hotspots and in service provider equipment such as base stations, eNodeBs, and Wireless Access Points (WAP).


Transmit power control can generally be characterized as either open loop power control (OLPC) or closed loop power control (CLPC). OLPC adjusts the output power based on predetermined calibration data. However, under OLPC, it is difficult to compensate for variations in the characteristics of the transmitter due to part-to-part variations in the components of the transmitter. Similarly, it is also difficult to compensate for changes in the characteristics of the transmitter over time as parts age or under all operating conditions.


CLPC differs from OLPC by using power measurement feedback, which allows CLPC to be potentially more accurate than OLPC.


BRIEF SUMMARY

In an embodiment, a circuit comprises a transmit path to receive an input signal and generate an output signal at a transmit power level according to a power target signal, and a gain corrector to output a signal for adjusting a power level of the output signal to correspond to the transmit power level. The signal for adjusting is based on the power target signal and a delay for time-aligning a first signal and a second signal.


In an embodiment, the circuit includes a receive path to receive the output signal of the transmit path and generate a received signal, and a gain estimator to output a measured gain signal associated with the transmit path using a first average signal of the input signal during a first estimation window and a second average signal of the received signal during a second estimation window.


In an embodiment, the gain corrector determines the signal for adjusting using the power target signal and the measured gain signal.


In an embodiment, the first signal is the input signal and the second signal is the received signal, and a beginning of the second gain estimation window occurs the delay after a beginning of the first gain estimation window.


In an embodiment, the delay includes a propagation delay through the transmit path and a propagation delay through the receive path.


In an embodiment, the circuit is incorporated into an integrated circuit or a semiconductor chip.


In an embodiment, a method generates an output signal at a transmit power level according to a power target signal. The output signal is based on an input signal received. The method also outputs a signal for adjusting a power level of the output signal to correspond to the transmit power level. The signal for adjusting is based on the power target signal and a delay for time-aligning a first signal and a second signal.


In an embodiment, the method generates an received signal based on the output signal received from the transmit path, and outputs measured gain signal associated with the transmit path using a first average signal of the input signal during a first estimation window and a second average signal of the received signal during a second estimation window.


In an embodiment, the signal for adjusting is determined using the power target signal and the measured gain signal.


In an embodiment, the first signal is the input signal and the second signal is the received signal, and a beginning of the second gain estimation window occurs the delay after a beginning of the first gain estimation window.


In an embodiment, the delay includes a propagation delay through the transmit path and a propagation delay through the receive path.


In an embodiment, the first average signal includes an average magnitude of the input signal during the first estimation window and the second average signal includes an average magnitude of the received signal during the second estimation window.


In an embodiment, the first average signal includes an average power of the input signal during the first estimation window and the second average signal includes an average power of the received signal during the second estimation window.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of portions of a wireless device.



FIG. 2 is a circuit diagram of a transmitter in accordance with an embodiment of the disclosure.



FIG. 3 is a circuit diagram of a gain estimator in accordance with an embodiment.



FIG. 4 depicts waveforms showing operation of the gain estimation block of FIG. 3.



FIG. 5A is a circuit diagram of a gain corrector in accordance with an embodiment.



FIG. 5B is a diagram illustrating a relationship between a power target input and a power output.



FIG. 6 depicts waveforms showing operation of the gain corrector of FIG. 5.



FIG. 7 depicts waveforms showing generation of control signals in accordance with an embodiment.



FIG. 8 is a circuit diagram of a transmitter in accordance with an embodiment.



FIG. 9 is a flowchart showing a method of automatic power control in accordance with an embodiment.



FIG. 10 is a flowchart showing a method of determining a gain of a circuit in accordance with an embodiment.





DETAILED DESCRIPTION


FIG. 1 is a block diagram of portions of a wireless device 100 including a transmitter 1-110. The transmitter 1-110 receives a baseband transmit signal BBTX from a baseband subsystem 150 and modulates a Radio Frequency (RF) carrier using the baseband transmit signal BBTX. In an embodiment, the baseband transmit signal BBXT comprises I and Q signals.


The transmitter 1-110 transmits the modulated carrier using an antenna 1-140 at a transmit power level according to a power target signal PTarget received from the baseband subsystem 150. The transmitter 1-110 is coupled to the antenna 1-140 through a directional coupler 1-130. A receiver 1-120 is also coupled to the antenna 1-140 through the directional coupler 1-130.


The receiver 1-120 receives RF signals from the antenna 1-140 and converts them to baseband receive signals BBRX. The baseband subsystem 150 receives the baseband receive signals BBRX from the receiver 1-120. In an embodiment, the baseband receive signal comprises I and Q signals which together define the amplitude and phase of the baseband receive signals BBRX.



FIG. 2 is a circuit diagram of a transmitter 2-110 in accordance with an embodiment. The transmitter 2-110 is used in the wireless device 100 and includes a transmitter (TX) path 210 and a receiver (RX) path 2-240. TX path 210 defines a path between inputs ITX and QTX and an antenna 2-140. RX path 2-240 defines a path between a directional coupler 2-130 and a gain estimator 2-260.


A person of skill in the art in light of the disclosure and teachings herein would understand that some subcomponents of transmitter 2-110 could be implemented using digital electronic circuits such as adders, multipliers, state machines, and logic gates, and/or using instructions stored on a non-transitory computer-readable media and executed on a digital signal processor (DSP), microcontroller, special-purpose computer, or general-purpose computer.


A plurality of ITX and QTX data pairs (ITX/QTX data) to be transmitted enter the transmitter 2-110. The ITX/QTX data is a baseband signal that conveys amplitude and phase information for modulating a carrier or subcarrier of the transmitted signal. The ITX/QTX data may be digitally encoded, such as by being expressed as 12, 16, or 32 bit integers or as floating point values. Furthermore, the ITX/QTX data may enter transmitter 2-110 in a bit-serial or bit-parallel fashion.


A digital gain controller 2-214 receives the ITX/QTX data and multiplies the data by a first gain control signal GC1 received from a TX gain controller 2-268. In an embodiment, the first gain control signal GC1 is a scaling value or a scaling exponent and may be digitally encoded.


A digital filter/interpolator 2-218 receives the scaled ITX/QTX data and performs filtering and interpolation of the ITX/QTX data. The digital filter/interpolator 2-218 may include a Finite Impulse Response (FIR) filter including fixed or programmable coefficients. The FIR filter may also perform interpolation in order to increase the number of ITX/QTX data pairs. A Cascaded Integrate-Comb (CIC) Filter may also be used to interpolate the ITX/QTX data.


Digital-to-Analog Converters (DACs) 2-222a and 2-222b receive the filtered and interpolated ITX/QTX data and convert it to analog I and Q output signals.


An up converter 2-226 receives the analog I and Q output signals and uses them to modulate a carrier signal. In an embodiment, the up converter 2-226 multiplies the analog I signal by the carrier signal, multiplies the analog Q signal by a 90 degree phase-shifted version of the carrier signal, and sums the results of the multiplications to produce a Radio Frequency (RF) output signal. The up converter 2-226 also adjusts the amplitude of the RF output signal according to a second gain control signal GC2 received from the TX gain controller 2-268.


A driver 2-230 and a Power Amplifier (PA) 2-234 amplify the RF output signal to produce the transmit signal. The gain of a driver 2-230 varies according to a third gain control signal GC3 received from the TX gain controller 2-268. The PA 2-234 is coupled to an antenna 2-140 through a Front-End Module 2-236. In an embodiment, antenna 2-140 is a multi-element antenna.


A directional coupler 2-130 is connected between the Front-end Module 2-236 and the antenna 2-140 to provide a feedback signal according to the transmit signal. The directional coupler 2-130 directs a defined amount of the power of the transmit signal to the RX path 2-240 as a feedback signal. For example, the directional coupler 2-130 may have a coupling factor of 20 dB indicating that 1/100th of the power of the transmit signal is directed to the RX path 2-240 as the feedback signal.


In an embodiment, the RX path 2-240 is an auxiliary receiver that is not used to process signals received through the antenna 2-140. Alternatively, in an embodiment using


Time-Division Duplexing (TDD), Time Division Multiple Access (TDMA), or a half-duplex communication scheme, the RX path 2-240 may be a primary receiver of the wireless device.


In RX-Path 2-240, the feedback signal from directional coupler 2-130 is received by a down converter 2-252. The down converter 2-252 converts the feedback signal from an RF signal to a baseband signal and produces analog I and Q received signals. The analog I and Q received signals taken together convey amplitude and phase information about the down-converted feedback signal.


Analog-to-Digital Converters (ADCs) 2-248a and 2-248b convert the analog I and Q received signals to digital I and Q received signals.


A DSP line-up 2-244 receives the digital I and Q received signals to produce IRX and QRX data pairs (IRX/QRX data).


A gain estimator 2-260 receives the ITX/QTX data pairs and the IRX/QRX data pairs and periodically computes the TX path gain signal Xm (or measured gain signal) of the TX path 210. The gain estimation block 2-260 calculates the TX path gain signal Xm using the ITX/QTX data pairs, the IRX/QRX data pairs, a delay for time-aligning the ITX/QTX and IRX/QRX data pairs, and calibration data for the RX path 2-240. The period during which the TX path gain signal Xm is computed is a gain estimation window.


A gain corrector 2-264 receives the TX path gain signal Xm and a power target PTarget and determines a measured gain error using the TX path gain signal Xm and the power target PTarget. The gain corrector 2-264 determines a corrected power target signal Pc (or a signal for adjusting a power level of the output signal) using the measured gain error and the power target PTarget.


The TX gain controller 2-268 receives the corrected power target signal Pc and determines the first, second and third gain control signals GC1, GC2, and GC3 according to the corrected power target signal Pc. As a result, a desired level of power output is transmitted through the antenna 2-140. GC1 through GC3 are generated using a look up table (LUT) that partitions a given gain code to 3 gain adjustment blocks namely digital gain control 2-214, and analog gain controls inside up converter 2-226 and driver amplifier 2-230.



FIG. 3 is a circuit diagram of a gain estimator 3-260 in accordance with an embodiment of the disclosure. The gain estimator 3-260 is used in the transmitter 2-110 and includes first and second estimation circuits 330 and 340. The first estimation circuit 330 includes a first envelope processor 304a, a gain adjuster 308, a first accumulator 312a, a first scaler 316a, a first converter 320a, and a first latch 328a. The second estimation circuit 340 includes a second envelope processor 304b, a second accumulator 312b, a second scaler 316b, a second converter 320b, a first adder 324, and a second latch 328b.


The first envelope processor 304a receives the ITX and QTX signals and outputs a TX baseband measurement signal MT. The second envelope processor 304b receives the IRX and QRX signals and outputs an RX baseband measurement signal MR. In an embodiment, the TX and RX baseband measurement signals MT and MR are baseband magnitude measurements BBM according to Equation 1:






BB
M={square root over (I2+Q2)}  1


In another embodiment, the TX and RX baseband measurement signals MT and MR are baseband power measurements BBP according to Equation 2:






BB
P
=I
2
+Q
2   2


In an embodiment, BBM or BBP is calculated using a Coordinated Rotation Digital Computation (CORDIC) algorithm.


The gain adjuster 308 receives the TX baseband measurement signal MT and scales it by a gain adjustment gBB to produce a scaled TX baseband measurement signal MTS. Gain adjuster 308 is used to adjust the relative gain of the first estimation circuit 330 relative to the second estimation circuit 340 by a positive value or a negative value.


The first accumulator 312a receives the scaled TX baseband measurement signal MTS and sums N values of the scaled TX baseband measurement signal MTS during a first gain estimation window having a sampling window duration Xwin (see FIG. 4, where N is the number of ITX/QTX data pairs received by the first envelope processor 304a during the first gain estimation window. The output of the first accumulator 312a is an aligned TX measurement signal AT. The first gain estimation window is determined using an inverted version of Gain Control (GC) hold signal GC_hold produced using an inverter 336a, as will be described later with reference to FIG. 7.


Similarly, the second accumulator 312b receives the RX baseband measurement signal MR and sums N values of the RX baseband measurement signal MR during a second gain estimation window having a sampling window duration Xwin, where N is the number of IRX/QRX data pairs received by the second envelope processor 304b during the second gain estimation window. The output of second accumulator 312b is an aligned RX measurement signal AR. The second gain estimation window is determined using an inverted version of a delayed GC hold signal GC_hold_d produced using inverter 336a, as will be described later with reference to FIG. 7.


The delayed GC hold signal GC_hold_d corresponds to a delayed version of the GC hold signal GC_hold. A GC delay time Tdelay used to generate the delayed GC hold signal GC_hold_d from the GC hold signal GC_hold is selected so as to time-align the ITX/QTX data pairs and the IRX/QRX data pairs. As a result, the time-aligned IRX/QRX data pairs in the second gain estimation window correspond to the respective ITX/QTX data pairs in the first gain estimation window. In an embodiment, the GC delay time Tdelay includes a time for a signal to propagate through the TX path 210, the directional coupler 2-130, and the RX path 2-240.


The aligned TX and RX measurement signals AT and AR are scaled by a factor of 2−M by first and second scalers 316a and 316b, respectively, where M=int(log2 N). The scaled aligned measurement signals are then converted to decibels (dB) in first and second dB converters 320a and 320b by calculating twenty times the log10 of the outputs of scalers 316a and 316b, respectively.


The first adder 324 adds a Feedback Gain (FG) compensation signal FGComp to the output of dB converter 320b. The FG compensation signal FGComp is determined according to a variation over frequency, temperature, and/or voltage of a gain of the RX Path 2-240 and/or of the directional coupler 2-130.


The first latch 328a latches the output of dB converter 320a according to the GC hold signal GC_hold to produce gated average TX signal GAT. The second latch 328b latches the output of first adder 324 according to the delayed GC hold signal GC_hold_d to produce gated average RX signal GAR.


The second adder 332 (or gain computing circuit) computes the difference between the output of first and second latches 328a and 328b to produce the TX path gain signal Xm. Accordingly, when envelope processors 304a and 304b are computing baseband magnitude measurements, the TX path gain signal Xm is determined according to Equation 3:










X
m

=


20



log
10



(


1

2
M







n
=
1

N





BB
RX



(
n
)





)







-

20



log
10



(



g
BB


2
M







n
=
1

N





BB
TX



(

n
-
d

)





)



+
FGComp





Equation





3







wherein BBRX(n)=IRX(n)2+QRX(n)2, BBTX(n)=ITX(n)2+QTX(n)2, d is the delay between the GC hold signal GC_hold and the delayed GC hold signal GC_hold_d in samples, and ITX(n), QTX(n), IRX(n), and QRX(n) represent the value at time n of signals ITX/QTX, IRX, and QRX, respectively.


When the envelope processors 304a and 304b are computing baseband power measurements, the TX path gain signal Xm is determined according to Equation 4:










X
m

=


20



log
10



(


1

2
M







n
=
1

N





BB
RX



(
n
)





)







-

20



log
10



(



g
BB


2
M







n
=
1

N





BB
TX



(

n
-
d

)





)



+
FGComp





Equation





4








FIG. 4 depicts waveforms showing operation of the gain estimator 3-260 of FIG. 3 according to an embodiment. Although some of the waveforms in FIG. 4 are shown as continuous values, that is, as analog values, a person of skill in the art in light of the disclosure and teachings herein would understand that the waveforms may represent the equivalent value of a multi-bit digitally-encoded signal.


At a first time t41, a first signal is transmitted on GC hold signal GC_hold which resets the value of aligned TX measurement signal AT to zero and begins the accumulation of scaled TX baseband measurement signal MTS into aligned TX measurement signal AT.


At a second time t42 that is a GC time delay Tdelay after the first time t41, a second signal is transmitted on delayed GC hold signal GC_hold_d which resets the value of aligned


RX measurement signal AR to zero and begins the accumulation of value of TX baseband measurement signal MT into aligned RX measurement signal AR.


At a third time t43 that is a sampling window duration Xwin after the first time t41, a third signal is transmitted on GC hold signal GC_hold which stops the accumulation of TX baseband measurement signal MT into aligned TX measurement signal AT. The aligned TX measurement signal AT is then scaled, converted to decibels, and latched to produce gated average TX signal GAT.


At a fourth time t44 that is a sampling window duration Xwin after the second time t42, a fourth signal is transmitted on delayed GC hold signal GC_hold_d which stops the accumulation of RX baseband measurement signal MR into aligned RX measurement signal AR. The aligned RX measurement signal AR is then scaled, converted to decibels, added to FG Compensation signal FGComp, and latched to produce gated average RX signal GAR.


The TX path gain signal Xm is calculated using the difference between the gated average RX signal GAR and the gated average TX signal GAT.


The sequence repeats beginning at a fifth time t45, with the gated average TX signal GAT and the gated average RX signal GAR being held latched until a sixth time t46 and a seventh time t47, respectively. In an embodiment, the fifth time t45 corresponds to a time when the power target signal PTarget may be changed, for example, the beginning of a subframe of an LTE frame.



FIG. 5A is a circuit diagram of a gain corrector 5-264 in accordance with an embodiment of the disclosure. In this embodiment, the gain corrector 5-264 is used in the transmitter 2-110 and includes a gain difference circuit 510 and a reference gain Look-Up Table (LUT) 504 (or calibration data circuit).


The reference gain LUT 504 comprises calibration data for the TX path 210 (see FIG. 2) including a plurality of reference points. Each reference point includes a reference gain value Xr (or calibration gain signal) and a reference power level Pr. The reference gain value Xr of a reference point corresponds to a gain of the TX path 210 that produces the reference power level Pr of the reference point, when the TX path 210 is operating under a calibration condition. For example, in an embodiment, a reference point in the reference gain LUT 504 with a reference gain value Xr of 30 and a reference power level Pr of 14 indicates that TX path 210 under the calibration condition produced a transmit power of 14 dBm when the TX path gain signal Xm was 30 dB. In an embodiment, the reference points correspond to gain switch points of the RX path 2-240 and/or gain switch points of the power amplifier 2-234.


The reference gain LUT 504 is accessed using the power target PTarget to select a corresponding reference point and output a reference gain value Xrn and a reference power level Prn of the corresponding reference point. In an embodiment, the corresponding reference point is the reference point in reference gain LUT 504 having a reference power levels Pr that is closest to the power target PTarget without being less than the power target PTarget. In another embodiment, the reference gain LUT 504 includes S+1 reference points {(P0,Xr0), (P1,Xr1), . . . (PS,XrS)}, and the reference gain LUT 504 produces a reference gain value Xrn and a reference power level Prn according to Equation 5:










Pr
n

,


Xr
n

=

{





P
0

,

X

r





_

0







(

PTarget


P
0


)

,







P
i

,

X

r





_





i







(



P

i
-
1


<
PTarget


P
i


,

i
=

1











S



)

,







P
S

,

X

r





_





S






(

PTarget
>

P
S


)










Equation





5







Referring to FIG. 5B, a solid line (or calibration line) represents a relationship between a power target input Ptar and a power output Pout measured at the antenna 2-140 (see FIG. 2) under a calibration condition. Under the calibration condition, a target power level PTarget produces a desired output power Pout,desired that has substantially the same level as that of the target power level PTarget. On the other hand, a dashed line (or actual line) represents a relationship between the power target input Ptar and the power output Pout under an actual operation condition. The dashed line is shifted from the calibration line due to variations in a gain of the transmitter 210 (see FIG. 2) due to the actual operation condition imposing different temperatures, voltages, currents, and/or frequencies on circuit elements in the transmitter 210 relative to what was imposed by the calibration condition.


As a result, when a target power level PTarget that produces a desired output power Pout,desired under the calibration condition is inputted under the actual operation condition, a different level Pout,measured of the output power Pout from the desired output power level Pout,desired is measured. In order to generate the desired output power level Pout,desired, the target power level PTarget is adjusted to a corrected power level Pc by a gain error ΔG, as expressed by the following equation:






Pc=PTarget−ΔG   6


Calculation of the gain error ΔG is explained below in more detail.


In an embodiment, a power difference ΔP is defined as a difference (=Prn−PTarget) between a reference power level Prn and the target power level PTarget. A gain difference ΔX is defined as a difference (=Xrn−Xm) between a reference gain value Xrn associated with the reference power level Prn and the measured TX path gain value X. The reference gain value Xrn corresponds to a gain of the transmit path 210 that produces the reference power level Prn under a calibration condition. Thus, a difference between the power difference ΔP and the gain difference ΔX is expressed as:





ΔP−ΔX=Prn−PTarget−(Xrn−XM)=Prn−PTarget−(Prn−Pout,measured)=Pout,measured−PTarget=Pout,measured−Pout,desired   7


In FIG. 5B, the slope of the actual line substantially corresponds to one, similarly to the calibration line. As a result, the difference between ΔP and ΔX becomes equal to the gain error ΔG, as expressed by:





ΔP−ΔX=ΔG   8


In an embodiment, the gain correction scheme as described above is implemented by circuit elements in FIG. 5A. In this embodiment, the gain difference circuit 510 includes a first adder 512, a second adder 516, and a third adder 520. The gain difference circuit calculates a gain error signal dG using the measured gain signal Xm and a calibration gain signal. For example, the calibration gain signal includes a reference gain value Xrn and a reference power level Prn.


The first adder 512 subtracts the TX path gain signal Xm from the reference gain value Xrn to produce a gain difference signal dX. The second adder 516 subtracts the power target PTarget from the reference power levels Prn to produce a power difference signal dP.


The third adder 520 interpolates between the reference points in the reference gain LUT 504 by subtracting the power difference signal dP from the gain difference signal dX to produce a gain error signal dG. The gain error signal dG therefore corresponds to a variation in the measured gain in the TX path 210 relative to an interpolation of the calibration data stored in the reference gain LUT 504.


An AND gate 508 combines the GC hold signal GC_hold and the delayed GC hold signal GC_hold_d to produce a power target select signal PTarget_Sel. The power target select signal PTarget_Sel includes a signal indicating the end of the first and second gain estimation windows. For example, a rising edge of the power target select signal PTarget_Sel may indicate that both the first and second gain estimation windows have ended.


In response to the power target select signal PTarget_Sel indicating that the first and second gain estimation windows have ended, a latch 530 latches the gain error signal dG to produce latched gain error signal dGLatch.


An accumulator (ACC) 534 receives the latched gain error signal dGLatch. The accumulator 534 is periodically reset to zero by the Reset signal. In an embodiment, the accumulator 534 may be reset to zero when a first transmit slot begins or when the transmitter resumes transmitting after a period of not transmitting.


After being reset, the accumulator 534 accumulates the values of the latched gain error signal dGLatch after the end of the first and second gain estimation windows to produce an accumulated error signal dGs. A fourth adder 538 (or power target correction circuit) adds the accumulated error signal dGs to the power target PTarget to produce the corrected output power target signal Pc.



FIG. 6 depicts waveforms showing operation of the gain correction block 5-264 of FIG. 5 according to an embodiment of the disclosure.


At a time t61, the power target PTarget is set to a value PT1. The accumulator 534 is reset and accordingly the accumulated error signal dGs is zero. Therefore a value PC1 of the corrected output power target signal Pc has a value PC1 equal to the value PT1.


At a time t62, a first occurrence of a first and second Gain Estimation Windows (GEWs) has ended. The power target select signal PTarget_Sel indicates the completion of the calculation of the gain error signal dG, and the latch 530 latches the gain error signal dG to produce the latched gain error signal dGLatch. The latched gain error signal dGLatch at t62 has a value DGL1.


The accumulator 534 then adds the value DGL1 of the latched gain error signal LdG to the prior value (zero) of the accumulator 534. Accordingly, the accumulated error signal dGs immediately after the time t62 has a value DGS1 equal to the value DGL1.


The adder 538 adds the accumulated error signal dGs to the power target PTarget. Accordingly, the corrected output power target signal Pc has a value PC2 equal to the value PT1 plus the value DGS1.


At a time t63, the power target PTarget is changed to a value PT2. Accordingly, the corrected output power target signal Pc has a value PC3 equal to the value PT2 plus the value DGS1.


At a time t64, a second occurrence of the first and second GEWs has ended. The power target select signal PTarget_Sel indicates the completion of the calculation of the gain error signal dG, and the latch 530 latches the gain error signal dG to produce the latched gain error signal dGLatch. The latched gain error signal dGLatch at t64 has a value DGL2.


The accumulator 534 then adds the value DGL2 of the latched gain error signal dGLatch to the prior value (the value DGS1) of the accumulator 534. Accordingly, the accumulated error signal dGs immediately after the time t64 has a value DGS2 equal to the value DGS1 plus the value DGL2. In the example shown in FIG. 6, the value DGL2 is negative, and accordingly DGS2 is less than DGS1.


The adder 538 adds the accumulated error signal dGs to the power target PTarget. Accordingly, the corrected output power target signal Pc has a value PC4 equal to the value PT2 plus the value DGS2.



FIG. 7 depicts waveforms showing generation of control signals in accordance with an embodiment of the disclosure, including the GC hold signal GC hold and the delayed GC hold signal GC_hold_d. A clock signal Clk is used in the generation of the signals shown of FIG. 7. In an embodiment, a frequency of the clock Clk is equal to a sampling rate of the TX path 210 (see FIG. 2).


At a time t71, gain estimation begins as the GC hold signal GC_hold transmits a TX sampling begin signal, such as by the GC hold signal GC hold having a low value. Also at t71, a delay circuit transmits a delay start signal, such as by the delay signal having a low value. In an embodiment, the delay circuit is a counter that counts the number of cycles of clock Clk.


At a time t72 that follows the time t71 by a delay interval d, the delay circuit transmits a delay end signal, such as by the delay signal having a high value. As a result the delayed GC hold signal GC_hold_d transmits an RX sampling begin signal, such as by the delayed GC hold signal GC_hold_d having a low value.


The delay interval d properly aligns a measurement of the ITX/QTX data with a measurement of the IRX/QRX data and relates to the round-trip time for a signal passing through the TX path 210 and the RX path 2-240. In an embodiment, the delay interval d is a preset value, for example, 9 cycles of the clock Clk. In another embodiment, the delay interval d is determined using a calibration procedure.


At a time t73 that follows the time t71 by a sampling window duration Xwin, the GC hold signal GC_hold transmits a TX sampling end signal, such as by the GC hold signal GChold having a high value. In an embodiment, the sampling window duration Xwin is a predefined value, for example, five microseconds or 156 cycles of the clock Clk. The sampling window duration Xwin is selected to be much smaller than an allowed transmit power transition time specified for an applicable wireless standard.


At a time t74 that follows the time t72 by a sampling window duration Xwin, the delayed GC hold signal GC_hold_d transmits an RX sampling end signal, such as by the delayed GC hold signal GC_hold_d having a high value.



FIG. 8 is a circuit diagram of a transmitter 8-110 in accordance with an embodiment of the disclosure. The transmitter 8-110 may be used in the wireless device 100 and includes a transmitter (TX) path 810 and a receiver (RX) path 8-240. The elements of transmitter 8-110 operate similarly to the similarly numbered elements of transmitter 2-110 of FIG. 2.


The transmitter 8-110 differs from the transmitter 2-110 of FIG. 2 in where the RX paths 2-240 and 8-840 receive the feedback signal from the TX paths 210 and 810, respectively. In the transmitter 2-110, the RX path 2-240 receives signals from directional coupler 2-130 connected between front-end module 2-236 and antenna 2-140. In the transmitter 8-110, the RX path 8-240 receives signals from directional coupler 8-130 connected between power amplifier 8-234 and front-end module 8-236.


Required dynamic ranges of the down converter 8-252 and ADCs 8-248a and 8-248b of the transmitter 8-110 may be lower than required dynamic ranges of the corresponding down converter 2-252 and ADCs 2-248a and 2-248b of the transmitter 2-110.


Because transmitter 8-110 collects feedback before front-end module 8-236, the time delay d used to generate delayed GC hold signal GC_hold_d and the feedback gain compensation signal FGComp may differ from the corresponding values used in the transmitter 2-110.



FIG. 9 is a flowchart showing a method 900 for automatic power control in accordance with an embodiment.


At S904, a first value of an output power target of a circuit is determined In an embodiment, determining the first value of the output power target includes receiving a requested output power target.


At S9-908, a gain of the circuit is determined In an embodiment, determining the gain of the circuit is performed periodically during the ordinary operation of the circuit. In an embodiment, the determined gain is a gain of a transmit path of the circuit. In an embodiment, determining the gain of the circuit includes measuring an input signal of the circuit and an output signal of the circuit. In an embodiment, measuring the output signal of the circuit includes measuring a received output signal of a receive path connected to the output signal of the circuit, and may include using calibration data related to the receive path.


At S912, a second value of the output power target of the circuit is determined according to the measured gain of the circuit which is a corrected power output. In an embodiment, determining the second value of the output power target includes comparing the determined gain of the circuit to a target gain associated with the requested output power target. In an embodiment, determining the second value of the output power target of the circuit power includes using calibration data related to the circuit. In an embodiment, the calibration data comprises a plurality of reference points, a reference point including a power target value and a gain value.


At S916, the correction applied to the power target is held or maintained until the next power update. In an embodiment, holding or maintaining the correction until the next power update includes the correction being a first correction and holding or maintaining the first correction until a second correction is determined In an embodiment, holding or maintaining the correction until the next power update includes the requested power target being a first requested power target, receiving a second requested output power target, and determining a third value of the output power target of the circuit using the second requested output power target and the determined gain of the circuit.



FIG. 10 is a flowchart showing a method 10-908 of determining the gain of a circuit in accordance with an embodiment. The method 10-908 of determining the gain of a circuit may be used in the method 900 of automatic power control of FIG. 9.


At S1004, an input signal is measured during a first gain estimation window to produce an input signal measurement. In an embodiment, the input signal measurement includes an average of a magnitude of the input signal during the first gain estimation window. In an embodiment, the input signal measurement includes an average of a power of the input signal during the first gain estimation window. In an embodiment, the input signal is a baseband input signal to a transmitter. In an embodiment, the input signal comprises a plurality of I and Q signals.


At S1008, a received signal is measured during a second gain estimation window to produce a received signal measurement, wherein a beginning of the second gain estimation window occurs after a delay from a beginning of the first gain estimation window. In an embodiment, the duration of the first gain estimation window is substantially the same as the duration of the second gain estimation window.


In an embodiment, the received signal measurement corresponds to an average of a magnitude of the received signal during the second gain estimation window. In an embodiment, the received signal measurement corresponds to an average of a power of the received signal during the second gain estimation window.


In an embodiment, the received signal is a baseband signal. In an embodiment, the received signal is generated using a receive path connected to an output signal of the circuit. In an embodiment, generating the received signal using the receive path includes down-converting a signal received from the circuit and/or performing an Analog-to-Digital (A-to-D) conversion of the down-converted signal. In an embodiment, the received signal comprises a plurality of I and Q signals.


The delay from the beginning of the first gain estimation window to the beginning of the second gain estimation window time-aligns the received signal within the second gain estimation window with the input signal within the first gain estimation window. In an embodiment, the delay between the beginning of the first gain estimation window and the beginning of the second gain estimation window is determined according to a propagation time through a transmitter path, a directional coupler, and the receive path. In an embodiment, the delay between the beginning of the first gain estimation window and the beginning of the second gain estimation window is determined by counting a number of cycles of a clock during the delay.


At S1012, a gain of the circuit is determined according to the input signal measurement and the received signal measurement. In an embodiment, determining the gain of the circuit comprises determining and outputting a difference of the input signal measurement and the received signal measurement. In an embodiment, determining the gain of the circuit comprises adjusting the output signal measurement according to a feedback gain compensation value.


The broad teachings of the disclosure can be implemented in a variety of forms. Therefore, while this disclosure includes particular examples, the true scope of the disclosure should not be so limited since other modifications will become apparent upon a study of the drawings, the specification, and the following claims.

Claims
  • 1. A circuit comprising: a transmit path to receive an input signal and generate an output signal at a transmit power level according to a power target signal; anda gain corrector to output a signal for adjusting a power level of the output signal to correspond to the transmit power level, the signal for adjusting being based on the power target signal and a delay for time-aligning a first signal and a second signal.
  • 2. The circuit of claim 1, further comprising: a transmit gain controller to provide a gain control signal to cause the power level of the output signal to be adjusted based on the gain control signal so that the output signal is output at the transmit power level;a receive path to receive the output signal of the transmit path and generate a received signal; anda gain estimator to output a measured gain signal associated with the transmit path using a first average signal of the input signal during a first estimation window and a second average signal of the received signal during a second estimation window.
  • 3. The circuit of claim 2, wherein the gain corrector determines the signal for adjusting using the power target signal and the measured gain signal.
  • 4. The circuit of claim 3, wherein the first signal is the input signal and the second signal is the received signal, and a beginning of the second gain estimation window occurs the delay after a beginning of the first gain estimation window.
  • 5. The circuit of claim 4, wherein the delay includes a propagation delay through the transmit path and a propagation delay through the receive path.
  • 6. The circuit of claim 2, wherein the transmit path includes an up converter, wherein the receive path includes a down converter; andwherein the input signal and the received signal include baseband signals.
  • 7. The circuit of claim 2, further comprising a first envelope processor and a second envelope processor, wherein the first average signal includes an average of a magnitude of the input signal during the first estimation window determined using the first envelope processor and the second average signal includes an average of a magnitude of the received signal during the second estimation window determined using the second envelope processor.
  • 8. The circuit of claim 2, further comprising a first envelope processor and a second envelope processor, wherein the first average signal includes an average power of the input signal during the first estimation window determined using the first envelope processor and the second average signal includes an average power of the received signal during the second estimation window determined using the second envelope processor.
  • 9. The circuit of claim 1, wherein the gain corrector comprises: a calibration data circuit configured to determine a calibration gain signal using the power target signal;a gain difference circuit configured to determine a gain error signal using the measured gain signal and the calibration gain signal;a latch configured to hold the gain error signal; anda power target correction circuit to determine the signal for adjusting using the gain error signal and the power target signal.
  • 10. The circuit of claim 9, wherein the calibration gain signal includes a reference gain value and a reference power level, and wherein the gain difference circuit comprises: a first adder to calculate a gain difference signal by subtracting the measured gain signal from the reference gain value;a second adder to calculate a power difference signal by subtracting the power target signal from the reference power level; anda third adder to determine the gain error signal by subtracting the power difference signal from the gain difference signal.
  • 11. The circuit of claim 1, wherein the circuit is incorporated into an integrated circuit or a semiconductor chip.
  • 12. A method, comprising: generating an output signal at a transmit power level according to a power target signal, the output signal being based on an input signal received; andoutputting a signal for adjusting a power level of the output signal to correspond to the transmit power level, the signal for adjusting being based on the power target signal and a delay for time-aligning a first signal and a second signal.
  • 13. The method of claim 12, further comprising: providing a gain control signal to cause the power level of the output signal to be adjusted based on the gain control signal so that the output signal is output at the transmit power level;generating an received signal based on the output signal received from the transmit path;outputting a measured gain signal associated with the transmit path using a first average signal of the input signal during a first estimation window and a second average signal of the received signal during a second estimation window.
  • 14. The method of claim 13, wherein the signal for adjusting is determined using the power target signal and the measured gain signal.
  • 15. The method of claim 14, wherein the first signal is the input signal and the second signal is the second signal is the received signal, and a beginning of the second gain estimation window occurs the delay after a beginning of the first gain estimation window.
  • 16. The method of claim 15, wherein the delay includes a propagation delay through the transmit path and a propagation delay through the receive path.
  • 17. The method of claim 13, wherein the first average signal includes an average magnitude of the input signal during the first estimation window and the second average signal includes an average magnitude of the received signal during the second estimation window.
  • 18. The method of claim 13, wherein the first average signal includes an average power of the input signal during the first estimation window and the second average signal includes an average power of the received signal during the second estimation window.
  • 19. The method of claim 13, wherein determining the signal for adjusting includes: receiving the power target signal;determining a calibration gain signal using the power target signal; anddetermining a gain error signal using the measured gain signal and the calibration gain signal, whereby the signal for adjusting is determined using the gain error signal and the power target signal.
  • 20. The method of claim 19, wherein determining the calibration gain signal includes generating a reference gain value and a reference power level corresponding to the power target signal, and wherein determining the gain error signal includes subtracting the measured gain signal from the reference gain value to calculate a gain difference signal, subtracting the power target signal from the reference power level to calculate a power difference signal, and subtracting the power difference signal from the gain difference signal to determine the gain error signal.
CROSS-REFERENCE TO RELATED APPLICATIONS

This present disclosure claims the benefit of U.S. Provisional Application No. 61/729,052, “METHOD FOR FAST AUTOMATIC POWER CONTROL OF WIRELESS TRANSMITTERS,” filed on Nov. 21, 2012, which is incorporated by reference herein in its entirety.

Provisional Applications (1)
Number Date Country
61729052 Nov 2012 US