200816543 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種電量檢測方法、使用此方法之電旦柃 ,測系統及電子㈣’尤其涉及—種供電裝置剩餘電量之: 測方法及使用此方法之電量檢測系統和電子設備。 【先前技術】 隨著科技之日新月異,越來越多之電子產品走向市 場:如行動電話、個人數位助理(Personai Digitai Assistant ’ PDA)和筆記本電腦等。通常,這些電子產品 靠,池供電,尤其是充電電池。電池之剩餘電量對各電; 產品之工作存在很大影響,因此’在很多電子產品工作時, 有必要對其電池之剩餘電量做出檢測。 現有電池剩餘電量檢測方法主要有兩種:一種是電流 積=算法;-種是電壓測量法。該電流積演算法是以^ 、^ IlUegratl〇n )為基礎,利用記憶體存儲電池 原電量值,在一預定刷新週期内對充電電池之充/放電電流 積^,以得到充/放電電量,從而根據總電量值和充/放電 電置值計算出剩餘電量值。電壓測量法以電壓測量為基 礎在電子產品出廠前進行測量,並將該電子產品中充電 電池之電壓值與剩餘電量值之對應關係表存儲於電子產品 、隐體中使用時,藉由檢測充電電池兩極間之電壓值, 並查掏電壓值與剩餘電量值之對應關係表,從而得到充電 電池之剩餘電量值。 在電Μ積演算法中,電池長期不工作時,電池内部化 6 200816543 學反應引起之自放電現象,使得充電電池實際電量值與記 憶體中存儲之總電量值不同,導致計算所得之剩餘電量值 產生較大誤差。 在電壓測量法中,只有在電池不連接任何負载,並且 是新電池之情況下,才存在電池電壓值與剩餘電量值之間 簡單對應關係。當f池連接貞_,電池兩極電壓就會因 為其内部阻抗所引起之壓降而產生檢測誤差。當電池^了 一段時間產生老化現象時’電池電壓值與剩餘電量之對應 關係也會發生變化,而且電池之電壓值還隨溫度之變化而 變化。 【發明内容】 有鑒於此,有必要提出一種精確的電量檢測方法。 同%,提供一種精確的電量檢測系統。 另外還長1供一種精_檢測電量的電子設備。 一種電量檢測方法,包括如下步驟: 測量供電裝置初始電壓值; 根據該初始電壓值查詢電壓值與剩餘電 係表,得到該供電裝置之初始剩餘電量值; f應關 s積算流過該供電褒置之充/放電電流,得到充 夏值;以及 該供:裝據置該 一種電量檢測系統,包括·· 資料存館模組,用於存儲供電裝置電黯與剩餘電量 7 200816543 值對應關係表; 電流積算單元,用於積算流 ’流,以得到充/放電電量值;-供電裝置之充/放電電 電堡測量單j ffl TbA. 'ai ^ 查詢單早兀用於測量該供電裝置之電麼值; 70用於根據該電壓測量單元測;?曰夕f#尤 詢該資料存儲模组 以測传之電屋值查 表,得到師衫^ί與剩餘電量值對應關係 資料計算單^ 餘電量值;以及 積算單根據該初始剩餘電量值和該電流 前剩餘電量值。 电冤里料异出該供電裝置之當 一種電子設備,包括·· 供電裝置,用於存儲並提供電量; 内=負载’包括工作單元和顯示單元;以及 電I偵測系統,用於偵測該供電裝 電量偵測系統包括: 縣電里,該 曰信ΓΓ存儲模組’用於存儲該供電裝置電麼值與剩餘電 置值對應關係表; 電流積算單元,用於積算流過該供電裝置充/放電之電 流; 電壓測1單元,用於測量該供電裝置電壓值; 查詢單元,用於根據電壓值查詢電壓值與剩餘電量值 對應關係表以獲得初始剩餘電量值;以及 二貝料a十异單元,用於根據該初始剩餘電量值和該電流 積算單元積算得出之充/放電電量值計算出該供電裝置當 200816543 前剩餘電量值。 本電量檢測方法、使用此方法之電量檢測系統 設備,藉由測量電壓查找電壓電量關係表確定積分起 ㈣量值,避免了由於自放電引起之積分起始時刻電^值 J化產生之誤差’從而提高了供電裝置剩餘電量之檢測精 【實施方式】 請參閱圖丄,供電裝置20分別與充電U μ 料電量檢測系統4相連。充電裝置1〇可以是交流充J 裔或直流充電器,用於為供電裝置2〇充電。供 〇 =是充電電池,用於存儲並提供電量或電能給;載3〇。 電置檢測系統4用於檢測供電裝置2〇剩餘電量。 電=測系統4包括Q原檢測模組41、q剩處理模电 ::貧料存儲模組43和顯示模組44。其中q原、量 檢測系統4工作時,積分起始時電里 枯,η电- w ^似 彳货电褒置20原剩餘電量 值Q剩表不供電裝置20當前剩餘電量值。 Q原檢測模組41用於檢测積分起始時刻供 原剩餘電量值。〇 _卢报y 4 ^ ί 20 前剩餘^ 處⑼42用於處理供電裝置2〇當 供電=1:4:可以是一般可讀寫_,用於存储 置20之剩餘電量值431及供電裝置2〇兩極 星值與剩餘電量值斟處關 ^ 矣、,甘广 係表432 (下稱電壓電量關係 值和i八7電量_表中剩餘電量值之類型包括具體數 …刀t值之至少—種’該電壓電量關係表之電壓值和 9 200816543 剩餘電量訪以踐。為便於理解,以下以常溫(2(rc) Μ⑽—以時’㈣電量_表為例進行說明, 如表1該(限於篇幅,本表僅列出部分對應關係):200816543 IX. Description of the Invention: [Technical Field] The present invention relates to a method for detecting electric quantity, a method for measuring electric power, a system for measuring electricity, and an electronic (4) 'particularly related to the remaining amount of power supply device: measuring method and using the same Method of power detection system and electronic equipment. [Prior Art] With the rapid development of technology, more and more electronic products are coming to the market: such as mobile phones, personal digital assistants (Personai Digitai Assistant ’PDA) and laptops. Typically, these electronic products are powered by batteries, especially rechargeable batteries. The remaining power of the battery has a great influence on the operation of the product; therefore, when many electronic products work, it is necessary to test the remaining power of the battery. There are two main methods for detecting the remaining battery capacity: one is current product = algorithm; the other is voltage measurement method. The current integration algorithm is based on ^, ^ IlUegratl〇n), and uses the memory to store the original power value of the battery, and accumulates the charge/discharge current of the rechargeable battery in a predetermined refresh period to obtain the charge/discharge amount. Therefore, the remaining power value is calculated based on the total power value and the charge/discharge power value. The voltage measurement method is based on the voltage measurement and is measured before the electronic product is shipped from the factory, and the corresponding relationship between the voltage value of the rechargeable battery and the remaining power value in the electronic product is stored in the electronic product or the hidden body, and the charging is detected. The voltage value between the two poles of the battery, and check the correspondence table between the voltage value and the remaining power value, thereby obtaining the remaining power value of the rechargeable battery. In the electric hoarding algorithm, when the battery is not working for a long time, the battery internalizes the self-discharge phenomenon caused by the learning reaction, so that the actual battery value of the rechargeable battery is different from the total power value stored in the memory, resulting in the calculated remaining power. The value produces a large error. In the voltage measurement method, there is a simple correspondence between the battery voltage value and the remaining power value only when the battery is not connected to any load and is a new battery. When the f-cell is connected to 贞_, the battery's two-pole voltage will cause a detection error due to the voltage drop caused by its internal impedance. When the battery is aging for a while, the corresponding relationship between the battery voltage value and the remaining power will also change, and the voltage value of the battery will also change with temperature. SUMMARY OF THE INVENTION In view of this, it is necessary to propose an accurate power detecting method. Same as %, providing an accurate power detection system. In addition, it is also available for an electronic device that detects power. A method for detecting a power quantity, comprising the steps of: measuring an initial voltage value of the power supply device; and querying the voltage value and the remaining electricity system according to the initial voltage value to obtain an initial remaining power value of the power supply device; f should be closed to calculate the flow through the power supply. The charge/discharge current is obtained, and the summer value is obtained; and the supply: the charge detection system is installed, including the data storage module, for storing the correspondence between the power supply device and the remaining power 7 200816543 The current integration unit is used to calculate the flow 'flow to obtain the charge/discharge power value; - the charge/discharge electric power supply measurement list of the power supply device j ffl TbA. 'ai ^ query single early use to measure the power of the power supply device ??? value; 70 is used to measure according to the voltage measurement unit; 曰 f f# 尤 该 该 该 尤 尤 尤 尤 尤 尤 尤 f f f f f f f f f f f f f f f f f f f f f f f f f f f f The electric quantity value; and the integrated calculation unit according to the initial remaining electric quantity value and the remaining electric quantity value before the current. The electric lining is different from the power supply device as an electronic device, including a power supply device for storing and supplying power; the inner=load' includes a working unit and a display unit; and an electric I detecting system for detecting The power supply detecting system includes: in the county power, the memory module is configured to store a correspondence table between the power value of the power supply device and the remaining power value; and the current integrating unit is configured to calculate the flow through the power supply. The charging/discharging current of the device; the voltage measuring unit 1 is used for measuring the voltage value of the power supply device; the query unit is configured to query the correspondence table between the voltage value and the remaining power value according to the voltage value to obtain an initial remaining power value; and a ten different unit, configured to calculate the remaining power value of the power supply device before 200816543 according to the initial remaining power value and the charge/discharge power value calculated by the current integrated unit. The electric quantity detecting method and the electric quantity detecting system device using the method determine the integral (four) magnitude by the measuring voltage search voltage electric quantity relationship table, thereby avoiding the error caused by the self-discharge of the integral starting time electric value J. Therefore, the detection of the remaining power of the power supply device is improved. [Embodiment] Referring to the figure, the power supply device 20 is connected to the charging U 4 power amount detecting system 4, respectively. The charging device 1A can be an AC charging or DC charger for charging the power supply unit 2〇. Supply 〇 = is a rechargeable battery for storing and supplying power or power; The electrical detection system 4 is for detecting the remaining power of the power supply device 2 . The electrical test system 4 includes a Q original detection module 41, a q residual processing mode, a lean storage module 43 and a display module 44. When the q original and quantity detection system 4 is working, the integration starts at the beginning of the electricity, and the η electric-w^ looks like the original charge of the goods. The value of the Q remaining is not the current remaining value of the power supply device 20. The Q original detection module 41 is configured to detect the original remaining power value at the integration start time. 〇_卢报 y 4 ^ ί 20 Before the remaining ^ (9) 42 is used to process the power supply device 2 when the power supply = 1: 4: can be generally readable and writable _, used to store the remaining power value 431 of 20 and the power supply device 2 〇 〇 星 星 与 剩余 剩余 , , , , 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 The voltage value of the voltage and electricity relationship table and the remaining power of 9 200816543 are accessed. For the sake of understanding, the following is an example of the normal temperature (2(rc) Μ(10)-time'(4) electricity_table as an example, as shown in Table 1 ( Due to space limitations, this table only lists some correspondences):
—Q原檢測模組41包括電壓測量單元411、電壓溫度補 償單元412和查詢單元413。 電壓測量單元4U可以是多元電壓表,用於測量供電 裝置20兩極電壓。 電壓溫度補償單元412用於感測供電裝置2〇之溫度, 並對電,測量單元411測得之電壓進行溫度補償。電壓溫 度補償單元412可以藉由熱敏電阻或電子溫度計感測供電 裝置20之溫度’並利用回饋溫度與電壓電量關係表中溫度 200816543 f值之^化規律’對測得之電壓值進行補償,該變化規律 為預先實驗測試所得。 ,5旬早% 413用於根據溫度補償後之電壓值查詢該電 查電量關係表,以得到供電裝置2G當前剩餘電量值q原。 Q剩處理模組42包括電流積算單元421、工作狀態檢 測早兀422、資料計算單元423和資料更新單元似。 電流積算單元421可以採用電流積分器,積算供電裝 、預疋刷新週期(T)時間内之充/放電電流,以得 刷新週期⑺内充/放電電量。其中,刷新週期(T)為 之積算刷新時間,每隔刷新週期⑺時間,電流積 二Γ70421積算—次電流。刷新週期⑺内充/放電電量 積鼻公式為: Q 積 其中,Q積表示在刷新週期(τ)内流過之電量值, 表不在刷新週期(τ)内電流值變化函數。The Q original detection module 41 includes a voltage measurement unit 411, a voltage temperature compensation unit 412, and an inquiry unit 413. The voltage measuring unit 4U may be a multi-element voltmeter for measuring the voltage of the two terminals of the power supply device 20. The voltage temperature compensation unit 412 is configured to sense the temperature of the power supply device 2, and perform temperature compensation on the voltage measured by the power measurement unit 411. The voltage temperature compensating unit 412 can sense the temperature of the power supply device 20 by the thermistor or the electronic thermometer, and compensate the measured voltage value by using the temperature law of the temperature and the voltage of the power supply in the relationship between the temperature and the voltage. The change rule is obtained by preliminary experimental tests. , 5th and early 413 is used to query the electric quantity relationship table according to the voltage value after temperature compensation to obtain the current remaining electric quantity value q of the power supply device 2G. The Q remaining processing module 42 includes a current integrating unit 421, an operating state detecting early 422, a data calculating unit 423, and a data updating unit. The current accumulating unit 421 can employ a current integrator to accumulate the charge/discharge current during the power supply and pre-flash refresh period (T) to obtain the charge/discharge amount in the refresh period (7). The refresh period (T) is the integrated refresh time, and the current product Γ70421 is integrated into the secondary current every refresh period (7). Refresh cycle (7) Charge/discharge power The nose formula is: Q Product where Q product represents the value of the charge flowing in the refresh cycle (τ), and the table does not change the current value in the refresh cycle (τ).
At工作狀恶檢測單兀422用於檢測供電裝置20之工作狀 匕即充電狀態還是用電狀態。由於供電裝f 2()充用電時 電’IL方向相反’可根據其電流方向判斷供電裝置處於 電或用電狀態。 、 〜資料計算單元423可以是—般之數位處理器或數位運 异電路’用於根據查詢單元413查詢得到之供電裝置如 =餘電量值〇原’和電流積算單元412積算得到之刷新 週』⑺内流過之電量值“’計算出供電裝置2〇當前 11 200816543 剩餘電量值Q剩。 充電時,Q乘丨計算公式為··The Attitude detection unit 422 is used to detect the operation state of the power supply device 20, that is, the state of charge or the state of power. Since the power supply device f 2 () is charged, the electric power 'IL direction is opposite' can be judged according to the current direction thereof, and the power supply device is in an electric or power state. The data calculation unit 423 may be a general-purpose digital processor or a digital-transportation circuit 'for the power supply device queried according to the inquiry unit 413, such as the = residual power value 〇 original' and the current integration unit 412 to calculate the refresh week. (7) The electric quantity value flowing in the inside “'calculates the power supply unit 2〇 current 11 200816543 The remaining electric quantity value Q is left. When charging, the Q multiplication formula is...
Q剩=Q原+Q 用電時,Q剩計算公式為: « # 11 i Γ ^ Γ -2 4 ^ ^ f ^ ^ ^ # ^ ^ 412 # 料計算單元423彻 20 §刖剩餘電量值q 更新 貝科存餘組43中之該電壓 ^之電屋值和剩餘電量值之間之對應關係。 H nH量檢測系統4藉由資料存儲模、组4 3存儲供電裝 =電谷量值及該電壓電量關係表。t電時,藉由資料更 新早以2更新該電壓電量關係表。用電時,藉由查詢單元 150查詢該電壓電量關係表,以確定電流積分之起始時刻 電置值Q原。 電1檢測系統4藉由查詢電壓電量關係表來確定電流 積分起始時刻電量值,避免了由於供電裝置20之内部阻抗 而產^之回路分壓,和供電裝置2〇内部之自放電現象而引 起電里損耗而產生之檢測誤差。另外,藉由電壓溫度補償 單元412對測得之電壓進行溫度補償,防止了供電裝置2〇 工作時溫度變化而產生之電壓測量誤差。藉由更新電壓電 量關係表中電壓值和剩餘電量值之間之對應關係,防止了 由於供電裝置20老化而引起之電壓值與剩餘電量值之間 關係改變而產生之檢測誤差,提高了電量檢測精度。 請參閱圖2,電子設備5與充電裝置1〇相連。電子設 12 200816543 備5包括供電裝置20、内部負載31和電量偵測系統%。 内部負載31還包括用於將該充電裝置1〇提供之電能轉化 成其他形式能量之工作單元32和用於顯示該供電裝置剩 餘電量之顯示單元33’其中顯示單元33靠供電裝置2〇供 電0 請結合圖1和圖3,圖3為基於電量檢測系統4之電 ,檢測方法流程圖,其中電量檢測系統4中預設有電麗電 量關係表,該電量檢測方法包括如下步驟·· 步驟102,首先’測量供電裝置2〇兩極開路電壓值得 步驟撕,對電壓測量單元411測得之開路電壓值進 行温度補償得到U補。 步驟106,根據電壓溫度補償單元412補償後之電壓 值U補查詢資料存儲模組43中該電壓€量關係表 供電裝置20原剩餘電量值Q原。 步驟10 8 ’積算供雷梦署w * 稷#伢冤裒置20在刷新週期(τ)内流 之電流,以得到刷新週期⑺内流過之電量值Q積。 步驟110,檢測供電裝置20之工作狀態,該工作狀熊 包括t電狀態和用電狀態。料㈣狀態時,執行㈣ 112,若為充電狀態時,則執行步驟。 步驟m,根據供電裝置2〇原剩餘電量q 期⑺内流過之電量值〜,藉由公式: 別新週 計算出供電裝置2G當前剩餘電量值〜。完成步驟112 13 200816543 後’執行步驟122。 步驟114 ’根據供電裝置20原剩餘電量q原和刷新週 期(T)内流過之電量值,藉由公式: Q剩=Q原+ Q積 計算出供電裝置20當前剩餘電量值Q剩。 步驟116,測量該供電裝置20在剩餘電量值〇剩時, 供電裝置20兩極開路電壓值得到u臨。 、 步驟118,對電壓測量單元411測得之開路電壓值耵臨 進行溫度補償得到U更。 步驟120,根據電壓溫度補償單元412補償後之電壓 值U更和供電裝置2〇當前剩餘電量值Q剩更新該 關係表。 里 y驟122,顯示供電裝置2〇當前剩餘電量值〇剩。 上述電量檢測方法,藉由查詢電壓電量關係表來確定 電流積分起始時刻電量值,避免了由於供電裝置加之内部 阻抗而產生之回路分壓,和供電裝置2〇内部之自放電現象 =起電量損耗而產生之檢測誤差。另外,藉由電壓溫度 ,早兀412對測得之電壓進行溫度補償,防止了供電裝 麗二 =溫度變化而產生之電屢測量誤差。藉由更新電 電里關係表中電塵值和剩餘電量值之間之對應關係,防 二由於供電裝置2G老化而引起之電愿值與剩餘電量值 之間關係改變而產生之檢測誤差,提高了電量檢測精度。 供電裝置剩餘電量即時檢測系統及方法可以應用於各 種有電池供電之電子產品t,如移動電話、層、筆記本 14 200816543 電腦等設備。 【圖式簡單說明】 圖1為較佳實施方式之電量檢測系統方框圖。 • 圖2為較佳實施方式使用電量檢測系統之電子設備方 框圖。 圖3為較佳實施方式之電量檢測方法流程圖。 【主要元件符號說明】 充電裝置 10 電墨測量單元 411 供電裝置 20 電壓溫度補償單元 412 負載 30 查詢單元 413 電量檢測系統4 電流積算單元 421 Q原檢測模組 41 工作狀悲檢測單元 422 Q剩處理模级 42 資料計算單元 423 資料存儲模組43 資料更新單元 424 頌示模組 44 剩餘電量值 431 冤壓值與剩餘電量值對應關係表 432 内部負載 31 工作單元 32 電量偵測系 統50 顯示單元 33 電量檢測方法之步驟 102-122 15Q remaining = Q original + Q When using electricity, the Q residual calculation formula is: « # 11 i Γ ^ Γ -2 4 ^ ^ f ^ ^ ^ # ^ ^ 412 #料计算单位423 。 20 § 刖 remaining charge value q The correspondence between the electric house value and the remaining electric quantity value of the voltage in the Becca reserve group 43 is updated. The H nH amount detecting system 4 stores the power supply device = the electric valley amount value and the voltage electric quantity relationship table by the data storage mode, the group 4 3 . When the power is turned on, the voltage and power relationship table is updated by 2 as soon as the data is updated. When the power is used, the voltage unit relationship table is queried by the query unit 150 to determine the initial value of the current integration. The electric 1 detection system 4 determines the current integration start time electric quantity value by querying the voltage electric quantity relationship table, avoids the circuit partial pressure generated by the internal impedance of the power supply device 20, and the self-discharge phenomenon inside the power supply device 2〇 The detection error caused by the loss of electricity. Further, the voltage temperature compensating unit 412 performs temperature compensation on the measured voltage to prevent a voltage measurement error caused by a temperature change of the power supply device 2 〇 during operation. By updating the correspondence between the voltage value and the remaining power value in the voltage quantity relationship table, the detection error caused by the change of the relationship between the voltage value and the remaining power value caused by the aging of the power supply device 20 is prevented, and the power detection is improved. Precision. Referring to FIG. 2, the electronic device 5 is connected to the charging device 1A. Electronic device 12 200816543 Stand 5 includes power supply unit 20, internal load 31 and power detection system%. The internal load 31 further includes a working unit 32 for converting the electrical energy provided by the charging device 1 into other forms of energy and a display unit 33' for displaying the remaining power of the power supply device. The display unit 33 is powered by the power supply device 2 Referring to FIG. 1 and FIG. 3, FIG. 3 is a flow chart of a method for detecting electricity based on the power detecting system 4, wherein the power detecting system 4 is pre-set with a battery power relationship table, and the power detecting method includes the following steps: Step 102 First, the measurement of the power supply device 2 〇 two-pole open circuit voltage is worth to tear, and the temperature compensation of the open circuit voltage value measured by the voltage measuring unit 411 is obtained by U compensation. Step 106: According to the voltage value compensated by the voltage temperature compensating unit 412, the voltage remaining in the query data storage module 43 is related to the original remaining power value Q of the power supply device 20. Step 10 8 'To calculate the current flowing in the refresh period (τ) for the Raymond Department w * 稷# to obtain the Q value of the electric quantity flowing through the refresh period (7). Step 110: Detect the working state of the power supply device 20, and the working bear includes a t-electric state and a power-on state. In the case of the material (4), execute (4) 112. If it is in the state of charge, execute the step. In step m, according to the electric quantity value 〜 flowing in the original remaining electric quantity q period (7) of the power supply device 2, the current remaining electric energy value 〜 of the power supply device 2G is calculated by the formula: After completing step 112 13 200816543, go to step 122. Step 114' calculates the current remaining power value Q of the power supply device 20 based on the electric quantity value of the original remaining electric quantity q of the power supply device 20 and the refresh period (T) by the formula: Q remaining = Q original + Q product. In step 116, when the remaining power value is left, the power supply device 20 measures the two-pole open circuit voltage value to be obtained. Step 118: The open circuit voltage value measured by the voltage measuring unit 411 is on the verge of performing temperature compensation to obtain U. In step 120, the relationship table is updated according to the voltage value U compensated by the voltage temperature compensation unit 412 and the current remaining power value Q of the power supply device 2〇. In step 122, the current power supply value of the power supply device 2 is displayed. The above-mentioned electric quantity detecting method determines the electric quantity at the beginning of the current integration by querying the voltage electric quantity relationship table, thereby avoiding the circuit partial pressure generated by the internal impedance of the electric power supply device, and the self-discharging phenomenon inside the electric power supply device 2 = the electric power generation amount Detection error due to loss. In addition, by the voltage temperature, the temperature is compensated for the measured voltage, and the electrical measurement error caused by the power supply device 2 = temperature change is prevented. By updating the correspondence between the electric dust value and the remaining electric quantity value in the relationship table of the electric power, the detection error caused by the change of the relationship between the electric wish value and the remaining electric quantity value caused by the aging of the power supply device 2G is improved. Power detection accuracy. The system and method for detecting the remaining power of the power supply device can be applied to various battery-powered electronic products, such as mobile phones, layers, and notebooks. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a power detecting system of a preferred embodiment. • Figure 2 is a block diagram of an electronic device using a power detection system in a preferred embodiment. 3 is a flow chart of a method for detecting a power quantity in a preferred embodiment. [Description of main component symbols] Charging device 10 Ink measuring unit 411 Power supply device 20 Voltage temperature compensation unit 412 Load 30 Query unit 413 Power detection system 4 Current integration unit 421 Q Original detection module 41 Operational sorrow detection unit 422 Q remaining processing Module level 42 data calculation unit 423 data storage module 43 data update unit 424 display module 44 remaining power value 431 pressure value and remaining power value correspondence table 432 internal load 31 work unit 32 power detection system 50 display unit 33 Steps for the power detection method 102-122 15