[MyHosting.com]   [Home Page]   [Manuals]   [KO4BB Wiki]
Help keep this site free:
(More Info)

Clock Shaping

This page describes two possible circuits for clock shaping (converting the sinusoidal waveform from a crystal oscillator to a digital signal.)

This circuit, designed for 5 MHz, was submitted by Bruce Griffiths:


The circuit should use NPO capacitors and metal film resistors for temperature stability.

Adjust the variable capacitor for a minimum voltage reading at the VNULL point. Use a high input impedance voltmeter for minimum loading.

Particular features of the design are as follows:

Even though the circuit is not very sensitive to supply voltage variations, in order to get all the performance available, make sure the supply voltage is ripple free and well regulated.

Here is the frequency response of the circuit, modified for 10 MHz operation (change inductor to 7uH, change capacitance to 35 pF) and modeled with Linear Technology's LTSpice (Ref 1).


You can see the circuit has about 2 MHz bandwidth at 3dB, providing a moderate Q and low sensitivity.

Here is my circuit, designed to take advantage of off-the-shelf 10.7 MHz IF transformers, and also intentionaly providing somewhat higher than 50 ohm input imdedance (so that the 10 MHz signal can feed other circuits without excessive loading, such as driving a Time Interval counter in order to assess its performance, more on that later) and also in order to accomodate oscillators that provide more than 0.5 V rms.

If 50 ohm input impedance is desired, it is easy to place a resistor in parallel on the input. The value will depend on the value of R3 and should be determined experimentally.


Features of this design:

Here is the response of my circuit:


There are a couple of resistor values to adjust, depending on how much signal you have available and the particular type of transformer.

Resistor R3 defines to a large extent the Q of the circuit. It's value should be low enough to dampen the transformer and reduce the temperature sensitivity.

Resistor R4 is adjusted to adjust the level drive to the comparator as high as possible without exceeding the comparator common mode specification.

Note that the LT1016 can be substituted by the faster AD8561 (Ref 3)


  1. Use a signal generator to drive the circuit with a level comparable to the output level of the intended crystal oscillator.
  2. Start with a relatively high value for R3 and R4 (R3 = 100 k, R4 = 1k for instance)
  3. Look at the signal on the inverting input of the comparator with an oscilloscope and a low capacitance probe.
  4. Adjust the transformer to peak the response. Make sure the transformer does not bottom out before reaching 10 MHz.
  5. Adjust (typically decrease) the value of R3 until you obtain a 3dB bandwidth of about 2 MHz (peak to peak voltage at the input of the comparator drops by about 30% at 9 and 11 MHz compared to the level at 10 MHz).
  6. Adjust (typically decrease) the value of R4 until the signal on the comparator input is about 2V p-p. You may have to go through steps 4, 5 and 6 more than once.
  7. The final adjustment of the transformer is done by comparing the input and output signals with the oscilloscope and adjusting the transformer so that the signals are in phase (output switches when the signal is at zero crossing). At that point, you will have the best rejection of the effects of amplitude variations on the phase of the signal.
Once you have determined the values of R3 and R4 for a given transformer type, you can build a number of units and all you will have to do is adjust the transformer for zero phase shift.


  1. Linear Technology's SwitcherCAD, free simulation software, www.linear.com/company/software.jsp
  2. Linear Technology LT1016 specification, www.linear.com/pc/productDetail.do?navId=H0,C1,C1154,C1004,C1012,P1225
  3. Analog Device AD 8561 specification, www.analog.com/en/prod/0,2877,AD8561,00.html

Return to Timing Page | Return to KO4BB's Home Page.

Except as noted, this entire site Copyright © 2002-2022. KO4BB All rights reserved.
October 02 2014 09:21:08