A Digital Lock-In Amplifier for Use at Temperatures of up ...

15
sensors Article A Digital Lock-In Amplifier for Use at Temperatures of up to 200 C Jingjing Cheng 1 , Yingjun Xu 1 , Lei Wu 2, * and Guangwei Wang 3 1 School of Automation, Huazhong University of Science and Technology, Wuhan 430074, China; [email protected] (J.C.); [email protected] (Y.X.) 2 School of Chemical Engineering and Environment, Beijing Institute of Technology, Beijing 100000, China 3 Well-Tech R&D Institutes, China Oilfield Service Limited, Beijing 101149, China; [email protected] * Correspondence: [email protected]; Tel.: +86-188-1032-9931 Academic Editor: Vittorio M. N. Passaro Received: 2 October 2016; Accepted: 3 November 2016; Published: 11 November 2016 Abstract: Weak voltage signals cannot be reliably measured using currently available logging tools when these tools are subject to high-temperature (up to 200 C) environments for prolonged periods. In this paper, we present a digital lock-in amplifier (DLIA) capable of operating at temperatures of up to 200 C. The DLIA contains a low-noise instrument amplifier and signal acquisition and the corresponding signal processing electronics. The high-temperature stability of the DLIA is achieved by designing system-in-package (SiP) and multi-chip module (MCM) components with low thermal resistances. An effective look-up-table (LUT) method was developed for the lock-in amplifier algorithm, to decrease the complexity of the calculations and generate less heat than the traditional way. The performance of the design was tested by determining the linearity, gain, Q value, and frequency characteristic of the DLIA between 25 and 200 C. The maximal nonlinear error in the linearity of the DLIA working at 200 C was about 1.736% when the equivalent input was a sine wave signal with an amplitude of between 94.8 and 1896.0 nV and a frequency of 800 kHz. The tests showed that the DLIA proposed could work effectively in high-temperature environments up to 200 C. Keywords: digital lock-in amplifier; high temperature; SiP; MCM; thermal resistance; LUT method 1. Introduction A lock-in amplifier is an extremely effective system for detecting a weak signal with a low signal-to-noise ratio [14]. It has been widely used in various kinds of instrument, as well in logging tools, such as nuclear magnetic resonance (NMR) logging tools, acoustic logging tools and resistivity logging tools [58]. The exploration of petroleum resources requires drilling at depths of up to about 5000 m [9], where the ambient temperature can reach up to 200 C. Logging tools suffer high failure rates at such depths, mainly because the performance of the components is constrained by the temperature [10,11]. Only a small number of conventional electronic components can reliably operate above 150 C. Passive cooling methods, such as placing the instrument in a Dewar flask [12,13], are traditionally used to improve the operabilities and reliabilities of downhole tools in high-temperature/pressure environments, but such methods generally provide cooling only for a short time because of limited heat absorption. Logging-while-drilling tools are required to work continuously for not less than 100 h [14], so such tools reach excessively high temperatures if passive cooling methods are used. Therefore, lock-in-amplifiers used in logging-while-drilling tools must be designed with care, and the individual components of these lock-in amplifiers need to be able to withstand temperatures up to 200 C. In this paper, we proposed a high temperature (200 C) DLIA equipped with a packaging technology which significantly reduces system thermal resistance Sensors 2016, 16, 1899; doi:10.3390/s16111899 www.mdpi.com/journal/sensors

Transcript of A Digital Lock-In Amplifier for Use at Temperatures of up ...

Page 1: A Digital Lock-In Amplifier for Use at Temperatures of up ...

sensors

Article

A Digital Lock-In Amplifier for Use at Temperaturesof up to 200 ◦C

Jingjing Cheng 1, Yingjun Xu 1, Lei Wu 2,* and Guangwei Wang 3

1 School of Automation, Huazhong University of Science and Technology, Wuhan 430074, China;[email protected] (J.C.); [email protected] (Y.X.)

2 School of Chemical Engineering and Environment, Beijing Institute of Technology, Beijing 100000, China3 Well-Tech R&D Institutes, China Oilfield Service Limited, Beijing 101149, China; [email protected]* Correspondence: [email protected]; Tel.: +86-188-1032-9931

Academic Editor: Vittorio M. N. PassaroReceived: 2 October 2016; Accepted: 3 November 2016; Published: 11 November 2016

Abstract: Weak voltage signals cannot be reliably measured using currently available logging toolswhen these tools are subject to high-temperature (up to 200 ◦C) environments for prolonged periods.In this paper, we present a digital lock-in amplifier (DLIA) capable of operating at temperaturesof up to 200 ◦C. The DLIA contains a low-noise instrument amplifier and signal acquisition andthe corresponding signal processing electronics. The high-temperature stability of the DLIA isachieved by designing system-in-package (SiP) and multi-chip module (MCM) components withlow thermal resistances. An effective look-up-table (LUT) method was developed for the lock-inamplifier algorithm, to decrease the complexity of the calculations and generate less heat than thetraditional way. The performance of the design was tested by determining the linearity, gain, Q value,and frequency characteristic of the DLIA between 25 and 200 ◦C. The maximal nonlinear error inthe linearity of the DLIA working at 200 ◦C was about 1.736% when the equivalent input was asine wave signal with an amplitude of between 94.8 and 1896.0 nV and a frequency of 800 kHz.The tests showed that the DLIA proposed could work effectively in high-temperature environmentsup to 200 ◦C.

Keywords: digital lock-in amplifier; high temperature; SiP; MCM; thermal resistance; LUT method

1. Introduction

A lock-in amplifier is an extremely effective system for detecting a weak signal with a lowsignal-to-noise ratio [1–4]. It has been widely used in various kinds of instrument, as well inlogging tools, such as nuclear magnetic resonance (NMR) logging tools, acoustic logging tools andresistivity logging tools [5–8]. The exploration of petroleum resources requires drilling at depthsof up to about 5000 m [9], where the ambient temperature can reach up to 200 ◦C. Logging toolssuffer high failure rates at such depths, mainly because the performance of the components isconstrained by the temperature [10,11]. Only a small number of conventional electronic componentscan reliably operate above 150 ◦C. Passive cooling methods, such as placing the instrument in a Dewarflask [12,13], are traditionally used to improve the operabilities and reliabilities of downhole toolsin high-temperature/pressure environments, but such methods generally provide cooling only fora short time because of limited heat absorption. Logging-while-drilling tools are required to workcontinuously for not less than 100 h [14], so such tools reach excessively high temperatures if passivecooling methods are used. Therefore, lock-in-amplifiers used in logging-while-drilling tools mustbe designed with care, and the individual components of these lock-in amplifiers need to be ableto withstand temperatures up to 200 ◦C. In this paper, we proposed a high temperature (200 ◦C)DLIA equipped with a packaging technology which significantly reduces system thermal resistance

Sensors 2016, 16, 1899; doi:10.3390/s16111899 www.mdpi.com/journal/sensors

Page 2: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 2 of 15

and improves the temperature performance. Experiments showed that the proposed DLIA couldcontinuously work for 4 h while maintaining good performance.

2. System Architecture

We designed a digital lock-in amplifier (DLIA) with the structure shown in Figure 1 to acquireweak signals (~100 nV) in high-temperature environments. The main components of the DLIA are alow-noise amplifier (LNA) and a data acquisition and processing circuit. The signal is transmitted indifferential mode between the LNA circuit and the data acquisition and processing circuit to improvethe capacity of resisting disturbance.

Sensors 2016, 16, 1899 2 of 15

improves the temperature performance. Experiments showed that the proposed DLIA could continuously work for 4 h while maintaining good performance.

2. System Architecture

We designed a digital lock-in amplifier (DLIA) with the structure shown in Figure 1 to acquire weak signals (~100 nV) in high-temperature environments. The main components of the DLIA are a low-noise amplifier (LNA) and a data acquisition and processing circuit. The signal is transmitted in differential mode between the LNA circuit and the data acquisition and processing circuit to improve the capacity of resisting disturbance.

Figure 1. Structures of the lock-in amplifier circuit, the acquisition circuit, and the processing circuit.

The LNA consists of three parts, a gain amplifier, a high-pass filter (HPF), and a single-ended-to-differential converter. The gain amplifier amplifies the raw signal from the sensor to bring it to within an appropriate range. The HPF removes low-frequency noise, and differential transmission is achieved using the single-ended-to-differential converter.

Figure 2. Photograph of the lock-in amplifier circuit, acquisition circuit, and processing circuit.

The data-acquisition-processing circuit contains a differential receiver, a band-pass filter (BPF), an analogue-to-digital converter (ADC), a field-programmable gate array (FPGA), and a microcontroller unit (MCU). The differential signal from the LNA is converted into a single-ended

FIFODigital Signal

Processing

FPGA ACTEL A3P1000(1000,000 Gates)

MCUTI

TMS320F2812Anti-aliasing

filter

+-

Differential amplifier

INA0

INA1

Us

Rs

Ls

Cp

G1=60 G2=32Sensor

Duplexer

OutputA4

G3=11.5

A2 A3

High pass filter

ADC

Data-acquisition-processing circuit

Low-Noise-Amplifier(LNA) circuit

+-

Figure 1. Structures of the lock-in amplifier circuit, the acquisition circuit, and the processing circuit.

The LNA consists of three parts, a gain amplifier, a high-pass filter (HPF), and asingle-ended-to-differential converter. The gain amplifier amplifies the raw signal from the sensorto bring it to within an appropriate range. The HPF removes low-frequency noise, and differentialtransmission is achieved using the single-ended-to-differential converter.

Sensors 2016, 16, 1899 2 of 15

improves the temperature performance. Experiments showed that the proposed DLIA could continuously work for 4 h while maintaining good performance.

2. System Architecture

We designed a digital lock-in amplifier (DLIA) with the structure shown in Figure 1 to acquire weak signals (~100 nV) in high-temperature environments. The main components of the DLIA are a low-noise amplifier (LNA) and a data acquisition and processing circuit. The signal is transmitted in differential mode between the LNA circuit and the data acquisition and processing circuit to improve the capacity of resisting disturbance.

Figure 1. Structures of the lock-in amplifier circuit, the acquisition circuit, and the processing circuit.

The LNA consists of three parts, a gain amplifier, a high-pass filter (HPF), and a single-ended-to-differential converter. The gain amplifier amplifies the raw signal from the sensor to bring it to within an appropriate range. The HPF removes low-frequency noise, and differential transmission is achieved using the single-ended-to-differential converter.

Figure 2. Photograph of the lock-in amplifier circuit, acquisition circuit, and processing circuit.

The data-acquisition-processing circuit contains a differential receiver, a band-pass filter (BPF), an analogue-to-digital converter (ADC), a field-programmable gate array (FPGA), and a microcontroller unit (MCU). The differential signal from the LNA is converted into a single-ended

FIFODigital Signal

Processing

FPGA ACTEL A3P1000(1000,000 Gates)

MCUTI

TMS320F2812Anti-aliasing

filter

+-

Differential amplifier

INA0

INA1

Us

Rs

Ls

Cp

G1=60 G2=32Sensor

Duplexer

OutputA4

G3=11.5

A2 A3

High pass filter

ADC

Data-acquisition-processing circuit

Low-Noise-Amplifier(LNA) circuit

+-

Figure 2. Photograph of the lock-in amplifier circuit, acquisition circuit, and processing circuit.

Page 3: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 3 of 15

The data-acquisition-processing circuit contains a differential receiver, a band-pass filter(BPF), an analogue-to-digital converter (ADC), a field-programmable gate array (FPGA), and amicrocontroller unit (MCU). The differential signal from the LNA is converted into a single-endedsignal, then passed through the BPF before being transmitted to the ADC. The FPGA reads the digitaldata from the ADC and performs the DLIA algorithm, then the signal amplitude and phase arecalculated by the MCU. The actual DLIA circuit is shown in Figure 2.

3. High Temperature DLIA

3.1. Low-Noise Amplifier

The basic LNA structure consists of a three-stage cascade. The circuit is shown schematicallyin Figure 3. The input stage is performed by two parallel instrument amplifiers. The outputs of theamplifiers are further amplified by parts of the operational amplifier circuit (A2, A3, in Figure 3),then the signal is passed through a second-order HPF to cut off the DC signal and low-frequencypart. The signal finally passes through a transmitter to convert the single-ended signal into twodifferential signals.

Sensors 2016, 16, 1899 3 of 15

signal, then passed through the BPF before being transmitted to the ADC. The FPGA reads the digital data from the ADC and performs the DLIA algorithm, then the signal amplitude and phase are calculated by the MCU. The actual DLIA circuit is shown in Figure 2.

3. High Temperature DLIA

3.1. Low-Noise Amplifier

The basic LNA structure consists of a three-stage cascade. The circuit is shown schematically in Figure 3. The input stage is performed by two parallel instrument amplifiers. The outputs of the amplifiers are further amplified by parts of the operational amplifier circuit (A2, A3, in Figure 3), then the signal is passed through a second-order HPF to cut off the DC signal and low-frequency part. The signal finally passes through a transmitter to convert the single-ended signal into two differential signals.

Figure 3. Schematic of the low-noise amplifier.

According to the formula for the addition circuit, 0

U can be represented as shown in Equation (1):

1 2

0

1 2

( )f

U UR

R RU (1)

where U1 and U2 are the outputs of the parallel instrument amplifiers, as shown in Equations (2) and (3), respectively:

1 1 1 1in enKU U U (2)

2 2 2 2in enKU U U (3)

In Equations (2) and (3), K1 and K2 are the magnifications, U1en and U2in are the output noise voltages, and U1in and U2en are the input voltages of the two instrument amplifiers, which are parallel and symmetrical. Thus ideally:

1 2

1 2

1 2

in in in

K K K

U U U

R R R (4)

Therefore, Equation (1) can be rewritten as:

1 22

2

1

1

0

( ) / 2) 2 ( )( in en en

FF

KU U UUR

R R

UR

RU

(5)

INA0

INA1

A2

R1

R2

R3

A3

R5

G1=60 G2=32 G3=11.5

A4

R7

R6

Output

A5

R4

C1

C2

C3

Parallel instrument amplifier

Noninverting Addition

U1

U2

Uin

Uo

HPF

Figure 3. Schematic of the low-noise amplifier.

According to the formula for the addition circuit, U0 can be represented as shown in Equation (1):

U0 = −R f (U1

R1+

U2

R2) (1)

where U1 and U2 are the outputs of the parallel instrument amplifiers, as shown in Equations (2) and(3), respectively:

U1 = K1U1in + U1en (2)

U2 = K2U2in + U2en (3)

In Equations (2) and (3), K1 and K2 are the magnifications, U1en and U2in are the output noisevoltages, and U1in and U2en are the input voltages of the two instrument amplifiers, which are paralleland symmetrical. Thus ideally:

K1 = K2 = KU1in = U2in = UinR1 = R2 = R

(4)

Therefore, Equation (1) can be rewritten as:

U0 = −RF(U1

R1+

U2

R2) = −2RF(

KUin + (U1en + U2en)/2R

) (5)

Page 4: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 4 of 15

in which U1en and U2en are unrelated random noise. The accumulative average is an effective methodfor filtering random noise, thus:

KUin(U1en + U2en)/2

>KUinU1en

(6)

Furthermore, the parallel instrument amplifiers can also effectively decrease the random noiselevel. In this design, there are only two instrument amplifiers in parallel because the size of the circuitboard is limited.

All the components were selected with some care. C1, C2, and C3 are capacitors of NegativePositive Zero (NP0) material, which is a kind of Multilayer Ceramic Chip (MLCC) capacitor fromthe TDK Corporation (Peachtree City, GA, USA) and the temperature coefficient of capacitanceis ±30 ppm/◦C, for filtering and decoupling the capacitance. The temperature coefficient of thecapacitance is extremely stable, so the value remains constant at high temperatures. R6 and R7 are thinfilm resistors. High-temperature tantalum power filter capacitors were selected. An AD8229 (AnalogDevices, Norwood, MA, USA) was chosen for use as the instrument amplifier. This is a low-noiseinstrument amplifier with a noise voltage spectral density of lnV/

√Hz and an operating temperature

up to about 210 ◦C. An OPA211 amplifier (Texas Instruments, Dallas, TX, USA) was selected foruse in the operational amplifier circuit and HPF circuit because of its high precision, allowing itsuse up to 210 ◦C. Good performance at high temperature required special attention to be paid to thelayout of the key signal, which needed to be as short as possible to avoid affecting the magnification.We manufactured the printed circuit board out of high-temperature polyimide.

In most well-logging applications, the signal frequency is between 500 kHz to 1000 kHz. So wedesigned the cut-off frequency of the HPF in LNA as 440 kHz. Both simulation and experiment resultsof the HPF frequency characteristic are shown in Figure 4. The black curve represents the softwaresimulation diagram, and the blue curve represents the measured waveform.

Sensors 2016, 16, 1899 4 of 15

in which U1en and U2en are unrelated random noise. The accumulative average is an effective method for filtering random noise, thus:

1 2 1( ) / 2

in in

en en en

KU KU

U U U

(6)

Furthermore, the parallel instrument amplifiers can also effectively decrease the random noise level. In this design, there are only two instrument amplifiers in parallel because the size of the circuit board is limited.

All the components were selected with some care. C1, C2, and C3 are capacitors of Negative Positive Zero (NP0) material, which is a kind of Multilayer Ceramic Chip (MLCC) capacitor from the TDK Corporation (Peachtree City, GA, USA) and the temperature coefficient of capacitance is ±30 ppm/°C, for filtering and decoupling the capacitance. The temperature coefficient of the capacitance is extremely stable, so the value remains constant at high temperatures. R6 and R7 are thin film resistors. High-temperature tantalum power filter capacitors were selected. An AD8229 (Analog Devices, Norwood, MA, USA) was chosen for use as the instrument amplifier. This is a low-noise instrument amplifier with a noise voltage spectral density of ln /√ and an operating temperature up to about 210 °C. An OPA211 amplifier (Texas Instruments, Dallas, TX, USA) was selected for use in the operational amplifier circuit and HPF circuit because of its high precision, allowing its use up to 210 °C. Good performance at high temperature required special attention to be paid to the layout of the key signal, which needed to be as short as possible to avoid affecting the magnification. We manufactured the printed circuit board out of high-temperature polyimide.

In most well-logging applications, the signal frequency is between 500 kHz to 1000 kHz. So we designed the cut-off frequency of the HPF in LNA as 440 kHz. Both simulation and experiment results of the HPF frequency characteristic are shown in Figure 4. The black curve represents the software simulation diagram, and the blue curve represents the measured waveform.

-35

-30

-25

-20

-15

-10

-5

0120 280 440 600 760 940 1100 1500

Figure 4. The waveform of simulation and experiment results about the HPF frequency characteristics.

3.2. High-Speed Data Acquisition System-in-Package

The internal structure of the data acquisition and processing system-in-package (SiP) is shown in Figure 5. A 12-bit ADC, with the maximal sampling rate at 40 MHz, converts the high-frequency input signal with a maximum of 4 Vpp into digital data. The FPGA controls the ADC timing and reads the result into the built-in FIFO (First In First Out). The digital signal is then processed in parallel, then the calculated results are sent to the MCU (Microcontroller Unit).

Figure 4. The waveform of simulation and experiment results about the HPF frequency characteristics.

3.2. High-Speed Data Acquisition System-in-Package

The internal structure of the data acquisition and processing system-in-package (SiP) is shown inFigure 5. A 12-bit ADC, with the maximal sampling rate at 40 MHz, converts the high-frequency inputsignal with a maximum of 4 Vpp into digital data. The FPGA controls the ADC timing and reads theresult into the built-in FIFO (First In First Out). The digital signal is then processed in parallel, then thecalculated results are sent to the MCU (Microcontroller Unit).

Page 5: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 5 of 15Sensors 2016, 16, 1899 5 of 15

Figure 5. Components of the SiP.

A picture of the SiP is shown in Figure 6. The MCU (TMS320F2812) and FPGA (A3P1000) chip wafers that could be used at high temperatures and the other Silicon-On-Insulator (SOI) chip wafers were provided by Xi’an Microelectronics (Xi’an, China). All the key passive components were suitable for use at high temperatures, with the material of NP0 texture capacitances and thin film resistors.

Figure 6. Internal structure of the SiP.

The equivalent heat structure chart for the SiP is shown in Figure 7. The wafers are bonded onto substrates with super-thin adhesive, and the substrate is connected to the linkage using co-fluxing alloy. All the materials are extremely thin, which helps decrease the thermal resistance of the system. The SiP needs to be filled with an inert gas (e.g., nitrogen) to prevent the wafers and other materials from becoming oxidized and corroded in the high-temperature environment. The low thermal conductivity of nitrogen means that heat in the SiP is mainly transferred from the substrate to the shell with rapidly dissipating to the external environment. The SiP shell acts as a cooling fin.

Figure 7. Equivalent heat structure chart for the SiP.

ADCFPGA

MCUSRAM

DDS

IO drive

IO driveSupervisory

Figure 5. Components of the SiP.

A picture of the SiP is shown in Figure 6. The MCU (TMS320F2812) and FPGA (A3P1000) chipwafers that could be used at high temperatures and the other Silicon-On-Insulator (SOI) chip waferswere provided by Xi’an Microelectronics (Xi’an, China). All the key passive components were suitablefor use at high temperatures, with the material of NP0 texture capacitances and thin film resistors.

Sensors 2016, 16, 1899 5 of 15

Figure 5. Components of the SiP.

A picture of the SiP is shown in Figure 6. The MCU (TMS320F2812) and FPGA (A3P1000) chip wafers that could be used at high temperatures and the other Silicon-On-Insulator (SOI) chip wafers were provided by Xi’an Microelectronics (Xi’an, China). All the key passive components were suitable for use at high temperatures, with the material of NP0 texture capacitances and thin film resistors.

Figure 6. Internal structure of the SiP.

The equivalent heat structure chart for the SiP is shown in Figure 7. The wafers are bonded onto substrates with super-thin adhesive, and the substrate is connected to the linkage using co-fluxing alloy. All the materials are extremely thin, which helps decrease the thermal resistance of the system. The SiP needs to be filled with an inert gas (e.g., nitrogen) to prevent the wafers and other materials from becoming oxidized and corroded in the high-temperature environment. The low thermal conductivity of nitrogen means that heat in the SiP is mainly transferred from the substrate to the shell with rapidly dissipating to the external environment. The SiP shell acts as a cooling fin.

Figure 7. Equivalent heat structure chart for the SiP.

ADCFPGA

MCUSRAM

DDS

IO drive

IO driveSupervisory

Figure 6. Internal structure of the SiP.

The equivalent heat structure chart for the SiP is shown in Figure 7. The wafers are bonded ontosubstrates with super-thin adhesive, and the substrate is connected to the linkage using co-fluxing alloy.All the materials are extremely thin, which helps decrease the thermal resistance of the system. The SiPneeds to be filled with an inert gas (e.g., nitrogen) to prevent the wafers and other materials frombecoming oxidized and corroded in the high-temperature environment. The low thermal conductivityof nitrogen means that heat in the SiP is mainly transferred from the substrate to the shell with rapidlydissipating to the external environment. The SiP shell acts as a cooling fin.

Sensors 2016, 16, 1899 5 of 15

Figure 5. Components of the SiP.

A picture of the SiP is shown in Figure 6. The MCU (TMS320F2812) and FPGA (A3P1000) chip wafers that could be used at high temperatures and the other Silicon-On-Insulator (SOI) chip wafers were provided by Xi’an Microelectronics (Xi’an, China). All the key passive components were suitable for use at high temperatures, with the material of NP0 texture capacitances and thin film resistors.

Figure 6. Internal structure of the SiP.

The equivalent heat structure chart for the SiP is shown in Figure 7. The wafers are bonded onto substrates with super-thin adhesive, and the substrate is connected to the linkage using co-fluxing alloy. All the materials are extremely thin, which helps decrease the thermal resistance of the system. The SiP needs to be filled with an inert gas (e.g., nitrogen) to prevent the wafers and other materials from becoming oxidized and corroded in the high-temperature environment. The low thermal conductivity of nitrogen means that heat in the SiP is mainly transferred from the substrate to the shell with rapidly dissipating to the external environment. The SiP shell acts as a cooling fin.

Figure 7. Equivalent heat structure chart for the SiP.

ADCFPGA

MCUSRAM

DDS

IO drive

IO driveSupervisory

Figure 7. Equivalent heat structure chart for the SiP.

Page 6: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 6 of 15

All the selected materials (substrates, linkages, and adhesives) were temperature resistant. Thethermal conductivities [15,16] of the materials are shown in Table 1. Materials with higher thermalconductivities cause more rapid heat dissipation. The thermal expansion coefficients of the differentmaterials need to be similar so that heating and cooling does not cause stress between the components,which can cause reliability problems and even damage to the chip wafer.

Table 1. SiP structural materials and characteristics.

Name Material Thermal Conductivity W/(mm·◦C)

Substrate PWB 0.013Shell Steel 0.012Wafer Si 0.161Gas Nitrogen 0.0228

Linkage Eutectic 0.295Bonder Epoxy 0.002Header Kovar 0.017

A thermal simulation model was established using COMSOL5.1 software, and the model wassolved using the material parameters described above. Thermal resistance [17] can be described usingEquation (7):

R =d

K× A(7)

where d is the heat transfer distance (10 mm between the wafer and shell), A is the surface area of thewafer, and K = 0.045 (W/mm)·◦C is the equivalent thermal conductivity coefficient.

The SiP equivalent thermal resistance is dominated by Equation (7), and the resistance of theFPGA is:

RFPGA =10 mm

0.045 (◦C/W)× 10 mm× 10 mm= 2.222 (◦C/W)

The equivalent thermal resistances of the other chip wafers were calculated using the samemethod, and the results are shown in Table 2. It can be seen from Table 2 that the equivalent thermalresistance of the system was decreased greatly by using the SiP. Heat around the wafer could be rapidlytransferred to the external environment, improving the temperature class of the SiP internal chip wafer.

Table 2. Thermal resistances between the single chips and the system-in-package.

Single Chip SiP

Name Thermal Resistance (◦C/W) Equivalent Thermal Resistance (◦C/W)

FPGA 26.1 2.222MCU 35.0 3.472ADC 100.0 24.691DDS 87.0 23.641

SRAM 76.4 4.535

3.3. Signal Conditioning Multi-Chip Module

A schematic of the multi-chip module (MCM) signal conditioning process is shown in Figure 8.It mainly consists of an eight second order active BPF, which is implemented by the operationalamplifier AD811. The AD811 is affected by low-temperature drift, the input offset voltage temperaturedrift being constant at 5 µV/◦C.

Page 7: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 7 of 15Sensors 2016, 16, 1899 7 of 15

Figure 8. Schematic of the multi-chip module.

We used an MCM with a structure similar to that of the SiP to improve the AD811 temperature performance. All the passive components were selected for their performances at high temperatures. The MCM decreased the thermal resistance. As shown in Equation (7), the equivalent thermal resistance of the AD811 in the MCM was 19.753 °C/W, whereas the thermal resistance of the single chip was 155 °C/W. The MCM hardware is shown in Figure 9.

Both simulation and experiment results of the BPF frequency characteristics, performed using EDA software, are shown in Figure 10, and the black curve represents the software simulation diagram, and the blue curve represents the measured waveform. The results indicated that the gain was 4.211 dB, and the bandwidth was 500.5 kHz (within the pass-band, the lower limit cut-off frequency was 498.8 kHz and the upper limit cut-off frequency was 999.3 kHz).

Figure 9. Photograph of the multi-chip module.

A1R1=10.9k

R2=7.108kVin

R3=4.218k

Vout

C1=33pf

A1C4=33pf

C3=33pf

A1R8=4.09kR9=1.98k

C6=82pf

R12=18.71k

R10=33.775k

C5=82pf

A1C8=82pf

R13=3.211k

C7=82pf

C2=33pf

R4=4.405k

R5=2.595k

R6=1.246k

R7=20.89k

R11=1.169k

Figure 8. Schematic of the multi-chip module.

We used an MCM with a structure similar to that of the SiP to improve the AD811 temperatureperformance. All the passive components were selected for their performances at high temperatures.The MCM decreased the thermal resistance. As shown in Equation (7), the equivalent thermalresistance of the AD811 in the MCM was 19.753 ◦C/W, whereas the thermal resistance of the singlechip was 155 ◦C/W. The MCM hardware is shown in Figure 9.

Both simulation and experiment results of the BPF frequency characteristics, performed using EDAsoftware, are shown in Figure 10, and the black curve represents the software simulation diagram, andthe blue curve represents the measured waveform. The results indicated that the gain was 4.211 dB, andthe bandwidth was 500.5 kHz (within the pass-band, the lower limit cut-off frequency was 498.8 kHzand the upper limit cut-off frequency was 999.3 kHz).

Sensors 2016, 16, 1899 7 of 15

Figure 8. Schematic of the multi-chip module.

We used an MCM with a structure similar to that of the SiP to improve the AD811 temperature performance. All the passive components were selected for their performances at high temperatures. The MCM decreased the thermal resistance. As shown in Equation (7), the equivalent thermal resistance of the AD811 in the MCM was 19.753 °C/W, whereas the thermal resistance of the single chip was 155 °C/W. The MCM hardware is shown in Figure 9.

Both simulation and experiment results of the BPF frequency characteristics, performed using EDA software, are shown in Figure 10, and the black curve represents the software simulation diagram, and the blue curve represents the measured waveform. The results indicated that the gain was 4.211 dB, and the bandwidth was 500.5 kHz (within the pass-band, the lower limit cut-off frequency was 498.8 kHz and the upper limit cut-off frequency was 999.3 kHz).

Figure 9. Photograph of the multi-chip module.

A1R1=10.9k

R2=7.108kVin

R3=4.218k

Vout

C1=33pf

A1C4=33pf

C3=33pf

A1R8=4.09kR9=1.98k

C6=82pf

R12=18.71k

R10=33.775k

C5=82pf

A1C8=82pf

R13=3.211k

C7=82pf

C2=33pf

R4=4.405k

R5=2.595k

R6=1.246k

R7=20.89k

R11=1.169k

Figure 9. Photograph of the multi-chip module.

Page 8: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 8 of 15Sensors 2016, 16, 1899 8 of 15

Figure 10. The waveforms of simulation and experiment results of the BPF frequency characteristics.

3.4. Digital Lock-In Algorithm for a Low-Field Nuclear Magnetic Resonance Logging Application

There are many available methods to implement digital lock-in amplifier algorithms [18]. We used a digital lock-in amplifier algorithm in an FPGA of SiP that was similar to a low-field nuclear magnetic resonance (NMR) logging application [19]. An average filter was designed and added to the MCU to remove additional noise [20].

Essentially, the mixing calculation was a series of accumulating multiplications performed in the traditional way (multiplication then accumulation). A sine signal was used as the reference when the mixing calculations were performed. The output was:

-1 -1

0 0

-1 -1

0 0

2sin

2 sin

M N

m n

N M

n m

nI s mN n

N

nX n mN

N

(8)

where N is the sampling rate and M is the sampling period number. According to the distributive and associative laws, Equation (8) can be expressed as:

1 1

0 0

1

0

2sin

2 sin

N M

n m

N

n

nI X n mN

N

nY n

N

(9)

where ( ) = ∑ ( + ) We performed the accumulation calculations first and the multiplications second to decrease the time required to perform the multiplications. Y(n) could be described using Equation (10):

1

0

( ) [ ] 2 , [ ] [0,1]B

bb b

b

Y n Y n Y n (10)

where Yb[n] is the first b bit of Y(n). Therefore:

1

0

1

0

[ ] 2 sin2b

bn b

N B nI Y

Nn (11)

According to the distributive and associative laws, Equation (11) can be rewritten as

-40

-35

-30

-25

-20

-15

-10

-5

0

5

100 250 400 550 700 850 1000 1150 1300 1450

Figure 10. The waveforms of simulation and experiment results of the BPF frequency characteristics.

3.4. Digital Lock-In Algorithm for a Low-Field Nuclear Magnetic Resonance Logging Application

There are many available methods to implement digital lock-in amplifier algorithms [18]. We useda digital lock-in amplifier algorithm in an FPGA of SiP that was similar to a low-field nuclear magneticresonance (NMR) logging application [19]. An average filter was designed and added to the MCU toremove additional noise [20].

Essentially, the mixing calculation was a series of accumulating multiplications performed in thetraditional way (multiplication then accumulation). A sine signal was used as the reference when themixing calculations were performed. The output was:

I =M−1∑

m=0

N−1∑

n=0s (mN + n) sin

( 2πnN)

=N−1∑

n=0

[M−1∑

m=0X (n + mN)

]sin( 2πn

N) (8)

where N is the sampling rate and M is the sampling period number. According to the distributive andassociative laws, Equation (8) can be expressed as:

I =N−1∑

n=0

M−1∑

m=0X (n + mN) sin

( 2πnN)

=N−1∑

n=0Y (n) sin

( 2πnN) (9)

where Y (n) = ∑M−1m=0 X (n + mN) We performed the accumulation calculations first and the

multiplications second to decrease the time required to perform the multiplications. Y(n) couldbe described using Equation (10):

Y(n) =B−1

∑b=0

Yb[n]× 2b, Yb[n] ∈ [0, 1] (10)

where Yb[n] is the first b bit of Y(n). Therefore:

I =N−1

∑n=0

B−1

∑b=0

Yb[n]× 2bsin(

2πnN

)(11)

Page 9: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 9 of 15

According to the distributive and associative laws, Equation (11) can be rewritten as

I =B−1

∑b=0

2b ×N−1

∑n=0

Yb[n]sin(

2πnN

)(12)

The multiplication and accumulation calculations were conducted using a Look-Up-Table (LUT)in the FPGA, and the large table was split into multiple tables. Equation (12) could be expressed asEquation (13) when N = L1 + L2 + . . . + LK:

I =B−1

∑b=0

2b ×

L1−1∑

n=0Yb[n]sin

( 2πnN)+

L1+L2−1∑

n=L1

Yb[n]sin( 2πn

N)+

· · ·+N−1∑

n=N−1−LK

Yb[n]sin( 2πn

N)

(13)

Equation (13) could also be expressed as:

I =B−1

∑b=0

2b ×

TL1 [Yb[0], · · · , Yb[L1 − 1]] +TL2 [Yb[L1], · · · , Yb[L1 + L2 − 1]] +· · ·+ TLK [Yb[N − 1− LK], · · · , Yb[N − 1]]

(14)

The LUT calculations using Equation (14) were conducted using Equation (15):

L1−1

∑n=0

Yb[n]sin(

2πnN

)(15)

The convolution calculation was similar to the sine when the reference signal was cosine,the coefficient calculation process and the principle about the method of look-up table can referto the reference [21].

The implementation of the digital lock-in algorithm in the FPGA + MCU is shown in Figure 11.The eight-bit data were divided into four-bit data with highs and lows, and the four-bit data werefurther divided into two-bit data with highs and lows. The results of the reference sine multiplied bythe low two-bit data from the low four-bit data were obtained using LUT 1© in the Table 3, the results ofthe reference sine multiplied by the high two-bit data from the low four-bit data were obtained usingLUT 2©, the results of reference sine multiplied by the low two-bit data from the high four-bit data wereobtained using LUT 3©the results of the reference sine multiplied by the high two-bit data from thehigh four-bit data were obtained using LUT 4©, the results of the reference cosine multiplied by the lowtwo-bit data from the low four-bit data were obtained using LUT 5©, the results of the reference cosinemultiplied by the high two-bit data from the low four-bit data were obtained using LUT 6©, the resultsof the reference cosine multiplied by the low two-bit data from the high four-bit data were obtainedusing LUT 7©, the results of the reference cosine multiplied by the high two-bit data from the highfour-bit data were obtained using LUT 8©, and the total length of the LUT was only 4 × 22 = 16. Usingthe LUT method, which mainly adopted the RAM of the FPGA to fixed the accumulative coefficient,would turn the traditional method into a shifted accumulator. This avoided multiplication, occupiedless resources, and greatly increased the data processing speed. The FPGA resource consumptionusing the traditional method and LUT method are compared in Table 4.

Page 10: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 10 of 15Sensors 2016, 16, 1899 10 of 15

Figure 11. Implementation of the digital lock-in algorithm in the field-programmable gate array (FPGA) and microcontroller unit (MCU).

Table 3. The results of LUT about the different reference.

sin_LUT① sin_LUT② sin_LUT③ sin_LUT④

Input Output Input Output Input Output Input Output

00 0 00 0 00 0 00 0 01 0 01 256 01 0 01 7936 10 181 10 181 10 8011 10 8011 11 181 11 437 11 8011 11 7755

cos_LUT⑤ cos_LUT⑥ cos_LUT⑦ cos_LUT⑧

Input Output Input Output Input Output Input Output

00 0 00 0 00 0 00 0 01 256 01 0 01 7936 01 0 10 181 10 8011 10 8011 10 181 11 437 11 8011 11 7755 11 181

Table 4. Resource consumption using the field-programmable gate array (FPGA) in the traditional method and the look-up-table (LUT) method.

Implementation Occupied Core Cells Percentage (%)

Traditional way 10,076/24,576 41% Method of LUT 3191/24,576 13%

From Table 4 it is clear that the digital lock-in algorithm based on LUT implementation in a FPGA conserved more resources. Using the traditional method, a sampling rate of eight would require 41% of the logical units, whereas using the method of LUT would require only 13% of the logical units. Therefore, it was the ideal choice when need to improve the sampling rate. The traditional method commonly fails to meet the requirements of many instruments, in logging and aerospace for example.

4. Experimental and Results

The experimental setup is shown schematically in Figure 12. The DLIA was placed in an oven (9620A; DHG, Shun-Nuo Instrument Technology, Tianjin, China), and a signal generator (33620A; Agilent Technologies, Santa Clara, CA, USA) generated a sine signal with different frequencies and peak–peak values. The signal was sent to the DLIA after being attenuated by 110 dB by an attenuator (8496A; Agilent Technologies, Santa Clara, CA, USA). The amplitude and phase of the signal were calculated and uploaded to the PC by the DLIA system through a serial port. The sampling rate N

x(i)

N Way Selector

……

Modulo 8 counter

ACC 7 Y(8)

ADC

Timing Generator

s(t)=x(t)+n(t)

FPGA MCU

……

ACC REGI

Yb(0)

Yb(1)

Yb(2)

Yb(3)

Yb(4)

Yb(5)

Yb(6)

Yb(7)

COS_MUX LUT0-1

COS_MUX LUT2-3

COS_MUX LUT4-5

COS_MUX LUT6-7

SIN_MUX LUT0-1

SIN_MUX LUT2-3

SIN_MUX LUT4-5

SIN_MUX LUT6-7

+

+

2b

ACC REG

2b

Q

Sample rate:N=8

ACC 0Y(1)

ACC 1 Y(2)

ACC 2 Y(3)

ACC 4Y(5)

……

ACC 6Y(7)

n(t):noisex(t):effective signal

Figure 11. Implementation of the digital lock-in algorithm in the field-programmable gate array (FPGA)and microcontroller unit (MCU).

Table 3. The results of LUT about the different reference.

sin_LUT 1© sin_LUT 2© sin_LUT 3© sin_LUT 4©

Input Output Input Output Input Output Input Output

00 0 00 0 00 0 00 001 0 01 256 01 0 01 793610 181 10 181 10 8011 10 801111 181 11 437 11 8011 11 7755

cos_LUT 5© cos_LUT 6© cos_LUT 7© cos_LUT 8©

Input Output Input Output Input Output Input Output

00 0 00 0 00 0 00 001 256 01 0 01 7936 01 010 181 10 8011 10 8011 10 18111 437 11 8011 11 7755 11 181

Table 4. Resource consumption using the field-programmable gate array (FPGA) in the traditionalmethod and the look-up-table (LUT) method.

Implementation Occupied Core Cells Percentage (%)

Traditional way 10,076/24,576 41%Method of LUT 3191/24,576 13%

From Table 4 it is clear that the digital lock-in algorithm based on LUT implementation in a FPGAconserved more resources. Using the traditional method, a sampling rate of eight would require 41%of the logical units, whereas using the method of LUT would require only 13% of the logical units.Therefore, it was the ideal choice when need to improve the sampling rate. The traditional methodcommonly fails to meet the requirements of many instruments, in logging and aerospace for example.

4. Experimental and Results

The experimental setup is shown schematically in Figure 12. The DLIA was placed in an oven(9620A; DHG, Shun-Nuo Instrument Technology, Tianjin, China), and a signal generator (33620A;Agilent Technologies, Santa Clara, CA, USA) generated a sine signal with different frequencies andpeak–peak values. The signal was sent to the DLIA after being attenuated by 110 dB by an attenuator(8496A; Agilent Technologies, Santa Clara, CA, USA). The amplitude and phase of the signal were

Page 11: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 11 of 15

calculated and uploaded to the PC by the DLIA system through a serial port. The sampling rate Nwas eight and the period number of each sample M was 64. There were several choices for the DLIAreference frequency (i.e., the internal and external reference) depending on the different test mode.

Sensors 2016, 16, 1899 11 of 15

was eight and the period number of each sample M was 64. There were several choices for the DLIA reference frequency (i.e., the internal and external reference) depending on the different test mode.

Figure 12. Schematic of the high-temperature digital lock-in amplifier test setup. The reference frequency of the digital lock-in amplifier was provided by an internal or external reference depending on the working method. The external reference provided by the signal generator (consistent with the frequency of the output signal) was used in the test process. The internal reference was controlled by the MCU, which could generate a clock signal with the requested frequency to act as the internal reference.

During all our temperature experiment, According to the United States Department of Defense temperature test method standards [22], the rate of temperature rise was controlled at about 2 °C/min, and the temperature rise from 25 °C to 175 °C, then maintain 1 h. When temperature rising at 200 °C, it had been kept for 4 h. The total experimental time is about 8.6 h. The specific test performance indices and experimental data are shown below.

4.1. Linearity

The generator exported a sine wave signal with a frequency of 800 kHz and an amplitude range of 30–600 mV to test the linearity of the DLIA. Before being sent to the DLIA, the signal was attenuated by 110 dB, which caused the input to have an equivalent amplitude of about 94.8–1896 nV. The internal reference was used as the DLIA reference signal (i.e., the DLIA reference signal had a fixed frequency of 800 kHz throughout the experiment). The linearity of the relationships between the DLIA inputs and outputs in different temperature at 25, 125, 175, and 200 °C are shown in Figure 13.

Figure 13. Outputs of the digital lock-in amplifier (DLIA) change along with the sine wave input from a variable amplifier. The DLIA input frequency was 800 kHz, and the equivalent amplitude range of the sine wave signal was 94.8–1896.0 nV. The theoretical gain of the DLIA was about 96.211 dB.

(Agilent-8596A)

Signal Generator Attenuator

HT_Lock-In Amplifier

LNA Circuit Acquisition and

Processing Circuit

Baking Box

+(Agilent-33220A)

PC

(DHG-9620A)

Reference frequency

selection

external

InternalGate

0 200 400 600 800 1000 1200 1400 1600 1800 20000

10

20

30

40

50

60

70

80

90

100

110

120

25°C 125°C 175°C 200°C

Out

put A

mpl

ifitu

de:m

V

lnput Level :nV

Figure 12. Schematic of the high-temperature digital lock-in amplifier test setup. The referencefrequency of the digital lock-in amplifier was provided by an internal or external reference dependingon the working method. The external reference provided by the signal generator (consistent with thefrequency of the output signal) was used in the test process. The internal reference was controlled by theMCU, which could generate a clock signal with the requested frequency to act as the internal reference.

During all our temperature experiment, According to the United States Department of Defensetemperature test method standards [22], the rate of temperature rise was controlled at about 2 ◦C/min,and the temperature rise from 25 ◦C to 175 ◦C, then maintain 1 h. When temperature rising at 200 ◦C,it had been kept for 4 h. The total experimental time is about 8.6 h. The specific test performanceindices and experimental data are shown below.

4.1. Linearity

The generator exported a sine wave signal with a frequency of 800 kHz and an amplitude rangeof 30–600 mV to test the linearity of the DLIA. Before being sent to the DLIA, the signal was attenuatedby 110 dB, which caused the input to have an equivalent amplitude of about 94.8–1896 nV. The internalreference was used as the DLIA reference signal (i.e., the DLIA reference signal had a fixed frequencyof 800 kHz throughout the experiment). The linearity of the relationships between the DLIA inputsand outputs in different temperature at 25, 125, 175, and 200 ◦C are shown in Figure 13.

Sensors 2016, 16, 1899 11 of 15

was eight and the period number of each sample M was 64. There were several choices for the DLIA reference frequency (i.e., the internal and external reference) depending on the different test mode.

Figure 12. Schematic of the high-temperature digital lock-in amplifier test setup. The reference frequency of the digital lock-in amplifier was provided by an internal or external reference depending on the working method. The external reference provided by the signal generator (consistent with the frequency of the output signal) was used in the test process. The internal reference was controlled by the MCU, which could generate a clock signal with the requested frequency to act as the internal reference.

During all our temperature experiment, According to the United States Department of Defense temperature test method standards [22], the rate of temperature rise was controlled at about 2 °C/min, and the temperature rise from 25 °C to 175 °C, then maintain 1 h. When temperature rising at 200 °C, it had been kept for 4 h. The total experimental time is about 8.6 h. The specific test performance indices and experimental data are shown below.

4.1. Linearity

The generator exported a sine wave signal with a frequency of 800 kHz and an amplitude range of 30–600 mV to test the linearity of the DLIA. Before being sent to the DLIA, the signal was attenuated by 110 dB, which caused the input to have an equivalent amplitude of about 94.8–1896 nV. The internal reference was used as the DLIA reference signal (i.e., the DLIA reference signal had a fixed frequency of 800 kHz throughout the experiment). The linearity of the relationships between the DLIA inputs and outputs in different temperature at 25, 125, 175, and 200 °C are shown in Figure 13.

Figure 13. Outputs of the digital lock-in amplifier (DLIA) change along with the sine wave input from a variable amplifier. The DLIA input frequency was 800 kHz, and the equivalent amplitude range of the sine wave signal was 94.8–1896.0 nV. The theoretical gain of the DLIA was about 96.211 dB.

(Agilent-8596A)

Signal Generator Attenuator

HT_Lock-In Amplifier

LNA Circuit Acquisition and

Processing Circuit

Baking Box

+(Agilent-33220A)

PC

(DHG-9620A)

Reference frequency

selection

external

InternalGate

0 200 400 600 800 1000 1200 1400 1600 1800 20000

10

20

30

40

50

60

70

80

90

100

110

120

25°C 125°C 175°C 200°C

Out

put A

mpl

ifitu

de:m

V

lnput Level :nV

Figure 13. Outputs of the digital lock-in amplifier (DLIA) change along with the sine wave input froma variable amplifier. The DLIA input frequency was 800 kHz, and the equivalent amplitude range ofthe sine wave signal was 94.8–1896.0 nV. The theoretical gain of the DLIA was about 96.211 dB.

Page 12: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 12 of 15

The non-linear errors and equivalent gains of the DLIA at different temperatures are shown inTable 5, in which represents the ratio between the maximum deviation of the measured value ∆ym andthe measuring range yFS, and ε = ∆ym/yFS × 100%. As shown in Table 5, the nonlinear error increasedfrom 1.488% to 1.736% between 25 and 200 ◦C.

Table 5. Relative nonlinear errors and equivalent gains of the digital lock-in amplifier atdifferent temperatures.

ParameterTemperature: T (◦C)

25 125 175 200

ε 1.488% 1.488% 1.653% 1.736%Equivalent Gain (dB) 96.210 96.210 96.187 96.311

4.2. Q Value

The Q value of the DLIA can be described using Equation (16):

Q =f0

∆ f(16)

where f 0 is the centre frequency and ∆f is the DLIA bandwidth.The generator exported a sine wave signal with a frequency of 750 kHz and an amplitude

of 500 mV when the Q value was tested. An attenuation of 110 dB brought the input equivalentamplitude to 1580.0 nV. The internal reference was used as the DLIA reference signal, meaning thatthe DLIA reference signal was at a fixed frequency of 750 kHz throughout the test.

The experiments described below were used to calibrate the centre frequency and the Q value ofthe DLIA, and the results obtained at different temperatures are shown in Table 6. The lock-in-amplifierwas equivalent to a BPF with a narrow bandwidth, and the equivalent BPFs of the DLIA at 25, 125, 175,and 200 ◦C are shown in Figure 14. The DLIA Q value was 1042 at 25–175 ◦C and 1041 at 200 ◦C.

Sensors 2016, 16, 1899 12 of 15

The non-linear errors and equivalent gains of the DLIA at different temperatures are shown in Table 5, in which represents the ratio between the maximum deviation of the measured value Δym and the measuring range yFS, and ε = Δym/yFS 100%. As shown in Table 5, the nonlinear error increased from 1.488% to 1.736% between 25 and 200 °C.

Table 5. Relative nonlinear errors and equivalent gains of the digital lock-in amplifier at different temperatures.

Parameter Temperature: T (°C)

25 125 175 200

ε 1.488% 1.488% 1.653% 1.736% Equivalent Gain (dB) 96.210 96.210 96.187 96.311

4.2. Q Value

The Q value of the DLIA can be described using Equation (16):

0

fQ

f (16)

where f0 is the centre frequency and Δf is the DLIA bandwidth. The generator exported a sine wave signal with a frequency of 750 kHz and an amplitude of

500 mV when the Q value was tested. An attenuation of 110 dB brought the input equivalent amplitude to 1580.0 nV. The internal reference was used as the DLIA reference signal, meaning that the DLIA reference signal was at a fixed frequency of 750 kHz throughout the test.

The experiments described below were used to calibrate the centre frequency and the Q value of the DLIA, and the results obtained at different temperatures are shown in Table 6. The lock-in-amplifier was equivalent to a BPF with a narrow bandwidth, and the equivalent BPFs of the DLIA at 25, 125, 175, and 200 °C are shown in Figure 14. The DLIA Q value was 1042 at 25–175 °C and 1041 at 200 °C.

500 550 600 650 700 750 800 850 900 950 10000.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

Rel

ativ

e A

mpl

itude

(A/A

f=75

0k)

Frequency:kHz

25°C 125°C 175°C 200°C

Figure 14. Experimental digital lock-in amplifier frequency responses. The signal generator output amplitude was 500 mV, and the frequency was 750 kHz. The signal was decreased by 110 dB using an attenuator. The theoretical gain of the digital lock-in amplifier was about 96.211 dB.

Figure 14. Experimental digital lock-in amplifier frequency responses. The signal generator outputamplitude was 500 mV, and the frequency was 750 kHz. The signal was decreased by 110 dB using anattenuator. The theoretical gain of the digital lock-in amplifier was about 96.211 dB.

Page 13: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 13 of 15

Table 6. Q values for the digital lock-in amplifier at different temperatures.

ParameterTemperature: T (◦C)

25 125 175 200

Q 1042 1042 1042 1041

4.3. Frequency Band Characteristic

The generator exported a sine wave signal with an amplitude of 500 mV, a frequency rangeof 500 kHz to 1 MHz, and a step frequency of 20 kHz when the frequency band characteristics weretested. The other conditions were the same as in the earlier experiments. The frequency bandcharacteristics of the DLIA between the inputs and outputs at 25, 125, 175, and 200 ◦C are shownin Figure 15.

The frequency band characteristics at different temperatures were studied by determining theaverage relative error (E′) and the squared sum of the error (Eesq).The average relative error E′ wasdefined in Equation (17), which is the half valve of the difference between maximal and relative error.X(t) is the measured value and S(t) is the theoretical value. E′ represents the difference between themeasured and theoretical curves:

E′ =12×[

max(

X (t)− S (t)S (t)

)−min

(X (t)− S (t)

S (t)

)](17)

Sensors 2016, 16, 1899 13 of 15

Table 6. Q values for the digital lock-in amplifier at different temperatures.

Parameter Temperature: T (°C)

25 125 175 200

Q 1042 1042 1042 1041

4.3. Frequency Band Characteristic

The generator exported a sine wave signal with an amplitude of 500 mV, a frequency range of 500 kHz to 1 MHz, and a step frequency of 20 kHz when the frequency band characteristics were tested. The other conditions were the same as in the earlier experiments. The frequency band characteristics of the DLIA between the inputs and outputs at 25, 125, 175, and 200 °C are shown in Figure 15.

The frequency band characteristics at different temperatures were studied by determining the average relative error ( ) and the squared sum of the error (Eesq).The average relative error was defined in Equation (17), which is the half valve of the difference between maximal and relative error. X(t) is the measured value and S(t) is the theoretical value. represents the difference between the measured and theoretical curves:

1max min

2

X t S t X t S tE

S t S t

(17)

Figure 15. Relative amplitude plotted against the variable frequency of an input sine wave. The signal generator output amplitude was 500 mV, the frequency range was 500 kHz to 1 MHz, the step frequency was 20 kHz, and the attenuator decreased the signal by 110 dB. The theoretical gain of the digital lock-in amplifier was about 96.211 dB.

In Equation (17), X(t) is the measured value and S(t) is the theoretical value. The energy difference (sum of squared errors) between the measured value and the theoretical value can be described using Equation (18):

2 2

1 1

2

1

N N

i irsq N

i

X t S tE

S t

(18)

where X(t) is the measured value and S(t) is the theoretical value.

500 550 600 650 700 750 800 850 900 950 100090919293949596979899

100101102103104105

Out

put A

mpl

itude

:m

V

Frequency:kHz

25°C 125°C 175°C 200°C

Figure 15. Relative amplitude plotted against the variable frequency of an input sine wave. The signalgenerator output amplitude was 500 mV, the frequency range was 500 kHz to 1 MHz, the step frequencywas 20 kHz, and the attenuator decreased the signal by 110 dB. The theoretical gain of the digitallock-in amplifier was about 96.211 dB.

In Equation (17), X(t) is the measured value and S(t) is the theoretical value. The energy difference(sum of squared errors) between the measured value and the theoretical value can be described usingEquation (18):

Ersq =

N∑

i=1[X (t)]2 −

N∑

i=1[S (t)]2

N∑

i=1[S (t)]2

(18)

where X(t) is the measured value and S(t) is the theoretical value.

Page 14: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 14 of 15

The mean maximum relative errors and sum of squared errors at 125, 175, and 200 ◦C relative to25 ◦C are shown in Table 7.

Table 7. Mean maximum relative errors and sum of squared errors relative to 25 ◦C.

ParameterTemperature: T (◦C)

125 175 200

E’ −0.00050 −0.00050 0.0010Ersq −0.0011 0.0039 0.0037

It can be seen that between 125 and 200 ◦C, the mean maximum relative error E’ was about 0.0010and the sum of squared error Ersq was about 0.0039 relative to measurements at 25 ◦C. The experimentalresults show that The performance of our DLIA at high temperature is equivalent to the roomtemperature one in [23,24].

5. Conclusions

We have presented a DLIA consisting of a data acquisition processing system device SiP,an analogue signal conditioning device MCM, and the high temperature commercial devices AD8229and OPA211. The DLIA can operate at environmental temperatures of up to 200 ◦C. The system canwork at high temperatures because the individual components were designed and selected carefully.The DLIA was evaluated at high temperatures (up to 200 ◦C). Tests were performed at differenttemperatures, and the highest nonlinear error was about 1.736%. We found that the consistency ofthe DLIA’s frequency band characteristic was acceptable within the signal frequency range 500 kHzto 1 MHz. Experimental results showed that the DLIA is well suited to detecting weak signals inhigh-temperature environments, especially for well logging, aerospace exploring and many other hightemperature and harsh environment fields.

Acknowledgments: This work was partially supported by Research Fund for the Doctoral Program of HigherEducation of China (20130142120065).

Author Contributions: Jingjing Cheng and Lei Wu conceived and designed the experiments; Yingjun Xuperformed the experiments; Jingjing Cheng and Yingjun Xu analyzed the data; Guangwei Wang contributedreagents/materials/analysis tools; Jingjing Cheng wrote the paper.

Conflicts of Interest: The authors declare no conflict of interest.

References

1. Garcíaromeo, D.; Valero, M.R.; Medrano, N.; Calvo, B.; Celma, S. A high performance LIA-based interfacefor battery powered sensing devices. Sensors 2015, 15, 25260–25276. [CrossRef] [PubMed]

2. Sonnaillon, M.O.; Bonetto, F.J. A low-cost, high-performance, digital signal processor-based lock-in amplifiercapable of measuring multiple frequency sweeps simultaneously. Rev. Sci. Instrum. 2005, 76, 024703.[CrossRef]

3. Díaz-Michelena, M.; Cobos, P.; Aroca, C. Lock-in amplifiers for AMR sensors. Sens. Actuators A Phys. 2015,222, 149–159. [CrossRef]

4. Farnham, J.M. A simple low-cost lock-in amplifier for the laboratory. J. Chem. Educ. 2005, 82, 1399–1401.5. Clark, B. Method and Apparatus for Optimizing Magnetic Signals and Detecting Casing and Resistivity.

U.S. Patent US7962287 B2, 14 June 2011.6. Freedman, R.; Anand, V.; Grant, B.; Ganesan, K.; Tabrizi, P.; Torres, R.; Catina, D.; Ryan, D.; Borman, C.;

Krueckl, C. A compact high-performance low-field NMR apparatus for measurements on fluids at very highpressures and temperatures. Rev. Sci. Instrum. 2014, 85, 025102. [CrossRef] [PubMed]

7. Difoggio, R. Method and Apparatus for Reservoir Characterization Using Photoacoustic Spectroscopy.U.S. Patent 7,520,158 B2, 21 April 2009.

Page 15: A Digital Lock-In Amplifier for Use at Temperatures of up ...

Sensors 2016, 16, 1899 15 of 15

8. Chen, M.Y.; Raghuraman, B.; Bryant, I.; Supp, M.G.; Navarro, J. While-Drilling Apparatus for MeasuringStreaming Potentials and Determining Earth Formation Characteristics. U.S. Patent 7,233,150 B2,19 June 2007.

9. Avant, C.; Daungkaew, S.; Behera, B.K.; Danpanich, S.; Laprabang, W.; Santo, I.D.; Heath, G.; Osman, K.;Khan, Z.A.; Russell, J. Testing the limits in extreme well conditions. Oilfield Rev. 2012, 24, 4–19.

10. Dziedzic, A.; Nowak, D. Thick-film and LTCC passive components for high-temperature electronics.Radioengineering 2013, 22, 218–226.

11. Johnson, R.W.; Evans, J.L.; Jacobsen, P.; Thompson, J.R.; Christopher, M. The changing automotiveenvironment: High-temperature electronics. IEEE Trans. Electron. Packag. Manuf. 2004, 27, 164–176.[CrossRef]

12. Parrott, R.A.; Song, H.; Chen, K.C. Cooling System for Downhole Tools. U.S. Patent 6,336,408 B1,8 January 2002.

13. Rafie, S. Thermal Isolation Devices and Methods for Heat Sensitive Downhole Components.U.S. Patent 7,440,283 B1, 21 October 2008.

14. Prammer, M.G.; Drack, E.; Goodman, G.; Masak, P.; Menger, S.; Morys, M.; Zannoni, S.; Suddarth, B.;Dudley, J. The magnetic-resonance while-drilling tool: Theory and operation. SPE Reserv. Eval. Eng. 2000, 4,270–275. [CrossRef]

15. Chien, C.W.; Lee, S.L.; Lin, J.C.; Jahn, M.T. Effects of Si p size and volume fraction on properties of Al/Si pcomposites. Mater. Lett. 2002, 52, 334–341. [CrossRef]

16. Sipio, E.D.; Galgaro, A.; Destro, E.; Teza, G.; Chiesa, S.; Manzella, A.; Giaretta, A. Subsurface thermalconductivity assessment in Calabria (Southern Italy): A regional case study. Environ. Earth Sci. 2014, 72,1383–1401. [CrossRef]

17. Jing, W.; Cheng, X. Generalized thermal resistance and its application to thermal radiation based on entransytheory. Int. J. Heat Mass Transf. 2013, 58, 374–381.

18. Leis, J.; Martin, P.; Buttsworth, D. Simplified digital lock-in amplifier algorithm. Electron. Lett. 2012, 48,259–261. [CrossRef]

19. Casanova, F.; Perlo, J.; Blümich, B. Single-Sided NMR; Springer: Berlin/Heidelberg, Germany, 2011.20. Li, G.; Zhou, M.; Li, X.X.; Lin, L. Digital lock-in algorithm and parameter settings in multi-channel sensor

signal detection. Measurement 2013, 46, 2519–2524. [CrossRef]21. Communication, S. Digital Signal Processing with Field Programmable Gate Arrays; Springer: Berlin/Heidelberg,

Germany, 2001; pp. 1037–1041.22. Umezawa, K.; Branch, J.; Yamagami, H.; Ofuchi, H.; Ohta, B.; Uchida, Y.; Kitahara, H. Department of defense

test method standard for environmental engineering considerations and laboratory tests. Ann. Emerg. Med.2000, 54, S80–S81. [CrossRef]

23. Azzolini, C.; Magnanini, A.; Tonelli, M.; Chiorboli, G.; Morandi, C. A CMOS vector lock-in amplifier forsensor applications. Microelectron. J. 2010, 41, 449–457. [CrossRef]

24. Alonso, R.; Villuendas, F.; Borja, J.; Barragán, L.A.; Salinas, I. Low-cost, digital lock-in module with externalreference for coating glass transmission/reflection spectrophotometer. Meas. Sci. Technol. 2003, 14, 551–557.[CrossRef]

© 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open accessarticle distributed under the terms and conditions of the Creative Commons Attribution(CC-BY) license (http://creativecommons.org/licenses/by/4.0/).