1. Introduction
Optical wireless communication (OWC) is an innovative technology that provides high data rates and accommodates multiple users. As a result, numerous researchers have thoroughly studied the optical wireless physical layer [
1,
2,
3,
4,
5,
6,
7]. Extensive research has been conducted to enhance this technology’s data transmission rate. Resource management in these systems, particularly regarding power, is crucial for achieving a communication system with a high data transmission speed [
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18]. Aletri et al. studied optimal resource management in an OWC system that supports multiple users using a wavelength division multiple access scheme. The results indicate that the proposed method aids in configuring the OWC system for optimal network location processing [
19]. Researchers have presented an analysis of noise and PAPR in polarized Orthogonal Frequency-Division Multiplexing (OFDM). They demonstrated that optimal power allocation can enhance the receiver SNR. Moreover, effectively allocating phase and amplitude power can significantly minimize the impact of intensity clipping on the bit error rate (BER) [
20]. Farooqui et al. investigated the physical layer aspect of power allocation in indoor wireless optical communication systems based on OFDM with intensity modulation and direct detection (IMIDD). The primary objective of this research was to minimize the average transmitted optical power while adhering to the bit error rate constraint. The simulation results indicated that significant reductions in transmission power occur when the transmission bit rate reaches approximately 100 Mbit/s [
21]. Another study combined the cognitive radio system power distribution method with orthogonal frequency-division technology. Analyses of wireless communications indicate that OFDM-CR-based power allocation algorithms will enhance the future of wireless optical communications [
22].
Optical wireless communication can achieve high data rates in the terabits per second (Tb/s) range. OWC’s use of infrared lasers as transmitters is a leading candidate for the next generation of wireless communications. Researchers have developed a DNN model to address the power allocation optimization problem in a two-layer rate-division OWC network. The results indicate that the proposed model accurately provides solutions that are significantly close to optimal [
23]. Previous research examined the optimization of DC bias, information carrier power, and sub-power allocation in OFDM systems with bias. The objective was to maximize the achievable rate within the limitations of optical power. Simulation results validated the theoretical analysis and effectiveness of the developed algorithms [
24]. In another study, the authors evaluated the performance of a MIMO-NOMA-based VLC system for a multi-user indoor network through MATLAB R2013b v8.2 simulations. This research considered and compared a new NOMA power allocation strategy in VLC systems with existing schemes. Numerical simulation results show that the proposed NOMA system increases the total system sum rate [
25]. Researchers have studied a MIMO-FSO system in multiplex mode. This study proposed a power allocation algorithm based on reinforcement learning (RL). Analytical results show that the proposed algorithm performs better than the traditional power allocation algorithm [
26]. In a separate study, Li et al. created a power distribution optimization model for underwater optical communications (UWOCs) while adhering to specific light-emitting diode (LED) power emission constraints in two scenarios. The optimization model used the Karush–Kuhn–Tucker (KKT) conditions and the bipartite method to determine the optimal power allocation for two user types. Simulations showed that the power allocation method was optimized accurately [
27].
Combining a multiple-input, multiple-output system and the OFDM technique can significantly enhance the achievable rate of visible light communication (VLC) systems. Consequently, researchers have introduced a two-dimensional water-filling (2D-WF) power allocation algorithm that functions in both the frequency and spatial domains, effectively enhancing the rate achieved by MIMO-OFDM VLC systems in low-pass VLC channels. Simulation results show that the proposed 2D-WF power allocation outperforms all other schemes regarding the achievable bit rate [
28]. In a different study, researchers proposed various power allocation schemes for multi-input and multi-output OFDM transmission to reduce the bit error rate and evaluated the other solutions. Simulation results indicate a substantial improvement in the BER performance for QPSK and QAM modulation compared to the equal power allocation scheme [
29].
Communication channel conditions can change in real time due to various factors, including smoke, fog, temperature fluctuations, and pressure differences. Additionally, resource limitations require that transmitter power be allocated to communication channels in a manner that maximizes data transmission rates. However, analytical power allocation methods can be unsuitable for real-time applications due to the extensive calculations and processing delays they involve. Therefore, it is more effective to employ faster methods, such as power allocation, using neural networks.
In this research, power allocation is performed using analytical methods and neural networks implemented in an embedded system for various types of wireless optical communication channels, including those affected by fog, Rician fading, Rayleigh fading, and models based on the Gamma–Gamma distribution. Next, the graph showing the changes in the bit error rate and data transmission rate regarding the signal-to-noise ratio and transmitter power is presented for all cases. A neural model is trained using data from the analytical power allocation method. The trained model is implemented on the Jetson Nano to control power in the transmitter of the wireless optical communication system. Power allocation in OFDM optical wireless communication using embedded systems and analytical methods is shown in
Figure 1.
In this system, the inputs are the bit error rate and the data transmission rate, while the output is the optimal transmitter power for the wireless optical communication channel. This model allocates higher transmitter power to channels experiencing elevated bit error rates and lower data transmission rates. Low transmitter power values are allocated to channels with a low BER and high data rates to optimize power consumption and reduce interference. The results indicate that the proposed embedded power allocation optimizes transmitter power consumption, enhances the transmission rate, and reduces interference in optical wireless communication systems.
3. Results and Discussion
Power allocation for various optical communication channels utilizes OFDM modulation. Since numerous mathematical calculations are required with each change in the atmospheric conditions of the wireless communication channel for effective power allocation, significant processing power is necessary. This high processing demand can lead to longer processing times within the hardware system.
In contrast, power allocation using deep neural networks allows for the design of a real-time power allocation system that operates several times faster than traditional methods after a single training session of the network. Additionally, by comparing the output of the neural network with that of the analytical system, it is possible to calculate the accuracy percentage of the neural network system.
This paper utilized OFDM modulation of varying orders to create the database necessary for a real-time optimal power allocation system in optical communication channels. This research uses lower-order modulations for highly reliable optical wireless channels and limited power budgets. At the same time, high-order modulations are also used for optical channels that require high data rates. To design the power allocation system, the bit error rate was first calculated for different values of the signal-to-noise ratio and transmitter power.
Table 1 shows the initial design parameters.
Figure 4 shows the bit error rate regarding the signal-to-noise ratio and transmitter power for BPSK modulation. It demonstrates that the BER is at its lowest when the SNR exceeds 20 dB and the transmitter power exceeds 4 mW. Additionally,
Table 2 indicates that this minimum BER value is
for the optical wireless channel.
According to
Table 2 and
Figure 5, the data rate for an SNR above 20 dB and a power of 5 mW in an optical communication channel with BPSK modulation reaches 2.8 Gbps. This modulation has a lower data rate than higher-order modulations and is more tolerant of transmitter power limitations than other forms of OFDM modulation.
QPSK modulation offers improved data rates in optical communication compared to BPSK modulation. In this modulation, the data rate for transmitter power values of 3 mW and more than 9 dB for the SNR gradually increases and reaches 5.6 dB.
Figure 6 and
Table 3 illustrates the changes in the data rate based on the transmitter power and SNR for QPSK modulation.
In the QPSK modulation model for optical communication, the lowest bit error rate is
, and the highest value is 0.4996.
Figure 7 illustrates the variation in the bit error rate with the transmitter power and signal-to-noise ratio. The bit error rate is increased for this modulation compared to BPSK modulation.
Further, 16 QAM modulation is used in optical communication channels with a medium SNR, which must balance the data rate and optical channel reliability. This modulation offers a higher data rate compared to BPSK and QPSK modulations.
Figure 8 and
Table 4 show that as the transmitter power and SNR increase, the data rate values rise to 11.21 Gbps under comparable channel conditions.
The bit error rate variation in the transmitter power and SNR for 16 QAM modulation is shown in
Figure 9. This model’s minimum and maximum values for the BER are
and 0.3748, respectively. It has been observed that the BER in this model has increased compared to lower-order modulations.
High-order modulations, such as 64 QAM, are used to modulate optical communication channels where high data rates are essential.
Figure 10 shows that this model’s data rate is higher than that of previous models. According to
Table 5, the maximum data rate in this case is 16.81 Gbps.
Figure 10 shows the data rate changes regarding the transmitter power and BER for 64 QAM modulation.
The bit error rate in an optical communication channel with 64 QAM modulation decreases less for higher transmitter power values than with previous modulations.
Figure 11 illustrates the bit error rate for 64 QAM modulation as a function of the transmitter power and SNR. In this case, the minimum and maximum bit error rates are
and 0.2916, respectively.
In a wireless optical communication channel that is affected by fog, the power at the receiver decreases due to path loss, resulting in a reduced data transmission rate.
Figure 12 illustrates the variations in the data rate based on the signal-to-noise ratio and transmitter power for BPSK, QPSK, 16 QAM, and 64 QAM modulations. It is evident from this figure that the data rate is lower for modulation schemes with lower-order OFDM.
The Gamma–Gamma distribution model accounts for fading effects in wireless communication channels on both large and small scales. Implementing this model involves more complex analytical relationships compared to other models. For this model, the values of α and β are set to 2.
Figure 13 illustrates how the data transmission rate changes concerning the signal-to-noise ratio and transmitter power for BPSK, QPSK, 16 QAM, and 64 QAM modulations under the Gamma–Gamma distribution model.
This section uses the Rayleigh distribution for fading to model a wireless optical communication channel with high path loss. Due to the high path loss, the data transmission rate is severely reduced.
Figure 14 shows the data transmission rate changes regarding the signal-to-noise ratio and transmitter power for Rayleigh fading for BPSK, QPSK, 16 QAM, and 64 QAM modulations.
In an optical wireless communication channel affected by Rician fading, the K factor represents the ratio of the power of the direct-line-of-sight path to the power of the scattered paths. In this scenario, the K factor is set to 1.
Figure 15 illustrates the data rate concerning the signal-to-noise ratio and transmitter power for Rician fading across BPSK, QPSK, 16 QAM, and 64 QAM modulation schemes.
In power allocation using embedded systems, the trained neural network assigns high power values to the transmitter for wireless optical communication channels characterized by low data rates and high bit error rates. It also considers low transmitter power values for channels with high data rates and a low BER.
Figure 16 illustrates the variations in the data rate concerning the optimal power allocation predicted by the embedded system and the signal-to-noise ratio for the wireless optical communication channel under normal conditions across different OFDM modulation schemes. In the normal communication channel mode, the embedded power allocation system allocates a maximum power of 5.18 mW and a minimum power of 0.009 mW.
Table 6 presents the maximum and minimum output power values from the embedded power allocation system for a normal wireless optical communication channel. Compared to the analytical power allocation system, this system has an average accuracy of 97%. The embedded system’s average power allocation accuracy in an optical wireless communication channel impacted by fog is approximately 96%. In this scenario, the maximum power used in the optical wireless communication channel is 5.04 mW, with a data rate of 0.77 kbps. Its minimum value is 0.007 mW, occurring at a near-optimal data rate.
Figure 17 illustrates the power budget allocated by the embedded system for various data rates and SNR values across different OFDM modulation schemes. The embedded power allocation system in optical wireless communication channels is less accurate than in other channels, particularly in conditions of smoke and fog.
Table 7 presents the experimental system’s output accuracy for various OFDM modulation schemes. It also displays the minimum and maximum power allocation values.
In this case, the embedded power allocation system distributes power for two-channel fading modes on both small and large scales. The proposed experimental system achieves 99% accuracy compared to the analytical power allocation for the channel modeled with a Gamma–Gamma distribution. For the channel using the Gamma–Gamma distribution model, the maximum power allocated by the embedded power allocation system is 4.98 mW, while the minimum value is 0.008 mW.
Figure 18 illustrates the power allocation diagram of the embedded system for various data rates and SNR values across different OFDM modulation schemes. The experimental system’s accuracy in the wireless optical communication channel, using the Gamma–Gamma model, is above 99%.
Table 8 presents the accuracy of the embedded power allocation system, as well as the minimum and maximum allocated power.
The bit error rate significantly increases in wireless optical communication channels experiencing strong Rayleigh fading. Conversely, the data rate declines significantly. In the embedded power allocation system, the maximum power is 5.02 mW, while the minimum power is 0.008 mW, calculated based on the channel data rate and SNR values. The embedded power allocation system for a channel with strong Rayleigh fading has an accuracy of 97%.
Figure 19 illustrates the optimal power allocation for a wireless optical communication channel affected by strong Rayleigh fading, considering the data rate and SNR across different OFDM modulation schemes. The experimental system’s accuracy is above 99% for higher modulation orders in the wireless optical communication channel with strong Rayleigh fading.
Table 9 presents the accuracy of the embedded system, as well as the maximum and minimum power allocation values, for the channel with strong Rayleigh fading.
The embedded power allocation system for wireless optical communication channels affected by Rician fading is approximately 98% accurate.
Figure 20 illustrates the optimal power allocation for these channels, showcasing the data rate and SNR across different OFDM modulation schemes. The allocated power for various data rates and SNR values is a maximum of 4.98 mW and a minimum of 0.009 mW.
Table 10 presents the accuracy values of the embedded power allocation system for a wireless communication channel experiencing strong Rician fading. In this scenario, the experimental system achieves an accuracy of over 98%. According to the data in
Table 10, both the maximum and minimum power allocation values are very close to the analytical values.
4. Conclusions
This paper designed and presented an embedded power allocation system for optical wireless communication channels, including fog, Rayleigh, and Rician fading channels, as well as the Gamma–Gamma channel model. This system can enable real-time optimal power management in noisy, channel fading, and fog communication channels, increase the data transmission rate, and reduce interference in optical wireless communication. The embedded power allocation system for the Rician fading wireless communication channel has the highest accuracy, about 99%. The accuracy of the proposed system for standard and Rayleigh fading channels is 97%, and for fog-affected channels, it is 96%. Also, the maximum data transmission rate for BPSK, QPSK, 16 QAM, and 64 QAM modulations is 2.8 Gbps, 5.6 Gbps, 11.2 Gbps, and 16.81 Gbps, respectively. The data transmission rate is increased by installing the designed embedded power allocation system in the transmitter of optical wireless communication systems, and power consumption is optimized. Due to the optimal management of the power of the communication channels, this system also improves interference. This system can be developed and expanded for other modulations with other optical wireless communication channel conditions.