RFID Guide: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
Line 1: Line 1:
{{#seo:|description=Radio Frequency Identification  (RFID) tags store data and are used to identify people, animals, or objects. Learn more here.}}
{{TOC limit|2}}
[[Category:IntroGuide]]
__TOC__


==Introduction==
== What is RFID? ==
[[Image:1024.jpg|400px|link=|right]]
RFID (radio frequency identification) systems use data strings stored inside RFID tags (or transponders) to uniquely identify people or objects when they are scanned by an RFID reader.  These types of systems are found in many applications such as passport protection, animal identification, inventory control systems, and secure access control systems.
<br clear=all>


==Principles of operation==
RFID, short for Radio Frequency Identification, is a system for identifying the presence of objects by attaching small "tags" that contain a unique identifying code. The code can be read when the tag comes within range of an RFID reader.  
RFID works on the same principle as a transformer.  When the reader is powered up, it gives power to a large coil. The coil creates an external magnetic field which can then be paired with a coil inside a nearby tag.  This delivers a small amount of power wirelessly to the tag.  With that power, the tag is able to access a small internal memory bank and transmit a key string back to the reader via modulation on the wireless signal.


==RFID Protocols==
In order for an RFID reader like the [{{SERVER}}/products.php?product_id=1024 1024 - PhidgetRFID Read/Write] to communicate with an RFID tag, they must share a common protocol.  This protocol acts as a set of rules for the way data is transmitted wirelessly between the reader and tag. It's common for people to assume that an RFID tag and reader need only share the same operating frequency to be compatible, but they also need to use the same communication protocol. Check the user guide for your device to determine which protocols it supports.


Common RFID protocols:
*EM4100 Series
*ISO11784/ISO11785 (FDX-B)
*ISO18000-2
*ISO10536
*ISO14443
*ISO18000-3
*ISO18000-6
*EPC class 0
*EPC class 1
*EPC GEN II
*ISO18000-4
*Intellitag
*μ-chip


==Communication and Effectiveness==
{{HoverImageNoLink|TagReadH.jpg|TagRead.gif|link=}}
RFID tags come in two main varieties: passive and active. Active tags have their own power supply which they use to power an antenna to broadcast data.  Passive tags derive the power they require to operate directly from the RF output of the RFID reader, and no other power supply is necessary.  This makes passive tags cheaper to produce and much more suitable for common applications whereas active tags are used in situations where very large read distance is desirable(train cars for example are one of the few places active tags are used).  


Because passive tags require a strong RF field to operate, their effective range is limited to an area in close proximity to the RFID reader.  In the case of the PhidgetRFID, tags brought within approximately 3-4” of the reader can be read.  The distance over which the RFID tag is usable is affected by such things as the tag shape and size, materials being used in the area near the reader, and the orientation of the reader and tag in respect to each other and in their operating environment.  The smaller a tag, the closer it must be to the reader to operate. A reader's range cannot be increased with any sort of simple modification.


Some varieties of tags support writing. These tags can have any protocol or data written to them.
[[Image:tags.jpg|400px|link=|center]]


==Multiple Readers==
RFID technology is used in a wide array of applications, for example-
* Building security and access control
* Tracking library books
* Tracking farm animals or wildlife
* Interactive museum exhibits


Multiple RFID readers within 1 to 2 meters will interfere with each other. This can be overcome in software by enabling the antennae of individual RFID readers in sequence. Starting with all readers disabled, enable the antenna of the first RFID reader. Wait for 100ms or more to detect any tags. Disable the antenna of the first reader and enable the antenna of the second, and perform another wait cycle and repeat. This can cause some issues if the tag is expected to only be present for a short period of time since a particular reader may be inactive at that moment. For more details on this method, have a look at {{ARTICLE|MultipleRfidReadersCloseRange|this article}}.  
===How Does RFID Work?===
The RFID tag contains a loop of copper wire (or a thin copper circuit trace) connected to a tiny chip. The RFID reader has a large antenna that emits an electromagnetic field that will induce current in the copper loop inside any nearby tags. When the tag is energized in this way, the chip is programmed to broadcast its data to the RFID reader.  


The other way to attack this problem is to shield the readers from one another.  This is more difficult than it appears on the face of it however.  In general this will involve placing metallic barriers between the readers of indeterminate size.  The shielding required will vary from set up to set up but sufficed to say, air on the side of more shielding than less shielding in all situations and it may end up that shielding just isn't not drastic enough to work for your system in which case you will have to revert to plan A which is the polling method.
[[Image:RFID-diagram.jpg|link=|750px]]


==Multiple Tags==
Because of how inductive power works, the surface of the tag needs to be approximately parallel to the surface of the reader. If the tag is perpendicular to the reader (i.e. the edge of the card resting on the reader), the tag may not receive power at all.


While some RFID readers offer the capability to read multiple tags at once, the majority do not.  In order to read a tag, any other tags must first be removed from the reader's field of effect.
The distance at which the tag can be read depends on the size of both antennas, and also on the reader's operating frequency. Phidgets RFID readers and tags operate in the LF (Low-Frequency) band, which results in read distances of 5 to 10 centimeters.  


==RFID Tags==
==How Can I Use RFID With Phidgets?==


RFID tags come in a variety of shapes and sizes to suit various applications. All RFID tags '''of the same type''' sold by Phidgets are guaranteed to be uniquely identifiable, and are available as:
Building a simple RFID system with Phidgets is easy. Here's everything you'll need:


*30mm Disc Tags
[[Image:RFID-functional.jpg|link=|300px]]
*Credit Card Sized Tags
* A [{{SERVER}}/?tier=1&catid=81&pcid=72 RFID reader], like the 1024 - PhidgetRFID Read/Write
*Key Fob Tags (attach easily to key rings)
* Some [{{SERVER}}/?tier=1&catid=47&pcid=40 RFID tags]
*Wrist Strap Tags
* A mini-USB cable
*'Nail' Tags (Could be hammered into a crate)
 
*Threaded Cylindrical Tags
Next, go to the '''User Guide''' tab on the product page for your Phidget RFID reader. This will walk you through the installation of the Phidget libraries on your computer, and show you how to use the Phidget Control Panel to test out your Phidgets.
*Bird Leg Ring Tag
 
== Which RFID Tags Can I Use? ==
 
RFID is a very broad technology, with many different variants and options. All of the tags sold by Phidgets Inc. are compatible with our readers, but you may find you need tags that come in a different shape or form factor than what we offer. In order to check if an RFID tag can be used with a Phidgets RFID board, you should ensure that the '''Frequency''', '''Protocol''' and '''Chipset''' are all compatible.
 
===Antenna Frequency===
 
The antenna on our RFID boards operates within '''125-150 kHz''', also called "Low Frequency".
 
 
{|
! Band || Frequency || Typical Read Distance || Compatible with Phidgets
|-
| LF (Low Frequency)|| 125-150kHz || 5-10 cm || ✔️
|-
| HF (High Frequency) || 13.56MHz || 10cm - 1m || ❌
|-
| UHF (Ultra-High Frequency) || 300MHz - 3GHz || 2m - 12m || ❌
|}
 
 
===Tag Protocol===
For '''read-only''' tags, the data on the tag must be encoded according to one of these standardized protocols:
 
 
{|
! Protocol || Encoding || Tag String || Compatible with Phidgets
|-
| EM4100 / EM4102|| Manchester || 10-digit hexadecimal (0-9, A-F) || ✔️
|-
| ISO11785 FDX-B || BiPhase || 15-digit numeric || ✔️
|-
| PhidgetTag (ASCII) || BiPhase || 24-character plain text || ✔️
|}
 
 
For '''writable''' tags, the protocol is unimportant because they usually come blank, and if they are pre-written in an unsupported format, you can just rewrite them.
 
===Tag Chipset===
Each RFID tag contains a tiny microchip that determines how it communicates and what kind of special features it supports.
 
For '''read-only''' tags, the chipset is unimportant as long as the tag data is encoded in one of the supported protocols listed in the section above this one.
 
 
To use '''writable''' tags with Phidgets, the chipset must be '''T5577'''. Our RFID boards are only designed to write to tags with this specific chipset.
 
 
{|
! Chipset || Writable using Phidgets
|-
| T5577 || ✔️
|-
| EM4305 || ❌
|}
 
 
When shopping for tags online, be aware that some products may list multiple chipsets (e.g. both T5577 and EM4305) in the product title, probably to maximize search results. In these cases, it's best to check the datasheet to confirm which chipset is actually present inside the tag.
 
== Can I Use Multiple Readers? ==
 
If you try to use multiple RFID readers close to one another (in hopes of increasing your area of tag detection), you'll find that neither reader will be able to read the tag. This is because the antennas of the two readers interfere with one another, causing the tag to receive inconsistent power. The possible solutions are:
 
* Move the readers further apart, until tag reading is consistent
* Use the antenna enable/disable function in our API to cycle through each reader (see [{{SERVER}}/?view=articles&article=MultipleRfidReadersCloseRange this article] for details)
* Use metallic barriers to shield the readers from one another (not recommended, difficult to do properly)
 
== Quick Links ==
 
* [{{SERVER}}/?prodid=1023 Phidgets RFID Readers]
* [{{SERVER}}/?view=comparetable&rel=RFIDTag Phidgets RFID Tags]

Revision as of 21:15, 30 May 2023

What is RFID?

RFID, short for Radio Frequency Identification, is a system for identifying the presence of objects by attaching small "tags" that contain a unique identifying code. The code can be read when the tag comes within range of an RFID reader.


TagReadH.jpg TagRead.gif


RFID technology is used in a wide array of applications, for example-

  • Building security and access control
  • Tracking library books
  • Tracking farm animals or wildlife
  • Interactive museum exhibits

How Does RFID Work?

The RFID tag contains a loop of copper wire (or a thin copper circuit trace) connected to a tiny chip. The RFID reader has a large antenna that emits an electromagnetic field that will induce current in the copper loop inside any nearby tags. When the tag is energized in this way, the chip is programmed to broadcast its data to the RFID reader.

RFID-diagram.jpg

Because of how inductive power works, the surface of the tag needs to be approximately parallel to the surface of the reader. If the tag is perpendicular to the reader (i.e. the edge of the card resting on the reader), the tag may not receive power at all.

The distance at which the tag can be read depends on the size of both antennas, and also on the reader's operating frequency. Phidgets RFID readers and tags operate in the LF (Low-Frequency) band, which results in read distances of 5 to 10 centimeters.

How Can I Use RFID With Phidgets?

Building a simple RFID system with Phidgets is easy. Here's everything you'll need:

RFID-functional.jpg

Next, go to the User Guide tab on the product page for your Phidget RFID reader. This will walk you through the installation of the Phidget libraries on your computer, and show you how to use the Phidget Control Panel to test out your Phidgets.

Which RFID Tags Can I Use?

RFID is a very broad technology, with many different variants and options. All of the tags sold by Phidgets Inc. are compatible with our readers, but you may find you need tags that come in a different shape or form factor than what we offer. In order to check if an RFID tag can be used with a Phidgets RFID board, you should ensure that the Frequency, Protocol and Chipset are all compatible.

Antenna Frequency

The antenna on our RFID boards operates within 125-150 kHz, also called "Low Frequency".


Band Frequency Typical Read Distance Compatible with Phidgets
LF (Low Frequency) 125-150kHz 5-10 cm ✔️
HF (High Frequency) 13.56MHz 10cm - 1m
UHF (Ultra-High Frequency) 300MHz - 3GHz 2m - 12m


Tag Protocol

For read-only tags, the data on the tag must be encoded according to one of these standardized protocols:


Protocol Encoding Tag String Compatible with Phidgets
EM4100 / EM4102 Manchester 10-digit hexadecimal (0-9, A-F) ✔️
ISO11785 FDX-B BiPhase 15-digit numeric ✔️
PhidgetTag (ASCII) BiPhase 24-character plain text ✔️


For writable tags, the protocol is unimportant because they usually come blank, and if they are pre-written in an unsupported format, you can just rewrite them.

Tag Chipset

Each RFID tag contains a tiny microchip that determines how it communicates and what kind of special features it supports.

For read-only tags, the chipset is unimportant as long as the tag data is encoded in one of the supported protocols listed in the section above this one.


To use writable tags with Phidgets, the chipset must be T5577. Our RFID boards are only designed to write to tags with this specific chipset.


Chipset Writable using Phidgets
T5577 ✔️
EM4305


When shopping for tags online, be aware that some products may list multiple chipsets (e.g. both T5577 and EM4305) in the product title, probably to maximize search results. In these cases, it's best to check the datasheet to confirm which chipset is actually present inside the tag.

Can I Use Multiple Readers?

If you try to use multiple RFID readers close to one another (in hopes of increasing your area of tag detection), you'll find that neither reader will be able to read the tag. This is because the antennas of the two readers interfere with one another, causing the tag to receive inconsistent power. The possible solutions are:

  • Move the readers further apart, until tag reading is consistent
  • Use the antenna enable/disable function in our API to cycle through each reader (see this article for details)
  • Use metallic barriers to shield the readers from one another (not recommended, difficult to do properly)

Quick Links