›› 2014, Vol. 27 ›› Issue (3): 126-.

• 论文 • 上一篇    下一篇

  

  1. (中国空空导弹研究院 12所,洛阳 471009)
  • 出版日期:2014-03-15 发布日期:2014-03-11
  • 作者简介:山清(1984—),男,硕士,助理工程师。研究方向:武器系统总体设计。E-mail:soledadshan@foxmail.com

Design of a General Timer Based on Auxiliary Clock in VxWorks

SHAN Qing   

  1. (No.12 Institute,China Airborne Missile Academy,Luoyang 471009,China)
  • Online:2014-03-15 Published:2014-03-11

摘要:

VxWorks操作系统以其强实时性、可剪裁性等特点得到了广泛应用,但其并未提供通用的定时器模块。为解决某机载发射装置控制盒中VxWorks系统的精确定时问题,文中在分析多种定时方式的基础上,利用辅助时钟中断,通过创建定时节点,构造节点链表,设计了基于辅助时钟的通用定时器模块。经测试表明,该模块实现了毫秒级定时,满足了某发射装置的定时需求,并为今后类似系统的精确定时需求提供了方便。

关键词: VxWorks, 通用定时器, 辅助时钟

Abstract:

The OS of VxWorks finds wide applications owing to its good real-time performance and  flexibility,but it dose not offer a common timer.This paper designs a common timer module based on auxiliary clock on the base of analyzing of several timers by utilizing interrupt of auxiliary clock and creating time-node and node list for an accurate timer for VxWorks system in certain airborne launcher's controller.Testing results show that the common timer module realizes the ms-timer,which satisfies the requirement of accurate timer for certain airborne launcher's controller.

Key words: VxWorks;common timer;auxiliary clock

中图分类号: 

  • TP316