引用本文:贺良华,张杰,游钊.基于FPGA的NMEA解码和校正的算法设计[J].电力自动化设备,2010,(2):
.Algorithm design of NMEA decoding and correction based on FPGA[J].Electric Power Automation Equipment,2010,(2):
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3576次   下载 1  
基于FPGA的NMEA解码和校正的算法设计
贺良华,张杰,游钊
作者单位
摘要:
针对目前全球定位系统(GPS)在NMEA-0183码解码及其授时系统校正电路复杂、难以提高精度的不足之处,提出了一种完全用FPGA来实现NMEA码解码、校正的方法。该解码算法以NMEA-0183协议定义的语句格式为基础,根据GPS输入秒脉冲的上升沿,循环判断码的帧起始位、帧状态、帧结束位标志,直至完成正确解码;校正算法则用线性预测理论,以最小预测误差为原则,对前一时间段的系统时间进行加权计算,在当前时刻出现丢码、误码或不能正常工作时,则以该计算值为当前系统时间的预测值来校正和维持系统时间。用硬件描述语言对该解码、校正算法编程,并在一块FPGA芯片内部生成硬件电路。仿真与硬件测试结果证明算法精确有效,经济实用,稳定性好。
关键词:  FPGA  NMEA码  解码  线性预测  校正  
DOI:
分类号:P228.4
基金项目:
Algorithm design of NMEA decoding and correction based on FPGA
HE Lianghua  ZHANG Jie  YOU Zhao
Abstract:
As the decoding and timing circuits of current GPS with NMEA-code are too complicated to increase its time precision,a FPGA-based decoding and timing way is proposed,which,based on NMEA-0183 protocol,detects cyclically the start bit,status bit and ending bit of NMEA code frame according to the uprising edge of second pulse from GPS till the accomplishment of precise decoding. Based on the theory of linear prediction and with the principle of minimal prediction error,the correction algorithm carries out the ...
Key words:  FPGA  NMEA-code  decoding  linear prediction  correction  

用微信扫一扫

用微信扫一扫