CN105322903A - Implementation method of digital lock-in amplifier based on FPGA - Google Patents

Implementation method of digital lock-in amplifier based on FPGA Download PDF

Info

Publication number
CN105322903A
CN105322903A CN201410380672.XA CN201410380672A CN105322903A CN 105322903 A CN105322903 A CN 105322903A CN 201410380672 A CN201410380672 A CN 201410380672A CN 105322903 A CN105322903 A CN 105322903A
Authority
CN
China
Prior art keywords
signal
digital lock
amplifier
fpga
module
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.)
Pending
Application number
CN201410380672.XA
Other languages
Chinese (zh)
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.)
Shenyang Institute of Automation of CAS
Original Assignee
Shenyang Institute of Automation of CAS
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 Shenyang Institute of Automation of CAS filed Critical Shenyang Institute of Automation of CAS
Priority to CN201410380672.XA priority Critical patent/CN105322903A/en
Publication of CN105322903A publication Critical patent/CN105322903A/en
Pending legal-status Critical Current

Links

Landscapes

  • Amplifiers (AREA)

Abstract

本发明涉及一种基于FPGA的数字锁相放大器的实现方法,包括:正交参考信号发生模块,载波信号合成模块,CIC梳状滤波器模块,FIR低通滤波器模块,CORDIC矢量运算模块。正交参考信号发生模块产生与目标信号同频的单位幅值的正交三角函数SIN和COS波。原始信号与正交参考信号SIN,COS通过载波合成模块进行乘积运算,产生两路载波信号。这两路载波信号各自分别通过CIC梳状滤波器模块进行降频,再通过FIR低通滤波器模块进行滤波处理后,经过CORDIC矢量运算模块进行解调及矢量运算,获得目标信号的幅值和相位。本发明克服了常规数字锁相放大器中单路参考信号相位与目标信号必须同相位这一要求。

The invention relates to a realization method of an FPGA-based digital lock-in amplifier, comprising: an orthogonal reference signal generation module, a carrier signal synthesis module, a CIC comb filter module, an FIR low-pass filter module, and a CORDIC vector operation module. The orthogonal reference signal generating module generates orthogonal trigonometric function SIN and COS waves of unit amplitude with the same frequency as the target signal. The original signal and the orthogonal reference signal SIN, COS are multiplied by the carrier synthesis module to generate two carrier signals. The two carrier signals are frequency-reduced respectively through the CIC comb filter module, and then filtered through the FIR low-pass filter module, and then demodulated and vectorized by the CORDIC vector operation module to obtain the amplitude and phase. The invention overcomes the requirement that the phase of the single reference signal and the target signal must be in the same phase in the conventional digital lock-in amplifier.

Description

一种基于FPGA的数字锁相放大器的实现方法A Realization Method of Digital Lock-in Amplifier Based on FPGA

技术领域technical field

本发明涉及信号处理领域,具体涉及微弱信号的检测与处理中的一种基于FPGA的数字锁相放大器的实现方法。The invention relates to the field of signal processing, in particular to an implementation method of an FPGA-based digital lock-in amplifier in the detection and processing of weak signals.

背景技术Background technique

相对于其他的微弱信号检测方法,锁相放大器具有更高的稳定性和灵活性。锁相放大器利用信号的相关性来提取信号,相关性检测可以最大限度的压缩带宽,抑制噪声。传统的锁相放大器采用模拟元器件来实现,但这样会引进更多的噪声。目前,数字锁相放大器得到越来越多的应用。Compared with other weak signal detection methods, the lock-in amplifier has higher stability and flexibility. The lock-in amplifier uses the correlation of the signal to extract the signal, and the correlation detection can compress the bandwidth to the maximum extent and suppress the noise. Traditional lock-in amplifiers are implemented using analog components, but this introduces more noise. Currently, digital lock-in amplifiers are being used more and more.

但常规的数字锁相放大器的参考信号的相位要求与目标信号一致,不仅在一定程度上增加了系统的复杂性,还降低了数字锁相放大器的检测精度。However, the phase requirement of the reference signal of the conventional digital lock-in amplifier is consistent with the target signal, which not only increases the complexity of the system to a certain extent, but also reduces the detection accuracy of the digital lock-in amplifier.

FPGA,即现场可编程门阵列,其内部由大量的门阵列组成,可以进行各种复杂的数字信号处理运算,数据并行处理的硬件结构是其在数字信号处理领域的优势。FPGA, that is, field programmable gate array, is composed of a large number of gate arrays, which can perform various complex digital signal processing operations. The hardware structure of data parallel processing is its advantage in the field of digital signal processing.

将FPGA应用于数字锁相放大器,充分发挥了FPGA在数字信号处理方面的优势,进一步提高了数字锁相放大器的性能。Applying FPGA to digital lock-in amplifier fully exploits the advantages of FPGA in digital signal processing and further improves the performance of digital lock-in amplifier.

发明内容Contents of the invention

本发明的目的在于解决常规数字锁相放大器参考信号相位与目标信号必须同相位的不足,提出一种以FPGA技术为基础,低功耗,低成本,检测精度高的数字锁相放大器的实现方法。The purpose of the present invention is to solve the deficiency that the reference signal phase of the conventional digital lock-in amplifier must be in phase with the target signal, and propose a method based on FPGA technology, low power consumption, low cost, and high detection accuracy digital lock-in amplifier .

本发明为实现上述目的所采用的技术方案是:一种基于FPGA的数字锁相放大器的实现方法,在FPGA中以功能模块的方式实现,具体包括:The technical solution that the present invention adopts for realizing the above object is: a kind of realization method based on the digital lock-in amplifier of FPGA, realizes in the mode of functional module in FPGA, specifically comprises:

产生与目标信号同样频率且相位无关的、单位幅值的正交三角函数SIN波、COS波,作为数字锁相放大器的正交参考信号;Generate quadrature trigonometric function SIN wave and COS wave with the same frequency and phase-independent unit amplitude as the target signal, as the quadrature reference signal of the digital lock-in amplifier;

依据相关性检测原理,将数字锁相放大器输入端的待检测信号分别与两路正交参考信号进行乘积运算,产生两路载波信号;According to the principle of correlation detection, the signal to be detected at the input end of the digital lock-in amplifier is multiplied by two orthogonal reference signals to generate two carrier signals;

对每路载波信号进行低通滤波处理,从而达到消除交流分量,保留直流分量的目的;Perform low-pass filter processing on each carrier signal to achieve the purpose of eliminating the AC component and retaining the DC component;

采用CORDIC算法对滤波后的信号进行解调,并进行矢量运算,从而获得目标信号的幅值和相位。The filtered signal is demodulated by CORDIC algorithm, and the vector operation is performed to obtain the amplitude and phase of the target signal.

所述对每路载波信号进行低通滤波处理,从而达到消除交流分量,保留直流分量的目的,具体为:对每路载波信号通过CIC梳状滤波器进行降低频率处理,再由FIR低通滤波器进行滤波。The said low-pass filter processing is carried out on each carrier signal, so as to achieve the purpose of eliminating the AC component and retaining the DC component. filter.

所述CIC梳状滤波器的阶数取决于目标信号频率与系统采样率之间的关系,具体为:The order of the CIC comb filter depends on the relationship between the target signal frequency and the system sampling rate, specifically:

本发明具有以下优点及有益效果:The present invention has the following advantages and beneficial effects:

1.本发明中的两路参考信号克服了常规数字锁相放大器中单路参考信号相位与目标信号必须同相位这一要求;1. two-way reference signal among the present invention has overcome single-way reference signal phase and this requirement of target signal must be in phase in conventional digital lock-in amplifier;

2.采用CIC梳状滤波器与FIR低通滤波器相结合的特点,提高了滤波器的品质因数,进一步提高了数字锁相放大器的检测精度。2. The combination of CIC comb filter and FIR low-pass filter improves the quality factor of the filter and further improves the detection accuracy of the digital lock-in amplifier.

附图说明Description of drawings

图1为本发明的结构框图。Fig. 1 is a structural block diagram of the present invention.

具体实施方式detailed description

下面结合附图及实施例对本发明做进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

本发明所涉及的一种基于FPGA的数字锁相放大器的实现方法,通过对原始信号与正交参考信号乘积运算得到的载波信号,进行CIC梳状滤波器降频,FIR低通滤波器滤波,再通过CORDIC矢量运算,从而得到目标信号的幅值和相位。The realization method of a digital lock-in amplifier based on FPGA involved in the present invention is to perform CIC comb filter frequency reduction and FIR low-pass filter filtering on the carrier signal obtained by multiplying the original signal and the quadrature reference signal. Then through the CORDIC vector operation, the amplitude and phase of the target signal are obtained.

如图1所示,基于FPGA的数字锁相放大器的实现方法主要包括正交参考信号发生模块、载波合成模块、CIC梳状滤波器模块、FIR低通滤波器模块和CORDIC矢量运算模块。As shown in Figure 1, the implementation of FPGA-based digital lock-in amplifier mainly includes quadrature reference signal generation module, carrier synthesis module, CIC comb filter module, FIR low-pass filter module and CORDIC vector operation module.

正交参考信号发生模块,产生与目标信号同样频率的单位幅值的正交三角函数SIN,COS波,作为数字锁相放大器的正交参考信号,参考信号与目标信号具有相位无关性。两路正交参考信号有效地解决了常规数字锁相放大器中单路参考信号相位与目标信号必须同相位的问题。The quadrature reference signal generation module generates quadrature trigonometric function SIN and COS waves with the same frequency and unit amplitude as the target signal, as the quadrature reference signal of the digital lock-in amplifier, and the reference signal has phase independence with the target signal. The two quadrature reference signals effectively solve the problem that the phase of the single reference signal and the target signal must be in the same phase in conventional digital lock-in amplifiers.

载波合成模块,依据相关性检测原理,将原始信号分别与两路正交参考信号进行乘积运算,达到减弱非相关性信号强度的效果,产生两路载波信号。The carrier synthesis module, based on the principle of correlation detection, performs multiplication operations on the original signal and two orthogonal reference signals to achieve the effect of weakening the strength of non-correlation signals and generate two carrier signals.

CIC滤波器模块,分别对两路载波信号进行降频处理。该滤波器的阶数取决于目标信号频率与系统采样率之间的关系;对于目标信号频率远高于系统采样频率的情况,该模块使FIR低通滤波器可以通过更少的阶数,减少波形建立时间的同时,有效地提高了FIR低通滤波器的滤波性能。The CIC filter module performs down-frequency processing on the two carrier signals respectively. The order of the filter depends on the relationship between the frequency of the target signal and the sampling rate of the system; for the case where the frequency of the target signal is much higher than the sampling frequency of the system, this module enables the FIR low-pass filter to pass fewer orders, reducing While shortening the waveform establishment time, the filtering performance of the FIR low-pass filter is effectively improved.

FIR低通滤波器模块,对载波信号进行低通滤波,消除交流分量,保留直流分量。其低通滤波性能是数字锁相放大器的关键指标,决定锁相放大器检测的高精度。The FIR low-pass filter module performs low-pass filtering on the carrier signal, eliminates the AC component and retains the DC component. Its low-pass filter performance is a key index of digital lock-in amplifiers, which determines the high precision of lock-in amplifier detection.

CORDIC矢量运算模块,采用CORDIC算法对滤波后的信号进行解调,并进行矢量运算,从而获得目标信号的幅值和相位。CORDIC算法是已有的算法,具体可参考《数字信号处理的FPGA实现》((美)贝耶尔著,刘凌译,2011-3-1)。The CORDIC vector operation module uses the CORDIC algorithm to demodulate the filtered signal and perform vector operation to obtain the amplitude and phase of the target signal. The CORDIC algorithm is an existing algorithm. For details, please refer to "FPGA Implementation of Digital Signal Processing" (by Beyer (US), translated by Liu Ling, 2011-3-1).

Claims (3)

1.一种基于FPGA的数字锁相放大器的实现方法,其特征在于,在FPGA中以功能模块的方式实现,具体包括: 1. an implementation method of a digital lock-in amplifier based on FPGA, is characterized in that, realizes in the mode of functional module in FPGA, specifically comprises: 产生与目标信号同样频率且相位无关的、单位幅值的正交三角函数SIN波、COS波,作为数字锁相放大器的正交参考信号; Generate quadrature trigonometric function SIN wave and COS wave with the same frequency and phase-independent unit amplitude as the target signal, as the quadrature reference signal of the digital lock-in amplifier; 依据相关性检测原理,将数字锁相放大器输入端的待检测信号分别与两路正交参考信号进行乘积运算,产生两路载波信号; According to the principle of correlation detection, the signal to be detected at the input terminal of the digital lock-in amplifier is multiplied by two orthogonal reference signals to generate two carrier signals; 对每路载波信号进行低通滤波处理,从而达到消除交流分量,保留直流分量的目的; Perform low-pass filter processing on each carrier signal to achieve the purpose of eliminating the AC component and retaining the DC component; 采用CORDIC算法对滤波后的信号进行解调,并进行矢量运算,从而获得目标信号的幅值和相位。 The filtered signal is demodulated by CORDIC algorithm, and the vector operation is performed to obtain the amplitude and phase of the target signal. 2.根据权利要求1所述的一种基于FPGA的数字锁相放大器的实现方法,其特征在于,所述对每路载波信号进行低通滤波处理,从而达到消除交流分量,保留直流分量的目的,具体为:对每路载波信号通过CIC梳状滤波器进行降低频率处理,再由FIR低通滤波器进行滤波。 2. the realization method of a kind of digital lock-in amplifier based on FPGA according to claim 1, it is characterized in that, described every carrier signal is carried out low-pass filter processing, thereby reaches eliminating AC component, retains the purpose of DC component , specifically: each carrier signal is subjected to frequency reduction processing by a CIC comb filter, and then filtered by an FIR low-pass filter. 3.根据权利要求2所述的一种基于FPGA的数字锁相放大器的实现方法,其特征在于,所述CIC梳状滤波器的阶数取决于目标信号频率与系统采样率之间的关系,具体为: 3. the realization method of a kind of digital lock-in amplifier based on FPGA according to claim 2, is characterized in that, the order number of described CIC comb filter depends on the relation between target signal frequency and system sampling rate, Specifically: .
CN201410380672.XA 2014-08-04 2014-08-04 Implementation method of digital lock-in amplifier based on FPGA Pending CN105322903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410380672.XA CN105322903A (en) 2014-08-04 2014-08-04 Implementation method of digital lock-in amplifier based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410380672.XA CN105322903A (en) 2014-08-04 2014-08-04 Implementation method of digital lock-in amplifier based on FPGA

Publications (1)

Publication Number Publication Date
CN105322903A true CN105322903A (en) 2016-02-10

Family

ID=55249637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410380672.XA Pending CN105322903A (en) 2014-08-04 2014-08-04 Implementation method of digital lock-in amplifier based on FPGA

Country Status (1)

Country Link
CN (1) CN105322903A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483402A (en) * 2016-09-28 2017-03-08 深圳市太赫兹科技创新研究院 Lock-in amplifier test structure and method
CN107121586A (en) * 2017-05-04 2017-09-01 吉林大学 A kind of pair of Phase Lock Technique 20Hz ~ 20kHz multiple-frequency signal amplitude-phase detects distributed system in real time
CN112697762A (en) * 2021-01-07 2021-04-23 中山复旦联合创新中心 High-precision dissolved oxygen meter system and special SoC

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483402A (en) * 2016-09-28 2017-03-08 深圳市太赫兹科技创新研究院 Lock-in amplifier test structure and method
CN107121586A (en) * 2017-05-04 2017-09-01 吉林大学 A kind of pair of Phase Lock Technique 20Hz ~ 20kHz multiple-frequency signal amplitude-phase detects distributed system in real time
CN112697762A (en) * 2021-01-07 2021-04-23 中山复旦联合创新中心 High-precision dissolved oxygen meter system and special SoC

Similar Documents

Publication Publication Date Title
US9892319B2 (en) Fingerprint detection apparatus and method
CN107425850B (en) Dual-channel digital phase-locked amplifier for SERF (spin-exchange fiber) atomic spin gyroscope
JP6509190B2 (en) Transposition modulation system, method and apparatus
CN103973324A (en) Broadband digital receiver and real-time frequency spectrum processing method thereof
CN110429987B (en) A Phase Generation Carrier Demodulation System Based on FPGA
CN105913835B (en) Adaptive filtering method based on mathematical morphology
CN106374918B (en) A High-speed Digital Lock-in Amplifier Based on DSP and FPGA
CN106817130A (en) Burst signal lack sampling system and method based on the limited new fixed rate of interest
CN102095915B (en) Voltage signal detecting device using multiple synchronous reference coordinate system transformation
CN105322903A (en) Implementation method of digital lock-in amplifier based on FPGA
CN102624357B (en) Implementation structure of fractional delay digital filter
CN106546817A (en) A kind of Frequency Estimation with feedback function and energy state postulate
Assef et al. Modeling and FPGA-based implementation of an efficient and simple envelope detector using a Hilbert Transform FIR filter for ultrasound imaging applications
CN102932067B (en) Microwave photon frequency measuring device based on technologies of compressed sampling and time domain broadening and method thereof
CN104122456A (en) Variable step size monostable stochastic resonance weak signal detection method
CN107493249A (en) A kind of ASK demodulation circuit based on analog switch
CN104199037B (en) Recursive filtering modulating method of transient broadband excitation signal of parametric array sonar
CN102510272A (en) Method for realizing frequency spectrum sensing by using multi-phase filter
CN103973622B (en) One kind efficiently MSK communication check demodulation method
CN105022917B (en) A kind of signal accurately extracts and processing method
CN104702546B (en) A kind of Hilbert Real-time demodulation implementation method based on filtering
CN204009444U (en) Non-sinusoidal AC digital Hilbert phase shifter based on FPGA
CN103344829B (en) A kind of simulating signal spectrum analyzer system
WO2018176184A1 (en) Input voltage signal sampling circuit in three-phase three-wire system pfc circuit
CN1603856A (en) A signal detection method for nuclear magnetic resonance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160210

WD01 Invention patent application deemed withdrawn after publication