资源描述:
《基于单片机的双容水箱液位控制器设计-毕业设计(可编辑)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、基于单片机的双容水箱液位控制器设计-毕业设计本科生毕业设计说明书(毕业论文)题目:基于单片机的双容水箱液位控制器设计学生姓名:学号:专业:测控技术与仪器班级:指导教师:基于单片机的双容水箱液位控制器设计摘要关键词:BasedonsinglechipdualtankwaterlevelcontrollerdesignAbstractThelevelischargedwithoneoftheparametersoftheindustrialproductionprocess,themostimportant,widelyusedinmetallur
2、gy,buildingmaterials,chemicals,food,petroleumandotherindustries,thelevelofcontrolintheprocessdirectlyinfluencestheproductionofproductsquality.LevelControlSystemscaleofmodernindustryarebecomingincreasinglycomplex,large-scale,levelcontrolhasgraduallybecometheProcessControlfiel
3、dofahotresearchtopic.Basedonsinglechipwaterlevelcontrollerhasmanyadvantages,suchasstableperformance,reliable,highcontrolprecision,lowcost,easysetup,easyoperation.Thedesignusesinglechipachievedual-tankwaterlevelcontrolsystemisbasedonthetwoupperandlowerwatertanksinseriesforthe
4、study,thefollowingtankleveliscontrolledparameters,thepressuretransmittertomeasurethelevelofthewatertank,andthemeasurementsgavemicrocontrollerasthecorecontrollerasthefeedbacksignal,thecontrollerbasedonincrementalPIDcontrolalgorithmispre-setcomputing,issuecontrolcommandstocont
5、roltheactuatorvalveopeningsize,thuschangingintotheflowofwateronthetanksize.tankliquidlevelautomaticcontrol.Keywords:singlechipSTC89C52,liquidlevelcontrol,incrementalPIDcontrolalgorithm,LEDdisplay目录摘要IAbstractII第一章引言11.1研究背景11.2国内液位控制的发展现状11.3PID调节器简介21.4设计思路21.5设计意义3第二章硬件组成4
6、2.1系统硬件组成概述42.2数据采集电路42.2.1压力变送器42.2.2I/V转换电路52.2.3A/D转换器52.3STC89C52RC单片机82.4D/A转换器102.4.1DAC0832引脚功能112.4.2DAC0832工作方式122.4.3DAC0832工作时序122.5V/I转换电路122.6执行机构122.6.1控制阀122.6.2水泵电机132.7掉电存储器132.8LED显示142.8.1LED显示器的结构142.8.2移位寄存器16第三章硬件设计193.1STC89C52单片机模块电路193.1.1晶振电路193.1.2
7、复位电路193.1.3最小系统203.2LED显示模块213.3A/D转换电路223.4D/A转换电路223.5V/I转换电路233.6键盘电路243.7串口通信电路24第四章软件设计264.1主程序流程图264.2A/D转换子程序274.3键盘控制子程序284.4PID控制子程序294.5LED显示子程序324.6Keil软件334.6.1Keil软件简介334.6.2Keil软件编程流程及程序下载33第五章系统的调试及说明365.1硬件设计调试365.2软件设计调试375.2.1键盘和显示软件设计375.2.2输入信号的测量385.2.3P
8、ID控制量计算及数据处理385.3软硬件联合调试41总结42参考文献43附录A本设计原理图45附录B主程序46致谢52引言研究背景51单片机为核心的多