{'fraction_non_alphanumeric': 0.026807473598700244, 'fraction_numerical': 0.008123476848090982, 'mean_word_length': 5.450261780104712, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A WPT/NFC-Based Sensing Approach for Beverage Freshness Detection Using Supervised Machine Learning

The massive deployment of wireless sensors is a fundamental piece in the growing internet of things (IoT) industry. Therefore, it is imperative to use already existing hardware to realize new sensing functions with very few or no hardware added. As wireless power transfer (WPT) and near field communication (NFC) become standard features in smart phones, this article investigates beverage freshness sensing based on the WPT/NFC technology compatible with smart phones. A circuit model for the beverage-coil interaction was developed and the performance of features from different nature (e.g., magnitude, amplitude, phase) for classification was analyzed and tested. Accuracies up to 96.7% were achieved using supervised machine learning for milk freshness classification, when 5 different types of milk were used and up to 100% when just 2% fat milk was used for classification. Additionally, the radio frequency bandwidth needed for classification was reduced to 10 MHz using singular value decomposition (SVD) and boxplot analysis without affecting the classification accuracy for two different methods of feature extraction.