CN109061268B - Current value detection system and method and mobile terminal - Google Patents
Current value detection system and method and mobile terminal Download PDFInfo
- Publication number
- CN109061268B CN109061268B CN201810844054.4A CN201810844054A CN109061268B CN 109061268 B CN109061268 B CN 109061268B CN 201810844054 A CN201810844054 A CN 201810844054A CN 109061268 B CN109061268 B CN 109061268B
- Authority
- CN
- China
- Prior art keywords
- current
- current value
- detection resistor
- module
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
-
- H02J7/0077—
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
- Measurement Of Current Or Voltage (AREA)
Abstract
The invention provides a current value detection system, a current value detection method and a mobile terminal, and belongs to the technical field of mobile terminals. The system comprises a calibration parameter module, an electricity meter module and a detection resistor, wherein the calibration parameter module applies a fixed current to the detection resistor when the battery is ensured to be communicated with a load at a preset moment and the current of the battery does not pass through the detection resistor, the electricity meter module determines a first current value flowing through the detection resistor and determines a current calibration coefficient according to the current value of the fixed current and the first current value, the calibration parameter module stops applying the fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor, the electricity meter module determines a second current value flowing through the detection resistor and calculates a target current value based on the second current value and the current calibration coefficient. The detected second current value is corrected by determining a current calibration coefficient so that the target current value is closer to the actual value.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a current value detection system and method and a mobile terminal.
Background
With the continuous development of mobile terminal technology, the application of mobile terminals is more and more extensive. The battery is as the indispensable constitutional part of mobile terminal, and the electric quantity condition of battery often can more be cared for to the user, correspondingly, for the convenience of the user in time learns mobile terminal's battery electric quantity in service behavior, and mobile terminal often needs the current residual capacity of real-time supervision battery. Specifically, the mobile terminal usually determines a current value input/output by the battery, and then integrates the current value with respect to time to obtain the remaining capacity of the battery.
In the prior art, when determining the current value input/output by the battery, the mobile terminal generally determines the current value flowing through the detection resistor on the charging/discharging path of the battery by using a fuel gauge module.
However, due to the influence of the production process, the electricity meter module often has a certain detection error, which causes a deviation between the current value determined by the electricity meter module and the actual current value, and the accuracy of the current value detection is low.
Disclosure of Invention
The invention provides a current value detection system, a current value detection method and a mobile terminal, which are used for solving the problem of low accuracy of current value detection.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a current value detection system, where the system may include:
the device comprises a calibration parameter module, an electricity meter module and a detection resistor;
the fuel gauge module is connected with the detection resistor in parallel, a first end of the calibration parameter module is electrically connected with one end of a battery, a second end of the calibration parameter module is electrically connected with a first end of the detection resistor, a third end of the calibration parameter module is electrically connected with a second end of the detection resistor, and a second end of the detection resistor is electrically connected with a load;
the calibration parameter module is used for applying a fixed current to the detection resistor at a preset time under the condition that the battery is communicated with the load and the current of the battery does not pass through the detection resistor;
the electricity meter module is used for determining a first current value flowing through the detection resistor under the condition that the calibration parameter module applies the fixed current to the detection resistor, and determining a current calibration coefficient according to the current value of the fixed current and the first current value;
the calibration parameter module is further used for stopping applying a fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor after the electricity meter module determines a current correction parameter;
the fuel gauge module is used for determining a second current value flowing through the detection resistor under the condition that the calibration parameter module stops applying the fixed current to the detection resistor, and calculating a target current value based on the second current value and the current calibration coefficient.
In a second aspect, an embodiment of the present invention provides a current value detection method, which is applied to the current value detection system described above, and the method includes:
applying a fixed current to a detection resistor at a preset moment through a calibration parameter module under the condition that the battery is communicated with a load and the current of the battery does not pass through the detection resistor;
determining, by a fuel gauge module, a first current value flowing through the detection resistance;
determining, by the fuel gauge module, a current calibration coefficient according to the current value of the fixed current and the first current value;
stopping applying a fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor through the calibration parameter module;
determining, by the fuel gauge module, a second value of current flowing through the detection resistance;
calculating, by the fuel gauge module, a target current value based on the second current value and the current calibration coefficient.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the current value detection system according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the processor, a memory, and a computer program stored in the memory and being executable on the processor, and when the computer program is executed by the processor, the steps of the current value detection method according to the second aspect are implemented.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the current value detection method according to the second aspect.
In an embodiment of the present invention, the current value detection system may include: the calibration parameter module can apply fixed current to the detection resistor at a preset moment under the condition that the battery is ensured to be communicated with the load and the current of the battery does not pass through the detection resistor, then the electricity meter module can determine a first current value flowing through the detection resistor and determine a current calibration coefficient according to the current value of the fixed current and the first current value, and after the electricity meter module determines a current calibration parameter, the calibration parameter module can stop applying the fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor, and finally the electricity meter module can determine a second current value flowing through the detection resistor and calculate a target current value based on the second current value and the current calibration coefficient. In the embodiment of the invention, the detected current value is corrected by determining the current calibration coefficient, so that the target current value is closer to the actual value, and the accuracy of current value detection is improved.
Drawings
Fig. 1 is a schematic diagram of a current value detecting system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a current value detecting system according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a current value detecting method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a current value detecting method according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic diagram of a current value detecting system according to an embodiment of the present invention, as shown in fig. 1, the system may include:
a calibration parameter module 11, an electricity meter module 12 and a detection resistor 13.
Wherein, the fuel gauge module 12 may be connected in parallel with the detection resistor 13, that is, the fuel gauge module 12 is electrically connected to both ends of the detection resistor 13, respectively, the first end of the calibration parameter module 11 may be electrically connected to one end of the battery 14, the second end of the calibration parameter module 11 may be electrically connected to the first end of the detection resistor 13, the third end of the calibration parameter module 11 may be electrically connected to the second end of the detection resistor 13, and the second end of the detection resistor 13 may be electrically connected to the load 15.
Further, the calibration parameter module 11 may be configured to apply a fixed current to the detection resistor 13 at a preset time under the condition that the battery 14 is ensured to be communicated with the load 15 and the current of the battery 14 does not pass through the detection resistor 13. Accordingly, the fuel gauge module 12 may be configured to determine a first current value flowing through the detection resistor 13 in a case where the calibration parameter module 11 applies a fixed current to the detection resistor 13, and determine a current calibration coefficient according to a current value of the fixed current and the first current value.
In the embodiment of the invention, the preset moment can be when the mobile terminal is started for the first time, so that the current value detection system only needs to determine the current calibration coefficient once, and the consumption of system resources of the mobile terminal can be reduced as much as possible while the current can be ensured to be calibrated. Certainly, the preset time may be when the mobile terminal is started up each time, or when the time from the last time of determining the current calibration system meets the preset time requirement, so that the current calibration system can be determined again at intervals, and as the mobile terminal is used, each component in the mobile terminal may age, and further the current calibration coefficient may change, so that the accuracy of the current calibration system can be ensured by periodically determining the current calibration coefficient again.
Further, the preset time may also be a test link before the mobile terminal leaves the factory, and the like, which is not limited in the embodiment of the present invention. It should be noted that, in practical applications, in order to reduce the number of components set in the mobile terminal, the current calibration parameter may be determined before the mobile terminal leaves the factory, and the current calibration parameter is written into the memory of the mobile terminal, so that when the mobile terminal is assembled, only the components in the current value detection system except for the calibration parameter module are set inside the mobile terminal, and while the current value is ensured to be calibrated, the number of components set inside the mobile terminal is reduced, and of course, the complete current value detection system may also be packaged inside the mobile terminal.
Further, in order to improve the detection accuracy, the detection resistor 13 in the embodiment of the present invention may be a resistor with an extremely low resistance value, for example, a resistor with a milliohm (mohm) level, for example, the resistance value of the detection resistor 13 may be 10 mohm. Since the resistance of the sensing resistor is particularly small and the current of the battery does not pass through the sensing resistor, in an absolutely ideal state, when a fixed current is applied to the detection resistor 13, the value of the current flowing through the detection resistor 13 detected by the fuel gauge module 12, i.e., the first current value, should be the same as the fixed current value, but, due to practical use, the fuel gauge module has certain errors, and the detection is also influenced by the errors of other elements in the system, which in turn may result in a difference between the first current value and the current value of the fixed current, and further, in an embodiment of the present invention, a current calibration factor may be determined based on the difference, and, at the same time, since the difference is due to detection error, the current calibration coefficients determined based on the difference may represent detection error of the fuel gauge module.
Further, the calibration parameter module 11 may be further configured to stop applying the fixed current to the detection resistor 13 in a case where it is ensured that the battery 14 is in communication with the load 15 and the current of the battery 14 passes through the detection resistor 13 after the electricity meter module 12 determines the current correction parameter, and accordingly, the electricity meter module 12 may be configured to determine a second current value flowing through the detection resistor 13 and calculate the target current value based on the second current value and the current calibration coefficient in a case where the calibration parameter module 11 stops applying the fixed current to the detection resistor 13, that is, in a case where the battery 14 applies the current to the detection resistor 13.
In the embodiment of the present invention, after the current correction module is determined, the application of a fixed current to the detection resistor may be stopped, the communication between the battery and the detection resistor may be controlled, and the battery is used to apply a current to the detection resistor, so that the current of the battery flows through the detection resistor, where the current of the battery may be a current output from the battery, or a current input to the battery during charging. Further, at this time, the electricity meter module may determine a value of the current flowing through the detection resistor, obtain a second current value, and calculate a target current value using the second current value and the current calibration coefficient. The current calibration coefficient can reflect the detection error of the electricity meter module, so that the target current value obtained after the second current value is calibrated through the current calibration coefficient can be closer to the true value.
To sum up, the current value detecting system provided in the first embodiment of the present invention may include a calibration parameter module, an electricity meter module, and a detecting resistor, wherein the calibration parameter module may apply a fixed current to the detecting resistor at a predetermined time while ensuring that the battery is connected to the load and the current of the battery does not pass through the detecting resistor, then the electricity meter module may determine a first current value flowing through the detecting resistor, and determine a current calibration coefficient according to a current value of the fixed current and the first current value, the calibration parameter module may further stop applying the fixed current to the detecting resistor after the electricity meter module determines the current calibration parameter while ensuring that the battery is connected to the load and the current of the battery passes through the detecting resistor, and finally the electricity meter module may determine a second current value flowing through the detecting resistor, and based on the second current value and the current calibration coefficient, the target current value is calculated. In the embodiment of the invention, the detected current value is corrected by determining the current calibration coefficient, so that the target current value is closer to the actual value, and the accuracy of current value detection is improved.
Example two
Fig. 2 is a schematic diagram of a current value detecting system according to a second embodiment of the present invention, and as shown in fig. 2, the system may include:
a calibration parameter module 21, an electricity meter module 22 and a detection resistor 23.
The fuel gauge module 22 may be connected in parallel to the detection resistor 23, the first end of the calibration parameter module 21 may be electrically connected to one end of the battery 24, the second end of the calibration parameter module 21 may be electrically connected to the first end of the detection resistor 23, the third end of the calibration parameter module 21 may be electrically connected to the second end of the detection resistor 23, and the second end of the detection resistor 23 may be electrically connected to the load 25.
Specifically, the calibration parameter module 21 may include a first switch 211, a second switch 212, a fixed current output module 213, and a control chip 214.
Further, a first terminal of the first switch 211 may be electrically connected to one terminal of the battery 24, and a second terminal of the first switch 211 may be electrically connected to a first terminal of the detection resistor 23. The first terminal of the fixed current output module 213 may be electrically connected to the second terminal of the first switch 211, and the second terminal of the fixed current output module 213 may be electrically connected to the second terminal of the second switch 212.
A first end of the second switch 212 is electrically connected to the first end of the first switch 211, and a second end of the second switch 212 is electrically connected to the second end of the detecting resistor 23. The control chip 214 may be electrically connected to the third terminal of the first switch 211, the third terminal of the second switch 212, and the third terminal of the fixed current output module 213, respectively.
The fixed current output module may be a constant current source circuit, and the specific elements included in the constant current source circuit and the connection relationship between each element may be configured according to actual requirements. Further, the control chip may be a Central Processing Unit (CPU) of the mobile terminal, or may be a processor specially configured for the parameter calibration module, which is not limited in the embodiment of the present invention. The third terminal of the first switch can be the control terminal of the first switch, the third terminal of the second switch can be the control terminal of the second switch, and the third terminal of the fixed current output module can be the control terminal of the fixed current output module, so that the control chip can normally control the first switch, the second switch and the fixed current output module.
Further, the calibration parameter module 21 may be configured to apply a fixed current to the detection resistor 23 at a preset time while ensuring that the battery 24 is connected to the load 25 and the current of the battery 24 does not pass through the detection resistor 23. Accordingly, the fuel gauge module 22 may be configured to determine a first current value flowing through the detection resistor 23 under the condition that the calibration parameter module 21 applies a fixed current to the detection resistor 23, and determine a current calibration coefficient according to the current value of the fixed current and the first current value.
In the embodiment of the invention, the control chip in the calibration parameter module can control the first switch to be switched off, the second switch to be switched on and the fixed current output module to be switched on at a preset moment, so that the connection between the battery and the load can be ensured, and only the current output by the fixed current output module flows through the detection resistor. Accordingly, the electricity meter module may first detect the voltage values at the two ends of the detection resistor, and then determine the first current value according to the difference between the voltage values at the two ends and the resistance value of the detection resistor.
Further, the calibration parameter module 21 may be further configured to stop applying the fixed current to the detection resistor 23 in a case where it is ensured that the battery 24 is communicated with the load 25 and the current of the battery 24 passes through the detection resistor 23 after the electricity meter module 22 determines the current correction parameter, and accordingly, the electricity meter module 22 may be configured to determine a second current value flowing through the detection resistor 23 in a case where the calibration parameter module 21 stops applying the fixed current to the detection resistor 23, and calculate the target current value based on the second current value and the current calibration coefficient.
In the embodiment of the invention, the control chip in the parameter calibration module can control the first switch to be closed, the second switch to be opened and the fixed current output module to be closed, so that the connection between the battery and the load can be ensured, and the current of the battery passes through the detection resistor.
To sum up, the current value detecting system provided in the second embodiment of the present invention may include a calibration parameter module, an electricity meter module, and a detection resistor, where the calibration parameter module may include a first switch, a second switch, a fixed current output module, and a control chip, the control chip in the calibration parameter module may control the first switch to be turned off, the second switch to be turned on, and the fixed current output module to be turned on at a preset time, so as to apply a fixed current to the detection resistor, then the electricity meter module may determine a first current value flowing through the detection resistor, and determine a current calibration coefficient according to a current value of the fixed current and the first current value, after the electricity meter module determines a current calibration parameter, the control chip in the calibration parameter module may control the first switch to be turned on, the second switch to be turned off, and finally, the electricity meter module may determine a second current value flowing through the detection resistor, and calculating a target current value based on the second current value and the current calibration coefficient. In the embodiment of the invention, the detected current value is corrected by determining the current calibration coefficient, so that the target current value is closer to the actual value, and the accuracy of current value detection is improved.
EXAMPLE III
Fig. 3 is a flowchart of steps of a current value detecting method according to a third embodiment of the present invention, where the method may be applied to the current value detecting system shown in fig. 1, and as shown in fig. 3, the method may include:
In the embodiment of the invention, under the condition that the battery is communicated with the load and the current of the battery does not pass through the detection resistor, the fixed current is applied to the detection resistor, so that only the fixed current flows through the detection resistor, and the accuracy of the determined first current value in the subsequent steps is further avoided.
In this step, the voltage at the two ends of the detection resistor may be detected by the fuel gauge module to obtain a first voltage value and a second voltage value, and then the voltage difference between the first voltage value and the second voltage value is calculated by the fuel gauge module. For example, assuming that the first voltage value V1 and the second voltage value V2 detect that the resistance of the resistor is R, the first current value Ia may be: ia is (V1-V2)/R.
And step 303, determining a current calibration coefficient according to the current value of the fixed current and the first current value through the electricity meter module.
In the embodiment of the invention, because the first current value is the current detected when only the fixed current flows through the detection resistor, and the detection resistor is an ultra-low resistance resistor, under an ideal state without being influenced by errors, the first current value is equal to the current value of the fixed current, and when a difference value exists between the first current value and the current value of the fixed current, the accuracy of the detected current value is influenced by the errors, therefore, the current calibration coefficient can be determined according to the current value of the fixed current and the first current value.
And 304, stopping applying a fixed current to the detection resistor by the calibration parameter module under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor.
In the embodiment of the invention, under the condition that the battery is communicated with the load and the current of the battery passes through the detection resistor, the mode of applying the fixed current to the detection resistor is stopped, so that the current of the battery only flows through the detection resistor, and the electricity meter module can determine the input/output current value of the battery by detecting the value of the current flowing through the detection resistor in the subsequent step.
In this step, the voltages at the two ends of the detection resistor may be detected by the fuel gauge module to obtain a third voltage value and a fourth voltage value, and then the voltage difference between the third voltage value and the fourth voltage value is calculated by the fuel gauge module. For example, assuming that the third voltage value is V3, the fourth voltage value is V4, and the resistance value of the detection resistor is R, the second current value Ib may be: ib is (V3-V4)/R.
In the embodiment of the invention, the current calibration coefficient can reflect the detection error of the fuel gauge module, so that the target current value obtained after the second current value is calibrated by the current calibration coefficient can be closer to the true value, and the residual capacity of the battery determined based on the target current value is closer to the actual residual capacity in the subsequent process.
In summary, in the current value detection method provided by the third embodiment of the present invention, at a preset time, a calibration parameter module may apply a fixed current to a detection resistor under the condition that it is ensured that a battery is connected to a load and the current of the battery does not pass through the detection resistor, then, a fuel gauge module determines a first current value flowing through the detection resistor, and determines a current calibration coefficient according to the current value of the fixed current and the first current value, then, the calibration parameter module may stop applying the fixed current to the detection resistor under the condition that it is ensured that the battery is connected to the load and the current of the battery passes through the detection resistor, and finally, a fuel gauge module may determine a second current value flowing through the detection resistor, and calculate a target current value based on the second current value and the current calibration coefficient. In the embodiment of the invention, the detected current value is corrected by determining the current calibration coefficient, so that the target current value is closer to the actual value, and the accuracy of current value detection is improved.
Example four
Fig. 4 is a flowchart of steps of a current value detecting method according to a fourth embodiment of the present invention, where the method may be applied to the current value detecting system shown in fig. 2, and as shown in fig. 4, the method may include:
In this step, the first switch may be controlled to be turned off by the control chip, the second switch may be controlled to be turned on, the fixed current output module may be controlled to be turned on, and then the fixed current may be output by the fixed current output module when the fixed current output module is turned on. The control chip can ensure that no current of the battery flows through the detection current by controlling the first switch to be disconnected, can ensure that the load communicated between the battery and the load can work normally by controlling the second switch to be closed and the fixed current output module to be opened, and the detection resistor is applied with the fixed current, so that the fixed current is applied to the detection resistor under the condition that the battery is communicated with the load and the current of the battery does not pass through the detection resistor.
Specifically, the step 302 may be referred to in an implementation manner of this step, and this is not limited in this embodiment of the present invention.
And 403, calculating a difference value between the current value of the fixed current and the first current value through the electricity meter module to obtain a current difference value.
For example, assuming that the current value of the fixed current is represented by Ig and the first current value is represented by Ia, the current difference Ig-Ia can be obtained.
And step 404, calculating the ratio of the current difference value to the current value of the fixed current through the electricity meter module to obtain a current calibration coefficient.
For example, assuming that the current calibration coefficient is represented by K, K ═ (Ig-Ia)/Ig can be obtained. In the embodiment of the invention, the difference value between the current value of the fixed current and the first current value and the current value of the fixed current are determined as the current calibration coefficient, so that the current calibration coefficient can embody the detection error of the electricity meter module.
In this step, the first switch may be controlled to be turned on by the control chip, the second switch may be turned off and the fixed current output module may be turned off, and then the fixed current output module may stop outputting the fixed current when turned off. The control chip can ensure that the battery and the load are communicated by controlling the first switch to be closed, the load can normally work, and the second switch is controlled to be disconnected and the fixed current output module is controlled to be closed, so that the current of the battery only flows through the detection resistor, and the battery and the load are communicated, and the current of the battery passes through the detection resistor, and the fixed current is stopped being applied to the detection resistor.
Specifically, the step 305 may be referred to in an implementation manner of this step, and this is not limited in this embodiment of the present invention.
Specifically, this step can be realized by the following substeps (1) to (2):
substep (1): and calculating the product of the second current value and the preset current calibration coefficient through an electricity meter module to obtain a corrected current value.
For example, assuming that the second current value is represented by Ib, the correction current value can be obtained as: ib multiplied by K.
Substep (2): and calculating the sum of the correction current value and the second current value through an electricity meter module to obtain a target current value.
For example, assuming that the target current value is represented by Iz, Iz ═ Ib (1+ K) can be obtained.
In the embodiment of the invention, the sum of the detected second current value and the correction current value is determined as the target current value, so that the target current value can be closer to a true value, and further, the residual capacity of the battery determined based on the target current value can be closer to the actual residual capacity in the subsequent process.
In summary, in the current value detecting method provided by the fourth embodiment of the present invention, the control chip may control the first switch to be turned off, the second switch to be turned on, and the fixed current output module to be turned on, then the electricity meter module determines the first current value flowing through the detecting resistor, determines the current calibration coefficient according to the current value of the fixed current and the first current value, then the control chip may control the first switch to be turned on, the second switch to be turned off, and the fixed current output module to be turned off, and finally, the electricity meter module may determine the second current value flowing through the detecting resistor, and calculate the target current value based on the second current value and the current calibration coefficient. In the embodiment of the invention, the detected current value is corrected by determining the current calibration coefficient, so that the target current value is closer to the actual value, and the accuracy of current value detection is improved.
Optionally, an embodiment of the present invention further provides a mobile terminal, including the current value detection system.
Further, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing current value detection method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the current value detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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. The term "comprising" is used to specify the presence of stated features, integers, steps, operations, elements, components, operations.
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 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 (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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. A current value detection system, characterized in that the system comprises: the device comprises a calibration parameter module, an electricity meter module and a detection resistor;
the fuel gauge module is connected with the detection resistor in parallel, a first end of the calibration parameter module is electrically connected with one end of a battery, a second end of the calibration parameter module is electrically connected with a first end of the detection resistor, a third end of the calibration parameter module is electrically connected with a second end of the detection resistor, and a second end of the detection resistor is electrically connected with a load;
the calibration parameter module is used for applying a fixed current to the detection resistor at a preset time under the condition that the battery is communicated with the load and the current of the battery does not pass through the detection resistor;
the electricity meter module is used for determining a first current value flowing through the detection resistor under the condition that the calibration parameter module applies the fixed current to the detection resistor, and determining a current calibration coefficient according to the current value of the fixed current and the first current value;
the calibration parameter module is further used for stopping applying a fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor after the electricity meter module determines a current correction parameter;
the fuel gauge module is used for determining a second current value flowing through the detection resistor under the condition that the calibration parameter module stops applying the fixed current to the detection resistor, and calculating a target current value based on the second current value and the current calibration coefficient;
the calibration parameter module comprises a first switch, a second switch, a fixed current output module and a control chip;
the first end of the first switch is electrically connected with one end of the battery, and the second end of the first switch is electrically connected with the first end of the detection resistor;
the first end of the fixed current output module is electrically connected with the second end of the first switch, and the second end of the fixed current output module is electrically connected with the second end of the second switch;
a first end of the second switch is electrically connected with a first end of the first switch, and a second end of the second switch is electrically connected with a second end of the detection resistor;
the control chip is electrically connected with the third end of the first switch, the third end of the second switch and the third end of the fixed current output module respectively.
2. The system of claim 1, wherein the fixed current output module is a constant current source circuit.
3. A current value detection method applied to the current value detection system according to any one of claims 1 to 2, the method comprising:
applying a fixed current to a detection resistor at a preset moment through a calibration parameter module under the condition that the battery is communicated with a load and the current of the battery does not pass through the detection resistor;
determining, by a fuel gauge module, a first current value flowing through the detection resistance;
determining, by the fuel gauge module, a current calibration coefficient according to the current value of the fixed current and the first current value;
stopping applying a fixed current to the detection resistor under the condition that the battery is ensured to be communicated with the load and the current of the battery passes through the detection resistor through the calibration parameter module;
determining, by the fuel gauge module, a second value of current flowing through the detection resistance;
calculating, by the fuel gauge module, a target current value based on the second current value and the current calibration coefficient;
the calibration parameter module comprises a first switch, a second switch, a fixed current output module and a control chip;
the first end of the first switch is electrically connected with one end of the battery, and the second end of the first switch is electrically connected with the first end of the detection resistor;
the first end of the fixed current output module is electrically connected with the second end of the first switch, and the second end of the fixed current output module is electrically connected with the second end of the second switch;
a first end of the second switch is electrically connected with a first end of the first switch, and a second end of the second switch is electrically connected with a second end of the detection resistor;
the control chip is electrically connected with the third end of the first switch, the third end of the second switch and the third end of the fixed current output module respectively.
4. The method of claim 3, wherein the step of applying a fixed current to the detection resistor by the calibration parameter module at a preset time while ensuring that the battery is connected to the load and the current of the battery does not pass through the detection resistor comprises:
the control chip controls the first switch to be switched off, the second switch to be switched on and the fixed current output module to be switched on;
and outputting fixed current through the fixed current output module when the fixed current output module is started.
5. The method of claim 4, wherein the step of stopping the application of the fixed current to the detection resistor by the calibration parameter module while ensuring that the battery is in communication with the load and the current of the battery passes through the detection resistor comprises:
the first switch is controlled to be closed through a control chip, the second switch is controlled to be opened, and the fixed current output module is controlled to be closed;
and stopping outputting the fixed current through the fixed current output module when the fixed current output module is closed.
6. The method of claim 3, wherein the step of determining, by the fuel gauge module, a current calibration factor from the current value of the fixed current and the first current value comprises:
calculating the difference value between the current value of the fixed current and the first current value through the electricity meter module to obtain a current difference value;
and calculating the ratio of the current difference value to the current value of the fixed current through the electricity meter module to obtain a current calibration coefficient.
7. The method of claim 3, wherein the step of calculating, by the fuel gauge module, a target current value based on the second current value and the current calibration factor comprises:
calculating the product of the second current value and the preset current calibration coefficient through an electricity meter module to obtain a corrected current value;
and calculating the sum of the correction current value and the second current value through an electricity meter module to obtain a target current value.
8. A mobile terminal, comprising: a battery and the current value detection system according to any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844054.4A CN109061268B (en) | 2018-07-27 | 2018-07-27 | Current value detection system and method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844054.4A CN109061268B (en) | 2018-07-27 | 2018-07-27 | Current value detection system and method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109061268A CN109061268A (en) | 2018-12-21 |
CN109061268B true CN109061268B (en) | 2020-11-20 |
Family
ID=64835915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810844054.4A Active CN109061268B (en) | 2018-07-27 | 2018-07-27 | Current value detection system and method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109061268B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725188B (en) * | 2018-12-29 | 2021-10-01 | 蜂巢能源科技有限公司 | A current measurement method and device |
CN111693921A (en) * | 2020-07-13 | 2020-09-22 | Tcl空调器(中山)有限公司 | Current calibration parameter generation method, current detection method, air conditioner and storage medium |
CN113759257A (en) * | 2020-07-17 | 2021-12-07 | 北京京东尚科信息技术有限公司 | Current compensation circuit and method for electronic equipment and electronic equipment |
CN117713279B (en) * | 2023-11-10 | 2024-10-15 | 深圳市极测科技有限公司 | Power supply system formed in series, power supply system control method, equipment and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6977601B1 (en) * | 2004-01-29 | 2005-12-20 | Raytheon Company | Low power current input delta-sigma ADC using injection FET reference |
CN101097233A (en) * | 2006-06-28 | 2008-01-02 | 三洋电机株式会社 | Current detecting circuit |
WO2016103721A1 (en) * | 2014-12-24 | 2016-06-30 | 株式会社Gsユアサ | Power supply protection device, power supply device, and switch fault diagnosis method |
CN106093521A (en) * | 2016-06-17 | 2016-11-09 | 广州极飞电子科技有限公司 | Electric current detecting method, device and battery management system |
CN106226702A (en) * | 2016-07-25 | 2016-12-14 | 深圳天珑无线科技有限公司 | A kind of battery capacity detection circuit, battery capacity check method and device |
CN106526286A (en) * | 2016-11-11 | 2017-03-22 | 广州极飞科技有限公司 | Current detection circuit, method and cell system |
CN106771540A (en) * | 2016-12-23 | 2017-05-31 | 建荣半导体(深圳)有限公司 | A kind of current detection circuit and its method, chip and power-supply device |
CN106872761A (en) * | 2017-03-28 | 2017-06-20 | 上海与德科技有限公司 | The measuring circuit of quantity measuring method and its calibration factor, method, terminal device |
CN206311669U (en) * | 2016-11-29 | 2017-07-07 | 深圳市沃特玛电池有限公司 | load resistance detection circuit |
-
2018
- 2018-07-27 CN CN201810844054.4A patent/CN109061268B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6977601B1 (en) * | 2004-01-29 | 2005-12-20 | Raytheon Company | Low power current input delta-sigma ADC using injection FET reference |
CN101097233A (en) * | 2006-06-28 | 2008-01-02 | 三洋电机株式会社 | Current detecting circuit |
WO2016103721A1 (en) * | 2014-12-24 | 2016-06-30 | 株式会社Gsユアサ | Power supply protection device, power supply device, and switch fault diagnosis method |
CN106093521A (en) * | 2016-06-17 | 2016-11-09 | 广州极飞电子科技有限公司 | Electric current detecting method, device and battery management system |
CN106226702A (en) * | 2016-07-25 | 2016-12-14 | 深圳天珑无线科技有限公司 | A kind of battery capacity detection circuit, battery capacity check method and device |
CN106526286A (en) * | 2016-11-11 | 2017-03-22 | 广州极飞科技有限公司 | Current detection circuit, method and cell system |
CN206311669U (en) * | 2016-11-29 | 2017-07-07 | 深圳市沃特玛电池有限公司 | load resistance detection circuit |
CN106771540A (en) * | 2016-12-23 | 2017-05-31 | 建荣半导体(深圳)有限公司 | A kind of current detection circuit and its method, chip and power-supply device |
CN106872761A (en) * | 2017-03-28 | 2017-06-20 | 上海与德科技有限公司 | The measuring circuit of quantity measuring method and its calibration factor, method, terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN109061268A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109061268B (en) | Current value detection system and method and mobile terminal | |
US7518339B2 (en) | State variable and parameter estimator comprising several partial models for an electrical energy storage device | |
CN107110900B (en) | Insulation resistance measuring device and method | |
CN113692539B (en) | Insulation resistance measuring device and method | |
WO2014210574A1 (en) | Element resistance measurement in an electricity meter | |
US9891287B2 (en) | Temperature-compensated state of charge estimation for rechargeable batteries | |
US20220367926A1 (en) | BMS and Battery System | |
CN113419159B (en) | Testing method, testing device and testing circuit of flexible circuit board | |
CN113238154A (en) | Method and system for measuring residual electric quantity of battery based on coulometer | |
CN111771129A (en) | Device, method and equipment for measuring current | |
CN113138341A (en) | Measuring device and measuring method for electricity storage device | |
CN113281564B (en) | Power consumption power calculation method and processor of electric equipment and electric equipment | |
KR101776507B1 (en) | Method and system for charging battery | |
CN105158541A (en) | Electronic equipment system current measurement method and device | |
CN111065933A (en) | Charge capacity calculation apparatus and method for energy storage system | |
KR100536403B1 (en) | Apparatus for charging battery with variable resistance | |
CN110676804A (en) | Detection circuit and switch module using same | |
CN113486498A (en) | Equivalent circuit model parameter calibration method and device, terminal device and storage medium | |
CN107870298B (en) | Circuit parameter detection circuit and method of voltage dividing circuit and electric energy meter | |
CN113985107B (en) | Voltage detection method and device and readable storage medium | |
CN113544522B (en) | Terminal equipment, method and device for determining residual battery capacity | |
CN115020845B (en) | Cell temperature detection method, device, storage medium and program product | |
CN116973742A (en) | Detection method, detection circuit, detection device and electric automobile of high-voltage contactor | |
US20240063647A1 (en) | Battery Management Apparatus and Method | |
CN114595421A (en) | Power supply calibration method and device, power supply system, electronic equipment and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |