USB interface

Universal Serial Bus is a serial port bus standard
Collection
zero Useful+1
zero
universal serial bus (English: Universal Serial Bus, abbreviation: USB )It is a serial port Bus standard , is also a kind of I/O interface Of technical specifications , widely used in personal computer and Mobile Devices And other information and communication products, and expand to Camera Equipment , digital TV (set-top box), game console and other related fields. The latest generation is USB4, transmission speed 40Gbit/s, Three-stage The voltage is 5V/12V/20V, and the maximum power supply is 100W. The new Type C interface allows forward and backward blind insertion. [1]
Chinese name
universal serial bus
Foreign name
Universal Serial Bus
Abbreviation
USB
Advantages
be easy to carry about
Universal version
2.0, 3.0, 3.1, 4, etc

working principle

Announce
edit
USB Is an external Bus standard , standardize computer and peripheral Connection and communication. USB interface has Hot plug Function. USB interface can connect a variety of peripherals, such as mouse and keyboard. USB was created by Intel After being jointly launched in 1996, many companies have successfully replaced serial ports and Parallel port , has become today's computer and Intelligent device Required interface of. After years of development, the USB version has developed into the USB4 version. For most engineer For example, develop USB2.0 The main obstacle of interface products lies in: facing complex USB2.0 Protocol, self written USB device Of Driver , familiar with singlechip Programming of. This requires not only considerable VC programming experience, but also the ability to write USB interface hardware (firmware) programs. So most people give up developing USB products themselves.

development history

Announce
edit
USB 1.0
Figure 1
USB 1.0 was introduced in 1996, and its speed is only 1.5Mb/s ( Bits per second ); In 1998, it was upgraded to USB 1.1, and the speed was greatly improved to 12Mb/s This standard interface can also be seen on some old devices. USB1.1 It is a common USB specification, and its high-speed transmission speed by 12Mbps , the transmission rate of low speed mode is 1.5Mbps (b means Bit), b/s generally means bit transmission speed , bps means Bit transfer rate , equal in value. B/s and b/s, BPS (bytes per second) cannot be confused with bps (bits per second). 1MB/s( Megabyte /Seconds)=8Mbps( Megabit /Second), 12Mbps=1.5MB/s, most MP3s are of this type Interface type [2] As shown in Figure 1.
The USB2.0 specification is evolved from the USB1.1 specification. Its transmission rate reaches 480Mbps, which is converted to 60MB/s, enough to meet the rate requirements of most peripherals. USB 2.0 Enhanced Host Controller Interface in( EHCI )A USB 1.1 compatible architecture is defined. It can use USB 2.0 drivers to drive USB 1.1 devices. In other words, all devices supporting USB 1.1 can be directly used on the USB 2.0 interface without worrying compatibility The problem. Accessories such as USB cable and plug can also be used directly. [2]
The change brought by the use of USB to the printer application is a significant increase in speed. The USB interface provides a connection speed of 12Mbps, which is more than 10 times faster than the parallel port speed. Under this speed, the transfer time of printed files is greatly reduced. The USB 2.0 standard will further Interface The speed is increased to 480Mbps, 20 times the speed of ordinary USB, which greatly reduces the transfer time of printed files. [2]
Intel Microsoft HP Texas Instruments NEC ST -NXP and other industry giants USB 3.0 Promoter Group announced that the new generation USB 3.0 standard developed by the organization has been officially completed and Public release USB 3.0 Theoretical speed At 5.0Gb/s, it can only reach 50% of the theoretical value, which is close to 10 times of USB 2.0. USB3.0 Of physical layer 8b/10b Coding method The calculated theoretical speed is 4Gb/s, Actual speed The protocol overhead should also be deducted, which is less than 4Gb/s. Widely used for PC peripherals and Consumer Electronics [2]
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. It is expected that commercial controllers supporting the new specification will be available in the second half of 2009, Consumer grade The product has been launched. [2]
USB 3.1 Gen2 is the latest USB specification Intel And other companies. Data transmission speed The speed can be increased to 10Gbps. And USB 3.0 (i.e. USB 3.1 Gen1) technology, the new USB technology uses a more efficient data coding system , and provide more than twice the effectiveness throughput rate It's completely Backward compatibility Existing USB connectors and cables.
USB 3.1 Gen2 is compatible with existing USB 3.0 (i.e. USB 3.1 Gen1) software stack and device protocol, 5Gbps Hub And equipment USB 2.0 Products.
USB-IF The latest USB naming convention, the original USB 3.0 and USB 3.1 It will no longer be named. All USB standards will be called USB 3.2. In consideration of compatibility, USB 3.0 to USB 3.2 are called USB 3.2 Gen 1, USB 3.2 Gen 2, and USB 3.2 Gen 2x2 respectively.
USB 4.0
The USB4.0 specification was released by the USB Implementers Forum on August 29, 2019. USB4 is based on Thunderbolt 3 Agreement. It supports 40 Gbit/s throughput, is compatible with Thunderbolt 3, and Backward compatibility USB 3.2 and USB 2.0. [8]

Main advantages

Announce
edit
USB devices have the following advantages: [1]
1. Yes Hot plug When using an external device, the user does not need to turn off the computer, but directly USB Plug in for use. [1]
2. Easy to carry. USB devices are mostly "small, light and thin". It is convenient for users to carry a large amount of data with them. Of course, USB hard disk is the first choice. [1]
3. Unified standards. The common thing is IDE interface With USB, these application peripherals can all use the same standards as personal computer Connect, then there are USB hard disk, USB mouse, USB printer, etc. [1]
4. Multiple devices can be connected. USB often has multiple interfaces on personal computers, which can connect several devices at the same time USB HUB Can be connected again; Four USB devices, and so on, can be connected as far as possible, and all the devices in your home can be connected to a PC at the same time without any problem (Note: up to 127 devices can be connected). [1]

Interface layout

Announce
edit
USB It is a common PC interface. It has only four wires, two power supplies and two signals, so the signal is Serial transmission The usb interface is also called Serial port usb2.0 Its speed can reach 480Mbps. It can meet various industrial and civil needs. [3]
USB interface output voltage And current:+5V, 500mA. In fact, there is an error, which cannot exceed+/-0.2V at most, that is, 4.8-5.2V. The four wires of the USB interface are generally allocated as follows. It should be noted that the positive and negative poles must not be reversed, or the USB device or computer will be burned Nanqiao chip : black line: gnd; red thread: vcc Green line :data+ ; White line: data -. [3]
USB interface color
The general arrangement is: red, white, green, black, from left to right [3]
definition:
gules - USB power supply: marked with - VCC, Power, 5V, 5VSB. [3]
white USB cable : (Negative) - DATA -, USBD -, PD -, USBDT -. [3]
green USB cable : (positive) - DATA+, USBD+, PD+, USBDT+. [3]
black - Ground wire: GND 、Ground。 [3]

Interface type

Announce
edit
USB A-type male port
With the popularization of various digital devices, especially MP3 and Digital camera With the popularization of USB, there are more and more USB devices around us. However, although these devices all use USB interfaces, the data lines of these devices are not identical. These data lines are the same at one end of the PC, but when connecting to the device end, different interfaces are usually used for volume considerations. The following is a brief introduction to the various applications of the Mini sub interface. [2]
B-5Pin
Mini B 5Pin
This interface can be said to be the most common interface. Because of its excellent anti misplug performance and small size, it is gaining more and more attention from manufacturers. Now this interface is widely available card reader , MP3, digital camera and mobile hard disk drive On. [2]
B-4Pin
Mini B 4Pin
This interface is commonly used in Electronics OLYMPUS C series and E series of, Kodak Most digital cameras, Samsung MP3 products of Sony (such as Yepp), DSC series of Sony, compaq IPAQ of Series of products
Another form of Mini B 4Pin is Mini B 4Pin Flat. As the name implies, this interface is more flat than the Mini B 4Pin and is widely used in devices. [1]
B-8Pin
Mini B 8Pin Round
Mini B 8Pin Round data cable
Compared with the previous ordinary type, this type of interface changes the original D-type connector into a round connector, and a bulge is designed to prevent accidental insertion on one side. [2]
This kind of joint can be seen in some Nikon Of Digital camera CoolPix There are many series. although Nikon This interface has always been used, but some newer models, such as the D100 and CP2000, also use the most popular Mini B 5Pin interface. [2]
B-8Pin-2×4
Mini B 8Pin 2 × 4
This interface is also a common interface, such as iRiver The famous MP3 series of“ Iron triangle ”180TC and many other products in this series use this interface. This interface Scope of application It's also quite wide, but from iRiver Since the 3XX series has been fully replaced with the Mini B 5Pin interface, this specification is obviously less eye-catching than the Mini B 5Pin. [2]
Micro USB
Micro USB 2.0 B port
Comply with USB2.0 specification and support 12Mbit/s Data transmission rate The module controls the pins according to the Microport interface, which is convenient to connect with the main controller to be connected. [4]
October 26, 2009 in Switzerland Geneva Held ITU ITU -T The Fifth Research Group (SG5) completed the "General mobile terminal And other ICT equipment The power adapter And charger scheme, and apply for approval Mobile phone charger standard [5]
type-C
Type-C is a new form of USB interface, which is accompanied by the latest USB 3.1 Standard came into being. from USB-IF It was released by the organization in August 2014. It is USB Standardization Organization In order to solve the long-term physical problems of USB interface interface specification Not unified, electric energy can only One way transmission It is a new interface developed for charging, display, data transmission And other functions. The biggest feature of Type-C interface is that it supports insertion in both positive and negative directions, formally solving the worldwide problem of "USB can never be inserted". [6]
TYPE-C Hardware Interface It has obvious characteristics, mainly including the following points: [6]
(1) It supports positive and negative symmetric plugging, and solves the problem that reverse plugging cannot be inserted in practical applications; [6]
(2) The thin interface can support thinner devices, which can Portable equipment Is thinner and smaller; [6]
(3) Support higher power transmission, up to 100 watts, and support more high-power load devices. [6]
(4) Support Single port And dual port TYPE-C Flexible application. [6]
(5) It supports two-way power transmission, both power transmission and power receiving. [6]

TV application

Announce
edit
Different functions
USB 3.0 male
Although many TV sets are equipped with USB interface, they are connected through USB interface storage device The functions that can be realized later are different. Some TVs only support playing pictures from USB storage devices, while others can play music files and videos in specific formats. [7]
USB line
Speaking of USB playback capability, the current domestic TVs are still excellent in USB playback capability, H.264 Coding and RM/ RMVB format Of HD video Generally, it can play smoothly, although the effect is better than that of high-end HD Player There is still a gap, but it is enough for ordinary users to use. [7]
TV USB interface
TV USB interface
The USB interface on the TV side is shown in Figure 2 below, which can be directly connected USB drive perhaps mobile hard disk drive [7]