【正文】
liquid storage liquid level in the reservoir of the need to maintain the appropriate height,too full to overflow caused by waste,too little is unable to meet the ,need to design a suitable controller automatically adjust the import and flow of liquid stotage tank,the liquid storage tank to maintain normal levels,to ensure product quality and production actual problems of these different background can be simplified to the water tank level ,the liquid level is an important parameter in industry process in the dynamic state,using the suitable method for detection,control of the liquid level,can get very good production effect. Design and application of water tank liquid level control system is very long,can be a plex liquid level control system is simplified into a water tank liquid level control I chose the design of the subject. The water tank liquid level controller MCU system is designed using chip microputer control technology,the singlechip microputer as the core control the water level of the water tank,and implementation of the alam and manual,automatic switching system is easy to operate,good performance,more in line with the factory production control of water system. Key words:single chip microputer。 本水箱液位控制器的單片機(jī)系統(tǒng)設(shè)計(jì)的目的是應(yīng)用單片機(jī)控制技術(shù),以單片機(jī)為核心控制水箱的水位,并實(shí)現(xiàn)了報(bào)警和手動(dòng)、自動(dòng)切換功能。 水箱液位控制系統(tǒng)的設(shè)計(jì)應(yīng)用非常長(zhǎng)廣泛,可以把一個(gè)復(fù)雜的液位控制系統(tǒng)簡(jiǎn)化成一個(gè)水箱水位控制系統(tǒng)來(lái)實(shí)現(xiàn)。因此液位是工業(yè)生產(chǎn)控制過(guò)程中一個(gè)重要的參數(shù)。因此,需要設(shè)計(jì)合適的控制器系統(tǒng)來(lái)調(diào)整蓄水池的進(jìn)出流量,使得蓄水池內(nèi)水位保持正常水平,以保證產(chǎn)品質(zhì)量和生產(chǎn)效益。 水箱液位控制器的設(shè)計(jì)與研究 姓 名: 王文雷 學(xué) 號(hào): 202005220200 指導(dǎo)教師 : 張?jiān)?仕 學(xué) 院: 光電工程學(xué)院 專(zhuān) 業(yè): 電子信息工程 完成日期: 2020 年 05 月 25 日 學(xué) 士 學(xué) 位 論 文 水箱液位控制器的設(shè)計(jì)與研究 姓 名: 王文雷 學(xué) 號(hào): 202005220200 指導(dǎo)教師: 張?jiān)?仕 學(xué) 院: 光電工程學(xué)院 專(zhuān) 業(yè): 電子信息工程 完成日期: 2020 年 05 月 25 日 摘 要 人們生 活以及工業(yè)經(jīng)常涉及到水位和流量的控制問(wèn)題,例如飲料、食品,居民生活等的用水的供應(yīng),污水處理,溶液過(guò)濾,化工生產(chǎn)等多種行業(yè)的生產(chǎn)加工過(guò)程 ,通 常要使用蓄水池。蓄水池中的水位需要維持一定的高度,太多容易溢出而造成浪費(fèi),過(guò)少則無(wú)法滿(mǎn)足用水需求。這些實(shí)際問(wèn)題其實(shí)都可以簡(jiǎn)化為水箱的水位控制問(wèn)題。特別是在動(dòng)態(tài)的狀態(tài)下,采用適合的方法對(duì)水位進(jìn)行檢測(cè)、控制,能收到很好的效果 。所以就選擇了該題目的設(shè)計(jì)。該系統(tǒng)操作方便、性能良好,比較符合工廠生產(chǎn)用水系統(tǒng)控制的需要。water level。alarm 目 錄 第 1 章 引 言 ............................................................................................................ 1 第 2 章 基于單片機(jī)的水箱水位控制器的原理 ........................................................ 2 單片機(jī)概述 ................................................................................................ 2 水箱給水設(shè)備原理 .................................................................................... 2 80C51 單片機(jī)控制系統(tǒng)原理 ..................................................................... 2 80C51 單片機(jī)控制部分結(jié)構(gòu)說(shuō)明 ...................................................... 2 基于單片機(jī)的水箱控制系統(tǒng)工作原理 ............................................. 3 第 3 章 基于單片機(jī)的水箱水位控制器硬件設(shè)計(jì) .................................................... 5 基于單片機(jī)的水箱水位控制器系統(tǒng)硬件簡(jiǎn)介 ........................................ 5 數(shù)據(jù)采集及處理模塊 ......................................................................... 5 光電隔離簡(jiǎn)介 ..................................................................................... 8 給水泵電機(jī)主控回路介紹 ................................................................. 9 二級(jí)管顯示電路設(shè)計(jì) ......................................................................... 9 80C51 水箱控制系統(tǒng)主控硬件部署方案 ............................................... 10 80C51 單片機(jī)實(shí)現(xiàn)控制功能說(shuō)明 .................................................... 10 80C51 水箱控制系統(tǒng)主控硬件部署方案 ........................................ 10 第 4 章 單片機(jī)水箱水位控制器程序設(shè)計(jì) ............................................................... 12 程序概要設(shè)計(jì) .......................................................................................... 12 自動(dòng)模式子程序原理以及流程框圖 ...................................................... 13 手動(dòng)模式子程序原理及流程框圖 .......................................................... 15 第 5 章 總 結(jié) ....................................................................................................