GPS北斗双模技术应用开发研究--几个基本关键词

最近在调试GPS北斗双模,目前已经都调试通了,下面就来说一下涉及的几个关键词。

GPS:   GPS是英文Global Positioning System(全球定位系统)的简称。GPS起始于1958年美国军方的一个项目,1964年投入使用。20世纪70年代,美国陆海空三军联合研制了新一代卫星定位系统GPS 。主要目的是为陆海空三大领域提供实时、全天候和全球性的导航服务,并用于情报搜集、核爆监测和应急通讯等一些军事目的,经过20余年的研究实验,耗资300亿美元,到1994年,全球覆盖率高达98%的24颗GPS卫星星座己布设完成。

NMEA协议:做导航定位方面的通讯协议,一般都指的NMEA0813,它是NMEA协议的一种,NMEA是为了在不同的全球定位系统导航设备中建立统一的海事无线电技术委员会(BTCM)标准,是国际海洋电子协会(National Marine Electronics Association,NMEA)定义的接收机输出信息标准。它有几个关键的标准语句如下:

$GPGGA (GGA2Global Positioning System Fix Data)
$GPGLL (Geographic Position – Latitude/Longitude)
$GPGSA (GPS DOP and active satellites)
$GPGSV (Satellites in view)
$GPRMC (Recommended Minimum Navigation Information)
$GPVTG (Track made good and Ground speed)
    北斗:北斗即北斗卫星导航系统﹝BeiDou Navigation Satellite System,英文缩写BDS﹞是中国正在实施的自主发展、独立运行的全球卫星导航系统。系统建设目标是:建成独立自主、开放兼容、技术先进、稳定可靠的覆盖全球的北斗卫星导航系统,促进卫星导航产业链形成,形成完善的国家卫星导航应用产业支撑、推广和保障体系,推动卫星导航在国民经济社会各行业的广泛应用。

以上资料都是来至于网上资料,稍微整理了一下。也稍稍打下也基础。

GPS北斗模块输出的都是符合NMEA0183协议的语句,这些语句的格式都是确定了的,这样大家接收到以后才能解析好,下面贴一段双模输出的log看看,有个初步印象:

$GNGGA,033318.000,2234.6973,N,11355.2708,E,1,12,0.8,55.57,M,-2.7,M,0.0,0000,1.4*72
$GNGLL,2234.6973,N,11355.2708,E,033318.000,A,0*3E
$GPGSA,A,3,05,02,13,10,17,12,06,25,09,26,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,,,,,,,,,,,1.5,0.8,1.4,0.8*27
$GPGSV,3,1,10,10,56,021,42,05,55,255,44,02,46,340,42,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,42,12,34,276,41,17,33,131,41,09,23,054,34*70
$GPGSV,3,3,10,26,13,184,33,25,11,309,35*78
$BDGSV,2,1,06,08,73,098,35,03,62,188,35,09,59,241,25,01,49,130,22*6D
$BDGSV,2,2,06,04,32,111,34,10,03,198,34*68
$GNRMC,033318.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*45
$RUANT,2*42
$GNGGA,033319.000,2234.6973,N,11355.2708,E,1,13,0.8,55.57,M,-2.7,M,0.0,0000,1.4*72
$GNGLL,2234.6973,N,11355.2708,E,033319.000,A,0*3F
$GPGSA,A,3,05,13,02,10,17,12,06,25,09,26,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,01,,,,,,,,,,1.5,0.8,1.4,0.8*26
$GPGSV,3,1,10,10,56,021,41,05,55,255,44,02,46,340,41,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,41,12,34,276,41,17,33,131,41,09,23,054,34*73
$GPGSV,3,3,10,26,13,184,33,25,11,309,35*78
$BDGSV,1,1,04,03,62,188,34,01,49,130,22,04,32,111,33,10,03,198,34*62
$GNRMC,033319.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*44
$RUANT,2*42
$GNGGA,033320.000,2234.6973,N,11355.2708,E,1,13,0.8,55.57,M,-2.7,M,0.0,0000,1.4*78
$GNGLL,2234.6973,N,11355.2708,E,033320.000,A,0*35
$GPGSA,A,3,05,13,02,10,17,12,06,25,09,26,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,01,,,,,,,,,,1.5,0.8,1.4,0.8*26
$GPGSV,3,1,10,10,56,021,41,05,55,255,44,02,46,340,41,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,41,12,34,276,41,17,33,131,41,09,23,054,34*73
$GPGSV,3,3,10,26,13,184,33,25,11,309,35*78
$BDGSV,1,1,04,03,62,188,34,01,49,130,23,04,32,111,32,10,03,198,33*65
$GNRMC,033320.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4E
$RUANT,2*42
$GNGGA,033321.000,2234.6973,N,11355.2708,E,1,13,0.7,55.57,M,-2.7,M,0.0,0000,1.3*71
$GNGLL,2234.6973,N,11355.2708,E,033321.000,A,0*34
$GPGSA,A,3,05,13,02,10,17,12,06,25,09,26,,,1.5,0.7,1.3,0.8*34
$BDGSA,A,3,01,03,04,,,,,,,,,,1.5,0.7,1.3,0.8*2E
$GPGSV,3,1,10,10,56,021,41,05,55,255,44,02,46,340,41,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,41,12,34,276,41,17,33,131,41,09,23,054,34*73
$GPGSV,3,3,10,26,13,184,34,25,11,309,35*7F
$BDGSV,1,1,04,03,62,188,39,01,49,130,33,04,32,111,37,10,03,198,33*6C
$GNRMC,033321.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4F
$RUANT,2*42
$GNGGA,033322.000,2234.6973,N,11355.2708,E,1,13,0.7,55.57,M,-2.7,M,0.0,0000,1.3*72
$GNGLL,2234.6973,N,11355.2708,E,033322.000,A,0*37
$GPGSA,A,3,05,02,13,10,17,12,06,25,09,26,,,1.5,0.7,1.3,0.8*34
$BDGSA,A,3,01,03,04,,,,,,,,,,1.5,0.7,1.3,0.8*2E
$GPGSV,3,1,10,10,56,021,41,05,55,255,44,02,46,340,42,06,41,043,39*76
$GPGSV,3,2,10,13,40,140,42,12,34,276,41,17,33,131,41,09,23,054,34*70
$GPGSV,3,3,10,26,13,184,34,25,11,309,35*7F
$BDGSV,1,1,04,03,62,188,39,01,49,130,32,04,32,111,38,10,03,198,34*65
$GNRMC,033322.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4C
$RUANT,2*42
$GNGGA,033323.000,2234.6973,N,11355.2708,E,1,13,0.7,55.57,M,-2.7,M,0.0,0000,1.3*73
$GNGLL,2234.6973,N,11355.2708,E,033323.000,A,0*36
$GPGSA,A,3,05,02,13,10,17,12,06,26,25,09,,,1.5,0.7,1.3,0.8*34
$BDGSA,A,3,01,03,04,,,,,,,,,,1.5,0.7,1.3,0.8*2E
$GPGSV,3,1,10,10,56,021,41,05,55,255,44,02,46,340,42,06,41,043,39*76
$GPGSV,3,2,10,13,40,140,42,12,34,276,41,17,33,131,41,09,23,054,34*70
$GPGSV,3,3,10,26,13,184,35,25,11,309,35*7E
$BDGSV,1,1,04,03,62,188,39,01,49,130,31,04,32,111,37,10,03,198,34*69
$GNRMC,033323.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4D
$RUANT,2*42
$GNGGA,033324.000,2234.6973,N,11355.2708,E,1,12,0.8,55.57,M,-2.7,M,0.0,0000,1.4*7D
$GNGLL,2234.6973,N,11355.2708,E,033324.000,A,0*31
$GPGSA,A,3,05,02,13,10,12,17,06,26,25,09,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,,,,,,,,,,,1.5,0.8,1.4,0.8*27
$GPGSV,3,1,10,10,56,021,42,05,55,255,44,02,46,340,42,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,42,12,34,276,41,17,33,131,42,09,23,054,35*72
$GPGSV,3,3,10,26,13,184,36,25,11,309,35*7D
$BDGSV,1,1,04,08,73,098,37,03,62,188,39,04,32,111,37,10,03,198,34*6C
$GNRMC,033324.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4A
$RUANT,2*42
$GNGGA,033325.000,2234.6973,N,11355.2708,E,1,12,0.8,55.57,M,-2.7,M,0.0,0000,1.4*7C
$GNGLL,2234.6973,N,11355.2708,E,033325.000,A,0*30
$GPGSA,A,3,05,02,13,12,17,10,06,26,25,09,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,,,,,,,,,,,1.5,0.8,1.4,0.8*27
$GPGSV,3,1,10,10,56,021,42,05,55,255,44,02,46,340,42,06,41,043,39*75
$GPGSV,3,2,10,13,40,140,42,12,34,276,42,17,33,131,42,09,23,054,35*71
$GPGSV,3,3,10,26,13,184,36,25,11,309,35*7D
$BDGSV,2,1,05,08,73,098,38,03,62,188,39,09,59,241,41,04,32,111,38*6C
$BDGSV,2,2,05,10,03,198,34*58
$GNRMC,033325.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*4B
$RUANT,2*42
$GNGGA,033326.000,2234.6973,N,11355.2708,E,1,12,0.8,55.57,M,-2.7,M,0.0,0000,1.4*7F
$GNGLL,2234.6973,N,11355.2708,E,033326.000,A,0*33
$GPGSA,A,3,05,02,13,10,17,12,06,26,25,09,,,1.5,0.8,1.4,0.8*3C
$BDGSA,A,3,03,04,,,,,,,,,,,1.5,0.8,1.4,0.8*27
$GPGSV,3,1,10,10,56,021,42,05,55,255,45,02,46,340,42,06,41,043,39*74
$GPGSV,3,2,10,13,40,140,42,12,34,276,42,17,33,131,42,09,23,054,35*71
$GPGSV,3,3,10,26,13,184,37,25,11,309,35*7C
$BDGSV,2,1,06,03,62,188,40,09,59,241,40,01,49,130,41,04,32,111,38*6D
$BDGSV,2,2,06,05,23,255,37,10,03,198,34*69
$GNRMC,033326.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*48
$RUANT,2*42
$GNGGA,033327.000,2234.6973,N,11355.2708,E,1,14,0.7,55.57,M,-2.7,M,0.0,0000,1.3*70
$GNGLL,2234.6973,N,11355.2708,E,033327.000,A,0*32
$GPGSA,A,3,05,02,13,10,17,12,06,26,25,09,,,1.5,0.7,1.3,0.8*34
$BDGSA,A,3,01,03,04,05,,,,,,,,,1.5,0.7,1.3,0.8*2B
$GPGSV,3,1,10,10,55,021,42,05,55,256,45,02,47,341,43,13,41,139,42*71
$GPGSV,3,2,10,06,41,044,39,12,34,275,42,17,32,132,42,09,22,053,35*7A
$GPGSV,3,3,10,26,14,184,37,25,11,308,35*7A
$BDGSV,2,1,06,03,62,188,41,01,49,130,41,02,34,247,35,04,32,111,39*69
$BDGSV,2,2,06,05,23,255,37,10,03,198,35*68
$GNRMC,033327.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*49
$RUANT,2*42
$GNGGA,033328.000,2234.6973,N,11355.2708,E,1,14,0.7,55.57,M,-2.7,M,0.0,0000,1.3*7F
$GNGLL,2234.6973,N,11355.2708,E,033328.000,A,0*3D
$GPGSA,A,3,05,02,13,10,17,12,06,26,25,09,,,1.5,0.7,1.3,0.8*34
$BDGSA,A,3,01,03,04,05,,,,,,,,,1.5,0.7,1.3,0.8*2B
$GPGSV,3,1,10,10,55,021,42,05,55,256,45,02,47,341,43,13,41,139,42*71
$GPGSV,3,2,10,06,41,044,39,12,34,275,42,17,32,132,42,09,22,053,35*7A
$GPGSV,3,3,10,26,14,184,38,25,11,308,35*75
$BDGSV,2,1,06,03,62,188,40,01,49,130,41,02,34,247,36,04,32,111,38*6A
$BDGSV,2,2,06,05,23,255,36,10,03,198,35*69
$GNRMC,033328.000,A,2234.6973,N,11355.2708,E,0.000,50.711,281114,,,A*46
$RUANT,2*42

下一篇文章来解析这些log。

时间: 2024-10-25 21:09:01

GPS北斗双模技术应用开发研究--几个基本关键词的相关文章

GPS北斗双模技术应用开发研究—应用数据交互

GPS北斗双模技术应用开发研究-应用数据交互 Android开发原则就是谁对哪个数据感兴趣就可以通过listener去监听一下,那边定位数据肯定也是这样的,关于位置上报的话,笔者不准备在这累赘了,网上好多文章,下面就讲一下双模相关的北斗gps卫星星图搜星具体情况的数据上报以及私有协议的定制. 在locationmanager里面有一个接口addGpsStatusListener,在应用里通过这个接口把listen传下去,这中间有很多过程,最终这个listener在location的provide

GPS北斗双模技术应用开发研究—数据结构扩展

GPS北斗双模技术应用开发研究-数据结构扩展 还是从gps.h头文件入手,首先 GpsSvStatus结构体需要改造,GpsSvStatus当时设计的时候是考虑存储gps卫星信息的,但是我们现在是要存储双模的数据,因此我们需要扩展这个数据结构,那怎么扩展呢? 当然要代价小一点,不能完全推倒重来的,笔者想到的就是增加一个北斗卫星数量的变量,以及北斗的epemeris.almanac.还有一个定位的mask,以前数据结构里面的成员全部用着gps存储,这样就相互独立了,但是sv_list笔者就偷懒共用

GPS北斗双模技术应用开发研究--数据解析

上一篇文章大家介绍了几个重要的概念,那下面我们就来解析一下这样的双模输出log,在解析之前我们来看看各个重要标准字段的意义.笔者在实际开发中只用到了其中的四个,分别是GGA,GSA,GSV,RMC,GLL,当然还有其他一些字段,感觉有些是重复的,根据需要解析就好了.下面就分别介绍一下: $XXGGA,(1),(2),(3),(4),(5),(6),(7),(8),(9),M,(10),M,(11),(12)*hh(CR)(LF) 各部分所对应的含义为: (1)定位UTC时间:05时09分01秒

SYN2306A型 GPS北斗双模授时板

SYN2306A型 GPS北斗双模授时板 产品概述 SYN2306A型GPS北斗双模授时板是由西安同步电子科技有限公司精心设计.自行研发生产的一款双模授时板卡,接收北斗或者GPS北斗混合授时卫星信号,使用北斗定时信号对本机进行时间同步,产生串口时间信息信号和1PPS(秒信号)同步脉冲信号,是建立时间尺度.实现时间统一同步的实用授时板卡. 产品功能 1)   单芯片支持BD2/GPS功能,无需外接CPU即可直接输出NMEA数据: 2)   支持单系统独立定位和多系统联合定位 3)   使用GPS/

上海华测中标缅甸520台北斗GPS RTK双模接收机项目

上海华测导航技术有限公司(下称"上海华测")近日中标缅甸农业部520台套北斗/GPS双模卫星导航实时动态差分接收机,将应用于缅甸农业数据的采集统计.土地估值和土地管理等方面. 此前,缅甸国家农业部曾向全球公开招标采购高精度全球卫星导航定位系统接收机. 上海华测专注于国产GNSS研发.生产.及销售,主要为客户提供高精度单频测量型GNSS接收机.双频实时动态GNSS接收机.GNSS姿态测量系统.手持GIS终端.无线数传产品和水上测量产品等,是中国第一台双频毫米级GNSS测量接收机和国内第一

荣品电子2代三星六核5260开发板支持GPS+北斗4G上网蓝牙4.0

荣品2代三星六核Exynos5260开发板搭配Android4.4.2+10.1寸IPS液晶屏(1920*1200),运行主频1300MHz~1700MHz:2G DDR3内存+16G EMMC存储,800W自动对焦摄像头,支持UBS3.0.GPS+北斗.4G上网(包括移动.联通.电信),蓝牙4.0 产品名称:RP5260开发板(4G全功能版) 产品型号:RP5260-4G 核心板型号:RP5260核心板(2G内存+16G存储) RP-Exynos5260开发板评估板是荣品电子于15年初发布的一

gps/北斗开发的历程

我们是NS团队(扣Q:33504767)2005年成立于北京市中关村,是一家专注于移动互联网整体服务的团队,在GPS/北斗等应用领域处于领先地位.2011年2月成立专业的手机应用程序开发组:提供iPhone.iPad.andriod/pad App.微信.html5,为企业用户提供全套定制解决方案.2005年推出c/s架构下的车载GPS监控系统:2008年推出B/S架构(.net)下的车载GPS监控系统:2011年推出基于B/S架构(java)体系+Android的车载GPS监控系统2013年推

用“MEAN”技术栈开发web应用(三)用mongodb搭建数据库

上一篇介绍了如何用express搭建起服务端MVC的开发架构,本篇我们来详细介绍一下这个Model层,也就是数据库访问层.包含如何使用mongodb搭建数据库,以及如何使用mongoose来访问数据. mongodb的安装和启动 首先我们得安装mongodb,先去官网( http://www.mongodb.org/downloads)下载安装包,我的开发环境是Windows,所以下载Windows下的iso文件,根据提示一路安装完毕即可,没什么需要特别选择的. 安装完后,为了能在cmd中全局都

用“MEAN”技术栈开发web应用(一)AngularJs前端架构

前言 不知何时突然冒出“MEAN技术栈”这个新词,听起来很牛逼的样子,其实就是我们已经熟悉了的近两年在前端比较流行的技术,mongodb.express.angularjs.nodejs,由于这几项技术涵盖了从前端到后端再到数据库,可以用他们完整的开发一个web应用了,所以成了一个非常牛逼的组合,颇有当年LAMP的气势.前端要从切图仔迈向全栈的路上,这几门技术必须得有所涉猎.本系列文章利用自己虚构的一个小项目为例,对“使用MEAN技术栈开发web应用”做一个入门级的介绍. AngularJs的争