An075 PDF
An075 PDF
Power Clean, evenly distributed power to VCC on all boards and devices can
reduce system noise.
Filtering &
Distribution Filtering Noise
To diminish the low-frequency (< 1 kHz) noise caused by the power
supply, filter the noise on the power lines at the point where the power
connects to the PCB and to each device. Altera recommends placing a
100-µF electrolytic capacitor adjacent to the location where the power
supply lines enter the PCB. If using a voltage regulator, place the capacitor
immediately after the final stage that provides the VCC signal to the
device(s). Capacitors not only filter low-frequency noise from the power
supply, but also supply extra current when many outputs switch
simultaneously in a circuit.
Altera Corporation 1
A-AN-75-4.0
an075_4.0.fm Page 2 Thursday, November 8, 2001 1:48 PM
PCB elements add high-frequency noise to the power plane. To filter high-
frequency noise at the device, Altera recommends placing decoupling
capacitors as close as possible to each VCC and ground pair.
f See the Operating Requirements for Altera Devices Data Sheet for more
information on bypass capacitors.
Distributing Power
Power distribution also impacts system noise. Either a power bus network
or power planes can distribute power throughout the PCB.
2 Altera Corporation
an075_4.0.fm Page 3 Thursday, November 8, 2001 1:48 PM
For fully digital systems without separate analog power and ground
planes on the board, adding two new planes to the board may be
prohibitively expensive. Instead, the board designer can create
partitioned power islands (split plane). Figure 2 shows an example board
layout with phase-locked loop (PLL) power islands.
■ For equal power distribution use separate power planes for the
analog power supply.
■ Avoid trace and multiple signal layers when routing the PLL power
supply.
■ Place a ground plane next to the PLL power supply plane.
Altera Corporation 3
an075_4.0.fm Page 4 Thursday, November 8, 2001 1:48 PM
Material Er
Air 1.0
PTFE/glass 2.2
Rogers RO 2800 2.9
CE/goreply 3.0
BT/goreply 3.3
GETEK 3.5
CE/glass 3.7
Silicon dioxide 3.9
BT/glass 4.0
Polymide/glass 4.1
FR-4/glass 4.1
Glass cloth 6.0
Alumina 9.0
4 Altera Corporation
an075_4.0.fm Page 5 Thursday, November 8, 2001 1:48 PM
l
t PD = -------
VP
When driving a line, view the circuit as either a lumped or distributed
circuit depending on whether or not the signal edge rate (tR) is greater
than four times the tPD:
Lumped: t R > 4 × t PD
Distributed: t R < 4 × t PD
Altera Corporation 5
an075_4.0.fm Page 6 Thursday, November 8, 2001 1:48 PM
The falling edge, represented by the IOL curve, has a sharper edge rate and
is more susceptible to transmission line effects. The curve is roughly linear
when it goes from 10% to 90% of the maximum IOL. The following
equation approximates the value of IOL:
IOL = 0.06 VO
Solving the charging capacitor equation for time (t) yields the following
equations:
∂V I
------- = ----O-
∂t C
C
∂t = ----- ( ∂V )
IO
Substituting the equation above for IOL yields the following equation:
C
∂t = -------------------- ( ∂V )
( 0.06 V)
Integrating and solving the integral from 10% to 90% yields the following
signal edge rate (tF) equation for the falling edge:
1 2.1
tF = C × ln(V) 0.2
= 39.19 × C
0.06
To calculate the output delay time, first determine the fall time of the
specified load. To drive a 35-pF load, the fall time is:
– 12
t F = 39.19 × ( 35 × 10 ) sec onds = 1.37 ns
Again, tPD is the length (l) of the line divided by the velocity (VP):
l
t PD = -------
VP
By solving for l using the equation below, calculate the length at which the
line must be treated as a transmission line:
tR × CO ( 1.37 × 10 ) ( 3 × 10 )
–9 8
l > ------------------ = ------------------------------------------------------- = 5.07 cm
4 ER 4 4.1
For example, when using a MAX 7000 device to drive a 35-pF load
through a glass cloth substrate line that is greater than 5.07 cm, treat the
line as a transmission line. Estimation from the curves in Figures 3 shows
IOL to have a faster edge rate and, hence, to be prone to transmission line
effects. However, if IOH has the faster edge rate, it would be more
susceptible, and its linear approximation would be used to calculate l.
6 Altera Corporation
an075_4.0.fm Page 7 Thursday, November 8, 2001 1:48 PM
In the example above, the MAX 7000 device has a normal slew rate and a
VCCIO of 5.0 V. If the slow slew rate logic option is turned on or I/O pins
are connected to 3.3 V, the edge rate of the MAX 7000 device is slower.
When VCCIO is connected to 3.3 V, use the diagram of its output drive
characteristics to calculate tF.
If the slow slew rate option is turned on, the new tF increases. The new
expression for tF is:
4 ns + 1.37 ns = 5.37 ns
With the slow slew rate option turned on, the new length (l) used to
determine a transmission line is 19.89 cm.
Consult the appropriate device data sheet to see if a slow slew rate control
affects both the rising and falling edge rates of a device.
Signal Routing Microstrip or stripline routing are ways to route signals on a PCB.
Microstrip routing refers to a trace routed on an outside layer of the PCB
separated by a dielectric from the reference plane (GND or VCC). Stripline
routing refers to a trace routed on an inside layer with two reference
planes. See Figure 4.
Altera Corporation 7
an075_4.0.fm Page 8 Thursday, November 8, 2001 1:48 PM
Clock Signal Considering routing techniques can help to maximize the quality of clock
transmission lines. Use the following routing techniques for clock signals:
Routing
■ Avoid using serpentine routing; clock traces should be as straight as
possible.
■ Avoid using multiple signal layers for clock signals.
■ Avoid using vias in the clock transmission line, since vias can
contribute impedance change and reflection.
■ Route the clock trace on the microstrip (preferably top layer) to
minimize the use of vias and delays, since air is the dielectric material.
Air has the lowest dielectric constant (Er = 1).
■ Place a ground plane next to the outer layer to minimize noise. If
using the inner layer for routing the clock trace, sandwich the layer
by ground planes to reduce delay.
■ Terminate clock signals properly.
8 Altera Corporation
an075_4.0.fm Page 9 Thursday, November 8, 2001 1:48 PM
Impedance Mismatched impedance causes signals to reflect up and down the line,
which in turn causes ringing at the load. To eliminate reflections, the
Matching & impedance of the source (ZS) must equal the impedance of the trace (Z0),
as well as the load (ZL).
Termination
Schemes The load impedance is typically much higher than the line impedance,
which is higher than the source impedance. On an unmatched
transmission line, a signal reflects 100% at the load and approximately
80% at the source, bouncing back and forth until it dies out. To reduce
signal reflection, match the impedance either at the load (ZL) or at the
source (ZS) to the trace (Z0) by adding an impedance in parallel with the
load to reduce its input impedance.
I OH = 0.15 – ( 0.038 ) × V O
( 0.15 – I OH )
V O = -----------------------------
-
0.038
Calculate the current load for a 1.0 kΩ termination:
0.15 – I OH 0.15 – I OH
I L = ---------------------------------- = -------------------------
0.038 × 1, 000 38
When driving high, IL = IOH, therefore:
0.15
I L = ---------- = 3.85mA
39
Altera Corporation 9
an075_4.0.fm Page 10 Thursday, November 8, 2001 1:48 PM
VBIAS
In an active parallel termination scheme, the terminating resistor (RT = Z0)
is tied to a bias voltage (VBIAS). The bias voltage is such that the output
RT = Z0
drivers are capable of drawing current from the high- and low-level
S L signals. However, this scheme requires a separate voltage source that can
sink and source currents to match the output transfer rates.
Series Termination
S L A series termination scheme matches the impedance at the signal source
RT instead of matching the impedance at each load. Because the output
impedance of Altera devices is low, add a series impedance to match the
signal source to the line impedance.
10 Altera Corporation
an075_4.0.fm Page 11 Thursday, November 8, 2001 1:48 PM
Backward cross-talk occurs when the magnetic field from one trace
induces a signal in a neighboring trace. In logic systems, the current flow
through a trace is significant when the signals are switching or non-static.
The magnetic fields created by switching currents induce the coupling
transients.
Altera Corporation 11
an075_4.0.fm Page 12 Thursday, November 8, 2001 1:48 PM
Cross-talk increases when two or more traces run parallel to one another
for some distance and also with decreased trace separation. As shown in
Figure 7, the center-to-center separation between the two traces should be
at least 4 times the trace width. Without disturbing the separation
between two traces, lowering the distance between the trace and the
ground plane to under 10 mils reduces the cross-talk.
Ground Bounce As digital devices become faster, their output switching times decrease.
Faster switching times cause higher transient currents in outputs as they
discharge load capacitances. These higher currents, which are generated
when multiple outputs of a device switch simultaneously from a logic
high to a logic low, can cause a board-level phenomenon known as
ground bounce.
12 Altera Corporation
an075_4.0.fm Page 13 Thursday, November 8, 2001 1:48 PM
Design Recommendations
Altera recommends the following design methods to reduce ground
bounce:
Altera Corporation 13
an075_4.0.fm Page 14 Thursday, November 8, 2001 1:48 PM
■ Place the power and ground pins next to each other. The total
inductance will be reduced by mutual inductance, since current flows
in opposite directions in power and ground pins.
■ Use a bigger via size to connect the capacitor pad to the power and
ground plane to minimize the inductance in decoupling capacitors.
■ Use the wide and short trace between the via and the capacitor pad
or place the via adjacent to the capacitor pad. See Figure 9.
f Search for “Slow Slew Rate” in the Quartus® II Software Help for more
information about this logic option.
14 Altera Corporation
an075_4.0.fm Page 15 Thursday, November 8, 2001 1:48 PM
Ground bounce occurs when multiple outputs switch from high to low.
The transition causes the charge stored in the load capacitances to flow
into the device. The sudden rush of current (di/dt) exits the device
through the inductances (L) to board ground, generating a voltage (V)
determined by the equation V = L × (di/dt). This voltage difference
between board ground and device ground causes the relative ground
level for low or quiet outputs to temporarily rise or bounce. Although the
rush of current is brief, the magnitude of the bounce can be large enough
to trigger other devices on the PCB.
Altera Corporation 15
an075_4.0.fm Page 16 Thursday, November 8, 2001 1:48 PM
Switching Outputs
When the capacitive loading on the switching outputs increases, the
amount of charge available for instantaneous switching increases, which
in turn increases the magnitude of ground bounce. Depending on the
device, ground bounce increases with capacitive loading until the loading
is approximately 100 pF per device output. At this point, the device output
buffers reach their maximum current-carrying capacity and inductive
factors become dominant.
Some bus applications use pull-up resistors to create a default high value
for the bus. These resistors cause the load capacitances to charge up to the
maximum voltage. Consequently, the driving device produces a higher
level of ground bounce. Eliminate pull-up resistors in applications in
which ground bounce is a concern, or design bus logic that uses pull-
down resistors instead.
To counteract these effects, Altera devices provide multiple VCC and GND
pin pairs. Reduce ground bounce by moving switching outputs close to a
ground pin and distributing simultaneously switching outputs
throughout the device.
Many Altera devices have slew rate options for the output drivers.
Turning on the slow slew rate option for all or most of the drivers slows
down the drivers, decreasing di/dt and reducing ground bounce.
16 Altera Corporation
an075_4.0.fm Page 17 Thursday, November 8, 2001 1:48 PM
To further reduce ground bounce, limit the number of outputs that can
switch simultaneously in the design. For functions such as counters, use
Gray coding as an alternative to standard sequential binary coding,
because only one bit switches at a time.
Quiet Outputs
An increase in capacitive loading on quiet outputs acts as a low-pass filter
and tends to dampen ground bounce. Capacitive loading on a quiet
output can reduce ground bounce by as much as 200 to 300 mV. However,
an increase in capacitive loading on a quiet output can increase the noise
seen on other quiet outputs when the capacitive-loaded pin does switch.
Using multi-layer PCBs that provide separate VCC and ground planes can
also reduce the ground bounce caused by PCB trace inductance. Wire-
wrapping the VCC and ground supplies usually increases the amount of
ground bounce. To reduce unwanted inductance, use low-inductance
bypass capacitors between the VCC supply pins and the board ground
plane, as close to the package supply pins as possible. Altera requires low
ESR decoupling surface mount capacitors of 0.01 µF to 0.1 µF to be used in
parallel to reduce ground bounce. Adding a 0.001 µF capacitor in parallel
to these capacitors filters high frequency noise (>100 MHz).
f Refer to the Minimizing Ground Bounce & VCC Sag White Paper for more
information about ground bounce.
Altera Corporation 17
an075_4.0.fm Page 18 Thursday, November 8, 2001 1:48 PM
References Knack, Kella. Debunking High-Speed PCB Design Myths. ASIC & EDA,
Los Altos: James C. Uhl, July 1993.
Copyright © 2001 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the
101 Innovation Drive stylized Altera logo, specific device designations, and all other words and logos that are identified as
trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera
San Jose, CA 95134 Corporation in the U.S. and other countries. All other product or service names are the property of their
(408) 544-7000 respective holders. ARM is a registered trademark of ARM Limited. Altera products are protected under
http://www.altera.com numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera
warrants performance of its semiconductor products to current specifications in accordance with Altera's
Applications Hotline: standard warranty, but reserves the right to make changes to any products and services at
(800) 800-EPLD any time without notice. Altera assumes no responsibility or liability arising out of the
Customer Marketing: application or use of any information, product, or service described herein except as
expressly agreed to in writing by Altera Corporation. Altera customers are advised to
(408) 544-7104 obtain the latest version of device specifications before relying on any published
Literature Services: information and before placing orders for products or services
lit_req@altera.com
18 Altera Corporation