Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PN CODE SYNC DETECTION FOR THE DIRECT SEQUENCE SPREAD SPECTRUM RECEIVER
Document Type and Number:
WIPO Patent Application WO/2014/171973
Kind Code:
A1
Abstract:
A method of detecting FN code synchronization for a DSSS signal comprising receiving a DSSS data signal of data frames comprised of I and Q symbols, at least a portion of each data frame comprising a unique word, demodulating the data signal into I and Q chip samples, filtering the I and Q chip samples and outputting the filtered I and Q chip samples to a chip stream controller which outputs the plurality of chip streams to a correlation matrix that correlates the plurality of chip streams with the chipped unique word and outputs a correlated data stream, A plurality of FFTs is run on the correlated output data stream and a processor searches for a maximum frequency bin power of each FF'T. A PN synchronization detector searches for a maximum frequency bin power among the plurality of FFT runs and determines whether PN synchronization is present.

Inventors:
PENG LIANFENG (US)
Application Number:
PCT/US2013/070076
Publication Date:
October 23, 2014
Filing Date:
November 14, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
COMTECH EF DATA CORP (US)
International Classes:
H04B1/7156
Foreign References:
US20030112849A12003-06-19
US20100290506A12010-11-18
US7030811B22006-04-18
US20080225963A12008-09-18
Attorney, Agent or Firm:
BOOTH, Kenneth, C. (PLC1255 W. Rio Salado Pkwy., Ste 21, Tempe AZ, US)
Download PDF:
Claims:
CLAIMS

1. A method of detecting PN code synchronization for a direct sequence spread spectram (DSSS) signal comprising:

receiving, by a demodulator, a DSSS data signal comprising a data stream of data frames comprised of I and Q symbols, at least a portion of each data frame comprising a unique word; demodulating, by the demodulator, the data signal into I and Q chip samples;

filtering, by a filter, the I and Q chip samples and outputting the filtered I and Q chip samples to a chip stream controller;

outputting, by the chip stream controller, a plurality of chip streams to an m x n correlation matrix;

correl ating the plurality of chip streams with the chipped unique word using m x n correlation cells within the correlation matrix and outputting a correlated data stream;

running a plurality of Fast Fourier Transforms (FFTs) on the correlated output, data stream and searching for a frequency bin having a maximum frequency bin power of each FFT run using a processor;

searching for a maximum frequency bin power among the plurality of FFT runs using a PN synchronization detector; and

determining, by the PN synchronization detector, whether PN synchronization is present.

2. The method of claim 1 , further comprising determining a carrier signal offset frequency and identifying a primary chip stream and a secondary chip stream.

3. The method of claim 1 , wherein each chip stream among the plurality of chip streams is output to a separate m x n correlation matrix.

4. The method of claim 1 , wherein the plurality of chip streams comprises an even chip stream and an odd chip stream.

5. The method of claim 1, further comprising time-stamping each of the I and Q chip samples using a frame clock.

6. The method of claim 5, further comprising receiving, by a chip buffer, a plurality of chips from the plurality of chip streams from the chip stream controller,

7. The method of claim 6, wherein the chip buffer continues receiving chips from the chip stream controller until the PN synchronization detector detects that PN synchronization is present.

8. The method of claim 3, further comprising simultaneously correlating the plurality of chip streams in parallel among the separate m x n correlation matrices.

9. The method of claim 2, further comprising sampling the primary chip stream closer to an eye diagram opening than the secondary chip stream is sampled.

10. The method of claim 1 , further comprising sampling each chip stream among the plurality of chip streams at a midpoint between an eye diagram opening and an eye diagram closing.

11. The method of claim 7, further comprising outputting at least one of a primary and a secondary chip stream indicator, a PN synchronization shift value, and a carrier frequency offset in response to detecting that PN synchronization is present.

12. A system for detecting PN code synchronization for a direct sequence spread spectrum (DSSS) signal comprising:

a demodulator configured to:

receive a DSSS data signal comprising a data stream of data frames comprised of I and Q symbols, at least a portion of each data frame comprising a unique word; and

demodulate the data signal into 1 and Q chip samples;

a filter configured to filter the 1 and Q chip samples and outputting the filtered chipped 1 and Q symbol samples to a chip stream controller, the chip stream controller configured to output a plurality of chip streams to an m x n correlation matrix;

a processor configured to: correlate the plurality of chip streams with the chipped unique word using rn x n correlation cells within the correlation matri and outputting a correlated data stream; and

run a plurality of Fast Fourier Transforms (FFTs) on the correlated output data stream and searching for a frequency bin having a maximum frequency bin power of each FFT run; and

a PN synchronization detector configured to;

search for a maximum frequency bin power among the plurality of FFT runs; and determine whether PN synchronization is present.

13. The system of claim 12, wherein the processor is further configured to determine a carrier signal offset frequency and identify a primary chip stream and a secondary chip stream,

14. The system of claim 12, wherein each chip stream among the plurality of chip streams is output to a separate m x n correlation matrix.

15. The system of claim 12, wherein the plurality of chip streams comprises an even chip stream and an odd chip stream.

16. The system of claim 12, further comprising a frame clock configured to time-stamp each of the 1 and Q chip samples.

17. The system of claim 16, further comprising a chip buffer configured to receive a plurality of chips from the plurality of chip streams from the chip stream controller.

18. The system of claim 17, wherein the chip buffer is further configured to continue receiving chips from the chip stream controller until the PN synchronization detector detects that PN synchronization is present.

19. The system of claim 14, wherein the processor is further configured to simultaneously correlate the plurality of chip streams in parallel among the separate m x n correlation matrices.

20. The system of claim 13, wherein the chip stream controller is further configured to sample the primary chip stream closer to an eye diagram opening than the secondary chip stream is sampled,

21. The system of claim 12, wherein the chip stream controller is further configured to sample each chip stream among the plurality of chip streams at a midpoint between an eye diagram opening and an eye diagram closing.

22. The system of claim 18, wherein the processor is further configured to output at least one of a primary and a secondary chip stream indicator, a PN synchronization shift value, and a carrier frequency offset in response to detecting that PN synchronization is present.

Description:
PN Code Sync Detection for the Direct Sequence Spread Spectrum Receiver

1. Technical Field

[0001] Aspects of this document relate generally to telecommunication systems and techniques for transmitting data across a telecommunication channel.

2. Background Art

[0002] One of the most, difficult and resource-intensive parts of Direct, Sequence Spread Spectrum (DSSS) receiver design is the initial synchronization of the spread code in the receiver. In some applications, both chip clock and carrier frequency offsets can be assumed to be extremely small such that a simple correlation can be performed between the incoming chipped symbol stream and the locally generated spread code. However, in most applications, particularly in satellite communications, the assumption of small carrier frequency offsets cannot, be made. Therefore, some amount, of frequency correction is required, even though chip clock rates between the transmitter and receiver can be assumed close enough.

[0003] There are two popular conventional acquisition methods of direct sequence spread spectrum signals. The first one uses FIR filter structure with the PN code sequence bits as the F I R fil ter coefficients (FIR method). Impl ementations of the FIR method can correlate in real time and fast. Howe ver, it is resource-demanding and extremely inflexible if there are any changes to the spreading factor.

[0004] The second conventional acquisition method uses one or multiple correlators to correlate the incoming DSSS signal sequentially (serial search method). Implementations of the serial search method result in considerable reduction in complexity'. However, acquisition may be very slow as only m possible PN sequence shifts per frame may be searches, where m is the number of correlators.

[0005] So as to reduce the complexity and length of the Detailed Description, and to fully establish the state of the art in certain areas of technology, Applicant herein expressly

incorporates by reference all of the following materials;

[0006] The following references are hereby incorporated by reference in their entirety: [0007] 1 1 j Bernard Sklar, Digital Communications: Fundamentals and Applications, Prentice-Hall, Inc., Englewood Cliffs, .J., 1988.

[0008] [2]. Ir. J. Meei, Spread Spectrum (SS) Introduction, De Nayer Instituut, December

1999.

[0009] [3]. Ir. J. Meei, Spread Spectrum (SS) Applications, De Nayer Instituut, December

1999.

[0010] [4]. Application Note 1890, An Introduction to Direct-Sequence Spread-Spectrum Communications, Dallas Semiconductor, February 2003.

[0011] [5]. Erik Strom, etc.. An Introduction to Spread Spectrum Systems, Chamlers University of Technology, Sweden, January 2004.

[0012] Applicant believes that, the material incorporated above is "non-essential" in accordance with 27 CFR 1,57, because it is referred to for purposes of indicating the background of the invention or illustrating the state of the art. However, if the Examiner believes that any of the above-incorporated material constitutes "essential material" within the meaning of 37 CFR 1.57(c)(i)-(3), Applicant will amend the specification to expressly recite the essential material that is incorporated by reference as allowed by the applicable rules.

SUMMARY

[0013] Implementations of a method of detecting PN code synchronization for a direct sequence spread spectrum (DSSS) signal may comprise receiving, by a demodulator, a DSSS data signal comprising a data stream of data frames comprised of I and Q symbols, at least a portion of each data frame comprising a unique word, demodulating, by the demodulator, the data signal into I and Q chip samples, filtering, by a filter, the I and Q chip samples and outputting the filtered I and Q chip samples to a chip stream controller, and outputting, by the chip stream controller, a plurality of chip streams to an m x n correlation matrix.

Implementations of the method may further comprise correlating the plurality of chip streams with the chipped unique word using m x n correlation cells within the correlation matrix and outputting a correlated data stream, running a plurality of Fast Fourier Transforms (FFTs) on the correlated output data stream and searching for a frequency bin having a maximum frequency bin power of each FFT run using a processor, searching for a maximum frequency bin power among the plurality of FFT runs using a PN synchronization detector, and determining, by the PN synchronization detector, whether PN synchronization is present.

[0014] Particular aspects may comprise one or more of the following features. The method ma}' further comprise determining a carrier signal offset frequency and identifying a primary chip stream and a secondary chip stream. Each chip stream among the plurality of chip streams may be output to a separate m x n correlation matrix. The plurality of chip streams may comprise an even chip stream and an odd chip stream. The method may further comprise time- stamping each of the I and Q chip samples using a frame clock. The method may further comprise receiving, by a chip buffer, a plurality of chips from the plurality of chip streams from the chip stream controller. The chip buffer may continue receiving chips from the chip stream controller until the PN synchronization detector detects that PN synchronization is present. The method may further comprise simultaneously correlating the plurality of chip streams in parallel among the separate m x n correlation matrices. The method may further comprise sampling the primary chip stream closer to an eye diagram opening than the secondary chip stream is sampled. The method may further comprise sampling each chip stream among the plurality of chip streams at a midpoint between an eye diagram opening and an eye diagram closing. The method may further comprise outputting at least one of a primary and a secondary chip stream indicator, a PN synchronization shift value, and a carrier frequency offset in response to detecting that PN synchronization is present.

[0015] Implementations of a system for detecting PN code synchronization for a direct sequence spread spectrum (DSSS) signal may comprise a demodulator configured to receive a DSSS data signal comprising a data stream of data frames comprised of 1 and Q symbols, at least a portion of each data frame comprising a unique word and demodulate the data signal into I and Q chip samples, a filter configured to filter the I and Q chip samples and outputting the filtered chipped I and Q symbol samples to a chip stream controller, the chip stream controller configured to output a plurality of chip streams to an m x ri correlation matrix, a processor configured to correlate the plurality of chip streams with the chipped unique word using m x n correlation cells within the correlation matrix and outputting a correlated data stream and run a plurality of Fast Fourier Transforms (FFTs) on the correlated output data stream and searching for a frequency bin having a maximum frequency bin power of each FFT run, and a PN synchronization detector configured to search for a maximum frequency bin power among the plurality of FFT runs and determine whether PN synchronization is present,

[0016] Particular aspects may further comprise one or more of the following features. The processor may be further configured to determine a carrier signal offset frequency and identify a primary chip stream and a secondary chip stream. Each chip stream among the plurality of chip streams may be output to a separate m x n correlation matrix. The plurality of chip streams may comprise an even chip stream and an odd chip stream. The system may further comprise a frame clock configured to time-stamp each of the I and Q chip samples. The system may further comprise a chip buffer configured to receive a plurality of chips from the plurality of chip streams from the chip stream controller. The chip buffer may be further configured to continue receiving chips from the chip stream controller until the PN synchronization detector detects that PN synchronization is present. The processor may be further configured to simultaneously correlate the plurality of chip streams in parallel among the separate m x n correlation matrices. The chip stream controller may be further configured to sample the primary chip stream closer to an eye diagram opening than the secondary chip stream is sampled. The chip stream controller may be further configured to sample each chip stream, among the plurality of chip streams at a midpoint between an eye diagram opening and an eye diagram closing. The processor may be further configured to output at least one of a primary and a secondary chip stream indicator, a PN synchronization shift value, and a carrier frequency offset in response to detecting that PN synchronization is present.

[0017] Aspects and applications of the discl osure presented here are described below in the drawings and detailed description. Unless specifically noted, it is intended that the words and phrases in the specification and the claims be given their plain, ordinary, and accustomed meaning to those of ordinary skill in the applicable arts. The inventor is fully aware that he can be his own lexicographers if desired. The inventor expressly elects, as his own lexicographers, to use only the plain and ordinary meaning of terms in the specification and claims unless clearly stated otherwise and then further, expressly sets forth the "special" definition of that term and explain how it differs from the plain and ordinary meaning. Absent such clear statements of intent to apply a "special" definition, it is the inventor's intent and desire that the simple, plain and ordinary meaning to the terms be applied to the interpretation of the specification and claims. [0018] The inventor is also aware of the normal precepts of English grammar. Thus, if a noun, term, or phrase is intended to be further characterized, specified, or narrowed in some way, then such noun, term, or phrase will expressly include additional adjectives, descriptive terms, or other modifiers in accordance with the normal precepts of English grammar. Absent the use of such adjectives, descriptive terms, or modifiers, it is the intent that such nouns, terms, or phrases be given their plain, and ordinary English meaning to those skilled in the applicable arts as set forth above.

[0019] Further, the inventor is fully informed of the standards and application of the special provisions of 35 U.S.C. § 112, *J 6. Thus, the use of the words "function," "means" or "step" in the Description , Drawings, or Claims is not intended to somehow indicate a desire to invoke the speeial provisions of 35 U.S.C, § 1 12, *jj 6, to define the invention. To the contrary, if the provisions of 35 U.S.C, § 1 12, *jj 6 are sought to be invoked to define the claimed disclosure, the claims will specifically and expressly state the exact phrases "means for" or "step for, and will also recite the word "function" (i.e., will state "means for performing the function of [insert function]"), without also reciting in such phrases any structure, material or act in support of the function. Thus, even when the claims recite a "means for performing the function of . . . " or "step for performing the function of . . . ," if the claims also recite any structure, material or acts in support of that means or step, or that perform the recited function, then it is the clear intention of the inventors not to invoke the provisions of 35 U.S.C. § 1 12, f 6. Moreover, even if the provisions of 35 U.S.C. § 1 12, 6 are invoked to defme the claimed disclosure, it is intended that the disclosure not be limited only to the specific structure, material or acts that are described in preferred embodiments, but in addition, include any and all structures, materials or acts that perform the claimed function as described in alternative embodiments or forms of the invention, or that are well known present or later-developed, equivalent structures, material or acts for performing the claimed function.

[0020] The foregoing and other aspects, features, and advantages will be apparent to those artisans of ordinary skill in the art from the DESCRIPTION and DRAWINGS, and from the CLAIMS.

BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Implementations will hereinafter be described in conjunction with the appended drawings, where like designations denote like elements, and: [0022] FIG, 1 depicts a prior art implementation of a Direct Sequence Spread Spectrum (DSSS) transmitter.

[0023] FIG, 2 depicts a prior art implementation of a Direct Sequence Spread Spectrum (DSSS) receiver.

[0024] FIG. 3 provides an example of a transmit frame structure of an I & Q data symbol stream.

[0025] FIG. 4 depicts an implementation of a receiver configured to perform complex decorrelation.

[0026] FIG. 5 is a graph of average carrier wave tone loss versus carrier frequency offset.

[0027] FIG. 6 is a block diagram of an implementation of a signal acquisition phase of a receiver.

[0028] FIG. 7 is a block diagram of an implementation of a chip stream control structure.

[0029] FIG, 8 is a diagram of an example of timed chip slots of a data frame.

[0030] FIGS. 9A-C provide an example of a timing diagram of a plurality of correlation runs according to an implementation of the system.

[0031] FIGS. lOA-C provide an example of an implementa tion of a correlation matrix structure.

[0032] FIG. 1 1 is an example of an implementation of a correlation cell structure.

[0033] FIG. 12 is a block diagram of an implementation of a method of PN

sync hronizati on detecti o .

DESCRIPTION

[0034] This disclosure, its aspects and implementations, are not limited to the specific components, frequency examples, or methods disclosed herein. Many additional components and assembly procedures known in the art consistent with the transmission of identification via meta-data are in use with particular implementations from this disclosure. Accordingly, although particular implementations are disclosed, such implementations and implementing components may comprise any components, models, versions, quantities, and/or the like as is known in the art for such systems and implementing components, consistent with the intended operation.

[0035] This disclosure relates to, but is not limited to, a method and system for detecting PN synchronization of a Direct Sequence Spread Spectrum (DSSS) signal. Particular implementations described herein are and may use, but are not limited to, Field-Programmable Gate Arrays (FPGA), digital signal processors, Application-Specific Integrated Circuits (ASIC), Programmable Integrated Circuits (PIC), or microprocessors.

[0036] Implementations of the methods and system disclosed herein can detect synchronization of a spread code in the presence of a large carrier frequency offset while also determining and outputting an estimation of this offset. Implementations of these systems and methods may provide one of more of the following advantages; 1) acquisition time may be adjusted to account for available resources; 2) acquisition speed may be easily increased by parallel processing without increasing implementation complexity: 3) a spreading factor is not limited to powers of 2, but may comprise any integer without extra complexity and cost of additional resources; and 4) the well-defined structure allows a same design to be easily ported to different platforms with different, resource constraints. For example, constraints may comprise those such as limits on available memory, logic elements, or signal processing blocks such as multipliers.

[0037] An example of typical architecture of a Direct Sequence Spread Spectrum (DSSS) transmitter and receiver as commonly known in the art is shown in FIGS. 1 -2, respectively.

[0038] In the transmitter, data bits, usually from a Forward-Error-Correction (FEC) encoder, are mapped to the desired modulation type first in Symbol Mapper 1. The Mapper 1 outputs, 1 & Q symbols, I srm b & Qsymb, respectively, which are chipped or as is otherwise known in the art, spread, by PN Generator 2 and output as u and v to Multipliers 3a and 3b, respectively. The two PN sequences u and v may or may not be the same sequences. If they are different, it may be advantageous for them to have a low cross-correlation and be orthogonal. I & Q chips, lchip & Qckip, as output by Multipliers 3a and 3b, respectively, go through Pulse Shapers 4a and 4b with a bandwidth equal to, for example, half the chip rate to constrain out-of-bandwidth power. Finally, outputs I samp & Q S am P of Pulse Shapers 4a and 4b are modulated to create an RF signal in Modulator 5.

[0039] Modulation may be digital or in analog in Modulator 5. If done digitally, baseband samples, I xamp & Q sam p, are digitally modulated first and then the modulated samples are converted to analog. If done in analog, the baseband samples J samp & Q samp are converted to analog first, and then the analog I & Q signals are modulated.

[0040] In a typical receiver, as shown in FIG. 2, demodulation can be accomplished digitally or by using analog-like modulation in Demodulator 6. If done digitally, the RF ' signal is digitalized, and then demodulated digitally to baseband I & Q symbol samples. If using an analog demodulator, the RF signal is demodulated in analog first to analog baseband 1 & Q symbol signals, and then the analog I & Q signals are digitalized to the baseband I & Q symbol samples.

[0041] In some implementations of a receiver, the baseband I & Q symbol samples I samp & Qsamp from Demodulator 6 are filtered by Nyquist Filters 7a and 7b, respectively. Outputs i c .¾> ; & Qc ip of Nyquist Filters 7a and 7b are decorrelated using output sequences u and v of PN Generator 8 with Multipliers 10a and 10b, and then integrated over a chips and dumped once every a chips (known in the art as Integrate and Dump(I&D)) by Integrators 11a and lib, where a is a factor of spectrum spreading called spreading factor. The integrator outputs I sym h & Q sym b are despread I & Q symbols. Symbol De-Mapper 12 de-maps the despread I & Q symbols I svm b & Qsymb to transmitted data bits, which are usually, but are not limited to, soft-decision data bits if they are fed to a Forward Error Correction (FEC) decoder.

[0042] Based on the despread I & Q symbols I sym b & Qsymb, the chip clock is recovered by Chip Clock Loop 6 and Chip Clock Numerically Controlled Oscillator (NCO) 7, and the canier is recovered by Canier Loop 9 and Canier NCO 10.

[0043] In general, the despreading process may comprise two phases: I ) initial acquisition of PN code synchronization and estimation of canier frequency offset (also known as an acquisition phase); and 2) tracking of PN code synchronization, chip clock and carrier signal (also known as a tracking phase). The acquisition phase is typically the most demanding phase in complexity and resource utilization. The remainder of this disclosure describes

implementations of a method and system for use primarily in the acquisition phase.

[0044] To aid PN spread code synchronization, in some implementations, a transmitted I & Q symbol stream is divided into frames 20 comprised of N s symbols each frame with a unique word (UW) 21 comprised of L s symbols prior to the payload data 22, as shown in FIG. 3. The PN spread code sequences u and v may be resynchronized at the beginning of each frame.

[0045] In the receiver acquisition phase, the UW is chipped (spread) by the locally generated PN sequences using a local PN Generator 30 in accordance with an implementation such as that shown as an example in FIG. 4. The received chips are then decorrelated with the localty chipped UW. If the local PN code is in sync with the incoming PN sequences, the average decorrelating result has a carrier wave tone. By detecting a presence of the carrier wave tone, it may be possible to detect P synchronization. The tone frequency provides an estimation of the carrier frequency offset.

[0046] The following is a derivation of an implementation of a method of detecting PN code synchronization and estimating carrier frequency offset. For ease of description, I and Q signals are represented in complex format. The I & Q chips I c hi P & Qckip in the transmitter can be represented as

Sn = Ichip + jQchip (n) - ii n i n + jv n q n where the PN sequences „ and v„ take values of + 1 or - 1 , and i„ and q„ are I & Q symbols changing once every a chips where a is the spreading factor: i = , (\-\)

11 1

Q.n Qsymb ^

[0048] and the PN sequences u„ and v„ satisfy Equation 3 and Equation 4;

1 m n 10, otherwise

[0049] Without loss of generality, signal power of s„ is normalized to 1 ;

P s = E{s n X s * } = £{(i½i n + ;¾¾.)0 „ - ./%¾)} = E{{u n i n 2 + {v n q v } 2 }

- E{v%}E (i¾ + i- = i * { i 2 ) + ! * £ {q 2 } = χ

[0050] When the carrier frequency offset, is not zero, some energy of the desired signal will be filtered out by Nyquist filter, but this does not practically affect a presence of the carrier wa ve and estimation of the carrier frequency offset, unless the offset is large enough (> +/-50% chip rate) that most of the signal energy is filtered out. Chip clock frequency offset may be practically negligible during the interval of interest, and therefore, the received I & Q chips at the Nyquist filter output can be approximated as follows: r n = lc h ipi ) + JQc ip(n) * s n . k e^ n<a+ ^ + z n

Equation 6

[0051] where k is the unknown PN code synchronization shift (delay), ω is the carrier frequency offset normalized to chip rate, Θ is the unknown carrier phase, and∑ n is low-pass complex Gaussian noise with independent real and imaginary components whose mean is 0 and variance is 0.5σ. 2 . Therefore, the mean ofz„ is also 0 and its variance is σ :

z n = zi n + jzq n

Equation 7

E{z n } - E{zi n + jzq n } - 0

Equation. 8

E{z n x z * } - E{zii ' + zq - E{zi% + E{zq - 0.5σ Γ 2■ ! · G.5er r 2 = σ 2

Equation 9

[0052] Therefore, the received Signal to Noise Ratio (SNR) is

= E{s n ... k x s;„ fc } = P S = l

Pr E{z n x z * } a,? <x r 2

Equation 10

[0053] The locally chipped UW complex sequence w„ over L = a *L S chips may be denoted as

w n - u n i n + jv n q n

Equation 11

[0054] It is then possible to decorrelate r„ with the conjugate of w„.i (denoted as w * „.i) over the chipped UW length of L = a *L S chips, where / is the delay controlled by the sync signal to the chipped UW generator 31 :

Xn = n w * t - (sn^e^™^ + z n )w * _ £ - s n- . fe e^- n<w+e ½„ i + z n w * -i

= \ ( u n~k i~k + ;v n _ fc < _ e^ nw+ eJ ] (u n _ I i n _ i - ;v„ £ ί/„ ; ) ·Ι· „ίν, ?

== K u n~k u n~ n -k i - l + v n~k v n~l n~k n~l)

+ j(. v n-k u n-iqn-kin-l ~ u n-k v n-l^n-k i in-l ' )] ej(:n " > + ej + ¾ w n --/.

- (a ri + ;¾)β^ ιω+ ^ + c„

Equation 12

[0055] where

a n -~ u n _j l u n _ii r ,_i ( i n _i + v ri _} ( v n _i n _j l n _i ' { U n-l n-k l n~l u n-k v n i ; ;>·''/;>

)56] If A ■· /. then

~ £ ' { n--fc I ½---i i n---fe i T!,-f. v n-k v n-l n-k n- ί)

= + E{v n ... k V n .. L }E{q n ... k q n ..

0 * £{i n _ fc i„_ £ } + 0 * E{q n _ k q n _j} - 0

Equation 16

E{b n }— E{v n -. k ii n .-iq n .- k i n ...j— u n ... k v n ...ii n ... k q n ...il)

Equation 17

[00571 lfk = l, then

~ # {Un~k u n -k^n - fc ½ - k + Vn-fe^n-fcin-fc^ -fc)

= 1 * £{i„_ fc i n _ fc } + 1 * E{q n - k q n - k } - 1

[0058] For all values of & and /, the expected value of c„ is always 0:

E{c n ] = £{z n w * _ t } = £{½}£«-?.} - 0

[00591 Therefore,

( ρ }ίηω-\θ) j f j, __ j

E[x n } = E[r n w^ l } = \ C ' h f

(.0, otherwise

[00601 Thus, if the local FN sequence is in sync with the incoming P sequence, the result of complex decorrelation is a carrier wave tone, otherwise the average result will be 0. [0061] One way to detect the carrier wave tone is to run a complex Fast Fourier

Transform (FFT) ofx„ over the UW length ofL = a *L S chips. However, because L is proportional to the spreading factor a, the FFT length is also proportional to a. If the maximum spreading factor is very large, the FFT length can be so large it may become impractical to implement.

[0062] A practical alternative used in some implementations is to run complex FFT of y fl the average over a chips of as defined by Equation 22:

22

[0063] When h .· /.

Equation 23

. When = /,

a- l a-l ., , a-l

E y m ] = - ) £{x rtm _J = - > e ;i(«™-0«+e3 = .1. ) e -7«*»

£=0 £=0 £=0

-iMs ., „ .

C ' 5 e j (rnZnf s + 0)

^(7i') e'/ (m2,T/s+61)

[0065] Therefore, the expected value of y m is

0, otherwise

Equation 25

[0066] Where/, is the carrier frequency offset normalized to symbol rate instead of chip rate, and W(f s ) is a weighting factor due to the effect of integrate-and-dump over a chips: [0067] Instead of running a comple FFT of x„ over L = a *L S chips, in some implementations, a complex FFT is run of y m over L s symbols, which is independent of the spreading factor a. This may substantially reduce implementation complexity and resource requirements. Because of the averaging, the carrier wave tone now has a weighting factor of W ' (f s ), which is a loss of the tone amplitude as a function of the carrier frequency offset/,. The larger the carrier frequency offset /, the larger the loss, as seen in FIG. 5, which may be important to take into consideration when designing the detection circuitry at a large carrier frequency offset. However, as shown in FIG. 5, if the offset is within +/-25% of the symbol rate, the loss is rather small, less than 1 dB as seen in the figure.

[0068] Noise power & my m can be derived as follows. As seen in Equation 22, the noise component is that

Equation 27

)69] With a mean of:

Equation 28 and a power of:

a-l -l

- t -l) ^am- j^a

i-o j-o

a-l - 1

m - I ^ m-j - 1 }

a' E { ^ m - i ^a / } E { ^am— i

i=o j=o

Equatio 29 [0071] Power of noise d m is reduced by a time compared to the input noise. SNR of E y m } can be calculated as

Equatio 30

[0072] A top-level block diagram of an implementation of an acquisition phase is shown in FIG. 6. In some implementations, during acquisition, chip clock and carrier recovery loops are run in an open loop, so that the locally generated chip clock and carrier frequencies are free- running. Once PN synchronization is detected, the chip stream with the highest correlation peak is determined, and the carrier offset estimation is used to correct the carrier NCO. The chip clock and carrier recover}' loops are then closed, and the despread process enters the tracking phase.

[0073] Referring to FIG. 6, in one implementation, I & Q chip sample streams from the Nyquist filter may be sampled at two samples per chip. Chip Stream Control 40 splits the input chip sample stream to even and odd chip streams at one sample per chip, and generates chipped UWand dump signals to control decorrelation. In general, with open-loop chip clock loop, one of the two even and odd chip streams will be sampled closer to the opening of an eye diagram and has higher correlation energy. As one of ordinary skill in the art would recognize, the eye diagram is an oscilloscope display of a digital signal, repetitively sampled to get a good representation of its behavior. In one implementation, the chip stream sampled closer to the eye opening ma}' be designated as the primary chip stream and used to generate despread I & Q symbols, and the other near +/- half chip off the eye opening may be designated as the secondary stream to generate chip clock phase offset.

[0074] Correlation Matrix 41 correlates the even and odd chip streams with chipped UW in m x n correlation cells for each chip stream, effectively running correlation in parallel by m x n correlators on each chip stream. The Correlation Matrix 41 then runs one or more FFT's on the results and searches for the bin with the maximum bin power of each FFT run,

[0075] PN Synchronization Detection Unit 42 searches for the maximum peak bin power of all FFT runs, and use it to determine if PN synchronization is present, among any one of the 2 χ m x n correlations. If yes, PN sync is detected. Then carrier frequency offset can be determined, and the primary and secondary chips can be identified.

[0076] Further discussion of individual blocks depicting various implementations is as follows:

[0077] A Frame Clock 56 may be defined to time-stamp each and ever}' pair of even and odd chips. The Frame Clock 56 m }' be a counter of modulo frame length N " running at a chip rate, as shown in FIG. 8. If the first chip, shown here as Co, of a frame 57 arrives at frame time k, the first chip of the next frame will also arrive at frame time k but N chips later.

[0078] A correlation run may also be defined as a correlation over L chips by the m x n correlation cells of each chip stream in Correlation Matrix 41. FIG. 9 shows an example with m x n = 4 correlation cells, spreading factor a = 3 and UW length L s = 6 symbols, however, any other applicable values may be used as this example is merely for illustration purposes. Each and every correlation ran is also time-stamped with the time stamp of the first chip of the ran.

[0079] Referring to FIG. 7, 1 & Q chip samples, I C i P and Q C i P , from a Nyquist filter are split, into even and odd chip streams in Splitter 50, and buffered as pairs in Chip Buffer 51. The Buffer write 52 and read pointers 53 may have an associated frame time indicator 54 generated by frame clock 56 and indicating the frame time of the chip pairs stored at the location of the pointers 52, 53.

[0080] Chip Stream Controller 55 may keep filling Chip Buffer 51 until it is full or PN synchronization is detected. Chip pairs may continue to be read out of the buffer 51 at the processing clock rate as long as there are chips avai lable.

[0081] Depending on frame length, UW length, spreading factor, ratio of processing clock rate to chip rate, and any other relevant factors, Chip Buffer 51 may or may not be foil before PN synchronization is detected. If Chip Buffer 51 is full before PN synchronization is detected, Chip Stream Controller 55 stops filling and waits until the next frame has arrived, while continuing reading out the previously filled chips for processing.

[0082] For each correlation run, (L + m x n - 1} chip pairs are read out of Chip Buffer 51. After each correlation ran, the read pointer advances by m x n locations for the next ran, if PN synchronization is not yet detected. Thus, a frame of N chips can be searched for PN

synchronization in N / (m x n) correlation runs at most. [0083] In some implementations, during each correlation am, a FFT is performed on the previous correlation am result and the bin with the highest peak is selected. There may be a gap between correlation runs to allow enough time for the FF ' T and power bin search processing (see for example, FIGS. 9A-C, which denote such a gap with an "x" following the time stamp blocks of ro = i prior to the next correlation am).

[0084] Referring now to FIGS. lOA-C, in some implementations of acquisition, correlation energy detection is identical in both chip streams, as there is no knowledge which chip stream is sampled closer to the eye diagram opening.

[0085] Correlation may be done in parallel by m x n correlation cells arranged in an m x n matrix in Even Chip Stream Correlation Matrix 70 and Odd Chip Stream Correlation Matrix 71 for even and odd chip streams, respectively. Shown in FIGS. 10 A-B is an example of correlation matrix comprising a total of m x n = 3 x 4 = 12 correlation cells for each chip stream, where in this example, m = 3 and n = 4; however any appropriate integer values may replace m and n in this example depending upon the resources available for practical implementation. For every (L + m x n - i) input chips, m x n of N possible PN synchronization shifts are searched.

[0086] Referring now to FIG. 1 1 , in some implementations, each correlation cell 84 correlates the chip stream with chipped UW w by Complex Multiplier 80, where / is the locally generated PN synchronization delay, and the star "*" next to the multiplier means complex- multiplying with the conjugate of chipped UWw„. The cell also delays its input chipped UW and dump signals by one chip in Delay Unit 81 and outputs them for the next cell in line. The output of Complex Multiplier 80 is accumulated over a chips and then dumped once in the Integrate & Dump Unit 82. The output of the Integrate & Dump Unit 82 is loaded to Dump Buffer 83 once every a chips.

[0087] An example of relative timing of each correlation cell's chipped UW and dump input signals is illustrated in FIG. 9 for the case of m x n = 4 correlation ceils, spreading factor ' -= '■ 3 and UW length L s = 6 symbols.

[0088] The n correlation cells 73 of each row 72 share one FFT Engine 74 and one Peak Bin Power Search Unit 75. The FFT engine reads the L s despread complex I & Q symbols of the previous correlation run from Dump Buffer 83 of each cell 73 on its row 72 and runs -point FFT's on them, where K >= L s . If K > L s , (K-L s ) points are zero-padded. The FFT engine 74 may run one cell 73 a time with the earlier cell's output ran first. [0089] Peak Bin Power Seareli Unit 75 simply finds the bin with the most power from the FFT engine output for each cell's FFT run, and outputs the bin number and its bin power. In some implementations, the method works as follows.

[0090] Assume Y„, (m = 0, 1, K-l) is the .K-point FFT bins of the L s despread complex I & Q symbols from a correlation cell 73, Peak Bin Power Search Unit 75 computes the bin power first by Equation 31 :

[0091] The system then searches for the peak power (maximum power) among the K bin powers and the corresponding bin number:

Equation. 32

[0092] The output is a bin number i and peak bin power P Pk - ::: Pi for the corresponding correlation cell 73. Outputs from all Peak Bin Power Search blocks are multiplexed back in serial according to their time orders by Output Multiplexer 76 before being sent out. Depending on available im lementation resources, m and n can be selected to trade resources for acquisition time.

[0093] In each correlation ran, a total of (2 x m x rt) correlations may be done on both chip streams, resulting in a total of (2 x m x n) peak bin powers and corresponding bin numbers, one for each correlation cell 73.

[0094] The (2 x m x n) peak bin powers may be denoted as Pe(i, jJ and Po(i, j-J for even and odd streams, respectively, where i„ ranging from 0 to (m x n - 1), is the correlation ceil number, and j h ranging from 0 to K-l, is the bin number, of which bin /,· has the peak power in Correlation Ceil f s FFT.

[0095] PN Sync Detection 42 finds the maximum peak power among the (2 x m x n) peak powers as;

P-max = Po(i,j t )}

Equation 33

[0096] In some implementations, T may be denoted as a pre-determined threshold to decide if the maximum peak bin power is higher enough to declare PN sync detected. If P max satisfies

P max - Pe(tj t ) > T

Equatio 34

[0097] PN synchronization is then declared detected in Correlation Cell t of even chip stream so even chip stream is sampled closer to the eye diagram opening and designated as the primary stream, and odd chip stream as the secondary stream for chip clock phase error detection in the tracking phase.

[0098] On the other hand, itP max satisfies

Equation 35

[0099] PN synchronization is then declared as having been detected in Correlation Cell t of odd chip stream and the odd chip stream is sampled closer to the eye diagram opening and designated as the primary stream, and even chip stream is designated as the secondary chip stream.

[00100] If P max satisfies both Equation 34 and Equation 35, this indicates that both chip streams are sampled halfway from the eye diagram opening. In that case, one chip stream may be arbitrarily selected as the primary stream and the other as the secondary. [00101] n some impl ementations, m may denote the frame time stamp of the correlation run of which PN synchronization is detected in Correlation Cell t with bin j t having the maximum peak bin power. Then PN code synchronization shift k and carrier frequency offset Af s can be estimated as follows, where R s is the symbol rate:

k m + t

Equation 36

Equation 37

[00102] Once PN code syne is detected, PN Synchronization Detection Unit 42 outputs the primary/secondary stream indicator, PN synchronization shift k and carrier frequency offset Af s .

[00103] FIG. 12 depicts an implementation of a method for detecting PN synchronization for direct sequence spread spectrum (DSSS) signal in accordance with the above disclosure. As shown, a demodulator receives a DSSS signal which is comprised of a data stream, having data f ames of I and Q symbols 100. At least a portion of each data frame also comprises a unique word. The demodulator then demodulates the DSSS signal into I and Q chip samples 110 which are filtered and output to a chip stream controller 120. A plurality of chip streams, such as for example, even and odd chip streams, are output by the chip stream controller to an m x n correlation matrix, where m and n are comprised of integer values 130, There are m x n correlation cells within the correlation matrix which correlate the plurality of chip streams with the chipped unique word and output a correlated data stream 140.

A processor then runs a plurality of Fast Fourier Trans forms (FFTs) on the correlated output data stream and searches for a maximum frequency bin power of each FFT 150. The maximum frequency bin power among all of the FFT runs is then found using a PN synchronization detector 160. Based upon this result, the PN synchronization detector makes a determination as to whether or not PN synchronization has been achieved 170.

[00104] Compared to conventional FIR methodology, implementations of the disclosed methods and systems are much less complex and much more flexible if the design needs to accommodate multiple spreading factors and UW lengths. Compared to conventional serial search methods, implementations of the disclosed methods and systems have comparable implementation economy, but can acquire PN synchronization much faster,

[00105] The core idea of implementations of the disclosed methods is to define the frame clock to time stamp each and every chip, and buffer chips so that the same set of chips can be searched multiple times for different possible PN sync shifts. The structure of m x n correlation matrix and n correlation cells per FFT engine allows an easy trade-off between acquisition time and available resources by selecting the proper m and n for a given resource constraint. It also allows easy porting of the same design to different platforms with different resource mix, substantially cutting development cost.

[00106] In places where the description above refers to particular implementations of telecommunication systems and techniques for transmitting data across a telecommunication channel , it should be readily apparent that a number of modifications may be made without departing from the spirit thereof and that these implementations may be applied to other to telecommunication systems and techniques for transmitting data across a telecommunication channel.