Escolar Documentos
Profissional Documentos
Cultura Documentos
purposes.
www.anaren.com/AIR air@anaren.com
Abstract
This presentation serves as an overview of the parameters and considerations a designer would use to select a low-power wireless (LPRF) solution.
It also highlights the devices and tools from the Anaren Integrated Radio (AIR) module product line and how they fit in a typical LPW design.
Outline
RF definitions Radio modulation schemes Radio frequency spectrum Stack considerations Network types Development tools and EVMs
RF definitions
RF power definitions
dBm power referred to
1 mW PdBm=10log(P/1mW)
0dBm = 1mW 20 dBm = 100mW 30 dBm = 1W
Example:
-110dBm = 1E-11mW = 0.00001nW Power = V*V / R: 50 W load : -110dBm is 0.7uV
= dBm
Rule of thumb:
6dB increase => twice the range 3dB increase => roughly doubles the dbm power
dBm to Watt
About dBm and W Voltage Ratio Power Ratio Voltage Level Power Level aV = 20 log (P2/P1) aP = 10 log (P2/P1) V = 20 log (V/1V) P = 10 log (P/1mW) [aV] = dB [aP] = dB [V] = dBV [P] = dBm
Example: 25mW is the maximum allowed radiated (transmitted) power in the EU SRD band P = 10 log (25mW/1mW) = 10 * 1.39794 dBm ~ 14 dBm
Sensitivity
Lowest input power with acceptable link quality (typically 1% PER)
Deviation/Separation
Frequency offset between a logic 0 and 1 using FSK modulation scheme
Blocking/selectivity
How well a chip works in an environment with interference on the same channel/Frequency.
Low Frequency Information Signal (Intelligence) Modulator High Frequency Carrier Amplifier
Communication Channel
Receiver
Amplifier
Demodulator (detector)
Amplifier
Output transducer
Modulation methods
Starting point: We have a low frequency signal and want to send it at a high frequency
Modulation: The process of superimposing a low frequency signal onto a high frequency carrier signal Three modulation schemes available:
1. Amplitude Modulation (AM): The amplitude of the carrier varies in accordance to the information signal 2. Frequency Modulation (FM): The frequency of the carrier varies in accordance to the information signal 3. Phase Modulation (PM): The phase of the carrier varies in accordance to the information signal
carrier
0
digital data
1 OOK
1 ASK
Fc-df
fc Fc+df
Frequency
DIO=low
DIO=high
FSK modulation
0 1
digital data
freq2 carrier
FSK mod
Cons: Require synchronization in frequency and phase complicates receivers and transmitter
freq1 carrier freq2 carrier
0
digital data
Each axis represents a symbol Each basis function is orthogonal Distance between symbols predicts BER
Cons: Require synchronization in frequency and phase complicates receivers and transmitter
freq1 carrier freq2 carrier
digital data
MSK mod
01
AC 2
1
11 00
http://en.wikipedia.org/wiki/Phase-shift_keying
http://en.wikipedia.org/wiki/Phase-shift_keying
Preamble
The Preamble is a pattern of repeated 1s and 0s
4 bytes / 8 bytes
Which can be used by Receiver to pull Received Signal Strength Information (RSSI)
to trigger a Carrier Sense (CS) Flag to qualify Sync Word to protect from false triggers
An extended preamble can be sent by sending an STX strobe with no data in the TX Buffer (or by not triggering the DMA in the RF SoCs) For data rates less than 500kb/s, a 4 byte Preamble is recommended, at 500kb/s, 8 bytes is recommended
1111
0000
1111
0000
11
00
11
00
Expected Sync Word Sync Word is 2 Bytes Programmable & can be repeated default 0xD391: 1101001110010001 An 8 bit Sync Word can be accomplished by Extending the Preamble with the Sync MSB
Electromagnetic spectrum
SOUND RADIO LIGHT HARMFUL RADIATION
VHF = VERY HIGH FREQUENCY UHF = ULTRA HIGH FREQUENCY SHF = SUPER HIGH FREQUENCY EHF = EXTRA HIGH FREQUENCY
2.4 GHz ISM band ISM bands 315-915 MHz UWB 3.1-10.6 GHz
Source: JSC.MIL
Regional comparisons
United States / Canada 315/433/915 MHz 2.4 GHz European Union 433/868MHz 2.4 GHz Japan 426MHz 2.4 GHz (Some restrictions) Other national requirements exist
Europe:
433.050 434.790 MHz 863.0 870.0 MHz 2400 2483.5 MHz (ETSI EN 300 220) (ETSI EN 300 220) (ETSI EN 300 440 or ETSI EN 300 328) (Ultra low power applications) (ARIB STD-T67) (ARIB STD-T66) (ARIB RCR STD-33)
Japan:
315 MHz 426-430, 449, 469 MHz 2400 2483.5 MHz 2471 2497 MHz
802.11b/g
Microwave oven
Cordless
Frequency
2.446
There are only three non-overlapping channels available in the 802.11b standard: Channels 1,6 & 11
For WiFi access points that are located near each other it is recommended that they each use one of the above non-overlapping channels to minimize the effects of interference.
802.11 Vs 802.15.4
1000m
100m
10m
Building Automation Residential Control Industrial Tracking Sensors Home Automation / Security Meter Reading
Wi-Fi/802.11
Headsets PC Peripherals PDA/Phone PC Networking Home Networking Video Distribution
App
MAC Physical
Stack Considerations
Proprietary
Design Freedom Design Freedom Design Freedom all LPRF devices 2.4 GHz Sub 1 GHz
SimpliciTI
Design Freedom Design Freedom SimpliciTI
CC111x, CC251x, CC243x, CC253x, CC430, MSP430+CC1101, CC2500 or CC2520
RF4CE
Design Freedom Remo TI
TI MAC
Physical Layer
A253x MSP430+CC2520
A253x
RF Frequency
2.4 GHz
2.4 GHz
2.4 GHz
Network types
Network types
Point to Point (aka: Peer to Peer)
Star
= data path
Multihop Mesh and cluster tree Networks ZigBee or based on ZigBee technology
ZigBee/IEEE 802.15.4/RF4CE
ZigBee enables companies to have a simple, reliable, low-power, global wireless public standard optimized for the unique needs of remote monitoring and control applications.
Three Paths to ZigBee from Texas Instruments Texas Instruments offers three ZigBee compliant platforms for all its IEEE 802.15.4 radios providing designers with a solution where only the application needs to be added. These compliant platforms will shorten time to market and simplify system design and ZigBee end-product certification. All three solutions are built upon the market leading CC2420/CC2520 radio.
Application areas: Home, building and industrial automation Energy harvesting Home control/security Medical/patient monitoring Logistics and asset tracking Sensor networks and active RFID Advanced Metering Commercial Building Automation
Mesh network
Pros
self healing easily extendable through multiple hops end devices can be battery operated easy to deploy can be ZigBee compliant
Cons
router nodes needs to be mains powered
Example
lighting applications building automation
Routing device(s)
Adds link cost depending on LQI Selects request with lowest link cost Forwards the route request Stores the information
Requested device
Selects lowest link cost Sends route response
In this example the selected route will be: S-1-3-D (link cost 7)
Routing device(s)
Uses stored information to route the response back
AP Access Point
- allows Access to the network
- stores & forwards messages - serves as a range extender
ED SD AP RE
ED SD
RE Range Extender
- repeats message traffic
- like the AP, device is always on
ED
ED End Device
- always on; doesnt require store &
forward services from the AP
Topologies: Access Point Star Access Point Star w/ Range Extender Peer to Peer
IEEE802.15.4 MAC
ZigBee Z-Stack
SimpliciTI
Proprietary examples
Proprietary Radio
(A2500 / A1101 / A110LR09)
Proprietary Stack Up to 64 Bytes MAC Layer
1 Byte
1 Byte
0-60 Bytes
Address Field*
Physical Layer
Check
SimpliciTI
Custom Application Up to 50 Bytes MAC
4 Bytes Destination Address 4 Bytes 1 Byte 1 Byte 1 Byte 0 to 50 Bytes
Layer
Source
Address
Port Data
Device Info
TractID
Info
SimpliciTI Payload
2-24 Bytes 2or4 Bytes 1 Byte Length Field Preamble Sync Word
Physical
CRC 16 Radio Payload (Max 64 Bytes) Check
MRFI Layer
ACK Frame
Data Frame
Command Frame
Address Command
Control
Frame Control
Info
Address Info
Beacon Frame
Physical Layer
802.15.4 Frame
MAC Layer
Synchronization Header
Physical Layer
2.4GHz Radio
Software Stacks
Z-Stack - ZigBee Protocol Stack from TI
One of the first ZigBee stacks to be certified for the ZigBee 2006 certification Supports multiple platforms such as CC2480, CC2431 and CC2520+MSP430 platform ZigBee 2007/PRO available on CC2530 and MSP430 platform A standardized wireless protocol for battery-powered and/or mains powered nodes Suitable for applications with low data-rate requirements Support for IEEE 802.15.4-2003/2006 A simple low-power RF network protocol aimed at small RF networks Typical for networks with battery operated devices that require long battery life, low data rate and low duty cycle Compliant with RF4CE V1.0 Built on mature 802.15.4 MAC and PHY technology Easy to use SW, development kits and tools
TIMAC
Development Kits
The typical LPRF development kit contains
Example: CC1110-CC1111DK
Mini-development kits
Inexpensive, flexible development platform for TI's CC2510Fx RF SoC solution: CC2510Fx - 26MHz single-cycle 8051 CC2500 RF transceiver - FLASH, RAM, 5 DMA channels, ADC, PWM, UART, SPI, I2S, 4 timers, and 21 GPIO pins The target board in this kit is very close to a real product and features: - PCB antenna pre-tested for ETSI and FCC compliance - battery holders for 2x AAA or 1x CR2032 coin-cell operation - footprint for 2.54 mm connector to CC2510Fx GPIO pins - 2 buttons & 2 LEDs for simple application development - pre-programmed with Link Test for RF range measurement
Works in concert with MSP430 LaunchPad (available through Texas Instruments e-Store)
SmartRF Studio
SmartRF Studio is a PC application to be used together with TIs development kits for ALL CCxxxx RF-ICs.
Allows remote control/configuration of the RF device when connected to the PC via a SmartRF Evaluation Board Supports quick and simple performance testing
Simple RX/TX Packet RX/TX Packet Error Rate (PER)
SmartRF Studio
Packet Sniffer
Captures and parses packets going over the air Useful debugging tool for any protocol/SW designer PC Tool available for FREE Supported protocols
SimpliciTI RemoTI (RF4CE) ZigBee Generic protocol
Packet Sniffer
30 day full-feature evaluation version Extended evaluation time when buying a SoC DK or ZDK Free code-size limited (4k) version