【正文】
摘要部分問題在于:首先格式就不對(duì),字體大小和行距都存在問題。 正文部分格式上請(qǐng)對(duì)照模板的格式進(jìn)行修改,內(nèi)容部分,請(qǐng)盡快完善好。修改一下。 Abstract The design of temperature measurement and heating control system with AT89C51 singlechip microputer as the core ponents, plus the temperature acquisition circuit, keyboard and display circuit, heating control circuit and the limit of the alarm circuit, one main line digital temperature sensor DS18B20, and determinant keyboard and dynamic display, with easy control of the solid state relay for heating control switch work can be realtime display the current temperature and the temperature can be controlled, in order to make the Temperature to meet the needs of users, and make its constant in this determinant keyboard design makes simple quick set temperature Speed, two integer a decimal display method has higher based on fuzzy control theory Algorithm, the control precision can pletely meet the requirements of general social to the system software and hardware design is reasonable Planning, integrated singlechip microputer itself numerous advantages of system level function units, on the premise of not reduce function effectively Low hardware cost, and convenient manipulation of the system. Experiments show that the temperature control system can reach ℃ of static error, the control precision of ℃, and only % of the amount of overshoot, therefore this design has high 6 reliability and stability. Keywords: AT89C52, the temperature sensor DS18B20, feedback control 目 錄 引 言 ................................................................ 6 第 1章 緒論 ................................................................ 7 課題研究的背景 ......................................................... 7 課題研究的意義 ......................................................... 8 課題研究的內(nèi)容 ......................................................... 8 第 2章 智能恒溫箱的系統(tǒng)概述 ................................................. 9 系統(tǒng)的主要功能 ......................................................... 9 系統(tǒng)需求分析 .......................................................... 10 智能恒溫箱的工作流程 ................................................... 10 恒溫箱的工作過程 ...................................................... 12 本章小結(jié) .............................................................. 12 第 3章 智能恒溫箱的硬件設(shè)計(jì) ................................................ 13 硬件的電路設(shè)計(jì)概述 ..................................................... 13 總體硬件原理............................................................. 13 時(shí)鐘電路設(shè)計(jì) .......................................................... 15 復(fù)位電路設(shè)計(jì) .......................................................... 15 顯示電路的設(shè)計(jì) ........................................................ 16 顯示電路概述 ...................................................... 16 七段 LED數(shù)碼管的原理 ............................................... 16 顯示電路整體設(shè)計(jì) ................................................... 18 開關(guān)鍵盤設(shè)計(jì) .......................................................... 19 指撥開關(guān) .......................................................... 19 按鍵開關(guān) .......................................................... 19 指示燈電路 ............................................................ 20 溫度采集電路 .......................................................... 21 本章小結(jié) .............................................................. 24 第 4章 軟件設(shè)計(jì) ........................................................... 25 軟件任務(wù)分析 .......................................................... 25 程序流程圖 ............................................................ 25 本章小結(jié) .............................................................. 35 7 結(jié)論與展望 ................................................................ 32 參考文獻(xiàn) .................................................................. 33 引 言 溫度控制系統(tǒng)廣泛應(yīng)用于社會(huì)生活的各個(gè)領(lǐng)域 ,如家電、汽車、材料、電力電子等 ,常用的控制電路根據(jù)應(yīng)用場(chǎng)合和所要求的性能指標(biāo)有所不同 ,在工業(yè)企業(yè)中,如何提高溫度控制對(duì)象的運(yùn)行性能一直以來都是控制人員和現(xiàn)場(chǎng)技術(shù)人員努力解決的問題, 開發(fā)出性能較好的溫度控制系統(tǒng)對(duì)于測(cè)控技術(shù)的發(fā)展具有很大的意義。更能串接多個(gè)數(shù)字溫度傳感器DS18B20 進(jìn)行多范圍的溫度檢測(cè)。 8 第 1章 緒論 課題研究的背景 二十一世紀(jì)是科技高速發(fā)展的信息時(shí)代,電子技術(shù)、微型單片機(jī)技術(shù)的應(yīng)用更是空前廣泛,是隨著超大規(guī)模集成電路技術(shù)的發(fā)展而誕生的。同時(shí) ,它也不斷地完善和發(fā)展。常規(guī)方法測(cè)量溫度誤差大、準(zhǔn)確度低、測(cè)量滯后的時(shí)間長(zhǎng)。 智能恒溫箱主要是用來控制溫度,他為農(nóng)業(yè)研究、生物技術(shù)、測(cè)試提供所需的各種環(huán)境模擬條件,因此可廣泛適用于藥物、紡織、食品加工等無菌試驗(yàn)、穩(wěn)定性檢查以及工業(yè)產(chǎn)品的原料性能、產(chǎn)品包裝、產(chǎn)品壽命等測(cè)試。 課題研究的內(nèi)容 本次課題只設(shè)計(jì)溫度采集,溫度顯示,和溫度控制信號(hào)的送出部分,對(duì)于如何保溫,如何加熱和制冷不在此次設(shè)計(jì)的范圍內(nèi)。在顯示電路上通常顯示的是實(shí)時(shí)的溫度,即傳感器采集來的溫度,如果想要顯 示人們?cè)O(shè)定的預(yù)期溫度可以按顯示切換鍵,這時(shí)顯示器上就會(huì)顯示預(yù)期溫度,幾秒鐘后跳回,顯示實(shí)時(shí)溫度。簡(jiǎn)要介紹了 智能恒溫箱 的發(fā)展現(xiàn)狀,說明了課題研究的內(nèi)容。詳細(xì)描述了本課題各個(gè)組成電路單元的設(shè)計(jì)??偨Y(jié)本次設(shè)計(jì),指出設(shè)計(jì)中的一些問題,提出改善意見,并展望未來的設(shè)計(jì)。 圖 21 系統(tǒng)主要功能模塊方框圖 本系統(tǒng)是采用模塊化設(shè)計(jì)的智能恒溫箱,在生活中有廣泛的應(yīng)用,系統(tǒng)上電后默認(rèn)設(shè)定的恒溫溫度為 20℃,使用時(shí)可以自行調(diào)節(jié)預(yù)期的恒溫溫度,調(diào)節(jié)范圍為 0~99℃。顯示實(shí)時(shí)溫度時(shí),表示顯示的是實(shí)時(shí)溫度的發(fā)光二極管點(diǎn)亮。 系統(tǒng)需求分析 。 ,當(dāng)按下顯示切換鍵后能顯示幾秒鐘的預(yù)期溫度。如果想調(diào)節(jié)預(yù)期的溫度,先閉合“溫度設(shè)定”開關(guān),進(jìn)入調(diào)節(jié)狀態(tài),此時(shí)會(huì)顯示設(shè)定的溫度值,如果想加一攝氏度就按下“加 1℃”鍵,如果想減一攝氏度就按一下“減 1℃”鍵,溫度 LED顯示器上會(huì)顯示改變后的溫度,調(diào)整范圍為 0~99℃。單片機(jī)通過與溫度傳感器進(jìn)行通信,獲取實(shí)時(shí)溫度信息,并將所獲取的溫度信息數(shù)據(jù)轉(zhuǎn)化為攝氏溫度的形式存儲(chǔ)起來。 。若再 想查看預(yù)期溫度顯示需再次按下“溫度顯示切換”按鍵。在說明系統(tǒng)流程時(shí),結(jié)合本設(shè)計(jì)的內(nèi)容,指出了參數(shù)設(shè)置的方法和意義。 。選用片內(nèi)程序空間足夠大的單片機(jī),本設(shè)計(jì)采用 80C51 單片機(jī)。如果有大 批數(shù)據(jù)需要處理,則應(yīng)配置足夠的 RAM,如 626 62256 等。如果有些新的信號(hào)需要采集,就必須增加輸入檢測(cè)端:有些物理量需要控制,就必須增加 輸出端。兩個(gè)發(fā)光二極管“ HEAT”和“ COO