资源简介
在GPS接收机中,捕获到卫星信号并对C/A码进行跟踪是研制GPS接收机的重要问题之一。以MATLAB为平台实现这个捕获总模块,对算法进行设计及优化后,给出了相应的仿真。 主要是对C/A码的生成原理及其特性、GPS信号的形式及生成原理进行了深入地分析,并对GPS信号的捕获机理进行详细地阐述。在进行码捕获时,将伪码剥离,便于实现GPS的解扩过程。主要是通过 MATLAB编程工具模拟GPS信号,然后实现信号捕获。 有实验结果 以及结果分析 还有 CA码的产生流程图
代码片段和文件信息
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)
numbe
相关资源
- GPS定位程序代码
- GPS基本原理及其Matlab仿真235516
-
基于simuli
nk的组合导航的仿真 - 压缩感知之GPSR算法
- 卫星导航定位算法与程序设计讲义.
- GPS信号捕获跟踪的MATLAB仿真,里面有
- gps基本原理及其matlab仿真199992
- RINEX格式的GPS观测文件matlab读取程序附
- ps基本原理及其matlab仿真(西安电子科
- Kalman_Filter粗对准和经对准和实际试验
- GPS基本原理及MATLAB仿真
- 基于惯性传感器的室内导航的MATLAB轨
- INS_GPS组合导航matlab仿真程序
- GPS仿真-matlab工具箱
- GPS周跳探测matlab
- SINS、GPS、DR仿真
- 新手适用简易GPS matlab代码
- 导弹制导控制系统设计与 Matlab 仿真(
- 扩展Kalman滤波在INS/GPS组合导航系统
- Matlab GPS Toolbox
- 卫星位置计算器实验材料.zip
- 导航卫星坐标定位和伪距测量结算及
- PPPH源码matlab有说明书
- 《GNSS与惯性及多传感器组合导航系统
- GNSS 与惯性及多传感器组合导航系统原
- GPS基本原理及其MATLAB仿真178018
- 软件定义的GPS和伽利略接收机163752
- 组合导航松组合间接法的MATLAB程序
- GNSS与惯性及多传感器组合导航系统原
- 惯性导航matlab开源程序GPS&IMU;数据融合
评论
共有 条评论