1375378 九、發明說明: 【發明所屬之技術領域】 本發明是-種魏管理裝·方法,_是—種咖設似其電源管 理裝置與方法。 【先前技術】 科技日益妙,許多電子設備為了使内部所儲存崎料能夠不斷地更 新’因此越來電子設備具有能與電腦互相連接,*下載或傳輸資料的 功能。電腦透過網際網路下載多樣化的内容,例如:新版驅動程式、新版 資料庫或多媒體髓等。電子設備再藉由與電腦互相連接,將電腦中的資 料儲存至該設備t。罐該設備適時擴充魏_妓μ富的資料供使 用者應用。 通用串列匯流排(Universal serial Bus,USB)具備連接單一化、軟體自動 偵測及熱插拔等功能。因為上述的優點,使得USB成為目前電子設備與電 腦連接時,經常使用的介面。電子設備一般都配置有電池,以供應電子設 備的電力需求。當電子設備透過USB與電腦連接時,電子設備本身可能因 為電池的電力不足,而必須使用到電腦的電源才能操作電子設備進行下載 或傳輸資料等的動作。電腦端(USB Host端)所能提供的電流限度约為 500mA,超過500mA以上的電流電腦端便無法提供。 一般傳統的作法,USB設備需要一顆通用串列匯流排充電積體電路 (USB charger丨C)。請參照「第1圖」為習知技術USB充電積體電路示音 圖。「第1圖」所示之USB充電積體電路A10為德州儀器產品,ic編號 bq24020。USB設備透過USB埠與雷胞 “ -鵰端運接,错由USB充電積體電路 A10 ’轉換來自電腦端交流電源供應的 、叼包源,對USB設備充電。至少需要 100mA的充電電流來對USB設備的恭 电池組進订充電的動作。此時,若是 USB設備需.要與電腦進行資料傳輪時 ^電腦端所提供的電流將無法同時負 荷充電所需電额USB設備稍•純消耗綠。此時,恐怕會造成 ⑽設備齡關機献傳輸巾的資料毀損而無法讀取等問題。 加上,咖設備中多增加-顆USB充電1C勢必會造成成本的增加, 且需要額外的空間來配置該USB充電|c。因此,如何不需額外增加咖 充電K:,便能解決㈣設備與電腦連接傳輸資料時,⑽設備電源不足所 造成的問題,為一重要的議題。 . 【發明内容】 有鑑於此本發明提出一種USB設備及其電源管理裝置與方法,當咖 設備與電腦端進行資料傳輸時,Μ考慮⑽雜的電源是奸足,—樣 可以進行資料的傳輸動作。不會因為傳輸時的耗電造成usb設備電力不 足’而讓傳輸巾的餅毀損或是造成硬體補等情形,且不需要多增加一 顆USB charger ic便可達到此功能。也因為不需增加⑽設備的元件與成 本’讓USB設備的祕板財不需歡,增加圖設備在市場上競爭力。 本發明所提出的-種USB電源f理裝置,制於⑽設備,該_ 认備包含電池與積體電路(丨〇,並連接於織輸人電源之電腦,該哪電 源s理裝置包含:逆流保護電路、隔誠路及轉換電路。 逆流保護魏連接在電腦與USB設備之間,⑽防止輸人電源由咖 1375378 . 賴回流至€腦。隔離電路連接錢獅護電路與電池之隔離輸 .人電_電池,闕免.電源對電池進行充電。轉換電路轉換輸入電源 為工作電源,用以供應積體電路之運作。 本發明所提出的-種USB電源管理村,包含下列步驟。由電腦供應 輸入電源至USB設備=防正輸入電源由咖設谎回流至電腦。隔離輪入電 源與USB稍之電池,避免輸人電轉電池進行充電。繼輸人電源為工 作電源’用以織瞻設備之積體電路的運作。 有關本發_較佳實酬及其姐,纽合圖式說明如后。 【實施方式】 • · 4參照「第2 ®」S USB設備與電腦連接示意圖。USB設備1與電腦 2互相連接,當USB設備電力不足時,便可由電腦2供應輸入電源予㈣ 設備卜其中,USB設備1為能夠與電腦透過贈槔互相連接,而傳輸資 料的電子1^備’例如:掌上類放器、電職典或PDA等。 USB設備1包含:USB電源管理裝置12、電池14、積體電路⑻)】6。 • 電池14為一般USB設備所具備的元件之一,主要是當USB設備沒有外來 的供應電源(例如:與電腦2連接由電腦供應電源’或外接變壓器直接使用 ' 市電供應電源)時,可以由電池14供應USB設備運作所需的電源。 - 和體電路16主要負責USB設備1運作的基本功能,例如:假設usb 設備1為掌上型播放器,積體電路16便具有播放多媒體資料,以及與電腦 間傳輸'下載多媒體資料的功能。 USB電源管理裝置丨2包含逆流保護電路丨μ、隔離電路丨24及轉換電 工375378 路126。逆流保護電路122連接在電腦2與USB設備1之間,用以防止電 ‘ 腦2傳送至USB設備1的輸入電源’由USB設備1回流至電腦2。 -· 請參照「第3圖」逆流保護電路示意圖。逆流保護電路主要的功能為 . 防止電腦2的輸入電源由USB設備1回流至電腦2、如此,恐會造成電腦 2的糸統損壞,或是USB設備1在已經電力不足的情況下,因為逆流的發 生而更加消耗電源。逆流保護電路122包含一顆二極體1222。二極體1222 具有正向電流導通,反向電流截止的基本特性。所以,將二極體U22的正 φ 極連接電腦2 ’負極連接USB設備1。如此,可以達成電腦2將輸入電源 傳送至USB設備1的電流為正向電流,所以輸入電源可以順利供應給咖 -設備卜相對的,如果電流由⑽設備丨流至電腦2屬於反向電流,此時 -極體處於反向電流截止的狀態。因此,電流無法由USB設備1逆流回電 腦2 ’而達到逆流保護的功能。上述電腦2所供應的輸入電源為$伏特,透 過逆流保護電路122傳送至USB設備]的電源輸入端,因此電源輸入端接 收到5伏特的電源。 • 隔離魏124連接在逆流保護電路122與電池]4之間,用以隔離輸入 電源與電池14 ’以避免輸入電源對電池14進行充電。以往傳統技術,咖 . 設備具備USB充電1C ’當USB設備與電腦連接時,若是USB設備電力不 • 足’便會由電腦提供輸人電源^ USB設備。此時,《除了供應操作USB 與電腦間的傳輸資料的動作外,還會對⑽設備的電池進行充電。也就是 因為電腦供應至USB設備的輸人電齡對電池進行統,因此容易超過電 月a所月b提供的電流限度,而超過負荷造成⑽設備當機或傳輸資料毀損。 13.75378 加上電池充電時,必須具備電池電流容量—半以上的充電電流才可以對 電池進行充電。市售USB設備有搭配刚mA的電池,所以要對該電池進 行充電’必須具有·mA的充電電流,早已超過電腦所能提供的電流限度 。所以,本發明提出隔離電路124,t⑽設備】與電腦2連接而 接收電腦的輪入電源時,避免輸入電源對電池丨4進行充電。因此電腦2 所傳送的輸入電源,完全供應給USB設備丨之運作(例如:資料傳輸等)所1375378 IX. Description of the Invention: [Technical Field of the Invention] The present invention is a kind of Wei management device and method, and is a power management device and method. [Prior Art] Technology is becoming more and more sophisticated, and many electronic devices are constantly being updated in order to keep the internal stored material. Therefore, the electronic device has the function of being able to connect with a computer, and to download or transfer data. Computers download a variety of content over the Internet, such as new drivers, new databases, or multimedia. The electronic device then stores the data in the computer to the device by interconnecting it with the computer. The tank can be used to expand the Wei_妓μ rich data for the user's application. The Universal Serial Bus (USB) has the functions of connection singularity, software automatic detection and hot plugging. Because of the above advantages, USB has become an interface that is often used when electronic devices are connected to computers. Electronic devices are typically equipped with batteries to supply the power requirements of the electronic equipment. When an electronic device is connected to a computer via USB, the electronic device itself may have to use the power of the computer to operate the electronic device for downloading or transferring data, etc., due to insufficient power of the battery. The current limit provided by the computer (USB Host) is about 500mA, and the current of more than 500mA is not available on the computer. In the conventional practice, a USB device requires a universal serial bus charging integrated circuit (USB charger 丨 C). Please refer to "Figure 1" for a conventional USB charging integrated circuit diagram. The USB charging integrated circuit A10 shown in "1" is a Texas Instruments product, ic number bq24020. The USB device is connected to the thunderbolt by the USB port, and the USB charging integrated circuit A10' converts the source of the AC power supply from the computer to charge the USB device. At least 100mA of charging current is required. The charging device of the USB device is ordered to charge. At this time, if the USB device needs to be used for data transmission with the computer, the current supplied by the computer will not be able to simultaneously charge the required amount of power. The USB device is slightly consumed. At this time, I am afraid that it will cause (10) equipment age shutdown, the data of the transport towel is damaged and cannot be read. In addition, the increase in the number of coffee devices - USB charging 1C is bound to increase the cost, and requires additional space. To configure the USB charging |c. Therefore, how to solve the problem caused by (10) insufficient power supply of the device when the device is connected to the computer to transmit data is not necessary, and it is an important issue. In view of the above, the present invention provides a USB device and a power management device and method thereof. When the coffee device and the computer end perform data transmission, it is considered that the (10) miscellaneous power supply is a slap in the foot, It can carry out the data transmission action. It will not cause the power of the usb device to be insufficient due to the power consumption during transmission, and the cake of the transmission towel will be damaged or cause the hardware to be supplemented, and it is not necessary to add a USB charger ic. This function also because there is no need to increase (10) the components and cost of the device 'to make the secrets of the USB device do not need to be happy, increase the competitiveness of the graphics device in the market. The USB power supply device proposed by the present invention is (10) Equipment, the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Between the computer and the USB device, (10) to prevent the input power from the coffee 1375378. Lai back to the brain. The isolation circuit connects the money lion protection circuit and the battery isolation. Human power _ battery, forgive. Power to charge the battery. The conversion circuit converts the input power source into a working power source for supplying the operation of the integrated circuit. The USB power management village proposed by the present invention comprises the following steps: inputting power from the computer to the USB device = The anti-positive input power is returned to the computer by the coffee lie. The isolation wheel is connected to the power supply and the battery is slightly connected to the USB to avoid charging the battery to charge the battery. After the input power is the working power supply, the operation of the integrated circuit for the device is used. The following is a description of the connection between the USB device and the computer. The USB device 1 and the computer 2 are connected to each other. When the power of the USB device is insufficient, the input power can be supplied from the computer 2 to the device. The USB device 1 is an electronic device capable of transmitting data through the connection with the computer, for example: a handheld device, and a battery. The job title, PDA, etc. The USB device 1 includes: a USB power management device 12, a battery 14, and an integrated circuit (8)). • Battery 14 is one of the components of a general USB device, mainly when the USB device has no external power supply (for example, if the computer 2 is connected to the computer 2 or the external transformer directly uses the 'mains supply power supply'), The battery 14 supplies the power required for the operation of the USB device. - The body circuit 16 is mainly responsible for the basic functions of the operation of the USB device 1, for example, assuming that the usb device 1 is a palm-type player, the integrated circuit 16 has the function of playing multimedia data and transmitting 'downloading multimedia material' to and from the computer. The USB power management device 丨2 includes a reverse current protection circuit 丨μ, an isolation circuit 丨24, and a conversion 375378 path 126. The reverse current protection circuit 122 is connected between the computer 2 and the USB device 1 to prevent the electric power input from the brain 2 to the USB device 1 from being returned to the computer 2 by the USB device 1. -· Please refer to the "Picture 3" reverse current protection circuit diagram. The main function of the reverse current protection circuit is to prevent the input power of the computer 2 from being returned to the computer 2 by the USB device 1. Therefore, the system 2 may be damaged, or the USB device 1 may be under power due to insufficient power. It happens and consumes more power. The reverse current protection circuit 122 includes a diode 1222. The diode 1222 has the basic characteristics of forward current conduction and reverse current cutoff. Therefore, connect the positive φ pole of the diode U22 to the negative terminal of the computer 2 ’ to connect the USB device 1. In this way, it can be achieved that the current of the computer 2 transmitting the input power to the USB device 1 is a forward current, so the input power can be smoothly supplied to the coffee-device, and if the current flows from the device (10) to the computer 2, it belongs to the reverse current. At this time, the polar body is in a state of reverse current cutoff. Therefore, the current cannot be returned to the computer 2' by the USB device 1 to achieve the function of backflow protection. The input power supplied by the computer 2 is $ volt, and is transmitted to the power input terminal of the USB device through the reverse current protection circuit 122, so that the power input terminal receives a power of 5 volts. • Isolation Wei 124 is connected between the reverse current protection circuit 122 and the battery 4 to isolate the input power from the battery 14' to prevent the input power from charging the battery 14. In the past, traditional technology, coffee. The device has USB charging 1C ’. When the USB device is connected to the computer, if the USB device is not powered, the computer will provide the input power ^ USB device. At this time, in addition to the operation of transmitting data between the USB and the computer, the battery of the (10) device is charged. That is, because the battery supplied to the USB device is connected to the battery, it is easy to exceed the current limit provided by the month b of the electricity month, and the load exceeds the load (10) the device crashes or the transmission data is damaged. 13.75378 When charging the battery, it must have a battery current capacity—more than half of the charging current can charge the battery. Commercially available USB devices have a battery with just mA, so charging the battery must have a charging current of mA, which has already exceeded the current limit that the computer can provide. Therefore, the present invention proposes that the isolation circuit 124, the t(10) device is connected to the computer 2, and when receiving the turn-in power of the computer, the input power source is prevented from charging the battery pack 4. Therefore, the input power transmitted by the computer 2 is completely supplied to the USB device (for example, data transmission, etc.).
需。隔離掉電池充騎造成電腦2社量負荷,敎電腦2因電源負荷過 度所造成的問題。 請參照「第4圖」隔離電路示意圖。隔離電路m包含場效電晶體⑽, 而場效電㈣m2在«作電磁關細。場效電晶體⑽岐極⑼連 接電池】4 ’源極⑸連接逆流保護電路122。圖中所示的場效電晶體為 絕緣閘型P通道增強型場效電晶體。由於場效電晶體〗242由p型半導體與 N型半導體所製成’因此在汲極⑼與源極⑸間會有剛二極體的特性產 生。場效電晶體⑽中二極體的特性,使得沒極(d)到源極⑶為正向電流 導通’反向電流戴止。 電腦2的輸人魏在上述已提及為5觸,而_般哪設们的電池 Μ之電壓小於5伏特,約為4.2.伏特。由於秘⑼連接電池14,而源極⑸ 連接逆流保護電路丨22,也就是說源極⑻端所接收為輸入電源。因為,輸 入電壓㈤大於電池狀_.2V),所以造成錄⑼騎極⑸為反向電 流而戴止。㈣,電絲法由_(S)端流往祕⑼端,也就是說經由逆流 保濩電路122過來的輸入電源無法流入電池14 。因此,電腦2的輸入電源 並不會對USB設備1的電池14進行充電。need. Isolating the battery charging caused by the computer 2, and the computer 2 caused problems due to excessive power load. Please refer to the "Figure 4" isolation circuit diagram. The isolation circuit m contains the field effect transistor (10), and the field effect power (4) m2 is in the electromagnetic gate. Field Effect Transistor (10) Drain (9) Connect Battery] The 4' source (5) is connected to the reverse current protection circuit 122. The field effect transistor shown in the figure is an insulated gate type P channel enhanced field effect transistor. Since the field effect transistor 242 is made of a p-type semiconductor and an N-type semiconductor, the characteristics of the rigid diode are generated between the drain (9) and the source (5). The characteristics of the diode in the field effect transistor (10) are such that the terminal (d) to the source (3) are forward current conducting 'reverse current wear. The input of computer 2 has been mentioned as 5 touches in the above, and the voltage of the battery is less than 5 volts, which is about 4.2 volts. Since the secret (9) is connected to the battery 14, the source (5) is connected to the reverse current protection circuit 丨22, that is, the source (8) terminal receives the input power. Because the input voltage (five) is larger than the battery type _.2V), the recording (9) rider pole (5) is worn for reverse current. (4) The wire method flows from the _(S) terminal to the secret (9) terminal, that is, the input power source via the reverse current protection circuit 122 cannot flow into the battery 14. Therefore, the input power of the computer 2 does not charge the battery 14 of the USB device 1.
. 第3 ®」轉換電路示意圖。外部電腦2供應輸人電源予USB . 傷丨其所供應的輸入电源為5伏特,並沒有辦法滿足USB設備1中積 - 體電路丨6的需求,所以必須_贈電源管理|置丨2中的轉換電路126。 而轉換電路!26的功用便是轉換輸入電源為工作電源,用以供應積體電路 2之運作。由於積體電路丨6負責⑽設備丨運作的基本功能所以當積 电路16接收到轉換電路126所轉換的工作電源後,才能讓usb設備] % 彳的運作丨圖中所示’經由轉換電路]26的轉織,積體電路16接收 到的工作屯源可以為18伏特或3 3伏特。轉換電路⑼可以依照各種不同 積體電路16的個別需求,轉換積體電路16所需之工作電源。 · 吻參照「第6®」USB電源管理之方法流雜,包含下列步驟。 步驟sio :由電腦供應輸入電源至USB設備。USB設備與電腦連接, 田USB a又備電力不足時,便可由電腦供應輸入電源予usb設備。 纟驟S2G :防止輸人電源由⑽設備回流至電腦。該步驟可以由二極 Φ 體來達成。利用二極體具有正向電流導通,反向電流截止的基本特性,將 -極體的正極連接電腦’負極連接USB設備。可以達成電腦將輪入電源傳 ' 送至USB設備的電流為正向電流,所績人電源可以糊供應給USB設 - 備。相對的,如果電流由USB設備流至電腦屬於反向電流,此時二極體處 於反向電流載止的狀態。因此,電流無法由uSB設備逆流回電腦,而達到 逆流保護的功能。 -步驟S30 :隔離輸入電源與USB設備之電池,避免輸入電源對電池進行 充電。該步驟可以由場效電晶體來達成。場效電晶體汲極連接贈設借之 . 電池,源極連接電_提供的輸人電源,祕觀極為正向電流導通反 : 肖電流截止。由於’源極所連接的輸人電源之電郞伏特)大於汲極所連接 . —池之電雜2鱗),所⑽獅雜為反岭如此,輸 、包源是無’—V電池㊆對電池進行充電,可以讓電财提供的翰入電源 全部供應⑽賴之運作(例如,與電腦間的資料傳輸等)。 步驟S40 :轉換輸人電源為工作電源,用以供應哪設備之積體電路。 φ °又備中的積體电路主要負責USB設備運作的基本功能。由於電腦所供應 ^輸人電源為艰特,有些USB設備中的積體電路並不_於地特的電 •壓。因此,該步驟便是將電腦所供應的輸入電源,轉換為.USB設備中積體 電路可以使關玉作電源。其中’卫作電源可以為u伏特或3 3伏特。該步 驟可依據積體電_絲’轉換輸人電源為其所f之謂電源。 L、本U的技灿容已經以較佳實施例揭露如上,然其並非用以限 疋本發明,任健胃此技藝者,在不麟本發明之精神卿些許之更動與 鲁卿’皆應涵蓋於本發明的範嘴内’因此本發明之保護範圍當視後附之申 請專利範圍所界定者為準。 【圖式簡單說明】 第1圖·習知技術USB充電積體電路示意圖。 第2圖:USB設備與電腦連接示意圖。 - 第3圖:逆流保護電路示意圖。 第4圖:隔離電路示意圖。 1375378 第5圖:轉換電路示意圖。 第6圖:USB電源管理之方法流程圖。 【主要元件符號說明】. 3 ® ® conversion circuit diagram. The external computer 2 supplies the input power to the USB. The input power supply supplied by the flaw is 5 volts, and there is no way to meet the demand of the product-body circuit 丨6 in the USB device 1, so it is necessary to give a power management| Conversion circuit 126. And the conversion circuit! The function of 26 is to convert the input power source into a working power source for supplying the operation of the integrated circuit 2. Since the integrated circuit 丨6 is responsible for (10) the basic function of the device 所以 operation, after the product circuit 16 receives the operating power converted by the conversion circuit 126, the operation of the usb device % 彳 can be made as shown in the figure below. For the twisting of 26, the working source received by the integrated circuit 16 may be 18 volts or 3 3 volts. The conversion circuit (9) can convert the operating power required by the integrated circuit 16 in accordance with the individual requirements of the various integrated circuits 16. · Kiss refers to the "6th®" USB power management method, including the following steps. Step sio: The input power is supplied from the computer to the USB device. The USB device is connected to the computer. When the USB USB is not enough, the computer can supply input power to the usb device. Step S2G: Prevent the input power from being returned to the computer by the (10) device. This step can be achieved by a two-pole Φ body. Using the basic characteristics of the diode with forward current conduction and reverse current cut-off, connect the positive pole of the - pole body to the negative terminal of the computer to connect the USB device. It can be achieved that the current that the computer will turn into the power supply to the USB device is the forward current, and the power supply can be supplied to the USB device. In contrast, if the current flows from the USB device to the computer, it is a reverse current, and the diode is in the state of reverse current loading. Therefore, the current cannot be returned to the computer by the uSB device, and the function of the reverse current protection is achieved. - Step S30: Isolate the battery of the input power source and the USB device, and avoid the input power source to charge the battery. This step can be achieved by a field effect transistor. The field effect transistor bungee connection is provided. The battery, the source is connected to the power supply _ provides the input power, the secret is very positive current conduction reverse: Xiao current cutoff. Because the 'source of the input power supply connected to the power supply volts is greater than the connection of the bungee pole. — pool of electricity mixed 2 scales, the (10) lion is the opposite of the ridge, the source, the source is no '-V battery seven pairs The battery is charged, so that the power supply provided by the e-finance can be fully supplied (10) (for example, data transmission with a computer, etc.). Step S40: Converting the input power source into a working power source for supplying the integrated circuit of the device. The integrated circuit of φ ° is also responsible for the basic functions of USB device operation. Due to the difficulty of the power supply of the computer, the integrated circuits in some USB devices are not based on the special voltage. Therefore, this step is to convert the input power supplied by the computer into an integrated circuit in the USB device to make Guan Yu power. The 'power supply can be u volts or 3 3 volts. This step can be used to convert the input power to the power source according to the integrated power_wire'. L. The technology of the present invention has been disclosed above in the preferred embodiment. However, it is not intended to limit the present invention, and the person skilled in the art of the stomach is not in the spirit of the present invention. It is intended to be included within the scope of the invention. The scope of the invention is therefore defined by the scope of the appended claims. [Simple description of the drawing] Fig. 1 is a schematic diagram of a USB charging integrated circuit of the prior art. Figure 2: Schematic diagram of the connection between a USB device and a computer. - Figure 3: Schematic diagram of the reverse current protection circuit. Figure 4: Schematic diagram of the isolation circuit. 1375378 Figure 5: Schematic diagram of the conversion circuit. Figure 6: Flow chart of the method of USB power management. [Main component symbol description]
AiO : USB充電積體電路 1 : USB設備 12 : USB電源管理裝置 122 :逆流保護電路 1222 :二極體 124 :隔離電路 1242 :場效電晶體 126 :轉換電路 14 :電池 16 :積體電路(丨C) 2 :電腦 12AiO: USB charging integrated circuit 1: USB device 12: USB power management device 122: reverse current protection circuit 1222: diode 124: isolation circuit 1242: field effect transistor 126: conversion circuit 14: battery 16: integrated circuit (丨C) 2 : Computer 12