资源简介
针对GPS信号SDR的详细的MATLAB代码,用MATLAB程序实现了一个完整的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.
%
%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 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
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)
numberOfFrqBin
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9433 2006-08-14 20:08 GNSS_SDR\acquisition.m
文件 3370 2006-08-10 01:20 GNSS_SDR\calculatePseudoranges.m
文件 6724 2006-08-14 19:38 GNSS_SDR\findPreambles.m
文件 1720 2006-08-22 21:46 GNSS_SDR\geoFunctions\cart2geo.m
文件 5055 2006-08-22 21:46 GNSS_SDR\geoFunctions\cart2utm.m
文件 679 2006-08-22 21:46 GNSS_SDR\geoFunctions\check_t.m
文件 945 2006-08-22 21:46 GNSS_SDR\geoFunctions\clksin.m
文件 619 2006-08-22 21:46 GNSS_SDR\geoFunctions\clsin.m
文件 1135 2006-08-22 21:46 GNSS_SDR\geoFunctions\e_r_corr.m
文件 2650 2006-08-22 21:46 GNSS_SDR\geoFunctions\findUtmZone.m
文件 1543 2006-08-22 21:46 GNSS_SDR\geoFunctions\geo2cart.m
文件 4461 2006-08-22 21:46 GNSS_SDR\geoFunctions\leastSquarePos.m
文件 5201 2006-08-22 21:46 GNSS_SDR\geoFunctions\satpos.m
文件 2892 2006-08-22 21:46 GNSS_SDR\geoFunctions\togeod.m
文件 1418 2006-08-22 21:46 GNSS_SDR\geoFunctions\topocent.m
文件 2900 2006-08-22 21:46 GNSS_SDR\geoFunctions\tropo.m
文件 1705 2006-08-14 19:38 GNSS_SDR\include\calcLoopCoef.m
文件 1911 2006-08-14 19:38 GNSS_SDR\include\checkPhase.m
文件 7292 2006-08-14 19:38 GNSS_SDR\include\ephemeris.m
文件 3559 2006-08-14 19:38 GNSS_SDR\include\generateCAcode.m
文件 1424 2006-08-14 19:38 GNSS_SDR\include\invert.m
文件 3281 2006-08-14 19:38 GNSS_SDR\include\makeCaTable.m
文件 4653 2006-08-14 19:38 GNSS_SDR\include\navPartyChk.m
文件 3366 2006-08-14 19:38 GNSS_SDR\include\preRun.m
文件 2552 2006-08-14 19:38 GNSS_SDR\include\showChannelStatus.m
文件 6694 2006-08-18 19:41 GNSS_SDR\include\skyPlot.m
文件 1845 2006-08-14 19:38 GNSS_SDR\include\twosComp2dec.m
文件 3236 2006-08-22 21:46 GNSS_SDR\init.m
文件 4976 2006-08-18 19:41 GNSS_SDR\initSettings.m
文件 18328 2006-08-18 19:41 GNSS_SDR\license.txt
............此处省略15个文件信息
相关资源
- 关于GPS的matlab程序
- Kalman滤波在船舶GPS导航定位系统中的
- gps精密单点定位后处理方法matlab代码
- GPS信号c码的产生
- GPS信号产生
- GPS单点定位程序
- 惯性、GPS、地磁组合导航仿真程序
- GPS计算用户位置
- 精密单点定位的Matlab code
- 基于GPS_IMU组合定位的kalman滤波
- GPSC/A码程序
- GPS信号产生及捕获
- 论文研究-GPS系统C/A码的产生与捕获算
- GPS接受机中的卡尔曼滤波MATLAB代码
- GPS信号产生、捕获、追踪全套程序
- INS/GPS组合导航MATLAB处理库
- INS+GPS组合导航matlab程序
- gps捕获程序
- 基于matlab的GPS数据读取
- 生成GPS信号
- 基于matlab读取GPS中GPGGA信息(包含经纬
- GPS_INS位置组合Matlab仿真源码
- GPS中CA码产生方法
- GPS周跳检测程序
- 基于MATLAB的GPS网平差
- GPS卫星坐标计算的简单matlab程序自己
- 基线解算的matlab源码
- matlab编写的GPS和惯导的组合程序
- gps最小二乘定位
- MATLAB实现GPS单点定位
评论
共有 条评论