Jul
04
fig1Engineers sometimes joke that a cable is a source of potential trouble connecting two other sources of potential trouble. Now, with low-cost, easy-to-use RF systems on chips, you can eliminate that intervening cable in many limited-distance applications. These applications include situations in which it would just be nice to avoid a cable, such as between a handheld control box and the unit it is managing, and those in which a cable would defeat the application, such as with a remote-keyless-entry (RKE) lock for a car or house. In many ways, though, cheap and easy RF links are enabling new applications that are sometimes possible, but usually impractical, with wired links.

For example, you may want a monitor that alerts you when a car pulls into your driveway. You could hardwire the monitor, but you'd need to bury the low-voltage cable and provide it with an entry conduit into your house. And you might even need to get a building-department permit. In contrast, you can set up a wireless link in a few minutes with no headaches. Similarly, wireless meter reading; energy management; and heating, ventilation, and air conditioning allow you to implement systems that until recently have been too costly to build new or to retrofit to existing structures.

Several forces drive wireless links. First, there's end-user convenience. Mass-market applications, such as ubiquitous infrared TV remote control, have created expectations that are hard to dismiss once you have been spoiled by the cable-free freedom that such applications provide. At the same time, IC vendors have pushed their processes, products, and clocks into the multimegahertz and even the gigahertz range, so the frequency bands you need for RF are a natural part of their components' operating range. These ICs can often function without special external circuit elements for frequency upconversion and downconversion. fig2 You need no longer assemble your RF link from a handful of discrete—and sometimes pesky—active and passive components. Even better, these IC-based links consume little power and operate in bands for which no individual licensing and few regulatory requirements exist. As long as end users stay within the designated frequencies and power levels, they have no paperwork to deal with. But don't think that effectively using these latest generation RF ICs for dedicated, point-to-point links is trivial. You need to study numerous issues if you make a commitment, because the various RF ICs differ in many related parameters, such as frequency, completeness, and overall performance. Reach out and touch the receiver Your first decision involves the range you need to reliably reach. At the milliwatt power levels of these ICs, which include the final-stage power amplifier, you can reach at least several meters and as much as 100m or more under favorable conditions. If you need longer range, you could add an external booster RF stage. However, adding this stage introduces problems, including regulatory issues, power-consumption concerns, additional components and cost, and signal overload at the receiver when you move closer. (And you could use a receiver with a wide-ranging automatic gain, which adds more complexity.) Another alternative is to use a directional antenna. Again, this simple approach is often impractical for several reasons. It increases effective radiated power (ERP) in the target direction, which you usually must keep below some regulatory limit. You can, though, use a directional antenna at the receiver without regulatory concerns, but then you restrict the user's freedom of movement . You also need to look at the trade-off between a simple, unidirectional, simplex link and a bidirectional, half-duplex link. Many applications, such as RF identification (RFID) and RKE, need only a simplex link but benefit from a two-way signal path. A simplex link gives you no confirmation that the system received the signal. If you're locking or unlocking your car, the car horn gives you audible feedback, and you're all set. But if you are setting an alarm system as you leave a building, you may want either confirmation that the system properly received and implemented your arming signal or feedback about why it did, such as when an alarm zone isn't set properly. The one-way link also restricts some security algorithms (see sidebar "Proper security lets you rest better"). Although a half-duplex system requires more components than a simplex one, it luckily involves little extra design complexity on your part in these low-power links. The only common system element is the antenna, and, because the link is not full-duplex, the receiver's front end need not to be active while the transmitter is on. Therefore, your design need not filter and separate the receiving and transmitting bands, and the transmitter power-on state doesn't saturate the receiver front end. Most of these low-power, short-distance RF links operate with low or sporadic duty cycles and short messages, so you calculate power consumption at the transmitter differently from at the receiver, which must always be at least in a standby, listening, or polling mode. You use a typical RKE unit several times a day but only for a few milliseconds each time, so battery life of one to two years is practical. Although each application is different, most target an operating life of at least two to three years from a battery. Note that if your application involves periodic messages, such as an entry point in an alarmed system that needs to tickle its central controller to confirm that all is still OK, then transmitter power consumption and operating voltage are more critical. You have to weigh that aspect of your design and perhaps go to larger capacity cells or higher operating voltages. Also, be sure to consider any microcontroller's power needs in your power budget. The inherent nature of wireless links is that you use them in casual, nonfixed-location applications; thus they are subject to temperature extremes, rough handling, and abuse. In these cases, the highly integrated approach gives you a distinct advantage, because every component you eliminate not only contributes to greater mean time between failures, but also keeps the link operating range at its nominal value. By their nature, RF circuits are subject to detuning, drift, and other sensitivities, and it's likely that the range you can guarantee over the long term will decrease dramatically with the amount of inevitable user abuse and environmental stress. You need to life-test your product under realistic operating conditions so you don't have irate users calling you in 12 to 18 months to complain that their garage-door-opener range is drastically shrinking or that the link operates erratically. The design and implementation of your receiver are more difficult than those of the transmitter for several reasons. The transmitter has a deterministic task: taking a known signal, encoding and modulating it onto a known carrier only on demand by the user, and providing enough RF power. In sharp contrast, the receiver has the unenviable signal-processing task of always being alert or polling while tuning for a distorted, noise-laden signal in the spectrum. It needs to extricate this signal despite unfavorable SNR, interference, and component-parameter drift. For these reasons and others, many vendors of RF ICs are concentrating on the receiver end of the link, because that's where they add the most value, implement circuit techniques that are most beneficial to you, and reduce most headaches for design engineers. This difference between transmitter and receiver, though, shouldn't lull you into complacency about the transmitter implementation. Unless you are confident of your ability to develop and qualify your own design, you still need to determine whether the receiver vendor offers a matching transmitter or a reference design that you can use if you want to minimize your risk. You should also consider the frequency that fits your application and market. In general, lower frequency designs are easier to lay out and debug, but these designs have several drawbacks. They require larger passive components (some passives are inevitable), and they operate in more crowded bands. The trend for RF links in the last few years has been to migrate from the 200- to 300-MHz spectrum to the 300- to 400-MHz region and even as high as 900 MHz. Units are even available for the 2.4-GHz ISM (industrial, scientific, and medical) band. Note that the virtue of 2.4-GHz operation is regulatory as much as technical. Its operating frequencies and constraints are nearly uniform throughout the world, so you can use one design—or minor variations of that design—everywhere. Diverse architectures to the rescue In the world of receivers, the venerable superheterodyne architecture that EH Armstrong developed in the 1930s is the predominant design for most applications. The superhet converts any received carrier to a fixed IF, which the receiver then demodulates and processes as needed. This excellent architecture, which engineers have refined over the many years of its existence, simultaneously solves several conflicting problems. (Only in recent years has a direct-conversion, zero-IF architecture become practical for some applications.) Unfortunately, the full superhet is too much of a good thing for low-cost, low-power receivers, which target a single-channel, single-modulation signal. RF-IC vendors thus strip whatever they don't need from the receiver, based on the fairly limited flexibility that the receiver needs in this limited-function application. In some cases, they have even abandoned the superhet for simpler designs, again with limited functions and optimized for one task only. Ironically, one of these designs is the super-regenerative receiver, which Armstrong also developed but before he did the superhet. (He soon found the operating limitations of the super-regen, despite its simplicity, too severe for general-purpose use.) As with most components and systems, you must be aware of some element of specmanship. Especially true of receiver-sensitivity specifications, many legitimate and difficult-to-compare ways exist to specify the maximum data rate, such as determining with which bit-error-rate (BER) value, input bandwidth, modulation factors, and duty cycle you are taking the measurements. You need to question vendors about the test setup they use if you are running near the maximum potential of the link.

A good example of what you can get today is the Micrel MICRF receiver family, which comprises 418- to 433-MHz- and 900-MHz-band devices. The lower band, 16-pin MICRF002 and eight-pin MICRF022 and higher band, but otherwise similar, 16-pin MICRF003 and eight-pin MICRF033 use an architecture that eliminates the need for manual tuning of each unit (figure-a 1). These superhet receivers, which target on/off keying, or amplitude shift keying (ASK), require few external components: a 47-nF capacitor, a 4.7-µF capacitor, and an inexpensive, 6- to 7-MHz ceramic resonator. These ICs need no filters or inductors.

The higher frequency, $4.50 (1000) MICRF003/033 supports data rates as fast as 20 kbps, and you provide the data from a CMOS-logic interface. The IC consumes 4 mA from a 5V supply in normal operation and one-hundredth of that value in shutdown mode. You can set the receiver to periodically wake up and check for incoming signals; this duty-cycle-oriented operation results in an overall dissipation that is near the shutdown value. Texas Instruments recently introduced its TRF6900 transceiver for 850- to 950-MHz operation and the associated MSP430 ultra-low-power, 16-bit µC for burst-mode operation and low power consumption. The fairly complex 48-pin transceiver supports FM, FSK, on/off keying, and ASK operation and produces as much as 6-dBm output power from a 2.2 to 3.6V supply. Within this IC is a channel-hopping, 24-bit, direct-digital synthesizer with an 11-bit DAC and 230-Hz resolution; a reference oscillator and a VCO; a received-signal-strength-indicator (RSSI) block; and a serial interface to the µC. The IC lets you send data as fast as 200 kbps, and you can selectively turn its internal blocks on and off to minimize power consumption. To facilitate this technique, the blocks within the IC turn on and off within 500 msec, and you can get standby power consumption as low as microamps. Along with the detailed data sheet, TI offers application notes, µC- and PC-based software, a reference design, a bill of materials, and RF-layout files. To complete your RF portion of the design, you need a UHF filter, an IF filter, and a crystal, plus a few resistors, capacitors, and inductors, which cost $1 to $5, depending on the application. Mitel is extending its transmitter and receiver line with ICs such as the KESRX05, a PLL-controlled receiver upgrade of its older KESRX04 unit, which locks to a reference crystal via an internal divide-by-64 prescaler. This 260- to 470-MHz receiver uses ASK modulation and allows data rates as fast as 100 kbps, although the typical data rate is less than 5 kbps. Sensitivity of the receiver is –106 to –109 dBm at 433 MHz at a 2-kbps data rate and 50% duty cycle. Mitel has also redesigned the receiver with an antijamming circuit that rejects adjacent-channel interference at 433.92 MHz, such as that from nearby amateur-radio repeater signals. This feature lets you use a low-cost LC front-end filter instead of a slightly more costly SAW filter. The redesigned receiver also extends the operating temperature from 85°C for its predecessor to 105°C; this extension is an important factor in many practical installations in which ambient temperature plus impinging sunlight can push the IC temperature quite high. Infineon Technologies (formerly, Siemens Components) is also extending its 400-MHz products to the higher bands. The company offers the TDA5100 ASK/FSK transmitter for both the 868- to 870-MHz and the 433- to 435-MHz bands and the complementary TDA5200 ASK superhet receiver for European markets. Infineon also offers the similar TDA5101 and TDA5251, which target the US market, for the 315- to 345-MHz band. The transmitter is a 16-pin TSSOP IC that costs 85 cents (50,000) and operates from a 2.1 to 4V supply. It integrates a VCO, PLL, crystal oscillator, supply-rail regulator, and power amplifier. You use the transmitter with a µC operating from the same clock crystal as the transmitter. The receiver uses a 5V supply and includes a VCO, a PLL, a limiter, filters, and a data comparator; the receiver's sensitivity is 1 µV. The $1.50 (50,000) IC comes in a 28-pin TSSOP. Motorola offers some wideband ICs that you can use, along with a baseband signal processor, for your RF channel. The company's MC13146 dc to 1.8-GHz transmitter pumps 10-dBm output at a 1-dB compression point. It includes a linear mixer, VCO, dual-modulus prescaler, and power amplifier. Operating voltage is 2.7 to 6.5V, with current drain of less than 25 mA at 1.8 GHz; in power-down mode, consumption drops to 60 µA. The matching MC13145 receiver has a low-noise amplifier, two mixers, a VCO, a dual-modulus prescaler, an IF amplifier and limiter, an RSSI circuit, and an inductorless FM/FSK demodulator. The transmitter is available as a 24-pin LQFP device; the receiver is a 48-pin LQFP IC. A transceiver IC from Chipcon Components AS is noteworthy because of its relatively high output power and consequent range. The CC400 FSK for 300- to 500-MHz ISM applications provides 9.6-kbps, half-duplex operation to 2000m (Figure 2). The output-power range spans –5 to +14 dBm, which you can program in 1-dB steps; receiver sensitivity is –112 dBm at 1.2 kbps and a 10–3 BER. The 28-pin SSOP IC operates from a 2.7 to 3.3V supply with current requirements of 18 mA with the receiver on full-time and 180-µA average operating current using receiver polling. The vendor also supplies a development kit that includes PC-con urable radio modules, cables and connectors, and PC-based software. RF Micro Devices recently introduced a spread-spectrum transmitter- and receiver-IC pair for the 902- to 928-MHz ISM band. The RF2908 includes a double-conversion receiver, a quadrature modulator, dual IF amplifiers, filters, data comparators, and a PLL synthesizer. This 68-pin LQFP IC costs $5.25 (10,000). The matching RF2909 supports direct modulation control, and you can set the output-power level of this 24-pin SSOP from 1 to 80 mW; it costs $2.35 (10,000). Also for 900-MHz use, Level One has the LXT 810, a 32-ksps spread-spectrum transceiver with 100m range (1 to 100 mW output), and which needs no tuning, adjustments, or filters. A complete design with this IC uses under 30 discrete components. If you can consider hybrids instead of just ICs, you'll find that vendors such as RF Monolithics offer some devices that are only slightly larger than a packaged IC yet reduce your design challenge to absolute simplicity. The product line includes transmitters, receivers, and transceivers for 433- and 916-MHz operation and is certified for use in different regions of the world, depending on the model. For example, the company's $15.20 (1000) 3V RX6000 amplifier-sequenced-hybrid (ASH) receiver supports data rates to 115.2 kbps using an architecture with a wide-dynamic-range logarithmic detector, a data slicer, digital AGC, two stages of SAW filtering for out-of-band rejection, and stability with almost any antenna impedance (Figure 3). This stability factor is especially important in many RF-link applications, because the actual impedance of an antenna changes as its orientation and proximity to nearby conducting surfaces vary. The ASH-receiver design maximizes the channel-capture effect, whereby the strongest signal in the RF field dominates and fully captures the receiver. Meanwhile, the receiver ignores undesirable, weaker signals, which thereby do not degrade demodulation BER performance. (Although these characteristics may seem Darwinian—reflecting the laws of the RF jungle—they make for a good link!) The material in provides an informative discussion of the unique ASH architecture and its features as well as the many critical design and application issues beyond the vendor's parts. You can soon expect a full-duplex transceiver IC, which operates from 220 to 928 MHz, from Philsar Electronics. This multipurpose RF device in a 32-pin LQFP (parallel version) or 20-pin TSSOP (serial) supports data rates to 10 kbps and includes a PLL, VCO, and crystal oscillator, among other key functions. It requires approximately 10 noncritical external passive components and uses an active-filter tuning design for maximum performance. The 3V IC requires 2.5 mA in receiving mode (1 µA in standby) and 6 mA in transmitting mode and produces an RF-output level of –12 dBm with –115-dBm sensitivity at 1k sample/sec. Moving to the 2.4-GHz ISM band, National Semiconductor has the LMX3162 transceiver, which gives you an entry point for home and small-office LANs (Figure 4). The receiver within has –93-dBm RF sensitivity and RSSI sensitivity to –100 dBm. An 85-db-gain IF strip follows this front end; the front end's system-noise  is 6.5 dB. You can operate this 48-pin IC from an unregulated 3 to 5.5V supply. Within the $5.60 (1000) single-conversion transceiver are a 1.3-GHz PLL that both the transmitting and the receiving functions share, a 2.4-GHz frequency doubler, a low-noise amplifier, buffers, a mixer, the associated receiving-channel functions, and the basic transmitting-signal path. Working with a system-integrator partner, RTX Telecom A/S, National Semiconductor also provides you with reference designs that include schematics, layouts, software, and documentation. Also for 2.4 GHz, Digital Wireless has a complete modem with 100-mW output power that comes on a 9-mm-thick housing that measures less than 46X80 cm . The WIT2410 3.3V modem supports data rates to 115 kbps as a frequency-hopping, spread-spectrum unit. Whichever vendors you look at, be sure to assess how complete their ICs are, because completeness, like beauty, is in the eye of the beholder. Now, vendors with devices that are "even more complete" are replacing some RF ICs that manufacturers last year touted as "complete"—something of a contradiction! Completeness really indicates how many and what type of passive and active components you need to add to the IC to finish the design. Having more external components is not necessarily a bad thing, because it usually indicates the amount of flexibility the IC gives you in choosing frequency, data rates, trade-offs in bandwidth and loop response, and other important transmitter and receiver specifications. You have to decide whether a standard IC design that constrains you satisfies your application or whether you need something that's a bit special and that mandates more external circuitry for added flexibility. Keep in mind that the more complete a device is, the fewer regulatory tests you need to do to certify both undesirable EMI from your circuitry and susceptibility to EMI of your circuitry. Finally, don't consider RF ICs without assessing whether an infrared link would possibly fit the application. Infrared links support distances as far as a 1m, with 1-Mbps data rates. The vice of these links is also their virtue: They operate only over line of sight, and the transmitter and receiver must roughly align with each other. Within these constraints, you can get a cost-effective, low-power, easy-to-design-in link. You can also get software for all the protocol levels from basic hardware up and some degree of standardization via the Infrared Data Association for both hardware components and interoperability, factors that RF links generally lack.
It's a Rodney Dangerfield situation When you consider that the antenna in a wireless link consumes no power and costs almost nothing, it's no surprise that this vital element gets so little respect in the design process. Yet, antenna design affects the range you can achieve, as well as the packaging of your product. In most of these applications, the antenna must be entirely within the enclosure, so there is no danger of its getting bent, broken, or lost. It's easier to achieve this goal if you give the antenna design some consideration early in the design cycle. At the frequencies at which these links operate—several hundred megahertz and higher—you can build a relatively efficient antenna in a roughly 2- to 4-in. (5- to 10-cm) space as part of the pc board. The antenna can be a monopole, which is usually a quarter-wavelength long (a shorter antenna results in reduced range); a helical coil; or a simple loop. Each offers trade-offs in overall size, board area, and potential range. Also, although you probably want a nondirectional antenna, every antenna has some relative peaks and valleys in its radiation pattern, so you also have to keep that factor in mind. A directional antenna at one or both link ends has other practical drawbacks. You can't assume that the antenna points toward the complementary end of the RF link. This situation may be true for some applications, but for most, such as keyless locks, RF identification (RFID), security-system points, and operator remote controls, you have to assume a random and changing orientation between the transmitter and the receiver. You can assess flat antennas and their various geometries using 1, which compares attributes of patch, slot, ring, spiral, bow-tie, and other configurations. Also check out 2 which, despite its title, is actually a good, practical source of information on using the vendor's components, general design considerations, and antennas; it also has a good bibliography and references.
REFERENCE
  1. Deal, WR, Y Qian, T Itoh, and V Radisic, "Planar integrated antenna technology," Microwave Journal, July 1999. (NOTE: To reach the above link, Microwave Journal requires that you be a registered user of its site. If you are not, go to the Microwave Journal home page, register, then re-try the above link.)
  2. Yestrebsky, Tom, "MICRF001 Theory of Operation," Micrel Application Note 22, http://www.micrel.com/.
Proper security lets you rest better Most RF-based links need to consider issues of security and user authentication. When you use the link as a keyless lock, for example, you need to ensure that the signal is from a legitimate user. Because it's fairly easy to eavesdrop on a link and record any user-code pattern for later playback, you also need to change the code each time you use the link, so that this recorded version is useless for spoofing the system. Even if you are not worried about security because you have a casual application, such as a remote control for a media-room music system, you still need to make sure that noise and stray RF signals don't falsely trigger the link.The bad news is that the mathematical basis for encoding data streams is complex. Don't despair, though; there is good news here, too. The actual circuitry for basic encoding and validation based on the theories is relatively simple, and advances in digital circuitry now mean that you can get fairly sophisticated algorithms embedded in ICs that implement inexpensive, easy-to-use, and highly secure code schemes.The simplest techniques use a rolling code generator, which changes the security pattern each time a user activates the link, following a starting seed code. The transmitter sends its code, and the receiver computes its own version and compares the two. Both the transmitter and receiver must be aware of this starting seed and the rolling algorithm. This method is an effective way to provide your single-direction link with a reasonably high degree of security. For more protection, you need a two-way link. The user sends a coded signal, and the receiver executes an internal algorithm based on this signal and responds to the originator. The originator then compares the received signal with what it would expect to see returned from the target and sends an OK or a not-OK signal. Unlike basic one-way coding, this more complex challenge-and-response scheme can defeat many sophisticated break-in techniques. You also have to deal with the practical issue of replacing a lost or malfunctioning transmitter or receiver, so the security scheme needs a learning algorithm that does not require the end user to deal with the IC or remote-keyless-entry (RKE) vendor in the field. Despite the underlying complexities of these algorithms, manufacturers are routinely using them in low-cost links, such as car and door wireless keys. For example, the HCS412 code-hopping encoder and transponder from Microchip Technology puts a 64-bit encoder key, a bidirectional challenge-and-response protocol, and code-hopping encryption into an eight-pin package (Figure A). This IC can function as the security core of a larger wireless key or can become a batteryless transponder when the battery fails. Its internal EEPROM is set at the factory with an encoder key, serial number, and configuration data and is inaccessible at any pin for additional security. The embedded technology is also available from the vendor without the associated transponder circuitry for designs in which you have your own preferred RF circuitry but need the encoder and decoder security functions. IT is a useful discussion of the characteristics and practical advantages and disadvantages of various security techniques with respect to secure learning systems.
REFERENCE
  1. "Secure Learning RKE systems using Keeloq encoders," Technical Brief TB001, Microchip Technology Inc, http://www.microchip.com/.
For more information...
For information on subjects discussed in this article, use EDN's InfoAccess service . When you contact any of the following manufacturers directly, please let them know you read about their products in EDN.
Chipcon Components AS http://www.chipcon.com/ Circle No.323 Digital Wireless http://www.digital-wireless.com/ Circle No. 324 Infineon Technologies http://www.infineon.com/ Circle No. 325
Level One http://www.level1.com/ Circle No. 326 Micrel http://www.micrel.com/ Circle No. 327 Microchip Technology http://www.microchip.com/ Circle No. 328
Mitel http://www.mitelsemi.com/ Circle No.329 Motorola http://www.motorola.com/ Circle No. 330 National Semiconductor http://www.national.com/ Circle No. 331
Philsar Electronics http://www.philsar.com/ Circle No. 332 RF Micro Devices http://www.rfmd.com/ Circle No. 333 RF Monolithics http://www.rfm.com/ Circle No. 334
RTX Telecom A/S http://www.rtx.dk/ Circle No. 335 Texas Instruments http://www.ti.com/ Circle No. 336

Tags: , , , , , ,

Leave a Reply

© Copyright 2009 Unicom Guomai Communications Co,.Lltd All Rights Reserved