[go: up one dir, main page]

TW201814318A - A method for estimating a battery power percentage of a battery and a power management apparatus - Google Patents

A method for estimating a battery power percentage of a battery and a power management apparatus Download PDF

Info

Publication number
TW201814318A
TW201814318A TW106133794A TW106133794A TW201814318A TW 201814318 A TW201814318 A TW 201814318A TW 106133794 A TW106133794 A TW 106133794A TW 106133794 A TW106133794 A TW 106133794A TW 201814318 A TW201814318 A TW 201814318A
Authority
TW
Taiwan
Prior art keywords
battery
percentage
power
measurement operation
obtaining
Prior art date
Application number
TW106133794A
Other languages
Chinese (zh)
Inventor
吳瑞騏
莊家宥
蔡宗儒
Original Assignee
聯發科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US15/287,720 external-priority patent/US20170227609A1/en
Priority claimed from US15/713,696 external-priority patent/US10942221B2/en
Application filed by 聯發科技股份有限公司 filed Critical 聯發科技股份有限公司
Publication of TW201814318A publication Critical patent/TW201814318A/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3646Constructional arrangements for indicating electrical conditions or variables, e.g. visual or audible indicators
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Tests Of Electric Status Of Batteries (AREA)

Abstract

This disclosure relates to a method for estimating a battery power percentage of a battery, wherein the method includes: performing a first fuel gauge operation upon the battery; and using the first fuel gauge operation to generate the battery power percentage of the battery by referring to information measured by a second fuel gauge operation performed upon the battery wherein the second fuel gauge operation is different from the first fuel gauge operation. Therefore, this disclosure can achieve high accuracy for all battery status estimates and high applicability, and only need to wait for less time to get the correct battery power percentage.

Description

用於獲取電池電量百分比的方法和電源管理裝置Method for obtaining battery power percentage and power management device

本發明係有關於電池技術領域,特別係有關於用於獲取電池電量百分比的方法和電源管理裝置。The present invention relates to the technical field of batteries, and in particular, to a method and a power management device for obtaining a percentage of battery power.

一般而言,目前提供有複數種類型的傳統電量計量(fuel gauge)方案來估計電池的電量百分比,特別是當電池重新連接到電量計量裝置或者首次連接到電量計量裝置時。不幸的是,由於電池可以被替換、充電、放電、處理或處於靜止狀態,傳統方案各自具有性能局限;也就是說,電池的狀態在不同時間可能會有所不同。例如,一些傳統方案可以實現高的估計精度,但是僅當電池長時間處於靜止狀態時才能夠實現。其他傳統方案雖可以應用於所有電池狀態,但難以達到較高的估計精度。因此,很難僅僅採用單一的傳統電量計量方案來針對所有電池狀態實現高估計精度和高適用性。Generally speaking, there are currently multiple types of conventional fuel gauge solutions provided to estimate the battery's charge percentage, especially when the battery is reconnected to the fuel gauge device or connected to the fuel gauge device for the first time. Unfortunately, because batteries can be replaced, charged, discharged, processed, or at rest, traditional solutions have their own performance limitations; that is, the state of the battery may vary at different times. For example, some traditional schemes can achieve high estimation accuracy, but only when the battery is at rest for a long time. Although other traditional solutions can be applied to all battery states, it is difficult to achieve high estimation accuracy. Therefore, it is difficult to achieve a high estimation accuracy and high applicability for all battery states using only a single traditional fuel gauge scheme.

有鑑於此,本發明提供一種用於獲取電池電量百分比的方法和電源管理裝置,以實現對所有電池狀態實現高精度的估計和高適用性。In view of this, the present invention provides a method and a power management device for obtaining a battery power percentage, so as to realize high-precision estimation and high applicability of all battery states.

根據本發明的第一方面,公開一種用於獲取電池電量百分比的方法,包括:對該電池執行用於測量電池電量百分比的第一電量計量運算;通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比;其中,該第二電量計量運算不同於該第一電量計量運算。According to a first aspect of the present invention, a method for obtaining a battery power percentage is disclosed, comprising: performing a first power measurement operation on the battery to measure the battery power percentage; and performing a second power measurement operation on the battery by reference. The obtained information uses the first power measurement operation to obtain a battery power percentage; wherein the second power measurement operation is different from the first power measurement operation.

根據本發明的第二方面,公開一種用於獲取電池電量百分比的電源管理裝置,包括:記憶設備;控制器,該控制器耦合到該記憶設備,並配置為從該記憶設備載入程式碼,以執行以下步驟;對該電池執行用於測量電池電量百分比的第一電量計量運算;通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比;其中,該第二電量計量運算不同於該第一電量計量運算。According to a second aspect of the present invention, a power management device for obtaining a percentage of battery power is disclosed, comprising: a memory device; a controller coupled to the memory device and configured to load code from the memory device, To perform the following steps; perform a first power measurement operation on the battery to measure the battery power percentage; and use the first power measurement operation to obtain the battery power percentage by referring to information obtained from the second power measurement operation performed on the battery; The second electric quantity measurement operation is different from the first electric quantity measurement operation.

本發明所提供的方法在對該電池執行第一電量計量運算獲取電池電量百分比後,可通過第二電量計量運算測量的資訊來對第一電量計量運算快速地補償或校準,從而使用第一電量計量運算快速且精確的獲取電池電量百分比,可實現對所有電池狀態實現高精度的估計和高適用性,同時本發明僅需要等待較少的時間即可獲得正確的電池電量百分比。After the method provided by the present invention performs the first power measurement operation on the battery to obtain the battery power percentage, the first power measurement operation can be quickly compensated or calibrated by using the information measured by the second power measurement operation, thereby using the first power The calculation operation quickly and accurately obtains the percentage of battery power, which can achieve high-precision estimation and high applicability of all battery states. At the same time, the invention only needs to wait for less time to obtain the correct percentage of battery power.

以下描述為本發明實施的較佳實施例。以下實施例僅用來例舉闡釋本發明的技術特徵,並非用來限制本發明的範疇。在通篇說明書及申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域技術人員應可理解,製造商可能會用不同的名詞來稱呼同樣的元件。本說明書及申請專利範圍並不以名稱的差異來作為區別元件的方式,而係以元件在功能上的差異來作為區別的基準。本發明的範圍應當參考後附的申請專利範圍來確定。本發明中使用的術語“元件”、“系統”和“裝置”可以係與電腦相關的實體,其中,該電腦可以係硬體、軟體、或硬體和軟體的結合。在以下描述和申請專利範圍當中所提及的術語“包含”和“包括”為開放式用語,故應解釋成“包含,但不限定於…”的意思。此外,術語“耦接”意指間接或直接的電氣連接。因此,若文中描述一個裝置耦接至另一裝置,則代表該裝置可直接電氣連接於該另一裝置,或者透過其它裝置或連接手段間接地電氣連接至該另一裝置。The following description is a preferred embodiment of the present invention. The following embodiments are only used to illustrate the technical features of the present invention, and are not intended to limit the scope of the present invention. Certain terms are used throughout the specification and scope of patent applications to refer to specific elements. Those skilled in the art will understand that manufacturers may use different terms to refer to the same components. The scope of this specification and the patent application does not take the difference in names as a way to distinguish components, but rather uses the difference in functions of components as a basis for differences. The scope of the invention should be determined with reference to the appended patent application scope. The terms “component”, “system” and “device” used in the present invention may be a computer-related entity, wherein the computer may be hardware, software, or a combination of hardware and software. The terms "including" and "including" mentioned in the following description and the scope of patent application are open-ended terms, and therefore should be interpreted as "including, but not limited to ...". Furthermore, the term "coupled" means an indirect or direct electrical connection. Therefore, if one device is described as being coupled to another device, it means that the device can be directly electrically connected to the other device, or indirectly electrically connected to the other device through the other device or connection means.

請參考第1圖,第1圖係表示本發明的第一實施方式能夠精確地計量/測量電池的電量(特別是剩餘電量)的方法的流程圖。該方法可以顯著提高電池的電池百分比測量的準確性。應當注意的是,本申請的實施方式中的電池電量百分比由放電深度(DOD,depth-of-discharge)表示。這並非對本發明的限制,因為電池電量百分比也可以由充電狀態(SOC,state-of-charge)來表示,充電狀態係放電深度的補充。該方法被設置為採用和執行兩種不同的電量計量運算以產生兩種不同的資訊結果,每種資訊結果包括由DOD所表示的百分比和與該百分比對應的電池單元電壓這兩者中至少一者,其中這兩種不同的資訊結果被視為測量結果,並且根據電池的不同狀況從兩種不同的電量計量運算的測量結果中動態地選擇一種作為測量結果。在實踐中,該方法被設置為在不同條件下動態地安排/設置兩種電量計量運算的不同信賴水準。在一些情況下,一種電量計量運算的信賴水準被配置為高於另一種電量計量運算的信賴水準,但在其他情況下其被配置為低於另一種電量計量運算的信賴水準。因此,通過在不同條件下動態評級/調整信賴水準,該方法可以配置/設置測量結果為具有較高信賴水準的電量計量運算的百分比。此外,該方法可以被設置為基於它們的信賴水準從至少三種電量計量運算中選擇一種對應運算的測量結果。電量計量運算的數量並非是對本發明的限制。Please refer to FIG. 1. FIG. 1 is a flowchart showing a method capable of accurately measuring / measuring the battery power (especially the remaining power) of the first embodiment of the present invention. This method can significantly improve the accuracy of the battery percentage measurement of the battery. It should be noted that the battery power percentage in the embodiment of the present application is represented by a depth-of-discharge (DOD). This is not a limitation on the present invention, because the battery power percentage can also be expressed by state-of-charge (SOC), and the state of charge supplements the depth of discharge. The method is configured to use and execute two different fuel gauge operations to produce two different information results, each of which includes at least one of a percentage represented by DOD and a battery cell voltage corresponding to the percentage Among them, the two different information results are regarded as the measurement results, and one of the two kinds of measurement results of the electric quantity calculation operation is dynamically selected as the measurement result according to different conditions of the battery. In practice, the method is set to dynamically arrange / set different levels of trust for two types of electricity metering calculations under different conditions. In some cases, the trust level of one power measurement operation is configured to be higher than the trust level of another power measurement operation, but in other cases it is configured to be lower than the trust level of another power measurement operation. Therefore, by dynamically rating / adjusting the trust level under different conditions, this method can configure / set the measurement result as a percentage of the electricity metering calculation with a higher trust level. In addition, the method may be set to select a measurement result of a corresponding operation from at least three kinds of power measurement operations based on their level of trust. The number of electric quantity calculation operations is not a limitation on the present invention.

在實施方式中,這兩種不同的電量計量運算包括第一電量計量運算(例如基於電壓的電量計量運算)和第二電量計量運算(例如基於庫侖計的電量計量運算)。基於電壓的計量運算採用感測電阻並測量感測電阻上的壓降,以估計電池的電流,從而測量電池的剩餘電量並獲得第一資訊,該第一資訊包括由DOD表示的相應第一百分比和對應於第一百分比的第一電池單元電壓中的至少一個。基於庫侖計的電量計量運算採用庫侖計電路來測量電池的電流,從而測量電池的剩餘電量並獲得第二資訊,該第二資訊包括由DOD表示的相應第二百分比和對應於第二百分比的第二電池單元電壓中的至少一個。該方法可以改善傳統方案,並且根據採用基於電壓的電量計量運算和基於庫侖計的電量計量運算這兩者的優勢,即使電池操作在諸如溫度、老化因數、電池歷史等不同條件下也可以為用戶提供更準確的電量計量結果。In an embodiment, the two different types of power measurement operations include a first power measurement operation (for example, a voltage-based power measurement operation) and a second power measurement operation (for example, a coulomb-based power measurement operation). The voltage-based measurement operation uses a sensing resistor and measures the voltage drop across the sensing resistor to estimate the battery current, thereby measuring the remaining power of the battery and obtaining first information, the first information including the corresponding one hundredth represented by DOD At least one of a fractional ratio and a first battery cell voltage corresponding to a first percentage. The coulometric calculation based on the coulomb counter uses a coulomb counter circuit to measure the battery current, thereby measuring the remaining power of the battery and obtaining second information, the second information includes a corresponding second percentage represented by DOD and a corresponding second At least one of the scaled second battery cell voltages. This method can improve the traditional scheme, and based on the advantages of both the voltage-based fuel gauge calculation and the coulomb-based fuel gauge calculation, it can provide users with different conditions such as temperature, aging factor, battery history, etc. Provide more accurate power metering results.

應該注意,確定哪些百分比作為電池的電量百分比是基於第一資訊和第二資訊的確定。在實踐中,可以基於第一百分比和第二百分比執行確定運算;另外,可以基於第一電池單元電壓和第二電池單元電壓執行確定運算。基於第一電池單元電壓和第二電池單元電壓執行確定運算的優勢在於,在某些情況下,相應電池單元電壓的變化範圍比上述百分比的變化範圍更寬。此外,通過基於查閱資料表轉化上述百分比以產生相應的電池單元電壓,可以容易地獲得相應的電池單元電壓。It should be noted that determining which percentage is used as the percentage of battery power is based on the determination of the first information and the second information. In practice, the determination operation may be performed based on the first percentage and the second percentage; in addition, the determination operation may be performed based on the first battery cell voltage and the second battery cell voltage. An advantage of performing the determination operation based on the first battery cell voltage and the second battery cell voltage is that, in some cases, the variation range of the corresponding battery cell voltage is wider than the variation range of the above percentage. In addition, by converting the above percentages to generate corresponding battery cell voltages based on the look-up data sheet, the corresponding battery cell voltages can be easily obtained.

只要能夠實現基本相同的結果,第1圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第1圖的詳細步驟如下。As long as the substantially the same result can be achieved, the order of the steps of the flowchart shown in FIG. 1 need not be strictly in the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps of FIG. 1 are as follows.

步驟105:開始;Step 105: Start;

步驟110:確定是否重新估計或重新計算電池的電量百分比?如果是,執行步驟120,否則,繼續步驟115;Step 110: Determine whether to re-estimate or recalculate the battery charge percentage? If yes, go to step 120; otherwise, continue to step 115;

步驟115:通過使用感測電阻和測量感測電阻上的壓降來估計電池的電流,執行基於電壓的電量計量運算,從而測量電池的剩餘電量百分比並產生第一百分比;Step 115: Estimate the battery current by using the sensing resistor and measuring the voltage drop across the sensing resistor, and perform a voltage-based fuel gauge operation to measure the remaining battery percentage and generate a first percentage;

步驟120:通過使用庫侖計電路來測量電池的電流,執行基於庫侖計的電量計量運算,從而測量電池的剩餘電量百分比並產生第二百分比;Step 120: by using a coulomb counter circuit to measure the current of the battery, performing a coulomb meter-based power measurement operation, thereby measuring the remaining battery percentage and generating a second percentage;

步驟125:比較和計算第一百分比和第二百分比之間的百分比差;Step 125: Compare and calculate the percentage difference between the first percentage and the second percentage;

步驟130:確定該百分比差是否高於百分比閾值?如果百分比差高於百分比閾值,則基於電壓的電量計量運算的信賴水準被配置為高於基於庫侖計的電量計量運算的信賴水準,並且流程進一步執行步驟120;否則,基於電壓的電量計量運算的信賴水準被配置為低於基於庫侖計的電量計量運算的信賴水準,流程進行到步驟115。Step 130: Determine if the percentage difference is above the percentage threshold? If the percentage difference is higher than the percentage threshold, the trust level of the voltage-based electricity metering operation is configured to be higher than the trust level of the coulomb-based electricity metering operation, and the process further performs step 120; otherwise, the voltage-based electricity metering operation The trust level is configured to be lower than the trust level of the coulomb-based electricity measurement operation, and the flow proceeds to step 115.

在步驟110中,可以通過確定電池是否在靜止狀態已保持一個特定時間段來確定是否重新估計或重新計算電池的電量百分比的運算,靜止狀態係指當電池在靜態條件下時電池不向系統提供電流或提供很少的電流。如果電池在該靜態條件已保持了特定時間段,該方法被設置為確定電池已經休息了該特定時間段,並且該方法能夠重新估計或重新計算電池的電量百分比,以計算當前的電量百分比。接著,前進到步驟120。在步驟120中,庫侖計電路被用來在一時間間隔期間測量/累積電池的電流,從而測量電池的電量百分比。In step 110, an operation of determining whether to re-estimate or recalculate the percentage of the battery ’s charge can be determined by determining whether the battery has remained in a stationary state for a specific period of time. The stationary state means that the battery is not provided to the system when the battery is in a static condition. The current may provide very little current. If the battery has been held for a certain period of time under this static condition, the method is set to determine that the battery has rested for that particular period of time, and the method can re-estimate or recalculate the battery's charge percentage to calculate the current charge percentage. Then, proceed to step 120. In step 120, the coulomb counter circuit is used to measure / accumulate the current of the battery during a time interval to measure the battery's charge percentage.

應該注意的是,該方法在步驟105被設置為估計或計算電池的初始電量百分比,因此當由電池供電的系統重啟時,方法進入到步驟115。在步驟115中,通過採用AC(交流)電阻器並測量AC電阻上的壓降來估計電池的電流,執行基於電壓的電量計量運算,從而測量當前的由DOD或SOC表示的電池電量百分比。壓降的變化可以反映電池電流的變化,因此該方法可以根據壓降的變化測量當前電池的DOD百分比。It should be noted that the method is set to estimate or calculate the initial charge percentage of the battery at step 105, so when the battery-powered system restarts, the method proceeds to step 115. In step 115, the battery current is estimated by using an AC (alternating current) resistor and measuring the voltage drop across the AC resistance, and a voltage-based fuel gauge calculation is performed to measure the current battery charge percentage represented by DOD or SOC. The change in voltage drop can reflect the change in battery current, so this method can measure the current battery's DOD percentage based on the change in voltage drop.

在步驟125和步驟130,方法被設置為動態地和選擇性地從基於庫侖計的電量計量運算和基於電壓的電量計量運算的兩個測量結果中選擇一個。該方法被設置為比較和計算兩個百分比之間的百分比差,然後決定百分比差是否高於百分比閾值。如果百分比差高於百分比閾值,該方法確定基於庫侖計的電量計量運算的可靠性低於基於電壓的電量計量運算的可靠性,並且相應地,基於庫侖計的電量計量運算的信賴水準被設置為較低的值。相反,如果百分比差低於百分比閾值,該方法確定基於庫侖計的電量計量運算的可靠性高於基於電壓的電量計量運算的可靠性,並且相應地,基於庫侖計的電量計量運算的信賴水準被設置為較高的值。通過如此,該方法可以有效地評估基於庫侖計的電量計量運算和基於電壓的電量計量運算的可靠性,並因此確定兩種測量結果中的一種作為電池電量百分比結果。由於兩種不同的電量計量運算具有不同的優勢、準確度和測量條件,通過選擇性地採用一種測量結果作為最終結果,該方法可以獲得這兩種不同的電量計量運算的優點並且避免它們的局限性。例如,如果電池已保持在靜態條件,該方法可以採用基於庫侖計的電量計量運算的百分比作為最終的電池電量百分比。如果電池沒有保持在靜態條件,該方法可以採用基於電壓的電量計量運算的百分比作為最終的電池電量百分比。也就是說,該方法被設置為能夠使用這兩種不同的電量計量運算並且動態地選擇這兩種不同的電量計量運算的一個測量結果作為最終結果。因此,該方法可以改善最終測量結果的精確性並且為使用者顯示電池電量百分比的最終測量結果。At step 125 and step 130, the method is configured to dynamically and selectively select one of two measurement results of a coulomb-based coulometry calculation and a voltage-based coulometry calculation. The method is set to compare and calculate the percentage difference between two percentages, and then decide whether the percentage difference is above the percentage threshold. If the percentage difference is higher than the percentage threshold, the method determines that the reliability of the coulomb-based fuel-gauge operation is lower than the reliability of the voltage-based fuel-gauge operation, and accordingly, the trust level of the coulomb-based electricity meter operation is set to Lower value. Conversely, if the percentage difference is lower than the percentage threshold, the method determines that the reliability of the coulomb-based fuel-gauge operation is higher than the reliability of the voltage-based fuel-gauge operation, and accordingly, the trust level of the coulomb-based electricity meter operation is Set to a higher value. By doing so, the method can effectively evaluate the reliability of the coulomb-meter-based fuel-gauge operation and the voltage-based fuel-gauge operation, and thus determine one of the two measurement results as the battery power percentage result. Due to the different advantages, accuracy, and measurement conditions of the two different types of energy measurement calculations, by selectively using one measurement result as the final result, this method can obtain the advantages of these two different types of energy measurement operations and avoid their limitations. Sex. For example, if the battery has been kept in a static condition, the method can use the percentage of the coulomb-based fuel gauge calculation as the final battery charge percentage. If the battery is not kept in a static condition, the method can use the percentage of the voltage-based fuel gauge calculation as the final battery charge percentage. That is, the method is set to be able to use the two different kinds of electric quantity calculation operations and dynamically select one measurement result of the two different kinds of electric quantity calculation operations as the final result. Therefore, the method can improve the accuracy of the final measurement result and display the final measurement result of the percentage of battery power for the user.

在另一個實施方式中,對於步驟125,該方法可以設置為比較和計算第一電池單元電壓和第二電池單元電壓之間的電壓差。對於步驟130,該方法可以設置為確定電壓差是否高於電壓閾值。如果電壓差高於電壓閾值,基於電壓的電量計量運算的信賴水準被配置為高於基於庫侖計的電量計量運算的信賴水準。否則,基於電壓的電量計量運算的信賴水準被配置為低於基於庫侖計的電量計量運算的信賴水準。In another embodiment, for step 125, the method may be set to compare and calculate a voltage difference between the first battery cell voltage and the second battery cell voltage. For step 130, the method may be set to determine whether the voltage difference is above a voltage threshold. If the voltage difference is higher than the voltage threshold, the trust level of the voltage-based coulometry calculation is configured to be higher than the trust level of the coulomb-based coulometry calculation. Otherwise, the trust level of the voltage-based electricity measurement operation is configured to be lower than the trust level of the coulomb-based electricity measurement operation.

此外,如果基於電壓的電量計量運算的信賴水準高於基於庫侖計的電量計量運算的信賴水準並且超過了高閾值(或者如果兩個百分比之間的百分比差高於高百分比閾值),這意味著基於電壓的電量計量運算的測量結果變得更加可靠,在這種情況下,應當重新執行基於庫侖計的電量計量運算以測量電池的電量百分比,再次產生基於庫侖計的電量計量運算的百分比結果,並重新評估基於庫侖計的電量計量運算的信賴水準。這相當於通過參考基於電壓的電量計量運算的測量結果改善了基於庫侖計的電量計量運算的準確性。同樣的,如果基於庫侖計的電量計量運算的信賴水準高於基於電壓的電量計量運算的信賴水準並且超過了高閾值(或者如果兩個百分比之間的百分比差高於高百分比閾值),這意味著基於庫侖計的電量計量運算的測量結果變得更加可靠,在這種情況下,應該重新執行基於電壓的電量計量運算以測量電池的電量百分比,再次產生基於電壓的電量計量運算的百分比結果,並重新評估基於電壓的電量計量運算的信賴水準。這相當於通過參考基於庫侖計的電量計量運算的測量結果改善了基於電壓的電量計量運算的準確性。In addition, if the trust level of the voltage-based fuel gauge calculation is higher than the trust level of the coulomb-based fuel gauge calculation and exceeds the high threshold (or if the percentage difference between the two percentages is higher than the high percentage threshold), this means The measurement results of the voltage-based coulometric calculation become more reliable. In this case, the coulomb-based coulometric calculation should be re-executed to measure the battery's charge percentage, and the coulomb-based coulometric calculation percentage result should be generated again. And re-evaluate the level of trust in coulomb-based power measurement calculations. This is equivalent to improving the accuracy of the coulomb-based coulometry calculation by referring to the measurement results of the voltage-based coulometry calculation. Similarly, if the trust level of the coulometric calculation based on the coulomb counter is higher than the trust level of the voltage-based fuel measurement calculation and exceeds the high threshold (or if the percentage difference between the two percentages is higher than the high percentage threshold), this means The measurement results of the coulometric calculation based on the coulomb meter have become more reliable. In this case, the voltage-based fuel measurement calculation should be performed again to measure the battery's charge percentage, and the voltage-based fuel measurement calculation percentage result should be generated again. And re-evaluate the level of trust in voltage-based energy measurement calculations. This is equivalent to improving the accuracy of the voltage-based energy measurement operation by referring to the measurement results of the coulomb-based energy measurement operation.

可以通過控制器或微控制器執行從記憶體設備(例如寄存器電路)載入相應的程式碼,來執行上述方法或至少一個步驟。第2圖係能夠根據第1圖的流程圖準確地計量/測量電池201的剩餘電量的電源管理裝置200的框圖。電源管理裝置200耦接到電池201,包括記憶設備205和控制器210,其可以通過單個積體電路晶片實現。記憶設備205被設置為存儲或緩衝上述電量計量運算的測量結果(即,電量百分比)和相應的程式碼。控制器210耦接到記憶設備205並且被設置為當啟用軟體應用程式或系統時,從記憶設備205載入程式碼,來啟用和執行兩個電量計量運算以估計電池的電量百分比。接著控制器210被設置為執行程式碼以執行上述步驟的運算。進一步的描述這裡不再贅述。The above method or at least one step may be performed by a controller or a microcontroller executing loading corresponding code from a memory device (such as a register circuit). FIG. 2 is a block diagram of the power management device 200 capable of accurately measuring and measuring the remaining power of the battery 201 according to the flowchart in FIG. 1. The power management device 200 is coupled to the battery 201 and includes a memory device 205 and a controller 210, which can be implemented by a single integrated circuit chip. The memory device 205 is configured to store or buffer the measurement result (ie, the power percentage) and the corresponding code of the power measurement operation. The controller 210 is coupled to the memory device 205 and is configured to load code from the memory device 205 when a software application or system is enabled to enable and execute two fuel gauge operations to estimate a battery power percentage. The controller 210 is then configured to execute code to perform the operations of the above steps. Further description is not repeated here.

此外,在本發明的第二實施方式中,提供能夠更準確地估計/計算電池的電量百分比的方法。特別地,當由電池供電的系統重啟或電池已經休息了一段時間(完全休息狀態或靜態狀態)時,電量百分比可以例如是電池的放電深度百分比(但不限於此)。在一些實施方式,電量百分比可以用充電狀態(SOC,state-of-charge)百分比來表示。更具體地,該方法可以被設置為估計或測量電池的初始電量百分比,並可以提高初始電量百分比的估計的準確性,特別是當電池第一次連接到或重新連接到庫侖計電路時。該方法被設置為根據從如下資訊計算或確定的信賴水準準確地從先前電量百分比、軟體估計百分比和硬體測量百分比中選擇一個電量百分比作為該電池的初始電量百分比,該資訊包括所述之至少一對百分比之間的百分比差和與上述百分比對應的至少一對電池單元電壓之間的電壓差這兩者中至少一者。也就是說,可以基於百分比差和/或對應的電池單元電壓差,選擇一個電量百分比作為初始電量百分比。此外,該方法可以在一些情形下選擇性地為使用者顯示先前電量百分比以改善用戶體驗,即使電池的初始電量百分比被確定為是軟體估計百分比或硬體測量百分比。第3圖根據本發明的第二實施方式例示了能夠準確地計量/測量電池的電量的方法的流程圖。只要能夠實現基本相同的結果,第3圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第3圖的詳細步驟如下:In addition, in the second embodiment of the present invention, a method capable of more accurately estimating / calculating the percentage of the charge of the battery is provided. In particular, when the battery-powered system is restarted or the battery has been resting for a period of time (fully rested state or static state), the charge percentage may be, for example, but not limited to, the discharge depth percentage of the battery. In some embodiments, the power percentage may be expressed as a state-of-charge (SOC) percentage. More specifically, the method may be set to estimate or measure the initial charge percentage of the battery, and may improve the accuracy of the estimation of the initial charge percentage, especially when the battery is first connected to or reconnected to the coulometer circuit. The method is set to accurately select a battery percentage from the previous battery percentage, software estimated percentage, and hardware measurement percentage as the initial battery percentage based on the confidence level calculated or determined from the following information, the information including at least the At least one of a percentage difference between a pair of percentages and a voltage difference between at least a pair of battery cell voltages corresponding to the percentage. In other words, based on the percentage difference and / or the corresponding battery cell voltage difference, a charge percentage can be selected as the initial charge percentage. In addition, the method may selectively display the previous battery percentage for the user to improve the user experience in some cases, even if the initial battery percentage is determined to be a software estimated percentage or a hardware measured percentage. FIG. 3 is a flowchart illustrating a method capable of accurately metering / measuring the electric quantity of a battery according to a second embodiment of the present invention. As long as the basically the same result can be achieved, the order of the steps of the flowchart shown in FIG. 3 need not strictly follow the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps in Figure 3 are as follows:

步驟305:開始;Step 305: Start;

步驟310:從位於包含該電池的電池組內部或外部的記憶設備(例如寄存器電路)讀取先前電量百分比RTCP(或稱為最近的電量百分比);Step 310: Read the previous power percentage RTCP (or the most recent power percentage) from a memory device (such as a register circuit) located inside or outside the battery pack containing the battery;

步驟315:通過使用硬體電路(例如庫侖計電路),產生電池的硬體測量百分比HWP,其中硬體測量百分比HWP可例如硬體開路電壓測量百分比;Step 315: generate a hardware measurement percentage HWP of the battery by using a hardware circuit (such as a Coulomb counter circuit), where the hardware measurement percentage HWP may be, for example, a hardware open circuit voltage measurement percentage;

步驟320:通過使用能夠估算電池電量的軟體演算法,產生電池的軟體估計百分比SWP,其中軟體估計百分比SWP可例如軟體開路電壓估計百分比;Step 320: generate a software estimated percentage SWP of the battery by using a software algorithm capable of estimating battery power, where the software estimated percentage SWP may be, for example, software open circuit voltage estimated percentage;

步驟325:根據先前電量百分比RTCP、硬體測量百分比HWP、軟體估計百分比SWP中至少一對百分比之間的差,計算或確定先前電量百分比RTCP、硬體測量百分比HWP、軟體估計百分比SWP的信賴水準;Step 325: Calculate or determine the trust level of the previous power percentage RTCP, the hardware measurement percentage HWP, and the software estimated percentage SWP based on the difference between at least one pair of the previous power percentage RTCP, the hardware measurement percentage HWP, and the software estimated percentage SWP. ;

步驟330:通過參考上述信賴水準,從先前電量百分比RTCP、硬體測量百分比HWP、軟體估計百分比SWP中動態地選擇一個百分比作為初始電量百分比;Step 330: dynamically select a percentage from the previous power percentage RTCP, the hardware measurement percentage HWP, and the software estimated percentage SWP as the initial power percentage by referring to the above-mentioned trust level;

步驟335:結束。Step 335: End.

例如,如果硬體測量百分比HWP和先前電量百分比RTCP之間的差(或絕對差)遠高於閾值(例如30%DOD),該方法被設置為確定先前電量百分比RTCP的信賴水準低於硬體測量百分比HWP。另外,如果軟體估計百分比SWP和先前電量百分比RTCP之間的差(或絕對差)遠高於閾值(例如10%DOD),該方法被設置為確定軟體估計百分比SWP的信賴水準高於先前電量百分比RTCP的信賴水準。此外,如果硬體測量百分比HWP和軟體估計百分比SWP之間的差(或絕對差)遠高於閾值(例如30%),該方法被設置為確定軟體估計百分比SWP的信賴水準高於硬體測量百分比HWP的信賴水準。此外,如果電池沒有連接到充電器設備、沒有被調換/預置、和/或先前電量百分比RTCP未被訪問/處理,則該方法可以提高先前電量百分比RTCP的信賴水準。此外,如果軟體估計百分比SWP低於較低的閾值(例如3%DOD),該方法可以提高軟體估計百分比SWP的信賴水準。因此,通過參照對先前電量百分比RTCP、硬體測量百分比HWP和軟體估計百分比SWP的信賴水準進行評等、配置或調整的至少一個步驟,該方法可以相應地並且準確地從三個百分比中選擇一個作為電池的初始電量百分比。下面詳細地提供了幾個修改的實施方式。For example, if the difference (or absolute difference) between the hardware measurement percentage HWP and the previous power percentage RTCP is much higher than the threshold (e.g. 30% DOD), the method is set to determine that the previous power percentage RTCP is less reliable than the hardware Measure the percentage HWP. In addition, if the difference (or absolute difference) between the software estimated percentage SWP and the previous power percentage RTCP is much higher than the threshold (for example, 10% DOD), the method is set to determine that the software estimated percentage SWP has a higher trust level than the previous power percentage RTCP's level of trust. In addition, if the difference (or absolute difference) between the hardware measurement percentage HWP and the software estimated percentage SWP is much higher than the threshold (for example, 30%), the method is set to determine that the software estimated percentage SWP has a higher level of trust than the hardware measurement Percent HWP level of trust. In addition, if the battery is not connected to the charger device, has not been swapped / preset, and / or the previous power percentage RTCP has not been accessed / processed, this method can increase the trust level of the previous power percentage RTCP. In addition, if the software estimated percentage SWP is below a lower threshold (for example, 3% DOD), this method can increase the confidence level of the software estimated percentage SWP. Therefore, by referring to at least one step of rating, configuring or adjusting the trust level of the previous power percentage RTCP, hardware measurement percentage HWP, and software estimated percentage SWP, the method can accordingly and accurately choose one of the three percentages As a percentage of the battery's initial charge. Several modified embodiments are provided in detail below.

此外,在步驟325的另一個實施方式中,該方法可以被設置為,根據與這三個百分比對應的電池單元電壓中至少一對之間的電壓差,計算或確定先前電量百分比RTCP、硬體測量百分比HWP和軟體估計百分比SWP的信賴水準。In addition, in another embodiment of step 325, the method may be configured to calculate or determine a previous charge percentage RTCP, hardware based on a voltage difference between at least one of the battery cell voltages corresponding to the three percentages. The level of confidence in measuring percentage HWP and software estimated percentage SWP.

第4A圖和第4B圖係示出第3圖所示方法的第一實施方式的流程圖。只要能夠實現基本相同的結果,第4A圖和第4B圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第4A圖和第4B圖的詳細步驟如下:4A and 4B are flowcharts showing a first embodiment of the method shown in FIG. 3. As long as the substantially the same result can be achieved, the order of the steps of the flowchart shown in FIG. 4A and FIG. 4B need not strictly follow the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps for Figures 4A and 4B are as follows:

步驟405:開始;Step 405: Start;

步驟410:如果充電器與電池連接,則停止/禁用該充電器;Step 410: If the charger is connected to the battery, stop / disable the charger;

步驟415:執行硬體計量運算以獲得硬體測量百分比HWP,執行軟體計量運算以獲得軟體估計百分比SWP,從記憶設備讀取先前電量百分比RTCP;Step 415: Perform a hardware measurement operation to obtain a hardware measurement percentage HWP, perform a software measurement operation to obtain a software estimated percentage SWP, and read a previous power percentage RTCP from the memory device;

步驟420:確定電池是否被置換。如果電池沒有被置換,繼續步驟425;否則,則繼續步驟455;Step 420: Determine whether the battery is replaced. If the battery has not been replaced, continue to step 425; otherwise, continue to step 455;

步驟425:確定現在電池是否連接到充電器設備。如果電池沒有連接到充電器設備,則繼續執行步驟430;否則,執行步驟455;Step 425: Determine if the battery is now connected to the charger device. If the battery is not connected to the charger device, proceed to step 430; otherwise, proceed to step 455;

步驟430:確定是否使用先前電量百分比RTCP作為初始電量百分比。如果確定先前電量百分比RTCP不用於設置初始電量百分比,繼續執行步驟435;否則,執行步驟440;Step 430: Determine whether to use the previous power percentage RTCP as the initial power percentage. If it is determined that the previous power percentage RTCP is not used to set the initial power percentage, proceed to step 435; otherwise, proceed to step 440;

步驟435:設置硬體測量百分比HWP的信賴水準或軟體估計百分比SWP信賴水準為最高水準,並配置初始電量百分比為硬體測量百分比HWP或軟體估計百分比SWP;Step 435: Set the trust level of hardware measurement percentage HWP or software estimated percentage SWP trust level to the highest level, and configure the initial power percentage as hardware measurement percentage HWP or software estimated percentage SWP;

步驟440:確定軟體估計百分比SWP是否低於低閾值。如果軟體估計百分比SWP低於低閾值(例如3%DOD),繼續執行步驟445;否則,執行步驟450;Step 440: Determine whether the software estimated percentage SWP is below a low threshold. If the software estimated percentage SWP is lower than the low threshold (for example, 3% DOD), proceed to step 445; otherwise, proceed to step 450;

步驟445:設置軟體估計百分比SWP的信賴水準為最高水準,並且配置初始電量百分比為軟體估計百分比SWP,為使用者顯示先前電量百分比RTCP以向用戶指示與先前電量百 分比RTCP相等的初始電量百分比,而不顯示軟體估計百分比SWP,從而對於電池電量顯示的使用者體驗的流暢性;Step 445: Set the trust level of the software estimated percentage SWP to the highest level, and configure the initial power percentage as the software estimated percentage SWP to display the previous power percentage RTCP to the user to indicate to the user an initial power percentage equal to the previous power percentage RTCP, and The software does not display the estimated percentage SWP, so the user experience of the battery level is smooth;

步驟450:設置先前電量百分比RTCP的信賴水準為最高水準,並且配置初始電量百分比為先前電量百分比RTCP,為使用者顯示先前電量百分比RTCP;Step 450: Set the trust level of the previous power percentage RTCP to the highest level, and configure the initial power percentage as the previous power percentage RTCP to display the previous power percentage RTCP to the user;

步驟455:計算硬體測量百分比HWP和先前電量百分比RTCP之間的絕對差值,並確定該絕對差值是否高於特定的閾值;如果絕對差值高於特定的閾值(例如30%DOD),繼續執行步驟460;否則,執行步驟465;Step 455: Calculate the absolute difference between the hardware measurement percentage HWP and the previous power percentage RTCP, and determine whether the absolute difference is higher than a specific threshold; if the absolute difference is higher than a specific threshold (for example, 30% DOD), Continue to step 460; otherwise, perform step 465;

步驟460:計算硬體測量百分比HWP和軟體估計百分比SWP之間的第一絕對差值以 及軟體估計百分比SWP和先前電量百分比RTCP之間的第二絕對差值,並確定第一絕對差值是否小於第二絕對差值;如果是,開始執行步驟470,否則,執行步驟465;Step 460: Calculate the first absolute difference between the hardware measurement percentage HWP and the software estimated percentage SWP and the second absolute difference between the software estimated percentage SWP and the previous power percentage RTCP, and determine whether the first absolute difference is less than The second absolute difference; if yes, proceed to step 470; otherwise, proceed to step 465;

步驟465:計算軟體估計百分比SWP和先前電量百分比RTCP之間的絕對差值,並確定該絕對差值是否大於閾值(如10±1%);如果大於該閾值,開始執行步驟475;否則,執行步驟430;Step 465: Calculate the absolute difference between the software estimated percentage SWP and the previous power percentage RTCP, and determine whether the absolute difference is greater than a threshold (such as 10 ± 1%); if it is greater than the threshold, start to execute step 475; otherwise, execute Step 430;

步驟470:計算硬體測量百分比HWP和軟體估計百分比SWP之間的絕對差值,並確定該絕對差值是否大於閾值(如15%);如果大於該閾值,開始執行步驟480;否則,執行步驟485;Step 470: Calculate the absolute difference between the hardware measurement percentage HWP and the software estimated percentage SWP, and determine whether the absolute difference is greater than a threshold value (such as 15%); if it is greater than the threshold value, start to execute step 480; otherwise, execute step 485;

步驟475:計算軟體估計百分比SWP和先前電量百分比RTCP之間的第三絕對差值以及軟體估計百分比SWP和額定電池百分比VBATP之間的第四絕對差值,並確定第三絕對差值是否高於第四絕對差值;如果是,開始執行步驟480,否則,執行步驟430;Step 475: Calculate a third absolute difference between the software estimated percentage SWP and the previous charge percentage RTCP and a fourth absolute difference between the software estimated percentage SWP and the rated battery percentage VBATP, and determine whether the third absolute difference is higher than The fourth absolute difference; if yes, start to perform step 480; otherwise, perform step 430;

步驟480:設置軟體估計百分比SWP的信賴水準為最高水準,並配置初始電量百分比為軟體估計百分比SWP,以及為使用者顯示軟體估計百分比SWP;Step 480: Set the trust level of the software estimated percentage SWP to the highest level, configure the initial power percentage as the software estimated percentage SWP, and display the software estimated percentage SWP to the user;

步驟485:設置硬體測量百分比HWP的信賴水準為最高水準,並配置初始電量百分比為硬體測量百分比HWP,以及為使用者顯示硬體測量百分比HWP;Step 485: Set the trust level of the hardware measurement percentage HWP to the highest level, configure the initial power percentage as the hardware measurement percentage HWP, and display the hardware measurement percentage HWP for the user;

步驟490:結束。Step 490: End.

第5圖係示出第3圖所示方法的第二實施方式的流程圖。只要能夠實現基本相同的結果,第5圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第5圖的詳細步驟如下:FIG. 5 is a flowchart showing a second embodiment of the method shown in FIG. 3. As long as the substantially the same result can be achieved, the order of the steps of the flowchart shown in FIG. 5 need not be strictly in the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps of Figure 5 are as follows:

步驟505:開始;Step 505: Start;

步驟510:如果充電器與電池連接,則停止/禁用該充電器;Step 510: if the charger is connected to the battery, stop / disable the charger;

步驟515:執行硬體計量運算以獲得硬體測量百分比HWP,執行軟體計量運算以獲得軟體估計百分比SWP,從記憶設備讀取先前電量百分比RTCP;Step 515: Perform a hardware measurement operation to obtain a hardware measurement percentage HWP, perform a software measurement operation to obtain a software estimated percentage SWP, and read a previous power percentage RTCP from the memory device;

步驟520:確定電池是否被嵌入在電池組中。如果是嵌入在電池組中,繼續執行步驟525;否則,則繼續步驟530;Step 520: Determine whether the battery is embedded in the battery pack. If it is embedded in the battery pack, proceed to step 525; otherwise, proceed to step 530;

步驟525:配置初始電量百分比為嵌入式電量百分比;Step 525: Configure the initial power percentage as the embedded power percentage.

步驟530:確定電池是否被置換。如果電池沒有被置換,繼續步驟535;否則,則繼續 步驟540;Step 530: Determine whether the battery is replaced. If the battery has not been replaced, continue to step 535; otherwise, continue to step 540;

步驟535:確定現在電池是否連接到充電器設備。如果電池沒有連接到充電器設 備,則繼續執行步驟525;否則,執行步驟545;Step 535: Determine if the battery is now connected to the charger device. If the battery is not connected to the charger device, proceed to step 525; otherwise, proceed to step 545;

步驟540:配置電池迴圈(battery cycle)為零以及庫侖計電路的迴圈為零;Step 540: Configure the battery loop to zero and the loop of the coulomb counter circuit to zero.

步驟545:計算硬體測量百分比HWP和先前電量百分比RTCP之間的絕對差值,並確定該絕對差值是否高於特定的閾值;如果絕對差值高於該特定的閾值(例如30%DOD),繼續執行步驟550;否則,執行步驟555;Step 545: Calculate the absolute difference between the hardware measurement percentage HWP and the previous power percentage RTCP, and determine whether the absolute difference is higher than a specific threshold; if the absolute difference is higher than the specific threshold (for example, 30% DOD) , Proceed to step 550; otherwise, proceed to step 555;

步驟550:計算硬體測量百分比HWP和軟體估計百分比SWP之間的第一絕對差值以及軟體估計百分比SWP和先前電量百分比RTCP之間的第二絕對差值,並確定第一絕對差值 是否小於第二絕對差值;如果是,開始執行步驟560,否則,執行步驟555;Step 550: Calculate the first absolute difference between the hardware measurement percentage HWP and the software estimated percentage SWP and the second absolute difference between the software estimated percentage SWP and the previous power percentage RTCP, and determine whether the first absolute difference is less than The second absolute difference; if yes, proceed to step 560; otherwise, proceed to step 555;

步驟555:計算額定電量百分比VBATP和先前電量百分比RTCP之間的絕對差值,並確定該絕對差值是否大於閾值(如10%);如果大於該閾值,開始執行步驟560;否則,執行步驟525;Step 555: Calculate the absolute difference between the rated power percentage VBATP and the previous power percentage RTCP, and determine whether the absolute difference is greater than a threshold (such as 10%); if it is greater than the threshold, proceed to step 560; otherwise, proceed to step 525 ;

步驟560:計算硬體測量百分比HWP和軟體估計百分比SWP之間的絕對差值,並確定該絕對差值是否大於閾值(如15%);如果大於該閾值,開始執行步驟565;否則,執行步驟570;Step 560: Calculate the absolute difference between the hardware measurement percentage HWP and the software estimated percentage SWP, and determine whether the absolute difference is greater than a threshold value (such as 15%); if it is greater than the threshold value, start to execute step 565; otherwise, execute step 570;

步驟565:設置軟體估計百分比SWP的信賴水準為最高水準,並且配置初始電量百分比為軟體估計百分比SWP,為使用者顯示軟體估計百分比SWP;Step 565: Set the trust level of the software estimated percentage SWP to the highest level, and configure the initial power percentage as the software estimated percentage SWP to display the software estimated percentage SWP to the user;

步驟570:設置硬體測量百分比HWP的信賴水準為最高水準,並配置初始電量百分比為硬體測量百分比HWP,以及為使用者顯示硬體測量百分比HWP;Step 570: Set the trust level of the hardware measurement percentage HWP to the highest level, configure the initial power percentage as the hardware measurement percentage HWP, and display the hardware measurement percentage HWP for the user;

步驟575:結束。Step 575: End.

第6A圖和第6B圖係示出第3圖所示方法的第三實施方式的流程圖。只要能夠實現基本相同的結果,第6A圖和第6B圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第6A圖和第6B圖的詳細步驟如下:6A and 6B are flowcharts showing a third embodiment of the method shown in FIG. 3. As long as the substantially the same result can be achieved, the order of the steps of the flowcharts shown in FIG. 6A and FIG. 6B need not strictly follow the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps for Figures 6A and 6B are as follows:

步驟605:開始;Step 605: Start;

步驟610:確定是否使用先前電量百分比RTCP作為初始電量百分比。如果確先前電量百分比RTCP不用於作為初始電量百分比,則執行步驟615;否則,執行步驟630;Step 610: Determine whether to use the previous power percentage RTCP as the initial power percentage. If it is determined that the previous power percentage RTCP is not used as the initial power percentage, step 615 is performed; otherwise, step 630 is performed;

步驟615:計算硬體測量百分比HWP和軟體估計百分比SWP之間的絕對差值,並確定該絕對差值是否大於閾值(如15%);如果大於該閾值,開始執行步驟620;否則,執行步驟 625;Step 615: Calculate the absolute difference between the hardware measurement percentage HWP and the software estimated percentage SWP, and determine whether the absolute difference is greater than a threshold (such as 15%); if it is greater than the threshold, start to execute step 620; otherwise, execute step 625;

步驟620:設置軟體估計百分比SWP的信賴水準為最高水準,並且配置初始電量百分比為軟體估計百分比SWP,為使用者顯示軟體估計百分比SWP,以便當系統重新開機時指示電池的電量;Step 620: Set the trust level of the software estimated percentage SWP to the highest level, and configure the initial power percentage as the software estimated percentage SWP to display the software estimated percentage SWP to the user, so as to indicate the battery power when the system is restarted;

步驟625:設置硬體測量百分比HWP的信賴水準為最高水準,並配置初始電量百分比為硬體測量百分比HWP,以及為使用者顯示硬體測量百分比HWP,以便當系統重新開機時指示電池的電量;Step 625: Set the trust level of the hardware measurement percentage HWP to the highest level, configure the initial power percentage as the hardware measurement percentage HWP, and display the hardware measurement percentage HWP for the user to indicate the battery power when the system restarts;

步驟630:確定先前電量百分比RTCP是否高於軟體估計百分比SWP。如果先前電量百分比RTCP是否高於軟體估計百分比SWP,則開始執行步驟650;否則,執行步驟635;Step 630: Determine whether the previous power percentage RTCP is higher than the software estimated percentage SWP. If the previous power percentage RTCP is higher than the software estimated percentage SWP, step 650 is started; otherwise, step 635 is performed;

步驟635:確定電池現在是否連接到或者插入充電器設備。如果電池連接到充電器設備,執行步驟645;否則,執行步驟640;Step 635: Determine if the battery is now connected to or inserted into the charger device. If the battery is connected to the charger device, go to step 645; otherwise, go to step 640;

步驟640:計算軟體估計百分比SWP和先前電量百分比RTCP之間的絕對差值,並確定該絕對差值是否大於閾值(如15%±1%);如果大於16%(或者在一些情形下14%),開始執行步驟650;否則,執行步驟645;Step 640: Calculate the absolute difference between the software estimated percentage SWP and the previous power percentage RTCP, and determine whether the absolute difference is greater than a threshold (such as 15% ± 1%); if it is greater than 16% (or 14% in some cases) ), Start to perform step 650; otherwise, perform step 645;

步驟645:設置先前電量百分比RTCP的信賴水準為最高水準,並且配置初始電量百分比為先前電量百分比RTCP,為使用者顯示先前電量百分比RTCP,以便當系統重新開機時指示電池的電量;Step 645: Set the trust level of the previous power percentage RTCP to the highest level, and configure the initial power percentage as the previous power percentage RTCP to display the previous power percentage RTCP to the user, so as to indicate the battery power when the system is restarted;

步驟650:確定軟體估計百分比SWP和先前電量百分比RTCP之間的絕對差值是否大於較低閾值(如10%±1%);如果大於11%(或者在一些情形下9%),開始執行步驟655;否則,執行步驟660;Step 650: Determine whether the absolute difference between the software estimated percentage SWP and the previous power percentage RTCP is greater than a lower threshold (e.g., 10% ± 1%); if it is greater than 11% (or 9% in some cases), start to perform steps 655; otherwise, go to step 660;

步驟655:設置軟體估計百分比SWP的信賴水準為最高水準,並且配置初始電量百分比為軟體估計百分比SWP,為使用者顯示先前電量百分比RTCP(或者先前電量百分比RTCP減去1%),以便當系統重新開機時指示電池的電量;Step 655: Set the trust level of the software estimated percentage SWP to the highest level, and configure the initial power percentage as the software estimated percentage SWP to show the user the previous power percentage RTCP (or the previous power percentage RTCP minus 1%) so that when the system restarts Indicate the battery level when starting up;

步驟660:確定軟體估計百分比SWP是否低於低閾值(如3%);如果軟體估計百分比SWP低於3%,開始執行步驟655;否則,執行步驟645;Step 660: Determine whether the software estimated percentage SWP is lower than a low threshold (for example, 3%); if the software estimated percentage SWP is lower than 3%, start to execute step 655; otherwise, execute step 645;

步驟665:結束。Step 665: End.

同樣地,對於第4圖至第6圖的步驟,在其他實施方式中,該方法可以設置為根據與RTCP、HWP和SWP這三個百分比對應的電池單元電壓中至少一對之間的電壓差,計算或確定先前電量百分比RTCP、硬體測量百分比HWP和軟體估計百分比SWP的信賴水準。與電池單元電壓相關的相應運算(計算以及與閾值比較)與這三個百分比相關運算類似,進一步詳細描述不再贅述。Similarly, for the steps of FIG. 4 to FIG. 6, in other embodiments, the method may be set according to the voltage difference between at least one of the battery cell voltages corresponding to the three percentages of RTCP, HWP, and SWP. , Calculate or determine the trust level of the previous power percentage RTCP, hardware measurement percentage HWP, and software estimated percentage SWP. Corresponding operations (calculation and comparison with threshold) related to the battery cell voltage are similar to these three percentage-related operations, and further detailed description will not be repeated here.

此外,在一些實施方式中,該方法可以設置為基於電池使用/歷史資訊、時間資訊、老化因數和/或溫度資訊等調整上述三種百分比的信賴水準。例如,該方法可以將硬體測量百分比HWP的信賴水準提高為最高水準,如果時間資訊表明電池已休息了特定時間段(例如30分鐘)。也就是說,在這種情況下,硬體測量百分比HWP可以直接被選擇為用於設置初始電量百分比。因此,在基於電池使用/歷史資訊、時間資訊、老化因數和/或溫度資訊等調整這三種百分比的信賴水準後,該方法可以據此設置初始電量百分比。此外,例如,如果檢測到連接至充電器設備的電池的電量消耗小於低電量閾值(例如5mAH,但不限於此),方法可以調整的信賴水準。此外,例如,如果檢測到新電池單元電壓和先前電池單元電壓之間的電壓差大於電壓閾值(例如20mV,但不限於此),該方法可以調整信賴水準。所有該些示例都並非是本發明的限制。電池的使用/歷史資訊包括電池的狀態歷史記錄。In addition, in some embodiments, the method may be set to adjust the trust level of the above three percentages based on battery usage / history information, time information, aging factor, and / or temperature information. For example, this method can increase the confidence level of the hardware measurement percentage HWP to the highest level if the time information indicates that the battery has been resting for a certain period of time (for example, 30 minutes). That is, in this case, the hardware measurement percentage HWP can be directly selected to set the initial power percentage. Therefore, after adjusting the three levels of trust based on battery usage / history information, time information, aging factor, and / or temperature information, the method can set the initial power percentage accordingly. In addition, for example, if it is detected that the power consumption of a battery connected to the charger device is less than a low power threshold (for example, 5mAH, but is not limited thereto), the method can adjust the level of trust. In addition, for example, if it is detected that the voltage difference between the new battery cell voltage and the previous battery cell voltage is greater than a voltage threshold (for example, 20 mV, but is not limited thereto), the method can adjust the level of confidence. None of these examples is a limitation of the invention. Battery usage / history information includes battery status history.

基於電池使用/歷史資訊、時間資訊、老化因數和/或溫度資訊,該方法可以更精確的確定或配置電池的初始電量百分比。例如,在第一場景中,如第7圖所示,該方法確定/檢測到系統被啟用或啟動並且沒有充電器與電池相連,即,沒有充電器插入電池。在這種場景中,該方法被設置為檢測電池是否已被移除或置換。如果檢測到電池沒有被移除(步驟705),該方法被設置為檢查/檢測電池的系統關閉時間(system off time)(步驟710),以確定系統關閉時間是否超過特定時間段,例如30分鐘(步驟713)。系統關閉時間是指從系統被關閉(禁用)的最後時間起至系統被開啟(啟用)的當前時間之間的時間段。如果系統關閉時間超過30分鐘,則繼續步驟715,該方法被設置為通過設置硬體測量百分比HWP的信賴水準為最高水準,使用硬體測量百分比HWP作為電池的初始電量百分比。並且該方法可以被設置為為使用者顯示先前電量百分比RTCP減去百分比差(percentage gap)。相反,如果系統關閉時間小於30分鐘,執行步驟720,該方法被設置為通過設置先前電量百分比RTCP的信賴水準為最高水準,使用先前電量百分比RTCP作為電池的初始電量百分比。同時,方法被設置為為使用者顯示先前電量百分比RTCP。Based on battery usage / history information, time information, aging factor, and / or temperature information, this method can more accurately determine or configure the battery's initial charge percentage. For example, in the first scenario, as shown in FIG. 7, the method determines / detects that the system is enabled or started and no charger is connected to the battery, that is, no charger is inserted into the battery. In this scenario, the method is set to detect whether the battery has been removed or replaced. If it is detected that the battery has not been removed (step 705), the method is set to check / detect the system off time of the battery (step 710) to determine whether the system off time exceeds a certain period of time, such as 30 minutes (Step 713). The system shutdown time refers to the time period from the last time the system was shut down (disabled) to the current time when the system was turned on (enabled). If the system shutdown time exceeds 30 minutes, then proceed to step 715, the method is set to set the trust level of the hardware measurement percentage HWP to the highest level, and use the hardware measurement percentage HWP as the initial battery percentage. And the method can be set to display the previous power percentage RTCP minus the percentage gap for the user. In contrast, if the system shutdown time is less than 30 minutes, step 720 is performed, and the method is set to set the trust level of the previous power percentage RTCP to the highest level and use the previous power percentage RTCP as the initial power percentage of the battery. At the same time, the method is set to display the previous power percentage RTCP for the user.

在第二場景中,如第8圖所示,該方法確定/檢測到沒有充電器連接到電池並且在系統被禁用時的溫度條件不同的溫度條件下,系統被啟用或啟動。在這種場景中,該方法被設置為檢測電池是否已被移除或置換。如果檢測到電池沒有被移除(步驟805),該方法被設置為檢查/檢測系統上次被禁用時的電池溫度和系統被再次啟用時的當前電池溫度之間的溫度差(步驟810),以確定溫度差是否高於溫度閾值(步驟815)。如果溫度差不超過溫度閾值,則執行步驟820,並且該方法被設置為時間檢查/檢測用於電池的系統關閉時間。該方法被設置為確定系統關閉時間是否超過特定時間段,例如30分鐘(步驟825),如果系統關閉時間超過特定時間段,例如30分鐘,則繼續步驟830,該方法被設置為通過設置硬體測量百分比HWP的信賴水準為最高水準,使用硬體測量百分比HWP作為電池的初始電量百分比。並且該方法可以被設置為為使用者顯示先前電量百分比RTCP減去百分比差(percentage gap)。相反,如果系統關閉時間小於30分鐘,執行步驟835,該方法被設置為通過設置先前電量百分比RTCP的信賴水準為最高水準,使用先前電量百分比RTCP作為電池的初始電量百分比。同時,方法被設置為為使用者顯示先前電量百分比RTCP。但是,在第二場景中,如果溫度差高於溫度閾值,則執行步驟840,並且該方法被設置為基於先前電量百分比RTCP、硬體測量百分比HWP和軟體測量百分比SWP的信賴水準從先前電量百分比RTCP、硬體測量百分比HWP和軟體測量百分比SWP中選擇一個作為電池的初始電量百分比。In the second scenario, as shown in Figure 8, the method determines / detects that the system is enabled or started under temperature conditions where the temperature conditions when the system is disabled are different when no charger is connected to the battery. In this scenario, the method is set to detect whether the battery has been removed or replaced. If it is detected that the battery has not been removed (step 805), the method is set to check / detect the temperature difference between the battery temperature when the system was last disabled and the current battery temperature when the system is re-enabled (step 810), It is determined whether the temperature difference is above a temperature threshold (step 815). If the temperature difference does not exceed the temperature threshold, step 820 is performed and the method is set to time check / detect the system shutdown time for the battery. The method is set to determine whether the system shutdown time exceeds a specific time period, such as 30 minutes (step 825), and if the system shutdown time exceeds a specific time period, such as 30 minutes, then continue to step 830, the method is set by setting the hardware The confidence level of the measurement percentage HWP is the highest level, and the hardware measurement percentage HWP is used as the initial battery percentage. And the method can be set to display the previous power percentage RTCP minus the percentage gap for the user. In contrast, if the system shutdown time is less than 30 minutes, step 835 is executed, and the method is set to set the trust level of the previous power percentage RTCP to the highest level, and use the previous power percentage RTCP as the initial power percentage of the battery. At the same time, the method is set to display the previous power percentage RTCP for the user. However, in the second scenario, if the temperature difference is higher than the temperature threshold, step 840 is performed, and the method is set based on the trust level of the previous power percentage RTCP, the hardware measurement percentage HWP, and the software measurement percentage SWP from the previous power percentage Select one of RTCP, hardware measurement percentage HWP, and software measurement percentage SWP as the battery's initial charge percentage.

在第三場景中,如第9圖所示,該方法確定/檢測到沒有充電器連接到電池並且電池被移除。在這種場景中,方法被設置為檢測電池是否已被移除或置換。如果檢測到電池已經被移除,該方法被設置為檢測/檢查電池的特定資訊,諸如電池標識、電池的化學成分或電池的特徵,以選擇相應的電池參數(步驟905)。在確定電池參數後,該方法被設置為檢測電池是否已被移除或置換。在這種場景中,該方法可以檢測到電池已被移除。接著,該方法被 設置為檢測或檢查電池移除時間(步驟910)。檢測電池移除時間後,該方法被設置為比較和 確定電池移除時間是否超過特定時間段,例如30分鐘(步驟915)。如果電池移除時間小於30分鐘,則繼續步驟920,該方法被設置為檢測/檢查系統上次被禁用時的電池溫度和系統被再次啟用時的當前電池溫度之間的溫度差,以確定溫度差是否高於溫度閾值Temp(步驟 925)。如果溫度差不超過溫度閾值Temp,則執行步驟930,該方法被設置為基於先前電量百分比RTCP、硬體測量百分比HWP和軟體測量百分比SWP的信賴水準從先前電量百分比RTCP、硬體測量百分比HWP和軟體測量百分比SWP中選擇一個作為電池的初始電量百分比。如果溫度差高於溫度閾值Temp,執行步驟935,該方法被設置為通過設置硬體測量百分比HWP的信賴水準為最高水準,使用硬體測量百分比HWP作為電池的初始電量百分比。並且該方法被設置為為使用者顯示硬體測量百分比HWP。但是,如果電池移除時間大於30分鐘,則繼續步驟940,該方法被設置為通過設置硬體測量百分比HWP的信賴水準為最高水準,使用硬體測量百分比HWP作為電池的初始電量百分比。並且該方法被設置為為使用者顯示硬體測量百分比HWP或先前電量百分比RTCP。In a third scenario, as shown in Figure 9, the method determines / detects that no charger is connected to the battery and the battery is removed. In this scenario, the method is set to detect whether the battery has been removed or replaced. If it is detected that the battery has been removed, the method is set to detect / check specific information of the battery, such as the battery identification, the chemical composition of the battery, or the characteristics of the battery to select the corresponding battery parameter (step 905). After determining the battery parameters, the method is set to detect whether the battery has been removed or replaced. In this scenario, the method can detect that the battery has been removed. The method is then set to detect or check the battery removal time (step 910). After detecting the battery removal time, the method is set to compare and determine whether the battery removal time exceeds a certain time period, such as 30 minutes (step 915). If the battery removal time is less than 30 minutes, then proceed to step 920, the method is set to detect / check the temperature difference between the battery temperature when the system was last disabled and the current battery temperature when the system is re-enabled to determine the temperature Whether the difference is above the temperature threshold Temp (step 925). If the temperature difference does not exceed the temperature threshold Temp, step 930 is performed, and the method is set to be based on the trust level of the previous power percentage RTCP, the hardware measurement percentage HWP, and the software measurement percentage SWP from the previous power percentage RTCP, the hardware measurement percentage HWP, and Select one of the software measurement percentage SWP as the battery's initial charge percentage. If the temperature difference is higher than the temperature threshold Temp, step 935 is performed, and the method is set to set the trust level of the hardware measurement percentage HWP to the highest level, and use the hardware measurement percentage HWP as the initial battery percentage. And the method is set to display the hardware measurement percentage HWP for the user. However, if the battery removal time is greater than 30 minutes, proceed to step 940, the method is set to set the trust level of the hardware measurement percentage HWP to the highest level, and use the hardware measurement percentage HWP as the battery's initial charge percentage. And the method is set to display the hardware measurement percentage HWP or the previous power percentage RTCP for the user.

在第四場景中,該方法可以確定/檢測從上次系統關閉(禁用)到系統打開(啟用)的當前時間之間有充電器插入/拔出,以確定電池的初始電量百分比。該方法可以被設置為確定是否插入有充電器電路。當檢測到插入有充電器電路時,該方法被設置為使用充電器電路執行硬體測量百分比估計並使用充電器電路的測量結果作為電池的初始電量百分比。相反,如果檢測到之前插入有充電器電路但是現在已拔出,該方法被設置為通過設置硬體 測量HWP百分比或軟體測量百分比SWP的信賴水準為最高水準,使用硬體測量HWP百分比或軟體測量百分比SWP作為初始電量百分比。同時,該方法可以被設置為為使用者顯示硬體測量百分比HWP或軟體測量百分比SWP。In the fourth scenario, the method can determine / detect that there is a charger plugged / unplugged between the current time when the system was last turned off (disabled) and the system turned on (enabled) to determine the initial percentage of battery power. The method may be set to determine whether a charger circuit is inserted. When a charger circuit is detected, the method is set to perform a hardware measurement percentage estimation using the charger circuit and use the measurement result of the charger circuit as the initial charge percentage of the battery. Conversely, if it is detected that the charger circuit was previously inserted but is now unplugged, the method is set to set the level of trust of the hardware measurement HWP percentage or software measurement SWP to the highest level, using hardware measurement HWP percentage or software measurement The percentage SWP is used as the initial power percentage. At the same time, the method can be set to display the hardware measurement percentage HWP or software measurement percentage SWP for the user.

在第五場景中,該方法可以確定/檢測從上次系統關閉(禁用)到系統打開(啟用)的當前時間之間有充電器插入,以確定電池的初始電量百分比。該方法可以被設置為確定是否插入有充電器電路。當檢測到插入有充電器電路時,該方法被設置為使用充電器電路執行硬體測量百分比估計並使用充電器電路的測量結果作為電池的初始電量百分比。相反,如果檢測到之前插入有充電器電路但是現在已拔出,該方法被設置為通過設置硬體測量HWP百分比或軟體測量百分比SWP的信賴水準為最高水準,使用硬體測量HWP百分比或軟體測量百分比SWP作為初始電量百分比。同時,該方法可以被設置為為使用者顯示硬體測量百分比HWP或軟體測量百分比SWP。In a fifth scenario, the method can determine / detect that there is a charger inserted between the current time when the system was last turned off (disabled) and the system was turned on (enabled) to determine the initial percentage of battery power. The method may be set to determine whether a charger circuit is inserted. When a charger circuit is detected, the method is set to perform a hardware measurement percentage estimation using the charger circuit and use the measurement result of the charger circuit as the initial charge percentage of the battery. Conversely, if it is detected that the charger circuit was previously inserted but is now unplugged, the method is set to set the level of trust of the hardware measurement HWP percentage or software measurement SWP to the highest level, using hardware measurement HWP percentage or software measurement The percentage SWP is used as the initial power percentage. At the same time, the method can be set to display the hardware measurement percentage HWP or software measurement percentage SWP for the user.

應該注意的是,該方法可以被設置為基於上述不同場景的組合場景確定電池的電量百分比。也就是說,該方法能夠基於充電器插入/拔出、電池插入/拔出、溫度差、系統關機時間、電池移除時間中至少一個資訊,更準確地確定電池的電量百分比。上述場景並非是對本發明的限制。It should be noted that this method may be set to determine the battery power percentage based on the combined scenario of the different scenarios described above. That is, the method can more accurately determine the percentage of the battery's power based on at least one of information such as charger insertion / removal, battery insertion / removal, temperature difference, system shutdown time, and battery removal time. The above scenario is not a limitation on the present invention.

上述第3圖至第6圖的方法或其中至少一個步驟可以通過控制器或微控制器執行從諸如寄存器電路的記憶設備載入的相應程式碼來執行。例如,第2圖的控制器210可以被設置為從記憶設備205載入程式碼並且執行程式碼以執行至少一個步驟,從而評級/調整/設置信賴水準以動態地從三種百分比中選擇一個作為電池的初始電量百分比。進一步的描述不再贅述。The method in FIG. 3 to FIG. 6 or at least one of the steps may be performed by a controller or a microcontroller executing a corresponding program code loaded from a memory device such as a register circuit. For example, the controller 210 of FIG. 2 may be configured to load code from the memory device 205 and execute the code to perform at least one step, thereby rating / adjusting / setting a trust level to dynamically select one of three percentages as a battery Initial battery percentage. Further description will not be repeated here.

另外,在一些情況下,電池具有的SOC(充電狀態)百分比或DOD(放電深度)百分比可能會被誤認為較高的SOC/DOD百分比或較低的SOC/DOD百分比。例如,100%的SOC可能被誤認為是30%的SOC,或者40%的SOC可能被誤認為是100%的SOC。在該些情況下,只有等待更長的收斂時間才能完成校準,只能使用基於電壓的電量計量運算才能夠成功地校準或調整電池電量百分比的估計結果;實際上,這種收斂時間可以等於三十分鐘或一小時。對於用戶來說,只有等待這麼長時間才能獲得精確地電池電量百分比是非常不方便的。In addition, in some cases, the battery has a SOC (State of Charge) or DOD (Discharge Depth) percentage that may be mistaken for a higher SOC / DOD percentage or a lower SOC / DOD percentage. For example, a 100% SOC may be mistaken for a 30% SOC, or a 40% SOC may be mistaken for a 100% SOC. In these cases, you can only wait for a longer convergence time to complete the calibration, and you can only successfully calibrate or adjust the estimated battery power percentage using voltage-based fuel gauge calculations; in fact, this convergence time can be equal to three Ten minutes or an hour. It is very inconvenient for the user to wait for such a long time to obtain an accurate battery charge percentage.

為了解決上述問題,在本發明的實施例中,電源管理裝置200可以被配置為基於第二電量計量運算測量的資訊來快速或急速的執行補償/校準第一電量計量運算,該第二電量計量運算不同於第一電量計量運算。第一電量計量運算可以是基於電壓的電量計量運算,第二電量計量運算是基於庫侖計的電量計量運算。但是上述並非對本發明的限制,第一電量計量也可以是基於庫侖計的電量計量運算,第二電量計量運算也可以是基於電壓的電量計量運算。In order to solve the above problems, in the embodiment of the present invention, the power management device 200 may be configured to quickly or quickly perform compensation / calibration based on the information measured by the second electric quantity measurement operation, and the second electric quantity measurement is performed. The operation is different from the first electric quantity measurement operation. The first power measurement operation may be a voltage-based power measurement operation, and the second power measurement operation is a coulomb-based power measurement operation. However, the above is not a limitation on the present invention. The first electric quantity measurement may also be an electric quantity calculation operation based on a coulomb meter, and the second electric quantity measurement may also be a voltage-based electricity quantity calculation operation.

在本發明的實施例中,電源管理裝置200被配置為運用和執行基於庫侖計的電量計量運算來測量並獲得準確的資訊,例如電池201充電或放電的電量/電能的精確值和/或通過電池201的精確的電池電流值。例如,可以週期性地測量電池201充電或放電的電量/電能的數值。通過電池201的電池電流可以是暫態或平均測量的電池電流。例如,電源管理裝置200採用從電池201充電或放電的電量/電能的精確值,反向推導出通過電池201的精確的電池電流值,然後採用推導出的電池電流值的計算電池201的正確/精確的電池單元電壓值。電源管理裝置200最終可以根據正確/精確的電池單元電壓值,通過參照定義電池201的電池單元電壓與電池電量百分比之間關係的映射表(或映射曲線)來獲得或得到電池201的精確/正確的電池電量百分比。相似地,電源管理裝置200可以直接使用通過基於庫侖計的電量計量運算測量的精確的電池電流值來計算電池201的正確/精確的電池單元電壓值。此外,在計算正確/精確的電池單元電壓值之後,電源管理裝置200可以採用這種正確/精確的電池單元電壓值來校準或調整通過基於庫侖計的電量計量運算測量的電池電量百分比。In an embodiment of the present invention, the power management device 200 is configured to use and execute a coulomb-based power measurement operation to measure and obtain accurate information, such as the accurate value of the amount of power / electric energy charged or discharged by the battery 201 and / or An accurate battery current value of the battery 201. For example, the value of the amount of electricity / electric energy charged or discharged by the battery 201 may be measured periodically. The battery current through the battery 201 may be a transient or average measured battery current. For example, the power management device 200 uses the accurate value of the amount of electricity / electric energy charged or discharged from the battery 201, and infers the accurate battery current value through the battery 201, and then uses the derived battery current value to calculate the correctness of the battery 201 Accurate battery cell voltage. The power management device 200 can finally obtain or obtain the accuracy / correctness of the battery 201 by referring to the mapping table (or mapping curve) that defines the relationship between the battery cell voltage of the battery 201 and the percentage of battery power according to the correct / accurate battery cell voltage value Of battery power. Similarly, the power management device 200 may directly use the accurate battery current value measured by the coulomb-based coulometry calculation to calculate the correct / precise battery cell voltage value of the battery 201. In addition, after calculating the correct / accurate battery cell voltage value, the power management device 200 may use such correct / accurate battery cell voltage value to calibrate or adjust the percentage of battery power measured by a coulomb-based fuel gauge operation.

第10圖係採用基於庫侖計的電量計量運算資訊的控制器210的第一運算示例的流程圖,該控制器210用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。只要能夠實現基本相同的結果,第10圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第10圖的詳細步驟如下:FIG. 10 is a flowchart of a first operation example of the controller 210 based on coulomb-meter-based power measurement operation information. The controller 210 is configured to perform a voltage-based power measurement operation to obtain a correct percentage of battery power. As long as the substantially the same result can be achieved, the order of the steps of the flowchart shown in FIG. 10 need not be strictly in the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps of Figure 10 are as follows:

步驟1005:開始;Step 1005: Start;

步驟1010:控制器210執行基於電壓的電量計量運算,以產生或估計電池201充電或放電的電量/電能的第一數值;Step 1010: The controller 210 executes a voltage-based electric quantity measurement operation to generate or estimate a first value of the electric quantity / electric energy charged or discharged by the battery 201;

步驟1015:控制器210執行基於庫侖計的電量計量運算,以產生或測量電池201充電或放電的電量/電能的第二數值;Step 1015: The controller 210 performs a coulomb-meter-based power measurement operation to generate or measure a second value of the power / electric energy charged or discharged by the battery 201;

步驟1020:控制器210確定是否對基於電壓的電量計量運算執行快速補償/校準;如果是,則繼續步驟1025;否則繼續步驟1010;Step 1020: The controller 210 determines whether to perform fast compensation / calibration on the voltage-based energy measurement operation; if so, proceeds to step 1025; otherwise, proceeds to step 1010;

步驟1025:控制器210採用通過基於庫侖計的電量計量運算測量的電量/電能的第二數值來執行基於電壓的電量計量運算,以便推導和計算電池201精確的電池單元電壓值;Step 1025: The controller 210 uses the second value of the electric quantity / electric energy measured by the coulomb-based electric quantity calculation operation to perform a voltage-based electric quantity calculation operation in order to derive and calculate an accurate battery cell voltage value of the battery 201;

步驟1030:控制器210根據精確的電池單元電壓值,通過參照定義電池單體電壓和電池電量百分比之間的關係的映射表,獲得電池201精確的電池電量百分比;Step 1030: The controller 210 obtains the accurate battery power percentage of the battery 201 by referring to a mapping table that defines the relationship between the battery cell voltage and the battery power percentage according to the accurate battery cell voltage value;

步驟1035:結束。Step 1035: End.

在步驟1020中,例如,控制器210被設置為計算第一數值和第二數值的差值,並且確定差值比是否高於特定閾值,以便決定是否對基於電壓的電量計量運算執行快速補償/校準。但是上述並非對本發明的限制。控制器210也可以被佈置為基於其他演算法來觸發執行快速補償/校準。例如,特定閾值為1%或0.5%。如果差值比高於1%或0.5%,則繼續步驟1025;否則,繼續步驟1010,並且控制器210重複步驟1010和步驟1015。In step 1020, for example, the controller 210 is set to calculate a difference between the first value and the second value, and determine whether the difference ratio is higher than a specific threshold value in order to decide whether to perform fast compensation / calibration. However, the above is not a limitation on the present invention. The controller 210 may also be arranged to trigger the execution of fast compensation / calibration based on other algorithms. For example, the specific threshold is 1% or 0.5%. If the difference ratio is higher than 1% or 0.5%, step 1025 is continued; otherwise, step 1010 is continued, and the controller 210 repeats step 1010 and step 1015.

在步驟1025中,控制器210採用通過基於庫侖計的燃料計量運算測量的電量/電能的第二數值來推導和計算電池201的精確的電池單元電壓值。例如,控制器210基於以下等式計算電池單元電壓值: In step 1025, the controller 210 derives and calculates an accurate battery cell voltage value of the battery 201 by using the second value of the electric quantity / electric energy measured through a fuel metering operation based on a coulomb counter. For example, the controller 210 calculates a battery cell voltage value based on the following equation:

其中ΔCAR表示在時間間隔ΔT期間通過基於庫侖計的電量計量運算測量的電量/電能的值,I1表示通過電池201的電池電流,不管電池201在充電或放電,Vbat表示外部電池電壓,可以通過使用基於電壓的電量計量運算來測量Vbat,R表示使用基於電壓的電量計量運算獲得的感測電阻的電阻,Vzcv表示要計算/推導的電池201的電池單元電壓值。作為示例,感測電阻包括在電池201內;也就是說,感測電阻的電阻是電池201的等效電阻。由於基於電壓的電量計量運算可以被設置為計算電量/電能的第一數值,本發明同等地採用電量/電能的第二數值代替電量/電能的第一數值。Among them, ΔCAR represents the value of electricity / electricity measured by the coulometric calculation based on the coulomb counter during the time interval ΔT, and I1 represents the battery current through the battery 201. Regardless of whether the battery 201 is being charged or discharged, Vbat represents the external battery voltage. Vbat is measured based on the voltage-based coulometry calculation, R represents the resistance of the sensing resistor obtained using the voltage-based coulometry calculation, and Vzcv represents the battery cell voltage value of the battery 201 to be calculated / derived. As an example, the sense resistance is included in the battery 201; that is, the resistance of the sense resistance is the equivalent resistance of the battery 201. Since the voltage-based power measurement operation can be set to calculate the first value of power / electricity, the present invention equally uses the second value of power / electricity instead of the first value of power / electricity.

在獲得電池201的精確的電池單元電壓值Vzcv之後,在步驟1030中,控制器210可以根據精確的電池單元電壓值,通過參照定義電池單元電壓與電量百分比之間關係的映射表直接獲得或得到電池201精確的電池電量百分比。定義電池單元電壓和電池電量百分比之間的關係的映射表是基於電壓的電量計量運算建立的。After obtaining the accurate battery cell voltage value Vzcv of the battery 201, in step 1030, the controller 210 may directly obtain or obtain the accurate battery cell voltage value by referring to a mapping table that defines the relationship between the battery cell voltage and the percentage of power. Battery 201 is a precise percentage of battery power. The mapping table that defines the relationship between the battery cell voltage and the percentage of battery power is established based on the fuel gas quantity calculation operation of the voltage.

在另一個實施例中,控制器210可以回應於溫度變化、電池老化因數的變化和/或初始狀態的變化來決定對基於電壓的電量計量運算執行快速補償/校準。例如,當系統被重新連接到電池和/或最初使用電池時,控制器210可以在執行這種基於電壓的電量計量運算時對基於電壓的電量計量運算執行快速補償/校準。In another embodiment, the controller 210 may decide to perform fast compensation / calibration on the voltage-based fuel gauge operation in response to a temperature change, a change in a battery aging factor, and / or a change in an initial state. For example, when the system is reconnected to the battery and / or the battery is initially used, the controller 210 may perform quick compensation / calibration on the voltage-based fuel gauge operation when performing such a voltage-based fuel gauge operation.

第11圖係採用基於庫侖計的電量計量運算資訊的控制器的第二運算示例的流程圖,該控制器用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。只要能夠實現基本相同的結果,第11圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第11圖的詳細步驟如下:FIG. 11 is a flowchart of a second operation example of a controller using a coulomb-based fuel gauge calculation information, the controller is used to perform a voltage-based fuel gauge calculation to obtain a correct percentage of battery power. As long as the basically the same result can be achieved, the order of the steps of the flowchart shown in FIG. 11 need not strictly follow the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps of Figure 11 are as follows:

步驟1105:開始;Step 1105: Start;

步驟1110:控制器210執行基於電壓的電量計量運算,以產生或估計電池201充電或放電的電量/電能的第一數值;Step 1110: The controller 210 executes a voltage-based electric quantity measurement operation to generate or estimate a first value of the electric quantity / electric energy charged or discharged by the battery 201;

步驟1115:控制器210根據溫度變化、電池老化因數的變化和/或電池的初始狀態的改變來確定是否對基於電壓的電量計量運算執行快速補償/校準。如果是,則繼續步驟1120,否則繼續步驟1110;Step 1115: The controller 210 determines whether to perform fast compensation / calibration on the voltage-based fuel-gauge operation according to a temperature change, a change in a battery aging factor, and / or a change in an initial state of the battery. If yes, continue to step 1120, otherwise continue to step 1110;

步驟1120:控制器210執行基於庫侖計的電量計量運算以產生或估計電池201充電或放電的電量/電能的第二數值;Step 1120: The controller 210 performs a coulomb-meter-based power measurement operation to generate or estimate a second value of the power / electric energy charged or discharged by the battery 201;

步驟1125:控制器210通過基於庫侖計的電量計量運算測量的電量/電能的第二數值來推導和計算電池201的精確的電池單元電壓值;Step 1125: The controller 210 derives and calculates the accurate battery cell voltage value of the battery 201 by using the second value of the electric quantity / electric energy measured based on the coulometric calculation of the coulomb counter;

步驟1130:控制器210根據精確的電池單元電壓值,通過參照定義電池單元電壓和電池電量百分比之間關係的映射表,獲得電池201精確的電池電量百分比;Step 1130: The controller 210 obtains an accurate battery power percentage of the battery 201 by referring to a mapping table defining a relationship between the battery cell voltage and the battery power percentage according to the accurate battery cell voltage value;

步驟1135:結束。Step 1135: End.

此外,在步驟1115中,控制器210還可以被設置為週期性地對基於電壓的電量計量運算執行快速補償/校準。In addition, in step 1115, the controller 210 may be further configured to periodically perform fast compensation / calibration on the voltage-based fuel-gauge operation.

另外,在其他實施例中,控制器210可以被設置為在執行這種基於電壓的電量計量運算時,參考通過基於庫侖計的電量計量運算測量的電池電流,對基於電壓的電量計量運算執行快速補償/校準執行快速補償/校準。In addition, in other embodiments, the controller 210 may be configured to perform a fast voltage-based fuel-gauge operation with reference to a battery current measured by a coulomb-based fuel-gauge operation when performing such a voltage-based fuel gauge operation Compensation / calibration performs quick compensation / calibration.

第12圖係採用基於庫侖計的電量計量運算資訊的控制器的第三運算示例的流程圖,該控制器用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。只要能夠實現基本相同的結果,第12圖所示流程圖的步驟的先後順序可以不需嚴格按照所示的順序且不需要是連續的,也就是說,中間可以有其他步驟。第12圖的詳細步驟如下:FIG. 12 is a flowchart of a third operation example of a controller based on coulometric calculation information of a coulometer, the controller is used to perform a voltage-based fuel measurement operation to obtain a correct percentage of battery power. As long as the basically the same result can be achieved, the order of the steps of the flowchart shown in FIG. 12 need not strictly follow the order shown and need not be continuous, that is, there may be other steps in the middle. The detailed steps of Figure 12 are as follows:

步驟1205:開始;Step 1205: Start;

步驟1210:控制器210執行基於電壓的電量計量運算,以產生或估計電池201充電或放電的電量/電能的第一數值;Step 1210: The controller 210 executes a voltage-based electric quantity measurement operation to generate or estimate a first value of the electric quantity / electric energy charged or discharged by the battery 201;

步驟1215:控制器210執行基於庫侖計的電量計量運算,以產生或測量電池201充電或放電的電量/電能的第二數值;Step 1215: The controller 210 performs a coulomb-meter-based power measurement operation to generate or measure a second value of the power / electric energy charged or discharged by the battery 201;

步驟1220:控制器210確定是否對基於電壓的電量計量運算執行快速補償/校準;如果是,則繼續步驟1225,否則繼續步驟1210;Step 1220: The controller 210 determines whether to perform fast compensation / calibration on the voltage-based power measurement operation; if so, proceed to step 1225, otherwise proceed to step 1210;

步驟1225:控制器210通過基於庫侖計的電量計量運算測量的電量/電能的第二數值來執行基於電壓的電量計量運算,以便推導和計算電池201精確的電池單元電壓值;Step 1225: The controller 210 performs a voltage-based fuel gauging operation by using the second value of the power / electric energy measured based on the coulometric operation of the coulomb counter, so as to derive and calculate an accurate battery cell voltage value of the battery 201;

步驟1230:控制器210根據精確的電池單元電壓值,通過參照定義電池單元電壓和電池電量百分比之間的關係的映射表,獲得電池201精確的電池電量百分比;Step 1230: The controller 210 obtains the accurate battery power percentage of the battery 201 by referring to the mapping table defining the relationship between the battery cell voltage and the battery power percentage according to the accurate battery cell voltage value;

步驟1235:結束。Step 1235: End.

在步驟1225中,控制器210採用通過基於庫侖計的電量計量運算測量的電池電流I1來推導和計算電池201的精確的電池單元電壓值。例如,控制器210基於以下公式計算電池單元電壓的值: In step 1225, the controller 210 derives and calculates an accurate battery cell voltage value of the battery 201 by using the battery current I1 measured by a coulometric calculation based on a coulomb counter. For example, the controller 210 calculates the value of the battery cell voltage based on the following formula:

為了總結第1圖和第2圖的實施例。如第10圖-第12圖所示,當執行第一電量計量運算以估計電池電量百分比時,控制器210可以被設置為通過第二電量計量運算(例如基於庫侖計的電量計量運算)測量的資訊(例如電池電流和/或電量/電能)來對第一電量計量運算(例如基於電壓的電量計量運算)執行快速/急速地補償/校準,以直接且快速地計算電池201的精確的電池單元電壓值,以便使用精確的電池單元電壓值並基於上述映射表快速獲得/產生正確的電池電量百分比。電源管理裝置200能夠通過執行快速補償/校準並同時參考映射表來快速獲得正確的電池電量百分比。因此,電力管理裝置200僅需要等待較少的時間即可獲得正確的電池電量百分比。To summarize the embodiments of Figs. 1 and 2. As shown in FIG. 10 to FIG. 12, when the first power measurement operation is performed to estimate the battery power percentage, the controller 210 may be set to be measured by the second power measurement operation (for example, a coulomb-based power measurement operation). Information (such as battery current and / or charge / energy) to perform fast / rapid compensation / calibration on the first fuel gauge calculation (such as voltage-based fuel gauge calculations) to directly and quickly calculate the precise battery cell of battery 201 Voltage value in order to use accurate battery cell voltage values and quickly obtain / generate the correct percentage of battery power based on the above mapping table. The power management device 200 can quickly obtain the correct percentage of battery power by performing quick compensation / calibration while referring to the mapping table at the same time. Therefore, the power management device 200 only needs to wait for less time to obtain the correct battery power percentage.

儘管已經對本發明實施例及其優點進行了詳細說明,但應當理解的是,在不脫離本發明的精神以及申請專利範圍所定義的範圍內,可以對本發明進行各種改變、替換和變更。所描述的實施例在所有方面僅用於說明的目的而並非用於限制本發明。本發明的保護範圍當視所附的申請專利範圍所界定者為准。本領域技術人員皆在不脫離本發明之精神以及範圍內做些許更動與潤飾。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。Although the embodiments of the present invention and the advantages thereof have been described in detail, it should be understood that various changes, substitutions and alterations can be made to the present invention without departing from the spirit of the present invention and the scope defined by the scope of patent application. The described embodiments are for illustrative purposes only and are not intended to limit the invention in all respects. The scope of protection of the present invention shall be determined by the scope of the appended claims. Those skilled in the art can make some modifications and retouching without departing from the spirit and scope of the present invention. The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the scope of patent application of the present invention shall fall within the scope of the present invention.

105,110,115,120,125,130,305,310,315,320,325,330,335,405,410,415,420,425,430,435,440,445,450,455,460,465,470,475,480,485,490,505,510,515,520,525,530,535,540,545,550,555,560,565,570,575,605,610,615,620,625,630,635,640,645,650,655,660,665,705,710,713,715,720,805,810,815,820,825,830,835,840,905,910,915,920,925,930,935,940,1005,1010,1015,1020,1025,1030,1035,1105,1110,1115,1120,1125,1130,1135,1205,1210,1215,1220,1225,1230,1235‧‧‧步驟105, 110, 115, 120, 125, 130, 305, 310, 315, 320, 325, 330, 335, 405, 410, 415, 420, 425, 430, 435, 440, 445, 450, 455, 460, 465,470,475,480,485,490,505,510,515,520,525,530,535,540,545,550,555,560,565,570,575,605,610,615,620, 625, 630, 635, 640, 645, 650, 655, 660, 665, 705, 710, 713, 715, 720, 805, 810, 815, 820, 825, 830, 835, 840, 905, 910, 915, 920, 925, 930, 935, 940, 1005, 1010, 1015, 1020, 1025, 1030, 1035, 1105, 1110, 1115, 1120, 1125, 1130, 1135, 1205, 1210, 1215, 1220, 1225, 1230, 1235‧‧‧step

200‧‧‧電源管理裝置200‧‧‧Power Management Device

201‧‧‧電池201‧‧‧ Battery

205‧‧‧記憶設備205‧‧‧Memory device

210‧‧‧控制器210‧‧‧ Controller

第1圖示出了根據本發明第一實施例的用於獲取電池電量百分比的方法的流程圖; 第2圖係根據第1圖的流程圖用於獲取電池電量百分比的電源管理裝置的示意圖; 第3圖示出了根據本發明第二實施例的用於獲取電池電量百分比的方法的流程圖。 第4A圖和第4B圖係第3圖所示方法的第一示例的流程圖; 第5圖係第3圖所示方法的第二示例的流程圖; 第6A圖和第6B圖係第3圖所示方法的第三示例的流程圖; 第7圖、第8圖和第9圖係基於電池使用/歷史資訊、時間資訊、老化因數和/或溫度資訊,確定或配置電池的初始電量百分比的不同場景下實施方式的流程圖。 第10圖示出了第2圖中的採用基於庫侖計的電量計量運算資訊的控制器的第一運算示例的流程圖,該控制器用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。 第11圖示出了第2圖中的採用基於庫侖計的電量計量運算資訊的控制器的第二運算示例的流程圖,該控制器用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。 第12圖示出了第2圖中的採用基於庫侖計的電量計量運算資訊的控制器的第三運算示例的流程圖,該控制器用於執行基於電壓的電量計量運算以獲取正確的電池電量百分比。FIG. 1 shows a flowchart of a method for obtaining a battery power percentage according to a first embodiment of the present invention; FIG. 2 is a schematic diagram of a power management device for obtaining a battery power percentage according to the flowchart of FIG. 1; FIG. 3 shows a flowchart of a method for obtaining a percentage of battery power according to a second embodiment of the present invention. Figures 4A and 4B are flowcharts of a first example of the method shown in Figure 3; Figure 5 is a flowchart of a second example of the method shown in Figure 3; Figures 6A and 6B are third A flowchart of a third example of the method shown in the figure; Figures 7, 8 and 9 are based on battery usage / history information, time information, aging factor, and / or temperature information to determine or configure the battery's initial charge percentage Flowchart of the implementation in different scenarios. FIG. 10 shows a flowchart of a first operation example of a controller using a coulomb-based fuel-gauge calculation information in FIG. 2, which is used to perform a voltage-based fuel-gauge calculation to obtain a correct percentage of battery power . FIG. 11 shows a flowchart of a second operation example of the controller using the coulomb-based fuel gauge calculation information in FIG. 2, which is used to perform a voltage-based fuel gauge calculation to obtain a correct percentage of battery power . FIG. 12 shows a flowchart of a third operation example of the controller using the coulomb-based fuel gauge calculation information in FIG. 2, which is used to perform a voltage-based fuel gauge calculation to obtain the correct battery percentage .

Claims (10)

一種用於獲取電池電量百分比的方法,包括: 對該電池執行用於測量電池電量百分比的第一電量計量運算;以及 通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比; 其中,該第二電量計量運算不同於該第一電量計量運算。A method for obtaining a battery power percentage, comprising: performing a first power measurement operation on the battery to measure the battery power percentage; and using the first information obtained by referring to a second power measurement operation performed on the battery, using the first The fuel gauge calculation obtains a battery power percentage; wherein the second fuel gauge calculation is different from the first fuel gauge calculation. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該第一電量計量運算是基於電壓的電量計量運算,該第二電量計量運算是基於庫侖計的電量計量運算。The method for obtaining the percentage of battery power as described in item 1 of the scope of patent application, wherein the first power measurement operation is a voltage-based power measurement operation, and the second power measurement operation is a coulomb-based power measurement operation. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比的步驟具體包括: 使用第二電量計量運算獲取在預設時間間隔期間該電池充電或放電的電量或電能; 通過參考該電量或電能計算該電池的電池單元電壓;以及 根據該計算獲取的該電池的電池單元電壓,參考該第一電量計量運算獲取的映射表獲取電池電量百分比,其中該映射表定義該計算獲取的該電池的電池單元電壓與電池電量百分比之間的關係。The method for obtaining a battery power percentage as described in item 1 of the scope of patent application, wherein the step of obtaining the battery power percentage by using the first power measurement operation by referring to information obtained by performing a second power measurement operation on the battery Specifically, the method includes: using a second electric quantity measurement operation to obtain the electric quantity or electric energy of the battery charged or discharged during a preset time interval; calculating a battery cell voltage of the battery by referring to the electric quantity or electric energy; and obtaining the battery of the battery according to the calculation For the cell voltage, a battery power percentage is obtained by referring to a mapping table obtained by the first power measurement operation, where the mapping table defines a relationship between the battery cell voltage and the battery power percentage obtained by the calculation. 如申請專利範圍第3項所述之用於獲取電池電量百分比的方法,其中該通過參考該電量或電能計算該電池的電池單元電壓的步驟具體包括: 根據該電量或電能和預設時間間隔獲取電池電流;以及 根據該電池電流、電池電阻和通過第一電量計量運算獲取的外部電池電壓計算該電池的電池單元電壓。The method for obtaining the percentage of battery power as described in item 3 of the scope of patent application, wherein the step of calculating the battery cell voltage of the battery by referring to the amount of power or electrical energy specifically includes: obtaining according to the amount of power or electrical energy and a preset time interval Battery current; and calculating a battery cell voltage of the battery based on the battery current, the battery resistance, and an external battery voltage obtained through a first electricity measurement operation. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比的步驟具體包括: 使用第二電量計量運算獲取電池電流; 通過參考該電池電流計算該電池的電池單元電壓;以及 根據該計算獲取的該電池的電池單元電壓,參考該第一電量計量運算獲取的映射表,獲取電池電量百分比,其中該映射表定義該計算獲取的該電池的電池單元電壓與電池電量百分比之間的關係。The method for obtaining a battery power percentage as described in item 1 of the scope of patent application, wherein the step of obtaining the battery power percentage by using the first power measurement operation by referring to information obtained by performing a second power measurement operation on the battery Specifically, the method includes: obtaining a battery current using a second electric quantity measurement operation; calculating a battery cell voltage of the battery by referring to the battery current; and a mapping table obtained by referring to the first electric quantity measurement operation according to the battery unit voltage of the battery obtained according to the calculation To obtain the battery power percentage, where the mapping table defines the relationship between the battery cell voltage of the battery and the battery power percentage obtained by the calculation. 如申請專利範圍第5項所述之用於獲取電池電量百分比的方法,其中該通過參考該電池電流計算該電池的電池單元電壓的步驟具體包括: 根據該電池電流、電池電阻和通過第一電量計量運算獲取的外部電池電壓計算該電池的電池單元電壓。The method for obtaining a percentage of battery power as described in item 5 of the scope of patent application, wherein the step of calculating the battery cell voltage of the battery by referring to the battery current specifically includes: according to the battery current, battery resistance, and the first power The external battery voltage obtained by the measurement operation calculates the battery cell voltage of the battery. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該方法進一步包括: 執行第一電量計量運算獲取電池充電或放電的電量或電能的第一數值; 執行第二第一電量計量運算獲取電池充電或放電的電量或電能的第二數值;以及 將該第一數值與該第二數值進行比較確定是否觸發進入該獲取電池電量百分比的步驟。The method for obtaining a percentage of battery power as described in item 1 of the scope of patent application, wherein the method further comprises: performing a first power measurement operation to obtain a first value of the amount of power or electrical energy charged or discharged by the battery; performing a second first The electric quantity measurement operation obtains a second value of the electric quantity or electric energy charged or discharged by the battery; and compares the first value with the second value to determine whether to trigger the step of acquiring the battery electric quantity percentage. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該將該第一數值與該第二數值進行比較確定是否觸發進入該獲取電池電量百分比的步驟具體包括: 計算該第一數值和該第二數值之間的差值比;以及 當該差值比大於預設閾值時,確定進入該獲取電池電量百分比的步驟。The method for obtaining a percentage of battery power as described in item 1 of the scope of the patent application, wherein the step of comparing the first value with the second value to determine whether to trigger the acquisition of the percentage of battery power specifically includes: calculating the first A difference ratio between a value and the second value; and when the difference ratio is greater than a preset threshold, determining to enter the step of obtaining a battery power percentage. 如申請專利範圍第1項所述之用於獲取電池電量百分比的方法,其中該方法進一步包括: 使用根據該第一電量計量運算獲取的電池電量百分比校準或調節根據該第二電量計量運算獲取的另一電池電量百分比。The method for obtaining a battery power percentage according to item 1 of the patent application scope, wherein the method further comprises: calibrating or adjusting the battery power percentage obtained according to the second power measurement operation using the battery power percentage obtained according to the first power measurement operation Another battery charge percentage. 一種用於獲取電池電量百分比的電源管理裝置,包括: 記憶設備; 一控制器,該控制器耦合到該記憶設備,並配置為從該記憶設備載入程式碼,以執行以下步驟; 對該電池執行用於測量電池電量百分比的第一電量計量運算; 通過參考對該電池執行的第二電量計量運算獲取的資訊,使用該第一電量計量運算獲取電池電量百分比; 其中,該第二電量計量運算不同於該第一電量計量運算。A power management device for obtaining a battery power percentage includes: a memory device; a controller coupled to the memory device and configured to load code from the memory device to perform the following steps; for the battery Performing a first power measurement operation for measuring a battery power percentage; using the first power measurement operation to obtain a battery power percentage by referring to information obtained from a second power measurement operation performed on the battery; wherein the second power measurement operation is performed This is different from the first electric quantity measurement operation.
TW106133794A 2016-10-06 2017-09-29 A method for estimating a battery power percentage of a battery and a power management apparatus TW201814318A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US15/287,720 US20170227609A1 (en) 2016-02-04 2016-10-06 Method and apparatus capable of accurately estimating/determining power percentage of battery based on confidence levels determined from resultant information of multiple different fuel gauge operations and/or information of battery history, aging factor, sleep time, or battery temperature
US15/287,720 2016-10-06
US15/713,696 2017-09-24
US15/713,696 US10942221B2 (en) 2016-02-04 2017-09-24 Method and apparatus capable of accurately estimating/determining power percentage of battery based on confidence levels determined from resultant information of multiple different fuel gauge operations and/or information of battery history, aging factor, sleep time, or battery temperature

Publications (1)

Publication Number Publication Date
TW201814318A true TW201814318A (en) 2018-04-16

Family

ID=61898878

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106133794A TW201814318A (en) 2016-10-06 2017-09-29 A method for estimating a battery power percentage of a battery and a power management apparatus

Country Status (2)

Country Link
CN (1) CN107918102A (en)
TW (1) TW201814318A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710888B (en) * 2019-04-10 2020-11-21 宏碁股份有限公司 Electronic device and control method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112793461B (en) * 2019-11-13 2022-04-29 上海度普新能源科技有限公司 Initial state determination method for battery management system, electric vehicle and lithium battery

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8055343B2 (en) * 2006-10-20 2011-11-08 Cardiac Pacemakers, Inc. Dynamic battery management in an implantable device
CN102262216B (en) * 2010-05-29 2014-03-19 比亚迪股份有限公司 Electric quantity detection method for chargeable battery and apparatus thereof
CN103529389A (en) * 2012-07-03 2014-01-22 鸿富锦精密工业(深圳)有限公司 Battery power amount calculation method and system
CN105403837A (en) * 2012-09-14 2016-03-16 联发科技股份有限公司 System and method for determining remaining battery capacity of a battery device
TWM500256U (en) * 2014-11-20 2015-05-01 Upi Semiconductor Corp Battery capacity management apparatus
CN105372602A (en) * 2015-12-10 2016-03-02 惠州Tcl移动通信有限公司 Battery remaining capacity detecting method of mobile terminal and device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710888B (en) * 2019-04-10 2020-11-21 宏碁股份有限公司 Electronic device and control method thereof

Also Published As

Publication number Publication date
CN107918102A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
TWI426288B (en) Method for estimating battery degradation
CN108445400B (en) Method for estimating residual charging time of battery pack
CN106461732B (en) Method for estimating state of health of battery
US9063201B2 (en) Battery charge determination
US9651628B2 (en) Method and apparatus for determining a capacity of a battery
JP6153528B2 (en) System and method for battery monitoring
JP6490414B2 (en) Secondary battery state detection device and secondary battery state detection method
CN103048629B (en) Method and device for metering lithium battery electric quantity
CN107037369A (en) Method for accurately estimating percentage of electric quantity of battery and power management device
TW201531725A (en) Method and apparatus for detecting internal resistance of a battery
JP6440377B2 (en) Secondary battery state detection device and secondary battery state detection method
CN108535651A (en) Method and apparatus for calibrating coulomb count based state of charge estimation
JP2011169831A (en) Device and method for detection of battery state
CN105334463A (en) Battery and electric quantity detection method and system thereof
CN110446938A (en) Storage battery control device and control method
WO2022183976A1 (en) Coulombmeter-based method and system for measuring remaining electric quantity of battery
US10942221B2 (en) Method and apparatus capable of accurately estimating/determining power percentage of battery based on confidence levels determined from resultant information of multiple different fuel gauge operations and/or information of battery history, aging factor, sleep time, or battery temperature
CN112415409B (en) Method and device for estimating battery capacity, storage medium and vehicle
CN107918101A (en) charge state indicating method and indicating system
JP2016099251A (en) Secondary battery state detection device and secondary battery state detection method
JP2015094710A (en) Battery health estimation device and health estimation method
TWI733383B (en) Method of determining an aging level of a battery
TW201814318A (en) A method for estimating a battery power percentage of a battery and a power management apparatus
CN109633451B (en) Self-trajectory parameter calibration method and SOC estimation method of energy storage system
CN115267579A (en) Lithium battery service life detection method, device, storage medium and computer equipment