원시데이터 수집 시스템
선정목록으로

An open-source high-frequency lock-in amplifier

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. G. A. Stimpson — Department of Physics, University of Warwick 1 , Coventry CV4 7AL, United Kingdom|||Diamond Science and Technology Centre for Doctoral Training, University of Warwick 2 , Gibbet Hill Road, Coventry CV4 7AL, United Kingdom
  2. M. S. Skilbeck — Department of Physics, University of Warwick 1 , Coventry CV4 7AL, United Kingdom
  3. R.L. Patel — Department of Physics, University of Warwick 1 , Coventry CV4 7AL, United Kingdom|||Diamond Science and Technology Centre for Doctoral Training, University of Warwick 2 , Gibbet Hill Road, Coventry CV4 7AL, United Kingdom
  4. B.L. Green — Department of Physics, University of Warwick 1 , Coventry CV4 7AL, United Kingdom
  5. G.W. Morley — Department of Physics, University of Warwick 1 , Coventry CV4 7AL, United Kingdom|||Diamond Science and Technology Centre for Doctoral Training, University of Warwick 2 , Gibbet Hill Road, Coventry CV4 7AL, United Kingdom
DOI
10.1063/1.5083797
저널
Review of Scientific Instruments
발행년도
2019
발행기관
American Institute of Physics
피인용수
53
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1063/1.5083797
토픽
Semiconductor Quantum Structures and Devices
OpenAlex ID
W2972431256

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present characterization of a lock-in amplifier based on a field programmable gate array capable of demodulation at up to 50 MHz. The system exhibits 90 nV/√Hz of input noise at an optimum demodulation frequency of 500 kHz. The passband has a full-width half-maximum of 2.6 kHz for modulation frequencies above 100 kHz. Our code is open source and operates on a commercially available platform.

본문 38,796자

본문 펼치기
### An Open-Source High-Frequency Lock-in Amplifier G. A. Stimpson, <sup>1, 2, a)</sup> M. S. Skilbeck, <sup>1</sup> R. L. Patel, <sup>1, 2</sup> B. L. Green, <sup>1</sup> and G. W. Morley <sup>1, 2, b)</sup> 1)Department of Physics, University of Warwick, Coventry, CV4 7AL, United Kingdom. 2)Diamond Science and Technology Centre for Doctoral Training, University of Warwick, Gibbet Hill Road, Coventry, CV4 7AL, United Kingdom. (Dated: September 13, 2019) We present characterization of a lock-in amplifier based on a field programmable gate array capable of demodulation at up to 50 MHz. The system exhibits 90 nV/ <sup>√</sup> Hz of input noise at an optimum demodulation frequency of 500 kHz. The passband has a full-width half-maximum of 2.6 kHz for modulation frequencies above 100 kHz. Our code is open source and operates on a commercially available platform. I. INTRODUCTION The lock-in amplifier (LIA) is an invaluable tool in scientific instrumentation <sup>1</sup>, allowing the extraction of weak signals from noisy backgrounds, even where the amplitude of the noise is much greater than the signal <sup>2</sup> . First described in 1941, early LIAs were based on heaters, thermocouples and transformers <sup>3</sup> . More modern LIAs have been fully digital <sup>4–7</sup> or implemented on field programmable gate array (FPGA) devices <sup>8–14</sup>, which are able to exceed the performance of their analog counterparts <sup>15</sup> . However, the cost of modern LIAs may prove prohibitive, particularly in cases where large numbers of input channels are required. By employing Red Pitaya hardware, we are able to define an open-source LIA solution which is comparable with considerably more costly approaches. Characterized by wide dynamic range and the ability to extract signal from noisy environments <sup>16</sup>, LIAs are phase sensitive detectors <sup>17</sup> due to their operating principles. A reference signal in the form of a sinusoidal wave is generated either internally by the LIA itself, along with a cosinusoidal wave, or externally by some other source which can also be manipulated to form a cosinusoidal reference. This reference is multiplied by the input signal <sup>18</sup> which carries the desired data modulated at the reference frequency <sup>19</sup> . A low pass filter is then used before outputting the signal. In this way the LIA amplifies and outputs the component of the input signal which is at the reference frequency, attenuating noise at other frequencies <sup>20</sup> . Components out of phase with the sine reference will also be attenuated, due to orthogonality of the sine and cosine functions of equal frequency <sup>21</sup>, hence the LIA is considered phase sensitive <sup>22</sup> . Components in phase with the sine function will result in a non-zero value in the X output, whilst those in phase with the cosine function will produce a non-zero value in the Y output. X and Y can be combined by R = √X <sup>2</sup> + Y <sup>2</sup> to provide a magnitude √ be combined by R = √X <sup>2</sup> + Y <sup>2</sup> to provide a magnitude value <sup>23</sup>, while phase φ = arctan X <sup>Y</sup> <sup>.</sup> X <sup>Y</sup> <sup>.</sup> FPGAs offer easily implementable micro-circuitry design via the use of hardware description language (HDL) such as Verilog or VHDL. A broad range of applications can be realized using these devices <sup>24</sup> including LIAs without recourse to detailed knowledge of micro-electronics <sup>25</sup> . The Red Pitaya STEMlab 125-14 is a single board computer (SBC) with an integrated FPGA in the form of a Xilinx [a)g.stimpson.1@warwick.ac.uk](mailto:g.stimpson.1@warwick.ac.uk) Zynq 7010 SOC <sup>26</sup>, allowing for the implementation of reprogrammable micro architecture which would otherwise necessitate dedicated hardware. The reprogrammability <sup>27</sup> of this FPGA makes it applicable for the LIA functionality described here and allows for further expansion and modification by end users. Two DC coupled analog inputs are available in the form of user selectable ±1 V or ±20 V, 125 MS/s analog-to-digital converters (ADCs - Linear Technologies LTC2145CUP-14 <sup>28</sup> ) with 1 MΩ/10 pF input impedance/capacitance. In this article, we detail an LIA which we have implemented on the STEMlab’s FPGA chip, along with open source <sup>29</sup> operational and data transfer software developed specifically for this application. We demonstrate that this device shares many capabilities with more expensive alternatives such as a sweepable internal signal generator, single or dual input/output modes, wave form control and the ability to increase the number of available inputs and outputs by interfacing across multiple STEMlab units. Comparison is made with the Zurich Instruments HF2LI LIA, which is specified for operation up to 50 MHz demodulation frequency <sup>30</sup> . Whilst an extensive software application is provided with the HF2LI, the open source nature and readily available software and hardware of the LIA presented here allow for an attractive option where cost is a consideration. Research into low-cost FPGA based LIAs has produced a number of alternatives <sup>25</sup>, including high resolution designs operating at up to 6 MHz demodulation <sup>31,32</sup>, and simulations have been presented for a high frequency LIA based on the Red Pitaya STEMlab <sup>33</sup> . Typically, FPGA LIAs have been developed with specific experimental objectives <sup>13,14,34</sup> . The STEMlab is the basis for a range of related measurement instrumentation from PyRPL, including an LIA <sup>35–37</sup> . A low cost FPGA-based LIA has also been developed which operates at low demodulation frequency <sup>38</sup>, and FPGA-based LIAs have been compared with analog devices in terms of signal accuracy <sup>39</sup> . However, we believe that this article is the first to characterize a high frequency, open source LIA. The open source code may lead to a range of future uses in research, education and industry. II. METHODS A. Hardware & Software The FPGA system design and implementation was performed using software provided by the manufacturer of the Figure 1. Simplified schematic of circuitry layout on Red Pitaya lock-in amplifier FPGA. Signals (solid green arrows) are received at channel processing, where they are multiplied by a reference signal generated in the direct digital synthesis (DDS) block, which takes time data (dashed brown arrows) from the timer and distributes it as a reference. After the multiplication, data are passed through a single pole infinite impulse response (IIR) filter, currently limited to single order. Filtered data (solid blue arrows) are then passed to the memory allocation block and subsequently to the digital to analogue converters (DACs) and are converted to analog data (solid red arrows) and passed out to the user, or saved to the SBC RAM where they can be accessed via Ethernet (dashed red arrow). The reference signal is extracted from the DACs in analog form (dashed blue arrow). Operating parameters and modes are set by the user (dashed green arrows), via the command line interface (CLI) which communicates with the mode control block on the FPGA. block diagram can be seen in fig. 1. Signals received by the ADCs are passed to processing blocks where they are multiplied by the reference signal (which is generated internally by direct digital synthesis (DDS)) and filtered using a single pole infinite impulse response (IIR) filter. The resulting output is written to the SBC’s random access memory (RAM) via the FPGA’s memory interface block. These data are written to a ramdisk file also contained within the STEMlab’s RAM, alleviating high read/write workloads which were observed to cause critical failures of the SD card. The data are also passed to the on-board digital-to-analog converters (DACs) along with the reference signal which is used to modulate the desired signal. This reference can be extracted via the DAC output for external use. Data retrieval from the STEMlab to a host computer can be achieved via the DACs which are provided with SMA connections for output to an oscilloscope. These DACs have 14bit resolution combined with 125 MS/s data rate. Non-offset, digital amplification of up to two thousand times the raw output is available. However, noise introduced by the DACs makes the output undesirable in cases where small changes in signal intensity are to be detected. Alternatively, data may be transferred to a host PC via file transfer from the STEMlab’s RAM. This produces low noise data but can only be performed on the entirety of the LIA’s allocated storage space of approximately 65 megabytes (MB). Whilst this process may last for tens of seconds, all data (X, Y, R and φ) for both output channels is received simultaneously. Further limitations include the inability to operate using an external lock-in reference, cross-talk which can occur between the two input chan Due to the programmable nature of the STEMlab, end users are able to implement their own data transfer methods, which may be shown to alleviate some or all of these limitations. Whilst the FPGA is responsible for signal processing and data transfer, parameter setting takes place on the STEMlab’s Linux SBC. This device is packaged along with the FPGA on the STEMlab board, allowing the user to operate the Red Pitaya LIA (RePLIA) or any other custom FPGA application entirely using the STEMlab itself. Parameter setting and system control are performed using C and Python codes written specifically for use with the LIA. These codes may be accessed via SSH or a terminal emulator, but in practice are accessed via a Java-based graphical user interface (GUI) on a client computer which allows the user to largely ignore the STEMlab’s Linux element. This open-source GUI allows for the setting of all available RePLIA parameters. B. Characterization Methodology Data were extracted from both LIAs via Ethernet connection. In the case of the RePLIA aboard the STEMlab, this avoided noise from its DACs which were found to increase noise by up to three orders of magnitude. Noise for both LIAs during operation was measured at various demodulation frequencies with no input signal present and with a constant amplitude signal produced with an Agilent N5172B EXG vector signal generator. Similarly, noise was measured whilst varying the time constant of the LIAs, with the demodulation frequency fixed at the value determined to 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-5</sup> 10 <sup>-6</sup> 1 0.8 0.6 0.4 0.2 1 s 10 s 100 s 0 20 40 60 80 100 Frequency (Hz) 1 s 10 s 100 s 0 20 40 60 80 100 Frequency (Hz) RePLIA HF2LI Theory (1s) Theory (100s) these data are presented after a fast Fourier transform (FFT). Passbands for each LIA at various demodulation frequencies were obtained by applying a constant amplitude signal at the specified demodulation frequency. This signal was then combined with a sweep between a minimum and maximum frequency passing through the demodulation frequency, with a 10 s sweep time. Zurich Instruments HF2LI The HF2LI provides a built in input noise measurement protocol. The experimental conditions detailed in the HF2LI user notes were replicated <sup>30</sup> and the input noise measured. Noise was collected whilst inputs were terminated for periods of 1, 10 and 100 seconds. This noise was then subjected to a FFT and the noise level assessed and compared with the manufacturer’s stated input noise level of 5 nV/ <sup>√</sup> Hz at 1 MHz demodulation for output frequencies greater than 10 kHz <sup>40</sup> . Red Pitaya Lock-In Amplifier Optimal operational parameters were deduced by examining the output of the RePLIA at varying demodulation frequencies and time constants. The optima chosen were those which resulted in the lowest output noise level. This behaviour was examined both with an applied signal and with terminated inputs. The RePLIA maintains capability over a wide range of demodulation frequencies (10 kHz − 50 MHz) which were also characterized, but figures are quoted with respect to optimal parameters unless otherwise stated. III. RESULTS level decays with increased collection time, close to the predicted √t relationship (top trace) calculated based on a) b) c) √ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Collection time (s) Figure 2. Noise spectral density from a) RePLIA at 500 kHz demodulation with a 1 ms time constant (with 1 s data zero padded) and b) HF2LI at 1 MHz demodulation and 700 µs time constant, at 1 second, 10 seconds and 100 seconds collection time (output data is R for both channels). c) noise Figure 2 shows input noise spectral density for both LIAs at 1 second, 10 second and 100 second collection periods. Increasing collection time t was expected to produce a √t de crease in noise. Both LIAs remained within close agreement of this prediction after a 100 seconds collection time (fig. 2c). noise levels were obtained by taking an average of base-lined data from each LIA at the relevant collection time. In figure 2a, the data for 1 second of collection time has been zero padded, adding 4 seconds worth of zeros, to reduce the width of the frequency bins. These averages produce figures of 89, 21 and 6 nV for the RePLIA for collection times of 1, 10 and 100 seconds respectively, corresponding to sensitivities of 89, 66 and 60 nV/√Hz. When the RePLIA was operated using the conditions stipulated for measurement of the HF2LI input noise, the noise levels are 131, 133 and 130 nV/√Hz. This shows that the optimal operating parameters for the HF2LI differ from those appropriate to the RePLIA. It should be noted that the manufacturer specified sampling rate for the HF2LI limits the span of the FFT output to 120 Hz. Frequencies beyond this limit can be found in the HF2LI’s user manual in scetion 8.4 page 665 <sup>30</sup> . A wider output frequency plot can be found in the appendix (figure 13). The noise spectrum for the HF2LI (fig. 2b) shows greater noise below 80 Hz and lower noise at higher output frequen predicted √t relationship (top trace) calculated based on noise measured after 1 second of collection. The lower trace indicates theoretical values back calculated from the 100 seconds data point. which is largely steady up to 120 Hz (fig. 2a) output frequency. Figure 3 shows FFTs of the RePLIA output collected for 100 s at a range of demodulation frequencies, with time constants optimized for the relevant demodulation period (see appendix). There is a marked difference in noise at demodulation frequencies below 100 kHz, though above this threshold noise is roughly constant. Output from the RePLIA digital-to-analogue converters (DACs) was also produced (see appendix), showing a constant noise level at frequencies below 100 kHz. Though this noise level is several orders of magnitude greater than that incurred in data extracted via the Ethernet connection, this may be an acceptable trade off in certain cases. This consistency suggests that noise inherent to the DACs is the limiting factor when obtaining data using this method, though this noise can be reduced as described in reference 28. Signalto-noise as measured at the DACs increases with an increase in the DAC multipliers, plateauing towards saturation of the √ √ a) 0.8 0.6 0.4 0.2 0 -40 -20 0 20 40 Deviation from central frequency (kHz) 200 150 100 50 10 MHz 20 MHz 30 MHz 40 MHz 50 MHz 100 MHz b) 0 -40 -20 0 20 40 Deviation from Central Frequency (kHz) Vmax Half power point c) 1.2 1 0.8 0.6 0.4 0.2 0 62.5 MH ~~z~~ RePLIA HF2LI 0 20 40 60 80 100 Demodulation Frequency (MHz) Figure 3. FFTs of terminated input data, extracted via file transfer, at various RePLIA demodulation frequencies with 100 s collection time. Two distinct noise regimes seem to exist, with demodulation frequencies above 100 kHz producing significantly lower noise. Time constants were varied dependent on demodulation frequency (see appendix). Note that low frequency and high intensity data have been cropped for visual clarity. Figures 4a and 4b show the shape of LIA passbands when modulating at varying frequencies with time constants optimized for each frequency. The HF2LI demonstrates a narrower passband with less transmission at unwanted frequencies. These passbands are shown to be approximately Lorentzian in line shape with full-width half-maxima of 2.6 kHz for demodulation frequencies above 100 kHz (see appendix), and they begin to reduce in intensity above 30 MHz demodulation with the HF2LI, whereas the output is consistent up to 50 MHz demodulation with the RePLIA. Figure 5c shows the normalised output at megahertz demodulation frequencies for both LIAs. The half power point is indicated ( <sup>Vmax</sup> √2 <sup>) (where Vmax</sup> <sup>is the peak voltage output), which</sup> for the RePLIA is encountered at a demodulation frequency of around 60 MHz, which is close to half of the device’s 125 MHz sample rate, as can be expected from the Nyquist sampling theorem <sup>41</sup> . Linearity of the output relative to the input is demonstrated in figure 5a. Input voltages were varied and the resultant DAC output voltage measured for both the ±1 V and ±20 V input ranges. Linearity is observed over ±700 mV and ±1100mV respectively. Outside these regions the STEMlab’s input, having only 14 bits, introduces significant nonlinearities, as does improper impedance matching of the RePLIA’s inputs. IV. CONCLUSIONS The RePLIA performs lock-in amplification at frequencies up to 50 MHz, with an input noise level of 90 nV/ <sup>√</sup> Hz. The respective figures from the Zurich Instruments HF2LI (50 MHz demodulation with 5 nV/ <sup>√</sup> Hz input noise) show that the FPGA LIA detailed in this article is an open source Figure 4. Output of frequency sweep for MHz demodulation frequencies for the a) RePLIA and b) HF2LI. c) Maximum output voltage of the RePLIA plotted against demodulation frequency, showing the half power point. Note that the RePLIA has a sampling rate of 125 MHz. 0.7 0.6 Goodness of Fit: 0.5 SSE = 3.5602e-05 R-Square = 0.99991 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Input Voltage (V) Figure 5. Demodulated RePLIA output against input voltage, operating at 500 kHz demodulation for a ±1 V input range. Solid red line is a linear fit of the 0 to 0.7 V linear region. SUPPLEMENTARY MATERIAL An online appendix presented alongside this article provides operational parameters and methodology pertaining to both the RePLIA and HF2LI. Also contained within this material are further data regarding measurements of DAC noise at varying demodulation frequency and amplification levels, as well as output line shape and lock-in time constant behaviour. ACKNOWLEDGEMENTS We thank Ben Breeze and Matt Dale for assistance and advice. This research was funded by Bruker Biospin and the Engineering & Physical Sciences Research Council (EPSRC) via grant EP/L015315/1, and G. W. Morley is supported by HF2LI Input Noise Settings Setting Parameter Value Signal Input Range 10 mV AC On Diff Off 50 Ω On Demodulator Low-pass Bandwidth 3dB 100 Hz filter Order 4 Oscillator Frequency 1 MHz Signal Output Switch Off Table I. Experimental parameters used for the measurement of HF2LI input noise, as detailed in manufacturers instructions. is available on the University of Warwick Publication Service [& WRAP at http://wrap.warwick.ac.uk/124332/.](http://wrap.warwick.ac.uk/124332/) Appendix A: Operational Notes The RePLIA was operated in dual channel input mode with the output producing amplitude data. These data were collected at a rate of 20 kSamples/sec. It is important to note that in setting a sample rate, the actual rate per sample will be <sup>1</sup> /8 of that set, as the set rate includes one sample per output channel per time increment (2 input channels comprising R, X, Y and φ for each input channel). This sample rate is dependent both on the system being measured and the hardware over which data are transmitted, but can be set by the user to any rate within the sample rate range of the STEMlab, although this sample rate may ultimately effect the accuracy of resultant signals. When obtaining data via the DAC outputs, collection has been performed by a Pico Technology Picoscope 4424 digital oscilloscope. The Picoscope and DAC outputs were also used when determining time constants for the RePLIA. Data extracted via the RePLIA’s Ethernet port were converted to millivolt values by dividing the actual numerical value by 2.1 · 10 <sup>6</sup>, a conversion factor which was determined by comparing Ethernet values with corresponding values produced at the DACs with no DAC multiplication applied. The Zurich Instruments HF2LI was operated according to the instructions laid out in section 3.5 of the HF2 User Manual <sup>30</sup>, using the parameters in Table I. The time constants detailed in Table II were used for measurements made with the RePLIA. For frequencies in between those listed, the time constant corresponding to the lower frequency was used. Minimum time constants τmin have been determined by τmin = 10/fmod where fmod is the demodulation frequency. This ensures that for a given time constant, ten modulation periods or more elapse during the time constant. The actual time constants used were chosen based on the lineshape of passbands as seen in figure 5a in the main text. Time constants were made as large as possible without distortion of the Lorentzian lineshape of these passbands. Time Constants (τ ) Fmod(MHz) τmin(ms) τ (ms) 0.001 10 100 0.01 1 100 0.1 0.1 10 0.5 2 · 10 <sup>−2</sup> 1 1 1 · 10 <sup>−2</sup> 1 10 1 · 10 <sup>−3</sup> 1 100 1 · 10 <sup>−4</sup> 0.1 Table II. Time constants τ for RePLIA at various demodulation frequencies. The central column contains the minimum usable time constant and the right hand column details the actual time constants used which were determined by ensuring a near-Lorentzian passband at the relevant demodulation frequency. Note that this table is not exhaustive and longer/shorter time constants may be used. a)10 <sup>2</sup> Figure 6. a) FFT of 10 kHz demodulation data taken from the RePLIA’s DAC outputs, demonstrating significantly greater noise than data taken from Ethernet output. b) Output signal to noise from the DAC outputs improves dramatically with demodulation frequency throughout lower frequency ranges due to increased signal. Figure 6a shows an FFT of terminated input data at 10 kHz. These data were extracted from the digital-to-analogue converters (DACs), with the noise level indicating that the DACs themselves are the most significant source of noise. Contrasting this with Figure 3, where we see that without DAC noise, varying demodulation frequency causes a distinct change to noise levels. Figure 7b demonstrates an increase in output signal to noise with increasing demodulation frequency. Figure 7a shows the effect on an FFT whilst varying the DAC amplification multiplier, with the extremes in this range shown in figure 7b. There is no large difference in noise level 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> b) 12 10 8 6 4 2 0 0 500 1000 1500 2000 2500 Output frequency (Hz) 0 20 40 60 80 100 120 Demodulation Frequency (kHz) a)10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> 5 ms 4 ms 3 ms 2 ms 1 ms 0.5 ms 0.1 ms 0 500 1000 1500 2000 Deviation from 500 kHz (Hz) 0.6 0.5 0.4 0.3 0.2 0.1 0 b)10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> c) 10 9.8 9.6 9.4 9.2 9 8.8 1 5 10 50 100 500 1000 1900 0 500 1000 1500 2000 2500 Frequency (Hz) 1 1900 0 500 1000 1500 2000 2500 Frequency (Hz) 0 500 1000 1500 2000 DAC Multiplier Setting Figure 7. FFTs of RePLIA input noise at varying DAC multiplier settings (a) with extremes only plotted for clarity (b). c) The signal to noise ratio at the RePLIA’s digital-to-analogue outputs increases with larger DAC multiplier. However, even small signals can lead to saturation of these outputs. Data obtained at 500 kHz demodulation frequency and a 10 ms time constant. DAC multiplier does improve the signal-to-noise ration, care should be taken not to saturate the STEMlab’s 1 V maximum output. Figure 8 demonstrates the effect of the time constant on the shape of the passband for a given demodulaton frequency, with 500 kHz used as an example. Excessively long time constants produce a narrower passband at the expense of line shape; fringes appear at output frequencies close to but greater than the demodulation frequency, leading to the distortion of output signals. Shorter time constants produce a more consistent lineshape at the cost of passband linewidth. Further to this, extremely short time constants (below those detailed in table II) are unable to detect changes on timescales appropri Figure 8. The effect of the time constant setting on the resulting passband. An 80 kHz sweep over 10 seconds through the demodulation frequency of 500 kHz at varying time constants results in distortion of the passband. Longer time constants result in fringes in the unwanted frequency regions and shorter time constants result in excessive acceptance of unwanted frequencies. For 500 kHz, a time constant of 1 ms was chosen as a suitable compromise. The small section of the sweep output shown above shows only the part of the passband affected by the time constant. time constant can be set to any value above 9 · 10 <sup>−6</sup> s. However, appropriate setting of the time constant is necessary to ensure the correct representation of output signals, and an understanding of the physical nature of systems being measured is also necessary for accurate results. Figure 9 shows FFTs of low demodulation frequency data at varying collection times. Certain frequency elements are evident throughout, which are not evident at higher demodulation frequencies. These components are visible in data extracted both via the DACs and via the STEMlab’s Ethernet port. Figure 10 shows the effect of time constant on noise. Though noise decreases with longer time constants, signal distortions as seen in figure 8 limit the choice of time constant used. Figure 11 shows the measured 10 MHz passband of both the RePLIA and HF2LI along with a Lorentzian fit of the data, demonstrating a rough conformation with such a line shape. This data gives a full-width half-maximum of 2.6 kHz for the RePLIA and 2 kHz for the HF2LI. Figures 8 and 9 both contain artifacts arising from the single order filter. Increasing the order of the filter may reduce the prominence of these features, although experiments with the HF2LI suggest that such benefits may be marginal. Higher noise at lower frequencies, as seen in figure 3, is consistent with flicker noise of the input stage, as demon a) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> b)200 a) 0.8 0.6 0.4 0.2 Passband Fit 0 -40 -20 0 20 40 Deviation from Demodulation Frequency (kHz) Passband Fit b) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> c) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>-2</sup> 10 <sup>-4</sup> 10 <sup>-6</sup> 1 kHz 2 kHz 3 kHz 4 kHz 5 kHz 6 kHz 7 kHz 8 kHz 9 kHz 10 kHz 0 500 1000 1500 2000 2500 Frequency (Hz) 1 kHz 2 kHz 3 kHz 4 kHz 5 kHz 6 kHz 7 kHz 8 kHz 9 kHz 10 kHz 0 500 1000 1500 2000 2500 Frequency (Hz) 1 kHz 2 kHz 3 kHz 4 kHz 5 kHz 6 kHz 7 kHz 8 kHz 9 kHz 10 kHz 0 500 1000 1500 2000 2500 Frequency (Hz) Figure 9. Low Frequency (1-10 kHz) FFTs of RePLIA input noise from a) 1 second, b) 10 seconds and c) 100 seconds of DAC data. Frequency-specific spikes are common at low demodulation frequency. 10 <sup>0</sup> 150 100 50 0 -10 -5 0 5 10 Deviation from Central Frequency (kHz) Figure 11. a) RePLIA and b) HF2LI 10 MHz passbands with Lorentzian fits with 2.6 kHz and 2 kHz linewidths respectively. Note that the x-axes cover different ranges for these data. Appendix B: Hardware & Software Notes Largely, the RePLIA is limited by factors introduced by the STEMlab’s hardware and software. The maximum sample rate of the demodulated signal corresponds to the output sample rate of the STEMlab (125 Ms/s) when using the DAC outputs. However, this sampling rate is limited instead by the network connection when when extracting data via the Ethernet adapter. notMathematical operations such asbeen implemented at the current Aouttime,= Aalthoughin - Binthishaveis entirely plausible by adding such functionality within the FPGA code. Power consumption for the RePLIA is 4 W when idle and <6 W during lock in operation. Cross-talk between input channels results in a signal 0.3% of the input signal amplitude reflected in the secondary input. Output voltage range is limited by the board to ±1 V. Figure 13 represents the same data as figure 2 in the main text, but as plain FFTs of noise data as opposed to noise spectral density. The RePLIA has been used for magnetometry using an ensemble of nitrogen vacancy centers in diamond. We intend to apply this technique to magnetocardiography, where it would be preferable to use approximately two hundred sensors, requiring one hundred dual channel lock-in amplifiers <sup>42</sup> . REFERENCES 1J. Leis, P. Martin, and D. Buttsworth. Simplified digital lock-in amplifier 0.1s 0.01s 0.001s 10 <sup>-2</sup> 0.0001s0.00001s 10 <sup>-4</sup> 10 <sup>-6</sup> 10 <sup>-8</sup> 0 200 400 600 800 1000 1200 Frequency (Hz) Figure 10. Note that the 0.00001s trace is below the minimum time constant as detailed in table II. 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-5</sup> 10 <sup>-6</sup> 30 kHz FFT f(x) = a + <sup>b</sup> /f 0 50 100 150 200 250 300 Output Frequency (Hz) Figure 12. FFT of signal demodulated at 30 kHz, with a fit of f (x) = a + b · <sup>1</sup> /f where a = 5.6 · 10 <sup>−5</sup>, b = 0.001, consistent with flicker noise of the board. 2Lawrence C. Caplan and Richard Stern. An inexpensive lock-in amplifier. Rev. Sci. Instrum., 42:689–695, 1971. 3Walter C. Michels and Norma L. Curtis. A pentode lockin amplifier of high frequency selectivity. Rev. Sci. Instrum., 12:444, 1941. 4Xiaoyi Wang. Sensitive digital lockin amplifier using a personal computer. Rev. Sci. Instrum., 61:1999–2000, 1988. 5PierreAlain Probst and Alain Jaquier. Multiplechannel digital lockin amplifier with ppm resolution. Rev. Sci. Instrum., 65:747, 1998. 6M. Hofmann, R. Bierl, and T. Rueck. Implementation of a dual-phase lockin amplifier on a TMS320C5515 digital signal processor. In 2012 5th European DSP Education and Research Conference (EDERC), pages 20–24, Sep. 2012. 7Maximiliano Osvaldo Sonnaillon and Fabian Jose Bonetto. A low-cost, high-performance, digital signal processor-based lock-in amplifier capable of measuring multiple frequency sweeps simultaneously. Rev. Sci. Instrum., 76(024703):1–7, 2005. 8Gonzalo Macias-Bobadilla, Juvenal Rodr´ıguez-Res´endiz, Georgina MotaValtierra, Genaro Soto-Zaraz´ua, Maurino M´endez-Loyola, and Mariano Garduno-Aparicio. Dual-phase lock-in amplifier based on FPGA for lowfrequencies experiments. Sensors, 16:379, 2016. 9Giuseppe Costantino Giaconia, Giuseppe Greco, Leonardo Mistretta, and Raimondo Rizzo. Exploring FPGA-based lock-in techniques for brain monitoring applications. Electronics, 6(1):18, 2017. 10Sergio Garcia Castillo and Krikor B. Ozanyan. Field-programmable data acquisition and processing channel for optical tomography systems. Rev. Sci. Instrum., 76:095109, 2005. 11A. Moreno-Baez, G. Miramontes-de Leon, C. Sifuentes-Gallardo, E. Garcia-Dominguez, D. Alaniz-Lumbreras, and J. A. Huerta-Ruelas. FPGA implementation of a 16-channel lock-in laser light scattering system. In 2010 IEEE Electronics, Robotics and Automotive Mechanics Conference, pages 721–725, Sep. 2010. 12A. Patil and R. Saini. Design and implementation of FPGA based linear all digital phase-locked loop. In 2014 International Conference on Green Computing Communication and Electrical Engineering (ICGCCEE), pages 1–1, March 2014. 13D. Divakar, K. Mahesh, M. M. Varma, and P. Sen. FPGA-based lockin amplifier for measuring the electrical properties of individual cells. In 2018 IEEE 13th Annual International Conference on Nano/Micro Engineered and Molecular Systems (NEMS), pages 1–5, April 2018. 14A. Chighine, E. Fisher, D. Wilson, M. Lengden, W. Johnstone, and H. McCann. An FPGA-based lock-in detection system to enable chemical species tomography using TDLAS. In 2015 IEEE International Conference on Imaging Systems and Techniques (IST), pages 1–5, Sep. 2015. 15M. Carminati, G. Gervasoni, M. Sampietro, and G. Ferrari. Note: Differential configurations for the mitigation of slow fluctuations limiting the resolution of digital lock-in amplifiers. Rev. Sci. Instrum., 87(2):026102, 2016. 16Mike Meade. Lock-in amplifiers: Principles and Applications. Peter Peregrinus Ltd., 1983. 17Fardin Humayun, Riasat Khan, Shatil Saadman, and Rezwanul Haque. Design of a Cost-Effective Analog Lock-In Amplifier Using Phase Sensitive Detector. In 2018 International Applied Computational Electromagnetics Society Symposium (ACES), 2018. 18J. H. Scofield. Frequency-domain description of a lock-in amplifier. American Journal of Physics, 62(2):129–133, 1994. 19Paul Horowitz and Winfield Hill. The Art of Electronics, 2nd Edition. Cambridge University Press, 1989. 20E. Theocharous. Absolute linearity characterization of lock-in amplifiers. Appl. Opt., 47(8):1090–1096, Mar 2008. 21Seth DeVore, Alexandre Gauthier, Jeremy Levy, and Chandralekha Singh. Development and evaluation of a tutorial to improve students’ understanding of a lock-in amplifier. Physical Review Physics Education Research, 12(2):020127, 2016. 22Stanford Research Systems: About Lock-in Amplifiers. https://www.thinksrs.com/downloads/pdfs/applicationnotes/ AboutLIAs.pdf. 23White paper: Principles of lock-in detection and the state of the art. https://www.zhinst.com/sites/default/files/li primer /zi whitepaper principles of lock-in detection.pdf. Accessed: September 13, 2019. 24T. Qian, L. Chen, X. Li, H. Sun, and J. Ni. A 1.25Gbps Programmable FPGA I/O Buffer with Multi-Standard Support. In 2018 IEEE 3rd International Conference on Integrated Circuits and Microsystems (ICICM), pages 362–365 Nov 2018 a) b) 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-5</sup> 1 s 10 s 100 s 0 20 40 60 80 100 Frequency (Hz) 1 s 10 s 100 s 0 20 40 60 80 100 Frequency (Hz) c) 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 1 s 10 s 100 s 0 200 400 600 800 1000 Frequency (Hz) Figure 13. FFTs of noise data from a) RePLIA at 500 kHz demodulation with a 1 ms time constant (with 1 s data zero padded) and b) HF2LI at 1 MHz demodulation and 700 µs time constant, at 1 second (blue), 10 seconds (red) and 100 seconds (yellow) collection time (output data is R for both channels). c) Noise spectral density of the RePLIA at the above input parameters, with a wider output frequency spectrum than in figure 2. 25R. Li and H. Dong. Design of digital lock-in amplifier based on dsp builder. sium and Conference on Embedded Systems (CASE), pages 1–6, Aug 2017. In 2018 IEEE 4th Information Technology and Mechatronics Engineering 34Y. Sukekawa, T. Mujiono, and T. Nakamoto. Two-dimensional digital lockConference (ITOEC), pages 222–227, Dec 2018. in circuit for fluorescent imaging of odor biosensor system. In 2017 New [26Red Pitaya STEMlab board. https://www.redpitaya.com/f130/STEMlab-boardGeneration of CAS (NGCAS),](https://www.redpitaya.com/f130/STEMlab-board), pages 241–244, Sep. 2017. 2018. Accessed: 2018-09-05. [35PyRPL GUI Manual. https://pyrpl.readthedocs.io/en/latest/gui.htm](https://pyrpl.readthedocs.io/en/latest/gui.html) 27A. Restelli, R. Abbiati, and A. Geraci. Digital field programmable gate Accessed: September 13, 2019. array-based lock-in amplifier for high-performance photon counting appli- 36Adding voltage regulators for the RedPitaya output stage. cations. Review of Scientific Instruments, 76(9):093112, 2005. [https://ln1985blog.wordpress.com/2016/02/07/adding-voltage-r](https://ln1985blog.wordpress.com/2016/02/07/adding-voltage-regulators-for-the-redpitaya-output/-stage/) 28LTC2145CUP-14:. https://www.analog.com/media/en/technical- Accessed: September 13, 2019. documentation/data-sheets/21454314fa.pdf. Accessed: September [37Red Pitaya DAC performance. https://ln1985blog.wordpress.com/2016/02](https://ln1985blog.wordpress.com/2016/02/07/red-pitaya-dac-performance/) 13, 2019. Accessed: September 13, 2019. 29Warwick EPR Group GitHub Repository. 38Lock-in amplifier for myrio. https://delacor.com/products/lock-in[https://github.com/WarwickEPR/RePLIA.](https://github.com/WarwickEPR/RePLIA) Accessed: Septem- amplifier/. Accessed: September 13, 2019. ber 13, 2019. 39J. Vandenbussche, P. Lee, and J. Peuteman. On the accuracy of digital phase 30Zurich Instruments. HF2 User Manual - LabOne Edition. sensitive detectors implemented in fpga technology. IEEE Transactions on https://www.zhinst.com/manuals/hf2, 2018. Instrumentation and Measurement, 63(8):1926–1936, Aug 2014. 31G. Gervasoni, M. Carminati, G. Ferrari, M. Sampietro, E. Albisetti, D. Petti, [40ZI HF2LI Leaflet. https://www.zhinst.com/sites/default/files/zi_hf](https://www.zhinst.com/sites/default/files/zi_hf2li_leaflet_web_0.pdf) P. Sharma, and R. Bertacco. A 12-channel dual-lock-in platform for 2018. Accessed: 2018-10-02. magneto-resistive dna detection with ppm resolution. In 2014 IEEE 41C. E. Shannon. Communication in the presence of noise. Proceedings of Biomedical Circuits and Systems Conference (BioCAS) Proceedings, pages the IRE, 37:10–21, 1949. 316–319, Oct 2014. 42M. W. Dale and G. W. Morley. Medical applications of diamond magne32G. Gervasoni, M. Carminati, and G. Ferrari. A general purpose lock-in tometry: commercial viability. [arXiv:1705.01994v1, 2017.](http://arxiv.org/abs/1705.01994) amplifier enabling sub-ppm resolution. Procedia Engineering, 168:1651– 1654, 2016. 33L. H. Arnaldi. Implementation of an axi-compliant lock-in amplifier on the Red Pitaya open source instrument. In 2017 IEEE Eight Argentine Sympo ## This figure "fpgadiag.jpg" is available in "jpg"� format from: http://arxiv.org/ps/1811.10494v2

섹션 본문

섹션 본문이 없습니다.

참고문헌 28건

  1. Simplified digital lock-in amplifier algorithm Electronics Letters · Institution of Engineering and Technology · 2012 10.1049/el.2012.0193
  2. An Inexpensive Lock-In Amplifier Review of Scientific Instruments · American Institute of Physics · 1971 10.1063/1.1685202
  3. A Pentode Lock-In Amplifier of High Frequency Selectivity Review of Scientific Instruments · American Institute of Physics · 1941 10.1063/1.1769919
  4. Sensitive digital lock-in amplifier using a personal computer Review of Scientific Instruments · American Institute of Physics · 1990 10.1063/1.1141413
  5. Multiple-channel digital lock-in amplifier with PPM resolution Review of Scientific Instruments · American Institute of Physics · 1994 10.1063/1.1145096
  6. Implementation of a dual-phase lock-in amplifier on a TMS320C5515 digital signal processor 2012 10.1109/ederc.2012.6532217
  7. A low-cost, high-performance, digital signal processor-based lock-in amplifier capable of measuring multiple frequency sweeps simultaneously Review of Scientific Instruments · American Institute of Physics · 2005 10.1063/1.1854196
  8. Dual-Phase Lock-In Amplifier Based on FPGA for Low-Frequencies Experiments Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16030379
  9. Exploring FPGA‐Based Lock‐In Techniques for Brain Monitoring Applications Electronics · Multidisciplinary Digital Publishing Institute · 2017 10.3390/electronics6010018
  10. Field-programmable data acquisition and processing channel for optical tomography systems Review of Scientific Instruments · American Institute of Physics · 2005 10.1063/1.2042727
  11. FPGA Implementation of a 16-Channel Lock-In Laser Light Scattering System IEEE Electronics, Robotics and Automotive Mechanics Conference · 2010 10.1109/cerma.2010.83
  12. Design and implementation of FPGA based linear all digital phase-locked loop 2014 10.1109/icgccee.2014.6922342
  13. An FPGA-based lock-in detection system to enable Chemical Species Tomography using TDLAS 2015 10.1109/ist.2015.7294460
  14. Note: Differential configurations for the mitigation of slow fluctuations limiting the resolution of digital lock-in amplifiers Review of Scientific Instruments · American Institute of Physics · 2016 10.1063/1.4941721
  15. Design of a cost-effective analog lock-in amplifier using phase sensitive detector 2020 International Applied Computational Electromagnetics Society Symposium (ACES) · 2018 10.23919/ropaces.2018.8364301
  16. Frequency-domain description of a lock-in amplifier American Journal of Physics · American Institute of Physics · 1994 10.1119/1.17629
  17. Absolute linearity characterization of lock-in amplifiers Applied Optics · Optica Publishing Group · 2008 10.1364/ao.47.001090
  18. Development and evaluation of a tutorial to improve students’ understanding of a lock-in amplifier Physical Review Physics Education Research · American Physical Society · 2016 10.1103/physrevphyseducres.12.020127
  19. A 1.25Gbps Programmable FPGA I/O Buffer with Multi-Standard Support 2018 10.1109/icam.2018.8596436
  20. Design of Digital Lock-in Amplifier Based on DSP Builder 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC) · 2018 10.1109/itoec.2018.8740454
  21. Digital field programmable gate array-based lock-in amplifier for high-performance photon counting applications Review of Scientific Instruments · American Institute of Physics · 2005 10.1063/1.2008991
  22. A 12-channel dual-lock-in platform for magneto-resistive DNA detection with ppm resolution 2014 10.1109/biocas.2014.6981726
  23. A General Purpose Lock-In Amplifier Enabling Sub-ppm Resolution Procedia Engineering · Elsevier BV · 2016 10.1016/j.proeng.2016.11.482
  24. Implementation of an AXI-compliant lock-in amplifier on the redpitaya open source instrument 2017 10.23919/sase-case.2017.8115374
  25. Two-Dimensional Digital Lock-In Circuit for Fluorescent Imaging of Odor Biosensor System 2017 10.1109/ngcas.2017.76
  26. On the Accuracy of Digital Phase Sensitive Detectors Implemented in FPGA Technology IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2014 10.1109/tim.2014.2303257
  27. Communication in the Presence of Noise Proceedings of the IRE · Institute of Electrical and Electronics Engineers · 1949 10.1109/jrproc.1949.232969
  28. Medical applications of diamond magnetometry: commercial viability arXiv (Cornell University) · Cornell University · 2017