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

mele
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

  2. Material and Life Science Facility Nuclei/Particle Physics Experimental Facility 3GeV Rapid Cycle Synchrotron (RCS) (circumference 350m) LINAC (330m) 50 GeV Main Ring(circumference 1600m) Neutrino Experimental Facility J-PARC Accelerator Complex LINAC commissioning since Sep 2006 RCS commissioning started 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 closely connected • Easy development and maintenance of applications • Java

  4. Save and Restore DB Snapshot of device parameters Commissioning DB geometry Unit conversion parameters EPICS channel names Model params. input files Commissioning DB manager Unit conversion server Data analysis and feedback High Level Online Applications model Commissioning Software System Control system • Device Control • EPICS CA • JCA/CAJ • Database • Commissioning DB • Save & Restore DB • Unit Conversion Server • Physics records • High Level Applications • JCE/XAL • Generation of input files for HLA • Data analysis in commissioning and feedback for device parameters 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. Commissioning DB Manager • GUI for Commissioning DB • Geometry • Device parameters (e.g. magnetic field) • Generation of XAL input files • Save a data set with a tag and comments • Different beam settings • Corrected device 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 SAD script language • Parser and core codes in Java • Quick development of applications • Beam diagnostics displays • Magnetic field set panel • Transverse matching • XAL • Framework in Java developed at SNS • Developed for J-PARC • Beam envelope simulator • RF tuning • Orbit correction • Beam based alignment • Energy analyzer • Save and Restore DB • JCE/XAL common functionalities • XAL input files • XAL online model • 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 Orbit changes with QM field Steering dipole magnet 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. JCE applications • Magnet field setter • Current monitor display • Beam Loss monitor display • Beam position monitor display

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

  18. 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

  19. Conclusions and Outlook • Commissioning software system developed and successfully applied to J-PARC LINAC • Commissioning DB • Unit conversion server • JCE and XAL • Improvements for more efficient operation • Maintenance scheme of Commissioning DB • Development of Save and Restore DB

  20. Thank you for your attention!

  21. 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

  22. 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

  23. 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)

  24. 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)

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

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

More Related