TWI821056B - Electronic device and reporting method of battery capacity - Google Patents
Electronic device and reporting method of battery capacity Download PDFInfo
- Publication number
- TWI821056B TWI821056B TW111146041A TW111146041A TWI821056B TW I821056 B TWI821056 B TW I821056B TW 111146041 A TW111146041 A TW 111146041A TW 111146041 A TW111146041 A TW 111146041A TW I821056 B TWI821056 B TW I821056B
- Authority
- TW
- Taiwan
- Prior art keywords
- capacity
- battery
- system circuit
- remaining
- voltage
- Prior art date
Links
Images
Landscapes
- Tests Of Electric Status Of Batteries (AREA)
- Secondary Cells (AREA)
- Stand-By Power Supply Arrangements (AREA)
Abstract
Description
本發明是關於電池容量回報,特別是一種適用於低溫環境下的電子裝置及電池容量回報方法。 The present invention relates to battery capacity reporting, in particular to an electronic device and battery capacity reporting method suitable for low temperature environments.
一般而言,電池的剩餘容量是由電池計來計量。由於溫度會影響到剩餘容量的計量,故電池計通常會依據一電池演算法來補償溫度對剩餘容量的影響。 Generally speaking, the remaining capacity of the battery is measured by a battery meter. Since temperature will affect the measurement of remaining capacity, battery meters usually compensate for the impact of temperature on remaining capacity based on a battery algorithm.
針對電池使用在低溫下之情況,目前電池製作商在製造電池時是根據單一低溫溫度(例如,設定低溫溫度為攝氏-21度)與固定負載來設置電池演算法的參數。然而,在真實使用情況下,低溫溫度是多變的,例如變成攝氏-35度,此時電池演算法將不敷使用,而致使電池的剩餘容量發生異常跳趴(%),例如剩餘容量從50%直接跳至0%。如此一來,會導致電池的供電時間大幅縮短,甚至導致運用此電池的電子裝置瞬間斷電而無法開機使用。 For batteries used at low temperatures, battery manufacturers currently set battery algorithm parameters based on a single low temperature temperature (for example, setting the low temperature temperature to -21 degrees Celsius) and a fixed load when manufacturing batteries. However, in actual use, the low temperature is variable, for example, it becomes -35 degrees Celsius. At this time, the battery algorithm will not be used enough, causing the remaining capacity of the battery to jump abnormally (%). For example, the remaining capacity changes from 50% jumps directly to 0%. As a result, the power supply time of the battery will be greatly shortened, and even the electronic device using the battery will be powered off momentarily and cannot be turned on.
在一實施例中,本發明提供一種電子裝置。電子裝置包含電池、電池計與處理器。電池用以供電給該電子裝置。電池計用以計量電池以產生電池的複數剩餘容量、電池溫度與電池電壓。處理器用以依序讀取 複數剩餘容量。於讀取到剩餘容量等於截止容量且前一筆的剩餘容量大於預設容量時,處理器根據電池溫度與電池電壓確認是否滿足預設條件。當確認滿足預設條件時,處理器執行容量修正程序。容量修正程序包含以前一筆的剩餘容量作為修正容量,以及回報修正容量給系統電路。 In one embodiment, the present invention provides an electronic device. Electronic devices include batteries, battery meters and processors. The battery is used to power the electronic device. The battery meter is used to measure the battery to produce the battery's remaining capacity, battery temperature and battery voltage. The processor is used to read sequentially Plural remaining capacity. When it reads that the remaining capacity is equal to the cut-off capacity and the previous remaining capacity is greater than the preset capacity, the processor confirms whether the preset conditions are met based on the battery temperature and battery voltage. When it is confirmed that the preset conditions are met, the processor executes the capacity correction procedure. The capacity correction program includes the remaining capacity of the previous transaction as the correction capacity, and reporting the correction capacity to the system circuit.
在一實施例中,本發明提供一種電池容量回報方法。電池容量回報方法包含:依序讀取電池計計量電池所產生的複數剩餘容量;於讀取到剩餘容量等於截止容量且前一筆的剩餘容量大於預設容量時,根據電池的電池溫度與電池電壓確認是否滿足一預設條件;以及當確認滿足預設條件時,執行容量修正程序。容量修正程序包含以前一筆的剩餘容量作為修正容量,以及回報修正容量給系統電路。 In one embodiment, the present invention provides a battery capacity reporting method. The battery capacity reporting method includes: sequentially reading the remaining capacity generated by the battery meter to measure the battery; when the remaining capacity is read to be equal to the cut-off capacity and the previous remaining capacity is greater than the preset capacity, based on the battery temperature and battery voltage of the battery Confirm whether a preset condition is met; and when it is confirmed that the preset condition is met, execute a capacity correction procedure. The capacity correction program includes the remaining capacity of the previous transaction as the correction capacity, and reporting the correction capacity to the system circuit.
綜上所述,任一實施例之電子裝置及電池容量回報方法,其在電池演算法因於低溫下不敷使用而致使電池的容量的顯示(或回報)發生異常跳趴時,透過執行容量修正程序來產生並回報修正容量給系統電路,以致電子裝置的供電時間得以維持正常而不會因異常跳趴而縮短。此外,根據任一實施例之電池容量回報方法所實現的電子裝置可根據修正容量來顯示電池的容量給使用者,故使用者將不會看到電池的容量亂跳,進而可提升使用者體驗。 To sum up, the electronic device and battery capacity reporting method of any embodiment, when the battery algorithm is insufficient for use at low temperatures and causes the battery capacity display (or report) to abnormally jump, by executing the capacity The correction program generates and reports the correction capacity to the system circuit, so that the power supply time of the electronic device can be maintained normally and will not be shortened due to abnormal jumps. In addition, the electronic device implemented according to the battery capacity reporting method of any embodiment can display the battery capacity to the user according to the corrected capacity, so the user will not see the battery capacity jumping randomly, thereby improving the user experience. .
以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者瞭解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。 The detailed features and advantages of the present invention are described in detail below in the implementation mode. The content is sufficient to enable anyone skilled in the relevant art to understand the technical content of the present invention and implement it according to the content disclosed in this specification, the patent scope and the drawings. , anyone familiar with the relevant art can easily understand the relevant objectives and advantages of the present invention.
100:電子裝置 100: Electronic devices
110:電池 110:Battery
120:電池計 120:Battery meter
130:處理器 130: Processor
140:系統電路 140:System circuit
150:儲存單元 150:Storage unit
160:電源連接埠 160:Power port
AC:電源輸入 AC: power input
C1-CX:剩餘容量 C1-CX: remaining capacity
FC:電池容量 FC: battery capacity
NC:修正容量 NC: corrected capacity
R1-RN:剩餘容量 R1-RN: remaining capacity
TB:電池溫度 TB: battery temperature
VB:電池電壓 VB: battery voltage
S10~S60:步驟 S10~S60: steps
S501~S519:步驟 S501~S519: steps
圖1為電子裝置之一實施例的方塊示意圖。 FIG. 1 is a block diagram of an embodiment of an electronic device.
圖2為電池容量回報方法之一實施例的流程示意圖。 Figure 2 is a schematic flowchart of one embodiment of a battery capacity reporting method.
圖3為容量修正程序之一實施例的流程示意圖。 Figure 3 is a schematic flowchart of one embodiment of a capacity correction procedure.
圖4為容量修正程序之一實施例的流程示意圖。 Figure 4 is a schematic flowchart of one embodiment of a capacity correction procedure.
圖5為部份的容量修正程序之一實施例的流程示意圖。 FIG. 5 is a schematic flowchart of part of an embodiment of the capacity correction process.
圖6為部份的容量修正程序之一實施例的流程示意圖。 FIG. 6 is a schematic flowchart of an embodiment of part of the capacity correction procedure.
圖7為部份的容量修正程序之一實施例的流程示意圖。 FIG. 7 is a schematic flowchart of an embodiment of part of the capacity correction procedure.
為使本發明之實施例之上述目的、特徵和優點能更明顯易懂,下文配合所附圖式,作詳細說明如下。 In order to make the above objects, features and advantages of the embodiments of the present invention more obvious and understandable, detailed descriptions are given below with reference to the accompanying drawings.
必須了解的是,使用於本說明書中的「包含」一詞,是用以表示存在特定的技術特徵、數值、方法步驟、作業處理、元件以及/或組件,但並不排除可加上更多的技術特徵、數值、方法步驟、作業處理、元件、組件,或以上的任意組合。 It must be understood that the word "comprising" used in this specification is used to indicate the presence of specific technical features, values, method steps, processes, components and/or components, but does not exclude the possibility of adding more technical characteristics, numerical values, method steps, work processes, components, components, or any combination of the above.
圖1為電子裝置之一實施例的方塊示意圖。請參閱圖1。電子裝置100包含電池110、電池計120以及處理器130。其中,電池計120耦接於電池110內的電池芯,且處理器130耦接於電池計120。此外,電子裝置100更包含系統電路140與儲存單元150,且處理器130耦接於系統電路140與儲存單元150。
FIG. 1 is a block diagram of an embodiment of an electronic device. See Figure 1. The
電池110藉由其電池芯儲存電力,並且用以將所儲之電力提供給電子裝置100使用。在一些實施態樣中,電池110可為鋰離子電池、磷
酸鋰電池、鋰聚合物電池、鎳鎘電池、鉛酸電池或其他合適進行二次充供電之任何類型的電池。
The
電池計120可用以計量電池110的電池特性,例如剩餘容量R1-RN、電池溫度TB、電池電壓VB等,並且將計量結果輸出給處理器130。於此,電池計120可以一計量頻率反覆對電池110進行計量,以依序產生電池芯的複數剩餘容量R1-RN、電池溫度TB以及電池電壓VB。其中,N為大於1之正整數。
The
在一些實施例中,電池計120可與電池芯設置於電池110之殼體(圖未示)中,且電池計120可藉由感測電池110之殼體中的內部環境溫度來取得電池溫度TB(如藉由溫度偵測單元感測並產生對應的溫度)。但本發明不以此為限,電池計120亦可藉由電性連接至電池110的電池芯來取得電池溫度TB。此外,電池計120可利用開路電壓法或庫倫計量法來取得電池110的剩餘容量R1-RN,且剩餘容量R1-RN可以相對容量(relative state of capacity,RSOC)的表示方式來表示電池110的當前所儲存有的電力的量。在一些實施態樣中,電池計120可利用計量積體電路(gauge IC)來實施,但本發明並非僅限於此。
In some embodiments, the
處理器130用以依序讀取電池計120所產生的複數剩餘容量R1-RN,並分別根據剩餘容量R1-RN回報相應的電池容量FC給系統電路140。在一些實施例中,系統電路140可用以根據處理器130所回報的電池容量FC執行相應的作業。例如,致使電子裝置100在其顯示屏(圖未示)上顯示出處理器130所回報的電池容量FC給使用者看。
The
在一些實施態樣中,處理器130可利用嵌入式控制器(Embed Controller,EC)、系統單晶片(SoC)、中央處理器(CPU)、微控制器(MCU)、特殊應用積體電路(ASIC)、應用處理器(Application Processor,AP)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化邏輯裝置(PLD)或其他任何合適的電子組件來實現。系統電路140可至少包含作業系統(operating system,OS)。此外,儲存單元150可由一個或多個儲存元件實現,並且各儲存元件可為但不限於非揮發性記憶體,例如唯讀記憶體(ROM)或快閃記憶體(Flash memory)等或揮發性記憶體,例如隨機存取記憶體(RAM)。
In some implementations, the
值得注意的是,為了清楚闡述本發明,圖1為一簡化的方塊圖,其中僅顯示出與本發明相關之元件。對於本發明技術領域中具有通常知識者而言,應理解電子裝置100亦可能包含用以提供其他特定功能(例如,顯示、音效等等)的其他元件。
It is worth noting that, in order to clearly illustrate the present invention, FIG. 1 is a simplified block diagram in which only components related to the present invention are shown. For those with ordinary skill in the technical field of the present invention, it should be understood that the
在一些實施例中,電子裝置100可利用處理器130執行任一實施例的電池容量回報方法,使得電子裝置100在低溫環境下使用時,電池110的容量顯示(或回報)(即代表當前電池110的所有電池芯所儲存的電力的總量的顯示數值或回報數值)可不因電池演算法的不敷使用而發生異常跳趴(%)(即顯示或回報的電池容量非遞減而是從一數值驟然跳至另一數值)。如此一來,在低溫環境下使用電子裝置100時,電池110供電給電子裝置100的供電時間得以維持正常而不會因異常跳趴而縮短。此外,由於電子裝置100可根據任一實施例之電池容量回報方法所產生的修
正容量來顯示電池110的容量給使用者,使用者將不會看到電池110的容量亂跳,進而可提升使用者體驗。
In some embodiments, the
圖2為電池容量回報方法之一實施例的流程示意圖。請參閱圖1與圖2。在電池容量回報方法之一實施例中,電子裝置100可藉由處理器130依序讀取電池計120所輸出的剩餘容量R1-RN(步驟S10)。
Figure 2 is a schematic flowchart of one embodiment of a battery capacity reporting method. See Figure 1 and Figure 2. In one embodiment of the battery capacity reporting method, the
在步驟S10之一實施例中,處理器130可以一讀取頻率接收電池計120所產生的複數剩餘容量R1-RN。接續,處理器130可先對剩餘容量R1-RN進行資料過濾,並將濾除掉髒資料後的剩餘容量C1-CX暫存於儲存單元150中。其中,X為大於1且小於或等於N之正整數。並且,各剩餘容量C1-CX為剩餘容量R1-RN中之一者。之後,處理器130再自儲存單元150中依序讀取剩餘容量C1-CX,並分別根據剩餘容量C1-CX以一回報頻率回報電池的電池容量FC給系統電路140。在一些實施態樣中,所述回報頻率小於所述讀取頻率。其中,讀取頻率可例如但不限於為1秒1次。
In one embodiment of step S10, the
在處理器130於步驟S10中自儲存單元150讀取一剩餘容量後,處理器130會先判斷當筆的剩餘容量是否等於一截止容量(步驟S20)。在一些實施態樣中,所述截止容量可例如但不限於為0%。
After the
當處理器130判定當筆的剩餘容量(以剩餘容量C1為例)不等於截止容量時,處理器130會將當筆的剩餘容量C1直接回報給系統電路140(步驟S60),並且返回步驟S10,以自儲存單元150讀取下一筆的剩餘容量(以剩餘容量C2為例)並接續進行下一筆剩餘容量C2的判斷。
When the
依此類推,直到在對某一剩餘容量,例如剩餘容量C8的判斷中,若處理器130判定剩餘容量C8等於截止容量時,處理器130則會進
一步確認前一筆的剩餘容量,即剩餘容量C7是否大於一預設容量(步驟S30),以藉此判斷電池110之電池芯是否出現跳趴的情況。在一些實施態樣中,所述預設容量可為但不限於1%。
And so on, until in the judgment of a certain remaining capacity, such as the remaining capacity C8, if the
當處理器130於步驟S30之確認結果為剩餘容量C7小於或等於預設容量(例如剩餘容量C7為1%而等於預設容量)時,表示電池110是正常放電至截止容量而並未出現跳趴的情況。此時,處理器130會執行步驟S60以將當筆的剩餘容量C8回報給系統電路140。
When the confirmation result of the
而當處理器130於步驟S30之確認結果為剩餘容量C7大於預設容量(例如剩餘容量C7為50%而大於預設容量)時,表示電池110的容量出現了跳趴的情況,此時處理器130會進一步根據電池溫度TB與電池電壓VB確認一預設條件是否已滿足(步驟S40)。在一些實施例中,預設條件為電池溫度TB低於一溫度閾值且電池電壓VB高於一電壓閾值。在一些實施態樣中,溫度閾值可為攝氏0度或其他適用於表示低溫的溫度,且電壓閾值可為3.1伏特或其他適用於表示電池110沒電時的電壓值。
When the confirmation result of the
當處理器130於步驟S40之確認結果為不滿足預設條件時,例如當處理器130於步驟S40中判定電池溫度TB大於溫度閾值(即表示電池110非處於低溫之下)及/或電池電壓VB小於或等於電壓閾值(表示電池110確實沒電了)時,處理器130會執行步驟S60而將當筆的剩餘容量C8回報給系統電路140。
When the confirmation result of the
而當處理器130於步驟S40之確認結果為滿足預設條件時,表示發生跳趴情況的電池110是在低溫環境之下且電池110中其實仍有剩餘的電力。為了使電池110可將其所儲之電力完整地提供出來給電子裝置
100使用,此時處理器130不會回報當筆的剩餘容量C8給系統電路140,並且會執行一容量修正程序(步驟S50)。
When the confirmation result of the
圖3為容量修正程序之一實施例的流程示意圖。請參閱圖1與圖3。在容量修正程序之一實施例中,處理器130會以前一筆的剩餘容量C7,例如50%作為一修正容量NC(步驟S501),並回報修正容量NC給系統電路140(步驟S502)。於回報修正容量NC給系統電路140後,處理器130會開始計數一計數值(步驟S503),並判斷計數值是否達到一修正條件(步驟S504)。於判定計數值達到修正條件時,處理器130會以當前的修正容量NC扣除一固定容量後來作為一新的修正容量NC(步驟S505),並返回執行步驟S502,以將更新後的修正容量NC回報給系統電路140。
Figure 3 is a schematic flowchart of one embodiment of a capacity correction procedure. See Figure 1 and Figure 3. In one embodiment of the capacity correction program, the
在一些實施例中,所述的修正條件可視電池110的最大容量而定。在一些實施態樣中,當電池110的最大容量大於8000毫安培小時(mAh)時,修正條件可例如但不限於為計數值等於40的整數倍。而當電池110的最大容量小於或等於8000毫安培小時(mAh),修正條件可例如但不限於為計數值等於20的整數倍。此外,固定容量可例如但不限於為1%。
In some embodiments, the correction condition may depend on the maximum capacity of the
在一些實施例中,於執行步驟S505之後並返回依序執行步驟S502、步驟S503時,計數值可不歸零而繼續累加。但本發明不以此為限。在另一些實施例中,於執行步驟S505之後,計數值便會歸零。因此,在後續返回依序執行步驟S502、步驟S503時,計數值是從零開始累加。 In some embodiments, after executing step S505 and returning to sequentially executing steps S502 and S503, the count value may not return to zero but continue to accumulate. However, the present invention is not limited to this. In other embodiments, after performing step S505, the count value will be reset to zero. Therefore, when subsequently returning to step S502 and step S503 in order, the count value starts to accumulate from zero.
於此,以電池110的最大容量大於8000毫安培小時為例來說明步驟S501至步驟S505。在以50%作為修正容量NC並回報此修正容量NC給系統電路140後,處理器130從零開始計數。於計數值到40時,處理器130便將50%的修正容量NC扣除1%的固定容量並回報49%的修正容量NC(即,新的修正容量NC)給系統電路140。然後,接續計數(假設計數值不歸零)直至計數值到80時,處理器130再將49%的修正容量NC扣除1%的固定容量並回報48%的修正容量NC(即,新的修正容量NC)給系統電路140。後續可以此流程繼續下去,故不再贅述。
Here, steps S501 to S505 will be described by taking the maximum capacity of the
圖4為容量修正程序之一實施例的流程示意圖。請參閱圖1與圖4。在容量修正程序之一實施例中,於步驟S505得到新的修正容量NC後,處理器130可先讀取來自電池計120的電池電壓並判斷電池電壓VB是否高於電壓閾值(步驟S506),以確認電池110是否還有剩餘的電力。在一些實施態樣中,所述的電壓閾值可為3.1伏特或其他適用於表示電池110沒電時的電壓值。
Figure 4 is a schematic flowchart of one embodiment of a capacity correction procedure. See Figure 1 and Figure 4. In one embodiment of the capacity correction program, after obtaining the new corrected capacity NC in step S505, the
於判定電池電壓VB非高於電壓閾值(即,小於或等於電壓閾值)時,表示電池110已無電力可提供給電子裝置100使用,故處理器130會以一截止容量回報給系統電路140(步驟S507)。
When it is determined that the battery voltage VB is not higher than the voltage threshold (ie, less than or equal to the voltage threshold), it means that the
在一些實施例中,處理器130是在連續記錄到電池電壓VB非高於電壓閾值的次數達到一預定次數後才執行步驟S507。而於電池電壓VB非高於電壓閾值的次數尚未達到預定次數時,處理器130可返回執行步驟S506,以重新確認電池電壓VB是否非高於電壓閾值。在一些實施態
樣中,所述截止容量可例如但不限於為0%。此外,所述的預定次數可為但不限於10次。
In some embodiments, the
在一些實施例中,於執行步驟S507而以截止容量回報給系統電路140後,處理器130可結束(跳出)容量修正程序。此外,系統電路140於收到處理器130所回報的截止容量後可執行關機作業,以確保電子裝置100是正常關機。
In some embodiments, after executing step S507 and reporting the cut-off capacity to the system circuit 140, the
於步驟S506中判定電池電壓VB高於電壓閾值時,處理器130則接續判斷新的修正容量NC是否低於一容量閾值(步驟S508)。在一些實施態樣中,所述的容量閾值可為但不限於1%或3%。當判定新的修正容量NC非低於容量閾值時,處理器130會執行步驟S502,以回報此修正容量NC給系統電路140。而當判定新的修正容量NC低於容量閾值時,處理器130會改以一預設容量來回報給系統電路140,以致電子裝置100可維持運作而不關機(步驟S509)。在一些實施態樣中,所述的預設容量可為1%、3%或其他任何適於使電子裝置100維持運作而不關機的最小容量。
When it is determined in step S506 that the battery voltage VB is higher than the voltage threshold, the
圖5為部份的容量修正程序之一實施例的流程示意圖。請參閱圖1至圖5。在容量修正程序之一實施例中,處理器130更可自儲存單元150中依序讀取剩餘容量C1-CX(步驟S510)。在步驟S510之一實施例中,處理器130是接續步驟S10之讀取順序來讀取下一個剩餘容量,例如剩餘容量C9。於步驟S510中自儲存單元150讀取到一剩餘容量後,處理器130會判斷當筆的剩餘容量是否等於一截止容量(步驟S511)。在一些實施態樣中,所述截止容量可例如但不限於為0%。
FIG. 5 is a schematic flowchart of part of an embodiment of the capacity correction process. See Figure 1 to Figure 5. In one embodiment of the capacity modification procedure, the
當處理器130在步驟S511中判定當筆的剩餘容量不等於截止容量時,處理器130會返回執行步驟S510以讀取下一個剩餘容量。而當處理器130在步驟S511中判定當筆的剩餘容量,例如剩餘容量C20等於截止容量時,處理器130則會進一步確認前一筆的剩餘容量,即剩餘容量C19,是否為一虛容量(步驟S512)。在一些實施例中,虛容量是處理器130在偵測到電池計120突然未輸出剩餘容量時(例如,因使用者更換電池110)所自行產生並記錄到儲存單元150的一容量值。在一些實施態樣中,虛容量可例如為100%,但本發明並非以為限,虛容量可為任何用以避免電子裝置100瞬間斷電的容量數值。
When the
當處理器130在步驟S512中判定前一筆的剩餘容量C19不為虛容量時,處理器130可返回執行步驟S510以讀取下一個剩餘容量。而當處理器130在步驟S512中判定前一筆的剩餘容量C19為虛容量時,表示電池110已發生過跳趴之情況且已更換成另一個電池,此時處理器130會讀取電池計120當前輸出的電池電壓VB,以確認電池電壓VB是否高於電壓閾值(步驟S513)。
When the
當處理器130於步驟S513中判定電池電壓VB非高於電壓閾值時,表示新換的電池110確實無電力可提供給電子裝置100使用(即,使用者更換到了一個沒電的電池110),因此處理器130會以一截止容量回報給系統電路140(步驟S514)。
When the
而當處理器130於步驟S513中判定電池電壓VB高於電壓閾值時,表示新換的電池110中仍有剩餘的電力,因此處理器130會以一預設容量回報給系統電路140,以致電子裝置100可維持運作而不關機(步驟
S515)。在一些實施態樣中,所述的預設容量可為1%、3%或其他任何適於使電子裝置100維持運作而不關機的最小容量。
When the
在一些實施例中,於執行步驟S515後,處理器130會返回執行步驟S513,以再次確認當前的電池電壓VB是否仍高於電壓閾值。直至處理器130在步驟S513中判定電池電壓VB非高於電壓閾值時,表示新換之電池110所剩餘的電力已用盡,此時處理器130便會執行步驟S514而改以截止容量回報給系統電路140。
In some embodiments, after performing step S515, the
在一些實施例中,處理器130是在連續記錄到電池電壓VB非高於電壓閾值的次數達到一預定次數後才執行步驟S514。而於電池電壓VB非高於電壓閾值的次數尚未達到預定次數時,處理器130可返回執行步驟S513,以重複確認電池電壓VB是否非高於電壓閾值。在一些實施態樣中,所述截止容量可例如但不限於為0%。此外,所述的預定次數可為但不限於10次。
In some embodiments, the
在一些實施例中,於執行步驟S514而以截止容量回報給系統電路140後,處理器130可結束(跳出)容量修正程序。此外,系統電路140於收到處理器130所回報的截止容量後可執行關機作業,以確保電子裝置100是正常關機。
In some embodiments, after performing step S514 and reporting the cut-off capacity to the system circuit 140, the
在一些實施例中,於進入步驟S513之判斷時,處理器130便不會再執行回報修正容量NC給系統電路140的相關步驟(即,步驟S501~S509)。
In some embodiments, when entering the judgment of step S513, the
在一些實施例中,如圖1所示,電子裝置100更包含一電源連接埠160,且電源連接埠160耦接於電池110與處理器130。電源連接埠
160用以和相應的電源接頭相接,以透過電源接頭接收一電源輸入AC。於此,所述的電源接頭可透過插拔之方式與電源連接埠160相接或分離。在一些實施態樣中,所述的電源輸入AC可為市電。
In some embodiments, as shown in FIG. 1 , the
圖6為部份的容量修正程序之一實施例的流程示意圖。請參閱圖1至圖6。在容量修正程序之一實施例中,處理器130可更偵測電源連接埠160是否接收到電源輸入AC(步驟S516)。當偵測到電源連接埠160接收到電源輸入AC時,表示電子裝置100此時可直接運用電源輸入AC來運作而不需要耗費到電池110之電力,因此,處理器130會停止計數(即,中斷步驟S503之執行),並維持當前回報的修正容量之數值以及步驟S503之計數值(步驟S517)。需注意的是,電池110於此並不會運用電源輸入AC來進行充電(因電池溫度TB低於溫度閾值)。
FIG. 6 is a schematic flowchart of an embodiment of part of the capacity correction procedure. See Figure 1 to Figure 6. In one embodiment of the capacity modification process, the
於停止計數後,處理器130可返回執行步驟S516,以再次確認電源連接埠160是否仍接收到電源輸入AC。當處理器130是在執行步驟S517而停止計數之後偵測到電源連接埠160已無接收到電源輸入AC時,處理器130會返回執行步驟S503以接續先前的計數值開始計數。
After stopping counting, the
在一些實施例中,電子裝置100的電池110的數量可不只一個,並且電池計120之數量可對應於電池110的數量。而本案任一實施例之電池容量回報方法亦可適用於電池110之數量不為一個的電子裝置100(即,多電池架構的電子裝置100)。在多電池架構中,電子裝置100的處理器130會針對各電池110分別執行本案任一實施例之電池容量回報方法。圖7為部份的容量修正程序之一實施例的流程示意圖。請參閱圖1至圖7。
In some embodiments, the
在多電池架構中,電子裝置100會是由當前之剩餘容量較高的電池110來進行供電而其餘電池110不供電。因此,在適用於多電池架構之電子裝置100的電池容量回報方法之一實施例中,處理器130在容量修正程序中更會對各電池110進行偵測,以分別確認各電池是否正在供電(放電)給電子裝置100(步驟S518)。在各電池110之偵測中,若偵測到電池110不供電給電子裝置100時(表示此電池110之當前的剩餘容量並非為最高的),處理器130會停止針對此電池110的計數(即,中斷對於此電池110所執行的步驟S503),並維持針對此電池110之當前回報的修正容量NC之數值以及步驟S503之計數值(步驟S519)。直至偵測到此電池110恢復供電給電子裝置100時(表示此電池110之當前的剩餘容量為最高的),處理器130才恢復針對此電池110的步驟S503之執行,以接續先前的計數值來開始計數。
In a multi-battery architecture, the
以下,以具有二電池110(以下分別稱之為第一電池與第二電池)的電子裝置100為例來進行說明。假設第一電池的當前修正容量NC為80%且第二電池的當前修正容量NC為60%時,會先由第一電池進行供電,且第二電池不供電。此時,針對第一電池,處理器130會計數一第一計數值,並於第一計數值符合第一修正條件(例如,第一計數值等於40的整數倍)時,將當前為80%的修正容量NC扣除固定容量(例如,1%)後再回報新的修正容量NC,即79%給系統電路140。而針對第二電池,處理器130則停止計數,並維持回報當前的修正容量NC,即60%給系統電路140。直至第一電池的當前修正容量NC變成,例如59%而低於第二電池的當前修正容量NC時,則改由第二電池進行供電,且第一電池不供電。此
時,針對第一電池,處理器130會停止計數第一計數值(停止之前的第一計數值不清除),並維持回報當前的修正容量NC,即59%給系統電路140。而針對第二電池,處理器130則會計數一第二計數值,並於第二計數值符合第二修正條件(例如,第二計數值等於40的整數倍)時,將當前為60%的修正容量NC扣除固定容量(例如,1%)後再回報新的修正容量NC,即59%給系統電路140。後續流程可以此類推,故不再贅述。
Hereinafter, the
在一些實施例中,於容量修正程序中,處理器130可定時(或持續)讀取電池110的電池溫度TB。並且,只要處理器130讀取到電池溫度TB大於溫度閾值時,處理器130便會結束掉容量修正程序,而恢復依據電池計120所產生之剩餘容量R1-RN來回報給系統電路140。
In some embodiments, during the capacity correction procedure, the
在一些實施例中,本發明任一實施例的電池容量回報方法可由一可讀記錄媒體裝置來實現。此可讀記錄媒體裝置儲存有複數程式碼,以當電子裝置100之處理器130載入並執行複數程式碼後,這些程式碼能致使電子裝置100之處理器130執行本發明任一實施例的電池容量回報方法。在一實施例中,此可讀記錄媒體裝置可為電子裝置100內部的儲存單元150,並且此儲存單元150可更用以儲存進行電池容量回報方法所需的任何數據,例如固定容量、預設容量等。在另一實施例中,此可讀記錄媒體裝置可為遠端儲存元件,並經由有線或無線的方式與電子裝置100之處理器130進行通訊。在又一實施例中,此可讀記錄媒體裝置可為電子裝置100外部的儲存元件,並經由電子裝置100的讀取器或連接器連接並存取此儲存元件的程式碼。
In some embodiments, the battery capacity reporting method of any embodiment of the present invention can be implemented by a readable recording media device. This readable recording media device stores a plurality of program codes, so that when the
綜上所述,任一實施例之電子裝置100及電池容量回報方法,其在電池演算法因於低溫下不敷使用而致使電池110的容量的顯示(或回報)發生異常跳趴時,透過執行容量修正程序來產生並回報修正容量NC給系統電路140,以致電子裝置100的供電時間得以維持正常而不會因異常跳趴而縮短。此外,根據任一實施例之電池容量回報方法所實現的電子裝置100可根據修正容量NC來顯示電池110的容量給使用者,故使用者將不會看到電池110的容量亂跳,進而可提升使用者體驗。
In summary, the
雖然本發明的技術內容已經以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神所作些許之更動與潤飾,皆應涵蓋於本發明的範疇內,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the technical content of the present invention has been disclosed above in the form of preferred embodiments, it is not intended to limit the present invention. Any slight changes and modifications made by anyone skilled in the art without departing from the spirit of the present invention should be covered by the present invention. Within the scope of the present invention, the protection scope of the present invention shall be subject to the scope of the appended patent application.
S10~S60:步驟 S10~S60: steps
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111146041A TWI821056B (en) | 2022-11-30 | 2022-11-30 | Electronic device and reporting method of battery capacity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111146041A TWI821056B (en) | 2022-11-30 | 2022-11-30 | Electronic device and reporting method of battery capacity |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI821056B true TWI821056B (en) | 2023-11-01 |
TW202424516A TW202424516A (en) | 2024-06-16 |
Family
ID=89722460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111146041A TWI821056B (en) | 2022-11-30 | 2022-11-30 | Electronic device and reporting method of battery capacity |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI821056B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW297098B (en) * | 1994-06-28 | 1997-02-01 | Ind Tech Res Inst | Method of detecting battery residual electricity and device thereof |
CN109061497A (en) * | 2018-08-10 | 2018-12-21 | 深圳芯智汇科技有限公司 | A kind of battery dump energy metering system and method |
CN112924866A (en) * | 2021-01-25 | 2021-06-08 | 广州橙行智动汽车科技有限公司 | Capacity conservation rate detection method, capacity conservation rate detection device, vehicle and storage medium |
CN113359044A (en) * | 2020-03-03 | 2021-09-07 | 鹤壁天海电子信息系统有限公司 | Method, device and equipment for measuring residual capacity of battery |
US20220131392A1 (en) * | 2019-02-25 | 2022-04-28 | Semiconductor Energy Laboratory Co., Ltd. | Protection circuit for secondary battery and abnormality detection system of secondary battery |
CN114545266A (en) * | 2022-03-07 | 2022-05-27 | 西安恩狄集成电路有限公司 | Lithium battery residual electric quantity measuring method and system based on improved model predictive control and electric quantity meter |
-
2022
- 2022-11-30 TW TW111146041A patent/TWI821056B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW297098B (en) * | 1994-06-28 | 1997-02-01 | Ind Tech Res Inst | Method of detecting battery residual electricity and device thereof |
CN109061497A (en) * | 2018-08-10 | 2018-12-21 | 深圳芯智汇科技有限公司 | A kind of battery dump energy metering system and method |
US20220131392A1 (en) * | 2019-02-25 | 2022-04-28 | Semiconductor Energy Laboratory Co., Ltd. | Protection circuit for secondary battery and abnormality detection system of secondary battery |
CN113359044A (en) * | 2020-03-03 | 2021-09-07 | 鹤壁天海电子信息系统有限公司 | Method, device and equipment for measuring residual capacity of battery |
CN112924866A (en) * | 2021-01-25 | 2021-06-08 | 广州橙行智动汽车科技有限公司 | Capacity conservation rate detection method, capacity conservation rate detection device, vehicle and storage medium |
CN114545266A (en) * | 2022-03-07 | 2022-05-27 | 西安恩狄集成电路有限公司 | Lithium battery residual electric quantity measuring method and system based on improved model predictive control and electric quantity meter |
Also Published As
Publication number | Publication date |
---|---|
TW202424516A (en) | 2024-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6141678B2 (en) | Electric equipment | |
US7856328B2 (en) | Systems, methods and circuits for determining potential battery failure based on a rate of change of internal impedance | |
JP2008309796A (en) | Diagnostic device and diagnostic method for battery | |
CN106461732A (en) | Method for estimating the state of health of a battery | |
CN106877442B (en) | Battery management method | |
EP2939320A1 (en) | System and method for monitoring a battery in an uninterruptible power supply | |
JP4846829B2 (en) | Information processing apparatus and battery deterioration detection method | |
CN103901347A (en) | Method for display of battery level and terminal | |
KR101692627B1 (en) | Battery cell characteristic identification | |
CN115972985A (en) | Battery pack equalization method, device, vehicle and storage medium | |
JP2005043059A (en) | Device and method for diagnosing battery | |
JP2009064682A (en) | Battery deterioration judging device, and lithium ion battery pack equipped with the same | |
US9933488B2 (en) | Open circuit voltage checking for a battery system | |
CN111521945B (en) | Battery health state detection method and device, electronic equipment and storage medium | |
TWI754943B (en) | Smart battery device | |
AU2023201573B2 (en) | Electronic device and battery capacity reporting method | |
TWI821056B (en) | Electronic device and reporting method of battery capacity | |
US20220285957A1 (en) | Cell Fault Detection in Batteries with Parallel Cells | |
CN110875610A (en) | Electronic equipment power supply method and device, electronic equipment and storage medium | |
JP2012135165A (en) | Lifetime detection device for battery, and lifetime detection method for battery | |
JP2017159449A (en) | Electric equipment | |
JP2003151645A (en) | Battery level detection method and electrical equipment | |
JP7651830B2 (en) | DETECTION METHOD, DETECTION DEVICE, AND COMPUTER PROGRAM | |
US11114705B2 (en) | Current measurement and voltage control approach | |
JP5031231B2 (en) | Discharge time calculation device and discharge time calculation method |