摘要本论文介绍了一种基于AT89C51单片机平台,采用光电传感器进行电机转速测量的方法,介绍了该测速法的基本原理、实现步骤和软硬件设计
为了设计简单可靠的直流电机测速装置,提出了基于单片机为核心的电机转速测量系统
整个系统的构架包括转速信号的采集,光电转换及信号处理电路设计,整形驱动电路设计,复位电路设计,晶振电路设计,LED显示电路设计
整形放大电路主要是将传感器输出的不稳定的电信号转化成脉冲信号;转速的计算利用单片机AT89C51的定时器和计数器
根据系统编写源程序,并通过运行试验证明
该系统结构简单,测量结果稳定可靠,满足电机的测速要求
关键词:转速测量;单片机;光电传感器;电机AbstractThispaperintroducesaplatformbasedonAT89C51,adoptthemethodofphotoelectricsensortoimplementmotorspeedmeasurement,introducesthebasicprincipleofthespeedmeasuringmethod,implementationstepsandthehardwareandsoftwaredesign
Inordertodesignasimpleandreliabledevicefordcmotorspeedestimation,motorspeedmeasurementsystembasedonsinglechipmicrocomputerasthecoreisputforward
Thearchitectureofthewholesystemincludingthespeedsignalacquisition,rotationspeedsignalprocessing,speedcalculationanddisplay
Plasticamplify