# Patent

## Title
Bandpass predistortion method and apparatus for radio transmission

## Abstract

An apparatus and method for generating an envelope predistorted radio frequency signal which avoids undesirable spurious emissions. A complex baseband signal, having an in-phase component I and a quadrature component Q, is sampled and filtered in a sampling circuit and filter circuit to obtain samples Ik of the in-phase component and samples Qk, the quadrature component. The magnitude xk of each sample pair is determined in a first calculation circuit. An amplitude and phase distortion factor Dk, based on scaled values of the archyperbolic tangent and the hyperbolic tangent of the baseband sample magnitude is determined in further calculation circuit and a multiplier. Each sample Ik of the in-phase component and Qk of the quadrature component is multiplied by the corresponding distortion factor Dk, and the resulting predistorted components combined and upconverted to provide a predistorted baseband signal which is amplified in a power amplifier having hyperbolic tangent distortion.

## Background
CROSS-REFERENCE TO RELATED APPLICATION
This application is related to U.S. patent application Ser. No. 09/624,149 filed Jul. 24, 2000.


FIELD OF THE INVENTION
The present invention pertains to an apparatus for and a method of applying both amplitude predistortion and phase predistortion to a modulated baseband signal. More particularly, the present invention pertains to an apparatus for and a method of generating an amplitude modulated radio frequency signal by amplitude predistorting its baseband signal, using the inverse hyperbolic tangent of a value based on the envelope of the baseband in-phase and quadrature components, and phase predistorting the baseband signal, using the hyperbolic tangent of that value.
BACKGROUND OF THE INVENTION
Environments such as commercial airliners frequently have several radios that operate at different frequencies. Not only must these radios avoid interference with each other, but also they must meet spectrum mask requirements imposed by regulatory agencies, such as the United States Federal Communications Commission. The output from the solid state power amplifier of such a radio often includes distortion that can be characterized by a hyperbolic tangent function. Both amplitude distortion and phase distortion may occur. The transmit spectrum of such a radio signal can spread near the desired signal band if the envelope of the transmitted signal is not constant, particularly if the transmitter power amplifier is being driven into soft saturation. While spurious emissions might be reduced by predistorting of the radio frequency signal envelope just before transmission to the output power amplifier, this requires analog multipliers. Even then, if noise is picked up in the multiplier circuit, that noise will modulate the desired signal and pass through to the output.
One approach to overcoming power amplifier nonlinearity utilizes the function f(x)=2x/(1+x2) for amplitude predistortion and the function ph(x)=(πf(x))/6=2πx/6(1+x2) for phase predistortion, where x is the instantaneous value of the envelope. Another approach to overcoming amplitude distortion is to utilize the “cuber” function f(x)=x+x3/3, where again x is the instantaneous value of the envelope. These approaches have been found to provide less than optimum linearity in the power amplifier output.
SUMMARY OF THE INVENTION
The present invention is an apparatus for and a method of amplitude and phase distorting a modulated radio frequency signal such that after passing of the distorted signal through a non-linear power amplifier, undesirable spurious emissions in the resulting spectrum are reduced. In accordance with the present invention, a complex amplitude modulated baseband signal, having an in-phase component I and a quadrature component Q, is sampled to obtain k samples Ik of the in-phase component and k samples Qk of the quadrature component, and the magnitude of the envelope of the baseband samples is determined. A distortion factor based on the product of the hyperbolic tangent (“tanh”) and the inverse hyperbolic tangent or archyperbolic tangent (“atanh”) of a scaled value of the complex baseband sample magnitude is used to multiply each sample of the in-phase component and of the quadrature component so as to provide predistorted components. These predistorted components are combined and used to provide a distorted radio frequency (“RF”) signal which is applied to the power amplifier. The power amplifier distortion cancels the distortion in the radio frequency signal so that the power amplifier provides a substantially undistorted output signal.
The scaling factor is obtained by combining a portion of the output signal envelope with the undistorted envelope in a feedback circuit. The feedback circuit preferably computes the mean square error between the undistorted envelope and the output signal envelope. Preferably, to assure that the mean square error is computed correctly, both envelopes are normalized. The mean square error is adjusted by a fixed gain control and integrated, and the result used to scale the undistorted envelope prior to determination of the hyperbolic tangent and archyperbolic tangent functions.
The envelope of the baseband signal is thus subjected to amplitude and phase predistortion prior to upconversion to the radio frequency signal. This avoids impressing pick-up noise on the transmitted envelope. It is possible to do the predistortion prior to intermediate frequency (IF) and RF bandpass filtering of the radio frequency signal since such filtering has a wide bandwidth, allowing the distorted signal spectrum to pass through the power amplifier.
Preferably, the predistortion apparatus of the present invention is implemented in a gate array, such as a field programmable gate array.



BRIEF DESCRIPTION OF THE DRAWINGS
These and other aspects and advantages of the present invention are more apparent from the following detailed description and claims, particularly when considered in conjunction with the accompanying drawings in which like parts bear like reference numerals. In the drawings:
FIG. 1 is a block diagram of an apparatus for generating an amplitude and phase predistorted radio frequency signal in accordance with a preferred embodiment of the present invention;
FIG. 2 is a block diagram of one preferred embodiment of a circuit suitable for use in the apparatus of FIG. 1;
FIG. 3 is a graph of results from a simulation comparing the present invention with the prior art;
FIGS. 4A-4D plot performance in a simulation of the present invention and the prior art; and
FIGS. 5A-5D show the output spectra from a simulation of power amplifiers in accordance with the present invention and the prior art.



DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
FIG. 1 depicts an apparatus for generating an amplitude and phase predistorted radio frequency signal in accordance with a preferred embodiment of the present invention. A signal source 10 provides a complex baseband signal xejφk, where x is the envelope of the signal and, for example, may be an Edge GSM or a D8PSK signal. The signal includes an in-phase component I and a quadrature component Q that are normalized and sampled at, for example, 10.5 kilosamples per second (KSPS). From source 10, the samples are filtered in filter circuit 12 to produce smooth transitions between phase symbols. The samples Ik of the in-phase component and the samples Qk of the quadrature component are applied from filter circuit 12 to a calculation circuit 16 which calculates the magnitude of the scaled complex baseband envelope sample, for example by determining the square root of the sum of the squares of the scaled in-phase component sample and the scaled quadrature component sample.
FIG. 2 is a block diagram of one preferred embodiment of a calculation circuit for determining an approximation of the magnitude of each complex sample k of the baseband signal. In FIG. 2 the samples Ik of the in-phase component and the samples Qk of the quadrature component are applied to a first detection circuit 18 which determines the maximum of these samples by determining for each sample pair whether the Ik sample or the Qk sample is the larger. The Ik and the Qk samples are also applied to a second detection circuit 20 which determines the minimum of these samples by determining for each sample pair whether the Ik sample or the Qk sample is the smaller. The detected maximum value (“maxk”) and the detected minimum value (“mink”) for each sample pair are applied to calculating circuit 22 which computes the value yk=1⁄2 (mink/maxk)2.
The yk output from calculating circuit 22 is applied as an input to each of five multiplier circuits 24, 26, 28, 30 and 32. The yk output is also applied to a second input of multiplier 24. As a consequence, multiplier 24 provides as an output the value yk2. This yk2 output from multiplier 24 is applied to the second input of multiplier 26 and to a negative input to summation circuit 34. The output of multiplier 26 is thus the value yk3. This output is applied to the second input of multiplier 28 and to a positive input of summation circuit 34. Multiplier 28 accordingly provides the output yk4 which is used as the second input to multiplier 30 and which is applied to a negative input to summation circuit 34. Multiplier 30 then provides the output yk5 to the second input of multiplier 32 and to a positive input to summation circuit 34. Multiplier 32 provides the output y6 to a negative input to summation circuit 34.
Summation circuit 34 divides the sum of its inputs by 2, thus providing as its output the value 1⁄2(−yk2+yk3−yk4+yk5−yk6). This signal is applied as an input to summation circuit 36, which also receives as inputs the yk signal from calculation circuit 22 and the constant 1. The output of summation circuit 36 is thus the value {1+yk+1⁄2(−yk2+yk3−yk4+yk5−yk6)}. This is equal to the value {(1+yk)/2+ 1/2(1+yk−yk2+yk3−yk4+yk5−yk6)}. This signal is applied from summation circuit 36 to one input of multiplier 38, which receives the maxk signal from detection circuit 18 at its second input. Consequently, the output of multiplier 38 is (maxk)×{(1+yk)/2+1⁄2(1+yk−yk2+yk3−yk4+yk5−yk6)} which is an approximation of (Ik2+Qk2)1/2 and thus an approximation of the magnitude xk of the sample k.
The output from the apparatus of FIG. 1 is provided by power amplifier 64 to antenna 66. Radio frequency coupler 70 couples a portion of that output to envelope detector 72. The detected envelope is applied to analog-to-digital converter 73 which samples at a high sampling rate, shown in FIG. 1 as a sampling rate of 50 megasamples per second (MSPS). The output of analog-to-digital converter 73 is normalized by normalizing circuit 74 so that its maximum valve equals 1. The output of calculation circuit 16 is applied through delay circuit 76 to a positive input of summing circuit 78, while the output from normalizing circuit 74 is applied to a negative input of the summing circuit. The input to summing circuit 78 from calculation circuit 16 represents the envelope before distortion, while the input to summing circuit 78 from normalizing circuit 74 represents the envelope after distortion. Delay circuit 76 assures that each undistorted sample is summed with the normalized output resulting from that same sample. The resulting signal from summing circuit 78 is applied to one input of multiplier 80 which receives a weighting factor of−λ at its second input. The output from multiplier 80 is applied to one input of multiplying circuit 82 which receives the output from normalizing circuit 74 at its second input. The output from multiplying circuit 82 is applied through low pass filter 84 to sampler 86 which applies samples of that output at periodic intervals of, for example, one minute to integrator 88. The output of integrator 88 is a scaling factor C and is applied to one input of multiplying circuit 90 which receives the xk outputs from calculation circuit 16 at its second input. The output of multiplier circuit 90 is thus Cxk.
The Cxk output from multiplier circuit 90 is applied as an input to calculation circuit 40 which determines the value of (atanh (Cxk))/Cxk). By way of an example, calculation circuit 40 might be a lookup table having values to 16 bits for determining a value xk2/3+xk4/5+xk6/7+ . . . which is an approximation of the value {(atanh (xk))/xk}−1. The output of the lookup table then is applied to one input of a summation circuit which receives the constant 1 at its second input so as to provide an approximation of (atanh (xk))/xk. It is preferred that calculation circuit 40, when in the form of a lookup table, compute the value of the segment {(atanh (xk))/xk}−1, and that the constant 1 be added by a summation circuit in order to provide the desired accuracy while maintaining the lookup table of a moderate size.
The xk output from calculation circuit 16 is also applied as an input to multiplier 92 which receives the value π/6 at its second input. The C xk output from multiplier circuit 90 is applied to calculation circuit 94 which calculates the value tanh(Cxk) and applies that value to an input of multiplier 96. Calculation circuit 94 might be a lookup table, for example. The second input of multiplier 96 receives the value πxk/6 from multiplier 92. The output of multiplier 96 is thus (πxktanh(Cxk))/6=Φk. This value is applied to lookup table 98 which provides as outputs the values and Qk′=−sin(Φk). These values are applied to inputs of multiplier pair 100 which receives the output of lookup table 40 at its second input.
The output of multiplier circuit 100 is thus the distortion factor {(atanh(Cxk))/Cxk}e−jφk=Dk. This output is applied to one input of multiplier pair 44. The samples Ik of the in-phase component and the samples Qk of the quadrature component are also applied to multiplier pair 44. Each sample of the in-phase component and the quadrature component is thus modified by the respective distortion factor Dk, so that the output of multiplier pair 44 is xkejφk{(atanh (Cxk))/Cxk}e−jφk=Dkxke−jφk. These samples of the modified signal are resampled in resampling circuit 46 at the same sampling rate as in analog-to-digital converter 73, shown in FIG. 1 as a resampling rate at 50 MSPS.
The resampled output from resampling circuit 46 is applied to multiplier pair 48. Signal generator 50 provides an intermediate frequency signal of a frequency less than half the sampling rate of resampling circuit 46, shown in FIG. 1 as a frequency of 17 MHz. Sampling circuit 52 samples the sine and cosine outputs from signal generator 50 at the same sampling rate as resampling circuit 46, shown in FIG. 1 as a sampling rate of 50 MSPS. These sampled sine and cosine signals are applied to multiplier pair 48 so that the multiplier pair provides as outputs the intermediate frequency signals Dk×Ik sin 17 MHz and Dk×Ik cos 17 MHz. These signals are added in summation circuit 54, and the resulting predistorted, upconverted intermediate frequency signal is applied on line 56 to digital-to-analog converter 58 which samples at the same 50 MSPS rate as resampling circuit 46.
The output from digital-to-analog converter 58 is applied to band pass filter 60 which is centered at the 17 MHz frequency of signal source 50 and which has a bandwidth sufficient to avoid distortion of the predistorted envelope, for example a bandwidth of 1 MHz. The output from bandpass filter 60 is upconverted to a radio frequency in upconverter 62 and passed through driver amplifier 68 and power amplifier 64 to antenna 66. If desired, a radio frequency attenuator could be utilized, rather than upconverter 62 and driver amplifier 68. Power amplifier 64 has a transfer function C and hyperbolic tangent distortion so that the output of power amplifier 64 is bctanh (xejφke−jφkejφk tanh−1 (cx))/cx=bcxejφk, where b is the power amplifier gain.
The feedback circuit of FIG. 1 results in the signal C that is applied from integrator 88 to multiplier 90 converging to the current value of the transfer function C of output amplifier 64. It is possible to set the gain of the feedback loop so that it converges in just a few iterations. The value of the feedback gain −λ which guarantees stable conversion is upper bounded by the mean square value of the feedback envelope after being normalized by circuit 74.
Predistorting the digital envelope of the baseband signal before upconversion to the radio frequency, followed by digital-to-analog conversion, in accordance with the present invention avoids impressing of analog pickup noise directly on the transmitted envelope, as would occur if the envelope correction were performed on the radio frequency analog signal. Implementation of the present invention does not require significant hardware. It can be accomplished in software or firmware. Implementation on a gate array, such as a field programmable gate array, is convenient.
FIG. 3 is a plot of power amplifier output as a function of signal input for (1) a computer simulated system in accordance with the present invention with the scaling factor C=0.7, (2) a computer simulated system utilizing the cuber function f(x) =x+x3/3, and (3) a computer simulated system utilizing the functions f(x) =2 x/(1 +x2) and ph(x)=2πx/6(1 +x2), showing the superiority of the present invention.
FIGS. 4A-4D are quadrature amplitude modulation plots. FIG. 4A plots the computer simulated output of a linear power amplifier. FIG. 4B plots the computer simulated output of a non-linear power amplifier with no predistortion, but with hyperbolic tangent nonlinearity in phase and amplitude. FIG. 4C plots the computer simulated output of such a nonlinear power amplifier with predistortion based on the cuber function f(x)=x+x3/3. FIG. 4D plots the computer simulated output of such a nonlinear power amplifier with predistortion in accordance with the present invention. As can be seen, the plot for the present invention in FIG. 4D is substantially the same as the plot for a linear power amplifier in FIG. 4A, while the plots of FIGS. 4B and 4C are not, again showing the superiority of the present invention.
FIG. 5A shows the computer simulated output spectrum of a linear power amplifier. FIG. 5B is the computer simulated output spectrum of a nonlinear power amplifier. FIG. 5C is the computer simulated output spectrum of such a nonlinear power amplifier with predistortion based on the cuber function f(x)=x+x3/3. FIG. 5D is the computer simulated output spectrum of such a nonlinear power amplifier with predistortion in accordance with the present invention with the scaling factor C=0.7. The simulated output spectrum of the present invention most nearly matches that of a linear power amplifier, once more showing the superiority of the present invention.
Although the present invention has been described with reference to preferred embodiments, various alterations, rearrangements, and substitutions could be made, and still the result would be within the scope of the invention.

## Claims

1. A method of predistorting a complex baseband signal x having an in-phase component I and a quadrature component Q, said method comprising the steps of:
sampling the complex baseband signal x to obtain k samples Ik of the in-phase component and k samples Qk of the quadrature component; 
for each of the obtained samples determining a respective distortion factor Dk={(atanh (Cxk))/Cxk}e31 jΦk, where Φk=(πxk tanh (Cxk))/6, xk is the magnitude of the sample k, and C is a scaling factor; 
multiplying each of the samples Ik of the in-phase component and each of the samples Qk of the quadrature component by its respective distortion factor Dk to obtain a predistorted in-phase component sample and a predistorted quadrature component sample; and 
combining the predistorted in-phase component samples and the predistorted quadrature component samples to provide a predistorted combined signal.

2. A method as claimed in claim 1, wherein for each of the k samples the respective distortion factor Dk is determined by:
determining the magnitude Ik of each of the k samples of the in-phase component and the magnitude Qk of each of the k samples of the quadrature component; 
for each of the k pairs of corresponding samples of the in-phase component and the quadrature component, determining a respective value of xk=(Ik2+Qk2)1/2; and for each value of xk, determining a value of tanh (Cxk) and a value of (atanh (Cxk))/Cxk.

3. A method as claimed in claim 2, wherein for each value of xk the value of tanh (Cxk) is determined from a lookup table.

4. A method as claimed in claim 2, wherein for each value of xk the value of atanh (Cxk)/Cxk is determined from a lookup table.

5. A method as claimed in claim 2, wherein for each of the k pairs of corresponding samples the respective value of xk is determined by:
detecting the maximum value of Ik and Qk by determining the larger of Ik and Qk; 
detecting the minimum value of Ik and Qk by determining the smaller of Ik and Qk; 
calculating a value yk=1⁄2 {(the detected minimum value)÷(the detected maximum value)}2; and 
calculating a value of (Ik2+Qk2)1/2 as a function of yk.

6. A method as claimed in claim 5, wherein the value of (Ik2+Qk2) is calculated as (the detected maximum value)×{(1+yk)/2+1⁄2(1+yk−yk2+yk3−yk4+yk5−yk6)}.

7. A method of generating an envelope predistorted radio frequency signal, said method comprising the steps of:
providing an envelope modulated signal including a complex baseband signal x having an in-phase component I and a quadrature component Q; 
sampling the complex baseband signal x to obtain k samples Ik of the in-phase component and k samples Qk of the quadrature component; 
for each of the obtained samples determining a respective distortion factor Dk={(atanh (Cxk))/Cx}e−jΦk, where Φk=(πxk tanh (Cxk))/6, xk is the magnitude of the sample k, and C is a scaling factor; 
multiplying each of the samples Ik of the in-phase component and each of the samples Qk of the quadrature component by its respective distortion factor Dk to obtain a predistorted in-phase component sample and a predistorted quadrature component sample; 
combining the predistorted in-phase component samples and the predistorted quadrature component samples to provide a predistorted combined signal; 
up-converting the predistorted combined signal to provide a radio frequency signal; and 
applying the radio frequency signal to a power amplifier have hyperbolic tangent distortion.

8. A method as claimed in claim 7, wherein for each of the k samples the respective distortion factor Dk is determined by:
determining the magnitude Ik of each of the k samples of the in-phase component and the magnitude Qk of each of the k samples of the quadrature component; 
for each of the k pairs of corresponding samples of the in-phase component and the quadrature component, determining a respective value of xk=(Ik2+Qk2)1/2; and 
for each value of xk, determining a value of tanh (Cxk) and a value of (atanh (Cxk))/Cxk.

9. A method as claimed in claim 8, wherein for each value of xk the value of tanh (Cxk) is determined from a lookup table.

10. A method as claimed in claim 8, wherein for each value of the xk the value of atanh (Cxk)/xk is determined from a lookup table.

11. A method as claimed in claim 8, wherein for each of the k pairs of corresponding samples the respective value of xk is determined by:
detecting the maximum value of Ik and Qk by determining the larger of Ik and Qk; 
detecting the minimum value of Ik and Qk by determining the smaller of Ik and Qk; 
calculating a value yk=/1⁄2 {(the detected minimum value)÷(the detected maximum value)}2; 
calculating a value of (Ik2+Qk2)1/2 as a function of yk.

12. A method as claimed in claim 11, wherein the value of (Ik2+Qk2) is calculated as (the detected maximum value)×{(1+yk)/2+1⁄2(1+yk−yk2+yk3−yk4+yk5−yk6)}.

13. A method as claimed in claim 7, further comprising the step of:
transmitting the radio frequency signal.

14. A method as claimed in claim 7, wherein the scaling factor C is based on a comparison of the envelope of the complex baseband signal x and the envelope of the radio frequency signal.

15. Apparatus for predistorting a complex baseband signal x having an in-phase component I and a quadrature component Q, said apparatus comprising:
a sampling circuit for sampling the complex baseband signal x to provide k samples Ik of the in-phase component and k samples Qk of the quadrature component; 
a distortion determining circuit for determining for each of the provided samples a respective distortion factor Dk={(atanh (Cxk))/Cxk}e31 jΦk, where Φk=(πxk tanh (Cxk))/6, xk))/is the magnitude of the sample k, and C is a scaling factor; 
a first multiplier for multiplying each of the samples Ik of the in-phase component and each of the samples Qk of the quadrature component by its respective distortion factor Dk to obtain a predistorted in-phase component sample and a predistorted quadrature component sample; and 
a summing circuit for combining the predistorted in-phase component samples and the predistorted quadrature component samples to provide a predistorted combined signal.

16. Apparatus as claimed in claim 15, wherein said distortion determining circuit comprises:
a first calculation circuit for determining for each of the k pairs of corresponding samples of the in-phase component and the quadrature component, a respective value of xk=(Ik2+Qk2)1/2; and 
a second calculation circuit for determining for each value of xk a value of tanh (Cxk) and a value of (atanh (Cxk))/Cxk.

17. Apparatus as claimed in claim 16, wherein said second calculation circuit includes a plurality of lookup tables.

18. Apparatus as claimed in claim 16, wherein said first calculation circuit comprises:
first means for detecting the maximum value of Ik and Qk by determining the larger of Ik and Qk; 
second means for detecting the minimum value of Ik and Qk by determining the smaller of Ik and Qk; 
third means for calculating a value of yk=1⁄2 {(the detected minimum value)÷(the detected maximum value)}2; and 
fourth means for calculating a value if (Ik2+Qk2)1/2 as a function of yk.

19. Apparatus as claimed in claim 16, wherein said first calculating circuit calculates the value of (Ik2+Qk2)1/2 as (the detected maximum value)×{(1+yk)/2+1⁄2(1+yk−yk2+yk3−yk4+yk5−yk6)}.

20. Apparatus as claimed in claim 15, wherein said sampling circuit, said distortion determining circuit, said first and second multipliers, and said summing circuit comprise a gate array.

21. Apparatus as claimed in claim 20, wherein said gate array is a field programmable gate array.

22. Apparatus for generating an envelope predistorted radio frequency signal, said apparatus comprising:
a source of an envelope modulated signal including a complex baseband signal x having an in-phase component I and a quadrature component Q; 
a sampling circuit for sampling the baseband signal x to provide k samples Ik of the in-phase component and k samples Qk of the quadrature component; 
a distortion determining circuit for determining for each of the provided samples a respective distortion factor Dk={(atanh (Cxk))/Cxk}e31 jΦk, where k=(πxk tanh (Cxk))/6, xk is the magnitude of the sample k, and C is a scaling factor; 
a first multiplier for multiplying each of the samples Ik of the in-phase component and each of the samples Qk of the quadrature component by its respective distortion factor Dk to obtain a predistorted in-phase component sample and a predistorted quadrature component sample; 
a summing circuit for combining the predistorted in-phase component samples and the predistorted quadrature component samples to provide a predistorted combined signal; 
an up-converter for up-converting the predistorted combined signal to provide a radio frequency signal; and 
a power amplifier having hyperbolic tangent distortion for amplifying the radio frequency signal while canceling the predistortion therein.

23. Apparatus as claimed in claim 22, wherein said distortion determining circuit comprises:
a first calculation circuit for determining for each of the k pairs of corresponding samples of the in-phase component and the quadrature component, a respective value of xk=(Ik2+Qk2)1/2; and 
a second calculation circuit for determining for each value of xk a value of (tanh (Cxk) and a value of atanh (Cxk))/Cxk.

24. Apparatus as claimed in claim 23, wherein said second calculation circuit includes a plurality of lookup table.

25. Apparatus as claimed in claim 23, wherein said first calculation circuit comprises:
first means for detecting the maximum value of Ik and Qk by determining the larger of Ik and Qk; 
second means for detecting the minimum value of Ik and Qk by determining the smaller of Ik and Qk; 
third means for calculating a value of yk=1⁄2 {(the detected minimum value)=(the detected maximum value)}2; and 
fourth means for calculating a value if (Ik2+Qk2)1/2 as a function of yk.

26. Apparatus as claimed in claim 23, wherein said first calculation circuit calculates the value of (Ik2+Qk2)1/2 as (the detected maximum value)×{(1+yk)/2+1⁄2(1+yk−yk2+yk3−yk4+yk5−yk6)}.

27. Apparatus as claimed in claim 22, wherein said sampling circuit, said distortion determining circuit, said first and second multipliers, and said summing circuit comprise a gate array.

28. Apparatus as claimed in claim 27, wherein said gate array is a field programmable gate array.

29. Apparatus as claimed in claim 22, further comprising a circuit for providing the scaling factor C based on a comparison of the envelope of the complex baseband signal x and the envelope of the radio frequency signal.