摘要
针对在重离子同步加速器运行过程中,如何解决设备控制器与上层数据处理程序之间的高速数据交换的问题,自主研发了基于Compact PCI总线板卡,板载FPGA,DSP,SDRAM等资源,并设计了DMA完整控制逻辑,传输协议解译全部由硬件完成(FPGA)。多个软硬件模块共同实现了该实时高速数据交换系统。该系统经实测,结构完整自洽,数据传输带宽符合重离子同步加速器运行要求,实现了数据传输的实时性。重点描述该系统数据通路上的诸多技术环节,包括硬件和软件的功能划分、FPGA、DSP、驱动程序、上层应用等各环节的技术细节。该实时数据交换系统系原创性设计,系统解决了控制与数据采集系统的设备控制层与上层数据处理层之间的实时数据交换问题。
This paper represents a systematic methodology to establish design requirements for the real-time data exchange between the industrial control computer based on Compact PCI and the device controller of heavy ion accelerator.The system core models include,PCI model based on FPGA which achieves PCI configuration and PCI master controller,DSP HPI controller which can transport data from FIFO to SDRAM or vice versa,and PCI device driver on microsoft Windows 7.The paper describes in detail how logic models cooperate with each other.Especially when DMA is executing,signals of FIFO for data exchange are used to control PCI master state machine and HPI state machine.Additionally,an interrupt INTA# is sent to Windows 7 as soon as DAM is finished.For verifying the feasibility of the system,a test application is designed which can non-stop write data to SDRAM by DMA or read data from SDRAM to memory by the same way.Thorough checking of the system shows rigorous conformance to the requirements of heavy ion synchrotron running.
出处
《强激光与粒子束》
EI
CAS
CSCD
北大核心
2014年第11期284-288,共5页
High Power Laser and Particle Beams
基金
国家自然科学基金项目(11105199)