Hi simonbaker,
The modulator converts a DC voltage (sample signals) into an AC voltage. The sound card can not be fed by DC voltages. Damn! 
There is some advantage of the modulator: The line noise immunity (only affected on the modulation frequency within small bandwidth) and overall low noise on high modulation frequency (the low frequency noise won't be seen by the demodulation). The DC frequency range will be moved out of the 1/f low frequency region (very high noise level). The 1/f noise generally exceeds the thermal noise. The demodulator can reconstruct the tiny signals buried in much noise levels (lock-in amplifier).
The modulation (mixer) is very simple:
Modulation = Continious integral over time of (signal*modfrequency). Modfrequency is a function of changing +1/-1 factor, which changes with the modulation frequency. If you integrate over a periodic polarity changing signal (differential balanced signal), you will get a triangular wave form modulation. This is almost as good as a sine wave, which has odd harmonics. A pure sine wave would be much better of course but it is expensive to implement this.
The integration is the inverting integrator circuit already shown former. Modfrequency comes from the binary counter with the gate voltages to select the +signal and -signal in the JFET for integration. The integrating capacitor will be alternatively charged or discharged with modulation frequency compensated current. A simplified +signal and -signal buffer is also there, where the most noise is generated from the inverting signal buffer (-signal).
We have a stereo line. Each line contains two modulated samples with different modulation frequency. We can modulate therefore upto four signals (four channels). The amplitude and phase of the modulated signal represents the DC signal voltage and polarity. If the DC signal is infected with noise, the modulator will also modulate the noise. So the DC signal must be almost "noise-free".
The sampled DC signal will be quite noisy due to the different circuit stages (pre-amp, PGA, integrator, S&H). I have to make some "crazy" experiments to find a good solution for this problem.

Aziz
Originally posted by simonbaker
View Post

There is some advantage of the modulator: The line noise immunity (only affected on the modulation frequency within small bandwidth) and overall low noise on high modulation frequency (the low frequency noise won't be seen by the demodulation). The DC frequency range will be moved out of the 1/f low frequency region (very high noise level). The 1/f noise generally exceeds the thermal noise. The demodulator can reconstruct the tiny signals buried in much noise levels (lock-in amplifier).
The modulation (mixer) is very simple:
Modulation = Continious integral over time of (signal*modfrequency). Modfrequency is a function of changing +1/-1 factor, which changes with the modulation frequency. If you integrate over a periodic polarity changing signal (differential balanced signal), you will get a triangular wave form modulation. This is almost as good as a sine wave, which has odd harmonics. A pure sine wave would be much better of course but it is expensive to implement this.
The integration is the inverting integrator circuit already shown former. Modfrequency comes from the binary counter with the gate voltages to select the +signal and -signal in the JFET for integration. The integrating capacitor will be alternatively charged or discharged with modulation frequency compensated current. A simplified +signal and -signal buffer is also there, where the most noise is generated from the inverting signal buffer (-signal).
We have a stereo line. Each line contains two modulated samples with different modulation frequency. We can modulate therefore upto four signals (four channels). The amplitude and phase of the modulated signal represents the DC signal voltage and polarity. If the DC signal is infected with noise, the modulator will also modulate the noise. So the DC signal must be almost "noise-free".
The sampled DC signal will be quite noisy due to the different circuit stages (pre-amp, PGA, integrator, S&H). I have to make some "crazy" experiments to find a good solution for this problem.

Aziz
Comment