资源简介

Matlab语言详细实现了GPS捕获、跟踪、解码星历表、定位解算的详细代码,并附有一个程序调用关系的pdf,便于理解结构关系,结合《GPS原理与接收机设计》《GPS原理与应用》更好

资源截图

代码片段和文件信息

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.
%函数对收集到的数据执行“冷启动捕获?”,它搜索所有卫星的GPS信号,这些卫星在设置的结构体的
%“acqSatelliteList”列出。函数把码相位和所检测到的信号的频率保存在“acqResults”结构体中。
%
%acqResults = acquisition(longSignal settings)
%
%   Inputs:
%       longSignal    - 11 ms of raw signal from the front-end
%       来自前端的11ms原始信号
%       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. 
%       捕获结果        -函数把码相位和所检测到的信号的频率保存在“acqResults”结构体中。
%                       如果对于给定的PRN号检测不到信号则将“carrFreq(载波频率)”置为0.
%--------------------------------------------------------------------------
%                           SoftGNSS v3.0

% Copyright (C) Darius Plausinaitis and Dennis M. Akos
% Written by Darius Plausinaitis and Dennis M. Akos
% based on Peter Rinder and Nicolaj Bertelsen
%--------------------------------------------------------------------------
%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-1301
%USA.
%--------------------------------------------------------------------------

%CVS record:
%$Id: 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 1msec vectors of data to correlate with and one with zero DC
%产生两1ms的数据矢量???
signal1 = longSignal(1 : samplesPerCode);
signal2 = longSi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       9982  2012-03-18 10:28  matlab_code_All_Cmmt\acquisition.asv

     文件       9990  2012-03-18 10:28  matlab_code_All_Cmmt\acquisition.m

     文件       2274  2012-03-18 10:28  matlab_code_All_Cmmt\calcLoopCoef.m

     文件       3370  2012-03-18 10:28  matlab_code_All_Cmmt\calculatePseudoranges.m

     文件       1909  2012-03-18 10:28  matlab_code_All_Cmmt\cart2geo.m

     文件       5970  2012-03-18 10:28  matlab_code_All_Cmmt\cart2utm.m

     文件       2664  2012-03-18 10:28  matlab_code_All_Cmmt\checkPhase.m

     文件        751  2012-03-18 10:28  matlab_code_All_Cmmt\check_t.m

     文件       1011  2012-03-18 10:28  matlab_code_All_Cmmt\clksin.m

     文件        683  2012-03-18 10:28  matlab_code_All_Cmmt\clsin.m

     文件       9018  2012-03-18 10:28  matlab_code_All_Cmmt\ephemeris.m

     文件       1176  2012-03-18 10:28  matlab_code_All_Cmmt\e_r_corr.m

     文件       6724  2012-03-18 10:28  matlab_code_All_Cmmt\findPreambles.m

     文件       3252  2012-03-18 10:28  matlab_code_All_Cmmt\findUtmZone.m

     文件       4735  2012-03-18 10:29  matlab_code_All_Cmmt\generateCAcode.m

     文件       1979  2012-03-18 10:29  matlab_code_All_Cmmt\geo2cart.m

     文件       3248  2012-03-18 10:29  matlab_code_All_Cmmt\init.m

     文件       5429  2012-03-18 10:29  matlab_code_All_Cmmt\initSettings.asv

     文件       5429  2012-03-18 10:29  matlab_code_All_Cmmt\initSettings.m

     文件       1923  2012-03-18 10:29  matlab_code_All_Cmmt\invert.m

     文件       5031  2012-03-18 10:29  matlab_code_All_Cmmt\leastSquarePos.m

     文件       4852  2012-03-18 10:29  matlab_code_All_Cmmt\makeCaTable.m

     文件       6387  2012-04-10 09:41  matlab_code_All_Cmmt\navPartyChk.m

     文件       2232  2012-03-18 10:29  matlab_code_All_Cmmt\plotAcquisition.m

     文件       6487  2012-03-18 10:29  matlab_code_All_Cmmt\plotNavigation.m

     文件       7416  2012-03-18 10:29  matlab_code_All_Cmmt\plotTracking.m

     文件      14800  2012-03-18 10:29  matlab_code_All_Cmmt\postNavigation.m

     文件       7462  2012-03-18 10:29  matlab_code_All_Cmmt\postProcessing.m

     文件       4911  2012-03-18 10:29  matlab_code_All_Cmmt\preRun.m

     文件       4325  2012-03-18 10:29  matlab_code_All_Cmmt\probeData.m

............此处省略15个文件信息

评论

共有 条评论