Agilent Irda Data Link Design Guide
Agilent Irda Data Link Design Guide
Introduction
Welcome to the World of Infrared
Data Communications! This guide
is designed to provide you with
the background necessary to
design and implement your very
own IrDA compatible data link.
Within these pages, you will find
detailed information on all phases
of the design process, from
architectural considerations
through board layout. You will
also learn about the Infrared Data
Association (IrDA) — about it’s
purpose, and about the IrDA
specification for IR data transfer.
2
Table of Contents
References .......................................................................................................... 2
1. Introduction ................................................................................................... 5
HP/Agilent IR History .......................................................................... 5
About This Guide ................................................................................. 6
(continues)
3
Table of Contents (continued)
7. Design Guidelines
7.1 Mechanical Considerations ....................................................... 39
7.2 Electrical Considerations .......................................................... 47
7.3 Optical Port Design .................................................................... 51
7.4 Eye Safety .................................................................................... 53
Appendix ........................................................................................................... 65
4
1. Introduction
HP/Agilent IR History
Hewlett-Packard has been and 3 V respectively. Both trans- In 2000, under the new company
offering infrared wireless ceivers are FIR capable, name, yet another world’s first
connectivity in its products since compliant with IrDA Version 1.1 was added to its record books
1979. The infrared discretes once industry standards. The HSDL- with the release of HSDL-3202.
embedded in the HP-41C pocket 2300 was one of the winners of The HSDL-3202 is the first
calculator and HP-48SX calculator the 1998 Wireless Design and De- transceiver to be able to interface
have evolved into transceivers velopment Technology Awards. with logic levels as low as 1.8 V.
commonly found in HP’s PDAs, Designed for data communica- The HSDL-3210 extended the feat
Omnibooks, Printers and many tions applications, the HSDL-2300 of the HSDL-3202 to a higher data
other non-HP products. HP has transceiver offers end users the rate of 1.152 Mbps in the
been incessantly investing in benefit of longer battery life in industry’s smallest package,
research and development in the portable devices. another world’s first. The
infrared technologies to enable HSDL-3310 is the world’s first
mobile products to communicate In 1998, a new platform of IR 1.152 Mbps transceiver to
in a seamless manner. transceivers was born. Using a interface with 1.8 V logic levels.
new castellation technology and Agilent has also cooperatively
In 1993, the first HP transceiver improved electronics, Hewlett- worked with inSilicon
module was introduced. The Packard was able to bring the Corporation to develop the first
HSDL-1000 enabled Infrared data cost, power consumption and size semiconductor intellectual
transmission and reception in a of the transceivers to new “lows.” property VFIR controller core.
single integrated module. With lower cost, lower power The controller supports the VFIR
Adhering to the IrDA 1.0 industry consumption and even smaller standard of transmission data at
standards, the HSDL-1000 is also size, this platform of modules 16 Mbps. These developments
known as a Serial Infrared (SIR) brings wireless connectivity to the were in response to the
transceiver. The IrDA 1.0 standard telecom world, and the many advancements in mobile devices,
was designed around a “point and other products, where the which are heading toward
shoot” environment for short requirements are small size and developing low voltage and high
distance (1m) tether-less very low power consumption. speed applications.
communication. Hewlett-Packard was proud to
offer the HSDL-3201, HSDL-3600 As we enter the new millenium,
In 1995, the HSDL-1001 and and HSDL-3610. These products Agilent continues to introduce
HSDL-1100 were introduced. The enable Infrared communication in new and exciting Infrared
former, a direct replacement for even smaller and slimmer products for wireless
the HSDL-1000, enables a wider products. communications. Join us as we
scope of IR implementation, e.g. lead in new highs in performance,
input voltage of 3 - 5 V. In 1999, HP grouped its test and and new lows for cost, size and
measurement, semiconductor power consumption.
The HSDL-1100 provides 4 Mbps products, healthcare solutions
Fast Infrared (FIR) capability (as and chemical analysis businesses
compared to the SIR 115 kbps together and spun it off as a
data rate). This module enables separate company, Agilent
faster communications in printers Technologies, as part of a
and notebooks, and is still a much corporate re-alignment process.
sought after module. The IR business unit being a part
of the semiconductor products
In 1997, the HSDL-2100 and group, became part of Agilent
HSDL-2300 were the answers for Technologies.
products facing size reduction
pressures. Standing at 5.3 mm,
these IR products operate at 5 V
5
About This Guide
This guide is designed to provide
the information necessary to
design and implement an IrDA
compatible data link. An
introduction to the IrDA and its
standards is included for those
new to the technology. This also
serves as an update for
developers in the Infrared field.
Within these pages you will find
detailed information for all phases
of the design process, ranging
from architectural considerations
through board layouts to optical
considerations. You will also learn
about the IrDA, its standards and
how they relate to IR
communication. In addition, a
selection guide is accessible for
all users to get acquainted with
the offerings of Agilent’s infrared
components.
6
2. IrDA Applications in
the Market
Networking, interoperability and Due to architectural constraints, multimedia applications requiring
cable-less technology have gradu- the adoption of IR in the desktop higher data rates necessitates a
ated from just being buzzwords to segment has been relatively low. need for faster infrared (4 Mbps
reality. Following this evolution in Current desktop designs in the and above) transceivers with
cable-less communications, infra- marketplace are more appropriate lower power consumption and
red has experienced enormous for placing the desktop in a cabi- smaller form factor. Industry ana-
growth in the past half-decade due net or on the floor. However, such lysts predict that the IR adoption
to ease of use and low implemen- a layout is not conducive for any rate in this segment will continue
tation cost. The Infrared Data type of point and shoot applica- to grow in the next few years.
Association (IrDA) has projected tion profile. To overcome this
a total shipment of 1.3 billion constraint, IR dongles are avail- 2.2 TELECOM
units by the year 2003. This high able which can be connected to The telecommunications market
IR adoption rate reflects the pres- the serial port. Utilizing IR for IrDA applications refers to the
ence of more IR applications in dongles improves user mobility mobile phone sector. The IR
the marketplace than ever before, and also allows further upgrades adoption rate has surged since
with penetration rate for some of existing ports. 1997, when the first mobile phone
segments reaching 100%. Listed equipped with IR functionality
below are some of the many pos- Success in this market will there- was launched.
sible applications where IR has fore be determined by the
successfully embedded itself. availability of IR adapters and the The future of IR in mobile phones
maximum data rate supported. is more promising as the liberal-
2.1 COMPUTING SEGMENT Currently, the data rate of IR ization of the global
Two main markets that make up adapters is limited to the maxi- telecommunication industry con-
this segment are the Portable/ mum data rate of the serial port. tinues. Industry analysts believe
Desktop computing and Handheld With the emergence of Universal that future mobile phones will
markets. Serial Bus (USB) ports, higher have more functions and services,
speed of 4 Mbps (supported by and can potentially overtake fixed
Portable and Desktop Computing infrared) could be exploited. line phones. IR plays a vital part
This market segment, comprised in realizing this digital conver-
of notebooks and sub-notebooks, Handheld Devices gence by enabling the phone to
boasts of having the highest infra- The demand for handheld devices, “talk” to other network devices
red data link penetration rate. comprised of PDAs (Personal such as notebooks, PCs, PDAs
Most portable computers in this Digital Assistants) and handlheld and printers.
category have infrared links and PCs, has grown significantly since
the vast majority of them are 1997. Triggered by the need for Two factors governing the suc-
equipped with 4 Mbps transceiv- mobile access for personal and cess of IR in this market are low
ers. With a penetration rate professional data, most handheld power consumption and high data
approaching 100%, further market devices today utilize Infrared transfer rate. Traditional SIR (Se-
growth of IR will most likely track (IrDA) connectivity to perform rial Infrared, 115 Kb/s)
the growth of the notebook mar- data transfer. transceivers are deemed slow in
ket. Market analysts forecasted coping with mobile phone ser-
that the notebook sector would Using Infrared connectivity allows vices such as imaging applications
have a unit growth of over 18% PDAs to perform several tasks. and internet through Wireless Ap-
over the next five years. Factors Some of the existing IR applica- plication Protocol (WAP) or
contributing to the wide accep- tions include data exchange with Mobile Media Mode (MMM).
tance and success include a desktop or notebook PC, elec- Higher infrared speeds of 1 Mbps
low-cost, small size, inter- tronic business card exchange (Medium Infrared, MIR), 4 Mbps
operability with super I/O control- with another handheld device, (Fast Infrared, FIR) and 16 Mbps
lers, ease of use and full OS and data printing to an IR printer, (Very Fast Infrared, VFIR) under-
support (from Microsoft). just to name a few. development) will be able to cope
with such market needs.
The trend toward smaller
handheld devices loaded with
7
Two crucial factors that mobile Factors that will affect IR adop- Toy manufacturers have also de-
phone makers consider when tion rate in this market include IR signed toys that allow children to
implementing IR into their phones transceiver size, speed and power beam messages to each other us-
are power consumption and size. consumption. The Current Infra- ing IR. Examples of
The current trend is toward red speed of 4 Mbps is sufficient manufacturers include Radica
smaller phones, which could im- to allow fast transmission of files Games™ and Tiger Electronics™.
prove user portability. The IR via the IR port to desktops. Future
transceivers used will therefore speed of 16 Mbps will be able to 2.4 PERIPHERALS
need to be small. Smaller trans- address the needs of digital Infrared technology also ad-
ceivers imply lower power usage cameras with higher resolution. dresses the need for wireless
and indirectly shorter link dis- communication of the peripherals
tances. Scanners market such as the printers, key-
Infrared adoption rate in portable board and mouse, dongle and port
Some new developments in this scanners is faster and higher in replicator/LAN access.
market include the incorporation comparison to office scanners.
of features of personal digital Portable scanners utilizing IR al- Printers
assistants (PDAs) into the mobile low the user to transfer and print The printer market is largely
device. The resulting need for scanned images to other comput- driven by the growth of personal
higher speeds from this marriage ing peripherals such as desktops computers and printers.
between data and voice will be and printers. This requires a mini-
addressed by future 16 Mbps mum infrared speed of 4 Mbps Hewlett-Packard, the leader in the
transceivers. (FIR). Faster infrared speed of printer market, has also been a
16 Mbps, currently under develop- leader in adopting IR in its print-
2.3 CONSUMER ELECTRONICS ment, will be able to address ers. Introducing IR links in its 5P
This sector is comprised of digital future needs for faster data trans- series of personal laser printers in
cameras, scanners, toys and mission. 1997, HP has also adopted IR in
games. its portable inkjet printers in 1997.
The key factors of portable scan-
Digital Cameras ners are portability and power IR port can be implemented onto
This market has evolved from the which are indirectly determined a printer either by embedding
traditional film-based photogra- by the size and power consump- onto the printer itself or via an
phy to digital photography. tion. The IR transceiver used external IR adapter. The
According to Info Trends Re- therefore needs to be small in connection for the IR adapter
search Group, Inc., a leading size, consume low power and be (dongle) can be done easily
market research firm, the digital able to transmit data at a fast rate. through a serial or parallel port,
camera market is predicted to ex- as it creates greater flexibility in
pand to 5 million units in 2002 Toys and Games the placement of the IR port. Any
from 1.3 million units in 1998. Another application of IR is in the user simply needs to perform the
Rapidly moving toward higher game arena where a device beams “point and shoot” action by
resolution image sensors, the digi- across trading items, custom char- aligning the handheld or data
tal cameras in today's market are acters and configurations to device to the printer IR port. This
equipped with 3.5 million pixels. another device. One such example entire process, accomplished
is the Nintendo Game Boy within seconds in the absence of
A market research analyst with Color™. Another application is wires, is time efficient and
InfoTrends commented that the known as the intelligent toy improves user mobility.
huge growth of the digital camera where games, programs, songs
market is attributed to increasing and stories can be downloaded The wide proliferation of IR in
penetration of personal comput- from a desktop through an IR this market has encouraged more
ers, Internet connectivity, mass dongle. Infrared speed of 115 Kb/s OEMs (Original Equipment Manu-
market awareness and digital (SIR) is sufficient to allow such facturers) to incorporate IR port
photo retail and online services. data transfer since the file size is into their printers. Success factors
relatively small. of IR in this market include speed
and the angle at which beaming is
8
possible. This is because higher Port Replicator/ LAN Access
data rate for faster printing is re- The port replicator is a device
quired for image printouts with that enables notebook and
megabyte files, and a wider beam- handheld device users to instantly
ing angle improves user mobility. access printer, mouse, keyboard,
and network across a universal
Infrared Keyboards and Mouse infrared connection without the
Users enjoy greater mobility with problems of cable. Future IrDA
the convenience of locating and standard of 16 Mb/s will allow
operating their keyboard and users to experience the real
mouse in the absence of wires. throughput of 10 Mbps Ethernet
One application is in the set-top speed when using the port
box or interactive television replicator to access a network.
where an infrared keyboard is
aligned with a wireless keyboard
receiver. The receiver is con-
nected to the television, allowing
the user to browse the web in
comfort from any room in the
house. The television could also
be connected to a desktop,
enabling the user to save any
information.
Dongle
An IrDA PC dongle enables IR-
capable portable devices such as
notebooks, digital cameras,
handheld devices, and mobile
phone users to conveniently trans-
fer files back and forth to a
desktop PC in the absence of
wires.
9
10
3. IrDA Standards
This section presents an overview
of IrDA, and the features and
requirements of IrDA compliant
ers or OEMs that purchase and Without a communication proto-
products.
implement components utilizing col, such as that provided by
3.1 IrDA BACKGROUND the technology do not need to ac- IrDA, a non-cabled link is inher-
The IrDA is an independent orga- quire a Hewlett-Packard patent ently not robust. Unlike a cable,
nization whose charter is to create license. The system OEM is re- which is semi-permanently at-
interoperable, low cost IR Data lieved of any license requirement tached, the ends of an IR link may
interconnection standards that as long as one of the components move freely in and out of range.
support a walk up, point-to-point in the system is from a firm that The link may even be broken in
user model that is adaptable to a acquired a valid HP License fee of the middle of a transmission.
broad range of appliances, such as $5000. Hewlett-Packard’s patent IrDA defines a set of specifica-
computing and communicating only applies to the 115.2 kbps tions, or protocol stack, that
devices. The following are the IrDA 1.0 standard. License agree- provides for the establishment
fees associated with IrDA mem- ments are not required for any and maintenance of a link so that
bership. higher speed versions, such as the error free communication is pos-
1.15 Mbps and 4 Mbps standard. sible. The IrDA Standards include
IrDA Membership Fees: three mandatory specifications:
• US $8,000 for executive mem- 3.3 THE IrDA SPECIFICATIONS the Physical Layer, Link Access
bership (same as affiliate, plus This section presents an overview Protocol (IrLAP), and Link Man-
voting rights) of the IrDA, and the features and agement Protocol (IrLMP).
requirements of IrDA compliant
• US $4,000 for affiliate member- products. While the primary focus of this
ship, if applicant’s gross annual guide is the implementation of the
revenue is equal to or greater Overview Physical Layer, we will start with
than $250,000 (standards docu- The Infrared Data Association a brief overview of the software
ments, attend meetings, access (IrDA) is an independent organi- protocols. Further information
to e-mail reflector/mailing list) zation whose charter is to create about IrDA, as well as the specifi-
standards for interoperable, low cations themselves, are available
• US $1,500 for affiliate member- cost IR data interconnection. from IrDA (see Contacts)
ship, if applicant’s gross annual Setting standards for IR communi-
revenue is equal to or greater cation is key to effortless Note that each successive revi-
than $250,000 (standards docu- communication between various sion supercedes the previous.
ments, attend meetings, access types and brands of equipment. It Also, while a new revision pro-
to e-mail reflector/mailing list) is the goal of IrDA to set stan- vides for additional options, it
dards and protocols, which can be does not mean that the device has
IrDA Standards Document Fee: reasonably and inexpensively to meet it. For example, while
• US $500 per company, for Stan- implemented in order to promote IrPHY 1.3 supports 4 Mbps at low
dards Documents the proliferation of IR communi- power, it does not mean that an
cation. The first version of the IrPHY 1.3 compliant device has to
3.2 HEWLETT-PACKARD IrDA data link Physical Layer support 4 Mbps at low power.
PATENT AGREEMENT Specification (IrPHY) 1.0, pro-
Hewlett-Packard has a patent on vided for communication at data The IrDA Datalink Protocols
the Serial IR (SIR) encode/decode rates up to 115.2 kbps. Version 1.1 The IrDA Datalink Protocols are
circuitry and IR receiver (minus extended the data rate to 4 Mbps, organized as a series of layers,
the PIN photodiode) (Figure 3.3). while maintaining backward com- each built upon the one below it,
This is the basis of the HP SIR patibility with Version 1.0 with the lowest layer being the
Technology. Components or sub- products. Version 1.2 defined a physical layer. They may be visu-
system manufacturers who low power option for data trans- alized as a protocol stack. The
provide, or intend to provide, mission speed up to 115.2 kbps. function of each layer is to offer
components that infringe on HP’s Version 1.3 extended the low certain services to the next upper
patent should consider acquiring a power option operation to layer, shielding those layers from
patent license from the licensing 1.152 Mbps and 4 Mbps. the details of how the offered ser-
agent, IrDA. System manufactur- vices are actually being
implemented. The three manda-
11
tory layers as mentioned above
APPLICATION SOFTWARE
are the Physical Layer (IrPHY),
Link Access layer (IrLAP), and the
Link Management layer (IrLMP). IrOBEX IrLPT IrCOMM IrTRANP
A typical implementation of the
IrDA protocol stack within an op-
erating system is shown in Figure APPLICATION SOFTWARE
3.1.
TINY TP
Overview IrLAP
12
UART ENCODE/DECODE CIRCUITRY LED DRIVER/RECEIVER CKT
SOFTWARE
BYTE
3/16 th
PARALLEL PULSE WIDTH
TO SERIAL MODULATOR LED DRIVER LED
QUANTIZER
POST PRE-
AMPLIFIER AMPLIFIER
SERIAL EDGE
TO DETECTOR AND
PARALLEL PULSE WIDTH
DE-MODULATOR
PIN
Figure 3.3. IrDA Version 1.0 Physical Block Diagram. higher data rates, if supported at
both ends. Therefore all devices
that support a 4 Mbps data rate
will have to be capable of support-
START
BIT ing a lower data rate of 9.6 kbps
0 1 0 1 0 1 0 1 0 1
at the minimum. Thus a 4 Mbps
device will be able to communi-
UART
FRAME
cate with a device that only
supports 9.6 kbps. This ensures
backward compatibility.
IR
FRAME
BIT
A 4 Mbps IrDA link uses a modula-
TIME 3/16 tion scheme known as 4 PPM
(Pulse Position Modulation), in-
Figure 3.4. IrDA 3/16 Data Modulation.
stead of the 3/16 modulation used
long time. Thus the power in the quires an encoder/decoder for slower data rates. With 4 PPM,
LED would need to be limited, (endec), either embedded in the I/ information is conveyed by the
which would then limit the work- O chip or as a discrete compo- position of a pulse within a time
ing distance. Instead, the IrDA nent. This will be discussed slot. In the 4 PPM scheme (Figure
standard requires pulsing the LED further in the following sections. 3.5) two data bits are combined to
in a RZI (return to zero, inverted) form a 500 ns “data bit pair”
modulation scheme so that the 1.152 kbps and 576 Mbps Data Rate (DBP). This DBP is divided into
peak to average power ratio can The IrDA Physical Layer Specifi- four 125 ns time slots or “chips”.
be increased. The maximum pulse cations also support the The two bits to be encoded will
width is required to be 3/16 of the intermediate data rates of have one of four states 00, 01, 10,
bit period. The minimum pulse 576 kbps and 1.152 Mbps. These 11. Depending upon which of
width can be as little as 1.41 µs, speeds use an RZI modulation these states is present, a single
which is derived from 3/16 of the similar to the 3/16 modulation pulse is placed in either the first,
highest data rate of 115.2 kbps. used at 115.2 kbps and slower, but
The effect of the encoding can be use a nominal 25% pulse width. BIT PULSE 500 ns
seen in Figure 3.4 as the data la- PATTERN POSITION
3/16 ENCODER
LED
LED
DRIVER
4 PPM MODULATOR
SOFTWARE POST
AMPLIFIER
BYTE
PRE-
AMPLIFIER
3/16 DECODER
POST
AMPLIFIER
INFRARED COMMUNICATION CONTROLLER
14
second, third or forth 125 ns time INTENSITY (mW/Sr)
slot. Thus a demodulator, after UNACCEPTABLE RANGE (VERTICAL AXIS IS NOT DRAWN TO SCALE.)
500
phase locking on the incoming bit
stream, can determine the data
pattern by the location of the
ACCEPTABLE RANGE
pulse within the 500 ns period.
The demodulator phase locks
with a string “preamble” field. A
preamble consists of 16 bits, and MIN
UNACCEPTABLE
is transmitted 16 times.
-30 -15 0 15 30
ANGLE (DEGREES)
The block diagram for the Version
1.1 (4 Mbps) Physical Layer (Fig-
ure 3.6) looks similar to the Figure 3.7 Acceptable Optical Output Intensity Range.
Version 1.0 block diagram, except
that the UART and the Encode/
Decode circuitry are replaced IRRADIANCE (mW/cm2)
with an I/O device that is designed (VERTICAL AXIS IS NOT DRAWN TO SCALE.)
for 4 Mbps IrDA data communica- 500
tion. This device performs the
encoding and decoding of both
the 3/16 and the 4 PPM modula- OPTICAL
HIGH
tion. UNDEFINED REGION
STATE
UNDEFINED REGION
Applicable
Data Rates Min. Max.
ACTIVE OUTPUT (TRANSMITTER) SPECIFICATIONS
Intensity in Angular Range, mW/Sr All – 72
115.2 kbps 3.6 –
and below
Above 9 –
115.2 kbps
Table 3.3 Comparison of key parameters between IrPHY 1.1 and 1.3
SIR/FIR FIR
Std Power Low Power
(IrPHY 1.1) (IrPHY 1.3) Remarks
Link distance, cm
Lower limit 0 0
Upper limit (low power to low power) – 20 } Range per Telecom
Upper limit (low power to std) – 30 } SIG use model
Upper limit (std power to std power) 100 –
Irradiance
Min, µW/cm2 ( ≤ 115 kbps) 4 9 IrPHY 1.2/1.3 allows use of
Min, µW/cm2 ( > 115 kbps) 10 22.5 less sensitive receiver,
Max, mW/cm2) 500 500 hence higher minimum irradiance
16
Half Duplex and Latency 3.5 IrLAP - LINK ACCESS PROTOCOL 3.6 IrLMP PROTOCOL
The IrDA link is half-duplex, and The IrLAP protocol specification The IrLMP (Link Management
there is a time delay allowed from corresponds to the OSI layer 2 Protocol) is a layer that sits above
the time a link stops transmitting (Data Link Protocol), and is a the IrLAP layer. It provides ser-
to the time when it must be ready mandatory layer for IrDA proto- vices to both the Transport layer
to receive. The IrDA link cannot cols. IrLAP is based on the and directly to the application
send and receive at the same time pre-existing HDLC and SDLC half- layer. IrLMP consists of two com-
because the transmitter and re- duplex protocols, with some ponents, LM-IAS (Information
ceiver are not optically isolated, modifications to cater to the Access Service) and LM-MUX
and the transmitted signal can in- unique features and requirements (Link Management Multiplexer).
terfere with the incoming signal. of infrared communications. LM-IAS maintains a database of
When the transmitter is emitting IrLAP provides guidelines for the IrDA devices discovered as well
light it may even saturate its own software which looks for other as providing information on what
receiver, and disable it from re- machines to connect to (sniff), services the IrDA compliant de-
ceiving data from another source. discovers other machines (dis- vices offer. LM-MUX provides
The IrDA specifications allow a cover), resolves addressing services to both the local LM-IAS
period of 10 ms (Standard Power conflicts, initiates a connection, and also to the transport entities
Option) after transmitting, for the transfers data and cleanly discon- or applications that bind directly
receiver to regain its full sensitiv- nects. IrLAP specifies the frame to the LM-MUX layer. LM-MUX
ity. Shorter times may be and byte structure of IR packets provides a mechanism for linking
negotiated when the link starts as well as the error detection multiple devices over IrLAP, as
up. This delay, from the time the methodology for IR communica- well as sharing control of a single
transmitter stops sending light tions. Figure 3.9 shows the block IrLAP connection between a pair
pulses to the time the receiver is diagram for the IrDA IrLAP func- of stations.
guaranteed to be ready to receive tion.
data, is termed latency. Latency
is also known as receiver setup IrLAP defines three different
time. framing schemes corresponding
to the three types of data rates
Ambient Light (9.6 kbps - 115.2 kbps, 0.576 Mbps
There are requirements for ambi- and 1.152 Mbps, 4 Mbps). The
ent light rejection to ensure wrapper types for the three physi-
proper working of the IrDA cal layer schemes are:
datalink under a wide range of • Asynchronous (ASYNC) Fram-
environmental conditions. The ing (9.6 kbps - 115.2 kbps)
IrDA specification specifies the • Synchronous (SYNC) HDLC
test methods for measuring the Framing (576 kbps and 1.152
data integrity of the link under Mbps)
electromagnetic fields, sunlight, • Synchronous 4 PPM Framing
incandescent lighting and fluores- (4 Mbps)
cent lighting. An IrDA receiver
must be able to reject up to 10K Figure 3.10 shows the three differ-
lux of sunlight, 1K lux of fluores- ent types of frame structures. The
cent light and 1K lux of IrLAP Payload data includes the
incandescent light. These values address, control field and infor-
were chosen as typical of what mation data. To implement the
may be encountered under nor- IrLAP layer, please refer to the
mal use conditions. Please refer IrDA IrLAP specification.
to the IrDA Physical Layer Test
Specification for test methodolo-
gies.
17
SNIFF - OPEN
ADDRESS INFORMATION
DISCOVERY CONNECT DISCONNECT
TRANSFER
ADDRESS
CONFLICT RESET
RESOLUTION
18
Figure 3.11 shows the Link Man- parallel ports to work over IR one way at a time (half duplex).
agement Architecture. IrLMP adds without any changes in their code. Also, after sending data, there is a
a two-byte header to the IrLAP need to wait for a short period of
frame, as shown in Figure 3.12. Normal wired communication time (latency or receiver setup
methods can send information in time, explained earlier) before it
3.7 IrCOMM PROTOCOL both directions simultaneously can start receiving. IR uses a short
IrCOMM (Serial and Parallel port (i.e., full duplex), as there are latency of 10 ms to maximize
emulation over IR) allows existing multiple wires between them. Un- transmission speed. The minimum
communication applications that der the current specifications, IR 10 ms latency is imposed by the
talk to other devices via serial and is only able to send information hardware. This puts a constraint
APPLICATIONS
TRANSPORT SERVICES
LM-IAS SERVICES
LINK
MANAGEMENT
INFORMATION
TRANSPORT
ACCESS
ENTITIES
SERVICE
(LM-IAS)
LM-MUX SERVICES
IrDA IrLAP
LINK ACCESS PROTOCOL
DL SAPSEL SL SAPSEL
19
on critical timing applications via LEGACY APPLICATION
Figure 3.14):
IrLMP
20
mand management services. • Call Control commands trans- support is mandatory, while most
The session will operate at the mitted between the mobile others are optional.
speed determined by the under- equipment and terminal equip-
lying stack and infrared ment (car cradle or PC/PDA). To meet the low power consump-
hardware. tion requirements of mobile
• bFTP (Binary File Transfer • Audio for real time voice and Telecom products, the Low
Protocol): designed to work control service data transmis- Power Option has been added in
with SCEP. It provides a sion made possible by the IrPHY version 1.3. This lighter
mechanism for exchanging RTCON (Real-time Transfer physical layer defines a much
binary files by using the follow- Control) protocol. RTCON is a shorter link distance of 20 cm
ing services: full duplex protocol that adopts from IrMC to IrMC devices, and
• F_Put: Transmit a data file the ITU-T G.726 32 kbps 30 cm from an IrMC to a standard
to a responder. ADPCM as the common voice power device. The shorter link
• F_Query: Request the codec (compression/decom- distance results in up to ten times
processing ability of the pression) method. To avoid any savings in LED drive current.
application on the noticeable clipping of sound, it
responder. requires the use of IrDA trans-
• UPF (Unified Picture Format): ceivers with latency of less
standardization of picture data than 500 µs.
format with base picture size of
VGA 640 x 480 pixels. The IrMC specification defines
various levels of support for the
3.9 IrMC above applications. Some of the
The IrMC (Infrared Mobile Com-
munications) standard, IAS DB
established by the IrMC Working -P'n'P OBEX DB
21
3.10 IrOBEX (IrDA OBJECT
EXCHANGE PROTOCOL)
OBEX is an application layer pro-
tocol that enables different
systems to exchange a wide vari- THE WIDE WORLD OF APPLICATIONS
ety of data and commands in a
standardized fashion. OBEX is DEFAULT OBEX
quite similar to HTTP, in that ob- APPLICATION
22
4. IrDA Future Directions
23
24
5. Agilent Products
5.1 INTRODUCTION
Having selected an architecture,
the IrDA system designer can
now select the proper components
and develop the circuit diagram.
5.2 INTEGRATED TRANSCEIVER All Agilent transceivers are fluctuations, this has the added
MODULES guaranteed to meet all IrDA advantage of reduced component
Agilent offers a wide range of SIR, specifications over the operating count by doing away with the ex-
MIR and FIR transceivers. VFIR temperature, supply voltage and ternal resistor. This feature is
transceivers are currently in de- life of the part. All electrical found in the HSDL-3201 and the
velopment. Agilent transceivers specifications are also guaranteed HSDL-3202.
are designed to offer fully IrDA over temperature, voltage and
compliant receive and transmit lifetime. Supply voltage range is I/O VCC interface: Low power
functions for the system. The over the full range from 2.7 V and consumption and miniaturization
transmitter converts the modu- 5.5 V. usually lead to development of
lated pulses received from the I/O low-voltage applications.
chip or endec into IR light pulses. Over the years Agilent’s trans- Handheld devices are currently
The receiver detects IR light ceiver offering has evolved to heading toward voltages as low as
pulses and converts them to TTL incorporate more and more fea- 1.8 V. This implies that transceiv-
or CMOS level compatible electri- tures enabling ease of use and ers should be capable of
cal pulses. fulfilling market needs for minia- interfacing with low logic level
ture packaging, low power ASICs. The I/O VCC interface en-
The integrated design of Agilent consumption, improved optical ables the transceiver to interface
transceivers enables ease of and electrical performance re- with such low voltage logic levels.
implementation and compliance quired of higher data rates, and This feature is currently found in
to all IrDA physical layer specifi- added sophistication. Following the HSDL-3202 and is expected to
cations. It includes the optics, are some of the features that have be in all next generation trans-
LED with buffered LED driver, been added: ceivers that fit such a low voltage
and PIN photodiode and receiver application scenario. See the sec-
circuits in one package. The de- Constant current: The current tion on I/O VCC interface in
sign of the transmitter guarantees generated from an external volt- Architectural Options.
the intensity and viewing angles age source using an external
required by IrDA, while the re- resistor usually drives the LED Power management: To operate
ceiver circuitry enables data portion of the transceiver. How- over the entire link distance
transfer at guaranteed link dis- ever, this is vulnerable to voltage specified by IrDA, the IrDA physi-
tances from 0 cm (nose to nose) fluctuations. An alternative would cal layer specification requires
to at least 1 meter, even in the be to drive the LED internally us- LED intensity ranging from
presence of ambient electrical and ing a constant current source. 40 mW/Sr to a maximum of
optical noise. Besides being resistant to voltage 500 mW/Sr. A long link distance
25
(1 m) would require a high inten- cuitry minimizes the rise and fall this does not guarantee compli-
sity, but the same intensity at times of the LED signal edges, im- ance to IrDA specifications.
shorter link distances would be proving the detection capability of Moreover, AGC circuitry has been
overkill. Reducing the intensity the corresponding IR receiver. shown to have high bit error rate
down to the required level will The transmitted radiant intensity (BER) at large signal levels (short
have the LED operating at an opti- allows for an additional guard link distances). Alternatively, an
mal level and will also result in band to accommodate for losses adaptive threshold circuit can be
lower power consumption. User due to the cosmetic window and used which quickly adapts to an
adjustable optical power level ad- thus guarantees the required mini- incoming signal and sets the
justment is provided via software mum and maximum intensity threshold for the quantizer. The
or hardware controllable pins. levels as specified in the physical adaptive threshold circuit in com-
This feature is found in the HSDL- layer specification of the IrDA, bination with a squelch circuit
2300. See the section on even outside the system. The makes the receiver robust and im-
Interfacing for adaptive power transmitter uses fewer external mune to spurious signals and
management under Architectural components. These include power provides a wider dynamic range
Options. supply filter capacitors and LED of operation that is required of
current limiting resistor. The re- higher data rates.
Serial Interface for sistor is not required when a
Transceiver Control (STC): constant current source for LED Power Supply and EMI Noise
Adding new features to transceiv- drive is used such as in the case An IR transceiver implementation
ers usually translates to increased of HSDL-3201/3202 options. The requires special attention to EMI
pin count for the user to access choice of components is further and power supply noise. The ana-
and control these features. To discussed in the section Layouts log functions (IR detector and
overcome this, IrDA specified the and Schematics and can also be pre-amplifier) are very sensitive,
Serial Interface for Transceiver found in the respective data and thus require more attention to
Control. STC is used to control sheets. EMI and power supply noise than
and program the features of the typical digital integrated circuits.
transceiver, which include data Receiver Noise immunity is the maximum
rate control, input/output control Unlike the transmitter portion, the amount of noise that the receiver
and optical power management. receiver must handle a large dy- can sense before exceeding a 10-8
This feature is found in the namic range, multiple data rates bit error rate. Noise levels above
HSDL-3210 and will be available and line codes, making it more the noise immunity will effec-
in Agilent’s next generation of difficult to design. The receiver tively reduce the receiver
transceivers. See the section on digitizes the incoming signal by sensitivity and therefore the IR
STC interface in Architectural comparing it to a threshold value. link distance. All IR transceiver
Options. The dynamic range required by solutions require improved
IrDA of the receiver, for a one ground plane design and capaci-
Transmitter meter link are 4 µW/cm2 to tive decoupling over standard
The transmitter uses a high speed, 500 mW/cm2 for 2.4 to 115.2 kbps practices for digital integrated cir-
high efficiency TS AlGaAs LED, and 10 µW/cm2 to 500 mW/cm2 for cuits. See the section on Board
along with a high speed drive cir- 0.576 to 4 Mbps. This implies that Layout Guidelines for low noise
cuit to produce high power IR for higher data rates the receiver design techniques.
pulses with minimal pulse width threshold should dynamically ad-
distortion. The transmitter fea- just according to the incoming Ambient Light
tures a buffered input to reduce signal amplitude. Since noise lev- The IrDA Physical Layer
input current so it can be driven els are higher at higher data rates, Specifications require a receiver
directly by CMOS logic. The effi- a fixed threshold level would miss to operate correctly in the
ciency of the LED and the optical bits or give rise to extra bits in the presence of sunlight,
design of the package guarantee presence of noise. AGC (auto- incandescent light and fluorescent
IrDA specified minimum and matic gain control) circuitry can light. Agilent’s IR transceiver
maximum light intensity. The be used in an IR receiver to obtain modules are guaranteed by design
speed of the LED and drive cir- a wide dynamic range. However, to work under all of the above-
26
specified conditions. They
incorporate a combination of
optical and signal processing
techniques to achieve this
performance. The package mold
compound is tinted with dye to
filter out visible wavelengths. The
lens of the detector is designed to
be sensitive to light only within
the IrDA viewing angle and
exclude light from outside of that
angle. The first stage amplifier of
the receiver contains daylight
cancellation circuitry to eliminate
the ambient light portion of
incoming signals, and the
amplifier is bandwidth limited to
reject signals out of the IrDA
band. Using these techniques,
Agilent ensures robust Figure 5.2 Agilent Endec (Encoders/Decoder).
performance under all IrDA
specified ambient light
conditions. HSDL-7001
Like the HSDL-7000, the HSDL- aged in a 16 pin SOIC package.
7001 performs the IrDA 3/16 The HSDL-7001 interfaces directly
5.3 Endecs (Encoders/Decoders) encoding and decoding of the to the HSDL-1001, with no exter-
The HSDL-7000 and HSDL-7001 pulses from and to the IR trans- nal components.
are endec chips that perform the ceiver. The HSDL-7001 is designed
IrDA 3/16 encode/decode function with an internal programmable Endec Netlists
for data rates up to115.2 kbps, as oscillator for applications where For system designers who prefer
described in the section on IrDA the 16x clock from the serial data to embed IrDA communications
physical layer. These devices source may not be available. This with an ASIC, Agilent will provide
function as the interface between oscillator requires only an exter- the netlist for the HSDL-7000 at
a standard UART and the IR trans- nal crystal, and uses three data no charge. The HSDL-7000 is
ceiver. inputs to program the clock. about 200 gates logic and the
These inputs may be signals such HSDL-7001 is about 1000 gates.
HSDL-7000 as RTS and DTR from the serial This may be useful for system de-
The HSDL-7000 performs the IrDA port which would otherwise be signers who do not require the
3/16 encoding and decoding of the unused. If a BAUDOUT signal is functionality of a full I/O chip and
pulses from and to the IR trans- available, it may be used instead who do not wish to use a discrete
ceiver, as specified by IrDA. It is of the internally generated clock. UART. With the IR modulation/
the interface chip between the IR For transmission, this endec adds demodulation function incorpo-
transceiver and a UART. The the versatility of a 1.6 µs pulse op- rated into the system ASIC, it can
endec requires a BAUDOUT sig- eration. This allows baud rates connect directly to the IR trans-
nal, which is 16 times the selected lower than 115.2 kbps to use ceiver module. Please refer to the
baud rate. This is either supplied 1.6 µs pulses for lower power application note 1119, “IrDA
by the standard UART or by some consumption. The HSDL-7001 op- Physical Layer Implementation
external means. The HSDL-7000 is erates on a supply voltage range for Agilent’s Infrared Products”,
packaged in an 8 pin SOIC pack- from 2.7 V to 5.5 V, and is pack- for further information.
age. The HSDL-7000 interfaces
directly to the HSDL-1001, with no
external components.
27
Figure 5.3 Agilent Discrete Emitters and Detectors.
28
6. Architectural Options
Introduction
This section presents a number scribed below. The UART with “Super I/O” and 4 Mb I/O architec-
of system architectures and endec (Figure 6.9) architecture tures (Figures 6.5 and 6.6). For
typical products for which they described below is similar to the specific device recommendations,
are appropriate. Choosing an block diagram (Figure 3.3) de- please refer to the application
architecture is where an IrDA scribed in section 3 on IrDA note, “IrDA Physical Layer imple-
design begins. standards, while the easiest to mentation for Agilent’s Infrared
implement in a system are the Products”.
6.1 TYPICAL ARCHITECTURES
Infrared transceivers have gained
PCI ISA
widespread acceptance and are SLOTS SLOTS
being used in a wide variety of ap-
plications. The application MAIN
MEMORY SOUND
platforms can be broadly classi- CHIPSET
fied into personal computers,
mobile phones, handheld (e.g.
PDAs) and consumer electronics
(e.g. MP3 players). Figures 6.1 -
6.4 illustrate how an IR port fits
NORTH SOUTH SYSTEM
into these different platforms. CPU BRIDGE BRIDGE BIOS
SPEAKER
AUDIO INTERFACE
DSP CORE
MICROPHONE
ASIC
CONTROLLER
RF INTERFACE
TRANSCEIVER
MOD/DE-
MODULATOR
IR
MICROCONTROLLER
USER
INTERFACE
LCD LCD
CONTROLLER PANEL
Ir Txd
Ir
SUPER I/O Xcvr
Ir Rcd
30
make these Super I/O chips. vices and recommendations for modulated before transmission,
Please refer to Application Note, interfacing with them. and demodulated (stretched)
“IrDA Physical Layer Implementa- when received.
tion for Agilent’s Infrared Note: All of the following archi-
Products” for specific device rec- tectures operate up to a maximum A discrete encoder/decoder
ommendations. data rate of 115.2 kbps. (endec) chip, such as the
HSDL-7000, is used to modulate
6.3 2.4 kbps TO 4 Mbps 6.4 16550-type UART, the data. Figure 6.7 shows how
MICROCONTROLLER OR EMBEDDED the HSDL-7000 has an IrTXD out-
Typical Applications: I/O WITH 16x CLOCK put that is 3/16 of the bit period (3
Notebooks, Printers or others of 16 clock cycles). The 16x clock
with ISA or PCI Bus Typical Applications: PDAs, is typically available as a UART
Since a 115.2 kbps link, as defined Industrial Controllers, and output, and is usually called
by version 1.0 of the IrDA physical Analytical Instruments baudout.
layer specification, was designed Many electronic devices such as
to work with a conventional PDAs, Industrial controllers and In Figure 6.8, the received pulse
UART, it was limited to the maxi- analytical instruments may use a (IrRXD) is stretched by the endec
mum data rate supported by the 16550 or similar UART for the I/O to the width of 16 clock pulses, or
UART, which is 115.2 kbps. The interfaces, or have the UART em- the original bit period. The clocks
version 1.1 specification extends bedded into an ASIC. As seen in at both ends of the link do not
the data rate to 4 Mbps. This Figure 6.7, the UART’s TXD out- need to be synchronized, but do
makes it necessary to have an I/O put is NRZ (non-return to zero) need to be at the same frequency,
interface different from a conven- signal that is 100% duty cycle (full as determined at link startup.
tional UART, and also requires a bit width). This signal must be
different modulation scheme.
16 CLOCK
CYCLES
The block diagram for a 4 Mbps
Physical Layer looks similar to 16 x CLOCK
Figure 6.6, except that the UART
and the encode/decode circuitry
are replaced with an I/O device TxD
that is designed for 4 Mbps IrDA
data communication. Since all
IrDA links are required to start up IrTxD
at 9.6 kbps (3/16 modulation), this
device does the encoding and de-
3 CLOCK
coding for the 115.2 kbps (3/16 CYCLES
modulation) channel as well as
Figure 6.7 IR Transmit.
the 4 Mbps (4PPM modulation)
channel. A number of I/O chips
that connect to the ISA bus as 16 CLOCK
well as the PCI bus are available. CYCLES
Ir Txd 3 CLOCK
IR
Ir Rcd (2.4 TO 115.2 kbps) CYCLES
CONTROLLER
OR SUPER I/O Ir Rcd (0.5 TO 4 Mbps)
RxD
HSDL-1100
31
6.5 UART, MICROCONTROLLER OR
EMBEDDED I/O WITHOUT CLOCK
For system designers who prefer
to embed IrDA communications in Typical Applications:
an ASIC, Agilent will provide the Custom I/O, Portables, and
IrDA ver 1.0 endec netlists at no some Microcontrollers
charge. This may be useful for sys- In some systems, a 16x clock for which has an internal program-
tem designers who do not require the endec may not be provided by mable oscillator. In either case,
the functionality of a full super I/O the system and must be gener- the oscillator is typically pro-
chip, and who do not wish to use ated. As mentioned earlier, IrDA grammed with RS232 lines that
a discrete UART. With the IR en- only requires that a link operate at are not used in an IR link, such as
code/decode function 9.6 kbps. Thus, a clock for a sys- RTS and DTR, or others. Such a
incorporated into the system tem that runs only at 9.6 kbps system would need software driv-
ASIC, it can then interface di- need only provide a fixed fre- ers to correctly configure the
rectly with the IR transceiver quency clock that runs at 16 times programming signals to convey
module. Please refer to the appli- 9600, or 153600 Hz. A system that baud rate information. Please see
cation note, “IrDA physical layer needs to go faster will need a the references for suppliers of
implementation for Agilent’s means of changing the data rate software drivers.
Infrared Products”. and thus programming the clock.
This can be done with either the
Note that the IrDA transceivers HSDL-7000 and some external cir-
are designed specifically for cuitry, or with the HSDL-7001
modulated data and will not work
in NRZ mode. This is due to the
fact that the receiver generates an TxD Ir_TxD
output pulse (RXD) for each in- 16550 UART OR
MICROCONTROLLER ENDEC Ir Xcvr
RxD Ir_RxD
coming IR pulse. The width of the WITH 16x CLOCK
Txd Ir_TxD
16550 UART OR
MICROCONTROLLER ENDEC Ir Xcvr
RxD Ir_RxD
WITH 16x CLOCK
16x CLOCK
HSDL-7000
HSDL-1001
HSDL-1000
32
6.6 INTERFACE TO RS-232 PORT
SHIELD
4 AGND
average current will be If (from
data sheet) • 3/16 • (percentage of
0s in the data stream). At data ASIC VCC AS
LOW AS 1.8 V 3 RX PULSE
VCC
rates slower than 115.2 kbps, the SHAPER
Mode Mode Tx function 4. The PDA then establishes an printer, it is quite possible that
0 1 IrLAP connection. the packet sent out was not re-
ceived by the printer or was
1 0 Shutdown 5. Data is transmitted across and corrupted. In this case, the PDA
0 0 Full distance power the algorithm tracks the num- receives a timeout. The algo-
0 1 2/3 distance power ber of bytes transmitted. rithm responds by stepping up
1 1 1/3 distance power the power level and re-transmit-
6. Once the “threshold” number of ting the previous packet. This
data has been transmitted suc- process is repeated until the
three different power level set- cessfully, the power level is communication session is re-
tings in the transceiver by setting stepped down one notch. The established.
the two mode select pins via soft- “threshold” counter is reset and
ware control in a microcontroller. steps 5 and 6 are repeated until The hardware interfacing using a
The mode select table is shown in the power mode reaches the Motorola Dragonball MC68328
Table 6.1. lowest level. and HSDL 3600 as an example is
shown in Figure 6.13.
The implementation can either be 7. In the event that an
static or dynamic. In the static acknowledgement is not re-
case, the user is required to select ceived by the PDA from the
and set the transmit power level
required according to the table
VCC
given above. In the dynamic case,
power mode control is initiated GND
and managed by the primary de- R1
vice. For example, in the case of a 6, 7 10 LEDA
PDA (primary) communicating
with the printer (secondary), the
PDA would control the power RxD
8
mode. A sample session is men-
tioned below. This is just one of
the many possible ways of imple-
PK0 FIR_SEL
menting adjustable power. The 52
3
user is assumed to be using the 51
PK1
HSDL-3600
JetBeam protocol stack. 50
PK2
MC68328
1. On PDA power on, the JetBeam
stack is initialized for adaptive
power mode.
TxD
SP
2. The PDA’s startup code initial- 9
34
6.9 SERIAL TRANSCEIVER CONTROL
Serial Transceiver Control (STC) transceiver or in STC mode. The transceiver is the slave and re-
is the latest way to interface to transactions may be WRITE only sponds to commands/read
the transceiver. This 3-wire bus (change operating mode) or requests. The command phase is a
allows connection of up to 6 indi- READ (obtain operating mode or single byte, with a bit indicating
vidually addressable devices and condition). Typical operating write/read, a 3-bit address field
offers a common electrical inter- modes are stored in the main con- and a 4-bit command index field.
face. Registers on board the trol registers, and include speed, The response from the transceiver
transceiver store operating modes power levels, receiver output en- is carried in the 2nd byte. There
and states, eliminating the need able, and LED enable. There are are 3 byte commands which use
for additional status/mode pins – extended index registers, which the extended index registers. The
this electrical interface can be are optional, except for two, command consists of the first 2
standardized across different ven- ManufacturerID and DeviceID. bytes while the response is car-
dors and transceivers. This allows ried on the 3rd byte. The
use of a generic framer, and Figure 6.14 shows the multiplex- commands/responses are sent in
brings plug and play down to the ing of SCLK write and read lines little endian form, i.e., the least
transceiver level. with the normal IR transmit and significant bit of the first byte is
receive lines. Figure 6.15 shows sent first, and the most significant
The first Agilent offering with STC two transceivers connected to one bit of the 2nd byte (or 3rd byte in
is the HSDL-3210. IR controller. the case of a 3 byte transaction) is
sent last.
STC “transactions” are sent and 6.10 COMMAND FORMAT
data received on data lines multi- The command format consists of Figure 6.16 shows the command
plexed with the normal transmit a mandatory command phase and format.
and receive lines, while a clock an optional response phase. The
line determines whether the trans- controller always is the master, The address field is defined in the
ceiver operates as a normal and initiates commands. The specification, and can be used to
TRANSCEIVER TRANSCEIVER
(SLAVE) (SLAVE)
STC - NORMAL MODE STC - COMMAND/RESPONSE MODE
OFE A
IRTX/SWDAT
TX/SWDAT
IRRX/SRDAT OPTICAL
INFRARED RX/SRDAT TRANSCEIVER
CONTROLLER SCLK1
SCLK
SCLK2
VCC
OFE B
TX/SWDAT
OPTICAL
RX/SRDAT TRANSCEIVER
SCLK
7 0
2nd BYTE (WRITE DATA, OR RESPONSE IN 2 BYTE
DATA (SLAVE RESPONSE) OR E_INDX (8) COMMAND, OR EXTENDED INDEX IN 3 BYTE COMMAND)
7 0
3rd BYTE (RESPONSE FOR EXTENDED COMMAND)
DATA (SLAVE RESPONSE)
7 0 7 0
INDX = “1111”
(ESC CODE FOR EXTENDED INDEXING)
7 0 7 0 7 0
3rd BYTE (WRITE DATA) 2nd BYTE (EXTENDED INDEX) 1st BYTE (COMMAND)
36
C BIT = “0” (READ OPERATION)
7 0
ADDR INDX 0
7 0
C BIT = “0”
(READ OPERATION)
INDX = “1111”
(ESC CODE FOR EXTENDED INDEXING)
7 0 7 0
E_INDX ADDR 1 1 1 1 0
7 0
37
6.11 BUS TIMING
The bus timings are designed to F. The LED is re-enabled (by the I. When powered up, the trans-
be simple and to minimize the ef- slave) on the last SCLK of the ceiver is not ready to perform
fects of timing skew. This section STC transaction bitstream. IR transmissions yet. The con-
discusses some key points regard- Normal infrared transmission troller has to initialize the
ing the bus timings, then can resume. No SCLK transi- transceiver first. The power up
illustrates with waveforms of typi- tions should then take place sequence in brief:
cal STC transactions. until the next STC transaction i. On power up, an internally
otherwise the LED will be dis- generated signal in the trans-
Bus timing points to note abled (see above, the first ceiver sets the 3 control
A. Data is transferred in Little low-to-high SCLK transition will registers:
Endian order. That is, the LSB cause the slave to disable the a) Control register 0:
on the first byte is transmitted LED in preparation for an STC • Bit 0: shutdown mode
first, and the MSB of the 2nd or transaction). • Bit 1: RX disabled
3rd byte is transmitted last. • Bit 2: LED disabled
This is illustrated in Figures G. The response from the slave is b) Control register 1:
6.17 and 6.18. carried on the SRDAT line, • Bit 0-7: SIR mode
which is multiplexed with RXD. c) Control register 2:
B. There are no gaps between The detector is (internally) dis- • Bit 0-7: Power at 100%
bytes in the command or re- abled by the slave during the level
sponse phases. response phase. This is to pre- d) At this point, the transceiver
vent stray IR transitions from is not ready. Before issuing
C. Each byte in the command and corrupting the SRDAT any commands, the controller
response phase is preceeded by bitstream. has to initialize the transceiver
a start bit on the SCLK line. by:
H. During a READ transaction, the • Hold SWDAT low
D. Data sampling and clocking: controller holds the SWDAT • Toggle SCLK for at least 30
i. Input data is sampled on the line low for 1 clock after send- cycles.
rising edge of SCLK ing the ADDR and INDX byte • The transceiver is now in STC
ii. Output data from the control- (or bytes, if using Extended In- mode and ready to accept STC
ler is clocked out on the falling dex addressing). transactions.
edge of SCLK
iii. Output data from the slave is It then holds it high and low
clocked out on the rising edge again 3 clocks before the end of
of SCLK the transaction. This is a sure
way for the transceiver to moni-
E. The first low-to-high transition tor the impending end of a
of SCLK indicates that an STC transaction, rather than by
transaction is pending. On re- counting pulses.
ceipt of his rising edge, the
slave will disable the LED. The
next SCLK low-to-high transi-
tion indicates the start cycle,
followed by the command
phase (which the controller
puts out on the SWDAT line).
The LED needs to be disabled
since TXD and SWDAT are mul-
tiplexed. If the LED were not
disabled, then the LED will
pulse according to the SWDAT
bitstream.
38
7. Design Guidelines
39
Sheetcast units can be identified
by the PCB with a lens molded to
form an integrated unit. The PCB
will only be visible at the bottom
for shielded options.
Storage Recommendations
Agilent transceivers are encapsu-
lated in standard industry mold
compounds. These compounds
are hygroscopic and the transceiv-
ers need to be kept in a dry
environment prior to use. Recom-
mended storage conditions are
<25°C storage temperature and
<60% relative humidity.
Figure 7.7 HSDL-36xx Front Mount Option with Guide Pins.
The transceivers are shipped in
moisture barrier bags. When
opened, moisture absorption be-
gins. If the units are exposed to
41
the environment beyond Table 7.1: Bake Time / Temperature Settings
48 hours, the units need to be
baked to drive out moisture, and Product Bake Time (hours) Bake Temperature (°C)
subsequently stored in a dry envi- (includes oven ramp-up)
ronment (with desiccant) if not HSDL-1xxx 12 ± 0.5 100 ± 5
mounted and reflowed.
HSDL-32xx ≥ 48 60 ±5
The transceivers are baked as part ≥4 100 ± 5
of the assembly process. They are
≥2 125 ± 5
then sealed in moisture barrier
bags, together with desiccant and ≥1 150 ± 5
a humidity indicator strip, prior to
HSDL-33xx ≥ 48 60 ± 5
shipping. The humidity indicator
strip will turn from blue to pink if ≥4 100 ± 5
the barrier bag has been breached ≥2 125 ± 5
and moisture has entered.
HSDL-36xx ≥ 48 60 ± 5
Delay opening the moisture bar- ≥4 100 ± 5
rier bags until just before reels are ≥2 125 ±5
to be loaded onto the pick and
place machine. Ensure that the
placement and reflow operation is When the part is heated, the mois- irons used in rework exceeding
carried out within 48 hours from ture vapor pressure increases the transceiver’s rated tempera-
opening the bags. rapidly. This causes a differential ture limit.
rate of expansion, which can
The bake time/temperature set- cause internal delamination of the More information can be found in
tings are derived from encapsulant from the die and/or the IPC/EIAJ J-Std-020A joint in-
experiments based on the IPC/ leadframe/substrate. Other fail- dustry standard.
EIAJ J-Std-020A joint industry ures include internal cracks that
standard, and are tabulated in do not extend to the package ex- Assembly Recommendations
Table 7.1. terior, wire bond damage
including breakage, separation of Stencil and Aperture Dimensions
Mechanism of Humidity-induced the bond from the die/leadframe A stencil of 0.152 mm (0.006") or
Failure or ball bond cratering. 0.127 mm (0.005") is recom-
As mentioned before, the molding mended for solder paste printing.
compound (encapsulant) is mois- More severe failures include ex- This ensures sufficient solder
ture permeable, by nature ternal package cracks. This is paste volume, adequate “brick”
hygroscopic. SMT reflow is ther- known as a “popcorn” failure as aspect ratio, and prevents inter-
mally more stressful on the device the internal stresses can cause the pad shorting. Due to the different
as soldering takes place on the package to bulge and then crack product sizes, please refer to the
same side of the PCB, unlike with an audible “pop”. In extreme respective product data sheets for
through hole devices where the cases, a portion of the die may the corresponding length/width
soldering occurs on the other side even protrude from the package. dimensions of the stencil open-
of the PCB, thus the PCB offers ings.
some thermal shielding. In gen- When the temperature ramp rate
eral, the SMT device also has a limit is exceeded or excessive The stencil length opening is
thinner layer of encapsulant be- heat is applied, the common fail- longer than the actual land area,
tween the (internal) chip ure modes seen are delamination to ensure that sufficient solder
mounting surface and the external and broken wires. Common paste is deposited. The stencil
mounting pad interface to the out- causes are poor temperature con- thickness cannot be increased as
side package surface. trol in ovens (e.g. overshoot at the this is restricted by the “brick”
maximum), or very hot soldering aspect ratio, and may cause other
42
problems, e.g. slumping. Agilent’s done. The key factor to successful It was found that the Siemens ma-
evaluations show that the solder pickup was found to be the type chine requires front lighting to
pulls into the joint, and there is no of vision used – front or back recognize all three transceiver
solder balling. lighting. The evaluation was based types. In the case of the Panasert,
on HSDL-2300, HSDL-3200 and Fuji and Universal machines, the
Solder Paste HSDL-3600. These are physically optimal vision methods are tabu-
Based on calculations and evalua- representative of the HSDL-2xxx, lated below. Although back
tions, the recommended solder HSDL-32xx and HSDL-36xx fami- lighting can be used for all three
paste volumes are tabulated in lies respectively (all three parts transceiver types, the results ob-
Table 7.2. This recommendation is were run on each machine). tained weren’t optimal.
based on either no-clean or aque-
ous solder cream types, typically The findings can serve as a guide. The findings are summarized in
60-65% solid content by volume. However, it is recommended to Table 7.3.
verify this during setup. More de-
Table 7.2 Recommended Solder tailed specifications on the pick
Paste Volume. and place machines can be ob-
tained from the respective
Product Solder paste volume/ manufacturers.
castellation
(mm3, ± 15%)
Table 7.3: Pick and Place Machine Vision Lighting vs. Transceiver Type.
HSDL-2xxx 0.36
HSDL-32xx 0.22 Brand Model Optimal Vision Method
HSDL-33xx 0.30 Front lighting Back lighting
43
Placement Alignment Tolerance and
Self-aligning
Y
The unit will self-align during
reflow provided sufficient solder
X
paste is applied, and the misalign-
θ
ment is within the tolerance
limits. The self-alignment takes
LAND, 50%
place with the aid of the liquid
solder surface tension. The self-
aligning feature is independent of Figure 7.9 Co-ordinate System for Placement (front mount, plan view).
board direction travel (assuming
convective reflow).
x-axis misalignment should not Figure 7.10 Recommended Transceiver Placement with Respect to Land Pattern.
exceed 0.2 mm (0.008") or half the
castellation width (whichever is
smaller). Figures 7.11 and 7.12
show the placement of the trans-
ceiver before reflow (x-axis
misalignment), and the position
after reflow and self-alignment.
Castellation Rotational ( θ )
Alignment Tolerance
The rotational alignment toler-
ance varies by product, and also
by front/top mount. The values
are summarized in Table 7.4. Re-
fer to the product data sheet for
the authoritative figures, as these
are subject to improvement and
change.
Figure 7.12 x-axis Misalignment Self-corrected after Reflow.
44
Table 7.4 Placement Alignment Tolerances.
Reflow Profile
Soldering IR transceivers, which tems, heating is 100% convective. purposes only. Please follow the
are lightweight miniature compo- The PC board and components respective reflow profile stated
nents, in a mass manufacturing are uniformly heated to achieve for every transceiver in their
environment can pose serious reliable solder connections. A respective data sheets. The
process problems. It is imperative convective thermal environment temperature profile is divided
that the recommended respective minimizes the thermal stresses into four process zones with four
reflow profiles be strictly adhered experienced by the component. ∆T/∆time temperature change
to for every transceiver. IR trans- rates. The ∆T/∆time temperature
ceivers can be reflow soldered Figure 7.13 is a straight-line change rates are detailed in Table
using a convective IR process. A representation of a nominal 7.5. The temperatures are
convective IR process uses temperature profile for a measured at the component to
middle to long infrared wave- convective reflow solder process. printed circuit (PC) board
lengths (approximately 4000 to All temperature and time values connections.
6200 nanometers). Approximately indicated are for illustration
65% of the energy is used to heat
the air in the reflow chamber MAX 245°C
230 R3 R4
(convective heating) and 35% of
T - TEMPERATURE (°C)
200
the energy directly heats the PC 183
170
R2
board and components (radiative 150
90 SEC MAX
125 ABOVE 183°C
heating). Some systems are forced R1 R5
100
hot air systems with a dual cham-
ber design, wherein the first 50
chamber has IR heaters to heat 25
the air which is then blown over 0 50 100 150 200 250 300
45
Table 7.5 Convective IR Reflow Process Zones, see Figure 7.13.
Nitrogen vs. air reflow EMI Immunity Power Supply Rejection (PSR)
All evaluations have been done EMI is radiated by switched mode Power supply noise can be
using air as the reflow environ- power supplies, dc/dc converters, coupled into the receiver through
ment. No problems have been external monitor I/O ports, power VCC or ground lines. Power supply
observed that require nitrogen ports, or clock generators. The ripple is a common example of
reflow, since the transceivers voltage of the EMI source and the power supply noise. Power Sup-
were first introduced (volume distance from the source deter- ply Rejection (PSR) refers to the
shipped is in the hundreds of mil- mine the strength of the EMI field module’s ability to tolerate power
lions of units). at any given point. EMI field supply noise, while maintaining
strength is measured in Volts/ error free operation. Proper PCB
Lead-free soldering process meter. A 200 V source placed one layout techniques and external
At time of this writing, Agilent meter from a detector represents component placement can ensure
Technologies’ transceivers are not a field strength of 200 V/m. Simi- successful operation with power
lead-free (Pb-free), nor are they larly, a 10V source at a distance supply noise present on VCC or
compatible with lead-free reflow of 5 cm also represents a field ground.
processes yet. Re-designs and strength of 200 V/m.
evaluations are in progress to Board Layout Recommendations
meet industry and regulatory/leg- An IrDA receiver’s EMI immunity The following recommendations
islative deadlines. is the maximum EMI field for PCB layout should provide
strength that the receiver can tol- sufficient EMI immunity and
7.2 ELECTRICAL CONSIDERATIONS erate while maintaining a bit error power supply rejection for error
rate (BER) < 10-8. All Agilent free IR link operation. Please see
Board Layout Guidelines transceivers are shipped with Agilent Application Note 1114,
All IR modules contain high gain, a metal shield as standard or “Infrared Transceiver PC Board
wide bandwidth circuits. Special option, and have EMI immu- Layout for Noise Immunity”.
attention must be paid when de- nity typically greater than
signing and laying out boards with 200 V/m. Thus the distance of the • Board Topology: A multi-layer
such components. As with many EMI source to the module must PC board is recommended so
analog components, efforts be increased so that the EMI field that a sufficient ground plane
should be made to separate the IR strength is less than 200 V/m at can be properly placed. Use
module from sources of electro- the transceiver module. one layer underneath and near
magnetic noise (EMI), and to
minimize power supply and
ground line noise. The effects of
EMI and power supply noise can
potentially reduce the sensitivity
of the receiver, resulting in re-
duced link distance. EMI can also EMI SOURCE
generate spurious signals on the
receiver RXD output when no IR
signal is being received. Evalua-
tion kits which demonstrate the m
V
recommended board layout for
each transceiver model are avail-
able, and can be obtained from
your local Agilent Component Figure 7.18 Noise and Distance Relationship.
Sales Representative. These kits
are further described on page 55.
47
the transceiver module as VCC,
and sandwich that layer be-
tween ground connected board
layers. For example in a four
layer board, layer 1 (top) con-
tains signal traces, layer 2
contains ground underneath the
TOP LAYER
module and surrounding areas, CONNECT THE METAL SHIELD AND MODULE
layer 3 contains traces, data GROUND PIN TO BOTTOM GROUND LAYER
48
Reference Layout
Reference schematics for each of
the transceiver families are shown
in the diagrams below along with
the recommended component val-
ues.
17 mm
27.2 mm
17.8 mm
17.8 mm
26.5 mm
7.4 mm
TOP LAYER BOTTOM LAYER 17.1 mm
BOTTOM LAYER
TOP LAYER
HSDL-36xx #007 Front Option HSDL-36xx #008 Top Option
49
17.2 mm
17.2 mm
21.5 mm
21.5 mm
HSDL-3201 HSDL-3202
HSDL-3201 HSDL-3202
Components Recommended Value Components Recommended Value
R1 0 Ω, ± 5%, 0.5 W R1 0 Ω, ± 5%, 0.5 W
CX1 1 µF, ± 20%, Tantalum CX1 1 µF, ± 20%, Tantalum
CX2 1 µF, ± 20%, Tantalum
27.1 mm
17.8 mm
7.6 mm
5.08
mm
17.1 mm BOTTOM LAYER
TOP LAYER
HSDL-3310
HSDL-3310
50
7.3 OPTICAL PORT DESIGN
To ensure IrDA compliance, there OPAQUE MATERIAL
IR TRANSPARENT
WINDOW
are constraints on the height and
width of the optical port. Mini-
mum dimensions ensure that the
IrDA cone angles are met, and
maximum dimensions ensure that
the effects of stray light are mini-
mized. Usually the smallest
possible window is wanted to
minimize the opening in the prod-
uct, and also due to the constraint
X OPAQUE
the product manufacturers have IR TRANSPARENT
MATERIAL
WINDOW
on space. The minimum-viewing K
angle that will ensure that the
IrDA cone angles are met without
vignetting is ±15 degrees. The
minimum size corresponds to a
Z
cone angle of 30 degrees, the A
Y MAX
window. ‘K’ is the distance of the 14
center of the LED lens from the 15 12
center of the photodiode lens. ‘D’ 10
X MIN
is the depth of the LED image in-
10 8
side the part, and ‘A’ is the half
6 Y MIN
angle of the cone with a IrDA
minimum of 15 degrees, and a 5 4
maximum of 30 degrees. 2
0 0
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
For all transceivers, ‘Z’ is the dis- MODULE DEPTH (z) mm MODULE DEPTH (z) mm
52
7.4 EYE SAFETY
Products compliant with or Permissible Exposures (MPEs). • Measure the actual AEL of the
merely interoperable under the For a set of conditions, the MPE system (refer to Agilent Appli-
Infrared Data Association (IrDA) is the maximum electromagnetic cation Note 1118: Compliance
specifications 1.3, are also re- radiation exposure that is deemed of Infrared communication
quired to be eye safe, and in some to be safe. A source that is products to IEC 825-1 and
geographical regions, compliant deemed to be safe to the naked CENELEC EN 60825-1).
with national, regional or interna- eye can turn harmful in the pres-
tional eye safety standards. ence of light collecting/focussing • Measure the actual AEL of the
Agilent’s IrDA transceivers are optics. Hence, for a given method system.
defined as eye safe based on com- of viewing a set of Accessible
pliance with the basic laser safety Emission Levels (AEL) is calcu- • Compare the AEL of the system
standard (IEC825-1), set by the lated. AEL represents the amount with the AEL Class 1 limit for
Technical Commission 76, Laser of electromagnetic emission that both pulsed emission and con-
Equipment (TC76) of the Interna- is accessible by a human eye. AEL tinuous emission.
tional Electrotechnical class limits are usually expressed
Commission (IEC). The European in Watts or Joules. AEL is depen- • Consider operating conditions
Committee for Electrotechnical dent on the system’s light output which may cause a single fault.
Standardization (CENELAC) has power, wavelength, apparent If a single fault condition can
also adopted this as EN 60825-1. source size and pulse or exposure cause increased emission,
duration. make sure that the AEL classifi-
Infrared, visible or ultraviolet cation takes this into account.
electromagnetic radiation, in suffi- System classification as eye safe
cient concentrations, can cause or not is done in the following The measurement distance, r, and
damage to the human eye. To steps: measurement aperture diameter,
date, light-emitting diodes (LEDs), d, are derived from apparent
such as the ones used in IrDA • Based on MPE in IEC825-1, cal- source size, s, as shown in Table
transceivers, have not been found culate the AEL Class 1 limit. 7.7. Apparent source size is how
to cause any damage. But with the AEL class 1 limits for IrDA sys- large the source appears (not the
increase in LED efficiency and tems emitting short infrared actual size of the emitter chip or
power with higher data rates and pulses or continuous infrared the molded lens diameter).
link distances, it is critical to keep light is shown in Table 7.8 be-
a watchful eye on this parameter. low for different source sizes.
Being a market leader in develop-
ing new transceivers, Agilent
evaluates compliance with eye
safety standards for every trans-
ceiver in the market. Agilent Table 7.7
transceivers are designed to com-
ply with the eye safety standards Aperture Diameter (d) Measurement Distance (r)
under all conditions.
Fixed at 7.0 millimeters 100 (s/10 + 0.0046) 0.5 millimeters
The human eye can withstand
only a finite amount of radiation, 7 (s/10 + 0.0046)-0.5 millimeters Fixed at 100 millimeters
beyond which it can be irrevers-
ibly damaged. With this
information, damage threshold
levels have been calculated over a
wide range of wavelengths and
other relevant parameters. Given
the damage threshold data, apply-
ing a safety factor enables the
calculation of a set of Maximum
53
IEC 825-1 and EN 60825-1 regulations mention several AEL class limits.
For source wavelength λ = 700 - 1050 nm, the AEL class 1 limit is calcu-
lated as:
54
8. Evaluation and
Developer Kits
55
56
9. Beyond IrDA
57
The series, or “stacked” connec- V+
For data rates less than Table 9.1 Link distances achievable for various transceiver and emitter
115.2 kbps, transmitting signals combinations.
with less than 20% duty cycle can
help increase link distance. The Transmitting LED Pulsed Total LED Typical
receiver threshold is determined Devices Drive Current typical intensity on-axis link
by average power, so a lower duty (Ipeak), mA on-axis, mW/Sr distance, meters
cycle will reduce average power HSDL-1001 250 100 1.6
and thus increase the receiver’s
sensitivity. Also, to minimize HSDL-1001 500 200 2.2
power consumption and increase HSDL-1001 and 250 each 290 2.7
LED life, it is recommended to HSDL-4230
use the minimum pulse width al- HSDL-1001 and 500 each 950 4.9
lowed by IrDA, which is 1.6 µs. HSDL-4230
HSDL-1001 and 500 each 3200 8.9
four HSDL-4230s
58
9.2 REMOTE CONTROL APPLICATION
Before implementing Consumer
IR (remote control) modes in
TxD
IrDA enabled devices, it is essen-
tial to understand the differences
in the current implementations of
CIR and IrDA. Table 9.2 summa-
VLED rizes some of the key points.
R1 C1 C2
ADDITIONAL
LED
In transmit only mode, the IrDA
module is used to transmit in a
CIR mode to a CIR receiver. The
Q1
main influencing factor is the dif-
R2 ference in operating wavelengths.
Please refer to Figure 9.3. The op-
erating wavelengths were set
apart to reduce interference ef-
fects. This fact is important when
Figure 9.3 External Parallel LED with Switching Transistor. using a CIR detector with an IR
filter, where the link distance
might be reduced based on the
cut-off wavelength of the filter.
This would lead to attenuation of
the IR signal. IrDA is based on a
base-band modulation scheme
supporting data rates ranging
from 2.4 to 115 kbps. This also
Table 9.2: Differences between IrDA and RC encompasses the sub-carrier fre-
quency of RC, which ranges from
IrDA RC 30 – 70 kHz. Therefore modulation
is not of concern.
Wavelength (nm) 850 – 900 900 – 950
In the receive mode, the RC
Modulation Baseband ASK
modulation has a major role to
Data Rate (kbps) ~ 115 ~2 play. An RC detector is tuned to
detect RC sub-carrier frequencies.
Link Distance (m) ~1m ~8m Therefore, an IrDA receiver will
be less sensitive as compared to
an RC detector at the RC opera-
tional point. Moreover, the IrDA
transceiver was designed for a
link distance of 1 m. In CIR mode,
the link distance will come down
to IrDA link distance levels. In
most cases the IrDA module will
be used in CIR transmit only
mode as in PDAs and in a bi-direc-
tional mode.
59
TxD Interface
In the case of MPUs or ASICs that
assign both IrDA and CIR transmit MPU OR SEPARATED ASIC
functions to the same pin, the
connection is the same as in the IrDA SIGNAL
OUT PIN
IrDA case. If separate output driv- IrDA TRANSMITTING
CIRCUIT
ing pins are used, a logical OR Tx IrDA MODULE
gate should be used as shown in (HSDL-3201)
60
10. Companion Circuits
Introduction
With ever-increasing functionality NDS351. R1 determines the Example values:
in handheld devices, IR amount of current flowing Detector HSDL-5420/5400,
transceivers are being coupled through the LED and the capaci- R1 = 10 kΩ (I-V gain stage), R2
with discrete emitters and tors C1 and C2 are for filtering the and R3 (non-inverting gain), R4 =
detectors, such as Agilent’s supply. R2 is a 50 ohm terminator 100 kΩ, R5 = 1 kΩ, C2 = 10 pF. R4
HSDL-4xxx emitters and in case of pulses being fed from a and R5 define the hysteresis volt-
HSDL-5xxx detectors, to achieve pulse generator that requires a 50 age.
higher link distances and to ohm termination. As an example,
perform other IR functions not for a VLED = 3.2 V, R1 = 4.7 ohms,
compliant with IrDA. The section, transistor on resistance = 0.3
Beyond IrDA, explored such ohms and diode on resistance =
application scenarios and 1.7 ohms, the LED current can be
implementation. The following calculated to be around 250 mA. It
section highlights circuit can be seen from the data sheet
configurations for driving discrete that this translates to an intensity
emitters and detectors. The echo of 375 mW/Sr. With a 4 µW/cm2
cancellation circuit discussed detector, the link distance can be
below is used to nullify the signal computed to 3 m.
seen by the receiver residing
adjacent to the transmitter while 10.2 RECEIVER CIRCUITS
the transmitter transmits in a Discrete detectors are used in
transceiver. many cases as additional sensors.
The circuit configuration will con-
10.1 LED DRIVER CIRCUITS sist of an I-V stage, gain and a
In many cases an additional LED comparator. A few of these varia-
is added to achieve an increase in tions are listed below.
light intensity and therefore link
distance. The circuit below is a Configuration A: Op-amp
reference LED driver circuit using configuration using a
Agilent’s HSDL-4230 emitter. combination of resistors and op-
amps to realize the desired gain
The switching transistor Q1 used and comparator function.
is a Fairchild FET, Si4532DY or
VLED Vdd
R1 C1 C2
HSDL4230
R4
HSDL-54xx
TxD Q1
R2 + C2
C1 +
– R5 OUT
–
R1
R2 +
R3 VREF –
Figure 10.1 LED Driver Circuit.
61
Configuration B: Op-amp, Vdd
stage.
+
Example values: C1 3
Detector HSDL-5420/5400, – 1 VOUT
2
R1 = 10 kΩ (I-V gain stage), R1
TLC3702
R2 and R3 (non-inverting gain). R2 +
R3 VREF
TLC3702 is a comparator without –
hysteresis.
Example values:
Detector HSDL-5420/5400,
3
R1 = 10 kΩ. TLC3702 is a com- C1 VOUT
1
parator without hysteresis. 2
TLC3702
R1 +
VREF –
Some applications require a fixed
pulse width pulse output during
light incident. A configuration us-
ing a monostable multivibrator is
shown in Figure 10.5 that Figure 10.4 Receiver Circuit - Configuration C.
achieves the same.
CLR(3) 1CEXT(14)
100 K
VCC
62
10.3 ECHO CANCELLATION CIRCUIT
The transceiver design is such In the event that this must be
that the receiver sees the trans- implemented on hardware, the
mitting light of the transmitter following reference circuit can be
and generates an echo. This can used. SN74LS221 is a monostable
be nullified by using an echo can- multivibrator, which generates a
cellation circuitry. Agilent one shot pulse while transmitting.
transceivers inherently do not With the right choice of external
have an echo cancellation cir- components, this one shot pulse
cuitry for the following reason. An can be made to have the same
echo of a transmitted pulse on the pulse width as that of the echo
receiver side serves as a good seen by the receiver and therefore
self-check of the transmitter func- nullify it. However, it is always
tionality. In the application, recommended to disable the re-
however, echoes on the receiver ceiver interrupts in the software
side while transmitting might while transmitting, as it is a less
cause hang-ups of the expensive and easier alternative.
microcontroller. Generally, this is
avoided by disabling all receiver
interrupts while transmitting.
VCC
430 K
SN74LS221 HSDL-7001 MICROCONTROLLER
1REXT(15) 1B(2)
IR_TxD
27 pF
TxD SDO
CEXT(14) CLR(3)
HSDL-1001
RCV SDI
1Q(13) 1A(1)
TxD
VCC A0 IO1
100 K A1 IO2
74HC32
A2 IO3
IR_RCV
RxD CLK_SEL
POWERDN
OSCIN
F = 3.6864 MHz PULSEMOD
15 pF 10
MOHM NRST
OSCOUT
VCC
15 pF
100 K
10 K
0.1 µF
63
64
Appendix
Basic Radiometry
Definitions:
The radiant flux is the mean radi- i.e., the detector photo current
ant energy transferred by the light can be estimated from the irra-
radiation from a source and is the diance as:
energy (or power, which is energy
Iphoto (mA) = Irradiance (EI mW/cm2) • effective
per unit time) quantity. For a
detector area (cm2) • Detector sensitivity (mA/mW)
point source of light, the radiant
intensity describes the energy
65
If a receiver lens were to be used
to collect more light, then the de-
tector area is either the physical
detector area multiplied by the
lens magnification OR the en-
trance pupil area of the lens
(whichever is smaller). Quite
often in the case of IrDA compo-
nents, it is essentially the lens that
defines the area of the receiver.
Table A.1
66
www.semiconductor.agilent.com
Data subject to change.
Copyright © 2001 Agilent Technologies, Inc.
May 25, 2001
Replaces 5965-8531E
5988-1772EN