首页 | 本学科首页   官方微博 | 高级检索  
     

软件定时器的实现
引用本文:吴林平,胡仁杰,徐达银.软件定时器的实现[J].工业控制计算机,2002,15(11):46-48.
作者姓名:吴林平  胡仁杰  徐达银
作者单位:东南大学电气工程系 210096
摘    要:本介绍了软件定时器的概念、特点和作用,提出了两种实现方法:标志建立法和次数经过法,还分析了时基小、程序执行周期长和累计计时这两种条件下软件定时器产生较大误差的原因,并讨论了减小误差的解决方案。

关 键 词:软件定时器  微机系统  时基  时间累计  CPU

Realization of Soft Timer
Wu Linping et al.Realization of Soft Timer[J].Industrial Control Computer,2002,15(11):46-48.
Authors:Wu Linping
Affiliation:Wu Linping et al
Abstract:This paper introduces the basic concept,trait and function of soft timer,and puts forward two kinds of realization:setting flag s and counting times.It also analyses the reason why soft timer bring big g er error when it meets the following two instances:timebase is short while running cycle is long and time should be cumu-lated,then the paper discusses the improved methods to minimize these errors.
Keywords:soft timer  timebase  time  cumulation  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号