【正文】
............................................................39附 錄 ..................................................................................................40第一章:緒論:課題背景測量控制的作用是從生產(chǎn)現(xiàn)場中獲取各種參數(shù),運用科學(xué)計算的方法,綜合各種先進(jìn)技術(shù),使每個生產(chǎn)環(huán)節(jié)都能夠得到有效的控制,不但保證了生產(chǎn)的規(guī)范化、提高產(chǎn)品質(zhì)量、降低成本,還確保了生產(chǎn)安全。 AT89C51。 munication protocols。Abstract Temperature detection and control of industrial production process, one of the more typical applications, with sensors in production and life is more widely used, using a new singlebus digital temperature sensor to achieve the test and control the temperature more rapidly development, this paper is designed based on AT89C51 temperature detection and alarm systems. The system will be more than a singlebus temperature sensor DS18B20 and connected to a port on the controller, the temperature sensors on each loop collection, the temperature will be collected to pare with the set value, when the temperature exceeds the upper limit set , through the ISD1420 voice circuit gives voice prompts and alarm signal. In this paper, a single data lines extend multiple temperature sensor design methods and gives the system implementation of hardware and software flow diagram. The experimental tests show that this high accuracy, strong antiinterference ability, alarm timely and accurate, with a certain reference value. The system design and layout simple and pact structure, small size, light weight, antijamming capability, costeffective to expand convenience, in large warehouses, factories, construction and other areas of intelligent multipoint temperature measurement in a wide range of applications prospects. Key words: digital temperature sensor。該系統(tǒng)設(shè)計和布線簡單,結(jié)構(gòu)緊湊,體積小,重量輕,抗干擾能力強(qiáng),性價比高,擴(kuò)展方便,在大型倉庫,工廠,智能化建筑等領(lǐng)域的多點溫度檢測中有廣闊的應(yīng)用前景。文中給出了單根數(shù)據(jù)線上擴(kuò)展多個溫度傳感器的設(shè)計方法,并給出了系統(tǒng)實現(xiàn)的硬件原理圖及軟件流程圖。摘 要溫度的檢測與控制是工業(yè)生產(chǎn)過程中比較典型的應(yīng)用之一,隨著傳感器在生產(chǎn)和生活中的更加廣泛的應(yīng)用,利用新型單總線式數(shù)字溫度傳感器實現(xiàn)對溫度的測試與控制得到更快的開發(fā),本文設(shè)計了一種基于 AT89C51 的溫度檢測及報警系統(tǒng)。該系統(tǒng)將多個單總線溫度傳感器 DS18B20 并接在控制器的一個端口上,對各個傳感器溫度進(jìn)行循環(huán)采集,將采集到的溫度值與設(shè)定值進(jìn)行比較,當(dāng)超出設(shè)定的上限溫度時,通過 ISD1420 語音電路給出語音提示及報警信號。經(jīng)實驗測試表明,該系統(tǒng)測量精度高、抗干擾能力強(qiáng)、報警及時準(zhǔn)確,具有一定的參考價值。關(guān)鍵詞:數(shù)字溫度傳感器;單總線;通信協(xié)議;DS18B20;AT89C2051;LED 顯示器;報警信號。 single bus。 DS18B20。 LED display。所以,測量控制技術(shù)已經(jīng)被廣泛應(yīng)用于煉油、化工、冶金、電力、電子、輕工和紡織等行業(yè)[1]。單片機(jī)已經(jīng)無處不在、與我們生活息息相關(guān),并且滲透到生活的方方面面。它具有和普通計算機(jī)類似的、強(qiáng)大的數(shù)據(jù)處理功能,通過使用一些科學(xué)的算法,可以獲得很強(qiáng)的數(shù)據(jù)處理能力[2]。隨著溫度檢測理論和技術(shù)的不斷更新, 溫度傳感器的種類也越來越多,在微機(jī)系統(tǒng)中使用的傳感器,必須是能夠?qū)⒎请娏哭D(zhuǎn)換成電量的傳感器,目前常用的有熱電偶傳感器、熱電阻傳感器和半導(dǎo)體集成傳感器等,每種傳感器根據(jù)其自身特性,都有它自己的應(yīng)用領(lǐng)域。:溫度檢測與及報警系統(tǒng)的國內(nèi)外狀況溫度是一個非常重要的物理量,因為它直接影響燃燒、化學(xué)反應(yīng)、發(fā)酵、烘烤、煅燒、蒸餾、濃度、擠壓成形、結(jié)晶以及空氣流動等物理和化學(xué)過程。因此對溫度的檢測的意義就越來越大。在工業(yè)生產(chǎn)過程中,很多時候都需要對溫