Predictive Power Management for Wind Powered Wireless Sensor Node

: A conventional Wireless Sensor Network (WSN) cannot have an inﬁnite lifetime without a battery recharge or replacement. Energy Harvesting (EH), from environmental energy sources, is a promising technology to provide sustainable powering for a WSN. In this paper, we propose and investigate a novel predictive energy management framework that combines the Maximal Power Transferring Tracking (MPTT) algorithm, a predictive energy allocation strategy, and a high efﬁciency transmission power control mechanism: First, the MPTT optimal working point guarantees minimum power loss of the EH-WSN system; Then, by exactly predicting the upcoming available energy, the power allocation strategy regulates EH-nodes’ duty cycle accurately to minimize the power failure time; Ultimately, the transmission power control module further improves energy efﬁciency by dynamically selecting the optimum matching transmission power level with minimum energy consumption. A wind energy powered wireless sensor system has been equipped and tested to validate the effectiveness of the proposed scheme. Results indicate that compared with other predictive energy managers, the proposed mechanism incurs relatively low power failure time while maintaining a high-energy conversion rate.


Introduction
The Internet of Things (IoT) is an emerging paradigm that aims to provide reliable access to heterogeneous and distributed data and may represent a good solution for the smart lives of the future. However, this new paradigm raises a number of scientific and technological challenges related to sensor technology that must be addressed comprehensively, of which the Wireless Sensor Network (WSN) issue has attracted much attention. Generally, the limited available lifetime is a key bottleneck for most battery-powered WSN, therefore, harvesting energy from the environment has been widely investigated to ensure the sustainability of WSN. As for this Energy Harvesting-WSN (EH-WSN), many studies have been carried out and achieved some accomplishment [1][2][3]. However, there are still existing problems: For many long-term applications, replacing the batteries of every EH-nodes is not a feasible solution if they are deployed in a harsh environment or if the network has a large size. A promising approach to tackle this is to enable the nodes to be entirely powered by the energy harvested in their environment.
For a typical EH-WSN, each node is equipped with at least one energy harvester and one or more energy storage devices. The purpose of storage device is to buffer energy to allow the node surviving periods when the harvested energy is not enough. To achieve prolonged lifespan with dynamic ambient power, an energy management strategy is indispensable in an EH-WSN system, reduced hardware requirements and lower cost, the comparison result has shown improvement in providing precise calculation of the new maximum power point whenever there is an irradiance change [12]. Christos Konstantopoulos et al. designed a self-powered battery-less electric potential wireless sensor that harvests near-maximum energy from the avocado plant and transmits a signal tens of meters away. By designing the DC-DC power converter to operate in the input voltage range 0.5-0.7 V, the power generated by the plant kept close to the corresponding MPP in the time-varying power-voltage curves during the day [13]. Base on all those studies, we find that although the energy sources could work at its MPP, however, the DC-DC converter usually may not work with its maximum efficiency, so the overall energy harvested into the storage also may not be the maximal value. Hence, we need to solve an improved problem: Maximum Power Transfer Tracking (MPTT).

Predictive Energy Management
Trong Nhan Le et al. proposed a predictive wake-up power manager for wireless nodes powered by periodic energy sources [14]. The main improvement was that the average number of wake-up variations has significantly reduced. Fayçal Ait Aoudia et al. presented a gradual power manager for EH-WSN powered by pseudo-periodic energy sources [15], it was able to supply high average throughput while maintaining a low throughput variability with respect to time. Paper [16] investigated how to design a wireless powered sensor network with minimal power requirements optimally: it formulated an optimization problem to minimize the total energy consumption at two remote radio units by jointly optimizing the energy beam forming and the time assignment.
In general, existing energy managements can be categorized into two main types: non-predictive and predictive. Non-predictive scheme assigns workload according to the residual energy of the storage device. As a conservative way of workload assignment, low energy utilization is ordinary. On the contrary, the innovation of ambient energy predictor has made it feasible to anticipate and pre-allocate the future incoming energy. Thus, the predictive energy allocation algorithm obviously supports higher energy consuming rate comparing with the non-predictive allocation algorithm. However, it has more power failure risk at the meantime, in fact energy predictor is error prone in practical deployment and its working applicability is affected by many factors, such as temperature, humidness and gas composition, etc.: If it ever predicts the incoming energy, the power allocation mechanism will assign a higher power consumption rate to the node, which potentially leads to power failure of the system.

Transmission Power Control
TPC is an efficient technique of power management in a wireless communication system. It needs interactive information between the sender and receiver. By periodically probing the channel condition (RSSI or PER), the sender can track the wireless link quality and select an efficient and effective transmission power.
Yunquan Dong et al. investigated the weighted-sum distortion minimization problem in transmitting two correlated Gaussian sources over Gaussian channels using two EH-nodes. They developed an off-line and an online power control policies to optimize the transmission power of two nodes [17]. Alyssa Kody et al. considered an EH-node equipped with a piezoelectric vibration energy harvester, which is excited by a series of periodic base acceleration impulses. They maximized the bits of data transmitted from the node over a fixed period through the control of transmission power and transducer current [18].
In addition to the above literatures, there are still some deep studies focused on the TPC problem [19,20]. Nevertheless, due to the dynamic voltage of supercapacitor, a voltage regulator is needed to supply stable voltage to the wireless sensor node. The power dissipation of this regulator should also be taken into consideration when choosing the optimal working point. Therefore, it is unclear whether the TPC technique can still achieve the best energy efficiency.

Joint Optimization Design
Based on the above related works, some researchers continue to work on the strategy of combining different techniques together to jointly optimize the performance of EH-WSN: wireless energy harvesting, wake-up radio scheme, and error control coding are investigated as enabling solutions to enhance the performance of WSN while reducing its carbon footprint in reference [21], it formulates the data-utility lifetime trade-off problem by taking an approximated lifetime function as well as the energy harvesting, wake up radio duty cycling, and retransmissions into the utility function. Castagnetti et al. propose a global power management approach for EH-nodes. It is based on a joint duty-cycle optimization and transmission power control. By simultaneously adapting both parameters, the node can maximize the number of transmitted packets while respecting the limited and time-varying amount of available energy [22]. Stefano Basagni et al. propose a strategy, named wake-up and harvesting-based energy predictive forwarding, leverages the combination of prediction-based techniques and Markov Decision Processes to allow each node in the network to take pro-active forwarding and energy allocation decisions [23], results show that this approach delivers up to 72% more packets, 1.6 times faster, and consuming 58% less energy than EHWA. Especially reference [24] presents a power management technique for improving the efficiency of harvesting energy from air-flows in WSN application. The architecture consists of a two-stage energy conversion circuit: an AC-DC converter followed by a DC-DC buck-boost regulator with MPPT capability. The key feature is the adaptive hybrid voltage rectifier, which exploits both passive and active topologies combined with power prediction algorithms.
However, all these studies do not consider both the energy harvesting and consuming together as a whole, so in order to maximize the entire energy efficiency of EH-WSN system while keeping the network service acceptable, joint optimization of MPPT parameters, predictive energy allocation algorithm and TPC settings are definitely essential and extremely important.

System Model
In this section, we present the EH-WSN system model, including the hardware model, the wireless link model, and the energy consumption model.

Hardware Model
Recently, scientific explorations show that wind energy could become a potential source to harvest for powering small autonomous sensors [25,26]. Such EH-sensor does not need harsh working conditions and provide a new sight for EH-WSN in the forest. Accordingly, we conduct the research and design of a prototype wind-powered wireless sensor node, with its block diagram shown below in Figure 1.

Joint Optimization Design
Based on the above related works, some researchers continue to work on the strategy of combining different techniques together to jointly optimize the performance of EH-WSN: wireless energy harvesting, wake-up radio scheme, and error control coding are investigated as enabling solutions to enhance the performance of WSN while reducing its carbon footprint in reference [21], it formulates the data-utility lifetime trade-off problem by taking an approximated lifetime function as well as the energy harvesting, wake up radio duty cycling, and retransmissions into the utility function. Castagnetti et al. propose a global power management approach for EH-nodes. It is based on a joint duty-cycle optimization and transmission power control. By simultaneously adapting both parameters, the node can maximize the number of transmitted packets while respecting the limited and time-varying amount of available energy [22]. Stefano Basagni et al. propose a strategy, named wake-up and harvesting-based energy predictive forwarding, leverages the combination of prediction-based techniques and Markov Decision Processes to allow each node in the network to take pro-active forwarding and energy allocation decisions [23], results show that this approach delivers up to 72% more packets, 1.6 times faster, and consuming 58% less energy than EHWA. Especially reference [24] presents a power management technique for improving the efficiency of harvesting energy from air-flows in WSN application. The architecture consists of a two-stage energy conversion circuit: an AC-DC converter followed by a DC-DC buck-boost regulator with MPPT capability. The key feature is the adaptive hybrid voltage rectifier, which exploits both passive and active topologies combined with power prediction algorithms.
However, all these studies do not consider both the energy harvesting and consuming together as a whole, so in order to maximize the entire energy efficiency of EH-WSN system while keeping the network service acceptable, joint optimization of MPPT parameters, predictive energy allocation algorithm and TPC settings are definitely essential and extremely important.

System Model
In this section, we present the EH-WSN system model, including the hardware model, the wireless link model, and the energy consumption model.

Hardware Model
Recently, scientific explorations show that wind energy could become a potential source to harvest for powering small autonomous sensors [25,26]. Such EH-sensor does not need harsh working conditions and provide a new sight for EH-WSN in the forest. Accordingly, we conduct the research and design of a prototype wind-powered wireless sensor node, with its block diagram shown below in Figure 1. The wind-powered sensor node consists of three main blocks: (i) energy harvester incorporating the wind turbine coupled to an electrical generator; (ii) power management unit, which contains  The wind-powered sensor node consists of three main blocks: (i) energy harvester incorporating the wind turbine coupled to an electrical generator; (ii) power management unit, which contains power conditioning circuit and energy storage; (iii) wireless sensor node itself. As shown above, a small Wind Turbine Generator (WTG) harvests the wind energy into electrical energy, a Boost converter continuously tracks its optimal working point and transfers the energy onto a DC Bus (here only one set of harvester is mounted), and then a storage device (supercapacitor) would be charged gradually. Simultaneously this supercapacitor could power the followed TPC-enabled wireless sensor node through a Buck-Boost converter. Note all the drive signals of DC-DC converters are controlled by the wireless node. A detailed description of each block is analyzed as follows.
3.1.1. WTG Similar to our previous study [27], a plastic four-bladed horizontal-axis wind turbine is used here, which has a radius of 6 cm and an AC peak voltage of 5.5 V. In addition, it is known: as for a fixed airflow speed, there exists a load value, which could maximize the power generated by the WTG. Therefore, we have tested this WTG under common wind speed and worked out that the load value with maximal output lies between 370 Ω and 420 Ω. Thus, we choose a trade-off value of 400 Ω as R Optimal (the optimal load resistance maximizing the power generation); i.e., once the external followed-up load matches with R Optimal , the output power of WTG is always maximized towards any incoming wind speed.

MPTT Unit
The aim of the MPTT unit is to consistently match the source (WTG) impedance and the load (supercapacitor, DC-DC regulator, and sensor node) impedance. Only this can achieve optimal power conversion efficiency. Therefore, we should design an energy harvesting circuit with a constant input resistance around 400 Ω while transferring energy into the supercapacitor. As for the paper, a Boost converter is chosen to accomplish this purpose. It works in a fixed-frequency discontinuous current mode, as shown in Figure 2. The driving signal of NMOS1 is controlled by the wireless sensor node. power conditioning circuit and energy storage; (iii) wireless sensor node itself. As shown above, a small Wind Turbine Generator (WTG) harvests the wind energy into electrical energy, a Boost converter continuously tracks its optimal working point and transfers the energy onto a DC Bus (here only one set of harvester is mounted), and then a storage device (supercapacitor) would be charged gradually. Simultaneously this supercapacitor could power the followed TPC-enabled wireless sensor node through a Buck-Boost converter. Note all the drive signals of DC-DC converters are controlled by the wireless node. A detailed description of each block is analyzed as follows.
3.1.1. WTG Similar to our previous study [27], a plastic four-bladed horizontal-axis wind turbine is used here, which has a radius of 6 cm and an AC peak voltage of 5.5 V. In addition, it is known: as for a fixed airflow speed, there exists a load value, which could maximize the power generated by the WTG. Therefore, we have tested this WTG under common wind speed and worked out that the load value with maximal output lies between 370 Ω and 420 Ω. Thus, we choose a trade-off value of 400 Ω as Optimal R (the optimal load resistance maximizing the power generation); i.e., once the external followed-up load matches with Optimal R , the output power of WTG is always maximized towards any incoming wind speed.

MPTT Unit
The aim of the MPTT unit is to consistently match the source (WTG) impedance and the load (supercapacitor, DC-DC regulator, and sensor node) impedance. Only this can achieve optimal power conversion efficiency. Therefore, we should design an energy harvesting circuit with a constant input resistance around 400 Ω while transferring energy into the supercapacitor. As for the paper, a Boost converter is chosen to accomplish this purpose. It works in a fixed-frequency discontinuous current mode, as shown in Figure 2. The driving signal of NMOS1 is controlled by the wireless sensor node.

TPC-Enabled Buck-Boost Converter
The variation of supercapacitor voltage V SC would change from 0 V to the nominal voltage V Nom (usually 5.5 V), so a Buck-Boost converter is essential to regulate the output voltage V Out to V DD (usually 2.4 V for low-power electronics), it also optimizes the power efficiency of wireless sensor node. Furthermore, different transmission power of the wireless unit requires different supply power, such as 20 mA for +7 dBm, 29 mA for +13 dBm, 87 mA for +17 dBm, et al. (LoRa SX1278, Semtech Corporation, Camarillo, CA, USA). Thus, the operation process of DC-DC regulator should be precisely managed to improve the conversion efficiency and reduce the dissipation. A TPC-Enabled DC-DC converter circuit is shown in Figure 3. In addition, the NMOS2 controller is also controlled by the wireless node.
Future Internet 2018, 10, x FOR PEER REVIEW 6 of 23 DD V (usually 2.4 V for low-power electronics), it also optimizes the power efficiency of wireless sensor node. Furthermore, different transmission power of the wireless unit requires different supply power, such as 20 mA for +7 dBm, 29 mA for +13 dBm, 87 mA for +17 dBm, et al. (LoRa SX1278). Thus, the operation process of DC-DC regulator should be precisely managed to improve the conversion efficiency and reduce the dissipation. A TPC-Enabled DC-DC converter circuit is shown in Figure 3. In addition, the NMOS2 controller is also controlled by the wireless node.

Wireless Link Model
In this section, the path loss based model [28] is adopted to setup the wireless link. In radio propagation, the signal needs to overcome path loss to reach the receiver. This transmission loss is always related with the distance from the sender to the receiver and their ambient environment, such as obstacles, transmission medium, etc.
At the receiver side, the wireless transceiver continues measuring the received signal strength rece P . Therefore, the Signal to Noise Ratio (SNR) can be expressed in Equation (1) Here r is the communication range, λ is the wavelength and SF the spreading factor. With a proprietary Chirp Spread Spectrum modulation scheme, the bit error rate b e can be indicated as a function of SNR, as shown in Equation (2), where alpha and beta depend on the specific configuration of the SF and coding rate [29]. Due to the assumption that the bit errors are distributed randomly and independently, the packet error rate p e can be deduced in Equation (3), where l is the packet size:

Wireless Link Model
In this section, the path loss based model [28] is adopted to setup the wireless link. In radio propagation, the signal needs to overcome path loss to reach the receiver. This transmission loss is always related with the distance from the sender to the receiver and their ambient environment, such as obstacles, transmission medium, etc.
At the receiver side, the wireless transceiver continues measuring the received signal strength P rece . Therefore, the Signal to Noise Ratio (SNR) can be expressed in Equation (1), where P tran is the transmission power and P noise is the noise strength. The receiver can feedback the received signal indicator value through the handshake packets. In this way, the sender can track the variation of path loss and select an efficient transmission power.
Here r is the communication range, λ is the wavelength and SF the spreading factor. With a proprietary Chirp Spread Spectrum modulation scheme, the bit error rate e b can be indicated as a function of SNR, as shown in Equation (2), where alpha and beta depend on the specific configuration of the SF and coding rate [29].
Due to the assumption that the bit errors are distributed randomly and independently, the packet error rate e p can be deduced in Equation (3), where l is the packet size: If a packet is not acknowledged, the sender will resend the packet. The average retransmissions of a packet k can be described as:

Power Consumption Model
The wind powered EH-WSN system operates under a cyclic workload with period T W . The energy consumption is calculated by both the power mode of the hardware (e.g., wireless communication mode) and the active operating time in that mode. Duty cycle D C is just the ratio of active time t active to period T W , as defined in Equation (5). By duty cycling, the power consumption of load P Load is scaled, as defined in Equation (6). P active and P sleep are the active power and sleep power of the system, respectively. Here P active is a variable subject to the wireless transmission power level, which would be determined by the TPC module in Section 4. (For simplicity we consider P active is completely determined by the radio unit, whereas the power consumption of MCU, sensors, and other modules are out of the scope).
and P leak represents the leakage power of supercapacitor: P leak = V 2 SC /R leak , where R leak is its leakage resistance. Correspondingly P D_system is the total power dissipation of DC-DC converters that will be analyzed below.

Energy Consumption of Boost Converter
In order to facilitate low-power operation, all the power converters have been made to operate in the discontinuous conduction mode (DCM) in this work. As demonstrated by [30], the Boost converter operating in fixed-frequency DCM has a constant input equivalent resistance on average, given by: where T Boost is its working period, L 1 is the inductance value, t 1 is the time of inductor current ramps up from zero to peak. Therefore, the fixed resistance value is only dependent on L 1 and two time parameters. Choosing the values of T Boost , L 1 and t 1 seemingly has three degrees of freedom. However, there is still the following constraint to satisfy: The above Equation (8) implies that two of the three parameters can be set randomly. Nevertheless, the best way of fully utilizing this possibility is to choose the values that could minimize the power dissipation of Boost converter, as well as maximize the energy conversion efficiency.
Commonly the power dissipation in DC-DC converter is composed of two parts: P conduction means the power dissipation due to the electric current flows through the equivalent resistance of all elements in the converter. P switch is the dissipation of gate capacitance of MOSFET switches: opening and closing switches by turns requires repeated charging of the gate capacitances. Hence, we can deduce the conduction consumption of this PWM converter: where I O1 is the output current (i.e., the supercapacitor charging current) of Boost converter. R N1 , R L1 and R SC are the turn-on resistance of NMOS1, the equivalent series resistance of inductor L1, and the equivalent series resistance of supercapacitor. D 1 is the duty ratio and ∆I L1 is the ripple of electric current flowing through L1, which could be described as follows: here V SC is the output supercapacitor voltage, and V In is the input voltage of Boost converter. Then the gate-switch power dissipation can be defined as the product of the input voltage, the switching frequency, and the gate charge of NMOS1, as shown below: Q SW1 is just the gate charge of NMOS1, f N MOS1 is its switching frequency.

Energy Consumption of Buck-Boost Converter
The conduction consumption of this PWM converter is deduced as: where R N2 is the drain-source on-state resistance of the MOSFET NMOS2, I P is the peak value of current flowing through inductor L2, R L2 is the parasitic equivalent series resistance of L2, t 1 is the time of the inductor current ramps up from zero to peak and t 2 is the time of the inductor current ramps down from peak to zero, T B−B is the converter's working cycle, n is the ideality factor of the diode D2, V t is the thermal voltage of D2, and I S is the reverse bias saturation current of D2.
As well, the gate-switch power dissipation of Buck-Boost converter is: Q SW2 is the gate charge of NMOS2, V SC is the input voltage of Buck-Boost converter. Almost all manufacturing parameters (i.e., R N1 , R N2 , R L1 , R L2 , R SC , . . ., etc.) can be obtained from the datasheets of every detailed component. Moreover, as can be seen above, power consumption in DC-DC converters is affected by miscellaneous parameters. These are composed of both the manufacturing parameters, which cannot be modified at working time, and load-dependent parameters, such as the output voltage and current of the DC-DC converters, which can be modified by advanced power management techniques to matching the run-time workload. As a matter of convenience, charging/discharging efficiency of the supercapacitor is not considered here. So referring to the method designed in [31], a simplified and synthetic power consumption model can be described as follow: where I O1 , I O2 are the output currents of each converter, W Boost , W Buck−Boost are the DC-DC converters' configuration parameters which control a tradeoff between load independent power consumption and load dependent power consumption (e.g., the time interval t 1 and the gate width of NMOS1, NMOS2), and C 1 , . . . , C 8 are constants represent for all the rest manufacture-related parameters.
Since TPC module causes a drastic change of workload from one transmission mode to another, then parameters W Boost and W Buck−Boost would vary with the specific applications of TPC-enabled EH-WSN system, thus the energy-conversion efficiency changes accordingly. Therefore, an advanced power management incorporates both the energy harvesting and TPC mechanism, which must be researched and designed.

Predictive Power Manager for EH-WSN
In this section, we present a novel predictive power management framework. It contains three parts: (1) optimal work point tracking, (2) predictive energy allocation, and (3) energy efficient TPC.

Optimal Working Point
As can be seen above, the total power loss in a wind-powered WSN system is composed of two parts: DC-DC dissipation P D_system and supercapacitor leakage P leak . The DC-DC power loss P D_system relates to the output current I O1 , I O2 and W Boost , W Buck−Boost . The leakage power is determined by supercapacitor voltage V SC . Among these parameters, I O2 is task-specific and primarily decided by the transmission power P tran . V SC could be calculated by V SC = V In /(1 − D 1 ). V Out must be set to V DD and it is always a constant voltage, it can be computed by V Out = V SC · (t 1 /t 2 ). Therefore, configuring the DC-DC converters to maximize the harvested energy and minimize the total energy dissipation simultaneously is of great importance for the proposed EH-WSN, it can be analyzed as follows: First, Step 1 refines the configuration of Boost converter (i.e., decides the optimal value of parameters T Boost , L 1 and t 1 to match R Optimal , which is to accomplish maximal energy harvesting; then Step 2 calculates the tradeoff parameters of two converters by considering the energy efficiency under TPC scheme; finally Step 3 computes the corresponding V SC and the remaining parameters.

Step 1
The Boost converter's configuration should be set according to the expected input energy level and desired equivalent resistance. So we assume the values of V In and P Wind to be 2.75 V and 20 mW, respectively, this is based on the power obtained by the WTG, which operates with the lowest wind speed under R I N = 400 Ω. Similar to the method in our previous study [27], an inductor of L 1 = 220 µH is chosen. Then the other two parameters T Boost or t 1 can be optimally set according to Equation (10) temporarily. Also, remember that it should abide by the component's hardware restriction.

Step 2
Here I O1 can be seen as a constant value due to the application of Step 1. Thus it can be known that in the above Equation (15)   If P D_system ( Go to line 18 14 Go to line 18 Collapse Once the optimal values of W Boost and W Buck−Boost have worked out, we should regulate W Boost accordingly, which is just the parameter t 1 in the Boost converter, and also W Buck−Boost , which is the gate width of NMOS2 (D 2 · T B−B ); i.e., (t 1 + t 2 ). Therefore, we can improve the whole system's energy conversion efficiency under different wireless transmission power.

Step 3
Based on the former two steps, T Boost would be deduced accurately, so as V SC and P leak . Thus, the two converters have harvested the maximal wind energy and consumed the minimal dissipation actually. This procedure can also be considered as the Maximum Power Transfer Tracking (MPTT). In other words, the operation of optimal working point has been completely accomplished.

Predictive Energy Allocation
As a promising countermeasure to reduce the impact of ambient power variation, the energy allocation algorithm adaptively assigns workload in a cyclic manner, with a period of every KT W (K ≥ 1, recall that T W is the period of the workload). Otherwise, the energy prediction algorithm is able to envision the future incoming energy with invocation round χKT W (χ ≥ 1). Because of the heavier computational workload caused by the prediction algorithm, we should call the allocation algorithm more frequently to reduce energy overhead (In references [32,33], predictors are usually called every 30 or 60 min, sometimes even longer, while the invocation time of the energy allocation algorithms ranges from 1 to 10 min).
Considering reference [4], the proposed energy allocation algorithm enables "ENO" by matching the average consumption power P Load to the average harvesting power P Harv : Here P Load should be calculated by Equation (6), in which P D_system and P leak during every T W have been obtained from the former MPTT operation, P active and P sleep can be recognized as the power consumption of the wireless transferring unit for easy computation; i.e., P active just represents the average transmission power P tran in KT W periods, while P sleep is set to zero for simplicity (micro controller's current consumption is less than 12 uA in sleep mode [34]). Hence, the energy allocation mechanism only has to regulate D C to satisfy the "ENO" working constraint.
As for the wind energy prediction method, there already exists few studies [24]. However, energy prediction for EH-WSN has not been extensively explored, which calls for further research. Here we propose an energy harvesting prediction algorithm based on Weather-Conditioned Selective Additive Decomposition model (WCSAD): We first set the weather conditions of every day into three categories: Strong breeze, Moderate breeze, and Breeze; then we proceed to forecast the weather that only belongs to the same sort. In addition, we combine both the season variations during all the year and weather changes over one day together to calculate the energy that could be harvested in the next EH-rounds.
Firstly, the EH-nodes need to record the harvested energy E cal (d, s) in work round s of day d, hence for the three categories there should be three matrixes |E cal (d, s)| D that saves D days data independently. The average harvested energy in three kinds are: where E Str , E Mod and E Bre are the harvested energy in Strong breeze days, Moderate breeze days, and Breeze days, respectively. Equation (17) should be updated every 24 h to ensure the weather classification process. The detailed calculation rules are shown below in Algorithm 3. Here Di f f (i, j) is a parameter concerns the seasonal changes:

Algorithm 3 Harvested energy classification algorithm for different weather conditions
υ is just a tuning coefficient. After these corresponding classifications of former days, then we can start to predict the up-coming energy, which would be harvested during work round s in the present day. The prediction value E est (i, j) = P Harv · χKT W equals: here τ, ε are other adjustment coefficients. The four items in the above formula intend to represent the applicable harvesting energy's dynamic changes caused by different EH-rounds in different days. E x (i, j) is a weighted sum of corresponding rounds' harvested energy in the past reference days that belong to the same weather kind: . ω is also a debug parameter. E x−1 (i, j) just shows the corresponding round' energy in the last time with the same weather kind, in turn E x−2 (i, j) stands for the day before last time within the same weather type. By default, we can take present day' weather type as the same as yesterday. However, a detecting mechanism is also designed to test the default hypothesis: we set up four testing points in a single day and we compute the average harvested energy during the time from the beginning of the day to the test point moment, if the value has a great difference with the last day's data, we should regulate the weather type immediately.
In this section, we discuss the proposed WCSAD energy prediction model, of which the aim is to reduce the computational complexity while maintaining similar accuracy as compared to the other models.

Transmission Power Control
We are here to solve the problem of energy efficient wireless communication. As stated in Section 3, it is sensible to furtherly improve energy efficiency with dynamic transmission power. Algorithm 4 introduces the best-matching TPC with high-efficiency. The main purpose of this mechanism is to adaptively choose an energy efficient transmission power according to the wireless link quality.

Algorithm 4 Energy Efficient Transmission Power Control
Rate. 3 RSSI = post-backed message from the receiver; 4 P rece then can be deduced from a function with RSSI; 5 for I i O2 ∈ I Z O2 do 6 SNR i = V DD · I i O2 + 164 − 20 · log( r λ ) + 2.5 · SF; 7 e bi = 10 α·e β·SNRi ; In a case where one connection is established, the receiver should measure the wireless link's RSSI value and post back to the sender. Based on the datasheet of the wireless unit [35], received signal strength p rece can be computed from this RSSI value through a specific equation. Thus, every available transmission power's SNR can be estimated.
For the purpose of selecting the optimal wireless transmission power, we adopt a specific metric: energy per useful received bit E u , to evaluate the energy efficiency of transmission power. E u is defined in line 9 of Algorithm 4, I O2 is the corresponding electric current of wireless sensor node and Rate is its communication rate. To choose the transmission power with highest energy efficiency, Algorithm 4 investigates an integrated method by considering the Buck-Boost converter's power consumption together during the wireless communication. When finding the optimal I * O2 from the candidate I Z O2 sequence, Algorithm 1 would be calculated automatically and output the other operation parameters.

Experimental Results
The entire wind-powered sensor node is a comprehensive system, which is composed of some unique sub-units. For deep learning of the whole system's working efficiency, it is important to analyze the capability of each subsystem, and perform energy flow comparison at each energy transfer stage. The proposed concept for this EH-node with predictive power manager technique has been implemented in hardware prototype for laboratory testing. Some detailed components are shown below in Table 1. The designed EH-WSN system is connected with a commercially wireless node supplied by Arduino with LoRa, as shown in Figure 4. The WTG tail could adjust the wind-front direction to face the incoming wind at the right angle. As such, the wind incident angle is always perpendicular to the turbine plane. The LoRa node uses the ESP8266 32-bit ultralow-power microcontroller, and it is paired with the SX1278 RF transceiver that is also designed for low-power application. A 2 F & 5.5 V supercapacitor bank of Panasonic is chosen as the energy storage. Since the microcontroller's strong computation capability, it is very convenient to make use of it to achieve a more accurate and faster MPTT scheme than a dedicated MPPT analog circuit.

Experimental Results
The entire wind-powered sensor node is a comprehensive system, which is composed of some unique sub-units. For deep learning of the whole system's working efficiency, it is important to analyze the capability of each subsystem, and perform energy flow comparison at each energy transfer stage. The proposed concept for this EH-node with predictive power manager technique has been implemented in hardware prototype for laboratory testing. Some detailed components are shown below in Table 1. The designed EH-WSN system is connected with a commercially wireless node supplied by Arduino with LoRa, as shown in Figure 4. The WTG tail could adjust the wind-front direction to face the incoming wind at the right angle. As such, the wind incident angle is always perpendicular to the turbine plane. The LoRa node uses the ESP8266 32-bit ultralow-power microcontroller, and it is paired with the SX1278 RF transceiver that is also designed for low-power application. A 2 F & 5.5 V supercapacitor bank of Panasonic is chosen as the energy storage. Since the microcontroller's strong computation capability, it is very convenient to make use of it to achieve a more accurate and faster MPTT scheme than a dedicated MPPT analog circuit.

MPTT Testing
The experimental tests are conducted in accordance with the wind condition of the deployment ground illustrated in Figure 5 where the average wind speed is given as 4.5 m/s, and we record the variation of WTG's output power under different wind speed when its subsequent load value changes, as shown below in Figure 6. Apparently, when =400 Ω Optimal R WTG generates the

MPTT Testing
The experimental tests are conducted in accordance with the wind condition of the deployment ground illustrated in Figure 5 where the average wind speed is given as 4.5 m/s, and we record the variation of WTG's output power under different wind speed when its subsequent load value changes, as shown below in Figure 6. Apparently, when R Optimal = 400 Ω WTG generates the maximal electrical power. Therefore, if algorithm DC-TPC works out the parameters W Boost and W Buck-Boost , thus the optimal working point could be achieved. , thus the optimal working point could be achieved. Figure 7 shows the variation of EH-WSN's overall power loss       Figure 7 shows the variation of EH-WSN's overall power loss P D_system with supercapacitor voltage V SC and load current I O2 according to Equation (15). [Note: for the convenience of analysis and comparison, the prediction mechanism in this step is prohibited, the TPC module sets to be a given quantity, and the values of C 1 , . . . , C 8 , are (15, 0.25, 0.004, 0.09, 11, 0.12, 0.004, 0.075)]. As can be seen here, the power dissipation is minimized when V SC changes near V DD = 2.4 V. Next, there are three exams to be conducted, which is to differentiate the performance of the MPTT scheme in powering the load. The followed electrical load is at first powered with an EH system but without the MPTT scheme, then with EH system carried on MPTT (I O2 = 20 mA), and finally with EH system running MPTT (I O2 120 mA). The duration for each period is 180 s, and the supercapacitor voltage variation under these conditions is compared in Figure 8. Next, there are three exams to be conducted, which is to differentiate the performance of the MPTT scheme in powering the load. The followed electrical load is at first powered with an EH system but without the MPTT scheme, then with EH system carried on MPTT ( 2 20 mA = O I ), and finally with EH system running MPTT ( 2 120 mA = O I ). The duration for each period is 180 s, and the supercapacitor voltage variation under these conditions is compared in Figure 8.  From the above figure we can find that the supercapacitor voltage V SC keeps decreasing during the period when algorithm DC-TPC is not running. On the contrary, V SC could keep nearly balance in the mode with MPTT but I O2 = 120 mA, this demonstrates that the harvested wind energy could make the node self-sustainable in a continuous input situation. Finally, within the MPTT (I O2 = 20 mA) mode our system yields the most superior performance, which shows a powerful survivability to make V SC rise from 2.17 to 2.37 V. Therefore, the MPTT mechanism is obviously applicable for the conditions of harvesting conventional wind energy.

Prediction Algorithm Analysis
We evaluate the performance of WCSAD by comparing the amount of energy actually harvested during each timeslot against the predicted energy intake. To this end, we implement WCSAD into the wind-powered sensor node and execute an outdoor 7 day continuous running. The invoked duty-cycle is set to be 30 min, parameters υ, τ, ε and ω are 0.6, 0.45, 0.55 and 0.62, respectively, D is considered as 5 regarding the tradeoff between computational accuracy and limited working resources. The predictor error has been compared with WCMA [36] and the selective statistical range is from slot 3 to slot 28, i.e., from 07:30 to 20:00, the result is shown in Figure 9.
Here in the test the wind speed keeps in hybrid magnitude from day 1 to day 4, however, in the 5th day the air turns to breeze, therefore the harvested energy decreases dramatically, but at last, the 6th day and 7th day just take on a strong breeze. As a result of the severe change between the 5th day and its previous days, WCMA cannot adapt to this variation and leads to a major error in Figure 9a, while WCSAD considers the past data of the harvested energy for reference ingeniously and keeps the error under 15%. In Figure 9b, WCMA slightly eases the impact of weather variation but still cannot offer a predictive value with high confidence, however, WCSAD maintains the accuracy as in the previous. In Figure 9c, the wind category keeps near the same with the day before, thus WCMA and WCSAD both gain a relatively low error rate, whereas WCSAD performs even better with the highest error of only 5%.
As can be seen from the above analysis, the WCSAD algorithm shows ideal predictive accuracy and can provide reliable support for the "ENO" working requirement. cannot offer a predictive value with high confidence, however, WCSAD maintains the accuracy as in the previous. In Figure 9c, the wind category keeps near the same with the day before, thus WCMA and WCSAD both gain a relatively low error rate, whereas WCSAD performs even better with the highest error of only 5%.
As can be seen from the above analysis, the WCSAD algorithm shows ideal predictive accuracy and can provide reliable support for the "ENO" working requirement.

TPC Execution
In this section, we evaluate the performance of proposed TPC. We take the wind-powered sensor node serving as a sender. An unlimited power supply sink is responsible for receiving messages and returning the RSSI data every minute. The programmable transmission power level ranges from 0 to +20 dBm with a step size of 1 dBm and the corresponding power consumption tran P comes from the hardware measurement in the existing literature [29]. The noise power noise P is considered Gaussian White Noise with a mean of −105 dBm and a standard deviation of 1.5 dBm. The transmission rate is 9.6 kbps and the data packet size is 32 bytes. The energy per useful bit u E is used for evaluating.
We validate the effectiveness of our TPC module by using two comparisons. The existing RSSbased transmission power controller [17] is implemented as a reference, which is referred as a fixed-RSS scheme. The fixed transmission power scheme is also implemented, which is referred to as a fixed-TX scheme. The wind-harvesting IoT device and the sink are placed in outdoor park surroundings.

TPC Execution
In this section, we evaluate the performance of proposed TPC. We take the wind-powered sensor node serving as a sender. An unlimited power supply sink is responsible for receiving messages and returning the RSSI data every minute. The programmable transmission power level ranges from 0 to +20 dBm with a step size of 1 dBm and the corresponding power consumption P tran comes from the hardware measurement in the existing literature [29]. The noise power P noise is considered Gaussian White Noise with a mean of −105 dBm and a standard deviation of 1.5 dBm. The transmission rate is 9.6 kbps and the data packet size is 32 bytes. The energy per useful bit E u is used for evaluating.
We validate the effectiveness of our TPC module by using two comparisons. The existing RSS-based transmission power controller [17] is implemented as a reference, which is referred as a fixed-RSS scheme. The fixed transmission power scheme is also implemented, which is referred to as a fixed-TX scheme. The wind-harvesting IoT device and the sink are placed in outdoor park surroundings. Figure 10 demonstrates the average transmission energy of 10,080 packets (one packet per minute during 7 days). We can see that the proposed method achieves the lowest energy consumption compared with the other TPC strategies no matter the distance. Compared with the fixed-TX scheme, our proposed module achieves energy reduction around 30%. Compared with the fixed-RSS scheme, our proposed module lowers the transmission energy consumption around 15%. The wireless path loss and the background noise are always time varying, a fixed RSSI value or transmission power definitely cannot guarantee the optimal transmission energy efficiency. The proposed TPC module is effective in dynamically selecting the optimal transmission power along with the lowest energy cost E u .

Power Conversion Efficiency of the Whole System
The Line diagram in Figure 11 is to illustrate the input and output power available for each subsystem so that the power-conversion efficiency can be resolved. Every value is measured and calculated at the input and output of every subsystem. The data in blue color represents the value of the reference system [24], while the data in red is ours. The test starts from the input with a wind speed of 4.5 m/s where 128.2 mW of raw wind power is supplied to the wind turbine with an efficiency of 39% and 50 mW of mechanical power is available for harvesting. Due to the standard diode-based full-bridge rectifier, 65% of the raw electrical power (ac) is generated at the output of the wind turbine generator. Thus, approximately 20 mW is converted into raw electrical power (dc) of 13 mW. Then after the supercapacitor-charging period (85 min), the energy stored in our system is 19.88 J. In contrast, the reference system has a higher rectifier conversion efficiency because of its smart adaptive strategy. Whereas it adopts a traditional MPTT scheme and gains a lower bit output. However, our system gains significant enhancement in the next stages with a best-matching TPC based converter, where the wireless sensor node has survived for 1.5 h other than the referenced 1.2 h under the working cycle mentioned in a prior achievement [37]. Moreover, certainly in this "ENO" process, the prediction module takes effect as a foundation stone while consuming a neglectable amount of energy.

Power Conversion Efficiency of the Whole System
The Line diagram in Figure 11 is to illustrate the input and output power available for each subsystem so that the power-conversion efficiency can be resolved. Every value is measured and calculated at the input and output of every subsystem. The data in blue color represents the value of the reference system [24], while the data in red is ours. The test starts from the input with a wind speed of 4.5 m/s where 128.2 mW of raw wind power is supplied to the wind turbine with an efficiency of 39% and 50 mW of mechanical power is available for harvesting. Due to the standard diode-based full-bridge rectifier, 65% of the raw electrical power (ac) is generated at the output of the wind turbine generator. Thus, approximately 20 mW is converted into raw electrical power (dc) of 13 mW. Then after the supercapacitor-charging period (85 min), the energy stored in our system is 19.88 J. In contrast, the reference system has a higher rectifier conversion efficiency because of its smart adaptive strategy. Whereas it adopts a traditional MPTT scheme and gains a lower bit output. However, our system gains significant enhancement in the next stages with a best-matching TPC based converter, where the wireless sensor node has survived for 1.5 h other than the referenced 1.2 h under the working cycle mentioned in a prior achievement [37]. Moreover, certainly in this "ENO" process, the prediction module takes effect as a foundation stone while consuming a neglectable amount of energy.
adaptive strategy. Whereas it adopts a traditional MPTT scheme and gains a lower bit output. However, our system gains significant enhancement in the next stages with a best-matching TPC based converter, where the wireless sensor node has survived for 1.5 h other than the referenced 1.2 h under the working cycle mentioned in a prior achievement [37]. Moreover, certainly in this "ENO" process, the prediction module takes effect as a foundation stone while consuming a neglectable amount of energy.

Power Failure Time Detection
The predictive power management algorithm has a risk of over-assigning energy that possibly leads to power shortage. Therefore, we need to further investigate the power failure time f t . In this section, we compare the proposed system with D-PEA and sta-PEA in reference [38], the test scenario is just the same as step B, and the duty cycle ratio C D 's dynamic variation is shown in Figure 12 primarily (for a direct perception, we classify the ratio into 5 sorts: 0%, 25%, 50%, 75%, and 100%):

Power Failure Time Detection
The predictive power management algorithm has a risk of over-assigning energy that possibly leads to power shortage. Therefore, we need to further investigate the power failure time t f . In this section, we compare the proposed system with D-PEA and sta-PEA in reference [38], the test scenario is just the same as step B, and the duty cycle ratio D C 's dynamic variation is shown in Figure 12 primarily (for a direct perception, we classify the ratio into 5 sorts: 0%, 25%, 50%, 75%, and 100%): The figure shows the detailed work/sleep ratio variations from day 1 to day 7, apparently the ratio rises to 100% under a continuous wind blowing and drops to 0% when in breezeless, the average ratio is lower than 40% in the first four days due to the incomplete work of WCSAD, and improves to over 60% in the last three days because of the prediction management's proper functioning. From these data, we could infer that the proposed energy management algorithm can effectively charge the EH-node that is given at a lower initial energy, and make it work reliably.
Then we detect and compare the power failure time, here we consider that system power failure is caused by the depletion of the supercapacitor's remaining energy; i.e., its terminal voltage SC V drops below the start-up threshold of Buck-Boost converter (0.85 V). Figure 13 shows the measurement result. The figure shows the detailed work/sleep ratio variations from day 1 to day 7, apparently the ratio rises to 100% under a continuous wind blowing and drops to 0% when in breezeless, the average ratio is lower than 40% in the first four days due to the incomplete work of WCSAD, and improves to over 60% in the last three days because of the prediction management's proper functioning. From these data, we could infer that the proposed energy management algorithm can effectively charge the EH-node that is given at a lower initial energy, and make it work reliably.
Then we detect and compare the power failure time, here we consider that system power failure is caused by the depletion of the supercapacitor's remaining energy; i.e., its terminal voltage V SC drops below the start-up threshold of Buck-Boost converter (0.85 V). Figure 13 shows the measurement result.
We can see that D-PEA and the proposed scheme achieve consistently lower t f compared with sta-PEA. The performance margin increases with the time elapsed particularly for our proposed strategy because of the three efficient and effective integrated submodules. It demonstrates that the proposed scheme can best react to the changing wind speed and avoid depleting the energy storage device.
the EH-node that is given at a lower initial energy, and make it work reliably.
Then we detect and compare the power failure time, here we consider that system power failure is caused by the depletion of the supercapacitor's remaining energy; i.e., its terminal voltage SC V drops below the start-up threshold of Buck-Boost converter (0.85 V). Figure 13 shows the measurement result. We can see that D-PEA and the proposed scheme achieve consistently lower f t compared with sta-PEA. The performance margin increases with the time elapsed particularly for our proposed strategy because of the three efficient and effective integrated submodules. It demonstrates that the proposed scheme can best react to the changing wind speed and avoid depleting the energy storage device.

Conclusions
In this paper, a predictive power management framework for improving the energy efficiency of a wind-powered WSN is presented. Specifically, a prototype of the EH-WSN, a DC-DC converter

Conclusions
In this paper, a predictive power management framework for improving the energy efficiency of a wind-powered WSN is presented. Specifically, a prototype of the EH-WSN, a DC-DC converter based MPTT technique; a wind-energy prediction algorithm, and an energy efficient TPC strategy have been proposed. The key features of the proposed solution are: (i) dynamic impedance matching, (ii) adaptive energy-dissipation minimization, (iii) predictive energy allocation, and (iv) transmission power auto-regulation. The experiment result has demonstrated a system-wide optimal energy conversion and utilization has been accomplished. With a wind speed of 4.5 m/s, the system is truly self-sustainable and perform powerful survivability.
Future work will focus on the proposal of the cross layer optimization problem for EH-WSN and consider cognitive radio network issues.

Author Contributions:
The work presented in this paper represents a collaborative effort by all authors, whereas Y.W. wrote the main paper. B.L. and F.Z. discussed the proposed main problem and algorithms. Both authors have read and approved the final manuscript.