摘 要:多點測溫系統在工業領域及養殖業領域均有廣泛的用途。以往的測溫系統多采用熱敏電阻,精度低、易損壞, 且模擬信號遠距離溫度測量在技術上實現比較復雜,因此提出了采用新型數字溫度傳感器DS18B20。它具有體積更小、精度更高、采用一線總線、可組網等優點。設計以單片機AT89C51為控制核心,結合RS485芯片完成多點測溫并傳送數據到主機顯示,便于主機監控現場,并對現場情況采取及時處理。采用Keilc軟件編譯后通過Proteus7.5仿真,達到預期效果。
關鍵詞:單總線; DS18B20; 多點測溫; AT89C51
中圖分類號:TP212 文獻標識碼:A
文章編號:1004-373X(2010)12-0023-03
Design of Multi-point Temperature Measurement System Based on Mono-bus Temperature Sensor
JI Yong-gang1, YANG He-tian2
(1. School of Information Engineering, Dalian Jiaotong University, Dalian 116052, China;2. School of Software Institute, Dalian Jiaotong University, Dalian 116052, China)
Abstract: The multi-point temperature measurement system has wide application in the fields of industry and aquaculture. The previous temperature measurement system usually used thermal resistance, and had low precision, easy to damage, the analog signals remote temperature measurement was more complicated in technical. Therefore, a new type digital temperature sensor DS18B20 is proposed. It has smaller size, higher precision, uses first-line bus and has the advantages of networking. The design takes AT89C51 microcontroller as control kernal, the multi-point temperature measurement is completed combining with RS485 and the data is sent to the host display, it is easy to monitor the host site and dispose the situation timely. The design achieves the desired results by using the keilc software compilation and proteus7.5 simulation.
Keywords: mono-bus; DS18B20; multi-point temperature measurement; AT89C51
0 引 言
多點測溫系統在工業領域及其國民生產中有廣泛的用途[1]。如在化工領域中,經常需要檢測和控制反應釜中的液體的溫度,使之能夠穩定在一定的溫度范圍之內[2];在糧食儲存以及加工過程中,會儲存高水分的糧食,高水分的糧食極易升溫發霉,因此糧食儲存的測溫顯得尤為重要[3]。以往的測溫系統多采用熱敏電阻,精度低、易損壞,且模擬信號遠距離溫度測量系統中,需要很好地解決引線誤差補償問題、多點測量切換誤差問題和放大電路零點漂移誤差問題等技術問題[4-5],才能夠達到較高的測量精度。
因此,在溫度測量系統中,具有足夠的精度和實時性,控制足夠的精度,并且盡可能具有較低的成本,這樣的產品才具有實用價值。本文采用新型數字溫度傳感器DS18B20,它具有體積更小、精度更高、適用電壓更寬、采用一線總線、可組網等優點,以單片機AT89C51為控制核心完成多點測溫的可行性設計方案。……