1. jitter suppression and pll design

11
Jitter suppression and PLL design In high-end audio DAC design, `jitter' is known to have a negative influence on the perceived sound quality. Clearly, when restoring an analog signal from a sequence of samples, the accuracy of the timepoints at which the samples are converted is as important as the accuracy in the amplitude domain. In the next three sections we will explain 1) what `jitter' is and where it originates from, 2) how to tackle the problem by an extra PLL (Phase Locked Loop) and what its filter characteristics should be, and 3) how this is implemented as actual circuit. What is jitter; where does it come from It is reported that timing errors in the order of 100 ps are perceptible [Watk94]. Some others claim jitter to be audible down to the few picosecond range, also depending upon the spectral content of the jitter. Now CD players (transports) output their digital data from a buffer, clocked by a crystal oscillator. This data buffer is kept (partially) filled by a feedback-loop controlling the CD spindle speed. Since well-designed crystal oscillators are able to generate highly stable clocks, the digital data could be sent out with a low level of jitter. Any built-in DA converter would use the same crystal-controlled clock, and hence inside the transport good jitter suppression should be feasible. However when going to external DACs, we have an additional problem. The connection from the CD player to the external DAC is done with a single coaxial wire, carrying a coded serial bitstream according to the S/PDIF standard. In the DAC, this signal is processed by some receiver chip, which has as main task to regenerate a clock signal from the data stream, and use this same clock to latch the incoming bitstream. This is the first point where the `jitter' is created: in the clock generation circuitry of the S/PDIF receiver chip. There is a combination of several factors, which in combination are responsible for the jitter generation at this stage: The S/PDIF input bitstream arrives at a reasonable high rate of about 2.8 Mbit/sec. Due to the limited bandwith (parasitic capacitance) of the interconnect (plugs and cables), the signal arrives with a degraded slope. This gives uncertainty in the exact determination of the clock edge timepoint. This is also a reason why different cables can sound differently. 1. The S/PDIF signal is coded to become DC-free. As result it can be (and is) AC-coupled through small isolation transformers and input capacitors. However the lower frequency components can cause variations in the moments where the (limited slope) input signal voltage crosses the reference potential, and thus time shifts in the (amplified) edge. These time shifts would depend upon the actual (sequence of) bit values. 2. The clock is regenerated in the receiver chip with a PLL circuit. However the on-chip oscillator timing is capacitor-based and not crystal-based. As result it generates significant jitter of its own. 3. The dynamic characteristics of the receiver PLL are to ensure an error-free clocking of the actual bit values. The dynamic properties of the PLL filter are normally configured with an external resistor and capacitor. These are to be given prescribed values of cheap and small components, causing the PLL to regulate (allow changes in its clock frequency) in the audio range. This seems a bad choice. 4. The applied external RC PLL filter seems just configured for its dynamic properties, according to standard textbook PLL design. When jitter is of concern however, better low-pass filters can sometimes be used. 5. The above points 3 to 5 in principal depend upon the actual receiver chip selected. However both the Yamaha YM3623B and the Crystal CS8412 considered by us, are comparable in this respect. Their simple and cheap clock recovery can be motivated by the reasoning that the purpose of the PLL is to clock-in the correct values of the bitstream. To accomplish this, a jitter of half a bit width (170nsec) would be still 1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm 1 of 11 8/5/2011 6:59 PM

Upload: claudio-fernandes

Post on 28-Nov-2014

26 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1. Jitter Suppression and PLL Design

Jitter suppression and PLL designIn high-end audio DAC design, `jitter' is known to have a negative influence on the perceived soundquality. Clearly, when restoring an analog signal from a sequence of samples, the accuracy of thetimepoints at which the samples are converted is as important as the accuracy in the amplitude domain. Inthe next three sections we will explain 1) what `jitter' is and where it originates from, 2) how to tackle theproblem by an extra PLL (Phase Locked Loop) and what its filter characteristics should be, and 3) howthis is implemented as actual circuit.

What is jitter; where does it come from

It is reported that timing errors in the order of 100 ps are perceptible [Watk94]. Some others claim jitter tobe audible down to the few picosecond range, also depending upon the spectral content of the jitter.

Now CD players (transports) output their digital data from a buffer, clocked by a crystal oscillator. Thisdata buffer is kept (partially) filled by a feedback-loop controlling the CD spindle speed. Sincewell-designed crystal oscillators are able to generate highly stable clocks, the digital data could be sent outwith a low level of jitter. Any built-in DA converter would use the same crystal-controlled clock, andhence inside the transport good jitter suppression should be feasible.

However when going to external DACs, we have an additional problem. The connection from the CDplayer to the external DAC is done with a single coaxial wire, carrying a coded serial bitstream accordingto the S/PDIF standard. In the DAC, this signal is processed by some receiver chip, which has as main taskto regenerate a clock signal from the data stream, and use this same clock to latch the incoming bitstream.This is the first point where the `jitter' is created: in the clock generation circuitry of the S/PDIF receiverchip. There is a combination of several factors, which in combination are responsible for the jittergeneration at this stage:

The S/PDIF input bitstream arrives at a reasonable high rate of about 2.8 Mbit/sec. Due to thelimited bandwith (parasitic capacitance) of the interconnect (plugs and cables), the signal arriveswith a degraded slope. This gives uncertainty in the exact determination of the clock edgetimepoint. This is also a reason why different cables can sound differently.

1.

The S/PDIF signal is coded to become DC-free. As result it can be (and is) AC-coupled throughsmall isolation transformers and input capacitors. However the lower frequency components cancause variations in the moments where the (limited slope) input signal voltage crosses the referencepotential, and thus time shifts in the (amplified) edge. These time shifts would depend upon theactual (sequence of) bit values.

2.

The clock is regenerated in the receiver chip with a PLL circuit. However the on-chip oscillatortiming is capacitor-based and not crystal-based. As result it generates significant jitter of its own.

3.

The dynamic characteristics of the receiver PLL are to ensure an error-free clocking of the actualbit values. The dynamic properties of the PLL filter are normally configured with an externalresistor and capacitor. These are to be given prescribed values of cheap and small components,causing the PLL to regulate (allow changes in its clock frequency) in the audio range. This seems abad choice.

4.

The applied external RC PLL filter seems just configured for its dynamic properties, according tostandard textbook PLL design. When jitter is of concern however, better low-pass filters cansometimes be used.

5.

The above points 3 to 5 in principal depend upon the actual receiver chip selected. However both theYamaha YM3623B and the Crystal CS8412 considered by us, are comparable in this respect. Their simpleand cheap clock recovery can be motivated by the reasoning that the purpose of the PLL is to clock-in thecorrect values of the bitstream. To accomplish this, a jitter of half a bit width (170nsec) would be still

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

1 of 11 8/5/2011 6:59 PM

Page 2: 1. Jitter Suppression and PLL Design

acceptable. For high-end audio applications they might rightfully expect different circuitry for anothermore stable clock to drive the DAC chips.

When the recovered signal is processed further by a digital filter, more jitter is introduced. The delay timeof logic gates (in the normally used CMOS technologies) strongly depends upon their supply voltage. Thismeans that momentarily dips in the supply voltage as caused by internal switching activity cause timingvariations. Furthermore noise in the external power-supply regulators is a cause of jitter. As result, jittergenerated in the digital filter circuitry can easily be of same order of magnitude as the jitter whichoriginates in the input receiver.

Jitter removal with an extra PLL

In our DAC design, an extra PLL circuit is used to generate a stable low-jitter clock for the outputcircuitry. In this section we will give some background how a PLL works, and what design constraints willlead to a low-jitter clock. A general diagram of a Phase Locked Loop circuit is shown below:

Standard PLL circuit

The `frequency divider' is used for applications (as our DAC) where the output frequency must be higherthan the input frequency. In normal operation the PLL should be `in lock', which means that the (divided)output frequency is identical to the input frequency, and that the feedback loop controls phase variationsbetween these two signals. The way phase variations in the input signal influence phase variations on theoutput is most easily derived in the frequency domain, which is also suitable to analyse the stability of thefeedback loop.

For the frequency domain analysis of the PLL, it can be handled as any feedback system:

Feedback system

The overall transfer characteristics of such a feedback system is: H(s) = A(s) / (1 + A(s).B(s)) . The `openloop gain' is defined as OG(s) = A(s).B(s) .

For the PLL, the phase detector functions as the initial adder of the feedback system. It is characterizedby a gain Kp in units of [V/rad]: It has a static, linear transfer within a limited phase margin. For theflipflop based detector which we use, the phase margin is 2 full periods, or 4π radials.

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

2 of 11 8/5/2011 6:59 PM

Page 3: 1. Jitter Suppression and PLL Design

For the filter we will use a later to be defined characteristic LPF(s) .

The voltage controlled oscillator behaves in terms of phase as an integrator, and has a transfercharacteristic of VCO(s) = Ko/s [rad/V] , where Ko is called the VCO gain.

The frequency divider is simply characterised by its division ratio Ndiv .

As result we have: A(s) = Kp Ko LPF(s) / s , and B (s) = 1/Ndiv .

For the dynamic characteristics of the closed-loop system, it is attractive to study the open-loop gainOG(s) . The `cut-off' frequency fc above which this gain || OG(s) || drops below 1, determines theclosed-loop bandwidth. For a stable system, the phase Arg(OG(2πfc)) should not be significantly largerthan π /2 , or, in other words, || OG(s) || should decrease as a first order system, at frequencies around fc .Since VCO(s) already decreases with s , it is required that LPF(s) remains constant around fc . This isshown in the following figure.

Frequency dependent components of the PLL open-loop gain

The open loop gain is:

Having just a first-order LPF, drawn with only two segments (decreasing until fL , then remaining constantfor all higher frequencies, omitting the fh corner), is a textbook standard PLL filter. This results in a 2ndorder feedback system, which can still be analyticalized by hand. The series RC section often connectedto a receiver chip, clearly demonstrates the use of such a filter. Although this might be fine for certaindynamic 'lock-in' properties, this is not good enough for low-jitter requirements, which is motivated below.

If we look at the overall phase response of the PLL H(s) , then H(s) is about 1/B(s) is NDiv forfrequencies below fc . This means that changes in phase (in the time-point of the clocksignal edges)appear unmodified at the PLL output, for changes with frequency components slower than fc . (The ratioNDiv only relates absolute changes in time (phase) to the frequency, and our analyses is clearer whennormalised away.)

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

3 of 11 8/5/2011 6:59 PM

Page 4: 1. Jitter Suppression and PLL Design

PLL overall phase response as function of frequency

On the other hand, for frequencies above fc, H(s) is about A(s), and follows the same characteristics asOG(s) drawn above. This shows a first-order low-pass characteristic, with cut-off frequency fc, even ifLPF(s) would remain horizontal (constant) above fc. This is according to standard PLL filters. However ifphase jitter is of concern, it is FAR better to use an LPF which has a low-pass characteristic of its own, forinstance with a cut-off frequency fh as shown in the above drawings. In that case, the overall PLL H(s)will drop as second-order filter for frequencies above fh. As shown later, our design will have two morelow-pass filtering components, coming in at a higher frequency fH, creating an overall 4rd order low-passPLL characteristic.

It is easily seen that inserting these higher-order low-pass components at fh and fH do not influence thestability of the PLL feedback loop, if they are significantly larger than fc: At fh the open-loop gain isalready dropped significantly below 1 and the feedback has become ineffective.

At this point you should be convinced that a PLL can filter away jitter from the input signal for frequencycomponents above fc, and that using a higher-order low-pass LPF is usefull to achieve an overallhigher-order jitter suppression.

However there is another important motivation for wanting a truly low-pass filter for LPF, which is notoften mentioned. In the formulas above, the phase detector is assumed to return an output voltage whichis linear with the phase difference of both signals to compare. In practice (for digital signals) the phasecomparator is normally made with digital circuits. The output of such a comparator is a pulsed (variableduty-cycle) signal, of which the average value has the desired linear phase relation. For low-jitterapplications it is important that the PLL filter effectively smooths this phase comparator signal to a stable(low ripple) value, since any ripple (AC component) on the VCO input directly (by definition) generatesnew jitter on the oscillator (PLL) output! A badly designed PLL could introduce more jitter of its own,than it suppresses from its input. This is a clear reason to need the fh corner frequency in the LFP filtercurve.

In our design the PLL operates on a 16x divided master clock frequency, or 11.289MHz / 16 = 705 kHz.For optimal jitter suppression the fc frequency should be many orders of magnitude below that. Since thehuman ear is very sensitive for frequency modulation, and the PLL output will be used to clock the DAconverter chips, it seems natural to choose fc really below the audible frequencies. We chose fc near 1 Hz.As result audio frequency components in the jitter are strongly reduced.

A final motivation is probably still needed for wanting the PLL filter to have increasing gain for lowerfrequencies, below fc: Why should the filter behave for very low frequencies as an ideal integrator, with again towards infinity for frequencies towards zero?

One of the two answers to this question is also in the particular choice of the phase comparator. Thechosen comparator is built with two flipflops, and generates positive or negative pulses, in widthproportional to the phase error. When both inputs are equal in phase, the pulses vanish to zero width. Asresult the AC frequency components in the phase comparator output also vanish in amplitude at zero

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

4 of 11 8/5/2011 6:59 PM

Page 5: 1. Jitter Suppression and PLL Design

phase difference. This is an important and nice property for low-jitter frequency generation: this leads to astable input control voltage for the VCO. Thus we prefer a zero phase difference when the PLL is in lock:an integrating filter will then have some (nonzero) constant output voltage, appropriate to regulate theVCO frequency identical to the input frequency. The required VCO input voltage to accomplish this,would depend upon component (crystal and capacitor) value variations. The filter should thus be able toprovide ANY constant output voltage level with real zero input voltage (zero pulse width). Clearly thiscorresponds to an ideal integrator. For stability reasons, as explained above, the integrator frequency fLmust be significantly lower than fc.

A second reason for wanting an integrator behavior of the LPF is in acquiring lock. When the circuit isswitched on, there will be initially no lock, as the received frequency will differ from the VCXOfrequency. Many phase comparator types will then produce an output signal proportional to the phasedifference, consisting of an AC signal with frequency components down to the input frequency difference,and no DC component. As the input frequency difference (lets say 1kHz) is in our case many orders ofmagnitude larger than the LPF corner frequency (a few Hz), the LPF filters away all phase comparatoroutput, and no suitable control remains for the VCXO. As result, the circuit would not move to a lockstate, with a VCXO frequency equal to the input frequency. To solve this problem, a phase comparatortype is needed which also provides an avarage output value corresponding to the frequency difference.This is accomplished by a (well known) flip-flop type phase comparator. However the DC output valuedue to a frequency difference is very small, and only true integration of this value leads to enough controlvoltage to drive the VCXO in frequency lock.

Implementing the PLL

In this section the final circuit realisation of the PLL and its use in the complete DAC is explained andmotivated. This is done in the four following paragraphs describing the overall view, the voltage-controlledoscillator and divider, the phase comparator, and the filter.

The overall view

When an extra PLL is used to obtain a cleaner clock, it is not immediatly evident how and where thisclocksignal should be used, in cooperation with the 'dirty' clock from the receiver: At some point the DACsystem should be partitioned by a buffer. The input part of the DAC, including filling the buffer, shouldthen operate on the dirty clock, and the output part of the DAC, starting at reading the buffer, shouldoperate at the clean clock. The buffer size can be chosen between 1 bit of the serial audio stream, 1sample-word per channel, or a large queue of many sample words.

For our design we chose to use the sample word buffer: Having the PLL in phase-lock on the word clock(44.1 kHz), does not require longer buffer queues. Operating the PLL on the input bit-clock (32 bits x 2samples x44.1 kHz = 2.8224 MHz) would have been another usefull option but would leave a small phase(timing) margin for the very slow changing oscillator frequency. Furthermore we wanted to make a trulyhigh-quality design with relatively few components. It appeared that the Nippon `SM5842AP' could notonly provide high audio quality filtering (such as 32-bit accuracy mathematics), but also provided theoption of operating on a dual clock with an internal word buffer. It has a relatively small input circuitsection operating on the 'dirty' input clock, a word buffer, and then the data processing and output on asecond 'clean' clock. Its datasheet specifies a maximum allowable 3/8 period difference between bothclocks. This allows easy cooperation with an external PLL locking on the word clock. The resultingsystem overview is presented in Figure 5.

Note that regarding the bit rates, serial transmission always assumes 32 bits, irrespective of the actualnumber of used and valid data bits (16 for CD playing, optionally 18 for DCC playing, 20 from the digitalfilter to the dac chips). The required clock for the output bit rate is thus 32 bits x 8 way oversampling x44.1 kHz sample rate is 11.2896 MHz.

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

5 of 11 8/5/2011 6:59 PM

Page 6: 1. Jitter Suppression and PLL Design

Besides a clock-signal, the PLL also provides a signal indicating whether the PLL is really in lock. Anout-of-lock condition leads to a visible (LED) indication, and muting of the filter audio output. Besides forout-of-spec crystals or large temperature differences, this will in particular happen when SP/DIF inputsignals are applied of different sample frequency. The 44.1 kHz sample frequency is standard for normalCD and DCC players. Besides that, DCC players and the MPEG-2 standard also support 32 and 48 kHzsample rates. This 48 kHz is used in some professional equipment (in particular DAT recorders), and willbe used for the intended European Digital Audio Broadcasting. Newer standards for high-end audiospecify sample rates of 96 and 192 kHz.

To allow operation on 48 kHz sample rates and multiples of that, the system can in principle be extendedwith a second PLL with a different crystal frequency, to lock on a 48 kHz input frequency, andcorrespondingly switch the digital filter to the desired clock. However this would imply a significantredesign.

The voltage-controlled oscillator and divider

The VCO is built as a crystal oscillator, since crystal oscillators are well known for their high frequencystability (is low jitter). They obtain this stability from a very high Q resonance, electrically modelled as aseries connection of a high-Q inductor and capacitor (with a larger capacitor in parallel with this). Theresonance frequency of this circuit can be tuned over a (very small) interval by a variable externalcapacitor. The nominal center frequency of the crystal is typically obtained with a 30 pF external parallelcapacitor, with higher values giving slightly lower frequencies and vice versa. This is shown in Figure 6:

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

6 of 11 8/5/2011 6:59 PM

Page 7: 1. Jitter Suppression and PLL Design

Our very first VCO was built with a digital oscillator & divider IC, indicated in figure 7 below. This circuitis not used anymore in our DAC, and shown here as example for principle of operation only. The 220pcapacitors isolate the DC operating point of the nand-gate from the DC control voltage applied to thecapacitance diodes. Furthermore they implement an upper limit on the combined (effective) capacitancein parallel to the crystal, thus taking care of a lower bound on the gain (Q factor), making sure theoscillation will never die. As side effect the AC amplitude of the oscillation voltage across the capacitordiodes reduces when they are driven to higher capacitances, which nicely fits to the correspondinglyreduced DC reverse voltage. The 10n capacitor grounds the oscillator signal, and forms a low-pass filterwith the 220k resistor on the control-input, filtering out high frequency components in both directions(from the phase comparator to the oscillator and back). The BB212 provides typically a 10pF to 500pFcapacitance range for each diode, when applied a 12V to 0V reverse voltage. Using a control voltage up to12 V is unfortunately required to drop to low capacitances: allowing only a 0-5 volt range, thecapacitances remain too high, giving unsatisfactory frequency control. The 74HC(T)4060 part is specifiedto work up to about 90 MHz, which provides enough safety margin for good crystal operation. Themeasured Vcontrol to frequency curve is shown in Figure 20.

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

7 of 11 8/5/2011 6:59 PM

Page 8: 1. Jitter Suppression and PLL Design

Unfortunately the performance of a 4060 (or any cmos logic ) type oscillator is unsatisfacory, as welearned later. To obtain a really stable low jitter clock better crystal oscillator circuits are needed, typicallybuilt with discrete components. To obtain a low jitter (or low phase noise) crystal oscillator, the followingdesign goals should be taken into account:

The high Q-factor of the crystal must be maintained in the circuit, which means that the series-resistance of the surrounding (driving) circuit must be low (lets say below 50 ohms).

1.

It should operate with low-distortion sine-wave signals, not block-style signals from digital gates.The additional high-frequency components disturb a clean oscillation.

2.

The active components providing oscillation gain must be low-noise devices.3.The AC current through the crystal must be controlled (limited) to a small value, typically notexceeding 1 mA. This requires some attention when a low drive impedance is used.

4.

All integrated cmos-logic oscillators certainly violate points 1, 2 and 3, and maybe also 4.

Although we have built such oscillators, we finally found good ready-to-use VCXO modules, which savedconsiderable PCB space over discretely built oscillators.

The now used VCXO modules operate on a single 5 volt supply voltage, and have a control input in the 0to 5 volt range. Although a frequency range of +/- 100 ppm (is +/- 0.01%) was specified, we measured areachable frequency range of about +/- 150 ppm. The resulting VCO gain Ko is about 10-4 x 11.28[MHz]x 2π [rad]/ 2 [V] = 3.5 x 103 [rad/s.V].

The phase comparator

In the PLL feedback system, the phase comparator has the important task of delivering an output signalproportional to the phase difference of both input signals. In our context we have the (often encountered)situation where both signals are digital: generated by logic circuits. A popular PLL digital phase detector isthe 'phase detector 2' in the (74HC(T))4046, consisting of 2 flip-flops and a feed-back gate for reset. Infrequency lock, such a circuit provides a pulsed output voltage, where the duty-cycle corresponds with thephase difference of the input signals over a full period. This corresponds to an average output voltagewhich is linear with the phase difference. The phase comparator gain Kp = 5 [Volt] / 4π [rad] = 0.4[V/rad]. In our case, we made a double differential version of this phase comparator for reduced powersupply influence, leading to a gain Kp = 0.8 [V/rad].

Furthermore, when not (yet) in frequency lock, the average output voltage is proportional to thefrequency deviation: Vout,average = 5 [Volt] x (1 + (fa - fb)/fa), with fa and fb the different highrespectively low input frequencies (this formula is hardly ever shown!).

A phase comparator in this style is provided by several IC's such as the abundantly used (74HC(T))4046,

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

8 of 11 8/5/2011 6:59 PM

Page 9: 1. Jitter Suppression and PLL Design

and the newer 7046 and 9046. The 7046 has a lock detect circuit as advantage over the 4046, allowingvisual feedback on proper operation. The 9046 does not have this lock detector, but provides a moreaccurate phase detector with a current-mode output which should result in better jitter figures.

However we built the phase detector with a bunch of more basic logic IC's. Our differential design shouldprovide good power supply rejection. Furthermore our lock detection circuit distinguishes between a toohigh versus a too low VCXO frequency, on a bi-color LED. This has often helped us in solving problemsduring the design and test phase.

The PLL filter

The PLL loop filter has three main design parameters: First the (almost flat) gain A around the PLLcut-off frequency fc. Furthermore there are the low and high corner frequencies fL and fh, delimiting theflat gain region. (See following figure)

The PLL cut-off frequency fc is defined as the frequency for which OG(s) becomes 1:A Kp K0 / Ndiv 2π fc = 1. With K0 from the above measured VCXO curve as K0 = 3.5 103[rad/Vs], ourPLL frequency divider of Ndiv = 16, and the phase detector gain Kp = 0.8 [V/rad], this leads to: A = fc /28.

Note however that for locking with external sources with off-nominal frequencies, the value K0 (the slopeof the VCXO curve), gets a lower value, and as result fc will go down. To keep fh and fL significantlyaway from fc we plan: fL = 0.2 fc, and fh = 3 fc.

Filter circuit 1

A simplified version of the filter structure is depicted in figure 9.

Simplified filter circuit

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

9 of 11 8/5/2011 6:59 PM

Page 10: 1. Jitter Suppression and PLL Design

The chosen filter structure is symmetrical: a common-mode (shared) input value on both Vin+ and Vin-will not contribute to the output voltage. This helps for improving power supply rejection. If the twoflip-flops of the phase detector are both not set, or both set, Vin+ and Vin- will have a value of 1/2 Vcc. Ifonly the U13 flip-flop is set, Vin+ changes to Vcc and Vin- changes to 0, and if only the U14 flipflop is set,the other way around.

Due to the large input resistors and low noise requirements, special care is required towards low inputleakage currents:

Electrolytic capacitors typically have leakage currents in the range of 1 to 10 [uA], which is 3orders of magnitude beyond acceptability. So for C1 and C2 film capacitors should be used, forinstance MKT types.Another leakage current concern is the input bias current of the opamp. A FET-input opamp shouldbe chosen. The schematics specify a `TLC271' type, allowing operation from a single positivesupply rail to ground. Unfortunately the (low frequency) input noise voltage of this opamp is nottruly great.

Overall PLL parameters

The closed-loop corner frequency of the PLL fc is now:

fc = 28 x A = 28 / 20 = 1.4 Hz.

fh, the frequency at which the close-loop gain will start dropping at a 2nd order slope, is 5Hz.

Additional filter sections

In reality, our low-pass filter has two more filter sections.

The two input resistors denoted earlier 'R1' are in the actual circuit an aggregate of several components:

The 6 input resistors and 3 capacitors provide an initial passive low-pass filter. A low-pass cornerfrequency of 10Hz is achieved for differential input signals, and a corner frequency of 100Hz is obtainedfor common-mode input signals. As the actual input signal is a 705kHz digital signal with lots of higherharmonics, these AC components are significantly damped before reaching the opamp.

A final RC section between the opamp and the VCXO control input again implements a 10Hz low-passcorner frequency. Its main task is to filter out the noise which was generated by the opamp.

Lock detector

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

10 of 11 8/5/2011 6:59 PM

Page 11: 1. Jitter Suppression and PLL Design

Besides two flip-flops and a nand-gate for a traditional phase detector, two more flip-flops are used forPLL lock detection. More precisely, they implement a socalled `cycle slip' detection.

When the PLL is in lock, Clk1 and Clk2 have identical frequency, but their phase difference can showvariations. The PLL will try to maintain a phase difference close to zero, as result of the `ideal integrator'functionality of our low-pass filter. Identical frequency means that between every two edges of Clk1,precisely one edge of Clk2 will occur. After an edge has occurred on both Clk1 and Clk2, both leftflip-flops are reset by the nand-gate. Only when two edges occur on Clk1 without an intermediate edge onClk2, the flip-flop in the cycle slip detector will become set. This can only occur if Clk1 has a higherfrequency than Clk2.

An additional RC timing constant in the actual circuit ensures that the flip-flops in the cycle-slip detectionremain set for at least about half a second. A single bi-color LED is used for a visual indication on thePLL behavior:

If both the red and green component are off, the PLL works fine.If either the red or the green color appears, the VCXO-PLL is not (yet) in lock. Red indicates a tooslow VCXO, green indicates a too fast VCXO. Normally this situation terminates in about 5seconds, when the PLL achieves lock.If a yellowish color appears (both red and green are on), then the input receiver has detected anerror. Normally this means that the digital input cable is not connected, or the CD player is switchedoff. Only a few CD player models seem to switch off their digital output when no CD is actuallybeing played.

1. Jitter suppression and PLL design http://members.chello.nl/~m.heijligers/DAChtml/PLL/PLL1.htm

11 of 11 8/5/2011 6:59 PM