Maker.io main logo

The effect of Solutes (specifically saltwater) on RFID RSS Project

2023-09-15 | By Aditya Mishra

License: General Public License RFID / NFC Arduino

In Spring 2023 at UCLA, I investigated the effect of various solutes on RFID RSS. Through the experiments, I was able to prove a strong, positive causation between Saltwater Concentration (%) and Antenna Gain (a measurement inversely proportional to RFID RSS)

This is a beginner-friendly experiment that can be done to learn about introductory Arduino/C++, Excel/Python, CAD, and the scientific method.

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

 

I strongly believe that this is an excellent experiment for students taking a Physics Course in High School or for an Introductory Physics Course to learn about basic coding, regression analysis, and CAD.

 

Abstract

 rfid image

Brief Overview of RFID

RFID Sensing is a versatile technology widely employed in various fields such as inventory management, access control, and livestock tracking. A key aspect of RFID application is the identification of objects or individuals through the use of unique RFID tags or identifiers. However, we believe that RFID Sensing has the potential to be applied in other domains as well.

Pichorim et al. have demonstrated a novel use of RFID Sensing in measuring soil moisture for landslide monitoring. This innovative approach offers real-time prediction capabilities for landslides using RFID devices. By utilizing RFID technology beyond its conventional role in object identification, Pichorim’s work highlights the extensive potential of RFID Sensing in diverse applications.

In particular, the purpose of our experiments were to expand upon results Aditya obtained last quarter while investigating unexplored applications of RFID Sensing (a secondary Digikey Blogpost for this can be found here). Last quarter, we initially obtained results showcasing the effect of saltwater on the RSS of an RFID signal.

Our original motivation for this project was to create a setup that measures chlorine concentration in water using RFID RSS. This would permit homeowners to measure chlorine levels in pools without the use of disposable test strips. Unfortunately, due to time constraints, we pivoted our motivation to accurately detect water salinity levels using a low-cost setup through RFID RSS.

This paper ultimately showcases the effect of various solutes in water on the effect of RFID RSS. We also performed a regression analysis showcasing strong causation between salinity and RFID RSS. Finally, we sought to explain the underlying cause for the effect that salinity/solutes have on RFID RSS. Our results and code can be found in a GitHub Repo found here

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.

diagram

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:

Experimental Apparatus

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)

Equipment for Extra Equipment for Estimating Concentration of Some Soluble Materials

  • 1 Glass for holding liquid.
  • Salt
  • Vinegar
  • Tape (for pinning down equipment to keep measurements consistent)

setup

 

Figure 2: Experiment Setup to estimate RSS using RC522 RFID reader

Figures 2, 3, and 4 show how the experiment was set up to collect RSS measurements. 

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.

Description of Experiment

 

The following procedure is necessary to estimate the concentration of 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. Our code is available in our GitHub Repository linked in the abstract.
  2. Ensure RFID tag antenna and sensor are facing the RFID reader
  3. Ensure RSS reading in the serial plotter is displayed.
  4. Place empty glass in a fixed location.
  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.

To change the concentration of the solution, add additional solute to the liquid in the cup.

topview

Figure 3: Top view of the actual experiment setup to estimate RSS using the RC522 RFID reader.

sideview

Figure 4: Side view of actual experiment setup to estimate RSS using the RC522 RFID reader.

Results and Discussion

It is important to note that all the following results were obtained with the RFID tag placed at the front of the cup.

Control: The effect of water on Antenna Gain

For our control we measure the AG without any water (only air in the cup) and the AG with pure water (no solutes in the liquid). We note there is a statistically significant effect of the presence of water on the measured AG. This result differs from what was previously obtained by Aditya last quarter. We are not fully sure why but believe this is likely attributed to the different cup shape. The cup shape last quarter resulted in the RFID tag being flush with the front of the cup - ultimately resulting in very little water coming in front of the tag. This quarter we used a more "bowl-shaped" cup that resulted in more water in front of the tag - affecting our measurements.

  1. AG without water (only Air): 176 ± 0
  2. AG with water (no solutes): 180 ± 0.81

The effect of the amount of water on Antenna Gain

There was no effect on the amount of water as long as the tag was fully submerged. It is important to note that for all future experiments, the card is fully submerged in the solution.

  1. Tag not fully covered: 175 ± 0.62.
  2. Tag barely fully covered: 180 ± 0.813.
  3. Tag fully covered: 180 ± 0.81

The effect of the addition of vinegar on Antenna Gain

As mentioned earlier, our original goal for this project was to see if RFID RSS could be used to estimate the concentration of chlorine in a solution.

We tested to see if the addition of an acid would have a statistically significant effect on RFID RSS. Unfortunately, we did not see a statistically significant effect on AG.

However, we believe this is likely due to the low concentration of acid in store-bought vinegar (about 4 %). Vinegar is a conductor (affects the dielectric constant - an indicator for affecting RSS; further discussed in the explanation section) and we believe a more concentrated vinegar solution would have an effect on RSS.

  1. Tag covered with water: 180 ± 0.812.
  2. Tag covered with water and vinegar: 181 ± 0.81

The effect of salinity on Antenna Gain

From our experiments last quarter, we already knew that salt would have an effect on AG. We had already observed that increasing salinity also increases AG however, we wanted to perform a regression analysis. The results of our experiments are shown in Figure 5.

The results of our regression analysis are shown in Figure 6, where we get an R2 of 0.92, indicating a strong, positive causation between saltwater concentration and the average measured AG value. Note, we removed our tested concentration of 18% from our regression analysis as water is super-saturated at that point - meaning that the AG reading was inaccurate (we could see solid salt in the solution).

Our slope of 0.39 indicates a 0.39 increase in AG for every percent salinity increased. This minimal marginal AG obtained as saltwater concentration increases is a limitation of our hardware and it would be interesting to experiment with other RFID readers to see if we could get different (i.e., a higher slope) results.

Results

Figure 5: Raw Data from Salinity Experiments

RegressionAnalysis

Figure 6: Regression from Salinity Experiments

Explanation of Saltwater Results

*Note: If you are trying to use this experiment for introductory students, this explanation is very involved. A more high-level explanation is sufficient :)

Saltwater effectively blocks RF signals because salt breaks down into ions, causing the liquid to be conductive. When the solution is conductive, the imaginary part of the permittivity in the complex system is higher. As a result of polarization from the radio-frequency signal, the imaginary part of its refractive index also increases, causing some of the waves to be reflected back upon reaching the surface. Therefore, the RF signal will have a lower penetration depth when the liquid is more conductive.

Saltwater increases the conductivity, or equivalently, the imaginary part of the permittivity because salt breaks down into Na+ and Cl ions when dissolved into a solution. Those non-neutral ions cause the liquid to be electrically conductive. The conductivity of the substance varies with a variety of additional factors such as temperature, pressure, and incoming wave frequencies. In this experimental setup, we use radio frequency to read the RFID tag and run in the room temperature environment with only atmospheric pressure applied to the liquid.

More in-depth explanations can be found in our GitHub Repo linked in the abstract.

Future Work

We would like to continue our Saltwater Analysis

  1. Create a 3D-printed "mount" that houses each component in a known location. This would enable us to have consistent "spacing" of all the apparatus. Currently, we rely on taping down all our equipment to maintain fixed distances between the RFID tag and the RC522 module. Maintaining consistent spacing using a 3D-printed mount as shown in Figure 7 would permit us to run future experiments.
  2. We would like to set up experiments to measure the effect of chlorine on RFID RSS.

3dmount

Figure 7: 3D Printed mount that ought to be used for future experiments (designed in Prusaslicer itself - great challenge to introduce students to CAD)

Conclusion 

In this project, we showcased the effect of different solutions on RFID RSS. We have an easily replicable experiment setup, with minimal apparatus for each of the use cases, and analyzed the results. Last quarter, we encountered some unexpected results (e.g., a sudden decrease in RSS for saltwater) which motivated us to do more research this quarter 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.

Acknowledgments

Thank You to Professor Omid Abari for teaching us the fundamental concepts that served as the foundation of this project. The last two quarters of instruction by you have been some of the most informative and enjoyable quarters we have had at UCLA. Additionally, thanks for the superb guidance on not just this project, but on this course as a whole. We thoroughly enjoyed this course. We learned valuable content that made us more interested in new connectivity technologies, our interest would not have been possible without your engaging instruction.

References

[1] Rathin Singha Aditya Mishra, Mark Theeranantachai. Solutionsaffecting RFID antenna-gain: https://github.com/morelap2015/solutionsaffecting-rfid-antenna-gain/tree/main. In UCLA CS 219 - IoT And Connectivity, 2023.

[2] Chang Liu. RFID (rc522) simple signal strength detection 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.

 

制造商零件编号 A000066
ARDUINO UNO R3 ATMEGA328P BOARD
Arduino
¥190.97
Details
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