This Application claims priority of Taiwan Patent Application No. 109132210, filed on Sep. 18, 2020, the entirety of which is incorporated by reference herein.
The present disclosure relates to a battery device and operating method thereof, and, in particular, to a battery device with smart fast/normal charge switching and leakage prevention functions and operating method thereof.
Battery devices are indispensable in current portable electronic devices, such as smartphones, tablets, and laptops. Many battery devices are advertised as having a fast-charge function, which can charge the battery device to more than 80% in 30 to 60 minutes. However, some users do not require or want a fast-charge function. For example, some users consecutively connect adaptors to their electronic devices when they are using them. In addition, some users are accustomed to charging their electronic devices during sleep hours. In these cases, the fast-charge function is not necessary, and the fast-charge function may cause problems such as shortening the battery life and wasting battery capacity.
In addition, current electronic devices are continuously pursuing batteries having a larger capacity, to increase the stand-by time and usage time. However, leakage may occur in electronic devices due to poor design, aging, or failure of component parts. If there is any leakage on the system side of an electronic device, the electric quantity of battery (e.g. voltage level of battery) will still be gradually consumed, thereby reducing the usage time of the electronic device and wasting the increased capacity of the battery device.
Therefore, there is a need for a battery device and an operating method to provide a smart fast/normal charge switching to adjust the charge mode, while detecting leakage and preventing the battery device from consuming electric quantity due to system leakage.
The embodiments of the present disclosure provide a smart battery device, which is applied to an electronic device and which provides power for the electronic device. The smart battery device comprises: a battery pack, a sensing resistor, and a main management chip. The sensing resistor is configured to sense the charging and discharging of the smart battery device. The main management chip is connected to the battery pack, the sensing resistor, and the electronic device. The main management chip is configured to manage the charging and discharging of the smart battery device. When the electronic device is not turned on, if the main management chip detects a leakage event in the electronic device through the sensing resistor, the main management chip will enable the smart battery device to enter a temporary failure state to make the smart battery device stop discharging.
The embodiments of the present disclosure provide an operating method for a smart battery device, the operating method is applied to an electronic device including the smart battery device. The smart battery device comprises a battery pack, a sensing resistor, and a main management chip. The operating method comprises: detecting whether or not the electronic device has a leakage event via the sensing resistor; and when the electronic device has a leakage event, enabling the smart battery device to enter a temporary failure state via the main management chip, the temporary failure makes the smart battery device stop charging and discharging.
The embodiments of the present disclosure provide an operating method for a smart battery device. The operating method is applied to an electronic device including the smart battery device. The smart battery device comprises a battery pack, a sensing resistor, a main management chip, and an adaptor. The adaptor is configured to provide an external power supply for the electronic device and to charge the smart battery device. The operating method comprises the following steps. When the adaptor is connected to the electronic device, recording a continuously-inserted time via the main management chip. When the continuously-inserted time is longer than a first time period, setting the smart battery device to a normal charge mode via the main management chip.
The present disclosure is best understood from the following detailed description when read with the accompanying figures. It is emphasized that, in accordance with the standard practice in the industry, various features are not drawn to scale and are used for illustration purposes only. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion. It is also emphasized that the drawings appended illustrate only typical embodiments of this disclosure and are therefore not to be considered limiting in scope, for the disclosure may apply equally well to other embodiments.
The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
Still further, unless specifically disclaimed, the singular includes the plural and vice versa. And when a number or a range of numbers is described with “about,” “approximate,” and the like, the term is intended to encompass numbers that are within a reasonable range including the number described, such as within +/−10% of the number described or other values as understood by person skilled in the art. In addition, the present disclosure is not limited by the illustrated ordering of acts or events, as some acts may occur in different orders and/or concurrently with other acts or events. Furthermore, not all illustrated acts or events are required to implement a methodology in accordance with the present disclosure.
The present disclosure provides a battery device and a smart fast/normal charge switching method complementing the battery device. According to the user's usage habit, the smart fast/normal charge switching method can switch the battery device from the fast charge mode to the normal mode (also called slow charge mode) to increase the service life of the battery device. The present disclosure further provides a leakage prevention method, the leakage prevention method may be applied to the same battery device. The leakage prevention method can detect the leakage event of the electronic device and prevent the electric quantity of the battery device from consuming due to the leakage event, thereby maintain sufficient electric quantity at critical moments.
When the power adaptor 110 is inserted into the electronic device 100, external power from an external power supply (such as a general socket or a power bank) is provided to the power selector 120. The power selector 120 provides external power to the battery charger 130 and the power management unit 140. The battery charger 130 uses the power from the power selector 120 to charge the battery device 160. The power management unit 140 manages the power supplied to the processing device 150. For example, when the electronic device 100 is connected to the external power source (e.g. via the power adaptor 110), the power management unit 140 provides the power from the external power supply to the processing device 150. When the power adaptor 110 is not inserted into the electronic device 100 and the electronic device 100 is not connected to an external power supply, the power management unit 140 provides the power from the battery device 160 to the processing device 150.
The power button 170 is connected to the power selector 120 and is configured to provide activating and/or other instructions for the electronic device 100. In some embodiments, the electronic device 100 includes a monitor 180 connected to the processing device 150, wherein the monitor 180 may have a touch function. In some embodiments, the electronic device 100 further comprises a shortcut key (not shown), and the shortcut key is used to allow the user to send instructions to the electronic device 100. The shortcut key may be a single physical button, a combination of buttons, a gesture for touch screen, options in an application program, and a like, but the present disclosure is not limited thereto.
The sensing resistor 260 is coupled to the main management chip 210, battery pack 240, and negative pole P− of the battery device 200. The main management chip 210 may detect the charge/discharge current of the battery device 200 by the sensing resistor 260. For example, when the battery device 200 is coupled to an electronic device (e.g. electronic device 100), the main management chip 210 may detect the discharge current from battery device 200 to the electronic device by the sensing resistor 260. In the embodiments of the present disclosure, the sensing resistor 260 may be used to detect the leakage of the electronic device (e.g. electronic device 100) coupled with the battery device 200. For example, when the electronic device is not turned on, if the sensing resistor 260 detects the discharge current to the electronic device, it means that a leakage event has occurred.
The protection device 230 (e.g. fuse) is coupled between the battery pack 240 and the charge switch 251 (or the discharge switch 252), and the sub-management chip 220 is coupled to the main management chip 210, protection device 230, and the battery pack 240. The sub-management chip 220 and the protection device 230 act as a secondary protection of the battery device 200. For example, when the main management chip 210 is failure or detects that the charge switch 251 and/or discharge switch 252 are failure and thus the charge/discharge of the battery pack 240 cannot be controlled, the sub-management chip 220 switches the protection device 230 to a disconnected state to ensure that the battery pack 240 stops charging and discharging. The sub-management chip 220 may be an integrated circuit device, such as processor, microprocessor, controller, memory, other suitable IC, or combination thereof.
In some embodiments of the present disclosure, the battery device 200 further comprises a plurality of pins, such as a clock pin SMBus_Clock, a data pin SMBus_Data, an identification pin Battery_ID, and an identification pin System_ID. The battery device 200 may communicate with the connected electronic device (e.g. electronic device 100) via the clock pin SMBus_Clock and the data pin SMBus_Data. The identification pin Battery_ID may enable the electronic device (e.g. electronic device 100) to identify the battery device 200, and the identification pin System_ID may enable the battery device 200 to identify the electronic device. For example, when the battery device 200 is connected to the electronic device 100, it can be determined whether the battery device 200 has been inserted into the electronic device 100 via the identification pin Battery_ID and the identification pin System_ID.
The battery state data is stored in the main management chip 210 of the battery device 200. Based on the battery state data, the main management chip 210 performs the fast/normal charge switching method and the leakage prevention method provided by the present disclosure. The addresses of the battery states data are shown in Table 1 and Table 2 below, wherein Table 1 represents bits 0˜7, and Table 2 represents bits 8-15.
When bit 3 is “1”, it means that the battery device 200 is charging (the adaptor 110 is connected to (inserted into) the electronic device 100), and when bit 3 is “0”, it means that the battery device 200 is discharging (the adaptor 110 is not connected to the electronic device 100). When bit 7 is “1”, it means that the battery device 200 has entered (been inserted into) the electronic device 100, and when bit 7 is “0”, it means that the battery device 200 has left from the electronic device 100 (been removed from the electronic device 100). When both bit 9 and bit 15 are “1”, it means that the battery device 200 is in the fast charge mode.
In operation 330, the method 300 detects whether a leakage event occurs in the electronic device 100. For example, the main management chip 210 may detect whether a leakage event occurs in the electronic device 100 that is no turned on by using the sensing resistor 260. When a leakage event is detected, the method 300 proceeds to operation 340. If there is no leakage event been detected, the method 300 remains in operation 330 and keeps detecting whether a leakage event occurs in the electronic device.
In operation 340, the main management chip 210 enables the battery device 200 to a temporary failure state, the temporary failure state prohibits the battery device 200 from providing power to the electronic device 100. As a result, it can prevent the electric quantity stored in the battery device 200 from being consumed due to a leakage event of the electronic device 100. In some embodiments, the main management chip 210 enables the battery device 200 to enter the temporary failure state by setting the battery state data to “BA80 (represented in hexadecimal)”. Wherein “A” represents that bit 11 to bit 8 are “1010”, it means that the battery state is temporary failure, as shown in Table 2. Furthermore, “80” represents that bit 7 is “1” and bit 3 is “0”, it respectively means that the battery state is “Battery in” and “Battery discharge” (i.e. the adaptor is not connected to the electronic device), as shown in Table 1.
When a user wants to turn on the electronic device 100, the user can use a hotkey send an instruction to make the battery device 200 and the electronic device 100 operate normally. In some embodiments, the hotkey may be the power button of the electronic device 100, such as power button 170. In other embodiments, the hotkey may be a shortcut key (not shown) disposed additionally and different to the power button. In operation 350, the user can send a first instruction to the main management chip 210 via the hotkey, it makes the method 300 proceed to operation 360.
In operation 360, the main management chip 210 varies the battery state of the battery device 200 according to the first instruction. In some embodiments, the main management chip 210 sets the battery state to “0188 (represented in hexadecimal)”, and then sets the battery state to “4180 (represented in hexadecimal)” immediately. As shown in Table 1 and Table 2, “0188” means that the state of the battery device 200 is the normal mode (normal charge mode), battery in (the battery device is inserted into electronic device), and battery charge (adaptor is inserted). It should be noted that, at this time, the adaptor is not actually inserted into the electronic device 100. The “0188” is only a transitional state, it is used to make the main management chip 210 think that the present state is normal and no leakage event has occurred. After “0188”, the main management chip 210 sets the battery state to “4180” immediately.
As shown in Table 1 and Table 2, “4180” means that the state of the battery device 200 is normal mode, battery in, and battery discharge (adaptor is not inserted). In this time, bit 11 to bit 8 are “0001”, the temporary failure state is released, and the method 300 proceeds to operation 370. In operation 370, since the temporary failure state is released, both the battery device 200 and the electronic device 100 operate normally, and the battery device 200 normally provides power to the electronic device 100.
As described above, in operation 350, the electronic device 100 is turned on at the same time that the hotkey sends the first instruction. Since the electric quantity consumed by the electronic device 100 after turning on is much greater than that the power consumed by the leakage, the leakage event can be ignored after the electronic device 100 is turned on. As a result, the battery device 200 can discharge normally without being limited to the leakage event.
The leakage prevention method provided by the method 300 can prevent the battery within the electronic device that is not turned on from continuously discharging due to a leakage event, and prevent the stored electric quantity being consumed. As a result, the actual operating time of the electronic device can be increased, the lifetime of the battery device can be increased, and the aging of the electronic device components can be retarded. It should be noted that the codes in Table 1, Table 2, and various embodiments are only examples, and those skilled in the art can easily change them, and these changes are encompassed by the scope of the present disclosure.
After operation 420, the method 400 proceeds to operation 430. In operation 430, the method 400 detects whether the adaptor is inserted into the electronic device. For example, detecting whether the adaptor 110 is inserted into the electronic device 100. When the adaptor 110 is not detected, the method 400 proceeds to operation 435. In operation 435, the main management chip 210 sets bit 3 to “0”. When it is detected that the adaptor 110 has been connected to the electronic device 100. the method 400 proceeds to operation 440. In operation 440, the main management chip 210 sets bit 3 to “1”.
After detecting that the adaptor 110 is inserted (operation 440), the method 400 proceeds to operation 450. In operation 450, the method 400 performs timing to record a continuously-inserted time that how long the adaptor 110 is continuously inserted into the electronic device 100, and record whether the continuously-inserted time is longer than a first time period. For example, the main management chip 210 performs timing with a timer (not shown). In some embodiments, the first time period is 168 hours. However, the present disclosure is not limited thereto, the users and/or manufacturers can set the first time period to any suitable time to meet their requirements.
The recorded continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 represents the time period that the battery device can be charged. Therefore, the longer the continuously-inserted time, the more sufficient time the battery device 200 can be charged, and the less the demand for the fast-charge function. Therefore, the present disclosure makes the judgment by setting the first time period. When the continuously-inserted time is longer than the first time period, it means that the user will connect the adaptor to the electronic device for a long time, and thus the fast-charge function is not needed.
When the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is longer than the first time period, the method 400 switches the battery device 200 from fast charge mode to normal charge mode. In some embodiments, the main management chip 210 sets bit 15 and bit 9 to “0” and sets bit 8 to “1” to switch the battery device 200 from fast charge mode to the normal charge mode. In
In some embodiments, when the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is shorter than the first time period, the method 400 proceeds to operation 460. In operation 460, the method 400 determines whether the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is longer than a second time period. When the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is longer than the second time period, the method 400 proceeds to operation 470.
In operation 470, the method 400 performs counting to record a consecutively-inserted number of times that how many times the adaptor 110 is consecutively inserted into the electronic device 100, and record whether the consecutively-inserted number of times is greater than a specific number of times. It should be noted that, each time of the consecutively-inserted number of times means that the adaptor 110 has been inserted into and removed from the electronic device 100 once, and the continuously-inserted time of each time of the consecutively-inserted number of times is shorter than the first time period but longer than the second time period. For example, assuming that the adaptor has been inserted into and removed from the electronic device four times, called first insertion, second insertion, third insertion, and fourth insertion, wherein the first insertion lasted for a first period, the second insertion lasted for a second period, the third insertion lasted for a third period, and the fourth insertion lasted for a fourth period. If the first period, the second period, the third period, and the fourth period are shorter than the first time period but longer than the second time period, the consecutively-inserted number of times is four. If the first period, the second period, and the third period are shorter than the first time period and longer than the second time period but the fourth period is shorter than the second time period, the consecutively-inserted number of times is three. If the first period, the second period, and the fourth period are shorter than the first time period and longer than the second time period but the third period is shorter than the second time period, the consecutively-inserted number of times is two, and the counting and the recording of the consecutively-inserted number of times will restart at the fourth insertion. For example, the main management chip 210 performs counting with a counter (not shown). In some embodiments, the second time period is 3 hours, and the specific number of times is 10 times. However, the present disclosure is not limited thereto, the users and/or manufacturers can set the second time period to any suitable time and set the specific number of times to any suitable number of times to meet their requirements.
Although the continuously-inserted time of the adaptor is not very long, if the continuously-inserted time of each insertion of the adaptor can maintain a sufficient charging time for the battery device, it means that the demand for the fast-charge function is low. Therefore, the present disclosure makes the judgment by setting the second time period and the specific number of times. When the continuously-inserted time is longer than the second time period and the consecutively-inserted number of times is greater than the specific number of times, it means that the user will provide sufficient charging time for the battery device when using the adaptor, and thus the fast-charge function is not needed.
When the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is shorter than the first time period but longer than the second time period and the consecutively-inserted number of times is greater than the specific number of times, the method 400 switches the battery device 200 from the fast charge mode to the normal charge mode (operation 490). In some embodiments, the main management chip 210 sets bit 15 and bit 9 to “0” and sets bit 8 to “1” to switch the battery device 200 from fast charge mode to the normal charge mode.
When the continuously-inserted time that the adaptor 110 is continuously inserted into the electronic device 100 is shorter than the second time period or the consecutively-inserted number of times is less than the specific number of times, the battery device remains in fast charge mode. In
In some embodiments, after the battery device 200 is switched to the normal charge mode, it can still be switched to the fast charge mode. In operation 480, the user can send a second instruction to the main management chip 210 via a shortcut key to switch the battery device 200 to the fast charge mode. The shortcut key may be a single physical button, a combination of buttons, a gesture for touch screen, options in an application program, and a like, but the present disclosure is not limited thereto. In some embodiments, the main management chip 210 sets bit 15 and bit 9 to “1” and sets bit 8 to “0” to switch the battery device 200 from the normal charge mode to the fast charge mode (operation 495).
In some embodiments, the electronic device 100 further stores an application program, the application program can display that the battery device 200 is currently in the normal charge mode or the fast charge mode via the monitor 180.
The smart fast/normal charge switching method provided by the method 400 can switch between the fast charge mode and the normal charge mode responding to habits of the users. As a result, it can be avoided that the unnecessary fast-charge function shortens the lifetime of the battery device. It should be noted that the codes in Table 1, Table 2, and various embodiments are only examples, and those skilled in the art can easily change them, and these changes are encompassed by the scope of the present disclosure.
In some embodiments, the method 300 and the method 400 can be performed simultaneously by the same device (e.g. the electronic device 100 and the battery device 200). For example, operation 430 to operation 495 of the method 400 may be performed after operation 370 of the method 300. Alternatively, operation 330 to operation 370 of the method 300 may be performed between operation 420 and operation 430 of the method 400.
In some embodiments, the electronic device (e.g. the electronic device 100) may be a computer device running a Windows operating system. In these embodiments, the battery device (e.g. the battery device 200) can perform internal operations according to the battery state data (e.g. Table 1 and Table 2). For example, the battery device 200 can detect whether the battery device 200 is inserted into the electronic device 100, detect whether the adaptor 110 is inserted into the electronic device 100, enable the battery device 200 to enter a temporary failure state to prevent leakage, and/or switch the battery device 200 to the normal charge state according to the result of the timing and the counting.
In these embodiments, the electronic device 100 may comprise an embedded controller, the embedded controller can be disposed in the main management chip 210. The embedded controller can convert instruction (e.g. the first instruction and the second instruction) from the hotkey and/or shortcut key into hexadecimal codes.
The embedded controller can send information that comes from the battery device 200 and/or the hotkey (and the shortcut key) to the advanced configuration and power interface (ACPI) of the basic input output system (BIOS) to control the charge and discharge of the battery device 200 via the ACPI.
The ACPI can transmit information about the battery device 200 to an application program in the operating system via the Windows Management Instrumentation (WMI) of the operating system. The application program can display various information of the battery device 200 via a monitor (e.g. the monitor 180), such as battery state data, electric quantity, fast charge or normal charge mode, temperature, and a like. In some embodiments, the user can switch between the fast/normal charge modes through the application program.
The present disclosure provides a battery device, the battery device can perform a smart fast/normal charge switching method and a leakage prevention method, or perform both of them simultaneously. The smart fast/normal charge switching method can switch the charge mode between the fast charge mode and the normal charge mode responding to the habit of the user. As a result, the deterioration of the battery device caused by the unnecessary fast-charge function can be avoided, and thus the lifetime of the battery device can be increased. The leakage prevention method can detect the leakage of the electronic device that is not turned on, and prevent the battery device from reducing the stored electric quantity due to continuous discharging caused by the leakage event. As a result, the actual operating time of the electronic device can be increased, the lifetime of the battery device can be increased, and the aging of the electronic device components can be retarded.
The foregoing has outlined features of several embodiments so that those skilled in the art may better understand the detailed description that follows. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
109132210 | Sep 2020 | TW | national |