t =1 Transmitter #2 Figure 1-1 One Way Ranging Schematic

Similar documents
2 INTRODUCTION TO GNSS REFLECTOMERY

2. GPS and GLONASS Basic Facts

GPS Global Positioning System

Fundamentals of Global Positioning System Receivers

Foreword by Glen Gibbons About this book Acknowledgments List of abbreviations and acronyms List of definitions

GNSS: orbits, signals, and methods

GLOBAL POSITIONING SYSTEMS. Knowing where and when

Global Navigation Satellite Systems (GNSS)Part I EE 570: Location and Navigation

The Global Positioning System

Modelling GPS Observables for Time Transfer

GPS and Recent Alternatives for Localisation. Dr. Thierry Peynot Australian Centre for Field Robotics The University of Sydney

GLOBAL POSITIONING SYSTEMS

GPS Glossary Written by Carl Carter SiRF Technology 2005

Basics of Satellite Navigation an Elementary Introduction Prof. Dr. Bernhard Hofmann-Wellenhof Graz, University of Technology, Austria

GLOBAL NAVIGATION SATELLITE SYSTEMS (GNSS) ECE 2526E Tuesday, 24 April 2018

FieldGenius Technical Notes GPS Terminology

EE 570: Location and Navigation

UNIT 1 - introduction to GPS

GPS: The Basics. Darrell R. Dean, Jr. Civil and Environmental Engineering West Virginia University. Expected Learning Outcomes for GPS

Challenges and Solutions for GPS Receiver Test

APPENDIX GPS TERMINOLOGY

PRINCIPLES AND FUNCTIONING OF GPS/ DGPS /ETS ER A. K. ATABUDHI, ORSAC

GNSS Technologies. GNSS Acquisition Dr. Zahidul Bhuiyan Finnish Geospatial Research Institute, National Land Survey

THE DESIGN OF C/A CODE GLONASS RECEIVER

Understanding GPS: Principles and Applications Second Edition

Wednesday AM: (Doug) 2. PS and Long Period Signals

Proceedings of Al-Azhar Engineering 7 th International Conference Cairo, April 7-10, 2003.

The last 25 years - GPS to multi-gnss: from a military tool to the most widely used civilian positioning solution

ESTIMATION OF IONOSPHERIC DELAY FOR SINGLE AND DUAL FREQUENCY GPS RECEIVERS: A COMPARISON

Global Positioning System: what it is and how we use it for measuring the earth s movement. May 5, 2009

TEST YOUR SATELLITE NAVIGATION PERFORMANCE ON YOUR ANDROID DEVICE GLOSSARY

Analysis of Processing Parameters of GPS Signal Acquisition Scheme

GPS (Introduction) References. Terms

The GLOBAL POSITIONING SYSTEM James R. Clynch February 2006

Principal Investigator Co-Principal Investigator Co-Principal Investigator Prof. Talat Ahmad Vice-Chancellor Jamia Millia Islamia Delhi

Fundamentals of GPS Navigation

Introduction to Global Navigation Satellite System (GNSS) Signal Structure

Fundamentals of Global Positioning System Receivers

Global Navigation Satellite Systems II

CHAOYI CHEN COMPASS/BEIDOU-2 STUDIES: ACQUISITION OF REAL-FIELD SATELLITE SIGNALS Master s thesis

GPS Technical Overview N5TWP NOV08. How Can GPS Mislead

The Global Positioning System

GLOBAL POSITIONING SYSTEM STANDARD POSITIONING SERVICE SIGNAL SPECIFICATION

GPS Milestones, cont. GPS Milestones. The Global Positioning Sytem, Part 1 10/10/2017. M. Helper, GEO 327G/386G, UT Austin 1. US GPS Facts of Note

Lecture 2 Satellite orbits and clocks computation and accuracy

Monitoring the Earth Surface from space

Table of Contents. Frequently Used Abbreviation... xvii

Lecture 04. Elements of Global Positioning Systems

DopplerPSK Quick-Start Guide for v0.10

Guochang Xu GPS. Theory, Algorithms and Applications. Second Edition. With 59 Figures. Sprin ger

Configuring the Global Navigation Satellite System

Introduction. Global Positioning System. GPS - Intro. Space Segment. GPS - Intro. Space Segment - Contd..

Entity Tracking and Surveillance using the Modified Biometric System, GPS-3

Mobile Positioning in Wireless Mobile Networks

Every GNSS receiver processes

GPS (Introduction) References. Terms

Configuring the Global Navigation Satellite System

THE GPS SATELLITE AND PAYLOAD

Where Next for GNSS?

Math 215 Project 1 (25 pts) : Using Linear Algebra to solve GPS problem

Configuring the Global Navigation Satellite System

Configuring the Global Navigation Satellite System

Configuring the Global Navigation Satellite System

III Satellite Ephemeris and Coordinates

Understanding GPS/GNSS

GPS for. Land Surveyors. Jan Van Sickle. Fourth Edition. CRC Press. Taylor & Francis Group. Taylor & Francis Croup, an Informa business

Clock Steering Using Frequency Estimates from Stand-alone GPS Receiver Carrier Phase Observations

CHAPTER 2 GPS GEODESY. Estelar. The science of geodesy is concerned with the earth by quantitatively

Lab Assignment #3 ASE 272N/172G Satellite Navigation Prof. G. Lightsey Assigned: October 28, 2003 Due: November 11, 2003 in class

Research on GNSS Interoperable Parameters

Resection. We can measure direction in the real world! Lecture 10: Position Determination. Resection Example: Isola, Slovenia. Professor Keith Clarke

Challenging, innovative and fascinating

RESOLUTION MSC.233(82) (adopted on 5 December 2006) ADOPTION OF THE PERFORMANCE STANDARDS FOR SHIPBORNE GALILEO RECEIVER EQUIPMENT

Quasi-Zenith Satellite System Interface Specification Positioning Technology Verification Service (IS-QZSS-TV-001)

A GLONASS Observation Message Compatible With The Compact Measurement Record Format

RADIOMETRIC TRACKING. Space Navigation

Global Positioning Systems -GPS

Performance Evaluation of the Effect of QZS (Quasi-zenith Satellite) on Precise Positioning

3. Radio Occultation Principles

Worst-Case GPS Constellation for Testing Navigation at Geosynchronous Orbit for GOES-R

Effect of Quasi Zenith Satellite (QZS) on GPS Positioning

DopplerPSK Quick-Start Guide for v0.20

King AbdulAziz University. Faculty of Environmental Design. Geomatics Department. Mobile GIS GEOM 427. Lecture 3

Satellite Navigation Science and Technology for Africa. 23 March - 9 April, Satellite Navigation

Other Space Geodetic Techniques. E. Calais Purdue University - EAS Department Civil 3273

1. Discuss in detail the Design Consideration of a Satellite Communication Systems. [16]

GPS the Interdisciplinary Chameleon: How Does it do That?

RADIOMETRIC TRACKING. Space Navigation

Kalman Filter Aided Tracking Loop in GPS Signal Spoofing Detection

Satellite Navigation Principle and performance of GPS receivers

Space Segment. Orbital Planes. Satellite orbits: GPS satellites are in one of 6 orbital planes. 4 satellites are in each plane

Other Space Geodetic Techniques. E. Calais Purdue University - EAS Department Civil 3273

CHAPTER 22 SATELLITE NAVIGATION

GPS Tutorial Trimble Home > GPS Tutorial > How GPS works? > Triangulating

DYNAMICALLY RECONFIGURABLE SOFTWARE DEFINED RADIO FOR GNSS APPLICATIONS

Using GPS in Embedded Applications Pascal Stang Stanford University - EE281 November 28, 2000

Design and Implementation of Real Time Basic GPS Receiver System using Simulink 8.1

GEOMETRIC RECTIFICATION OF EUROPEAN HISTORICAL ARCHIVES OF LANDSAT 1-3 MSS IMAGERY

Lecture-1 CHAPTER 2 INTRODUCTION TO GPS

What is a GPS How does GPS work? GPS Segments GPS P osition Position Position Accuracy Accuracy Accuracy GPS A pplications Applications Applications

Transcription:

1.0 Introduction OpenSource GPS is open source software that runs a GPS receiver based on the Zarlink GP2015 / GP2021 front end and digital processing chipset. It is a fully functional GPS receiver which acquires satellites, tracks satellites, makes ranging and carrier measurements and computes position and velocity fixes. The purpose of this documentation is to provide someone with an interest in GPS the background knowledge of GPS and OpenSourceGPS software to understand the software and hopefully contribute to the community working on its debugging, extension and upgrading. This documentation describes an OpenSource approach to software for a civil GPS receiver using the Zarlink GP2015/GP2021 down converter/digital processing chipset. This chipset is ideal for learning about the inner workings of GPS receivers because the hardware data and manuals for them are freely and openly available over the internet. This chipset is essentially the minimum amount of hardware required to make a GPS receiver and is a good way to learn the basics of signal acquisition, tracking, data demodulation, and range and carrier frequency measurements. Since the focus of this documentation is on software the receiver hardware and software are described in detail along with listings of most of the code. Other parts of the system will be described only to the level of detail needed to understand and implement the software. In addition in chapter 5 a description of the expected positioning performance is discussed along with actual measurements made with the hardware and software described. The need to know where we are and guidance to direct us to where we want to go is a basic human need going back to the beginnings of civilization. The history of navigation ranges from simple paths marked in the ground to navigating trajectories to the moon and other planets in our solar system. The most critical component for navigation is the accurate knowledge of time. The most recent developments in the measurement of time are the atomic clock and its use in radio navigation systems. The NAVSTAR GPS and the Russian GLONASS provide unprecedented levels of global position, velocity and timing accuracy anywhere in the world at any time. It relies on the convergence of a number of technologies that came together in the 1970 s and advanced dramatically in the 1980 s, 1990 s and continues to advance today. GPS would not be possible without RF integrated circuits, high speed base band signal processors and digital computers. GPS uses one way ranging signals to determine position and time. In addition Doppler or carrier phase data is used to compute velocity and clock frequency errors. A simple schematic of this is shown in figure 1-1 for 2 dimensions. If we knew exactly when the signals arrived we could resolve our location to one point A. But, in order to do this it would require an extremely precise (and expensive) clock in our receiver. In this case we know precisely the difference in the arrival time and this creates a line of all possible positions that have the same difference in arrival. For this reason another ranging source is needed to resolve the time in addition to position Thus, by knowing that all of the signals reached the receiver at the same time, precisely when the signals left each satellite and the precise location of the satellite when the signals left the satellite the receiver s position and clock offset can be computed. For the three components of position and time

measurements from at least 4 satellites are required. In addition, in the same manner, by measuring the Doppler shift of the RF signals (or the number of carrier cycles over a short interval) the receiver velocity and clock frequency offset can be computed. Transmitter #1 t =1 Transmitter #2 Figure 1-1 One Way Ranging Schematic GPS is a complex system, studying it exposes one to real time software, rf hardware, statistics, control systems, estimation theory, relativity, orbital mechanics, and geodesy among others. As shown in figure 1-2 the system is divided up into 3 segments. The User segment is the receiver which computes its location and velocity by making one way distance measurements from a constellation of satellites. The second segment is the satellites themselves or the space segment. Using an atomic clock to maintain precise timing over many hours and days the satellites transmit radio signals with special coding which allows the receiver to determine the precise time the signal left the satellite. Data transmitted by the satellite provides precise time synchronized orbital data. The final segment is called the control segment. Its job is to create and maintain the precise orbital and clock data for the satellites and to transmit this data to the satellites for subsequent broadcast. It consists of reference receivers at precisely located sites around the world which transmit their measurements to a control center which uses a Kalman filter to estimate each satellites orbital and clock parameters. In addition it is their job to maintain the satellites and correct problems that occur from time to time on them. 2

Space Segment (Satellites) Control Segment Ground Antenna (GA) Master Control Station (MCS) User Segment (Receiver) Monitor Stations (MS) Figure 1-2 The GPS System 1.1 The RF Signal The RF signal transmitted by the satellites is a right hand circularly polarized Bi-phase modulated CDMA code with data impressed on it. The circular polarization is illustrated in figure 1-3. In this method the electric and magnetic fields instead of being in phase (linear polarization) are 90 degrees out of phase. This modulation allows the use of receiver antennas that are not very sensitive to orientation. 3

Magnetic Field Electric Field Circular polarization Figure 1-3 The current system transmits at two frequencies, called L1 and L2 respectively. L1 is at 1575.42 MHz and L2 is at 1227.6 MHz. Two codes can be transmitted on these carriers, one called C/A (Coarse Acquisition) code and P (Y) or Precise code and its encrypted equivalent, Y code. 1.1.1 Bi-Phase Modulation The RF signal is modulated as shown in figure 1-4 which changes the phase instantaneously by 180 degrees. The RF signal is modulated Bi-phase modulated CDMA code with data impressed on it. The signal can be defined by equation 1 and is illustrated in figure 1-2. The signal is modulated by changing the carrier phase 180 degrees. The signal is transmitted on both L1 and L2, the data message is transmitted at a rate of 50 bits per second. v ( t) Data( ω t) PRN( ω t) sin( ω t) = eqn #1 D C L1 4

0 10 20 30 40 50 60 70 Bi-Phase Modulation Figure 1-4 1.1.2 CDMA CDMA stands for Code Division Multiple Access. This is a method of modulating a signal so that many transmitters can transmit signals at the same carrier frequency and a receiver can separate and track each signal. Each satellite is assigned a different PRN or Pseudo Random Noise sequence. This is a sequence of bits (+1, -1) generated by a pseudo random number generator. As shown in figure 1-5 while this algorithm appears to generate a random sequence it is deterministic, known and repeats, thus it is called a pseudo-random sequence. The C/A code is clocked at 1.023 MHz with a length of 1023 chips and thus repeats every millisecond. The P(Y) code is clocked at 10.23 MHz with a length of approximately 6.187x10^12 chips and it is reset every week. Because GPS is a dual civilian/military use system the C/A code is available for civilian use while the P(Y) code is reserved for military use. Although both C/A and P(Y) are transmitted on L1 only P(Y) code is transmitted on L2. The signal strength is very small, approximately -160 dbw which is below the noise level. The signal can be tracked only because it is amplified up out of the noise by correlation or integration over time. 5

1.25 1 0.75 0.5 0.25 0-0.25-0.5-0.75-1 -1.25 1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 46 49 52 55 58 61 64 67 70 73 76 79 82 Figure 1-5 CDMA PRN Code The receiver detects the signal by correlating or integrating the signal over time by generating a replica of the same random number sequence used by the satellites. The integrated signal increases linearly the longer the integration interval while the noise increases as the square root of time the longer the integration interval. Thus the longer we integrate the higher the signal to noise ratio is. An important feature of the codes is the cross correlation characteristic. This is the ability to separate one code from another transmitted on the same carrier frequencies. As shown in figure 1-6 the square wave function correlation produces a sharp triangular function which is near zero everywhere more than +-1 chip away from the peak of the correlation. This is of course the idealized function. In reality with a limited bandwidth the peak of the function is rounded. 100 80 Correlation 60 40 20 0-20 0 10 20 30 40 Code Offset (chips) Figure 1-6 Correlation Function 6

The correlation peak is tracked by using 2 or more correlators separated in time. In the simplest case two correlators called the E or early and L or late are used as shown in figure 1-7 to produce an error function which is: E L e = eqn #2 E + L This function is illustrated in figure 1-7. This function allows the error function to be normalized with respect to signal strength. 2 1.5 E + L L 1 0.5 E 0-1.25-1 -0.75-0.5-0.25 0 0.25 0.5 0.75 1 1.25 E - L -0.5 E - L E + L -1-1.5 Figure 1-7 Error Function Components In addition the phase of the signal must be tracked to maintain lock on the signal in the frequency domain. As also shown in figure 1-8 each correlator has an in-phase and quadrature correlator which are used to determine the phase of the signal. The philosophy of OpenSource GPS is to try to use all of the data available. By using both sets of correlators for phase information the fact that they are spaced by only ½ chip means there is a significant correlaton in the phase data between the early and late correlators. 7

I I E(arly) Q ½ chip spacing I Positive L(ate) Q Q Negative Figure 1-8 Correlator Relationships 1.1.3 Data Modulation The data is also impressed upon the signal in the same Bi-Phase manner. As shown in Figure 1-9 the data bits are 180 degrees out of phase with each other. The data is transmitted at a rate of 50 bits per second and thus 20 ms or 20 complete C/A code PRN cycles are required per bit. 150 100 Phase (deg) 50 0-50 -100-150 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 Time (ms) Figure 1-9 Data Bits on the Signal 8

1.2 Satellite Orbits The GPS satellites are in a MEO or medium earth orbit with a period of approximately 12 hours. The ground track is designed to repeat daily. This means that the same set of satellites with the same geometry will appear to a geographic location every day but shifted in time a few minutes earlier each day. This group of satellites or constellation is at an orbital radius or semi-major axis of 26,560 km. The constellation was designed with 24 satellites to provide at least 4 satellites in view everywhere on earth at all times. In practice though more satellites have been added to the constellation and when they are all working 6 or more are in view everywhere in the world. On average about 8 satellites are in view at any time anywhere in the world. As shown in figure 1-10 the constellation has at least 24 satellites and with spares generally more. The orbits are nearly circular with an inclination of 55 degrees with respect to the equator. The fact that the gravitational field of the earth is well known as well as solar pressure and other perturbing effects allows a small network of receivers at precisely surveyed locations to accurately estimate the satellite orbital parameters and atomic clock parameters. Figure 1-10 GPS Satellite Constellation 9

1.3 Coordinate Systems There are two coordinate systems used in GPS. The first is ECEF or Earth Centered Earth Fixed. This is a Cartesian coordinate system with its origin at the center of the Earth. It rotates with the earth and thus is fixed to it. As shown in figure 1-11 the positive Z axis points to the North Pole. The positive axis points to the equator at the prime meridian. The positive Y axis points to equator 90 degrees east of the prime meridian. The second coordinate system is shown in figure 1-12 and is known as WGS-84 or World Geodetic Service 1984. This is a spherical coordinate system with latitude, longitude and height above an ellipsoid. Since the earth bulges at the equator about 21 km the surface of the earth is modeled as an ellipsoid that is symmetric about the polar axis. Z Y Figure 1-11 The ECEF Coordinate System 10

Z a Height above Ellipsoid (HAE) Latitude b Figure 1-12 The WGS-84 GEOID The geoid will be will be handled in detail in chapter 4 where the routines to convert from ECEF to WGS-84 and back are described. 1.4 Time Systems The GPS has its own time reference (called GPS time) based on a number of atomic clocks separate from any other timing system. UTC is based on sidereal time, or the time needed for the earth to rotate and point to the same spot in the sky. Unfortunately, due to the wobble of the earth and varying angular momentum of the earth it is not accurate enough to make measurements in the meter level. Occasionally there is the need to add a leap second when the difference between UTC and the atomic standards is large enough. The offset from international atomic time or UTC (Universal Time Coordinated) is monitored and translations from GPS time are available in the navigation message. The translation between GPS time and UTC is covered in more detail in chapter 4. More Stuff Needed 1.5 Navigation Data In order to compute position and velocity fixes the receiver needs precise data on the location of the satellite and what time it is transimitting the signal. GPS accomplishes this by broadcasting a navation message from each satellite. In addition other data on the accuracy of the orbit and clock 11

data, satellite health, and rough orbital information are transmitted. The GPS satellite transmits data on its signal to give the receiver enough data to compute the price location of the satellite. A number of possible methods are available. GPS chose a form of Keplerian orbital elements with a number of second harmonic perturbation terms. The lower fidelity orbital parameters are also Keplerian orbital elements with a smaller number of perturbation terms. The atomic clocks are very stable and are modeled as a bias and constant drift rate. Table 1-I Orbital Parameter Almanac Ephemeris Inclination (delta from 55 deg) Inclination rate Delta mean motion Rate of right ascension Right ascension at epoch Argument of perigee Argument of latitude second harmonic sine term Argument of latitude second harmonic cosine term Radius second harmonic sine term Radius second harmonic cosine term Inclination second harmonic sine term Inclination second harmonic cosine term Square root of semi-major axis Eccentricity The navigation message is organized into 25 pages of 5 sub frames. Table 1-II shows the allocation. An entire frame consists of 1500 bits. Transmitted at a rate of 50 bits per second it takes 30 seconds to receive a frame. It takes 12 ½ minutes to download all 25 pages of data. The navigation data will be discussed in more detail in chapter 4 where the routines to decode the message are given. The satellite clock and ephemeris data is repeated every frame. Subframes 4 and 5 provide almanac data for the whole constellation as well as some special messages such as the ionospheric delay model and the conversion of GPS time to UTC. Many of the subframe 4 messages are reserved for the military and are unavailable to civilian users. 12

Table 1-II Navigation Data Allocation SubFrame 1 SubFrame 2 SubFrame 3 SubFrame 4 SubFrame 5 Page 1 Clock Ephem 1 Ephem 2 57 PRN 1 Alm 2 Clock Ephem 1 Ephem 2 PRN 25 Alm PRN 2 Alm 3 Clock Ephem 1 Ephem 2 PRN 26 Alm PRN 3 Alm 4 Clock Ephem 1 Ephem 2 PRN 27 Alm PRN 4 Alm 5 Clock Ephem 1 Ephem 2 PRN 28 Alm PRN 5 Alm 6 Clock Ephem 1 Ephem 2 57 PRN 6 Alm 7 Clock Ephem 1 Ephem 2 PRN 29 Alm PRN 7 Alm 8 Clock Ephem 1 Ephem 2 PRN 30 Alm PRN 8 Alm 9 Clock Ephem 1 Ephem 2 PRN 31 Alm PRN 9 Alm 10 Clock Ephem 1 Ephem 2 PRN 32 Alm PRN 10 Alm 11 Clock Ephem 1 Ephem 2 57 PRN 11 Alm 12 Clock Ephem 1 Ephem 2 62 PRN 12 Alm 13 Clock Ephem 1 Ephem 2 52 PRN 13 Alm 14 Clock Ephem 1 Ephem 2 53 PRN 14 Alm 15 Clock Ephem 1 Ephem 2 54 PRN 15 Alm 16 Clock Ephem 1 Ephem 2 57 PRN 16 Alm 17 Clock Ephem 1 Ephem 2 55 PRN 17 Alm 18 Clock Ephem 1 Ephem 2 56 Iono PRN 18 Alm 19 Clock Ephem 1 Ephem 2 58 PRN 19 Alm 20 Clock Ephem 1 Ephem 2 59 PRN 20 Alm 21 Clock Ephem 1 Ephem 2 57 PRN 21 Alm 22 Clock Ephem 1 Ephem 2 60 PRN 22 Alm 23 Clock Ephem 1 Ephem 2 61 PRN 23 Alm 24 Clock Ephem 1 Ephem 2 62 PRN 24 Alm 25 Clock Ephem 1 Ephem 2 63 51 Status 1.6 The future of OpenSource GPS OpenSource GPS has matured quite a bit since 1996. Most of the functionality and (hopefully) most of the bugs have been fixed. Near term plans include: Improved acquisition algorithms Improved tracking loop algorithms Use of a Kalman filter Increasing the number of compilers supported (beyond Borland and Microsoft) Increasing the number of operating systems supported Increasing the number of computer interfaces supported Add WAAS capability 13

In the far term it is hoped that we can: Add dual frequency hardware and software Use Galileo signals Expand to other baseband chipsets and hardware implementations 14