RFIC Design and Testing for Wireless Communications
A PragaTI (TI India Technical University) Course
July 18, 21, 22, 2008
Lecture 6: Basic Concepts
– Linearity, noise figure, dynamic range
By
Vishwani D Agrawal
Vishwani D. Agrawal
Fa Foster Dai
200 Broun Hall, Auburn University
Auburn, AL 36849-5201, USA
RFIC Design and Testing for Wireless Communications
Topics
Monday, July 21, 2008
9:00 – 10:30 Introduction – Semiconductor history, RF characteristics
11:00 – 12:30 Basic Concepts – Linearity, noise figure, dynamic range
2:00 – 3:30 RF front-end design – LNA, mixer 4:00 – 5:30 Frequency synthesizer design I (PLL)
T
d
J l 22 2008
Tuesday, July 22, 2008
9:00 – 10:30 Frequency synthesizer design II (VCO) 11:00 – 12:30 RFIC design for wireless communications
Units for Microwave and RFIC Design
Peak-to peak voltage: V
pp
Root-mean-square voltage:
2
2
pp rmsV
V
=
Power in Watt :
V
V
Pwatt
rms pp 2 2=
=
2
2
Power in dBm :
R
R
Pwatt
8
=
=
⎟
⎠
⎞
⎜
⎝
⎛
=
mW
mW
Pwatt
P
dBm1
]
[
log
10
10On a 50Ohm load, 0dBm=1mW=224mV
rms=632mV
pp⎠
⎝
1
mW
Noise Figure
• In RF design, most of the front-end receiver blocks are
characterized in terms of “noise figure” rather than input
referred noise
referred noise.
• Noise factor F is defined as
N
N
N
N
N
N
S
SNR
in i i o o total o source o added o added1
F
( ) ( )+
( )+
( )F
N
N
N
GN
N
S
SNR
i o source o source o sourceo o o i i out in 10
log
10
NF
Figure,
Noise
1
F
) ( ) ( ) ( ) ( ) ( ) ( ) (=
+
=
=
=
=
=
=
• Noise figure measures how much the SNR degrades as the
signal passes through a system.
• For a noiseless system, SNRin = SNRout, namely, F=1,
y
,
,
y,
,
NF=0dB,
regardless of the gain. This is because both the
input signal and the input noise are amplified (or attenuated)
by the same factor and no additional noise is introduced.
Thermal Noise
Th
l
i
(J h
i )
d
t
d
th
l
ti
f
•
Thermal noise (Johnson noise)
– due to random thermal motion of
electrons and is generated by resistors, base and emitter resistance
r
b,r
E,and r
c. of bipolar devices, and channel resistance of MOSFETs.
Thermal noise is a white noise with Gaussian amplitude distribution.
•
Thermal noise floor:
K
Hz
dBm
mW
kT
0290
at
/
174
1
log
10
⎟
=
−
⎠
⎞
⎜
⎝
⎛
2 nbV
Q
r
bM
I
2R
2
n
V
+_
+r
eQ
M
nI
n
_
2 neV
+_
f
kTR
V
n2= 4
Δ
f
g
kT
I
n m⎟
Δ
⎠
⎞
⎜
⎝
⎛
=
3
2
4
2>2/3 for submirocn MOS
>2/3 for submirocn MOS
Shot Noise
•
Shot noise (Schottky noise)
– due to the particle-like nature of
charge carriers. Only the time-average flow of electrons and holes
appears as constant current. Any fluctuation in the number of
charge carriers produces a random noise current at that instant.
Shot noise is a Gaussian white process associated with the transfer
Shot noise is a Gaussian white process associated with the transfer
of charge across an energy barrier (e.g., a p-n junction). This
random process is called shot noise and is expressed in amperes
per root hertz.
2 ,b n
I
Q
2 ,c nI
f
qI
I
n2= 2
Δ
B bnqI
i
=
2
i
cn=
2
qI
CFlicker noise
•
Flicker noise (1/f noise)
– found in all active devices. In bipolar
transistors, it is caused by traps associated with contamination and
crystal defects in the emitter-base depletion layer. These traps capture
and release carriers in a random fashion with noise energy
and release carriers in a random fashion with noise energy
concentrated in low frequency. K depends on processing and may vary
by order of magnitude.
2
5
0
,
2~
.
a
f
f
I
K
I
a C n=
Δ
≈
•
In MOSFETs, 1/f noise arises from random trapping of charge at the
oxide-silicon interfaces. Represented as a voltage source in series with
the gate, the noise spectral density is given by
f
WLCox
K
Noise Power Spectral Density
z) -135 e Power (dBm /H z 10dB/Dec Total Noise -150 -145 -140 Nois e Thermal and Shot Noise Flicker Noise -160 -155 0.1 1 10 100 1000 Frequency (kHz)The 1/f corner frequency
The 1/f corner frequency
can be significantly higher
for MOSFET
BJT Model with Noise Sources
rb c b’ vb b 4kT Cμ Cπ g mvb’e rπ icn ibn ibf 2qIB 4kTrb ro 2qIC e e 1/f noise Base Shot Noise Collector Shot Noisec
a)
b)
c
r
bb
v
rb4kTr
bb’
i
cn2qI
Ci
bna)
r
bb
b’
i
cnc
2qI
i
b)
4kTr
bbase
shot noise
collector
shot noise
e
2qI
B2qI
Bq
C bn4kT
r
e
2qI
B2qI
B2qI
Ci
bnshot noise
r
CMOS Model with Noise Sources
Input-referred noise
vgs CGS CGD gmvgs r vo IndV
2=
8
kT
rokT
28
mg
V
3
n=
⎟
⎠
⎞
⎜
⎝
⎛
=
kT
g
mI
3
2
4
2 nd mg
Z
kT
I
2 in 2 n3
8
=
•
Gate resistance can be added to the noise model with gate resistivity ρ
L
W
R
GATE
ρ
3
1
=
Linear vs. Nonlinear Systems
• A system is
linear
if for any inputs x
1(t) and
x
2(t), x
1(t) Æ y
2(t), x
2
(t) Æ y
2
(t) and for all
values of constants a and b, it satisfies
a x
1(t)+bx
2(t) Æ ay
1(t)+by
2(t)
a x
1(t)+bx
2(t) Æ ay
1(t)+by
2(t)
A
t
i
li
if it d
t
ti f
• A system is
nonlinear
if it does not satisfy
Effects of Nonlinearity
• Harmonic Distortion
Harmonic Distortion
• Gain Compression
• Desensitization
Desensitization
• Intermodulation
• For simplicity, we limit our analysis to
memoryless time invariant
system Thus
memoryless, time invariant
system. Thus,
...
)
(
)
(
)
(
)
(
t
=
1
x
t
+
2
x
2
t
+
3
x
3
t
+
y
α
α
α
(3.1)
Effects of Nonlinearity -- Harmonics
If a single tone signal is applied to a nonlinear system, the
output generally exhibits fundamental and harmonic
frequencies with respect to the input frequency. In Eq. (3.1), if
t
A
t
A
t
A
t
y
(
)
α
cos
ω
+
α
2cos
2ω
+
α
3cos
3ω
frequencies with respect to the input frequency. In Eq. (3.1), if
x(t) = Acosωt
, then
t
t
A
t
A
t
A
t
A
t
A
t
A
t
y
ω
ω
α
ω
α
ω
α
ω
α
ω
α
ω
α
)
3
cos
cos
3
(
4
)
2
cos
1
(
2
cos
cos
cos
cos
)
(
3 3 2 2 1 3 2 1+
+
+
+
=
+
+
=
t
A
t
A
t
A
A
A
ω
α
ω
α
ω
α
α
α
3
cos
4
2
cos
2
cos
)
4
3
(
2
3 3 2 2 3 3 1 2 2+
+
+
+
=
Observations:
1. even order harmonics result from α
jwith even j and vanish if the system
has odd symmetry, i.e., differential circuits.
Effects of Nonlinearity -- Gain Compression
t
A
t
A
t
A
A
A
t
y
α
α
α
ω
α
ω
α
cos
3
ω
4
2
cos
2
cos
)
4
3
(
2
)
(
3 3 2 2 3 3 1 2 2+
+
+
+
=
(3.2)
• Under small-signal assumption, the system is
4
2
4
2
g
y
normally linear and harmonics are negligible. Thus,
α
1
A dominates Æ
small-signal gain = α
1.
• For large signal nonlinearity becomes evident
• For large signal, nonlinearity becomes evident.
large-signal gain =
. The gain varies
when input level changes.
4
/
3
3 3 1α
A
α
+
• If
α
3
< 0
, the output is a “compressive” or
“saturating” function of the input Æ
the gain is
compressed when A increases
Output of Bipolar Differential Pair
⎟⎟
⎠
⎞
⎜⎜
⎝
⎛ −
=
T id C EE F id odV
V
R
I
V
V
2
tanh
α
( )
=
−
3+
5−
7+
K
315
7
15
2
3
1
tanh
x
x
x
x
x
Effects of Nonlinearity – 1dB Compression Point
(dBV)
20
log
α
1A
3
1−dB=
1
dB
u
t V
o
ltage
1dB
1 1 1 3 1 3 1 13808
0
145
0
4
3
α
α
α
α
=
=
+
− − dB dB dBA
A
A
dBA
1Outp
u
20logA
in 3 3 1−dB0
.
145
α
0
.
3808
α
A
V
dB
10
l
pp/
8
2 dBA
1−20logA
in• 1-dB compression point is defined as the input signal level that causes
small-signal gain to drop 1 dB It’s a measure of the maximum input
mW
dBm
pp1
50
log
10
×
Ω
=
small signal gain to drop 1 dB. It s a measure of the maximum input
range.
Effects of Nonlinearity – Desensitization (Blocking)
• Desensitization
-- small signal experiences a vanishingly small gain when
co-exists with a large signal, even if the small signal itself does not drive the
system into nonlinear range.
A
l i
t
t
i
t
x(t) = A cosω t+ A cosω t
t E (3 1)
h
,
cos
2
3
4
3
)
(
1 1 3 13 3 1 22⎟
1+
L
⎠
⎞
⎜
⎝
⎛
+
+
=
A
A
A
A
t
t
y
α
α
α
ω
Applying two-tone inputs
x(t) = A
1cosω
1t+ A
2cosω
2t
to Eq.(3.1), we have
gain of
desired
2
4
⎠
⎝
,
cos
2
3
)
(
1 3 22⎟
1 1+
L
⎠
⎞
⎜
⎝
⎛
+
=
A
A
t
t
y
α
α
ω
For A
1<< A
2, it reduces to
signal
2
⎠
⎝
Observations:
• Weak signal’s gain decreases as a function of A
Weak signal s gain decreases as a function of A
22if α
if α
33< 0. For sufficiently large
< 0. For sufficiently large
A
2, the gain drops to zero Æ the weak signal is “
blocked
” by the strong signal.
(Why cannot we see stars during day?)
• Many RF receivers must be able to withstand blocking signals 60 to 70 dB
t
th
th
t d i
l
greater than the wanted signals.
Effects of Nonlinearity – Intermodulation
• Harmonic distortion is due to
self-mixing
of a
single-t
i
l It
b
d b l
filt i
tone signal. It can be suppressed by low-pass filtering
the higher order harmonics.
• However there is another type of nonlinearity
• However, there is another type of nonlinearity
--intermodulation (IM) distortion,
which is normally
determined by a “
two tone test
”.
• When two signals with different frequencies applied to
a nonlinear system, the output in general exhibits some
components that are not harmonics of the input
frequencies. This phenomenon arises from
cross-mixing
(multiplication) of the two signals
Effects of Nonlinearity – Intermodulation
A
A
)
(
DC Term
+
+
=
+
=
A
A
t
y
A
t
A
t
x
)
(
2
1
)
(
cos
cos
)
(
2 2 2 1 2 2 2 1 1α
ω
ω
1
stOrder
Terms
⎥
⎤
⎢
⎡
+
⎥⎦
⎤
⎢⎣
⎡
+
+
t
A
A
A
A
t
A
A
A
A
)
2
(
3
cos
)
2
(
4
3
2 2 1 2 2 2 1 1 3 1 1α
ω
α
2
ndOrder
[
+
]
+
+
⎥⎦
⎤
⎢⎣
⎡
+
+
t
A
t
A
t
A
A
A
A
2
cos
2
cos
2
1
cos
)
2
(
4
2 2 2 1 2 1 2 2 2 2 2 1 2 3 2 1ω
ω
α
ω
α
α
Terms
[
]
[
+
]
+
+
−
+
+
t
A
t
A
t
t
A
A
3
cos
3
cos
4
1
)
cos(
)
cos(
2
2 3 2 1 3 1 3 2 1 2 1 2 1 2ω
ω
α
ω
ω
ω
ω
α
3
rdOrder
terms
[
]
[
]
[
]
⎪⎭
⎪
⎬
⎫
⎪⎩
⎪
⎨
⎧
−
+
+
+
−
+
+
t
t
A
A
t
t
A
A
)
2
cos(
)
2
cos(
)
2
cos(
)
2
cos(
4
3
4
1 2 1 2 2 2 1 2 1 2 1 2 2 1 3ω
ω
ω
ω
ω
ω
ω
ω
α
[
]
⎭
⎩
1 2 2 1 2 1Intermodulation – Why do we care about IM3 mostly?
In wireless communication system such as cellular handsets with narrow-band
operating frequencies (i.e., a few tens of MHz), only the IM3 spurious signals
(2w1 - w2) and (2w2 - w1) fall within the filter passband.
Intermodulation -- Third Order Intercept Point (IP3)
• Two-tone test:
A
1=A
2=A and A is sufficiently small
so that
higher-order nonlinear terms are negligible and the gain is relatively
constant and equal to α
1.
constant and equal to α
1.
• As A increases, the fundamentals increases in proportion to A,
whereas IM3 products increases in proportion to A³.
⎤
⎡
⎤
⎡
+
=
+
=
A
t
y
A
t
A
t
x
)
(
cos
cos
)
(
2 2 2 1α
ω
ω
3 1 3 3 1 3 2 3 1and
3
4
4
9
IIP
OIP
IIP
A
α
α
α
α
α
>>
→
=
=
dB
A
dB6
9
145
.
0
1[
+
]
+
[
+
+
]
+
+
⎥⎦
⎤
⎢⎣
⎡ +
+
⎥⎦
⎤
⎢⎣
⎡ +
t
t
A
t
t
A
t
A
A
t
A
A
)
cos(
)
cos(
2
cos
2
cos
1
cos
4
9
cos
4
9
2 2 2 2 3 1 1 2 3 1ω
ω
ω
ω
α
ω
ω
α
ω
α
α
ω
α
α
A
IPdB
dB9
.
6
3
/
4
3 1=
≈
−
[
]
[
]
[
]
[
[
]
]
⎭
⎬
⎫
⎩
⎨
⎧
−
+
+
+
−
+
+
+
+
+
−
+
+
+
+
t
t
t
t
A
t
t
A
t
t
A
t
t
A
)
2
cos(
)
2
cos(
)
2
cos(
)
2
cos(
4
3
3
cos
3
cos
4
1
)
cos(
)
cos(
2
cos
2
cos
2
2 1 2 1 2 1 2 1 3 3 2 1 3 3 2 1 2 1 2 2 1 2ω
ω
ω
ω
ω
ω
ω
ω
α
ω
ω
α
ω
ω
ω
ω
α
ω
ω
α
[
]
⎭
⎩
cos(
2
+
)
t
+
cos(
2
)
t
4
4
ω
1ω
2ω
1ω
2Intermodulation – IP2 vs. IP3
20
40
IP2 Fundamentalα
1A
α
1A
A
1=A
2=A
2
NDOrder IM Product:
2 1 2α
α
=
IPA
20
0
20
Fundamental 2 2A
α
1 2 2A
α
-60
-40
-20
IP3 1 1 1 2 1ω
ω
−
ω
1ω
2ω
1+
ω
2Freq
3
RDOrder IM Product
4
α
-80
3-100
3rdOrder IM Product 2ndOrder IM Product 1
3
Order IM Product
3 1 33
4
α
α
=
IPA
P
Δ
A
1α
α
1A
3
-60-120
IIP3 -40 0 20 40 IM Product 2 3 34
3
A
α
3 34
3
A
α
Calculate IIP3 without Extrapolation
1A
A
A
1P
Δ
A
1α
α
1A
33
A
3
20logAi 3 3A
P
Freq
3 34
α
A
3 34
3
A
α
20logAinP/2
2 12
ω
−
ω
ω
1ω
22
ω
2−
ω
1Freq
]
[
2
]
[
]
[
3
P
dBm
dB
P
dBm
IIP
=
Δ
+
in
Relationship Between 1-dB Compression and IP3
1-dB compression point with single tone applied:
3 1 3
3
4
α
α
=
IPA
3 1 10
.
145
α
α
=
−dBA
dB
A
A
dB IP3
.
04
9
.
66
1 3=
=
1-dB compression point with two tones applied:
dB
A
IP4
14
25
5
3
2
3 1 3α
α
dB
A
dB IP5
.
25
14
.
4
22
.
0
3 1 1 3=
=
=
α
α
Determine IIP3 and 1-dB Compression Point from Measurement
•
An amplifier operates at 2 GHz with a gain of 10dB. Two-tone test with equal power
applied at the input, one is at 2.01 GHz. At the output, four tones are observed at 1.99,
2.0, 2.01, and 2.02GHz. The power levels of the tones are -70,-20,-20, and -70dBm.
Determine the IIP3 and 1-dB compression point for this amplifier.
•
Solution: 1.99 and 2.02 GHz are the IP3 tones.
(
)
[
]
[
]
dB
P
dBm
P
P
G
P
IIP
66
14
66
9
5
5
70
20
2
1
10
20
2
1
3
=
1−
+
1−
3=
−
−
+
−
+
=
−
OIP3)
log(
20
1A
dBm
P
1dB=
−
5
−
9
.
66
=
−
14
.
66
3 34
3
log
20
A
P
]
[
2
]
[
]
[
3P
dBm
dB
P
dBm
IIP
=
Δ
+
in IIP3 20logAin4
P/2
2
Intermodulation of Cascade Nonlinear Stages
...
)
(
)
(
)
(
)
(
...
)
(
)
(
)
(
)
(
3 1 3 2 1 2 1 1 2 3 3 2 2 1 1+
+
+
=
+
+
+
=
t
y
t
y
t
y
t
y
t
x
t
x
t
x
t
y
β
β
β
α
α
α
L
)
(t
)
(t
)
(t
)
y
1(
t
)
y
2(
t
)
(t
x
A
IP3,1A
A
A
A
IP
3
,
2
A
IP
3
,
3
Linearity is more important for back-end stages.
K
+
+
+
≈
2
1
2
2
1
2
2
1
2
2
1
1
A
A
A
A
β
α
α
Noise Figure of Cascade Stages
(
)
NF
−
1
NF
−
1
NF
−
1
(
)
G
G
G
NF
G
G
NF
G
NF
NF
NF
m p p p m p p p tot ) 1 ( ... 2 1 1 1 3 1 2 11
...
1
1
1
1
−+
+
+
+
−
+
=
NF
tot– total equivalent Noise Figure
NF
m– Noise Figure of m
thstage
G
A il bl
i
f
tht
G
pm– Available power gain of m
thstage
Sensitivity
• Sensitivity
-- defined as the minimum signal level that the
system can detect with acceptable SNR.
OUT RS sig OUT in
SNR
P
P
SNR
SNR
NF
=
=
/
• The overall signal power is distributed across the channel
bandwidth, B, integrating over the bandwidth to obtain total
mean square power
B
SNR
NF
P
P
sig
,
tot
=
RS
•
•
OUT
•
B
SNR
NF
P
P
dB
dB
Hz
dBm
RS
dBm
Maximum Input Power
OIP3
)
log(
20
1A
2
, 3 out IM out in IIPP
P
P
P
=
+
−
20logA 3 34
3
log
20
A
P
2
3
2
, ,in in IM in IM in inP
P
P
P
P
+
−
=
−
=
2
P
+
P
IIP3
20logAinP/2
3
2
IIP3 IM,in inP
P
P
=
+
where P
IM,outdenotes output-referred power of IM
3products, P
out=P
in+G,
P
IM,OUT= P
IM,in+G.
The input level for which the IM products become equal to
the noise floor F
is thus given by
3
log
10
174
2
3
2
P
3
F
P
3
dBm
NF
B
P
in
=
IIP
+
=
IIP
−
+
+
Dynamic Range
• Dynamic Range (DR)
-- defined as the ratio of the maximum to
minimum input levels that the circuit provides a reasonable
signal quality.
• Spurious Free Dynamic Range (SFDR)
determine the upper
• Spurious-Free Dynamic Range (SFDR)
-- determine the upper
end of dynamic range on the intermodulation behavior and the
lower end on sensitivity.
• The upper end of the dynamic range is defined as the
e uppe e d o t e dy a
c a ge s de
ed as t e
maximum input power
in a two tone test for which the 3rd IM
products do not exceed the
noise floor F=-174dBm+NF+10logB
.
• The SFDR is thus given by
min 3 min 3 , max ,