Universal Serial Bus (usb)

What Is Universal Serial Bus (USB)?

Universal Serial Bus, commonly abbreviated USB, is a standardized interface for connecting peripheral devices to host controllers, providing simultaneous data communication and power delivery over a single cable and connector system. Introduced in 1996 and maintained by the USB Implementers Forum (USB-IF), USB became the dominant peripheral interconnect in personal computing by consolidating the keyboard, mouse, storage, printer, and modem ports that had previously required separate, incompatible connectors. Its design principles, plug-and-play enumeration, hot-swap capability, and combined power and data delivery over one cable, have since extended USB into consumer electronics, industrial instrumentation, and embedded systems.

The specification covers four interdependent layers: the physical connector and cable assembly, the electrical signaling, the protocol and packet structure, and the device class framework that defines how particular categories of devices behave on the bus.

Connector Types and Physical Interface

USB has defined multiple connector form factors across its generations. The original USB-A receptacle (rectangular, found on host controllers) and USB-B plug (square, found on devices such as printers) established the asymmetric host-device topology. Smaller variants, Mini-USB and Micro-USB, followed for portable devices. The USB-C connector, introduced with the USB 3.1 specification in 2014 and now mandatory for USB4, is fully reversible, supports higher current ratings, and carries the alternate modes that allow DisplayPort and PCIe protocols to coexist with USB traffic on the same connector.

The USB-C form factor has been mandated for smartphones sold in the European Union as of 2024, a regulatory decision that reflects the connector's breadth of capability. Details of the connector mechanical and electrical requirements appear in the USB-IF document library, which publishes normative specifications for each connector type.

Host Controller and Device Classes

The USB host controller, typically integrated into a computer's chipset or available as a discrete PCIe card, manages all bus traffic. Devices do not initiate communication independently; the host polls each device according to its declared endpoint type and bandwidth allocation. When a device is attached, the host performs enumeration: it reads the device descriptor, assigns a bus address, loads the appropriate driver, and confirms the device is ready to receive commands.

Device classes define standard behaviors for common peripheral types without requiring vendor-specific drivers. The Human Interface Device (HID) class covers keyboards, mice, and game controllers. The Mass Storage Class (MSC) covers flash drives and external hard disks. The Communications Device Class (CDC) handles virtual serial ports and network adapters. The Audio class governs USB sound cards and headsets. This class framework allows devices from different manufacturers to operate without custom drivers on any compliant host, a property that contributed substantially to USB's market adoption.

USB in Modern Computing and Power Delivery

The USB4 Version 2.0 specification from 2022 represents the current performance ceiling for the interface, supporting up to 80 Gbit/s bidirectional data transfer and incorporating tunneled PCIe and DisplayPort streams alongside standard USB traffic. USB-C cables certified for USB4 can simultaneously carry multi-lane display output, high-speed storage access, and up to 240 W of negotiated power delivery, making them the primary interface cable for docking stations, portable monitors, and high-performance laptop workstations.

USB Power Delivery (USB PD) governs the power side of this picture. The USB-IF Power Delivery page describes the request-response negotiation sequence through which source and sink devices agree on voltage and current before the source adjusts its output. This negotiation allows a single charger to serve devices ranging from a 2.5 W wireless mouse dongle to a 240 W workstation display.

Applications

Universal Serial Bus has applications in a wide range of fields and product categories, including:

  • Consumer electronics synchronization, charging, and data access for smartphones, tablets, and wearables
  • Computer peripherals including pointing devices, keyboards, webcams, and audio interfaces
  • External storage, backup drives, and solid-state storage enclosures
  • Industrial field buses and instrument connectivity for test and measurement equipment
  • Embedded system development interfaces including firmware loading and JTAG debugging via USB bridges
Loading…