This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Monitoring Efficiency of IoT Wireless Charging

Pengwei Yang, Amani Abusafia, Abdallah Lakhdari, and Athman Bouguettaya School of Computer Science
The University of Sydney, Australia
[email protected],
{amani.abusafia,abdallah.lakhdari,athman.bouguettaya}@sydney.edu.au
Abstract

Crowdsourcing wireless energy is a novel and convenient solution to charge nearby IoT devices. Several applications have been proposed to enable peer-to-peer wireless energy charging. However, none of them considered the energy efficiency of the wireless transfer of energy. In this paper, we propose an energy estimation framework that predicts the actual received energy. Our framework uses two machine learning algorithms, namely XGBoost and Neural Network, to estimate the received energy. The result shows that the Neural Network model is better than XGBoost at predicting the received energy. We train and evaluate our models by collecting a real wireless energy dataset.

Index Terms:
Wireless Energy, Wireless power transfer, Energy loss, Energy Services, IoT, Crowdsourcing, Machine learning, XGBoost, Neural network

I Introduction

Internet of Things (IoT) is a paradigm that enables everyday objects (i.e., things) to connect to the internet and exchange data. IoT devices, such as smartphones and wearables, usually have augmented capabilities, including sensing, networking, and processing [1]. These advanced capabilities result in higher energy consumption and thereby require a longer battery life [2]. Increasing the battery capacity of IoT devices, on the other hand, faces several challenges, including safety, weight, cost, and recycling [3]. Additionally, traditional charging methods, such as charging cables or power banks, are inconvenient due to the high mobility of IoT users [4]. Therefore, charging energy wirelessly becomes an effective solution to improve battery endurance [5][6].

The recent developments in wireless charging technologies enable peer-to-peer wireless energy transfer between IoT devices [7]. For example, Energous developed a technology to enable wireless charging up to a distance of 4.5 meters111www.energous.com. Recently, a framework was proposed to enable wireless energy-sharing services among IoT devices [8][9]. The framework leverages crowdsourcing energy from nearby IoT devices as energy services. Energy-as-a-Service (EaaS) refers to the wireless transfer of energy from an IoT device (e.g. solar smartwatch) to a nearby IoT device (e.g., smartphone)[7]. An IoT device that offers energy is known as an energy provider. Similarly, an IoT device that receives energy is known as an energy consumer. Energy providers, such as smart textiles or solar watches, may harvest energy from natural resources (e.g. body heat or physical activity) [10][11][12]. For instance, the PowerWalk kinetic energy harvester produces 10-12 watts of on-the-move power222www.bionic-power.com. The harvested spare energy can be shared with nearby IoT devices as services.

Recently, several mobile applications were developed in recent studies as first attempts to enable peer-to-peer wireless energy services [7][13]. These applications allow smartphones to request energy services from nearby smartphones by size, e.g., 1000 mAh, or by time, e.g., to charge for the next 10 minutes. However, to the best of our knowledge, none of the existing apps considered the energy loss that occurs while transferring energy [8][9]. For instance, if a consumer request energy of 200 mAh, part of that energy will be lost in the transfer process depending on the used technology and the distance of the energy transfer [5]. Hence, they will receive an amount of energy less than what they requested. Therefore, we extend the work of [7] and [13] to monitor the efficiency of the IoT wireless charging by building a wireless-transfer energy estimation framework. Our framework is used to estimate the actual amount of received energy by a consumer. Our framework uses two machine learning models, i.e., XGBoost and Neural Network, to estimate the actual received energy. Both models consider two features in estimating the received energy: (1) the distance between the devices and (2) the duration of the energy transfer. We consider these features because different distances and durations impact the wireless transfer of energy[13].

II Wireless Energy Estimation Framework

Refer to caption
Figure 1: Wireless energy estimation framework

Our wireless energy estimation framework is presented in Fig.1. Specifically, our framework consists of four steps:

II-1 Wireless Energy Transfer Dataset Collection

We collect a real wireless energy transfer dataset to train our machine-learning models. The data collection is done using the app developed by [13]. The app allows consumers to connect to a provider via Bluetooth and then request energy based on size or time. The app also monitors the energy-sharing process between a consumer and provider by recording their battery level every specific time interval (mtmt), e.g., every 5 seconds. The granularity of the monitoring time interval mtmt is selected by the consumer. A fine-grained time interval will give more detailed records of both the consumer and provider’s battery levels. Moreover, a timestamp is used to synchronise the monitoring and recording of the energy transfer between the provider and consumer. Once an energy-sharing process is completed, the collected monitoring data will be pushed to the cloud. The current version of the energy sharing application supports one-to-one energy transfer mode, i.e., a single energy provider can deliver energy to only a single energy consumer.

In our experiments, we used a Google Pixel 5 smartphone as the provider and a Google Pixel 3 as the consumer. We connected both the consumer and provider to wireless charging coils (See Fig.2). Moreover, in order to obtain accurate results, all experiments were conducted in the laboratory at temperatures around 20 degrees Celsius. Furthermore, we used the previously mentioned app to request energy by time. We set the charging period to 30 minutes and the monitoring interval mtmt to 1 minute. In order to conduct wireless charging at various distances between two coils, we created a sliding device (See Fig.2). Users can use our device to share energy wirelessly over different distances. In our experiments, we collected datasets over different distances, i.e., 1 cm, 1.5 cm, and 2 cm. We then repeated the experiments over each distance five times. Therefore, we have 450 data points (i.e., 5×\times30×\times3) in total. To sum up the collected dataset consist of five attributes: (1) distance between the coils, (2) charging duration, and (3) battery levels of the consumer and the provider every mtmt time interval in mAh and percentage. In our experiments, mtmt was 1 minute.

Refer to caption
Figure 2: Hardware experiments setup for data collection
Refer to caption
Figure 3: Training datasets visualization

II-2 Feature Selection

In our experiments, we consider the actual energy received by the consumer. Therefore, We select the following attributes to train our models: (1) the charging duration (2) the consumer’s battery level at each time, (3) and the distance between charging coils. The gathered dataset is visualized in Fig.3(A). In training our models, we use the actual received energy as the label, while the other two variables as the selected features. As a result, we transform the objective of predicting the received energy as a regression machine learning problem.

II-3 Outlier Detection

The collected dataset had some abnormal charging battery levels that resulted in some of the data points being far away from the majority of the data points (See Fig.3(A)). As we used the Root Mean Square Error (RMSE) as our evaluation metric and due to RMSE sensitivity to outliers [14], we use an outlier detection technique, namely, Density-Based Spatial Clustering of Applications with Noise (DBSCAN) [15], in order to detect outliers. In contrast to the statistical method that can detect anomalous points that are above and below a certain threshold (extremes), DBSCAN is able to discover data that occur infrequently (i.e., detect outlier points with a lower density) [16]. Moreover, there is a low likelihood of the occurrence of erroneous in the wireless charging process, which may result in abnormal values in the consumer battery level. Consequently, those anomalous data points have a lower density than normal data points. Therefore, we used DBSCAN to detect the outlier battery values. As aforementioned, a charging error may cause an anomalous rise in battery level. Hence, by focusing on the increase in the consumer battery level after the charging process, the problem is reduced to two dimensions: the distance between two charging coils and the increase in battery level. Fig.3(B) depicts the training dataset excluding the outliers, which resulted in 270 data points in total. Furthermore, before feeding the data into our model, all of the target values, i.e., the battery level of the consumer, are divided by 1000 to reduce computational complexity. Hence, the unit of battery level is transformed from milliampere-hours (mAh) to ampere-hours (Ah) in our framework.

II-4 Energy Estimation Models Training

We use a conventional machine-learning method, namely, Extreme Gradient Boost (XGBoost), as our baseline [17]. The XGBoost algorithm is a boosting-based method for integrated learning. In our XGBoost model, we select the optimal hyperparameters using the GridSearch method in scikit-learn [18].

Additionally, we use neural networks as our second model. Since the data distribution is not particularly complex, we construct a simple multi-layer perception with three hidden layers as our neural network model. As we have two input features, i.e., the distance between charging coils and the charging duration, we set the number of neurons in the input layer to two. Furthermore, as this is a regression machine learning problem, the number of neurons in the output layer is set to one. The result of our neural network model is a numerical value representing the estimated increase in the consumer battery level.

III Evaluation

Since our energy estimation is a regression problem, the most straightforward way is to calculate the absolute gap between the predicted battery level increase and the actual battery level increase [14]. In this paper, we use a commonly used evaluation metric for regression problems, i.e., the Root Mean Square Error (RMSE) (See Eq.1). The numerator represents the summation of squares of the difference between the prediction and ground truth of each data point, while the denominator denotes the number of input data.

RMSE=(yi^yi)2nRMSE=\sqrt{\frac{\sum(\hat{y_{i}}-y_{i})^{2}}{n}}\vspace{-5pt} (1)

The RMSE of XGBoost and neural network models are computed by ten-fold cross-validation. A comparison of both models’ performances is represented in Fig.4. The neural network model effectively reduces the RMSE score compared to the XGBoost model.

Refer to caption
Figure 4: Box-plot of Root Mean Square Error (RMSE)

IV Demo SETUP

At PERCOM 2023, we will demonstrate real cases of wireless energy sharing between two smartphones over different distances. In this case, we use near-field wireless charging (i.e., inductive coupling wireless technique). The inductive coupling device consists of two coils, and the electrical energy is delivered based on the magnetic field (See Fig.2). We will use a Google Pixel 5 smartphone as the provider and a Google Pixel 3 as the consumer. We connect both the consumer and provider to the wireless charging coils, and then we run a case similar to the previously mentioned scenario in Sec.II. Additionally, interested visitors can also create their energy requests using our mobile application. They can also try different distances between the coils. Additionally, we will display a video of the entire process of using the devices and app to request, receive and monitor the energy-sharing process in real-time. The video is available at: youtu.be/8cYG6jscivE

V Conclusion and Future Work

In this paper, we presented our wireless energy estimation framework. The framework estimates the actually received energy considering the energy loss that occurs during the wireless energy transfer. Our conducted experiments show that the neural network model outperforms XGBoost model. In the future, we plan to study the impact of different coils’ on energy transfer.

Acknowledgment

This research was partly made possible by the LE220100078 grant from the Australian Research Council. The statements made herein are solely the responsibility of the authors.

References

  • [1] A. Whitmore et al., “The internet of things—a survey of topics and trends,” Information systems frontiers, vol. 17, no. 2, pp. 261–274, 2015.
  • [2] T. P. Raptis, “When wireless crowd charging meets online social networks: A vision for socially motivated energy sharing,” Online Social Networks and Media, vol. 16, p. 100069, 2020.
  • [3] W. Fang et al., “Fair scheduling in resonant beam charging for iot devices,” IEEE IoT, vol. 6, no. 1, pp. 641–653, 2018.
  • [4] A. Lakhdari and A. Bouguettaya, “Fairness-aware crowdsourcing of iot energy services,” in ICSOC.   Springer, 2021, pp. 351–367.
  • [5] A. Dhungana and E. Bulut, “Peer-to-peer energy sharing in mobile networks: Applications, challenges, and open problems,” Ad Hoc Networks, vol. 97, p. 102029, 2020.
  • [6] A. Abusafia et al., “Quality of experience optimization in iot energy services,” in ICWS.   IEEE, 2022, pp. 91–96.
  • [7] J. Yao and et al., “Wireless iot energy sharing platform,” in PerCom Workshops.   IEEE, 2022, pp. 118–120.
  • [8] A. Lakhdari et al., “Crowdsharing wireless energy services,” in CIC.   IEEE, 2020, pp. 18–24.
  • [9] A. Abusafia et al., “Service-based wireless energy crowdsourcing,” in ICSOC.   Springer, 2022.
  • [10] V. H. Tran et al., “Wiwear: Wearable sensing via directional wifi energy harvesting,” in PerCom.   IEEE, 2019, pp. 1–10.
  • [11] M. M. Sandhu et al., “Towards optimal kinetic energy harvesting for the batteryless iot,” in PerCom Workshops.   IEEE, 2020, pp. 1–6.
  • [12] A. Abusafia et al., “Maximizing consumer satisfaction of iot energy services,” in ICSOC.   Springer, 2022.
  • [13] P. Yang et al., “Towards peer-to-peer sharing of wireless energy services,” in ICSOC.   Springer, 2022.
  • [14] H. Li et al., “Predicting smartphone battery life based on comprehensive and real-time usage data,” arXiv preprint arXiv:1801.04069, 2018.
  • [15] M. Ester et al., “A density-based algorithm for discovering clusters in large spatial databases with noise.” in kdd, vol. 96, no. 34, 1996, pp. 226–231.
  • [16] M. Çelik et al., “Anomaly detection in temperature data using dbscan algorithm,” in IISA.   IEEE, 2011, pp. 91–95.
  • [17] T. Chen and C. Guestrin, “Xgboost: A scalable tree boosting system,” in acm sigkdd, 2016, pp. 785–794.
  • [18] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.