Application of Embedded
EPICS to SuperKEKB
Vacuum Control System
S.Terui, K. Furukawa, H. Hisamatsu,
T. Ishibashi, T. T. Nakamura
J. Odagiri, Y. Suetsugu (KEK)

April 23 2012 EPICS Collaboration Meeting

Contents

 Overview of SuperKEKB vacuum control
 Embedded EPICS on PLC-based IOC
 Adoption of CompactRIO for data acquisition
 Evaluation of CA-Server on CompactRIO
 Conclusions

April 23 2012 EPICS Collaboration MeetingOverview of SuperKEKB VacuumControl System
Component

Analogue
Input

Temperature

4000 chIon Pump
Vacuum GaugeAnalogue
OutputDigitalInputDigitaloutput

600 ch600 ch600 ch600 ch600 ch600 ch

80 ch

80 ch

50 ch

50ch

Gate ValveNEG Heater

550 chFlow Meter

500 ch50 ch

500 chSuperKEKB is a two-ring electron-positron
collider with asymmetric energies
April 23 2012 EPICS Collaboration MeetingNeeds for Upgrading Control System Vacuum Control System of KEKB Accelerator had been
operated successfully based on:
 VME-based IOC
 CAMAC (scanning ADC and DI/DO) SuperKEKB is expected to be in operation for decades from2014
 Availability of CAMAC modules will be a serious issue We decided to apply Embedded EPICS (“Channel-AccessEverywhere”) concept to upgrading the system with up-todate controllers and data loggers
April 23 2012 EPICS Collaboration MeetingSuccessor of VME-based IOC

 We chose Embedded EPICS on F3RP61
 A new FA-M3 PLC’s CPU running Linux Can work as IOC
 Can work with wide variety of I/O modules
for FA-M3 PLC
 Can work with ordinary PLC’s CPU sideby-side on the same PLC-bus

April 23 2012 EPICS Collaboration MeetingReason of adopting F3RP61
 Well before F3RP61 became available, FA-M3 PLCs
had been being used as front-end controller for theprotection of various vacuum components of the KEKBaccelerator
 Consolidation of IOC and PLC makes the configurationof front-end control considerably simpler
 Tens of F3RP61-based IOCs have been serving forvarious different controls at both Tsukuba- and Tokaisites of KEK for years without any serious problems
April 23 2012 EPICS Collaboration MeetingSuccessor of CAMAC
 We chose CompactRIO (cRIO) for
monitoring analogue and digital input
channels Can run CA-Server on cRIO

 High analogue I/O channel density incompact chassis (32ch/module) Can execute high speed data acquisitionon built-in FPGA
３２ｃｈＡＤＣ
16bitsApril 23 2012 EPICS Collaboration Meeting

Old System Configuration
OPIChannel Access
GPIB

IOC (VME)DODI

PLCCPUDO
Ladder Program makes
the final decision in
ON/OFF control
April 23 2012 EPICS Collaboration Meeting

CAMAC

DIAI

New System Configuration
OPI
Channel Access
IOC (F3RP61)

PLC
CPUDO
DI

Channel Access
Local Network

Ladder Program makes
the final decision in
ON/OFF control
April 23 2012 EPICS Collaboration Meeting

cRIO

DIAI

IOC Upgrade (Downsize)
IOC (VME )IOC (F3RP61)

BeforeAfter

April 23 2012 EPICS Collaboration MeetingData Logger Upgrade (Downsize)
CAMACcRIO

BeforeAfter

April 23 2012 EPICS Collaboration MeetingPlacing cRIO on Local Network

 Graphical programming takes a lot of time and effort when
the number of channels is huge By placing cRIO on a local network, we can use the same setof Process Variable names for all of local control rooms
record (ai, “VALIP:D01_IP_L01:SADC”){field(INP,”crio:c1:s01:ai00 CP”)}

 Can reduce unnecessary traffic on the control network
April 23 2012 EPICS Collaboration MeetingEvaluation of CA-Server on cRIO

 Overload tests were carried out in order to confirm thereliability of the CA-Server running on cRIO
 Rapid cycle (Most quickly: about 10K cycle/second) creation anddestruction of CA connections between a cRIO and an OPI
 No problem was found at all Breaking off CA connections between a cRIO and an OPI by
imposing bandwidth-consuming packets on the network (100Mbps)
 CA connections were automatically recovered successfully asexpected when the disturbance was removed
April 23 2012 EPICS Collaboration MeetingPrototyping System with Full Channels

OPI (BOY) for test
April 23 2012 EPICS Collaboration Meeting

Conclusions
 Embedded EPICS (“Channel-Access-Everywhere”) on
PLC-based IOC was applied to upgrading the vacuum
control system of SuperKEKB
 Consolidation of IOC and PLC considerably simplified
the configuration of front-end control
 Overload test of CA-Server on cRIO has been carriedout to prove it’s good stability A prototype system has been constructed and being
under evaluation at a local control system
April 23 2012 EPICS Collaboration Meeting