CN117665397B - Capacitor complex impedance measurement method, circuit and device - Google Patents
Capacitor complex impedance measurement method, circuit and device Download PDFInfo
- 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
- capacitor
- signal
- 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
Links
- 239000003990 capacitor Substances 0.000 title claims abstract description 87
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000002847 impedance measurement Methods 0.000 title claims abstract description 9
- 230000005284 excitation Effects 0.000 claims abstract description 34
- 238000005259 measurement Methods 0.000 claims abstract description 29
- 238000001914 filtration Methods 0.000 claims abstract description 8
- 230000033228 biological regulation Effects 0.000 claims description 12
- 230000010363 phase shift Effects 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 8
- 230000010354 integration Effects 0.000 claims description 8
- 238000000691 measurement method Methods 0.000 claims description 7
- 230000003071 parasitic effect Effects 0.000 abstract description 16
- 238000003860 storage Methods 0.000 description 7
- 238000005457 optimization Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003325 tomography Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000009774 resonance method Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E40/00—Technologies for an efficient electrical power generation, transmission or distribution
- Y02E40/30—Reactive power compensation
Landscapes
- 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
Technical Field
The invention belongs to the technical field of impedance measurement, and particularly relates to a capacitor complex impedance measurement method, a circuit and a device.
Background
The micro capacitance measurement technology is widely applied to various MEMS devices, capacitance sensors and inter-structure distributed capacitance all the time, so that the micro capacitance measurement technology can be applied to relevant application fields such as military manufacturing, aerospace, vacuum measurement, biomedicine and the like. For the application scenes of the capacitive sensor such as the capacitive tomography, under alternating current excitation, the measurement of the complex impedance of the capacitor can obtain imaging images with higher resolution or more target characteristic information.
At present, many measuring circuits are invented based on the measuring methods such as resonance method, CV conversion, charge and discharge, etc., but the complex impedance of the capacitor is tested. Meanwhile, parasitic capacitance or stray capacitance exists, the generation of the parasitic capacitance can be reduced through board-level design optimization, measures such as signal shielding of input and output ends are generally adopted, and the parasitic capacitance can also be reduced through circuit scheme design optimization, and a circuit with differential output is generally designed, so that common-mode signals can be eliminated easily. However, not all the detection circuits adopt differential output, so that the scheme for designing the differential output circuit to eliminate parasitic capacitance has a certain limitation, so that the parasitic capacitance is difficult to eliminate in the measurement means. This also causes the measured capacitance to be larger than the theoretical calculation or simulation, resulting in a reduced resolution of the capacitance tomography. In addition, there are increasing demands on the cost, sensitivity, parasitic effect suppression, etc. of the measurement circuit.
Disclosure of Invention
The invention aims to provide a method, a circuit and a device for measuring complex impedance of a capacitor, which are used for solving the problems in the background technology.
The invention realizes the above purpose through the following technical scheme:
In a first aspect, the present invention provides a method of measuring complex impedance of a capacitor, suitable for use in a measurement circuit comprising a capacitor to be detected, the method comprising:
Inputting sinusoidal alternating current signal excitation into the measuring circuit, and carrying out output zeroing on the measuring circuit in an initial state so as to detect the complex impedance of the 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;
and 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.
As a further optimization scheme of the invention, the initial state comprises 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 for power-up.
As a further optimization scheme of the invention, based on the real part and the imaginary part of the capacitor complex number to be detected, when the real part is detected correspondingly, the phase of the input sinusoidal alternating current signal is shifted by 90 degrees, and when the imaginary part is detected correspondingly, the phase of the input sinusoidal alternating current signal is shifted by 0 degree.
In a second aspect, the present invention provides a capacitor complex impedance measurement circuit for implementing the measurement method as described above, the measurement circuit comprising a self-compensating calibration bridge circuit, a phase-shifting circuit and a phase-controlled rectifying circuit;
The self-compensating calibration bridge circuit is used for inputting sinusoidal alternating current signal excitation into the measuring circuit, and outputting zero setting is carried out on the measuring circuit at the initial moment when the self-compensating calibration bridge circuit is not connected with the capacitor to be detected or the self-compensating calibration bridge circuit is connected with the capacitor to be detected for power-up so as to detect the complex impedance of the capacitor to be detected;
The phase shifting circuit is used for shifting the phase of an input sinusoidal alternating current signal by 90 degrees or 0 degrees to generate a phase-controlled signal after phase shifting;
The phase control rectification circuit is used for 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.
As a further optimization scheme of the invention, the self-compensation calibration bridge circuit comprises a first-stage reverse proportional circuit, an integrating circuit and a feedback circuit with PI regulation;
The phase control rectification circuit comprises a comparator, a second-stage reverse proportion circuit, an analog switch S1 and a second-order low-pass filter circuit; the comparator being an operational amplifier The operational amplifier/>The reverse input end of the (E) is connected with the phase shifting circuit, the forward input end is electrically connected with the ground, and the operational amplifier/>The output end of the switch S1 is connected with the signal output end of the analog switch S1, the signal output end of the switch S1 is connected with the second-order low-pass filter circuit, and the signal is/>Two input ends of the analog switch S1 are respectively connected to the integrating circuit of the self-compensating calibration bridge circuit and the output end of the second-stage inverse proportion circuit;
the first-stage reverse proportional circuit routing amplifier Resistance/>、/> Composition, resistance/>Is connected to electrical ground at one end and an amplifier/>Is connected to the positive input terminal of the amplifier/>Inverting input terminal and resistance/>、/>Connected, resistance/>Connected with the capacitor to be detected in the integrating circuit, and the resistor/>At the other end of the amplifier/>Is connected with the output end of the power supply;
the integrating circuit is composed of an operational amplifier Feedback resistance/>Composition, amplifier/>And resistance/>The first-stage reverse proportional circuit and the reference capacitor/>, are formedIn series connection with the capacitor to be detected and the automatic compensation capacitor/>In parallel, and pass through an operational amplifier/>And feedback resistance/>Form the output signal of the integrating circuit/>;
The second-stage reverse proportion circuit consists of an amplifierAnd resistance/>、/>Composition, output end and resistance of the integration circuit/>One end is connected with the resistor/>And amplifier/>Reverse input terminal and resistance/>Connected, resistance/>The other end is connected with an amplifier/>Is connected to the output of the amplifier/>Is connected to electrical ground, the output signal of the second stage reverse scaling circuit, i.e. amplifier/>The output signal at the output end of (2) is/>The self-compensating capacitance/>Programmable capacitance, capacitor to be detected including leakage capacitance/>And leakage resistance/>;
The feedback circuit with PI regulation comprises an FPGA single chip microcomputer system, an ADC acquisition circuit and a PI controller, wherein the ADC acquisition circuit is connected with the output end of the second-order low-pass filter circuit, after the ADC acquisition circuit collects information, the information is transmitted into the single chip microcomputer system and then transmitted into the PC end, the PC end realizes the calibration of a variable capacitor CT through the PI controller, and according to the output feedback of a phase control rectifying circuit based on a comparator, the ADC acquires a PI regulation value of a system output signal through the MCU controller, and the zero setting of a capacitor to be detected or a system in an initial power-on state is completed without access detection.
As a further optimized scheme of the invention, in the phase shifting circuit, when the imaginary part of the capacitor to be detected is detectedThe phase-shifting circuit is a differential circuit when detecting the real part/>, of the capacitive sensorAt this time, no phase shift is required, and the alternating current signal and the operational amplifier/>, which is the next stageIs connected to the inverting input terminal of (c).
As a further optimization scheme of the invention, a normally open contact of the analog switch S1 is connected to the output end of the self-compensating calibration bridge circuitNormally closed contacts are connected to the output terminals/>When the input end shifts the phase of the original excitation signal by 90 degrees, the analog switch outputs a signal/>The DC power is integrated by a second-order low-pass filter circuit, and the imaginary part/>, of the capacitor to be detected is detected at the moment; When the input end is the original excitation signal, the real part/>, of the capacitor to be detected is detectedWherein the input sinusoidal excitation signal isA is the gain of the input sinusoidal excitation signal;
Wherein, when detecting When the phase of the output signal of the phase shifting circuit is lagged by 90 degrees for the excitation signal, and then the analog switch/>, which is controlled by the comparator, is used forThe output signal is:
integrating by a second-order low-pass filter circuit, and obtaining a direct current signal when the cut-off frequency of the second-order low-pass filter is far smaller than the frequency of the excitation signal The output DC quantity after signal integration in one period is approximately calculated as:
Detecting imaginary part The method comprises the following steps:
When detecting When the phase-shifting circuit is not needed, the excitation signal directly passes through the analog switch/>, which is controlled by the comparatorThe output signal is:
Detecting real part The method comprises the following steps:
。
In a third aspect, the invention provides a measurement device comprising measurement circuitry in any of the possible implementations of the first or second aspects.
1. The invention has the beneficial effects that:
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.
2. The measuring circuit provided by the invention comprises a self-compensating calibration bridge circuit, a phase shifting circuit and a phase control rectifying circuit based on a comparator, realizes the conversion of complex impedance (or leakage capacitance and leakage resistance) of the capacitive sensor into direct-current voltage for detection, 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 and achieves the purpose of precision measurement.
Drawings
FIG. 1 is a flow chart illustrating the measurement method according to the present invention.
Fig. 2 is a system schematic block diagram of the present invention.
Fig. 3 is a schematic block diagram of a programmable capacitor of the present invention.
Fig. 4 is a circuit diagram for realizing 90 ° phase shift of an input ac signal in the phase shift circuit of the present invention.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings, wherein it is to be understood that the following detailed description is for the purpose of further illustrating the application only and is not to be construed as limiting the scope of the application, as various insubstantial modifications and adaptations of the application to those skilled in the art can be made in light of the foregoing disclosure.
Example 1
As shown in fig. 1, the present embodiment provides a method for measuring complex impedance of a capacitor, which is suitable for a measurement circuit including a capacitor to be detected, and includes:
S1, inputting sinusoidal alternating current signal excitation into the measurement circuit, converting the detected complex impedance of the capacitive sensor into a voltage signal under the condition of inputting sinusoidal alternating current signal excitation, and outputting zero setting to the measurement circuit under an initial state so as to detect the complex impedance of a capacitor to be detected; parasitic capacitance can be automatically eliminated by the system zeroing operation.
Specifically, the initial state includes an initial time 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 for power-up.
S2, 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;
Specifically, based on the real part and the imaginary part of the complex number of the capacitor to be detected, when the real part is detected correspondingly, 90 degrees of phase shift is performed on the input sinusoidal alternating current signal, and when the imaginary part is detected correspondingly, 0 degree of phase shift is performed on the input sinusoidal alternating current signal, namely, phase shift is not needed.
And S3, 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 filtered alternating current signal into direct current voltage for output. Wherein the filtering operation is based on a low pass filtering circuit implementation.
It will be appreciated that the above measurement method is applicable to sensors based on capacitive complex impedance or complex impedance variation measurements; the complex impedance (or leakage capacitance and leakage resistance) of the capacitive sensor is converted into direct-current voltage for detection, and the method can be used for measuring the complex impedance of the capacitive sensor, can also only measure the variation of the complex impedance of the capacitive sensor, can automatically eliminate parasitic capacitance and achieves the purpose of precision measurement.
Example 2
Based on the same inventive concept, a measurement circuit corresponding to the measurement method is also provided in this embodiment, and since the principle of solving the problem of the measurement circuit in the embodiment of the present disclosure is similar to that of the measurement method in the embodiment of the present disclosure, the implementation of the measurement circuit may refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 2-4, the present embodiment provides a capacitor complex impedance measurement circuit for implementing the measurement method as above, the measurement circuit including a self-compensating calibration bridge circuit, a phase shift circuit, and a phase control rectifier circuit;
the self-compensating calibration bridge circuit is used for inputting sinusoidal alternating current signal excitation into the measuring circuit, and outputting zero setting is carried out on the measuring circuit at the initial moment when the self-compensating calibration bridge circuit is not connected with the capacitor to be detected or the self-compensating calibration bridge circuit is connected with the capacitor to be detected for power-on so as to detect the complex impedance of the capacitor to be detected;
the phase shifting circuit is used for 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;
the phase control rectification circuit is used for responding to the phase control signal and carrying out phase control rectification on the alternating current signal, and the alternating current signal after the phase control rectification is filtered and then converted into direct current voltage to be output.
Referring specifically to fig. 2, as a further implementation, the self-compensating calibration bridge circuit includes a first stage inverse proportional circuit, an integrating circuit, and a feedback circuit with PI regulation;
The phase control rectification circuit comprises a comparator, a second-stage reverse proportion circuit, an analog switch S1 and a second-order low-pass filter circuit; comparator, i.e. operational amplifier Operational amplifier/>The reverse input end of the (E) is connected with the phase shifting circuit, the forward input end is electrically connected with the ground, and the operational amplifier/>The output end of the switch S1 is connected with the signal output end of the analog switch S1, the signal output end of the switch S1 is connected with the second-order low-pass filter circuit, and the signal is/>The integrating circuit of the self-compensating calibration bridge circuit, to which the two input ends of the analog switch S1 are respectively connected, is connected with the output end of the second-stage inverse proportional circuit;
First-stage reverse proportional circuit routing amplifier Resistance/>、/>、/>Composition, resistance/>Is connected to electrical ground at one end and an amplifier/>Is connected to the positive input terminal of the amplifier/>Inverting input terminal and resistance/>、/>Connected to a resistorConnected with a capacitor to be detected in an integrating circuit, and the resistor/>At the other end of the amplifier/>Is connected with the output end of the power supply;
integrating circuit with operational amplifier And feedback resistance/>Composition, amplifier/>And resistance/>、/>、/>The first-stage reverse proportional circuit and the reference capacitor/>, are formedIn series connection with the capacitor to be detected and the automatic compensation capacitor/>In parallel, and pass through an operational amplifier/>And feedback resistance/>Form the output signal of the integrating circuit/>;
The second-stage reverse proportional circuit is composed of an amplifierAnd resistance/>、/>The output end of the integrating circuit and the resistor/>, are formedOne end is connected with the resistor/>And amplifier/>Reverse input terminal and resistance/>Connected, resistance/>The other end is connected with an amplifier/>Is connected to the output of the amplifier/>Is connected to electrical ground, the output signal of the second stage reverse scaling circuit, i.e. amplifier/>The output signal at the output end of (2) is/>Automatic compensation capacitor/>For programmable capacitance, the capacitor to be detected includes leakage capacitance/>And leakage resistance/>。
The feedback circuit with PI regulation comprises an FPGA single-chip microcomputer system, an ADC acquisition circuit and a PI controller, wherein the ADC acquisition circuit is connected with the output end of the second-order low-pass filter circuit, after the ADC acquisition circuit collects information, the information is transmitted into the single-chip microcomputer system and then transmitted into the PC end, the PC end realizes the calibration of the variable capacitor CT through the PI controller, and according to the output feedback of the phase control rectifying circuit based on the comparator, the ADC acquires the PI regulation value of the system output signal through the MCU controller, and the zero setting under the initial state of the power-on of the system or the capacitor to be detected which is not connected in detection is completed.
Referring to fig. 2, the measurement circuit further includes: FPGA singlechip system, ADC acquisition circuit, PI controller.
According to the output feedback of a phase control rectifying circuit based on a comparator, an ADC (analog-to-digital converter) collects and then carries out PI (proportion integration) adjustment on a system output signal through an MCU (micro control Unit)The value is zeroed under the initial state of power-on of a capacitor to be detected without access detection or a system, and the input of the integrating circuit passes through an amplifier/>And resistance/>、/>、/>A first-stage reverse proportional circuit is formed;
wherein when the input sinusoidal excitation is Integrating circuit output/>, of the self-compensating calibration bridge circuitAnd the integrating circuit outputs a signal/>, through a second-stage reverse proportional circuitThe method comprises the following steps:
in the method, in the process of the invention, Is the gain of the inverse proportional circuit,/>Is the gain of the input sinusoidal excitation signal.
The ADC acquisition circuit is connected with the output end of the low-pass filter LPF, and after the information is collected by the ADC acquisition circuit, the information is transmitted into the singlechip system, and after simple processing, the information is transmitted into the PC end, and the PC end realizes the calibration of the variable capacitor CT through the PI controller. When the capacitor sensor is not connected in the initial state, initialization zeroing is carried out, thus self-adaption capacitor supplementing can be carried out, and parasitic capacitance influence is eliminated; when the capacitor sensor is connected in an initial state, initialization zeroing is performed, at the moment, the influence of parasitic capacitance is eliminated to perform self-adaptive parasitic capacitance supplement, and the change quantity of the capacitor sensor can be directly detected, wherein the change quantity comprises the change quantity of an imaginary part (leakage capacitance) of the capacitor sensor and the change quantity of a real part (leakage resistance) of the capacitor sensor.
As a further implementation, in the phase shift circuit, when detecting the imaginary part of the capacitor to be detectedThe phase-shifting circuit is a differential circuit when detecting the real part/>, of the capacitive sensorAt this time, no phase shift is required, and the alternating current signal and the operational amplifier/>, which is the next stageIs connected to the inverting input terminal of (c).
As a further implementation, based on the above measurement circuit, automatic elimination of parasitic capacitance is achieved by implementation of the following steps:
(1) Control of analog switches by comparison of the input of a phase shifter with ground For phase control of signals, the normally open contact of the analog switch S1 is connected to the output end/>, of the self-compensating calibration bridge circuitNormally closed contacts are connected to the output terminals/>When the input end shifts the phase of the original excitation signal by 90 degrees, the analog switch outputs a signal/>The DC power is integrated by a second-order low-pass filter circuit, and the imaginary part/>, of the capacitor to be detected is detected at the moment; When the input end is the original excitation signal, the real part/>, of the capacitor to be detected is detected; Wherein the input sinusoidal excitation signal is/>A is the gain of the input sinusoidal excitation signal;
Wherein, when detecting When the phase of the output signal of the phase shifting circuit is lagged by 90 degrees for the excitation signal, and then the analog switch/>, which is controlled by the comparator, is used forThe output signal is:
(2) Integrating by a second-order low-pass filter circuit, and obtaining a direct current signal when the cut-off frequency of the second-order low-pass filter is far smaller than the frequency of the excitation signal The output DC quantity after signal integration in one period is approximately calculated as:
Detecting imaginary part The method comprises the following steps:
When detecting When the phase-shifting circuit is not needed, the excitation signal directly passes through the analog switch/>, which is controlled by the comparatorThe output signal is:
(3) Integrating by a second-order low-pass filter circuit, and obtaining a direct current signal when the cut-off frequency of the second-order low-pass filter is far smaller than the frequency of the excitation signal The output DC quantity after signal integration in one period is approximately calculated as:
‘
Detecting real part The method comprises the following steps:
。
Example 3
The present embodiment provides a measuring device comprising a measuring circuit as described above. For a specific description of the measuring device reference is made to the description of the measuring circuit described above, which is not described in detail here.
It will be appreciated that the other elements included in the measuring device are not limiting embodiments of the application.
The measuring device is a chip, a sensor, or an electronic device, or an internet of things device, etc., which are not listed here.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present invention are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (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, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (4)
1. A method of measuring the complex impedance of a capacitor, suitable for use in a measurement circuit comprising a capacitor to be tested, the measurement circuit comprising a self-compensating calibration bridge circuit, a phase-shifting circuit and a phase-controlled rectifier circuit, the method comprising:
Inputting sinusoidal alternating current signal excitation into the measuring circuit, and carrying out output zeroing on the measuring circuit in an initial state so as to detect the complex impedance of the 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;
Based on the real part and the imaginary part of the capacitor complex number to be detected, the phase of the input sinusoidal alternating current signal is shifted by 90 degrees when the real part is detected correspondingly, and the phase of the input sinusoidal alternating current signal is shifted by 0 degree when the imaginary part is detected correspondingly;
The self-compensating calibration bridge circuit comprises a first-stage reverse proportional circuit, an integrating circuit and a feedback circuit with PI regulation;
The phase control rectification circuit comprises a comparator, a second-stage reverse proportion circuit, an analog switch S1 and a second-order low-pass filter circuit; the comparator being an operational amplifier The operational amplifier/>The reverse input end of the (E) is connected with the phase shifting circuit, the forward input end is electrically connected with the ground, and the operational amplifier/>The output end of the switch S1 is connected with the signal output end of the analog switch S1, the signal output end of the switch S1 is connected with the second-order low-pass filter circuit, and the signal is/>Two input ends of the analog switch S1 are respectively connected to the integrating circuit of the self-compensating calibration bridge circuit and the output end of the second-stage inverse proportion circuit;
the first-stage reverse proportional circuit routing amplifier Resistance/>、/>、/>Composition, resistance/>Is connected to electrical ground at one end and an amplifier/>Is connected to the positive input terminal of the amplifier/>Inverting input terminal and resistance/>、/>Connected to a resistorConnected with the capacitor to be detected in the integrating circuit, and the resistor/>At the other end of the amplifier/>Is connected with the output end of the power supply;
the integrating circuit is composed of an operational amplifier And feedback resistance/>Composition, amplifier/>And resistance/>The first-stage reverse proportional circuit and the reference capacitor/>, are formedIn series connection with the capacitor to be detected and the automatic compensation capacitor/>In parallel, and pass through an operational amplifier/>And feedback resistance/>Form the output signal of the integrating circuit/>;
The second-stage reverse proportion circuit consists of an amplifierAnd resistance/>、/>Composition, output end and resistance of the integration circuit/>One end is connected with the resistor/>And amplifier/>Reverse input terminal and resistance/>Connected, resistance/>The other end is connected with an amplifier/>Is connected to the output of the amplifier/>Is connected to electrical ground, the output signal of the second stage reverse scaling circuit, i.e. amplifier/>The output signal at the output end of (2) is/>The self-compensating capacitance/>For programmable capacitance, the capacitor to be detected includes leakage capacitance/>And leakage resistance/>;
The feedback circuit with PI regulation comprises an FPGA single chip microcomputer system, an ADC acquisition circuit and a PI controller, wherein the ADC acquisition circuit is connected with the output end of the second-order low-pass filter circuit, after the ADC acquisition circuit collects information, the information is transmitted into the single chip microcomputer system and then transmitted into a PC end, the PC end realizes the calibration of a variable capacitor CT through the PI controller, and according to the output feedback of a phase control rectifying circuit based on a comparator, the ADC acquires a PI regulation value of a system output signal through the MCU controller, and zero setting under the initial state of the power-on of a capacitor to be detected or the system is completed without access detection;
in the phase shifting circuit, when the imaginary part of the capacitor to be detected is detected The phase-shifting circuit is a differential circuit when detecting the real part/>, of the capacitive sensorAt this time, no phase shift is required, and the alternating current signal and the operational amplifier/>, which is the next stageIs connected with the inverting input terminal of the circuit;
The normally open contact of the analog switch S1 is connected to the output end of the self-compensating calibration bridge circuit Normally closed contacts are connected to the output terminals/>When the input end shifts the phase of the original excitation signal by 90 degrees, the analog switch outputs a signal/>The DC power is integrated by a second-order low-pass filter circuit, and the imaginary part/>, of the capacitor to be detected is detected at the moment; When the input end is the original excitation signal, the real part/>, of the capacitor to be detected is detected; Wherein the input sinusoidal excitation signal is/>A is the gain of the input sinusoidal excitation signal;
Wherein, when detecting When the phase of the output signal of the phase shifting circuit is lagged by 90 degrees for the excitation signal, and then the analog switch/>, which is controlled by the comparator, is used forThe output signal is:
integrating by a second-order low-pass filter circuit, and obtaining a direct current signal when the cut-off frequency of the second-order low-pass filter is far smaller than the frequency of the excitation signal The output DC quantity after signal integration in one period is approximately calculated as:
Detecting imaginary part The method comprises the following steps:
When detecting When the phase-shifting circuit is not needed, the excitation signal directly passes through the analog switch/>, which is controlled by the comparatorThe output signal is:
integrating by a second-order low-pass filter circuit, and obtaining a direct current signal when the cut-off frequency of the second-order low-pass filter is far smaller than the frequency of the excitation signal The output DC quantity after signal integration in one period is approximately calculated as:
Detecting real part The method comprises the following steps:
。
2. A method of measuring complex impedance of a capacitor as claimed in claim 1, wherein the initial state comprises an initial time 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.
3. A capacitor complex impedance measurement circuit for implementing the measurement method of claim 1, wherein the measurement circuit comprises a self-compensating calibration bridge circuit, a phase-shifting circuit, and a phase-controlled rectifier circuit;
The self-compensating calibration bridge circuit is used for inputting sinusoidal alternating current signal excitation into the measuring circuit, and outputting zero setting is carried out on the measuring circuit at the initial moment when the self-compensating calibration bridge circuit is not connected with the capacitor to be detected or the self-compensating calibration bridge circuit is connected with the capacitor to be detected for power-up so as to detect the complex impedance of the capacitor to be detected;
The phase shifting circuit is used for shifting the phase of an input sinusoidal alternating current signal by 90 degrees or 0 degrees to generate a phase-controlled signal after phase shifting;
The phase control rectification circuit is used for 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 filtered alternating current signal into direct current voltage for output;
The self-compensating calibration bridge circuit comprises a first-stage reverse proportional circuit, an integrating circuit and a feedback circuit with PI regulation;
The phase control rectification circuit comprises a comparator, a second-stage reverse proportion circuit, an analog switch S1 and a second-order low-pass filter circuit; the comparator being an operational amplifier The operational amplifier/>The reverse input end of the (E) is connected with the phase shifting circuit, the forward input end is electrically connected with the ground, and the operational amplifier/>The output end of the switch S1 is connected with the signal output end of the analog switch S1, the signal output end of the switch S1 is connected with the second-order low-pass filter circuit, and the signal is/>Two input ends of the analog switch S1 are respectively connected to the integrating circuit of the self-compensating calibration bridge circuit and the output end of the second-stage inverse proportion circuit;
the first-stage reverse proportional circuit routing amplifier Resistance/>、/>、/>Composition, resistance/>Is connected to electrical ground at one end and an amplifier/>Is connected to the positive input terminal of the amplifier/>Inverting input terminal and resistance/>、/>Connected to a resistorConnected with the capacitor to be detected in the integrating circuit, and the resistor/>At the other end of the amplifier/>Is connected with the output end of the power supply;
the integrating circuit is composed of an operational amplifier And feedback resistance/>Composition, amplifier/>And resistance/>The first-stage reverse proportional circuit and the reference capacitor/>, are formedIn series connection with the capacitor to be detected and the automatic compensation capacitor/>In parallel, and pass through an operational amplifier/>And feedback resistance/>Form the output signal of the integrating circuit/>;
The second-stage reverse proportion circuit consists of an amplifierAnd resistance/>、/>The output end of the integrating circuit is connected with a resistorOne end is connected with the resistor/>And amplifier/>Reverse input terminal and resistance/>Connected, resistance/>The other end is connected with an amplifier/>Is connected to the output of the amplifier/>Is connected to electrical ground, the output signal of the second stage reverse scaling circuit, i.e. amplifier/>The output signal at the output end of (2) is/>The self-compensating capacitance/>For programmable capacitance, the capacitor to be detected includes leakage capacitance/>And leakage resistance/>;
The feedback circuit with PI regulation comprises an FPGA single chip microcomputer system, an ADC acquisition circuit and a PI controller, wherein the ADC acquisition circuit is connected with the output end of the second-order low-pass filter circuit, after the ADC acquisition circuit collects information, the information is transmitted into the single chip microcomputer system and then transmitted into a PC end, the PC end realizes the calibration of a variable capacitor CT through the PI controller, and according to the output feedback of a phase control rectifying circuit based on a comparator, the ADC acquires a PI regulation value of a system output signal through the MCU controller, and zero setting under the initial state of the power-on of a capacitor to be detected or the system is completed without access detection;
in the phase shifting circuit, when the imaginary part of the capacitor to be detected is detected The phase-shifting circuit is a differential circuit when detecting the real part/>, of the capacitive sensorAt this time, no phase shift is required, and the alternating current signal and the operational amplifier/>, which is the next stageIs connected to the inverting input terminal of (c).
4. A measuring device comprising a measuring circuit as claimed in claim 3.
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)
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 measuring 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10431424B2 (en) * | 2015-02-18 | 2019-10-01 | Reno Technologies Inc. | Parasitic capacitance compensation circuit |
-
2024
- 2024-02-01 CN CN202410143577.1A patent/CN117665397B/en active Active
Patent Citations (9)
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 measuring 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)
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 |
---|---|---|
US10955497B2 (en) | Phase compensation circuit, magnetic induction imaging device and phase compensation method | |
KR101056003B1 (en) | Extended Range RMS-DC Converters | |
Khan et al. | An efficient interface circuit for lossy capacitive sensors | |
CN108693486B (en) | Method and system for detecting weak low-frequency magnetic signal based on AMR sensor | |
CN113030550B (en) | Non-contact voltage sensor | |
JP2011058991A (en) | Detector, physical quantity measuring instrument, and electronic equipment | |
Malik et al. | AN-C2V: an auto-nulling bridge-based signal conditioning circuit for leaky capacitive sensors | |
CN111693784A (en) | Weak capacitance change measuring circuit | |
CN112666400B (en) | Capacitance measuring circuit capable of automatically compensating parasitic capacitance, and use method and application thereof | |
CN111623698A (en) | Eddy current displacement sensor circuit with nonlinear correction function | |
CN117665397B (en) | Capacitor complex impedance measurement method, circuit and device | |
EP1538450A1 (en) | Electrical power meter | |
CN108680616B (en) | Humidity sensing device and method for digital processing | |
Xu et al. | Low-power lock-in amplifier for complex impedance measurement | |
US9903891B2 (en) | Capacitive sensor | |
Kumar et al. | A simple signal conditioning scheme for inductive sensors | |
Depari et al. | A complementary metal oxide semiconductor—integrable conditioning circuit for resistive chemical sensor management | |
RU2314544C1 (en) | Meter of parameters of dissipative cg- two terminal devices | |
Linthish et al. | Autonulling-based multichannel impedance measurement system for capacitive sensors | |
CN211718374U (en) | Current detection circuit and current detection equipment | |
CN109990804B (en) | Self-correcting circuit of sensor circuit temperature drift based on analog multiplier | |
CN114062764A (en) | Direct current small current measuring system and method based on standard current | |
Xu et al. | A low-power readout circuit for nanowire based hydrogen sensor | |
Barile et al. | A novel interface architecture for differential capacitive sensors | |
CN212646814U (en) | Weak capacitance change measuring circuit |
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 |