200822419200822419
. 三達編號=TW3243PA 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種電池電量之警示方法,且特別是 有關於一種串聯電池之電量警示方法。 【先前技術】 電池廠商大多會於電池產品的外殼或包裝盒上註明 _ 不能與其他種類的電池混用,否則有爆炸的危險;像一次 電池(包括碳性電池及碳鋅電池等)或可充電之二次電池 (鎳氫電池、鋰電池及鉛酸電池等),甚至不同廠牌或新 舊程度不一的電池都不能混合使用。例如新舊電池混用或 者兩電池品質不同,便可能造成兩電池串聯使用時電壓差 異過大或電壓下降(放電)速度不同,導致供應電流不平 衡而增力口電池内部壓力。一旦電池之化學組成混合液因壓 力而發生體積大幅變化,超過電池外殼所限制之固定體積 φ 時,就會產生電池漏液或爆炸之虞,進而損傷配置電池之 電子裝置。 【發明内容】 有鑑於此,本發明的目的就是在提供一種電池電量之 警示方法,用以在電池電量可能有上述問題時,提醒使用 者趕緊替換電池或改變電子裝置之工作模式,以避免危險 發生。 根據本發明的目的,提出一種電池電量之警示方法, 5 200822419达达编号=TW3243PA IX. Description of the Invention: [Technical Field] The present invention relates to a battery power warning method, and more particularly to a battery warning method for a series battery. [Prior Art] Most battery manufacturers will indicate on the outer casing or packaging box of the battery product. _ Cannot be mixed with other types of batteries, otherwise there is a danger of explosion; like a primary battery (including carbon batteries and carbon zinc batteries) or rechargeable Secondary batteries (NiMH batteries, lithium batteries, lead-acid batteries, etc.), and even different brands or batteries of different ages can not be mixed. For example, if the old and new batteries are mixed or the quality of the two batteries is different, the voltage difference may be too large or the voltage drop (discharge) speed may be different when the two batteries are used in series, resulting in an unbalanced supply current and increasing the internal pressure of the battery. Once the chemical composition of the battery changes greatly due to the pressure, and exceeds the fixed volume φ limited by the battery casing, the battery may leak or explode, thereby damaging the electronic device in which the battery is disposed. SUMMARY OF THE INVENTION In view of this, the object of the present invention is to provide a battery power warning method for prompting a user to quickly replace a battery or change the working mode of an electronic device to avoid danger when the battery power may have the above problems. occur. According to the object of the present invention, a warning method for battery power is proposed, 5 200822419
• 三達編號:TW3243PA 用於一電子裝置。電子裝置包括串聯之一第一電池及一第 二電池。警示方法包括:(a)取得第一及第二電池之電壓; (b)判斷第一及第二電池之電壓絕對差值是否實質上大於 第一預設值,若是,則執行步驟(c);以及(c)利用電子裝置 顯示一警示訊號。 為讓本發明之上述目的、特徵、和優點能更明顯易 懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明 【實施方式】 請參照第1圖,其繪示乃依照本發明之電子裝置之示 意圖。電子裝置100例如為光學滑鼠、雷射滑鼠或MP3 播放器,並包括串聯之第一電池110及第二電池120、處 理單元130以及操作單元140。第二電池120之陰極及陽 極分別耦接至接地端及第一電池110之陰極,第一電池110 之陽極則經由操作單元140與第二電池120之陰極於電子 裝置100内行成一迴路。藉此,操作單元140將獲得兩電 池110及120之供應電流I而進行如顯示晝面、感測讀取 或影音資料之編解碼等動作。處理單元130則用以偵测電 池電量,並據以控制操作單元140之工作狀態。以下茲附 圖詳細說明電子裝置100如何應用本發明之電池電量之警 示方法。 第一實施例 200822419• Sanda number: TW3243PA is used for an electronic device. The electronic device includes a first battery and a second battery in series. The warning method includes: (a) obtaining voltages of the first and second batteries; (b) determining whether the absolute difference values of the first and second batteries are substantially greater than the first preset value, and if yes, performing step (c) And (c) displaying an alert signal using the electronic device. The above-mentioned objects, features, and advantages of the present invention will be more apparent from the aspects of the appended claims appended claims A schematic diagram of an electronic device in accordance with the present invention. The electronic device 100 is, for example, an optical mouse, a laser mouse or an MP3 player, and includes a first battery 110 and a second battery 120, a processing unit 130, and an operation unit 140 connected in series. The cathode and the anode of the second battery 120 are respectively coupled to the ground and the cathode of the first battery 110. The anode of the first battery 110 is connected to the cathode of the second battery 120 via the operating unit 140 in the electronic device 100. Thereby, the operation unit 140 obtains the supply current I of the two batteries 110 and 120, and performs operations such as displaying a face, sensing reading, or encoding and decoding of video and audio data. The processing unit 130 is configured to detect the battery power and control the working state of the operating unit 140 accordingly. The following is a detailed description of how the electronic device 100 applies the warning method of the battery power of the present invention. First embodiment 200822419
.. 三達編號:TW3243PA 請參照第2圖,其繪示乃依照本發明第一實施例之電 池電量之警示方法流程圖。如第2圖所示,首先於步驟21 〇 中,取得第一及第二電池110及120之電壓。兩電池11〇 及120例如為一般之1.5 V三號電池,亦即完全未使用時 之最大供應電壓為1.5 V,但隨著使用時間增加,電池内 組成化學液之化學反應會逐漸減少所能產生之化學能而 降低供應電壓。於本實施例中,處理單元130係偵測第一 • 電池110之陽極端電壓,以取得兩電池110及120之電壓 總和;同時,處理單元130亦偵測第二電池120之陽極端 電壓而取得第二電池120之電壓;最後,處理單元130再 計异兩電池110及120之陽極端電壓的差值,便能取得第 一電池110之電壓。 於步驟230中,係判斷第一及第二電池11〇及120之 電壓絕對差值是否實質上大於一第一預設值。第一預設值 的設定即為因應習知之壓差過大問題,例如對於最大電壓 籲 為1·5 V之兩電池11()及12〇,壓差大到〇.5 ¥便可能發生 不良反應,遂第一預設值較佳地設為〇·5 V。此時,若處 理單元130判斷兩電池110及120之電壓絕對差值大於0.5 ν,便可執行下一步驟250。 ^ 於步驟250中,係利用電子裝置100顯示一警示訊 讀1如上述,視電子裝置100之實際形式,處理單元130 ^制操作單70 14G以各種方式來告知使用者目前的電池 電量問題〇例‘ M W如’刼作單元140於蝥幕上閃爍代表圖示, 或電子裝置1〇〇她虹 υυ機设上的led光源發光,或定時發出聲 200822419.. Sanda Number: TW3243PA Please refer to FIG. 2, which is a flow chart showing the warning method of the battery power according to the first embodiment of the present invention. As shown in Fig. 2, the voltages of the first and second batteries 110 and 120 are first obtained in step 21A. The two batteries 11〇 and 120 are, for example, a general 1.5 V No. 3 battery, that is, the maximum supply voltage is 1.5 V when completely unused, but as the use time increases, the chemical reaction of the chemical liquid in the battery is gradually reduced. The chemical energy generated reduces the supply voltage. In this embodiment, the processing unit 130 detects the voltage of the anode terminal of the first battery 110 to obtain the sum of the voltages of the two batteries 110 and 120. Meanwhile, the processing unit 130 also detects the voltage of the anode terminal of the second battery 120. The voltage of the second battery 120 is obtained. Finally, the processing unit 130 calculates the voltage of the first battery 110 by counting the difference between the anode terminal voltages of the two batteries 110 and 120. In step 230, it is determined whether the absolute difference between the voltages of the first and second batteries 11 and 120 is substantially greater than a first predetermined value. The setting of the first preset value is a problem of excessive pressure difference according to the conventional knowledge. For example, for the two batteries 11 () and 12 最大 with a maximum voltage of 1. 5 V, the pressure difference is as large as 〇.5, and an adverse reaction may occur. The first preset value is preferably set to 〇·5 V. At this time, if the processing unit 130 determines that the absolute difference between the voltages of the two batteries 110 and 120 is greater than 0.5 ν, the next step 250 can be performed. ^ In step 250, the electronic device 100 is used to display a warning reading 1 as described above. Depending on the actual form of the electronic device 100, the processing unit 130 operates the operating unit 70 14G to inform the user of the current battery power problem in various ways. For example, the 'MW 刼' unit 140 flashes on the screen to represent the icon, or the electronic device 1 illuminates the LED light source set on her rainbow machine, or periodically sounds 200822419
. 三達編號:TW3243PA 音,都可作為警示訊號。若進一步替使用者設想,電子裝 置100更可同時進入省電模式,處理單元130即將操作單 元140中耗電量較大之功能元件(如感測器或編碼器等) 停止運作,以減緩兩電池110及120之壓差增加情形。 此外,若於步驟230中判斷出兩電池110及120之壓 差在第一預設值以内,可設定處理單元130以一固定週期 回到步驟210來取得兩電池110及120之電壓,並重新執 善 行步驟230。 第二實施例 請參照第3圖,其繪示乃依照本發明第二實施例之電 池電量之警示方法流程圖。第二實施例與第一實施例不同 之處在於,如第3圖所示,於步驟210及步驟230之間, 更包括一步驟220,即判斷第一及第二電池110及120是 否至少其中之一者之電壓實質上小於一第二預設值。對於 鲁 如上述之1.5 V電池,第二預設值可設為1.2 V。亦即,第 二預設值之設定考量係使得兩電池110及120於步驟220 中被判斷出電壓皆大於1.2 V的話,可確保兩者電壓差值 小於上述之0.5 V,然後回到步雜210,再重新執行步驟 220。 因為對於步驟210的取得結果,雖然步驟220及230 所需之運算量相似,但處理單元130執行步驟230時,需 先待計算出兩電池11〇及120之電壓差值後,才能再進行 與第一預設值之相關判斷動作。而執行步驟220時,若處 8 200822419The three-digit number: TW3243PA sound can be used as a warning signal. If it is further assumed by the user, the electronic device 100 can enter the power saving mode at the same time, and the processing unit 130 stops the operation of the functional component (such as a sensor or an encoder) that consumes a large amount of power in the operating unit 140 to slow down the two. The pressure difference between the batteries 110 and 120 is increased. In addition, if it is determined in step 230 that the voltage difference between the two batteries 110 and 120 is within the first preset value, the processing unit 130 can be set to return to step 210 at a fixed period to obtain the voltages of the two batteries 110 and 120, and Take steps 230. SECOND EMBODIMENT Referring to Figure 3, there is shown a flow chart of a battery charging method in accordance with a second embodiment of the present invention. The second embodiment is different from the first embodiment in that, as shown in FIG. 3, between step 210 and step 230, a step 220 is further included to determine whether the first and second batteries 110 and 120 are at least One of the voltages is substantially less than a second predetermined value. For the 1.5 V battery as described above, the second preset value can be set to 1.2 V. That is, the setting of the second preset value is such that if the voltages of the two batteries 110 and 120 are greater than 1.2 V in step 220, the voltage difference between the two batteries is ensured to be less than 0.5 V, and then back to the step. 210, and then perform step 220 again. Because the calculations of the steps 210 and 230 are similar, the processing unit 130 needs to calculate the voltage difference between the two batteries 11〇 and 120 before performing the step 230. The relevant judgment action of the first preset value. And when step 220 is executed, if it is 8 200822419
, 三達編號:TW3243PA 理單元130具有多個處理核心(_),兩電池11〇及i2〇 與第二預設值之判斷動作可各自同時進行,時間上可較步 驟230減少。因此,在兩電池11〇及12〇之電壓差值尚未 過大時’以固定週期執行步驟2i〇及22〇對於電子裝置 之整體運作較省時。 纟中’-旦判斷出任—電池之電壓小於第二預設值, 則表示兩電池110 A 120之電磨差值極有可能過大,此時 φ 便進入步驟230。之後,處理罩元13〇同樣可如第一實施 例以固定週期回到步驟2 i 〇重新讀取電麗再執行步驟2 3 〇 之判斷動作(因為電池電壓必然隨時間下降,故無須再進 行步驟220),直到判_出有壓差異常情形而執行步驟跡 本發明上述實施例所揭露之電池電量之警示方法,可 使電子裝置在電池電量發生異常時,提醒使用者趕緊替換 電池或改㈣子裝置之卫佩式,以避免危險發生。當 然’本發明所屬技術領域中具有通常知識者亦可以明瞭, # 實施射的第-及第二預設值皆可視所使㈣電池種類 而調整,以達到最適當之警示效果。此外,當電池數量超 過兩顆時’同樣能應用本發明之警示方法,對電池組中任 兩顆電池來進行上述電壓之相關判斷動作。 綜上所述,雖然本發明已以較佳實施例揭露如上,然 其亚非用以限定本發明。任何所屬技術領域中具有通常知 識者’在不脫離本發明之精神和範圍内,當可作各種之更 動與濶飾。因此,本發明之保護範圍當視後附之申請專利 範圍所界定者為準。 200822419, Sanda number: TW3243PA The control unit 130 has a plurality of processing cores (_), and the determination actions of the two batteries 11〇 and i2〇 and the second preset value can be performed simultaneously, and the time can be reduced compared with step 230. Therefore, when the voltage difference between the two batteries 11〇 and 12〇 is not excessively large, the steps 2i and 22 are performed in a fixed cycle, which is less time-consuming for the overall operation of the electronic device. If the voltage of the battery is less than the second preset value, it means that the electric wear difference between the two batteries 110 A 120 is extremely likely to be too large, and then φ proceeds to step 230. After that, the processing cover unit 13 can also return to the step 2 i in a fixed cycle as in the first embodiment, and then re-read the battery and perform the determination step of the step 2 3 (because the battery voltage necessarily decreases with time, there is no need to perform further In step 220), the method for warning the battery power disclosed in the above embodiments of the present invention is performed until the abnormality of the battery is detected, so that the electronic device can prompt the user to quickly replace the battery or change the battery when the battery power is abnormal. (4) The sub-device's guarding style to avoid danger. Of course, it will be apparent to those of ordinary skill in the art to which the present invention pertains that the first and second predetermined values of the shots can be adjusted according to the type of battery used to achieve the most appropriate warning effect. Further, when the number of batteries exceeds two, the warning method of the present invention can be applied to perform the above-described voltage correlation determination operation for any two batteries in the battery pack. In summary, although the present invention has been disclosed above in the preferred embodiments, the sub-Asian is used to define the present invention. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. 200822419
. 三達編號:TW3243PA 【圖式簡單說明】 第1圖繪示乃依照本發明之電子裝置之示意圖。 第2圖繪示乃依照本發明第一實施例之電池電量之警 示方法流程圖。 第3圖繪示乃依照本發明第二實施例之電池電量之警 示方法流程圖。 _ 【主要元件符號說明】 100 ·· 電子裝置 110 : 第一電池 120 : 第二電池 130 : 處理單元 140 : :操作單元Sanda Number: TW3243PA [Simple Description of the Drawing] Fig. 1 is a schematic view showing an electronic device according to the present invention. Fig. 2 is a flow chart showing the warning method of the battery power according to the first embodiment of the present invention. Fig. 3 is a flow chart showing the warning method of the battery power according to the second embodiment of the present invention. _ [Main component symbol description] 100 ·· Electronic device 110 : First battery 120 : Second battery 130 : Processing unit 140 : : Operation unit