Académique Documents
Professionnel Documents
Culture Documents
MobileKnowledge
February 2015
Agenda
► NXP portfolio
NFC Reader IC overview
LPC microcontrollers overview
Training
2
Recap of the previous session
Steps to design a contactless reader
3
Typical contactless reader architecture
Firmware SAM
Training
4
Steps to design a contactless reader
► Power consumption
Handheld contactless reader will require low energy
consumption
Training
5
Steps to design a contactless reader
► External interfaces
Selection of contactless reader IC
1 Which transponder do we need to interact with?
Serial, USB, Ethernet
RF connectivity (BL, Wifi, Zigbee,…)
► SW architecture
Selection of Host
2 The brain and heart of our contactless reader
How heavy or light are the processing power requirements?
(MCU clock)
► Host architecture
Impact on development environment and source code libraries
► Memory requirements
Flash, RAM, ROM
► Power requirements
► Specific requirements
Secure EEPROM to store keys?
Crypto accelerators?
► Manufacturer support
Training
6
Steps to design a contactless reader
► Host / MCU
Selection of contactless reader IC
1 Which transponder do we need to interact with?
Microcontrollers are not designed and developed to securely
store and maintain cryptographic keys since they don’t offer
reliable protection and security mechanisms
They do not widely implement HW-based crypto-processors,
Selection of Host
2 The brain and heart of our contactless reader
so the execution of these crypto algorithms is not efficient
Training
7
Steps to design a contactless reader
Selection of Host
2 The brain and heart of our contactless reader
Today’s
4 Antenna design session
5 GO!
Training
8
Antenna principles
Magnetic field
► The strength of the magnetic field decreases with the distance from
the wire.
Training
10
NFC antenna: Transformer principle
Training
11
NFC antenna: Transformer principle
Coupling coefficient
Φ
The position of the conductor loops in relation to each other
The magnetic properties of the medium (μ0)
𝒌
0<𝑘<1
𝑘 =1 total coupling
𝑘 =0 full decoupling
𝑰
+ −
𝑼𝑰
Energy
𝑟2 𝐴2
𝑘 = μ0 · ·
Data
2 𝑟2+𝑥2 3 𝐿01·𝐿02
𝑃𝑒𝑟𝑚𝑒𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝐺𝑒𝑜𝑚𝑒𝑡𝑟𝑖𝑐𝑎𝑙 "𝐹𝑖𝑥𝑒𝑑"
𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑞𝑢𝑎𝑛𝑡𝑖𝑡𝑦
Training
12
NFC antenna: Transformer principle
Mutual inductance
𝑰
+ −
Energy 𝑼𝑰
Data 𝑀 = 𝑘 · 𝐿1 · 𝐿2
𝑉20 = ω · 𝑀 · 𝐼1
Training
13
Optimum antenna size
𝑟2 𝐴2
𝑘 = μ0 · 2 2 3
·
2 𝑟 +𝑥 𝐿01·𝐿02
𝑟=𝑥
Training
14
Optimum antenna size
► Card A:
PCD r=2 cm x ≈ 5.5 cm
PCD r=5 cm x ≈ 7.2 cm
► Card B:
𝑪𝒂𝒓𝒅 𝑪
PCD r=2 cm x ≈ 2.8 cm
PCD r=5 cm x ≈ 1.8 cm
𝑪𝒂𝒓𝒅 𝑩
► Card C:
PCD r=2 cm x ≈ 2.2 cm
PCD r=5 cm x ≈ - cm
𝑪𝒂𝒓𝒅 𝑨
Training
15
Antenna matching steps
NFC antenna matching steps
Fine tuning
6 Simulation and field measurement
Antenna
Training
17
NFC antenna matching
Step 1: Define target impedance
Antenna and
Maximum output power Minimum current Matching circuit
(Operating distance) Consumption (Battery life)
Training
18
NFC antenna matching
Step 2: EMC filter design
► The EMC is a low pass filter reducing 2nd and higher ► A convenient cutoff frequency ( 𝑓𝑐 ) is between:
harmonics and performs impedance transformation 𝑓𝑐 = 14.5 𝑀𝐻𝑧 … 22 𝑀𝐻𝑧
TVDD
PVDD ► We begin specifying 𝐿0 , this range of values have proven
PVSS RX to be very useful in practice:
Training
19
NFC antenna matching
Step 3: Measure antenna coil
TVDD
PVDD
PVSS RX
Receiver
Circuit
VMID
NRSTPD
IRQ
Contactless
Reader IC TX1
DVDD
DVSS
TGND Matching
Circuit
AVDD
AVSS
TX2
DONE
Training
20
NFC antenna matching
Step 3: Measure antenna coil
► The antenna loop has to be connected to an impedance High-end network analyzer (i.e. Rohde & Schwarz ZVL)
or network analyzer at 13.56 MHz to measure the series ► Powerful, accurate and easy to use
equivalent components
Training
21
NFC antenna matching
Step 3: Measure antenna coil
Practical approach:
► Measure La, Ra and estimate Ca.
► And imprecise measurement suffices for us,
as the measured values are needed only as
starting points and the tuning will be done
later.
𝐿𝑎 ≈ 1.5 μ𝐻
𝑅𝑎 ≈ 2.8 Ω
𝐶𝑎 ≈? 𝐶𝑎 ≈ 1 𝑝𝐹
► Typical values:
𝐿𝑎 = 0.3 μ𝐻 … 4μ𝐻
𝑅𝑎 = 0.3 Ω … 8 Ω
𝐶𝑎 = 1 𝑝𝐹 … 30 𝑝𝐹
Training
22
NFC antenna matching
Step 4: Adjust Q-factor
► A high Q factor leads to high current in the antenna coil ► The quality factor of the antenna is calculated with:
and thus improves the power transmission to the ω · 𝐿𝑎
transponder 𝑄𝑎 =
𝑓 𝑅𝑎
𝐵=
𝑄 ► If the calculated 𝑄𝑎 is higher than the target value, an
external damping resistor (𝑅𝑞 ) has to be added.
► In contrast, the transmission bandwidth of the antenna is ► The value of (each side of the antenna) is calculated by:
inversely proportional to the Q factor.
A low bandwidth, caused by an excessively high Q factor, can ω · 𝐿𝑎
therefore significantly reduce the modulation sideband received 𝑅𝑄 = 0.5
from the transponder. 𝑄
𝑄 <𝑓·𝑇
𝑄 < 13.56𝑀𝐻𝑧 · 3μ𝑠
𝑄 < 40
e.g.: ISO/IEC 14443-A @ 106Kbps
Training
23
NFC antenna matching
Step 5: Calculate matching components
Matching condition
TVDD 𝑍𝑡𝑟 = R 𝑡𝑟+ jX𝑡𝑟
PVDD
∗
PVSS RX
𝑍𝑡𝑟 = R 𝑡𝑟- jX𝑡𝑟
VMID DONE NEXT STEP DONE
NRSTPD Contactless
Reader IC
IRQ
TX1
DVDD
DVSS
∗
𝑍𝑚𝑎𝑡𝑐ℎ TGND 𝑍𝑡𝑟 𝑍𝑡𝑟
AVDD
AVSS
TX2
OSCIN OSCOUT
Training
24
NFC antenna matching
Step 5: Calculate matching components (II)
http://www.nxp.com/documents/other/AN11246_239810.zip
Training
25
NFC antenna matching
Step 6: Fine tuning. Why is it required?
Simulation: RFSim99 software tool Reality: matching circuit assembled
http://www.electroschematics.com/835/rfsim99-download/ and measured with miniVNA
Training
26
NFC antenna matching Reality
(miniVNA)
Step 6: Fine tuning. Adapt simulation
Simulation
(RFSim99)
Training
27
NFC antenna matching Simulation
Step 6: Fine tuning. Correct simulation (RFSim99)
Reality
(miniVNA)
► Tune damping resistor (RQ ) and matching circuit
capacitors (C1, C2 ) until the simulated circuit is matched.
► Then, assemble the components again and measure
reality.
► The actual adjustment may be reached through a process
of iteration.
Training
28
NFC antenna matching
Step 6: Fine tuning (II): Measurements on the Tx pulse
𝐼𝑇𝑉𝐷𝐷
TVDD ► Connected and check 𝐼𝑇𝑉𝐷𝐷 current does not exceed a
PVDD
RX
certain value
PVSS
Receiver ► Check 𝐼𝑇𝑉𝐷𝐷 current without card and all loading conditions
Circuit
VMID Reference PICC, phone, different cards , etc
NRSTPD
IRQ
DVDD
DVSS
TGND ► For PN512 reader IC:
𝐼𝑇𝑉𝐷𝐷 < 100 𝑚𝐴
AVDD
AVSS
TX2
OSCIN OSCOUT
Training
29
NFC antenna matching
Step 7: Receiver circuit
PVDD
TVDD
𝐶𝑣𝑚𝑖𝑛𝑑 = 100 𝑛𝐹
𝐶𝑟𝑥 = 1 𝑛𝐹
PVSS RX
► Typical values:
VMID 𝑅2 = 1 𝑘Ω
NRSTPD
IRQ 𝑅𝑥 =? 𝑘Ω
Contactless
Reader IC TX1
DVDD
DVSS
TGND
AVDD
AVSS
TX2
OSCIN OSCOUT
Training
30
NFC antenna matching
Step 7: Receiver circuit. Adjust Rx level
AVDD
𝑅𝑥 = 12 𝑘Ω … 18 𝑘Ω
AVSS
TX2
► If 𝑈𝑅𝑥 > 1,7 Vpp increase 𝑅𝑥
OSCIN OSCOUT ► If 𝑈𝑅𝑥 < 1 Vpp decrease 𝑅𝑥
Training
31
Environment effects
Metal environment influences
Eddy currents
► Metal surfaces in the immediate vicinity of the reader ► Ferrites are basically poor electrical conductors but are
antenna have several negative effects. very good at propagating magnetic flux (mostly of iron
oxide Fe2O3)
► Our reader antenna’s magnetic field generates eddy
currents in metallic surfaces. ► The ferrite material “shields” the metal behind it.
► These eddy currents produce a magnetic flow opposite to ► It significantly reduces the generated eddy currents
that of the reader device
Training
33
Shielding and environment impact
Air coil
► The figures show three different field strength
characteristics over reading distance x, for the same
antenna coil:
Free air coil (7.5 cm)
Coil surrounded by a metal plate (5 cm)
Coil surrounded by a metal plate shielded by a ferrite plate (7.5
cm)
With metal
► We can achieve almost original operating distance using
ferrite shielding. However, the ferrite detunes the antenna
and produces:
Increase inductance
Increase Q-factor
Changed magnetic field distribution
Ferrite shielding
environment.
Training
34 34
Ferrite shielding recommendation
Training
35
Test and Qualification
What must be tested?
FIELD STRENGTH
Power WAVE SHAPES
Transmit Data LOAD MODULATION
Receive Data
Training
37
Tests for NFC antenna performance
► Test standard: ISO/IEC 10373-6 ► Test standard: NFC Analog ► Test standard: EMV
Proximity cards Technical Specification Contactless Specifications for
► Tests for PICC and PCD ► Mandatory for NFC Forum Payment Systems (Book D).
devices ► Test for PICC and PCD
► Type A and Type B
► NFC-A, NFC-B & NFC-F ► Type A and Type B
► Bit rates: 106, 212, 424, 848
Kbps ► Defines analog tests for NFC ► Only for 106 Kbps
devices (P2P, Reader and Card
► No certification available
modes)
► Applicable for public transport,
► Bit rates: 106, 212, 424 Kbps
access control, ePassport & eID
etc ► Certification process available
for NFC compliance
► Applicable for mobile phones
Training
38
ISO/IEC 14443 Field strength test
► Main coil:
Represents the “real smartcard”.
Loads the field like a read card and allows to measure field
strength and test load modulation
Reference PICC
► ISO/IEC 10373-6 defines 6 reference PICCs :
Training
39
ISO/IEC 14443 Wave shapes test
Type A @106kbps
Training
40
ISO/IEC 14443 Load modulation test
Training
41
NFC Forum and EMVCo tests
“Reference PICCs”
► NFC Forum major analog NFC reader parameters: ► EMVCo major analog PCD parameters:
Polling Device Power Transfer (“Field strength“) Power Transfer PCD to PICC (“Field strength”)
Polling Device Modulation (“Wave shapes“) Requirements for Modulation PCD to PICC (“Wave shapes”)
Polling Device Load Modulation (“Load Modulation“) Requirements for Modulation PICC to PCD (“Load modulation”)
Many more Listening Device parameters: not part of this
webinar.
Training
42
NFC antenna design
Wrap up
► Metal around or behind the NFC antenna “kills“ the magnetic field.
Can be shielded with ferrite.
► The final design of an RFID/NFC antenna is quite straight forward
with the right tools.
► Different requirements depending on ISO/IEC1443, NFC Forum and
EMVCo
Use the correct reference tools (ref PICCs, Oscilloscope, PC tools
Or use test house services
Training
43
Further information
NFC Reader Design: Antenna design considerations
Training
44
MobileKnowledge
Thank you for your attention
www.themobileknowledge.com
Eric Leroux
eric.leroux@themobileknowledge.com
+34 629 54 45 52
Training
45