201004094 九、發明說明: 【發明所屬之技術領域】 本發明涉及手持式電子裝置之電池,特別係關於一種 電池溫度偵測系統及方法。 【先前技術】 於資訊產業突飛猛進之今天,手持式電子裝置(例如 手機)已成為人們日常生活廣泛使用之通訊工具。作為配 套產品之電池之好壞直接影響到手機待機及通話時間之長 短,若安全性能有問題還會直接涉及人身及財產安全。因 此,手機電源管理也變得越來越重要,一些手機電源管理 系統之專用積體電路(Integrated Circuit,1C )晶片已被應 用於手機電池管理中。但是,目前之手機於電池溫度不正 常(一般於50°C以上或者-10°C以下)之情況下,則不能 對手機電池進行充電。 於手持式電子裝置之電池進行充電時,手持式電子裝 置中之微處理器首先檢測電池電壓及電池溫度,然後判斷 電壓是否滿壓,若電壓滿壓,則結束充電。若電壓未滿, 進一步判斷電池溫度是否正常,若電池溫度正常,則對電 池正常充電,若電池溫度不正常,則結束電池充電。通常 地,手持式電子裝置之電池溫度係由1C晶片輸出一電流至 電池上之熱敏電阻所得到的電壓來決定電池之溫度。 然而,所輸出之電流通常無法維持於一定值,從而無 法準確之得到熱敏電阻之電壓導致無法準確地得到電池之 溫度。因此,當於極高溫或極低溫之環境下對手持式電子 7 201004094 裝置之電池進行充電時,需 才能避免因電池充電時電流里二、池溫度作準確地監控, 【發明内容】 、书而發生危險。 鑒於以上内容,有必要提供—、、 方法,藉由補償電流之方式:種電池溫度偵測系統及 從而能夠準綠地偵挪出丰::技正電池熱敏電阻之電麗, 一種雷池、、®庠拍 、式電子裝置之電池溫度。 種電池咖度偵測系統又 體電路晶片中,用於偵測 於手持式電子裝置之積 系統包括:參數設定模組,用二二二裂置之電池溫度°該 溫度之臨界值範圍;電壓量;设定標準電流值ι〇及電池 裝置中之限流電阻之電壓值^莫組,用於獲取手持式電子 電壓值U1計算出積體電路晶I並根據限流電阻值R1及 組,用於根據設定的標準電曰^片輪出之電流1;電壓校正模 個用於校正電壓之校正夹數以0及輪出之電流1計算出一 電池之熱敏電阻R2之# τ /,並利用校正參數α計算出 於根據計算之校正電壓值U2 Z U2 ;溫度讀取模組,用 照表中讀取電池溫度,並.=存館於存儲單元之溫度對 ^ W ^ MS - M t- ’ 電池溫度顯示於手持式電子 t Ί ’溫度警示模紐,用 超出設定的溫度臨界值範圍 否 可以進行充電。 15並警_池於此溫度下是否 一種電池溫度偵測方法, 雷姊加声,兮^^, 用於偵測手持式電子裝置之 ^ ^ ^ ^ ^ 乂驟·扠疋標準電流值1〇及電 之雪廢信m、,Λ 持式電子震置中之限流電阻 之電屋值171,亚根據限流 电阻值R1及電壓值U1計算出 201004094 =持電子裝置中之積體電路晶片輸出之電流1;根據設 定的標準電流L及輸出之電流I計算-個用於校正電壓之 ' 校正參數α;利用該校正參數α按照計算公式計算電池之 -熱敏電阻R 2之校正電壓值U 2 ;根據計算出之校正電壓值 、存儲於存儲單元之溫度對照表中搜索電池對應之溫 ^讀取電池之溫度;判斷電池之溫度是否超過設定的 溫度臨^值範圍;若電池之溫度超出設定的溫度臨界值範 圍,則警示電池於此溫度下不能進行充電;若電池之溫度 沒有超出設定的溫度臨界值範圍,則顯示此溫度並提示電 池於此溫度下可以進行充電。 、相_較於習知技術’所狀電池溫度仙系統及方法藉 由補4貝電机之方式來校正電池熱敏電阻之電壓,從而能夠 準確地債測出手持式電子裝置之電池溫度。 【實施方式】 參閱圖1所示,係本發明電池溫度偵測系統較佳實施 (例之應用環境圖。所述之電池溫度债測系統11〇固化於手 持式電子裝置1之積體電路(circuit,ic )晶片 11中’用於_手持式電子裝置1之電池2之溫度。手持 式電子裝置1可以為手機、或其他電子通訊裝置。本實施 例中’該手持式電子裝置1係手機,其與電池2相連接。 所述之手持式電子裝置1包括1C晶片11、存館單元 12 ’顯不幕13及限流電阻R1。該晶片η用於輸出一 電流1至電池2之熱敏電阻R2上得到的電壓U來決定電 池2之狐度存館單元^用於存館溫度對照表,該溫度對 9 201004094 照表記錄有不同的電流值及電壓值所對應之溫度值。顯示 幕13用於顯示電池2之溫度,並顯示電池2於此溫度下是 , 否可以進行充電之提示資訊。該限流電阻R1用於計算出 - 1C晶片11輸出之電流值I,本實施例中,該限流電阻R1 之電阻值為100ΚΩ。 所述之電池溫度偵測系統110用於設定標準電流值10 及電池溫度之臨界值範圍,獲取限流電阻R1之電壓值 , u 1 ’计鼻1C晶片11輸出之電流值I,根據設定的標準電 流1〇計算出一個校正電壓之校正參數α,利用該校正參數 α計算出電池2之校正電壓值U2,根據該校正電壓值U2 從所述之溫度對照表中讀取電池2之溫度,並警示電池2 於此溫度下是否可以進行充電。 參閱圖2所示,係圖1中手持式電子裝置1中之電池 溫度偵測系統110之功能模組圖。該電池溫度偵測系統 包括:參數設定模組1100、電壓量測模組1101、電壓校正 ( 模組11〇2、溫度讀取模組U03及溫度警示模組11〇4。 參數設定模組1100用於設定標準電流值Iq及電池2 之溫度臨界值,例如:設定標準電流值Iq為1〇uA,溫度 臨界值範圍為-10〇C至50。(:之間。 皿又 電壓量測模組1101用於獲取限流電阻R1之電壓值 U1 ’並根據限流電阻R1及電壓值U1計算出ic晶片n 輸出之電流I。其中,計算電流I之計算公式為. i=ui/ri=ui/iookq。 電壓校正模組1102用於根據設定的標準電流1〇計算 201004094 出-個用於校正電壓之校正參數α,並利用該校正參數^ 計算出電池2之熱敏電阻R2之校正電塵值⑽。其中,叶 .算校正電壓之參數α之計算公式為:α=Ι〇/Ι;計算校正電壓 • 值U2之計算公式為:U2=Ulxa。 溫度讀取模組110 3用於根據計算出之校正電壓值U2 從所述之溫度對照表中讀取電池2之溫度,並將該溫度值 顯示於顯示幕13上。 1度警示模組11G4用於判斷電池2之溫度是否超出 設定的溫度臨界值範圍,並警示電池2於此溫度下是否可 以進行充電。本實施例中,當電池2之溫度高於5〇〇c或者 低於·1〇Τ時’溫度警示模組11〇4警示電池2於此溫度下 不能進行充電。當電池2之溫度介於_1〇0(:至5〇。〇之間時, 溫度警示模組1104顯示此溫度值,並提示電池2於此溫度 下可以進行充電。 參閱圖3所示,係圖i中存儲單元12存儲之溫度對 v 照表之示意圖。該溫度對照表用於記錄不同的電流值 電壓值U所對應之電池2之溫度值,以供所述之電池溫度 偵測系統110根據校正電壓值U2從該溫度對照表中搜索 電池2之溫度,從而讀取出電池2之溫度。本實施例中, 假如參數設定模組1100設定的標準電流值1〇為l〇uA,電 壓量測模組1101量測到限流電阻R1之輪出電壓值 U1 = 1.2V,根據限流電阻R1之電阻值為100ΚΩ計算出之 1C晶片11輸出之電流1=1.2ν/100ΚΩ=1.2uA,電壓校正模 組 1102 計算校正電壓之校正參數 11 201004094 a=I0/I=l〇uA/12UA=0.833。然後,電壓校正模組ΐι〇2根據 該校正參數a計算出電池2之校正電壓值 112=11^)10.833466-^溫度讀取模組11〇3根據 校正電壓值U2=166.6mV從存儲於存儲單元12之溫度對照 表中搜索到電池2對應之溫度為1〇〇c。 & 參閱圖4所示,係本發明電池溫度偵測方法較佳實施 例之流_。錄設賴組i⑽狀解钱值〗。及電 池2之溫度臨界值範圍,例如設定標準電流值為池a, 溫度臨界值範圍設為1C至㈣之間(步驟s鄉電壓 量測模組訓獲取限流電阻R1之電壓值仍(步驟S4i)。 ,壓量測模組11G1根據限流電阻R1及電壓值饥按照計 算公式I=U1/R1計算出ic曰η ,,μ , ® L日日片11輸出之電流I,其中R1 為100ΚΩ (步驟S42)。雷厭衫/ 々電堡校正模組1102根據設定的標 準電& 1〇按照計算公式a—了 /了 #笞b ~I〇/I计异出一個用於校正電壓之 校正參數a (步驟S43)。雷厭ρ χ π, ^ 』電壓校正模組1102利用該參數a 按照計算公式U2=Ulxa計算出雷卻 τ并出電池2之熱敏電阻R2之校 正電壓值ϋ2(步驟S44)。、、w J /皿度續取模組1103根據計算出 之校正電壓值U2從存儲於在 ,柯於存儲早兀12之溫度對照表中搜 索到電池2對應之溫度,廿 ca、 並㈣取出該電池2之溫度(步驟 S45 )。溫度警示模組no — υ4判斷電池2之溫度是否超過設 疋的溫度臨界值範圍(步驟 ^ 、夕鄉S46)。若電池2之溫度超出設 疋的 >里度臨界值範圍,即卷f。 间田電池2之溫度高於50°c或者低 於-10〇C時,溫;|馨+抬么 s /'拉、| Π04警示電池2於此溫度下不 能進行充電(步驟S47 )。, 右電池2之溫度沒有超出設定的 12 201004094 溫度臨界值範圍,即當電池2之溫度介於-10°C至50°C之 間時,溫度警示模組1104顯示此溫度值,並提示電池2 於此溫度下可以進行充電(步驟S48)。 所述之電池溫度偵測系統及方法藉由補償電流之方式 來校正電池熱敏電阻之電壓,從而能夠準確地偵測出手持 式電子裝置之電池溫度。因此,當於極高溫或極低溫之環 境下對手持式電子裝置之電池進行充電時,能夠對電池溫 度作準確地監控,從而避免因電池充電時電流異常而發生 危險。 以上所述僅為本發明之較佳實施例而已,且已達廣泛 之使用功效,凡其他未脫離本發明所揭示之精神下所完成 之均等變化或修飾,均應包含在下述之申請專利範圍内。 【圖式簡單說明】 圖1係本發明電池溫度偵測系統較佳實施例之應用環 境圖。 圖2係圖1中手持式電子裝置之電池溫度偵測系統之 功能模組圖。 圖3係圖1中存儲單元中存儲之溫度對照表之示意 圖。 圖4係本發明電池溫度偵測方法較佳實施例之流程 圖。 【主要元件符號說明】 手持式電子裝置 1C晶片 1 11 13 201004094 電池溫度偵測系統 110 參數設定模組 1100 電壓量測模組 1101 電壓校正模組 1102 溫度讀取模組 1103 溫度警示模組 1104 存儲單元 12 顯示幕 13 限流電阻 R1 電池 2 熱敏電阻 R2 14201004094 IX. Description of the Invention: [Technical Field] The present invention relates to a battery for a handheld electronic device, and more particularly to a battery temperature detecting system and method. [Prior Art] As the information industry has advanced by leaps and bounds, handheld electronic devices (such as mobile phones) have become a communication tool widely used in people's daily lives. The quality of the battery as a matching product directly affects the standby time of the mobile phone and the length of the talk time. If there is a problem with the safety performance, it will directly involve personal and property safety. Therefore, mobile phone power management has become more and more important. Some integrated circuit (1C) chips for mobile phone power management systems have been applied to mobile phone battery management. However, in the current case where the battery temperature is abnormal (generally above 50 °C or below -10 °C), the mobile phone battery cannot be charged. When the battery of the handheld electronic device is being charged, the microprocessor in the handheld electronic device first detects the battery voltage and the battery temperature, and then determines whether the voltage is full. If the voltage is full, the charging is terminated. If the voltage is not full, further determine whether the battery temperature is normal. If the battery temperature is normal, the battery is normally charged. If the battery temperature is abnormal, the battery is charged. Typically, the battery temperature of a handheld electronic device determines the temperature of the battery by the output of a current from the 1C chip to the thermistor on the battery. However, the output current is usually not maintained at a certain value, so that the voltage of the thermistor cannot be accurately obtained, so that the temperature of the battery cannot be accurately obtained. Therefore, when the battery of the handheld electronic 7 201004094 device is charged in an environment of extremely high temperature or very low temperature, it is necessary to avoid accurate monitoring of the current in the current and the temperature of the battery during charging of the battery, [invention], Dangerous. In view of the above, it is necessary to provide -, and methods, by means of compensation current: a battery temperature detection system and thus capable of quasi-green detection of the abundance:: the positive battery thermistor, a mine pool, ® Battery temperature of the electronic device. The battery coffee detection system and the body circuit chip, the system for detecting the handheld electronic device includes: a parameter setting module, a battery temperature with a 22 split temperature, a critical value range of the temperature; a voltage The standard value of the current value ι〇 and the voltage value of the current limiting resistor in the battery device are used to obtain the handheld electronic voltage value U1 to calculate the integrated circuit crystal I and according to the current limiting resistance value R1 and the group. The current used for the rotation of the battery according to the set standard; the voltage correction mode is used to correct the voltage, and the number of correction clamps is 0, and the current 1 of the rotation is calculated as # τ / of the thermistor R2 of a battery. And using the correction parameter α to calculate the corrected voltage value U2 Z U2 according to the calculation; the temperature reading module, reading the battery temperature in the meter, and storing the temperature of the storage unit in the storage unit ^ W ^ MS - M T- ' The battery temperature is displayed on the hand-held electronic t Ί 'temperature warning module, and can be charged if it exceeds the set temperature threshold. 15 and police _ pool is a battery temperature detection method at this temperature, Thunder plus sound, 兮 ^ ^, used to detect handheld electronic devices ^ ^ ^ ^ ^ · · 疋 疋 疋 standard current value 1 〇 And the electric snow waste letter m, the electric current value of the current limiting resistor in the holding electronic shock 171, the sub-current resistance resistance value R1 and the voltage value U1 are calculated 201004094 = integrated circuit chip in the electronic device The output current 1 is calculated according to the set standard current L and the output current I - a correction parameter α for correcting the voltage; using the correction parameter α to calculate the correction voltage value of the battery-thermistor R 2 according to the calculation formula U 2 ; according to the calculated correction voltage value, stored in the temperature comparison table of the storage unit, search for the temperature of the battery corresponding to the temperature of the battery; determine whether the temperature of the battery exceeds the set temperature range; if the temperature of the battery Exceeding the set temperature threshold range, the battery can not be charged at this temperature; if the temperature of the battery does not exceed the set temperature threshold, the temperature is displayed and the battery can be charged at this temperature.The battery temperature system and method of the conventional technology are used to correct the voltage of the battery thermistor by means of a supplemental motor, so that the battery temperature of the handheld electronic device can be accurately measured. [Embodiment] Referring to FIG. 1 , a battery temperature detecting system of the present invention is preferably implemented (example of the application environment diagram. The battery temperature debt testing system 11 is cured in an integrated circuit of the handheld electronic device 1 ( Circuit, ic) The temperature of the battery 2 used in the wafer 11 for the handheld electronic device 1. The handheld electronic device 1 can be a mobile phone or other electronic communication device. In the present embodiment, the handheld electronic device 1 is a mobile phone. The handheld electronic device 1 includes a 1C chip 11, a storage unit 12', and a current limiting resistor R1. The wafer n is used to output a current 1 to the heat of the battery 2. The voltage U obtained on the varistor R2 determines the temperature storage table of the battery 2 of the battery 2, and the temperature is compared with the temperature value corresponding to the current value and the voltage value recorded by the 9 201004094 table. The screen 13 is used to display the temperature of the battery 2, and displays information indicating whether the battery 2 can be charged at this temperature. The current limiting resistor R1 is used to calculate the current value I of the output of the -1C wafer 11, this embodiment Medium limiting resistor R1 The resistance value is 100 Κ Ω. The battery temperature detecting system 110 is used to set a standard current value of 10 and a critical range of battery temperature, and obtain a voltage value of the current limiting resistor R1, and the current of the output of the nose 1C chip 11 a value I, a correction parameter α of the correction voltage is calculated according to the set standard current 1〇, and the correction voltage value U2 of the battery 2 is calculated by the correction parameter α, and is read from the temperature comparison table according to the correction voltage value U2. Take the temperature of the battery 2 and warn whether the battery 2 can be charged at this temperature. Referring to Fig. 2, it is a functional module diagram of the battery temperature detecting system 110 in the handheld electronic device 1 of Fig. 1. The temperature detecting system includes: a parameter setting module 1100, a voltage measuring module 1101, a voltage calibration (a module 11〇2, a temperature reading module U03, and a temperature warning module 11〇4. The parameter setting module 1100 is used for Set the standard current value Iq and the temperature threshold of the battery 2, for example, set the standard current value Iq to 1 〇 uA, and the temperature threshold value range is -10 〇 C to 50. (: Between the vessel and the voltage measurement module 1101 Used to obtain current limit The voltage value U1 ' of the resistor R1 is calculated, and the current I of the output of the ic chip n is calculated according to the current limiting resistor R1 and the voltage value U1. The calculation formula of the calculation current I is .i=ui/ri=ui/iookq. The group 1102 is configured to calculate a calibration parameter α for correcting the voltage according to the set standard current 1〇, and calculate the corrected electric dust value (10) of the thermistor R2 of the battery 2 by using the calibration parameter ^. The calculation formula of the parameter α for calculating the correction voltage is: α=Ι〇/Ι; calculation of the correction voltage • The calculation formula of the value U2 is: U2=Ulxa. The temperature reading module 110 3 is configured to read the temperature of the battery 2 from the temperature comparison table according to the calculated correction voltage value U2, and display the temperature value on the display screen 13. The 1 degree warning module 11G4 is used to determine whether the temperature of the battery 2 exceeds the set temperature threshold range and to alert the battery 2 whether it can be charged at this temperature. In this embodiment, when the temperature of the battery 2 is higher than 5 〇〇 c or lower than · 1 ’, the temperature warning module 11 〇 4 warns that the battery 2 cannot be charged at this temperature. When the temperature of the battery 2 is between _1 〇 0 (: 5 〇 〇 温度, the temperature warning module 1104 displays the temperature value, and prompts the battery 2 to be charged at this temperature. Referring to FIG. 3, A schematic diagram of the temperature versus v stored in the storage unit 12 in the drawing i. The temperature comparison table is used to record the temperature values of the battery 2 corresponding to different current value voltage values U for the battery temperature detecting system. The temperature of the battery 2 is searched from the temperature comparison table according to the corrected voltage value U2, so that the temperature of the battery 2 is read. In this embodiment, if the standard current value set by the parameter setting module 1100 is 1〇uA, The voltage measurement module 1101 measures the voltage value of the current limiting resistor R1 U1 = 1.2V, and the current output of the 1C wafer 11 is calculated according to the resistance value of the current limiting resistor R1 of 100 Κ 1 = 1.2 ν / 100 Κ Ω = 1.2 uA, the voltage correction module 1102 calculates the correction parameter of the correction voltage 11 201004094 a=I0/I=l〇uA/12UA=0.833. Then, the voltage correction module ΐι〇2 calculates the correction voltage of the battery 2 according to the correction parameter a Value 112=11^)10.833466-^Temperature reading module 11〇3 according to school Voltage U2 = 166.6mV tickets from the cell temperature stored in the storage table 12 in the cell 2 corresponds to the temperature of 1〇〇c. & see Fig. 4, which is a flow chart of a preferred embodiment of the battery temperature detecting method of the present invention. Record the set of i (10) to solve the money value. And the temperature threshold range of the battery 2, for example, the standard current value is set to the pool a, and the temperature threshold value is set between 1C and (4) (the voltage value of the current limiting resistor R1 is still obtained in the step s. S4i). The pressure measurement module 11G1 calculates the current I of the output of ic曰η , μ , ® L 日 日 11 according to the current limiting resistor R1 and the voltage value hunger according to the calculation formula I=U1/R1, where R1 is 100 Κ Ω (step S42). The ray-reduction shirt/ 々 堡 校正 校正 校正 1102 according to the set standard electric & 1 〇 according to the calculation formula a - / / # 笞 b ~ I 〇 / I meter for a correction voltage Correction parameter a (step S43). Thunder ρ χ π, ^ 』 voltage correction module 1102 uses the parameter a to calculate the correction voltage value of the thermistor R2 of the battery 2 according to the calculation formula U2=Ulxa Ϋ2 (step S44), and the w J / hexadecimal renewal module 1103 searches for the temperature corresponding to the battery 2 from the temperature comparison table stored in the storage table according to the calculated correction voltage value U2.廿ca, and (4) take out the temperature of the battery 2 (step S45). The temperature warning module no - υ 4 determines the temperature of the battery 2 Whether it exceeds the temperature threshold range of the setting (step ^, Xixiang S46). If the temperature of the battery 2 exceeds the setting range of the setting >, the volume f. The temperature of the rice battery 2 is higher than 50 °c Or lower than -10 〇C, temperature; | 馨+起么 s / ' pull, | Π 04 warning battery 2 can not be charged at this temperature (step S47)., the temperature of the right battery 2 does not exceed the set 12 201004094 The temperature threshold range, that is, when the temperature of the battery 2 is between -10 ° C and 50 ° C, the temperature warning module 1104 displays the temperature value, and prompts the battery 2 to be charged at this temperature (step S48) The battery temperature detecting system and method can correct the voltage of the battery thermistor by compensating the current, thereby accurately detecting the battery temperature of the handheld electronic device. Therefore, when the temperature is extremely high or low In the environment of charging the battery of the handheld electronic device, the battery temperature can be accurately monitored, thereby avoiding the danger of abnormal current when the battery is charged. The above description is only a preferred embodiment of the present invention, and Daguang The use of the efficacies of the present invention is not limited to the scope of the invention as disclosed in the following claims. FIG. 1 is a battery temperature detecting system of the present invention. Figure 2 is a functional block diagram of the battery temperature detecting system of the handheld electronic device of Figure 1. Figure 3 is a schematic diagram of the temperature comparison table stored in the memory unit of Figure 1. A flow chart of a preferred embodiment of the battery temperature sensing method of the present invention. [Main component symbol description] Handheld electronic device 1C chip 1 11 13 201004094 Battery temperature detection system 110 Parameter setting module 1100 Voltage measurement module 1101 Voltage correction module 1102 Temperature reading module 1103 Temperature warning module 1104 Storage Unit 12 Display Screen 13 Current Limiting Resistor R1 Battery 2 Thermistor R2 14