Next Article in Journal
Grouped Multilayer Practical Byzantine Fault Tolerance Algorithm: A Practical Byzantine Fault Tolerance Consensus Algorithm Optimized for Digital Asset Trading Scenarios
Previous Article in Journal
Artificial Intelligence ECG Analysis in Patients with Short QT Syndrome to Predict Life-Threatening Arrhythmic Events
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

A Universal Digital Lock-in Amplifier Design for Calibrating the Photo-Detector Responses with Standard Black-Bodies

1
School of Electronic and Optical Engineering, Nanjing University of Science & Technology, 200 Xiaolingwei, Nanjing 210094, China
2
The Jiangsu Key Laboratory of Spectral Imaging & Intelligent Sense, Nanjing 210094, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(21), 8902; https://doi.org/10.3390/s23218902
Submission received: 18 October 2023 / Revised: 29 October 2023 / Accepted: 30 October 2023 / Published: 1 November 2023
(This article belongs to the Section Electronic Sensors)

Abstract

:
The lock-in amplifier (LIA) is widely utilized to detect ultra-weak optical periodic signals based on the phase-sensitive and enhanced detecting theory. In this paper, we present an all-digital and universal embedded LIA platform that accurately and conveniently describes the spectrum generated by standard black bodies at various temperatures with different optical detectors. The proposed design significantly reduces the complexity and cost of traditional analog LIAs while maintaining accuracy. The LIA components are implemented using a single field programmable gate array (FPGA), offering flexibility to modify parameters for different situations. The normalized mean-square error (NMSE) of the captured spectra in the experiments is within 0.9% compared the theoretical values.

1. Introduction

There are various methods have been proposed to capture the precise optical spectra from heavy noise and conduct accurate measurements, including lock-in amplifiers (LIAs), signal averaging, boxcar integrators, and correlators [1,2,3]. These methods share a similar philosophy, using differential strategies to reduce the noise bandwidth and amplify the desired signals simultaneously. Among the above methods, LIAs are particularly suitable for suppressing both the environmental and intrinsic detector noise to extract the desired signal. LIAs have been widely applied in diverse applications [4,5,6], including gravitational wave detection, quantum phenomenon demodulation, and imaging.
Since the LIA utilizes the coherence theory [7] to enhance the ultra-weak signal, its core is the phase coherence theory. The LIA utilizes the signal’s time dependence, sometimes termed as the down-mixing or heterodyne/homodyne detection [8], to enhance the weak signals by performing phase-sensitive detection, where the reference signal has the same modulating frequency as the desired one. Through the LIA, the desired signal components, both the amplitude and initial phase, can be extracted. Additionally, with the increasing development of integrated circuits, all-digital LIAs have become advantageous over analog designs in terms of the size, cost, and flexibility. Over the past few decades, field-programmable gate arrays (FPGAs) have been proven as a great prototyping platform for all-digital integrated circuit demonstrations [9,10]. Equipped with a parallel processor, multiplier unit, and direct digital synthesizer (DDS) [11] in the embedded platform, FPGAs enable designers to achieve all-digital LIA designs with higher speed, greater flexibility, and smaller size than traditional analog LIAs [12,13]. In addition, the proposed design in this paper contains extra functions, such as auto-phase alignment, oversampling, and dual-phase, which are applicable for accurate and flexible applications in the future.
To demonstrate the LIA ability to capture precise optical spectra of various standard black-bodies, some experimental measurements were conducted based on a single printed circuit board (PCB). By combining the circular variable filter (CVF) with optoelectrical detectors, such as MCT (HgCdTe) and InSb, the various blackbody spectra can be captured. Compared with the theorical values, the normalized mean-square error (NMSE) of simulations and measuring spectrum experiments are less than 0.826% and 0.9%, respectively, which confirms the system accuracy of the proposed design.

2. The Theory and Principle

2.1. Overview

Figure 1 shows the basic structure of the two-channel lock-in amplifier (LIA), which consists of the signal channel, in-phase and quadrature reference channels that are termed as P and Q, both of which contain the phase sensitive detection (PSD) part, low pass filter (LPF). The PSD function is achieved with a mixer in the block diagram by multiplexing the orthogonal reference signals, which has π / 2 constant phase difference between each other with the input signal, and the LPFs utilized in two channels share the same parameters, such as the suppressing ratio, passband, and stopband. Then, the amplitude and phase of the original signal can be extracted, and the mathematical relation is presented in detail as following.
Suppose there are the following signals:
x t = A s i n ω s t + φ s + N r p t = B s i n ω r t + φ r r q t = B c o s ( ω r t + φ r )
where the x ( t ) is the original electronic signal captured by the optoelectronic detector with the noise N that is with unknown form and frequency distribution; the r p t and r q t are the reference signals for two channels; A , B , ω s , ω r , φ s , φ r , and t are the amplitudes, angular speeds, the initial phases of input and reference signals of the input signal and reference signals, and time, respectively. It is clear that there is a constant phase shift between two reference channels.
Then, the signal after the multiplication of the in-phase part can be expressed as:
u p t = x t × r p t = A B 2 { cos ω s ω r t + φ s φ r                               cos ω s + ω r t + φ s + φ r } + N r p t
And the quadrature part signal is similar with the in-phase one. It can be seen that the output signal consists of a high frequency component with an angular speed of ω s + ω r and a low frequency component with the angular speed of ω s ω r . The noise part, N r p ( t ) , is modulated by the referencing frequency, ω r . If ω s = ω r , the low frequency part will directly become DC signal, and then through the ideal low-pass filter (LPF), the output signal, u p L P F ( t ) , is:
u p L P F ( t ) = A B 2 c o s φ s φ r + N r p t L P F
in which N r p t L P F is the modulated noise in the LPF passband from the in-phase channel, and the output signal for the quadrature part is termed as u q L P F ( t ) = A B 2 s i n φ s φ r + N r q t L P F .
It can be seen from the above formula that if the phase difference between the two signals is constant, the output signal is proportional to the amplitude of the input signal; thus, the noise can be limited within the LPF narrow passband. To suppress the noise effectively in the narrow bandwidth, an appropriate filter ought to be selected. Thus, both the amplitude and phase can be captured from the in-phase and quadrature outputs u p L P F ( t ) , u q L P F ( t ) , which are sensitive to the amplitude and phase of x ( t ) .

2.2. The Design of the Digital Lock-in Amplifier

Currently, the digital LIAs are mostly built using Microcontroller Units (MCUs), Digital Signal Processors (DSPs) [14], FPGAs [15,16], and Personal Computers (PCs). Compared to analog devices, the quantified signals of digital circuit platforms are more robust and flexible, allowing them to overcome issues caused by temperature drift, random noise sources, and relatively poor stability. Additionally, due to the repeatability of their design, digital LIAs significantly reduce the cost of circuit replacement and have become the mainstream technology for LIA.
To generate artificially controlled referencing waves, the digital platform utilizes the DDS, in which the corresponding relationship between the phase and amplitude of the referencing signal that is a 4-bit digitalized number is depicted in Figure 2. The time it takes for the circle to complete one full rotation determines the frequency of the sine wave, namely:
f = f c l k 2 B n c o
Among the above formula, B n c o is the phase accumulation word width, indicating the number of bits of the phase point, and f c l k is the main frequency of the digital system.
The phase-sensitive detector plays a crucial role in phase identification and can be treated as a phase comparator that compares the differences between the reference and the original signals, then generating the phase error between them [17]. When the input signal and the reference signal have the same frequencies but a constant phase difference, as shown in Equation (3), the phase and original amplitude can be extracted from the output signal u L P F ( t ) , which consists of u p L P F ( t ) and u q L P F ( t ) . Generally, in the digital system, the PSD can be regarded as being composed of a multiplier, followed by the low-pass filter (LPF), as shown in Figure 3.
For the lock-in amplifier, the LPF is utilized to suppress both the system noise and the high frequency modulated signals mentioned above. Considering that the modulated signal is similar to the DC signal in Equation (3), the low-pass filter with a narrow passband is selected to extract the desired signal. Furthermore, the narrower the passband, the less noise left for the amplitude and phase calculations. The general amplitude-frequency response of the LPF is illustrated in Figure 4.
Generally, there are two categories of digital filters [18]: the finite impulse response (FIR) and infinite impulse response (IIR). Even though the FIR filters are inherently stable, IIR filters can achieve better filtering effects with lower orders, which means less resources and time delays in the embedded digital systems. In addition, only linear magnitude linearity is desired in the optical spectrum capturing, whereas the nonlinearity phase would not affect the spectrum measuring. However, to ensure stability when implementing an IIR digital filter in the LIA, the selecting poles should be designed within the unit circle.
Compared with other types IIR filters, the Chebyshev type II filter does not contain any amplitude fluctuation in its passband, making it suitable for the spectrum capturing applications.
The system function H(z) of the direct IIR filter can be expressed as:
H z = Y z X z = i = 0 L b i z i 1 i = 1 L a i z i
in which, Y z and X z are the Z transforms of y ( n ) and x ( n ) , respectively.
For the L-th order IIR filter, its schematic diagram can be obtained by the graphical description of Equation (5), as shown in Figure 5 below.
For the digital signal processing, it is often necessary to solve trigonometric function values and modulus values. The coordinated rotation digital computer (CORDIC) algorithm [19,20,21] is a hardware-efficient iterative method that uses the rotations to calculate a wide range of elementary functions to achieve the above tasks. In essence, the CORDIC algorithm takes a successive approximation of mathematical calculation. Since the basic operation unit of the algorithm only includes shifters and adders, the algorithm is simple and efficient in the digital system.
The basic principle of the CORDIC algorithm is shown in Figure 6.
The coordinate transformation relation between two vectors is:
j R = j i n c o s θ k i n s i n θ k R = k i n c o s θ + j i n s i n θ
The pseudo-rotation equation can be obtained by dividing the two sides by c o s θ , namely:
j R = j R c o s θ = j i n k i n t a n θ k R = k R c o s θ = k i n + j i n t a n θ
At this time, the rotation angle is correct, but the modulus of the vector changes.
The essence of the CORDIC algorithm is to rotate the coordinate ( j i n , k i n ) . Each rotation is fixed angle θ i , and the rotation direction is d i = s i g n ( k i ) . The goal of rotation is that the ordinate k i is close to 0. When N-step iteration is carried out, there is an anti-tangent angle.
θ = i = 0 N 1 d i θ i
In order to simplify the calculation process [22], the CORDIC algorithm uses a series of small rotation angles, denoted as θ i , to satisfy the equation t a n θ i = 2 i , which allows for multiplication using simple shifting operations. This simplification transforms the original algorithm into an iterative shift-addition algorithm. The iterative equation is as follows:
j [ i + 1 ] = j [ i ] + 2 i d i k [ i ] k [ i + 1 ] = k [ i ] 2 i d i j [ i ] l [ i + 1 ] = l [ i ] + d i θ i
in which l [ i ] and d i are a template parameters, and
d i = + 1 , l [ i ] 0 1 ,   l [ i ] < 0 .
and Figure 7 shows the implementation of a single iteration in the CORDIC algorithm:
Suppose that the modulus of the vector needs to be maintained, it can be achieved by adding the rotation compensation factor K , which keeps constant after N iterations, as:
K = i = 0 N 1 c o s θ i = i = 0 N 1 1 1 + 2 2 i
For the imbedded system, to simplify the calculating progress, the K serves as the initial value of j , j 0 = K , and is saved at the digital memory.

2.3. Spectrum Response Capturing Setup

To accurately capture the optical spectrum emitted by a black body, the experimental setup shown in Figure 8 is utilized. The setup includes a chopper, a circular variable filter (CVF), and an MCT detector to modulate the radiance from the source, select the corresponding wavelengths from the electromagnetic spectrum, and convert the radiant signal to an electrical one. However, the gains of the MCT and InSb photodetector are not sufficient to convert the radiance to the processing range of the LIA, so an additional amplifier (AMP) is introduced. The LIA requires referencing sync signals from both the chopper and CVF to extract the spectrum precisely. Finally, by combining the LIA output with the CVF wavelength index, accurate black body spectra can be obtained at various temperatures.

3. The Simulations and Experiments

3.1. Simulations for LIA Design

To judge the performance and stability of the proposed digital LIA, the MATLAB is implemented to simulate the proposed design with the parameters, as shown in Table 1, in which the chopper rate is set as 1000 Hz.
The noise signal is generated by using the rand function, then multiplied by signal to noise ratio (SNR), which utilizes the dB unit and is defined as:
S N R = 20 log 10 A N
in which, A is the original amplitude, and N is the root mean square of the noise.
For the LPF part, an IIR filter with Chebyshev type II, whose coefficients are set in advance, is utilized to process the mixed signals.
The mixed input signal of the original signal and noise, or x ( t ) , and the raw lock-in output signals from the in-phase and quadrature channels after phase locking, or u p L P F ( t ) and u q L P F ( t ) , are shown in Figure 9.
The comparison between the output phase/amplitude and the reference phase/amplitude is shown in Figure 10.
The performance of the designed digital LIA in accurately detecting the amplitude and phase information of the input signal is demonstrated in Figure 10. The simulating results show that the measurement accuracies of amplitude and phase have improved compared to the conventional lock-in amplification algorithm. To quantify the average error, the Normalized Mean-Square Error (NMSE) is used, which takes the range of the data into account, and evaluates the accuracy of the prediction model. A smaller NMSE value indicates better accuracy in describing experimental data. The formula for NMSE is:
N M S E = i = 1 n y i ¯ y i 2 i = 1 n y i 2 × 100 %
where n is the number of samples, y i ¯ is the average of sample y.
The NMSE is calculated to evaluate the accuracy of measurement results as shown in Table 2.
The value range of NMSE is [ 0 , + ] . The closer the value is to 0, the smaller the error of measurement results. The NMSE of phase and amplitude measurement results are both less than 0.01, therefore, the measurement results are relatively accurate.

3.2. Experiments with LIA

To illustrate the actual effect of the lock-in amplification algorithm, a hardware platform has been completed.
The development board used in the experiment is equipped with the Zynq-7000 series chip, XC7Z-0710 of Xilinx Company. The circuit board has two-channel SMA inputs, using a high performance, 24-bit ADC, AD7760. The pre-amplifier circuit obtains the input photoelectric signal through the SMA interfaces. The proposed LIA design is shown in detail in Figure 11.
In the experimental setup, the desired parameters and embedded resources of the FPGA project are shown in Table 3. The original signal is provided to the LIA PCB board through the SMA connector, then the ADC that has a 625 k samples/s sampling rate is utilized to convert such a signal into a digital one to the FPGA, in which for the proposed digital LIA project, the processed values are finally sent out to the computer by the USB connector, with a 40,000 results/s processing rate. For the inner data of the FPGA project, the AXI Bus is utilized to connect the modules. An arbitrary waveform generator is utilized to provide the original signal for the LIA, and the measuring results are shown in Figure 12.
Figure 12a illustrates the 0.4000 Vpp measuring results, in which the x-axis is the time, y-axis is the digital output, and the red dash lines are the maximum and minimal values of the output, respectively. The oscillation in Figure 12a is 24, corresponding with 0.01 mV for the 10 Vpp system. Furthermore, to illustrate the linear voltage response of the proposed LIA platform, the input signal ranging from 0 to 0.5 V with 0.1 mV step is implemented, and the measuring results are shown in Figure 12b, in which the x-axis and y-axis are the input analog signal and LIA digital output, respectively.

3.3. Spectrum Response

Since the LIA itself is not able to capture the optoelectrical detector spectrum response, the CVF is introduced. The wavelength–index relation of the CVF, which enables the optical wavelength ranging from 2.4 μ m to 14 μ m response, is drawn as follows. As shown in Figure 13, there are 500 points or index of the CVF, each of them corresponding with the given wavelength, then the link between LIA digital outputs and the spectrum wavelength.
With the setup shown in Figure 8, the temperature of the standard blackbody and the rate of the chopper are set as 50 °C and 800 Hz, respectively, and the results are exhibited in Figure 14. Figure 14a shows the MCT spectrum response at the given wavelengths, and Figure 14b shows the five measuring results with the NMSE are 0.9%, 0.46%, 0.59%, 0.84%, and 0.61%, respectively, which express the robust performance of the proposed LIA system.
To analyze the influence of the chopper rate of the LIA, experiments at various chopper rates of 400 Hz, 600 Hz, 800 Hz, 1200 Hz, and 1800 Hz were conducted with the InSb detector. Since the InSb is sensitive at the spectrum for less than 6 μ m , a blackboy at 1000 °C was implemented to complete the experiments, and the three measuring results with the NMSE are 0.602%, 0.722%, 0.629%, 0.815%, and 0.664%, as depicted in Figure 15, respectively.

4. Discussion

From the above results, even the chopper rate would affect the measuring results, especially in the relatively long wavelength part where the detector spectrum responses are similar. It is clear that the LIA proposed in this manuscript are sufficient to capture the spectrum response with choppers with various rates. Furthermore, since the results from lower chopper rates are much more stable, a low chopper rate should be set to capture the calibrating spectrum response.

5. Conclusions

In this paper, a digital implementation of the LIA is presented, which reduces the complexity and size of the LIA instrument, making it more practical for various applications. The digital LIA is designed and simulated using MATLAB, and experimental results demonstrate its effectiveness in accurately measuring the amplitude of the signals.
Furthermore, a setup is proposed for accurately capturing the optical spectrum from the black bodies, which utilizes a chopper, circular variable filter, and MCT/InSb detectors. The accuracy of the setup is demonstrated through experimental results.
Overall, this paper presents a comprehensive design and implementation of a digital LIA, as well as a practical setup for accurately measuring optical spectra. The proposed algorithm and design have potential applications in various fields, including optics, electronics, and signal processing.

Author Contributions

Conceptualization, Z.Y. (Zheyi Yao) and Z.Y. (Zhewen Yuan); methodology, Z.Y. (Zheyi Yao) and J.P.; software, Z.Y. (Zhewen Yuan) and J.P.; validation, Z.Y. (Zheyi Yao) and Z.Y. (Zhewen Yuan); formal analysis, Z.Y. (Zheyi Yao); investigation, J.P. and Z.Y. (Zhewen Yuan); resources, X.S. and Q.C.; data curation, X.S.; writing—original draft preparation, Z.Y. (Zheyi Yao); writing-review and editing, C.Y.; visualization, Q.C.; supervision, Z.Y. (Zheyi Yao); project administration, X.S.; funding acquisition, Z.Y. (Zheyi Yao); All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by This work was supported by the National Natural Science Foundation of China (No. 62105152); the Key Research and Development programs in Jiangsu China (Grant no. BE2018126); the Fundamental Research Funds for the Central Universities (Grant no. 30919011401, 30920010001, JSGP202202); and the Leading Technology of Jiangsu Basic Research Plan (Grant no. BK20192003).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are available for reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, X.; Wei, M.; Chen, K.; Li, S. Research on weak signal detection of integral average digital lock-in amplifier. Meas. Sci. Technol. 2021, 32, 105905. [Google Scholar] [CrossRef]
  2. Wang, L.; Wang, X.; Kang, J.; Yue, C.P. A 75-Mb/s RGB PAM-4 Visible Light Communication Transceiver System With Pre- and Post-Equalization. J. Light. Technol. 2021, 39, 1381–1390. Available online: http://jlt.osa.org/abstract.cfm?URI=jlt-39-5-1381 (accessed on 1 March 2021). [CrossRef]
  3. Sibley, P.G.; Ward, R.L.; Roberts, L.E.; Francis, S.P.; Shaddock, D.A. Crosstalk reduction for multi-channel optical phase metrology. Opt. Express 2020, 28, 10400–10424. [Google Scholar] [CrossRef] [PubMed]
  4. Graaf, G.D.; Wolffenbuttel, R.F. Lock-in amplifier techniques for low-frequency modulated sensor applications. In Proceedings of the Instrumentation and Measurement Technology Conference, Graz, Austria, 13–16 May 2012. [Google Scholar]
  5. Cao, H.T.; Brown, D.D.; Veitch, P.J.; Ottaway, D.J. Optical lock-in camera for gravitational wave detectors. Opt. Express 2020, 28, 14405–14413. [Google Scholar] [CrossRef] [PubMed]
  6. Shahverdi, A.; Sua, Y.M.; Tumeh, L.; Huang, Y.-P. Quantum parametric mode sorting: Beating the time-frequency filtering. Sci. Rep. 2017, 7, 6495. [Google Scholar] [CrossRef] [PubMed]
  7. Spaide, R.F.; Klancnik, J.M.; Cooney, M.J. Retinal Vascular Layers Imaged by Fluorescein Angiography and Optical Coherence Tomography Angiography. JAMA Ophthalmol. 2015, 133, 45–50. [Google Scholar] [CrossRef] [PubMed]
  8. Adami, A.; Habets, E.; Herre, J. Down-mixing using coherence suppression. In Proceedings of the 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Florence, Italy, 4–9 May 2014; pp. 2878–2882. [Google Scholar]
  9. Yao, Z.; Mauldin, T.; Xu, Z.; Hefferman, G.; Wei, T. Compact multifunction digital OFDR system without using an auxiliary interferometer. Appl. Opt. 2021, 60, 7523–7529. [Google Scholar] [CrossRef] [PubMed]
  10. Yao, Z.; Mauldin, T.; Hefferman, G.M.; Wei, T. Digitally integrated self-trained pre-distortion curve finder for passive sweep linearization of semiconductor lasers. IEEE J. Sel. Top. Quantum Electron. 2019, 25, 1–5. [Google Scholar] [CrossRef]
  11. Vankka, J.; Halonen, K.A.I. Direct Digital Synthesizers: Theory, Design and Applications; Springer Science & Business Media: Berlin, Germany, 2001. [Google Scholar]
  12. Fu, X.; Colombo, D.M.; Alamdari, H.H.; Yin, Y.; El-Sankary, K. Lock-In Amplifier for Sensor Application Using Second Order Harmonic Frequency With Automatic Background Phase Calibration. IEEE Sens. J. 2022, 22, 16067–16080. [Google Scholar] [CrossRef]
  13. Song, J.-F.; Song, H.; Yang, X.; Dong, H. Application of digital lock-in amplifier in complex electromagnetic interference of substation. Prog. Electromagn. Res. C 2020, 106, 105–120. [Google Scholar] [CrossRef]
  14. Jiang, G.; Yang, H.; Yang, H.; Li, R.; Kong, P. A new algorithm for a high-modulation frequency and high-speed digital lock-in amplifier. Meas. Sci. Technol. 2016, 27, 015701. [Google Scholar] [CrossRef]
  15. Leis, J.; Martin, P.; Buttsworth, D. Simplified digital lock-in amplifier algorithm. Electron. Lett. 2012, 48, 259–261. [Google Scholar] [CrossRef]
  16. Sonnaillon, M.O.; Bonetto, F.J. A low-cost, high-performance, digital signal processor-based lock-in amplifier capable of measuring multiple frequency sweeps simultaneously. Rev. Sci. Instrum. 2005, 76, 024703. [Google Scholar] [CrossRef]
  17. Dai, C.; Chen, W.; Zhu, Y. Seeker Optimization Algorithm for Digital IIR Filter Design. IEEE Trans. Ind. Electron. 2010, 57, 1710–1718. [Google Scholar] [CrossRef]
  18. Bull, D.R.; Horrocks, D.H. Primitive operator digital filters. IEE Proc. G (Circuits Devices Syst.) 1991, 138, 401–412. [Google Scholar] [CrossRef]
  19. Nan, S. Design of Digital Filter Based on CORDIC Algorithm. Microelectron. Comput. 2007, 24, 10–12. [Google Scholar]
  20. Wu, J.; Zhan, Y.; Peng, Z.; Ji, X.; Yu, G.; Zhao, R.; Wang, C. Efficient Design of Spiking Neural Network With STDP Learning Based on Fast CORDIC. IEEE Trans. Circuits Syst. I Regul. Pap. 2021, 68, 2522–2534. [Google Scholar] [CrossRef]
  21. Heidarpur, M.; Ahmadi, A.; Ahmadi, M.; Rahimi Azghadi, M. CORDIC-SNN: On-FPGA STDP Learning With Izhikevich Neurons. IEEE Trans. Circuits Syst. I Regul. Pap. 2019, 66, 2651–2661. [Google Scholar] [CrossRef]
  22. Han, J.-W.; Jang, Y. A Residual Frequency Offset Synchronization Scheme Using a Simplified CORDIC Algorithm in OFDM Systems. In Proceedings of the 2009 Australian Communications Theory Workshop, Sydney, Australia, 4–7 February 2009; pp. 67–70. [Google Scholar]
Figure 1. Structure diagram of phase-locked amplifier: AMP, amplifier, LPF, low-pass filter.
Figure 1. Structure diagram of phase-locked amplifier: AMP, amplifier, LPF, low-pass filter.
Sensors 23 08902 g001
Figure 2. Corresponding relationship between phase word and amplitude of trigonometric function.
Figure 2. Corresponding relationship between phase word and amplitude of trigonometric function.
Sensors 23 08902 g002
Figure 3. The phase sensitive detector with digital filter.
Figure 3. The phase sensitive detector with digital filter.
Sensors 23 08902 g003
Figure 4. The amplitude-frequency response diagram of digital low-pass filter, where ω p represents the passband cutoff frequency, ω s t represents stopband cut-off frequency, ω = ω s t ω p is the transition band, δ p represents the passband ripple, and δ T is the stop band ripple, respectively.
Figure 4. The amplitude-frequency response diagram of digital low-pass filter, where ω p represents the passband cutoff frequency, ω s t represents stopband cut-off frequency, ω = ω s t ω p is the transition band, δ p represents the passband ripple, and δ T is the stop band ripple, respectively.
Sensors 23 08902 g004
Figure 5. The schematic diagram of the low-pass IIR filter.
Figure 5. The schematic diagram of the low-pass IIR filter.
Sensors 23 08902 g005
Figure 6. The CORDIC algorithm vector rotation diagram with rotating the input vector by θ .
Figure 6. The CORDIC algorithm vector rotation diagram with rotating the input vector by θ .
Sensors 23 08902 g006
Figure 7. The i-th single iteration of CORDIC algorithm implementation. SHIFTER, phase shifter; ADD/SUB, adder or subtractor that contains conditional complementor; SIGN, sign bit capture.
Figure 7. The i-th single iteration of CORDIC algorithm implementation. SHIFTER, phase shifter; ADD/SUB, adder or subtractor that contains conditional complementor; SIGN, sign bit capture.
Sensors 23 08902 g007
Figure 8. The setup of black body spectrum capturing. CVF, circular variant filter; MCT, HgCdTe detector; AMP, amplifier; LIA, locked-in amplifier.
Figure 8. The setup of black body spectrum capturing. CVF, circular variant filter; MCT, HgCdTe detector; AMP, amplifier; LIA, locked-in amplifier.
Sensors 23 08902 g008
Figure 9. The simulation results. (a) Mixed input signal, x ( t ) , with SNR = −10 in two periods; (b) Output signal from in-phase channel, u p L P F ( t ) ; (c) Output signal from quadrature channel, u q L P F ( t ) .
Figure 9. The simulation results. (a) Mixed input signal, x ( t ) , with SNR = −10 in two periods; (b) Output signal from in-phase channel, u p L P F ( t ) ; (c) Output signal from quadrature channel, u q L P F ( t ) .
Sensors 23 08902 g009
Figure 10. (a) The output amplitude and the reference amplitude. (b) The output phase and the reference phase.
Figure 10. (a) The output amplitude and the reference amplitude. (b) The output phase and the reference phase.
Sensors 23 08902 g010
Figure 11. The LIA PCB platform.
Figure 11. The LIA PCB platform.
Sensors 23 08902 g011
Figure 12. The linear response experimental results. (a) Single voltage measuring results with 0.4000 Vpp for 25 s; (b) Amplitudes measuring results with input amplitude ranging from 0 to 0.5 Vpp.
Figure 12. The linear response experimental results. (a) Single voltage measuring results with 0.4000 Vpp for 25 s; (b) Amplitudes measuring results with input amplitude ranging from 0 to 0.5 Vpp.
Sensors 23 08902 g012
Figure 13. The wavelength-index of the CVF.
Figure 13. The wavelength-index of the CVF.
Sensors 23 08902 g013
Figure 14. The results of the MCT experiments. (a) The spectrum response of MCT; (b) The blackbody spectrum measuring results.
Figure 14. The results of the MCT experiments. (a) The spectrum response of MCT; (b) The blackbody spectrum measuring results.
Sensors 23 08902 g014
Figure 15. The responses of InSb at various chopper rates.
Figure 15. The responses of InSb at various chopper rates.
Sensors 23 08902 g015
Table 1. Parameters for simulation.
Table 1. Parameters for simulation.
Parameters (Unit)Values
Magnitude (a. u.), A 7
Initial phase (rad), φ s π / 3
Sampling frequency (kHz), f c l k 625
Angular speeds of original and reference signals (rad/s), ω s , ω r 2 π × 1000
IIR Cutting-off frequency, f c 100
Order of the IIR4
SNR (dB)−10
Table 2. The NMSE results of Phase error and amplitude captured in simulations.
Table 2. The NMSE results of Phase error and amplitude captured in simulations.
NMSE of PhaseNMSE of Amplitude
0.18%0.826%
Table 3. The parameters in experiments.
Table 3. The parameters in experiments.
Parameters (Unit) or ResourcesValues
Analog   Voltage   ( Vpp ) ,   A 0.4000
SNR−10
Angular   speeds   of   original   and   reference   signals   ( rad / s ) ,   ω s 2 π × 800
Sampling   frequency   ( kHz ) ,   f c l k 625
IIR   Cutting - off   frequency   ( Hz ) ,   f c 20
Order of the IIR4
Lookup table13,107
Embedded RAM915
Multiplier DSP20
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yao, Z.; Pan, J.; Yu, C.; Yuan, Z.; Chen, Q.; Sui, X. A Universal Digital Lock-in Amplifier Design for Calibrating the Photo-Detector Responses with Standard Black-Bodies. Sensors 2023, 23, 8902. https://doi.org/10.3390/s23218902

AMA Style

Yao Z, Pan J, Yu C, Yuan Z, Chen Q, Sui X. A Universal Digital Lock-in Amplifier Design for Calibrating the Photo-Detector Responses with Standard Black-Bodies. Sensors. 2023; 23(21):8902. https://doi.org/10.3390/s23218902

Chicago/Turabian Style

Yao, Zheyi, Jingpeng Pan, Chang Yu, Zhewen Yuan, Qian Chen, and Xiubao Sui. 2023. "A Universal Digital Lock-in Amplifier Design for Calibrating the Photo-Detector Responses with Standard Black-Bodies" Sensors 23, no. 21: 8902. https://doi.org/10.3390/s23218902

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop