embedded meets rf evan lojewski. rf primer terminology / intro rf options certification

32
Embedded Meets RF Evan Lojewski

Upload: lilian-norris

Post on 18-Dec-2015

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Embedded Meets RF

Evan Lojewski

Page 2: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

RF Primer

•Terminology / Intro

•RF Options

•Certification

Page 3: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Terminology

•Decibel - logarithmic scale

•Channel - subdivided portion of spectrum

•Carrier - center frequency of channel / transmission

•DNR - dynamic range

Page 4: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Decibel

•dB is unit-less, denotes logarithmic

•value dB = 10log10(value)

•value = 10^(value dB / 10)

•Standard exponential rules apply

•Cannot multiply value together

Page 5: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

db Suffixes

•dBW: Watts

•dBm: miliWatts

•dBi: forward gain of antenna

•dBc: relative to carrier

Page 6: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Gain / Loss•Gain is the Amplification of signal

(unitless). 3db gain is an amplification of 2x.

•Linear: Power * gain(amp) = final power

•dB: Power + gain(amp) = final power

•Linear: Gain = 1/Loss

•dB: Gain = - Loss

Page 7: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Sample Calculations

•5dB + 10dBw = 15dBw

•-3dBw = 27dBm

•-3dBm + 3dBm = ????

•10dBm = 10 mW = 0.01 W

Page 8: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

More Examples

•3dB ~= 2

•6dBm ~= 4 mW

•13dB ~= 20

•20dB = 100

Page 9: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Test Equipment

•Spectrum Analyzer

•Verify emissions

•demodulate packet

•Network Analyzer

•Impedance Matching

•Power Meter

•Anechoic Chamber

Page 10: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

RF Options

•Don’t do it -> go wired (really)

•Modules

•PDB Design

Page 11: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Wires: The easy option

•Batteries are annoying

•Reliability

•Throughput

•Don’t have to mess with the FCC... much

Page 12: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

RF Frequencies: ISM

•2.45GHz: Wifi, Bluetooth, 802.15.4, Cordless Phones

•1W peak power

•915 MHz: UHF RFID, Cell Phones

•1W peak power

Page 13: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Classic Bluetooth

•Interoperability

•Android

•Power hungry

•3mA connected

•30mA connecting

Page 14: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Classic Bluetooth

•AT Command Set

•Control

•UART passthrough (SPP)

•Transparent to software

Page 15: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Bluetooth Smart•Interoperability

•iOS

•Window 8

•Low Power

•~40uA - 150uA connected

•18mA transmitting (max ~300us burst)

Page 16: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

XBee

•Serial passthrough

•Pair two devices

Page 17: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Wifi

•Interoperability

•Anything with network access

•web pages

•telnet

•Complex - TCP/IP

•High Power

Page 18: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Proprietary

•Non-Interoperability

•Vendor lock in

•Minimal overhead

•Depending on implementation, can be very low power.

Page 19: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

RF Modules: 2.4Ghz

Module StandardsPower RX

(idle)Throughput

XBee 802.15.4 40 mA 250KbpsGS1011

MIP802.11b

150mA (150uA)

11Mbps

RN-171 802.11b/g120mA (15mA)

54Mbps

nRF24L01+

Proprietary

11.3mA (22uA)

2Mbps

RN-42 Bluetooth 30mA (26uA) 240Kbps

BR-LE4.0BluetoothL

E27mA (0.9uA) 1Mbps

Page 20: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

RF Modules: 2.4Ghz

Module Interface API DNR $

XBee UARTPassthroug

h99dB 23

GS1011MIP

UART / SPI Custom 90dB 28

RN-171 UART / SPI Custom 93dB 30nRF24L0

1+SPI Packet 82dB 20

RN-42 UART / SPIPassthroug

h84dB 16

BR-LE4.0 UART / SPIAT

Commands96dB 119

Page 21: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Custom PCB vs Module

•Lower Cost than modules in volume

•Full control over design

•Smaller size

•Must go through complete certification process

Page 22: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

PCB Considerations

•εr: Affects thickness of PCB

•Ground Plane

•Controlled Impedance

•Manufacturer Recommendations

Page 23: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

FCC Regulations

•Covers Unintentional Radiator

•And Intentional radiators

Page 24: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Unintentional Radiators

•Digital Device operating at 9kHz+

•Must be Verified.

•Manufacture makes measurements.

•Submittal of measurements / sample unit only required if FCC asks.

Page 25: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

Intentional Radiators

•Digital Device operating at 9kHz+

•Must have a Declaration of Conformity

•You declare part complies with FCC regulations.

Page 26: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

FCC Certification

•Form 731

•$1265.00 Fee

•Measurement Results / Report

•System Block Diagram

Page 27: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

FCC Exceptions:Subassemblies

•Subassemblies

•Do not need to be certified / verified

•End user will need to FCC certify

•Home-built devices

•Up to 5 of any non-marketed, non-kit

•Personal use only.

Page 28: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

FCC Requirements: 15.247 (2.4GHz)

•1W peak Power

•spurious emissions: 20dB below carrier

•And many more...

Page 29: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

FCC Requirements:

47 CFR 2•Must retain description of faciility

•List of equipment used

•Must retain original drawings, records of procedures and measurements made.

•Retain all data required to show conformity.

Page 30: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

PCB Considerations

•Software?

•Module vendors usually give you their stack and examples

•Chip vendors don’t support small companies often.

Page 31: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

PCB Considerations

•Antenna

•Chip Antenna? (expensive)

•Trace Antenna? (cheap)

•RF Connector? (expensive)

•Impedance Matching

•balun?

•Tuning components

Page 32: Embedded Meets RF Evan Lojewski. RF Primer Terminology / Intro RF Options Certification

References•FCC 47 CFR 15: Radio Devices

•FCC 47 CFR 2 Subpart J: Equipment Auth

•http://www.sparkfun.com/tutorials/398

•Example FCC report: http://faenl.msi.com/ftp/CE%20Documents/68xx/BTHub/41104402-RP1%20Part%2015.247.pdf