EDN logo


Design Feature: April 11, 1996

IrDA-protocol IR links make 35-fold leap in data-transfer speed

Bill Travis,
Senior Technical Editor

High-speed wireless transfers make mobile computing easy.

Last year, the maximum Infrared Data Association (IrDA)-sanctioned transfer speed for wireless-IR devices was 115.2 kbps (Reference 1). IBM offered 1.152-Mbps devices that complied with an industry-proposed spec, and IrDA was considering a 4-Mbps protocol. The 4-Mbps speed is now a reality; IrDA 1.1 adds high-speed extensions to the 1.0 norm, IrDA-SIR (serial) to cover 1.152 and 4 Mbps, IrDA-MIR and -FIR, respectively (medium and fast IR).

The 35-fold leap in speed promises to be a significant factor in system designers' decision to incorporate wireless-IR utilities into equipment. Transferring large files at 115.2 kbps can consume a great deal of time. At this rate, transferring a 10-Mbyte file takes 1000 sec—almost 17 minutes. At 4 Mbps, the transfer takes 30 sec.

Before the advent of the 4-Mbps extension, wireless-IR data transfer was mainly a matter of convenience—an easy way to dispense with cables. Now, the higher rate makes IR transfer one of the fastest ways to move data. Table 1 gives the data rates of various transfer methods. Only an enhanced parallel port matches IrDA 1.1's 4-Mbps transfer rate.

Table 1—Speeds of data-transfer methods
Transfer methodTransfer rate (kbps)IrDA protocol
Cellular-phone modem9.61.0, 1.1
High-speed modem28.81.0, 1.1
Serial port1151.0, 1.1
Floppy-disk drive2301.1
Double-speed CD-ROM3301.1
Standard parallel port6001.1
Quad-speed CD-ROM6601.1
LAN cable (typical)10001.1
Tape drive20001.1
Enhanced parallel port40001.1


The IrDA protocol

The IrDA protocol stack covers the physical transfer of data bits, guidelines for link access (IrLAP), and link management (IrLMP) (
Figure 1). IrLAP manages the software that seeks other machines to connect to, or "sniff," discovers other machines, resolves addressing conflicts, initiates a connection, transfers data, and disconnects (Figure 2). IrLMP assesses the equipment and services available to connected equipment and negotiates data-transfer parameters.

In the physical layer, a pulse-width modulator encodes a bit stream from the transmitting equipment's UART. The encoder keeps pulse width less than 3/16 of the bit-rate period, mainly to minimize power dissipation in the transmitting LED. The edge detector and pulse-width demodulator in the receiver section must decode, or stretch, the pulses in the incoming bit stream, for presentation to the UART in the receiving equipment.

The 1.152- and 4-Mbps modes require some changes in the transceiver circuitry and driver software. The major hardware difference is the need for a dedicated communications controller. Standard UARTs could directly interface transceivers at the previous 115.2-kbps data-transfer rate but cannot do so at the higher rates. The communications controller provides monitoring and data-flow control between the ISA-bus FIFO device and the UART FIFO device and allows direct access to the computer via the external bus.

To accommodate the increased data rates in the high-speed extensions, IrDA 1.1 shortens the relative pulse width, thereby reducing power consumption, and mandates a synchronous data channel, as opposed to the asynchronous channel IrDA 1.0 used. The extensions begin a transmission with a frame flag and transmit the rest of the frame without start and stop bits for each character. The protocol dictates an end-of-frame signal and an appended cyclic-redundancy-check (CRC) word. The 4-Mbps mode achieves its speed by using pulse-position modulation (PPM) to encode 2 data bits per light pulse. It thus yields four possible time-slice divisions per data symbol.

Cost is the reason for selecting 4 Mbps as the upper limit for IrDA transfers. Higher frequencies would entail the use of much more expensive LEDs and photodiodes. The high-speed modes are transparent to IrLAP and IrLMP; IrLMP negotiates speed options during its normal discovery process. All IrDA-MIR and -FIR products are backward-compatible with IrDA-SIR products and protocol layers.

You have a choice of several types of hardware products for effecting IrDA-protocol wireless transfers. Table 2 gives a representative listing of recent IrDA-compliant products. First, for laptop or desktop computers lacking IrDA capability, you can connect a tethered adapter, or "dongle," to the computer's serial port. The PhasIR from Amp, for example, comes with a 2m tether and a nine- or 25-pin RS-232C connector. Because it interfaces with the computer's standard UART, the data-transfer rate is limited to IrDA-SIR: 115.2 kbps. For rates as high 4 Mbps, Amp offers custom versions of the adapter for connection to a parallel port.

Table 2—Representative recent IrDA-compliant products
CompanyModelFunctionPackagePrice Comments
Amp IncPhasIR Tethered IrDA-SIR adapterSwivel-mount, with cable and nine- or 25-pin RS-232C connector $109 (unit)Available in versions for 9600 bps to 4 Mbps
Hewlett-Packard HSDL-1000 IrDA-SIR transceiver module Eight-lead module $3 (OEM) Contains LED, PIN photodiode, and IC with LED driver, amplifiers, and quantizer
HSDL-1001 IrDA-SIR transceiver module Eight-lead module $3 (OEM) 3V, low-power version of HDSL-1000; uses fewer external components; has shutdown pin
HDSL-1100 IrDA-SIR and -FIR transceiver module 10-lead module $5 (OEM) Dual channels for 2.4- to 115.2-kbps and 1.15- and 4-Mbps modes; 1-cm to 1m operating distance; 308 viewing angle
HDSL-7000 IrDA-SIR encoder/decoder IC Eight-pin SOIC $1.60 (OEM) Provides interface to HSDL-1000 transceiver; compatible with 16550 UART
IBM Microelectronics 31T1100 IrDA-SIR and -FIR transceiver module Eight-lead module $5 (OEM) Contains LED, differential PIN photodiode, analog transceiver, and LED driver; measures 1335.335.6 mm
31T1101 IrDA-SIR and -FIR transceiver IC 16-pin SOP $5 (OEM) Similar to 31T1100 but without LED and photodiode; adds separate bandwidth adjustments for 1.2- and 4-Mbps operating modes
31T1502 IR communications controller 100-pin QFP Less than $10 (OEM) Supports data rates of 0.115, 0.288, 0.576, 1.152, and 4 Mbps; provides interface to ISA and PCMCIA systems; compatible with 16450 and 16550 UARTs
Irvine Sensors SIR2 IrDA-SIR receiver IC Eight-pin SOIC $3 to $4 (OEM) Supports IrDA 1.0 at 2400 bps to 115.2 kbps
SIRF IrDA-SIR and -FIR receiver IC Eight-pin SOIC $3 to $4 (OEM) Supports IrDA 1.0 at 2400 bps to 115.2 kbps; IrDA 1.1 at 0.576 to 4 Mbps
National Semiconductor PC87108 Universal IR interface IC 80-pin QFP $10 (1000) Designed for embedded applications; includes 16550 serial port, ISA-bus interface.
PC87308 Super-I/O chip for desktops 160-pin QFP $19.60 (1000) Adds IrDA high-speed extensions, TV remote, Plug-and-Play, and power-management control to PC87306 predecessor
PC87338 Super-I/O chip for portables 100-pin QFP $12.30 (1000) Adds IrDA high-speed extensions to PC87334 predecessor; interfaces include IEEE 1284 parallel port, 16550 serial port, floppy-disk controller, and Plug-and-Play
Puma Technology TranXit Pro IrDA-SIR and -FIR connectivity software
$99.95 (1) Designed for IR-enabled systems; provides automatic file synchronization, wireless printing, delta (only changes) file transfer
TranXit Pro Connectivity Kit IrDA-SIR and -FIR connectivity software and hardware
$129.95 (1) Includes serial-IR adapter for desktops
Siemens Components IRM3001/3105 IrDA-SIR transceiver module Eight-lead module $1.95 (OEM) Provides direct interface to IrDA-compatible UARTs and I/O devices
IRM3401/3405 IrDA-SIR and -FIR transceiver module Eight-lead module $6 (OEM) Differential PIN diode provides enhanced interference rejection; toggles between low- and high-speed mode
IRM7000 IrDA-SIR pulse-shaping encoder/decoder IC Four-pin SOIC $1.20 (OEM) Provides pulse-shaping interface between IRM3001/3105 module and 16550 UART
Standard Microsystems FDC37C93XFR IrDA-SIR and -FIR multifunction I/O chip 16-pin QFP $19.73 (500 to 999) Includes keyboard interface, real-time Microsystems clock, floppy-disk controller, data separator, FIFO, two 16550 UARTs, parallel port, IDE interface, AT-bus drivers, Plug-and-Play support
Temic Semiconductor TFDS3000 IrDA-SIR transceiver module Eight-lead module $3 (OEM) Provides direct interface to IrDA-compatible UARTs and I/O devices
TFDS6000 IrDA-SIR and -FIR transceiver module Eight-lead module $5 (OEM) Contains LED, differential PIN photodiode, analog transceiver, and LED driver; measures 1335335.6 mm; drop-in alternate to IBM's 31T1100
Traveling Software Laplink for Windows 95 Notebook-to-desktop connectivity software
$149 (1) ($49.95 for upgrade) Supports Windows 95 drivers for IrDA
Unitrode Corp UCC5340 IrDA-SIR receiver IC Eight-pin SOIC $3 to $4 (OEM) Supports IrDA 1.0 at 2400 bps to 115.2 kbps; drop-in alternate to Irvine Sensors SIR2
VLSI Technology VCS94550 IR communications controller 100-pin QFP $8 (1000) Supports IrDA-SIR and -MIR; compatible with 16550 and 85C30 serial communications
VL82C147 IR communications controller 80-pin QFP $9 (1000) Supports IrDA-SIR, -MIR, and -FIR; compatible with 16550 UART

The second category of IrDA-compliant products is transceiver modules. These devices integrate the transmitting LED, receiving positive-intrinsic-negative (PIN) photodiode, and receiver/transmitter IC into a small, molded package. The modules from Hewlett-Packard, IBM, Siemens, and Temic accommodate IrDA-SIR, -MIR, and -FIR; the Hewlett-Packard HP-SIR mode; and the 9.6-kbps Sharp (Mahwah, NJ) amplitude-shift-keying standard that many personal digital assistants use (Table 2).

IrDA modules typically use differential circuitry for the receiving photodiode (Figure 3a). This circuitry provides high interference immunity by effectively isolating the diode from such villains as power-supply fluctuations and ground bounce. Most of the power dissipation in the modules is the power consumed by the transmitting LED, which typically draws 150 mA (average) and 600 mA (pulsed).

In a connection diagram for the IBM and Temic modules, the highpass network on the transmit (TxD) pin guards against overlong transmission signals (Figure 3b). The shutdown (SD) pin assumes a dual role: First, in pure shutdown mode, the module draws less than 75 mA. Second, with certain programming sequences on the SD and TxD pins, you can choose either a 9.6-kbps to 1.2-Mbps operating range or a 4-Mbps operating range.

The next class of IrDA-compliant devices available for OEM design-in is transceiver ICs that lack the transmitting LED and receiving photodiode. These devices are ASICs that contain all the circuitry inherent in the transceiver modules. They're useful in applications in which you need to obtain particular optical characteristics. The modules that incorporate the LED and photodiode have tightly defined specs on optical viewing angle and dispersion, for example. You may need to design a system with particular optical characteristics, in which you custom-tailor the placement of and lens system for the optical components. One such transceiver, IBM's 31T1101, incorporates the electronics for the company's 31T1100 transceiver module (Table 2).

Receive-only ICs can be useful and economical in systems that incorporate an IrDA-compliant controller. These ASICs, available from Irvine Sensors and Unitrode, require only the connection of a PIN photodiode. Figure 4 shows the simple connection of Irvine's SIRF IrDA-SIR and -FIR receiver. For both its receiver ICs, Irvine claims a wide dynamic range that allows reception at distances as great as 3m (IrDA specifies 1m maximum). A shutdown pin in the SIRF reduces operating current to 10 mA.

These transceiver and receiver devices would be of little use if they had no effective means of interfacing with the host equipment. Several products do provide the means, however. For example, Hewlett-Packard's HDSL-7000 does the encoding and decoding for the company's HDSL-1000 transceiver module and provides an interface with a standard 16550 UART. Its functions include pulse shaping (to 3/16 of a period) and stretching in compliance with IrDA 1.0.

Similarly, IBM's 31T1502 IR communications controller provides an ISA or PCMCIA interface to the company's 31T1100 transceiver module and to other IR transceivers. Intended for design-in on ISA boards or PC cards, the 31T1502 offers host-DMA and shared-memory modes and an advanced interrupt capability that provides independent routing of the IC's UART and FIR-controller internal interrupt lines.

Intended for embedded applications such as printers and modems, National Semiconductor's PC87108 provides 16550 compatibility to support existing legacy software (Figure 5). The device supports all IrDA modes, Sharp-IR, and consumer-IR (TV remote). Computer-interface aspects include ISA compatibility, interrupt routing to one of seven output pins, DMA-handshake signal routing for either one or two channels, and power-management support.

Last year, the densely packed, IrDA-compliant multifunction chips from National Semiconductor (dubbed Super-I/O) and Standard Microsystems (dubbed Ultra-I/O) seemingly offered every conceivable function but rinse and spin-dry cycles. Recent multifunction chips from both suppliers support the IrDA-MIR and -FIR high-speed extensions. National's PC87308 and PC87338 and Standard Microsystems' FDC37C93XFR each have a floppy-disk controller, two UARTs plus IR support, a parallel port, Plug-and-Play support, and power-management facilities.

The three chips differ in a few respects. National's PC87338, intended for portable computers, dispenses with the keyboard (and mouse for the PC87308) controller and the real-time clock that the other two devices have. The PC87338 is designed to work with most portable chip sets, such as those from Intel (Santa Clara, CA), Opti (Santa Clara, CA), and PicoPower (Fremont, CA), and with 486, Pentium, and PowerPC µPs. It operates in 3.3, 5, and mixed 3.3/5V systems.

Finally, it wouldn't be appropriate to neglect the software aspects of IrDA wireless communications. Windows 95 includes drivers for IrDA support. The general-purpose notebook-to-desktop LapLink from Traveling Software supports the Microsoft drivers, as does the IrDA-dedicated TranXit from Puma Technology.

Looking ahead
With the advent of higher transfer rates, you can expect IrDA to proliferate rapidly in a variety of industry sectors. A chart from IBM Microelectronics shows about 600,000 users in 1996 growing to about 3 million in 1998 and to more than 12 million in 2000. Wireless-IR transfer offers a multifaceted allure: It's convenient because it lacks cables. It has a low parts' cost and a higher data-transfer rate than that of most hard-wired transfer methods.

The application of IrDA that naturally springs to mind is notebook-to-desktop data transfers. However, as Table A shows, this application is only the tip of the potential iceberg. Take phones, for example. It's probably a safe prediction that, in the years to come, you'll find a great number of IrDA-equipped hotel- and airport-phone facilities. Agreed, 4 Mbps is a bit much to expect from a normal telephone transmission. In those facilities not equipped with high-speed phone links—integrated-services digital network (ISDN), for example—we can perhaps envision phones with buffer memories to accept the IrDA data for retransmission. This capability would mean that you don't have to point and shoot for long periods at a snail's-pace, 28.8-kbps modem rate.

The wireless aspect of IrDA makes it ideal for several applications (Table A). In medical equipment, for example, the infinite, voltless isolation of a wireless connection removes all considerations of arcs and ESD. In industrial applications, all worries about plugging and unplugging cables in harsh environments disappear. And, the last two categories in Table A point up the vast potential of consumer applications, no doubt a major contributor to IBM's rosy projections for the future.

Table A—IrDA applications by industry sector
CategoryApplications
Mobile computingLaptop to desktop
Laptop-to-LCD projector
NetworkingPoint-and-shoot access to files, servers, printers, e-mail
TravelPoint-and-shoot modem connection IR faxing through phone ports
Printers, imaging, videoPrint images directly from camera
Transfer digital video to disk
Portable printers with IR ports
Police, military, industrial uses
MedicalWalk-up data collection from medical equipment
IndustrialData collection, programming, diagnostics
AutomotiveDrive-up, point-and-shoot diagnostics
Electronic commerceDrive-through payment at tollbooths
Download electronic cash from ATM
Pay with electronic cash at registers


You can reach Senior Technical Editor Bill Travis at (617) 558-4471, fax (617) 558-4470, e-mail b.travis@cahners.com

Reference

  1. Travis, Bill, "Ease transfers with IrDA-protocol wireless infrared," EDN, Mar 30, 1995, pg 59.

For free information
For free information on equipment such as that described in this article use EDN's Express Request service. When you contact any of the following manufacturers directly, please let them know you read about their products in EDN
Adaptec
Milpitas, CA
(408) 945-8600
Amp Inc
Harrisburg, PA
(800) 522-6752
Crystal Semiconductor
Austin, TX
(512) 442-7555
Hewlett-Packard Co
Palo Alto, CA
(800) 537-7715, ext 1139
IBM Microelectronics Division
Hopewell Junction, NY
(800) 426-0181
Irvine Sensors Corp
Costa Mesa, CA
(714) 549-8211
Linear Technology Corp
Milpitas, CA
(408) 432-1900
National Semiconductor Corp
Santa Clara, CA
(800) 272-9959
Puma Technology Inc
San Jose, CA
(408) 321-7650
Siemens Components Inc
Cupertino, CA
(408) 257-7910
Standard Microsystems Corp
Hauppauge, NY
(516) 435-6000
Temic-Telefunken Semiconductors
Santa Clara, CA
(800) 554-5565, ext 76
Traveling Software
Bothell, WA
(206) 483-8088
Unitrode Corp
Merrimack, NH
(603) 424-2410
VLSI Technology
San Jose, CA
(408)434-3000
For more information on IrDA protocols:

Infrared Data Association
Walnut Creek, CA
(510) 943-6546
http://www.irda.org



| EDN Access | feedback | subscribe to EDN! |
| design features | out in front | design ideas | columnist | departments | products |


Copyright © 1995 EDN Magazine. EDN is a registered trademark of Reed Properties Inc, used under license.