摘 要: 國內水庫水位測量大多采用人工測量的方法,或是通過GPRS實現遠程監測。人工方法測量存在人身安全問題,測量數據的不準確性,監測的實時性較差等問題,利用GPRS對水庫水位遠程多點實時監控,功耗、供電等問題造成附加成本較高。系統采用STC89C52微控制器,處理傳感器測得的水位數據,通過現場數碼管實時顯示水位信息,采用低功耗的ZigBee技術實現數據無線遠程傳輸,監控中心通過C#編寫的可視化界面實時觀測水庫水位信息。實驗證明系統具有實時性強、數據準確、智能化高、易組網、成本低、便于安裝和維護等優點,具有一定的應用價值。
關鍵詞: 水庫水位監測; 遠程控制; ZigBee; STC89C52
中圖分類號: TN911?34 文獻標識碼: A 文章編號: 1004?373X(2013)13?0068?03
System of reservoir level monitoring and remote control based on ZigBee
CHENG Qin, REN Hai?dong
(Xuzhou College of Industrial Technology, Xuzhou 221140, China)
Abstract: The water level of reservoir is measured by manpower or remote monitoring of GPRS, but some problems like safety, inaccuracy of data and lack of real?time monitoring exist in the manpower measurment, and the remote monitoring through GPRS calls for high power consumption and high cost. The microcontroller STC89C52 is used to obtain the water level data through sensors and display the real?time water level information by digital tube. The low?power technology of ZigBee is adopted to realize wireless remote transmission of the data. The monitoring center observe the information of reservoir water level at real time through visual interface programmed with C#. The experiment show that the system has the advantages of hard real time, accurate data, high level intelligentization, fast networking and low cost, and is easy to install and maintain.
Keywords: reservoir level monitoring; remote control; ZigBee; STC89C52
0 引 言
中國水之源總量居世界第六位,人均占有水資源量僅為世界人均占有量的四分之一,合理的利用和處理水資源已成為我國現面臨的一個非常重要的問題[1]。目前,國內許多水庫水位監測都是采用人工的方法,或是通過GPRS實現遠程監測。人工的方法存在著測量的人身安全問題,而且還存在著數據測量的準確性問題,監測的實時性不強等問題,這嚴重的影響了正常的工作效率。通過GPRS實現遠程監控的方法對于復雜地形或多點檢測附加成本比較高[2]。
隨著網絡和通信技術的發展,人們對無線通信的要求越來越高,低功耗、遠程、低速、廉價的ZigBee無線網絡技術組件成為關注的焦點。為此本系統采用了單片機來處理傳感器測得的水位數據并采用ZigBee技術實現數據傳輸,從而達到實時監測及遠程控制的目的。……