【正文】
2022 屆本科生畢業(yè)設(shè)計(jì) 分類號(hào):題 目: 基于 AT89C51 的溫度控制器設(shè)計(jì)作 者 姓 名: 石禮君 學(xué) 號(hào): 2022080708 學(xué) 院: 機(jī)械與電子工程學(xué)院 專 業(yè): 自動(dòng)化 指導(dǎo)教師姓名: 張明玉 司志良 指導(dǎo)教師職稱: 教授 工程師 2022 年 5 月 1 日摘 要溫度的檢測(cè)與控制是工業(yè)生產(chǎn)過(guò)程中比較典型的應(yīng)用之一,隨著傳感器在生產(chǎn)和生活中的廣泛應(yīng)用,利用新型單總線式數(shù)字溫度傳感器實(shí)現(xiàn)對(duì)溫度的測(cè)試與控制得到更快的開(kāi)發(fā)。隨著時(shí)代的進(jìn)步和發(fā)展,單片機(jī)技術(shù)已經(jīng)普及到我們生活、工作、科研各個(gè)領(lǐng)域。數(shù)字式溫度計(jì)以數(shù)字溫度傳感器作感溫元件,它以單總線的連接方式,使電路大大的簡(jiǎn)化。傳統(tǒng)的溫度檢測(cè)大多以熱敏電阻為傳感器,這類傳感器可靠性差,測(cè)量溫度準(zhǔn)確率低且電路復(fù)雜。因此,本溫度計(jì)擺脫了傳統(tǒng)的溫度測(cè)量方法,利用單片機(jī)對(duì)傳感器進(jìn)行控制,這樣易于智能化控制。本次設(shè)計(jì)采用 AT89C51單片機(jī)作為控制芯片,采用半導(dǎo)體集成溫度傳感器 AD590 采集溫度信號(hào)來(lái)控制外圍電路。關(guān)鍵詞:溫度傳感器;AT89C51 單片機(jī);AD590 溫度傳感器ABSTRACT the temperature detection and control is the process of industrial production is one of the typical applications, with the sensor in the production and life of the more widely used, use of novel single bus digital temperature sensor to realize the temperature measurement and control get faster development, with the era of progress and development, singlechip technology has spread to our life, work, research, each field. A digital thermometer with digital temperature sensor as a temperaturesensing element, with single bus connection, so that the circuit is greatly simplified. The traditional temperature detection mostly by the thermistor as a sensor, the sensor reliability, accurate temperature measurement rate and low circuit plexity. Therefore, the thermometer out of traditional method of temperature measurement using MCU, sensor control. It is easy to intelligent control.Key words: temperature sensor。 AT89C51 microcontroller。 AD590 temperature sensor目 錄1 系統(tǒng)總體方案設(shè)計(jì) .............................................................................................................12 系統(tǒng)硬件設(shè)計(jì) .....................................................................................................................1 中央處理器 ...............................................................................................................1 AT89C51 簡(jiǎn)介 .................................................................................................1 特殊功能存儲(chǔ)器 ..............................................................................................2 芯片擦除 ..........................................................................................................2 復(fù)位電路的設(shè)計(jì) ..............................................................................................2 時(shí)鐘電路設(shè)計(jì) ..................................................................................................3 溫度傳感器 AD590..................................................................................................3 信號(hào)調(diào)理電路 ...........................................................................................................4 A/D 轉(zhuǎn)換 ....................................................................................................................5 LED 顯示 ...................................................................................................................7 控制電路 ...................................................................................................................93 系統(tǒng)軟件設(shè)計(jì) ...................................................................................................................10 程序初始化 ..............................................................................................................12 主程序 ......................................................................................................................12 A/D 轉(zhuǎn)換子程序 ......................................................................................................13 標(biāo)度轉(zhuǎn)換子程序 .....................................................................................................14 控制子程序 ...................................................................................