A
Adam S
Guest
I have application where I want to determine the phase/magnitude between
two signals, each of which contains a continuous 100kHz sine wave, and
with low as 0dB S/N ratio. The frequency of the source signal will be
generated by the microcontroller.
How about I set output frequency to 100kHz, and sample at 999.9375Hz.
This will give aliasing at every N*999.9375Hz, where N is an integer
0,1,2.. And because the 100kHz signal is being generated by the
microcontroller , it will always be synchronized to the sampling.
So when N=100, then a 100kHz signal appears as 100000 - 100*999.9375Hz =
6.25Hz signal. Once the 6.25Hz sampled data is inside then its just a
matter of performing software quadrature demodulation to extract narrow
band phase/magnitude.
One issue concerning me is how functional the on board ADC sample and
hold circuit will be at 100kHz.
Whats involved building an external sample and hold circuit that can sit
before a relatively slow ADC ? Would I use parts like a CD4066 analog
switch, a storage capacitor and FET op-amp buffer ?
CD4066 leakage typical 100pA, giving sample hold droop of 0.45V/s. I've
read about charge injection of analog switches. When does this become an
issue ?
.------< trigger MCU
|
100kHz |
input ------ |\
--- | |/ |
220pF --- |______|
|
GND
Adam
two signals, each of which contains a continuous 100kHz sine wave, and
with low as 0dB S/N ratio. The frequency of the source signal will be
generated by the microcontroller.
How about I set output frequency to 100kHz, and sample at 999.9375Hz.
This will give aliasing at every N*999.9375Hz, where N is an integer
0,1,2.. And because the 100kHz signal is being generated by the
microcontroller , it will always be synchronized to the sampling.
So when N=100, then a 100kHz signal appears as 100000 - 100*999.9375Hz =
6.25Hz signal. Once the 6.25Hz sampled data is inside then its just a
matter of performing software quadrature demodulation to extract narrow
band phase/magnitude.
One issue concerning me is how functional the on board ADC sample and
hold circuit will be at 100kHz.
Whats involved building an external sample and hold circuit that can sit
before a relatively slow ADC ? Would I use parts like a CD4066 analog
switch, a storage capacitor and FET op-amp buffer ?
CD4066 leakage typical 100pA, giving sample hold droop of 0.45V/s. I've
read about charge injection of analog switches. When does this become an
issue ?
.------< trigger MCU
|
100kHz |
input ------ |\
| .-|-/ |-----|CD4066|-o----|+\
------ | | /-o---> ADC
--- | |/ |
220pF --- |______|
|
GND
Adam