Complex baseband model of amplifier with noise and nonlinearities
RF Blockset / Idealized Baseband
The Amplifier block generates a complex baseband model of an amplifier with thermal noise. This block provides four nonlinearity models and three options to specify noise representation.
Note
This block assumes a nominal impedance of 1 ohm.
Port_1
— Input baseband signalInput baseband signal, specified as a real scalar, real column, complex scalar, or complex column.
Data Types: double
| single
Port_1
— Output baseband signalOutput baseband signal, specified as a real scalar, real column, complex scalar, or complex column. The output port mimics the properties of the input port. For example, if the input baseband signal is specified as a real scalar with a data type double, then the output baseband signal is also specified as a real signal with the data type double.
Data Types: double
| single
Model
— Amplifier nonlinearity modelCubic polynomial
(default) | AM/AM - AM/PM
| Modified Rapp
| Saleh
Specify the amplifier nonlinearity model as one of the following:
Cubic polynomial
AM/AM - AM/PM
Modified Rapp
Saleh
Linear power gain (dB)
— Linear gain of amplifier 0
(default) | real scalar Linear gain, specified as a scalar in dB.
Type of Non-Linearity
— Third - order nonlinearity typeIIP3
(default) | OIP3
| IP1dB
| OP1dB
| IPsat
| OPsat
Third order nonlinearity type, specified as IIP3
,
OIP3
, IP1dB
, OP1dB
,
IPsat
, or OPsat
.
IIP3
— Input third-order intercept pointInf
(default) | real positive numberInput third-order intercept point, specified as a real positive number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
IIP3
.
OIP3
— Output third-order intercept pointInf
(default) | real positive numberOutput third-order intercept point, specified as a real positive number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
OIP3
.
IP1dB
— Input 1 dB compression pointInf
(default) | real positive numberInput 1 dB compression point, specified as a real positive number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
IP1dB
.
OP1dB
— Output 1 dB compression pointInf
(default) | real positive numberOutput 1 dB compression point, specified as a real positive number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
OP1dB
.
IPsat
— Input saturation pointInf
(default) | real positive numberInput saturation point, specified as a real positive number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
IPsat
.
OPsat
— Output saturation pointInf
(default) | real positive numberOutput saturation point, specified as a positive real number in dBm.
To enable this parameter, set Model to Cubic
polynomial
and Type of Non-Linearity to
OPsat
.
Simulate using
— Specify type of simulation to runCode generation
(default) | Interpreted execution
Code generation
– Simulate model using generated C code.
The first time you run a simulation, Simulink® generates C code for the block. The C code is reused for subsequent
simulations, as long as the model does not change. This option requires additional startup
time, but the speed of the subsequent simulations is faster than Interpreted
execution
.
Interpreted execution
– Simulate model using the
MATLAB® interpreter. This option shortens startup time speed, but the speed of the
subsequent simulations is slower than Code generation
. In this
mode, you can debug the source code of the block.
Plot power characteristics
— Plot power characteristics This button plots the power characteristics based on the parameters specified on the Main tab.
Lookup table (Pin(dBm), Pout(dBm), deg)
— Stub termination [ -25, 5, -1; -10, 20, -2; 0, 27, 5; 5, 28, 12
]
(default) | real vectorTable lookup entries specified as a real M-by-3 matrix. This table expresses the model output power dBm level in matrix column 2 and the model phase change in degrees in matrix column 3 as related to the absolute value of the input signal power of matrix column 1 for the AM/AM - AM/PM model. The column 1 input power must increase monotonically.
To enable this parameter, set Model to AM/AM -
AM/PM
Output saturation level (V)
— Output saturation level1
(default) | real positive numberVoltage output saturation level, specified as a real positive number in dBm.
To enable this parameter, set Model to Modified
Rapp
Magnitude smoothness factor
— Magnitude smoothness factor2
(default) | real positive numberMagnitude smoothness factor for the Modified Rapp
amplifier
model AM/AM calculations, specified as a positive real number.
To enable this parameter, set Model to Modified
Rapp
Phase gain (rad)
— Phase gain-0.45
(default) | real scalarPhase gain for the Modified Rapp
amplifier model AM/PM
calculations, specified as a real scalar in radians.
To enable this parameter, set Model to Modified
Rapp
Phase saturation
— Phase saturation.88
(default) | real positive numberPhase saturation for the Modified Rapp
amplifier model AM/PM
calculations, specified as a positive real number.
To enable this parameter, set Model to Modified
Rapp
Phase smoothness factor
— Phase smoothness factor3.43
(default) | real positive numberPhase smoothness factor for the Modified Rapp
amplifier model
AM/PM calculations, specified as a positive real number.
To enable this parameter, set Model to Modified
Rapp
Input scaling (dB)
— Scaling factor for input signal level0
(default) | nonnegative real numberScaling factor for input signal level for the Saleh
amplifier
model, specified as a nonnegative real number in dB.
To enable this parameter, set Model to
Saleh
AM / AM parameters [alpha beta]
— AM/AM
conversion parameters[ 2.1587, 1.1517 ]
(default) | two-element vectorAM/AM two-tuple conversion parameters for Saleh
amplifier
model, specified as a two-element vector of nonnegative real numbers.
To enable this parameter, set Model to
Saleh
AM / PM parameters [alpha beta]
— AM/PM
conversion parameters[ 4.0033, 9.1040 ]
(default) | two-element vectorAM/PM
two-tuple conversion parameters for
Saleh
amplifier model, specified as a two-element vector of
nonnegative real numbers.
To enable this parameter, set Model to
Saleh
Output scaling (dB)
— Scaling factor for output signal level0
(default) | nonnegative real numberScaling factor for output signal level for Saleh
amplifier
model, specified as nonnegative real number in dB.
To enable this parameter, set Model to
Saleh
Include Noise
— Add noise to system off
(default) | on
Select this parameter to add system noise to the input signal. Once you select this parameter, the parameters associated with the Noise tab are displayed.
Specify noise type
— Noise representation Noise temperature
(default) | Noise figure
| Noise factor
Noise descriptive type, specified as Noise temperature
,
Noise figure
, or Noise factor
.
Noise temperature (K)
— Noise temperature to model noises in amplifier290
(default) | nonnegative real numberNoise temperature to model noise in the amplifier, specified as a nonnegative real number in degrees (K).
To enable this parameter, select Include noise and set
Specify noise type to Noise
temperature
.
Noise figure (dB)
— Noise figure to model noise in amplifier10 * log10( 2 )
(default) | nonnegative real numberNoise figure to model noise in the amplifier, specified as a nonnegative real number in dB.
To enable this parameter, select Include noise and set
Specify noise type to Noise figure
.
Noise factor
— Noise factor to model noise in amplifier2
(default) | positive integer scalar greater than or equal to 1Noise factor to model noise in the amplifier, specified as a positive integer scalar greater than or equal to 1
To enable this parameter, select Include noise and set
Specify noise type to Noise factor
.
Seed source
— Source of initial seed Auto
(default) | User specified
Source of initial seed used to prepare the Gaussian random number noise generator, specified as one of the following:
Auto
- When Seed source is set to
Auto
, seeds for each amplifier instance are generated using a
random number generator. The reset method of the instance has no effect.
User specified
- When Seed source is
set to User specified
, the value provided in the
Seed is used to initialize the random number generator and the reset
method resets the random number generator using the Seed property
value.
Seed
— Seed for random number generator67987
(default) | nonnegative integerSeed for the random number generator, specified as a nonnegative integer less than 232. Use this value to initialize the random number generator.
To enable this parameter, click Include noise check box and choose
User specified
in the Seed source
parameter.
The Cubic polynomial
model uses linear power gain to
determine the linear coefficient of a third-order polynomial and either IP3, P1dB, or Psat to
determine the third - order coefficient of the polynomial.
The general form of cubic nonlinearity models the AM/AM characteristics as
where FAM/AM(u)
is the
magnitude of the output signal, u is the magnitude of the input signal,
c1 is the coefficient of the linear gain term,
and c3 is the coefficient of the cubic gain
term.
The results for IIP3, OIP3, PI,1dB, and Po,1dB are taken from [5].
If IIP3 is specified, then
where IIP3 is given in dBm.
If OIP3 is specified, then
where OIP3 is given in dBm.
If the input 1 dB gain compression power IP1dB is specified, then
where IP1dB is given in dBm.
If the output 1 dB gain compression power OP1dB is specified, then
where OP1dB is given in dBm, and LGdB is the linear gain in dB
If the input saturation power IPsat is specified, then
where IPsat is given in dBm.
If the output saturation power OPsat is specified, then
where OPsat is given in dBm.
The AM/AM-AM/PM
model uses a lookup table to specify the
amplifier power characteristics. The table returns interpolated or extrapolated values using
linear interpolation. Each row in the table expresses the relationship between output power or
phase change as a function of input power.
where uout
is the output
signal and u is the magnitude of input signal.
The Saleh
model is based on normalized transfer function.
Use the input / output scaling parameters to adjust signal levels from their normalized
values.
For Saleh
, the AM/AM parameters
alphaAM/AM and
betaAM/AM are used to compute the amplitude gain
for an input signal using the following equation:
where |u| is the magnitude of the scaled signal and
u
is calculated as:
For Saleh
, the AM/PM parameters
alphaAM/PM and
betaAM/PM are used to compute the phase change
for an input signal using the following equation:
where |u| is the magnitude of the scaled signal and angle is a MATLAB function that returns the phase angle of u.
The scaled output signal, uout is calculated as:
The Modified Rapp
model is based on normalized transfer
functions. Use the input and output scaling parameters to adjust the signal levels from their
normalized values.
The AM/AM characteristics for Modified Rapp
are given
by:
where |u| is the magnitude of input signal,
glin is 10(Linear Gain (dB)/20), and is the amplitude gain of the amplifier, Vsat is Output saturation level (V), and p is Magnitude smoothness factor.
The AM/PM characteristics for Modified Rapp
is given
by
where u is the magnitude of input signal, A is the
Phase gain (rad), B is
Phase saturation, q is
Phase smoothness factor and
angle is a MATLAB function which returns phase angle of
u
.
The output signal uout is calculated as:
where umag is the magnitude and uangle is the phase of the output signal, respectively.
According to the Specify noise type parameter, you can specify the amount of thermal noise in three ways,
Noise temperature
— Specifies the noise in kelvin.
Noise factor
— Specifies the noise by using the
equation:
Noise figure
— Specifies the noise in decibels relative to a
noise temperature of 290 kelvin. In terms of noise factor
Note
Some RF Blockset™ blocks require the sample time to perform baseband modeling calculations. To ensure accuracy in these calculations, the Input Port block, as well as the mathematical RF blocks compare the input sample time to the sample time you provide in the mask. If these times do not match, or if the input sample time is missing because the blocks are not connected, an error message appears.
To visualize the functionality of Plot power characteristics button, set the to the Amplifier block listed in the table.
Model | Parameters | Power Characteristics Plot |
---|---|---|
Cubic Polynomial | Main tab:
Noise tab:
|
|
AM/AM - AM/PM | Main tab:
Noise tab:
|
|
Modified Rapp | Main tab:
Noise tab:
|
|
Saleh | Main tab:
Noise tab:
|
|
All four subsystems for the amplifier nonlinearity models apply a memoryless nonlinearity to the complex baseband input signal. Each model
Multiplies the signal by a gain factor.
Splits the complex signal into its magnitude and angle components.
Applies an AM/AM conversion to the magnitude of the signal, according to the selected nonlinearity model, to produce the magnitude of the output signal.
Applies an AM/PM conversion to the phase of the signal, according to the selected nonlinearity model, and adds the result to the angle of the signal to produce the angle of the output signal.
[1] Razavi, Behzad. “Basic Concepts “ in RF Microelectronics, 2nd edition, Prentice Hall, 2012.
[2] Rapp, C., “Effects of HPA-Nonlinearity on a 4-DPSK/OFDM-Signal for a Digital Sound Broadcasting System.” Proceedings of the Second European Conference on Satellite Communications, Liege, Belgium, Oct. 22-24, 1991, pp. 179-184.
[3] Saleh, A.A.M., “Frequency-independent and frequency-dependent nonlinear models of TWT amplifiers.” IEEE Trans. Communications, vol. COM-29, pp.1715-1720, November 1981.
[4] IEEE 802.11-09/0296r16. “TGad Evaluation Methodology.“ Institute of Electrical and Electronics Engineers.https://www.ieee.org/
[5] Kundert, Ken.“ Accurate and Rapid Measurement of IP2 and IP3,“ The Designer Guide Community, May 22, 2002.