嵌入式多通道监测系统通信技术研究与实现
发布时间:2018-10-23 11:24
【摘要】:现今对各行业设备的多个参数同时进行监测,已经是嵌入式设备的重要功能之一。而现实世界是以模拟信号存在,把模拟信号转化为数字信号是嵌入式设备进行后期数据处理的前提。将采集到的数据经过嵌入式开发板处理,通过套接字应用网络协议上传到远程监控室,监控室通过对设备的各种状态、性能参数进行监测,以达到预测设备故障和工作寿命的作用,从而提高生产效率,减小因设备突发故障而导致的财产损失。 系统是以Linux作为嵌入式操作系统,以ARM Cortex-A8系列的s5pv210芯片作为嵌入式处理器,同时用TI (Texas Instruments,德州仪器)公司的ADS8345作为A/D转换模块进行数据采集。Linux系统因为拥有源代码公开、内核可裁剪、资源丰富等特点,在嵌入式领域得到了广泛的应用;s5pv210是三星公司出品的基于ARM框架的嵌入式处理器芯片,具有高性能、低功耗等特点;ADS8345是一款16位逐次逼近型8通道串行输出的内部采样型模数转换器。 论文给出了多通道A/D数据采集的软硬件实现方案,重点是研究挂接在Linux设备模型各种总线的外围设备与Linux内核的通信方法以及嵌入式开发板与上位机测试程序的通信方法。以此为基础实现了ADS8345驱动程序的编写,完成了多通道数据的采集,利用SPI通信协议将采集到的多通道数据传递给嵌入式开发板处理。编写嵌入式应用程序,利用网络TCP通信协议将处理后的数据根据自定义的协议报文打包上传给监控室上位机。上位机测试程序通过解析报文获得各个通道数据,测试、验证和动态显示每个通道的数据曲线。 通过模拟实际设备测试系统,证明该采集系统各模块之间的通信具有良好的稳定性。分析测试结果,证明采集到的多通道数据的精度、速率满足系统的技术指标。对后续系统的进一步开发、完善以及性能优化提供了一定的借鉴价值。
[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.
【学位授予单位】:北方工业大学
【学位级别】:硕士
【学位授予年份】: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.
【学位授予单位】:北方工业大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP368.1
【参考文献】
相关期刊论文 前3条
1 梁金千,张跃,甄成;Linux设备驱动程序架构的研究[J];计算机工程与应用;2002年08期
2 董志国;李式巨;;嵌入式Linux设备驱动程序开发[J];计算机工程与设计;2006年20期
3 金惠芳,陶利民,张基温;Linux下多线程技术分析及应用[J];计算机系统应用;2003年09期
相关硕士学位论文 前8条
1 张文;基于硬件抽象层的实时数据处理与图形显示技术研究[D];北方工业大学;2011年
2 郝新轶;基于ARM的嵌入式系统设计[D];吉林大学;2004年
3 刘峥;基于Linux的嵌入式系统实时通信技术研究[D];山东大学;2005年
4 刘茵;远程数据采集系统体系结构研究[D];中南大学;2005年
5 丁文俊;高压断路器状态监测系统的研究与开发[D];浙江大学;2006年
6 贾占远;电弧焊工艺参数监测及分析系统研究[D];吉林大学;2006年
7 宋晨炜;基于ARM的电子警察车辆检测系统设计[D];重庆大学;2009年
8 余东平;高速多道同步采集系统的设计与研究[D];成都理工大学;2012年
,本文编号:2289082
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2289082.html