1. Introduction
Low power wireless systems usually employ radio transceivers with low transmit power to reduce the energy consumption of communication. These systems such as wireless sensor network have been successfully used in many fields, including object tracking, habitat monitoring, industrial control and so on [
1,
2]. Low transmit power generally means low link margin, which makes the link quality prone to fluctuate when channel environment changes. Therefore, stability of these low power links is poor. In order to assist upper layer protocols to select better links, the adverse effects of link fluctuations must be considered when designing link quality prediction (LQP) methods. If the trend of link changes could be perceived in advance, link fluctuations of low power wireless communications would be handled more effectively.
Packet reception ratio (PRR) is the most direct metric to describe link quality. However, existing studies have proven that the agility of directly using PRR for link quality prediction is very poor [
3]. It means that long-term statistics are needed to obtain reasonable PRR estimations, which inevitably affects the timely response to link fluctuations. This problem can be solved effectively by employing physical layer parameters such as Received Signal Strength Indicator (RSSI), Link Quality Indicator (LQI), and Signal-to-Noise Ratio (SNR) for link quality prediction. Physical layer parameters are more agile than PRR, which means that small time windows are adequate for such parameters to describe link quality accurately.
By directly predicting physical layer parameters computed within small time windows and then evaluating link quality according to the mapping models between such parameters and PRR, the agility could be effectively improved without sacrificing the accuracy of prediction. However, existing methods often ignore the temporal correlations of physical layer parameter series when predicting. Thus, the inner relationship among series cannot be mined accurately, which leads to large deviations between the predicted values and the actual ones. Meanwhile, they rarely consider the influence of link fluctuations, resulting in higher errors under moderate and sudden changed links with larger fluctuations. Therefore, it is difficult to meet the requirements of low power wireless link quality prediction.
This paper proposes a more effective link quality prediction method RNN-LQI, which adopts Recurrent Neural Network (RNN) to predict LQI counted within small time windows, and then evaluates link quality according to the fitting model of LQI and PRR. The advantages of this method are mainly two-fold: Firstly, it makes use of the short-term memory characteristics of RNN to accurately mine the inner relationship among LQI series. Secondly, it takes advantage of the higher resolution of LQI in the transitional region to effectively handle link fluctuations. To analyze the performance of RNN-LQI, real link traces are collected and used to train and validate the proposed method. Meanwhile, typical methods with similar structures are chosen for comparison.
Experimental results show that RNN-LQI is more accurate under different link qualities. Especially under moderate and sudden changed links with more fluctuations, the prediction error reduces at least by 14.51% and 13.37%, respectively. It means that the proposed method is more suitable for low power wireless links with more fluctuations. Major contributions of this paper are summarized as follows: (1) two main sources of error for the link quality prediction based on physical layer parameter prediction and mapping are identified; (2) a more effective link quality prediction method is proposed, which could suppress both error sources of prediction and mapping simultaneously; (3) with real link traces collected, the proposed method is proved to be superior for low power wireless links with more fluctuations.
The rest of this paper is organized as follows: Related works are given in
Section 2. This is followed by the design motivation in
Section 3. The proposed algorithm is described in detail in
Section 4. With the experimental setup in
Section 5, performance comparison with similar approaches is discussed in
Section 6. Finally, conclusions are presented and suggestions are made for future works.
2. Related Works
Wireless link quality prediction is essential for low power wireless networks. Different parameters could be used for link quality prediction, such as parameters directly acquired from transceivers (usually referred to as hardware metrics). Baccour et al. [
3] divided existing methods into three categories according to the parameters they used, which are hardware metric-based methods, software metric-based methods, and hybrid metric-based methods.
PRR is the most common software metric for link quality prediction. Woo et al. [
4] found that PRRs counted within fixed time windows are not stable and proposed to use exponentially weighted moving average filter to obtain more stable estimations. Liu et al. [
5] pointed out that existing methods cannot self-adapt to link fluctuations and proposed a fluctuation adaptive link quality estimator, which dynamically adjusts the smoothing factor according to the degree of link fluctuations. These efforts have indeed improved the accuracy and stability of link quality prediction. However, the disadvantage that large time windows must be used to obtain accurate PRR estimations still exists. That is to say, the agility of directly using PRR is still poor.
Physical layer parameters such as RSSI, SNR and LQI could be easily acquired from transceivers. These parameters reflect the wireless signal quality most directly. Due to their high correlations with PRR, they have been extensively used for link quality prediction. Compared with PRR, the most obvious advantage of these parameters is that they are more agile for link quality prediction. Xu et al. [
6] pointed out that average RSSI and LQI computed with only 10 packets are adequate to reflect the link quality accurately, while 50 packets have to be used to achieve similar effects when using PRR.
Directly using physical layer parameters to evaluate link quality qualitatively is a common practice in early studies based on hardware metrics. Srinivasan et al. [
7] pointed out that whether a link is good or not could be determined quickly and accurately using RSSI. Variance of LQI is a good indicator to distinguish the quality of links and good effects could be achieved only using 10 packets [
8]. To utilize the information carried by different physical layer parameters effectively, Boano et al. [
9] proposed to fuse SNR and LQI to construct a new metric Triangle. It is shown that this new metric is superior for classifying the link quality. Aiming at the problem that the weight of LQI is too high in Triangle, Liu et al. [
10] proposed to use weighted Euclidean distance for fusion to make full use of the information contained in SNR and LQI.
Quantitative prediction of link quality could be realized by introducing mapping models between physical layer parameters and PRR. Ye et al. [
11] proposed to predict the link quality with the mapping model of RSSI and PRR, in which the model is established using logistic regression. Similarly, Senel et al. [
12] proposed to predict the link quality according to the mapping model of SNR and PRR. Gomez et al. [
13] established a piecewise linear model of LQI and PRR, which is used to predict the link quality. The link quality predictor 4C proposed by Liu et al. [
14] trains the historical data of physical layer parameters and PRR with different algorithms. Considering that 4C needs offline model training, the authors proposed a real-time predictor TALENT, which implements online model training using stochastic gradient descent learning algorithm [
15]. Xue et al. [
16] proposed to predict the probability-guaranteed interval boundary of SNR based on random vector function chain and realize quantitative link quality prediction by establishing a mapping model between SNR and PRR.
In recent years, more powerful machine learning algorithms like neural network have been adopted in link quality prediction. The link quality predictor WNN-LQE proposed by Sun et al. [
17] employs wavelet neural network (WNN) to predict SNR, and then quantize the link quality through the mapping model of SNR and PRR. In our previous work, RNN was used to predict SNR in order to mine the internal relationship among SNR series more accurately [
18]. Liu et al. [
19] used WNN to predict LQI, and then quantized the link quality through the mapping model of LQI and PRR. The authors found that their predictor is superior in accuracy to WNN-LQE when there are larger link fluctuations. The reason was attributed to the fact that LQI has higher resolution than SNR in the transitional region.
Physical layer parameters are generally extracted from successfully received packets. Thus, the methods that only use physical layer parameters lose the information relating to unreceived packets. Therefore, the link quality cannot be fully characterized. In comparison, PRR statistics consider the packets not received. That’s why some studies combine software and hardware metrics to predict link quality. The link quality estimator Four-Bit proposed by Fonseca et al. [
20] combines physical layer, link layer, and network layer information. It is shown that Four-Bit improves the performance of link quality evaluation remarkably. Baccour et al. [
21] proposed F-LQE, in which fuzzy logic is used to fuse four link parameters, including the mean value and variation coefficient of PRR, the link asymmetry, and the mean value of SNR.
Too stable is one obvious disadvantage of F-LQE. Therefore, the link parameters used by fuzzy logic were adjusted so as to realize higher agility and accuracy [
22,
23]. Rekik et al. [
22] proposed Opt-FLQE, in which the link parameters are changed to the mean value of PRR, the link asymmetry, the number of retransmissions of transmitter, and the mean value of SNR. Similarly, the ELQET proposed by Jayasri et al. [
23] utilizes another four link parameters, which are the PRR mapped from LQI, the Kalman filtered SNR, the variation coefficient of PRR and the mean value of LQI. Although these methods look better than F-LQE, the introduction of software metrics inevitably affects their agility, which makes them unsuitable for links with more fluctuations.
3. Design Motivation
From the descriptions of
Section 2, it can be found that one of the main methods for link quality prediction is to predict the physical layer parameters first, and then evaluate the link quality based on the mapping models between such parameters and PRR. There are two main sources of error for this type of method, one is the prediction error of physical layer parameters, and the other is the mapping error from physical layer parameters to PRR. In order to improve the accuracy of such methods, it is necessary to reduce both errors at the same time. However, existing methods fail to solve this problem well. On the one hand, the temporal correlations of physical layer parameter series are often ignored when predicting. Thus, the inner relationship among series cannot be mined accurately, which leads to large deviations between the predicted values and the actual ones. On the other hand, the influence of link fluctuations is not considered sufficiently, resulting in higher errors under moderate and sudden changed links with larger fluctuations. Therefore, it is difficult to meet the requirements of low-power wireless link quality prediction. Considering the obvious temporal order of physical layer parameter series, it would be feasible to realize more accurate prediction by making full use of these temporal correlations.
Figure 1 and
Figure 2 demonstrate the relationship between typical physical layer parameters and PRR. Given the similarity between RSSI-PRR relationship and SNR-PRR relationship, only the latter one is given here as an example. The relationship between SNR and PRR is usually described with the theoretical model [
24], while the relationship between LQI and PRR is generally fitted by logistic regression or hyperbolic tangent model using the measured data from specific environments [
14,
15,
19]. It can be seen that the SNR~PRR model is much steeper in the transitional region, which means that slight link fluctuations will lead to larger PRR differences. In contrast, the LQI~PRR model has much higher resolution in the transitional region. For every 10% change of PRR in the transitional region, LQI changes by about 3.625, while SNR only changes by about 0.4375 dB. Therefore, if choosing higher-resolution physical layer parameters, the impacts of their fluctuations on the mapped PRR may be reduced, thus improving the adaptability to fluctuations of moderate links and sudden changed links.
Based on the above analysis, this paper proposes a more effective link quality prediction method RNN-LQI, which adopts RNN to predict the LQI series, and then evaluates the link quality according to the fitting model of LQI and PRR, as shown in
Figure 3. On the one hand, this method could better mine the inner relationship among LQI series with the help of the short-term memory capability of RNN, which helps to reduce the impacts of prediction errors. On the other hand, it could alleviate the impacts of link fluctuation on PRR mapping by taking advantage of the higher resolution of LQI in the transitional region, which helps to reduce the impacts of mapping errors. Therefore, RNN-LQI could suppress both error sources of prediction and mapping simultaneously, which results in more accurate link quality prediction.
5. Experimental Setup
The data used for model training and verification was acquired using two sensor nodes, one used as transmitter and the other used as receiver. The type of these sensor nodes is TelosB, which employs an IEEE 802.15.4 compatible transceiver operating in the 2.4 GHz band [
27]. The test was conducted in an outdoor playground of Chongqing University of Technology, which consists of a football field and a track. During the test, nearly no interference existed, and the noise level was about—96.37 dBm. Antenna height of the nodes is 1.2 m. In order to get sufficient link data, we changed the distance between the nodes to simulate links with different qualities, which was implemented by fixing the receiver and moving the transmitter. The initial distance was 5 m and the step size was 1 m. Position of the transmitter was changed until the maximum distance of 115 m was reached.
When the distance between the nodes increases, the received signal becomes weak and more packets prone to be damaged and dropped. That is to say, different link qualities could be simulated in this way. During the test, the transmit power was set to 0 dBm, and the 26th channel was used for communication. Meanwhile, the inter packet interval and packet length were set to 125 ms and 17 bytes, respectively. PRR was computed by the number of packets received successfully, and LQI of these successfully received packets was also recorded.
About 2.67 million data packets were received and recorded from the test lasted for up to 47 h. Four kinds of links were categorized according to their qualities. They are good, moderate, bad, and sudden changed links, respectively, which are typical links for evaluating the performance of link quality predictors [
4,
12]. Links with PRR higher than 80% are called good links. Such links are very stable and there are almost no fluctuations. Links with PRR smaller than 20% are called bad links. Quality of such links is very poor, and small fluctuations exist. Quality of moderate links lies between those of good and bad links. Meanwhile, larger and more frequent fluctuations exist in moderate links. In other words, moderate links are unstable. Sudden changed links refer to cases in which links change from bad to good or vice versa.
These links were divided into two parts: one part is for model training and the other part is for model verification. Matlab R2018a running on a desktop with Intel Core i7 processor was used for model training and verification. Meanwhile, the trained model was also implemented on sensor nodes for evaluating its execution overhead on platforms with low computation capability.
7. Conclusions
Agile and accurate link quality prediction is essential for upper-layer protocols to select better links for communication, and thereby improving the network efficiency effectively. Predicting physical layer parameters first and then evaluating the link quality based on the mapping models between such parameters and PRRs has become one of the main methods for link quality prediction. However, existing methods ignore the temporal correlations of physical layer parameter series when predicting, which leads to large deviations between the predicted values and the actual ones. In addition, the impact of link fluctuations is not considered sufficiently, resulting in higher errors under moderate and sudden changed links with larger fluctuations.
In view of these problems, this paper proposes a more effective link quality prediction method RNN-LQI. RNN-LQI adopts RNN to predict the LQI series, and then evaluates the link quality according to the fitting model of LQI and PRR. On the one hand, this method could better mine the inner relationship among LQI series with the help of short-term memory capability of RNN, which helps to reduce the impacts of prediction errors. On the other hand, it could alleviate the impacts of link fluctuation on PRR mapping by taking advantage of the higher resolution of LQI in the transitional region, which helps to reduce the impacts of mapping errors.
To analyze the advantages of the proposed method, three methods of the same type were chosen for comparison. Compared with these methods, RNN-LQI shows higher prediction accuracy under different link qualities. Especially under moderate and sudden changed links with larger fluctuations, prediction errors of RNN-LQI reduce at least by 14.51% and 13.37%, respectively. It means that considering the temporal correlation of physical layer parameter series and the resolution of physical layer parameter mapping to PRR will help to realize more accurate link quality prediction.
The limitations of this method are mainly as follows: (1) Although the higher resolution of LQI in the transitional region has been utilized, the mapping error from physical layer parameters to PRR is only alleviated but not completely eliminated. (2) Offline test data collection and model training are needed to instantiate the proposed method, which makes it not adaptive to different environments and configurations. Therefore, the following future works may be feasible and valuable: (1) Link quality prediction methods with mapping error eliminated should be created to further improve the accuracy of prediction; (2) Online model training using the approach proposed in [
15] could be considered and introduced to enhance the adaptability of the proposed method.