Author Topic: Measuring load capacitance of a 32.768kHz crystal oscillator  (Read 1619 times)

0 Members and 1 Guest are viewing this topic.

Offline jeremyTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: au
Hi all,

I have a question which came up recently which I don't have a good answer to: suppose you had a crystal oscillator which was nominally tuned for 32.768k, but you had no idea of the correct load capacitance and there are no useful part markings or datasheets, etc. How do you measure the load capacitance of the crystal? For example, digikey part number SE2413TR-ND comes from the Epson FC-135 series of crystals, which are available in 7pF, 9pF and 12.5pF options. But how do you confirm that it is the one you expect?

The best answer I could come up with was to build a pierce oscillator circuit, then hook up a good frequency counter to the output and keep swapping values of caps until you get as close as possible to 32.768k. But since you are soldering to change capacitors, this could be quite tedious and is prone to some sort of heat damage or at least thermal drift.

I found a boat anchor which is supposed to be designed for measuring crystals, the HP E4916A. But it only goes down to 1MHz. I also thought of trying these Murata voltage controlled capacitors: https://www.murata.com/en-global/products/capacitor/variable/overview/lineup/variable but they only go down to ~16pF, which is a little bit too high.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16607
  • Country: us
  • DavidH
Re: Measuring load capacitance of a 32.768kHz crystal oscillator
« Reply #1 on: July 25, 2022, 11:16:35 am »
I would use a variable capacitor and then measure the capacitance of the variable capacitor.

Two or more varactors can be used in series to divide their capacitance.
 

Online srb1954

  • Super Contributor
  • ***
  • Posts: 1091
  • Country: nz
  • Retired Electronics Design Engineer
Re: Measuring load capacitance of a 32.768kHz crystal oscillator
« Reply #2 on: July 25, 2022, 01:24:38 pm »
The best answer I could come up with was to build a pierce oscillator circuit, then hook up a good frequency counter to the output and keep swapping values of caps until you get as close as possible to 32.768k. But since you are soldering to change capacitors, this could be quite tedious and is prone to some sort of heat damage or at least thermal drift.
You should also measure the start-up performance of the oscillator as incorrect load capacitors may cause slow or erratic start-up. A very low-capacitance scope should be used on the oscillator output to avoid the scope probe loading from affecting the oscillator. Failing that a resistor, say 1k \$\Omega\$, in series with a standard scope probe will reduce the effect of the probe capacitance affecting the oscillator.

When determining the load capacitance remember that the amplifier input and output capacitance and circuit strays also make up part of the effective crystal load capacitance.   
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16607
  • Country: us
  • DavidH
Re: Measuring load capacitance of a 32.768kHz crystal oscillator
« Reply #3 on: July 25, 2022, 09:57:36 pm »
You should also measure the start-up performance of the oscillator as incorrect load capacitors may cause slow or erratic start-up. A very low-capacitance scope should be used on the oscillator output to avoid the scope probe loading from affecting the oscillator. Failing that a resistor, say 1k \$\Omega\$, in series with a standard scope probe will reduce the effect of the probe capacitance affecting the oscillator.

Buffer the oscillator output with an emitter or source follower as part of the circuit and you can ignore the probe capacitance.  There are suitable operational amplifiers available now which could be used as a follower for buffering if you need DC precision.  Look for a fast part with low common mode input capacitance.
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2063
  • Country: br
    • CADT Homepage
Re: Measuring load capacitance of a 32.768kHz crystal oscillator
« Reply #4 on: July 26, 2022, 02:02:30 pm »
Some MCUs like MSP430 include programmable capacitors for this, so the fine tuning can be done during initialization.

Regards, Dieter
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2299
  • Country: gb
Re: Measuring load capacitance of a 32.768kHz crystal oscillator
« Reply #5 on: July 26, 2022, 02:55:28 pm »
If it's an RTC crystal for an MCU, configure the MCU to output a frequency derived from the 32768Hz. Measure that frequency (because it's buffered) and use it to adjust load capacitance as necessary to achieve 32768Hz. This way you can account for MCU pin capacitance, stray capacitance, load capacitance and crystal offset all at the same time.

Furthermore, as dietert1 said, an MCU can do run time compensation using a HF crystal as reference and so compensate for ambient temperature changes. MCUs may have internal capacitance adjustment or some digital ppm divider adjustment.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf