您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 综合/其它 > 基于单片机的转速表设计
0课程结业论文基于单片机的转速表设计课程名称:电力拖动自动控制系统任课教师:李敏所在学院:信息技术学院专业:电气工程及其自动化班级:电气(2)班学生姓名:于鹏学号:20094073217中国·大庆2012年6月摘要20摘要随着现代科学技术的发展,计量技术相应地也得到迅速发展。在这个领域中,数字仪表越来越现实它的优越性和生命力:精度高、速度快、便于记录、控制和传递,因而数字式仪表得到了广泛的应用。在转速计量方面,数字转速表更是一种理想的测量仪器。随着微型计算机的广泛应用,特别是高性能价格比的单片机的出现,以单片机为核心的数字转速表更是得到了广泛应用。本文便是运用AT89S52单片机控制的数字式转速表。电机在运行过程中,需要对其进行监控,转速是一个必不可少的参数。数字式转速表就是对电机转速进行测量,并可以和PC机进行通信,显示电机的转速,并观察电机运行的基本情况。本设计主要用AT89S52作为控制核心,由霍尔传感器,LED数码显示管,施密特触发器等构成。充分发挥单片机的性能。本文重点是数字转速表的硬件电路和软件设计。本设计优点是电路较简单、功能完善、测量速度快、精度高、控制系统可靠,性价比较高等特点。关键字:AT89S52转速表数字Abstract2AbstractWiththedevelopmentofmodern,measurementtechnologyhasbeenrapiddevelopment.Inthisarea,thedigitalinstrumentismorerealisticitssuperiorityandvitality:highprecision,fast,easytorecord,easytocontrolandtransmission,sothedigitalinstrumenthasbeenusedwidely.Inthemeasurementofmotorspeed,digitaltachometerisanidealmeasuringinstruments.Withtheextensiveapplicationofmicro-computer,especiallytheemergenceofsingle-chip,highperformanceandlowcost,makingthedigitaltachometerhasbeenwidelyappliedasthemicrocontrollercore.Thisarticle,weusetheAT89S52microcontrollertocontrolthedigitaltachometer.Duringoperation,themotorneedstobemonitoring,speedisanessentialparameter.Digitaltachometertomeasuremotorspeed,andcancommunicatewithaPC,displaythemotorspeed,andobservethemotorrunning.ThisdesignwithAT89S52ascontrolcore,bytheHallsensor,LEDdigitaldisplaytube,thecompositionoftheSchmitttrigger,andsoon.Givefullplaytotheperformanceofthemicrocontroller.Thisarticlefocusesonthehardwareandsoftwaredesignofthedigitaltachometer.Theadvantageofasimplehardwareandsoftwarecapabilitiesimprove,measuringspeed,highprecisionandcontrolsystemreliable,cost-effectiveandsoon.Keywords:AT89S52,Tachometer,Digital目录3目录摘要..............................................................................................................................................11转速表原理...................................................................................................................................41.1转速表原理分析................................................................................................................41.2转速计算及误差分析........................................................................................................41.3转速测量............................................................................................................................62硬件电路设计................................................................................................................................72.1系统总体设计方案.............................................................................................................72.2系统各组成方案的选择与论证比较.................................................................................72.3单元模块电路设计.............................................................................................................93软件设计.....................................................................................................................................103.1主程序框图.......................................................................................................................103.2定时器TO中断服务子程序流程图................................................................................113.3定时器TO中断服务子程序流程图................................................................................123.4系统特点...........................................................................................................................124单片机介绍.................................................................................................................................134.1单片机概述......................................................................................................................134.1.1单片机..................................................................................................................134.1.2单片机的发展过程..............................................................................................134.1.3单片机的特点......................................................................................................134.1.4单片机的应用领域..............................................................................................134.2AT89S52芯片简介...........................................................................................................144.2.1主要性能..............................................................................................................144.2.2AT89S52的基本结构..........................................................................................154.2.3AT89S52单片机的封装......................................................................................164.3引脚说明...........................................................................................................................17结论..............................................................................................................................................1参考文献:.......................................................................................................
本文标题:基于单片机的转速表设计
链接地址:https://www.777doc.com/doc-2574283 .html