WiFi for IoT: RF Systems & Architecture
- E. Youssoufian
September 18, 2018
WiFi for IoT: RF Systems & Architecture E. Youssoufian - - PowerPoint PPT Presentation
WiFi for IoT: RF Systems & Architecture E. Youssoufian September 18, 2018 About the Author: Edward Youssoufian Currently: Sr. Director at NXP, Responsible for RF and Analog development within the Secure Transactions and Identification
September 18, 2018
development within the Secure Transactions and Identification Business Line
WiFi-, Bluetooth-, and Zigbee-enabled Wireless MCUs for IoT, including (at the time) the world’s smallest and lowest power production BLE devices, BTLC1000 and SAMB11.
fabless semiconductor company acquired by Atmel for $140M in 2014. At Newport, he oversaw 15 Mass production tapeouts in 7 years, resulting in cumulative shipments of over 350 Million wireless devices
Transceivers for AMPs, CDMA, GSM, and WCDMA; primarily in Frequency Synthesizer and Transmitters.
3
IM, etc. Target devices were laptops.
cases (ie Video Streaming) and devices (Smartphones)
proliferated (“2nd Tectonic Shift”)
connections to several Billion
Billions or Trillions of devices.
devices?
economically feasible and not beneficial.
could be another story.
Source: Jef effrie ies, NXP
“The 4 Tectonic Shifts in Computing” 1st
st Shi
Shift 2nd
nd Shi
Shift 3rd
rd Shi
Shift 4th
th Shi
Shift?
BUT: Huge number of low power nodes is NOT what WiFi was made for!
using WiFi for IoT Devices.
the limitations of the 802.11 standards and challenges of IoT Devices.
7
request to Amazon Servers for product to be delivered.
Two Revis visions of
st Revis
vision in intr troduced ed Early 2015
nd Revis
vision In Introduce e Mid id 2016
> In Investigate and compare both th ve vers rsions
8
for WiFi Transmitters
circuitry is required.
9
ific icant improvement in new ve versio ion of f but utton --
ion us uses commodit ity AAA battery y – 3x x cost savi vings
to make th this cha hange possib ible?
Orig rigin inal l Vers rsio ion Current Ver ersio ion
10
in Difference betw tween Lithiu ium and Alk lkalin ine batt tterie ies is capacity ty at t hig high discharge ra rates
Stepping up p vol voltage vi via Boo
than do doubles dev device curr current, and nd bat battery dis discharge ra rate
revis isio ion mus ust consume 2-3x les less power or r ha have 2-3x lo lower peak k currents
Typical Operating Current
11
BLE Companion Chip ATWINC1500 IoT WiFi SoC (mine) ATSAMG55 Cortex M4F MCU Trace/Via To 2.4GHz ANT BRCM WICED Module (BCM4336) STM32F205RG36 Cortex M3 MCU Micron M25P16 2MB SPI FLASH
Original Version Current Version
Observations 1.
iFi i So SoC and nd MCU Cha hanged on
Second ver version 2.
LE Ad Added to to Se Second Ver Version 3.
versions hav have pl plenty of
nused bo board sp
5GHz. 4.
Each Rad Radio in n 2nd
nd Version has it’s own antenna.
12
TI TPS61201 Boost Converter Invensense INMP441 Microphone
Original Version Current Version
Observations 1.
present, as s exp
hange be between ver versio ions. 2.
Devic ices hav have a Mic icrophone (!? !?)
Strange...button do does not not hav have voic voice re recognition capa capabilit ity.
Micron N25Q032 4MB SPI FLASH TI TPS61201 Boost Converter Invensense Microphone
via ultrasound signals to the Button Microphone (!)
Source: https://mpetroff.net/2016/07/new-amazon-dash-button-teardown-jk29lp/
Original Version Current Version
and lifetime.
power consumption.
expense of much longer latency and throughput
18
Power consumption is often significantly more than digital.
3ms 100~300ms Active RX Current
Statio tion Mon
itors AP P Beac acons
Sleep Current
Receiver turns on for beacons
Pow
Floor ~20mA
verall l Bea eacon Mon
Curr rrent is s 22 22.5 mA!
90% is sta standby po power.
Average Cur Current – 8.0 8.0 mA Re Receiv iver on
for for lon
period
ere sta standby po power is s much bet better, but but ove
l Bea eacon Mon
rrent is stil still l 8m 8mA.
n this this ca case, th the Ac Activ ive ti time is lon longer tha than ne necessary
21
average current
hour (=1 month) lifetime from 2x AAA batteries
applicable for plugged-in IoT applications (e.g. Thermostat) or Large Li-Ion batteries.
Bea eacons
Ini nitia ial Associa iatio ion with AP
Wi-Fi AP IoT Device Smart Phone
every 60s.
the AP. Then, device will temporarily go to beacon monitoring mode.
connections when communication is needed.
Bandgap/LDOs, Memory Leakage
batteries.
applications
Low Power
go into PS Poll Mode
Beacon Monitoring mode and upload data
26
,,,,,,,,,,,,,,,,,,,………….,…
Low Power MCU wakes up Wi-Fi
Reconnect with AP
Low Power MCU shuts off Wi-Fi
Long sleep Reconnect with AP
power further
wakeup and re-connection to AP.
doorbell, fire alarm, )
CONFIDENTIAL 27
DHCP are Critical
phase of wakeup and Association.
2 AAA ba batteries s las ast 7 7 year ears for
ry 20 20 min inutes. s.
FW FW Dow
load MAC Init nit Con
to AP AP DHCP UDP
Regulatory compliance, and (often most importantly) Technical Marketing.
final product requirements.
52 Carriers (+ Null) in 802.11g=~16.6MHz 56 Carriers (+ Null) in 802.11n=17.87MHz
N U L L
802.11 .11n 1x1 x1 Da Data Ra Rates 802.11 .11a/g Da Data Ra Rates
.11a .11g .11n .11b Frequency Band
5GHz ISM 2.4GHz ISM 2.4 & 5 GHz ISM 2.4GHz ISM
Sensitivity
See Next Slide Identical to .11a Essentially Identical to: .11a (5GHz) .11g (2.4GHz)
Adjacent Channel
Identical to .11a (25MHz spacing) 35dB
Alternate Channel
No Requirement No Requirement
Maximum input
33
and 5dB Implementation loss
Implementation loss-> 10dB lower sensitivity than standard.
Data Rate (Mbps) Modulation SNRMIN* (dB) Sensitivity 6 BPSK 1/2 4
9 BPSK 3/4 5
12 QPSK 1/2 7
18 QPSK 3/4 9
24 16QAM 1/2 13
36 16QAM 3/4 16
48 64QAM 2/3 20.5
54 64QAM 3/4 22
Data Rate (Mbps) Modulation SNRMIN* (dB) Adjacent Protection Ratio Alternate Protection Ratio SNR+PR 6 BPSK 1/2 4 16 32 20 9 BPSK 3/4 5 15 31 20 12 QPSK 1/2 7 13 29 20 18 QPSK 3/4 9 11 27 20 24 16QAM 1/2 13 8 24 21 36 16QAM 3/4 16 4 20 20 48 64QAM 2/3 20.5 16 20.5 54 64QAM 3/4 22
15 21
Receiver dynamic range (SNR + Protection ratio) is a constant ~21dB
Adjacent channel.
with margin.
*S *SNRMIN valu alues are from si simula latio ion (1d 1dB imp mple lementatio ion los
The hey y are not not a par part of f the he 80 802.1 2.11 standard. *S *SNRMIN valu alues are from si simula latio ion (1d 1dB imp mple lementatio ion los
in Ch Challe lenge e is is tr transmittin ing high igh en enou
tput power while ile mee eetin ing EVM ( high igh data rates) or
CPR (lo (low data rates es)
.11a .11g .11n .11b Frequency Band 5GHz ISM 2.4GHz ISM 2.4 & 5 GHz ISM 2.4GHz ISM TX Frequency Accuracy +/-20ppm +/-25ppm Identical to: .11a (5GHz) .11g (2.4GHz) Identical to .11g EVM Table 17-12 Identical to .11a Essentially Identical to .11a <35% Spectral Mask Next Slide Identical to .11a Next Slide Next Slide LO Feedthrough
Identical to .11a
Identical to .11a
802.11a/g
802.11a/g 802.11n 802.11b
for these channels.
Emission Type FCC Limit Comment Fundamental Power +30dBm Assumes <6dBi antenna Harmonic Power
All Harmonics Restricted Bands
Includes Edge of 2.4GHz ISM band (2310-2390 and 2483.5-2500)
vary greatly from product to product.
15dBm Cellular blocker.
Phone 1m away from IoT Device
Phone Transmits +23dBm Band 7 LTE signal
Free-Space Path loss: 41dB
Antenna Gain:
IoT Device Receives -21dBm Blocker
sensitizing Cell phone
Phone 1m away from IoT Device
Phone Band 7 Cellular RX noise floor is -171dBm/Hz
Free-Space Path loss: 41dB
Antenna Gain:
IoT Device TX Emissions in Band 7 must be below -127dBm/Hz
Spec Comment Sensitivity 10dB Margin to 802.11a e.g. -75dBm for 64QAMR¾ Implies 4dB NF. Maximum Input Signal
Set by .11b. Little impact on cost/power. Out-of-band Blocker
Set by coexistence with cellular blockers Adjacent Channel blocker 6dB margin to 802.11a e.g. +5dB Protection ratio for 64QAMR¾ Alternate Channel Blocker 6dB margin to 802.11a e.g. +21dB Protection ratio for 64QAMR¾ Only required if supporting 5GHZ ISM band Power Consumption
Minimize
Cost
Minimize
Spec Comment TX Output Power +18dBm for 64QAMR¾ Lower data rates expected to have higher output
EVM 3dB Margin to 802.11n at PMAX e.g. -31dB evm for 64QAMR¾ ACPR 3dB Margin to 802.11n at PMAX Typically matters at lower data rates LO Feedthrough
Set by .11n Spectral Emissions <-121dBm/Hz In all 3GPP Cellular bands. Includes DAC alias. Harmonic Distortion <-48dBc Per FCC Frequency Accuracy +/-20ppm Can be relaxed in 2.4GHz only is used. Power Consumption
Minimize
Cost
Minimize
derive basic noise, linearity, filtering, and dynamic range specs.
the Demodulator SNRMIN :
PSENS=-174dBm/Hz + 10lo log10
10[BW]+NF+SNRMIN
log10
10[20M]-22dB=4dB
In practice, the achievable NF (often 3dB) determines sensitivity, not vice versa…
Cellular Blocker
Thermal Noise IM2 Product from Cellular Blocker Phase noise from Cellular Blocker
DP=77dB
IIP2= Pin + DP
IIP2= -24dBm+77dB IIP IIP2= +5 +53d 3dBm
Cellular Blocker
Thermal Noise IM2 Product from Cellular Blocker=-101dBm
density: -101dBm-73dBHz=-174dBm/Hz.
Cellular Blocker Phase noise in signal band =-101dBm in 20MHz =
Thermal Noise=-98dBm Phase noise from Cellular Blocker
Noise Blocker Signal Alias Protection Ratio SNR Margin (~6+6dB) Aliasing ADC Fs
Data Rate (Mbps) SNRMIN* (dB) Adjacent Protection Ratio Alternate Protection Ratio SNR+PR 6 4 16 32 20 9 5 15 31 20 12 7 13 29 20 18 9 11 27 20 24 13 8 24 21 36 16 4 20 20 48 20.5 16 20.5 54 22
15 21
target), we can slightly increase required dynamic range and push channel select filtering to digital.
Budget Comment I/Q imbalance
Achievable without calibration PLL Phase Noise
Must meet this with PA Pulling of VCO Non-Linearity (OIM3)
Should be dominated by PA. Note this is in-band non-linearity (harder) Total
In-line with Target
difficult for low data rates.
Cellular Band WiFi TX at +20dBm Alias@ -54dBm 74dBc
↑
TX AGC
DAC
DPD
PLL
↓
ACI DCO AGC A&P IC ADC
4 4 2 balun
54
↓
ACI DCO AGC A&P IC
ADC Differential LO
PNR
PLL AGC
4
Spec Target NF 3dB (+1dB T/R SW) IIP2 +53dBm LO Spot Phase Noise
100MHz offset ADC DR 49dB AA Filtering 50dB
56
AGC Parameter Spec Max Gain 15dB Gain Step Size 3dB IIP3 @ Max gain
IIP2@ Max Gain +53dBm OOB filtering @ LNA output >12dB Power Down current <10uA RX turn-on Time 3ms
filtering/anti-aliasing
57
ADC ADC
160MS/s
(1-z-1)-2
↓2
(1-z-1)2
Decimation: CIC 80MS/s
(1-z-1)-2
↓2
(1-z-1)2
10 s11
Parameter Spec # Physical bits 8 bits Sampling 160MS/s ENOB in 20MHz 9 bits Nominal BW Two poles @ 15MHz OIM3(adjacent) +50dBc Total Current 4mA Power Down Current <1uA
stopband attenuation.
58 52 Carriers in 802.11g=16.6MHz 56 Carriers in 802.11n=17.87MHz
59
↑
TX AGC
DAC I/Q inputs
PNR
PLL
DPD
2 2
Parameter Spec PA Gain 24dB Gain Step Size 3dB Psat @ Max Gain +26dBm EVM@+18dBm
ACPR @+18dBm
Output OOB noise @+18dBm
I/Q phase balance <0.2º TX 10-90 turn-on Time 2ms
60 DPD Disabled DPD Ena Enabled
CONFIDENTIAL
61
DPD Disabled DPD Enabled
+14.7dBm +18.6dBm
→ DPD en enhances EVM Complia iant Output power by y 4dB
noise filtering
legacy CMOS (eg 65nm)
free from ZOH
62
DAC DAC
160 or 320MHz
(1+z-1)2
↑2 Interpolation
(1+z-1)2
↑2 12 From PNR 12
Parameter Spec # bits 12 Sampling 480-500GS/s Nominal BW Two poles @ 15MHz OIM3 @500mVpp se 50dB Output Noise @ 200MHz <2nV/rt(Hz) Anti-Aliasing 80dB Max o/p >700mVppse Total Current <20mA Power Down Current <10uA
63 P F D ÷N[m] SD C P DPLL
Reference
20 bit “f value” 8 bit “L” value
Digital SD Modulator
Digital PLL (coarse tune)
÷1,2,4
Reference Divider
÷4
2 4 To Mixer
9.6-10GHz 2.4-2.5GHz
mainstream (read: Cell Phone) amendment
67
res resis istance make ke it t un unsuitable fo for r most WiF iFi i chi hips/applic icatio ions.
Even 10mA lo loads cause a signfic icant dro rop across batt ttery IR IR
30mA gives 300mV drop => 10W IR