USB hub
≈ 8 min read
Names in other languages
- PortuguêsConcentrador USB
- EnglishUSB hub
- euUSB hub
- Françaishub USB
- Polskihub USB
- 한국어USB 허브
- 简体中文USB集线器
- 繁體中文USB集線器
- 中文USB集線器
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
A USB hub is a device that expands a single Universal Serial Bus (USB) port into several so that there are more ports available to connect devices to a host system, similar to a power strip. All devices connected through a USB hub share the bandwidth available to that hub. Physically separate USB hubs come in a wide variety of form factors: from external boxes (looking similar to an Ethernet or network hub), to small designs that can be directly plugged into a USB port (see the "compact design" picture). "Short cable" hubs typically use an integral 6-inch (15 cm) cable to slightly distance a small hub away from physical port congestion and increase the number of available ports. Almost all modern laptop computers are equipped with USB ports, but an external USB hub can consolidate several everyday devices (like a mouse, keyboard or printer) into a single hub to enable one-step attachment and removal of all the devices. Some USB hubs may support power delivery (PD) to charge a laptop battery, if self-powered and certified to do so, but may be referred to as a simple docking station due to the similar nature of only needing one connection to charge the battery and connect peripherals. Hubs may feature power switches for individual ports to allow conveniently power cycling unresponsive devices.
A USB hub is a device that expands a single Universal Serial Bus (USB) port into several so that there are more ports available to connect devices to a host system, similar to a power strip. All devices connected through a USB hub share the bandwidth available to that hub. Physically separate USB hubs come in a wide variety of form factors: from external boxes (looking similar to an Ethernet or network hub), to small designs that can be directly plugged into a USB port (see the "compact design" picture). "Short cable" hubs typically use an integral 6-inch (15 cm) cable to slightly distance a small hub away from physical port congestion and increase the number of available ports. Almost all modern laptop computers are equipped with USB ports, but an external USB hub can consolidate several everyday devices (like a mouse, keyboard or printer) into a single hub to enable one-step attachment and removal of all the devices. Some USB hubs may support power delivery (PD) to charge a laptop battery, if self-powered and certified to do so, but may be referred to as a simple docking station due to the similar nature of only needing one connection to charge the battery and connect peripherals. Hubs may feature power switches for individual ports to allow conveniently power cycling unresponsive devices.
Power
Many hubs can operate as either bus powered or self powered hubs. Power equals voltage times current. A USB port that draws 500 mA (0.5 A) at 5 volts is drawing 2.5 watts of power. In bus-powered USB hubs, each USB port can supply power as well as transfer data. A self-powered hub takes its power from an external power supply unit and can therefore provide full power (up to to every port. Self-powered hubs are usually more expensive than unpowered USB hubs
Self-powered hub (active hub)
Self-powered hubs can power high-voltage devices such as speakers, printers, and scanners. Self-powered USB hubs are usually more bulky, and more expensive than bus-powered USB hubs.
Compatibility
There are many non-compliant hubs on the market which announce themselves to the host as self-powered despite really being bus-powered. Equally, there are plenty of non-compliant devices that use more than 100 mA without announcing this fact. These hubs and devices do allow more flexibility in the use of power (in particular, many devices use far less than 100 mA and many USB ports can supply more than 500 mA before going into overload shut-off), but they are likely to make power problems harder to diagnose. Some self-powered hubs do not supply enough power to drive a 500 mA load on every port. For example, many seven port hubs have a 1 A power supply, when in fact seven ports could draw a maximum of A, plus power for the hub itself. Designers assume the user will most likely connect many low-power devices and only one or two requiring a full 500 mA. On the other hand, the packaging for some self-powered hubs states explicitly how many of the ports can drive a 500 mA full load at once. For example, the packaging on a seven-port hub might claim to support a maximum of four full-load devices.
Power source
USB PD
Example how to calculate wattage consumption for a USB multiport hub with a USB PD port, and an HDMI port, connected to a smartphone and HDMI:
Electrical plug
Bus-powered hub (passive hub)
A bus-powered hub draws all its power from the host computer's USB interface. It does not need a separate power connection. However, many devices require more power than this method can provide and will not work in this type of hub. It may be desirable to use a bus-powered hub with self-powered external hard-disks, as the hard-disk may not spin down when the computer turns off or enters sleep mode while using a self-powered hub since the hard disk controller would continue to see a power source on the USB ports. All USB ports operate at 5 volts, but may draw or supply differing amounts of electric current.
Limitations
A USB's electric current is allocated in units of 100 mA up to a maximum total of 500 mA per port. Therefore, a compliant bus powered hub can have no more than four downstream ports and cannot offer more than four 100 mA units of current in total to downstream devices (since the hub needs one unit for itself). If a device requires more units of current than the port it is plugged into is able to supply, the operating system usually reports this to the user.
Dynamic-powered hubs
Dynamic-powered hubs are hubs which can work as bus-powered as well as self-powered hubs. They can automatically switch between modes depending on whether a separate power supply is available or not. While switching from bus-powered to self-powered operation does not necessarily require immediate renegotiations with the host, switching from self-powered to bus-powered operation may cause USB connections to be reset if connected devices previously requested more power than available in bus-powered mode.
Transaction translator
Any USB 2.0 hub that supports a higher standard than USB 1.1 (12 Mbit/s) will translate between the lower standard and the higher standard using what is called a transaction translator (TT). For example, if a USB 1.1 device is connected to a port on a USB 2.0 hub, then the TT would automatically recognize and translate the USB 1.1 signals to USB 2.0 on the uplink. However, the default design is that all lower-standard devices share the same transaction translator and thus create a bottleneck, a configuration known as the single transaction translator. Consequently, multi transaction translators (Multi-TT) were created, which provide more transaction translators such that bottlenecks are avoided. Note that due to the nature of USB 3.0 hubs have separate logic for the USB 3.0 and 2.0 data and therefore report a HUB device for both protocols.
See also
USB On-The-Go
Text derived from https://en.wikipedia.org/w/index.php?oldid=1372910508 under CC BY-SA 4.0; modifications have been made.