,1270767 九、發明說明: 【發明所屬之技術領域】 於一種關於一種電源管理方法與系統,尤其是關 制電子元件之工作頻率之電源管理方法與以達仏 【先前技術】 (Sman:a:;e^ 個智慧型電二 、、也内人右或稱為智慧型電池)。因為智慧型電 -種势理-I官理^件’例如_83/2〇84/2〇85/801 1等任 的此一管理元件會監測該智慧型電池中電池 數(包括電流、溫度、電壓、容量... 二==過系統管理匯流排(System -咖咖Bus; ㈣哭Γ丨!^將34些參數資料傳給筆記型電腦系'統主機之 例如可透過ακ訊號線與贿資料線達成數位傳 輸,些資料可以管理筆記型電腦系統主機之電源。 筆記型電腦業=====元件所提供之資料’ 工作頻率,:::! 頻電路,以降低電子元件之 ^、成有效官理電源及維持智慧型電池之壽命。 常;利用一組降頻電路,包括電流侦測器與時 硬體電路佈局控制,以達成降低工作頻率的結 果。=而,要達成如習知技術的目的還需要修改電路 筆#型電職者而言,將會增加電路費用或電路 ^ 1270767 請參考圖l,通常一個智慧型電池i内部會有八個單位 電池(C e 11),其排列組合之方式為串聯四個〔e 11 11、12、 13、14以及串聯四個Cell 11, 、12, 、13, 、14,,將上 述兩組串聯的電池組並聯之,就是所謂的四串二並的方式 排列。為了降低製造成本以及筆記型電腦的整體重量,筆 g己型電腦業者無不想盡辦法降低電子元件之工作頻率,進 而降低電子元件所需的電力,以達成減少CeU之目的。例 如,如圖2所示的智慧型電池2内部的Cen 21、22、23、 * 21 、22’ 、23’就是減少兩個Cell之例子,同樣是兩組 電池組並聯的模式,仍可提供相同的電力。然而,減少了 '兩個Cel 1,可能會造成電池組使用時超過額定的放電能 力,因此為解決這個問題,可以使用本發明所述之電源方 法及其系統來保護電池組,以避免放電的電流大於額定放 電能力或是在電池的溫度太高時放電所造成的電池加速老 化現象’同時更可減低製造成本。 φ 【發明内容】 為了要達到減少單位電池(Cell)之目的,而又不想增 • 加筆Z型電%主機糸統之電路成本,本發明乃提供一種電 源管理之方法與系統。 首先’本發明所述之電源管理系統,其可應用於電腦 (例如筆記型電腦),該系統包含有控制器、智慧型電池 及處理器,其中該智慧型電池組係可提供其内部之電流資 料及溫度資料傳給控制器。本發明之控制器係可讀取電流 貪料及溫度資料,並用來控制電子元件之工作頻率。因此, 6 11270767 控制器係透過處理哭盘雪 ― 一恭 與電子兀件電性相連,藉由處理器勃 仃電腦程式以控制該電子 管理之曰的卢^ … 牛之作頻率’進而達到電源 憶裝置、影像加速曰Η Π 件以是CPU、記 傢逮曰日片、無線網卡裝置或CD ROM。 接著,本發明提供一種電 彗帮雷冰夕Φ、六次" 心々;,具係依據智 ί ίίίΓ料及溫度資料以控制電子元件之工作頻 率,该方法包含以下步驟: 提供第一電流特定值及第一溫度特定值. 判斷電流㈣是否大於第-電流特定值. =溫度資料是否大於第—溫度特定值;’ -溫度特定值,則丄: 值或者溫度資料大於第 元件之工作頻率。 知出降低“令,以降低電子 一溫度特定值之步 :提供第二電流特 料是否大於第一電 一電流特定值,則, 1270767 IX. Description of the invention: [Technical field of invention] A method and system for power management, in particular, a power management method for controlling the operating frequency of electronic components, and the prior art [Sman: a: ; e ^ smart electric 2, also inside right or called smart battery). This management component monitors the number of batteries in the smart battery (including current and temperature) because of the intelligent power-species-I-management component such as _83/2〇84/2〇85/801 1 , voltage, capacity... Two == system management bus (System - café and bus; (four) crying! ^ will transfer some of the 34 parameters to the notebook computer system's host, for example, through the ακ signal line and The bribe data line is digitally transmitted, and some of the data can be used to manage the power of the notebook computer system. Notepad computer industry ===== The information provided by the component 'Work frequency, ::::! Frequency circuit to reduce the electronic components ^ To effectively manage the power supply and maintain the life of the smart battery. Often; use a set of frequency reduction circuits, including current detector and time hardware circuit layout control, to achieve the result of lowering the operating frequency. The purpose of the conventional technology also needs to modify the circuit pen type-type electrician, it will increase the circuit cost or circuit ^ 1270767 Please refer to Figure 1, usually a smart battery i will have eight unit batteries inside (C e 11) , the way of arranging and combining them is four in series [ e 11 11, 12, 13, 14 and four cells 11, 12, 13, 14, 14 in series, the two sets of battery cells connected in series are connected in parallel, so-called four-string two-way arrangement. The manufacturing cost and the overall weight of the notebook computer, the pen-type computer industry does not want to reduce the working frequency of the electronic components, thereby reducing the power required by the electronic components, in order to achieve the purpose of reducing CeU. For example, as shown in Figure 2. The internal CEN 21, 22, 23, * 21, 22', 23' of the smart battery 2 is an example of reducing two cells, and the same two groups of battery packs are connected in parallel to provide the same power. However, the reduction is achieved. 'Two Cel 1, may cause the battery pack to exceed the rated discharge capacity when used, so to solve this problem, the power supply method and system thereof according to the present invention can be used to protect the battery pack to avoid the discharge current is greater than the rated The discharge capacity or the accelerated aging of the battery caused by the discharge when the temperature of the battery is too high' can also reduce the manufacturing cost. φ [Invention content] In order to achieve the reduction The purpose of the battery (Cell), but does not want to increase the circuit cost of the Z-type power system, the present invention provides a method and system for power management. First, the power management system of the present invention can be applied In a computer (such as a notebook computer), the system comprises a controller, a smart battery and a processor, wherein the smart battery pack provides internal current data and temperature data to the controller. The controller of the present invention The system can read the current grazing and temperature data, and is used to control the operating frequency of the electronic components. Therefore, the 6 11270767 controller is through the processing of crying snow - a Christie electronically connected to the electronic device, through the processor burgeoning computer program In order to control the frequency of the electronic management, the frequency of the battery is further improved by the CPU, the video capture device, the wireless network card device or the CD ROM. Next, the present invention provides an electric 彗 雷 冰 夕 Φ 六 六 六 六 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Value and the first temperature specific value. Determine whether the current (4) is greater than the first-current specific value. = Whether the temperature data is greater than the first-temperature specific value; '-temperature specific value, then 丄: The value or temperature data is greater than the operating frequency of the first component. Knowing the step of lowering the "order" to lower the electron-specific temperature value: whether the second current characteristic is greater than the first current-specific value, then
再者,提供第一電流特定值及第 :,在較佳實施例中,進一步包含步驟 :f及第二溫度特定值。在判斷電流資 k特定值之步驟中,若電流資料小於第 進一步包含步驟: :電流資料是否小於第二電流特定值; 判斷溫度資料是否小於第二 若雷泣次4丨 皿度特疋值;以及 溫度料值,料由控制器發出tr度讀小於第二 元件之工作頻率。 w设扣令,以回復該電子 較佳者,在降低電子元件之 包含步驟: 作頻率之步驟,進一步 7 .1270767 作頻率是否為「低」頻率;以及 判断電子元件 制器之Γ:頻率不是「低」頻率’則藉由控 出降低指令,以降低電子元件之工作頻率。 -定。其中’該「低」頻率係依據電子元件之不同特性而設 相類似地,回復該電子元件之作 進-步包含步驟: 作料之步驟,亦可 鲁 ί斷電子元件之工作頻率是否為「低」頻率;以及 於出:電子元件之工作頻率是「低」頻率,則藉由控制哭 X出回设指彳’以回復電子元件之工作頻率。 -存第在=實施例中,制11具有—暫存器,該暫存器儲 電飢比較计數益及第一溫度比較計數器,判斯f 4 料;=於第-電流特定值之步驟,可進一步包^^ 數器=:Γ料大於第一電流特定值’則第-電流比較計 ::第:,流比較計數器是否為第—特定數;以及 •主☆第-電流比較計數器是第—特定數,則將過電流邀 。旗標(OCA Flag)設定為「1 ,並將第 Ld 、重設為〇。 絲第-電流比較計數器 、一二二t本ί交佳實施例中,判斷溫度資料是否大於第 酿度特疋值之步驟,可進一步包含步驟: 若溫度資料大於第一溫度特定值, 數器運算加1 ; _ /皿度比Μ 判斷第-溫度比較計數器是否為第二特定數;以及 若第-溫度比較計數器是第二特定數,則將過溫度警 8 '1270767 ^旗標(0TA Flag)設定為「1」,並將第-溫度比較計數 為重没為〇。 ^在本較佳實施例中,第一電流特定值係由電腦業者設 ^之,較佳者係設為1單位電池(1 CeU ; lc),例如i單位 電池y以為20 0〇mAh。此外,為了快速地降低工作頻率,可 ^該第一特定數設定為丨,也就是判斷第一電流比較計數器 疋否為1 ;換言之,就是判斷電流資料大於第一電流特定值 之次數是否為1次。 本較佳實施例中,第一溫度特定值亦係由電腦 =者α又&之,較佳者係為6〇。匚。此外,該第二特定數亦設 定為1,也就是在判斷第一溫度比較計數器是否為1 ;換言 之’就疋判斷溫度資料大於第—溫度特定值之次數是否 次0 〜 較佳者,在提供電流資料及溫度資料之步驟之前,進 -步包含將第-電流比較計數器及第—溫度比較計數器之 起始值皆設為〇之步驟。Furthermore, a first current specific value and a : are provided, and in a preferred embodiment, further comprising: a step f and a second temperature specific value. In the step of judging the current value of the current value k, if the current data is less than the further inclusion step: whether the current data is smaller than the second current specific value; determining whether the temperature data is less than the second value of the second degree; And the temperature value, the material is sent by the controller to read less than the operating frequency of the second component. w set the deduction order to restore the electronic preferred, in the step of reducing the electronic components: the frequency step, further 7. 1270767 whether the frequency is "low" frequency; and determine the electronic device maker: frequency is not The "low" frequency reduces the operating frequency of the electronic components by controlling the lowering command. -set. The 'low' frequency is similarly set according to the different characteristics of the electronic components, and the step of replying to the electronic component includes the steps of: the step of making the material, or the operating frequency of the electronic component is "low" Frequency; and out: the operating frequency of the electronic component is "low" frequency, and the operating frequency of the electronic component is restored by controlling the crying X. - In the embodiment, the system 11 has a temporary register, the register stores the power consumption comparison counter and the first temperature comparison counter, and the step of determining the specific value of the first current , further may be included in the device =: the material is greater than the first current specific value 'the first current comparator:: the first:, the flow comparison counter is the first - specific number; and • the main ☆ first current comparison counter is The first-specific number will be over-current invited. The flag (OCA Flag) is set to "1, and the Ld is reset to 〇. The silk-current comparison counter, the one-two-two-turn, the best example, whether the temperature data is greater than the first degree characteristic. The step of value may further include the steps of: if the temperature data is greater than the first temperature specific value, the number of operations is increased by one; _ / the ratio Μ determines whether the first temperature comparison counter is the second specific number; and if the first temperature comparison When the counter is the second specific number, the over temperature alarm 8 '1270767 ^ flag (0TA Flag) is set to "1", and the first temperature comparison is counted as no. In the preferred embodiment, the first current specific value is set by the computer manufacturer, preferably one unit battery (1 CeU; lc), for example, the i unit battery y is 20 〇 mAh. In addition, in order to quickly reduce the operating frequency, the first specific number may be set to 丨, that is, whether the first current comparison counter is 1 or not; in other words, it is determined whether the current data is greater than the first current specific value. Times. In the preferred embodiment, the first temperature specific value is also determined by the computer = a and a, preferably 6 。. Hey. In addition, the second specific number is also set to 1, that is, whether the first temperature comparison counter is judged to be 1; in other words, it is determined whether the temperature data is greater than the first temperature specific value is 0 or less. Before the steps of the current data and the temperature data, the step further includes the step of setting the initial values of the first current comparison counter and the first temperature comparison counter to 〇.
一 “在本發明之一較佳實施例中,暫存器進一步包含第 j流比較計數器,在判斷電流資料是否大於第-電流 ^ ^ 甲右電流貧料小於第一電流特定值時,則 進一步包含步驟: 、 二電流 二電流 ,斷電流資料是否小於第二電流特定值; 右電流貧料小於第二電流特定值時,則判斷第 比較2數器是否為第三特定數;以及 二電流比較計數器不是第三特定數,則第 比較計數器運算加1。 9 .1270767 在較佳實施例中,第二電流特定值係由電腦業者設定 ,,較佳者係設為〇. 8單位電池(〇· 8C),例如〇. 8單位電池 :以為160〇mAh。此外,上述的第三特定數設定為3,也就 =在j斷第二電流比較計數器是否為3;換言之,就是判斷 ^ /;IL資料小於第二電流特定值之次數是否為3次。 。。曰在本發明之較佳實施财,在·第二電流比較計數 否,第三特定數之步驟中,若第二電流比較計數器為 弟二特=數,在較佳實施例之第三特定數為3,亦即電流資 !Ϊ小ί第二電流特定值之次數為3次時,則將過電流警告旗 不重D又為〇」’並將第二電流比較計數器重設為〇。 在一較佳實施例中,暫存器進一步包含第二溫度比較 :數:、、:判:溫度資料是否大於第一溫度特定值之步驟 .右·度貝料小於該第—溫度特定值,則進一步包含步 度貧料是否小於 第二溫度特定值 苐一溫度比 若溫度資料小於第二溫度特定值ί • 較計數器是否為第四特定數;以及 =二溫度比較計數器不是第四特缝, 、 比較計數器運算加1。 度 ^較㈣施例中’第二溫度特定值係 定,,=者係將第二溫度特定值設為5rc。此外:: 的ΐΖνΙ數设定為3’也就是在判斷第二溫度比較計數器 就是判斷溫度資料小於第, 在本發明之齡去告^ t, 佳貝^例中,在判斷第二溫度比較計數 '1270767 5否為第四特定數之步驟中,若第二溫度比較計數哭係 為:四特定數,則將過溫度警告旗標重設為「〇」,並將第 二溫度比較計數器重設為〇。 資料一較佳實施例中’在提供電流資料及溫度 步驟之剛’進一步包含將第二電流比較計數器及第 一服度比較計數器之起始值皆設為〇之步驟。In a preferred embodiment of the present invention, the register further includes a j-th stream comparison counter, and further determining whether the current data is greater than the first current ^^ A right current lean material is less than the first current specific value, further The method includes the steps of: two currents and two currents, whether the current data is less than a specific value of the second current; and when the right current poor material is smaller than the second current specific value, determining whether the second comparator is a third specific number; and comparing the two currents If the counter is not the third specific number, then the comparison counter operation is incremented by 1. 9 .1270767 In the preferred embodiment, the second current specific value is set by the computer manufacturer, preferably set to 〇. 8 unit battery (〇 · 8C), for example 〇. 8 unit battery: think 160〇mAh. In addition, the above third specific number is set to 3, that is, whether the second current comparison counter is 3 at j; in other words, it is judged ^ /; Whether the number of times the IL data is smaller than the specific value of the second current is 3 times. In the preferred implementation of the present invention, in the step of the second current comparison count, the third specific number, if the second current comparator The second specific number of the preferred embodiment is 3, that is, the current value of the current value of the second current is 3 times, then the overcurrent warning flag is not heavy D It is 〇"' and resets the second current comparison counter to 〇. In a preferred embodiment, the register further includes a second temperature comparison: a number:,:: a step of determining whether the temperature data is greater than the first temperature specific value. The right-degree material is smaller than the first-temperature specific value, And further comprising whether the step poor material is less than the second temperature specific value 苐 a temperature ratio if the temperature data is less than the second temperature specific value ί • whether the counter is the fourth specific number; and the = two temperature comparison counter is not the fourth special seam, Compare the counter operation by one. The degree ^ is determined by the second temperature specific value in the (4) embodiment, and the second temperature specific value is set to 5 rc. In addition, the ΐΖνΙ of the :: is set to 3', that is, the second temperature comparison counter is judged to be that the temperature data is smaller than the first, and in the age of the present invention, the second temperature comparison count is judged. '1270767 5 No is the fourth specific number step, if the second temperature comparison counts the crying to: four specific numbers, the over temperature warning flag is reset to "〇", and the second temperature comparison counter is reset. Why? In a preferred embodiment, the 'sending current data and temperature step' further includes the step of setting the initial values of the second current comparison counter and the first service comparison counter to 〇.
ρίΐΓΓ實施例中,韻過電流警告旗標或者過溫 :二 任一者是否為Γ1」之步驟,若過電流馨告 旗標與過溫度警告旗標皆為「〇」時,則進-步進行步驟: 判斷工作頻率是否為「低」頻率;以及 、t工作頻率為「低」頻率,則控制器發出回復指令, 以回復該工作頻率。 【實施方式】In the embodiment, the rhythm overcurrent warning flag or over temperature: whether either of the two is Γ1", if the overcurrent scent flag and the over temperature warning flag are both "〇", then proceed Steps: Determine whether the working frequency is "low" frequency; and, t, the operating frequency is "low" frequency, the controller sends a reply command to reply to the working frequency. [Embodiment]
為讓本發明之上述和其他 易丨董’下文特舉出較佳實施例 說明如下。 目的、特徵和優點能更明顯 ,並配合所附圖式,作詳細The above description of the present invention and other preferred embodiments are described below. The purpose, characteristics and advantages can be more obvious, and with the drawings, for details
=明首先提供-種電源管理之系統。請參考圖3A, =之糸統係應用於電腦3(例如筆記型電腦) A 控Γ32對處理器34發出指令’,使得處理器3⑷于 之工作魅精以控制電子元件33 作頻率,並進一步達到電源管理的目的。 型地如所示’本發明之系統包含有-智慧型電池2,血 川《/曰°電池2内含有一個IC (未圖示),例如bq2083 / 4 / 2085或8011等,因此智彗型電、、也? 。 w ϋ日心1玉池2可藉由1C提供電 '1270767 接著來到步驟S43,判斷電流資料201是否大於第一電 流特定值。典型地,第一電流特定值係由電腦業者設定之, 在本較佳貫施例係設為1單位電池(1 Ce 11 ; 1C),例如1單 位電池可以係200OmAh。此步驟S43是依據智慧型電池2中的 電流資料201來判斷智慧型電池2之放電電流是否過大。 若電流資料201大於第一電流特定值(例如lc)時,則 來到步驟S44,將第一電流比較計數器32〇a運算加i。接下 來步驟S45,以判斷第一電流比較計數器32〇a是否為第一特 • 定數。在本較佳實施例中,為了快速地降低電子元件33之 工作頻率,因此將第一特定數設定為丨,也就是在判斷第一 電流比較计數恭320a是否為1 ;換言之,就是判斷電流資料 201大於第一電流特定值(例如lc)之次數是否為丨次。' 如果第一電流比較計數器302a就是第一特定數丨,亦即 步驟S45之判斷為「是」,則流程來到步驟S46,將過電流盤 告旗標(OCA Flag)設定為「丨」,並將第一電流比較計數器 重設為0。接著來到步驟S51。 • 反之,如果步驟S45之判斷為「否」,則流程亦來到步 驟S5卜 如果在步驟S43之判斷為「否」,亦即電流資料201小於 第一電流特定值(例如ic)時,則流程來到步驟S47,以判 -斷電流資料201是否小於第二電流特定值。類似力第一電流 特定值’第二電流特定值亦由電腦業者設定之,在本較佳 實施例係設為0.8單位電池(0.8C),例如〇8單位電池可以 係16 0 0 m A h。步驟S 4 7是依據智慧型電池2中的電流資料2 〇 i 來判斷智慧型電池2之放電電流是否過小。 13 1270767 ^ =S4?中,若電流資料201小於第二電翕特定值(例 \ ^ ’亦即判斷為「是」,則流程來到步驟S48。反 之若判斷為「否」,則流程來到爭骤S51、。 第二二,S48進一步判斷第二電流比較計數器32〇b是否為 形了箆^數」在本較佳實施例中’為了避免發生誤判之情 齡二的二1定數係設定為3,也就是在判斷'第二零流比較計 一 :、、〇b疋否為3 ;換言之,就是判斷電流資料201小於第 一“机特疋值(例如〇· 8C)之次數是否為3次。 二,步驟S48之判斷,若第二電流比較計數器32〇b不是第 : ,數(例如3 )時,則流程來到步驟S5〇,將第二電流 t 乂计數為320b運算加;[。接下來為步驟仍丨。 ,步驟S48之判斷,若第二電流比較計數器3施為第三 Φ丈(例如3夂)’則流程來到步驟S49,將過電流警告旗 才示重設(resel"、发「η . ' .π )為0」,並將弟二電流比較計數器320b重設 為〇。接著來到步驟S51。 H接下,請參考圖5,進行步驟S51,以判斷溫度資料202 =否大於第一溫度特定值。類似於第一電流特定值,第一 ί度特定值亦由電腦業者設定之,在本較佳實施例係為60 右步驟S51判斷為「是」,亦即溫度資料2〇2係大於第一 =度特定值(例如6(rc),則來到步驟S52第 運算加i。接下來步糊,以判斷第一溫度= 2數為320c是否為第二特定數。在本較佳實施例中,為了 1地降低電子元件33之工作頻率,因此將第二特定數設 疋‘、、、1,也就是在判斷第一溫度比較計數器32〇c是否為工; 14 1270767 換言之,就是判斷溫度資料2 〇 2大於第一溫度特定值(例如 60 C )之次數是否為1次。 若第一溫度比較計數器320c就是第二特定數(例如 1 \~亦即步驟S53之判斷為「是」,則來到步驟S54,將過溫 度2告旗標(OTA Flag)設定為「丨」,並將第一溫度比較計 數益342〇C重設為0。接著來到步驟S59。反之,如果步驟S53 之判斷為「否」,亦接著進行步驟S59。 ^反之,若步驟%1判斷為「否」,亦即溫度資料202小於 第一溫度特定值(例如6(rc),則來到步驟S55,進一步判 ,概度貪料2〇2是否小於第二溫度特定值。相類似地,第二 一、又特疋值亦係由電腦業者設定之,本較佳實施例係將第 二溫度特定值設為5 0 °C。 一在步驟S55之判斷如果為「否」,即溫度資料2〇2大於第 二溫度特定值(例如5(rc)時,則接著來到步驟S59。 ★ 一如果在步驟S55之判斷為「是」,亦即溫度資料2〇2小於 第一 /皿度特疋值(例如5〇它)時,則來到步驟,進一步 判斷第二溫度t匕較計數器㈣d是否為第四特定冑。在本較 佳實施例中,第四特定數係設定為3,也就是在判斷第二溫 度比較計㈣320d是否為3;換言之,就是判斷溫度資料2〇2 小於第二溫度特定值(例如5(rc )之次數是否為3次。 ^在步驟S56之判斷如果為「否」,#第二溫度比較計數 。。320d不疋第四特定數(例如3),則進行步驟,將第二 溫度比較計數器320d運算加丨。接下來則是步驟s59。 时在步驟S56之判斷如果為「是」,㉛第二溫度比較計數 為320d疋第四特疋數(例如3 ),則流程來到步驟π?,將過 15 1270767 溫度警告旗標重設為Γ0」,並將第二溫度比較計數器 重設為0。接下來步驟%9。 步驟S59係在判斷過電流警告(〇CA)旗標或者過溫产鑿 告(0ΤΑ)旗標其中任—者是否為Γ1」。此步驟S59是在判斷 本發明之系統是否有過電流或過溫度其中之一的情形發 生,上述兩種情形都有可能是智慧型電池2在過度放 過額定之放電能力)。 % V兔= Ming first provides a system for power management. Referring to FIG. 3A, the system is applied to the computer 3 (for example, a notebook computer). The A control 32 issues an instruction to the processor 34, so that the processor 3(4) operates the charm to control the frequency of the electronic component 33, and further To achieve the purpose of power management. As shown, the system of the present invention includes a smart battery 2, and the blood bank "/曰 ° battery 2 contains an IC (not shown), such as bq2083 / 4 / 2085 or 8011, etc. Electricity, and also? . w ϋ日心1玉池2 can be powered by 1C '1270767 Next, to step S43, it is judged whether the current data 201 is greater than the first current specific value. Typically, the first current specific value is set by the computer manufacturer. In the preferred embodiment, the unit cell is set to 1 unit cell (1 Ce 11 ; 1 C). For example, a unit cell can be 200 mAh. In step S43, it is judged whether or not the discharge current of the smart battery 2 is excessively large based on the current data 201 in the smart battery 2. If the current data 201 is greater than the first current specific value (e.g., lc), then the process proceeds to step S44, and the first current comparison counter 32a is operated to add i. Next, step S45 is performed to determine whether the first current comparison counter 32a is a first specific number. In the preferred embodiment, in order to rapidly reduce the operating frequency of the electronic component 33, the first specific number is set to 丨, that is, whether the first current comparison counter Christie 320a is judged to be 1; in other words, the current is judged. Whether the number of times the data 201 is greater than the first current specific value (for example, lc) is one. If the first current comparison counter 302a is the first specific number, that is, the determination in step S45 is YES, the flow proceeds to step S46, and the overcurrent flag flag (OCA Flag) is set to "丨". Reset the first current comparison counter to zero. Then it proceeds to step S51. • On the other hand, if the determination in the step S45 is “NO”, the flow also proceeds to the step S5. If the determination in the step S43 is “NO”, that is, the current data 201 is smaller than the first current specific value (for example, ic), then The flow proceeds to step S47 to determine whether the current data 201 is smaller than the second current specific value. Similar force first current specific value 'second current specific value is also set by the computer manufacturer. In the preferred embodiment, it is set to 0.8 unit battery (0.8C), for example, 8 unit battery can be 1600 m A h . Step S 4 7 is to determine whether the discharge current of the smart battery 2 is too small based on the current data 2 〇 i in the smart battery 2. 13 1270767 ^ = S4?, if the current data 201 is smaller than the second power-specific value (eg, \^', that is, the determination is YES, the flow proceeds to step S48. If the determination is "NO", the flow comes. To the second step S51, S48 further determines whether the second current comparison counter 32〇b is shaped or not. In the preferred embodiment, the second and second fixed numbers of the second in order to avoid misjudgment It is set to 3, that is, it is judged that 'the second zero flow comparison meter one:, 〇b疋 is 3; in other words, it is judged that the current data 201 is smaller than the first "machine special value (for example, 〇·8C) Whether it is 3 times. 2. In the judgment of step S48, if the second current comparison counter 32〇b is not the ::, (for example, 3), the flow proceeds to step S5, and the second current t 乂 is counted as 320b. The operation is added; [. The next step is still 丨., the judgment of step S48, if the second current comparison counter 3 is applied as the third Φ (for example, 3 夂), the flow proceeds to step S49, and the overcurrent warning flag is Reset (resel", send "η . ' .π ) to 0", and compare the second current comparison counter 320b Then reset to step S51. Then, referring to FIG. 5, step S51 is performed to determine that the temperature data 202=No is greater than the first temperature specific value. Similar to the first current specific value, the first λ degree The specific value is also set by the computer manufacturer. In the preferred embodiment, 60 is determined to be "YES" in step S51, that is, the temperature data 2〇2 is greater than the first = degree specific value (for example, 6 (rc), then Go to step S52 to add i. Next step to determine whether the first temperature = 2 is 320c is the second specific number. In the preferred embodiment, in order to reduce the operating frequency of the electronic component 33, Therefore, the second specific number is set to ',, 1, 1, that is, whether the first temperature comparison counter 32 〇 c is determined to be working; 14 1270767 In other words, it is determined that the temperature data 2 〇 2 is greater than the first temperature specific value (for example, 60) If the first temperature comparison counter 320c is the second specific number (for example, 1 \~, that is, the determination of step S53 is YES), then the process proceeds to step S54, and the over temperature 2 flag is sent. (OTA Flag) is set to "丨" and the first temperature is compared and counted. 342〇C is reset to 0. Then, the process proceeds to step S59. Otherwise, if the determination of step S53 is "NO", then step S59 is followed. ^ Conversely, if step %1 is judged as "No", that is, temperature data 202. If the value is less than the first temperature specific value (for example, 6 (rc), then the process proceeds to step S55, and it is further determined whether the probability 2 〇 2 is smaller than the second temperature specific value. Similarly, the second one and the special value are also It is set by the computer manufacturer. In the preferred embodiment, the second temperature specific value is set to 50 ° C. If the determination in step S55 is "NO", the temperature data 2 〇 2 is greater than the second temperature specific value. (For example, when 5 (rc), then go to step S59. ★ If the judgment in step S55 is YES, that is, if the temperature data 2〇2 is smaller than the first/dish characteristic value (for example, 5〇), then the step is taken to further determine the second temperature t匕Whether the counter (4) d is the fourth specific 胄. In the preferred embodiment, the fourth specific number is set to 3, that is, whether the second temperature comparator (4) 320d is 3; in other words, it is determined that the temperature data 2〇2 is smaller than the second temperature specific value (for example, 5 ( Whether the number of times of rc is 3 times. ^ If the judgment in step S56 is "NO", the #2 temperature comparison counts. 320d does not depend on the fourth specific number (for example, 3), then steps are performed to compare the second temperature The counter 320d is operated by a step s59. Next, if the determination in step S56 is YES, and the second temperature comparison count is 320d 疋 the fourth special number (for example, 3), the flow proceeds to step π. ?, reset the 15 1270767 temperature warning flag to Γ0", and reset the second temperature comparison counter to 0. Next step %9. Step S59 is to judge the over current warning (〇CA) flag or The temperature-manufacturing (0ΤΑ) flag is one of the criteria—whether or not it is Γ1.” This step S59 is a case where it is judged whether the system of the present invention has one of overcurrent or overtemperature, and both of the above cases may be Smart battery 2 is over-rated ability). % V rabbit
、如果步驟S59之判斷為「是」,亦即過電流警告旗標 者過/皿度警告旗標其中任一者係為「i」,則流程驟 ⑽’進-步判斷電子元件33之卫作頻率是否為「低」料驟 例如可藉由處理器34偵測電子元件33之工作頻率,以進 其中’電子㈣33之頻率「高」或「低」係依據其 本身不同特性而設定。 雖;」0CA或0ΤΑ之旗標為「1」(步驟S59之判斷為「是), :疋」即工作頻率已為「低」頻率,則回到步驟S42。 I::::子元件33之工作頻率已經是在「低」頻率,因 須朴低其工作頻率,因為工作頻率過低的話,會造 成系統運作遲緩。 :目反地’如果步驟S6〇之判斷為「否」,亦即 :制:32會發出降低指令,以降低電子元件Μ之工作頻 ^。=言之’在步驟S61,控制器32對處理器34發出降低指 :降St34接收到降低指令之後’執行電腦程式351以達 成降低電子元件33之工作頻率,進而可達成電源管理之目 16 1270767 的0 過溫度警告旗护 厂’:」’处即過電流警告旗標與 斷電子元件“工作頻率;是;^^到步驟咖’進-步判 處理器34_電子元件33之工作頻如可藉由 當過電流警告旗標與過 :1斷。 表示知彗别不, 又s 口旗;^皆為「0」時,則 之進:二=否有過放電的情形發生。如果在步_If the determination in step S59 is "YES", that is, if the overcurrent warning flag flag pass/diffness warning flag is "i", then the process (10) proceeds to determine the security of the electronic component 33. For example, the operating frequency of the electronic component 33 can be detected by the processor 34 so that the frequency of the 'electronic (four) 33 is "high" or "low" is set according to its own different characteristics. Although the flag of 0CA or 0ΤΑ is "1" (the determination in step S59 is "YES", :疋", that is, the operating frequency is already "low", the process returns to step S42. The operating frequency of the I::::sub-element 33 is already at the "low" frequency, because the operating frequency is low, because the operating frequency is too low, which will cause the system to operate slowly. : If the judgment of step S6 is "No", that is: System: 32 will issue a lowering command to reduce the operating frequency of the electronic component. = In other words, in step S61, the controller 32 issues a lowering finger to the processor 34: after the lowering of the command 34, the computer program 351 is executed to achieve the lowering of the operating frequency of the electronic component 33, thereby achieving the power management objective 16 1270767 0 over temperature warning flag protector ':'' is the overcurrent warning flag and the electronic component "working frequency; is; ^^ to step coffee 'in-step judgment processor 34_ electronic component 33 working frequency Can be used when the over-current warning flag is over: 1 is off. It means that the ignorance is not, and the s-mouth flag; when all are "0", then the advance: 2 = no over-discharge occurs. If at step _
「低竭,而且智慧 :3:之工作頻率不是 此亦益須降低工二玄電:也2/又有過放電的情形發生,因 …、、低作頻率,流程即回到步驟S42。 …如:在步驟S62之進一步判斷為「是」,此時電子元件 工頻率是「低」頻率,而且智慧型電池2沒有過放 ^情形發生;接著㈣步驟S63,為了系 化’可回復電子元件33之工作頻率。詳言之吊 =器崎處理器34發出回復指令,處理器3^=复 ‘々之後,執行電腦程式351以達成回復電子元件犯"Exhaustion, and wisdom: 3: The working frequency is not the same. It is also necessary to reduce the work of the second power: also 2 / there is over-discharge situation, because ..., low frequency, the process returns to step S42. ... For example, if the determination in step S62 is YES, the electronic component frequency is "low" frequency, and the smart battery 2 is not over-discharged; then (d) step S63, in order to systemize the "recoverable electronic component" 33 working frequency. The hang of the details = the sakisaki processor 34 sends a reply command, the processor 3 ^ = complex ‘々, after executing the computer program 351 to achieve the reply electronic component
果步驟S59之判斷為The judgment of step S59 is
頻率。 F 本發明之流程可以在特定時間週期内重複讀取智慧型 電池2内之電流資料2〇1與溫度資料2〇2,因此,進行步驟· 與步驟S63之後,可以回到步驟S42,重複進行本發明之方 法流程,以控制電子元件3 3之工作頻率。 由此可知,本發明之方法與系統可藉由 電子元件33之工作頻率,以達成避免系、統過度^3,2^ 避免智慧型電池2超過額定之放電能力,進而可避免智慧型 電池2老化。 17 1270767 雖然本發明已以較佳實施例 限定本發明,任何熟習此技蓺 並非用以 和靶圍内,當可作些許之 m L4/ 和神 範圍當視後附之申請專,口此本發明之保護 T明寻利粑圍所界定者為準。 【圖式簡單說明】 圖1係傳統之智彗刑雷、% & μ Γ 内部之電池組電路示意圖。 圖Ζ係本發明之智彗刑 Μ 孫π始士义内部之電池組電路示意圖。 圖3Α係依據本發明之控制電子元 ^ 統,所繪製之系統示意圖。 ’、率之糸 圖3Β係依據本發明之斬左_ ^ ^ ^ 意圖。 之暫存盗,料製之暫存料'統示 圖4與圖5係依據本發明之抑 < 徑制電子兀件之工作頻率之 一貫施例之方法流程圖。 、手之 【主要元件符號說明】 φ 1、2、智慧型電池 η〜14 、 11,〜14, 、 21〜23 、 201、電流資料 31、系統管理匯流排 320、暫存器 320b、第二電流比較計數器 320d、第二溫度比較計數器 34、處理器 351、電腦程式 3、電腦 21〜23’ 、單位電池(Cell) 202、溫度資料 32、控制器 320a、第一電流比較計數器 320c、第一溫度比較計數器 3 3、電子元件 35、記憶體 18frequency. The flow of the present invention can repeatedly read the current data 2〇1 and the temperature data 2〇2 in the smart battery 2 in a specific time period. Therefore, after performing the step·and the step S63, the process returns to the step S42 and repeats. The method flow of the present invention controls the operating frequency of the electronic component 33. It can be seen that the method and system of the present invention can avoid the system and the system beyond the rated discharge capacity by the operating frequency of the electronic component 33, thereby avoiding the smart battery 2 Ageing. 17 1270767 Although the present invention has been defined by the preferred embodiments of the present invention, any skilled artisan is not intended to be used in the target area, and may be used as a minor application for the application of the L L4/ and the scope of the gods. The protection of the invention is defined by the definition of the definition. [Simple description of the diagram] Figure 1 is a schematic diagram of the battery circuit of the traditional Zhizhi 彗 、, % & μ Γ. Figure Ζ is the schematic diagram of the battery pack of the invention. Figure 3 is a schematic diagram of the system drawn in accordance with the control electronics of the present invention. ‘, rate 糸 Figure 3Β is based on the left _ ^ ^ ^ intent of the present invention. The temporary storage stolen, the material temporary storage material' is shown in Fig. 4 and Fig. 5 is a flow chart of the method for consistently applying the operating frequency of the radial electronic component according to the present invention. [Main component symbol description] φ 1, 2, smart battery η~14, 11,~14, 21~23, 201, current data 31, system management bus 320, register 320b, second Current comparison counter 320d, second temperature comparison counter 34, processor 351, computer program 3, computers 21 to 23', unit battery 202, temperature data 32, controller 320a, first current comparison counter 320c, first Temperature comparison counter 3 3, electronic component 35, memory 18