1 Introduction

To accommodate the expanding needs of cellular systems, the broadband access market is expanding to new areas based on optical wireless technology. The most common forms of broadband connectivity nowadays are cable and radio frequency (RF) lines. Cable allows for connectivity whatever be the climate, but its point-to-point infrastructure makes the “last mile” costly [1]. Additionally, RF connections may function in any climate and don’t need a special point-to-point setup. However, the current state of RF technology is problematic due to the aforementioned strong demand and the high cost of necessary licenses.

FSO employs a laser beam in empty space to convey information. FSO surpasses fibre optic technology due to its affordability, compact size, high throughput, and faster transmission rates. With FSO, significant technological advancements are possible and may come sooner rather than later. The signal received by the receiver deteriorates due to air turbulence. Yet, spatial distinguishing quality methods had made it feasible to lessen the optical signal’s impact on the surrounding environment in FSO setups [2,3,4]. The system efficiency had been enhanced in numerous difficult circumstances thanks to the FSO framework’s use of spatial diversity. Higher-order diversities was illuminated by increasing the Q Factor. These methods aid in making FSO operations more effective [5]. Mai Banawan et al. [6] employed the integration of WDM and MIMO techniques to augment the channel capacity. Figure 1 depicts the basic framework of the FSO link. Digital information is processed with a continuous wave laser. After modulation, this optical signal is transmitted through the FSO channel. In the receiver part, the photodetector (PD) detects this signal. A low-pass filter (LPF) is employed in the signal to eliminate undesirable background noise. The performance of this system is evaluated by the BER tester.

Fig. 1
figure 1

Basic architecture of the FSO module

To conduct the performance analysis of the FSO system, a variety of modulation schemes were used. B. Sridhar et al. [7] demonstrated the performance of the FSO system based on different modulation techniques, investigating various types of channel instabilities including rain, fog, physical blockage, scintillation, and more. Performance metrics were analyzed using the Gamma-Gamma approach in [8], helping understand the intensity of optical channels. R. Nebuloni et al. [9] investigated fog-induced attenuation in FSO systems, deriving the relationship between fog’s extinction coefficient and visibility. Moreover, uncertainties arising from microphysics and visibility measurement methods were assessed for their impact on FSO power budgets. Xiaozong Yu et al. [10] employed the performance of dual-hop FSO system considering atmospheric turbulence, absorption, and pointing errors. Furthermore, this investigation [10] formulated precise expressions for the outage probability and average BER (ABER) using various detection techniques. Moreover, to obtain the results, the distance of the single FSO and dual-hop FSO link was considered to be 1800 m and 900 m respectively. Guanjun Xu et al. [11] investigated unmanned aerial vehicles (UAV)-assisted dual-hop FSO systems on the basis of attenuation loss, atmospheric turbulence, pointing errors, and angle-of-arrival fluctuation. Moreover, this paper [11] derived the expression of outage probability and ABER. Furthermore, in order to achieve the results, the distances for the source-to-UAV and UAV-to-destination links were set at 20 km and 3 km, respectively. The simulation results of this research [11] also indicated that foggy weather severely hampered the transmission of the FSO system and led to an increase in the BER.

Anuranjana et al. [12] proposed the integration of mode division multiplexing (MDM), WDM, and FSO systems under foggy conditions. Ekta Vasani et al. [13] employed the spectrum slicing wavelength division multiplexing (SS-WDM) technique with the FSO system. The transmission range achieved in this paper [13] was 1–5 km. The performance of the FSO system was analyzed using the aperture averaging method in [14]. Ekta Vasani et al. [15] discussed the integration of SS-WDM and polarization division multiplexing techniques with the FSO system, examining the system’s performance under various atmospheric conditions, including rain, fog, snow, and others. Ebrahim E. Elsayed et al. [16] examined the utilization of dense wavelength division multiplexing for transmission within an integrated FSO system, employing on-off Keying and digital-pulse position modulation. This work [16] achieved a data rate of 2.5 Gbps on each channel. Mehtab et al. [17] evaluated the effectiveness of the FSO system based on orbital angular momentum (OAM) schemes using RZ, NRZ, and alternate mark inversion modulation schemes. According to the findings of this study [17], NRZ modulation schemes provide superior outcomes compared to RZ modulation schemes and other mark-inversion modulation schemes. Additionally, they were able to achieve a data throughput of 40 Gbps. Lamia et al. [18], in various climates, used the Spectral Amplitude code division multiple access method to perform a performance study of the FSO system. This article [18] employed NRZ modulation schemes and achieved a data rate of 1 Gbps. H. Singh et al. [19] employed the integration of a 16 × 10 Gbps WDM system with orthogonal frequency division multiplexing technique to analyze the performance of the FSO system. Furthermore, in coastal areas where the attenuation was 0.5 dB/km the highest transmission range the BER achieved in this study [19] was 10.75 km and 10− 9, respectively. Investigating the functionality of the FSO system, Farouk et al. [20] utilized 2 × 2 FSO transceiver modules, revealing that the achievable transmission range ranged from 1.6 to 3.9 km. N. Rani et al. [21] proposed a 4 × 4 FSO transceiver module, with their study indicating that the achievable transmission range via direct detection was approximately 4.5 km To enhance the functionality of the FSO link, our previous work [22] employed a hybrid combination of multiple beams and the WDM approach. The findings presented in this study [22] demonstrate improved channel capacity and spectral efficiency. For the simulations in this study [22], we exclusively considered clear climatic conditions.

1.1 Research Gaps and Main Contributions

The state-of-the-art literature studies show the different methods employed for mitigating atmospheric turbulence, environmental conditions (rain, fog) and pointing error problems in the FSO framework. Yet, these approaches fell short of achieving satisfactory results in terms of maximum transmission range, spectrum efficiency and channel capacity. This study is dedicated to elevating the performance of FSO by boosting channel capacity and enabling long-distance transmission.

This paper presents a suggested architecture for a 32-channel WDM FSO system, utilizing pre- and post-amplification techniques along with direct detection technology. To aid system architects, a comprehensive simulation framework employing MIMO methods has been developed. The OptiSystem tool was utilized to evaluate this model, which constitutes the primary contributions of this study. Specifically, the contributions are as follows:

  1. i)

    We have designed a direct detection-based WDM FSO system that efficiently mitigates the impact of environmental turbulence, including rain, fog, and pointing errors. Furthermore, the model parameters are optimized using a single-parameter optimization (SPO) approach, and the channel component benefits from the utilization of the MIMO technique. Moreover, we have derived the closed-form expression of the BER for MIMO FSO system.

  2. ii)

    With the help of a parametric study of the BER and Q Factor, we simulated and analyzed the results.

  3. iii)

    Moreover, we compared our outcomes with designs extracted from cutting-edge literature research. This comparison encompassed factors such as transmission range in different climatic conditions (rain, fog), multiplexing techniques, information rates, optimization methods, and the inclusion of pointing error impairments.

  4. iv)

    The proposed design outperforms previous research in terms of transmission range and channel capacity, as confirmed by the obtained results.

There are five parts to this study. In the Introductory Part, the value of the FSO connection is examined using the review of relevant literature. In the Sect. 2, “Methodology” we will discuss the architecture of the proposed system design. The parameters and the values that are given in the simulation are discussed in the Sect. 3. We will explore the outcomes of applying the provided framework in the results and discussion Section. Finally, In the Conclusion Section, the planned work is ended, and a discussion of the proposed system’s ongoing work is presented.

2 Methodology Analysis

The suggested Pre- and Post-amplification-based MIMO WDM FSO framework is illustrated in the block diagram presented in Fig. 2. This section provides a detailed discussion and theoretical analysis of the framework. The creation of the intricate stage process within the framework is examined. In this context, several components are referred to by their abbreviations: “PRBS” denotes the “Pseudo Random Bit Sequence” generator, “Mach-Zehnder modulator” is represented as MZM, “CW Laser” refers to the continuous wave laser, and the power splitter is denoted as PSP. Additionally, the abbreviations used in this study include WDM MUX for wavelength division multiplexer, OA for optical amplifier, PC for power combiner, WDM DEMUX for wavelength division demultiplexer, and 3RG for 3R regenerator.

Fig. 2
figure 2

Proposed Pre- and Post-amplification-based multiple beam WDM FSO system

2.1 Transmitting Section

The transmitter part of Fig. 2 involves the generation of random bits by the PRBS for communication purposes. These random bits are then transformed into different waveforms using NRZ, RZ, and GA modulation schemes. On the other hand, the CW laser emits a laser beam with a frequency of 193.1 THz. The optical signal is divided into 32 individual output signals by the PS (1 × 32) component. Subsequently, the signal is multiplexed using a WDM MUX (32 × 1). The MZM, working together with the WDM MUX (32 × 1), transforms the electrical signals from the NRZ, RZ, and GA modulation schemes into the optical domain. The OA amplifies the strength of the optical signal. EDFA is utilized in various configurations within this scheme for the purpose of amplification. When the EDFA is positioned at the transmitter side, the receiver side, or both sides, it is denoted as the PRE, POST, and PREPOST-amplification configurations, respectively. The PS (1 × 8) then separates this composite signal into 8 individual output signals. After processing, the optical signal is transmitted through the FSO transmitter (FSO Tx) module over the transmission medium.

2.2 Channel Section

In the Channel section, the FSO Tx module transmits 8 beams. The channel experiences various turbulence losses, including scintillation, rain, fog, haze, and dust, among others. Each of these factors uniquely influences the quality of the FSO link signal.

2.2.1 Scintillation

Scintillation pertains to rapid variations in the optical signal’s intensity and phase due to atmospheric turbulence. This occurrence induces signal fading, resulting in reduced received power and elevated BER. To counteract these effects, techniques like adaptive optics and diversity are combined together to mitigate the impact of scintillation and enhance the system’s resilience [8], [23].

2.2.2 Rain

Raindrops can absorb and scatter optical signals, which are the leading causes of attenuation and fading of the signal. Shorter wavelength signals experience higher attenuation because rain-induced attenuation is dependent on the wavelength of the signal. Quantifying rain-induced signal degradation involves rain rate and specific attenuation models, and mitigation strategies encompass adaptive power control and link budget optimization [20], [24].

2.2.3 Fog

Fog particles scatter and absorb optical signals, causing attenuation and degrading signal quality. Fog-induced attenuation varies based on factors such as fog density, wavelength, and visibility. Longer wavelengths, like 1550 nm, display improved performance in foggy conditions due to reduced scattering [25]. The mitigation of fog-induced degradation is facilitated through advanced modulation schemes and wavelength diversity [12].

2.2.4 Haze

Haze, composed of suspended particles and moisture, contributes to optical signal scattering and absorption. The degree of haze-induced attenuation is contingent on particle size, concentration, and wavelength. In hazy environments, signal quality can diminish, resulting in higher BER. The adoption of higher-order modulation schemes and spectral slicing techniques can offset the negative impact of haze [13], [15].

2.2.5 Dust

Atmospheric dust particles can attenuate optical signals through both scattering and absorption. Dust-induced attenuation is influenced by particle size, concentration, and wavelength. The presence of dust may lead to signal fading and reduced link quality. Adaptive modulation and coding strategies are viable solutions to counteract the effects of dust-induced degradation [26].

Kruse [27] proposed a mathematical Eq. (1) for finding the Aerosol/Mie scattering attenuation coefficient \(\left({\beta }_{as} \right(\lambda \left)\right)\) at a particular wavelength.

$${\beta }_{as}\left(\lambda \right)=\frac{3.912}{{V}_{f}}{\left(\frac{\lambda }{550\left(nm\right)}\right)}^{-q}$$
(1)

In the Eq. (1) \(q\) represents the scattering particle size distribution and \({ V}_{f}\) stands for visibility in m. The value of \(q\) is varying according to visibility, which is represented by Eq. (2).

$$q = \left\{ \begin{array}{l}1.6\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{V_f}\, > \,50000\,m\\1.3\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,6000\,\,m\, < \,{V_f}\, < \,50000\,m\\58.5\, \times \,{10^{ - 2}}\,V_f^{1/3}\,\,\,\,\,\,\,\,{V_f}\, < \,6000\,m\end{array} \right.$$
(2)

In the Kruse [27] model, size of particles is considered small in comparison to wavelength. So, Kim [25] modified this model according to the requirement, which is represented by Eq. (3).

$$q = \left\{ \begin{array}{l}1.6\,\,\,\,\,\,\,\,\,\,\,{V_f}\, > \,50000\,m\\1.3\,\,\,\,\,\,\,\,\,6000\,m\, < \,{V_f}\, < \,50000\,m\\0.16\,{V_f}\, + \,0.34\,\,\,\,\,\,\,1000\,m\, < \,{V_f}\, < \,6000\,m\\{V_f}\, - \,0.5\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,500\,m\, < \,{V_f}\, < \,1000\,m\\0\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{V_f}\, < \,500\,m\end{array} \right.$$
(3)

This paper uses the Kim model [25] to find the attenuation under foggy environmental conditions. Moreover, under rainy conditions attenuation is calculated by Eq. (4) [26].

$${Y_{rain}} = \left\{ \begin{array}{l}0.509{R^0}^{.63}\,\,\,\,\,\,\,R\, < \,3.8\,km\\0.319{R^0}^{.63}\,\,\,\,\,\,\,3.8\,km\, < \,R\, < \,7.6\\0.163{R^0}^{.63}\,\,\,\,\,\,R\, > \,7.6\end{array} \right.$$
(4)

Where \(R\) represents rain intensity and \({{\rm Y}}_{rain}\) stands for attenuation of rainy conditions (dB per km).

The effectiveness of the FSO System is diminished as a result of these variables. Thus, the MIMO (8 × 8 beams) approach is used in this research. In this particular piece of study, the meteorological conditions in the channel were examined in great detail. This means that the attenuation in the channel is 0.065 dB/km, 9.64 dB/km and 22 dB/km in clear climatic, medium rain, and foggy conditions, respectively. Finally, this optical signal is received by the FSO receiver (FSO Rx) module.

2.3 Receiving Section

In the Receiver part, PC (8 × 1) combines the output of FSO Rx modules. In addition to that, the WDM DEMUX is necessary for demultiplexing this signal. This signal is turned into 32 output signals by WDM DEMUX. The selector (32 × 1) is then used to choose which signal to send out. This separated signal is detected by a PD and filtered by an LPF. PIN PD and Bessel LPF are used for detecting light and filtering it. 3RG component regenerates an electrical signal. In the last section, the performance metrics are looked at with the help of measuring tools like the BER tester.

2.4 Closed-form Expression Of The BER For MIMO FSO System

In the FSO system receiver irradiance is modelled as \(I={I}_{l}{I}_{at}{I}_{p}\), where \(I\) is channel state, \({I}_{l}\) represents the path loss, \({I}_{at}\) accounts for the turbulence-induced fading and \({I}_{p}\) signifies the impact of the pointing error impairment. The probability density function (PDF) of the pointing error impairment effect is given by Eq. (5) [28]:

$${f}_{{I}_{p}}\left({I}_{p}\right)=\frac{{\xi }^{2}}{{A}_{0}^{{\xi }^{2}}}{I}_{p}^{{\xi }^{2}-1}, 0\le {I}_{p}\le {A}_{0}$$
(5)

Where \({A}_{0}\) represents the fraction of power collected at the receiver, \(\xi ={B}_{0}/2{\sigma }_{s}^{2}\) often referred to as “jitter,“ is defined as the ratio of the equivalent beamwidth to the standard deviation of the pointing error displacement.

The PDF for the Gamma-Gamma turbulence model is given by Eq. (6) [29]:

$${f}_{{I}_{at}}\left({I}_{at}\right)=\frac{{2\left(\alpha \beta \right)}^{\frac{\alpha +\beta }{2}}}{{\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}{I}_{at}^{\left(\frac{\alpha +\beta }{2}\right)-1}{K}_{\alpha -\beta }\left(2\sqrt{\alpha \beta {I}_{at}}\right)$$
(6)

where \({K}_{\alpha -\beta }(\dots )\) denotes the modified Bessel function of the second kind. \(\alpha\) and \(\beta\) stand for the count of small- and large-scale eddies, respectively. The values of \(\alpha\) and \(\beta\) are determined using Eq. (7a), Eq. (7b) respectively:

$$\alpha ={\left[\text{exp }\left(\frac{0.49{\sigma }_{v}^{2}}{({1+1.11{\sigma }_{v}^{12/5})}^{7/6}}\right)-1\right]}^{-1}$$
(7a)
$$\beta ={\left[\text{exp }\left(\frac{0.51{\sigma }_{v}^{2}}{{\left(1+0.69{\sigma }_{v}^{12/5}\right)}^{5/6}}\right)-1\right]}^{-1}$$
(7b)

\({\sigma }_{v}^{2}\) represents the Rytov variance, which serves as an indicator of the turbulence strength in the channel. The value of \({\sigma }_{v}^{2}\) is determined through the use of Eq. (8):

$${\sigma }_{v}^{2}=1.23{c}_{n}^{2}{k}^{7/6}{L}^{11/6}$$
(8)

\({c}_{n}^{2}\) represents the refractive index structure parameter, and its values vary depending on the strength of atmospheric turbulence, \(k\) is wave number and \(L\) is link distance.

Now, the combined PDF of \(I={I}_{l}{I}_{at}{I}_{p}\) is given by Eq. (9) [29]:

$${f}_{I}\left(I\right)=\int {f}_{I/{I}_{at}}\left(I/{I}_{at}\right){f}_{{I}_{at}}\left({I}_{at}\right)d{I}_{at}$$
(9)

where \({f}_{I/{I}_{at}}\left(I/{I}_{at}\right)\) is defined as:

$${f}_{I/{I}_{p}}\left(I/{I}_{at}\right)=\frac{1}{{I}_{l}{I}_{at}}{f}_{{I}_{p}}\left(\frac{I}{{I}_{l}{I}_{at}}\right)$$
(10)

Using Eq. (14) of [30], we can express the modified Bessel function of the second kind of Eq. (6) by utilizing Meijer’s G-function. Furthermore, by utilizing the argument simplification formula from Eq. (07.34.16.0001.01) of [31], we combine Eq. (5), Eq. (6), and Eq. (9) for obtain combined irradiance of the channel as given in Eq. (11).

$${f}_{I}\left(I\right)=\underset{\frac{I}{{A}_{0}{I}_{l}}}{\overset{\infty }{\int }}\frac{{{\xi }^{2}{I}^{{\xi }^{2}-1}\left(\alpha \beta \right)}^{\frac{\alpha +\beta }{2}}}{{\left({A}_{0}{I}_{l}\right)}^{{\xi }^{2}}{\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}{I}_{at}^{\left(\frac{\alpha +\beta }{2}\right)-{\xi }^{2}-1}{G}_{\text{0,2}}^{\text{2,0}}\left[\alpha \beta {I}_{at}\left|\begin{array}{c}-\\ \frac{\alpha -\beta }{2},\frac{\beta -\alpha }{2}\end{array}\right.\right]d{I}_{at}$$
(11)

where \({G}_{p,q}^{m,n}\left[\right|]\) denotes the Meijer’s G-function [30].

Now, simplifying Eq. (11), using the Meijer’s G-function translation formula [31], we get:

$${f}_{I}\left(I\right)=\frac{{\xi }^{2}\alpha \beta }{{(A}_{0}{I}_{l}){\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}{G}_{\text{1,3}}^{\text{3,0}}\left[\frac{\alpha \beta I}{{(A}_{0}{I}_{l}}\left|\begin{array}{c}{\xi }^{2}\\ {\xi }^{2}-1, \alpha -1, \beta -1 \end{array}\right.\right]$$
(12)

The cumulative distribution function (CDF) is Eq. (12) is given by Eq. (13):

$${F}_{I}\left(I\right)=\frac{{\xi }^{2}}{{\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}{G}_{\text{2,4}}^{\text{3,1}}\left[\frac{\alpha \beta I}{{(A}_{0}{I}_{l}}\left|\begin{array}{c}{1, 1+\xi }^{2}\\ {\xi }^{2}, \alpha , \beta ,0 \end{array}\right.\right]$$
(13)

For the single channel (SC) FSO system average bit error probability can be calculated by averaging conditional error probabilities across the PDF of the instantaneous signal-to-noise ratio (SNR) [29].

$${P}_{e, SC}=\underset{0}{\overset{\infty }{\int }}{P}_{ec, SC}\left(I\right){f}_{I}\left(I\right)dI$$
(14)
$${P}_{ec,SC}\left(I\right)=\frac{1}{2}erfc\left(\sqrt{\frac{SNR}{2}}\right)$$
(15)

where \(erfc\left(\bullet \right)\) represents the complementary error function and it is calculated by in terms of Gaussian Q(.) function \(2Q\sqrt{2\varPhi }=erfc\left(\varPhi \right)\). \({P}_{ec,SC}\left(I\right)\) is the conditional BER probability for single FSO link. The expression for SNR is represented by Eq. (16).

$$SNR=\frac{{(\gamma I)}^{2}}{2{\sigma }^{2}}$$
(16)

where \(\gamma\) denotes responsivity of the photodetector and \({\sigma }^{2}\) represents the variance of channel noise.

From Eq. (15) and Eq. (16) we get the expression of conditional BER probability:

$${P}_{ec, SC}\left(I\right)=\frac{1}{2}erfc\left(\sqrt{\frac{I\gamma }{2\sigma }}\right)$$
(17)

Subsequently, the ABER can be computed by applying Eqs. (17) and (12) in Eq. (14) and that is:

$${P}_{e,SC}=\frac{{\xi }^{2}\alpha \beta }{{(A}_{0}{I}_{l}){\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}\underset{0}{\overset{\infty }{\int }}\frac{1}{2}erfc\left(\sqrt{\frac{I\gamma }{2\sigma }}\right){G}_{\text{1,3}}^{\text{3,0}}\left[\frac{\alpha \beta I}{{(A}_{0}{I}_{l}}\left|\begin{array}{c}{\xi }^{2}\\ {\xi }^{2}-1, \alpha -1, \beta -1 \end{array}\right.\right]dI$$
(18)

with the help of Eq. (8.4.14.2) of [32] we can represent the erfc (.) as a Meijer G-function. Additionally, from Eq. (21) of [30] we get the expression of ABER in the case of single channel FSO system:

$${P}_{e,SC}=\frac{{{2}^{\alpha +\beta -4}\xi }^{2}}{{\pi }^{3/2}{\Gamma }\left(\alpha \right){\Gamma }\left(\beta \right)}{G}_{\text{7,4}}^{\text{2,6}}\left[\frac{{4\gamma }^{2}{{A}_{0}}^{2}{{I}_{l}}^{2}}{{\sigma }^{2}{\alpha }^{2}{\beta }^{2}}\left|\begin{array}{c}\frac{1-{\xi }^{2}}{2}, \frac{2-{\xi }^{2}}{2}, \frac{1-\alpha }{2},\frac{2-\alpha }{2}, \frac{1-\beta }{2}, \frac{2-\beta }{2} 1 \\ 0, \frac{1}{2}, \frac{-{\xi }^{2}}{2},\frac{1-{\xi }^{2}}{2}\end{array}\right.\right]$$
(19)

In our suggested system, we have implemented MIMO techniques within the communication channel. The current model involves X transmitting apertures and Y receiving apertures. The receiver irradiance in the case of MIMO system is modelled as \({I}_{xy}={I}_{{l}_{xy}}{I}_{{at}_{xy}}{I}_{{p}_{xy}}\), where \({I}_{xy}\) represents irradiance from the \({x}^{\text{t}\text{h}}\) transmitter and \({y}^{\text{t}\text{h}}\) receiver, \({I}_{{l}_{xy}}\) relates the path loss, while \({I}_{{at}_{xy}}\) correlates to atmospheric turbulence and \({I}_{{p}_{xy}}\) accounts for pointing errors. The PDF of the suggested MIMO systems is represented using the Meijer G-function as

$${f}_{{I}_{xy}}\left({I}_{xy}\right)=\frac{{\xi }_{xy}^{2}{\alpha }_{xy}{\beta }_{xy}}{{(A}_{{0}_{xy}}{I}_{{l}_{xy}}){\Gamma }\left({\alpha }_{xy}\right){\Gamma }\left({\beta }_{xy}\right)}{G}_{\text{1,3}}^{\text{3,0}}\left[\frac{{\alpha }_{xy}{\beta }_{xy}{I}_{{l}_{xy}}}{{A}_{{0}_{xy}}{I}_{{l}_{xy}}}\left|\begin{array}{c}{\xi }_{xy}^{2}\\ {\xi }_{xy}^{2}-1, {\alpha }_{xy}-1, {\beta }_{xy}-1 \end{array}\right.\right]$$
(20)

The ABER for MIMO links can be computed by Eq. (21) [33]:

$${P}_{e, MIMO}=\underset{0}{\overset{\infty }{\int }}{f}_{\varvec{I}}\left(\varvec{I}\right)\frac{1}{2}erfc \left(\frac{h\gamma }{2XY\sigma }\sqrt{\sum _{x=1}^{X}{\left(\sum _{y=1}^{Y}{I}_{xy}\right)}^{2}}\right)dI$$
(21)

where \({f}_{\varvec{I}}\left(\varvec{I}\right)\) represents joint PDF of vector \(\varvec{I}=({I}_{11}, {I}_{12}, {I}_{13},\dots .{,I}_{XY}\) of length XY.

By replacing the expression from Eq. (20) into Eq. (21), we obtain Eq. (22):

$${P}_{e, MIMO}=\frac{{\xi }_{xy}^{2}{\alpha }_{xy}{\beta }_{xy}}{{A}_{{0}_{xy}}{I}_{{l}_{xy}}{\Gamma }{\alpha }_{xy}{\Gamma }{\beta }_{xy}}\underset{0}{\overset{\infty }{\int }}{f}_{I}\left(I\right) \frac{1}{2} erfc \left(\frac{I\gamma }{2XY\sigma }\sqrt{\sum _{x=1}^{X}{(\sum _{y=1}^{Y}{I}_{xy})}^{2}}\right){\times G}_{\text{1,3}}^{\text{3,0}}\left[\frac{{\alpha }_{xy}{\beta }_{xy}{I}_{{l}_{xy}}}{{A}_{{0}_{xy}}{I}_{{l}_{xy}}}\left|\begin{array}{c}{\xi }_{xy}^{2}\\ {\xi }_{xy}^{2}-1, {\alpha }_{xy}-1, {\beta }_{xy}-1 \end{array}\right.\right]d{I}_{xy}$$
(22)

By representing the erfc (.) as a Meijer G-function with the help of [Eq. (8.4.14.2)] of [32] and [Eq. (21)] of [30] ,the closed-form of BER of the proposed system given by Eq. (23):

$${P}_{e, MIMO}=\prod _{x=1}^{X}\prod _{y=1}^{Y}\frac{{2}^{{\alpha }_{xy}+{\beta }_{xy}-4}{\xi }_{xy}^{2}}{{\pi }^{3/2}{\Gamma }\left({\alpha }_{xy}\right){\Gamma }\left({\beta }_{xy}\right)}{\times G}_{\text{7,4}}^{\text{2,6}}\left[\frac{{4\gamma }^{2}{A}_{{0}_{xy}}^{2}{{I}_{{l}_{xy}}}^{2}}{{\alpha }_{xy}^{2}{\beta }_{xy}^{2}{X}^{2}{Y}^{2}}\left|\begin{array}{c}\frac{1-{\xi }_{xy}^{2}}{2}, \frac{2-{\xi }_{xy}^{2}}{2}, \frac{1-{\alpha }_{xy}}{2},\frac{2-{\alpha }_{xy}}{2}, \frac{1-{\beta }_{xy}}{2} \frac{2-{\beta }_{xy}}{2}, 1 \\ 0, \frac{1}{2}, \frac{-{\xi }_{xy}^{2}}{2},\frac{1-{\xi }_{xy}^{2}}{2}\end{array}\right.\right]$$
(23)

Equation (23) can be written in the SNR form by Eq. (24):

$${P}_{e, MIMO}=\prod _{x=1}^{X}\prod _{y=1}^{Y}\frac{{2}^{{\alpha }_{xy}+{\beta }_{xy}-4}{\xi }_{xy}^{2}}{{\pi }^{3/2}{\Gamma }\left({\alpha }_{xy}\right){\Gamma }\left({\beta }_{xy}\right)}{\times G}_{\text{7,4}}^{\text{2,6}}\left[\frac{8 SNR {A}_{{0}_{xy}}^{2}}{{\alpha }_{xy}^{2}{\beta }_{xy}^{2}{X}^{2}{Y}^{2}}\left|\begin{array}{c}\frac{1-{\xi }_{xy}^{2}}{2}, \frac{2-{\xi }_{xy}^{2}}{2}, \frac{1-{\alpha }_{xy}}{2},\frac{2-{\alpha }_{xy}}{2}, \frac{1-{\beta }_{xy}}{2}, \frac{2-{\beta }_{xy}}{2}, 1 \\ 0, \frac{1}{2}, \frac{-{\xi }_{xy}^{2}}{2},\frac{1-{\xi }_{xy}^{2}}{2}\end{array}\right.\right]$$
(24)

We have used 8 × 8 MIMO system in the channel part, so we can take the value of X = 8 and Y = 8:

$${P}_{e, MIMO}=\prod _{x=1}^{8}\prod _{y=1}^{8}\frac{{2}^{{\alpha }_{xy}+{\beta }_{xy}-4}{\xi }_{xy}^{2}}{{\pi }^{3/2}{\Gamma }\left({\alpha }_{xy}\right){\Gamma }\left({\beta }_{xy}\right)}{\times G}_{\text{7,4}}^{\text{2,6}}\left[\frac{1.9\times 1{0}^{-3} SNR {A}_{{0}_{xy}}^{2}}{{\alpha }_{xy}^{2}{\beta }_{xy}^{2}}\left|\begin{array}{c}\frac{1-{\xi }_{xy}^{2}}{2}, \frac{2-{\xi }_{xy}^{2}}{2}, \frac{1-{\alpha }_{xy}}{2},\frac{2-{\alpha }_{xy}}{2}, \frac{1-{\beta }_{xy}}{2}, \frac{2-{\beta }_{xy}}{2}, 1 \\ 0, \frac{1}{2}, \frac{-{\xi }_{xy}^{2}}{2},\frac{1-{\xi }_{xy}^{2}}{2}\end{array}\right.\right]$$
(25)

Equation (25) represent the expression of closed-form of BER of proposed system.

3 Proposed Framework Simulation Design

The system parameters, together with their values and units, are shown in Table 1. In addition, the system is optimized by the use of an SPO method. In terms of transmission range, the goal of this iterative optimization [34] is to get the highest possible Q Factor while simultaneously achieving the lowest possible BER.

Now, the smallest possible value of \(a*\) is determined as Eqs. (26),

$$r \left(a*\right) \le r \left(a\right), \forall \;a \;near \;a*$$
(26)

Again, the maximum value of the point \(b*\) is obtained as Eq. (27)

$$s\left(b*\right) \le s\left(b\right), \forall \;b \;near \;b*$$
(27)

By Combining Eq. (26) and Eq. (27), we get Eq. (28)

$$t\left(ab\right) = \frac{r\left(a\right)}{s\left(b\right)}$$
(28)

So, maximizing \(t\), we get Eq. (28):

$$Max. t\left(ab\right) = \frac{max. r\left(a\right)}{min. s\left(b\right)}$$
(29)

Equation (29) is validated only the condition of Eq. (30) will be fulfill.:

$$Subjected:\left\{\begin{array}{c}v\ge {v}_{c} \\ w \le {w}_{d}\end{array}\right.$$
(30)

Here \(v\) stands for the data rate and \(w\) for the BER. It is important that the value of \(v\) must not be lower than \({v}_{c}\), and it is also necessary to ensure that the value of \(w\) must not be higher than \({w}_{d}\). Both \({v}_{c}\) and \({w}_{d}\). are regarded as the typical values for a trustworthy optical communication system.

Table 1 Parameters and their values for a proposed framework

The simulation schematic layout of the proposed PRE, POST and PREPOST-amplification-based multiple beam WDM FSO system is shown in Fig. 3(a), 3(b) and 3(c), respectively.

Fig. 3
figure 3

Simulation schematic layout of the proposed PRE, POST and PREPOST-amplification-based multiple beam WDM FSO system. (a) PRE-amplification approach (b) POST-amplification approach (c) PREPOST-amplification approach

4 Results and Discussion

In this section, we present a comparative analysis of the performance of different modulation schemes (RZ, NRZ, GA) combined with various amplification approaches (PREPOST, PRE, POST) under different climatic conditions with pointing error. For ease of reference, we use the following abbreviations to denote specific combinations of modulation schemes and amplification approaches:

“NRZ-PREPOST”: NRZ modulation scheme with a hybrid combination of PREPOST- amplification approach.

“NRZ-PRE”: NRZ modulation scheme with a PRE-amplification approach.

“NRZ-POST”: NRZ modulation scheme with a POST-amplification approach.

“RZ-PREPOST”: RZ modulation scheme with a hybrid combination of PREPOST-amplification approach.

“RZ-PRE”: RZ modulation scheme with a PRE-amplification approach.

“RZ-POST”: RZ modulation scheme with a POST-amplification approach.

“GA-PREPOST”: GA modulation scheme with a hybrid combination of PREPOST-amplification approach.

“GA-PRE”: GA modulation scheme with a PRE-amplification approach.

“GA-POST”: GA modulation scheme with a POST-amplification approach.

4.1 Results Under Clear Climatic Conditions (Attenuation = 0.065 dB/km)

In clear climatic conditions, we evaluate the proposed approaches in terms of BER and Q Factor. Figure 4 illustrates the BER performance, and Fig. 5 depicts the Q Factor performance. Up to a transmission distance of 12 km, the RZ-PREPOST approach exhibits superior BER and Q Factor compared to other methods. Beyond this distance, the NRZ-PREPOST approach offers improved performance. Notably, the NRZ-PREPOST method achieves a maximum transmission range of 35 km with an acceptable BER.

Fig. 4
figure 4

BER evaluation of the suggested framework in clear climatic conditions

Fig. 5
figure 5

Q Factor evaluation of the suggested framework in clear climatic conditions

4.2 Results Under Foggy Conditions (Attenuation = 22 dB/km)

Under foggy conditions, as shown in Figs. 6 and 7, the RZ-PREPOST approach continues to demonstrate favorable performance within the 1 km of transmission. Subsequently, the NRZ-PREPOST approach surpasses other techniques in terms of both BER and Q Factor. In this scenario, the maximum transmission range achieving the desired BER and Q Factor is 1.37 km.

Fig. 6
figure 6

BER analysis of the proposed system in fog condition

Fig. 7
figure 7

Q Factor analysis of the proposed system in fog condition

4.3 Results Under Medium Rainfall Conditions (Attenuation = 9.64 dB/km)

For medium rainfall conditions, Figs. 8 and 9 depict the BER and Q Factor performance, respectively. The RZ-PREPOST approach excels up to a transmission distance of 1.72 km, after which the NRZ-PREPOST method offers improved Q Factor performance. Notably, the NRZ-PREPOST approach achieves a maximum transmission range of 2.53 km while maintaining an acceptable BER.

Fig. 8
figure 8

BER analysis of the proposed system in medium rain condition

Fig. 9
figure 9

Q Factor analysis of the proposed system in medium rain condition

4.4 Results Under Foggy Conditions (Attenuation = 22 dB/km) with Pointing Error

Figures 10 and 11 provide insights into the effects of foggy conditions combined with pointing errors. Specifically, when a 1 dB loss resulting from pointing errors occurred at both the transmitter and receiver, the RZ-PREPOST approach consistently demonstrated commendable performance across a transmission distance of 782 m, after which the NRZ-PREPOST method offers improved BER, Q Factor performance. Notably, within this specific scenario, the NRZ-PREPOST strategy enabled an impressive maximum transmission range of 1.17 km while maintaining the prescribed benchmarks for BER and Q Factor. Furthermore, if the losses due to pointing errors were increased to 5 dB and 10 dB, the results indicated a reduction in the transmission range.

Fig. 10
figure 10

BER analysis of the proposed system in fog condition with pointing error

Fig. 11
figure 11

Q Factor analysis of the proposed system in fog condition with pointing error

4.5 Results Under Medium Rainfall Conditions (Attenuation = 9.64 dB/km) with Pointing Error

Figures 12 and 13 provide insights into the impact of foggy conditions coupled with pointing errors. Specifically, when there was a 1 dB loss resulting from pointing errors at both the transmitter and receiver, the RZ-PREPOST approach consistently showcased commendable performance over a transmission distance of 1.3 km. Beyond this distance, the NRZ-PREPOST method demonstrated enhanced BER and Q Factor performance. Notably, within this specific scenario, the NRZ-PREPOST strategy enabled an impressive maximum transmission range of 2.23 km while maintaining the prescribed benchmarks for BER and Q Factor. Furthermore, if the losses due to pointing errors were increased to 5 dB and 10 dB, the results indicated a reduction in the transmission range.

Fig. 12
figure 12

BER analysis of the proposed system in medium rain condition with pointing error

Fig. 13
figure 13

Q Factor analysis of the proposed system in in medium rain condition with pointing error

4.6 Comparative Assessment of The Proposed and Pre-existing Designs

Table 2 presents a comprehensive comparative analysis between the proposed framework and existing designs, shedding light on the framework’s superior performance across varying weather conditions. The proposed framework showcases its capability by achieving an impressive transmission range of 35 km under clear climatic conditions, a notable improvement over the previous designs limited to 25 km. Similarly, in rainy conditions, the proposed framework excels with a substantial transmission range of 2530 m, outperforming the previous designs that reached only 450 m. Similarly, the proposed framework attains a remarkable transmission range of 1370 m under foggy conditions, outshining the earlier design’s 500 m range. A distinguishing feature of the proposed framework is its reliance on the WDM-MIMO technique, setting it apart from the analyses conducted in [13], [17], [21], [24] and [36] which were based on SS-WDM, OAM, WDM-MIMO, WDM and MDM techniques, respectively. Noteworthy is the 10 Gbps data rate of each channel within the robust framework, collectively achieving an impressive channel capacity exceeding 320 Gbps. Importantly, the proposed design strategically employs EDFA amplification techniques, optimizes system parameters through the SPO technique; this was absent in previous studies. Moreover, the proposed system considers pointing error for simulation; Such consideration was lacking in prior investigations.

Table 2 Comparative examination of planned and existing designs

Eye diagrams of the proposed system under NRZ-PREPOST modulation schemes for foggy, rainy, and clear climatic conditions at a distance of 1 km are depicted in Figs. 14 and 15, and Fig. 16, respectively.

Fig. 14
figure 14

Eye diagram of the NRZ-PREPOST approach in foggy condition at 1 km

Fig. 15
figure 15

Eye diagram of the proposed system in rainy condition at 1 km

Fig. 16
figure 16

Eye diagram of the proposed system in clear climatic condition at 1 km

5 Conclusion

This study introduces a comprehensive strategy for addressing the impact of atmospheric conditions on FSO systems. The proposed MIMO WDM FSO system, incorporating pre- and post-amplification techniques, effectively achieves a substantial channel capacity of 320 Gbps. Notably, the RZ-PREPOST approach demonstrates effectiveness within specific distance ranges under various climatic conditions, with the NRZ-PREPOST approach showcasing superior performance beyond those thresholds. A significant accomplishment lies in extending transmission ranges to 35 km in clear conditions, 1.37 km in foggy, and 2.53 km in rainy conditions. This innovative architecture holds great promise for future wireless communication networks, offering improved transmission range, channel capacity and spectrum efficiency. An important application involves deploying the system in urban smart city networks, enabling cities to create high-capacity, low-latency communication connections for smart infrastructure elements. The proposed framework makes it easier to implement these, which include intelligent traffic management, environmental monitoring, public safety systems, and real-time data collection.