badge icon

This article was automatically translated from the original Turkish version.

Article

Universal Serial Bus (USB)

Quote
Official Name
Universal Serial Bus (USB)
Turkish Equivalent
Universal Serial Data Bus
Developer
USB Implementers Forum (USB-IF)
Initial Release Date
1996 (Version 1.0)
Basic Function
Enabling peripheral devices to communicate data and transfer power with a computer.
Architecture
Layered Protocol Stack
Most Recent Standard
USB4™ (up to 80 Gbps bandwidth)
Physical Connectors
Type-AType-BType-C (USB-C)Micro-USB

Universal Serial Bus (USB) is a standardized interface developed to simplify connections between personal computers and peripheral devices, replacing serial and parallel portsserial and parallel ports. This architecture, defined in the mid-1990s by industry leaders, establishes an expandable plug-and-play hardware model requiring minimal user intervention.

Hardware Architecture and Topology

USB’s physical connection structure is based on a tiered star topology. At the top of this structure is the host computer and a single root hub. The system topology can be extended up to seven tiers and allows up to 127 physical devices to be connected through a single host controller【1】. Hubs are used to extend the communication network, and each device is assigned a unique 7-bit address by the system. Data communication is performed using differential signaling over two data lines called D+ and D-. This low-voltage differential pair provides protection against electrical noise by interpreting the voltage difference between the two lines rather than their absolute voltage values. During transmission, Non-Return-to-Zero Inverted (NRZI) encoding is used, and bit stuffing is applied by inserting a logical 0 bit after every six consecutive logical 1 bits to maintain synchronization of the hardware clock.

Close-up image of a black standard USB Type-A male connector.

Standard USB, known as Type-A (Pixabay)

Communication, Bandwidth, and Latency

Communication over USB is packet-based and under direct control of the host; all operations are initiated according to the host’s bandwidth scheduling. Data packets are primarily categorized into four types: token, data, status, and special packets. Data transfer is supported through four communication modes: control for command and status information, bulk for large data volumes, interrupt for periodic data needs, and isochronous for real-time operations requiring guaranteed bandwidth. In real-time control systems, USB and hub hardware introduce specific transmission latencies. Statistical analyses and millisecond-level tests show that PS/2 or USB mice directly connected to a computer communicate faster than those connected through a USB hub. Although hubs generally introduce latency by adding layers to the communication protocol, in high-data-volume devices such as video capture hardware, this latency has been observed to be reduced or unchanged compared to direct connections. Consequently, the USB architecture provides a suitable interface for flexible soft real-time systems that can tolerate latencies on the millisecond scale.

Power Delivery and Management

The USB standard provides power delivery alongside data transfer via the VBUS line, which supplies a nominal +5 V voltage. According to standard specifications, a USB 1.0 port can deliver up to 100 mA at 5 V, a USB 2.0 port up to 500 mA (0.5 A), and a USB 3.0 port up to 900 mA (0.9 A)【2】. The USB Power Delivery specification extends this limit up to 100 W through special configurations. Mobile devices, tablets, and portable chargers (power bank) from different manufacturers may attempt to draw 2.5 A or more from a computer’s USB port depending on their design. Such overloading beyond the designed limits can trigger circuit breakers or cause thermal shutdown of power distribution switches, and in systems lacking internal current limiters such as PCI card-based systems, it may damage the host computer. Computer manufacturers use power distribution switches like MIC2027 or low-amperage protective fuses (e.g., 0.75 A) to ensure overcurrent protection. Additionally, low equivalent series resistance (ESR) capacitors are placed on the VBUS lines of hubs to limit inrush current during device connection and disconnection and to restrict voltage drop.

Versions and Speed Evolution

Throughout its technological development, USB standards have been continuously updated in terms of speed and connection capacity:

  • USB 1.1: Supported low-speed (1.5 Mbps) and full-speed (12 Mbps) modes, with maximum cable lengths of 5 meters for low- and high-speed devices and 3 meters for full-speed devices.
  • USB 2.0: Released in 2000, it introduced the high-speed mode with a data transfer rate of 480 Mbps and integrated USB On-The-Go (OTG) functionality enabling communication between devices without a host.
  • USB 3.0: Introduced in 2008, it launched the SuperSpeed mode with a transfer rate of 5 Gbps. It began using 8b/10b encoding and added extra pins to connectors to enable full-duplex communication.
  • USB 3.1 and 3.2: Increased maximum speeds to 10 Gbps and 20 Gbps respectively.
  • USB4™: Continued the speed evolution and introduced a new connection manager to handle complex device numbering and overall traffic management. Physically, Type-A connectors were predominantly used on host computers and Type-B on peripherals; over time, following earlier standards such as Mini-USB and Micro-USB for mobile devices, the Type-C standard emerged as the norm, supporting high data and power transfer rates.
Close-up photo showing the metal ends of three cables extending from bottom to top.

Commonly used connectors for mobile devices and peripherals. (Pixabay)

Software and Operating System Integration

The process by which an operating system detects and configures a new USB device is called enumeration. When a device is connected, the host detects voltage changes on the data lines (D+ or D-) and initiates dynamic detection, assigning the device a unique address. During this process, the system reads structured data tables known as device descriptors, which contain information about the device’s supported class, maximum packet size, manufacturer, and communication capabilities. The software architecture on the operating system is built on a layered model. On Windows operating systems, the UCX (USB Host Controller Extension) infrastructure is used to communicate with hardware via base host controller standards such as xHCI. The operating system uses a standard function driver called WinUSB.sys to establish general communication with individual peripherals. For composite devices containing multiple logical functions, the general upper driver Usbccgp.sys is activated; this software creates independent physical hardware objects for each function, enabling modular resource management. In addition, Type-C connectors supporting specialized power scenarios are integrated via the UcmCx class, and dual-role structures allowing devices to switch between host and device roles are integrated through the UrsCx programming interfaces.

Citations

Author Information

Avatar
AuthorMuhammed Efe ÇuhadarMarch 12, 2026 at 10:08 AM

Tags

Discussions

No Discussion Added Yet

Start discussion for "Universal Serial Bus (USB)" article

View Discussions

Contents

  • Hardware Architecture and Topology

  • Communication, Bandwidth, and Latency

  • Power Delivery and Management

  • Versions and Speed Evolution

  • Software and Operating System Integration

Ask to Küre