TWI887126B - Method of estimating state of charge of battery and system thereof - Google Patents
Method of estimating state of charge of battery and system thereof Download PDFInfo
- Publication number
- TWI887126B TWI887126B TW113136362A TW113136362A TWI887126B TW I887126 B TWI887126 B TW I887126B TW 113136362 A TW113136362 A TW 113136362A TW 113136362 A TW113136362 A TW 113136362A TW I887126 B TWI887126 B TW I887126B
- Authority
- TW
- Taiwan
- Prior art keywords
- battery
- charge
- state
- voltage
- estimating
- Prior art date
Links
Landscapes
- Secondary Cells (AREA)
Abstract
Description
本發明係有關一種估計電池的荷電狀態的方法與系統,特別是指一種可適應性調整增益之估計電池的荷電狀態的方法與系統。 The present invention relates to a method and system for estimating the state of charge of a battery, and more particularly to a method and system for estimating the state of charge of a battery with adaptively adjustable gain.
對於可攜式電子裝置的使用者而言,荷電狀態(state of charge,SOC)是一項必要資訊。對於一個完全充電完成的電池,其荷電狀態顯示為100%。而對於一個完全放電的電池,其荷電狀態顯示為0%。利用內嵌於可攜式電子裝置之中的演算法來估計荷電狀態是迫切需要的。先前技術常使用電流庫倫積分器來累進計算電池充電或放電的電容量,再搭配電池總容量,可計算出電池的荷電狀態,但是電流庫倫積分器會因設計不準確或外在雜訊而產生累積誤差,進而估算出不準確的電池的荷電狀態。 For users of portable electronic devices, the state of charge (SOC) is essential information. For a fully charged battery, the SOC is displayed as 100%. For a fully discharged battery, the SOC is displayed as 0%. It is urgent to use algorithms embedded in portable electronic devices to estimate the SOC. Previous technologies often use current coulomb integrators to progressively calculate the capacity of the battery when it is charged or discharged, and then combine it with the total battery capacity to calculate the battery's SOC. However, current coulomb integrators can produce cumulative errors due to inaccurate design or external noise, thereby estimating inaccurate battery SOC.
目前市面上的電池管理系統中,純電壓型電池電量計(Voltaic Gauge)透過測量電池的電壓,並根據電壓與電池荷電狀態(State of Charge,SOC)之間的對應關係來估計電池的SOC。這種方法的優點在於簡單易行,並且可以參考開路電壓(Open Circuit Voltage,OCV)曲線來實現穩定的SOC收斂,避免出現發散現象。 Among the battery management systems currently on the market, pure voltage battery gauges measure the battery voltage and estimate the battery SOC based on the correspondence between the voltage and the battery state of charge (SOC). The advantage of this method is that it is simple and easy to implement, and can refer to the open circuit voltage (OCV) curve to achieve stable SOC convergence and avoid divergence.
然而,純電壓型電池電量計也存在以下所列出的一些明顯的缺點: However, pure voltage battery gauges also have some obvious disadvantages listed below:
第一,在電流劇烈變化時SOC趨勢錯誤:當充電與放電的方向保持不變,但電流卻發生劇烈變化時,純電壓型電池電量計可能會提供錯誤的SOC趨勢,無法正確反映電池實際的荷電狀態。 First, the SOC trend is wrong when the current changes dramatically: when the direction of charge and discharge remains unchanged, but the current changes dramatically, the pure voltage battery gauge may provide an erroneous SOC trend and fail to correctly reflect the actual state of charge of the battery.
第二。在不同環境條件下SOC變化率不準確:在不同負載、不同溫度、不同電池容量或不同老化程度的條件下,純電壓型電量計可能會導致SOC變化率不準確,無法可靠地估計電池的實際狀態。 Second. Inaccurate SOC change rate under different environmental conditions: Under different loads, different temperatures, different battery capacities or different aging conditions, pure voltage type fuel gauges may cause inaccurate SOC change rates and cannot reliably estimate the actual state of the battery.
第三,無法有效應對多變的操作環境:雖然純電壓型電池電量計具有依賴OCV曲線進行穩定收斂的優點,但其無法充分應對不同負載、溫度、電池容量及老化程度的變化,無法提供足夠的補償來確保SOC的準確性。 Third, it cannot effectively cope with changing operating environments: Although pure voltage battery gauges have the advantage of relying on the OCV curve for stable convergence, they cannot fully cope with changes in different loads, temperatures, battery capacities, and aging levels, and cannot provide sufficient compensation to ensure the accuracy of SOC.
因此,現有的純電壓型電池電量計在某些極端條件下會出現不準確的SOC估計結果,這使得改進這類技術以解決上述問題成為必要。 Therefore, existing pure voltage battery gauges will produce inaccurate SOC estimation results under certain extreme conditions, which makes it necessary to improve this type of technology to solve the above problems.
有鑑於此,本發明即針對上述先前技術之不足,提出一種可適應性調整增益之估計電池的荷電狀態的方法與系統。 In view of this, the present invention aims at the above-mentioned deficiencies of the prior art and proposes a method and system for estimating the state of charge of a battery with adaptively adjustable gain.
就其中一觀點言,本發明提供了一種估計電池的荷電狀態(state of charge,SOC)的方法,包含:(a)以一電池電量計(Voltaic Gauge)根據一電池電壓(VBAT)與一開路電壓(OCV)計算一電壓差(△V);(b)以一增益控制引擎(Gain Control Engine)根據一電池電流與一完全充電容量(FCC),適應性調整一增益;(c)該電池電量計根據該電壓差(△V)與調整後之該增益,產生一當前荷電變化量(△SOC_T);以及(d)以一累加器根據當前荷電狀態(SOC_T)與該當前荷電變化量(△SOC_T),產生下一時刻荷電狀態(SOC_T+1)。 In one aspect, the present invention provides a method for estimating the state of charge (SOC) of a battery, comprising: (a) using a battery gauge to calculate a voltage difference (△V) according to a battery voltage (VBAT) and an open circuit voltage (OCV); (b) using a gain control engine to adaptively adjust a gain according to a battery current and a fully charged capacity (FCC); (c) the battery gauge generates a current charge change (△SOC_T) according to the voltage difference (△V) and the adjusted gain; and (d) using an accumulator to generate the next moment charge state (SOC_T+1) according to the current state of charge (SOC_T) and the current charge change (△SOC_T).
在一種較佳的實施型態中,該步驟(b),更包括:該增益控制引擎更根據調整前之該增益(K)與該電壓差(△V),適應性調整該增益。 In a preferred embodiment, the step (b) further includes: the gain control engine further adaptively adjusts the gain according to the gain (K) and the voltage difference (△V) before adjustment.
在一種較佳的實施型態中,該步驟(a)、該步驟(b)、該步驟(c)與該步驟(d),依序執行,並於該步驟(d)之後,以該下一時刻荷電狀態作為該當前荷電狀態,回到該步驟(a)。 In a preferred implementation, step (a), step (b), step (c) and step (d) are performed in sequence, and after step (d), the state of charge at the next moment is used as the current state of charge, and the process returns to step (a).
在一種較佳的實施型態中,該步驟(b)中,該增益控制引擎以增減一固定增益差來調整該增益。 In a preferred embodiment, in step (b), the gain control engine adjusts the gain by increasing or decreasing a fixed gain difference.
在一種較佳的實施型態中,該步驟(b)中,該增益控制引擎更根據一上一時刻電池電流(IBAT_T-1)與該電池電流(IBAT)間之一電流差,調整該增益。 In a preferred embodiment, in step (b), the gain control engine further adjusts the gain according to a current difference between a battery current (IBAT_T-1) at a previous moment and the battery current (IBAT).
在一種較佳的實施型態中,該步驟(b)中,於該電壓差未超過一預設電壓差或該電池電流未超過一預設電流時,定義為一輕載狀況,該增益控制引擎調整並維持該增益為固定的一輕載增益。 In a preferred embodiment, in step (b), when the voltage difference does not exceed a preset voltage difference or the battery current does not exceed a preset current, it is defined as a light load condition, and the gain control engine adjusts and maintains the gain as a fixed light load gain.
在一種較佳的實施型態中,該步驟(b)包括:以該增益控制引擎比較一上一時刻荷電變化量(△SOC_T-1)與一變化量目標值(△SOCI),而適應性調整該增益,其中該變化量目標值相關於該電池電流與該完全充電容量(FCC) In a preferred embodiment, the step (b) includes: using the gain control engine to compare a charge change in the previous moment (△SOC_T-1) with a change target value (△SOCI), and adaptively adjusting the gain, wherein the change target value is related to the battery current and the fully charged capacity (FCC)
在一種較佳的實施型態中,該完全充電容量((full charged capacity,FCC)相關於一負載狀況、一電池溫度及/或一電池老化程度。 In a preferred embodiment, the full charged capacity (FCC) is related to a load condition, a battery temperature and/or a battery aging degree.
在一種較佳的實施型態中,該根據該電壓差與該增益,產生一荷電變化量之步驟,包括:根據該電池電壓,以一電壓權重模型估計一權重,其中該電壓權重模型為,於該電池的充電、放電及弛豫(relaxing)時所收集的一電池資訊中,該電池電壓與該權重間的一第一預設關係;根據該電 壓差,以一壓差模型估計一模糊壓差,其中該壓差模型為,該電壓差與該模糊壓差間的一第二預設關係;以及根據該權重、該模糊壓差與該增益,產生該荷電變化量。 In a preferred embodiment, the step of generating a charge variation according to the voltage difference and the gain includes: estimating a weight according to the battery voltage using a voltage weight model, wherein the voltage weight model is a first preset relationship between the battery voltage and the weight in a battery information collected during charging, discharging and relaxing of the battery; estimating a fuzzy voltage difference according to the voltage difference using a voltage difference model, wherein the voltage difference model is a second preset relationship between the voltage difference and the fuzzy voltage difference; and generating the charge variation according to the weight, the fuzzy voltage difference and the gain.
在一種較佳的實施型態中,估計電池的荷電狀態的方法更包含:在產生該下一時刻荷電狀態之前,於不同的充電/放電電流下,收集該電池資訊。 In a preferred embodiment, the method for estimating the state of charge of a battery further includes: collecting the battery information at different charge/discharge currents before generating the state of charge at the next moment.
在一種較佳的實施型態中,估計電池的荷電狀態的方法更包含:於不同的該充電/放電電流下,藉由估測該當前荷電狀態及該電池電壓,以建立該電壓權重模型及該壓差模型。 In a preferred embodiment, the method for estimating the state of charge of a battery further includes: establishing the voltage weight model and the voltage difference model by estimating the current state of charge and the battery voltage at different charge/discharge currents.
在一種較佳的實施型態中,估計電池的荷電狀態的方法更包含:藉由根據該電池電壓於該充電/放電電流時與於不同的該充電/放電電流時之間的差值,來計算該權重,以建立該電壓權重模型。 In a preferred embodiment, the method for estimating the state of charge of a battery further includes: calculating the weight according to the difference between the battery voltage at the charge/discharge current and at different charge/discharge currents to establish the voltage weight model.
在一種較佳的實施型態中,估計電池的荷電狀態的方法更包含:藉由根據該充電/放電電流,來計算該模糊壓差,以建立該壓差模型。 In a preferred embodiment, the method for estimating the state of charge of the battery further includes: calculating the fuzzy voltage difference according to the charge/discharge current to establish the voltage difference model.
在一種較佳的實施型態中,估計電池的荷電狀態的方法更包含:根據該當前荷電狀態,查詢一預設的荷電狀態與開路電壓關係表,以產生該開路電壓。 In a preferred embodiment, the method for estimating the state of charge of a battery further includes: querying a preset state of charge and open circuit voltage relationship table according to the current state of charge to generate the open circuit voltage.
就另一觀點言,本發明提供了一種估計電池的荷電狀態的系統,包含:一電池電量計(Voltaic Gauge),用以根據一電池電壓(VBAT)與一開路電壓(OCV)計算一電壓差(△V);一增益控制引擎(Gain Control Engine),用以根據一電池電流(IBAT)與一完全充電容量(FCC),適應性調整一增益;以及一累加器,用以根據當前荷電狀態(SOC_T)與一當前荷電變化量(△SOC_T),產生下一時刻荷電狀態(SOC_T+1);其中該電池電量計根據該電壓差(△V)與調整後之該增益,產生該當前荷電變化量(△SOC_T)。 From another perspective, the present invention provides a system for estimating the state of charge of a battery, comprising: a battery gauge (Voltaic Gauge), used to calculate a voltage difference (△V) according to a battery voltage (VBAT) and an open circuit voltage (OCV); a gain control engine (Gain Control Engine), used to adaptively adjust a gain according to a battery current (IBAT) and a fully charged capacity (FCC); and an accumulator, used to generate the state of charge (SOC_T+1) at the next moment according to the current state of charge (SOC_T) and a current charge change (△SOC_T); wherein the battery gauge generates the current charge change (△SOC_T) according to the voltage difference (△V) and the adjusted gain.
在一種較佳的實施型態中,該增益控制引擎更根據調整前之該增益(K)與該電壓差(△V),適應性調整該增益。 In a preferred embodiment, the gain control engine further adaptively adjusts the gain based on the gain (K) and the voltage difference (△V) before adjustment.
在一種較佳的實施型態中,該增益控制引擎以疊代方式,增減一固定增益差來調整該增益。 In a preferred embodiment, the gain control engine adjusts the gain by increasing or decreasing a fixed gain difference in an iterative manner.
在一種較佳的實施型態中,該增益控制引擎更根據一上一時刻電池電流(IBAT_T-1)與該電池電流(IBAT)間之一電流差,調整該固定增益差。 In a preferred embodiment, the gain control engine further adjusts the fixed gain difference according to a current difference between a battery current (IBAT_T-1) at a previous moment and the battery current (IBAT).
在一種較佳的實施型態中,該增益控制引擎於該電壓差未超過一預設電壓差或該電池電流未超過一預設電流時,定義為一輕載狀況,該增益控制引擎調整並維持該增益為固定的一輕載增益。 In a preferred embodiment, the gain control engine defines a light load condition when the voltage difference does not exceed a preset voltage difference or the battery current does not exceed a preset current, and the gain control engine adjusts and maintains the gain to a fixed light load gain.
在一種較佳的實施型態中,該增益控制引擎比較該荷電變化量與一變化量目標值,而適應性調整該增益,其中該變化量目標值相關於一參考電池電流與一完全充電容量(FCC)。 In a preferred embodiment, the gain control engine compares the charge variation with a variation target value and adaptively adjusts the gain, wherein the variation target value is related to a reference battery current and a fully charged capacity (FCC).
在一種較佳的實施型態中,該電池電量計包括:一加權模糊器,用以根據該電池電壓,以一電壓權重模型估計一權重,其中該電壓權重模型為,於該電池的充電、放電及弛豫(relaxing)時所收集的一電池資訊中,該電池電壓與該權重間的一第一預設關係;一壓差模糊器,用以根據該電壓差,以一壓差模型估計一模糊壓差,其中該壓差模型為,該電壓差與該模糊壓差間的一第二預設關係;一乘法器,用以對該權重與該模糊壓差執行一乘法運算,以取得該權重與該模糊壓差之乘積;以及一補償器,用以根據該增益,補償或校準該權重與該模糊壓差之乘積,以產生該荷電變化量。 In a preferred embodiment, the battery meter includes: a weighted fuzzifier for estimating a weight based on the battery voltage using a voltage weight model, wherein the voltage weight model is a first preset relationship between the battery voltage and the weight in battery information collected during charging, discharging, and relaxing of the battery; a voltage difference fuzzifier for estimating a weight based on the battery voltage using a voltage weight model; A voltage difference is estimated using a voltage difference model, wherein the voltage difference model is a second preset relationship between the voltage difference and the fuzzy voltage difference; a multiplier is used to perform a multiplication operation on the weight and the fuzzy voltage difference to obtain the product of the weight and the fuzzy voltage difference; and a compensator is used to compensate or calibrate the product of the weight and the fuzzy voltage difference according to the gain to generate the charge change.
在一種較佳的實施型態中,該加權模糊器與該壓差模糊器於不同的該充電/放電電流下,根據對應的不同該當前荷電狀態及不同的該電池電壓,以建立該電壓權重模型及該壓差模型。 In a preferred implementation form, the weighted fuzzifier and the voltage difference fuzzifier establish the voltage weight model and the voltage difference model according to the corresponding different current states of charge and different battery voltages under different charging/discharging currents.
在一種較佳的實施型態中,該加權模糊器根據於不同的該充電/放電電流時的該電池電壓彼此之間的差值,來計算該權重,以建立該電壓權重模型。 In a preferred embodiment, the weighted fuzzifier calculates the weight based on the difference between the battery voltages at different charging/discharging currents to establish the voltage weight model.
在一種較佳的實施型態中,該壓差模糊器根據於不同的該充電/放電電流時的該電壓差彼此之間的差值,來計算該模糊壓差,以建立該壓差模型。 In a preferred embodiment, the voltage difference fuzzifier calculates the fuzzy voltage difference based on the difference between the voltage differences at different charge/discharge currents to establish the voltage difference model.
在一種較佳的實施型態中,該電池電量計更包含一查表器,用以根據該當前荷電狀態,查詢一預設的荷電狀態與開路電壓關係表,以產生該開路電壓。 In a preferred embodiment, the battery meter further includes a lookup table for looking up a preset state of charge and open circuit voltage relationship table according to the current state of charge to generate the open circuit voltage.
在一種較佳的實施型態中,該增益控制引擎更根據一完全充電容量(FCC)、一電池溫度(TBAT)及/或一電池老化程度來補償該增益。 In a preferred embodiment, the gain control engine further compensates the gain based on a fully charged capacity (FCC), a battery temperature (TBAT) and/or a battery aging degree.
在一種較佳的實施型態中,該累加器利用該當前荷電狀態的反Z變換(inverse Z transformation)的方式,累加之前的至少一該荷電變化量,以產生該下一時刻荷電狀態。 In a preferred embodiment, the accumulator uses the inverse Z transformation of the current state of charge to accumulate at least one previous charge change to generate the next moment's state of charge.
本發明優於先前技術之處,至少有以下幾點: The present invention is superior to the prior art in at least the following aspects:
1.在充電和放電情況下,即使在充電/放電電流劇烈變化的情況下,本發明可提供正確的荷電狀態。 1. In both charging and discharging conditions, the present invention can provide the correct state of charge even when the charge/discharge current changes dramatically.
2.在不同電池負載、不同電池溫度、不同電池容量及/或不同電池老化程度下,相較於先前技術,本發明提供更準確的荷電狀態(SOC)。 2. Compared with the prior art, the present invention provides a more accurate state of charge (SOC) under different battery loads, different battery temperatures, different battery capacities and/or different battery aging levels.
3.相較於先前技術,本發明在極端電流條件下,具有更好的響應。 3. Compared with the previous technology, the present invention has better response under extreme current conditions.
4.相較於先前技術,本發明提供更簡單和更方便的方法,以根 據測試結果調整增益,以提高荷電狀態(SOC)的準確性。 4. Compared with the prior art, the present invention provides a simpler and more convenient method to adjust the gain according to the test results to improve the accuracy of the state of charge (SOC).
底下藉由具體實施例詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。 The following detailed description is based on specific embodiments, which will make it easier to understand the purpose, technical content, features and effects of the present invention.
100:估計電池的荷電狀態的系統 100: System for estimating the state of charge of a battery
110:電池電量計 110:Battery meter
111:加權模糊器 111: Weighted Fuzzer
112:壓差模糊器 112: Pressure difference fuzzer
113:乘法器 113:Multiplier
114:補償器 114: Compensator
115:最佳化器 115:Optimizer
116:查表器 116: Table Lookup
117:減法器 117: Subtraction Device
120:增益控制引擎 120: Gain control engine
130:累加器 130: Accumulator
310,320,410,420,610,620:表格 310,320,410,420,610,620:Table
330,430,630:關係圖 330,430,630:Relationship diagram
340,440:標準化後的曲線圖 340,440: Standardized curve graph
510:壓差模型,結合圖340及圖440 510: Pressure difference model, combined with Figure 340 and Figure 440
640:電壓權重模型曲線圖 640: Voltage weight model curve
710:資料表 710:Data table
810:演算法,類似於估計電池的荷電狀態系統100 810: Algorithm, similar to system 100 for estimating battery state of charge
812:最小均方最佳化功能方塊 812: Least mean square optimization function block
816:最佳化器,與最小均方最佳化功能方塊812相連 816: optimizer, connected to the least mean square optimization function block 812
820:圖,顯示演算法810對應的電池電壓VBAT 820: Figure showing the battery voltage VBAT corresponding to algorithm 810
830:圖,顯示演算法810對應的荷電狀態SOC 830: Figure showing the state of charge SOC corresponding to algorithm 810
910:圖,顯示在0.5C標準充電/放電速率下的荷電狀態SOC的誤差 910: Figure showing the error in state of charge SOC at a standard charge/discharge rate of 0.5C
920:圖,顯示在0.25C標準充電/放電速率下的荷電狀態SOC的誤差 920: Figure showing the error in state of charge SOC at a standard charge/discharge rate of 0.25C
930:圖,顯示在0.5C部分充電/放電速率下的荷電狀態SOC的誤差 930: Figure showing the error in state of charge SOC at a partial charge/discharge rate of 0.5C
1000:方法,估計電池荷電狀態的方法 1000: Method, method for estimating battery state of charge
1002,1004,1006,1008:步驟 1002,1004,1006,1008: Steps
AGS:電池老化程度 AGS: Battery aging degree
FCC:完全充電容量 FCC: Fully charged capacity
IBAT:電池電流 IBAT:Battery current
IBATth:預設電流 IBATth: default current
K:增益 K: Gain
OCV:開路電壓 OCV: Open Circuit Voltage
SOC:荷電狀態 SOC: State of charge
SOC_T:當前荷電狀態 SOC_T: Current state of charge
SOC_T+1:下一時刻荷電狀態 SOC_T+1: charging status at the next moment
TBAT:電池溫度 TBAT:Battery temperature
VBAT:電池電壓 VBAT: battery voltage
△V:電壓差 △V: voltage difference
△SOC_T:當前荷電變化量 △SOC_T: Current charge change
W:權重 W: Weight
f△V:模糊壓差 f△V: fuzzy pressure difference
Wf△V:權重與模糊壓差的乘積 Wf△V: product of weight and fuzzy pressure difference
Z-1:反Z變換(inverse Z transformation) Z-1: inverse Z transformation
圖1顯示根據本發明一實施例之用以估計電池的荷電狀態的系統的硬體方塊圖。 FIG1 shows a hardware block diagram of a system for estimating the state of charge of a battery according to an embodiment of the present invention.
圖2A顯示電池電流IBAT與時間的關係示意圖。 Figure 2A shows a schematic diagram of the relationship between battery current IBAT and time.
圖2B顯示電池電壓VBAT、開路電壓OCV與時間的關係示意圖。 Figure 2B shows a schematic diagram of the relationship between battery voltage VBAT, open circuit voltage OCV and time.
圖3顯示根據本發明另一實施例之用以估計電池的荷電狀態的硬體系統方塊圖。 FIG3 shows a block diagram of a hardware system for estimating the state of charge of a battery according to another embodiment of the present invention.
圖4顯示根據本發明一實施例之用以估計電池的荷電狀態的系統的硬體方塊圖。 FIG4 shows a hardware block diagram of a system for estimating the state of charge of a battery according to an embodiment of the present invention.
圖5A與5B顯示於用以估計電池的荷電狀態的演算法中,加權模糊器111及壓差模糊器112的相關結果示意圖。 Figures 5A and 5B are schematic diagrams showing the related results of the weighted fuzzifier 111 and the pressure difference fuzzifier 112 in the algorithm for estimating the state of charge of the battery.
圖6顯示壓差模糊器112的一部分模型建立的一實施例。 FIG6 shows an embodiment of modeling a portion of the pressure difference fuzzifier 112.
圖7顯示如圖4所示之壓差模糊器112的另一部分模型建立的一實施例。 FIG. 7 shows an embodiment of establishing another part of the model of the pressure difference fuzzifier 112 shown in FIG. 4 .
圖8顯示如圖4所示之壓差模糊器112的模型建立的一實施例。 FIG8 shows an embodiment of model building of the pressure difference fuzzifier 112 shown in FIG4.
圖9顯示如圖4所示之加權模糊器111的模型建立的一實施例。 FIG9 shows an embodiment of model building of the weighted fuzzifier 111 shown in FIG4 .
圖10顯示根據本發明一實施例之用以估計電池的荷電狀態的系統所需的硬體方塊圖及資料表。 FIG10 shows a hardware block diagram and data table required for a system for estimating the state of charge of a battery according to an embodiment of the present invention.
圖11顯示將本發明一實施例所述之演算法施予最小均方最佳化之後所得的實驗結果。 FIG11 shows the experimental results obtained after applying the algorithm described in an embodiment of the present invention to the least mean square optimization.
圖12顯示於圖4所示之實施例中,利用估計電池的荷電狀態系統100估計電池的荷電狀態所得的實驗結果。 FIG12 shows the experimental results obtained by estimating the state of charge of a battery using the system 100 for estimating the state of charge of a battery in the embodiment shown in FIG4 .
圖13顯示本發明一實施例之用以估計電池的荷電狀態的方法流程圖。 FIG13 shows a flow chart of a method for estimating the state of charge of a battery according to an embodiment of the present invention.
本發明中的圖式均屬示意,主要意在表示各電路間之耦接關係,以及各訊號波形之間之關係,至於電路、訊號波形與頻率則並未依照比例繪製。 The diagrams in this invention are schematic, and are mainly intended to show the coupling relationship between the circuits and the relationship between the signal waveforms. The circuits, signal waveforms and frequencies are not drawn to scale.
本發明是關於一種當電池處於至少下列一種狀態時:充電、放電及弛豫(relaxing),估計電池的荷電狀態(state of charge,SOC)的方法與系統。本發明係利用電池電壓(VBAT)與電池電流(IBAT)估計電池的荷電狀態的方法與系統。 The present invention relates to a method and system for estimating the state of charge (SOC) of a battery when the battery is in at least one of the following states: charging, discharging, and relaxing. The present invention is a method and system for estimating the state of charge of a battery using battery voltage (VBAT) and battery current (IBAT).
圖1顯示根據本發明一實施例之用以估計電池的荷電狀態的硬體系統方塊圖。如圖1所示,本實施例提供一估計電池的荷電狀態的系統100。估計電池的荷電狀態的系統100包括電池電量計110、增益控制引擎120及累加器130。電池電量計110用以根據電池電壓VBAT與開路電壓OCV計算電壓差△V。增益控制引擎120用以根據電池電流IBAT與完全充電容量FCC,適應性調整增益K,以提供予電池電量計110。電池電量計110根據電壓差△V與調整後之增益K,產生當前荷電變化量△SOC_T。 累加器130用以根據當前荷電狀態SOC_T與當前荷電變化量△SOC_T,產生下一時刻荷電狀態SOC_T+1。 FIG1 shows a block diagram of a hardware system for estimating the state of charge of a battery according to an embodiment of the present invention. As shown in FIG1 , the present embodiment provides a system 100 for estimating the state of charge of a battery. The system 100 for estimating the state of charge of a battery includes a battery meter 110, a gain control engine 120, and an accumulator 130. The battery meter 110 is used to calculate the voltage difference △V according to the battery voltage VBAT and the open circuit voltage OCV. The gain control engine 120 is used to adaptively adjust the gain K according to the battery current IBAT and the fully charged capacity FCC to provide it to the battery meter 110. The battery meter 110 generates the current charge change △SOC_T according to the voltage difference △V and the adjusted gain K. The accumulator 130 is used to generate the next state of charge SOC_T+1 according to the current state of charge SOC_T and the current charge change △SOC_T.
根據本發明,藉由疊代運算開路電壓OCV、電壓差△V、電池電壓VBAT、當前荷電狀態SOC_T,並藉由增益控制引擎120對增益K進行補償,產生當前荷電狀態變化量△SOC_T。 According to the present invention, the open circuit voltage OCV, the voltage difference △V, the battery voltage VBAT, and the current state of charge SOC_T are calculated by iterative operation, and the gain K is compensated by the gain control engine 120 to generate the current state of charge change △SOC_T.
與傳統單純基於電壓的方法不同,先前技術直接利用電池電壓VBAT與開路電壓OCV產生下一時刻荷電狀態SOC_T+1,容易導致荷電狀態的突然跳變。本發明的電壓與電流補償增益結合感測架構,能有效防止此類突然跳變,透過更穩定的架構來保持荷電狀態的穩定性。 Unlike the traditional method based solely on voltage, the previous technology directly uses the battery voltage VBAT and the open circuit voltage OCV to generate the next moment of charge state SOC_T+1, which easily leads to sudden jumps in the charge state. The voltage and current compensation gain combined sensing architecture of the present invention can effectively prevent such sudden jumps and maintain the stability of the charge state through a more stable architecture.
本發明的其中一個優點在於避免了傳統純電壓演算法導致的荷電狀態突然變化,實現了更加平滑且穩定的荷電狀態估計,並通過增益控制引擎進行精確補償,以適應不同的操作條件。 One of the advantages of the present invention is that it avoids the sudden changes in the state of charge caused by the traditional pure voltage algorithm, achieves a smoother and more stable state of charge estimation, and accurately compensates through the gain control engine to adapt to different operating conditions.
在一種實施例中,增益控制引擎120除了電池電流IBAT與完全充電容量FCC外,更根據與調整前之增益K與電壓差△V,例如但不限於乘積上的比較,以適應性調整該增益。 In one embodiment, the gain control engine 120 adaptively adjusts the gain based on, in addition to the battery current IBAT and the fully charged capacity FCC, the gain K and the voltage difference △V before adjustment, such as but not limited to the comparison of the product.
在一種實施例中,增益控制引擎120以疊代方式,增減一固定增益差來調整增益K。舉例而言,以每一週期執行一次估計電池的荷電狀態的程序而言,也就是說,上一時刻、當前與下一時刻之間都相隔了一個週期。在每一個週期中,增益控制引擎120根據電池電流IBAT與完全充電容量FCC,或是進一步根據調整前之增益K(定義調整前之增益K為上一時刻之增益K,而調整後之增益K則為當前之增益K)與電壓差△V,將調整前之增益K增減一個固定增益差,以產生當前之增益K,並重複多個週期,持續調整增益K,以動態的方式保持調整增益K。 In one embodiment, the gain control engine 120 adjusts the gain K by increasing or decreasing a fixed gain difference in an iterative manner. For example, the procedure of estimating the state of charge of the battery is executed once in each cycle, that is, there is a cycle between the last moment, the current moment, and the next moment. In each cycle, the gain control engine 120 increases or decreases the gain K before adjustment by a fixed gain difference according to the battery current IBAT and the fully charged capacity FCC, or further according to the gain K before adjustment (the gain K before adjustment is defined as the gain K of the previous moment, and the gain K after adjustment is the current gain K) and the voltage difference △V to generate the current gain K, and repeats multiple cycles to continuously adjust the gain K to keep the adjusted gain K in a dynamic manner.
在一種實施例中,增益控制引擎120更根據上一時刻電池電 流IBAT_T-1與當前電池電流IBAT間之電流差,調整增益。舉例而言,圖2A顯示電池電流IBAT與時間的關係示意圖。如圖2A所示,當上一時刻電池電流IBAT_T-1屬於非輕載電流而相對較高,當前電池電流IBAT屬於輕載電流而相對較低,使得電流差△I超過預設的電流差閾值,而判斷估計電池的荷電狀態的系統100操作於輕載狀況或是非輕載狀況,以調整增益K。需說明的是,所謂電流與電流差,指的是電流或電流差的絕對值。當然,在另一種實施例中,也可以直接根據電池電流IBAT的絕對值判斷估計電池的荷電狀態的系統100操作於輕載狀況或是非輕載狀況。 In one embodiment, the gain control engine 120 further adjusts the gain according to the current difference between the last moment battery current IBAT_T-1 and the current battery current IBAT. For example, FIG2A shows a schematic diagram of the relationship between the battery current IBAT and time. As shown in FIG2A, when the last moment battery current IBAT_T-1 is a non-light load current and relatively high, and the current battery current IBAT is a light load current and relatively low, the current difference △I exceeds the preset current difference threshold, and the system 100 for judging and estimating the battery state of charge operates in a light load state or a non-light load state to adjust the gain K. It should be noted that the so-called current and current difference refer to the absolute value of the current or the current difference. Of course, in another embodiment, the system 100 for estimating the battery state of charge can also be directly judged based on the absolute value of the battery current IBAT to operate in a light load state or a non-light load state.
在另一種實施例中,增益控制引擎120也可於電壓差△V未超過預設電壓差或電池電流IBAT未超過預設電流IBATth時,定義為輕載狀況,增益控制引擎120調整並維持增益K為固定的輕載增益。從另一角度而言,當輕載狀況時,在增益K維持於固定的輕載增益後,增益控制引擎120不再對增益K做適應性的調整,或是以相對較長的週期對增益K做定期性的校正。圖2B顯示電池電壓VBAT、開路電壓OCV與時間的關係示意圖。如圖2B所示,在一種實施例中,電壓差△V1超過預設電壓差或電池電流IBAT未超過預設電流IBATth,定義為非輕載狀況,電壓差△V2未超過預設電壓差,定義為輕載狀況。需說明的是,在圖2A所示的實施例中,電池電流IBAT為負值。 In another embodiment, the gain control engine 120 may also define a light load condition when the voltage difference ΔV does not exceed the preset voltage difference or the battery current IBAT does not exceed the preset current IBATth, and the gain control engine 120 adjusts and maintains the gain K as a fixed light load gain. From another perspective, when the light load condition occurs, after the gain K is maintained at a fixed light load gain, the gain control engine 120 no longer makes adaptive adjustments to the gain K, or periodically calibrates the gain K with a relatively long period. FIG2B shows a schematic diagram of the relationship between the battery voltage VBAT, the open circuit voltage OCV, and time. As shown in FIG2B , in one embodiment, the voltage difference △V1 exceeds the preset voltage difference or the battery current IBAT does not exceed the preset current IBATth, which is defined as a non-light load state, and the voltage difference △V2 does not exceed the preset voltage difference, which is defined as a light load state. It should be noted that in the embodiment shown in FIG2A , the battery current IBAT is a negative value.
根據本發明之一種實施例中,在非輕載條件下,當電壓差△V足夠大時,以電池電流IBAT主導荷電狀態變化量△SOC的計算。電池電壓VBAT與電池電流IBAT結合感測架構通過控制增益K來追蹤並適應性調整增益K,從而優化荷電狀態變化量△SOC的計算,提供良好的瞬態響應與短期準確性。其性能可媲美庫侖計數器(Coulomb Counter),但不依賴電荷量計數來計算荷電狀態SOC,避免了累積誤差,並節省電力,無需全時的模擬數位轉換器(Continuous Analog-to-Digital Converter,CADC)轉換。 According to one embodiment of the present invention, under non-light load conditions, when the voltage difference △V is large enough, the battery current IBAT is used to dominate the calculation of the charge state change △SOC. The battery voltage VBAT and the battery current IBAT are combined with the sensing architecture to track and adaptively adjust the gain K by controlling the gain K, thereby optimizing the calculation of the charge state change △SOC and providing good transient response and short-term accuracy. Its performance is comparable to that of a Coulomb Counter, but it does not rely on charge count to calculate the charge state SOC, avoiding cumulative errors and saving power, without the need for full-time analog-to-digital converter (CADC) conversion.
而在輕載條件下,由於電池電流IBAT測量的變化較小,CADC誤差百分比增大,因此減小了增益K的權重,由電池電壓主導荷電狀態變化量△SOC的計算,利用電壓差△V自適應的方式來實施,而增益控制引擎120也可以一個相對較長週期的方式,定期校準荷電狀態SOC,以提供長期穩定的荷電狀態SOC估計。 Under light load conditions, since the change in the battery current IBAT measurement is small, the CADC error percentage increases, so the weight of the gain K is reduced, and the battery voltage dominates the calculation of the state of charge change △SOC, which is implemented in an adaptive manner using the voltage difference △V. The gain control engine 120 can also periodically calibrate the state of charge SOC in a relatively long cycle to provide a long-term stable state of charge SOC estimate.
需說明的是,CADC誤差百分比表示在模擬信號轉換為數位信號的過程中,因轉換精度的限制或其他影響因素,所產生的誤差佔總信號的百分比。具體來說,當CADC將模擬信號(例如電池電壓或電流)轉換為數位信號時,轉換過程中可能會受到分辨率、噪音或量化誤差的影響,導致數位信號與實際模擬信號之間存在誤差。這個誤差通常用百分比來表示,以便量化和分析CADC的精度。在電池管理系統中,CADC的誤差百分比會影響電壓、電流或其他參數的測量準確性,進而影響到電池荷電狀態SOC的估計精度。 It should be noted that the CADC error percentage indicates the percentage of the error generated in the process of converting analog signals to digital signals due to the limitation of conversion accuracy or other influencing factors. Specifically, when CADC converts analog signals (such as battery voltage or current) into digital signals, the conversion process may be affected by resolution, noise or quantization errors, resulting in errors between the digital signal and the actual analog signal. This error is usually expressed as a percentage to quantify and analyze the accuracy of CADC. In the battery management system, the error percentage of CADC will affect the measurement accuracy of voltage, current or other parameters, and thus affect the estimation accuracy of the battery state of charge SOC.
總之,根據本發明,在非輕載狀況下,利用電池電流IBAT主導荷電狀態變化量△SOC的計算,實現了與庫侖計數器相當的精度,且避免了累積誤差與電力消耗問題。而在輕載狀況下,透過電池電壓VBAT主導荷電狀態變化量△SOC的計算,並利用自然驅動力,保持長期穩定的荷電狀態SOC,以進一步提高系統的可靠性與穩定性。 In summary, according to the present invention, under non-light load conditions, the battery current IBAT is used to dominate the calculation of the charge state change △SOC, achieving an accuracy equivalent to that of a coulomb counter and avoiding the problems of cumulative error and power consumption. Under light load conditions, the battery voltage VBAT is used to dominate the calculation of the charge state change △SOC, and the natural driving force is used to maintain a long-term stable charge state SOC, thereby further improving the reliability and stability of the system.
圖3顯示根據本發明另一實施例之用以估計電池的荷電狀態的硬體系統方塊圖。如圖3所示,本實施例提供一估計電池的荷電狀態的系統100。估計電池的荷電狀態的系統100包括電池電量計110、增益控制引擎120及累加器130。 FIG3 shows a block diagram of a hardware system for estimating the state of charge of a battery according to another embodiment of the present invention. As shown in FIG3, the present embodiment provides a system 100 for estimating the state of charge of a battery. The system 100 for estimating the state of charge of a battery includes a battery gauge 110, a gain control engine 120, and an accumulator 130.
在本實施例中,增益控制引擎120比較上一時刻荷電變化量△SOC_T-1與變化量目標值△SOCI,而適應調整增益K,其中變化量目標 值△SOCI相關於電池電流IBAT與完全充電容量FCC。在一種實施例中,變化量目標值△SOCI正相關於電池電流IBAT。電壓差△V正相關於電池電壓VBAT與開路電壓OCV的差值。在一種實施例中,變化量目標值更相關於完全充電容量FCC。舉例而言,變化量目標值△SOCI負相關於完全充電容量FCC,且變化量目標值△SOCI負相關於完全充電容量FCC除以電池電流IBAT的一商值,例如當上一時刻荷電變化量△SOC_T-1低於變化量目標值△SOCI,則調升增益K;而當上一時刻荷電變化量△SOC_T-1高於變化量目標值△SOCI,則調降增益K。 In this embodiment, the gain control engine 120 compares the charge change △SOC_T-1 of the previous moment with the change target value △SOCI, and adjusts the gain K accordingly, wherein the change target value △SOCI is related to the battery current IBAT and the fully charged capacity FCC. In one embodiment, the change target value △SOCI is positively related to the battery current IBAT. The voltage difference △V is positively related to the difference between the battery voltage VBAT and the open circuit voltage OCV. In one embodiment, the change target value is more related to the fully charged capacity FCC. For example, the target value of variation △SOCI is negatively related to the fully charged capacity FCC, and the target value of variation △SOCI is negatively related to the quotient of the fully charged capacity FCC divided by the battery current IBAT. For example, when the charge variation △SOC_T-1 of the previous moment is lower than the target value of variation △SOCI, the gain K is increased; and when the charge variation △SOC_T-1 of the previous moment is higher than the target value of variation △SOCI, the gain K is decreased.
需說明的是,完全充電容量(Full Charged Capacity,FCC)是指電池在完全充電狀態下所能儲存的最大電量。完全充電容量FCC相關於負載狀況、電池溫度TBAT及/或電池老化程度AGS。完全充電容量FCC會隨著電池的使用和老化而逐漸減少,是評估電池健康狀況和性能的重要指標之一。此為本領域中具有通常知識者所熟知,在此不予贅述。 It should be noted that Full Charged Capacity (FCC) refers to the maximum amount of electricity that a battery can store when fully charged. Full Charged Capacity FCC is related to the load condition, battery temperature TBAT and/or battery aging degree AGS. Full Charged Capacity FCC will gradually decrease with the use and aging of the battery, and is one of the important indicators for evaluating the health and performance of the battery. This is well known to those with general knowledge in this field and will not be elaborated here.
圖4顯示根據本發明一實施例之用以估計電池的荷電狀態的系統的硬體方塊圖。如圖4所示,本實施例提供估計電池的荷電狀態的系統100較具體的實施例。在本實施例中,估計電池的荷電狀態的系統100包括電池電量計110、增益控制引擎120及累加器130。其中,電池電量計110包括加權模糊器111、壓差模糊器112,乘法器113、補償器114、最佳化器115、查表器116及減法器117。 FIG4 shows a hardware block diagram of a system for estimating the state of charge of a battery according to an embodiment of the present invention. As shown in FIG4, the present embodiment provides a more specific embodiment of a system 100 for estimating the state of charge of a battery. In the present embodiment, the system 100 for estimating the state of charge of a battery includes a battery meter 110, a gain control engine 120, and an accumulator 130. The battery meter 110 includes a weighted fuzzifier 111, a pressure difference fuzzifier 112, a multiplier 113, a compensator 114, an optimizer 115, a table lookup 116, and a subtractor 117.
加權模糊器111根據電池電壓VBAT,以電壓權重模型估計權重W,其中電壓權重模型為,於電池的充電、放電及弛豫(relaxing)時所收集的電池資訊中,電池電壓VBAT與權重W間的第一預設關係。壓差模糊器112用以根據電壓差△V,以壓差模型估計模糊壓差f△V,其中壓差模型為,電壓差△V與模糊壓差f△V間的第二預設關係。乘法器113用 以對權重W與模糊壓差f△V執行乘法運算,以取得權重與模糊壓差之乘積Wf△V。補償器114根據增益K,補償或校準權重W與模糊壓差f△V之乘積Wf△V,以產生荷電變化量△SOC。在一實施例中,最佳化器115能將一額外的增益施予已被加權過的荷電變化量△SOC,以進行最佳化。 The weighted fuzzifier 111 estimates the weight W using the voltage weight model according to the battery voltage VBAT, wherein the voltage weight model is a first preset relationship between the battery voltage VBAT and the weight W in the battery information collected during the charging, discharging and relaxing of the battery. The voltage difference fuzzifier 112 estimates the fuzzy voltage difference f△V according to the voltage difference △V using the voltage difference model, wherein the voltage difference model is a second preset relationship between the voltage difference △V and the fuzzy voltage difference f△V. The multiplier 113 performs a multiplication operation on the weight W and the fuzzy voltage difference f△V to obtain the product of the weight and the fuzzy voltage difference Wf△V. The compensator 114 compensates or calibrates the product Wf△V of the weight W and the fuzzy pressure difference f△V according to the gain K to generate the charge change △SOC. In one embodiment, the optimizer 115 can apply an additional gain to the weighted charge change △SOC for optimization.
在本實施例中,累加器130藉由,例如但不限於,反Z變換(inverse Z transformation)的方式來累加加權過的荷電變化量△SOC,以決定一估計的荷電狀態SOC。接著,估計的荷電狀態SOC被回授至查表器116,以產生估計的開路電壓OCV。其中,查表器116用以根據荷電狀態SOC,查詢預設的荷電狀態與開路電壓關係表,以產生開路電壓OCV。估計電池的荷電狀態的系統100反覆地進行上述的步驟,以估計荷電狀態SOC。 In this embodiment, the accumulator 130 accumulates the weighted charge change ΔSOC by, for example but not limited to, inverse Z transformation to determine an estimated state of charge SOC. Then, the estimated state of charge SOC is fed back to the lookup table 116 to generate an estimated open circuit voltage OCV. The lookup table 116 is used to query a preset state of charge and open circuit voltage relationship table according to the state of charge SOC to generate the open circuit voltage OCV. The system 100 for estimating the state of charge of a battery repeatedly performs the above steps to estimate the state of charge SOC.
圖5A與5B顯示於用以估計電池的荷電狀態的演算法中,加權模糊器111及壓差模糊器112的相關結果示意圖。圖5A與5B示意在估計電池的荷電狀態中,於估計當前荷電狀態SOC之前的相關結果。 Figures 5A and 5B show the correlation results of the weighted fuzzifier 111 and the pressure difference fuzzifier 112 in the algorithm for estimating the state of charge of the battery. Figures 5A and 5B show the correlation results before estimating the current state of charge SOC in estimating the state of charge of the battery.
圖5A顯示在不同的充電情況下,電池電壓VBAT與荷電狀態SOC的量測結果彼此之間的關係。充電情況OCV代表的是每一小時能將電池充電2%;充電情況0.5C代表的是每一小時能將電池充電50%;充電情況0.25C代表的是每一小時能將電池充電25%。圖5A顯示在相同的荷電狀態SOC下,當充電速率越高,電池電壓VBAT越高。 Figure 5A shows the relationship between the battery voltage VBAT and the state of charge SOC measurement results under different charging conditions. The charging condition OCV means that the battery can be charged 2% per hour; the charging condition 0.5C means that the battery can be charged 50% per hour; the charging condition 0.25C means that the battery can be charged 25% per hour. Figure 5A shows that under the same state of charge SOC, the higher the charging rate, the higher the battery voltage VBAT.
圖5B顯示在不同的放電情況下,電池電壓VBAT與荷電狀態SOC的量測結果彼此之間的關係。放電情況OCV代表的是每一小時能將電池放電2%;放電情況0.5C代表的是每一小時能將電池放電50%;放電情況0.25C代表的是每一小時能將電池放電25%;放電情況0.15C代表的是每一小時能將電池放電15%;放電情況0.1C代表的是每一小時能將電池放電10%。圖5B顯示在相同的荷電狀態SOC值下,當放電速率越高, 電池電壓VBAT越低。以下接著說明如何建立圖4所示的壓差模糊器112。 FIG5B shows the relationship between the measurement results of the battery voltage VBAT and the state of charge SOC under different discharge conditions. The discharge condition OCV represents that the battery can be discharged by 2% per hour; the discharge condition 0.5C represents that the battery can be discharged by 50% per hour; the discharge condition 0.25C represents that the battery can be discharged by 25% per hour; the discharge condition 0.15C represents that the battery can be discharged by 15% per hour; and the discharge condition 0.1C represents that the battery can be discharged by 10% per hour. FIG5B shows that under the same state of charge SOC value, when the discharge rate is higher, the battery voltage VBAT is lower. The following is a description of how to establish the voltage difference fuzzifier 112 shown in FIG4.
圖6顯示壓差模糊器112之壓差模型的一部分建立的一實施例。圖6包括表310、表320、圖330及圖340。表310包括從圖5A所擷取的資料。例如,在荷電狀態SOC值皆為80%的情況下,對於每一小時能將電池充電2%的充電情況而言,其電池電壓VBAT是4000mV。對於每一小時能將電池充電25%的充電情況而言,其電池電壓VBAT是4179mV。此外,在荷電狀態SOC值皆為60%的情況下,對於每一小時能將電池充電2%的充電情況而言,其電池電壓VBAT是3850mV。對於每一小時能將電池充電25%的充電情況而言,其電池電壓VBAT是4023mV。 FIG6 shows an embodiment of establishing a portion of the differential pressure model of the differential pressure fuzzifier 112. FIG6 includes table 310, table 320, graph 330, and graph 340. Table 310 includes data captured from FIG5A. For example, when the state of charge SOC values are all 80%, for a charging condition where the battery can be charged 2% per hour, the battery voltage VBAT is 4000 mV. For a charging condition where the battery can be charged 25% per hour, the battery voltage VBAT is 4179 mV. In addition, when the state of charge SOC values are all 60%, for a charging condition where the battery can be charged 2% per hour, the battery voltage VBAT is 3850 mV. For a battery that can be charged 25% per hour, the battery voltage VBAT is 4023mV.
表320係根據表310的資訊而產生的。例如,在荷電狀態SOC值皆為80%的情況下,將電池的開路電壓OCV(意即代表每一小時能將電池充電2%)當作一基準。在電池開路電壓OCV與在充電情況0.25C(意即代表每一小時能將電池充電25%)時的電池電壓VBAT的電壓差值為179mV(也就是將4179mV減去4000mV的結果)。同樣地,在荷電狀態SOC值皆為60%的情況下,在電池開路電壓OCV與在充電情況0.25C(意即代表每一小時能將電池充電25%)時的電池電壓VBAT的電壓差值為173mV(也就是將4023mV減去3850mV的結果)。藉由反覆進行上述步驟,便可以得到表320。此外,根據表320,可以得到在不同的荷電狀態SOC下,電壓差值與充電速率彼此之間的關係330。將關係330施予標準化之後,便可以得到曲線340。 Table 320 is generated based on the information in Table 310. For example, when the state of charge SOC value is 80%, the open circuit voltage OCV of the battery (which means that the battery can be charged 2% per hour) is used as a benchmark. The voltage difference between the open circuit voltage OCV of the battery and the battery voltage VBAT at a charging condition of 0.25C (which means that the battery can be charged 25% per hour) is 179mV (which is the result of subtracting 4000mV from 4179mV). Similarly, when the state of charge SOC value is 60%, the voltage difference between the battery open circuit voltage OCV and the battery voltage VBAT at the charging condition of 0.25C (which means that the battery can be charged 25% every hour) is 173mV (that is, the result of subtracting 3850mV from 4023mV). By repeating the above steps, table 320 can be obtained. In addition, according to table 320, the relationship 330 between the voltage difference and the charging rate under different state of charge SOC can be obtained. After the relationship 330 is standardized, the curve 340 can be obtained.
圖7顯示如圖4所示之壓差模糊器112的壓差模型之另一部分模型建立的一實施例。圖7包括表410、表420、圖430及圖440。表410包括從圖5B所擷取的資料。例如,在荷電狀態SOC值皆為80%的情況下,對於每一小時能將電池放電2%的放電情況而言,其電池電壓VBAT是 4000mV。對於每一小時能將電池放電10%的放電情況而言,其電池電壓VBAT是3964mV。此外,在荷電狀態SOC值皆為60%的情況下,對於每一小時能將電池放電2%的放電情況而言,其電池電壓VBAT是3850mV。對於每一小時能將電池放電10%的放電情況而言,其電池電壓VBAT是3795mV。 FIG. 7 shows an embodiment of another partial model establishment of the differential pressure model of the differential pressure fuzzifier 112 shown in FIG. 4. FIG. 7 includes table 410, table 420, graph 430, and graph 440. Table 410 includes data extracted from FIG. 5B. For example, when the state of charge SOC value is 80%, for a discharge condition where the battery can be discharged by 2% per hour, the battery voltage VBAT is 4000mV. For a discharge condition where the battery can be discharged by 10% per hour, the battery voltage VBAT is 3964mV. In addition, when the state of charge SOC value is 60%, for a discharge condition where the battery can be discharged by 2% per hour, the battery voltage VBAT is 3850mV. For a discharge condition that can discharge the battery by 10% per hour, the battery voltage VBAT is 3795mV.
表420係根據表410的資訊而產生的。例如,在荷電狀態SOC值皆為80%的情況下,將電池開路電壓OCV(意即代表每一小時能將電池放電2%)當作一基準。在電池開路電壓OCV與在放電情況0.1C(意即代表每一小時能將電池放電10%)時的電池電壓VBAT的電壓差值為36mV(也就是將4000mV減去3964mV的結果)。同樣地,在荷電狀態SOC值皆為60%的情況下,在電池的開路電壓OCV與在放電情況0.25C(意即代表每一小時能將電池放電25%)時的電池電壓VBAT的電壓差值為55mV(也就是將3850mV減去3795mV的結果)。藉由反覆進行上述步驟,便可以得到表420。此外,根據表420,可以得到在不同的荷電狀態SOC下,電壓差值與放電速率彼此之間的關係430。將關係430施予標準化之後,便可以得到曲線440。 Table 420 is generated based on the information in Table 410. For example, when the state of charge SOC value is 80%, the battery open circuit voltage OCV (which means that the battery can be discharged 2% per hour) is used as a benchmark. The voltage difference between the battery open circuit voltage OCV and the battery voltage VBAT at a discharge condition of 0.1C (which means that the battery can be discharged 10% per hour) is 36mV (which is the result of subtracting 3964mV from 4000mV). Similarly, when the state of charge SOC value is 60%, the voltage difference between the open circuit voltage OCV of the battery and the battery voltage VBAT at the discharge condition of 0.25C (which means that the battery can be discharged 25% every hour) is 55mV (that is, the result of subtracting 3795mV from 3850mV). By repeating the above steps, Table 420 can be obtained. In addition, according to Table 420, the relationship 430 between the voltage difference and the discharge rate under different state of charge SOC can be obtained. After the relationship 430 is standardized, the curve 440 can be obtained.
圖8顯示如圖4所示之壓差模糊器112的壓差模型建立的一實施例。藉由將曲線340及440結合,本實施例替圖4所示之壓差模糊器112建立了壓差模型510。壓差模型510顯示當電池開路電壓OCV與在充電/放電情況時的電池電壓VBAT的電壓差△V的絕對值越高,充電/放電電流越高(對應於圖4所示之荷電變化量△SOC,因此,這二者之間有一個V型的關係。 FIG8 shows an embodiment of establishing a differential pressure model for the differential pressure fuzzifier 112 shown in FIG4. By combining curves 340 and 440, the present embodiment establishes a differential pressure model 510 for the differential pressure fuzzifier 112 shown in FIG4. The differential pressure model 510 shows that when the absolute value of the voltage difference △V between the battery open circuit voltage OCV and the battery voltage VBAT during charging/discharging is higher, the charging/discharging current is higher (corresponding to the charge change △SOC shown in FIG4, therefore, there is a V-shaped relationship between the two.
圖9顯示如圖4所示之加權模糊器111之電壓權重模型建立的一實施例。圖9包括表610、表620、圖630(顯示電池電壓VBAT與權重 W彼此之間的關係)及圖640(顯示電壓權重模型)。表610包括從圖5B所擷取的資料。例如,在荷電狀態SOC值皆為90%的情況下,對於每一小時能將電池放電2%的放電情況而言,其電池電壓VBAT是4100mV。對於每一小時能將電池放電10%的放電情況而言,其電池電壓VBAT是4065mV。此外,在荷電狀態SOC值皆為80%的情況下,對於每一小時能將電池放電2%的放電情況而言,其電池電壓VBAT是4000mV。對於每一小時能將電池放電15%的放電情況而言,其電池電壓VBAT是3952mV。又,在荷電狀態SOC值皆為70%的情況下,對於每一小時能將電池放電2%的放電情況而言,其電池電壓VBAT是3900mV。對於每一小時能將電池放電25%的放電情況而言,其電池電壓VBAT是3811mV。 FIG9 shows an embodiment of establishing a voltage weight model of the weighted fuzzifier 111 shown in FIG4. FIG9 includes Table 610, Table 620, Graph 630 (showing the relationship between the battery voltage VBAT and the weight W) and Graph 640 (showing the voltage weight model). Table 610 includes data extracted from FIG5B. For example, when the state of charge SOC value is 90%, for a discharge condition in which the battery can be discharged by 2% per hour, the battery voltage VBAT is 4100mV. For a discharge condition in which the battery can be discharged by 10% per hour, the battery voltage VBAT is 4065mV. In addition, when the state of charge SOC value is 80%, for the discharge condition that the battery can be discharged by 2% per hour, the battery voltage VBAT is 4000mV. For the discharge condition that the battery can be discharged by 15% per hour, the battery voltage VBAT is 3952mV. In addition, when the state of charge SOC value is 70%, for the discharge condition that the battery can be discharged by 2% per hour, the battery voltage VBAT is 3900mV. For the discharge condition that the battery can be discharged by 25% per hour, the battery voltage VBAT is 3811mV.
表620係根據表610的資訊而產生的。例如,在荷電狀態SOC值皆為90%的情況下,將放電情況OCV(意即代表每一小時能將電池放電2%)當作一基準。電池電壓為4.1V及每一小時能將電池放電10%的權重係等於0.29(這是由10/(4100-4065)計算而得到的)。電池電壓為4.0V及每一小時能將電池放電15%的權重係等於0.31(這是由15/(4000-3952)計算而得到的)。電池電壓為3.9V及每一小時能將電池放電25%的權重係等於0.28(這是由25/(3900-3811)計算而得到的)。藉由反覆進行上述步驟,便可以得到表620。此外,根據表620,可以得到在放電電流下,電池電壓VBAT與權重W(如圖4所示)彼此之間的關係630。將關係630施予標準化之後,便可以得到圖4所示之加權模糊器111所需要的電壓權重模型640。 Table 620 is generated based on the information in Table 610. For example, when the state of charge SOC value is 90%, the discharge condition OCV (which means that the battery can be discharged 2% every hour) is used as a benchmark. The weight of the battery voltage being 4.1V and being discharged 10% every hour is equal to 0.29 (this is calculated by 10/(4100-4065)). The weight of the battery voltage being 4.0V and being discharged 15% every hour is equal to 0.31 (this is calculated by 15/(4000-3952)). The weight of the battery voltage being 3.9V and being discharged 25% every hour is equal to 0.28 (this is calculated by 25/(3900-3811)). By repeating the above steps, table 620 can be obtained. In addition, according to table 620, the relationship 630 between the battery voltage VBAT and the weight W (as shown in FIG. 4 ) under the discharge current can be obtained. After the relationship 630 is standardized, the voltage weight model 640 required by the weighted fuzzifier 111 shown in FIG. 4 can be obtained.
圖10顯示根據本發明一實施例之用以估計電池的荷電狀態的系統所需的硬體方塊圖及資料表。如圖10所示,將圖8所示之壓差模型510與圖9所示之電壓權重模型640嵌入估計電池的荷電狀態系統100。由於電池是在放電的狀況下,因此屬於壓差模型510的一部分的圖440被繪示。此外,本實施例提供了對應於估計電池的荷電狀態系統100中之各節 點的資料表710。 FIG10 shows a hardware block diagram and a data table required for a system for estimating the state of charge of a battery according to an embodiment of the present invention. As shown in FIG10 , the voltage difference model 510 shown in FIG8 and the voltage weight model 640 shown in FIG9 are embedded in the system 100 for estimating the state of charge of a battery. Since the battery is in a discharged state, a graph 440 that is a part of the voltage difference model 510 is drawn. In addition, the present embodiment provides a data table 710 corresponding to each node in the system 100 for estimating the state of charge of a battery.
根據電壓權重模型640,視電池電壓VBAT的值而定,權重W可介於0.8與1.8之間。在本實施例中,當電池電壓VBAT的值為3.894Volts時,被應用於壓差模糊器112的輸出的權重W為0.9。 According to the voltage weight model 640, the weight W may be between 0.8 and 1.8 depending on the value of the battery voltage VBAT. In this embodiment, when the value of the battery voltage VBAT is 3.894Volts, the weight W applied to the output of the voltage difference fuzzifier 112 is 0.9.
電壓差△V用以作為壓差模糊器112的輸入。其中,電壓差△V係由電池電壓VBAT減去電池之查表的開路電壓OCV而得到的。經由估計電池的荷電狀態系統100計算而得的荷電狀態SOC係被輸入至開路電壓(OCV)的查表器116。如壓差模糊器112所示,當電壓差△V的絕對值越大時,電池電量計110所輸出之荷電變化量△SOC的絕對值越大。圖440顯示,當電壓差△V例如為-100mV時,荷電變化量△SOC為-0.25。 The voltage difference △V is used as the input of the voltage difference fuzzifier 112. The voltage difference △V is obtained by subtracting the open circuit voltage OCV of the battery from the battery voltage VBAT. The state of charge SOC calculated by the estimated battery state of charge system 100 is input to the open circuit voltage (OCV) lookup table 116. As shown in the voltage difference fuzzifier 112, when the absolute value of the voltage difference △V is larger, the absolute value of the charge change △SOC output by the battery gauge 110 is larger. Figure 440 shows that when the voltage difference △V is -100mV, for example, the charge change △SOC is -0.25.
如上所述,壓差模糊器112所計算出之荷電變化量△SOC係被加權模糊器111之輸出權重W給施予加權,並且經由最佳化器115而被施予最佳化。在一實施例中,最佳化器115進行加權後,根據最小均方最佳化的方式與電池充電/放電的實際資料與增益控制引擎120根據電池電流IBAT的適應性調整,而產生增益K。此增益K被用以計算加權過的荷電變化量△SOC。 As described above, the charge variation △SOC calculated by the pressure difference fuzzifier 112 is weighted by the output weight W of the weighted fuzzifier 111 and optimized by the optimizer 115. In one embodiment, after the optimizer 115 performs weighting, a gain K is generated according to the least mean square optimization method and the actual data of battery charging/discharging and the gain control engine 120 according to the adaptive adjustment of the battery current IBAT. This gain K is used to calculate the weighted charge variation △SOC.
接著,估計電池的荷電狀態系統100將加權過的荷電變化量△SOC與累加器130(例如但不限於,利用荷電狀態SOC的反Z變換(inverse Z transformation))加總,以決定一新的荷電狀態SOC。此新的荷電狀態SOC被回授至開路電壓OCV的查表器116,其中,此一步驟係反覆地進行。表710顯示3個電池的樣本,每一個彼此間隔36秒。根據上述關於估計電池的荷電狀態系統100的內容,本實施例之估計電池的荷電狀態系統100的運作模式係為:先決定電壓差值,並針對此電壓差值施予複數個模糊演算方式,再根據增益控制引擎120適應性調整增益。 Next, the battery state of charge estimation system 100 adds the weighted charge change ΔSOC to the accumulator 130 (for example, but not limited to, using the inverse Z transformation of the state of charge SOC) to determine a new state of charge SOC. This new state of charge SOC is fed back to the open circuit voltage OCV lookup table 116, where this step is repeated. Table 710 shows 3 battery samples, each separated by 36 seconds. According to the above content about the battery state of charge estimation system 100, the operation mode of the battery state of charge estimation system 100 of this embodiment is: first determine the voltage difference, and apply multiple fuzzy calculation methods to the voltage difference, and then adaptively adjust the gain according to the gain control engine 120.
圖11顯示將本發明一實施例所述之演算法施予最小均方最佳化之後所得的實驗結果。如圖11所示,演算法810類似於估計電池的荷電狀態系統100,二者差異在於:演算法810多了額外的最小均方最佳化功能方塊812。演算法810所對應的電池電壓VBAT及荷電狀態SOC係分別如圖820及圖830所示。最小均方最佳化功能方塊812係接收圖830中藉由外部量測儀器所量測的荷電狀態SOC之理想值與圖830中藉由估計電池的荷電狀態系統100所提供之估計的荷電狀態SOC。最小均方最佳化功能方塊812逐步地微調最佳化器816。根據最小均方最佳化功能方塊812所做的微調,不同的增益(增益#1~增益#3)被應用於最佳化器816。結果,例如,增益#1係三者之中最好的結果,因此,增益#1被選作一最佳的增益K。需說明的是,在本實施例中,為了便於理解,而省略了增益控制引擎120根據電池電流IBAT對增益K的適應性調整,旨在說明最小均方最佳化的運算。 FIG11 shows the experimental results obtained after applying the algorithm described in an embodiment of the present invention to the least mean square optimization. As shown in FIG11 , the algorithm 810 is similar to the system 100 for estimating the state of charge of a battery, and the difference between the two is that the algorithm 810 has an additional least mean square optimization function block 812. The battery voltage VBAT and the state of charge SOC corresponding to the algorithm 810 are shown in FIG820 and FIG830 respectively. The least mean square optimization function block 812 receives the ideal value of the state of charge SOC measured by an external measuring instrument in FIG830 and the estimated state of charge SOC provided by the system 100 for estimating the state of charge of a battery in FIG830. The least mean square optimization function block 812 gradually fine-tunes the optimizer 816. According to the fine-tuning made by the least mean square optimization function block 812, different gains (gain #1 to gain #3) are applied to the optimizer 816. As a result, for example, gain #1 is the best result among the three, so gain #1 is selected as an optimal gain K. It should be noted that in this embodiment, for ease of understanding, the adaptive adjustment of the gain K by the gain control engine 120 according to the battery current IBAT is omitted, in order to illustrate the least mean square optimization operation.
圖12顯示於圖4所示之實施例中,利用估計電池的荷電狀態系統100估計電池的荷電狀態所得的實驗結果。圖12包括三張圖910、920及930,其顯示在不同充電/放電情況下之估計的荷電狀態SOC的誤差。圖910顯示在0.5C的標準充電/放電速率下,估計的荷電狀態SOC的誤差為-3%至+3%之間。圖920顯示在0.25C的標準充電/放電速率下,估計的荷電狀態SOC的誤差亦為-3%至+3%之間。圖930顯示在0.5C的部分充電/放電速率下,估計的荷電狀態SOC的誤差為-4%至+4%之間。因此,圖910、920及930可顯示估計電池的荷電狀態系統100的準確度。 FIG12 shows the experimental results obtained by estimating the state of charge of a battery using the system 100 for estimating the state of charge of a battery in the embodiment shown in FIG4 . FIG12 includes three graphs 910 , 920 , and 930 , which show the error of the estimated state of charge SOC under different charge/discharge conditions. FIG910 shows that at a standard charge/discharge rate of 0.5C, the error of the estimated state of charge SOC is between -3% and +3%. FIG920 shows that at a standard charge/discharge rate of 0.25C, the error of the estimated state of charge SOC is also between -3% and +3%. FIG930 shows that at a partial charge/discharge rate of 0.5C, the error of the estimated state of charge SOC is between -4% and +4%. Therefore, graphs 910, 920, and 930 may illustrate the accuracy of the system 100 for estimating the battery state of charge.
圖13顯示本發明一實施例之用以估計電池的荷電狀態的方法流程圖。本實施例提供一種估計電池的荷電狀態SOC的方法1000,其步驟包括:首先,以一電池電量計(Voltaic Gauge)根據一電池電壓(VBAT)與一開路電壓(OCV)計算一電壓差(△V)(步驟1002)。接著,以一增益控制 引擎(Gain Control Engine)根據一電池電流(IBAT)與一完全充電容量(FCC),適應性調整一增益(步驟1004)。接著,該電池電量計根據該電壓差(△V)與該增益,產生一荷電變化量(△SOC)(步驟1006)。接著,根據當前的一荷電狀態(SOC_T)與該荷電變化量(△SOC),產生下一時刻的一荷電狀態(SOC_T+1)(步驟1008)。接著,以該下一時刻荷電狀態(SOC_T+1)作為該當前荷電狀態(SOC_T),回到步驟1002重複操作。 FIG13 shows a flow chart of a method for estimating the state of charge of a battery according to an embodiment of the present invention. The present embodiment provides a method 1000 for estimating the state of charge SOC of a battery, the steps of which include: first, using a battery gauge (Voltaic Gauge) to calculate a voltage difference (△V) according to a battery voltage (VBAT) and an open circuit voltage (OCV) (step 1002). Then, using a gain control engine (Gain Control Engine) to adaptively adjust a gain according to a battery current (IBAT) and a fully charged capacity (FCC) (step 1004). Then, the battery gauge generates a charge change (△SOC) according to the voltage difference (△V) and the gain (step 1006). Next, based on the current state of charge (SOC_T) and the charge change (△SOC), a state of charge (SOC_T+1) at the next moment is generated (step 1008). Then, the state of charge (SOC_T+1) at the next moment is used as the current state of charge (SOC_T), and the process returns to step 1002 to repeat the process.
需說明的是,圖13所示的實施例,為一種疊代的方式,在需要估計荷電狀態時,以疊代的方式動態調整與修正增益,因此在步驟1008結束之後,以下一時刻荷電狀態(SOC_T+1)作為該當前荷電狀態(SOC_T),回到步驟1002重複操作;當不需要再估計荷電狀態或是不需要在調整增益的情況下(例如在一種實施例中,輕載時以固定的增益而不動態調整增益的情況),則停止或暫停方法1000的流程。 It should be noted that the embodiment shown in FIG. 13 is an iterative method. When the state of charge needs to be estimated, the gain is dynamically adjusted and corrected in an iterative manner. Therefore, after step 1008 is completed, the state of charge (SOC_T+1) at the next moment is used as the current state of charge (SOC_T), and the operation is repeated in step 1002; when the state of charge does not need to be estimated or the gain does not need to be adjusted (for example, in one embodiment, the gain is fixed without dynamically adjusting the gain when the load is light), the process of method 1000 is stopped or paused.
在一實施例中,以一增益控制引擎(Gain Control Engine)根據一電池電流(IBAT),適應性調整一增益之步驟(步驟1004)更包括:以該增益控制引擎更根據調整前之該增益(K)與該電壓差(△V),適應性調整該增益。 In one embodiment, the step (step 1004) of adaptively adjusting a gain using a gain control engine according to a battery current (IBAT) further includes: adaptively adjusting the gain using the gain control engine according to the gain (K) before adjustment and the voltage difference (△V).
在一實施例中,以一增益控制引擎(Gain Control Engine)根據一電池電流(IBAT),適應性調整一增益之步驟(步驟1004)中,該增益控制引擎以增減一固定增益差來調整該增益。 In one embodiment, in the step (step 1004) of adaptively adjusting a gain using a gain control engine (Gain Control Engine) according to a battery current (IBAT), the gain control engine adjusts the gain by increasing or decreasing a fixed gain difference.
在一實施例中,以一增益控制引擎(Gain Control Engine)根據一電池電流(IBAT),適應性調整一增益之步驟(步驟1004)中,該增益控制引擎更根據一上一時刻電池電流(IBAT_T-1)與該電池電流(IBAT)間之一電流差,調整該增益。 In one embodiment, in the step (step 1004) of adaptively adjusting a gain using a gain control engine according to a battery current (IBAT), the gain control engine further adjusts the gain according to a current difference between a battery current (IBAT_T-1) at a previous moment and the battery current (IBAT).
在一實施例中,以一增益控制引擎(Gain Control Engine)根據一電池電流(IBAT),適應性調整一增益之步驟(步驟1004)中,於該電壓差 未超過一預設電壓差時,定義為一輕載狀況,該增益控制引擎調整並維持該增益為固定的一輕載增益。 In one embodiment, in the step (step 1004) of adaptively adjusting a gain using a gain control engine according to a battery current (IBAT), when the voltage difference does not exceed a preset voltage difference, it is defined as a light load condition, and the gain control engine adjusts and maintains the gain as a fixed light load gain.
在一實施例中,以一增益控制引擎(Gain Control Engine)根據一電池電流(IBAT),適應性調整一增益之步驟(步驟1004)包括:以該增益控制引擎比較一上一時刻荷電變化量(△SOC_T-1)與一變化量目標值(△SOCI),而適應性調整該增益,其中該變化量目標值相關於該電池電流與該完全充電容量(FCC)。 In one embodiment, the step of adaptively adjusting a gain according to a battery current (IBAT) using a gain control engine (Gain Control Engine) (step 1004) includes: using the gain control engine to compare a charge change (△SOC_T-1) at a previous moment with a change target value (△SOCI), and adaptively adjusting the gain, wherein the change target value is related to the battery current and the fully charged capacity (FCC).
在一實施例中,該完全充電容量(FCC)相關於一負載狀況、一電池溫度(TBAT)及/或一電池老化程度(AGS)。 In one embodiment, the fully charged capacity (FCC) is related to a load condition, a battery temperature (TBAT) and/or a battery aging level (AGS).
在一實施例中,該根據該電壓差與該增益,產生一荷電變化量之步驟,包括:根據該電池電壓,以一電壓權重模型估計一權重,其中該電壓權重模型為,於該電池的充電、放電及弛豫(relaxing)時所收集的一電池資訊中,該電池電壓與該權重間的一第一預設關係;根據該電壓差,以一壓差模型估計一模糊壓差,其中該壓差模型為,該電壓差與該模糊壓差間的一第二預設關係;以及根據該權重、該模糊壓差與該增益,產生該荷電變化量。 In one embodiment, the step of generating a charge variation according to the voltage difference and the gain includes: estimating a weight according to the battery voltage using a voltage weight model, wherein the voltage weight model is a first preset relationship between the battery voltage and the weight in a battery information collected during charging, discharging and relaxing of the battery; estimating a fuzzy voltage difference according to the voltage difference using a voltage difference model, wherein the voltage difference model is a second preset relationship between the voltage difference and the fuzzy voltage difference; and generating the charge variation according to the weight, the fuzzy voltage difference and the gain.
在一實施例中,估計電池的荷電狀態的方法1000,更包含:在產生下一時刻的該荷電狀態(SOC_T+1)之前,於不同的充電/放電電流下,收集該電池資訊。 In one embodiment, the method 1000 for estimating the state of charge of a battery further includes: before generating the state of charge (SOC_T+1) at the next moment, collecting the battery information at different charging/discharging currents.
在一實施例中,估計電池的荷電狀態的方法1000,更包含:於不同的該充電/放電電流下,藉由估測該荷電狀態及該電池電壓,以建立該電壓權重模型及該壓差模型。 In one embodiment, the method 1000 for estimating the state of charge of a battery further includes: establishing the voltage weight model and the voltage difference model by estimating the state of charge and the battery voltage at different charge/discharge currents.
在一實施例中,估計電池的荷電狀態的方法1000,更包含:藉由根據該電池電壓於該充電/放電電流時與於不同的該充電/放電電流時 之間的差值,來計算該權重,以建立該電壓權重模型。 In one embodiment, the method 1000 for estimating the state of charge of a battery further includes: calculating the weight according to the difference between the battery voltage at the charge/discharge current and at different charge/discharge currents to establish the voltage weight model.
在一實施例中,估計電池的荷電狀態的方法1000,更包含:藉由根據該充電/放電電流,來計算該模糊壓差,以建立該壓差模型。 In one embodiment, the method 1000 for estimating the state of charge of a battery further includes: calculating the fuzzy voltage difference based on the charge/discharge current to establish the voltage difference model.
在一實施例中,估計電池的荷電狀態的方法1000,更包含:根據該荷電狀態,查詢一預設的荷電狀態與開路電壓關係表,以產生該開路電壓。 In one embodiment, the method 1000 for estimating the state of charge of a battery further includes: querying a preset state of charge and open circuit voltage relationship table according to the state of charge to generate the open circuit voltage.
為了建立本發明之方法所用到的模型,本發明採用標準的充電與放電的流程來收集電池資訊。例如,本發明藉由不同的充電與放電電流,以便觀察荷電狀態SOC及電池電壓VBAT。據此,根據這些觀察,本發明得以在下述二者建立一夥伴函數(或關係):(1)在電池電壓VBAT與電池的一估計的開路電壓(open circuit voltage,OCV)之間的一電壓差值;及(2)用以調整估計的荷電狀態SOC的一荷電變化量△SOC。此外,根據這些觀察,本發明得以在被施予在荷電變化量△SOC與電池電壓VBAT之間的一權重之間建立另一夥伴函數(或關係)。此二個夥伴函數形成一組標準模型,其可以根據特定的電池充電與放電資訊而被最佳化。特定的電池資料乃是最常被使用的使用者經驗。再者,藉由最小均方誤差(minimized least square error)演算法可以得到一最佳的增益,並根據感測的電池電流IBAT適應性調整增益,藉此更進一步地微調荷電變化量△SOC。此外,增益控制引擎根據電池電流IBAT,適應性調整增益,以在充電和放電情況下,即使在充電/放電電流劇烈變化的情況下,本發明仍可提供正確的荷電狀態;且可更進一步根據不同電池負載、不同電池溫度、不同電池容量及/或不同電池老化程度下,提供更準確的荷電狀態SOC。 In order to establish the model used in the method of the present invention, the present invention uses standard charging and discharging processes to collect battery information. For example, the present invention observes the state of charge SOC and the battery voltage VBAT by different charging and discharging currents. Accordingly, based on these observations, the present invention is able to establish a partner function (or relationship) between the following two: (1) a voltage difference between the battery voltage VBAT and an estimated open circuit voltage (OCV) of the battery; and (2) a charge change △SOC used to adjust the estimated state of charge SOC. In addition, based on these observations, the present invention is able to establish another partner function (or relationship) between a weight applied between the charge change △SOC and the battery voltage VBAT. These two partner functions form a set of standard models that can be optimized based on specific battery charging and discharging information. Specific battery data is the most commonly used user experience. Furthermore, an optimal gain can be obtained by the minimum mean square error algorithm, and the gain is adaptively adjusted according to the sensed battery current IBAT, thereby further fine-tuning the charge change △SOC. In addition, the gain control engine adaptively adjusts the gain according to the battery current IBAT, so that the present invention can still provide the correct state of charge under charging and discharging conditions, even when the charging/discharging current changes dramatically; and can further provide a more accurate state of charge SOC according to different battery loads, different battery temperatures, different battery capacities and/or different battery aging levels.
以上已針對較佳實施例來說明本發明,唯以上所述者,僅係為使熟悉本技術者易於了解本發明的內容而已,並非用來限定本發明之權利範圍。所說明之各個實施例,並不限於單獨應用,亦可以組合應用,舉例而言,兩個或以上之實施例可以組合運用,而一實施例中之部分組成亦可用以取代另一實施例中對應之組成部件。此外,在本發明之相同精神下,熟悉本技術者可以思及各種等效變化以及各種組合,舉例而言,本發明所稱「根據某訊號進行處理或運算或產生某輸出結果」,不限於根據該訊號的本身,亦包含於必要時,將該訊號進行電壓電流轉換、電流電壓轉換、及/或比例轉換等,之後根據轉換後的訊號進行處理或運算產生某輸出結果。由此可知,在本發明之相同精神下,熟悉本技術者可以思及各種等效變化以及各種組合,其組合方式甚多,在此不一一列舉說明。因此,本發明的範圍應涵蓋上述及其他所有等效變化。 The present invention has been described above with reference to the preferred embodiments. However, the above description is only for the purpose of making it easier for those familiar with the art to understand the content of the present invention, and is not intended to limit the scope of the invention. The embodiments described are not limited to single application, but can also be applied in combination. For example, two or more embodiments can be used in combination, and a part of the components in one embodiment can also be used to replace the corresponding components in another embodiment. In addition, under the same spirit of the present invention, those familiar with the present technology can think of various equivalent changes and various combinations. For example, the present invention refers to "processing or calculating or generating an output result according to a certain signal", which is not limited to the signal itself, but also includes, when necessary, converting the signal into voltage-current, current-voltage, and/or ratio, and then processing or calculating the converted signal to generate an output result. It can be seen that under the same spirit of the present invention, those familiar with the present technology can think of various equivalent changes and various combinations, and there are many combinations, which are not listed here one by one. Therefore, the scope of the present invention should cover the above and all other equivalent changes.
100: 估計電池的荷電狀態的系統 110: 電池電量計 120: 增益控制引擎 130: 累加器 IBAT: 電池電流 FCC: 完全充電容量 OCV: 開路電壓 SOC_T: 當前荷電狀態 SOC_T+1: 下一時刻荷電狀態 VBAT: 電池電壓 ΔSOC_T: 當前荷電變化量 100: System for estimating the battery state of charge 110: Battery gauge 120: Gain control engine 130: Accumulator IBAT: Battery current FCC: Fully charged capacity OCV: Open circuit voltage SOC_T: Current state of charge SOC_T+1: Next state of charge VBAT: Battery voltage ΔSOC_T: Current charge change
Claims (27)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/909,907 US20250116713A1 (en) | 2023-10-10 | 2024-10-08 | Method of estimating state of charge of battery and system thereof |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363589308P | 2023-10-10 | 2023-10-10 | |
| US63/589,308 | 2023-10-10 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202516197A TW202516197A (en) | 2025-04-16 |
| TWI887126B true TWI887126B (en) | 2025-06-11 |
Family
ID=95270557
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113136362A TWI887126B (en) | 2023-10-10 | 2024-09-25 | Method of estimating state of charge of battery and system thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119805256A (en) |
| TW (1) | TWI887126B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230123124A1 (en) * | 2020-05-07 | 2023-04-20 | Zitara Technologies, Inc. | Battery analysis system and method |
| CN116706281A (en) * | 2023-06-08 | 2023-09-05 | 珠海冠宇电池股份有限公司 | Battery charging method, device, electronic device, and computer-readable storage medium |
| CN116760155A (en) * | 2023-08-18 | 2023-09-15 | 合肥国轩高科动力能源有限公司 | Charge and discharge control method, device, storage medium and electronic equipment |
-
2024
- 2024-09-25 TW TW113136362A patent/TWI887126B/en active
- 2024-09-30 CN CN202411378636.XA patent/CN119805256A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230123124A1 (en) * | 2020-05-07 | 2023-04-20 | Zitara Technologies, Inc. | Battery analysis system and method |
| US20230213590A1 (en) * | 2020-05-07 | 2023-07-06 | Zitara Technologies, Inc. | Battery analysis system and method |
| CN116706281A (en) * | 2023-06-08 | 2023-09-05 | 珠海冠宇电池股份有限公司 | Battery charging method, device, electronic device, and computer-readable storage medium |
| CN116760155A (en) * | 2023-08-18 | 2023-09-15 | 合肥国轩高科动力能源有限公司 | Charge and discharge control method, device, storage medium and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202516197A (en) | 2025-04-16 |
| CN119805256A (en) | 2025-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107064805B (en) | Storage battery capacity measuring system and storage battery capacity measuring method | |
| KR102554612B1 (en) | Measuring apparatus of battery internal resistance and method of measuring same | |
| KR101878538B1 (en) | Secondary battery capacity measurement system and secondary battery capacity measurement method | |
| JP5035401B2 (en) | Battery state detection method, battery state detection device, and arithmetic expression derivation method | |
| JP5318128B2 (en) | Battery charge rate estimation device | |
| US7095211B2 (en) | Battery gas gauge | |
| JP6153528B2 (en) | System and method for battery monitoring | |
| TW201314236A (en) | Device for battery capacity prediction and method for the same | |
| CN114503388A (en) | Battery charging system and method using dynamically adjusted battery voltage thresholds | |
| CN115932591A (en) | Lithium battery SOC estimation method, system, medium and electronic equipment based on PID-EKF | |
| KR102481221B1 (en) | Estimating device for the state of charge on energy storage system and method thereof | |
| TWI758760B (en) | Battery control device and battery capacity estimation method | |
| CN110082683A (en) | A Closed-loop Compensation Method for Suppressing Ampere-hour Integral SOC Estimation Error | |
| TWI887126B (en) | Method of estimating state of charge of battery and system thereof | |
| CN119224607B (en) | Power battery SOC estimation correction method | |
| CN120834307A (en) | A battery rate adjustment method and system based on joint calculation | |
| CN120761866A (en) | A battery SOC calculation method, device, battery management system and computer-readable storage medium | |
| US20250116713A1 (en) | Method of estimating state of charge of battery and system thereof | |
| KR102205318B1 (en) | Method for estimating state of charge(soc) | |
| WO2023145024A1 (en) | Power storage battery management device, power storage battery system, and power storage battery management method | |
| CN121027867B (en) | Electric quantity balance correction method of electroless meter chip and electronic device | |
| JP2021035126A (en) | Battery capacity estimation device, battery capacity estimation method, and program | |
| WO2025169817A1 (en) | Battery analysis system, battery analysis method, and battery analysis program | |
| CN115494408B (en) | Battery leakage current detection system and method | |
| CN118483585A (en) | Residual electric quantity estimation method |