Construction of Beam Monitor Control System for Beam ...

22
Construction of Beam Monitor Control System for Beam Transport from SACLA to SPring-8 JASRI/SPring-8 Akio Kiyomichi, T. Fukui, N. Hosoda, M. Ishii, K. Maesaka, M. Yamaga 2019/10/10

Transcript of Construction of Beam Monitor Control System for Beam ...

Page 1: Construction of Beam Monitor Control System for Beam ...

Construction of Beam Monitor Control System for Beam Transport

from SACLA to SPring-8JASRI/SPring-8

○Akio Kiyomichi, T. Fukui, N. Hosoda, M. Ishii, K. Maesaka, M. Yamaga

2019/10/10

Page 2: Construction of Beam Monitor Control System for Beam ...

Outline• Overview of SPring-8/SACLA

• New control system for beam monitor

– upgrade of SCM, BPM and CT

• GigE Vision camera control for screen monitor

• Beam test of camera system

• Summary

ICALEPCS2019

Akio Kiyomichi @SPring-8

2

Page 3: Construction of Beam Monitor Control System for Beam ...

Overview of SPring-8/SACLAICALEPCS2019

Akio Kiyomichi @SPring-8

3

(c) RIKEN/JASRI

Page 4: Construction of Beam Monitor Control System for Beam ...

Overview of SPring-8/SACLA• SPring-8 is a 3rd generation light source facility. [operated since 1997]

– Linac, Synchrotron, Storage Ring. Beam injection 1Hz and top-up operation.• SACLA is a X-ray Free Electron Laser facility. [operated since 2011]

– High-peak brilliance, spatial coherent, ultrafast X-ray pulse

ICALEPCS2019

Akio Kiyomichi @SPring-8

3

Storage Ring

LinacBooster Synchrotron

~500m

SACLASPring-8 Angstrom Compact free electron LAser

(c) RIKEN/JASRI

SSBT

Page 5: Construction of Beam Monitor Control System for Beam ...

Overview of SPring-8/SACLA• SPring-8 is a 3rd generation light source facility. [operated since 1997]

– Linac, Synchrotron, Storage Ring. Beam injection 1Hz and top-up operation.• SACLA is a X-ray Free Electron Laser facility. [operated since 2011]

– High-peak brilliance, spatial coherent, ultrafast X-ray pulse – It will Inject ultra-low emittance electron beam into storage ring in SPring-8-II.

ICALEPCS2019

Akio Kiyomichi @SPring-8

3

Storage Ring

LinacBooster Synchrotron

~500m

SACLASPring-8 Angstrom Compact free electron LAser

(c) RIKEN/JASRI

XSBT SSBT

Page 6: Construction of Beam Monitor Control System for Beam ...

New Control System for Beam Monitor• Ultra-low emittance beam injection Beam size is reduced

– Upgrade of beam monitors for XSBT/SSBT is required.– SCM: 24 at SSBT, 18 at XSBT

ICALEPCS2019

Akio Kiyomichi @SPring-8

4

(c) RIKEN/JASRI

XSBT SSBT

Sy. beam

SACLA beam

Typical beam size estimation at SCM in SSBT

Beta function at SCM in SSBT

less than 1/102.0

2.0

Screen Monitor(SCM) Camera

Screen• alumina

Mirror

Lens

beam

Page 7: Construction of Beam Monitor Control System for Beam ...

New Control System for Beam Monitor• Ultra-low emittance beam injection Beam size is reduced

– Upgrade of beam monitors for XSBT/SSBT is required.– SCM: 24 at SSBT, 18 at XSBT

• Screen : alumina fluorescent Ce:Yag scintillator • Camera: VGA (0.3 M pixels) high-resolution (2 M pixels)Finally becomes 30 SCMs, 30 BPMs, 10 CTs in total for XSBT and SSBT

– The control system is also upgrade

ICALEPCS2019

Akio Kiyomichi @SPring-8

4

(c) RIKEN/JASRI

XSBT SSBT

Sy. beam

SACLA beam

Typical beam size estimation at SCM in SSBT

Beta function at SCM in SSBT

less than 1/102.0

2.0

update SCM, replace or add with BPM&CT.

Screen Monitor(SCM) Camera

Screen• alumina

Mirror

Lens

beam

BPM

CT

Ce:YAG

replace

Page 8: Construction of Beam Monitor Control System for Beam ...

Screen monitor (SCM) • GigE Vision camera for image capture (replace of Camera Link)

– Develop camera control software to integrate in SPring-8 control frameworkDetails of development are described in this presentation

• EtherCAT for slow control – Motor control: screen operation, lens focusing, iris adjustmentSee WEPHA068 M. Ishii, et. al, "A Control System Using EtherCAT Technology for The Next-Generation Accelerator”

BPM & CT• MTCA.4 for readout electronics (replace of VME)

– Use 10ch fast ADC module with FPGA firmware development See TUAPP02 T. Fukui et. al, "Development of the MTCA.4 I/O Cards for SPring-8 Upgrade and New 3 GeV Light Source"

New Control System for Beam MonitorICALEPCS2019

Akio Kiyomichi @SPring-8

5

Page 9: Construction of Beam Monitor Control System for Beam ...

GIGE VISION CAMERA CONTROL

ICALEPCS2019

Akio Kiyomichi @SPring-8

6

Page 10: Construction of Beam Monitor Control System for Beam ...

SSBT PS Room

SCM: Current camera system• Selected Camera Link camera (when analog to digital, 10 years ago)

– Developed PC-based or MicroTCA-based image processing system– Good features: high-bandwidth, trigger distribution, Linux APIs

• Early model of GigE Vision had limited support for Linux.– Disadvantage: transfer length <10m is too short for accelerator facility

ICALEPCS2019

Akio Kiyomichi @SPring-8

7

CameraCameraCameraCameraCamera

Camera

Camera

ExtExtExtExtExtExtExt

ExtExtExtExtExtExtExt

PC-basedImage processing system

8chCamera

LinkSelectorExt

Ext8ch

Selector

Ext = CameraLink Optical Extender

= 8ch CameraLink SelectorSelector

SSBT Tunnel

CameraCameraCameraCameraCamera

Camera

CameraExtExtExtExtExtExtExt

ExtExtExtExtExtExtExt

CameraCamera

ExtExt

ExtExt

Trigger

apx3312

MicroTCA-basedImage Processing system

or

8chSelector

8chSelector

Camera Link cable

Page 11: Construction of Beam Monitor Control System for Beam ...

SSBT PS Room

SCM: Current camera system• Selected Camera Link camera (when analog to digital, 10 years ago)

– Developed PC-based or MicroTCA-based image processing system– Good features: high-bandwidth, trigger distribution, Linux APIs

• Early model of GigE Vision had limited support for Linux.– Disadvantage: transfer length <10m is too short for accelerator facility

ICALEPCS2019

Akio Kiyomichi @SPring-8

7

CameraCameraCameraCameraCamera

Camera

Camera

ExtExtExtExtExtExtExt

ExtExtExtExtExtExtExt

PC-basedImage processing system

8chCamera

LinkSelectorExt

Ext8ch

Selector

Ext = CameraLink Optical Extender

= 8ch CameraLink SelectorSelector

SSBT Tunnel

CameraCameraCameraCameraCamera

Camera

CameraExtExtExtExtExtExtExt

ExtExtExtExtExtExtExt

CameraCamera

ExtExt

ExtExt

Trigger

apx3312

MicroTCA-basedImage Processing system

or

8chSelector

8chSelector

Camera Link cable

Page 12: Construction of Beam Monitor Control System for Beam ...

SSBT PS Room

SCM: New camera system• Adopt GigE Vision Camera

– Long transfer length <100m, use standard Ethernet cable– Power supply and power control using PoE type Ethernet board

simple cabling, good maintainability, low cost– Software: There is open source library.

ICALEPCS2019

Akio Kiyomichi @SPring-8

8

CameraCameraCameraCameraCamera

Camera

Camera

SSBT Tunnel

CameraCameraCameraCameraCamera

Camera

Camera

CameraCamera

Trigger

Server PC (Ubuntu16)<100m

Ethernet boardPCIe-PoE354at

Future plan: GigE camera connection

counter boardaxpcie3901

Cat5e Ethernet cable

Page 13: Construction of Beam Monitor Control System for Beam ...

GigE Vision Camera Control• Use general-purpose open source library for Linux : Aravis

http://www.github.com/AravisProject/aravis

– glib/gobject based library for video acquisition– camera control (gain, exposure, ROI, ...), image acquisition, viewer

• The specific functions (IP address setting, ...) are not supported. We use vendors' software only once installing the camera.

• Develop camera control software using Aravis library – OS: Ubuntu16.04 LTS 64-bit server, lowlatency kernel– Aravis version: 0.6– Integrate various vendors GigE Vision cameras with the SPring-8

control framework.• Provide basic camera control functions, image data acquisition

ICALEPCS2019

Akio Kiyomichi @SPring-8

9

Page 14: Construction of Beam Monitor Control System for Beam ...

GigE Vision Camera Control• Device setup

– PoE type Ethernet board: Neousys tech. PCIe-PoE254at• Realize power control using vendor provided library Remote control of camera power is possible

– Trigger counter board: Gopher axpcie3901 • 4ch 32bit counter, TTL or NIM, up to 200MHz

• Image data acquisition– Use MDAQ (SPring-8 DAQ scheme) synchronized with beam trigger

See WECPL01 T. Sugimoto et. al, "Status of the Control System for Fully Integrated SACLA/SPring-8 Accelerator Complex and New 3 GeV Light Source Being Constructed at Tohoku, Japan"

– Grabbed image data is stored in file server with HDF5 format

ICALEPCS2019

Akio Kiyomichi @SPring-8

10

PCIe-PoE354at

axpcie3901

Page 15: Construction of Beam Monitor Control System for Beam ...

Image Data Format• Data format: HDF5 (Hierarchical Data Format version5)

– Image data and properties are stored in one HDF5 file• The properties (timestamp, event no., gain, etc...) will store into

database in future.

ICALEPCS2019

Akio Kiyomichi @SPring-8

11

Image file opened by hdfview

2D array, 16bit unsigned int

run_id (int)timestamp (double)sec (int)usec (int)seq_no (int)evno (int)flag (int)gain (int)shutter_speed (int)threshold (int)data_size(int)

Group/RunInfo

Dataset/CameraImage

Attribute

Page 16: Construction of Beam Monitor Control System for Beam ...

BEAM TEST OF CAMERA SYSTEM

ICALEPCS2019

Akio Kiyomichi @SPring-8

12

Page 17: Construction of Beam Monitor Control System for Beam ...

Beam Test of Camera System• In September 2019, two SCMs installed in Sy dump line.

– To test the Ce:YAG screen and GigE Vision camera.• Prior to the monitor upgrade project

ICALEPCS2019

Akio Kiyomichi @SPring-8

13

Screen actuator

Ce:YAGscreen

SCMdump-2

SCMdump-4

GigE Vison Camera

Sy Beam Dump

SACLA

Page 18: Construction of Beam Monitor Control System for Beam ...

Server PC (Ubuntu16)

Beam Test of Camera System• In September 2019, two SCMs installed in Sy dump line.

– To test the Ce:YAG screen and GigE Vision camera.• Built PC-based GigE Vision camera image processing system

– Camera control, image acquisition synchronized with beam trigger

ICALEPCS2019

Akio Kiyomichi @SPring-8

14

Screen actuator

Control Devices:• GigE Vision Camera: JAI Go-2400M 2.35Mpixel, CMOS, Monochrome, PoE

• Ethernet board: PCIe-PoE254at• Trigger counter board: axpcie3901

SCMdump-2

Trigger

SCMdump-4

192.168.2.1

192.168.2.10

192.168.1.1

192.168.1.10

Ce:YAGscreen

GigE Vison Camera

Page 19: Construction of Beam Monitor Control System for Beam ...

Server PC (Ubuntu16)

Beam Test of Camera System• In September 2019, two SCMs installed in Sy dump line.

– To test the Ce:YAG screen and GigE Vision camera.• Built PC-based GigE Vision camera image processing system

– Camera control, image acquisition synchronized with beam trigger– Grabbed image data is stored in file server and viewed by GUI.

ICALEPCS2019

Akio Kiyomichi @SPring-8

14

Screen actuator

Electron beam

Control Devices:• GigE Vision Camera: JAI Go-2400M 2.35Mpixel, CMOS, Monochrome, PoE

• Ethernet board: PCIe-PoE254at• Trigger counter board: axpcie3901

SCMdump-2

Trigger

SCMdump-4

192.168.2.1

192.168.2.10

192.168.1.1

192.168.1.10

Operation GUI for SCMCe:YAGscreen

GigE Vison Camera

Page 20: Construction of Beam Monitor Control System for Beam ...

Beam Test of Camera System• GUI performs

with Sy beam injection.– Camera control– Image record– BG suppression and

image analysis

• SACLA injection will test with optics tuning

ICALEPCS2019

Akio Kiyomichi @SPring-8

15

Page 21: Construction of Beam Monitor Control System for Beam ...

Beam Test of Camera System• GUI performs

with Sy beam injection.– Camera control– Image record– BG suppression and

image analysis

• SACLA injection will test with optics tuning

Camera control system is ready for beam injection

ICALEPCS2019

Akio Kiyomichi @SPring-8

15

Page 22: Construction of Beam Monitor Control System for Beam ...

Summary• We are constructing control system of beam monitor, for beam

injection from SACLA to SPring-8.• GigE Vision camera image processing system were developed.

– Use open source library, Aravis.– Integrate various vendors' cameras with SPring-8 control

framework.– Realize camera control, image acquisition synchronized with beam

trigger• We built the control system of SCM using GigE Vision camera

and performed with beam operation.

ICALEPCS2019

Akio Kiyomichi @SPring-8

16