A synchrotron radiation beamline automatic optimization system has been used in the Shanghai Synchrotron Radiation Facility, improving the optimization efficiency, but it does not store and use the beamline adjusting experience, and cannot quickly optimize and store the experienced improvement. The expert system combined with an automatic evolutionary algorithm is used for intelligent beamline optimization; the algorithm initialization is optimized by invoking database experience, the convergence is quickly completed near the optimal solution, and the system's learning is improved by storing experience results. The software was designed on the EPICS (Version 3.15) platform, which was used to implement the algorithm in Python language, the expert database was developed with MongoDB tool (Version 4.0.27), and the upper application interface was designed with CSS software (Phoebus Version 4.7.2). The system was successfully tested on the BL13U hard X-ray nanoprobe beamline of Shanghai Synchrotron Radiation Facility. The results show that the maximum convergence time of a single objective with four-axis degrees of freedom is about 2 min, and the speed is increased by 15 times. The solution set obtained by using multi-objective two and four-axis degrees of freedom is better overall. The system can effectively improve the optimization efficiency and effect, and its universality can be extended to other synchrotron radiation devices and beamlines to promote the development of intelligent beamline modulation technology.
Keywords: BL13U; SSRF; automatic evolutionary algorithm; beamline control; expert system.