18
1 A PC/Linux-based A PC/Linux-based Control System with Control System with EPICS for RFGTB EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator Organization, KEK EPICS Meeting @RICOTTI 2004, Dec 10, Tokai

1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

Embed Size (px)

Citation preview

Page 1: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

1

A PC/Linux-based Control A PC/Linux-based Control System with EPICS for System with EPICS for

RFGTB RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura

and N. Terunuma

High Energy Research Accelerator Organization, KEK

EPICS Meeting @RICOTTI

2004, Dec 10, Tokai

Page 2: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

2

ContentsContents

RF-Gun Test Bench (RFGTB) in KEK

Control System of RFGTB

Running EPICS on PC/Linux

EPICS for small-scaled experimental facility

Conclusions

Page 3: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

3

RF-Gun Test Bench (RFGTB)RF-Gun Test Bench (RFGTB)

The aim of RFGTB is to develop a n RF-Gun that produces a high flux x-ray by compton scattering of Laser light

Joint project by National Institute of Radiological Science (NIRS) and KEK

Multi-bunch photo-cathode RF-Gun

Constructed in Assembly Hall at KEK

Page 4: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

4

RF-Gun Test Bench (RFGTB)RF-Gun Test Bench (RFGTB)

– Beam energy (max) : 7 MeV

– Beam charge (max) : 5 nC/bunch

– Number of benches (max) : 100 /pulse

– RF frequency : 2856 MHz

– Laser wavelength : 266 nm

– Solenoid magnetic field (max) : 3.2 kGauss

Page 5: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

5

RF-Gun in RFGTBRF-Gun in RFGTB

Page 6: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

6

Schematic Diagram of the Schematic Diagram of the Control SystemControl System

Page 7: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

7

PC/Linux running IOC core PC/Linux running IOC core and OPI toolsand OPI tools

Page 8: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

8

Control Room of RFGTBControl Room of RFGTB

Page 9: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

9

FA-M3 connected toFA-M3 connected tothe PC/Linux IOCthe PC/Linux IOC

Page 10: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

10

CC/NETCC/NET

Pipeline operation of CAMAC cycle

– Designed for DAQ application

– Very high transfer rate   (up to 3 MB/sec)

PC/104-Plus SBC embedded

– Linux (kernel 2.4)

– Comes with Kernel level driver & user level library

Can work as an IOC

Page 11: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

11

CC/NET in operationCC/NET in operationas an IOCas an IOC

Page 12: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

12

Sequencer Logic forSequencer Logic forRF-conditioningRF-conditioning

Main purpose:

– automatic control of the aging procedure

We developed:

– sequencer programs using SNL

– control panel using MEDM

Page 13: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

13

Control Panel (MEDM)Control Panel (MEDM)

Page 14: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

14

Status Panel (MEDM)Status Panel (MEDM)

Page 15: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

15

Pros and Cons (Pros)Pros and Cons (Pros)

PC/Linux-based system with EPICS gives us:

– Cost-effective solution on both HW and SW

– Easy way to integrate control subsystems on CA over the Ethernet connection

– Rapid debugging cycle, since booting up an IOC-program is just a snap

– Lots of templates of application software from existing other large-scaled accelerator control systems

Page 16: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

16

Pros and Cons (Cons)Pros and Cons (Cons)

EPICS takes up some time from new comers:– To get familiar with the environment for IOC

application development

– To install OPI tools, since it requires some skills on Unix, and can be a hustle in some cases

– To choose appropriate tools from many options

A packaged distribution with minimum tool kits for beginners will be highly appreciated by new comers

Page 17: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

17

ConclusionsConclusions

We have built a fully-PC/Linux-based control system with EPICS for RFGTB operation

Conditioning of the RF-Gun is being carried out with the control system successfully

The system uses most of the essential tools of EPICS, such as IOCs, a display tool, and a channel archiving tool

Something in order to ease new comers into EPICS is required

Page 18: 1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator

18

Thanks for your attention!

ARAKI, Sakae