CN115656615A - Micro-current detection method, device, equipment and storage medium - Google Patents

Micro-current detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN115656615A
CN115656615A CN202211321798.0A CN202211321798A CN115656615A CN 115656615 A CN115656615 A CN 115656615A CN 202211321798 A CN202211321798 A CN 202211321798A CN 115656615 A CN115656615 A CN 115656615A
Authority
CN
China
Prior art keywords
circuit
current
voltage
detected
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211321798.0A
Other languages
Chinese (zh)
Inventor
吕信超
阳钦宇
陈志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN BITLAND INFORMATION TECHNOLOGY CO LTD
Original Assignee
SHENZHEN BITLAND INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN BITLAND INFORMATION TECHNOLOGY CO LTD filed Critical SHENZHEN BITLAND INFORMATION TECHNOLOGY CO LTD
Priority to CN202211321798.0A priority Critical patent/CN115656615A/en
Publication of CN115656615A publication Critical patent/CN115656615A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a micro-current detection method, a device, equipment and a storage medium, wherein the method comprises the following steps: controlling a detection device to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit; controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected; calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage; and calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current. In the application, the amplification factor of the amplifying circuit is cancelled when the proportion of the voltage generated by the constant current circuit and the detection circuit on the same precise resistor is determined, and the current value of the circuit to be measured is rapidly and accurately measured by directly calculating the current value in combination with the constant current.

Description

Micro-current detection method, device, equipment and storage medium
Technical Field
The present application relates to the field of circuit detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a micro-current.
Background
With the increasing popularization of electronic products, after the electronic products are turned off, the electronic products can enter a micro-current power supply mode so as to ensure that a terminal user can normally turn on the electronic products again.
At present, the micro-current is detected by a commonly used method that a microampere of a universal meter is used for measuring a circuit, when a universal meter is used for measuring, the current needs to be amplified proportionally, the micro-current can be collected by amplifying the current to the universal meter, and then the micro-current is calculated. However, in the process of amplifying the current, an absolute accurate value cannot be calculated by the amplification factor, so that an accurate current value cannot be measured.
Disclosure of Invention
The application mainly aims to provide a micro-current detection method, a micro-current detection device, a micro-current detection equipment and a micro-current detection storage medium, and aims to solve the technical problem that in the current amplification process in the prior art, an absolute accurate value cannot be calculated by an amplification factor, so that an accurate current value cannot be measured.
In order to achieve the above object, the present application provides a micro-current detecting method, including:
controlling a detection device to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit;
controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current.
Optionally, the step of controlling the detection device to detect the detection voltage of the precision resistor in the constant current circuit includes:
controlling detection equipment to amplify the voltage of the precision resistor in the constant current circuit, and recording amplification data when the detection equipment is communicated with the constant current circuit;
and detecting the detection voltage of the precision resistor in the constant current circuit based on the amplification data.
Optionally, the step of controlling the detection device to communicate with a circuit to be detected to obtain a voltage to be detected of the precision resistor in the circuit to be detected includes:
controlling the detection equipment to be communicated with a circuit to be detected, and adjusting the detection equipment based on the amplification data to obtain an amplification circuit in the detection equipment;
and based on the amplifying circuit, amplifying the voltages at two ends of the precision resistor to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
Optionally, the step of amplifying the voltage at the two ends of the precision resistor based on the amplifying circuit to obtain the voltage to be measured of the precision resistor in the circuit to be measured includes:
based on the amplifying circuit, amplifying the voltage at two ends of the precision resistor;
and amplifying the voltages at the two ends of the precision resistor and then performing voltage stabilization treatment to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
Optionally, the step of controlling the detection device to communicate with the circuit to be detected, and adjusting the detection device based on the amplification data to obtain the amplification circuit in the detection device includes:
controlling the detection equipment to be communicated with a circuit to be detected, and carrying out fault detection on the circuit to be detected;
if the circuit to be detected has no fault, acquiring amplification data when the detection equipment is communicated with the constant current circuit;
adjusting the detection equipment based on the amplified data, and judging the safety of the adjusted detection equipment;
and if the adjusted detection equipment is safe, obtaining an amplifying circuit in the detection equipment.
Optionally, the method for detecting micro-current further comprises:
comparing and judging the current to be detected with a preset shutdown current;
and if the current to be measured does not meet the shutdown current, feeding back a correction suggestion of the circuit to be measured.
Optionally, if the current to be measured does not satisfy the shutdown current, feeding back a correction suggestion of the circuit to be measured includes:
if the current to be detected does not meet the shutdown current, current diagnosis is carried out on the circuit to be detected to obtain a diagnosis result;
and obtaining a correction suggestion of the circuit to be tested based on the diagnosis result, and feeding back the correction suggestion to a preset display.
The present application further provides a micro-current detection device, the micro-current detection device includes:
the detection module is used for controlling detection equipment to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit;
the control module is used for controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
the first calculation module is used for calculating and obtaining the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and the second calculation module is used for calculating to-be-measured current of the to-be-measured circuit based on the voltage proportion and the constant current.
The present application further provides a micro-current detection device, the micro-current detection device is an entity node device, the micro-current detection device includes: a memory, a processor and a program of the micro-current detection method stored on the memory and executable on the processor, the program of the micro-current detection method being executable by the processor to implement the steps of the micro-current detection method as described above.
The present application also provides a storage medium having stored thereon a program for implementing the above-described method for detecting a micro-current, the program implementing the steps of the above-described method for detecting a micro-current when executed by a processor.
Compared with the prior art that an absolute accurate value cannot be calculated by an amplification factor in a current amplification process, so that an accurate current value cannot be measured, the method, the device, the equipment and the storage medium for detecting the micro current control have the advantages that the detection equipment is controlled to detect the detection voltage of a precision resistor in a constant current circuit, and the constant current in the constant current circuit is recorded; controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected; calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage; and calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current. In the application, the control detection equipment detects the detection voltage of the precision resistor in the constant current circuit and records the constant current in the constant current circuit, the control detection equipment is communicated with the circuit to be detected, the voltage to be detected of the precision resistor in the circuit to be detected is detected, the amplification factor of the amplification circuit is offset by comparing the ratio of the voltage to be detected and the detection voltage, and the magnitude of the current to be detected is directly calculated by combining the constant current.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a first embodiment of a micro-current detection method of the present application;
FIG. 2 is a schematic diagram of the detection apparatus of the present application;
fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of a second embodiment of the method for detecting micro-current according to the present application.
The implementation of the objectives, functional features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In a first embodiment of the present application, referring to fig. 1, the method for detecting a micro-current includes:
step S10, controlling a detection device to detect the detection voltage of the precision resistor in a constant current circuit and recording the constant current in the constant current circuit;
step S20, controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
step S30, calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and S40, calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current.
The present embodiment is intended to: when the micro-current circuit is detected, the amplification factor which cannot be accurately determined is offset, so that the current value of the micro-current circuit is accurately measured.
In this embodiment, it should be noted that the micro-current detection method can be applied to a micro-current detection apparatus belonging to a micro-current detection device belonging to a micro-current detection system.
Referring to fig. 2, it should be noted that the detection device may include an amplifying circuit, a sampling circuit, a logic control module, a display, a constant current source circuit, a precision resistor, a ground resistor, and the like. The constant current circuit and the ground resistor can be an external circuit and a resistor.
The amplifying circuit is used for amplifying the voltage generated by the circuit on the precision resistor to obtain the amplified detection voltage and the voltage to be detected.
The sampling circuit is used for stabilizing the voltage at two ends of the precision resistor, so that the detection voltage obtained by the logic control module or the voltage to be detected is stable, voltage fluctuation is avoided, and the finally detected current to be detected is inaccurate; and the detection device is also used for converting the electric signal detected by the detection device into a digital signal which can be identified by the logic control module.
The logic control module is used for controlling the detection equipment to change a connected circuit; and the current detection circuit is also used for calculating the current to be detected in the detection circuit.
It should be noted that the sampling circuit may also be disposed in the logic control module, and the voltage at two ends of the precision resistor is regulated by the logic control module.
The logic control module feeds back the current to be detected to a user through the display after calculating the current to be detected, so that the user can conveniently detect the micro-current circuit, namely the circuit to be detected.
Wherein the resistance to ground may be a kiloohm resistance, in particular at least five kiloohms; the ground resistor is used for protecting the constant current circuit, preventing the constant current circuit from electric leakage and ensuring the precision resistor to normally operate in the circuit.
In this embodiment, referring to fig. 2, fig. 2 is a schematic composition diagram of the detection apparatus of the present application.
The method comprises the following specific steps:
step S10, controlling a detection device to detect the detection voltage of the precision resistor in a constant current circuit and recording the constant current in the constant current circuit;
the current in the constant current circuit corresponds to the current in the current to be measured, that is, the circuit to be measured is a micro-current circuit, the current in the circuit to be measured is microampere-level current, and the current in the constant current circuit is microampere-level current.
In this embodiment, the precision resistor is connected in the constant current circuit, the detection device is controlled to be communicated with the constant current circuit, and the detection voltage at two ends of the precision resistor in the constant current circuit is detected.
It should be noted that when detecting the voltage at the two ends of the precision resistor in the constant current circuit, the voltage needs to be amplified, and since the amplification multiple cannot be obtained accurately when amplifying the voltage, the stable voltage amplified at the two ends of the precision resistor needs to be obtained, that is, the voltage needs to be detected, so that the fluctuation of the voltage to the finally obtained current to be detected is avoided, and the finally obtained current to be detected is not accurate.
Specifically, the step of controlling the detection device to detect the detection voltage of the precision resistor in the constant current circuit includes:
s11, controlling detection equipment to amplify the voltage of the precision resistor in the constant current circuit, and recording amplification data when the detection equipment is communicated with the constant current circuit;
and S12, detecting the detection voltage of the precision resistor in the constant current circuit based on the amplification data.
The amplification data can be the amplification factor of the precision resistor detected by the detection equipment when the voltage of the precision resistor is in the constant current circuit, and it needs to be noted that the amplification factor is in a proportional form, so that errors of the amplification factor caused by rounding when the decimal is calculated are avoided.
In this embodiment, since the current in the constant current circuit has the same level as the current in the circuit to be tested, and the circuit to be tested is a micro current circuit, when detecting the electrical parameter of the micro current circuit, the detected electrical property needs to be amplified by the amplifying circuit, so as to obtain the electrical parameter of the micro current circuit.
In this embodiment, when the detection device is controlled to perform amplification test on the voltage of the precision circuit in the constant current circuit, the amplification data, that is, the amplification proportion, of the precision current in the constant current circuit is recorded, and after the amplified voltage is detected by the detection device, the current to be measured is calculated by determining the amplified detection voltage.
The voltage to be measured may be a fraction, a decimal, or an integer, and is not limited specifically.
For example, in the amplification process of the circuits at the two ends of the precision resistor, when the amplification ratio is 3: 5, the voltage at the two ends of the precision resistor can be obtained by the detection equipment, because a precise value cannot be obtained after the amplification ratio is calculated, if the voltage at the two ends of the precision resistor is actually 0.04 volt, the detected voltage is three-thirds to-zero-point-two volts, and if the detected voltage is 0.0667 volt, an error is generated.
Step S20, controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
the precision resistor is a resistor with high precision, low temperature drift and high reliability, and can reduce detection errors by using the precision resistor, so that the precision of finally obtained current to be detected is improved.
In this embodiment, after detecting the stable voltage of the precision resistor in the constant current circuit, the detection device is controlled to communicate with the circuit to be detected, that is, the precision resistor is connected to the circuit to be detected, after the circuit to be detected is powered on, the current of the current to be detected passes through the precision resistor, and after the voltage is amplified at the two ends of the precision resistor through the detection device, the voltage to be detected is detected.
It should be noted that, when the precision resistor connected in the circuit to be detected is amplified, the amplification data corresponding to the amplification data when the precision resistor in the constant current circuit is detected is the same, and when the current to be detected is calculated subsequently, the amplification data can be eliminated, so that the influence of the amplification data on the detection of the current to be detected is avoided.
Specifically, the step of controlling the detection device to communicate with the circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected includes:
step S21, controlling the detection equipment to be communicated with a circuit to be detected, and adjusting the detection equipment based on the amplification data to obtain an amplification circuit in the detection equipment;
and S22, based on the amplifying circuit, amplifying the voltages at the two ends of the precision resistor to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
The amplification data may also be set by a user, that is, the amplification data is preset by the user, and it should be noted that if the amplification data is preset, the voltage of the precision resistor can be detected through the set amplification data.
For example, if the voltage that can be recognized by the detection device is 0.01 v, the actual voltage of the precision resistor in the constant current circuit or the circuit to be detected is 0.004 v, if the amplification data set by the user is 2, the amplification voltage obtained by amplifying the actual voltage by the amplification circuit is 0.008 v, since the voltage of 0.008 v cannot be recognized by the detection device, the amplification data cannot be set to 2, and if the voltage at both ends of the precision resistor can be detected by the detection device, the amplification data set by the user is 2.5 at minimum.
In this embodiment, based on the amplified data of the voltage in the constant current circuit when the detection device is connected to the constant current circuit, the detection device when the detection device is connected to the circuit to be detected is adjusted, the amplification circuit in the detection device is determined, the voltage of the precision resistor in the circuit to be detected is amplified by the amplification circuit, and the voltage to be detected of the precision resistor in the circuit to be detected is obtained, so that the amplified data of the voltage on the precision resistor by the constant current circuit and the circuit to be detected are completely the same, and the error influence caused by the amplified data is eliminated when the current to be detected is calculated by detecting the voltage and the voltage to be detected.
It should be noted that, in this embodiment, after the detection device detects the voltage of the precision resistor in the constant current circuit, the amplification circuit in the detection device may be calibrated, and after the detection device is connected to the circuit to be detected, adjustment of amplification data may be avoided, and it may also be ensured that the amplification data of the two circuits are completely the same.
In this embodiment, after detecting a stable voltage of the precision resistor in the constant current circuit and acquiring a constant current in the constant current circuit, the detection device is controlled to communicate with the circuit to be detected, the amplification circuit in the detection device is adjusted, amplification data of the precision resistor in the circuit to be detected by the detection device is identical to amplification data of a voltage of the precision resistor in the constant current circuit, and the voltage to be detected after the precision resistor is amplified in the circuit to be detected is obtained.
Specifically, the step of amplifying the voltages at the two ends of the precision resistor based on the amplifying circuit to obtain the voltage to be measured of the precision resistor in the circuit to be measured includes:
step A10, based on the amplifying circuit, amplifying the voltage at the two ends of the precision resistor;
and A20, amplifying the voltages at the two ends of the precision resistor and then performing voltage stabilization treatment to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
It should be noted that, when voltage detection is performed on the precision resistor, in order to avoid the amplified circuit from fluctuating in the voltage detection of the precision resistor, voltage stabilization processing needs to be performed on the precision resistor, and the detected voltage is prevented from fluctuating, so that the voltage value of the precision resistor in the constant current circuit or the circuit to be detected must be accurately determined.
In this embodiment, the amplifying circuit with the same amplifying data is used for amplifying and detecting the precision resistor, and after voltage stabilization processing is performed on the voltage when the voltage of the precision resistor is detected, fluctuation of the voltage in the re-amplification process is avoided, so that an error is generated in the reading of the detection device, and finally the voltage to be detected of the precision resistor in the circuit to be detected and the constant current circuit with the same amplifying data is obtained.
In this embodiment, after detecting the stable voltage of the precision resistor in the constant current circuit and acquiring the constant current in the constant current circuit, the detection device is controlled to communicate with the circuit to be detected, so as to obtain the same amplified data as that obtained when detecting the precision resistor in the constant current circuit, detect the ground measured data, and perform voltage stabilization processing on the precision resistor during detection, so as to obtain the stable and accurate voltage to be detected, so that the amplified data of the detected voltage and the voltage to be detected can be eliminated, and further, the error caused by voltage amplification in the detection process to the current to be detected is avoided.
Step S30, calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
in this embodiment, the resistance value of the resistor is calculated by the following formula: r = U/I, where R is the resistance of the precision resistor, U is the voltage across the precision resistor, and I is the current flowing through the precision resistor, that is, the resistance of the precision resistor in the constant current circuit is calculated by the formula: r = U1/I1, wherein U1 is a detection voltage, and I1 is a constant current; the resistance value calculation formula of the precision resistor in the circuit to be tested is as follows: r = U2/I2, wherein U2 is the voltage to be measured, and I1 is the current to be measured. Since the precision resistor detected in the constant current circuit and the precision resistor detected in the circuit to be detected are the same resistor, U1/I1= U2/I2= R.
It should be noted that, in U1/I1= U2/I2, U1 is a detection voltage, the detection voltage can be detected by the detection device, I1 is a constant current, since the circuit in the constant current circuit is known and stable, the constant current can be directly obtained, U2 is a voltage to be detected, and the voltage to be detected can also be detected by the detection device, that is, the current to be detected can be directly calculated according to the formula U1/I1= U2/I2 by detecting the voltage, the constant current, and the voltage to be detected.
In this embodiment, U1/I1= U2/I2 may also be written as I2= (U2/U1) I1, and it is known that the voltage ratio between the voltage to be measured and the detection voltage in I2= (U2/U1) I1 cancels the amplified data, so as to finally avoid that the amplified data cannot obtain a precise value, which results in inaccurate current to be measured.
And S40, calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current.
Wherein, I2 may be a fraction, a decimal obtained according to the requirement of the user, or an integer when the calculated I2 is an integer.
For example, if U2/U1 is calculated to be 3/4 and I1 is calculated to be 0.05 microampere, then I2 is calculated to be 0.037 microampere, if U2/U1 is calculated to be 2/3 and I1 is calculated to be 0.05 microampere, then I2 is calculated to be 0.1/3 microampere, if the user requests to reserve 4 bits after the decimal point, then I2 is calculated to be 0.0333 microampere, and if U2/U1 is calculated to be 4/2 and I1 is calculated to be 0.5 microampere, then I2 is calculated to be 1 microampere.
In this embodiment, since I2= (U2/U1) U2/U1 in I1 is a ratio between an actual voltage of the precision resistor in the circuit to be measured and an actual voltage of the precision resistor in the detection circuit, and an amplification factor that cannot be accurately determined in the ratio is eliminated by an elimination term, accuracy of the current to be measured is not affected, that is, in this embodiment, a current actually flowing through the precision resistor in the circuit to be measured is not affected by the amplification circuit, and the current to be measured finally calculated is an accurate current value within a user-set range.
In this embodiment, first, the detection voltage of the precision resistor in the constant current circuit is detected, the amplification data of the detection device during the detection of the precision resistor is determined, then, the voltage to be detected of the precision resistor in the circuit to be detected is detected according to the same amplification data, and the amplification data is eliminated by the amplification circuit in the detection device by calculating the ratio of the voltage to be detected and the detection voltage, that is, the influence of the amplification circuit on the current to be detected is eliminated, so that the influence of inaccuracy of the amplification data on the accuracy of the current to be detected is avoided.
Compared with the prior art that an absolute accurate value cannot be calculated by an amplification factor in the current amplification process, so that an accurate current value cannot be measured, the method, the device, the equipment and the storage medium for detecting the micro current are used for controlling the detection equipment to detect the detection voltage of a precise resistor in a constant current circuit and recording the constant current in the constant current circuit; controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected; calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage; and calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current. In the application, the control detection equipment detects the detection voltage of the precision resistor in the constant current circuit and records the constant current in the constant current circuit, the control detection equipment is communicated with the circuit to be detected, the voltage to be detected of the precision resistor in the circuit to be detected is detected, the amplification factor of the amplification circuit is offset by comparing the ratio of the voltage to be detected and the detection voltage, and the magnitude of the current to be detected is directly calculated by combining the constant current.
Further, based on the foregoing embodiment in the present application, another embodiment of the present application is provided, in this embodiment, referring to fig. 4, the step of controlling the detection device to communicate with a circuit to be tested, and adjusting the detection device based on the amplification data to obtain an amplification circuit in the detection device includes:
step S01, controlling the detection equipment to be communicated with a circuit to be detected, and carrying out fault detection on the circuit to be detected;
step S02, if the circuit to be detected has no fault, acquiring amplification data when the detection equipment is communicated with the constant current circuit;
s03, adjusting the detection equipment based on the amplification data, and judging the safety of the adjusted detection equipment;
and S04, if the adjusted detection equipment is safe, obtaining an amplifying circuit in the detection equipment.
It should be noted that, a circuit to be detected or the constant current circuit may have a circuit fault, and when the constant current circuit is detected, the circuit fault detection is also required to be performed, so as to avoid that a precision resistor is connected in the fault circuit to damage the resistor, and further damage the detection equipment.
The fault circuit may be a short circuit, an open circuit, a poor contact, an overload, and the like, and is not limited in particular.
In this embodiment, if the detection device detects that the circuit to be detected has a circuit fault, the detection of the current to be detected of the circuit to be detected does not need to be continuously performed, when the circuit fault is detected to exist in the circuit to be detected, the reason of the circuit fault can be further determined, and the reason of the circuit fault is fed back to a user through the display, so that the circuit to be detected of the user can be maintained, and the working efficiency is further improved.
It should be noted that, if the detection device detects that the constant current circuit has a circuit fault, the constant current circuit needs to be replaced to perform detection again, so that the problem that the detection device has low accuracy and reliability on the voltage detected by the precision resistor in the constant current circuit, and further influences the reliability and accuracy of the current to be detected is avoided.
In this embodiment, if the circuit to be detected has no circuit fault, the precision resistor is connected in the circuit to be detected, the amplification data of the detection device is adjusted, the safety of the adjusted detection device is judged, if the adjusted detection device is safe, the amplification circuit in the detection device is obtained, the situation that dangerous detection devices are directly connected into the circuit to be detected is avoided, the circuit to be detected is caused to have circuit faults, the situation that the current to be detected of the circuit to be detected is detected by using the dangerous detection device is avoided, and the current to be detected has errors, so that the accuracy of the current to be detected is influenced.
Further, based on the above-mentioned embodiments in the present application, another embodiment of the present application is provided, in which the method for detecting a micro-current further includes:
step B10, comparing and judging the current to be detected with a preset shutdown current;
and step B20, if the current to be measured does not meet the shutdown current, feeding back a correction suggestion of the circuit to be measured.
It should be noted that the circuit to be tested may be a motherboard circuit of an electronic product in a shutdown state, where the electronic product may be a notebook computer, a mobile phone, an intelligent home, and the like, and is not limited specifically.
The shutdown current is the minimum current at which the mainboard can still maintain the standby state of the mainboard in a shutdown state, so as to ensure the standby state of the mainboard.
In this embodiment, a shutdown current is also preset in the logic control module, after the detection device accurately detects the current to be detected, the logic control module compares the current to be detected with the shutdown current, and if the current to be detected is smaller than the shutdown current, the power supply amount of the battery to the motherboard circuit is insufficient to maintain the motherboard in a standby state, and when a user starts the electronic product, a situation that the electronic product cannot be normally started or cannot be started may occur.
It should be noted that the shutdown current has a floating range, if the current to be measured is within the floating range of the shutdown current, the current to be measured is determined as satisfying the shutdown current, if the current to be measured is greater than the shutdown current and exceeds the floating range, the power supply amount of the battery to the motherboard circuit is determined to be sufficient to maintain the motherboard in the standby state, but the power of the battery is excessively consumed to cause the endurance of the electronic product in the shutdown state to be reduced, and if the current to be measured is equal to the shutdown current or within the floating range of the shutdown current, the power supply of the battery to the motherboard can be sufficient to maintain the standby state of the motherboard, and the endurance of the electronic product can be ensured.
In this embodiment, if it is detected that the current to be measured cannot satisfy the shutdown current, a correction suggestion of the circuit to be measured is determined, and the correction suggestion is fed back to a user through a display, so that the user can maintain the circuit to be measured according to the correction suggestion, and the service life of the circuit to be measured is prolonged.
Specifically, if the current to be measured does not satisfy the shutdown current, the step of feeding back the correction suggestion of the circuit to be measured includes:
step B21, if the current to be detected does not meet the shutdown current, performing current diagnosis on the circuit to be detected to obtain a diagnosis result;
and B22, obtaining a correction suggestion of the circuit to be detected based on the diagnosis result, and feeding back the correction suggestion to a preset display.
In this embodiment, if it is detected that the current to be measured does not satisfy the shutdown current, that is, the current to be measured is not equal to the shutdown current, and the current to be measured is not within the floating range of the shutdown current, current diagnosis is performed on the circuit to be measured, a reason that the current to be measured cannot satisfy the shutdown current in the circuit to be measured is determined, a special result is obtained, a correction suggestion of the circuit to be measured is determined according to the diagnosis result, the correction suggestion is fed back to the display, and the display is used to remind a user to maintain the circuit to be measured according to the correction suggestion.
In this embodiment, whether the current to be measured meets the requirement is judged according to the shutdown current, and when the current to be measured does not meet the requirement of the shutdown current, the correction suggestion of the circuit to be measured is determined and fed back to the user through the display, so that the user can maintain the circuit to be measured in time according to the correction suggestion, and the service life of the circuit to be measured can only be prolonged.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 3, the micro-current detecting apparatus may include: a processor 1001, such as a CPU, memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the micro-current detection device may further include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuitry, a sensor, audio circuitry, a WiFi module, and the like. The rectangular user interface may comprise a Display screen (Display), an input sub-module such as a Keyboard (Keyboard), and the optional rectangular user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the configuration of the microcurrent detection device shown in fig. 3 does not constitute a limitation of microcurrent detection devices and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, and a micro-current detection program. The operating system is a program that manages and controls the hardware and software resources of the microcurrent detection device, supporting the operation of the microcurrent detection program as well as other software and/or programs. The network communication module is used for communication among the components in the memory 1005 and with other hardware and software in the micro-current detection method, apparatus, device and storage medium.
In the micro-current detecting apparatus shown in fig. 3, the processor 1001 is configured to execute a micro-current detecting program stored in the memory 1005 to implement the steps of the micro-current detecting method described in any one of the above.
The specific implementation of the micro-current detection device of the present application is substantially the same as the embodiments of the micro-current detection method, and is not described herein again.
The present application further provides a micro-current detection device, the micro-current detection device includes:
the detection module is used for controlling detection equipment to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit;
the control module is used for controlling the detection equipment to be communicated with a circuit to be detected so as to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
the first calculation module is used for calculating the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and the second calculation module is used for calculating to-be-measured current of the to-be-measured circuit based on the voltage proportion and the constant current.
Optionally, the detection module includes:
the control submodule is used for controlling detection equipment to amplify the voltage of the precision resistor in the constant current circuit and recording amplification data when the detection equipment is communicated with the constant current circuit;
and the detection submodule is used for detecting the detection voltage of the precision resistor in the constant current circuit based on the amplification data.
Optionally, the control module comprises:
the adjusting module is used for controlling the detection equipment to be communicated with a circuit to be detected, and adjusting the detection equipment based on the amplification data to obtain an amplifying circuit in the detection equipment;
and the amplifying module is used for amplifying the voltages at two ends of the precision resistor based on the amplifying circuit to obtain the voltage to be detected of the precision resistor in the circuit to be detected.
Optionally, the amplifying module comprises:
the amplifying submodule is used for amplifying the voltage at two ends of the precision resistor based on the amplifying circuit;
and the voltage stabilizing module is used for amplifying the voltages at the two ends of the precision resistor and then performing voltage stabilizing treatment to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
Optionally, the adjusting module comprises:
the detection unit is used for controlling the detection equipment to be communicated with a circuit to be detected and carrying out fault detection on the circuit to be detected;
the first acquisition sub-module is used for acquiring amplified data when the detection equipment is communicated with the constant current circuit if the circuit to be detected has no fault;
the adjusting submodule is used for adjusting the detection equipment based on the amplification data and judging the safety of the adjusted detection equipment;
and the second obtaining submodule is used for obtaining an amplifying circuit in the detection equipment if the adjusted detection equipment is safe.
Optionally, the micro-current detection device comprises:
the comparison module is used for comparing and judging the current to be detected with a preset shutdown current;
and the feedback module is used for feeding back a correction suggestion of the circuit to be detected if the current to be detected does not meet the shutdown current.
Optionally, the simulation module includes:
the diagnosis module is used for carrying out current diagnosis on the circuit to be tested to obtain a diagnosis result if the current to be tested does not meet the shutdown current;
and the feedback submodule is used for obtaining a correction suggestion of the circuit to be tested based on the diagnosis result and feeding the correction suggestion back to a preset display.
The specific implementation of the micro-current detection device of the present application is substantially the same as the embodiments of the micro-current detection method, and is not described herein again.
The embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, which can be further executed by one or more processors for implementing the steps of the micro-current detection method described in any one of the above.
The specific implementation of the storage medium of the present application is substantially the same as that of the embodiments of the micro-current detection method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A micro-current detection method is characterized by comprising the following steps:
controlling a detection device to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit;
controlling the detection equipment to be communicated with a circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
calculating to obtain the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and calculating to obtain the current to be measured of the circuit to be measured based on the voltage proportion and the constant current.
2. The method for detecting a micro-current according to claim 1, wherein the step of controlling the detecting device to detect the detection voltage of the precision resistor in the constant current circuit comprises:
controlling detection equipment to amplify the voltage of the precision resistor in the constant current circuit, and recording amplification data when the detection equipment is communicated with the constant current circuit;
and detecting the detection voltage of the precision resistor in the constant current circuit based on the amplification data.
3. The method for detecting micro-current according to claim 2, wherein the step of controlling the detection device to communicate with the circuit to be detected to obtain the voltage to be detected of the precision resistor in the circuit to be detected comprises:
controlling the detection equipment to be communicated with a circuit to be detected, and adjusting the detection equipment based on the amplification data to obtain an amplification circuit in the detection equipment;
and based on the amplifying circuit, amplifying the voltages at two ends of the precision resistor to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
4. The method for detecting micro-current according to claim 3, wherein the step of amplifying the voltage across the precision resistor based on the amplifying circuit to obtain the voltage to be measured of the precision resistor in the circuit to be measured comprises:
based on the amplifying circuit, amplifying the voltage at two ends of the precision resistor;
and amplifying the voltages at the two ends of the precision resistor and then performing voltage stabilization treatment to obtain the voltage to be measured of the precision resistor in the circuit to be measured.
5. The method for detecting micro-current according to claim 3, wherein the step of controlling the detection device to communicate with a circuit to be detected and adjusting the detection device based on the amplification data to obtain the amplification circuit in the detection device comprises:
controlling the detection equipment to be communicated with a circuit to be detected, and carrying out fault detection on the circuit to be detected;
if the circuit to be detected has no fault, acquiring amplification data when the detection equipment is communicated with the constant current circuit;
adjusting the detection equipment based on the amplification data, and judging the safety of the adjusted detection equipment;
and if the adjusted detection equipment is safe, obtaining an amplifying circuit in the detection equipment.
6. The method for detecting a micro-current according to claim 1, further comprising:
comparing and judging the current to be detected with a preset shutdown current;
and if the current to be measured does not meet the shutdown current, feeding back a correction suggestion of the circuit to be measured.
7. The method according to claim 6, wherein the step of feeding back a modification suggestion of the circuit under test if the current under test does not satisfy the shutdown current comprises:
if the current to be detected does not meet the shutdown current, performing current diagnosis on the circuit to be detected to obtain a diagnosis result;
and obtaining a correction suggestion of the circuit to be tested based on the diagnosis result, and feeding back the correction suggestion to a preset display.
8. A micro-current detecting device, characterized by comprising:
the detection module is used for controlling detection equipment to detect the detection voltage of the precision resistor in the constant current circuit and recording the constant current in the constant current circuit;
the control module is used for controlling the detection equipment to be communicated with a circuit to be detected so as to obtain the voltage to be detected of the precision resistor in the circuit to be detected;
the first calculation module is used for calculating the voltage ratio of the voltage to be detected and the detection voltage based on the voltage to be detected and the detection voltage;
and the second calculation module is used for calculating to-be-measured current of the to-be-measured circuit based on the voltage proportion and the constant current.
9. A micro-current detecting device, characterized by comprising: a memory, a processor, and a program stored on the memory for implementing the micro-current detection method,
the memory is used for storing a program for realizing the micro-current detection method;
the processor is used for executing a program for realizing the micro-current detection method so as to realize the steps of the micro-current detection method according to any one of claims 1 to 7.
10. A storage medium characterized in that a program implementing a micro-current detection method is stored thereon, the program implementing the micro-current detection method being executed by a processor to implement the steps of the micro-current detection method according to any one of claims 1 to 7.
CN202211321798.0A 2022-10-26 2022-10-26 Micro-current detection method, device, equipment and storage medium Pending CN115656615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211321798.0A CN115656615A (en) 2022-10-26 2022-10-26 Micro-current detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211321798.0A CN115656615A (en) 2022-10-26 2022-10-26 Micro-current detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115656615A true CN115656615A (en) 2023-01-31

Family

ID=84991026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211321798.0A Pending CN115656615A (en) 2022-10-26 2022-10-26 Micro-current detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115656615A (en)

Similar Documents

Publication Publication Date Title
US6768288B2 (en) Circuit for detecting low battery condition on an electronic device with a changing load
KR20090012215A (en) Brownout detector system and method
CN213600773U (en) Current measuring circuit and measuring instrument capable of automatically switching measuring range
CN111800191A (en) Optical module debugging device, debugging method and electronic equipment
US10371727B2 (en) Dynamic sensitivity adjustment for ADC measurements
CN112799493B (en) Current automatic calibration circuit and calibration method for power supply VR chip
US8461913B2 (en) Integrated circuit and a method for selecting a voltage in an integrated circuit
CN115656615A (en) Micro-current detection method, device, equipment and storage medium
CN113093087A (en) Method, device and equipment for checking instrument integrity of mutual inductor and storage medium
US11517231B2 (en) Blood glucose test strip and associated measuring method
WO2012075019A1 (en) Moisture sensing
CN111736104A (en) Current detection calibration method and device and display device
US9698730B2 (en) Method of power amplifier calibration
US20110316556A1 (en) Calibrating a channel of a test system
JP2004219126A (en) Method of automatically changing current range
CN103076494B (en) Power consumption measuring device and method
CN111157788A (en) Voltage influence amount compensation method, apparatus and storage medium
CN111722170B (en) Device and method for determining stability of calibrating device of electric quantity transmitter and electronic equipment
US11971434B2 (en) Power source with error detection
CN108427017B (en) Test system and terminal
CN103134981A (en) Method for performing power detection, and associated apparatus
JP4645083B2 (en) Calibration system
CN115407114A (en) Current detection method, current detection device, computer equipment and storage medium
KR20010081203A (en) Method for Calculating the Rest of the Power in Mobile station
CN117761502A (en) Method and device for verifying quality of board card, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination