

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this laboratory session, students will develop matlab code to calculate the location of gps satellites using their ephemerides and almanac data. They will examine the accuracy of the solutions and investigate the impact of correction terms on satellite trajectories. Students will also generate satellite visibility charts for different locations and analyze the number of satellites available at each latitude.
Typology: Lab Reports
1 / 3
This page cannot be seen from the preview
Don't miss anything!


ECE 498AL Laboratory 2 Ephemeredes, Orbits and Satellite Locations Laboratory Goals In this lab, we will develop MATLAB code that will solve for the location of the satellites in the ECEF reference frame. You will examine the different sets of information that the satellites broadcast in their individual ephemeredes as well as in the almanac. The magnitude of the various correction terms will be studied as well. Finally, you will investigate the trajectories of the GPS satellites, as viewed from Everitt Lab. The code you write today will be used in future labs, so make sure it really works and you understand what it is doing! Prelab Before coming to lab, download the code templates from the course website at http://airglow.csl.uiuc.edu/Teaching/ECE498AL/. You will need:
ECE 498AL Laboratory 2: Ephemeredes, Orbits and Satellite Locations 2 several arrays containing the ephemeredes for each satellite. Read the opening comments to understand the format of the resulting arrays and how to run the program. Q1 : Verify the GPS_Findsat.m routine you have written by calculating the elevation and azimuth to at least two satellites using the information in the current.alm file. You should report the satellite PRN, the GPS time, and the elevation and azimuth angles both as reported by the OSGPS receiver and using your MATAB code. The results from the two methods should agree to within a degree. Q2 : Download the GPS_Visability.m function. This function reads in the provided almanac file and plots a satellite visibility chart for a 24-hour period beginning at the time of applicability of the almanac data. Generate the chart based upon the almanac data obtained during your lab period for the location of Everitt Laboratory. What is the range of the number of satellites available? Q3 : You can use any location with the GPS_Visability.m function. Generate plots for a receiver at the equator, and one at 85° latitude. What differences do you notice from he different locations (equatorial, mid-latitude, and high-latitude)? Aspects to look at include how many times a day a given satellite is in view from a location, how long a given satellite is available, and how many satellites are available throughout the day. Q4 : Download the GPS_Plotsat.m function. Calculate the start and stop times (in GPS seconds) for your lab period. Use GPS_Plotsat.m and the almanac data to calculate which satellites rise and set during your lab period. Provide a listing of these satellites (as well as whether they are rising or setting). (HINT: you can send in almanac data for a single satellite to plot the satellite trajectories one at a time. This may make answering this question easier). Post-Lab Questions Use these programs in conjunction with the data you collected to answer the following questions: PL1 : Compare the precise ECEF coordinates calculated by GPS_Findsat.m using the data in the current.eph file to those reported in the gpskalm.log file. Note that the positions in the log file are those at transmit time (in the transmit time ECEF reference frame), while the time stamps in the file are reception times. To perform a valid comparison, you will need to figure out how to correct for this discrepancy! PL2 : For the two satellites used in Q1 , compare the satellite-location solutions using the information in current.alm and current.eph. Do this over a ten-minute period and compare both the difference in distance (in meters) and elevation/azimuth. What does this say about the utility of the coarse location solution (obtained from the current.alm information) in initial tracking of the satellites?