基于89C55WD单片机的32位高精度计时器  被引量:4

32-Bit High-Precision Timer Based on the 89C55WD Single-Chip

在线阅读下载全文

作  者:党力明[1] 何峰[2] 段琳琳[1] 陈楚湘[1] 

机构地区:[1]信息工程大学理学院,河南郑州450001 [2]信息工程大学测绘学院,河南郑州450052

出  处:《测绘科学技术学报》2007年第5期346-348,共3页Journal of Geomatics Science and Technology

摘  要:针对实际测试工作的需要,为了精确测量连续脉冲信号的间隔时间,提出了一种利用两个32位计时器进行连续脉冲间隔时间的测量方法。这两个32位计时器是由89C55WD单片机内部的两个16位定时器/计数器扩展而成的。首先,将输入的信号经过高速光耦合器和采样电路处理;然后,89C55WD在中断方式下利用两个32位计时器交替对连续脉冲信号的间隔时间进行测量。通过合理分配中断资源,保证了装置工作的可靠性。该装置结构简单,频率范围广,并且达到了较高的精度,经过实际测量完全可以满足要求。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.

关 键 词:计时器 时间测量 单片机 光耦合器 中断源 

分 类 号:TM935.15[电气工程—电力电子与电力传动]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象