CN100461629C - A digital lock-in amplifier - Google Patents

A digital lock-in amplifier Download PDF

Info

Publication number
CN100461629C
CN100461629C CNB2007100270655A CN200710027065A CN100461629C CN 100461629 C CN100461629 C CN 100461629C CN B2007100270655 A CNB2007100270655 A CN B2007100270655A CN 200710027065 A CN200710027065 A CN 200710027065A CN 100461629 C CN100461629 C CN 100461629C
Authority
CN
China
Prior art keywords
signal
phase shifter
amplifier
channel
multiplier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2007100270655A
Other languages
Chinese (zh)
Other versions
CN101060311A (en
Inventor
王自鑫
何振辉
周建英
黄熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CNB2007100270655A priority Critical patent/CN100461629C/en
Publication of CN101060311A publication Critical patent/CN101060311A/en
Application granted granted Critical
Publication of CN100461629C publication Critical patent/CN100461629C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Amplifiers (AREA)

Abstract

本发明涉及微弱信号探测放大设备领域,设计了一种数字锁相放大器。包括信号通道,参考通道,信号处理器和中心控制器四个部分,信号通道通过A/D转换器与信号处理器连接,所述信号处理器包括两路与A/D转换器连接的乘法器,与乘法器连接的两路积分器,数控移相器和90度移相器,参考通道经过数控移相器形成两路输出,一路直接做为乘法器的输入,另一路经过90度移相器后再输入另一路乘法器,两路积分器分别经过两个D/A转换器后形成两路输出。信号经过信号通道放大之后,通过A/D转换器转换成数字信号,再输入信号处理器中与参考通道的参考信号进行相乘和积分运算。是一个完全的数字运算过程,这是数字锁相放大器的最大特点。

The invention relates to the field of weak signal detection and amplification equipment, and designs a digital lock-in amplifier. It includes four parts: signal channel, reference channel, signal processor and central controller. The signal channel is connected to the signal processor through the A/D converter, and the signal processor includes two multipliers connected to the A/D converter. , two integrators connected to the multiplier, a digitally controlled phase shifter and a 90-degree phase shifter, the reference channel forms two outputs through the digitally controlled phase shifter, one is directly used as the input of the multiplier, and the other is 90-degree phase shifted The multiplier is then input into another multiplier, and the two integrators respectively pass through two D/A converters to form two outputs. After the signal is amplified by the signal channel, it is converted into a digital signal by the A/D converter, and then input to the signal processor to be multiplied and integrated by the reference signal of the reference channel. It is a complete digital operation process, which is the biggest feature of digital lock-in amplifier.

Description

一种数字锁相放大器 A digital lock-in amplifier

技术领域 technical field

本发明涉及微弱信号探测放大设备领域,更具体的说是一种数字锁相放大器。The invention relates to the field of weak signal detection and amplification equipment, in particular to a digital lock-in amplifier.

技术背景technical background

近年来,微弱信号检测技术是利用电子学、信息论和物理学的方法,分析噪声产生的原理和规律,研究被测信号的特点与相关性,检测被噪声背景淹没的微弱信号的一门新兴的技术学科,锁相放大器作为微弱信号检测的常用仪器,已被广泛应用于工业生产、科学研究、医疗设备等众多领域中。例如,分子速质谱仪、扫描电镜(SEM),软X射线激发电位能谱仪(SXAPS)、俄歇(Auger)电子谱仪等一起中都采用了锁相放大器。现有的锁相放大器多数采用模拟的方法实现。In recent years, the weak signal detection technology is a new method to analyze the principle and law of noise generation, study the characteristics and correlation of the measured signal, and detect the weak signal submerged by the noise background by using the methods of electronics, information theory and physics. As a common instrument for weak signal detection, lock-in amplifiers have been widely used in many fields such as industrial production, scientific research, and medical equipment. For example, lock-in amplifiers are used in molecular mass spectrometers, scanning electron microscopes (SEM), soft X-ray excited potential spectrometers (SXAPS), and Auger electron spectrometers. Most of the existing lock-in amplifiers are implemented by analog methods.

发明内容 Contents of the invention

本发明设计了一种数字锁相放大器,数字锁相放大器是模拟锁相放大器的改进。使用最先进的数字信号处理技术,对研究信号进行模拟/数字转换,然后利用数字信号稳定性好、抗干扰能力强、数学逻辑运算方便等特点进行数据处理。The invention designs a digital lock-in amplifier, which is an improvement of the analog lock-in amplifier. Using the most advanced digital signal processing technology, the research signal is converted from analog to digital, and then the data is processed by using the characteristics of good stability of the digital signal, strong anti-interference ability, and convenient mathematical logic operation.

本发明通过以下技术方案实现其发明目的。The present invention realizes its object of invention through the following technical solutions.

本发明设计的数字锁相放大器,包括信号通道,参考通道,信号处理器和中心控制器四个部分,信号通道通过A/D转换器与信号处理器连接,所述信号处理器包括两路与A/D转换器连接的乘法器,与乘法器连接的两路积分器,数控移相器和90度移相器,参考通道经过数控移相器形成两路输出,一路直接做为乘法器的输入,另一路经过90度移相器后再输入另一路乘法器,两路积分器分别经过两个D/A转换器后形成两路输出。信号经过信号通道放大之后,通过A/D转换器转换成数字信号,再输入信号处理器中与参考通道的参考信号进行相乘和积分运算。是一个完全的数字运算过程,这是数字锁相放大器的最大特点。由于一般的模拟乘法器与其他模拟器件容易受到外部干扰,以及存在温飘等问题,在高速运算中,精确度会大大降低。这些缺点在数字系统中是完全不存在的。相对于模拟信号,数字信号的抗干扰能力非常强,特别是对于高速变化的信号。中心控制器用于对各个模块的自动控制,与信号通道和信号处理器的控制端与连接The digital lock-in amplifier designed by the present invention comprises signal channel, reference channel, four parts of signal processor and central controller, and signal channel is connected with signal processor by A/D converter, and described signal processor includes two-way and A multiplier connected to the A/D converter, two integrators connected to the multiplier, a digitally controlled phase shifter and a 90-degree phase shifter, the reference channel forms two outputs through the digitally controlled phase shifter, and one is directly used as the output of the multiplier Input, the other channel passes through a 90-degree phase shifter and then enters another multiplier, and the two integrators pass through two D/A converters to form two outputs. After the signal is amplified by the signal channel, it is converted into a digital signal by the A/D converter, and then input to the signal processor to be multiplied and integrated by the reference signal of the reference channel. It is a complete digital operation process, which is the biggest feature of digital lock-in amplifier. Because general analog multipliers and other analog devices are susceptible to external interference, and there are problems such as temperature drift, the accuracy will be greatly reduced in high-speed operations. These disadvantages are completely absent in digital systems. Compared with analog signals, the anti-interference ability of digital signals is very strong, especially for high-speed changing signals. The central controller is used for automatic control of each module, and is connected with the control terminal of the signal channel and signal processor

所述信号通道包括模拟增益电路、高Q值的数控窄带滤波器和数控衰减电路。数控窄带滤波器中心频率由中心控制器控制自动跟踪系统的参考频率,把参考频率以外的噪声过滤,Q值达到1,大大提高了系统的输入噪声容限,使仪器适用范围更广。The signal channel includes an analog gain circuit, a digitally controlled narrowband filter with a high Q value and a numerically controlled attenuation circuit. The central frequency of the numerical control narrowband filter is controlled by the central controller to automatically track the reference frequency of the system, and the noise other than the reference frequency is filtered, and the Q value reaches 1, which greatly improves the input noise tolerance of the system and makes the instrument applicable to a wider range.

参考通道的参考信号的频率范围是800hz~20khz,这个范围已经囊括一般的光学探测,以及材料测量的频段范围,满足相当范围的教学应用与研发、测量应用。由于避开了50hz、100hz的低频范围干扰,系统结构大大简化,因此在测量范围内产品的性能大大提高,同时价格也比国外的各种锁相放大器要低。The frequency range of the reference signal of the reference channel is 800hz~20khz, which covers the frequency range of general optical detection and material measurement, and meets a considerable range of teaching applications, research and development, and measurement applications. Due to the avoidance of 50hz and 100hz low-frequency interference, the system structure is greatly simplified, so the performance of the product within the measurement range is greatly improved, and the price is also lower than various foreign lock-in amplifiers.

本设计的数控移相器和90度移相器输出的方波参考信号由转换器转变成相应的正弦参考波和余弦参考波再输入乘法器。两路乘法分别为信号与正弦参考波、余弦参考波相乘,并输出两路结果。由于模拟乘法器存在一定的不稳定与相位延迟等特性,因此一般的锁相放大器都是采用方波的参考信号与输入信号进行相乘的。然而这样的做法会导致把输入信号中参考频率的多次谐波加载到相乘结果中,导致相乘结果与真实信号强度存在一定的偏差,精确度降低。本发明设计的数字锁相放大器根据参考方波信号的频率与相位,把参考信号还原为正弦波与余弦波,然后再跟输入信号进行乘法,这样就解决了谐波加载的缺陷。The square wave reference signal output by the digitally controlled phase shifter and 90-degree phase shifter in this design is converted into corresponding sine reference wave and cosine reference wave by the converter and then input into the multiplier. The two-way multiplication is to multiply the signal by the sine reference wave and the cosine reference wave respectively, and output the two-way results. Because the analog multiplier has certain characteristics such as instability and phase delay, the general lock-in amplifier uses a square wave reference signal to multiply the input signal. However, such an approach will cause multiple harmonics of the reference frequency in the input signal to be loaded into the multiplication result, resulting in a certain deviation between the multiplication result and the real signal strength, and the accuracy will be reduced. According to the frequency and phase of the reference square wave signal, the digital lock-in amplifier designed by the present invention restores the reference signal to a sine wave and a cosine wave, and then multiplies the input signal, thus solving the defect of harmonic loading.

本发明将所述乘法器,积分器,数控移相器,90度移相器和转换器采用可编程逻辑器件封装成一片芯片。将主要运算元件制作成集成芯片,具有很高的抗干扰能力。In the invention, the multiplier, the integrator, the digitally controlled phase shifter, the 90-degree phase shifter and the converter are packaged into one chip by using a programmable logic device. The main computing elements are made into integrated chips, which have high anti-interference ability.

中心控制器连接有一个液晶显示屏用于连续显示两个D/A转换器的输出。采用趋势线直观地显示了系统一段时间内的工作状态,为红外镀膜、交流磁化率等生产测量工作带来了很大的方便性;同时也是给操作人员带来的一种人性化的信息。The central controller is connected with a liquid crystal display for continuously displaying the output of two D/A converters. The trend line is used to visually display the working status of the system for a period of time, which brings great convenience to production measurement work such as infrared coating and AC magnetic susceptibility; it is also a kind of humanized information to operators.

模拟增益电路设有增益结果输出,数控窄带滤波器设有自动跟踪滤波输出,乘法器设有相敏乘法输出,积分器设有积分结果输出。方便操作人员监控和检测系统工作状态。The analog gain circuit is provided with a gain result output, the numerically controlled narrowband filter is provided with an automatic tracking filter output, the multiplier is provided with a phase-sensitive multiplication output, and the integrator is provided with an integral result output. It is convenient for operators to monitor and detect the working status of the system.

模拟增益电路、数控窄带滤波器和A/D转换器设有与中心控制器连接的信号溢出检测端,保证信号不失真。The analog gain circuit, digitally controlled narrow-band filter and A/D converter are provided with a signal overflow detection terminal connected to the central controller to ensure that the signal is not distorted.

附图说明 Description of drawings

图1为本发明的模块示意图;Fig. 1 is the module schematic diagram of the present invention;

图2为图1的详细系统结构图;Fig. 2 is a detailed system structure diagram of Fig. 1;

图3为锁相放大器性能参数关系图;Fig. 3 is a relationship diagram of lock-in amplifier performance parameters;

图4为窄带滤波器对过载电平的影响图。Figure 4 is a graph showing the effect of a narrowband filter on the overload level.

具体实施方式 Detailed ways

以下结合附图对本发明做进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.

如图1所示的数字锁相放大器,包括信号通道1,参考通道2、信号处理器3和中心控制器8四个主要部分,模拟的检测信号从信号通道1输入,经过信号通道1放大之后,由A/D转换器4转换成数字信号,输入信号处理器3。参考信号经过参考通道2进行放大、整形、滤波后,形成方波输入输入信号处理器3。由信号处理器3将检测信号和参考信号进行运算后形成两路输出,输出两个D/A转换器5和5’变换成X通道和Y通道的模拟输出,经过中心控制器8并由液晶显示屏6连续显示出来。中心控制器8用于系统的自动化控制,与信号通道1和信号处理器3的控制端连接。The digital lock-in amplifier shown in Figure 1 includes four main parts: signal channel 1, reference channel 2, signal processor 3 and central controller 8. The analog detection signal is input from signal channel 1 and amplified by signal channel 1. , which is converted into a digital signal by the A/D converter 4 and input to the signal processor 3 . The reference signal is amplified, shaped and filtered through the reference channel 2 to form a square wave input to the signal processor 3 . The detection signal and the reference signal are calculated by the signal processor 3 to form two outputs, and the output two D/A converters 5 and 5' are transformed into analog outputs of the X channel and the Y channel, which are passed through the central controller 8 and controlled by the liquid crystal Display screen 6 shows continuously. The central controller 8 is used for automatic control of the system, and is connected with the control terminal of the signal channel 1 and the signal processor 3 .

本发明的数字锁相放大器的具体硬件结构图如图2所示。信号通道1包括模拟增益电路11、高Q值的数控窄带滤波器12和数控衰减电路13。信号通道1的主要功能是对输入的检测信号进行模拟增益,由于通常输入的检测信号的幅值都比较小,一般在mv或uv数量级,而且信号通常都埋藏在各种噪声中,因此模拟增益部分需要做到:系统内部产生的噪声低,并且尽可能把测量频率范围(800hz~10khz)以外的频率信号过滤。信号输入后,系统能够进行高倍数增益(本系统最大增益为180dB),并且要求增益的线性度比较高。系统有自动跟踪窄带滤波器,即数控窄带滤波器12中心频率自动跟踪系统的参考频率,过滤外部噪声,大大提高了系统的输入噪声容限,使仪器适用范围更广。本发明的满刻度灵敏度FS为10nv,系统动态储备为53dB。The specific hardware structure diagram of the digital lock-in amplifier of the present invention is shown in FIG. 2 . The signal channel 1 includes an analog gain circuit 11 , a digitally controlled narrowband filter 12 with a high Q value and a digitally controlled attenuation circuit 13 . The main function of signal channel 1 is to perform analog gain on the input detection signal. Since the amplitude of the input detection signal is usually relatively small, generally in the order of mv or uv, and the signal is usually buried in various noises, the analog gain Part of it needs to be done: the noise generated inside the system is low, and the frequency signals outside the measurement frequency range (800hz~10khz) should be filtered as much as possible. After the signal is input, the system can perform high multiple gain (the maximum gain of this system is 180dB), and the linearity of the gain is required to be relatively high. The system has an automatic tracking narrow-band filter, that is, the center frequency of the numerical control narrow-band filter 12 automatically tracks the reference frequency of the system, filters external noise, greatly improves the input noise tolerance of the system, and makes the instrument applicable to a wider range. The full-scale sensitivity FS of the present invention is 10nv, and the dynamic reserve of the system is 53dB.

关于数控窄带滤波器12的Q值的选用问题。锁相放大器是一种高效率的弱信号提取仪器,实际上就是抵抗各种干扰和噪声的仪器。因此抵抗噪声的能力是锁相放大器的关键参数。这个参数可以用动态储备来描述。Regarding the selection of the Q value of the digitally controlled narrowband filter 12. The lock-in amplifier is a high-efficiency weak signal extraction instrument, and it is actually an instrument that resists various interferences and noises. Therefore, the ability to resist noise is a key parameter of the lock-in amplifier. This parameter can be described by dynamic reserves.

动态储备定义为锁相放大器的过载电平OVL与满刻度输出时的输入电平FS之比的分贝值,即The dynamic reserve is defined as the decibel value of the ratio of the overload level OVL of the lock-in amplifier to the input level FS at full scale output, that is

动态储备=201g(OVL/FS)   (dB)Dynamic reserve = 201g (OVL/FS) (dB)

具体的动态储备、OVL、FS之间的关系如图3所示。如图所示,由于输入信号中含有噪声,而通常噪声的功率是比实际信号的功率要大的。由图3可以得知,动态储备越大,系统抑制噪声的能力就越强。实际上,由于锁相放大器是通过频率相位选择抑制噪声的,因此动态储备是随频率变化的。图4中,左图是没有加入数控窄带滤波器12的,信号很容易就溢出了。右图是加入了数控窄带滤波器12的,在一定宽度的频率范围上,OVL有了一定的提升。并且,数控窄带滤波器12的Q值越高,OVL提升的范围越大,中间的凹陷越窄,表明动态范围增大了。然而,由于通常的数控窄带滤波器12存在一定的不稳定性,导致中心频率的漂移,输出信号不稳定,因此窄带滤波器的Q值不能太高。本发明设计的数字锁相放大器,加入了数控窄带滤波器12系统。这个系统由单片机进行数字控制,保证了中心频率fr的稳定,同时滤波器拥有比较高的Q值,达到了系统与稳定性的统一。The specific relationship among dynamic reserve, OVL and FS is shown in Figure 3. As shown in the figure, since the input signal contains noise, the power of the noise is usually greater than the power of the actual signal. It can be known from Figure 3 that the greater the dynamic reserve, the stronger the ability of the system to suppress noise. In fact, since the lock-in amplifier suppresses noise through frequency-phase selection, the dynamic reserve varies with frequency. In Fig. 4, the left picture is without the digitally controlled narrowband filter 12, and the signal overflows easily. The picture on the right shows that the digital control narrowband filter 12 is added, and the OVL has been improved to a certain extent in a certain frequency range. Moreover, the higher the Q value of the digitally controlled narrowband filter 12, the larger the range of OVL enhancement, and the narrower the depression in the middle, indicating that the dynamic range is increased. However, due to certain instability in the usual numerically controlled narrowband filter 12, the center frequency drifts and the output signal is unstable, so the Q value of the narrowband filter cannot be too high. The digital lock-in amplifier designed by the present invention adds a digitally controlled narrowband filter 12 system. The system is digitally controlled by a single-chip microcomputer, which ensures the stability of the center frequency fr. At the same time, the filter has a relatively high Q value, which achieves the unity of the system and stability.

输入参考通道1的参考信号的频率范围是800hz~20khz,这个范围已经囊括一般的光学探测,以及材料测量的频段范围,满足相当范围的教学应用与研发、测量应用。由于避开了50hz的低频范围干扰,系统结构大大简化,因此在测量范围内产品的性能大大提高,同时价格也比国外的各种锁相放大器要低。参考信号经过信号通道1放大、整形和滤波之后形成方波输入信号处理器3。The frequency range of the reference signal input to reference channel 1 is 800hz~20khz. This range has covered the frequency range of general optical detection and material measurement, and can meet a considerable range of teaching applications, research and development, and measurement applications. Due to the avoidance of 50hz low-frequency interference, the system structure is greatly simplified, so the performance of the product within the measurement range is greatly improved, and the price is also lower than various foreign lock-in amplifiers. The reference signal is amplified, shaped and filtered by the signal channel 1 to form a square wave input to the signal processor 3 .

信号处理器3包括两路与A/D转换器4连接的乘法器31、31’,与乘法器31连接的两路积分器32、32’,数控移相器33和90度移相器34,参考通道2经过数控移相器33形成两路输出,一路做为乘法器31的输入,另一路经过90度移相器34后再输入另一路乘法器31’,数控移相器33和90度移相器34输出的方波参考信号由转换器35转变成相应的正弦参考波和余弦参考波再输入乘法器31、31’,两路积分器32、32’分别经过两个D/A转换器5、5’后形成两路输出。所述乘法器31、31’,积分器32、32’,数控移相器33,90度移相器34和转换器35采用可编程逻辑器件封装成一片芯片。Signal processor 3 includes two-way multipliers 31, 31' connected with A/D converter 4, two-way integrators 32, 32' connected with multiplier 31, digitally controlled phase shifter 33 and 90-degree phase shifter 34 , the reference channel 2 forms two outputs through the digitally controlled phase shifter 33, one is used as the input of the multiplier 31, and the other is input to another multiplier 31' after passing through the 90-degree phase shifter 34, and the digitally controlled phase shifters 33 and 90 The square wave reference signal output by degree phase shifter 34 is converted into corresponding sine reference wave and cosine reference wave by converter 35 and then input into multipliers 31, 31', and two-way integrators 32, 32' pass through two D/A The converters 5 and 5' form two outputs. Described multiplier 31,31 ', integrator 32,32 ', numerical control phase shifter 33, 90 degree phase shifter 34 and converter 35 adopt programmable logic device to be packaged into a chip.

信号处理器3是锁相放大器的核心部分。锁相技术就是把增益后的信号与参考信号进行乘法运算,然后进行低通滤波,即积分运算。The signal processor 3 is the core part of the lock-in amplifier. The phase-locking technology is to multiply the gain signal and the reference signal, and then perform low-pass filtering, that is, integral operation.

假设输入的波形方程为:Suppose the input wave equation is:

Si(t)=Aisin(ωt+φ)+Bi(t)            (1)S i (t)=A i sin(ωt+φ)+B i (t) (1)

其中ω是系统的参考频率,Aisin(ωt+φ)是信号部分,Bi(t)是噪声部分where ω is the reference frequency of the system, A i sin(ωt+φ) is the signal part, B i (t) is the noise part

参考信号为:The reference signal is:

Sr(t)=Arsin(ωt)                     (3)S r (t)=A r sin(ωt) (3)

输入信号和参考信号在乘法器中相乘并由积分器积分得到:The input and reference signals are multiplied in a multiplier and integrated by an integrator to obtain:

SS 00 == limlim nno →&Right Arrow; ∞∞ 11 nTn ∫∫ 00 nTn SS ii (( tt )) SS rr (( tt )) dtdt

== limlim nno →&Right Arrow; ∞∞ {{ 11 nTn [[ ∫∫ 00 nTn AA ii AA rr sinsin (( ωtωt ++ φφ )) sinsin (( ωtωt )) dtdt ++ ∫∫ 00 nTn AA rr BB ii (( tt )) sinsin (( ωtωt )) dtdt ]] }}

== 11 22 AA ii AA rr coscos φφ -- -- -- (( 44 ))

由结果的方程可以看出,结果与时间t无关,并且与噪声Bi(t)无关。只是跟信号的幅值与相对相位差有关系。It can be seen from the resulting equation that the result is independent of time t and independent of noise B i (t). It is only related to the amplitude and relative phase difference of the signal.

本系统中用到的是双通道相敏相关运算,具体运算结果如下。This system uses dual-channel phase-sensitive correlation calculations, and the specific calculation results are as follows.

双通道系统中参考信号变为In a two-channel system the reference signal becomes

Sr(t)=Arsin(ωt)            (5)S r (t)=A r sin(ωt) (5)

S′r(t)=Arcos(ωt)          (6)S′ r (t)=A r cos(ωt) (6)

被测信号和参考信号在乘法器中相乘并由积分器积分得到The measured signal and the reference signal are multiplied in the multiplier and integrated by the integrator to obtain

SS 00 == limlim nno →&Right Arrow; ∞∞ 11 nTn ∫∫ 00 nTn SS ii (( tt )) SS rr (( tt )) dtdt

== limlim nno →&Right Arrow; ∞∞ {{ 11 nTn [[ ∫∫ 00 nTn AA ii AA rr sinsin (( ωtωt ++ φφ )) sinsin (( ωtωt )) dtdt ++ ∫∫ 00 nTn AA rr BB ii (( tt )) sinsin (( ωtωt )) dtdt ]] }}

== 11 22 AA ii AA rr coscos φφ -- -- -- (( 77 ))

SS 11 == limlim nno →&Right Arrow; ∞∞ 11 nTn ∫∫ 00 nTn SS ii (( tt )) SS ′′ rr (( tt )) dtdt

== limlim nno →&Right Arrow; ∞∞ {{ 11 nTn [[ ∫∫ 00 nTn AA ii AA rr sinsin (( ωtωt ++ φφ )) sinsin (( ωtωt )) dtdt ++ ∫∫ 00 nTn AA rr BB ii (( tt )) coscos (( ωtωt )) dtdt ]] }}

== 11 22 AA ii AA rr sinsin φφ -- -- -- (( 88 ))

因此,当把两个通道按照以下的代数式进行运算,就可以得到与相位角无关的结果。Therefore, when the two channels are operated according to the following algebraic formula, a result that has nothing to do with the phase angle can be obtained.

SS 11 22 ++ SS 00 22

== (( 11 22 AA ii AA rr coscos φφ )) 22 ++ (( 11 22 AA ii AA rr sinsin φφ )) 22 -- -- -- (( 99 ))

== 11 22 AA ii AA rr

由(7)和(8)式相除,可以得到输入信号与参考信号的相对相位差。由(9)式可以得到输入信号的幅值。By dividing by (7) and (8), the relative phase difference between the input signal and the reference signal can be obtained. By (9) the amplitude of the input signal can be obtained.

可以看出在本发明的数字锁相放大器中,以上的所有运算都是在信号处理器3和中心控制器8中完成的,是一个完全的数字运算过程,这是数字锁相放大器的最大特点。由于一般的模拟乘法器与其他模拟器件容易受到外部干扰,以及存在温飘等问题,在高速运算中,精确度会大大降低。这些缺点在数字系统中是完全不存在的。相对于模拟信号,数字信号的抗干扰能力非常强,特别是对于高速变化的信号。It can be seen that in the digital lock-in amplifier of the present invention, all of the above operations are completed in the signal processor 3 and the central controller 8, which is a complete digital operation process, which is the biggest feature of the digital lock-in amplifier . Because general analog multipliers and other analog devices are susceptible to external interference, and there are problems such as temperature drift, the accuracy will be greatly reduced in high-speed operations. These disadvantages are completely absent in digital systems. Compared with analog signals, the anti-interference ability of digital signals is very strong, especially for high-speed changing signals.

数字处理的核心使用了高性能的数字信号处理器作为中心控制器8,可编程逻辑器件作为信号处理器3,数字信号通道采样速度为1mhz,数据长度为12BIT。采用完全的数字运算过程,以及全过程的数字控制。这样的数据处理方式保证了系统有很好的的稳定性与测量精确性,这些特性在微弱信号测量领域是非常重要的。The core of the digital processing uses a high-performance digital signal processor as the central controller 8, a programmable logic device as the signal processor 3, the sampling speed of the digital signal channel is 1mhz, and the data length is 12BIT. It adopts complete digital operation process and digital control of the whole process. This data processing method ensures the system has good stability and measurement accuracy, these characteristics are very important in the field of weak signal measurement.

本数字相敏相关器系统主要由A/D转换、可编程逻辑器件、D/A转换三个部分组成。其中A/D转换器4和两个D/A转换器5、5’转换都是采用新形的12位的高精度转换芯片,系统数据采样率为1MHz。在前后两个数字与模拟数据的转换部分,都用高精度运放进行了采样滤波,最大程度减少采样失真的现象。The digital phase-sensitive correlator system is mainly composed of three parts: A/D conversion, programmable logic device, and D/A conversion. Wherein the A/D converter 4 and the two D/A converters 5, 5' conversions all adopt new 12-bit high-precision conversion chips, and the system data sampling rate is 1MHz. In the conversion part of the front and rear digital and analog data, high-precision op amps are used for sampling filtering to minimize the phenomenon of sampling distortion.

可编程逻辑器件芯片是整个相敏相关器的核心。FPGA内部,主要完成的功能有:The programmable logic device chip is the core of the whole phase-sensitive correlator. Inside the FPGA, the main functions are:

根据中心控制器8的控制,通过数控移相器33对输入的方波进行移相,移相精度达到0.5度。解析经过移相以后的参考方波,由转换器35产生相应的正弦参考波和余弦参考波。控制乘法器31、31’进行双路速率为1MHz的12bit乘法运算。两路乘法器31、31’分别将信号与正弦参考波、余弦参考波相乘,并输出两路结果。由于模拟乘法器存在一定的不稳定与相位延迟等特性,因此一般的锁相放大器都是采用方波的参考信号与输入信号进行相乘的。然而这样的做法会导致把输入信号中参考频率的多次谐波加载到相乘结果中,导致相乘结果与真实信号强度存在一定的偏差,精确度降低。本设计的数字锁相放大器根据参考方波信号的频率与相位,把参考信号还原为正弦波与余弦波,然后再跟输入信号进行乘法,这样就解决了谐波加载的缺陷。According to the control of the central controller 8, the input square wave is phase-shifted through the digitally controlled phase shifter 33, and the phase-shifting accuracy reaches 0.5 degrees. After analyzing the phase-shifted reference square wave, the converter 35 generates corresponding sine reference wave and cosine reference wave. The control multipliers 31, 31 ' carry out the 12bit multiplication operation with a dual rate of 1MHz. The two-way multipliers 31, 31' multiply the signal by the sine reference wave and the cosine reference wave respectively, and output two-way results. Because the analog multiplier has certain characteristics such as instability and phase delay, the general lock-in amplifier uses a square wave reference signal to multiply the input signal. However, such an approach will cause multiple harmonics of the reference frequency in the input signal to be loaded into the multiplication result, resulting in a certain deviation between the multiplication result and the real signal strength, and the accuracy will be reduced. According to the frequency and phase of the reference square wave signal, the digital lock-in amplifier of this design restores the reference signal to sine wave and cosine wave, and then multiplies it with the input signal, thus solving the defect of harmonic loading.

配合中心控制器8,可编程逻辑器件还可以自动移动相位,让参考信号的相位与输入信号的相位相同,保证输出信号中x通道的输出幅值就是输入信号的整数倍,同时y通道的输出幅值趋近于0。数字相敏相关器的积分器32、32’也是集成在可编程逻辑器件芯片内部,全数字的积分可以精确地控制积分时间,打破了传统模拟积分器的积分时间误差问题。Cooperating with the central controller 8, the programmable logic device can also automatically shift the phase, so that the phase of the reference signal is the same as that of the input signal, ensuring that the output amplitude of the x channel in the output signal is an integer multiple of the input signal, and at the same time the output of the y channel The amplitude tends to be 0. The integrators 32 and 32' of the digital phase-sensitive correlator are also integrated in the programmable logic device chip, and the all-digital integration can accurately control the integration time, breaking the integration time error problem of the traditional analog integrator.

由于采用高速的D/A芯片,工作速度跟A/D转换的速度相同。因此,系统还能实现把双路乘法器的实时乘法结果以模拟信号的形式输出。中心控制器8连接有一个液晶显示屏6用于连续显示两个D/A转换器5、5’的输出。这样可以便于工作人员检查锁相放大器乘法的效果,判断得到最终积分结果的可靠性;同时便于高校学生对于锁相放大器工作原理的理解、学习。本系统采用了320×240液晶显示屏6输出结果,液晶显示屏6输出内容除了一般的各种参数值以外,还有最大的特色:显示x通道与y通道最终积分的趋势线。这种趋势线直观地显示了系统一段时间内的工作状态,为红外镀膜、交流磁化率等生产测量工作带来了很大的方便性;同时也是给操作人员带来的一种人性化的信息。Due to the use of high-speed D/A chips, the working speed is the same as that of A/D conversion. Therefore, the system can also output the real-time multiplication result of the dual multiplier in the form of an analog signal. The central controller 8 is connected with a liquid crystal display 6 for continuously displaying the output of two D/A converters 5, 5'. In this way, it is convenient for the staff to check the multiplication effect of the lock-in amplifier and judge the reliability of the final integral result; at the same time, it is convenient for college students to understand and learn the working principle of the lock-in amplifier. This system uses a 320×240 LCD screen 6 to output the results. In addition to the general various parameter values, the output content of the LCD screen 6 also has the biggest feature: displaying the trend line of the final integral of the x channel and the y channel. This trend line intuitively shows the working status of the system for a period of time, which brings great convenience to production measurement work such as infrared coating and AC magnetic susceptibility; it is also a kind of humanized information to operators .

本数字锁相放大器在信号通道的整个过程都有信号溢出机制,保证信号不失真,如设有放大信号溢出检测端81、窄带滤波器信号溢出检测端82和A/D转换信号溢出检测端83与中心控制器8连接。This digital lock-in amplifier has a signal overflow mechanism in the whole process of the signal channel to ensure that the signal is not distorted, such as being provided with an amplified signal overflow detection terminal 81, a narrowband filter signal overflow detection terminal 82 and an A/D conversion signal overflow detection terminal 83 Connect with central controller 8.

同时,系统有多个模拟输出点,如模拟增益电路11设有增益结果输出71,数控窄带滤波器12设有自动跟踪滤波输出72,乘法器31、31’设有相敏乘法输出73、73’,积分器32、32’设有积分结果输出74、74’。这些输出点对于工作人员检测系统工作状态与高校实验教学都有很大的帮助。At the same time, the system has multiple analog output points, such as the analog gain circuit 11 is provided with a gain result output 71, the numerically controlled narrowband filter 12 is provided with an automatic tracking filter output 72, and the multipliers 31, 31' are provided with a phase-sensitive multiplication output 73, 73 ', the integrators 32, 32' are provided with integration result outputs 74, 74'. These output points are very helpful for the staff to detect the working status of the system and the experimental teaching in colleges and universities.

中心控制器8还设有外部接口62与电脑连接,和控制面板的接入端61。方便了操作员监控和对系统进行设置。The central controller 8 is also provided with an external interface 62 connected with a computer, and an access terminal 61 of the control panel. Allows for easy operator monitoring and system setup.

Claims (8)

1.一种数字锁相放大器,包括信号通道(1),参考通道(2),信号处理器(3)和中心控制器(8)四个部分,其特征是信号通道(1)通过A/D转换器(4)与信号处理器(3)连接,所述信号处理器(3)包括两路与A/D转换器(4)连接的乘法器(31)、(31’),与乘法器(31)、(31’)连接的两路积分器(32)、(32’),数控移相器(33)和90度移相器(34);参考通道(2)经过数控移相器(33)形成两路输出,一路直接做为乘法器(31)的输入,另一路经过90度移相器(34)后再输入另一路乘法器(31’),两路积分器(32)、(32’)分别经过两个D/A转换器(5)、(5’)后形成两路输出,信号通道(1)和信号处理器(3)的控制端与中心控制器(8)连接。1. a digital lock-in amplifier, comprising signal channel (1), reference channel (2), signal processor (3) and central controller (8) four parts, it is characterized in that signal channel (1) passes through A/ D converter (4) is connected with signal processor (3), and described signal processor (3) comprises the multiplier (31), (31 ') that two roads are connected with A/D converter (4), and multiplication Two-way integrator (32), (32') connected to device (31), (31 '), digitally controlled phase shifter (33) and 90 degree phase shifter (34); reference channel (2) is through digitally controlled phase shifter Device (33) forms two-way output, one road is directly used as the input of multiplier (31), and another road is input into another road multiplier (31 ') again after 90 degree phase shifter (34), two road integrators (32 ), (32') form two-way output after two D/A converters (5), (5') respectively, the control terminal of signal channel (1) and signal processor (3) and central controller (8 )connect. 2.根据权利要求1所述的数字锁相放大器,其特征是所述信号通道(1)包括模拟增益电路(11)、数控窄带滤波器(12)和数控衰减电路(13)。2. The digital lock-in amplifier according to claim 1, characterized in that said signal path (1) comprises an analog gain circuit (11), a numerically controlled narrowband filter (12) and a numerically controlled attenuation circuit (13). 3.根据权利要求2所述的数字锁相放大器,其特征是所述参考通道(2)的参考信号的频率范围是800hz~20khz。3. The digital lock-in amplifier according to claim 2, characterized in that the frequency range of the reference signal of the reference channel (2) is 800hz~20khz. 4.根据权利要求3所述的数字锁相放大器,其特征是数控移相器(33)和90度移相器(34)输出的方波参考信号由转换器(35)转变成相应的正弦参考波和余弦参考波再输入乘法器(31)、(31’)。4. digital lock-in amplifier according to claim 3, it is characterized in that the square wave reference signal that numerical control phase shifter (33) and 90 degree phase shifter (34) output is converted into corresponding sine wave by converter (35) The reference wave and the cosine reference wave are then input into the multipliers (31), (31'). 5.根据权利要求4所述的数字锁相放大器,其特征是所述乘法器(31)、(31’),积分器(32)、(32’),数控移相器(33),90度移相器(34)和转换器(35)采用一片可编程逻辑器件实现。5. digital lock-in amplifier according to claim 4, is characterized in that described multiplier (31), (31 '), integrator (32), (32 '), digitally controlled phase shifter (33), 90 The degree phase shifter (34) and converter (35) are realized by a programmable logic device. 6.根据权利要求1或2或3或4或5所述的数字锁相放大器,其特征是中心控制器(8)连接有一个液晶显示屏(6)用于连续显示两个D/A转换器(5)、(5’)的输出。6. The digital lock-in amplifier according to claim 1 or 2 or 3 or 4 or 5, characterized in that the central controller (8) is connected with a liquid crystal display (6) for continuous display of two D/A conversion The output of device (5), (5'). 7.根据权利要求2或3或4或5所述的数字锁相放大器,其特征是模拟增益电路(11)设有增益结果输出(71),数控窄带滤波器(12)设有自动跟踪滤波输出(72),乘法器(31).(31’)设有相敏乘法输出(73)、(73’),积分器(32)、(32’)设有积分结果输出(74)、(74’)。7. according to the described digital lock-in amplifier of claim 2 or 3 or 4 or 5, it is characterized in that analog gain circuit (11) is provided with gain result output (71), and numerical control narrow-band filter (12) is provided with automatic tracking filtering Output (72), multiplier (31). (31 ') is provided with phase-sensitive multiplication output (73), (73 '), and integrator (32), (32 ') is provided with integration result output (74), ( 74'). 8.根据权利要求2或3或4或5所述的数字锁相放大器,其特征是模拟增益电路(11)、数控窄带滤波器(12)和A/D转换器(4)设有与中心控制器(8)连接的信号溢出检测端。8. according to the described digital lock-in amplifier of claim 2 or 3 or 4 or 5, it is characterized in that analog gain circuit (11), numerical control narrow-band filter (12) and A/D converter (4) are provided with and center The signal overflow detection terminal connected to the controller (8).
CNB2007100270655A 2007-06-19 2007-06-19 A digital lock-in amplifier Expired - Fee Related CN100461629C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100270655A CN100461629C (en) 2007-06-19 2007-06-19 A digital lock-in amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100270655A CN100461629C (en) 2007-06-19 2007-06-19 A digital lock-in amplifier

Publications (2)

Publication Number Publication Date
CN101060311A CN101060311A (en) 2007-10-24
CN100461629C true CN100461629C (en) 2009-02-11

Family

ID=38866244

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100270655A Expired - Fee Related CN100461629C (en) 2007-06-19 2007-06-19 A digital lock-in amplifier

Country Status (1)

Country Link
CN (1) CN100461629C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626220B (en) * 2009-08-03 2011-05-18 浙江大学 Digital lock-in amplifier based on CORDIC algorithm
CN101964633B (en) * 2010-10-22 2013-09-11 天津大学 Lock-in amplifier circuit for detecting terahertz pulse signals
CN102045036B (en) * 2011-01-27 2013-01-23 中山大学 Digital phase lock amplifier
CN103344610A (en) * 2013-07-03 2013-10-09 邱宁 CDMA (code division multiple access) forward scatter visibility detector and detection method
CN103475326A (en) * 2013-09-03 2013-12-25 周健 Digital double-phase lock-in amplifier for laser online gas analyzer
CN104953970A (en) * 2015-06-30 2015-09-30 中国地质调查局南京地质调查中心 Phase-locked amplifier
CN108288956A (en) * 2017-12-29 2018-07-17 河南北瑞电子科技有限公司 A kind of digital Lock-in Amplifier based on DSP
CN110441577A (en) * 2019-08-16 2019-11-12 大连世有电力科技有限公司 A kind of highly integrated transformer iron core grounding current intelligent online monitoring device
CN112350721B (en) * 2020-11-10 2024-04-19 许继电源有限公司 Phase compensation method and device for quadrature phase-locked amplifier based on time-division multiplexing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4807146A (en) * 1986-02-19 1989-02-21 Louisiana State University Digital lock-in amplifier
US5210484A (en) * 1992-05-15 1993-05-11 Louis R. Fantozzi Lock-in amplifier
CN1595804A (en) * 2004-06-25 2005-03-16 天津大学 Novel lock phase detection circuit
CN1885043A (en) * 2005-06-23 2006-12-27 中国科学院电子学研究所 Digital control circuit and method for small phase-lock amplifier

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4807146A (en) * 1986-02-19 1989-02-21 Louisiana State University Digital lock-in amplifier
US5210484A (en) * 1992-05-15 1993-05-11 Louis R. Fantozzi Lock-in amplifier
CN1595804A (en) * 2004-06-25 2005-03-16 天津大学 Novel lock phase detection circuit
CN1885043A (en) * 2005-06-23 2006-12-27 中国科学院电子学研究所 Digital control circuit and method for small phase-lock amplifier

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
一种基于DSP和采样ADC的数字锁定放大器. 胡绍民,张广发.数据采集与处理,第15卷第2期. 2000
一种基于DSP和采样ADC的数字锁定放大器. 胡绍民,张广发.数据采集与处理,第15卷第2期. 2000 *
一种新型锁相放大器检测电路. 林凌,王小林,李刚,王朔,刘铭.天津大学学报,第38卷第1期. 2005
一种新型锁相放大器检测电路. 林凌,王小林,李刚,王朔,刘铭.天津大学学报,第38卷第1期. 2005 *
锁相放大器的新进展. 孙志斌,陈佳圭.实验技术,第35卷第10期. 2006
锁相放大器的新进展. 孙志斌,陈佳圭.实验技术,第35卷第10期. 2006 *

Also Published As

Publication number Publication date
CN101060311A (en) 2007-10-24

Similar Documents

Publication Publication Date Title
CN100461629C (en) A digital lock-in amplifier
CN102045036B (en) Digital phase lock amplifier
CN104092442B (en) Lock-in amplifier of analog-digital mixed structure and lock-in amplification method of lock-in amplifier
CN105486225B (en) A kind of phase demodulating device and demodulation method for inhibiting light-intensity variation noise
CN102043091B (en) Digital High Precision Phase Detector
CN102122456B (en) Digital phase-locked amplification experiment device for teaching experiment
CN107425850B (en) Dual-channel digital phase-locked amplifier for SERF (spin-exchange fiber) atomic spin gyroscope
CN104122444A (en) All-digital intermediate frequency spectrum analyzer and spectrum analyzing method
CN107966620A (en) A kind of phase noise measurement device and method of digital frequency discrimination
CN101476906A (en) Anti-strong fixed interference digital signal processing system of vortex street flowmeter
CN105676008A (en) A digital electric field sensor
CN106291105B (en) A kind of sweep generator based on digital zero intermediate frequency
CN101320060A (en) Fast phase meter
CN110161310B (en) Weak signal detection method based on difference frequency modulation phase locking
CN101685113B (en) Method and device for measuring phase shift
Serov et al. Application of simulation modeling to determine the parameters of electrical signals by using a quadrature demodulator
CN201387450Y (en) Digital-Analog Hybrid Harmonic Analyzer
CN202119835U (en) Unstable harmonic and interharmonic measuring instrument
CN102323481B (en) Measuring apparatus for unstable harmonics and interharmonics
CN104569675A (en) Flickering detecting circuit and detecting method in electric energy measuring chip
Leis et al. Sampling, quantization and computational aspects of the quadrature lock-in amplifier
CN204359684U (en) A kind of high-precision gas concentration detection apparatus
CN116626562A (en) A Miniaturized Digital GMI Sensor for Weak Alternating Magnetic Field Measurement
Oliva et al. Improving the computational efficiency of lock-in algorithms through coherent averaging
CN100382431C (en) Realization Method of Double Correction Software Phase Locked Loop

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090211

Termination date: 20120619