creating web pages in your account - introduction...

27
Introduction to RF Simulation and Its Applications by Kenneth S. Kundert Presenter - Saurabh Jain

Upload: others

Post on 14-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Introduction to RF Simulation and Its Applications

by

Kenneth S. Kundert

Presenter - Saurabh Jain

Page 2: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

What will he talk about?

• Challenges for RF design and simulations

• RF circuit characteristics

• Basic RF building blocks

• RF Analysis methods, implementation and comparison

• RF measurements

Page 3: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Main challenges for RF designs (Rx)

• Small signals and noise– Small input signals (1µV)

– Input noise and noise at Rx input

• Large interference signals– Strong nearby transmitters on

adjacent channels drive Rx into non-linearity.

– Quantified with inter-modulation distortion• Expensive in SPICE, as long run time is needed for a good

frequency resolution.

Coherent super heterodyne receiver

Page 4: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Main challenges for RF designs (Tx)

• Non-linearity at Tx output

– Spectral re-growth

– Harmonic distortion

– SPICE simulation for spectral re-growth will require long runtime to capture the needed spectrum.

Page 5: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Circuit characteristics (1)

• Narrow band signals (eg. cell Transmission)

– High frequency carriers

– Low frequency modulation signals

• High forces use of small simulation time step

• Low forces long SPICE run time

• However we get a sparse spectrum if narrow band signals are periodic.

– Leveraged in Harmonic Balance simulation methods

GHzfc 21

KHzfs 3010

cf

sf

Page 6: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Circuit characteristics (2)

• Time varying Linear Signals– RF designs are generally linear to prevent distortion.– Some circuits like mixers perform frequency

translation using periodic signals

– Linearization with time varying operating point allows to extend conventional small signal spice methods to RF designs.• Time varying nature represents frequency translation.

Page 7: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Circuit characteristics (3)

• Linear passive components

– Tx lines, spiral inductors and substrate offer various challenges to include in simulations.

• Semiconductor models

– Accurate high frequency models for semiconductor devices needed.

• Modeling gate-R, thermal and flicker noise for MOS.

Page 8: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Basic RF blocks (Mixers)

• Perform frequency translation

– Generates images which need to be filtered out.

– Sideband v/s image

• Sideband desired signals

• Images undesired

Page 9: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Basic RF blocks (Oscillators)

• Generate reference signal at a given frequency– Used to generate LO signal

– Noise performance of LO affects mixers.

– In a stable oscillator• Amplitude deviation damps out

• Phase perturbations persist

– Special simulation techniques needed to calculate phase noise.

Page 10: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Analysis types (PSS & QPSS)

• Traditional DC

– Compute steady state solution at constant input

• PSS (periodic steady state)

– Calculate steady state response with a time varying periodic input.

• Quasi-PSS

– Usually used for multi-tonal designs.

Page 11: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Analysis types (PSS & QPSS cont..)

• Traditional transient simulations take long time if

– Small time step and long run time.

– PSS & QPPS directly calculate Fourier co-efficient

• # of co-efficient calculated

• Usually harmonics beyond 4th or 5th fundamental are neglected.

)12( ii

KK

1),max(/|| 1),max(/),min( 21212121 fffforffff

Page 12: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Harmonic Balance method

• Frequency domain solution of circuit.

• Solution represented as Fourier series for T periodic fundamental (f=1/T)

• Certain non-linear component are evaluated in time domain and converted back to frequency domain using Fourier transforms.

Page 13: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Harmonic Balance for QPSS

• Extend PSS for multi tonal inputs.

– Two fundamental QPSS becomes

– k and l have no common period (linearly independent)

– So Fkl(V)=0 is bounded by k<K and l<L

Page 14: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Shooting Newton method for PSS

• Solves circuit equations in time domain.

• Iterative layer over traditional SPICE.

• Assume V(t) as non-constant period T stimulus

v(t0+T) = φ(v(t0), t0),

t0=0 v(0) = φ(v(0),0)

Non-linear algebraic problem solved using Newton methods

Page 15: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Other methods

• Multi tonal PSS (QPSS)

– Basis for Mixed frequency time methods (MFT)

• Autonomous shooting methods

– Used for calculating oscillator time period

• Oscillator time period additional unknown with an additional equation to constrain the oscillator phase.

Page 16: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Small Signal RF Analysis (LPV)

• AC and NOISE analysis for SPICE are traditional small signal analysis– Small signal applied to circuit at its DC point

– Linearized about DC point by using Taylor series

• Linear Periodically Varying (LPV) analysis extend this by linearizing circuit about a periodic signal. – More accurate, faster and errors in linearization phase

have minor affect on small signal analysis

– Examples PNOISE, PAC & PXF.

Page 17: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Small Signal RF Analysis (LPV contd…)

• Input signal u(t)= uL(t)+us(t) where uL(t) is large periodic wave with period TL and us(t) is small sinusoid signal

• Output v(t)= vL(t)+vs(t).

Page 18: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Small Signal RF Analysis (PAC & PXF) …

• Periodic AC (PAC) – It is used to measure response of an input to all nodes at all frequencies.

– Predicts output sidebands for an input

• Periodic transfer function (PXF) – Inverse of PAC

– Used to measure possible images at input for an output

Page 19: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

Other methods

• Transient Envelope Analysis

• Volterra methods

• Multirate partial differential equation metods(MPDE)

Page 20: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

How do methods compare?

• RF simulation methods mainly harmonic balance based or shooting newton

Harmonic Balance Shooting method

Frequency domain Time domain

Better support for distributed components, like lossy T-Lines

Not efficient but new methods are being developed

Accurate if circuit is near linear with sinusoid V,I

Good for non-linear circuits

Not good if signals have abrupttransitions (needs more harmonics to simulate)

Can handle abrupt transitions as sim time step can be varied

Page 21: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Tx functions)

• Conversion Gain: Generalization of Gain (Av) for periodic circuits like mixers

– Gain from undesired image or power etc.

– Use PAC or PXF

Page 22: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Tx functions)

• AM/PM conversion

– Narrow band approximation

– Use PSS to get φ and PAC for L and U

• FM conversion

fc

fm

Page 23: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Noise)

• Noise is critical as RF circuits deal with very small signals– Characterized by Noise Figure (NF)

– For a mixer - Use PSS to compute steady state response for LO. Apply small signal PNOISE analysis.

– For Oscillator noise.• PXF to determine

to determine sensitivity

to interference.

Page 24: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Noise)

• Inter modulation distortion

– Apply two tonal signal (f1, f2) within circuit bandwidth

– Distortion products fall within the range 2f1-f2, 2f2-f1, 3f2-2f1..

Page 25: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Noise)

• Compression points– 1dB point where gainDrops by 1dB– Inter modulation distortion can be categorized

calculating nth order harmonic power versus input power

• P = power of fundamental• = Difference of P1 – nth harmonic power

• Doubling input power multiplies output power by 2n

1

n

PPIPn

P

Page 26: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

RF Measurements (Noise)

• Blockers

– PSS followed by PAC to

compute gain of desired signal

• (Adjacent Channel Power Ratio) ACPR

– Used to measure ACP requirements

– Caused by non-linearities in output stage

Page 27: Creating Web Pages in your Account - Introduction …web.cecs.pdx.edu/~chiang/ECE510_Fall_2010_Notes/saurabh...–Tx lines, spiral inductors and substrate offer various challenges

?Thank You!