10
1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Lec 34: December 7, 2016 Transmission Lines Implications Penn ESE 370 Fall 2016 – Khanna Transmission Line Agenda ! See in action in lab ! Where transmission lines arise? ! General wire formulation ! Lossless Transmission Line ! Impedance ! End of Transmission Line? " Open, short, matched ! Termination ! Discuss Lossy ! Implications/Effects 2 Penn ESE 370 Fall 2016 – Khanna Reminder: Transmission Line ! Data travels as waves ! Line has Impedance ! May reflect at end of line 3 V i R Z 0 R + Z 0 # $ % & ' ( = V r V i 2R R + Z 0 " # $ % & ' = V t w = 1 LC = c 0 ε r μ r Z 0 = L C Penn ESE 370 Fall 2016 – Khanna Reminder: End of Line ! What happens at the end of the transmission line? 4 Penn ESE 370 Fall 2016 – Khanna Simulation ! For these, with direct drive from voltage source " Source looks like short circuit (not typical of CMOS) " Source cannot be changed 5 Penn ESE 370 Fall 2016 – Khanna 50Ω line, 75Ω termination 6 V r = V i R Z 0 R + Z 0 # $ % & ' ( = V i 75 50 75 + 50 # $ % & ' ( = 0.2V i Penn ESE 370 Fall 2016 – Khanna

Transmission Line Agenda Modeling, Design, and Optimization …ese370/fall2016/handouts/lec... · 2016. 12. 7. · 6 Receiver deconvolution Penn ESE 370 Fall 2016 - Khanna 31 Termination

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

  • 1

    ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems

    Lec 34: December 7, 2016 Transmission Lines

    Implications

    Penn ESE 370 Fall 2016 – Khanna

    Transmission Line Agenda

    !  See in action in lab !  Where transmission lines arise? !  General wire formulation !  Lossless Transmission Line !  Impedance !  End of Transmission Line?

    "  Open, short, matched

    !  Termination !  Discuss Lossy !  Implications/Effects

    2 Penn ESE 370 Fall 2016 – Khanna

    Reminder: Transmission Line

    !  Data travels as waves !  Line has Impedance !  May reflect at end of line

    3 €

    ViR − Z0R + Z0

    #

    $ %

    &

    ' ( =Vr

    Vi2R

    R + Z0

    "

    # $

    %

    & ' =Vt

    w = 1LC

    =c0εrµr

    Z0 =LC

    Penn ESE 370 Fall 2016 – Khanna

    Reminder: End of Line

    !  What happens at the end of the transmission line?

    4 Penn ESE 370 Fall 2016 – Khanna

    Simulation

    !  For these, with direct drive from voltage source "  Source looks like short circuit (not typical of CMOS)

    "  Source cannot be changed

    5 Penn ESE 370 Fall 2016 – Khanna

    50Ω line, 75Ω termination

    6

    Vr =ViR − Z0R + Z0

    #

    $ %

    &

    ' ( =Vi

    75 − 5075 + 50#

    $ %

    &

    ' ( = 0.2Vi

    Penn ESE 370 Fall 2016 – Khanna

  • 2

    Source Series Termination

    !  What happens here?

    7 Penn ESE 370 Fall 2016 – Khanna

    Simulation

    8 Penn ESE 370 Fall 2016 – Khanna

    Series Termination

    !  Rseries = Z0 !  Initial voltage divider

    "  Half voltage pulse propogates down Tline

    !  End of line open circuit "  Sees single transition to full

    voltage (full reflection)

    !  Reflection returns to source and sees termination Rseries = Z0

    !  No further reflections

    9 Penn ESE 370 Fall 2016 – Khanna

    Termination Cases

    !  Termination in parallel at Sink

    !  Termination in series at Source

    10 Penn ESE 370 Fall 2016 – Khanna

    CMOS Driver / Receiver

    !  Driver: What does a CMOS driver look like at the source? "  Id,sat=1200µA/µm @ 45nm, Vdd=1V

    !  Receiver: What does a CMOS inverter look like at the sink?

    11 Penn ESE 370 Fall 2016 – Khanna

    CMOS Driver

    !  Driver: What does a CMOS driver look like at the source? "  Id,sat=1200µA/µm @ 45nm, Vdd=1V "  Min size:

    "  Idrive=1200µA/µm*45nm=54µA "  Rout=Vdd/Idrive=18kΩ

    12 Penn ESE 370 Fall 2016 – Khanna

  • 3

    CMOS Driver

    !  Driver: What does a CMOS driver look like at the source? "  Id,sat=1200µA/µm @ 45nm, Vdd=1V "  Min size:

    "  Idrive=1200µA/µm*45nm=54µA "  Rout=Vdd/Idrive=18kΩ

    "  W=370 "  Idrive=1200µA/µm*45nm*370=20mA "  Rout=Vdd/Idrive=50Ω

    13 Penn ESE 370 Fall 2016 – Khanna

    CMOS Receiver

    !  Receiver: What does a CMOS inverter look like at the sink?

    14 Penn ESE 370 Fall 2016 – Khanna

    Termination Cases

    !  Termination in parallel at Sink

    !  Termination in series at Source

    15 Penn ESE 370 Fall 2016 – Khanna

    Transmission Lines Specifics

    Characteristics arise form their geometry

    16 Penn ESE 370 Fall 2016 – Khanna

    Coaxial Cable

    !  Inner core conductor: radius r !  Insulator: out to radius R !  Outer core shield (ground)

    !  RG-58 Z0= 50Ω – networking, lab !  (RG-59 Z0= 75Ω – video)

    17 €

    L = µ2π#

    $ %

    &

    ' ( ln

    Rr

    #

    $ %

    &

    ' (

    Z0 =12π#

    $ %

    &

    ' (

    µε

    #

    $ %

    &

    ' ( ln

    Rr

    #

    $ %

    &

    ' (

    Penn ESE 370 Fall 2016 – Khanna

    Printed Circuit Board

    !  Stripline "  Trace between ground planes

    18

    w t b

    εr

    Z0 =14"

    # $ %

    & '

    µε

    "

    # $

    %

    & ' ln

    1+W btb +

    Wb

    "

    #

    $ $

    %

    &

    ' '

    Penn ESE 370 Fall 2016 – Khanna

  • 4

    Printed Circuit Board

    !  Microstrip line "  Trace over single supply plane

    19

    w t

    h εr

    ε0

    Z0 =12π#

    $ %

    &

    ' (

    µ0.475ε r + 0.67( )ε 0

    #

    $ % %

    &

    ' ( ( ln

    4h0.536W + 0.67t#

    $ %

    &

    ' (

    Penn ESE 370 Fall 2016 – Khanna

    Twisted Pair

    !  Category 5 ethernet cable "  Z0=100Ω"  w=0.64c0

    20 Penn ESE 370 Fall 2016 – Khanna

    Implications

    (you should be able to reason about this)

    21 Penn ESE 370 Fall 2016 – Khanna

    Example

    !  25meter category-5 e cable (Z0=100Ω, w=0.64c) !  Supporting 1Gb/s ethernet

    "  4 pairs at 250Mb/s

    !  Time to send data from one end to the other? !  Time between bits at 250Mb/s? !  Bits on each pair in the cable?

    22 Penn ESE 370 Fall 2016 – Khanna

    Pipeline Bits

    !  For properly terminated transmission line "  Do not need to wait for bits to arrive at sink "  Can stick new bits onto wire

    23 Penn ESE 370 Fall 2016 – Khanna

    Limits to Bit Pipelining

    !  What limits? (why only 250Mb/s)

    24 Penn ESE 370 Fall 2016 – Khanna

  • 5

    Limits to Bit Pipelining

    !  What limits? (why only 250Mb/s) "  Risetime/signal distortion "  Clocking

    "  Skew "  Jitter

    "  For bus "  Wire length differences between lines

    25 Penn ESE 370 Fall 2016 – Khanna

    Eye Diagrams

    !  Watch bits over line on scope "  Look at distortion "  “open” eye clean place to sample

    "  Consistent timing of transitions "  Well defined high/low voltage levels

    26 Penn ESE 370 Fall 2016 – Khanna

    Construct Eye Diagram

    !  Generate an input bit sequence pattern that contains all possible combinations of B bits (e.g., B=3 or 4), so a sequence of 2B*B bits. (Otherwise, a random sequence of comparable length is fine.)

    !  Transmit the corresponding discrete time sequence x[n] over the channel (2B*B*N samples, if there are N samples/bit)

    !  Instead of one long plot of y[n], plot the response as an eye diagram: "  a. break the plot up into short segments, each containing K*N samples, starting at

    sample 0, K*N, 2K*N, 3K*N, … (e.g., K=2 or 3 # bits at a time) "  b. plot all the short segments on top of each other 

    Penn ESE 370 Fall 2016 - Khanna 27

    Eye Diagrams

    !  Watch bits over line on scope "  Look at distortion "  “open” eye clean place to sample

    "  Consistent timing of transitions "  Well defined high/low voltage levels

    28 Penn ESE 370 Fall 2016 – Khanna

    Interpretation of Eye Diagram

    29 Penn ESE 370 Fall 2016 - Khanna

    Bad “eye”

    30 Penn ESE 370 Fall 2016 – Khanna

  • 6

    Receiver deconvolution

    31 Penn ESE 370 Fall 2016 - Khanna

    Termination / Mismatch

    !  Wires do look like these transmission lines !  We are terminating them in some way when we

    connect to chip (gate) "  Need to be deliberate about how terminate,

    if we care about high performance

    32 Penn ESE 370 Fall 2016 – Khanna

    Where Mismatch?

    !  Vias !  Wire corners !  Branches !  Connectors !  Board-to-cable !  Cable-to-cable

    33 Penn ESE 370 Fall 2016 – Khanna

    Lossless Transmission Line

    !  What prevents us from having a 500km cat-5 cable?

    34

    Z0

    Penn ESE 370 Fall 2016 – Khanna

    Lossless Transmission Line

    !  How to measure resistance across a cable?

    !  If resistance R across 100m cable, what is resistance across 200m cable?

    35

    Z0

    Penn ESE 370 Fall 2016 – Khanna

    Lossy Transmission Line

    !  How do addition of R’s change? "  Concretely, discretely think about

    R=0.2Ω every meter on Z0=100Ω "  what does each R do?

    36 Penn ESE 370 Fall 2016 – Khanna

  • 7

    Lossy Transmission Line

    !  Each R is a mismatched termination

    !  Each R is a voltage divider

    37

    Vt =Vi2(R + Z0)(R + Z0) + Z0

    "

    # $

    %

    & '

    Vi+1 =VtZ0

    R + Z0

    "

    # $

    %

    & '

    Penn ESE 370 Fall 2016 – Khanna

    Lossy Transmission Line

    38

    Vi+1 =Vi2(R + Z0)(R + Z0) + Z0

    "

    # $

    %

    & '

    Z0R + Z0

    "

    # $

    %

    & '

    Vsnk =Vsrc2(R + Z0)(R + Z0) + Z0

    "

    # $

    %

    & '

    Z0R + Z0

    "

    # $

    %

    & '

    "

    # $

    %

    & '

    N

    Penn ESE 370 Fall 2016 – Khanna

    Lossy Transmission Line

    !  How long before drop voltage by half? R=0.2Ω every meter on Z0=100Ω

    39

    Vsnk =Vsrc2(R + Z0)(R + Z0) + Z0

    "

    # $

    %

    & '

    Z0R + Z0

    "

    # $

    %

    & '

    "

    # $

    %

    & '

    N

    Penn ESE 370 Fall 2016 – Khanna

    Lossless Transmission Line

    !  What prevents us from having a 500km cat-5 cable? "  Not actually lossless!

    40

    Z0

    Penn ESE 370 Fall 2016 – Khanna

    More Examples…

    Time Permitting

    41 Penn ESE 370 Fall 2016 – Khanna

    Bus

    !  Common to have many modules on a bus "  E.g. PCI slots "  DIMM slots for memory

    !  High speed # bus lines are trans. lines

    42 Penn ESE 370 Fall 2016 – Khanna

  • 8

    Multi-drop Bus

    !  Ideal "  Open circuit, no load

    43 Penn ESE 370 Fall 2016 – Khanna

    Multi-Drop Bus

    !  Impact of capacitive load (stub) at drop? "  If tight/regular enough, change Z of line

    44

    Z0 =LC

    Penn ESE 370 Fall 2016 – Khanna

    Multi-Drop Bus

    !  Long wire stub? "  Looks like branch

    "  may produce reflections

    45 Penn ESE 370 Fall 2016 – Khanna

    Impedance Change

    !  What happens if there is an impedance change in the wire? Z0=75Ω, Z1=50Ω"  What reflections and transmission do we get?

    46 Penn ESE 370 Fall 2016 – Khanna

    Z0=75, Z1=50

    !  At junction: "  Reflects

    "  Vr=(50-75)/(50+75)Vi=-0.2Vi "  Transmits

    "  Vt=(100/(50+75))Vi=0.8Vi

    47

    ViR − Z0R + Z0

    #

    $ %

    &

    ' ( =Vr

    Vi2R

    R + Z0

    "

    # $

    %

    & ' =Vt

    Penn ESE 370 Fall 2016 – Khanna

    Impedance Change Z0=75, Z1=50

    48 Penn ESE 370 Fall 2016 – Khanna

    At junction: Reflects

    Vr = -0.2Vi Transmits

    Vt = 0.8Vi

  • 9

    What happens at branch?

    49 Penn ESE 370 Fall 2016 – Khanna

    Branch

    !  Transmission line sees two Z0 in parallel "  Looks like Z0/2

    50 Penn ESE 370 Fall 2016 – Khanna

    Z0=50, Z1=25

    !  At junction: "  Reflects

    "  Vr=(25-50)/(25+50)Vi=-0.33Vi

    "  Transmits "  Vt=(50/(25+50))Vi=0.67Vi

    51

    ViR − Z0R + Z0

    #

    $ %

    &

    ' ( =Vr

    Vi2R

    R + Z0

    "

    # $

    %

    & ' =Vt

    Penn ESE 370 Fall 2016 – Khanna

    End of Branch

    !  What happens at end? !  If ends in matched, parallel termination

    "  No further reflections

    52 Penn ESE 370 Fall 2016 – Khanna

    Branch Simulation

    53 Penn ESE 370 Fall 2016 – Khanna

    At junction: Reflects

    Vr = -0.33Vi Transmits

    Vt = 0.67Vi

    Branch with Open Circuit?

    !  What happens if branch open circuit?

    54 Penn ESE 370 Fall 2016 – Khanna

  • 10

    Branch with Open Circuit

    !  Reflects at end of open-circuit stub !  Reflection returns to branch

    "  …and encounters branch again "  Send transmission pulse to both

    "  Source and other branch

    !  Sink sees original pulse as multiple smaller pulses spread out over time

    55 Penn ESE 370 Fall 2016 – Khanna

    Open Branch Simulation

    56 Penn ESE 370 Fall 2016 – Khanna

    Open Branch Simulation

    57 Penn ESE 370 Fall 2016 – Khanna

    Transmission Line Noise

    !  Frequency limits !  Imperfect termination !  Mismatched segments/junctions/vias/connectors !  Loss due to resistance in line

    "  Limits length

    58 Penn ESE 370 Fall 2016 – Khanna

    Idea

    !  Transmission lines "  high-speed "  high throughput "  long-distance signaling

    !  Termination !  Signal quality

    59

    w = 1LC

    =c0εrµr

    Z0 =LC

    Vr =ViR − Z0R + Z0

    #

    $ %

    &

    ' (

    Penn ESE 370 Fall 2016 – Khanna

    Admin

    !  Project due Monday "  Allowed to submit in Canvas until 11:59pm

    "  Submit SINGLE PDF or word DOC (can still submit in class) "  Only one person needs to submit "  Make sure division of labor and partner contributions are

    included

    !  Final (Th 12/15 @ 12pm) is cumulative "  Lec 1 – 35

    "  Big Idea slides from each lecture

    "  Finals 2010—2015 online "  Monday lecture review "  Martin review session on 12/14 – see piazza for details

    60 Penn ESE 370 Fall 2016 – Khanna