237
ADI Wireless Seminar 2006

Wireless Design Seminar 2006

Embed Size (px)

Citation preview

Page 1: Wireless Design Seminar 2006

ADI Wireless Seminar

2006

Page 2: Wireless Design Seminar 2006

Contents

I. Wireless Systems Overview II. RF/IF Components and Specifications for Receivers

III. RF/IF Components and Specifications for Transmitters IV. RF/IF Components - Active and Passive Mixers V. Phase-locked loops for high-frequency receivers and

transmitters VI. A Detailed Look at Wireless Signal Chain Architectures

VII. Optimizing Receiver Performance through Error Vector Analysis VIII. Design and Operation of Automatic Gain Control Loops for

Receivers in Modern Communications Systems IX. Using Calibration and Temperature Compensation to

improve RF Detector Accuracy X. Techniques for Measuring RF Gain and VSWR

XI. A 2.4-GHz Direct Conversion Transmitter for WiMAX and WiBro Applications

XII. Design a Direct 6-GHz Local Oscillator with a Wideband, Integer-N, PLL Synthesizer

XIII. Short Range Wireless Devices - Building a global license-free system at frequencies below 1GHz

Page 3: Wireless Design Seminar 2006

1

ADI 2006 RF Seminar

Chapter IWireless Systems Overview

Chapter IWireless Systems Overview

Page 4: Wireless Design Seminar 2006

2

Transmitters Requirements

The modulated carrier must be transmitted with adequate power (anywhere from 100 mW to 500 W).The distortion and noise in adjacent spectrum must be below a certain minimum set by the standard and the customer’s desired margin– this specification is called adjacent channel protection ratio or ACPRComponent-level margin is a big selling point. Some customers want 10-20 dB of margin, especially for distortion specifications

Page 5: Wireless Design Seminar 2006

3

Receivers must be very good Listeners.......even in the presence of large unwanted signals

In mobile wireless applications, the received signal voltage can vary in size by a factor of 1,000,000 (120 dB), depending on the proximity to the sourceReceivers must isolate and demodulate the desired signal, even in the presence of nearby signals (Blockers) that are up to 1 million times largerIn-Band Blockers are generated by other users of the same standard or frequencyOut-of-Band blockers Example: Co-located transceivers on one tower, cordless phones, WLAN Routers.

A

Rx BandDCDC

Freq

Tx Band

Power (dBm)Out-of-Band

Blocker

In-BandBlockers

DesiredSignal

TransmitSignal

Page 6: Wireless Design Seminar 2006

4

Error Vector Magnitude - EVM

Noise and Imperfections in transmit and receive signal chains result in demodulated voltages which are displaced from their ideal location.Error Vector Magnitude expresses this dislocationLarge EVM will result in Symbol/data ErrorsHigher Order Modulation Schemes → Symbols Closer Together → EVM More CriticalSolution: Choose components with higher Signal-to-Noise Ratio. Choose Modulator and DeModulator products which have precise quadrature, low harmonics and low LO leakage

Unit(%)EVMowerReferencePMeanPowerVectorErrorMean

=

Page 7: Wireless Design Seminar 2006

5

An IF-Based Wireless Transceiver

9 0

0

VCO/SYNT RSSI/PHASEDETECT

ADC

ADC

POWERCONTROL

9 0

DAC

DAC

VGA

VGA

IQ DEMODULATOR

IQ MODULATOR

DIFFAMPLNA

HIGHPOWER

AMPRF

VGA

MIXER

MIXER

P O W E RD E TE C T

Page 8: Wireless Design Seminar 2006

6

A Direct Conversion Wireless Transceiver

VCO/SYNTH

RFVGA

HIGHPOWER

AMPLIFIER

RF POWERDETECTION & CONTROL

ADC

ADC

DAC

DAC

900

IQ DEMOD

IQ MOD

900

Duplexer/Switch

RSSI/AGC

Page 9: Wireless Design Seminar 2006

7

Transceiver ComponentsLNAs amplify the signal received at antenna while adding very little noiseHigh Power Amplifiers drive the antennaMixers Convert signal between Radio Frequency (RF) and basebandIQ Modulators convert baseband signals in Cartesian (X,Y) format to real Intermediate Frequencies or Radio Frequencies.Power Detectors measure and control received and transmitted RF powerFilters remove unwanted signalsAmplifiers amplify the received signal and compensate for the losses of other componentsVariable Gain/AGC adjusts gain of receiver to yield a fixed output power at basebandADC samples spectrum either at Intermediate Frequency (IF) or atBasebandIQ Demodulator extracts I and Q baseband signals from RF or IF carrier

Page 10: Wireless Design Seminar 2006

1

ADI 2006 RF Seminar

Chapter IIRF/IF Components and

Specifications for Receivers

Chapter IIRF/IF Components and

Specifications for Receivers

Page 11: Wireless Design Seminar 2006

2

RF/IF Components and Specifications for Receivers

Fixed Gain and Variable Gain AmplifiersIQ Demodulators Analog-to-Digital Converters

Page 12: Wireless Design Seminar 2006

3

ADI 2006 RF Seminar

Fixed Gain and Variable Gain Amplifiers

Fixed Gain and Variable Gain Amplifiers

Page 13: Wireless Design Seminar 2006

4

RF Components – LNAs

Low Noise Amplifiers (LNA) amplify very small signals and add very little noise to the signal chain. Gain = 12-18 dB typicallyNoise Figure = 1-3 dB typically

A lower noise figure reduces overall system gain and powerLNA must sometimes amplify a weak signal in the presence of a large blocker. So LNA must also have high IP3. Some LNAs have a bypass circuit which is engaged when the input signal is largeLNAs are typically internally matched and specified for a narrow band of operationLNAs are often integrated with a receive mixer in portable applications

Page 14: Wireless Design Seminar 2006

5

AD8353 and AD8354 RF Gain BlocksSilicon Bipolar 50 ohm input & output Gain Blocks

KEY SPECIFICATIONS

Frequency Range: 1MHz to 2.7GHzP1dB: 9dBm / 5dBmOIP3: 23dBm / 19dBmNF: 5dB / 4dBIsupply: 41mA / 23mAPackage: 3mm x 2mm 8-CSP

KEY SPECIFICATIONSKEY SPECIFICATIONS

Frequency Range: 1MHz to 2.7GHzP1dB: 9dBm / 5dBmOIP3: 23dBm / 19dBmNF: 5dB / 4dBIsupply: 41mA / 23mAPackage: 3mm x 2mm 8-CSP

FEATURESFully characterized over frequency rangeFully characterized over temp –40 to +85 °COutput power stable over temperature <1dBExcellent gain stability over temp: < 1dB

FEATURESFEATURESFully characterized over frequency rangeFully characterized over temp –40 to +85 °COutput power stable over temperature <1dBExcellent gain stability over temp: < 1dB

Page 15: Wireless Design Seminar 2006

Slide 5 (of 8)

AD8352 – Lowest Distortion Differential AmplifierHighest Performance Differential ADC Driver on the MarketHighest Performance Differential ADC Driver on the Market

KEY SPECIFICATIONSWide 3dB Bandwidth: 2GHzLow Distortion

10 MHz, -86dBc HD2 -82dBc HD3 70 MHz, -84dBc HD2 -82dBc HD3 190Mhz, -81dBc HD2 -87dBc HD3

High Linearity: Output IP3 +41dBm @ 150MHzLow Input Noise: 2.6nV/√Hz (Gain 10dB)

KEY SPECIFICATIONSKEY SPECIFICATIONSWide 3dB Bandwidth: 2GHzLow Distortion

10 MHz, -86dBc HD2 -82dBc HD3 70 MHz, -84dBc HD2 -82dBc HD3 190Mhz, -81dBc HD2 -87dBc HD3

High Linearity: Output IP3 +41dBm @ 150MHzLow Input Noise: 2.6nV/√Hz (Gain 10dB)

FEATURESSingle Resistor sets Gain 3dB to 21dBSingle Resistor & Capacitor distortion adjustmentSmall 3x3 mm 16-lead LFCSP

FEATURESFEATURESSingle Resistor sets Gain 3dB to 21dBSingle Resistor & Capacitor distortion adjustmentSmall 3x3 mm 16-lead LFCSP

Page 16: Wireless Design Seminar 2006

Slide 2 (of 8)

AD8352 – Superior Distortion SpecsLower Distortion @ Higher Frequencies

The lowest, the best

The highest, the best

Closest competition

Page 17: Wireless Design Seminar 2006

8

ADI 2006 RF Seminar

Receive VGAsReceive VGAs

Page 18: Wireless Design Seminar 2006

9

RF Components – Variable Gain Amplifiers

In Receivers, VGAs adjust gain as received signal strength varies and present a constant signal level to the ADCIn Transmitters, VGAs adjust for gain variations in the signal chain and set the output power to the desired level.Analog vs. Digital Control, Serial Control vs. Parallel Control – choice often depends on control interface that is available in the system.The AGC detector may be in DSP (after an ADC) or hardware or both

a hardware AGC detector has a much faster response timeA receiver with DSP-based AGC can be “blinded” by a strong signal while the system is responding

Page 19: Wireless Design Seminar 2006

10

AD8368 – RF/IF 800MHz Analog VGA

FeaturesSingle ended 50Ω input / output Analog Variable Gain Range: -11 to 22.5dBLinear-in-dB Scaling: ~35dB/VIntegrated RMS AGC Detector Single +5V supply Small 4 x 4 mm 24-lead LFCSP

Specifications Wide 3dB Bandwidth: 800MHzHigh Linearity Output IP3 +34dBm High Output Compression P1dB: +16dBm Low Noise Figure: 8dB max gain

Page 20: Wireless Design Seminar 2006

11

AD8370 Fine Resolution DGA

KEY SPECIFICATIONSBandwidth 750MHzDifferential Input and Output Impedances:

Zin = 200 Ω , Zout = 100ΩP1dB 17dBm (70Mhz)OIP3 35 dBm (70MHz) (1K load)OIP3 31dBm (70 MHz) (100 ohm load)Noise Figure 7dB (max gain)Package 16-TSSOP

KEY SPECIFICATIONSKEY SPECIFICATIONSBandwidth 750MHzDifferential Input and Output Impedances:

Zin = 200 Ω , Zout = 100ΩP1dB 17dBm (70Mhz)OIP3 35 dBm (70MHz) (1K load)OIP3 31dBm (70 MHz) (100 ohm load)Noise Figure 7dB (max gain)Package 16-TSSOP

FEATURESSerial 8-bit digital interface Wide gain control range Linear-in-dB Operation using Look Up TablePower-down feature

FEATURESFEATURESSerial 8-bit digital interface Wide gain control range Linear-in-dB Operation using Look Up TablePower-down feature

Page 21: Wireless Design Seminar 2006

12

AD8370 Fine Resolution DGA: Gain Range

-30

-20

-10

0

10

20

30

40

0 20 40 60 80 100 120 140

Gain Code

Gai

n - d

B

Two Operating Modes, High Gain and Low Gain, set by MSB CodeFine step size at the higher gain settings allows precise signal levelingStep size less than 1dB over-11 to 34dB gain range

High Gain Mode

Low Gain Mode

Page 22: Wireless Design Seminar 2006

13

Gain Control can be made Linear-in-dB using simple look up table

Linear-in-dB Mapping of AD8370 Gain versus Gain Code

-15.0

-10.0

-5.0

0.0

5.0

10.0

15.0

20.0

25.0

30.0

35.0

5 7 10 14 20 28 40 57 80 113 150 159 172 191 217 254Gain Code

Gai

n in

dB

-1.000

-0.800

-0.600

-0.400

-0.200

0.000

0.200

0.400

0.600

0.800

1.000

Gai

n Er

ror (

dB)

True Gain in dBError

AD8370 DGA - Linear-in-dB Gain Code Mapping

Page 23: Wireless Design Seminar 2006

14

Receive Amplifiers – Fixed Gain and Variable Gain

DifferentialADC Driver6.82820LF-700Fixed

GainAD8350

DifferentialADC Driver9.53326LF-1000Fixed

GainAD8351

DifferentialADC Driver15.54124LF - 2000Fixed

GainAD8352

Tx or RxGain Block5.323.6201 to 2700Fixed

GainAD8353

Tx or RxGain Block4.219201 to 2700Fixed

GainAD8354

Single ended input/output834-11 to +22LF to 800

AnalogVariableAD8368

Differential input/output7.4

31(70MHz)

-11 to +17+6 to +34LF to 700

DigitalVariableAD8370

Differential input/output7

19.5(70MHz)-5 to +40LF to 600

DigitalVariableAD8369

Single ended input/output6.2

27.5(70MHz)-2.5 to +42.5dc to 500

AnalogVariable

AD8367

CommentsNoiseFigure(dB)

OutputIP3

(dBm)Gain(dB)

Frequency Range(MHz)

ControlType

Part No.

Page 24: Wireless Design Seminar 2006

15

ADI 2006 RF Seminar

IQ DemodulatorsIQ Demodulators

Page 25: Wireless Design Seminar 2006

16

RF Components – IQ Demodulators

Reverse Function to IQ Modulator – IQ demodulation, extracts digital bits or symbols from a modulated carrier Local Oscillator (from PLL) at the same frequency as the center frequency of the carrier is split into “Quadrature” components of equal amplitude but 90 degrees out of phase Modulated signal is split and multiplied with Quadrature LO components (demodulation) to yield original IQ data/symbolsFor QPSK, digital data can be extracted using I and Q comparatorsFor QAM, an ADC must be used to extract digital dataSome IQ Demodulators have variable gain amplifiers at input and/or output

RF/IF IN

LO IN

I Output

Q Output

Page 26: Wireless Design Seminar 2006

17

RF Components – IQ Demodulators

Critical IQ Demodulator SpecificationsNoise Figure – determines achievable sensitivity of receiverInput IP3 – determines maximum acceptable input signal and/or blockerI and Q output bandwidth – determines maximum receivable bandwidth and symbol rateLO to RF leakage – generates output dc offsets which add to I and Q outputsRequired LO Drive level – Lower LO input power results in less leakageIIP3 – low IIP3 can cause blockers to intermodulate and produce distortion at the carrier frequency, reducing receiver sensitivityIP2 – low IIP2 will cause RF Input to intermodulate with itself and produce unwanted dc offsets at output

RF IN

LO IN

I Out

Q Out

Page 27: Wireless Design Seminar 2006

18

LO to RF Leakage Causes Self-Mixing and DC Offset Voltages at I and Q Outputs

Big Problem in Direct Conversion Receivers

RF IN

LO IN

I Out

Q Out

LOGEN

LNA DC Offsets

Page 28: Wireless Design Seminar 2006

19

Solution – Monitor and Null out DC Offsets at Baseband

RF IN

LO IN

LOGEN

LNA

Page 29: Wireless Design Seminar 2006

20

KEY SPECIFICATIONSFrequency Range 50MHz to 1000MHzAccuracy

Phase accuracy 0.5°Amplitude balance 0.25 dB

Demodulation bandwidth 75 MHz IIP3 +28 dBm @ min gainIIP3 –8 dBm @ max gainAmplitude balance 0.25 dB Noise figure 11 dB @ max gain Package 28-lead TSSOP

KEY SPECIFICATIONSKEY SPECIFICATIONSFrequency Range 50MHz to 1000MHzAccuracy

Phase accuracy 0.5°Amplitude balance 0.25 dB

Demodulation bandwidth 75 MHz IIP3 +28 dBm @ min gainIIP3 –8 dBm @ max gainAmplitude balance 0.25 dB Noise figure 11 dB @ max gain Package 28-lead TSSOP

FEATURESIntegrated I/Q demodulator with IF VGA amplifierLinear-in-dB AGC range 44 dB Power-Down ModeIntegrated DC offset-nulling

FEATURESFEATURESIntegrated I/Q demodulator with IF VGA amplifierLinear-in-dB AGC range 44 dB Power-Down ModeIntegrated DC offset-nulling

AD8348 I/Q Demodulator

Page 30: Wireless Design Seminar 2006

21

ADI 2006 RF Seminar

ADCsADCs

Page 31: Wireless Design Seminar 2006

22

RF Components – ADCs

Baseband ADCs (usually sold as duals) sample QAM outputs from an IQ demodulator.

Higher order modulation schemes → higher resolution ADCsHigher ADC resolution → lower noise → increased sensitivityHigher symbol rates → higher ADC sampling rates

IF Sampling ADCs capture signal at Intermediate Frequency and mix it down into the first Nyquist band.

Require high input (analog) bandwidth typically more expensive than baseband ADCseliminate down conversion analog circuitry (PLL, Mixer)

Page 32: Wireless Design Seminar 2006

1

ADI 2006 RF Seminar

Chapter IIIRF/IF Components and Specifications for

Transmitters

Chapter IIIRF/IF Components and Specifications for

Transmitters

Page 33: Wireless Design Seminar 2006

2

RF/IF Components and Specifications for Transmitters

Transmit DACsIQ ModulatorsAmplifiersSynthesizersRF Power DetectorsGain/Phase DetectorsVector Modulators

Page 34: Wireless Design Seminar 2006

3

Transmit DACs

Baseband DACS (usually sold in duals) generate baseband modulated drive signals for IQ Modulators

Higher order modulation schemes → higher resolution DACsHigher symbol rates → higher DAC sampling rates

IF Synthesizing DACS digitally up convert the baseband signal and produce a low Intermediate Frequency either in real form (single DAC) or in complex form (dual DAC)

IF Synthesizing DACs → higher performance than Baseband DACsEliminate the need for one PLL and one mixerProduce better modulation quality (lower EVM)

Page 35: Wireless Design Seminar 2006

4

ADI 2006 RF Seminar

IQ ModulatorsIQ Modulators

Page 36: Wireless Design Seminar 2006

5

RF Components – IQ Modulators

An un-Modulated Sinewave drives LO input (from PLL). LO is split into “Quadrature” components of equal amplitude but 90 degrees out of phase I and Q drive signals are multiplied by LO Quadrature Components and then combined to make IF or RF outputThe phase and amplitude of the output carrier can be adjusted continuously if the amplitude of the I and Q signals is varied (vector modulation)For QPSK Modulation, input to I and Q can be a (filtered) Digital Bit Streams of +1 and -1 (not 1 and 0) For QAM Modulation, I and Q will be multi-level (driven from DAC)

90

0

Q IN

I IN

LO RF OUT

Page 37: Wireless Design Seminar 2006

6

RF Components – IQ Modulators

90

0

Q IN

I IN

LO RF OUT

Critical IQ Mod SpecificationsBaseband Bandwidth – higher bandwidth allows higher data rateOutput Compression Point and Noise Floor – set SNRQuadrature balance of LO Splitter – affects EVMAmplitude balance of LO Splitter – affects EVMLO to RF Out Leakage – adds unwanted component to modulated signal and degrades EVM (is caused by offset voltages on I and Q inputs)Amplitude Balance of I and Q Channels – affects EVMIP2 and IP3 – determine distortion Products that appear in adjacent channels.Amplitude and phase imbalance of any signals affects image suppression in image-reject upconverter

Page 38: Wireless Design Seminar 2006

7

Quadrature Modulation Refresher

RF(t)=A(t)cos(ωct+θ(t)) = I(t)cosωct + Q(t)sinωct

Baseband Data

Bit to Symbol Encoder

DAC

DAC

Σ090

Pulse Shaping

FilterRF(t)

Polar representation Cartesian representation

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

IIout

1, m

V

1 . 51 . 0 2 . 0

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

t i m e , m s e c

QQ

out1

, mV

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

IIout

1, m

V

1 . 51 . 0 2 . 0

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

t i m e , m s e c

QQ

out1

, mV

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

IIout

3, m

V

1 . 8 2 91 . 3 2 9 2 . 3 2 9

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

t i m e , m s e c

QQ

out3

, mV

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

IIout

3, m

V

1 . 8 2 91 . 3 2 9 2 . 3 2 9

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

t i m e , m s e c

QQ

out3

, mV

1 . 51 . 0 2 . 0

- 6 0 0

- 4 0 0

- 2 0 0

0

2 0 0

4 0 0

6 0 0

- 8 0 0

8 0 0

t i m e , m s e c

Dat

aOut

, mV

69.90 69.95 70.00 70.05 70.1069.85 70.15

-120

-100

-80

-60

-40

-20

-140

0

freq, MHz

dBm

(Mod

_Spe

ctru

m)

Page 39: Wireless Design Seminar 2006

8

Example - Digital Modulation - QPSK

In Practice bit stream is low pass filtered before modulation to limit the bandwidth of the modulated spectrum

90°CW

Input Data

Multiplier

Multiplier

1

-1

1

-1

time

90°

180°

270°

0°Σ

1AVG

RBW 30 kHz

VBW 30 kHz

SWT 76 ms

TRG

A

Unit dBm

360 kHz/Center 900 MHz Span 3.6 MHz

1SA

SGL

Ref Lvl

35 dBm

Ref Lvl

35 dBm

RF Att 30 dB

-60

-50

-40

-30

-20

-10

0

10

20

30

-65

35

11

Delta 1 [T1 FXD]

0.50 dB

-25.25050100 kHz

LIMIT CHECK : PASSED

FXD

FXD 27.032 dBm

XG_MM35

Date: 6.SEP.2002 21:25:38

2 bits/symbol

Page 40: Wireless Design Seminar 2006

9

Digital Phase Modulation Schemes

Higher Order Modulation Schemes → Higher Data Rate. But Symbols are closer together → Requires higher Signal-to-Noise Ratio for demodulationIncreasing “Symbol Rate” increases data rate but widens Spectrum

8-PSK – 3 bits/symbol

m=8, n=3

16 QAM – 4 bits/symbol

m=16, n=4

64 QAM – 6 bits/symbol

m=64, n=8

QPSK- 2 bits/symbol

m=4, n=2

BPSK – 1 bit/symbol

m=2, n=1

Page 41: Wireless Design Seminar 2006

10

90

0

Q IN

I IN

LO

RF Out

Vout = Cos(ω1t)Cos(ω2t) + Sin(ω2t)Sin(ω1t)

= Cos((ω1-ω2)t)

Cos(ω2t)

Sin(ω2t)

Cos((ω1-ω2)t)

Cos(ω1t)

Symbolic Representation of Quadrature Modulator

•Local Oscillator signal is split into quadrature components•Mix with quadrature baseband components and you get a single tone at the difference frequency (w1 -w2)

Page 42: Wireless Design Seminar 2006

11

Q IN

I IN

LO

RF Out

+ LO Leakage + Unwanted Sideband

Vos

Vos

Vout = (Cos(ω2t)+Vos)Cos(ω1t+φ) + (Sin(ω2t)-Vos)Sin(ω1t-φ) =

Cos(ω1t)

Cos(ω2t)

Sin(ω2t)

Cos((ω1-ω2)t)

90-φ

0+φ

= Cos((ω2−ω1)t - φ) + Cos((ω2−ω1)t + φ) +

Vos(Cos(ω1t + φ) - Sin(ω1t - φ)) +

Cos((ω2+ω1)t + φ) - Cos((ω2+ω1)t - φ)

2

2

Symbolic Representation of Quadrature Modulator with Errors and Baseband Offset Errors

LO LeakageUnwanted Upper Sideband

•Baseband amplitude, offset and phase errors along with LO quadrature errors will produce unwanted components at the LO andimage frequencies

Lower Sideband

Page 43: Wireless Design Seminar 2006

12

•Baseband Offset Compensation can be used to remove LO Leakage•To remove upper sideband, baseband amplitude and phase compensation is required.•2nd and 3rd order harmonics cannot be easily removed•While Single Sideband Modulation is not used in end-applications, an SSB spectrum gives valuable information about the quality of the WCDMA, CDMA, GMSK, etc spectrum•Excessive LO leakage, Sideband Leakage and harmonics will increase Error Vector Magnitude (EVM)

Upconverted Single Side Band Signal with Lo Leakage and upper Sideband Leakage

Page 44: Wireless Design Seminar 2006

13

2110 MHz 2170 MHz

ChannelPower

AdjacentChannel

Power

AdjacentChannelPower

In-BandNoise F loorOut -of -Band

Noise F loor Band-PassFilter

Modulator Noise Floor

•Noise of a modulator is typically specified in dBm/Hz (output referred)•Noise (dBm) = Noise floor + 10 log(RBW)•e.g. Noise Floor of –150 dBm/Hz becomes –90 dBm when measured in a 1 MHz Resolution Bandwidth•In-Band Noise cannot be filtered in a Direct Conversion Architecture (Zero IF or Low IF)•Direct Conversion Modulators must be designed for high output power, low distortion and low noise floor•GSM spec calls for a noise floor of –36 dBm (peak-hold, in 100 KHz BW) at the antenna.•Toughest WCDMA spec calls for –30 dBm (in 1MHz BW) noise floor at the antenna•CDMA calls for <-13 dBm dBm (in 1 MHz BW) at either 4 MHz (cell band) or 2.25 MHz (PCS band) carrier offset.•Need to know how much gain (and noise) comes after the modulator to relate modulator noise specs to system requirement

Page 45: Wireless Design Seminar 2006

14

FEATURESMatched 50 ohm output TxDAC compatible base band inputsOutput disable function

FEATURESFEATURESMatched 50 ohm output TxDAC compatible base band inputsOutput disable function

KEY SPECIFICATIONSFrequency Range: 700 to 2700 MHz Modulation Bandwidth DC-160MhzAccuracy:

Phase Error: 0.7°Amplitude Error: 0.1dB

Sideband Suppression -40dBcNoise Floor -156dBm/HzP1dB 7.6 dBm (1900MHz)Package 16-TSSOP

KEY SPECIFICATIONSKEY SPECIFICATIONSFrequency Range: 700 to 2700 MHz Modulation Bandwidth DC-160MhzAccuracy:

Phase Error: 0.7°Amplitude Error: 0.1dB

Sideband Suppression -40dBcNoise Floor -156dBm/HzP1dB 7.6 dBm (1900MHz)Package 16-TSSOP

AD8349 Direct I/Q Modulator

Page 46: Wireless Design Seminar 2006

15

Direct Conversion I/Q Modulators

Loin50Ω

QIP QIN IIP IIN

CML LOP CMSLON CML CMS

COM COMCOM

COM

ENOP

VPL

VPL

VPL OUT

VPA

VPA

VPA

VPB

VPB

0/90o

5V

5V

RFout50Ω

Qin0.5V±0.5V

Iin0.5V±0.5V

“FMOD” Family of I/Q ModulatorsADL5370 250MHz – 1.3GHz

ADL5371 700MHz – 1.3GHz

ADL5372 1.6GHz – 2.4GHz

ADL5373 2.4GHz – 2.7GHz

ADL5374 3.3GHz – 3.8GHz

OIP3: 24dBm

Output Noise: -158dBm/Hz

OP1dB: 11dBm

Sideband Rejection: >40dBc

LO leakage: <-40dBm

LO power: 0dBm

I/Q Bandwidth: >500MHz

DC power: 5V, 190mA

Page 47: Wireless Design Seminar 2006

16

I/Q Modulators

24-LeadLFCSP190+11-158-40-40500250-

3800ADL5370-

74*

24-LeadLFCSP250+9-158-40-4170050 to

1000ADL5385*

16-lead TSSOP1356-156-43-42160700 to

2700AD8349

24-LeadLFCSP130+13-150N/AN/A23020 to

2400ADL5390

16-lead TSSOP45-3-147-36-4270800 to

2500AD8346

16-lead TSSOP652.5-155-42-4280140 to

1000AD8345

PackagePowerSupply(mA)

P1dB(dBm)

Noise Floor

(dBm/Hz)

SidebandSuppress

(dBc)

CarrierSuppress

(dBm)

IQ Bandwidth

(MHz)

RF Freq(MHz)

Part No.

* Preliminary Data

Page 48: Wireless Design Seminar 2006

17

ADI 2006 RF Seminar

AmplifiersAmplifiers

Page 49: Wireless Design Seminar 2006

18

RF Components – Amplifiers

RF Amps Input and Output Impedance is 50-1000 ΩFixed or Variable GainSpecify Noise as Noise Figure (dB)Specify power-handling capability as P1dBSpecify Intermodulation Distortion as IP2 and IP3

Op AmpsHigh Input ImpedanceVery Low Output ImpedanceGain set using FeedbackSpecify Noise in nV/√HzSpecify Voltage Swing (rail-to-rail, etc.)Specify Harmonic Distortion in dBc

Page 50: Wireless Design Seminar 2006

19

Intermodulation Distortion*

IMD products are produced by all active components (mixers, amps, ADCs, DACs) Third Order IMD Products (close to carrier, nF1+-mF2, n+m=3) are most troublesome

In Transmitters: IMD causes interference in adjacent channelsIn Receivers: Blocker inter-mod products can fall on the desired signal and de-sensitize the receiver

Second Order IMD Products (F2-F1, n=m=1) cause problems in Direct Conversion Receivers

Example: Two RF tones 20 kHz apart produce a 20 kHz product at basebandTwo-Tone test is commonly used to predict behavior

AMP

F1 F2 F1 F2

2F2-F12F1-F2

2F1 2F2

F1+F2F2-F1

2nd

3rd

2 tones 2nd harmonics

2nd

Page 51: Wireless Design Seminar 2006

20

NoiseA background noise power of -174 dBm/Hz is present at every point in a signal chainNF = Noise Figure (dB) = 10 log (Noise Factor)Noise Power: P = kT (Watts)

k = 1.38 x 10-23 J/K (Boltzman’s constant)T = Kelvin Temperature 298K (25 degC)

Noise Power (dBm) = 10 log (kT/1mW) = 10 log kT + 30 = -173.9 dBm ≈ -174 dBm

Noise in a bandwidth B in Hz = -174 dBm/Hz + 10 log B

Noise Floor, or minimum discernable signal (MDS)= -174 dBm + 10 log B + NF

Receiver Sensitivity for demodulation at a given carrier to noise (C/N) ratio

= -174 dBm + 10 log B + NF + C/N This is the customer’s design specification!

Page 52: Wireless Design Seminar 2006

21

Noise & IP3 combine to yield Spurious Free Dynamic Range (SFDR)

Bottom end of SFDR is defined by the required signal-to-noise ratio (to demodulate signal)Top end of SFDR is defined by point at which IMD products become equal to noise floorSFDR is defined differently for ADCs and DACs

Required SNR

SFDR

[ ]FloorNoiseIPSFDR −= 332

Page 53: Wireless Design Seminar 2006

22

ADL5322/5323 1/2W Driver Amplifiers

GaAs-based PA drivers with internal matching.Operating Frequencies 700-1000 MHz, 1700-2400 MHzGain: 20 dBGain Stable vs. Temp (±0.5dB) and Freq (±0.25dB in-band)OIP3: +40/42 dBmOP1dB: +27 dBmNoise Figure: 4.3/5.1 dB

5VCC

6

7

8

RFOUT

2 VCC

1 VCCADL5322

RFIN

3

4Bias control

Input

Match

Output M at chGND

GND

GND

Page 54: Wireless Design Seminar 2006

23

ADL5323 Single Carrier ACPR

Low and Noise and Low Distortion results in very low Adjacent Channel Power LeakageReducing Output Power will improve Distortion but will degrade SNR

Page 55: Wireless Design Seminar 2006

24

ADL5330 1MHz to 3GHz Variable Gain Amplifier

KEY SPECIFICATIONS

Frequency Range 1MHz to 3GHzOIP3 31 dBm @ 900 MHz Output Noise Floor -150 dBm/Hz 50Ω Differential or Single-Ended InputGain Control Range: -34 dB to +22 dB @ 900 MHzPackage 4x4mm 24-LFCSP

KEY SPECIFICATIONSKEY SPECIFICATIONS

Frequency Range 1MHz to 3GHzOIP3 31 dBm @ 900 MHz Output Noise Floor -150 dBm/Hz 50Ω Differential or Single-Ended InputGain Control Range: -34 dB to +22 dB @ 900 MHzPackage 4x4mm 24-LFCSP

FEATURESVoltage-Controlled Amplifier/AttenuatorOptimized for Controlling Output PowerFully-Balanced Differential Signal PathLinear-in-dB Gain Control Function, 20 mV/dB

FEATURESFEATURESVoltage-Controlled Amplifier/AttenuatorOptimized for Controlling Output PowerFully-Balanced Differential Signal PathLinear-in-dB Gain Control Function, 20 mV/dB

Page 56: Wireless Design Seminar 2006

25

ADL5330: 1MHz to 3GHz VGAGain vs. Gain Control Voltage

-40

-30

-20

-10

0

10

20

30

40

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6Vgain - Volts

Gai

n - d

B

100 MHz900 MHz1900 MHz2200 MHz

Page 57: Wireless Design Seminar 2006

26

ADL5330: 1MHz to 3GHz VGAOIP3, P1dB and Noise Floor vs. Gain @ 900 MHz

Page 58: Wireless Design Seminar 2006

27

RF/IF Transmit Amplifiers

Tx VGA82231-34 to +221-3000ADL5330

Matched Driver Amp4.32740201700-2400ADL5323

Rx or Tx4.24.8 (900

MHz)19201 to 2700AD8354

Matched Driver Amp5.1274220700-1000ADL5322

Rx or Tx5.39.1 (900

MHz)23.6201 to 2700AD8353

Comments

Noise Figure (dB)

Output P1dB (dBm)

Output IP3 (dBm)Gain (dB)

Freq Range (MHz)Part#

Page 59: Wireless Design Seminar 2006

28

ADI 2006 RF Seminar

Oscillators and PLLsOscillators and PLLs

Page 60: Wireless Design Seminar 2006

29

RF Components – Oscillators and PLLs

Phase Locked Loops convert a reference frequency fREF to a higher frequency f0, which is highly stable Integer-N PLLs produce an output frequency that is an integer multiple of the reference frequencyFractional-N PLLs can produce an output which is not an integer multiple of the reference frequency (N can now have a fractional component)Phase noise and lock time are a PLL’s most critical specificationsOutput frequency is generated by a Voltage Controlled Oscillator (VCO) which may be integrated with the PLL (ADF4360) at the cost of degraded phase noise

fLO

Phase Noise

fREF/R = f0/N

Page 61: Wireless Design Seminar 2006

30

LO

RF IF

fRF

fLO

fIF

WantedSignal

Blocker

Strong blocker is modulated by phase noise of LO and interferes with desired signal

Why is PLL phase noise so important?

Reciprocal mixing occurs when the phase noise (side-skirts) of the LO mixes with an unwanted signal and produces an unwanted interference on top of the desired signal

Phase Noise

Page 62: Wireless Design Seminar 2006

31

LO

RF IF

fRF

fLO

fIF

WantedSignal

Strong blocker is modulated by phase noise of LO and interferes with desiresignal

Phase noise vs. Thermal noise

Phase noise “spreads” the desired carrier and is usually specified in dBc/Hz at a particular offset from the LO (usually 1 or 10 KHz)Background or Thermal noise which is present at all points in the signal chain will be amplified if there is gain in the signal chain. Amplifier/Mixer Noise Figure will add additional noise to the output of the signal chain (see slide 26). This resulting noise is usually specified in dBm/Hz.

Thermal and

Device Noise

(dBm/Hz)

10dB

Phase Noise (dBc)

Page 63: Wireless Design Seminar 2006

32

ADI 2006 RF Seminar

RF Power DetectorsRF Power Detectors

Page 64: Wireless Design Seminar 2006

33

Why measure RF/IF power?

Thermal Dimensioning (mostly HPA)Signal Leveling in receivers (high precision generally not required, usually done at IF)Set mobile’s power level (RSSI measurement in BTS receiver)Prevent interference with other systems and other users in same cell (mobile handset).Improve mobile talk time (operate at low end of permissible range, reduce SAR).Improve network robustness (operate at high end of permissible range).

Page 65: Wireless Design Seminar 2006

34

Transmit Power Measurement/Control Options

RFINPUT

DAC

IF SAMPLINGADC

DSP

or

uController

PLL

MIXER

SAW

RFDETECT

RFINPUT

SETPOINTINPUT

DAC

RFDETECT

RFINPUT

DAC

ADC

DSP

or

uController

RFINPUT

DAC

DSP

or

uController

DUPL

RECEIVER

RSSIOUTPUT

BASEBANDOUTPUT

ADC

ADC

(a) (b)

(c) (d)

Page 66: Wireless Design Seminar 2006

35

Receiver Power Measurement/Control Options

ADC

ADCAD8361/62AD8318/14

LO2

ADC

AD8361LO2

AD8367

∫Vagc

Vgain for RSSI

Measure received power to ensure that the received signal is not too big or not too small when it reaches the end of the signal chainPrecision requirements for detectors in receivers are generally not as critical as in transmitters

Received Power Measurement Received Power Control

Page 67: Wireless Design Seminar 2006

36

RF Detectors – Critical Specifications

Linearity and Temperature Stability of OutputDynamic RangePulse Response Variations due to Power Supply and Frequency ChangesEase of Use and CalibrationChange in response vs. signal crest factorSize and overall Component Count

Page 68: Wireless Design Seminar 2006

37

ADI 2006 RF Seminar

RF Power Measurement TechniquesRF Power Measurement Techniques

Page 69: Wireless Design Seminar 2006

38

Power Measurement TechniquesDiode Detection

6 8Ω

D1

100pF R1

R F I N V o u t

Source: “A Supressed Harmonic Power Detector for Dual Band Phones” Alan Rixon and Raymond Waugh “Applied Microwave and Wireless”, November 1999

Page 70: Wireless Design Seminar 2006

39

Transfer Function of Diode Detector

Vout vs. Pinput

0.00001

0.0001

0.001

0.01

0.1

1

10

-25 -20 -15 -10 -5 0 5 10 15 20 25

Pinput-dBm

Vout

-Vol

ts

-25 deg C 25 deg c +85 deg C -30 DEG C -40 DEG C

Page 71: Wireless Design Seminar 2006

40

Diode Detector with Temperature Compensation

68Ω

D1

100pF

R1R F I N V o u t

R2

D2

Source: “A Supressed Harmonic Power Detector for Dual Band Phones” Alan Rixon and Raymond Waugh “Applied Microwave and Wireless”, November 1999

Page 72: Wireless Design Seminar 2006

41

-3

-2.5

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

2.5

3

-20 -10 0 10 20

Pin - dBm

Erro

r-dB

0.01

0.1

1

10

Vout

- Vo

lts

-40 degC

+85 degC

+25 degC

Transfer Function of Temperature Compensated Diode Detector

• Excellent temperature stability at high power•Limited Dynamic Range and poor low end temp. stability•High Resolution ADC required for low end power measurement•Lots of patented techniques which probably improve this performance

Page 73: Wireless Design Seminar 2006

42

Thermal Detection

V I N

H E A T E RP R O T E C T I O N

H E A T E RP R O T E C T I O N

T H E R M A LB A R R I E R

V O U T

K V I N K V O U T

R 2S 2S 1R 1

A 1

A 2

Technique is mostly confined to Instrumentation Applications

Page 74: Wireless Design Seminar 2006

43

ADI 2006 RF Seminar

Logarithmic AmplifiersLogarithmic Amplifiers

Page 75: Wireless Design Seminar 2006

44

Log Amp Transfer Function in Time Domain

Page 76: Wireless Design Seminar 2006

45

Log Amp Transfer Function - Slope and Intercept

INPUT AM PLITUDE – dBm

2.0

–70

1.81.61.4

1.21.00.80.60.40.20

–60 –50 –40 –30 –20 –10 0 10

V S = +5 V5

4321

0–1–2–3–4–5

ERRO

R – dB+25 degC

+85 degC

–40 degCV ou

t - Volts

–80–90–100

Slope = (VO2-VO1)/(PI2-PI1)

Intercept = PI1 - VO1/Slope

Vout = Slope(Pin-Intercept)

Pin = (Vout/Slope) + Intercept

Intercept

Slope

Page 77: Wireless Design Seminar 2006

46

RF Power Detector Calibration

VOUT1

VOUT2

PIN1PIN2

VOUTIDEAL = SLOPE x (PIN - INTERCEPT)

SLOPE = (VOUT1-VOUT2)/(PIN1-PIN2)

INTERCEPT = PIN1-(VOUT1/SLOPE)

Error (dB) = (VOUT-VOUTIDEAL)/SLOPE

INTERCEPT

Page 78: Wireless Design Seminar 2006

47

±1 dB Dynamic Range

55 dB Dynamic Range

Temperature Drift can reduce Dynamic Range

Page 79: Wireless Design Seminar 2006

48

Detector Calibration Procedure

Factory Calibration: Using a precise power source, measure output voltage from the detector with two known input powers at top and bottom of desired input rangePerform calibration measurements only at room temperatureCalculate SLOPE and INTERCEPT and store in non-volatile memoryWhen equipment is in operation measure detector output voltage using ADCCalculate power using “Pin = (Vout/Slope) + Intercept”No temperature compensation necessary

Page 80: Wireless Design Seminar 2006

49

Adjust Calibration Points for optimal accuracy over a narrow range

Calibrate for highest accuracy at max RF power and degraded accuracy at lower powers

VOUT1

VOUT2

PIN1PIN2

Page 81: Wireless Design Seminar 2006

50

Temperature drift vs. Output Voltage at 25ºC

Calibration eliminates error due to non-linearity at 25 ºC

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

2.2

-65 -60 -55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5Pin-dBm

Vout

- Vo

lts

-2.5

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

2.5

Erro

r - d

B

Vout +25 degCVout -40 degCVout +85 degCError +25 degCError -40 degCError +85 degC

Page 82: Wireless Design Seminar 2006

51

Temperature drift vs. Output Voltage at 25ºC

Removes error due to non-linearity at 25ºCProvides larger dynamic range and improved accuracyMethod however does not account for non-linearity in the transfer function at room temperatureFor practical implementation, calibration measurements must be taken at multiple input powers (multi-point calibration vs. 2-point calibration)

Page 83: Wireless Design Seminar 2006

52

AD8318: Highest Performance Log Amp

KEY SPECIFICATIONSBandwidth 1MHz to 8GhzStability over temperature: ±0.5 dBPulse response time 10 nsPackage: 4mm×4mm, 16-pin LFCSP

KEY SPECIFICATIONSKEY SPECIFICATIONSBandwidth 1MHz to 8GhzStability over temperature: ±0.5 dBPulse response time 10 nsPackage: 4mm×4mm, 16-pin LFCSP

FEATURESIntegrated temperature sensorLow noise measurement/controller output VOUTPower-down feature: <1.5 mW at 5 VFabricated using high speed SiGe process

FEATURESFEATURESIntegrated temperature sensorLow noise measurement/controller output VOUTPower-down feature: <1.5 mW at 5 VFabricated using high speed SiGe process

Page 84: Wireless Design Seminar 2006

53

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

2.2

-65 -60 -55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5

PIN - dBm

V OU

T - V

olts

-2.5

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

2.5

Erro

r - d

B

Vout +25 degC

Vout +85 degC

Vout -40 degC

Error +25 degC

Error +85 degC

Error -40 degC

AD8318 High Performance Log Amp< ±0.5 dB accuracy over temperature

HIGH Linearity OVER 55dB

5.8 GHz

Page 85: Wireless Design Seminar 2006

54

Log Amp Pulse Response Time10ns Response Time (10% - 90%)

Page 86: Wireless Design Seminar 2006

55

Typical and Maximum Errors vs. Temperature

Production testing of drift over temperature is generally not economical for IC manufacture (or for end equipment manufacture)Guaranteed-not-Tested (GNT) specs rely too much on statistics and are much too conservativeSolution: Show performance data from multiple devices drawn from multiple factory lots

Page 87: Wireless Design Seminar 2006

56

Typical and Maximum Errors vs. Temperature

Page 88: Wireless Design Seminar 2006

57

Log Amp Detectors vs. Diode Detectors

6 8Ω

D1

100pF R1

R F I N V o u t

LOG

0

0.5

1

1.5

2

2.5

-70

-55

-40

-25

-10 5 20

Input Power (dBm)

Vol

tage

Out

Page 89: Wireless Design Seminar 2006

58

Log Amp Detectors vs. Diode Detectors

Log Amps have a higher dynamic range (40 dB or greater vs. 20-30 dB for a diode detector)Log Amps provide good temperature stability over a wide dynamic range.Diode detectors only provide good temperature stability at max input power (typically +15 dBm)

Page 90: Wireless Design Seminar 2006

59

Log Amp Detectors

DualPower and Gain

Detection

24-LEADLFCSP8±0.5501 to 10000ADL5519

DualGain and Phase

Detection

14-LEADTSSOP50±160LF to 2700AD8302

8-LEAD3x2 mm

CSP5±0.5401 to 10000AD8319

8-LEAD3x2 mm

CSP5±0.5501 to 10000AD8317

16-LEAD3x3 mm

CSP8±0.5601 to 8000AD8318

8-lead MSOP15±195dc to 440AD8310

Amplitude and Limiter Outputs

16-lead TSSOP67±11005 to 500AD8309

CommentsPackageResponseTime (ns)

TempDrift(dB)

DynamicRange(dB)

RFFreq

(MHz)Part No.

Page 91: Wireless Design Seminar 2006

60

Log Amps - Summary

Provide power detection over large dynamic range (up to 100 dB)Operation from DC to 10 GHzWith 2-Point Calibration, measurement accuracy of << ±1 dB is achievable.Devices are generally configured to provide a broadband 50 Ω matchPulse Response times of <10 ns are achievable.Power consumption varies from 5 mA to 70 mA

Page 92: Wireless Design Seminar 2006

61

ADI 2006 RF Seminar

RMS-RespondingRF Detectors

RMS-RespondingRF Detectors

Page 93: Wireless Design Seminar 2006

62

Response of a Successive Detection Log Amp to Varying Signals with Various Crest Factors

0

0.2

0.4

0.6

0.8

1

1.2

-45 -35 -25 -15 -5

Pin-dBm

Vout

- Vo

lts

-3.0

-2.0

-1.0

0.0

1.0

2.0

3.0

Erro

r - d

B

Page 94: Wireless Design Seminar 2006

63

Using a Successive Detection Log Amp to Measure Signals with Varying Crest Factors

Successive Detection Log Amps produce varying output voltages with varying crest factorsIntercept varies but slope is unaffectedNot an issue in systems with constant crest factorIf the system knows which signal types are being transmitted, a correction factor (from a look-up table) can be applied.If the crest factor of the signal is unknown, an RMS-responding detector must be used.

Page 95: Wireless Design Seminar 2006

64

An RMS-Responding RF Detector

X2 +

OUTPUT DCBIAS CONTROL

X2

POWERUP/DOWN AD8361

VPOS

IREF

RFIN

PWDN

SREF

VRMS

FLTR

COMM

50 pF

R

6.4R

Page 96: Wireless Design Seminar 2006

65

Transfer Function and Temperature Drift of AD8361 RMS-To-DC Converter

Output Voltage increases exponentially as input increases in dB (i.e. response is linear in V/V, not logarithmicDevice achieves best temperature stability at max power (desirable for most applications)

Page 97: Wireless Design Seminar 2006

66

ADL5501 RMS / TruPwr DetectorLinear in Volts+/- 0.25dB accuracy and temperature stability +/- 0.1dB accuracy and temperature stability at the top end of the input power range where it counts most.100 MHz to 4.0GHzSC-70 PackageIdeal for Measuring Complex Waveforms with varying crest factors (WCDMA, HSDPA, HSUPA, CDMA2000, TD-SCDMA, WiMax).

RFIN

BUFFER

VPOS

VRMS

COMM

ERRORAMP

x2

x2i

i

TRANS-CONDUCTANCECELLS

ADL5501

100O

INTERNAL FILTERCAPACITOR

FLTR

BAND-GAPREFERENCE ENBL

Page 98: Wireless Design Seminar 2006

67

Log Amps vs. Low Range RMS-to-DC Detector

0

1

2

3

4

5

6

-70 -60 -50 -40 -30 -20 -10 0 10 20

Input Power (dBm)

Volta

ge O

utRMS

LOGRFIN

Vout

Page 99: Wireless Design Seminar 2006

68

Log Amps vs. Low Range RMS-to-DC Detector

Log Amps have higher dynamic range but rms-to-dc converters have more resolution at the high end. Measurement precision is often most critical at high output power (Emissions Regulations, SAR, etc.)Log Amps consume constant supply current independent of input level. RMS-to-DC converters supply current increases with input signal power.

Page 100: Wireless Design Seminar 2006

69

ADI 2006 RF Seminar

High Dynamic Range RMS Detection

High Dynamic Range RMS Detection

Page 101: Wireless Design Seminar 2006

70

AD8362 60 dB TruPwr ™ RMS Detector

FEATURESTrue RMS responding power detectorWaveform and Modulation IndependentLinear-in-dB output

FEATURESFEATURESTrue RMS responding power detectorWaveform and Modulation IndependentLinear-in-dB output

KEY SPECIFICATIONSDynamic Range: >60dBTemperature Stability: +/-1dBFrequency Range: LF to 2.7GHzPackage: 16 Lead TSSOP

KEY SPECIFICATIONSKEY SPECIFICATIONSDynamic Range: >60dBTemperature Stability: +/-1dBFrequency Range: LF to 2.7GHzPackage: 16 Lead TSSOP

Page 102: Wireless Design Seminar 2006

71

Response of AD8362 RMS Detector to CW, QPSK and QAM Signals

@1.9 GHz, @1.9 GHz, VtgtVtgt = 0.625 V = 0.625 V

0

0.5

1

1.5

2

2.5

3

3.5

4

-70 -60 -50 -40 -30 -20 -10 0 10 20

Pin (dBm)

Vout

(V)

-4

-3

-2

-1

0

1

2

3

4

Erro

r (d

B)

Vout CWVout QPSKVout 64QAMVout 256QAMVout WCDMA TM1-64Error CWError QPSK 4dB CFError 64QAM 7.7dB CFError 256QAM 8.2dB CFError WCDMA TM1-64 10.6dB CF

Page 103: Wireless Design Seminar 2006

72

AD8364 Dual Channel TruPwr ™ Detector

FEATURESDual channel and Difference Output PortsIntegrated accurately scaled Temperature Sensor Linear-in-dB output

FEATURESFEATURESDual channel and Difference Output PortsIntegrated accurately scaled Temperature Sensor Linear-in-dB output

KEY SPECIFICATIONSDynamic Range: >60dBTemperature Stability: +/-0.5dBFrequency Range: LF to 2.7GHzPackage: 5x5mm 32 Lead LFCSP

KEY SPECIFICATIONSKEY SPECIFICATIONSDynamic Range: >60dBTemperature Stability: +/-0.5dBFrequency Range: LF to 2.7GHzPackage: 5x5mm 32 Lead LFCSP

Page 104: Wireless Design Seminar 2006

73

AD8364 RMS-DC Accuracy @ 2140 MHz-40 degC to +85 degC

0

0.5

1

1.5

2

2.5

3

3.5

4

-60 -55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15

Pin (dBm)

Vout

(V)

-4

-3

-2

-1

0

1

2

3

4

Erro

r(dB

)

Vout 25deg

Vout -40deg

Vo +85deg

Error +25deg

Error -40deg

Error +85deg

Page 105: Wireless Design Seminar 2006

74

TruPwr™ RMS DetectorsModulation Independent RF Measurements

6-Lead SC-7012.7 to 5.5±0.25304000ADL5501

2700

2700

2500

RF Freq(MHz)

16-Lead SOP204.5 to 5.5±160AD8362

32-Lead LFCSP724.5 to 5.5±0.560AD8364

(Dual Channel)

6-Lead SOT-238-Lead uSOIC1.12.7 to 5.5±0.2530AD8361

Package

SupplyCurrent

(mA)Voltage

Supply (V)

TempStability

(dB)

DynamicRange(dB)Part#

Page 106: Wireless Design Seminar 2006

75

ADI 2006 RF Seminar

Controlling AGC Loops with RF Detectors

Controlling AGC Loops with RF Detectors

Page 107: Wireless Design Seminar 2006

76

A Typical AGC Loop

VGA

Detector

Vref(e.g. 1V)

Vin Vout

Vin (ac)

Vout (dc)

Vcontrol

Gain

I

RdV/dt = I/CC

Detector measures output power from a variable gain amplifier orpower amplifierMeasured result is compared to a setpoint valueError amplifier/Integrator adjusts gain so that output power corresponds to setpointIntegrator capacitor/resistor set response time of loopMany of ADI’s detectors have an integrated “Controller Mode”

Page 108: Wireless Design Seminar 2006

77

A Practical AGC Loop using a Log Amp

Setpoint is applied to Detector VSET inputVout varies up or down to balance loopUse to set output to a fixed value (fixed VSET, variable input power) or to vary output power (variable VSET, fixed or variable input power)Set response time of loop by varying Cflt

Page 109: Wireless Design Seminar 2006

78

Controlling Gain with a Dual RMS Detector

Dual RMS Detector can also operate in Controller ModeDetector measures and controls VGA in an analog loopDetector tries to balance input power at its two RF inputs Gain setpoint is controlled by difference in external attenuators

Page 110: Wireless Design Seminar 2006

79

Gain vs. Input Power for Analog Gain Control Loop

Gain varies by only +/-0.25 over a 60 dB input rangeExcellent stability over temperature

Page 111: Wireless Design Seminar 2006

80

RF Detectors for Analog AGC Loops

Dual RMSResponding0.25 to 3.560Low Freq

to 2700 MHzAD8364

RMSResponding0.4 to 3.560Low Freq

to 2700 MHzAD8362

0.4 to 1.450100 to 2500AD8316

Fast Responding0.3 to 1.5401 to 10000AD8319

Fast Responding0.3 to 1.6501 to 10000AD8317

Fast Responding0.5 to 2601 to 8000AD8318

0.4 to 1.450100 to 2500AD8315

Wafer-Level CSP Package0.4 to 1.450100 to 2500AD8311

CommentsSetpointVoltage

Range (V)

DynamicRange(dB)

RFFreq

(MHz)Part No.

Page 112: Wireless Design Seminar 2006

81

ADI 2006 RF Seminar

RF Components inHigh Power Amplifiers

RF Components inHigh Power Amplifiers

Page 113: Wireless Design Seminar 2006

82

High Power Amplifiers

Transmitter is usually segmented into a Radio and a Power AmplifierIn order to operate as close as possible to the amplifier’s compression point (higher efficiency), many HPAs incorporate circuitry which reduces distortion (Linearization)Popular Linearization techniques are Feed Forward, Feedback, Digital Pre Distortion and Analog Pre-Distortion

Page 114: Wireless Design Seminar 2006

83

A Simplified FFLA System – Carrier Cancellation

Input signal is split onto two pathsOne path goes to input of High Power Amplifier (HPA)Output of amplifier comprised of amplified input signal and distortion generated within the HPADistorted output signal fo the HPA is sampled and conveyed to one input of a differencing nodeOther input of the differencing node is the undistorted input signal, delayed by an interval equal to the delay of the HPA/sampled output pathOutput of the differencing node is distortion signal only

EA

Carrier Cancella tion Loop Disto rtion Cance llation Loop

Inpu t

Ou tpu tHPA

+

-

+-

Page 115: Wireless Design Seminar 2006

84

A Simplified FFLA System – Distortion Cancellation

Distortion signal is amplified by a very linear error amplifier (EA)Output of EA is applied to one input of another differencing nodeOther input to differencing node is the distorted output of the HPA, delayed by an interval equal to the carrier cancellation sampling path and the EA pathDistortion present in the output of the HPA is cancelled in thisdifferencing nodeIdeal output of differencing node is amplified, undistorted carrier

EA

Carrier Cancella tion Loop Disto rtion Cance llation Loop

Inpu t

Ou tpu tHPA

+

-

+-

Page 116: Wireless Design Seminar 2006

85

A Practical FFLA with Adjustments – 1st Loop

In the Carrier Cancellation Loop, a voltage variable attenuator (VVA) and a variable phase shifter (VPS) are put in cascade withthe input to the HPAVVA and VPS are used to optimize carrier cancellation at the input to the EAControl voltages to VVA and VPS are often static voltages, set at the factory, but may be adaptively controlled1

Page 117: Wireless Design Seminar 2006

86

A Practical FFLA with Adjustments – 2nd Loop

In the Distortion Cancellation Loop, a VVA and a VPS are put in cascade with the input to the EAVVA and VPS are used to optimize distortion cancellation at the output of the FFLA systemControl voltages to VVA and VPS are often static voltages, set at the factory, but may be adaptively controlled1

Page 118: Wireless Design Seminar 2006

87

AD8302 – Gain / Phase Detector

KEY SPECIFICATIONSFrequency Range: LF to 2.7 GHzGain range: 60 dB, 30mV/dB, 0 to 1.8VPhase range: 180 deg, 10 mV/deg, 0 to 1.8VPackage: 14-TSSOP

KEY SPECIFICATIONSKEY SPECIFICATIONSFrequency Range: LF to 2.7 GHzGain range: 60 dB, 30mV/dB, 0 to 1.8VPhase range: 180 deg, 10 mV/deg, 0 to 1.8VPackage: 14-TSSOP

FEATURESMatched Log Amps for Temperature StabilityMeasurement and Control of Gain or VSWR

FEATURESFEATURESMatched Log Amps for Temperature StabilityMeasurement and Control of Gain or VSWR

Page 119: Wireless Design Seminar 2006

88

AD8302 – Gain/Phase DetectorGain and Phase Transfer Functions

Page 120: Wireless Design Seminar 2006

89

A Complete Feedforward Linearized Amplifier

AD8302 GPD can be used to control both loops of the FFLAAD8302 used to control VVA and VPS in Carrier Cancellation loop to control cancellation of carrier at the input to the EAAD8302 used to control VVA and VPS in Distortion Cancellation loop to control cancellation of intermodulation sidebands at FFLA Output

Page 121: Wireless Design Seminar 2006

90

KEY SPECIFICATIONSRF Bandwidth 0.7 – 1.0GHz / 1.5 – 2.4 GHzGain control range: -32dB to -2dBPhase control range: continuous 360°Output IP3: 24dBm / 22dBm (max gain) Output Noise: -149 dBm/-151Hz Package 4x4mm 24-LFCSP

KEY SPECIFICATIONSKEY SPECIFICATIONSRF Bandwidth 0.7 – 1.0GHz / 1.5 – 2.4 GHzGain control range: -32dB to -2dBPhase control range: continuous 360°Output IP3: 24dBm / 22dBm (max gain) Output Noise: -149 dBm/-151Hz Package 4x4mm 24-LFCSP

FEATURESAmplitude and Phase Modulator inputsModulation by Cartesian I and Q Output power disable function: 40dB, 10ns

FEATURESFEATURESAmplitude and Phase Modulator inputsModulation by Cartesian I and Q Output power disable function: 40dB, 10ns

AD8340 and AD8341 Vector Modulator

Page 122: Wireless Design Seminar 2006

91

AD8340 Vector Modulator – Gain and Phase Control

30 dB Gain Control Range360 degree Phase Control Range

880 MHz

Page 123: Wireless Design Seminar 2006

92

ADL5390 RF / IF Vector Multiplier

KEY SPECIFICATIONSBandwidth 20MHz to 2.4GHz Continuous Amplitude Control +5 to –30dBWide band 230MHz Cartesian InterfaceOIP3 +25dBmOutput P1dB +13dBmOutput Noise Floor –150dBm/HzPackage 4x4mm LFCSP

KEY SPECIFICATIONSKEY SPECIFICATIONSBandwidth 20MHz to 2.4GHz Continuous Amplitude Control +5 to –30dBWide band 230MHz Cartesian InterfaceOIP3 +25dBmOutput P1dB +13dBmOutput Noise Floor –150dBm/HzPackage 4x4mm LFCSP

FEATURESOutput Switch Disable 40dB, 10ns

FEATURESFEATURESOutput Switch Disable 40dB, 10ns

Page 124: Wireless Design Seminar 2006

93

Components for PA Feedforward Linearization

24-LeadLFCSP130+13-15023020 to

2400ADL5390

24-lead CSP1308.5-1512301500 to

2400AD8341

24-lead CSP13011-149230700 to

1000AD8340

PackagePowerSupply(mA)

P1dB(dBm)

Noise Floor

(dBm/Hz)

IQ Bandwidth

(MHz)

RF Freq(MHz)Part No.

Dual channel gain and phase detector

14-lead TSSOP60±0.260>0 to 2700AD8302

CommentsPackageType

ResponseTime (ns)

Accuracy(dB)

DynamicRange(dB)

RF Freq(MHz)

Part No.

Vector Modulators

Gain/Phase Detector

Page 125: Wireless Design Seminar 2006

1

ADI 2006 RF Seminar

Chapter IVRF Components

Active and Passive Mixers

Chapter IVRF Components

Active and Passive Mixers

Page 126: Wireless Design Seminar 2006

2

RF Components – Mixers

Mixers translate modulated carriers from one frequency to another by multiplying the input by a square wave (a sum of odd harmonics)In addition to generating sum and difference components, mixer will also generate unwanted spurs at multiples of the LO and Carrier frequenciesMixers also add noise, IMD products and LO leakage to the output spectrum

FreqFreqωRF

FreqωLO

ωLOωLO- ωRF ωLO+ ωRF

Sum and difference products plus LO

feed-through

Local oscillator

(LO)

Modulated Input

Page 127: Wireless Design Seminar 2006

3

Mixer Spurious Distortion ComponentsHigh Side LO Injection Low Side LO Injection

Mixer Spurious Trajectory Maps are often used to find optimum IF’s for a given mixer architectureA Mixer Spur table helps to provide systems engineers with knowledge of the mfRF ± nfLO rejection capability of a given mixer

Page 128: Wireless Design Seminar 2006

4

Noise Figure of a Mixer

Input signal is split between upper and lower side-bands, not necessarily withequal gain or loss. Need to consider conversion gain or loss relationshipversus frequency. Noise figure can be different for upper and lower sidebands. This may result in a slight difference between conversion loss and NF for a passive mixer

SNRINPUT

LO

RF IF

SNRUSB

SNRLSB

fRF

fLO

fRF + fLO

fRF - fLO

A(t)ejθ(t)

αUSBA(t)ej(θ(t)+φ(t))

αLSBA(t)ej(θ(t)-φ(t))

Page 129: Wireless Design Seminar 2006

5

Many Different Mixer Architectures

VDD VSS

GNDLO

IF+

IF-

RF+

RF-

IFRF

LO

IF

LO

RF

LO

RF

IF

AD8343AD8342 , AD8344

Gilbert Cells

Single-Ended Singly-Balanced Doubly-Balanced

Single-Ended

Resistive FET ADL5350

Doubly-Balanced

Quad FET

Page 130: Wireless Design Seminar 2006

6

Single-Ended Passive Mixers

Single-Ended Mixers share a common node for the RF and IF portsThe RF Envelope is Modulated by the switching action of a diode of FET junction at the rate of the applied oscillatorIt is desirable to switch the RFIF node impedance between a short and open to

provide maximum frequency conversion to the sum and difference frequenciesSharp switching also has a positive impact on inter-modulation performanceOften an LO buffer is employed to ensure adequate On/Off switching of the RFIF node

Band Reject Filter is used to reject RF and

LO signal Band Pass Filter is used to pass RF

signal and Isolate RF port from presented IF load impedance

Page 131: Wireless Design Seminar 2006

7

Single-Ended Mixer Implementation

100 pF3.5 nH1.2 pF1.7 nH1.5 pF1.7 nH1950 MHz

100 pF8.2 nH5.6 pF4.7 nH4.7 pF6.8 nH850 MHz

C3L3C2L2C1L1RF Frequency

2.7 nH2000 MHz

3.8 nH1750 MHz

18 nH1000 MHz

24 nH750 MHz

Recommended LO bias inductor (L4)

Desired LO frequency

Step 1. Tune the LO buffer supply inductor for minimum supply current.Step 2. Tune the LO port input network for optimum return loss.Steps 3 and 4. Design the RF and IF filter networks.

Page 132: Wireless Design Seminar 2006

8

Doubly Balanced Passive Mixers

LO

RF

IF

Diode Based Ring MixerFET Based Ring Mixer

Passive Ring Mixers are the most popular typeAll Passive Mixers require Balun/Transformer structures on RF and

LO ports in order to achieve good performanceBalanced LO and RF drive results in improved even order spurious

performance and improved LO to RF and LO to IF leakageLess popular balanced passive mixers include Star Mixers and

Double-Doubly Balanced Mixers

Page 133: Wireless Design Seminar 2006

9

Simple Active Mixers Using BJTs

LO

RF

IF

LO

IF

RF

LO

RF

IF

LO

RF+ RF-

IF-IF+

Poor IsolationPoor Linearity Poor Isolation

Better LinearityPoor NF

Better IsolationPoor Linearity

Better NFBetter IsolationBetter Linearity

Better NF

Page 134: Wireless Design Seminar 2006

10

Gilbert Cell MixersBasic Textbook Gilbert Cell AD8344 Gilbert Cell

Several varieties. The AD8343 is very generic, requires some off-chip biasing and matching, but can be used over a broad range of frequencies. The AD8344 is optimized for 900MHz cellular applications and provides matched RF and LO ports. The AD8342 provides matched ports and is more broadband than the AD8344.

Page 135: Wireless Design Seminar 2006

11

A Low Frequency to 500 MHz Active Mixer

3.7 dB Conversion Gain Integrated LO DriveSingle Ended RL and LO DriveDifferential IF Output +8 dBm IP1dB, 12 dB Noise Figure, +23 dBm IIP3

Page 136: Wireless Design Seminar 2006

12

Active vs Passive Mixers

• Poor LO to RF Isolation• Poor 2nd Order Distortion Performance• Requires Off-Chip Diplexer Networks to separate RF and IF ports

• Small and Low-Cost• Good Input Linearity• Low Noise• Low LO drive when includes integrated LO Buffer

Single-Ended

Passive Mixers

• Requires Strong LO Drive unless LO Buffer is included• Requires Off-Chip Baluns• May be size and cost prohibitive due to required magnetics

• Offers the best Input Linearity• Reasonably Low Noise• Good LO to RF Isolation

Balanced Passive Mixers

• Tend to have higher NF than passive mixers• Tend to have lower input linearity than passive mixers• Requires DC Power

• Provides Some Gain• Requires no balun/transformers• Good LO to RF Isolation• Requires low LO drive

Balanced Active Mixers

ConsPros

Page 137: Wireless Design Seminar 2006

13

High Linearity Mixers

16-lead CSP118244470 to 160070 to 400400 to

1200AD8344

8-lead LFCSP71826-7LF to 3000LF to 3000200 to

3000ADL5350

14-lead TSSOP142.816.57dc to 2500dc to 2500dc to

2500AD8343

16-lead CSP119244LF to 850dc to 400dc to 500AD8342

Package Type

NF(dB)

P1dB(dBm)

IP3(dBm)

ConversionGain(dB)

LO Freq(MHz)

IF Freq(MHz)

RF Freq(MHz)Part No.

Page 138: Wireless Design Seminar 2006

V-1

Chapter V

Phase Locked Loops for High Frequency Transmitters and Receivers By Mike Curtin

PLL Basics

A phase-locked loop is a feedback system

combining a voltage controlled oscillator and

a phase comparator so connected that the

oscillator frequency (or phase) accurately

tracks that of an

applied frequency- or phase-modulated signal.

Phase-locked loops can be used, for example,

to generate stable output frequency signals

from a fixed low-frequency signal. The phase

locked loop can be analyzed in general as a

negative feedback system with a forward gain

term and a feedback term. A simple block

diagram of a voltage-based negative-feedback

system is shown in Figure 1.

Figure 1. Standard Negative-Feedback

Control System Model

In a phase-locked loop, the error signal from

the phase comparator is the difference

between the input frequency or phase and that

of the signal fed back. The system will force

the frequency or phase error signal to zero in

the steady state. The usual equations for a

negative-feedback system apply.

Because of the integration in the loop, at low

frequencies, the steady state gain, G(s), is high

and H1GainLoopClosed

VV

I

O =,

The components of a PLL which contribute to

the loop gain are as follows:

1. The Phase Detector (PD) and Charge

Pump (CP).

2. The Loop Filter with a transfer

function of Z(s)

3. The Voltage Controlled Oscillator

(VCO) with a sensitivity of KV/s

4. The Feedback Divider, 1/N

Figure 2. Basic Phase Locked Loop Model

)(sGGainForward =

)(.)( sHsGGainLoop =

)(.)(1)(

sHsGsGGainLoopClosed

+=

fjjs πω 2==

Page 139: Wireless Design Seminar 2006

V-2

If a linear element like a four-quadrant

multiplier is used as the phase detector, and

the loop filter and VCO are also analog

elements, this is called an analog, or linear

PLL (LPLL). If a digital phase detector

(EXOR gate or J-K flip flop) is used, and

everything else stays the same, the system is

called a digital PLL (DPLL).

If the PLL is built exclusively from digital

blocks, without any passive components or

linear elements, it becomes an all-digital PLL

(ADPLL). Finally, with information in digital

form, and the availability of sufficiently fast

processing, it is also possible to develop PLLs

in the software domain. The PLL function is

performed by software and runs on a DSP.

This is called a software PLL (SPLL).

Referring to Figure 2, a system for using a

PLL to generate higher frequencies than the

input, the VCO oscillates at an angular

frequency of ωD. A portion of this

frequency/phase signal is fed back to the error

detector, via a frequency divider with a ratio

1/N. This divided-down frequency is fed to

one input of the error detector. The other input

in this example is a fixed reference

frequency/phase. The error detector compares

the signals at both inputs. When the two signal

inputs are equal in phase and frequency, the

error will be zero and the loop is said to be in

a “locked” condition. If we simply look at the

error signal, the following equations may be

developed.

REFO

REFO

OREF

FNF

FNF

seWhen

NF

Fse

×=⇒

=⇒=

−=

0)(

)(

In commercial PLLs, the phase detector and

charge pump together form the error detector

block. When F ≠ (N × FREF), the error

detector will output source/sink current pulses

to the low pass

loop filter. This smoothes the current pulses

into a voltage which in turn drives the VCO.

The VCO frequency will then increase or

decrease as necessary, by (KV × ΔV), where

KV is the VCO sensitivity in MHz/Volt and

ΔV is the change in VCO input voltage. This

will continue until e(s) is zero and the loop is

locked. The charge pump and VCO thus

serves as an integrator, seeking to increase or

decrease its output frequency to the value

required so as to restore its input (from the

phase detector) to zero.

Figure 3. VCO Transfer Function

The overall transfer function (CLG or Closed

Loop Gain) of the PLL can be expressed

simply by using the CLG expression for a

negative feedback system as given above.

Page 140: Wireless Design Seminar 2006

V-3

GainLoopGainForward

FF

REF

O

+=

1

NssZKKGHGainLoop vd )(.., =

ssZKKGGainForward vd )(.., =

When GH is much greater than 1, we can say

that the closed loop transfer function for the

PLL system is N and so REFOUT FNF .= .

The loop filter is of a low-pass nature. It

usually has one pole and one zero. The

transient response of the loop depends on;

1) the magnitude of the pole/zero,

2) the charge pump magnitude,

3) the VCO sensitivity,

4) the feedback factor, N.

All of the above must be taken into account

when designing the loop filter. In addition,

the filter must be designed to be stable

(usually a phase margin of π/4 is

recommended). The 3-dB cutoff frequency of

the response is usually called the loop

bandwidth, Bw. Large loop bandwidths result

in fast transient response. However, this is not

always advantageous, as we shall see later,

since there is a trade off between fast transient

response and reference spur attenuation.

PLL Synthesizer Basic Building Blocks

It is possible to break up the PLL synthesizer

into a number of basic building blocks. These

have already been touched upon, but we will

now deal with them in greater detail.

(i) The Phase Frequency

Detector, PFD

(ii) The Reference Counter, R

(iii) The Feedback Counter, N

The Phase Frequency Detector or PFD

The heart of a synthesizer is the phase detector

or phase frequency detector. This is where the

reference frequency signal is compared with

the signal fed back from the VCO output and

the resultant error is used to drive the loop

filter and VCO. In a Digital PLL (DPLL) the

phase detector or phase frequency detector is a

logical element. The three most common

implementations are :

(i) The EXOR gate

(ii) The J-K flip-flop

(iii) The phase frequency (PFD)

Page 141: Wireless Design Seminar 2006

V-4

Figure 4. Typical PFD Using D-Type Flip

Flops

Here we will consider only the PFD since this

is the element used in the ADF41XX family of

PLL synthesizers. The PFD differs from the

EXOR gate and the J-K flip flop in that, its

output is a function of both the frequency

difference and phase difference between the

two inputs.

Figure 4 shows one implementation of a PFD.

It basically consists of two D-type flip flops,

with one Q output enabling a positive current

source and the other Q output enabling a

negative current source. Let’s assume in this

design that the D-type flip flop is positive

edge triggered. There are three possible states

for the combination of UP and DOWN from

the D-type flip flops. The state of 11, where

both outputs are high, is disabled by the AND

gate (U3) back to the CLR pins on the flip

flops. The state of 00 (Q1, Q2) means that

both P1 and N1 are turned off and the output ,

OUT is essentially in a high impedance state.

The state 10 means that P1 is turned on, N1 is

turned off and the output is at V+. The state

of 01 means P1 is turned off, N1 is turned on

and the output is at V-.

Lets consider how the circuit behaves if the

system is out of lock and the frequency on +IN

is much higher than the frequency on –IN.

Figure 5 is a diagram which shows the

relevant waveforms.

Figure 5. PFD Waveforms, Out of Frequency

and Phase Lock

Since the frequency on +IN is much higher

than on –IN, the output spends most of its time

in the high state. The first rising edge on +IN

sends the output high and this is maintained

until the first rising edge occurs on –IN. In a

practical system this means that the output to

the VCO is driven higher resulting in an

increase in frequency at –IN. This is exactly

what we want.

If the frequency on +IN was much lower than

on –IN, then we would get the opposite effect.

The output at OUT would spend most of its

time in the low condition. This would have

the effect of driving the VCO in the negative

direction and bringing the frequency at –IN

much closer to that at +IN. In this way,

locking is achieved.

Now let’s look at the waveforms when the

inputs are frequency locked and almost phase

locked. Figure 6 is the diagram.

Page 142: Wireless Design Seminar 2006

V-5

Figure 6. PFD Waveforms, Out of Phase

Lock, In Frequency Lock

Since the phase on +IN is leading that on –IN,

the output is a series of positive current pulses.

These pulses will tend to drive the VCO so

that the –IN signal become phase –aligned

with the +IN signal.

When this occurs, if there was no delay

element between U3 and the CLR inputs of

U1 and U2, it would be possible for the OUT

signal to be in high impedance mode, with

neither positive or negative current pulses on

the output. This would not be a good thing to

happen. The VCO would drift until a

significant phase error developed and started

producing either positive or negative current

pulses once again. Looked at over a relatively

long period of time, the effect of this would be

to have the output of the charge pump

modulated by a signal that is a sub-harmonic

of the PFD input reference frequency. Since

this could be a low frequency signal it would

not be attenuated by the loop filter and would

result in very significant spurs in the VCO

output spectrum. The phenomenon is known

as the backlash effect and the delay element

between the output of U3 and the CLR inputs

of U1 and U2 ensures that it does not happen.

With the delay element, even when the +IN

and –IN are perfectly phase-aligned, there will

still be a current pulse generated at the charge

pump output. The duration of this delay is

equal to the delay inserted at the output of U3

and is known as the anti-backlash pulse width.

The Reference Counter

In the classical Integer-N synthesizer, the

resolution of the output frequency is

determined by the reference frequency applied

to the Phase Detector. So, for example, if

200kHz spacing is required (as in GSM

phones), then the reference frequency must be

200kHz. However, getting a stable 200kHz

frequency source is not easy and it makes

more sense to take a good crystal-based high

frequency source and divide it down. So, we

could have a 10MHz Frequency Reference,

divide this down by 50 and have the desired

frequency spacing. This is shown in the

diagram in Figure 7.

Figure 7. Using a Reference Counter in a

PLL Synthesizer

The Feedback Counter, N

The N counter or N divider, as it is sometimes

called, is the programmable element that sets

the output frequency in the PLL. In fact, the N

counter has become quite complex over the

years . Instead of being a straightforward N

counter it has evolved to include a prescaler

which can have a dual modulus.

If we confine ourselves to the basic divide-by-

N structure to feed back to the phase detector,

we can run into problems if very high

Page 143: Wireless Design Seminar 2006

V-6

frequency outputs are required. For example,

let’s assume that a 900MHz output is required

with 10kHz spacing. We can use a 10MHz

Reference Frequency, and set the R-Divider at

1000. Then, the N-value in the feedback

would need to be around 90,000. This would

mean at least a 17-bit counter. This counter

would have to be capable of dealing with an

input frequency of 900MHz.

It makes sense to precede the programmable

counter with a fixed counter element to bring

the very high input frequency down to a range

at which standard CMOS will operate. This is

called the prescaler and is shown in Figure 8.

Figure 8. Basic Prescaler

However, using a standard prescaler

introduces other complications. The system

resolution is now degraded (F1 x P). The dual-

modulus prescaler addresses this issue.

The dual-modulus prescaler, shown below in

Figure 9, gives the advantages of the standard

prescaler without any loss in system

resolution. A dual-modulus prescaler is a

counter whose division ratio can be switched

from one value to another by an external

control signal. By using the dual-modulus

prescaler with an A and B counter one can still

maintain output resolution of F1. However,

the following conditions must be met:

1. The output signal of both counters is

HIGH if the counters have not timed

out.

2. When the B counter times out, its

output goes LOW and it immediately

loads both counters to their preset

values.

3. The value loaded to the B counter

must always be greater than that

loaded to the A counter.

Figure 9. The Dual-Modulus Prescaler

Assume that the B counter has just timed out

and both counters have been reloaded with the

values A and B. Let’s find the number of

VCO cycles necessary to get to the same state

again.

As long as the A counter has not timed out, the

prescaler is dividing down by P+1. So, both

the A and B counters will count down by 1

every time the prescaler counts (P + 1) VCO

cycles. This means the A counter will time

out after (P + 1) × A) VCO cycles. At this

point the prescaler is switched to (divide-by-

P). It is also possible to say that at this time

Page 144: Wireless Design Seminar 2006

V-7

the B counter still has (B - A) cycles to go

before it times out. How long will it take to

do this: (B - A) × P. The system is now

back to the initial condition where we started.

The total number of VCO cycles needed for

this to happen is :

(P + 1) × A + (B - A) × P

= AP + A + BP - AP

= (P × B) + A

When using a dual modulus prescaler, it is

important to consider the lowest and highest

value of N possible . What we really want

here is the range over which it is possible to

change N is discrete integer steps .Consider

our expression for N: N = BP + A. To ensure

a continuous integer spacing for N, A must be

in the range 0 to (P - 1). Then, every time B is

incremented there is enough resolution to fill

in the all the integer values. As we have

already said for the dual modulus prescaler, B

must be greater than or equal to A for the dual

modulus prescaler to work. From these two

conditions, we can say that the smallest

division ratio possible while being able to

increment in discrete integer steps is:

NMIN = (Bmin x P) + Amin

= ((P-1) x P ) + 0

= P2 – P

The highest value of N is given by

NMAX = (Bmax x P) + Amax

In this case Amax and Bmax are simply

determined by the size of the A and B

counters.

Now, let’s take a practical example using the

ADF4111.

Lets assume the prescaler is programmed to

32/33.

A counter: 6 bits means A can be 26 - 1 = 63

B counter : 13 bits means B can be 213 - 1 =

8191

NMIN = P2 - P = 992

NMAX = (Bmax x P) + Amax

= (8191 x 32) + 63

= 262175

Fractional-N Synthesizers

Many of the emerging wireless

communication systems have a need for faster

switching and lower phase noise in the Local

Oscillator. This is particularly true in GSM

systems. We have seen that Integer-N

synthesizers require a PFD frequency which is

equal to the channel spacing. This can be quite

low and thus necessitates a high N. This high

N produces a phase noise that is

proportionately high. The low PFD frequency

in turn means a low loop bandwidth which

limits the PLL lock time. If we could divide

by a fraction in the feedback, then it would be

possible to use a higher reference frequency

and still achieve the desired channel spacing.

This lower number would also mean lower

phase noise. So, in theory, fractional-N

Page 145: Wireless Design Seminar 2006

V-8

synthesis offer a means of improving both

phase noise and lock time in PLL’s.

If fact it is possible to implement division by a

fraction over a long period of time by

alternately dividing by two integers (divide by

2.5 can be achieved by dividing successively

by 2 and 3).

So, how do we decide to divide by X or (X+1)

(assuming that our fractional number is

between these two values)? Well, we can take

the fractional part of the number and allow it

to accumulate at the Reference Frequency rate.

Figure 10. The Fractional-N Synthesizer

Since it is based on integer-N, the fractional-N

PLL inherits many of the building blocks of its

predecessor. The PFD, charge pump, loop

filter, and VCO all work in the same way on

both platforms. The N-divider is different,

however. In a fractional-N PLL, the N-divider

is broken up into the integer divider (N) and a

modulus-M interpolator (M), which acts as the

fraction function by toggling the N-divider.

The interpolator is programmed with some

value (f). The average division factor is now N

+ f/M where:

0 < f < M

(N + f/M) = RFOUT / FPFD

This is the essence of fractional-N synthesis. It

means that the PFD frequency can be larger

than the RF channel resolution. In relation to

the GSM-900 example, it may be instructive

to examine how the fractional-N approach

handles the generation of 900-MHz output

signals with 200-kHz channel resolution. If a

modulus M of 10 is available, FPFD can be set

to 2 MHz. N is programmed to 450, f is 0, and

M is 10. To tune to 900.2 MHz RFOUT,

NAVERAGE must be 450.1, N is programmed to

450, f is 1, and M is 10. To achieve this, the

N-divider is toggled under the control of the

interpolator between N and N+1 and the

average taken. What effectively occurs is that

the N-divider divides by 450 nine times, and

then divides by 451 once every 10 PFD cycles.

The average over the 10 cycles of 450.1 is

taken as NAVERAGE, which is fed to

the PFD. However, much complex circuitry is

needed to implement this.

Interpolators can be implemented using the

overflow bit of an accumulator. Alternatively,

sigma-delta modulators are often employed for

this task due to their averaging function and

noise-shaping characteristics. In this case,

every time an N value is presented to the PFD,

it has been modulated by the sigma-delta

modulator. This introduces spurs to the loop at

FPFD/M.

Page 146: Wireless Design Seminar 2006

V-9

IMPORTANT SPECIFICATIONS IN PLL

SYNTHESIZERS

Noise

In any oscillator design, frequency stability is

of critical importance. In general, it is

possible to separate stability into long-term

stability and short-term stability. Long-term

frequency stability is concerned with how the

output signal varies over a long period of time

(this can be hours, days or months). It is

usually specified in Df/f for a given period of

time and can be linear or exponential in

nature.

Short-term stability, on the other hand, is

concerned with variations that occur over a

period of seconds or less. These variations

can be random or periodic. We can use a

spectrum analyzer to look at short-term

stability of a signal. Figure 1 shows a typical

spectrum.

Figure 11. Short-term stability in oscillators

The discrete spurious components are non-

random in nature and can be the result of

known clock frequencies in the signal source,

power line interference or mixer products.

The random noise fluctuation shown in Figure

11 is called phase noise. It can be due to

thermal noise, shot noise or flicker noise in

active and passive devices.

Phase Noise In Voltage Controlled

Oscillators

Before we look at phase noise in a PLL

system, it is worth considering the phase noise

in a VCO. An ideal VCO would have no

phase noise. If we looked at the output on a

spectrum analyzer, we would see only one

spectral line. In practice of course, this is not

the case. There will be jitter on the output

and, looked at on a spectrum analyzer, this

will give rise to what we call phase noise. In

terms of understanding phase noise it is useful

to consider a phasor representation. Figure 2

shows the effect of superimposed noise

voltages on a carrier signal. We call this effect

phase noise.

Figure 12. Phasor Representation of Phase

Noise

A signal of angular velocity, v0, and peak

amplitude VSpk is shown. Superimposed on

Page 147: Wireless Design Seminar 2006

V-10

this is an error signal of angular velocity, vm.

Durms represents the rms value of the phase

fluctuations and is expressed in rms degress .

In many radio systems there is an overall

integrated phase error specification which

must be met. This overall phase error is made

up of the PLL phase error, the modulator

phase error and the phase error due to base

band components. In GSM, for example, the

total allowed is 5 degrees rms. It is important

that each of the contributing components are

minimized. GSM designers like to keep the

PLL phase error below 1 degree rms in the

200kHz frequency band around the carrier.

Leeson’s Equation

Leeson developed an equation to describe the

different noise components in a VCO.

⎥⎥⎦

⎢⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛≈

2

281log10

m

O

LPM f

fQA

FkTL

Where

LPM is single-sideband phase noise density

(dBc/Hz)

F is the device noise factor at operating power

level A (linear)

k is Boltzmann’s constant, 1.38 x 10-23 ((J/K))

T is temperature (K)

A is oscillator output power (W)

QL is loaded Q (dimensionless)

fO is the oscillator carrier frequency

fm is the frequency offset from the carrier

For Leeson’s equation to be valid, the

following must be true:

fm, the offset frequency from the carrier is

greater than the 1/f flicker corner frequency;

the noise factor at the operating power level is

known;

the device operation is linear;

Q includes the effects of component losses,

device loading and buffer loading;

A single resonator is used in the oscillator.

Figure 13. Phase Noise in a VCO vs.

Frequency Offset

Leeson’s equation only applies between the

1/f flicker noise frequency (f1) and a frequency

past which amplified white noise dominates

(f2). This is shown in Figure 3. Typically, f1 is

less than 1kHz and should be as low as

possible. The frequency f2 is in the region of a

few MHz. High-performance oscillators

require devices specially selected for low 1/f

transition frequency. Some guidelines to

minimizing the phase noise in VCO’s are:

1. Keep the tuning voltage of the varactor

sufficiently high (typically between 3

and 3.8V)

2. Use filtering on the dc voltage supply.

Page 148: Wireless Design Seminar 2006

V-11

3. Keep the inductor Q as high as possible.

Typical off-the-shelf coils provide a Q

of between 50 and 60.

4. Choose an active device that has

minimal noise figure as well as low

flicker frequency. The flicker noise can

be reduced by the use of feedback

elements

5. Most active device exhibit a bowl-

shaped “Noise Figue vs Bias Current”

curve. Use this information to choose

the optimal operating bias current for

the device.

6. Maximize the average power at the tank

circuit output.

7. When buffering the VCO, use devices

with the lowest possible Noise Figure.

Closing The Loop

We have looked at phase noise in a free-

running VCO and considered how it can be

minimized. Now, we will look at closing the

loop and consider what effect this will have on

phase noise.

Figure 14. PLL - Phase Noise contributors

Figure 14 shows the main phase noise

contributors in a PLL as well as the system

transfer function equations. The system may

be described by the following equations.

GHGGainLoopClosed+

=1

ssZKKG vd )(..

=

NH 1

=

⎟⎟⎠

⎞⎜⎜⎝

⎛+

⎟⎠⎞

⎜⎝⎛

=

sNsZKK

ssZKK

GainLoopClosedvd

vd

.)(..1

)(..

The term, SREF, is the noise that appears on the

reference input to the phase detector. It is

dependent on the reference divider circuitry

and the spectral purity of the main reference

signal. The term, SN, is the noise due to the

feedback divider appearing at the frequency

input to the PD. The term, SCP, is the noise due

to the phase detector implementation. The last

term, SVCO, is the phase noise of the VCO as

described by equations developed earlier .

The overall phase noise performance at the

output is dependent on each of the terms

described above. All the effects at the output

are added in an rms fashion to give the total

noise of the system. It is possible to write the

following:

STOT2 is the total phase noise power at the

output

X2 is the noise power at the output due to SN

and SREF.

Y2 is the noise power at the output due to SCP

2222 ZYXSTOT ++=

Page 149: Wireless Design Seminar 2006

V-12

Z2 is the noise power at the output due to SVCO.

It can be clearly seen that the noise terms at

the PD inputs, SREF and SN, will be operated

on in the same fashion as FREF and will be

multiplied by the closed loop gain of the

system.

( )2

222

1. ⎟⎟

⎞⎜⎜⎝

⎛+

+=GH

GSSX NREF

At low frequencies, inside the loop bandwidth, 2222 .)(1 NSSXandGH NREF +=>>

At high frequencies, outside the loop

bandwidth,

01 2 ⇒<< XandG

The contribution to the overall output noise

due to the phase detector noise, SCP, can be

calculated by referencing SCP back to the input

of the PFD. The equivalent noise at the PD

input is SCP/Kd. This is then multiplied by the

Closed Loop Gain. So:

2

222

1.1. ⎟⎟

⎞⎜⎜⎝

⎛+⎟⎟

⎞⎜⎜⎝

⎛=

GHG

KSY

dCP

Finally, the contribution of the VCO noise,

SVCO, to the output phase noise is calculated in

a similar manner. The forward gain this time

is simply 1. Therefore the final output noise

term can be described as:

222

11. ⎟⎟

⎞⎜⎜⎝

⎛+

=GH

SZ VCO

G, the forward loop gain of the closed loop

response, is usually a low pass function and it

is very large at low frequencies and small at

high frequencies. H is a constant, 1/N. The

bottom term of the above expression is

therefore low pass. Therefore SVCO is actually

high pass filtered by the closed loop.

A similar description of the noise contributors

in a PLL/VCO is described in Reference 1.

Recall that the closed loop response is a low

pass filter with a 3 dB cutoff frequency, Bw,

denoted the loop bandwidth. For frequency

offsets at the output less than Bw, the dominant

terms in the output phase noise response are X

and Y, the noise terms due to reference noise,

N counter noise and charge pump noise.

Keeping SN and SREF to a minimum, keeping

Kd large and keeping N small will thus

minimize the phase noise inside the loop

bandwidth, Bw. Of course, keeping N small

will not always be possible since this is what

programs the output frequency.

For frequency offsets much greater than Bw,

the dominant noise term is that due to the

VCO, SVCO. This is due to the high pass

filtering of the VCO phase noise by the loop.

A small value of Bw would be desirable as it

would minimize the total integrated output

noise (phase error). However a small Bw

results in a slow transient response and

increased contribution from the VCO phase

noise inside the loop bandwidth. The loop

bandwidth calculation therefore must trade off

transient response versus total output

integrated phase noise.

Page 150: Wireless Design Seminar 2006

V-13

To show the effect of closing the loop in a

PLL, it is possible to overlay the output of a

free-running VCO with the output of a VCO

as part of a PLL. This is shown in Figure 15

below. Note that the in-band noise of the PLL

has been attenuated compared to the free-

running VCO.

Figure 15. Phase Noise on a Free-Running

VCO vs. VCO in a PLL

Phase Noise Measurement

One of the most common ways of measuring

phase noise is with a high frequency spectrum

analyzer. Figure 16 is a representation of what

would be seen.

Figure 16. Phase Noise Definition

With the Spectrum Analyzer we can measure

the one-sided spectral density of phase

fluctuations per unit bandwidth. VCO phase

noise is best described in the frequency

domain where the spectral density is

characterized by measuring the noise

sidebands on either side of the output signal

center frequency. Single sideband phase noise

is specified in decibels relative to the carrier

(dBc/Hz) at a given frequency offset from the

carrier. The following equation describes this

SSB phase noise.

HzdBcPPfSSSB

SC /,log10)( ⎟⎟

⎞⎜⎜⎝

⎛=

Figure 7. Measuring Phase Noise with a

Spectrum Analyzer

The 10 MHz, 0dBm reference oscillator is

available on the spectrum analyzer rear panel

connector and it has excellent phase noise

performance. The R divider, N divider and the

phase detector are part of ADF4112

frequency synthesizer. These dividers are

programmed serially under the control of a

PC. The frequency and phase noise

Page 151: Wireless Design Seminar 2006

V-14

performance are observed on the spectrum

analyzer.

Figure 18. Typical Spectrum Analyzer Output

Figure 18 illustrates a typical phase noise plot

of a PLL synthesizer using an ADF4112 PLL

with a Murata VCO, MQE520-1880. The

frequency and phase noise were measured in a

5 kHz span. The reference frequency used was

FREF = 200 kHz (R=50) and the output

frequency was 1880 MHz (N=9400) . If this

was an ideal-world PLL synthesizer then a

single discrete tone would be displayed along

with the spectrum analyzer’s noise floor. What

is displayed here is the tone and the phase

noise due to the loop components. The loop

filter values were chosen to give a loop

bandwidth of approximately 20 kHz. The flat

part of the phase noise for frequency offsets

less than the loop bandwidth is actually the

phase noise as described by X2 and Y2 in the

section “Closing The Loop” for cases where f

is inside the loop bandwidth. It is specified at

a 1 kHz offset. The value measured was –

85.86 dBc/Hz. This is the phase noise power

in a 1 Hz bandwidth. This value is made up of

the following:

(i). Relative power in dBc between the

carrier and the sideband noise at 1kHz

offset

(ii). The spectrum analyzer displays the

power for a certain resolution

bandwidth (RBW). In the plot, a 10Hz

RBW is used. To represent this power in

a 1Hz bandwidth, 10log(RBW) must be

subtracted from the value in (i).

(iii) A correction factor which takes into

account the implementation of the RBW,

the log display mode and detector

characteristic must be added to the

result in (ii).

Phase noise measurement with the HP 8561E

can be made quickly by using the marker

noise function, MKR NOISE. This function

takes into account the above three factors and

displays the phase noise in dBc/Hz.

The phase noise measurement above is the

total output phase noise at the VCO output. If

we want to estimate the contribution of the

PLL device (noise due to phase detector, R&N

dividers and the phase detector gain constant),

we must divide our result by N2 (or subtract

20*logN from the above result). This gives a

phase noise floor of -85.86 -20*log(9400) =

-165.3 dBc/ Hz.

Page 152: Wireless Design Seminar 2006

V-15

Normalized Phase Noise Floor

The PLL synthesizer Normalized Phase Noise

Floor (or Figure of Merit, as it is sometimes

known) in the phase noise normalized for a 1

Hz PFD frequency and is defined by the

following equation:

NFPNPN PFDTOTSYNTH log20log10 −−=

PNSYNTH is the Normalized Phase Noise Floor

PNTOT is the measured phase noise at the PLL

output

FPFD is the PFD frequency

N is the value in the N counter

The Normalized Phase Noise Floor is a quick

and convenient way of comparing the noise

performance of PLL synthesizers.

Reference Spurs

In an integer-N PLL (where the output

frequency is an integer multiple of the

reference input), reference spurs are caused by

the fact that there is continuous update of the

charge pump output at the reference frequency

rate. Let’s once again consider the basic

model for the PLL. This is shown again in

Figure 19, below.

Figure 19. Basic PLL Model

When the PLL is in lock, the phase and

frequency inputs to the PFD (fREF and fN) are

essentially equal. In theory, one would expect

that there would be no output from the PFD, in

this case. However, this can create problems

and so the PFD is designed so that, in the

locked condition, the current pulses from the

charge pump will typically look like Figure

20.

Figure 20. Output current pulses from the

PFD Charge Pump

These pulses have a very narrow width but the

fact that they exist means that the dc voltage

driving the VCO is modulated by a signal of

frequency fREF. This produces what we call

Reference Spurs in the RF output and these

will occur at offset frequencies which are

integer multiples of fREF. It is possible to

detect reference spurs using a spectrum

analyzer. Simply increase the span to greater

than twice the reference frequency. A typical

plot is shown in Figure 11. In this case the

reference frequency is 200kHz and the

diagram clearly shows reference spurs at 6

200kHz from the RF output of 1880MHz. The

level of these spurs is –90dB. If we increased

the span to greater than four times the

Page 153: Wireless Design Seminar 2006

V-16

reference frequency then we would also see

the spurs at (2 x fREF).

Figure 21. Output Spectrum showing

Reference Spurs

Charge Pump Leakage Current

When the CP output from the synthesizer is

programmed to the high impedance state, there

should, in theory, be no leakage current

flowing. In practice, of course, this is not the

case and there are applications where the level

of leakage current will have an impact on

overall system performance. It is important to

note that leakage current has a direct bearing

on reference (PFD) spur level at the output of

the PLL.

PLL Applications: Up-Conversion and

Down-Conversion in Base Stations

The Phase Locked Loop allows stable high

frequencies to be generated from a low-

frequency reference. Any system that requires

stable high frequency tuning can benefit from

the PLL technique. The stable high frequency

generated by the PLL is commonly known as

a Local Oscillator (LO) and these are used in

many systems like Wireless Basestations,

Wireless Handsets, Pagers, CATV Systems,

Clock Recovery and Generation Systems. A

good example of a PLL application is a GSM

Handset or Basestation. Figure 22 shows the

receive section of a GSM Basestation.

Figure 22. Signal Chain For GSM Base

Station Receiver

In the GSM system, there are 124 channels (8

users per channel) of 200kHz width in the RF

Band. The total bandwidth occupied is

24.8MHz, which must be scanned for activity.

The handset has a TX range of 880MHz to

915MHz and an RX range of 925MHz to

960MHz. Conversely, the base station has a

TX range of 925MHz to 960 MHz and an RX

range of 880MHz to 915MHz. For our

example lets just consider the base station

transmit and receive sections. The frequency

bands for GSM900 and DCS1800 Base

Station Systems are shown in Table 1. Table

2 shows the channel numbers for the carrier

frequencies (RF channels) within the

frequency bands of Table 1. Fl (n) is the

center frequency of the RF channel in the

lower band (RX) and Fu(n) is the

corresponding frequency in the upper band

(TX).

Page 154: Wireless Design Seminar 2006

V-17

TX RX

P-GSM900 935 –960MHz 890-915MHz

DCS1800 1805-1880MHz 1710-1785MHz

E-GSM900 925-960MHz 880-915MHz

Table 1. Frequency Bands for GSM900 and DCS1800 Base Station Systems

RX TX

PGSM900 Fl(n) = 890 + 0.2 x (n) 1 ≤ n ≤ 124 Fu(n) = Fl(n) + 45

EGSM900 Fl(n) = 890 + 0.2 x (n)

Fl(n) = 890 + 0.2 x (n-1024)

0 ≤ n ≤ 124

975 ≤ n ≤ 1023

Fu(n) = Fl(n) +45

DCS1800 Fl(n) = 1710.2 + 0.2 x (n – 512) 512 ≤ n ≤ 885 Fu(n) = Fl(n) + 95

Table 2. Channel Numbering for GSM900 and DCS1800 Base Station Systems

The 900MHz RF input is filtered, amplified

and applied to the first stage mixer. The other

mixer input is driven from a tuned Local

Oscillator (LO). This must scan the input

frequency range to search for activity on any

of the channels. The actual implementation of

the LO is by means of the PLL technique

already described. If the 1st Intermediate

Frequency (IF) stage is centered at 240MHz,

then the LO must have a range of 640MHz to

675MHz in order to cover the RF Input Band.

When a 200kHz Reference Frequency is

chosen, then it will be possible to sequence the

VCO output through the full frequency range

in steps of 200kHz. For example, when an

output frequency of 650MHz is desired then N

will have a value of 3250. This 650MHz LO

will effectively check the 890MHz RF channel

(FRF – FLO = FIF or FRF = FLO + FIF) When N

is incremented to 3251, the LO frequency will

now be 650.2MHz and the RF channel

checked will be 890.2MHz. This is shown

graphically in Figure 23.

Figure 23. Tuning Frequencies For GSM

Base Station Receiver

Page 155: Wireless Design Seminar 2006

V-18

It is worth noting that, in addition to the

tunable RF LO, the receiver section also uses a

fixed IF (in the example shown this is

240MHz). Even though frequency tuning is

not needed on this IF, the PLL technique is

still used. The reason for this is that it is an

affordable way of using the stable system

reference frequency to produce the high

frequency IF signal. Several synthesizers

manufacturers recognize this fact by offering

dual versions of the devices: one operating at

the high RF frequency (>800MHz) and one

operating at the lower IF frequency (500MHz

or less).

On the transmit side of the GSM system,

similar requirements exist. However, it is

more common to go directly from Base-band

to the final RF in the Transmit Section and this

means that the typical TX VCO for a base

station has a range of 925MHz – 960MHz (RF

Band for the Transmit Section).

Circuit Example

Figure 24 shows an actual implementation of

the local oscillator for the transmit section of a

GSM base station. We are assuming direct

Base Band to RF up-conversion . This circuit

uses the ADF4111 PLL Frequency

Synthesizer from ADI and the VCO190-902T

Voltage Controlled Oscillator from Sirenza

Corporation.

Figure 24. Transmitter Local Oscillator for GSM

The reference input signal is applied to the

circuit at FREFIN and is terminated in 50V.

This reference input frequency is typically

13MHz in a GSM system. In order to have a

Page 156: Wireless Design Seminar 2006

V-19

channel spacing of 200kHz (the GSM

standard), the reference input must be divided

by 65, using the on-chip reference divider of

the ADF4111.

The ADF4111 is an integer-N PLL frequency

synthesizer, capable of operating up to an RF

frequency of 1.2GHz. In this integer-N type

of synthesizer, N can be programmed from 96

to 262,000 in discrete integer steps. In the case

of the handset transmitter, where we need an

output range of 880MHz to 915MHz., and

where the internal reference frequency is

200kHz, the desired N values will range from

4400 to 4575.

The charge pump output of the ADF4111 (pin

2) drives the loop filter. This filter is a 1st

Order lag lead type and it represented by Z(s)

in the block diagram of Figure 2. In

calculating the loop filter component values, a

number of items need to be considered. In this

example, the loop filter was designed so that

the overall phase margin for the system would

be 45 degrees. Other PLL system

specifications are given below:

Kd = 5mA

Kv = 8.66MHz/Volt

Loop Bandwidth = 12kHz.

FREF = 200kHz

N = 4500

Extra Reference Spur Attenuation of 10dB

All of these specifications are needed and used

to come up with the loop filter components

values shown in Figure 24.

The loop filter output drives the VCO which,

in turn, is fed back to the RF input of the PLL

synthesizer and also drives the RF Output

terminal. A T-circuit configuration with 18

ohm resistors is used to provide 50 ohm

matching between the VCO output, the RF

output and the RFIN terminal of the

ADF4111.

In a PLL system, it is important to know when

the system is in lock. In Figure 6, this is

accomplished by using the MUXOUT signal

from the ADF4111. The MUXOUT pin can

be programmed to monitor various internal

signal in the synthesizer. One of these is the

LD or lock detect signal. When MUXOUT is

chosen to select Lock Detect, it can be used in

the system to trigger the output power

amplifier, for example.

The ADF4111 uses a simple 4-wire serial

interface to communicate with the system

controller. The reference counter, the N

counter and various other on-chip functions

are programmed via this interface.

Receiver Sensitivity

Receiver sensitivity is the ability of the

receiver to respond to a weak signal. Digital

receivers use maximum bit error rate (BER) at

a certain RF level to specify performance. In

general, it is possible to say that device gains,

noise figures, image noise and LO wideband

noise all combine to produce an overall

equivalent noise figure. This is then used to

calculate the overall receiver sensitivity.

Wideband noise in the LO can elevate the IF

noise level and thus degrade the overall noise

factor. For example, wideband phase noise at

Page 157: Wireless Design Seminar 2006

V-20

FLO + FIF will produce noise products at FIF.

This directly impacts the receiver sensitivity.

This wideband phase noise is primarily

dependant on the VCO phase noise.

Close in phase noise in the LO will also

impact sensitivity. Obviously, any noise close

to FLO will produce noise products close to FIF

and impact sensitivity directly.

Receiver Selectivity

Receiver selectivity describes the tendency of

a receiver to respond to channels adjacent to

the desired reception channel. Adjacent

Channel Interference (ACI) is a commonly

used term in wireless systems which is also

used to describe this phenomenon. When

considering the LO section, the reference

spurs are of particular importance with regard

to selectivity. Figure 25 is an attempt to

illustrate how a spurious signal at the LO,

occurring at the channel spacing, can

transform energy from an adjacent radio

channel directly onto FIF. This is of particular

concern if the desired received signal is weak

and the unwanted adjacent channel is strong,

which can often be the case. So, the lower the

reference spurs in the PLL, the better it will be

for system selectivity.

Figure 25. Adjacent Channel Interference

Open Loop Modulation

Open Loop Modulation is a simple and

inexpensive way of implementing FM. It also

allows higher data rates than modulating in

closed loop mode. For FM modulation, a

closed loop method works fine but the data

rate is limited by the loop bandwidth. A

system which uses open loop modulation is

the European cordless telephone system,

DECT. The output carrier frequencies are in a

range of 1.77GHz to 1.90GHz and the data

rate is high; 1.152Mbps.

A block diagram of open loop modulation is

shown in Figure 26. The principle of

operation is as follows: The loop is closed to

lock the RF output, fOUT = N. fREF. The

modulating signal is turned on and initially the

modulation signal is simply the dc mean of the

modulation. The loop is then opened, by

putting the CP output of the synthesizer into

high-impedance mode and the modulation data

is fed to the Gaussian filter. The modulating

voltage then appears at the VCO where it is

multiplied by KV. When the data burst

finishes, the loop is returned to the closed loop

mode of operation.

Figure 26. Block Diagram of Open Loop

Modulation.

Page 158: Wireless Design Seminar 2006

V-21

As the VCO usually has a high sensitivity

(typical figures are between 20 and

80MHz/volt) any small voltage drift before the

VCO will cause the output carrier frequency to

drift. This voltage drift and hence the system

frequency drift is directly dependant on the

leakage current of the charge pump, CP, when

in the high impedance state. This leakage will

cause the loop capacitor to charge or discharge

depending on the polarity of the leakage

current. For example, a leakage current of

1nA would cause the voltage on the loop

capacitor (1000pF for example) to charge by

dV/dT. This, in turn, would cause the VCO to

drift. So, if the loop is open for 1ms and the

KV of the VCO is 50MHz/Volt, then the

frequency drift caused by 1nA leakage into a

1000pF loop capacitor would be 50kHz. In

fact the DECT bursts are generally shorter

(0.5ms) and so the drift will be even less in

practice for the loop capacitance and leakage

current used in our example. However, the

example does serve to illustrate the

importance of Charge Pump Leakage in this

type of application

ADIsimPLL

Traditionally, PLL Synthesizer design relied

on published application notes to assist in the

design of the PLL loop filter. It was necessary

to build prototype circuits to determine key

performance parameters such as lock time,

phase noise and reference spurious levels.

Optimisation was limited to ‘tweaking’

component values on the bench and repeating

lengthy measurements. Using ADIsimPLL

both streamlines and improves upon the

traditional design process. ADIsimPLL is

extremely user friendly and easy to use.

Starting with the “new PLL wizard” a designer

constructs a PLL by specifying the frequency

requirements of the PLL, selecting an

integer_N or Fractional-N implementation and

then choosing from a library of PLL chips,

library or custom VCO data, and a loop filter

from a range of topologies. The wizard

designs a loop filter and sets up the simulation

program to display key parameters including

phase noise, reference spurs, lock time, lock

detect performance and others.

ADIsimPLL operates with spreadsheet-like

simplicity and interactivity. The full range of

design parameters such as loop bandwidth,

phase margin, VCO sensitivity and component

values can be altered with real-time update of

the simulation results. This allows the user to

easily tailor and optimise the design for their

specific requirements. Varying the bandwidth,

for example, enables the user to observe the

trade-off between lock time and phase noise in

real-time and with bench-measurement

accuracy.

ADIsimPLL includes accurate models for

phase noise, enabling reliable prediction of the

synthesizer closed-loop phase noise. Users

report excellent correlation between

simulation and measurement.

ADIsimPLL also accurately simulates locking

behaviour in the PLL, including the most

significant non-linear effects. Unlike simple

Page 159: Wireless Design Seminar 2006

V-22

linear simulators based on Laplace transform

solutions, ADIsimPLL includes the effects of

phase detector cycle slipping, charge pump

saturation, curvature in the VCO tuning law

and the sampling nature of the phase-

frequency detector. As well as providing

accurate simulation of frequency transients,

giving detailed lock-time predictions for

frequency and phase lock, ADIsimPLL also

simulates the lock detect circuit. For the first

time, designers can easily predict how the lock

detect circuit will perform without having to

resort to measurements.

The simulation engine in ADIsimPLL is fast,

with all results typically updating

‘instantaneously’, even transient simulations.

As well as providing an interactive

environment that enables the design to be

easily optimised, it also encourages the

designer to explore the wide range of design

options and parameters available.

Contrary to the traditional methods where to

design, build and then measure parameters

takes days, ADIsimPLL enables the user to

change the PLL circuit design and observe

instantly the performance changes.

ADIsimPLL allows the designer to work at a

higher level and directly modify derived

parameters such as the loop bandwidth, phase

margin, pole locations, and the effects of the

changes on performance are shown instantly

(and without burning fingers with a soldering

iron!).

If need be the designer can work directly at the

component level and observe the effects of

varying individual component values.

ADIsimPLL Version 2 includes many

enhancements including:

- the new PLL wizard now includes a short-

form selector guide for choosing the PLL chip,

displaying short-form data for all chips, with

inbuilt links to the product pages on the

Analog Devices website.

- Similar short-form selector guides are

available for choosing the VCO device, and

these contain links to detailed device data on

vendor’s websites. The data in the selector

guides can be sorted by any parameter.

- The chip-programming assistant enables

rapid calculation of programming register

values to set the chip any specified frequency.

This is also great for checking channels that

cannot be reached due to prescaler restrictions

- The range of loop filters has been expanded

to include a 4-pole passive filter and a non-

inverting active filter. As with all loop filter

designs in ADIsimPLL, these models

accurately include the thermal noise from

resistors, the op-amp voltage and current

noise, as well as predicting reference spurs

resulting from the op-amp bias current.

- Phase jitter results can now be displayed in

degrees, seconds or Error Vector Magnitude

(EVM)

- It is now possible to simulate the power-up

frequency transient.

- Support has been included for the new

Analog Devices PLL chips with integrated

VCO’s

Page 160: Wireless Design Seminar 2006

V-23

With traditional design techniques, the

evaluation of new devices requires

construction, measurement and hand

optimization of a prototype, which is a

significant barrier to change and is often a key

reason for the continual use of ‘old’ PLL

chips. ADIsimPLL enables the rapid and

reliable evaluation of new high performance

PLL products from ADI. ADIsimPLL is the

most comprehensive PLL Synthesizer design

and simulation tool available today.

Simulations performed in ADIsimPLL include

all key non-linear effects that are significant in

affecting PLL performance. ADIsimPLL

removes at least one iteration from the design

process, thereby speeding the design- to-

market.

With ADIsimPLL you will get most PLL

Synthesizer designs right first time - even the

tough ones!

Download your ADIsimPLL Software from

http://www.analog.com/pll

Page 161: Wireless Design Seminar 2006

V-24

The ADI Synthesizer Family

Figure 27. Block Diagram for the ADF4106

Below is a listing of the current ADI

synthesizer family. In includes both single

and dual integer-N and fractional-N devices. It

also includes the new integrated VCO family

(ADF4360 family).

ADF4110 Family Single Proprietary Integer-N Synthesizers

ADF4001 This single synthesizer operates up to 200 MHz

ADF4110 This single synthesizer operates up to 550 MHz

ADF4111 This single synthesizer operates up to 1.2 GHz

ADF4112 This single synthesizer operates up to 3.0 GHz.

ADF4113 This single synthesizer operates up to 3.8 GHz.

ADF4106 This single synthesizer operates up to 6.0 GHz

ADF4107 This single synthesizer operates up to 7.0 GHz

ADF4007 This single synthesizer operates up to 7.5 GHz

ADF4116 Family Single Second Source Integer-N Synthesizers

ADF4116 This single synthesizer operates up to 550 MHz. It is a second

source to the LMX2306.

ADF4117 This single synthesizer operates up to 1.2 GHz. It is a second

source to the LMX2316 .

Page 162: Wireless Design Seminar 2006

V-25

ADF4118 This single synthesizer operates up to 3.0 GHz. It is a second

source to the LMX2326.

ADF4212L Dual Proprietary Integer-N Synthesizer

ADF4212L This dual synthesizer operates up to 510 MHz/2.4 GHz

ADF4218L Dual Second Source Integer-N Synthesizer

ADF4218L This dual synthesizer operates up to 510 MHz/ 3.0 GHz. It is a

second source to the LMX2330L from National Semiconductor.

ADF4153 Family Single Proprietary Fractional-N Synthesizer

ADF4153 This single synthesizer operates up to 4.0 GHz (16-pin package).

ADF4154 This single synthesizer operates up to 4.0 GHz (16-pin package).

ADF4156 This single synthesizer operates up to 6.4 GHz (16-pin package).

ADF4252 Dual Proprietary Fractional-N/Integer-N Synthesizer

ADF4252 This dual synthesizer operates up to 550MHz (Integer)/3.0 GHz

(Fractional).

ADF4360 Family Single Proprietary Integrated PLL Synthesizer and VCO

ADF4360-0 This single synthesizer operates from 2400 MHz to 2725 MHz

ADF4360-1 This single synthesizer operates from 2050 MHz to 2450 MHz

ADF4360-2 This single synthesizer operates from 1850 MHz to 2150 MHz

ADF4360-3 This single synthesizer operates from 1600 MHz to 1950 MHz

ADF4360-4 This single synthesizer operates from 1450 MHz to 1750 MHz

ADF4360-5 This single synthesizer operates from 1200 MHz to 1400 MHz

ADF4360-6 This single synthesizer operates from 1050 MHz to 1250 MHz

ADF4360-7 This single synthesizer operates from 350 MHz to 1800 MHz

ADF4360-8 This single synthesizer operates from 65 MHz to 400 MHz

References

1. Mini-Circuits Corporation, "VCO Designers Handbook", 1996.

2. L.W. Couch, "Digital and Analog Communications Systems" Macmillan Publishing

Company, New York, 1990.

3. P. Vizmuller, "RF Design Guide", Artech House, 1995.

Page 163: Wireless Design Seminar 2006

V-26

4. R.L. Best, "Phase Locked Loops: Design, Simulation and Applications", 3rd

Edition, McGraw Hill, 1997.

5. Brendan Daly, Comparing Integer-N And Fractional-N Synthesizers, Microwaves &

RF, September 2001.

6. D.E. Fague, “Open Loop Modulation of VCOs for Cordless Telecommunications”,

RF Design, July 1994

Page 164: Wireless Design Seminar 2006

1

ADI 2006 RF Seminar

Chapter VIA Detailed Look at Wireless Signal Chain Architectures

Chapter VIA Detailed Look at Wireless Signal Chain Architectures

Page 165: Wireless Design Seminar 2006

2

Receiver Architectures

Receivers are designed to detect and demodulate the desired signal and remove unwanted blockersReceiver must also get rid of unwanted signals that it generates (e.g. mixer spurs)Receiver uses variable gain and power detection Most Receivers will have some form of Automatic Gain ControlDiversity: Some Receiver Systems have two separate Receive Paths (Antennas separated by a quarter wavelength).A Diversity Receiver will either pick the strongest signal or “intelligently” combine both signals to increase signal power

Page 166: Wireless Design Seminar 2006

3

Blockers – a closer look

Blockers can be orders of magnitude larger than the desired signalLarge Blockers can jam a receiverBlockers can inter-modulate with each other and produce IMD products right at the frequency of the desired signalSome Blockers can be filtered (e.g. out-of-band) but others must be tolerated.

A

Rx BandDCDC

Freq

Tx Band

Power (dBm)Out-of-Band

Blocker

In-BandBlockers

DesiredSignal

TransmitSignal

Page 167: Wireless Design Seminar 2006

4

A Superheterodyne (Single Conversion) IF Sampling Receiver

Mixes the received signal from RF down to a single IF Uses SAW filters to remove blockers and unwanted mixing componentsDetects signal power and implements AGC at the IFReduces number of down-conversions by sampling the spectrum at an Intermediate Frequency but requires a high performance ADCIs the most popular architecture in non-cellular applications

IF SAMPLINGADC

MIXER

DUPLEXER RSSI/AGC

VGA

Band/ImageFilter

A

B C D E F G HI

TRANSMITTER

Channel SelectFilter

Page 168: Wireless Design Seminar 2006

5

IF Sampling Signal Flow

A

Rx BandDCDC

Freq

Tx Band

Power (dBm)Out-of-Band

Blocker

In-BandBlockers

DesiredSignal

TransmitSignal

B

Rx BandDCDC

Freq

Tx Band

Power (dBm)Out-of-Band

Blocker

In-BandBlockers

DesiredSignal

TransmitSignal

C/D

Rx BandDCD

Freq

Tx Band

Power (dBm)

In-BandBlockers

DesiredSignal

EDesiredSignal

DCDFreq

Power (dBm)

LOLeakage

FLO-FRF FLO+FRF

F Channel Select Filter

DCDFreq

Power (dBm)

H2nd

Harmonic

DCD

Freq

Power (dBm)

I

DCDFreq

Power (dBm)

SAMPLINGCLOCK

FIF FS

FS-FIF

FFT

FS/2

FLO

AGC&

NqyuistFilter

BlockerIMD

Product

Page 169: Wireless Design Seminar 2006

6

How IF sampling works

The receiver uses RF and IF filters to eliminate the transmit signal and blockers so that only the desired signal is sampledThe ADC must sample at twice the signal bandwidth to meet Nyquist criteriaOversampling can be used to improve the signal to noise ratio by 3 dB for each doubling of the sample frequencyHarmonics of ADC driver amp that are not filtered will degrade performanceThere is usually a clock recovery loop in an FPGA or DSP or both that locks the sampling rate to a multiple of the symbol rate

Page 170: Wireless Design Seminar 2006

7

Direct Conversion Receiver

Saves money by mixing RF spectrum to baseband in a single stepReduces component count and eliminates IF SAW filtersThere is a reason why RF engineers have not tried this sooner – removing DC offsets at baseband

ADC

ADC

900

IQ DEMOD

DUPLEXER

RSSI/AGC

VGA

BandFilter

A

B C D E F G

TRANSMITTER

Page 171: Wireless Design Seminar 2006

8

Direct Conversion Receiver

A

Rx BandDCDC

Freq

Tx Band

Power (dBm)Transmit

Signal

C

DCDCFreq

Tx Band

Power (dBm)

TransmitSignal

F

DC

FreqFSFS/2

Rx Band

E

DCDC

TransmitSignal

In-BandBlockers

DesiredSignal

Freq

Tx Band

Power (dBm)

Rx Band

In-BandBlockersDesired

Signal

DC Offset fromLO Self Mixing

&IP2 Intermodulation

Blocker IMDProduct

G

DC

FreqFSFS/2

NqyuistFilter

DesiredCarrier

In-BandBlockers

DesiredSignal

In-BandBlockers

DesiredSignal

Blocker IMDProduct

BB AmpDistortion

Page 172: Wireless Design Seminar 2006

9

Direct Conversion Receiver

In-Band Blockers can only be eliminated at the end of the signal chain or in the digital domain.In-Band Blockers can mix in the Front End (before mixer) to produce an unwanted product at basebandLO leakage to the RF input causes self-mixing and produces an unwanted dc offset at dc (right in the middle of the desired signal)Non-Ideal 90 degree balance in the Demodulator produces unwanted images of blockers which can be close to the carrierDirect Conversion Receivers are cheaper and smaller (no IF SAW filters, cheaper ADCs, only one mixer)

Page 173: Wireless Design Seminar 2006

10

Transmitter Architectures

Super Heterodyne with IQ ModulatorSuper Heterodyne with Real IF DAC SynthesisDirect ConversionLow IF to RF Conversion

Page 174: Wireless Design Seminar 2006

11

Superheterodyne Transmitter using IQ Modulator

Superheterodyne Transmitter uses one or more Intermediate Frequencies.DAC constructs the baseband signal, centered either at dc or at a low Intermediate Frequency (IF)Gain control and filtering may be implemented at RF, IF, and baseband.Lots of power back-off to avoid distortion in non-constant envelope systems

ACTIVEMIXER

IFAMP

Diffto SE

DAC

DAC

-15 dBm380 MHz

SAW

PADRIVER

-25 dBm

-10 dB

+10dB

0 to -20dB

+15dB

-15 dBm -18 dBm

BANDFILTER

-3 dB

-3 dBm

-5 dBm

380 MHz1760 +/-30 MHz1580 +/-30 MHz1462.5 +/-37.5 MHz

AD8345

PA

48 dB

AD836260 dB RMS Detector

AD836260 dB RMS DetectorADF4212L (Int-N)

ADF4252 (Frac-N)

TxDAC

+45 dBm

Gain=10dBNF=12 dBOIP3=20 dBmP1 dB=10 dBm

A B C D E F G

Page 175: Wireless Design Seminar 2006

12

Superheterodyne Transmitter using IQ Modulator

ATx Band

FTx Band

GTx BandDCDC

F

F

DCDC

BTx BandDCDC

C

F

F

F

IF

IF

IF Tx Band

DF

IF Tx Band

ETx Band

LOIMAGE

F

Page 176: Wireless Design Seminar 2006

13

Superheterodyne Transmitter using IQ Modulator

Noise and Spurs generated in the IF stage can be filteredAfter mix to RF, band filtering removes out of band noise along with the imageIn-Band noise generated in mix to RF cannot be removed

Page 177: Wireless Design Seminar 2006

14

Example: Superhet with IF Synthesis of signal in IQ format

Driving IQ mod with a low IF creates a single-sideband-like spectrum at the modulator output.Once IF has been filtered (removing unwanted sideband and LO), modulation quality (EVM) is excellent.

AD9777

AD8345PowerAmplifier

StepAttenuatorAD8343

40dB

16-bit

16-bit

402 MHz

380 MHz

1.52 GHz

22 Mhz

BandFilter

A B

C D E F G

Page 178: Wireless Design Seminar 2006

15

A

FTx Band

GTx BandDCDC

F

FLOW IF

DF

IF

ETx Band

IMAGES

FB

FLOW IF

CFIF

LOLEAKAGE

LOLEAKAGE

UNDESIREDUPPERSIDEBAND

F

Example: Superheterodyne Receiver with IF Synthesis of signal in IQ format

Unwanted LO leakage and Upper Sideband are filtered at IF, resulting in excellent EVMIf low IF is high enough, do a single up-conversion to RF

Page 179: Wireless Design Seminar 2006

16

Direct Conversion Zero IF Architecture

DAC

DAC

-15 dBm

PADRIVER

0 to -20dB

+15dB

-18 dBm

BANDFILTER

-3 dB

-3 dBm

-5 dBm

1760 +/-30 MHz1580 +/-30 MHz1462.5 +/-37.5 MHz

AD8349

PA

48 dB

AD836260 dB RMS Detector

AD836260 dB RMS Detector

AD9767 TxDAC

+45 dBm

Direct Conversion mixes a base-band signal from a dual DAC up to the transmission frequency in a single step. With no IF, gain control, filtering, and equalization must be performed either in the digital backend, at the reconstructed analog base-band output or at RF.Effects of LO leakage and Upper Sideband Leakage occur in-band potentially interfering with the signal’s EVM.Dual channels are required to generate the complex signal, any channel mismatch causes In-band distortion which cannot be filtered. High quality components are required to generate an accurate signal In-Band Modulator Noise cannot be filteredCalibration of LO leakage and Quadrature balance is generally necessaryPA to LO leakage can modulate or “pull” the PLL

Page 180: Wireless Design Seminar 2006

17

Example: Direct Conversion Transmitter

DAC

DAC

-15 dBm

PADRIVER

0 to -20dB

+15dB

-18 dBm

BANDFILTER

-3 dB

-3 dBm

-5 dBm

1760 +/-30 MHz1580 +/-30 MHz1462.5 +/-37.5 MHz

AD8349

PA

48 dB

AD836260 dB RMS Detector

AD836260 dB RMS Detector

AD9767 TxDAC

+45 dBm

A BC D E

ATx Band

DTx BandDCDC

ETx BandDCDC

Freq

Freq

DCDC

BTx BandDCDC

CTx Band

Freq

Freq

Freq

Page 181: Wireless Design Seminar 2006

18

Poor OIP3 causes Adjacent Channel Leakage

Think of a broadband spectrum multiple tones inter-modulating with each otherIM3 products produce Adjacent Channel Power/Leakage/DistortionUse 3-to-1 decay of IMD products to reduce dBc IMD but this degrades SNR

SNR

AdjacentChannelLeakage

Page 182: Wireless Design Seminar 2006

19

ACPR and Noise vs. Output Power

-65.0

-64.0

-63.0

-62.0

-61.0

-60.0

-59.0

-58.0

-57.0

-56.0

-55.0

-30 -28 -26 -24 -22 -20 -18

Per-Carrier Output Power - dBm

ACP

- dB

c

-160

-159

-158

-157

-156

-155

-154

-153

-152

-151

-150

Nois

e Fl

oor

- dBm

/Hz

(25

Mhz

Car

rier O

ffset

)

ACP 2140 MHz

Noise Floor 2140 MHz

ACP degrades with increased output power due to IMDNoise is independent of input and output powerAt low power levels ACP degrades because of falling SNR

Page 183: Wireless Design Seminar 2006

20

Example: Low IF to RF Transmitter using IF Synthesizing DAC and Passive Mixer

AD9786DAC

Pout -15 dBm190 MHz

ANTIALIAS

-16 dBm

-1 dB0 to -20dB

-11 dBm

-5 dBm

PASSIVEMIXER

IFAMP

PADRIVER

+15dB

-14 dBm

BANDFILTER

-3 dB

+1 dBm

PA

44 dB

AD836260 dB RMS Detector

AD836260 dB RMS Detector

+45 dBm

2.33 GHz2.15 GHz2.03 GHz

+5 dB

10 dB

-6 dBmGain= -5 dBNF= 5 dBOIP3= +35 dBmP1 dB= 25 dBm

Baseband DAC, IQ Modulator and PLL are replaced by an IF Synthesizing DAC or DDS modulatorTrade Off: High Performance DDS/DAC + SAW + Mixer + PLL vs. IQ DAC + Modulator + PLLNone of the problems typically associated with Direct ConversionProbably more expensive than Direct Conversion

Page 184: Wireless Design Seminar 2006

21

Low IF to RF Architectureω

Tx Band

ADC

LO

BIF

DC

LOLO- IF LO+ IFω ω ω

ω

ω ω

ω

ω

IFω

Tx Band

High Performance DAC generates “real” IF at a low IF (100-200 MHz)Mixer performs Double Sideband ModulationAdvantage: Unwanted LO and Sideband are removed -> excellent EVMChallenge: To move unwanted LO and upper sideband out of band means that the IF must be quite high

Page 185: Wireless Design Seminar 2006

VII-1

Chapter VII Receiver Optimization Using Error Vector Magnitude Analysis By Eric Newman Figure 1 depicts a signal space constellation containing two vectors, a reference vector, R(k), and the actual measured vector, Z(k), which indicates the recorded symbol trajectory. The reference vector defines the coordinates of an ideal error-free symbol trajectory. The difference between the reference vector and the actual measured symbol vector is defined as the error vector.

o EVM Introduction o Bit-Error-Rate and Probability of Error o SNR and EVM Relationships o Optimization Example: AD8348/AD8362

IF to Baseband Sub-System o Using RSSI to Estimate EVM and BER

Performance The error vector magnitude represents the Euclidian distance between the ideal symbol coordinate and the actual recorded symbol. In general EVM is averaged over an ensemble of symbol trajectories and can be defined numerically as

Ideal point

actual point

Error vector

I (in-phase)

Q (quadrature)

Z(k)

R(k)

Ideal point

actual point

Error vector

I (in-phase)

Q (quadrature)

Z(k)Z(k)

R(k)R(k)

Figure 1. IQ signal space illustrating reference vector, R(k), and measurement vector, Z(k).

=

=

−= M

k

M

k

kR

kRkZEVM

1

2

1

2

)(

)()( (1)

EVM provides a measure of the ratio of the error vector to the reference vector. In a perfect system, free of noise and non-linearities that would

otherwise create signal distortion, the measured vector and reference vector would be identical, and the EVM would be zero. Consider the signal-to-noise-ratio (SNR) of the symbol trajectory. If the SNR was very good, then the displacement of the measured vector from the reference vector due to noise and distortion effects would be very small, and the resultant EVM would approach zero. Conversely, a large EVM suggests that the measured symbol is significantly displaced from the ideal reference vector, which can only be the result of noise and distortion effects unless the reference vector is somehow in error. This suggests that the SNR and EVM of a modulated signal share an inverse relationship. Numerically this relationship can be expressed as

LSNREVM

×=

1 (2)

where L is the coding gain

Coding gain accounts for any benefits due to signal coding. In general the baseband information may be encoded using a number of techniques. For instance, in a spread-spectrum system the baseband data is spread by multiplying each transmitted bit by a direct sequence. The direct sequence consists of a random series of ones and zeros. The sequence is carefully selected so that it is unique and weakly correlated to other sequences used to encode other data-streams that will share the same carrier frequency. The ratio of the number of ‘chips’ used to encode each bit is the coding gain. In decibels, it is expressed as 10Log10(chip-rate/data-rate). For example, a UMTS transceiver may be transmitting a 12.2 kbps data stream using a chip-rate of 3.84 Mchips/s, resulting in a coding gain of 3.84×106/12.2×103=314.75, or 25 dB. In order to link EVM to BER, it is necessary to determine the dependency of SNR on the probability of a symbol error for a given modulation scheme. For quadrature amplitude modulations (QAM), the probability of a symbol error can be expressed as:

Page 186: Wireless Design Seminar 2006

VII-2

⎥⎥⎦

⎢⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

−⎟⎠

⎞⎜⎝

⎛−−×⎟⎟

⎞⎜⎜⎝

−⎟⎠

⎞⎜⎝

⎛−= bbM k

Merfc

Mk

Merfc

MP γγ

)1(2311

211

)1(23112 (3)

where M is the order of the modulation (i.e. 64 for 64-QAM) γb is the average signal to noise ratio per bit

k is the number of bits per symbol (i.e. 6 bits per complex symbol for 64-QAM)

Using equations 2 and 3, the symbol-error-rate (SER) and EVM can be derived for varying SNR. SER versus SNR is presented in figure 2a. This provides the classic waterfall patterns for various

order QAM modulation schemes. The EVM versus SNR is presented in figure 2b for the same modulations. This allows designers to predict the bit error rate performance of a given receiver using error vector analysis techniques. For example, if the EVM is measured to be 3% for un-coded 256-QAM modulation, the anticipated symbol error rate would be 600 ppm. In other words, on average 6 symbols could be expected to be erroneous out of a 10,000 symbol sequence, corresponding to a bit error rate of 75 bits in a 1 million bit sequence, or a BER of 7.5×10-5.

0.000001

0.00001

0.0001

0.001

0.01

0.1

1

0 5 10 15 20 25 30 35

SNR - dB

Prob

abili

ty o

f a S

ymbo

l Err

or 16QAM 64QAM 256QAM

(a)

0.000001

0.00001

0.0001

0.001

0.01

0.1

1

0 5 10 15 20 25 30 35 40 45 50

EVM - %

Prob

abili

ty o

f a S

ymbo

l Err

or

16QAM

64QAM

256QAM

(b)

Figure 2 a) The theoretical probability of a symbol error for un-coded 16-, 64-, and 256-QAM modulations versus SNR. b) The corresponding symbol error probability versus measured EVM.

Page 187: Wireless Design Seminar 2006

VII-3

Using the data in figures 2a and 2b along with an appropriate vector signal analyzer, designers can optimize performance in a timely manner. Parameters such as filter selection, inter-stage matching and conversion gain can all be adjusted while observing EVM performance. This allows designers to quickly optimize their signal chains. Figure 3 illustrates some of the possible signal impairments that can occur in a real-world system. By monitoring the signal space it is possible to identify the noise or distortion mechanisms that may be degrading EVM performance.

Figure 3. A variety of possible signal pairments. By recognizing the tell-tale signs of different signal impairments, receiver problems can be more easily isolated and debug simplified. Optimization Example: AD8348/AD8362 IF to Baseband Sub-System A quadrature demodulator and rms-accurate power detector are presented in Figure 4 as a closed-loop ALC (Automatic Level Control) IF-to-baseband receiver subsystem. The AD8348 provides accurate quadrature demodulation from 50 MHz to 1 GHz. An internal LO frequency divider allows an LO that is twice the desired carrier frequency to be used, easing LO-pulling issues associated with a full duplex transceiver. In the example, the IF input frequency was 190 MHz with an LO drive of –10 dBm at 380 MHz. An integrated front-end variable gain amplifier (VGA) comprised of a resistive variable-attenuator and high intercept-point post amplifier provides variable conversion gain while preserving a constant spurious free dynamic range. The AD8362 is a highly accurate RF power measurement device capable of measuring the rms power of signals from arbitrarily low frequencies out to 2.7 GHz. The device exhibits

insensitivity to varying crest factor waveforms, making it an ideal solution for measuring the true rms power of digitally modulated signals. The circuit in Figure 4 is configured to measure the rms power of the baseband signal present on the in-phase channel. The choice of in-phase or quadrature detection is arbitrary assuming that I and Q vectors are pseudo-random, a valid assumption for most digital modulation schemes. The on-board error amplifier uses the baseband rms power measurement to generate a control signal that drives the gain-control port on the quadrature demodulator. The conversion gain of the demodulator is adaptively adjusted in a closed-loop fashion to maintain a constant baseband rms power level, regardless of wave-shape. The output level is set by applying the appropriate set-point control voltage to the VSET pin. Error vector analysis was used to find the optimum ALC output set-point and to determine a suitable filter for a 256-QAM 1-Msymbol/sec digital modulation. The demodulator provides a single-ended interface for application of a low pass filter. Fourth-order Bessel filters were employed on both I and Q channels to minimize wideband noise and to help reject unwanted adjacent signals. The Bessel filter was selected for its low group delay characteristics, a necessary attribute to ensure low inter-symbol-interference. Initially Butterworth and Chebyshev filter designs were tested, but the greater group delay in the passband resulted in degraded EVM performance. The subtle differences in receiver performance with the various filter selections would have been difficult to measure using classical methods. The VSA quickly measures the performance, allowing the filter networks to be optimized in a short period of time. The baseband EVM was measured using an FSQ8 vector signal analyzer from Rohde & Schwarz. While observing the EVM, the set-point control voltage was varied to find the optimum setting. With the appropriate set-point voltage the EVM remains better than 2% over more than a 40 dB input range as indicated in Figure 5. The measured IQ baseband constellation for a 256-QAM modulation scheme is presented in Figure 6. The variable conversion gain of the demodulator allows receiver designs with optimum BER performance over a wider dynamic range than a fixed gain demodulator.

Nois CW IQ Gain

IQ Phase CompressioPhase

Page 188: Wireless Design Seminar 2006

VII-4

Figure 4. The AD8348 IQ Demodulator in combination with the AD8362 TruPwr™ Detector can be configured to provide highly accurate automatic level control IF-to-baseband receiver subsystem.

0123456789

10

-45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15

Power In - dBm

EVM

- %

VSET=1.4V VSET=1.2V

VSET=1.3V

Figure 5. Error Vector Magnitude (EVM) versus input power level for 256-QAM at 1-Msymbol/sec. Figure 7 illustrates the performance for lower order QAM modulations of the same signal bandwidth. The lower order modulation schemes

require less SNR for adequate BER performance. It is no surprise that the lower order modulation schemes result in even better EVM performance over a slightly broader input power range. By monitoring the RSSI (Received Signal Strength Indication) voltage of the AD8362 it is possible to predict EVM performance. Figure 8 provides the measured RSSI voltage for several modulation schemes. It is possible to use the RSSI voltage to estimate the input power presented at the demodulator input within a reasonable error. The input power estimate can then be used to predict the EVM performance at that input power level.

Page 189: Wireless Design Seminar 2006

VII-5

Figure 6. IQ constellation of baseband output for 256QAM modulation at 1 Msymbol/sec.

0

1

2

3

4

5

6

7

8

9

10

-50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15

Power In - dBm (re 200 Ohms)

EVM

- %

WAVEFORMS:QPSK16, 64, and 256 QAM @ 1MSpsα=0.35

Figure 7. EVM versus input power for 16, 64, and 256QAM. Summary By measuring the EVM over the desired input signal range, one can readily estimate symbol error rate performance. Using the measured EVM data in combination with the plots in figure 2, the dynamic performance of the receiver can be predicted. For a 256-QAM modulation the EVM must be better than ~2% to ensure the

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

-40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15

Power In - dBm (re 200 Ohms)

RSS

I - V

-5

-4

-3

-2

-1

0

1

2

3

4

5

Erro

r - d

B

m=18mV/dB

WAVEFORMS:QPSK16, 64, and 256 QAM @ 1MSpsα=0.35

Figure 8. By understanding the EVM versus input power relationships, an rms-accurate RSSI measurement can be used to predict receiver performance. symbol error rate is less than 10-6. The measured results of the IF-to-baseband receiver subsystem indicates that the receiver could tolerate more than a 40 dB range of input power variation before SER is degraded to an unacceptable level. EVM analysis is a useful tool for signal chain optimization and prediction of dynamic performance.

Page 190: Wireless Design Seminar 2006

VIII-1

Chapter VIII Design and Operation of Automatic Gain Control Loops for Receivers in Modern Communications Systems By Dana Whitlow Introduction This chapter will provide insight into effective operations of a Variable Gain Amplifier (VGA) in Automatic Gain Control (AGC) applications. Throughout this chapter, several key issues will be addressed. For further discussion, an example application revolving around the AD8367 IF VGA will also be presented.

AGC Loop Design Key Issues

VGA types Loop dynamics Detector types Operating level of VGA Operating level of Detector

Figure 1 is a general block diagram for an AGC loop. The input signal passes through the VGA to produce a signal output whose level will be stabilized. The output level is measured by a detector, whose output is compared against a setpoint voltage to produce an error signal. The error signal is then integrated to produce a gain control voltage that is applied to the control input of the VGA. It may be desirable to align the maximum output level of the VGA with the maximum input level of the detector with the attenuator shown between the VGA and the detector.

Fig. 1 VGA-Based AGC Loop Block Diagram.

VGA types: There are two major classes of VGAs in use today. The first is the IVGA (Input VGA) that can be regarded as a passive variable attenuator followed by a fixed gain amplifier. The second type is the OVGA (Output VGA) that is equivalent to a fixed gain amplifier followed by a passive attenuator.

VGA Types IVGA – Variable attenuator with fixed gain post-amplifier

OVGA – Fixed gain amplifier followed by a passive attenuator

IVGAs - Generally used in receivers and focus on generating a constant output level with variable input

OVGAs - Generally used in transmitters to generate variable output levels with a fixed input level

IVGAs - For AGC applications where constant output level is desired

For a receive AGC system, an IVGA is the preferred choice because the available output level at low distortion is independent of the gain setting. Since the very object of the AGC loop is to maintain constant output in the face of a varying input signal amplitude, this is the desired trait for an AGC system. The OVGA (whose maximum available output level decreases dramatically with decreasing gain) is ill suited to AGC applications because the undistorted output capability of the device would fall below the desired output level under some particular gain setting, thereby limiting the useful control range. OVGAs are more suited to power control applications where the objective is to vary the output level (for example, a transmitter) from a more or less constant input. This application note is devoted to AGC systems; therefore chapter will focus on the application of IVGAs. Analog Devices markets a wide selection of IVGAs, in which most use some variant of the

Page 191: Wireless Design Seminar 2006

VIII-2

patented X-Amp architecture. In the description given above for the IVGA, the X-amp is a very close approximation in which the variable passive attenuator is a resistive ladder network with taps at equal dB intervals. Gain control is achieved by a mechanism that picks off signals from different taps as the desired gain setting is changed. Continuous variation in gain without steps or significant nonlinearity is achieved by an interpolation scheme that uses a weighted combination of signals from a few consecutive taps. As the gain is adjusted, there is a smooth handoff between tap combinations. The output from the interpolation mechanism is then passed through a low noise fixed gain amplifier. For a ladder whose taps are equally spaced in dB, this approach provides a very accurate and predictable linear-in-dB gain control with only a very small residual ripple in the gain versus the control voltage function. Analog Devices’ AD8367 is a high-performance, 45 dB input variable gain amplifier with linear-in-dB gain control for use from low frequencies up to several hundred megahertz (see Figure 2). The input is applied to a 200 Ω resistive ladder network, having nine sections each of 5 dB loss, for a total attenuation of 45 dB. At maximum gain the first tap is selected; while at progressively lower gains the tap moves smoothly and continuously toward higher attenuation values. The attenuator is followed by a 42.5 dB fixed gain feedback amplifier. The output third order intercept is +27 dBm (re 200 Ω) at 100 MHz.

Figure 2. AD8367 500 MHz Linear-in-dB IVGA With On-Board AGC Detector

The analog gain-control interface is very simple to use. It is scaled at 20 mV/dB, and the control voltage, VGAIN, runs from 50 mV at –2.5 dB to 950 mV at +42.5 dB. In the inverse-gain mode of

operation, selected by a simple pin-strap, the gain decreases from +42.5 dB at VGAIN = 50 mV to –2.5 dB at VGAIN = 950 mV. This inverse mode is needed in AGC applications that are supported by the integrated square-law detector, while the set point is chosen to level the output to 354 mV rms, regardless of the waveshape. A single external capacitor sets up the loop averaging time. AD8367 500 MHz Linear-in-dB IVGA Key

Features

45 dB analog variable gain range Reversible gain control sense Linear-in-dB gain control scaled 20 mV/dB On-chip square-law detector Single-supply operation: 2.7 V to 5.5 V

When a single device is used in an AGC system, the IVGA is often criticized because the output Signal-to-Noise Ratio (SNR) may not improve with increasing input level. This is because the attenuation preceding the amplifier changes by the same amount that the signal level changes, so the input to the amplifier (which is presumed to set the noise floor) does not change, leaving the S/N unimproved. If necessary, this behavior can be improved by cascading two VGAs and properly coordinating the gain control inputs of the two devices. If the gain control of only the second stage VGA is manipulated in the weak signal regime the signal level to the first stage VGA’s amplifier does increase with increasing input level, so the output SNR improves. It is not necessary to begin reducing the first stage VGA’s gain control input until the input level approaches the point at which the first stage would cause excessive distortion if left at full gain. At this point the gain control would be handed off to the first stage from the second stage. Alternatively, the two gain control inputs may simply be driven in parallel, in which case the output S/N (expressed in dB) improves at half the rate at which the input level (also expressed in dB) rises. In this case each VGA is changing its gain (dB) at half the rate required to accommodate the changing input signal level. An additional benefit of this approach can be obtained if the two gain control input signals are intentionally offset by half the period of the residual ripple in the gain versus control voltage

Page 192: Wireless Design Seminar 2006

VIII-3

curve. This would lead to a considerable reduction of the ripple. Either of the above approaches to cascading VGAs leads to an increased overall gain control range, potentially twice the range of a single VGA. (For practical details of cascading VGAs, please refer to the application section of the AD603 data sheet.) A very useful feature when using an X-amp-based IVGA in an AGC loop is the VGA’s gain control voltage bears an accurate logarithmic relationship to the input signal level when the loop is in equilibrium. This means the gain control voltage may also be used as an excellent RSSI (Received Signal Strength Indicator). Loop Dynamics: When designing any AGC loop, response time is an important issue. There is usually a compromise that must be made between having the loop respond to undesired input level fluctuations and having it modify the legitimate amplitude modulation on the signal. Additionally, large and/or abrupt changes in the input level may lead to unwanted recovery behavior, necessitating further adjustments of the response time. Because the behavior for abrupt and/or large changes may also be strongly influenced by the detector’s type, much of the discussion of this area will be deferred to the following section on detectors. The issue of excessive loop bandwidth deserves a bit more explanation. If the loop responds too quickly, it will create undesired gain modulation arising from the loop’s efforts to stabilize the output level of a signal containing legitimate amplitude modulation. This phenomenon is known as “gain pumping” and should be distinguished from the desirable gain variations made to accommodate drift and path loss variation in an AGC loop. In the case of classic AM signals, the effect of excessive AGC bandwidth is to reduce the low frequency response of the detected audio and to introduce audio IM distortion. The AGC loop is continually adjusting the gain in an attempt to stabilize the signal amplitude; in doing so it is effectively stripping off the low frequency modulation. At the same time the gain pumping is effectively introducing fast fading, which varies the amplitude of the surviving modulation components coming out of the demodulator.

The resulting amplitude variation of some (high frequency) components in time with other (low frequency) components is the classic form of audio intermodulation distortion.

Loop Dynamics

AGC loop must respond to input power level changes

Input level changes can be relatively slow (fading) or abrupt (pulsed applications)

Excessive AGC loop bandwidth causes loop to respond to the changing envelope of input signal (gain pumping)

Excessive gain pumping causes modulation errors and spectral re-growth

In context of modern digital modulation, the presence of appreciable gain pumping can result in significant modulation errors and perhaps even noticeable spectral re-growth in extreme cases. Figure 3 shows measured gain variation over time for an AGC loop whose bandwidth was intentionally made too high for the type of signal modulation employed, in that the gain is being varied by about 1.5 dB p-p by the loop. This plot was obtained by viewing the gain control voltage of the VGA with an oscilloscope and rescaling the result to dB units. A tolerable value of gain pumping would normally be only a small fraction of 1 dB.

Figure 3. An AGC Loop with excessive loop bandwidth will result in gain pumping where the loop incorrectly responds to the instantaneous input power which changes on a symbol-to-symbol basis. Generally, gain pumping should be limited to a fraction of a dB.

Page 193: Wireless Design Seminar 2006

VIII-4

Figure 4 shows the effect of gain pumping on a signal space constellation. This shows the demodulated constellation of a 64 QAM modulated carrier (500 kSymbols/Sec). This shows how the AGC circuit improperly responds to the varying input signal level that results from the varying levels of the symbols. In designing an AGC loop, ensure that it is fast enough to respond to average input power variations while keeping gain pumping reduced to a minimum so that it does not degrade EVM.

Figure 4 Excessive gain pumping in a 64 QAM Signal Space Constellation will result in degraded EVM. Detector types One convenient aspect of an AGC loop is that the detector does not have to have a very wide dynamic range. This is because the detector operates at a constant average level when the AGC loop is settled; thus the detector only needs to measure modulated signal levels over narrow range. However, as mentioned earlier, the detector’s response law (e.g. linear, log, square law, etc) can play a significant role in determining the loop’s dynamic response during large, abrupt changes in signal level. Furthermore, the choice of detector will affect the level at which the loop reaches equilibrium.

Detector Types

Envelope Detector Square-Law Detector True-RMS Detector Log Detector

Envelope detector (full-wave rectifier): The output of an envelope detector (usually a half-wave or full-wave diode circuit) is proportional to the absolute magnitude of the instantaneous RF input voltage. Assuming that sufficient low-pass filtering is applied at its output to eliminate ripple at twice the RF frequency, this detector produces a voltage proportional to the envelope amplitude of the RF signal. Assuming that the loop’s bandwidth is made small enough to avoid measurable gain pumping, the effect of the loop using an envelope detector is to stabilize the average rectified voltage of the signal. The exact result in terms of power is therefore dependent on the RF signal’s envelope waveform. Such a loop acting on a constant-envelope signal such as FM will produce an average output power which is different than that for a heavily-amplitude-modulated signal, such as CDMA or 64 QAM, for example. The output of the envelope detector cannot be negative no matter how weak the input signal, but even practical realizations are essentially unbounded in their response to very strong signals. The maximum detector output is likely to be determined by saturation of the VGA’s output. Starting with the AGC loop in equilibrium, a sudden large increase in input amplitude causes a very large initial increase in detector output, which drives the loop rapidly towards lower gain. On the other hand, an abrupt reduction of the input signal level (regardless of how many dB) cannot reduce the detector output below zero. The loop’s best response is to slew towards equilibrium at a fairly low rate until the detector output begins to change by a significant fraction of the reference voltage. At this point the recovery trends towards an exponential decay. In the slew rate limited region, the gain of the signal path is varying at a constant number of dB per second.

Envelope Detectors in AGC Loops

Usually a diode-based half-wave or full-wave rectifier

Output power of an AGC Loop will vary with signal crest factor

Fast response to fast increases in input signal to AGC Loop

Slow exponential response to fast decreases in input signal

Page 194: Wireless Design Seminar 2006

VIII-5

Figure 5 shows the simulated time domain output power profile of an envelope detector based AGC loop to small input steps. (Curves for all four detector types are superimposed on this plot.) This suggests that the choice of detector has little influence on the small signal settling time of the loop.

Figure 5. Simulated AGC Loop Response to Small Amplitude Steps with Log, Envelope, RMS and Square Law Detectors Figure 6 shows the time domain output power profile of the same AGC loop to a 40 dB input step and suggests that the choice of detector has a more significant effect on settling time for large input steps. These results were obtained from simulations in which the VGA has representative limits on the gain range and on the maximum output level. The detectors contrived for these simulations have no particular limits. The theory is that in most practical situations, the designer will scale the circuit so that the detector does not limit appreciably before the VGA does.

Figure 6. Simulated Response of an AGC Loop to 40 dB Input Power Steps

Square-Law Detectors This type of detector has an instantaneous output that is proportional to the square of the instantaneous RF input voltage. This is equivalent to saying that its output is proportional to input power. This behavior, when incorporated into an AGC loop of reasonable bandwidth, makes the loop’s equilibrium average output power independent of the input waveform. As with the envelope detector, the output can never go negative. This would result in the loop having a similar tendency towards slew rate limited behavior when reacting to abrupt decreases in input amplitude. The response to large abrupt increases in input amplitude can be even more striking, however, because the square-law detector response exaggerates the effect of the input increase. The extent to which this happens depends on the clipping level of either the VGA or the detector, whichever happens at a lower level. True-RMS Detectors This detector is a square-law detector followed by a low-pass filter followed by a square-root function. The low-pass filter performs the “mean” operation associated with the RMS (Root-Mean-Square) function, and it should have a sufficiently long time constant to smooth the output variations of the squaring detector that would otherwise arise from the legitimate modulation of the signal. Because of the square-root element in this detector, the average output is proportional to signal voltage, not power. Therefore the loop’s response to small abrupt decreases or increases of signal level should be basically the same as that for an envelope detector, provided that the added filter pole within the RMS detector is compensated correctly elsewhere in the loop. The fact that the added pole is located in a region of the signal path that is square law brings forth the possibility of the large-step response being different from that of the simple envelope detector, as seen in Figure 6. Note that the RMS detector has a slightly slower recovery from a large downward amplitude step than does the standard envelope detector, but a slightly faster recovery (and a bit of overshoot) from a step up in input amplitude. In common with the square-law detector, the true-RMS detector will make the AGC loop’s

Page 195: Wireless Design Seminar 2006

VIII-6

equilibrium point independent of the RF signal waveform. It should be noted that the presence of the long-time-constant low-pass filter in this detector may have a marked influence on loop dynamics. This filter may even provide the dominant pole in some designs. Usually the time constant must be coordinated with that of the remainder of the loop for optimum loop stability.

Square Law and RMS Detectors Instantaneous output of Square Law Detector proportional to the square of the instantaneous RF input voltage

Output voltage of RMS Detector is proportional to (averaged) RMS input voltage

Output power of AGC Loop using RMS or Square Law Detector is independent of signal crest factor

Time constant of RMS Detector must be coordinated with time constant of error amplifier in AGC Loop

Figure 7 shows the block diagram of the ADL5500, an rms-responding power detector for use in high frequency receiver and transmitter signal chains from 100 MHz to 6 GHz. It is easy to apply, requiring only a single supply between 2.7 V and 5.5 V and a power supply decoupling capacitor. The input is internally ac-coupled with an input impedance of 50 Ω. The output is a linear-responding dc voltage with a conversion gain of 6.4 V/V rms at 900 MHz. The on-chip, 1 k Ω series resistance at the output combined with an external shunt capacitor, creates a low-pass filter response that reduces the residual ripple in the dc output voltage.

Figure 7. ADL5500 100 MHz to 6 GHz RMS Detector with Integrated Averaging Capacitor.

The ADL5500 offers excellent temperature stability with near 0 dB measurement error across temperature. The high accuracy range, centered around +3 dBm at 900 MHz, offers ±0.1 dB error from −40°C to +85°C over an 8.5 dB range. The ADL5500 reduces calibration requirements with low drift across a 30 dB range over temperature and process variations. Log Detectors This type of detector produces an output proportional to the logarithm of the RF input voltage. Because this behavior is complementary to that of the linear-in-dB VGA in the loop, the resulting loop dynamics are those of a linear system, assuming that signal level fluctuations during transients remain within the measurement range of the Log detector. Subject to that assumption, the AGC loop’s response to abrupt and large changes in input level will not be slew-rate limited. As with the envelope detector, the equilibrium point of an AGC loop using the Log detector will depend on the RF input waveform.

Log Detectors Output proportional to the logarithm of the RF input voltage

Linear-in-dB transfer function of Log Detector is complementary to gain control transfer function of Linear-in-dB X-Amp

Output power of AGC Loop using Log Detector will vary with signal crest factor

Figure 8. AD8317 1 MHz to 10 GHz, 50 dB Log

Detector/Controller

Page 196: Wireless Design Seminar 2006

VIII-7

The AD8317 is a demodulating logarithmic amplifier, capable of accurately converting an RF input signal to a corresponding decibel-scaled output. The device can be used in either measurement or AGC modes where it incorporates the error amplifier/integrator. The input dynamic range is typically 50 dB with error less than ±1 dB. The AD8317 has 8/10 ns response time (fall time/rise time) that enables RF burst detection to a pulse rate beyond 50 MHz. The device provides unprecedented temperature stability vs. ambient temperature conditions.

Because the output can be used for AGC applications, special attention has been given to minimize wideband noise. In this mode, the setpoint control voltage is applied to the VSET pin.

The feedback loop through an RF amplifier is closed via VOUT. The output of this regulates the amplifier’s output to a magnitude corresponding to VSET. The AD8317 provides 0 V to 4.9 V output swing at the VOUT pin (on a 5 V supply), suitable for controller applications.

AD8317 1 MHz to 10 GHz Log Detector/Controller

50 dB detection range Built-in error amplifier for operation in AGC mode

10 ns step response time Temperature stable to within ±0.5 dB AGC amplifier output swing from 0 V to 4.9 V (5 V supply)

Comparison of responses with different detectors: The AGC loops whose simulation results are shown in Figures 5 and 6 were designed so that the small-signal response speeds are identical. Figure 5 confirms that the AGC loop’s response is independent of the detector type for small steps in amplitude. This reflects the fact that small steps traverse such a small part of the nonlinearities that slopes don’t change noticeably as the response progresses. On the other hand, Figure 6 shows that the loop’s large-step transient response is markedly dependent on the type of detector. At one extreme, the Log detector gives the fastest response to large, abrupt decreases in input level because the logarithmic curve has a very steep

slope for low inputs, which exaggerates the loop’s response. However, the Log detector has a shallow slope for high input levels, resulting in a diminished response rate to sudden increases in signal level. At the other extreme, the square law detector’s small slope, near zero input level, gives it a very sluggish response to large decreases in input amplitude. Conversely, the square law detector exaggerates the response to large signals, giving the fastest response to increasing signals. The envelope and RMS detectors, having intermediate characteristics, give response speeds in between.

Detector Comparisons When Used in AGC Loops

Small signal response of different detectors are similar

Log detectors respond quickly to decreases in input power to AGC circuits

Square Law Detectors respond quickly to increasing input signals

RMS Detectors have intermediate response characteristics

Operating Level of Detector: Ideally the operating level of the detector should be set as high as possible in order to minimize error due to residual DC offsets. Also, the temperature stability of many detectors is best at high input power levels. However, other considerations often rule. For modulation types that involve amplitude modulation, the average input to the detector, when the loop is in equilibrium, must be lower than its maximum level. In order to form an error signal to drive the loop back towards equilibrium, even for constant-envelope signals, the settled input level must be lower than the maximum so that there is room for the detector level to increase if the system input level increases.

Setting Operating Level of Detector in AGC Loops

Set input level to detector as high as possible to minimize DC errors and temperature drift

Setpoint level should be set below maximum input level to allow loop to settle in response to positive input steps

Settling time for positive and negative input changes will be unequal

Page 197: Wireless Design Seminar 2006

VIII-8

Note that there will generally be unequal amounts of room for the detector output to swing up from the design equilibrium level as opposed to down, which will make the apparent attack and decay speeds of the loop differ. Design Example of a Working AGC Loop Now put the above considerations to work in a practical AGC loop. This design will use the AD8367 VGA. While the AD8367 VGA has an internal rms detector and AGC mode, the output setpoint level cannot be varied. As a result, in this example and external rms detector, AD8361 is used to provide a stable output. We will establish reasonable constraints for operating levels to maximize ACPR and AGC loop bandwidth, to avoid excessive gain pumping.

Design Example

AGC Loop constructed using AD8367 VGA and AD8361 RMS detector

Modulated carrier with 18 dB peak-to-average ratio

IF frequency: 380 MHz Power supply: 5 VDC

Insert figure 9. AGC Loop Design Example VGA output level By doing a sweep of ACP vs. output power it can be verified that the best ACPR for the chosen frequency occurs at a VGA output level of –9 dBm, which means that the IMD3 power in the adjacent channel roughly equals the noise power in the adjacent channel. From an earlier discussion, the distortion power within the channel is about 9 dB higher than the in-channel

noise. In order to achieve the best ratio of in-band signal to noise plus distortion, reduce the power to the level that brings the in-band distortion down to the noise level, which requires about 3 dB level reduction (assuming reasonably well-behaved 3rd order distortion). We therefore choose an average output level of –12 dBm from the VGA (into a total load of about 200 Ω), which is 112 mV rms. Detector operating level For this modulation type, the peak-to-average power ratio is about 18 dB. When operating from a 5 V supply, the maximum output level of the AD8361 is about 4.8 volts. We will presume that the squarer in the detector goes into clipping at the same input level that results in maximum output, for a CW signal (this is a slightly conservative assumption). Assuming that we don’t want the peaks of our modulated signal to drive the squarer into clipping, when the loop is in equilibrium, the average output level of the detector must be at least 18 dB below 4.8 V; 4.8 * 10 ^ (-18 / 20) = 604 mV. Since the conversion gain of the detector is 7.5 V/V rms, the loop-equilibrium input level should be 604 mV / 7.5 = 80 mV rms. This level can be obtained from the desired output level of the VGA by adding a series resistor of 90 Ω, which combines with the 225 Ω input resistance of the detector to form a voltage divider that achieves the desired result. Note that this loads the output of the VGA with 315 Ω. This means that the lowest additional parallel load impedance on the VGA would be 547 Ω in order to satisfy its design minimum load impedance of 200 Ω. In effect, more than half of the VGA’s power output is going to feeding the detector, which is not very satisfying. This could be remedied by driving the VGA end of the 90 Ω resistor with an emitter follower, raising the input impedance of the overall detector by the beta of the transistor used in the follower. This would free up almost all the output drive capability of the VGA for use by the useful load. Estimation of target AGC Loop Bandwidth To establish the maximum loop bandwidth that will avoid intolerable gain pumping, we must make a judgment call based on an empirical measurement. In this example, we estimate that 0.5 dB p-p gain pumping is acceptable. Using a spectrum analyzer with very wide resolution bandwidth, zero span, and a linear detector, we

Page 198: Wireless Design Seminar 2006

VIII-9

can estimate the desired loop bandwidth by passing a modulated signal through the spectrum analyzer to see the video bandwidth results in 0.5 dB p-p output variation. In this instance, result is 200 Hz. If necessary, this 200 Hz loop bandwidth can be re-adjusted later. RMS Detector Filter The RMS detector’s “mean value” filter comprises an internal filter resistance combined with an external shunt capacitance. The effective value of the filter resistance varies with drive level, from about 2000 Ω at a very low drive level down to about 500 Ω at a maximum drive level. For this example we will work with a value of 1.8 KΩ. In general, we should ascertain a suitable filter capacitance for the AD8361 rms detector by driving the circuit with a WCDMA signal. However, the previous measurement for loop bandwidth allows us to make a reasonable estimate of the required value. We found that a loop bandwidth of 200 Hz resulted in a 0.5 dB (~6%) p-p variation of detector output. This is roughly the maximum acceptable variation of RMS filter level that still gives good RMS accuracy. So, simply make the bandwidth of this filter equal to 200 Hz, which requires a filter capacitor of about 0.44 uF against the 1.8 KΩ filter resistance.

AGC Loop Design

AD8367 VGA delivers optimum noise and distortion at an output power of -12 dBm

Set attenuation between VGA and detector to prevent clipping

Set RMS detector bandwidth and AGC Loop bandwidth to 200 Hz

Loop bandwidth only applies for small input deviations

Loop Dynamics Design We will be developing a first order loop with a small-signal bandwidth of 200 Hz. Note that the RMS detector’s filter already contributes one pole at 200 Hz, so the remainder of the loop needs to take this into account. This will be achieved by choosing RCOMP to create a zero at 200 Hz in conjunction with CINTEG. The response speed of all the other elements in the loop is so much faster than that of the desired loop that we can safely ignore all other poles.

Remember that the loop bandwidth we are designing will apply only for small deviations from the AGC loop’s equilibrium level. Large transients will behave differently because of the nonlinear character of the loop. VGA Gain From a loop dynamics perspective, the next step is to determine the incremental gains of the VGA and of the detector. In the case of the VGA and in this context, “gain” refers the relationship between the gain control voltage and the gain of the VGA. Use Vin and Vout to represent rms values of the VGA’s RF input and output, respectively and Vg represents the gain control voltage. After reviewing the data sheet for data performance of the AD8367 for 240 MHz combined with a bit of extrapolation and rounding, it can be said that 0 dB of gain occurs at a control voltage of 0.1 V and that the control slope is exactly 50 dB/V. First write the equation relating Vout to Vin and Vg, then differentiate Vout with respect to Vg to obtain the incremental slope needed. Notice that the slope can be expressed as a function of Vout (when the equilibrium value is known) and Vg, without direct knowledge of Vin. (1) GAIN = 10(50 * (Vg – 0.1) / 20)

where: 50 is the VGA control slope in dB/V, and 0.1 is the gain intercept (the control voltage giving unity gain)

(2) VOUT = VIN * GAIN Combining (1) with (2), rearranging and multiplying yields: (3) VOUT = VIN * 10(-0.25) * 10(2.5 * Vg) Now differentiate Vout with respect to Vg to obtain the incremental slope: (4) dVout/dVg = Vin*10(-0.25) * 10(2.5*Vg) *

ln(10) * 2.5 Next substitute (3) into (4) and evaluate ln(10) * 2.5 to get: (5) dVout/dVg = Vout*ln(10) * 2.5 = Vout * 5.75646

Page 199: Wireless Design Seminar 2006

VIII-10

At equilibrium, Vout is 112 mV (explained earlier); the incremental slope then evaluates to 0.112 * 5.756 = 0.6447 Vrms/V.

GAIN = 10(50 * (Vg – 0.1) / 20) (1)

VOUT = VIN * GAIN (2)

VOUT = VIN * 10(-0.25) * 10(2.5 * Vg) dVOUT/dVg = VIN*10(-0.25) * 10(2.5*Vg) * ln(10)* 2.5 (3)

dVOUT/dVg = Vout*ln(10) * 2.5 = Vout * 5.75646 (4)

Incremental Slope = 0.112 * 5.756 = 0.6447 Vrms/V (5)

The nominal conversion gain of the AD8361 rms detector is 7.5, from the rms value of the input to the DC output. However, remember a 90 Ω series resistor was placed at the input of the detector in order to help obtain the desired alignment of signal levels at various points in the system. This has the effect of reducing the detector’s effective gain to 5.357, which is the value used in the loop analysis. Overdrive Recovery Recovery time from overload can be adversely affected if the output of the integrator stage is permitted to severely overdrive the gain control input of the VGA. This situation would arise if the loop is left sitting for a while with a very low (or zero) input signal level. In an effort by the loop to find more gain, the output voltage of the integrator would continue to rise until it reached saturation of the op amp. A big problem arises when a significant signal does finally arrive at the system input. Before the loop can begin reducing the gain, wait for the integrator’s output to ramp back down to 1 V, which takes a while. In our circuit the maximum output voltage of the integrator is nearly 5 V, while the maximum useful control input to the AD8367 VGA is about 1.0 V. Therefore insert a resistive voltage divider of slightly less than 5:1 in the AGC path. Calculation Of Component Values In the loop there is a net gain (momentarily excluding the integrator) of 0.644 (VGA incremental slope) * 5.357 (effective detector slope) / 4.3 (Vagc atten) = 0.803. For a loop bandwidth of 200 Hz the loop gain should be unity at that frequency. If the rest of the loop has a gain of 0.803, the integrator must have have a gain of 1.0 / 0.803 = 1.245, which requires that the reactance of Cinteg at 200 Hz be 1.245 times the value of Rin. Mathematically, 1 / (2 Π * 200 * Cinteg) = 1.245 * Rin; Rin * Cinteg = 639.2 μs.

There is a practical constraint which is the AD8361 cannot source very much current, and can sink even less. Therefore make the value of Rin fairly high, and also provide a pulldown at the AD8361’s output to improve current sinking. Choose a rather high value of 50 kΩ for Rin in order to minimize total loading on the AD8361’s output that leads to a value of 12.78 nF for Cinteg. Finally, choose the value of Rcomp to provide a loop zero at 200 Hz with Cinteg, which requires a value of 62.3 kΩ. Circuit Tests The exact circuit that was implemented is shown in Figure 10. The measured step response shows excellent agreement with simulation (Figure 11). Figure 12 shows the measured gain pumping, obtained by capturing the signal at the gain-control input of the VGA with an oscilloscope and scaling into dB.

Figure 10. Complete AGC Circuit

Figure 17. Measured Breadboard AGC Response to 30 dB Steps

-35

-30

-25

-20

-15

-10

-5

0

5

10

15

20

25

0 0.005 0.01 0.015 0.02

Time (sec)

Po (

dBx)

Figure 11. Measured AGC Response to 30 dB Positive and Negative Input Steps

Page 200: Wireless Design Seminar 2006

VIII-11

Figure 18. Measured Gain Pumping for Breadboard AGC Loop

-0.1

-0.05

0

0.05

0.1

0.15

0 0.02 0.04 0.06 0.08 0.1

Time (sec)

dB G

ain

Varia

tion

Figure 12. Gain pumping of AGC Example Circuit Fine Tuning The Circuit When the circuit was first tested, some unexpected overshoot (a few percent) was noted on the recovery from small amplitude steps. This was traced to an unexpectedly long detector time constant, suggesting that the rms filter capacitor had too large a value. The capacitor’s value was originally calculated from an assumed value of 1.0 KΩ for the detector’s internal filter resistance, which was too low. Reducing the capacitor to 0.44 uF in the circuit solved the problem. AD8368 - A VGA With A Built-In Variable Setpoint AGC The Analog Devices’ AD8368 is a variable gain amplifier with analog linear-in-dB gain control that can be used from low frequencies to a few hundred MHz. Its excellent gain control range, conformance and flatness are attributed to Analog Devices’ X-AMP TM architecture. The gain range of -12 to 22 dB is scaled accurately to 40 dB/V with low conformance error. The AD8368 has a 3-dB bandwidth of 800 MHz that is independent of gain setting. At 70 MHz, the OIP3 and P1dB are 33 dBm and 17 dBm, respectively. The output noise floor is –143 dBm/Hz, which corresponds to 9 dB noise figure at maximum gain. The single-ended input and output impedances are 50 Ω. The gain of the AD8368 can be configured to be an increasing or decreasing function of the gain control voltage depending on whether the MODE pin is pulled to the positive supply or to ground, respectively.

AD8368 IF VGA – Key Features

Analog Variable Gain Range: -12 to 22dB Linear-in-dB Scaling: 40dB/V 3dB Bandwidth: 800 MHz Integrated RMS Detector and AGC Mode Output 1dB Compression: 17 dBm Output IP3: 33 dBm Noise Figure: 9 dB Input and Output Impedances: 50 Ω

The AD8368 may be used as an AGC amplifier as shown in Figure 13. For this application, the accurate internal square-law detector is employed. The output of this detector is a current that varies in polarity depending on whether the rms value of the output is greater or less than its internally determined set point of -11 dBm. This is 178mV pk-pk for sine-wave signals, but the peak amplitude for other signals, such as Gaussian noise or those carrying complex modulation, will invariably be somewhat greater. However, for all waveforms having a reasonable crest factor (less than 13 dB), the rms value will be correctly measured and delivered at VOUT. The output setpoint may be adjusted using an external resistive divider network as depicted in Figure 13. In this configuration the RMS output voltage will be equal to (1+n)63mVrms, where n=R2/R1. For the default set-point of 63mVrms simply short R1 (direct connection from OUTP to DETI) and remove R2.

Figure 13. AD8368 IVGA with 34dB Gain Control Range with on-board AGC Detector

Page 201: Wireless Design Seminar 2006

VIII-12

The AGC mode of operation requires choosing the correct gain direction. Specifically, the gain must fall as VAGC increases to restore the needed balance against the set-point. Therefore, the MODE pin must be pulled low. This very accurate leveling function is shown in Figure 14, where the rms output is held to within 0.2 dB of the set point for >30 dB range of input levels. This measurement was made using R1 = 100 Ω and R2 = 226 Ω to achieve 0 dBm output level.

Figure 14. Output Power versus Input Power in AGC Mode at 140MHz.

Figure 15. Monitoring the GAIN/DETO RSSI Voltage versus Input Power.

AD8368 IF VGA – AGC Mode

On-board AGC circuit settles to -11 dBm rms

AGC setpoint can be increased using attenuator between IF output and detector input

Sense of VGA gain control can be reversed to enable AGC mode

AGC gain control voltage provides RMS RSSI output

A valuable feature of using a square law detector is that the RSSI voltage is a true reflection of signal power, and may be converted to an absolute power measurement for any given source impedance. The AD8368 may be employed as a true-power meter by monitoring the voltage present at the DETO/GAIN interface (Figure 15). Figure 16 illustrates the measured error-vector-magnitude (EVM) performance for a 16-QAM modulation at 10MSymbols/sec using CDETO=1000pF. At lower symbol rates the AGC loop could start to track the peak to peak transitions due to the modulation (gain pumping). At lower symbol rates it may be necessary to slow down the response of the AGC loop by increasing the value of CDETO .

Figure 16. Error Vector Magnitude vs. Input Power for 16-QAM Carrier at 10Msymbols/sec.

Page 202: Wireless Design Seminar 2006

IX-1

Chapter IX Using Calibration and Temperature Compensation to improve RF Power Detector Accuracy By Carlos Calvo and Anthony Mazzei Introduction Accurate RF power management is a critical issue in modern wireless transmitters, offering a variety of benefits ranging from power amplifier protection in base-stations to battery conservation in mobile applications. RF power detectors, such as logarithmic amplifiers, allow RF power management systems to monitor and dynamically adjust the transmitted power over a wide range. Although the accuracy of power detection has significantly improved in recent years, applications such as those requiring high power transmission are dramatically affected even by fractions of a dB of power detection error. As a result, there is a continuous push for tighter detector performance. Using a combination of a logarithmic amplifier and a temperature sensor it is possible to design a temperature compensation scheme to significantly reduce the contributions of the two major error factors in RF power management, temperature and process variations. In some cases, the temperature compensation hardware is integrated onto the power detector chip.

RF Power Management

RF Power Management is Critical in Modern Wireless Transmitters

Preserves Battery Current in Terminals

Protects High Power Amplifiers RF Detectors Enable Measurement and Control of RF Power

High RF Power Measurement Precision Can Be Achieved Using Temperature Sensors and On-Board Temperature Compensation

RF Power Management at a Glance Accurate RF power management in base-stations is of high importance. Overdriving the transmitting power amplifier beyond the necessary output power level can be costly. Excessive current usage will result in higher expenses and also introduces thermal dissipation issues requiring more thermal relief. In the extreme case, overdriving the power amplifier

can lead to reliability issues resulting from burn-out failures. The added benefits of accurate RF power management in base-stations also transcend to mobile transmitters as they have similar demands. With the ability to accurately control the output power, the mobile device can minimize supply current expenditures. For instance, RF power management allows the transmitted power to be precisely limited to the minimum required power level reducing battery current Accurately controlling the power will extend talk time while still permitting the mobile transmitters to meet the cellular standard requirements. A Typical Wireless Transmitter with RF Power Control Figure 1 shows a block diagram of a typical RF transmitter with integrated power management. The transmit signal path consists three consecutive stages – base-band, radio, and power amplifier.

Figure 1. RF power management circuits use logarithmic amplifiers to take advantage of the their wide linear-in-dB detection range. A portion of the transmitted signal is sampled by the directional coupler before it reaches the antenna. The sampled RF power is delivered to the power detector where it is converted to a DC voltage. The output voltage of the power detector is digitized and fed to the digital signal processor (DSP) or the microcontroller. Once the power measurement is available as a digital

Page 203: Wireless Design Seminar 2006

IX-2

level, a decision is made based on the measured output power versus the desired output power. The microcontroller will adjust the output power using a digital to analog converter (DAC) and a variable gain amplifier (VGA) to drive the signal path power control – either at the base-band, radio, or power amplifier. The RF power management loop will reach steady-state once the measured output power and the desired output power are balanced. A temperature sensor can also be introduce as an input to the microcontroller to add temperature compensation capabilities. A similar RF power management loop can be implemented using only analog circuitry in transmitters.

Implementing RF Power Control

With Digital Control, Detector Output Is Sampled By An ADC

DAC Adjusts Gain In Signal Chain To Achieve Desired Output Power

External Temperature Sensor Helps Compensate For Drift of Detector

Analog Control Loop Can Also Be Implemented

Historically, diode detectors have been used in RF power management circuitry to regulate transmitted power. They offer good temperature stability at high input power levels, but have poor performance at low power levels. Even with temperature compensation circuitry, a diode detector can only offer a small detection range with worsening temperature performance at low input powers. A popular alternative to the diode detector is the demodulating logarithmic amplifier. The logarithmic amplifier offers an easy to use linear-in-dB RF power detection response with a wide dynamic range. A 50 dB Log Amp With Operation Up To 3.5 GHz Figure 2 shows the block diagram of a progressive compression logarithmic amplifier. This is a complete, low cost subsystem for the measurement of RF signals in the frequency range of 50 MHz to 3.5 GHz. It has a typical dynamic range of 45 dB and is intended for use in a wide variety of cellular handsets and other wireless devices. It provides a wider dynamic range and better accuracy than using discrete diode detectors. In particular, its temperature stability is excellent over the full operating range of −40°C to +85°C.

In the block diagram, there are four 10 dB cascaded limiting amplifiers that make up the progressive compression chain. Five full-wave rectifier detector cells convert the RF signal voltages to currents – one detector cell at the RF input and four at the outputs of the amplifier stages. The currents generated by the detector cells are proportional to the average of the voltage signal levels and are added together to approximate a logarithmic function. The sum of currents in converted to a voltage with a high-gain stage. The five detector cells across the four 10 dB amplifier stages allow the logarithmic amplifier to have a 50 dB detection range.

Figure 2. Five detector cells across four 10 dB amplifier stages allow the progressive compression logarithmic amplifier to have a 50 dB detection range. Figure 3 shows the transfer function a 60 dB logarithmic amplifier. There is a linear relationship between the RF input power and the output voltage, that is, as the input power increases, the output voltage follows in a linear-in-dB fashion. The figure also includes a logarithmic conformance error curve. The conformance error curve serves to more closely examine the logarithmic amplifier’s performance. The slope and x-axis intercept of the curve are calculated over the linear part of the detection range, highlighted in grey. This information provides a simple linear model to compare with the actual response of the logarithmic amplifier. The ideal linear reference model is represented by the dashed-line in the plot. The comparison of the ideal linear model to the transfer function yields the logarithmic conformance error curves scaled in dB.

Page 204: Wireless Design Seminar 2006

IX-3

Figure 3. An ideal reference model calculated over the linear part of the detection range is used to compare with the actual response of the logarithmic amplifier. The comparison yields a logarithmic conformance error curve. The method of calculating logarithmic conformance error is similar to the two-point calibration technique used in RF power management system calibration. During production testing, two known RF signal strengths are chosen in the linear range of the detector. Using the resulting voltage outputs, the slope and intercept characteristics of the response are calculated and stored in non-volatile memory to form a simple linear equation. The transmitted power in the field can then be easily calculated using the linear-in-dB function and the measured detector voltage. There are the considerable benefits of reduced cost and trimmed test time by using only two points at calibration. However, this calibration practice is only possible due to the log amp’s linear performance.

Log Conformance Calculations

Conformance error curves serve to examine the log amp's performance

The slope and intercept are calculated over the linear part of the detection range

The comparison of the ideal linear model to the transfer function yields the logarithmic conformance error curves scaled in dB

Error calculation method is similar to the two-point calibration technique used in system calibration

Once ideal model is established, transmitted power can be calculated using the linear-in-dB function and the measured detector voltage

Because calibration is generally done at a single temperature, the effects of temperature on the detector are important to quantify. The accuracy of a detector over temperature can be expressed in terms of conformance error. Figure 4 shows the transfer function at 900 MHz. The plot includes the transfer functions at -40ºC and +85ºC, as well as the logarithmic conformance error curves over temperature. As would be the case with two-point calibration, the same 25ºC linear reference is used to generate the three linear conformance error curves.

Figure 4. The logarithmic conformance error at 900 MHz of a single log detector device shows an accuracy of ±0.5 dB over temperature. The transfer function of the logarithmic amplifier at 25ºC ambient temperature has a slope of 50.25 dB/V and a -51.6 dBm intercept (the point at which the extrapolated linear reference would intersect with the x-axis). The curve at 25ºC hovers around the 0 dB error line, while the temperate extremes have minor slope and intercept shifts. The logarithmic conformance error of this single device across temperature stays within ±0.5 dB across a 40 dB detection range. The temperature drift at +85ºC is the limitation to the dynamic range. Individual devices may have excellent accuracy over temperature, however, minor part-to-part variations inherent in semiconductor processing can prove to be an obstacle to precise RF power management. Figure 5 shows the distribution of logarithmic conformance error curves of 70 multiple devices. The sampling of devices spans across various lots to demonstrate process variations. Each device has three temperature curves calibrated to its 25ºC linear reference. Although there is a

Page 205: Wireless Design Seminar 2006

IX-4

clear variation from part-to-part, the distribution is very tight. The population of device over temperature has an accuracy of ±1 dB over more than 40 dB of detection range. Temperature compensation can be introduced due to the repeatable drift from part-to-part.

Figure 5. There is a clear variation in logarithmic conformance error curves from part-to-part, however, the distribution is very tight. Temperature compensation can be introduced due to the repeatable temperature drift. Typically wireless communication standards require ±1 dB and ±2 dB accuracy from transmit power detection schemes with relaxed limits at extreme temperatures. The raw accuracy of the logarithmic amplifier is sufficient to meet most standards without any fine tuning. Still, there are clear advantages associated with exceeding the RF power management requirements set by the different standards. Digital Compensation Of Errors As previously discussed, the microcontroller can actively adjust the transmitted power by biasing the transmit signal path. By adding a temperature sensor, the microcontroller can further increase the accuracy of a RF power management system. As long as the detector has repeatable temperature drift, some level of error compensation is possible. Compensation routines taking into account environmental changes can be integrated in the microcontroller’s decision making to significantly reduce or eliminate process and temperature variations. For example, if a power detector repeatedly drifts with temperature, a compensation algorithm can be implement to remove the expected error at the known temperature.

Figure 6 shows the logarithmic conformance error curves for a large number devices. At 3.5 GHz, the temperature drift is spread out from +1 dB to -4 dB. The population at -40ºC follows the 25ºC curves closely. In contrast, the distribution at +85ºC is shifted by 2.5 dB and is no longer parallel to the 25ºC distribution. Although the temperature drift at this frequency is sizeable, the distribution at each particular temperature remains very tight. Because of this drift repeatability, a compensation scheme can be implemented to dramatically improve the accuracy.

Figure 6. At 3.5 GHz, the temperature drift distribution at +85ºC is shifted and no longer parallel to the 25ºC distribution. A trend line through the linear region of the +85ºC logarithmic conformance curves represents the error model at that temperature. Over temperature there are slope and intercept variations that lead to temperature drift. With this in mind, an error model can be derived by analyzing the population of devices. An error function expressing the movement of the population over temperature can be created, as shown in Figure 6. A trend line is drawn through the linear region of the +85ºC log conformance curves to represent the error model at +85ºC, error+85 ºC. Using the slope and intercept characteristics of the error line, a complimentary function can be used to cancel out the temperature variation. Still, the model only represents the error introduced by the +85ºC temperature drift. The majority of the temperature drift occurs linearly between 25ºC and +85ºC. A generalized error function for all temperatures in that range can be created using a scaling factor, k(T), which is a function of temperature. The combination of

Page 206: Wireless Design Seminar 2006

IX-5

the complimentary error function and the temperature scaling function are combined as shown in Figure 7. As the temperature increases, the scaling factor will track and eliminate the error caused by the rising temperature drift.

Figure 7. A complimentary error function is used to cancel out temperature variation. The logarithmic conformance error over the full temperature range is improved with error compensation. Figure 7 shows the distribution of logarithmic conformance using the error compensation scheme described. Before compensation, the logarithmic conformance error spanned 5 dB. With the incorporation of error compensation, the logarithmic conformance error over the full temperature range is improved to approximately ±0.5 dB from -30 dBm to 0 dBm. The achievable accuracy of a RF power management system is determined by the distribution of the population of devices. Similar results are also possible at lower temperatures and lower frequencies where temperature drift is not as significant.

Error Compensation Method

Over temperature, slope and intercept variations lead to temperature drift.

An error function can be created to express the movement of the distribution over temperature

A function complimentary to the error is used to cancel out the temperature variation

A 60 dB Log Amp with Analog Temperature Compensation Figure 8 shows the block diagram of the AD8318, a demodulating logarithmic amplifier capable of accurately converting an RF input signal to a corresponding decibel-scaled output voltage. It also employs a progressive compression technique over a cascaded amplifier chain, each stage of which is equipped with a detector cell. The device can be used in measurement or controller mode. The AD8318 maintains accurate log conformance for signals of 1 MHz to 6 GHz and provides useful operation to 8 GHz. The input range is typically 60 dB (re: 50 Ω) with error less than ±1 dB. The AD8318 has a 10 ns response time that enables RF burst detection to beyond 60 MHz. The device provides unprecedented logarithmic intercept stability versus ambient temperature conditions. A 2 mV/K slope temperature sensor output is also provided for additional system monitoring.

TEMPSENSOR

GAINBIAS SLOPE

DET DET DET DET

INHI

INLO

I V VOUT

I V VSET

CLPF

TEMP

VPSI ENBL TADJ VPSO

CMOPCMIP 0485

3-00

1

Figure 8. Block diagram of the AD8318 progressive compression logarithmic amplifier with 60 dB log conformance for signals of 1 MHz to 8 GHz Through the life span of a semiconductor process there are variations in its parameters, such as sheet resistance, capacitance, and beta. All of these variants influence the slope, intercept, and temperature performance of the detectors. A method to mitigate the influence of process variation is to use a laser-trimmed logarithmic amplifier. Figure 9 shows a distribution of logarithmic conformance of the AD8318, a trimmed 60 dB logarithmic amplifier, at 1.9 GHz. Instead of digital compensation, the device uses on-board temperature circuitry and an external resistor to optimize temperature performance. The value of the resistor is dependant on the required magnitude of the correction coefficient. The analog compensation circuit alone achieves a tight distribution with ±0.5 dB in the central detection range.

Page 207: Wireless Design Seminar 2006

IX-6

Figure 9. Instead of digital compensation, a laser-trimmed logarithmic amplifier using analog compensation circuitry can achieve accurate RF power management.

Summary With accurate RF power management, base-stations and mobile transmitters can benefit from power amplifier protection and reduced power consumption while dramatically surpassing cellular standard requirements. Using a stable logarithmic amplifier and a temperature sensor, microcontrollers can compensate for temperature drift errors to improve the overall accuracy of a RF power management system. Logarithmic amplifiers with tight temperature distributions allow for simple error compensation. Two point calibration with a moderate amount of temperature drift characterization can set the stage for accurate RF power management of ±0.5 dB over temperature.

Page 208: Wireless Design Seminar 2006

X - 1

Chapter X Measuring VSWR and Gain in Wireless Systems By Eamon Nash Introduction Measurement and control of gain and reflected power in wireless transmitters are critical auxiliary functions that are often overlooked. The power reflected back from an antenna is specified using either the Voltage Standing Wave Ratio (VSWR) or Reflection Coefficient (also referred to as Return Loss). Poor VSWR can cause shadowing in a TV broadcast system as the signal reflected off the antenna reflects again off the power amplifier and is then rebroadcast. In wireless communications systems, shadowing will produce multi-path-like phenomena. While poor VSWR can degrade transmission quality, the catastrophic VSWR that results from damage to co-axial cable or to an antenna can, at its worst, destroy the transmitter. The gain of a signal chain is measured and controlled as part of the overall effort to regulate the transmitted power level. If too much or too little power is transmitted, the result will be either violation of emissions regulations or a poor quality link. Reflection Coefficient is calculated by measuring the ratio between forward and reverse power. Gain, on the other hand, is calculated by measuring input and output power. The high commonality of hardware used to measure gain and VSWR can reduce overall component count. This article will focus on techniques that can be used to perform these in-situ measurements in wireless transmitters. A typical Wireless Transmitter Figure 1 shows a typical wireless transmitter. This consists of mixed-signal baseband circuitry, an up-converter (which generally includes one or more intermediate frequencies or IFs), amplifiers, filters and a power amplifier. These components may be located on different PCBs or may even be physically separated. In Figure 1, for example, an indoor unit is connected to an outdoor unit with a cable. In such a configuration both units may be expected to have well defined, temperature stable gains (this is especially true if the two units were made by different vendors). Alternatively, each unit might be expected to deliver a well defined output power.

Figure 1. Output Power is regulated by measuring output power and then adjusting the VGA gain. Gain is regulated by measuring both input and output power and then adjusting the VGA gain. So, there are two different approaches to the ultimate goal of delivering a known power level to the antenna; Power Control or Gain Control. With Power Control, the system relies on being able to precisely measure output power (using Detector D in this example). Once output power has been measured, the gain of some component in the system (in this case it might be the IF VGA) is varied until the correct output power is measured at the antenna. It is not necessary to know the gain of the circuit or the exact input signal amplitude; it's just a matter of varying gain or input signal until the output power is correct. This approach is often (incorrectly) referred to as Automatic Gain Control or AGC. To be correct, it should be referred to as Automatic Power Control or APC since it is power not gain that is being precisely regulated. Gain Control takes a different approach. Here, at least two power detectors are used to precisely regulate the gain of the complete signal chain or a part thereof. The ultimate goal of precisely setting the output power is then achieved by applying a known input signal to the signal chain. A number of factors ultimately determine which approach is used. Power control requires only one power detector and makes sense in a non-configurable transmitter whose components are fixed. So, for example, power could be measured

Page 209: Wireless Design Seminar 2006

X - 2

at the output of the RF HPA but adjustments would be made using the IF VGA. Gain Control, on the other hand, may make more sense in a reconfigurable system whose components come from different vendors. In Figure 1 the input power and output power at the HPA are being measured (using Detectors C and D) so the gain can be regulated independent of the other blocks in the circuit. Note that the power/gain control loops can be all-analog or microprocessor based. Using Gain Control to regulate the gain of the complete signal chain in Figure 1 would be less practical since the two required detector signals (Detector A and Detector D) are physically remote from one another. A more practical approach would be to independently control the gain of the Indoor and Outdoor units. RF Detectors Until recently, most RF power detectors were built using a temperature-compensated half-wave rectifying diode circuit. These devices deliver an output voltage that is proportional to the input voltage over a limited dynamic range (typically 20 to 30 dB). As a result, the relationship between output voltage and input power in dBm is exponential (Figure 2). While the temperature stability of a temperature-compensated diode detector is excellent at high input powers (+10 to +15 dBm), it degrades significantly as input drive is reduced.

Figure 2. Diode Detectors measure signal strength over a narrow range and provide an output voltage which is exponentially related to input power in dBm. Log detectors provide an output voltage which is directly proportional to the input power in dBm. A log detector, on the other hand, delivers an output voltage proportional to the log of the

input signal over a large dynamic range (up to 100 dB). Temperature stability is usually constant over the complete dynamic range. A log-responding device offers a key advantage in gain and VSWR measurement applications. In order to compute gain or reflection loss, the ratio of the two signal powers (either OUTPUT/INPUT or REVERSE/FORWARD) must be calculated (Figure 3). An analog divider must be used to perform this calculation with a linear-responding diode detector, but only simple subtraction is required when using a log-responding detector (since Log (A/B) = Log(A) – Log (B)).

Figure 3. To perform a ratio (gain) calculation using linear in V/V responding diode detectors, analog division must be performed. Using log-responding detectors (log-amps), a ratio calculation can be performed using simple subtraction. A dual RF Detector has an additional advantage compared to a discrete implementation. There is a natural tendency for two devices (RF Detectors in this case) to behave similarly when they are fabricated on a single piece of silicon, with both devices having similar temperature drift characteristics, for example. At the summing node, this drift will cancel to yield a more temperature-stable result. A Dual RMS Responding RF Detector The AD8364 is a true rms, responding, dual-channel RF power measurement subsystem for the precise measurement and control of signal power. The flexibility of the AD8364 allows communications systems, such as RF power amplifiers and radio transceiver AGC circuits, to be monitored and controlled with ease. Operating on a single 5 V supply, each channel is fully specified for operation up to 2.7 GHz over a dynamic range of 60 dB. The AD8364 provides accurately scaled, independent, rms outputs of both RF measurement channels. Difference output ports, which measure the difference between the two channels, are also available. The on-chip channel matching makes the rms channel

Page 210: Wireless Design Seminar 2006

X - 3

difference outputs extremely stable with temperature and process variations. The device also includes a useful temperature sensor with an accurately scaled voltage proportional to temperature, specified over the device operating temperature range. The AD8364 can be used with input signals having rms values from −55 dBm to +5 dBm referred to 50 Ω and large crest factors with no accuracy degradation.

Figure 4. AD8364 Dual RMS Responding 60 dB RF Detector Functional Block Diagram

The device can easily be configured to provide four rms measurements simultaneously. Linear-in-dB rms measurements are supplied at OUTA and OUTB, with conveniently scaled slopes of 50 mV/dB. The rms difference between OUTA

and OUTB is available as differential or single-ended signals at OUTP and OUTN. An optional voltage applied to VLVL provides a common mode reference level to offset OUTP and OUTN above ground. Gain Measurement Example Figure 5 shows a transmitter whose gain is regulated using a dual power detector. The simplified transmit signal chain shown consists of a high-performance IF-synthesizing DAC, VGA, mixer/upconverter, and High-Power Amplifier. High-performance DACs, such as the AD9786 and AD9779, that run at sampling frequencies up to 500 MSPS and beyond are capable of synthesizing Intermediate Frequency outputs (100 MHz in this example). The output of the DAC is Nyquist filtered using a band-pass filter before being applied to a ADL5330 variable gain amplifier. Conveniently, the amplifier accepts a differential input that can be tied directly to the output of the differential filter. This, in turn, is tied to the DAC output. The VGA output is converted from differential to single-ended using a balun transformer, and is then applied to the ADL5350 mixer . After appropriate filtering (not shown), the signal is amplified and transmitted at a maximum output power level of 30 watts (approximately +45 dBm).

Figure 5. A dual Power Detector can be used to measure and control the gain of a signal chain even when the input and output frequencies are different.

Page 211: Wireless Design Seminar 2006

X - 4

The gain of the signal chain is measured by detecting the power at the DAC output and at the output of the HPA. Gain is then regulated by adjusting the gain of a VGA. At the DAC and PA outputs, a sample of the signal is taken and fed to the detectors. At the HPA output, a directional coupler is used to tap off some of the power going to the antenna. While an asymmetrical power splitter could also be used, a directional coupler results in lower insertion loss (little or no power is consumed in the coupler) and tends to reject any signals that are received on the antenna (in-band or out-of-band blockers). A 20 dB directional coupler is be used in this example, but the coupling factor could be much lower, since the signal must be attenuated before being applied to the power detector. Directional couplers with lower coupling factors have the added advantage of even lower insertion loss. The transfer function of the AD8364 dual detector shows that at the output frequency used (2140 MHz in this case), the detector has the best linearity and most stable temperature drift at power levels below –10 dBm. Thus, the power coming from the directional coupler (+25 dBm max) must be attenuated before being applied to the detector. If maximizing detector dynamic range is not critical to the application, the attenuation can be conservatively set at 41 dB so that the detector sees a maximum input power of –16 dBm. This still leaves about 34 dB of useful dynamic range over which the gain can be controlled. When using single-chip dual power detectors, attention must be paid to RF feed through. In general, when one input power is about 40 dB below the other, measurement accuracy suffers. In this application, the input power levels to both detectors are equal when the system is at full power. So, the maximum power level at the input detector has also been set to –16 dBm. To detect the input Power level at the DAC output, a directional coupler is impractical at this low frequency. In addition, directional coupling is not necessary since there will be little or no reflected signal at this point in the circuit. Furthermore, the power being delivered to the VGA is –10 dBm, so the power to be delivered to the detector is only 6 dB lower. The detector

has an input impedance of 200 ohms and the VGA has an input impedance of 50 ohms, so it quickly becomes clear that the two devices can simply be connected in parallel. With the same voltage present at both inputs, the 50-to-200 ohm impedance ratio will result in a convenient 6 dB power difference. Where high measurement precision is required, care must be paid to the temperature stability of the power detectors. This issue is further complicated if the temperature drift characteristics of the detectors change with frequency. The dual detector shown provides temperature compensation nodes.

Figure 6. The operating input range of a detector should be chosen so that the detector always sees a power level which is well within its linear operating range, between –10 dBm and –50 dBm in this case. Temperature compensation is activated by connecting a voltage to the ADJ pins of each detector (this voltage can be conveniently derived using a resistor divider from the 2.5 V on-chip reference). No compensation is required for the low frequency input (ADJB is grounded), while a 1.0-V compensation voltage is required at ADJA to minimize temperature drift at 2.1 GHz. While the focus of the application circuit in Figure 5 is gain measurement, it should be noted that input power and output power can also be measured. The outputs of the individual detectors are available and can be separately sampled. Because the detectors are log-responding, their outputs can be simply subtracted to yield gain. This subtraction is performed on chip and the gain result is delivered as a differential voltage. The full-scale differential voltage is

Page 212: Wireless Design Seminar 2006

X - 5

approximately ±4 V (biased up to 2.5 V) with a slope of 100 mV/dB. Digitizing with a 10-bit ADC with an LSB size of ~10 mV (±5 V fullscale), 0.1-dB measurement resolution is achievable. An Analog Gain Control Loop A dual RMS-responding detector operating in Controller Mode can also be used to control the gain of an HPA very accurately vs. input power, temperature, and crest factor. If the gain of an HPA module is controlled with enough accuracy over input power, temperature, and crest factor, the HPA module’s output power would not have to be reported but would be directly related to the power feeding it. If both inputs of a dual detector are put in Controller Mode, the detector determines the power at each input and adjusts the gain of a VGA until the power detected on one input is equal to the power on the other. Figure 7 shows a basic schematic of the AD8364 (dual RMS detector) used to control the gain of a system. Figure 8 shows the performance of this setup. Everything that needs to be accurately controlled should be included between the two couplers. Note that a VGA, variable attenuator, or even the bias of the HPA can be used to control the gain. If the control levels between the detector and VGA are set properly and power levels are properly designed for, the usable input power range will be close to the detectable power range of the detector (60 dB, in the case of the AD8364).

Figure 7. When both inputs of a dual detector are used in Controller Mode, the detector will control a VGA (or VVA, etc.) in such a way as to equalize the power it detects at both RF inputs. The gain of the system will be determined by the couplers and attenuators used to set the power being detected by the dual detector.

19

19

20

20

20

20

21

21

21

21

22

-55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15

Pin(dBm)

Gai

n(dB

)

Gain -40 Deg C

Gain -20 Deg C

Gain 25 Deg C

Gain 85 Deg C

Figure 8. When both inputs of Analog Devices dual RMS detector (AD8364) are put in Controller Mode, the gain is controlled to better than ±.15 dB vs. temperature and input power, with a dynamic range almost equal to the dynamic range of the RMS detector. A 60 dB Gain/Phase Detector The AD8302 is a fully integrated system for measuring gain/loss and phase in receive, transmit, and instrumentation applications. It requires few external components and a single supply of 2.7 V–5.5 V. The ac-coupled input signals can range from –60 dBm to 0 dBm from low frequencies up to 2.7 GHz. The outputs provide an accurate measurement of either gain or loss over a ±30 dB range scaled to 30 mV/dB, and of phase over a 0°–180° range scaled to 10 mV/degree. The AD8302 can be used in controller mode to force the gain and phase of a signal chain toward predetermined setpoints.

Figure 9. AD8302 60 dB Gain/Phase Detector

The AD8302 comprises a closely matched pair of demodulating logarithmic amplifiers, each having a 60 dB measurement range. By taking the difference of their outputs, a measurement of

Page 213: Wireless Design Seminar 2006

X - 6

the magnitude ratio or gain between the two input signals is available. These signals may even be at different frequencies, allowing the measurement of conversion gain or loss. The AD8302 may be used to determine absolute signal level by applying the unknown signal to one input and a calibrated ac reference signal to the other. With the output stage feedback connection disabled, a comparator may be realized, using the setpoint pins MSET and PSET to program the thresholds.

The AD8302 includes a phase detector of the multiplier type, but with precise phase balance driven by the fully limited signals appearing at the outputs of the two logarithmic amplifiers. Thus, the phase accuracy measurement is independent of signal level over a wide range.

In controller applications, the connection between the gain output pin VMAG and the setpoint control pin MSET is broken. The desired setpoint is presented to MSET and the VMAG control signal drives an appropriate external variable gain device. Likewise, the

feedback path between the phase output pin VPHS and its setpoint control pin PSET may be broken to allow operation as a phase controller.

VSWR Measurement Example A dual log detector can also be used to measure the reflection coefficient of an antenna. In Figure 10, two directional couplers are used, one to measure forward power and one to measure reverse power. Additional attenuation is required before applying these signals to the detectors. The AD8302 dual detector has a measurement range of ±30 dB. Each detector has a recommended input power range for good linearity and temperature stability, and care must be taken in setting the attenuation levels so the reflection coefficient can be measured over the desired output power range. The level planning used in this example is graphically depicted in Figure 11.

Figure 10. A dual log detector can be used to measure reflection coefficient of an antenna. The detector also provides a reading of the phase between forward and reverse power over a 180 degree range

. In this example, the expected output power range from the HPA is 30 dB, from +20 dBm to +50 dBm. Over this power range, we would like to be able to accurately measure reflection coefficients from 0 dB (short or open load) up to –20 dB.

Each of the AD8302's detectors has a nominal input range from 0 dBm to –60 dBm. In this example, the maximum forward power of +50 dBm is padded down to –10 dBm at the detector input (this is achieved through the combined coupling factor of the directional coupler and the

Page 214: Wireless Design Seminar 2006

X - 7

subsequent attenuation). This puts the maximum power at the detector comfortably within its linear operating range. Also, when the HPA is transmitting at its lowest power level of +20 dBm, the detector sees a power of –40 dBm, still well within its input range.

Figure 11. Careful level planning should be used to match the input power levels in a dual detector and to place these power levels within the linear operating range of the detectors. The power from the reverse path is padded down by the same amount. This means that the system is capable of measuring reflected power up to 0 dB. This may not be necessary if the system is designed to shut down when the reflection coefficient degrades below a certain minimum (e.g. 10 dB), but it is permissible because the detector has so much dynamic range. For example, when the HPA is transmitting +20 dBm, the reverse path detector will see an input power of –60 dBm if the antenna has a return loss of 20 dB. The application circuit in Figure 10 provides a direct reading of return loss, but no information is provided about the absolute forward or reverse power. If this information is required, the dual detector used in Figure 4 would be more useful because it would provide a measure of absolute forward and reflected power along with the reflection coefficient. The AD8302 dual detector used in Figure 10 also provides a phase output. Because of the large gain in the main signal path of a progressive compression log amp, a limited (amplitude saturated) version of the input signal is a natural by product. These limiter outputs are multiplied together to yield a phase detected output with a range of 180 degrees centered around an ideal

operating point of 90 degrees. In a VSWR application, this information constitutes the phase angle of the reflected signal (with respect to the incident signal) and may be of use in optimizing power delivered to the antenna. A Single 1 MHz to 10 GHz 60 dB Log Detector The AD8318 is a demodulating logarithmic amplifier, capable of accurately converting an RF input signal to a corresponding decibel-scaled output voltage. It employs the progressive compression technique over a cascaded amplifier chain, each stage of which is equipped with a detector cell. The device can be used in measurement or controller mode. The AD8318 maintains accurate log conformance for signals of 1 MHz to 6 GHz and provides useful operation to 8 GHz. The input range is typically 60 dB with error less than ±1 dB. The AD8318 has a 10 ns response time that enables RF burst detection to beyond 60 MHz. The device provides unprecedented logarithmic intercept stability versus ambient temperature conditions. A 2 mV/K slope temperature sensor output is also provided for additional system monitoring. A single supply of +5 V is required. Current consumption is typically 68 mA. Power consumption decreases to <1.5 mW when the device is disabled.

Figure 12. 8318 Dual RMS Responding 60 dB

RF Detector Functional Block Diagram The AD8318 can be configured to provide a control voltage to a VGA, such as a power amplifier or a measurement output, from pin VOUT. Since the output can be used for controller applications, special attention has been paid to minimize wideband noise. In this mode, the setpoint control voltage is applied to VSET. The feedback loop through an RF amplifier is closed via VOUT; the output of which regulates the amplifier’s output to a magnitude

Page 215: Wireless Design Seminar 2006

X - 8

corresponding to VSET

. The AD8318 provides 0 V to 4.9 V output capability at the VOUT pin, suitable for controller applications. As a measurement device, VOUT is externally connected to VSET to produce an output voltage V

OUT that is a decreasing linear-in-dB function of

the RF input signal amplitude. Amplifier Gain Measurement Using a Single Log Detector and an RF Switch Figure 13 shows an alternative approach to Gain measurement which is also applicable to VSWR measurement. In this application, we again want to measure and control the gain of a PA. The PA in the example is running at 8 GHz and has an output power range from +20 dBm to +50 dBm. This is a fixed-gain PA, so the output power is adjusted by changing input power.

Two directional couplers are used to detect input and output power. There is only a single log detector, however, so the two signals are alternately connected to the detector using a single-pole, double-throw RF switch. The AD8317 detector has a 0 dBm to –50 dBm input range at this frequency. To measure Gain, the input and output powers are alternately measured and digitized. The results are then simply subtracted to yield gain. Once gain is known, this digital control loop is completed by making any necessary adjustments to the gain of the PA via a bias adjustment. The level planning for this example is shown in Figure 14. Attenuation is used so that the two input power levels at the RF switch are close together and within the input range of the detector.

Figure 13. A single detector and RF switch can be used to measure gain.

Page 216: Wireless Design Seminar 2006

X - 9

Figure 14. The signal detected at the output of the PA is heavily attenuated so that it maps into the input range of the detector. The signal levels at the switch inputs will always be close together, making RF feed through unlikely. Precise Gain Measurement without Factory Calibration In addition to reducing component count, this gain measurement method shown in Figure 13 has a number of interesting features. Because the same circuit is being used to measure input and output power, it is possible to make precise, temperature-stable gain measurements without ever calibrating the circuit. To understand why, let's take a look at the nominal transfer function of a log detector (Figure 15).

Figure 15. Log detectors provide a convenient y=mx+b transfer function within their linear operating range at frequencies up to 10 GHz. Slope and Intercept can be calculated if necessary using a simple two-point calibration We know the standard equation that describes the operation of the device in its linear region. VOUT1 = SLOPE x (PIN1 –INTERCEPT)

To figure out the unknown, PIN, the equation can be rewritten as PIN1 = (VOUT1/SLOPE) - INTERCEPT Since gain is the difference in the measured input powers (we still have to factor in the different attenuation levels of the two paths), we can write GAIN = (VOUT1-VOUT2)/SLOPE So the Intercept of the detector is not required to calculate the gain. Even though the slope of a detector will change from device to device and over temperature, if Vout1 and Vout2 are close to one another (we endeavor to do this with good level planning and because of the finite input range of the detector), a typical value for the slope can be taken directly from the datasheet and used in the above calculation. Output Power Monitoring In Figure 13, power is being measured in order to calculate gain, so the system shown can also be used to monitor output power. However, this cannot be done precisely without factory calibration. To calibrate the circuit, the antenna must be temporarily replaced with a power meter. Output power and detector voltage are then be measured at two points within the linear range of the detector. These numbers would then be used to calculate the Slope and Intercept of the detector. For optimum precision, the detector includes a temperature compensation pin. A resistor is connected between this pin and ground to reduce the temperature drift to approximately ±0.5 dB at the frequency of operation (8 GHz in the example shown). As a result, it is not necessary to do any additional calibration over temperature. Conclusions Because of their linear-in-dB transfer function, log amps can be easily used to measure gain and return loss. When dual devices are used very high measurement precision is achievable. In some cases, this can be achieved without factory calibration. In all cases, careful power level planning is necessary so that the power detectors are driven at power levels that offer good linearity and temperature stability.

Page 217: Wireless Design Seminar 2006

XI 1

Chapter XI A 2.4-GHz Direct Conversion Transmitter for WiMAX and WiBro Applications By Cecile Masse

As the 802.11 Wireless LAN market matures and with the adoption of the 802.16 WiMAX Standard, there has been a growing interest in technologies that allow delivery of higher data rates over large geographical areas. The IEEE 802.16 family of standards (802.16-2004 and 802.16e) are intended to provide high bandwidth wireless voice and data for residential and enterprise use. The modulation used to achieve these high data rates is OFDM (Orthogonal Frequency Division Multiplexing). WiMAX OFDM features a minimum of 256 sub-carriers up to 2048 sub-carriers, each modulated with either BPSK, QPSK, 16QAM or 64QAM modulation. Self interference is minimized by having these carriers orthogonal to each other. This standard also supports different signal bandwidths, from 1.25 MHz to 20 MHz to facilitate transmission over longer ranges and to accommodate different multipath environments. This represents a significant increase in systems profiles complexity as compared to the Wi-Fi 802.11 standard, mostly to guarantee a wider, more efficient, more robust network. More sub-carriers and variable length guard intervals contribute to this enhancement. The composite signal envelope amplitude of the OFDM signal can exhibit significant peaks and valleys, so, theoretically, there is a possibility that the signals on each individual carrier reach their peaks at the same time, contributing to a peak-to-average ratio (PAR) of 10 * log(256) = 24 dB. In practice, WiMAX 256-OFDM exhibits a PAR of about 12 dB. Still, this imposes significant constraints on the transmitter’s linearity, and requires large power back-off. On the other hand, the higher the transmitted signal data rate is, the higher the signal-to-noise ratio (SNR) requirement for the transmitter and receiver becomes. In 64QAM OFDM, the limited symbol decision area dictates an SNR of at least 30 dB. This SNR requirement can easily be translated into an EVM specification equivalent to the total amount of amplitude and phase distortion. For 64QAM, the equivalent EVM specification is –31.4dB or 2.7%. This challenging specification imposes very low phase noise for the LO, as well as tight I and Q matching before the up-conversion. Many licensed or un-licensed RF bands, ranging from 0.7 GHz to 5.8 GHz, have been identified for WiMAX applications. But most of the initial designs are

targeting frequency bands at 2.5 GHz and 3.5 GHz. WiBro is the Korean WiMAX mobile standard in the 2.3 GHz to 2.4 GHz band. This article proposes a direct-conversion transmit signal chain for this particular band of interest. Measurement results are also presented which demonstrate system level performance for WiMAX applications. Architecture To address the challenging requirements of the 802.16 standard, the transmit signal chain may be based on radio architectures like superheterodyne, IF sampling or zero-IF.

DAC

DAC

Dual DACsAD9862

FRACTIONAL-N SYNTHESIZER

ADF4153

IQ MODULATORAD8349

0o

90o

RF VGAADL5330

RMS POWER DETECTOR

AD8362

DAC

DAC

Dual DACsAD9862

FRACTIONAL-N SYNTHESIZER

ADF4153

IQ MODULATORAD8349

0o

90o

RF VGAADL5330

RMS POWER DETECTOR

AD8362

Fig 1. Architectural Block diagram At 2.35 GHz, a direct up-conversion architecture is attractive for the following reasons: state of the art synthesizers and IQ modulators still perform well at this frequency, WiMAX OFDM has no active sub-carrier at the origin, direct up-conversion produces less mixing product spurs, it requires fewer filters which is important when dealing with wideband signals, and the lower number of parts helps minimize the current consumption. Finally, in multi-carrier modulation schemes like WiMAX OFDM, reducing the number of LO mixes is critical. The high number of sub-carriers within the OFDM signal actually makes this modulation quite sensitive to phase noise, as each of the N sub-carriers will be modulated by the phase noise of the LO. Figure 1 shows a block diagram of the proposed TX signal chain architecture. The I and Q analog baseband signals are generated by a dual 14-bit DAC. The direct RF up-conversion is done using an IQ modulator. Low-pass filters are required at the DAC output to remove

Page 218: Wireless Design Seminar 2006

XI - 2 -

the alias at the sampling frequency before the up-conversion. The LO is generated by an external fractional-N synthesizer, which provides a continuous wave signal with minimal phase error. Finally, the composite RF output signal is amplified or attenuated through a variable gain amplifier (VGA) with a 50-dB of gain control range. An rms power detector ensures precise control of the output power. Transmitter Implementation BASEBAND SIGNAL GENERATION The performance of the DAC is critical when dealing with the wideband OFDM signal. The signal-to-noise-ratio (SNR) and sampling rate define the spectral purity and signal quality of the modulated signal driving the IQ modulator. The DAC resolution should provide sufficient dynamic range to meet the spectral mask at maximum output power and EVM at the lowest power levels. For instance, a SNR of 31.4 dB + margin is required for 64QAM ¾ OFDM, even at the minimum output power at the antenna. The target SNR for this design is 60 dB or better, and the chosen AD9862 14-bit DAC provides better than 70 dB SNR. The maximum modulation bandwidth addressed in these WiMAX applications also dictates the appropriate sampling frequency. In this design, a 10 MHz complex OFDM signal requires a sampling frequency of at least 20 MHz. But all sampling images would be at N*20 MHz (N>0), which would fall in-band for an RF system with bandwidth higher than 20 MHz.

Figure 2. DAC Images with and without Interpolation Choosing a DAC with an integrated interpolation filters helps relax the design of the off-chip reconstruction filter. For this architecture, while the TX digital data is updated at a rate of 20 MHz, the 4× interpolation filter effectively increases the overall sampling rate to 80 MHz. On the other hand, the relative level of the images at N*Fs also drops as a result of this increase in sampling rate. These amplitude levels are determined by the sin(x)/x roll-off from the sample-and-hold action of the DAC.

⎟⎟⎠

⎞⎜⎜⎝

⎛=

fTfTfVfV sampledout ππ )sin().()(

The off-chip anti-alias low-pass filter can then be designed with a relatively low order. Bessel filters are ideal for their flat in-band group delay, flat pass-band response, and limited in-band distortion. The order is chosen depending on the sampling frequency (Fs) and the required rejection at n*Fs.

Figure 3. Baseband Bessel Low Pass Filter At a sampling frequency of 80 MHz, the measured levels of the sampling images were –33 dBc for the first image and –40 dBc for the second image. A third-order anti-alias low pass filter with a 3-dB cut-off frequency of 8 MHz provides 50 dB of rejection at 80 MHz, bringing the sampling images down to 80 dBc. UPCONVERTER The AD8349 is a fixed gain silicon, monolithic, RF quadrature modulator that is designed for use from 700 MHz to 2700 MHz. The differential or single-ended LO input signal is buffered, and then split into an in-phase (I) signal and a quadrature-phase (Q) signal using a polyphase phase splitter. These two LO signals are further buffered and then mixed with the corresponding I channel and Q channel baseband signals in two Gilbert cell mixers. The mixers’ outputs are then summed together in the output amplifier. The output amplifier is designed to drive 50 Ω loads.The RF output can be switched on and off within 50 ns by applying a control pulse to the ENOP pin. The AD8349 can be used as a direct-to-RF modulator in digital communication systems such as GSM, CDMA, and WCDMA base stations, and QPSK or QAM broadband wireless access transmitters. Its high dynamic range and high modulation accuracy also

-120

-100

-80

-60

-40

-20

0

0 20 40 60 80 100 120 140

Frequency [MHz]

Mag

nitu

de [d

Bm

]

-120

-100

-80

-60

-40

-20

0

0 20 40 60 80 100 120 140

Frequency [MHz]

Mag

nitu

de [d

Bm

]

Without interpolation With 4x interpolation

1E5 1E6 1E71E4 1E8

-50

-40-30

-20-10

-60

0

freq, HzdB

(S(3

,4))

ARR4R=40.2 Ohm

RR3R=40.2 Ohm R

R5R=240 Ohm

CC8C=68 pF

CC9C=470 pF

LL7L=680 nH

LL6L=680 nH

PortIb_or_QbNum=2

PortI_or_Q

PortIb_out_or_Qb_out

PortIout_or_Qout

1E5 1E6 1E71E4 1E8

1E-8

2E-8

3E-8

0

4E-8

freq, Hz

dela

y(3,

4)

3dB cut-off frequency = 7.5MHz (Max OFDM signal BW here is +/-5MHz)

Group delay slope within +/-5MHz = 462ps/MHz

Page 219: Wireless Design Seminar 2006

XI - 3 -

make it a perfect IF modulator in local multipoint distribution systems (LMDS) using complex modulation formats.

Figure 4. AD8349 700 MHz to 2700 MHz Quadrature Modulator The Peak-to-Average Ratio of the 256-OFDM WiMAX modulation can reach 12 dB. For optimum spectrum quality out of the modulator, the appropriate peak voltage for the I and Q signals needs to be determined. The modulator used in this signal chain provides 0 dBm of rms output power for 1.2 Vpp of I and Q input drive level. Besides, the OP1dB of the modulator is 5 dBm. A 15 dB back-off provides optimum spectrum performance for the WiMAX OFDM signal, equivalent to an ac input level for the IQ modulator of about 750 mVpp differential.

Figure 5. I/Q DC offset correction and sideband nulling. With modulation schemes such as WiMAX OFDM, it is important to correct for the modulator mismatches that directly impact EVM performance. Amplitude and

phase mismatches between I and Q signals, and an imprecise 90° LO phase shift within the IQ modulator, will result in an unwanted upper sideband image at LO+BB, when the wanted signal is at LO–BB. When the TX DACs are configured for complex outputs, good image rejection at the modulator output is critical because this spur falls inside the wanted channel. Phase mismatches cannot easily be compensated for, but amplitude matching can be achieved through independent gain correction at the DAC level. In this design, the DAC integrates a gain calibration function that allows the output current on either I or Q channels to be changed by up to 20 dB with a fine resolution of ±4%. A total image rejection of 50 dBc minimum is required to guarantee good EVM performance, and this gain correction circuit meets the requirement with margin. LOCAL OSCILLATOR Because the transmitter uses a zero-IF topology, the most appropriate synthesizer architecture for LO generation is a fractional-N PLL. Performance such as phase noise at 2.35 GHz, frequency resolution, and settling time drive the choice of the synthesizer architecture. In the up-conversion, phase noise is superimposed on each of the N sub-carriers of the WiMAX OFDM signal when mixed to the local oscillator. Fig 6. LO phase noise modulation of the OFDM sub-carriers Compared to 802.11 Wi-Fi systems, the carrier spacing is also much narrower because of the higher number of sub-carriers within a given channel bandwidth. As an example, for a 20-MHz channel bandwidth, the carrier spacing in 802.11 is 385 kHz, compared to 78 kHz in 802.16d. Integrated phase error within the OFDM signal then becomes significantly higher, which directly contribute to the degradation of EVM. Although the OFDM symbol contains eight pilot tones that help a receiver track and remove most of the close-in phase noise generated by the LO, the standard still requires stringent EVM to be met at the antenna. For a 64QAM modulated OFDM, the EVM specification at the transmitter output is 2.7% rms. The PLL loop bandwidth and total integrated phase error are thus critical to the design of this PLL. A total phase error

LO

OFDM subcarriers

LOLO

OFDM subcarriers

Page 220: Wireless Design Seminar 2006

XI - 4 -

lower than 1 degree rms has been used as a criteria for choosing and designing the LO synthesizer. A fractional-N synthesizer inherently has very good phase noise compared to an integer-N architecture. Very high frequency resolution can be achieved while using a higher comparison frequency, therefore helping reduce the total phase noise. For a frequency resolution of 125 kHz, an output frequency of 2350.125 MHz could be synthesized with a 10 MHz reference frequency:

MHzMHzMHzkHzF

FF

KNF PFD

RES

PFDout 125.235010.

10125.1235 =⎟

⎠⎞

⎜⎝⎛ +=×

⎟⎟⎟⎟

⎜⎜⎜⎜

+=

The typical phase noise error for these fractional-N synthesizers can be less or equal to 0.5 degree rms, which is appropriate for this application. The ADF4153 is a fractional-N frequency synthesizer that implements local oscillators in the upconversion and downconversion sections of wireless receivers and transmitters. It consists of a low noise digital phase frequency detector (PFD), a precision charge pump, and a programmable reference divider. There is a Σ-Δ based fractional interpolator to allow programmable fractional-N division. The INT, FRAC, and MOD registers define an overall N divider (N = (INT + (FRAC/MOD))). In addition, the 4-bit reference counter (R counter) allows selectable REFIN frequencies at the PFD input. A complete phase- locked loop (PLL) can be implemented if the synthesizer is used with an external loop filter and a voltage controlled oscillator (VCO).

Figure 7. ADF4153 4 GHz Fractional-N Synthesizer. A simple 3-wire interface controls all on-chip registers. The device operates with a power supply ranging from

2.7 V to 3.3 V and can be powered down when not in use. In this particular system, the PLL has been designed with a closed loop bandwidth of about 20 kHz. For a 10-MHz WiMAX OFDM signal, the symbol duration is 25.6 μs, which corresponds to a sub-carrier spacing of 39 kHz. The PLL loop has deliberately been designed slower than the symbol duration so that most of its phase noise can be tracked and removed by the pilot tracking algorithm within the demodulator. For non frequency-hopping TDD applications, PLL lock time is not that critical, as both transmitter and receiver operate at the same channel frequency. Therefore, designing a fast wideband PLL loop is not necessarily required. Figure 3 shows the simulated closed loop phase noise performance.

100 1k 10k 100k 1MFrequency (Hz)

-140

-130

-120

-110

-100

-90

-80

Phas

e N

oise

(dB

c/H

z)

Phase Noise at 2.35GHz

Figure 8. Closed loop phase noise simulation at 2.35 GHz

The PLL closed-loop in-band phase noise is –95 dBc/Hz and the rms phase error is only 0.35 degrees rms, equivalent to an EVM contribution of 0.6%. POWER CONTROL AND RF POWER DETECTION Because WiMAX systems can be used for non-line-of-sight applications, gain control of the transmitter is necessary to adjust the output TX level depending on the channel quality. The VGA should provide linear high gain control range, with limited signal distortion and noise. The ADL5330 is a high performance, voltage-controlled, variable-gain amplifier/attenuator for use in applications with frequencies up to 3 GHz. The balanced structure of the signal path minimizes distortion while it also reduces the risk of spurious feed-forward at low gains and high frequencies caused by parasitic coupling. While operation between a

Page 221: Wireless Design Seminar 2006

XI - 5 -

balanced source and load is recommended, a single-sided input is internally converted to differential form.

Figure 9. ADL5330 1 MHz to 3 GHz 60 dB Linear-in-dB VGA. The input impedance is 50 Ω from INHI to INLO. The outputs are usually coupled into a 50 Ω grounded load via a 1:1 balun. A single-supply of 4.75 V to 5.25 V is required. The 50 Ω input system converts the applied voltage to a pair of differential currents. The signal currents are then applied to a proprietary voltage-controlled attenuator providing precise definition of the overall gain under the control of the linear-in-dB interface. The GAIN pin accepts a voltage from 0 V at minimum gain to 1.4 V at full gain with a 20 mV/dB scaling factor. The output of the high accuracy wideband attenuator is applied to a differential transimpedance output stage. The output stage sets the 50 Ω differential output impedances and drives Pin OPHI and Pin OPLO. The ADL5330 has a power-down function. It can be powered down by a Logic LO input on the ENBL pin. The current consumption in power-down mode is 250 μA. In most cases, the VGA gain control is achieved through a closed loop system including a linear power detector. This helps relax the VGA linearity of the gain response. A single VGA in the transmit chain can achieve the required range of gain control. The part chosen for this purpose can maintain 50 dB of gain range, from –35 dB to +15 dB.

Figure 10. AD8362 50 Hz to 2.7 GHz 60 dB TruPwr™ Detector The AD8362 is a true rms-responding power detector that has a 60 dB measurement range. It is intended for use in a variety of high frequency communication systems and in instrumentation requiring an accurate response to signal power. It is easy to use, requiring only a single supply of 5 V and a few capacitors. It can operate from arbitrarily low frequencies to over 2.7 GHz and can accept inputs that have rms values from 1 mV to at least 1 Vrms, with large crest factors, exceeding the requirements for accurate measurement of CDMA signals. Used as a power measurement device, VOUT is strapped to VSET. The output is then proportional to the logarithm of the rms value of the input. In other words, the reading is presented directly in decibels and is conveniently scaled 1 V per decade, or 50 mV/dB; other slopes are easily arranged. In controller modes, the voltage applied to VSET determines the power level required at the input to null the deviation from the setpoint. The output buffer can provide high load currents. For accurate and fast power control, an rms power detector is the most appropriate function to extract the rms power level of a non-constant envelope modulation signal with a variable peak-to-average ratio. It usually measures the output signal level of the power amplifier through a low loss directional coupler. The detector used here is a high accuracy, wideband rms-to-dc square law detector It achieves 40 dB (driven single-ended) to 60 dB (driven differentially) of detection range. Figure 11. shows the rms power measurement configuration technique which uses a directional coupler.

Page 222: Wireless Design Seminar 2006

XI - 6 -

Figure 11. Power detection Circuit Measured System Performance The OFDM signal has been generated using ADS system/circuit simulation software from Agilent. Only 802.16d OFDM signal generation and demodulation capabilities were available at the time of the evaluation. EVM performance has been measured using the Agilent 89600 VSA software. The equalization was done using the channel estimation sequence only (the preamble) and the EVM results shown are higher than what they would actually be with equalization training on both preamble and data sequence.

Figure 12. Spectral quality at 2.35GHz The complete signal chain EVM performance as a function of the VGA gain or total output power level is given in Figure 13. Table 1 summarizes the measured performance of the complete signal chain for a 10 MHz, 64QAM, 256-OFDM signal.

1

1.5

2

2.5

3

-45 -40 -35 -30 -25 -20 -15 -10 -5 0

Total output power (dBm)

EVM

(%rm

s)

-39

-37

-35

-33

-31

-29

Con

stel

latio

n er

ror (

dB)

Figure 13. EVM function of gain control

-0.5

0

0.5

1

1.5

2

2.5

-50 -40 -30 -20 -10 0

POUT (dBm)

VO

UT

(V)

-3

-2

-1

0

1

2

3

ERR

OR

(dB

)

QPSK, Rate 1/2 16QAM, Rate 1/264QAM, Rate 2/3 QPSK, Rate 3/416QAM, Rate 3/4 64QAM, Rate 3/4

Figure 14. AD8362 RMS Detector Output Voltage and linearity error vs. System Output Power and Signal Type Table 1

The ADF4153 fractional-N PLL circuit used for this reference design has a total phase error due to phase noise of 0.35 degrees. This degrades the overall system EVM by 0.2%. Spectral quality is quite good for output power levels up to 0 dBm. As a reference, the WiBro mask is met with better than 15 dB margin at –3 dBm. The quality of these measured results demonstrates that this direct conversion architecture is viable to address the 2.5 GHz WiMAX systems requirements.

PA

2

VGAS

witc

h

CLPF

-10dBmADC

RMS power detector

PA

2

VGAS

witc

h

CLPF

-10dBmADC

RMS power detector

Page 223: Wireless Design Seminar 2006

XII - 1

Chapter XII

Use a Wideband, Integer-N, PLL Synthesizer as a Direct 6-GHz Local

Oscillator By Mike Curtin

INTRODUCTION

Establishing a new benchmark for speed and

RF phase-noise performance, the ADF4106

Phase-Locked-Loop Synthesizer is fully

specified to operate at frequencies up to

6.0 GHz. This allows designs for the upper

ISM band of 5.4 GHz-to-5.8 GHz to be

greatly simplified. Fabricated on an

advanced 0.35-µm BiCMOS process, it

displaces the pin- and software-compatible

4-GHz ADF4113 as the fastest available

integer-N synthesizer—and can achieve

3-dB lower phase noise to boot! It requires

only a 3.3-V supply, yet its VP pin is

specified at up to 5.5 V, for compatibility

with tuning voltage levels often required by

modular VCOs used in base stations.

Figure 1. Functional block diagram of the ADF4106

Page 224: Wireless Design Seminar 2006

XII - 2

The ADF4106 frequency synthesizer (Figure

1) can be used to implement local oscillators

(LOs) in the up- and down-conversion

sections of wireless receivers and

transmitters. It consists of a low-noise

digital phase-frequency detector (PFD), a

precision charge pump, a programmable

reference divider, programmable A and B

counters and a dual-modulus prescaler

(P/P+1). The A (6-bit) and B (13-bit)

counters, in conjunction with the dual-

modulus prescaler (P/P+1), implement an N-

divider (N = BP+A).

In addition, the 14-bit reference (R) counter,

allows selectable REFIN frequencies at the PFD

input. A complete phase-locked loop (PLL) can

be implemented if the synthesizer is used with an

external loop filter and voltage-controlled

oscillator (VCO). Its very high bandwidth means

that frequency doublers can be eliminated in

many high-frequency systems, simplifying

system architecture and lowering cost.

The standard PLL system architecture, used

by the ADF4106—and its predecessor, the

ADF4113—is shown in Figure 2. Since the

maximum operating frequency of the

ADF4113 is about 4 GHz, higher

frequencies require the use of a frequency

doubler—which usually calls for an extra

RF amplifier to produce an adequate level

for the doubler. Use of the ADF4106

eliminates the frequency doubler and its

associated circuitry, achieving a much

simpler and more power-efficient LO. For

example, the design shown in Figure 3

generates RF output frequencies, with 1-

MHz channel separation, from 5.4 GHz up

to 6.0 GHz. The phase noise measured at

the upper end was -83 dBc/Hz.

Figure 2. Standard PLL architecture

Page 225: Wireless Design Seminar 2006

XII - 1

Figure 3. The ADF4106 used to implement a 6.0-GHz local oscillator.

Because the input impedance of the

ADF4106 at this high operating frequency is

very close to 50 ohms, a 50-ohm terminating

resistor at the RF input is not needed for

maximum power transfer efficiency. When

operating at lower frequencies, the s-

parameters in the data sheet give the

impedance values needed for matching.

Low phase noise allows it to work as a low-

noise, fast-settling 1.5-GHz local oscillator

The ADF4106, in conjunction with a wide-

bandwidth divider, can improve the phase

noise and lock time of a standard local

oscillator circuit at frequencies below 2.0

GHz.

Figure 4. Architecture for improved lock time, phase noise and reference spurs.

Page 226: Wireless Design Seminar 2006

XII - 2

A typical wireless system might be

generating frequencies in 200-kHz

increments from 1450 MHz to 1500 MHz.

Using an integer-N architecture to do this, a

phase/frequency-detector reference

frequency of 200 kHz is needed, and the N

value would vary from 7250 (1450 MHz) to

7500 (1500 MHz).

Using the ADF4106 for best performance

would give a phase noise figure of –88

dBc/Hz. Typical reference spurs in such a

system would be –88 dBc at 200 kHz and –

90 dBc at 400 kHz. Implementing a loop

bandwidth of 20 kHz, typical lock time to 10

degrees of phase error would be 250 µs.

However, the wideband operation possible

with the ADF4106 allows an alternative

architecture to be considered, shown in

Figure 4. In this configuration, the core PLL

is operated at a multiple of the final desired

output frequency. In the example given

above, the final desired frequency range is

1450 MHz to 1500 MHz. A multiple within

the device’s frequency range is to 5800

MHz to 6000 MHz (4 times the desired

output band). In the proposed scheme,

shown in Figure 4, FPFD operates at 800 kHz,

the FVCO band is 5800 MHz to 6000 MHz,

and the final system LO output is obtained

by dividing FVCO by 4.

FOUT = (FPFD × N)/X (3)

Some consequences of using this

architecture are outlined below.

Phase-noise reduction

The synthesizer phase noise has a 10

logFPFD relationship. This means that for

every doubling of the PFD frequency, there

will be 3-dB degradation in the synthesizer

phase noise. However, the output from the

VCO will be divided down, and its phase

noise obeys a 20 logX rule. So, for every

doubling of X, there will be a gain of 6 dB

in phase-noise performance. If the PFD

frequency is quadrupled, as above, FVCO is

divided by four, to end up with the correct

FOUT. Thus 6 dB will be lost due to the

quadrupling of FPFD and 12 dB is gained due

to the division by four, resulting in an

overall gain of 6 dB in phase-noise

performance, using Figure 4, compared to

the use of the standard architecture. In the

above example, the resulting phase noise

would be –94 dBc/Hz.

Reference-spur reduction

In an integer-N PLL, output reference spurs

occur at the PFD frequency. In Figure 4, if

you consider FVCO, the reference spurs will

be at FPFD, 2FPFD, 3FPFD, etc. However, this

gets divided down by X. In the specific

example where X = 4,

FOUT = FVCO/4

In this case, the spurs would remain at FPFD,

2FPFD, 3FPFD, etc., but would decrease by 12

dB due to the 20 logX relationship.

Page 227: Wireless Design Seminar 2006

XII - 3

However, the output channel spacing in

Figure 4 is FPFD/X, or FPFD/4, in this

example. So, using the architecture of Figure

4 with X = 4, and generating an output

frequency of 1450 MHz to 1500 MHz with

200-kHz spacing, the reference spurs would

not exist at 200 kHz, 400 kHz and 600 kHz.

At 800 kHz, the spur level would be –90

dBc.

Shorter lock time

Since the PFD in Figure 4 is operating at a

higher frequency, phase comparisons are

occurring at a higher rate; this will cause the

loop to lock faster. In addition, because of

the higher PFD frequency, a wider loop

bandwidth is possible, and this too helps in

improving the lock time. In this example,

the lock time is about 70 µs to within 10° of

phase error for a PLL loop-bandwidth of 80

kHz.

The actual implementation of Figure 4 is

shown in Figure 5.

Figure 5. Using the ADF4106 with an output divider to generate a 1.5-GHz local oscillator.

Page 228: Wireless Design Seminar 2006

XII - 2

To summarize, the circuit of Figure 5 will

provide the following performance:

Phase Noise

–94 dBc/Hz @ 1-kHz offset

Reference Spurs

<–100 dBc (system noise floor) @

200-kHz, 400-kHz, 600-kHz offsets

–90 dBc @ 800-kHz offset

Lock Time 70 µs to within 10° phase error

The price of this improved performance is

the extra cost of the output divider and the

extra power consumption of the system as a

whole (the HMC typically adds 68 mA to

the ADF4106’s 13-mA current

requirement). So improved performance

must be a critical requirement for going with

this architecture. The extra board space

needed for implementation is minimal, since

the HMC comes in an 8-lead SOIC package.

BANDWIDTH

The 0.35-µm BiCMOS fabrication process

and careful application of RF design

techniques permit the prescaler section of

the ADF4106 to operate at up to 6.0 GHz

with an input level of –10 dBm (referred to

50 ohms), guaranteed over the industrial

temperature range (–40 to +85°C). Figure 6

below shows a typical sensitivity plot for the

ADF4106 in a TSSOP package at –40°C,

+25°C and +85°C. It can clearly be seen that

performance to 6 GHz is well within the

limits of the device with signals below –15

dBm.

- 3 0

- 2 5

- 2 0

- 15

- 10

- 5

0

0 2 4 6

RF I nput Fr e que nc y ( GH z )

T A = +25°CT A = - 40°C

V D D = +3 VV = + 3 V

T A = +85°C

Figure 6. ADF4106 sensitivity vs. frequency.

PHASE NOISE

Phase noise, a measure of the purity of the

local oscillator signal, is the single most

critical specification in the local oscillator

section of radios—with a direct bearing on

receiver sensitivity. It is the ratio, to output

carrier power, of the noise power in a 1-Hz

bandwidth at a given offset from the carrier.

Expressed as a log ratio, the units of phase

noise are dBc/Hz. Phase noise is typically

measured with a spectrum analyzer.

Figure 7. Basic phase-locked-loop model.

The circuit of Figure 7 establishes the circuit

model for the following discussion of phase

noise,

Page 229: Wireless Design Seminar 2006

XII - 3

Total phase noise in a phase-locked loop

(dB) can be expressed as follows:

PFDSYNTHTOTAL FNPNPN log10log20 ++= (1)

where PNTOTAL is the total phase noise of

the PLL

PNSYNTH is the phase noise due to the

PLL synthesizer circuit itself

20 log N is the increase of phase

noise due to the frequency magnification

associated with the feedback ratio, 1/N. 10

logFPFD is the increase of noise associated

with the incoming PFD frequency. The

graph in Figure 8 shows the ADF4106’s

phase noise characteristics as a function of

PFD frequency, FPFD.

- 18 0

- 17 0

- 16 0

- 15 0

- 14 0

- 13 0

- 12 0

10 10 0 10 0 0 10 0 0 0 10 0 0 0 0

F r e que n c y ( k H z )

ADF4 10 6

ADF4 113

Figure 8. ADF4106 Phase Noise vs. PFD

Frequency.

With a given measured total noise,

synthesizer noise can be inferred as:

PFDTOTALSYNTH FNPNPN log10log20 −−= (2)

This provides a figure of merit for the PLL

Synthesizer circuit itself, irrespective of the

noise contributed by PLL N value and PFD

frequency, since these would be the same for

any similar circuit being compared. For the

ADF4106, this figure comes out to –219

dBc/Hz—a 3 dB improvement on the

ADF4113, which had been the best available

integer-N synthesizer in terms of phase

noise.

With this phase noise figure of merit, an

engineer can work out the total PLL phase

noise for any given PFD frequency and RF

output frequency. For example, consider

generation of a local oscillator signal with

frequencies from 1700 MHz to 1800 MHz,

and channel spacing of 200 kHz. Using

equation (1), the close-in phase noise using

the ADF4106 as the PLL synthesizer is

)10200log(10)9000log(20219 3xPNTOTAL ++−=

= (–219 + 79 + 53) dBc/Hz

= –87 dBc/Hz

Figure 8 shows that the ADF4106 obeys the

10 logFPFD “rule” (PFD phase noise

substantially linear with log frequency)

fairly consistently all the way to 30 MHz.

Some integer-N devices begin to degrade

rapidly once the PFD frequency goes above

1 MHz.

Page 230: Wireless Design Seminar 2006

XII - 1

References

[1]. Mini-Circuits Corporation, VCO Designer’s Handbook 1996.

[2]. L.W.Couch, Digital and Analog Communications Systems Macmillan Publishing

Company,New York,1990.

[3]. P.Vizmuller,RF Design Guide Artech House,1995.

[4]. R.L.Best,Phase Locked Loops: Design, Simulation and Applications 3 rd Edition,McGraw

Hill,1997.

[5]. Bannerjee, Dean “PLL Performance, Simulation and Design” National Semiconductor

Website

[6]. Analog Devices Inc. Data Sheet for ADF4106

[7]. Hittite Microwave Corporation. Data Sheet for HMC362S8G

[8] Curtin, Mike “Phase-Locked Loops,” 3-part series in Analog Dialogue 33-3, 33-5, and 33-7

(1999). Also in hard copy: Analog Dialogue Volume 33, 1999.

[9] Goldberg, Bar-Giora, Digital Frequency Synthesis Demystified (LLH, 1999)

Page 231: Wireless Design Seminar 2006

XIII - 1

Chapter XIII Short Range Wireless Devices - Building a global license-free system at frequencies below 1GHz By Austin Harney and Conor O’Mahony Introduction: The term “Short Range Device” (SRD) is intended to cover radio transmitters which provide either unidirectional or bi-directional communication and which have a low capability of causing interference to other radio equipment. Due to the many different services provided by these devices, there is no exhaustive list covering the SRD application space, however, the following categories are amongst those covered:

Tele-control for Home/Building Automation systems

Wireless sensor applications Alarms Automotive, including Remote Keyless

Entry & Remote car start applications Wireless Speech and Video.

When designing a SRD wireless system, careful consideration needs to be paid to the choice of frequency on which your radio will be communicating over. In most cases, the designer is limited to those portions of the spectrum which allow license-free operation once certain specifications and conditions on usage are met. Table 1 lists the frequency bands available globally. For designers who are hoping to build systems which can operate world-wide, the obvious choice has been 2.4GHz, which has become the frequency of choice for such standards as Bluetooth, WLAN and Zigbee.

5.8GHz has also attracted some attention, for example in cordless phones or the 802.11a version of WLAN. However for systems which require both range and low power, the sub-1GHz bands remain compelling due to reduced co-existence issues and greater transmission range, both of which impact on power consumption an important consideration in battery powered applications.

The improved propagation range for lower frequency radiators can be seen from a simplified version of Friis Transmission Equation which states that:

( ) ( ) 22

2

2

2

44 fdcP

dPP tt

r ππλ

==

Where Pr is the available power at the receive antenna and Pt is the power delivered to the transmit antenna. In this case we are assuming a unity gain for both antennas. The equation shows that for a fixed distance d and transmit power Pt, the received power will increase with the square of the wavelength or alternatively will decrease with the square of the frequency, f. If the received power goes below the minimum power needed to demodulate the signal correctly (called the sensitivity point), the link will break down.

Global Frequency Allocations Comments 13.56MHz Used for near-field communications 40MHz Not often used 433MHz Need to reduce power for U.S. 2.4GHz Popular global band 5.8GHz Some systems up-banding from 2.4GHz Other common allocations 868MHz/915MHz Europe/US only

Table1

Page 232: Wireless Design Seminar 2006

XIII - 2

Worldwide Frequency allocations below 1GHz A more detailed description of the various sub-1GHz standards are given in Table2. This is not an exhaustive list but more detail can be found by following the links provided in the table. The 433MHz is one option for global usage, with a slight frequency modification required for Japan which is easily handled by most modern

frequency flexible transceivers, like the ADF7020 or ADF7021. A block diagram is shown in Figure1. However less than 2MHz of bandwidth is available and in addition applications like voice, video, audio or continuous data transmission are typically not allowed in this band, somewhat restricting its use. Thus it is most commonly used for keyless entry systems and basic tele-control.

Region Relevant Standards Frequency Bands

(MHz) Relevant links

Europe ERC REC 70-03 EN 300 220 (Sept. ’00) EN 300 220 (Feb.’06)

433.05 – 434.79 868.0 – 870 863.0 – 870

http://www.ero.dk/ http://www.etsi.org

U.S. FCC Title 47 Part. 15.231 Part 15.247

260 – 470 902 – 928

http://www.access.gpo.gov/nara/cfr/waisidx_04/47cfr15_04.html

Canada RSS-210 260 – 470 902 – 928

http://strategis.ic.gc.ca/epic/internet/insmt-gst.nsf/en/sf01320e.html

Japan ARIB STD-T67 426.0375 – 426.1125 429.175 – 429.7375

http://www.arib.or.jp/english/

China RADIO REGULATIONS OF THE PEOPLE'S REPUBLIC OF CHINA

315.0 - 316.0 430.0 - 432.0

http://ce.cei.gov.cn/elaw/law/lb93i1e.txt

Table2 A more useful band is either around 868MHz in Europe or 902MHz to 928MHz in the U.S. This does not provide restrictions on applications as well as allowing a more compact antenna implementation. Prior to the latest EN 300-220 specification however, the U.S. and European bodies took vastly different approaches to regulate usage. The U.S. adopted a frequency hopping approach while in Europe duty-cycle limits were applied in each of the sub-bands as described in the ERC REC-70 document. While both of these implementations are useful in minimizing interference, it meant that a manufacturer who was designing a system for both regions, needed

to completely re-write the Media Access Layer (MAC) in his communication protocol. However the latest European EN 300-200 regulations which were due for release at the time of writing in February 2006 has extended the frequency bands to allow for frequency hopping spread spectrum (FHSS) or Direct Sequence Spread Spectrum (DSSS) making the MAC implementations similar to those designed for the U.S, although some fine-tuning will still be required. We will discuss some of the aspects of the new specification and areas the SRD system designer needs to be aware of in the below sections.

Page 233: Wireless Design Seminar 2006

XIII - 3

Figure1. A block diagram of the ADF7020 SRD transceiver

Frequency Hopping Systems Frequency Hopping Spread Spectrum (FHSS) is a transmission technology which spreads energy in the time domain by dividing up the spectrum into several channels and switching between these, using a pseudorandom sequence. This pseudo-random sequence or “hopping code” must be known by both the receiver and transmitter. To facilitate new nodes joining the network the controller node typically sends out a beacon signal at regular intervals which the new node can synchronize onto. This synchronization time depends on both the beacon interval and number of hopping channels. Both the U.S. and European standards specify a maximum dwell time (the time spent at a particular frequency

during any single hop) of 400 ms and a similar number of hopping channels. Table 3 shows the extended frequency band in Europe below 870MHz when either FHSS or DSSS is used. This compares to the 2MHz available previously. In fact, up to 7MHz is now available once either the Listen Before Talk (LBT) or duty-cycle limits are met. Listen Before Talk is a ‘polite’ communication protocol which scans the channel for activity before initiating a transmission. It is also often called a Clear Channel Assessment (CCA) operation. The key point here is that for systems using Listen Before Talk with frequency hopping there are no duty cycle limitations.

Sub-band Number of Hop Channels Power/Magnetic Field Other requirements 865MHz to 870MHz ≥ 60 ≤ 25 mW e.r.p.

LBT or <1% Tx Duty cycle

863MHz to 870MHz ≥ 47 ≤ 25 mW e.r.p.

LBT or <0.1% Tx Duty cycle

Table 3 Wide Band Modulation: DSSS

In Direct Sequence Spread Sprectrum (DSSS) systems, a narrow band signal is multiplied by a

high speed pseudo random (PR) sequence to generate a spread signal. The bit rate (known as chip rate) determines the bandwidth over which the signal is spread. The bandwidth of this spread signal is much wider than the original

Page 234: Wireless Design Seminar 2006

XIII - 4

data bandwidth with a corresponding reduction in peak spectral density (see Figure 2).

On the receive side, the incoming spread spectrum signal is multiplied with the same PR code which de-spreads the signal. This allows the original narrow band signal to be extracted. At the same time, any narrow band interferers at the receiver are spread and appear as wideband noise to the demodulator. The allocation of different PR codes to each user in the system allows isolation between users in the same frequency band. This is known as Code Division Multiple Access (CDMA).

DSSS modulation is used in the IEEE802.15.4, IEEE802.11 and GPS systems to name but a few. The main advantages of DSSS are:

1) Interference resilience: The essence behind the interference rejection capabilities of DSSS is that the useful signal gets multiplied twice (spread and de-spread) by the PN code while any interferes are just multiplied once (spread).

2) Low power density and therefore minimal interference with existing narrowband systems.

3) Security: Very resilient to jamming due to spreading/de-spreading. Also each unit is allocated an individual PN code.

4) Mitigation of multi-path effects. 5) No network synchronization needed as

in the FHSS case. This minimizes power consumption.

Figure 2: Power Spectral Density for FHSS and DSSS

Wideband Modulation other than DSSS or FHSS.

An interesting aspect of provisions for spread spectrum in the regulations is that wideband modulation schemes other than FHSS and DSSS are also provided for. FSK/GFSK modulation with an occupied bandwidth greater than 200kHz is considered wideband modulation under the European regulations. Table 4 highlights the main specifications which apply to wideband modulation schemes (including DSSS) in Europe:

Sub-band Occupied

Bandwidth Max radiated power density e.r.p.

Requirements

865 MHz to 868 MHz 0.6 MHz 6.2 dBm/100 kHz 1 % TX duty cycle or LBT 865 MHz to 870 MHz 3.0 MHz -0.8 dBm/100 kHz 0.1 % TX duty cycle or LBT 863 MHz to 870 MHz 7.0 MHz -4.5 dBm/100 kHz 0.1 % TX duty cycle or LBT Table 4: Maximum radiated Power density, bandwidth and duty Cycle Limits for spread spectrum modulation (other than FHSS) and wideband modulation. An example of a device that can take advantage of this wideband standard using FSK modulation is the ADF7025. To operate in the sub-band 865-870MHz the maximum occupied bandwidth (99%) and maximum power density limits must be complied with. An edge of channel (or band) maximum power limit of -36dBm is also specified. With the ADF7025 setup as shown in Table 5, all three of these limits were met. Figure 3 shows the occupied bandwidth as 1.7569MHz and the spectral density as -1.41dBm/100kHz . The edge of band

(=/- 1.5MHz) requirement of -36dBm can be seen to be easily met in the first plot.

Frequency 867.5MHz Modulation FSK Frequency Deviation +/- 250kHz Data Rate 384kbps

Table 5: ADF7025 parameters for Wideband Modulation Experiment

Page 235: Wireless Design Seminar 2006

XIII - 5

Figure 3: Results for Wideband Modulation Experiment on ADF7025: Occupied Bandwidth, Power Spectral Density/100kHz & Band Edge Power Limit. The advantage of using the ADF7025 under wideband modulation is the extra data rate possible (in this case 384kbps) without the need for complex DSSS transceivers. These higher data rates allow the transmission of audio and medium quality video (a few frames/s). In the US, FCC Part 15.247 has a very similar allocation which gives provisions for frequency hopping systems operating in the 902-928 MHz, 2400-2483.5 MHz and 5725-5850MHz, while also giving provisions for “digitally modulated” signals. This is a loose term and covers both spread spectrum (DSSS) and other simpler forms of modulation (FSK, GFSK), thus similar to the “Wideband Modulation” specification in the ETSI regulations. The two main requirements are listed below:

1. The minimum 6 dB bandwidth shall be at least 500kHz.

2. For digitally modulated systems, the power spectral density conducted from the intentional radiator to the antenna shall not be greater than 8 dBm in any 3 kHz band during any time interval of continuous transmission.

If one does not wish to employ a FHSS system then normally they would have to abide by section 15.249 which limits the field strength (@3m) to 50mV/m (-1.5dBm ERP). What makes this “digital modulation” so attractive is that the maximum output power is 1 Watt (while still complying with < 8dBm in any 3kHz bandwidth). Also, with the wider signal bandwidths, higher data rates are possible. Thus to operate a simple FSK/GFSK transceiver under these regulations a wide enough FSK/GFSK frequency deviation is chosen to ensure the 6dB bandwidth is greater than 500kHz. The output power can then be 1 Watt, ensuring that there is

no greater than 8dBm in any 3kHz b/w of the modulation (maximum will be at the one/zero peaks in the FSK/GFSK modulated signal).

So similar wideband modulated systems can now be employed in both the US and Europe, thus simplifying engineering of products intended for worldwide markets. The ADF7025 transceiver architecture lends itself to operation in both the “digital modulation” mode as defined in the US standards and the “Wideband Modulation” mode as defined in the new European regulations.

Transient Power Requirements A new specification which engineers should be aware of is the restrictions put on transient power. Transient power is defined as the power falling into adjacent spectrum due to the switching of the transmitter on and off during normal operation. A transient power limit has been added to the latest regulations to prevent spectral splatter when a transmitter is turning on and off. The increase (turning on) or decrease (turning off) in current to the PA causes the load seen by the Voltage Controlled Oscillator (VCO) to change causing the PLL to unlock for an instant, producing spurious emissions or spectral splatter, as the loop acts to re-acquire. In systems where a unit is transmitting at intervals the splatter can significantly increase the power falling into neighbouring channels. Figure 4 highlights the problem of spectral splatter. The yellow trace shows the PA output from the ADF7020 with the PA being turned on and off once every second while the spectrum analyzer is kept on max hold. The blue trace shows an un-modulated continuous wave signal from the ADF7020 transmitter. It can be seen that significant power is falling into channels either side of the carrier. Specification 8.5 of

Page 236: Wireless Design Seminar 2006

XIII - 6

ETSI EN 300 220-1 puts a limit on the amount of power falling into these adjacent channels.

Figure 4 The measurement procedure requires that the transmitter be turned on and off five times at maximum output power and the power falling into the channels located 2, 4 and 10 channels either side of the carrier are measured. The limits are shown in Table 6. Channel Limit 2 ≥ 40dBc with out the need to be

below -27dBm 4, 10 ≥ 50dBc with out the need to be

below -36dBm Table 6 To simplest way to ensure compliance with this specification is to ramp the PA when turning it

on and off. This is normally accomplished by manually turning on/off the PA in stages. With the ADF7020 transceiver, it is possible to step the PA from off to +14dBm in a maximum of 63 steps. An even simpler approach is to use a transceiver with an automatic PA ramp. The ADF7021 has a programmable ramp where both the number of steps and duration of each step can be set by the user. Communication Protocol Considerations

The new European regulations impose very specific requirements for over-the-air protocols in the 863-870 MHz bands. Whether a system uses a single channel protocol, FHSS or DSSS there are very specific rules which must be abided by. This of course complicates the protocol design. However, the upside to these new ETSI regulations is that they mirror the FCC Part 15.247 regulations in a lot of aspects, thus simplifying the design of a protocol intended for “worldwide” use.

ADI are currently in the process of updating their ADIismLINK (Version 2.0) protocol which can be used with any of the ADF702X transceivers. This protocol is intended for use in the worldwide sub-1GHz bands, and incorporates the new European regulations. It is based on a star based network as highlighted in Figure 4.

Figure 1: Star Network Topology

At the heart of the protocol is a non-slotted, non-persistent Carrier Sense Multiple Access scheme with Collision Avoidance (CSMA-CA). The

End-point (EP) listens to the channel (LBT) before transmitting, thereby avoiding collisions.

The non-slotted aspect of the protocol means that EPs can transmit as soon as they have data, subject to first performing a Listen Before Talk

Page 237: Wireless Design Seminar 2006

XIII - 7

operation. This also ensures no synchronization is required. If an EP senses the channel is busy, it backs off for a random period before performing another LBT. The number of times this back-off can occur is limited, hence the non-persistent nature of the protocol. In FHSS mode the protocol uses this CSMA-CA system on each hopping channel, thus fulfilling the LBT requirement for the new European regulations.

The Physical Layer (PHY) parameters and Media Access Layer (MAC) parameters of the ADIismLINK protocol are highly configurable thus allowing thorough device and system evaluation. Source code is also provided simplifying the system development procedure. The protocol comes as part of the ADF702x Development Kit (ADF70xxMB2). A system overview of ADIismLINK is shown in Figure 5. More information on this is available through the ADI website (ADF702X Development Kit).

Figure5. ADIismLINK system Overview