TWI295522B - Battery capacity monitoring and displaying system - Google Patents

Battery capacity monitoring and displaying system Download PDF

Info

Publication number
TWI295522B
TWI295522B TW095104440A TW95104440A TWI295522B TW I295522 B TWI295522 B TW I295522B TW 095104440 A TW095104440 A TW 095104440A TW 95104440 A TW95104440 A TW 95104440A TW I295522 B TWI295522 B TW I295522B
Authority
TW
Taiwan
Prior art keywords
battery
cpu
bright
capacity
rtc
Prior art date
Application number
TW095104440A
Other languages
Chinese (zh)
Other versions
TW200731637A (en
Inventor
Chang Yu Ho
Wen Jin Huang
Original Assignee
Neotec Semiconductor Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neotec Semiconductor Ltd filed Critical Neotec Semiconductor Ltd
Priority to TW095104440A priority Critical patent/TWI295522B/en
Publication of TW200731637A publication Critical patent/TW200731637A/en
Application granted granted Critical
Publication of TWI295522B publication Critical patent/TWI295522B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Description

1295522 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種可充電電池的容量監測系統及容量表 示’特別是指一種以電池管理晶片顯示電池容量。 【先前技術】 電池可說是一切可攜式電子裝置動力來源。舉凡:行 動電話、筆記型電腦、個人數位助理、隨身聽等等,皆有 賴電池提供電力。但畢竟電池只是一種蓄積電量的裝置, 可攜式電子裝置使用時就消耗電池的電能。當耗損至一定 程度而使剩餘的電能不足以驅動該裝置的電路後,一種選 擇,丟掉,另一選擇則是再充電。一般而言,不管以環保 考量,或者以長時間總平均成本思考,可攜式電子裝置多 會採取電池再充電的方式,將原來耗損的電能補充回來。 箱』?雷:供可攜式電子產品使用的時間和該 員了攜式電子裝置的雜功率息息相關,也和電 力有著強烈的關係。 % w电月b 電材:〒 的特性有關。例如早象中的某些元素 鐘電池都發現有不等程度的記Ϊ效應揭錦氫電池或 1295522 4▲A關你曲綠參考圖一放電曲線。如圖示,放雷 電池充電至飽和狀態時與電 I滤騎放⑤鱗,其他伽下曲線是平緩的。 為息息相關的是電池電量快要釋放怠盡時?電 =ΐϊ降。此時’可以放出的電能非常有限,:電ί n 截止放電 (End Qf Diseharge VQltage> ϋ截止放電電壓有兩種即第1種的低電壓腑2,在電 Ϊ壓等於勝時,電池的殘餘電量值可能為完全充ί 寺的%或7%(這個電壓有時也稱為EDV2)。另外,還有另 的參數是零電壓EDV ,稱為_,指的是電池的 為⑽。事實上,可攜式電子裝置的充電電池通常 =«把截止放電電壓設在殘餘電能為〇%處。因為,一來可 ,式電子裝置若包含Pit機存取記鐘時,電池突舰 =,將導致使用者的未儲存#料或設定流失。另一者, ^這個裝置是和屬於病人的醫護產品時,情況更嚴重,因 為那將可能導致病患立刻身陷危險狀態。因此,一個智慧 =電池管理系統應該具備有隨著提供殘餘電量值供使用 者參考的能力,特別是在殘餘電量值可能為完全充電時的 20%、10%時預先警示使用者。特別是至少在EDV2就不再供 電,以免這顆電池就會提早宣告壽終正寢。 /、 另有一點必需注意的是EDV2並非一成不變的,它與使 用的環境溫度、電池老化程度及電池負載電流(可攜式電子 裝置放電電流)等有關。請再參考圖一所示的放電曲線。單 純的設定一固定EDV門檻監控之,而忽略環境溫度及放電 電流專因素對其影響,是得不到正確的EDV2的。 1295522 有鑑於此,本發明提供一種電池容量的監測及ju頁示 巧’將同時考慮環境溫度與電池的放電電流,以ς得更、 準確的電池截止放電電壓。 尺 【發明内容】 一種電池容量監測及其顯示系統,至少包含一 換,輸入端耦合至一電池’用以將該電池的端 電池輸出電流及電池表面電動勢轉換為對應的數位 ϋΓί央處理單元(⑽’唯讀存取記憶體⑽)、隨 ,存取δ己憶體(RAM)及一時脈產生器,提供該cpu運作 脈及產生即時時間中斷信號(RTC)給該cpu,當cpu =BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a capacity monitoring system and capacity representation of a rechargeable battery, particularly to a battery-managed wafer display battery capacity. [Prior Art] The battery can be said to be the power source of all portable electronic devices. Wherever: mobile phones, laptops, personal digital assistants, walkmans, etc., all rely on batteries to provide electricity. But after all, the battery is just a device that accumulates electricity, and the portable electronic device consumes battery power when it is used. After depleting to a certain extent that the remaining electrical energy is insufficient to drive the circuit of the device, one option is to drop and the other is to recharge. In general, whether considering environmental considerations or long-term total average cost, portable electronic devices will use battery recharging to replenish the original depleted energy. box"? Lei: The time spent on portable electronic products is closely related to the power of the portable electronic device, and it has a strong relationship with power. % w electric month b electrical material: related to the characteristics of 〒. For example, some elements in the early image of the clock battery have been found to have an unequal degree of recording effect of the hydrogen battery or 1295522 4 ▲ A off your curve green reference map a discharge curve. As shown in the figure, when the lightning discharge battery is charged to saturation, the electric filter is placed on the scale 5, and the other gamma curves are gentle. What is closely related is when the battery is about to be released. Electricity = ΐϊ drop. At this time, the amount of energy that can be discharged is very limited: electricity ί n cut-off discharge (End Qf Diseharge VQltage> ϋ There are two kinds of cut-off discharge voltages, that is, the first type of low voltage 腑2, when the electric Ϊ pressure is equal to win, the battery remains. The power value may be % or 7% of the fully charged temple (this voltage is sometimes called EDV2). In addition, there is another parameter that is zero voltage EDV, called _, which means that the battery is (10). In fact The rechargeable battery of the portable electronic device usually = «set the cutoff discharge voltage to 残余% of the residual power. Because, if the electronic device contains the Pit machine access clock, the battery breaks = This causes the user to not store the material or set the drain. The other, ^ this device is more serious with the patient's health care products, because it will cause the patient to be immediately in danger. Therefore, a wisdom = The battery management system should have the ability to provide the residual power value for the user's reference, especially when the residual power value may be 20% or 10% of the full charge. The user is warned in advance, especially at least in EDV2. powered by, Free of this battery will declare the end of life early. /, Another point to note is that EDV2 is not static, it is related to the ambient temperature used, battery aging and battery load current (discharge current of portable electronic devices). Please refer to the discharge curve shown in Figure 1. Simply set a fixed EDV threshold to monitor, and ignore the influence of ambient temperature and discharge current on the EDV2. 1295522 In view of this, the present invention Providing a battery capacity monitoring and ju page display 'will consider both the ambient temperature and the battery discharge current to obtain a more accurate battery cut-off discharge voltage. [Explanation] A battery capacity monitoring and display system, at least Including a change, the input end is coupled to a battery 'for converting the end battery output current of the battery and the surface electromotive force of the battery into a corresponding digital processing unit ((10) 'read only access memory (10)), access, access a delta memory (RAM) and a clock generator providing the cpu operation pulse and generating an instant time interrupt signal (RTC) to the cpu, When cpu =

Rtc中斷信號後執行R0M内預設程式,並取得ADc =些數健號進行電池電量的計算,並將結果儲存於 苎體,SMBus界面讀取RAM之記錄之該電池電量 J 免、暗、閃爍數表示電池容量。 ^藉由RTC的硬體中斷,CPU才執行R〇M内預設程 =電,相關資料及其計算,因此,本發明的電池監測 Ιίΐί用最少的cpu資源下,及最省電能的條件得到電 ^的殘餘電量,此外’ led以亮、暗、_數表示電池容 二在只用五顆LED的條件下,獲致以⑽為單 位的解析度。 q干 【實施方式】 如在先前技術所述,電池容量7%的截止放電 (7%-EDV或稱EDV2)既然與電池溫度、持續的放電電流等有After the Rtc interrupt signal, execute the preset program in R0M, and obtain ADc = some number of health numbers to calculate the battery power, and store the result in the body. The SMBus interface reads the RAM record. The battery power J is free, dark, and blinking. The number indicates the battery capacity. ^ With the hardware interrupt of the RTC, the CPU executes the preset process in the R〇M=electricity, related data and its calculation. Therefore, the battery monitoring of the present invention is obtained with the minimum cpu resources and the most energy-saving conditions. The residual power of the electric ^, in addition to 'light's light, dark, _ number indicates that the battery capacity is only 5 LEDs, the resolution is obtained in units of (10). q-Embodiment [Embodiment] As described in the prior art, the discharge capacity of 7% of the battery capacity (7%-EDV or EDV2) is related to the battery temperature, the continuous discharge current, and the like.

1295522 關,那麼就有必要找出一公式,這公式以電池溫度和放 電流為變數,以獲得較精準的EDV2。 里又 依據本發明的方法,EDV2可以依據玫電曲線來押得, 請參考圖一,橫座標為電池容量,而縱座標為整串 的端電壓。整串電池組是指電池由數顆電池串聯。本發明 依據許多的實驗數據歸納出放電曲線滿足以下經驗公^ (二個二元一次方程式): 、…“ (I) EDV2=EMC*(256-(放電電流 /64+QT)*EDV_gain/256)/256 (II) EDV0=EMC*(256-(放電電流/64+1295522 Off, then it is necessary to find a formula that uses battery temperature and discharge current as variables to obtain a more accurate EDV2. According to the method of the present invention, EDV2 can be obtained according to the rose curve. Please refer to Figure 1. The horizontal coordinate is the battery capacity, and the vertical coordinate is the whole terminal voltage. A whole series of battery packs means that the battery is connected in series by several batteries. The present invention concludes that the discharge curve satisfies the following experience based on a number of experimental data (two binary equations): ,... "(I) EDV2=EMC*(256-(discharge current/64+QT)*EDV_gain/256 ) /256 (II) EDV0=EMC*(256-(discharge current/64+

Qt)*EDV一factor/256)/256 其中只有放電電流和QT是和温度有關的變數,請注意 在(I)式的放電電流是以mA而QT是以(III) qt= [480-(T_5)*10]*8/256計算而獲得,此一公式是經驗公 式。僅管如此,在(I)及(II)進行計算時,就不再理會放電 電流和Qt的單位,即當作無單位因次來計算。 而EMC、EDV-factor及則是相關的參數,(丨)式及(ϊ ί) 中有都有一個相同的參數EMC,及各有一不同的參數 EDVjain在(I)式中,而EDV—factor在(II)式,這三個 參數可利用預設的邊界條件而獲得。 邊界條件(1)設定在25°C環境溫度以約50%電池容量、 的放電速率由完整充電至放電至電池管理晶片中的保護電 路關閉放電為止,放電過程中則全程繪出放電曲線。以一 8 1295522 實施例而言,例如筆記型電腦所用的電池,其約由3串的 電池所組成,典型容量為4400mAHr,則放電速率設定在 2200mA的電流下連續放電,電池管理晶片中的保護電路關 閉放電時每,電池約為3V。此時3串電池的總串接端電壓 即視為在25°C下的EDV0。而EDV2則由放電曲線找出(或依 ^積分f法計算出)。另外兩個邊界條件(2)及(3),可分別 設在45°C及5°C環境溫度下,使用相同條件求出。當然, 上述的邊界條件所示之溫度及放電速率僅為說明舉例方便 而已,。因為實務上也可是是在40至50之間的任一溫度及 〇至10 C之間的任一溫度,此外,放電速率也是,只要 可’例如識至之間均可,並非用 發明之範圍。 〜十 5依據上述方法’將5°C、25t^45°C分別以(ΠΙ) 以^個严值㈣^^值’而放電電流則代入上 ϊϋϊ!。錄上述的⑴式及(π試各有_未知數 EDV 有 EMC及EDV_gain。而⑴)式中有 EMC、 可騎得的祕餅放,可,目H而 個邊界條件即可。 口此,、要兩 EDV2 ^ EDV〇 # 條件即可二ΐΪ:: 了 理應只用兩個邊界 當所量得的放電轉偏雜驗公式時 繼姆崎 1295522 當EMC、EDLgain、EDV-factor三個參數,利用上述 邊界條件下的放電曲線取得之後,再利用本發明之電池管 理晶片10便可修正在任意放電電流及溫度下的截止放電 溫度。 本發明的電池容量監測及其顯示系統10架構請參照 圖二,包含一 ADC(類比數位轉換器)15、一 CPU(中央處理 單元)20 ’ 一時脈產生器25,一 ROM(唯讀存取記憶體)3〇、 一 SMBus界面35及LED 40。時脈產生器25提供CPU 20 運作的時脈。依據本發明的方法,時脈產生器25在一預設 的固定時間,就提供一中斷給CPU 20,由於這個中斷是由 時脈產生器25所產生的如圖三所示的脈波信號。這些脈波 信號的周期約為0· 5秒(但不必然是),在脈波信號為低 時’觸發CPU產生中斷(interrupt)的接腳,以產生中斷, 因此稱為RTC(real time clock)中斷,CPU 20在每一次 RTC中斷時輸出入界面將主機(h〇st)之電池相關資料,像 是電池的溫度、目前的負載電流(放電電流)及電池的電壓 值經ADC 15轉換為數位後,由cpu 20讀取,再以内 預存的私式异電池的殘餘電能,計算結果存於暫存器或 :己憶體内。當 SMBus(smart battery management;智慧型 電池管理)_界面35動作時,CPU會依據暫存器的内容g殘 餘電能^示於LED上。主機也可以經由smBus介面35將殘 餘電能讀出。 /曰詳細地說,當電流流過一已知的負載電阻值時,只要 取知負載電阻的跨壓的類比信號,再經過Adc 15的轉換為 數位信號時’ CPU 20只要根據這個數位信號的大小就可得 知負載電流值。而電池的電壓值則由電池的端電壓經脱 1295522 由以得知,再提供給CPU20。而電池的溫度則Qt) *EDV-factor/256)/256 where only the discharge current and QT are temperature-dependent variables, please note that the discharge current in (I) is mA and QT is (III) qt= [480-( Obtained by T_5)*10]*8/256, which is an empirical formula. In this case, when calculating (I) and (II), the unit of discharge current and Qt is ignored, that is, it is calculated as a unitless factor. EMC, EDV-factor and related parameters, (丨) and (ϊ ί) all have the same parameter EMC, and each has a different parameter EDVjain in (I), and EDV-factor In equation (II), these three parameters can be obtained using preset boundary conditions. The boundary condition (1) is set at a temperature of 25 ° C at a discharge rate of about 50% of the battery capacity, from full charge to discharge until the protection circuit in the battery management wafer is turned off, and the discharge curve is drawn throughout the discharge. In the case of an 8 1295522 embodiment, for example, a battery for a notebook computer is composed of three strings of batteries, and a typical capacity is 4400 mAHr, and the discharge rate is set to be continuously discharged at a current of 2200 mA, and the protection in the battery management chip The battery is approximately 3V each time the circuit is turned off. At this time, the total series terminal voltage of the three strings of batteries is regarded as EDV0 at 25 °C. EDV2 is found by the discharge curve (or calculated by the integral f method). The other two boundary conditions (2) and (3) can be obtained at 45 ° C and 5 ° C ambient temperature, respectively, using the same conditions. Of course, the temperature and discharge rate indicated by the above boundary conditions are merely illustrative and convenient. In practice, it can be any temperature between 40 and 50 and any temperature between 10 and 10 C. In addition, the discharge rate is also as long as it can be used, for example, regardless of the scope of the invention. . ~10 5 According to the above method, 5 °C, 25t^45 °C, respectively, (ΠΙ) to ^ a strict value (four) ^ ^ value 'and discharge current is substituted into the upper ϊϋϊ! Record the above formula (1) and (the π test has _ unknown EDV has EMC and EDV_gain. And (1)) has EMC, rideable secret cake, can, H, and the boundary conditions can be. This is the case, and two EDV2 ^ EDV〇# conditions can be used for two:: It is reasonable to use only two boundaries when the measured discharge-biasing formula is followed by Mizaki 1295552 when EMC, EDLgain, EDV-factor III After the parameters are obtained by using the discharge curve under the above boundary conditions, the off-discharge temperature at any discharge current and temperature can be corrected by using the battery management wafer 10 of the present invention. Referring to FIG. 2, the battery capacity monitoring and display system 10 architecture of the present invention includes an ADC (analog digital converter) 15, a CPU (Central Processing Unit) 20', a clock generator 25, and a ROM (read only access). Memory) 3〇, an SMBus interface 35 and LED 40. The clock generator 25 provides the clock for the operation of the CPU 20. In accordance with the method of the present invention, the clock generator 25 provides an interrupt to the CPU 20 at a predetermined fixed time, since this interrupt is a pulse signal as shown in Fig. 3 generated by the clock generator 25. The period of these pulse signals is about 0.5 seconds (but not necessarily). When the pulse signal is low, the CPU triggers an interrupt to generate an interrupt, so it is called RTC (real time clock). Interrupt, the CPU 20 outputs the input interface to the host (h〇st) battery-related data, such as the temperature of the battery, the current load current (discharge current), and the voltage value of the battery through the ADC 15 at each RTC interrupt. After the digits, the cpu 20 reads, and then the residual power of the pre-stored private battery is stored in the register or in the memory. When SMBus (smart battery management)_interface 35 is activated, the CPU will display the residual energy on the LED according to the contents of the scratchpad. The host can also read the residual power via the smBus interface 35. / 曰 In detail, when the current flows through a known load resistance value, as long as the analog signal of the cross-voltage of the load resistor is known, and then converted into a digital signal by the Adc 15 'CPU 20 according to the digital signal The load current value can be known by the size. The voltage value of the battery is obtained from the terminal voltage of the battery by 1295522, and then supplied to the CPU 20. The temperature of the battery is

如小型的熱電偶得到電動勢,電動勢經由 2〇 t給CPU 20,就可以得知電池的溫度。CPU 的電壓健贿卩電池溫度、貞麟流及電池 值、、生ADC 15轉換後的信號)計算電池的殘餘電能。 算單:般^電^容量細乡少毫安削、時⑽阳為計 中斷的時確實監控電池的殘餘電量’每次RTC 述每-欠阶^,加以校正。依據本發明的方法,如上 直1的疋固定長度的’約為0·5秒’但非必然是 “4=即=的=的計算程式在出廠前 120個ϊίί ίΐ ί累積一定數額的RTC中斷後’例如 校正每一 RTC的^用^機的參考時脈’或已知的時鐘’ i哭可 因此’依據本發明的方法,晶體振 ΐ:ίίϊΐΐί,電池殘餘電能可利用庫倫計算法來計 异机進與如電池的電容量。更詳細地說就是: 、隹的容量=電池充滿時的電荷量+電池充電時流 ^電何1-電池放電時流出的電荷量_電池自我放電的電 阻的疋電流對時間的積分,即利用通過電 電宏賴差為紐則視為放電,將放 ^ ^ ^ ;電暫存盗 DC(discharge counter)中,若 ^正值則視為錢,將充電料组於充電暫存器中 下,敕在不考慮電池自我放電的條件 下CC與J)C的差值就疋整體電池的麵容量幫__呢 1295522 capacity ’ RM=CC~DC)。 佳實iS】ί 2電池殘,量,依據本發明之-較 達到m電池容量!^40顯:來表示’顯不的解析度可以 以讓使用者崎下列公式可 «Χ(〇#ΪΓ〇〇Γ^^ : 當LED不是焭就是暗時:容量=(亮的顆數—1)^ 20%+(10%至 20%) 依據以上兩公式以下表格也可以讓使用者很容 出電池的殘餘電量 表格一,當使用5顆LED表示殘餘電量時 表格一,當使用5顆LED表示殘餘電量時If a small thermocouple receives an electromotive force and the electromotive force is given to the CPU 20 via 2 〇 t, the temperature of the battery can be known. The voltage of the CPU, the battery temperature, the unicorn flow and the battery value, and the signal after the ADC 15 conversion) calculate the residual energy of the battery. Arbitrary: General ^ Electric ^ Capacity Fine Township Less amp, time (10) Yang is counted When the interruption is indeed monitoring the residual power of the battery 'Every RTC says each - under the order ^, to correct. According to the method of the present invention, the straight-length fixed length of the above is about 0. 5 seconds, but it is not necessarily the calculation program of "4==== at the factory 120 ϊίίίί ί accumulates a certain amount of RTC interruption Afterwards, for example, the reference clock of each RTC is corrected or the known clock 'is crying. Therefore, according to the method of the present invention, the crystal oscillator: ίίϊΐΐί, the battery residual energy can be calculated by the Coulomb calculation method. Different machines enter the capacity of the battery, etc. In more detail, the capacity of the battery = the amount of charge when the battery is full + the flow when the battery is charged, the amount of charge that is discharged when the battery is discharged, the charge of the battery self-discharge The integration of 疋 current with time, that is, the use of electricity and electrons is considered as a discharge, and will be discharged into the discharge counter. If the positive value is regarded as money, the charge will be charged. The group is in the middle of the charging register, and the difference between CC and J)C is not considered in the condition of self-discharge of the battery. The surface capacity of the whole battery is __? 1295822 capacity ' RM=CC~DC). iS] ί 2 battery residual, amount, according to the invention - more than m battery Quantity! ^40 display: to indicate 'display resolution can be used to let the user the following formula can be «Χ(〇#ΪΓ〇〇Γ^^ : When the LED is not 焭 is dark: capacity = (bright number —1)^ 20%+(10% to 20%) According to the above two formulas, the following table can also allow the user to accommodate the residual battery capacity of the battery. Table 1 is used when 5 LEDs are used to indicate the residual power. LED indicates residual power

1 2 3 4 5 電池容量% 亮 亮 亮 亮 亮 90-100 亮 亮 亮 亮 閃爍 80-90 亮 亮 亮 亮 70-80 亮 亮 亮 閃爍 60-70 亮 亮 亮 50-60 亮 亮 閃爍 40-50 121 2 3 4 5 Battery capacity% Bright and bright 90-100 Bright and bright flashing 80-90 Bright and bright 70-80 Bright and bright flashing 60-70 Bright and bright 50-60 Bright and flashing 40-50 12

1295522 亮 亮 1〇5〇 ^—η 亮 閃爍 亮 ϊ〇3〇·^— 閃爍 當然,5顆LED(解析度為祕)的僅是其中一較佳實施例。使用4 顆LED來表示殘餘電量(解析度為12.5%),或是3顆(解析度為16%内)、 甚至2顆(解析度為25%)或1顆也行(解析度為50%)。 例如,當使用4顆LED來表示殘餘電量時,請參考以下之表格二。 表袼二 ——^ 1 2 3 4 — 電池容量°/〇 亮 亮 亮 亮 87.5-100 亮 亮 亮 閃爍 75-87.5 亮 亮 亮 62,5-75 亮 亮 閃爍 50-62.5 亮 亮 """ 37.5-50 亮 閃爍 25-37.5 亮 12.5-25 閃爍 0-12.5 13 1295522 表格三 1 2 3 -- 電池容量〇/〇 亮 亮 亮 "83Γϊ〇〇^— 亮 亮 閃爍 66-83s— 亮 亮 50^66^— 亮 閃爍 33^50〜— 亮 16-3T^~ 閃爍 "~^--- 本發明有以下優點: 當使用3顆LED來表不殘餘電量時,請參考以下之表格三。 (1)依據本發明的方法,晶體振盪器可以不用非常精準 而疋較低價的晶體振盈器即可。 口 (2)由於,本發明的中斷是由RTC硬體中斷產生,CPU20 只,RTC中斷的時候去執行電池相關的資料,而不是CpU2〇 執行一程式時才產生的軟體申斷,因此,依據本發明的方 f ’電池電量的監控不會佔用太多CPU20的資源,也可以 節省CPU大額的耗電量。CPU20在上述脈波非RTC中斷時 可做其他與電池相關的數據處理。 (3)只有少量(5顆)的LED,就可以將解析度提升是 電池容量。 本發明雖以較佳實例闡明如上,然其並非用以限定本 1295522 發明精神與發明實體僅止於上述實施例爾。是以,在不脫 離本發明之精神與範圍内所作之修改,均應包含在下述申 請專利範圍内。 【圖式簡單說明】 • 藉由以下詳細之描述結合所附圖式,將可輕易明暸上 . 述内容及此項發明之諸多優點,其中: 圖一為電池之放電曲線示意圖。 β 圖二為電池監測裝置的方塊示意圖。 響 11三為RTC中斷示意圖。 【主要元件符號說明】 - 15 ADC(類比數位轉換器) 20 CPU(中央處理單元) - 25時脈產生器 30ROM(唯讀存取記憶體) 35 SMBus界面 10電池容量監測及其顯示系統1295522 Bright 1〇5〇 ^—η Bright Flashing Bright ϊ〇3〇·^—Blinking Of course, 5 LEDs (resolution is the secret) are just one of the preferred embodiments. Use 4 LEDs to indicate residual charge (resolution is 12.5%), or 3 (with resolution of 16%), or even 2 (resolution of 25%) or 1 (resolution is 50%) ). For example, when using 4 LEDs to indicate residual charge, please refer to Table 2 below.表袼二——^ 1 2 3 4 — Battery capacity °/〇亮亮亮87.5-100 Bright and bright flashing 75-87.5 Bright and bright 62,5-75 Brightly flashing 50-62.5 Bright """ 37.5-50 Blinking 25-37.5 Blinking 12.5-25 Blinking 0-12.5 13 1295522 Form 3 1 2 3 -- Battery capacity 〇/〇亮亮亮"83Γϊ〇〇^—Bright flashing 66-83s—Bright Bright 50^66^—bright flashing 33^50~—bright 16-3T^~ flashing"~^--- The present invention has the following advantages: When using 3 LEDs to indicate no residual power, please refer to the following table three. (1) According to the method of the present invention, the crystal oscillator can be used without a very precise and low-priced crystal oscillator. Port (2) Since the interrupt of the present invention is generated by the RTC hardware interrupt, the CPU 20 only executes the battery-related data when the RTC is interrupted, instead of the software assertion generated when the CpU2 executes a program, therefore, The monitoring of the battery of the present invention does not occupy too much CPU 20 resources, and can also save a large amount of power consumption of the CPU. The CPU 20 can perform other battery-related data processing when the pulse wave is not interrupted by the RTC. (3) With only a small amount (5) of LEDs, the resolution can be increased to the battery capacity. The present invention has been described above by way of a preferred example, but it is not intended to limit the spirit of the invention and the inventive entity is limited to the above embodiments. Modifications made without departing from the spirit and scope of the invention are intended to be included within the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS The advantages of the invention and the advantages of the invention will be readily apparent from the following detailed description, in which: FIG. 1 is a schematic diagram of a discharge curve of a battery. β Figure 2 is a block diagram of the battery monitoring device. The 11th is the RTC interrupt diagram. [Main component symbol description] - 15 ADC (analog digital converter) 20 CPU (Central Processing Unit) - 25 clock generator 30ROM (read only access memory) 35 SMBus interface 10 battery capacity monitoring and display system

40 LED 1540 LED 15

Claims (1)

1295522 十、申請專利範圍: 1· 一種電池容量監測及其顯示系統,至少包含: 一類比數位轉換器(ADC),輸入端耦合至一電池,用以 • 將該電池的端電壓、電池輸出電流及電池表面電動勢轉換 為對應的數位信號; • 一中央處理單元(CPU); 唯讀存取記憶體(ROM); • 隨機存取記憶體(RAM); 一時脈產生器,提供該CPU運作的時脈及產生即時時 間中斷信號(RTC)給該CPU,該CPU在收到RTC中斷信號後 執行ROM内預設程式,並取得ADC輸出端的該些數^信號 進行電池電量的計算,並將結果儲存於記憶體或暫存器; 複數顆發光二極體(LED);及 ° ' SMBus動作時,cpU依據記憶體或暫存器記錄之該電池 電量,以該些LED亮、暗、閃爍數表示。 2·如申請專利範圍第1項之系統,其中上述之RTC 約每0·5秒帽—:欠,且在電池監測綠出廢前即先 • 行校正,以求出1分鐘真正時間下中斷次數,藉以計算出 電池的殘餘電量。 3·如申請專利範圍第丨項之系統,其中上述之LED 顆數為5顆並排成五排,並且以下列公式計算其容量: 當其中-顆閃爍時:容量=(亮的顆數一 1)χ2〇% 爍χ(0 至 10%);及 # u 當LED不是亮就是暗時:容量=(亮的顆數—^ 20%+(10%至 20%)。1295522 X. Patent application scope: 1. A battery capacity monitoring and display system thereof, comprising at least: an analog-to-digital converter (ADC), the input end being coupled to a battery for • the terminal voltage of the battery, the battery output current And the surface potential of the battery is converted into a corresponding digital signal; • a central processing unit (CPU); a read only access memory (ROM); • a random access memory (RAM); a clock generator that provides the operation of the CPU The clock and the instant time interrupt signal (RTC) are generated for the CPU. After receiving the RTC interrupt signal, the CPU executes the preset program in the ROM, and obtains the number of signals at the output of the ADC to calculate the battery power, and the result is obtained. Stored in a memory or scratchpad; a plurality of light-emitting diodes (LEDs); and ° 'SMBus action, cpU records the battery power according to the memory or the scratchpad, and the LEDs are bright, dark, and flashing Said. 2. For the system of claim 1 of the patent scope, wherein the above RTC is about 0. 5 seconds cap:: owed, and before the battery monitoring green is out, the first line correction is performed to find the 1 minute real time interruption. The number of times to calculate the residual power of the battery. 3. For the system of the patent application scope, wherein the number of LEDs mentioned above is 5 and arranged in five rows, and the capacity is calculated by the following formula: When one of them flashes: capacity = (number of bright ones 1) χ2〇% χ χ (0 to 10%); and # u When the LED is not bright or dark: Capacity = (number of bright - ^ 20% + (10% to 20%).
TW095104440A 2006-02-09 2006-02-09 Battery capacity monitoring and displaying system TWI295522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW095104440A TWI295522B (en) 2006-02-09 2006-02-09 Battery capacity monitoring and displaying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW095104440A TWI295522B (en) 2006-02-09 2006-02-09 Battery capacity monitoring and displaying system

Publications (2)

Publication Number Publication Date
TW200731637A TW200731637A (en) 2007-08-16
TWI295522B true TWI295522B (en) 2008-04-01

Family

ID=45068466

Family Applications (1)

Application Number Title Priority Date Filing Date
TW095104440A TWI295522B (en) 2006-02-09 2006-02-09 Battery capacity monitoring and displaying system

Country Status (1)

Country Link
TW (1) TWI295522B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396317B (en) * 2010-03-24 2013-05-11 Hon Hai Prec Ind Co Ltd Battery with displaying capacity
TWI397240B (en) * 2010-05-03 2013-05-21 Ememory Technology Inc Smart battery device, method of charging a battery pack of a smart battery device and method of approximating average-time-to-full in a smart battery device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL422410A1 (en) * 2017-07-31 2019-02-11 Instytut Techniki Górniczej Komag System for monitoring of energy in devices and machines powered from the lithium-group accumulator batteries
CN112904206B (en) * 2019-12-03 2022-07-08 成都秦川物联网科技股份有限公司 Gas meter lithium battery electricity consumption detection system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396317B (en) * 2010-03-24 2013-05-11 Hon Hai Prec Ind Co Ltd Battery with displaying capacity
TWI397240B (en) * 2010-05-03 2013-05-21 Ememory Technology Inc Smart battery device, method of charging a battery pack of a smart battery device and method of approximating average-time-to-full in a smart battery device

Also Published As

Publication number Publication date
TW200731637A (en) 2007-08-16

Similar Documents

Publication Publication Date Title
TWI295522B (en) Battery capacity monitoring and displaying system
CN201113496Y (en) Charged management circuit
TW200818648A (en) Battery cell voltage monitoring circuit and method
US11114876B2 (en) Battery safety mechanism for battery fault conditions
CN104734281A (en) Wearable portable power source and power supply control method thereof
CN2906637Y (en) Battery power tester for electric bicycle
JP2018048916A (en) Circuit for detecting remaining life of rechargeable battery, electronic apparatus and automobile using the same, and method for detecting charge state
CN101034137B (en) Measurement of battery ending discharge voltage and correcting method
WO2013170804A1 (en) Method and mobile terminal for revising power level of mobile terminal
JP2012235631A (en) Secondary battery charge device, secondary battery charge system, and secondary battery charge method
TW201348726A (en) Charge detection apparatus and method thereof
TWI636271B (en) Apparatus and method for measuring capacity of cell module
JP5312491B2 (en) Voltage display method, voltage display device, and battery pack
TW201803242A (en) Battery internal resistance detection device with electricity recharge, and application method thereof capable of recovering energy consumed during battery internal resistance measurement
JP2014120072A (en) Information processor and method for controlling information processor
CN104092253A (en) Method for dynamically regulating intelligent mobile terminal electric quantity display and intelligent mobile terminal
JP2012098866A (en) Battery control system, battery control method and battery control program
TW201222920A (en) Battery capacitance detecting system
TW201901179A (en) Battery fuel gauge circuit
US20080211509A1 (en) Battery capacity monitoring system and method of displaying capacity thereof
JP2010246176A (en) Charging circuit and method of controlling charge
TWI264169B (en) Charger with displaying charging amount of rechargeable battery
US11973360B2 (en) Battery protection charging method and system thereof
CN105653002A (en) Display method and device for battery electric quantity and electronic equipment
JP6494354B2 (en) Charge control device and charge control method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees