完整版霍尔传感器测速系统.doc
(完整版)霍尔传感器测速系统
(完整版)霍尔传感器测速系统
(完整版)霍尔传感器测速系统
基于霍尔传感器的电机转速测量系统
软件设计
摘要
在生产过程中,电机的应用十分广泛,随着生产的不断发展,对电机转速的测量就显得十分必要,同时对电机转速的测量提出了更高的要求.
本文设计了一种以51单片机作为主HYPERLINK”http:///index。php?gid=280”控制器,使用霍尔传感器进行测量的直流电机转速测量系统。本系统采用集成霍尔传感器敏感速率信号,具有频率响应快,抗干扰能力强等特点。
文章介绍了霍尔传感器的工作原理,阐述了霍尔传感器测速系统的工作过程,利用脉冲计数法实现了对转速的测量,通过LCD直观地显示电机的转速值。结合硬件电路设计,采用模块化方法进行了软件设计。编制了电机转速的测量设计了测量模块、转速模块、报警模块、显示模块等的C51程序,并通过PROTEUSE软件进行了仿真。仿真结果表明所设计的软件程序是正确的。
关键词:HYPERLINK”http:///asp/vipsearch。asp?Query=%BB%F4%B6%FB%B4%AB%B8%D0%C6%F7Type=K”霍尔传感器;HYPERLINK”http:///asp/vipsearch。asp?Query=%B5%A5%C6%AC%BB%FAC8051F060Type=K单片机;电机转速测量;液晶显示。
SoftwareDesignofMotorSpeedMeasurementSystemBased
onHallSensor
Abstract
Intheproductionprocess,themotorsarewidelyusedasproductioncontinuestodevelop,measuringthemotorspeedbecomesnecessary,whilemotorspeedmeasurementputforwardhigherrequirements。
Thismeasurementsystemisadesignofamicrocomputer51astheprimarycontroller,theHallsensorasasensortomeasuretheDCmotorspeed。ThesystemusesanintegratedHallsensorsensitivityrateofthesignalwithafrequencyoffastresponse,anti-interferenceabilityandsoon。
TheworkingprincipleoftheHallsensorwasintroducedinthispaper.Theworkingprocesswasdescribed。Itisusedpulse-countingmethodtoachievethemeasurementofspeed,andtodisplaymotorspeedvaluesthroughanintuitiveLCD。Combinationofhardwarecircuitdesign,softwaresweredesignedbyamodularapproachusingC51program,suchasthemotorspeedmeasurementmodule,alarmmodule,displaymoduleetc.,AlltheseprogramsweresimulatedthroughPROTEUSE。Simulationresultsshowthatthedesignedsoftwareprogramsarecorrect.
Keywords:Hallsensor;microcontroller;SpeedMeasurement;LCD.
目录
TOC\o”1—3”\h\z\uHYPERLINK\l”_Toc2470290621绪论 1
HYPERLINK\l”_Toc2470290631.1立题的目的和意义 1
HYPERLINK\l”_Toc2470290641。2应用与发展前景 1
HYPERLINK\l”_Toc247029065”1。3设计任务