Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Шумов задачи и учебник / [Valeri_P._Ipatov]_Spread_Spectrum_and_CDMA_Princ(Bookos.org).pdf
Скачиваний:
93
Добавлен:
15.04.2015
Размер:
3.46 Mб
Скачать

Time measurement, synchronization and time-resolution

167

 

 

same role among all polynomials as prime numbers among integers. Not all arbitrary irreducible polynomials need to be primitive, although in a special case p ¼ 2 and prime 2n 1 all irreducible polynomials are primitive. Proving the necessity and sufficiency of choosing feedback as indicated above would require some more algebra, which could take us far away from our main purpose. An interested reader may find the details in numerous sources (e.g. [31,32]).

Primitive polynomials are extensively tabulated in books on modern algebra and coding theory or (mostly for p ¼ 2) spread spectrum telecommunication [5,6,18,32]. Another option is a computer search, which is not at all a difficult task (e.g. Problem 6.47). In particular, ready-made functions for finding primitive polynomials are present in the Matlab Communications Toolbox.

As a whole, designing an m-sequence generator is pretty straightforward. When p is selected, a necessary length L determines the memory n, and finding an appropriate primitive polynomial exhausts the issue.

Commenting again on Examples 6.6.1 and 6.6.2, note that the binary m-sequence of length 7 is built based on the primitive polynomial f (x) ¼ x3 þ x þ 1 over GF(2), while the primitive polynomial over GF(3) used to generate the ternary sequence of length 26 is f (x) ¼ x3 þ 2x þ 1.

6.7 Periodic ACF of m-sequences

The results of the previous section lead quickly to the minimax binary sequences with ACF meeting (6.12). Consider a binary m-sequence fdig of memory n, i.e. length L ¼ 2n 1. Let us map its symbols 0, 1 onto a binary alphabet 1 according to the rule:

ai ¼ ð 1Þdi ¼

( þ1; dii

¼ 1

ð6:15Þ

 

1; d

0

 

 

 

¼

 

where in raising ( 1) to the degree di the latter is treated as though it is a real number 0 or 1. The sequence faig of real binary symbols 1 thus obtained has period N ¼ L ¼ 2n 1 and is a one-to-one image of the original binary m-sequence fdig. It is natural to keep for it the same name binary m-sequence as well. When the confusion is risky, a supplementary label like binary f 1g sequence versus binary f0, 1g sequence may be used. Let us find the non-normalized periodic ACF (6.7) of faig:

N 1

L 1

L 1

 

X

X

X

ð6:16Þ

RpðmÞ ¼

aiai m ¼ ð 1Þdi ð 1Þdi m ¼

ð 1Þdiþdi m

i¼0

i¼0

i¼0

 

Now the shift-and-add property of binary f0, 1g m-sequences may be brought in. Addition in the exponent here may be treated as modulo 2, since it will produce the same result of exponentiation as an ordinary arithmetic summation. But then fd 0ig ¼ fdi þ di mg is a binary f0, 1g m-sequence of period L whenever m 6¼0modL,

168

Spread Spectrum and CDMA

 

 

or an all-zero sequence otherwise. Due

to the balance property, one period of

fd i0g ¼ fdi þ di mg contains L0 ¼ 2n 1 1

zeros and L1 ¼ 2n 1 ones, therefore the

sum in (6.16) contains L0 plus ones and L1 minus ones if m 6¼0modN, so that:

RpðmÞ ¼ L0 L1

¼

( N1; ; m¼

0modN

 

 

m

 

0modN

 

 

 

As is seen this coincides exactly with (6.12), confirming that binary m-sequences are minimax ones.3

Example 6.7.1. Consider again the sequence of Example 6.6.1. Its mapping onto the alphabet f1g in accordance with (6.15) produces the f1g m-sequence 1, þ 1, þ 1, 1, þ1, 1, 1, . . . . Table 6.3, which contains only the minimum necessary number of entries, illustrates calculating the periodic ACF of the sequence. It is interesting also to study the matched filter processing of a discrete signal modulated by this binary sequence. Figure 6.14 presents such a filter matched with one period of a baseband rectangular-chip periodic signal. All units in this structure are absolutely similar to those of Figure 6.7. Waveforms at characteristic points of the filter are shown in Figure 6.15. As is seen, the output waveform has mainlobes repeating with period ND and a uniform sidelobe background of negative polarity seven times smaller than the mainlobe level.

Table 6.3 Calculating periodic ACF of the binary m-sequence ( þ þ þ )

 

 

 

 

 

 

m

 

 

 

 

 

a0

 

 

a1

 

a2

a3

 

 

a4

 

 

a5

 

a6

Rp(m)

 

 

 

0

 

 

 

 

 

 

 

 

þ

 

þ

 

 

 

 

þ

 

 

þ7

 

 

1

 

 

 

 

 

 

 

 

 

þ

þ

 

 

 

 

 

 

þ

 

1

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

þ

 

 

þ

 

 

þ

1

 

 

 

 

 

3

 

 

 

 

 

 

 

þ

 

 

 

 

 

 

 

 

 

 

 

 

þ

 

 

þ

 

1

 

 

 

s(t)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+

 

 

 

 

 

 

+

 

 

+

 

 

 

 

 

 

 

r(t)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

2

 

 

 

 

 

 

3

 

 

 

 

 

 

4

 

 

 

 

 

 

5

 

6

 

 

 

 

 

 

7

 

 

Chip MF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6.14 Matched filter for the binary m-sequence of length N ¼ 7

3 Generalization of mapping (6.15) onto sequences over GF(p), p 2 is ai ¼ exp (j2 di/p), resulting in polyphase (p-phase) code, whose periodic ACF again satisfies (6.12). However, polyphase codes of this sort with p > 2 are of less practical interest than minimax binary sequences.

Time measurement, synchronization and time-resolution

169

 

 

1

2

3

4

5

6

7

t

t

t

t

t

t

t

8

t

9

t

Figure 6.15 Matched filtering of periodic binary m-sequence of length N ¼ 7

Binary m-sequences are among the most popular discrete signals in modern information technology due to their optimal periodic correlation properties and very simple generating and processing circuitry. Probably one of the most demonstrative examples of their practical involvement is 2G cdmaOne (IS-95) mobile phone, where m-sequences of various lengths are used as pilot signals for initial synchronization, base station signal multiplexing and data scrambling.

In addition, m-sequences represent the basis for deriving other important signal families (Kasami, Gold and others; see Chapter 7).

At the same time, the set of lengths N ¼ 2n 1 ¼ 3, 7, 15, 31, 63, 127, 255, 511, 1023, . . .

where these sequences exist, is rather sparse, which sometimes may appear technologically obstructive. This is a reason for studying one more interesting class of binary minimax sequences, but before attending to that some additional insight into finite fields is required.

170

Spread Spectrum and CDMA

 

 

6.8 More about finite fields

Let us take some element x of a finite field GF(p) and multiply it with itself m times, designating the result as the mth power of x:

x x . . . x ¼ xm

| {z }

m times

The ordinary rules of handling powers in conventional algebra remain valid in any field, including finite ones. In particular:

xmxn ¼ x x . . . x x x . . . x ¼ x x . . . x ¼ xmþn; ðxmÞn¼ xm xm . . . xm ¼ xmn

| {z }

| {z }

| {z }

 

 

 

 

| {z }

m times

n times

 

 

mþn times

 

 

 

 

 

 

n times

Furthermore, denoting the nth power of x

1

(x

 

 

n

 

 

 

0) as x , we have:

 

xmx n ¼ x x . . . x x 1 x 1 . . . x 1

 

 

| {z } | {z }

 

 

 

m times

 

 

 

 

 

 

 

n times

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

x ¼ 1 leads to:

Using repeatedly the definition of the inverse element x

 

xmx n

¼

8 xm n; m n

 

¼

xm n

 

 

>

 

 

1

 

n

 

m

 

m

 

 

 

 

 

 

 

< x

 

 

 

 

 

;

<

n

 

 

 

 

 

 

>

 

 

 

 

 

 

 

 

 

 

 

In particular, the equality:

 

:

 

 

 

 

 

 

 

 

 

 

 

 

x x . . . x x 1 x 1 . . . x 1 ¼ 1 ¼ xmx m ¼ xm m

and uniqueness of| {z } | {z }

 

 

 

 

 

 

m times

 

m times

 

 

 

 

 

 

 

 

 

 

 

the inverse of any non-zero element give: x0 ¼ 1 and ðxmÞ 1¼ x m

Example 6.8.1. In the field GF(5) (see tables of Figure 6.11):

20 ¼ 1; 21 ¼ 2; 22 ¼ 2 2 ¼ 4; 23 ¼ 22 2 ¼ 4 2 ¼ 3; 24 ¼ 23 3 ¼ 3 2 ¼ 1 2 1 ¼ 3; 2 2 ¼ 2 1 2¼ 32 ¼ 4; 2 3 ¼ 2 1 3¼ 33 ¼ 4 3 ¼ 2; 2 4 ¼ 2 1 4¼ 34 ¼ 2 3 ¼ 1

Consider now successive degrees of the element x 6¼0 of GF(p): x0 ¼ 1, x1, x2, . . .. Since all terms of this series belong to GF(p), i.e. finite field, they cannot all be different, and therefore equality holds xi ¼ xk ) xi k ¼ 1 for some i > k. Suppose that the elementexists whose first p 1 powers 0 ¼ 1, 1, 2, . . . , p 2 are all different. Since p 1 is just the number of non-zero elements of GF(p), the powers above are exactly all non-zero elements of GF(p). Therefore, the element , if it really exists, allows constructing the whole field GF(p) but the zero element by just raising to powers 0, 1, . . . , p 2. Such an element is called a primitive one.

One of the most important facts about finite fields is that they all contain a primitive element. Proof of this result may be found in many algebraic or coding theory textbooks

Time measurement, synchronization and time-resolution

171

 

 

(e.g. [30,32,33]). A primitive element is not unique: in any finite field whose order exceeds 3, more than one primitive element is present. For instance, as is seen from Example 6.8.1, both 2 and 3 are primitive elements in GF(5).

Since for a primitive element powers 0 ¼ 1, 1, 2, . . . , p 2 exhaust all non-zero elements of GF(p), p 1 should be equal to one of them. Actually it cannot be equal to anything but 1, because p 1 ¼ l with 0 < l p 2 means that p 1 l ¼ 1. This is not possible, since 1 < p 1 l < p 1 and among elements 1, 2, . . . , p 2 none may be equal to 1. Hence, p 1 ¼ 1. Now it is easy to see that the same is true for any non-zero element of a finite field, not only for a primitive one. Indeed, every non-zero element x of GF(p) is the lth power of a primitive element for a proper integer l: x ¼ l, so that (small Fermat theorem):

xp 1 ¼ l p 1¼ lðp 1Þ ¼ p 1 l¼ 1

ð6:17Þ

The next entity bears quite a natural name, fully consistent with the categories of ordinary algebra. The integer exponent l, which after raising to it produces x ¼ l, is the logarithm of x to the base with a conventional designation log x. Therefore,

log x ¼ x.

Now consider only the prime fields of an odd order (p >

2) and introduce a new

notion of the binary character (x) of a non-zero element x defined as follows:

ð

 

Þ

ð

 

Þ ¼ 1;

log x 6¼0 mod2

¼ ð

 

Þ

 

 

 

x

1;

log x ¼ 0 mod2

 

1

 

log x

 

6:18

 

Clearly, the binary character is simply a mapping of the finite field GF(p) onto a pair of real numbers fþ1, 1g, transforming non-zero element x into þ1 if its logarithm is even and into 1 otherwise. Note that this mapping does not depend on a specific choice of a primitive element (Problem 6.24). The following properties of a binary character will be used further:

1. The character of the unit element of GF(p) is always one:

ð1Þ ¼ 1:

ð6:19Þ

This is true because 0 ¼ 1 ) log 1 ¼ 0.

2.The character is a multiplicative function, i.e. the character of a product of two nonzero elements is a product of their characters. Indeed, from (6.17) and (6.18):

ðxyÞ ¼ ð 1Þlog ðxyÞ ¼ ð 1Þlog xþlog y ¼ ð 1Þlog x ð 1Þlog y ¼ ðxÞ ðyÞ ð6:20Þ

3. Balance property: the sum of characters of all non-zero elements of GF(p) is zero:

p 1

p 1

 

X

X

ð6:21Þ

ðxÞ ¼

ð 1Þlog x ¼ 0:

x¼1

x¼1

 

To prove this equality note that when x assumes all p 1 non-zero values, log x runs in some order over the range of p 1 integers 0, 1, . . . , p 2. Due to the oddness