论文部分内容阅读
为实现加速器磁铁电源的全数字化控制,以FPGA为控制部件,采用Altera提供的片上可编程系统SOPC的解决方案,基于NiosⅡ嵌入式处理器设计了数字电源控制系统;该系统利用Altera提供的标准外围设备库的知识产权IP核,结合用户自定义逻辑构成SOPC系统,在NiosⅡ软件设计中,采用小型实时嵌入式操作系统uC/OS-Ⅱ进行多任务调度;通过Modbus协议的串口实现,提供数字化电源的本地调试接口,并以实验室虚拟仪器工作平台LabView,设计了本地调试的人机交互界面,实现对数字化电源的监控、诊断及数字电源内部参数的设置等功能。
In order to realize full digitized control of accelerator magnet power supply, a control system based on FPGA is adopted. The solution of on-chip programmable system SOPC provided by Altera is designed. The digital power control system is designed based on Nios II embedded processor. The system uses the standard peripheral provided by Altera Equipment IP core IP core, combined with user-defined logic to form SOPC system, Nios Ⅱ software design, using a small real-time embedded operating system uC / OS-Ⅱ for multi-task scheduling; Modbus protocol through the serial port to provide digital power Local debug interface, and designed a local debug man-machine interface by lab virtual instrument working platform LabView to realize the functions of monitoring, diagnosing and setting the internal parameters of digital power.