Development of Commissioning Software for CSNS Weibin Liu on behalf of CSNS AP Group Yuwen An, Mingyang Huang, Mingtao Li, Yong Li, Zhiping Li, Yudong.

Slides:



Advertisements
Similar presentations
Machine Physics at ISIS Proton Meeting 24 th March 11 Dean Adams (On behalf of ISIS Accelerator Groups)
Advertisements

R. Miyamoto, Beam Physics Design of MEBT, ESS AD Retreat 1 Beam Physics Design of MEBT Ryoichi Miyamoto (ESS) November 29th, 2012 ESS AD Retreat On behalf.
Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
Experience with Bunch Shape Monitors at SNS A. Aleksandrov Spallation Neutron Source, Oak Ridge, USA.
XAL at J-PARC Hiroyuki Sako, G. Shen, JAEA C. K. Allen, ORNL Contents Why did we introduce XAL? Installing XAL Developing XAL Achievements with XAL Summary.
XAL Recent Development
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
ILC RTML Lattice Design A.Vivoli, N. Solyak, V. Kapin Fermilab.
Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda, H. Sako, H. Suzuki,
J. Turner 02/07/05 SLAC PEPII Accelerator Physics LER WIGGLER PLAN J. Turner, M. Donald, M. Sullivan, U. Wienands, J. Yocky Motivation and Concerns Details.
EPICS Collaboration Meeting, November SNS Optics Database N. Malitsky.
Henrik Loos LCLS 6 February 2009 SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Managed by UT-Battelle for the Department of Energy SNS Beam Commissioning Tools and Experience Andrei Shishlo on Behalf of SNS Team HB2008, Nashville,
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
12/3/2015J-PARC1 High Level Physics Applications XAL – An Accelerator Hierarchy Day 1: Accelerator View from the Physicist.
Paul Chu SLAC App. 10/14/ SLAC (LCLS) Application Plans P. Chu for SLAC High-Level Application Team.
PROTON LINAC FOR INDIAN SNS Vinod Bharadwaj, SLAC (reporting for the Indian SNS Design Team)
Managed by UT-Battelle for the Department of Energy Using Online Single Particle Model for SNS Accelerator Tuning Andrei Shishlo, Alexander Aleksandrov.
ATF2 Commissioning Toshiyuki Okugi 2008 / 7 /9 ATF2 beam commissioning meeting, KEK.
Low emittance tuning in ATF Damping Ring - Experience and plan Sendai GDE Meeting Kiyoshi Kubo.
6-D dynamics in an isochronous FFAG lattice e-model Main topic : Tracking code development : 3-D simulation of the field in an isochronous FFAG optics.
Managed by UT-Battelle for the Department of Energy SNS Injection and Extraction Systems Issues and Solutions by M. Plum for the SNS team and our BNL collaborators.
Vertical Emittance Tuning at the Australian Synchrotron Light Source Rohan Dowd Presented by Eugene Tan.
28-May-2008Non-linear Beam Dynamics WS1 On Injection Beam Loss at the SPring-8 Storage Ring Masaru TAKAO & J. Schimizu, K. Soutome, and H. Tanaka JASRI.
ILC Damping Ring Alternative Lattice Design ( Modified FODO ) ** Yi-Peng Sun *,1,2, Jie Gao 1, Zhi-Yu Guo 2 Wei-Shi Wan 3 1 Institute of High Energy Physics,
1 Virtual Accelerator plan and status at RCS Hiroshima University, Graduate School of Science Experimental Quark Physics Lab ( & JAEA Accelerator Development.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
Accelerator Systems DivisionOak Ridge National Laboratory March 10-12, 2003 ORBIT SIMULATIONS AND RESULTS Jeff Holmes Accelerator Physicist September 30,
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Booster Losses Keith Gollwitzer PIP and MI 700 kW review January 2015.
Paul Chu XAL for 10/14/ XAL for SLAC/LCLS Paul Chu.
By Verena Kain CERN BE-OP. In the next three lectures we will have a look at the different components of a synchrotron. Today: Controlling particle trajectories.
2/20/2016J-PARC1 Virtual Accelerator An Accelerator Simulator.
1 BEAM COMMISSIONING SOFTWARE AND DATABASE FOR J-PARC LINAC Hiroyuki Sako G. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEA H. Ikeda, VIC C. K. Allen,
The Introduction to CSNS Accelerators Oct. 5, 2010 Sheng Wang AP group, Accelerator Centre,IHEP, CAS.
Beam Physics Issue in BEPCII Commisionning Xu Gang Accelerator physics group.
CSNS Timing System G. Lei Feb Page CSNS Timing System Feb Contents of this talk Breif introduction to CSNS Requirement investigation Strategy:
Tools in CTF3 Simona Bettoni for the CTF3 operation team.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
A.Saini, K.Ranjan, N.Solyak, S.Mishra, V.Yakovlev on the behalf of our team Feb. 8, 2011 Study of failure effects of elements in beam transport line &
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Thomas Roser SPIN 2006 October 3, 2006 A Study of Polarized Proton Acceleration in J-PARC A.U.Luccio, M.Bai, T.Roser Brookhaven National Laboratory, Upton,
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
XAL Applications Development in CSNS Weibin Liu for AP Group of CSNS Yuwen An, Mingyang Huang, Mingtao Li, Yong Li, Zhiping Li, Yudong Liu, Jun Peng, Jing.
ICFA mini-Workshop on Beam Commissioning for High Intensity Accelerators Yasuhiro Watanabe (J-PARC / JAEA) Tracking between bending and quadrupole families.
CSNS cryogenic system Institute of High Energy Physics Guoping Wang June 21, 2016.
The Preparation for CSNS Accelerator Commissioning Sheng Wang June 8, 2015, Dongguan.
ORNL is managed by UT-Battelle for the US Department of Energy Commissioning experience of SNS Ring By M. Plum ICFA mini-workshop on beam commissioning.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
BEAM COMMISSIONING SOFTWARE AND DATABASE FOR J-PARC LINAC Hiroyuki Sako G. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEA H. Ikeda, VIC C. K. Allen,
LCLS Commissioning & Operations High Level Software
Pretzel scheme of CEPC H. Geng, G. Xu, Y. Zhang, Q. Qin, J. Gao, W. Chou, Y. Guo, N. Wang, Y. Peng, X. Cui, T. Yue, Z. Duan, Y. Wang, D. Wang, S. Bai,
LHC Emittance Measurements and Preservation
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
LCLS Commissioning & Operations High Level Software
Juan, Emanuele, Natalia, Yngve, Sofia
6-D dynamics in an isochronous FFAG lattice e-model
CEPC-SPPC Beihang Symposium
A Virtual Implementation of VELA (CLARA)
High Level Physics Applications for LCLS Commissioning
Studies on orbit corrections
Update on CEPC pretzel scheme design
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

Development of Commissioning Software for CSNS Weibin Liu on behalf of CSNS AP Group Yuwen An, Mingyang Huang, Mingtao Li, Yong Li, Zhiping Li, Yudong Liu, Jun Peng, Jing Qiu, Na Wang, Yuanyuan Wei, Shouyan Xu, Yue Yuan, Sheng Wang, Nan Huang ICFA mini-Workshop on Beam Commissioning for High Intensity Accelerators, June , 2015 China Spallation Neutron Source Institute of High Energy Physics, CAS, Beijing, China

散裂中子源进展汇报 八月 11, Outline 1.A Brief History of XAL at CSNS 2.XAL work at CSNS 3.Summary

散裂中子源进展汇报 八月 11, A Brief History of XAL at CSNS

散裂中子源进展汇报 八月 11, Application level TCP/IP Network Accelerator hardware interface XML Database EPICS Channel Access Overall relationship of the XAL application framework …… Physicist and Operator XAL is a framework (software package) designed to provide an accelerator physics programming platform. With XAL physics applications can be developed relatively easily. XAL was developed in Java by SNS firstly. Now it is used and developed by many accelerator laboratories, e.g. SNS, SLAC, FRIB, LANL, etc.

散裂中子源进展汇报 八月 11, 2014 About 7 years ago, when CSNS was at physics design stage, the commissioning software which will be used at CSNS was considered. XAL as a software infrastructure for accelerator physics was used successfully at some accelerator laboratories, for example SNS, SLAC, etc. With the help of Dr. Paul Chungming Chu, we had understood the XAL in-depth. In 2012, we decided using XAL as the commissioning software for CSNS. With the help of Dr. Paul Chungming Chu and Dr. Thomas Pelaia, several people of CSNS AP group were send to SNS and FRIB to study XAL. 5

散裂中子源进展汇报 八月 11, XAL is a large Java project, many people maybe write codes for this project at the same time. A version control system is needed for XAL developing to avoid coding confliction and repetition. At CSNS, we chose GIT, one of the version control software, to manage XAL project development. Also Eclipse was suggested as the programming IDE(Integrated Development Environment). In Feb. 2013, a GIT server of XAL was set up at IHEP, which means the starting of accelerator application software development for CSNS. From then on most people of CSNS AP group attended the software work.

散裂中子源进展汇报 八月 11, 2014 A web view of XAL GIT of CSNS The GIT server was build by Control group of CSNS. 7

散裂中子源进展汇报 八月 11, The developing history view of CSNS XAL in Eclipse and Web

散裂中子源进展汇报 八月 11, CSNS is a spallation neutron source as SNS. Many XAL applications of SNS are similar to CSNS. So a SNS version XAL was selected as the basis of CSNS version XAL. Some applications from SNS can be ported to CSNS with small modification. Despite the XAL porting work, many application developing work also need to do, because of the specific situation of CSNS. At first the XAL was introduced to CSNS, most of the people attended to the XAL work do not good at programming, especially using Java and EPICS. We started the work from learning JAVA and EPICS. After two years work, we ported most of the general applications, and also we developed some specific applications for CSNS.

散裂中子源进展汇报 八月 11, XAL Work at CSNS 10

散裂中子源进展汇报 八月 11, The XAL Optics File for CSNS Optics files in XAL format are very important and basic files for the XAL applications. The XAL optics files not only contains the layout of the accelerator, but also include the beam diagnosis and power supply PVs for using and control. The optics files are very large and complicated. Several applications were developed to convert accelerator survey files to XAL optics files for CSNS Linac, LRBT, RCS and RTBT. At the CSNS construction stage, the details of the survey files are often changed. With these applications it is convenient to get the newest XAL optics files. LinacSurveyToXAL LRBTSurveyToXAL RCSSurveyToXAL RTBTSurveyToXAL CSNS.xdxf

散裂中子源进展汇报 八月 11, Beta function plots of LRBT, RCS and RTBT with MPX.

散裂中子源进展汇报 八月 11, With the model files, the virtual accelerator worked. Many physics applications can be developed with this app.

散裂中子源进展汇报 八月 11, 2014 Physics apps and Magnet Power Supply Adjustment 14 Control variables of physics apps usually are magnetic fields. The magnetic fields can not be used by the magnet power supplies directly. They must be converted to currents according to the magnetization curves of the magnets firstly. And then the currents are sent to PSs to ramp. Also the readback values of PSs need to be converted to magnetic fields for the physics apps. To realize this process, EPICS soft IOC(Input / Output Controller) is constructed at CSNS. All relations of magnetic fields to PS currents and PS currents to magnetic field are stored in the records of the soft IOC database.

散裂中子源进展汇报 八月 11, 2014 Relations between accelerator physics apps, physics soft IOC and PS 15

散裂中子源进展汇报 八月 11, 2014 EPICS Record Database for Physics soft IOC There are hundreds of magnets at CSNS, including quadrupoles, dipoles, correctors, octupoles, kickers. We created magnet database with MySQL to store magnet magnetization curve data and fit results. A magnet database manage application was developed to upload and fit magnetization curves data. This database can be used by records creating application to create the records for the soft IOC database easily. We also created EPICS record database to store the records used by the soft IOC. An app named EPICS Record Browser is used to browse the magnet records in the database. And it can be used to create database (.db) file for the EPICS soft IOC. Records in the database not only include the records that will be used on line, but also include some records simulating the PSs and some other PVs (for control and beam diagnosis). With all these records in the database, accelerator hardware can be simulated offline. 16

散裂中子源进展汇报 八月 11, 2014 Magnet Database Schema 17

散裂中子源进展汇报 八月 11, 2014 Magnet Database Manager interface 18

散裂中子源进展汇报 八月 11, Magnetization curve polynomial fitting interface and a EPICS record for conversion of magnetic field to PS current

散裂中子源进展汇报 八月 11, 2014 EPICS record browser interface Records with check markers are used for offline simulation. 20

散裂中子源进展汇报 八月 11, Operation Models of CSNS Except the optics model, there are many other models for the operation of CSNS. Here some of the models are listed. 1.Painting curve model 2.RCS RF model (amplitude and phase curve) 3.Extraction kicker model (amplitude and timing for 8 kickers) 4.RCS corrector model (20 set values for 20 orbits) 5.RCS collimator model (5 collimator and 20 scrapers) 6.Stripping Foil model …… The complete operation model is consist of all these models. To manage these models, the apps and database are being constructed.

散裂中子源进展汇报 八月 11, 2014 All the models have their own default models. With the model path manager app, the default model can be changed, just like the optics model. And the model interface can be displayed. 22

散裂中子源进展汇报 八月 11, 2014 Models can also be fetched from the database or uploaded to the database. 23

散裂中子源进展汇报 八月 11, 2014 Lattice/Model Schema To manage the lattice model, database was built with MySQL at CSNS. Also a app is developed to upload and download the models. Model Management 24

散裂中子源进展汇报 八月 11, 2014 Model Management App Database Local 25

散裂中子源进展汇报 八月 11, 2014 XAL has good portability. Some applications can be applied to CSNS directly or with a little modification. For example, Orbit Correction Online Model PASTA Virtual Accelerator Application Launcher Scan 1D Scan 2D PV Histogram …… 26 XAL Application Porting and Development at CSNS

散裂中子源进展汇报 八月 11, Some applications have been modified according to CSNS needs. For example, Beam Injection Control Auxiliary Optics Control Beam at Foil RTBT Wizard RCS Parameter Measurement RCS Orbit Correction …… And some applications are developed for CSNS. For example, Beam Based Alignment Extraction Kicker Settings RCS Collimator Adjustment ……

散裂中子源进展汇报 八月 11, Application Launcher

散裂中子源进展汇报 八月 11, 2014 Waveform Display of LEBT and MEBT CTs 29 Array PV Viewer

散裂中子源进展汇报 八月 11, 2014 Scan 1D was used to scan LEBT correctors for beam current optimization 30 Scan 1D

散裂中子源进展汇报 八月 11, 2014 Orbit correction test on CSNS MEBT A BPM hor. value with problem before correction maximum: ± 5mm after correction maximum: ± 1 mm The orbit correction application of XAL can be used for linac and transport line of CSNS. With this app, corrections using online model and using response matrix are all tested on MEBT. The orbit of MEBT without correctors is small. For test we bumped orbits with correctors. With these two correction methods, orbits could be optimized. 31 Orbit Correction

散裂中子源进展汇报 八月 11, DTL1 Pasta Simulation Result Pasta

散裂中子源进展汇报 八月 11, Auxiliary Optics Control (AOC) Several wire scanners are located at MEBT, LRBT and RTBT. These wire scanners can be used for emittance measurement. With the measure results, beam twiss parameters at entries of the sequences can be gotten by fitting. The optics control app was ported. A twiss fit method calling Parmila was added. With the calculation results, optics can be optimized. And this app will be tested on MEBT recently.

散裂中子源进展汇报 八月 11, Wire scanner data fitting interface

散裂中子源进展汇报 八月 11, Twiss fit interface

散裂中子源进展汇报 八月 11, Beam at Foil The app of beam at foil is ported from SNS XAL. With this app, the position and angle of the beam from LRBT can be adjusted. The close orbit of RCS can be adjusted also.

散裂中子源进展汇报 八月 11, Application for Beam Injection Painting This application is ported to CSNS from SNS XAL. With this application, the injection painting curve can be displayed, adjusted and saved. BC control function was added.

散裂中子源进展汇报 八月 11, RTBT Wizard This app is ported for adjusting the beam position and beam size on the target.

散裂中子源进展汇报 八月 11, Application for RCS Parameter measurement BPM TBT data is from AT simulation

散裂中子源进展汇报 八月 11, Tune and Phase advance measurement Dispersion measurement Cosine fit or FFT method is adopted for tune and phase advance measurement The results are consistent with the AT simulation

散裂中子源进展汇报 八月 11, Orbit Correction for RCS For RCS of CSNS, the orbit correction app can’t be used directly. In one period of the RCS, beam energy increases from 80 MeV to 1.6 GeV. The beam runs about 20,000 turns. 20 sets of orbit are proveded by the beam diagnosis system in one period. The orbit correction for RCS becomes a little complicated because of 20 orbits at different energies need to be correctted. We developed RCS orbit correction app based on the XAL orbit correction app. A period of the Rapid Cycling Synchrotron

散裂中子源进展汇报 八月 11, 2014 Measured vertical closed orbit in different energy Predicted vertical orbit after correction Measured vertical closed orbit in different energy after correction An RCS orbit correction example Orbits before correction created by RCS simulation app 42

散裂中子源进展汇报 八月 11, BBA Measurement for CSNS Beam based alignment app is developed for linac and transport line. The BBA app for RCS is also in constructing. Beam based alignment app interface

散裂中子源进展汇报 八月 11, Application for Kicker Settings 8 kickers are used for the beam extraction from the RCS. The amplitude and timing of the kickers can be optimized to minimize the vertical orbit of the extraction beam with this app.

散裂中子源进展汇报 八月 11, 2014 Application for RCS Collimator Adjustment 45 Five collimators are used at RCS to remove the halo particles. Every collimator has 4 scrapers. With this app the jaw positions can be optimized according to the beam loss.

散裂中子源进展汇报 八月 11, 2014 Fudge Factor Measurement 46

散裂中子源进展汇报 八月 11, Summary 47

散裂中子源进展汇报 八月 11, A development environment of XAL was built at CSNS. Some general applications are ported to CSNS, e.g. optics calculation, orbit correction, PASTA, etc. Some specific applications for CSNS are developed based on the XAL applications. For example orbit correction of RCS, BBA, Kicker Settings, Collimator Adjustment, etc. Some applications which use database are developing, e.g. magnet manager, model manager, etc. Some applications were tested on MEBT. The next work is to improve and test the applications on MEBT.

散裂中子源进展汇报 八月 11, 2014 Thanks for Your Attention! 49