The architecture of the proposed system is shown in figure 1. The SAC-OCDMA encoder for this system is a flat OFC generator, DWDM de-multiplexer, and optical power combiners, the SAC-OCDMA encoder is shown in figure 2. The flat OFC signal is generated by a continuous wave (CW) laser modulated with radio frequency (RF) signal using a dual-parallel Mach Zehnder modulator (DP-MZM)(Shang et al. 2015; Tran et al. 2019), assuming that the electric field of the CW laser can be expressed by:
$${E}_{CW laser}={E}_{0}\text{cos}(\frac{2\pi C}{{\lambda }_{0}}t+{\phi }_{0}) \left(1\right)$$
Where \({E}_{0}\) is the amplitude of the electric field, \(C\)is the speed of light, \({\lambda }_{0}\) is the CW laser wavelength, which is \(1552.52 nm\) in this system and that is equivalent to \({f}_{0}=193.1 THz\) and \({\phi }_{0}\) is the laser phase. Two RF signals are applied to the arms of the DP-MZM with the same frequency\({f}_{1}\) and with different voltages. The role of the DC bias voltages \({V}_{{b}_{1}}\), \({V}_{{b}_{2}}\) and \({V}_{{b}_{3}}\)is to control the transmission points of the DP-MZM. For the first arm, it is biased to the maximum transmission point by putting \({V}_{{b}_{1}}=0V\), so the odd sidebands will be suppressed. In the second arm, \({V}_{{b}_{2}}\)has the same voltage as the switching bias voltage of the DP-MZM, so the transmission point of the second arm will be biased to the minimum transmission point in order to suppress the career and even sidebands.\({V}_{{b}_{3}}\) will be set to \(0V\), which means that \({\phi }_{3}\) will be zero, so phase shifting will be avoided at the output of the DP-MZM in order to get seven frequencies or wavelengths with spacing of \({f}_{1}\), the electric field of the DP-MZM output is:
$${E}_{out-flat OFC}\left(t\right)=\frac{{E}_{CW laser}\left(t\right)}{\sqrt{2}}\left[\sum _{l=-\infty }^{+\infty }{J}_{2l}\left({m}_{1}\right){e}^{j\left(2l\right)\left(2\pi {f}_{1}\right)t}+\sum _{l=-\infty }^{+\infty }{J}_{2l-1}\left({m}_{2}\right){e}^{j\left(2l-1\right)\left(2\pi {f}_{1}\right)t}{e}^{j{\phi }_{3}}\right]\left(2\right)$$
Where \({J}_{i}\) denotes the Bessel function of ith order of first kind, \({m}_{1}\) and \({m}_{2}\)are the modulation indexes of the first and second arm of the DP-MZM,\({\phi }_{3}\) is the bias angle. Figure 3 represents the Bessel function of first kind, the amplitude where there is an intersection of \({J}_{0}\) and \({J}_{2}\) is the same when \({J}_{1}\) and \({J}_{3}\) intersect, these two points mean that the DP-MZM can generate multiple optical sidebands creating a frequency comb, where \({m}_{1}=1.84\) and \({m}_{2}=3.05\), which means that six sidebands and the main career, all with the same amplitude, it can be expressed by:
$${{J}_{-3}\left({m}_{2}\right)={J}_{-2}\left({m}_{1}\right)=J}_{-1}\left({m}_{2}\right)= {J}_{0}\left({m}_{1}\right)={{J}_{1}\left({m}_{2}\right)={J}_{2}\left({m}_{1}\right)=J}_{3}\left({m}_{2}\right) \left(3\right)$$
The modulation indexes are expressed as follows:
$${m}_{1}=\frac{\pi RF1}{{V}_{\pi 1}} \left(4\right)$$
$${m}_{2}=\frac{\pi RF2}{{V}_{\pi 2}} \left(5\right)$$
Where \(RF1\) and \(RF2\) are the amplitudes of the RF signals, \({V}_{\pi 1}\) and \({V}_{\pi 2}\) are the half-wave voltages for each arm of the DP-MZM respectively. Figure 4 shows the CW laser and the flat OFC spectrums(Shang et al. 2015). In this system, \({f}_{1}\) is going to be \(25 GHz\), which is the equivalent of \({\lambda }_{1}=0.2 nm\). To split each wavelength to construct the SAC-OCDMA codes, a DWDM de-multiplexer is used for this purpose with spacing of \({\lambda }_{1}\), then a set of power combiners will be employed to combine the selected wavelengths to construct the SAC-OCDMA code for each user. Concerning the EDW and RD codes, the weight and the number of users have been fixed at three to get the same code length, which is six, so the code length of the EDW code \({N}_{EDW}\) is defined by the next expression(Menon et al. 2012; Abd El-Mottaleb et al. 2020):
$${N}_{EDW}=2k+\frac{4}{3} {\left[sin\left(\frac{k\pi }{3}\right)\right]}^{2}\frac{8}{3} {\left[sin\left(\frac{(k+1)\pi }{3}\right)\right]}^{2}+\frac{4}{3} {\left[sin\left(\frac{(k+2)\pi }{3}\right)\right]}^{2} \left(6\right)$$
Where \(k\) is the number of users. The code length of the RD code is given by the next expression(Mostafa and Mohamed 2017; Upadhyay et al. 2019):
$${N}_{RD}=k+2W-3 \left(7\right)$$
Where \(W\) denotes the code weight. Table 1 and Table 2 show the EDW and RD codes for each user. The same number of users in this case leads to have the same MAI interferences, so the cross-phase modulation (XPM)(Tithi and Majumder 2020) has almost the same effect on both signals during the transmission. Figure 5 represents the EDW and the RD spectrums.
Table 1
EDW codes for \(W=3\),\({N}_{EDW}=6\)
User #1 | 0 | 0 | 1 | 1 | 0 | 1 |
User #2 | 0 | 1 | 0 | 0 | 1 | 1 |
User #3 | 1 | 1 | 0 | 1 | 0 | 0 |
Table 2
RD codes for \(W=3\),\({N}_{RD}=6\)
User #1 | 0 | 0 | 1 | 0 | 1 | 1 |
User #2 | 0 | 1 | 0 | 1 | 1 | 0 |
User #3 | 1 | 0 | 0 | 1 | 0 | 1 |
Since the length of both codes is six, just 6 successive sidebands will be selected for the coherent modulation. After the code construction, the code’s spectrum will be modulated with an OFDM signal using an optical coherent modulator as shown in the figure 5. Pseudo random binary sequence generator is employed as user data, then a mapping system is used to generate the in-phase and the quadrature components sequences, in this system the QPSK and 16-QAM modulation will be employed.
After separating the I and the Q components, the OFDM modulator will be employed. After the modulating the two components, the general electrical OFDM generated signal with \({N}_{sc }\) subcarriers in the \({k}_{th}\) symbol period can be expressed as(Chen et al. 2014):
$${s}_{k}\left(t\right)=\sum _{n=0}^{{N}_{sc}-1}{C}_{k,n}{e}^{j\frac{2\pi nt}{T}} \left(8\right)$$
Where \({C}_{k,n}\) designates the complex coefficient on the \({n}_{th}\) subcarrier in the \({k}_{th}\)symbol and \(T\) is the OFDM symbol time. The OFDM modulator parameters are: The number of subcarriers is 512 and the IFFT points = 1024 with a cyclic prefix of the transmitted symbol. The \(I\left(t\right)\) and \(Q\left(t\right)\) of the electrical OFDM signal will be modulated with the SAC-OCDMA user code, each OFDM component will be modulated by a dual drive Mach–Zehnder modulator (DD-MZM).
Both of the DD-MZMs are biased to the null transmission point due to its minimizing of the radio to optical up-converter nonlinearities(Shieh et al. 2008). \({V}_{b}/2\) is the bias voltage where \({V}_{b}\) is the switching bias voltage of the DD-MZMs. After the modulation, the optical \(Q\left(t\right)\) component doesn’t need an optical phase shifter since the phase is shifted in the OFDM modulator(Sheetal and Singh 2018), so both of the components will be combined using a power combiner. The output of the coherent optical OFDM modulator represents one user, to combine all the users, other power combiners are used for this purpose, which can be expressed by:
$${E}_{s}\left(t\right)=\sum _{k=1}^{{N}_{u}}{A}_{Ik}{I}_{k}\left(t\right){e}^{j2\pi {f}_{k}t+j{\phi }_{k}}+{A}_{Qk}{Q}_{k}\left(t\right){e}^{j2\pi {f}_{k}t+\frac{\pi }{2}+j{\phi }_{k}} \left(9\right)$$
Where \({N}_{u}\) is the number of users, \({A}_{Ik}\) and \({A}_{Qk}\) are the OCDMA encoded signals amplitudes of each component for each user, which are proportional to the I and Q components, respectively. Modulation indexes and the phase shifts of the DD-MZMs, \({I}_{k}\left(t\right)\) and \({Q}_{k}\left(t\right)\) are the OFDM I/Q components for each user(Shieh et al. 2008), \({f}_{k}\) is set of frequencies that identify and \({\phi }_{k}\) is the phase for each user. Figure 6 shows the EDW and the RD output spectrums.
After the transmission of the combined signals, they will be decoded by splitting each wavelength alone using a DWDM de-multiplexer. Then the same set of power combiners employed in the SAC-OCDMA encoder is used in order to construct each user spectrum for the second time. Figure 7 shows the SAC-OCDMA decoder. Coherent detection is the technique that will be used to restore the OFDM signal. Furthermore, the local oscillator (LO) is mandatory for this technique. In this proposed system, the LO part will be a second flat OFC generating seven wavelengths with spacing of \({\lambda }_{1}\), then another DWDM de-multiplexer used for the purpose of splitting each wavelength, then a selection of wavelengths that are the same as the received signal that do not contain spectral interference, and putting each selected wavelength which represents the users and the received signal into the inputs of the \(90^\circ\) hybrid coupler in the receiver of each user.
Figure 8 shows the optical coherent detector including a \(90^\circ\) hybrid coupler and two balanced detectors for \(I\left(t\right)\) and \(Q\left(t\right)\) components recovering (Painchaud et al. 2009). The output electric fields of the \(90^\circ\) hybrid coupler after mixing the received signal with the LO signal are written:
$${E}_{1}\left(t\right)=\frac{1}{\sqrt{2}}\left[{E}_{s}\left(t\right)+{E}_{LO}\left(t\right)\right] \left(10\right)$$
$${E}_{2}\left(t\right)=\frac{1}{\sqrt{2}}\left[{E}_{s}\left(t\right)-{E}_{LO}\left(t\right)\right] \left(11\right)$$
$${E}_{3}\left(t\right)=\frac{1}{\sqrt{2}}\left[{E}_{s}-j{E}_{LO}\left(t\right)\right] \left(12\right)$$
$${E}_{4}\left(t\right)=\frac{1}{\sqrt{2}}\left[{E}_{s}\left(t\right)+{jE}_{LO}\left(t\right)\right] \left(13\right)$$
Where \({E}_{s}\left(t\right)\) and \({E}_{LO}\left(t\right)\) are the electric fields of the received signal and the LO signal, the received signal contains six modulated signals three of them are the interference spectrums, it can be assumed by the next expression:
$${E}_{s}\left(t\right)={A}_{s1}\left(t\right){e}^{j({\omega }_{1}t+{\phi }_{1})}+{A}_{s2}\left(t\right){e}^{j({\omega }_{2}t+{\phi }_{2})}+{A}_{s3}\left(t\right){e}^{j({\omega }_{3}t+{\phi }_{3})}+{A}_{s4}\left(t\right){e}^{j({\omega }_{4}t+{\phi }_{4})}+{A}_{s5}\left(t\right){e}^{j({\omega }_{5}t+{\phi }_{5})}+{A}_{s6}\left(t\right){e}^{j({\omega }_{6}t+{\phi }_{6})} \left(14\right)$$
And the LO signal can be expressed:
$${E}_{LO}\left(t\right)={A}_{LO}{e}^{j({\omega }_{LO}t+{\phi }_{LO})} \left(15\right)$$
Where the square of\({A}_{s1}\left(t\right)\),\({A}_{s2}\left(t\right)\),\({A}_{s3}\left(t\right)\),\({A}_{s4}\left(t\right)\),\({A}_{s5}\left(t\right)\) and \({A}_{s6}\left(t\right)\) are the powers for each wavelength, and the square of \({A}_{LO}\) is the power of the LO signal. After mixing the received signal with the LO signal and detecting the electric signal using a balanced detector, assuming the all phases are equal, the output photocurrents can be given by :
$$\varDelta {i}_{I}\left(t\right)=R{A}_{LO}\left[{A}_{s1}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF1}t\right)+{A}_{s2}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF2}t\right)+{A}_{s3}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF3}t\right)+{A}_{s4}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF4}t\right)+{A}_{s5}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF5}t\right)+{A}_{s6}\left(t\right)\text{c}\text{o}\text{s}\left({\omega }_{IF6}t\right)\right] \left(16\right)$$
$$\varDelta {i}_{Q}\left(t\right)=R{A}_{LO}\left[{A}_{s1}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF1}t\right)+{A}_{s2}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF2}t\right)+{A}_{s3}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF3}t\right)+{A}_{s4}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF4}t\right)+{A}_{s5}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF5}t\right)+{A}_{s6}\left(t\right)\text{s}\text{i}\text{n}\left({\omega }_{IF6}t\right)\right] \left(17\right)$$
Where \(R\) is the photodetector responsivity, and \({\omega }_{IF1}={\omega }_{1}-{\omega }_{LO}\),\({\omega }_{IF2}={\omega }_{2}-{\omega }_{LO}\),\({\omega }_{IF3}={\omega }_{3}-{\omega }_{LO}\),\({\omega }_{IF4}={\omega }_{4}-{\omega }_{LO}\),\({\omega }_{IF5}={\omega }_{5}-{\omega }_{LO}\), \({\omega }_{IF6}={\omega }_{6}-{\omega }_{LO}\),
Knowing that \({\omega }_{LO}\) is the same as one of the six wavelengths which is the selected spectrum to be demodulated, that means that \({\omega }_{IF}\) is going to be zero and the selected spectrum will be amplified due to its mixing with the LO signal and shifted to become a baseband signal. Figure 9 shows the balanced detector output spectrums of both codes.
The received signal components will be filtered using low pass cosine roll-off filters with a roll-off coefficient of \(0.2\) in order to keep the baseband part of the received signal and eliminate all the undesirable frequencies, and minimize the inter-symbol interferences in the OFDM signal. Then an OFDM demodulator, QPSK or 16-QAM decoder and digital signal processing (DSP) are used to restore the original transmitted signal, observe and study the system performance. The DSP is used generally with analog-to digital converters, its role is mainly to compensate for digitally the channel impairments such as chromatic dispersion (CD), polarization mode dispersion (PMD)(Amari et al. 2017), and all phase noises using adaptive equalizers by removing the rate of rotation of the constellation using finite impulse response filters. The DSP employs frequency offset estimator and career phase recovery algorithms for recovering the transmitted signal.