Linux下的PCIE同步时钟卡的设备驱动程序开发
CSTR:
作者:
作者单位:

(华中科技大学 自动化学院,武汉 430074)

作者简介:

杨兵见(1990-),男,湖北省荆州市人,硕士研究生,主要从事同步时钟源、检测技术、嵌入式软件方向的研究。[FQ)]

通讯作者:

中图分类号:

基金项目:


Device Driver Development of PCIE Synchronous Clock Card Based on Linux
Author:
Affiliation:

(College of Automation,Huazhong University of Science and Technology, Wuhan 430074, China)

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了给系统提供准确的同步时间,向各种自动化装置(如故障录波和数据采集等设备)提供高精度同步绝对时标,能够统一系统中各部分的时间基准,可以在系统发生故障后,为分析故障的情况及开关动作的先后次序提供有力的依据;因此设计了GPS+北斗双系统接收机制作而成的同步时钟源,可接收美国GPS(全球定位系统)卫星和我国北斗卫星发出的定位和时间信息;采用了当今计算机最新PCIE总线用来将计算机与时钟卡进行通讯,获取时间信息;介绍了Linux下PCIE同步时钟卡的驱动程序设计,简要分析了同步时钟卡的系统框架和工作原理,详细阐述了Linux下字符设备驱动开发流程,最后完成了Linux下PCIE设备驱动程序的开发和实现;通过实验验证了驱动程序的完备性和正确性,能够准确读取GPS或者是北斗系统接收机的时间信息。

    Abstract:

    In order to provide the system accurate synchronization time and offer the high precision synchronous absolute time scale to most automation devices(such as fault wave record and data acquisition device),it can unite time benchmark for the parts in the system and also provide powerful basis with failure analysis and switch action sequence after system failure.Therefore, synchronous clock source is made based on the GPS and China's Beidou receiver double system which can receive the GPS(global positioning system) satellites and China's Beidou satellites positioning and timing information. The latest PCIE bus is designed to communicate and obtain time information with PC and synchronous clock source.This paper introduced driver programming development for the PCIE synchronous clock card based on Linux.It briefly analyses the synchronous clock card system framework and its working principle and reveals the Linux character device driver development process. Finally it achieves PCIE device driver development and implementation based on Linux operating system. The driver’s completeness and correctness are verified by experiment and can accurately read GPS receiver or Beidou system time information.

    参考文献
    相似文献
    引证文献
引用本文

杨兵见,魏丰,陈永志. Linux下的PCIE同步时钟卡的设备驱动程序开发计算机测量与控制[J].,2017,25(1):98-100, 104.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2016-08-01
  • 最后修改日期:2016-09-06
  • 录用日期:
  • 在线发布日期: 2017-05-31
  • 出版日期:
文章二维码