Abstract
Free Space Optics (FSO) is one of the technologies which supports immense data transfer requirements. Though it offers high data rate, but experiences atmospheric attenuation due to dynamic weather conditions. On the other hand, RF communication has lower data rates but are comparatively insensitive to weather conditions. This paper focuses on a hybrid FSO/RF system with the application of Machine Learning (ML) on the prediction of Link Margin (LM) and a ML based switching mechanism between FSO/RF based on the current weather conditions. LM is considered as an important quality parameters in the design and analysis of the FSO link. Mainly rain and fog meteorological data are considered for the estimation and classification of link.
Introduction
System model of ML based switching.
FSO is a Line-of-Sight (LoS) technology with a high data rate of nearly 10 Gbps is achieved in a full-duplex communication to transmit various streams of voice, data, high-quality video services etc [1]. As these system serves over free (unlicensed) optical frequencies and tends to work longer distances up to a few kilometers [2, 3] they can avail the everlasting demand for higher data rates. FSO technology uses an optical beam to transmit data in free space, providing optical connectivity. FSO works similarly in operation as optical fiber communication with a difference of channel it propagates, i.e., optical beams are transmitted through atmosphere instead of optical fiber. FSO system employs optical transceiver with bi-directional communication capability at both ends. A few of the essential characteristics of an effective FSO system are [1]: a) To establish a long distance link, the FSO system needs to operate at higher power. b) Transmission of a higher data rate requires a high-speed modulation technique is an important issue to consider. c) FSO systems are to be designed such that low power is consumed, lowering the maintenance of the system. d) Also, it should operate at varied temperature regions (i.e., the outdoor environment should not degrade the performance of the system). e) Mean time between failures (MTBF) must be high enough, i.e., more than ten years is a considerable choice. Moreover, FSO and RF channel illustrate reciprocative properties towards atmospheric and weather effects. In particular, the FSO link is less sensitive to rain [4, 5], whereas the link performance of FSO degrades vitally in case of fog. On the other hand, RF is very much sensitive to rain but not so for fog. Hence a combination of FSO and RF link provides the complementary advantage of both the technologies i.e., high reliability, non-LoS, low latency and high data rate. There are various previous works on hybrid FSO/RF system which focus on soft-switching between two links using the joint design of coding schemes [6, 7, 8, 9]. A hard switching based on the current status of the link, i.e., received power above the threshold is performed [10]. In [7], a rateless coded automatic repeat request (ARQ) scheme has been proposed for hybrid FSO/RF systems. A bit interleaved coded modulation scheme is proposed in [8] for such hybrid systems. In [9] proposed the raptor coding to mitigate the large burst of data due to channel conditions. From an information theory perspective, the link availability of hybrid FSO/RF was examined in [11]. Effect of non-Gaussian noise with similar hybrid FSO/RF system and its performance is analyzed in [12]. A switching scheme based on a single threshold for RF link and the double threshold for the FSO link is proposed in [13]. In [14] switching is based on the signal to noise ratio at the receiver of the FSO system. In [15] designed the switching mechanism based on the single threshold and double threshold with FSO as the highest priority; performance of the system is analyzed. In a recent [16], a predictive switching mechanism based on the deep learning algorithm to optimize the energy is proposed. Some rate loss is observed in hard-switching schemes as compared to soft-switching schemes. To the best of our knowledge, switching mechanisms based on the ML considering the current weather data has not been addressed. This work uses the applications of ML for selecting the communication link based on current atmospheric conditions.
The remainder of the paper is organized a follows. Following to introduction, Section 2 presents the proposed system model of ML-based switching system in hybrid FSO/RF. Section 3 discusses the FSO link design considerations and different atmospheric effects. Section 4 discusses the various ML models in determining link availability and switching accordingly. Section 5 presents the results of the proposed scheme, and finally, Section 6 provides the concluding remarks of the work.
The system model of the proposed ML-based switching is shown in Fig. 1. It consists of a hybrid FSO/RF transceiver connected to a switching system. A detailed implementation of the experimental implementation of hard-switching can be obtained in our previous work [10]. The current atmospheric condition from the meteorological department is obtained through Internet of Things (IoT) cloud. ML algorithms are used for LM estimation, and classification as an FSO link endures several effects due to atmospheric attenuation (i.e., losses created due to fog, rain, snow), turbulence, scattering, misalignment, etc. LM estimation provides the switching system to select for data transmission between the FSO or RF link. Along with the LM estimation, classification of data transmission links is determined using the ML model, which thereby controls the switching system. Real-time weather data is provided as input to the LM estimation block.
Hybrid FSO/RF link design
FSO link design
FSO is a technology that transmits the optical beam into the atmospheric channel as a propagating medium. The properties of the channel are the random functions of space and time. Designing of the FSO link is dependent on atmospheric conditions and geographical deployment location. Several unpredictable environmental factors, i.e., fog, rain, clouds, snow, haze, etc., create attenuation on the transmitted optical signal. This limits the link operational distance of the FSO system. Different challenges observed by the system designer in terrestrial FSO links are discussed. Power loss due to atmospheric attenuation on the laser beam is dependent on different parameters. An essential quality parameter in the design is the link margin (LM). It is dependent on different attenuation factors that affect the link. Few of the vital attenuation are explained below:
Geometrical attenuation (
)
Optical receivers have a small capture area where a very less amount of power is received, as the light beam travels for a long distance in free space. This leads to geometrical attenuation given by [17],
where,
Due to variation in weather conditions, there are different types of atmospheric attenuation (i.e., rain, fog, snow, turbulence, etc.).
Rain attenuation
The impact of rain is dependent on the intensity of rain. The attenuation created for light rain (2.5 mm/hr) to heavy rain (25 mm/hr) ranges from 1 dB/km to 10 dB/km for wavelengths around 850 nm and 1500 nm [18]. Attenuation due to rain can be represented as,
where,
Different values of
Attenuation created due to fog has a crucial role on the FSO link. Attenuation is observed due to absorption and scattering from fog particles. Typical dense fog condition limits the visibility to less than 50 m creating an attenuation of more than 350 dB/km [19]. This limits the availability of the FSO link. Fog attenuation in terms of visibility can be expressed as,
where,
where,
The complimentary nature of FSO and RF has proven to emanate as a practical solution for reliable connectivity with a high data rate. In [4] discusses the detail effects of weather in the RF communication link.
Link quality estimation and prediction using machine learning algorithms
In a hybrid, FSO/RF system, estimating the quality of the link is based on the free space conditions is a challenging task. Also, switching between the two communication links based on the current atmospheric requires a real-time monitoring and control system. In order to accomplish this, the following are the different ML algorithms considered for evaluation.
Logistic regression
Logistic regression is used when a dependent variable is based on one or more independent predictive variable, which predicts the outcome. Input arguments (i.e.,
where,
where,
Naive Bayes algorithm classification is based on Bayes theorem with naives assumptions. Its learning assumes that features are independent, but classifies very well. It is a sub-set of bayesian decision theorem, which can be expressed as [21],
where,
The random forest can be the well suitable algorithm for classification problems. It is a supervised learning algorithm that can be used for both classification and regression by considering the multitude of decision trees with random training samples. Prediction is performed based on the voting to select the best solution. It provides better predictive power than the decision trees. Averaging the results of different decision trees, random forest overcomes the overfitting problem and provides good accuracy [22].
Results and discussion
Based on the system model and mentioned ML algorithms, LM of the FSO system is predicted for switching between FSO or RF link. The performance of a machine learning model is determined with metrics such as confusion matrix, precision, recall, and entropy. Confusion matrix values are obtained to analyze the performance of different ML algorithms. Accuracy or classification rate is an important metric in determining the performance of the ML algorithms. Accuracy is calculated from the obtained confusion matrix values given by [23],
where,
Data set used for rain simulation
Attenuation produced due to rain has been predicted using ML algorithms. The machine is trained using a real-time data set obtained from the Earth and Atmospheric Sciences department of NIT Rourkela, which calibrates the rainfall rate at an interval of one minute. A few of the observations from the data set with rainfall at different time stamps are shown in Table 2. Linear regression is initially used for predicting the rain attenuation. The model is trained with 75% of the data and tested for the remaining 25%. Figure 2 shows the prediction of rain attenuation for different precipitation of rain using linear regression. For arbitrary rain precipitation of 7.5 mm, the predicted attenuation is 3.6823 dB/km by the model, and on calculating using Eq. (2), it is 4.105 dB/km, with an error of 0.4227. To get accurate predictions of LM, different ML models discussed in Section 4 are applied. Figure 3 represents the training model of logistic regression with decision boundaries based on LM and rainfall rate. Figure 4 represents the testing phase to classify the LM, red region, i.e., ‘0’ indicates the RF link to be used and the green region as the FSO link. Figures 5 and 6 represents the random forest classifier model implementation. Similarly, other ML algorithms, i.e., K-NN, Naive Bayes classifier, are applied.
Prediction of rain attenuation using linear regression.
Training of logistic regression for prediction of different rain attenuation.
Prediction of LM for different rain intensity using logistic regression.
Training of random forest classifier different rain intensity.
Classification of LM for different rain intensity using random forest classifier.
Machine learning algorithms and their corresponding accuracy for rain attenuation
The accuracy of prediction for ML algorithms applied is shown in Table 3. Random forest algorithm outperforms than other algorithms in predicting LM of the FSO system under rain atmospheric.
Data set used for link selection
Data set used for link selection
Training of logistic regression to predict LM with visibility values of fog.
Prediction of LM due to fog attenuation using logistic regression.
Training of K-NN classifier to predict LM with visibility values of fog.
Prediction of LM due to fog attenuation using K-NN classifier.
Training of Naive Bayes classifier to predict LM with visibility values of fog.
Prediction of LM due to fog attenuation using Naive Bayes classifier.
Training of random forest classifier to predict LM with visibility values of fog.
Prediction of LM due to fog attenuation using random forest classifier.
The measurement of fog attenuation is based on the visibility data. Fog visibility data is used to train the model to predict the fog attenuation and corresponding LM based on Eqs (3) and (4). ML model needs to classify the LM with threshold and provide the information regarding the active link of hybrid FSO/RF to the switching system. A predefined threshold of 12.05 dB is used to classify the link. A few of the readings of the data set used for the simulation are mentioned in Table 4. After training, the ML model predicts the link margin for given visibility. Figure 7 represent the training of logistic regression with the red region as RF link and the green region as the FSO link. Figure 8 shows the testing phase with the logistic regression model where the accuracy of prediction is 65% and 35% are misclassified, which has a poor performance. Figure 9 is the training of the K-NN classifier, which is a non-linear model with high prediction based on the neighbors. Figure 10 represents the classifier testing phase, which has good prediction and classification. Naive Bayes classifier is trained to classify the LM is shown in Fig. 11. Figure 12 shows the testing of the model, Naive Bayes classifier has good performance compared to the logistic regression, but K-NN has a better prediction compared to Naive Bayes. Also, a random forest ML model is applied with the training phase is shown in Fig. 13. Figure 14 represents the testing phase, where it has a superior performance compared to other ML models. The performance of the ML models in terms of accuracy, is shown in Table 5. It is observed that the random forest algorithm outperforms the other ML algorithms in predicting and classification of link.
Machine learning algorithms and their corresponding accuracy
This work highlights the switching mechanism based on the machine learning algorithm in a hybrid FSO/RF system. Real-time weather data is taken into consideration in determining the link quality. ML algorithm predicts the LM of an FSO link and classifies the communication link to have opted under current channel conditions. Models are trained with real-time rain, and fog data set to determine the link quality. Among the other ML models, random forest has shown superior performance in terms of accuracy in predicting and classification. Experimental implementation of the ML model can provide more insight into the proposed scheme, and it forms the part of future research work.
Footnotes
Acknowledgments
This work has been supported by Department of Electronics and IT (DeitY), Ministry of Communications and IT, Government of India under Visvesvaraya PhD Scheme for Electronics and IT (Grant no: PhD-MLA/4(13)/2015-16).
