Fundamental Materials and Tools 25
detection and are also called coherent codes. Because this book studies optical coding
theory with emphasis on prime codes, which are mainly incoherent codes, the term
optical codes generally refers to this kind of code, which does not require phase
tracking or system-wise synchronization, unless stated otherwise.
According to the definition of period ic cross-correlation function, the amount of
interference seen at a receiver involves the correlation of its address codeword with
two consecutive codewords from one interferer in order to obtain one complete cross-
correlation process. This corresponds to the reception of two data bits in series from
the same interferer. So, the error probability seen at the receiver can be written as
P
e
= Pr(erro r |K simultaneous users)
=
1
∑
x=0
1
∑
y=0
Pr(error |K simultaneous users, interferer sends bits xy)p
xy
where p
xy
is the probability of sending a data bit x = {0, 1}followed by a data bit y =
{0,1}.Thereare,intotal,fourdata-bitpatternsand,inturn,four error-probability
terms. Two terms in P
e
,whichcorrespondto(x,y)=(0, 1) and (1,0),arecontributed
by partial cross-correlations and usually difficult to compute, especially when the
cross-correlation function is greater than 1.
For unipolar codes, these two partial-correlation terms areusuallyboundedby
the term of “bits 11” if on-off-keying modulation is assumed [21, 3 0]. So, the error
probability can be simplified as
P
e
≈
1
∑
x=0
Pr(error |K simultaneous users, interferer sends bit x)p
x
where p
x
is the probability of sending a data bit x = {0,1}.
For bipolar codes, the two partial-correlation terms are usually not bounded. For
example, Gold sequences of various lengths have different partial-correlation valu es
[6, 22, 47, 48]. So, other means, such as code length and weight, are used to first
compute the signal-to-interference p ower ratio (SIR) and then the code performance
is formulated in the form of a Gaussian approximation.
In the following sections, some general analytical techniques, based on Gaussian
approximation and combinatorial methods, are formu lated. Special analytical tech-
niques that only apply to specific optical codes are given in their respective chapters.
1.8.1 Gaussian Approximation for Unipolar Codes
Using incoheren t on-off keying (OOK) mo du lation, every user sends ou t a unipolar
codeword corresponding to the address (signatur e) codewordofitsintendedreceiver
for a data bit 1, but nothing is transmitted for a data b it 0. At areceiver,unipo-
lar codewords from all simultaneous users are correlated with the receiver’s address
codeword. If a correct co d eword arrives, an autoco r r elationfunctionwithahighpeak
results. The autocorrelation peak is u sually equal to the code weight. For incorrect