epics 2008 meeting, shanghai, march 12-14, 2008 status of the tps control system kuo-tung hsu nsrrc,...

25
EPICS 2008 Meeting, Shanghai, March 12-14, 2008 Status of the TPS Control System Kuo-Tung Hsu NSRRC, Hsinchu, Taiwan

Upload: barrie-spencer

Post on 25-Dec-2015

230 views

Category:

Documents


2 download

TRANSCRIPT

EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Status of the TPS Control System

Kuo-Tung Hsu

NSRRC, Hsinchu, Taiwan

2EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Taiwan Photon Source Project

TPS: Taiwan Photon Source 200 million USD project Accelerator system

150 MeV linacBooster synchrotron

Circumference: 496.8 mStorage ring

Nominal energy: 3 GeVCircumference: 518.4 m24-cell DBA lattice – baseline designLong Straight: 12 m x 6 (for long ID, injection,

laser slicing, rf deflecting cavity..)Standard straight: 7 m x 18 (for future chicane options)Emittance less than 2 nm-rad in low emittance mode

(distributed dispersion in ID straights) Commissioning schedule ~ 2013

3EPICS 2008 Meeting, Shanghai, March 12-14, 2008

You Are Here

Taiwan

4EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Hsinchu

5EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Hsinchu Science Park

6EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Site of NSRRC

TPS

TLS

7EPICS 2008 Meeting, Shanghai, March 12-14, 2008

TPS TPS officeActivity center & guest house

Main entrance Service entrance

Utility building no.3

Service entrance

Aerial view

Taiwan Photon Source Project – cont.

Taiwan Light Source1.5 GeV120 mDedication in 1993

North

8EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Planning for the TPS Control System

Control system frame works => EPICS toolkit. Commitment to the funding agency and budget consideration:

Acquire as many of parts from local vendors as possible => No VME related manufacture in Taiwan

(~ 35 VME crate system are used at Taiwan Light Source)Give up VME/VME64x/… solutions for IOC layer.

=> Adopt cPCI/PXI, AdvancedTCA, and another embedded solutions for IOC layer.

Borrow available resources from another labs. Goals of 2008:

Control system planning and refine the design.Setup EPICS test bed.Training EPICS staffs.

9EPICS 2008 Meeting, Shanghai, March 12-14, 2008

PC/Linux

Control Ethernet

Consolesand

Servers

Hard/Soft IOCs- cPCI, aTCA IOCs

- Intel CPU/Linux (fully preemptive kernel )- Hard/soft real-time- High volume I/O

- High speed serial connection (GbE, … etc.)

cPCI IOC

Embedded IOCs- Pentium/XScale/ARM/IXP/IOP Linux- Soft real-time system- GPIB/IEEE-488 Instruments- RS-232/422/485 Devices- CCD camera server- PLC (safety type system)- Bunch-by-bunch feedback system interface- Special applications

DB Server,Beam Physics Server,

Alarm Server,AP Server, … etc.

Storage Server

IOC(Input Output

Controller)

aTCA IOC

SignalConditioning

Embedded IOC

TPS Control System Infrastructure

PLC

Safety Type

System

Network attached EPICS Devices (e.g. EPICS oscilloscope, … etc.)

10EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Candidates of EPICS IOC - Hardware Building Blocks

RS232/422/485 Interface

ACQ IOC(Linux)

Intel IOP + ADC

128 Bits DI/DI

128 Bits DI/DI

cPCI CPU board

CompactPCI IOC(Linux)

aTCA IOC(Linux)

MOXA IOC(Linux)

Intel XScale IXP

BI, BO, AI, AO, Timing

Network attached devices

BI, BO, AI, AO, Timing, Network attached devices

Compute Blade

Switch Blade

Libera IOC(Intel XScale, Linux)

MRF’s EVG/EVR

ADC

Custom DesignedPower Supply

Controller(~ 20 bit DAC performance)

Power supply,Network attached devices,Feedback engine

DAC

In Developing

DAC

In Developing

MainPower Supply

11EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Software EnvironmentControl system framework: EPICS toolkitHigh level physics applications:

=> Depend upon machine physicists’ preference => Matlab/Accelerator Toolkit/Matlab Middle Layer

another framework (e.g. XAL frameworks) is also in study=> Setup virtual accelerator to support high level application development is in planning.

Many items are still in study => Relation database => Technical system interface => Documentation, E-log => Machine status broadcasting: web, IPTV, … etc.

What are our major focus now:1. We are no real experiences on EPICS => Do our best to increase

slope of the EPICS toolkit learning curve.2. Work out on device/driver support for various selected hardware..

12EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Proposed Interface Standard

cPCI I/O modules- 32/64/96 channel 16 bits AI (with transient signal capture capability)- 32 channel AO- 128 bit DI, 128 bit DO- EVG, EVR (cPCI & PMC form factor), Fine delay module- 32/64 channel 24 bits AI (with transient signal capture capability, in study)- 16 channel 20/21 bits AO (in study)- In house design electrical/optical fanout

Main power supply control interfaceGbE interface, waveform support for the booster synchrotron main power supply

Small power supply control interfaceGbE interfaceFeedback enableBooster energy ramping support (optional)

Fast waveform captureScope IOC

CameraFirewire or GigE Vision

13EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Proposed Interface Standard – cont.

Ethernet and LXI Compliant devicesPower supply (feedback enable)DiagnosticsElectronics instruments, DMM, temperature, ..

Motion control Ethernet based motion controllerInterlock

PLCRS-232C/422/482 devices

Ethernet to RS-232/422/482 serial device servers or IOCGPIB/IEEE-488

LAN/GPIB gatewayMiscellaneous Interface

14EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Possible Power Supply Control Interface

If PSI type digital power supply is selected=> Next Gen PSI power supply control interface (FOFB enable)

DPC-

Dataconcentrator

Digital power supply #1

Digital power supply #2

Digital power supply #n

Control System Link(GbE link)

FOFB Link(Rocket I/O)

Concepts of the PSI team

15EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Possible Power Supply Interface – cont.

RocketIOBlock

PPCOr

MicroBalzer

CompactFlash

SystemAce

EPROM

Virtex V FPGA

GbETransceiver

GbETransceiver

Fast Corrector Setting(10 KHz rate,>> 10 kHz rate for booster corrector ramping)Single UDP/IP package working in multi-cast mode to control all fast correctors with address offset.PS Control(10 Hz rate) Batch Data Transfer(TCP/IP)

Configuration modules

Alternative Interface Solution for Small Power Supply Control (FOFB Enable)

Trigger

PS #1PS #2PS #3PS #4PS #5PS #6PS #7PS #8

Set Register

PS #1PS #2PS #3PS #4PS #5PS #6PS #7PS #8

Read RegisterRocketIOBlock

PSmodule #1

PSmodule #2

PSmodule #8 (16?)

20 Bit DAC24 Bit ADC(> 18 bits ENOB)

DI + DO

Interface Mezzanine- Analogue and digital

interface

16EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Possible RF Control System Interface

Control Consoles* Control and monitoring* Status display* Conditioning & RF processing* Operation sequence* Data logger & browser* Alarm & reports* … etc.

Cryomodule

TPS Control Network

LHepressureregulator

HEXgas flowregulator

SignalConditioning

Cryogenic Electronics

SRF Cryogenic Electronics

LHelevel

regulator

ControlConsole

Ethernet Switch Fabric

SRF Cryogenic PlantMonitor and Archive PC

NSRRC Intranet

PLC

Transmitter

MasterOscillator

Low Level RF System(LLRF)

IOCs

CESR typeor

KEKB type

17EPICS 2008 Meeting, Shanghai, March 12-14, 2008

TPS Control Ethernet

Ethernet basedMotion

ControllerInterlock

PLCPower Supply

AuxiliaryEncoder

128 Bits DI/DIcPCI CPU boardCompactPCI IOC(Linux)

Insertion Devices IOC

32 Ch ADC/16 Ch DAC

ID gap/phase informationTo dedicated global compensation node

(>100 update/sec)

MotorDriver

Encoder Limit Switches

Proposed Insertion Devices Control Interface

Encoder update rate

(100 ~ 200 Hz ?)

18EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Proposed Superconducting Insertion Devices Interface

TPS Control Ethernet

PowerSupplies

128 Bits DI/DIcPCI CPU boardCompactPCI(Linux)

Insertion Devices IOC

Interlock PLC

32 Ch ADC(10 kS/sec with average outpu

t)/16 Ch DACMOXA RS-232/422/485

Serial Device Servers

Cryogenic ElectronicsTemperature,LN2 Level,LH Level,

… etc.

Coil currentLiquid levelGas pressureTemperatureQuench detectionBeam current

Quench Detector

Remark: ADC with buffer and trigger capability to capture trip event for post-mortem analysis.

19EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Turnkey System Interface

Many of turnkey systems compliant with EPICS based controls. Possible turnkey systems included:

LinacRF transmitterOutsource insertion devicesMonochromator and other beamline components………. etc.

Possible turnkey EPICS devices included:BPM electronics, Scope IOC, Motion control solution, …

Measures to minimize amount of workload for integration support and maintenance

Standard components should be chosen to get consistency of hardware

EPICS development environment and documentation on the TPS application development process

TPS PV name convention

20EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Proposed Linac Control Environment

TPS Control Network

cPCI CPU board

Modulator #1

Linac ControlEthernet Switch

Modulator #2Gun

LocalController

(PLC, ..etc.)

LocalControlPanel

Power Supply

Event Receiver+

Delay generator(Electrical, Optical Output)

DI/DI(Optional)

ADC/DAC(Optional)

CompactPCI IOCFedora Core Linux

orMontaVista Linux (real-time)

Diagnostic IOCs(Transient Digitizer,,

FireWire orGigE Vision Camera,

… etc.)

EPICSLXI Oscilloscope

Modulator #3RF

VacuumInterlock

…etc.

EPICSOPI

cPCI IOC

TPS Control Environment

LocalController

(PLC, ..etc.)

LocalControlPanel

LocalController

(PLC, ..etc.)

LocalControlPanel

LocalController

(PLC, ..etc.)

LocalControlPanel

+

21EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Miscellaneous System Interface

Vacuum system BI, BO, AI, AO, serial links, ..etc. Diagnostics

BPM electronics: Ethernet.BI, BO, AI, AO, counter

Machine protectionDedicated PLC system with fast linkEthernet to control system.

Personnel protectionDedicated PLC system with fast linkEthernet to control system.

Feedback system interface …

22EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Post-mortem Diagnostic Supports

BPM electronics: 16 k samples or more post-mortem buffer (turn-by-turn), dedicated fast data capture nodes to capture more than 5 seconds. cPCI ADC module with post-mortem buffer:

Up to 10 sec time resolution for more than 5 seconds. Transient and waveform diagnostic:

High timing resolution (~ nsec) with segmented sweep, multiple-trigger capability. Beam trip trigger is planned to distribute via event system.

23EPICS 2008 Meeting, Shanghai, March 12-14, 2008

Cultivate EPICS peoples. Define standard hardware, work out on EPICS Device/driver supports. Define software standard (EPICS toolkit). Planning for various issues (name convention, networking, …). Setup test bed in 2008:

Training systemPulse magnet control IOCK2 solid state modulator IOC (test)BPM system for TLS (gateway to TLS control system)Power supply control interface prototypeTransient and waveform IOCVarious EPICS clients applicationsRDBMSOPI

Work out a solid plans for the TPS control system:Limited budget, limited manpower, schedule …

Works in Proceed

24EPICS 2008 Meeting, Shanghai, March 12-14, 2008

1 m EPUMicroIOC

andMotion Controller

MEDMControl Page Targeted cPCI and aTCA

platform in testing

cPCI

aTCA

Works in Proceed – cont.

EPICS Training

Setup EPICS learning system and test bed

25EPICS 2008 Meeting, Shanghai, March 12-14, 2008

The design of the TPS control system is on going. All major components for control system are in intensive study. Standardization hardware and software are the current focus. EPICS toolkit training - a series training activities will be arranged. Set up EPICS test-bed Single kind of operating system solution for IOCs and consoles are preferred

=> Linux. Economy design without scarify performances and reliability are the goals. Select possible outsourcing items Learn experiences from another labs Help from the EPICS community is absolutely essential!

Device/driver support,Timing system support,Control system infrastructure,Training, ... etc.

Summary