摘要
由于DMA(direct memory access,直接存储器存取)方式无需进行周期挪用地读取外设寄存器数据,与CPU并行工作,从而最大限度地实现了大批量数据实时处理。利用这一特点,为了进一步提高网络数据采集系统的实时性,提出了基于DMA方式构建EtherCAT网络数据采集系统的方案。简单介绍了EtherCAT技术特点和通信原理,详细介绍了采集系统在DMA方式下的工作原理,阐述了系统的硬件连接,完成了主站和从站的软件设计。通过对多路模拟数据采集的测试,验证了整个系统的可行性。
Data in peripheral registers can be read without cycle stealing in DMA(direct memory access) mode,which can be completed in parallel with CPU,so it can realize real-time data processing with great extent.Because of this,to further improve the real-time performance of data acquisition system,a data acquisition system based on EtherCAT with DMA mode is proposed.The technical features and communication theory of EtherCAT are simply introduced,the working principle of the system under DMA mode is analyzed in detail,the hardware connection is completed,and software of master station and slave station is designed.The feasibility of the whole system is verified though experiment of multi-channel analog data acquisition.
出处
《测控技术》
CSCD
北大核心
2012年第1期70-74,共5页
Measurement & Control Technology
基金
国家自然科学基金资助项目(50879098)
辽宁省教育厅高校科研计划资助项目(LS2010032)
中央高校基本科研业务费专项资金资助项目(DUT 10JR14)
作者简介
李木国(1953-),男,辽宁庄河人,教授,主要研究方向为网络运动控制、图像测量等;
柳华(1985-),女,河北保定人,硕士,主要研究方向为网络数据采集和运动控制。