【vc++精品源码栏目提醒】:网学会员--在 vc++精品源码编辑为广大网友搜集整理了:基于单片机的GPS高精度授时时钟设计 - 电子电信绩等信息,祝愿广大网友取得需要的信息,参考学习。
学士学位毕业设计(论文) 基于单片机的 GPS 高精度 授时时钟设计 学生姓名: 指导教师: 所在学院: 专 业:农业电气化 摘要 本文设计了一种基于 P89LPC952 高速单片机的 GPS 卫星授时时钟。
它由接收机、中央处理单元、LCM 显示、键盘、输出接口组成。
利用接收机提供的标准时间信号,通过中央处理单元对数据的处理,从而可同步输出时间数据,保证高精度授时。
这不仅解决了时间获取问题,而且能真正实现全球范围内的时间校准。
更创新性地集成了全世界 212 个城市的实时时间显示。
与传统方法相比,这种全新的时钟同步方法具有实现手段简单、精度高、范围大、不需通道联系、不受地理和气候条件限制等众多优点,是时钟同步的理想方法。
本文介绍了基于 P89LPC952 的 GPS 授时时钟装置的硬件;根据装置要实现的功能,给出了主程序和中断程序的流程图和程序介绍。
关键词:授时时钟 P89LPC952 GPS 中央处理单元 ABSTRACT ABSTRACT A kind of GPS satellite timing clock based on the P89LPC952 High-speedMCU is recommended in the following thesis. It is composed of receptors、centralproceeding sections LCM keyboard and output connectors. The centralproceeding section could deal with the data to make the output time data by use ofthe standard time signals supplied by receptors thus keeping highly precisiontiming. By this way not only solve the problem of the time obtained but also thetime in the worldwide is really completely unified. Even more creativelyintegrates 212 cities of the world wide’s real-time display. Compared withconventional method this new synchronous clock plan has many advantages suchas simple high precision wide extension no channels needed no confine ofgeography and weather environment and so on. It is the ideal way to synchronizethe clock. In the following paper represent the hardware of the GPS timing clockbased on the P89LPC952 High-speed MCU. According to the function of thedevice list the flow chart of the main program and the interrupt program and theintroduction of those programs.Keywords: Timing clock P89LPC952 GPS Central proceeding section 目录 目录摘要 ........................................................................................................IIABSTRACT .......................................................................................... III前言 ...................................................................................................... IV1.绪论 ..................................................................................................... 1 1.1 设计提出的意义 ............................................................................ 1 1.2 课题主要内容 ................................................................................ 12.系统设计基础 ...................................................................................... 2 2.1 设计思想........................................................................................ 2 2.2 方案选择........................................................................................ 2 2.3 本章小结........................................................................................ 33.系统组成原理及硬件设计 .................................................................. 4 3.1 系统的组成和原理 ........................................................................ 4 3.2 硬件电路的设计 ............................................................................ 4 3.3 本章小结...................................................................................... 104.软件设计 ........................................................................................... 11 4.1 软件系统结构 .............................................................................. 11 4.2 主要算法设计 .............................................................................. 12 4.3 本章小结...................................................................................... 155.PCB 设计、组装及调试 .................................................................... 16 5.1 PCB 的设计 ................................................................................. 16 5.2 PCB 焊接组装 ............................................................................. 17 5.3 电路的调试 .................................................................................. 17 5.4 本章小结...................................................................................... 18结论 ...................................................................................................... 19参考文献 .............................................................................................. 20致谢 ...................................................................................................... 21附录 1 系统原理图 ............................................................................. 22附录 2 主要源代码 .............................................................................. 23 前言 前言 20 世纪 70 年代的计算机革命产生了一群新的时间用户,他们需要精确的计算机时间。
但是,众所周知,计算机时钟的守时性能并不出色。
通常,简单的时钟如腕表和家里的挂钟的性能要好于计算机时钟。
这种计算机时钟的性能会导致很多问题, 因为有很多计算机应用需要时间精度保持在接近 1s 或更好。
例如,出于安全原因,用于金融系统的计算机必须能够精确记录每次转账、交易的精确时间。
同样,用于电信计费的计算机,它不仅要求单机能够准确记录通信的时间, 还要求另外城市的计算机能够保持时间同步, 才能保证网间结算不会出问题。
用于精确物理测量获得科学数据的计算机系统需要知道测量的精确时刻, 全自动化工业系统也需要计算机在正确的时刻发出控制指令。
对同步通信系统,如无线电台、电视基站,需要计算机在正确的时间建立链路连接。
授时系统就是使仪器或计算机与国际标准时间达到精确同步。
通常,可以用原子钟来保证仪器的时间与国标时间达到精确同步,但是原子钟价格昂贵。
这里介绍一种简单、相对廉价的时间同步方法。
利用全球定位系统提供的时间信号和秒脉冲,通过软件可以使计算机的
上一篇:
使用PDB调试PYTHON程序
下一篇:
白色姜花,略微开了