Docsity

USB реферат по иностранным языкам на английском языке , Сочинения из Английский язык

Toggle sidebar
bg1
The Baltic Information Technical School
Faculty of automated data processing and control systems
REPORT
on:
Done by:
Evgeniy Konontsev
III year
Kaliningrad
2007
Universal Serial Bus
Universal Serial Bus (USB) is a serial bus stan
dard to interface devices. A major component in
the legacy-free PC, USB was designed to allo
w peripherals to be connected using a single stan
dardised interface socket, to improve plug- and-
1
pf3
pf4
pf5
pf8
pf9
pfa

Частичный предварительный просмотр текста

Скачай USB реферат по иностранным языкам на английском языке и еще Сочинения в формате PDF Английский язык только на Docsity!

The Baltic Information Technical School

Faculty of automated data processing and control systems

REPORT

on:

Done by:

Evgeniy Konontsev

III year

Kaliningrad

Universal Serial Bus

Universal Serial Bus (USB) is a serial bus stan dard to interface devices. A major component in the legacy-free PC, USB was designed to allo w peripherals to be connected using a single stan dardised interface socket, to improve plug- and-

play capabilities by allowing devices to be connected and disconnected without rebooting the computer (hot swapping). Other convenient features include powering low-consumption devices without the need for an external power supply and allowing some devices to be used without requiring individual device drivers to be installed.

USB is intended to help retire all legacy serial and parallel ports. USB can connect computer peripherals such as mouse devices, keyboards, PDAs, gamepads and joysticks, scanners, digital cameras and printers. For many devices such as scanners and digital cameras, USB has become the standard connection method. USB is also used extensively to connect non- networked printers; USB simplifies connecting several printers to one computer. USB was originally designed for personal computers, but it has become commonplace on other devices such as PDAs and video game consoles. In 2004, there were about 1 billion USB devices in the world.

The design of USB is standardized by the USB Implementers Forum (USB- IF), an industry standards body incorporating leading companies from the computer and electronics industries. Notable members have included Apple Computer, Hewlett-Packard, NEC, Microsoft, Intel, and Agere.

Contents:

initiative to develop a higher data transfer rate than the 1.1 specification. The USB 2.0 specification was released in April 2000 and was standardized by the USB-IF at the end of 2001. Previous notable releases of the specification were 0.9, 1.0, and 1.1. Equipment conforming with any version of the standard will also work with devices designed to any previous specification (known as: backward compatibility).

Smaller USB plugs and receptacles for use in handheld and mobile devices, called Mini-B, were added to USB specification in the first engineering change notice. A new variant of smaller USB plugs and receptables, Micro-USB, was announced by the USB Implementers Forum on January 4, 2007.

Overview

A USB system has an asy mmetric design, consisting of a host controller and multiple daisy- chai ned peripheral devices. Additional USB hubs may be included in the chai n, allowing branching into a tree stru cture, subject to a limit of 5 level s of branching per controller. No mor e than 127 devices, including the bus devices, may be connected to a singl e host controller. Modern computers often have several host controllers, allowing a very large number of USB devices to be connected. USB cables do not need to be terminated.

In USB terminology, individual devices are referred to as functions, because each individual physical device may actually host several functions, such as a webcam with a built-in microphone. Functions are linked in series through hubs. The hubs are special-purpose devices that are not considered functions. There always exists one hub known as the root hub, which is attached directly to the host controller.

USB endpoints actually reside on the connected device: the channels to the host are referred to as pipes

Functions and hubs have associated pipes (logical channels). Pipes are connections from the host controller to a logical entity on the device named an endpoint. The term endpoint is also occasionally used to refer to the entire pipe. A function can have up to 32 active pipes, 16 into the host controller and 16 out of the controller. Each endpoint can transfer data in one direction only, either into or out of the device/function, so each pipe is uni-directional.

When a device is first connected, the host enumerates and recognizes it, and loads the device driver it needs. When a function or hub is attached to the host controller through any hub on the bus, it is given a unique 7 bit address on the bus by the host controller. The host controller then polls the

bus for traffic, usually in a round-robin fashion, so no function can transfer any data on the bus without explicit request from the host controller.

Host controllers

The computer hardware that contains the host controller and the root hub has an interface geared toward the programmer which is called Host Controller Device (HCD) and is defined by the hardware implementer.

In the version 1.x age, there were two competing HCD implementations, Open Host Controller Interface (OHCI) and Universal Host Controller Interface (UHCI). OHCI was developed by Compaq, Microsoft and National Semiconductor; UHCI was by Intel.

VIA Technologies licensed the UHCI standard from Intel; all other chipset implementers use OHCI. UHCI is more software-driven, making UHCI slightly more processor-intensive than OHCI but cheaper to implement. The dueling implementations forced operating system vendors and hardware vendors to develop and test on both implementations which increased cost.

During the design phase of USB 2.0 the USB-IF insisted on only one implementation. The USB 2.0 HCD implementation is called the Extended Host Controller Interface (EHCI). Only EHCI can support hi-speed transfers. Most of PCI-based EHCI controllers contain other HCD implementations called 'companion host controller' to support Full Speed and Low Speed devices. The virtual HCD on Intel and VIA EHCI controllers are UHCI. All other vendors use virtual OHCI controllers.

HCD standards are out of the USB specification's scope, and the USB specification does not specify any HCD interfaces.

Device classes

Devices that attach to the bus can be full-custom devices requiring a full- custom device driver to be used, or may belong to a device class. These classes define an expected behavior in terms of device and interface descriptors so that the same device driver may be used for any device that claims to be a member of a certain class. An operating system is supposed to implement all device classes so as to provide generic drivers for any USB device. Device classes are decided upon by the Device Working Group of the USB Implementers Forum.

Example device classes include:

  • USB human interface device class ("HID"), keyboards, mice, etc.
  • USB mass storage device class used for USB flash drives, memory card readers, digital audio players etc.
  • USB hubs.
  • Smart card readers.

USB signaling

USB signals are transmitted on a twisted pair of data cables, labelled D+ and D−. These collectively use half-duplex differential signaling to combat the effects of electromagnetic noise on longer lines. D+ and D− usually operate together; they are not separate simplex connections. Transmitted signal levels are 0.0–0.3 volts for low and 2.8–3.6 volts for high.

USB supports three data rates:

  • A Low Speed rate of up to 1.5 Mbit/s (187.5 kB/s) that is mostly used for Human Interface Devices (HID) such as keyboards, mice, and joysticks.
  • A Full Speed rate of up to 12 Mbit/s (1.5 MB/s). Full Speed was the fastest rate before the USB 2.0 specification and many devices fall back to Full Speed. Full Speed devices divide the USB bandwidth between them in a first-come first-served basis and it is not uncommon to run out of bandwidth with several isochronous devices. All USB Hubs support Full Speed.
  • A Hi-Speed rate of up to 480 Mbit/s (60 MB/s).

Though Hi-Speed devices are commonly referred to as "USB 2.0" and advertised as "up to 480 Mbit/s", not all USB 2.0 devices are Hi-Speed. The maximum rate currently (2006) attained with real devices is about half of the full theoretical (60 MB/s) data throughput rate.Most hi-speed USB devices typically operate at much slower speeds, often about 3 MB/ s overall, sometimes up to 10-20 MB/s. The USB-IF certifies devices and provides licenses to use special marketing logos for either "Basic- Speed" (low and full) or Hi-Speed after passing a compliancy test and paying a licensing fee. All devices are tested according to the latest spec, so recently-compliant Low Speed devices are also 2.0.

USB connectors

The connectors which the USB committee specified were designed to support a number of USB's underlying goals, and to reflect lessons learned from the varied menagerie of connectors then in service. In particular: The connectors are designed to be robust. Many previous connector designs were fragile, with pins or other delicate components prone to bending or breaking, even with the application of only very modest force. The electrical contacts in a USB connector are protected by an adjacent plastic tongue, and the entire connecting assembly is further protected by an enclosing metal sheath. As a result USB connectors can safely be handled, inserted, and removed, even by a small child. The encasing sheath and the tough moulded plug body mean that a connector can be dropped, stepped upon, even crushed or struck, all without damage; a considerable degree of force is needed to significantly damage a USB connector.

It is difficult to incorrectly attach a USB connector. Connectors cannot be plugged-in upside down, and it is clear from the appearance and kinesthetic sensation of making a connection when the plug and socket are correctly mated. However, it is not obvious at a glance to the inexperienced user (or to a user without sight of the installation) which way round a connector goes, so it is often necessary to try both ways. The connectors are particularly cheap to manufacture. The connectors enforce the directed topology of a USB network. USB does not support cyclical networks, so the connectors from incompatible USB devices are themselves incompatible. Unlike other communications systems (e.g. RJ-45 cabling) gender-changers are almost never used, making it difficult to create a cyclic USB network. A moderate insertion/removal force is specified. USB cables and small USB devices are held in place by the gripping force from the receptacle (without the need for the screws, clips, or thumbturns other connectors require). The force needed to make or break a connection is modest, allowing connections to be made in awkward circumstances or by those with motor disabilities. The connector construction always ensures that the external sheath on the plug contacts with its counterpart in the receptacle before the four connectors within are connected. This sheath is typically connected to the system ground, allowing otherwise damaging static charges to be safely discharged by this route (rather than via delicate electronic components). This means of enclosure also means that there is a (moderate) degree of protection from electromagnetic interference afforded to the USB signal while it travels through the mated connector pair (this is the only location when the otherwise twisted data pair must travel a distance in parallel). In addition, the power and common connections are made after the system ground but before the data connections. This type of staged make-break timing allows for safe hot- swapping and has long been common practice in the design of connectors in the aerospace industry. The USB standard specifies relatively low tolerances for compliant USB connectors, intending to minimize incompatibilities in connectors produced by different vendors (a goal that has been very successfully achieved). Unlike most other connector standards, the USB spec also defines limits to the size of a connecting device in the area around its plug. This was done to avoid circumstances where a device complies with the connector specification but its large size blocks adjacent ports. Compliant devices must either fit within the size restrictions or support a compliant extension cable which does.

Cables have only plugs, and hosts and devices have only receptacles. Hosts have type-A receptacles; devices have type-B. Type-A plugs only mate with type-A receptacles, and type-B with type-B. There are several types of USB connectors, and some have been added as the specification has progressed. An extension to USB called USB On-The-Go allows a single port to act as either a host or a device - chosen by which end of the cable plugs into the socket on the unit. Even after the cable is hooked up and the units are talking, the two units may "swap" ends under program control. This facility targets units such as PDAs where the USB link might connect to a PC's host

  • USB 0.8: Released in December 1994.
  • USB 0.9: Released in April 1995.
  • USB 0.99: Released in August 1995.
  • USB 1.0 Release Candidate: Released in November 1995.
  • USB 1.0: Released in January 1996. Specified data rates of 1.5 Mbit/s (Low-Speed) and 12 Mbit/s (Full- Speed). Did not anticipate or pass-through monitors. Few such devices actually made it to market. USB 1.1: Released in September 1998. Fixed problems identified in 1.0, mostly relating to hubs. Earliest revision to be widely adopted. USB 2.0: Released in April 2000. Added higher maximum speed of 480 Mbit/s (now called Hi-Speed). Mini-B Connector ECN: Released in October 2000. Specifications for Mini-B plug and receptable. These should not be confused with Micro-B plug and receptable. Errata as of December 2000: Released in December 2000. Resistor ECN: Released in May 2002. Errata as of May 2002: Released in May 2002. Interface Associations ECN: Released in May 2003. New standard desriptor was added that allows multiple interfaces to be associated with a single device function. Rounded Chamfer ECN: Released in October 2003. Unicode ECN: Released in February 2005.
  • USB On-The-Go Supplement 1.0: Released in December 2001.
  • USB On-The-Go Supplement 1.0a: Released in June 2003.
  • USB On-The-Go Supplement 1.2: Released in April 2006.
  • USB On-The-Go Supplement 1.3: Released in December 2006. This is the current revision.
  • MicroUSB 1.01: Released in April 2007.
  • Inter-Chip USB 1.0: Released in March 2006. Battery Charging Specification 1.0: Released in March 2007. Adds support for dedicated chargers (power supplies with USB connectors), host chargers (USB hosts that can act as chargers) and the Dead Battery Provision which allows devices to temporarily draw 100 mA current after they have been attached.