CN104811146A - Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences - Google Patents

Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences Download PDF

Info

Publication number
CN104811146A
CN104811146A CN201510177573.6A CN201510177573A CN104811146A CN 104811146 A CN104811146 A CN 104811146A CN 201510177573 A CN201510177573 A CN 201510177573A CN 104811146 A CN104811146 A CN 104811146A
Authority
CN
China
Prior art keywords
signal
sequence
amplifier
lock
analog
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
CN201510177573.6A
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.)
Xidian University
Original Assignee
Xidian 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 Xidian University filed Critical Xidian University
Priority to CN201510177573.6A priority Critical patent/CN104811146A/en
Publication of CN104811146A publication Critical patent/CN104811146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Analogue/Digital Conversion (AREA)
  • Amplifiers (AREA)

Abstract

本发明公开一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,其包括逆重复m序列信号产生单元、待测微弱电压信号、斩波器、正向放大器、反向放大器、模拟开关、低通滤波器、直流放大器和模数转换器;所述逆重复m序列信号产生单元控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列;所述斩波器用于将待测微弱电压信号调制成交变信号;所述正向放大器、反相放大器和模拟开关构成数字相关器;所述低通滤波器用以作为整个锁定放大系统的积分器;所述直流放大器将低通滤波器输出的信号调节到模数转换器的采集范围内;所述模数转换器用于采集直流放大器的输出电压。该锁定放大系统能改善信噪比、增加抗干扰能力。

The invention discloses a lock-in amplification system for anti-odd multiplier interference based on an inverse repeated m-sequence, which includes an inverse repeated m-sequence signal generation unit, a weak voltage signal to be measured, a chopper, a forward amplifier, a reverse amplifier, an analog switch, low-pass filter, DC amplifier and analog-to-digital converter; the inverse repetitive m sequence signal generation unit controls the workflow of the entire lock-in amplification system, collects input information, and uses codes to generate inverse repetitive m sequences; the chopper uses The weak voltage signal to be measured is modulated into an alternating signal; the forward amplifier, the inverting amplifier and the analog switch constitute a digital correlator; the low-pass filter is used as an integrator of the entire lock-in amplification system; the DC amplifier will The signal output by the low-pass filter is adjusted to be within the collection range of the analog-to-digital converter; the analog-to-digital converter is used to collect the output voltage of the DC amplifier. The lock-in amplification system can improve the signal-to-noise ratio and increase the anti-interference ability.

Description

一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统A Lock-In Amplification System Against Odd-octave Interference Based on Inverse Repeated M-Sequence

技术领域 technical field

本发明涉及锁定放大器领域,尤其涉及一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统。 The invention relates to the field of lock-in amplifiers, in particular to a lock-in amplifier system based on an anti-odd multiplier frequency interference based on an inverse repeated m-sequence.

背景技术 Background technique

工程上需要检测幅度小,变化缓慢或者直流信号的的时候通常会选用锁定放大手段进行处理。即将微弱的、变化缓慢的信号经过调制,变成交流的信号,从而避开1/f噪声和放大器的直流漂移问题。有时为了简化设计,会直接利用斩波器将微弱的信号调制成周期方波信号(角频率为ω0),再用同频同相的方波信号作为参考信号驱动模拟开关,正半周期导通正向放大器,负半周期导通反相放大器(类似于整流电路),然后将PSD输出的脉动信号进行滤波,滤除高频部分,就只剩下跟待测信号幅度相关的低频部分了。 In engineering, when the detection range is small, the change is slow or the DC signal is usually selected, the lock-in amplification method is used for processing. That is, the weak and slow-changing signal is modulated into an AC signal, thereby avoiding the 1/f noise and the DC drift problem of the amplifier. Sometimes in order to simplify the design, a chopper is used to directly modulate the weak signal into a periodic square wave signal (the angular frequency is ω 0 ), and then use the square wave signal of the same frequency and phase as a reference signal to drive the analog switch, and the positive half cycle is turned on Positive amplifier, negative half-period turn-on inverting amplifier (similar to rectifier circuit), then filter the pulsating signal output by PSD, filter out the high-frequency part, leaving only the low-frequency part related to the amplitude of the signal to be measured.

锁定放大器可以将幅度较小的直流信号或者缓慢变化的信号用一固定频率的均值为零的载波(方波或者正弦波)进行调制,经放大后再用参考信号(通常为跟调制信号同频同相的方波或者正弦波)通过模拟电路进行相关处理,其输出量只跟待测信号成正比关系,相关处理过程中凡是与调制信号不相关的噪声信号都将被滤除,能够极大的提高放大电路的信噪改善比。因为参考信号与调制信号同频同相,就跟“锁住了”一样,因此叫做锁定放大,也叫锁相放大。 The lock-in amplifier can modulate a DC signal with a small amplitude or a slowly changing signal with a carrier (square wave or sine wave) with a fixed frequency and an average value of zero, and then use a reference signal (usually the same frequency as the modulation signal) after amplification. The same-phase square wave or sine wave) is processed through the analog circuit, and its output is only proportional to the signal to be measured. During the correlation processing, all noise signals that are not related to the modulation signal will be filtered out, which can greatly improve the Improve the signal-to-noise improvement ratio of the amplifier circuit. Because the reference signal and the modulation signal have the same frequency and phase, it is just like "locked", so it is called lock-in amplification, also called phase lock-in amplification.

锁定放大器可以采用模拟乘法器来实现,但是模拟乘法器在实际锁定放大器中使用比较麻烦,绝大多数采用开关调制法进行锁定放大,即经调制过的待测信号在参考信号(50%占空比)方波的控制下进行极性变换。现有的锁定放大器对偶倍频率干扰抑制的很好,但是对奇倍频的干扰抑制能力有限,因为奇倍频的信号在一个方波周期里的积累平均值不为0,无法完全抵消。 The lock-in amplifier can be implemented with an analog multiplier, but it is troublesome to use an analog multiplier in an actual lock-in amplifier. Most of them use the switch modulation method for lock-in amplification. than) under the control of the square wave for polarity transformation. Existing lock-in amplifiers are very good at suppressing even-octave frequency interference, but their ability to suppress odd-octave frequency interference is limited, because the cumulative average value of odd-octave frequency signals in a square wave period is not 0, and cannot be completely canceled.

例如假设调制信号为r(t),待检测的微弱信号为a(一般都是直流或近似直流,当作常数处理),那么调制之后的信号为ar(t),设噪声信号为n(t),那么输入信号x(t)=ar(t)+n(t),锁定放大器的输出结果为x(t)和r(t)的互相关函数: For example, suppose the modulating signal is r(t), and the weak signal to be detected is a (generally DC or approximately DC, treated as a constant), then the modulated signal is ar(t), and the noise signal is n(t ), then the input signal x(t)=ar(t)+n(t), the output result of the lock-in amplifier is the cross-correlation function of x(t) and r(t):

       R xr = lim T → ∞ 1 T ∫ 0 T x ( t ) r ( t - τ ) dt = lim T → ∞ 1 T ∫ 0 T [ ar ( t ) + n ( t ) ] r ( t - τ ) dt = lim T → ∞ 1 T ∫ 0 T ar ( t ) r ( t - τ ) dt + lim T → ∞ 1 T n ( t ) r ( t - τ ) dt = a R rr + R rn R xr = lim T &Right Arrow; ∞ 1 T ∫ 0 T x ( t ) r ( t - τ ) dt = lim T &Right Arrow; ∞ 1 T ∫ 0 T [ ar ( t ) + no ( t ) ] r ( t - τ ) dt = lim T &Right Arrow; ∞ 1 T ∫ 0 T ar ( t ) r ( t - τ ) dt + lim T &Right Arrow; ∞ 1 T no ( t ) r ( t - τ ) dt = a R rr + R rn

结果中aRrr是我们要求得的结果,里面包含了待测信号a的成分,Rrr则是参考信号的自相关函数,只要参考信号和调制信号的相位差固定为零,则Rrr就是个定值,因此aRrr只随待测信号a的变化而变化,实现了锁定放大器的目的。 In the result, aR rr is the result we require, which contains the component of the signal a to be tested, and R rr is the autocorrelation function of the reference signal. As long as the phase difference between the reference signal and the modulation signal is fixed to zero, then R rr is a Fixed value, so aR rr only changes with the change of the signal a to be measured, and realizes the purpose of the lock-in amplifier.

而Rrn是噪声信号与参考信号的互相关函数,互相关的物理意义就是两个信号的相似程度,从频域上看,如果噪声n(t)与r(t)的频率成分有重叠的部分,那该项就不为零了,对结果就产生了干扰。我们说过,一般r(t)是占空比为50%的方波,方波的频率含量有ω0,3ω0,5ω0...等奇次谐波,所以说如果噪声n(t)里含有这些奇次谐波的话就会对相关结果产生不利影响。 And R rn is the cross-correlation function between the noise signal and the reference signal. The physical meaning of cross-correlation is the similarity between the two signals. From the frequency domain, if the frequency components of the noise n(t) and r(t) overlap part, then this item is not zero, which interferes with the result. We have said that generally r(t) is a square wave with a duty cycle of 50%, and the frequency content of the square wave has odd harmonics such as ω 0 , 3ω 0 , 5ω 0 ..., so if the noise n(t ) containing these odd harmonics will adversely affect the correlation results.

因此现有的锁定放大器一旦某些干扰信号频率接近或等于调制信号,就会对锁定放大器结果产生不良影响。当干扰信号的频率接近3ω0,5ω0,7ω0...时尚可通过添加额外的滤波电路来提高设备的信噪改善比。但是,一旦当干扰信号频率非常接近ω0时,滤波电路是很难区分的,而且很多情况下由于设备间的耦合,干扰信号就等于ω0,此时锁定放大系统只能通过相位来区分干扰信号和待测信号。 Therefore, in the existing lock-in amplifier, once the frequency of some interference signals is close to or equal to the modulating signal, it will have a bad influence on the results of the lock-in amplifier. When the frequency of the interfering signal is close to 3ω 0 , 5ω 0 , 7ω 0 . However, once the interference signal frequency is very close to ω 0 , the filter circuit is difficult to distinguish, and in many cases due to the coupling between devices, the interference signal is equal to ω 0 , at this time the lock-in amplifier system can only distinguish the interference by phase signal and the signal to be tested.

传统的锁定放大器都是以纯硬件电子系统实现的,这在设备的研发、调试和升级方面都会带来诸多的不便,而且传统的指针式表盘所带来的读数和精度问题也应该得到改善。 Traditional lock-in amplifiers are all implemented with pure hardware electronic systems, which will bring a lot of inconvenience in the development, debugging and upgrading of equipment, and the reading and accuracy problems caused by traditional pointer dials should also be improved.

因此,需要设计一种全新的锁定放大系统,要能够抗奇倍频干扰,精度高,读数方便,参数可调。 Therefore, it is necessary to design a brand-new lock-in amplification system, which must be able to resist odd frequency interference, high precision, convenient reading, and adjustable parameters.

发明内容 Contents of the invention

本发明针对上述现有技术的不足,设计了一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统。该锁定放大系统可以极大地增加系统的抗干扰能力、简化系统的复杂程度。 Aiming at the deficiencies of the above-mentioned prior art, the present invention designs a lock-in amplification system based on an inverse repeated m-sequence to resist odd multiplier interference. The lock-in amplification system can greatly increase the anti-interference ability of the system and simplify the complexity of the system.

为解决上述现有技术中存在的技术问题,采用的具体技术方案是: In order to solve the technical problems existing in the above-mentioned prior art, the concrete technical scheme that adopts is:

一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,包括逆重复m序列信号产生单元、待测微弱电压信号、斩波器、正向放大器、反向放大器、模拟开关、低通滤波器、直流放大器和模数转换器,其中: A lock-in amplification system based on reverse repetitive m-sequence anti-odd multiplier interference, including reverse repetitive m-sequence signal generation unit, weak voltage signal to be measured, chopper, forward amplifier, reverse amplifier, analog switch, low-pass Filters, DC amplifiers and analog-to-digital converters, where:

所述逆重复m序列信号产生单元用于控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列,控制模数转换器采集各放大器的输出电压,且内部编写有滤波算法以提高整个锁定放大系统的信噪比; The inverse repetitive m-sequence signal generation unit is used to control the workflow of the entire lock-in amplification system, collect input information, use codes to generate an inverse repetitive m-sequence, control the analog-to-digital converter to collect the output voltage of each amplifier, and internally program a filtering algorithm To improve the signal-to-noise ratio of the entire lock-in amplifier system;

所述斩波器用于将待测微弱电压信号调制成交变信号,调制后的信号幅度为待测信号的幅度,波形为逆重复m序列; The chopper is used to modulate the weak voltage signal to be measured into an alternating signal, the modulated signal amplitude is the amplitude of the signal to be measured, and the waveform is an inverse repeating m sequence;

所述正向放大器、反相放大器和模拟开关构成数字相关器; The forward amplifier, the inverting amplifier and the analog switch constitute a digital correlator;

所述低通滤波器用以作为整个锁定放大系统的积分器; The low-pass filter is used as an integrator of the entire lock-in amplification system;

所述直流放大器将低通滤波器输出的信号调节到模数转换器的采集范围内; The DC amplifier adjusts the signal output by the low-pass filter to the acquisition range of the analog-to-digital converter;

所述模数转换器用于采集直流放大器的输出电压。 The analog-to-digital converter is used to collect the output voltage of the DC amplifier.

优选的方案,所述逆重复m序列信号产生单元包括移位寄存器和反馈网络,所述逆重复m序列信号由移位寄存器加反馈网络产生。 In a preferred solution, the generating unit of the inverse repetitive m-sequence signal includes a shift register and a feedback network, and the inverse repetitive m-sequence signal is generated by a shift register plus a feedback network.

进一步优选的技术方案,所述逆重复m序列信号产生单元包括单片机、键盘和LCD显示屏;所述单片机用于控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列,控制AD采集放大器输出电压,且内部编写有滤波算法以提高整个锁定放大系统的信噪比,所述逆重复m序列信号由单片机产生;所述键盘用于输入需要产生的逆重复m序列长度,以及序列的发送频率;所述LCD显示屏用于人机交互时显示提示界面,用于锁定放大检测时显示检测结果。 In a further preferred technical solution, the inverse repeating m-sequence signal generating unit includes a single-chip microcomputer, a keyboard and an LCD display; the single-chip microcomputer is used to control the workflow of the entire lock-in amplification system, collect input information, and use codes to generate an inverse repeating m-sequence, Control the output voltage of the AD acquisition amplifier, and internally write a filtering algorithm to improve the signal-to-noise ratio of the entire lock-in amplification system. The reverse repetition m-sequence signal is generated by a single-chip microcomputer; the keyboard is used to input the length of the reverse repetition m-sequence that needs to be generated. and the sending frequency of the sequence; the LCD display screen is used for displaying a prompt interface during human-computer interaction, and for displaying a detection result during lock-in amplification detection.

通过采用上述方案,本发明的基于逆重复m序列的抗奇倍频干扰的锁定放大系统与现有技术相比,其技术效果在于: By adopting the above-mentioned scheme, compared with the prior art, the lock-in amplification system based on the anti-odd multiplier interference of the reverse repeated m-sequence of the present invention has the following technical effects:

1.将锁定放大器的参考信号由占空比为50%的方波改为自相关性优良的逆重复m序列,极大地增加了系统的抗干扰能力。 1. Change the reference signal of the lock-in amplifier from a square wave with a duty cycle of 50% to an inverse repetitive m-sequence with excellent autocorrelation, which greatly increases the anti-interference ability of the system.

2.使用了逆重复m序列之后可以省去原先为了抑制奇倍频干扰而设计的滤波电路,简化了系统的复杂程度。 2. After using the inverse repetitive m-sequence, the filter circuit originally designed to suppress odd-multiple frequency interference can be omitted, which simplifies the complexity of the system.

3.用单片机产生逆重复m序列,其长度,周期由程序控制,灵活多变,实现简单。 3. Use a single-chip microcomputer to generate an inverse repeating m-sequence, whose length and cycle are controlled by a program, flexible and changeable, and easy to implement.

4.单片机对AD采样的信号进行数字滤波,进一步滤除高频分量,提高信噪比改善比。 4. The single-chip microcomputer performs digital filtering on the signal sampled by AD to further filter out high-frequency components and improve the signal-to-noise ratio improvement ratio.

5.采用LCD显示器显示系统参数和采集结果,方便,直观。 5. LCD display is used to display system parameters and collection results, which is convenient and intuitive.

附图说明 Description of drawings

图1为产生逆重复m序列信号的移位寄存器加反馈网络; Fig. 1 is the shift register plus feedback network that produces the reverse repetition m-sequence signal;

图2为单片机产生逆重复m序列信号的系统流程图; Fig. 2 is the system flow chart that the single-chip microcomputer produces the reverse repetition m-sequence signal;

图3为现有技术中的锁定放大器中的方波的自相关函数示意图; Fig. 3 is the autocorrelation function schematic diagram of the square wave in the lock-in amplifier in the prior art;

图4为本发明的锁定放大系统中的逆重复m序列的自相关函数示意图; Fig. 4 is a schematic diagram of the autocorrelation function of the reverse repeat m sequence in the lock-in amplification system of the present invention;

图5为方波对2次谐波的抑制示意图; Figure 5 is a schematic diagram of the suppression of the second harmonic by a square wave;

图6为逆重复m序列对2次谐波的抑制示意图; Fig. 6 is the schematic diagram of the suppression of the 2nd harmonic by the reverse repeated m sequence;

图7为方波对3次谐波的抑制示意图; Figure 7 is a schematic diagram of the suppression of the third harmonic by a square wave;

图8为逆重复m序列对3次谐波的抑制示意图; Fig. 8 is a schematic diagram of the suppression of the 3rd harmonic by the reverse repeated m-sequence;

图9为实施例1的基于逆重复m序列的抗奇倍频干扰的锁定放大系统的结构示意图。 FIG. 9 is a schematic structural diagram of a lock-in amplification system based on an inverse repeated m-sequence and resisting odd frequency interference in Embodiment 1. FIG.

具体实施方式 detailed description

为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实例,对本发明进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。 In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with specific examples. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

如图1所示,线性反馈移位寄存器的初始状态为(a0a1…an-2an-1),经过一次移位线性反馈,移位寄存器左端第一级的输入状态为 As shown in Figure 1, the initial state of the linear feedback shift register is (a 0 a 1 …a n-2 a n-1 ), after a shift of linear feedback, the input state of the first stage at the left end of the shift register is

       a n = c 1 a n - 1 + c 2 a n - 2 + · · · + c n - 1 a 1 + c n a 0 = Σ i = 1 n c i a n - i a no = c 1 a no - 1 + c 2 a no - 2 + · · &Center Dot; + c no - 1 a 1 + c no a 0 = Σ i = 1 no c i a no - i

经过k次移位,则第一级的输入为 After k shifts, the input of the first stage is

       a i = Σ i = 1 n a i a l - i a i = Σ i = 1 no a i a l - i

其中,l=n+k-1≥n,k=1,2,3,…。 Wherein, l=n+k-1≥n, k=1, 2, 3, . . .

根据递推关系式可知,移位寄存器的第一级的输入由反馈逻 辑及移位寄存器的原状态所决定。 According to the recurrence relation It can be seen that the input of the first stage of the shift register is determined by the feedback logic and the original state of the shift register.

将得到的m序列扩展2倍后隔位取反才能形成逆重复m序列。如果序列比较长,则需要多个芯片相互组合。在此不对逆重复m序列的硬件产生进行过多的描述。 The reverse repeat m sequence can be formed by extending the obtained m sequence by 2 times and then inverting every other position. If the sequence is relatively long, multiple chips need to be combined with each other. The hardware generation of the inverse repeated m-sequence will not be described too much here.

当所述逆重复m序列信号由单片机程序产生。其产生原理跟硬件的移位寄存器加反馈网络相同,只不过移位寄存器的长度N,初始状态an,反馈网络cn都是由单片机程序控制的,其流程图如图2所示: When the reverse repeat m-sequence signal is generated by a single-chip computer program. Its generation principle is the same as the hardware shift register plus feedback network, except that the length N of the shift register, the initial state a n , and the feedback network c n are all controlled by the single-chip microcomputer program, and its flow chart is shown in Figure 2:

寄存器的初始值an,反馈网络cn以常量数组的形式烧写在单片机的ROM里,用户通过键盘选择合适的反馈网络可以通过程序模拟移位寄存器来生成不同长度的m序列。产生的m序列长度为N,存放在RAM里。然后扩展成长度为2N的重复m序列,再隔位取反生成长度为2N的逆重复m序列。 The initial value a n of the register and the feedback network c n are programmed in the ROM of the single-chip microcomputer in the form of a constant array. The user selects the appropriate feedback network through the keyboard and can simulate the shift register through the program to generate m-sequences of different lengths. The generated m-sequence has a length of N and is stored in RAM. Then it is expanded into a repeated m sequence with a length of 2N, and then reversed to generate an inverse repeated m sequence with a length of 2N.

产生的逆重复m序列随时间变化的波形为r(t)。r(t)分成两路,一路用来驱动斩波器,将微弱信号a调制成按照r(t)波形变化的交变信号ar(t),ar(t)同时被同相放大器和反相放大器放大,产生两路相位对称的信号Aar(t)和-Aar(t)(A为放大器的放大倍数)。另外一路r(t)驱动模拟开关,使得两路对称信号交替导通进入低通滤波器。交替导通的过程实现了信号Aar(t)与参考信号r(t)的相乘,低通滤波器实现了相乘结果的相加,两个过程共同实现了相关过程(相关就是两个序列相乘后再相加)。 The time-varying waveform of the reverse repeated m-sequence generated is r(t). r(t) is divided into two paths, one path is used to drive the chopper, and the weak signal a is modulated into an alternating signal ar(t) that changes according to the waveform of r(t), and ar(t) is simultaneously transmitted by the non-inverting amplifier and the inverting amplifier Amplify to generate two phase-symmetrical signals Aar(t) and -Aar(t) (A is the amplification factor of the amplifier). Another path r(t) drives the analog switch, so that the two symmetrical signals are turned on alternately and enter the low-pass filter. The process of alternate conduction realizes the multiplication of the signal Aar(t) and the reference signal r(t), the low-pass filter realizes the addition of the multiplication results, and the two processes jointly realize the correlation process (correlation is two sequences multiplied and then added).

假设噪声信号为n(t),那么输入信号x(t)=ar(t)+n(t),锁定放大器的输出结果为x(t)和r(t)的互相关函数: Assuming that the noise signal is n(t), then the input signal x(t)=ar(t)+n(t), the output of the lock-in amplifier is the cross-correlation function of x(t) and r(t):

       R xr = lim T → ∞ 1 T ∫ 0 T x ( t ) r ( t - τ ) dt R xr = lim T &Right Arrow; ∞ 1 T ∫ 0 T x ( t ) r ( t - τ ) dt

       = lim T → ∞ 1 T ∫ 0 T [ ar ( t ) + n ( t ) ] r ( t - τ ) dt = lim T → ∞ 1 T ∫ 0 T ar ( t ) r ( t - τ ) dt + lim T → ∞ 1 T n ( t ) r ( t - τ ) dt = a R rr + R rn = lim T &Right Arrow; ∞ 1 T ∫ 0 T [ ar ( t ) + no ( t ) ] r ( t - τ ) dt = lim T &Right Arrow; ∞ 1 T ∫ 0 T ar ( t ) r ( t - τ ) dt + lim T &Right Arrow; ∞ 1 T no ( t ) r ( t - τ ) dt = a R rr + R rn

结果中aRrr是我们要求得的结果,里面包含了待测信号a的成分,Rrr则是参考信号的自相关函数,只要参考信号和调制信号的相位差固定为零,则Rrr就是个定值,因此aRrr只随待测信号a的变化而变化,实现了锁定放大器的目的。因为逆重复m序列r(t)是一种伪随机信号,没有像方波信号那样的ω0角频率,因此不可能出现传统锁定放大器的奇次谐波问题。同时对比逆重复m序列和方波的自相关函数可以发现,逆重复m序列具有优良的自相关性,这使得多台设备同时工作时相互影响的几率变得非常小。 In the result, aR rr is the result we require, which contains the component of the signal a to be tested, and R rr is the autocorrelation function of the reference signal. As long as the phase difference between the reference signal and the modulation signal is fixed to zero, then R rr is a Fixed value, so aR rr only changes with the change of the signal a to be measured, and realizes the purpose of the lock-in amplifier. Because the inverse repeating m-sequence r(t) is a pseudo-random signal without the ω0 corner frequency like a square wave signal, the odd harmonic problem of a conventional lock-in amplifier is impossible. At the same time, comparing the autocorrelation function of the reverse repeated m-sequence and the square wave, it can be found that the reverse repeated m-sequence has excellent autocorrelation, which makes the chance of mutual influence of multiple devices working at the same time becomes very small.

单片机除了可以方便地产生所需的序列,同时还可以搭配不同精度的模数转换器满足不同的测量需求。单片机将锁定放大器输出的模拟信号通过AD转换成数字信号存储在RAM里进行数字滤波处理,进一步提高抗干扰能力。同时将得到的结果显示到LCD屏幕上,清晰直观,方便操作人员读数和记录。 In addition to easily generating the required sequence, the single-chip microcomputer can also be matched with analog-to-digital converters of different precision to meet different measurement requirements. The single-chip microcomputer converts the analog signal output by the lock-in amplifier into a digital signal through AD and stores it in RAM for digital filtering processing to further improve the anti-interference ability. At the same time, the obtained results are displayed on the LCD screen, which is clear and intuitive, and is convenient for the operator to read and record.

如图3是方波的自相关函数和图4逆重复m序列的自相关函数,当干扰信号与参考信号相同时前面说的噪声与参考信号互相关项Rrn就变成了参考信号的自相关函数,由于待测信号与参考信号是同步的(由同一个源产生),从自相关函数图来看无论是方波还是逆重复m序列,它们都能达到最大值,充分发挥锁定放大器的作用。一般噪声与参考信号的相位差是随机的,想要让噪声对锁定放大器的影响减小,参考信号的自相关函数必须具有以下特点:在某些很窄的区域内幅度很高,充分发挥锁定放大器的作用,在其他区 域内幅度为零,使得外来噪声有较大的机率落在这部分,减小对输出结果的影响。图4恰恰就满足了这一特性,一个周期内,只有极少数干扰信号能落在幅度较大的区域内,大部分都落在了幅度接近零的区域。而图3明显就差一些,只有一小部分的区域能够接近零,大部分区域都有较大幅度。 As shown in Figure 3, the autocorrelation function of the square wave and the autocorrelation function of the inverse repeated m sequence in Figure 4, when the interference signal is the same as the reference signal, the cross-correlation term R rn between the noise and the reference signal mentioned earlier becomes the autocorrelation of the reference signal Correlation function, since the signal to be measured and the reference signal are synchronous (generated by the same source), from the autocorrelation function diagram, whether it is a square wave or an inverse repetitive m sequence, they can reach the maximum value, and give full play to the lock-in amplifier. effect. Generally, the phase difference between the noise and the reference signal is random. In order to reduce the influence of the noise on the lock-in amplifier, the autocorrelation function of the reference signal must have the following characteristics: the amplitude is very high in some very narrow areas, and the lock-in amplifier can be fully utilized. The effect of the amplifier is zero in other areas, so that the external noise has a greater probability of falling on this part, reducing the impact on the output result. Figure 4 just satisfies this characteristic. In a period, only a very small number of interference signals can fall in the region with a large amplitude, and most of them fall in the region with an amplitude close to zero. However, Figure 3 is obviously worse, only a small part of the area can be close to zero, and most of the areas have a relatively large range.

如图5至图8四幅图分别展示了在方波与逆重复m序列对偶倍频干扰和奇倍频干扰的抑制能力。 The four pictures shown in Figures 5 to 8 show the suppression capabilities of even frequency multiplier interference and odd frequency multiplier interference in the square wave and reverse repeated m sequences, respectively.

为了方便说明,选取了长度为14的逆重复m序列,为了对比,方波取7个周期。 For the convenience of explanation, the reverse repeated m-sequence with a length of 14 is selected, and for comparison, the square wave takes 7 cycles.

如图5所示方波对2次谐波的抑制,图6所示为逆重复m序列对2次谐波的抑制,可见乘积之后在长时间的积累下谐波所产生干扰正负刚好抵消,平均值是零,两种方式均能良好抑制。 As shown in Figure 5, the suppression of the second harmonic by the square wave, and Figure 6 shows the suppression of the second harmonic by the reverse repetition of the m-sequence. It can be seen that after the product is accumulated for a long time, the interference generated by the harmonic is just offset. , the average value is zero, and both modes can be suppressed well.

如图7所示是方波对3次谐波的抑制,乘积之后正向半波有28个,负向半波只有14个,抵消完之后还剩下14个正向半波,平均值不为零,对输出结果产生了干扰。 As shown in Figure 7, the square wave suppresses the third harmonic. After the product, there are 28 positive half waves and only 14 negative half waves. After the cancellation, there are still 14 positive half waves. The average value is not is zero, which interferes with the output result.

如图8所示是逆重复m序列对3次谐波的抑制,乘积之后正向半波有22个,负向半波有20个,抵消之后只剩下2个正向半波,比方波状态下的14个减小了7倍。这还只是在序列长度为14的情况下的抑制能力,倘若增加逆重复m序列的长度,其抑制能力还能大幅度提升。 As shown in Figure 8, it is the suppression of the 3rd harmonic by the reverse repetition m sequence. After the product, there are 22 positive half waves and 20 negative half waves. After the cancellation, only 2 positive half waves are left, such as the square wave The 14 in the state is reduced by a factor of 7. This is only the inhibitory ability when the sequence length is 14. If the length of the reverse repeat m sequence is increased, the inhibitory ability can be greatly improved.

实施例1:如图9所示:一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,包括MCU2(单片机、或叫做微控制单元)、键盘1、LCD显示屏3、待测微弱电压信号4、斩波器5、正向放大器6、反向放大器7、模拟开关8、低通滤波器9、直流放大器10和模数转换器11,其中: Embodiment 1: as shown in Figure 9: a kind of lock-in amplification system based on the anti-odd multiplier interference of inverse repeated m sequence, comprises MCU2 (single-chip microcomputer, or be called micro control unit), keyboard 1, LCD display screen 3, to-be-tested Weak voltage signal 4, chopper 5, forward amplifier 6, reverse amplifier 7, analog switch 8, low-pass filter 9, DC amplifier 10 and analog-to-digital converter 11, wherein:

所述MCU2用于控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列,控制AD11(模数转换器)采集各放大器输出电压,且内部编写有滤波算法以提高整个锁定放大系统的信噪比; The MCU2 is used to control the workflow of the entire lock-in amplifier system, collect input information, use codes to generate reverse repeat m sequences, control AD11 (analog-to-digital converters) to collect the output voltages of each amplifier, and internally write a filtering algorithm to improve the entire lock-in. Signal-to-noise ratio of the amplification system;

所述键盘1用于输入需要产生的逆重复m序列长度,以及序列的发送频率; The keyboard 1 is used to input the length of the inverse repeat m sequence that needs to be generated, and the sending frequency of the sequence;

所述LCD显示屏3用于人机交互时显示提示界面,用于锁定放大检测时显示检测结果; The LCD display screen 3 is used for displaying a prompt interface during human-computer interaction, and for displaying detection results during lock-in amplification detection;

所述斩波器5用于将待测微弱电压信号调制成交变信号,调制后的信号幅度为待测信号的幅度,波形为逆重复m序列; The chopper 5 is used to modulate the weak voltage signal to be measured into an alternating signal, the modulated signal amplitude is the amplitude of the signal to be measured, and the waveform is an inverse repeat m sequence;

所述正向放大器6、反相放大器7和模拟开关8构成数字相关器; The forward amplifier 6, the inverting amplifier 7 and the analog switch 8 constitute a digital correlator;

所述低通滤波器9用以作为整个锁定放大系统的积分器; The low-pass filter 9 is used as an integrator of the entire lock-in amplification system;

所述直流放大器10将低通滤波器9输出的信号调节到模数转换器11的采集范围内; The DC amplifier 10 adjusts the signal output by the low-pass filter 9 into the acquisition range of the analog-to-digital converter 11;

所述模数转换器11用于采集直流放大器10的输出电压。  The analog-to-digital converter 11 is used to collect the output voltage of the DC amplifier 10 . the

应当理解的是,本发明的上述具体实施方式仅仅用于示例性说明或解释本发明的原理,而不构成对本发明的限制。因此,在不偏离本发明的思想和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。此外,本发明所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改。 It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principle of the present invention, and not to limit the present invention. Therefore, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention shall be included within the protection scope of the present invention. Furthermore, the appended claims of the present invention are intended to cover all changes and modifications that come within the scope and boundaries of the appended claims, or equivalents of such scope and boundaries.

Claims (3)

1.一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,其特征在于:其包括逆重复m序列信号产生单元、待测微弱电压信号、斩波器、正向放大器、反向放大器、模拟开关、低通滤波器、直流放大器和模数转换器,其中:1. A lock-in amplification system based on the anti-odd multiplier interference of the reverse repeating m-sequence, is characterized in that: it comprises the reverse repeating m-sequence signal generating unit, weak voltage signal to be measured, chopper, forward amplifier, reverse Amplifiers, analog switches, low-pass filters, DC amplifiers, and analog-to-digital converters, where: 所述逆重复m序列信号产生单元用于控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列,控制模数转换器采集各放大器的输出电压,且内部编写有滤波算法以提高整个锁定放大系统的信噪比;The inverse repetitive m-sequence signal generation unit is used to control the workflow of the entire lock-in amplification system, collect input information, use codes to generate an inverse repetitive m-sequence, control the analog-to-digital converter to collect the output voltage of each amplifier, and internally program a filtering algorithm To improve the signal-to-noise ratio of the entire lock-in amplifier system; 所述斩波器用于将待测微弱电压信号调制成交变信号,调制后的信号幅度为待测信号的幅度,波形为逆重复m序列;The chopper is used to modulate the weak voltage signal to be measured into an alternating signal, the modulated signal amplitude is the amplitude of the signal to be measured, and the waveform is an inverse repeating m sequence; 所述正向放大器、反相放大器和模拟开关构成数字相关器;The forward amplifier, the inverting amplifier and the analog switch constitute a digital correlator; 所述低通滤波器用以作为整个锁定放大系统的积分器;The low-pass filter is used as an integrator of the entire lock-in amplification system; 所述直流放大器将低通滤波器输出的信号调节到模数转换器的采集范围内;The DC amplifier adjusts the signal output by the low-pass filter to the acquisition range of the analog-to-digital converter; 所述模数转换器用于采集直流放大器的输出电压。The analog-to-digital converter is used to collect the output voltage of the DC amplifier. 2.根据权利要求1所述的一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,其特征在于:所述逆重复m序列信号产生单元包括移位寄存器和反馈网络,所述逆重复m序列信号由移位寄存器加反馈网络产生。2. A kind of lock-in amplification system based on the anti-odd multiplier interference of the reverse repetition m sequence according to claim 1, it is characterized in that: the reverse repetition m sequence signal generating unit comprises a shift register and a feedback network, the The reverse repeating m-sequence signal is generated by a shift register plus a feedback network. 3.根据权利要求1所述的一种基于逆重复m序列的抗奇倍频干扰的锁定放大系统,其特征在于:所述逆重复m序列信号产生单元包括单片机、键盘和LCD显示屏;所述单片机用于控制整个锁定放大系统的工作流程,采集输入信息,利用代码产生逆重复m序列,控制AD采集放大器输出电压,且内部编写有滤波算法以提高整个锁定放大系统的信噪比,所述逆重复m序列信号由单片机产生;所述键盘用于输入需要产生的逆重复m序列长度,以及序列的发送频率;所述LCD显示屏用于人机交互时显示提示界面,用于锁定放大检测时显示检测结果。3. a kind of lock-in amplifying system based on the anti-odd multiplier interference of reverse repeating m sequence according to claim 1, is characterized in that: described reverse repeating m sequence signal generation unit comprises single-chip microcomputer, keyboard and LCD display; The single-chip microcomputer is used to control the workflow of the entire lock-in amplifier system, collect input information, use the code to generate reverse repeating m-sequence, control the output voltage of the AD acquisition amplifier, and internally write a filtering algorithm to improve the signal-to-noise ratio of the entire lock-in amplifier system. The inverse repeat m sequence signal is generated by a single-chip microcomputer; the keyboard is used to input the length of the inverse repeat m sequence that needs to be generated, and the sending frequency of the sequence; the LCD display screen is used for man-machine interaction to display a prompt interface for locking and zooming in The detection result is displayed during detection.
CN201510177573.6A 2015-04-15 2015-04-15 Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences Pending CN104811146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510177573.6A CN104811146A (en) 2015-04-15 2015-04-15 Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510177573.6A CN104811146A (en) 2015-04-15 2015-04-15 Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences

Publications (1)

Publication Number Publication Date
CN104811146A true CN104811146A (en) 2015-07-29

Family

ID=53695708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510177573.6A Pending CN104811146A (en) 2015-04-15 2015-04-15 Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences

Country Status (1)

Country Link
CN (1) CN104811146A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106618494A (en) * 2016-11-30 2017-05-10 深圳职业技术学院 PPG pulse wave signal extraction processing system based on phase-locked amplifier
CN107063080A (en) * 2017-03-23 2017-08-18 天津大学 Phase lock-in detecting method and device for sinusoidal phase modulation
CN109855614A (en) * 2018-12-14 2019-06-07 北京理工导航控制科技有限公司 The nonlinear improved method of constant multiplier under a kind of fibre optic gyroscope low angular rate

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016698A1 (en) * 2000-06-26 2002-02-07 Toshimichi Tokuda Device and method for audio frequency range expansion
US20030018452A1 (en) * 2001-07-03 2003-01-23 Mitutoyo Corporation Low voltage low power signal processing system and method for high accuracy processing of differential signal inputs from a low power measuring instrument
US20040232985A1 (en) * 2002-05-14 2004-11-25 Hiroshi Itahara Hybrid distortion compensation method and hybrid distortion compensation device
CN103207413A (en) * 2011-11-16 2013-07-17 中国地质大学(北京) Electrical prospecting device and system
CN104459802A (en) * 2014-12-01 2015-03-25 中国地质大学(北京) Emission device for electrical prospecting system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016698A1 (en) * 2000-06-26 2002-02-07 Toshimichi Tokuda Device and method for audio frequency range expansion
US20030018452A1 (en) * 2001-07-03 2003-01-23 Mitutoyo Corporation Low voltage low power signal processing system and method for high accuracy processing of differential signal inputs from a low power measuring instrument
US20040232985A1 (en) * 2002-05-14 2004-11-25 Hiroshi Itahara Hybrid distortion compensation method and hybrid distortion compensation device
CN103207413A (en) * 2011-11-16 2013-07-17 中国地质大学(北京) Electrical prospecting device and system
CN104459802A (en) * 2014-12-01 2015-03-25 中国地质大学(北京) Emission device for electrical prospecting system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106618494A (en) * 2016-11-30 2017-05-10 深圳职业技术学院 PPG pulse wave signal extraction processing system based on phase-locked amplifier
CN107063080A (en) * 2017-03-23 2017-08-18 天津大学 Phase lock-in detecting method and device for sinusoidal phase modulation
CN107063080B (en) * 2017-03-23 2019-09-10 天津大学 Phase lock-in detecting method and device for sinusoidal phase modulation
CN109855614A (en) * 2018-12-14 2019-06-07 北京理工导航控制科技有限公司 The nonlinear improved method of constant multiplier under a kind of fibre optic gyroscope low angular rate

Similar Documents

Publication Publication Date Title
US8188754B2 (en) Method and apparatus for sensing capacitance value and converting it into digital format
US20110042153A1 (en) Touch sensing device and method using random spread spectrum signal
CN104811146A (en) Anti-aberration frequency doubling interference locking amplification system based on reverse repeated m sequences
CN108152362A (en) A kind of method of the magnetostriction detection steel construction defect based on pseudo-random sequence
CN101313230A (en) Signal processing and time delay measurement based on combined correlation and differential correlation
TW201419102A (en) Touch control system and capacitance detecting apparatus thereof
US20120001643A1 (en) Sensing phase sequence to suppress single tone noise
CN202119835U (en) Unstable harmonic and interharmonic measuring instrument
SE513954C2 (en) Method and systems for processing signals from a sensor driven by an AC excitation signal
CN106872779A (en) A kind of harmonic source determination methods based on harmonic phase jittering characteristic
CN105337612A (en) Software phase locked ring capable of filtering out power frequency interference
US6987391B2 (en) Apparatus for and method of synchronous rejection
CN103837748B (en) Touch-control system and its electric capacity amount detecting device
CN102323481A (en) Unstable harmonic and interharmonic measuring instrument
Mohammed et al. A broadband frequency-to-voltage converter for sinusoidal signals based on filters design
Flegner et al. Advanced Frequency Analysis of Signals with High-Frequency Resolution
CN103198053B (en) A kind of instantaneous small echo bicoherence method random based on phase place
JP2015122701A (en) Synchronous detection circuit and resistance measuring device
US7783456B2 (en) Wave detection device, method, program, and recording medium
RU2247997C2 (en) Random signals nonlinear distortion meter
RU2255340C1 (en) Device for measuring accelerations
RU2255342C2 (en) Non-linear distortions estimation calculator
RU2255341C1 (en) Device for measuring accelerations
RU2235336C1 (en) Uhf power measuring device
RU2247995C2 (en) Harmonic distortion digital meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180713

AD01 Patent right deemed abandoned