TW201728023A - USB hub with low power consumption - Google Patents

USB hub with low power consumption Download PDF

Info

Publication number
TW201728023A
TW201728023A TW105102657A TW105102657A TW201728023A TW 201728023 A TW201728023 A TW 201728023A TW 105102657 A TW105102657 A TW 105102657A TW 105102657 A TW105102657 A TW 105102657A TW 201728023 A TW201728023 A TW 201728023A
Authority
TW
Taiwan
Prior art keywords
occupied
port
usb hub
downstream
mode
Prior art date
Application number
TW105102657A
Other languages
Chinese (zh)
Other versions
TWI547037B (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 TW105102657A priority Critical patent/TWI547037B/en
Application granted granted Critical
Publication of TWI547037B publication Critical patent/TWI547037B/en
Publication of TW201728023A publication Critical patent/TW201728023A/en

Links

Abstract

A USB hub includes an upstream port, a plurality of downstream ports, and a control unit. When it is determined that the upstream port is not occupied, or that the upstream port is occupied but all downstream ports are not occupied, the control unit is configured to operate the USB hub in a first mode. When it is determined that the upstream port is occupied and at least one downstream port is occupied, the control unit is configured to operate the USB hub in a second mode. The USB hub consumes less power when operating in the first mode than when operating in the second mode.

Description

低耗能之通用序列匯流排集線器Low-energy universal sequence bus hub

本發明相關於一種通用序列匯流排集線器,尤指一種低耗能之通用序列匯流排集線器。The present invention relates to a general-purpose serial bus hub, and more particularly to a low-energy general-purpose serial bus hub.

通用序列匯流排(universal serial bus, USB)是一種非常普及的電腦介面連接標準,也是一種輸入輸出介面的技術規範。一般電腦系統會提供至少一個標準USB連接埠,任何符合USB標準規格之週邊裝置皆可連接至任何一台具有USB標準規格之電腦系統,進而以USB規格之數位訊號互相傳遞資料,而且還能隨插即用(plug and play,PNP),亦即在不用重新開機或安裝的狀態下隨時安插各類週邊設備。由於電腦系統僅能提供有限數量的USB連接埠,並非所有週邊裝置同時間皆能以一對一的方式連接至電腦系統。因此,目前市面上發展出USB集線器(hub),其能讓電腦系統透過單一USB連接埠來和同時和多個週邊裝置進行資料傳輸。The universal serial bus (USB) is a very popular computer interface connection standard and a technical specification for input and output interfaces. The general computer system will provide at least one standard USB port. Any peripheral device that conforms to the USB standard can be connected to any computer system with USB standard specifications, and then the data can be transmitted to each other by USB digital signals. Plug and play (PNP), which means that all kinds of peripheral devices can be placed at any time without rebooting or installing. Since the computer system can only provide a limited number of USB ports, not all peripheral devices can be connected to the computer system in a one-to-one manner at the same time. Therefore, USB hubs have been developed on the market, which enable computer systems to transmit data to and from multiple peripheral devices through a single USB port.

傳統的USB集線器一般具有一個上游端埠(upstream port)以連接至主機,以及複數個下游端埠(downstream port)以連接至一個或多個週邊裝置,因此主機可透過USB集線器來同時和多個週邊裝置保持連接並且進行操作。為了節省功耗,現行USB通訊規範針對是否連接至主機來決定USB集線器之運作模式。當上游端埠被主機佔用時,USB集線器會供電至所有下游端埠以在正常模式下運作﹔當上游端埠並未被主機佔用時,USB集線器會停止供電至下游端埠以在省電模式下運作。A conventional USB hub generally has an upstream port to connect to the host, and a plurality of downstream ports to connect to one or more peripheral devices, so that the host can simultaneously and multiple through the USB hub. The peripheral devices remain connected and operate. To save power, the current USB communication specification determines the mode of operation of the USB hub for whether it is connected to the host. When the upstream port is occupied by the host, the USB hub will supply power to all downstream ports to operate in the normal mode; when the upstream port is not occupied by the host, the USB hub will stop supplying power to the downstream port in the power saving mode. Under work.

通常使用者會將USB集線器長時間地連接至主機,但只有在要使用時才會將週邊裝置插入USB集線器的下游端埠。在此種情況下,當上游端埠被主機佔用時,即使主機並未和任何週邊裝置進行資料傳輸,先前技術之USB集線器依舊會持續地供電至下游端埠,因此增加USB集線器不必要的耗電量。Usually the user will connect the USB hub to the host for a long time, but the peripheral device will be plugged into the downstream end of the USB hub only when it is to be used. In this case, when the upstream port is occupied by the host, even if the host does not transmit data with any peripheral devices, the prior art USB hub will continue to supply power to the downstream port, thus increasing the unnecessary consumption of the USB hub. Electricity.

本發明提供一種USB集線器,其包含一上游端埠、至少一第一下游端埠,以及一控制單元。該第一下游端埠包含一第一資料接腳和一第二資料接腳,用來在該第一下游端埠被一裝置佔用時傳送資料至該裝置或從該裝置接收資料﹔以及一電壓接腳和一接地接腳,用來在該第一下游端埠被該裝置佔用時傳送一電源至該裝置,其中該接地接腳為浮接。該控制單元耦接至該上游端埠和該第一下游端埠之該接地接腳,用來判斷該上游端埠和該第一下游端埠是否被佔用﹔當判斷該上游端埠被佔用但該第一下游端埠未被佔用時,控制該USB集線器以在一第一模式下運作﹔以及當判斷該上游端埠和該第一下游端埠皆被佔用時,控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。The present invention provides a USB hub including an upstream port, at least a first downstream port, and a control unit. The first downstream port includes a first data pin and a second data pin for transmitting data to or receiving data from the device when the first downstream port is occupied by a device; and a voltage A pin and a ground pin are used to transmit a power source to the device when the first downstream port is occupied by the device, wherein the ground pin is floating. The control unit is coupled to the ground pin of the upstream end and the first downstream end to determine whether the upstream port and the first downstream port are occupied; when it is determined that the upstream port is occupied but Controlling the USB hub to operate in a first mode when the first downstream port is not occupied; and controlling the USB hub to be in a state when it is determined that both the upstream port and the first downstream port are occupied The second mode operates, wherein the power consumption of the USB hub when operating in the first mode is lower than the power consumption when operating in the second mode.

本發明另提供一種操作一USB集線器之方法,該USB集線器包含一上游端埠、至少一下游端埠和一控制單元。該方法包含將該下游端埠之一接地接腳設為浮接,使得當該下游端埠被佔用時,該接地接腳具備一第一電位﹔且當該下游端埠被未被佔用時,該接地接腳具備一第二電位﹔該控制單元判斷該上游端埠是否被佔用﹔該控制單元依據從該接地接腳偵測到之電位來判斷該下游端埠是否被佔用﹔當判斷該上游端埠被佔用但該下游端埠未被佔用時,該控制單元控制該USB集線器以在一第一模式下運作﹔以及當判斷該上游端埠和該下游端埠皆被佔用時,該控制單元控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。The present invention further provides a method of operating a USB hub, the USB hub including an upstream port, at least one downstream port, and a control unit. The method includes: setting a ground pin of the downstream end to be floated, such that when the downstream end is occupied, the ground pin has a first potential; and when the downstream end is unoccupied, The grounding pin has a second potential; the control unit determines whether the upstream terminal is occupied; the control unit determines whether the downstream terminal is occupied according to the potential detected from the grounding pin; when determining the upstream When the port is occupied but the downstream port is not occupied, the control unit controls the USB hub to operate in a first mode; and when it is determined that both the upstream port and the downstream port are occupied, the control unit The USB hub is controlled to operate in a second mode, wherein the power consumption of the USB hub when operating in the first mode is lower than the power consumption when operating in the second mode.

本發明另提供一種顯示器,其包含一螢幕和一USB集線器。該USB集線器包含一上游端埠、至少一第一下游端埠,以及一控制單元。該第一下游端埠包含一第一資料接腳和一第二資料接腳,用來在該第一下游端埠被一裝置佔用時傳送資料至該裝置或從該裝置接收資料﹔以及一電壓接腳和一接地接腳,用來在該第一下游端埠被該裝置佔用時傳送一電源至該裝置,其中該接地接腳為浮接。該控制單元耦接至該上游端埠和該第一下游端埠之該接地接腳,用來判斷該上游端埠和該第一下游端埠是否被佔用﹔當判斷該上游端埠被佔用但該第一下游端埠未被佔用時,控制該USB集線器以在一第一模式下運作﹔以及當判斷該上游端埠和該第一下游端埠皆被佔用時,控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。The invention further provides a display comprising a screen and a USB hub. The USB hub includes an upstream port, at least a first downstream port, and a control unit. The first downstream port includes a first data pin and a second data pin for transmitting data to or receiving data from the device when the first downstream port is occupied by a device; and a voltage A pin and a ground pin are used to transmit a power source to the device when the first downstream port is occupied by the device, wherein the ground pin is floating. The control unit is coupled to the ground pin of the upstream end and the first downstream end to determine whether the upstream port and the first downstream port are occupied; when it is determined that the upstream port is occupied but Controlling the USB hub to operate in a first mode when the first downstream port is not occupied; and controlling the USB hub to be in a state when it is determined that both the upstream port and the first downstream port are occupied The second mode operates, wherein the power consumption of the USB hub when operating in the first mode is lower than the power consumption when operating in the second mode.

第1圖為本發明實施例中一顯示器150之功能方塊圖。顯示器150包含一螢幕50和一USB集線器100。在本發明實施例中,顯示器150可為任何具備顯示功能且具有USB標準規格的裝置。然而,顯示器150之種類並不限定本發明之範疇。FIG. 1 is a functional block diagram of a display 150 in an embodiment of the present invention. Display 150 includes a screen 50 and a USB hub 100. In the embodiment of the present invention, the display 150 can be any device having a display function and having a USB standard specification. However, the type of display 150 does not limit the scope of the invention.

USB集線器100包含一上游端埠UP、複數個下游端埠DN1 〜DNM ,以及一控制單元10,其中M為正整數。USB集線器100可透過上游端埠UP連接至一主機,及/或透過下游端埠DN1 〜DNM 連接至一個或多個週邊裝置。在本發明實施例中,USB集線器100可透過上游端埠UP連接至任何提供至少一個標準USB連接埠之裝置。然而,主機之種類並不限定本發明之範疇。The USB hub 100 includes an upstream port 埠UP, a plurality of downstream ports DN 1 DN DN M , and a control unit 10, where M is a positive integer. The USB hub 100 can be connected to a host via an upstream port 埠UP and/or to one or more peripheral devices via downstream ports DN 1 DN DN M. In an embodiment of the invention, the USB hub 100 can be connected to any device providing at least one standard USB port via an upstream port. However, the type of the host does not limit the scope of the present invention.

在本發明實施例中,USB集線器100可透過下游端埠DN1 〜DNM 連接至一個或多個符合USB標準規格之裝置,例如印表機、麥克風、擴音器、螢幕、滑鼠、鍵盤、行動硬碟,或記憶卡等。然而,週邊裝置之種類並不限定本發明之範疇。In the embodiment of the present invention, the USB hub 100 can be connected to one or more devices conforming to the USB standard specification through the downstream ports DN 1 DN DN M , such as a printer, a microphone, a loudspeaker, a screen, a mouse, a keyboard. , action hard drive, or memory card. However, the type of peripheral device does not limit the scope of the present invention.

第2圖為本發明USB集線器100中上游端埠UP之示意圖。上游端埠UP包含一第一資料接腳DATA+、一第二資料接腳DATA-、一電壓接腳VCC,和一接地接腳GND。當上游端埠UP被主機佔用時,USB集線器100可透過第一資料接腳DATA+和第二資料接腳DATA-來和主機進行資料傳輸。電壓接腳VCC耦接至控制單元10,而接地接腳GND耦接至一參考接地電位。由於上游端埠UP被主機佔用時會改變電壓接腳VCC之電位,控制單元10可依此判斷USB集線器100是否連接至主機。FIG. 2 is a schematic diagram of the upstream end 埠UP in the USB hub 100 of the present invention. The upstream port 埠UP includes a first data pin DATA+, a second data pin DATA-, a voltage pin VCC, and a ground pin GND. When the upstream port 埠UP is occupied by the host, the USB hub 100 can transmit data to and from the host through the first data pin DATA+ and the second data pin DATA-. The voltage pin VCC is coupled to the control unit 10, and the ground pin GND is coupled to a reference ground potential. Since the upstream terminal 埠UP is occupied by the host, the potential of the voltage pin VCC is changed, and the control unit 10 can determine whether the USB hub 100 is connected to the host.

第3圖為本發明USB集線器100中下游端埠DN1 〜DNM 之示意圖。下游端埠DN1 〜DNM 各包含一第一資料接腳(分別由DATA1 +〜DATAM +來表示)、一第二資料接腳(分別由DATA1 -〜DATAM -來表示)、一電壓接腳(分別由VCC1 〜VCCM 來表示),和一接地接腳(分別由GND1 〜GNDM 來表示)。當一下游端埠被一週邊裝置佔用時,USB集線器100可透過相對應第一資料接腳和第二資料接腳傳送資料至週邊裝置或從週邊裝置接收資料,以及透過相對應電壓接腳來傳送電源至週邊裝置。每一接地接腳GND1 〜GNDM 耦接至控制單元10且皆為浮接電位,使得當一下游端埠被佔用時其相對應接地接腳會具備一第一電位,而當一下游端埠被未被佔用時其相對應接地接腳會具備一第二電位。因此,控制單元10可依此判斷USB集線器100是否連接至任何週邊裝置。3 is a schematic diagram of the downstream ports DN 1 DN DN M of the USB hub 100 of the present invention. The downstream ports DN 1 DN DN M each include a first data pin (represented by DATA 1 + DATA M + respectively) and a second data pin (represented by DATA 1 - DATA M - respectively), A voltage pin (represented by VCC 1 to VCC M , respectively), and a ground pin (represented by GND 1 to GND M , respectively). When a downstream port is occupied by a peripheral device, the USB hub 100 can transmit data to or receive data from the peripheral device through the corresponding first data pin and the second data pin, and through the corresponding voltage pin. Transfer power to the peripherals. Each of the ground pins GND 1 GND M is coupled to the control unit 10 and is a floating potential such that when a downstream terminal is occupied, the corresponding ground pin has a first potential, and a downstream end When the 埠 is unoccupied, its corresponding ground pin will have a second potential. Therefore, the control unit 10 can judge whether the USB hub 100 is connected to any peripheral device.

在第3圖所示之實施例中,下游端埠DN1 〜DNM 之接地接腳GND1 〜GNDM 可透過一電阻R耦接至一偏壓VBIAS 以形成一浮接電路。然而,浮接電路之結構並不限定本發明之範疇。In the embodiment shown in FIG. 3, the ground pins GND 1 GND GND M of the downstream terminals DN 1 DN DN M can be coupled to a bias voltage V BIAS through a resistor R to form a floating circuit. However, the structure of the floating circuit does not limit the scope of the present invention.

控制單元10可控制USB集線器100之運作模式,第4圖為本發明實施例中控制單元10運作時之流程圖,其包含下列步驟﹕The control unit 10 can control the operation mode of the USB hub 100. FIG. 4 is a flow chart of the operation of the control unit 10 in the embodiment of the present invention, which includes the following steps:

步驟410﹕偵測上游端埠UP中電壓接腳VCC的電位和下游端埠DN1 〜DNM 中接地接腳GND1 〜GNDM 的電位﹔執行步驟420。Step 410: Detect the potential of the voltage pin VCC in the upstream end 埠 UP and the potential of the ground pins GND 1 GND GND M in the downstream end 埠 DN 1 DN DN M ;

步驟420﹕依據上游端埠UP中電壓接腳VCC的電位來判斷上游端埠UP是否被佔用﹕若是,執行步驟430﹔若否,執行步驟440。Step 420: Determine whether the upstream terminal 埠UP is occupied according to the potential of the voltage pin VCC in the upstream terminal 埠UP: if yes, go to step 430; if no, go to step 440.

步驟430﹕依據下游端埠DN1 〜DNM 中接地接腳GND1 〜GNDM 的電位來判斷是否有至少一特定下游端埠被佔用﹕若是,執行步驟450﹔若否,執行步驟440。Step 430: the downstream end of the port based on the potential DN 1 ~DN M in the ground pin GND 1 ~GND M to determine whether at least a downstream end of a particular port is occupied: if yes, perform step 450; if not, step 440 is executed.

步驟440﹕控制USB集線器以在一第一模式下運作,執行步驟410。Step 440: Control the USB hub to operate in a first mode, and perform step 410.

步驟450﹕控制USB集線器以在一第二模式下運作,執行步驟460。Step 450: Control the USB hub to operate in a second mode, and perform step 460.

步驟460﹕監控上游端埠UP和特定下游端埠是否皆維持被佔用? 若是,執行步驟450﹔若否,執行步驟440。Step 460: Monitor whether the upstream port 埠UP and the specific downstream port 维持 are all occupied. If yes, go to step 450; if no, go to step 440.

在第4圖所示之實施例中,第一模式為省電模式,此時USB集線器100會停止供電至下游端埠DN1 〜DNM ﹔第二模式為正常模式,此時USB集線器100會供電至下游端埠DN1 〜DNM 。下列圖表一顯示了控制單元10控制USB集線器100之運作模式的各種情境。 圖表一In the embodiment shown in FIG. 4, the first mode is the power saving mode, at which time the USB hub 100 stops supplying power to the downstream ports DN 1 DN DN M ; the second mode is the normal mode, and the USB hub 100 at this time Power is supplied to the downstream terminal 埠DN 1 ~DN M . The following chart 1 shows various scenarios in which the control unit 10 controls the mode of operation of the USB hub 100. Chart one

在步驟410〜430中,當判斷USB集線器100並未連結至主機時,或當判斷USB集線器100連結至主機但未連結至任何週邊裝置時,本發明會執行步驟440以控制USB集線器100在第一模式(省電模式)下運作﹔當判斷USB集線器100連結至主機和至少一個週邊裝置時,本發明會執行步驟450以控制USB集線器100在第二模式(正常模式)下運作。因此,唯有在主機透過USB集線器100連結至至少一個週邊裝置時,本發明之USB集線器100才會供電至下游端埠DN1 〜DNM ,進而降低USB集線器不必要的耗電量。In steps 410-430, when it is determined that the USB hub 100 is not connected to the host, or when it is determined that the USB hub 100 is connected to the host but is not connected to any peripheral device, the present invention performs step 440 to control the USB hub 100. In a mode (power saving mode), when it is determined that the USB hub 100 is connected to the host and the at least one peripheral device, the present invention performs step 450 to control the USB hub 100 to operate in the second mode (normal mode). Therefore, the USB hub 100 of the present invention supplies power to the downstream ports DN 1 DN DN M only when the host is connected to at least one peripheral device through the USB hub 100, thereby reducing the unnecessary power consumption of the USB hub.

此外,在供電至下游端埠DN1 〜DNM 的期間,本發明亦會在步驟460中定期監控上游端埠UP和至少一下游端埠是否皆維持被佔用。一旦偵測到所有下游端埠皆變成未被佔用,此時USB集線器100會執行步驟440以切換至省電模式下運作。因此,唯有在主機透過USB集線器100連結至至少一個週邊裝置時,本發明之USB集線器100才會供電至下游端埠DN1 〜DNM ,進而降低USB集線器不必要的耗電量。   以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In addition, during the period of power supply to the downstream ports DN 1 DN DN M , the present invention also periodically monitors in step 460 whether the upstream port 埠 UP and at least one downstream port 维持 are maintained occupied. Once it is detected that all downstream ports become unoccupied, the USB hub 100 will perform step 440 to switch to the power saving mode. Therefore, the USB hub 100 of the present invention supplies power to the downstream ports DN 1 DN DN M only when the host is connected to at least one peripheral device through the USB hub 100, thereby reducing the unnecessary power consumption of the USB hub. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

10‧‧‧控制單元
50‧‧‧螢幕
100‧‧‧USB集線器
150‧‧‧顯示器
R‧‧‧電阻
VBIAS‧‧‧偏壓
UP‧‧‧上游端埠
DN1〜DNM‧‧‧下游端埠
DATA+、DATA1+〜DATAM+‧‧‧第一資料接腳
DATA-、DATA1-〜DATAM-‧‧‧第二資料接腳
VCC、VCC1〜VCCM‧‧‧電壓接腳
GND、GND1〜GNDM‧‧‧接地接腳
410〜460‧‧‧步驟
10‧‧‧Control unit
50‧‧‧ screen
100‧‧‧USB hub
150‧‧‧ display
R‧‧‧resistance
V BIAS ‧‧‧ bias
UP‧‧‧Upstream end
DN 1 ~ DN M ‧‧‧ downstream end 埠
DATA+, DATA 1 +~DATA M +‧‧‧First data pin
DATA-, DATA 1 - ~DATA M -‧‧‧Second data pin
VCC, VCC 1 ~ VCC M ‧‧‧ voltage pin
GND, GND 1 ~ GND M ‧‧‧ Grounding Pin
410~460‧‧‧Steps

第1圖為本發明實施例中一顯示器之功能方塊圖。 第2圖為本發明USB集線器中上游端埠之示意圖。 第3圖為本發明USB集線器中下游端埠之示意圖。 第4圖為本發明實施例中USB集線器之控制單元運作時之流程圖。FIG. 1 is a functional block diagram of a display in an embodiment of the present invention. Figure 2 is a schematic diagram of the upstream end of the USB hub of the present invention. Figure 3 is a schematic diagram of the downstream end of the USB hub of the present invention. Figure 4 is a flow chart showing the operation of the control unit of the USB hub in the embodiment of the present invention.

410~460‧‧‧步驟 410~460‧‧‧Steps

Claims (12)

一種通用序列匯流排(Universal Serial Bus, USB)集線器,其包含﹕ 一上游端(upstream)埠﹔ 至少一第一下游端(downstream)埠,其包含﹕ 一第一資料接腳和一第二資料接腳,用來在該第一下游端埠被一裝置佔用時傳送資料至該裝置或從該裝置接收資料﹔以及 一電壓接腳和一接地接腳,用來在該第一下游端埠被該裝置佔用時傳送一電源至該裝置,其中該接地接腳為浮接﹔以及 一控制單元,耦接至該上游端埠和該第一下游端埠之該接地接腳,用來﹕ 判斷該上游端埠和該第一下游端埠是否被佔用﹔ 當判斷該上游端埠被佔用但該第一下游端埠未被佔用時,控制該USB集線器以在一第一模式下運作﹔以及 當判斷該上游端埠和該第一下游端埠皆被佔用時,控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。A universal serial bus (USB) hub includes: an upstream port; at least one first downstream port, comprising: a first data pin and a second data a pin for transmitting data to or receiving data from the device when the first downstream port is occupied by a device; and a voltage pin and a ground pin for being used at the first downstream end The device is configured to transmit a power source to the device, wherein the ground pin is floating; and a control unit coupled to the ground pin of the upstream port and the first downstream port for determining: Whether the upstream port and the first downstream port are occupied; when it is determined that the upstream port is occupied but the first downstream port is not occupied, controlling the USB hub to operate in a first mode; When the upstream port and the first downstream port are occupied, controlling the USB hub to operate in a second mode, wherein the power consumption of the USB hub in the first mode is lower than in the second mode Work in mode . 如請求項1所述之USB集線器,其中該控制單元另用來﹕ 停止供電至該第一下游端埠以控制該USB集線器在該第一模式下運作﹔以及 供電至該第一下游端埠以控制該USB集線器在該第二模式下運作。The USB hub of claim 1, wherein the control unit is further configured to: stop power supply to the first downstream port to control the USB hub to operate in the first mode; and supply power to the first downstream port The USB hub is controlled to operate in the second mode. 如請求項2所述之USB集線器,其中該控制單元另用來﹕ 在供電至該第一下游端埠的期間,監控該上游端埠和該第一下游端埠是否皆維持被佔用﹔以及 當監控到該上游端埠和該第一下游端埠至少其中之一未被佔用時,停止供電至該第一下游端埠。The USB hub of claim 2, wherein the control unit is further configured to: monitor whether the upstream port and the first downstream port are both occupied during power supply to the first downstream port; and When it is monitored that at least one of the upstream port and the first downstream port is unoccupied, power supply to the first downstream port is stopped. 如請求項1所述之USB集線器,其另包含一個或多個第二下游端埠,其中該控制單元另用來﹕ 判斷該一個或多個第二下游端埠是否被佔用﹔以及 當判斷該上游端埠被佔用,且判斷該第一下游端埠和該一個或多個第二下游端埠皆未被佔用時,控制該USB集線器以在該第一模式下運作﹔以及 當判斷該上游端埠被佔用,且判斷該一個或多個第二下游端埠至少其中之一被佔用時,控制該USB集線器以在該第二模式下運作。The USB hub of claim 1, further comprising one or more second downstream ports, wherein the control unit is further configured to: determine whether the one or more second downstream ports are occupied; and when determining Controlling the USB hub to operate in the first mode when the upstream port is occupied and determining that the first downstream port and the one or more second downstream ports are unoccupied; and when determining the upstream end When the UI is occupied and it is determined that at least one of the one or more second downstream ports is occupied, the USB hub is controlled to operate in the second mode. 如請求項1所述之USB集線器,其中該接地接腳係透過一電阻耦接至一偏壓以形成一浮接電路。The USB hub of claim 1, wherein the ground pin is coupled to a bias voltage through a resistor to form a floating circuit. 如請求項5所述之USB集線器,其中﹕ 當該第一下游端埠被佔用時,該接地接腳具備一第一電位﹔ 當該第一下游端埠未被佔用時,該接地接腳具備一第二電位﹔且 該判斷電路係依據從該接地接腳偵測到之電位來判斷該第一下游端埠是否被佔用。The USB hub of claim 5, wherein: the ground pin has a first potential when the first downstream port is occupied; and the ground pin is provided when the first downstream port is not occupied a second potential; and the determining circuit determines whether the first downstream port is occupied according to the potential detected from the ground pin. 一種操作一USB集線器之方法,該USB集線器包含一上游端埠、至少一下游端埠和一控制單元,該方法包含﹕ 將該下游端埠之一接地接腳設為浮接,使得﹕ 當該下游端埠被佔用時,該接地接腳具備一第一電位﹔且 當該下游端埠被未被佔用時,該接地接腳具備一第二電位﹔ 該控制單元判斷該上游端埠是否被佔用﹔ 該控制單元依據從該接地接腳偵測到之電位來判斷該下游端埠是否被佔用﹔ 當判斷該上游端埠被佔用但該下游端埠未被佔用時,該控制單元控制該USB集線器以在一第一模式下運作﹔以及 當判斷該上游端埠和該下游端埠皆被佔用時,該控制單元控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。A method of operating a USB hub, the USB hub includes an upstream port, at least one downstream port, and a control unit, the method comprising: setting a ground pin of the downstream port to be floating, such that: When the downstream port is occupied, the ground pin has a first potential; and when the downstream port is unoccupied, the ground pin has a second potential; the control unit determines whether the upstream port is occupied The control unit determines whether the downstream port is occupied according to the potential detected from the ground pin; when it is determined that the upstream port is occupied but the downstream port is not occupied, the control unit controls the USB hub Operating in a first mode; and when it is determined that both the upstream port and the downstream port are occupied, the control unit controls the USB hub to operate in a second mode, wherein the USB hub is at the first The power consumption when operating in mode is lower than the power consumption when operating in the second mode. 如請求項7所述之方法,其另包含﹕ 該控制單元讓一電源停止被供應至該下游端埠,進而控制該USB集線器以在該第一模式下運作﹔以及 該控制單元讓該電源被供應至該下游端埠,進而控制該USB集線器以在該第二模式下運作。The method of claim 7, further comprising: the control unit causing a power supply to be stopped to be supplied to the downstream port, thereby controlling the USB hub to operate in the first mode; and the control unit allowing the power source to be Supply to the downstream port, thereby controlling the USB hub to operate in the second mode. 如請求項8所述之方法,其另包含﹕ 在該電源被供應至該下游端埠的期間,監控該上游端埠和該下游端埠是否皆維持被佔用﹔以及 當監控到該上游端埠和該下游端埠至少其中之一未被佔用時,該控制單元讓該電源停止被供應至該下游端埠。The method of claim 8, further comprising: monitoring whether the upstream port and the downstream port are both occupied while the power source is being supplied to the downstream port; and when monitoring the upstream port And when at least one of the downstream ports is unoccupied, the control unit stops the power supply from being supplied to the downstream port. 一種顯示器,其包含﹕ 一螢幕﹔以及 一USB集線器,其包含﹕ 一上游端埠﹔ 至少一第一下游端埠,其包含﹕ 一第一資料接腳和一第二資料接腳,用來在該第一下游端埠被一裝置佔用時傳送資料至該裝置或從該裝置接收資料﹔以及 一電壓接腳和一接地接腳,用來在該第一下游端埠被該裝置佔用時傳送一電源至該裝置,其中該接地接腳為浮接﹔以及 一控制單元,耦接至該上游端埠和該第一下游端埠之該接地接腳,用來﹕ 判斷該上游端埠和該第一下游端埠是否被佔用﹔ 當判斷該上游端埠被佔用但該第一下游端埠未被佔用時,控制該USB集線器以在一第一模式下運作﹔以及 當判斷該上游端埠和該第一下游端埠皆被佔用時,控制該USB集線器以在一第二模式下運作,其中該USB集線器在該第一模式下運作時之功耗低於在該第二模式下運作時之功耗。A display comprising: a screen; and a USB hub comprising: an upstream port; at least one first downstream port, comprising: a first data pin and a second data pin for The first downstream port is configured to transmit data to or receive data from the device when occupied by a device; and a voltage pin and a ground pin for transmitting when the first downstream port is occupied by the device a power supply to the device, wherein the grounding pin is floating; and a control unit coupled to the grounding pin of the upstream end and the first downstream end for determining: the upstream end and the first Whether a downstream port is occupied; when it is determined that the upstream port is occupied but the first downstream port is not occupied, controlling the USB hub to operate in a first mode; and when determining the upstream port and the When the first downstream port is occupied, the USB hub is controlled to operate in a second mode, wherein the power consumption of the USB hub when operating in the first mode is lower than when operating in the second mode Consumption. 如請求項10所述之顯示器,其中該控制單元另用來﹕ 停止供電至該第一下游端埠以控制該USB集線器在該第一模式下運作﹔以及 供電至該第一下游端埠以控制該USB集線器在該第二模式下運作。The display of claim 10, wherein the control unit is further configured to: stop power supply to the first downstream port to control the USB hub to operate in the first mode; and supply power to the first downstream port to control The USB hub operates in the second mode. 如請求項10所述之顯示器,其中﹕ 該接地接腳係透過一電阻耦接至一偏壓以形成一浮接電路﹔ 當該第一下游端埠被佔用時,該接地接腳具備一第一電位﹔ 當該第一下游端埠未被佔用時,該接地接腳具備一第二電位﹔且 該判斷電路係依據從該接地接腳偵測到之電位來判斷該第一下游端埠是否被佔用。The display device of claim 10, wherein: the grounding pin is coupled to a bias voltage through a resistor to form a floating circuit; when the first downstream terminal is occupied, the grounding pin has a first a potential; the ground pin has a second potential when the first downstream end is not occupied; and the determining circuit determines whether the first downstream end is based on the potential detected from the ground pin Occupied.
TW105102657A 2016-01-28 2016-01-28 Usb hub with low power consumption TWI547037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105102657A TWI547037B (en) 2016-01-28 2016-01-28 Usb hub with low power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105102657A TWI547037B (en) 2016-01-28 2016-01-28 Usb hub with low power consumption

Publications (2)

Publication Number Publication Date
TWI547037B TWI547037B (en) 2016-08-21
TW201728023A true TW201728023A (en) 2017-08-01

Family

ID=57183832

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105102657A TWI547037B (en) 2016-01-28 2016-01-28 Usb hub with low power consumption

Country Status (1)

Country Link
TW (1) TWI547037B (en)

Also Published As

Publication number Publication date
TWI547037B (en) 2016-08-21

Similar Documents

Publication Publication Date Title
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
US9645954B2 (en) Embedded microcontroller and buses
US7069347B1 (en) Device and method for adapting speed of a USB device based on available power
US7293118B1 (en) Apparatus and method for dynamically providing hub or host operations
CN101622612B (en) Detecting connection to a usb host or hub without using an extra status input
US9696777B2 (en) Computer port control
JP6936543B2 (en) USB interface circuits and methods for low power operation
US8954628B2 (en) Portable device and peripheral extension dock
CN103870429B (en) Based on the igh-speed wire-rod production line plate of embedded gpu
US20110060850A1 (en) Mobile device of supporting uart and usb communication using same connector and operating method there-of
JP2017523509A (en) Reversible connector for accessory devices
CN109672950B (en) Power saving circuit and power saving method based on Type-C earphone
CN103443740A (en) Power optimization on a power-over-ethernet based thin client device
US20120137159A1 (en) Monitoring system and method of power sequence signal
CN104054064B (en) Flexible port configuration based on interface coupling
CN108628787B (en) Interface control circuit
CN110032533B (en) C-type universal serial bus interface circuit and pin bypass method thereof
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
US8935451B2 (en) Network card detecting circuit
JP2017515200A (en) System and method for disconnection detection in a dual mode port of a USB hub
CN104809088A (en) Connecting device and control chip and control method thereof
US9235246B2 (en) Computing device and power supply method of connection module
US20220276687A1 (en) Port role assignments
TWI547037B (en) Usb hub with low power consumption
CN105760334B (en) Universal serial bus hub, method for operating the same and display