1. IE browser is NOT supported anymore. Please use Chrome, Firefox or Edge instead.
2. If you are a new user, please register to get an IHEP SSO account through https://login.ihep.ac.cn/registlight.jsp Any questions, please email us at helpdesk@ihep.ac.cn or call 88236855.
3. If you need to create a conference in the "Conferences, Workshops and Events" zone, please email us at helpdesk@ihep.ac.cn.
4. The max file size allowed for upload is 100 Mb.
1–6 Nov 2026
Dongguan Exhibition International Hotel
Asia/Shanghai timezone

Operator Tools for the CSNS Rapid Cycling Synchrotron Built on the Pyapas Framework

3 Nov 2026, 11:45
5m
Dongguan Exhibition International Hotel

Dongguan Exhibition International Hotel

Speaker

Yuwen An (高能所)

Description

The China Spallation Neutron Source Rapid Cycling Synchrotron (CSNS-RCS) operates with a demanding acceleration cycle and tight beam-loss constraints, which puts high requirements on its operation tools. We present a set of operator applications developed on Pyapas, the Python-based accelerator physics application framework used at CSNS, HEPS and BEPCII. These applications talk to the EPICS control system through Channel Access and reuse the framework's common building blocks for GUI, data acquisition and online accelerator modelling with Ocelot.

Five applications are highlighted:

RCS Online Tuner (RCDS). A Python port of the Robust Conjugate Direction Search algorithm for online, noise-tolerant optimization of orbit corrector settings, taking the total beam loss (BLM) or the transmission efficiency as the objective. A virtual-accelerator mock mode allows safe development and training without an IOC.

RCS Local Bump. Computes 41-point field-increment waveforms for up to 37 correctors, following the measured Bρ(t) ramp from injection to extraction. The waveforms are superposed onto the existing EPICS AC waveform channels and verified by readback after each write, supporting the creation of stable local bumps for injection and extraction studies.

MIA/ICA. A turn-by-turn BPM analysis tool that parses TBT data files, applies Second-Order Blind Identification (ICA) to separate coupled betatron modes, and overlays the measured tunes on the resonance diagram. Online connection to the Libra turn-by-turn PVs is being added.

RCS BLM Display. A beam-loss-monitor display showing BLM location photos and waveform statistics (Max/Mean/Std) over the R1–R4 sectors, providing quick identification of loss locations during commissioning and operation.

RCS Parameters Display. A machine-parameter monitor covering 32 BPMs, 82 BLMs and the transmission efficiency, with Libra turn-by-turn BPM waveforms. A 500-shot ring buffer provides real-time display, front/back-window comparison and storage in CSV/HDF5 formats, with automatic alerts when the transmission efficiency drops.

These tools demonstrate how a lightweight Python/EPICS framework can turn machine data into physics-based, interactive operation aids, and how advanced optimization and analysis techniques can be introduced into daily accelerator operation with low development cost.

Primary author

Yuwen An (高能所)

Co-authors

Dr Xiaohan Lu (高能所) Yong Li (csns) Mingtao Li (高能所) Hanyang Liu Lei Zeng Jianmin Tian (高能所) Fang Li (高能所) Ming-Yang Huang (高能所) Rong Ye Jianliang Chen (高能所) Liangsheng Huang (高能所)

Presentation materials

There are no materials yet.