Method and device for obtaining battery status, battery, electronic device, and storage medium
By obtaining the two voltages of the battery cell in the battery in the standstill mode and judging the battery status, the problem that the existing protection circuit cannot detect the internal short circuit of the battery is solved, and more efficient battery protection is achieved.
Patent Information
- Application Number
- CN201911250596.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-09
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2039-12-09
AI Technical Summary
The existing protection circuit cannot be detected when an internal short circuit occurs in the battery cell, resulting in limited protection function.
By switching the battery to the standstill mode, the two voltages of the battery cell in the battery are obtained, and the battery state is determined by the difference of the two voltages. If the difference voltage is less than the threshold, it is determined to be a normal state, otherwise it is an abnormal state.
A single fault test and internal short circuit test of the battery are realized, which improves the battery's protection performance and can protect the battery more effectively when the LPS requirements are met.
Smart Images

Figure CN113036710B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of battery protection, and in particular to a method and device for obtaining a battery status, a battery, an electronic device, and a storage medium. Background Art
[0002] At present, the batteries in electronic devices are equipped with protection circuits, see Figure 1 , two sets of protection circuits are set in the battery: protection circuit 1 includes precision resistor 3 and protection switch device 5; protection circuit 2 includes precision resistor 4 and protection switch device 6. In practical applications, the protection circuit 1 and the protection circuit 2 can be used to perform a single fault test on the battery, thereby meeting the requirements of the safety regulation LPS (limit power source).
[0003] However, the existing protection circuit cannot detect when an internal short circuit occurs in the battery cell 8, resulting in limited protection function. Summary of the invention
[0004] The present disclosure provides a method and device for obtaining battery status, a battery, an electronic device, and a storage medium to address the deficiencies of related technologies.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for obtaining a battery status is provided, wherein a protection circuit is provided in the battery, and the protection circuit includes a precision resistor, and the method includes:
[0006] After the battery is switched to a static mode, obtaining a voltage of a cell in the battery to obtain a first voltage;
[0007] detecting the current in the precision resistor in the static mode to obtain a static current;
[0008] When the static current meets a preset condition, continue to obtain the voltage of the battery cell to obtain a second voltage;
[0009] When the difference voltage between the second voltage and the first voltage is less than a difference threshold, the battery state is determined to be in a normal state; when the difference voltage exceeds the difference threshold, the battery state is determined to be in an abnormal state.
[0010] Optionally, switching the battery to a rest mode comprises:
[0011] In an initial mode, the current of the precision resistor is detected to obtain an initial current; the initial mode includes one of the following: a charging mode or a discharging mode;
[0012] When the initial current meets the preset condition, the battery is switched from the initial mode to a rest mode.
[0013] Optionally, determining whether the initial current satisfies the preset condition includes:
[0014] Acquire a current threshold and a duration threshold in the initial mode;
[0015] Determining whether the initial current is less than the current threshold;
[0016] When the initial current is less than the current threshold, recording the duration;
[0017] When the duration exceeds the duration threshold, it is determined that the initial current meets the preset condition.
[0018] Optionally, after determining that the battery state is an abnormal state, the method further includes:
[0019] A designated pin of the battery fuel gauge is enabled to turn off a protection switch device in the battery that is electrically connected to the designated pin.
[0020] According to a second aspect of an embodiment of the present disclosure, a device for obtaining a battery status is provided, wherein a protection circuit is provided in the battery, and the protection circuit includes a precision resistor, and the device includes:
[0021] A first voltage acquisition module, used to acquire the voltage of the battery cell in the battery to obtain a first voltage after the battery is switched to a static mode;
[0022] A static current acquisition module, used for detecting the current in the precision resistor in the static mode to obtain the static current;
[0023] A second voltage acquisition module, used for continuing to acquire the voltage of the battery cell to obtain a second voltage when the static current meets a preset condition;
[0024] A battery status determination module is used to determine that the battery status is a normal status when the difference voltage between the second voltage and the first voltage is less than a difference threshold; and to determine that the battery status is an abnormal status when the difference voltage exceeds the difference threshold.
[0025] Optionally, the first voltage acquisition module includes:
[0026] An initial current acquisition unit, used to detect the current of the precision resistor in an initial mode to obtain an initial current; the initial mode includes one of the following: a charging mode or a discharging mode;
[0027] The static mode switching unit is used to switch the battery from the initial mode to the static mode when the initial current meets the preset condition.
[0028] Optionally, the static mode switching unit includes:
[0029] An acquisition subunit, used to acquire a current threshold and a duration threshold in the initial mode;
[0030] A judging subunit, used for judging whether the initial current is less than the current threshold;
[0031] A recording subunit, used for recording a duration when the initial current is less than the current threshold;
[0032] The determination subunit is used to determine that the initial current meets the preset condition when the duration exceeds the duration threshold.
[0033] Optionally, after determining that the battery state is an abnormal state, the device further includes:
[0034] The designated pin enabling module is used to enable the designated pin of the battery fuel gauge according to the trigger signal of the battery status determination module, so as to turn off the protection switch device in the battery electrically connected to the designated pin.
[0035] According to a third aspect of an embodiment of the present disclosure, a battery is provided, wherein a group of protection circuits is arranged in the battery; the group of protection circuits is composed of precision resistors and protection chips, and the precision resistors are electrically connected to battery cells for detecting the current of the battery cells.
[0036] Optionally, it also includes a battery fuel meter; the battery fuel meter is provided with a microprocessor and a memory, the memory stores executable instructions of the microprocessor, and the microprocessor is configured to execute the executable instructions in the memory to implement the steps of any one of the methods described in the first aspect.
[0037] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising the battery as described in the third aspect.
[0038] According to a fifth aspect of an embodiment of the present disclosure, there is provided a readable storage medium having executable instructions stored thereon, which, when executed by a microprocessor, implement the steps of any one of the methods described in the first aspect.
[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0040] It can be seen from the above embodiments that in the disclosed embodiment, after the battery is switched to the static mode, the voltage of the battery cell in the battery is obtained to obtain the first voltage; then, the current in the precision resistor is detected in the static mode to obtain the static current; thereafter, when the static current meets the preset condition, the voltage of the battery cell is continuously obtained to obtain the second voltage; finally, when the difference voltage between the second voltage and the first voltage is less than the difference threshold, the battery state is determined to be in a normal state; when the difference voltage exceeds the difference threshold, the battery state is determined to be in an abnormal state. In this embodiment, by switching the battery to the static mode and obtaining the voltage twice, the two voltages are used to determine whether the battery is in a normal state or an abnormal state. For example, the battery is not discharged in the static mode, and the two voltages are equal or close, that is, the difference voltage is less than the difference threshold, and the battery is determined to be in a normal state; for another example, the battery may have an internal short circuit in the static mode, and the voltage will continue to drop, that is, the difference voltage will be greater than the difference threshold, and the battery is determined to be in an abnormal state. The battery can be tested for a single fault and an internal short circuit, and the protection performance of the battery can be improved while meeting the LPS requirements.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0043] Figure 1 It is a schematic diagram of a battery structure in the related art.
[0044] Figure 2 is a schematic structural diagram of a battery according to an exemplary embodiment.
[0045] Figure 3 The figure is a flow chart showing a method for obtaining a battery status according to an exemplary embodiment.
[0046] Figure 4 The flowchart of switching a battery to a rest mode is shown according to an exemplary embodiment.
[0047] Figure 5 The flowchart of determining whether an initial current satisfies a preset condition is shown according to an exemplary embodiment.
[0048] Figure 6 The figure is a flow chart showing another method for obtaining a battery status according to an exemplary embodiment.
[0049] Figure 7 to Figure 10is a block diagram showing another device for acquiring battery status according to an exemplary embodiment.
[0050] Fig.11 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] At present, the batteries in electronic devices are equipped with protection circuits. Figure 1 The battery shown in the figure has two sets of protection circuits: protection circuit 1 includes precision resistor 3 and protection switch device 5; protection circuit 2 includes precision resistor 4 and protection switch device 6. In practical applications, the battery can be tested for single faults using protection circuit 1 and protection circuit 2, thereby meeting the requirements of the safety regulation LPS (limited power source). However, the existing protection circuit cannot detect when an internal short circuit occurs in the battery cell 8, resulting in limited protection function.
[0053] In order to solve the above technical problems, the embodiment of the present disclosure provides a method for obtaining the battery status. To implement the above method, the embodiment of the present disclosure first Figure 1 The structure of the battery shown is appropriately adjusted. Figure 2 is a schematic diagram of the structure of a battery according to an exemplary embodiment. Figure 2 In the battery structure shown, a line connecting two devices indicates that there is an electrical connection between the two devices, and does not mean that there is only one line connecting the two devices.
[0054] See also Figure 2 A battery provided in this embodiment includes a set of protection circuits, which are composed of a precision resistor 3 and a protection chip 1. Since the precision resistor 3 is connected to one end of the battery cell 8, the precision resistor 3 can be used to detect the current of the battery cell 8 during the charging or discharging process of the battery cell 8.
[0055] For example, the protection chip 1 can obtain the voltage on the CS end of the precision resistor 3, and calculate the current on the precision resistor 3 according to the voltage on the precision resistor 3 and the resistance value of the precision resistor 3. According to the current, it can be judged whether the charging or discharging circuit is overcurrent. When overcurrent occurs, the protection switch device 5 can be turned off to protect the battery cell 8. Similarly, the battery fuel gauge 7 can also calculate the current on the precision resistor 3 to judge whether the charging or discharging circuit is overcurrent. When overcurrent occurs, the protection switch device 6 can be turned off to protect the battery cell 8.
[0056] In addition, the protection chip 1 can also obtain the voltage of the battery cell 8, compare the voltage with the voltage threshold, and determine whether the charging or discharging circuit is over-voltage. In the case of over-voltage, the protection switch device 5 can be turned off to protect the battery cell 8. Similarly, the battery fuel gauge 7 can also obtain the voltage of the battery cell 8, compare the voltage with the voltage threshold, and determine whether the charging or discharging circuit is over-voltage. In the case of over-voltage, the protection switch device 6 can be turned off to protect the battery cell 8.
[0057] It should be noted that the present embodiment only schematically describes the working process of the protection circuit in the battery, and in actual application, appropriate adjustments can be made according to specific scenarios.
[0058] based on Figure 2 The battery shown in the embodiment of the present disclosure also provides a method for obtaining the battery status. Figure 3 FIG. 1 is a flow chart showing a method for obtaining a battery status according to an exemplary embodiment. Figure 3 , a method for obtaining a battery status, which can be applied to a battery fuel gauge, includes steps 301 to 304, wherein:
[0059] In step 301, after the battery is switched to a rest mode, the voltage of the battery cell in the battery is obtained to obtain a first voltage.
[0060] In this embodiment, the battery may include multiple working modes, such as a static mode, a charging mode, or a discharging mode, which can be set according to specific scenarios and are not limited here.
[0061] In this embodiment, when the battery is in an initial mode, which includes a charging mode or a discharging mode, the battery can be switched to a static mode. Figure 4 , including: in step 401, the current of the precision resistor 3 can be detected in the initial mode, which is hereinafter referred to as the initial current for distinction. In step 402, it can be checked whether the initial current meets the preset condition. When the preset condition is met, the battery can be switched from the initial mode to the static mode. When the preset condition is not met, the current of the precision resistor 3 can be re-detected.
[0062] In one embodiment, it is determined whether the initial current meets the preset condition. Figure 5 , may include: in step 501, the current threshold and duration threshold in the initial mode may be obtained. For example, when the initial mode is the charging mode, the current threshold is Rest ChgI; when the initial mode is the discharging mode, the current threshold is Rest DsgI. For another example, the duration threshold may be Rest Time. It should be noted that the current threshold and duration threshold may be set according to the specific scenario and are not limited here. In step 502, it may be determined whether the initial current is less than the current threshold. In step 503, when the initial current is less than the current threshold, the duration is recorded; when the initial current is greater than the current threshold, the initial current is returned to be re-detected. In step 504, when the duration exceeds the duration threshold, it is determined that the initial current meets the preset conditions; when the duration is less than the duration threshold, it is determined that the initial current does not meet the preset conditions, and the initial current is returned to be re-detected.
[0063] Taking the charging mode as an example, the initial current Charge Current of the precision resistor 3 is detected to determine the size of the initial current Charge Current and the charging current threshold Rest ChgI. When the Charge Current is less than RestChgI, the duration Delay Time is recorded, and the Charge Current is re-detected when it is greater than Rest ChgI. When the Delay Time exceeds the Rest Time, it means that the Charge Current meets the preset conditions and the battery can be switched to the rest mode; when the Delay Time is less than the Rest Time, it means that the Charge Current does not meet the preset conditions and the Charge Current can be re-detected.
[0064] In this embodiment, after the battery is switched to the rest mode, the voltage of the battery cell 8 can be detected, which is hereinafter referred to as the first voltage Battery Voltage 1 for distinction. Figure 2 Taking the battery fuel gauge 7 as an example, the battery fuel gauge 7 is electrically connected to the ground and the positive electrode of the battery cell 8, respectively, and the voltage of the battery cell 8 can be obtained. Taking the protection chip 1 as an example, the protection chip 1 is electrically connected to the ground and the positive electrode of the battery cell 8, respectively, and the voltage of the battery cell 8 can be obtained.
[0065] It should be noted that when the battery is in the rest mode, the first voltage of the battery cell 8 can be directly detected.
[0066] In step 302, the current in the precision resistor is detected in the static mode to obtain a static current.
[0067] In this embodiment, the current of the precision resistor 3 can be detected in the static mode to obtain the static current. The acquisition method is the same as the solution of the above embodiment, and will not be repeated here.
[0068] In step 303, when the static current meets a preset condition, the voltage of the battery cell is continuously acquired to obtain a second voltage.
[0069] In this embodiment, it is possible to determine whether the static current meets the preset condition. The determination method is the same as Figure 5 The principles of the embodiments shown are the same. For details, please refer to Figure 5 and Figure 5 The illustrated embodiments will not be described in detail here.
[0070] In this embodiment, when the static current meets the preset condition, the voltage of the battery cell 8 can continue to be obtained, which is hereinafter referred to as the second voltage Battery Voltage 2 for distinction.
[0071] In step 304, when the difference voltage between the second voltage and the first voltage is less than a difference threshold, the battery state is determined to be a normal state; when the difference voltage exceeds the difference threshold, the battery state is determined to be an abnormal state.
[0072] In this embodiment, the difference voltage Battery Voltage2-Battery Voltage 1 between the first voltage and the second voltage can be obtained. Battery Voltage 2-Battery Voltage 1 can represent the offset of Battery Voltage 2 and Battery Voltage 1. Then, the difference voltage (Battery Voltage 2-Battery Voltage 1) and the difference threshold Abnormal Delta Voltage can be compared. When Battery Voltage 2-Battery Voltage 1 is less than Abnormal Delta Voltage, it indicates that in the static mode, the two detected voltages are the same or similar, and the battery cell 8 does not have a discharge or charge problem, that is, the battery is in a normal state. When Battery Voltage 2-Battery Voltage 1 exceeds Abnormal Delta Voltage, it indicates that in the static mode, the two detected voltages are significantly different, and the battery cell 8 has a discharge or charge problem, that is, the battery is in an abnormal state.
[0073] In this embodiment, continue to refer to Figure 2After the battery fuel gauge 7 determines that the battery is in an abnormal state, it can also enable its own designated pin (INT) to close the protection switch device 6 electrically connected to the designated pin, thereby disconnecting the current charging or discharging circuit and protecting the battery cell 8.
[0074] In one embodiment, see Figure 2 , when the precision resistor 3 is short-circuited and the battery cell 8 has an internal short circuit, the initial current and the static current detected by the battery fuel gauge 7 are both 0, and the first voltage and the second voltage both exist. Considering that the internal short circuit of the battery cell 8 will consume power, the second voltage will be the first voltage, that is, Voltage 2-BatteryVoltage 1 is less than the Abnormal Delta Voltage. At this time, it can still be determined that the battery is in an abnormal state. In other words, this embodiment can detect the problem of internal short circuit of the battery cell 8 when the precision resistor 3 is short-circuited.
[0075] In one embodiment, see Figure 2 , when the protection chip 1 fails and the battery cell 8 has an internal short circuit, the battery fuel gauge 7 can still detect that the battery is in an abnormal state. In other words, the present embodiment can detect the problem of an internal short circuit in the battery cell 8 when the protection chip 1 fails. Compared with the related art, the present embodiment can use one less set of protection circuits, which is beneficial to reduce the number of protection devices in the battery and reduce production costs.
[0076] So far, in this embodiment, the battery is switched to the static mode to obtain two voltages, and the two voltages are used to determine whether the battery is in a normal state or an abnormal state. For example, the battery is not discharged in the static mode, and the two voltages are equal or close, that is, the difference voltage is less than the difference threshold, and the battery is determined to be in a normal state. For another example, the battery may have an internal short circuit in the static mode, and the voltage will continue to drop, that is, the difference voltage will be greater than the difference threshold, and the battery is determined to be in an abnormal state. The battery can be subjected to a single fault test and an internal short circuit test to improve the protection performance of the battery while meeting the LPS requirements.
[0077] The following is the process of detecting the battery status in the charging mode. Figure 6, the battery charging current Charge Current can be detected by precision resistors, and the charging current Charge Current is compared with the charging current threshold RestChgI. If the Charge Current exceeds Rest ChgI, the charging current is re-detected. If the Charge Current is less than Rest ChgI, the duration Delay Time is recorded. After that, the duration Delay Time is compared with the duration threshold Rest Time. If Delay Time is less than Rest Time, the charging current is re-detected. If Delay Time exceeds RestTime, the battery is switched to the rest mode to detect the first voltage of the battery cell.
[0078] Continue to detect the static current of the battery and compare the static current with the current threshold. If the static current exceeds the current threshold Rest ChgI, re-detect the static current. If the static current is less than Rest ChgI, record the duration DelayTime. After that, compare the duration Delay Time with the duration threshold Rest Time. If Delay Time is less than RestTime, re-detect the charging current. If Delay Time exceeds Rest Time, detect the second voltage of the battery cell.
[0079] Obtain the difference voltage between the second voltage and the first voltage, compare the difference voltage with the difference voltage threshold, if the difference voltage is less than the difference voltage threshold, re-detect the static current, if the difference voltage exceeds the difference voltage threshold, determine that the battery is in an abnormal state, and the battery fuel gauge can enable the specified pin INT, turn off the protection switch 6, and disconnect the battery charging circuit to protect the battery cell 8.
[0080] The embodiment of the present disclosure also provides a device for obtaining a battery status, which is suitable for a battery fuel gauge in a battery. Figure 7 is a block diagram of a device for obtaining a battery status according to an exemplary embodiment. Figure 7 , a device for obtaining a battery status, comprising:
[0081] A first voltage acquisition module 701 is used to acquire the voltage of the battery cell in the battery after the battery is switched to the static mode to obtain a first voltage;
[0082] A static current acquisition module 702, used to detect the current in the precision resistor in the static mode to obtain the static current;
[0083] A second voltage acquisition module 703, configured to continue acquiring the voltage of the battery cell to obtain a second voltage when the static current meets a preset condition;
[0084] The battery status determination module 704 is used to determine that the battery status is a normal status when the difference voltage between the second voltage and the first voltage is less than a difference threshold; and to determine that the battery status is an abnormal status when the difference voltage exceeds the difference threshold.
[0085] In one embodiment, see Figure 8 , the first voltage acquisition module 701 includes:
[0086] The initial current acquisition unit 801 is used to detect the current of the precision resistor in an initial mode to obtain an initial current; the initial mode includes one of the following: a charging mode or a discharging mode;
[0087] The static mode switching unit 802 is used to switch the battery from the initial mode to the static mode when the initial current meets the preset condition.
[0088] In one embodiment, see Fig. 9 , the static mode switching unit comprises:
[0089] An acquisition subunit 901 is used to acquire a current threshold and a duration threshold in the initial mode;
[0090] A judging subunit 902, configured to judge whether the initial current is less than the current threshold;
[0091] A recording subunit 903, configured to record a duration when the initial current is less than the current threshold;
[0092] The determination subunit 904 is configured to determine, when the duration exceeds the duration threshold, whether the initial current satisfies the preset condition.
[0093] In one embodiment, see Fig.10 , the device further comprises:
[0094] The designated pin enabling module 1001 is used to enable the designated pin of the battery fuel gauge according to the trigger signal of the battery status determination module, so as to turn off the protection switch device in the battery electrically connected to the designated pin.
[0095] In one embodiment, the battery fuel gauge is further used to detect the initial current and the static current.
[0096] It is understandable that the device provided in the embodiment of the present disclosure corresponds to the content of the above-mentioned method embodiment. The specific content can refer to the content of each method embodiment, which will not be repeated here.
[0097] So far, in this embodiment, the battery is switched to the static mode to obtain two voltages, and the two voltages are used to determine whether the battery is in a normal state or an abnormal state. For example, the battery is not discharged in the static mode, and the two voltages are equal or close, that is, the difference voltage is less than the difference threshold, and the battery is determined to be in a normal state. For another example, the battery may have an internal short circuit in the static mode, and the voltage will continue to drop, that is, the difference voltage will be greater than the difference threshold, and the battery is determined to be in an abnormal state. The battery can be subjected to a single fault test and an internal short circuit test to improve the protection performance of the battery while meeting the LPS requirements.
[0098] Fig.11 1 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1100 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc., which includes a transmitting coil, a first magnetic sensor, and a second magnetic sensor in a device for obtaining a battery status.
[0099] Reference Fig.11 , the electronic device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , a communication component 1116 , and an image acquisition component 1118 .
[0100] The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions. In addition, the processing component 1102 may include one or more modules to facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
[0101] The memory 1104 is configured to store various types of data to support operations on the electronic device 1100. Examples of such data include instructions for any application or method operating on the electronic device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0102] The power supply component 1106 provides power to various components of the electronic device 1100. The power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1100. In this embodiment, the power supply component 1104 includes a battery. Figure 2 The structure shown is implemented, and the battery fuel gauge in the battery can execute a method for obtaining the battery status, thereby obtaining the battery status and protecting the battery.
[0103] The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0104] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the electronic device 1100 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
[0105] The I / O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc.
[0106] The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the electronic device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the electronic device 1100, the relative positioning of components, such as the display screen and keypad of the electronic device 1100, and the sensor assembly 1114 can also detect the position change of the electronic device 1100 or a component, the presence or absence of contact between the target object and the electronic device 1100, the orientation or acceleration / deceleration of the electronic device 1100, and the temperature change of the electronic device 1100.
[0107] The communication component 1116 is configured to facilitate wired or wireless communication between the electronic device 1100 and other devices. The electronic device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0108] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0109] In an exemplary embodiment, a non-transitory readable storage medium including executable instructions is also provided, such as a memory including instructions, and the above-mentioned executable instructions can be executed by a microprocessor of a battery in the electronic device 1100. Among them, the readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0110] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the schemes disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the disclosed schemes, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0111] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for obtaining a battery status, characterized in that: The battery is provided with a protection circuit, the protection circuit includes a precision resistor, and the method includes: After the battery is switched from the initial mode to the static mode, the voltage of the battery cell in the battery is obtained to obtain a first voltage; the initial mode includes one of the following: a charging mode or a discharging mode; detecting the current in the precision resistor in the static mode to obtain a static current; When the quiescent current meets a preset condition, continue to obtain the voltage of the battery cell to obtain a second voltage; the preset condition includes that the quiescent current is less than a current threshold and the duration of the quiescent current exceeds a duration threshold; When the difference voltage between the second voltage and the first voltage is less than a difference threshold, the battery state is determined to be in a normal state; when the difference voltage exceeds the difference threshold, the battery state is determined to be in an abnormal state.
2. The method according to claim 1, characterized in that: Switching the battery to a rest mode comprises: In an initial mode, the current of the precision resistor is detected to obtain an initial current; the initial mode includes one of the following: a charging mode or a discharging mode; When the initial current meets the preset condition, the battery is switched from the initial mode to a rest mode.
3. The method according to claim 2, characterized in that Determining whether the initial current satisfies the preset condition includes: Acquire a current threshold and a duration threshold in the initial mode; Determining whether the initial current is less than the current threshold; When the initial current is less than the current threshold, recording the duration; When the duration exceeds the duration threshold, it is determined that the initial current meets the preset condition.
4. The method according to claim 1, characterized in that: After determining that the battery state is an abnormal state, the method further includes: A designated pin of a battery fuel gauge is enabled to turn off a protection switch device in the battery that is electrically connected to the designated pin.
5. A device for obtaining battery status, characterized in that: The battery is provided with a protection circuit, the protection circuit includes a precision resistor, and the device includes: A first voltage acquisition module is used to acquire the voltage of the battery cell in the battery to obtain a first voltage after the battery is switched from an initial mode to a static mode; the initial mode includes one of the following: a charging mode or a discharging mode; A static current acquisition module, used for detecting the current in the precision resistor in the static mode to obtain the static current; A second voltage acquisition module, configured to continue acquiring the voltage of the battery cell to obtain a second voltage when the quiescent current meets a preset condition; the preset condition includes that the quiescent current is less than a current threshold and that a duration of the quiescent current exceeds a duration threshold; A battery status determination module is used to determine that the battery status is a normal status when the difference voltage between the second voltage and the first voltage is less than a difference threshold; and to determine that the battery status is an abnormal status when the difference voltage exceeds the difference threshold.
6. The device according to claim 5, characterized in that The first voltage acquisition module includes: An initial current acquisition unit, used to detect the current of the precision resistor in an initial mode to obtain an initial current; the initial mode includes one of the following: a charging mode or a discharging mode; The static mode switching unit is used to switch the battery from the initial mode to the static mode when the initial current meets the preset condition.
7. The device according to claim 5, characterized in that The static mode switching unit comprises: An acquisition subunit, used to acquire a current threshold and a duration threshold in the initial mode; A judging subunit, used for judging whether the initial current is less than the current threshold; A recording subunit, used for recording a duration when the initial current is less than the current threshold; The determination subunit is used to determine that the initial current meets the preset condition when the duration exceeds the duration threshold.
8. The device according to claim 5, characterized in that After determining that the battery state is an abnormal state, the device further includes: The designated pin enabling module is used to enable the designated pin of the battery fuel gauge according to the trigger signal of the battery status determination module, so as to turn off the protection switch device in the battery electrically connected to the designated pin.
9. A battery, characterized in that: A group of protection circuits are arranged in the battery; the group of protection circuits are composed of precision resistors and protection chips, the precision resistors are electrically connected to the battery cells, and are used to detect the current of the battery cells; the battery also includes a battery fuel gauge; a microprocessor and a memory are arranged in the battery fuel gauge, the memory contains the memory for storing executable instructions of the microprocessor, and the microprocessor is configured to execute the executable instructions in the memory to implement the steps of the method described in any one of claims 1 to 4.
10. An electronic device, characterized in that: Comprising the battery as claimed in claim 9.
11. A readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by a microprocessor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Quantitative estimation method of lithium ion power battery internal short-circuit degree
CN106154172A
Detection method and detection device for battery pack
CN106443498A