HEPS High Energy Photon Source HEPS Controls Status





![Magnet Power Supply Control [1] p. DPSCM-II Remote Control System ØGeneric power supply and Magnet Power Supply Control [1] p. DPSCM-II Remote Control System ØGeneric power supply and](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-6.jpg)
![Magnet Power Supply Control [2] p. Over 2800 power supplies! p 42 -53 IOCs Magnet Power Supply Control [2] p. Over 2800 power supplies! p 42 -53 IOCs](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-7.jpg)
![Global Timing System [1] p. Provide timing for accelerator systems, beamlines and experiments Øincluding Global Timing System [1] p. Provide timing for accelerator systems, beamlines and experiments Øincluding](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-8.jpg)
![Global Timing System [2] p 2 operating modes and complexed Injection & Extraction Øhigh Global Timing System [2] p 2 operating modes and complexed Injection & Extraction Øhigh](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-9.jpg)

![Beamline Controls [1] p 14 Beamlines+1 testing beamline HEPS EPICS Meeting, June, 2019 Beamline Controls [1] p 14 Beamlines+1 testing beamline HEPS EPICS Meeting, June, 2019](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-11.jpg)
![Beamline Controls [2] p. EPICS based, possibly v 7 p. Trying to standardize equipment Beamline Controls [2] p. EPICS based, possibly v 7 p. Trying to standardize equipment](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-12.jpg)

![High-level Application Platforms [1] p. Code reusability p. Physics applications ØOpen XAL, AP Toolbox High-level Application Platforms [1] p. Code reusability p. Physics applications ØOpen XAL, AP Toolbox](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-14.jpg)
![High-level Application Platforms [2] p. Data Layer p. Middle Layer p. Applications Data processing High-level Application Platforms [2] p. Data Layer p. Middle Layer p. Applications Data processing](https://slidetodoc.com/presentation_image/919ca12a963ad409290839b3ff9e214b/image-15.jpg)






- Slides: 21
HEPS High Energy Photon Source (HEPS) Controls Status Report Paul Chu Institute of High Energy Physics
Outline 1. Introduction 2. Controls Overview 3. Control System Components 4. High-level Platforms and Applications 5. Summary
Introduction p. HEPS– 4 th generation synchrotron light source, 7 BA-lattice Ø 14+1 beamlines for phase 1 p. Construction period – Jun. 2019 – Dec. 2025, ~US$700 M HEPS EPICS Meeting, June, 2019
Controls Approaches p. Top-down architecture design with overall considerations p. EPICS based distributed control systems p. Industrial standard to save cost p. Expandability consideration ØModular design for easier upgrade and deployment p. For better construction project quality control: ØTracking project progress closely p. Data centric approach p. Collaboration with others HEPS EPICS Meeting, June, 2019
Accelerator Controls p. EPICS v 3 based for now p. Standard interface to equipment p. Global Timing System p. Test bench for EPICS p. Machine Learning study HEPS EPICS Meeting, June, 2019
Magnet Power Supply Control [1] p. DPSCM-II Remote Control System ØGeneric power supply and fast orbit feedback system power supply control board architecture ‐ Generic power supply core architecture : FPGA (Altera Cyclone 5 )+ hard core Ethernet ( W 5500 ) interface ‐ Fast orbit feedback system power supply :FPGA (Altera Cyclone 5 )+ fiber interface (AFBR-5803 TZ) HEPS EPICS Meeting, June, 2019
Magnet Power Supply Control [2] p. Over 2800 power supplies! p 42 -53 IOCs (8 U servers, each with 16 PS), 238 embedded MOXA DA 720 (2 U, each with 14 PS) ØDistributed ØRedundancy ØGeographically Networked ØCost considered p. Testing with EPICS 3. 14. 12 HEPS EPICS Meeting, June, 2019
Global Timing System [1] p. Provide timing for accelerator systems, beamlines and experiments Øincluding clock, trigger and timestamp p. Less than 1 ps RMS jitter RF CLK signal distributed to linac, booster and storage ring RF and BPM system p. Event based trigger distribution system. Accuracy need to reach 20 ps HEPS EPICS Meeting, June, 2019
Global Timing System [2] p 2 operating modes and complexed Injection & Extraction Øhigh brightness mode: 680 bunches @200 m. A: 1. 33 n. C/bunch, 6 ns bunch spacing Øhigh bunch charge mode: 63 bunches @ 200 m. A: 14. 4 n. C/bunch, 72 ns spacing HEPS EPICS Meeting, June, 2019
Fast Orbit Feedback (FOFB) p 300 Hz – 1 k. Hz bandwidth p 576 BPMs, 192 horizonal/vertical correctors p 16 FOFB nodes ØEach as star topology Ø 16 connected as ring topology p. FPGA for fast computation p. Gigabit Transceiver for data communication HEPS EPICS Meeting, June, 2019
Beamline Controls [1] p 14 Beamlines+1 testing beamline HEPS EPICS Meeting, June, 2019
Beamline Controls [2] p. EPICS based, possibly v 7 p. Trying to standardize equipment p. Designing data flow architecture, Integrating with scientific computing ØCommon data format, e. g. HDF 5 ØData preprocessing ØOnline analysis ØSmart control w/ Io. T HEPS EPICS Meeting, June, 2019
HEPS User Facility Software Architecture HEPS EPICS Meeting, June, 2019
High-level Application Platforms [1] p. Code reusability p. Physics applications ØOpen XAL, AP Toolbox p. General-purpose applications ØCS-Studio p. Machine learning applications ØScikit-Learn, Tensor. Flow p. Python, MATLAB support ØQuick prototyping ØFlexible controls/apps p. Mobile apps support HEPS EPICS Meeting, June, 2019
High-level Application Platforms [2] p. Data Layer p. Middle Layer p. Applications Data processing for ML Platform HEPS EPICS Meeting, June, 2019
ML Platform General Ideas Machine Learning in Python Scikit-learn/Tensor. Flow n Simple and efficient tool for data mining & data analysis n Built on Num. Py, Sci. Py, and matplotlib n Open source, commercially usable - BSD license Machine Learning in MATLAB Machine Learning Toolbox HEPS EPICS Meeting, June, 2019
Data Handling Data Sources n EPICS live data n TXT/Excel Files n EPICS Channel Archiver n EPISC Archiver Appliance n Other data sources (e. g. Code Snippet PVLogger) Output Data Format n Pandas Data. Frame n TXT/Excel Files n Other format: HDFS pvnames=['BIBPM: R 1 OBPM 02: XPOS', 'BIBPM: R 1 OBPM 03: XPOS', 'BIBPM: R 1 OBPM 04: XPOS] #also can load pvnames from files engine=Load. Data. get. Key(server_addr, pvnames) data=Load. Data. get. Format. Chan. Arch(server_addr, engine, pvnames, start_time='11/30/2018 14: 15: 00’, end_time='11/30/2018 14: 16: 00’, merge_type='outer’, interpolation_type='linear’, fillna_type=None, how=0) Machine Learning for HEPS, May 13, 2019 HEPS
Machine Learning at Work p. A test for BEPC-II timestamp correction ØCorrelation function ØObjective function f 1(t)&f 2(t) : The relation between 'value' and 'timestamp' of two systems(such as correctors with BPM). h(): Projection of one group of value to another. ζ(): Integral coefficient. (Remove interference and noise. Keep normalization) HEPS EPICS Meeting, June, 2019
Databases p 17 database domains in plan p. My. SQL or Microsoft Share. Point/SQL Parameter List Logbook and Issue Tracking Cable Naming Convention Maintenance/Operation Security Magnet Inventory Alarm Accelerator Model/Lattice Survey and Alignment Machine Protection/Interlock Equipment and Configuration Work Flow Control/Traveler MPS Postmortem Physics Data and Machine State Document DB HEPS EPICS Meeting, June, 2019
Project Control p. Procurement, Equipment p. Issue Tracking System, Maintenance, Operation Logbook… p. Work Breakdown Structure (WBS) for project management ØCost and schedule control/monitoring p. Share. Point based document system ØProject Web site ØWork flow control ØDocument and data sharing HEPS EPICS Meeting, June, 2019
Summary p. HEPS Control Systems have initial design p. Overall consideration, modularized implementation p. Integration with project business sector p. Data centric approach p. Tough challenge for large amount of devices being controlled, large data sizes, control precision and speed p. Software platforms for applications p. Collaborations are welcome Thank you for your help and support! EPICS Meeting, June, 2019 HEPS