Timing Errors and Jitter



Similar documents
CLOCK AND SYNCHRONIZATION IN SYSTEM 6000

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

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

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

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

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

RF Network Analyzer Basics

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

Basics of Digital Recording

Application Note Noise Frequently Asked Questions

Non-Data Aided Carrier Offset Compensation for SDR Implementation

VCO Phase noise. Characterizing Phase Noise

Introduction to Digital Audio

Modification Details.

PCM Encoding and Decoding:

Optimizing VCO PLL Evaluations & PLL Synthesizer Designs

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

The Phase Modulator In NBFM Voice Communication Systems

Simplifying System Design Using the CS4350 PLL DAC

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

Experiment # (4) AM Demodulator

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

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

Achieving New Levels of Channel Density in Downstream Cable Transmitter Systems: RF DACs Deliver Smaller Size and Lower Power Consumption

Ultrasound Distance Measurement

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

RF Measurements Using a Modular Digitizer

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

W a d i a D i g i t a l

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

USB 3.0 CDR Model White Paper Revision 0.5

AN-837 APPLICATION NOTE

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

Multi-Carrier GSM with State of the Art ADC technology

Jitter Transfer Functions in Minutes

Introduction to Receivers

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Managing High-Speed Clocks

Analog Representations of Sound

EECC694 - Shaaban. Transmission Channel

Title: Low EMI Spread Spectrum Clock Oscillators

DAC Digital To Analog Converter

DAC-R. Digital to Analogue Converter

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

Lab 5 Getting started with analog-digital conversion

Application Note: Spread Spectrum Oscillators Reduce EMI for High Speed Digital Systems

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

The Future of Multi-Clock Systems

FREQUENCY RESPONSE ANALYZERS

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

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Clock Jitter Definitions and Measurement Methods

Abstract. Cycle Domain Simulator for Phase-Locked Loops

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

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

Electronic Communications Committee (ECC) within the European Conference of Postal and Telecommunications Administrations (CEPT)

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

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

Agilent 8904A Multifunction Synthesizer dc to 600 khz

PCI Express Transmitter PLL Testing A Comparison of Methods. Primer

Clocks Basics in 10 Minutes or Less. Edgar Pineda Field Applications Engineer Arrow Components Mexico

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

LVDS Technology Solves Typical EMI Problems Associated with Cell Phone Cameras and Displays

11. High-Speed Differential Interfaces in Cyclone II Devices

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

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

DS2187 Receive Line Interface

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

ECONseries Low Cost USB DAQ

Signal Types and Terminations

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

Propagation Channel Emulator ECP_V3

DVB-T. The echo performance of. receivers. Theory of echo tolerance. Ranulph Poole BBC Research and Development

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by:

Agilent AN 1316 Optimizing Spectrum Analyzer Amplitude Accuracy

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

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

AM/FM/ϕM Measurement Demodulator FS-K7

RF Communication System. EE 172 Systems Group Presentation

bel canto The Computer as High Quality Audio Source A Primer

PERF10 Rubidium Atomic Clock

Clocking, Jitter and the Digidesign 192 I/O Audio Interface

Agilent AN 1315 Optimizing RF and Microwave Spectrum Analyzer Dynamic Range. Application Note

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

Jeff Thomas Tom Holmes Terri Hightower. Learn RF Spectrum Analysis Basics

Continuous-Time Converter Architectures for Integrated Audio Processors: By Brian Trotter, Cirrus Logic, Inc. September 2008

DRIVING LOOOONG CABLES

Jitter Budget for 10 Gigabit Ethernet Applications with SiTime SiT9120/1 Oscillators

Synchronization of sampling in distributed signal processing systems

Yamaha Power Amplifier. White Paper

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

MAINTENANCE & ADJUSTMENT

A Multichannel Storage Capacitor System for Processing of Fast Simultaneous Signals. Atsushi Ogata. IPPJ-T-16 Oct. 1973

Jitter in (Digital) Audio

Wireless Communication and RF System Design Using MATLAB and Simulink Giorgia Zucchelli Technical Marketing RF & Mixed-Signal

Measurement of Adjacent Channel Leakage Power on 3GPP W-CDMA Signals with the FSP

What is the difference between an equivalent time sampling oscilloscope and a real-time oscilloscope?

PCI-SIG ENGINEERING CHANGE NOTICE

Transcription:

Timing Errors and Jitter Background Mike Story In a sampled (digital) system, samples have to be accurate in level and time. The digital system uses the two bits of information the signal was this big at this instant and does subsequent maths on it. In most digital systems, the assumption is that samples are taken on a regular basis, controlled by a clock. They are exactly equally spaced in time. This is reflected in the maths, which is written in terms of z 0, z -, z -2, etc with z representing a sample period. To do DSP, we do not need all samples evenly spaced but the maths is best left to someone else if they are not. In any case, modern ADCs are best suited to producing a regular stream of evenly spaced samples. As in all things where we want perfection there are sources of error. There are small variations in timing for the reference points at which the samples are supposedly taken, and there are in addition much larger (although less important) errors in the timing of when the samples, or subsequently processed samples, are presented to the outside world. The names for these things are not all well established in DSP literature, so the terms used here are given below. In some literature, the terms jitter is used to cover all these effects but this should be treated with caution. The errors in the reference point are either (a) random (like noise) or (b) related to the signal. The latter are not often referred to in the literature, but are probably the single most performance limiting aspect of ADCs and DACs as the frequency goes up. Their effect shows up in non-linearity measurements. The third effect (c) is a variation in when a data bit becomes valid, and is mainly of concern to digital designers. It can be a problem for conversion of the digital signal back to analogue. We (dcs) refer to these types of timing variations as: (a) Jitter (b) Signal related timing error (SRTE) (c) Data jitter Jitter is often quoted as being the cause of some audible problem when no other explanation is clearly forthcoming. In the author s view, this is not always correct. Jitter certainly causes measurable effects, and these are as audible as the measurement would suggest. It also would appear to cause some effects that are rather hard to explain 2 but it is probably not the cause of all the problems ascribed to it. There are a number of methods of measuring jitter. Because we are often looking in the psec region, this is not easy to see on a scope, so test methods that measure it by implication are sometimes used. The user should be careful to check that these methods really are measuring jitter, and not something else. Scale of the Problem Jitter causes a problem when analogue source material is first converted to digital because for one reason or another the sample is taken at slightly the wrong instant. It can also cause a problem when a digital signal is turned back to analogue, because the assumption that the signal was this big for one sample period breaks down (the DAC gets this big right but it gets the sample period wrong). In between, as long as the equipments are synchronous, data jitter is only a problem if it causes the receiving bit of equipment to make an error and 2 with dcs Ltd, Mull House, Great Chesterford Court, Great Chesterford, Saffron Walden, UK for example, in one demonstration using the same analogue source material, the same ADC and the same DAC, but changing just the digital interface used between them, one particular backing vocal dramatically changed in prominence Page of 6 Issue 2

if it causes build up of low frequency jitter such that it cannot be removed by the final DAC. Such a build up can be completely eliminated by the distribution and use of a master clock. For asynchronous links (with asynchronous sample rate converters on the input of the receiving equipment), data jitter causes additional jitter to be processed into the data domain, irrevocably. Asynchronous interfacing should be used with care. For both (a) and (b) a small timing error δt causes a problem only when a signal is slewing. For an ADC, with an input signal slewing at δv/δt then the error will be δv. For a DAC, which puts out digital values, the error will be related to the difference between two consecutive samples as: δt/t s (A n -A n- ) where t s is the sample period. In both cases, the effect of the jitter δt increases as the signal frequency and the signal amplitude increases. For random jitter (a), a khz sine wave with nsec rms of jitter will cause an amplitude modulated noise signal with rms in the big bits of at 04dB relative to the khz. The overall rms (taking into account the peaks and troughs of the envelope) is approximately 08dB relative to the khz sine. See figure for an exaggerated example. Random Jitter.5 Signal Output with Jitter Error rms effect in noise measurement 0.3 0.2 Signal Amplitude 0.5 0-0.5 0. 0.0-0. Jitter Amplitude (expanded) - -0.2 -.5-0.3 0 200 400 600 800 000 200 400 600 800 2000 Time in usecs Figure For (b), SRTE, where the timing variation is related to the signal, and synchronous to it, the effect is distortion. Figure 2 shows khz sine wave with a large SRTE that is proportional to slew rate (the commonest sort). Note that the peak amplitude of the signal is not affected, but that the shape is the distortion is phase distortion, rather than amplitude distortion. In reality, SRTE with a peak value of nsec, and whose value is proportional to slew rate, will produce a 2 nd harmonic at 0dB relative to a khz sine, and 90dB relative to a 0 khz sine. For any circuitry using a sample/hold (residue converters or switched capacitor oversampling converters) this effect is important. Although not strictly of relevance to audio, for fast circuitry the state of the art for this parameter is about psec, and this limits the accuracy with which a 300 MHz signal can be digitised to about 60dB. Page 2 of 6 Issue 2

Signal Related Timing Error (SRTE).5 Signal Output with SRTE SRTE Error 0.3 0.2 Signal Amplitude 0.5 0-0.5 0. 0-0. SRTE Amplitude (expanded) - -0.2 -.5-0.3 0 200 400 600 800 000 200 400 600 800 2000 Time in usecs Figure 2 SRTE proportional to slew rate Data jitter (c) depends on the hardware used, and is a function of both the source hardware and the interconnect (cabling). The effect can be minimised at source by re-clocking output data just before the output drivers, and making the output drivers high bandwidth. After this, the interconnect bandwidth must not degrade the waveforms. In practice, degradation of waveforms by long cable runs is probably the most important effect. Figure 3 shows the effect of 20m of twisted pair cabling on a double speed AES3 signal for 96 ks/s use, with the top trace the waveform at source prior to balanced pair transmission, and the bottom trace the waveform after the differential receiver at the end of the cable run. The scope is triggered from the transmitted data, and due to cable delays, the transitions are not the same. Data jitter is nearly 5 nsecs p-p. Figure 3 Data Jitter due to cabling see text Page 3 of 6 Issue 2

Where Does Jitter Come From? (Random) jitter originates in clock circuitry. Crystal based clocks (XCO s, VCXO s) generally have the lowest jitter but they still have some. Manufacturers plot the spectrum of crystal oscillators in terms of offset from the nominal frequency, as in figure 4 (solid line). They generally refer to this as the phase noise plot. We can turn this information into jitter as follows 3 : (a) Assume that half the power in the area of the spectrum away from the nominal frequency is due to phase noise (phase errors, rather than amplitude errors) in the oscillator output. (b) RMS up the phase errors, as one does for ordinary noise, to get rms radians error (for example, the error sums up to 0.00046 radians rms from 0Hz to MHz offset) (c) Use the oscillator centre frequency to turn radians into secs (for example, for a 24.576MHz oscillator radian 6.48 nsecs, so our example has 3 psecs rms jitter from Hz to MHz offset. Phase Noise from Good VCXO -40 000 68 psecs -60 00 Phase Noise rel Fundamental in Hz. -80-00 -20 8.5 psecs Offset Noise in Hz jitter for decade 0.3 psecs 0 0. Integrated Jitter, for decade, in psecs -40 0.023 psecs 0.0-60 0 00 000 0000 00000 000000 0000000 Offset from Fundamental Figure 4 Figure 4 also shows what parts of the phase noise spectrum contribute to jitter. It shows some interesting points: The phase noise in the oscillator close to the nominal frequency (close to carrier phase noise) makes a big contribution to the jitter. It is likely that this jitter does not have much perceived effect on audio, because to detect it, our ears would have to have higher Q detection mechanisms than a crystal. In fact, the ears frequency discriminating mechanism has a Q of less than 0, whereas crystals have a Q of 0,000 upwards. By khz, there is very little contribution being made However, above this as we approach the thermal noise floor of around 50dBc to -60dBc, the effect builds up again by the time noise is integrated up over many MHz. Clock circuitry in digital equipment in inherently quite wide bandwidth, and we must allow for this in our integration. There are other sources of jitter inside equipment, that may contribute substantially more than the VCXO. Typically, these might be power supply noise causing variation in logic level 0.00 3 See, for example, Phase-Locked Loop Circuit Design Dan H.Wolaver, published by Prentice-Hall Inc, 99. ISBN 0-3-662743-9. Page 4 of 6 Issue 2

switch points. With a slow edge speed, the variation will cause small timing variations in the apparent switching instant - jitter. Data Jitter and Clock Recovery In the absence of a distributed master clock, items in a digital audio chain have to recover their clocks from the data stream they are fed. They will generally do this by locking a local phase locked loop (PLL) to the incoming data stream, and to keep data transfers inside the equipment synchronous, this locked clock is then used internally. The PLL usually locks to the edges in the incoming data stream, because these are convenient timing points. The incoming edges will have jitter from their controlling oscillator (psecs) and additional data jitter the latter often of several nsecs. The PLL has to filter this out, which it does by effectively averaging over many incoming edges. The averaging is performed by making the bandwidth of the oscillator control loop small. For example, a control loop bandwidth of Hz effectively averages over a period of /2π seconds. For a PLL locking to a 48kS/s AES3 data stream, and looking for sync codes (these occur at 96kHz) averaging is effectively over about 5,000 edges, which will reduce the data jitter by 5,000 times (about 24 times) if the spectrum of the jitter is flat. AES3 at 48 ks/s allows a peak to peak jitter of 80 nsecs on a data edge (it is usually better than this) which is equivalent to about 3 nsecs rms jitter. Reducing this by 24 times (above) will drop it to around 0 psecs rms. In practice, things are better than this: the spectrum of the jitter is not flat, but is slightly noise shaped, so the averaging works better than expected, and the data jitter is not usually as bad as the spec allows, although long cable runs will make it bad again. Use of a FIFO to store incoming data works in exactly the same way, by allowing a very low bandwidth in the control loop of the PLL used. It does not eliminate jitter it is just easier to achieve low control loop bandwidths. Note that for this to offer lower bandwidths than a conventional analogue PLL, and for the FIFO to operate half full, FIFO depths of 64K or more are needed. If this method of synchronising items in a digital audio chain is used (locking to the previous equipment rather than a distributed master clock), then it becomes important to avoid jitter build up in the area of a few Hz around the centre frequencies of the various oscillators used in the chain. Data Jitter and Asynchronous Sample Rate Converters Asynchronous sample rate converters can respond to data jitter and process it into the signal, irrevocably. For this reason they should be used with care, and if they have to be used, should be used with low data jitter sources with short cable runs. Optical Interfaces Optical interfaces are sometimes thought to have desirable properties, and occasionally one sees this extended to having some low jitter property. Optical interfaces certainly do offer very good immunity to electrical interference, and also very wide bandwidth to an optical signal that has been injected into them. However, the problem is usually that: the optical power that can be injected into them is limited, the bandwidth with which the signal can be injected is limited, or the transmitter is expensive and losses at connectors build up rapidly, so that the optical signal reaching the far end is small if more than a few connectors are involved Page 5 of 6 Issue 2

The signal reaching the far end is usually sufficiently small that the receiver has to carefully control (minimise) its bandwidth to get adequate signal/noise ratio. Minimising bandwidth is just the mechanism that increases data jitter, because it reduces the slew rate associated with a logic transition. The position can be improved if laser diodes (rather than the more common LEDs) are used to inject signal into the link, because more signal can be injected into the link but laser diodes are very expensive. Optical links are fine for telecomms applications, where links cover large distances uninterrupted (no connector losses) and expensive transmitters can be used. They are also of value where the high bandwidth of the link makes the cost of a high bandwidth driver (and receiver) economic for example, some multi-channel applications. For the relatively short links used in two channel audio, the benefits are less clear. If low jitter is sought, we recommend that optical interfaces should be minimised or avoided. Page 6 of 6 Issue 2