首页 | 官方网站   微博 | 高级检索  
     

基于单片机和8254计数器的电机转速测量方法
引用本文:刘锋,许飞云,贾民平.基于单片机和8254计数器的电机转速测量方法[J].机械制造与自动化,2007,36(4):104-106.
作者姓名:刘锋  许飞云  贾民平
作者单位:东南大学,机械工程学院,江苏,南京,211189
摘    要:通过单片机扩展8254计数器、采用变周期算法实现电机转速的高精度和实时测量.介绍了测速电路组成及8254的主要工作方式和控制命令;分析了测频率法和测周期法两种转速测量方法的理论误差,结合单片机系统特点和具体的测量要求,把测速范围分为高低两个区间,应用不同的8254工作状态,使测量结果完全满足精度需求,具有占系统资源少、算法简单和反应快的特点.

关 键 词:电机转速测量  单片机  8254计数器  单片机  计数器  电机转速  测量方法  Timer  Interval  Microcontroller  Based  Speed  Motor  Method  of  反应  算法  系统资源  需求  完全  测量结果  工作状态  应用  区间
文章编号:1671-5276(2007)04-0104-03
修稿时间:2007-03-09

Measurement Method of Motor Speed Based on Microcontroller and 8254 Interval Timer
LIU Feng,XU Fei-yun,JIA Min-ping.Measurement Method of Motor Speed Based on Microcontroller and 8254 Interval Timer[J].Machine Building & Automation,2007,36(4):104-106.
Authors:LIU Feng  XU Fei-yun  JIA Min-ping
Affiliation:School of Mechanical Engineering, Southeast University, Nanjing 211189, China
Abstract:The speed measurement circuit is typically composed of a microcontroller and 8254 Interval timer, and the alterable sample periods algorithm is applied, which could realize high-accurate and real-time measurements. The modes and control words of 8254 timer are introduced. Two measurement algorithm are compared, a simplified method based on the characteristics of microcontrollers and the measurement specifications is proposed, which had the features of less resources occupation, simple algorithm and alterable modes of 8254 timer as the motor speed changing.
Keywords:motor speed measurement  microcontroller  8254 interval timer
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号