After building a kind of powerbank with linear 5V regulators to power the oscillator and the E1DA ADC iso, APU ... (useless at least for loopback testing, I had almost the same results than with my bench power supply or even an USB charger) I'm back with the oscillator.
The first task is to achieve a frequency close to 1kHz in order to use the E1DA APU.
On my two (recent) samples, R6 and R7 are 3.6K, not 3.3K as on the schematic.
I replaced them by two 3.3K 1% 50ppm MF0 Yageo ones. Luckily, C1 and C2 are around 54nF so I was able to trim the frequency around 1KHz.
The frequency is now close to 997Hz (after at least 30 minutes of warm up, before the frequency is not stable and the distortion very high).
A quick test showed me that despite their blue color, the original resistors look more like carbon resistors than metal film resistors.
They suffer from a very high negative temperature coefficient (estimated at several hundred ppm/°C, I'm too lazy to measure it precisely), while the Yageo resistors that replace them are less than 10 ppm/°C (20°C-70°C), well below their specification of 50 ppm.
C1 and C2 capacitors have a quite strong positive temperature coefficient. Does anybody knows capacitors with low temperature coefficient I could use ?
Does that explain the long warm-up time ?
The best I had measured with an E1DA ADC iso grade B and after trimming VR to minimize H2 was
But the oscillator's noise level is close to the ADC one, I'm not sure these figures are really accurate.
So I (finally) tuned my APU and generated a calibration file for REW, using my AVG, my RMS voltmeter and my oscilloscope (my RMS voltmeter doesn't go above 3KHz).
Why the generic calibration file from E1DA is 0dB away from the notch frequency and 30dB at that frequency, while Archimago's is 30dB away from the notch frequency and 0dB at that frequency, remains a mystery to me.
I generated my own (~ +20dB away from the notch frequency (the actual APU gain) and ~ -10dB at the notch frequency) which corresponds to reality.
It seems to me that the N, THD, THD+N, etc. values displayed by REW in the RTA window are therefore correct and require no arithmetic.
But maybe I missed something ?
My first measure with the APU and its calibration file was :
The noise value is 7dB lower. Why not, thanks to the APU's the noise level seen by the ADC if far higher than it's own noise level. It seems realistic to me.
But the THD is three times higher than that measured previously !
I trimmed the VR again on the oscillator and the result was a little bit better :
Then I added a 1K load (a Chinese 3590S potentiometer), trimmed again VR and :
The THD is now closer to the first measurement.
With multiple loads, not forgetting the impedance of the ADC or APU, I realized that the oscillator was sensitive to these factors and required VR adjustment to minimize THD.
I also noticed that the THD increased significantly at low output levels with a simple 1K potentiometer at the output. I don't have this problem with my AWG, a DG811 which has a lower output impedance.
I found a way on diyAudio to control the level by varying the voltage across R12. I'm experimenting with it, but the control isn't perfect and the stabilization time at low levels is extremely long (almost a minute for an attenuation of ~25dB). I'll keep you updated on my results.
Oh, by the way
@mlloyd1, I noticed that D1 seems to be soldered backwards on your circuit board.
That could well be the cause of your problem.
It looks like R12 is 2M, whereas it's marked 2.2M on the schematic (and on my copies), but I don't think that makes much difference.