ee273 lecture 5 noise – part 2 signal return crosstalk ... · far end of aggressor near end of...

16
EE 273 Lecture 5, Noise Part 2 1/26/04 Copyright 2004 by WJD and HCB, all rights reserved. 1 Copyright (C) by WJD & HCB, All Rights Reserved EE273, L5, Jan 26, 2004 1 EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk, Inter-Symbol Interference, Managing Noise January 26, 2004 Heinz Blennemann Stanford University Copyright (C) by WJD & HCB, All Rights Reserved EE273, L5, Jan 26, 2004 2 Today’s Assignment Reading Sections 7.1 and 7.3 Complete before class on Wednesday 1/28

Upload: others

Post on 31-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 1

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 1

EE273 Lecture 5Noise – Part 2

Signal Return Crosstalk, Inter-Symbol Interference, Managing Noise

January 26, 2004

Heinz BlennemannStanford University

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 2

Today’s Assignment

• Reading– Sections 7.1 and 7.3– Complete before class on Wednesday 1/28

Page 2: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 2

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 3

Setup for Crosstalk Demonstration

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 4

Crosstalk Between Surface TracesSource end of two open lines

Stimulus

Edge on stimulus occurs inside scope far off left edge of screen

Near endof victim

Length of coupled segment

SMA

Instructor
Note
Text discussion is section 3.7.2
Page 3: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 3

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 5

Terminate far end of victim

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 6

Terminate far end of aggressor

Stimulus

Far endof aggressor

Near endof victim

Far endof victim

Page 4: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 4

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 7

Surface Traces vs Internal Traces

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 8

Crosstalk in Homogeneous MediumSource end of source terminated lines

Page 5: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 5

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 9

Terminate far end of victim

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 10

Terminate far end of aggressor

Page 6: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 6

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 11

A Quick Overview

• Signal Return Crosstalk– current on shared return lines

causes interference between signals

– large numbers of signals switching simultaneously may result in significant noise

• Inter-Symbol Interference– some transmission systems

remember their history– residual state from previous bits

may distort the current bit• reflections on transmission

lines

• resonant circuits• slow rise times

• Managing Noise– divide noise along two axes

• proportional vs. independent• bounded vs. statistical

– prepare a budget for the bounded sources

• net margin is what remains after bounded sources

– compare magnitude of net margin to standard deviation of statistical sources

• the bit-error rate is a function of this signal-to-noise ratio (SNR)

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 12

Signal Return Crosstalk

• With single-ended signals return currents from several signals often share paths

• Suppose N drivers share a path with parasitic inductance LR

• Each driver switches current i in time tr.

• If all but one output switch simultaneously noise is (N-1)Ldi/dt

• Need a large number of return paths to operate at high speed

Va

Vb

Vc

LR

RO

• Closely related to power supply cross talk

• Also called “ground-bounce” and “simultaneous switching output (SSO)” noise.

Page 7: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 7

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 13

Example Calculation

• LR=5nH

• i = 10mA• tr = 200ps• di/dt = 5 x 107

• Ldi/dt = 0.25V• VRXN = (N-1)Ldi/dt

= 0.25(N-1) V

LP

LG

A

B

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 14

Return Crosstalk and Rise Time

• Return crosstalk is inversely proportional to rise time for resistive loads (transmission lines)

• Return crosstalk is inversely quadratic with rise time for capacitive loads

• Noise can be greatly reduced by slowing down the signal edge (not the clock cycle)

iR

iC

V NL itRXNr

=

Q CV it

V NL CVt

r

RXNS

r

= =

=

24

2

Page 8: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 8

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 15

Intersymbol Interference

• Ideally a transmission system is memoryless– no history of previous bits

• In reality, the state of the system is affected by previous bits– reflections on transmission lines– magnitude and phase of excited

resonances– signals that don’t reach the rails

by the end of the cycle

• This history affects the transmission of the current bit

History A

History B

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 16

Impedance Mismatches

• Echos of previous bits reflect up and down transmission lines

• A mismatch of x gives (to first order) a reflection of kR =x/2

• Worst-case superposition of entire echo train is

k kk

kir Ri

i

R

R

= =−=

∑1 1

Z0, tl

RT

Instructor
Note
Well, if this "x" is a mismatch of x% then Kr is about x/2. e.g. Rt = 45, Z0 = 50, that's a 10% mismatch so Kr = -5/95 ~ -0.05 ~ -5%
Instructor
Note
Note that if Kr << 1 then only the first reflection really is significant. For Kr > 0.25, we get significant contributions from subsequent terms. Hence, keep Kr<<1 and you don't have to worry too much!
Page 9: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 9

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 17

Resonant Circuits

• Tank circuits and resonant sections of transmission lines oscillate

• Oscillations are excited by signal transitions and may interfere with later transitions

• Slow rise times pump less energy into resonant circuits

• Resistance damps oscillation

Va

Next bit starts from history-dependent state

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 18

Inertial Delay

• Some circuits don’t reach steady-state by the end of the cycle

• Start of the next bit then depends on history– residual voltage

• Leads to both voltage and timing noise

• Often caused by poor design for rise-time control

Instructor
Note
But making R large requires possibly changing termination(s) as well as more power dissipation. Making L smaller also helps reduce this amplitude (amplitude is a function of e^(-R/L)) and that may actually be easier.
Page 10: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 10

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 19

Other Noise Sources

• Alpha particles– 5MeV particle injects 730fC of charge into substrate– One node typically collects less than 50fC

• Thermal (Johnson) and Shot noise– Proportional to bandwidth – typically in the uV

• Parameter mismatch– VT and β have deviation proportional to 1/sqrt(WL)– Systematic variations depend on layout

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 20

Managing Noise

• We manage noise using noise budgets

• Categorize noise along two axes– proportional vs. independent– bounded vs. statistical

• Some noise sources could go in either category (e.g., crosstalk to perpendicular lines)

• Allocate noise to various sources

• Constrain design to meet the budget

Proportional Independent

Bou

nded Parallel Xtalk

reflectionISI

Rcvr OffsetRcvr Sens.

Perp. Xtalk PS NoiseThermal Noise

Sta

tistic

al

Instructor
Note
Probably less as this is a function of the diffusing width that is getting smaller every day (50fC is based on 5 micron square diffusion... a 85 nanomater process might have a diffusion of only .25 microns, now)
Instructor
Note
Also note that this is important for chips. It's of no consequence at the board-level.
Instructor
Note
Process variation in the text
Page 11: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 11

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 21

The Noise Budget

1

0

Threshold

Proportional, 20%80mV

Bounded130mV

Gross Margin200mV

Net margin 50mV

Signal Swing 400mVNet margin50mV

VSNR = Net margin

RMS Noise BER

Independent 70mVGaussian

Noise 10mV RMS

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 22

Worst-Case Analysis

• Noise sources are an unknown

• With worst-case analysis, assume– all noise sources have the

greatest possible magnitude– they all sum up in the same

direction

• Unlikely in any single unit at any instant in time but…– if you make enough units– and run them long enough– this case will occur

Signal Swing 400 mVVni Rcvr off+sense 50 mV

Uncancelled PS noise 20 mVTOTAL Vni 70 mv

Kn Crosstalk 0.1Reflections 0.1TOTAL Kn 0.2KnVs 80 mV

Gross Margin 200 mVVni 70 mVKnVs 80 mVVn 150 mVNet Margin 50

Margin Ratio 0.25

Instructor
Note
Defined below... read on...
Page 12: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 12

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 23

Margins and Margin Ratio

• Gross margin is half the signal swing, VGM

• Net margin is gross margin less all bounded noise sources, VNM

• Margin ratio: VNM/VGM is a good figure of merit– indicates proportion by which you

can increase noise sources without causing failure

• Total noise margin is meaningless• Data sheets report gross margin

less receiver offset+sensitivity

1

0

Threshold

GrossMargin

SignalSwing

BoundedSources

NetMargin

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 24

Statistical AnalysisGaussian Noise and Bit-Error Rate

• For some noise sources we consider the probability distribution of values rather than the worst-case value– truly random noise sources

• thermal noise, shot noise

– uncorrelated bounded noise sources

• crosstalk, power supply noise

• Typically we model these sources with a Gaussian distribution

• Most sources are zero mean• The relevant parameter is

their standard deviation or root-mean-squared (RMS) value

Page 13: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 13

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 25

Adding Gaussian Noise Sources

• To sum up zero-mean Gaussian noise sources– sum the variance, not the

standard deviation

• A 10mV RMS source added to a 20mV RMS source gives a 22.4mV RMS source

VN

VRMS i=

∑1 2

1 2

Crosstalk 10.0 mV (RMS)PS Noise 20.0 mV (RMS)TOTAL 22.4 mV (RMS)

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 26

Gaussian Distribution and Error Function

P xx

x P y dy

xx

x

( ) exp

erf( ) ( )

erf( ) exp

= −

=

− >−

−∞∫

12 2

12

2

2

π

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

-4 -3 -2 -1 0 1 2 3 4

P(x)

erf(x)

1-exp(-x2/2)

Fred Rosenberger
1-erf(x) < exp(-x^2/2)
Fred Rosenberger
Delete the "1/N"
Page 14: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 14

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 27

Bit Error Rate (BER)

• If the net margin is VNM

• and the total gaussian noise is VGN

• The Gaussian signal to noise ratio is

VSNR = VNM/VGN

• What is the probability that the noise will exceed the margin?

( )P VV

VV

GN

NM

GN

NM

error = −

< −

1

12

2

erf

exp

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 28

Error Function vs. Exponential

1.E-14

1.E-12

1.E-10

1.E-08

1.E-06

1.E-04

1.E-02

1.E+00

0 2 4 6 8 10

( )P VV

VV

GN

NM

GN

NM

error = −

< −

1

12

2

erf

exp

Instructor
Note
should be Vnm/Vgn
Instructor
Note
Blue line is P(Error) and it's always worse than the exponential (pessimistic).
Page 15: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 15

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 29

An Example Noise Calculation

• 250mV differential signal

• 15% high-frequency attenuation

• 5% crosstalk from adjacent lines

• 5% ISI from reflections• 20mV receiver

offset+sensitivity• 10mV RMS perpendicular

crosstalk• 10mV RMS ‘other’ noise

• What is the Bit Error Rate?

250mV

K mVSignal Swing (dp-dn) 500Gross Margin 250Crosstalk 0.1 25Reflections 0.1 25Attenuation 0.2 75KN 0.3 125Receiver offset+sensitivity 20Fixed noise 145Net Margin 105Perpendicular Crosstalk 10Other Noise 10Total Gaussian 14.1VSNR 7.4BER 1.07E-12

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 30

Noise Budgets and Design Rules

• Do we do a noise budget for every signal?– Of course not

• Noise budgets are done for classes of signals that obey a set of design rules or ground rules– board to board signals– intra-board signals (chip-to-

chip)– global on-chip signals– local on-chip signals– special signals (e.g., domino

or RAM bit lines)

• For each class of signals a set of rules constrains the signal to meet the noise budget– line geometry and spacing– maximum parallel length– ground shields– impedance and termination

tolerance– driver and receiver specifications

• If each signal meets these specs you know it meets the budget and hence will have a BER at least as good as calculated!

Instructor
Line
Instructor
Line
Instructor
Line
Instructor
Line
Instructor
Line
Instructor
Line
Instructor
Note
attentuation K = .3, KN = .5
Instructor
Line
Page 16: EE273 Lecture 5 Noise – Part 2 Signal Return Crosstalk ... · Far end of aggressor Near end of victim Far end of victim. EE 273 Lecture 5, Noise Part 2 1/26/04 ... • Inter-Symbol

EE 273 Lecture 5, Noise Part 2 1/26/04

Copyright 2004 by WJD and HCB, all rights reserved. 16

Copyright (C) by WJD & HCB, All Rights ReservedEE273, L5, Jan 26, 2004 31

Next Time

• Signaling• Current-mode and voltage-mode transmission• References• Termination