This application claims the benefit of priority to China Patent Application No. 202311412495.4, filed on Oct. 27, 2023, in the People's Republic of China. The entire content of the above identified application is incorporated herein by reference.
Some references, which may include patents, patent applications and various publications, may be cited and discussed in the description of this disclosure. The citation and/or discussion of such references is provided merely to clarify the description of the present disclosure and is not an admission that any such reference is “prior art” to the disclosure described herein. All references cited and discussed in this specification are incorporated herein by reference in their entireties and to the same extent as if each reference was individually incorporated by reference.
The present disclosure relates to a circuit and a method, and more particularly to a battery detection circuit and a battery detection method.
Existing electronic products such as laptops or tablets may only be operated in limited areas or environments since there are no relevant protection mechanisms designed for harsh environments.
For example, when such electronic products are used in a low-temperature environment, there may be drastic changes in their battery power (or even sudden drops to 0%). This can cause an operating system of the electronic products to automatically enter into sleep mode or shut down directly, which can greatly inconvenience the user if data is not backed up in advance.
On the other hand, when such electronic products are stored in a high-humidity environment, excessive humidity may easily cause condensation on certain components such as a printed circuit board thereof, leading to short-circuiting of the batteries in these products or even fire hazard.
In response to the above-referenced technical inadequacies, the present disclosure provides a battery detection circuit and a battery detection method capable of being used in harsh environments.
In one aspect, the present disclosure provides a battery detection circuit suitable for an electronic device with a multi-battery architecture, and the battery detection circuit includes a plurality of battery gauge circuits and a processing circuit. The battery gauge circuits are respectively configured to read battery information of a plurality of batteries, and the battery information at least includes a current battery capacity, a current temperature and a current cell voltage. The processing circuit is electrically connected to the battery gauge circuits, and is configured to receive and process the battery information of the batteries, and to perform the following: determining whether or not a battery temperature of any one of the plurality of batteries is greater than a designated temperature; determining whether the current cell voltage of any one of the plurality of batteries is lower than a designated voltage in response to determining that the battery temperature of any one of the plurality of batteries is not greater than the designated temperature; and adjusting the corresponding current battery capacity to generate a reported battery capacity in response to determining that the current cell voltage of any one of the plurality of batteries is lower than the designated voltage.
In another aspect, the present disclosure provides a battery detection method suitable for an electronic device with a multi-battery architecture, and the battery detection method includes: configuring a plurality of battery gauge circuits to respectively read battery information of a plurality of batteries, in which the battery information at least includes a current battery capacity, a current temperature and a current cell voltage; configuring a processing circuit to receive and process the battery information of the plurality of batteries, and to perform the following: determining whether or not a battery temperature of any one of the plurality of batteries is greater than a designated temperature; determining whether the current cell voltage of any one of the plurality of batteries is lower than a designated voltage in response to determining that the battery temperature of any one of the plurality of batteries is not greater than the designated temperature; and adjusting the corresponding current battery capacity to generate a reported battery capacity in response to determining that the current cell voltage of any one of the plurality of batteries is lower than the designated voltage.
These and other aspects of the present disclosure will become apparent from the following description of the embodiment taken in conjunction with the following drawings and their captions, although variations and modifications therein may be affected without departing from the spirit and scope of the novel concepts of the disclosure.
The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a,” “an” and “the” includes plural reference, and the meaning of “in” includes “in” and “on.” Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first,” “second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
Referring to
The battery detection circuit 1 can include a plurality of battery gauge circuits (e.g., battery gauge circuits 10-1, 10-2, 10-3) and a processing circuit 12. The battery gauge circuits are configured to read battery information of the plurality of batteries. In the battery detection circuit 1, the processing circuit 12 can include, for example, one or more processors and a memory electrically connected thereto. The processing circuit 12 is electrically connected to the battery gauge circuits 10-1, 10-2, and 10-3. Each of the battery gauge circuits 10-1, 10-2, 10-3 can be, for example, an isolated integrated circuit, or implemented in firmware for a programmable microprocessor.
In one embodiment of the present disclosure, the battery gauge circuits 10-1, 10-2, and 10-3 can be used to monitor a current cell voltage, charging/discharging currents and a battery temperature of each battery 3, and estimate the battery capacity, such as a state of charge (SOC) and a fully charged capacity (FCC) of each battery 3. Taking the battery 3 with cells connected in a combination of series and parallel connections, such as 3S2P as an example, the battery gauge circuits 10-1, 10-2, and 10-3 can read a current battery capacity, a current temperature, and a current cell voltage of the battery 3 (for example, as having three voltages).
The battery gauge circuits 10-1, 10-2, and 10-3 can estimate a state of charge (SOC) of each battery 3 through an open circuit voltage (OCV) algorithm or a coulomb counter. The open circuit voltage algorithm can be performed by mapping an open circuit voltage to an SOC look-up table, and a general definition of the open circuit voltage is only if the battery has been in a relaxation phase for approximately more than 30 minutes. The coulomb counter operation theory connects a sense resistor in the charge/discharge path of battery, and an analog to digital converter (ADC) measures a voltage on the sense resistor and then transfers the voltage into a current value when the battery is in a charging or discharging state. A real time counter (RTC) is then used to integrate the current value with time to accurately calculate the SOC during charge or discharge in real time. Through the above method, a remaining capacity (RMC) and the FCC of each battery 3 can be calculated.
The relationship between SOC, RMC and FCC can be expressed by the following formula (1):
For example, if the RMC is 4000 mAh and the FCC is 5000 mAh, the SOC can be calculated to be 4000/5000*100%=80%.
Therefore, the battery information can at least include a current battery capacity, a current temperature, and a current cell voltage of each battery 3. Generally speaking, the operating system 4 can report the current battery capacity, the current temperature, and the current cell voltage of each battery 3 through the battery gauge circuits 10-1, 10-2, and 10-3. The processing circuit 12 is electrically connected to the battery gauge circuits 10-1, 10-2, and 10-3, and is configured to receive and process the battery information of the batteries 3.
Step S100: determining whether or not a battery temperature of any one of the plurality of batteries is greater than a designated temperature. In step S100, if it is determined that the battery temperature is not greater than the designated temperature, the electronic device 2 may be in a low temperature state, and the battery capacity may change drastically or may suddenly drop to 0%. Therefore, it may be necessary to perform adjustments to the battery capacity. The designated temperature is, for example, within a range from −5° C. to −15° C. Preferably, the designated temperature ranges from −8° C. to −12° C., for example.
In response to determining that the battery temperature of any one of the batteries is greater than the designated temperature, the method proceeds to step S101: not adjusting a reported battery capacity.
In response to determining that the battery temperature of each of the batteries is not greater than the designated temperature, the method proceeds to step S102: determining whether or not a current cell voltage of any one of the plurality of batteries is lower than a designated voltage. Specifically, if the current cell voltage of any one of the batteries 3 is lower than the designated voltage (for example, 3V), an overall battery capacity may change drastically due to low temperature.
In response to determining that the current cell voltage of any one of the batteries 3 is lower than the designated voltage, the method proceeds to step S103: adjusting the corresponding current battery capacity to generate a reported battery capacity. In this step, the current battery capacity can be periodically reduced by a predetermined proportion according to a predetermined time for generating a reported battery capacity. For example, the reported battery power can be adjusted by reducing the reported battery capacity by 1% every 20 seconds, thereby avoiding drastic changes in the overall battery capacity due to the low temperature.
In response to determining in step S102 that the current cell voltage of each battery 3 is not lower than the designated voltage, the method proceeds to step S101: not adjusting the reported battery capacity.
Step S104: sending the reported battery capacity to the operating system executed on the electronic device.
Step S105: statistically collecting, by the operating system, a plurality of the reported battery capacities respectively corresponding to the batteries to obtain a total reported battery capacity.
Optionally, in step S105, in response to the total reported battery capacity being lower than a low battery standard, the operating system 4 can generate a low battery warning through the electronic device 2. For example, a warning message can be provided through a display of the electronic device 2, or a warning sound can be emitted through a built-in speaker of the electronic device 2, thereby reminding a user to backup any important data currently in use or to turn off the electronic device 2 through a normal shutdown procedure.
Reference is made to
Continuing with step S100, in response to determining in step S100 that the battery temperature of each of the batteries 3 is less than or equal to the designated temperature, the method then proceeds to step S200: determining whether or not a difference between a current fully charged battery capacity and a previous fully charged battery capacity of any one of the batteries exceeds a designated fully charged capacity difference. It should be noted that in this step, the current fully charged battery capacity and the previous fully charged battery capacity are both fully charged capacities (FCC).
For example, the battery gauge circuits 10-1, 10-2, and 10-3 can periodically detect and record the FCC. If it is determined in step S200 that the difference between the current fully charged battery capacity and the previous fully charged battery capacity of any one of the batteries 3 exceeds the designated fully charged capacity difference, for example, 150 mAh, the method proceeds to step S201: adjusting the corresponding current battery capacity to generate the reported battery capacity. The method then proceeds to step S104. Similarly, the current battery capacity can be periodically reduced by a predetermined proportion according to the predetermined time to generate the reported battery capacity, thereby avoiding drastic changes in the overall battery capacity due to low temperature.
If it is determined in step S200 that the difference between the current fully charged battery capacity and the previous fully charged battery capacity of each battery 3 does not exceed the designated fully charged difference, the method proceeds to step S101: not adjusting the reported battery capacity.
Therefore, by detecting the FCC of each battery 3, it is possible to intervene in the adjustment of the reported battery capacity when the FCC is significantly affected by low temperature.
Reference is made to
Continuing with step S100, if it is determined in step S100 that the battery temperature of each of the batteries 3 is less than or equal to the designated temperature, then the method proceeds to step S300: determining whether or not the remaining capacity of any one of the batteries is zero.
For example, the battery gauge circuits 10-1, 10-2, and 10-3 can periodically detect and record the remaining battery capacity (RMC). If it is determined in step S300 that the remaining power of any battery 3 is zero, it means that the battery is affected by low temperature and the remaining capacity has changed drastically. The method then proceeds to step S301: adjusting the corresponding current battery capacity to generate the reported battery capacity. The method then proceeds to step S104. Similarly, the current battery capacity can be periodically reduced by a predetermined proportion according to the predetermined time to generate the reported battery capacity, thereby avoiding drastic changes in the overall battery capacity due to the remaining power of one of the batteries 3 reaching zero. That is, if it is determined in step S300 that the remaining power of each battery 3 is not zero, the method can proceeds to step S101.
Reference is made to
As shown in
As shown in
Reference is further made to
Specifically, when the electronic device 2 is stored, the electronic device 2 is usually turned off and the power source 5 is removed. However, when the environment in which the electronic device 2 is stored is relatively harsh, a protection mechanism needs to be designed to prevent short circuit or combustion events that may occur during storage.
Therefore, reference is made to
Step S400: determining whether or not the electronic device is turned off and is connected to the power source. In response to determining that the electronic device is not turned off or is not connected to the power source, step S400 is performed repeatedly.
In response to determining that the electronic device 2 is turned off and the power source 5 is not connected in step S400, the method proceeds to step S401: determining whether or not the current cell voltage of each one of batteries is higher than a designated storing voltage. The designated storing voltage can be, for example, 9V.
If it is determined in step S401 that the current cell voltage of each battery is higher than the designated storing voltage, it means that no voltage drop has occurred, and the method returns to step S400 to repeatedly detect whether or not the electronic device 2 is in the storage state.
If it is determined in step S401 that the current cell voltage of any one of batteries 3 is not higher than the designated storing voltage, step S402 is performed for the battery 3 having the current cell voltage that is not higher than the designated storing voltage: determining whether or not the present battery current is higher than a designated storing current, for example, 1 A.
In response to determining that the present battery current is not higher than the designated storing current in step S402, the method returns to step S400 to repeatedly detect whether or not the electronic device 2 is in the storage state.
In response to determining that the present battery current is higher than the designated storing current in step S402, the method proceeds to step S403: controlling the corresponding battery to enter a shutdown mode. In step S403, the designated storing voltage and designated storing current are designed to detect whether or not the current cell voltage of each battery 3 has a voltage drop and a large current.
When a system of the electronic device 2 is turned off and the power source, such as an alternating current (AC) adapter, is not connected, if an abnormality and a short-circuit event occurs in the system which causes a voltage drop and large current in the battery voltage, the processing circuit (microprocessor) can detect the battery voltage and the battery current. When the battery voltage is less than the designated voltage (for example, 9V) and the battery discharge current is greater than the designated current (1A), it is determined that a short-circuit event has occurred, and the battery can be controlled to immediately enter the shutdown mode such that the batteries 3 will no longer output voltage, or the current of each battery 3 can be decreased to about 1 mA or less, thereby preventing the battery 3 from bursting into flames.
In conclusion, in the battery detection circuit and battery detection method provided by the present disclosure, the battery voltage, fully charged capacity and/or remaining capacity can be monitored, respectively, and the adjustment of the reported battery capacity can be made when a specific condition is met, thereby preventing users from encountering drastic changes in the battery capacity at low temperature, or preventing the electronic device from automatically shutting down or entering sleep mode when the battery capacity drops to 0%. The users are thereby allowed to back up their data and perform a normal shut down of the electronic device in time.
In addition, in the battery detection circuit and battery detection method provided by the present disclosure, a protection mechanism is further designed for the storage state. If the short-circuit event occurs due to harsh environments, the battery will be controlled to immediately enter the shutdown mode to prevent the battery from bursting into flames.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202311412495.4 | Oct 2023 | CN | national |