LOCK-IN AMPLIFIERS

Abstract: A lock-in amplifier includes a phase-sensitive detector (7) having a signal input and a reference input. The output signal from detector (7) is compensated for dc offset errors which are dependent on the frequency of the reference in­ put ad on ambient temperature changes by having a correc­ tion signal added to it in an adder (11). Changes in gain are compensated for by the addition of a compensation signal in an adder (13). Phase errors are compensated by providing a phase shifter (8) for the reference input. The dc correction, gain compensation and phase correction signals are obtained from a controller (10) which provides digital signals the val­ ues of which are derived from a memory (18), a temperature transducer (17) and a reference input frequency meter (16).

Description: Lodc-in amplifiers BACKGROUND OF THE INVENTION The lock-in amplifier is a measuring instrument having two input voltages, commonly known as the signal input and the reference input, and one output which is either in the form of an analog voltage or in the form of a digital word. The essential part of the processing done by a lock-in amplifier is the combination of a voltage derived from the signal input with a voltage derived from the reference input in a unit commonly known as a phase-sensitive rectifier or a dewcdulator but having the essential function of a special-purpose analog multiplier followed by a law- pass filter. Under suitable conditions this operation may result in the accurate measurement of a signal, accompanied by noise of enor mousy greater amplitude than that of the signal itself. It is an object of the invention to provide a lock-in amplifier which provides an output signal of improved accuracy. SUMMARY OF T mE According to the invention a lock-in amplifier includes a phasesensitive detector having a signal input and a reference input, adding means for adding a dc offset correction signal to the output of the phase-sensitive detector, control means for providing such correction signal to the said adding means, the control means having an input derived fran the reference input to the phase-sensitive detector so that the magnitude of The dc offset correction signal depends on the frequency of the reference input. Preferably an ambient temperature measuring device is provided the output of which is applied to the said control means so that the magnitude of the dc offset signal also depends on the ambient temperature. Preferably also a canpensation signal is added to the output of the phase-sensitive detector to compensate for frequency dependent and temperature dependent changes in the level of the output of the phase-sensitive detector. In a preferred embodiment the control means is a digital controller which provides a digital signal to the added means repre- senting the magnitude of the dc offset signal and a digital signal to the further adding means representing the magnitude of the oompensa- tion signal. Output filter means may be provided through which the output of the phase-sensitive detector is passed, the cutout filter having a zero response at the frequency of the reference input and at harmonic frequencies thereof. Input filter means may also be provided through which the signal input to the phase-sensitive detector is passed, the input filter means having zero response at the frequency of the input and har monica thereof. To compensate for any frequency dependent phase shifts though the circuit a voltage-controlled phase shifter may be provided through which the reference input to the phase-sensitive detector is passed. The control voltage for the phase shifter is supplied from the control means. ERIEF DESCRIPTION oF THE DRAWINGS In order that the invention may be more fully understood reference will now be made to the accompanying drawings in which: Figure 1 illustrates in block diagrammatic form a lock-in amplifier embodying the invention, and Figure 2 illustrates in a more detailed form the final switching filter of Figure 1. DESCRIPTICN OF THE: PRE#E:FFF0 EMBODIMENT In the circuit shcwn in Figure 1, the reference input at an input terminal 1 is shown as being processed by a reference processor 2 which modifies the waveform into a convenient form (usually a square-wave) and also provides any required phase-shift under manual or computer control. The design of reference processor 2 is well known and will not be discussed here. The output of reference processor 2, which will be referred to as The reference voltage, is connected to several units which will be described below. The phrase "reference frequency" will be used to mean the fundamental Fourier component of the reference voltage, which is assumed to be periodic. Considering now the signal path, the signal input at a signal input terminal 3 is amplified by an ac signal amplifier 4 of variable gain, which may incorporate filters, and then filtered by an input switching filter 5. This filter 5 is an analog filter of the class in which the resonance frequency is equal to a very good approximation to some submultiple (typically 1/50) of the frequency of a switching input. An example of a filter of this class is the wellknown switched-capacitor filter. In the present circuit the switching input to switching filter 5 is derived fran the reference voltage by means of a frequency multiplier 6 having a multiplication factor (typically 50) equal to The inverse of the sitrnultiple which characterises switching filter 5. The frequency multiplier 6 is typically based on a phase-lodk loop. The result of this arrangement is that switching filter 5 is tuned to a frequency which is very close to the reference frequency. The functions of switching filter 5 are to prevent the circuit from responding to coMponents in the signal input which are at or near harmonics of the reference frequency, and also to increase the dynamic range of the circuit. The output from switching filter 5 is connected to one of the inputs of the demodulator or phase-sensitive rectifier 7, the other input being derived fran the reference processor 2 via a voltage-controlled phase shifter 8. The controlling voltage for voltage-controlled phase shifter 8 is derived from a digital-to-analog converter (day) 9 the digital input to which is derived fran a digital controller 10. Digital controller 10 has a number of other functions which will be described below. The primary purpose of phase shifter 8 is to cancel the effects of frequency-dependent phase shifts resulting from the imperfect operation of switching filter 5. The demodulator 7 contains a low-pass filter and if necessary a dc amplifier, and its output is processed in sequence by the following three units: (a) analog adder 11 by means of which a dc level is added to the demodulator output. This level is derived from a DAC 12 the digital input to which is derived fran the digital controller 10. The purpose of this arrangement is to cancel the effects of frequency-dependent and t#r#erature-depende nt offsets generated in the danodulatar 7. (b) analog adder 13 in conjunction with irLiltiplying digital-to analog converter (MEAC) 14 the digital input to MDAC 14 being derived from digital controller 10. The purpose of this ar rangeneet is to cancel the effects of frequency-dependent and t#rperature-dependent changes in the gain of The other =r ponents of the system. (c) switching filter 15, an analog filter the characteristics of which are controlled by a switching input derived fran reference processor 2 and also by a digital input derived fran digital controller 10. The output of switching filter 15 is the analog output fran the circuit, which although shown in Figure 1 as the sole output is of such a nature as to be readily convertible into digital form by a suitable analoc-to-digital converter. The purpose of switching filter 15 is to prevent the system output frcm containing ac catnnents at the reference frequency and/or its harmonics. It is shown in greater detail in Figure 2. It consists of an analog adder 20, MDAC 21, a negative integrator 22 (i.e. a unit with transfer function equal to a negative constant multiplied by l/s), and two sarrple-hold units 23 and 24 with a NOT gate 25 between their enable inputs, the interconnections being as shown in Figure 2. It can be proved that this arrangement consists of a time-varying linear system with a frequency-response function having zeros at the fundamental frequency of the switching input (assumed periodic) and all its harmonics, and with a dynamic response determined for any given switching frequency by the digital input to MDC 21. In use, a ditigal ##rd appropriate to the particular reference frequency in use is supplied by digital controller 10 to MDAC 21. The special advantages of the circuit described above are based an The action of the digital controller 10 (which at the present time would normally be implemented with a microprocessor) and its associated frequency meter 16, temperature transducer 17 and calibration memory 18. Whenever the instrument is in use, the temperature transducer 17 and frequency meter 16 supply digital inputs to controller 10, and these inform the controller of the current values of temperature and reference frequency. On the basis of these inputs, controller 10 selects fran the calibration memory 18 suitable digital words to be latched into DAC 12, nNc 9 and MDAC 14 to cancel the effects of offset errors, phase errors and gain errors respectively. The controller also supplies a suitable frequency-dependent word to MaAC 21 to optimize The dynamic response of switching filter 15. The calibration memory 18 is supplied with its contents by the following calibration procedure. Before the instrument is first used, and at suitable intervals thereafter, the instrument is con nected to a computer-controlled calibration system (not shown in the diagrams) which is able to supply signal and reference inputs of any required frequency and phase, to vary the tar#erature of the instrument over the specified operating range, and to accept a measure of the output in digital form. On the basis of the measured output values for various values of input frequency and phase and of temperature, it is a relatively simple matter for the calibration system to compute appropriate digital words and present them to a calibration input 19 of the controller for storage in calibration memory 18. The calibration memory 18 is of such a design as to be able to retain its contents when the power supply to the instrument is switched off.

Claims: CLA 1. A lock-in amplifier including a phase-sensitive detector having a signal input and a reference input, adding means for adding a dc offset correction signal to the output of the phase-sensitive detector, control means for providing such correction signal to the said adding means, the control means having an input derived from the reference input to the phase-sensitive detector so that the magnitude of the dc offset correction signal depends on the frequency of the reference input. 2. The amplifier as claimed in Claim I in which an ambient temperature measuring device is provided the output of which is applied to the said control means so that the magnitude of the dc offset signal also depends on the ambient t#rperature. 3. The amplifier as claimed in Claim 1 or Claim 2 in which the said control means is arranged to provide a digital signal representing the magnitude of the dc offset correction signal and digital to-analog conversion means are provided for converting said digital signal to an analog signal. 4. The amplifier as claimed in Claim 2 in which further adding means are provided for adding a carpencation signal to the output of The phase-sensitive detector the said control means providing the carpeation signal, which signal is derived fran the reference input and the output of the ambient temperature measuring device so that the output of the further adding means is ccmpensated for frequency dependent and temperature dependent changes in the level of the output of the phase-sensitive detector. 5. The amplifier as claimed in Claim 4 in which said control means is arranged to provide a digital signal representing the said ccmpen- sation signal to a multiplying digital-to-analog converter together with a further input being the output of the said adding means, and wherein the output of the said maltiplying digital-to-analog converter is supplied to the further adding means. 6. The amplifier as claimed in any one of the preceding claims in which output filter means are provided through which the output of the phase-sensitive detector is passed, said output filter means having a zero response at the frequency of the reference input and harmonics thereof. 7. The amplifier as claimed in any one of the preceding claims in which input filter means are provided through which the signal input to the phase-sensitive detector is passed, said input filter means having zero response at the frequency of the reference input and harmonics threof. 8. The amplifier as claimed in any one of the preceding claims in which the reference input to the phase-sensitive detector is passed through a voltage controlled phase shifter, the control voltage to which is supplied from said control means whereby to compensate for any frequency dependent phase shifts in the circuit.

Inventors: FAULKNER, ERIC ANDREW
Applicants: PRINCETON APPLIED RESEARCH CORPORATION
Application year: 1984
Main classification: G01R25
IPC codes: G01R25, G01R35