CN110082602B - A full impedance measurement circuit and measurement device - Google Patents

A full impedance measurement circuit and measurement device Download PDF

Info

Publication number
CN110082602B
CN110082602B CN201910460350.9A CN201910460350A CN110082602B CN 110082602 B CN110082602 B CN 110082602B CN 201910460350 A CN201910460350 A CN 201910460350A CN 110082602 B CN110082602 B CN 110082602B
Authority
CN
China
Prior art keywords
response voltage
sensor
measurement
analog
unit
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.)
Active
Application number
CN201910460350.9A
Other languages
Chinese (zh)
Other versions
CN110082602A (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology 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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201910460350.9A priority Critical patent/CN110082602B/en
Publication of CN110082602A publication Critical patent/CN110082602A/en
Application granted granted Critical
Publication of CN110082602B publication Critical patent/CN110082602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/08Measuring resistance by measuring both voltage and current
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/16Measuring impedance of element or network through which a current is passing from another source, e.g. cable, power line

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Resistance Or Impedance (AREA)

Abstract

本发明公开一种全阻抗测量电路和测量装置,该测量电路包括:第一跨阻放大器,第二跨阻放大器,第一差分放大器,第二差分放大器,参比电阻,传感器,以及四个可编程多路复用器;传感器的电流注入端用于输入电流信号,电压输出端用于检测响应电压信号;第一跨阻放大器的正输入端子和第二跨阻放大器的正输入端子均接地;四个可编程多路复用器可使电路在两种形式下切换。本发明通过交替测量的方式,使得测得的传感器响应电压和参比电阻响应电压的波形均包含两个通道的噪声信息,由此确保二者波形所包含的噪声趋于一致,再通过各自通道的三参数正弦波拟合算法同步减小噪声并获得各自精确的幅值和相位估计值,能够进一步提升电路的测量精度。

Figure 201910460350

The invention discloses a full impedance measurement circuit and a measurement device. The measurement circuit comprises: a first transimpedance amplifier, a second transimpedance amplifier, a first differential amplifier, a second differential amplifier, a reference resistor, a sensor, and four programming multiplexer; the current injection terminal of the sensor is used for inputting the current signal, and the voltage output terminal is used for detecting the response voltage signal; the positive input terminal of the first transimpedance amplifier and the positive input terminal of the second transimpedance amplifier are both grounded; Four programmable multiplexers allow the circuit to switch between the two forms. The present invention makes the measured waveforms of the sensor response voltage and the reference resistance response voltage contain the noise information of the two channels by means of alternate measurement, thereby ensuring that the noises contained in the two waveforms tend to be consistent, and then pass through the respective channels. The three-parameter sine wave fitting algorithm simultaneously reduces noise and obtains their respective accurate amplitude and phase estimates, which can further improve the measurement accuracy of the circuit.

Figure 201910460350

Description

一种全阻抗测量电路和测量装置A full impedance measurement circuit and measurement device

技术领域technical field

本发明属于阻抗测量技术领域,具体涉及一种全阻抗测量电路和测量装置。The invention belongs to the technical field of impedance measurement, and in particular relates to a full impedance measurement circuit and a measurement device.

背景技术Background technique

电导率(Conductivity)、温度(Temperature)、以及深度(Depth)传感器(简称CTD或温盐深传感器)是用于监测水域环境的最基本也是最重要的传感器。它不但直接提供了电导率、温度、压力参数,更可用于计算盐度参数和深度参数。这些参数是开展各种水域研究所必不可少的。以海洋研究为例,这些参数不但可用于监测海水的流动、循环、以及气候变化过程,还可以为生物地球化学以及海洋生态系统的研究提供背景物理参数,在研究全球气候问题以及监测海洋生态环境等方面有着重大的意义。同时,温度和盐度参数还为其它各种海洋传感器提供必不可少的背景补偿参数。Conductivity (Conductivity), temperature (Temperature), and depth (Depth) sensors (CTD or temperature, salinity and depth sensor for short) are the most basic and important sensors for monitoring the water environment. It not only directly provides conductivity, temperature, pressure parameters, but also can be used to calculate salinity parameters and depth parameters. These parameters are essential to carry out various water studies. Taking marine research as an example, these parameters can not only be used to monitor the flow, circulation, and climate change process of seawater, but also provide background physical parameters for the study of biogeochemistry and marine ecosystems. etc. are of great significance. At the same time, the temperature and salinity parameters also provide essential background compensation parameters for various other marine sensors.

常用的温盐深传感器包括:电极式电导率传感器、PRT(platinum resistancethermometer,铂电阻温度计)电桥式温度传感器、压敏电阻电桥式压力传感器,它们对CTD参数的测量最终均可以转换成对相应阻抗的测量。因此,阻抗测量电路的设计方法决定了最终CTD参数测量结果的质量。Commonly used temperature and salt depth sensors include: electrode conductivity sensor, PRT (platinum resistance thermometer, platinum resistance thermometer) bridge temperature sensor, piezoresistor bridge pressure sensor, their measurement of CTD parameters can finally be converted into pairs Corresponding impedance measurements. Therefore, the design method of the impedance measurement circuit determines the quality of the final CTD parameter measurement.

目前国内外常见的阻抗测量电路包括以下三种:第一种是基于频率的阻抗测量电路,第二种是基于方波激励的阻抗测量电路,第三种是基于正弦波激励的阻抗测量电路。其中,第一种和第二种不支持全阻抗测量,只有第三种阻抗测量电路支持全阻抗测量。该基于正弦波激励的阻抗测量电路采用正弦波信号作为激励源,所以传感器的响应电压也为正弦波形式,通过ADC(模数转换器)将正弦波形式的响应电压传输至数字电路部分。然后数字电路运行相应的正弦波拟合算法(在激励信号频率精确已知时,运行三参数拟合算法,无需迭代运算;在激励信号不精确已知时,运行四参数拟合算法,需要迭代运算),从而可以计算出阻抗的幅值和相位。因此,该阻抗测量电路可以支持全阻抗测量,并且通过正弦波拟合算法可以获得较高的测量精度。但是,该阻抗测量电路存在以下问题:1)能否支持实时测量取决于激励信号频率是否精确已知;2)阻抗测量精度会受到电路中元器件的性能参数随温度或时间漂移的影响,因此需要进行漂移补偿。At present, the common impedance measurement circuits at home and abroad include the following three types: the first is a frequency-based impedance measurement circuit, the second is an impedance measurement circuit based on square wave excitation, and the third is an impedance measurement circuit based on sine wave excitation. Among them, the first and second types do not support full impedance measurement, and only the third impedance measurement circuit supports full impedance measurement. The impedance measurement circuit based on sine wave excitation uses a sine wave signal as the excitation source, so the response voltage of the sensor is also in the form of a sine wave, and the response voltage in the form of a sine wave is transmitted to the digital circuit part through an ADC (analog-to-digital converter). Then the digital circuit runs the corresponding sine wave fitting algorithm (when the frequency of the excitation signal is accurately known, the three-parameter fitting algorithm is run, and no iterative operation is required; when the excitation signal is not accurately known, the four-parameter fitting algorithm is run, which requires iteration. operation), so that the magnitude and phase of the impedance can be calculated. Therefore, the impedance measurement circuit can support full impedance measurement, and a higher measurement accuracy can be obtained through the sine wave fitting algorithm. However, this impedance measurement circuit has the following problems: 1) Whether it can support real-time measurement depends on whether the frequency of the excitation signal is accurately known; 2) The impedance measurement accuracy will be affected by the drift of the performance parameters of the components in the circuit with temperature or time, so Drift compensation is required.

目前国内外常见的漂移补偿方法分为以下几种。At present, the common drift compensation methods at home and abroad are divided into the following categories.

第一种解决方法是采用极低温度系数的元器件来搭建电路。但是,一方面,极低温度系数的元器件价格昂贵,大大增加电路设计的成本;另一方面,某些元器件(比如差分放大器)在目前的生产工艺下无法做到极低温度系数。所以,该方法无法很好地解决元器件漂移问题。The first solution is to build circuits with components with very low temperature coefficients. However, on the one hand, components with extremely low temperature coefficients are expensive, which greatly increases the cost of circuit design; on the other hand, some components (such as differential amplifiers) cannot achieve extremely low temperature coefficients under the current production process. Therefore, this method cannot solve the problem of component drift very well.

第二种解决方法是加入额外的极低温度系数的参比电阻提供参考响应电压,通过多路复用器切换测量对象为传感器或者参比电阻,最后根据传感器响应电压与参比电阻响应电压之间的关系获得精确的测量阻值,以此降低漂移影响。该方法相较第一种方法既有效解决漂移问题,又降低了成本,但是通过单通道交替测量传感器和参比电阻的响应电压将整体测量时间增大了一倍。The second solution is to add an extra reference resistance with a very low temperature coefficient to provide a reference response voltage, switch the measurement object to the sensor or the reference resistance through the multiplexer, and finally according to the difference between the sensor response voltage and the reference resistance response voltage. The relationship between the two obtains an accurate measured resistance value, thereby reducing the effect of drift. Compared with the first method, this method can effectively solve the drift problem and reduce the cost, but the overall measurement time is doubled by alternately measuring the response voltage of the sensor and the reference resistor through a single channel.

第三种解决方法是采用双通道并行设计,两个通道同时测量来自传感器和参比电阻的响应电压,后续采用七参数正弦波拟合算法以获得精确的传感器和参比电阻的响应电压值。该方法的模拟信号采集虽然采用双通道并行设计,但是七参数正弦波拟合算法本质是基于四参数在双通道测量场景上的改进(只是综合考虑了两个通道的噪声进行整体拟合计算),仍然需要迭代计算,无法做到实时信号处理,整体测量时间并未缩短。The third solution is to use a dual-channel parallel design. The two channels measure the response voltage from the sensor and the reference resistor at the same time, and then use a seven-parameter sine wave fitting algorithm to obtain accurate sensor and reference resistor response voltage values. Although the analog signal acquisition of this method adopts two-channel parallel design, the essence of the seven-parameter sine wave fitting algorithm is based on the improvement of four parameters in the two-channel measurement scene (only the overall fitting calculation is performed by comprehensively considering the noise of the two channels) , iterative calculation is still required, real-time signal processing cannot be achieved, and the overall measurement time is not shortened.

上述三种漂移补偿方法都不能保证阻抗测量电路测量的实时性,无法做到实时信号处理。None of the above three drift compensation methods can guarantee the real-time performance of impedance measurement circuit measurement, and cannot achieve real-time signal processing.

发明内容SUMMARY OF THE INVENTION

为解决现有技术中存在的技术问题,本发明提供一种全阻抗测量电路和测量装置。In order to solve the technical problems existing in the prior art, the present invention provides a full impedance measurement circuit and a measurement device.

为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种全阻抗测量电路,包括:A full impedance measurement circuit, comprising:

第一跨阻放大器,第二跨阻放大器,第一差分放大器,第二差分放大器,参比电阻,传感器,以及多个可编程多路复用器;a first transimpedance amplifier, a second transimpedance amplifier, a first differential amplifier, a second differential amplifier, a reference resistor, a sensor, and a plurality of programmable multiplexers;

所述参比电阻用于提供参考电压值;所述传感器的电流注入端用于输入激励电流信号,电压输出端用于提供响应电压信号;所述第一跨阻放大器的正输入端子和所述第二跨阻放大器的正输入端子均接地;The reference resistor is used to provide a reference voltage value; the current injection terminal of the sensor is used to input an excitation current signal, and the voltage output terminal is used to provide a response voltage signal; the positive input terminal of the first transimpedance amplifier and the The positive input terminals of the second transimpedance amplifier are all grounded;

多个所述可编程多路复用器对第一跨阻放大器,第二跨阻放大器,第一差分放大器,第二差分放大器,参比电阻进行联通,以使电路在下面两种形式下切换:A plurality of the programmable multiplexers are connected to the first transimpedance amplifier, the second transimpedance amplifier, the first differential amplifier, the second differential amplifier, and the reference resistor, so that the circuit can be switched in the following two forms :

第一种形式:First form:

所述传感器的电流注入端耦合在所述第一跨阻放大器的负输入端子与所述第一跨阻放大器的输出端子之间;The current injection end of the sensor is coupled between the negative input terminal of the first transimpedance amplifier and the output terminal of the first transimpedance amplifier;

所述传感器的电压输出端耦合在所述第一差分放大器的正输入端子与所述第一差分放大器的负输入端子之间;The voltage output of the sensor is coupled between the positive input terminal of the first differential amplifier and the negative input terminal of the first differential amplifier;

所述参比电阻耦合在所述第二跨阻放大器的负输入端子与所述第二跨阻放大器的输出端子之间;the reference resistor is coupled between the negative input terminal of the second transimpedance amplifier and the output terminal of the second transimpedance amplifier;

所述参比电阻还耦合在所述第二差分放大器的正输入端子与所述第二差分放大器的负输入端子之间;the reference resistor is also coupled between the positive input terminal of the second differential amplifier and the negative input terminal of the second differential amplifier;

第二种形式:The second form:

所述传感器的电流注入端耦合在所述第二跨阻放大器的负输入端子与所述第二跨阻放大器的输出端子之间;The current injection end of the sensor is coupled between the negative input terminal of the second transimpedance amplifier and the output terminal of the second transimpedance amplifier;

所述传感器的电压输出端耦合在所述第二差分放大器的正输入端子与所述第二差分放大器的负输入端子之间;The voltage output of the sensor is coupled between the positive input terminal of the second differential amplifier and the negative input terminal of the second differential amplifier;

所述参比电阻耦合在所述第一跨阻放大器的负输入端子与所述第一跨阻放大器的输出端子之间;the reference resistor is coupled between the negative input terminal of the first transimpedance amplifier and the output terminal of the first transimpedance amplifier;

所述参比电阻还耦合在所述第一差分放大器的正输入端子与所述第一差分放大器的负输入端子之间。The reference resistor is also coupled between the positive input terminal of the first differential amplifier and the negative input terminal of the first differential amplifier.

在上述技术方案中,该全阻抗测量电路还包括:In the above technical solution, the full impedance measurement circuit further includes:

第一输入电阻,所述第一输入电阻耦合至所述第一跨阻放大器的负输入端子;a first input resistor coupled to the negative input terminal of the first transimpedance amplifier;

第二输入电阻,所述第二输入电阻耦合至所述第二跨阻放大器的负输入端子。A second input resistance coupled to the negative input terminal of the second transimpedance amplifier.

一种全阻抗测量装置,包括:两个测量通道,其中,A full impedance measurement device, comprising: two measurement channels, wherein,

第一测量通道上依次包括:第一I/V转换单元,切换单元,第一差分放大单元;The first measurement channel sequentially includes: a first I/V conversion unit, a switching unit, and a first differential amplifying unit;

第二测量通道上依次包括:第二I/V转换单元,切换单元,第二差分放大单元;The second measurement channel sequentially includes: a second I/V conversion unit, a switching unit, and a second differential amplifying unit;

所述切换单元为两个测量通道共用,其内设有可编程多路复用器;该可编程多路复用器可使所述第一I/V转换单元和所述第二I/V转换单元的测量对象,在传感器和参比电阻之间切换;The switching unit is shared by two measurement channels, and a programmable multiplexer is arranged in it; the programmable multiplexer can make the first I/V conversion unit and the second I/V The measurement object of the conversion unit, switching between sensor and reference resistance;

所述第一差分放大单元和所述第二差分放大单元可分别放大所述第一测量通道和所述第二测量通道的模拟响应电压信号。The first differential amplifying unit and the second differential amplifying unit may amplify the analog response voltage signals of the first measurement channel and the second measurement channel, respectively.

在上述技术方案中,在两个测量通道之前,还设有依次连接的:波形生成单元,数模转换单元,以及滤波缓冲单元;所述滤波缓冲单元的输出端分别与两个测量通道的输入端连接;In the above technical solution, before the two measurement channels, a waveform generation unit, a digital-to-analog conversion unit, and a filter buffer unit are connected in sequence; the output ends of the filter buffer unit are respectively connected with the input terminals of the two measurement channels. end connection;

所述波形生成单元,其可产生幅值、频率和相位可控的数字正弦波信号;the waveform generating unit, which can generate a digital sine wave signal whose amplitude, frequency and phase are controllable;

所述数模转换单元,其可将所述数字正弦波信号转换成模拟正弦波信号;the digital-to-analog conversion unit, which can convert the digital sine wave signal into an analog sine wave signal;

所述滤波缓冲单元,其可对所述模拟正弦波信号进行低通滤波。The filtering buffer unit can perform low-pass filtering on the analog sine wave signal.

在上述技术方案中,所述第一测量通道上,在所述第一差分放大单元后还连接有:第一低通滤波单元,第一模数转换单元;In the above technical solution, the first measurement channel is further connected after the first differential amplifying unit: a first low-pass filtering unit and a first analog-to-digital conversion unit;

所述第二测量通道上,在所述第二差分放大单元后还连接有:第二低通滤波单元,第二模数转换单元;On the second measurement channel, after the second differential amplifying unit is further connected: a second low-pass filtering unit and a second analog-to-digital conversion unit;

所述第一低通滤波单元和所述第二低通滤波单元可分别对所述第一测量通道和所述第二测量通道放大后的模拟响应电压信号进行低通滤波;The first low-pass filtering unit and the second low-pass filtering unit may perform low-pass filtering on the amplified analog response voltage signals of the first measurement channel and the second measurement channel, respectively;

所述第一模数转换单元和所述第二模数转换单元可分别将所述第一测量通道和所述第二测量通道滤波后的模拟响应电压信号转换成对应的数字响应电压信号。The first analog-to-digital conversion unit and the second analog-to-digital conversion unit may respectively convert analog response voltage signals filtered by the first measurement channel and the second measurement channel into corresponding digital response voltage signals.

在上述技术方案中,该全阻抗测量装置还设有数字信号处理单元;In the above technical solution, the full impedance measurement device is further provided with a digital signal processing unit;

所述数字信号处理单元的输入端分别与所述第一模数转换单元和所述第二模数转换单元的输出端连接;The input ends of the digital signal processing unit are respectively connected with the output ends of the first analog-to-digital conversion unit and the second analog-to-digital conversion unit;

所述数字信号处理单元可将所述第一测量通道和所述第二测量通道的数字响应电压信号进行整合,运行三参数正弦波拟合算法,得到传感器和参比电阻的响应电压值。The digital signal processing unit can integrate the digital response voltage signals of the first measurement channel and the second measurement channel, run a three-parameter sine wave fitting algorithm, and obtain the response voltage values of the sensor and the reference resistor.

在上述技术方案中,所述数模转换单元、所述第一模数转换单元、以及所述第二模数转换单元具有同一时钟源控制并工作在同一采样频率。In the above technical solution, the digital-to-analog conversion unit, the first analog-to-digital conversion unit, and the second analog-to-digital conversion unit are controlled by the same clock source and work at the same sampling frequency.

在上述技术方案中,所述数字信号处理单元中设有FPGA和MCU。In the above technical solution, an FPGA and an MCU are provided in the digital signal processing unit.

在上述技术方案中,所述FPGA的型号为MAX10,所述MCU的型号为STM32F1。In the above technical solution, the model of the FPGA is MAX10, and the model of the MCU is STM32F1.

在上述技术方案中,所述参比电阻为温度系数在20PPM/℃以内的金属箔电阻。In the above technical solution, the reference resistance is a metal foil resistance with a temperature coefficient within 20PPM/°C.

另一方面发明提供一种利用上述测量电路或测量装置进行CTD测量的方法。Another aspect of the invention provides a method for CTD measurement using the above-mentioned measurement circuit or measurement device.

优选地,该方法包括:Preferably, the method includes:

(1)产生数字正弦波形式的激励信号;(1) Generate an excitation signal in the form of a digital sine wave;

(2)将上述数字正弦波信号转换成模拟正弦波信号;(2) converting the above-mentioned digital sine wave signal into an analog sine wave signal;

(3)对上述模拟正弦波信号进行低通滤波;(3) low-pass filtering the above-mentioned analog sine wave signal;

(4)通过切换可编程多路复用器来切换两个I/V转换单元的测量对象(传感器或极低温度系数的参比电阻),以达到双通道并行交替测量来自传感器或参比电阻的模拟响应电压信号的目的;(4) Switch the measurement object (sensor or reference resistance with extremely low temperature coefficient) of the two I/V conversion units by switching the programmable multiplexer, so as to achieve dual-channel parallel alternate measurement from the sensor or reference resistance The purpose of the analog response to the voltage signal;

(5)分别放大上述两个通道的模拟响应电压信号;(5) respectively amplifying the analog response voltage signals of the above two channels;

(6)分别对上述两个通道放大后的模拟响应电压信号进行低通滤波;(6) respectively low-pass filtering the amplified analog response voltage signals of the above two channels;

(7)分别将上述两个通道滤波后的模拟响应电压信号转换成对应的数字响应电压信号;(7) respectively converting the analog response voltage signals filtered by the above two channels into corresponding digital response voltage signals;

(8)将上述两个通道的数字响应电压信号通过软件编程的方式进行重新整合,并运行实时的三参数正弦波拟合算法以得到传感器和参比电阻各自的响应电压值,根据二者之间的比例关系,进而得到与传感器所测参数相对应的精确全阻抗值。(8) Reintegrate the digital response voltage signals of the above two channels through software programming, and run a real-time three-parameter sine wave fitting algorithm to obtain the respective response voltage values of the sensor and the reference resistor. The proportional relationship between the two, and then obtain the accurate full impedance value corresponding to the parameters measured by the sensor.

这里所提到的整合指的是将某个交替周期内不同通道测得的同一被测器件(参比电阻或传感器)的响应电压信号相加。Integration, as mentioned here, refers to summing the response voltage signals of the same device under test (reference resistor or sensor) measured on different channels during an alternating period.

本发明的优点在于:The advantages of the present invention are:

本发明通过基于三参数正弦波拟合算法的电路设计方式,在支持全阻抗测量的同时,保证了测量的实时性。Through the circuit design method based on the three-parameter sine wave fitting algorithm, the present invention not only supports the full impedance measurement, but also ensures the real-time performance of the measurement.

本发明通过引入参比电阻的方式,能够显著减小或消除全阻抗测量电路中元器件漂移对传感器测量结果所带来的误差,即达到温度补偿的目的。The present invention can significantly reduce or eliminate the error brought by component drift in the full impedance measurement circuit to the measurement result of the sensor by introducing a reference resistance, that is, to achieve the purpose of temperature compensation.

本发明通过并行测量的方式,使得对传感器响应电压和参比电阻响应电压的测量能够同步进行,不影响整体的测量时间。In the present invention, the measurement of the response voltage of the sensor and the response voltage of the reference resistance can be performed synchronously by means of parallel measurement, without affecting the overall measurement time.

本发明通过交替测量的方式,使得测得的传感器响应电压和参比电阻响应电压的波形均包含两个通道的噪声信息,由此确保二者波形所包含的噪声趋于一致,再通过各自通道的三参数正弦波拟合算法同步减小噪声并获得各自精确的幅值和相位估计值,能够进一步提升电路的测量精度。The present invention makes the measured waveforms of the sensor response voltage and the reference resistance response voltage contain the noise information of the two channels by means of alternate measurement, thereby ensuring that the noises contained in the two waveforms tend to be consistent, and then pass through the respective channels. The three-parameter sine wave fitting algorithm simultaneously reduces noise and obtains their respective accurate amplitude and phase estimates, which can further improve the measurement accuracy of the circuit.

附图说明Description of drawings

图1为本发明的全阻抗测量装置的一种具体实施方式的结构示意图。FIG. 1 is a schematic structural diagram of a specific embodiment of the full impedance measurement device of the present invention.

图2为传统的单通道全阻抗测量电路的电路图。FIG. 2 is a circuit diagram of a conventional single-channel full impedance measurement circuit.

图3为本发明的全阻抗测量电路的电路图。FIG. 3 is a circuit diagram of the full impedance measurement circuit of the present invention.

图4为图3所示的全阻抗测量电路的第一种形式的电路图。FIG. 4 is a circuit diagram of a first form of the full impedance measurement circuit shown in FIG. 3 .

图5为图3所示的全阻抗测量电路的第二种形式的电路图。FIG. 5 is a circuit diagram of a second form of the full impedance measurement circuit shown in FIG. 3 .

图6为本发明的全阻抗测量装置的另外一种具体实施方式的电路图。FIG. 6 is a circuit diagram of another specific embodiment of the full impedance measurement device of the present invention.

具体实施方式Detailed ways

下面结合实施例及附图对本发明作进一步详细的描述,但本发明的实施方式不限于此。The present invention will be described in further detail below with reference to the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

本发明的全阻抗测量装置,通过并行的双通道交替测量来自传感器和参比电阻的响应电压,以及各自通道相应的三参数正弦波拟合,最终在不增长系统整体测量时间的情况下,能够显著减小甚至消除电路中元器件的性能参数漂移对全阻抗测量所带来的误差,即达到漂移补偿的目的。The full impedance measurement device of the present invention measures the response voltage from the sensor and the reference resistor alternately through parallel dual channels, and the three-parameter sine wave fitting corresponding to the respective channels, finally without increasing the overall measurement time of the system. Significantly reduce or even eliminate the error caused by the drift of the performance parameters of the components in the circuit to the full impedance measurement, that is, to achieve the purpose of drift compensation.

本发明的全阻抗测量装置的一种具体实施方式如图1所示,包括:A specific embodiment of the full impedance measurement device of the present invention is shown in FIG. 1 , including:

波形生成单元:产生数字正弦波形式的激励信号;Waveform generation unit: generate excitation signal in the form of digital sine wave;

数模转换单元:将上述数字正弦波信号转换成模拟正弦波信号;Digital-to-analog conversion unit: converts the above-mentioned digital sine wave signal into an analog sine wave signal;

滤波缓冲单元:对上述模拟正弦波信号进行低通滤波,并起到缓冲作用,以提高电路的带负载能力;Filtering buffer unit: perform low-pass filtering on the above-mentioned analog sine wave signal, and play a buffering role to improve the load capacity of the circuit;

阻抗测量单元:可细分为两个I/V转换单元(I/V转换单元1和I/V转换单元2)和切换单元,具体功能是,通过切换单元内的可编程多路复用器来切换两个I/V转换单元的测量对象(传感器或极低温度系数的参比电阻),以达到双通道并行交替测量来自传感器或参比电阻的模拟响应电压信号的目的;Impedance measurement unit: can be subdivided into two I/V conversion units (I/V conversion unit 1 and I/V conversion unit 2) and switching unit, the specific function is to use the programmable multiplexer in the switching unit To switch the measurement objects (sensors or reference resistors with extremely low temperature coefficient) of the two I/V conversion units, in order to achieve the purpose of alternately measuring the analog response voltage signals from the sensors or reference resistors in parallel with two channels;

差分放大单元1和差分放大单元2:分别放大上述两个通道的模拟响应电压信号;Differential amplifying unit 1 and differential amplifying unit 2: respectively amplify the analog response voltage signals of the above two channels;

低通滤波单元1和低通滤波单元2:分别对上述两个通道放大后的模拟响应电压信号进行低通滤波;Low-pass filtering unit 1 and low-pass filtering unit 2: respectively perform low-pass filtering on the analog response voltage signals amplified by the above two channels;

模数转换单元1和模数转换单元2:分别将上述两个通道滤波后的模拟响应电压信号转换成对应的数字响应电压信号;The analog-to-digital conversion unit 1 and the analog-to-digital conversion unit 2: respectively convert the analog response voltage signals filtered by the above two channels into corresponding digital response voltage signals;

数字信号处理单元:将上述两个通道的数字响应电压信号通过软件编程的方式进行重新整合,并运行实时的三参数正弦波拟合算法以得到传感器和参比电阻各自的响应电压值,根据二者之间的比例关系,进而得到与传感器所测参数相对应的精确全阻抗值。Digital signal processing unit: Reintegrate the digital response voltage signals of the above two channels through software programming, and run a real-time three-parameter sine wave fitting algorithm to obtain the respective response voltage values of the sensor and reference resistor. The proportional relationship between them can be obtained, and then the accurate full impedance value corresponding to the parameters measured by the sensor can be obtained.

其中,数模转换单元和模数转换单元1、模数转换单元2均采用同一时钟源控制并工作在同一采样频率,因此激励信号和响应信号的频率精确已知,可以完美支持三参数正弦波拟合算法。Among them, the digital-to-analog conversion unit, the analog-to-digital conversion unit 1, and the analog-to-digital conversion unit 2 are controlled by the same clock source and work at the same sampling frequency, so the frequencies of the excitation signal and the response signal are accurately known, which can perfectly support the three-parameter sine wave fitting algorithm.

本发明的全阻抗测量电路,如图3所示,全阻抗测量电路1包括:输入电阻Rin1和输入电阻Rin2、跨阻放大器I/V1和跨阻放大器I/V2、差分放大器IA1和差分放大器IA2,参比电阻Rcal,传感器Sensor,以及四个可编程多路复用器:可编程多路复用器MUX1,可编程多路复用器MUX2,可编程多路复用器MUX3,可编程多路复用器MUX4;其中,The full impedance measurement circuit of the present invention, as shown in FIG. 3 , the full impedance measurement circuit 1 includes: an input resistance R in1 and an input resistance R in2 , a transimpedance amplifier I/V1 and a transimpedance amplifier I/V2, a differential amplifier IA1 and a differential Amplifier IA2, reference resistor R cal , sensor Sensor, and four programmable multiplexers: programmable multiplexer MUX1, programmable multiplexer MUX2, programmable multiplexer MUX3, Programmable multiplexer MUX4; where,

参比电阻Rcal提供参考电压值;传感器Sensor的电流注入端(I+和I-)用于输入电流信号,电压输出端(V+和V-)用于检测响应电压信号;The reference resistor R cal provides the reference voltage value; the current injection terminals (I+ and I-) of the sensor Sensor are used to input the current signal, and the voltage output terminals (V+ and V-) are used to detect the response voltage signal;

输入电阻Rin1耦合至跨阻放大器I/V1的负输入端子;输入电阻Rin2耦合至跨阻放大器I/V2的负输入端子,跨阻放大器I/V1的正输入端子和跨阻放大器I/V2的正输入端子均接地。The input resistor R in1 is coupled to the negative input terminal of the transimpedance amplifier I/V1; the input resistor R in2 is coupled to the negative input terminal of the transimpedance amplifier I/V2, the positive input terminal of the transimpedance amplifier I/V1 and the transimpedance amplifier I/ The positive input terminals of V2 are both grounded.

电路在两种形式下切换,如图4所示,第一种形式为:The circuit switches in two forms, as shown in Figure 4, the first form is:

传感器Sensor的电流注入端耦合在跨阻放大器I/V1的负输入端子与所述跨阻放大器I/V1的输出端子之间;The current injection end of the sensor Sensor is coupled between the negative input terminal of the transimpedance amplifier I/V1 and the output terminal of the transimpedance amplifier I/V1;

传感器Sensor的电压输出端耦合在差分放大器IA1的正输入端子与差分放大器IA1的负输入端子之间;The voltage output end of the sensor Sensor is coupled between the positive input terminal of the differential amplifier IA1 and the negative input terminal of the differential amplifier IA1;

参比电阻Rcal耦合在跨阻放大器I/V2的负输入端子与跨阻放大器I/V2的输出端子之间;The reference resistor R cal is coupled between the negative input terminal of the transimpedance amplifier I/V2 and the output terminal of the transimpedance amplifier I/V2;

参比电阻Rcal还耦合在差分放大器IA2的正输入端子与差分放大器IA2的负输入端子之间;The reference resistor R cal is also coupled between the positive input terminal of the differential amplifier IA2 and the negative input terminal of the differential amplifier IA2;

如图5所示,第二种形式为:As shown in Figure 5, the second form is:

传感器Sensor的电流注入端耦合在跨阻放大器I/V2的负输入端子与跨阻放大器I/V2的输出端子之间;The current injection end of the sensor Sensor is coupled between the negative input terminal of the transimpedance amplifier I/V2 and the output terminal of the transimpedance amplifier I/V2;

传感器Sensor的电压输出端耦合在差分放大器IA2的正输入端子与差分放大器IA2的负输入端子之间;The voltage output terminal of the sensor Sensor is coupled between the positive input terminal of the differential amplifier IA2 and the negative input terminal of the differential amplifier IA2;

参比电阻Rcal耦合在跨阻放大器I/V1的负输入端子与跨阻放大器I/V1的输出端子之间;The reference resistance R cal is coupled between the negative input terminal of the transimpedance amplifier I/V1 and the output terminal of the transimpedance amplifier I/V1;

参比电阻Rcal还耦合在差分放大器IA1的正输入端子与差分放大器IA1的负输入端子之间。The reference resistor R cal is also coupled between the positive input terminal of the differential amplifier IA1 and the negative input terminal of the differential amplifier IA1 .

下面对本发明的基本原理作具体的阐述:The basic principle of the present invention is described in detail below:

图2显示的是一个传统的单通道全阻抗测量电路的电路图,包括阻抗测量单元和差分放大单元部分。其中,I/V是一个跨阻放大器,C/T/D Sensor是一个四端式的传感器(可以是电导率、温度、深度等传感器其中之一),IA是一个差分放大器。假设Vin是经过数模转换和滤波缓冲后的正弦波激励信号,Rin是跨阻放大器I/V的输入电阻,则输入电流I可计算为:Figure 2 shows the circuit diagram of a traditional single-channel full impedance measurement circuit, including the impedance measurement unit and the differential amplifier unit. Among them, I/V is a transimpedance amplifier, C/T/D Sensor is a four-terminal sensor (which can be one of conductivity, temperature, depth and other sensors), and IA is a differential amplifier. Assuming that V in is the sine wave excitation signal after digital-to-analog conversion and filtering and buffering, and R in is the input resistance of the transimpedance amplifier I/V, the input current I can be calculated as:

Figure BDA0002077858140000091
Figure BDA0002077858140000091

假设差分放大器的差分放大倍数为G,经过差分放大和数字信号处理后得到的传感器响应电压幅值为U,则最终传感器所测参数对应的阻抗值|ZS|大小为:Assuming that the differential amplification factor of the differential amplifier is G, and the sensor response voltage amplitude obtained after differential amplification and digital signal processing is U, the impedance value |Z S | corresponding to the parameters measured by the final sensor is:

Figure BDA0002077858140000101
Figure BDA0002077858140000101

由式[1]和式[2]整理可得:According to formula [1] and formula [2], we can get:

Figure BDA0002077858140000102
Figure BDA0002077858140000102

从式[3]可以分析,阻抗值|ZS|的大小与差分放大倍数G、跨阻放大器输入电阻Rin有关,即阻抗测量值的精度受到差分放大器、跨阻放大器和输入电阻时漂或温漂的影响。It can be analyzed from formula [3] that the magnitude of the impedance value |Z S | is related to the differential amplification factor G and the input resistance R in of the transimpedance amplifier, that is, the accuracy of the impedance measurement value is affected by the differential amplifier, the transimpedance amplifier and the input resistance time drift or The influence of temperature drift.

由此,引出本发明的漂移补偿方法。图3~5为本发明的全阻抗测量电路图,包括阻抗测量单元和差分放大单元对应的电路示意图。Thus, the drift compensation method of the present invention is derived. 3 to 5 are full impedance measurement circuit diagrams of the present invention, including schematic circuit diagrams corresponding to the impedance measurement unit and the differential amplifying unit.

如图3所示,双通道采用完全对称的设计,即输入电阻Rin1和Rin2、跨阻放大器I/V1和I/V2、差分放大器IA1和IA2,包括后续的低通滤波器单元1和低通滤波器单元2、模数转换单元1和模数转换单元2,均采用同样参数的元器件构成。图3虚线框内的部分对应图1中所示的切换单元,它由以下几个组成部分:As shown in Figure 3, the dual channel adopts a fully symmetrical design, namely input resistors R in1 and R in2 , transimpedance amplifiers I/V1 and I/V2, differential amplifiers IA1 and IA2, including subsequent low-pass filter units 1 and 1 The low-pass filter unit 2, the analog-to-digital conversion unit 1 and the analog-to-digital conversion unit 2 are all constituted by components with the same parameters. The part in the dashed box in Figure 3 corresponds to the switching unit shown in Figure 1, which consists of the following components:

(1)四端式的传感器Sensor:传感器的电流注入端(I+和I-)用于输入电流信号,电压输出端(V+和V-)用于检测响应电压信号;(1) Four-terminal sensor Sensor: the current injection terminals (I+ and I-) of the sensor are used to input the current signal, and the voltage output terminals (V+ and V-) are used to detect the response voltage signal;

(2)极低温度系数、超高精度的参比电阻Rcal:提供参考电压值;(2) Very low temperature coefficient, ultra-high precision reference resistance R cal : provide reference voltage value;

(3)四个可编程多路复用器:分为MUX1+MUX3和MUX2+MUX4两组,用作测量对象切换。其中,MUX1和MUX2用于选取跨阻放大器I/V1和I/V2的负反馈端负载(传感器或参比电阻),MUX3和MUX4用于选取差分放大器IA1和IA2的差分输入端的输入信号。(3) Four programmable multiplexers: divided into two groups of MUX1+MUX3 and MUX2+MUX4, which are used for measurement object switching. Among them, MUX1 and MUX2 are used to select the negative feedback terminal load (sensor or reference resistor) of the transimpedance amplifiers I/V1 and I/V2, and MUX3 and MUX4 are used to select the input signals of the differential input terminals of the differential amplifiers IA1 and IA2.

基于图2~5的电路图,下面介绍本发明的全阻抗测量电路的“双通道并行交替测量”的具体实现原理:Based on the circuit diagrams of FIGS. 2 to 5 , the specific implementation principle of the “dual-channel parallel alternate measurement” of the full impedance measurement circuit of the present invention is described below:

首先,我们作以下两点假设:First, we make the following two assumptions:

(1)波形生成单元存储的波形为一个N点的数字正弦波形;(1) The waveform stored by the waveform generation unit is a digital sinusoidal waveform of N points;

(2)Vin为数模转换单元以m Hz的采样频率对数字正弦波形采样并经过滤波缓冲后的模拟正弦波激励信号,则模拟正弦波激励信号的周期(即测量周期)为

Figure BDA0002077858140000111
(2) V in is the analog sine wave excitation signal that the digital-to-analog conversion unit samples the digital sine waveform at the sampling frequency of m Hz and is filtered and buffered, then the period of the analog sine wave excitation signal (that is, the measurement period) is
Figure BDA0002077858140000111

编程控制切换单元在k个测量周期进行切换,模数转换单元1和模数转换单元2同时以m Hz的采样速率将各自通道检测到的模拟响应电压信号转换成数字响应电压信号(假设通道1和通道2各自得到的数字响应电压信号分别为x和y)。控制采样时间为2k个测量周期,则x和y均包含传感器响应电压vs和参比电阻响应电压vc的波形信息,假设:The programming controls the switching unit to switch in k measurement cycles, and the analog-to-digital conversion unit 1 and the analog-to-digital conversion unit 2 simultaneously convert the analog response voltage signal detected by the respective channel into a digital response voltage signal at a sampling rate of m Hz (assuming channel 1). The digital response voltage signals obtained from channel 2 and channel 2 are respectively x and y). If the sampling time is controlled to be 2k measurement cycles, then both x and y contain the waveform information of the sensor response voltage vs and the reference resistance response voltage vc , assuming:

x=x1+x2 [4]x=x 1 +x 2 [4]

y=y1+y2 [5]y=y 1 +y 2 [5]

式[4][5]中,x1、x2分别表示信号x第1至k个周期、第k+1至2k个周期的波形信息,y1、y2分别表示信号y第1至k个周期、第k+1至2k个周期的波形信息。假设在第1至k个周期内,通道1测量传感器的响应电压,通道2测量参比电阻的响应电压(如图4),则有:In formula [4][5], x 1 and x 2 respectively represent the waveform information of the 1st to kth cycles and k+1 to 2kth cycles of the signal x, and y 1 and y 2 respectively represent the 1st to kth cycles of the signal y. waveform information of the k+1 to 2kth cycles. Assuming that in the first to k cycles, channel 1 measures the response voltage of the sensor, and channel 2 measures the response voltage of the reference resistance (as shown in Figure 4), there are:

x1=vs1,y1=vc1 [6]x 1 =v s1 , y 1 =v c1 [6]

式[6]中,vs1表示第1至k个周期的传感器响应电压,vc1表示第1至k个周期的参比电阻响应电压。那么,在第k+1至2k个周期内,通道1测量参比电阻的响应电压,通道2测量传感器的响应电压(如图5),即:In formula [6], v s1 represents the sensor response voltage in the first to k cycles, and v c1 represents the reference resistance response voltage in the first to k cycles. Then, in the k+1 to 2kth cycle, channel 1 measures the response voltage of the reference resistor, and channel 2 measures the response voltage of the sensor (as shown in Figure 5), namely:

x2=vc2,y2=vs2 [7]x 2 =v c2 , y 2 =v s2 [7]

将式[6][7]代入式[4][5]可得:Substitute formula [6][7] into formula [4][5] to get:

x=vs1+vc2 [8]x=v s1 +v c2 [8]

y=vc1+vs2 [9]y=v c1 +v s2 [9]

从式[8][9]可以直观地看出,通道1和通道2达到了交替测量传感器响应电压vs和参比电阻响应电压vc的目的。It can be seen intuitively from equations [8] and [9] that channel 1 and channel 2 achieve the purpose of alternately measuring the sensor response voltage vs and the reference resistance response voltage vc .

将上述的两路数字响应电压信号x和y输入数字信号处理单元,在数字信号处理单元内进行以下的数字信号处理过程:通过软件编程的方式,将式[8][9]所描述的信号x和y进行实时的重新整合(比如,将1至k周期通道1测得的传感器响应电压与k+1至2k周期通道2测得的传感器响应电压整合相加,将1至k周期通道2测得的参比电阻的响应电压与k+1至2k周期通道1测得的参比电阻的响应电压整合相加),最终可以分别得到2k个周期的传感器响应电压vs和参比电阻响应电压vc的数字正弦波形:Input the above-mentioned two-channel digital response voltage signals x and y into the digital signal processing unit, and the following digital signal processing process is performed in the digital signal processing unit: by means of software programming, the signals described in formula [8][9] are x and y are reintegrated in real time (for example, the sensor response voltage measured on 1 to k cycles channel 1 is integrated and summed with the sensor response voltage measured on k+1 to 2k cycles channel 2, the 1 to k cycle channel 2 The measured response voltage of the reference resistance is integrated and added with the response voltage of the reference resistance measured in channel 1 of k +1 to 2k cycles), and finally the sensor response voltage vs and the reference resistance response of 2k cycles can be obtained respectively. Digital sinusoidal waveform of voltage v c :

vs=vs1+vs2=x1+y2 [10]v s =v s1 +v s2 =x 1 +y 2 [10]

vc=vc1+vc2=y1+x2 [11]v c =v c1 +v c2 =y 1 +x 2 [11]

从式[10][11]可以看出,传感器响应电压vs和参比电阻响应电压vc均包含了通道1和通道2的噪声(即可以认为vs和vc所包含的噪声达到一致),再对上述的vs和vc分别运行实时的三参数正弦波拟合算法,以获得各自的响应电压幅值(分别记为Us和Uc)和相位。It can be seen from formula [10][11] that both the sensor response voltage v s and the reference resistance response voltage v c contain the noise of channel 1 and channel 2 (that is, it can be considered that the noise contained in v s and v c are consistent ), and then run a real-time three-parameter sine wave fitting algorithm on the above v s and v c respectively to obtain the respective response voltage amplitudes (respectively denoted as U s and U c ) and phases.

如图3,由于双通道采用完全对称的设计,则记:As shown in Figure 3, since the dual channel adopts a completely symmetrical design, then write:

Rin1=Rin2=R(即I1=I2=I) [12]R in1 =R in2 =R (ie I 1 =I 2 =I) [12]

G1=G2=G [13]G 1 =G 2 =G [13]

而传感器所测参数对应的阻抗值|Zsensor|和参比电阻值Rcal根据式[12][13]可分别计算为:The impedance value |Z sensor | and the reference resistance value R cal corresponding to the parameters measured by the sensor can be calculated as:

Figure BDA0002077858140000121
Figure BDA0002077858140000121

Figure BDA0002077858140000122
Figure BDA0002077858140000122

整理式[14][15]可得:Arrangement [14][15] can be obtained:

Figure BDA0002077858140000123
Figure BDA0002077858140000123

从式[16]可以看出,本漂移补偿设计方法规避了除参比电阻Rcal之外其他元器件的温度漂移对阻抗|Zsensor|测量精度的影响,而参比电阻Rcal可以选用极低温度系数、极高精度的电阻元器件,因此电路中元器件的漂移对传感器测量精度的影响基本可以消除。另外,本方法采用双通道并行交替测量的方式,从硬件层面做到综合考虑双通道的噪声,达到了和七参数拟合算法一样的拟合效果,但是本发明在信号处理方面只需实时运行三参数拟合算法,而无需迭代计算。It can be seen from equation [16] that this drift compensation design method avoids the influence of the temperature drift of other components except the reference resistor R cal on the measurement accuracy of the impedance |Z sensor | Resistive components with low temperature coefficient and extremely high precision, so the influence of the drift of components in the circuit on the measurement accuracy of the sensor can be basically eliminated. In addition, the method adopts the dual-channel parallel alternate measurement method, comprehensively considers the noise of the dual-channel from the hardware level, and achieves the same fitting effect as the seven-parameter fitting algorithm, but the present invention only needs to run in real time in terms of signal processing. Three-parameter fitting algorithm without iterative computation.

下面以图6所示的电路结构图为例,介绍本发明的另外一种具体实施方式。Another specific embodiment of the present invention is described below by taking the circuit structure diagram shown in FIG. 6 as an example.

本实施例描述的可以认为是一个传感器测量系统,其包含用于全阻抗测量的模拟电路以及与之相配套的数字电路。下面对模拟电路和数字电路两部分的功能和选型作具体介绍。What this embodiment describes can be considered as a sensor measurement system, which includes an analog circuit for full impedance measurement and a digital circuit matched with it. The function and selection of the analog circuit and the digital circuit are described in detail below.

模拟电路主要用于具体的双通道相互校正和全阻抗测量的功能实现,包含以下部分:The analog circuit is mainly used for the realization of the specific dual-channel mutual correction and full impedance measurement, including the following parts:

(1)DAC:数模转换器,其为一种数模转换单元,用于将来自波形生成单元的数字正弦波信号转换成模拟正弦波信号,可以选用分辨率为12bits至18bits、采样速率为1MHz以上的DAC模块;(1) DAC: digital-to-analog converter, which is a digital-to-analog conversion unit, which is used to convert the digital sine wave signal from the waveform generation unit into an analog sine wave signal. The resolution is 12bits to 18bits, and the sampling rate is DAC module above 1MHz;

(2)BUF_LPF:有源低通滤波器,其为一种滤波缓冲单元,用于对上述模拟正弦波信号进行低通滤波,并作为缓冲以提高电路的带负载能力,可以选用低噪声的精密运算放大器和高精度的电阻、电容构成;(2) BUF_LPF: Active low-pass filter, which is a filter buffer unit, used to low-pass filter the above-mentioned analog sine wave signal, and as a buffer to improve the load capacity of the circuit, you can choose low-noise precision It is composed of operational amplifier and high-precision resistors and capacitors;

(3)I/V1和I/V2:跨阻放大器,其为I/V转换单元,用于将各自通道的输入电流信号转换成负反馈端的电压信号,也即来自传感器或者参比电阻的响应电压信号,同样可以选用低噪声的精密运算放大器构成;(3) I/V1 and I/V2: transimpedance amplifiers, which are I/V conversion units, used to convert the input current signal of the respective channel into a voltage signal at the negative feedback terminal, that is, the response from the sensor or reference resistor The voltage signal can also be composed of a low-noise precision operational amplifier;

(4)MUX1至MUX4:多路复用器,用于选取跨阻放大器(I/V1和I/V2)的反馈端负载(传感器或参比电阻)以及差分放大器(IA1和IA2)的输入信号,以达到双通道并行交替测量的目的,可以选用四个可编程式双SPDT模拟开关;(4) MUX1 to MUX4: Multiplexers for selecting the feedback load (sensor or reference resistor) of the transimpedance amplifier (I/V1 and I/V2) and the input signal of the differential amplifier (IA1 and IA2) , in order to achieve the purpose of dual-channel parallel alternate measurement, four programmable dual SPDT analog switches can be selected;

(5)C/T/D Sensor:四端式传感器,包括四电极式电导率传感器、PRT电桥式温度传感器、压敏电阻电桥式压力传感器等;(5) C/T/D Sensor: Four-terminal sensor, including four-electrode conductivity sensor, PRT bridge temperature sensor, piezoresistor bridge pressure sensor, etc.;

(6)Rcal:参比电阻,用于为传感器的响应电压提供参考电压,可以选用精度为0.01%至0.1%、温度系数在20PPM/℃以内的金属箔电阻;(6) R cal : reference resistance, used to provide a reference voltage for the response voltage of the sensor, a metal foil resistance with an accuracy of 0.01% to 0.1% and a temperature coefficient within 20PPM/°C can be selected;

(7)IA1和IA2:差分放大器,对应发明内容中的“差分放大单元1”和“差分放大单元2”,用于差分放大各自通道的模拟响应电压信号,可以选用数字可编程式的仪表放大器或者固定放大倍数的差分放大器;(7) IA1 and IA2: differential amplifiers, corresponding to the "differential amplifying unit 1" and "differential amplifying unit 2" in the summary of the invention, used to differentially amplify the analog response voltage signals of the respective channels, digital programmable instrumentation amplifiers can be selected Or a differential amplifier with a fixed magnification;

(8)LPF1和LPF2:无源低通滤波器,其为一种低通滤波单元,用于对上述经过差分放大的模拟响应电压信号进行低通滤波,以消除信号内的高频噪声,可以选用高精度的电阻、电容来构成;(8) LPF1 and LPF2: passive low-pass filters, which are low-pass filtering units used to low-pass filter the differentially amplified analog response voltage signal to eliminate high-frequency noise in the signal, which can Use high-precision resistors and capacitors to form;

(9)ADC1和ADC2:模数转换器,其为一种模数转换单元,用于将上述经过低通滤波后的模拟响应电压信号转换为数字响应电压信号,以用于后续的数字信号处理,可以选用分辨率为12bits至18bits、采样速率为1MHz以上的ADC模块。(9) ADC1 and ADC2: an analog-to-digital converter, which is an analog-to-digital conversion unit, used to convert the low-pass filtered analog response voltage signal into a digital response voltage signal for subsequent digital signal processing , ADC modules with a resolution of 12bits to 18bits and a sampling rate of more than 1MHz can be selected.

在上述内容中,(4)、(5)、(6)三个部分组成了切换单元;(3)、(4)、(7)、(8)、(9)五个部分中所提及的两路元器件需要采用同一参数的元器件,以达到完全对称的电路设计效果。In the above content, (4), (5), (6) three parts constitute the switching unit; (3), (4), (7), (8), (9) mentioned in the five parts The two-way components need to use components with the same parameters to achieve a completely symmetrical circuit design effect.

本实施例中的数字电路主要用于波形生成单元和数字信号处理单元的功能实现,包含以下部分:The digital circuit in this embodiment is mainly used for the function realization of the waveform generation unit and the digital signal processing unit, and includes the following parts:

FPGA:现场可编程门阵列,主要用于实现高速信号处理,包括生成正弦激励波形、运行三参数正弦波拟合算法、实现必要的测量过程逻辑控制,可以选用主流厂商的FPGA芯片,比如Altera的MAX10系列;FPGA: Field Programmable Gate Array, mainly used for high-speed signal processing, including generating sinusoidal excitation waveforms, running three-parameter sinusoidal wave fitting algorithms, and implementing necessary logic control of the measurement process. You can choose FPGA chips from mainstream manufacturers, such as Altera’s MAX10 series;

MCU:微控制单元,用于辅助FPGA,实现对传感器测量系统的整体逻辑控制、通信控制和电源控制,可以选用低功耗的微控制芯片,比如STM32F1的低功耗系列;MCU: Micro-control unit, which is used to assist FPGA to realize the overall logic control, communication control and power control of the sensor measurement system. Low-power microcontroller chips can be selected, such as the low-power series of STM32F1;

FLASH Memory:闪存,用于存储在线测量数据,便于后期上位机读取和使用,可以选用主流厂商的NOR闪存;FLASH Memory: Flash memory, used to store online measurement data, which is easy to read and use by the host computer in the later stage, and NOR flash memory of mainstream manufacturers can be selected;

USB Port:USB接口,用于和PC端的上位机通信,上位机负责传感器测量数据的读取、解析、展示等功能。USB Port: The USB interface is used to communicate with the host computer on the PC side. The host computer is responsible for reading, parsing, and displaying sensor measurement data.

本发明通过基于三参数正弦波拟合算法的电路设计方式,在支持全阻抗测量的同时,保证了测量的实时性。Through the circuit design method based on the three-parameter sine wave fitting algorithm, the present invention not only supports the full impedance measurement, but also ensures the real-time performance of the measurement.

本发明通过引入参比电阻的方式,能够显著减小或消除全阻抗测量电路中元器件漂移对传感器测量结果所带来的误差,即达到温度补偿的目的。The present invention can significantly reduce or eliminate the error caused by component drift in the full impedance measurement circuit to the measurement result of the sensor by introducing a reference resistance, that is, to achieve the purpose of temperature compensation.

本发明通过并行测量的方式,使得对传感器响应电压和参比电阻响应电压的测量能够同步进行,不影响整体的测量时间。In the present invention, the measurement of the response voltage of the sensor and the response voltage of the reference resistance can be performed synchronously by means of parallel measurement, without affecting the overall measurement time.

本发明通过交替测量的方式,使得测得的传感器响应电压和参比电阻响应电压的波形均包含两个通道的噪声信息,由此确保二者波形所包含的噪声趋于一致,再通过各自通道的三参数正弦波拟合算法同步减小噪声并获得各自精确的幅值和相位估计值,能够进一步提升电路的测量精度。The present invention makes the measured waveforms of the sensor response voltage and the reference resistance response voltage contain the noise information of the two channels by means of alternate measurement, thereby ensuring that the noise contained in the two waveforms tends to be consistent, and then pass through the respective channels. The three-parameter sine wave fitting algorithm simultaneously reduces noise and obtains their respective accurate amplitude and phase estimates, which can further improve the measurement accuracy of the circuit.

以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present invention have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or technical improvement in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.

Claims (8)

1.一种全阻抗测量电路,其特征在于,包括:1. a full impedance measurement circuit, is characterized in that, comprises: 第一跨阻放大器,第二跨阻放大器,第一差分放大器,第二差分放大器,参比电阻,传感器,以及多个可编程多路复用器,各相同部件参数相同,形成对称的双通道;The first transimpedance amplifier, the second transimpedance amplifier, the first differential amplifier, the second differential amplifier, the reference resistor, the sensor, and a plurality of programmable multiplexers, all of the same components have the same parameters, forming a symmetrical dual channel ; 所述参比电阻用于提供参考电压值;所述传感器的电流注入端用于输入激励电流信号,电压输出端用于提供响应电压信号;所述第一跨阻放大器的正输入端子和所述第二跨阻放大器的正输入端子均接地;The reference resistor is used to provide a reference voltage value; the current injection terminal of the sensor is used to input an excitation current signal, and the voltage output terminal is used to provide a response voltage signal; the positive input terminal of the first transimpedance amplifier and the The positive input terminals of the second transimpedance amplifier are all grounded; 多个所述可编程多路复用器对第一跨阻放大器,第二跨阻放大器,第一差分放大器,第二差分放大器,参比电阻进行联通,以使电路在下面两种形式下切换,进行交替测量:A plurality of the programmable multiplexers are connected to the first transimpedance amplifier, the second transimpedance amplifier, the first differential amplifier, the second differential amplifier, and the reference resistor, so that the circuit can be switched in the following two forms , take alternate measurements: 第一种形式:First form: 所述传感器的电流注入端耦合在所述第一跨阻放大器的负输入端子与所述第一跨阻放大器的输出端子之间;The current injection end of the sensor is coupled between the negative input terminal of the first transimpedance amplifier and the output terminal of the first transimpedance amplifier; 所述传感器的电压输出端耦合在所述第一差分放大器的正输入端子与所述第一差分放大器的负输入端子之间;The voltage output of the sensor is coupled between the positive input terminal of the first differential amplifier and the negative input terminal of the first differential amplifier; 所述参比电阻耦合在所述第二跨阻放大器的负输入端子与所述第二跨阻放大器的输出端子之间;the reference resistor is coupled between the negative input terminal of the second transimpedance amplifier and the output terminal of the second transimpedance amplifier; 所述参比电阻还耦合在所述第二差分放大器的正输入端子与所述第二差分放大器的负输入端子之间;the reference resistor is also coupled between the positive input terminal of the second differential amplifier and the negative input terminal of the second differential amplifier; 第二种形式:The second form: 所述传感器的电流注入端耦合在所述第二跨阻放大器的负输入端子与所述第二跨阻放大器的输出端子之间;The current injection end of the sensor is coupled between the negative input terminal of the second transimpedance amplifier and the output terminal of the second transimpedance amplifier; 所述传感器的电压输出端耦合在所述第二差分放大器的正输入端子与所述第二差分放大器的负输入端子之间;The voltage output of the sensor is coupled between the positive input terminal of the second differential amplifier and the negative input terminal of the second differential amplifier; 所述参比电阻耦合在所述第一跨阻放大器的负输入端子与所述第一跨阻放大器的输出端子之间;the reference resistor is coupled between the negative input terminal of the first transimpedance amplifier and the output terminal of the first transimpedance amplifier; 所述参比电阻还耦合在所述第一差分放大器的正输入端子与所述第一差分放大器的负输入端子之间,The reference resistor is also coupled between the positive input terminal of the first differential amplifier and the negative input terminal of the first differential amplifier, 其中,将第一通道测得的传感器响应电压信号、参比电阻响应电压与第二通道测得的传感器响应电压、参比电阻响应电压整合相加,分别得到各个周期测得的传感器响应电压信号vs和参比电阻响应电压信号vc的波形,传感器响应电压信号vs和参比电阻响应电压vc均包含了两个通道的噪声,基于传感器响应电压信号vs和参比电阻响应电压信号vc以及参比电阻值计算待测阻抗。Among them, the sensor response voltage signal and reference resistance response voltage measured by the first channel are integrated and added together with the sensor response voltage and reference resistance response voltage measured by the second channel to obtain the sensor response voltage signal measured in each cycle. The waveforms of the response voltage signal vc of v s and the reference resistance, the response voltage signal of the sensor v s and the response voltage v c of the reference resistance both contain the noise of two channels, based on the response voltage signal of the sensor v s and the response voltage of the reference resistance The signal vc and the reference resistance value calculate the impedance to be measured. 2.根据权利要求1所述的全阻抗测量电路,其特征在于,还包括:2. full impedance measurement circuit according to claim 1, is characterized in that, also comprises: 第一输入电阻,所述第一输入电阻耦合至所述第一跨阻放大器的负输入端子;a first input resistor coupled to the negative input terminal of the first transimpedance amplifier; 第二输入电阻,所述第二输入电阻耦合至所述第二跨阻放大器的负输入端子。A second input resistance coupled to the negative input terminal of the second transimpedance amplifier. 3.一种全阻抗测量装置,其特征在于,包括:两个测量通道,各相同部件参数相同,形成对称的双通道,其中,3. A full-impedance measurement device, characterized in that it comprises: two measurement channels, each of which has the same components with the same parameters, forming a symmetrical dual channel, wherein, 第一测量通道上依次包括:第一I/V转换单元,切换单元,第一差分放大单元;The first measurement channel sequentially includes: a first I/V conversion unit, a switching unit, and a first differential amplifying unit; 第二测量通道上依次包括:第二I/V转换单元,切换单元,第二差分放大单元;The second measurement channel sequentially includes: a second I/V conversion unit, a switching unit, and a second differential amplifying unit; 所述切换单元为两个测量通道共用,其内设有可编程多路复用器;该可编程多路复用器可使所述第一I/V转换单元和所述第二I/V转换单元的测量对象,在传感器和参比电阻之间切换,交替测量;The switching unit is shared by two measurement channels, and a programmable multiplexer is arranged in it; the programmable multiplexer can make the first I/V conversion unit and the second I/V The measurement object of the conversion unit is switched between the sensor and the reference resistance, and the measurement is alternated; 所述第一差分放大单元和所述第二差分放大单元可分别放大所述第一测量通道和所述第二测量通道的模拟响应电压信号,The first differential amplifying unit and the second differential amplifying unit can respectively amplify the analog response voltage signals of the first measurement channel and the second measurement channel, 其中,将第一通道测得的传感器响应电压信号、参比电阻响应电压与第二通道测得的传感器响应电压、参比电阻响应电压整合相加,分别得到各个周期测得的传感器响应电压信号vs和参比电阻响应电压信号vc的波形,传感器响应电压信号vs和参比电阻响应电压vc均包含了两个通道的噪声,基于传感器响应电压信号vs和参比电阻响应电压信号vc以及参比电阻值计算待测阻抗。Among them, the sensor response voltage signal and reference resistance response voltage measured by the first channel are integrated and added together with the sensor response voltage and reference resistance response voltage measured by the second channel to obtain the sensor response voltage signal measured in each cycle. The waveforms of the response voltage signal vc of v s and the reference resistance, the response voltage signal of the sensor v s and the response voltage v c of the reference resistance both contain the noise of two channels, based on the response voltage signal of the sensor v s and the response voltage of the reference resistance The signal vc and the reference resistance value calculate the impedance to be measured. 4.根据权利要求3所述的全阻抗测量装置,其特征在于,在两个测量通道之前,还设有依次连接的:波形生成单元,数模转换单元,以及滤波缓冲单元;所述滤波缓冲单元的输出端分别与两个测量通道的输入端连接;4. The full impedance measurement device according to claim 3, characterized in that, before the two measurement channels, there are also connected in sequence: a waveform generation unit, a digital-to-analog conversion unit, and a filter buffer unit; the filter buffer The output terminals of the unit are respectively connected with the input terminals of the two measurement channels; 所述波形生成单元,其可产生幅值、频率和相位可控的数字正弦波信号;the waveform generating unit, which can generate a digital sine wave signal whose amplitude, frequency and phase are controllable; 所述数模转换单元,其可将所述数字正弦波信号转换成模拟正弦波信号;the digital-to-analog conversion unit, which can convert the digital sine wave signal into an analog sine wave signal; 所述滤波缓冲单元,其可对所述模拟正弦波信号进行低通滤波。The filtering buffer unit can perform low-pass filtering on the analog sine wave signal. 5.根据权利要求4所述的全阻抗测量装置,其特征在于,5. The full impedance measurement device according to claim 4, characterized in that, 所述第一测量通道上,在所述第一差分放大单元后还连接有:第一低通滤波单元,第一模数转换单元;On the first measurement channel, after the first differential amplifying unit is further connected: a first low-pass filtering unit and a first analog-to-digital conversion unit; 所述第二测量通道上,在所述第二差分放大单元后还连接有:第二低通滤波单元,第二模数转换单元;On the second measurement channel, after the second differential amplifying unit is further connected: a second low-pass filtering unit and a second analog-to-digital conversion unit; 所述第一低通滤波单元和所述第二低通滤波单元可分别对所述第一测量通道和所述第二测量通道放大后的模拟响应电压信号进行低通滤波;The first low-pass filtering unit and the second low-pass filtering unit may perform low-pass filtering on the amplified analog response voltage signals of the first measurement channel and the second measurement channel, respectively; 所述第一模数转换单元和所述第二模数转换单元可分别将所述第一测量通道和所述第二测量通道滤波后的模拟响应电压信号转换成对应的数字响应电压信号。The first analog-to-digital conversion unit and the second analog-to-digital conversion unit may respectively convert analog response voltage signals filtered by the first measurement channel and the second measurement channel into corresponding digital response voltage signals. 6.根据权利要求5所述的全阻抗测量装置,其特征在于,还设有数字信号处理单元;6. The full impedance measurement device according to claim 5, characterized in that, further provided with a digital signal processing unit; 所述数字信号处理单元的输入端分别与所述第一模数转换单元和所述第二模数转换单元的输出端连接;The input ends of the digital signal processing unit are respectively connected with the output ends of the first analog-to-digital conversion unit and the second analog-to-digital conversion unit; 所述数字信号处理单元可将所述第一测量通道和所述第二测量通道的数字响应电压信号进行整合,运行三参数正弦波拟合算法,得到传感器和参比电阻的响应电压值。The digital signal processing unit can integrate the digital response voltage signals of the first measurement channel and the second measurement channel, run a three-parameter sine wave fitting algorithm, and obtain the response voltage values of the sensor and the reference resistor. 7.根据权利要求5所述的全阻抗测量装置,其特征在于,所述数模转换单元、所述第一模数转换单元、以及所述第二模数转换单元具有同一时钟源控制并工作在同一采样频率。7 . The full impedance measurement device according to claim 5 , wherein the digital-to-analog conversion unit, the first analog-to-digital conversion unit, and the second analog-to-digital conversion unit are controlled and operated by the same clock source. 8 . at the same sampling frequency. 8.根据权利要求6所述的全阻抗测量装置,其特征在于,所述参比电阻为温度系数在20PPM/℃以内的金属箔电阻。8 . The full impedance measurement device according to claim 6 , wherein the reference resistance is a metal foil resistance with a temperature coefficient within 20PPM/°C. 9 .
CN201910460350.9A 2019-05-30 2019-05-30 A full impedance measurement circuit and measurement device Active CN110082602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910460350.9A CN110082602B (en) 2019-05-30 2019-05-30 A full impedance measurement circuit and measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910460350.9A CN110082602B (en) 2019-05-30 2019-05-30 A full impedance measurement circuit and measurement device

Publications (2)

Publication Number Publication Date
CN110082602A CN110082602A (en) 2019-08-02
CN110082602B true CN110082602B (en) 2020-11-03

Family

ID=67422465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910460350.9A Active CN110082602B (en) 2019-05-30 2019-05-30 A full impedance measurement circuit and measurement device

Country Status (1)

Country Link
CN (1) CN110082602B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111693779B (en) * 2020-06-19 2025-01-07 珠海市运泰利自动化设备有限公司 High-precision measurement system for ultra-high impedance of low-voltage devices
CN114184856A (en) * 2021-12-06 2022-03-15 中国计量科学研究院 Thermal noise detection device based on fully differential structure and noise thermometer
CN114812915B (en) * 2022-06-24 2022-10-18 中国空气动力研究与发展中心低速空气动力研究所 Pressure scanning valve circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7489146B2 (en) * 2006-03-09 2009-02-10 Teradyne, Inc. V/I source and test system incorporating the same
CN203299350U (en) * 2013-05-08 2013-11-20 山西大学 Battery internal resistance on-line measuring instrument
CN103513211A (en) * 2013-10-25 2014-01-15 国家电网公司 Detecting device for alternating-current impedance tester
CN203949973U (en) * 2014-07-18 2014-11-19 苏州华兴源创电子科技有限公司 A kind of impedance measurement device
CN106291115A (en) * 2016-10-27 2017-01-04 哈尔滨理工大学 Distance power cable insulation impedance on-line monitoring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108152592B (en) * 2017-12-27 2020-04-03 北京航天测控技术有限公司 Lead impedance measurement system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7489146B2 (en) * 2006-03-09 2009-02-10 Teradyne, Inc. V/I source and test system incorporating the same
CN203299350U (en) * 2013-05-08 2013-11-20 山西大学 Battery internal resistance on-line measuring instrument
CN103513211A (en) * 2013-10-25 2014-01-15 国家电网公司 Detecting device for alternating-current impedance tester
CN203949973U (en) * 2014-07-18 2014-11-19 苏州华兴源创电子科技有限公司 A kind of impedance measurement device
CN106291115A (en) * 2016-10-27 2017-01-04 哈尔滨理工大学 Distance power cable insulation impedance on-line monitoring method

Also Published As

Publication number Publication date
CN110082602A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110082602B (en) A full impedance measurement circuit and measurement device
CN106989847B (en) Error Correction Method in Platinum Resistance Temperature Measuring System
CN105572475B (en) A kind of high impedance measuring circuit and signal processing method
CN203364966U (en) High-precision and high-sensitivity optical power meter with large dynamic range
CN109782054B (en) Alternating voltage commutation differential measurement device and method based on quantum voltage
CN109212448B (en) Self-stabilizing zero circuit
CN110530547A (en) A kind of micro- K magnitude temperature measuring device based on Wheatstone bridge and lock-in amplifier
CN108037156A (en) Multifrequency electrical impedance tomography system based on reference measure
CN108680616B (en) A digitally processed humidity sensing device and method
CN112269065B (en) A Dual-Excitation High-Precision Absolute Impedance Measurement Method
CN206671826U (en) Brshless DC motor AC signal real-time sampling system
CN103674315B (en) Four-channel noise thermometer with quantum voltage as reference
CN118367896B (en) Three-stage filtering method, device, equipment and medium for microvolt small signals
CN106571826B (en) A kind of system and method improving single-chip microcontroller analog-digital converter dynamic range
CN106855576A (en) A kind of portable glucose meter
CN108693407B (en) Reference resistance pair optimal impedance spectrum measurement method with minimum error
CN115363557B (en) Multi-frequency electrical impedance measurement method based on arbitrary waveforms and digital phase-sensitive demodulation
CN107561360B (en) A kind of sinusoidal signal method for measuring phase difference based on FPGA and subtraction circuit
CN109342660A (en) Single-chip-based gas sensor array output detection system and detection method
CN109374971B (en) Megahertz Impedance Measuring Meter Based on Embedded System
CN103234624B (en) High-precision frequency estimation system
CN205941869U (en) Measurement device for coil sensor resonance parameter
CN205679561U (en) Standing tree carrying out flaw detection device based on resistance tomography technology
CN111289801A (en) A two-dimensional resistance array readout circuit, method and system
CN101825644B (en) Temperature compensation device for accelerometer processing circuit and accelerometer thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant