Techday - Introduction To RF Design
Techday - Introduction To RF Design
Agenda
Part I: Getting Acquainted with the CC Portfolio
Overview of a Low Power Wireless System
Overview of the TI Low Power Wireless Portfolio Features of the CC2500/CC1100 Radios Tools Overview: Packet Sniffer, RF Studio, RF Toolsticks
Hands On Performing a Simple Tx/Rx using the CC2500 and the RF Studio Software Design Tools
Typical MSP430 / CC2500 Radio Connection Overview of the RF Studio Sotware Running a simple Tx/Rx while monitoring the CC2500 Radio Status State Machine
Agenda - Continued
Part II: Getting Acquainted TI Stack Offering
Comparison of 802.15.4, SimpliciTI, and Zigbee Stacks
Features and Benefits What is right for your application Device offering
SimpliciTI Overview
SimpliciTI Components Typical Network Topologies Typical Payload Overview
Hands On: Using SimpliciTI to Communicate End Device to End Device in a Typical Network Overview and Hands On: Adding an Access Point Overview of the Zaccel Integrated Zigbee Modem Hands On Using Zaccel in a Zigbee Network
Agenda
Definitions Radio Modulation Schemes Radio Frequency Spectrum Network Types Low Power RF Components Tools
Definitions
RF Power Definitions
dBm power referred to 1 mW
PdBm=10log(P/1mW)
0dBm = 1mW 20 dBm = 100mW 30 dBm = 1W
-110dBm = 1E-11mW = 0.00001nW 50 load : -110dBm is 0.7uV
dBm to Watt
About dBm and W Voltage Ratio aV = 20 log (P2/P1) Power Ratio aP = 10 log (P2/P1) [aV] = dB [aP] = dB [V] = dBV [P] = dBm
e.g. 25mW max. allowed radiated power in the EU SRD band P = 10 log (25mW/1mW) = 10 * 1.39794 dBm ~ 14 dBm
dBm Typicals
dBm level 80 dBm 60 dBm 36 dBm 30 dBm 27 dBm 20 dBm 4 dBm 0 dBm 10 dBm 70 dBm 127.5 dBm Power 100 kW 1 kW 4W 1W 500 mW 100 mW 2.5 mW 1.0 mW 100 W 100 pW 0.178 fW Notes Typical transmission power of FM radio station with 30-40 miles range Typical combined radiated RF power of microwave oven elements Typical maximum output power for a Citizens' band radio station (27 MHz) in many countries Typical RF leakage from a microwave oven - Maximum output power for DCS 1800 MHz mobile phone Typical cellular phone transmission power Bluetooth Class 1 radio, 100 m range (maximum output power from unlicensed FM transmitter). Typical wireless router transmission power. Bluetooth Class 2 radio, 10 m range Bluetooth standard (Class 3) radio, 1 m range Typical maximum received signal power (10 to 30 dBm) of wireless network Typical range (60 to 80 dBm) of Wireless received signal power over a network Typical received signal power from a GPS satellite
Radio Definitions
PER
Packet Error Rate, % of packets not received successfully
Sensitivity
Lowest input power with acceptable link quality (typically 1% PER)
Deviation/separation
Frequency offset between a logic 0 and 1 using FSK modulation
Blocking/selectivity
How well a chip works in an environment with interference.
Low Frequency Information Signal (Intelligence) Modulator High Frequency Carrier Amplifier
Communication Channel
Receiver
Amplifier
Demodulator (detector)
Amplifier
Output transducer
digital modulation
analog modulation
Radio Transmitter
radio carrier
synchronization decision
Expected Preamble
4 clocks
2 clocks
1 clock
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
Rise and fall rates of the carrier's amplitude can be adjusted to reduce the spectrum noise at low to medium data rates This is called Shaped OOK
1
0 t Signal Space Diagram
Each axis represents a symbol OOK has two basis functions: sinusoid & no sinusoid OOK has two symbols: carrier & no carrier Distance between symbols predicts BER
Fc-df
fc Fc+df
Frequency
DIO=low
DIO=high
FSK modulation
1
Source: Lili Qiu
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
0 1
01
AC 2
1
11 00
http://en.wikipedia.org/wiki/Phase-shift_keying
Cons: Require synchronization in frequency and phase complicates receivers and transmitter Example: IEEE 802.15.4 / ZigBee
0 1 0 1
0 1
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
ISM/SRD Bands
802.11b/g
Microwave oven
Cordless
Frequency
Source: Eliezer & Michael, TI
The 902-928 MHz band is covered by FCC CFR 47, part 15 Sharing of the bandwidth is done in the same way as for 2.4 GHz:
Higher output power is allowed if you spread your transmitted power and dont occupy one channel all the timeFCC CFR 47 part 15.247 covers wideband modulation Frequency Hopping Spread Spectrum (FHSS) with 50 channels are allowed up to 1 W, FHSS with 25-49 channels up to 0.25 W Direct Sequence Spread Spectrum (DSSS) and other digital modulation formats with bandwidth above 500 kHz are allowed up to 1W
Europe:
433.050 434.790 MHz 863.0 870.0 MHz 2400 2483.5 MHz
Japan:
315 MHz 426-430, 449, 469 MHz 2400 2483.5 MHz 2471 2497 MHz
Short-Range Wireless
Range
1000m
100m
10m
Wi-Fi/802.11
Headsets PC Peripherals PDA/Phone PC Networking Home Networking Video Distribution
UWB
Wireless USB Video/audio links
1m 1k 10k 100k
1M
10M
2.4GHz Portfolio
Stack Considerations
MAC Layer
Physical Layer
MAC
4 Bytes Destination Address 4 Bytes 1 Byte 1 Byte Source Address Port Data Info 1 Byte 0 to 50 Bytes SimpliciTI Payload Device TractID Info
Layer
2-24 Bytes 2or4 Bytes 1 Byte Length Field Preamble Sync Word
2 Bytes
Physical
CRC 16 Check
MRFI Layer
MAC Layer
Synchronization Header
Physical Layer
802.15.4 Frame
MAC Layer
Synchronization Header
Physical Layer
Network Types
Network Types
Point to Point
Data path
Network Types
Star
Data path
Network Types
Mesh
Data path
Network Types
Mesh
Data path
Which Protocol?
Radio Hardware SimpliciTI Proprietary Best Suited Point to Point Topology Addressing Destination Code Size 802.15.4 Zigbee
Point to Point Star Network Source & Destination Good < 4k Medium CC25x0 CC11x0
Star Network
Mesh
Source & Source & Destination Destination Fair Medium CC2520 CC2530 Large < 64k Low - Zaccel CC2480
Minimal <1k
CC25x0 CC11x0
Balun
Balanced to unbalanced Converts a differential signal to a single-ended signal or vice versa
Crystal
Reference frequency for the LO and the carrier frequency
Antenna
Antenna ( 50)
RF-IC
Filter
Crystal
RF-ICs Examples
Transmitter CC1050, CC1150, and CC2550
System-on-Chip (SoC) Transceiver with a built-in micro controller CC1110, CC2510, CC2430
Crystals
Provides reference frequency for Local Oscillator (LO) and the carrier frequency Important characteristics: Tolerance[ppm], both initial spread, aging & over temperature Price, often a price vs. performance trade-off Size Various types: Low Power crystals (32.768 kHz)
Used with sleep modes on e.g. System-on-Chips
Crystals
Thru hole Tuning fork SMD
Voltage Controlled Crystal Oscillators (VCXO) Oven Controlled Crystal Oscillators (OCXO)
Extremely stable
Digital Inteface
DGUARD 18
RBIAS 17 9 AVDD
10 XOSC_Q2
8 XOSC_Q1
6 GDO0
7 CSn
GND 16
SI 20
GND 19
PCB antennas
Little extra cost (PCB) Size demanding at low frequencies Good performance possible Complicated to make good designs
Whip antennas
Expensive (unless piece of wire) Good performance Hard to fit in may applications
Chip antennas
Expensive OK performance Small size
Notes on Antennas
The antenna is VERY important if long range is important A quarter wave antenna is an easy and good solution, but it is not small (433 MHz: 16.4 cm, 868 MHz: 8.2 cm)
You can curl up such an antenna and make a helical antenna. This is often a good solution since it utilizes unused volume for a product.
If you need long range and have limited space, then talk to an antenna expert !
RF-IC
2/1 Switch
2/1 Switch
LNA
Crystal
Adding an External PA
CC2420EM PA DESIGN
Signal from TXRX Switch pin level shifted and buffered Level in TX: 1.8 V, level for RX and all other modes: 0V CMOS & GaAs FET switches assures low RX current consumption Simpler control without external LNA No extra signal is needed from MCU to turn off LNA in low power modes
ANT
TX path
CC2420
CC2420EM w/PA 30.8 mA 19.7 mA 9.5 dBm -93.1 dBm 580 meter
PA TX/RX Switch
LP filter
TX current
TX/RX Switch
RX path
Pr = Pt + Gt + Gr + 20 log 20 log d or 4
d= 4 PtGtGr Pr
Pt Gt Gr 2 Pr = (4 ) 2 d 2
Pt is the transmitted power, Pr is the received power Gt is the transmitter, Gr is the receiver antenna gain Lambda is the wavelength d is the distance between transmitter and receiver, or the range
Zigbee: eZ430-RFZACC06
CC2500EMK
USB FET
BSL interface
MSP430 ports
CC2520 EMK:
2 CC2520 EMs + 2 antennas
http://www.ti.com/litv/zip/swrc045g
http://focus.ti.com/docs/toolsw/folders/print/smartrftm-studio.html
http://focus.ti.com/docs/toolsw/folders/print/z-stack.html
http://focus.ti.com/docs/toolsw/folders/print/simpliciti.html