CN117200383A - Battery leakage protection method, device, equipment and readable storage medium - Google Patents
Battery leakage protection method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN117200383A CN117200383A CN202311098381.7A CN202311098381A CN117200383A CN 117200383 A CN117200383 A CN 117200383A CN 202311098381 A CN202311098381 A CN 202311098381A CN 117200383 A CN117200383 A CN 117200383A
- Authority
- CN
- China
- Prior art keywords
- battery
- leakage protection
- target
- target battery
- electric quantity
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000001514 detection method Methods 0.000 claims description 16
- 230000003068 static effect Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 5
- 230000001960 triggered effect Effects 0.000 abstract description 7
- 238000007599 discharging Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 230000005669 field effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 229910052744 lithium Inorganic materials 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000007772 electrode material Substances 0.000 description 1
- 239000003792 electrolyte Substances 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 239000010453 quartz Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application provides a battery leakage protection method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: detecting the current residual capacity of the target battery; detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value; when the discharge voltage reaches the cutoff voltage, the leakage protection mode of the target battery is triggered. By implementing the scheme of the application, when the electric quantity of the target battery is lower than the preset threshold value, the discharge voltage of the target battery is detected, and when the discharge voltage reaches the cut-off voltage, the target battery is subjected to leakage protection, so that the permanent loss of the battery capacity caused by overdischarge of the target battery is prevented.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for protecting battery leakage.
Background
Rechargeable batteries of electronic products that need to be charged in the market have both protection plates and no protection plates. The protection board can realize basic protection functions such as battery overshoot protection, over-discharge protection, short-circuit protection, over-current protection and the like, but work current in the static state of a product is not protected, the work current in the static state can lead to continuous discharge of the battery, when the leakage current of the battery reaches a certain value, the protection board can cut off the leakage current, but because the battery has internal resistance, the battery can continuously discharge, and the over-discharge of battery voltage is easy to cause when the battery is placed for a long time; the battery is excessively placed without a protective plate or a product with the protective plate failing, when the battery is excessively placed, the electrolyte is excessively volatilized in terms of an internal structure, and the dielectric film is changed by the excessive reaction of the negative electrode of the battery to reduce the embedding capacity, so that permanent damage of capacity is formed, the product is directly caused to fail and cannot be used, and the battery is easier to explode during charging.
Disclosure of Invention
The application provides a battery leakage protection method, a device, equipment and a readable storage medium, which at least can solve the problem that the battery capacity is permanently damaged due to overdischarge of a battery in the related technology.
The first aspect of the embodiment of the application provides a battery leakage protection method, which comprises the following steps:
detecting the current residual capacity of the target battery;
detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value;
and triggering the leakage protection mode of the target battery when the discharge voltage reaches a cut-off voltage.
By adopting the scheme, when the electric quantity of the target battery is lower than a preset threshold value, the discharge voltage of the target battery is detected, and when the discharge voltage reaches the cut-off voltage, the target battery is subjected to leakage protection, so that the permanent loss of the battery capacity caused by overdischarge of the target battery is prevented.
Optionally, after the step of detecting the current remaining capacity of the target battery, the method further includes:
when the current residual electric quantity is higher than a preset electric quantity threshold value, detecting the current running state of the target terminal corresponding to the target battery; wherein the current operating state includes static and dynamic; the static state is a mobile phone standby state;
periodically detecting the discharge amount of the target battery when the target terminal is in the static state;
and triggering the leakage protection mode of the target battery when the discharge amount is larger than a preset electric quantity threshold value in a preset period.
By adopting the scheme, when the target terminal is in a static state and the discharge capacity of the target battery is larger than the preset electric quantity threshold value, the target terminal is in an unoperated state for a long time, and then the leakage protection mode of the target battery can be started to prevent the battery from being damaged due to overdischarge.
Optionally, after the step of detecting the current remaining capacity of the target battery, the method further includes:
when the current residual electric quantity is higher than a preset electric quantity threshold value, detecting the instruction type of an operation instruction input by a user;
when the operation instruction is a mode switching instruction, determining a preset key according to the corresponding mode after switching;
detecting the pressing time of a preset key;
when the pressing time length meets a preset time length threshold value, determining that the operation instruction is a leakage protection instruction;
and entering a leakage protection mode according to the leakage protection instruction.
By adopting the scheme, the starting module of the leakage protection mode is arranged on the target terminal, and a user can control the battery to enter the leakage protection mode through a specific operation instruction.
Optionally, after the step of determining that the operation instruction is a leakage protection instruction, the method further includes:
outputting corresponding instruction verification information according to the leakage protection instruction;
and when a user confirmation instruction is received, controlling the target battery to enter the leakage protection mode.
Through adopting above-mentioned scheme, verify the earth leakage protection instruction of user input, prevent because user's maloperation and get into earth leakage protection mode suddenly, influence user experience.
Optionally, the step of triggering the leakage protection mode of the target battery when the discharge voltage reaches a cut-off voltage includes:
determining all functional components connected with the target battery;
determining a target functional component higher than a level threshold according to the importance level of the functional component;
and controlling the target battery to supply power to the target functional component.
By adopting the scheme, in the leakage protection mode, the target battery can not supply power to other components except for supplying power to important functional components for controlling the on-off of the leakage protection mode, and the leakage source is cut off at the most basic stage, so that the power consumption of the battery is reduced.
Optionally, the target functional component includes a charge detection module, and after the step of triggering the leakage protection mode of the target battery when the discharge voltage reaches a cut-off voltage, the method further includes:
detecting the current state of the target battery according to the charging detection module;
and when the target battery is detected to be in a charging state, releasing the electric leakage protection mode.
By adopting the scheme, when the target battery is detected to be charged, the leakage protection mode is released, the power supply relation between the target battery and each functional component is recovered, and the normal operation of the target terminal is maintained.
The target functional component comprises a main control MCU, and the step of controlling the target battery to supply power to the target functional component comprises the following steps:
determining a protection voltage for maintaining the operation of a central processing unit of the main control MCU;
and controlling the target battery to supply power to the main control MCU according to the protection voltage.
By adopting the scheme, the protection voltage for only maintaining the operation of the central processing unit of the MCU is determined in advance, and when the target battery supplies power to the main control MCU, the protection voltage is smaller and only can supply power to the central processing unit, so that other basic functional units and various interfaces cannot continuously supply power, and the power consumption is reduced.
A second aspect of an embodiment of the present application provides a battery leakage protection device, including:
the first detection module is used for detecting the current residual capacity of the target battery;
the second detection module is used for detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value;
and the triggering module is used for triggering the leakage protection mode of the target battery when the discharge voltage reaches the cut-off voltage.
A third aspect of the embodiment of the present application provides an electronic device, which is characterized by including a memory and a processor, where the processor is configured to execute a computer program stored on the memory, and when the processor executes the computer program, each step in the battery leakage protection method provided in the first aspect of the embodiment of the present application is implemented.
A fourth aspect of the embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps in the battery leakage protection method provided in the first aspect of the embodiment of the present application.
In summary, the beneficial effects of the application are as follows:
1. when the electric quantity of the target battery is lower than a preset threshold value, starting to detect the discharge voltage of the target battery, and when the discharge voltage reaches a cut-off voltage, performing leakage protection on the target battery to prevent permanent loss of battery capacity caused by overdischarge of the target battery.
2. The protection voltage which only maintains the operation of the central processing unit of the MCU is determined in advance, when the target battery supplies power to the main control MCU, the protection voltage is smaller and only supplies power to the central processing unit, other basic functional units and various interfaces cannot continuously supply power, and therefore power consumption is reduced.
Drawings
Fig. 1 is a first basic flowchart of a battery leakage protection method according to an embodiment of the present application;
fig. 2 is a second basic flowchart of a battery leakage protection method according to an embodiment of the present application;
fig. 3 is a third basic flowchart of a battery leakage protection method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a leakage protection mode switching according to an embodiment of the present application;
fig. 5 is a schematic program module diagram of a battery leakage protection device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to solve the problem of permanent damage to battery capacity caused by overdischarge of a battery in the related art, an embodiment of the present application provides a battery leakage protection method, as shown in fig. 1, which is a first basic flowchart of the battery leakage protection method provided in the present embodiment, where the battery leakage protection method includes the following steps:
step 110, detecting the current residual capacity of the target battery;
specifically, the target battery includes, but is not limited to, a lithium battery, etc., and the remaining power of the target battery is an important criterion for determining the current performance of the target terminal (e.g., mobile phone) corresponding to the target battery, for example, in practical application, most mobile phones default to a mode of starting a low power mode with a power of less than 20% and a super power saving mode with a power of less than 10%, a screen brightness is greatly reduced in the power saving mode, mobile data is automatically closed, and bluetooth is closed. On one hand, the mobile phone with the electric quantity lower than 10% has very low endurance, so that unimportant software functions are reduced for preventing the mobile phone from being suddenly shut down; on the other hand, in order to prevent the mobile phone from overdischarging and affecting the service life of the battery, in this embodiment, the remaining capacity of the target battery is periodically detected, and corresponding protection measures are determined according to the current remaining capacity of the target battery.
Step 120, detecting a discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value;
specifically, in practical application, when the battery is discharged, the stored electric energy is gradually released, and the voltage is slowly reduced. When the voltage decreases to a certain value, discharging should be stopped and recharging should be performed to restore the energy storage state of the battery. And if the discharge time is lower than the preset value, the discharge is over-discharge, and the over-discharge may cause damage to the electrode active material, lose the reaction capacity and shorten the service life of the battery. Therefore, when the target battery is discharged, the target battery is in a normal discharging state when the stored electric energy is sufficient, and the discharging voltage of the battery is reduced along with the reduction of the electric energy reserve, so that the discharging voltage can be used as the basis of whether the battery is overdischarged or not. Therefore, when the residual electric quantity of the target battery is lower than a preset electric quantity threshold value, the discharging voltage of the target battery is detected, and whether the corresponding target battery is required to be subjected to discharging protection is judged according to the discharging voltage.
And 130, triggering a leakage protection mode of the target battery when the discharge voltage reaches the cut-off voltage.
Specifically, in practical application, the discharge voltage of the lithium ion battery (including the storage battery and other rechargeable batteries) is 0.9 times the rated voltage, and the discharge is considered to be completed. While there is still remaining power, it is not possible to continue use, otherwise the battery may be damaged. Therefore, in this embodiment, a MOS (Metal-Oxide-Semiconductor Field-Effect Transistor), also called MOSFET, is added to the motherboard of the target terminal product, which is a commonly used semiconductor device. The main operating principle of a MOS transistor is to use a control gate voltage to control the flow of current through a channel between two sources and drains, and is therefore also called a Field effect transistor (Field-Effect Transistor, abbreviated FET). I.e., metal-Oxide-Semiconductor field effect transistors, is a Semiconductor device that operates using the field effect principle. The MOS tube is used for conducting fixed voltage cut-off, a cut-off voltage is preset, the cut-off voltage can be the voltage when the discharge is finished, the cut-off voltage can also be the safety voltage which is higher than the voltage when the discharge is finished, when the discharge voltage reaches the cut-off voltage, the fact that the residual electric quantity in the target battery is continuously output is possibly damaged, and therefore a preset leakage protection mode of the target battery is triggered, the target battery enters a deep sleep state, and the power consumption of the battery is greatly reduced.
In an alternative implementation manner of this embodiment, when the discharge voltage reaches the cut-off voltage, the step of triggering the leakage protection mode of the battery includes: determining all functional components connected with the target battery; determining a target functional component higher than a level threshold according to the importance level of the functional component; the control target battery supplies power to the target functional component.
Specifically, in the present embodiment, the functional components include all components connected to or powered by the target battery, and the importance level of the functional components is determined by: when the residual capacity of the target battery is insufficient, the functional component still needs to be powered on, for example, a main control MCU on a main board is the most important component and needs to be powered on all the time, so that if an important grade is to be set, the main control MCU is a first important grade; for example, in the above super power saving mode with less than 10% on, in the power saving mode, the brightness of the screen is greatly reduced, the mobile data is automatically turned off, and the bluetooth is turned off, wherein the display component and the wireless component are non-target functional components with low importance level. The grade threshold value can be set when the target terminal is produced, and when the leakage protection mode of the target battery is triggered, the target functional component is determined according to the importance grade of each functional component and the target battery is controlled to supply power to the target functional component. And in the earth leakage protection mode, only power is supplied to the target functional component, and other functions of the target functional component are not available (namely, the target functional component is in an activated state, and the target functional component cannot have other functions of consuming electric quantity), so that deep sleep of the battery is realized.
In an optional implementation manner of this embodiment, the target functional component includes a main control MCU, and the step of controlling the target battery to supply power to the target functional component includes: determining a protection voltage for maintaining the operation of a central processing unit of the main control MCU; and controlling the target battery to supply power to the main control MCU according to the protection voltage.
Specifically, in this embodiment, the protection voltage for maintaining the operation of the central processing unit of the MCU is determined in advance, where the protection voltage is obtained by performing power supply test on the master control MCU several times, when the target battery supplies power to the master control MCU, since the protection voltage is smaller, only the central processing unit can be supplied with power, and other basic functional units and various interfaces cannot continue to supply power, at this time, the master control MCU supplies power only with a heartbeat (crystal oscillator is simply called a quartz crystal resonator (quartzcrystal oscillator), which is called a heart of a circuit system, and provides a "heartbeat" for the whole system.
In an alternative implementation manner of this embodiment, after the step of triggering the leakage protection mode of the target battery when the discharge voltage reaches the cutoff voltage, the method further includes: detecting the current state of the target battery according to the charging detection module; and when the target battery is detected to be in a charging state, releasing the leakage protection mode.
Specifically, in the actual transportation and storage process, the equipment is started up possibly due to external pressure, electromagnetic interference and other reasons, and the product is in a starting-up state and can consume the electric quantity of the lithium battery. In this embodiment, the target functional component includes a battery charging detection module and a state indication module, where the battery charging detection module is configured to detect a charging state of the target battery, and the state indication module outputs an electrical signal to the main control MCU according to the charging state, and when the first port of the main control MCU receives the electrical signal, determines that the target battery is in the charging state, and releases the leakage protection mode of the target battery.
Based on the embodiment scheme of the application, detecting the current residual capacity of the target battery; detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value; when the discharge voltage reaches the cutoff voltage, the leakage protection mode of the target battery is triggered. By implementing the scheme of the application, when the electric quantity of the target battery is lower than the preset electric quantity threshold value, the discharge voltage of the target battery is detected, and when the discharge voltage reaches the cut-off voltage, the target battery is subjected to leakage protection, so that the permanent loss of the battery capacity caused by overdischarge of the target battery is prevented.
Fig. 2 is a second basic flowchart of the battery leakage protection method according to the present embodiment, where the battery leakage protection method includes the following steps:
step 110, detecting the current residual capacity of the target battery;
step 140, detecting the current running state of the target terminal corresponding to the target battery when the current residual electric quantity is higher than a preset electric quantity threshold value;
step 150, periodically detecting the discharge amount of the target battery when the target terminal is in a static state;
step 160, triggering the leakage protection mode of the target battery when the discharge amount of the target battery is greater than the preset electric quantity threshold value in the preset period.
Specifically, the current operating state includes static and dynamic states, and the static state represents a standby state of the mobile phone. In practical applications, electronic products may be standby for a long time before being sold, or battery leakage occurs when they are used at ordinary times. Therefore, in addition to entering the leakage protection mode when the electric quantity of the target battery is too low, in this embodiment, when the current residual electric quantity of the target battery is higher than the preset electric quantity threshold value, the current running state of the corresponding target terminal is detected, that is, whether the target terminal is currently in a used state is judged, and when the target terminal is being used, the target battery is in a normal discharging state, and the discharging voltage is also higher than the cut-off voltage, so that the leakage protection mode is not triggered. And when the target terminal is in a static state, the battery electric quantity is kept unchanged under the standard condition, so that the discharge quantity of the target battery is periodically detected in the static process of the target terminal, and when the discharge quantity of the target battery in a preset period is larger than a preset electric quantity threshold value, the target battery is determined to be in a discharge abnormal state, the electric leakage protection mode of the target battery is triggered, and the battery is prevented from being overdischarged in a state of being unused for a long time, so that the battery activity is influenced.
Fig. 3 is a third basic flowchart of the battery leakage protection method according to the present embodiment, where the battery leakage protection method includes the following steps:
step 110, detecting the current residual capacity of the target battery;
step 170, detecting the instruction type of an operation instruction input by a user when the current residual electric quantity is higher than a preset electric quantity threshold value;
180, when the operation instruction is a mode switching instruction, determining a preset key according to the switched corresponding mode;
step 190, detecting the pressing duration of a preset key;
step 200, when the pressing time length meets a preset time length threshold value, determining that the operation instruction is a leakage protection instruction;
step 210, entering a leakage protection mode according to the leakage protection instruction.
Besides, when the battery power of the target terminal is too low or the target terminal is standby for a long time, the situation that the target battery automatically enters the leakage protection mode and then the user manually enters the leakage protection mode according to the actual requirement is included in the embodiment.
Specifically, when the current residual electric quantity of the target battery is higher than a preset electric quantity threshold value, detecting whether an operation instruction input by a user exists in the target terminal according to the sensing device of the target terminal, and judging the instruction type of the current operation instruction when the operation instruction is detected, for example, a single finger touches a screen and slides upwards to enter a background interface, and two fingers touch the screen and slide upwards to enter a mode switching interface. If the specific operation of the corresponding key is shown in fig. 4, the factory mode is entered, a corresponding preset key instruction of the leakage protection mode is found in the factory mode, the pressing duration of the preset key is detected according to the sensing device, when the pressing duration meets the preset duration threshold, the key instruction is determined to be the leakage protection instruction, and the leakage protection mode is entered according to the leakage protection instruction.
It should be noted that the above instruction receiving manner and the instruction determining manner are only illustrative, and specific operation instructions may also be other manners, for example, a plurality of fingers simultaneously slide on the screen, a direction in which the fingers slide, a touch screen and a button are simultaneously performed may be used as operation instructions, and different operation instructions are determined by different operation manners, which is not limited in detail.
Optionally, when the device is set in factory, a key operation can be directly set, an operation instruction corresponding to the key operation is set as a leakage protection instruction, and when a user performs the leakage protection operation in the mode, the device can enter a leakage protection mode only by performing the key operation, for example, a certain preset key is pressed for a long time to directly enter the leakage protection mode.
In an optional implementation manner of this embodiment, after the step of determining that the operation instruction is the leakage protection instruction, the method further includes: outputting corresponding instruction verification information according to the leakage protection instruction; and when receiving a user confirmation instruction, controlling the target battery to enter a leakage protection mode.
Specifically, in practical application, taking a mobile phone as an example, a user usually puts the mobile phone into a pocket when not in use, and if forgetting to turn off the screen at this time, the mobile phone is easy to trigger misoperation due to friction between the mobile phone and the pocket. Therefore, in this embodiment, when the target terminal receives the leakage protection instruction input by the user, the corresponding instruction verification information is output to the user, that is, the instruction confirmation popup window is popped up on the display screen of the target terminal, or the user is prompted to perform secondary confirmation on the leakage protection instruction through the signal indicator lamp. When a confirmation instruction input by a user again is received, the leakage protection instruction is determined not to be misoperation of the user, so that the target battery is controlled to enter the leakage protection mode, and unnecessary trouble is caused by the fact that the target terminal enters the leakage protection mode due to misoperation of the user is prevented.
Fig. 5 is a schematic diagram of a battery leakage protection device according to an embodiment of the present application, which can be used to implement the battery leakage protection method in the foregoing embodiment. As shown in fig. 5, the battery leakage protection device mainly includes:
a first detection module 10 for detecting a current remaining power of the target battery;
a second detection module 20, configured to detect a discharge voltage of the target battery when the current remaining power is lower than a preset power threshold;
and a triggering module 30 for triggering the leakage protection mode of the target battery when the discharge voltage reaches the cut-off voltage.
In an alternative implementation of this embodiment, the second detection module further includes: when the current residual electric quantity is higher than a preset electric quantity threshold value, detecting the current running state of the target battery corresponding to the target terminal; the discharge amount of the target battery is periodically detected when the target terminal is in a static state. The trigger module is also used for: and triggering the leakage protection mode of the target battery when the discharge quantity is larger than the preset electric quantity threshold value in the preset period.
In an alternative implementation of this embodiment, the second detection module further includes: and detecting the instruction type of the operation instruction input by the user when the current residual electric quantity is higher than the preset electric quantity threshold value. The determining module is used for: when the operation instruction is a mode switching instruction, determining a preset key according to the corresponding mode after switching; detecting the pressing time of a preset key; when the pressing time length meets a preset time length threshold value, determining that the operation instruction is a leakage protection instruction; and entering a leakage protection mode according to the leakage protection instruction.
Further, in an alternative implementation manner of this embodiment, the battery leakage protection device further includes: the device comprises an output module and a control module. The output module is used for: and outputting corresponding instruction verification information according to the leakage protection instruction. The control module is used for: and when receiving a user confirmation instruction, controlling the target battery to enter a leakage protection mode.
In an optional implementation manner of this embodiment, the triggering module is specifically configured to: determining all functional components connected with the target battery; determining a target functional component higher than a level threshold according to the importance level of the functional component; the control target battery supplies power to the target functional component.
Further, in an alternative implementation manner of this embodiment, the battery leakage protection device further includes: and releasing the module. The second detection module is also used for: the current state of the target battery is detected according to the target functional component. The release module is used for: and when the target battery is detected to be in a charging state, releasing the leakage protection mode.
Further, in another alternative implementation manner of this embodiment, the triggering module is further specifically configured to, when executing the function of controlling the target battery to supply power to the target functional component: determining a protection voltage for maintaining the operation of a central processing unit of the main control MCU; and controlling the target battery to supply power to the main control MCU according to the protection voltage.
According to the battery leakage protection device provided by the scheme of the application, the current residual capacity of the target battery is detected; detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value; when the discharge voltage reaches the cutoff voltage, the leakage protection mode of the target battery is triggered. By implementing the scheme of the application, when the electric quantity of the target battery is lower than the preset threshold value, the discharge voltage of the target battery is detected, and when the discharge voltage reaches the cut-off voltage, the target battery is subjected to leakage protection, so that the permanent loss of the battery capacity caused by overdischarge of the target battery is prevented.
Fig. 6 is an electronic device provided in an embodiment of the present application. The electronic device may be used to implement the battery leakage protection method in the foregoing embodiment, and mainly includes:
a memory 601, a processor 602 and a computer program 603 stored on the memory 601 and executable on the processor 602, the memory 601 and the processor 602 being connected by communication. When the processor 602 executes the computer program 603, the battery leakage protection method in the foregoing embodiment is implemented. Wherein the number of processors may be one or more.
The memory 601 may be a high-speed random access memory (RAM, random Access Memory) memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 601 is used for storing executable program codes and the processor 602 is coupled to the memory 601.
Further, an embodiment of the present application further provides a computer readable storage medium, which may be provided in the electronic device in each of the foregoing embodiments, and the computer readable storage medium may be a memory in the foregoing embodiment shown in fig. 6.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the battery leakage protection method in the foregoing embodiment. Further, the computer-readable medium may be any medium capable of storing a program code, such as a usb (universal serial bus), a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a readable storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned readable storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing describes the battery leakage protection method, apparatus, device and readable storage medium provided by the present application, and those skilled in the art, based on the concepts of the embodiments of the present application, will be able to implement the present application in various ways within the specific embodiments and application scope.
Claims (10)
1. A battery leakage protection method, comprising:
detecting the current residual capacity of the target battery;
detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value;
and triggering the leakage protection mode of the target battery when the discharge voltage reaches a cut-off voltage.
2. The battery leakage protection method according to claim 1, wherein after the step of detecting the current remaining capacity of the target battery, further comprising:
when the current residual electric quantity is higher than a preset electric quantity threshold value, detecting the current running state of the target terminal corresponding to the target battery; wherein the current operating state includes static and dynamic; the static state is a mobile phone standby state;
periodically detecting the discharge amount of the target battery when the target terminal is in the static state;
and triggering the leakage protection mode of the target battery when the discharge amount is larger than a preset electric quantity threshold value in a preset period.
3. The battery leakage protection method according to claim 1, wherein after the step of detecting the current remaining capacity of the target battery, further comprising:
when the current residual electric quantity is higher than a preset electric quantity threshold value, detecting the instruction type of an operation instruction input by a user;
when the operation instruction is a mode switching instruction, determining a preset key according to the corresponding mode after switching;
detecting the pressing time of a preset key;
when the pressing time length meets a preset time length threshold value, determining that the operation instruction is a leakage protection instruction;
and entering a leakage protection mode according to the leakage protection instruction.
4. The battery leakage protection method according to claim 3, wherein after the step of determining that the operation command is a leakage protection command, further comprising:
outputting corresponding instruction verification information according to the leakage protection instruction;
and when a user confirmation instruction is received, controlling the target battery to enter the leakage protection mode.
5. The battery leakage protection method according to claims 1 to 4, wherein the step of triggering the leakage protection mode of the target battery when the discharge voltage reaches a cutoff voltage comprises:
determining all functional components connected with the target battery;
determining a target functional component higher than a level threshold according to the importance level of the functional component;
and controlling the target battery to supply power to the target functional component.
6. The battery leakage protection method according to claim 5, wherein the target functional component includes a charge detection module, and after the step of triggering the leakage protection mode of the target battery when the discharge voltage reaches a cutoff voltage, further comprising:
detecting the current state of the target battery according to the charging detection module;
and when the target battery is detected to be in a charging state, releasing the electric leakage protection mode.
7. The battery leakage protection method according to claim 5, wherein the target functional component comprises a master MCU, and the step of controlling the target battery to supply power to the target functional component comprises:
determining a protection voltage for maintaining the operation of a central processing unit of the main control MCU;
and controlling the target battery to supply power to the main control MCU according to the protection voltage.
8. A battery leakage protection device, comprising:
the first detection module is used for detecting the current residual capacity of the target battery;
the second detection module is used for detecting the discharge voltage of the target battery when the current residual electric quantity is lower than a preset electric quantity threshold value;
and the triggering module is used for triggering the leakage protection mode of the target battery when the discharge voltage reaches the cut-off voltage.
9. An electronic device comprising a memory and a processor, wherein:
the processor is used for executing the computer program stored on the memory;
the processor, when executing the computer program, implements the steps of the battery leakage protection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the battery leakage protection method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311098381.7A CN117200383A (en) | 2023-08-29 | 2023-08-29 | Battery leakage protection method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311098381.7A CN117200383A (en) | 2023-08-29 | 2023-08-29 | Battery leakage protection method, device, equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117200383A true CN117200383A (en) | 2023-12-08 |
Family
ID=88989793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311098381.7A Pending CN117200383A (en) | 2023-08-29 | 2023-08-29 | Battery leakage protection method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117200383A (en) |
-
2023
- 2023-08-29 CN CN202311098381.7A patent/CN117200383A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10404082B2 (en) | Battery pack, control circuit, and electronic device | |
US7795842B2 (en) | Adjustable cut-off voltage for mobile device battery | |
TW200531398A (en) | Battery pack, battery protection processing apparatus, and startup control method of the battery protection processing apparatus | |
TW200531397A (en) | Battery pack, battery protection processing apparatus, and control method of the battery protection processing apparatus | |
AU2019285701B2 (en) | Methods and apparatus for extending discharge over-current trip time in a battery protection circuit | |
KR20130049880A (en) | A battery pack and method for controlling the battery pack | |
US10234918B2 (en) | Disconnecting a battery from a system | |
CN112532048A (en) | Power supply equipment wake-up circuit | |
CN106299548A (en) | A kind of temperature-controlled process and device | |
EP2730994B1 (en) | Charging and discharging management device and mobile terminal | |
CN111987773A (en) | On-chip system, battery pack and electronic device | |
EP4002545A1 (en) | Charging/discharging protection circuit, terminal device, and battery discharging control method | |
CN110416643B (en) | Processing method and device and electronic equipment | |
US20140195827A1 (en) | Electronic device with power control function | |
JP2014036531A (en) | Battery power supply device and electronic apparatus | |
JP4178141B2 (en) | Charging apparatus and charging method | |
EP2815482B1 (en) | Method and circuitry for battery protection | |
CN111030249B (en) | Cut-off voltage control method and electronic equipment | |
CN117200383A (en) | Battery leakage protection method, device, equipment and readable storage medium | |
JP3883183B2 (en) | Secondary battery device | |
KR100798884B1 (en) | Charge apparatus for battery and method thereof | |
CN115296364A (en) | Battery system charging method, apparatus, device, storage medium and program product | |
CN110148992B (en) | Charging control method, terminal device and storage medium | |
KR101628606B1 (en) | A charge control circuit and method of over-discharge battery | |
CN113013935B (en) | Control method and system of power supply device, terminal 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 |