Chapter13 Transceiver Design Example
Chapter13 Transceiver Design Example
Chapter Outline
System-Level
Specifications
RX Design
Broadband LNA
Passive Mixer
AGC
Synthesizer Design
VCO
Dividers
Charge Pump
TX Design
PA
Upconverter
and obtain
for a sensitivity of -65 dBm (at 52 Mb/s).
In practice, signal detection in the digital baseband processor suffers from nonidealities,
incurring a loss of a few decibels. Moreover, the front-end antenna switch exhibits a loss
of around 1 dB.
Receiver: Nonlinearity
We represent the desired, adjacent, and alternate
channels by A0 cos 0t, A1 cos 1t, and A2 cos 2t,
respectively. For a third-order nonlinearity of the form
y(t) = 1x(t) + 2x2(t) + 3x3(t), the desired output is given
by 1A0 cos 0t and the IM3 component at 0 by
33A12A2/4
We choose the IM3 corruption to be around
-15 dB to allow for other nonidealities:
Solution:
At first glance, we may say that the input signal level varies from -82 dBm to -65 dBm,
requiring a gain of 86 dB to 69 dB so as to reach 1 Vpp at the ADC input. However, a 64QAM
signal exhibits a peak-to-average ratio of about 9 dB; also, baseband pulse shaping to meet
the TX mask also creates 1 to 2 dB of additional envelope variation. Thus, an average input
level of -65 dBm in fact may occasionally approach a peak of -65 dBm+11 dB = -54 dBm. It is
desirable that the ADC digitize this peak without clipping. That is, for a -65-dBm 64QAM
input, the RX gain must be around 58 dB. The -82-dBm BPSK signal, on the other hand,
displays only 1 to 2 dB of the envelope variation, demanding an RX gain of about 84 dB.
Solution:
No, it is not. The ADC resolution is selected according to the SNR required for 64QAM
modulation (and some other factors). For example, a 10-bit ADC exhibits an SNR of about 62
dB, but a BPSK signal can tolerate a much lower SNR and hence need not reach the ADC full
scale. In other words, if the BPSK input is amplified by, say, 60 dB rather than 84 dB, then it
is digitized with 6 bits of resolution and hence with ample SNR ( 38 dB) . In other words, the
above AGC calculations are quite conservative.
Transmitter
The transmitter chain must be linear enough to deliver a 64QAM OFDM signal
to the antenna with acceptable distortion.
High linearity:
(1)assign most of gain to last PA stage
(2)minimize the number of stages in the TX chain
Determine the required synthesizer phase noise for an 11a receiver such that
reciprocal mixing is negligible.
Solution:
We consider the high-sensitivity case, with the desired input at -82 dBm + 3 dB and the
adjacent and alternate channels at +16 dB and +32 dB, respectively. Figure below shows the
corresponding spectrum but with the adjacent channels modeled as narrow-band blockers
to simplify the analysis. Upon mixing with the LO, the three components emerge in the
baseband, with the phase noise skirts of the adjacent channels corrupting the desired
signal. Since the synthesizer loop bandwidth is likely to be much smaller than 20 MHz, we
can approximate the phase noise skirts by S(f) = /f2. Our objective is to determine .
10
11
12
and hence 2 = 0.5f12S0. It follows that the latter case demands a lower free-running phase
noise at an offset of f1, making the VCO design more difficult.
Chapter13 Transceiver Design Example
13
For the total rms phase deviation to be less than 1 = 0:0175 rad, we have
The relative sideband level in xTX2(t) is equal to KVCOam/(2m) = 0:0124 = -38 dBc.
Chapter13 Transceiver Design Example
14
Example of Spurs
A quadrature upconverter designed to generate a(t) cos[ct + (t)] is driven by an
LO having FM spurs. Determine the output spectrum.
Representing the quadrature LO phases by cos[ct + (KVCOam/m) cos mt ] and sin[ct +
(KVCOam/m) cosmt ], we write the upconverter output as
15
Frequency Planning ()
Two separate quadrature VCOs for the to bands, with their outputs multiplexed
and applied to the feedback divider chain.
Floor plan imposes a large spacing between the 11a and 11g signal paths.
11a VCO must provide a tuning range of 15%. LO pulling proves serious.
Chapter13 Transceiver Design Example
16
Frequency Planning ()
One quadrature VCO serving both
bands.
More compact floor plan.
LO pulling persists. It is desirable
to implement the 11g PA in fullydifferential form.
17
Frequency Planning ()
We employ two VCOs, each with about half the tuning range but with some
overlap to avoid a blind zone.
A larger number of VCOs can be utilized to allow an even narrower tuning
range for each, but the necessary additional inductors complicate the routing.
Chapter13 Transceiver Design Example
18
The MUX following the two VCOs in the above architecture with two VCOs must
either consume a high power or employ inductors. Is it possible to follow each
VCO by a 2 circuit and perform the multiplexing at the dividers outputs?
The two multiplexers do introduce additional I/Q mismatch, but calibration removes this
error along with other blocks
contributions. Note that the new 2
circuit does not raise the power
consumption because it is turned
off along with VCO2 when not
needed.
Chapter13 Transceiver Design Example
19
20
(a)
(b)
(c)
(d) 21
First term should be on the order of 10 to 20 , and the second, 30 to 40 . And we can
compute the gain equals -2.8.
Chapter13 Transceiver Design Example
22
the input resistance is given by the feedback resistance divided by one plus the loop gain:
If Rin = RS and RM >> gm3-1, then the gain is simply equal to 1/2 times the voltage gain of the
inverter:
Chapter13 Transceiver Design Example
23
24
The worst-case |S11|, NF, and gain are equal to -16.5 dB, 2.35 dB, and 14.9 dB,
respectively.
Chapter13 Transceiver Design Example
25
Mixer Design
In this transceiver design, we have some flexibility because (a) 65-nm CMOS technology can
provide rail-to-rail LO swings at 6 GHz, allowing passive mixers, and (b) the RX linearity is
relatively relaxed, allowing active mixers.
26
For a 6-GHz LO, the NF is dominated by the flicker noise of the baseband amplifier at 100kHz offset. For a 2.4-GHz LO, the thermal noise floor rises by 3 dB. The simulations assume
a rail-to-rail sinusoidal LO waveform.
Chapter13 Transceiver Design Example
27
28
The RX noise figure varies from 7.5 dB to 6.1 dB at 2.4 GHz and from 7 dB to
4.5 dB at 6 GHz. These values are well within our target of 10 dB.
29
The input impedance, Zmix, in previous mixer may alter the feedback LNA input
return loss. How is this effect quantified?
The LNA S11 is obtained using small-signal ac simulations. On the other hand, the input
impedance of passive mixers must be determined with the transistors switching, i.e., using
transient simulations. To study the LNA input impedance while the mixers are switched, the
FFT of Iin can be taken and its magnitude and phase plotted. With the amplitude and phase of
Vin known, the input impedance can be calculated at the frequency of interest.
Chapter13 Transceiver Design Example
30
Coarse AGC
This is accomplished by
inserting transistors MG1- MG3
between the differential outputs
of the mixer.
31
32
Examples of AGC
What controls D1-D3?
The digital control for D1-D3 is typically generated by the baseband processor. Measuring the
signal level digitized by the baseband ADC, the processor determines how much attenuation
is necessary.
33
In the second scenario, the RX gain is reduced by a constant amount in dB for a constant
logarithmic increase in the signal level, thereby keeping the ADC input swing constant. Here,
for every 5 dB rise in the RX input, the baseband processor changes the digital control by 1
LSB, lowering the gain by 5 dB. It is therefore necessary to realize a linear-in-dB gain control
mechanism.
Chapter13 Transceiver Design Example
34
Fine AGC
35
We observe that (a) the RX P1dB drops from -26 dBm to -31 dBm when the VGA
is added to the chain, and (b) the noise figure rises by 0.2 dB in the low-gain
mode. The VGA design thus favors the NF at the cost of P 1dBwhile providing a
maximum gain of 8 dB.
A student seeking a higher P1dB notes that the NF penalty for D1D2D3D4 = 0011 is
negligible and decides to call this setting the high-gain mode. That is, the
student simply omits the higher gain settings for 0000 and 0001. Explain the issue
here.
In the high-gain mode, the VGA provides a gain of only 4 dB. Consequently, the noise of
the next stage (e.g., the baseband filter) may become significant.
Chapter13 Transceiver Design Example
36
TX Design: PA Design
The PA must deliver +16 dBm (40 mW) with an output P1dB of +24 dBm. The corresponding
peak-to-peak voltage swings across a 50- antenna are 4 V and 10 V, respectively. We
assume an off-chip 1-to-2 balun and design a differential PA that provides a peak-to-peak
swing of 2 V, albeit to a load resistance of 50 /22 = 12.5
37
38
39
Predriver
The input capacitance of the PA is about 650 fF, requiring a driving inductance of about 1 nH
for resonance at 6 GHz. With a Q of 8, such an inductor exhibits a parallel resistance of
300. The predriver must therefore have a bias current of at least 2.3 mA so as to generate a
peak-to-peak voltage swing of 0.68 V. However, for the predriver not to degrade the TX
linearity, its bias current must be quite higher.
Designed for resonance at 6 GHz with a Q of 8, the predriver suffers from a low
gain at 5 GHz.
Chapter13 Transceiver Design Example
40
41
Common-Mode Stability
Quasi-differential PAs exhibit a higher common-mode gain than differential gain, possibly
suffering from CM instability.
The circuit above (left) is generally stable from the stand point of differential
signals because the 25- resistance seen by each transistor dominates the
load, avoiding a negative resistance at the gate.
For CM signals, on the other hand, the circuit above (left) collapses to above
(right). The 50- resistor vanishes, leaving behind an inductively-loaded
common-source stage, which can exhibit a negative input resistance. To
ensure stability, a positive common-mode resistance must drive this stage.
Chapter13 Transceiver Design Example
42
We provide the cascode gate bias through a lossy network. Here, we generate
Vb by means of a simple resistive divider, but, to dampen resonances due to LB
and LG, we also add R1 and R2.
Chapter13 Transceiver Design Example
43
Upconverter
The upconverter must translate the baseband I and Q signals to a 6-GHz center frequency
while driving the 40-m input transistors of the predriver.
Since the gate bias voltage of M5-M8 is around 0.6 V, the mixer transistors
suffer from a small overdrive voltage if the LO swing reaches only 1.2 V.
We must therefore use ac coupling between the mixers and the predriver.
Chapter13 Transceiver Design Example
44
The TX is tested with a single baseband tone (rather than a modulated signal).
The gate voltage of M5 thus exhibits a beat behavior with a large swing,
possibly driving M5 into the triode region.
We wish to sum the signals before they reach the predriver.
Chapter13 Transceiver Design Example
45
Final TX Design
The mixer outputs are shorted to generate a single-sideband signal and avoid
the beat behavior described above. This summation is possible owing to the
finite on-resistance of the mixer switches.
46
TX Compression Characteristic
We define the conversion gain as the differential voltage swing delivered to the
50- load divided by the differential voltage swing of xBB,I(t) [or xBB,Q(t)].
The TX reaches its output P1dB at VBB,pp = 890 mV, at which point it delivers an
output power of +24 dBm. The average output power of +16 dBm is obtained
with VBB,pp 350 mV.
Chapter13 Transceiver Design Example
47
Assume a single-ended load inductance of 0.75 nH, Q = 10. Yielding a singleended peak-to-peak output swing of 1.2 V. We choose a width of 10 m for
cross-coupled transistors. Finally we add enough constant capacitance to
obtain an oscillation frequency of about 12 GHz.
Chapter13 Transceiver Design Example
48
49
50
51
The control can operate properly across this range. We note that KVCO varies
from about 200 MHz/V to 300 MHz/V.
52
53
Most of the phase noise now arises from the thermal and flicker noise of MREF
and MSS.
Chapter13 Transceiver Design Example
54
55
Consider the simplified circuit shown above, where L/2, Rp/2, and CT represent the singleended equivalent of the tank (including the transistor capacitances and the switched
capacitors). We know that Cc and Cvar transform Rb to a value given by
where the Q associated with this network is assumed greater than about 3. For Cc 10Cvar,
we have Req 1.2Rb. Thus, Rb must be roughly 10 times Rp/2 to negligibly reduce the tank Q.
Chapter13 Transceiver Design Example
56
For offset frequencies below -3dB 1/(RbCc), the noise of Rb directly modulates the varactor,
as if it were in series with Vcont . We make the following observations: (1) the gain from each
resistor noise voltage to the output frequency is equal to KVCO/2, where KVCO denotes the gain
from Vcont ; (2) a two-sided thermal noise spectrum of 2kTRb yields a phase noise spectrum
around zero frequency given by Sn = 2kTRb(KVCO/2)2/2; (3) for an RF output of the form
Acos(ct + n), the relative phase noise around the carrier is still given by Sn; (4) the phase
noise power must be doubled to account for the two Rbs. The output phase noise is equal to
57
58
59
This topology employs dynamic logic; leakage currents eventually destroy the
stored state if CK is low for a long time.
The latch is based on ratioed logic, requiring careful sizing.
60
61
The inverters present a small load to the latch but must drive a large
capacitance themselves, thereby producing slow edges.
Frequency dividers typically demand a conservative design because:
(1) the layout parasitics tend to lower the speed considerably
(2) in the presence of process and temperature variations, the divider must
handle the maximum frequency arriving from the VCO
Chapter13 Transceiver Design Example
62
Dual-Modulus Divider
The pulse-swallow counter necessary for the synthesizer requires a prescaler, which itself
employs a dual-modulus divider. Such a divider must operate up to about 6.5 GHz.
63
3/4 Circuit
We must now add an OR gate to the above topology to obtain a 3/4 circuit. Again, we prefer
to merge this gate with either of the flipflops.
64
A student observes that the circuit above presents a total transistor width of 6 m
to the clock. The student then decides to halve the width of all of the transistors,
thus halving both the clock input capacitance and the power consumption.
Describe the pros and cons of this approach.
This linear scaling indeed improves the performance. In fact, if the load seen by the main
output could also be scaled proportionally, then the maximum operation speed would also
remain unchanged.
Chapter13 Transceiver Design Example
65
Loop Design
The CP and LPF are designed based on the lowest value of KVCO and the highest value of the
divide ratio, M.
We begin with a loop bandwidth of 500 kHz and a charge pump current of 1 mA. Thus,
2.5n = 2(500 kHz) and hence n = 2(200 kHz). We have
We instead choose Ip = 2 mA and C1 = 27 pF, trading area for power consumption. Setting the
damping factor to unity,
For the charge pump, we return to the gate-switched topology as it affords the maximum
voltage headroom.
The gate-switched
topology still proves
rather slow, primarily
because of the small
overdrive of M3 and M4
66
In this test the Up and Down inputs are both asserted and a voltage source tied
between the output node and ground is varied from Vmin (= 0.1V) to Vmax (1.1 V).
Ideally equal to zero, the maximum current flowing through this voltage source
reveals the deterministic mismatch between the Up and Down currents and the
ripple resulting therefrom.
In this design, the maximum mismatch occurs at Vout = 1.1 V and is equal to 60
A, about 3%.
Chapter13 Transceiver Design Example
67
We wish to scale down the lock time of the loop by a large factor, e.g., K = 100.
To this end, we raise fREF by a factor of K and reduce C1, C2, and M by a factor of
K.
Note that time contraction does not scale R1, Ip, or KVCO, and it retains the value
of while scaling down the loop time constant, (n)-1 = 4M/(R1IpKVCO), by a
factor of K.
Chapter13 Transceiver Design Example
68
The PFD, the CP, and the loop filter incorporate actual devices, thus producing
a realistic ripple. The loop locks in about 150 ns, incurring a peak-to-peak
ripple of nearly 30 mV.
We observe that our choice of the loop parameters has yielded a well-behaved
lock response. This simulation takes about 40 seconds.
Chapter13 Transceiver Design Example
69
Given that the amplitude falls 100-fold in the unscaled loop, we must determine whether the
resulting sidebands at 5-MHz offset have a sufficiently small magnitude.
The ripple can be approximated by a train of impulses. In fact, if the area under the ripple is
given by, e.g., V0T, then the relative magnitude of the sidebands is equal to:
V0TKVCO/(2)
The area under the ripple scaled down by a factor of 100 and multiplied by KVCO/(2) yielding
a relative sideband magnitude of -64.4 dBc at the output of the 12-GHz VCO. Thus, the 6-GHz
carrier exhibits a sideband around -70 dBc, an acceptable value.
Chapter13 Transceiver Design Example
70
References ()
71
References ()
72