資源簡介
【MATLAB實現】經典GNSS衛星導航程序
Matlab源代碼 包括:捕獲、跟蹤、解算定位

代碼片段和文件信息
function?acqResults?=?acquisition(longSignal?settings)
%?Function?performs?cold?start?acquisition?on?the?collected?“data“.
%?It?searches?for?GPS?signals?of?all?satellites?which?are?listed?in?field?“acqSatelliteList“?in?the?settings?structure.
%?Function?saves?code?phase?and?frequency?of?the?detected?signals?in?the?“acqResults“?structure.
%
%?acqResults?=?acquisition(longSignal?settings)
%
%???Inputs:
%???????longSignal???-?11?ms?of?raw?signal?from?the?front-end?
%???????settings???????-?Receiver?settings.
%????????????????????????????Provides?information?about?sampling?and?intermediate?frequencies?and?other?parameters
%????????????????????????????including?the?list?of?the?satellites?to?be?acquired.??????????????
%???Outputs:
%???????acqResults???-?Function?saves?code?phases?and?frequencies?of?the?detected?signals?in?the?“acqResults“?structure.
%????????????????????????????The?field?“carrFreq“?is?set?to?0?if?the?signal?is?not?detected?for?the?given?PRN?number.????????????
?
%--------------------------------------------------------------------------
%???????????????????????????SoftGNSS?v3.0
%?
%?Copyright?(C)?Darius?Plausinaitis
%?Written?by?Darius?Plausinaitis?Dennis?M.?Akos
%?Some?ideas?by?Dennis?M.?Akos
%--------------------------------------------------------------------------
%This?program?is?free?software;?
%you?can?redistribute?it?and/or?modify?it?under?the?terms?of?the?GNU?General?Public?License
%as?published?by?the?Free?Software?Foundation;
%either?version?2?of?the?License?or?(at?your?option)?any?later?version.
%
%This?program?is?distributed?in?the?hope?that?it?will?be?useful
%but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
%MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.
%See?the?GNU?General?Public?License?for?more?details.
%
%You?should?have?received?a?copy?of?the?GNU?General?Public?License?along?with?this?program;
%?if?not?write?to?the?Free?Software?Foundation?Inc.
%?51?Franklin?Street?Fifth?Floor?Boston?MA??02110-1301USA.
%--------------------------------------------------------------------------
%CVS?record:?acquisition.mv?1.1.2.12?2006/08/14?12:08:03?dpl?Exp?$
%%?Initialization?==================================================
%?Find?number?of?samples?per?spreading?code
samplesPerCode?=?round(settings.samplingFreq?/?(settings.codeFreqBasis?/?settings.codeLength));
%?Create?two?1?ms?vectors?of?data?to?correlate?with?and?one?with?zero?DC
signal1?=?longSignal(1?:?samplesPerCode);
signal2?=?longSignal(samplesPerCode+1?:?2*samplesPerCode);
signal0DC?=?longSignal?-?mean(longSignal);
%?Find?sampling?period
ts?=?1?/?settings.samplingFreq;
%?Find?phase?points?of?the?local?carrier?wave
phasePoints?=?(0?:?(samplesPerCode-1))?*?2?*?pi?*?ts;
%?Number?of?the?frequency?bins?for?the?given?acquisition?band?(500Hz?steps)
numberOfFrqBins?=?round(settings.acqSearchBand?*?2)?+?1;
%?Generate?all?C/A?codes?and?sample?them?according?to?the?sampling?freq.
c
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????8532??2014-02-19?13:32??GNSS_SoftReceiver_MATLAB_work?yuanshi\acquisition.m
?????文件???????3046??2014-02-23?21:59??GNSS_SoftReceiver_MATLAB_work?yuanshi\calculatePseudoranges.m
?????文件????????866??2014-02-23?12:06??GNSS_SoftReceiver_MATLAB_work?yuanshi\exp.m
?????文件???????6237??2014-02-20?10:05??GNSS_SoftReceiver_MATLAB_work?yuanshi\findPreambles.m
?????文件???????1720??2010-06-23?11:26??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\cart2geo.m
?????文件???????5055??2010-06-23?11:26??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\cart2utm.m
?????文件????????672??2014-02-19?17:25??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\check_t.m
?????文件????????945??2010-06-23?11:26??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\clksin.m
?????文件????????619??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\clsin.m
?????文件???????1026??2009-02-24?11:03??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\deg2dms.m
?????文件???????1193??2009-02-24?11:03??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\dms2mat.m
?????文件???????1135??2014-02-20?15:15??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\e_r_corr.m
?????文件???????2650??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\findUtmZone.m
?????文件???????1543??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\geo2cart.m
?????文件???????4077??2014-02-21?20:25??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\leastSquarePos.m
?????文件???????4832??2014-02-20?11:14??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\satpos.m
?????文件???????2892??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\togeod.m
?????文件???????1418??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\topocent.m
?????文件???????2900??2010-06-23?11:27??GNSS_SoftReceiver_MATLAB_work?yuanshi\geoFunctions\tropo.m
?????文件???????1736??2014-02-17?21:01??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\calcLoopCoef.m
?????文件???????1861??2014-02-19?16:26??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\checkPhase.m
?????文件???????6946??2014-02-19?22:25??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\ephemeris.m
?????文件???????3481??2014-02-18?18:56??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\generateCAcode.m
?????文件???????1424??2010-06-23?11:26??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\invert.m
?????文件???????3040??2014-02-18?17:14??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\makeCaTable.m
?????文件???????4653??2009-02-24?11:03??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\navPartyChk.m
?????文件???????3329??2014-02-18?19:07??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\preRun.m
?????文件???????2739??2014-02-23?14:14??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\showChannelStatus.m
?????文件???????5851??2014-02-17?22:00??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\skyPlot.m
?????文件???????1749??2014-02-20?10:40??GNSS_SoftReceiver_MATLAB_work?yuanshi\include\twosComp2dec.m
............此處省略24個文件信息
評論
共有 條評論