[go: up one dir, main page]

CN117665397B - Capacitor complex impedance measurement method, circuit and device - Google Patents

Capacitor complex impedance measurement method, circuit and device Download PDF

Info

Publication number
CN117665397B
CN117665397B CN202410143577.1A CN202410143577A CN117665397B CN 117665397 B CN117665397 B CN 117665397B CN 202410143577 A CN202410143577 A CN 202410143577A CN 117665397 B CN117665397 B CN 117665397B
Authority
CN
China
Prior art keywords
circuit
signal
capacitor
phase
detected
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
CN202410143577.1A
Other languages
Chinese (zh)
Other versions
CN117665397A (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.)
Anhui University
Original Assignee
Anhui 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 Anhui University filed Critical Anhui University
Priority to CN202410143577.1A priority Critical patent/CN117665397B/en
Publication of CN117665397A publication Critical patent/CN117665397A/en
Application granted granted Critical
Publication of CN117665397B publication Critical patent/CN117665397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/30Reactive power compensation

Landscapes

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

Abstract

The invention belongs to the technical field of impedance measurement, and particularly relates to a capacitor complex impedance measurement method, circuit and device with self-adaptive parasitic capacitance compensation, wherein the method comprises the steps of inputting sinusoidal alternating current signal excitation into a measurement circuit, and carrying out output zeroing on the measurement circuit in an initial state so as to detect the complex impedance of a capacitor to be detected; shifting the phase of an input sinusoidal alternating current signal by 90 degrees or 0 degrees to generate a phase control signal after phase shifting; responding to the phase control signal and carrying out phase control rectification on the alternating current signal, filtering the alternating current signal subjected to phase control rectification, and converting the alternating current signal into direct current voltage for output; the measuring circuit provided by the invention can be used for measuring the complex impedance of the capacitive sensor, can also be used for measuring the variation of the complex impedance of the capacitive sensor, can automatically eliminate parasitic capacitance, achieves the purpose of precision measurement, and has the characteristics of large measuring range, high measuring precision and strong anti-interference capability.

Description

一种电容器复数阻抗测量方法、电路和装置A method, circuit and device for measuring complex impedance of capacitor

技术领域Technical Field

本发明属于阻抗测量技术领域,具体涉及一种电容器复数阻抗测量方法、电路和装置。The present invention belongs to the technical field of impedance measurement, and in particular relates to a method, circuit and device for measuring the complex impedance of a capacitor.

背景技术Background technique

微小电容测量技术一直被广泛应用于各种MEMS器件、电容传感器、结构间分布电容,因此在军工制造、航天航空、真空测量、生物医学等相关领域等都能相关的应用场景。对于电容层析成像等电容传感器应用场景而言,在交流激励下,电容器复数阻抗的测量可以获得更高分辨率的成像图像或更多的目标特征信息。Microcapacitance measurement technology has been widely used in various MEMS devices, capacitive sensors, and distributed capacitance between structures. Therefore, it can be used in military manufacturing, aerospace, vacuum measurement, biomedicine and other related fields. For capacitive sensor application scenarios such as capacitance tomography, the measurement of the complex impedance of the capacitor under AC excitation can obtain higher resolution imaging images or more target feature information.

目前,基于谐振法、CV转换、充放电等测量方法也发明了很多测量电路,但以测试电容的复数阻抗。同时,寄生电容或者杂散电容存在,可以通过板级设计优化,通常采用输入与输出端信号屏蔽等措施减小寄生电容的产生,也可以通过电路方案设计优化,通常设计具有差分输出的电路,这样可以较为容易的消除共模信号。但是,并非所有的检测电路都采用差分输出,因此设计差分输出电路消除寄生电容的方案具有一定的局限性,使得这些测量手段中难以消除。这也造成测量电容与理论计算或者仿真偏大,使得电容层析成像的清晰度降低。此外,对测量电路的成本、灵敏度、寄生效应抑制等越来越高要求。At present, many measurement circuits have been invented based on the resonance method, CV conversion, charge and discharge measurement methods, but the complex impedance of the test capacitor is used. At the same time, the existence of parasitic capacitance or stray capacitance can be optimized through board-level design, usually by using input and output signal shielding and other measures to reduce the generation of parasitic capacitance, or through circuit scheme design optimization, usually designing a circuit with differential output, so that the common mode signal can be eliminated more easily. However, not all detection circuits use differential output, so the solution of designing a differential output circuit to eliminate parasitic capacitance has certain limitations, making it difficult to eliminate in these measurement methods. This also causes the measured capacitance to be larger than the theoretical calculation or simulation, which reduces the clarity of capacitance tomography. In addition, there are increasingly higher requirements for the cost, sensitivity, and parasitic effect suppression of the measurement circuit.

发明内容Summary of the invention

本发明的目的就在于提供一种电容器复数阻抗测量方法、电路和装置,以解决背景技术中提出的问题。The purpose of the present invention is to provide a method, circuit and device for measuring the complex impedance of a capacitor to solve the problems raised in the background technology.

本发明通过以下技术方案来实现上述目的:The present invention achieves the above-mentioned purpose through the following technical solutions:

第一方面、本发明提供了一种电容器复数阻抗测量方法,适用于包含待检测电容器的测量电路,所述方法包括:In a first aspect, the present invention provides a method for measuring complex impedance of a capacitor, which is applicable to a measurement circuit including a capacitor to be detected, and the method comprises:

向所述测量电路中输入正弦交流信号激励,在初始状态下对所述测量电路进行输出调零,以检测待检测电容器的复数阻抗;Inputting a sinusoidal AC signal excitation into the measuring circuit, and performing output zeroing on the measuring circuit in an initial state to detect the complex impedance of the capacitor to be detected;

将输入正弦交流信号移相90°或0°,生成移相后的相控信号;The input sinusoidal AC signal is phase-shifted by 90° or 0° to generate a phase-shifted phase-controlled signal;

响应所述相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出。In response to the phase-controlled signal, the AC signal is subjected to phase-controlled rectification, and the AC signal after the phase-controlled rectification is filtered and converted into a DC voltage for output.

作为本发明的进一步优化方案,所述初始状态包括所述测量电路未接入所述待检测电容器,或测量电路接入待检测电容器上电的初始时刻。As a further optimization solution of the present invention, the initial state includes the initial moment when the measuring circuit is not connected to the capacitor to be detected, or the measuring circuit is connected to the capacitor to be detected and powered on.

作为本发明的进一步优化方案,基于待检测电容器复数的实部和虚部,对应检测实部时,输入正弦交流信号移相90°,对应检测虚部时,输入正弦交流信号移相0°。As a further optimization scheme of the present invention, based on the real part and imaginary part of the complex number of the capacitor to be detected, when detecting the real part, the input sinusoidal AC signal is phase-shifted by 90°, and when detecting the imaginary part, the input sinusoidal AC signal is phase-shifted by 0°.

第二方面、本发明提供了一种电容器复数阻抗测量电路,用于实施如以上所述测量方法,所述测量电路包括自补偿校准桥电路、移相电路和相控整流电路;In a second aspect, the present invention provides a capacitor complex impedance measurement circuit for implementing the measurement method as described above, wherein the measurement circuit comprises a self-compensating calibration bridge circuit, a phase shift circuit and a phase-controlled rectifier circuit;

所述自补偿校准桥电路用于向所述测量电路中输入正弦交流信号激励,在自补偿校准桥电路未接入所述待检测电容器,或自补偿校准桥电路接入待检测电容器上电的初始时刻下对测量电路进行输出调零,以检测待检测电容器的复数阻抗;The self-compensating calibration bridge circuit is used to input a sinusoidal AC signal excitation into the measuring circuit, and to perform output zeroing on the measuring circuit when the self-compensating calibration bridge circuit is not connected to the capacitor to be detected, or when the self-compensating calibration bridge circuit is connected to the capacitor to be detected and powered on at the initial moment, so as to detect the complex impedance of the capacitor to be detected;

所述移相电路用于将输入正弦交流信号移相90°或0°,生成移相后的相控信号;The phase shift circuit is used to shift the phase of the input sinusoidal AC signal by 90° or 0° to generate a phase-shifted phase-controlled signal;

所述相控整流电路用于响应所述相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出。The phase-controlled rectifier circuit is used to respond to the phase-controlled signal and perform phase-controlled rectification on the AC signal, and filter the AC signal after the phase-controlled rectification and convert it into a DC voltage for output.

作为本发明的进一步优化方案,所述的自补偿校准桥电路包含第一级反向比例电路、积分电路及带PI调节的反馈电路;As a further optimization scheme of the present invention, the self-compensation calibration bridge circuit comprises a first-stage reverse proportional circuit, an integration circuit and a feedback circuit with PI regulation;

所述相控整流电路包括比较器、第二级反向比例电路、模拟开关S1、二阶低通滤波电路;所述比较器即运算放大器,所述运算放大器/>的反向输入端与所述移相电路连接,正向输入端与电气地连接,运算放大器/>的输出端连接至模拟开关S1的信号输出端,开关S1的信号输出端并与二阶低通滤波电路相连,信号为/>,所述模拟开关S1的两个输入端分别连接至所述的自补偿校准桥电路的积分电路与第二级反向比例电路的输出端相连;The phase-controlled rectifier circuit includes a comparator, a second-stage reverse proportional circuit, an analog switch S1 , and a second-order low-pass filter circuit; the comparator is an operational amplifier. , the operational amplifier/> The inverting input terminal is connected to the phase shift circuit, the positive input terminal is connected to the electrical ground, and the operational amplifier/> The output end is connected to the signal output end of the analog switch S1 , and the signal output end of the switch S1 is connected to the second-order low-pass filter circuit. The signal is / > , the two input ends of the analog switch S1 are respectively connected to the integration circuit of the self-compensation calibration bridge circuit and the output end of the second-stage reverse proportional circuit;

所述第一级反向比例电路由放大器,电阻/>、/> 组成,电阻/>的一端连接到电气地,另一端与放大器/>的正向输入端相连,放大器/>的反向输入端与电阻/>、/>相连,电阻/>与所述的积分电路中的待检测电容器相连,电阻/>的另一端于放大器/>的输出端相连;The first stage reverse proportional circuit consists of an amplifier , resistance/> 、/> Composition, resistance/> One end is connected to electrical ground and the other end is connected to the amplifier/> The positive input terminal of the amplifier is connected to The inverting input terminal and resistor/> 、/> Connected, resistor/> Connected to the capacitor to be detected in the integration circuit, the resistor The other end of the amplifier The output terminal is connected to

所述积分电路由运算放大器反馈电阻/>组成,放大器/>与电阻/>组成的第一级反向比例电路与参考电容/>串联,并与待检测电容器及自动补偿电容/>并联,再通过运算放大器/>与反馈电阻/>组成积分电路输出信号/>The integration circuit consists of an operational amplifier Feedback resistor/> Composition, amplifier/> With resistor/> The first stage reverse proportional circuit and reference capacitor Connect in series with the capacitor to be detected and the automatic compensation capacitor/> In parallel, and then through the operational amplifier/> With feedback resistor/> The output signal of the integral circuit is composed of ;

所述第二级反向比例电路由放大器与电阻/>、/>组成,所述积分电路的输出端与电阻/>一端相连、电阻/>与放大器/>的反向输入端及电阻/>相连,电阻/>另一端与放大器/>的输出端相连,放大器/>的正向输入端连接至电气地,第二级反向比例电路的输出信号,即放大器/>的输出端的输出信号为/>,所述自动补偿电容/>可编程电容,待检测电容器包括泄露电容/>和泄露电阻/>The second stage reverse proportional circuit consists of an amplifier With resistor/> 、/> The output end of the integrating circuit is connected to a resistor. One end is connected to the resistor/> With amplifier/> The reverse input terminal and resistor/> Connected, resistor/> The other end is connected to the amplifier/> The output end of the amplifier is connected to The positive input terminal is connected to the electrical ground, and the output signal of the second stage inverse proportional circuit, that is, the amplifier / > The output signal at the output end is / > , the automatic compensation capacitor/> Programmable capacitor, capacitor to be detected includes leakage capacitor/> and leakage resistor/> ;

所述带PI调节的反馈电路包括FPGA单片机系统、ADC采集电路、PI控制器,所述ADC采集电路与二阶低通滤波电路的输出端相连接,所述ADC采集电路收集到信息后,传入单片机系统处理过后再传入PC端,PC端再通过PI控制器实现可变电容CT的校准,根据基于比较器的相控整流电路的输出反馈,ADC采集后通过MCU控制器对系统输出信号进行PI调节值,完成未接入检测待检测电容器或系统上电初始状态下调零。The feedback circuit with PI adjustment includes an FPGA single-chip computer system, an ADC acquisition circuit, and a PI controller. The ADC acquisition circuit is connected to the output end of the second-order low-pass filter circuit. After the ADC acquisition circuit collects information, it is transmitted to the single-chip computer system for processing and then transmitted to the PC end. The PC end then implements calibration of the variable capacitor CT through the PI controller. According to the output feedback of the phase-controlled rectifier circuit based on the comparator, the ADC collects the system output signal and performs PI adjustment value through the MCU controller to complete zeroing when the capacitor to be detected is not connected or the system is in the initial state of power-on.

作为本发明的进一步优化方案,所述移相电路中,当检测待检测电容器的虚部时,移相电路为微分电路,当检测电容传感器的实部/>时,此时不需要移相,交流信号与下一级的运算放大器/>的反相输入端相连。As a further optimization solution of the present invention, in the phase shift circuit, when detecting the imaginary part of the capacitor to be detected When the phase shift circuit is a differential circuit, when the real part of the capacitance sensor is detected/> When phase shift is not required, the AC signal and the next stage operational amplifier /> is connected to the inverting input terminal of .

作为本发明的进一步优化方案,模拟开关S1的常开触点连接至所述自补偿校准桥电路输出端,常闭触点连接至输出端/>,当输入端为原始激励信号移相90°,模拟开关输出信号/>经过二阶低通滤波电路整成直流量,此时检测待检测电容器的虚部/>;当输入端为原始激励信号,此时检测待检测电容器的实部/>,其中,输入正弦激励信号为A是输入正弦激励信号的增益;As a further optimization solution of the present invention, the normally open contact of the analog switch S1 is connected to the output end of the self-compensation calibration bridge circuit , the normally closed contact is connected to the output terminal /> , when the input end is the original excitation signal phase shifted 90°, the analog switch output signal/> After being rectified into DC by a second-order low-pass filter circuit, the imaginary part of the capacitor to be tested is detected at this time./> ; When the input end is the original excitation signal, the real part of the capacitor to be tested is detected at this time/> , where the input sinusoidal excitation signal is , A is the gain of the input sinusoidal excitation signal;

其中,当检测时,移相电路的输出信号的相位为激励信号滞后90°,再经过比较器控制的模拟开关/>输出信号为:Among them, when detecting When the phase of the output signal of the phase shift circuit is 90° behind the excitation signal, the analog switch controlled by the comparator is The output signal is:

再经过二阶低通滤波电路进行积分,当二阶低通滤波器的截止频率远小于激励信号频率即可得到直流信号,一个周期内信号积分后输出直流量近似计算为:Then it is integrated through a second-order low-pass filter circuit. When the cut-off frequency of the second-order low-pass filter is much smaller than the excitation signal frequency, a DC signal can be obtained. , the DC output after signal integration in one cycle is approximately calculated as:

检测虚部为:Detecting the imaginary part for:

当检测时,不需要移相电路,激励信号直接经过比较器控制的模拟开关/>输出信号为:When testing When the phase shift circuit is not required, the excitation signal directly passes through the analog switch controlled by the comparator. The output signal is:

检测实部为:Detection of real part for:

.

第三方面、本发明提供了一种测量装置,包括第一方面或第二方面的任一项可能的实现方式中的测量电路。In a third aspect, the present invention provides a measuring device, comprising the measuring circuit in any possible implementation of the first aspect or the second aspect.

1.本发明的有益效果在于:1. The beneficial effects of the present invention are:

本发明提出测量电路可用于测量电容传感器的复数阻抗,也可测量电容传感器的复数阻抗的变化量,可以自动消除寄生电容,达到精度测量的目的,具有测量范围大,测量精度高,抗干扰能力强的特点。The present invention proposes a measurement circuit which can be used to measure the complex impedance of a capacitance sensor and can also measure the change in the complex impedance of the capacitance sensor. The parasitic capacitance can be automatically eliminated to achieve the purpose of accurate measurement. The circuit has the characteristics of a large measurement range, high measurement accuracy and strong anti-interference ability.

2.本发明提出的测量电路包括自补偿校准桥电路、移相电路、基于比较器的相控整流电路,实现了将电容传感器的复数阻抗(或泄露电容、泄露电阻)转变为直流电压进行检测,可用于测量电容传感器的复数阻抗,也可测量电容传感器的复数阻抗的变化量,可以自动消除寄生电容,达到精度测量的目的。2. The measurement circuit proposed in the present invention includes a self-compensating calibration bridge circuit, a phase-shifting circuit, and a phase-controlled rectifier circuit based on a comparator, which realizes the conversion of the complex impedance (or leakage capacitance, leakage resistance) of the capacitive sensor into a DC voltage for detection. It can be used to measure the complex impedance of the capacitive sensor, and can also measure the change in the complex impedance of the capacitive sensor. It can automatically eliminate parasitic capacitance to achieve the purpose of precision measurement.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明中测量方法的执行流程示意图。FIG1 is a schematic diagram of the execution flow of the measurement method in the present invention.

图2为本发明的系统原理框图。FIG. 2 is a system principle block diagram of the present invention.

图3为本发明的可编程电容原理框图。FIG3 is a block diagram of the programmable capacitor principle of the present invention.

图4为本发明的移相电路中实现输入交流信号的移相90°的电路图。FIG. 4 is a circuit diagram of a phase shift circuit of the present invention for achieving a 90° phase shift of an input AC signal.

具体实施方式Detailed ways

下面结合附图对本申请作进一步详细描述,有必要在此指出的是,以下具体实施方式只用于对本申请进行进一步的说明,不能理解为对本申请保护范围的限制,该领域的技术人员可以根据上述申请内容对本申请作出一些非本质的改进和调整。The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.

实施例1Example 1

如图1所示,本实施方式提供了一种电容器复数阻抗测量方法,适用于包含待检测电容器的测量电路,所述方法包括:As shown in FIG. 1 , this embodiment provides a method for measuring complex impedance of a capacitor, which is applicable to a measurement circuit including a capacitor to be detected. The method includes:

S1、向所述测量电路中输入正弦交流信号激励,在输入正弦交流信号激励情况下,将检测的电容传感器复数阻抗转换为电压信号,在初始状态下对所述测量电路进行输出调零,以检测待检测电容器的复数阻抗;通过系统调零操作可以自动消除寄生电容。S1. Input a sinusoidal AC signal excitation into the measurement circuit. Under the condition of input sinusoidal AC signal excitation, the detected complex impedance of the capacitance sensor is converted into a voltage signal. The output of the measurement circuit is zeroed in the initial state to detect the complex impedance of the capacitor to be detected. The parasitic capacitance can be automatically eliminated by the system zeroing operation.

具体的,所述初始状态包括所述测量电路未接入所述待检测电容器,或测量电路接入待检测电容器上电的初始时刻。Specifically, the initial state includes the initial moment when the measuring circuit is not connected to the capacitor to be detected, or when the measuring circuit is connected to the capacitor to be detected and powered on.

S2、将输入正弦交流信号移相90°或0°,生成移相后的相控信号;S2, shift the phase of the input sinusoidal AC signal by 90° or 0° to generate a phase-shifted phase-controlled signal;

具体的,基于待检测电容器复数的实部和虚部,对应检测实部时,输入正弦交流信号移相90°,对应检测虚部时,输入正弦交流信号移相0°,移相0°也即不需要进行移相。Specifically, based on the real and imaginary parts of the complex number of the capacitor to be detected, when detecting the real part, the input sinusoidal AC signal is phase-shifted by 90°, and when detecting the imaginary part, the input sinusoidal AC signal is phase-shifted by 0°. A phase shift of 0° means that no phase shift is required.

S3、响应所述相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出。其中,滤波操作基于低通滤波电路实现。S3, responding to the phase-controlled signal and performing phase-controlled rectification on the AC signal, filtering the AC signal after phase-controlled rectification and converting it into a DC voltage for output, wherein the filtering operation is implemented based on a low-pass filter circuit.

可以理解的是,上述测量方法适用于基于电容复数阻抗或者复数阻抗变化测量的传感器;实现将电容传感器的复数阻抗(或泄露电容、泄露电阻)转变为直流电压进行检测,可用于测量电容传感器的复数阻抗,也可以只测量电容传感器的复数阻抗的变化量,可以自动消除寄生电容,达到精度测量的目的。It can be understood that the above measurement method is applicable to sensors based on the measurement of complex impedance of capacitance or complex impedance change; it realizes converting the complex impedance (or leakage capacitance, leakage resistance) of the capacitance sensor into a DC voltage for detection, which can be used to measure the complex impedance of the capacitance sensor, or only measure the change in the complex impedance of the capacitance sensor, and can automatically eliminate parasitic capacitance to achieve the purpose of precision measurement.

实施例2Example 2

基于同一发明构思,本实施例中还提供了与测量方法对应的测量电路,由于本公开实施例中的测量电路解决问题的原理与本公开实施例上述测量方法相似,因此测量电路的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a measurement circuit corresponding to the measurement method is also provided in this embodiment. Since the principle of solving the problem by the measurement circuit in the embodiment of the present disclosure is similar to the above-mentioned measurement method in the embodiment of the present disclosure, the implementation of the measurement circuit can refer to the implementation of the method, and the repeated parts will not be repeated.

如图2-4所示,本实施方式提供了一种电容器复数阻抗测量电路,用于实施如以上测量方法,测量电路包括自补偿校准桥电路、移相电路和相控整流电路;As shown in FIG2-4 , this embodiment provides a capacitor complex impedance measurement circuit for implementing the above measurement method, wherein the measurement circuit includes a self-compensating calibration bridge circuit, a phase shift circuit, and a phase-controlled rectifier circuit;

自补偿校准桥电路用于向测量电路中输入正弦交流信号激励,在自补偿校准桥电路未接入待检测电容器,或自补偿校准桥电路接入待检测电容器上电的初始时刻下对测量电路进行输出调零,以检测待检测电容器的复数阻抗;The self-compensating calibration bridge circuit is used to input a sinusoidal AC signal excitation into the measuring circuit, and to adjust the output of the measuring circuit to zero when the self-compensating calibration bridge circuit is not connected to the capacitor to be detected, or when the self-compensating calibration bridge circuit is connected to the capacitor to be detected and powered on, so as to detect the complex impedance of the capacitor to be detected;

移相电路用于将输入正弦交流信号移相90°或0°,生成移相后的相控信号;The phase shift circuit is used to shift the input sinusoidal AC signal by 90° or 0° to generate a phase-shifted phase-controlled signal;

相控整流电路用于响应相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出。The phase-controlled rectifier circuit is used to respond to the phase-controlled signal and perform phase-controlled rectification on the AC signal, filter the AC signal after the phase-controlled rectification, and then convert it into a DC voltage for output.

具体参考图2,作为进一步实施的,自补偿校准桥电路包含第一级反向比例电路、积分电路及带PI调节的反馈电路;2 , as a further implementation, the self-compensation calibration bridge circuit includes a first-stage reverse proportional circuit, an integration circuit, and a feedback circuit with PI regulation;

相控整流电路包括比较器、第二级反向比例电路、模拟开关S1、二阶低通滤波电路;比较器即运算放大器,运算放大器/>的反向输入端与移相电路连接,正向输入端与电气地连接,运算放大器/>的输出端连接至模拟开关S1的信号输出端,开关S1的信号输出端并与二阶低通滤波电路相连,信号为/>,模拟开关S1的两个输入端分别连接至的自补偿校准桥电路的积分电路与第二级反向比例电路的输出端相连;The phase-controlled rectifier circuit includes a comparator, a second-stage reverse proportional circuit, an analog switch S1 , and a second-order low-pass filter circuit; the comparator is an operational amplifier. , operational amplifier/> The reverse input terminal is connected to the phase shift circuit, the positive input terminal is connected to the electrical ground, and the operational amplifier/> The output end is connected to the signal output end of the analog switch S1 , and the signal output end of the switch S1 is connected to the second-order low-pass filter circuit. The signal is / > , the two input ends of the analog switch S1 are respectively connected to the integration circuit of the self-compensation calibration bridge circuit and the output end of the second-stage reverse proportional circuit;

第一级反向比例电路由放大器,电阻/>、/>、/>组成,电阻/>的一端连接到电气地,另一端与放大器/>的正向输入端相连,放大器/>的反向输入端与电阻/>、/>相连,电阻与的积分电路中的待检测电容器相连,电阻/>的另一端于放大器/>的输出端相连;The first stage reverse proportional circuit consists of an amplifier , resistance/> 、/> 、/> Composition, resistance/> One end is connected to electrical ground and the other end is connected to the amplifier/> The positive input terminal of the amplifier is connected to The inverting input terminal and resistor/> 、/> Connected, resistor Connected to the capacitor to be detected in the integration circuit, the resistor The other end of the amplifier The output terminal is connected to

积分电路由运算放大器与反馈电阻/>组成,放大器/>与电阻/>、/>、/>组成的第一级反向比例电路与参考电容/>串联,并与待检测电容器及自动补偿电容/>并联,再通过运算放大器/>与反馈电阻/>组成积分电路输出信号/>The integrator circuit consists of an operational amplifier With feedback resistor/> Composition, amplifier/> With resistor/> 、/> 、/> The first stage reverse proportional circuit and reference capacitor Connect in series with the capacitor to be detected and the automatic compensation capacitor/> In parallel, and then through the operational amplifier/> With feedback resistor/> The output signal of the integral circuit is composed of ;

第二级反向比例电路由放大器与电阻/>、/>组成,积分电路的输出端与电阻/>一端相连、电阻/>与放大器/>的反向输入端及电阻/>相连,电阻/>另一端与放大器/>的输出端相连,放大器/>的正向输入端连接至电气地,第二级反向比例电路的输出信号,即放大器/>的输出端的输出信号为/>,自动补偿电容/>为可编程电容,待检测电容器包括泄露电容/>和泄露电阻/>The second stage reverse proportional circuit consists of an amplifier With resistor/> 、/> Composition, the output end of the integrator circuit and the resistor/> One end is connected to the resistor/> With amplifier/> The reverse input terminal and resistor/> Connected, resistor/> The other end is connected to the amplifier/> The output end of the amplifier is connected to The positive input terminal is connected to the electrical ground, and the output signal of the second stage inverse proportional circuit, that is, the amplifier / > The output signal at the output end is / > , automatic compensation capacitor/> is a programmable capacitor, and the capacitor to be detected includes a leakage capacitor/> and leakage resistor/> .

带PI调节的反馈电路包括FPGA单片机系统、ADC采集电路、PI控制器,ADC采集电路与二阶低通滤波电路的输出端相连接,ADC采集电路收集到信息后,传入单片机系统处理过后再传入PC端,PC端再通过PI控制器实现可变电容CT的校准,根据基于比较器的相控整流电路的输出反馈,ADC采集后通过MCU控制器对系统输出信号进行PI调节值,完成未接入检测待检测电容器或系统上电初始状态下调零。The feedback circuit with PI adjustment includes an FPGA single-chip computer system, an ADC acquisition circuit, and a PI controller. The ADC acquisition circuit is connected to the output end of the second-order low-pass filter circuit. After the ADC acquisition circuit collects information, it is transmitted to the single-chip computer system for processing and then transmitted to the PC end. The PC end then implements the calibration of the variable capacitor CT through the PI controller. According to the output feedback of the phase-controlled rectifier circuit based on the comparator, the ADC collects the information and performs PI adjustment on the system output signal through the MCU controller to complete the zeroing when the capacitor to be detected is not connected or the system is in the initial state of power-on.

参考图2,测量电路还包括:FPGA单片机系统、ADC采集电路、PI控制器。Referring to FIG. 2 , the measurement circuit further includes: an FPGA single-chip computer system, an ADC acquisition circuit, and a PI controller.

根据基于比较器的相控整流电路的输出反馈,ADC采集后通过MCU控制器对系统输出信号进行PI调节值,完成未接入检测待检测电容器或系统上电初始状态下调零,积分电路的输入经过放大器/>与电阻/>、/>、/>组成的第一级反向比例电路;According to the output feedback of the phase-controlled rectifier circuit based on the comparator, the ADC collects the system output signal through the MCU controller to perform PI adjustment. value, complete the detection of the capacitor to be detected or the system is zeroed in the initial state of power-on, and the input of the integration circuit passes through the amplifier/> With resistor/> 、/> 、/> The first stage reverse proportional circuit is composed of;

其中,当输入正弦激励为,所述自补偿校准桥电路的积分电路输出/>,及积分电路经第二级反向比例电路输出信号/>为:When the input sinusoidal excitation is , the integrator circuit output of the self-compensating calibration bridge circuit/> , and the integral circuit outputs the signal through the second stage reverse proportional circuit/> for:

式中,是反向比例电路的增益,/>是输入正弦激励信号的增益。In the formula, is the gain of the inverse proportional circuit, /> is the gain of the input sinusoidal excitation signal.

所述ADC采集电路与所述低通滤波器LPF的输出端相连接,所述ADC采集电路收集到信息后,传入单片机系统,简单处理过后再传入PC端,PC端再通过PI控制器实现可变电容CT的校准。当初始状态下不接电容传感器,进行初始化调零,这样可以自适应进行电容补充,消除寄生电容影响;当初始状态下,接入电容传感器再进行初始化调零,此时即可以,消除寄生电容影响进行自适应寄生电容补充,也可以直接检测电容传感器的变化量,包括电容传感器的虚部(泄露电容)变化量,和检测电容传感器的实部(泄露电阻)变化量。The ADC acquisition circuit is connected to the output end of the low-pass filter LPF. After the ADC acquisition circuit collects information, it is transmitted to the single-chip computer system, and then transmitted to the PC end after simple processing. The PC end then implements the calibration of the variable capacitor CT through the PI controller. When the capacitance sensor is not connected in the initial state, initialization zeroing is performed, so that the capacitance can be adaptively supplemented to eliminate the influence of parasitic capacitance; when the capacitance sensor is connected in the initial state and initialization zeroing is performed, at this time, the influence of parasitic capacitance can be eliminated and adaptive parasitic capacitance supplement can be performed, and the change of the capacitance sensor can also be directly detected, including the change of the imaginary part (leakage capacitance) of the capacitance sensor, and the change of the real part (leakage resistance) of the capacitance sensor.

作为进一步实施的,移相电路中,当检测待检测电容器的虚部时,移相电路为微分电路,当检测电容传感器的实部/>时,此时不需要移相,交流信号与下一级的运算放大器/>的反相输入端相连。As a further implementation, in the phase shift circuit, when the imaginary part of the capacitor to be detected is detected When the phase shift circuit is a differential circuit, when the real part of the capacitance sensor is detected/> When phase shift is not required, the AC signal and the next stage operational amplifier /> is connected to the inverting input terminal of .

作为进一步实施的,基于上述测量电路,通过如下步骤的实施实现自动消除寄生电容:As a further implementation, based on the above measurement circuit, the parasitic capacitance is automatically eliminated by implementing the following steps:

(1)通过移相器的输入与地比较来控制模拟开关的通断,用来信号的相位控制,模拟开关S1的常开触点连接至自补偿校准桥电路输出端/>,常闭触点连接至输出端/>,当输入端为原始激励信号移相90°,模拟开关输出信号/>经过二阶低通滤波电路整成直流量,此时检测待检测电容器的虚部/>;当输入端为原始激励信号,此时检测待检测电容器的实部/>;其中,输入正弦激励信号为/>A是输入正弦激励信号的增益;(1) Controlling the analog switch by comparing the phase shifter input with ground The on-off of the analog switch S1 is used to control the phase of the signal. The normally open contact of the analog switch S1 is connected to the output end of the self-compensation calibration bridge circuit. , the normally closed contact is connected to the output terminal /> , when the input end is the original excitation signal phase-shifted by 90°, the analog switch output signal/> After being rectified into DC by a second-order low-pass filter circuit, the imaginary part of the capacitor to be tested is detected at this time./> ; When the input end is the original excitation signal, the real part of the capacitor to be tested is detected at this time/> ; Among them, the input sinusoidal excitation signal is/> , A is the gain of the input sinusoidal excitation signal;

其中,当检测时,移相电路的输出信号的相位为激励信号滞后90°,再经过比较器控制的模拟开关/>输出信号为:Among them, when detecting When the phase of the output signal of the phase shift circuit is 90° behind the excitation signal, the analog switch controlled by the comparator is The output signal is:

(2)再经过二阶低通滤波电路进行积分,当二阶低通滤波器的截止频率远小于激励信号频率即可得到直流信号,一个周期内信号积分后输出直流量近似计算为:(2) After integration through a second-order low-pass filter circuit, a DC signal can be obtained when the cutoff frequency of the second-order low-pass filter is much smaller than the excitation signal frequency. , the DC output after signal integration in one cycle is approximately calculated as:

检测虚部为:Detecting the imaginary part for:

当检测时,不需要移相电路,激励信号直接经过比较器控制的模拟开关/>输出信号为:When testing When the phase shift circuit is not required, the excitation signal directly passes through the analog switch controlled by the comparator. The output signal is:

(3)再经过二阶低通滤波电路进行积分,当二阶低通滤波器的截止频率远小于激励信号频率即可得到直流信号,一个周期内信号积分后输出直流量近似计算为:(3) Then pass through the second-order low-pass filter circuit for integration. When the cutoff frequency of the second-order low-pass filter is much smaller than the excitation signal frequency, a DC signal can be obtained. , the DC output after signal integration in one cycle is approximately calculated as:

'

检测实部为:Detection of real part for:

.

实施例3Example 3

本实施方式提供了一种测量装置,该测量装置包括如以上所述的测量电路。对于该测量装置的具体描述可以参考上述测量电路的说明,这里不再一一详述。This embodiment provides a measuring device, which includes the measuring circuit as described above. For the specific description of the measuring device, reference can be made to the description of the measuring circuit, which will not be described in detail here.

可理解,该测量装置所包括的其他元件,本申请实施例不作限定。It is understandable that other elements included in the measuring device are not limited in the embodiments of the present application.

示例性的,该测量装置是一个芯片、一个传感器、或一个电子设备、或物联网设备等,本申请实施例不再一一列举。Exemplarily, the measuring device is a chip, a sensor, or an electronic device, or an Internet of Things device, etc., which are not listed one by one in the embodiments of the present application.

上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络,或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD),或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired means (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件,或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明实施例中所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (4)

1.一种电容器复数阻抗测量方法,其特征在于,适用于包含待检测电容器的测量电路,所述测量电路包括自补偿校准桥电路、移相电路和相控整流电路,所述方法包括:1. A method for measuring complex impedance of a capacitor, characterized in that it is applicable to a measurement circuit including a capacitor to be detected, wherein the measurement circuit includes a self-compensating calibration bridge circuit, a phase shift circuit and a phase-controlled rectifier circuit, and the method includes: 向所述测量电路中输入正弦交流信号激励,在初始状态下对所述测量电路进行输出调零,以检测待检测电容器的复数阻抗;Inputting a sinusoidal AC signal excitation into the measuring circuit, and performing output zeroing on the measuring circuit in an initial state to detect the complex impedance of the capacitor to be detected; 将输入正弦交流信号移相90°或0°,生成移相后的相控信号;The input sinusoidal AC signal is phase-shifted by 90° or 0° to generate a phase-shifted phase-controlled signal; 响应所述相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出;Responding to the phase-controlled signal and performing phase-controlled rectification on the AC signal, filtering the AC signal after the phase-controlled rectification and converting it into a DC voltage for output; 基于待检测电容器复数的实部和虚部,对应检测实部时,输入正弦交流信号移相90°,对应检测虚部时,输入正弦交流信号移相0°;Based on the real part and imaginary part of the complex number of the capacitor to be detected, the input sinusoidal AC signal is phase-shifted by 90° when the real part is detected, and the input sinusoidal AC signal is phase-shifted by 0° when the imaginary part is detected; 所述自补偿校准桥电路包含第一级反向比例电路、积分电路及带PI调节的反馈电路;The self-compensation calibration bridge circuit comprises a first-stage reverse proportional circuit, an integration circuit and a feedback circuit with PI regulation; 所述相控整流电路包括比较器、第二级反向比例电路、模拟开关S1、二阶低通滤波电路;所述比较器即运算放大器,所述运算放大器/>的反向输入端与所述移相电路连接,正向输入端与电气地连接,运算放大器/>的输出端连接至模拟开关S1的信号输出端,开关S1的信号输出端并与二阶低通滤波电路相连,信号为/>,所述模拟开关S1的两个输入端分别连接至所述的自补偿校准桥电路的积分电路与第二级反向比例电路的输出端相连;The phase-controlled rectifier circuit includes a comparator, a second-stage reverse proportional circuit, an analog switch S1 , and a second-order low-pass filter circuit; the comparator is an operational amplifier. , the operational amplifier/> The inverting input terminal is connected to the phase shift circuit, the positive input terminal is connected to the electrical ground, and the operational amplifier/> The output end is connected to the signal output end of the analog switch S1 , and the signal output end of the switch S1 is connected to the second-order low-pass filter circuit. The signal is / > , the two input ends of the analog switch S1 are respectively connected to the integration circuit of the self-compensation calibration bridge circuit and the output end of the second-stage reverse proportional circuit; 所述第一级反向比例电路由放大器,电阻/>、/>、/>组成,电阻/>的一端连接到电气地,另一端与放大器/>的正向输入端相连,放大器/>的反向输入端与电阻/>、/>相连,电阻与所述的积分电路中的待检测电容器相连,电阻/>的另一端于放大器/>的输出端相连;The first stage reverse proportional circuit consists of an amplifier , resistance/> 、/> 、/> Composition, resistance/> One end is connected to electrical ground and the other end is connected to the amplifier/> The positive input terminal of the amplifier is connected to The inverting input terminal and resistor/> 、/> Connected, resistor Connected to the capacitor to be detected in the integration circuit, the resistor The other end of the amplifier The output terminal is connected to 所述积分电路由运算放大器与反馈电阻/>组成,放大器/>与电阻/>组成的第一级反向比例电路与参考电容/>串联,并与待检测电容器及自动补偿电容/>并联,再通过运算放大器/>与反馈电阻/>组成积分电路输出信号/>The integration circuit consists of an operational amplifier With feedback resistor/> Composition, amplifier/> With resistor/> The first stage reverse proportional circuit and reference capacitor / > Connect in series with the capacitor to be detected and the automatic compensation capacitor/> In parallel, and then through the operational amplifier/> With feedback resistor/> The output signal of the integral circuit is composed of ; 所述第二级反向比例电路由放大器与电阻/>、/>组成,所述积分电路的输出端与电阻/>一端相连、电阻/>与放大器/>的反向输入端及电阻/>相连,电阻/>另一端与放大器/>的输出端相连,放大器/>的正向输入端连接至电气地,第二级反向比例电路的输出信号,即放大器/>的输出端的输出信号为/>,所述自动补偿电容/>为可编程电容,待检测电容器包括泄露电容/>和泄露电阻/>The second stage reverse proportional circuit consists of an amplifier With resistor/> 、/> The output end of the integrating circuit is connected to a resistor. One end is connected to the resistor/> With amplifier/> The reverse input terminal and resistor/> Connected, resistor/> The other end is connected to the amplifier/> The output end of the amplifier is connected to The positive input terminal is connected to the electrical ground, and the output signal of the second stage inverse proportional circuit, that is, the amplifier / > The output signal at the output end is / > , the automatic compensation capacitor/> is a programmable capacitor, and the capacitor to be detected includes a leakage capacitor/> and leakage resistor/> ; 所述带PI调节的反馈电路包括FPGA单片机系统、ADC采集电路、PI控制器,所述ADC采集电路与二阶低通滤波电路的输出端相连接,所述ADC采集电路收集到信息后,传入单片机系统处理过后再传入PC端,PC端再通过PI控制器实现可变电容CT的校准,根据基于比较器的相控整流电路的输出反馈,ADC采集后通过MCU控制器对系统输出信号进行PI调节值,完成未接入检测待检测电容器或系统上电初始状态下调零;The feedback circuit with PI adjustment includes an FPGA single-chip computer system, an ADC acquisition circuit, and a PI controller. The ADC acquisition circuit is connected to the output end of the second-order low-pass filter circuit. After the ADC acquisition circuit collects information, it is transmitted to the single-chip computer system for processing and then transmitted to the PC end. The PC end then implements the calibration of the variable capacitor CT through the PI controller. According to the output feedback of the phase-controlled rectifier circuit based on the comparator, the ADC collects the system output signal through the MCU controller to perform PI adjustment value, and completes zeroing when the capacitor to be detected is not connected or the system is powered on in the initial state; 所述移相电路中,当检测待检测电容器的虚部时,移相电路为微分电路,当检测电容传感器的实部/>时,此时不需要移相,交流信号与下一级的运算放大器/>的反相输入端相连;In the phase shift circuit, when the imaginary part of the capacitor to be detected is detected When the phase shift circuit is a differential circuit, when the real part of the capacitance sensor is detected/> When phase shift is not required, the AC signal and the next stage operational amplifier /> is connected to the inverting input terminal of; 模拟开关S1的常开触点连接至所述自补偿校准桥电路输出端,常闭触点连接至输出端/>,当输入端为原始激励信号移相90°,模拟开关输出信号/>经过二阶低通滤波电路整成直流量,此时检测待检测电容器的虚部/>;当输入端为原始激励信号,此时检测待检测电容器的实部/>;其中,输入正弦激励信号为/>A是输入正弦激励信号的增益;The normally open contact of the analog switch S1 is connected to the output terminal of the self-compensation calibration bridge circuit , the normally closed contact is connected to the output terminal /> , when the input end is the original excitation signal phase shifted 90°, the analog switch output signal/> After being rectified into DC by a second-order low-pass filter circuit, the imaginary part of the capacitor to be tested is detected at this time./> ; When the input end is the original excitation signal, the real part of the capacitor to be tested is detected at this time/> ; Among them, the input sinusoidal excitation signal is/> , A is the gain of the input sinusoidal excitation signal; 其中,当检测时,移相电路的输出信号的相位为激励信号滞后90°,再经过比较器控制的模拟开关/>输出信号为:Among them, when detecting When the phase of the output signal of the phase shift circuit is 90° behind the excitation signal, the analog switch controlled by the comparator is The output signal is: 再经过二阶低通滤波电路进行积分,当二阶低通滤波器的截止频率远小于激励信号频率即可得到直流信号,一个周期内信号积分后输出直流量近似计算为:Then it is integrated through a second-order low-pass filter circuit. When the cut-off frequency of the second-order low-pass filter is much smaller than the excitation signal frequency, a DC signal can be obtained. , the DC output after signal integration in one cycle is approximately calculated as: 检测虚部为 :Detecting the imaginary part for: 当检测时,不需要移相电路,激励信号直接经过比较器控制的模拟开关/>输出信号为:When testing When the phase shift circuit is not required, the excitation signal directly passes through the analog switch controlled by the comparator. The output signal is: 再经过二阶低通滤波电路进行积分,当二阶低通滤波器的截止频率远小于激励信号频率即可得到直流信号,一个周期内信号积分后输出直流量近似计算为:Then it is integrated through a second-order low-pass filter circuit. When the cut-off frequency of the second-order low-pass filter is much smaller than the excitation signal frequency, a DC signal can be obtained. , the DC output after signal integration in one cycle is approximately calculated as: 检测实部为:Detection of real part for: . 2.根据权利要求1所述的一种电容器复数阻抗测量方法,其特征在于,所述初始状态包括所述测量电路未接入所述待检测电容器,或测量电路接入待检测电容器上电的初始时刻。2. A method for measuring complex impedance of a capacitor according to claim 1, characterized in that the initial state includes the initial moment when the measurement circuit is not connected to the capacitor to be detected, or the measurement circuit is connected to the capacitor to be detected and powered on. 3.一种电容器复数阻抗测量电路,用于实施如权利要求1所述测量方法,其特征在于,所述测量电路包括自补偿校准桥电路、移相电路和相控整流电路;3. A capacitor complex impedance measurement circuit, used to implement the measurement method as claimed in claim 1, characterized in that the measurement circuit comprises a self-compensating calibration bridge circuit, a phase shift circuit and a phase-controlled rectifier circuit; 所述自补偿校准桥电路用于向所述测量电路中输入正弦交流信号激励,在自补偿校准桥电路未接入所述待检测电容器,或自补偿校准桥电路接入待检测电容器上电的初始时刻下对测量电路进行输出调零,以检测待检测电容器的复数阻抗;The self-compensating calibration bridge circuit is used to input a sinusoidal AC signal excitation into the measuring circuit, and to perform output zeroing on the measuring circuit when the self-compensating calibration bridge circuit is not connected to the capacitor to be detected, or when the self-compensating calibration bridge circuit is connected to the capacitor to be detected and powered on at the initial moment, so as to detect the complex impedance of the capacitor to be detected; 所述移相电路用于将输入正弦交流信号移相90°或0°,生成移相后的相控信号;The phase shift circuit is used to shift the phase of the input sinusoidal AC signal by 90° or 0° to generate a phase-shifted phase-controlled signal; 所述相控整流电路用于响应所述相控信号并对交流信号进行相控整流,将相控整流后的交流信号进行滤波后转换为直流电压进行输出;The phase-controlled rectifier circuit is used to respond to the phase-controlled signal and perform phase-controlled rectification on the AC signal, and then filter the AC signal after phase-controlled rectification and convert it into a DC voltage for output; 所述自补偿校准桥电路包含第一级反向比例电路、积分电路及带PI调节的反馈电路;The self-compensation calibration bridge circuit comprises a first-stage reverse proportional circuit, an integration circuit and a feedback circuit with PI regulation; 所述相控整流电路包括比较器、第二级反向比例电路、模拟开关S1、二阶低通滤波电路;所述比较器即运算放大器,所述运算放大器/>的反向输入端与所述移相电路连接,正向输入端与电气地连接,运算放大器/>的输出端连接至模拟开关S1的信号输出端,开关S1的信号输出端并与二阶低通滤波电路相连,信号为/>,所述模拟开关S1的两个输入端分别连接至所述的自补偿校准桥电路的积分电路与第二级反向比例电路的输出端相连;The phase-controlled rectifier circuit includes a comparator, a second-stage reverse proportional circuit, an analog switch S1 , and a second-order low-pass filter circuit; the comparator is an operational amplifier. , the operational amplifier/> The inverting input terminal is connected to the phase shift circuit, the positive input terminal is connected to the electrical ground, and the operational amplifier/> The output end is connected to the signal output end of the analog switch S1 , and the signal output end of the switch S1 is connected to the second-order low-pass filter circuit. The signal is / > , the two input ends of the analog switch S1 are respectively connected to the integration circuit of the self-compensation calibration bridge circuit and the output end of the second-stage reverse proportional circuit; 所述第一级反向比例电路由放大器,电阻/>、/>、/>组成,电阻/>的一端连接到电气地,另一端与放大器/>的正向输入端相连,放大器/>的反向输入端与电阻/>、/>相连,电阻与所述的积分电路中的待检测电容器相连,电阻/>的另一端于放大器/>的输出端相连;The first stage reverse proportional circuit consists of an amplifier , resistance/> 、/> 、/> Composition, resistance/> One end is connected to electrical ground and the other end is connected to the amplifier/> The positive input terminal of the amplifier is connected to The inverting input terminal and resistor/> 、/> Connected, resistor Connected to the capacitor to be detected in the integration circuit, the resistor The other end of the amplifier The output terminal is connected to 所述积分电路由运算放大器与反馈电阻/>组成,放大器/>与电阻/>组成的第一级反向比例电路与参考电容/>串联,并与待检测电容器及自动补偿电容/>并联,再通过运算放大器/>与反馈电阻/>组成积分电路输出信号/>The integration circuit consists of an operational amplifier With feedback resistor/> Composition, amplifier/> With resistor/> The first stage reverse proportional circuit and reference capacitor / > Connect in series with the capacitor to be detected and the automatic compensation capacitor/> In parallel, and then through the operational amplifier/> With feedback resistor/> The output signal of the integral circuit is composed of ; 所述第二级反向比例电路由放大器与电阻/>、/>成,所述积分电路的输出端与电阻一端相连、电阻/>与放大器/>的反向输入端及电阻/>相连,电阻/>另一端与放大器/>的输出端相连,放大器/>的正向输入端连接至电气地,第二级反向比例电路的输出信号,即放大器/>的输出端的输出信号为/>,所述自动补偿电容/>为可编程电容,待检测电容器包括泄露电容/>和泄露电阻/>The second stage reverse proportional circuit consists of an amplifier With resistor/> 、/> The output terminal of the integrator circuit is connected to the resistor One end is connected to the resistor/> With amplifier/> The reverse input terminal and resistor/> Connected, resistor/> The other end is connected to the amplifier/> The output end of the amplifier is connected to The positive input terminal is connected to the electrical ground, and the output signal of the second stage inverse proportional circuit, that is, the amplifier / > The output signal at the output end is / > , the automatic compensation capacitor/> is a programmable capacitor, and the capacitor to be detected includes a leakage capacitor/> and leakage resistor/> ; 所述带PI调节的反馈电路包括FPGA单片机系统、ADC采集电路、PI控制器,所述ADC采集电路与二阶低通滤波电路的输出端相连接,所述ADC采集电路收集到信息后,传入单片机系统处理过后再传入PC端,PC端再通过PI控制器实现可变电容CT的校准,根据基于比较器的相控整流电路的输出反馈,ADC采集后通过MCU控制器对系统输出信号进行PI调节值,完成未接入检测待检测电容器或系统上电初始状态下调零;The feedback circuit with PI adjustment includes an FPGA single-chip computer system, an ADC acquisition circuit, and a PI controller. The ADC acquisition circuit is connected to the output end of the second-order low-pass filter circuit. After the ADC acquisition circuit collects information, it is transmitted to the single-chip computer system for processing and then transmitted to the PC end. The PC end then implements the calibration of the variable capacitor CT through the PI controller. According to the output feedback of the phase-controlled rectifier circuit based on the comparator, the ADC collects the system output signal through the MCU controller to perform PI adjustment value, and completes zeroing when the capacitor to be detected is not connected or the system is powered on in the initial state; 所述移相电路中,当检测待检测电容器的虚部时,移相电路为微分电路,当检测电容传感器的实部/>时,此时不需要移相,交流信号与下一级的运算放大器/>的反相输入端相连。In the phase shift circuit, when the imaginary part of the capacitor to be detected is detected When the phase shift circuit is a differential circuit, when the real part of the capacitance sensor is detected/> When phase shift is not required, the AC signal and the next stage operational amplifier /> is connected to the inverting input terminal of . 4.一种测量装置,其特征在于,包括如权利要求3所述测量电路。4. A measuring device, comprising the measuring circuit as claimed in claim 3.
CN202410143577.1A 2024-02-01 2024-02-01 Capacitor complex impedance measurement method, circuit and device Active CN117665397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410143577.1A CN117665397B (en) 2024-02-01 2024-02-01 Capacitor complex impedance measurement method, circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410143577.1A CN117665397B (en) 2024-02-01 2024-02-01 Capacitor complex impedance measurement method, circuit and device

Publications (2)

Publication Number Publication Date
CN117665397A CN117665397A (en) 2024-03-08
CN117665397B true CN117665397B (en) 2024-04-30

Family

ID=90066463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410143577.1A Active CN117665397B (en) 2024-02-01 2024-02-01 Capacitor complex impedance measurement method, circuit and device

Country Status (1)

Country Link
CN (1) CN117665397B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3992665A (en) * 1973-09-10 1976-11-16 Preikschat F K Electrical impedance measuring apparatus
SU1026079A1 (en) * 1982-01-27 1983-06-30 Предприятие П/Я В-2572 Device for measuring pickup complex resistance component
FR2619452A1 (en) * 1987-08-10 1989-02-17 Mbeleck Jean Paul Reactance measuring device
US5444381A (en) * 1989-08-23 1995-08-22 Robert Bosch Gmbh Measuring circuit for impedance values particularly for use with inductive displacement transmitters
JP2011242370A (en) * 2010-05-21 2011-12-01 Renesas Electronics Corp Impedance detection circuit and adjustment method of impedance detection circuit
KR20130008102A (en) * 2011-06-27 2013-01-22 휴먼플러스(주) Electrostatic capacity measuring circuits for electrostatic capacity sensor having parasitic capacitance
US8446158B1 (en) * 2007-11-09 2013-05-21 Cypress Semiconductor Corporation Compensation for parasitic capacitance of a capacitive sensor
CN111238546A (en) * 2020-04-01 2020-06-05 北京先通康桥医药科技有限公司 Weak Capacitance Change Measurement Circuit of Capacitance Sensor
CN112666400A (en) * 2020-11-18 2021-04-16 西安交通大学 Capacitance measuring circuit capable of automatically compensating parasitic capacitance and use method and application thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10431424B2 (en) * 2015-02-18 2019-10-01 Reno Technologies Inc. Parasitic capacitance compensation circuit

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3992665A (en) * 1973-09-10 1976-11-16 Preikschat F K Electrical impedance measuring apparatus
SU1026079A1 (en) * 1982-01-27 1983-06-30 Предприятие П/Я В-2572 Device for measuring pickup complex resistance component
FR2619452A1 (en) * 1987-08-10 1989-02-17 Mbeleck Jean Paul Reactance measuring device
US5444381A (en) * 1989-08-23 1995-08-22 Robert Bosch Gmbh Measuring circuit for impedance values particularly for use with inductive displacement transmitters
US8446158B1 (en) * 2007-11-09 2013-05-21 Cypress Semiconductor Corporation Compensation for parasitic capacitance of a capacitive sensor
JP2011242370A (en) * 2010-05-21 2011-12-01 Renesas Electronics Corp Impedance detection circuit and adjustment method of impedance detection circuit
KR20130008102A (en) * 2011-06-27 2013-01-22 휴먼플러스(주) Electrostatic capacity measuring circuits for electrostatic capacity sensor having parasitic capacitance
CN111238546A (en) * 2020-04-01 2020-06-05 北京先通康桥医药科技有限公司 Weak Capacitance Change Measurement Circuit of Capacitance Sensor
CN112666400A (en) * 2020-11-18 2021-04-16 西安交通大学 Capacitance measuring circuit capable of automatically compensating parasitic capacitance and use method and application thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Negative Impedance Characteristics in Passive Inductors;Hongbo Zhao 等;《2022 IEEE 23rd Workshop on Control and Modeling for Power Electronics (COMPEL)》;20220722;1-6 *
刘少楠 等. 微电容式传感器信号检测电路的设计.《电子器件》.2020,第43卷(第3期),613-618. *
微电容式传感器信号检测电路的设计;刘少楠 等;《电子器件》;20200630;第43卷(第3期);613-618 *
陶瓷物料水分快速检测的复阻抗分离法探讨;张邦宏 等;《中国陶瓷工业》;20040430;第11卷(第2期);5-8 *

Also Published As

Publication number Publication date
CN117665397A (en) 2024-03-08

Similar Documents

Publication Publication Date Title
TWI670490B (en) Method of measuring integrated circuit resistance value of target resistor using excitation current and sensor interface integrated circuit for measuring or calibrating resistance value of target resistor using the same
CN101551420B (en) A MEMS device weak capacitance detection circuit
US10955497B2 (en) Phase compensation circuit, magnetic induction imaging device and phase compensation method
CN112666400B (en) Capacitance measuring circuit capable of automatically compensating parasitic capacitance, and use method and application thereof
CN111623698B (en) An Eddy Current Displacement Sensor Circuit with Nonlinear Correction Function
CN104457817A (en) Single chip integrated sensor signal processing circuit
CN111238546B (en) The circuit for measuring the small capacitance change of capacitance sensor
US20240272214A1 (en) Circuits and methods for precise capacitance measurement
CN101533047B (en) An AC milliohm meter and measurement method based on complex programmable logic devices
CN110567606B (en) A noise thermometer and method for measuring temperature
CN111122020A (en) Capacitive pressure detection device and sensor
CN111693784A (en) Weak capacitance change measuring circuit
CN117665397B (en) Capacitor complex impedance measurement method, circuit and device
CN104062327A (en) Capacitive sensor complementary stimulation and linear detection scheme for oil detection
CN113687289A (en) Measuring and self-calibrating method and system of non-contact type miniature voltage sensor
Kumar et al. A simple signal conditioning scheme for inductive sensors
CN206556780U (en) Temperature-detecting device
CN108736852A (en) Integrating circuit, current sensor and breaker
CN108627299A (en) Calibration method and calibration circuit of pressure sensing device
CN202126267U (en) Electronic measurement device
CN108008171B (en) Circuit parameter detection circuit and electric energy meter
JP6651634B2 (en) Capacitance detection device and optical wavelength selection filter device
CN118671459B (en) AC and DC electric field measurement device and method based on microelectronic devices
CN206146521U (en) P P amplitude observation circuit
CN116500329B (en) Broadband current measurement method, device, system and chip

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