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

基于89C55WD单片机的32位高精度计时器
引用本文:党力明,何峰,段琳琳,陈楚湘.基于89C55WD单片机的32位高精度计时器[J].测绘科学技术学报,2007,24(5):346-348.
作者姓名:党力明  何峰  段琳琳  陈楚湘
作者单位:信息工程大学,理学院,河南,郑州,450001;信息工程大学,测绘学院,河南,郑州,450052
摘    要:针对实际测试工作的需要,为了精确测量连续脉冲信号的间隔时间,提出了一种利用两个32位计时器进行连续脉冲间隔时间的测量方法.这两个32位计时器是由89C55WD单片机内部的两个16位定时器/计数器扩展而成的.首先,将输入的信号经过高速光耦合器和采样电路处理;然后,89C55WD在中断方式下利用两个32位计时器交替对连续脉冲信号的间隔时间进行测量.通过合理分配中断资源,保证了装置工作的可靠性.该装置结构简单,频率范围广,并且达到了较高的精度,经过实际测量完全可以满足要求.

关 键 词:计时器  时间测量  单片机  光耦合器  中断源
文章编号:1673-6338(2007)05-0346-03
收稿时间:2007-03-12
修稿时间:2007-06-23

32-Bit High-Precision Timer Based on the 89C55WD Single-Chip
DANG Li-ming,HE Feng,DUAN Lin-lin,CHEN Chu-xiang.32-Bit High-Precision Timer Based on the 89C55WD Single-Chip[J].Journal of Zhengzhou Institute of Surveying and Mapping,2007,24(5):346-348.
Authors:DANG Li-ming  HE Feng  DUAN Lin-lin  CHEN Chu-xiang
Institution:1. Institute of Science, Information Engineering University, Zhengzhou 450001, China; 2. Institute of Surveying and Mapping, Information Engineering University, Zhengzhou 450052, China
Abstract:According to the operational need of daily survey works, in order to precision measuring seriate pulse time interval, this research paper introduced a measuring method of seriate pulse time interval that utilizes two 32-bit timers, these two 32-bit timers were extending of two 16-bit timer/counters within the 89C55WD single-chip structure. First the input signal processed by the high-speed optocoupler and the sample circuit, then 89C55WD using two 32- bit timers surveyed time interval of the seriate pulse in interrupt mode. Through the rational distribution interrupt resources, it guaranteed the reliability of the device. This device structure was simple, the frequency range was broad, and it achieved the high precision, it satisfied the entire request after the actual survey.
Keywords:timer  time measurement  single-chip  optocoupler  interrupt source
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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