Submitted:
12 March 2025
Posted:
14 March 2025
You are already at the latest version
Abstract
We describe an experiment in which we employ a radiofrequency sensor to measure pH changes in a liquid solution. The experiment is novel in a few ways. First, the sensor does not have contact with the liquid, but rather detects the change from the outside of a PVC pipe. Second, the change is detected using a Linear Discriminant Analysis model using values from an inverse Fourier transform of the frequency data as its features. We believe this to be the first use of Fourier anaylsis in contactless pH measurement using radio frequencies.
Keywords:
1. Introduction
2. Materials and Methods
- Rinse out the PVC cap with distilled water and dry with a lint-free towel.
- Install the PVC cap and antenna board into the fixture.
- Measure out 200.0g of distilled water on an AWS scale; part number AWS-600-BLK.
- Transfer the water into the cap, and allow it to settle for at least 20 seconds. Begin running microwave sweeps from 300MHz to 4100MHz at frequency intervals of 5MHz.
- This first “baseline” run performs 300 - 4100 MHz sweeps for 120 seconds, generating 47 rows of data, before pausing.
- Once paused, remove the determined replacement volume of water using a micropipette.
- Add the same replacement volume of acid solution to the cap vessel using a micropipette.
- Mix in the acid using back-and-forth stirring motions to avoid creating a lasting vortex. Take care not to move any component of the test fixture; avoid bumping the walls of the cap vessel with the stirring stick.
- After stirring, wait at least another 30 seconds and then restart the sweeps.
- This final “change” run performs 300 MHz - 4100 MHz sweeps for another 120 seconds, generating another 47 rows of data.
- Once the sweeps are complete and the script exits, dump the solution and rinse out the vessel with distilled water.
3. Results
3.1. Detection Algorithm
4. Discussion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| RF | Radio frequency |
| MRI | Magnetic resonance imaging |
| DFT | Discrete Fourier transform |
| IDFT | Inverse discrete Fourier transform |
| PCBA | Populated circuit board assembly |
| SMP | Sub-miniature push-on |
| PVC | Polyvinyl chloride |
| HCl | Hydrochloric acid |
| H2SO4 | Sulfuric acid |
| LDA | Linear discriminant analysis |
References
- Endress+Hauser, “pH measurement in industrial processes.” [Online] pp. 22–36. Available: https://portal.endress.com/dla/5000455/3062/000/0 1/CP00010C24EN1315_US%20ph%20sel%20guide.pdf.
- G. B. Penner, K. A. Beauchemin, and T. Mutsvangwa, “An Evaluation of the Accuracy and Precision of a Stand-Alone Submersible Continuous Ruminal pH Measurement System,” J. Dairy Sci., vol. 89, no. 6, pp. 2132–2140, Jun. 2006, . [CrossRef]
- B. M. Saalidong, S. A. Aram, S. Otu, and P. O. Lartey, “Examining the dynamics of the relationship between water pH and other water quality parameters in ground and surface water systems,” PLOS ONE, vol. 17, no. 1, e0262117, Jan. 2022, . [CrossRef]
- S. Viciano-Tudela, L. Parra, S. Sendra, and J. Lloret, “A Low-Cost Virtual Sensor for Underwater pH Monitoring in Coastal Waters,” Chemosensors, vol. 11, no. 4, Art. no. 4, Apr. 2023, . [CrossRef]
- L. Guo et al., “Portable Photoacoustic Analytical System Combined with Wearable Hydrogel Patch for pH Monitoring in Chronic Wounds,” Anal. Chem., vol. 96, no. 28, pp. 11595–11602, Jul. 2024, . [CrossRef]
- A. Balla et al., “Manometric and pH-monitoring changes after laparoscopic sleeve gastrectomy: a systematic review,” Langenbecks Arch. Surg., vol. 406, no. 8, pp. 2591–2609, Dec. 2021, . [CrossRef]
- R. Wu, D. L. Longo, S. Aime, and P. Z. Sun, “Quantitative description of radiofrequency (RF) power-based ratiometric chemical exchange saturation transfer (CEST) pH imaging,” NMR Biomed., vol. 28, no. 5, pp. 555–565, 2015, . [CrossRef]
- A. Bouchalkha and R. Karli, “Planar Microstrip Antenna Sensor for pH Measurements,” in 2019 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Nov. 2019, pp. 1–5. [CrossRef]
- D. Klyve, S. Lowe, K. Currie, J. H. Anderson, C. Ward, and B. Shelton, “Non-Invasive Blood Glucose Measurement Using RF Spectroscopy and a lightGBM AI Model,” IEEE Sens. J., pp. 28049–28055, 2024, . [CrossRef]
- F. Pedregosa et al., “Scikit-learn: Machine Learning in Python,” J. Mach. Learn. Res., vol. 12, no. 85, pp. 2825–2830, 2011.
- D. Klyve, J. H. Anderson, G. Lorentz, and V. K. Somers, “Detecting Unique Analyte-Specific Radio Frequency Spectral Responses in Liquid Solutions—Implications for Non-Invasive Physiologic Monitoring,” Sensors, vol. 23, no. 10, Art. no. 10, Jan. 2023, . [CrossRef]
- F. Karim, J. H. Anderson, K. Currie, C. Bui, D. Klyve, and V. K. Somers, “A Glycemic Status Classification Model Using a Radiofrequency Noninvasive Blood Glucose Monitor,” Diabetes Technol. Ther., vol. 26, no. 12, pp. 979–983, Dec. 2024, . [CrossRef]










| Final pH | 1M H2SO4 | 1M HCl |
|---|---|---|
| Volume (µL) | Volume (µL) | |
| 1 | 18,300 | 20,000 |
| 2 | 1,300 | 2,000 |
| 3 | 104 | 200 |
| 4 | 10 | 20 |
| 5 | 1 | 2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).