Capacitance measuring device and capacitance measuring method based on capacitance measuring device
Through voltage source adjustment and variable range resistance in the capacitance measurement device, the problems of low accuracy and narrow range in the existing capacitance measurement methods are solved, and efficient and accurate capacitance measurement is achieved.
Patent Information
- Application Number
- CN202510381653.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-08-01
AI Technical Summary
The existing capacitance measurement methods have problems such as low accuracy, complex operation and narrow measurement range. In particular, the resistor-capacitor charging and discharging method is susceptible to circuit parasitic parameters and temperature drift, the bridge method is complex in operation and narrow in frequency coverage, and the resonance method is not accurate and needs to be coordinated to resonance.
The capacitance measuring device including a first voltage source, a second voltage source, a first range resistor, a vector voltage acquisition module and a vector current acquisition module is adopted to achieve bridge balance by adjusting the voltage source, combining variable range resistors and real-time monitoring to improve measurement accuracy and efficiency.
Fast bridge balance is achieved, improving the accuracy and efficiency of capacitance measurement, expanding the measurement range, and reducing operational complexity.
Smart Images

Figure CN120403724A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of capacitance measurement, and in particular, to a capacitance measurement device and a capacitance measurement method based on the capacitance measurement device. Background Art
[0002] Capacitance measurement technology, as an important branch in the field of electronic detection, is widely used in industrial control, medical equipment, consumer electronics, environmental monitoring and other fields to detect parameters such as dielectric material properties, displacement changes, and liquid level heights. Traditional capacitance measurement methods mainly include the resistor-capacitor charge and discharge method, the bridge method, and the resonance method, etc.
[0003] The resistor-capacitor charge and discharge method indirectly calculates the capacitance value by measuring the time constant of capacitor charging and discharging, but it is easily affected by circuit parasitic parameters and temperature drift, resulting in limited accuracy. The bridge method is a comparative measurement method. By adjusting the ratio between the standard impedance and the measured impedance in the bridge to make the bridge reach a balanced state, the value of the measured impedance can be measured. However, this method requires manual balancing, the operation is relatively complex, it is difficult to achieve fast dynamic measurement, and the frequency coverage range of a single instrument is narrow. The resonance method is a measurement method established based on the resonance characteristics of a tuned circuit. By measuring parameters such as voltage and current of an element in the resonant state, the impedance value of the element can be calculated. However, the accuracy of impedance measurement by the resonance method is not high, and it needs to be tuned to resonance. Therefore, there are problems of low capacitance measurement accuracy, complex operation, and narrow capacitance measurement range in the above capacitance measurement methods. Summary of the Invention
[0004] In view of the above technical problems, the present disclosure proposes a capacitance measurement device and a capacitance measurement method based on the capacitance measurement device.
[0005] According to one aspect of the embodiments of the present disclosure, a capacitance measurement device is provided. The capacitance measurement device includes a first voltage source, a second voltage source, a first range resistor, a vector voltage acquisition module, and a vector current acquisition module; the first voltage source, the capacitance to be measured, and the vector current acquisition module are connected in series to form a first loop; the second voltage source, the first range resistor, and the vector current acquisition module are connected in series to form a second loop; the first range resistor is a range resistor with a variable resistance value; the vector voltage acquisition module is connected in parallel across the two ends of the capacitance to be measured.
[0006] Optionally, the vector current acquisition module has a first end and a second end, the first end is grounded; both the capacitance to be measured and the first range resistor are connected to the second end.
[0007] According to another aspect of the embodiments of the present disclosure, a capacitance measurement method based on the capacitance measurement device is provided. The method is applied to the above capacitance measurement device, and the method includes:
[0008] Obtain the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistance, and the current branch current data output by the vector current acquisition module, and based on the vector voltage acquisition module, obtain the current vector voltage data corresponding to the capacitor to be measured;
[0009] Based on the current vector voltage data, adjust the output amplitude and output phase of the second voltage source so that the current branch current data is zero;
[0010] When the current branch current data is zero, obtain the second output voltage data corresponding to the second voltage source;
[0011] Based on the second output voltage data, the range resistance data, and the first output voltage data, perform capacitance value analysis on the capacitor to be measured to obtain the target capacitor data corresponding to the capacitor to be measured.
[0012] Optionally, the method further includes:
[0013] Obtain the first current change data corresponding to the current branch current data; the first current change data is used to indicate the change degree of the current branch current data;
[0014] The adjusting the output amplitude and output phase of the second voltage source based on the current vector voltage data so that the current branch current data is zero includes:
[0015] Based on the first current change data and the current vector voltage data, perform single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source until the current branch current data is zero.
[0016] Optionally, the performing single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source based on the first current change data and the current vector voltage data until the current branch current data is zero includes:
[0017] Determine the current adjustment dimension from the output amplitude and output phase of the second voltage source;
[0018] Based on the current vector voltage data, adjust the output of the current adjustment dimension until the current change degree indicated by the first current change data is less than a preset change degree;
[0019] When the degree of current change indicated by the first current change data is less than a preset change degree and the current branch current data is not zero, update the current adjustment dimension and return to the adjustment step of adjusting the output of the current adjustment dimension based on the current vector voltage data until the degree of current change indicated by the first current change data is less than the preset change degree, until the current branch current data is zero.
[0020] Optionally, the obtaining the target capacitance data corresponding to the capacitance to be measured by performing capacitance value analysis on the capacitance to be measured based on the second output voltage data, the range resistor data, and the first output voltage data includes:
[0021] Determining the range branch current data corresponding to the first range resistor based on the second output voltage data and the range resistor data;
[0022] Determining the target capacitance data based on the first output voltage data and the range branch current data.
[0023] Optionally, the determining the target capacitance data based on the first output voltage data and the range branch current data includes:
[0024] Determining the real part data of the target impedance and the imaginary part data of the target impedance based on the first output voltage data and the range branch current data;
[0025] Taking the difference between the real part data of the target impedance and the preset output resistance data corresponding to the first voltage source as the real part capacitance data corresponding to the target capacitance;
[0026] Determining the target capacitance data based on the real part capacitance data and the imaginary part data of the target impedance.
[0027] Optionally, the method further includes:
[0028] When the current branch current data is not zero during the adjustment process, performing an adjustment process on the first voltage source, switching the first range resistor to a second range resistor, and returning to the step of obtaining the first output voltage data corresponding to the first voltage source, the range resistor data corresponding to the first range resistor, and the current branch current data output by the vector current acquisition module, and obtaining the current vector voltage data corresponding to the capacitance to be measured based on the vector voltage acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
[0029] Optionally, the method further includes:
[0030] Obtain the second current change data during the adjustment process of the second voltage source; the second current change data is used to indicate the change range of the current branch current data during the adjustment process of the second voltage source;
[0031] The switching of the first range resistor to the second range resistor includes:
[0032] Based on the second current change data, switch the first range resistor to the second range resistor.
[0033] Optionally, the second range resistor includes a third range resistor and a fourth range resistor; the switching of the first range resistor to the second range resistor based on the second current change data includes:
[0034] When the second current change data is less than or equal to the first preset change data, switch the first range resistor to the third range resistor; the resistance data of the first range resistor is greater than the resistance data of the third range resistor;
[0035] Or,
[0036] When the second current change data is greater than or equal to the second preset change data, switch the first range resistor to the fourth range resistor; the second preset change data is greater than the first preset change data, and the resistance data of the first range resistor is less than the resistance data of the fourth range resistor.
[0037] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, including: a processor; a memory for storing a computer program; wherein, the processor is configured to execute the computer program to implement the above capacitance measurement method based on a capacitance measurement device.
[0038] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When the computer program in the storage medium is executed by a processor of an electronic device, the electronic device can execute the above capacitance measurement method based on a capacitance measurement device.
[0039] According to another aspect of the embodiments of the present disclosure, a computer program product including a computer program is provided. When it runs on a computer, the computer is enabled to execute the above capacitance measurement method based on a capacitance measurement device.
[0040] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0041] The capacitance measurement device includes a first voltage source, a second voltage source, a first range resistor, a vector voltage acquisition module, and a vector current acquisition module; the first voltage source, the capacitance to be measured, and the vector current acquisition module are connected in series to form a first loop, and the second voltage source, the first range resistor, and the vector current acquisition module form a second loop. On the basis that the dual sources can support adjustment, the bridge balance can be quickly achieved by adjusting the voltage source, and then the capacitance measurement can be conveniently realized on the basis of the bridge balance, thereby improving the measurement accuracy. The capacitance measurement range can be expanded by setting the first range resistor as a variable-resistance range resistor. In addition, by connecting the vector voltage acquisition module in parallel across the two ends of the capacitance to be measured, real-time monitoring during the adjustment process can be achieved, the balance efficiency can be improved, and then the capacitance measurement efficiency can be increased, and the complexity of the measurement operation can be reduced.
[0042] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings
[0043] The drawings herein are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation to the present disclosure.
[0044] Figure 1 is a block diagram of a capacitance measurement device shown according to an exemplary embodiment;
[0045] Figure 2 is a flowchart of a capacitance measurement method based on a capacitance measurement device shown according to an exemplary embodiment;
[0046] Figure 3 is a schematic diagram of range resistor switching shown according to an exemplary embodiment;
[0047] Figure 4 is a block diagram of a capacitance measurement device based on a capacitance measurement device shown according to an exemplary embodiment;
[0048] Figure 5 is a block diagram of an electronic device for realizing the measurement of the capacitance to be measured shown according to an exemplary embodiment;
[0049] Figure 6 is a block diagram of another electronic device for realizing the measurement of the capacitance to be measured shown according to an exemplary embodiment. Detailed Description of the Embodiments
[0050] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. Identical reference numerals in the drawings denote elements having the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0051] As used herein, the term "exemplary" means "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
[0052] In addition, for a better description of the present application, numerous specific details are given in the following detailed implementation. Those skilled in the art should understand that the present application can be implemented without some specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the present application.
[0053] Please refer to Figure 1 , Figure 1 which is a block diagram of a capacitance measurement device shown according to an exemplary embodiment. Specifically, as Figure 1 shown, the capacitance measurement device may include a first voltage source Osc1, a second voltage source Osc2, a first range resistor Zr, a vector voltage acquisition module, and a vector current acquisition module; the first voltage source, the capacitance under test C, and the vector current acquisition module are connected in series to form a first loop; the second voltage source, the first range resistor, and the vector current acquisition module are connected in series to form a second loop. Among them, the first voltage source may be a power supply with adjustable output voltage. The second voltage source may be another power supply with adjustable output voltage. The first range resistor may be a range resistor with variable resistance value. The vector current acquisition module may be used to acquire the vector current Ip (i.e., the current data of the current branch). The capacitance under test may refer to the capacitance whose value needs to be measured currently. Specifically, the variable resistance value of the first range resistor may include 10Ω, 100Ω, 1kΩ, 10kΩ, or 100kΩ, etc. The vector voltage acquisition module may be used to acquire the vector voltage on the capacitance under test. The vector voltage acquisition module may be connected in parallel across the two ends of the capacitance under test.
[0054] In a specific embodiment, the vector current acquisition module may be provided with a first end and a second end. Among them, the first end and the second end may refer to the two current acquisition terminals of the vector current acquisition module. Specifically, the first end is grounded; the capacitance under test and the first range resistor are both connected to the second end of the vector current acquisition module. Further, one end of the first voltage source, one end of the second voltage source, and the first end of the above current acquisition module are grounded. It can be understood that the current to be acquired flows in from the second end, and the vector current acquisition module can acquire the current of this branch and output the acquired current data through the data output end of the vector current acquisition module.
[0055] In a specific embodiment, one end of the capacitor to be measured can be connected to the second end of the above vector current acquisition module, the other end of the capacitor to be measured can be connected to the first voltage output end of the first voltage source, and the second voltage output end of the first voltage source can be connected to the first end of the vector current acquisition module; one end of the first range resistor can be connected to the second end of the vector current acquisition module, the other end of the first range resistor can be connected to the first voltage output end of the second voltage source, and the second voltage output end of the second voltage source can be connected to the first end of the vector current acquisition module; the vector voltage acquisition module is connected in parallel with the capacitor to be measured. Further, the first end of the vector current acquisition module is grounded.
[0056] In a specific embodiment, the capacitance measurement device may further include a capacitance analysis module. Wherein, the capacitance analysis module can be used to analyze the capacitance value of the capacitor to be measured based on the second output voltage data, the range resistor data, and the first output voltage data when the current branch current data is zero, so as to obtain the target capacitance data corresponding to the capacitor to be measured.
[0057] In the above embodiment, the capacitance measurement device includes a first voltage source, a second voltage source, a first range resistor, a vector voltage acquisition module, and a vector current acquisition module; the first voltage source, the capacitor to be measured, and the vector current acquisition module are connected in series to form a first loop, and the second voltage source, the first range resistor, and the vector current acquisition module form a second loop. On the basis that the dual sources can support adjustment, the bridge balance can be quickly achieved by adjusting the voltage source, and then the capacitance measurement can be realized on the basis of the bridge balance, thereby improving the measurement accuracy. The capacitance measurement range can be expanded by setting the first range resistor as a variable resistance range resistor. In addition, by connecting the vector voltage acquisition module in parallel at both ends of the capacitor to be measured, real-time monitoring during the adjustment process can be realized, the balance efficiency can be improved, and then the capacitance measurement efficiency can be improved, and the measurement operation complexity can be reduced.
[0058] Specifically, Figure 2 is a flowchart of a capacitance measurement method based on a capacitance measurement device shown according to an exemplary embodiment. As Figure 2 shown, the capacitance measurement method based on the capacitance measurement device can be applied to the above capacitance measurement device, and specifically may include the following steps:
[0059] S201: Obtain the first output voltage data corresponding to the first voltage source, the range resistor data corresponding to the first range resistor, and the current branch current data output by the vector current acquisition module, and obtain the current vector voltage data corresponding to the capacitor to be measured based on the vector voltage acquisition module.
[0060] In a specific embodiment, the first output voltage data may characterize the voltage currently output by the first voltage source. The current output voltage of the first voltage source may be displayed through the voltage output display area of the first voltage source. Correspondingly, the first output voltage data may be obtained by reading. <> <>
[0061] In a specific embodiment, the first voltage source may include a data output terminal, which may be used to output the first output voltage data corresponding to the first voltage source. Correspondingly, the data output terminal of the first voltage source may be electrically connected to the controller. Specifically, the controller may receive the first output voltage data through the data output terminal of the first voltage source. <> <>
[0062] In a specific embodiment, the first range resistor may refer to the range resistor before switching. The range resistor data may characterize the resistance value of the first range resistor. Specifically, the resistance data of each range resistor may be preset. The preset resistance data corresponding to the currently connected range resistor may be obtained, and correspondingly, the preset resistance data may be used as the range resistor data. <> <>
[0063] In a specific embodiment, the current branch current data may refer to the current flowing through the branch where the vector current acquisition module is located currently. Specifically, the current branch current data may be collected based on the vector current acquisition module, and the current data collected by the vector current acquisition module may be transmitted to the controller through the data output terminal of the vector current acquisition module. <> <>
[0064] In a specific embodiment, the current vector voltage data may characterize the voltage across the currently measured capacitor. Specifically, the current vector voltage data may be collected based on the vector voltage acquisition module, and the current vector voltage data may be transmitted to the controller through the data output terminal of the vector voltage acquisition module. <> <>
[0065] S203: Based on the current vector voltage data, adjust the output amplitude and output phase of the second voltage source to make the current branch current data zero. <> <>
[0066] In a specific embodiment, the method may further include: <> <>
[0067] Obtain the first current change data corresponding to the current branch current data; <> <>
[0068] Correspondingly, the above-mentioned adjusting the output amplitude and output phase of the second voltage source based on the current vector voltage data to make the current branch current data zero may include: <> <>
[0069] Based on the first current change data and the current vector voltage data, perform single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source until the current branch current data is zero.
[0070] In a specific embodiment, the first current change data can be used to indicate the change degree of the current branch current data. It can be understood that the larger the first current change data, the greater the change degree of the current within the same time interval; correspondingly, the smaller the first current change data, the smaller the change degree of the current within the same time interval.
[0071] In a specific embodiment, the historical branch current data corresponding to the historical moment can be obtained; the first current change data can be determined based on the historical branch current data and the current branch current data. Here, the historical moment can refer to the moment before the current moment. The historical branch current data can refer to the branch current data collected by the vector current acquisition module at the historical moment. Specifically, the current branch current data at each moment can be stored during the adjustment process; the historical moment can be determined based on the current moment; correspondingly, the branch current data corresponding to the historical moment can be obtained as the historical branch current data; the absolute value of the difference between the above historical branch current data and the current branch current data can be used as the first current change data.
[0072] In a specific embodiment, the above-mentioned single-degree-of-freedom alternating adjustment of the output amplitude and output phase of the second voltage source based on the first current change data and the current vector voltage data until the current branch current data is zero can include:
[0073] Determine the current adjustment dimension from the output amplitude and output phase of the second voltage source;
[0074] Based on the current vector voltage data, adjust the output of the current adjustment dimension until the current change degree indicated by the first current change data is less than the preset change degree;
[0075] In the case where the current change degree indicated by the first current change data is less than the preset change degree and the current branch current data is not zero, update the current adjustment dimension and return to the adjustment step of adjusting the output of the current adjustment dimension based on the current vector voltage data until the current change degree indicated by the first current change data is less than the preset change degree until the current branch current data is zero.
[0076] In a specific embodiment, the current adjustment dimension can refer to the dimension that needs to be adjusted for the second voltage source currently. Specifically, the current adjustment dimension can be the output amplitude or the output phase. Further, the initial current adjustment dimension can be any one of the output amplitude and the output phase.
[0077] In a specific embodiment, when the current adjustment dimension is empty, it can be determined that this is the first time to determine the current adjustment dimension. Correspondingly, any one of the output amplitude and output phase of the second voltage source can be used as the current adjustment dimension.
[0078] In a specific embodiment, when the current adjustment dimension is not empty, the dimension other than the current adjustment dimension among the output amplitude and output phase can be used as the updated current adjustment dimension. Exemplarily, assuming that the current adjustment dimension used in the previous adjustment process is the output amplitude, when the current change degree indicated by the first current change data is less than the preset change degree and the current branch current data is not zero, the output phase can be used as the updated current adjustment dimension.
[0079] In a specific embodiment, the third preset change data corresponding to the preset change degree can be defined according to actual application needs, and the present disclosure does not make a limitation. Specifically, when the first current change data is less than or equal to the third preset change data, it can be determined that the current change degree indicated by the first current change data is less than the preset change degree, that is, the current adjustment process has little influence on the change of the current branch current data; when the first current change data is greater than the third preset change data, it can be determined that the current change degree indicated by the first current change data is greater than the preset change degree, that is, the current branch current data will change significantly with the adjustment of the second voltage source.
[0080] In a specific embodiment, during the process of adjusting the output of the current adjustment dimension based on the current vector voltage data, and before the current change degree indicated by the first current change data is less than the preset change degree, if the current branch current data is zero, it can be determined that the current bridge is balanced, and the above single-degree-of-freedom alternating adjustment can be stopped to perform capacitance value analysis on the capacitance to be measured based on the current data. It can be understood that when the current change degree indicated by the first current change data is greater than or equal to the preset change degree and the current branch current data is not zero, the adjustment can be continued based on the current adjustment dimension.
[0081] In a specific embodiment, the target output phase data can be determined based on the current vector voltage data; when the current adjustment dimension is the output phase, the output phase of the second voltage source can be adjusted based on the above target output phase data until the current change degree indicated by the first current change data is less than the preset change degree. Specifically, when the current adjustment dimension is the output phase, the target output phase data can be used as the adjustment target, and the adjustment is made towards the above adjustment target while synchronously detecting the first current change data until it is detected that the current change degree indicated by the first current change data is less than the preset change degree.
[0082] In a specific embodiment, when the current adjustment dimension is the output amplitude, the output of the current adjustment dimension can be adjusted until the degree of current change indicated by the first current change data is less than the preset change degree.
[0083] In the above embodiment, by combining the first current change data and the current vector voltage data, and alternately adjusting the output amplitude and output phase of the second voltage source with a single degree of freedom until the current branch current data is zero, the operation efficiency can be improved to achieve rapid balance of the bridge, thereby improving the capacitance measurement efficiency.
[0084] In a specific embodiment, the adjustment process for the second voltage source may include: based on a preset adjustment direction, performing an output adjustment process on the second voltage source, and obtaining third current change data corresponding to the current branch current data; based on the third current change data and the preset adjustment direction, determining a target adjustment direction; based on the target adjustment direction, performing an output adjustment process on the second voltage source. Among them, the third current change data can be used to indicate the change trend of the current branch current data during the adjustment process of the second voltage source. Specifically, the historical branch current data corresponding to the historical moment can be obtained; the third current change data can be determined based on the historical branch current data and the current branch current data. Further, the absolute value of the current branch current data can be subtracted from the absolute value of the historical branch current data to obtain the third current change data.
[0085] In a specific embodiment, the preset adjustment direction can be used to indicate whether to increase or decrease the output voltage of the second voltage source. The preset adjustment direction can include a first adjustment direction or a second adjustment direction. The first adjustment direction can be used to indicate increasing the output voltage of the second voltage source. The second adjustment direction can be used to indicate decreasing the output voltage of the second voltage source.
[0086] In a specific embodiment, the target adjustment direction can be a direction that can make the current branch current data change towards zero.
[0087] In a specific embodiment, when the third current change data is less than zero, it can be determined that the change trend of the current branch current is a change trend towards zero, and the current preset adjustment direction can be used as the target adjustment direction.
[0088] In a specific embodiment, when the third current change data is greater than zero, it can be determined that the change trend of the current branch current is a trend away from zero. The preset adjustment direction can be updated, and the updated preset adjustment direction can be used as the target adjustment direction. Specifically, when the third current change data is greater than zero and the preset adjustment direction is the first adjustment direction, the second adjustment direction can be used as the target adjustment direction; when the third current change data is greater than zero and the preset adjustment direction is the second adjustment direction, the first adjustment direction can be used as the target adjustment direction.
[0089] In the above embodiment, by combining the preset adjustment direction, the output of the second voltage source is adjusted, and the third current change data corresponding to the current branch current data is obtained. Based on the third current change data and the preset adjustment direction, the target adjustment direction is determined; based on the target adjustment direction, the output of the second voltage source is adjusted, which can improve the bridge balance efficiency and reduce the operation complexity.
[0090] In a specific embodiment, when all the current branch current data is not zero during the adjustment process, the first voltage source can be adjusted, and the process returns to the step of obtaining the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistance, and the current branch current data output by the vector current acquisition module, and based on the vector voltage acquisition module, obtaining the current vector voltage data corresponding to the capacitor to be measured.
[0091] In a specific embodiment, the above method may further include:
[0092] When all the current branch current data is not zero during the adjustment process, the first voltage source is adjusted, the first range resistance is switched to the second range resistance, and the process returns to the step of obtaining the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistance, and the current branch current data output by the vector current acquisition module, and based on the vector voltage acquisition module, obtaining the current vector voltage data corresponding to the capacitor to be measured.
[0093] In a specific embodiment, the second range resistance may refer to the switched range resistance. The resistance data of the first range resistance may be different from the resistance data of the second range resistance.
[0094] In a specific embodiment, the above method may further include:
[0095] Obtain the second current change data during the adjustment of the second voltage source;
[0096] Correspondingly, the above switching the first range resistance to the second range resistance may include:
[0097] Based on the second current change data, switch the first range resistor to the second range resistor.
[0098] In a specific embodiment, the second current change data can be used to indicate the change range of the current data of the current branch during the adjustment of the second voltage source. It can be understood that the larger the second current change data, the greater the degree of current change within the same time interval; correspondingly, the smaller the second current change data, the smaller the degree of current change within the same time interval.
[0099] In a specific embodiment, the historical branch current data corresponding to the historical moment can be obtained; the second current change data can be determined based on the historical branch current data and the current branch current data. Specifically, the absolute value of the difference between the above-mentioned historical branch current data and the current branch current data can be used as the second current change data.
[0100] In a specific embodiment, the second range resistor can include a third range resistor and a fourth range resistor. Among them, the resistance data of the first range resistor can be greater than the resistance data of the third range resistor; the resistance data of the first range resistor can be less than the resistance data of the fourth range resistor.
[0101] In a specific embodiment, the above-mentioned switching of the first range resistor to the second range resistor based on the second current change data may include:
[0102] When the second current change data is less than or equal to the first preset change data, switch the first range resistor to the third range resistor;
[0103] Or,
[0104] When the second current change data is greater than or equal to the second preset change data, switch the first range resistor to the fourth range resistor.
[0105] In a specific embodiment, the first preset change data and the second preset change data can be set according to actual application needs. Specifically, the second preset change data can be greater than the first preset change data.
[0106] In a specific embodiment, when the second current change data is less than or equal to the first preset change data, it can be determined that the current adjustment process of the second voltmeter has little effect on the change of the current data of the current branch, and the first range resistor in the second loop can be switched to the third range resistor. It can be understood that when the change of the current data of the current branch is not obvious, other range resistors can be switched to adapt to a suitable range resistor to improve the measurement accuracy.
[0107] In a specific embodiment, when the second current change data is greater than or equal to the second preset change data, it can be determined that the current second voltmeter adjustment process has a relatively large change in the current data of the current branch, and the first range resistor in the second loop can be switched to the fourth range resistor. It can be understood that when the current data of the current branch changes greatly, other range resistors can be switched to adapt to a suitable range resistor to improve the measurement accuracy.
[0108] In a specific embodiment, Figure 3 is a schematic diagram of range resistor switching shown according to an exemplary embodiment. Specifically, as Figure 3 shown, multiple range resistors with different resistance values can be set; when selecting the target range resistor from the above multiple range resistors with different resistance values, the switch in series with the target range resistor is closed, and the switches in series with other unselected range resistors can be disconnected to implement connecting the target range resistor into the second loop. Among them, the target range resistor can be any one of the above multiple range resistors with different resistance values.
[0109] In the above embodiment, by obtaining the second current change data during the second voltage source adjustment process and switching the first range resistor to the second range resistor based on the second current change data, the switching of the range resistor suitable for the capacitance to be measured can be realized, the operation complexity can be reduced, the resolution can be improved, and then the state of the bridge balance can be more precisely achieved through adjustment, and the accuracy of capacitance measurement can be improved.
[0110] S205: When the current data of the current branch is zero, obtain the second output voltage data corresponding to the second voltage source.
[0111] In a specific embodiment, the second output voltage data can represent the output voltage of the second voltage source. Specifically, the second output voltage data can include voltage real part data and voltage imaginary part data.
[0112] In a specific embodiment, the second voltage source can include a data output terminal, and the above data output terminal can be used to output the second output voltage data corresponding to the second voltage source. Correspondingly, the data output terminal of the second voltage source is electrically connected to the controller. Specifically, the controller can receive the second output voltage data through the data output terminal of the second voltage source.
[0113] S207: Based on the second output voltage data, the range resistor data, and the first output voltage data, perform capacitance value analysis on the capacitance to be measured to obtain the target capacitance data corresponding to the capacitance to be measured.
[0114] In a specific embodiment, the target capacitance data can represent the capacitance value of the capacitance to be measured.
[0115] In a specific embodiment, the above-mentioned capacitance value analysis of the capacitance to be measured based on the second output voltage data, the range resistance data, and the first output voltage data to obtain the target capacitance data corresponding to the capacitance to be measured may include:
[0116] Based on the second output voltage data and the range resistance data, determine the range branch current data corresponding to the first range resistance;
[0117] Based on the first output voltage data and the range branch current data, determine the target capacitance data.
[0118] In a specific embodiment, the range branch current data corresponding to the first range resistance may refer to the current data of the branch where the first range resistance is located. Specifically, the above-mentioned range branch current data may include the real part data of the current and the imaginary part data of the current.
[0119] In a specific embodiment, the second output voltage data may be divided by the range resistance data to obtain the range branch current data corresponding to the first range resistance.
[0120] In a specific embodiment, the above-mentioned determination of the target capacitance data based on the first output voltage data and the range branch current data may include:
[0121] Based on the first output voltage data and the range branch current data, determine the real part data of the target impedance and the imaginary part data of the target impedance;
[0122] Take the difference between the real part data of the target impedance and the preset output resistance data corresponding to the first voltage source as the real part data of the capacitance corresponding to the target capacitance;
[0123] Based on the real part data of the capacitance and the imaginary part data of the target impedance, determine the target capacitance data.
[0124] In a specific embodiment, the preset output resistance data corresponding to the first voltage source may represent the resistance value of the output resistance of the first voltage source. Specifically, the output resistance data corresponding to the first voltage source may be obtained by performing an output resistance measurement operation on the first voltage source. Further, by performing an output resistance input operation, the controller can obtain the above-mentioned preset output resistance data.
[0125] In a specific embodiment, the target impedance data may be determined based on the first output voltage data and the range branch current data. Correspondingly, the real part data of the target impedance and the imaginary part data of the target impedance may be determined based on the above-mentioned target impedance data. Among them, the real part data of the target impedance may represent the real component in the target impedance data; the imaginary part data of the target impedance may represent the imaginary component in the target impedance data. Specifically, the target impedance data can be obtained through the following formula:
[0126]
[0127] Among them, is the target impedance data; U OSC1 is the first output voltage data; I X ∠θ is the range branch current data; R0 is the preset output resistance data corresponding to the first voltage source.
[0128] Furthermore, the real part data of the target impedance in the target impedance data can be x*cos(-θ)-R0; the imaginary part data of the target impedance in the target impedance data can be x*sin(-θ).
[0129] In a specific embodiment, when the target capacitance data includes a resistance component, the above capacitance real part data and the target impedance imaginary part data can be used as the target capacitance data.
[0130] In a specific embodiment, when the target capacitance data does not include a resistance component, the capacitance value data can be determined based on the target impedance imaginary part data, and correspondingly, the above capacitance value data can be used as the target capacitance data.
[0131] In the above embodiment, by combining the first output voltage data and the range branch current data, the real part data and the imaginary part data of the target impedance are determined, and the difference between the real part data of the target impedance and the preset output resistance data corresponding to the first voltage source is used as the real part data of the capacitance corresponding to the target capacitance. Based on the real part data of the capacitance and the imaginary part data of the target impedance, the target capacitance data is determined, which can avoid the influence of the output resistance in the first voltage source on the accuracy of the capacitance value analysis result, and further improve the capacitance measurement accuracy.
[0132] In the above embodiment, the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistance, and the current branch current data output by the vector current acquisition module are obtained, and based on the vector voltage acquisition module, the current vector voltage data corresponding to the capacitor to be measured is obtained. Based on the current vector voltage data, the output amplitude and output phase of the second voltage source are adjusted so that the current branch current data is zero. The bridge balance can be quickly achieved by adjusting the voltage source. Then, when the current branch current data is zero, the second output voltage data corresponding to the second voltage source is obtained, and the capacitance measurement can be realized on the basis of the bridge balance, thereby improving the capacitance measurement accuracy. Then, based on the second output voltage data, the range resistance data, and the first output voltage data, the capacitance value analysis of the capacitor to be measured is performed to obtain the target capacitance data corresponding to the capacitor to be measured, which can improve the capacitance measurement accuracy, capacitance measurement resolution, reduce the operation complexity in the capacitance measurement process, and expand the capacitance measurement range.
[0133] Figure 4 is a block diagram of a capacitance measurement device based on a capacitance measurement apparatus shown according to an exemplary embodiment. Specifically, as Figure 4 shown, the device may include:
[0134] A first data acquisition module 410, which may be configured to acquire first output voltage data corresponding to a first voltage source, range resistance data corresponding to a first range resistance, and current branch current data output by a vector current acquisition module, and based on a vector voltage acquisition module, acquire current vector voltage data corresponding to a capacitance to be measured;
[0135] An adjustment processing module 420, which may be configured to adjust and process the output amplitude and output phase of a second voltage source based on the current vector voltage data, so that the current branch current data is zero;
[0136] A second data acquisition module 430, which may be configured to acquire second output voltage data corresponding to the second voltage source when the current branch current data is zero;
[0137] A capacitance value analysis module 440, which may be configured to perform capacitance value analysis on the capacitance to be measured based on the second output voltage data, the range resistance data, and the first output voltage data, to obtain target capacitance data corresponding to the capacitance to be measured.
[0138] In a specific embodiment, the above device may further include:
[0139] A third data acquisition module, which may be configured to acquire first current change data corresponding to the current branch current data; the first current change data is used to indicate the change degree of the current branch current data;
[0140] Correspondingly, the above adjustment processing module 420 may include:
[0141] An alternating adjustment module, which may be configured to perform single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source based on the first current change data and the current vector voltage data, until the current branch current data is zero.
[0142] In a specific embodiment, the above alternating adjustment module may include:
[0143] An adjustment dimension determination module, which may be configured to determine a current adjustment dimension from the output amplitude and output phase of the second voltage source;
[0144] A first execution module, which may be configured to adjust the output of the current adjustment dimension based on the current vector voltage data, until the current change degree indicated by the first current change data is less than a preset change degree;
[0145] The second execution module can be used to update the current adjustment dimension when the current change degree indicated by the first current change data is less than the preset change degree and the current branch current data is not zero, and return to the adjustment step of adjusting the output of the current adjustment dimension based on the current vector voltage data until the current change degree indicated by the first current change data is less than the preset change degree, until the current branch current data is zero.
[0146] In a specific embodiment, the capacitance value analysis module 440 described above may include:
[0147] The current data determination module can be used to determine the range branch current data corresponding to the first range resistor based on the second output voltage data and the range resistor data;
[0148] The first capacitance determination module can be used to determine the target capacitance data based on the first output voltage data and the range branch current data.
[0149] In a specific embodiment, the capacitance data determination module described above may include:
[0150] The component data determination module can be used to determine the target impedance real part data and the target impedance imaginary part data based on the first output voltage data and the range branch current data;
[0151] The real part data determination module can be used to take the difference between the target impedance real part data and the preset output resistance data corresponding to the first voltage source as the capacitance real part data corresponding to the target capacitance;
[0152] The second capacitance determination module can be used to determine the target capacitance data based on the capacitance real part data and the target impedance imaginary part data.
[0153] In a specific embodiment, the above device may further include:
[0154] The third execution module can be used to perform an adjustment process on the first voltage source when the current branch current data is not zero during the adjustment process, switch the first range resistor to the second range resistor, and return to the step of obtaining the first output voltage data corresponding to the first voltage source, the range resistor data corresponding to the first range resistor, and the current branch current data output by the vector current acquisition module, and obtaining the current vector voltage data corresponding to the capacitance to be measured based on the vector voltage acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
[0155] In a specific embodiment, the above device may further include:
[0156] The fourth data acquisition module can be used to acquire the second current change data during the adjustment of the second voltage source; the second current change data is used to indicate the change range of the current branch current data during the adjustment of the second voltage source.
[0157] Correspondingly, the above-mentioned third execution module may include:
[0158] The resistance switching module can be used to switch the first range resistor to the second range resistor based on the second current change data.
[0159] In a specific embodiment, the second range resistor includes a third range resistor and a fourth range resistor; the above-mentioned resistance switching module may include a first switching module or a second switching module;
[0160] The first switching module can be used to switch the first range resistor to the third range resistor when the second current change data is less than or equal to the first preset change data; the resistance data of the first range resistor is greater than the resistance data of the third range resistor.
[0161] The second switching module can be used to switch the first range resistor to the fourth range resistor when the second current change data is greater than or equal to the second preset change data; the second preset change data is greater than the first preset change data, and the resistance data of the first range resistor is less than the resistance data of the fourth range resistor.
[0162] Regarding the device in the above embodiments, the specific manners in which each module and unit perform operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0163] Figure 5 is a block diagram of an electronic device for implementing the measurement of a capacitance to be measured according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as Figure 5 shown. The electronic device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a capacitance measurement method based on a capacitance measurement device.
[0164] Figure 6 is a block diagram of another electronic device for implementing the measurement of a capacitance to be measured according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as Figure 6As shown. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, it implements a capacitance measurement method based on a capacitance measurement device. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, a touchpad, or a mouse, etc.
[0165] Those skilled in the art can understand that Figure 5 or Figure 6 the structure shown in is only a block diagram of some structures related to the solution of the present disclosure, and does not constitute a limitation on the electronic device to which the solution of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0166] In an exemplary embodiment, an electronic device is further provided, including: a processor; a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the instructions to implement the capacitance measurement method based on a capacitance measurement device as in the embodiments of the present disclosure.
[0167] In an exemplary embodiment, a computer-readable storage medium is further provided. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the capacitance measurement method based on a capacitance measurement device in the embodiments of the present disclosure.
[0168] In an exemplary embodiment, a computer program product containing instructions is further provided. When it runs on a computer, the computer executes the capacitance measurement method based on a capacitance measurement device in the embodiments of the present disclosure.
[0169] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database, or other media used in the various embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0170] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0171] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A capacitance measuring device, characterized in that, The device includes a first voltage source, a second voltage source, a first range resistor, a vector voltage acquisition module, and a vector current acquisition module; the first voltage source, the capacitor under test, and the vector current acquisition module are connected in series to form a first loop; the second voltage source, the first range resistor, and the vector current acquisition module are connected in series to form a second loop; the first range resistor is a range resistor with a variable resistance value; the vector voltage acquisition module is connected in parallel across the two ends of the capacitor under test.
2. The device according to claim 1, characterized in that The vector current acquisition module is provided with a first end and a second end, and the first end is grounded; the capacitor under test and the first range resistor are both connected to the second end.
3. A capacitance measurement method based on a capacitance measurement device, characterized in that, The method is applied to the capacitance measurement device according to any one of claims 1-2, and the method includes: Obtain the first output voltage data corresponding to the first voltage source, the range resistor data corresponding to the first range resistor, and the current branch current data output by the vector current acquisition module, and based on the vector voltage acquisition module, obtain the current vector voltage data corresponding to the capacitor under test; Based on the current vector voltage data, adjust the output amplitude and output phase of the second voltage source so that the current branch current data is zero; When the current branch current data is zero, obtain the second output voltage data corresponding to the second voltage source; Based on the second output voltage data, the range resistor data, and the first output voltage data, perform capacitance analysis on the capacitor under test to obtain the target capacitance data corresponding to the capacitor under test.
4. The method according to claim 3, wherein The method further includes: Obtain the first current change data corresponding to the current branch current data; the first current change data is used to indicate the change degree of the current branch current data; The adjusting the output amplitude and output phase of the second voltage source based on the current vector voltage data so that the current branch current data is zero includes: Based on the first current change data and the current vector voltage data, perform single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source until the current branch current data is zero.
5. The method according to claim 4, wherein The performing single-degree-of-freedom alternating adjustment on the output amplitude and output phase of the second voltage source based on the first current change data and the current vector voltage data until the current branch current data is zero includes: Determine the current adjustment dimension from the output amplitude and output phase of the second voltage source; Based on the current vector voltage data, adjust the output of the current adjustment dimension until the current change degree indicated by the first current change data is less than a preset change degree; When the current change degree indicated by the first current change data is less than the preset change degree and the current branch current data is not zero, update the current adjustment dimension and return to the adjustment step of adjusting the output of the current adjustment dimension based on the current vector voltage data until the current change degree indicated by the first current change data is less than the preset change degree until the current branch current data is zero.
6. The method according to claim 3, wherein Performing capacitance value analysis on the capacitor under test based on the second output voltage data, the range resistor data, and the first output voltage data to obtain target capacitor data corresponding to the capacitor under test, including: Determining range branch current data corresponding to the first range resistor based on the second output voltage data and the range resistor data; Determining the target capacitor data based on the first output voltage data and the range branch current data.
7. The method according to claim 6, wherein The determining the target capacitor data based on the first output voltage data and the range branch current data includes: Determining target impedance real part data and target impedance imaginary part data based on the first output voltage data and the range branch current data; Taking the difference between the target impedance real part data and the preset output resistance data corresponding to the first voltage source as the capacitor real part data corresponding to the target capacitor; Determining the target capacitor data based on the capacitor real part data and the target impedance imaginary part data.
8. The method according to claim 3, wherein The method further includes: When the current branch current data is not zero during the adjustment process, performing adjustment processing on the first voltage source, switching the first range resistor to a second range resistor, and returning to the step of obtaining the first output voltage data corresponding to the first voltage source, the range resistor data corresponding to the first range resistor, and the current branch current data output by the vector current acquisition module, and obtaining the current vector voltage data corresponding to the capacitor under test based on the vector voltage acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
9. The method according to claim 8, characterized in that, The method further includes: Obtaining second current change data during the adjustment process of the second voltage source; the second current change data is used to indicate the change range of the current branch current data during the adjustment process of the second voltage source; The switching the first range resistor to a second range resistor includes: Switching the first range resistor to the second range resistor based on the second current change data.
10. The method according to claim 9, wherein The second range resistor includes a third range resistor and a fourth range resistor; the switching the first range resistor to a second range resistor based on the second current change data includes: When the second current change data is less than or equal to a first preset change data, switching the first range resistor to the third range resistor; the resistance data of the first range resistor is greater than the resistance data of the third range resistor; Or, When the second current change data is greater than or equal to a second preset change data, switching the first range resistor to the fourth range resistor; the second preset change data is greater than the first preset change data, and the resistance data of the first range resistor is less than the resistance data of the fourth range resistor.
Citation Information
Cited By
Impedance measuring device and method based on weak current measurement
CN121878283A