WAO10April 12 – 16, 2010
INTEC, KAERI, Korea

Current Status and Future Prospectof the PEFP Control Room

Young-Gi Song (ygsong@kaeri.re.kr)
PEFP, KAERIContentsI.

Introduction

II.

Control System

III. Control Room
IV. Summary2Distributed Control of the PEFP accelerator
 Network based Distributed Control System Integration of Subsystem Controllers
 EPICS Software Architecture

SYSTEMs
InterlockControl Network

VacuumSystemMagnet Power
Supply System

Beam Monitoring Resonant Control
SystemCooling System

Klystron
Modulator

Low-Level RF
SystemHigh-Power RFSystem

3

Centralized Control of the PEFP accelerator
ROOM
Timing SystemWebMonitoring

RDB ServerChannel
ArchiverOperatorInterface

Machine Protection System
CA GatewayControl Network

 Control Room for the 20 MeV Proton Linac
 Control Room−Allowing Operators to Control Devices− Allowing Operators to Monitor Operation Parameters
 To give More Environmental Condition to Operators
 To design Main Control Room for the 100 MeV Proton Linac

4

Contents

I.

Introduction

II. Control System
III. Control Room
IV. Summary5

Control Infrastructure

Red Hat Enterprise Linux (RHEL): Rack Mounted Server− Servers to support remote access (IBM, HP)− Servers to support network services and network management− EPICS file/boot servers− Application servers

 Application Installation: RHEL Servers− EPICS Base and Extensions, SUN java/jvm, SQL DB− ECLIPSE as an IDE for java/C++/C development
 Target IOC hardware, OS selection, IDE configuration− VME-SBC PowerPC architecture MVME5110 is used for more demanding applications− VxWorks 5.5.1 is a production target OS− Development environment
 To build a cross-compiler environment using Tornado and vxWorks inSunOS

6

Vacuum Use PLC to Control Scroll-Pumps

Serial interface

Ethernet/IP

ControlNet

Ethernet Interface

MVME5110 VME-SBC (PowerPC7410)
VME Serial Board
VxWorks 5.5.1
EPICS 3.14.9

Ladder
Logic

Serial interface
Serial interface−−−−Network

Ethernet Interface

EPICS on the Control System Upgraded Vacuum Control System

10020 MeVIOC

 First Control System using EPICS− Red Hat Linux OS− Industrial PC Rack-mounted Server− Limited Communication Interface
 Demonstration of the Capability ofFlex I/O

Gate Valve I/O
Scroll pumpcontrol Starter
Magnetic
RS-485
RS-232
RS-422and Gate-Valves
Gauges To Design State Transition Diagrams LINAC + BEAMLINE
with Interlock Scenario Sequencer module

Gauge Controller
Ion Pump Controller
Turbo Pump Controller
GateValvesScrollPumps

IonPump

TurboPumps

7

Magnet Power Supply
Operator Interface

Remote Control and Monitoring
Protection of DT electroquadrupole magnet
Operator InterfaceController−−−−−

MVME5110 VME-SBC (PowerPC7410)
VME Serial Board
VxWorks 5.5.1
EPICS 3.14.9
Modbus/RTU protocol

 Functions− Monitoring: voltage, current,status(on/off, local/remote, normal/alarm)− Control : on/off, current setting
permissible setting range

EPICS CA PROTOCOL
Input Output Controller (EPICS IOC)

Modbus/RTU PROTOCOLPower Supply Controllers

 EPICS sequencer module− To protect Draft Tubes (DT) from cooling trip
and unstable current

 100 MeV Magnet Power Supply−

Need Discussion and Decision8

Low-level RF (LLRF)
 RF amplitude and phase requirements of theaccelerating field are within ±1% and ± 1°
 RF digital feedback control system wasdeveloped and operated
 Digital RF feedback control system−−−−

10020 MeV

MVME5110 VME-SBC (PowerPC7410)
ICS-572B FPGA board,
VxWorks 5.5.1
C programming with BSP, Text terminal

 LLRF control system configured to improve

RF field control of the 100 MeV accelerator− Pentek 7142 FPGA PMC module− EPICS 3.14.9

 Fill the Requirements
RF Control Frequency
RF350 MHz

LO300 MHzIF50 MHzSampling clock40 MHz

 ADC : 125MHz max. sampling rate
: 4 ch., 14bit resolution
 DAC : 320MHz max. converting rate
: 1 ch., 16bit resolution: dc to 160MHz IF output
 FPGA : Xilinx Virtex4 XC4VSX55
 Memory : DDR2 SDRAM (64M×32)
 Clock : external (1 to 300MHz, 0 to +10dBm): internal (125MHz max.) Gate : internal or external

9Resonance Control Cooling System (RCCS)
 Resonant frequency matched to theHPRF driving frequency
 RCCS IOC: temperature, flow rate,pressure, motor speed & control, valve
status & control, alarm status screen,
flow chart screen, AutoSave
 Resonance frequency error measured
by LLRF system and fed in RCCS

Parts

Specification

Case/Slot19”, 6U USB Backplane TypeCPUIntel Pentium, 500 MHz

Memory512 MBHDD

4 GB Compact Flash Memory

Ethernet

10/100/1000 Mbps

OS

Linux (Fedora Core 8 and over)

Kernel

RT Kernel 2.6.23.1

Software Tool

EPICS base, sequencer, AutoSave

SignalI/O modules

Analog Input Board
Analog Output Board
Digital Input Board
Digital Output Board
RTD board

RCCS OPITransmission of Frequency Error Signal through EPICS CA
EPICS CA PROTOCOLRCCS IOCLLRF IOC
Frequency Error Signal±10-V DAC
Fabricated water pumping skip

LLRF Control System10

RF and Beam Current Monitoring System
 RF− SSA, cavity, forward, reverse

 Beam Current :− ACCT, TCT, FCT, BPM
 NI LabVIEW 8.6 TCP/IP VISA resource
 EPICS software: Not Used Modification− NI LabVIEW Client I/O Server
 For Beam Monitoring System− MVME5110 VME-SBC (PowerPC)− VxWorks 5.5.1, EPICS 3.14.9− VME VTR812 ADC board
 8 channel, 12 bit resolution,Switch
Hub10MHz sampling rate Common external
triggering/clock− Oscilloscope Embedded IOC− PXI IOC

Under test
VTR812 Fast ADC Test Board

EPICS IOC11Timing System
 Providing Accurate Trigger Signals for Synchronized Operation
Pulse delay generator− RF gate generation− Beam gate generation− Low level RF control trigger− Klystron modulator control trigger
 Control System Synchronized and Operated with the Same Time Referenced

to External Clock Event System
event data

IOCUnder test
event data

EVG

EPICS Channel Access(Ethernet)

RF input
60 Hz
50 ~ 125 MHz event clock

Fan Out (fiber distribution)

Timing Pattern, Timestamp, Event Codes&50 – 125 MHz event clock

DTL107

DTL106

DTL105

DTL104

DTL103

DTL102

DTL101

MEBT

EVR

EVR

EVR

EVR

EVR

EVR

EVR

EVR

…

…

…

…

…

…

…

…

LLRF
systembeam
monitoring

DTL CONTROL RACKRFQ CONTROL RACKRF Gate TRG

RF GateFPGA TRGFPGAIOCIOCADC TRGADC

EVR

EVRIOCIOC

programmable pulse width and delay

DTL107

DTL106

DTL105

DTL104

DTL103

DTL102

DTL101MEBTMEBTDTL24 DTL23 DTL22 DTL21

RFQION12Data Management
 Data Storage Systems− EPICS channel-archiver : IOC real-time database to store real-time data
 H/W: rack-mounted server (Intel-based) S/W: RHEL 4, EPICS 3.14.9− SQL database to store a lot of information
 Running on RHEL with Intel Xeon 2.4GHz and memory 2GB
 Web Report System
CA Server
CA Server
PVs
WebServerWeb Apps

CA Server

Strip Tool

CA Server

ArchiveEngineWeb
Client

CGI/Web
DataStorage

PVs
Win Browser
ArchiveEngine

WEB ServerWeb
ServerPHP

Archive Export
MySQL

Computer

XML-Data Server
Archive Export

Disk Storage

ApacheGNUPLOTPV storage
by MySQL function
from CA“mysql_query()”13

20 MeV Control System
 Install IOCs for the 20 MeV proton linac− HVCM, HPRF, and so on

20 MeV Main Control Room

 Standard for the 100 MeV Control System− To optimize EPICS programs− To improve the stability and reliability
Control Room
Display monitors

Magnet Power Supply

VacuumLLRF

RCCS

RF & Beammonitoring

Web browser

Alarm

EPICS Channel Access Protocol

Control System

Data Storage & Web Server
Channel Access Gateway Server
LLRF

Magnet Power Supply

VacuumRCCS

RF & Beam
Measurement

14

ContentsI.

Introduction

II. Control System
III. Control Room
IV. Summary1520 MeV Control Room Facility Building− Size : 35 m × 35 m
− Accelerator components
−−−

QMPS

DTLRFQ

Klystron

IS2F

Klystron

1F

HVCMunit Office room → Control room

Control
unit

Cleanroom

preparation room− 2nd floor : Size : 9 m × 7 m

RCCS

constant temperatureand humidity room Control room → Experiment

Braggingroom− 1st floor : Size : 5m × 7 m

SCR
unit

Beam line−(ION, RFQ, DTL, beam line)
HPRF (High Power RF)
HVCM (HV Converter Modulator)
Bragging room
Clean room

Facility Building Layout162007 ~ 2008
2FOffice Room

 Use Control RoomControl Room
− Remote control− Monitoring of operation parameters

Side View of Facility Building

Beam & RFMeasurement

LLRF Control System Features− Not enough space− Local panel display− No tables to hold keyboards and mice
− No ventilation system

20 MeV Proton Accelerator Facility

Monitor & Control Computer Computer equipments− Low level RF, vacuum control system− Beam, RF monitoring system− Sun, IOC, OPI server− 4 display monitors

1F

1st FloorControl Room17

Motivation for Change
 1st Control Room : Motivation for Change Minimum Requirements− Enough room for operator, scientific and engineering staffs− Console and seating− Increase display monitors− Ergonomic design− Air ventilation system− Dust trap Moving Plan
− Size : 9 m × 7 m−−−−

UPS (Uninterruptable Power Supply)Computer system
CCTV (Closed Circuit Television) camera and monitor
Cabling work18

Since Feb 2009 ~2F

Control Room

2F Control Room

2F LLRF racks (Control Room)

1F

20 MeV Proton Accelerator Facility

Side View of Facility Building

Operator Console Table

2nd Floor
Control Room

1F Measurement racks

LLRF Control System Improved Factors
Prep Room− Air ventilation− Control parameters− Display monitors− Expanded console and setting− Installed CCTV camera− UPS (Uninterruptible Power Supply)

19

100 MeV Control Room at Gyeongju site

100 MeV Beam
Extraction
Accelerator Tunnel

20 MeV Beam
Extraction

Main Control Room

 MCR Located on the Ground Floor of the PEFP facility
 MCR of a Restricted Area
 Unauthorized Entry
Prohibited
100MeV
20MeV
 Entry only byBeam
showingLinesof access card
Beam Lines20

Basic Layout
11000

9500

Temperature& Humiditysystem

Computer Equipment RoomPPS and RMS

Racks for servers andcontrol units

Computing andcrew chief

UPS

8600

Instruments display and operator
units

Main Control Room

 Size: 20 m × 8.6 m− Main control room : 9.5 m × 8.6 m, machine room : 11 m × 8.6 m
 Main Points− Access floor, Electric work, Computer equipments, Air conditioning Major Considerations− Constant temperature and humidity− Power cable, Signal cable, Network cable using duct of access-floor

21Control Room

operator console

PPS and RMS

8600

9500

Computing and crewchief Design Factors :− Human traffic, Lighting effects, Temperatureand humidity, Console layout
 Air conditioning− Temperature: 21 ~ 24°C
 Access Floor: Double Floor
 Display− OPI: 22" LCD 18 ea.
− CCTV: 26" LCD 3 ea.
− Display Wall : 26" LCD 4 ea.
− LED : Safety Status
 Console Table− U-shaped array− House console and seating Operator
 PPS & RMS
 Crew chief Console Layout− Decision of a console target− Accessibility among console targets− Classify the order of priorityMain Control Room22

Computer Equipment Room
 Maintenance Consideration

 Redundant UPS Server: 10 ea.
−OPI, Storage, Web, IOC
 Network System−−Temperature& Humidity
system Access Floor : Double Floor

11000

UPS

 Automatic Fire Equipment

8600

 Constant Temperature and Humidity− 23°C ±2°C, 45 ~ 50% (a standard ofmachine room)− Down-flow type supplying air underaccess floor

Racks for servers andcontrol units

Computer Equipment RoomBackbone
Workgroup switch

 5 Racks: Computer Equipments

23

Main Control Room of the PEFP 100 MeV Accelerator
 U-shaped array Console and Seating− Operator− PPS & RMS− Crew chief Access Floor : Double Floor
 Blood Outlook

24

ContentsI.

Introduction

II. Control System
III. Control Room
IV. Summary25

Summary Network Distributed Control System using EPICS
 Integration Control Parameters using EPICS CA Protocol
 Cost-effective and high reliability
 Keep Optimization of EPICS IOC for the stability and reliability
 Main Control Room
− Define target for control room design− Measure :use questionnaire to acquire operation information− Survey existing control system− Prepare draft design26