【正文】
安徽工程大學機電學院畢業(yè)設計(論文)I基于單片機的溫度控制器的設計摘要溫度的檢測與控制是工業(yè)生產過程中必不可少的程序之一,隨著傳感器在生產和生活中的更加廣泛的應用,利用新型單總線式數字溫度傳感器實現對溫度的測試與控制得到更快的開發(fā)勢在必行,本文設計了一種基于 AT89C51 的溫度檢測及報警系統(tǒng)。該系統(tǒng)將溫度傳感器 DS18B20。通過模擬放大電路接在模數轉化器 ADC0809 的輸入端,然后將 ADC0809 的輸出端接在控制器的一個端口上,就可以對傳感器溫度進行采集將采集到的溫度值與設定值進行比較,并適當調節(jié)其溫度。本文從硬件電路的設計、軟件設計兩方面介紹了 51 單片機溫度控制系統(tǒng)的設計思路,對硬件原理圖和程序框圖作了簡單的描述,對設計的實現過程和調試過程也做了,該系統(tǒng)測量精度高、抗干擾能力強、報警及時準確,具有一定的參考價值。本課題主要對實現了雙通道的溫度自動控制系統(tǒng)的說明,并且系統(tǒng)設計和布線簡單,結構緊湊,體積小,重量輕,抗干擾能力強,性價比高,擴展方便,實現一個主機對多個系統(tǒng)進行控制,解決了單個的主機對各個溫控的對象進行控制顯得資源浪費現象,有利于節(jié)約資源,在大型倉庫,工廠,智能化建筑等領域的多點溫度檢測中有廣闊的應用前景。關鍵詞:ADC0809。AT89C51。 DS18B20。 溫度控制田豐:基于單片機的溫度控制器的設計IIDesign of temperature controller based on MCUAbstract Temperature detection and control is one of the indispensable in the process of industrial production process, as the sensor is more widely used in the production and life, using new type single bus digital temperature sensor for temperature test and control, it is imperative to get faster development, this paper designs a temperature detection and alarm system based on AT89C51. The system will be the temperature sensor DS18B20. Through analog amplifying circuit in the input end of the AD converter ADC0809, then to connect the output of the ADC0809 on one port of the controller, temperature sensor for acquisition, will be collected temperature paring with set point, when less than set the upper limit of temperature, by opening the heating circuit to keep the temperature to cool naturally. In this paper, from two aspects of the design of hardware circuit, software design, this paper introduces the 51 single chip microputer temperature control system design idea, the hardware principle diagram and the program diagram for a simple description of the implementation process of the design and debug process also made the corresponding instructions. Through experimental tests show that the system is high accuracy, strong antijamming capability, alarm in time accurately, has a certain reference value. This topic is mainly to realize the automatic temperature control system of dual channel, and the system design and the wiring simple, pact structure, small volume, light weight, strong antiinterference ability, high cost performance, convenient extension, implement a host to control multiple systems, a single host to solve various temperature control for the controlled object appear waste resources phenomenon, which saves resources, in large warehouses, factories, the multipurpose temperature test of intelligent building and other fields have broad application prospects. Key words: ADC0809。 AT89C51。 DS18B20 。 Temperature control安徽工程大學機電學院畢業(yè)設計(論文)III目錄引言 .............................................................................................................................................1第一章 緒論 ...............................................................................................................................2 課題的學術背景及研究意義 ..........................................................................................2 課題在國內外的發(fā)展狀況 ..............................................................................................2 課題研究的主要內容 ......................................................................................................3第 2 章 溫度控制器的設計方案 ..............................................................................................4 系統(tǒng)整體方案和結構 .......................................................................................................4 系統(tǒng)方案的選擇與說明 ...................................................................................................4 主機模塊 .....................................................................................................................4 顯示模塊 ....................................................................................................................5 溫度測量 ....................................................................................................................5第 3 章 溫度控制器的硬件電路設計 .....................................................................................6 51 單片機的介紹與選擇 ..................................................................................................6 溫度傳感器的介紹與選擇 ...............................................................................................8 DS18B20 性能 ............................................................................................................8 DS18B20 外形及引腳說明 ........................................................................................8 DS18B20 接線原理圖 ................................................................................................9 模數轉換部分 ..................................................................................................................9 模數轉換技術 ............................................................................................................9 顯示模塊電路 ...........................................................................................................10 供電系統(tǒng)電路 ...........................................................................................................11 報警電路 .........................................................................................................................11 報警電路原理圖 .......................................................................................................11 報警電路說明 ...........................................................................................................12 時鐘電路 .........................................................................................................................12 時鐘電路原理圖 .......................................................................................................12 時鐘電路說明 ...........................................................................................................13 復位電路 ..................................................