1307991 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種熱插拔電路,尤指一種適用於行動 裝置中提供熱插拔功能以更換電池之電路。 【先前技術】 丨傳統的行動裝置(例如:筆記型電腦、個人數位助理、 1 或隨身聽等)都利用單一顆電池提供電力。因此,在使用 者將行動裝置開機(turn on)來工作的過程中,常常遭遇行動 10裝置中電池電力不足,導致使用者必須先中斷目前的工 作,並將行動裝置關機(turn 〇ff)後,再更換一顆新的電池, 才能再重新啟動行動裝置來使用。 另外4刀的行動裝置没有溫插拔(Warm swap)電池的 功能,其利用一顆主電池搭配一顆備用電池組裝在行動裝 15置中以在使用者將行動裝置開機(turn on)來工作的過程 中,當行動裝置遭遇電池電力不足情況時,使用者同樣必 須中斷目前的動作,並操作行動裝置進入一暫停模式 (suspend mode)中,然後再更換一顆新的電池,接著退出暫 停模式(suspend mode)後’才能再重新啟動行動裝置。 2〇 由上所述可知’習知的行動裝置並無法達到在系統開 機或非暫停(not suspend)的狀態下直接熱插拔更換電池的 功能’故當行動裝置中發生電池電力不足時,使用者必須 中斷目刖的工作並進入暫停模式(suspend m〇de) '或是將行 5 1307991 因此造成使 動裝置關機(turn 0ff),之饴 ; <後才忐更新的電池 用上的不便,而有予以改進之必要。 【發明内容】 本發明之主要目的传,择彳址 糸在k供一種竹動裝置提供熱插拔 電池功能之電路’俾能提供使用者之行動裝置在開機⑽η 叫或非暫停(誠的狀態下即時熱插拔(hot swap)新 的電池。 \ ^ ’ 10 15 20 為達成上述目的’本發明之行動裝置提供熱插拔電池 —此之電路包括主電池、—備用電池、—電池選擇單 几、一肷入式控制單元、及一電池鎖固開關。其中,電池 鎖固開關轉接至該主電池與一故入式控制單元,係用以鎖 固該主電池於該行動裝置上;電池選擇單元係電連接至爷 2電池與該備用電池;嵌入式控制單元係電連接至該電池 選擇早π,並於該行動裝置開機時,監控該電池鎖固開關 =狀態,當電池鎖固開關鎖固該主電池時,控制電池選擇 單元切換為由主電池提供電力至行動裝置,而當電池鎖固 開關已解除鎖固主電池時,控制電池選擇單元切換為由備 用電池提供電力至行動裝置。 &上述之行動裝置提供熱插拔電 池功能之電路中,電 池選擇單元係以選擇主電池及備用電池至少其中之—,r 提供提供電力至行動裝置。 以 6 !3〇799l 於上述之竹動裝置提供熱插拔電池功能之電路中,更 包括有-直流電源轉換器,係電連接主電池及備用電池以 輪出一穩定之直流電麼。 於上述之行動裝置提供熱插拔電池功能之電路中,當 行動裝置利㈣備用電池提供電力時,欲人式控制單元: 系統控制所下之參數或預設之參數,關閉元件之基本功能。 一於上述之行動裝置提供熱插拔電池功能之電路中,當 订動裝置利用備用電池提供電力#,可在非關機狀態下, 直接更換新的主電池。 於上述之行動裝置提供熱插拔電池功能之電路中,當 行動裝置利用備用電池提供電力時,可在非休眠之狀: 下’直接更換新的主電池。 【實施方式】 15 清參照圖1所示,為本發明之行動裝置提供熱插拔電池 功能之電路系統架構圖,其主要由-主電池卜-備用電池 匕'-電池選擇單元3、一嵌入式控制單元4、—充電單元5、 直流電源轉換器6以及一電池鎖固開關7所構成。其中, 電池鎖固開關7係用以將主電池i鎖固於行動裝置中,且電 池鎖:開關7耦接於該嵌入式控制單元4,以使得該嵌入式 控制单元4能夠感測電池鎖固開關7為鎖固或解除之狀態。 =選擇單元3係'電連接至主電池丨與備用電池2。彼入式控 ;早^係電連接至電池選擇單元3及系統元件電源開 1省电開關···等。其中,系統元件電源開關及省 20 1307991 依據系統參數或預設參數值之控制,控制 二刀系統元件,以達到省電之目的。例如,調降行 裝置之顯不螢幕亮度、或關閉味卜八的輸出的功能等 5 10 15 用雷1兀5係電連接至電池選擇單元3、主電池1及傷 電池2。直流電源轉換器6係電連接主電池!及備用電池 2’以輸出-穩定之直流錢,俾供電至行動裝置。 在本實施例中,行動裝置係為一台手持式無線平板電 ^Tablet PC)。為了達到熱插拔電池的目的,行動裝置中 係同時裝設-顆主電池认一顆備用電池2,其中,備用電 池2具有和主電池i相同的輸出電麼值,而容量備用電池為 主電池之-半’依據電池充放電特性,如此使備用電池能 承受系統負載,提供行動裝置相同的電力。在本實施例中, ,以外接電源進行充電、或是啟動行動裝置工作時,充電 單元5中預設優先權為對備用電池2進行充電。除此之外, ^發明亦可透過據使用者實際的需求,以指令方式對充電 單疋5的預設優先權進行修改,修正為為優先對主電池丄進 行充電。 月il述電池選擇單元3電連接至主電池丨與備用電池2,電 池選擇單元3用以切換由主電池丨或備用電池2其中之一以 20提供電力至行動裝置。嵌入式控制單元4内部預設有一處理 程序,於行動裝置開機時,監控主電池丨及備用電池2之電 力狀態’並偵測電池鎖固開關7之狀態。 圖2為本發明之在行動裝置提供熱插拔電池功能之使 用流程圖,併請參照圖1所示之系統架構圖,首先,當行動 1307991 、由上所述可知,本發明之於行動裝置中提供熱插拔電 力此之電路係'藉由以敬人式控制單元感測電池鎖固開關 為鎖固或解除之狀態,巾自動切換為由主電滅備用電池 ^電據此月匕提供使用者在行動裝置開機(_⑽)或非暫 t(_叫叫的狀態下直接熱插拔㈣請㈣更換新的電 池*’而不影響原來的動作。 上述實施例僅係為了方# j乃使5兄明而舉例而已,本發明所BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hot-swap circuit, and more particularly to a circuit suitable for providing a hot-swap function in a mobile device to replace a battery. [Prior Art] Traditional mobile devices (such as laptops, personal digital assistants, 1 or walkmans) use a single battery to provide power. Therefore, in the process of the user turning the mobile device on, the device often encounters insufficient power in the device 10, causing the user to interrupt the current work and shut down the mobile device (turn 〇 ff). , then replace a new battery, in order to restart the mobile device to use. The other 4-knife mobile device does not have the function of a Warm swap battery. It is assembled in the mobile device 15 with a main battery and a spare battery to work when the user turns the mobile device on. During the process, when the mobile device encounters a battery power shortage, the user must also interrupt the current action, and operate the mobile device into a suspend mode, then replace a new battery, and then exit the pause mode. After (suspend mode), you can restart the mobile device. 2. As can be seen from the above, 'the known mobile device cannot achieve the function of directly hot swapping and replacing the battery when the system is powered on or not suspend'. Therefore, when the battery power is insufficient in the mobile device, use The user must interrupt the job and enter the suspend mode (suspend m〇de) 'or the line 5 1307991 thus causing the device to shut down (turn 0ff); then; after the updated battery is inconvenient And there is a need to improve. SUMMARY OF THE INVENTION The main purpose of the present invention is to provide a circuit for providing a hot-swappable battery function for a bamboo moving device, which can provide a user's mobile device at booting (10) η or non-suspended (sincere state) Immediately hot swap new battery. \ ^ ' 10 15 20 To achieve the above purpose, the mobile device of the present invention provides a hot-swappable battery - the circuit includes a main battery, a backup battery, a battery selection list a plurality of intrusion control units and a battery lock switch, wherein the battery lock switch is transferred to the main battery and an accidental control unit for locking the main battery on the mobile device; The battery selection unit is electrically connected to the battery 2 and the backup battery; the embedded control unit is electrically connected to the battery selection early π, and when the mobile device is powered on, monitors the battery lock switch=state, when the battery is locked When the switch locks the main battery, the control battery selection unit switches to supply power from the main battery to the mobile device, and when the battery lock switch has unlocked the main battery, the battery selection unit is controlled In turn, the battery is powered by the backup battery. The above-mentioned mobile device provides a hot-swappable battery function. The battery selection unit selects at least one of the main battery and the backup battery, and provides power to the mobile device. In the circuit that provides the hot-swappable battery function in the above-mentioned bamboo moving device, it also includes a DC power converter, which is electrically connected to the main battery and the backup battery to turn off a stable DC power. The above-mentioned mobile device provides a function of hot-swapping battery function. When the mobile device provides power for the backup battery, the human control unit: the system controls the parameters or preset parameters, and closes the basic functions of the component. In the circuit for providing the hot-swappable battery function in the above mobile device, when the binding device uses the backup battery to provide the power #, the new main battery can be directly replaced in the non-off state. The hot-swappable battery is provided in the above mobile device. In the function circuit, when the mobile device uses the backup battery to provide power, it can be in the non-sleep state: [Embodiment] 15 is a circuit system diagram for providing a hot-swappable battery function of the mobile device of the present invention, which is mainly composed of a main battery-backup battery 匕'-battery selection unit 3, An embedded control unit 4, a charging unit 5, a DC power converter 6, and a battery lock switch 7. The battery lock switch 7 is used to lock the main battery i in the mobile device, and the battery The lock 7 is coupled to the embedded control unit 4 to enable the embedded control unit 4 to sense the state in which the battery lock switch 7 is locked or released. The selection unit 3 is electrically connected to the main battery. With the backup battery 2. The input control; the early connection is connected to the battery selection unit 3 and the system component power supply 1 power-saving switch ··· etc. Among them, the system component power switch and the province 20 1307991 according to system parameters or presets The control of the parameter value controls the components of the two-knife system to achieve the purpose of power saving. For example, the function of reducing the brightness of the display device or the function of turning off the output of the taste meter, etc. 5 10 15 is electrically connected to the battery selection unit 3, the main battery 1 and the damage battery 2 by the lightning 兀5 system. The DC power converter 6 is electrically connected to the main battery! and the backup battery 2' is supplied to the mobile device with output-stable DC money. In this embodiment, the mobile device is a handheld wireless tablet PC). In order to achieve the purpose of hot-swapping the battery, the mobile device is provided with a primary battery and a backup battery 2, wherein the backup battery 2 has the same output power value as the main battery i, and the capacity backup battery is mainly used. The battery's - half' is based on the battery's charge and discharge characteristics, so that the backup battery can withstand the system load and provide the same power for the mobile device. In this embodiment, when the external power source is charged or the mobile device is activated, the preset priority in the charging unit 5 is to charge the backup battery 2. In addition, the invention can also modify the preset priority of the charging unit 5 by command according to the actual needs of the user, and correct it to preferentially charge the main battery. The battery selection unit 3 is electrically connected to the main battery pack and the backup battery 2, and the battery selection unit 3 is configured to switch one of the main battery pack or the backup battery 2 to supply power to the mobile device. The embedded control unit 4 internally presets a processing program for monitoring the power state of the main battery pack and the backup battery 2 when the mobile device is turned on, and detecting the state of the battery lock switch 7. 2 is a flow chart showing the use of the hot-swappable battery function of the mobile device according to the present invention, and referring to the system architecture diagram shown in FIG. 1. First, when the action is 1307991, as described above, the present invention is applied to the mobile device. The circuit for providing hot-swappable power is 'by locking the battery lock switch to the state of locking or releasing the battery control switch, and the towel is automatically switched to be replaced by the main battery. When the mobile device is turned on (_(10)) or not temporarily t (in the state of yelling, it is directly hot-swapped (4), please (4) replace the new battery*' without affecting the original action. The above embodiment is only for the party #j乃Let the 5 brothers give an example, the present invention
主張之權利範圍自應以申&皇 — ^ 甲明專利乾圍所述為準,而非僅限 於上述實施例。 10 【圖式簡單說明】 置提供熱插拔電池功 圖1係本發明一較佳實施例之行動裝 能之電路系統架構圖。 1 15 圖2係本發明一 能之使用流程。 較佳實施例之行動褒置提供熱插拔The scope of the claims is based on the application of Shen & Emperor, and is not limited to the above embodiments. 10 [Simple Description of the Drawings] Providing Hot-Plug Battery Function FIG. 1 is a circuit system architecture diagram of a mobile device according to a preferred embodiment of the present invention. 1 15 Figure 2 is a flow chart of the use of the present invention. The action device of the preferred embodiment provides hot swap
【主要元件符號說明】 備用電池 嵌入式控制單元 直流電源轉換器 主電池 2 電池選擇單元4 充電單元 6 電池鎖固開關[Main component symbol description] Backup battery Embedded control unit DC power converter Main battery 2 Battery selection unit 4 Charging unit 6 Battery locking switch