Escolar Documentos
Profissional Documentos
Cultura Documentos
12/4/2002
Agenda
Differential Signaling Definition Voltage Parameters Current mode logic (CML) buffer Timing parameters AC coupling
Relate to parameters Modeling & simulation Clock recovery Embedded clock Common mode response Issues with simulation DC balanced codes Cycle Common mode parameters Differential mode parameters
8B10B encoding
Differential Signaling
12/4/2002
12/4/2002
Tx
Consequently the effective DC value of the wave will be tied to one of these rails. The wave is attenuated around the effective DC component of the waveform, but the reference does not change accordingly. Hence the clock trigger point between various clock load points is very sensitive to distortion and attenuation.
Differential Signaling 12/4/2002
Differential Signaling
Any signal can be considered a loop is completed by two wires. One of the wires in single ended signaling is the ground plane Differential signaling uses two conductors
The transmitter translates the single input signal into a pair of outputs that are driven 180 out of phase. The receiver, a differential amplifier, recovers the signal as the difference in the voltages on the two lines. Differential Signaling is not sensitive to SSO noise. A differential receiver is tolerant of its ground moving around. If each wire of pair is on close proximity of one and other. electromagnetic interference imposes the same voltage on both signals. The difference cancels out the effect. Since the AC currents in the wires are equal but opposite and proximal, radiated EMI is reduced. Signals passing from one board to another are not subject to the local ground disturbances. As frequencies increase beyond 1GHz, up to 80% of the signal may be lost, but difference still crosses 0 volts.
There are still loss issues for differential signaling but only come into play in high loss system. Most single ended systems assume approximately 15% channel loss.
Differential Signaling
12/4/2002
12/4/2002
Voltage on line 1 = a Voltage on line 2 = b Differential voltage d = a-b Common mode voltage c= (a+b)/2 Odd mode signal, o = (a-b)/2 Even mode signal, e = (a+b)/2 Signal on line 1 a = e+o Signal on line 2 b = e-o Useful relations; o = d/2; e = c
Differential Signaling
Reference
12/4/2002
Differential mode propagation Common mode propagation Single ended mode (uncoupled)
propagation
This is when the other line is not driven but terminated to absorbed reflections.
Differential Signaling
12/4/2002
C00 0 0 0 00 := .0 0 00
farad -11 in
C00 0 0 0 0 := .0 0 00 0
farad -00 in
Transmission line
Zdiff := 0 Zcomm := Zse :=
ns Sd := ( L00L00C00C00 = 0 0 )( + ) Sd .0 0 ft
L00L00 + ns Zcomm = 0.00 Sc := ( L00 L00C00C00 = 1 1 0 0 + )( ) Sc .1 1 C00C00 ft Zse = 0 .00 0 0 Sse := L00 C00 ns Sse = 0 0 .0 0 ft
L00 C00
Z0 Zse :=
Differential Impedance
10
decreases differential impedance Differential impedance is always less that 2 times the uncoupled impedance Differential impedance of uncoupled lines is 2 times the uncoupled impedance.
Differential Signaling
12/4/2002
Propagation Velocities
11
Differential mode, Common Mode, and single ended velocities are the same
12
Line1 and line 2 have the same AC offset This is AC common mode AC common mode also result from time
differences (skew) between signal on line 1 and line 2. This can result in AC common mode and differential signal loss. The following slide will be used to clarify the above
Differential Signaling 12/4/2002
13
12/4/2002
Individual signals
Plot individual line voltages and offset voltage
0 00 .0 ai bi 00 .0 0 00 .0 0 0 11 .1 00 .0 0 .0 ti ns 00 .0 00 .0 0
14
offset i 0 0 .0
to receive or transmit the waveforms. In this case the signals swing between -0.1 and 2.1. The sine wave amplitude is 1 and peak to peak is 2. Signal a and b is what would be observed with 2 oscilloscope probes
Differential Signaling 12/4/2002
15
12/4/2002
16
The DC common mode signal is 1 The AC common mode signal is .2 v peak to peak
Some may specifications may call this 0.1 v peak from the DC average
17
offseti 0 0 .0
18
max( a b) min( a b) = 0 0 .0 0
However we lost differential signal amplitude. It used to be 4 peak to peak and now is
3.562.
Differential Signaling
12/4/2002
19
mean
a+ b 0
= 0
max , mean
a+ b b a+ min 0 0
= 11 .11 = 00 .0 0
max mean
a+ b a+ b max 0 0
a+ b a+ b min 0 0
Average is still 1. Peak to peak is 0.944 but peak is 0.504 AC common mode signals can be converted to differential
Differential Signaling 12/4/2002
20
Differential Signaling
12/4/2002
21
Differential Signaling
12/4/2002
22
http://we.home.agilent.com/upload/cmc_upload/tmo/do
Differential Signaling
12/4/2002
23
Transformer
50 TP0
TN0
Differential Signaling
12/4/2002
24
25
26
Data Waves
0
pulse ( t )
0 per
wave( t ) := 0 e
Data Pulses
ns .1 1
0 0
0 0
0 0
0 0
Vcc
0 0 0 0 0 0 0 0
I_source
Wavep ( t)
r_termp, C_term
r_termn, C_term
Differential Signaling
Vss
nd
e ur ct le
12/4/2002
27
Vcc I_source
Differential Signaling
12/4/2002
28
Vcc I_source
Differential Signaling
12/4/2002
Serial Differential
29
data in transit on the interconnect at any points in time. Hence it becomes useful to think of this as serial data transmission. Often multiple single channels are ganged in parallel to achieve even higher data throughput.
Differential Signaling
12/4/2002
AC coupling issues
30
Eye Diagram
The eye diagram is a convenient way to represent
what a receiver will see as well as specifying characteristics of a transmitter. The eye diagram maps all UI intervals on top of one and other. The opening in eye diagram is measure of signal quality. This is the simplest type of eye diagram. The are other form which we will discuss later
31
Eye Diagram
Differential Signaling 12/4/2002
32
tooth waves) on x verses the voltage wave on Y. Can be done with Avanwaves expression calculator and can be saved in a configuration file.
Differential Signaling
12/4/2002
33
Unit Interval
Differential Signaling
12/4/2002
34
Differential Signaling
12/4/2002
35
Differential Signaling
12/4/2002
Clocking
The one thing omitted in the suggests in the
previous slides on eye diagrams was the chop frequency. We assumed it was UI. This is simple for simulation. Time marches along and all signals start out synchronized in time. This is not true for real measurement since edges will significantly jitter and make it difficult to determinate where the exact UI is positioned. Presently, there are basically two forms of GHz+ clocking
Embedded clocking Forwarded clocking
36
Differential Signaling
12/4/2002
Embedded clocking
This what is used in Fiber Channel, Gigabit
Ethernet, PCI Express, Infiniband, SATA, USB, etc. The clock is extracted from the data
37
There is requirement that data transitions are at a minimum rate. 8B/10B guarantees this. We discuss this in more detail later. A phase interpolator is normally used to extract the clock from the data. We discussed the phase interpolator in the clocking class. The phase interpolator is tied to the PCI Express-like jitter spec: Median and Jitter outlier.
Differential Signaling 12/4/2002
38
Forwarded Clocking
The Tx clock is sourced and received down
stream. The clock is a Tx data buffer synchronized with the Tx data bits. A synchronization or training sequence on a data line is used to adjust the receiver clock so that it is in phase synchronization with the data. The caveat is that the actual data clock lags the real data by a few cycles. The whole idea is that the jitter introduced over these cycles would be smaller than the jitter associated with two the PLLs used to provide base clocks for an embedded clock design.
Differential Signaling 12/4/2002
39
Aspects of AC coupling
40
12/4/2002
41
rd
re tu lec
0e
42
1 ma 1
0 11 1mV to 1V / 1
00gHz . + VCR + VCR
AC coupling caps are normally larger, but are scaled down to illustrate common mode effects
.00 pf 0n 0 0 nH 0 0
0 0
.00 pf
.00 pf
0 0 0 nH 0 nH 1n 1 0 nH 0 0
.00 pf
Differential Signaling
12/4/2002
43
Modified
Convenience
Differential Signaling 12/4/2002
44
Single ended
Differential Signaling
12/4/2002
Set IC to Vswing/2
45
Differential
Single ended
Differential Signaling
12/4/2002
46
Differential Signaling
12/4/2002
47
Differential Signaling
12/4/2002
48
Differential
Single ended
Differential Signaling
12/4/2002
49
Single ended
Differential Signaling 12/4/2002
Crossing Offset
50
line that is in the vertical center of the eye and it should be at 0 volts for a differential signal. The amount of offset is the average DC value. A simple approximation is one minus the ratio of ones to zeros times the received vswing/2.
This does not included edge shape effects
Differential Signaling 12/4/2002
51
00 0 0 = 1. 1 0 11 0 0
Approx. offset
Reproduce this at package 2 (receiver)
Differential Signaling
12/4/2002
12/4/2002
53
Differential Signaling
12/4/2002
8b/10b: Overview
The 10 bits are referred to as a symbol or a code
group: The original 8 bits are broken into a 3 bit block and a 5 bit block (each of these are called sub-blocks)
F1 111 10001
54
new bits (labeled fghj) & the 5 bit sub-block (EDCBA) is encoded into 6 new bits (abcdei) HGFEDCBA notation commonly represents the un-encoded bits, and abcdeifghj represents the encoded bits; note that
the relative order and position of the sub-blocks is switched upon encoding
HGF EDCBA abcdei fghj
Hence, an extra bit, j , is added to the newly encoded 3 bit block and an extra bit, i , to the encoded 4 bit block creating a 4 and 5 bit sub-blocks
Differential Signaling 12/4/2002
55
Control (K.a.b)
56
allowed in a row (consecutively)..i.e. the maximum run rate is 5 to maintain a DC balanced transmission. This guarantees the lowest frequency to be 1/10 of the max frequency. i.e. only 1 decade data bandwidth required. With 8b/10b, either positive (RD+) or negative (RD-) disparity encoding is possible
Differential Signaling 12/4/2002
8b/10b - Disparity
Disparity is the difference between the
number of ones and zeros...positive and negative disparity refer to an excess of ones or zeros respectively. Note: neutral disparity is said to occur when RD+ and RD- encoding are identical- meaning they will each have the same number of ones and zeros (there are some exceptions) A given sub-block or symbol can have an actual disparity number of either a zero (neutral), +2 or 2, though the Running Disparity is said only to be Positive, Negative or Neutral.
Differential Signaling 12/4/2002
57
58
binary value of + or -) is tracked by the TX/RX and is computed at every subblock boundary and at each symbol boundary. The value from one sub-block or symbol is used with that of the next sub-block or symbol to give a running or current status.
Differential Signaling 12/4/2002
59
60
already been done; A current disparity value is already assumed Process: Calculate the disparity for the leftmost 6 bits first, keeping in mind the current disparity value before entering the algorithm. Then calculate the disparity for the rightmost 4 bits keeping in mind the disparity value determined after analyzing the previous 6 bits. The disparity for both the 6-bit and the 4-bit blocks should be calculated as follows:
Differential Signaling 12/4/2002
61
Differential Signaling
12/4/2002
62
Neutral means the disparity tracker keeps the previous RD- or RD+ value If Running Disparity is RD+, the following is encoded for the data byte F1: (RD- encoding) If Running Disparity is RD-, the following is encoded for the data byte F1:
111 10001 100011 0111
HGF EDCBA
abcdei fghj
abcdei fghj
(RD+ encoding)
12/4/2002
Differential Signaling
63
of a RD- or RD+ symbol encoding can yield a negative or positive disparity, respectively thus forcing more than one RD- encoding to be used consecutively
Differential Signaling
12/4/2002
64
OR
F1
Binary Data Byte (8b) to be Encoded 1111 0001 10b Encoded symbol (RD-) 100011 0111 10b Encoded symbol (RD+) 100011 0001
Differential Signaling
12/4/2002
Possible Patterns
Repeating Comma [K28.5] Pattern (RD- followed by
RD+):
001111 1010 110000 0101 001111 1010 110000 0101
(RD-) (RD+) (RD-) (RD+) 6 bit encoding starts with an RD- and uses an positive disparity encoding.6 bits encoding yields an RD+..4-bit encoding starts with a RD +4-bit encoding picks a negative (or neutral encoding) and thus yields a neutral and thus keeps the RD+. Checks out.
65
Differential Signaling
12/4/2002
Possible Patterns
66
D21.5 (RD- followed by RD+) 101010 1010 101010 1010 101010 1010 101010 1010
K28.7 (RD-) & D24.3 (RD+) (although K28.7 is reserved....) 001111 1000 001111 1000 001100 1100 001111 1000 001100 1100 D24.6 (RD-) & D24.6 (RD+) 1100110110 0011000110 1100110110 0011000110
(RD-) (RD+)
Composite pattern:
(RD-)
(RD-)
(RD+)
(RD-)
(RD+)
D30.7 (RD-) & D13.7 (RD-) 011110 0001 101100 1000 011110 0001 101100 1000
(RD-) (RD-) (RD-)
Differential Signaling
12/4/2002
References
Infiniband Architecture Release Specification 1.0
October 24, 2000, Volume 2, Section 5.2x (beginning with page 66)
67
Differential Signaling
12/4/2002
68
The time for a one differs from that of a zero. This can be caused by edge jitter. The rising time and falling time are miss matched On the next slide we will take our example with 101010101010 pattern and change the rise time to 50 ps and fall time to 150 ps for the single ended signals
Differential Signaling
12/4/2002
69