[發明所欲解決之問題] 本發明者對圖1之殘量檢測電路506進行研究之後認識到以下之課題。此處,關於充電不予考慮,而是說明放電時之現象。圖2係表示OCV與SOC之對應關係(SOC-OCV特性)及電池電壓VBAT
之變化之圖。 此處,以鋰離子電芯為例,OCV=4.2 V時為充滿電狀態,即SOC=100%。又,將能夠使包含負載508之系統動作之最低動作電壓設為VBAT _ MIN
時,當OCV=VBAT _ MIN
時,SOC=0%。關於中間的SOC,與OCV係1對1地建立對應。 當前,若使負載電流ILOAD
自充滿電狀態連續地或不連續地流過,則OCV朝圖中箭頭所示之方向降低。將此時之放電電流IBAT
進行累計,根據庫侖計值CC而計算SOC,且隨時間之經過而接近零。 圖2中除OCV外,還表示自電池502取出至外部之電池電壓VBAT
。電池電壓VBAT
較OCV進一步下降。該下降量(電壓降)VDROP
中除包含與當前之負載電流ILOAD
(即瞬時值)成比例之成分外,還包含基於過去之負載電流ILOAD
之歷程之成分。因此,即便於負載電流ILOAD
成為零之後,該下降量亦不會立即成為零。電壓降VDROP
於無負載狀態下,經過較長之弛豫時間(數小時左右)後接近零。 如圖2所示,在由於電壓降VDROP
而導致OCV降低至VBAT _ MIN
之前,若電池電壓VBAT
降低至VBAT _ MIN
,則系統關機。此時,根據庫侖計法計算出之SOC係大於0之值X。亦即,雖然表示為殘餘X(%),但電子機器500之使用者亦會遭遇到系統關機之狀況。 本發明係鑒於該課題而完成者,其某一態樣之例示性目的之一在於提供一種能夠改善電池之充電狀態之檢測精度之方法及殘量檢測電路。 [解決問題之技術手段] 本發明之某一態樣係關於一種檢測充電式電池之SOC(State Of Charge,充電狀態)之方法。該方包含以下處理。 (1)藉由將電池之充放電電流進行累計而生成庫侖計值CC。 (2)根據SOC1=(CCFULL
-CC)/CCFULL
×100…(1) 而生成SOC之值SOC1。其中,CCFULL
係相當於充滿電之庫侖計容量值。 進而於該方法中,進行以下之(3)修正處理。 (3-1)根據針對電池預先所規定之SOC與OCV(Open Circuit Voltage)之對應關係(SOC-OCV特性),生成與值SOC1對應之OCV之值OCV1。 (3-2)檢測電池之電壓VBAT1
。 (3-3)生成值OCV1與電池之電壓VBAT
之檢測值VBAT1
之差分VDROP1
。 (3-4)生成較系統之最低動作電壓VBAT _ MIN
高出與差分VDROP1
相應之電壓幅度ΔV之值OCV2。 (3-5)根據SOC-OCV特性而生成與值OCV2對應之SOC之值SOC2。 (3-6)將值SOC2設為與殘量零(0%)相當者,對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正。 根據該態樣,考慮上述之時常變化之電壓降VDROP
,於實際之電池電壓VBAT
降低至最低動作電壓VBAT _ MIN
時,即,於系統關機時,可以使SOC成為零之方式而修正基於庫侖計法之殘量檢測處理,從而可改善SOC之檢測精度。 亦可為ΔV=VDROP1
。於OCV與電池電壓之差分之SOC依存性較小之情形時為有效。 可將OCV與電池電壓之差分VDROP
之SOC依存性預先保持,亦可保持於查找表,還可作為運算式而保持。 修正處理亦可進而包含以下處理。 計算OCV之暫定值OCV3=VBAT _ MIN
+VDROP1
。 生成與OCV之暫定值OCV3對應之SOC之暫定值SOC3。 根據值SOC1下之上述差分VDROP1
及上述差分之SOC依存性而計算暫定值SOC3下之電壓降ΔV。 藉此可提高精度。 除電壓降VDROP
之SOC依存性外,還可保持溫度依存性。藉此可進一步提高精度。 於修正處理(3-6)中,亦可將庫侖計容量值CCFULL
修正為藉由式(2)所得之新的值CCFULL
'。 CCFULL
'=CCFULL
×(100-SOC2)/100…(2) 於修正處理(3-6)中,亦可將庫侖計值CC修正為藉由式(3)所得之新的值CC'。 CC'=CC-(CCFULL
-CCFULL
')…(3) 於修正處理(3-6)中,亦可將庫侖計值CC修正為藉由式(4)所得之新的值CC'。 CC'=CC-CCFULL
×SOC2/100…(4) 於修正處理(3-6)中,亦可將藉由式(5)所得之新的值SOC'作為修正後之SOC。 SOC'=SOC1×100/(100-SOC2)…(5) 於修正處理(3-6)中,亦可不修正庫侖計值CC。 於修正處理(3-6)中,亦可將藉由式(6)所得之新的值SOC'作為修正後之SOC。 SOC'={CCFULL
-CC×100/(100-SOC2)}/CCFULL
×100…(6) 於修正處理(3-6)中,亦可不修正庫侖計容量值CCFULL
,而是將庫侖計值CC修正為藉由式(7)所得之新的值CC'。 CC'=CC×100/(100-SOC2)…(7) 於修正處理(3-6)中,亦可將庫侖計值CC修正為藉由式(8)所得之新的值CC'。 CC'=CC×(100-SOC2)/100…(8) 上述SOC-OCV特性亦可將較系統之最低動作電壓為低之OCV之範圍與負的SOC建立對應。 藉此,亦可應對有效之殘量增加之情形。 修正處理(3)可於電池之電壓較特定之電壓值為低時有效。或,修正處理(3)亦可於SOC低於特定值時有效。 於電池殘量較大時不進行修正,藉此可抑制伴隨修正產生之消耗電力之增加。 修正處理(3)亦可針對每特定之週期間歇地成為有效。 若使修正始終有效,則消耗電力增大,藉由按每特定之週期間歇地進行修正處理,可抑制伴隨修正產生之消耗電力之增加。 特定之週期亦可長於1秒且短於60秒。藉由按該週期進行修正,可於合理之消耗電力增加之範圍內獲得充分之SOC精度改善之效果。 本發明之另一態樣係關於一種檢測充電式電池之SOC(State Of Charge)之殘量檢測電路。殘量檢測電路具備:庫侖計電路,其藉由對電池之充放電電流進行累計而生成庫侖計值CC;電壓檢測電路,其檢測電池之電壓VBAT
;SOC運算部,其根據式(1)而計算SOC之值SOC1;及修正電路,其對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正。 SOC1=(CCFULL
-CC)/CCFULL
×100…(1) 其中,CCFULL
係相當於充滿電之庫侖計容量值。 修正電路執行:根據針對電池預先所規定之作為SOC與OCV(Open Circuit Voltage)之對應關係的SOC-OCV特性而生成與值SOC1對應之OCV之值OCV1之步驟;生成值OCV1與由電壓檢測電路檢測出之電壓之檢測值VBAT1
之差分VDROP1
之步驟;生成較系統之最低動作電壓高出與差分VDROP1
相應之電壓幅度ΔV之值OCV2之步驟;根據SOC-OCV特性而生成與值OCV2對應之SOC之值SOC2之步驟;及將值SOC2設為與殘量零(0%)相當者,對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正之步驟。 本發明之另一態樣係一種電子機器。電子機器具備充電式電池、及檢測電池之狀態之上述殘量檢測電路。 本發明之另一態樣係一種汽車。汽車具備充電式電池、及檢測電池之狀態之上述殘量檢測電路。 再者,將以上構成要素之任意組合或本發明之構成要素或表達於方法、裝置、系統等之間相互置換而成者亦有效地作為本發明之態樣。 [發明之效果] 根據本發明,可改善電池之充電狀態之檢測精度。[Problems to be Solved by the Invention] The inventors of the present invention have studied the residual amount detecting circuit 506 of Fig. 1 and have recognized the following problems. Here, the charging is not considered, but the phenomenon at the time of discharge is explained. Fig. 2 is a view showing changes in the correspondence relationship between OCV and SOC (SOC-OCV characteristics) and battery voltage V BAT . Here, taking a lithium ion battery as an example, when OCV=4.2 V, it is in a fully charged state, that is, SOC=100%. Further, when the lowest operating voltage at which the system including the load 508 operates can be set to V BAT _ MIN , when OCV = V BAT _ MIN , SOC = 0%. Regarding the intermediate SOC, the OCV system is associated with the one-to-one correspondence. Currently, if the load current I LOAD flows continuously or discontinuously from the fully charged state, the OCV decreases in the direction indicated by the arrow in the figure. The discharge current I BAT at this time is accumulated, and the SOC is calculated based on the coulomb count CC, and approaches zero with the passage of time. In addition to the OCV, FIG. 2 also shows the battery voltage V BAT taken out from the battery 502 to the outside. The battery voltage V BAT is further reduced than the OCV. The falling amount (voltage drop) V DROP includes a component based on the history of the past load current I LOAD in addition to the component proportional to the current load current I LOAD (ie, the instantaneous value). Therefore, even after the load current I LOAD becomes zero, the falling amount does not immediately become zero. The voltage drop V DROP is close to zero after a long relaxation time (a few hours or so) under no load. As shown in FIG. 2, before the OCV is lowered to V BAT _ MIN due to the voltage drop V DROP , if the battery voltage V BAT is lowered to V BAT _ MIN , the system is shut down. At this time, the SOC system calculated by the coulomb method is greater than the value X of 0. That is, although expressed as a residual X (%), the user of the electronic device 500 may also experience a system shutdown condition. The present invention has been made in view of the above problems, and an exemplary object of one aspect thereof is to provide a method and a residual amount detecting circuit capable of improving the detection accuracy of a state of charge of a battery. [Technical means for solving the problem] A certain aspect of the present invention relates to a method of detecting a SOC (State Of Charge) of a rechargeable battery. This party contains the following processing. (1) The coulomb count CC is generated by accumulating the charge and discharge currents of the battery. (2) The value SOC1 of the SOC is generated based on SOC1 = (CC FULL - CC) / CC FULL × 100 (1). Among them, CC FULL is equivalent to the fully charged coulomb capacity value. Further, in the method, the following (3) correction processing is performed. (3-1) The value OCV1 of the OCV corresponding to the value SOC1 is generated based on the correspondence relationship (SOC-OCV characteristic) between the SOC and the OCV (Open Circuit Voltage) specified in advance for the battery. (3-2) Detect the voltage of the battery V BAT1 . (3-3) The difference V DROP1 between the generated value OCV1 and the detected value V BAT1 of the voltage V BAT of the battery. (3-4) A system voltage lower limit voltage V BAT _ MIN is generated higher than the value OCV2 of the voltage amplitude ΔV corresponding to the differential V DROP1 . (3-5) A value SOC2 of the SOC corresponding to the value OCV2 is generated based on the SOC-OCV characteristic. (3-6) The value SOC2 is set to be equal to the residual zero (0%), and at least one of the values SOC1, CC, C FULL, and SOC-OCV characteristics is corrected. According to this aspect, considering the above-mentioned constantly changing voltage drop V DROP , when the actual battery voltage V BAT is lowered to the minimum operating voltage V BAT _ MIN , that is, when the system is turned off, the SOC can be corrected to zero. The residual detection processing based on the coulomb counting method can improve the detection accuracy of the SOC. It can also be ΔV=V DROP1 . It is effective when the SOC dependence of the difference between OCV and battery voltage is small. The SOC dependence of the difference between the OCV and the battery voltage V DROP can be maintained in advance, or can be maintained in the look-up table, and can be maintained as an arithmetic expression. The correction process may further include the following processing. Calculate the tentative value of OCV OCV3=V BAT _ MIN +V DROP1 . A tentative value SOC3 of the SOC corresponding to the tentative value OCV3 of the OCV is generated. The voltage drop ΔV at the provisional value SOC3 is calculated based on the difference V DROP1 at the value SOC1 and the SOC dependency of the difference. This can improve accuracy. In addition to the SOC dependence of the voltage drop V DROP , temperature dependence can be maintained. This can further improve the accuracy. In the correction processing (3-6), the coulomb counter capacity value CC FULL can also be corrected to the new value CC FULL ' obtained by the equation (2). CC FULL '=CC FULL ×(100-SOC2)/100 (2) In the correction process (3-6), the coulomb value CC can also be corrected to the new value CC' obtained by the equation (3). . CC '= CC- (CC FULL -CC FULL') ... (3) in the correction process (3-6), the coulometer may be corrected to the new value CC value obtained by the formula (4) CC '. CC'=CC-CC FULL × SOC2/100 (4) In the correction processing (3-6), the new value SOC' obtained by the equation (5) may be used as the corrected SOC. SOC'=SOC1×100/(100-SOC2) (5) In the correction process (3-6), the coulomb count CC may not be corrected. In the correction processing (3-6), the new value SOC' obtained by the equation (6) can also be used as the corrected SOC. SOC'={CC FULL -CC×100/(100-SOC2)}/CC FULL ×100 (6) In the correction process (3-6), the coulomb count capacity value CC FULL may not be corrected, but the coulomb The value CC is corrected to the new value CC' obtained by the equation (7). CC'=CC×100/(100-SOC2) (7) In the correction processing (3-6), the coulomb count CC can also be corrected to the new value CC' obtained by the equation (8). CC'=CC×(100-SOC2)/100 (8) The SOC-OCV characteristic described above may also associate a range of OCV lower than the lowest operating voltage of the system with a negative SOC. In this way, it is also possible to cope with an increase in the effective residual amount. The correction process (3) can be effective when the voltage of the battery is lower than a specific voltage value. Alternatively, the correction process (3) may also be effective when the SOC is lower than a specific value. When the battery residual amount is large, the correction is not performed, whereby the increase in power consumption accompanying the correction can be suppressed. The correction process (3) can also be made effective intermittently for each specific cycle. When the correction is always effective, the power consumption is increased, and by performing the correction processing intermittently for each specific cycle, it is possible to suppress an increase in the power consumption caused by the correction. The specific period can also be longer than 1 second and shorter than 60 seconds. By correcting by this period, it is possible to obtain an effect of improving the SOC accuracy within a range of reasonable power consumption increase. Another aspect of the present invention relates to a residual amount detecting circuit for detecting a SOC (State Of Charge) of a rechargeable battery. The residual amount detecting circuit includes a coulomb counter circuit that generates a coulomb count CC by accumulating a charge and discharge current of the battery, a voltage detecting circuit that detects a voltage V BAT of the battery, and an SOC calculation unit according to the formula (1) And calculating a value SOC1 of the SOC; and a correction circuit that corrects at least one of the values SOC1, CC, C FULL, and SOC-OCV characteristics. SOC1=(CC FULL -CC)/CC FULL ×100 (1) where CC FULL is equivalent to the coulometric capacity value of the full charge. Correction circuit execution: a step of generating an OCV value OCV1 corresponding to the value SOC1 according to a SOC-OCV characteristic which is a predetermined correspondence between the SOC and the OCV (Open Circuit Voltage) for the battery; generating the value OCV1 and the voltage detection circuit The step of detecting the difference V DROP1 of the detected value of the voltage V BAT1 ; generating a step OCV2 higher than the lowest operating voltage of the system by the voltage amplitude ΔV corresponding to the differential V DROP1 ; generating the value OCV2 according to the SOC-OCV characteristic a step of SOC2 corresponding to the SOC value; and a step of correcting at least one of the values SOC1, CC, C FULL, and SOC-OCV characteristics by setting the value SOC2 to be equal to the residual zero (0%). Another aspect of the invention is an electronic machine. The electronic device includes a rechargeable battery and the above-described residual amount detecting circuit for detecting the state of the battery. Another aspect of the invention is a car. The automobile includes a rechargeable battery and the above-described residual amount detecting circuit for detecting the state of the battery. Furthermore, any combination of the above constituent elements, or constituent elements of the present invention or expressions, which are expressed in a method, an apparatus, a system, or the like, are also effectively used as the aspect of the present invention. [Effect of the Invention] According to the present invention, the detection accuracy of the state of charge of the battery can be improved.
以下,根據較佳之實施形態,一面參照圖式一面對本發明進行說明。對各圖式所示之相同或同等之構成要素、構件、處理標註相同之符號,適當省略重複之說明。又,實施形態並非限定發明者而是例示,實施形態中記述之所有特徵或其組合並非必須限定為發明之本質性者。 本說明書中,所謂「構件A與構件B連接之狀態」,亦包含構件A與構件B物理性直接連接之情形、或構件A與構件B經由其他構件而間接連接之情形,後者不會對其等之電性連接狀態造成實質性影響、或不會損及藉由其等之結合而發揮之功能或效果。 同樣地,所謂「構件C設置於構件A與構件B之間之狀態」除包含構件A與構件C或構件B與構件C直接連接之情形之外,亦包含經由其他構件而間接連接之情形,後一情形不會對其等之電性連接狀態造成實質性影響、或不會損及藉由其等之結合而發揮之功能或效果。 又,於本說明書中,對電壓信號、電流信號、或電阻所標註之符號視需要而表示各者之電壓值、電流值、或電阻值。 圖3係具備實施形態之殘量檢測電路之電池管理系統100之方塊圖。電池管理系統100具備電池102、充電電路104、負載108及殘量檢測電路200。電池102包含一個或複數個電芯。電芯之種類並未特別限定,可例示鋰離子電芯、鋰空氣電芯、以鋰金屬為基礎之電芯、氫化鎳電芯、鎳鎘電芯、鎳鋅電芯等。電芯之個數依存於電池管理系統100之用途,但於可攜式電子機器之情形時為1電芯~數電芯,於車載電池或產業機器、產業機械之用途中為數十~數百電芯左右。作為本發明之用途,電池102之構成並無特別限定。 對負載108供給來自電池102之電池電壓VBAT
。負載108之種類並無特別限定。例如將電池管理系統100搭載於電子機器之情形時,負載108可包含使電池電壓VBAT
升壓或降壓且生成電源電壓VDD
之電源電路、或受到電源電壓VDD
而動作之各種電子電路。於電池管理系統100搭載於汽車或產業機械之情形時,負載108可包含馬達、及將電池電壓VBAT
轉換為交流並驅動馬達之反相器。 充電電路104受到來自外部之電源適配器或USB(Universal Serial Bus,通用串列匯流排)、充電站等之電源電壓VEXT
而對電池102進行充電。 殘量檢測電路200檢測電池102之充電狀態(SOC:State Of Charge)。再者,於本說明書中為容易理解,將SOC設為最小值為0、最大值為100之百分率(%)而進行說明,但本發明並未限定於此。例如以10位元表示SOC之情形時,於數位信號處理之過程中,請注意SOC係以0~1023之1024灰階表示。 殘量檢測電路200具備庫侖計電路202、電壓檢測電路204、SOC運算部206、修正電路208、及查找表210。庫侖計電路202藉由對電池102之充放電電流(IBAT
)進行累計而生成庫侖計值CC。庫侖計值CC係以下式表示。 CC=∫IBAT
dt 庫侖計電路202以特定之採樣週期Δt對電池電流IBAT
進行採樣。庫侖計值CC係使用各採樣時刻下之電池電流IBATi
並利用下式而計算。 CC=Σi = 1
(Δt×IBATi
) 該累計(積分)例如係將自電池102流出之方向上之電流IBAT
設為正,且將流入至電池502之方向上之電流IBAT
設為負而進行。 電流IBAT
之檢測方法並無特別限定。例如亦可將感測電阻RS
與電池102串聯地插入至電流IBAT
之路徑上,檢測感測電阻RS
之電壓降。感測電阻RS
可插入於電池102之正極側,亦可插入於負極側。庫侖計電路202亦可包含對感測電阻RS
之電壓降VCS
(或將電壓降VCS
放大後之電壓)進行採樣之A/D轉換器、及對A/D轉換器之輸出資料進行累計之累計器。 電壓檢測電路204監控電池102之電壓VBAT
,生成表示電池電壓VBAT1
之資料(電壓資料)DVBAT
。電壓檢測電路204亦可包含對電池電壓VBAT
進行採樣、或將其特定係數倍後之電壓進行採樣並數位化之A/D轉換器。 SOC運算部206接收來自庫侖計電路202之庫侖計值CC。SOC運算部206根據式(1)而計算SOC之值SOC1。 SOC1=(CCFULL
-CC)/CCFULL
×100…(1) 其中,CCFULL
係相當於充滿電之庫侖計容量值。 對修正電路208供給值SOC1及電壓資料DVBAT
。修正電路208根據該等值而對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正。 以下,對修正電路208之修正處理進行說明。 針對電池102,預先測定SOC與OCV(Open Circuit Voltage)之對應關係(SOC-OCV特性)。圖4係表示SOC-OCV特性之一例之圖。SOC-OCV特性例如儲存於圖3之查找表210中。關於未儲存於查找表210中之中間值,可藉由線性插補等運算手段而生成。或,修正電路208亦可將SOC-OCV特性以運算式(例如多項式)之形式保持。 修正電路208根據SOC-OCV特性而生成與值SOC1對應之OCV之值OCV1。繼而,生成值OCV1與經電壓檢測電路204檢測之電池電壓VBAT1
之差分VDROP1
。 VDROP1
=OCV1-VBAT1
將包含負載508之系統之最低動作電壓設為VBAT _ MIN
。修正電路208生成較最低動作電壓VBAT _ MIN
高出與差分VDROP1
相應之電壓幅度ΔV之值OCV2。 OCV2=VBAT _ MIN
+ΔV 於ΔV=VDROP1
之情形時, OCV2=VBAT _ MIN
+VDROP1
或,於ΔV=VDROP1
×α(α為常數)之情形時, OCV2=VBAT _ MIN
+VDROP1
×α 或,於ΔV=VDROP1
+β(β為常數)之情形時, OCV2=VBAT _ MIN
+VDROP1
+β 或,亦可設為 OCV2=VBAT _ MIN
+α×VDROP1
+β 更一般化而言,亦可定義特定之函數f(),且根據ΔV=f(VDROP1
)而計算電壓幅度ΔV。 修正電路208根據SOC-OCV特性而生成與值OCV2對應之SOC之值SOC2。繼而,修正電路208將值SOC2設為與電池102之殘量零(0%)相當者,對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正。 庫侖計電路202及電壓檢測電路204可僅由硬體封裝,亦可將其等積體化為單一之IC。SOC運算部206、修正電路208及查找表210亦可由微電腦等能夠進行軟體控制之處理器封裝。或,亦可將殘量檢測電路200整體積體化為單一之晶片。 殘量檢測電路200所生成之SOC可作為數字、或作為表示殘量之圖符而顯示於顯示裝置、或用作提醒。 以上為實施形態之殘量檢測電路200之構成。繼而對其動作進行說明。圖5係實施形態之殘量檢測之流程圖。例如自充滿電狀態開始進行處理。再者,流程圖並非係限定各處理(步驟)之順序者,各處理之順序只要不破壞處理則能夠任意地調換。又,該流程圖並非表示執行各處理之頻度(頻率、週期)為相同者。 庫侖計電路202計算庫侖計值CC(S100)。SOC運算部206利用庫侖計值CC,根據式(1)而計算值SOC1(S102)。例如,庫侖計電路202以數十~數百Hz之週期更新庫侖計值CC,另一方面,SOC運算部206亦可以較其低之頻率、例如1秒~60秒左右之週期而計算SOC1。 電壓檢測電路204測定VBAT
(S104)。於消耗電力之增加並未成為問題之情形時,電壓檢測電路204亦可以較高之頻率(例如與庫侖計電路202相同之頻率)而測定電池電壓VBAT
。 繼而,進行修正處理S110。修正處理S110可針對SOC1之每一次運算進行,亦可以較其低之週期進行。圖6係表示利用電壓與SOC之關係之修正處理S110之圖。各值係以其上標註之編號(i)~(v)之順序生成。 修正電路208根據SOC-OCV特性而自SOC1轉換為OCV1(S112)。繼而,計算電壓降VDROP1
(S114)。然後,根據電壓降VDROP1
及最低動作電壓VBAT _ MIN
,推斷電池電壓VBAT
之測定值VBAT1
達到最低動作電壓VBAT _ MIN
時之OCV之值OCV2(S116)。然後,根據SOC-OCV特性而自值OCV2逆轉換為與其對應之SOC之值SOC2(S118)。 值SOC2表示系統可關機之SOC。即,若SOC運算部206計算出之SOC1降低至值SOC2,則有可能電池電壓VBAT
降低至最低動作電壓VBAT _ MIN
而關機。 因此,修正處理S120中,根據值SOC2,將值SOC2設為與殘量零(0%)相當者,對值SOC1、CC、CFULL
及SOC-OCV特性中之至少一者進行修正。 以上為實施形態之殘量檢測處理。根據此處說明之殘量檢測電路200(及殘量檢測方法),考慮上述之時常變化之電壓降VDROP
,於實際之電池電壓VBAT
降低至最低動作電壓VBAT _ MIN
時,即,於系統關機時,可以使SOC成為零之方式而修正基於庫侖計法之殘量檢測處理。藉此可改善SOC之檢測精度。 再者,不可將實施形態之殘量檢測方法與基於電壓法之SOC混為一談。於本實施形態中,於利用SOC-OCV特性之方面與電壓法共通,但測定OCV之處理並非必要,因此並無需等待弛豫時間之經過。 本發明係涉及可作為圖3之方塊圖、圖5之流程圖而把握、或可根據上述說明而引出之各種裝置、電路、系統、方法者,而並非限定於特定之構成或方法。以下,對更具體之構成或方法進行說明,並非為了縮小本發明之範圍,而是為了有助於理解發明之本質或電路動作,且為使其等明確化。 繼而,對圖5之流程圖之修正處理S120進行說明。於修正處理中,如以下說明般存在各種方法。 (第1修正方法) 圖7係示意性地表示第1修正方法之圖。庫侖計容量值CCFULL
被修正為藉由式(2)所得之新的值CCFULL
'。 CCFULL
'=CCFULL
×(100-SOC2)/100…(2) 亦即,以使SOC2成為殘量零(SOC=0%)之方式換算CCFULL
。將K=(100-SOC2)/100稱為換算因子時,可將式(2)改寫為式(2')。 CCFULL
'=CCFULL
×K…(2') 又,庫侖計值CC被修正為藉由式(3)所得之新的值CC'。 CC'=CC-(CCFULL
-CCFULL
') =CC-CCFULL
×SOC2/100…(3) 亦即,CC亦減少掉藉由對CCFULL
修正而減少之量ΔCC(=CCFULL
-CCFULL
')。 修正後之庫侖計值CC'被寫入至圖3之庫侖計電路202內部之儲存庫侖計值CC之暫存器中。又,庫侖計容量值CCFULL
'被置換為圖3之SOC運算部206保持之庫侖計容量值CCFULL
。 亦可將庫侖計值CC修正為藉由式(4)所得之新的值CC'。 CC'=CC-CCFULL
×SOC2/100…(4) 再者,式(3)與式(4)等效。 若對CC及CCFULL
進行修正,則於其後,SOC運算部206生成之SOC1'由下式表示。 SOC1'=(CCFULL
'-CC')/CCFULL
'×100 ={(CCFULL
-CCFULL
×SOC2/100)-(CC-CCFULL
×SOC2/100)}/{CCFULL
×K}×100 =(CCFULL
-CC)/CCFULL
×100×1/K 此處(CCFULL
-CC)/CCFULL
×100相當於式(1)之SOC1,故修正後之SOC'由式(5)表示。 SOC'=SOC1×1/K =SOC1×100/(100-SOC2)…(5) 第1修正方法中,以1次修正對庫侖計值CC及庫侖計容量值CCFULL
進行修正,其後,將修正後之庫侖計值CC'作為初始值而對充放電電流IBAT
進行累計。亦即,於反映出修正之狀態下藉由庫侖計法進行SOC檢測。亦即,並非必須針對SOC運算部206之SOC1之每一次運算進行修正電路208之修正。 (第2修正方法) 第2修正方法與第1修正方法實質上相同,但並不進行值CC及CCFULL
之修正,將根據式(5)計算出之值SOC'作為修正後之經改善之SOC。第2修正方法可於每當SOC運算部206計算SOC1時進行修正處理之情形時使用。 (第3修正方法) 於第3修正方法中,根據式(2)而修正CCFULL
,另一方面不修正庫侖計值CC。 該情形時,將藉由式(6)所得之新的值SOC'用作修正後之SOC。 SOC'=(CCFULL
'-CC)/CCFULL
'×100 =(CCFULL
×K-CC)/(CCFULL
×K)×100 =(CCFULL
-CC×1/K)/CCFULL
×100 ={CCFULL
-CC×100/(100-SOC2)}/CCFULL
×100…(6) (第4修正方法) 第4修正方法中,亦可不修正庫侖計容量值CCFULL
,而是將庫侖計值CC修正為藉由式(7)所得之新的值CC'。 CC'=CC×100/(100-SOC2)…(7) 第4修正方法與第3修正方法同樣地給予SOC',故可謂等效。 (第5修正方法) 第5修正方法中,根據式(2)而修正庫侖計容量值CCFULL
。又,將庫侖計值CC修正為藉由式(8)所得之新的值CC'。亦即,將CCFULL
與CC以相同之換算因子K進行換算。 CC'=CC×(100-SOC2)/100 =CC×K…(8) 第5修正方法中,剛修正後之SOC成為 SOC'=(CCFULL
'-CC)/CCFULL
'×100 =(CCFULL
×K-CC×K)/(CCFULL
×K)×100 =(CCFULL
-CC)/CCFULL
×100 =SOC1, 其維持與即將修正前相同之值。其中,庫侖計值CC與庫侖計容量值CCFULL
被修正,故其後,計數器進而計算出之SOC1成為反映修正者。於SOC之不連續並不佳之情形時,可採用第5修正方法。 (第6修正方法) 於第1~第5修正方法中,對值CC、CCFULL
、及SOC中之至少一者進行修正。相對於此,於第6修正方法中,對SOC-OCV特性進行修正。更詳細而言,第6修正方法中,以使SOC2成為殘量零(0%)之方式對SOC-OCV特性進行修正。例如,亦可使修正前之SOC(%)與修正後之SOC'(%)滿足下式(9)。 SOC'=100-(100-SOC)×1/K =100-(100-SOC)×100/(100-SOC2)…(9) 圖8及圖9係表示SOC-OCV特性之修正之一例之圖。 再者,第6修正方法並未限定於此,亦可採用與式(9)不同之運算式。或者,可代替修正SOC之值而對與各SOC對應之OCV之值進行修正,亦可對兩者進行修正。SOC-OCV特性之修正可能存在與上述第1~第5修正方法相當之變化。 以上,對修正方法之變化進行了說明。同業人士當應理解,除第1~第6修正方法之外,亦存在各種修正方法,且其等皆含於本發明之範圍內。 又,應採用何種修正方法,根據電池管理系統100之用途而選擇即可。 例如,於第1、第2修正方法中,於K<1之情形時,SOC值會因修正而變大。相反的,於第3、第4修正方法中,於K<1之情形時,SOC值會因修正而變小。第5修正方法中,於修正之前後維持SOC值。 K<1表示絕對之殘量降低。另一方面,SOC表示相對殘量。自相對殘量之觀點而言,第1、第2修正方法可謂正確。然而亦有如下之情形,即,較多之使用者並未間隔地將由%表示之SOC認作是相對殘量,而認作是絕對殘量。該情形時,亦有人會對於儘管殘量減少(亦即剩餘之可使用時間減少)但SOC(%)卻增加的情形而感覺到不適應。該情形時,使用第3~第5修正方法即可。 以上,根據實施形態對本發明進行了說明。該實施形態為例示,同業人士當應理解,其等各構成要素或各處理程序之組合得有各種變化例,且如此之變化例亦屬於本發明之範圍。以下,對如此之變化例進行說明。 (第1變化例) SOC-OCV特性亦可將較系統之最低動作電壓為低之OCV之範圍與負的SOC建立對應。圖10係表示第1變化例之SOC-OCV特性之一例之圖。於截至目前之說明中,對電池之有效之殘量(絕對值)減少之情形進行了說明,但若電壓降VDROP
成為負數,則相反地殘量會增加。藉由導入負的SOC值,無需追加其他特別之處理即可因應有效之殘量增加之情況。圖11係表示使用圖10之SOC-OCV特性時之修正處理之圖。 (第2變化例) 於圖5之流程圖之處理S116中,於生成OCV2時,使用計算式 OCV2=VBAT _ MIN
+ΔV…(10) 如圖2所示,OCV與VBAT
之差分VDROP
依存於SOC。因此,於處理S116中,若使用ΔV=VDROP1
,則SOC1與SOC2之差較大時之誤差變大。 因此,於該第2變化例中,考慮到電壓降VDROP
之SOC依存性。具體而言,將電壓降VDROP
之SOC依存性作為查找表或運算式而規定。圖12係表示電壓降VDROP
之SOC依存性之查找表。該表係表示複數個SOC中之電壓降之相對比率,例如以特定之基準SOC(此處為100%)之電壓降為基準,以比率(Voltage Drop Ratio:記作VDR)表示各SOC下之電壓降。 VDR(x)=VDROP
(x)/VDROP
(100) 因此,於某SOC(=x1
)下之電壓降為VDROP1
時,另一SOC(=x2
)下之電壓降VDROP2
可根據下式而計算。 VDROP2
=VDROP1
×VDR(x2
)/VDR(x1
) 圖13係第2變化例之殘量檢測之流程圖。該流程圖中,於圖5之流程圖之處理S116之前,追加ΔV計算例行程序S115。圖14係表示ΔV計算例行程序S115之流程圖。 首先,根據電壓降VDROP1
及最低動作電壓VBAT _ MIN
,計算於電池電壓VBAT
之測定值VBAT1
達到最低動作電壓VBAT _ MIN
時之OCV之暫定值OCV3(S130)。 OCV3=VBAT _ MIN
+VDROP1
然後,根據SOC-OCV特性而自暫定值OCV3逆轉換為與其對應之SOC之值SOC3(S132)。 繼而,根據圖12之查找表,取得SOC1、SOC3下之VDR之值VDR1、VDR3(S134)。然後,根據 ΔV=VDROP1
×VDR3/VDR1 而計算ΔV(S136)。利用如此般獲得之ΔV,於圖13之處理S116中計算OCV2。 圖15係表示第2變化例之殘量檢測中之SOC之推斷結果之圖。其表示將電池以固定負載(0.35 C)放電時之SOC之推斷值。(i)為理想之SOC,且於固定負載時成為直線。(ii)表示基於圖5之流程圖之SOC之推斷值,(iii)表示基於第2變化例之流程圖之SOC之推斷值。又,於圖15中表示各SOC推斷值與理想SOC之誤差。由圖15可知,根據第2變化例,藉由考慮電壓降VDROP
之SOC依存性而可減小誤差,且可提高推斷精度。 (第3變化例) 於第2變化例中,使用查找表修正電壓降VDROP
之SOC依存性,但亦可利用如下之運算式而使其近似。 VDR(SOC)=10^α*ln(log10
(β*SOC))+θ α、β、θ為劣化、溫度係數 (第4變化例) 第4變化例係使第2變化例之精度進一步提高者。於第4變化例中,進而考慮VDR之溫度依存性。圖16係表示擴展之VDR查找表之圖。如圖16所示,VDR查找錶針對若干之每一溫度而設置。於執行圖14之例行程序時,測定溫度,並根據與溫度相應之查找表而取得VDR之值。圖17係表示第4變化例之殘量檢測中之SOC之推斷結果之圖。根據第4變化例,藉由考慮電壓降VDROP
之溫度依存性而可進一步減小誤差,且可提高推斷精度。 於第4變化例中,亦可利用運算式使每一溫度之VDR表近似。 (第5變化例) 若一直進行修正處理,則修正電路208之運算量增加,且消耗電力增加。因此,修正處理亦可於電池102之電壓VBAT
較特定之電壓值VTH
低時成為有效。電壓值VTH
針對每一系統選擇適當之值即可。於較多情形時,使用者對於電池102之殘量(SOC)之關心係於SOC降低時、亦即VBAT
降低時。根據變化例2,於使用者關心之狀況下,藉由使修正處理有效而可請求消耗電力之增加。再者,修正處理亦可於SOC較特定值低時成為有效。 (第6變化例) 修正處理亦可針對每特定之週期而間歇地成為有效。若使修正始終有效,則消耗電力增大。因此,藉由以特定之週期間歇地進行修正處理,從而可抑制伴隨修正產生之消耗電力之增加。 特定之週期亦可較1秒長且較60秒短。藉由於該週期進行修正而可於合理之消耗電力增加之範圍內取得充分之SOC精度改善之效果。於電壓降VDROP
變化之時間尺度較60秒長之用途中,特定之週期可進一步加長。 (第7變化例) 修正處理亦可每當SOC變化特定量(n%,n為任意之實數)之時成為有效。根據該變化例,可抑制伴隨修正產生之消耗電力之增加。 (第8變化例) 於實施形態中,設置有對電池502之電壓VBAT
進行監控之專用之電壓檢測電路204,但本發明並未限定於此。於電池管理系統100中,當已存在檢測電池電壓VBAT
之電路之情形時,只要使用該電路所檢測之電池電壓之值VBAT1
即可。又,電池電壓VBAT
亦可監控電池102之正極(+)之電壓,但並未限於此,還可監控其他節點(線路)之電壓。例如,於電池102與負載108之間設置有負載開關之系統中,亦可監控較負載開關更靠負載108側之節點(線路)之電壓。此於負載開關之電壓降較大之情形時為有效。 (第9變化例) SOC-OCV特性之修正與值CC、CCFULL
、SOC之修正亦可並用。 最後,對電池管理系統100之用途進行說明。圖18係表示具備電池管理系統100之汽車300之圖。汽車300係電動汽車(EV)、插件式油電混合車(PHV,plug-in hybrid vehicle)、油電混合車(HV,hybrid vehicle,electric vehicle)等。反相器302受到來自電池管理系統100之電壓VBAT
,轉換為交流且供給至馬達304,使馬達304旋轉。又,於踩刹車之情形等減速時,反相器302執行回充動作,將馬達304產生之電流回收至電池管理系統100之電池102中。於PHV或EV中,除此之外還具備對電池管理系統100之電池102進行充電之充電電路。 圖19係表示具備電池管理系統100之電子機器400之圖。電子機器400除電池管理系統100之外,包含PMIC(電源管理IC)402、處理器404、及其他未圖示之電子電路。PMIC402係合併後之複數個電源電路,對處理器404或其他電子電路供給適當之電源電壓。 除此之外,電池管理系統100可用於產業機器、產業機械、家庭用/工場用之蓄電系統、升降機系統之電源等。 根據實施形態,使用具體之用語說明了本發明,但實施形態僅表示本發明之原理、應用,對於實施形態,於不脫離申請專利範圍所規定之本發明之思想之範圍允許有多種變化例或配置之變更。Hereinafter, the present invention will be described with reference to the drawings in accordance with preferred embodiments. The same or equivalent constituent elements, members, and processes are denoted by the same reference numerals, and the description thereof will be omitted as appropriate. Further, the embodiments are not limited to the inventors, and all the features described in the embodiments or combinations thereof are not necessarily limited to the essentials of the invention. In the present specification, the "state in which the member A and the member B are connected" also includes a case where the member A and the member B are physically directly connected, or a case where the member A and the member B are indirectly connected via other members, and the latter does not The electrical connection state or the like causes substantial influence or does not impair the function or effect exerted by the combination thereof. Similarly, the phrase "the state in which the member C is disposed between the member A and the member B" includes, in addition to the case where the member A and the member C are directly connected to the member C, and the indirect connection via the other members. The latter case does not substantially affect the electrical connection state of the device, or does not impair the function or effect exerted by the combination thereof. Further, in the present specification, the voltage signal, the current signal, or the symbol indicated by the resistor indicates the voltage value, the current value, or the resistance value of each of them as needed. 3 is a block diagram of a battery management system 100 having a residual amount detecting circuit of an embodiment. The battery management system 100 includes a battery 102, a charging circuit 104, a load 108, and a residual amount detecting circuit 200. Battery 102 contains one or more cells. The type of the battery cell is not particularly limited, and examples thereof include a lithium ion battery core, a lithium air battery core, a lithium metal based battery core, a nickel hydride battery core, a nickel cadmium battery core, and a nickel zinc battery core. The number of cells depends on the use of the battery management system 100, but in the case of a portable electronic device, it is one cell to several cells, and is tens to several in the use of a vehicle battery, an industrial machine, or an industrial machine. A hundred batteries around. The configuration of the battery 102 is not particularly limited as the use of the present invention. The battery voltage V BAT from the battery 102 is supplied to the load 108. The type of the load 108 is not particularly limited. For example, when the battery management system 100 is mounted on an electronic device, the load 108 may include a power supply circuit that boosts or steps down the battery voltage V BAT to generate the power supply voltage V DD or various electronic circuits that are operated by the power supply voltage V DD . . When the battery management system 100 is mounted on an automobile or an industrial machine, the load 108 may include a motor and an inverter that converts the battery voltage V BAT into an alternating current and drives the motor. The charging circuit 104 receives the power supply voltage V EXT from an external power adapter or a USB (Universal Serial Bus) or a charging station to charge the battery 102. The residual amount detecting circuit 200 detects the state of charge (SOC) of the battery 102. In the present specification, the SOC is described as being easy to understand, and the SOC is set to a minimum value of 0 and a maximum value of 100 (%). However, the present invention is not limited thereto. For example, when the SOC is represented by 10 bits, in the process of digital signal processing, please note that the SOC is represented by 1024 gray scales of 0 to 1023. The residual amount detecting circuit 200 includes a coulomb counter circuit 202, a voltage detecting circuit 204, an SOC calculating unit 206, a correcting circuit 208, and a lookup table 210. The coulomb counter circuit 202 generates a coulomb count CC by accumulating the charge and discharge current (I BAT ) of the battery 102. The coulomb count CC is expressed by the following formula. The CC=∫I BAT dt coulomb counter circuit 202 samples the battery current I BAT at a particular sampling period Δt. The coulomb count CC is calculated using the battery current I BATi at each sampling time using the following equation. CC = Σ i = 1 (Δt × I BATi) the accumulated (integrated), for example, based on the direction of the current flowing from the battery 102 I BAT is positive, and the direction of the current flowing into the battery 502 to the I BAT Negative. The method of detecting the current I BAT is not particularly limited. For example, the sense resistor R S can be inserted in series with the battery 102 into the path of the current I BAT to detect the voltage drop of the sense resistor R S . The sense resistor R S can be inserted into the positive side of the battery 102 or inserted on the negative side. The coulomb counter circuit 202 can also include an A/D converter that samples the voltage drop V CS of the sense resistor R S (or a voltage that amplifies the voltage drop V CS ) and the output data of the A/D converter. Cumulative accumulator. The voltage detecting circuit 204 monitors the voltage V BAT of the battery 102 and generates data (voltage data) DV BAT indicating the battery voltage V BAT1 . The voltage detecting circuit 204 may also include an A/D converter that samples the battery voltage V BAT or samples and digitizes the voltage whose specific coefficient is multiplied. The SOC calculation unit 206 receives the coulomb count CC from the coulomb counter circuit 202. The SOC calculation unit 206 calculates the value SOC1 of the SOC based on the equation (1). SOC1=(CC FULL -CC)/CC FULL ×100 (1) where CC FULL is equivalent to the coulometric capacity value of the full charge. The correction circuit 208 supplies the value SOC1 and the voltage data DV BAT . The correction circuit 208 corrects at least one of the values SOC1, CC, C FULL, and SOC-OCV characteristics based on the values. Hereinafter, the correction processing of the correction circuit 208 will be described. The correspondence relationship between the SOC and the OCV (Open Circuit Voltage) (SOC-OCV characteristic) is measured in advance for the battery 102. Fig. 4 is a view showing an example of SOC-OCV characteristics. The SOC-OCV characteristics are stored, for example, in the lookup table 210 of FIG. The intermediate value that is not stored in the lookup table 210 can be generated by an arithmetic means such as linear interpolation. Alternatively, the correction circuit 208 can also maintain the SOC-OCV characteristics in the form of an arithmetic expression (eg, a polynomial). The correction circuit 208 generates the value OCV1 of the OCV corresponding to the value SOC1 based on the SOC-OCV characteristic. Then, the difference V DROP1 between the generated value OCV1 and the battery voltage V BAT1 detected by the voltage detecting circuit 204 is generated . V DROP1 = OCV1-V BAT1 sets the lowest operating voltage of the system containing load 508 to V BAT _ MIN . Correction circuit 208 generates a relatively low operating voltage V BAT _ MIN V DROP1 comparing the differential value of the amplitude of the voltage ΔV corresponding OCV2 of. OCV2=V BAT _ MIN +ΔV When ΔV=V DROP1 , OCV2=V BAT _ MIN +V DROP1 or, when ΔV=V DROP1 ×α (α is constant), OCV2=V BAT _ MIN +V DROP1 ×α or ΔV=V DROP1 +β (β is a constant), OCV2=V BAT _ MIN +V DROP1 +β or , can also be set to OCV2=V BAT _ MIN +α×V More generally, DROP1 + β can also define a specific function f() and calculate the voltage amplitude ΔV from ΔV = f(V DROP1 ). The correction circuit 208 generates a value SOC2 of the SOC corresponding to the value OCV2 based on the SOC-OCV characteristic. Then, the correction circuit 208 sets the value SOC2 to be equal to zero (0%) of the residual value of the battery 102, and corrects at least one of the values SOC1, CC, C FULL, and SOC-OCV characteristics. The coulomb counter circuit 202 and the voltage detecting circuit 204 may be packaged only by a hard body or may be integrated into a single IC. The SOC calculation unit 206, the correction circuit 208, and the lookup table 210 may be packaged by a processor capable of software control such as a microcomputer. Alternatively, the residual amount detecting circuit 200 may be integrally formed into a single wafer. The SOC generated by the residual amount detecting circuit 200 can be displayed on the display device as a number or as an icon indicating the residual amount, or used as a reminder. The above is the configuration of the residual amount detecting circuit 200 of the embodiment. Then the action will be explained. Fig. 5 is a flow chart showing the residual amount detection in the embodiment. For example, processing starts from a fully charged state. In addition, the flowchart is not limited to the order of each process (step), and the order of each process can be arbitrarily changed as long as the process is not broken. Further, this flowchart does not indicate that the frequency (frequency, period) at which each process is executed is the same. The coulomb counter circuit 202 calculates the coulomb count CC (S100). The SOC calculation unit 206 calculates the value SOC1 based on the equation (1) using the coulomb calculation value CC (S102). For example, the coulomb counter circuit 202 updates the coulomb count CC at a period of several tens to several hundreds Hz, and the SOC calculation unit 206 may calculate the SOC 1 at a lower frequency, for example, a period of about 1 second to 60 seconds. The voltage detecting circuit 204 measures V BAT (S104). The voltage detection circuit 204 can also measure the battery voltage V BAT at a higher frequency (e.g., the same frequency as the coulomb circuit 202) when the increase in power consumption is not a problem. Then, the correction processing S110 is performed. The correction process S110 can be performed for each operation of the SOC1, or can be performed at a lower cycle. Fig. 6 is a view showing a correction process S110 using the relationship between voltage and SOC. Each value is generated in the order of the numbers (i) to (v) indicated above. The correction circuit 208 converts from SOC1 to OCV1 in accordance with the SOC-OCV characteristic (S112). Then, the voltage drop V DROP1 is calculated (S114). Then, based on the voltage drop V DROP1 and the minimum operating voltage V BAT — MIN , the value OCV2 of the OCV when the measured value V BAT1 of the battery voltage V BAT reaches the minimum operating voltage V BAT — MIN is estimated (S116). Then, the value OCV2 is inversely converted from the value SOCV2 to the value SOC2 of the SOC corresponding thereto according to the SOC-OCV characteristic (S118). The value SOC2 represents the SOC that the system can shut down. In other words, when the SOC1 calculated by the SOC calculation unit 206 is lowered to the value SOC2, the battery voltage V BAT may be lowered to the lowest operating voltage V BAT — MIN and shut down. Thus, the correction processing in S120 according to the value of SOC2, value SOC2 is set and the remaining amount of zero (0%) were quite, value SOC1, CC, C FULL and SOC-OCV characteristics of at least one correction. The above is the residual amount detection processing of the embodiment. According to the residual amount detecting circuit 200 (and the residual amount detecting method) described herein, considering the above-mentioned constantly changing voltage drop V DROP , when the actual battery voltage V BAT is lowered to the lowest operating voltage V BAT _ MIN , that is, When the system is shut down, the residual detection processing based on the coulomb method can be corrected by changing the SOC to zero. Thereby, the detection accuracy of the SOC can be improved. Furthermore, the method of detecting the residual amount of the embodiment cannot be confused with the SOC based on the voltage method. In the present embodiment, the SOC-OCV characteristic is common to the voltage method, but the measurement of the OCV is not necessary, and therefore there is no need to wait for the relaxation time to pass. The present invention relates to various devices, circuits, systems, and methods that can be grasped as the block diagram of FIG. 3 and the flowchart of FIG. 5, or can be derived from the above description, and is not limited to a specific configuration or method. In the following, a more specific configuration or method will be described, and it is not intended to limit the scope of the present invention, but to facilitate understanding of the nature of the invention or the operation of the circuit, and to clarify the details. Next, the correction processing S120 of the flowchart of FIG. 5 will be described. In the correction process, various methods exist as described below. (First Correction Method) FIG. 7 is a view schematically showing a first correction method. The coulomb count capacity value CC FULL is corrected to the new value CC FULL ' obtained by equation (2). CC FULL '=CC FULL ×(100-SOC2)/100 (2) That is, CC FULL is converted so that SOC2 becomes zero (SOC = 0%). When K=(100-SOC2)/100 is referred to as a conversion factor, the equation (2) can be rewritten as the equation (2'). CC FULL '=CC FULL ×K...(2') Further, the coulomb count CC is corrected to the new value CC' obtained by the equation (3). CC '= CC- (CC FULL -CC FULL') = CC-CC FULL × SOC2 / 100 ... (3) i.e., CC out is also reduced by the correction of the CC FULL reduce the amount ΔCC (= CC FULL -CC FULL '). The corrected coulomb count CC' is written into the scratchpad of the stored coulomb count CC inside the coulomb counter circuit 202 of FIG. Further, the coulomb counter capacity value CC FULL ' is replaced with the coulomb counter capacity value CC FULL held by the SOC calculation unit 206 of Fig. 3 . The coulomb count CC can also be corrected to the new value CC' obtained by equation (4). CC'=CC-CC FULL × SOC2/100 (4) Further, the equation (3) is equivalent to the equation (4). When CC and CC FULL are corrected, the SOC1' generated by the SOC calculation unit 206 is represented by the following equation. SOC1 '= (CC FULL' -CC ') / CC FULL' × 100 = {(CC FULL -CC FULL × SOC2 / 100) - (CC-CC FULL × SOC2 / 100)} / {CC FULL × K} × 100 =(CC FULL -CC)/CC FULL ×100×1/K Here (CC FULL -CC)/CC FULL ×100 is equivalent to SOC1 of equation (1), so the corrected SOC' is given by equation (5) Said. SOC'=SOC1×1/K=SOC1×100/(100-SOC2) (5) In the first correction method, the coulomb count CC and the coulomb capacity value CC FULL are corrected by one correction, and thereafter, The corrected charge and discharge current I BAT is accumulated by using the corrected coulomb count CC' as an initial value. That is, the SOC detection is performed by the coulomb method in a state in which the correction is reflected. That is, it is not necessary to correct the correction circuit 208 for each calculation of the SOC 1 of the SOC calculation unit 206. (Second correction method) The second correction method is substantially the same as the first correction method. However, the correction of the values CC and CC FULL is not performed, and the value SOC' calculated according to the equation (5) is corrected as the correction. SOC. The second correction method can be used when the correction processing is performed every time the SOC calculation unit 206 calculates SOC1. (Third Correction Method) In the third correction method, CC FULL is corrected according to the equation (2), and the coulomb calculation CC is not corrected. In this case, the new value SOC' obtained by the equation (6) is used as the corrected SOC. SOC'=(CC FULL '-CC)/CC FULL '×100 =(CC FULL ×K-CC)/(CC FULL ×K)×100 =(CC FULL -CC×1/K)/CC FULL ×100 ={CC FULL -CC×100/(100-SOC2)}/CC FULL ×100 (6) (Fourth correction method) In the fourth correction method, the Coulomb capacity value CC FULL may not be corrected, but Coulomb may be used. The value CC is corrected to the new value CC' obtained by the equation (7). CC'=CC×100/(100-SOC2) (7) The fourth correction method gives SOC' in the same manner as the third correction method, so it is equivalent. (Fifth Correction Method) In the fifth correction method, the coulomb counter capacity value CC FULL is corrected based on the equation (2). Further, the coulomb count CC is corrected to the new value CC' obtained by the equation (8). That is, CC FULL and CC are converted by the same conversion factor K. CC'=CC×(100-SOC2)/100=CC×K (8) In the fifth correction method, the SOC immediately after correction becomes SOC'=(CC FULL '-CC)/CC FULL '×100 =( CC FULL × K - CC × K) / (CC FULL × K) × 100 = (CC FULL - CC) / CC FULL × 100 = SOC1, which maintains the same value as before the correction. Among them, the coulomb count CC and the coulomb count capacity value CC FULL are corrected, and then the counter further calculates the SOC1 to reflect the corrector. In the case where the discontinuity of the SOC is not good, the fifth correction method can be employed. (Sixth Correction Method) In the first to fifth correction methods, at least one of the values CC, CC FULL , and SOC is corrected. On the other hand, in the sixth correction method, the SOC-OCV characteristic is corrected. More specifically, in the sixth correction method, the SOC-OCV characteristic is corrected so that SOC2 becomes zero (0%). For example, the SOC (%) before correction and the corrected SOC' (%) may be satisfied as the following equation (9). SOC'=100-(100-SOC)×1/K=100-(100-SOC)×100/(100-SOC2) (9) FIGS. 8 and 9 show an example of correction of SOC-OCV characteristics. Figure. Further, the sixth correction method is not limited to this, and an arithmetic expression different from the equation (9) may be employed. Alternatively, instead of correcting the value of the SOC, the value of the OCV corresponding to each SOC may be corrected, or both may be corrected. The correction of the SOC-OCV characteristic may have a change corresponding to the first to fifth correction methods described above. The changes in the correction method have been described above. It should be understood by those skilled in the art that in addition to the first to sixth correction methods, various correction methods exist and are included in the scope of the present invention. Further, what kind of correction method should be adopted and it is selected according to the use of the battery management system 100. For example, in the first and second correction methods, when K < 1, the SOC value becomes larger due to the correction. On the contrary, in the third and fourth correction methods, when K < 1, the SOC value becomes small due to the correction. In the fifth correction method, the SOC value is maintained before and after the correction. K < 1 indicates that the absolute residual amount is lowered. On the other hand, SOC represents relative residual. The first and second correction methods are correct from the viewpoint of relative residual amount. However, there are cases where a larger number of users do not recognize the SOC indicated by % as a relative residual amount and consider it to be an absolute residual amount. In this case, some people may feel uncomfortable in the case where the residual amount is reduced (that is, the remaining usable time is reduced) but the SOC (%) is increased. In this case, the third to fifth correction methods may be used. The present invention has been described above based on the embodiments. The embodiment is exemplified, and it should be understood by those skilled in the art that various combinations of constituent elements or processing procedures are variously modified, and such variations are also within the scope of the invention. Hereinafter, such a variation will be described. (First Modification) The SOC-OCV characteristic can also associate a range of OCV lower than the lowest operating voltage of the system with a negative SOC. Fig. 10 is a view showing an example of the SOC-OCV characteristics of the first modification. In the description so far, the case where the effective residual amount (absolute value) of the battery is reduced has been described. However, if the voltage drop V DROP becomes a negative number, the residual amount will increase. By introducing a negative SOC value, it is possible to respond to an increase in the amount of residuals without additional special processing. Fig. 11 is a view showing a correction process when the SOC-OCV characteristic of Fig. 10 is used. (Second Modification) In the processing S116 of the flowchart of Fig. 5, when generating OCV2, the calculation formula OCV2 = V BAT _ MIN + ΔV (10) is used, as shown in Fig. 2, the difference V between OCV and V BAT DROP depends on the SOC. Therefore, in the processing S116, when ΔV=V DROP1 is used, the error when the difference between SOC1 and SOC2 is large is large. Therefore, in the second variation, the SOC dependency of the voltage drop V DROP is considered. Specifically, the SOC dependency of the voltage drop V DROP is defined as a lookup table or an arithmetic expression. Figure 12 is a look-up table showing the SOC dependence of the voltage drop V DROP . The table indicates the relative ratio of voltage drops in a plurality of SOCs, for example, based on a voltage drop of a specific reference SOC (here, 100%), and a ratio (Voltage Drop Ratio: VDR) indicates each SOC. Voltage drop. VDR(x)=V DROP (x)/V DROP (100) Therefore, when the voltage drop under a certain SOC (=x 1 ) is V DROP1 , the voltage drop V DROP2 under another SOC (=x 2 ) can Calculated according to the following formula. V DROP2 = V DROP1 × VDR(x 2 ) / VDR(x 1 ) FIG. 13 is a flowchart of the residual amount detection in the second variation. In the flowchart, the ΔV calculation routine S115 is added before the process S116 of the flowchart of FIG. Fig. 14 is a flowchart showing the ΔV calculation routine S115. First, based on the voltage drop V DROP1 and the minimum operating voltage V BAT — MIN , the tentative value OCV3 of the OCV when the measured value V BAT1 of the battery voltage V BAT reaches the minimum operating voltage V BAT — MIN is calculated (S130). OCV3 = V BAT _ MIN + V DROP1 Then, the temporary value OCV3 is inversely converted from the provisional value OCV3 to the value SOC3 of the SOC corresponding thereto according to the SOC-OCV characteristic (S132). Then, based on the lookup table of Fig. 12, the VDR values VDR1 and VDR3 at SOC1 and SOC3 are obtained (S134). Then, ΔV is calculated based on ΔV = V DROP1 × VDR3 / VDR1 (S136). Using the ΔV thus obtained, OCV2 is calculated in the process S116 of FIG. Fig. 15 is a view showing the estimation result of the SOC in the residual amount detection in the second modification. It represents an inferred value of the SOC when the battery is discharged at a fixed load (0.35 C). (i) is an ideal SOC and becomes a straight line at a fixed load. (ii) shows an estimated value of the SOC based on the flowchart of FIG. 5, and (iii) shows an estimated value of the SOC based on the flowchart of the second variation. Further, the error between each SOC estimated value and the ideal SOC is shown in FIG. As can be seen from Fig. 15, according to the second variation, the error can be reduced by considering the SOC dependency of the voltage drop V DROP , and the estimation accuracy can be improved. (Third Modification) In the second variation, the SOC dependency of the voltage drop V DROP is corrected using a lookup table, but it may be approximated by the following expression. VDR(SOC)=10^α*ln(log 10 (β*SOC))+θ α, β, θ are deterioration and temperature coefficient (fourth variation example) The fourth variation is to further improve the accuracy of the second modification. Improver. In the fourth variation, the temperature dependence of the VDR is further considered. Figure 16 is a diagram showing an expanded VDR lookup table. As shown in Figure 16, the VDR lookup table is set for each of a number of temperatures. When the routine of Fig. 14 is executed, the temperature is measured, and the value of VDR is obtained based on the lookup table corresponding to the temperature. Fig. 17 is a view showing the estimation result of the SOC in the residual amount detection in the fourth modification. According to the fourth variation, the error can be further reduced by considering the temperature dependency of the voltage drop V DROP , and the estimation accuracy can be improved. In the fourth variation, the VDR table for each temperature can also be approximated by an arithmetic expression. (Fifth Modification) When the correction processing is performed all the time, the calculation amount of the correction circuit 208 increases, and the power consumption increases. Therefore, the correction process can also be effective when the voltage V BAT of the battery 102 is lower than the specific voltage value V TH . The voltage value V TH is selected for each system with an appropriate value. In many cases, the user's concern about the residual amount (SOC) of the battery 102 is when the SOC is lowered, that is, when the V BAT is lowered. According to the second modification, the increase in the power consumption can be requested by making the correction processing effective in the case of the user's concern. Furthermore, the correction process can also be effective when the SOC is lower than a specific value. (Sixth Modification) The correction processing may be intermittently effective for each specific cycle. If the correction is always valid, the power consumption increases. Therefore, by performing the correction processing intermittently at a specific cycle, it is possible to suppress an increase in power consumption caused by the correction. The specific period can also be longer than 1 second and shorter than 60 seconds. By correcting this cycle, it is possible to obtain an effect of improving the SOC accuracy within a range of reasonable power consumption increase. In applications where the time scale of the voltage drop V DROP changes is longer than 60 seconds, the particular period can be further lengthened. (Seventh Modification) The correction processing may be effective every time the SOC changes by a specific amount (n%, n is an arbitrary real number). According to this modification, it is possible to suppress an increase in power consumption caused by the correction. (Eighth Modification) In the embodiment, a dedicated voltage detecting circuit 204 for monitoring the voltage V BAT of the battery 502 is provided. However, the present invention is not limited thereto. In the battery management system 100, when the circuit for detecting the battery voltage V BAT already exists, the value of the battery voltage V BAT1 detected by the circuit can be used. Further, the battery voltage V BAT can also monitor the voltage of the positive electrode (+) of the battery 102, but is not limited thereto, and can monitor the voltages of other nodes (lines). For example, in a system in which a load switch is provided between the battery 102 and the load 108, the voltage of the node (line) on the load 108 side of the load switch can also be monitored. This is effective when the voltage drop of the load switch is large. (Variation 9) The correction of the SOC-OCV characteristics and the correction of the values CC, CC FULL , and SOC can also be used in combination. Finally, the use of the battery management system 100 will be described. FIG. 18 is a view showing a car 300 including the battery management system 100. Automobile 300 series electric vehicle (EV), plug-in hybrid vehicle (PHV), hybrid vehicle (HV), and the like. The inverter 302 is subjected to a voltage V BAT from the battery management system 100, converted to an alternating current, and supplied to the motor 304 to rotate the motor 304. Further, when decelerating in the case of braking, the inverter 302 performs a recharging operation to recover the current generated by the motor 304 into the battery 102 of the battery management system 100. In addition to the PHV or EV, a charging circuit for charging the battery 102 of the battery management system 100 is provided. FIG. 19 is a diagram showing an electronic device 400 including a battery management system 100. The electronic device 400 includes a PMIC (Power Management IC) 402, a processor 404, and other electronic circuits (not shown) in addition to the battery management system 100. The PMIC 402 is a combined plurality of power supply circuits that supply a suitable supply voltage to the processor 404 or other electronic circuitry. In addition, the battery management system 100 can be used for an industrial machine, an industrial machine, a power storage system for a home/workshop, a power supply for an elevator system, and the like. The present invention has been described with reference to the specific embodiments of the present invention. However, the embodiments of the present invention are intended to be limited to the scope of the present invention. Configuration changes.