Professional Documents
Culture Documents
A High Performance SPDIF Receiver - Oct 2006
A High Performance SPDIF Receiver - Oct 2006
A High Performance SPDIF Receiver - Oct 2006
Convention Paper
Presented at the 121st Convention
2006 October 5–8 San Francisco, CA, USA
This convention paper has been reproduced from the author's advance manuscript, without editing, corrections, or consideration
by the Review Board. The AES takes no responsibility for the contents. Additional papers may be obtained by sending request
and remittance to Audio Engineering Society, 60 East 42nd Street, New York, New York 10165-2520, USA; also see www.aes.org.
All rights reserved. Reproduction of this paper, or any portion thereof, is not permitted without direct permission from the
Journal of the Audio Engineering Society.
Wolfson Microelectronics plc, Westfield House, 26 Westfield Road, Edinburgh EH11 2QB, United
Kingdom
Paul.Lesso@wolfsonmicro.com
ABSTRACT
.
Here we propose an alternative solution in which a There are also other savings to be had - reduced area for
fractional-N PLL is locked to an external crystal and the multi-channel solutions, reduced power consumption
frequency multiplication factor of this PLL is controlled and die area. Other work has also identified jitter related
by another loop which recovers the data. Thus system issues as a major issue in S/PDIF interoperability
detailed in this paper synchronizes to the incoming data [4,7,8].
stream with a very low bandwidth and provides the
original data unmodified on a clean low jitter output
clock. By using a digital control loop to adjust the speed 2. ARCHITECTURE
of the fractional-N PLL we can achieve a very low jitter
transfer bandwidth whilst providing a high quality clock The goal here is to synchronize a clock generated from a
output. Additionally the circuit requires no off chip PLL and high quality oscillator to incoming S/PDIF
components to make it work thus reducing costs and data stream. This is different to usual approach of using
a PLL to recover a clock from the S/PDIF data stream,
P. Lesso High performance S/PDIF receiver
PLL Buffer output clock is too fast then the buffer will empty and
Clock the loop will move to slow the output clock down.
XTAL PLL CLOCK
This pointer will usually switch at least between two
IIR ~1 Hz B/W
adjacent values, typically many more if there is large
short-term jitter on the input data stream. It will thus
∆Σ have large high-frequency components, but will tend to
drift up or down to track the relative frequencies of the
input data clock and the clock generated by the PLL..
Figure 1- S/PDIF receiver architecture
The DPLL output have a resolution in time of the
external clock period, so has intrinsically high-
The system consists of five major elements:
frequency jitter of this order. The filter bandwidth must
be chosen in such a way to ensure it can track the short-
1. A digital phase locked loop (DPLL) that is
term timing variations of the jittery incoming data, but
used to lock onto the incoming data and
this means it also does not attenuate incoming jitter
generate an internal intermediate clock and
within this bandwidth. So the jitter of the recovered
retimed internal data.
clock running on a 100MHz clock will typically be of
the order of ten nanoseconds pk-pk.
2. An elastic buffer (EB). The EB is used to
absorb any short or medium term timing
If the jitter on this clock has strong sinusoidal tones then
variations between the local and remote clock
spurs may fall into the audio band which will degrade
domains. It also generates a pointer error signal
the quality of the audio out of the DAC. The pk-pk jitter
indicating the current accumulated jitter or
out of the DPLL is fixed by the frequency of operation
time-domain slip of the retimed internal data.
of the DPLL. The faster the DPLL is run the smaller the
output jitter.
3. A digital filter (usually an IIR) that is used to
attenuate the high frequency components on
The loop is designed to attenuate jitter by adjusting the
the pointer error signal to generate a filtered
pole in the filter. To ensure data integrity any jitter
pointer error signal which drives a frequency
which is attenuated by the loop, must be absorbed in the
control input of the analogue PLL. This digital
elastic buffer. Hence the elastic buffer and pole in the
filter can also be used to increase the accuracy
filter must be designed together.
to which the frequency error can be specified
Figure 2 shows the jitter specification for the
4. A high quality clock source, such as a crystal
commercial S/PDIF. The system is designed such that
oscillator, suitable for providing a stable time
all the jitter over the audio-band is eliminated and
reference.
absorbed by the elastic buffer.
5. A high performance analogue phase locked
loop (PLL) that generates a spectrally clean
clock from the high quality clock source, its
output frequency being controlled by the
filtered pointer error, preferably acting on the
feedback frequency divider of the PLL. This
spectrally clean low-jitter clock is used to
provide an output clock signal and to retime
data out of the system.
AES 121st Convention, San Francisco, CA, USA, 2006 October 5–8
Page 2 of 6
P. Lesso High performance S/PDIF receiver
ωc
Write Data Read Data
Figure 3 - Elastic Buffer Where S is the single sideband power spectral density of
the incoming clock and t is clock period of the sampled
clock under consideration and wc is the frequency of the
input clock.
This example includes an array of storage elements.
Input data are written to these elements sequentially For a large number of edges this reduces to give the
according to an input pointer generated by a counter long term jitter σlong :
AES 121st Convention, San Francisco, CA, USA, 2006 October 5–8
Page 3 of 6
P. Lesso High performance S/PDIF receiver
AES 121st Convention, San Francisco, CA, USA, 2006 October 5–8
Page 4 of 6
P. Lesso High performance S/PDIF receiver
Clearly the output clock is not affected by the jitter at Figure 6 - Period histogram from new method with
all. The part easily exceeds the specification for AES3. 5UI of jitter at 1Khz
Conversely the diagram below shows the eye diagram Conversely the part using the standard technique is
for a standard S/PDIF part using the standard PLL clock shown below. The scope does not distinguish between
recovery technique. Clearly the eye closes with Random jitter (RJ) and deterministic jitter (DJ) and
increasing jitter. Analysis shows the part does nothing hence states an erroneous value for period jitter of
to attenuate jitter over the audio-band and hence the 334ps. Clearly the histogram shows a strong sinusoidal
recovered clock may not be good enough to run high DJ component (at 1kHz) and a RJ component in
performance converters. addition to that. The DJ component varies strongly with
W o lfso n Micro e le c tro nic s p lc E YE P A T TE R N with A E S 3 L im its 0 9 /2 8/0 5 1 3 :2 8 :0 3 input jitter showing the output of this part to be heavily
300m
275m
250m
300m
275m
250m
dependant on the amount of jitter on the input.
225m 225m
200m 200m
175m 175m
150m 150m
125m 125m
100m 100m
75m 75m
50m 50m
25m 25m
V 0 0 V
-25m -25m
-50m -50m
-75m -75m
-100m -100m
-125m -125m
-150m -150m
-175m -175m
-200m -200m
-225m -225m
-250m -250m
-275m -275m
-300m -300m
0 20n 40n 60n 80n 100n 120n 140n 160n
s ec
AES 121st Convention, San Francisco, CA, USA, 2006 October 5–8
Page 5 of 6
P. Lesso High performance S/PDIF receiver
7. CONCLUSIONS
8. REFERENCES
AES 121st Convention, San Francisco, CA, USA, 2006 October 5–8
Page 6 of 6