Clock and Data Recovery for Serial Digital Communication



Similar documents
ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7

Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.

A 3.2Gb/s Clock and Data Recovery Circuit Without Reference Clock for a High-Speed Serial Data Link

USB 3.0 CDR Model White Paper Revision 0.5

VCO Phase noise. Characterizing Phase Noise

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Timing Errors and Jitter

Analysis and Design of Robust Multi-Gb/s Clock and Data Recovery Circuits

Introduction to Receivers

How PLL Performances Affect Wireless Systems

ISSCC 2003 / SESSION 4 / CLOCK RECOVERY AND BACKPLANE TRANSCEIVERS / PAPER 4.7

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Duobinary Modulation For Optical Systems

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

MODULATION Systems (part 1)

PCM Encoding and Decoding:

Highly Reliable Testing of 10-Gb/s Systems (STM-64/OC-192)

DS2187 Receive Line Interface

A 10-Gb/s CMOS Clock and Data Recovery Circuit with a Half-Rate Linear Phase Detector

Jitter Transfer Functions in Minutes

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

A 1.62/2.7/5.4 Gbps Clock and Data Recovery Circuit for DisplayPort 1.2 with a single VCO

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

CLOCK AND SYNCHRONIZATION IN SYSTEM 6000

IN RECENT YEARS, the increase of data transmission over

AN-756 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

NRZ Bandwidth - HF Cutoff vs. SNR

Abstract. Cycle Domain Simulator for Phase-Locked Loops

Clock Recovery Primer, Part 1. Primer

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Data Transmission. Data Communications Model. CSE 3461 / 5461: Computer Networking & Internet Technologies. Presentation B

Reading: HH Sections , (pgs , )

Equalization/Compensation of Transmission Media. Channel (copper or fiber)

Optimizing VCO PLL Evaluations & PLL Synthesizer Designs

Analog vs. Digital Transmission

Lezione 6 Communications Blockset

EECC694 - Shaaban. Transmission Channel

Clock Jitter Definitions and Measurement Methods

Digital Transmission (Line Coding)

Phase Locked Loop (PLL) based Clock and Data Recovery Circuits (CDR) using Calibrated Delay Flip Flop

Non-Data Aided Carrier Offset Compensation for SDR Implementation

Understanding Power Impedance Supply for Optimum Decoupling

Large-Capacity Optical Transmission Technologies Supporting the Optical Submarine Cable System

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

A CMOS Clock Recovery Circuit for 2.5-Gb/s NRZ Data

Appendix D Digital Modulation and GMSK

MAINTENANCE & ADJUSTMENT

Design and Modelling of Clock and Data Recovery Integrated Circuit in 130 nm CMOS Technology for 10 Gb/s Serial Data Communications

Jitter in PCIe application on embedded boards with PLL Zero delay Clock buffer

8B/10B Coding 64B/66B Coding

PCI-SIG ENGINEERING CHANGE NOTICE

Phase Noise Measurement Methods and Techniques

1 Multi-channel frequency division multiplex frequency modulation (FDM-FM) emissions

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Data Receivers. Digital Data Receivers

Op Amp Circuit Collection

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

RF Network Analyzer Basics

AN-837 APPLICATION NOTE

DTSB35(53)12L-CD20 RoHS Compliant 1.25G 1310/1550nm(1550/1310nm) 20KM Transceiver

Fiber Optic Communications Educational Toolkit

Application Note. Line Card Redundancy Design With the XRT83SL38 T1/E1 SH/LH LIU ICs

Introduction to Optical Link Design

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

Keysight Technologies Characterizing and Verifying Compliance of 100Gb Ethernet Components and Systems. Application Brief

Controller Design in Frequency Domain

MSB MODULATION DOUBLES CABLE TV CAPACITY Harold R. Walker and Bohdan Stryzak Pegasus Data Systems ( 5/12/06) pegasusdat@aol.com

MATRIX TECHNICAL NOTES

Clocking. Clocking in the Digital Network

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

Contents. Preface. xiii. Part I 1

Lab 5 Getting started with analog-digital conversion

Analog and Digital Signals, Time and Frequency Representation of Signals

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

1.6 Gbit/s Synchronous Optical QPSK Transmission with Standard DFB Lasers in Realtime

Application Note Noise Frequently Asked Questions

Lock - in Amplifier and Applications

6.976 High Speed Communication Circuits and Systems Lecture 1 Overview of Course

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

155 Mb/s Fiber Optic Light to Logic Receivers for OC3/STM1

Implementing Digital Wireless Systems. And an FCC update

Introduction to Digital Subscriber s Line (DSL)

A 10GB/S FULL ON-CHIP BANG-BANG CLOCK AND DATA RECOVERY SYSTEM USING AN ADAPTIVE LOOP BANDWIDTH STRATEGY. A Thesis HYUNG-JOON JEON

Optimizing IP3 and ACPR Measurements

Jitter Measurements in Serial Data Signals

Signal Types and Terminations

The Future of Multi-Clock Systems

Digital Baseband Modulation

FIBER OPTIC COMMUNICATIONS. Optical Fibers

Physical Layer, Part 2 Digital Transmissions and Multiplexing

CLOCK AND DATA RECOVERY CIRCUITS RUIYUAN ZHANG

Application Note SAW-Components

Clock and Data Recovery for Serial Digital Communication

Revision of Lecture Eighteen

Transcription:

Clock and Data Recovery for Serial Digital Communication Rick Walker Hewlett-Packard Company Palo Alto, California walker@opus.hpl.hp.com

Basic Idea Serial data transmission sends binary bits of track information drifting tx as clock a series and prop of optical delay or variation electrical + identify pulses: bits 0111011000111110011010010000101011101100011111.. The transmission channel (coax, radio, fiber) generally distorts the signal in various ways: From this signal we must recover both clock and data 5

Eye diagram Use a precise clock to chop the received data into periods Overlay each of the periods onto one plot symbol cell } X Y X jitter Y amplitude distribution at Y-Y 7

Eye diagram construction random data TX RX link synth scope trigger 6

Definition of Jitter unit interval -3T -2T -T 0 T 2T 3T 4T Impulses spaced equally in time (jitter free signal) time -3T -2T -T 0 T 2T 3T 4T Impulses spaced irregularly in time (jittered signal) Errors treated as discrete samples of continuous time jitter After Trischitta and Varma: Jitter in Digital Transmission Systems 20

Analytic Treatment of Jitter Perfect Clock: xt () = Acosω c t Jittered Clock: xt () = Acos[ ω c t + φ() t ] φ() t is then treated as a continuous time signal After Behzad Razavi: Monolithic Phase-Locked Loops, ISSCC96 Tutorial 29

Data Recovery with simple PLL Jittered Data Signal D Q Retimed Data PLL Phase Detector Low-pass Loop Filter Voltage Controlled Oscillator 28

Model of Loop Phase Detector Loop Filter VCO K 1 φ K v -- s β + 1 ( ------------------ 1 + sτ) Warning: Extra Integration in loop makes for tricky design! See Floyd M. Gardner, Phaselock Techniques, John Wiley and Sons, for good introduction to PLL theory 30

Loop Frequency Response a (input data jitter) K φ β + 1 ( ------------------ 1 + sτ) K v ------ s b c (vco phase noise) 80dB 40dB 0dB c/a open loop gain c/b -40dB -80dB 1k 10k 100k 1M 10M 100M 1G 10G 31

Jitter Measurements SONET has most complete set of jitter measurement standards, but the techniques are useful and relevant for datacom applications also. Jitter Tolerance Jitter Transfer Jitter Generation 46

Jitter Tolerance Test Setup laser transmitter optical receiver data generator xamp + limiter decision circuit bit error rate tester FM modulated clock optical attenuator retiming circuit sine wave generator At each frequency, the sinewave modulation amplitude is increased until the BER penalty is equal to that caused by 1dB optical attentuation After Trischitta and Varma: Jitter in Digital Transmission Systems 47

SONET Jitter Tolerance Mask 15 UI 1.5 UI acceptable range 0.15 UI f 0 f 1 f 2 f 3 f t Data Rate f 0 [Hz] f 1 [Hz] f 2 [Hz] f 3 [khz] f t [khz] 155 Mb 10 30 300 6.5 65 622 Mb 10 30 300 25 250 2.488 Gb 10 600 6000 100 1000 10 Gb??? 400 4000 from SONET SPEC: TA-NWT-000253 Issue 6, Sept. 1990, fig 5-13 48

Jitter Transfer Measurement data generator decision circuit clock Phase detector Signal Generator D.U.T. retiming circuit Phase modulator ϕ [TrV89] [RaO91] IN OUT network analyzer 49

Jitter Transfer Analysis clock amplitude sideband Θ resultant Assuming small angles (i.e.: only one dominant sideband on recovered clock): Jitter pp( rads) = 2 Θ 2 V sideband atan ------------------------- V clock Jitter transfer is defined as the jitter at the clock output divided by the jitter at the D.U.T input, plotted as a function of jitter frequency.??

Jitter Transfer Specification P[dB] slope = -20 db/decade acceptable range f c Data Rate f c [khz] P[dB] 155 Mb 130 0.1 622 Mb 500 0.1 2.488 Gb 2000 0.1 This specification is intended to control jitter peaking in long repeater chains 50

Some Signal Degradation Mechanisms Multiplex Jitter AC Coupling Optical Pulse Dispersion Skin Loss Random Noise E+O Crosstalk Intersymbol Interference 8

Multiplex Jitter bit stuffing events high speed data sub-rate data phase error [in UI] time Multiplex jitter is not a problem on the high rate channel itself - it only occurs on non-synchronous, lower speed tributaries that have been sent over the high-speed channel (e.g.: DS3 over SONET OC-48). 9

Voltage and Time aberrations caused by AC-coupling t V V t t=0 t=t 1 AC coupled pulses droop as P V V t t 1 --------------- 100 ------- 100. V RC Jitter is introduced by finite slope of pulse rise/fall time: t r t 1 t = --------------- ( 2RC) 10

Jitter Generation decision circuit computer retiming circuit spectrum analyzer S.U.T. recovered clock 51

Jitter Generation (cont.) 1) Measure Jitter Sidebands around Clock Jitter pp( rads) = 2 Θ 2 V sideband atan ------------------------- V clock 2) Multiply Jitter components by Filter Mask 3) RMS sum total noise voltages over band 4) Convert RMS noise voltage to RMS jitter clock amplitude sideband Θ resultant OC-48 (2.488 Gb/s SONET) specifies 12 khz hipass filter, and maximum 0.01 UI RMS integrated jitter. 52

Decision Circuit Quantizes amplitude at precise sample instant Typically uses positive feedback to resolve small input signals A master/slave D-flip-flop carefully optimized for input sensitivity and clock phase margin is a common choice Latches input data on rising edge of clock signal simplified schematic symbol: D Q clock 39

Code Disparity Disparity is defined as N high - N low in past transmitted signal +5 0-5 encoded data signal signal disparity In an unbalanced code the disparity can grow without limit. e.g.: 4B5B code of FDDI In a balanced code, the disparity is limited to a finite worst case value. e.g.: 8B10B of FibreChannel After Tom Hornak: Interface Electronics for Fiber Optic Computer Links, (see bibliography for full citation) 16

Filter Method Examples d dt X 2 bandpass filter NRZ Data Input non-linear element delay e.g.: SAW filter bandpass filter LC tank Recovered Clock Output (this last circuit can be thought of as an NRZ-RZ converter) 25

Spectrum of NRZ data variations due to DC balance strategy power in db sin( 2πfT) ------------------------ 2π ft missing clock frequency f = 0 1 2T 1 T 3 2T 2 T 22

NRZ and RZ signalling NRZ = non return to zero data + + + + + RZ = return to zero data + + + + + neither clock nor data frequency in spectrum data frequency clock frequency clock,butno data frequency in spectrum T NRZ signalling is almost universally used. 21

A detailed look at the spectrum of differentiated NRZ missing clock frequency power in db ± k f = 0 f c 2 f c A k 2π f c sin ----- ± 2 k ± Θ k k 23

Reconstructing the Clock Start with symmetric sideband pairs about f c /2: A k 2π f c sin ----- ± 2 k ± Θ k k Mix data signal with itself (e.g.: square law): 1 sinαsinβ = -- 2 cos( α β) cos( α+ β) All the symmetric sidebands mix pairwise to coherently create a carrier frequency component: direct implementation of this principle is Filter Method 24

Example Bipolar Decision Circuit master latch slave latch gnd data in clock in Vbias data out -5V many clever optimizations are possible 40

Summary of Filter Method Jittered NRZ Data Signal D Q Retimed Data d dt X 2 bandpass filter/limiter Pro: Very simple to implement Can be built with microwave tinkertoys using coax to very high frequencies Con: Temperature and frequency variation of filter group delay makes sampling time difficult to control Narrow pulses imply high f T Hi-Q filter difficult to integrate 26

Example MOS Decision Circuit master latch data in clock slave latch clock decision circuits can be implemented in NMOS technology up to Gb/s speeds 41

Decision Threshold Generation To minimize bit-error rate, the decision threshold X-X must centered in the signal swing. Two common ways of automatically generating threshold voltage are: Peak detection of signal extremes, limited run-length required Signal positive peak detector negative peak detector Decision Threshold Decision threshold = signal average, balanced signal required Signal Low-Pass Filter Decision Threshold After Tom Hornak: Interface Electronics for Fiber Optic Computer Links, (see bibliography for full citation) 15

Quantized Feedback AC-Coupled Transmission Link TX H( ω) RX Feedback voltage models missing DC information 1 H( ω) D Q Output Data (models ideal TX waveform) clock 11

Phasor Diagram Graph of relative phase between clock and data Each complete rotation is 1 unit interval of phase slip Rotations/second = frequency error (in Hz) 0 Plot of data transitions versus VCO clock phase. 270 180 90 Data at 1/2, or VCO at 2x, the proper frequency look locked. This puts a limit on VCO tolerance to prevent false locking. = missing transitions = actual transitions 43

Example Lock Detector 0 [FP15.5] ideal data eye 270 90 noisy data eye 180 clock a,b data D Q D Q Raw out-of lock indication 44

Aided Acquistion Tricky task due to Nyquist sampling constraints caused by stuttering data transitions Input Data PD loop filter 1 VCO FD loop filter 2 Still subject to false lock if VCO range is too wide After Behzad Razavi: Monolithic Phase-Locked Loops, ISSCC96 Tutorial 42

Phase Detectors Phase detectors generate a DC component proportional to deviation of the sampling point from center of bit-cell Phase detectors are: Continuous 180 90 0 90 180 Binary Quantized Binary quantized phase detectors are also called Bangbang phase detectors After Tom Hornak: Interface Electronics for Fiber Optic Computer Links, (see bibliography for full citation) 32

Training Loops retimed data Data bang-bang drive Input PDET select charge pump VCO Clock Reference Clock 2.488GHz/256 FDET dlock dtrans flock State Machine LOS Clock/256 1/256 divider An increasingly common technique is to provide a reference clock to the CDR circuit. This allows the VCO process-variation to be dynamically trimmed out, avoiding false locking problems. (Figure from paper FP15.5, 1997 ISSCC) 45

Coding for Desirable Properties DC balance, low disparity Bounded run length High Coding Efficiency Spectral Properties (decrease HF and/or DC component) Many Variations are Possible! Manchester [San82] mb/nb [Gri69][Rou76][WiF83] [YKI84] [Pet88] Scrambling [CCI90] CIMT [WHY91] 17

Simple 3B/4B code example 4B Output Data 3B Input Data Even Words Odd Words 000 0011 001 0101 010 0110 011 1001 100 1010 101 1100 Maximum Runlength is 6 Coding Efficiency is 4/3 Sending Sync Sequence: SyncA(even), SyncA(odd), SyncB(even), SyncB(odd) allows the unambiguous alignment of 4-bit frame 110 0100 1011 111 0010 1101 SyncA 0111 1110 SyncB 1000 0001 18

Scrambling Uses a feedback shift register to randomize data - reversing process at receiver restores original data Data Input Scrambled Data Data Output XOR Shift Register n j 2 1 Clk 1 2 j n PRBS Generators Caveat: Only guarantees balance and runlength under very specific data conditions! After Tom Hornak: Interface Electronics for Fiber Optic Computer Links, (see bibliography for full citation) 19

VCO alternatives LC Oscillator Multivibrator Ring Oscillator Speed Technology Dependent 1-10 s of GHz, CMOS 1-2 GHz Phase Noise Good Poor Integration Poor (L, Varactor) Excellent Tunability Narrow/Slow Wide/Fast Stability Good Poor (needs acquisition aid) Other Multi-Phase Clocks [Cor79, Ena87, Wal89, DeV91,Lam93, WKG94] After Todd Weigandt, B. Kim, P.Gray, Timing Jitter Analysis for High-Frequency CMOS Ring Oscillators, March 10, 1994 36

Multivibrator VCO I tune Capacitor is alternately charged and discharged by constant current Tuned by varying I tune in current source Diode clamps keep output voltage constant independent of frequency Relies on non-linear switching for oscillation behavior, and so is limited to moderate frequencies. Frequency = I tune ---------------- 4CV be After Alan B. Grebene, Analog Integrated Circuit Design, Van Nostrand Reinhold, 1972, pp 313-315 37

Example Ring Oscillator VCO Output Tune Input 1 Input 2 [SyA86] [EnA87] [Wal89] Input 1 Output Input 2 Input 1 Tune Input 2 Output 38

Loop Filters may be analog (integrator) or digital (up-down counter) should have provision for holding value constant (tristating) under long run-length conditions [Den88] [Dev91] [LaW91] [WuW92] V OUT UP DOWN V OUT 0 0 tristate UP DOWN 0 1 ramp DOWN 1 0 ramp UP 1 1 tristate 35

Skin Loss Nearly all cables can be modeled by the Skin Loss Equation with various k factors: T( f) = 10 ( k) f. 1.0 linear amplitude k=.0001 k=.00001 k=.001 R3 R2 R1 L3 Ring 3 Ring 2 Ring1 L2 0.0 1k freq (log scale) [YFW82] 10G Three-element equivalent circuit of a conductor with skin loss 12

Skin Loss Equalization at Transmitter boost the first pulse after every transition Error at sampling pt. usable signal See Paper: FP15.1, 1997 ISSCC before after 14

Skin Loss Equalization at Receiver transmission (linear scale) 1.4 1.01 0.5 0.00 1k pure skin loss freq (log) 3dB boost equalized 10G 2x improvement in maximum usable bit-rate [WWS92] 13

Agenda Overview of Serial Data Communications Signal Degradation Mechanisms Data Coding Techniques Clock Recovery Methods Components Used in Clock/Data Recovery Jitter Measurements 2

Diversity of CDR applications Clock and Data Recovery (CDR) applications span the range from ultra-high-volume, low cost datacom applications to very high precision, long-haul telecom applications Many different trade-offs are made to tailor each circuit to the target application area 1.25Gb/s Gigabit Ethernet Transceiver <$10 in volume (datacom application) 1cm 2.488Gb/s SONET CDR ~$500 (telecom application) 3

Q-Factor in resonant circuits Voltage envelope of ringing circuit falls to 1/sqrt(e) in Q radians. 1.0 1.0/sqrt(e) Q/2*PI cycles Q also equals the center frequency of a filter divided by the full-width of the resonance measured at the half power points: F center / amplitude F center High-Q filter can be emulated by PLL with low loop B.W. 27

Bit Error Rate (BER) Testing Pseudo-Random-Bit-Sequence (PRBS) is used to simulate random data for transmission across the link PRBS pattern 2 N -1 Bits long contains all N-bit patterns Number of errored-bits divided by total bits = BER. Typical links are designed for BERs better than 10-12 PRBS data generator TX link RX PRBS data receiver clock in synth clock in 4

Drawbacks of Simple PLL 1) timing pulses 2) transfer function (linear vs BB), 3) quadratic, BB 4) critical problem is the stuttering data??

Self-Correcting Phase Detector UP Data Clock DQ DQ DOWN Data See FA9.6, 1997 ISSCC [Hog85][Shi87] 1 = Data... 2= Clock (Early)... 3 = 1 retimed... 4 = Clock... 5 = 3 retimed... 6 = 1 xor 3 (UP)... 7 = 3xor 5 (DOWN) 33

Data Clock Binary Quantized Phase Detector NRZ data is sampled at each bit cell and near the transitions of each bit cell The sign of the transition sample is compared with the preceeding and following bit cell sample to deduce the phase error DQ DQ DQ DQ A B T ATB [Ale75][WHY91] [LaW91][ReG73] A T B Output 0 0 0 tristate 0 0 1 vco fast 0 1 0? 0 1 1 vco slow 1 0 0 vco slow 1 0 1? 1 1 0 vco fast 1 1 1 tristate 34

CDR Design Checklist 1) Eye Margin how much noise can be added to the input signal while maintaining target BER? (voltage margin) How far can clock phase alignment be varied while maintaining target BER? phase margin) how much does the static phase error vary versus frequency, temperature and process variation? Is input amplifier gain, noise and offset sufficient?

CDR Design Checklist (cont) 2) Jitter Characteristics what is the jitter generation? (VCO phase noise, etc) what is the jitter transfer function? (peaking and bandwidth)what is the jitter tracking tolerance versus frequency?

CDR Design Checklist (cont) 3) Pattern Dependency how do long runlengths affect system performance? is bandwidth sufficient for individual isolated bit pulses? are there other problematic data patterns? (resonances) does PLL bandwidth, jitter, and stability change versus transition density? 4) Acquisition Time what is the initial, power-on lock time? what is the phase-lock aquisition time when input source is changed?

CDR Design Checklist (cont) 5) How is precision achieved? are external capacitors, inductors needed? does the CDR need an external reference frequency? are laser-trimming or highly precise IC processes required? 6) Input/output impedance Is S11/S22 (input/output impedance) maintained across the frequency band? are reflection large enough to lead to eye closure and pattern dependency? is t >15 db return loss maintained across the band?

CDR Design Checklist (cont) 7) Power Supply does the CDR create power supply noise? how sensitive is the CDR to supply noise? Is the VCO self-modulated through its own supply noise? (can be deadly ) what is the total static power dissipation? what is the die temperature under worse case conditions?

CDR Design Checklist (cont) 8) False lock susceptibility can false lock occur? are false lock conditions be detected and eliminated? can the VCO run faster than the phase/frequency detector can operate? (another killer ) have all latchup/deadly embrace conditions been considered and eliminated?