单片机检测电机频率c语言,基于51单片机的电动机测速表的设计.doc
基于51單片機的電動機測速表的設計
基于51單片機的電動機測速表設計
摘 要
本文介紹了采用光電傳感器實施電機轉速測量的方法、基本原理,完成了一種基于AT89C51單片機平臺的電動機測速表的軟硬件設計。硬件系統包括脈沖信號產生、脈沖信號處理和顯示模塊,采用C語言編程,該方法具有簡單、精度高、穩定性好的優點。
在工程實踐中經常會遇到各種需要測量轉速的場合例如在發動機、電動機、卷揚機、機床主軸等旋轉設備的試驗、運轉和控制中,常需要分時或連續測量和顯示其轉速及瞬時轉速。要測速,首先要解決是采樣問題。在使用模技術制作測速表時,常用測速發電機的方法,即將測速發電機的轉軸與待測軸相連,測速發電機的電壓高低反映了轉速的高低。為了能精確地測量轉速外,還要保證測量的實時性,要求能測得瞬時轉速方法因此轉速的測具有重要的意義。
Abstract
This paper introduces adopting photoelectric sensor measurement method for implementing the motor speed and the basic principle, completed the design of the software and hardware of a motor based on AT89C51 platform speedometer . Hardware systems includs the pulse signal generation, pulse signal processing and display module, using C language programming,for this method is simple, high precision, stability good points .
In engineering practice, often encounter a variety of situations need to measure speed, such as engines, motors, winches, machine tool spindles and other rotating equipment, testing, operation and control, often need time-sharing or continuous measurement and display of their speed and instantaneous speed. To speed, we must first resolve the sampling problem. Production speed in the use table-mode technology, the methods used tachometer generator, the generator is about speed and sensed axle shaft connected to the generator speed reflects the speed high and low voltage level. In order to accurately measure speed, but also to ensure real-time measurement, requires instantaneous speed can be measured approach. Therefore, the measurement speed is significant .
Keywords : speed measurement; SCM; Photoelectric sensors; Motor; pulse
摘 要I
AbstractII
1 概述1
1.1 數字式轉速測量系統的發展背景1
1.2 本設計課題的目的和意義1
2 轉速測量系統的原理2
2.1 轉速測量方法2
2.2 轉速測量原理3
3系統方案提出和論證5
4 系統硬件設計7
4.1 轉速信號采集7
4.2 轉速信號處理電路設計9
4.3 單片機AT89C51介紹10
4.4 最小系統的設計14
4.4.1復位電路14
4.4.2 晶振電路17
4.4.3 最小系統的仿真18
4.5 顯示部分設計19
5 系統軟件設計23
5.1 主程序初始化23
5.2 主程序流程圖程序流程圖25
總 結27
參考文獻28
致 謝29
附錄A 系統總電路圖30
附錄B 系統總程序清單30
1 概 述
1.1 數字式轉速測量系統的發展背景
目前國內外測量電機轉速的
總結
以上是生活随笔為你收集整理的单片机检测电机频率c语言,基于51单片机的电动机测速表的设计.doc的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: enum 有什么好处_林卡尔|先买地板后
- 下一篇: php5.6 mongo 扩展,PHP5