• 沒有找到結果。

一種使用啾聲轉換演算法為頻率擷取並應用在GPS接收器的新型快速方法

N/A
N/A
Protected

Academic year: 2021

Share "一種使用啾聲轉換演算法為頻率擷取並應用在GPS接收器的新型快速方法"

Copied!
41
0
0

加載中.... (立即查看全文)

全文

(1)

國立交通大學

電機與控制工程學系

碩士論文

一種使用啾聲轉換演算法為頻率擷取並應

用在 GPS 接收器的新型快速方法

A NEW FAST FREQUENCY-ACQUISITION

TECHNIQUE USING CHIRP TRANSFORM

ALGORITHM FOR GPS RECEIVER

研 究 生:吳嘉富

指導教授:鄭木火博士

中華民國九十四年七月

(2)

一種使用啾聲轉換演算法為頻率擷取並應用在

GPS 接收器的新型快速方法

A NEW FAST FREQUENCY-ACQUISITION

TECHNIQUE USING CHIRP TRANSFORM

ALGORITHM FOR GPS RECEIVER

研 究 生:吳嘉富 Student : Jia-Fu Wu

指導教授:鄭木火博士 Advisor : Mu-Huo Cheng

國立交通大學

電機與控制工程學系

碩士論文

A Thesis

Submitted to Department of Electrical and Control Engineering

College of Electrical Engineering and Computer Science

National Chiao Tung University

In Partial Fulfillment of the Requirements

for the Degree of Master

in Electrical and Control Engineering

July 2005

Hsinchu, Taiwan, Republic of China

(3)

øUàn;ž²Æ¶Ñä0R¦1@àÊ

GPS QYÂíh0§j¶

û˝Þ: ØÁó

Nû`¤: wƒÊ²=

Å >¦×çÚœD−„ ˙çÍ

¿b

mUR¦Êr7ìPÍ$ (GPS) QYÂ2uø_ÄIí°¥¬˙, wñíu,¿fÓœ{ (Pseudo-Random Number, PRN) íôb¸·  ä0 md.2íR¦j¶ª}Ñv¶¸ä¶ o‚ íj¶uÊv2lóɃbJ®ƒ|סN,¿ ¡VR¦íj¶Uà0§Z sž²¶ (Fast Fourier Transform, FFT) Êä2lóɃbJÁýFÛlµÆ O¹UuUàä¶Jb ,¿ƒWj&5·  ä0, wFÛílµÆEóçò ¤4ÄÑ FFT ulmUc_ ä$, OFbí·  ä0¸ˇóúkmUíä$Vzóçíü …dĤT|‚àn;ž²Æ¶ (Chirp Transform Algorithm, CTA) íj¶Vs€¤½æ 3bu‚à CTA }øFí«Š? Ì[Ê·  ä0íä¨,, ]ª±QlµÆCTòä0j& …d1øJ CTA ,¿·   ä0£J FFT ,¿ PRN {íóPsj¶ó!¯, $AøhímUR¦j¶, ˚5Ñs¼¨¶ wD f$j¶óªœ, lµÆÊ°ø4?-øª±Q …d|(J«µÆѾ¿¡b, UàÚ7 _ÒVð}…dFTj¶5i4

(4)

A NEW FAST FREQUENCY-ACQUISITION

TECHNIQUE USING CHIRP TRANSFORM

ALGORITHM FOR GPS RECEIVER

Student: Jia-Fu Wu

Advisor: Dr. Mu-Huo Cheng

Institute of Electrical and Control Engineering

National Chiao-Tung University

Abstract

Signal acquisition in GPS receiver is a coarse synchronization process whose goal is to estimate the Pseudo-Random Number (PRN) code delay and the Doppler frequency. The acquisition methods, in literatures, are performed in either time domain or frequency do-main. Early methods compute the correlation in the time domain to achieve the performance of maximum likelihood estimation (MLE). Recently, new realization techniques have been developed for computing the correlation in frequency domain via the fast Fourier transform (FFT) such that the computation complexity is significantly reduced. The approaches via the FFT, however, still require high computation complexity if one desires to estimate the Doppler frequency with its resolution up to a few Hertz. The reason is because the FFT evaluates the whole signal spectrum, but the range of possible Doppler frequency is relatively much small compared with the signal spectrum. Therefore, this thesis employs the Chirp Transform Algorithm (CTA) to overcome this drawback because the CTA evaluates only within the range of Doppler frequency. This approach can either reduce the computation complexity or increase the frequency resolution. In this thesis, we further combine together the two techniques, one using the CTA for Doppler frequency estimation and the other using the FFT for code delay estimation, yielding a new acquisition approach, referred to as the two-stage search method which, compared with traditional methods, can reduce the compu-tation complexity. Computer simulations are also performed to demonstrate the advantages of our proposed methods.

(5)

Ðá

¤d?ß‚êA, bԁöyË>áBíNû`¤wƒÊ`¤, Ê¥ssísû˝Þ®2, Ì u&AQÓíy^ö£CµçGíÃã-, ÌUBÊÞº£ç…,×ïGÖ ĤʅdGF 5Ò, úk:£f−¤“í4_,|y£íá< ʨt‚ÈwPŠÀé`¤¸"/¯`¤Æ˛N£1TXrÖ£í<c ʤ>á5bí: °v>áH“çÅyÞ TÔ  ‰ï \¨ ¼, J£õðíFAº: ُ ÅQ 6› P + §ï ]G ?& ó¼Ê{“,í~}n£Þº,í¡;®x, ÑÓÀ|íû˝ÞºÓ¼. ýH˘, 6b>፤½¯ .? ˇL ËÇ ªj¸rÖߤvv#B2¥D6Œ

|(b>áBíðA, âkFbíG|¸.iË2¥, éB?Ì(è5Rí*9û˝, ß‚êAç “, 1/?‰Þú-øší˚ØD‘D

(6)

TABLE OF CONTENTS

ABSTRACT IN CHINESE i ABSTRACT IN ENGLISH ii ACKNOWLEDGEMENTS IN CHINESE iii LIST OF FIGURES vi LIST OF TABLES viii 1 INTRODUCTION 1

1.1 Introduction . . . 1

1.2 Motive and Literatures Review . . . 1

1.3 Organization of the Thesis . . . 2

2 GPS SIGNAL MODEL 3 2.1 Introduction to GPS . . . 3

2.2 GPS Signals From Satellites . . . 4

2.2.1 Signal Structure . . . 4

2.2.2 Generation of C/A Code . . . 4

2.3 GPS Receiver . . . 6

2.3.1 RF Module . . . 7

2.3.2 A/D Converters . . . 8

2.4 Input Signals of The Digital Baseband Processor . . . 8

3 C/A CODE ACQUISITION 9 3.1 Acquisition Using FFT . . . 10

(7)

TABLE OF CONTENTS

3.1.2 Parallel(code delay)-Serial(Doppler frequency) Method . . . 11

3.2 Acquisition Using CTA . . . 12

3.2.1 CTA Algorithm [13] . . . 13

3.2.2 CTA Method . . . 14

3.2.3 Two-stage Search Strategy . . . 15

3.3 Computation Complexity . . . 17 4 SIMULATIONS AND DISCUSSIONS 20 5 CONCLUSIONS 29

(8)

LIST OF FIGURES

Fig. 2.1 C/A code generator . . . 5

Fig. 2.2 Autocorrelation of satellite 19 . . . 5

Fig. 2.3 Crosscorrelation of satellites 19 and 31 . . . 6

Fig. 2.4 Spectrum of a C/A code . . . 6

Fig. 2.5 The block diagram of GPS receiver and DSP . . . 7

Fig. 2.6 RF Module . . . 7

Fig. 3.1 Two-dimensional C/A code search region . . . 9

Fig. 3.2 Acquisition system block diagram . . . 10

Fig. 3.3 Using FFT to estimate the Doppler frequency . . . 11

Fig. 3.4 Using FFT to estimate the code delay . . . 12

Fig. 3.5 Frequency samples for CTA . . . 13

Fig. 3.6 Block diagram of CTA . . . 14

Fig. 3.7 Using CTA to estimate the Doppler frequency . . . 15

Fig. 3.8 Block diagram of CTA using FFT . . . 15

Fig. 3.9 Two-stage search strategy diagram . . . 16

Fig. 4.1 Received signal in baseband from the satellite 12 with C/N0 = 40 dB-Hz. 20 Fig. 4.2 Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz : 3-dimensional view . . . 21

Fig. 4.3 Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz : lateral view . . . 21

Fig. 4.4 Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz : lateral view 2 . . . 22

(9)

LIST OF FIGURES Fig. 4.5 Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : 3-dimensional view . . . 22

Fig. 4.6 Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : lateral view . . . 23

Fig. 4.7 Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : lateral view 2 . . . 23

Fig. 4.8 Using FFT to estimate the code delay from the satellite 12 with C/N0 = 40

dB-Hz : 3-dimensional view . . . 24 Fig. 4.9 Using FFT to estimate the code delay from the satellite 12 with C/N0 = 40

dB-Hz : lateral view . . . 24 Fig. 4.10 Using FFT to estimate the code delay from the satellite 12 with C/N0 =

40 dB-Hz : lateral view 2 . . . 25 Fig. 4.11 Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : 3-dimensional view . . . 25

Fig. 4.12 Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : lateral view . . . 26

Fig. 4.13 Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40 dB-Hz : lateral view 2 . . . 26

Fig. 4.14 Using two-stage search from the satellite 12 with 77 coarse frequency bins C/N0 = 40 dB-Hz : 3-dimensional view . . . 27

Fig. 4.15 Using Two-Stage search from the satellite 12 with 77 coarse frequency bins C/N0 = 40 dB-Hz : lateral view . . . 27

Fig. 4.16 Using Two-Stage search from the satellite 12 with 77 coarse frequency bins C/N0 = 40 dB-Hz : lateral view 2 . . . 28

Fig. 4.17 Using CTA to estimate the Doppler frequency with the correct code delay from the satellite 12 C/N0 = 40 dB-Hz. . . 28

(10)

LIST OF TABLES

Table 3.1 Computation complexity of all . . . 18 Table 3.2 Common parameters . . . 18

(11)

Chapter 1

INTRODUCTION

1.1 Introduction

Global Positioning System (GPS) receivers must acquire and track the PRN code from several GPS satellites. In order to track and decode the navigation data in the received signal, an acquisition process must be first done to detect the presence of the signal. Once the signal is detected, the necessary parameters which are the PRN code delay and the Doppler frequency must be obtained and passed to a tracking program. From the tracking program the navigation data can be obtained. The tracking effort can be greatly reduced if the initial code delay and the Doppler frequency are more accurate. This thesis presents a new and efficient method to increase the accuracy of the Doppler frequency acquisition. In our proposed method, we find that it is easy to increase frequency resolution up to the level of the bandwidth of tracking loop with lower computation complexity. So, one can also combine our method with other fast methods which are good at finding code phase/delay fast, such as FFT. Thus, a two-stage search strategy is proposed in this thesis. In this way, not only can the burden of tracking loop be alleviated, but also the computation complexity of acquisition can be reduced.

1.2 Motive and Literatures Review

Although GPS signal acquisition is a mature subject, there is still some ways to improve acquisition on computation complexity. Acquisition is the most time-consuming operation in the GPS receiver. A fast search algorithm was presented by Cheng in [1]; it is using FFT to the find the Doppler frequency. In this thesis, we refer to this method as to Serial (code delay)-Parallel (Doppler frequency) Method, meaning that it is performed by doing serial code correlation along with searching the Doppler frequency in the spectrum. Another fast

(12)

CHAPTER 1. INTRODUCTION search algorithm was presented by Van Nee in [2][5][6]; it is also using the FFT to search code delays, instead of Doppler frequency. We call this approach Parallel-Serial method. The idea of Serial-Parallel method is adopted by [3][4] for solving the problem of large Doppler frequency in the earth orbit satellites (LEOS) channel. In the methods discussed above, they still have much computation to do as a result of long acquisition intervals if they want to find fine frequency resolution. In reference [7], they propose a new algorithm based on the stochastic nonlinear filtering framework, and they claim that the proposed architecture yields small code/frequency acquisition intervals and reduced tracking errors. However, it appears to be complicated, and its estimation of frequency range depends on SNR (C/N0).

In our proposed method, we can dramatically increase frequency resolution under the same SNR with a little increment of complexity. In the book [8], it uses Serial-Parallel method and employs the phase relation to find fine frequency resolution. To reduce the complexity, the book presents an approach to multiply the delay of the received signal with the no-delay one to eliminate the carrier frequency first. It can operate faster than the FFT method, but it requires a higher SNR.

1.3 Organization of the Thesis

The remainder of this thesis is divided into four chapters including conclusions. Chapter 2 reviews the GPS, its receiver structure, and the baseband signal. Chapter 3 illustrates the differences of two fast current methods and our methods. Chapter 4 demonstrates the computer simulations and lists of computation complexity. The final chapter is the conclusions.

(13)

Chapter 2

GPS SIGNAL MODEL

2.1 Introduction to GPS

GPS is a space-based radionavigation system which is managed for the Government of the United States by the U.S. Air Force (USAF), the system operator. The GPS is designed to provide precise position, velocity and timing information on a global common coordinate system to an unlimited number of suitably equipped users. It consists of three segments: the space-segment, the control-segment, and the user-segment. When fully deployed, the space-segment will contain 21 primary space vehicles and 3 spares in 12-hour, 55o

inclina-tion orbits with 4 space vehicles distributed in each of 6 planes. The control-segment consists of monitor stations to check the health of the satellites, to determine their orbits and the behavior of their atomic clocks, and to inject the broadcast message into the satellites. The user-equipment is the key for users to access the system which has undergone extensive de-velopment since the GPS concept was initiated in 1973.

Normally for a user to determine his absolute position, he needs to receive signals from four different GPS satellites. A GPS satellite transmits information to users on two different L-band frequencies L1 and L2. Both L1 and L2 signals are also continuously modulated with the navigation data bit stream at 50 bit per second.

The signals are modulated with two PRN codes : Precision (P) code and Coarse/Acquisiton (C/A) code. The actual P code is not directly transmitted by the satellite, but it is mod-ulated by a Y code, which is often referred to as the P(Y) code. In general, in order to acquire the P(Y) code, the C/A code is usually acquired first. Thus, if one wants to get the signal from satellites, one must demodulate the received signal to obtain the C/A code first.

(14)

CHAPTER 2. GPS SIGNAL MODEL Therefore, in this thesis we only focus on the acquisition of C/A code.

2.2 GPS Signals From Satellites

2.2.1 Signal Structure

The GPS signal contains two frequency components: link 1 (L1) and link 2 (L2). The center frequency of L1 is at 1575.42 MHz and L2 is at 1227.6 MHz. These frequencies are coherent with a 10.23 MHz clock. These frequencies are very accurate as their reference is an atomic frequency. The signal structure of the satellite is well defined in [9]. The L1 frequency is Bipolar-Phase Shift Key (BPSK) modulated by the composite C/A code and navigation data bit train if one only considers the C/A part, and it can be written as:

S(t) = AP (t)D(t)sin(w1t + φ) (2.1)

where D(t)=±1 represents the data code, w1 is the L1 frequency, φ is the initial phase. A is

the amplitude of the C/A code, and P(t)=±1 represents the phase of the C/A code. 2.2.2 Generation of C/A Code

The characteristics of the C/A code are all defined in [9], which defines its structure and the basic method used for generating it. The C/A code consists of 1.023 Mbps Pi(t) patterns

with Modulo 2 addition of the navigation data bit train, D(t), which is clocked at 50 bps. The resultant composite bit train is then used to BPSK modulate the L-band carrier. The user receiver is then required to independently generate and synchronize with the satellite transmitted C/A code and perform Modulo 2 addition in order to decode and interpret the navigation message. The linear Pi(t) pattern (C/A-code) is the Modulo-2 sum of two

1023-bit linear patterns, G1 and G2i. The latter sequence is formed by effectively delaying the

G2 sequence by an integer number of chips from 5∼950 to produce 36 unique P(t) patterns

(listed in [9]). The G1 and G2 sequences are generated by 10-stage shift registers having the following polynomials as referred to in the shift register input.

G1 : x10+ x3+ 1

(15)

CHAPTER 2. GPS SIGNAL MODEL The initialization vector for the G1 and G2 sequences is (1111111111). The effective delay of the G2 sequence to form the G2i(t) sequence is accomplished by combining the output

of two stages (S1 and S2) of the G2 shift register by Modulo-2 addition. This allows the generation of 36 unique C/A(t) code phases using the same basic code generator as shown in Fig. 2.1.

Three Figures 2.2, 2.3, and 2.4 can describe the characteristics of C/A code [15].

Fig. 2.1: C/A code generator

Fig. 2.2 is the autocorrelation of satellite 19. The the maximum peak is 1023 whose position is deliberately shifted to the center of the figure for a clear view. The rest of the correlation has three values 63, -1, 65.

0 200 400 600 800 1000 1200 −200 0 200 400 600 800 1000 1200

(16)

CHAPTER 2. GPS SIGNAL MODEL Fig. 2.3 is the crosscorrelation of satellites of 19 and 31. It also has three values 63, -1, -65. Figure 2.4 is the spectrum of C/A code satellite 12.

0 200 400 600 800 1000 1200 −80 −60 −40 −20 0 20 40 60 80

Fig. 2.3: Crosscorrelation of satellites 19 and 31

−2000 −1500 −1000 −500 0 500 1000 1500 2000 −10 0 10 20 30 40 50

60 C/A of satellite 12 sampled at 4.3MHz for 1 ms

Frequency in kHz

Amplitude in dB

Fig. 2.4: Spectrum of a C/A code

2.3 GPS Receiver

(17)

CHAPTER 2. GPS SIGNAL MODEL module consists of a mixer and a lowpass (LP) filter. A/D convert is to digitize the analog baseband signal for the digital signal processor (DSP) to process. They are shown in Fig. 2.5.

Fig. 2.5: The block diagram of GPS receiver and DSP

2.3.1 RF Module

Because of the uncertainty of the Doppler frequency in the L1 signals (varying from -5 kHz to +5 kHz for static receivers), the center frequency of the baseband carrier, wc, should

be 5 kHz or large for accurately estimating the Doppler frequency in the digital baseband. A baseband carrier frequency of 17.248 kHz is chosen for the L1 channels [10]. With a simple single stage downconverter, the local NCO generates RF signals of (1575.42 MHz-17.248 kHz) for the L1 channel. Fig. 2.6 depicts the block diagram of the RF module.

Fig. 2.6: RF Module

The bandwidth of the low-pass (LP) filter is determined by the C/A code power spectrum density, which varies with a Sinc2(kf ) form in an amplitude level as shown in Figure 2.4.

(18)

CHAPTER 2. GPS SIGNAL MODEL signals and outputs the corresponding discrete baseband signals.

2.3.2 A/D Converters

According to the sampling theorem [13], a signal may be reconstructed without error from regularly spaced samples taken a rate fs, which is at least twice the maximum frequency

fm present in the signal. Therefore, the sampling rate for the baseband C/A signal should

be

fs≥ 2 × 1.023 MHz = 2.046 MHz (2.2)

High sampling rate requires higher realization complexity. A lower sampling rate will yield estimates with lower time resolution. The time resolution is too coarse to position. In reference [10], a low sampling rate fs = 2.1518 MHz under which the commensurability

error can be reduced to a negligible level [13] is adopted in this thesis.

2.4 Input Signals of The Digital Baseband Processor

Because the period of navigation data is very long compared with C/A code, one can ignore it within the acquisition time. The input signal plus noise in a single channel can be modeled [10][11] as :

r(n) = AP [(1 + ζ)nTs− εTp]ej(wb+wd)n+φ0 + N (n), (2.3)

where P [·] is a ±1 - valued C/A code, delayed by τ = εTp with respect to GPS system

time, N(n) is the Gaussian white noise, wb = 2πfbTs and wd = 2πfdTs are the digital radian

frequencies corresponding to the baseband carrier fb and Doppler frequency fd, Ts is the

sampling period, Tp is the code chip width, and φ0 is the initial carrier phase at n=0. Here,

we define the carrier frequency wc = wb + wd. The baseband carrier fb is known as 17.248

kHz. If one wants to know the Doppler frequency, he can obtain it from the carrier frequency, wc.

(19)

Chapter 3

C/A CODE ACQUISITION

In estimation theory, acquisition is to find code delay, m, and carrier frequency, wc,

to make the likelihood function maximized. It is the well-know mathematical approach, Maximum Likelihood Estimate (MLE). The likelihood function for acquisition is written as:

L(m, wc) = 1 N0 | N −1X n=0 r(n)p(n + m) cos(wcn)|2+ 1 N0 | N −1X n=0 r(n)p(n + m) sin(wcn)|2 (3.1)

where N is the length of observation interval, r(n), N0 is the power spectral density of the

noise, N(n), and wc is the carrier frequency which is defined in section 2.4. The equation

is derived [11][12] under over a sufficiently short observation interval the signal parameters may be viewed as constant and the noise is Gaussian white. From the equation (3.1), one can find the computation complexity of the likelihood function is dominated by the inner part of the brackets. Usually, it is called correlation or crosscorrelation. Because we must change the possible values, m and wc, to make L maximized, acquisition can be thought of

as a 2-dimension search process (m,wc) in a uncertainty region shown in Fig. 3.1.

Fig. 3.1: Two-dimensional C/A code search region

(20)

CHAPTER 3. C/A CODE ACQUISITION on the environments or applications. Usually, for static receivers the range of Doppler frequency is -5 kHz ∼ 5 kHz, and that of code delay is the period of the code. Intuitively, one can move cell by cell to find the maximum value of L. The correct cell is identified by measurement of the output power of the correlators as shown in Fig. 3.2. The signal is detected until the maximum power is found or the power exceeds the predetermined threshold as shown in Fig. 3.2. Usually, this method is called the conventional method. However, one can fix a certain parameter to find another one along a row or column as shown in Fig.3.1. Since the strategy searching along the row or column can be performed with FFT, they are called FFT methods. In the following sections, FFT methods will be discussed first, and our methods will be introduced.

≥ ! " # " ! # − = • # " ! # − = • $ %

Fig. 3.2: Acquisition system block diagram

3.1 Acquisition Using FFT

In literatures, many methods [1][2][3][4][5][6][8] employ FFT to reduce computation com-plexity. In this section, we review these methods, show they can be implemented by FFT in mathematical derivation, and the steps of implementation .

3.1.1 Serial(code delay)-Parallel(Doppler frequency) Method

The method is to delay the code and then to find the Doppler frequency with FFT in parallel. Then the found frequency is took back to compute the correlation power. So in this thesis, we call this method as Serial-Parallel method, or simply S-P method. The detailed process is shown in Fig. 3.3. After applying FFT, for finding the Doppler frequency in the signal

(21)

CHAPTER 3. C/A CODE ACQUISITION computation complexity. Rw is the number of frequency samples on the range of Doppler

frequency. • − − = • ≥ !"# $ %#

Fig. 3.3: Using FFT to estimate the Doppler frequency

3.1.2 Parallel(code delay)-Serial(Doppler frequency) Method

The two inner part of brackets in equation (3.1) can also be written below. y(m) =

N −1X n=0

r(n)p(m + n)e−jwcn (3.2)

If one fixes the carrier frequency wc as w, then the equation (3.2) becomes the correlation

of r(n)e−jwn and p(n). It is similar to search the code delay in parallel and change w c in

serial, so it is called as Parallel-Serial method, or simply P-S method. Because the C/A code repeats each 1 ms, it is a circular signal. One can use FFT and IFFT to compute y to reduce the computation complexity. Apply FFT to y(m)

Y (k) = N −1X m=0 y(m)e−j2πkmN = N −1X m=0 N −1X n=0 r(n)p(m + n)e−jwne−j2πkmN = N −1X n=0 r(n) N −1X m=0 p(m + n)e−j2πkmN e−jwn = N −1X n=0 r(n) N −1X m=0 p(m + n)e−j2πk(m+n)N ej2πknN e−jwn = N −1X n=0 r(n)P (k)ej2πknN e−jwn

(22)

CHAPTER 3. C/A CODE ACQUISITION

= P (k)[

N −1X n=0

r(n)e−jwnej2πknN ] (3.3)

From (3.3), one can find that the FFT of equation (3.2) is the multiplication of the FFT of p(n) and the IFFT of Nr(n)e−jwn. The result of equation (3.3) is based on the

circular property of p(n), and r(n) need not have this property. In practice, r(n) can not be considered as circular, because it contains noise even if r(n) also contains the circular C/A code, p(n). However, some methods, like reference [8], which also apply FFT to estimate code delays assume that the multiplication of p(m + n) and e−jwn is circular. Under the

above assumption, the obtained likelihood function with the right estimated parameters will be smaller than us. In other words, when SNR is very low, these methods with the above assumption can not detect the wanted signal efficiently and sensitively. After getting y, we can compute L to determine whether the signal is detected. In summary, the block diagram shown in Figure 3.4 is equivalent to that shown in Fig 3.2.

• ≥

Fig. 3.4: Using FFT to estimate the code delay

3.2 Acquisition Using CTA

In this section, the Chirp Transform Algorithm(CTA) is introduced and illustrated how we can employ it to increase frequency resolution within the range of the Doppler frequency and to reduce computation complexity. In the common FFT methods, the frequency reso-lution obtained from 1 ms of data is 1 kHz, which is too coarse for the tracking loop. The desired frequency resolution [8] should be within a few tens of Hertz. Usually, the tracking loop has a width of only a few Hertz. Using FFT to find fine resolution is not an appropriate approach, because in order to achieve 10 Hz resolution we must apply FFT to 100 ms of

(23)

CHAPTER 3. C/A CODE ACQUISITION data which is 215200 samples at the sampling frequency 2.1518 MHz. Therefore, it is too time-consuming for FFT operation.

3.2.1 CTA Algorithm [13]

The CTA is more flexible than the FFT, since it can be used to compute any set of equally spaced samples of the Fourier transform on the unit circle, as indicated in Fig. 3.5. To derive the CTA, we let y[n] denote an N-sequence and Y (ejw) its Fourier transform.

∆ − • • • • • • • • • • • • π

Fig. 3.5: Frequency samples for CTA

We consider the evaluation of M samples of Y (ejw) from an initial frequency w

0 by the

increment ∆w which can be chosen arbitrarily. Thus, DFT is simply the special case of CTA when w0 = 0, M = N , and ∆w = 2π/N which is also shown in Fig. 3.5. The detailed

derivation [13] is shown below. Y (ejwk) = N −1X n=0 y(n)e−jwkn, (w k = w0+ k∆w, k = 0, 1, ..., M − 1 ) = N −1X n=0 y(n)e−j(w0+k∆w)n, (Define W = e−j∆w) = N −1X n=0 y(n)e−jw0nWkn, (kn = n 2 + k2− (k − n)2 2 ) = N −1X n=0 y(n)e−jw0nW[n2+k2−(k−n)2]/2 = N −1X n=0 y(n)W−(k−n)2/2e−jw0nW(n2+k2)/2 = Wk2/2 N −1X n=0 y(n)e−jw0Wn2/2W−(k−n)2/2

(24)

CHAPTER 3. C/A CODE ACQUISITION = Wk2/2 N −1X n=0 g(n)W−(k−n)2/2 (3.4) where g(n) = y(n)e−jw0nWn2/2.

Replacing k by n and n by k in Eq. 3.5 to obtain more familiar notation : Y (ejwn) = Wn2/2

N −1X k=0

g(k)W−(n−k)2/2, n = 0, 1, ..., M − 1 (3.5)

Define h(n) = W−n2/2, -(N-1) ≤ n ≤M-1, otherwise 0. Eq. 3.5 can be interpreted as the

output of a linear time-invariant system, h(n). Because the summation part of Eq. 3.5 is the convolution of g(n) and h(n), one can apply FFT to it to reduce the computation complexity. Here, the FFT size is L = M+N-1 so that the circular convolution will be equal to the linear convolution for 0 ≤n≤ M-1. Thus, g(n) must be zero-padded to L. However, h(n) is noncausal, and for real-time implementations, it must be delayed by (N-1) to be a causal system, h0(n). So, the computation of Eq. 3.5 is as depicted in Fig. 3.6.

− − +

Fig. 3.6: Block diagram of CTA

The desired frequency samples are given by

Y (ejwn) = Z(n + N − 1), n = 0, ...., M − 1 (3.6)

3.2.2 CTA Method

Because using CTA can find certain M frequency samples from N (>M) time samples, we can employ it to find the chosen range of the Doppler frequency, bwr, from the carrier

frequency, wc, as discussed in section 2.4. Generally speaking, the selected range can be

b

wr = −wd ∼ +wd. The common FFT methods uses N time samples to find N frequency

samples, which is limited to find fine frequency in our interested range. In other words, the frequency resolution of the common FFT methods depends on the length of sampled points

(25)

CHAPTER 3. C/A CODE ACQUISITION in time domain. To apply CTA to the acquisition problem of the carrier frequency, some parameters can be set in the following:

w0 = wb− wd; ∆w = 2wd/Rd (3.7)

∆w is the desired frequency resolution which is dependent on Rd.

Thus, replacing the FFT part by the CTA in Fig. 3.3 yields the block diagram Fig. 3.7.

• − − = • ≥ !"#$ % &$

Fig. 3.7: Using CTA to estimate the Doppler frequency

To reduce the computation complexity, one can apply FFT to the convolution part of CTA as shown in Fig. 3.8.

+ − ! "

Fig. 3.8: Block diagram of CTA using FFT

3.2.3 Two-stage Search Strategy

The method introduced in the section 3.2.2 is still very tedious and time-consuming as a result of doing shifting 2152 half-chip times at the sampling frequency fS = 2.1518 MHz,

(26)

CHAPTER 3. C/A CODE ACQUISITION although we have the fine frequency resolution. And in the sections 3.1.1 and 3.1.2, even though P-S method has lower computation complexity than S-P method has, in order to get fine frequency resolution one still needs to change NCO many times. Thus, we propose a new strategy to use CTA to estimate the Doppler frequency and FFT to estimate the code delay. The acquisition is accomplished in two stages, and therefore we call it two-stage search strategy. The acquisition processes of this approach are similar to the double-dwell search strategy; two operations are required. However, from the realization viewpoint double-dwell search strategy is performed in time domain but our approach is in frequency domain. The detailed procedures are discussed below.

1)In the first stage, use the Parallel-Serial method to find the delay with only several Doppler frequency bins.

2)In the second stage, apply the obtained code delay from the first stage to find the fine Doppler frequency via CTA. The block diagram is shown in Fig. 3.9.

(27)

CHAPTER 3. C/A CODE ACQUISITION

3.3 Computation Complexity

In order to measure the computation complexity of above methods, some assumptions are made. The length of FFT must be of radix 2. In the following discussions, the number of operations required to an FFT of length N is equal to (N log2N )/2 multiplications and

N log2N additions. All methods are compared with each other under the same frequency

resolution and the equal range of Doppler frequency. The frequency resolution is ∆f = fr/(Rw − 1), where fr is the range of the Doppler frequency and Rw is the number of

frequency bins. Define Rd be the number of code delays to be searched, N is the length

of input signal in FFT methods, and Ni is the length of input signal in CTA method. Let

Nc = Ni + M − 1. Assume that one multiplication and one addition is regarded as one

operation.

In S-P method, the whole process of acquisition needs 2N Rd + RdRw+ Rd multiplications,

N Rd additions, and Rd FFT operations.

The computation complexity of S-P method is Csp = Rd[3N + Rw+ 1 + 3(N log2N )/2]

In P-S method, it needs 3RwN multiplications and 2Rw FFT operations.

The computation complexity of P-S method is Cps = 3Rw(N + 3N log2N )

In CTA method using FFT, it needs 3RdNi + Rd + RwRd multiplications, RdNi additions,

and Rd CTA operations; one CTA operation needs Ni+ Nc+ Rw multiplications, and 2 FFT

operations.

Thus, its computation complexity of CTA method is Cc = Rd(5Ni+ 1 + Nc+ Rw + 3Nclog2Nc)

In two-stage method with R0

w = (Rw− 1)/2 + 1 frequency bins, its computation complexity

is

Ct = 3R0w(N + 3N log2N ) + Ni+ Nc+ Rw+ 3Nclog2Nc)

(28)

CHAPTER 3. C/A CODE ACQUISITION Computation complexity S-P Rd[3N + Rw+ 1 + 3(N log2N )/2] P-S 3Rw(N + 3N log2N ) CTA Rd(5Ni + 1 + Nc+ Rw+ 3Nclog2Nc) Two-stage 3R0 w(N + 3N log2N ) + Ni+ Nc+ Rw+ 3Nclog2Nc

Table 3.1: Computation complexity of all

Common parameters The sampling frequency fs 2.1518 MHz

The resolution of code delay Ts = 1.023T2.1518p

The range of Doppler frequency fr 20 kHz

The frequency resolution ∆f 131.33 Hz

Table 3.2: Common parameters

give a GPS application as a demonstrative example using the parameters shown in Table 3.3.

In S-P method, the length of input signal, N, must be chosen 16384, because N = fs/∆f .

The frequency bins is Rw = dfr/∆f e = 153 , where d·e is the ceiling function. The number of

code delays, Rd, is chosen as 2152 for less computation complexity. Thus, the computation

complexity of S-P method is

Csp = 2152 × (3 × 16384 + 153 + 1 + 3 × 16384 × 14/2)

= 846, 532, 240

In P-S method, the length of input signal, N, is chosen as 4096 to be of radix 2 and over one period of C/A code. The number of frequency bins is Rw=153. The computation complexity

of P-S method is

Cps = 3 × 153 × (4096 + 3 × 4096 × 12)

= 69, 562, 368

In CTA method , the length of FFT in CTA, Nc, must be of radix 2 and over one period of

(29)

CHAPTER 3. C/A CODE ACQUISITION can be chosen as 2152. The computation complexity of CTA method is

Cc = 2152 × [5 × 3944 + 1 + 4096 + 153 + 3 × 4096 × 12]

= 368, 908, 752

In two-stage method, at the first stage N can be 4096 and R0

w =77. At the second stage, Ni

is the same, 3944, so Nc is 4096. The computation complexity of method two-stage is

Ct = 3 × 77 × (4096 + 3 × 4096 × 12) + 3944 + 4096 + 153 + 3 × 4096 × 12

= 35, 164, 161 (3.8) From the above example, one can find the order of computation complexity is method S-P > CTA > P-S > two-stage. As the frequency resolution increases, FFT methods will have more computation complexity than our methods. In comparison with S-P and CTA method, CTA does not only have the less computation complexity, but also has a shorter integration time than S-P method. In this example, the integration time of CTA is 3944Ts, and that

of S-P is 16384Ts. It shows that the S-P method needs more time to collect the adequate

data to make the frequency resolution high. However, in this way the SNR will be increased. Under lower SNR environments, the S-P method works more sensitively than CTA method to detect the wanted signal at the cost of a long collected data time. In comparison with P-S and two-stage method, two-stage method can have the less computation complexity.

(30)

Chapter 4

SIMULATIONS AND DISCUSSIONS

In this chapter, we show our simulations with the received signal, and 3-dimensional fig-ures and 2-dimensional figfig-ures of uncertainty region. We use the same parameters in section 3.3. According to the characteristics of the real received signal, we use Matlab to simulate it. In the simulated received signal, the baseband frequency is set at fb = 17.248 kHz, the

Doppler frequency is fd = 3200 Hz, fc= fb+ fd = 20.448 kHz, and the code phase is set as

1000Ts. As expected, the received signal looks like noise in Fig. 4.1.

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 0 5 10 15 20 25 30 35 Magnitude Samples Received signal

Fig. 4.1: Received signal in baseband from the satellite 12 with C/N0 = 40 dB-Hz

Three Figures 4.2, 4.3, and 4.4 are to show the simulation results of calculating the crosscor-relation of each cell to find the position of the maximum value (conventional method) with the 131.33 Hz frequency resolution and N = 2152. From Fig. 4.2, one may find a maximum peak at (102,1000). (102-1)×131.33 + 7.248 kHz (the initial frequency) ≈ 20.51 kHz. The

(31)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS Y direction and X direction are shown in Fig. 4.3, and 4.4.

Fig. 4.2: Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz :

3-dimensional view

Fig. 4.3: Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz :

(32)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS

Fig. 4.4: Using the conventional method from the satellite 12 with C/N0 = 40 dB-Hz :

lateral view 2

Three Figures 4.5, 4.6, and 4.7 are the simulation results of using FFT to find the Doppler frequency (S-P Method) with the 131.33 Hz frequency resolution, N = 16384, and Rd = 2152. According to these figures, the code delay can be found at 1000 in Fig. 4.7, and

the frequency bin of the largest magnitude is located at 157 in Fig. 4.6. (157-1)×131.33 Hz ≈ 20.487 kHz. It is very close to fc.

Fig. 4.5: Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

(33)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS

Fig. 4.6: Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

dB-Hz : lateral view

Fig. 4.7: Using FFT to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

dB-Hz : lateral view 2

Three Figures 4.8, 4.9, and 4.10 are the simulation results of using FFT to estimate the code delay (P-S Method) with the 131.33 Hz frequency resolution, N = 4096, Rw = 153. In

Fig. 4.10, it is obvious to find the code delay located at 1000. In Fig. 4.9, the frequency bin of the largest magnitude is at 101. (102-1)× 131.33 Hz + 7.248 kHz ≈ 20.512 kHz. The signal is also detected. One can find they are the same to Figures 4.2, 4.3, and 4.4. It is

(34)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS similar to what we have discussed in section 3.1.2.

Fig. 4.8: Using FFT to estimate the code delay from the satellite 12 with C/N0 = 40 dB-Hz

: 3-dimensional view

Fig. 4.9: Using FFT to estimate the code delay from the satellite 12 with C/N0 = 40 dB-Hz

(35)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS

Fig. 4.10: Using FFT to estimate the code delay from the satellite 12 with C/N0 = 40 dB-Hz

: lateral view 2

Three Figures 4.11, 4.12, and 4.13 are the simulation results of using CTA to estimate the Doppler frequency (CTA Method) with the 131.33 Hz frequency resolution, Rw = 153,

Nc = 4096, and Rd = 2152. One can find the frequency bin of the largest magnitude are

at 102. (102 − 1)×131.33 Hz + 7.248 kHz≈ 20.512 kHz. The code delay of the largest magnitude is at 1000. Therefore, we can claim the signal is detected.

Fig. 4.11: Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

(36)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS

Fig. 4.12: Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

dB-Hz : lateral view

Fig. 4.13: Using CTA to estimate the Doppler frequency from the satellite 12 with C/N0 = 40

dB-Hz : lateral view 2

Four Figures 4.14, 4.15, 4.16, and 4.17 are using two-stage search method with the 131.33 Hz frequency resolution, Rw = 153. At first stage, N=4096, and R0w=77. At second stage,

Nc=4096 and Rd = 2152. The first three Figures 4.14, 4.15, and 4.16 are the simulation

results of first stage with coarse 77 frequency bins. In Fig. 4.16, the code delay is found at 1000. In the final Fig. 4.17, one can find there is a maximum peak at 102. (102-1)×131.33

(37)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS Hz + 7.248 kHz ≈ 20.512 kHz. Hence, two-stage successfully detects the signal.

Fig. 4.14: Using two-stage search from the satellite 12 with 77 coarse frequency bins C/N0 =

40 dB-Hz : 3-dimensional view

Fig. 4.15: Using Two-Stage search from the satellite 12 with 77 coarse frequency bins C/N0 =

(38)

CHAPTER 4. SIMULATIONS AND DISCUSSIONS

Fig. 4.16: Using Two-Stage search from the satellite 12 with 77 coarse frequency bins C/N0 =

40 dB-Hz : lateral view 2 0 20 40 60 80 100 120 140 160 0 500 1000 1500 2000 2500 3000 3500

Doppler frequency bins

Magnitude

Fig. 4.17: Using CTA to estimate the Doppler frequency with the correct code delay from the satellite 12 C/N0 = 40 dB-Hz

(39)

Chapter 5

CONCLUSIONS

In this thesis, the CTA is employed to develop an effective frequency-acquisition algo-rithm. Then, the two-stage method is presented such that the complexity for acquisition realization can be reduced. Computer simulations demonstrate further that for GPS applica-tions the proposed methods perform satisfactorily with lower computation complexity under a wider range of the Doppler frequency. The proposed approach, naturally, is not limited to GPS applications, it can be applied to the acquisition applications of any communications via the direct sequence spread spectrum.

(40)

REFERENCES

[1] U. J. Cheng, J. H. William, and I. S. Joseph, “Spread Spectrum Code Acquisition in the Presence of Doppler Shift and Data Modulation,” IEEE Trans. Commun., Vol. 38, pp. 241-250, 1990.

[2] D.J.R Van Nee, and A. J. R. M. Coenen, “New Fast GPS Code-Acquisition Technique Using FFT ,” IEE Electronics Letters, Vol. 27, pp. 158-160, Jan. 1991

[3] C. L. Spillard, S. M. Spangenberg, and G. J. R. Povey, “A Serial-Parallel FFT Corre-lator of PN Code Acquisition from LEO Satellites ,” Spread Spectrum Techniques and Applications, 1998. Proceedings., 1998 IEEE 5th International Symposium on , Vol. 2, pp. 446-448, Sept. 1998

[4] Y. F. Liu, Z. J. Chen, and S. L. Gus, “Implement and Performance Analysis of PN Code Acquisition Based on FFT,” Proceedings of the 5th World Congress on Intelligent Control and Automation, pp. 5399-5401 June, 2004.

[5] J. Starzyk and Z. Zhu, “Averaging Correlation for C/A Code Acquisition and Tracking in Frequency Domain,” IEEE MWSCS, Fairborn, Ohio, Aug. 2001.

[6] A. Alaqeeli, J. Starzyk, and F. Van Graas, “Real-Time Acquisition and Tracking for GPS Receivers,” Circuits and Systems, 2003. ISCAS ’03. Proceedings of the 2003 In-ternational Symposium, Vol. 4, pp. IV-500-IV-503, May 2003.

[7] D. N. Fernaado and M. N. L. Jose, “A New Fast Code/Frequency Acquisition Algorithm for GPS C/A Signals,” Vehicular Technology Conference, 2003. VTC 2003-Fall. 2003 IEEE 58th, Vol. 2, pp. 766-770, Oct. 2003.

(41)

Ap-REFERENCES [9] “Global Positioning System Standard Positioning Service Signal Specification,” 2nd

edition, GPS Joint Program Office, Jan. 1995.

[10] W. H. Zhuang, “Composite GPS Receiver Modeling, Simulations and Applications,” Ph.D dissertation, Department of Electrical Engineering, University of New Brunswick, Fredericton, Oct. 1992.

[11] W. H. Zhuang and J. Tranquilla, “Digital Baseband Processor for the GPS Receiver - Modeling and Simulations,” IEEE Trans. on Aerospace and Electronic Systems, Vol. 29, pp. 1343-1349, Oct. 1993.

[12] W. J. Hurd, J. I. Statman, and V. A. Vilnrotter, “High Dynamic GPS Receiver Using Maximum Likelihood Estimation and Frequency Tracking,” IEEE Trans. on Aerospace and Electronic Systems, Vol. 23, pp. 425-437, July 1987.

[13] A. V. Oppenheim, R. W. Schafer, and J. R. Buck, Discrete Time Signal Processing, Prentice Hall International Editions, second edition, 1999.

[14] J. B. Thomas, “Functional Description of Signal Processing in the Rogue GPS Receiver,” JPL Publication, 88-15, Pasadena, California, June 1988.

[15] J. J. Spilker, “GPS Signal Structure And Performance Characteristics,” Navigation, Institute of Navigation, Vol. 25, No. 2, pp. 121-146, 1978.

數據

Fig. 2.2 is the autocorrelation of satellite 19. The the maximum peak is 1023 whose position is deliberately shifted to the center of the figure for a clear view
Fig. 2.3 is the crosscorrelation of satellites of 19 and 31. It also has three values 63, -1, -65
Fig. 2.5: The block diagram of GPS receiver and DSP
Fig. 3.1: Two-dimensional C/A code search region
+7

參考文獻

相關文件

interpretation of this result, see the opening paragraph of this section and Figure 4.3 above.) 2... (For

All variables defined as the result of entering statements in the command window, exist in the Matlab workspace. At the beginning of a Matlab session, the workspace

When we know that a relation R is a partial order on a set A, we can eliminate the loops at the vertices of its digraph .Since R is also transitive , having the edges (1, 2) and (2,

Work Flow Analysis: Since the compound appears in only 2% of the texts and the combination of two glyphs is less than half of 1% of the times when the single glyphs occur, it

The research is about the game bulls and cows, mainly discussing the guess method as well as the minimax of needed time in this game’s each situation.. The minimax of needed

Mie–Gr¨uneisen equa- tion of state (1), we want to use an Eulerian formulation of the equations as in the form described in (2), and to employ a state-of-the-art shock capturing

• Using the remainder estimate for the Integral Test, answer this question (posed at the end of Group Exercise 2 in Section 12.2): If you had started adding up the harmonic series at

In Section 3, the shift and scale argument from [2] is applied to show how each quantitative Landis theorem follows from the corresponding order-of-vanishing estimate.. A number