AC impedance measuring circuit with correcting function

文档序号:396626 发布日期:2021-12-17 浏览:9次 中文

阅读说明:本技术 具有校正功能的交流阻抗测量电路 (AC impedance measuring circuit with correcting function ) 是由 赵伯寅 李永竹 庄郁暐 于 2020-05-29 设计创作,主要内容包括:本发明公开了一种具有校正功能的交流阻抗测量电路,其特点在于只需要一个校正阻抗,再搭配开关电路,依据两种校正模式的测量结果,即可计算开关电路的等效阻抗、电路的增益以及相位偏移量。依据上述结果,测量模式的测量结果扣掉开关电路的等效阻抗值,即可精确计算待测阻抗的交流电导数值以及交流电导相位值。另外通过调整输入弦波信号以及取样频率信号的相位差,即可分别取得同相位阻抗数值,以及正交相位的阻抗数值,并计算待测阻抗的交流阻抗值与相位角。(The invention discloses an alternating current impedance measuring circuit with a correcting function, which is characterized in that only one correcting impedance is needed, and then a switching circuit is matched, so that the equivalent impedance of the switching circuit, the gain of the circuit and the phase offset can be calculated according to the measuring results of two correcting modes. According to the result, the equivalent impedance value of the switch circuit is deducted from the measurement result of the measurement mode, and the alternating current derivative value and the alternating current derivative phase value of the impedance to be measured can be accurately calculated. In addition, by adjusting the phase difference between the input sine wave signal and the sampling frequency signal, the impedance value of the same phase and the impedance value of the orthogonal phase can be obtained respectively, and the alternating current impedance value and the phase angle of the impedance to be measured are calculated.)

1. An alternating current impedance measurement circuit comprising:

a waveform generating circuit, including a sine wave signal output end for outputting a sine wave signal, and a frequency signal output end for outputting a frequency signal;

a first amplifier, the positive input end of which is connected to the sine wave signal output end;

a switch circuit connected to the negative input terminal of the first amplifier and the output terminal of the first amplifier;

a to-be-tested impedance and a correction impedance connected to the switch circuit;

a second amplifier, a positive input end of which is connected to a reference voltage, and a negative input end of which is connected to the impedance to be measured or the correction impedance;

a reference impedance connected between the negative input terminal of the second amplifier and the output terminal of the second amplifier; and

a sampling circuit for receiving the frequency signal generated by the waveform generating circuit and connected to two ends of the reference impedance; the switch circuit comprises a plurality of switches, and the first amplifier and the second amplifier are connected with the impedance to be measured or the correcting impedance through controlling the switches, or the correcting impedance is connected with a switch.

2. The ac impedance measurement circuit of claim 1, wherein the switching circuit comprises:

a first switch connected between the negative input terminal of the first amplifier and the correction impedance;

a second switch connected between the negative input terminal of the first amplifier and the output terminal of the first amplifier;

a third switch connected between the output end of the first amplifier and the impedance to be measured; and

a fourth switch connected between the output of the first amplifier and the calibration impedance.

3. An alternating current impedance measurement circuit comprising:

a waveform generating circuit, including a sine wave signal output end for outputting a sine wave signal, and a frequency signal output end for outputting a frequency signal;

a reference impedance directly connected to the sine-wave signal output terminal or connected to the sine-wave signal output terminal through a first amplifier, wherein a positive input terminal of the first amplifier is connected to the sine-wave signal output terminal, and a negative input terminal of the first amplifier and an output terminal of the first amplifier are both connected to the reference impedance;

a second amplifier, a positive input end of the second amplifier is connected to a reference voltage, and a negative input end of the second amplifier is connected to the reference impedance;

a switch circuit, an impedance to be measured and a correction impedance connected between the negative input end and the output end of the second amplifier; and

a sampling circuit for receiving the frequency signal generated by the waveform generating circuit and connected to the output terminal of the second amplifier, the negative input terminal of the second amplifier or the internal terminal of the switch circuit; the switch circuit comprises a plurality of switches, and the negative input end and the output end of the second amplifier are connected with the impedance to be measured or the correcting impedance through controlling the switches, or the correcting impedance is connected with a switch.

4. The ac impedance measurement circuit of claim 3, wherein the switching circuit internally comprises:

a first switch, wherein one end of the first switch is connected to the negative input end or the output end of the second amplifier, and the other end of the first switch is connected to the correction impedance;

a second switch, one end of which is connected to the negative input end or the output end of the second amplifier;

the third switch is connected between the impedance to be tested and the other end of the second switch; and

and a fourth switch, wherein one end of the fourth switch is connected to the correction impedance, and the other end of the fourth switch is connected to the common joint of the second switch and the third switch.

5. The ac impedance measurement circuit of claim 2 or 4, wherein the switching circuit comprises:

a first calibration mode for turning on the second switch and the fourth switch;

a second calibration mode for turning on the first switch and the fourth switch; and

a measurement mode for turning on the second switch and the third switch; in addition, for the architecture in which the sampling circuit is connected to the negative input terminal and the output terminal of the second amplifier, the second calibration mode does not turn on the fourth switch.

6. The ac impedance measurement circuit of claim 1, 2, 3 or 4, wherein the waveform generation circuit comprises:

a digital waveform synthesis circuit for outputting a digital sine wave signal; and

a digital-to-analog converter for converting the digital sine wave signal into analog sine wave signal.

7. The ac impedance measuring circuit of claim 1, 2, 3 or 4, wherein the sampling circuit comprises a digital quantization circuit for converting the sampled signal in analog form into a signal in digital form.

8. The ac impedance measuring circuit according to claim 1, 2, 3 or 4, wherein the sampling time of the sampling circuit is controlled by adjusting the phase difference between the sine wave signal and the frequency signal, so as to obtain an in-phase sampling or integration result without phase difference, called an in-phase value, and a quadrature-phase sampling or integration result with a phase difference of 90 degrees, called a quadrature-phase value, for the signal at the output terminal of the second amplifier; the integration result is the result of integrating one cycle of the sine wave signal or the result of subtracting the integration value of the second half cycle of the sine wave signal from the integration value of the first half cycle of the sine wave signal; the AC conductance values are calculated by dividing the quadrature phase values by the in-phase values and substituting the same into the calculation result of the arctan function.

9. The ac impedance measuring circuit according to claim 1, 2, 3 or 4, wherein the sampling time point of the sampling circuit is adjusted by adjusting the phase difference between the sine wave signal and the frequency signal, and further a sampling or integration result without phase difference and with phase difference of 180 degrees is obtained for the signal at the output terminal of the second amplifier, and two integration results are subtracted to obtain an in-phase sampling or integration result, which is called an in-phase value, and further a sampling or integration result with phase difference of 90 degrees and 270 degrees is obtained, and two integration results are subtracted to obtain a quadrature-phase sampling or integration result, which is called a quadrature-phase value; the integration result is the result of integrating one cycle of the sine wave signal or the result of subtracting the integration value of the second half cycle of the sine wave signal from the integration value of the first half cycle of the sine wave signal; the AC conductance values are calculated by dividing the quadrature phase values by the in-phase values and substituting the same into the calculation result of the arctan function.

10. The AC impedance measuring circuit according to claim 5, further comprising calculating an equivalent impedance value of the fourth switch by using the difference between the AC derivative values obtained in the first calibration mode and the second calibration mode, and the impedance value of the calibration impedance; or the proportional gain of the impedance value of the correction impedance or the equivalent impedance value of the fourth switch and the alternating current derivative value is used; or the phase delay of the ac impedance measuring circuit is the ac conductance phase value obtained in the first calibration mode or the ac conductance phase value in the second calibration mode; in addition, the equivalent impedance value of the switch connected in series with the impedance to be measured is further deducted from the alternating current impedance measurement result of the measurement mode, and the accurate impedance value of the impedance to be measured is calculated.

11. The ac impedance measuring circuit according to claim 10, wherein the equivalent impedance of the fourth switch is calculated by dividing the ac conductance value of the second correction mode by the ac conductance value of the first correction mode, subtracting 1 and then multiplying by the resistance value of the correction impedance, or the gain of the ac impedance measuring circuit is calculated by multiplying the conductance measurement result of the second correction mode by the resistance value of the correction impedance; in addition, for the configuration in which the sampling circuit is connected to the negative input terminal and the output terminal of the second amplifier, the equivalent impedance of the fourth switch is calculated by dividing the ac derivative value of the second correction mode minus the ac derivative value of the first correction mode by multiplying the ac derivative value of the first correction mode by 2 minus the ac derivative value of the second correction mode by the resistance value of the correction impedance, or by multiplying the gain of the ac impedance measurement circuit by the conductance measurement result of the second correction mode by multiplying the resistance value of the correction impedance plus the equivalent impedance value of the fourth switch.

Technical Field

The present invention relates to an ac impedance measuring circuit, and more particularly, to a measuring circuit having a calibration function, which calculates an equivalent impedance of a switching circuit, compensates a measurement result, and improves measurement precision.

Background

The alternating-current impedance measuring circuit is widely applied to human body impedance measurement, so that a user can pay attention to the content of the fat of the human body, and the health condition of the user can be more accurately mastered. Compared with a direct current impedance measuring circuit, although the direct current impedance measuring circuit is simpler, the direct current impedance measuring circuit has the defect that the measuring result comprises the skin impedance of the human body, so that the accuracy of the measuring result of the total impedance of the human body is poor. The alternating current impedance measuring circuit can reduce the influence of skin impedance on a measuring result, and accurately analyze the equivalent alternating current impedance and the phase characteristics of a human body.

Chinese patent No. 105662411 discloses an ac impedance measuring circuit, in which a sinusoidal current generator is used to generate sinusoidal exciting current for applying to two ends of a human body to be measured, two ends of the human body to be measured generate a sinusoidal voltage signal, and the equivalent impedance of the human body is determined by the output of a rectifying and filtering circuit.

In the invention patent of US10,551,469, an ac impedance measuring circuit and a calibration circuit are disclosed, in which two calibration impedances are designed to be connected in parallel with an object to be measured, and the calibration impedance or the impedance of the object to be measured can be selectively measured by switching a switch, and the measurement result of the calibration impedance is used for calibration, so that the accuracy of the ac impedance measurement can be improved after the measurement result is calibrated.

In the prior art, the alternating current impedance measuring circuit needs to be externally connected with 2 correction impedances when being corrected, and the practical application is inconvenient. In addition, the switch connected in series with the object to be measured also has impedance, which affects the accuracy of the measurement result. Therefore, a more convenient calibration circuit and calibration method are needed, and the equivalent impedance value of the switch circuit is compensated, so that the convenience of practical application and the measurement accuracy are improved.

Disclosure of Invention

The invention discloses an alternating current impedance measuring circuit with a correcting function, which comprises a waveform generating circuit, a frequency signal generating circuit and a waveform correcting circuit, wherein the waveform generating circuit comprises a sine wave signal output end and a frequency signal output end; a first amplifier, the positive input end of which is connected to the sine wave signal output end; a switch circuit connected to the negative input terminal of the first amplifier and the output terminal of the first amplifier; a to-be-tested impedance and a correction impedance connected to the switch circuit; a second amplifier, a positive input end of which is connected to a reference voltage, and a negative input end of which is connected to the impedance to be measured or the correction impedance; a reference impedance connected between the negative input terminal of the second amplifier and the output terminal of the second amplifier; and a sampling circuit, receiving the frequency signal of the waveform generating circuit, and connected to two ends of the reference impedance; the switch circuit comprises a plurality of switches, and the first amplifier and the second amplifier are connected with the impedance to be measured or the correcting impedance through controlling the switches, or the correcting impedance is connected with a switch.

The above alternating current impedance measuring circuit, wherein the switching circuit comprises: a first switch connected between the negative input terminal of the first amplifier and the correction impedance; a second switch connected between the negative input terminal of the first amplifier and the output terminal of the first amplifier; a third switch connected between the output end of the first amplifier and the impedance to be measured; and a fourth switch connected between the output of the first amplifier and the calibration impedance.

The invention discloses another alternating current impedance measuring circuit structure, which comprises a waveform generating circuit, a frequency signal generating circuit and a waveform generating circuit, wherein the waveform generating circuit comprises a sine wave signal output end and a frequency signal output end, the sine wave signal output end is used for outputting a sine wave signal, and the frequency signal output end is used for outputting a frequency signal; a reference impedance directly connected to the sine-wave signal output terminal or connected to the sine-wave signal output terminal through a first amplifier, wherein a positive input terminal of the first amplifier is connected to the sine-wave signal output terminal, and a negative input terminal of the first amplifier and an output terminal of the first amplifier are both connected to the reference impedance; a second amplifier, a positive input end of the second amplifier is connected to a reference voltage, and a negative input end of the second amplifier is connected to the reference impedance; a switch circuit, an impedance to be measured and a correction impedance connected between the negative input end and the output end of the second amplifier; and a sampling circuit, receiving the frequency signal generated by the waveform generating circuit, and connected to the output end of the second amplifier, the negative input end of the second amplifier or the internal end point of the switch circuit; the switch circuit comprises a plurality of switches, and the negative input end of the second amplifier and the output end of the second amplifier are connected with the impedance to be measured or the correcting impedance through controlling the switches, or the correcting impedance is connected with a switch.

The above alternating current impedance measuring circuit, wherein the switching circuit comprises: a first switch, wherein one end of the first switch is connected to the negative input end or the output end of the second amplifier, and the other end of the first switch is connected to the correction impedance; a second switch, one end of which is connected to the negative input end or the output end of the second amplifier; the third switch is connected between the impedance to be tested and the other end of the second switch; and a fourth switch, one end of which is connected to the correction impedance and the other end is connected to the common joint of the second switch and the third switch.

The invention discloses another alternating current impedance measuring circuit structure, which comprises a waveform generating circuit, a frequency signal generating circuit and a waveform generating circuit, wherein the waveform generating circuit comprises a sine wave signal output end and a frequency signal output end, the sine wave signal output end is used for outputting a sine wave signal, and the frequency signal output end is used for outputting a frequency signal; a reference impedance directly connected to the sine-wave signal output terminal or connected to the sine-wave signal output terminal through a first amplifier, wherein a positive input terminal of the first amplifier is connected to the sine-wave signal output terminal, and a negative input terminal of the first amplifier and an output terminal of the first amplifier are both connected to the reference impedance; a second amplifier, a positive input end of the second amplifier is connected to a reference voltage, and a negative input end of the second amplifier is connected to the reference impedance; a to-be-detected impedance and a correction impedance connected to the negative input end of the second amplifier; a switch circuit connected between the impedance to be measured or the correction impedance and the output end of the second amplifier; and a sampling circuit, receiving the frequency signal of the waveform generating circuit, and connected to the negative input terminal of the second amplifier, and further connected to the output terminal of the second amplifier or the internal terminal of the switch circuit; the switch circuit comprises a plurality of switches, and the negative input end of the second amplifier and the output end of the second amplifier are connected with the impedance to be measured or the correcting impedance through controlling the switches, or the correcting impedance is connected with a switch.

The above alternating current impedance measuring circuit, wherein the switching circuit comprises: a first switch connected between the output end of the second amplifier and the correction impedance; a second switch, one end of which is connected to the output end of the second amplifier; the third switch is connected between the impedance to be tested and the other end of the second switch; and a fourth switch, one end of which is connected to the correction impedance and the other end is connected to the common joint of the second switch and the third switch.

In the various ac impedance measuring circuits of the present invention, the switch circuit includes a first calibration mode for turning on the second switch and the fourth switch; a second calibration mode for turning on the first switch and the fourth switch; and a measurement mode for turning on the second switch and the third switch; in addition, for the architecture in which the sampling circuit is connected to the negative input terminal and the output terminal of the second amplifier, the second calibration mode may not be used to turn on the fourth switch.

Various ac impedance measuring circuits of the present invention, wherein the waveform generating circuit includes: a digital waveform synthesis circuit for outputting a digital sine wave signal, and a digital-to-analog converter for converting the digital sine wave signal into an analog sine wave signal.

Various ac impedance measuring circuits of the present invention wherein the sampling circuit includes a digital quantization circuit that converts the sampled signal in analog form to a signal in digital form.

In the various ac impedance measuring circuits of the present invention, the sampling time of the sampling circuit is controlled by adjusting the phase difference between the sine wave signal and the frequency signal, and further, an in-phase sampling or integration result without phase difference, called an in-phase value, and a quadrature phase sampling or integration result with a phase difference of 90 degrees, called a quadrature phase value, are obtained for the signal at the output terminal of the second amplifier; the integration result may be a result of integrating for one period of the frequency signal, or a result of subtracting an integration value for the second half period of the frequency signal from an integration value for the first half period of the frequency signal; the AC conductance values are calculated by dividing the quadrature phase values by the in-phase values and substituting the same into the calculation result of the arctan function.

Various ac impedance measuring circuits according to the present invention adjust the sampling time point of the sampling circuit by adjusting the phase difference between the sine wave signal and the frequency signal, and further obtain sampling or integration results without phase difference and with a phase difference of 180 degrees for the signal at the output terminal of the second amplifier, subtract the two integration results to obtain an in-phase sampling or integration result, called an in-phase value, and further obtain sampling or integration results with a phase difference of 90 degrees and a phase difference of 270 degrees, subtract the two integration results to obtain a quadrature phase sampling or integration result, called a quadrature phase value; the integration result may be a result of integrating one period of the sine wave signal, or a result of subtracting a second half period integral value of the sine wave signal from a first half period integral value of the sine wave signal; the AC conductance values are calculated by dividing the quadrature phase values by the in-phase values and substituting the same into the calculation result of the arctan function.

The present invention further provides various ac impedance measuring circuits, which further comprise means for calculating an equivalent impedance value of the fourth switch by using a value difference between ac derivative values respectively obtained in the first calibration mode and the second calibration mode, and an impedance value of the calibration impedance; or the proportional gain of the impedance value of the correction impedance or the equivalent impedance value of the fourth switch and the alternating current derivative value is used; or the phase delay of the ac impedance measuring circuit is the ac conductance phase value obtained in the first calibration mode or the ac conductance phase value in the second calibration mode; in addition, the alternating current impedance measurement result of the measurement mode can deduct the equivalent impedance value of the switch connected in series with the impedance to be measured, and calculate the accurate impedance value of the impedance to be measured.

In the various ac impedance measuring circuits of the present invention, the equivalent impedance of the fourth switch is calculated by dividing the ac conductance value of the second calibration mode by the ac conductance value of the first calibration mode, subtracting 1 and then multiplying by the resistance value of the calibration impedance, or the gain of the ac impedance measuring circuit is the result of the conductance measurement of the second calibration mode multiplied by the resistance value of the calibration impedance; in addition, for the configuration in which the sampling circuit is connected to the negative input terminal and the output terminal of the second amplifier, the equivalent impedance of the fourth switch is calculated by dividing the ac derivative value of the second correction mode minus the ac derivative value of the first correction mode by multiplying the ac derivative value of the first correction mode by 2 minus the ac derivative value of the second correction mode by the resistance value of the correction impedance, or by multiplying the gain of the ac impedance measurement circuit by the conductance measurement result of the second correction mode by multiplying the resistance value of the correction impedance plus the equivalent impedance value of the fourth switch.

According to the alternating current impedance measuring circuit, if the equivalent impedance value of the third switch is matched with the equivalent impedance value of the third switch, the correction effect is more accurate.

Drawings

FIG. 1 shows the structure of an AC impedance measurement circuit.

Fig. 2 shows a switch conduction mode of a first calibration mode of the ac impedance measuring circuit of fig. 1.

Fig. 3 shows a switch conduction mode of a second calibration mode of the ac impedance measuring circuit of fig. 1.

Fig. 4 shows a switch conduction mode of a measurement mode of the ac impedance measurement circuit of fig. 1.

Fig. 5A-5D are schematic diagrams illustrating the ac impedance measuring circuit adjusting the sampling time point of the sampling circuit by controlling the frequency signal.

FIG. 6 shows a second AC impedance measuring circuit.

FIG. 7 shows the structure of a third AC impedance measuring circuit.

FIG. 8 shows the structure of a fourth AC impedance measuring circuit.

Fig. 9 shows the structure of a fifth ac impedance measuring circuit.

Description of reference numerals: 10-a waveform generation circuit; 101-a digital string wave generator; 102-a digital-to-analog converter; 20-a first amplifier; 30-a switching circuit; SW 1-first switch; SW 2-second switch; SW 3-third switch; SW 4-fourth switch; 401 — impedance to be measured; 402-correcting impedance; 403-reference impedance; 50-a second amplifier; 60-analog-to-digital converters; 601-a sampling circuit; 602-digital quantization circuit.

Detailed Description

The present invention will be more specifically described with reference to the following examples. Please note that the following description of the embodiments of the present invention is for illustrative purposes only; it is not intended to be exhaustive or to limit the invention to the precise form disclosed.

Referring to fig. 1, a first embodiment of the present invention shows an ac impedance measuring circuit, which includes a waveform generating circuit 10, including a sine wave signal output terminal for outputting a sine wave signal, and a frequency signal output terminal for outputting a frequency signal; a first amplifier 20, a positive input terminal of the first amplifier 20 being connected to the sine wave signal output terminal; a switch circuit 30 connected to the negative input terminal of the first amplifier 20 and the output terminal of the first amplifier 20; a to-be-tested impedance 401 and a calibration impedance 402 connected to the switch circuit 30; a second amplifier 50, a positive input terminal of the second amplifier 50 is connected to a reference voltage, and a negative input terminal of the second amplifier 50 is connected to the impedance to be measured 401 and the correction impedance 402; a reference impedance 403 connected between the negative input terminal of the second amplifier 50 and the output terminal of the second amplifier 50; and an analog-to-digital converter 60 connected to the frequency signal output terminal of the waveform generating circuit 10 and the two terminals of the reference impedance 403.

In the aforementioned ac impedance measuring circuit, the switch circuit 30 includes: a first switch SW1 connected between the negative input terminal of the first amplifier 20 and the correction impedance 402; a second switch SW2 connected between the negative input terminal of the first amplifier 20 and the output terminal of the first amplifier 20; a third switch SW3 connected between the output terminal of the first amplifier 20 and the impedance 401; and a fourth switch SW4 connected between the output of the first amplifier 20 and the calibration impedance 402. By controlling the switches (SW 1-SW 4), the impedance to be measured 401 or the calibration impedance 402 is connected between the first amplifier 20 and the second amplifier 50, or the calibration impedance is connected with a switch (SW 1-SW 4).

In the ac impedance measuring circuit, the switch circuit 30 includes a first calibration mode for turning on the second switch SW2 and the fourth switch SW 4; a second calibration mode for turning on the first switch SW1 and the fourth switch SW 4; and a measurement mode for turning on the second switch SW2 and the third switch SW 3.

In the first calibration mode, referring to fig. 2, the second switch SW2 and the fourth switch SW4 are turned on, so that the negative input terminal of the first amplifier 20 is connected to the output terminal of the first amplifier 20 through the second switch SW2, and the calibration impedance 402 is connected to the output terminal of the first amplifier 20 through the fourth switch SW 4. In the first calibration mode, the output terminal of the first amplifier 20 and the negative input terminal of the second amplifier 50 are connected to the fourth switch SW4 and the calibration impedance 402, so that the ac impedance measuring circuit measures the impedance value of the equivalent impedance of the fourth switch SW4 and the series connection of the calibration impedance 402.

In the second calibration mode, referring to fig. 3, the first switch SW1 and the fourth switch SW4 are turned on, so that the negative input terminal of the first amplifier 20 is connected to the output terminal of the first amplifier 20 through the first switch SW1 and the fourth switch SW4, and the calibration impedance 402 is connected to the output terminal of the first amplifier 20 through the fourth switch SW 4. In the second calibration mode, the first switch SW1 and the fourth switch SW4 can be regarded as the switch circuits of the first amplifier 20, so that the ac impedance measuring circuit measures the impedance value of the calibration impedance 402.

In the measurement mode, referring to fig. 4, the second switch SW2 and the third switch SW3 are turned on, so that the negative input terminal of the first amplifier 20 is connected to the output terminal of the first amplifier 20 through the second switch SW2, and the impedance 401 to be measured is connected to the output terminal of the first amplifier 20 through the third switch SW 3. In the measurement mode, the ac impedance measurement circuit measures an impedance value of the series connection of the equivalent impedance of the third switch SW3 and the impedance 401 to be measured.

The ac impedance measuring circuit controls the sampling time of the sampling circuit 601 of the adc 60 by adjusting the phase difference between the sine wave signal and the frequency signal of the waveform generating circuit 10, obtains an in-phase sampling or integration result without phase difference, which is called an in-phase value, and obtains a quadrature-phase sampling or integration result with a phase difference of 90 degrees, which is called a quadrature-phase value, for the signal at the output terminal of the second amplifier 50. After the sine wave signal generated by the waveform generating circuit 10 passes through the first amplifier 20, the switch circuit 30, the impedance 401 to be measured or the correcting impedance 402, the reference impedance 403 and the second amplifier 20, the sampling circuit 601 receives a signal with a phase delay of θ, if there is no phase difference between the sine wave signal and the frequency signal output by the waveform generating circuit 10, the sampling time of the sampling circuit 601 is synchronized with the sine wave signal and has a phase delay of θ with the signal at the output terminal of the second amplifier 50. The sampling circuit 601 can sample or integrate a complete cycle of the sine wave signal at the time point, as shown in fig. 5A, and obtain the in-phase sampling or integration result without phase difference, which is referred to herein as ADC 1.

In the ac impedance measuring circuit, if the sine wave signal and the frequency signal of the waveform generating circuit 10 have a phase difference of 90 degrees, the sampling circuit 601 is delayed by a phase of 90 degrees from the sine wave signal at the sampling time point, and has a phase delay of Θ +90 degrees from the signal at the output terminal of the second amplifier 50. The sampling circuit 601 can sample or integrate one complete cycle of the sine wave signal at that point in time, as shown in fig. 5B, and the quadrature phase sampling or integration results obtained at 90 degrees out of phase are referred to herein as ADC 2.

In the ac impedance measuring circuit, when calculating the sampling or integration result of the same phase, in addition, the phase difference between the sine wave signal and the frequency signal outputted by the waveform generating circuit 10 can be 180 degrees, so that the sampling circuit 601 is delayed by 180 degrees in time sequence compared with the sine wave signal, and has a phase delay of Θ +180 degrees with respect to the signal at the output terminal of the second amplifier 50. Let the sampling circuit 601 instantaneously sample or perform an integration for a complete cycle, as shown in fig. 5C, the result of the sampling or integration is abbreviated as ADC3, and the same phase sampling or integration result can be calculated by the formula of (ADC1-ADC 3)/2); similarly, the phase difference between the sine wave signal and the frequency signal output by the waveform generating circuit 10 can be 270 degrees, and the phase delay between the sine wave signal and the signal at the output end of the second amplifier 50 is Θ +270 degrees. The sampling circuit 601 samples instantaneously or performs integration for a complete period, as shown in fig. 5D, the result of the sampling or integration is abbreviated as ADC4, and the quadrature phase sampling or integration result can be calculated by the formula of (ADC2-ADC 4)/2.

If the in-phase sampling or integration result is referred to as "in-phase value (I)" and the quadrature-phase sampling or integration result is referred to as "quadrature-phase value (Q)", the ac derivative value (Y) is calculated as a half power of the sum of squares of the in-phase value I and the quadrature-phase value Q, and the equation "Y ═ is (I ═ I)"2+Q2)0.5"to be specific; the phase value (Θ) of the ac conductance is calculated by dividing the quadrature phase value by the in-phase value, and substituting the result of the inverse tangent function into the quadrature phase value, where the formula is "Θ ═ tan-1(Q/I)」。

The integration result may be a result of integrating one cycle of the sine wave signal, or a result of subtracting an integration value for the first half cycle of the sine wave signal from an integration value for the second half cycle of the sine wave signal.

In the ac impedance measuring circuit, the calculation results of the first calibration mode are named Y1 and Θ 1, which correspond to the equivalent conductance value and conductance phase value of the calibration impedance 402 and the equivalent impedance (Rs for short) of the fourth switch SW4 connected in parallel; the calculation results of the second correction mode are named Y2 and Θ 2, corresponding to the equivalent conductance values and conductance phase values of the correction impedance 402. In this embodiment, assuming that the impedance value of the calibration impedance 402 is 5.1K ohms, the equation of the equivalent impedance Rs of the fourth switch SW4 is estimated to be "Rs is 5.1K × ((Y2/Y1) -1"). And the gain G has a formula of "G ═ 5.1K × Y2".

In the ac impedance measuring circuit, the calculation results of the measurement modes are named as Y3 and Θ 3, and correspond to the equivalent conductance value and the conductance phase value of the impedance 401 to be measured and the equivalent impedance (Rs for short) of the third switch SW3 connected in parallel. Under the condition that the equivalent impedance values of the third switch SW3 and the fourth switch SW4 are matched, the impedance value of the impedance to be measured 401 can be accurately calculated as long as the impedance value of Rs is deducted from the measurement result of the measurement mode. Therefore, the equivalent impedance of the impedance to be measured has an in-phase value "I3 ═ Y3 × cos (Θ 3- Θ 1) -Rs", where cos () function represents the cosine function in the trigonometric function, and a quadrature-phase value "Q3 ═ Y3 × sin (Θ 3)", where sin () function represents the sine function in the trigonometric function; the equation of the equivalent series resistance of the impedance 401 to be measured is "R3 ═ I3 ═ Y3 × cos (Θ 3) -Rs", and the equation of the equivalent series capacitance of the impedance 401 to be measured is "C3 ═ 1/(2 × pi × fs × Q3)," where fs represents the frequency of the sine wave signal output by the waveform generating circuit 10.

The ac impedance measuring circuit may also calculate an equivalent parallel resistance value and a capacitance value of the impedance 401 to be measured, and the equivalent conductance value is "Y4 ═ (I3)2+Q32)0.5The equivalent impedance phase value is "Θ 4 ═ tan-1(Q3/I3)," the in-phase value is "I4 ═ Y4 × cos (Θ 4)," and the quadrature phase value is "Q4 ═ Y4 × sin (Θ 4)". The equivalent series capacitance of the impedance 401 to be measured is "C4 ═ Q4/(2 × pi × fs)", and the equivalent series resistance is "R4 ═ 1/I4".

Referring to fig. 6, a second embodiment of the present invention shows another ac impedance measuring circuit, which includes a waveform generating circuit 10 for outputting a sine wave signal and a frequency signal; a first amplifier 20, a positive input terminal of the first amplifier 20 being connected to the sine wave signal output terminal of the waveform generating circuit 10, a negative input terminal of the first amplifier 20 and an output terminal of the first amplifier 20 being connected to a reference impedance 403; the other end of the reference impedance 403 is connected to a switch circuit 30 and the negative input terminal of a second amplifier 50; the positive input of the second amplifier 50 is connected to a reference voltage; a to-be-tested impedance and a calibration impedance connected between the switch circuit 30 and the output terminal of the second amplifier 50; and an analog-to-digital converter 60 for receiving the frequency signal of the waveform generating circuit 10, the voltage at the output terminal of the second amplifier 50 and the voltage at the negative input terminal of the second amplifier 50.

In the aforementioned ac impedance measuring circuit, the switch circuit 30 includes: a first switch SW1 connected between the negative input terminal of the second amplifier 50 and the correction impedance 402; a second switch SW2, one end of which is connected to the negative input terminal of the second amplifier 50, and the other end of which is connected to a third switch SW3 and a fourth switch SW 4; the other end of the third switch SW3 is connected to the impedance 401 to be measured; and the other end of the fourth switch SW4 is connected to the correction impedance 402. By controlling the switches (SW 1-SW 4), the impedance to be measured 401 or the correction impedance 402 is connected between the negative input terminal of the second amplifier 50 and the output terminal of the second amplifier 50, or the correction impedance is connected with a switch (SW 1-SW 4).

In the ac impedance measuring circuit, the switch circuit 30 includes a first calibration mode for turning on the second switch SW2 and the fourth switch SW 4; a second calibration mode for turning on the first switch SW 1; and a measurement mode for turning on the second switch SW2 and the third switch SW 3.

In the first calibration mode, the second switch SW2 and the fourth switch SW4 are turned on, so that the negative input terminal of the second amplifier 50 is connected to the calibration impedance 402 through the second switch SW2 and the fourth switch SW 4. In the first calibration mode, the output terminal of the second amplifier 50 and the negative input terminal of the second amplifier 50 are connected to the second switch SW2, the fourth switch SW4 and the calibration impedance 402, so that the ac impedance measuring circuit measures the equivalent impedance of the second switch SW2 and the fourth switch SW4 and the impedance value of the series connection of the calibration impedance 402.

In the second calibration mode, the first switch SW1 is turned on to connect the negative input terminal of the second amplifier 50 to the calibration impedance 402 via the first switch SW 1. In the second correction mode, the ac impedance measurement circuit measures the equivalent impedance of the first switch SW1 and the impedance value of the series connection of the correction impedances 402.

In the measurement mode, the second switch SW2 and the third switch SW3 are turned on, so that the negative input terminal of the second amplifier 50 is connected to the impedance 401 through the second switch SW2 and the third switch SW 3. In the measurement mode, the ac impedance measurement circuit measures the equivalent impedance of the second switch SW2 and the third switch SW3 and the impedance value of the series connection of the correction impedance 402.

The method for calculating the in-phase and quadrature-phase sampling or integration results of the ac impedance measuring circuit described above is the same as that described in the first embodiment. The manner of calculating the ac derivative value (Y) and the ac derivative phase value (Θ) is also the same as described in the first embodiment.

In the ac impedance measuring circuit, the calculation results of the first calibration mode are named as Y1 and Θ 1, which correspond to the equivalent conductance value and conductance phase value of the calibration impedance 402, the equivalent impedance of the second switch SW2 and the equivalent impedance of the fourth switch SW4 in parallel; the calculation results of the second calibration mode are named Y2 and Θ 2, corresponding to the equivalent conductance value and conductance phase value of the calibration impedance 402 and the equivalent impedance of the first switch SW1 in parallel. Compared with the first embodiment, the first and second calibration modes have a switch (SW1 or SW2) connected in series when measuring the calibration resistor 402, so the calculation formula is adjusted as follows. In the second embodiment, assuming that the impedance value of the calibration impedance 402 is 5.1K ohms, and assuming that the equivalent impedances of the second switch SW2 and the fourth switch SW4 are Rs, the equation is "Rs ═ 5.1K × (Y2-Y1)/(2Y 1-Y2"). And the gain G has a formula of (5.1K + Rs) × Y2.

In the second embodiment, the calculation results Y3 and Θ 3 of the measurement mode correspond to the equivalent conductance values and conductance phase values of the impedance 401 to be measured, the equivalent impedance of the second switch SW2 and the equivalent impedance of the third switch SW3 in parallel. When the equivalent impedance values of the switches SW 1-SW 4 are matched (all simply referred to as Rs), the impedance value of the impedance 401 to be measured can be accurately calculated by deducting 2 × Rs from the measurement result of the measurement mode. Therefore, the equivalent impedance of the impedance to be measured has an in-phase value of "I3 ═ Y3 × cos (Θ 3- Θ 1) -2 × Rs", and a quadrature-phase value of "Q3 ═ Y3 × sin (Θ 3)"; the equation of the equivalent series resistance of the impedance 401 to be measured is "R3 ═ I3 ═ Y3 × cos (Θ 3) — 2 × Rs", and the equation of the equivalent series capacitance of the impedance 401 to be measured is "C3 ═ 1/(2 × pi × fs × Q3").

In the second embodiment, the equivalent parallel resistance and capacitance, and the equivalent series resistance and capacitance of the impedance 401 to be measured can also be calculated, and the mathematical expression is the same as that of the first embodiment.

Referring to fig. 7, a third embodiment of the present invention shows another ac impedance measuring circuit, which includes a waveform generating circuit 10 for outputting a sine wave signal and a frequency signal; a reference impedance 403, one end of which is connected to the sine wave signal output terminal of the waveform generating circuit 10, and the other end of which is connected to a switch circuit 30 and the negative input terminal of a second amplifier 50; the positive input of the second amplifier 50 is connected to a reference voltage; a to-be-tested impedance and a calibration impedance connected between the switch circuit 30 and the output terminal of the second amplifier 50; and an analog-to-digital converter 60 for receiving the frequency signal of the waveform generating circuit 10, the output terminal of the second amplifier 50 and the voltage of an internal terminal of the switch circuit 30.

In the aforementioned ac impedance measuring circuit, the switch circuit 30 includes: a first switch SW1 connected between the negative input terminal of the second amplifier 50 and the correction impedance 402; a second switch SW2, one end of which is connected to the negative input terminal of the second amplifier 50, and the other end of which is connected to a third switch SW3 and a fourth switch SW 4; the other end of the third switch SW3 is connected to the impedance 401 to be measured; and the other end of the fourth switch SW4 is connected to the correction impedance 402. Wherein the adc 60 is connected to a common node of the second switch SW2, the third switch SW3 and the fourth switch SW 4. By controlling the switches (SW 1-SW 4), the impedance to be measured 401 or the correction impedance 402 is connected between the negative input terminal of the second amplifier 50 and the output terminal of the second amplifier 50, or the correction impedance is connected with a switch (SW 1-SW 4).

In the ac impedance measuring circuit, the switch circuit 30 includes a first calibration mode for turning on the second switch SW2 and the fourth switch SW 4; a second calibration mode for turning on the first switch SW 1; and a measurement mode for turning on the second switch SW2 and the third switch SW 3.

In the first calibration mode, the second switch SW2 and the fourth switch SW4 are turned on, so that the negative input terminal of the second amplifier 50 is connected to the calibration impedance 402 through the second switch SW2 and the fourth switch SW 4. In the first correction mode, the alternating-current impedance measurement circuit measures an impedance value of the equivalent impedance of the fourth switch SW4 and the series connection of the correction impedance 402.

In the second calibration mode, the first switch SW1 and the fourth switch SW4 are turned on, so that the negative input terminal of the second amplifier 50 is connected to the calibration impedance 402 through the first switch SW 1. In the second calibration mode, the ac impedance measuring circuit measures the equivalent impedance of the first switch SW1 and the impedance value of the series connection of the calibration impedance 402, and the fourth switch SW4 is only a path for the adc 60 to receive voltage, and its equivalent impedance does not affect the measurement result in theory.

In the measurement mode, the second switch SW2 and the third switch SW3 are turned on, so that the negative input terminal of the second amplifier 50 is connected to the impedance 401 through the second switch SW2 and the third switch SW 3. In the measurement mode, the ac impedance measurement circuit measures an impedance value of the series connection of the equivalent impedance of the third switch SW3 and the correction impedance 402.

In the third embodiment, the same mathematical expressions for calculating the in-phase value (I), the quadrature phase value (Q), the ac derivative value (Y), the ac derivative phase value (Θ), the equivalent impedance Rs, the gain G, and the in-phase value (I3), the quadrature phase value (Q3), the equivalent series resistance (R3), the equivalent series capacitance (C3), the equivalent parallel resistance (R4), and the equivalent parallel capacitance (C4) of the equivalent impedance of the impedance 401 to be measured are the same as those of the first embodiment.

Referring to fig. 8, another ac impedance measuring circuit according to a fourth embodiment of the present invention includes a waveform generating circuit 10 for outputting a sine wave signal and a frequency signal; a reference impedance 403, one end of which is connected to the sine wave signal output end of the waveform generating circuit 10, and the other end of which is connected to the negative input end of a second amplifier 50, and is connected to an impedance to be measured 401 and a calibration impedance 402; the positive input of the second amplifier 50 is connected to a reference voltage; the other ends of the impedance to be measured 401 and the calibration impedance 402 are respectively connected to a switch circuit 30; the switching circuit 30 is also connected to the output of the second amplifier 50; and an analog-to-digital converter 60 for receiving the frequency signal of the waveform generating circuit 10, the voltage at the output terminal of the second amplifier 50 and the voltage at the negative input terminal of the second amplifier 50.

In the aforementioned ac impedance measuring circuit, the switch circuit 30 includes: a first switch SW1 connected between the output of the second amplifier 50 and the calibration impedance 402; a second switch SW2, one end of which is connected to the output terminal of the second amplifier 50, and the other end of which is connected to a third switch SW3 and a fourth switch SW 4; the other end of the third switch SW3 is connected to the impedance 401 to be measured; and the other end of the fourth switch SW4 is connected to the correction impedance 402. The switches (SW 1-SW 4) are controlled so that the impedance to be measured 401 or the correction impedance 402 is connected between the negative input terminal of the second amplifier 50 and the output terminal of the second amplifier 50, or at least one switch (SW 1-SW 4) is further included.

In the ac impedance measuring circuit, the switch circuit 30 includes a first calibration mode for turning on the second switch SW2 and the fourth switch SW 4; a second calibration mode for turning on the first switch SW 1; and a measurement mode for turning on the second switch SW2 and the third switch SW 3.

In the first calibration mode, the second switch SW2 and the fourth switch SW4 are turned on, so that the output terminal of the second amplifier 50 is connected to the calibration impedance 402 through the second switch SW2 and the fourth switch SW 4. In the first correction mode, the ac impedance measurement circuit measures the impedance value of the series connection of the equivalent impedance of the second switch SW2, the equivalent impedance of the fourth switch SW4, and the correction impedance 402.

In the second calibration mode, the first switch SW1 is turned on, so that the output terminal of the second amplifier 50 is connected to the calibration impedance 402 through the first switch SW 1. In the second correction mode, the ac impedance measurement circuit measures the equivalent impedance of the first switch SW1 and the impedance value of the series connection of the correction impedances 402.

In the measurement mode, the second switch SW2 and the third switch SW3 are turned on, so that the output terminal of the second amplifier 50 is connected to the impedance 401 through the second switch SW2 and the third switch SW 3. In the measurement mode, the ac impedance measurement circuit measures the impedance value of the series connection of the equivalent impedance of the second switch SW3, the equivalent impedance of the third switch SW3, and the correction impedance 402.

In the fourth embodiment, the same mathematical expressions for calculating the in-phase value (I), the quadrature phase value (Q), the ac derivative value (Y), the ac derivative phase value (Θ), the equivalent impedance Rs, the gain G, and the in-phase value (I3), the quadrature phase value (Q3), the equivalent series resistance (R3), the equivalent series capacitance (C3), the equivalent parallel resistance (R4), and the equivalent parallel capacitance (C4) of the equivalent impedance of the impedance 401 to be measured are the same as those of the second embodiment.

Referring to fig. 9, a fifth embodiment of the present invention is shown, which shows another ac impedance measuring circuit, the circuit structure is similar to that of the fourth embodiment, and the difference is that the output terminal of the second amplifier 50 is connected to the adc 60 in the fourth embodiment, and in the fifth embodiment, the common connection point of the second switch SW2, the third switch SW3 and the fourth switch SW4 is connected to the adc 60 in the switch circuit 30 instead. The calculation of the in-phase value (I), the quadrature-phase value (Q), etc. is performed in the same manner as the third embodiment.

In the various ac impedance measuring circuits described above, the waveform generating circuit 10 includes a digital waveform synthesizing circuit 101 for outputting a digital sine wave signal; and a digital-to-analog converter 102 for converting the digital sine wave signal into an analog sine wave signal.

In the various ac impedance measuring circuits described above, the adc 60 further includes a digital quantization circuit 602 for converting the analog sampling or integration result into a digital signal for performing the calculation of the above mathematical expressions.

In the above various ac impedance measuring circuits, the voltage value of the reference voltage connected to the negative input terminal of the second amplifier 50 is the same as the average voltage value of the sine wave signal of the waveform generating circuit. For example, if the sine wave signal is an ac signal between 0V and 5V, the voltage value of the reference voltage is 2.5V.

Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种人体阻抗测量方法、设备及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!