Maker.io main logo

Applications of RFID Sensing Project

2023-09-22 | By Aditya Mishra

License: General Public License

In the Winter of 2023 at UCLA, I investigated various applications of RFID Sensing. This is a very beginner-friendly experiment that can be done to learn about introductory Arduino/C++ and the scientific method.

All of the documentation for this project can be found on my GitHub here. I worked on this project with Rathin Singha- his information is included in the GitHub linked above.

 

Abstract

A commonality between a majority of the current applications is RFID’s use of object identification. For inventory management, object identification is done by assigning every item a unique RFID Tag. For access control and livestock tracking every person is given a unique RFID Identifier.

We believe RFID Sensing can be used for other applications. From Pichorim et. al, RFID Sensing is being used to measure soil moisture sensing for landslide monitoring.The use of RFID devices is a novel, low-cost solution that can provide real-time landslide prediction capabilities. Pichorim’s work reveals the ability for RFID Sensing to have widespread use outside of object identification.

This paper focuses on new applications of RFID Sensing inspired by Pichorim’s use of Received Signal Strength (RSS) to estimate Soil Moisture.

The new applications we will be focusing on are frequency of rotation of an RFID tag, velocity of an RFID tag in the plane facing the RFID reader, detection of different materials (in our experiment, phones), the angle of the RFID tag, and estimating the concentration of various soluble materials in water.

Background

The RFID wireless technology comes in handy in use cases where we don’t require a very high range or a large data rate, and require no/low power. RFID Sensing works with two components: tags and readers. RFID Tags have a microchip and antenna as shown in Figure 1. Communication is done between the reader and the tag; the RFID reader will send out a signal and an RFID tag will respond with its own custom signal that includes identifying information about an object.

 rfid

Figure 1: Labeled Diagram of a Passive RFID Tag with its components

The signal generated by the RFID Tag is a result of the radio signal (an electromagnetic wave) that is transmitted from the RFID Reader. The RFID tag "harvests" energy from the radio signal (the received electromagnetic wave induces a current in the tag’s antenna, which then powers the microchip; preparing the RFID tag for signal transmission) and then sends back a signal to the RFID reader. The RFID reader will finally decode the signal.

As mentioned earlier, there are two types of RFID tags: active and passive. Active RFID tags contain their own power source, passive RFID tags rely solely on the energy provided by the signal transmitted from the reader. In this paper, we will be focusing on applications observed with passive RFID.

Unfortunately, because the signals in passive RFID rely on harvested energy from the RFID reader, the signal is not very strong and can attenuate quickly. The measure of the strength of the radio signal that is received by the RFID reader from the RFID tag is called "RSS", which stands for "Received Signal Strength."

RSS can be used to estimate the distance between the tag and the reader, however, this estimation can be highly inaccurate due to noise and interference. However, in Pichorim’s work, RSS was used to accurately estimate soil moisture content. In our experiments, we also use the RSS values to explore further applications of RFID sensing.

Experiments

We performed our experiments with very simple components as stated below:

Electronics + RFID Apparatus

  • Arduino Uno (7 Arduino Jumper Cables, 1 USB 2.0 Printer Cable, Laptop [to interface with Arduino])
  • 1 RC522 RFID Reader
  • 1 S50 White Card (RFID Tag)

Extra Equipment for Effect of Different Materials Experiment:

  • iPhone with RFID Blocking Case
  • Android Phone with RFID Chip

Equipment for Extra Equipment for Estimating Concentration of Some Soluble Materials

  • 1 glass for holding liquid
  • Salt
  • Sugar
  • Coca Cola

setup1

Figure 2: Experiment Setup to estimate RSS using the RC522 RFID Reader, Generic

Figure 2 shows how the experiment was set up and how RSS Values were measured and displayed on the computer.

Note: The RC522 RFID reader does not directly measure RSS, instead, antenna gain is adjusted to estimate RSS. When the tag is situated at a greater distance, more antenna gain has to be set in order to detect a signal reflected back from the RFID tag. Therefore, a higher antenna gain implies a lower RSS and vice versa.

We used the work done by Chang Liu as a starting point for estimating RSS using the RC522 RFID Reader. (Links found in GitHub Repo) We had to further "up sample" the antenna gain to get a higher resolution reading of the RSS.

We then did experiments testing new applications such as frequency of rotation for an RFID tag, velocity of an RFID tag, detection of different materials, angle of RFID tag and estimating the concentration of various soluble materials in water.

Description of Different Experiments (setup)

RFID Tag Frequency of Rotations

  1. Ensure the RFID tag antenna and sensor are facing the RFID reader.
  2. Ensure RSS reading in the serial plotter is displayed.
  3. Rotate the RFID card on the axis.
  4. If done correctly, RSS/AG peaks and valleys should be seen periodically in the serial plotter.

RFID Tag Velocity

  1. Ensure the RFID tag antenna and sensor are facing the RFID reader.
  2. Ensure RSS reading in the serial plotter is displayed.
  3. Move the RFID tag towards and away from the RFID reader.
  4. If done correctly, the RSS value should be seen changing linearly with time in the serial monitor.

Detection of Different Materials

  1. Ensure the RFID tag antenna and sensor are facing the RFID reader.
  2. Ensure RSS reading in the serial plotter is displayed.
  3. Place the material in front of RFID tag.
  4. Observe the effect of material in the serial plotter (it is possible that there is no effect).

RFID Tag Angle 

  1. Ensure the RFID tag antenna and sensor are facing the RFID reader.
  2. Place the RFID tag at the base of the RFID reader.
  3. Ensure RSS reading in the serial plotter is displayed.
  4. Slowly tilt the top of the RFID tag away from the RFID reader.
  5. Observe the effect of changing the angle in the serial monitor/plotter.

Estimating the Concentration of Some Soluble Materials in Water

  1. This procedure is more complicated and requires modifying the base code of Chang Liu’s work to scan through all antenna gain values to measure the exact antenna gain value at which the RFID tag is detected. The changes can be found on the GitHub linked above.
  2. Ensure the RFID tag antenna and sensor are facing the RFID reader.
  3. Ensure RSS reading in the serial plotter is displayed.
  4. Place the empty glass in the same location where a valid reading was obtained.
  5. Fill the glass with liquid (any liquid).
  6. Submerge the RFID tag in liquid
  7. Observe the effect of changing the liquid on the RSS reader (it is possible there is no effect).

Results and Discussion

We were able to notice trends in all the experiments we ran. However, we could not quantify our results to the extent we wanted to. We discuss our improvements in the future work section.

RFID Tag Frequency of Rotation

  1. Rotating the tag resulted in peaks where RSS Increased whenever the RFID tag face (with the chip and antenna) was directly facing the RFID reader.
  2. When the RFID face was perpendicular to the RFID reader (i.e., the thin part of the RFID tag was facing the RFID reader) RSS decreased to 0. This resulted in valleys in the graph. This is because the RFID tag was unable to harvest the RFID reader’s transmitted radio signal. Therefore, the RFID could not transmit to the RFID reader, causing RSS to decrease.
  3. Using these results, we can determine the frequency of rotation by analyzing the period of the RSS signal. The period of the RSS signal is half the frequency of rotation.
  4. Using this simple setup, we could measure angular speedup to 100 rpm with an accuracy of 93%
  5. Here we can also use FFT to accurately measure the frequency of the periodic signal.

RFID Tag Velocity

  1. Moving the RFID tag toward the RFID reader resulted in RSS spikes with a positive slope (RSS Increased over some time).
  2. Moving the RFID tag away from the RFID reader resulted in RSS spikes with a negative slope (RSS decreased over some time).
  3. The above results make sense as RSS can be used to estimate distance in a noiseless environment. Velocity is just a change in distance over time, so we can take the derivative of RSS to get velocity.
  4. Using these results, we can determine the velocity by analyzing the slopes of the spikes generated by moving the RFID tags. The velocity is correlated to the slope of the spikes. By using the slope, we get both the speed and direction. The speed is given by the magnitude of the slope and the direction is deciphered from the sign of the slope.
  5. Using this method, we were able to achieve 97% accuracy in the measurement of the velocity of the tag up to 40 cm/s.

Detection of Different Materials

  1. We only experimented with phones but noticed some interesting results.
  2. iPhone decreases the RSS value: however, Android increased it or had no effect.
  3. iPhone:
    • (a) We initially tested an iPhone with an RFID protective case. We believed the RFID protective case was decreasing the RFID reading.
    • (b) However, the iPhone by itself was also decreasing RFID reading.
    • (c) This may be due to the metallic body of the iPhone which is blocking RFID signals.
  4. Samsung Galaxy S20 FE 5G
    • (a) We placed the 4 corners of the Galaxy in front of the RFID tag.
    • (b) For 3 of the corners, there was no effect on RSS.
    • (c) However, for one corner, RSS spiked.
    • (d) We looked at documentation for the device and saw there is an RFID in the Samsung phone itself at that location, which is likely what accounted for the spike in RSS.
    • (e) What is more interesting, is that the metal that the Galaxy is made of is different than the iPhone -it would be worthwhile to explore if the choice of an RFID blocking/non blocking material was a conscious one.

RFID Tag Angle

  1. As we gradually increased the angle, we noticed that the RSS decreased. This decrease occurred as a result of the distance from the RFID reader increasing as the angle increased.
  2. However, we initially did not get very precise answers (i.e., threshold changed too slowly to estimate the angle accurately).
  3. We attempted to resolve this issue by up-sampling the antenna gain, this gave us more precise results, but our improvements were marginal.
  4. We believe these results occur because the sine of the angle is what is really being measured (the distance of the tag from the reader is proportional to the sine of the angle the RFID card is making with vertical) and as we know the sine does not increase linearly. This should account for the large "windows" we observed in the measured levels for large angles.
  5. We estimated the following angles: 0, 30, 45, 60, and 90 degrees and we could accurately measure them with an average error of 12%

concentration

Figure 3: Variation of Antenna Gain with Concentration of Soluble

Estimating the Concentration of Some Soluble Materials in Water

Measuring the effect of various liquids (keeping the distance between the tag and reader constant) on the RSS of an RFID tag gave surprising results. Refer to Figure 4 for the summary.

  1. Air
    1. Antenna Gain Value: 32
    2. This was the control value, the value of the RFID card by itself.
  2. Water
    1. Antenna Gain Value: 32
    2. This was the RSS obtained by submerging the RFID card in bottled water.
    3. This result was surprising as water is a known RFID blocker
    4. We learned that RFID blocks water due to its polar nature - which results in a high dielectric constant and affects the RSS.
    5. However, the effect of water is highly affected by the amount of water present, in our experiment we could only test with limited amounts of water due to the RC522’s limited range.
    6. Also, because we are experimenting with a small range in our setup and the water is still, it is not attenuating the signal observably as compared to air. And we can’t achieve very high precision in our setup because of the limitation of our apparatus.
  3. Sugar Water
    1. Antenna Gain Value: 40
    2. This was the RSS value obtained by submerging the RFID card in sugar water
    3. This was also surprising as we expected the addition of sugar (a polar substance) to affect the RSS significantly as additional substances in the water ought to block RSS.
    4. NOTE: We ended up significantly increasing the concentration of sugar in the solution and the measured Antenna Gain did slightly increase. This implies that the polarity of the water was increased to affect the dielectric constant. However, the blocking is very minimal even with saturated sugar solution. Refer to Figure 3.
  4. Coca Cola
    1. Antenna Gain Value: 36
    2. These were the RSS values obtained by submerging the RFID card in Coca-Cola
    3. This was as surprising as sugar water because we expected the addition of additional substances to affect RSS, but it was almost the same as water. And because Coca-Cola contains some sugar, we see a slight increase in the Antenna Gain.
  5. Salt Water
    1. Antenna Gain Value: 112
    2. We did not expect the extreme effect of saltwater considering sugar had a very minimal effect.
    3. This result likely occurs because salt dissolves into Positive and negative ions in water, amplifying the same polar effect that occurs in regular water and sugar water.
    4. Also, the dissolved ions can cause absorption and scattering of electromagnetic waves like RFID signals. The ions also create a conductive environment that causes interference and significantly reduces the signal strength which makes it difficult for the reader to detect the RFID tag.
    5. Thus, the dielectric constant of the solution changes more extremely, causing the Antenna Gain to increase, decreasing RSS.

sol

Figure 4: Results of the effect of soluble materials on Antenna Gain

Future Work

We realized new applications of RFID sensing, however, we believe we can improve our results to achieve more interesting insights; specifically, by quantifying some of our measurements.

Our future works can be found in the GitHub linked above, additionally, my Maker.io profile has information about solubility experiments I did in Spring 2023.

Conclusion

In this project, we showcased different use cases where RFID sensing can be useful. We also proposed a very simple experimental setup, with minimal apparatus for each of the use cases, and analyzed the results. We encountered some unexpected results (e.g., a sudden decrease in RSS for saltwater) which motivated us to do more research to determine the underlying reason for the phenomena. Although our setup has some limitations we are still able to get measurements that are coherent with the existing explanations. There are many more things that we couldn’t explore due to time restrictions.

References

[1] Student Member IEEE Campbell W. Gourlay Simon J. Holder Aaron J. R. Hillier, Viktorija Makarovaite and IEEE John C. Batchelor, Senior Member. A passive uhf RFID dielectric sensor for aqueous electrolytes. In IEEE SENSORS JOURNAL, VOL 19, 2019.

[2] Chang Liu. RFID (rc522) simple signal strength selection via changing antenna gain. In Mendeley Data, February 2018.

[3] Michael Hölzl Michael Roland. Evaluation of contactless smartcard antennas. In Technical Report, University of Applied Science, 2015.

[4] Nathan J. Gomes Sérgio Francisco Pichorim and John C. Batchelor. Two solutions of soil moisture sensing with RFID for landslide monitoring. In MDPI, Basel, Switzerland, January 2018.

 

制造商零件编号 CN0090
RC522 RFID MODULE
SunFounder
制造商零件编号 A000066
ARDUINO UNO R3 ATMEGA328P BOARD
Arduino
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum