1246643 五 發明說明d) 【考又明所屬之技術領域屬 本發明是關於一種可充電雷、、★夕从 :i ί ΐ止的條件下使用微控制器判斷i;ί、也?別是在外 偵錯方法。 窀電池是否充電的 【先前技術】 笔電’也’提供人們在使用雷 斷問題,其便利^ I 口口上不用擔心電力_ 便利及環伴:,:;:重複使用性’更提升人們摔;:: 料的增益,充電電池應幅=及充電電池相 已不再侷限於如音響等小型家電,而是=:操作面上, 動機車等大型運輸工具,因此,如何;:運… 充電成為一項相當重要技術。 有 >文炫 利用充電裝置對充電電池 熟知’就如同一般充電裝置接 對充電電池進行充電,但市面 檢測充電電池的品質,如中華 池充電裝置,電池組充電方法 池胞之電池組充電,電池組可 電流之數位資訊和最大充電電 池作充電,並無法自我檢測充 進行充電之技藝,早已為人所 收外加電力,並轉換成直流電 上大多的充電裝置都無法自我 民國專利公報第5 074 1 2號「電 ,及電池組」,用以對具有電 儲存於表示電池胞之最大充電 壓之數位資訊,只針對充電電 電電池的好壞。 請參閱中華民國專利公報第5 3 3 6 4 6號「電池充電系統及 其電池充電裝置」’係為'一種電池充電裝置’利用"電力接 收器將一外部感應電壓轉換成直流電壓,以供給充電電池所 需的能源,一微控制器利用演譯法程式做規劃,用以監測供1246643 V OBJECT DESCRIPTION d) [Technical field to which the test belongs is a chargeable mine, and the use of a microcontroller to judge i from the condition of i ί ΐ; Don't be out of the way.窀Do you charge the battery? [Previous technology] The notebook also provides people with the problem of using lightning. The convenience of the port is not to worry about the power _ convenience and ring partner:,:;: reusability' to improve people's fall; :: The gain of the material, the rechargeable battery should be = and the rechargeable battery phase is no longer limited to small appliances such as audio, but = large operation vehicles such as operating surfaces, mopeds, etc., therefore, how to: A very important technology. There is > Wenxuan uses the charging device to know the rechargeable battery. Just like the general charging device charges the rechargeable battery, but the quality of the rechargeable battery is detected in the market, such as the Zhonghua pool charging device, the battery charging method of the battery charging method, The battery pack can exchange the digital information of the current and the maximum rechargeable battery for charging, and can not self-detect the charging and charging technology. The electric power has been collected and converted into a direct current. Most of the charging devices cannot be self-made. The Republic of China Patent Gazette No. 5 074 No. 1 "Electricity, and battery pack" is used to store digital information indicating the maximum charging voltage of the battery cells, which is only for the quality of the rechargeable battery. Please refer to the Republic of China Patent Gazette No. 5 3 3 6 4 "Battery Charging System and Battery Charging Device" as a 'battery charging device' that uses an electric receiver to convert an externally induced voltage into a DC voltage. To supply the energy required to charge the battery, a microcontroller uses a translation program to plan for monitoring
1246643 五、發明說明(2) 給充電電池的電壓及電流,另依充電電池的充電狀態產生一 控制信號,供給充電電池適當充電的定電壓與定電流,但是 微控制器只監測供給充電電池的電壓及電流,並無法檢查充 電電池的好壞,再則,中華民國專利公報第522 624號「電池 充電裝置、電池組及二次電池的充電方法」,包含多個電池 的插入部分,即插入多個具有充電控制功能以控制二次電池 之充電的電池組,此訴求的重點也僅於提供電池的充電動 作,並不能對充電電池進行檢測動作。 此外,目前用以偵測充電電池充電電量多採充電狀態下 直接進行檢測,由於充電器同時接收到外加電力及充電電池 電量值,因此在測定上往往受到外加電力的干擾而影響其精 確性,也就是高估充電電池電量值,由於使用者所獲得電量 訊息並非是精確值,當然在判斷充電電池實際使用時間也是 錯誤判斷,根據上述說明可以瞭解,習知的技藝並無法判讀 充電電池是否裝置適當,常造成能源的浪費與時間的等待, 有鑑於此,本發明構思出一套完整的偵測方法,可解決習知 技藝的不足。 【發明内容】 本發明之目的在提出一種可充電電池之偵錯方法,使用 微控制器判斷充電電池是否可充電。 本發明所提出的可充電電池之偵錯方法,依據微控制器 設定的輸出值、偵測動作及參考電壓,搜尋充電電池進入充 電系統的時間,並檢示電池是否裝置適當,另由微控制器内 部的運算邏輯判斷是否繼續充電,藉此提高充電動作的確實1246643 V. Description of invention (2) The voltage and current of the rechargeable battery are generated according to the state of charge of the rechargeable battery, and the fixed voltage and constant current of the rechargeable battery are appropriately charged, but the microcontroller only monitors the supply of the rechargeable battery. Voltage and current, and it is impossible to check whether the rechargeable battery is good or bad. In addition, the Republic of China Patent Gazette No. 522 624 "Battery charging device, battery pack and secondary battery charging method" includes a plurality of battery insertion portions, that is, insertion A plurality of battery packs having a charge control function to control the charging of the secondary battery are focused on providing a charging operation of the battery and failing to detect the rechargeable battery. In addition, at present, it is used to detect the charging power of the rechargeable battery, and the detection is directly performed. Since the charger receives the applied power and the value of the charged battery at the same time, the measurement is often affected by the interference of the external power, thereby affecting the accuracy. That is to say, the value of the rechargeable battery is overestimated. Since the power message obtained by the user is not an accurate value, of course, it is wrong to judge the actual use time of the rechargeable battery. According to the above description, it is understood that the conventional technique cannot determine whether the rechargeable battery is installed. Appropriate, often causing waste of energy and waiting for time, in view of this, the present invention contemplates a complete detection method that can solve the deficiencies of the prior art. SUMMARY OF THE INVENTION An object of the present invention is to provide a method for detecting a rechargeable battery, which uses a microcontroller to determine whether a rechargeable battery is chargeable. The method for detecting the rechargeable battery of the present invention searches for the time when the rechargeable battery enters the charging system according to the output value, the detecting action and the reference voltage set by the microcontroller, and detects whether the battery is properly installed, and is further controlled by the micro control. The internal logic of the device determines whether to continue charging, thereby improving the accuracy of the charging operation.
1246643 五、發明說明(3) 性之效果。 本發明另一目的在外加電力停止的條件下對充電電池進 行偵錯動作。 【實施方式】 有關本發明的較佳實施例與技術内容,茲配合圖式說明 如下: 請參閱「第1圖」所示,係為本發明之架構圖,其包含 有: 一外加電力1 0 ,係為一般室内交流電力(如交流電1 1 0 伏特); 一微控制器1 1 ,係為本發明的核心,用以判斷與操控 一切的充電動作; 一充電系統1 2 ,係為一充電裝置,作為微控制器1 1 輸出訊號的介面;以及 一充電電池1 3 ,係為一鉛酸電池、一鎳氳電池或鎳鎘 電池; 請同時參閱「第2圖」所示,係為本發明之充電電池偵 測方法的流程圖,其包含有: A、 由微控制器1 1内部之B 10S設定對搜尋充電電池1 3狀態的輸出值,以搜尋充電電池1 3的電壓初始值; B、 由微控制器1 1針對輸出值,在短時間(約2〜3秒)搜 尋充電電池1 3進入充電系統1 2的狀態; C、 微控制器1 1輸出偵測動作檢查充電系統電壓有無 變動,利用系統電壓的變動性判斷充電電池1 3是否裝置不1246643 V. Description of invention (3) Effect of sex. Another object of the present invention is to perform a debugging operation on a rechargeable battery under the condition that the applied power is stopped. [Embodiment] The preferred embodiments and technical contents of the present invention are described below with reference to the following drawings: Please refer to the "Figure 1", which is an architectural diagram of the present invention, which includes: an applied power 1 0 It is a general indoor AC power (such as AC 1 1 volt); a microcontroller 1 1 is the core of the invention to judge and control all charging actions; a charging system 1 2 is a charging The device serves as an interface for outputting signals of the microcontroller 1 1; and a rechargeable battery 13 is a lead-acid battery, a nickel-niobium battery or a nickel-cadmium battery; please also refer to "Fig. 2" A flowchart of a method for detecting a rechargeable battery according to the present invention includes: A. setting an output value for searching for a state of the rechargeable battery 13 by a B 10S inside the microcontroller 1 1 to search for an initial value of the voltage of the rechargeable battery 13; B. The microcontroller 11 searches for the state in which the rechargeable battery 13 enters the charging system 1 2 for a short time (about 2 to 3 seconds); C. The microcontroller 11 outputs a detection action to check the charging system voltage. With or without changes The variability of the voltage determines whether the rechargeable battery 1 3 is not installed.
1246643 :、發 適當?若a θ D、匕:則進入步驟j’若為否,則繼續下-步驟; (充電時::糸統1 f對充!電池13進行第-次充電動作 值為第—充電電壓(V1) ; 幻3電壓 否小於步=控制器1 1預設一參考電壓,判斷參考電壓是 j,若為否之第一充電電壓(V1)?若為是,則進入步驟 马否,則繼續下一步驟; 二Λ、Λ電/統12再對充電電池13進行較長時間的第 電動作(約1 0分鐘),微控制器1 ] 3電壓值為第二充電電壓(V2) ; 。1 H己錄充電電池1 為是G,則由繼微A制一V 1偵測步驟?的充電時間是否終止?若 、、、、、’下一步驟,若為否,則重回步驟F · 益變V,微上制器11再輸出偵測動作檢查充電系統電壓有 ί適ί” Λ糸統電壓的變動性判斷充電電池13是否裝置 田·右為疋,則進入步驟j,若為否,則繼續下一步驟· 盘第二充由Λ控「制器、11的運算邏輯單元對第一充電電壓值 是否小於5^值做減法運算’判斷兩電壓值相減後的數偵 步驟Μ ;、或專於〇?若為是,則進入步驟Κ,若為否,則進入 J、睡眠模式,更換充電電池1 3 ; 態 κ、電池損壞模式,檢示充電電池1 3是否損壞;以及 充電模式’若上述步驟檢查無問題則進入充電狀 中本發明之偵錯模式皆在外加電力停止時進行,且1246643 :, send appropriate? If a θ D, 匕: then go to step j', if no, continue to the next step; (At the time of charging:: 1 1 f to charge! The battery 13 performs the first charging action value as the first - charging voltage (V1 ; Magic 3 voltage is less than step = controller 1 1 preset a reference voltage, determine the reference voltage is j, if not the first charging voltage (V1)? If yes, then enter the step horse no, then continue One step; the second battery, the power/system 12 and then the charging battery 13 for a longer period of electrical action (about 10 minutes), the microcontroller 1 ] 3 voltage value is the second charging voltage (V2); If the H-recorded rechargeable battery 1 is G, is the charging time of the V 1 detection step of the micro-A system terminated? If,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,益V, micro controller 11 re-outputs the detection action to check the charging system voltage. 变动 ί 电压 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电 充电Then, proceed to the next step. The second charge of the disk is controlled by the controller, and the arithmetic logic unit of the 11 is used to reduce the value of the first charging voltage by less than 5^. Calculate 'the number of detection steps after the two voltage values are subtracted; or specializes in 〇? If yes, go to step Κ, if no, enter J, sleep mode, replace the rechargeable battery 1 3; κ, Battery damage mode, detecting whether the rechargeable battery 13 is damaged; and charging mode 'If the above steps are checked without problems, then entering the charging mode, the debugging mode of the present invention is performed when the external power is stopped, and
1246643 五、發明說明(5) 作於定電流模式(C · C.);關於前述之步驟I之數值小於或等 於0係為負電壓狀態,若數值大於0係為正電壓狀態,而步驟 J藉由微控制器1 1執行「第3圖」所示的步驟,包含有: J 1 、睡眠模式,將上述判斷充電電池1 1的結果進入 睡眠模式; J 2 、由微控制器1 1 (如第1圖所示)内部的B I 0S清除 所有的設定值與運算值;以及 J 3、結束偵測步驟,更換新的充電電池。 請參閱「第1,4圖」所示,上述之步驟K藉由微控制器1 1執行「第4圖」所示的步驟完成,包含有: K 1 、藉由「第2圖」步驟I的判斷進入電池損壞模 式; K 2 、由微控制器1 1輸出偵測動作檢查充電系統電壓 有無變動,利用系統電壓的變動性判斷充電電池1 3是否裝 置不適當?若為是,則進入步驟J ,若為否,則繼續下一步 驟;以及 K 3、透過顯示裝置顯示充電電池1 3錯誤訊息。1246643 V. Description of the invention (5) In the constant current mode (C · C.); the value of the above step I is less than or equal to 0 is a negative voltage state, if the value is greater than 0 is a positive voltage state, and step J The microcontroller 1 1 executes the steps shown in FIG. 3, including: J 1 , a sleep mode, and the result of determining the rechargeable battery 1 1 is entered into a sleep mode; J 2 , by the microcontroller 1 1 ( As shown in Figure 1, the internal BI 0S clears all set values and calculated values; and J 3, ends the detection step, and replaces the new rechargeable battery. Please refer to "Figure 1, 4". Step K above is performed by the microcontroller 1 1 to execute the steps shown in Figure 4, including: K 1 , by Step 2 of Figure 2 The judgment enters the battery damage mode; K 2 , the output of the detection function of the microcontroller 1 1 checks whether the voltage of the charging system changes, and determines whether the rechargeable battery 13 is improperly used by the variability of the system voltage. If yes, proceed to step J. If no, proceed to the next step; and K3, display the rechargeable battery 13 error message through the display device.
1246643 圖式簡單說明 【圖式簡單說明】 第1圖,為本發明之架構圖。 第2圖,為本發明之充電電池偵錯流程圖 第3圖,為本發明之睡眠模式流程圖。 第4圖,為本發明之電池損壞模式流程圖 【圖式符號說明】 10 ......外加電力 11 ......微控制器 1 2......充電系統 1 3......充電電池1246643 Brief description of the drawing [Simplified description of the drawing] Fig. 1 is an architectural diagram of the present invention. Fig. 2 is a flow chart of the charging battery debugging of the present invention. Fig. 3 is a flow chart of the sleep mode of the present invention. Figure 4 is a flow chart of the battery damage mode of the present invention [schematic description] 10 ... external power 11 ... microcontroller 1 2 ... charging system 1 3 ......Rechargeable Battery
第10頁Page 10