Presentation is loading. Please wait.

Presentation is loading. Please wait.

3/5/2004DSP Applied to GPS Algorithms1 of 14 DSP Applied to GPS Algorithms.

Similar presentations


Presentation on theme: "3/5/2004DSP Applied to GPS Algorithms1 of 14 DSP Applied to GPS Algorithms."— Presentation transcript:

1 3/5/2004DSP Applied to GPS Algorithms1 of 14 DSP Applied to GPS Algorithms

2 3/5/2004DSP Applied to GPS Algorithms2 of 14 References 1)Understanding GPS Principles and Applications, 1996, Elliott D. Kaplan 2)Digital Signal Processing – A Practical Approach, 1993, Emmanuel C. Ifeachor, Barrie W. Jervis 3)ADSP-TS101 TigerSHARC Processor Programming Reference, Rev 1, January 2003, Analog Devices

3 3/5/2004DSP Applied to GPS Algorithms3 of 14 Introduction GPS traditionally done with ASIC/Processor combination Looking at FPGA/DSP combination for low end GPS receivers Technological interest in software radio –Cheaper, quicker development cycle. –Customizations for special applications

4 3/5/2004DSP Applied to GPS Algorithms4 of 14 What is GPS? Global Positioning System 24 satellite (SV) constellation Orbits are set-up to give global coverage 24 hours a day Need at least 4 satellites in view to calculate a position Orbiting 20,000 km from the surface of the Earth in 12 hour cycles (1)

5 3/5/2004DSP Applied to GPS Algorithms5 of 14 GPS Positioning Concepts (1) For now make 2 assumptions: –We know the distance to each satellite –We know where each satellite is Require 3 satellites for a 3-D position in this “ideal” scenario

6 3/5/2004DSP Applied to GPS Algorithms6 of 14 GPS Signal Structure Each satellite transmits 2 carrier frequencies referred to as L1 (1575 MHz) and L2 (1227 MHz) Each carrier frequency is BPSK modulated with a unique PRN (pseudo random number) code The PRN code on L1 is called CA code (coarse acquisition), The PRN code on L2 is called P code (precise) CA code takes 1 ms for full PRN transmission at 1MHz chip (bit) rate. P code takes 1.5 s for full PRN transmission at ~10MHz chip rate Also modulated on each carrier is 50 Hz data that includes the current position of the satellite

7 3/5/2004DSP Applied to GPS Algorithms7 of 14 Determining Time Use the PRN code to determine time Use time to determine distance to the satellite distance = speed of light * time (1)

8 3/5/2004DSP Applied to GPS Algorithms8 of 14 Algorithms to Find PRN Phase Cross correlation: 1/N ∑ x 1 (n) * x 2 (n) n = 0 Correlation of perfectly matching signals gives a maximum value Correlation of 2 random data sequences tends to 0 Frequency domain correlation: 1/N F -1 [X 1 (k)X 2 (k)] where F -1 is the inverse Discrete Fourier Transform and the X’s are the Discrete Fourier Transforms of two sequences N-1 D

9 3/5/2004DSP Applied to GPS Algorithms9 of 14 Frequency Domain 1/N F -1 [X 1 (k)X 2 (k)] –1024 point FFT(NLOG 2 N) –1024 MULTS(N) –1024 point INV FFT(NLOG 2 N) Time Domain 1/N ∑ x 1 (n) * x 2 (n) n = 0 –1024 MACs(N) –1024 Phases(N) Timing 21504 operations 1048576 operations N-1 (N 2 )

10 3/5/2004DSP Applied to GPS Algorithms10 of 14 Tiger SHARC TS101 Cummunications Operations Despreading Needs lots of shifts 2 bit at a time

11 3/5/2004DSP Applied to GPS Algorithms11 of 14 Xcorr operation

12 3/5/2004DSP Applied to GPS Algorithms12 of 14 TigerSHARC TS201 XCORR operation Combines 16 despreading instructions in a single cycle. With both X and Y working we get 512 Multiplies and 512 additions in a single cycle Need to consider end effects

13 3/5/2004DSP Applied to GPS Algorithms13 of 14 Project Plan Compare optimized frequency domain (FFT based) and time domain (XCORR based) algorithms on the TigerSHARC Determine method of testing the algorithms to relate results back to GPS signals –Use canned data sample from actual GPS receiver? –Use Matlab modeled data –Use a second TigerSHARC development board to produce data

14 3/5/2004DSP Applied to GPS Algorithms14 of 14 Conclusions Introduced basic concepts of GPS Introduced cross correlation algorithms Introduced TigerSHARC features to support implementation of cross correlations Project plan


Download ppt "3/5/2004DSP Applied to GPS Algorithms1 of 14 DSP Applied to GPS Algorithms."

Similar presentations


Ads by Google