Design Con 2015

Low distortion oscillator tests measurement circuits

-May 03, 2012

A low-distortion oscillator is necessary for testing today's ADCs (analog-to-digital converters) that have resolution higher than 20 bits. Low-distortion amplifiers with THD (total-harmonic distortion) of -120 dB or less also need such an oscillator for testing. Commercially available distortion meters offer many measurement functions, but even the best have a THD measurement limit somewhere around -115 dB (Ref 1). Several low-distortion oscillator designs have been published, but they have also have THD of -120 dB or slightly better (Refs. 2, 3, 4). At JanasCard, we've developed an oscillator with THD below -140 dB that we use for in-house testing.

The oscillator in Figure 1 uses an inverted Wien-bridge topology with amplitude stabilization through an LED-driven CdS (cadmium-sulfide) photocell isolator.  IC1 and IC2 are low noise, high linearity LME49710 audio amplifiers from Texas Instruments, key components of the oscillator. These amplifiers have nonlinearity below 0.1 ppm in inverting mode (Ref. 5). IC1 acts as an inverter with gain -1. IC2, in conjunction with R1, R2, R3, R4, C1, C2, and C3, forms a band-pass filter that sets the oscillator's resonant frequency to 2 kHz. The design uses a Wien bridge with values R, C, R/2, and 2C because it the oscillator needs an inverting gain of -1.
 TMW-Oscillator_FIG1

Figure 1. An oscillator with better than -140 dB of distortion uses a Wien-bridge circuit.



You can use a simpler configuration with equal values for R and C, but it requires an inverter with a gain of -2 and you must take the output from the inverting amplifier stage. The resulting noise is significantly higher because of the higher overall gain and the circuit isn't bandwidth limiting.

Noise is also an important parameter for ADC testing. Thus, we used SPICE simulation on the oscillator's noise performance. Figure 2 shows that the circuit's voltage noise-spectral density is highest at the resonant frequency and then falls at higher frequencies because of band-pass filtering. Total noise in the 20 Hz-30 kHz band is 1.7 µV. That gives a theoretical SNR (signal-to-noise ratio) of 126 dB for output level 10 VPP, or 3.5 VRMS. The LM49710 has voltage-noise density of 2.5 nV/√Hz. Resistors and input noise currents of the amplifiers also add to the overall noise. If the lowest possible noise is important, you can use lower resistor values, but that's at the expense of higher power consumption and increased distortion. The LM49710 distortion performance is specified with minimum load resistance of 600 Ω.
 TMW_Oscillator_FIG2

Figure 2. A simulation shows the oscillator's voltage noise-spectral density drops as frequency increases above resonance.



For amplitude stabilization, the oscillator's AGC (automatic gain control) circuit consists of a full-wave rectifier with high input impedance (IC3A, IC3B), integrator IC4, and optocoupler O1. The voltage across the optocoupler's photo-resistor is only 18 mV as set by the 18-Ω parallel resistor R18. That voltage keeps the voltage across O1 to a negligible level. Multiturn trim poteniometer R21 sets the AGC's working point to roughly 10 mA through O1's LED (5 V at TP1). Turn R21 slowly until the AGC locks, loop's time constant is several seconds. The setting is quite sensitive because of the AGC loop's narrow range. After setting the proper operating point with R21, set the output amplitude with multiturn trim potentiometer R7 in range of 5 Vpp to10 Vpp.

Right selection of passive components in signal chain is another important requirement for minimum distortion. Resistors are preferably 0.1%, 15 ppm/K through-hole types, capacitors are preferably polystyrene foil types, second best choice are NPO (Negative Positive Zero) with their smaller size and lower temperature coefficients, but slightly higher distortion (Ref. 6).

Performance verification

We know of no commercially available equipment with enough resolution to directly measure distortion of the ADC circuit. Fortunately, you can use a simple two-stage approach. First, attenuate the fundamental frequency as much as possible; at least 80 dB. A low-distortion notch filter lets you measure residual distortion much more simply than a spectrum analyzer. Figure 3 shows a tunable notch filter with an amplifier. The notch filter is a passive twin-T circuit, which rejects the oscillator's fundamental frequency, but it also attenuates the second and third harmonics by about 9 dB and 5 dB, respectively.
 TMW_Oscillator_FIG3

Figure 3. A tunable noth filter removes the oscillator's fundamental frequency before it reaches the ADC under test.



Distortion performance of the notch filter is important, so use the same high quality passive components as in the oscillator. Feed the notch-filter's output into low-noise amplifier IC1 with a gain of 100. Monitor the output of this amplifier with any common spectrum analyzer or with a PC sound card and frequency-analysis software. For quick self-testing of distortion and gain accuracy of the whole measurement chain, the circuit has a jumper-selectable resistive divider (R9, R10) with 70 dB attenuation.

Figure 4 shows the noise and distortion performance of the amplifier and analyzer together when the attenuator is connected to the output of the oscillator. We used our own DAQ module AD4ETH as a spectrum analyzer. The DAQ module has a 14-bit ADC with 400 ksamples/s sample rate. The module averages 8 samples to reduce sampling speed to 50 kS/s and takes 128 ksamples to perform FFT analysis. The high number of samples is necessary for highest possible dynamic range, second harmonic is as low as -150 dBV so frequency resolution bellow 1 Hz is necessary.  Fig. 4 shows that noise floor of the amplifier is -155 dBV. The third harmonic is -141 dBV, so the amplifier's THD together with that of DAQ module is less than 80 dB.
 TMW_Oscillator_FIG4

Figure 4. A spectral plot shows that even the harmonics are less thant 140 dB below the fundamental signal.



After verifying that JP5, JP6 are open and JP4 and JP7 are closed, connect an AC voltmeter or oscilloscope to the output and tune P1 and P2 for maximum attenuation of the oscillator's fundamental frequency. Now the filter is ready to measure the oscillator's THD. Figure 5 shows distortion of the oscillator with NPO capacitors, the second harmonic is -147 dBV, the third harmonic is -143 dBV, oscillator output level is +10 dBV. Thus, the second harmonic is 10 dB+147 dB -9 dB = 148 dB below the fundamental. The third harmonic is 10 dB -143 dB -5 dB = 148 dB below the fundamental. THD is -145 dB. Figure 6 shows distortion with C3 replaced with a polystyrene foil capacitor. Distortion is several dB lower. The second harmonic is -151 dB, which is nearly invisible in the noise. The third harmonic is also -151 dB below the fundamental. THD is -148 dB.
 TMW_Oscillator_FIG5

Figure 5. Using NPO capacitors drops the distortion to less than -147 dBV of the fudnamental's amplitude.

 


 TMW_Oscillator_FIG6

Figure 6. Changing the capacitor C3 with one made from polystyrene foil futher impoves distortion performance.




References:

1. Audio Precision analyzer series 2700, http://ap.com/products/2700
2. Smith, Jeff, "Oscillator keeps THD below 1 ppm," EDN Design Ideas,, November 10, 1994.  http://www.edn.com/article/497193-EDN_11_10_94_Oscillator_keeps_THD_below_1_ppm.php
3. Eagar Dale, "Using Super Op Amps to Push Technological Frontiers: an Ultra-Pure Oscillator" http://cds.linear.com/docs/Application%20Note/an67f.pdf
4. Williams, Jim and Guy Hoover, "Test 18-bit ADCs with an ultrapure sine-wave oscillator," EDN, August 11, 2011. http://cds.linear.com/docs/Article/ubm_edn_20110811%2018Bit%20ADCs%20Ad%20Free.pdf
5. Pease, Robert A.,"Gain and Linearity Testing for Precision Operational Amplifiers," National Semiconductor Application note 1671, May 21, 2008. http://www.ti.com/lit/an/snaa047/snaa047.pdf
6. Bateman, C.,"Capacitor Sounds 1 - Low Distortion (sub 1PPM ) 1 kHz Test Oscillator"
http://www.waynekirkwood.com/Images/pdf/Cyril_Bateman/Bateman_Notes_Cap_Sound_1.pdf
 
Vojtěch Janásek has more than 20 years experience in high performance analog and mixed signal design. He holds a degree in Electrical engineering from the Czech Technical University in Prague and PhD degree from the same university. He is a founder of JanasCard . E-mail: info@janascard.cz.

Loading comments...

Write a Comment

To comment please Log In

DesignCon App
FEATURED RESOURCES