Resistance measuring device and resistance measuring method based on resistance measuring device
By using a resistance measuring device including a first voltage source, a second voltage source, a first range resistor and a current acquisition module, combined with voltage source adjustment and variable range resistance, the problems of low measurement accuracy and narrow range in the prior art are solved, and high-precision and high-resolution resistance measurement are achieved.
Patent Information
- Application Number
- CN202510381650.3
- 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 impedance measurement methods have problems such as low measurement accuracy, complex operation and narrow measurement range.
Using a resistance measuring device including a first voltage source, a second voltage source, a first range resistor and a current acquisition module, bridge balance is achieved by adjusting the voltage source, and combining a variable range resistor to expand the measurement range, improving measurement accuracy and resolution.
It realizes fast and accurate resistance measurement based on bridge balancing, improves measurement accuracy and resolution, reduces operation complexity, and expands the measurement range.
Smart Images

Figure CN120405224A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of resistance measurement, and particularly to a resistance measurement device and a resistance measurement method based on the resistance measurement device. Background Art
[0002] Impedance measurement technology is an important basic parameter measurement technology in telecommunications. By measuring impedance, the impedance characteristics of a circuit or component can be understood, and then the circuit design can be optimized and the circuit performance can be improved. It has an important position in the telecommunications field and is the basis of circuit analysis, design, and testing. It is of great significance for improving the transmission efficiency, reliability, and stability of communication systems.
[0003] When measuring impedance, there are many measurement methods to choose from. The most suitable method must be selected according to the measurement requirements and conditions, taking into account factors such as frequency coverage range, measurement range, measurement accuracy, and operation convenience. Currently, common impedance measurement methods include the voltmeter method, the bridge method, the resonance method, etc.
[0004] The voltmeter method is the simplest and most direct impedance measurement method. The voltage across the impedance to be measured is measured by a voltmeter, and the current flowing through it is measured by an ammeter. Then, the modulus value of the impedance to be measured can be calculated by the ratio of the voltage to the current. However, this method has low accuracy and is suitable for occasions with low accuracy requirements. The bridge method is a comparative measurement method. By adjusting the ratio between the standard impedance and the impedance to be measured in the bridge to make the bridge reach a balanced state, the value of the impedance to be measured can be measured. However, this method requires manual balancing, the operation is relatively complex, 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 a component in the resonant state, the impedance value of the component can be calculated. However, the accuracy of impedance measurement by the resonance method is not high, and it is necessary to tune to resonance. Therefore, the above methods have problems such as low measurement accuracy, complex operation, and narrow measurement range. Summary of the Invention
[0005] In view of the above existing technical problems, the present disclosure provides a resistance measurement device and a resistance measurement method based on the resistance measurement device.
[0006] According to one aspect of an embodiment of the present disclosure, a resistance measurement device is provided. The device includes a first voltage source, a second voltage source, a first range resistor, and a current acquisition module. The first voltage source, the current acquisition module, and the resistor to be measured are connected in series to form a first loop. The second voltage source, the first range resistor, and the 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.
[0007] Optionally, the current acquisition module is provided with a first end and a second end, and the second end is grounded; both the first range resistor and the resistor under test are connected to the first end.
[0008] According to another aspect of the embodiments of the present disclosure, there is provided a resistance measurement method based on a resistance measurement device. The method is applied to the above resistance measurement device, and the method includes:
[0009] 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 data of the current branch output by the current acquisition module;
[0010] Perform an output adjustment process on the second voltage source to make the current data of the current branch zero;
[0011] When the current data of the current branch is zero, obtain the second output voltage data corresponding to the second voltage source;
[0012] Based on the first output voltage data, the range resistor data, and the second output voltage data, perform a resistance value analysis on the resistor under test to obtain the target resistor data corresponding to the resistor under test.
[0013] Optionally, the method further includes:
[0014] When the current data of the current branch is not zero during the adjustment process, perform an adjustment process on the first voltage source, 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 data of the current branch output by the current acquisition module.
[0015] Optionally, the method further includes:
[0016] When the current data of the current branch is not zero during the adjustment process, perform an adjustment process on the first voltage source, and switch the first range resistor in the second loop to a 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 data of the current branch output by the current acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
[0017] Optionally, the method further includes:
[0018] Obtain the first current change data during the adjustment process of the second voltage source; the first current change data is used to indicate the change range of the current data of the current branch during the adjustment process of the second voltage source;
[0019] Said switching the first range resistor in the second loop to a second range resistor includes:
[0020] Based on the first current change data, switching the first range resistor in the second loop to the second range resistor.
[0021] Optionally, the second range resistor includes a third range resistor and a fourth range resistor; said switching the first range resistor in the second loop to the second range resistor based on the first current change data includes:
[0022] When the first current change data is less than or equal to a first preset change data, switching the first range resistor in the second loop to the third range resistor; the resistance data of the first range resistor is greater than the resistance data of the third range resistor;
[0023] Or,
[0024] When the first current change data is greater than or equal to a second preset change data, switching the first range resistor in the second loop 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.
[0025] Optionally, said performing output adjustment processing on the second voltage source to make the current branch current data zero includes:
[0026] Based on a preset adjustment direction, performing output adjustment processing on the second voltage source and obtaining second current change data corresponding to the current branch current data; the preset adjustment direction is used to indicate increasing or decreasing the output voltage of the second voltage source; the second current change data is used to indicate the change trend of the current branch current data during the adjustment process of the second voltage source;
[0027] Based on the second current change data and the preset adjustment direction, determining a target adjustment direction;
[0028] Based on the target adjustment direction, performing output adjustment processing on the second voltage source until the current branch current data is zero.
[0029] Optionally, said analyzing the resistance value of the resistor under test based on the first output voltage data, the range resistor data, and the second output voltage data to obtain target resistance data corresponding to the resistor under test includes:
[0030] Based on the second output voltage data and the range resistor data, determining range branch current data corresponding to the first range resistor;
[0031] Determine the target resistance data based on the first output voltage data and the range branch current data.
[0032] Optionally, the determining the target resistance data based on the first output voltage data and the range branch current data includes:
[0033] Determine the branch resistance data corresponding to the resistance to be measured based on the first output voltage data and the range branch current data;
[0034] Take the difference between the branch resistance data and the preset output resistance data corresponding to the first voltage source as the target resistance data.
[0035] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing a computer program; wherein, the processor is configured to execute the computer program to implement the above-mentioned resistance measurement method based on a resistance measurement device.
[0036] According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, when the computer program in the storage medium is executed by a processor of an electronic device, enabling the electronic device to execute the above-mentioned resistance measurement method based on a resistance measurement device.
[0037] According to another aspect of the embodiments of the present disclosure, there is provided a computer program product including a computer program, which when running on a computer, enables the computer to execute the above-mentioned resistance measurement method based on a resistance measurement device.
[0038] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0039] The resistance measurement device includes a first voltage source, a second voltage source, a first range resistor, and a current acquisition module. The first voltage source, the current acquisition module, and the resistance to be measured are connected in series to form a first loop, and the second voltage source, the first range resistor, and the current acquisition module are connected in series to 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 resistance measurement can be conveniently realized on the basis of the bridge balance, thereby improving the measurement accuracy. In addition, the first range resistor can be set as a range resistor with a variable resistance value to expand the resistance measurement range, and at the same time, the output impedance in the measurement loop is very low, which can improve the measurement resolution.
[0040] 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
[0041] The accompanying drawings here 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 undue limitation on the present disclosure.
[0042] Figure 1 is a block diagram of a resistance measurement device shown according to an exemplary embodiment;
[0043] Figure 2 is a flowchart of a resistance measurement method based on a resistance measurement device shown according to an exemplary embodiment;
[0044] Figure 3 is a schematic diagram of range resistance switching shown according to an exemplary embodiment;
[0045] Figure 4 is a block diagram of a resistance measurement device based on a resistance measurement device shown according to an exemplary embodiment;
[0046] Figure 5 is a block diagram of an electronic device for realizing the measurement of a resistance to be measured shown according to an exemplary embodiment;
[0047] Figure 6 is a block diagram of another electronic device for realizing the measurement of a resistance to be measured shown according to an exemplary embodiment. Detailed Embodiments
[0048] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same 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 do not have to be drawn to scale unless otherwise specified.
[0049] The special term "exemplary" here means "serving as an example, an embodiment, or illustrative". Any embodiment described as "exemplary" here does not have to be construed as superior to or better than other embodiments.
[0050] In addition, for a better illustration of the present application, numerous specific details are given in the following detailed embodiments. Those skilled in the art should understand that the present application can also 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.
[0051] Please refer to Figure 1 , Figure 1 is a block diagram of a resistance measurement device shown according to an exemplary embodiment. Specifically, as Figure 1As shown, the resistance measurement device may include a first voltage source Osc1, a second voltage source Osc2, a first range resistor Zr, and a current acquisition module. The first voltage source, the current acquisition module, and the resistor under test Zx are connected in series to form a first loop. The second voltage source, the first range resistor, and the 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 current acquisition module may be used to acquire the current data Ip of the current branch. The resistor under test may refer to the resistor whose resistance value needs to be measured currently. Specifically, the variable resistance value of the first range resistor may include 10Ω, 100Ω, 1kΩ, 10kΩ, 100kΩ, etc.
[0052] In a specific embodiment, the 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 current acquisition module. Specifically, the second end is grounded, and both the first range resistor and the resistor under test are connected to the first end. Further, one end of the first voltage source, one end of the second voltage source, and the first end of the current acquisition module are grounded. It can be understood that the current to be acquired may flow in from the first end, and the current acquisition module may acquire the current of this branch and output the acquired current data through the data output terminal of the current acquisition module.
[0053] In a specific embodiment, the first voltage source may include a first voltage output terminal and a second voltage output terminal, and the second voltage source may include a third voltage output terminal and a fourth voltage output terminal. Specifically, one end of the resistor under test may be connected to the first end of the current acquisition module, the other end of the resistor under test may be connected to the first voltage output terminal of the first voltage source, and the second voltage output terminal of the first voltage source may be connected to the second end of the current acquisition module; one end of the first range resistor may be connected to the first end of the current acquisition module, the other end of the first range resistor may be connected to the third voltage output terminal, and the fourth voltage output terminal may be connected to the second end of the current acquisition module. Further, the second end of the current acquisition module may be grounded.
[0054] In a specific embodiment, the resistance measurement device may further include a resistance value analysis module. The resistance value analysis module may be used to, when the current data of the current branch is zero, analyze the resistance value of the resistor under test based on the range resistor data corresponding to the first range resistor, the first output voltage data corresponding to the first voltage source, and the second output voltage data corresponding to the second voltage source, to obtain the target resistance data corresponding to the resistor under test.
[0055] In a specific embodiment, the resistance measurement device may further include an adjustment module or a range resistor switching module. The above adjustment module can be used to adjust the first voltage source or the second voltage source. The above range resistor switching module can be used to switch the range resistor.
[0056] In the above embodiment, the resistance measurement device includes a first voltage source, a second voltage source, a first range resistor, and a current acquisition module. The first voltage source, the current acquisition module, and the resistor under test are connected in series to form a first loop. The second voltage source, the first range resistor, and the current acquisition module are connected in series to 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 resistance measurement can be conveniently achieved on the basis of the bridge balance, thereby improving the measurement accuracy. In addition, by setting the first range resistor as a range resistor with a variable resistance value, the resistance measurement range can be expanded, and at the same time, the output impedance in the measurement loop is very low, which can improve the measurement resolution.
[0057] Specifically, Figure 2 is a flowchart of a resistance measurement method based on a resistance measurement device shown according to an exemplary embodiment. As Figure 2 shown, the resistance measurement method based on the resistance measurement device can be applied to the above resistance measurement device, and specifically may include the following steps:
[0058] 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 data of the current branch output by the current acquisition module.
[0059] In a specific embodiment, the first output voltage data can represent the voltage currently output by the first voltage source. The current output voltage of the first voltage source can be displayed through the voltage output display area of the first voltage source. Correspondingly, the above first output voltage data can be read.
[0060] In a specific embodiment, the first voltage source may include a data output terminal, and the above data output terminal can 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 is electrically connected to the controller. Specifically, the controller can receive the first output voltage data through the data output terminal of the first voltage source.
[0061] In a specific embodiment, the first range resistor may refer to the range resistor before switching (i.e., the initial range resistor). The range resistor data can represent the resistance value of the above first range resistor. Specifically, the resistance data of each range resistor can be preset, and the preset resistance data corresponding to the currently connected range resistor can be obtained. Correspondingly, the above preset resistance data can be used as the range resistor data.
[0062] In a specific embodiment, the current branch current data may refer to the current flowing through the branch where the current acquisition module is located. Specifically, the current branch current data can be obtained based on the above-mentioned current acquisition module, and the current branch current data collected by the current acquisition module can be transmitted to the controller through the data output end of the current acquisition module.
[0063] S203: Perform output adjustment processing on the second voltage source to make the current branch current data zero.
[0064] In a specific embodiment, the above-mentioned performing output adjustment processing on the second voltage source to make the current branch current data zero may include:
[0065] Based on the preset adjustment direction, perform output adjustment processing on the second voltage source, and obtain the second current change data corresponding to the current branch current data;
[0066] Based on the second current change data and the preset adjustment direction, determine the target adjustment direction;
[0067] Based on the target adjustment direction, perform output adjustment processing on the second voltage source until the current branch current data is zero.
[0068] 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.
[0069] In a specific embodiment, the second 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.
[0070] 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. Wherein, 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 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 current branch current data can be subtracted from the absolute value of the historical branch current data to obtain the second current change data.
[0071] In a specific embodiment, the target adjustment direction may refer to the adjustment direction that can achieve adjusting the current branch current data to zero.
[0072] In a specific embodiment, when the second 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.
[0073] In a specific embodiment, when the second current change data is greater than zero, it can be determined that the change trend of the current branch current is a change 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 second 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 second 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.
[0074] In the above embodiment, by combining the preset adjustment direction, performing an output adjustment process on the second voltage source, and obtaining the second current change data corresponding to the current branch current data, the detection of the change trend of the current branch current data can be achieved. Then, based on the second current change data and the preset adjustment direction, the target adjustment direction can be determined, and the determination of the adjustment direction can be realized. Next, based on the target adjustment direction, an output adjustment process is performed on the second voltage source until the current branch current data is zero, and the adjustment of the second voltage source can be realized, thereby improving the bridge balance efficiency and reducing the operation complexity.
[0075] In a specific embodiment, the above method may further include:
[0076] When the current branch current data is not zero during the adjustment process, perform an adjustment process on the first voltage source, and return 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 current acquisition module.
[0077] In a specific embodiment, when the current branch current data is not zero during the adjustment process, the output voltage of the first voltage source can be adjusted, and after the adjustment is completed, return 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 current acquisition module. Specifically, for the specific adjustment of the first voltage source, the output voltage of the first voltage source can be increased, or the output voltage of the first voltage source can be decreased, which is not limited in this disclosure.
[0078] In the above embodiments, when the current branch current data is not zero during the adjustment process, the first voltage source is 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 current acquisition module, which facilitates quickly achieving the bridge balance and thus reducing the operation complexity.
[0079] In a specific embodiment, the above method may further include:
[0080] When the current branch current data is not zero during the adjustment process, the first voltage source is adjusted, the first range resistance in the second loop is switched to a 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 current acquisition module.
[0081] In a specific embodiment, the resistance data of the first range resistance may be different from the resistance data of the second range resistance.
[0082] In a specific embodiment, the above method may further include:
[0083] Obtain the first current change data during the adjustment process of the second voltage source;
[0084] Correspondingly, the above switching the first range resistance in the second loop to a second range resistance may include:
[0085] Based on the first current change data, switch the first range resistance in the second loop to a second range resistance.
[0086] In a specific embodiment, the first current change data may be used to indicate the change range of the current branch current data during the adjustment process of the second voltage source. 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.
[0087] In a specific embodiment, the historical branch current data corresponding to the historical moment may be obtained; the first current change data may 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 historical branch current data and the current branch current data may be used as the first current change data.
[0088] In a specific embodiment, the above second range resistance includes a third range resistance and a fourth range resistance. Among them, the resistance data of the first range resistance may be greater than the resistance data of the third range resistance; the resistance data of the first range resistance may be less than the resistance data of the fourth range resistance.
[0089] In a specific embodiment, the above-mentioned switching of the first range resistor in the second loop to the second range resistor based on the first current change data may include:
[0090] When the first current change data is less than or equal to the first preset change data, switch the first range resistor in the second loop to the third range resistor;
[0091] Or,
[0092] When the first current change data is greater than or equal to the second preset change data, switch the first range resistor in the second loop to the fourth range resistor.
[0093] In a specific embodiment, the first preset change data and the second preset change data can be set according to actual application requirements. Specifically, the second preset change data can be greater than the first preset change data.
[0094] In a specific embodiment, when the first 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 is not obvious for 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.
[0095] In a specific embodiment, when the first current change data is greater than or equal to the second preset change data, it can be determined that the current adjustment process of the second voltmeter has a large change for 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 change of the current data of the current branch is large, other range resistors can be switched to adapt to a suitable range resistor to improve the measurement accuracy.
[0096] 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-mentioned multiple range resistors with different resistance values, close the switch in series with the target range resistor, and can disconnect the switches in series with other unselected range resistors to realize connecting the target range resistor into the second loop. Among them, the target range resistor can be any one of the above-mentioned multiple range resistors with different resistance values.
[0097] In the above embodiments, by obtaining the first current change data during the regulation of the second voltage source and switching the first range resistor in the second loop to the second range resistor based on the first current change data, the switching of the range resistor adapted to the resistor under test can be achieved, reducing the operation complexity and improving the resolution. Furthermore, the state of the bridge balance can be more precisely adjusted through regulation, enhancing the accuracy of resistor measurement.
[0098] S205: When the current data of the current branch is zero, obtain the second output voltage data corresponding to the second voltage source.
[0099] In a specific embodiment, the second output voltage data can represent the output voltage of the second voltage source.
[0100] In a specific embodiment, the second voltage source may include a data output terminal, and the 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 can be 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.
[0101] S207: Based on the first output voltage data, the range resistor data, and the second output voltage data, perform a resistance value analysis on the resistor under test to obtain the target resistance data corresponding to the resistor under test.
[0102] In a specific embodiment, the target resistance data can represent the resistance value of the resistor under test.
[0103] In a specific embodiment, in the case of the regulation process of the first voltage source, the first output voltage data can be the output voltage data of the regulated first voltage source obtained again after the regulation of the first voltage source is completed.
[0104] In a specific embodiment, in the case of the range resistor switching process, the range resistor data can be the resistance data of the currently connected range resistor obtained again after the range resistor switching is completed.
[0105] In a specific embodiment, the above-mentioned performing a resistance value analysis on the resistor under test based on the first output voltage data, the range resistor data, and the second output voltage data to obtain the target resistance data corresponding to the resistor under test may include:
[0106] Based on the second output voltage data and the range resistor data, determine the range branch current data corresponding to the first range resistor;
[0107] Based on the first output voltage data and the range branch current data, determine the target resistance data.
[0108] In a specific embodiment, the range branch current data corresponding to the first range resistor can characterize the current value flowing through the branch where the first range resistor is located.
[0109] In a specific embodiment, the above range branch current data can be obtained by dividing the second output voltage data by the range resistor data.
[0110] In a specific embodiment, the target resistor data can be obtained by dividing the above first output voltage data by the range branch current data.
[0111] In a specific embodiment, the target resistor data can be obtained through the following formula:
[0112]
[0113] where Z X is the target resistor data; U X is the first output voltage data; Z R is the range resistor data; U R is the second output voltage data.
[0114] In the above embodiment, based on the current branch current data being zero, by combining the second output voltage data and the range resistor data to determine the range branch current data corresponding to the first range resistor, and based on the first output voltage data and the range branch current data to determine the target resistor data, accurate measurement of the resistor to be measured can be achieved, reducing the error caused by leakage current, and the voltage source used has a very low output impedance, which can improve the measurement accuracy and stability.
[0115] In a specific embodiment, the above determining the target resistor data based on the first output voltage data and the range branch current data may include:
[0116] Based on the first output voltage data and the range branch current data, determine the branch resistor data corresponding to the resistor to be measured;
[0117] Take the difference between the branch resistor data and the preset output resistor data corresponding to the first voltage source as the target resistor data.
[0118] In a specific embodiment, the branch resistor data corresponding to the resistor to be measured may refer to the resistance value of the branch where the resistor to be measured is located.
[0119] In a specific embodiment, dividing the first output voltage data by the range branch current data can obtain the above branch resistor data corresponding to the resistor to be measured.
[0120] In a specific embodiment, the preset output resistance data 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 can 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.
[0121] In a specific embodiment, when the difference between the predicted resistance data of the resistance under test and the output resistance data of the output resistance is greater than the preset difference, the above first output voltage data is divided by the range branch current data to obtain the target resistance data. Correspondingly, when the difference between the predicted resistance data of the resistance under test and the output resistance data of the output resistance is less than or equal to the preset difference, the branch resistance data corresponding to the resistance under test can be determined based on the first output voltage data and the range branch current data, and the difference between the branch resistance data and the preset output resistance data corresponding to the first voltage source is used as the target resistance data. It can be understood that when the difference between the resistance under test and the output resistance is large, for example, the resistance value of the resistance under test is in the megohm range and the resistance value of the output resistance is 100Ω, the value of the output resistance can be ignored compared to the resistance value of the resistance under test; however, when the difference between the resistance value of the resistance under test and the resistance value of the output resistance is small, for example, the resistance value of the output resistance is 100Ω and the resistance under test is 1Ω, 10Ω or 100Ω, in this case, the resistance value of the output resistance will have a great impact on the resistance under test. By using the difference between the branch resistance data and the preset output resistance data corresponding to the first voltage source as the target resistance data, the resistance measurement accuracy can be improved.
[0122] In the above embodiment, the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistor, and the current branch current data output by the current acquisition module are obtained. The output of the second voltage source is 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. The resistance measurement can be realized on the basis of the bridge balance, thereby improving the measurement accuracy. Then, based on the first output voltage data, the range resistance data, and the second output voltage data, the resistance value of the resistance under test is analyzed to obtain the target resistance data corresponding to the resistance under test, which can improve the resistance measurement accuracy, the resistance measurement resolution, reduce the operation complexity in the resistance measurement process, and expand the resistance measurement range.
[0123] Figure 4 It is a block diagram of a resistance measurement device based on a resistance measurement device shown according to an exemplary embodiment. Specifically, as Figure 4 shown, the device may include:
[0124] The first data acquisition module 410 can be used to acquire the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistor, and the current data of the current branch output by the current acquisition module;
[0125] The output adjustment module 420 can be used to perform output adjustment processing on the second voltage source so that the current data of the current branch is zero;
[0126] The second data acquisition module 430 can be used to acquire the second output voltage data corresponding to the second voltage source when the current data of the current branch is zero;
[0127] The resistance value analysis module 440 can be used to perform resistance value analysis on the resistance to be measured based on the first output voltage data, the range resistance data, and the second output voltage data, and obtain the target resistance data corresponding to the resistance to be measured.
[0128] In a specific embodiment, the above device may further include:
[0129] The first adjustment module can be used to perform adjustment processing on the first voltage source when the current data of the current branch is not zero during the adjustment process, and return to the step of acquiring the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistor, and the current data of the current branch output by the current acquisition module.
[0130] In a specific embodiment, the above device may further include:
[0131] The second adjustment module can be used to perform adjustment processing on the first voltage source when the current data of the current branch is not zero during the adjustment process, switch the first range resistor in the second loop to a second range resistor, and return to the step of acquiring the first output voltage data corresponding to the first voltage source, the range resistance data corresponding to the first range resistor, and the current data of the current branch output by the current acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
[0132] In a specific embodiment, the above device may further include:
[0133] The third data acquisition module can be used to acquire the first current change data during the adjustment process of the second voltage source; the first current change data is used to indicate the change range of the current data of the current branch during the adjustment process of the second voltage source;
[0134] Correspondingly, the above second adjustment module may include:
[0135] The range resistor switching module can be used to switch the first range resistor in the second loop to a second range resistor based on the first current change data.
[0136] In a specific embodiment, the second range resistor includes a third range resistor and a fourth range resistor; the range resistor switching module may include a first resistor switching module or a second resistor switching module;
[0137] The first resistor switching module can be used to switch the first range resistor in the second loop to the third range resistor when the first 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;
[0138] The second resistor switching module can be used to switch the first range resistor in the second loop to the fourth range resistor when the first 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.
[0139] In a specific embodiment, the output adjustment module 420 may include:
[0140] The first execution module can be used to perform an output adjustment process on the second voltage source based on a preset adjustment direction and obtain the second current change data corresponding to the current branch current data; the preset adjustment direction is used to indicate whether to increase or decrease the output voltage of the second voltage source; the second current change data is used to indicate the change trend of the current branch current data during the adjustment of the second voltage source;
[0141] The adjustment direction determination module can be used to determine the target adjustment direction based on the second current change data and the preset adjustment direction;
[0142] The second execution module can be used to perform an output adjustment process on the second voltage source based on the target adjustment direction until the current branch current data is zero.
[0143] In a specific embodiment, the resistance value analysis module 440 may include:
[0144] 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;
[0145] The resistance data determination module can be used to determine the target resistance data based on the first output voltage data and the range branch current data.
[0146] In a specific embodiment, the resistance data determination module may include:
[0147] The resistance data determination module can be used to determine the branch resistance data corresponding to the resistor to be measured based on the first output voltage data and the range branch current data;
[0148] A difference module can be used to take the difference between the branch resistance data and the preset output resistance data corresponding to the first voltage source as the target resistance data.
[0149] 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.
[0150] Figure 5 is a block diagram of an electronic device for implementing the measurement of a resistance 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 resistance measurement method based on a resistance measurement device.
[0151] Figure 6 is a block diagram of another electronic device for implementing the measurement of a resistance to be measured according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as Figure 6 shown. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device 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 resistance measurement method based on a resistance measurement device. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device may 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.
[0152] Those skilled in the art can understand that Figure 5 or Figure 6The structure shown is only a block diagram of some of the structures related to the present disclosure, and does not constitute a limitation on the electronic device to which the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have a different component arrangement.
[0153] In an exemplary embodiment, an electronic device is further provided, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the resistance measurement method based on a resistance measurement device as in the embodiments of the present disclosure.
[0154] In an exemplary embodiment, a computer-readable storage medium is further provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the resistance measurement method based on a resistance measurement device in the embodiments of the present disclosure.
[0155] In an exemplary embodiment, a computer program product containing instructions is further provided. When it runs on a computer, the computer is caused to execute the resistance measurement method based on a resistance measurement device in the embodiments of the present disclosure.
[0156] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in 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 may include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database or other medium used in the various embodiments provided in the present application may include non-volatile and / or volatile memories. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0157] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0158] 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 resistance measuring device, characterized in that, The device includes a first voltage source, a second voltage source, a first range resistor, and a current acquisition module. The first voltage source, the current acquisition module, and the resistor under test are connected in series to form a first loop. The second voltage source, the first range resistor, and the 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.
2. The device according to claim 1, characterized in that, The current acquisition module has a first end and a second end, and the second end is grounded; both the first range resistor and the resistor under test are connected to the first end.
3. A resistance measurement method based on a resistance measurement device, characterized in that, The method is applied to the resistance measurement device according to any one of claims 1-2, and the method includes: Obtaining first output voltage data corresponding to the first voltage source, range resistor data corresponding to the first range resistor, and current data of the current branch output by the current acquisition module; Performing an output adjustment process on the second voltage source to make the current data of the current branch zero; When the current data of the current branch is zero, obtaining second output voltage data corresponding to the second voltage source; Based on the first output voltage data, the range resistor data, and the second output voltage data, performing a resistance value analysis on the resistor under test to obtain target resistor data corresponding to the resistor under test.
4. The method according to claim 3, wherein The method further includes: When the current data of the current branch is not zero during the adjustment process, performing an adjustment process on the first voltage source, 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 data of the current branch output by the current acquisition module.
5. The method according to claim 4, characterized in that The method further includes: When the current data of the current branch is not zero during the adjustment process, performing an adjustment process on the first voltage source, switching the first range resistor in the second loop 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 data of the current branch output by the current acquisition module; the resistance data of the first range resistor is different from the resistance data of the second range resistor.
6. The method according to claim 5, wherein The method further includes: Obtaining first current change data during the adjustment process of the second voltage source; the first current change data is used to indicate the change range of the current data of the current branch during the adjustment process of the second voltage source; The switching the first range resistor in the second loop to a second range resistor includes: Based on the first current change data, switching the first range resistor in the second loop to the second range resistor.
7. The method according to claim 6, wherein The second range resistor includes a third range resistor and a fourth range resistor; the switching the first range resistor in the second loop to a second range resistor based on the first current change data includes: When the first current change data is less than or equal to first preset change data, switching the first range resistor in the second loop 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 first current change data is greater than or equal to the second preset change data, switch the first range resistor in the second loop 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.
8. The method according to claim 3, characterized in that The output adjustment process for the second voltage source to make the current branch current data zero includes: Based on a preset adjustment direction, perform an output adjustment process on the second voltage source and obtain second current change data corresponding to the current branch current data; the preset adjustment direction is used to indicate whether to increase or decrease the output voltage of the second voltage source; the second current change data is used to indicate the change trend of the current branch current data during the adjustment process of the second voltage source; Based on the second current change data and the preset adjustment direction, determine the target adjustment direction; Based on the target adjustment direction, perform an output adjustment process on the second voltage source until the current branch current data is zero.
9. The method according to claim 3, wherein The process of analyzing the resistance value of the resistor under test based on the first output voltage data, the range resistor data, and the second output voltage data to obtain the target resistance data corresponding to the resistor under test includes: Based on the second output voltage data and the range resistor data, determine the range branch current data corresponding to the first range resistor; Based on the first output voltage data and the range branch current data, determine the target resistance data.
10. The method according to claim 9, wherein The process of determining the target resistance data based on the first output voltage data and the range branch current data includes: Based on the first output voltage data and the range branch current data, determine the branch resistance data corresponding to the resistor under test; Take the difference between the branch resistance data and the preset output resistance data corresponding to the first voltage source as the target resistance data.