Li Guihua, Zhao Wuyuan, Ma Jinzhong, et al. Real-time data exchange system based on compact PCI and DAM for heavy ion synchrotron control[J]. High Power Laser and Particle Beams, 2014, 26: 115103. doi: 10.11884/HPLPB201426.115103
Citation:
Li Guihua, Zhao Wuyuan, Ma Jinzhong, et al. Real-time data exchange system based on compact PCI and DAM for heavy ion synchrotron control[J]. High Power Laser and Particle Beams, 2014, 26: 115103. doi: 10.11884/HPLPB201426.115103
Li Guihua, Zhao Wuyuan, Ma Jinzhong, et al. Real-time data exchange system based on compact PCI and DAM for heavy ion synchrotron control[J]. High Power Laser and Particle Beams, 2014, 26: 115103. doi: 10.11884/HPLPB201426.115103
Citation:
Li Guihua, Zhao Wuyuan, Ma Jinzhong, et al. Real-time data exchange system based on compact PCI and DAM for heavy ion synchrotron control[J]. High Power Laser and Particle Beams, 2014, 26: 115103. doi: 10.11884/HPLPB201426.115103
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.