CEC349 RFID Manual Final
CEC349 RFID Manual Final
LAB MANUAL
LAB MANUAL
SUBJECT CODE : CEC349
SUBJECT NAME : RFID SYSTEM DESIGN AND TESTING
YEAR : III
DEPARTMENT : ECE
SEMESTER : 06
REGULATION : 2021
PREPARED BY : Mr.M.IDHAYACHANDRAN
ASSISTANT PROFESSOR/ECE
VERIFIED AND : Dr. T. VENISHKUMAR
APPROVED BY HOD/ASP/ECE
STUDENT NAME :
REGISTER NUMBER :
YEAR / DEPT/SEMESTER :
CEC349-RFID SYSTEM DESIGN AND TESTING
MISSION
Graduates can
To provide the students with a strong foundation in the required sciences in
order to pursue studies in Electronics and Communication Engineering.
To gain adequate knowledge to become good professional in electronic and
communication engineering associated industries, higher education and research.
To develop attitude in lifelong learning, applying and adapting new ideas and
technologies as their field evolves.
To prepare students to critically analyze existing literature in an area of
specialization and ethically develop innovative and research oriented methodologies
to solve the problems identified.
To inculcate in the students a professional and ethical attitude and an ability to
visualize the engineering issues in a broader social context.
PROGRAMME OUTCOMES (POs):
SYLLABUS
List of Experiments
List of Experiments:
PO - CO Correlation Matrix
CO-PO, PO PO PO PO PO PO PO PO PO PO PO PO PSO PSO PSO
PSO 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
C605.1 3 3 3 2 2 3 1 - - 1 - 3 2 3 2
C605.2 3 3 3 2 2 2 1 - - 1 - 3 3 2 2
C605.3 3 3 3 2 3 2 1 - - 1 - 3 2 3 2
C605.4 3 3 3 2 2 2 1 - - 1 - 2 3 2 2
C605.5 3 3 3 2 2 2 2 - - 1 - 3 2 2 2
AVG 3 3 3 2 2.2 2.2 1.2 - - 1 - 2.8 2.4 2.4 2
CEC349-RFID SYSTEM DESIGN AND TESTING
INSTRUCTIONS TO STUDENTS
Before entering the lab the student should carry the following things.
Identity card issued by the college.
Class notes
Lab observation book
Lab Manual
Lab Record
Student must sign in and sign out in the register provided when attending the lab
session without fail.
Come to the laboratory in time. Students, who are late more than 15 min., will not be
allowed to attend the lab.
Students need to maintain 100% attendance in lab if not a strict action will be taken.
All students must follow a Dress Code while in the laboratory
Foods, drinks are NOT allowed.
All bags must be left at the indicated place.
The objective of the laboratory is learning. The experiments are designed to
illustrate phenomena in different areas of Physics and to expose you to measuring
instruments, conduct the experiments with interest and an attitude of learning
You need to come well prepared for the experiment.
Work quietly and carefully
Be honest in recording and representing your data.
If a particular reading appears wrong repeat the measurement carefully, to get a
better fit for agraph
All presentations of data, tables and graphs calculations should be neatly and
carefully done
Graphs should be neatly drawn with pencil. Always label graphs and the axes and
display units.
If you finish early, spend the remaining time to complete the calculations and
drawing graphs.Come equipped with calculator, scales, pencils etc.
Do not fiddle with apparatus. Handle instruments with care. Report any breakage to
the Instructor.Return all the equipment you have signed out for the purpose of your
experiment.
CEC349-RFID SYSTEM DESIGN AND TESTING
CONTENTS
Page
S. No. Name of the experiment
Number
1 Introduction HFSS 01
– Select Units: cm
SettingthesubstrateMaterial:
• From the Select Definition window, click the Add Material Button
AssigningBoundaryConditions:FiniteConductivity:
Assigning Finite Conductivity Boundary Condition
• Select the menu item Edit > Select > Objects
• Select the menu item Edit > Select > By Name
– Select the sheets named: patch, ground
• Select the menu item HFSS > Boundary > Assign > Finite Conductivity
• Click the OK button
CEC349-RFID SYSTEM DESIGN AND TESTING
• Using the coordinate entry fields, enter the Position – X: -1.5, Y: -1.8, Z: -0.4 Press the
Enter key
• Using the coordinate entry fields, enter the opposite corner of the base rectangle – dX: 3,
dY: 3.6, dZ: 0.8, Press the Enter key
• Select the menu item View > Fit All > Active View
• Select the menu item Edit > Select > All Object Faces
• Select the menu item HFSS > Boundaries > PML Setup Wizard – PML Setup Wizard: Cover
Objects.
• Select the menu item HFSS > Radiation > Insert Far Field Setup > Infinite Sphere
• Name: ff_2d
• Select the menu item HFSS > Excitations > Assign > Lumped Port
– Port Name: 1
– Conductor: ground
• Select the menu item HFSS > Analysis Setup > Add Solution
Iterative Solver
• Select the menu item HFSS > Analysis Setup > Add Frequency Sweep…
• Start: 8 GHz
• Stop: 12 GHz
• Fast - ALPS
– Matrix Data and Fields at every frequency in sweep
CEC349-RFID SYSTEM DESIGN AND TESTING
• Interpolating – Adaptively determines discrete solve points using the adaptive mesh
Analyze
• Save Project
– Filename: hfss_patch_ant
• Model Validation
• Note: To view any errors or warning messages, use the Message Manager.
• Analyze
PostProcessing:2DRectangularPlot,S-Parameters
• Create Reports
• Select the menu item HFSS > Results > Create Terminal Solution Data Report> Rectangular
Plot
– Domain: Sweep
• Category: S Parameter
• Function: dB
PostProcessing:FieldOverlay,E-Field
CreateFieldOverlay
• By moving the mouse, graphically highlight the top face of the substrate
• Click the left mouse button to select the face (use the ―B‖ key to select ―Next Behind‖)
• Select the menu item HFSS > Fields > Plot Fields > E > Mag_E
– Quantity: Mag_E
• Select the menu item HFSS > Fields > Modify Plot Attributes
– E-Field Window:
– Scale: Log
PostProcessing:2DRadiationPattern,Gain
Create Reports
• Select the menu item HFSS > Results > Create Far Fields Report> Radiation Pattern
– Geometry: ff_2d
• Category: Gain
• Quantity: GainTotal
• Function: dB
PostProcessing:3DRadiationPattern,Gain
Create a Radiation Setup
• Select the menu item HFSS > Radiation > Insert Far Field Setup > Infinite Sphere
• Name: ff_3d
• Create Report
• Select the menu item HFSS > Results > Create Far Fields Report> 3D Polar Plot
– Geometry: ff_3d
• Category: Gain
• Quantity: GainTotal
• Function: dB
PostProcessing:FieldOverlay,RadiationPattern
the menu item HFSS > Fields > Plot Fields > Radiation Field –
Visible
• Transparency: 0.75
• Scale: 0.25
• Click Apply
• Click Close
CEC349-RFID SYSTEM DESIGN AND TESTING
CEC349-RFID SYSTEM DESIGN AND TESTING
EXPT. NO.:1
Design of a Passive RFID Tag Antenna
DATE :
AIM:
To Design a Passive RFID Tag antenna for UHF frequency (300MHz – 1GHz) using
Ansys HFSS Software.
SOFTWAREREQUIRED:
THEORY:
A UHF passive RFID tag consists of four sub-components: RFID chip, an antenna, an
inlay, and a carrier. The RFID chip is an integrated circuit that provides several key attributes
related to operating frequency, memory type and capacity, data transmission/receipt, and power.
In other words, the chip is the brains of the RFID tag. The UHF passive RFID antenna, which is
attached to the chip, collects radio frequency waves used to power the chip. The antenna also
transmits attribute data from the chip. Together, the chip and the antenna comprise the RFID inlay.
An inlay is typically a plastic substrate that the chip and antenna are placed on so they
can be connected. Inlays come in two types: wet and dry. A wet inlay features an adhesive so it
can be applied to a surface; a dry inlay has no adhesive. The choice of inlay depends on the
purpose and placement of the tag on an object.
There are literally hundreds of different types of inlays, each designed with a specific
application in mind. Different industries have different requirements for inlays, so there are
inlays for pharmaceutical, automotive, retail, manufacturing, and healthcare applications. The
inlays are designed for optimum performance when affixed to the material they are intended for.
Inlay manufacturers ship their products to RFID tag producers, like Lowry Solutions, who then
produce finished products that are ready to be applied.
The carrier is the material or package that the inlay is placed in. The simplest carrier is
label stock (think barcode label), where the inlay is laminated into the label stock using
specialized converting equipment. Examples of other carriers include plastic capsules or ID
badges. Sometimes carriers are made of specialized materials that make it easy to mount the
RFID tag on liquid containers or metal, or in high-heat or hazardous environments. These types
of carriers are often referred to as ―hard tags.‖
CEC349-RFID SYSTEM DESIGN AND TESTING
UHFPASSIVERFIDTAGANTENNADESIGN:
DESIGN PARAMETER
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 92.5 ,0 ,0
X axis : 7.5 mm
Y axis: 41 mm
CREATE SUBSTRATE
Go to toolbar – click Box(3D) – click – left-hand side click -create Box – enter the value
CEC349-RFID SYSTEM DESIGN AND TESTING
Position : 0 ,0,0
X axis : 100 mm
Y axis: 41 mm
Lefthand side Right click box – Assign material- select- FR4 – click ok.
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 15 ,7,1.6
X axis : 40 mm
Y axis: 27 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
X axis : 29 mm
Y axis: 17.5 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 59,19.5,1.6
X axis : 41 mm
Y axis: 2 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
CEC349-RFID SYSTEM DESIGN AND TESTING
Position : 59,13.8,1.6
X axis : 3 mm
Y axis: 7.7 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 67,13.8,1.6
X axis : -8 mm
Y axis: 2 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 64,7,1.6
X axis : 3 mm
Y axis: 6.8 mm
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
Position : 55,7,1.6
X axis : 9 mm
Y axis: 2 mm
click Rectangle (Left-hand side) – Right click – select assign boundary – select perfect E
ASSIGNING PORT
Go to tool bar – visibility- change the axis xy-zx – click rectangular sheet –Draw the
rectangle – Right click- Assign Excitation- port-modal lumped port.
CEC349-RFID SYSTEM DESIGN AND TESTING
Go to tool bar – click HFSS- Select modal- click create open region- new box open- enter
the operating frequency value.
ANALYSIS SETUP
Go to project manager- right click analysis setup- select add solution setup-select
advanced-Driven solution setup window open-enter the frequency and number of pass
value (above 50 for fine refinement)- ok –sweep window open – change sweep type Fast-
change liner count to linear step- step size -0.01GHZ –click ok.
Go to toolbar – select simulation- click validation –new tick window open – everything is
correct all the fields getting green tick otherwise some red colour indication is shown-
then click analyze all
Inference:
VSWR GRAPH
Inference:
2D-RADIATION PATTERN
Go to project manager- select radiation- insert far-field setup-infinite sphere- window open
–enter 0 to 360 – click ok – go to result –create farfield report-select radiation pattern-
select rE-rE total-dB- New report- Ok.
Inference:
CEC349-RFID SYSTEM DESIGN AND TESTING
3D-RADIATION PATTERN
FIELD OVERLAY
Select Patch antenna – right click –plot field- Radiation fied - New window open- tick
visible –Apply
Select Patch antenna – right click –plot field- select E- Mag E- window open-
Radiating Surface- Done.
CEC349-RFID SYSTEM DESIGN AND TESTING
Select Patch antenna – right click –plot field- select E- Vector- E- window open-
All objects- Done.
Inference:
COMPUTE ANTENNA PARAMETER
Go to project manager- select radiation- select 3D- right click- select compute
antenna parameter.
CEC349-RFID SYSTEM DESIGN AND TESTING
RESULT:
CEC349-RFID SYSTEM DESIGN AND TESTING
EXPT. NO.:2
Design of an RFID Reader Antenna
DATE :
AIM:
To Design a Reader antenna (microstrip patch antenna) using Ansys HFSS
SOFTWAREREQUIRED:
Ansys HFSS (3D High Frequency Simulation Software)
THEORY:
A patch antenna is a type of antenna with a low profile, which can be mounted on a
surface. It consists of a planar rectangular, circular, triangular, or any geometrical sheet or
"patch" of metal, mounted over a larger sheet of metal called a ground plane. The two metal
sheets together form a resonant piece of microstrip transmission line with a length of
approximately one-half wavelength of the radio waves. The radiation mechanism arises from
fringing fields along the radiating edges.
The radiation at the edges causes the antenna to act slightly larger electrically than its
physical dimensions, so in order for the antenna to be resonant, a length of microstrip
transmission line slightly shorter than one-half the wavelength at the frequency is used. The
patch antenna is mainly practical at microwave frequencies, at which wavelengths are short
enough that the patches are conveniently small. It is widely used in portable wireless devices
because of the ease of fabricating it on printed circuit boards. Multiple patch antennas on the
same substrate called microstrip antennas, can be used to make high gain array antennas, and
phased arrays in which the beam can be electronically steered.
DESIGNEQUATIONS
W=
Designofmicrostrippatchantenna
DESIGN PARAMETER
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
X axis : 60
Y axis:60
CREATE SUBSTRATE
Go to toolbar – click Box(3D) – click – left-hand side click -create Box – enter the value
X axis : 60
CEC349-RFID SYSTEM DESIGN AND TESTING
Y axis:60
Z axis : 1.6
Assign material
Lefthand side Right click box – Assign material- select- FR4 – click ok.
CREATE PATCH
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
X axis : 38
Y axis:29.4
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
X axis : 5
Y axis:9.5
Go to toolbar – click Rectangular sheet (2D) – click – left-hand side click -create
Rectangle – enter the value
X axis : 3
Y axis:-30
click Rectangle (Left-hand side) – Right click – select assign boundary – select perfect E
ASSIGNING PORT
Go to tool bar – visibility- change the axis xy-zx – click rectangular sheet –Draw the
rectangle – Right click- Assign Excitation- port-modal lumped port.
CEC349-RFID SYSTEM DESIGN AND TESTING
Go to tool bar – click HFSS- Select modal- click create open region- new box open- enter
the operating frequency value.
ANALYSIS SETUP
Go to project manager- right click analysis setup- select add solution setup-select
advanced-Driven solution setup window open-enter the frequency and number of pass
value (above 50 for fine refinement)- ok –sweep window open – change sweep type Fast-
change liner count to linear step- step size -0.01GHZ –click ok.
Go to toolbar – select simulation- click validation –new tick window open – everything is
correct all the fields getting green tick otherwise some red colour indication is shown-
then click analyze all
Inference:
VSWR GRAPH
Inference:
2D-RADIATION PATTERN
Go to project manager- select radiation- insert far-field setup-infinite sphere- window open
–enter 0 to 360 – click ok – go to result –create farfield report-select radiation pattern-
select rE-rE total-dB- New report- Ok.
Inference:
CEC349-RFID SYSTEM DESIGN AND TESTING
3D-RADIATION PATTERN
FIELD OVERLAY
Select Patch antenna – right click –plot field- Radiation fied - New window open- tick
visible –Apply
Select Patch antenna – right click –plot field- select E- Mag E- window open-
Radiating Surface- Done.
CEC349-RFID SYSTEM DESIGN AND TESTING
Select Patch antenna – right click –plot field- select E- Vector- E- window open-
All objects- Done.
Inference:
Go to project manager- select radiation- select 3D- right click- select compute
antenna parameter.
CEC349-RFID SYSTEM DESIGN AND TESTING
RESULT:
CEC349-RFID SYSTEM DESIGN AND TESTING
AIM:
To determine the read range of RFID TAG at Ultra high frequency and Microwave
frequency.
SOFTWAREREQUIRED:
MATLAB
THEORY
Read range is the distance from which an RFID tag can be detected. The read range
expresses the distance from which the tag receives just enough power to be activated to send back
a signal to the reader.
The read range depends on whether the tag is active or passive. Active tags broadcast a
signal, so they have a much longer read range—300 feet or more—than passive tags. The read
range of passive tags depends on many factors: the frequency of operation, the power of the
reader, interference from other RF devices and so on.
In general, low-frequency and high-frequency tags are read from within three feet (1
meter) and UHF tags are read from 10 to 20 feet. Readers with phased array antennas can
increase the read range of passive tags to 60 feet or more.
860~960MHz.Ultra-HighFrequency(UHF)PassiveRFIDTags
The read distance of RFID mainly depends on the reader's power (module performance),
antenna size (antenna gain), tag size, and working environment.
MicrowaveFrequency2.4GHz
There are several different modulations for 2.45 GHz and you can also have real-time
location information from these active tags. Read range up to 100 meters.
• The Operating Frequency (or bandwidth if multiple frequencies) of the RFID system
• The RFID Reader and settings of the reader for the system
FREE-SPACEPATHLOSS
The free-space path loss (FSPL) is the attenuation of radio energy between the feed
points of two antennas that results from the combination of the receiving antenna's capture
area plus the obstacle-free, Line of sight (LoS) path through free space.
The "Standard Definitions of Terms for Antennas", IEEE Std 145-1993, defines freespace
loss as "The loss between two isotropic radiators in free space, expressed as a power ratio. It
does not include any power loss in the antennas themselves due to imperfections such as
resistance.
Free-space loss increases with the square of distance between the antennas because the
radio waves spread out by the inverse square law and decreases with the square of
the wavelength of the radio waves.
FREE-SPACEPATHLOSSFORMULAE
The free-space path loss (FSPL) formula derives from the Friis transmission
formula. This states that in a radio system consisting of a transmitting antenna transmitting
radio waves to a receiving antenna, the ratio of radio wave power received Pr to the power
transmitted Pt is:
Pr/ Pt= Dt
Dr
Where,
READRANGE
OUTPUT:
Result:
CEC349-RFID SYSTEM DESIGN AND TESTING
AIM:
Arduino IDE
THEORY
RC522 RFID Modules work on 13.56MHz which is based on the MFRC522 controller which is
designed by NXP Semiconductor. The RC522 module supports SPI and I2C communication
protocols. Here we are using the SPI communication Interface with the ESP32 board.
This module operates on a +3.3V/13-26mA Power Supply. The RFID reader automatically goes
to power save mode after its operation is complete and it takes a 10-13mA standby current. We
can use this RFID for inventory management, attendance system, access control system, etc.
CEC349-RFID SYSTEM DESIGN AND TESTING
RFIDRC522HardwareConnectionwithESP32
ReadtheMFRC522RFIDusingESP32
Here we are using MFRC522 libraries to read the RFID tag example. We will need to
install the MFRC522 library using the Arduino Library Manager.
CEC349-RFID SYSTEM DESIGN AND TESTING
Open the Arduino IDE and navigate to Sketch ► Include Library ► Manage Libraries…
Once you have installed the library, open the Examples submenu and choose MFRC522 >
DumpInfo example sketch.
CEC349-RFID SYSTEM DESIGN AND TESTING
Go to the beginning of the sketch and make sure RST_PIN is initialized correctly, in our case we
are using digital pin #5 so change it to 5
CEC349-RFID SYSTEM DESIGN AND TESTING
Now upload the sketch and open Serial Monitor. As you bring the tag closer to the module, you’ll
get something like the following. Do not move the tag until all the information is displayed.
It displays all the useful information about the tag including the tag’s Unique ID (UID), memory
size, and the entire 1K memory.
//this is the block number we will write into and then read.
int block=2;
CEC349-RFID SYSTEM DESIGN AND TESTING
void setup()
{
Serial.begin(9600); // Initialize serial communications with the
PC
SPI.begin(); // Init SPI bus
mfrc522.PCD_Init(); // Init MFRC522 card (in case you wonder what
PCD means: proximity coupling device)
Serial.println("Scan a MIFARE Classic card");
// Prepare the security key for the read and write functions.
for (byte i = 0; i < 6; i++) {
key.keyByte[i] = 0xFF; //keyByte is defined in the "MIFARE_Key" 'struct'
definition in the .h file of the library
}
}
void loop()
{
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent())
{ return;
}
{ retur
n;
}
Serial.println("card selected");
}
Serial.println("");
}
if (status != MFRC522::STATUS_OK) {
Serial.print("PCD_Authenticate() failed (read): ");
CEC349-RFID SYSTEM DESIGN AND TESTING
Serial.println(mfrc522.GetStatusCodeName(status));
return 3;//return "3" as error message
}
//reading a block
byte buffersize = 18;//we need to define a variable with the read buffer size,
since the MIFARE_Read method below needs a pointer to the variable that
contains the size...
status = mfrc522.MIFARE_Read(blockNumber, arrayAddress,
&buffersize);//&buffersize is a pointer to the buffersize variable;
MIFARE_Read requires a pointer instead of just a number
if (status != MFRC522::STATUS_OK) {
Serial.print("MIFARE_read() failed: ");
Serial.println(mfrc522.GetStatusCodeName(status));
return 4;//return "4" as error message
}
Serial.println("block was read");
}
Access Code
#include <SPI.h>
#include <MFRC522.h>
#include <LiquidCrystal.h>
#define RST_PIN 9
#define SS_PIN 10
byte readCard[4];
String MasterTag = "20C3935E"; // REPLACE this Tag ID with your Tag ID!!!
String tagID = "";
// Create instances
MFRC522 mfrc522(SS_PIN, RST_PIN);
LiquidCrystal lcd(7, 6, 5, 4, 3, 2); //Parameters: (rs, enable, d4, d5, d6,
d7)
void setup()
{
// Initiating
SPI.begin(); // SPI bus
mfrc522.PCD_Init(); // MFRC522 lcd.begin(16,
2); // LCD screen
lcd.clear();
lcd.print(" Access Control ");
lcd.setCursor(0, 1); lcd.print("Scan
Your Card>>");
}
void loop()
{
if (tagID == MasterTag)
{
lcd.print(" Access Granted!");
// You can write any code here like opening doors, switching on a relay,
lighting up an LED, or anything else you can think of.
}
else
{
lcd.print(" Access Denied!");
}
lcd.setCursor(0, 1);
lcd.print(" ID : ");
lcd.print(tagID);
delay(2000);
lcd.clear();
lcd.print(" Access Control ");
lcd.setCursor(0, 1); lcd.print("Scan
Your Card>>");
}
}
OUTPUT
CEC349-RFID SYSTEM DESIGN AND TESTING
Scan
CEC349-RFID SYSTEM DESIGN AND TESTING
CardUniqueID
KeyUniqueID:
CEC349-RFID SYSTEM DESIGN AND TESTING
AccessProgram:
AccessGranted:
AccessDenied:
CEC349-RFID SYSTEM DESIGN AND TESTING
RESULT: