27
Low power sniffing techniques used in 13.56MHz RFID reader systems Using TRF7960 and MSP430F2370 Johannes Sturz Juergen Mayer-Zintel

Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Embed Size (px)

Citation preview

Page 1: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Low power sniffing techniques used in 13.56MHz RFID reader systems

Using TRF7960 and MSP430F2370

Johannes Sturz

Juergen Mayer-Zintel

Page 2: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 2

HF RFID reader sniffing techniques

• Scope - Problem description– Application example

• 13.56MHz RFID system overview– ISO standard / RF regulation– Typ. System components

• Potential sniffing solutions– Mechanical, optical – Ceramic Resonator approach– Capacitive Sensor– TRF796x RSSI check

• Proposed solution – best cost/pwr. budget – Principle / basic idea / limitation– Schematic– MSP430 Software– Power consumption estimation

• Summary, outlook, further improvements

“TI Proprietary Information – Selective Disclosure

Page 3: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 3

• Scope

– Many 13.56MHz RFID reader terminals are battery powered– Battery size and capacity as

small as possible (cost).– Typ. 3.6V supply voltage.– Use affordable battery technology.– No additional components.– Polling intervals up to max. 1s– ISO 15693 and ISO 14443A/B Cards– Most critical applications:

Car2Go, Door Lock, “car toll reader”

Ultra low power HF RFID card sniffer needed !

HF RFID reader sniffing techniques

“TI Proprietary Information – Selective Disclosure

Page 4: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 4

HF RFID reader sniffing techniques• 13.56MHz RFID system overview – RF regulation

Spectrum mask for the European HF RFID frequency band 6,78MHz and 13,56MHz

Source: EN300330-1

+60 dBµA/m for 13,56 MHz

f0

(6,78 MHz13,56 MHz)

+900 kHz

-16 dBµA/m

ISM band

-10 dBµA/m

+9 dBµA/m

-1 dBµA/m at 6,78 MHz-3,5 dBµA/m at 13,56 MHz

+42 dBµA/m for 6,78 MHz and 13,56 MHz

-900 kHz

-450 kHz +450 kHz

-150 kHz +150 kHz

Carrier accuracy @13.56MHz ±7kHz (~500ppm)

“TI Proprietary Information – Selective Disclosure

Page 5: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 5

HF RFID reader sniffing techniques• 13.56MHz RFID system overview – ISO standards

ISO 15693 / ISO18000-3 – HF-I Product Line – Vicinity cards • Most widespread HF card – no/very limited security.

ISO 14443A – Wireless Payment/Secure – Proximity cards• Defines the physical layer and some communications layer.

ISO 14443B – Wireless Payment/Secure – Proximity cards• Defines the physical layer and some communications layer.

Felica (ISO 14443C) – Near Filed Communication – Proximity cards• Reader manufacturer will need licensing agreement with Sony.

NFC (ongoing) – Near Filed Communication – Proximity cards• Defines the physical layer and some communications layer.

“TI Proprietary Information – Selective Disclosure

Page 6: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

A battery-less tag gets its energy from the radio waves generated

by the reader’s antenna

Antenna

Reader

Downlink (Reader Inlay)ASK Modulation

Pulse Position Coding Datarate 1.6 or 26 kbits/sec

Inlay

HF RFID reader sniffing techniques• 13.56MHz RFID system overview

“TI Proprietary Information – Selective Disclosure

Page 7: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Downlink uses ASK Modulation

ISO 15693 Inlays operate with 100% or 10% modulation;using 10% modulation lowers the spurious emissions.

Carrier Modulation

100% 10%

HF RFID reader sniffing techniques• 13.56MHz RFID system overview

“TI Proprietary Information – Selective Disclosure

Page 8: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Uplink (Inlay Reader)FSK or ASK modulation

(Load-modulation)Manchester coding

Datarate 6 or 26 kbits/sec

Communication from Inlay to Reader

HF RFID reader sniffing techniques• 13.56MHz RFID system overview

“TI Proprietary Information – Selective Disclosure

Inlay

Page 9: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Digital Bits

H L H L L L H H L

Manchester Bits

RF Bits FSK

423.7kHz484.2kHz

RF Bits ASK

Communication from Inlay to Reader

– ASK @423.7kHz sub-carrier or– FSK with 423.7kHz / 484.2kHz

HF RFID reader sniffing techniques• 13.56MHz RFID system overview

Page 10: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

A 13.56MHz RF-Field on its own, does not automatically generate a response from the Inlay.

– The Inlay only sends back a signal if:• the inlay is in the reading field of a reader’s antenna

• the complete downlink protocol has been understood

• the inlay keeps within the RF-Field while sending back information

– The inlay can be seen as a slave, whilst the reader is

the master.

Because all ISO inlays work the same way, different technologies can beused simultaneously without interference problems between the inlays

Note:

HF RFID reader sniffing techniques• 13.56MHz RFID system overview

“TI Proprietary Information – Selective Disclosure

Page 11: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 11

HF RFID reader sniffing techniques• RFID card sniffing solutions

–Mechanical design • Design flexibility / degree of freedom• Mechanical robustness

–Cost • production• Installation • Maintenance free battery lifetime

–User friendly–Protection against vandalism / fraud–World wide usage / no country specific designs

Decision Criteria

“TI Proprietary Information – Selective Disclosure

Page 12: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 12

HF RFID reader sniffing techniques

A card slot is equipped with a mechanical switch or an light barrier; acting as a “mechanical sensor” to trigger the RFID card reader.

Pro– Very low power– Familiar handling (magnetic card)

Con– Mechanics required

• Form factor limitations• Reliability / robustness

– Not for harsh environment– Limited protection against vandalism / fraud

Mechanical / Optical

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 13: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 13

HF RFID reader sniffing techniques• RFID card sniffing solutions

Resonator approach

The reader is equipped with an additional resonator osc. and sensor antenna. The μC generates a short 13.56MHz power burst (20…200μs) and detects the antenna damping.

Pro– Low power– No mechanics required

• Form factor limitations• Reliability / robustness • Protection against vandalism / fraud

Con– Additional electrical components required

• 2 Antennas (RFID / Card sniffer) or switch (high voltage)• 2nd low pwr., fast run-in osc.

– Regulation frequency accuracy– Detection Distance

“TI Proprietary Information – Selective Disclosure

Page 14: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 14

HF RFID reader sniffing techniques• RFID card sniffing solutions

Capacitive proximity Sensor

The reader antenna also comprises areas used for a capacitive sensor. Capacitive proximity sensors sense "target" objects (RFID cards) due to their ability to be electrically charged. Since even non-conductors can hold charges, this means that just about any object can be detected with this type of sensor.

The reader sends an inventory command each time the sensor detects any change.

Pro– Flexible SW solution– Detection range– Good protection against vandalism– For all card types

• ISO-15693 and ISO-14443A/B• NFC / Felica

Con– Many additional components– High power consumption– Detector is measuring E-Field,

13.56MHz card is using H-Fieldfalse wake-up

“TI Proprietary Information – Selective Disclosure

Page 15: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 15

HF RFID reader sniffing techniques• RFID card sniffing solutions

TRF796x RSSI check

The reader issues an Inventory Requ. cmd.; with each cmd. The RSSI value is transmitted to the μC. Dependent on the RSSI value, additional commands are issued.

Pro– No additional components– Flexible SW solution– Good detection range– For all card types

• ISO-15693 and ISO-14443A/B• NFC / Felica

Con– High power consumption

• Long Run-in times TRF7960• High peak current

– Detection resolution

TRF7960A MSP430

Crystal13.56MHz

Matching

VDD_X VDD_I/OTX_out

RX_IN1

RX_IN2 VSS VIN

Serial or Parallel

Supply: 2.7V – 5.5V

VDD

“TI Proprietary Information – Selective Disclosure

Page 16: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 16

HF RFID reader sniffing techniques

Proposed solution – Principle & Basic Idea 1/2• Initialize the Reader system

– TRF7960 initialization of the voltage regulators – MSP430 initialization use high frequency Osc. @ 13.56MHz to shorten

system run in times.

• Generate a short 13.56MHz TX power pulse (10 … 15μs) through the TRF7960 reader antenna. Use shielded (magnetic) antenna to desensitize the reader against parasitic E-Field damping.

• Sense the damping of the reader antenna circuit with / without card.

• Rectify the antenna voltage, store it and measure the decay timing after the TX_off.

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 17: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 17

HF RFID reader sniffing techniques

Proposed solution – Principle & Basic Idea 2/2

Use slope A/D technique on MSP430 to measure the C1 charge voltage.

Dependent of the decay timing, initialize the system for a “card_read” or go back to stand-by.

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 18: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 “TI Proprietary Information – Selective Disclosure 18

HF RFID reader sniffing techniques

Crystal13.56MHz

10kΩ

Vcc 2.7V – 5.5V

VDD_A

VIN

VDD_RF

VDD_PA

TX_OUT

VSS_PA

VSS_RX

RX_IN1

I/O_7

I/O_6

I/O_5

I/O_4

I/O_3

I/O_2

I/O_1

I/O_0

VD

D_I/O

VSS_A

MO

D

IRQ

ASK

/OO

K

BA

ND

_GA

P

VSS

RX

_IN2

24

23

22

21

20

19

18

17

1

2

3

4

5

6

7

8

161514131211109

EN2

DA

TA_C

LK

SYS_C

LK

ENVSS_D

OSC

_OU

T

OSC

_IN

VD

D_X

2526272829303132

PAD

TRF7960A

MSP430Fxxxx

1kΩ1kΩ2.2μF 10nF

2.2μF 10nF

2.2μF 10nF

2.2μF 10nF

27pF

100Ω

2.2μF 10nF 0.1μF

3nF150nH

330nH

10pF

1.2nF

1.2nF

680pF

220pF

680pF

100pF

27pF

TRF_CLK out (GPIO)

Reader Pwr. Enable

DATACLK (GPIO)

XIN

XOUT

DVcc

PX.7

PX.6

PX.5

PX.4

PX.3

PX.2

PX.1

PX.0

IRQ capable GPIO

PX.0

PX.01MΩ100pF

470kΩ

BAV17

Antenna

• RFID card sniffing solutionsProposed solution – schematic

27pF

10kΩ

Page 19: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

RF (divided, C7/C8)

DEMOD (no card)

DEMOD (card distance = 0cm)

Comp. OUT (card distance = 0cm)

Comp. OUT (card distance = 5cm)

Comp. OUT (no card)

Voltage differenceDelta Pulse Length (Bx – Ax)

HF RFID reader sniffing techniques

Proposed solution – System measurement

TX pulse = 15μs

• RFID card sniffing solutions

Page 20: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 20

HF RFID reader sniffing techniques

Proposed solution – Power consumption MSP/TRF 1/5

– Phase 1• Standby: MSP430 / TRF7060

– Phase 2• 13.56MHz Osc. Startup• MSP430 initialization 2msec.• TRF7960 programming

– Phase 3• TRF7960 regulator start-up 800μsec.

– Phase 4• 13.56MHz TX on 15μsec.

– Phase 5• Comparator count 2…10μsec

– Phase 6• MSP430 calculation/Status change 5μsec

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 21: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 21

HF RFID reader sniffing techniques

Proposed solution - Power consumption card read 2/5

Power consumption per 500ms Card polling interval @3.3V

Polling sequence

1 μAs<1μA<1μA500msStandby MSP430/TRF (only RC Osc. Running)Phase 1

<1μA

<1μA

60mA

3.5mA

1.5mA

TRF7960

1.5mA

1mA

1mA

1mA

1mA

MSP430

Average Current

5μsec

<10μsec

15 μsec.

800 μsec.

2msec.

Time

Phase 6

Phase 5

Phase 4

Phase 3

Phase 2

9.59 μAsTotal0.08 μAsMSP430 calculation / status change

0.01 μAsMSP430 Comparator count

0.9 μAs13.56MHz TX_ON @ TRF7960 (half power)

3.6 μAsTRF7960 regulator start-up

5 μAs13.56MHZ Osc. Stsart up / MSP430 init. / TRF7960 programming

EnergyDescription

Each ISO-15693 card polling requires about 9.6 μAs @3.3V

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 22: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 22

HF RFID reader sniffing techniques

TRF7960 energy consumption per ISO-15693 card read ≈ 415μAs.

37.76Transmit Next Slot CommandPhase G

309.2Additional Wait TimePhase F

1510.4Inventory Request CommandPhase A

68mA

TRF7960

1.5mA

MSP430

Average Current

5918.90

3624.96

323.3

37.76

75.52

Time (μsec)

Total

Phase E

Phase D

Phase C

Phase B

411.3 μAsTotal411.3 μAs

Tag response (with UID)

Tag wait time for response

EOF

SOF

Energy(μAs)

Description

Proposed solution - Power consumption card read 3/5

Power consumption per Card read @3.3V

• RFID card sniffing solutions

“TI Proprietary Information – Selective Disclosure

Page 23: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 23

HF RFID reader sniffing techniques

Proposed solution - Power consumption summary 4/5

• RFID card sniffing solutions

Power consumption stand-by (0.5s interval; MSP and TRF)1μAs

Power consumption per polling Interval (3ms, MSP and TRF)9.6μAs

Power consumption per UID Card read (6ms, MSP and TRF)415μAs

“TI Proprietary Information – Selective Disclosure

Page 24: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 24

HF RFID reader sniffing techniques

– Assumptions • Supply 3.3V• typ. Battery capacity 2500mAh• self discharge < 4% per year (linear)• Polling interval 500ms• 1x ISO-15693 card read per hour (includes false wake-up and power consumption doe to additional

ISO-15693 commands).

– Energy consumption per hour (7200 x polling & 1 x card read) :Stand-by = 7.2mAsPolling = 69.1mAs Card read = 0.415mAs

– Energy consumption per year (8760h):IOS -15693 reader 187mAh

Battery self discharge 100mAh

– Total Battery lifetimeAssuming a linear battery selfdischarge over the lifetime.

Proposed solution - Power consumption summary 5/5• RFID card sniffing solutions

Total: 76.715mAs = 21.3μAh

Total: 287mAh

> 8.7 years“TI Proprietary Information – Selective Disclosure

Page 25: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 25

HF RFID reader sniffing techniques• Summary

“TI Proprietary Information – Selective Disclosure

- Local RF regulation needsto be checked.

- Potential detection rangeissue.

- Low power consumption due to fast run in of the resonator.

- Additional components required=> PA / Antenna Switch

- No special mechanicsrequired

- Good protection against vandalism / fraud

Resonator approach

Misc. CommentsPower consumptionCost Mechanical Design

- Flexible SW solution- Good and accurate

detection range.- pure H-filed sensing possible

- Low power consumption due to well timed run in procedure.

-Reasonable as only a few additionalcomponents are required

-No special mechanicsrequired

- Good protection against vandalism / fraud

TRF/MSP H-Field sensor

- Very flexible SW solution- Good and accurate

detection range.- No additional read cycle

required

- Quite high due to long system run-in times to measure the RSSI.

- High pek current

- No additional components/ cost

-No special mechanicsrequired

- Good protection against vandalism / fraud

TRF796x RSSI check

- Several additionalcomponents

- Sensor measures E-Field; Card is using H-Field.

=> This may result in fault wake-ups.

- Reasonable power consumption due toadditional cap. sensordevice

- Quite expensive as several additionalcomponents required

- No special mechanicsrequired

- Good protection against vandalism / fraud

Capacitive proximity Sensor

- Potential reliability issues due to mechanical parts.

- Extreme low powerconsumption

-Reasonable

=> mechanical design/components may generate additional cost.

- Form factor limitation- Not for harsh

environment- No/Limited protection

against vandalism/fraud

Mechnical/ Optical

Page 26: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

12/16/2010 26

HF RFID reader sniffing techniques

– Ultra Low power, high resolution 13.56MHz ISO-15693 Card sniffer supporting a battery lifetime up to 8.7years @ 2500mAh/3.3V

– Flexible solution, completely SW controlled e.g. sensing rangecan be adjusted by using different supply and power (Half/Full) settings.

– Optimize detection range and timings which may further reduce the system power consumption.

– Extend to ISO14443A/B card read by connecting to TRF7960 RX_IN2 PIN => matching required.

• Summary and further improvements

“TI Proprietary Information – Selective Disclosure

Page 27: Low power sniffing techniques used in 13.56MHz RFID …e2e.ti.com/cfs-file/__key/CommunityServer-Discussions-Components... · Low power sniffing techniques used in 13.56MHz RFID reader

Thank you for your attention

HF RFID reader sniffing techniques