230 likes | 428 Views
EPCglobal Training Suite. UHF Class 1 Gen 2 Reader and Tag. Introduction. Tag Protocol - UHF Class 1 Gen 2 Ultra High Frequency (UHF) Generation 2 (Generation 1 is deprecated) Class 1. Tag Memory. Four Memory Banks Reserved Bank (00) Uses for Tag operation control EPC Bank (01)
E N D
EPCglobal Training Suite UHF Class 1 Gen 2 Reader and Tag
Introduction • Tag Protocol - UHF Class 1 Gen 2 • Ultra High Frequency (UHF) • Generation 2 (Generation 1 is deprecated) • Class 1
Tag Memory • Four Memory Banks • Reserved Bank (00) • Uses for Tag operation control • EPCBank (01) • Uses for storing EPC • TIDBank (10) • Uses for storing unique Tag Identification (TID) • UserBank (11) • Uses for storing user defined fields
Tag Memory • Reserved Memory • [00-1F] Kill Password • [20-3F] Access Password • EPC Bank • [00-0F] Cyclic-Redundancy Check • [10-1F] Protocol Control • [20-xx] Electronic Product Code
Tag Memory • TID Bank • [00-xx] Tag Identification • User Bank • [00-07] Data Storage Format Identifier (DSFID) • [08-xx] User Defined Fields
Reader Commands • Select Commands • Selects Tag groups to communicating • Inventory Commands • Collecting EPC of Tags in reading range • Access Commands • Access data of specified Tag
Reader Commands • Select Commands • Selects Tag groups to communicating • Commands • Select
Reader Commands • Select Commands • Select can assert or deassert a Tag’s SLflag, or it can set a Tag’s inventoriedflag to either A or B in any one of the four sessions. Tag’s flags The conditions to check a tag is matching or non-matching
Reader Commands • Inventory Commands • Collecting EPC of Tags in reading range • Commands • Query, QueryAdjust, QueryRep, ACK, NAK
Reader Commands • Query • Query initiates and specifies an inventory round. Choose a group of tags Tag will pick a random value (slot) in the range2Q−1 If Tag’s slot = 0, the Tag reply RN16.
Reader Commands • QueryAdjust • QueryAdjust adjusts Q without changing any other round parameters. Tag will pick a NEW random value in the range2Q−1 If Tag’s slot = 0, the Tag reply RN16.
Reader Commands • QueryRep • QueryRep instructs Tags to decrement their slot counters. • If slot = 0 after decrementing, it will backscatter an RN16 to Interrogater. If Tag’s slot = 0, the Tag reply RN16.
Reader Commands • ACK • ACK echoes the Tag’s backscattered RN16. Tag reply to a successful ACK command
Reader Commands • NAK • Any Tag that receives a NAK shall return to the arbitrate state without changing its inventoried flag (unless the Tag is in ready or killed).
Reader Commands • Command Sequence (Inventory)
Reader Commands • Access Commands • Access data of specified Tag • Commands • Req_RN, Read, Write, Kill, Lock, Access, BlockWrite, BlockErase
Reader Commands • Access • AccessPassword (32 bits) • Using access password before accessing Tag data • Read • MemBank • Select which Tag Memory Bank to be read • WordPtr • Specify start reading point. A word is 16 bits • WordCount • Specify how many words to be read • Write • MemBank • Select which Tag Memory Bank to be write • WordPtr • Specify start writing point. A word is 16 bits • Data • The data to be written in MemBank. Writing a word (16 bits) at a time
Reader Commands • Kill • KillPassword(32 bits) • Req_RN • Instructs a Tag to backscatter a new RN16. • Lock • Lock / Unlock / PermaLock • Mask (10 bits) and Action (10 bits)
Reader Commands • BlockWrite • MemBank • Select which Tag Memory Bank to be written • WordPtr • Specify start writing point • WordCount • Specify how many words to be written • Data • The data to be written in MemBank. Datalengthis (16bits * WordCount) • BlockErase • MemBank • Select which Tag Memory Bank to be erased • WordPtr • Specify start erasing point • WordCount • Specify how many words to be erased
Collision Problem • What is Collision? • Readers and Tags can not resolve noise signal into correct messages • The radio interference, the noise, is occurred when multiple radio signal of the same frequency are raised at the same time • Reader Collision • Two or more Readers communication with the same Tag • Tag Collision • Two or more Tags communication with the same Reader
Solutions of Collision Problem • Reader Collision • Time Division Multiple Access (TDMA) • Readers send commands in different time slot • Frequency Division Multiple Access (FDMA) • Readers send commands by different radio frequency • Tag Collision • Slotted Aloha • Tags send messages in different time slot • Tree Walk • The Tags have the number that Reader specified can response