gps-sdr-sim-master
所属分类:GPS编程
开发工具:Visual C++
文件大小:3888KB
下载次数:31
上传日期:2016-06-15 09:41:43
上 传 者:
curt123456
说明: gps信号仿真器,主要用gps信号的仿真,可用于产生伪造gps信号
(gps signal simulator, mainly used simulation gps signal can be used to produce counterfeit gps signal)
文件列表:
LICENSE (1082, 2015-08-30)
Makefile (360, 2015-08-30)
bladerf.script (150, 2015-08-30)
brdc3540.14n (270728, 2015-08-30)
circle.csv (135000, 2015-08-30)
getopt.c (4241, 2015-08-30)
getopt.h (148, 2015-08-30)
gps-sdr-sim-uhd.py (2861, 2015-08-30)
gpssim.c (45787, 2015-08-30)
player (0, 2015-08-30)
player\bladeplayer.c (4944, 2015-08-30)
rocket.csv (175545, 2015-08-30)
rtk (0, 2015-08-30)
rtk\base.csv (135000, 2015-08-30)
rtk\base.nav (8231, 2015-08-30)
rtk\base.obs (268485, 2015-08-30)
rtk\base.ubx (197732, 2015-08-30)
rtk\rover.csv (135000, 2015-08-30)
rtk\rover.nav (8231, 2015-08-30)
rtk\rover.obs (246091, 2015-08-30)
rtk\rover.ubx (180948, 2015-08-30)
rtk\rtklib (0, 2015-08-30)
rtk\rtklib\gndtrk.png (21124, 2015-08-30)
rtk\rtklib\option1.png (20522, 2015-08-30)
rtk\rtklib\option2.png (19157, 2015-08-30)
rtk\rtklib\option3.png (20494, 2015-08-30)
rtk\rtklib\option4.png (19111, 2015-08-30)
rtk\rtklib\position.png (26216, 2015-08-30)
rtk\rtklib\residual.png (30039, 2015-08-30)
rtk\rtklib\rtkpost.png (23242, 2015-08-30)
satellite.csv (54000, 2015-08-30)
satgen (0, 2015-08-30)
satgen\Makefile (185, 2015-08-30)
satgen\google_earth_kml.png (1209288, 2015-08-30)
satgen\google_earth_path.png (1051602, 2015-08-30)
satgen\nmea2um.c (2599, 2015-08-30)
... ...
# GPS-SDR-SIM
GPS-SDR-SIM generates GPS baseband signal data streams, which can be converted
to RF using software-defined radio (SDR) platforms, such as
[bladeRF](http://nuand.com/), [HackRF](https://github.com/mossmann/hackrf/wiki), and [USRP](http://www.ettus.com/).
### Windows build instructions
1. Start Visual Studio.
2. Create an empty project for a console application.
3. On the Solution Explorer at right, add "gpssim.c" and "getopt.c" to the Souce Files folder.
4. Select "Release" in Solution Configurations drop-down list.
5. Open the Property Pages dialog box and expand the Configuration Properties.
6. Expand the C/C++ node and select the Language property page.
7. Enable the OpenMP Support (/openmp).
8. Build the solution.
### Building with GCC
```
$ gcc gpssim.c -lm -fopenmp -o gps-sdr-sim
```
### Generating the GPS signal file
A user-defined trajectory can be specified in either a CSV file, which contains
the Earth-centered Earth-fixed (ECEF) user positions, or an NMEA GGA stream.
The sampling rate of the user motion has to be 10Hz.
The user is also able to assign a static location directly through the command line.
The user specifies the GPS satellite constellation through a GPS broadcast
ephemeris file. The daily GPS broadcast ephemers file (brdc) is a merge of the
indiviual site navigation files into one. The archive for the daily file is:
[ftp://cddis.gsfc.nasa.gov/gnss/data/daily/](ftp://cddis.gsfc.nasa.gov/gnss/data/daily/)
These files are then used to generate the simulated pseudorange and
Doppler for the GPS satellites in view. This simulated range data is
then used to generate the digitized I/Q samples for the GPS signal.
The bladeRF command line interface requires I/Q pairs stored as signed
16-bit integers, while the hackrf_transfer and gps-sdr-sim-uhd.py
supports signed bytes.
HackRF and bladeRF require 2.6 MHz sample rate, while the USRP2 requires
2.5 MHz (an even integral decimator of 100 MHz).
```
Usage: gps-sdr-sim [options]
Options:
-e RINEX navigation file for GPS ephemerides (required)
-u User motion file (dynamic mode)
-g NMEA GGA stream (dynamic mode)
-l Lat,Lon,Hgt (static mode) e.g. 30.286502,120.032669,100
-o
近期下载者:
相关文件:
收藏者: