I've just been testing a design that includes 8 hybrid (ie mixed analogue and digital) lock in amplifiers. They aren't, strictly speaking, lock in amps because they are synchronised to an internally generated signal which dives a laser. There are 8 detectors and the purpose of the filtering is to pass only signals which are at exactly the modulation frequency of the laser. (A true lock in amplifier would lock on to the signal without needing the internal reference - but it's mad to do that if you are generating the signal in the same box.)
Each of the 8 channels has broad band filtering and some switchable gain. The 8 channels are sampled by an 8 channel synchronous sampling 24 bit ADC which takes 240,000 samples per second per channel. The ADC is controlled by a Intel (was Altera) Cyclone 10 FPGA which also does most of the grunt work of the signal processing. It passes data via SPI (as 64 bit integers) to an STM32F407 which does a bit of averaging and scaling in floating point and presents data at quite a slow rate to the user interface.
The response of the analogue signal processing chain looks like this:
Plotted by the Picoscope 5444A.
And after the digital stuff has done its magic:
Zoomed in a bit:
Amplitudes are in dB, 0dB is about 1.5uA at the system input.
The centre frequency isn't exactly at 10kHz, it's 5ppm off (or the Keysight signal generator is) , not too surprising since the filter only uses a 25ppm reference clock.
The complete system can work at any frequency from 1kHz to 20kHz.
This kind of digital filter is very easy to implement and very useful for measuring frequency responses or any other application where you are generating the test signal. If any one is interested I'll post a bit more about how it works and how to implement it on a micro (or FPGA).
MK
Top Comments