基于嵌入式平臺的農(nóng)田信息采集系統(tǒng)的研究及應(yīng)用
發(fā)布時間:2018-03-02 01:15
本文關(guān)鍵詞: ARM9 遠(yuǎn)程監(jiān)測 嵌入式技術(shù) Linux 數(shù)據(jù)采集 Qt 出處:《昆明理工大學(xué)》2012年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著農(nóng)業(yè)生產(chǎn)技術(shù)的不斷提高與進(jìn)步,農(nóng)業(yè)生產(chǎn)過程也越來越趨向于信息化和自動化。計算機(jī)技術(shù)和自動化技術(shù)更為農(nóng)業(yè)生產(chǎn)技術(shù)的進(jìn)步起到了強有力的推動作用。在農(nóng)業(yè)信息化、自動化的研究過程中對農(nóng)業(yè)信息的遠(yuǎn)程監(jiān)測與調(diào)控已成為了當(dāng)今的一個熱點問題。 本文針對農(nóng)田信息采集系統(tǒng)的實際需求,研究了基于嵌入式平臺的農(nóng)田信息采集系統(tǒng),著重研究了農(nóng)田信息采集系統(tǒng)中的溫濕度、圖像的采集傳輸和客戶端GUI設(shè)計。該系統(tǒng)以三星公司生產(chǎn)的S3C2440ARM9微處理器為核心構(gòu)建硬件開發(fā)平臺,以嵌入式Linux作為軟件開發(fā)平臺。系統(tǒng)設(shè)計中采用C/S架構(gòu)與專用客戶端軟件相結(jié)合,將嵌入式數(shù)據(jù)采集和PC機(jī)客戶端監(jiān)測功能相分離,采用TCP協(xié)議對所采集數(shù)據(jù)進(jìn)行網(wǎng)絡(luò)傳輸,用戶可以通過客戶端軟件遠(yuǎn)程訪問嵌入式數(shù)據(jù)采集終端,實現(xiàn)對農(nóng)田信息的遠(yuǎn)程監(jiān)測。 文中首先對國內(nèi)外農(nóng)業(yè)生產(chǎn)過程中遠(yuǎn)程監(jiān)控技術(shù)的研究現(xiàn)狀進(jìn)行了分析,隨后提出了基于嵌入式平臺的農(nóng)田信息采集系統(tǒng)的軟、硬件總體架構(gòu),并對嵌入式數(shù)據(jù)采集終端軟、硬件平臺的搭建進(jìn)行了分析。在硬件方面,根據(jù)數(shù)據(jù)采集的需要對攝像頭、溫濕度傳感器進(jìn)行了選擇;在軟件方面完成了嵌入式軟件開發(fā)環(huán)境的搭建,包括:交叉開發(fā)環(huán)境的建立、U-Boot的移植、嵌入式Linux2.6內(nèi)核的裁剪與移植、BusyBox的編譯、文件系統(tǒng)的構(gòu)建、向文件系統(tǒng)中添加V4L2支持、添加USB攝像頭驅(qū)動支持、編寫和編譯DHT11溫濕度傳感器驅(qū)動、構(gòu)建包含Qt/E的文件系統(tǒng)等。在此基礎(chǔ)上,本文對DHT11的溫濕度采集原理、基于V4L2的圖像采集原理進(jìn)行論述,隨后利用Qt/E的多線程技術(shù),實現(xiàn)了DHT11的溫濕度采集和基于V4L2的圖像采集;利用Qt/E的Socket通信實現(xiàn)了溫濕度、圖像基于TCP協(xié)議的網(wǎng)絡(luò)傳輸。在PC機(jī)上,通過Qt編寫了客戶端軟件,該軟件實現(xiàn)了對嵌入式數(shù)據(jù)采集終端的溫濕度、圖像進(jìn)行監(jiān)測,并可以對圖像進(jìn)行保存。 最后,對整個信息采集系統(tǒng)進(jìn)行了測試,給出了測試結(jié)果,并對信息采集系統(tǒng)存在的不足和需要改進(jìn)的部分進(jìn)行了分析和展望。測試證明,系統(tǒng)能夠完成對農(nóng)田信息進(jìn)行遠(yuǎn)程監(jiān)測的基本功能。
[Abstract]:With the continuous improvement and progress of agricultural production technology, The process of agricultural production is becoming more and more information and automation. Computer technology and automation technology play a powerful role in promoting the progress of agricultural production technology. The remote monitoring and control of agricultural information has become a hot issue in the process of automation research. In this paper, according to the actual demand of farmland information acquisition system, the farmland information acquisition system based on embedded platform is studied, and the temperature and humidity in farmland information acquisition system are studied emphatically. The system uses S3C2440ARM9 microprocessor produced by Samsung company as the core to construct the hardware development platform. The embedded Linux is used as the software development platform. In the system design, the C / S architecture is combined with the special client software to separate the embedded data acquisition from the PC client monitoring function, and the TCP protocol is used to transmit the collected data over the network. Users can remotely access embedded data acquisition terminals through client software to realize remote monitoring of farmland information. This paper firstly analyzes the research status of remote monitoring technology in agricultural production at home and abroad, then puts forward the software and hardware architecture of farmland information acquisition system based on embedded platform, and the software of embedded data acquisition terminal. In the hardware aspect, according to the need of data acquisition, the camera and temperature and humidity sensor are selected, and the embedded software development environment is built in software. It includes: the establishment of cross-development environment, the transplantation of U-Boot, the cutting and transplanting of the embedded Linux2.6 kernel and the compilation of BusyBox, the construction of file system, the addition of V4L2 support to the file system and the support of USB camera driver. In this paper, the principle of temperature and humidity acquisition of DHT11 and the principle of image acquisition based on V4L2 are discussed, and then the multithread technology of Qt/E is used. The temperature and humidity collection of DHT11 and the image acquisition based on V4L2 are realized, and the network transmission of temperature and humidity based on TCP protocol is realized by Socket communication of Qt/E. In PC, the client software is written through QT. The software can monitor the temperature, humidity and image of the embedded data acquisition terminal and save the image. Finally, the whole information acquisition system is tested, the test results are given, and the shortcomings of the information acquisition system and the parts that need to be improved are analyzed and prospected. The system can complete the basic function of remote monitoring of farmland information.
【學(xué)位授予單位】:昆明理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP368.1;TP274.2
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 董喬雪,王一鳴;溫室計算機(jī)分布式自動控制系統(tǒng)的開發(fā)[J];農(nóng)業(yè)工程學(xué)報;2002年04期
2 邵長彬;李洪亮;;用Busybox制作嵌入式Linux根文件系統(tǒng)[J];微計算機(jī)信息;2007年29期
3 宋延昭;嵌入式操作系統(tǒng)介紹及選型原則[J];工業(yè)控制計算機(jī);2005年07期
相關(guān)碩士學(xué)位論文 前1條
1 杜克明;農(nóng)業(yè)環(huán)境無線遠(yuǎn)程監(jiān)控系統(tǒng)的研究與實現(xiàn)[D];中國農(nóng)業(yè)科學(xué)院;2007年
,本文編號:1554398
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1554398.html
最近更新
教材專著