Top Banner
Leonardo Insight II - Design of PCB and MCM for high speed digital systems Page 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch SINTEF Electronics and Cybernetics The art of compromise
98

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Dec 17, 2015

Download

Documents

Reynard Booth
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1

Design of PCB and MCM for high speed digital systems

Torstein Gleditsch

SINTEF Electronics and Cybernetics

The art of compromise

Page 2: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 2

What this course is and what it is not

• This course is an introductory course to designing Printed Circuit Boards and Multi Chip Modules for high frequency digital applications.

• It will introduce you to the basic concepts of transmission lines and how utilize this theory into practical designs.

• It will introduce you to modeling of lines, drivers and receivers to help you get a better understanding of the effects of the different measures.

• It will not make you a proficient SPICE user.

• At last it will make you understand why high speed digital design is difficult and how to improve a design.

Page 3: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 3

What is so special with high-speed digital

• Broad band – Must cover every frequency from DC to GHz

– No “Dirty tricks” possible

• Higher order harmonics is necessary for edge integrity.

• High number of critical signals

• Digital signals is more tolerant to distortion

• Switching create high currents in short periods

Page 4: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 4

A digital signal

out

0.0n 10.0n 20.0n 30.0ntime [sec]

-1.0

1.0

3.0

5.0

6.0

Vol

tage

[V

olt]

• Frequency 50MHz

• Risetime 1ns ( 10% - 90% )

• Falltime 1ns ( 10% - 90% )

• Bandwidth 350MHz

Page 5: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 5

Spectrum of a single pulseFFT(V(1))

0.0M 50.0M 100.0M 150.0M

FREQ [Hz]

0.0

0.1

0.2

0.3

0.4

Y A

xis

Tit

le [

Vol

t]

FFT(V(1))

0.0M 50.0M 100.0M 150.0M 200.0MFREQ [Hz]

0.0

0.1

0.2

0.3

0.4

Apl

itud

e [V

olt]

10 ns risetime 1 ns risetime

Page 6: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 6

Spectrum of a pulse trainFFT(V(1))

0.0G 0.2G 0.4G 0.6G 0.8G 1.0GFREQ [Hz]

0.0

0.5

1.0

1.5

Am

plit

ude

[Vol

t]

FFT(V(1))

0.0G 0.2G 0.4G 0.6G 0.8G 1.0GFREQ [Hz]

0.0

0.5

1.0

1.5

Y A

xis

Tit

le [

Vol

t]

Page 7: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 7

The effect of missing harmonics

0 2.5 5 7.5 10 12.5 15 17.5

-0.75

-0.5

-0.25

0

0.25

0.5

0.75

0 2.5 5 7.5 10 12.5 15 17.5-1

-0.5

0

0.5

1

0 2.5 5 7.5 10 12.5 15 17.5

-0.75

-0.5

-0.25

0

0.25

0.5

0.75

0 2.5 5 7.5 10 12.5 15 17.5

-0.75

-0.5

-0.25

0

0.25

0.5

0.75

1st harmonic only

1st and 3rd harmonic only

1st to 5th harmonic

1st to 21st harmonic

Page 8: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 8

Why transmission line calculations

• Transmission line theory describe the behavior of the signals on a PCB or MCM

• Simple models like RC-calculation do not apply at higher frequencies

• It is possible to predict the quality of the signal.

• It is possible to experiment with different types of termination.

Page 9: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 9

When do I have to take into account transmission lines effects

• Thumb rule: When the rise time is less 2.5 times the time delay of the signal on the trace. (Transit time)

• Another: If the trace length is larger than 1/7 of the largest wavelength of the signal. (At upper frequency edge)

• Example with two different effective dielectric constants

Risetime (ns)Risetime (ns)

Tra

ce le

ngth

(m

m)

Tra

ce le

ngth

(m

m)

0 1 2 3 4 5 60

100

200

300

400

0 0.5 1 1.5 20

20

40

60

80

100

120

140

Page 10: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 10

Reflections from a 1ns risetime signal

40 mm non terminated line 300 mm non terminated line

l1outout

0.0n 10.0n 20.0n 30.0n

time [sec]

-4.0

-2.0

0.0

2.0

4.0

6.0

8.0

Y A

xis

Tit

le [

Vol

t]

l1outout

0.0n 10.0n 20.0n 30.0ntime [sec]

-4.0

-2.0

0.0

2.0

4.0

6.0

8.0

Y A

xis

Tit

le [

Vol

t]

Page 11: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 11

Crosstalk

300 mm non terminated line40 mm non terminated line

l2outout1

0.0n 10.0n 20.0n 30.0ntime [sec]

-1.0

-0.5

0.0

0.5

1.0

1.5

Y A

xis

Tit

le [

Vol

t]

l2outout1

0.0n 10.0n 20.0n 30.0ntime [sec]

-1.0

-0.5

0.0

0.5

1.0

1.5

Y A

xis

Tit

le [

Vol

t]

Page 12: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 12

Transmission Lines

A brief introduction

Page 13: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 13

Basic Transmission Line Types

W

Hr

tant

W

t

H

Microstrip

Stripline

Page 14: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 14

Dielectric constant (Relative permittivity) (r )

• Describe a materials ability to hold charge compared to vacuum when used in a capacitor.

• The permittivity of a vacuum is: 0 = 8.85419 ·10-10

• The permittivity of a material is: = 0 r

• If we put a dielectric material between two capacitor plates of area A and a distance D the capacitance in Farad is:

C= AD

[F]

Page 15: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 15

Loss tangent ( tan )

• Describe the materials “resistance” to change of polarization

• is the conductivity of the dielectric at frequency . (S/m)

• is the permittivity of the material. (F/m)

tan =

2 f

Page 16: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 16

Magnetic permeability ()

The magnetic permeability describe a magnetic property of a material. It is the ratio between the magnetic flux density (B) and the external field strength (H).

=B

H

The relative permeability of a material is the permeability relative to vacuum.

µ =µrµ0

µ0=4

107

[H/m]

Page 17: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 17

Properties of glass reinforced materials

Material Dielectric constant( r )

Loss tangent( tan )

FR-4 4.0 0.02

Cyanate Esther 2.8 0.009

Polyimide 3.4 0.01

BismaleimideTriazin 2.9 0.011Teflon 2.2 0.0009

Page 18: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 18

Basic transmission line diagram

DriverTransmission line

Termination resistor

Page 19: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 19

Some Transmission Line Properties

• Signal velocity (m/s)– Influenced by dielectric constant of materials

• Impedance– Mostly influenced by dielectric constant of material, width of line

and distance to ground plane(s)

• Loss– Influenced by conductivity of conducting material, frequency of

signal and loss tangent of the material.

• Dispersion– Influenced by frequency dependant dielectric constant

Page 20: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 20

The four describing parameters

• R Resistance per unit length [ohm / m]

• C Capacitance [ F / m ]

• L Inductance [ H / m]

• G Conductance [ S / m ]

Page 21: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 21

Signal velocity ( )

• The signal velocity is measured in m/s• For a practical calculations the signal velocity is only dependant on the

relative dielectric constant r

• With c0 the velocity of light in vacuum, we get:

v=c0

r[m/s]

Page 22: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 22

Impedance ( Z0 )

• Impedance is measured in Ohms

• Impedance describes the AC resistance a driver will see when driving a signal into a indefinitely long transmission line.

Z0=R+L jG+Cj

For a loss less line this simplifies to:

Z0=L

C

[ohm]

[ohm]

Page 23: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 23

Loss ()

• Loss is measured in dB / m

• Loss is the reduction of signal voltage along a line due to resistance and leakage

• The resistive losses is due to resistance in conductor and ground plane.

• The dielectric losses is due to the energy needed to change polarization of the dielectric material.

• The radiation losses is the energy sent from the conductor acting as an antenna.

Page 24: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 24

Resistive losses ( C )

The resistance is based on the cross-section of the conductor and the bulk resistivity of the conductor material:

R=1

t

=8,68589 R

2Z0

The loss factor is then calculated by:

[dB/m]

[ohm] = bulk conductivity [S/m]w = line width [m]t = line thickness [m]

Page 25: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 25

Skin depth ( s )

At higher frequencies only a thin layer of the conductor transport the current. The thickness where the current density is reduced to 1/e is called the skin depth s.

s=1

µ f[m]

Page 26: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 26

Resistance at higher frequencies

When the conductor is much thicker than the skin depth one have to substitute the skin depth for the thickness in the resistance formula:

[ohm]

The resistance has now become frequency dependent !

R=1

s

R=1

1

µ f

Page 27: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 27

Dielectric loss ( D )

The dielectric loss D is due to the energy needed to change

the polarization of the dielectric material. The conductance is

then:

G=2 f C tan

D=

1

28,68589 G Z0

[S/m]

The dielectric loss is then:

[dB/m]

Page 28: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 28

Radiation loss

• All lines are radiating more or less

• Radiation loss is often negligible from a signal integrity standpoint but important from a EMC standpoint.

• Radiation loss is difficult to calculate

Page 29: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 29

Dispersion

• Dispersion is an effect caused by different velocities for the different frequency components. The result is a different phase change for each of the frequency components.

• The reason for this is that the dielectric constant of the material vary with frequency.

• Dispersion is one of many sources of signal distortion.

• It is not easy to calculate dispersion because the lack of frequency dependant material data.

• Dispersion may cause trouble when exact edge position is important.

Page 30: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 30

Crosstalk

Crosstalk is coupling of a signal form one line to another

There are two key parameters used to describe crosstalk

Kf the forward crosstalk coefficient

Kb the backward crosstalk coefficient (normally the largest)

Td is the transit time delay

K f =-1

2

Lm

Z0- Cm Z0

Kb=-

LmZ0

- Cm Z0

4Td

( )

Page 31: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 31

Reflections

outin1

0.0n 10.0n 20.0n 30.0n

time [sec]

-2.0

0.0

2.0

4.0

6.0

Y A

xis

Tit

le [

Vol

t]

r =Z1 - Z0

Z0 +Z1

In this case Z1 = R2 = 25 ohm, and Z0 = 50 ohm.

Then r = -0.333 => -1.66 overshoot

Page 32: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 32

Via modeling

• Inductance and capacitance of via’s is difficult to calculate without 3D field analysis tools.

• A 1nH inductance and a 1pF capacitance can be used as a start

• Careful use of coaxial line equations can also give an indication of the values.

Page 33: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 33

Building a good board

Some hints for the high performance designer

Page 34: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 34

What is important for a good board

• Symmetrical around center

• Tolerant for etch variations (+/- 1 mil is not unusual)

• Lines spaced for acceptable crosstalk

• Standard dielectric thickness’

• Tolerant for variation in dielectric thickness

• Acceptable high loss. (The loss may be your friend)

• Acceptable total thickness

• Power and ground layers close together (typically 100um)

Page 35: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 35

Laminate tolerances

Dictionary: Toleranse = Tolerance Tykkelse = ThicknessKlasse = Class Glassvevtype = Glass fabric type

Page 36: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 36

Prepreg Tolerances

Page 37: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 37

Impedance tolerance to line width

As line width increases, dependence on absolute tolerance decreases

Border lines on +-1mils absolute line width tolerance

Page 38: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 38

Impedance tolerance to laminate tolerance

Page 39: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 39

Minimum line widths vs. r and dielectric thickness

Curves on equivalent dielectricthickness

Page 40: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 40

8 layer high-speed lay-up example 1

Dictionary:Kobber =Copper

rent = pure

Page 41: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 41

8 layer high-speed lay-up example 2

Page 42: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 42

Pack32

A desktop calculator for transmission lines

Page 43: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 43

Idea behind the program

• Easy to use

• PC based ( Windows 95 or NT )

• Good enough results (better than textbook formulas)

• Easy to organize material, component and lay-ups

• Easy for the developers to add new functions.

• Data is stored one place, no tedious typing

• Fast, no calculation take more than one second

Page 44: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 44

Workflow for transmission line analysis

1. Enter material data if not in database

2. Define a Lay-up

3. Calculate the line properties for a single line

4. Adjust Lay-up and re-calculate until satisfied

5. Calculate for double lines to check for crosstalk and dual line impedance.

6. Generate a SPICE model for a critical net in the design, single or double lines as appropriate

7. Simulate and adjust line parameters (width, spacing, lay-up)

8. Use the obtained parameters as design rules for your critical nets.

Page 45: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 45

Material database

For transmission line calculation,

one need:

•Electrical conductivity

•Dielectric constant

•Dielectric loss factor

•Magnetic permeability

Sorry! You have not got the English version!

Page 46: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 46

Lay-up definition

Sorry! Norwegian text!

Page 47: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 47

Single line analysis

Stripline

Microstrip

Buried microstrip

Page 48: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 48

Dual Line Analysis

Page 49: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 49

Exercise

Design a lay-up with these properties:

• 50 Ohms impedance

• FR-4 Dielectric

• No Solder resist

• 4 Signal layers

• Two Power layers

• Two Ground layers

• No more than 3dB loss for a 10cm line at 1GHz

• Tolerant for +/- 1 mil etch error.

Page 50: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 50

Analog simulation of digital signals

Time for sacrifice

Page 51: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 51

The two main simulation approaches

• Time domain simulators– Easy to model nonlinear circuits such as digital drivers

– Has no possibility to handle frequency dependent parameters

– Convergence problems

– Relatively slow simulation

– Typical product: SPICE

• Frequency domain simulators – Easy to model circuits with frequency dependent parameters

– Only possible to model linear circuits

– Fast and easy convergence

– Typical product: HP-EEsof Series IV Linear simulator

What we really need does not exist

Page 52: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 52

Aim-SPICE

• Based on Berkeley SPICE version 3.E1

• Good user interface

• Good post processor

• Cheap

• Student version is limited but usable

• Designed for Windows95 / NT

• Text based, no schematic editor

Page 53: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 53

A SPICE example

First line

.MODEL LineModel LTRA L=460N C=94P R=10 LEN= .04

V1 in 0 PULSE(0,10,10n,1n,1n,10n,20n)

R1 in lin 50

O1 lin 0 out 0 LineModel

R2 out 0 50

Page 54: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 54

General

• All values are in basic SI units [Ohm, Farad, Henry,Volt, Ampere]

• Postfixes are allowed: m = 10-3 , u= 10-6 , n= 10-9 , p= 10-12

k= 103 , meg= 106 , g= 109

• Element names must be unique and is interpreted by ASCII value

• Node names can be numbers or names and is interpreted by ASCII

• Node 0 is the system ground and MUST be connected.

• The first line MUST be the model name

• Blank lines are allowed

On the following pages some important elements is shown, refer to the online SPICE manual for details and more options.

Page 55: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 55

Passive elements

ResistorRxxx <N1> <N2> <Value>

CapacitorCxxx <N1> <N2> <Value>

InductorLxxx <N1> <N2> <Value>

Page 56: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 56

Transmission lines

Loss-less transmission line

Txxx <N1> <Gnd> <N2> <Gnd> <Z0=Value> [Td=Value]

Lossy transmission line.MODEL LineModel LTRA L=460N C=94P R=10 LEN= .04

Oxxx <N1> <Gnd> <N2> <Gnd> <Name>

Page 57: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 57

Voltage sources

Voltage sourceVxxx <N+> <N-> <Type>

Some useful Types for transient analysis

For a pure DC source:DC <Value>

For a pulse train generator PULSE(<High voltage>,<Low voltage>,<Delay>,<Rise-

time>,<Fall-time>,<High time>,<Cycle time>)

Page 58: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 58

Exercise

Simulate a 15cm long microstrip with these specs:

• 125 um wide

• 17.5um thick

• Dielectric is polyimide

• Dielectric thickness is 100um

• Source impedance is 70 Ohm

• Termination resistance is 50 Ohms

• Rise and fall times is 0.8ns, frequency is 200MHz

1. What is the maximum over / undershoot

2. Insert a capacitor of 50pF in parallel with the terminator, see what happens.

Page 59: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 59

Subcircuits

SPICE have a nice feature called sub-circuits which work like subroutines.

The syntax is:

.SUBCKT <Name> <Node1> <Node2> ....[Node n]

<Spice code with the node names as I/O>

.ENDS

You call this subcircuit with

Xxxx <N1> <N2> ... [Nn] <Name>

Page 60: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 60

Distributed models

An other way of simulating transmission lines is by using distributed models.

Selecting a high number of segments will give excellent results but may cause problems in initialization.

The Student version can only handle 10 of these segments due to the maximum of 50 elements.

Page 61: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 61

PACK model generation

PACK can generate the models for you

Page 62: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 62

Pack Generated Distributed Model

Page 63: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 63

Exercise

Make a distributed model of the last exercise and compare results

Page 64: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 64

Exercise

A board needs 60 Ohms lines in the inner layers.

Design a board for 60 Ohm lines and generate a single LTRA model of 5 cm.

Make a three segment line with a 60 Ohm driver.After the first segment the line splits into the two other segments. Each of the splits is terminated in 60 ohms.

Page 65: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 65

Modeling of drivers and receivers

When is enough enough

Page 66: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 66

Not all models have long hair and blue eyes

Driver models are difficult to obtain, usually you have three options:

1. Use vendor supplied SPICE models of the output stage

2. Use vendor supplied IBIS models

3. Roll your own simple models based on rise time and output impedance.

Page 67: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 67

Vendor supplied SPICE models

• Difficult to obtain, vendors generally do not want to disclose their design.

• Most vendors require non disclosure agreement

• Difficult to run. Vendors usually use H-SPICE, board designers do not.

• Models are to detailed, unnecessary accuracy give slow simulation.

• Difficult to set the right environment for drivers etc.

So, vendor supplied SPICE models is generally not a good idea.

Page 68: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 68

Vendor supplied IBIS models

IBIS solves most of the problems related to vendor models except:

• Not all SPICE simulators run IBIS models

• Not all vendors supply IBIS models, although this is rapidly increasing

IBIS models is sufficiently accurate for package and module simulation.

So, use IBIS models (If you can)

Page 69: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 69

IBIS model

Page 70: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 70

IBIS I/V curves (ABT 244)

-4 -2 0 2 4 6 8 10

-0.7

-0.6

-0.5

-0.4

-0.3

-0.2

-0.1

0

-4 -2 0 2 4 6 8 10

-0.5

0

0.5

1

1.5

Pull-up curve

( Referenced to Vcc )

Y-axis: Current [A]

X-axis: Voltage [V]

Pull-down curve

Page 71: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 71

IBIS viewing tool

Page 72: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 72

Make your own models

• Simple models are sufficient to study transmission line effects and to develop design rules.

• They are not sufficient for optimizing a specific net.

• A very simple model:

Page 73: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 73

Exercise

Study the supplier SPICE model of an “IBIS” driver.

Adjust the data to fit an SN74ALVCH16244

Compare with data sheets and the timing article

Page 74: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 74

Routing of high speed signals

There is no easy way

( but some auto-routers are really good )

Page 75: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 75

Main Issues for Routing

• Routing topologies and loading

• Impedance

• Rise and fall time degradation

• Signal Skew (Signal delay difference)

• First incident clocking

• Crosstalk

• Signal return path

• Termination

Page 76: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 76

Point to Point Topology

• This is the ideal topology but not very efficient in that it requires a lot of extra buffers.

• Always use this topology for critical clock trees.

• Use low skew clock buffers

• Skew can be compensated with delay lines

Page 77: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 77

Fan / Star topology

• This topology is routing efficient but put heavy load on the driver, especially where several lines fan out.

• Use drivers with low output impedance.

• Terminate properly at each receiver or reflections will propagate back and forth in the net.

• Be careful with the high power consumption of many terminated lines

Page 78: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 78

T - Topology

• This split will cause a 33% negative reflection if all lines are of same impedance.

• All ends (also driver) should be terminated properly for larger nets

• The driver will have to drive twice the amount of DC into the termination resistors.

Page 79: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 79

Daisy Chain

• The preferred topology for high speed digital.

• Terminate in both ends.

• Allow no stubs

• Keep tap load low.

• Keep distance between loads so high that the signal can recover.

Page 80: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 80

Rise and fall time degradation

Any lossy transmission line acts as a filter which filters the high frequency components first. Since the high frequency components is damped more the signal will show slower rise times at the end of the line.

Page 81: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 81

Signal skewSignal skew is the delay difference at inputs.

Keeping low signal skew in a clock system is a challenge and there are several effects to consider.

• Keep every signal trace equally long

• Use low skew drivers

• Rise time degradation may pose a problem in calculated delay daisy chains.

• Signals travel faster at outer layers, so trace lengths must be compensated. Or - use only inner layers.

• Poor decoupling influence rise time.

• Use only first incident clocking or better, reduce reflections to zero.

Page 82: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 82

Signal return path

The high frequency signals follow a mirror image of the trace on the ground plane. Do not degrade this return by:

• Changing to layers which have another ground-plane without placing a ground-ground via close to the signal via. If the new reference plane is a power plane a low inductance decoupling is placed close to the signal via

• Using split reference planes.

• Using one small via for several returns, this may cause common mode problems.

Page 83: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 83

How To Design Delay Lines

• Remember loss

• Use meander structure, be careful to avoid inductor effects.

• Keep meander lines at least 4 times the distance to ground plane apart to avoid distortion.

• Preferably use inner layers, this reduce distortion and keep inductance low.

Page 84: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 84

Line Termination

Terminating lines driven with drivers that do not allow termination

Page 85: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 85

Why terminate the signals

• Termination is a method to match the driver, line and receiver in such way that no reflections are generated.

• Generally the ideal would be to do a parallel termination in the line impedance

• Terminate critical lines that are longer than 1/3 of the rise time. On FR-4 this mean that a 1ns rise signal, the longest unterminated line is 5cm.

• Reflections can cause double trigging, if using non- terminated nets do not use data before the reflections have settled.

Page 86: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 86

Series Termination

• Used to match driver impedance

• Slow rise and fall times (Some times good, for instance to achieve low crosstalk)

• Absorb reflections if matched to line

Page 87: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 87

Parallel Termination

• The termination of choice for high speed digital, especially for ECL, PECL and other technologies intended for termination.

• High power consumption.

• 100% clean signals possible

Page 88: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 88

RC Termination

• AC termination, better for technologies not intended for termination.

• Low power consumption (No DC consumption)

• Be careful with inductive capacitors, select capacitors with care.

Page 89: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 89

Thevenin Termination

• Ideal for bus termination or lines with 3-State drivers.

• 330 Ohm & 220 Ohm is often used.

• Faster switching from 3-state

• Does NOT correctly terminate the line, reflections will occur

Page 90: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 90

Diode Termination

• Kills large over and undershoot

• Not generally useful in high-speed systems. (A design needing this type of termination have probably greater problems elsewhere)

Page 91: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 91

Power distribution and de-coupling

How to supply the right voltage at the right place at the right time

Page 92: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 92

Power distribution

• The power and ground system serves two purposes. – First to serve as a return path for the signal.

– Second to supply the devices with power.

• The high frequency components of today is using a lot of power at a low voltage. The result is very high currents.

• A modern FPGA can draw several amperes the first nanosecond after switching.

• To meet these challenges one need a low inductance, low resistance and high capacitance power system.

Page 93: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 93

Why Decoupling

• The high switching currents in today's components create a need for a local current supply with sufficient charge to avoid a severe voltage drop at the power pins.

• When these resources are exhausted on need larger supplies that are closer than the power supply.

• Closely spaced power planes give a good high frequency, low inductance decoupling but it can not hold much charge.

Page 94: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 94

A Capacitor is Not a Capacitor

• A capacitor is a passive device dominated by capacitance.

• A 100nF capacitor can have C=84nF, L=1.3nH, R=0.13ohm

• A capacitor is often described with its resonance frequency

• Different dielectrics NPO, X7R or Z5U have different properties.

• Usually thin and wide X7R chips is the best choice for decoupling.

• To be sure on have to measure the inductance which is difficult

• To compare two capacitors of same nominal capacitance chose the one with the highest resonance frequency.

• So called high frequency capacitors is not necessarily less inductive

fres =1

2 LC

Page 95: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 95

Selecting Decoupling Capacitors

Selecting a decoupling capacitor is not easy but some general

rules apply:

• Select the smallest value that is sufficient to decouple the device. If you do not know what is sufficient choose one 100nF capacitor for each power pin

• Use only chip capacitors, leaded capacitors is to inductive to be of any help.

• Decouple in levels with the smallest value (i.e. 100nF) close to the power pin, the medium values(i.e. 10F) evenly distributed, the higher values (i.e. 47F tantalum) close to the connector power pins.

Page 96: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 96

Where to place decoupling capacitors

• Get as close as possible to power and ground pins.

• Keep distance to pin very SHORT and the trace WIDE.

• Set the via as close as possible to the capacitor, preferably in the pad.

• One capacitor for every power (and ground) pin is a good rule of thumb, you do not have to mount all of them in production if the system works with less.

• Calculate inductance. If too high - forget the capacitor.

• Do not forget to place decoupling capacitors close to termination resistors, it is important to keep the reference voltages steady.

Page 97: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 97

Splitting power planes

• Be very careful with splitting ground planes.

• If you have to split, keep the split narrow and secure an AC return path.

• Splits act as slot antennas and will radiate heavily.

• Remember that digital signals are broad band and that filters are narrow band. Filters over the gap may cause problems.

Page 98: Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 1 Design of PCB and MCM for high speed digital systems Torstein Gleditsch.

Leonardo Insight II - Design of PCB and MCM for high speed digital systemsPage 98

Microstrip Over a Slotted Ground Plane

IEEE Circuits & Devices Nov. 1997

1 2

3 4