Open access

Realization of a New Code for Noise Suppression in Spectral Amplitude Coding OCDMA Networks

Written By

Hilal A. Fadhil, S. A. Aljunid and R. B. Ahmad

Published: October 1st, 2009

DOI: 10.5772/8214

Chapter metrics overview

2,524 Chapter Downloads

View Full Metrics

1. Introduction

Code Division Multiple Access (CDMA) technique has been widely used in wireless communication networks. CDMA communication system allows multiple users to access the network simultaneously using unique codes. Optical CDMA (OCDMA) has the advantage of using optical processing to perform certain network applications, like addressing and routing without resorting to complicated multiplexers or demultiplexers. The asynchronous data transmission can simplify network management and control. Therefore, OCDMA is an attractive candidate for LAN applications. Among all OCDMA techniques, spectral amplitude coding (SAC) can eliminate first order multiple access interference (MAI) when using balanced detection. In SAC-OCDMA the frequency spectrum is partitioned into bins that are present or not according to the spectral code assigned to a particular user. Phase Intensity Induced Noise (PIIN) is known to be the most important source of impairment in SAC-OCDMA systems. Codes with ideal cross-correlation have been studied for many years. In this chapter, a new code with zero cross-correlation property has been constructed and designed for SAC-OCDMA system namely Random diagonal (RD) code. The performance of the OCDMA system is degraded as the number of simultaneous users’ increases, especially when the number of users is large. This is contributed by the MAI effects which arises from the incomplete orthogonal of the used signature codes. The great contribution of this code is the suppression of PIIN and it has been shown that the performance can be improved significantly when there is zero cross-correlation between the code sequences. Direct detection technique gives an advantage in the way to improve the performance of RD code. The study is carried out through a theoretical calculation, and simulation experiment. The simulation design is carried out using various design parameters namely; distance, bit rate, input power and chip spacing. The effect of these parameters on the system was elaborated through the bit error rate (BER) and PIIN. By comparing the theoretical and simulation results taken from the commercial optical systems simulator “ OptsimTM “, we show that utilizing RD code considerably improves the system performance compared with Hadamard, Modified Quadratic Congruence (MQC) and Modified Frequency Hopping (MFH) codes. It is shown that the system using this new code matrices not only suppress PIIN, but also allows larger number of active users compare with other codes. Simulation results shown that using point to point transmission with three encoded channels, RD code has better BER performance than other codes. Also It is seen that the RD code family is effectively suppressed PIIN noise compared with the other SAC-OCDMA codes even though the weight is far less than other codes. This chapter is organized as follows: in section two and three we discus how the code is developed theoretically and also its properties; simulation results for different OCDMA codes are given in section four, and the conclusion is presented in section five.


2. RD Code Design for OCDMA Networks and its performance

When some pulses originate from sources other than the desired user, multiple access interference, MAI, limits performance. Detected intensity is only proportional to the number of pulses from interfering users (MAI) in the mean. Intensity fluctuates severely around this mean due to phase induced intensity noise (PIIN), causing much greater signal impairment than first order (in the mean) effects. PIIN is often neglected in theoretical analysis, but has been identified as the limiting noise source experimentally for several types of OCDMA, including spectral amplitude coded SAC-OCDMA. For instance, while a first order analysis of SAC systems using balanced detection shows MAI is completely eliminated (Kavehrad & Zaccarin, 1995), in fact the presence of interferers leads to severe PIIN and eye closing. While a new code for SAC-OCDMA systems called RD code suffers from less PIIN than other SAC-OCDMA codes (the zero cross correlation gain reduces the PIIN), it too is ultimately limited by PIIN. Phase-induced intensity noise arises in every multiple access systems where detection of multiple optical pulses occurs. These pulses may have the same origin, i.e., be time delayed versions of the same pulse, or may originate from different sources with the same or different center wavelengths.In general, the power of filtered PIIN depends on the number of interfering pulses and the ratio of optical signal coherence time to the integration time at the detector and never can be cancelled practically. The great contribution of this code is the suppression of PIIN and it has been shown that the performance can be improved significantly when there is zero cross-correlation between the code sequences. In order to effectively extract a signature sequence in the presence of other user’s signature sequences, a set of signature sequence must satisfy the following two properties (Maric, 1993).

  1. Maximal auto-correlation properties: each sequence can be easily distinguished from a shifted version of itself (except for zero shift).

  2. Minimal cross-correlation properties : each sequence can be easily distinguish from other sequences in the set.

An RD code is actually a collection of binary sequences that meet good auto- and cross-correlation, and maximum code weight properties. RD code is constructed using simple matrices operation. For other code, it is defined by Salehi (Chung, Salehi, & Wei, 1989; Salehi, 1989) and others (Hui, 1985; Marie, Hahm, & Titlebaum, 1995; Marie, Moreno, & C. Corrada, 1996) as a means to obtain CDMA on optical network.

Let the {0,1}- valued sequence of the mthuser be denoted byCm={Cm(i)}i=1nm=1,2,…..K, where Nand Kare the code sequence length and total number of subscribed users in the network respectively. Kmust be less than or equal to code family size. Two important conditions should be satisfied during the RD code design which are:

The number of ones,W, for the zero shift (s=0), given by the discrete auto-correlation,


Should be maximized

The number of coincidences for every shift’s, in the cross-correlation function of two sequence Cl Cm

AClCm(s)=i=0NCl(i)Cm(is)    N+1NN+1E2

should be minimized.

The auto-correlation properties are used to enable the receiver to obtain synchronization, that is, to find the beginning of a message and subsequently locate the codeword boundaries. This property is also useful in boosting the signal-to-noise level. The cross-correlation property enables the receiver to estimate its message in the presence of multiple-access interference from other users.

According to the above discussion, RD code principles can be characterized by(N, Wλc),where W is the code weight, i.e the number of ones in the code sequence,λcthe minimum values of the out of phase discrete cross-correlation (except the zero shift). So for, there have been several types of incoherent OCDMA codes developed. The most popular code is prime sequences codes(Kwong & Yang, 1995), which are characterized by (P2, P, P-1), Modified Hopping Frequency (MHF), and Modified Quadratic Congruence (MQC) codes (X. Wei, shalaby, & Ghafouri-Shiraz, 2001; Z. Wei & Ghafouri-Shiraz, 2002a).

In RD code there are two parameters that can be effectively used to evaluate the performance of the code family as a whole: the code family size and code multiple-access interference (MAI)-limited bit error rate. Generally speaking, we want to develop such a code sequence that has both good cross-correlation property, and large code family size. An(N, Wλc)RD code is a family of (0,1) sequence of length N, weight W andλcis the in-phase cross correlation which satisfy the following two properties:

1- Zero cross-correlation will minimized theλcand reduce PIIN (Phase Induced Intensity Noise).

2- No cross correlation at data segment. The design of this new code can be preformed by dividing the code sequence into two sub-matrixes which are code sub-matrix (code level) and data sub-matrix (data level). The advantages of dividing the RD codes into two parts became easier for hardware implementation using direct detection rather than using different types of detection techniques. Another major advantage of our new codes, including both MQC and MFH, lies in the first property, i.e., elements in each sequence can be divided into groups and each group contains only one “1”. This property makes it much easier to realize the address reconfiguration in a grating-based spectral amplitude-coding optical CDMA transmitter. We can use a group of gratings to reflect all the desired spectral components; and then use another group of gratings to compensate the delays of the desired components and again incorporate them into a temporal pulse.

Note that one of the disadvantages of this code is that the minimum number of weight should be designed for W3 as shown below in the RD code designs.

Step1, data segment: let the elements in this group contain only one “1” to keep cross correlation zero at data level (λc=0), this property is represented by the matrix (K×K) where K will represent number of user these matrices have binary coefficient and a basic Zero cross code (weight=1) is defined as [Y1] for example three users (K=3), y(K×K)can be expressed as

[Y1]=     [001010100]E3

Where [Y1]–consists of (K×K) matrices.

Notice, for above expression the cross correlation between any two rows is always zero.

Step2, code segment :the representation of this matrix can be expressed as follows for W=4

[Y2] = [011101100110110]E4

Where [Y2] – consists of two parts weight matrix part and basics matrix part, basic part [B] can be expressed as

[B] =[011110101]E5

And weight part called[M]matrix=[100110]which is responsible for increasing number of

weights, let i= (W-3) and Mi =[100110]where i represents number of Mi matrix on [M],given by


For example if W=5, from Eq.(1) i=2, so that [M]=M1|M2

[M] =[101001011010]E7

Notice that to increase the number of users simultaneously with the increase of code word length we can just repeat each row on both Matrixes [M] and [B], for K-th user matrix [M] and [B] can be expressed as

[M](j)=[0110011001::::aj1aj2]and  [B](j)=  [011110101011110::::::aj1aj2aj3]E8

Where j represents the value for K-th user (j=1,2…K), and the value of aj is either zero or one. The weights for code part for both matrix [M], [B] are equal to W-1, so the total combination of code is represented as (K×N) where K=3, N=8, as given by [Z1], [Z1] = [Y1׀Y2]. The RD code sequences are listed in Table (1) for K=3 and W= 4.

Table 1.

Example of RD code sequence

From the above basic matrix Z1, the number of users (K) and the code length (N), is given by (K×N) matrix. Notice that the code weight of each row is equal 4, the relation between N and K for this case (W=4) can be expressed as


As a result we can find that for W=5, 6, and 7 code word length N can be expressed as K+7, K+9 and K+11 respectively. As a result the general equation describing number of users K, code length N and code weight W is given as

N = K+ 2W 3E10

The total spectral widthΔvof the RD code system is governed by the code length, N. Assuming that the chips in the combined signal are placed either on top of (for overlapping chips) or next to each other (for non overlapping chips), the relationship can be written as:


whereΔFis the chip width. In the RD code sequences only chips at data level will be detected at the receiver section and the remaining chips are considered dummies or useless. This property of the RD code sequence offers simple and cost effective in the implementation of light source. We can use only one light source laser to cover the chip at data rate, and the remaining chips are covered using broadband LED diode as shown in Figure 1

Figure 1.

RD Codes for OCDMA multiplex in optical Fiber channels

Figure 2. shows the spectra of the generated codes for all three transmitter channels. As we can see, the transmitted data of RD code (data segment) is carried over 1549.6 nm, 1548.8 nm and 1548 nm for channel 1, 2 and 3 respectively. The other wavelengths are considered idle (code segment) which will be cancelled at the receiver part using Fiber Bragg grating (FBG) optical filter.

Figure 2.

The generated RD codes waveforms for K=3 with W=4, a) channel 1 b) channel 2 and c) channel 3

Also RD code can be employed for the large number of users says K=6, with W=5, by evaluating the values of code weight (W) and number of users (K) in Eq. (10) we can get the RD code with code length (N=13). The RD code sequences constructions are shown in Table (2).

Table 2.

×RD code sequences, W= 5, N=13, and K=6

2.1. The Properties of RD Code

RD codes having the following properties:

1- The code is divided into two segments which is data segment (sub-matrix) and code segment (sub-matrix)

2- No cross-correlation at data segment which minimized λc and suppressed PIIN (Phase Induced Intensity Noise). Note that certain combinations of simultaneous transmission of codes are always results zero cross correlation. For example, when user 1 and user 4 are transmitted together (table 2).

3- Code segment can be replaced with any type of codes, code segments is divided into two sub-matrixes which are basic sub-matrix and weight sub-matrix. Note that the minimum weights combination at code segment are 2 (W=2), to increase the number of weight of the RD code we just increase the number of 1’s in weight sub-matrix as illustrated in section 3.4.

4- The general relationship between the Number of users (K) and code length (N) are given by

N = K+ 2W 3E12

The number of users, K supported by RD code is equivalent to n. For RD codes, W can be fixed at any numbers regardless of the number of users. By fixing W, encoder/decoder design and the signal SNR will be maintained and will not be affected by the number of users. Thus, the same quality of service can be provided for all users. These two features cannot be achieved by other existing codes.

5-More overlapping chips will result in more crosstalk; the minimum number of weight can be achieved by the RD code are equal to three (W=3). Note that the RD code can be design for supporting system having W

6- Flexibility in choosing N, K parameters than other codes like MFH and MDW codes.

2.2. Code Comparisons

Many codes have been proposed for OCDMA systems, such as optical orthogonal code (OOC), modified frequency –hopping (MFH) codes, and Hadamard code, but the key points of RD code is that the code length (N), RD code offers better performance than other codes in term of code length for same number of users, K, of 30 as shown in Table 3. Short code length limit the addressing flexibility of the codes, while long code length are considered disadvantage in implementation, since either very wide –bandwidth source or very narrow filter bandwidth are required, RD codes exists for practical code length that are neither too short nor too long.

For example, if chip width (filter bandwidth) of 0.6 is used, the OOC code will require a spectrum width of 218.4 nm whereas, RD code only requires 19.8 nm, and for MFH code it requires 25.2 nm of spectrum width. RD code show shorter bandwidth than other codes. On the other hand too short a code may not be desired because limit the flexibility of the code.

No. of user
Code length
Prime code3031961
RD code30333

Table 3.

Comparison between RD MFH, OOC, Hadamard and Prime Codes for Same Number of User K = 30.


3. Detection Schemes of OCDMA

In OCDMA systems, the detection schemes affect the design of transmitters and receivers. In general, there are two basic detection techniques namely coherent and incoherent (Prucnal, 2005). OCDMA communication system can be all optical or partly optical. The information bits may be originally optical or electrical. The all-optical CDMA system is usually an incoherent system. On the other hand, a system consisting of unipolar sequences in the signature code is called incoherent system. A system that uses bipolar codeword is called a coherent system. Since coherent is phase sensitive, the use of such techniques will of course be more difficult than that of incoherent ones. In this work, the incoherent SAC-OCDMA detection schemes will be considered. Based on the RD code constructions a new detection scheme is proposed called spectral direct detection scheme.

3.1. Spectral direct detection technique.

The setup of the proposed RD system using direct detection technique (known as spectral direct detection) is shown in Figure 3. The Figure illustrates the implementation of RD code using direct detection scheme whereby only one pair of decoder and detector is required as opposed to two pairs in the complementary subtraction techniques. There is also no subtraction process involved. This is achievable for the simple reason that, the information is assumed to be adequately recoverable from any of the chips that do not overlap with any other chips from other code sequences. Thus the decoder will only need to filter through the clean chips at data segment; these chips are directly detected by a photodiode as in normal intensity nodulation/ direct detection scheme. This technique has successfully eliminated the MAI because the only wanted signal spectral chips at data segment in the optical domain is filtered. This is made possible because, the code properties possess one clean signal chip for each of the channels at the RD data segment. Subsequently, the phase-induced intensity noise (PIIN) is suppressed at the receiver, thus the system performance is improved. Codes which possess non-overlapping spectra such as RD code can generally be supported by this detection scheme. It is also important to note that the whole code’s spectra still need to be transmitted to maintain the addressing signature. This distinguishes the technique from wavelength division multiplexing (WDM) technologies.

Figure 3.

implementation of RD code using spectral direct detection technique

3.2. RD code detection scheme compared with other SAC-OCDMA codes

In recent years, several codes have been proposed for incoherent OCDMA networks. For example, Modified Frequency hopping (MFH), and Modified Quadratic Congruence (MQC), and Enhanced Double weight (EDW) codes (Hasoon, Aljunid, Anuar, Mohammad, & Shaari, 2007; X. Wei et al., 2001; Z. Wei & Ghafouri-Shiraz, 2002a). All these codes are based on SAC employing complementary detection techniques (known as the complementary subtraction). The transceiver design for RD code is based on direct detection technique. Figure 4 shows the setup of the proof-of- principle simulation for the proposed scheme. A simple schematic block diagram consists of four users is illustrated in Figure 4. Fibre Bragg Grating (FBG) spectral phase decoder is used to decode the code at data level. The decoded signal is decoded by a photo-detector (PD) followed by a low-pass-filter (LPF) and error detector respectively.

Figure 4.

Simulation setup of the proposed encoding/decoding scheme: a) Transmitter, b) Receiver employing direct detection scheme (RD code), c) another SAC codes employing complementary detection technique

Figure 4.c shows another SAC-OCDMA codes employed complementary detection technique such as MFH, MQC, DW codes. As shown in Figure 4.c, two sets of decoders are used; decoder and complementary decoder, followed by two sets of detectors, correspondingly. The purpose of this setup is to cancel the MAI between the wanted and the unwanted code. The wanted codes are filtered by the corresponding encoder, while the unwanted codes are cancelled by the complementary decoder. The subtraction (the complementary subtraction) is performed after the detectors. In this scheme, it is important to ensure that the total optical power received by both photodiodes is balanced so that the subtraction of the unwanted overlapping channels can be completely done. This is not easily achieved, considering the imperfect and non-uniform responses of the components (such as the losses of the Bragg gratings and couplers), particularly in varying environmental conditions.

In the spectral direct detection technique, shown in Figure 4. b, there is only one single decoder and a single detector required and no subtraction is required for the detection. This is achievable for the simple reason; the information is adequately recovered from any of the chips that do not overlap with any other chips from other code sequences. Thus, the decoder will need only to filter the clean chips and this is easily be detected by the photodiode, as in the normal intensity modulation/direct detection scheme.

3.3. Mathematical analysis of RD code using direct detection technique

For the proposed system anlysis incoherent intensity noise (σI), as well as shot noise (σsh) and thermal noise (σT) in photodiode are considered. The detection scheme for the proposed system is based on direct detection using optical filter followed by photodetecor. Gaussian approximation is used for the calculation of BER. The SNR is calculated at the receiver side and for each user there is only one photodiode, the current flow through the photodiode is denoted by I.

LetCK(i)denote the ith element of the Kth RD code sequence. According to the properties of the RD code, the RD code is constructed using code segment and data segment can be expressed as:

But for RD codeλ=0 at data segment on the receiver side, thus the properties of RD code are expressed as


When a broad-band pulse is input into the group of FBGs, the incoherent light fields are mixed and incident upon a photodetector, the phase noise of the fields causes an intensity noise term in the photodetector output. The coherence time of a thermal sourceτcis given by [8]


Where G(v) is the single sideband power spectral density (PSD) of the source. The Q-factor performance provides a qualitative description of the optical receiver performance, the performance of an optical receiver depends on the signal-to-noise ratio (SNR). The Q-factor suggests the minimum SNR required to obtain a specific BER for a given signal. The SNR of an electrical signal is defined as the average signal power to noise power [SNR= I2/σ2], Whereσ2is defined as the variance of the noise source (note: the effect of the receiver’s dark current and amplification noises are neglected in the analysis of the proposed system), given byσ2=σsh+σI+σT, which also can be written as:



  1. e electron’s charge

  2. I Average photocurrent

  3. I2 The power spectral density for I

  4. B noise-equivalent electrical bandwidth of the receiver.

  5. KB Boltzmann’s constant.

  6. Tn Absolute reciver noise temperature.

  7. RL Receiver load resistor.

In Eq. (16), the first term results from the shot noise, the second term denotes the effect of Phase Intensity Induced Noise (PIIN) [9,8], and the third term represents the effect of thermal noise. The total effect of PIIN and shot noise obeys negative binomial distribution (Zheng & Mouftah, 2004). To analyze the system with transmitter and receiver, we used the same assumptions that were used in (X. Wei et al., 2001; Z. Wei & Ghafouri-Shiraz, 2002a, 2002b) and are important for mathematical simplicity. Without these assumptions, it is difficult to analyze the system. We assume the following:

Each light source is ideally unpolarized and its spectrum is flat over the bandwidth [voΔv/2vo+Δv/2], wherevois the central optical frequency andΔvis the optical source bandwidth in Hertz.

Each power spectral component has identical spectral width.

Each user has equal power at receiver.

Each bit stream from each user is synchronized.

Based on the above assumptions, we can easily analyze the system performance using Gaussian approximation. The power spectral density of the received optical signals can be written as (X. Wei et al., 2001):


wherePsris the effective power of a broadband source at the receiver,dkis the data bit of the Kth user that is “1” or “0”, andu(v)is the unit step function expressed as:


From Eq. (17) the power spectral density at photodetector of the lth receiver during one bit period can be written as :-


Eq. (19), can be simplified further as follows


In Eq. (20),dKis the data bit of the Kth user that carries the value of either “1” or “0”. Consequently, the photocurrent I can be expressed as:


whereis the responsivity of the photodetectors given by=(ηe)/(hvc)Here,ηis the quantum efficiency, e is the electron’s charge, h is the Planck’s constant and vc is the central frequency of the original broad-band optical pulse.


By using the properties of RD code Eq. (22) becomes


The power spectral density for I2 can be expressed as


When all the users are transmitting bit “1,” using the average value ask=1KCKK/N, and from the properties of RD code we can get the power spectral density for I2 as in Eq. (25)


Noting that the probability of sending bit ‘1’ at any time for each user is12. From Eq. (23) and Eq. (25), we get the noise power <σ2> as


Finally, from Eq. (23) and Eq. (26), we can calculate the average SNR as in Eq.(27)


Where Psr is the effective power of a broadband source at the receiver. The bit-error rate (BER) or probability of error, Pe is estimated using Gaussian approximation (Goodman, 2005) as


Psr = −10 dBm is the optical received power, B = 311 MHz is the receiver’s noise-equivalent electrical bandwidth, η = 0.6 is the photodetector quantum efficiency,ΔV = 3.75 THz is the linewidth of the broad-band source, λ = 1550 nm is the operating wavelength, Tn = 300 K is the receiver temperature, RL = 1030Ωis the receiver load resistance and W, N, and K, are the code weight, code length, and total number of active users, respectively, as being the parameters of RD code itself.


4. Simulation Results

Using Eq.(28), the BER of the RD code is compared mathematically with other codes which use similar techniques. Figure 5 shows the relation between the number of users and the BER, for RD, MFH, and Hadamard codes, for different values of K (number of active users). It is shown that the performance of the RD code is better compared with the others even though the weight is far less than other codes, which is 7 in this case. The maximum acceptable BER of 10-9 is achieved by the RD code with 125 active users than for 85 by MHF code. This is good considering the small value of weight used. This is evident from the fact that RD code has a zero cross-correlation while Hadamard code has increasing value of cross-correlation as the number of users increase. However, a few code specific parameters are chosen based on the published results for these practical codes (Aljunid, Ismail, & Ramil, 2004; X. Wei et al., 2001). The calculated BER for RD is achieved for W=7 while for MFH, MQC and Hadamrad codes were for W=14, W=8 and W=128, respectively.

Figure 5.

BER versus number of users for different SAC-OCDMA codes when Psr= −10 dBm.

In OCDMA systems, phase induced intensity noise (PIIN) is related to multiple access interference (MAI) due to the overlapping of spectra from different users. Here, the relations between PIIN noise and received power are analyzed. Previously it shown that MAI can be almost reduced due to the zero cross-correlation at data segment. Thus the effect of MAI is not elaborated further. Figure 6 shows the relations between PIIN noise and received power (Psr). The values of B, K, andΔvare fixed (ie. B = 311 MHz, K = 14 andΔv= 3.75 THz) but Psr varied from -30 dBm to 30 dBm. When the received power increases the PIIN noise for MFH, MQC, Hadamard and RD codes increase linearly. The PIIN noise of RD codes family is less than compared to that of MFH and MQC codes. As shown in Figure 6 the PIIN noise can be effectively suppressed by using RD code family. This is because of the superior code properties of RD code family, such as zero cross-correlation at data level while Hadamard code has increasing value of cross-correlation as the number of users increase. It is shown that the performance of the RD code is better compared with the others even though the weight is far less than other codes, which are 3 in this case.

Figure 6.

PIIN versus Pr for different OCDMA codes for same number of active users (K=14).

Figure 7. shows the bit error rate variation with the effective power Psr. The number of simultaneous users (K=80), and W=7, 14 for RD and MFH codes respectively. The solid line represents the BERs, taking into account effects of intensity, shot noise and thermal noise. The dashed line indicates the BER performance when the effect of only intensity and shot noise is considered. It is shown that, when Psr is low, the effect of intensity noise becomes minimal, and hence the thermal noise source becomes the main factor that limit the system performance. It is also shown that thermal noise is much more effective than intensity noise under same Psr.

Figure 7.

BER performance versus effective power (Pr) for the RD and MFH codes when number of simultaneous users 80.

In table (4), the important properties of RD, MFH, and Hadamard codes are listed. The table shows that RD codes exist for any natural number while Hadamard codes exist only for the matrix sequence m, where m must at least be equivalent to two. On the other hand, MFH codes exist for prime number q only. The number of users supported by RD code is equivalent to n. On the other hand, for Hadamard and MFH codes, the number of user supported depends on m and q, respectively, which in turn, alters the value of weight W. This will affect both the design of the encoder–decoder and the SNR of the existing codes in use. In contrast, for RD codes n can be fixed at any even or odd numbers regardless of the number of users. From this table the RD codes have a zero cross-correlation while Hadamard code has increasing value of cross-correlation as the number of users increases. For MFH codes, although the cross correlation is also fixed at 1 but the BER is higher than the RD code. MFH needs higher number of q or W to increase SNR, as shown in Figure 5.

CodeExistLength NWeight WSize K
RDany nK+2W-3Any wK=n0

Table 4.

Comparison between RD, MFH and Hadamard code

Figure 8 shows the BER increases as the fiber length increases for the different techniques. The tests were carried out at a rate of 2.5 and 5 Gb/s for 30-km distance with the ITU-T G.652 standard single-mode optical fiber (SMF). All the attenuationλ(i.e., 0.25 dB/km), dispersion (i.e., 18 ps/nm km), and nonlinear effects were activated and specified according to the typical industry values to simulate the real environment as close as possible.The number of active users is four at 2.5 Gbps and 5 Gbps bit rates. The effect of varying the fiber length is related to the power level of the received power. A longer length of fiber has higher insertion loss, thus smaller output power. In fact, when the fiber length decreases, the data rate should increases to recover a similar degradation of the signal form. Thus, in order to design and optimize link parameters, the maximum fiber length should be defined as short as possible, to obtain high data rate and to achieve a desired system performance. This is because in order to reduce the MAI limitations, the data rate should be decreased in OCDMA analysis. For a given code length N, the chip rate DC can be expressed as: DC = DN. Hence, as D increases (D > 2.5 Gbps) the chip rate increases. Consequently, the chip duration decreases, as a result of this the signal becomes more susceptible to dispersion. Accordingly, the optical power contained in the emitted chip ‘‘1’’ causes optical signal broadening, this signal is then received at several chips. In communication systems, intersymbol interference (ISI) is a result of distortion of a signal that causes the previously transmitted data to have an effect on the received data. The ISI affect results in more chips containing non-zero optical power than expected. As for conventional decisions, we selected the decision threshold level S = WαPcen, where Pcen is the optical power level which corresponds to the chip center. Thus, the data sent ‘‘1’’ is always well-detected. The only error that can occur in this situation is when the data sent is ‘‘0’’, as in the ideal case. In terms of fiber length, it can be noted that the dispersion effect increases as the fiber length increases. However, for this particular chip duration, the dispersion has no impact on the BER for optical fibers shorter than 20 km. on the other hand, when the fiber’s length is greater than 20 km, system performance is deteriorated. In this particular system, direct technique can support higher number users than the conventional technique because the number of filters at the receiver is reduced, thus a smaller power loss. Note that the very low BER values are just a measure of the quality of the received signals as calculated by the simulator, although they may not be very meaningful, practically speaking.

Figure 8.

Variation of BER as a function of fiber length using direct (RD code) and complementary techniques (MFH code) at different transmission rates.

The eye pattern diagrams for RD code (employing spectral direct detection scheme) and MFH code (employing complementary detection scheme) are shown in Figure 9. The eyes diagram clearly depict that the RD code system gives better performance, having a larger eye opening. This figure shows the corresponding simulated BER for RD and MFH codes systems, the vertical distance between the top of the eye opening and maximum signal level gives the degree of distortion. The more the eye closes, the more difficult it is to distinguish between 1s and 0s in the signal. The height of the eye opening at the specified sampling time shows the noise margin or immunity to noise (Keiser, 2003).

Figure 9.

Eye diagram of (a) one of the RD channels (W=3), (b) one of the MFH channels (W=8), at 10 G bit/s.


5. Conclusion

In this chapter, method to develop, characteristics and performance analysis of a new variation of optical code structure for amplitude-spectral encoding OCDMA system are presented. The RD code is provide to provide simple matrices constructions compared to the other SAC-OCDMA codes such as Hadamard, MQC and MFH codes. This code posses numerous advantages including efficient and easy code construction, simple encoder/decoder design, existence for every natural number n, zero cross correlation at data level (=0), The properties of this code are described and discussed with the related equations. The advantages of the RD code can be summarized as follows: (1) shorter code length; (2) no cross-correlation at data level; (3) data level can be replaced with any type of codes; (4) more overlapping chips will result in more crosstalk; and (5) flexibility in choosing N, K parameters over other codes like MFH code. The RD code can be used to effectively improve the overall performance of a spectral amplitude coding next generation OCDMA technology.

The cross correlation functions of the signature codes or sequences have very much to do with the detection construction of all future OCDMA applications. The reason is obvious, making traditional OCDMA signal detection very difficult if the cross correlation properties are not under control. In this chapter, a new detection technique known as spectral direct detection has been proposed for SAC-OCDMA systems. The performance was evaluated based on RD code. The simulation setup and mathematical equations are derived in term of the variance of noise source (shot noise, PIIN, and Thermal noise) and BER. This is achieved by virtue of the elimination of MAI and PIIN by selecting only the data segment from SAC-signal of the intended code sequence. The overall system cost and complexity can be reduced because of the less number of filters used in the detection process


  1. 1. AljunidS. A.IsmailM.RamilA. R.2004A New Family of Optical Code Sequence for Spectral-Amplitude-coding optical CDMA systems. IEEE Photonics Technolgy Letters,1613832385.
  2. 2. ChungH.SalehiJ.WeiV. K.1989Optical orthogonal codes: Design, analysis, and applications.IEEE Transactions on Information theory, 35(3),595604
  3. 3. GoodmanJ. W.2005Statistical Optics. New York: Wiley
  4. 4. HasoonF. N.AljunidS. A.AnuarM. S.MohammadK. A.ShaariS.20072007). Enhanced Double Weight Code Implementation in Multi-Rate Transmission” IJCSNS International Journal of Computer Science and Network Security, 7(12).
  5. 5. HuiJ. Y.19851985). Pattern code modulation and optical decoding ; A novel code division multiplexing technique for multifiber network,. IEEE J. select. Areas Commun.,3916927.
  6. 6. KavehradM.ZaccarinD.19951995). Optical Code-Division-Multiplexed System Based on Spectral Encoding of Noncoherent Sources. Journal Lightwave Technology13534545.
  7. 7. KeiserG.2003Optical Communication Essentials. USA: MiGraw-Hill networking.
  8. 8. KwongC. W.YangG. C.1995construction of 2n prime-sequence codes for optical code division multiple access. IEEE Proceedings Communication142141150.
  9. 9. MaricS. V.1993New family of algebraically designed optical orthogonal codes for use in CDMA fiber-optic networks. IEEE Electron Lett,29538539.
  10. 10. MarieS. V.HahmM. D.TitlebaumE. D.1995Construction and performance analysis of a new family of optical orthogonal codes for OCDMA fiber-optic networks. IEEE Trans. Commun.,43485489.
  11. 11. MarieS. V.Morenoo.CorradaC.1996Multimedia transmission in fiber-optic LANs using optical CDMA. J. Lightwave Technol.,1415.
  12. 12. PrucnalP. R.2005Optical code division multiple access: Fundamentals and applications: Taylor & Francis.
  13. 13. SalehiJ. A.1989Code division multiple-access techniques in optical fiber network-part I : Fundamental principles,. IEEE Trans. Inform.,37824833.
  14. 14. WeiX.shalabyH. M. H.Ghafouri-ShirazH.2001Modified quadratic congruence codes for fiber-Bragg grating-based spectral amplitude-coding optical CDMA systems,. J. Lightwave Technol.,912741281.
  15. 15. WeiZ.Ghafouri-ShirazH.2002aCodes for spectral-amplitude-coding optical CDMA systems. J. Ligtwave Technol., 50(1209-1212).
  16. 16. WeiZ.Ghafouri-ShirazH.2002bUnipolar codes with ideal in-phase cross-correlation for spectral-amplitude-coding optical CDMA systems. IEEE Trans. Commun,5012091212.
  17. 17. ZhengJ.MouftahH. T.20042004).Optical WDM Networks: Concepts and Design Principles.Hoboken NJ: Wiley.

Written By

Hilal A. Fadhil, S. A. Aljunid and R. B. Ahmad

Published: October 1st, 2009