| The research of the universal power supply controller based on the open source platform was conducted to meet the special requirements of a proton therapy facility for the current output by the dynamic power supply device located on the main ring.The control system of a dynamic power supply on a synchronous acceleration ring is an important subsystem of a proton therapy facility’s treatment system,which has high requirements on the synchronization,resolution,dynamic response and reliability of the exciting current output by the dynamic power supply.During the debugging stage of the therapy facility,the local controller of the dynamic power supply is directly controlled by the remote Input/Output Controller(IOC),limited by the communication and data processing capabilities of the local controller,which can only trigger the output of reference current waveform data stored on the local controller through a simple interactive protocol.This control method has the disadvantages of insufficient flexibility,low communication rate,long time for prestored waveforms and heavy load on the local controller of the power supply.In view of the higher demand for power supply in the later stage of proton therapy devices,this paper carried out the pre-research work of the universal power supply communication control system based on the open source platform.The control system acts as the intermediate medium between the remote user and the local controller of the dynamic power supply,which can coordinate the data interaction and control strategy between them and enhance the flexibility of the whole system to meet the higher requirements of the control strategy.The hardware platform of the control system is combined with an open source platform controller and a selfresearch controller.The former used as the top-level hardware platform,on which the upper-level control software and IOC based on the Experimental Physics and Industrial Control System(EPICS)was developed.The latter takes a Field Programmable Gate Array(FPGA)as the core and is used as the bottom-level hardware platform.The high-speed data interaction between the top-level hardware platform and the bottom-level hardware platform is realized by a GPMC high speed bus.At the same time,we integrated the function of time sequence distribution and data interaction acting on the local controller of the dynamic power supply on the bottom-level hardware platform,which can control the dynamic power supply to output dynamic current waveforms through the high-speed optical fiber.The results show that the control system can reliably and efficiently receive data from the remote user to control the dynamic power supply outputting the preset reference current waveforms,thus realizing the control requirements of multi energy platform.The control system can transmit up to 100,000 instructions per second and has zero error rates for million times of data transmission,and can be effectively combined with the timing and interlocking system,greatly improving the flexibility of the whole dynamic power supply control system.This control system is used as the intermediate medium between the remote user and the local controller of the dynamic power supply,which can effectively release the operation and control pressure of the power supply equipment’s local controller and improve the reliability of the dynamic power supply.Simultaneously,the system also meets the needs of static power supply upper control,it is a set of flexible architecture,strong expansibility of the general upper power supply communication controller,which can be extended to be used as a universal control platform. |