What type of bus is USB?

For information regarding upcoming events, documentation, products, compliance, and much more, visit the USB Implementers Forum website.

Find out about upcoming events

Related Videos

Related Materials

Universal Serial Bus [USB] is a serial bus standard and a technical specification for input and output interfaces. It is widely used in information communication devices. The latest generation is USB4, and its transmission speed is 40Gbit/s, the three-stage voltage is 5V/12V/20V, the maximum power supply is 100W.

Catalog

Ⅰ USB software structure

Each USB has only one host, which includes the following layers:

1. Bus interface

The USB bus interface handles the interconnection between the electrical layer and the protocol layer. From the perspective of interconnection, similar bus interfaces are given by the device and the host at the same time, such as the serial interface machine [SIE]. The USB bus interface is implemented by the main controller.

The USB system uses a host controller to manage the data transfer between the host and the USB device. The interface between it and the main controller depends on the hardware definition of the main controller. At the same time, the USB system is also responsible for managing USB resources, such as bandwidth and bus energy, which makes it possible for customers to access USB. The USB system also has three basic components:

The host controller driver [HCD] can map different host controller devices to the USB system. The interface between HCD and USB is called HCDI. The specific HCDI is defined by the operating system that supports different main controllers. The universal host controller driver [UHCD] is at the bottom of the soft structure, and it manages and controls the main controller. UHCD realizes the communication and control of the USB host controller, and it is concealed from other parts of the system software. The highest level in the system software communicates with the main controller through the UHCD software interface.

The USB driver [USBD] is on top of the UHCD drive. It provides a driver-level interface to meet the requirements of existing device driver designs. USBD provides a data transmission structure in the form of I/O request packets [IRPs], which consists of the need to transmit data through specific pipes [Pipe]. In addition, USBD makes the client an abstraction of the device to facilitate abstraction and management. As part of the abstraction, USBD has a default pipeline. It can access all USB devices for standard USB control. The default pipeline describes a logical channel for communication between USBD and USB devices.

2. Host software

In some operating systems, no USB system software is provided. The software was originally used to provide configuration information and loading structure to the device driver. In these operating systems, the device driver will use the provided interface instead of directly accessing the USBDI [USB Driver Interface] structure.

3. USB client software

It is located at the highest level of the software structure and is responsible for handling specific USB device drivers. The client program layer describes all the software entrances directly acting on the device. When the device is detected by the system, these client programs will directly act on the peripheral hardware. This shared feature puts the USB system software between the client and its device, which must be processed by the client program according to the device image formed by the USBD on the client.

Ⅱ USB hardware structure

USB uses a four-wire cable, two of which are serial channels used to transmit data, and the other two provide power for downstream devices. For any peripherals that have been successfully connected and recognized, both devices can support the highest rate of data transmission. USB is a token-based bus. Similar to a token ring network or FDDI token-based bus. The USB host controller broadcasts the token, and the device on the bus detects whether the address in the token matches itself, and responds by receiving or sending data to the host. USB manages USB bus power by supporting suspend/resume operations. The USB system uses a cascaded star topology, which is composed of three basic parts: Host, Hub, and functional devices.

USB interface definition

The host, also known as the root, is built on the motherboard or installed on the computer as an adapter card. The host contains a main controller and a root hub, which controls the data and data on the USB bus. To control the flow of information, each USB system can only have one root hub, which is connected to the main controller, and a computer may have multiple root hubs.

The hub is a specific component of the USB structure. It provides a point called a port to connect the device to the USB bus, and at the same time detects the devices connected to the bus, and provides power management for these devices, and is responsible for bus failure detection and recovery. The hub can provide energy for the bus and also for itself [getting power from the outside]. The functional device is connected to the bus through the port. USB can be used as Hub at the same time.

Ⅲ USB development

USB 1.0

USB 1.0 appeared in 1996, and the speed was only 1.5Mb/s [bits per second]. In 1998, it was upgraded to USB 1.1, and the speed was greatly increased to 12Mb/s. This standard can be seen on some old devices. USB1.1 is a more common USB specification. The transmission rate of the high-speed mode is 12Mbps, and the transmission rate of the low-speed mode is 1.5Mbps. Most MP3s are of this type of interface.

USB 2.0

The USB2.0 specification is evolved from the USB1.1 specification. Its transmission rate has reached 480Mbps, which is converted into MB to 60MB/s, which is sufficient to meet the rate requirements of most peripherals. The "Enhanced Host Controller Interface" [EHCI] in USB 2.0 defines an architecture compatible with USB 1.1. It can drive USB 1.1 devices with USB 2.0 drivers. In other words, all devices that support USB 1.1 can be used directly on the USB 2.0 interface without worrying about compatibility issues, and accessories such as USB cables, plugs, etc. can also be used directly.

The change brought by the use of USB for printer applications is a substantial increase in speed. The USB interface provides a connection speed of 12Mbps, which is more than 10 times faster than the parallel port speed. With this speed, the printing file transfer time is greatly reduced. The USB 2.0 standard further increases the interface speed to 480Mbps, which is 20 times the speed of ordinary USB, and greatly reduces the transmission time of print files.

USB 3.0

The USB 3.0 Promoter Group, composed of industry giants such as Intel, Microsoft, Hewlett-Packard, Texas Instruments, NEC, ST-NXP, etc., announced that the new generation of USB 3.0 standards that the organization is responsible for has been formally completed and publicly released. The theoretical speed of USB 3.0 is 5.0Gb/s. In fact, it can only reach 50% of the theoretical value, which is also close to 10 times that of USB 2.0. The physical layer of USB3.0 uses 8b/10b encoding, so the theoretical speed calculated is only 4Gb/s, and the actual speed has to be deducted from the protocol overhead, which is less on the basis of 4Gb/s. It can be widely used in PC peripherals and consumer electronic products.

USB 3.0 will be called "USB SuperSpeed" in actual device applications, conforming to the previous USB 1.1 FullSpeed and USB 2.0 HighSpeed.

USB 3.1

USB 3.1 Gen2 is the latest USB specification, which was initiated by companies such as Intel. The data transmission speed can be increased to 10Gbps. Compared with USB 3.0 [ie USB 3.1 Gen1] technology, the new USB technology uses a more efficient data encoding system and provides more than twice the effective data throughput rate. It is fully backward compatible with existing USB connectors and cables.

Ⅳ USB Interface types

USB Type-A male port

With the popularity of various digital devices, especially MP3 and digital cameras, USB devices around us have gradually increased. However, although these devices all use USB interfaces, the data lines of these devices are not exactly the same. These data lines are the same at the end connected to the PC, but when connecting to the device end, different interfaces are usually used for volume considerations. The following briefly introduces the various applications of the Mini-type sub interface.

B-5Pin

Mini B type 5Pin

This kind of interface can be said to be the most common kind of interface. This kind of interface is gaining the attention of more and more manufacturers due to its excellent anti-misplug performance and relatively small size. Now, this kind of interface is widely used in card readers, MP3, digital camera and mobile hard disk.

B-4Pin

Mini B type 4Pin

This kind of interface is common in digital products of the following brands: Olympus's C series and E series, most of Kodak's digital cameras, Samsung's MP3 products [such as Yepp], SONY's DSC series, and Compaq's IPAQ series products.

There is another form of Mini B type 4Pin, which is Mini B type 4Pin Flat. As the name suggests, this interface is flatter than Mini B 4Pin, and it is widely used in equipment.

B-8Pin

Mini B type 8Pin Round

Mini B 8Pin Round data cable

Compared with the previous ordinary type, the original D-type connector is changed to a round connector, and a bump is designed on one side to prevent accidental insertion.

This kind of connector can be found in some Nikon digital cameras, the CoolPix series are more common. Although Nikon has always insisted on using this interface, some of the newer models, such as D100 and CP2000, also use the most popular Mini B-type 5Pin interface.

B-8Pin-2×4

Mini B type 8Pin 2×4

This kind of interface is also a relatively common interface. For example, iRiver's famous MP3 series, 180TC, and many other products in this series use this kind of interface. The application range of this interface is quite wide, but after iRiver has fully replaced the Mini B-type 5Pin interface from the 3XX series, this specification is obviously not as eye-catching as the Mini B-type 5Pin.

Micro USB

Micro-USB 2.0 B port

It conforms to the USB2.0 specification and supports a data transfer rate of 12Mbit/s. The module will control the pins according to the Microport interface, which is convenient to connect with the main controller that supports the Microport interface.

Type-C

usb type-c

Type-C is a brand new form of USB interface, which was born with the latest USB 3.1 standard. Released by the USB-IF organization in August 2014, it is a brand-new interface developed by the USB Standardization Organization to solve the long-term inconsistent physical interface specifications of the USB interface. The biggest feature of the Type-C interface is that it supports insertion in both positive and negative directions, which formally solves the worldwide problem of "USB is never plugged in correctly".

The TYPE-C hardware interface has obvious characteristics, mainly as follows:

[1] Support positive and opposite symmetrical insertion and unplug, solve the problem of reverse insertion and unplugging in practical applications;

[2] The interface is slim, which can support thinner and lighter devices, which can make the design of portable devices thinner and smaller;

Is USB port a bus?

USB, in full universal serial bus, technology used to connect computers with peripheral devices.

Is USB a serial bus standard?

Universal Serial Bus [USB] is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply [interfacing] between computers, peripherals and other computers.

Is USB a shared bus?

The circuitry is different, in that the independent USB port has a dedicated bus, or data pathway, from the plug to the motherboard. The shared circuitry, as its name implies, connects multiple ports to a single shared bus.

What type of transmission is USB?

Universal Serial Bus [USB] is a type of cable and connector commonly used for half-duplex or full-duplex serial data transmission between a computer and attached devices.

Chủ Đề