资源简介
【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个文件信息
相关资源
- 基于SVPWM的三电平逆变的matlab 仿真模
- matlab中cplex和yalmip新手指南
- 聚类有效性评价计算 MATLAB编写
- matlab的卡方拟合检验
- 光伏电池板 pv matlab模型
- matlab音频读写,录制与播放
- 数值计算实验报告matlab版
- 基于MATLAB的canny算子
- 基于小波变换的图像去噪的matlab程序
- Dijkstra、Floyd算法MatlabLingo实现
- matlab指纹识别带GUI
- G-Rilling EMD HHT Matlab 开源代码
- matlab求解一个典型偏微分方程代码
- matlab联合STK进行北斗卫星运行仿真
- TDOA常见算法的MATLAB源代码
- 《精通Matlab最优化计算》配套Matlab代
- 带端点延拓的EMD和原始EMD的matlab程序
- 基于MATLAB的两电平逆变仿真模型
- matlab视频教程很全的
- OFDM同步算法的仿真matlab
- EKFUKFPF2 三种滤波算法的比较
- 多分类问题中混淆矩阵(Confusion Mat
- 均匀布拉格光栅的原理及MATLAB反射谱
- matlab三体运动模拟程序
- OFDM QPSK调制解调
- fastslam matlab 仿真算法
- matlabGUI 音频文件的滤波程序包含低频
- MATLAB程序设计与应用-刘卫国-例题源程
- FIR低通滤波器设计
- kd-tree算法 matlab
评论
共有 条评论