gps and gis

8
 Subscribe what-when-how In Depth Tutorials and Information Examining GPS Data (GPS and GIS) Part 1 IN WHICH we continue our discussion of the theoretical framework of GPS position finding, and you practice using PC software to investigate files collected by GPS receivers. OVERVIEW Some Questions Answered As you read the last two topics some questions may have occurred to you. And the answers to these questions may generate other questions. Here are some that come up frequently: Question #1: "The captain of the ship of Figure 2-1 had a map showing the locations of the soundhouses. But how does the GPS receiver know where the satellites are?" A map is a two-dimensional scale model  of the surface of the Earth. But models can take many forms, including mathematical. Due to the natur e of nature, as elucidated by Isaac Newton and Johannes Kepler, the  position of a satellite at any time may be pr edicted with a high degree of accuracy by a few mathematical equations. A satellite orbit ing the earth may be modeled by formulas contained in the memory of the microcomputer in the receiver. When the f ormulas are applied to bodies at the high altitudes of the GPS satellites, where they are free from atmospheric drag, the formulas are relatively simple and can predict the  position of the satellite quite accurately. Almost all formulas have a general form , into which specific numbers are "loaded." Fo r example, in an equation of the form Modern Orbit Determinatio Modern Orbit Determination, Wiesel now available in paperback createspace.com/345909

Upload: aremacho-erkazet

Post on 05-Nov-2015

216 views

Category:

Documents


0 download

DESCRIPTION

Examining GPS Data Part 1

TRANSCRIPT

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 1/8

    Subscribe

    whatwhenhow

    InDepthTutorialsandInformation

    ExaminingGPSData(GPSandGIS)Part1

    INWHICHwecontinueourdiscussionofthetheoreticalframeworkofGPSpositionfinding,andyoupracticeusingPCsoftwaretoinvestigatefilescollectedbyGPSreceivers.

    OVERVIEW

    SomeQuestionsAnswered

    Asyoureadthelasttwotopicssomequestionsmayhaveoccurredtoyou.Andtheanswerstothesequestionsmaygenerateotherquestions.Herearesomethatcomeupfrequently:

    Question#1:"ThecaptainoftheshipofFigure21hadamapshowingthelocationsofthesoundhouses.ButhowdoestheGPSreceiverknowwherethesatellitesare?"

    AmapisatwodimensionalscalemodelofthesurfaceoftheEarth.Butmodelscantakemanyforms,includingmathematical.Duetothenatureofnature,aselucidatedbyIsaacNewtonandJohannesKepler,thepositionofasatelliteatanytimemaybepredictedwithahighdegreeofaccuracybyafewmathematicalequations.Asatelliteorbitingtheearthmaybemodeledbyformulascontainedinthememoryofthemicrocomputerinthereceiver.WhentheformulasareappliedtobodiesatthehighaltitudesoftheGPSsatellites,wheretheyarefreefromatmosphericdrag,theformulasarerelativelysimpleandcanpredictthepositionofthesatellitequiteaccurately.

    Almostallformulashaveageneralform,intowhichspecificnumbersare"loaded."Forexample,inanequationoftheform

    ModernOrbitDeterminatio

    ModernOrbitDetermination,Wieselnowavailableinpaperback

    createspace.com/345909

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 2/8

    AandBareparameterswhichrepresentconstantnumbersthatmaybeinsertedintheequation.WhenAandBarereplacedbyactualnumbers,thentheequationisonlytrueforcertainvaluesofx,y,andz.Thereceivercarriesthegeneralformoftheformulasthatgivethepositionofeachsatellite.Beforetherangereadingsaretakenbythereceiver,thesatelliteswillhavebroadcastthevaluesoftheirparticularparameterssothereceivercancompleteitsequations.Then,byknowingthecurrenttimeatagivenmoment(themomentatwhichthedistancereadingistaken),thereceivercanknowwherethesatellitesare.

    Actually,thesatellitemessagecomingtothereceiverantennaisinmanyparts.Twoofthesemightbecalledthealmanacandtheephemerisdata.Almanacinformationisbroadcasttoprovideclose,butnotprecise,satellitepositioninformation.Thealmanacforallsatellitesisbroadcastfromeachsatellite.Furthermore,eachsatellitebroadcastsephemerisinformation(whichappliestothatsatelliteonly),thatprovidesuptotheminutecorrections.Thesatellitesarenotcompletelypredictableintheirorbitsbecauseofsuchforcesasgravitationalpullfromthesunandmoon,thesolarwind,andvariousothersmallfactors.ThereforethesatellitesarecarefullymonitoredbygroundstationsandtoldtheirpositionseachsatellitethenrebroadcaststhisinformationtoGPSreceivers.

    Question#2:"Thecaptainneededtoknowexactlywhattimeitwasinordertodeterminehisdistancefromthesoundhouse.HowistheclockinthereceiverkeptaccuratelyonGPStime?"1

    TheshortansweristhatthereceiverclockisresettoGPStimebythesatelliteseachtimeapositionisfound.Suchresettingisnecessarybecause,whilethereceiverclockisveryconsistentovershortperiodsoftime,ittendstodriftoverlongerperiods.(Eachofthefouratomicclocksineachsatellitecostsabout$50,000thesingleclockinthereceiverobviouslycostsawholelotless,soyoucantexpectthesamesortofaccuracy.Ifyoudontusethereceiverforaweekortwo,youmaynoticeadifferenceofseveralsecondsbetweenthetimethereceiverdisplaysandtruetime.)Theclocksinthesatelliteskeeptimetoaboutatenthofabillionthofasecond(atenthofananosecond).

    Ifyouconsider"time"2asthe4thdimensionandacceptthatittakesonesatellitetofixeachdimension,thenitisclearthatfoursatellites,workinginconcert,cansettheclockandprovidea3Dspatialposition.

    RecallingourdiscussionofthetheoryofGPSandfromthegeometryofthediagramsyouexamined,youmightpresumethatonlythreesatellitesarerequiredfora3Dfix.Butgiventhatthereceiverhasonlyanapproximateideaofwhattimeitis,whatmustbecalculatedisa4Dfix.Sofoursatellitesarerequired.Itisnotcorrecttosaythatthreesatellitesareusedforthe3Dfixandthefourthsetsthereceiverclock.Rather,allofthe

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 3/8

    satellitesoperateinconcerttofindthetrue"position"ofareceiverantennathatmaymoveinspace(relativetotheearth)anddoesmoveintime.

    GPS,aspreviouslymentioned,hashadarevolutionizingeffectonthebusinessofkeepingextremelyaccuratetimetobetterthanabillionthofasecond.WhilemostofthosewhouseGPSareconcernedwithfindingpositions,thesystemalsosuppliesextremelyaccuratetimesignalstoreceiverswhosepositionsareknownwithhighprecision.GPShasmadeitpossibletosynchronizeclocksaroundtheworld.Thishasmadeitpossible,amongotherthings,togainknowledgeaboutthemakeupoftheearthscenter.Sinceseismologiststhroughouttheworldknowtheexacttime,theycantracktheshockwavesfromearthquakesastheypassthroughtheearth.AnotheruseoftheabilityofGPStosynchronizeclocksaroundtheworldisinroutingInternet(worldwideweb)traffic.ItwouldnothavebeenunreasonabletohavecalledGPSbytheacronymGPTS:theGlobalPositioningandTimingSystem.)

    Question#3:"Thesoundhousesentasignaleveryminute.Howoftendoesasatellitesendasignal?Whatisthesignallike?"

    Actually,eachsatellitesendsasignalcontinuously,ratherlikearadiostationbroadcasts24hoursperday.Theradiostationsignalcanbeconsideredtoconsistoftwoparts:acarrier,whichisonallthetime,and"modulation"ofthatcarrier,whichisthevoiceormusicthatyouhearwhenyoulistentothestation.(Youprobablyhavedetectedthepresenceofthecarrierwhenthepeopleatthestationneglecttosayorplayanything.3Thecarrierproducessilence,whereasifyourradioistunedtoafrequencyonwhichnonearbystationisbroadcastingyouwillhearstatic.)

    Eachsatelliteactuallybroadcastsontwofrequencies.Onlyoneoftheseisforcivilianuse.(ThemilitaryGPSunitsreceiveboth.)Theciviliancarrierfrequencyis1575.42megaHertz(1,575.42millioncyclespersecond).Incontrast,FMradiosignalsareontheorderofabout100megaHertz.SotheGPSradiowavescycleabout15timesasoften,andare,therefore,onefifteenthaslong:about20centimetersfromwavetoptowavetop.Asthisgoestopressthereisseriousdiscussionaboutaddingoneortwonewciviliansignals.Havingtwosignalsatdifferentfrequenciesavailableallowsareceivertocomputeamoreaccuratepositionthandoesasinglesignal.

    ThemodulationoftheGPSwaveisprettydull,evenwhencomparedto"goldenoldies"radiostations.Thesatellitesbroadcastonly"bits"ofinformation:zerosandones.Formostcivilianuse,thistransmission,andtheabilitytomakemeaningoutofit,iscalledthe"C/Acode"standingforCoarse/Acquisitioncode.Theword"Coarse"isincontrasttoanothercodeusedbythesatellites:the"P"or"Precise"code.Theterm"Acquisition"refersthecapabilitythatallowsbothcivilianandmilitaryreceiverstoacquiretheapproximatepositionofthereceiverantenna.TheC/Acodeisasequenceof1,023bitswhichisrepeatedeveryonethousandthofasecond.

    AcopyoftheC/Acodeforagivensatellitemightlooklikethis:

    10001101001011110110001

    andonandonforatotalof1,023bits.Thenthesequencestartsagain.Thesequenceaboveprobablylooksrandomtoyouasthoughyoubeganflippingacoin,recordinga"1"eachtimeitcameupheadsanda"0"fortails.Itis,infact,calledapseudorandomnoisecodetheterm"noise"comingfromtheideathatanauralversionofitwouldgreatlyresemblestaticonemighthearonaradio.TheacronymisPRN.

    Question#4:"Howdoesthereceiverusethe0sand1stodeterminetherangefromthesatellitetothereceiver?"

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 4/8

    ThePRNcodeisanythingbutrandom.Agivensatelliteusesacomputerprogramtogenerateitsparticularcode.TheGPSreceiveressentiallyusesacopyofthesamecomputerprogramtogeneratetheidenticalcode.Further,thesatelliteandthereceiverbeginthegenerationofthecodeatexactlythesamemomentintime.

    ThereceivercanthereforedetermineitsrangefromthesatellitebycomparingthetwoPRNsequences(theoneitreceivesandtheoneitgenerates).Thereceiverfirstdetermineshowmuchthesatellitesignalisdelayedintime,andthen,sinceitknowsthespeedofradiowaves,itcancalculatehowfarapartthetwoantennasareinspace.

    Asanexample(usinglettersratherthanbitssowecanhaveamoreobvioussequence,andcookingthenumberstoavoidexplainingsomeunimportantcomplications),supposethesatelliteandthereceivereachbegan,at4:00P.M.,togenerateonehundredletterspersecond:

    GJKETYUOWVWTDHK

    Thereceiverwouldthenlookatitsowncopyofthissequenceandtheoneitreceivedfromthesatellite.Obviouslyitsowncopywouldstartat4:00,butthecopyfromthesatellitewouldcomealongafterthat,becauseofthetimeittookthesignaltocoverthedistancebetweentheantennas.Belowisagraphicillustrationofwhatthetwosignalsmightlookliketothecomputerinthereceiver:

    Thereceiverwouldattempttomatchthesignals.Youcanseethatthesignalfromthereceiverbegantoarrivesevenletterslaterthan4:00thereceiversmicrocomputercouldthereforedeterminethatittook7/100ofasecondforthesignalfromthesatellitetoreachthereceiverantenna.Sincetheradiowavetravelsatabout300,000kilometerspersecond,thetimedifferencewouldimplythatthesatellitewas21,000(thatis,7/100*300,000)kilometersfromtheantenna.

    Question#5:"Thereceivermustfindrangesfromatleastfoursatellitestodetermineitsposition.Howdoesthereceiver"listento"severalsatellitesatonce?Sinceallsatellitesbroadcastonthesamefrequency,howdoesthe

    DaftarAkunFacebookfacebook.com

    TerhubungDenganTemanmuDiDaring.GabungKomunitasFacebookGratis!

    SimpleIridiumSatComms

    PromoPalingMurahSatNavDVDDisc20152016

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 5/8

    receiveridentifythesatellites?"

    ThefirstthingtoknowisthateachsatellitehasitsowndistinctivePRNcode.Infact,thesatellitenumbersyouwerelogginginthefirstassignmentwerethePRNnumberswhichistheprincipalwaysatellitesareidentified.Asatellitemayalsohaveanumberpaintedonitsside,butitisthePRNnumberthatcounts.Whenanoldersatelliteisretired,itsreplacementcantakeonitsPRNnumber.

    Mostreceivershaveseveralelectroniccomponents,called"channels,"thataretunedtoreceivethecivilianGPSfrequency.Althoughallchannelsaretunedtothesamefrequency,asinglechannelcantrackaGPSsatellitebylockingontoitsPRNcode.Inmoreexpensivereceiverswithseveralormanychannels,eachchannelisassignedfulltimetotrackingasinglesatellite.Otherreceivers"timeshare"achannelflippingitbetweensatellites,asyoumightflipbetweenchannelsonaTV,tryingtokeeptrackoftwoprogramsatonce.

    Question#6:"IveheardthattheaccuracyofGPSreceiverswasgreatlyincreasedrecentlywhenselectiveavailabilitywasturnedoff.Whatwasselectiveavailability?Whydiditexist?"

    SelectiveAvailability,orSA,wastheerrordeliberatelyintroducedbytheGPSmanagersintheC/AcodebroadcasttodiminishtheaccuracyofGPSreceivers.Sometimesthesatellitesliedabouttheirpositions.Sometimestheyliedaboutwhentheysentthecode.

    WhatwastheextentoftheerrorcausedbySA?Thegovernmentguaranteedthat95%ofthetimeafixwouldbewithin100metersofthetrueposition.TounderstandwhySAexistedyouhavetorealizethattheNAVSTARsystemstartedasamilitaryprojecttoprovidenavigationforunitsofthearmedforces.Inthebroadsense,GPSwasdesignedasaweaponssupportsystem.Onedoesntwantonesweaponstofallintoenemyhands.Sostepsweretakentodenyuseofthesystemtoallbutauthorizedreceivers.Infact,theveryexistenceoftheGPSsystem,whosefirstsatellitewaslaunchedin1978,remainedsecretforseveralyears.

    Itwasneverplannedthatyoucouldbuya$200receiverforyourfishingboat.Themilitaryfearedsuchusesasaterroristwithamortarknowingexactlywherehewas,andhencebeingabletomoreaccuratelytargethisfire.Orthecomputerinamissilebeingabletomonitoritspositionandcorrectitspathduringitsflight.

    Ifsufficientwarningweregiven,ofcourse,theentireciviliansideofNAVSTARcouldbeshutdowntodenyitsusetohostileforces.(Theconsequenceswouldbedisastrous,butnotasmuchsoasanuclearwar.)But,inanyevent,themilitarywasstilluncomfortablewithallowingthebestGPSaccuracyinthehandsofeverybody.SowhywasSAturnedoff?Asitturnsout,verygoodaccuracymaybeobtainedbyusingtwoGPSreceiversinconcertandfortheverybestaccuracyyouneedtworeceivers,SAorno.SoSAbecamemoreofanuisancethatofferednorealprotection.Infact,theArmyCorpsofEngineersbeganbroadcastingcorrectionstopositionsobtainedbycivilianreceivers.UnderpressurefromthecivilianGPSusers,andothercountriesJapanandEuropeanwhobegancontemplatingtheirownversionofGPS,usingthemoregeneraltermGlobalNavigationSatelliteSystem(GNSS)4theU.S.governmentabruptlyclickedtheSAswitchoff.Thisoccurredon2May2000,justaftermidnightEasternTime.ItwasanimportantenoughdecisionthatthePresidentmadetheannouncementhimself.TheslimprotectionSAprovidedmightbereplacedandenhancedbyjammingtheGPSsignalsinselectedgeographicalareas,ifnecessary.IfyouareinterestedinSA,andothermattersrelatedtoGPSpolicy,youcangotothewebsiteoftheInteragencyGPSExecutiveBoard(www.igeb.gov)andfindoutconsiderablymorethanthereisspaceforhere.YoucanalsoviewthePresidentsdeclarationof1May2000.

    Question#7:"Howisitthatasatellite,cuttingEarthsmeridiansat55andmovingat8600mph,generatesatrackthatisalmostduenorthsouthinthevicinityoftheequator,asseeninFigure11?"

    Whilethesatelliteismovingveryfast,itisalsofaroutinspace.ThereforethemotionofthecorrespondingpointontheEarthssurfacealongthesatellitestrack(picturewherealinefromthecenteroftheearthtothesatellitewouldintersectthesurfaceoftheEarth)isconsiderablyslowerabout2100mph.ThesatellitestrackalongthesurfaceoftheEarthmovesatthisspeedtowardthenortheastontheupswingandsoutheastonthedownswing,sotheeastwardpartofitsmotionisinthesamedirectionastherotationoftheEarth.AnygivenpointonEarthssurfaceattheequatormovesabout1050milesperhoureastwardduetoEarthsrotationabout

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 6/8

    itsaxis.Thenorthorsouthcomponentofthesatellitesvelocityisabout1700mph,whiletheeastcomponentisonlyabout1200mph.Soanobserverattheequatorwouldseeonlyaslowdrifting(about150milesperhour)ofthesatellitetotheeastovertheperiodofanhourortwo.

    Question#8:"Iftheorbitalperiodis12hours,whydoeseachsatelliteriseandsetaboutfourminutesearliereachday?CouldtheNAVSTARsystemdesignersarrangetohavethesamesatellitesinviewatthesametimeeachdayinagivenlocation?"

    Theshortanswertothefirstquestion,ifyouknowabitofastronomy,isthatthesatellitesorbittheearthtwiceduringasidereal(pronouncedsideareul,meaning"starbased")day,ratherthanasolar(sunbased)day.Alongerexplanation:SupposeyoulookupatthestarsonmidnightofthefirstofAprilandnotetheirpositions.ToseethesamepictureonMayfirstyouhavetolookupat10:00P.M.Inthe30daysthestars"moved"120minutesfourminutesaday.Ofcoursethestarsdidntmovetheearthrotated.Bymidnightitwouldhaveturnednotonlythe10,800degrees(thatis,360perdaytimes30days)fromitsdailyrotation,but30degreesfurther(360degreesmultipliedbyonetwelfth)fromitsyearlyrotationinitsorbitaroundthesun.The10,800degreesworksouttozerobasically(youarebackwhereyoustartedfrom)butthe30degreesissignificant.

    Orthinkofitthisway:WhileeachindividualsatelliteisinorbitabouttheEarth,makingitscircuitexactlytwiceaday,thesetofsatellitesareindependentlyinorbitaboutthesun.Theyorbitthesunasapackagetheringsoftheirorbitmakingupsortofasphericalbirdcage.ThecageiscenteredontheEarthandcontainsit.TheEarthisabodythatrotatesindependentlywithinthiscage.Thecagedoesnotrotateatallonitsownaxis,butorbitsthesun.

    Tounderstandwhat"notrotatingonitsaxis"means,realizethatthemoonrotatesonitsownaxisonceduringeachtriparoundtheearth,sothatitalwaysshowsthesamefacetoEarth.Ifthemoondidnotrotate,wewouldseedifferentsidesofitasitmadeitswayaroundtheEarth.Incontrasttothemoonearthsituation,considerthecagesunsituation:thecagedoesnotrotateonitsaxisandthereforedoespresentdifferentsidesofitselftothesunoverthecourseofayear.

    Soatanygiventime(saynoon,whenthesunisdirectlyoveragivenmeridian),apersononEarthwillsee(thatis,"lookthrough,"towardthesun)onesideofthecageonthesolsticeinJanuary.ButfromthesamepointonearththatpersonwouldbelookingthroughtheoppositesideofthecageinJuly.Ineffect,then,thecagewillbeseenfromEarthtohavemadehalfacompleterotationaroundtheEarthonceeachhalfyear.ToapersonontheEarth,then,thecageapparentlymovesabout1/365thofarotationperday.Thatamountstoaboutfourminutesadaycalculatedas1440minutesinadaydividedbythenumberofdaysinayear.

    InanswertothesecondpartofQuestion#8,ifthesatellitesorbitswereboostedanother50kilometersorsofurtherouttheywouldappearintheskyatthesameplaceatthesametimeeachday.Thefurtherasatelliteisfromtheearththelongeritsperiodbothbecauseitmovesmoreslowlyandbecauseithasfurthertogo.

    Question#9:"Inearliertextitwassuggestedthatitwassomewhatmoreimportantthattherebeagoodviewoftheskytothesouthforgoodreception.Why?"

    Thestatementaboutreceptionbeingbettertowardthesouthappliesonlytothemiddleandupperlatitudesinthenorthernhemisphere.Asyouknow,thesatellitesareinobliqueorbits.Theirtracksgivethenorthandsouthpolesawideberth.InFigure31youarelookingdirectlydownonthenorthpoleatsatellitetracksgeneratedoverasixhourperiod.Thedashedcircleisaparallelat45,soyoucanseethatthereisadearthofsatellitesoverheadifyougoveryfarnorthofthat.ThereisstillgoodGPScoverageallthewaytotheNorthPole.

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 7/8

    Figure31.GPSsatellitetracksseenfromspacelookingtowardtheNorthPole.

    STEPBYSTEP

    Recallthestoryofthetwo"logicallychallenged"peoplewhorentedaboatandwentfishing.Theywerehighlysuccessfulcatchingalotoffish.Said"A"to"B,""Besuretomarkthisspotsowecancomebacktoit."Asthedayendedandtheywereapproachingthedock,"A"asked"B":"Didyoumarkthatfishingspot?",towhich"B"replied:"SureIdid,justlikeyouaskedmerighthereonthesideoftheboat"Therewasapauseastheabsurdityofthispenetrated"As"brain.Youidiot!Whatifnexttimewedontgetthesameboat?"

    Butnow,aswemoveintoanewcentury,youhaveawayofmarkingwhereyouwere.Infact,youhavedoneso.Byuseoftheprogramyoucandeterminewhereyouaretowithin5to15meters.Ourgoalnowistolookatthoseuploadedfiles,andsomeothers,bothgraphicallyandstatistically.Youwillalsoacquireanunderstandingofthequalityofyourdata.

    Nextpost:ExaminingGPSData(GPSandGIS)Part2

    Previouspost:AutomatedDataCollection(GPSandGIS)Part3

    AdsbyGoogle

    GPSSoftwareFreeGPSTrackingGPSSatelliteNavigation

    AdsbyGoogle

    GPSGISGPSReceiverAccuracyRealTimeGPS

  • 6/29/2015 ExaminingGPSData(GPSandGIS)Part1

    http://whatwhenhow.com/globalpositioningsystemandgis/examininggpsdatagpsandgispart1/ 8/8

    CustomSearch

    0

    RelatedLinks

    GlobalPositioningSystemandGISBasicConcepts(GPSandGIS)Part1BasicConcepts(GPSandGIS)Part2BasicConcepts(GPSandGIS)Part3BasicConcepts(GPSandGIS)Part4BasicConcepts(GPSandGIS)Part5

    ::SearchWWH::

    Search

    HelpUnprivilegedChildrenCareersPrivacyStatementCopyrightInformation