资源描述:
《基于单片机的水位控制系统设计(doc毕设论文)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、目录目录:0摘要:Ⅱ关键词:Ⅱ一、系统组成及工作原理11、系统的组成12、系统的工作原理1(1)工作原理1(2)原理框图1(3)工作过程2二、系统的硬件设计21、硬件组成22、硬件的特性3(1)单片机系统3(2)水位探测传感电路5(3)光报警显示电路6(4)稳压电路7(5)水泵的介绍8(6)电源电路模块10(7)继电器控制电路10(8)看门狗技术12三、系统的软件设计141、软件设计框图142、程序设计15(1)汇编语言程序设计15(2)C语言程序设计16四、基于单片机的水位控制系统的抗干扰措施171、硬件抗干扰电路的设计172、软件抗干扰的设计17五、结束语17参考文献
2、18第20页(共20页)基于单片机的水位控制系统设计作者:指导老师:摘要:液位是许多工业生产中的重要参数之一,在化工、冶金、医药、航空等领域里,对液位的测量和控制效果直接影响到产品的质量。本文介绍一种基于单片机实现的液位控制器的设计方法,该控制器以单片机为核心,通过外围硬件电路来达到实现控制的目的。由于单片微型计算机具有体积小,耗电少,控制精度高,运行可靠等的特点,所以广泛应用于生产实际中。本文介绍了水位控制系统工作的基本原理。阐述了一种基于单片机的通用水位控制系统的基本组成,并提出了该系统模块化的硬件和软件设计方法,本文设计了一种以AT89C2051为核心研制的液位控制
3、系统,该系统不仅能对液位进行巡回检测、显示和报警,同时也能对液位进行智能控制。单片机技术是信息时代用于精密测量的一种新技术。此系统使用过程中采用稳压电路能够准确地把输入的电平送给单片机不会产生误判的情况,由于AT89C2051单片机有四端口,20引脚能够非常方便地设计显示系统。关键词:传感器单片机程序设计外围硬件电路Abstract:Manyindustrialproductionlevelisoneoftheimportantparametersinchemicalindustry,metallurgy,medicine,aviation,etc,thelevelmea
4、surementandcontroleffectdirectlyaffectthequalityoftheproducts.Thispaperintroducesalevelcontrollerbasedonmicrocomputerdesignmethod,thecontrollerbasedonsinglechip,throughtheperipheralhardwarecircuittoachievethepurposeofachievingcontrol.Becauseofthesinglechipcomputerhassmall,lessconsumption,
5、highcontrolaccuracy,reliableoperationcharacteristics,soiswidelyusedinproductionpractice.Thispaperintroducesthewaterlevelcontrolsystemisthebasicprincipleofwork.ThisarticleexpoundsakindofbasedonSCMgeneralwaterlevelcontrolsystem,andputsforwardthebasiccompositionofthissystemmodularhardwareand
6、softwaredesignmethod,thispaperintroducesadesignforthecoredevelopedbyAT89C2051levelcontrolsystem,thissystemnotonlycanlevelToursofinspection,displayandalarm,alsocanthelevelofintelligentcontrol.Informationagemicrocontrollertechnologyisusedforprecisionmeasurementsofakindofnewtechnology.Thissy
7、stemusedinuseprocessvoltagecircuitcanaccuratelyputinputleveltomicrocontrollerwon'tproducemisjudgment,becausetherearefourports,single-chipmicrocomputerAT89C205120pinscanveryeasilydesigndisplaysystem.Keywords:sensormicrocontrollerprogramdesignperipheralhardwarecircuit