1 / 26

Outline Overview of commissioning software system Database High-Level Application frameworks

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, ORNL. Outline Overview of commissioning software system Database High-Level Application frameworks Beam commissioning applications

dyre
Download Presentation

Outline Overview of commissioning software system Database High-Level Application frameworks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BEAM COMMISSIONINGSOFTWARE AND DATABASEFORJ-PARC LINACHiroyuki SakoG. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEAH. Ikeda, VICC. K. Allen, ORNL Outline • Overview of commissioning software system • Database • High-Level Application frameworks • Beam commissioning applications • Conclusions and prospects

  2. Material and Life Science Facility Nuclei/Particle Physics Experimental Facility 3GeV Rapid Cycle Synchrotron (circumference 350m) LINAC (330m) 50 GeV Main Ring(circumference 1600m) Neutrino Experimental Facility J-PARC Accelerator Complex LINAC commissioning started in Sep 2006 RCS commissioning has stared in Oct 2007

  3. Design concepts of commissioning software system • Large number of device channels at J-PARC LINAC • ~20k with beam monitors, magnets and RFs must be fully controlled • Various settings of devices • Various beam destinations (4 dump lines, 1 transport line to RCS) • Energy 3~181 MeV (during RF tuning) • Central data source • Use of RDB • Online model and device control • Should be tightly connected • Easy development and maintenance of applications • Java

  4. Save and Restore DB Snapshot of device parameters update Commissioning DB geometry Unit conversion parameters Lattice data manager EPICS channel names Model params. input files Unit conversion server High Level Online Applications model Analysis and feedback Commissioning Software System Control system • Device Control • Java CA libraries • JCA/CAJ • Database • Commissioning DB • Save & Restore DB • Unit Conversion Server • Physics record vs device record • High Level Applications • JCE/XAL devices Interfaces IOC

  5. Commissioning DB (CODB) • Central data source for commissioning software and infrastructure • Geometry of beam-line devices • EPICS names • Device and beam modeling parameters • Unit conversion function parameters • Generation of input files for high level applications • PostgreSQL • “The world’s most advanced open source DB” • Being improved rapidly (both performance and functionalities)

  6. Lattice Data Manager • GUI for lattice related tables • Geometry and device parameters (e.g. mag field) • Generation of XAL and Trace3D input files • Save a data set with a tag and comments • Different beam energy modes • Different beam lines • Tuned parameters in the commissioning

  7. conv func. Monitor and set physical values Unit Conversion Server • Provides physics records in connection to device records • Indispensable for efficient beam commissioning • Portable Channel Access Server • ~400 magnet power supplies • Conversion function : 3rd order polynomial (inverse function solved analytically) Configuration file generated from CODB Accelerator devices Unit Conversion PCAS Interfaces Physics records (magnetic field) IOC Device records (current) OPI High Level Applications

  8. JCE script Add->{KBFComponentFrame[ Add-> {KBFGroup[Text->"Wire Scanners X for emittance fit"]}, Add-> {KBFCheckButton[Width->xwid,Variable:>awsx[1],Text->ws[1],WidgetVariable:>wawsx[1]]}, Add-> {KBFCheckButton[Width->xwid,Variable:>awsx[2],Text->ws[2],WidgetVariable:>wawsx[2]]}, Add-> {KBFCheckButton[Width->xwid,Variable:>awsx[3],Text->ws[3],WidgetVariable:>wawsx[3]]}, Add-> {KBFCheckButton[Width->xwid,Variable:>awsx[4],Text->ws[4],WidgetVariable:>wawsx[4]]}, …. JCE application High level application frameworks • JCE (Java Commissioning Environment) • Framework based on a script language (SAD script) • Parser and core codes implemented in pure Java • Quick development of applications • XAL • Framework in Java developed at SNS • Developed for J-PARC • JCE/XAL common functionalities • XAL input files • XAL online model • EPICS CA • XAL wrapper class for JCA/CAJ

  9. Applications for J-PARC LINAC Commissioning

  10. Measured Energy Energy Designed energy Select best-fit amplitude with model RF phase RF tuning application (XAL) • Tune amplitude and phase of RF to accelerate beam to a designed energy by measuring time of flight of beam. Fast Current Transformers H- Beam Scan RF amplitude and phase time of flight Energy

  11. Beam Based Alignment Beam Position Monitor • Tune steering magnet so that the orbit passes through the center of a quadruple magnet Orbit unchanged Steering dipole magnet Orbit changes with QM field Quadrupole magnet

  12. Beam Based Alignment application (XAL) MEBT1 BPM05 • Change QM and steering field and measure beam positions with BPM • Find center of QM BPM position Central BPM position Slope (Q vs BPM) QM field Central BPM positions vs steering slope (from left plot) BPM positions vs QM field at each steering field

  13. Transverse matching Wire scanners Profile measurements Quadrupole magnets (tune beam envelope) Iterative tuning

  14. WS measurement QM tuning Before correction After correction Transverse matching application (JCE) • Measurement of beam profiles with wire scanners • Optimize QM field for periodic beam envelope with Newton-Raphson method • Mismatch factor of less than 5% achieved

  15. Energy analysis application (XAL) RF status Beam current • Integrate all information for energy calculations • Choose a proper FCT pair and calculate energy Energy FCT status RF timing on/off RF tuning stat Energy evolution during RF tuning

  16. First acceleration to 181 MeV24 Jan 2007 181MeV Measured Energy Design Energy

  17. First Injection to RCS (H0 dump) 5 Oct 2007 H0 dump (4kW) BLM×4 Beam from LINAC MWPM4 MWPM7 MWPM6 MWPM3 Carbon plate (thermometer) MWPM5 I-BPM B CM QL3BT Dump Q MWPM2 Dump STR (V & H) ISEP1 DSEP2 DSEP1 ISEP2 ± 磁 ± 磁 場 % 1 SB2 SB4 K-BPM SB1 SB3 PB2 PB1 QDX QFL PB3 PB4 QDL QFM Big-BPM1 Big-BPM2 RCS Beam profiles measured by MWPMs

  18. Conclusions and Prospects • Commissioning software system developed and successfully applied to J-PARC LINAC • Commissioning DB • Unit conversion server • JCE and XAL • For more efficient operation • Efficient maintenance of Commissioning DB • Development of Save and Restore DB

  19. Thank you for your attention!

  20. Save and Restore DB • SCORE application in XAL is used with DB in PostgreSQL • ~9k channels for RF, magnets, monitors Comment Time stamp History of dataset

  21. 3N dump 3N target D C E 4kW 4kW 4kW K I C S E P P B H0 dump 1MW D M 3 N P RCS to MLF C E 1 M R P to MR Linac 1. H0 dump mode - 1st foil : OUT - 2nd foil : IN - 3rd foil : IN - Ring magnetic field : fixed at 181 MeV - RF : - - Collimator : - In this mode, the 1st foil is removed, so the linac beam is directly driven to the H0 bump. * Tuning of : - Injection orbit - H0 dump line

  22. Online model • Online magnetic field values fetched via CA (via unit conversion server) • Envelope and orbit calculations • XAL online model compared to Trace3D (a few 10th % level)

  23. PostgreSQL 8.1 Beam table Twiss/emittance/energy Generation of Probe file Lattice data Geometry table (static) Device parameter table (many sets of data with tags) Different tables for each device type Dipole magnet Quad magnet RF monitor ER diagram of Commissioning DB (for lattice info)

  24. Orbit Correction (orbitcorrect) Before correction (SDTL) Measured BPM positions (horizontal) Prediction by online simulator After correction • After correction, Measured positions agrees well with prediction

  25. JCE scripts • Magnet field setter • Current monitor display • Beam Loss monitor display • Beam position monitor display

  26. Energy calculation from FCT (JCE) Online energy calculations Energy plot

More Related