摘要:在工业生产等应用实践过程中,电机转速是衡量电机运行状况的重要参量。常用的测速方案有两种,包括光电测速方案和电磁测量方案,前者采用贴反光标签的方法在接收处产生脉冲信号,而后者一般采用霍尔元件的方法。本文采用光电测速方案中的M/T法,可以降低时基频率,从而实现灵活的输出率控制。设计采用单片机+CPLD的方法,CPLD控制闸门时间和计数,将计数结果传给单片机,单片机计算出转速,通过串口传输给上位机。本设计具有硬件电路简单,程序设计方便,测量结果准确,实时性强,成本低等优点。59835
毕业论文关键词:STM32,CPLD,转速测量
毕业设计说明书(论文)外文摘要
Title the research of Photoelectric rotational speed measurement system based on SCM
Abstract
The rotational speed is an important parameter that measures the operation conditions while in all application processes like industrial prodution and so on.There are two common scheme for speed measuring ,the photoelectric velocity measurement and electromagnetic velocity measurement,while the former one usually produce pulse signals at the receiving device by adopting the reflective labels and the latter adopting HALL elements.The M/T method of the photoelectric velocity measurement applied in this article has reduced the TB(time base)frequency,which realizes the flexible control of the output rate.This design contains MCU and CPLD.CPLD takes control of gate time and counting ,after that it also needs to transmit the result to MCU.MCU calculates out the motor speed and transmits it to the principal computer.This design has advantages like simple hardware circuits , convenient programming codes,accurate results,strong real-time ability, low cost and so on.
Keywords:STM32,CPLD,motor speed measurement
目 录
1 绪论 1
1.1 课题背景及意义 1
1.2.1整体发展状况 2
1.2.2常用转速测量方案 3
2.转速测量系统总体方案 7
2.1 光电测速方案 7
2.2 精度和量程分析 8
(1)M法 8
(2)T法 8
(3)M/T法 9
3.总体设计 11
3.1.课题的主要任务 11
3.2 被测信号特点及对数据采集电路的要求 12
3.2.1 被测信号的特点[4] 12
3.2.2 数据采集电路需满足的主要技术要求 12
4 基于单片机的光电转速测量系统设计 13
4.1 光电脉冲接受装置设计 13
4.1.1 光源 13
4.1.2 接收器的选择 14
4.2 数据采集电路硬件设计 15
4.2.1 数据采集电路的整体组成 15
4.2.2 整形模块 16
4.2.3 计数测频模块设计 17
4.2.4 通信模块设计 单片机光电转速测量系统研究+PCB电路图:http://www.751com.cn/zidonghua/lunwen_65162.html