Displaying report 1-1 of 1.
Reports until 09:46, Wednesday 31 May 2023
RetroSense General
evanhall - posted 09:46, Wednesday 31 May 2023 - last comment - 08:46, Wednesday 05 July 2023(11214)
AD630 lock-in circuit

Peter suggested using an AD630 to perform the lock-in demodulation for the RetroSense signals. The datasheet does not give a noise spectrum so I wanted to see how it performed.

I wired an AD630 on a protoboard in the lock-in topology shown in Fig. 35 of the datasheet, omitting the AD711s. I powered the board with ±15 V from a benchtop supply. I used an SR560 with a gain of 20 dB and a 300 Hz 12 dB/octave lowpass in order to do the final filtering step. I drove the comparator with a ±1 V square wave at 30108 Hz, and then drove the signal input (pin 1) with another square wave. I tried various amplitudes and offsets up to 300 mVpp. In all cases the noise at 1 Hz was a few µV/Hz1/2, referred to the AD630's output. This is not good enough for us because we want to be shot noise limited with a few milliamps of photocurrent and a transimpedance of order 1 kΩ, which amounts to a noise of a few tens of nV/Hz1/2. (The gain of the AD630 is of order 0 dB — the internal amplifiers run with a gain of 6 dB and there is some loss due to the demodulation process).

I tried the following, which did not lower the noise:

I didn't add an input buffer to the signal input like shown in the datasheet figure, but I don't see why that should matter.

By using the function generator's internal AM modulation feature, I saw that there was significant harmonic content in the voltage spectrum when the signal was sent to the AD630 with a square wave, but not with a sine wave. I do not understand this behavior since mathematically, square wave demodulation should not have this feature.

Photo shows the AD630 circuit along with the AD711 Sallen-Key filter.

Images attached to this report
Non-image files attached to this report
Comments related to this report
evanhall - 18:40, Wednesday 31 May 2023 (11215)

I retook some of these measurements. First, the SR560 I was using yesterday seems to have excess low-frequency noise, so I suspect that was part of the confusion. Second, the circuit is picking up some kind of environmental noise, so the noise floor is not entirely stationary. At the quietest times it approached 100 nV/Hz1/2 at 1 Hz.

It is probably worth redoing this board as a PCB with on-board voltage regulators and seeing how it performs with actual photocurrent signals.

Non-image files attached to this comment
evanhall - 17:08, Wednesday 07 June 2023 (11221)

I ordered PCBs of this design from JLCPCB, each with three demodulation channels (for X, Y, and sum). This is two layers, with the ground achieved through a polygon pour on the top layer. If we come to regret this then we may want to go for four layers.

Non-image files attached to this comment
evanhall - 22:45, Monday 03 July 2023 (11249)

These PCBs arrived and I stuffed the X channel on one of them. The voltage noise had similar nonstationary behavior when tested as described above outside the NW22 lab, so I moved it into the lab and also added an SR560 at the output with gain.

  • PCB powered with ±18 V
  • Clock drive: 1 Vpp square wave at 33 235.77 Hz
  • Input drive to X: 25 mVpp with 5% modulation depth at 1.112 Hz (AFG3022B screen says 50 mVpp, but it is not... the hi-Z display option seems to disable if you request modulation)... thus 1.25 mVpp modulation envelope. Tried sine and square waves.
  • The PCB contains the AD630 in a gain of 2 demodulator configuration, and an AD711 Sallen-Key filter witha 2-pole rolloff at 290 Hz.
  • Output signal from PCB's X channel goes into SR560, which has gain of 100 V/V and a 12 dB/oct rolloff at 300 Hz.
  • Output of SR560 goes into spectrum analyzer.

I looked on a scope to get the overall gain factors in either the sine or square drive configurations:

  • Output from SR560, sine wave: 140 mVpp at 1.112 Hz, and therefore 1.4 mVpp direct from demodulator.
  • Output from SR560, square wave: 210 mVpp at 1.112 Hz, and therefore 2.1 mVpp direct from demodulator.

Compared to the 1.25 mVpp envelope of the modulated input signal, the gain for sine wave signals is about 1 and the gain for square waves is about 2... we likely want to stick with square waves, since sinusoidal input would probably require bandpassing of the photocurrent signals, which throws away SNR.

In the attached input-referred noise curves there is no indication that square wave input has worse nonlinear content than sine waves. The input-referred noise is about 200 nV/Hz1/2 from 0.1 to 1 Hz. This competes with the expected shot noise of 3 mA of total photocurrent if it is handled with a transimpedance of 4 kΩ, which produces 12 V dc in the total voltage sent to the sum channel of this demodulation board.

I did not build the capability for ac coupling into the input to this circuit, and perhaps I should have, since the dc offset voltage into the demodulator is not needed. Also, the AD711's input voltage noise is somewhat high... though I don't think it's limiting the current performance.

Images attached to this comment
Non-image files attached to this comment
evanhall - 08:46, Wednesday 05 July 2023 (11250)

Tried replacing AD711 with OPA227, did not notice a difference in the 50 Ω input-terminated spectrum. We should consider running the AD630 in a gain 1 configuration by tying pin 14 to pin 13 rather than to ground (refer to the lock-in application section of the AD630 datasheet), which should be doable on the current PCB since the AD630 is a DIP in a socket. It can and should be modified in a reversible way (i.e., do not clip pins) as this part is somewhat expensive.

The AD630 datasheet does not specify a noise performance for this IC.

Displaying report 1-1 of 1.