BER Analysis Using Beat Probability Method of 3 D Optical CDMA Networks with Double Balanced Detection

This study proposes novel three-dimensional (3D) matrices of wavelength/time/spatial code for code-division multiple-access (OCDMA) networks, with a double balanced detection mechanism. We construct 3D carrier-hopping prime/modified prime (CHP/MP) codes by extending a two-dimensional (2D) CHP code integrated with a one-dimensional (1D) MP code. The corresponding coder/decoder pairs were based on fiber Bragg gratings (FBGs) and tunable optical delay lines integrated with splitters/combiners. System performance was enhanced by the low cross correlation properties of the 3D code designed to avoid the beat noise phenomenon. The CHP/MP code cardinality increased significantly compared to the CHP code under the same bit error rate (BER). The results indicate that the 3D code method can enhance system performance because both the beating terms andmultiple-access interference (MAI) were reduced by the double balanced detection mechanism. Additionally, the optical component can also be relaxed for high transmission scenery.


Introduction
Optical code-division multiple-access (OCDMA) systems are considered suitable for local-area networks because they allow multiple users to access the network asynchronously and simultaneously with high transmission security [1,2] especially when the code dimensional becomes large.Several methods have been proposed to achieve passive OCDMA.Most types of OCDMA systems use optical delay lines and optical orthogonal codes for time domain coding [1].However, some OCDMA systems employ spectral coding through diffraction gratings, confocal lenses, and phase/amplitude masks [3].Under these OCDMA schemes, optical systems require coherent and ultrashort pulses to produce transformlimited pulses, increasing the cost and complexity of the system.
In earlier OCDMA systems, one-dimensional (1D) codes such as optical orthogonal codes (OOCs) [1] were used.However, the code length must be sufficient to support additional users because of the unipolar characteristic of optical signals.The disadvantage of 1D coding systems is that the code length increases rapidly when the number of active users increases.To overcome the limitations of 1D codes, multidimensional coding methods, using two-dimensional (2D) codes and three-dimensional (3D) codes, were proposed [4][5][6][7].
These researches present new 3D matrices and an associated decoding scheme for a wavelength/time/spatial OCDMA system.We constructed 3D carrier-hopping prime/modified prime (CHP/MP) codes by extending a 2D CHP code integrated with a 1D MP code.In the 3D code matrices, a CHP code is used for wavelength/time coding and a MP code is used for spatial coding.System performance was enhanced by the low cross correlation properties of the 3D code designed to avoid the beat noise phenomenon.At the receiver, multiuser interference can also be suppressed efficiently using the double balanced detection scheme.In general, the proposed 3D security performance is better than 2D and 1D OCDMA networks.The research group of Shake [8] suggested that there are three issues for enhancing the network security to protect the network from attack by unauthorized users.In the first, the approach involved increasing the code complexity, for example, more dimensions or more complexity code sets, while the second involved reducing the subscriber's transceiver power.A third issue is for each transmitter to change its code pattern on a frequent basis.One of the advantages in our proposed 3D OCDMA network can enhance security when the network is under attack from the eavesdroppers.The remainder of this paper is organized as follows.Section 2 provides an overview of the 3D code construction and its properties.Section 3 provides an illustration of the system configuration.Section 4 evaluates the system performance and discusses the dominated noise effects.Finally, Section 5 presents some brief conclusions.

Code Construction and Code Properties
The wavelength/time/spatial 3D code can be constructed following the steps outlined below.In this study, we first constructed CHP code used for the 2D wavelength/time code.Then, we used the MP code to spatially code the 3D code matrices.Finally, we combined the CHP codes with MP codes to generate 3D code matrices labeled 3D CHP/MP codes in this study.
The code construction process is as follows.
Step 3. Generate code matrices C ,, using the following mathematical expression: Then, we define the 3D code using a mathematical expression.
, , each at hamming weight , satisfying the following constraints.
Autocorrelation.For all 3D codewords S, R ∈ C where  ,, and  ,, are the elements of matrices S ,, and R ,, , respectively, and a nonnegative integer   represents cross correlation.
The proposed code properties can be divided into three types: (1) two distinct codes with the same wavelength/time coding scheme; that is, both codes have the same CHP code codeword but different spatial coding schemes.In other words, they have the same modified prime code codeword; (2) two distinct codes with different wavelength/time coding schemes but the same spatial coding schemes; (3) two distinct codes with different wavelength/time coding schemes and different spatial coding schemes.The cross correlation and autocorrelation properties of 3D CHP/MP codes are shown in Table 2.The values in Table 2 show that the worst cross correlation condition would be obtained by comparing Case 1 with Case 2. However, these results have been omitted from this paper; interested readers can find them in [8].

System Configuration of 3D OCDMA Network
Figure 1 shows a block diagram of the proposed 3D OCDMA network.The coding scheme uses × 1  2 ×( 2 +) matrices, where  is the number of available wavelengths,  1  2 is the number of time slots, and  2 +  is the number of spatial channels.The network comprises  1  2 ×  2 transmitters,  1  2 ×  2 receivers, and  2 +  star couplers.Each user is assigned a single wavelength/time/spatial matrix codeword.The 3D OCDMA system encoder is shown in Figure 2.An electrooptical modulator (EOM) is realized when the information bits for the user #(, , ) using on-off shift-keying scheme and the broadband laser source (BLS).The resulting optical signals are encoded with the specific code matrix C ,, in two steps: wavelength/time coding, that is, block A , , and spatial encoding.The wavelength/time encoding structure is implemented by a group of FBGs and tunable optical delay lines.The FBG center wavelength and delay time are determined by the CHP code.The spatial encoding process is realized through connections between the splitter and the star couplers, which are determined by the chip value of MP code.The main function of switch controllers is to connect or unconnect to the couplers according to the MP code patterns in spatial domain of 3D OCDMA codes.The 3D OCDMA system decoder is shown in Figure 3.The proposed double balanced detector can be divided into two branches, and each branch contains one wavelength/time balance detector.The connection between the two branches and the star couplers agrees with the user's desired spatial codeword and complement, respectively.After passing through combiners, the signal is received by the same wavelength/time decoding process.The attenuators 1 and 2 shown in Figure 3 are used to eliminate multiuser interference in the frequency and spatial domains, respectively [9].Because of the effects of various noises in the PDs, the decision variable is a random variable, and a decision device is used to determine whether the transmitted signal is logical "1" or logical "0."

Performance Analysis of 3D OCDMA Network
To analyze the error probability of the 3D OCDMA system in this study, we ignore the thermal and shot noises in the photodetection process and only consider the interference from other users.The exact probability of error per bit   is defined as

Mathematical Problems in Engineering
Transmitter #(0,0,0) User #(0,0,0) User #(0,0,1) Transmitter #(0,0,1) Receiver #(0,0,0) Receiver #(0,0,1) User #(0,0,0) User #(0,0,1)  where  1 is the current at the output of the double balanced detector,   is the data bit of the th user, and Th is defined as the threshold.The second term of ( 8) is zero for 0 ≦ Th ≦  [2], where  is the total number of simultaneous users in the system, and the first term of (8) can be written as where  is the interference signal and   () is the probability density function for the interference signal .For mathematical convenience, we assume that all chips are synchronized.Under this assumption, (9) can be expressed as where  is the cross correlation probability (we explain how to calculate  in the next paragraph).
To analyze the performance of 3D OCDMA system with ( ×  1  2 × ( 2 + ), ,   ,   ) CHP/MP codes, we must calculate the probability .With this property, we can obtain a weight of 1 for the synchronous cross correlation between two distinct codewords during the detection process.Because the 2D CHP code has one pulse per row, we calculate  1 = /(2 ×  1  2 ) [8].For the 3D CHP/MP code, the cross correlation probability can be expressed as where  2 is the number of MP codes used for spatial coding.The first term of (11) is the probability that two distinct CHP/MP codes have different spatial coding schemes, and the second term is the probability of both codes having the same spatial coding scheme.We replace  2 of (11) with  to substitute (10) and let Th = .Figure 4 shows the variation of BER according to the number of simultaneous users.The CHP/MP code cardinality increased significantly compared to the CHP code under the same BER, as shown in Figure 4.The results in Figure 4 indicate that system performance can be enhanced using the 3D code method because the beating terms and multipleaccess interference (MAI) were both reduced by the double balanced detection mechanism.Additionally, the optical component can be relaxed for high transmission scenery.

Conclusion
This study proposed a new 3D CHP/MP code with a double balanced detector for OCDMA networks.Although synchronization between fiber channels must be considered during the decoding process, the advantage of cardinality is increased significantly compared to that of traditional OCDMA networks.The codes construction is based on prime codes' family; the 3D codes generation is straightforward.Additionally, beat noise and multiuser interference are suppressed efficiently by the double balanced detection mechanism proposed in this study.A comparison of designed 3D method and traditional 2D CHP coding scheme shows 3D system with spatial coding domain can support almost more than two hundred simultaneous users at the same bit error rate scenario.According to the reason, the new 3D design could be useful for the development of future OCDMA networks.

Figure 1 :
Figure 1: Conceptual schematic block diagram of the wavelength/time/spatial OCDMA network.

Figure 3 :
Figure 3: Decoder for the corresponding CHP/MP code.

Figure 4 :
Figure 4: BER versus number of simultaneous users.

Table 2 :
Correlation properties of CHP/MP codes.