|
|
1996-11-08
,
E/IC-478/650
The concept of "plug and play" enables new cards to be easily added inside a computer but adding peripherals outside the actual case involves a mess of different cables, connectors and drivers. See diagram 1. The new Universal Serial Bus (USB) standard has been designed to solve this problem by providing a medium speed bus with a bandwidth of 12Mb per second so that mice, keyboards, monitors, loudspeakers, scanners, joysticks, set-top boxes, telephones, printers, etc. can all be simply connected to the PC using a standardised cabling system.
The core companies responsible for this concept are Intel, Microsoft,
Digital, Compaq, Northern Telecom, NEC and IBM who have been joined by over
300 companies to form the USB Implementers Forum.
What are the limits to USB
USB is going to happen
The commitment by Microsoft to supporting USB in Windows is also a big thrust for USB. Mike Glass at Microsoft recently said (EET, June 24, 1996), "The saturation rate of PCs in the home is about 35%. To tap the rest of the market, we have to make the PC more attractive in the home, which includes making it a sealed box (the Simply Interactive PC or SIPC) that doesn't have to be opened to add things on or upgrade it. That means using USB and the 1394 interface to provide digital I/O." The standard range of connections for the keyboard, serial output, parallel output, etc. will continue on the motherboard and then be phased out as the USB becomes dominant. As it is the operating system itself that recognises the devices connected over the USB, upgrades for Windows '95 and Windows NT are due to be released later in 1996, together with a host of USB peripherals from a variety of vendors. Philips has been active with respect to USB from the very beginning and is still actively contributing to the standardisation process where Philips has responsibility for defining the generic standards for USB drivers for Audio and for Monitors, and, as a result, has established very close working links with the USB development team within Microsoft. A strong competence centre for USB has been developed at Philips' International Technology Centre Leuven (ITCL), which serves Philips directly and customers via Philips' global sales and applications support organisations.
Up to 127 devices can be connected to one PC
Philips Semiconductors' leading position in USB means that it will be the first company to launch a complete hub device, the PDIUSBH11, with samples available in September 1996. This can either be stand alone, in combination with a microcontroller of choice, or fitted into a monitor or keyboard. The monitor is the perfect place to build in a USB hub as the keyboard, mouse, printer, scanner, etc. can all be easily plugged into them as they are on the user's desk (unlike the PC which is usually on the floor). Having a USB-compliant monitor also enables all the controls on the monitor to be adjusted such as brightness, contrast, and colour balance, from the keyboard over the USB. Diagram 2 The physical configuration of USB PC Motherboard Downstream connector Upstream connector Hub Hub Device Device Device Device Diagram 3 The logical connection of USB Device Device Personal Device Computer Device Device Device When the physical connections of devices and hubs are resolved down to the logical connection, every device has a direct route to the PC or host in what is called a tiered star topology, i.e. connections are always PC to device or device to PC and never device to device.
Types of cables
How does the PC work out all the addresses for all the devices connected over the USB? Whenever the PC is switched on, every device and hub connected to the USB assumes the address #0 and all downstream connections are disabled. The PC then interrogates the USB and finds the first device, say, a hub. It allocates the address #1 to this hub and activates the first of its downstream connectors. It then interrogates down this connection to find the next device or hub, which is still set at address #0, and allocates it address #2. The process continues with each device or hub being identified in turn and allocated a unique address number until they are all found or the limit of 127 is reached. At the same time as allocating an address number, the PC also determines what device drivers should be loaded for each device. The beauty of this system is that it enables devices to be added or removed without turning off the PC or upsetting the existing configuration ~ so called "hot insertion". A new device automatically has the address #0, as it has just been powered up, and the computer simply determines what it is, loads the appropriate drivers and allocates a previously unused address number. The removal of a device is noted by the computer as a non-responding device and its address number put back into the list of available ones for re-allocation.
Packets and transfers
There are four types of transfer over the USB. The first is the Control, which is bi-directional, and is used to set up the USB structure and address allocation. The second is the Interrupt and provides a time critical, uni-directional link from the device to the host PC for mouse, keyboard or joystick. The third is Bulk and has a variable bandwidth, which is adjusted by the host PC depending on the amount of traffic on the USB, and is used for devices such as a scanner or printer where the delivery of the data is not time critical. The fourth is Isochronous and has a fixed bandwidth that is pre-negotiated with the host PC for devices that must have a certain bandwidth available at all times, such as an audio or MPEG-1 stream, and has bounded latency, i.e. there is a maximum permitted delay in the signal. The Bulk and Isochronous are again uni-directional but can be either from the computer to the device or vice versa. Diagram 4 Frame build-up for each millisecond time frame Interrupt Isochronous Control Bulk Control always has at least 10% of the frame so that it can perform control functions. Interrupt and Isochronous have fixed bandwidth allocation, whilst Bulk is dynamically reallocated depending on the job in hand. Each frame is 12K bits wide. The USB protocol contains error recovery and correction techniques to ensure that all data transfers over the USB are correct with an acknowledge signal sent back if a packet is received safely. There is also guaranteed delivery, i.e. the system keeps trying to send a packet until it is received correctly or this operation is timed out and a fault is reported on screen. The exception to this is Isochronous traffic which, by its very nature, is time determined, for example resending a packet of sound data would put it out of sync so a faulty transmission is ignored. In reality, this is such a rare occurrence that it is not a problem and for an audio stream unlikely to be noticed, especially with the necessary error detection and correction mechanisms in place.
High quality digital audio sounds the end of PC sound cards
The sound information is sent over the USB through an Isochronous channel, which guarantees the bandwidth on the USB in order to deliver the necessary amount of audio samples in time to a USB audio device, e.g. a USB digital speaker (see "Packets and transfers"). In an Isochronous channel, a packet of audio samples is sent to the receiving USB audio device every millisecond. On average, each packet contains a number of samples according to the sampling frequency of the signal that is being played. For example, a CD quality signal at 44.1 KHz (i.e. 44100 samples per second) will use packets of 44 samples during 90% of the time and 45 samples during 10% of the time to match the exact sample rate: ~ [44 samples/packet x 0.9] + [45 samples/packet x 0.1] = 44.1 samples per millisecond or 44100 samples per second. Diagram 5 Packet positions within each time frame can vary = 1 millisecond time frame = packet of USB data The receiving USB audio device decodes the incoming USB stream, distributes the "bursty" (i.e. all information concentrated in a packet) incoming audio data stream to a continuous datastream and converts this stream to a high quality analog audio signal. Philips is the first company that has proved high quality audio over USB. A prototype USB "Audio Demonstrator" board has been built and demonstrated at the USB Developers Conference earlier in 1996 as well as during the keynote address of Microsoft Chairman and CEO Mr. Bill Gates at WinHEC '96. Philips Semiconductors is now integrating the Audio Integrator board into a single USB DAC, the UDA1321T. This IC takes in the USB signal at the input side and produces a high quality stereo signal at its output. Further, it will be possible to control audio features such as volume, bass and treble from the PC through the same USB signal while servicing all the other USB devices at the same time. Philips Audio also has available pairs of USB demonstration digital speakers, including drivers and support, that enable hardware and software customers to test their USB audio developments.
Simple way to prototype control software for USB devices
Conclusion
This would be achieved actually having the PC always active but in a deep
sleep mode for the OFF mode and going active virtually instantaneously when
switched ON. The aim is to make PCs very easy to use, extending the "plug
and play" concept of inside the PC to everything outside the PC case. The
PC becomes the centre of an easy-to-use home entertainment system
connecting together games controllers, telephones, telephone answering
machines, set-top boxes, hi-fi system, etc. to form an integrated system
and Philips Semiconductors is one of the leaders in providing the devices
and tools to make this happen. See diagram 6.
Philips Semiconductors, a division of Philips Electronics NV, headquartered in Eindhoven, The Netherlands, is the eleventh largest semiconductor supplier in the world. Philips Semiconductors' innovations in digital audio, video, and mobile technology position the company as a leader in the consumer, multimedia and wireless communications markets. Sales offices are located in all major markets around the world and are supported by regional systems labs. |
Copyright © 2000 Royal Philips Electronics All rights reserved. Terms and conditions. |
|