TWI548996B - Computer device - Google Patents

Computer device Download PDF

Info

Publication number
TWI548996B
TWI548996B TW101119822A TW101119822A TWI548996B TW I548996 B TWI548996 B TW I548996B TW 101119822 A TW101119822 A TW 101119822A TW 101119822 A TW101119822 A TW 101119822A TW I548996 B TWI548996 B TW I548996B
Authority
TW
Taiwan
Prior art keywords
coupled
computer device
power supply
charging
switch
Prior art date
Application number
TW101119822A
Other languages
Chinese (zh)
Other versions
TW201351160A (en
Inventor
蔡孟杰
林哲緯
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW101119822A priority Critical patent/TWI548996B/en
Publication of TW201351160A publication Critical patent/TW201351160A/en
Application granted granted Critical
Publication of TWI548996B publication Critical patent/TWI548996B/en

Links

Landscapes

  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Description

電腦裝置 Computer device

本發明是有關於一種電腦裝置的充電技術,且特別是有關於一種透過通用串列匯流排(Universal Serial Bus;USB)介面進行充電的電腦裝置及電腦裝置的充電方法。 The present invention relates to a charging technology for a computer device, and more particularly to a computer device and a charging method for a computer device that are charged through a universal serial bus (USB) interface.

由於半導體技術的進步,可使電子產品(尤其是可攜式電子裝置,如:智慧型手機、平板電腦、筆記型電腦)提升其效能,而體積越發縮小,價格亦越來越低,無論是工作需求或是生活娛樂,皆可透過電子產品來達成。 Advances in semiconductor technology have enabled electronic products (especially portable electronic devices such as smart phones, tablets, and notebook computers) to increase their performance, and the volume has become smaller and the price has become lower and lower. Work needs or life entertainment can be achieved through electronic products.

目前可攜式電子裝置的電源供應方式主要分為兩種,一種是由外接電源(例如,市電)來供電,另一種則是由電池進行供電。現在有許多的移動通訊設備(例如,手機、平板電腦...等)逐漸採用通用串列匯流排(USB)規格或是微型通用串列匯流排(Micro-USB)規格作為資料傳輸及電源供應的標準介面,使得USB/Micro-USB規格的電源供應器/變壓器/充電器(這些可統稱為適配器(adapter))容易被取得。 At present, the power supply modes of portable electronic devices are mainly divided into two types, one is powered by an external power source (for example, a commercial power), and the other is powered by a battery. There are many mobile communication devices (such as mobile phones, tablets, etc.) that are gradually adopting the universal serial bus (USB) specification or the micro universal serial bus (Micro-USB) specification for data transmission and power supply. The standard interface makes the USB/Micro-USB specification power supply/transformer/charger (collectively referred to as adapters) easy to obtain.

另一方面,筆記型電腦及部分的個人行動裝置仍然沒有統一標準的電源供應介面,而位於筆記型電腦上的USB插槽/介面皆用來輸出電源或傳輸資料。當有使用者忘記攜帶筆記型電腦相應規格的電源供應器時,就算找到了市電 插座,也無法對筆記型電腦進行充電,因而造成使用者的不方便。 On the other hand, notebook computers and some personal mobile devices still do not have a unified standard power supply interface, and the USB slot/interface on the notebook computer is used to output power or transmit data. When a user forgets to carry the power supply of the corresponding specification of the notebook computer, even if the power supply is found The socket can't charge the notebook, which is inconvenient for the user.

本發明提供一種電腦裝置及電腦裝置的充電方法,電腦裝置可透過USB介面耦接至適配器(例,電源供應器/變壓器/充電器)以獲得外接電源的電力,或藉此對電腦裝置中的電池進行充電。 The invention provides a computer device and a charging method of a computer device. The computer device can be coupled to an adapter (for example, a power supply/transformer/charger) through a USB interface to obtain power of an external power source, or The battery is charged.

本發明提出一種電腦裝置,此電腦裝置包括通用串列匯流排(USB)介面、偵測單元、切換單元、以及充電單元。USB介面包括一第一資料端、一第二資料端以及一電源導引端。偵測單元耦接USB介面的第一資料端與第二資料端。偵測單元依據第一資料端與第二資料端上所傳送的訊號判斷與USB介面電性連接的外部裝置是否為適配器。切換單元的輸入端耦接電源導引端,切換單元的第一輸出端則耦接至內部電源端,且控制端耦接偵測單元。充電單元的輸入端耦接切換單元的第二輸出端。當偵測單元判斷所述外部裝置為適配器時,控制切換單元以將電源導引端從內部電源端切換至充電單元的輸入端。充電單元將電源導引端所傳送的一外部額定電源升壓並轉換為一充電電源,以從USB介面供電給電腦裝置。 The invention provides a computer device comprising a universal serial bus (USB) interface, a detecting unit, a switching unit, and a charging unit. The USB interface includes a first data end, a second data end, and a power supply lead end. The detecting unit is coupled to the first data end and the second data end of the USB interface. The detecting unit determines whether the external device electrically connected to the USB interface is an adapter according to the signal transmitted on the first data end and the second data end. The input end of the switching unit is coupled to the power guiding end, the first output end of the switching unit is coupled to the internal power terminal, and the control end is coupled to the detecting unit. The input end of the charging unit is coupled to the second output end of the switching unit. When the detecting unit determines that the external device is an adapter, the switching unit is controlled to switch the power guiding end from the internal power end to the input end of the charging unit. The charging unit boosts and converts an external rated power transmitted by the power supply terminal into a charging power source to supply power from the USB interface to the computer device.

在本發明之一實施例中,上述之充電單元包括一升壓模組以及一內部充電模組。升壓模組接收並將外部額定電 源升壓為一升壓電源。內部充電模組耦接所述升壓模組,其接收並轉換升壓電源為充電電源。 In an embodiment of the invention, the charging unit includes a boosting module and an internal charging module. The boost module receives and externally rated The source is boosted to a boost supply. The internal charging module is coupled to the boosting module, and receives and converts the boosting power source into a charging power source.

在本發明之一實施例中,上述之內部充電模組為電腦裝置中預設處理外接電源的內部電壓調整電路。 In an embodiment of the invention, the internal charging module is an internal voltage adjustment circuit that presets an external power supply in the computer device.

於另一觀點而言,本發明提出一種電腦裝置的充電方法。電腦裝置包括USB介面。所述充電方法包括下列步驟。依據USB介面的第一資料端與第二資料端上所傳送的訊號判斷與USB介面電性連接的外部裝置是否為適配器。當判斷所述外部裝置為適配器時,將USB介面的電源導引端與內部電源端分離。以及,將電源導引端所傳送的外部額定電源升壓並轉換為充電電源,以從USB介面供電給所述電腦裝置。 In another aspect, the present invention provides a method of charging a computer device. The computer device includes a USB interface. The charging method includes the following steps. The external device electrically connected to the USB interface is determined to be an adapter according to the signal transmitted on the first data end and the second data end of the USB interface. When it is determined that the external device is an adapter, the power guiding end of the USB interface is separated from the internal power terminal. And, the external rated power source transmitted by the power supply terminal is boosted and converted into a charging power source to supply power to the computer device from the USB interface.

本電腦裝置的充電方之其餘實施細節請參照上述說明,在此不加贅述。 Please refer to the above description for the remaining implementation details of the charging side of the computer device, and no further details are provided here.

基於上述,由於電腦裝置皆以USB介面作為標準配備,因此本發明實施例所述的電腦裝置可透過USB介面來自動偵測耦接的對象為普通的USB資料傳輸裝置或是連接至外部電源的USB適配器(電源供應器/變壓器/充電器)。當電腦裝置的USB介面耦接到適配器、而適配器的另一端耦接外接電源時,便可透過此USB介面以提供電力給電腦裝置,或是對電腦裝置中的電池進行充電。 The computer device according to the embodiment of the present invention can automatically detect whether the coupled object is an ordinary USB data transmission device or is connected to an external power source through the USB interface. USB adapter (power supply / transformer / charger). When the USB interface of the computer device is coupled to the adapter and the other end of the adapter is coupled to an external power source, the USB interface can be used to provide power to the computer device or to charge the battery in the computer device.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.

現將詳細參考本發明之示範性實施例,在附圖中說明所述示範性實施例之實例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/符號代表相同或類似部分。 DETAILED DESCRIPTION OF THE INVENTION Reference will now be made in detail to the exemplary embodiments embodiments In addition, wherever possible, the elements and/

圖1是根據本發明一實施例說明電腦裝置100的示意圖。於本實施例中,電腦裝置100可以是筆記型電腦、桌上型電腦、伺服器電腦...等計算機設備,也可以為部分種類的個人行動裝置。請參照圖1,電腦裝置100包括通用串列匯流排(USB)介面110、偵測單元120、切換單元130以及充電單元140。USB介面110也可以稱為USB連接埠、USB插座。因此,應用本實施例者應可知曉,USB介面110並未包括USB介面控制器。USB介面110包括接地端112、第一資料端D+、第二資料端D-以及電源導引端116,接地端112接收接地電壓GND。 1 is a schematic diagram of a computer device 100 in accordance with an embodiment of the present invention. In this embodiment, the computer device 100 may be a computer device such as a notebook computer, a desktop computer, a server computer, or the like, or may be a partial type of personal mobile device. Referring to FIG. 1 , the computer device 100 includes a universal serial bus (USB) interface 110 , a detecting unit 120 , a switching unit 130 , and a charging unit 140 . The USB interface 110 can also be referred to as a USB port or a USB port. Therefore, it should be known to those skilled in the application that the USB interface 110 does not include a USB interface controller. The USB interface 110 includes a ground terminal 112, a first data terminal D+, a second data terminal D-, and a power supply terminal 116. The ground terminal 112 receives the ground voltage GND.

偵測單元120耦接USB介面110的第一資料端D+與第二資料端D-。切換單元130的輸入端NI耦接USB介面110的電源導引端116,切換單元130的第一輸出端NO1則耦接至電源供應單元150的內部電源端。切換單元130的第二輸出端則耦接至充電單元140的輸入端。切換單元130的控制端耦接至偵測單元130,藉以使偵測單元130得以控制切換單元130。切換單元130於本實施例中可以利用切換開關或1對2的解多工器來實現。 The detecting unit 120 is coupled to the first data end D+ and the second data end D- of the USB interface 110. The input terminal NI of the switching unit 130 is coupled to the power supply terminal 116 of the USB interface 110. The first output terminal NO1 of the switching unit 130 is coupled to the internal power terminal of the power supply unit 150. The second output end of the switching unit 130 is coupled to the input end of the charging unit 140. The control end of the switching unit 130 is coupled to the detecting unit 130, so that the detecting unit 130 can control the switching unit 130. The switching unit 130 can be implemented in the present embodiment by using a switch or a 1-to-2 demultiplexer.

於本實施例中,偵測單元120設置於電腦裝置100的系統晶片組170中,系統晶片組170可由南橋晶片及北橋晶片來組成。於本實施例中,系統晶片組170也可泛指電腦裝置100中所有耗電的相關設備。部份實施例可利用USB介面控制器作為本發明實施例中所述的偵測單元120,但此USB介面控制器將會針對本發明實施例所提出的功能而調整其結構。於其他實施例中,也可以利用南橋晶片中的平台管理控制器(Platform management controller)來實現偵測單元120。 In this embodiment, the detecting unit 120 is disposed in the system chip set 170 of the computer device 100, and the system chip set 170 is composed of a south bridge wafer and a north bridge wafer. In this embodiment, the system chipset 170 can also refer to all power-consuming related devices in the computer device 100. Some embodiments may use a USB interface controller as the detection unit 120 described in the embodiment of the present invention, but the USB interface controller will adjust its structure for the functions proposed by the embodiments of the present invention. In other embodiments, the detection unit 120 can also be implemented by using a platform management controller in the south bridge chip.

偵測單元120將會偵測第一資料端D+與第二資料端D-上所傳送的訊號,藉以依據這些訊號來判斷與USB介面110電性連接的外部裝置180是否為USB類型的適配器(adapter)。於本實施例中,若外部裝置180為具有USB介面的資料傳輸裝置時,系統晶片組170便會依據USB規格與外部裝置180相互傳遞資料封包而進行資料傳輸,以實現電腦裝置100中USB介面110的原有功能。此時,USB介面110的第一資料線D+與第二資料線D-並不會相互短路。藉此,偵測單元120將會控制切換單元120,以使USB介面110的電源導引端116耦接至電源供應單元150的內部電源端(如切換單元130中的虛線箭頭)。電腦裝置100的電源供應單元150將會於電腦裝置100起動後,固定提供一內部額定電壓(例如,5V)至內部電源端以及電源導引端116,讓USB介面110能夠從電源導引端116提供5V 的電源。此處內部額定電壓的電壓準位係由USB規格來決定。 The detecting unit 120 detects the signals transmitted on the first data terminal D+ and the second data terminal D-, and determines whether the external device 180 electrically connected to the USB interface 110 is a USB type adapter according to the signals. Adapter). In this embodiment, if the external device 180 is a data transmission device having a USB interface, the system chipset 170 transmits data packets to and from the external device 180 according to the USB specification to implement data transmission, so as to implement the USB interface in the computer device 100. The original function of 110. At this time, the first data line D+ and the second data line D- of the USB interface 110 are not short-circuited with each other. Therefore, the detecting unit 120 will control the switching unit 120 to couple the power guiding end 116 of the USB interface 110 to the internal power terminal of the power supply unit 150 (such as a dotted arrow in the switching unit 130). The power supply unit 150 of the computer device 100 will automatically provide an internal rated voltage (for example, 5V) to the internal power supply terminal and the power supply terminal 116 after the computer device 100 is activated, so that the USB interface 110 can be powered from the power supply terminal 116. Provide 5V Power supply. The voltage level of the internal rated voltage here is determined by the USB specification.

另一方面,當偵測單元120判斷出第一資料端D+與第二資料端D-發出特殊的訊號,讓偵測單元120得以判斷外部裝置180為USB適配器時,則偵測單元120便控制切換單元130以將電源導引端116從電源供應單元150的內部電源端切換至充電單元140的輸入端(如切換單元130中的實線箭頭),換句話說,將原本電源導引端116與電源供應單元150的內部電源端相耦接的情況切換為將電源導引端116與充電單元140的輸入端相耦接。 On the other hand, when the detecting unit 120 determines that the first data terminal D+ and the second data terminal D- issue a special signal, and the detecting unit 120 determines that the external device 180 is a USB adapter, the detecting unit 120 controls The switching unit 130 switches the power supply leading end 116 from the internal power supply end of the power supply unit 150 to the input end of the charging unit 140 (such as a solid arrow in the switching unit 130), in other words, the original power supply leading end 116. The coupling with the internal power supply end of the power supply unit 150 switches to coupling the power supply end 116 to the input of the charging unit 140.

在此特別提出的是,此處所指的USB適配器,可以為市面上販售的USB電源供應器/變壓器/充電器,其一端電性連接到市電或行動電源,另一端則為USB公插頭。適配器也可以是micro-USB電源供應器/變壓器/充電器搭配micro-USB公插頭轉為USB公插頭的轉接器而形成具備相同功能的供應器/變壓器/充電器。藉此,本實施例中的USB適配器會將市電或行動電源所提供的電力轉換為固定電壓準位(例,5V)的外部額定電源,並將此外部額定電源提供到電腦裝置100之USB介面110的電源導引端116。此外,USB適配器也會提供特定訊號到第一資料端D+以及第二資料端D-,讓偵測單元120能夠判斷USB介面110所耦接的外部裝置180。 What is specifically mentioned here is that the USB adapter referred to herein can be a commercially available USB power supply/transformer/charger, one end of which is electrically connected to the mains or mobile power supply, and the other end is a USB male plug. The adapter can also be a micro-USB power supply/transformer/charger with a micro-USB male plug to a USB male plug adapter to form a supplier/transformer/charger with the same function. Thereby, the USB adapter in this embodiment converts the power provided by the commercial power or the mobile power source into an external rated power source of a fixed voltage level (for example, 5V), and supplies the external rated power source to the USB interface of the computer device 100. The power supply terminal 116 of 110. In addition, the USB adapter also provides a specific signal to the first data terminal D+ and the second data terminal D-, so that the detecting unit 120 can determine the external device 180 to which the USB interface 110 is coupled.

本實施例是將USB適配器中第一資料端D+以及第二資料端D-對應的端點相互短路。當偵測單元120判斷第一 資料端D+與第二資料端D-相互短路時,便可判斷外部裝置180為USB適配器。但本發明實施例並不受限於此,部份廠商(例如,APPLE公司)所提供的USB適配器會讓第一資料端D+以及第二資料端D-對應的端點分別提供對應的電壓準位(例如,讓第一資料端D+提供2.1V±0.5V以及讓第二資料端D-提供2.7V±0.5V),偵測單元120也可將此情況作為判斷外部裝置180是USB適配器的另一實現方式。另一方面,應用本實施例者也可自訂相關訊號,讓偵測單元120能夠正確判斷外部裝置180是否為USB適配器即可。 In this embodiment, the endpoints corresponding to the first data end D+ and the second data end D- in the USB adapter are short-circuited to each other. When the detecting unit 120 determines the first When the data terminal D+ and the second data terminal D- are short-circuited with each other, it can be judged that the external device 180 is a USB adapter. However, the embodiment of the present invention is not limited thereto. The USB adapter provided by some manufacturers (for example, APPLE) provides the corresponding voltage level for the endpoints corresponding to the first data end D+ and the second data end D- respectively. The bit (for example, let the first data terminal D+ provide 2.1V±0.5V and the second data terminal D− provide 2.7V±0.5V), and the detecting unit 120 can also use this as a judgment that the external device 180 is a USB adapter. Another implementation. On the other hand, the application of the embodiment can also customize the relevant signal, so that the detecting unit 120 can correctly determine whether the external device 180 is a USB adapter.

當偵測單元120判斷外部裝置180為USB適配器、並且切換單元130將電源導引端116切換並耦接至充電單元140的輸入端後,充電單元140便將USB適配器所轉換、電源導引端116所傳送的外部額定電源(例,5V)升壓並轉換為充電電源142。藉此,本發明實施例便可透過USB適配器,從電腦裝置100的USB介面110來將充電電源142供電給電腦裝置100的系統晶片組170及相關設備(如電源供應單元150),或是利用充電電源142以對電腦裝置100的電池進行充電。 When the detecting unit 120 determines that the external device 180 is a USB adapter, and the switching unit 130 switches and couples the power guiding end 116 to the input end of the charging unit 140, the charging unit 140 converts the USB adapter and the power guiding end. The external rated power source (eg, 5V) transmitted by 116 is boosted and converted to a charging power source 142. Therefore, in the embodiment of the present invention, the charging power source 142 can be powered from the USB interface 110 of the computer device 100 to the system chipset 170 of the computer device 100 and related devices (such as the power supply unit 150) through the USB adapter, or can be utilized. The charging power source 142 charges the battery of the computer device 100.

圖2是根據本發明一實施例說明充電單元140的電路圖。充電單元140包括本發明實施例額外加入電腦裝置100的升壓模組210以及原本就位於電腦裝置100中的內部充電模組220。換句話說,內部充電模組220原本就是電腦裝置100中預設用來處理外接電源的內部電壓調整電路。 2 is a circuit diagram illustrating a charging unit 140 in accordance with an embodiment of the present invention. The charging unit 140 includes a boosting module 210 additionally added to the computer device 100 in the embodiment of the present invention, and an internal charging module 220 originally located in the computer device 100. In other words, the internal charging module 220 is originally an internal voltage adjusting circuit preset in the computer device 100 for processing an external power source.

請參照圖2,升壓模組210接收從電源導引端傳送來的外部額定電源,並將此外部額定電源升壓為一升壓電源215。內部充電模組220則耦接升壓模組210,用以接收升壓電源215,並將升壓電源215轉換為充電電源142。本實施例以電源升壓器(booster)來實現升壓模組210,應用本實施例者可以利用已知的電源升壓器相關電路來實現升壓模組210。在此提供升壓模組210的一實例,升壓模組210包括電感L1、二極體D1、電容C1以及第一開關(以第一電晶體M1作為適例)。電感L1的第一端作為升壓模組210的接收端。二極體D1的第一端耦接電感L1的第二端,且二極體D1的第二端作為升壓模組210的輸出端。電容C1的第一端耦接二極體D1的第二端,且電容C1的第二端耦接接地電壓GND。第一開關的第一端(第一電晶體M1的汲極)耦接電感C1的第二端,而第一開關的第二端(第一電晶體M1的源極)耦接接地電壓GND。藉此,升壓模組120便可從其輸入端接收外部額定電源,並透過電容C1、二極體D1及第一開關(電晶體M1)的相應致動,升壓為具有第一電壓準位(例如,19V)的升壓電源215,本領域技術人員可藉由升壓電路等相關技術達成上述目的。 Referring to FIG. 2, the boosting module 210 receives an external rated power source transmitted from the power supply leading end, and boosts the external rated power supply to a boosting power supply 215. The internal charging module 220 is coupled to the boosting module 210 for receiving the boosting power supply 215 and converting the boosting power supply 215 into the charging power supply 142. In this embodiment, the boosting module 210 is implemented by a power booster. The boosting module 210 can be implemented by using the known power booster related circuit in this embodiment. An example of the boost module 210 is provided. The boost module 210 includes an inductor L1, a diode D1, a capacitor C1, and a first switch (with the first transistor M1 as a suitable example). The first end of the inductor L1 serves as a receiving end of the boost module 210. The first end of the diode D1 is coupled to the second end of the inductor L1, and the second end of the diode D1 is used as the output end of the boost module 210. The first end of the capacitor C1 is coupled to the second end of the diode D1, and the second end of the capacitor C1 is coupled to the ground voltage GND. The first end of the first switch (the drain of the first transistor M1) is coupled to the second end of the inductor C1, and the second end of the first switch (the source of the first transistor M1) is coupled to the ground voltage GND. Thereby, the boosting module 120 can receive an external rated power from its input terminal, and is boosted to have a first voltage standard through the corresponding actuation of the capacitor C1, the diode D1 and the first switch (the transistor M1). The boosting power supply 215 of a bit (for example, 19 V) can be achieved by those skilled in the art by a related art such as a booster circuit.

於本適例中,本實施例的內部充電模組220包括第二開關(第二電晶體M2)、第三開關(第三電晶體M3)、電感L2以及電容C2。第二開關的第一端(第二電晶體M2的汲極端)耦接升壓模組120的輸出端。第三開關的第一端(第三電晶體M3的汲極端)耦接第二開關的第二端(第二電晶 體M2的源極端),且第三開關的第二端(第三電晶體M3的源極端)耦接至接地電壓GND。電感L2的第一端耦接第二開關的第二端(第二電晶體M2的源極端),且電感L2的第二端作為內部充電模組220的輸出端。電容C2的第一端耦接電感L2的第二端,且電容C2的第二端接收接地電壓GND。內部充電模組220便是目前電腦裝置中預設用以處理外接電源的內部電壓調整電路,因此不同的電腦裝置也可能具有不同的內部充電模組220的電路配置,應用本實施例者不應限制於此。 In the present embodiment, the internal charging module 220 of the present embodiment includes a second switch (second transistor M2), a third switch (third transistor M3), an inductor L2, and a capacitor C2. The first end of the second switch (the 汲 terminal of the second transistor M2) is coupled to the output of the boost module 120. The first end of the third switch (the 汲 terminal of the third transistor M3) is coupled to the second end of the second switch (the second transistor The source terminal of the body M2), and the second terminal of the third switch (the source terminal of the third transistor M3) is coupled to the ground voltage GND. The first end of the inductor L2 is coupled to the second end of the second switch (the source terminal of the second transistor M2), and the second end of the inductor L2 is used as the output end of the internal charging module 220. The first end of the capacitor C2 is coupled to the second end of the inductor L2, and the second end of the capacitor C2 receives the ground voltage GND. The internal charging module 220 is an internal voltage adjustment circuit preset for processing an external power supply in a computer device. Therefore, different computer devices may have different circuit configurations of the internal charging module 220, and the application of this embodiment should not be used. Limited to this.

統合上述,本發明利用另一觀點來提出一種電腦裝置的充電方法,其適用於圖1的電腦裝置100,且電腦裝置100包括USB介面110。圖3是根據本發明一實施例說明電腦裝置100的充電方法的流程圖。請同時參照圖1及圖3,於步驟S310中,偵測單元120依據USB介面110的第一資料端D+與第二資料端D-上所傳送的訊號判斷與USB介面110電性連接的外部裝置180是否為適配器。當判斷所述外部裝置為適配器時,便由步驟S310進入步驟S320,偵測單元120控制切換單元130以將USB介面110的電源導引端116與電源供應單元150的內部電源端分離,並將電源導引端116耦接至充電單元140的輸入端。於步驟S330中,充電單元140將電源導引端116所傳送的外部額定電源升壓並轉換為充電電源142。藉此,便可從USB介面110供電給電腦裝置100。或是,當電腦裝置100關機 時,步驟S330也可從USB介面110對電腦裝置100的電池160進行充電。 In view of the above, the present invention utilizes another aspect to propose a charging method for a computer device, which is applicable to the computer device 100 of FIG. 1, and the computer device 100 includes a USB interface 110. 3 is a flow chart illustrating a method of charging a computer device 100 in accordance with an embodiment of the present invention. Referring to FIG. 1 and FIG. 3 simultaneously, in step S310, the detecting unit 120 determines the external connection electrically connected to the USB interface 110 according to the signal transmitted on the first data end D+ and the second data end D- of the USB interface 110. Whether the device 180 is an adapter. When it is determined that the external device is an adapter, step S310 proceeds to step S320, and the detecting unit 120 controls the switching unit 130 to separate the power guiding end 116 of the USB interface 110 from the internal power end of the power supply unit 150, and The power guiding end 116 is coupled to the input end of the charging unit 140. In step S330, the charging unit 140 boosts and converts the external rated power source transmitted by the power source leading end 116 into the charging power source 142. Thereby, power can be supplied from the USB interface 110 to the computer device 100. Or when the computer device 100 is turned off At step S330, the battery 160 of the computer device 100 can also be charged from the USB interface 110.

回到步驟S310,當偵測單元120判斷與USB介面110電性連接的外部裝置180為具有USB界面的資料傳輸裝置時,則從步驟S310進入步驟S340,系統晶片組170便會依據USB規格與外部裝置180相互傳遞資料封包而進行資料傳輸,以實現電腦裝置100中USB介面110的原有功能。此充電方法的相關步驟流程請參考上述實施例,在此不再贅述。 Going back to step S310, when the detecting unit 120 determines that the external device 180 electrically connected to the USB interface 110 is a data transmission device having a USB interface, the process proceeds from step S310 to step S340, and the system chipset 170 is based on the USB specification. The external device 180 transmits data packets to each other for data transmission to implement the original functions of the USB interface 110 in the computer device 100. For the related procedure of the charging method, refer to the foregoing embodiment, and details are not described herein again.

綜上所述,由於電腦裝置皆以USB介面作為標準配備,因此本發明實施例所述的電腦裝置可透過USB介面來自動偵測耦接的對象為普通的USB資料傳輸裝置或是連接至外部電源的USB適配器(電源供應器/變壓器/充電器)。當電腦裝置的USB介面耦接到適配器、而適配器的另一端耦接外接電源時,便可透過此USB介面以提供電力給電腦裝置,或是對電腦裝置中的電池進行充電。 In summary, since the computer device is equipped with a USB interface as a standard, the computer device according to the embodiment of the present invention can automatically detect the coupled object as a normal USB data transmission device or connect to the external device through the USB interface. USB adapter for power supply (power supply / transformer / charger). When the USB interface of the computer device is coupled to the adapter and the other end of the adapter is coupled to an external power source, the USB interface can be used to provide power to the computer device or to charge the battery in the computer device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧電腦裝置 100‧‧‧ computer equipment

110‧‧‧通用串列匯流排(USB)介面 110‧‧‧Common Serial Bus (USB) Interface

112‧‧‧接地端 112‧‧‧ Grounding terminal

116‧‧‧電源導引端 116‧‧‧Power guide

120‧‧‧偵測單元 120‧‧‧Detection unit

130‧‧‧切換單元 130‧‧‧Switch unit

140‧‧‧充電單元 140‧‧‧Charging unit

142‧‧‧充電電源 142‧‧‧Charging power supply

150‧‧‧電源供應單元 150‧‧‧Power supply unit

160‧‧‧電池 160‧‧‧Battery

170‧‧‧系統晶片組 170‧‧‧System Chipset

180‧‧‧外部裝置 180‧‧‧External devices

210‧‧‧升壓模組 210‧‧‧Boost Module

215‧‧‧升壓電源 215‧‧‧Boost power supply

220‧‧‧內部充電模組 220‧‧‧Internal charging module

C1、C2‧‧‧電容 C1, C2‧‧‧ capacitor

D1‧‧‧二極體 D1‧‧‧ diode

D+‧‧‧第一資料端 D+‧‧‧ first data end

D-‧‧‧第二資料端 D-‧‧‧Second data side

L1、L2‧‧‧電感 L1, L2‧‧‧ inductance

M1~M3‧‧‧電晶體 M1~M3‧‧‧O crystal

NI‧‧‧切換單元的輸入端 Input to the NI‧‧‧ switching unit

NO1‧‧‧切換單元的第一輸出端 The first output of the NO1‧‧‧ switching unit

NO2‧‧‧切換單元的第二輸出端 The second output of the NO2‧‧‧ switching unit

圖1是根據本發明一實施例說明電腦裝置的示意圖。 1 is a schematic diagram of a computer device in accordance with an embodiment of the present invention.

圖2是根據本發明一實施例說明充電單元的電路圖。 2 is a circuit diagram illustrating a charging unit in accordance with an embodiment of the present invention.

圖3是根據本發明一實施例說明電腦裝置的充電方法的流程圖。 3 is a flow chart illustrating a method of charging a computer device in accordance with an embodiment of the present invention.

100‧‧‧電腦裝置 100‧‧‧ computer equipment

110‧‧‧通用串列匯流排(USB)介面 110‧‧‧Common Serial Bus (USB) Interface

112‧‧‧接地端 112‧‧‧ Grounding terminal

116‧‧‧電源導引端 116‧‧‧Power guide

120‧‧‧偵測單元 120‧‧‧Detection unit

130‧‧‧切換單元 130‧‧‧Switch unit

140‧‧‧充電單元 140‧‧‧Charging unit

150‧‧‧電源供應單元 150‧‧‧Power supply unit

160‧‧‧電池 160‧‧‧Battery

170‧‧‧系統晶片組 170‧‧‧System Chipset

180‧‧‧外部裝置 180‧‧‧External devices

D+‧‧‧第一資料端 D+‧‧‧ first data end

D-‧‧‧第二資料端 D-‧‧‧Second data side

NI‧‧‧切換單元的輸入端 Input to the NI‧‧‧ switching unit

NO1‧‧‧切換單元的第一輸出端 The first output of the NO1‧‧‧ switching unit

NO2‧‧‧切換單元的第二輸出端 The second output of the NO2‧‧‧ switching unit

Claims (7)

一種電腦裝置,包括:一通用串列匯流排介面,包括一第一資料端、一第二資料端以及一電源導引端;一偵測單元,耦接該通用串列匯流排介面的該第一資料端與該第二資料端,其中該偵測單元依據該第一資料端與該第二資料端上所傳送的訊號判斷與該通用串列匯流排介面電性連接的一外部裝置是否為一適配器;一切換單元,其輸入端耦接該電源導引端,該切換單元的第一輸出端耦接至一內部電源端,且該控制端耦接該偵測單元;以及一充電單元,其輸入端耦接該切換單元的第二輸出端,其中,當該偵測單元判斷該外部裝置為該適配器時,控制該切換單元以將該電源導引端從該內部電源端切換至該充電單元的輸入端,該充電單元將該電源導引端所傳送的一外部額定電源升壓並轉換為一充電電源,以從該通用串列匯流排介面供電給該電腦裝置。 A computer device, comprising: a universal serial bus interface, comprising a first data end, a second data end, and a power guiding end; a detecting unit coupled to the universal serial bus interface a data end and the second data end, wherein the detecting unit determines whether an external device electrically connected to the universal serial bus interface is based on the signal transmitted on the first data end and the second data end An adapter unit having an input end coupled to the power supply lead end, the first output end of the switching unit is coupled to an internal power supply end, and the control end is coupled to the detection unit; and a charging unit, The input end is coupled to the second output end of the switching unit, wherein when the detecting unit determines that the external device is the adapter, the switching unit is controlled to switch the power guiding end from the internal power terminal to the charging At the input end of the unit, the charging unit boosts and converts an external rated power source transmitted by the power supply terminal into a charging power source to supply power to the computer device from the universal serial bus interface. 如申請專利範圍第1項所述的電腦裝置,其中該充電單元包括:一升壓模組,接收並將該外部額定電源升壓為一升壓電源;以及一內部充電模組,耦接該升壓模組,接收並轉換該升壓電源為該充電電源。 The computer device of claim 1, wherein the charging unit comprises: a boosting module, receiving and boosting the external rated power supply to a boosting power supply; and an internal charging module coupled to the The boosting module receives and converts the boosting power supply to the charging power source. 如申請專利範圍第2項所述的電腦裝置,其中該升壓模組包括:一第一電感,其第一端作為該升壓模組的接收端;一第一二極體,其第一端耦接該第一電感的第二端,且該第一二極體的第二端作為該升壓模組的輸出端;一第一電容,該第一端耦接該第一二極體的第二端,且該第一電容的第二端耦接該接地電壓;以及一第一開關,其第一端耦接該第一電感的第二端,該第一開關的第二端耦接一接地電壓,其中,該升壓模組接收該外部額定電源,並透過該第一電容、該第一二極體及該第一開關的致動,升壓為具有一第一電壓準位的該升壓電源。 The computer device of claim 2, wherein the boosting module comprises: a first inductor having a first end as a receiving end of the boosting module; a first diode, the first The first end of the first inductor is coupled to the second end of the first inductor, and the second end of the first diode is used as an output end of the boosting module; a first capacitor coupled to the first diode The second end of the first switch is coupled to the ground voltage; and the first end of the first switch is coupled to the second end of the first inductor, and the second end of the first switch is coupled Connected to a ground voltage, wherein the boost module receives the external rated power, and is boosted to have a first voltage level through actuation of the first capacitor, the first diode, and the first switch The boost power supply. 如申請專利範圍第2項所述的電腦裝置,其中該內部充電模組包括:一第二開關,其第一端耦接該升壓模組的輸出端;一第三開關,其第一端耦接該第二開關的第二端,且該第三開關的第二端耦接至一接地電壓;一第二電感,其第一端耦接該第二開關的第二端,且該第二電感的第二端作為該內部充電模組的輸出端;以及一第二電容,其第一端耦接該第二電感的第二端,且該第二電容的第二端接收該接地電壓。 The computer device of claim 2, wherein the internal charging module comprises: a second switch having a first end coupled to the output end of the boosting module; and a third switch having a first end The second end of the second switch is coupled to a ground voltage; the second end of the second switch is coupled to the second end of the second switch, and the first end a second end of the second inductor serves as an output end of the internal charging module; and a second capacitor, the first end of which is coupled to the second end of the second inductor, and the second end of the second capacitor receives the ground voltage . 如申請專利範圍第2項所述的電腦裝置,其中該內部充電模組為該電腦裝置中預設處理外接電源的內部電壓調整電路。 The computer device according to claim 2, wherein the internal charging module is an internal voltage adjusting circuit that presets an external power supply in the computer device. 如申請專利範圍第1項所述之電腦裝置,其中該偵測單元判斷該第一資料端與該第二資料端相互短路時,判斷該外部裝置為該適配器。 The computer device of claim 1, wherein the detecting unit determines that the first data end and the second data end are short-circuited with each other, and determines that the external device is the adapter. 如申請專利範圍第1項所述的電腦裝置,其中該電腦裝置更包括一電源供應單元,其提供一內部額定電壓至該內部電源端。 The computer device of claim 1, wherein the computer device further comprises a power supply unit that provides an internal rated voltage to the internal power supply terminal.
TW101119822A 2012-06-01 2012-06-01 Computer device TWI548996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101119822A TWI548996B (en) 2012-06-01 2012-06-01 Computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101119822A TWI548996B (en) 2012-06-01 2012-06-01 Computer device

Publications (2)

Publication Number Publication Date
TW201351160A TW201351160A (en) 2013-12-16
TWI548996B true TWI548996B (en) 2016-09-11

Family

ID=50158016

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101119822A TWI548996B (en) 2012-06-01 2012-06-01 Computer device

Country Status (1)

Country Link
TW (1) TWI548996B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528472A (en) * 2015-09-10 2017-03-22 深圳市中兴微电子技术有限公司 Efficient utilization method for USB (Universal Serial Bus), and USB
TWI637584B (en) * 2017-06-06 2018-10-01 緯創資通股份有限公司 Voltage regulator and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200910744A (en) * 2007-08-23 2009-03-01 Univ Nat Taipei Technology Voltage boost circuit
TWM385161U (en) * 2010-03-03 2010-07-21 Sysgration Ltd Mobile backup electrical power supply with a power management function
US20110202195A1 (en) * 2010-02-15 2011-08-18 General Electric Company Low cost home energy manager adaptor
TW201201022A (en) * 2010-06-23 2012-01-01 Kye Systems Corp Universal serial bus hub
TW201216591A (en) * 2010-10-15 2012-04-16 Upi Semiconductor Corp Power switching device
TWM427724U (en) * 2011-12-05 2012-04-21 Hon Hai Prec Ind Co Ltd Buck converting circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200910744A (en) * 2007-08-23 2009-03-01 Univ Nat Taipei Technology Voltage boost circuit
US20110202195A1 (en) * 2010-02-15 2011-08-18 General Electric Company Low cost home energy manager adaptor
TWM385161U (en) * 2010-03-03 2010-07-21 Sysgration Ltd Mobile backup electrical power supply with a power management function
TW201201022A (en) * 2010-06-23 2012-01-01 Kye Systems Corp Universal serial bus hub
TW201216591A (en) * 2010-10-15 2012-04-16 Upi Semiconductor Corp Power switching device
TWM427724U (en) * 2011-12-05 2012-04-21 Hon Hai Prec Ind Co Ltd Buck converting circuit

Also Published As

Publication number Publication date
TW201351160A (en) 2013-12-16

Similar Documents

Publication Publication Date Title
TWI609543B (en) Hub
US9864421B2 (en) Hub having complex power converters
US10241935B2 (en) Portable device, cable assembly, and USB system
KR101494900B1 (en) Mobile phone and method for charging through discernment charging cable
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
JP6604863B2 (en) Power receiving device and controller thereof, electronic device using the same, and method for controlling power feeding system
US10574073B2 (en) Electronic device and method for controlling power supply
US20130101132A1 (en) Method and Device for Earphone and USB to Share Micro-USB Interface
TW201820159A (en) Hub
TW201447594A (en) Electronic device with integrated USB port
US20070075680A1 (en) Charging mode control circuit
US9385551B2 (en) Automatic mobile device detector
TWI757646B (en) Usb device and operation method thereof
TWI416842B (en) Charger
US20080012524A1 (en) Chargeable electronic devices and direct current voltage supply systems
US8970175B2 (en) Charging circuit employing a southbridge microchip to control charging when the electronic apparatus is shut down
TWI554889B (en) Electric system
CN112087014A (en) Combination of battery pack and adapter
US7793118B2 (en) Electronic device with a plurality of charging modes
TWI548996B (en) Computer device
WO2020233445A1 (en) Power adapter and charging method
US10193286B2 (en) Electronic device and control method thereof
WO2005112220A1 (en) A portable electronic equipment and an extending head of the equipment and a charging interface of the charging device of the equipment
TWI806769B (en) Power delivery device and control method of power supply path
CN216720327U (en) Adapter and charging system with Lightning female seat