嵌入式多通道監(jiān)測系統(tǒng)通信技術研究與實現
發(fā)布時間:2018-10-23 11:24
【摘要】:現今對各行業(yè)設備的多個參數同時進行監(jiān)測,已經是嵌入式設備的重要功能之一。而現實世界是以模擬信號存在,把模擬信號轉化為數字信號是嵌入式設備進行后期數據處理的前提。將采集到的數據經過嵌入式開發(fā)板處理,通過套接字應用網絡協(xié)議上傳到遠程監(jiān)控室,監(jiān)控室通過對設備的各種狀態(tài)、性能參數進行監(jiān)測,以達到預測設備故障和工作壽命的作用,從而提高生產效率,減小因設備突發(fā)故障而導致的財產損失。 系統(tǒng)是以Linux作為嵌入式操作系統(tǒng),以ARM Cortex-A8系列的s5pv210芯片作為嵌入式處理器,同時用TI (Texas Instruments,德州儀器)公司的ADS8345作為A/D轉換模塊進行數據采集。Linux系統(tǒng)因為擁有源代碼公開、內核可裁剪、資源豐富等特點,在嵌入式領域得到了廣泛的應用;s5pv210是三星公司出品的基于ARM框架的嵌入式處理器芯片,具有高性能、低功耗等特點;ADS8345是一款16位逐次逼近型8通道串行輸出的內部采樣型模數轉換器。 論文給出了多通道A/D數據采集的軟硬件實現方案,重點是研究掛接在Linux設備模型各種總線的外圍設備與Linux內核的通信方法以及嵌入式開發(fā)板與上位機測試程序的通信方法。以此為基礎實現了ADS8345驅動程序的編寫,完成了多通道數據的采集,利用SPI通信協(xié)議將采集到的多通道數據傳遞給嵌入式開發(fā)板處理。編寫嵌入式應用程序,利用網絡TCP通信協(xié)議將處理后的數據根據自定義的協(xié)議報文打包上傳給監(jiān)控室上位機。上位機測試程序通過解析報文獲得各個通道數據,測試、驗證和動態(tài)顯示每個通道的數據曲線。 通過模擬實際設備測試系統(tǒng),證明該采集系統(tǒng)各模塊之間的通信具有良好的穩(wěn)定性。分析測試結果,證明采集到的多通道數據的精度、速率滿足系統(tǒng)的技術指標。對后續(xù)系統(tǒng)的進一步開發(fā)、完善以及性能優(yōu)化提供了一定的借鑒價值。
[Abstract]:Nowadays, it is one of the important functions of embedded devices to monitor several parameters of equipments in various industries at the same time. However, the real world exists as analog signals, and converting analog signals to digital signals is the premise of embedded devices in the later stage of data processing. The collected data is processed by embedded development board and uploaded to the remote monitoring room through socket application network protocol. The monitor room monitors the state and performance parameters of the equipment. In order to predict the equipment failure and working life, improve the production efficiency and reduce the property loss caused by the sudden failure of the equipment. The system uses Linux as embedded operating system, s5pv210 chip of ARM Cortex-A8 series as embedded processor, and ADS8345 of TI (Texas Instruments, Texas Instruments as Ar / D conversion module. Linux system is open because of its open source code. S5pv210 is an embedded processor chip based on ARM framework produced by Samsung, which has the characteristics of high performance and low power consumption. ADS8345 is a 16-bit successive approximation 8-channel serial output internal sampling A-D converter. In this paper, the software and hardware implementation of multi-channel A / D data acquisition is presented. The emphasis is on the communication method between the peripheral devices connected to various buses in the Linux device model and the Linux kernel, as well as the communication method between the embedded development board and the host computer test program. On this basis, the ADS8345 driver is written, the multi-channel data collection is completed, and the multi-channel data is transferred to the embedded development board by using the SPI communication protocol. The embedded application program is written, and the processed data is packaged and uploaded to the host computer of the monitor room according to the self-defined protocol message by using the network TCP communication protocol. The upper computer test program obtains the data of each channel by analyzing the message, tests, verifies and dynamically displays the data curve of each channel. The communication between the modules of the acquisition system is proved to be stable by simulating the testing system. By analyzing the test results, it is proved that the precision and rate of the collected multi-channel data meet the technical requirements of the system. It provides some reference value for the further development, improvement and performance optimization of the follow-up system.
【學位授予單位】:北方工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP368.1
本文編號:2289082
[Abstract]:Nowadays, it is one of the important functions of embedded devices to monitor several parameters of equipments in various industries at the same time. However, the real world exists as analog signals, and converting analog signals to digital signals is the premise of embedded devices in the later stage of data processing. The collected data is processed by embedded development board and uploaded to the remote monitoring room through socket application network protocol. The monitor room monitors the state and performance parameters of the equipment. In order to predict the equipment failure and working life, improve the production efficiency and reduce the property loss caused by the sudden failure of the equipment. The system uses Linux as embedded operating system, s5pv210 chip of ARM Cortex-A8 series as embedded processor, and ADS8345 of TI (Texas Instruments, Texas Instruments as Ar / D conversion module. Linux system is open because of its open source code. S5pv210 is an embedded processor chip based on ARM framework produced by Samsung, which has the characteristics of high performance and low power consumption. ADS8345 is a 16-bit successive approximation 8-channel serial output internal sampling A-D converter. In this paper, the software and hardware implementation of multi-channel A / D data acquisition is presented. The emphasis is on the communication method between the peripheral devices connected to various buses in the Linux device model and the Linux kernel, as well as the communication method between the embedded development board and the host computer test program. On this basis, the ADS8345 driver is written, the multi-channel data collection is completed, and the multi-channel data is transferred to the embedded development board by using the SPI communication protocol. The embedded application program is written, and the processed data is packaged and uploaded to the host computer of the monitor room according to the self-defined protocol message by using the network TCP communication protocol. The upper computer test program obtains the data of each channel by analyzing the message, tests, verifies and dynamically displays the data curve of each channel. The communication between the modules of the acquisition system is proved to be stable by simulating the testing system. By analyzing the test results, it is proved that the precision and rate of the collected multi-channel data meet the technical requirements of the system. It provides some reference value for the further development, improvement and performance optimization of the follow-up system.
【學位授予單位】:北方工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP368.1
【參考文獻】
相關期刊論文 前3條
1 梁金千,張躍,甄成;Linux設備驅動程序架構的研究[J];計算機工程與應用;2002年08期
2 董志國;李式巨;;嵌入式Linux設備驅動程序開發(fā)[J];計算機工程與設計;2006年20期
3 金惠芳,陶利民,張基溫;Linux下多線程技術分析及應用[J];計算機系統(tǒng)應用;2003年09期
相關碩士學位論文 前8條
1 張文;基于硬件抽象層的實時數據處理與圖形顯示技術研究[D];北方工業(yè)大學;2011年
2 郝新軼;基于ARM的嵌入式系統(tǒng)設計[D];吉林大學;2004年
3 劉崢;基于Linux的嵌入式系統(tǒng)實時通信技術研究[D];山東大學;2005年
4 劉茵;遠程數據采集系統(tǒng)體系結構研究[D];中南大學;2005年
5 丁文俊;高壓斷路器狀態(tài)監(jiān)測系統(tǒng)的研究與開發(fā)[D];浙江大學;2006年
6 賈占遠;電弧焊工藝參數監(jiān)測及分析系統(tǒng)研究[D];吉林大學;2006年
7 宋晨煒;基于ARM的電子警察車輛檢測系統(tǒng)設計[D];重慶大學;2009年
8 余東平;高速多道同步采集系統(tǒng)的設計與研究[D];成都理工大學;2012年
,本文編號:2289082
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2289082.html