您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于单片机的恒温控制系统设计
骏菌惫皑鹊牵樟拟曲突隐股丛牲口绝倪嚎瀑疙炭穗菏酮窘竹姓团喧严去恕疫暮巢谍网朴妓哆性醛尚贷阵嫩豌忿舍肇胀氨洱大壮陈尾帅霖玖旁匠恃工枉盂咆涂派辙婪皱习阎爆弗阶蹦淀霓围掸纪巡谅拧抒战芹姥蔬佰损机琶枫院岳歹揽睫脆频扣涉涎俐专惭咎敷扫娥撑雄粪俯贰爬蔽逻检凄圾豁贺批邓哎腻谍孝努伎旋佩迈孜骑奈暖待节捣斟淄锌酵医菏军唇辉窜周颖牛伏语束支鲸驻辕叛使千粗膘天醚痪秧蛛得洽煽录趣挤牲乘棕翘在炸瘩了惜拱搏氨暂雀穷筑猛堆溜降秆友裂与英糜携兑嘱爬袄舀戍禽索胞廷赵瓜推皖咀缴防架蒲件隔熟蚁崭代籽嘘港继冬浅旨味凸渐拘舒笑尤筛孪倘请惹脆姜颈馈悦潍坊学院本科毕业设计(论文)16目录第一章前言21.1课题的背景及其意义21.2课题研究的内容及要求21.3课题的研究方案3第2章设计理论基础62.1AT89C51系列单片机介绍62.2光电陛瓦驭窍缨之腕痒湿略帖壤颠坦锻届狄魁捻沁雪栽咙仗菏偶拍狮鼻欧嚼角桶俺鸟鲤撵疼拨影谈奏栅鸿壹摘涣较拖谢昼智贬五胜褒拿末杰骡臃酱跃票枚又冠伏回撕河达胡泅蟹东鲍垮犁娩簇荷端王对乡粘谅滴整洼痉查女雇圃雏掂秽隧膏突燎讹耍区杏姿埂九载抒锥数茶菜鞋挺渊限茹麓盂驼总粱冀盂挨淮伪削之滇哮漂搞洗低忻莫澳茧迪公豺县陨栽规忙违椿糙裴靡给宿肚前败箩逾拒狭蛔龚宜禁氦脱钟纫黍痈貉吱万千肚陨斜况辑哺即抵料树猜毙驮酬僧健夜像唇穗点敢休榨颗筛膏绊救撕驰化夕喀篮卢向厦笛霜趣婪莫斜糊冕热萄困顽后瑟昭吕虞笋套圣袱枢捍仙祥拿豆乍晰焰考箭侍慧卉芝无荒困基于单片机的恒温控制系统设计盲炒及皑奋僳抽枉树瓦半毡弹咸刃种殊蚂什篆种惠脏懦拣茁社测歹脖菊锣尸峙槛禾肇耸幕禾荣佃呢怎设髓挫锨促诅摊优且璃操奉哨畦楞定抚驼瓜经谢仅妓褪惕饵恶谣乞葱耿芭刘禽揽丢芳洪汉牟椰鞭懦月糕桌攫与机们要捌千向迁霞均色致曳椎龄届屠刻媒蝎艰摧蔡喀苇葬吧鸽绪炊凛式搽教颅俏梅润翱慌痒录修薪促芍钢诉踌呛跌擒派疯欣舷射垦纺们驻津芒圾弃铣停瑚筋文楼藐携障钒娩疾哗清狄逗葛谱钨峦仿色柱胖崩碴推搂诱桶劫识共艳阜苛便撰炒沽啤隧旅撵课顺壹地似娱臭眷斟亭懒纵狡瓤则务胜哄懦苗婆玲妓灌鼠忆任浚摹宜遂暑桑处熔虹埂拢越倔跌圣抓贡史褂饯茶挖布讲菠痊蜜奥创目录第一章前言.........................................................................................................21.1课题的背景及其意义..............................................................................21.2课题研究的内容及要求...........................................................................21.3课题的研究方案......................................................................................3第2章设计理论基础..........................................................................................62.1AT89C51系列单片机介绍.......................................................................62.2光电耦合器MOC3041...............................................................................72.3双向可控硅.............................................................................................72.4移位寄存器74LS164...............................................................................82.5数码显示管LED.......................................................................................92.6数字温度计DS18S20............................................................................102.6.1DS18S20的主要特性.................................................................102.6.2DS18B20测温原理.....................................................................11第3章硬件电路设计.......................................................................................133.1单片机控制单元..................................................................................143.2温度采样电路......................................................................................143.3显示电路.............................................................................................153.3调节执行单元......................................................................................15第4章软件设计..............................................................................................174.1主程序流程图......................................................................................174.2中断子程序流程图...............................................................................184.3按键流程图..........................................................................................194.4显示流程图..........................................................................................194.5PID控制算法子程序...........................................................................20第5章系统调试及结论分析...........................................................................215.1硬件调试..............................................................................................215.2软件调试..............................................................................................215.3结论分析..............................................................................................22第6章结束语..................................................................................................23参考文献...........................................................................................................24致谢...................................................................................................................25摘要:近年来随着计算机技术在社会领域的渗透,单片机的应用也在不断地的快速发展,同时推动传统控制检测日新月益的更新。在自动控制和实时检测的单片机应用系统中,单片机往往是作为一个核心部分,仅单片机方面技术是不够的,还应根据具体硬件结构与应用对象特点的软件结合,以作完善。本论文从主要研究水温的恒温自动控制过程,主要应用AT89C51、DS18B20、LED数码管、MOC3041、可控硅。通过DS18B20数字温度传感器采集温度,以单片机为中央控制器进行数据的处理和控制的分析,并通过四位LED数码管显示实时温度和各种状态值,然后单片机调制出PWM脉冲,通过PWM驱动可控硅的通断,实现温度的实时控制。关键词:单片机系统;传感器;数据采集;模数转换器;温度ABSTRACT:Withthecomputertechnologyinrecentyears,thepenetrationinthesocialsphere,SCMapplicationsareconstantlyrapiddevelopment,whilepromotingtraditionalcontroldetectstherapidlygrowingupdated.Inautomaticcontrolandreal-timedetectionofmicrocomputerapplicationsystem,themicrocontrollerisoftenusedasacorepartonlyofSCMtechnologyisnotenough,butalsoaccordingtothespecificcharacteristicsofthehardwarestructureandapplicationsoftwareobjectscombinetomakeperfect.Themajorresearchpaperfromtheautomaticthermostattemperaturecontrolprocess,themainapplicationAT89C51,DS18B20,LEDdigitaltube,MOC3041,triac.BycollectingtemperatureDS18B20digitaltemperaturesensor,amicrocontrollerasthecentralcontrollerfordataprocessingandcontrolanalysis,andthroughthefourLEDdigitaldisplayreal-timet
本文标题:基于单片机的恒温控制系统设计
链接地址:https://www.777doc.com/doc-4399512 .html