Talk slides and posters

Those slides and posters have not passed quality assurance.
Those are for whom has to write quick conference reports.
Final proceedings will be available later.


ICALEPCS 2009
SPECIAL
Reports from satellite workshops

MOB001
ITER Controls Design Status
D.Joonekindt (Atos Origin) A.Wallander, C.Hansalia, D.Stepanov, F.Di Maio, H.Dave, H.K.Gulati, I.Yonekawa, J.Y.Journeaux, K.Mahajan, L.Scibile, W.-D.Klotz* (ITER)
ITER Control, Data Access and Communication (CODAC) system passed conceptual design review in late 2007. Since then a local CODAC group has been formed on the ITER site currently consisting of 12 staff representing four out of the seven parties. The work in transforming the conceptual design into an engineering design is now in full swing. The primary current focus is on standardization of the development process as well as hardware and software components for instrumentation and control. The system will provide services and communication functions to orchestrate and integrate, current estimate is 165, Plant Systems which will be delivered 'in kind' by the seven ITER Parties. The latter poses the largest challenge of the project.This paper will detail the architecture of the system, will report on standards selected and will present the activities, strategy and technology choices made during the last year and outline the plans ahead.

MOB002
Status Report of the LMJ (Laser Mgajoule) Control System
J.I.Nicoloso, J.I.Nicoloso* (CEA) F.P.Signol, J.C.Picon (CESTA)
The French Commissariat l'nergie Atomique (CEA) is currently building the Laser MegaJoule (LMJ), a 240-beam laser facility, at the CEA Laboratory CESTA near Bordeaux. It is designed to deliver about 2 MJ of energy to targets for high energy density physics experiments, including fusion experiments. LMJ technological choices were validated with the LIL, a scale 1 prototype of one LMJ bundle. The construction of the LMJ building itself is now achieved and the assembly of laser components is on-going. The presentation gives an overview of the control system architecture and focuses on the way it was divided between the dozen of contractors involved in the LMJ design. We will discuss also how we tried to preserve system consistency by developing a common framework shared by the different contractors. This framework is based on the PANORAMA E2 industrial SCADA and includes WCF technology for subsystems communication. It is intended to integrate all the common components and rules for configuring, controlling and operating a large facility, so that developers has only to concentrate on process specific tasks.

MOB003
Status of the LHC Power Converter Controls
Q.King* (CERN)
The LHC has more than 1700 power converters spread around the 27 km machine. Controlling them all is an unprecedented challenge due to the part-per-million level accuracy required for the main circuits and because the majority of the systems are exposed to significant levels of radiation. The project started in 1996 and consumed 7 MSF and around 50 man years. The architecture chosen is similar to the one used successfully in LEP with one embedded controller per power converter linked by fieldbuses to middle-tier gateway systems. This paper presents a summary of the architecture and the results achieved during the commissioning of the LHC from 2006-8. The system contains numerous enhancements compared to LEP including: digital regulation of current; automatic configuration based on a machine readable inventory; extensive remote diagnostics of power converter and controller faults; and distribution of time of day, timing events, software updates and power cycle requests over the WorldFIP fieldbus. The paper reports on what worked well, what could have been designed better, and what are expected to be the important issues for exploitation in the future.

MOB004
Commissioning of the New Control Systems for the PETRA3 Accelerator Complex at DESY
R.Bacher* (DESY)
At DESY the exisitng accelerator complex has been upgraded and partially rebuilt to become the high-brilliance 3rd-generation light source PETRA3. The pre-accelerators have been successfully re-commissioned during the second half-year 2008, while PETRA3 has provided stored beam first time in April 2009. In the context of the PETRA3 project, the control systems of all accelerators involved have been rebuilt. At all levels radical and significant changes have been introduced. Key elements of the chosen architecture and technologies are among others: TINE as core control system software suite, JAVA as the principal programming language for implementing graphical operator applications as well as many device and middle-layer servers (other device servers making use of C, C++, VB, and LabView), integrated Matlab and light-weight dynamic web-based applications, generic device access, CANopen as interface for standard process control, more than 200 LIBERA brilliance beam position internet appliances and integrated high-bandwidth video transmission. The paper reports the experiences gained so far during the commissioning of the new control systems.

MOB005
The CMS Detector Control System
A.Racz, B.Beccati, C.Deldicque, C.Schwick, D.Gigi, E.Cano, E.Meschi, F.Glege, F.Meijers, H.Sakulin, J.A.Coarasa, J.F.Laurens, J.Gutleber, L.Orsini, M.Ciganek, M.Simon, M.Zanetti, R.Gomez-Reino*, R.Moser, S.Cittolin, Y.L.Hwong (CERN) A.Meyer, D.Hatton, U.Behrens (DESY) D.Shpakov, H.Cheung, J.A.Lopez-Perez, K.Biery, R.K.Mommsen, V.O'Dell (Fermilab) A.S.Yoon, C.Loizides, C.Paus, F.Ma, G.Bauer, J.F.Serrano Margaleff, K.Sumorok (MIT) S.Erhan (UCLA) A.Petrucci, J.Branson, M.Pieri, M.Sani (UCSD)
The Compact Muon Solenoid (CMS) experiment at CERN is one of the Large Hadron Collider multi-purpose experiments. Its large subsystems size sum up to around 6 million Detector Control System (DCS) channels to be supervised. A cluster of ~100 servers is needed to provide the required processing resources. To cope with such a size a scalable approach has been chosen factorizing the DCS system as much as possible. CMS DCS has made a clear division between its computing resources and functionality by creating a computing framework allowing for plugging in functional components. DCS components are developed by the subsystems expert groups while the computing infrastructure is developed centrally. To ease the component development task, a framework based on PVSSII [1] has been developed by the CERN Joint Controls Project [2] (JCOP). This paper describes the current status of CMS Detector Control System, giving an overview of the DCS computing infrastructure, the integration of DCS subsystem functional components and the experience gathered so far.

MOC001
LLRF System Requirement Engineering for the European XFEL
G.Ayvazyan, M.K.Grecki, S.Simrock, Z.Geng* (DESY)
The LLRF system of the European XFEL must fulfill the requirements of various stakeholders: Photon beam users, accelerator operators, rf experts, controls system, beam diagnostics and many others. Besides stabilizing the accelerating fields the system must be easy to operate, to maintain, and to upgrade. Furthermore it must guarantee high availability and it must be well understood. The development, construction, commissioning and operation with an international team requires excellent documentation of the requirements, designs and acceptance test. For the RF control system of the XFEL the new system modelling language SySML has been chosen to facilitate the system engineering and to document the system. SysML uses 9 diagram types to describe the structure and behavior of the system. The hierarchy of the diagrams allows individual task managers to develop detailed subsystem descriptions in a consistent framework. We present the description of functional and non-functional requirements, the system design and the test cases. An attempt of costing the software effort based on the use case point analysis is also presented.

MOC002
Strategy for the Integration of the LMJ (Laser Megajoule) Control System
J.I.Nicoloso, J.J.Dupas (CEA) J.C.Picon, J.C.Picon* (CESTA)
The French CEA (Commissariat l'nergie Atomique) is currently building the LMJ (Laser MgaJoule), at the CEA Laboratory CESTA near Bordeaux. The LMJ is designed to deliver about 1.8 MJ of 0.35 0m light to targets for high energy density physics experiments. CEA has imposed an industrial policy by dividing the LMJ development and construction into a dozen major contracts. Each of these contracts supplies the hardware (e.g. Capacitor bank) and the associated control System. CEA is the project manager of the centralized supervisor and the communication protocols between the several subsystems. CEA is also responsible for the integration of the subsystems which is a major challenge. This presentation discusses the integration strategy. It is a three step process, each taking place in a different site: factory acceptance tests at the subsystem level, Integration tests of the whole control system on a dedicated 'Integration Platform', and finally on site tests from an 'integration control room' (which is different from the operation control). This paper will describe the necessary integration and simulation tools and the tasks related to the three steps.

MOC003
SOLEIL Control and Acquisition Hardware Installation and Maintenance Management
D.Corruble, F.Blache, G.Renaud, J.Bisou, J.P.Ricaud, M.Abdelbaki, P.Betinelli*, P.Monteiro, Y.-M.Abiven (SOLEIL)
SOLEIL is a third generation Synchrotron radiation source located in France near Paris. The construction began in 2002. Now, the Storage Ring delivers photon beam to 20 beamlines with global reliability better than 95%. In a few years, we have installed and deployed many hardware equipments: 145 CPCI systems, 175 PLC systems, 154 Motion Systems. Around 6000 cables are connected to our hardware equipments. We are distributing around 600 timing signals, driving more than 760 motors, and piloting more than 500 IO CPCI boards. To achieve the high reliability required, we have applied industrial installation and maintenance methods. From the beginning we have defined standard products and connexions, installation procedures, PV forms... Configurations, Cabling Folders and PV forms are saved in an EDMS (Engineering document management system). We use a CMMS (computerized maintenance management system) to inventory, localize and keep the history of the installed equipments. Each intervention is reported in it to follow the demands of evolutions, the maintenance, the problems and interventions. The result of this organization is a control and acquisition hardware's availability of 99, 98%.

MOC004
Controls Request Tracker
I.Verstovsek (Cosylab) K.-U.Kasemir, K.S.White*, S.M.Hartman (ORNL)
Controls groups at large accelerators are routinely called upon to build and support controls for virtually all machine systems. While construction projects within the US DOE system are normally carefully planned and tracked by project management professionals, this support ends when construction milestones are met. However, once construction is complete, work continues as the group performs ongoing support and maintenance while also implementing requested system improvements and upgrades. With customers from virtually every accelerator and experiment group, the demands on the group often exceed the capacity of available resources. This type of diverse workload needs to be well organized and managed in order set proper priorities and ensure efficient use of resources. At SNS, we have collaborated with Cosylab to develop Controls Request Tracker (CRT), which is adapted from the Cosylab Project Manager (CPM) software. The resulting system not only provides standard request tracking features, but is interfaced to the SNS Logbook and work control system. This paper will discuss CRT and how we use it to manage the work of our controls group.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

MOC005
Development of the ITER CODAC Core Systems
A.Wallander, D.Stepanov, F.Di Maio*, J.Y.Journeaux, K.Mahajan, N.Utzel, P.Makijarvi, W.-D.Klotz (ITER)
The duration of the construction period for ITER is ten years, from 2008. The procurement model is such that the ITER Plant Systems will mostly be provided 'in kind' to be integrated into the ITER control infrastructure. In the coming three years, the earliest plant systems will be built and some test facilities will also be required. As a result, the CODAC group (Controls, Data Access & Communications) is already preparing the systems that implement the core functions such as operator interface, alarms handling, communications or data storage, in incremental versions, reduced and tailored for the development and tests of the plant systems before integration. The work is executed in partnership with labs and industries from the ITER parties and has to be organized as a continuous process to match the consecutive integration and commissioning phases of the ITER project. This paper reports on these tasks, including schedules and decisions, with details on two systems named Plant System Host and Mini-CODAC.

MOC006
Towards Model Re-usability for the Development of Telescope Control Systems
L.Andolfato, M.Zamparelli, R.Karban* (ESO)
During the life-cycle of a project, the development team often discovers similarities among system components within the same or previous projects, with the potential for cost and time savings. We have encountered this discovery mechanism also in the telescope control system domain. The overall development effort can be dramatically reduced by reusing the different modeling artifacts like core requirements, functional design, and structural design. The paper illustrates some results, using the Active Phasing Experiment (APE) project as a case-study, where modeling is used as key technique to identify common system properties. APE is an opto-mechatronical technology demonstrator which was installed on the Very Large Telescope (VLT) at the Paranal observatory. When moving along a vertical cut from implementation to requirements we observed an increase of re-usability with increasing abstraction level requiring different approaches for capturing commonalities. An adequately tailored modeling strategy and an application framework based on state machines are used to create a repository of reusable artifacts with SysML and UML.

MOD001
A Generic Finite State Machine Framework for the ACNET Control System
L.R.Carmichael* (Fermilab)
A significant level of automation and flexibility has been added to the ACNET control system through the development of a Java-based Finite State Machine (FSM) infrastructure. These FSMs are integrated into ACNET and allow users to easily build, test and execute scripts that have full access to ACNET's functionality. In this paper, a description will be given of the FSM design and its ties to the Java-based Data Acquisition Engine (DAE) framework. Each FSM is part of a client-server model with FSM display clients using Remote Method Invocation (RMI) to communicate with DAE servers heavily coupled to ACNET. A web-based monitoring system that allows users to utilize browsers to observe persistent FSMs will also be discussed. Finally, some key implementations such as the crash recovery FSM developed for the Electron Cooling machine protection system will be presented.

MOD002
TINE Release 4.1: Responding to the User's Needs
M.Lomperski, P.Duval*, P.K.Bartkiewicz, S.W.Herb (DESY) S.Weisse (DESY Zeuthen)
In the period between the shutdown of the HERA collider and the commissioning of the PETRA 3 synchrotron light source the TINE* control system was upgraded and modernized to the next major release level, namely 4.0. Many of the new features and capabilities have been reported before**. As can be expected, when what was 'designed and planned' is actually put to use, various imperfections and deficiencies begin to surface, the natural 'enemy' of the developer being the 'user'. To this end there has been a slow and iterative progression toward TINE Release 4.1 which will be reported on here. Many of the embellishments involve improving data transfer efficiency (such as enforcing the use of multi-channel arrays even when the user makes single channel calls) or meeting the user's expectations of what should be possible (such as allowing variable-length TINE data types to appear within TINE data structures). In addition, TINE Central services have been more systematically integrated into the protocol.
* http://tine.desy.de** 'TINE Release 4 in Operation', P. Duval, et. al, Proceedings PCaPAC 2008.

MOD003
TINE Video System: Proceedings on Redesign
P.Duval (DESY) A.Shapovalov, D.Melkumyan, S.Weisse* (DESY Zeuthen)
Experience has shown that imaging software and hardware installations at accelerator facilities needs to be changed, adapted and updated on a semi-permanent basis. The past TINE-based Video System*, initiated at PITZ**, has undergone a thorough redesign after years of operation and upgrading in order to extend interoperability and cope with new challenges while still staying flexible. Emphasis was placed on flexibility, avoiding redundancies, good documentation, component-based architecture, multi-platform capability and ease of use as well as reuse. This contribution will show the current status of the redesign as well as the near and far future outlook. The main focus is put on the Java-based TINE ACOP Video Bean and its integration into jDDD and COMA, PNG file format support, core applications and services as well as universal slow control for cameras. Moreover, the Video System acts as a basis for advanced high-level software applications such as semiautomatic Emittance Measurement Wizard (EMWiz). Although the outlined Video System implementation is integrated into TINE control system***, it is modular enough so that integration into other control systems can be considered.
* S. Weisse et al., "Status of a versatile Video System at PITZ, DESY-2 and EMBL Hamburg", ICALEPCS 2007, Knoxville, TN, USA** http://pitz.desy.de*** http://tine.desy.de

MOD004
Evolution of the FLASH DAQ System
T.Wilksen*, V.Rybnikov (DESY)
The Data Acquisition System at the Free-Electron-Laser Hamburg (FLASH) has evolved since its implementation in 2005 into a reliable and versatile system used for accelerator operations and studies along with a multitude of different photon experiment users, recording about 14 TB in 2008 for experiments only. Recently the DAQ system has been successfully upgraded with new hardware to accommodate increasing demands of beamline experiments, upcoming R&D work at FLASH i.e. for the ILC, and to prepare for the upgrade of the FLASH facility this year. The design of the FLASH DAQ is based on a very scalable and extensible concept, recording all available data, processing and archiving it as well as providing an interface for the user to analyze their measurements. Several instances of the same DAQ system have been installed now in parallel to the existing ones to allow for a flexible and redundant configuration, adjusted to the needs of the different user communities. This paper describes the evolution of and experiences with the FLASH DAQ and highlights the key elements of its design to facilitate an expandable yet easily to duplicate system implementation.

MOD005
Evolution of the EPICS Channel Access Protocol
M.R.Kraimer (ANL) L.R.Dalesio (BNL) K.Zagar*, M.Sekoranja (Cosylab)
Experimental Physics and Industrial Control System (EPICS) is one of the most widely deployed control system infrastructures in large experimental physics community. At EPICS' foundation are 1) the real-time process database, which allows integrators to build the control system from reusable building blocks (e.g., device drivers) into a coherent whole without much coding or other kind of development, and 2) the Channel Access protocol, which allows the database to be distributed across several computers in a scalable way. In this contribution, we describe the objectives of the next major EPICS release (v4). In particular, we focus on the improvements of the Channel Access protocol that will allow it to support additional functionality, such as structured process variable data (pvData) and client-specified filters. We also describe how this functionality is implemented while simultaneously further improving the Channel Access' performance (no-copy get, flow control improvements, beacon traffic reduction, zero-length queues, etc.). We also discuss potential for future improvements, such as use of IP multicast and a layer for implementing remote-procedure call style of communication.

MOD006
Migrating Control Servers and Applications to Virtual Machines
C.Angel, C.Finlay, E.Matias, G.Wright* (CLS)
At the Canadian Light Source, there are an ever-increasing number of distributed Controls applications that can run on generic networked computers. This has led to additional servers when segregation by operating system or by LAN has been required. Additional concerns of maintenance of older computer hardware, driver support for older O/S's on new hardware, and growing Virtual LAN issues have led to an adoption of moving applications to Virtual Machines. Our implementation using VMware Infrastructure provides a high reliability environment, with centralized monitoring of performance and simplified expandability. The distributed 'average' reliability hardware has been replaced by a single high-reliability system with built-in redundancies. A new virtual machine can be started in a matter of minutes from an existing pre-configured template, and can be joined to up to four VLANs with a simple software configuration.

TUA001
The Best Ever Alarm System Toolkit
E.Danilova, X.H.Chen, X.H.Chen, K.Kasemir(*) (ORNL)
Learning from our experience with the standard EPICS alarm handler (ALH) as well as a similar intermediate approach based on script-generated operator screens, we developed the Best Ever Alarm System Toolkit (BEAST). It is based on Java and Eclipse on the Control System Studio (CSS) platform, using a relational database (RDB) to store the configuration and log actions. It employs a Java Message Service (JMS) for communication between the modular pieces of the toolkit, which include an Alarm Server to maintain the current alarm state, an arbitrary number of Alarm Client user interfaces (GUI), and tools to annunciate alarms or log alarm related actions. Web reports allow us to monitor the alarm system performance and spot deficiencies in the alarm configuration. The Alarm Client GUI not only gives the end users various ways to view alarms in tree and table, but also makes it easy to access the guidance information, the related operator displays and other CSS tools. It also allows online configuration to be simply modified from the GUI. Coupled with a good "alarm philosophy" on how to provide useful alarms, we can finally improve the configuration to achieve an effective alarm system.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

TUA002
Automated Operation of the Metrology Light Source Storage Ring
T.Birke* (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
The Metrology Light Source (MLS) is in user operation since April 2008. This versatile facility has to work at energies ranging from 105 MeV up to 630 MeV, operating currents from a single electron up to 200 mA and different values for the momentum compaction factor according to the user demands that vary even on very short notice. A software system has been developed to control and coordinate the broad manifold of machine states. Design goal of the software was to keep and transfer machine and control system within well-defined and consistent states. It should minimize errors due to inadvertences and avoid mistakes when following complex command sequences. The software is modelled as a finite state machine. Actions are configured and triggered by a few high level commands. This paper describes program functionalities and interfaces. Experiences with `automated operation' using this indispensable operator tool for a reliable setting up of a very sensitive machine are reported.

TUA003
National Ignition Facility Control and Information System Operational Tools
C.B.Foxworthy, C.D.Marshall*, D.G.Mathisen, G.A.Bowers, J.J.Rhodes, J.M.Fisher, L.J.Lagin, M.J.Shaw, R.G.Beeler, R.W.Carey, T.M.Frazier (LLNL)
The National Ignition Facility (NIF) is the world's highest-energy laser fusion system. The extensive operational tools suite includes experimental setup, pre-shot machine readiness, setup change management, machine health alerts, laser performance and optimization modeling, and a post-shot robotic optics inspection and analysis to guide refurbishment. For example, experiments are setup by a campaign management tool and laser model that allows principal investigators to flexibly define experimental goals. The facility machine readiness is assessed with a configuration checker application by comparing the planned experiment with the hardware operational status for each of NIF's 192 beams. In addition, a restriction manager records and classifies conditional use restrictions on sub-systems categorized by location and types. The experimental goals are algorithmically compared with these categorized restrictions. Machine health and safety control points are directly verified at shot time by the status verifier application which is independent of the supervisory control system. Examples of these and other operational tool requirements and implementations will be presented.
This work performed by Lawrence Livermore National Security, LLC under the auspices of the U.S. Dept. of Energy contract DE-AC52-07NA27344.

TUA004
Automatic Inventory and Configuration Management Tools for the LHC Power Converter Controls
Q.King, S.T.Page*, Z.Zaharieva (CERN)
The LHC has more than 1700 power converters of a variety of different designs, each of which is itself composed of many hardware components. These components must be individually tracked throughout their lifetimes for inventory purposes. Additionally, each component may have associated configuration and calibration values that must follow the component wherever it is installed within the accelerator. The complete history of the inventory and configurations must be retained as well as the calibration values in order to track their evolution. With such a large machine the probability of human error is high, therefore an automated solution is desirable. A system was put in place for the LHC power converter controls that automatically detects the connection of a new device, updates its location and loads its configuration and calibration values from a database within a few seconds. The identification of all key components is remotely readable via the control system. This paper describes the system, detailing its architecture, choices made and results achieved as well as challenges overcome during its implementation.

TUA005
Prototype of a DDS-Based High-Level Accelerator Application Environment
J.Shah, N.Malitsky* (BNL) R.M.Talman (CLASSE) N.Hasabnis (Stony Brook University) N.Wang, S.G.Shasharina (Tech-X)
Data Distributed Service (DDS) from the Object Management Group represents the next generation of industrial middleware standards, bringing a data-centric publish-subscribe paradigm to distributed control systems. In comparison with existing middleware technologies, the data-centric approach is able to provide a consistent consolidated model supporting the different data dissemination scenarios and integrating many important issues, such as user-specific types, quality of service, data stream management and others. The paper highlights the different features of the DDS technology and introduces a prototype of the NSLS-II high level application environment including key middle layer servers, such as Machine, Online Model and Virtual Accelerator. The proposed environment is developed and evaluated on top of EPICS-DDS, an open source implementation of the DDS standard interface based on the EPICS Channel Access protocol (http://sourceforge.net/projects/epics-dds/).
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

TUB001
Accelerator Data Foundation: How It All Fits Together
C.Roderick, M.Peryt, P.Le Roux, R.Billen*, Z.Zaharieva (CERN)
Since 2003, a coherent data management approach was envisaged for the needs of installing, commissioning, operating and maintaining the LHC. Data repositories in the distinct domains of physical equipment, installed components, controls configuration and operational data have been established to cater for these different aspects. The interdependencies between the domains have been implemented as a distributed database. This approach, based on a very wide data foundation, has been used for the LHC and is being extended to the CERN accelerator complex.

TUB002
The National Ignition Facility Data Repository
C.B.Foxworthy, L.J.Lagin, M.J.Christensen, P.Adams, R.C.Bettenhausen, R.G.Beeler, R.W.Carey, R.W.Carey*, S.G.Azevedo, S.L.Townsend (LLNL)
NIF is the world's largest and most energetic laser experimental system, providing a scientific center to study inertial confinement fusion (ICF) and matter at extreme energy densities and pressures. This presentation discusses the design, architecture, and implementation of the NIF Data Repository (NDR), which provides for the capture and long-term digital storage of peta-scale datasets produced by conducting experimental campaigns. The NDR is a federated database that provides for the capture of: experimental campaign plans, machine configuration & calibration data, raw experimental results and the processed results produced by scientific workflows. The NDR provides for metadata, pedigree, quality, effectivity, versioning and access control for each of the data categories. A critical capability of the NDR is its extensive data provisioning capabilities and protocols that enable scientists, local and remote alike, to review the results of analysis produced by the NDR's analysis pipeline or to download datasets for offline analysis. The NDR provides for the capture of these locally-produced analysis results to enable both peer review and follow-on automated analysis.
This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

TUB003
Event-Synchronized Data-Acquisition System for SPrin-8 XFEL
A.Yamashita, M.I.Ishii, M.Yamaga*, R.Tanaka, T.Hirono, T.Masuda, T.Ohata, Y.Furukawa (JASRI/SPring-8) N.Hosoda, T.Fukui (RIKEN/SPring-8)
We report the status and the upgrade of the event-synchronized data-acquisition system for the accelerator control of XFEL/SPring-8. Because the XFEL is composed of a linac, most of the equipment is driven with the pulsed operation. The stability of equipment is critically important to achieve/stabilize the FEL lasing. We need a fast data-acquisition system to take a set of data from RF signals and beam monitor signals synchronizing with the same electron beam shots. For this purpose, the event-synchronized data-acquisition system has been introduced to the control system of the SCSS test accelerator, an XFEL prototype machine. The system consists of a data filling computer, a relational data base server, VME-based shared memory boards and distributed shared memory network. So far total of 54 signals from the beam monitoring system are successfully collected synchronizing with the 60 Hz of beam operation cycles. The accumulated data was utilized for the fast feedback correction of beam trajectories and energy quite effectively. Signals from the RF systems will be taken by the upgraded data-acquisition system utilizing the distributed memory-cache system.

TUB004
Infor EAM/MTF: The CERN's Global Equipment Data Repository
D.Widegren, P.Martel, S.Mallon Amerigo*, S.Petit (CERN)
Infor EAM/MTF is the official equipment maintenance and asset tracking system at CERN. It has become a central repository for data gathered throughout the entire equipment's lifecycle: specifications, nominal values, manufacturing data, results of tests and measurements, non-conformities, commissioning data, logging of breakdowns, maintenance interventions, etc. Even though it has not been explicitly designed for control applications purposes, Infor EAM/MTF helps and is complementary to their information systems. Also, some of the data logged by control applications that might be of interest to other systems can be made publicly available through MTF. Some major benefits of the collaboration between Infor EAM/MTF and control systems have been the enforcement of the CERN equipment naming conventions and the standardized access to data regardless of the type of equipment. Data in Infor EAM /MTF are made available to control clients via web interfaces or in more tailored and efficient ways by directly accessing the Oracle database upon which Infor EAM/MTF is built. Some examples of data sharing between Infor EAM/MTF and control applications are presented in this paper.

TUB005
Experimental Data Storage Management in NeXus Format at Synchrotron SOLEIL
A.Buteau*, C.Marchal, P.Martinez (SOLEIL)
At Synchrotron SOLEIL, twenty Beamlines are already in operation and produce daily a lot of experimental data files in a range from a few Mb up to 10Gb. Almost all experimental data are stored using the NeXus data format [1]. It is a logical format based on a physical format HDF, able to store any kind of scientific data produced in Neutron or Synchrotron sources. Besides, the NeXus format allows recording experimental data together with all needed contextual like experiment, instrumentation, sample, user's information' Several tools are developed or under development at SOLEIL: a web data browser to retrieve, browse and download data, a command line tool used to export data from NeXus in ASCII or binary data file... The storage system is fully integrated into the Tango bus [2] through a set of dedicated devices. Therefore it's possible to record any data coming from Tango devices into a NeXus file. The storage system is designed to allow recording data from various data sources using a plug-in system. In terms of hardware, a high availability system with the innovator concept of cellular storage "Active Circle" [3] is used since December 2006.
[1] : http://www.nexusformat.org/Main_Page [2] : reference "Status of the SOLEIL Control System, this conference"[3] : http://www.active-circle.com/

TUB006
Marrying a High Performance Computer with Synchrotron Beamlines
R.I.Farnsworth* (ASCo)
A High performance computing facility is being established to service the imaging needs of Beamlines at the Australian Synchrotron. It is planned to schedule the high performance together with the experimental procedures in order to provide a near real time imaging response to experimental data collection. In this way significantly greater efficiency in the use of experimental facilities can be achieved. It is also intended to utilise the non scheduled beamtime to provide a centre of high performance imaging excellence for other scientific imaging needs in the geographic region. A Petabyte data store, fast links to the researchers home institutes, an optiportal, 3d imaging resources, grid portals are also provided to researchers.

TUC001
Results from the Commissioning of the ATLAS Pixel Detector with Cosmics Data
F.Hirsch*( Dortmund University), C.Troncon(Universita' degli Studi di Milano e INFN)
The ATLAS Pixel Detector is the innermost detector of the ATLAS experiment at the Large Hadron Collider at CERN. Approximately 80 M electronic channels of the detector, made of silicon, allow to detect particle tracks and secondary vertices with very high precision. After connection of cooling and services and verification of their operation the ATLAS Pixel Detector is now in the final stage of its commissioning phase. Prior to the first beams expected in Summer 2009, a full characterization of the detector is performed. Calibrations of optical connections, verification of the analog performance and special DAQ runs for noise studies are ongoing. Combined operation with other subdetectors in ATLAS allows to qualify the detector with physics data from cosmic muons. The talk will show all aspects of detector operation, including the monitoring and safety system, the DAQ system and calibration procedures. The summary of calibration tests on the whole detector as well as analysis of physics runs with cosmics data will be presented.

TUC002
Recent Progress of RF and Timing System of XFEL/SPring-8
K.Tamasaku (RIKEN Spring-8 Harima) H.Maesaka*, N.Hosoda, S.M.Matsubara, T.Fukui, T.Ohshima, Y.Otake (RIKEN/SPring-8) M.Musha (University of electro-communications Institute for Laser Science)
For the XFEL facility at SPring-8, the acceleration rf is demanded to be transmitted for a long distance (~1km) and to be precisely controlled. The amplitude precision is 0.01 % and the phase precision is 0.1 degree of a 5712 MHz rf (50 fs timing accuracy). Therefore, we designed a stable optical timing and rf distribution system and a precise low-level rf control system. For the optical system, we employed a phase-stabilized optical fiber (PSOF) that has a very small temperature coefficient of 2 ppm/K. In addition, the fiber length is monitored by an optical interferometer and regulated by a variable delay line to reduce a remaining drift of PSOF. For the low-level rf system, we use an IQ modulator (demodulator) to generate (to detect) an acceleration rf signal. The baseband signals of the IQ modulator and demodulator are processed by 238MHz VME D/A and A/D converter boards, which have 14-bit and 12-bit resolutions, respectively. This system can manipulate the rf amplitude and phase with 0.01 % and 0.1 degree precision, respectively. These highly accurate instruments are very useful to other facilities.

TUC003
Development of COM Express VME Carrier Board with Remote Management Capability
T.Masuda*, T.Ohata (JASRI/SPring-8)
VME market is shrinking gradually. We have recently faced with difficulty that our choice of VME CPU boards from the market has been restricted. Since over two hundreds of VME computers have been deployed, we have to solve the difficulty. We, therefore, design and develop a COM Express VME carrier board. It is equipped with the VME64x interface and the PICMG standardized COM Express interface. We can build up our VME CPU board by combining the carrier board with a suitable COM in the growing COM Express market. We design the carrier board to realize another solution for the difficulty. That is, the VMEbus can be controlled from its PMC/XMC slot without using a COM Express module. High-reliable server computer would be a VME controller via a PCI or PCI Express extension like Serial Rapid I/O, for example. In addition, we design the carrier board to support remote management functions. The daughter board attached onto the carrier will provide VME/COM monitoring function, VMEbus reset function and KVM (keyboard, video, mouse) over IP function via an independent network interface on the carrier. The design details and the available functions will be presented.

TUC004
The White Rabbit Project
G.Gaderer, P.Loschmidt (Austrian Academy of Sciences) E.G.Cota, J.H.Lewis, J.Serrano, M.Cattin, P.Alvarez, P.M.Oliveira Fernandes Moreira, T.Wlostowski* (CERN) J.Dedic (Cosylab) C.Prados, M.Kreider, R.Baer, S.Rauch, T.Fleck (GSI)
Reliable, fast and deterministic transmission of control information in a network is a need for many distributed systems. One example is timing systems, where a reference frequency is used to accurately schedule time-critical messages. The White Rabbit (WR) project is a multi-laboratory and multi-company effort to bring together the best of the data transfer and timing worlds in a completely open design. It takes advantage of the latest developments for improving timing over Ethernet, such as IEEE 1588 (Precision Time Protocol) and Synchronous Ethernet. The presented approach aims for a general purpose, fieldbus-like transmission system, which provides deterministic data and timing (sub-ns accuracy and ps jitter) to around 1000 stations. It automatically compensates for fiber lengths in the order of 10 km. This paper describes the WR design goals and the specification used for the project. It goes on to describe the central component of the WR system structure - the WR switch - with theoretical considerations about the requirements. Finally, it presents real timing measurements for the first prototypes of WR hardware.

TUD001
Preliminary Design of the Australian SKA Pathfinder (ASKAP) Telescope Control System
J.C.Guzman* (CSIRO ATNF)
The Australian SKA Pathfinder (ASKAP) is a 1% Square Kilometre Array (SKA) pathfinder radio telescope, comprising of 36 12-metre diameter reflector antennas, each with a Focal Plane Array consisting of approximately 100 dual-polarised elements operating at centimetre wavelengths and yielding a wide field-of-view (FOV) on the sky of about 30 square degrees. ASKAP is currently under construction and will be located in the remote radio-quiet desert Midwest region of Western Australia. It is expected to be fully operational in 2013. Key requirements for the ASKAP control system include: control and monitoring of widely distributed devices, handling of a large number of monitoring points (< 150, 000), accurate time synchronisation and remote semi-automated operations. After evaluating several software technologies we have decided to use the EPICS framework for the Telescope Operating System and the Internet Communications Engine (ICE*) middleware for the high-level control message bus. This paper presents a preliminary design of the ASKAP control system as well as describing why we have chosen EPICS and ICE and how both technologies fit in the overall ASKAP software architecture.
(*) ICE is a trademark of ZeroC Inc.

TUD002
The Newly Constructed EPICS-based Control System for KSTAR Tokamak Device
H.K.Na, J.S.Hong, J.S.Park, M.K.Kim, M.K.Park*, M.Kwon, S.Baek, S.H.Hahn, S.Lee, W.R.Lee, Y.Chu, Y.K.Oh, Y.O.Kim (NFRI) K. H.Kim (SLAC)
The KSTAR is the newest superconducting tokamak to have a mission to perform fusion researches for future energy source, which accomplished the 1st plasma in 2008 after the completion of design, fabrication and assembly since 1995. The KSTAR integrated control system (KICS) aimed at integration of all plant system I&Cs, development of schema for tokamak operation and relevant S/W, achievement of synchronized operation, and machine protection. For those purposes, we elaborated on the selection of a middleware for the KICS focused on performance, reliability and maintainability, and finally decided to use EPICS. In addition, the KICS adapted several open-source tools in the fields of data management and user interfaces such as MDSplus, Qt, Mysql, etc. For the initial operation, we integrated 17 types of plant systems with various H/W platforms and installed about 200 controllers to handle about 18, 000 Process Variables. This paper focuses on the development of the KICS and the operational results. Moreover, the evaluation of EPICS for tokamak control is explained by analyzing the differences between tokamak and accelerator control.

TUD003
Supporting Multiple Control Systems at Fermilab
D.J.Nicklaus* (Fermilab)
The Fermilab control system, ACNET, is used for controlling the Tevatron and all of its pre-accelerators. However, other smaller experiments at Fermilab have been using different controls systems, in particular DOOCS and EPICS. This paper reports some of the steps taken at Fermilab to integrate support for these outside systems. We will describe specific tools that we have built or adapted to facilitate interaction between the architectures. We also examine some of the difficulties that arise from managing this heterogenous environment. Incompatibilities as well as common elements will be described.

TUD004
ALMA Software Project Management, Lessons Learned
G.Raffi* (ESO) B.E.Glendenning (NRAO)
The Atacama Large Millimeter/Submillimeter Array (ALMA) is the largest radio telescope currently under construction by a world-wide collaboration. The first antennas (the total will be 54 12m antennas and 12 7m antennas) are being commissioned to become part of the interferometer at a high site (5000m) in Chile. The ALMA Software (~ 70% completed) is in daily use and was developed as an end-to-end system including proposal preparation, dynamic scheduling, instrument control, data archiving, automatic and manual data processing, and support for operations. The management lessons learned will be explained. Aspects described will go from requirements analysis to the use of a development framework: ALMA Common Software (ACS) in our case. The process used to provide regular releases will be outlined, including temporary cross-subsystem teams. The importance of integrated regression tests will be stressed, but also the need to validate the system with users. Among the project management tools risk analysis, earned value measures and tracking of requirements completion will be presented. Monitoring progress with reviews and the possible impact on completion dates will also be discussed.
A.Komori, H.Nakanishi, H.Yamada, K.Kawahata, M.Emoto, M.Kojima, M.Nonomura, M.Ohsuna, O.Kaneko, R.Horiuchi, S.Imagawa, S.Imazu, S.Ishiguro, S.Sudo*, T.Mutoh, Y.Ito, Y.Nagayama, Y.Takeiri (NIFS)
The representative facilities at NIFS are the superconducting Large Helical Device (LHD) and Plasma Simulator. An overview of such a large-scale fusion research system will be presented. LHD is the plasma confining machine with having superconducting helical and poloidal coils. The LHD experiment started in 1998, and stable operation under the condition of liquid He temperature with a continuous operation for half a year typically at each year has been so far successfully demonstrated for the period of 11 years. Real-time machine control and data acquisition of diagnostics are also established well for long pulse operation up to 54 min. For understanding the plasma properties, Plasma Simulator consists of a supercomputer having 77 TF computing speed and 16 TB main memory (these will be upgraded to 315 TF and 32 TB in 2012). The main aim of the Plasma Simulator is to construct LHD Numerical Test Reactor for designing an optimum reactor. Experimental remote participation to the LHD experiment and remote utilization of Plasma Simulator are well realized with the fast network SINET3. Such successful system integration will contribute to design of future large research systems.

TUD006
Design Status of the TPS Control System
C.-J.Wang, C.H.Kuo, C.H.Kuo*, C.Y.Wu, D.Lee, J.Chen, K.H.Hu, P.C.Chiu, S.Y.Hsu, Y.-S.Cheng, Y.-T.Chang (NSRRC)
The Taiwan Photon Source (TPS) project will build a new 3 GeV synchrotron light source at the site of NSRRC. Refinement of the TPS control system design is on going. The control system is based on EPICS toolkits framework. Guidelines for hardware platform and operating system choice will be addressed. Various EPICS test bed has be setup to evaluate selected hardware and software components. The TPS control system will provide versatile environments for machine commissioning, operation, and accelerator research. The open architecture will facilitate machine upgrade, modification easily and minimize efforts for machine maintenance. Performance and reliability of the control system will be guaranteed from the initial design phase. Current efforts will be summary in this report.

WEA001
Bringing the Power of Dynamic Languages to Hardware Control Systems
J.M.Caicedo Carvajal*, N.Neufeld, R.Stoica (CERN)
Hardware control systems are normally programmed using high-performance languages like C or C++ and increasingly also Java. All these languages are strongly typed and compiled which brings usually good performance but at the cost of a longer development and testing cycle and the need for more programming expertise. Dynamic languages which were long thought to be too slow or not powerful enough for control purposes are, thanks to modern powerful computers and advanced implementation techniques, fast enough for many of these tasks. We present examples from the LHCb Experiment Control System (ECS), which is based on a commercial SCADA software (PVSS II). We have successfully used Python to integrate hardware devices into the ECS. We present the necessary lightweight middle-ware we have developed, including examples for controlling hardware and software devices. We also discuss the development cycle, tools used and compare the effort to traditional solutions.
Marie Curie Early Stage Research Training Fellowship of the European Community's Sixth Framework Programme under contract number MEST-CT-2005-020216-ELACCO

WEA002
Ontology Language to Support Description of Experiment Control System Semantics, Collaborative Knowledge-Base Design, and Ontology Reuse
C.Timmer, D.Abbott, E.J.Wolin, E.Jastrzembski, V.H.Gyurjyan*, W. G.Heyes (JLAB)
In this paper we discuss the control domain specific ontology that is built on top of the domain-neutral Resource Definition Framework (RDF). Specifically, we will discuss the relevant set of ontology concepts along with the relationships among them in order to describe experiment control components and generic event-based state machines. Control Oriented Ontology Language (COOL) is a meta-data modeling language that provides generic means for representation of physics experiment control processes and components, and their relationships, rules and axioms. It provides a semantic reference frame that is useful for automating the communication of information for configuration, deployment and operation. COOL has been successfully used to develop a complete and dynamic knowledge-base for experiment control systems, developed using the AFECS framework.
Jefferson Lab, United States Department of Energy, Office of Science of DOE, Jefferson Science Associates LLC

WEA003
Evolutionary Plans For EPICS Version 3
A.N.Johnson* (ANL) R.Lange (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
With the Experimental Physics and Industrial Control System (EPICS) toolkit being used around the world, modifications to the core software must be very carefully designed to avoid breaking existing applications; this often limits the changes and new functionality that can be introduced. A new way to extend the EPICS input-output controller (IOC) was discovered recently that should be fully compatible with most channel access (CA) client programs; if the IOC supports optional postfix modifiers to the process variable (PV) field names it publishes, it becomes possible to add several features to the EPICS toolkit. However if those field modifiers can be written in standard JavaScript Object Notation (JSON) syntax they can encode a complex data structure and become very powerful, permitting client-specific configuration of individual CA channels without necessitating any changes to the network protocol. This paper will describe how EPICS Base is adding support for JSON encoding and field modifiers, and will discuss other features such as record aliases that have been introduced to help control systems evolve.
Work supported by U.S Departiment of Energy Office of Science, Office of Basic Energy Sciences, under Contract No. DE-AC02-06CH11357

WEA004
New Wave of Component Reuse with Spring Framework - AP Case Study
G.Kruk, J.P.Wozniak*, S.Deghaye, V.Baggiolini (CERN)
The myth of component reuse has always been a 'holy grail' of software engineering. The motivation varies from less time, effort and money expenditure to higher system quality and reliability which is especially important in the domain of high energy physics and accelerator controls. Identified as an issue by D. McIlroy in 1968, it has been generally addressed in many ways with various success rates. But only recently with the advent of fresh ideas like the Spring Framework with its powerful yet simple 'Inversion of Control ' paradigm the solution to the problem has started to be surprisingly uncomplicated. Gathered over years of experience this document explains best practices and lessons learned applied at CERN for the design of the operational software used to control the accelerator complex and focuses on features of the Spring Framework that render the component reuse achievable in practice. It also provides real life use cases of mission-critical control systems developed by the Application Section like LHC Software Architecture, Injector Control Architecture or Software Interlock System that have built their own success mostly upon a stack of reusable software components.
CERN

WEA005
Monitoring Applications Once They Are in the User Community
D.P.Ottavio, J.S.Laster, S.Binello*, T.D'Ottavio (BNL)
Once an application is released to the user community, obtaining prompt and high quality information on application use and reliability can be a challenge. All Linux and Solaris applications used at RHIC and associated accelerators, have been instrumented so that application and crash information is gathered, stored and forwarded to the appropriate developer for immediate analysis.To support this process databases were created to track developer and application information. In order, to keep these databases relevant, a web based application release procedure was upgraded to collect information and automatically update the databases. Additional applications that support developer and user interaction have been developed that utilize various components of this system. An application history server records when an application is started, stopped, by whom, and which machine. An application feedback system allows users to instantly communicate with the application developers. Future work is planned that will store crash information for performance analysis.
U.S. Dept of Energy

WEA006
Data Distribution Service as an Alternative to CORBA Notify Service of the ALMA Common Software
G.Chiozzi, G.Chiozzi*, H.Sommer (ESO) , J. A. Avarias
The ALMA Common Software (ACS) provides the infrastructure for the Atacama Large Millimeter Array and other projects. ACS, based on CORBA, offers basic services and common design patterns. One of these services is the Notification Channel. Based on the CORBA Notify Service, it allows the implementation of applications based on the publisher-subscriber pattern. This is very useful for handling asynchronous messages between components, and fosters data-centric architectures and de-coupling between different components of an application. The Notify Service has several limitations, such as being resource intensive and not scaling well with the number of subscribers. The Data Distribution Service (DDS) provides an alternative standard for publisher-subscriber communication for real-time systems, offering better performance and featuring decentralized message processing, scalable peer-to-peer communication, and a wide set of QoS policies. We describe the integration of DDS into the ACS CORBA environment, replacing the Notify Service. Benefits and drawbacks are analyzed. A benchmark is presented, comparing the performance of both implementations.

WEB002
FPGA Mezzanine Cards for CERN's Accelerator Control System
J.H.Lewis, J.Serrano, J.Serrano*, M.Cattin, T.Wlostowski (CERN)
Field Programmable Gate Arrays (FPGAs) have become a key player in modern real time control systems. They offer determinism, simple design, high performance and versatility. A typical hardware architecture consists of an FPGA interfaced with a control bus and a variable number of digital IOs, ADCs and DACs depending on the application. Until recently the low-cost hardware paradigm has been using mezzanines containing a front end interface plus custom logic (typically an FPGA) and a local bus that interfaces the mezzanine to a carrier. As FPGAs grow in size and shrink in price, hardware reuse, testability and bus access speed could be improved if the user logic is moved to the carrier. The new FPGA Mezzanine Card (FMC) Vita 57 standard is a good example of this new paradigm. In this paper we present a standard kit of FPGA carriers and IO mezzanines for accelerator control. Carriers form factors will be VME, uTCA and PCIe. The carriers will feature White Rabbit support for accurate synchronization of distributed systems. Initial plans include IO mezzanines for 100MS/s ADCs and DACs, digital drivers and inputs, high accuracy time tag units and fine delay generators.

WEB003
ORION Gateway Design for Feedback Controls Connectivity
A.Ratti, A.Vaccaro, C.Serrano, L.R.Doolittle* (LBNL)
The Optical Redundant I/O Network (ORION) is a hardware-based fast communication system for feedback controls to be implemented at NSLS-II. It controls latency by eliminating traditional computers from the communication design. Redundant communication paths give basic single-point fault tolerance. This paper describes the peripheral infrastructure for data exchange between feedback control systems and diagnostics and the communication backbone.

WEB004
Sub-sample Time-base Resolution in a Heterogeneous Distributed Data Acquisition Environment
B.Labombard, J.A.Stillerman*, W.Burke (MIT/PSFC)
We have developed a reference timing system to verify and correct the time-bases for acquired time series data. This system allows for sub-sample time registration of data acquired from separate diagnostics using heterogeneous data acquisition hardware. The system was designed to recognize and repair several types of timing discrepancies. When used as a dedicated time-reference standard, the system relaxes the requirements for cross-diagnostic data acquisition synchronization; time-bases can be unambiguously resolved from hardware that uses asynchronous clocks and triggers. This paper will describe an automated system for generating sub-sample accurate time-bases across multiple diagnostic systems on the Alcator C-Mod experiment. We will demonstrate that we can accurately determine the times of measured phenomena in order to track point of origin and propagation around the experiment. In addition, timing errors in signals can be easily flagged and corrected. The initial installation will include fast optical systems, magnetic fluctuation measurements and plasma-sampling probes. These diagnostics are distributed around the experiment cell and have disparate digitization rates.
This work was supported by the U.S. Department of Energy, Cooperative Grant No. DE-FC02-99ER54512

WEP040
Power Supply Control System of NSLS-II
Y.Tian* (BNL)
A novel architecture in power supply control system at NSLS-II is discussed. The architecture provides a synchronous, deterministic and fault tolerant communication protocol for power supply control system. The architecture is designed to be able to achieve NSLS-II power supply control tasks. It also fits well into the general architecture of fast orbit feedback system and slow orbit feedback system. At NSLS-II, all the power supplies (including dipole magnet power supplies, multipole magnet power supplies and corrector magnets power supplies) will be controlled using this same architecture.

WEB006
Demonstration of an ATCA Based LLRF Control System at FLASH
M.K.Grecki, S.Simrock*, T.Jezynski, WK.Koprek (DESY) D.R.Makowski, W.Jalmuzna (TUL-DMCS) K.Czuba (Warsaw University of Technology Institute of Electronic Systems)
Future RF Control systems will require simultaneuous data acquisition of up to 100 fast ADC channels at sampling rates of around 100 MHz and real time signal processing within a few hundred nanoseconds. At the same time the standardization of low-level systems are common objectives for all laboratories for cost reduction, performance optimization and machine reliability. Also desirable are modularity and scalability of the design as well as compatibility with accelerator instrumentation needs including the control system. All these requirements can be fulfilled with the new telecommunication standard ATCA when adopted to the domain of instrumentation. We describe the architecture and design of an ATCA based LLRF system for the European XFEL. Initial results of the demonstration of such a system at the FLASH user facility will be presented.

WEC001
Commissioning of the Control System for the LHC Beam Dump Kicker Systems
A.Antoine, B.Goddard, C.Chanavat, E.Carlier*, N.Magnin, N.Voumard, V.Kain (CERN)
The beam dumping system of the Large Hadron Collider (LHC) provides a loss-free fast extraction of the circulating beams. It consists per ring of 15 extraction kickers, followed by 15 septum magnets, 10 dilution kickers and an external absorber. A dump request can occur at any moment during the operation of the collider, from injection energy up to collision energy. All kickers must fire synchronously with the beam abort gap to properly extract the whole beam in one single turn into the extraction channel. Incorrect operation of the extraction kickers can lead to beam losses and severe damage to the machine. The control system of the LHC beam dump kickers is based on a modular architecture composed of 4 different sub-systems, each with a specific function, in order to detect internal failures, to ensure a correct extraction trajectory over the whole LHC operational range, to synchronise and distribute dumps requests, and to analyse the transient signals recorded during the beam dumping process. The control architecture is presented and the different steps performed for its validation, from the individual sub-systems tests to the final commissioning with beam, are described.

WEC002
Jefferson Lab IEC 61508/61511 Safety PLC Based Safety System
H.P.Robertson, K.L.Mahoney* (JLAB)
This paper describes the design of the new 12 GeV Upgrade Personnel Safety System (PSS) at the Thomas Jefferson National Accelerator Facility (TJNAF). The new PSS design is based on the implementation of systems designed to meet international standards IEC61508 and IEC 61511 for programmable safety systems. In order to meet the IEC standards, TJNAF engineers evaluated several SIL 3 Safety PLCs before deciding on an optimal architecture. In addition to hardware considerations, software quality standards and practices must also be considered. Finally, we will discuss R&D that may lead to both high safety reliability and high machine availability that may be applicable to future accelerators such as the ILC.
Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177.

WEC003
Alba, the PLC Based Protection Systems
D.B.Beltran, D.Fernandez-Carreiras*, O.Matilla, R.Ranz, S.Rubio-Manrique (CELLS-ALBA Synchrotron)
Both Personnel Safety System (PSS) and Equipment Protection System are based on PLCs. The PSS is an independent system based on Pilz Safety PLCs designed to match the Safety Integrity Level 3 defined in the norm IEC 61508. The EPS uses B&R PLCs with distributed periphery located inside the Tunnel and BL Hutches. Most of the code is defined from the cable database. The cableDB is a MySQL database containing a complete information on equipments and cables and from which, besides the reports for cabling installation, most code for PLCs, device servers and expert GUIs are automatically generated. The EPS is complemented with a redundant faster protection system based on the Timing devices and transmitted over Fiber optics.

WEC004
IEC 61508 Experience for the Development of the LHC Functional Safety Systems and Future Perspective
P.Ninin* (CERN)
This paper summarises the experience gained during the development of the personal protection systems of the LHC and more particularly the feedback of the use of the IEC 61508 functional safety standards. The paper drafts also the guidelines for the development of the future functional safety systems at CERN. After an introduction on the legal aspects and responsibility of the various stakeholders implied in the development of a safety system, the paper describes the functional safety life cycle applied and experience gained in each stage of the process; covering topics such as : the preliminary risk analysis, the definition of the safety functions, the probabilistic analysis of the architecture implementing the safety function, the verification and validation process, the maintenance strategy, and the validation of the system by the external safety Authority. The perspective of the applicability of the new nuclear branch safety standard IEC 61513 is also introduced.
CERN 1211 Geneva 23

WEC005
An Overview of the ITER Central Interlock and Safety Systems
A.Wallander, I.Yonekawa, J.Y.Journeaux, L.Scibile*, W.-D.Klotz (ITER)
Many systems that make up the ITER machine have to respect stringent requirements in terms of reliability, availability, safety and maintainability either for the protection of people, the environment or the safe operation of the machine. International standards have been selected to manage the lifecycle of the different types of systems, to harmonize the work that is carried out in the countries of the seven ITER partners and to satisfy the French safety regulations. These systems usually have the basic means of local self protection designed into it from its conception. Additional levels of protections are provided by the Central Interlock System and the Central Safety System for those combinations of systems' conditions that are dangerous, even though each system may be within its own safe limits. The Central Interlock System deals with the safe operation of the machine while the Central Safety System deals with the protection of the people and the environment. This paper gives an overview of the Central Interlock and Safety Systems based on the current requirements, the survey of the protection systems and the application of international standards.

WEC006
The Accelerator Protection System Based on Embedded EPICS for J-PARC
Y.Kato (JAEA/J-PARC) A.Akiyama, H.Nakagawa*, J.-I.Odagiri (KEK)
There is the 4 output beam line at the MainRing(MR) in J-PARC. The Accelerator protection system (MPS-MR) watches the devices which deals with destination of the beam.Then, the heart for the logic judgment carries out the complicated logic treatment using FPGA (Virtex-4 FX). This FPGA takes in destination information of the beam, and the logical operation with trouble information is carried out to make an output. Then, the FPGA takes in the information on the destination of the beam using the LAN. In addition, information of the abnormal equipment which becomes the reason for the beam to be stopped is sent to OPI using the LAN. By giving PowerPC core to realize this communication function in the FPGA, LINUX+EPICS is operated on the PowerPC core. Though there are both logic processing unit and CPU on one element, because, the information transfer in high speed between logic processing unit and CPU is possible without requiring the complicated external wiring. In this reason, the system can be very efficiently constructed. This paper describes the detail of the design and the implementation, as well as the experiences of the system in the operation of the J-PARC MR.

WED001
Measured Performance of the LHC Collimators Low Level Control System
A.Masi*, R.Losito, S.Redaelli (CERN)
The LHC will be protected against uncontrolled beam losses by the collimation system, which is made of more than 100 collimators each equipped with two moveable jaws of different materials. The nominal LHC stored beam energy is 362 MJ, therefore a great care has been taken in optimizing the performance of the low level control system. This controls the position and angle of the jaws with an accuracy of a few microns, and monitors the actual position against errors with respect to the desired position at a rate of up to 100 Hz, triggering a fast beam dump in case of problems. We have chosen stepping motors to have an accurate open loop positioning, while LVDTs and resolvers monitor the axes. The National Instruments PXI platform has been adopted as real-time low level hardware. In this paper we describe the control architecture, the low level custom solution implemented on the FPGA and we provide a detailed performance review of the entire system. In particular we present the excellent synchronization of several hundred motors over a profile of about 30 minutes simulating the nominal energy ramp of the LHC and show that the position error is well below the specified 20 microns.

WED002
Development of a Remote Experiment Control System
K.Hasegawa, Y.Furukawa* (JASRI/SPring-8) D.Maeda, G.Ueno (RIKEN Spring-8 Harima)
A remote experiment control system is a long desired system for synchrotron radiation facilities. For coexistence of radiation and physical safety, operationand data security, careful consideration is required. The beamline interlock system provides radiation safety with radiation shielding hutches. Under the condition in which synchrotron radiation can be introduced into the hutch, the interlock system guarantees that there are no person inside the hutch. Using the information from the radiation safety interlock system, physical safety system has been built. For the operation and data security, we made a custom SSL serverwith bidirectional authentication. The server replays commands from remote user's program to the experiment control computer. A client certification file contains an information about remote user's experiment, the SSL server accepts commands from the authorized user. With a video streaming, remote user can watch samples and/or experimental equipments. A system latency is small enough, the remote users can perform their experiment as if they were beside the beamline. The system is under testing and it will be opened users in this fiscal year.

WED003
Progress of the Virtual Laboratory for Fusion Researches in Japan
K.Hiraki (IST) H.Nakanishi, S.Ishiguro, S.Okamura, S.Takami, T.Yamamoto*, Y.Nagayama (NIFS)
SNET is a virtual laboratory system for nuclear fusion research in Japan, it has been developed since 2001 with SINET3, which is a national academic network backbone operated by National Institute of Informatics. Twenty one sites including major Japanese universities, Japan Atomic Energy Agency and National Institute for Fusion Science (NIFS) are mutually connected on SNET with the speed of 1 Gbps in 2008 fiscal year. The SNET is a closed network system based on L2/L3VPN. Collaboration categories in SNET are as follows: the LHD remote participation; the remote use of supercomputer system; the all Japan Spherical Tokamak (ST) research program. For example, the collaborators of the first category in a remote station can control their diagnostic devices at LHD and analyze the LHD data as if they were at the LHD control room. ITER activity has started in 2007 and 'The ITER Remote Experimentation Centre' will be constructed at the Rokkasho village in Japan under ITER-BA agreement. SNET would be useful for distributing the data of ITER to Japanese universities and institutions.
A part of SNET is partly supported by Cyber Science Infrastracture development project of the National Institute of Informatics.

WED004
Management of the LHCb Online Network Based on SCADA System
G.Liu*, N.Neufeld (CERN)
LHCb employs two large networks based on Ethernet. One is a data network dedicated for data acquisition, the other one is a control network which connects all devices in LHCb. Sophisticated monitoring of both networks at all levels is essential for the successful operation of the experiment. LHCb uses a commercial SCADA system (PVSSII) for its Experiment Control System (ECS). For the consistency and efficiency reason, the network management system is implemented in the same framework. We show here how a large scale network can be monitored and managed using tools originally made for industrial supervisory control, and discuss several tools developed to facilitate the integration of network management and monitoring in LHCb's control system. In the network management system, the status of the network is monitored at different levels, including the application level, the devices, the ports and the connectivities. Alarms can be issued to inform the experiment operators and online network experts about errors such as dropped packets or broadcast-storms. Reports and long-term monitoring are possible by using powerful trending tools.

WED005
Implementing High Availability with COTS Components and Open-source Software
N.Neufeld, R.Schwemmer* (CERN)
High Availability of IT services is essential for the successful operation of large experimental facilities such as the LHC experiments. In the past, high availability was often taken for granted and/or ensured by using very expensive high-end hardware based on proprietary, single-vendor solutions. Today's IT infrastructure in HEP is usually a heterogeneous environment of cheap, of the shelf components which usually have no intrinsic failure tolerance and can thus not be considered reliable at all. Many services, in particular networked services like the Domain Name service, shared storage and databases need to run on this unreliable hardware, while they are indispensable for the operation of today's control systems. We present our approach to this problem which is based on a combination of open-source tools, such as the Linux High Availability Project and home-made tools to ensure high-availability for the LHCb Experiment Control system, which consists of over 200 servers, several hundred switches and is controlling thousands of devices ranging from custom made devices, connected to the LAN, to the servers of the event-filter farm.

WED006
Upgrade of the SPring-8 Control Network for Integration of XFEL
M.I.Ishii, R.Tanaka, T.Ohata, T.Sakamoto, T.Sugimoto* (JASRI/SPring-8)
Today, new synchrotron-radiation facilities have been built around the world. One of these facilities, RIKEN XFEL project in Japan, is characterized by its location beside existing facility, SPring-8. Using X rays from two facilities in coincidence, new scientific applications are expected such as pump-and-probe experiments, and so on. We also plan to use linac of the XFEL as another injector to the SPring-8. By benefiting from combined application with two facilities, it is necessary to integrate two control systems. Important point of the integration is combination and segregation of two facilities. For combined applications, two control systems should be treated as one facility. On the other hand, when two facilities are operated separately, two control systems should be independent each other, and one system must not be affected by any trouble of another system. To archive the point, we physically segregate control system into two networks using firewall. Since control architecture in SPring-8 is database oriented, two systems can be coupled with synchronization of database for combined applications. We show the concept and upgrade status of new network and control system.

THA001
Tango Kernel Status and Evolution
E.T.Taurel* (ESRF)
This paper has two different parts. In its first part, the changes done within the Tango kernel since the last Icalepcs conference will be described. The second part will focus on the foreseen evolution of the so-called Tango event system (asynchronous communication between client and server). Since its beginning, within Tango, this type of communication is implemented using a CORBA notification service implementation called omniNotify. This will be replaced by a new system based either on a home made design using Tango synchronous request or based on an implementation of the DDS (Data Distribution Service). The final choice is not done at the time of writing this abstract. The reason of the change and the final choice will be described. A first feedback of the new implementation will also be given.

THA002
The CMS ECAL Detector Control System
R.Gomez-Reino, X.Pons (CERN) D.R.S.Di Calafiori*, G.Dissertori, T.Punz (ETH) A.B.Brett (Fermilab) F.Cavallari (INFN-Roma) E.Di Marco (Rome University La Sapienza Energetics Department) G.Leshev, S.Zelepoukine (UW-Madison/PD) A.Inyakin (University of Minnesota) D.Jovanovic, J.Puzovic, P.Adzic, P.Milenovic (VINCA)
The challenging constraints on the design of the Electromagnetic Calorimeter (ECAL) of the Compact Muon Solenoid (CMS) experiment, such as rigorous temperature and voltage stability, imposed the development of a complex Detector Control System (DCS). In this paper the final layout and functionality of the CMS ECAL DCS are presented and the operational experience during the detector's commissioning and cosmic runs is discussed.

THA003
Using Windows XP Embedded Based Systems in a Controls System
T.G.Gray* (STFC/RAL/ISIS)
Linux is popular in the Controls community, so discussion of a system based around Microsoft Windows XP Embedded is probably unusual. Having to replace an obsolete front-end IO system, Windows XP Embedded was chosen as the platform mainly due to the familiarity of Windows. The author will describe configuring and using Windows XP Embedded based compact PCI systems to deliver an operating system and software platform that is used to communicate between the Controls System and hardware deployed around the accelerator using 'in-house' designed IO cards; including configuring the system to boot over the network, using HTTP and XML to exchange data with the controls system and providing a simple C/C++ API to communicate with the Controls System database.

THP031
Upgrade of RF Control System at SPring-8
R.Tanaka, T.Kudo, T.Masuda, T.Matsumoto* (JASRI/SPring-8)
SPring-8 continues its operation over 10 years. Recently, we encounter the need to replace commercial I/O boards due to manufacturing discontinuances. Also, early introduced GPIB control causes instabilities on our control system. In this paper, we report upgrade on these issues for RF control system at SPring-8. For the replacements of I/O boards, we needed some idea for restricted time due to short shutdown period of accelerator operation, and for large number of signals. Therefore, we developed new boards [analog input board (AI) and pulse train generator board (PTG)] for smooth replacements. The new boards were designed to have similar signal cabling scheme and software application with current system. Also, additional improvements (higher signal density, better resolution for AI, flexible logic with logic-reconfigurable VME board for PTG), were introduced at the same time. For AI, ~40 boards were successfully replaced in short time, then we achieved better resolution and reduction in number of boards. For the replacement of GPIB control, we introduced small embedded PC (Armadillo) instead of GPIB-RS-232C converter. Thus, we could improve the stability of the RF control system.

THA005
CERN Proton Synchrotron Complex High-Level Controls Renovation
C.Roderick, D.Garcia Quintas, E.Roux, G.Kruk, J.P.Wozniak, M.Arruat, M.Gourber-Pace, M.Peryt, M.Sobczak, O.Kulikova, R.R.Steerenberg, S.Deghaye*, S.Pasinelli, V.V.Lezhebokov, Z.Zaharieva (CERN)
After a detailed study of the PS complex requirements by experts of the CERN controls & operation groups, a proposal to develop a new system, called Injectors Control Architecture (InCA), was presented to and accepted by the management late 2007. Aiming at the homogenisation of the controls systems across CERN accelerators, InCA is based on components developed for Large Hadron Collider (LHC) but also the new components required to fulfill operation needs. In 2008, the project was in its elaboration phase and we successfully validated its architecture and critical use-cases during several machine development sessions. After a minute description of the architecture put in place and the components used, this paper will describe the planning approach taken combining iterative development phases with deployment in operation for validation sessions.

THA006
New Hardware and Software Developments for the XFEL
K.Rehlich* (DESY)
The European XFEL is planned to be commissioned in 2013. This is time enough to consider modern and adequate technologies. After an evaluation phase, State of the art TCA and ATCA hardware were selected as the core platform for the project. Ethernet and PCIe are the central communication links. Full remote management, hot-swap capabilities as well as a redundant architecture are further key features of this new standard. Java was selected as the programming language for the client applications. Two new DOOCS tools, written in Java, were created: the so called jDTool and jddd. jDTool is a generic data browser with spread sheet and plot capabilities. jddd is a full featured, easy to use display editor to create flexible control system user interfaces. Both tools can communicate directly with DOOCS, Tine, Tango and EPICS. The experience with the new hardware platform and the new applications will be discussed.

THB001
Beam-based Feedback for the Linac Coherent Light Source
D.Fairley*, D.Rogind, J.Wu, K. H.Kim, P.Emma, P.Krejcik, S.Allison, T.Straumann (SLAC)
Beam-based feedback control loops are required by the Linac Coherent Light Source (LCLS) program in order to provide fast, single-pulse stabilization of beam parameters. Eight transverse feedback loops, a 6x6 longitudinal feedback loop, and a loop to maintain the electron bunch charge were successfully prototyped in MATLAB for the LCLS, and have been maintaining stability of the LCLS electron beam at beam rates up to 30Hz. In the final commissioning phase of LCLS the beam will be operating at up to 120Hz. In order to run the feedback loops at beam rate, the feedback loops will be implemented in EPICS IOCs with a dedicated ethernet multi-cast network. This paper will discuss the design of the beam-based Fast Feedback System for LCLS. Topics include MATLAB feedback prototyping, algorithm for 120Hz feedback, network design for fast data transport, actuator and sensor design for single-pulse control and sensor readback, and feedback configuration and runtime control.
Work supported in part by the DOE Contract DE-AC02-76SF00515. This work was performed in support of the LCLS project at SLAC.

THB002
Stabilization of Beam Extraction Timing in J-PARC RCS
F.Tamura* (JAEA/J-PARC) M.Yoshii (KEK/JAEA)
The extracted beams from the rapid cycling synchrotron (RCS) of J-PARC are delivered to the Materials and Life Science Facility (MLF) and the MR. The repetition rate of the RCS is 25 Hz and four beam pulses are for the MR and the other 87 pulses are for the MLF. Stable beam timings are required for both of the destinations. In case of the MLF, the beam has to be synchronized to the Fermi chopper, which has a tolerance of a few 100 ns. In case of the MR, the beam must be injected to the proper RF bucket with a precise phase. To realize the stable beam timing, we employ the non AC-line synchronized timing system. Also the magnetic-alloy accelerating cavities and the full digital low-level RF control system are the keys for the precise beam phase control. We present the preliminary results of the beam stability measurement.

THB003
Diamond Light Source Electron Beam Position Feedback: Design, Realization and Performance
G.Rehm, I.Uzun, J.A.Dobbing, J.Rowland, M.G.Abbott, M.T.Heron* (Diamond) A.Napier, S.Duncan (University of Oxford Engineering Science)
The electron beam in the Diamond Synchrotron Light Source is stabilised in two planes using the Fast Orbit Feedback system. This feedback system takes the beam position from 168 Libera electron beam position monitors, for both planes, and calculates offsets to 336 corrector power supplies at a sample rate of ~10 kHz. The design and realisation, together with system performance will be presented, and possible developments considered.

THB004
New Fast Orbit Feedback Architecture Based on Libera Brilliance Devices for the ESRF Storage Ring
E.Plouviez, J.M.Koch* (ESRF)
In the frame of the upgrade of the ESRF, one important implementation regarding the source will be to improve the stability of the beam in the whole frequency range at which mechanical vibrations or electro-magnetic disturbances take place. The improvement of the existing orbit correction scheme based on separate slow and fast systems* will be achieved both by taking advantage of smart measurement thanks to the newly installed Libera Brilliance and by using more correctors than today. This new Fast Orbit Feedback will therefore rely only on the 96 correctors integrated inside the sextupole magnets to cover the full frequency range all around the ring. Following the successful implementation of such a scheme at the Swiss Light Source and, more recently, at Diamond Light Source, re-using as much as possible pieces of software and ideas on hardware both from DLS and from Soleil, we have defined the architecture for the ESRF scheme that will be developed in this paper.
* DIPAC 2009 ID: 1208 - TUPD05 Eric Plouviez (ESRF, Grenoble) Improvement of the Fast Orbit Correction on the ESRF Storage Ring

THB005
Primary and Secondary Beam Stabilization at the ELBE Accelerator Facility
M.Justus*, P.Michel, R.Jainsch, T.Kirschke, U.Lehnert, W.Seidel (FZD)
Since 2003, ELBE operates as a user facility for fundamental research and life sciences, providing highly brilliant electromagnetic radiation in a broad spectral range, as well as particle beams. The driving source is a 40 MeV, 1 mA electron LINAC in c.w. mode, utilizing a 13 MHz pulsed thermionic gun and Tesla acceleration technology. Infrared light from two FELs between 3 and 280m is the foremost secondary radiation used at ELBE. For its applications, different demands in power and wavelength stability are crucial for successful experiments. Therefore, a feedback system for the electron beam position and energy in combination with IR beam intensity feedback using FPGA technology is under development. It allows suppression of beam instabilities caused by thermal behaviour, microphonics and the 50 Hz mains frequency with harmonics. This contribution depicts hardware and software details of the measurement and feedback system and provides performance results as well.

THB006
New Automatic Bunch Current Sensitive Fast Attenuator for RF Front-end of Bunch-by-Bunch Feedback System at SPring-8
K.Kobayashi*, T.Nakamura (JASRI/SPring-8)
We currently developing a new bunch current sensitive automatic attenuation system for the RF front-end of the bunch-by-bunch feedback system in the SPring-8 storage ring. It controls the attenuation of high current bunch signal to avoid the saturation of RF front-end and for equalization of the feedback gain for hybrid beam filling modes consist of few-mA singlet bunches and sub-mA bunch trains. We have already developed and installed a bunch current sensitive automatic attenuator with a simple mixer, a discriminator and FPGA based 1-turn delay with the attenuation level of 15 dB. However this attenuation level is not enough for hybrid filling modes with higher bunch current singlets and lower bunch current trains which are recently requested by users. To achieve more attenuation level and more flexible operation, we are now developing an attenuation system with a voltage variable attenuator controlled by a digital bunch current measurement device which is converted from a SPring-8 bunch-by-bunch feedback processor. This paper describes the new attenuation system and its test results.

THC001
Towards 3D Human-Machine-Interfaces: Generic "3DViewer" Extension for the Control Systems Displays at CERN
M.Gonzalez-Berges, P.Golonka* (CERN)
The 3D-Viewer component of the PVSS JCOP Framework allows to extend the PVSS-based operator consoles at CERN with 3-dimensional, interactive and animated graphics. Being completely generic, it allows for a variety of use cases, ranging from the synoptic intuitive views of the status of detectors, to customized HMI elements such as graphs or histograms. It is an interesting showcase for the integration of platform-independent technologies such as PVSS, Qt and Open Inventor. The component allows for full control of the content and appearance of the "scene" being displayed, including its dynamic modification during the run-time (i.e. in response to real-time events), and interaction with the objects in the scene. The complete functionality is exposed through a clean, high-level interface of PVSS graphical objects and scripts, making them easy to integrate.

THC002
Control System Studio - Integrated Operating, Configuration and Development
H.R.Rickens, M.Moeller, M.R.Clausen, M.R.Clausen* (DESY)
Control System Studio (CSS) is a platform for many kinds of different control system applications based on Eclipse. Many applications are now available in CSS for operating, configuration and development of control system related projects. Since CSS provides common interfaces, a plug-in structure and common data types it is possible that all applications are tightly connected and can for instance exchange data objects. The presentation will give an overview of the configuration and development tools and a short update of new features in the operating plugins. With the Database Creation Tool (DCT) EPICS databases can be structured hierarchically with prototypes, instances and parameters. It provides an extension to set the hardware addresses for in- and output channels by the IO Configurator that holds the device structure. Applications like SNL Editor and Debugger support programming control systems while other tools manage the device namespace or alarm system. In the future it is planned to add a control system (EPICS) IDE in CSS which shall help to configure and set up front-end-controllers for control systems.

THC003
A Sequencer for the LHC Era
D.Khasbulatov, M.Lamont, R.Alemany-Fernandez, R.Gorbonosov, V.Baggiolini* (CERN)
The Sequencer is a high level software application that helps operators and physicists control the LHC. It interfaces with all LHC sub-systems and orchestrates the countless tasks needed to drive the machine through the different LHC cycles. It is a core part of the control system and one of the key elements for the successful commissioning and operation of the LHC. The sequencer was designed and implemented using some of the most recent Java features. It has a 3-tier architecture based on the Spring Framework, and is highly modular and extensible. Modules can be exchanged in order to adapt the sequencer to specific requirements. For instance, for hardware commissioning, a different task execution module is used than for beam commissioning. Developers can contribute tasks they need in their sequences. The sequencer could be packaged as a stand-alone tool to be used in other HEP Labs. The paper mainly describes technical aspects of the sequencer. Amongst others, it discusses the different technologies that were evaluated during the design phase (e.g. Java compiler API, Java remote debugging API, OSGi, etc.) and explains why they were retained or discarded in the final solution.

THC004
Orbit Display's Use of the Physics Application Framework for LCLS
D.Fairley, G.R.White, M.Woodley, P.Chu, P.Krejcik, S.Chevtsov, M.Zelazny* (SLAC)
At SLAC (SLAC National Accelerator Laboratory) the CD (Controls Department) is developing a physics application framework based on the Java(tm) programming language developed by Sun Microsystems. This paper will discuss the first application developed using this approach: a new Orbit Display. The software is being developed by several individuals in reusable Java packages. It relies on EPICS * (Experimental Physics and Industrial Control System) toolkit for data collection and XAL ** (A Java based Hierarchy for Application Programming) for model parameters. The Orbit Display tracks and displays electron paths through the LCLS (Linac Coherent Light Source) in both a graphical, beam line plot, and tabular format. It contains many features that may be unique to SLAC and is meant to be used both in the control room and by individuals in their offices or at home. Unique features include BSA (Beam Synchronous Acquisition), Orbit Fitting, and Buffered Acquisition.
* http://www.aps.anl.gov/epics** http://neutrons.ornl.gov/APGroup/appProg/xal/xal.htm
Work supported by the U.S. Department of Energy under contract number DE-AC02-76SF00515.

THC005
The Implementation of the Software Framework in J-PARC/MLF
T.Hosoya (Ibaraki University Department of Functional Biomolecular Engineering) M.Yonemura (Ibaraki University Graduate School of Science and Engineering) H.Nakagawa, T.Ohhara (JAEA) A.Arai, R.K.Kajimoto, S.Harjo, T.Ito, T.Nakatani*, Y.Inamura (JAEA/J-PARC) T.Aoyagi (Japan Atomic Energy Agancy Center for Computational Science & e-Systems) J.Suzuki, O.Otomo, R.Kadono, S.Muto, S.Torii, T.Morishima, Y.Yasu (KEK)
In the neutron scattering experiments, it is necessary to use many kinds of software components such as the data acquisition, equipment control, analysis and visualization. Additionally, in J-PARC/MLF, because the proton intensity will increase more and more, we will have to extend the capacity of the software to keep in the step. Therefore, the software is necessarily flexible and scalable for the various experiments and the enormous data (several tens of giga-bytes per hour). We have constructed the common software framework and then made many software components running on this software framework. Our software framework is based on Python which is an object oriented script language and the distributed network processing with XML messages over HTTP, for example the "RESTful" data acquisition and equipment control system. Through our software framework, not only the experimental users can seamlessly operate the neutron experimental instruments and analyze their acquired data but also the instrument scientists can coordinate the instruments and manage their configuration. In this presentation, we report the detailed implementation of our software framework.

THD001
Integrating High Level Applications and Software Components Using a SCADA Tool
A.Buteau, A.Buteau*, M.Ounsy, V.H.Hardion (SOLEIL)
To build integrated high level applications, SOLEIL is using an original component oriented approach based on GlobalSCREEN*, an industrial Java SCADA. The first kind of components is made up on top of the ATK (Application Tango Toolkit) library: a rich set of Java graphical widgets, including scientific data visualization tools, and encapsulating TANGO communication. More complex components are Java Rich Client applications providing a high level of service and ergonomic layouts to the end user: data logging access, scanning services, sequencing setup and control. Packaged as JavaBeans in GlobalSCREEN's components library, all these components are ready to use by means of drag-dropping and properties configuration to connect them to the control system. So, using GlobalSCREEN as a Rich Client Platform allows non experienced developers to quickly build, without writing any Java code, very complex and fully integrated applications dedicated for example to the end users of a beamline. The work organization, the software architecture and design of the whole system will be presented, as well as the current status of deployment at SOLEIL for the Accelerators and the Beamlines.
*: http://www.ordinal.fr/

THD002
A Mobile Platform for Remote Inspection Inside ESRF Tunnel
J.M. Chaize* (ESRF) and J.Mattila (TUT)
A light source has to provide beam 24h/24h x 7 days. Numerous sensors have been installed to detect hardware failures, fires, water leaks etc. Unfortunately, with aging we are sometimes faced to false alarms. Then, visual inspection is sometime necessary to confirm or evaluate an alarm. ESRF in collaboration with the Tampere University of Technology (TUT/IHA)* and expertize from ROVIR** is developing a autonomous vehicle remotely controlled via WiFi. It is able to travel all along the tunnel, with beam ON, and transmit live image of a high definition video camera. Thanks to a virtual reality software, the operator is able to send the platform to any location of the tunnel. The platform should be able to get energy autonomy, to automatically recharge its battery, to react to unforeseen situations, to avoid collisions, and to do self learning of its environment. One of the goals of the collaboration is to design this tool in such a way that it can become a commercial product available at low cost for any light source. This paper describes the hardware and the software issues of this platform and describes how ESRF and TUT are collaborating in view of building this tool.
* Department of Intelligent Hydraulics and Automation http://www.iha.tut.fi

THD003
UNICOS: an Open Framework
F.B.Bernard, H.Milcent, H.Milcent*, P.Gayet (CERN)
In early 2001 an object collection called UNICOS (Unified Control System) developed at CERN with the objective of building the LHC cryogenics control system was commissioned for the first time. It deployed the controls layers covering the SCADA (Supervisory Control And Data Acquisition) and the PLC (Programmable Logic Controllers) layers. A possibility of re-targeting the system on other kinds of applications and environments was identified. Since then, the framework proposes a reusable environment composed of a set of components for the SCADA part and several solutions for the front end part (i.e. others than PLC). Together with the description of the UNICOS environment, the paper describes a number of very different applications developed at CERN based on the UNICOS methodology: (1) SURVEY, to align the focusing magnets of the LHC located on both sides of the experiments; (2) Quench Protection System, to display and act on the devices used to protect the superconducting elements of the LHC; (3) Powering Interlock Controller, to manage the powering permissions of the electrical circuits making the LHC.

THD004
Options for Interfacing EPICS to COTS Hardware Through LabVIEW
A.Veeramani, T.Debelle (National Instruments) A.P.Zhukov, W.Blokland (ORNL)
Over the years, many have developed custom drivers to interface hardware to EPICS Input Output Controller (IOC). With LabVIEW having native drivers for supporting commercial hardware, development time can be reduced if an interface with LabVIEW and EPICS IOC was developed. This paper examines the different ways of interfacing LabVIEW and EPICS IOC both on VxWorks and Windows operating systems. Implementation of the Channel Access (CA) server on LabVIEW will also be covered along with the advantages and limitations of such an approach. The paper will also list the status of the different implementations at Oak Ridge and Los Alamos National Laboratory.

THD005
Application of EPICS on F3RP61 to Accelerator Control
A.Kiyomichi, H.Nakagawa, J.-I.Odagiri*, K.Furukawa, K.Mikawa, N.Yamamoto, S.Murasugi, S.Yamada, T.T.Nakamura (KEK) M.Takagi, S.Motohashi (Kanto Information Service (KIS), Accelerator Group) T.Nakamura (MELCO SC) N.Nagura (Nippon Advanced Technology Co. Ltd.) M.Komiyama (RIKEN Nishina Center) A.Uchiyama (SHI Accelerator Service ltd.) H.Shiratsu, K.Kameda, T.Natsui (Yokogawa)
A new type of Input / Output Controller (IOC) has been developed based on F3RP61, a CPU module of FA-M3 Programmable Logic Controller (PLC). Since the CPU module runs Linux as its operating system, it takes no special effort to run EPICS IOC core program on the CPU module. With the aid of wide variety of I/O modules of FA-M3 PLC, the F3RP61-based IOC has various applications in accelerator control, such as magnet power supply control, monitoring interlock system, stepping motor control, data acquisition from beam monitors and so forth. The adoption of the new IOC makes the architecture of accelerator control systems simpler by unifying the two layers of front-end computers, i.e., the IOC layer and the PLC layer, into one layer. We found that the simplification of the control system architecture helps us to reduce the time and cost for the development and maintenance of the application software.

THD006
Cryogenics Controls in the ISAC-II Superconducting RF Accelerator
D.Dale, E.Tikhomolov, H.Hui, K.Langton, M.LeRoss, R.B.Nussbaumer*, R.Keitel, T.Howland (TRIUMF)
The TRIUMF ISAC-II superconducting heavy ion linear accelerator is composed of eight cryomodules containing a total of 40 superconducting radio frequency cavities. This paper describes the control system for delivery of liquid Helium and liquid Nitrogen, and quench protection of accelerator components. We discuss integration of the ISAC EPICS-based control system with the control systems for two turn-key Helium refrigerators, details related to the delivery system and it's interface to other accelerator elements. Anticipated and ongoing control system upgrades are described.

FRA001
Introducing CAML II
M. Boyes* (SLAC)
Channel Access Markup Language (CAML) is an XML based markup language and implementation for displaying EPICS channel access controls within a web browser. The CAML II project expanded upon the work of CAML I allowing for more power and greater integration with other web technologies. The most dramatic new feature introduced in CAML II is a namespace in support of XHTML so CAML controls can be embedded within HTML documents. A repetition template with macro substitution allows for rapid coding of arbitrary XHTML repetitions. Enhancements have been made to several controls including more powerful plotting options. Advanced formatting options were introduced for text read back controls. Virtual process variables allow for custom calculations. An EDL to CAML translator eases the transition from EDM pages to CAML pages.
ORNL/SNS is managed by UT-Battelle, LLC, for the U.S. Department of Energy under contract DE-AC05-00OR22725

FRA002
A REST service for IRMIS3
G.Carcassi* (BNL)
As part of the IRMIS3 development we started to take advantage of Web technologies and implemented a REST service to capture the business logic and access to IRMIS data. We will review the design and the implementation of the server side, motivating the decisions and describing the use of the different technologies. We will discuss what we found to work, what we had to work around and how designing services first allows easier integration and evolution on the client side.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

FRA003
Service Oriented Status Monitoring for DIP Middleware
B.Copy* (CERN)
DIP is a middleware infrastructure developed at CERN to allow lightweight communications between the various distributed components of a control system (such as detector control systems or gas control systems). DIP publications are currently subject to a lack of visibility from the CERN general purpose network and a lack of formal service level agreements between information publishers and consumers. The DIP contract management system adresses these limitations by providing a publication monitoring tool that can make available both publication data and publication status on the web through a javascript API for inclusion in web pages and integration with advanced AJAX libraries (such as the Google Web Toolkit Visualization API). It also performs status information logging, and advertises such information in the form of DIP publications (to ease integration with SCADA systems such as PVSS). We will demonstrate how complex structured information can be easily made available to a large array of consumers through the usage of the Spring framework and the multiple configuration based adapters it offers to a vast choice of communication protocols.
CERN - EN Department

FRA004
E-logbook Reloaded - or the Renovation of DESYs Electronic Logbook
J.Strampe, K.Rehlich, R.Kammering* (DESY)
Heading towards the tenth anniversary of the DESYs electronic logbook, this paper outlines the various changes and improvements done to the electronic logbook since its first days. To satisfy and support the seeming never ending requests for copies of the electronic logbook form all over the world and to allow better maintainability, the original DESY e-logbook has undergone many changes. E.g. triggered the manageability of several dozens of e-logbook instances at once, the development of the so called "E-logbook Manager" application. But also many smaller improvements like replacing the old fashion navigation tree by a modern AJAX driven one, a "mail to experts" tool to easily post problems/info's to responsible persons or secure access methods to allow access to the e-logbooks from all over the world, have been made in the last years. As an next step a redesign of the login and security concepts is under development and will be presented.

FRA005
GumTree Decoded
T.K.Lam* (ANSTO)
During the construction of 8 new Australian neutron beam instruments, the software team from Bragg Institute (ANSTO) has developed a novel software system, codename GumTree, which unifies data acquisition and analysis under a single user application. GumTree is a Java-based system that builds on Spring, OSGi and Eclipse RCP framework. It provides many application building blocks for creating different kinds of scientific applications, including control system connector, data processing engine, reduction algorithm libraries, OpenGL data visualisation toolkit, workflow support and script engine connectivity (cPython, JavaScript, etc). With tight integration of above components, users can script and plan their experiments in an interactive way, and let GumTree to automate the experiment based on the automatically analysed raw results. The main benefit of this approach is to increase the effective use of instrument, saving instrument time and cost for long running experiments. GumTree system can run as either desktop application or middleware server mode. The simplified web client version that uses Adobe Flex and AJAX are also under development.

FRA006
Evaluating the OMG Data Distribution Service for Accelerator Control Systems
N.Wang, S.Shasharina (Tech-X Boulder)
As accelerators become bigger, traditional ways of building the control systems based on a single framework no longer scale. A Service-Oriented Architecture (SOA) adopting both RPC and a MOM standard service buses promotes multiple levels of loose coupling to increase the robustness and adaptability of overall control applications without sacrificing performance. The emerging OMG DDS specification defines a data-centric communication standard with rich supports for quality-of-service. It is especially suited as the SOA's MOM service bus for control systems. DDS helps extend the real-time data available from the proven control development framework such as EPICS, as standard services and data exchanges between services in a SOA environment. In this paper, we review various features in the OMG DDS standards and their applications in control applications. We also illustrate how, collaborating with Web Services, DDS fits into a SOA for accelerator control systems. Finally, we present and evaluate performance benchmarking results of several DDS implementations, including an EPICS-DDS, which is an open source implementation of OMG DDS.
*: http://www.ordinal.fr/

TUP001
Monitoring the LHCb Experiment Computing Infrastructure with NAGIOS
E.Bonaccorsi*, N.Neufeld (CERN)
LHCb has a large and complex infrastructure consisting of thousands of servers and embedded computers, hundreds of network devices and a lot of shared infrastructure services such as shared storage, login and time services, databases and many more. All operationallly critical aspects are integrated into the standard Experiment Control System based on PVSSII. This enables non-expert operators to do first-line reactions. At the lower level and in particular for monitoring the infrastructure the Control System itself depends on a secondary infrastructure based on the industry standard NAGIOS has been put in place. We present the design and implementation of the fabric management based on NAGIOS. Care has been taken to complement rather than duplicate functionality available in the Experiment Control System.

TUP002
Software Management in the LHCb Online System
E.Bonaccorsi, G.Moine, L.Brarda, N.Neufeld* (CERN)
LHCb has a large online IT infrastructure with thousands of servers and embedded systems, network routers and switches, databases and storage appliances. These systems run a large number of different applications on various operating systems. The dominant operating systems are Linux and MS-Windows. This large heterogenous environment, operated by a small number of administrators, requires that new software or updates can be pushed quickly, reliably and as automated as possible. We present here the general design of LHCb's software management along with the main tools: LinuxFC / Quattor and Microsoft SMS, how they have been adapted and integrated and discuss experiences and problems.

TUP003
Consummation of an Observable Network System
T.Ohata*, M.Ishii, T.Sakamoto (JASRI/SPring-8)
Recent network system becomes more complex and larger because of virtual LAN and other virtualization technologies. Proliferation of a variety of network switches and routers makes a network system gigantic; hence, management of the misty network faces problems. This is the largest factor that deteriorates stable operation of a network system that should be robust and reliable. One of the promising solutions to keep a network system simple and understandable is introduction of the monitor tools that makes a network system visual and observable. We introduced the sFlow technology in addition to the traditional SNMP-based network node management (NNM) system. We could take statuses of network nodes by NNM such as hardware failure, and also we could grasp long perspective of network traffic at one view by the sFlow. In addition, an integrated log management system was introduced to collect all events on the whole network system. As a result, we could detect a trouble outbreak in real time even if a trouble occurred on the end point of the network, and could solve the problem promptly. We describe a way to achieve an observable network system to maintain stable network operation.

TUP004
SESAME Computing and Network Infrastructure
A.Al-Adwan*, S.A.Matalgah (SESAME)
SESAME is a third generation light source being built in Jordan with member countries from the Middle East. Obviously, such a facility requires state of the art computing and network infrastructure which is supposed to serve with high availability and efficiency for the life cycle of the facility, thus, having flexibility, scalability and upgradability was among the main requirements. The process of collecting requirements, working with industry to meet these requirements by putting specification and designs, and finally installing, configuring and operating all the equipment has been completed successfully. The infrastructure is using the latest technologies and novel concepts in computing and networking hardware, virtualization at the network level, virtualization at the servers and services level and lastly, automating systems management. This paper reports the progress that has been made to build, install, and operate SESAME computing and network infrastructure.

TUP005
Preliminary Planning of Taiwan Photon Source Control Network
C.H.Kuo, J.Chen, K.T.Hsu, Y.-S.Cheng, Y.-T.Chang* (NSRRC)
The future Taiwan Photon Source (TPS) control network is used for the accelerator system control and it is one of the most important infrastructures for the control system which is based upon the EPICS toolkit framework. The TPS network is built to be a modern, reliable, flexible and secure environment between public and private Ethernet with various network control and monitor technique. These include of firewall, SNMP, QOS, VPN, etc. Network tunneling technique will be applied in the remote access, out of TPS especially. The Ethernet will be intensively used as field bus also, topology of the field bus is also considered. This paper will describe the preliminary planning and conceptual design for the TPS control system network. We also discuss the system architecture in this conference that consists of cabling topology, redundancy and maintainability.

TUP006
Integration of Computers and Terminals by introduction of the Virtualization Technology and Thin Client in SPring-8
K.Mayama, M.Hanada, M.Kodera*, S.Yokota, T.Shimizu (JASRI/SPring-8)
We applied the virtualization technology to the server computers to form a high-available redundant server system. At the same time, we replaced general purpose PC computers by thin client terminals. The introduction of these technologies reduced the number of computers substantially and gave an opportunity for us to achieve the high-available computing systems with less management cost. To ensure high-availability, the server computer has to be built by using reliable components with redundant architecture instead of reducing the number. The application processing performance of the client OS on the host OS was greater than or equal to that of measured by a stand-alone server. The combination of the recent multi-core architecture server and Xen OS showed good performance as a result of appropriately allocating system resources to Xen OS. The thin client system is useful to integrate widely scattered terminals in the site to small number of systems, which ease maintenance effort a lot. The integrated virtual-machine system and thin client system use a network attached storage (NAS) system that runs under the redundant configuration.
 

TUP007
Control System Network Architecture at NSLS-II
R.Petkus* (BNL)
A robust network providing performance, fault-tolerance, scalability, and security is paramount to the success of the NSLS-II (National Synchrotron Light Source II). More than a mere collection of switches strung together behind a firewall, the network is an integrated system that needs to be adaptive, agile and transparent. This work will describe the ongoing work shaping the architecture of the control system network. Logical and physical design are discussed within the scope of hardware selection, bandwidth requirements, remote access, and traffic simulation of the channel access protocol, all with an emphasis on achieving high-performance and redundancy while providing protection from rogue devices, security scans, and other intrusive elements. Packet capture and analysis for troubleshooting and design aid using sFlow, tcpdump, and snort are examined as well as a survey of both candidate and complimentary monitoring systems.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

TUP008
Development of High Resolution Large Display for SPring-8 Central Control Room
A.Yamashita, R.Fujihara, T.Hamano* (JASRI/SPring-8)
We developed a large size high resolution display wall for SPring-8 central control room. The display wall consists of twenty-four inexpensive LCD displays that are controlled by personal computers. A PC-cluster consists of six personal computers interconnected by Ethernet drives twenty four 20.1-inch(1600 x 1200pixel) LCD displays. Those displays are arranged into 8x3 segment to achieve 46 million pixels(12800 x 3600pixel) resolution. A software XDMX* handles 24 displays as one X-Window server. This paper describes construction, configuration and testing of the high resolution display wall.
*XDMX:Xdmx(Distributed Multihead X) is multi-head support software for some attached displays to personal computers.

TUP009
Network Impact of Small and Ubiquitous Intelligent Devices
R.Petkus* (BNL)
As Ethernet connections become ubiquitous and intelligent devices proliferate, it is necessary to consider its impact on client systems and network performance. When large numbers of I/O were merged in each network node, optimizing the use of the TCP/IP packets was possible. When each I/O or small numbers of I/O become autonomous network nodes, the packet size is necessarily smaller and the TCP/IP header becomes a larger portion of the packet. As more nodes sending small packets communicate in synchronous environment, the risk of collisions and degraded performance is elevated. When clients connect to this legion of server devices, there is a surge in the number of sockets and file descriptors that need to be opened, maintained, and serviced. This work will examine the behavior of the Linux display server in the described environment, assess risk, and provide hardware and software configuration options to improve performance.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

TUP010
CSS - We didn't Invent It, We Made It Better.
D.J.Armstrong, J.D.Purcell*, K.-U.Kasemir (ORNL) X.H.Chen (ORNL RAD)
The Spallation Neutron Source (SNS) Project is continuing on its path towards high reliability. To help ensure that this happens, the SNS Controls Group has developed many new applications for use with Control System Studio (CSS). These applications are different in functionality and somewhat in implementation. The ELog integration, PACE, Alarm System GUI, and Data Browser updates are some of the applications that are generic in nature and designed to be implemented regardless of the institution. The PV Utility, Fields Viewer, and Rack Viewer were designed specifically for use at SNS but allow for additions and use elsewhere. The use of CSS provides a common interface to the users. CSS also provides developers with the ability to build their applications and use the various CSS-data types. End users benefit because the use of the CSS-data types provides a connection between the different applications at run-time. This paper describes the recent applications that have been developed at SNS and discusses plans for the future.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

TUP011
Software for Supervisory Control of the Trim Coil Power Supplies of the Kolkata Superconducting Cyclotron
B.Sarkar*, C.Datta, D.Sarkar, S.Bandyopadhyay (DAE/VECC)
The K-500 Superconducting Cyclotron at Kolkata has 18 trim coils. Each of these coils is energized to a different level using a current-regulated precision power supply to produce the desired magnetic field profile for proper beam dynamics. Supervisory software, with elaborate GUI, has been developed for remote operation and monitoring of the power supplies. It has also been interfaced with four current-setting knobs on the control console to provide the operators with a facility of "analog tuning" in a digital setup. Each of these knobs may be assigned to a power supply on-the-fly and the setting of the power supply changed by turning it. Provision also exists to invert the polarity of a power supply using GUI. The software can be operated in two modes: one, in which, the power supplies are operated independently; and the other, in which, as many as three power supplies may be grouped together, to bring about equal changes in current settings of the grouped power supplies simultaneously using keyboard-mouse combination and/or a knob. The power supplies, having RS-485 interface, are operated and monitored over the control network using Ethernet-to-Serial (RS-485) data converter.

TUP012
XAL Adoption Experience at LCLS
Q.Gan (IHEP Beijing) A.Chan, D.Fairley, D.Rogind, E.Grunhaus, G.R.White, J.Wu, M.Woodley, P.Chu*, P.Krejcik, S.Chevtsov, M.Zelazny (SLAC)
XAL is a high level accelerator application framework originally developed by the Spallation Neutron Source (SNS), Oak Ridge National Laboratory. The XAL framework provides generic hierarchical view for an accelerator as well as many utility tools. In XAL, a built-in physics model calculates either single particle or envelope tracking for physics parameters. Modifications to the original XAL model are necessary for the Linac Coherent Light Source (LCLS). Work was done to manipulate MAD deck output within a database in support of the XAL configuration and model. The XAL graphical user interface has been replaced by a SLAC specific design. New applications based on the framework are also discussed.
Work supported in part by the DOE Contract DE-AC02-76SF00515. This work was performed in support of the LCLS project at SLAC.

TUP013
On-change Publishing of Database Resident Control System Data
C.Roderick, R.Billen, R.Billen* (CERN)
The CERN accelerator control system is largely data driven, based on a distributed Oracle database architecture. Many application programs depend on the latest values of key pieces of information such as beam mode and accelerator mode. Rather than taking the non-scalable approach of polling the database for the latest values, the CERN control system addresses this requirement by making use of the Oracle Advanced Queuing - a Java Messaging Service (JMS) implementation - to publish data changes throughout the control system via the CERN Controls Middleware (CMW). This paper will describe the architecture of the system, the implementation choices and the experience so far.

TUP014
The Automation of Working Cycle for the KCSR Booster Synchrotron.
E.V.Kaportsev, K.Kuznetsov, L.A.Moseiko, N.I.Moseiko, Y.L.Yupinov, Y.V.Krylov* (RRC)
Kurchatov Synchrotron Radiation Source (KSRS) consists of 2.5 GeV main storage ring, 450 MeV booster storage ring and 80 MeV linac. The running cycle of KSRS booster includes the injection of electrons with energy 80 MeV from the linear accelerator, the accumulation of an electron current up to 400 mA and, then, electron energy ramping up to 450 MeV with the subsequent extraction of electrons in the main ring. The control system is based on the distributed network of the processors operating technological systems of KSRS. The operational level of control system is realized as a local network of the personal computer. Means of work of the operator is the set of the applied programs realizing inquiries to a control system. The database describing logic channels of the control, modes of the technological systems and the script of the running cycle of an accelerating facility is developed. Examples of realization of the software used in operative work KSRS are given.

TUP015
A Framework for Authentication and Authorization in Plug-in-Based Control System Software
H.R.Rickens, J.Hatje, M.R.Clausen, M.R.Clausen* (DESY)
Preventing unauthorized use is a concern for many software systems, including control system software. The authorization mechanism used by a system should be pluggable, so that the software is not tied to a specific infrastructure. For the Control System Studio (CSS), we have developed a generic authorization framework which can be used by applications built on top of CSS to authorize user actions. For example, the framework provides support for the creation of menu items or graphical display elements that are automatically enabled and disabled based on the user's permissions. The framework is implemented in plug-ins which can be exchanged to interact with different infrastructures. Currently available implementations use standard Java authentication and authorization techniques to integrate with Kerberos and LDAP systems.

TUP016
Orbit Display Software for CLIC Test Facility (CTF3) at CERN
F.Tecker, J.-M.Nonglaton (CERN) B.S.Srivastava*, N.Lulani, P.Fatnani, P.Shrivastava, R.K.Agrawal (RRCAT)
The CLIC study aims at demonstrating the feasibility of a multi-TeV linear collider. The test facility CTF3 will demonstrate the key issues of the upcoming CLIC project. CTF3 is presently being built and commissioned at CERN by an international collaboration. Essential for commissioning and operation of CTF3 is a display of the beam orbit. The Orbit Display Software package is a GUI application which displays orbit information for various sectors of CTF3 i.e. the Linac, transfer lines and rings. This software uses java swing library to develop the user interface panels and JAPC (Java API for Parameter Control) library for accessing the hardware. The Orbit Display Software graphically displays beam intensity and transverse positions, over multiple turns in the rings including average, difference and reference traces, etc during travel of the beam through various parts of the machine. The package provides all the necessary functions required for diagnostics of beam orbits. This paper will briefly describe the features and functionalities of this package and development methodology used.

TUP017
Managing Alarms and (Log)Messages - the CSS Way
B.Schoeneburg, G.Liu, H.R.Rickens, J.Hatje, M.Moeller, M.R.Clausen* (DESY)
The management of alarms and log messages is in many cases still handled by different applications even though they have a lot in common. Focusing on the common aspect that all of them can be handled as messages allows a generic approach for all of them. The Java Message Service is a specification by Sun which provides an ideal basis to store and forward any kind of messages throughout a control system. Several independent messages sources can generate JMS messages which get sent to JMS servers. Client applications like operator panels as well as message filters or a persistent store (e.g. in Oracle) can register on the JMS server to receive any incoming message. This paper will describe the whole data chain from EPICS front end controllers, system log messages or other control systems through central JMS servers to client applications, persistent stores and an elaborate alarm management system based on the experience during the last two years of operation.

TUP018
JMX-based Console Application Manager
P.K.Bartkiewicz*, R.Schmitz, W.Schtte (DESY)
The commissioning of the PETRA III storage ring at DESY in Hamburg is now in progress, and in 2010 it will begin user operation as a high brilliance storage-ring-based X-ray source. PETRA III is based on an extensive remodeling and upgrade of the PETRA II storage ring, which was used as a preaccelerator for the HERA collider. The upgrade has also included control room applications, most of which are written now in Java. The large number of applications used to control various machine states and to perform the many diagnostic tasks has motivated us to create a console application management system, which combines applications into task-specific groups, automates the starting and stopping of the grouped applications, and re-applies recently set screen attributes of the applications, preserving the operators' preferences. In this paper we describe the Console Application Manager, a JMX-based (Java Management Extension) implementation of such a system, with additional support for non-Java applications

TUP019
Diagnostic and Monitoring CERN Accelerator Controls Infrastructure : The DIAMON Project - First Deployment in Operation
J.Lauener, M.Sobczak, P.Charrue, P.Charrue* (CERN)
The CERN accelerator controls infrastructure spans over several machines and several thousands of devices are used to collect and transmit piece of control data. Each of these remote devices might fail and therefore prevent correct operation. A complete diagnostic and monitoring infrastructure has been developed in order to provide Operation crews with complete and easy to use graphical interface presenting the state of the controls system. Simple agents running in each surveyed item periodically report monitoring information to a central server. Graphical JAVA clients in the operation centers subscribe to this monitoring data and display a view of the current state of the machines. Mouse actions from these clients allows for diagnostic commands to be sent to the agent to get additional details or to repair a faulty situation. This presentation will describe the overall architecture of DIAMON, present the different agents running in the controls system and a few views of the graphical clients. The outcome of the first months in operation of the DIAMON tools will also be presented. Finally, the future plans will be exposed.

TUP020
Role Based Access Control in the LHC : The RBAC Project - First Deployment in LHC Operation
I.Yastrebov, M.Sobczak, P.Charrue*, W.Sliwinski (CERN) A.D.Petrov, E.S.M.McCrory, S.R.Gysin (Fermilab)
Operating the LHC, its high energy stored in the magnets and the multitude of devices settings demand a strict control on who can do what. A Role Based Access infrastructure has been designed and deployed for the LHC. A simple identification based on username/password is translated into an operational role by the RBAC server and this role is then transmitted and checked on the device level to grant or deny access. The RBAC infrastructure has been commissioned in the summer 2008 and used in operation for the first time for the first LHC beams. This presentation will describe the RBAC architecture, its technical choices and its operational deployment. The outcome of the first deployment in LHC operation will be presented, together with the future plans.

TUP021
The LHC Post Mortem Analysis Framework
A.Castaneda, A.Rijllart, D.Khasbulatov, H.Reymond, I.Romera Ramirez, M.Zerlauth*, N.Trofimov, O.O.Andreassen, R.Gorbonosov, V.Baggiolini (CERN)
The LHC with its unprecedented complexity and criticality of beam operation will need thorough analysis of data taken from systems such as power converters, interlocks and beam instrumentation during events like magnet quenches and beam loss. The causes of beam aborts or in the worst case equipment damage have to be revealed to improve operational procedures and protection systems. The correct functioning of the protection systems with their required redundancy has to be verified after each such event. Post mortem analysis software for the control room has been prepared with automated analysis packages in view of the large number of systems and data volume. This paper recalls the requirements for the LHC Beam Post Mortem System and the necessity for highly reliable Post Mortem Data collection mechanisms. It describes in detail the redundant architecture for data collection as well as the chosen implementation of a multi-level analysis framework, allowing for automated analysis and qualification of a beam dump event based on expert provided analysis modules. It concludes with an example of the data taken during first beam tests in September 2008 with a first version of the system.

TUP022
Alarms Philosophy
K.-U.Kasemir, K.S.White* (ORNL)
An effective alarm system consists of a mechanism to monitor control points and generate alarm notifications, tools for operators to view, hear, acknowledge and handle alarms and a good configuration. Despite the availability of numerous fully featured tools, accelerator alarm systems continue to be disappointing to operations, frequently to the point of alarms being permanently silenced or totally ignored. This is often due to configurations that produce an excessive number of alarms or fail to communicate the required operator response. Most accelerator controls systems do a good job of monitoring specified points and generating notifications when parameters exceed predefined limits. In some cases, improved tools can help, but more often, poor configuration is the root cause of ineffective alarm systems. A SNS, we have invested considerable effort in generating appropriate configurations using a rigorous set of rules based on best practices in the industrial process controls community. This paper will discuss our alarm configuration philosophy and operator response to our new system.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

TUP023
Multi-Device Knob Utility for LCLS at SLAC
D.Fairley, D.Rogind, G.R.White, H.Smith, M.Woodley, P.Chu, P.Krejcik, S.Chevtsov, M.Zelazny* (SLAC)
At SLAC (SLAC National Accelerator Laboratory) the CD (Controls Department) is developing a new Multi-Device Knob Utility based on the EPICS * (Experimental Physics and Industrial Control System) toolkit for controlling more or more PVs (Process Variables) in unison, or simultaneously, from a physical knob located in the control room, or from various software tools such as EDM (EPICS Extensible Display Manager) or a Swing slider in Java. A group of devices are hooked up to a knob, then the value written to the devices is a simple function of the value of the knob. This is used, most commonly, to create a bump in the electron beam for LCLS (Linac Coherent Light Source). Control system variables typically controlled are magnetic fields, phases, and timing offsets. This paper describes the technologies used to implement this utility.
* http://www.aps.anl.gov/epics
Work supported by the U.S. Department of Energy under contract number DE-AC02-76SF00515.

TUP024
Generation of Simple, Type-Safe Messages for Inter-Task Communications
C.King, R.Neswold* (Fermilab)
Messages exchanged between ACNET tasks have been, traditionally, C structures defined using a certain "endianness" and packed with a specific alignment. This is less than ideal since every new implementation experiences the same error-prone development cycle to get the layout correct and there are no guarantees the data is validated by the receiver. We present a utility, inspired by Google's Protocol Buffers, which generates the source code that marshals and unmarshals messages. The utility generates C++ and Java source, with more target languages planned. Messages are represented and manipulated using the host language's native data types. The generated module guarantees the received message contains the required fields and is of the correct type.

TUP025
Beam-Size Measurement System at the SAGA-LS Storage Ring
S.Koda, T.Kaneyasu, Y.Iwasaki, Y.Takabayashi* (SAGA)
The SAGA Light Source (SAGA-LS) accelerator consists of 260-MeV injector linac and 1.4-GeV storage ring, and it started a user-mode operation in 2006. In order to measure the size of the stored electron beam, we adopted a synchrotron radiation interferometer, which was invented at KEK-PF about fifteen years ago. In this method, the beam size can be obtained from the contrast (visibility) of interferogram of the synchrotron (visible) light passed through a double slit. Our measurement system consists of a double slit, achromatic lens, ND filter, magnification lens, polarization filter, band-pass filter, and CCD camera. The image of the interferogram was acquired through a frame grabber board in a Windows PC (server). The software was developed on LabVIEW. The interferogram was fitted to a theoretical equation and then the visibility was extracted. The beam size obtained is displayed on a console PC (client) in the control room every 1 s. The client-server system employs the ActiveX CA protocol. This measurement system is useful for the diagnosis of the beam status and the control of the betatron coupling.

TUP026
Beam Measuremet System for VEPP-2000
D.E.Berkaev, Yu. A.Rogovsky* (BINP SB RAS)
This paper describes several beam instruments for VEPP-2000 complex. These beam instruments include: a secondary emission monitors and a image current monitors to measure beam position and tuning beam transport, installed into injection channels; a tuning measurement sys-tem to measure the beam tune; a DCCT measurement system to measure the beam DC current and beam life; a closed orbit measurement system and a transverse beam profile measurement system includes several button-type electromagnetic beam position monitors (BPM), optics, acquisition tools and high resolution CCD cameras distributed around the storage ring to measure the beam profile and its position. Some applications of these measurement systems and their measurement results are presented.
The Budker Institute of Nuclear Physics, SB RAN

TUP027
Calibration of the Beam Position Monitors for VEPP-2000
Yu. A.Rogovsky* (BINP SB RAS)
The basic requirement for the VEPP-2000 beam position monitor (BPM) is the measurement of the beam orbit with 0.1 mm precision. To improve the measurement accuracy, the response of the beam position monitors was mapped in the laboratory before they were installed in the VEPP-2000 ring. The wire method is used for the sensitivity calibration and position-to-signal mapping. The test stand consists of high frequency coaxial switches to select each pickup electrode, movable antenna to simulate the beam, signal source, spectrum analyzer to measure the pickup signals, and analysis software. This calibration measurement showed possibility of required accuracy. During calibration the electrical center of the different BPM was measured with respect to the mechanical center. Conversion between the BPM signal and the actual beam position is done by using polynomial expansions fit to the mapping data within ±6 mm square. Results for these portions of the calibration are presented.
Budker Institute of Nuclear Physics, SB RAN

TUP028
Process Watcher Application in D0 Experiment at Fermilab
D.G.Savage, J.F.Bartlett, V.Sirotenko* (Fermilab)
The D0 experiment at Fermilab continues to take data from proton-antiproton collisions at the Tevatron. The sophisticated data acquisition, control, and monitoring software ensures high data-taking efficiency. To monitor all vital software components of these systems a special application, the Process Watcher, has been developed. It constantly checks the health of the running processes and immediately informs shifters in the control room about any arising problems.

TUP029
KSTAR Widget Toolkit Using Qt Library for the EPICS Based Control System
M.K.Park, S.Baek*, S.Lee (NFRI)
The KSTAR Widget Toolkit (KWT) was developed as a development toolkit of CA client application for the KSTAR commissioning. The KWT is based on Qt library and includes channel access interface to communicate with EPICS. In order to enhance development speed and increase aesthetic quality of application, 16 plug-in widgets were developed to enable for developers to create new panel using drag and drop method. Some of them use QWT as a plotting library and some widgets display alarm status with a specified color according to the EPICS alarm convention. The KWT has cross-platform development environment and feasibility of extending new widgets using Qt plug-in API with plenty of documents and tutorials. Around 110 panels and several applications such as multi-channel plotting tool, process variable searching tool, and logbook application were developed through the KWT and they proved functionality of the KWT being used for the integrated control and machine control during the KSTAR commissioning. The KWT is applicable to fast and easy development of operator interfaces and applications for the EPICS based control system.
National Fusion Research Institute (NFRI), Gwahangno 113, Yuseong-Gu, Daejeon 305-333, KOREA
This work was supported by the Korean Ministry of Education, Science and Technology.

TUP030
Versatile Network Stream Capture Tool Using Java for High Energy Accelerator Control Systems
N.Kanaya* (Ibaraki University Electrical and Electronic Eng.)
A network stream capture tool has been developed to monitor and capture control data and information encapsulated in network stream for distributed control systems for high energy accelerator control systems. The tool allows capturing data streams between specific computers, and dumping the stream data into a file. The data can be browsed using graphic user interface (GUI), either binary, ASCII, UTF-8, and hexadecimal formats to analyze and debug communication protocol employed among computers for the control systems. The tool has been implemented using Java, and thus ported to various platforms, including Linux, Solaris and Windows, providing versatile functionality necessary for multi-computer control systems. This paper describes design and implementation of the network stream capture tool in detail.
Shintaro Mori, Noriichi Kanaya, Akihiko Shikanai, Takuya Saito, and Yuki Hayami
Graduate School of Science and Engineering, University of Ibaraki, Hitachi, Ibaraki, 316-8511, Japan Abstract:

TUP031
System of Power Supply Ripples Measurement for VEPP-2000 Collider
A.S.Medvedko, D.E.Berkaev*, O.V.Belikov, P.Yu.Shatunov, V.R.Kozak (BINP SB RAS)
VEPP-2000 collider magnet system consists from about 200 low-current corrections of magnetic fields which powered from independent power sources. During long-term operation of collider power sources ageing occurs. This ageing reveals in output current pulsation increasing with average statistical parameters maintaining. Standard power sources automation system does not allow discovering such malfunctions which may affect on collider operation stability. For the aims of discovering the pulsation special automation system was worked out. The system in oscillographic regime gets measurements of all channels of power sources one by one and carrying out spectral analysis determines malfunctions automatically. The paper describes technique and measurements results in details.

TUP032
Beam Measurement System of VEPP-2000 Injection Channels
D.E.Berkaev*, E. V.Bykov, I.A.Ostanin, V.P.Cherepanov, V.R.Kozak, V.V.Repkov (BINP SB RAS)
The paper presents single-flight beam diagnostic system for VEPP-2000 injection channels. The system includes two types of beam position monitors: secondary emission monitor type and image current monitor type. Tuning of the system, calibration of monitors, hardware software of the diagnostic system are described. Main goal of the beam diagnostic system is tuning lossless beam transport. To solving such problem one need to tune up as guide fields as focusing fields of transportation channels. Thirst task ' trajectory correction ' is solving with response matrix inversion with SVD method. Second task ' optic function reconstruction ' is solving with help of multidimensional fitting of channel magnet structure parameters with minimization mean-square modeled response matrix from measured one. The paper presents results of practical methods for automated beam transfer and optic functions tuning for injection channels of VEPP-2000 complex.

TUP033
The Virtual UNICOS Process Expert: Integration of Artificial Intelligence Tools in Industrial Control Systems
G.Thomas* (CERN)
UNICOS is a CERN framework to produce control applications. It provides operators with ways to interact with all process items from the most simple (e.g. I/O channels) to the most abstract objects (e.g. a part of the plant). This possibility of fine grain operation is particularly useful to recover from abnormal situations if operators have the required knowledge. The Virtual UNICOS Process Expert project aims at providing operators with means to handle difficult operation cases for which the intervention of process experts is usually requested. The main idea of project is to use the openness of the UNICOS-based applications to integrate tools (e.g. Artificial Intelligence tools) which will act as process experts to analyze complex situations, to propose and to execute smooth recovery procedures. . The paper first introduces the architecture of the UNICOS based applications and the problems operators are faced to. It describes then the tools offered to the operators and the global architecture of the solution. It details after the knowledge base, the rule based engine and its integration in the UNICOS architecture. Finally hints about future evolution of the project will be given.

TUP034
New ACOP Beans and TINE General Purpose Diagnostic Applications
I.Kriznar, J.Bobnar, T.Kusterle (Cosylab) P.Duval* (DESY) S.Weisse (DESY Zeuthen)
One of the strengths of the TINE* control system is the ability to easily make 'simple-client' and 'rich-client' applications. All applications are based on an extensive Java graphics library ACOP**, which provides a vast set of Java Beans for presenting and setting the control system values, such as Slider, Wheelswitch, Button etc. Using any of the standard Rapid Application Development Tools the operators can easily design their own 'simple-client' applications, which are now only a few mouse clicks away. In addition, there are also a large number of 'rich-client', general purpose applications, which offer extensive interactions with the standard TINE systems, such as archiv, alarm, and post-mortem system, as well as scope trace, multi-channel and video analysis, FEC statistics, and general configuration management. Available for many years, these applications have recently been implemented as Java applications using the ACOP beans. They have been iteratively improved and refined after many months of being used by the operators and other users. We offer here a description of these applications as well as the description of the newest ACOP beans available in the ACOP library.
* http://tine.desy.de** http://cosylib.cosylab.com/pub/acop/site

TUP035
JDDD in Action
A.Petrosyan, E.Sombrowski*, K.Rehlich, P.Gessler (DESY) J.M.Meyer (ESRF)
During the last two years the storage ring PETRA at DESY has been widely rebuild (now called PETRA III), to become soon one of the most brilliant X-ray sources worldwide. The vacuum controls of this third generation light source have been implemented using DOOCS and TINE on the hardware level and jddd (Java DOOCS Data Display) on the GUI layer. jddd is a graphical editor for designing and running control system applications. It allows a simple creation of complex control panels with a rich set of ready-made components/widgets. The ongoing commissioning of PETRA III proved that jddd fits the requirements of good control applications in terms of stability, reliability and performance. Currently 4 different control system interfaces are implemented in jddd: DOOCS, TINE, TANGO and EPICS. Even mixing values of these control systems can be done, allowing an interoperability between the different worlds. That makes jddd interesting not only for DESY but also for other institutes. jddd is available as free software under the GNU General Public License (GPL). It is currently evaluated by various institutes like ESRF, PSI, Soleil, Trieste (using TANGO) and PSI, ITER, Cornell (using EPICS).

TUP036
Application Software for the BSP-100 Beam Position Monitor at the APS
G.Decker, H.Shang*, L.Emery, R.Soliday, W.E.Norum (ANL)
The BSP-100 beam position monitor (BPM) was commissioned and installed at the Advanced Photon Source (APS) in a fraction of the ring as an upgrade to the present turn-by-turn BPMs. Keeping the same rf front end of the present BPMs, the BSP-100 BPM adds a high-speed analog-to-digital converter and uses a field-programmable gate array (FPGA) to perform the signal processing. The main advantage of the new system is a much better signal-to-noise ratio as all the bunches in the stored beam can now be (selectively) sampled each turn. The implementation requires a much more complex timing control. We report on the high-level software that controls, saves, restores, and compares the timing of the BSP-100 BPM. This software uses Tcl/Tk for the graphical user interface, the SDDS toolkit for data processing, and SDDS-EPICS compliant tools for saving and restoring.
Work supported by U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under Contract No. DE-AC02-06CH11357.

TUP037
The FERMI@Elettra Online Modeling Toolkit
C.Scafuri* (ELETTRA)
FERMI@Elettra is a new 4th generation synchrotron radiation source currently under construction at the Elettra laboratory, and it is based on a single-pass free electron laser.The toolkit is a rapid application development environment based on Matlab and on the Elegant and Litrack simulation codes. Its purpose is to provide machine physicists and operators with tools for estimating and plotting the main beam parameters of the running accelerator, calculating new settings and corrections, and eventually setting or updating the machine parameters with new calculated values. The toolkit consists of a set of programs and libraries which provide a bridge between the accelerator control system, based on Tango, and the simulation codes. The toolkit also provides the means to perform all the conversions from machine parameters and variables (such as a current circulating in a magnet) to beam dynamics variables (the magnetic field strength, in the example) and vice-versa. The conversion is performed by a set of virtual Tango devices that implement an online magnet model; these devices contain all the needed calibration tables and the logic to read and set the appropriate power supply.

TUP038
CPPerl/CXML - a Host-Based Sequencer for EPICS
P.Gurd, R.Keitel* (TRIUMF)
The EPICS based control system of the ISAC Radioactive Beam Facility uses cppe, a host based sequencer. Cppe was adapted from a previous application and uses its own simple sequencing language. This paper describes CPPerl/CXML, a replacement for cppe, which was implemented as a Perl module on top of the EPIC CA Perl module. CPPerl/CXML retains important features of cppe, such as process variable declarations, connection checks and cleanup on abort. In addition it leverages the full capabilities of the Perl language and incorporates a state machine processor. Sequences can be executed either in Perl using the Perl procedural API or by defining a state machine using XML.

TUP039
Emittance Measurement Wizard
A.Shapovalov* (MEPhI)
The main objective of the Photo Injector Test facility at DESY in Zeuthen (PITZ) is the production of electron beams with minimum transverse emittance at 1 nC bunch charge. PITZ includes a photo cathode RF gun, solenoids for compensation of the space charge induced emittance growth and a booster cavity. In order to study the emittance evolution along the beam line, three Emittance Measurement Systems (EMSY's) were installed downstream of the booster cavity. The emittance is measured using the so called single slit scan technique. The Emittance Measurement Wizard (EMWiz) is a tightly integrated yet user-friendly software application in order to support, ease and speed-up the workflow necessary to obtain, in the long end, the calculated emittance. After user preparation, it provides automatic procedures to perform miscellaneous measurements in sequence in order to obtain intermediate as well as final results in a deterministic way. As a fundament to the application the TINE Video System at PITZ exemplary provides 2-dimensional beam spot image data and mechanisms to control live image acquisition.

TUP040
IRMIS3 Status
G.Carcassi* (BNL)
We will describe the new developments for IRMIS3, which include the new architecture, new functionalities and the new tools. We will go through the motivations of the changes and the intended use of the tools, both in terms of managing them and programming against them. We will discuss the plans for the short and medium term future of the project.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

TUP041
HWII, a Hardware Inventory and Integration Database for the Virgo Project
F.Carbognani, F.Carbognani*, G.Hemming (EGO)
Triggered by the need to properly follow the intensive electronic hardware upgrades associated to the Virgo+ enhancement program, the Hardware Inventory and Integration (HWII) database tool has been developed and deployed. HWII goes far beyond the typical scope of a spare part/hardware database by incorporating information relating to identification, localisation and physical connectivity to other parts. A web-based interface enables the user to easily locate parts by navigating a tree integration chain, which also includes connectivity information. Relation schematics, including part/sub-parts and/or connectivity, can be generated by the HWII through complementary operation tools. New part information can easily be added using a Part-Part Type management system and a dedicated C API is available for dynamically linking the database with other Virgo control applications. HWII also connects to a suite of Virgo web applications such as the Logbook and document codifier. Having successfully supported the Virgo+ upgrade phase, HWII is being used in preparation for the coming long Science Run (VSR2). It will also be a key tool for the currently developing Advanced Virgo Project.
European Gravitational Observatory (EGO)

TUP042
Weak Beam Diagnostics Utility for ATLAS-CARIBU
F.H.Munson, G.P.Zinkann, M.A.Power*, R.C.Pardo (ANL)
The CAlifornium Rare Isotope Breeder Upgrade (CARIBU) for the ATLAS linear accelerator requires the transport of very low intensity ion beams through the accelerator. Weak beam diagnostic stations at several strategic locations throughout the accelerator will be installed to duplicate beam position as measured with a guide beam. An ANL designed Beam Profile Monitoring Device will use secondary electrons into a multichannel plate MCP, onto a phosphor screen, and then into a CCD image. A video capture program to enable averaging and integration of weaker beam signals from the video devices is being developed using ITT Visual Information Systems IDL software on a Linux based PC. The software will process the image from the CCD camera and average the frames together to produce a viewable image of the beam spot. This will allow the operator to adjust the beam and potentially match the live image and averaged images to previously saved images. The software will also allow the selection of a particular diagnostic location to view and control from a single interface.
This work was supported by the U.S. Department of Energy, Office of Nuclear Physics, under Contract No. DE-AC02-06CH11357.

TUP043
Recent Changes in the 500 MeV Cyclotron's Central Control System to Reduce Beam Downtime and Beam On/Off Transitions
E.Klassen, J.J.Pon*, K.S.Lee, M.Mouat, M.Trinczek, P.J.Yogendran (TRIUMF)
Recently at TRIUMF there has been an effort to reduce the downtime of scheduled beam and to reduce the number of beam on/beam off transitions on the radioactive ion beam (RIB) targets. In this pursuit, the 500 MeV cyclotron's Controls Group identified and proposed certain areas of improvement. Working with the Beam Delivery and Operations Groups improvements have been developed and now run in production mode. This paper will detail the introduction of three software measures that resulted in beam delivery enhancements. Specifically, 1) a more stable beam current, 2) a more centered beam, and 3) a new concept called "soft trips". Together, these measures reduce the number of beam trips, shorten beam recovery times, reduce thermal shocks on the RIB target, and simplify accelerator operation.

TUP044
Control of the Rotating Beam on RIB Targets at TRIUMF
E.Klassen, K.S.Lee*, M.Mouat, M.Trinczek, R.E.Laxdal, W.R.Rawnsley (TRIUMF)
Modelling of the radioactive ion beam (RIB) targets at TRIUMF has suggested that rotating the high energy proton beam in a circle on the face of the target may provide a greater source of radioactive ions than a static incident beam. To explore this idea a system has been configured to allow the beam of protons in the primary beamline to be steered in a circle and to permit various parameters to be changed. A description of the system and initial experience in operating the rotating beam are included.

TUP045
Preliminary Test of EPICS Waveform Support for TPS
C.H.Kuo, C.Y.Wu, J.Chen, K.H.Hu, K.T.Hsu, Y.-S.Cheng* (NSRRC)
The TPS (Taiwan Photon Source) is newly proposed the 3 GeV synchrotron light source project. The control system of TPS is based upon EPICS framework. Waveform acquisition supports are essential for the commissioning and operation. The EPICS IOCs, scope IOCs, digitizers and oscilloscopes can support to acquire waveform through EPICS channel access. The EDM is used to implement the operation interface. The control environments of TPS provide specific operation EDM pages of waveform acquired from EPICS IOC, digitizers and oscilloscopes with various sampling rate and vertical resolution. The environment is implemented and tested at the Taiwan Light Source (TLS). The efforts will be summaries at this report.

TUP046
Jefferson Lab Personnel Safety Electronic Log RMA
I.T.Carlino, K.Kindrew, K.L.Mahoney*, N.Okay, T. L.Larrieu, T.S.McGuckin (JLAB)
This paper describes a new electronic legal record management application developed at the Thomas Jefferson National Accelerator Facility (TJNAF.) At Jefferson Lab and many other accelerator facilities, there is a permanent record of personnel entering and exiting a secure accelerator beam enclosure during Controlled or other special access conditions. These legal records ' records that may be entered as evidence in a court of law - may also contain entries related to radiological controls, tests, and certification of access control interlock systems. Until recently, the stringent requirements for electronic legal records required by the U.S. government, made it impractical to create an electronic version of the Personnel Safety System (PSS) paper log book. The staff at TJNAF have now designed and implemented a PSS e-log book application and records management program that meets the requirements for electronic records. In order to successfully implement this system, the development included significant effort in database design, user interface, software quality assurance, and records management.
Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177.

TUP047
The Use of Process and Instrumentation Drawings for Accelerator and Beamline Control Applications at the Canadian Light Source
E.Matias*, G.Judkins, J.Swirsky, M.McKibben (CLS)
In 2001 at the start of the Canadian Light Source Project, the CLS began to adopt the use of Process and Instrumentation Drawings not only for process systems but also for accelerator and beamline optical components. Given existing industry standards have only been formulated for process applications this posed unique challenges. This paper describes the internal standards that were adopted, how they evolved over the past nine years and operation benefits we have been able to achieve through the use of PID drawings. The paper also examines the benefits from using AutoCAD scripts to automate the implementation of PID drawings.

TUP049
The TOTEM Detector Control System
F.L.R.Lucas Rodrguez*, F.Ravotti, I.Atanassov, P.Palazzi (CERN)
The detectors of the TOTEM experiment at the LHC (Roman Pots silicon detectors, CSC & GEM) require the monitoring and control of the usual equipment used in HEP: HV/LV power supplies, VME crates and environmental sensors readout using ELMBs or through the DCU technology. Moreover, while most of the LHC experiments exploit fixed detectors, the TOTEM DCS -Big Brother- includes the control of movable parts (the Roman Pots) to keep the sensors at a specified distance from the beams. The TOTEM DCS differs from those of other LHC experiments in many ways. Engineering and project management follow a structured approach inspired by the ESA ECSS collaborative space standards. Project phasing and planning is done with GDPM on a weekly basis. The collection of functional and technical requirements uses an extension of the ALICE strategy. The Big Brother documentation reside on a dedicated web server, powered by iDOC, a TOTEM DCS technology. The Configuration Management is organized using SubVersioN. Details on the SW development process of the supervisory level (PVSS) will be also given, together with the description of custom automatic scripts which greatly simplify the system configuration.

TUP050
Making Continuous Integration a Reality for Control Systems on a Large Scale Basis
A.Buteau*, G.Viguier, M.Ounsy, S.Dupuy, S.Le, V.H.Hardion (SOLEIL)
To support and maintain the Control Systems of a Synchrotron Source, complexity can become quickly hardly manageable due to the large number of software components and of different deployed versions. At SOLEIL, it appeared to us very early that a strategic goal was to be able to deploy, everywhere and whenever needed, the same version of software packages . A rigorous development organization and configuration management make possible the production of software packages based on release tags put by developers on each software module. Classical open source continuous integration tools (MAVEN, CONTINUUM) on the Java side, and home made batch scripts on the C++ side, allow to produce packages. The packages are deployed during each Machine shutdown on the almost 20 SOLEIL control systems, via system tools (rsync, ...). To make acceptable for people in charge of installations (Accelerators or Beamlines) operation, the continuous software changes rhythm, good communication and tests organization are very important to face with software regressions or local incompatibility. Our conclusion will give feedback of 2 operation years using this "software continuous integration" scheme.

TUP051
Systems Enginering Approach to the Phased Multi-Year LANSCE-Refurbishment Project
F.E.Shelley, J.L.Erickson, L.Rybarcyk, M.Pieck*, M.S.Gulley (LANL)
The LANSCE Refurbishment Project (LANSCE-R) is a phased, multiyear project. The project is scheduled to start refurbishment in the 2nd quarter of fiscal year 2011. Closeout will occur during the 4th quarter of FY2016. During the LANSCE-R project, installation of project components must be scheduled during six annual 6-month maintenance-outages and not conflict with annual LANSCE operational commitments to its user facilities. The nature of a major refurbishment at a facility with production commitments requires carefully planning the system installation, functional testing and commissioning responsibilities, and the transition to operation. This paper will report on the systems engineering approach to the integration and control of 1) Engineering Activities, 2) Performance and Design requirements, 3) Interface Control, 4) Technical Assurance, 5) System Integration, 6) Configuration Management, and 7) Operational Planning, Startup Testing, and Installation. A particular focus will be given to the Controls, Instrumentation and Diagnostic Systems.
This facility is funded by the US Department of Energy and operated by Los Alamos National Security for NSSA under Contract DE-AC52-06NA25396. LA-UR- 09-02349

TUP052
Failure Mode Effects Analysis for an Accelerator Control System
S.M.Hartman* (ORNL)
Failure mode effects analysis (FMEA) has been used in industry for design, manufacturing and assembly process quality control. It describes a formal approach for categorizing how a process may fail and for prioritizing failures based on their severity, frequency and likelihood of detection. Experience conducting a partial FMEA of an accelerator subsystem and its related control system will be reviewed. The applicability of the FMEA process to an operational accelerator control system will be discussed.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

TUP054
Systems and Software Engineering for the MAX IV Facility
T.Friedrich* (MAX-lab)
MAX-lab, the Swedish National Electron Accelerator Laboratory for Synchrotron Radiation Research, Nuclear Physics and Accelerator Physics is planning the construction of a new synchrotron light source facility in Lund, Sweden. The new facility's IT infrastructure introduces design, construction and maintenance challenges related to large distributed control systems, process control and monitoring, data analysis and representation, system integration and significant changes throughout the entire life cycle. MAX-lab will have to cope with organizational growth, information complexity, technical complexity and resource constraints. This paper describes the systems and software engineering issues related to the construction and maintenance of the MAX IV facility, and outlines the development of an engineering approach suitable to the possibilities and constraints of the MAX IV project. Key subjects are requirements and specifications, architectural design, standardization, organizational structure, systems and software lifecycle management and development processes.

TUP056
Software Configuration Control
W.H.Strong* (ORNL)
An efficient and user friendly Software Configuration Control program is one of the key administrative procedures required to provide a highly available and reliable accelerator control system. The configuration system must fit with the natural flow of software implementation; keep all involved parties aware of impending changes; specify version control requirements; assure that changes are adequately documented and reviewed; provide requirements for pre-deployment testing; detail deployment activities; and have provisions for roll-back to the previous version of the operating software. This presentation will include details of the development and operation of the Spallation Neutron Source Software Configuration Control program.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

TUP057
FPGA Digital Timing System for Fusion Plasma Diagnostics in LHD
H.Nakanishi*, K.Kawahata, M.Kojima, M.Nonomura, M.Ohsuna, S.Imazu, S.Sudo, Y.Ito, Y.Nagayama (NIFS)
The digital timing system for LHD diagnostics was developed more than ten years ago as a VMEbus module which was operated by VxWorks RTOS. Through the fiber links, it can deliver the master trigger and the 10 MHz base clock which is modulated with the encoded trigger message. It has a simple tree structure from a master modulator to end demodulators whose output signal edges are all aligned to the delivered base clock. As the VME module and VxWorks were very costly to maintain, they have been ported into the new SoC platform, Xilinx Spartan-3E, that has 1.2 M programmable gates and Microblaze cpu which can run uClinux on it. Using its semi-finished commercial module Suzaku-S, the unit cost of a modulator box becomes one-eighth of previous VME one. In addition, it can output 6 delayed triggers, 6 divided clocks with their own (6) gating time, whereas VME provided 6-2-2. The same network communication schemes are completely implemented on uClinux, ported from the RPC source codes running on VxWorks. As such the semi-finished SoC platform is very useful to homemade an intelligent digitizer unit, another fast latching scaler module is now designed to be made for LHD.
This work is performed with the support and under the auspices of the NIFS Collaborative Research Program NIFS09ULHH503.

TUP058
A Pulse-Pattern Generator Using LabVIEW FPGA
F.Ziegler, G.Marx, L.Schweikhard (Ernst-Moritz-Arndt-Universitt) D.B.Beck*, F.Herfurth, H.Brand, H.Hahn, S.Koszudowski (GSI)
A pulse-pattern generator produces bit patterns at user specified times. It can be used to control the timing of experimental procedures - each bit is used as a trigger line for external devices like a switch-able power supply. The development was initiated by the need of ion trap facilities like SHIPTRAP and HITRAP at GSI, ISOLTRAP at CERN or ClusterTrap at the University of Greifswald, Germany. Each of those facilities has about three ion traps. The manipulation and transfer of ions from one trap to another requires a complex sequence of a few seconds duration with about 30 steps with a precision of 100 ns. The sequence must be synchronized to external events like the timing structure of an accelerator. As a solution, an FPGA card from National Instruments is used. The LabVIEW FPGA module translates the graphical code to VHDL, which is processed further by the tool chain of the FPGA manufacturer Xilinx. The FPGA is clocked with 40MHz, which yields a resolution of 25ns. The user defined bit patterns have a width of 64 bits and eight trigger inputs allow for synchronization with external signals. Presently, this solution is used at six different experiments at four institutes.

TUP059
Commissioning of the FPGA Based Transverse Feedback System at the Advanced Photon Source
C.Yao, N.P.Di Monte*, W.E.Norum (ANL)
The Advanced Photon Source installed a Transverse Feedback System to correct the instability in the electron beam during single bunch mode. This instability manifests itself when a large amount of current is present in the beam. The only method currently formerly available to correct the instability was through chromaticity correction. The Transverse Feedback System deals with the instability without requiring changes to the ring chromaticity. Initial testing revealed issues with the input and output electronics. This paper will discuss these issues, their resolution and many other enhancements to the FPGA-based system.
Work supported by U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under Contract No. DE-AC02-06CH11357.

TUP060
Single Board Computer for Equipment Control
M.Thieme*, M.Zweig, S.Rauch, W.Panschow (GSI)
For the FAIR accelerator control system a new single board computer (SBC) is presently under development. The SBC will be the core of the distributed intelligent peripherals and shall be realized as a multi-controller system, consisting of up to three controllers. The main components of the SBC are a powerful FPGA and a highly integrated computer-on-module (COM). FPGA and COM communicate with PCI or PCI express. With use of the COM the performance of the SBC gets flexible and scalable. If needed, the COM can be upgraded. For the communication with the controlled devices several interfaces are foreseen: A parallel bus interface (FAIR-bus), an up to 64 bit wide bidirectional interface and up to four serial high-speed links (>500 Mbit). Three Ethernet interfaces (100/1000 Mbit) are provided for the user interface to the higher control layers and general machine timing system. For diagnostic purposes the SBC holds USB, EIA-232 (RS-232) and JTAG (IEEE 1149.1). For non volatile data a compact flash interface is available.

TUP061
Applications and Upgrading of the Flexible and Logic-reconfigurable VME Board
T.Hirono*, T.Kudo, T.Ohata (JASRI/SPring-8)
We applied the flexible and logic-reconfigurable VME boards to many control systems, which requires fast and real-time control, such as a tag generating system and a pulse motor controller of 60Hz beam shutter. The board has a field programmable gate arrays (FPGA) chip for execution of user logic, which can be implemented in C. IO interfaces of the board are module cards. They can be mounted on the base board with connectors. The board was easily modified by exchanging the IO modules and reconfiguring FPGA logic. We also upgraded the base board. The new board supports large data transition. The new board has PMC sockets with a PCI bus and a Gigabit Ether port. The same IO module card can also be used on the new board. and the upgraded board are shown in the presentation. The design and implementation of developing-evironment of the user logic of the board are shown with the applications. We also discuss about the design of the upgraded board.

TUP062
Control Architecture of a New Power Supply Controller for Diamond Light Source
A.J.Rose, I.Uzun, J.A.Dobbing, J.Rowland, M.G.Abbott, M.T.Heron* (Diamond)
A new magnet power supply controller is currently being designed for Diamond Light Source. The design uses DSP based regulation implemented in an FPGA. An embedded ARM processor is used to provide integration with the supervisory control system. Interfaces are also provided for integration with the fast orbit feed back system and for synchronous control of multiple supplies. Details of the architecture and progress in the realization will be presented.

TUP063
Configuration Management for Software and Firmware at PSI Accelerators
T.Pal, T.Pal* (PSI)
The increased demand for usage of FPGA's in control systems has fueled a renewed interest in configuration management strategies for software and firmware. The goal is to produce a toolkit to manage firmware source code over time in an environment where the platforms and vendor toolsets rapidly change, with poor compatibility between versions. We describe a generic approach (hardware and software entities) developed for control applications at the PSI accelerators. Core requirements are to reproduce legacy implementations and perform comparisons for applications, as a function of vendor (e.g. Xilinx, MentorGraphics) software/firmware, development platforms and O/S versions. Additionally we require the ability to run several such comparisons concurrently, with a high degree of automation. The feasibility is demonstrated using cost-effective ESX virtual machine technology from VMware to record snapshots of the environments. Perl/XML scripts are used in conjunction with Expect for automated steering of the procedures. Subversion is used for version control and UML (use cases) to document requirements. In future a RDBMS and web interface utility will provide a synoptic overview.

TUP065
PC/104 Embedded IOCs at Jefferson Lab
A.Cuffe, J.Yan*, S.D.Witherspoon, T.L.Allison (JLAB)
We have developed PC/104 single board computer (SBC) based embedded IOCs for our low level control systems. The PC/104 IOCs runs the operating system RTEMS and EPICS. Two types of control system configurations were used in our different applications, PC/104 SBC with commercial I/O cards and PC/104 SBC with custom designed FPGA-based boards. RTEMS was built with CEXP shell to run on the PC/104 SBC. CEXP shell provides the function of dynamic object loading, which is similar to the widely used VxWorks operating system. Standard software configurations were setup for IOC application development to ease the conversion of applications from VME based IOCs to PC/104 IOCs. Many new projects at Jefferson Lab are going to employ PC/104 SBCs as IOCs. Some applications have already been running PC/104 IOCs for accelerator operations. They have been proven to be reliable, easy to configure and low maintenance IOC platforms. The PC/104 - RTEMS IOC provides a free open source Real-Time Operating System (RTOS), low cost, easily installed, flexible, and reliable solution for accelerator control and 12GeV Upgrade projects.
Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177.

TUP066
Embedded Solutions for EPICS Based Control Systems
M.Dach* (PSI)
Embedded systems are becoming more and more popular in controls and automation. They are powerful enough to compete, in some domains, with conventional control solutions based, for example, on VME technology. This paper describes the generic embedded system solutions for EPICS based control systems. It presents the hardware and software issues when dealing with embedded systems. It shows a concrete example of the embedded system build on FPGA concept which could be used as a generic solution. It is discussed, at the end, the usage of the EPICS general purpose driver which could be used directly for memory mapped embedded devices under VxWorks or Linux operating systems.

TUP067
Magnet Power Supply Control System Using i-DIO FPGA Program in a VME Filed Bus Card
K.Fukami, T.Masuda (JASRI/SPring-8) H.Takebe*, O.Otake, T.Fukui, T.Hara, Y.Otake (RIKEN/SPring-8)
A Control system for the XFEL/SPring-8 magnet power supply was designed by using an FPGA program in the "i-DIO" card. This card is modified of the VME field bus card "Opt-VME DIO". An output current deviation, monitoring ADC data from DAC current set value, is checked and makes an alarm signal. The ADC data can be averaged in some special sequences commanded by an upper workstation. A local control system of the power supply is also achieved by the i-DIO. Magnet power supply total system and test operations with the newly developed i-DIO card will be reported.

TUP068
Reconfigurable Embedded Interface System for High Energy Accelerators
N.Kanaya* (Ibaraki University Electrical and Electronic Eng.)
A reconfigurable embedded interface system has been developed using micro-controllers for high energy accelerators. The system has up to 28 digital I/Os and 8-channel AD converters(10 bits), interrupt functions allowing control systems to access any accelerator components over the network. The components involve beam-position monitors, current monitors for bending magnets, ion pumps, vacuum valves, insertion devices, RF components, ion-gauges, and beamlines. The interface is programmed to carry out specific tasks in accordance with requirements for experiments and research purpose. The interface employs PIC micro-controllers, and it can be connected to the network. The interface is easily reconfigured using its boot-loader by uploading a new program from the remote distributed control system through the network. The test of the system has been successfully carried out for a monitoring system for AC power consumption at the control room of B-Factory, KEK. The design and implementation of the reconfigurable interface embedded system for high energy accelerators are described in this paper.
Mohd Ariff Bin Mohtar, Noriichi Kanaya, Takuya Saito, Shintaro Mori, Kazuro Furukawa*)
Graduate School of Science and Engineering, University of Ibaraki, Hitachi, Ibaraki, 316-0033, Japan *)High Energy Accelerator Research Organization (KEK) 1-1, Oho, Tsukuba, Ibaraki, 305-0801, Japan

TUP069
Multipurpose LLRF Field Controller for Various Superconducting Cavity Applications
W.Cichalewski, W.Jalmuzna* (TUL-DMCS)
Superconducting cavities are widely used as accelerating structure, especially for FEL experiments. Even in a single project, the cavities are used in many different systems. Therefore multiple applications require not only different cavity parameters (such as loaded Q, bandwidth, resonance frequency) but also specific modes of operation (pulsed, CW). The paper presents the implementation of multipurpose LLRF field controller suitable for large span of such systems. The controller is implemented for reconfigurable FPGA chips and can be used with various hardware platforms. Implementation issues are described together with operation experience in such facilities as FLASH.

TUP070
A Signal Processing Board for the J-PARC Slow Extraction Feedback Control
A.Kiyomichi, H.Nakagawa, H.Sato, H.Someya, M.Tomizawa, R.Muto, T.Adachi (KEK) K.Noda (NIRS) K.Mochiki (Tokyo City University Department of Nuclear Safety Engineering) S.Onuma* (Tokyo City University Graduate School of Engineering, Infomation Engineering)
J-PARC (Japan Proton Accelerator Research Complex) is a new accelerator facility to produce MW-class high power proton beams. From the main ring high energy protons are extracted in a slow extracted mode for hadrons experiments. The slow extraction beam is required with as small ripple as possible to prevent pileup events in particle detectors or data acquisition systems. Based on preliminary experiments at HIMAC (Heavy Ion Medical Accelerator in Chiba) using a prototype signal processing board, we have developed a new signal processing board for the spill feedback control. The circuit board consists of three signal input ports for gate, spill intensity and residual beam intensity in the main ring, three signal output ports for spill control magnets, two DSPs (TMS320C6713) for the analysis of power spectrum and the spill feedback control, dual port memories, FPGAs and a LAN interface for remote control to change feedback parameters. Using this board, digital filtering, phase-shift processing, servo feedback control, real-time calculation of power spectrum density and adaptive control are examined.

TUP071
The Control System for Induction Acceleration in the KEK Digital Accelerator
T.Iwashita, Y.Arakida (KEK) K.Mochiki (Tokyo City University Department of Nuclear Safety Engineering) T.Sano* (Tokyo City University Graduate School of Engineering, Infomation Engineering)
A digital accelerator (DA) is a low energy version of the induction synchrotron which has been demonstrated using the KEK 12 GeV-PS in 2006[1]. In the DA of injector-free, the acceleration and bunch confinement are independently carried out by induction cells, which are 1-to-1 transformers driven by individual switching power supplies. The switching power supply employing high power semiconductor switching devices (MOS-FET) can be operated at an arbitrary repetition rate up to 1 MHz with an output voltage of 2 kV. This characteristic allows us to realize a so-called all-ion accelerator [2] capable of accelerating all species of ion including cluster ions. To comply with specific demands for the induction acceleration in the KEK DA, that is a renovation of the existing KEK 500 MeV Booster synchrotron, a fully digital control system of the KEK DA is under development. It consists of high speed ADCs and FPGA (or DSP) to acquire the profile of beam bunch and process the required gate trigger signal from the profile data. It is crucial to trigger the acceleration system at the desired timing. Outline and R&D works of the control system described.
[1] T.Iwashita et al., Phys. Rev. Lett. 98, p054801-4 (2007).[2] T.Iwashita et al., J. of Appl. Phys. 101, p063304-7 (2007).

TUP072
Reconfigurable Data Acquisition System for Time-Resolved Measurements in Multibunch Mode of the SLS
A.Puzic, B.Kalantari, C.Quitmann, J.Raabe, T.Korhonen* (PSI)
A multichannel acquisition scheme handling 500 MHz data rate will be presented. The input signal is generated by a fast photo detector which can resolve the pulsed time structure of the synchrotron. Single or multiple photon detection is done with an ADC operating at 1 Gsps sampling rate. Dedicated timing hardware provides the synchronization with the RF of the storage ring. Custom counting logics is implemented using a fully reconfigurable FPGA. Low and high level device drivers are based on the VME standard and the EPICS toolkit. A processor core embedded in the FPGA controls the ADC settings and all the tasks of data transfer between the single photon counters and the Input/Output Controller. Basic Functionality of the system includes: full mapping of the filling pattern, gating of empty buckets and the camshaft, and distributing of distinct buckets into dedicated counters. The acquisition card provides timing reference outputs for the diagnostics, as well as for synchronization of other electronics. First application of the acquisition system are measurements of magnetization dynamics at the Scanning Transmission X-ray Microscope at the SLS with 100 ps time resolution.

TUP073
Digital Powersupply Controller Dataconcentrator DPC_DC
G.Janser* (PSI)
To be able to connect our PSI digital power supplies to Ethernet, and at the same time provide an interface for fast control (like orbit feedback) we have developed the DPC_DC (Digital Power supply Controller Data Concentrator.) Up to eight digital power supplies can be connected to and controlled through one DPC_DC. The circuit fits into a compact aluminum case 106 x 52 x 200 mm. It has the following connectors: 2 RJ45 Ethernet (1 for control access, 1 for local access), 8 optical transmitter / receiver optical fiber (POF) links, 2 RocketIO (SFP) connections for fast control and one optical receiver/ transmitter for trigger functions. It is possible to run embedded LINUX with EPICS on the Virtex XC4VFXFX60 FPGA, with128 MB DDR RAM and 64 MB FLASH. The prototype has been tested with an Ethernet connection between a laptop (LabView ) and the DPC_DC and a digital PS connected to one of the eight channels.

TUP074
What is Front-end and What is Back-end
R.Ursic* (Instrumentation Technologies)
High-performance instrumentation for large research infrastructure projects is frequently either the key enabling element or the key limiting factor driving overall performance of the research infrastructure. Terms like software-defined-radio, software defined instrumentation, reconfigurable hardware, synthetic instruments are just few indicators indicators that software is becoming more and more an integral part of any serious instrumentation device. This on the other hand is challenging conventional approaches to control system design. In this article contrast between the front-end vs. back-end view from the RF engineering and software designer point of view is used as an example to illustrate the need for a more holistic approach when designing systems and subsystems of large research infrastructures.

TUP075
Canadian Light Source - Phase II Beamline Control System Status Update
D.Beauregard, E.Matias*, G.Black, G.Wright, R.Berg, R.Igarashi, T.Wilson, W.Dolton (CLS)
The Canadian Light source is in the final commissioning stages of its six Phase II beamlines. These beamlines make use of both EPICS based control as well as experiment data acquisition using a common underlying framework. This paper outlines the approach adopted in deploying control system on this phase of beamlines. The beamline control system make extensive use of QT toolkit and EDM for operation screens and the CERN Root package for data visualization.

TUP076
Development of the Future Spiral2 Control System
F.Gougnaud, J.-F.Gournay, J.F.Denis, P.Mattei, Y.Lussignol (CEA) C.H.Haquin, D.T.Touchard, E.Lecorche*, E.Lemaitre, L.Philippe, P.Gillette (GANIL) C.Maazouzi, J.H.Hosselet, P.G.Graehling (IPHC)
The Spiral2 facility aims to provide rare ions beams using the ISOL method. It consists of a driver accelerator followed by the rare ion production process coupled with the existing Ganil machine. From the beginning of this year, one ion source followed by the first beam line section has been in test hence implying the first components of the control system. The whole accelerator should be commissioned in spring 2012 and the first exotic beams are planned one year later. Several institutes are collaborating for the control system design and Epics has been chosen as the basic framework. The architecture will rely on Linux PCs and servers, VME VxWorks IOCs and Siemens PLCs; equipment will be addressed either directly or using a Modbus/TCP field bus network. To ease the collaboration, a specific care has been taken concerning the software organisation and management both for the Epics developments and the Java high level applications. Under investigation are the evaluation of the Xal environment, the development of a triggered acquisition system and the design of an environment to generate the Epics databases from a relational database. Also, the first results obtained are presented.

TUP077
The Present Status of the Control System for the ANGARA-5 Fusion Facility
A.V.Kartashov, E.V.Grabovsky, G.M.Oleinik, V.I.Zaitsev* (SRC RF TRINITI)
Angara-5 is a high-power facility designed for making research into the field of inertial confinement fusion. The control system structure includes different subsystems meeting technological requirements of the facility. The later important upgrading caused by the equipment aging and wear was executed by replacement of the block-module structure of fast subsystems (Data Acquisition and Synchronization Subsystem) with separate devices (oscilloscopes of Tektronix type and Digital Delay generators). At present, the Data acquisition Subsystem includes 80 channels with samples frequency 1-2 GHz for measurements of high-speed processes. The Timing Subsystem contains 12 channels of the programmed delays in the range from 0 to 2000 s with an accuracy of 1 ns. The devices were incorporated into a subsystem by means of USB and GPIB interfaces. The software is based on the LabView development system and the VISA communication interface software. The remote terminal service exercises control of the subsystems. The present-day hard- and software structures of the control system are considered.

TUP078
National Ignition Facility Project Completion and Control System Status
A.P.Ludwigsen, C.D.Marshall, D.G.Mathisen, J.M.Fisher, L.J.Lagin, P.J.Van Arsdall*, R.Demaret, R.G.Beeler, R.K.Reed, R.M.Bryant, R.W.Carey, T.M.Frazier (LLNL)
The National Ignition Facility (NIF) is the world's largest and most energetic laser experimental system providing a scientific center to study inertial confinement fusion (ICF) and matter at extreme energy densities and pressures. Completed in 2009, NIF is a stadium-sized facility containing a 1.8-MJ, 500-TW 192-beam ultraviolet laser and target chamber. A cryogenic tritium target system and suite of optical, X-ray and nuclear diagnostics will support experiments in a strategy to achieve fusion ignition starting in 2010. Automatic control of NIF is performed by the large-scale Integrated Computer Control System (ICCS), which is implemented by 2 MSLOC of Java and Ada running on 1300 front-end processors and servers. The ICCS framework uses CORBA distribution for interoperation between heterogeneous languages and computers. Laser setup is guided by a physics model and shots are coordinated by data-driven distributed workflow engines. The NIF information system includes operational tools and a peta-scale repository for provisioning experiment results. This talk discusses results achieved and the effort now underway to conduct full-scale operations and prepare for ignition.
This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

TUP079
The ATLAS MDT Control System
S.Zimmermann (Freiburg) G.Bobbink, R.G.K.Hart* (NIKHEF)
The MUON spectrometer of ATLAS consists of four major parts by which the Muon-Drift-Tube chambers (MDT) are in terms of space and readout-channels the largest. The Detector Control System (DCS) of it can be separated into a CAN field-bus part (temperature readout, magnetic field readout and control of the front-end electronics (FE)) and a non-CAN field-bus part (gas, high- and low-voltage). This article covers only the first part (CAN). For this purpose each MDT-chamber is equipped with a so-called Muon-DCS-Module (MDM), containing a CAN-node. About 1200 chambers are connected divided over roughly 90 CAN-buses, monitored and controlled by a commercial SCADA system (PVSS) running on 10 PC's. The temperature and magnetic field sub-systems are mainly used for off-line analysis and their data is stored at regular intervals into a database. The FE sub-system is used, by means of JTAG, to set the thresholds and trip-levels of the DAQ readout electronics. The sub-systems are incorporated into the overall ATLAS Finite-State-Machine (FSM), which enables it to control it in a general and consistent way. Tools and applications were developed for maintenance and diagnostics.

TUP080
The ATLAS Barrel Alignment Readout System
F.O.G.Bauer (CEA) P-F.Giraud (CERN) H.L.Groenstege, H.van der Graaf, R.G.K.Hart* (NIKHEF)
The readout system of the alignment system of the barrel part of the MUON spectrometer of ATLAS is described. It contains almost 6000 optical channels, each consisting of a camera, a light source and a lens. Three layers of multiplexing are applied which end up into 8 PC's, each one equipped with a frame-grabber, which grabs the pictures to be analyzed. Analyzed results are stored into a database for off-line corrections of the muon tracks. Controlling the multiplexers and frame-grabber is performed by a dedicated server (Rasdim). The chosen (by CERN) SCADA system is PVSS and is utilized to control the server and enables it to be part of the overall Finite State Machine (FSM) of ATLAS. The communication between the server and PVSS is performed by DIM, a distributed management system, providing a transparent inter-process communication layer. A full cycle to read and analyze all channels takes about 10 minutes.

TUP082
Operation and Running of BEPCII Control System
C.H.Wang* (IHEP Beijing)
BEPCII control system has built using EPICS tools by the development of 5 years and on-site installation of half year. It has been put into the beam commissioning of BEPCII since October of 2006. This paper introduces the overview of BEPCII control system and its performance as well as its upgrade during third run of the BEPCII beam commissioning. In particular, some problems such as control network and energy ramping will be also discussed.

TUP083
The 10 Petawatt Upgrade Proposal For The Vulcan High-Power Laser
A.Boyle, A.Kidd, C.Hernandez-Gomez, D.A.Pepler*, D.J.Robinson, E.J.Divall, I. O.Musgrave, P.Holligan (STFC/RAL)
The Vulcan Nd:Glass Laser Facility* at the Rutherford Appleton Laboratory, UK has had a long history of providing high profile science with an International reputation in the field of plasma physics, predominately for a university based user community. Current capabilities of Vulcan include multiple infrared (1.053 micron) beamlines operating in the few hundred picoseconds to several nanoseconds regime with a total energy of up to 1.8kJ, synchronised with a single Petawatt class (10^15W, 500J, 500fs) beamline capable of being focussed to an intensity of 10^21W/cm^2. It is proposed to significantly enhance Vulcan with the provision of an additional 10 Petawatt (300J in 30fs) beamline capable of generating intensities of 10^23W/cm^2 ' synchronous with the existing 1 PW system. This paper will provide an overview of and the challenges for the designs of the 6 year £25M upgrade project**, in terms of the laser, the high speed timing and synchronisation requirements as well as the computer control systems.
* http://www.clf.rl.ac.uk/Facilities/vulcan/laser.htm** http://www.clf.rl.ac.uk/Facilities/vulcan/projects/10pw/10pw_index.htm

TUP084
Upgrading the Control System of RIKEN RI Beam Factory for New Injector
J.-I.Odagiri (KEK) M.K.Fujimaki, M.Komiyama*, N.Fukunishi (RIKEN Nishina Center) A.Uchiyama (SHI Accelerator Service ltd.)
To boost up the intensity of the uranium beam accelerated in the RIKEN RI Beam Factory (RIBF), a new 28GHz superconducting ECR ion source was constructed in 2008. The standalone commissioning of the ion source has started in early 2009. In order to control the ion source as a part of the RIBF accelerator complex, we introduced F3RP61-2L as IOCs and integrated them into the existing EPICS-based RIBF control system. F3RP61-2L is a new CPU module running Linux, which functions with the I/O modules of FA-M3 PLC on the PLC-bus. We have confirmed stable operation of EPICS on F3RP61-2L and found that the new IOC makes our control system simpler and easier to maintain. We will report the details of the control system of the new ion source and its integration into the whole RIBF control system.

TUP085
Status of the SOLEIL Control System
A.Buteau*, B.Gagey, P.Betinelli (SOLEIL)
SOLEIL* is a 3rd generation Synchrotron Source located in France near Paris. Early 2009, it delivers photon beam to 20 beamlines with global reliability better than 95%. We will describe the status of the installation and operation of the control systems for the accelerators and beamlines. Hardware status for motion systems, controls and data acquisitions will be given. All software developments are based on the Tango framework, using it, not only as a "traditional control system" but in a more general way as a service-oriented middleware interconnecting SOLEIL's applications. We will show figures and examples of the TANGO software components developed and used. On the supervision layer, SOLEIL uses an industrial SCADA (GlobalScreen) as an integration tool of the JavaBeans components developed with the TANGO ATK graphical framework. Supervision applications are the result of a collaborative work between "pure software developers" and "occasional" supervision applications developers. The work organization, the software architecture and current status at SOLEIL will be given. We will conclude with some statistics about Controls stability and quality after 3 years of operation.
*: http://www.synchrotron-soleil.fr/

TUP086
The Control System of SPES Target: Current Status and Perspectives.
A.Andrighetto, G.Bassato*, G.P.Prete, J.A.Vasquez, L.Costa, M.G.Giacchini, R.Izsak (INFN/LNL)
The new project of a facility for the Selective Production of Exotic Species (SPES) is starting at LNL. A commercial cyclotron will deliver to the UCx target a proton beam with a current of 200 A and an energy up to 70 MeV; the project goal is to reach a production of neutron rich fragments at a rate of 1013 /sec. The construction of the Target Laboratory, the most innovative and critical part of the entire facility, is at advanced stage and its control system is being developed using EPICS *. The main challenge in the control system design is the integration in a unique framework of different hardware technologies, ranging from PLCs to embedded Linux controllers. We present the status of the Target control system ** , describe the overall architecture foreseen for SPES and discuss in more detail some technical choices concerning with the realization of GUI applications.

TUP087
Control and Data Acquisition for the ITER Ion Source Test Facility
A.Barbalace, A.Luchetta*, A.Soppelsa, C.Taliercio, G.Manduchi, O.Barana (Consorzio RFX Associazione Euratom-ENEA sulla Fusione)
SPIDER is a test facility, under development in Italy to start operation in 2013, to develop and test the full size negative ion source for the ITER heating and diagnostic neutral beam injectors. Its nominal requirements are: ion beam in H- or D- accelerated at 100keV, ion current 40/60A in D-/H-, beam duration 3600s. A set of diagnostics will measure the source and beam parameters, including thermocouples, calorimetry, emission/absorption spectroscopy, electrical, vacuum, radiation, caesium sensors, and electrostatic probes. Operation will be through an integrated control and data acquisition system structured into three independent tiers (control, interlock, safety) and three hierarchical levels (Central, Subsystems, Plant System Units) requiring 10MHz synchronous clock distribution, slow/fast control cycle times down to 10ms/100us, acquisition of 1000 analogue channels / 70 images with sampling rates up to 100MHz / 50-100Hz, data throughput <110MByte/s, data storage volume <400GByte/pulse and <10-100TByte/year. The paper presents the requirements and the design of the control and data acquisition system, illustrating in details the design criteria and technological choices.
Fusion For Energy, Barcelona (Spain), F4E GRANT F4E-2008-GRT-011-01(PMS-H.CD)

TUP088
The Control System of the ATLAS Pixel Detector
J.Zhong (Academia Sinica Institute of Physics) J.Boek, J.Schultes, P.Kind, P.Maettig, S.Kersten (Bergische Universitaet Wuppertal Fachbereich Physik) B.Di Girolamo, K.Lantzsch* (CERN) P.Sicho (Czech Republic Academy of Sciences Institute of Physics) J.J.Moss (Ohio State University)
The innermost part of the ATLAS experiment is a pixel detector, built of 1744 individual detector modules. To operate the modules, readout electronics, and other detector components, a complex power supply and control system is necessary. While the hardware is mainly built by units which are specially adapted to the needs of the pixel detector, the control software has to support these special needs, while in parallel it is embedded into the ATLAS wide control system. Core of the pixel detector control is a PVSS based SCADA system in combination with a finite state machine. An overview on the pixel detector hardware and a report on the commissioning of the final control system will be given. We concentrate on the description of the finite state machine and its interaction with several additional protection routines.
CERN

TUP089
A Control System for the EMMA 20 MeV Electron NS-FFAG
A.Oates, B.G.Martlew*, G.Cox, P.H.Owens (STFC/DL) A.Quigley, R.V.Rotheroe (STFC/DL/SRD)
EMMA is a 20 MeV non-scaling fixed field alternating gradient accelerator (NS-FFAG) currently under construction at Daresbury Laboratory. NS-FFAGs are a new type of accelerator that offer the prospect of smaller, cheaper accelerators operating at high frequency and with a high duty cycle. They will have a major impact on the design of next generation clinical accelerators for proton and carbon ion treatment of cancers. EMMA will demonstrate the practical application of NS-FFAG acceleration using electrons injected from the ALICE energy recovery linac. The control system for EMMA will reuse much of the infrastructure already in place for ALICE which was built as an EPICS system using PPC CPUs, VME and VxWorks. While maintaining a high degree of compatibility, the EMMA control system will make increased use of low-cost EPICS IOCs based on 1U rack-mounting PCs running Linux, embedded LabVIEW control and a new suite of user interface software using a .NET Channel Access library and controls. Device control and interlock protection will be provided by an in-house designed CAN Bus system that is currently being further developed to include additional analogue input capability.

TUP090
The Status of the Alba Controls
D.Fernandez-Carreiras* (CELLS-ALBA Synchrotron)
After the commissioning of the Linac and Transfer Line, Alba is installing the booster and beamlines. Commissioning of the booster is scheduled in October 2009. This paper shows the status of the installation of the different subsystems ans well as the software applications and tools for commissioning and operation.

TUP091
Linac Coherent Light Source (LCLS) Undulator Line Control System*
J.Z.Xu*, N.D.Arnold, R.Laird, S.E.Shoaf, S.J.Stein, W.E.Norum, X.S.Xu (ANL)
The 132-meter-long Linac Coherent Light Source (LCLS) undulator line consists of 33 identical undulator segments situated in a co-linear fashion. An EPICS-based turn-key control system has been designed and delivered to the LCLS project by the Advanced Photon Source (APS). The control system is responsible for a myriad of motion and feedback channels for each segment including two linear and five nonlinear motions with micron-level accuracy, numerous absolute position readbacks, and multiple temperature sensors. With the large distance covered in the undulator line tunnel, it was decided to distribute the controls duty to multiple instances of control hardware located at each segment within the tunnel itself. A detailed description of the control system and performance results is reported.
*Work at Argonne was supported by the U. S. Department of Energy, Office of Science, Office of Basic Energy Sciences under Contract No DE-AC02-06CH11357.

TUP092
The Development of the Undulator Controls Module at the Linac Coherent Light Source
A.D.Alarcon* (SLAC)
The Linac Coherent Light Source, LCLS, is the first hard x-ray Free Electron Laser. The Undulator Controls Module, UCM, controls five cams and two translation stages that regulate the position of each of the 33 permanent undulator magnet segments within 10 microns. The UCM package, hardware and software, was designed and built by the Advanced Photon Source at Argonne. Important lessons were learned throughout the collaborative design, installation, testing, and commissioning periods that could be invaluable to future similar controls projects.

TUP093
The ALICE Detector Control System, Ready for First Collisions
A.Augustinus*, L.S.Jirden, P.Ch.Chochula (CERN)
ALICE is one of the four experiments at the Large Hadron Collider (LHC), CERN (Geneva, Switzerland). The commissioning of the LHC in 2008 allowed the experiment to record the first particle induced events and is now preparing for the first collisions foreseen autumn 2009. The experiment is composed of 18 sub-detectors each with numerous subsystems that need to be controlled and operated in a safe and efficient way. The Detector Control System (DCS) is the key for this. The DCS system has been used with success during the commissioning of the individual detectors as well as during the cosmic runs and the LHC injection tests that were carried out in 2008. It was proven that through the DSC a complex experiment can be controlled by single operator. This paper describes the architecture of the Detector Control System and the key components that allowed to come to a homogeneous control system. Examples of technical implementations are given. Improvements that have beem implemented, based on a critical review of the first operational experiences are highlighted. It will report on the current status and operational experiences leading up to first physics collisions.

TUP094
Control System Design for Central Japan Synchrotron Radiation Research Facility
N.Yamamoto*, Y.Takashima (Nagoya University Department of Materials Science and Engineering) M.Hosaka (Nagoya University Graduate School of Engineering) M.Katoh (UVSOR)
A control system for Central Japan Synchrotron Radiation Research Facility has been designed. Central Japan Synchrotron Radiation Research Facility is a synchrotron light source planed by a local prefectural government, industries, universities, and research institute in the Aichi area of Japan..The synchrotron radiation (SR) facility has been expected as an adaptable facility not only for basic research, but also for engineering and industry-oriented research and development.The facility, consisting of accelerators, beamlines, peripheral equipments and housing, has been designed at the Nagoya University Synchrotron Radiation Research Center. The accelerators consists of a linac, a full energy booster synchrotron and a compact storage ring, which is able to supply hard X-rays from superconducting bending magnets. An important issue on this facility is its tightly restricted budget and, hence, the limited number of staff in the facility. Thus, the control system should be simple, robust and inexpensive. To reply these needs, we have considered to use Ethernet-based data communication systems and a database management system.

TUP095
Facility Utility Control System of XFEL/SPring-8
M.I.Ishii, R.Tanaka, T.Masuda* (JASRI/SPring-8) N.Kumagai, T.Fukui, Y.Sekiguchi (RIKEN/SPring-8)
The XFEL facility under construction at SPring-8 requires highly stable RF phase and intensity control for steady X-ray lasing. The RF conditions are very sensitive to facility utilities and environmental conditions such as air temperature, power line voltage, especially to cooling water temperature for accelerating structures. We, therefore, have to monitor them with required sampling rate and resolution from the viewpoint of the accelerator control. In particular, the cooling water for accelerating structure should be controlled seamlessly from the XFEL control system to achieve steady lasing. We designed and constructed a control system for the facility utilities as a part of the XFEL accelerator control with the MADOCA framework. All the signals of the facility utilities are stored into the same database with the XFEL control system, which helps us to investigate the correlations between beam stability and environmental conditions. All the utility equipment is controlled by PLCs connected to VME systems through FL-net. We set up PLC touch panels to support daily management as the local control interface.

TUP096
The Control System of the ATLAS Inner Detector
F.Dittus* (CERN)
The Atlas detector at the LHC includes a composite tracking detector with a common infrastructure which includes the controls of the cooling circuits for Silicon detectors and of the active thermal insulation (heater pads), the measurement of magnetic field, temperature, humidity, and radiation and the beam monitors. This paper describes the architecture of the Control System, the interplay among the various subsystems and the LHC controls and the operation experience both with cosmic rays and circulating beams.
Submitted on behalf of the ATLAS Inner Detector Speakers Committee, who will select a qualified speaker.

TUP097
Present Status of Control System of UVSOR-II
H.Zen*, J.Yamazaki, K.Hayashi, M.Adachi, M.Katoh (UVSOR)
UVSOR, a 750 MeV synchrotron light source of 53 m circumference had been operated for more than 20 years, and has been upgraded several times. After the upgrade of the magnet power supplies of the booster synchrotron in 2006, full energy injection has come to be possible, and this enabled us to start top-up operation. In order to operate injector system with top-up mode by a few staff members, the control system is needed to be upgraded to be efficient and effective. In the conference, the present status of our control system and future upgrade plans will be discussed.

TUP098
Present Status of the SAGA-LS Control System
S.Koda, T.Kaneyasu*, Y.Iwasaki, Y.Takabayashi (SAGA)
SAGA Light Source (SAGA-LS) is a synchrotron radiation facility consisting of a 255 MeV injector linac and a 1.4 GeV electron storage ring with a circumference of 75.6 m. The SAGA-LS has been stably providing synchrotron light, ranging from VUV to hard x-rays, with users since February 2006. For the control of the SAGA-LS accelerators, a simple PC-LabView based system which uses the EPICS channel access (ActiveX CA) as a communication protocol is utilized. The control system was designed to meet requirements for high reliability, cost-effectiveness and easy maintenance and upgrade. The system consists of off-the-shelf IO devices connected to local server PCs (CA servers), console PCs (CA clients) and Ethernet LAN. Both the server and client applications are developed in LabView because of its easiness for in-house software modification and development along with the machine improvements. Up to now about 2, 000 process variables have been employed to control accelerator components such as magnet power supplies, an RF system, vacuum monitors, beam diagnostic systems and insertion devices.

TUP099
A Control System Developed for 150 MeV FFAG Accelerator Complex and its Application
A.Osanai, H.Yoshino, K.Takamiya, M.Tanigaki*, N.Abe, T.Takeshita (KURRI)
A control system for a 150 MeV FFAG accelerator complex in KURRI has been developed and served for actual commissioning of this accelerator complex with high reliability. This control system has been designed and developed by a limited number of non-specialists on accelerators and control systems in a small institute. The way how we manage the design and development of the current control system will be reviewed as well as the current status and its extending application to facilities and instruments other than our FFAG accelerator complex.

TUP100
The LHCb Silicon Tracker And Its Control System: From Scratch Towards Stable Operation
A.Buechler* (UZH) D.Esperante Pereira (usc)
The LHCb Silicon Tracker (ST) at the LHC at CERN is ready for operation. It constitutes a crucial part in tracking the particle trajectories and consists of two silicon micro-strip detectors, the Tracker Turicensis (TT) and the Inner Tracker (IT). The Detector Control System (DCS) is based on the multi-platform PVSS SCADA and has been tested and developed during the commissioning phase. A common software was implemented and developed for both sub-detectors. The DCS has to deal with more than 2000 readout chips and monitors ~1170 environmental parameters. A hierarchical control system based on finite state machines allows distributed control of the detector equipment. An operator is able to centrally control the power supplies, to program the readout electronics and to monitor online the status of all the hardware. For commissioning it is flexible enough to allow for missing hardware at all levels. It features active monitoring of temperatures, humidity and power status and can take automatic actions on warnings or alarms. To guarantee safe operation of the Silicon Tracker a completely independent, redundant, hardware-based system is used for the 'vital' alarms.

TUP101
ALMA Common Software (ACS), Status and Development
M.Sekoranja (Cosylab) A.Caproni, B.Jeram, G.Chiozzi*, H.Sommer, J.Schwarz (ESO) R.Cirami (INAF-OAT) H.Yatagai (NAOJ) J.A.Avarias (NRAO) A.A.Hoffstadt, J.S.Lopez (UTFSM) A.Grimstrup (University of Calgary Physics Department)
ACS provides the infrastructure for the software of the Atacama Large Millimeter Array and other projects. Using CORBA middleware, ACS supports the development of component-based software, from high-level user interfaces down to the hardware device level. It hides the complexity of CORBA beneath an API that allows the application developer to focus on domain-specific programming. Although ACS, now at release 8, has been used operationally by the APEX radio telescope and at the ALMA Test Facility, the commissioning of ALMA in Chile brings major challenges: new hardware, remote operation and, most important, upscaling from 2 to 60+ antennas. Work now turns to scalability and improving the tools to simplify remote debugging. To further identify potential problems, the University of Eindhoven is formally analysing ACS. Meanwhile, new developments are underway, both to respond to newly identified needs of ALMA, and those of other projects planning to use ACS. Examples include the refactoring of the interface to the CORBA Notify Service, integration with the Data Distribution Service, generation of state machine code from abstract models and of Python binding classes from XML schema.

TUP102
Status of the ATLAS Detector Control System
F.Varela, H.J.Burckhart, J.Cook, S.Franz, S.Schlenker* (CERN) V.Filimonov, V.Khomutnikov (PNPI)
The ATLAS experiment is one of the experiments at the Large Hadron Collider (LHC), constructed to study elementary particle interactions in collisions of high-energy proton beams. The individual detector components as well as the common experimental infrastructure are supervised by the Detector Control System (DCS). The DCS enables equipment supervision using operator commands, reads, processes and archives the operational parameters of the detector, allows for error recognition and handling, manages the communication with external control and DAQ systems. Special emphasis was put on the use of standardized hardware and software components enabling efficient development and long-term maintainability of the DCS over the lifetime of the experiment. The DCS back-end is organized as a hierarchy of finite state machines, allowing for the homogeneous control of the whole detector by a single operator. A web-based monitoring allows accessing DCS information worldwide with high availability and minimal computing requirements. A comprehensive overview of the hardware and software components and concepts is given and the first experience gained during beam operations in 2008 is discussed.

TUP103
The Common Infrastructure Control of the ATLAS Experiment
H.J.Burckhart, O.Gutzwiller*, S.Franz, S.Schlenker (CERN) V.Filimonov, V.Khomutnikov (PNPI) L.Sargsyan (YerPhI)
The ATLAS experiment is one of the multi-purpose detectors of the LHC. An important role of the Detector Control System (DCS) is played by the Common Infrastructure Control (CIC) which supervises the common services such as rack control, environment monitoring, cooling, ventilation, electricity distribution, gas, magnets, cryogenics, safety systems and LHC parameters. The CIC system is integrated into the DCS back-end, running applications using a commercial SCADA software package, and is designed to allow for further evolution over the lifetime of the experiment. The CIC either reads out the operational parameters of the infrastructure with Embedded Local Monitoring Boards (ELMB) or acquires data of external control systems using a standardized communication protocol, and subsequently processes and archives the data. The status information of the equipment is then structured in a hierarchy of finite state machines to allow for efficient and homogeneous operator control in the experiment control room. An overview of the hardware and software of the ATLAS CIC together with a report on the first experiences with regular operations including beam commissioning in 2008 will be given.

TUP104
NSLS II Control System
D.Dohan, G.B.Shen, L.R.Dalesio*, N.Malitsky, Y.Tian (BNL) A.Ratti, L.R.Doolittle (LBNL)
The NSLS II is a new third generation light source. The project is pushing control system technology in three areas: fast orbit feedback, use of RDB technology, and model based control architecture. This paper describes these developments in terms of the overall control system architecture.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

TUP105
The Control System of the FERMI@Elettra Free Electron Laser
A.Abrami, C.Scafuri, F.Giacuzzo, G.Gaio, L.Pivetta, M.Lonza*, M.Pugliese (ELETTRA)
FERMI@Elettra is a new 4th-generation light source currently under construction at the Elettra laboratory. It is based on a single pass free electron laser consisting in 1.5-GeV normal-conducting linac and two chains of undulators where the photon beams are produced with a seeded laser multistage mechanism. The control system interfaces to and controls all devices and systems of the facility. The hardware architecture has been designed using commercial components and open standards, and a software environment based on Linux and the Tango control system is deployed on all computers. The personnel safety and the equipment protection systems rely on a well established technology based on PLCs. A real time infrastructure based on a dedicated Ethernet network and a real time implementation of Linux provides centralized shot-by-shot data acquisition at the linac repetition rate, as well as synchronized setting of the controlled variables required to implement feedback loops. Special care has been taken to provide a productive environment that will allow development of control room applications both for the commissioning and the operation phases.

TUP106
Status Report of the Measurement Service for the CERN Accelerator Logging
G.Kruk, M.Gourber-Pace*, M.Misiowiec (CERN)
The LHC Logging service is aimed to satisfy the requirement of capturing and storing any relevant accelerator data to track its variation over time. This service is presently operational on the whole CERN accelerator complex, from ion and proton sources to LHC, and has become a critical component of the CERN control systems.The focus is given to the measurement part of this service, which is responsible for the data acquisition and preparation (processing, filtering, concentration) prior to its storage in database and file systems. Incoming data is often processed by a concentration layer, the processes that transform data of multiple devices into single values according to well defined rules and then publish them further on, to the LHC Logging among others. The paper describes the architecture and presents the solutions to the very challenging requirements imposed by the LHC in terms of overall performance and reliability. The efficiency of the data acquisition and filtering as well as the flexible software design are highlighted.

TUP107
Development of a New Control System for the FAIR Accelerator Complex at GSI
M.Thieme, R.Baer*, U.Krause, V.RW.Schaa, W.Schiebel (GSI)
The 'Facility for Antiproton and Ion Research' (FAIR) will be realized at the 'GSI Helmholtzzentrum fr Ionenforschung GmbH' (Darmstadt, Germany) in the scope of a large international organization. This new accelerator complex will be a significant extension to the existing GSI accelerator chain. It will present unique challenges for the control system which are well beyond the capacity of the present system. A new control system is under development that considers all aspects of the expected functionality to operate the GSI/FAIR machines and integrates the present GSI controls infrastructure. The new control system substantially builds on proven principles and solutions and is based on a strictly modular design with well defined interfaces. Size and organizational structure of the FAIR project with international contributions demand for a high level of standardization and efficient interface management. This report summarizes concepts, architecture, technologies and building blocks of the new system.

TUP108
Control System for J-PARC Hadron Experimental Facility
A.Agari, A.Kiyomichi, A.Toyoda, E.Hirose, H.Takahashi, H.Watanabe, K.H.Tanaka, M.Ieiri, M.Minakawa, M.Naruki, M.Takasaki, R.Muto, S.Sawada, Y.Katoh, Y.Sato*, Y.Shirakabe, Y.Suzuki, Y.Yamanoi (KEK) H.Noumi (RCNP)
J-PARC Hadron Experimental Facility is a multi-purpose research facility, using intense kaons and pions produced with 50GeV-15micro A (750kW) proton beams. In Hadron Experimental hall (HD-hall), the secondary kaon/pion beams are transported to the experimental areas and used for a variety of particle and nuclear physics experiments. In Janually 2009, the first beam was successfully extracted from the accelerator and transported to the beam dump in HD-hall. The present contribution reports the control system for the equipments on the beam lines and safety systems in Hadoron Experimental Facility, using EPCICS.

TUP109
Present Status of SARAF Control System
C.Piel (RI Research Instruments GmbH) A.Abramson, A.Perry, I.Gertz*, I.Mardor, L.Weissman (Soreq NRC)
"The Soreq Applied Research Accelerator Facility (SARAF) is a 5-40 MeV, 0.04-2 mA proton/deuteron RF superconducting linear accelerator, which is under commissioning at Soreq NRC. SARAF will be a multi-user facility, whose main activities will be neutron physics and applications, radio-pharmaceuticals development and production, and basic nuclear physics research. The SARAF Control System is based on National Instruments and Siemens hardware and software. This paper presents an overview of the design concepts and implementation of the main and auxiliary SARAF control systems. "

TUP110
Conceptual Design of the ITER Plasma Control System
A.Wallander, A.Winter*, D.J.Campbell, I.Yonekawa, J.Snipes, L.Scibile, W.-D.Klotz, Y.Gribov (ITER)
This paper will describe the present state of the conceptual design of the Plasma Control System (PCS) on ITER. The PCS will be integrated into the ITER Control, Data Access and Communication system (CODAC). It uses data from the scenario and sequence algorithms, together with measurements from the diagnostic systems to produce outputs used to setup the necessary conditions for plasma operation, produce plasma, and control the evolution of the all of the plasma parameters that are necessary to operate ITER throughout all phases of the discharge. An overview will be given of what diagnostic input, type of physics algorithms, and actuator outputs the PCS will require to perform its control functions along with the present concept of its integration and interfaces with other CODAC systems such as the scheduling system and the Safety & Interlock systems. The layout of the various PCS subsystems will be presented, including wall conditioning and tritium removal, plasma axisymmetric & non-axisymmetric magnetic control, power and particle flux control to first wall and divertor, plasma kinetic control, non-axisymmetric stability control, and disruption mitigation and off-normal shutdown.

TUP111
The LHCb RICH Detector Control System.
A.Papanestis* (STFC/RAL)
The efficient operation of the two Ring Imaging Cherenkov (RICH) detectors of the LHCb experiment is essential for hadron identification. This is achieved by the Detector Control System (DCS) through the integration of the control and monitoring functions of the various subsystems. The DCS controls the various power supplies required for the operation of the Hybrid Photon Detectors (HPDs) and related electronics, collects information about the operating environment of the HPDs to ensure safe operation, and monitors the RICH radiators (pressure, temperature, humidity, gas quality). The system is able to inform the operator or take automatic actions when any monitored quantities go outside predefined safe limits. It is fully integrated in the LHCb Experiment Control System (ECS) and can apply different configurations using recipes. The LHCb RICH DCS has been fully commissioned and is ready for the LHC start-up.

WEP001
Configuration and Sequencing Tools for the LMJ Control System
J.J.Dupas, J.J.Dupas* (CEA) F.P.Signol, J.C.Picon (CESTA)
This presentation describes two of the main functions of the common framework which underlies the Laser MegaJoule (LMJ) supervisory software: configuration and sequencing. The configuration manager allows creating a model of the system under control, and making it available for the different parts of the command-control software. The system is described as a hierarchy of objects linked by different types of relationships, which are used by the command-control software to propagate events, alarms, states and actions. The model acts also as a centralised repository for all of the parameters and characterisation data needed to control the process. Concerning sequencing, it is one of the major functions used to operate the LMJ facility. Specialized software tools were designed to develop and execute the programs that schedule the hundreds of actions needed to perform shot sequences. Sequence programs are described as state machines and VB scripts which are then embedded into the PANORAMA supervisory software that executes them in a distributed manner. Objects, properties and functions of the PANORAMA applications are made available from the scripts through specialized API.

WEP002
BEPCII EPICS Data Archiving and Retrieving System
C.H.Wang, S.Liu, Z.Zhao* (IHEP Beijing)
IHEP has installed the BEPCII project that has been funded by the Chinese Government in order to further upgrade the BEPC (Beijing Electron Positron Collider) which has operated since 1989.As a part of this updating project, control system is decided to use the Experimental Physics and Industrial Control System, EPICS. The Channel Archiver is an archiving toolset for EPICS. It can archive any EPICS channel value that is available via ChannelAccess (CA), the EPICS network protocol. The paper will introduce how to establish EPICS data archiving and retrieving system in BEPCII. It will talk about how to configure and use Channel Archiver and Archive Viewer software based on HP Server and Disk Array platform.

WEP004
Web Services for APS Control Systems Relational Database Software: Tying It All Together
D.E.R.Quock* (ANL)
The use of relational databases at Argonne National Laboratory's Advanced Photon Source (APS) for managing extensive and diverse control systems content is found in several different applications that are built with various types of software technology. Two heavily used, operations-mission-critical database applications at APS are the Integrated Content Management System (ICMS), an Oracle commercial product that is used primarily at APS for document management, and the Integrated Relational Model of Installed Systems (IRMIS), originally designed and developed by APS controls scientists and engineers with open source software for capturing as-built information about the particle accelerator control systems. To meet the objectives of minimizing data redundancy, automating data transfer, and providing efficient and accurate data mining among database applications, Web Services technologies options have been explored as a means of tying IRMIS and ICMS together. This paper describes the use of Simple Object Access Protocol (SOAP), an XML-based messaging protocol for executing code on remote systems, as a means for seamlessly interfacing two different types of database technologies.
Work supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under Contract No. DE-AC02-06CH11357.

WEP005
The LHC Logging Service: Handling Terabytes of On-line Data
A.Khodabandeh, E.B.Grancher, N.Segura Chinchilla, R.Billen, R.Billen*, R.D.Gaspar Aparicio (CERN)
Based on previous experience with LEP, a long-term data logging service for the LHC was developed and put in place in 2003, several years before beam operation. The scope of the logging service covers the evolution over time of data acquisitions on accelerator equipment and beam related parameters. The intention is to keep all this time-series data on-line for the lifetime of LHC, allowing easy data comparisons with previous years. The LHC hardware commissioning has used this service extensively prior to the first beams in 2008 and even more so in 2009. Current data writing rates exceed 10TB/year and continue to increase. The high data volumes and throughput rates, in writing as well as in reading, require special arrangements on data organization and data access methods.

WEP006
The LSA Database to Drive the Accelerator Settings
R.Billen, R.Billen* (CERN)
The LHC-era Software Architecture (LSA) used to operate the particle accelerators at CERN is dependent on an online database to manage both high and low level parameter settings, including their evolution over time. Accelerator optics models, control sequences, reference values, are amongst the other entities being managed within the database. The LSA database can be considered as being located between the operators and the accelerators; therefore performance, availability, and security of the service as well as data integrity are paramount. To meet these requirements the LSA database model has been carefully developed, all database access is tightly controlled and instrumented, business logic is implemented within the database, and there is a semi-automatic integration with other key accelerator databases. Currently 7 million settings for some 40 thousand devices of the LEIR, SPS, and LHC accelerators are being effectively managed.

WEP007
FESA 3.0: Overcoming the XML/RDBMS Impedance Mismatch
M.Martin Marquez, M.Peryt*, R.Billen (CERN)
The Front End System Architecture (FESA) framework developed at CERN takes an XML-centric approach to modeling accelerator equipment software. Among other techniques, XML Schema is used for abstract model validation, while XSLT drives the generation of code. At the same time all the information generated and used by the FESA framework is just a relatively small subset of a much wider realm of Controls Configuration data stored in a dedicated database and represented as a sophisticated relational model. Some data transformations occur in the XML universe, while others are handled by the database, depending on which technology is a better fit for the task at hand. This paper describes our approach to dealing with what we call the "XML/Relational impedance mismatch" - by analogy to Object/Relational impedance mismatch - that is how to best leverage the power of an RDBMS as a back-end for an XML-driven framework. We discuss which techniques work best for us, what to avoid, where the potential pitfalls lie. All this is based on several years of experience with a living system used to control the world's biggest accelerator complex.

WEP008
The New CERN Controls Middleware Directory Service
J.Lauener, P.Charrue, P.Charrue* (CERN)
Within the CERN Controls middleware infrastructure the directory service plays the central role and is therefore considered to be a critical component. A complete middleware infrastructure is deployed and intensively used to access devices in all the accelerators complex. With the increase of the number of devices, new communication technologies and new demands in terms of management and statistics, a new Directory Service has been studied, developed and deployed in operation in December 2008. This presentation will describe the user requirements, the new directory service architecture, the enhancement implemented and its first results in operation.

WEP009
ALBA Control & Cabling Database
A.Ruz, D.B.Beltran*, D.Fernandez-Carreiras, I.Costa, J.Klora, J.Ribas, J.V.Gigante, O.Sanchez, R.Ranz, S.Rubio-Manrique, V.Prat (CELLS-ALBA Synchrotron)
CELLS has developed a database as a main repository for the cables and control devices in the ALBA facility. Regarding cables, the database has all the information about the cable configuration (cable and connectors on both sides) and routing (trenches and cable length) as well as the devices where the cables are plugged in. The dabatase performs two checks before uploading a cable: the connector on the equipment and on the cable match, a cable was not connected yet to that equipment. The cables have different status, according to their installation process (received, installed, tested OK, tested error, etc). Regarding control devices, the database has all the information about the devices (serial numbers of computers and boards, DHCP address) and tests done (Operation system, drivers and Tango). This database has a friendly web interface for user access. It allows many types of filters for cable & devices: location in the tunnel or in the racks, by system (SR, Booster, BL1, ...), by routing (name of trench).

WEP010
Validation of a MySQL-based Archiving System for ALBA Synchrotron
S.Rubio-Manrique* (CELLS-ALBA Synchrotron) G.Strangolino (ELETTRA) M.Ounsy, S.Pierre-Joseph Zephir (SOLEIL)
ALBA Synchrotron collaborates with SOLEIL and ELETTRA institutes in the improvement of the Archiving System for Tango. An open source Database engine (MySQL) has been chosen and the viability and limitations of a MySQL-based Archiving System have been evaluated in a test platform. Using Java-based data collectors both centralized and distributed architectures have been tested. It allowed to demonstrate the maturity of the system, being achieved the most critical requirements.

WEP011
Automated Experimental Data Analysis at the National Ignition Facility
A.L.Warrick, E.J.Bond, J.A.Liebman, J.D.Tappero, P.W.Edwards, R.C.Bettenhausen, R.G.Beeler, S.G.Azevedo*, S.M.Glenn, W.H.Williams (LLNL)
The National Ignition Facility (NIF) at the Lawrence Livermore National Laboratory is a 192-beam 1.8 MJ ultraviolet laser system designed to support high-energy-density science, including demonstration of inertial confinement fusion ignition. After each target shot lasting ~20 ns, scientists require data acquisition, analysis, and display within 30 minutes from more than 20 specialized high-speed diagnostic instruments. These diagnostics measure critical x-ray, optical, and nuclear phenomena during target burn to quantify ignition results that are compared to computational models. All diagnostic data (hundreds of Gbytes) are automatically transferred to an Oracle database that triggers the NIF Shot Data Analysis (SDA) Engine, which distributes the signal and image processing tasks to a Linux cluster. The SDA Engine integrates commercial workflow tools and messaging technologies into a scientific software architecture that is highly parallel, scalable, and flexible. Results are archived in the database for scientist approval and displayed using a web-based tool. The unique architecture and functionality of the SDA Engine will be presented along with examples.
This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

WEP012
Application of MDSplus for the Management of the Pulsed-based Experimental Data in KSTAR Tokamak
M.K.Park, S.Lee, T.G.Lee* (NFRI)
Different from the accelerator to operate continuously, the KSTAR as a tokamak device which has features of continuous operation and shot-based pulse operation has different types of data generated. One is a continuous plant data coming from a vacuum monitoring system, a tokamak monitoring system, and this data is archived with EPICS channel archiver. The other is a shot-based experimental data generated only for a plasma discharge shot. This type of data is archived using MDSplus which is widely used in the fusion environment. In the category of the experimental data, every diagnostics data, heating parameters and real-time plasma feedback data belong here. Besides MDSplus, EPICS channel archiver is partially used to archive the configuration parameters of DAQ systems and shot information. Because experimental data are transferred to a central storage after the completion of a discharge shot, low-speed run-time data is archived in duplicate using EPICS channel archiver to monitor plasma during a shot. This paper will present the application of MDSplus for management of pulse data from tokamak device in conjunction with EPICS channel archiver according to the applications.
National Fusion Research Institute, 113 Gwahangno, Yusung-gu, Daejeon, 305-333, KOREA

WEP013
Application of a Simple Text Format as a Device Configuration File
T.T.Nakamura* (KEK)
In the KEKB magnet control system, relational database management system (RDBMS) has been used for the management of the device configuration. Most of the device parameters, such as address of the interfaces, constant parameters of the magnet power supplies, excitation functions of the magnets, limit values for the operation, etc. are stored in the RDBMS. These parameters are used mainly for the macro expansion to generate the runtime EPICS database files. They are also used to configure the high level application programs. Although this scheme is flexible, it is heavy to maintain with little man power in the KEKB control group. To reduce the maintenance cost, restructuring of this scheme is planned. The plan consists of two major changes. One is the reducing data and making data structure simpler. Another is the replacing tools with simpler ones. As the part of the restructuring, the replacement of the RDBMS with a simple configuration files is planned. The configuration file has simple text format, which is designed easy to read and easy to modify only using text editor. The detailed design of the format and its application to the KEKB magnet control system are presented.

WEP014
Two-level Channel Model in Three-level Control System
A.V.Makeev, D.Bolkhovityanov, D.Bolkhovityanov*, P.B.Cheblakov, Y.I.Eidelman (BINP SB RAS)
The modern classical architecture of a control system includes three levels: client application level, server level for synchronization of data exchanges and hardware level, which includes hardware drivers. There are two different types of data exchange in the three-level control: between client and server levels and between server and hardware levels. The concept of "channel" maintains the both types of data exchange. The channel implementation connects a physical characteristic of a controlled facility (in the client level) with a corresponding value in an electronic device. The presented paper describes a two-level channel model, which includes the difference between the data exchange types. The two-level channel model separates the specific attributes of the data exchange types and provides a flexible interface between a physical characteristic of a facility and an implementation of electronics. The model includes two levels of channels: client channels connected with facility physical characteristics and hardware channels connected with electronics. A description of channel types, relations between two levels and an exchange protocol project are presented in this paper.

WEP015
Grid-enabling the Astra Gemini Laser Data
A.A.Pakhira, A.Kidd, D.A.Pepler*, D.Neely, K.Hayrapetyan, L.Lerusse, L.Sastry, M.M.Notley, M.T.Gleaves, S.Nagella, V.A.Marshall (STFC/RAL)
Astra Gemini is a dual beam Ti:Sapphire laser capable of delivering up to 0.5 PW in each of its two beams*. The system can fire once every 20 seconds (producing over 1000 shots per day) and has over 200 diagnostic channels, including spectra, pulse length, traces, near and far-field images. This combination of multiple diagnostics and high shot rate leads to an unprecedented amount of performance and diagnostic data to save and analyse. To cope with this demand a system has been developed to automatically capture and analysis laser data on every shot, store it in an Oracle database and retrieve it on demand. A graphical user interface has been written to extract, sort and display the data in a tabular form. Powerful functions have been implemented to allow any parameters to be selected and plotted against one another to analyse performance trends and fluctuations. Metadata about each diagnostic can also be input to build a holistic picture of the laser system and help with future analysis. To increase the value it is planned to incorporate the target area experimental diagnostics into the system and make the data available to participating experimenters anywhere around the world.**
* http://www.clf.rl.ac.uk/reports/2007-2008/pdfs/s7/ar07-08_s7_commisioning_the_south_beam.pdf** http://www.clf.rl.ac.uk/reports/2007-2008/pdfs/s7/ar07-08_s7_eclf_project_progress.pdf

WEP016
EPICS and IRMIS
D.Dohan* (BNL)
The IRMIS relational database toolkit provides a global view of the facility's installed control software. A non-invasive crawler detects IOC reboots, parses the IOC start up command file and populates the IRMIS database. Additional crawlers capture and store each process variable's Channel Access clients. A separate IRMIS sub-domain captures the facility hardware. Emphasis is placed on documenting the relationships between the components making up the plant ' how they are installed, how they are controlled and the power source for each component. The model has been extended to capture the cabling between the facility infrastructure elements. This paper addresses the elusive goal of merging these disjoint hardware and software domains. The component-type definition has been extended to include the 'channels' exported by each component type. This provides the basis for mapping hardware channels to EPICS process variables. To support this mapping, process variable introspection has been added to the schema. This paper discusses procedures put in place to support data validation and consistency.
Work performed under auspices of the U.S. Department of Energy under Contract No. DE-AC02-98CH10886 with Brookhaven Science Associates, LLC.

WEP017
Design of a XFEL Beamline DAQ System
A.Yamashita, R.Tanaka, T.Hirono, T.Ohata*, Y.Furukawa (JASRI/SPring-8) M.Yabashi, T.Hatsui, T.Ishikawa (RIKEN/SPring-8)
We have designed the control and the data acquisition system for the SPring-8 XFEL beamlines. The XFEL generates ultra-short pulsed coherent X-ray laser with the 60Hz beam repetition rate. Two-dimensional x-ray detectors are under development for X-ray detection. The data acquisition system for the detectors has to synchronize with the accelerator beam operation cycle to obtain correlations between incident X-ray and experimental data. The tagging system that records event numbers in the measurement data is especially important. The key technologies to make a success of the DAQ system of XFEL beamline are a tagging system of the 60Hz X-ray pulse, a real-time compression of fast massive data and low-latency network for data transfer. Both the network system of 3~4 Gbps bandwidth and the storage system with a near petabyte will be required in the initial operation phase of the XFEL project. At first, we developed a FPGA based tagging board that delivers tag numbers of X-ray pulse shots with parallel and serial interfaces. A first test system will be assembled by early 2010.

WEP018
Software Applications for the Commissioning of the LHC Superconducting Circuits
A.Rijllart, B.Bellesia, J.Szkutnik, M.Pojer, M.Solfaroli Camillocci, M.Zerlauth, M.Zerlauth*, R.I.Saban, R.Schmidt (CERN) A.Marqueta Barbero, C.Fernandez-Robles (IBERINCO)
During the 2008 Hardware Commissioning phase of the Large Hadron Collider, the 1572 superconducting circuits of the accelerator were individually tested at different current levels before being released for operation with beam. Almost 12, 000 tests had to be carried out in about six months, the performance of the different circuits analysed and the results stored. In order to cope with the schedule, manpower constrains and huge complexity of the systems under test, a set of software tools was developed during the last two years in order to automate as much as possible the preparation, execution, analysis and tracking of the tests. This paper outlines the different tools developed, describes their integration amongst themselves and within the whole Hardware Commissioning Project and details the overall performance and positive impact they have had on the different actors involved in these powering tests.

WEP019
Crawling the Control System
T. L.Larrieu* (JLAB)
Information about accelerator operations and the control system resides in various formats in a variety places on a lab network. There are operating procedures, technical notes, engineering drawings, and similar formal controlled documents. There are programmer references and API documentation generated by tools such as doxygen and javadoc. There are the thousands of electronic records generated by and stored in databases and applications such as electronic logbooks, training materials, wikis, and bulletin boards and the contents of text-based configuration files and log files that can also be valuable sources of information. The obvious way to aggregate all these sources is to index them with a search engine that users can then query from a web browser. Toward this end, we evaluated open source search engine software, "Oracle Text", and the Google "mini" search appliance. We chose to implement the Google 'mini' because of its low cost and simple web-based configuration and management. The presentation will s some pros and cons of different search engine choices we evaluated and what we have learned from our experience configuring and using the Google "mini" search appliance.
The U.S. Government retains a non-exclusive, paid-up, irrevocable, world-wide license to publish or reproduce this manuscript for U.S. Government purposes.
Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177.

WEP020
Life Cycle Management System for Accelerator Equipment
A.Yamashita, Y.Ishizawa* (JASRI/SPring-8)
We have developed life cycle management system for accelerator equipment. It manages whole life cycle of equipment used in accelerators from production to scrapping. The key component of the system is labels two dimensional bar code (QR-code) sticked on equipment at the production time. A dedicated device reads ten digit serial number on the label at every event on the equipment i.e. production, delivery, temporary stock, installation, repair, re-installation and scrapping. Labels sticked on wall or floor of the building manages the location of equipment. A relational database management system (RDBMS) stores data. Users can access data from the web interface. Web based GIS (Geographic Information System) provides interactive map to display location of equipment. Documentations on equipment are also manged by the RDBMS. We present the design, implementation and operation of the system.

WEP021
A MySQL Based EPICS Archiver
C.J.Slominski* (JLAB)
Archiving a large fraction of the EPICS signals within the Jefferson Lab (JLAB) Accelerator control system is vital for postmortem and real-time analysis of the accelerator performance. This analysis is performed on a daily basis by scientists, operators, engineers, technicians, and software developers. Archiving poses unique challenges due to the magnitude of the control system. A MySQL Archiving system (Mya) was developed to scale to the needs of the control system; currently archiving 58, 000 EPICS variables, updating at a rate of 11, 000 events per second. In addition to the large collection rate, retrieval of the archived data must also be fast and robust. Archived data retrieval clients obtain data at a rate over 100, 000 data points per second. Managing the data in a relational database provides a number of benefits. This paper describes an archiving solution that uses an open source database and standard off the shelf hardware to reach high performance archiving needs. Mya has been in production at Jefferson Lab since February of 2007.
Notice: Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177.

WEP022
Timing Delay Management Database for J-PARC Linac and RCS
H.Sakaki (JAEA) H.Takahashi*, H.Yoshikawa (JAEA/J-PARC) M.Sugimoto (Mitsubishi Electric Control Software Corp)
J-PARC Timing System is defined two kinds of timing, scheduled timing and synchronization timing. The scheduled timing is defined by a delay determined in advance from the reference trigger sent from the central timing control. Most devices and power supplies run with the scheduled timing. The scheduled timing system is configured one transmitter module in central control room and many receiver modules in device installed rooms (in total more than one hundred modules). Three signals which are the master clock, the reference trigger clock and the type, and LUT (Look-up Table) are distributed to the all receiver modules from transmitter module. An LUT is delay data block which is 256 * 8 array (The "256" is the number of "type", the "8" is the number of "trigger fan-out" per one receiver module). Then, a great number of "delay data" have to be managed for accelerator operation. The paper presents about the database to manage the timing delay for Linac and RCS*.
* 3GeV Rapid Cycling Synchrotron

WEP023
Correction of Phase and Amplitude Error of RF Modulator and Demodulator
M.Yamaga (JASRI/SPring-8) H.Maesaka, N.Hosoda, S.M.Matsubara, T.Ohshima*, Y.Otake (RIKEN/SPring-8)
The XFEL/SPring-8 project is in progress. SASE in X-ray region requires a high peak current of 3 kA, which will be achieved with an extremely stable rf accelerating field. In most severe case, the acceptable error in an rf phase is extremely small, such as 0.01 degree in root mean square. To make a stable rf field, we developed a high-speed DAC/ADC and an IQ modulator/demodulator to control/detect the low level rf signals. Modules with high setting/detecting accuracy are one precondition to achieve good stability. But the developed modules could have offset and gain errors because of the requirement of the high-speed operation. So we made the calibration method using a network analyzer to correct the errors. By using this method we could reduce the phase error of the C-band IQ modulator from 0.5 degree p-p to 0.1 degree p-p, for example. In this paper the detail of the calibration method and its performance will be shown.

WEP024
Development of Microcontroller-based Computer Interface Board and Local Display Unit for Steering Magnet Power Supplies
S.Bhagwat (BARC) C.Datta, D.Sarkar, K.Datta*, S.Bandyopadhyay (DAE/VECC)
A microcontroller-based computer interface board and a local display unit have been designed and developed to monitor and control the power supplies from local panel as well as from the remote console. The main objective of this development is to provide support for the computer control of the indigenously developed bipolar X-Y steering magnet power supplies for the injection line of the K=500 Super Conducting Cyclotron at VECC, Kolkata.The interface board is designed around an Intel 8051 microcontroller which is programmed with firmware of different tasks like setting the current of the power supply through 12-bit DAC, reading the output current of the power supply through 12-bit ADC and communicating with remote computer through an optically isolated RS 485 port following a customized command-response protocol. This facilitates the operation of 12 number of power supplies connected in a multi-drop fashion from a remote centralised control panel. Through the local front panel, a user can set the current of the power supply, monitor the output current and the status of the power supply.

WEP025
BEPCII Timing System
G.Lei*, G.Li, G.X.Xu, L.Wang, W.Gao (IHEP Beijing)
BEPCII is the upgrade project of Beijing Electron Positron Collider and its timing system has been constructed based on EVG and EVRs. Details of BEPCII timing system will be discussed in this paper. The fast bucket selection in 50Hz will be introduced too.

WEP026
Design and Implementation of a Full-featured Distributed Synchronization System Using Commercial Hardware
B.Kalantari*, T.Korhonen (PSI)
In large scale facilities like accelerators, synchronization is not only about triggering. Other aspects of synchronization, namely synchronous data acquisition and/or collection and data time-stamping are equally important. In this paper we first discuss the general synchronization requirements of modern accelerators and then describe our approach to address such requirements in PSI-XFEL project. In our XFEL test stand we have implemented a full-featured synchronization system by integrating off-the-shelf hardware into a distributed control system (EPICS). By full-featured we mean a unified mechanism which addresses all aforementioned synchronization requirements (triggering, synchronous data acquisition/collection, time-stamping). We describe in detail our method to achieve this and explain what software components we had to develop in addition to available control system software.
Paul Scherrer Institute

WEP027
System Integration Effort on MagViz a Liquid Explosive Detection Device
J.F.Power, J.O.Hill, M.Pieck* (LANL)
Los Alamos National Laboratory (LANL) technologists have adapted Magnetic Resonance Imaging (MRI) technology from medical devices to create MagViz, a new diagnostic and imaging device distinguishing potential-threat liquids from the harmless substances that the public might take onboard an aircraft. The MagViz system is a new ultra-low-field MRI approach using (SQUIDs) Superconducting Quantum Interference Devices for data acquisition. Linked with a computer database, MagViz reliably identifies some 50 liquids from the chemical fingerprints of their dynamic response to polarization stimulus wavefoms. The underlying technology for MagViz has been developed for an experimental laboratory environment. A controls team took the individually developed, highly incoherant, multi-platform collection of hardware and software applications, and integrated them into a coherant system. This paper will describe the integration effort, the problems faced, and the lessons learned when integrating a large number of hetterogenous systems; I.e. polarization stiumulus waveform generation system, SQUID control system, conveyer belt, camera image acquisition, data analysis library, and user interface.
Funded by the U.S. Department of Homeland Security. LA-UR- 09-02350

WEP028
Development of a Multi Functional Unit, Blanc4
M.I.Ishii*, T.Ohata (JASRI/SPring-8)
A beamline station control system in SPring-8 has been installing two types. One is a VMEbus system and another is a desktop PC-Based system. The VMEbus system was adopted to construct a flexible control system by combining VME modules. However, the VMEbus system is over engineering for a compact control system to handle a few I/O signals or a few motor axes. And the VMEbus system is hard to handle for beamline staffs who are not experts of control system. On the other hand, the desktop PC-Based system is relatively low-cost and suitable for small system. However, the system is inferior in stability and scalability to the VMEbus system. To construct a reliable, flexible, compact, low-cost and user-friendly system, we developed a multi functional unit, Blan4, that is a flexible embedded computer supporting COM Express basic form factor. A Blanc4 has two PCI slots and two PCI Express slots in just 1 U height. A Blanc4 can replace connector panels and signal conditioning boards customized for each control target. We report the Blanc4 assembling as a flexible multi functional unit.

WEP029
The White Rabbit Project
G.Gaderer, P.Loschmidt (Austrian Academy of Sciences) E.G.Cota, J.H.Lewis, J.Serrano*, M.Cattin, P.Alvarez, P.M.Oliveira Fernandes Moreira, T.Wlostowski (CERN) J.Dedic (Cosylab) C.Prados, M.Kreider, R.Baer, S.Rauch, T.Fleck (GSI)
Reliable, fast and deterministic transmission of control information in a network is a need for many distributed systems. One example is timing systems, where a reference frequency is used to accurately schedule time-critical messages. The White Rabbit (WR) project is a multi-laboratory and multi-company effort to bring together the best of the data transfer and timing worlds in a completely open design. It takes advantage of the latest developments for improving timing over Ethernet, such as IEEE 1588 (Precision Time Protocol) and Synchronous Ethernet. The presented approach aims for a general purpose, fieldbus-like transmission system, which provides deterministic data and timing (sub-ns accuracy and ps jitter) to around 1000 stations. It automatically compensates for fiber lengths in the order of 10 km. This paper describes the WR design goals and the specification used for the project. It goes on to describe the central component of the WR system structure - the WR switch - with theoretical considerations about the requirements. Finally, it presents real timing measurements for the first prototypes of WR hardware.

WEP030
A New Magnetic Field Regulation System for the CERN Proton Synchrotron
J.-P.Burnet, J.L.Gomez Costa, M.Chamiot-Clerc, M.Veenstra*, Q.King, X.Genillon, Y.Gaillard (CERN)
The power supply for the main magnets of the CERN Proton Synchrotron consists of a motor/generator set and thyristor converters. It has been equipped with a new control system incorporating high-precision digital magnetic field regulation, which is presented in this paper. The new controls are based on a standard control system for LHC thyristor converters, adapted for field instead of current control. Since magnetic field determines beam orbit, field is preferable over current regulation in the presence of magnetic saturation and hysteresis, and it is necessary for a multi-cycling machine with variable remanence. The magnetic field is regulated by a digital controller implementing an algorithm based on the RST three-polynomial form, in which the performance of the regulation and tracking can be independently optimized. It acts through an analogue proportional/integral voltage loop which drives the original firing system. The fast and high-precision field measurement is provided by an existing system, which integrates the field derivative measured by flux pick-up coils. The paper reports on system design, operation and performance.

WEP031
Developement of a New Phase Detector for the APS Linac
A. F.Pietryla*, A.E.Grelick, W.E.Norum (ANL)
An effort is being made to upgrade the Advanced Photon Source Linac rf phase detector system. The decision was made to replace the current phase measurement system, which is based on a Los Alamos designed analog vector detector module, with a digital I/Q method. As an initial step we reconfigured one of our current 8-channel, 14-bit ADC designs, originally developed for the storage ring beam position monitor system, to perform the I/Q sampling and the phase and magnitude computations. This paper discusses the current board design, proposed modifications to optimize the board for this application, and field programmable gate array design.
Work supported by U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under contract No. DE-AC02-06CH11357

WEP032
PCI/cPCI Interface for PSI Power Supply Controller
D.B.Beltran*, D.Fernandez-Carreiras, F.Becheri, J.Klora, J.V.Gigante, L.Krause, M.Lipinsky (CELLS-ALBA Synchrotron)
CELLS has developed a PCI/cPCI interface for the PSI controller for Power Supplies. Those power supplies are used for the Storage Ring corrector magnets (for slow and fast orbit feedback) and the corrector magnets of the Insertion Devices. The hardware interface has a commercial IP carrier (either PCI or cPCI), the PSI PSCIP2 Power supply control module, and a in-house rackable transition module (conversion between the electrical signal of the PSI PSCIP2 module and the optical signal). On the software side, an existing driver for Linux 2.4 VME has been adapted and upgraded to 2.6 PCI. A Tango device server is also available for both Fiber optic links and serial Line.

WEP033
Using an IIDC/DCAM Camera for Beam Display and Analysis
D.M.Gassner, L.T.Hoff, R.H.Olsen* (BNL)
An IIDC/DCAM camera is used to image the RHIC beams as they pass through a hydrogen jet. The data is transferred over 1394 to a computer running linux. A software process on that computer collects the individual frames and packages them into parameters within the RHIC control system's Accelerator Device Object framework. This information is packaged to continuously update two primary types of clients: One type is responsible for near-real-time display of the images; useful in comfort displays, etc. The second is responsible for collecting data used in analysis of beam dynamics and properties like luminosity.
Work supported by Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy

WEP034
Application of VEPP-4M Database for Analysis Radiation Resistance of Temperature Sensors on Base DS1631Z
O.A.Plotnikova*, S.E.Karnaev, V.Y.Chudaev (BINP SB RAS)
The temperature system on base DS1631 has proved its reputation as simple and reliable. In how intense ionizing radiation the system can remains operational for a long time? To answer this question the set of temperature sensors was placed at the converter of VEPP and the measurements have been adding to our DB every minute during one month. A dose of ionizing radiation had been registering every 3 days. The results of this experiment are described in the article.

WEP035
Data Acquisition for SSRF Ring Bunch Charge Monitor
S.T.Huang, W.M.Zhou, Y.B.Leng*, Y.B.Yan (SSRF)
Bunch charge uniformity control is very important for storage ring top-up operation. In order to monitor filling pattern and measure bunch charge precisely an PXI waveform digitizer based data acquisition system was developed to retrieve bunch charge information from BPM pickup signals. Effective sampling rate could be extended to 400GHz by waveform rebuilding technology , which folds multi turns data into single turn with real time sampling rate of 8GHz. Online evaluation shows charge resolution could be better than 0.5% for 1nC range.

WEP036
Development of Software for Event System in KEK Linac
K.Furukawa, M.Satoh (KEK) S.Kusano*, T.Kudou (MELCO SC)
The KEK Linac injects the electron and positron beams into the KEKB-LER, KEKB-HER, PF and PF-AR rings with four different characteristics. In order to improve the beam operation efficiency, we have planned the simultaneous top-up operation for the PF and KEKB. The fast beam switching mechanisms are being developed and installed. For those mechanisms, the linac parameters of timing and low-level rf phase should be controlled in the pulse by pulse of 50 Hz. In this paper, we will present the event timing system to the KEK Linac control system in detail.

WEP037
Implementation of PIC-based Embedded I/O Controller with EPICS for RILAC Control System
J.-I.Odagiri (KEK) M.K.Fujimaki, M.Komiyama (RIKEN Nishina Center) H.Yamauchi (SHI Accelerator Service Ltd.) A.Uchiyama* (SHI Accelerator Service ltd.)
In the RIKEN RI beam factory project (RIBF), the accelerators are operated by the remote control system based on EPICS. On the other hand, for RIKEN Linear Accelerator (RILAC) of RIBF injector, the control system include not only EPICS-based controllers, but also handmade hard-wired controllers still in operation. It is required to replace the handmade hard-wired controllers with ones which can interface with the EPICS-based system on an ethernet interface. Since sequential logic control is not required on the controllers, costly Programmable Logic Controllers (PLCs) are not the appropriate candidate. To implement the low cost embedded controller in our system, we developed EPICS device support using asynDriver for PIC Network Interface Card (PICNIC*). The characteristics of PICNIC is Microchip PIC16F877 based embedded I/O controller with a network interface, a serial port, DIO 8ch and AI 4ch. It is suitable to use this controller for simple control, such as on-off control using electromagnetic relay. In April 2009, we started to adopt PICNIC as one of the remote controller in RILAC control system. In our contribution, we report this system and present the status in detail.
*http://www.tristate.ne.jp/picnic-e.htm

WEP038
CompactPCI Express for Control Applications
H.Kleines*, M.Drochner, M.Ramm, W.Erven (FZJ)
CompactPCI (CPCI) is well established in control applications as a standard for industrial PCs and as a standard for front-end instrumentation, e.g. by means of the transparent optical PCI/CPCI Bridge MXI-4 from National Instruments. In both application areas increasing performance requirements ask for a replacement of the parallel CPCI bus by a backplane based on high speed serial links, similar to the replacement of PCI by PCIe in the desktop environment. CompactPCI Express (CPCIe) and its derivative PXI Express (PXIe) both provide a smooth and cost-efficient transition path from CPCI to high speed serial links on the backplane. Forschungszentrum Jlich has developed a CPCIe carrier board for CMC daughter modules that is compatible to the SIS1100 boards from company Struck Innovative Systeme. The CPCIe carrierboard is based on a single lane PCIe implementation with the PEX8311 ASIC from PLX. A development environment has been setup, that consists of crates from Schroff, CPUs from MEN and the transparent electrical PXIe/PCIe bridge MXI-Express from National Instruments. The design and application of the new board as well first experiences with the new technology are presented.

WEP039
Timing System Upgrade for SNS
J.Dedic (Cosylab) D.H.Thompson* (ORNL) D.Curry (ORNL RAD)
A timing system is a crucial subsystem of every accelerator, responsible for orchestrating the entire machine cycle by cycle. The current SNS timing system is based on the modified BNL solution which in turn is based on previous systems at other sites. The timing master is a collection of low functionality VME building blocks that are highly dependent on creative software to achieve the needed system functionality. The implementation technology of the whole system is backdated, making it impossible to build and maintain spares and boards for machine upgrades. At SNS we chose a roadmap which would allow a gradual upgrade of the timing system without having to redesign everything at once and yet provide a path for future modernization of the infrastructure. This paper presents progress on new timing master and receiver card, which will provide us with more flexible control and greater reliability by tremendously reducing the component count while still retaining compatibility with existing timing receiver units. The designs emphasize the use of FPGA technology in a way that simplifies the supporting software. The design of the system is a collaboration effort of ORNL and Cosylab.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

WEP041
Hard Real-Time Networks for Fast Feedback and Timing
S.Hunt (AHB) A.Zagar, J.Dedic, K.Zagar*, P.Kolaric, R.Sabjan, R.Stefanic (Cosylab)
Large experimental physics facilities are frequently large, with components of the control system interconnected with cables that can be kilometers in length, making accurate time synchronization and closed feedback loop implementation a challenge. Feedback loops incorporate inputs from dozens of sensors, driving multiple actuators, at kHz rates. Such facilities include CERN's LHC, where the controlled equipment is placed along the 27km ring; the ITER experiment, where about 150 plant system will diagnose and actuate the plasma so that it does not harm the reactor's wall; and the ESO's proposed 42-meter E-ELT optical telescope, whose adaptive optics will need to cancel-out the effects of the atmosphere. We report on evaluation of hard real-time network technologies: 1) application of gigabit ethernet with high-end switches and real-time Linux operating system to achieve a deterministic 1kHz closed-loop; 2) IEEE 1588 compliant equipment to achieve sub-microsecond time synchronization; and 3) performance of low-latency solutions for hard real-time event propagation, in particular Micro-research Finland's timing system and CERN's proposed White Rabbit protocol.

WEP042
The Motor Control in the SPARC Injector
D.Filippetto, E.Pace, G.Di Pirro*, S.Fioravanti (INFN/LNF) A.Cianchi (Universit di Roma II Tor Vergata Physics Department)
Inside the injector SPARC from the first test with the gun the motor are used for various purposes bellow movement, flag insertion, filter selection and mirror . We describe how we integrate different kind of motor with the same interface from the operator console. In our system we integrate brushles Mitsubshi motor, stepper motor with driver from Thorlabs and Technosoft. All the motor integrated in the control system have a serial interface.

WEP043
The Camera Acquisition System in the SPARC Control System
D.Filippetto, E.Pace, G.Di Pirro*, S.Fioravanti (INFN/LNF) A.Cianchi (Universit di Roma II Tor Vergata Physics Department)
One of technical challenge in many physics experiments is to capture and process images. There are many solutions in this domain. In the SPARC injector we use mainly a IEEE1394 cameras but we also start to introduce some gigaVision Ethernet cameras. Both type of cameras are easily connected with the PCs. We present solution about cameras' integration into the SPARC control system to allow the development of high level program without know the type of camera used.

WEP044
LXI Instrumentation, with EPICS IOCs, for Remote Waveform Monitoring & Analysis
L.Shaw* (ZTEC Instruments)
Off-the-shelf instruments based on the LAN eXtensions for Instrumentation standard (LXI) and with embedded EPICS input/output controllers (IOCs) are an ideal solution for many particle accelerator applications. These applications require responsive remote control and real-time waveform monitoring for critical accelerator systems. These instruments typically have the same feature sets and powerful analysis capabilities that today's high-end benchtop instruments have. With an embedded EPICS controller, the instruments easily integrate into the EPICS environment without the need for EPICS drivers or external controllers. LXI oscilloscopes and digitizers can perform advanced real-time waveform math and analysis using on-board FPGAs and DSP. The paper will detail an application at Oak Ridge's Spallation Neutron Source (SNS). At SNS, LXI EPICS oscilloscopes are being evaluated for waveform monitoring in injection and extraction kicker systems to perform real-time mask testing on the acquired waveforms.

WEP045
A Pico-Second Stable Clock and Trigger Distribution System for the European XFEL
K.Rehlich (DESY) A.Hidvegi, C.Bohm, C.Bohm* (Stockholm University Department of Physics)
For the operation of the European X-Ray Free Electron Laser (XFEL), a system wide synchronous low-jitter clock and precise, adjustable triggers must be generated and distributed throughout the 3.5 km long facility. Consumers are numerous diagnostics, controls, and experiments. Fast ADCs require the jitter of a distributed 1.3GHz clock to be in the order of a few pico seconds (RMS) and synchronized to the accelerating RF. Due to cable lengths, and the temperature dependence of the propagation speed, temperature drifts are a serious issue. Therefore a complex monitoring and compensation mechanism has been developed to minimize these effects. The hardware platform of the XFEL will be based on the new standard TCA and ATCA. Therefore the timing is implemented as a AMC (Advanced Mezzanine Card) module that fits into both crate systems. A prototype of this new clock and trigger system has been developed and first measurements have shown, that the strong requirements can be fulfilled.

WEP046
Development of the Undulator Control System for XFEL/SPring-8
T.Ohata (JASRI/SPring-8) T.Tanaka (RIKEN Spring-8 Harima) O.Otake*, T.Fukui (RIKEN/SPring-8)
We develop the prototype control system of XFEL/SPring-8 undulator and confirm the capability of the system. The XFEL consists of the 8GeV linear accelerator and the undulators. The undulator is important for lasing of the intense X-ray beam. For the lasing, the required positioning accuracy of the undulator gap is less than 1 micrometer. We have to control the undulator gap to be less than sub-micrometer resolution. To realize, we control the undulators by the periodic feedback with the linear encoders. In this paper, we will describe detail design of the undulator control system on XFEL.

WEP047
Upgrade of Readout System for Beam Position Monitors in the KEKB Beam Transport Line
K.Furukawa, M.Satoh, N.Iida (KEK) K.Yoshii, T.Aoyama*, T.Nakamura (MELCO SC)
At the KEKB accelerator, electrons and positrons are injected from the LINAC to the storage ring through the beam transport (BT) line. LINAC had continuously injected each beam alternately every about a few minutes. In our linacs system, it is very important to switch acceleration devicesfrom electron mode to position and vica versa to keep high storage currents. To attain this, we have developed new readout system for the beam position monitors (BPMs) at the BT line, by which the fast monitoring is possible. For the old BPM system, it had been taken a few seconds to switch the beam modes and about one second to measure the beam positions. With the new system, measuring interval was achieved to be 20 msec, including switching time, and we demonstrated that new system contributed to stable beam operation. In this manuscript, we will report on a detail of the fast readout for the BT BPM system including its performance.

WEP048
Controller Platforms from FPGA to ATCA and Reliable Operations at KEK
A.Akiyama, A.Kazakov, J.-I.Odagiri, K.Furukawa*, M.Satoh (KEK)
Several different equipment controller platforms are utilized in the control systems at KEK. Those platforms include the FPGA-based embedded controllers, VME bus systems, programmable logic controllers (PLC), Windows-embedded measurement instruments, micro-TCA and ATCA industry standard systems. Recent systems can accommodate intelligent control software such as EPICS IOC on them. Such software enables advanced actively controls with flexible development environment. In order to improve the availability of the control system some reliability enhancement mechanisms are utilized on those systems. Recent standards such as micro-TCA and ATCA have built-in facilities such as IPMI. We added such hardware to VME systems. Redundant operation configuration is also developed for ATCA and PLC systems. This paper describes those platform features utilized in the control systems.

WEP049
Digitally Controlled Magnet Power Supply
D.E.Kim, K.-H.Park*, S.-H.Jeong, Y.G.Young-Gyu (PAL) B.-K.Kang (POSTECH)
This paper presents an implementation of a precision magnet power supply (MPS) for the Pohang Light Source using the digitally controlled pulse width modulation method. The output current of the power supply was ±20 A at the precision of less than 10 ppm. The digital control circuit of the power supply was implemented using the 16-bit ADCs , the TMS320F2808 digital signal processor and the FPGA Spartan3. It has full bridge topology and optimized output filters. The duty ratio for output control was determined using the simple PI method. The one of the Ethernet (including EPICS), CAN or RS232C communication was possible. The various experimental results, such as stability, drift, and controllability, are given to verify the characteristics of the DSP based magnet power supply.

WEP050
Survey of Communication Links for ATCA in Physics
S.Simrock, T.Jezynski, WK.Koprek (DESY) D.R.Makowski* (TUL-DMCS)
Modern machines used in high energy physics require sophisticated and complex control systems. The complex systems are usually built as distributed systems. Therefore, the connectivity and communication links between distributed subsystems play a crucial role in the control system. The Advanced Telecommunication Computing Architecture (ATCA) and Advanced Mezzanine Card (AMC) standards have attracted the attention of physics community because they offer various types of Gigabit data communication channels, redundancy high reliability and availability. The standards allow using different types of communication interfaces like PCIe, Gigabit Ethernet, RapidIO. In real-time systems the data transmission latency is also important. The acquisition of real-time data from hundreds of analogue channels is required for the Low Level Radio Frequency Controller (LLRF) controller of XFEL (X-ray Free Electron Laser) accelerator. The paper presents survey of the communication interfaces of the LLRF controller for XFEL. The discussion includes the properties of interfaces provided by ATCA and AMC standards and summarizes requirements for the data links and protocols required by LLRF controller.
*Technical University of Lodz, Department of Microelectronics and Computer Science, Lodz, Wolczanska 221/223, Poland**Deutsches Elektronen-Synchrotron DESY, Notkestrasse 85, Hamburg, Germany

WEP051
Acquisition of Analog Signals in ATCA based LLRF Control System for X-FEL
M.K.Grecki, S.Simrock, T.Jezynski*, WK.Koprek (DESY) D.R.Makowski, W.Jalmuzna (TUL-DMCS)
The Low Level Radio Frequency System (LLRF) for the European X-FEL must provide exceptional stability of the accelerating RF field in the accelerating cavities. The regulation requirements of 0.01% and 0.01 degrees in amplitude and phase respectively must be achieved at a frequency of 1.3 GHz while keeping low drifts (during RF pulse). The quality of analog signal processing and distribution plays a crucial role in achieving these goals. The RF signals are connected to the Rear Transition Module (RTM), downconverted there into intermediate frequency (IF) signals and finally sampled at AMC-ADC module. The high quality of the signals (SNR, low crosstalk) must be assured across all the way. The paper presents the results of development of ATCA based LLRF system for XFEL. The special attention is paid to RTM module with downconverters and carrier board conducting analog signals to the AMC-ADC module in the presence of digital processing components (FPGA, DSP).

WEP052
Experience with Motion Control Systems at the Canadian Light Source
D.Bertwistle*, E.Matias, M.McKibben (CLS)
Devices requiring a motion control system are ubiquitous at the Canadian Light Source. The most numerous devices requiring control are found within the scope of beamlines and vary from simple slits to instruments as complex as endstations. A VME based motion control system has been implemented that is flexible, manageable, and relatively low cost. A general overview of the system is presented with advantages and disadvantages put forward.

WEP053
The First Steps of the Beam Intensity Measurement of the Spiral2 Injector
F.Gougnaud*, P.Mattei (CEA)
The Spiral2 Injector [*] includes several diagnostics. The first ones implemented are Faraday Cups, emittancemeters and DCCTs. Two types of acquisition for the beam intensity measurement on the Faraday Cup are being developed. They are based on different industrial electronic boards. The goal of the first type of acquisition is to determine an average intensity value using a traditional acquisition VME board (64 multiplexed channels). This was carried out for the beam tests on the low beam energy line at LPSC Grenoble in May 2009. The second type of acquisition is to perform a measurement synchronized with the beam pulse, the purpose of which is to provide the peak value. Due to the bandwidth of the expected signals, it is necessary to be able to sample at 1 MSamples/second with ADCs of which the resolution is greater or equal to 14 bits. We chose the couple of ADAS ICV108 (4 Megabytes buffer, event and flip/flop modes) and ICV178 (8 analog inputs with high accuracy) COTS VME boards. The associated Epics software is in progress and will also be integrated into the emittancemeters acquisition.
[*] Preliminary implementations for the new Spiral2 project control system E. Lcorch (Ganil) PCaPAC08, Slovenia

WEP054
Continuous Scan
F.Langlois, G.Abeille, G.Renaud*, J.Malik (SOLEIL)
SOLEIL is a third generation synchrotron. For beamlines acquisition, we have developed a process called "continuous scan". It allows to sample digital or analog events (typically from detectors) with motor positions while motors are moving. The goal is to reduce significantly deadtimes and to improve synchronization between motion and data acquisition. The hardware part based on CPCI architecture with industrial standards CPCI boards ensures perenity and reliability. Low level software is based on master/slave Tango DeviceServers. Such a system can typically run up to 1MS/sec during 30 min (or one hour at lower sampling frequency).This system operates on two SOLEIL beamlines (Cristal and Tempo ones) and in few weeks on a QuickExafs experiment (Samba beamline). An upgrade is under development to scan datas at 1MS/s without limit of time.

WEP055
PVSS-II for Indus-2 Control System- An Experience from Commissioning to Operation
B.N.Merh*, P.Fatnani, R.K.Agrawal, R.Yadav, S.Gangopadhyay (RRCAT)
Indus-2 is 2.5 GeV synchrotron radiation source. The control system has been built using supervisory control and data acquisition tool PVSS-II for all the supervisory-level accelerator operation applications. These applications interact with custom made equipment controllers widely distributed in the field. The system caters to more than ten thousand channels and about hundred equipment controllers. The paper describes the work that has been accomplished using PVSS-II in all the areas like API manager development for communicating with external applications, operator interface development with various system and field diagnostics information made available, prioritized alarm configuration and management and database archival to a central external database server. The paper further outlines the experience gained with PVSS-II in utilizing its features for continuous up gradation or modifications and testing aspects. The flexibility achieved and its importance in the commissioning and operation of the synchrotron utilization source is discussed. The paper also briefly comments on the PVSS system performance.

WEP056
Motion Controls Using EPICS and Galil Controllers.
R.I.Farnsworth* (ASCo)
A motion controller standard has been developed, Variant models of Galil motion controller were designed and are in use as the Australian Synchrotron. Controllers designed for small motors have integrated drive electronics, others for bigger motors utilize external drive electronics. An EPICS driver compatible with the range of Galil controllers was developed. The software driver uses the motor record and standard EPICS records to provide the interface. These provide additional features such as master/slave relationships, and gear ratio settings. The Galil driver's unique features include; "position maintenance" algorithms, compatible with Master/Slave relationships, unlike the motorRecord RTRY. Generic interfaces are provided so developers can provide solutions to future needs problems, whilst maintaining a complete EPICS interface to "custom" features. The driver allows swapping between a "primary" and a "secondary" encoder at run time .

WEP057
Control System for SIDDHARTH Medical Linear Accelerator
A.P.Bhagwat, V.B.Ukey* (SAMEER Medical Electronic Division)
Indigenously developed 6 MV SIDDHARTH* Medical Linear accelerator is successfully installed and commissioned at two different locations in India. So far more than 30, 000 various cancer patients has been treated using SIDDHARTH Medical Linear Accelerator at both locations. The SIDDHARTH Medical Linear accelerator is an electrical medical equipment type approved by Atomic Energy Regulatory Board, India for radiotherapy treatment of Cancer patients. Its control system is Supervisory Control and Data Acquisition (SCADA) Human Machine Interface (HMI) based along with CE marked industrial Modbus** controllers embedded within Medical Linear accelerator. The control system has qualified IEC-60601-1-4 standard for safety of programmable electrical medical systems and very easy to use, maintain. It possesses all necessary interlocks for personnel and machine safety. The safety risk analysis is done in accordance with ISO 14971. The design approach used is simpler one leading to shorter development cycle. The control system design philosophy for SIDDHARTH Medical Linear Accelerator is discussed in this paper.
*SIDDHARTH, Medical Linear accelerator model name.**Modbus, is a openly published serial communications protocol for connecting industrial electronic devices.

WEP058
The SNS Vacuum Control System Upgrade for the Superconducting Linac
D.C.Williams* (ORNL)
The superconducting linac of the Spallation Neutron Source (SNS) has 23 cryomodules whose vacuum system is monitored and controlled by custom built hardware. The original control hardware was provided by Thomas Jefferson National Laboratory and uses a variety of custom boards utilizing integrated circuits to perform logic. The need for control logic changes, a desire to increase maintainability, and a desire to increase flexibility to adapt for the future has led to a Programmable Logic Controller (PLC) based upgrade. This paper provides an overview of the commercial off-the-shelf (COTS) hardware being used in the superconducting vacuum control system. Details of the design and challenges to convert a control system during small windows of maintenance periods without disrupting beam operation will be covered in this paper.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

WEP059
Helium Cryoplant Off-line Commissioning and Operator Training: Two Applications of the PROCOS Simulation System at CERN
B.Bradu, J.Vasseur, M.Pezzetti*, P.Gayet (CERN)
The off-line commissioning step, through reliable simulation of physical models, aims to correct and validate control systems before their implementation into real equipments. It prepares and minimizes plant commissioning phase and at the same time validates the efficiency of the new process control logic. This paper describes how different CERN/UNICOS cryogenic control systems have been pre-commissioned off-line, using the CERN cryogenic simulation environment PROCOS. Some examples are reported. Additionally the presented simulation environment will be used for operator training the second part of the paper will presents the simulation platform and the first feedback from the operation crew.

WEP060
Advanced Control Facility for the Cern-Unicos Framework
A.Moraux, D.O.Tavares, M.Pezzetti* (CERN) H.Coppier (ESIEE)
An increase of interest to advanced control techniques and innovative simulation environment applied to cryogenic processes has occurred at CERN, during last decade. As new control algorithm development into real process control system requires significant time, an agile control testing tool externally connected can improve and simplify the procedure of validating advanced controllers implementation. In this context, the present paper describes the development of a control testing tool at CERN, which allows rapid control strategies implementation through the Matlab/Simulink environment coupled with a large scale cryogenic control system or with the CERN simulation environment. The time delays which are inherently introduced by network link and communication protocol are analyzed and experimentally identified. A criterion establishes practical limitations for reliable operation.

WEP061
The Control System for the Cryogenics in the LHC Tunnel [ First Experience and Improvements ]
A.Tovar, C.Fluder, E.Blanco, G.Penacoba, J.Casas, L.Zwalinski, M.Pezzetti, M.Soubiran, P.Gomes* (CERN)
The Large Hadron Collider (LHC) has been commissioned and started operation with beams in 2008, at CERN. Several months of cryogenic operation in nominal conditions have triggered an optimisation of the cryogenic process functional analysis. This lead to a few revisions of the control logic, realised on-the-fly; and to a major rebuild of the logic, implemented during the 2008-9 shut-down. In order to improve the operability, availability and safety of the LHC cryogenics, the process control structure was reorganised; the logic of process phases, interlocks, regulators and templates for automatic code generators were modified; the hard-wired vacuum-quality signals were upgraded to provide more detailed information; the protection of current feed boxes was enhanced by the addition of new signals; a new tool for remote-reset of Profibus-IO was developed. The databases, containing all instruments and controls information, were rationalized; the automatic specification generators, which extract the parameters used in the control software, were simplified. This paper describes the main improvements applied during the 2008-09 shut-down, and suggests perspectives of further developments.

WEP062
Analysis of the Control System of ICE, the Insulation and Cooling Test Facility for the Development of the ITER Neutral Beam Injector
C.Taliercio, F.Fantini, F.Fellin, M.Boldrin, M.Breda, M.Moressa, O.Barana*, P.Barbato, W.Rigato (Consorzio RFX Associazione Euratom-ENEA sulla Fusione)
Consorzio RFX will host two experimental devices to address the main issues of the ITER Heating Neutral Beam Injectors (HNBIs): SPIDER (Source for the Production of Ions of Deuterium Extracted from Rf plasma), an ion source at low extraction voltage (100 kV), and MITICA (Megavolt ITer Injector and Concept Advancement), a HNBI at 1 MV. ICE (Insulation and Cooling Experiment) is a test facility developed at Consorzio RFX to tackle significant SPIDER and MITICA technological aspects that require a preliminary study. The ICE control system is mainly based on commercial off-the-shelf products. It is composed of three tiers: automation, supervision and data logging. The automation tier is based on Siemens PLC technology. The supervision tier relies on the commercial PVSS SCADA system that is widely used at CERN. The data logging tier, the only part of the ICE control system not based on industrial products, extends the functionalities of MDSplus, a framework for the management of scientific data. This paper analyses the ICE control system, describing the three tiers and explaining the reasons for the choices. A preliminary description of the ICE control modes is supplied too.

WEP063
Control Power Supply System for Electromagnetic Elements for Tehnological Linac
A.S.Chepurnov, I.V.Gribov (MSU) A.F.Shamarin (Marathon Ltd.) A.A.Sarvilov, A.N.Savchenko, D.L.Stepin, G.N.Tsebenko, V.N.Boriskin*, V.N.Vereshchaka (NSC/KIPT)
Single section technological LU-10 electron linac * is located in National Scientific Center "Kharkov Institute of Physics and Technology". The linac has got the following specifications: beam output energy 10 MeV, pulse current up to 1А, pulse width up to 4 mcs, repetition rate 300 Hz. Average beam power is up to 10 kW. The accelerator is dedicated for electron-beam sterilization. Beam forming line consists of four magnetic lenses and four steering coils. The article describes the upgrade of the power supply system for electromagnetic optic elements of the LU-10 accelerator. Power suppliers of magnet optic elements have been replaced at the beginning of the 2009. Programmable power supplies equipped with intellectual controllers with CANopen interface took the place of the old ones. The power suppliers ensure current drive in the coils of magnet elements with 0, 05% stability. The suppliers control continuously load characteristics (checking both voltage and current) and initiate beam off signal when load changes due to coil-winding short circuit or other reasons. Structure of the power supply control system software is described as well as results of the system tests.
* K.I. Antipov, M.I. Ayzatsky, Yu.I. Akchurin et al. Electron Linacs in NSC KIPT:R&D and Application // Problems of Atomic Science and Technology. Series: Nuclear Physics. 2001, №1(37), p.40-47.

WEP064
Commercial-Off-The-Shelf Technologies for Picosecond Timing and Synchronization
T.F.Debelle, T.F.Debelle* (National Instruments)
Accurate timing is a key aspect of large physics experiments. More and more, Commercial-Off-The Shelf (COTS) technologies are used to provide synchronization down to a few picoseconds. This approach allows a wide selection of equipment, offers a high level of flexibility, and guarantees a smooth evolution as new technologies become available. For example, Greenfield Technology proposes a picosecond timing system that provides several hundred triggers to equipments distributed over an area of thousands of square meters within a resolution of 1 ps and low jitter < 15 ps. This system is built around a central oscillator transmitter which delivers a serial data stream over an optical network to manage delay generator triggering and time base. By combining this distributed timing system and the clock and triggering synchronization features of the PXI backplane, high speed instruments, such as digitizers, can also be synchronized with picoseconds accuracy to guarantee the best measurement quality. Due to the fact that all of these timing features are built into the backplane of the PXI chassis, the need for cumbersome cabling is drastically reduced.

WEP065
The Low-Level Control System for the CERN PS Multi-Turn Extraction Kickers
C.Boucly, E.Carlier, E.Carlier*, L.Sermeus, R.Noulibos, T.Fowler (CERN)
To reduce the beam losses when preparing high intensity proton beam for the CERN Neutrino to Gran Sasso (CNGS) facility, a new Multi-Turn extraction (MTE) scheme has been implemented in the PS, to replace the present Continuous Transfer (CT) to the SPS. Prior to extraction the beam is separated in phase space into a central core and four islands by means of non-linear magnetic elements. Each beamlet is then ejected from the PS using fast kickers and a magnetic septum. Industrial off-the-shelf components have been used for the low-level part of the MTE kicker control system. National Instruments PXI systems are used to control the high voltage pulse generators and a SIEMENS programmable logic controller (PLC) handles the centralised oil cooling and gas insulation sub-systems. The different types of low-level controllers are linked via Ethernet to a VME Front-End Computer (FEC) which serves as interface to the higher layers of the accelerator control system. The publication of the various equipment functions to the application layer is performed through generic object oriented classes developed with the CERN Front-End Software Architecture (FESA), deployed at the FEC level.

WEP066
SESAME Microtron Control System Upgrade
A.Al-Adwan* (SESAME)
The first part of SESAME Injector is based on Bessy I Microtron, the device comes with its 80's original control system based on old components both at the software and hardware level. Integrating the Microtron operation to the whole facility was a major requirements in order to assure smooth and full control over all injection parameters and finally, successful operation of SESAME facility.The Control system of the Microtron was upgraded using modern technologies like PLCs as a hardware platform, from the software side, a state-of-the-art control system toolkit like EPICS is an obvious choice. This paper, outlines the original status, the upgrade roadmap and the final results.

WEP067
EPICS at Soft X-Ray Beamlines at DELTA
M.Schmidt, S.Doering, U.Berges* (DELTA) F.Enz (ENZ)
The soft X-ray Beamlines at the synchrotron radiation source DELTA, located at the Technische Universitt of Dortmund, Germany, are operated under EPICS. Some of the components and software of the soft X-ray beamline control system were developed in cooporation with the company ENZ in Berlin, Germany. A compact stepper motor driver unit for typically 8 axis with a small embedded LINUX-PC is now in routine operation at DELTA and at the Soft X-Ray Beamline at the Australian Synchroton near Melbourne. The same PC-system with modified software is used for readout of a current amplifier (LoCuM, build by the company ENZ). This setup is typically used for several photodiodes or a photon beam position monitor of the beamlines. The photon beam position monitoring is done in routine operation at all beamlines at DELTA with this system, allowing an easy and fast data exchange between accelerator and beamlines. During the last years a continous improvement and optimization of the systems has been done at DELTA to allow a routine operation of the soft X-ray beamlines and an easy maintenance of the system.
We want to thank the Land Nordrhein-Westfalen and the Forschungszentrum Jlich, Germany, for their ongoing financial support.

WEP068
SNS Injection and Extraction Kicker Control System Integration, Real-time Waveform Monitor, Machine Protection and Operation Experience
J.Y.Tang*, S.M.Hartman (ORNL) L.A.Longcoy (ORNL RAD)
The Spallation Neutron Source (SNS) injection and extraction kicker systems were designed by Brookhaven National Laboratory for SNS. The kicker control system is integrated using EPICS and has been used for supporting SNS ring commissioning and now for SNS beam production operations. One of the major challenges for SNS operations is to control beam loss. SNS Injection and Extraction Kicker Waveform monitor system has been implemented to support SNS high power operation. In this paper we present a method for kicker power supply waveform monitor system by using current industrial technology and recent operation experiences.
* SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

WEP069
Development of PLC-based Beam Monitor Controller for XFEL/SPring-8
A.Yamashita, H.Ego, K.Yanagida (JASRI/SPring-8) H.Maesaka, S.I.Inoue*, S.M.Matsubara, Y.Otake (RIKEN/SPring-8)
We have developed a controller for the beam monitor system of XFEL/SPring-8. The control items are the electronics of a beam position monitor (BPM) and a current transformer (CT), the actuator of a screen monitor (SCM) and the stepper motors of a SCM lens system and a beam collimator. To operate such complicated devices, we designed a control system based on a programmable logic controller (PLC). The PLC enables us to implement complex commands easily. For the communication between the PLC and other equipments, we employed FL-net (a protocol to communicate with computers) and DeviceNet (a connection with peripheral devices). Since FL-net is strongly supported by MADOCA, the official framework of SPring-8, we can easily integrate the PLC into the upper level system. DeviceNet is used in the electronics of the BPM and the CT and in the motor controllers of the SCM and the collimator. We newly developed a DeviceNet-based motor controller to satisfy our complicated requirements. Another multi-wire cable is equipped to manipulate the SCM actuator and so on. We tested the beam monitor controller at the SCSS test accelerator and confirmed that it worked well.

WEP070
Data Acquisition System of Beam Loss Monitors of the J-PARC Main Ring
D.A.Arakawa, H.Nakagawa, J.-I.Odagiri, N.Kamikubota, N.Yamamoto, S.Yamada, T.Toyama, Y.Hashimoto (KEK) M.Takagi, S.Motohashi* (Kanto Information Service (KIS), Accelerator Group)
Beam loss monitors are essential diagnostic devices for the operation of J-PARC Main Ring, which aims at the acceleration of the world-highest-power proton beams. The data acquisition system of the beam loss monitors is required to measure the time structure of the output signal integrated during the acceleration cycle. The repetition rate of the measurement in the duration needs to reach at a level of tens of Hertz with time jitters less than a few milliseconds. In addition, the measured data must be accessible by the EPICS-based control system, which manages the whole accelerator control. In order to satisfy the requirement, a new type of Input / Output Controller (IOC), which runs Linux on a CPU module of FA-M3 Programmable Logic Controller (PLC), has been adopted. To execute the data acquisition, the CPU module functions with high speed data acquisition modules of FA-M3 on the PLC-bus. We found that the IOC could meet the requirements and the development and maintenance of the software for the IOC was considerably efficient.

WEP071
Three Frequency Undulator Radiation FEL Gain of Betatron Oscillations and Beam Energy Spread
G.Mishra (Devi Ahilya University School of Physics) V.Gupta* (KCB Technical Academy)
A new three frequency undulator has been proposed[1].The authors assume that the electron moves on axis in a three harmonic undulator structure. Let us consider the case of the fundamental. The intensity at this frequency will be further enhanced by the contribution from the modulation at sum-difference frequencies . For the next odd harmonics of the fundamental, there will be contributions from the harmonic field components to produce an enhanced intensity at the third odd harmonics. At this frequency there will be further contributions from the sum-frequency. However the intensity contributions from the sum-difference frequency will be small in comparison to the primary odd harmonics and the net result is that the third harmonic intensity will be raised . Thus the three frequency works in a similar way to that of the harmonic undulator scheme. In this paper we calculate the three frequency undulator radiation and discuss the feasibility of free electron laser operation with this undulator scheme and also special attention to enhance gain in the presence of the betatron oscillations in the system. 1. V.I.R.Niculescu etal.Rom Journ.Phy.Vol.53, Nos.5-6, P.775-780, 2008

WEP072
New Control System for the EPU 4.6
C.Y.Wu*, D.Lee, J.Chen, K.H.Hu, K.T.Hsu, S.Y.Hsu (NSRRC)
In order to redesign and improve performance of EPU 4.6 for the Taiwan Light Source (TLS), implement new control system and develop application programs of EPU 4.6 are under way. The EPU 4.6 driver system includes 8 axes servo motors with Sin/Cos absolute encoder and 8 SSI absolute encoders for precision position control. Due to proprietary design of the vendor and lack of needed technical documents of the existed motor drivers and motor controllers, obsolete these devices and replaced by another open solution is the most difficult decision. A VME crate installs CPU board, DI, DO, AI and AO card, SSI read-only interface is used as EPU 4.6 controller. The motion controllers are connected to the VME CPU via Ethernet directly. The power supplies of correction coil are MCOR30 system manufactured by BiRa Systems. The simple PLC dedicated for interlock protection purpose which take input from limit switches, kill switches, tilt sensors and emergency button from the driver system. The interlock logic will restrict motion if any limit sensor is activated before removed and interlock reset. Features and benefits of the new control system of EPU 4.6 will be summary in this report.

WEP073
Control System Integration of the PETRA III BPM System based on Libera Brilliance
F.Schmidt-Foehre, G.Kube, H.Wu*, I.Krouptchenkov, J.Wilgen, P.K.Bartkiewicz (DESY)
The PETRA III Storage Ring has recently successfully commissioned the new BPM System based on ~230 Libera Brilliance [1] modules. This is at present the largest full installation of these modules. This paper presents the complete BPM system from the control aspect. The distributed Libera Brilliance modules are connected via the control system internet. A dedicated middle-layer Linux PC running in a multithreaded environment communicates with all modules using the CSPI package provided by the vendor of the Libera Brilliance modules. This middle layer processes runs in the framework of the TINE control system and services requests from the user applications. In this case, the middle layer server is heavily multithreaded and deals with hundreds of Brilliance modules and is therefore unique, as all the other Libera installations run in a one-process-to-one-Libera mode. An automation procedure has also been developed for remote installing and updating software packages, as well as restarting and rebooting the CSPI server running on the Libera modules.
[1] Instrumentation Technologies, Slovinia, http://www.i-tech.si/.

WEP074
Upgrading the Control System of the Movable Masks for KEKB
J.-I.Odagiri, K.Furukawa, T.T.Nakamura (KEK) T.Nakamura* (MELCO SC)
The positron ring and the electron ring of KEKB have their own dedicated movable masks to cut off spent electrons/positrons near the beam orbit to reduce background in the detector. The stepping motor drivers of the movable masks were controlled by a Programable Logic Controller (PLC), which was supervised by a VME-based IOC. The IOC and the PLC was connected with each other by using GP-IB interface for the communication. Recently, however, the GP-IB connection came to be unstable causing communication errors between the IOC and the PLC. In order to solve the problem, a new type of IOC, which runs Linux on a CPU module of FA-M3 PLC, has been adopted. The CPU functions with standard I/O modules of FA-M3 on the PLC-bus. In this control system, we replaced an existing ladder CPU with the IOC and the ladder program with an EPICS sequencer program for the efficiency of software development and ease of maintenance. The new IOC has been successfully serving since it was put in operation in September 2008. In this paper, we describe the details of the new control system and its experiences up to the date.

WEP075
Options for Interfacing EPICS to COTS Hardware Through LabVIEW
A.Veeramani* (National Instruments) A.P.Zhukov, W.Blokland (ORNL)
Over the years, many have developed custom drivers to interface hardware to EPICS Input Output Controller (IOC). With LabVIEW having native drivers for supporting commercial hardware, development time can be reduced if an interface with LabVIEW and EPICS IOC was developed. This paper examines the different ways of interfacing LabVIEW and EPICS IOC both on VxWorks and Windows operating systems. Implementation of the Channel Access (CA) server on LabVIEW will also be covered along with the advantages and limitations of such an approach. The paper will also list the status of the different implementations at Oak Ridge and Los Alamos National Laboratory.

WEP076
Control of the J-PARC Slow Extraction Line Based on Embedded EPICS
A.Kiyomichi, H.Nakagawa, J.-I.Odagiri, K.O.Okamura, M.Tomizawa, N.Kamikubota, N.Yamamoto, R.Muto, S.Murasugi, Y.Shirakabe (KEK) M.Takagi* (Kanto Information Service (KIS), Accelerator Group)
The J-PARC Main Ring supplies high energy proton beams to the hadron experiment facility through the slow extraction line. It comprised of a series of septa, staring from a pair of electrostatic septa (ESS) followed by magnetic septa, and some of those septa are movable by using stepping motors to adjust their positions for a better optics. In order to control the power supplies of the septa and the stepping motors, an EPICS-based control is implemented based on a new type of Input / Output Controller (IOC), which runs Linux on a CPU module of FA-M3 Programmable Logic Controller (PLC). The CPU functions with normal I/O modules of FA-M3 on the PLC-bus. The most remarkable feature of the control system is that we replaced ladder programs with EPICS sequencer programs for the efficiency of the software development and ease of maintenance. And we found that the new type of IOCs had worked without any serious troubles during the beam commissioning period, from Run#21(Jan.2009) through Run22(Feb.2009). This paper describes the details of the new IOC and its experiences in J-PARC operation including long term stability.

WEP077
Device Control in ALICE
A.Augustinus, L.S.Jirden*, L.W.Wallet, P.Ch.Chochula (CERN)
The ALICE experiment, devoted to heavy ion collision studies, is one of the four large detectors of the 27 km Large Hadron Collider (LHC) at CERN. The experiment saw the first circulating beams in September 2008 and is preparing for the first collisions in autumn 2009. The ALICE experiment is composed of 18 sub-detectors, each with up to 15 different sub-systems, such as high voltage, front-end electronics, that need to be controlled with a high level of reliability. The development of a coherent control system for all the various sub-systems and a large variety of devices is a major challenge. In order to assure safe operation of the experiment, each device needs to be configured, controlled, and monitored and all the data involved must be properly refreshed, monitored and stored. The device control is mainly based on OPC, and PVSS SCADA systems customized by CERN. This paper describes the device control architecture, and how it ensures safe and coherent operation using the OPC server / client technology. It also discusses the impact of the communication performance for large-scale control systems dealing with large amounts of data and how this has been optimized.

WEP078
Using EPICS Enabled Industrial Hardware for Upgrading Control Systems
E.Bjorklund (LANL) A.Veeramani* (National Instruments)
Los Alamos National Laboratory has been working with National Instruments (NI) and Cosylab to implement EPICS Input Output Controller (IOC) software that runs directly on NI Compact RIO Real Time Controller (RTC) and communicates with LabVIEW through shared memory interface. In this presentation, we will discuss our current progress of upgrading our neutron science center and what we have learned about integrating Compact RIO into large experimental physics facilities. We will also discuss the implications of using Channel Access Server for LabVIEW which will enable more commercial hardware platforms to be used in upgrading existing facilities or in commissioning new ones.

WEP079
Integrated Control and Archive System for Utility Facility
J.-C.Chang, J.-R.Chen, Z.-D.Tsai* (NSRRC)
In the accelerator field, the utility system, including cooling water, cooling air, electric power etc. must proceed the reliable and stable control. These systems almost cover all locations of accelerator instrument and require integrating all the hybrid control systems. A novel data exchange mechanism via Ethernet or wireless Ethernet is developed to provide the distributed PCs, PLCs(Programmable Logical Controller), PACs(Programmable Automation Controller) and embedded devices with reliable communication. The system also introduces a platform with real-time status to view, control, analyze and alert. The users can access online and offline data by adequate viewers. The mechanism benefits all system maintenance, operation, management and analysis.

WEP080
The EMBL Sample Changer Pipeline
U.R.Ristau* (EMBL)
The EMBL Hamburg Sample changer is...

WEP081
A Programmable Logic Controller-Based System for the Recirculation of Liquid C6 F14 in the ALICE High Momentum Particle Identification Detector at the Large Hadron Collider
G.De Cataldo, P.Martinengo (CERN) A.Franco, C.Pastore, I.Sgura* (INFN-Bari) C.Dell'Olio, U.Fratino (Universit e Politecnico di Bari Dipartimento Interateneo di Fisica)
We present the design and the implementation of the Control System (CS) for the recirculation of liquid C6F14 in the HMPID.The HMPID is a sub-detector of the ALICE experiment at the CERN-LHC and uses C6F14 as Cherenkov radiator medium in twenty-one quartz trays for the measurement of the velocity of charged particles.The primary task of the Liquid Circulation System(LCS)is to ensure the highest transparency of C6F14 to ultraviolet light.In order to provide safe long term operation a PLC-based CS has been implemented.The CS supports both automatic and manual operating modes, remotely or locally. The adopted Finite State Machine approach minimizes the possible operator errors and provides a hierarchical control structure allowing the operation and monitoring of a single radiator tray.The LCS is protected against anomalous working conditions by both active and passive systems.The active ones are ensured via the control software running in the PLC whereas the human interface and data archiving are provided via PVSS, the SCADA framework which integrates the full detector control.The LCS has been fully commissioned over the last two years and proved to meet all requirements.

WEP082
Embedded EPICS Controller for KEKB Pulsed Quadrupole Magnet Power Supply
J.-I.Odagiri, K.Furukawa, K.Mikawa*, T.Mimashi (KEK) T.Nakamura (MELCO SC)
The pulsed quadrupole magnets have been installed in KEKB for the betatron tune adjustment. These magnets need to be controlled by the existing EPICS-based control system of the KEKB accelerator. While the control logic required for the operation of the magnet power supplies is rather conventional, it is preferable that we choose a front-end controller which allows us to develop and maintain the software in a highly efficient manner to cope with limited human resources. In order to satisfy this requirement, a new type of Input / Output Controller (IOC), which runs Linux on a CPU module of FA-M3 Programmable Logic Controller (PLC), has been adopted. The CPU functions with normal I/O modules of FA-M3 on the PLC-bus. We found that replacing ladder programs with EPICS sequencer makes the development and maintenance of the software for the IOC considerably efficient. This paper describes the details of the new IOC and its experiences in KEKB operation including long term stability.

WEP083
Trials, Tribulations, and Pitfalls Using Commercial Instruments for Data Acquisition
K.L.Unger, R.C.Lee*, R.H.Olsen (BNL)
Brookhaven National Laboratory's Relativistic Heavy Ion Collider (RHIC) uses many commercially available instruments - for example spectrum analyzers, oscilloscopes, digital volt meters, signal generators - as integral parts of instrumentation and control systems. Typically these systems are remotely controlled. Using commercial instruments has many benefits. Manufactures have the skill, knowledge, and experience to produce high quality products. The price performance ratio is hard to duplicate. There are also disadvantages. Proprietary interfaces, single platform drivers, and reliable operation provide challenges for implementation and unattended operation. Several of the systems used at RHIC will be described. Their issues and solutions will be presented.
Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy

WEP084
Remote Controls for the Active Alignment System of the LHC Low Beta Quadrupoles
E.Blanco, E.Blanco*, J.P.Palluel, S.Redaelli (CERN)
The low beta quadrupole magnets in the CERN Large Hadron Collider (LHC) accelerator are installed in high radiation areas next to the experiments. A fully remote positioning control system based on motorized jacks has been implemented to align the magnets in real time. The system is also equipped with sophisticated survey sensors based mainly on hydrostatic leveling and stretched-wire position systems. Dedicated monitoring and control applications have been developed to allow the LHC operation team to supervise this complex system from the CERN Control Center. This paper gives an overview of the present controls architecture and describes the new operational tools developed to assist the beam operation.

WEP085
The National Instruments Based SARAF Main Control System
C.Piel (RI Research Instruments GmbH) A.Abramson*, A.Perry, I.Gertz, I.Mardor (Soreq NRC)
The Soreq Applied Research Accelerator Facility (SARAF) is a 5-40 MeV, 0.04-2 mA proton/deuteron RF superconducting linear accelerator. National Instruments (NI) Hardware and Software has been selected as a framework for the SARAF Main Accelerator Control System (MACS). Examples of chosen NI Software are Real-Time (RT) and Datalogging and Supervisory Control (DSC) including Citadel Database. This paper describes the design and implementation of the SARAF Control System based on NI Hardware and Software. We emphasize the problems which arose during commissioning and present our solutions.

WEP086
EPICS IOC of WindowsXP-based Oscilloscope for Fast BPM Data Acquisition System
K.Furukawa, M.Satoh*, T.Suwada (KEK) S.Kusano, T.Kudou (MELCO SC)
In the KEK Linac, about 100 monitors (BPMs) are used for the beam orbit measurement. The previous data acquisition (DAQ) system consists of the VME and the digital oscilloscope. The maximum DAQ rate is about 1 Hz which is limited by an oscilloscope performance. We have developed the new DAQ system since we have an ongoing linac upgrade project aiming a fast beam-mode switch, in which the fast beam position measurement is strongly required up to 50 Hz. The new BPM DAQ system is a WindowsXP-based fast digital oscilloscope. The DAQ software has been initially developed by C++ and TekVISA. It acquires the waveform signal from the BPM electrodes and calculates the beam positions. It is very useful to run the DAQ software as an EPICS IOC since the most part of Linac parameters are accessible via EPICS protocol and they are archived by EPICS archiver. Recently, we developed the BPM DAQ software based on EPICS which can make the oscilloscope work as an EPICS IOC. The results of performance test show that the new DAQ software can work well up to 50 Hz. In this paper, we will describe the fast BPM DAQ software based on EPICS and the results of its performance evaluation in detail.

WEP087
A Different Way to Survey the ESRF Vacuum System
D.Schmied*, E.Burtin, I.Parat, J.M.C.Chaize, P.V.Verdier, R.Kersevan (ESRF)
The ESRF is in operation since many years. Due to the aging vacuum system, but also driven by the development to increase the machine performances and the continuous upgrade of our vacuum installations we have been reviewing our philosophy of data acquisition and monitoring, while using new technologies and taking into account our gained operational experience. This helped us to anticipate machine failures such as leaks, overheating of RF-liners or poor chamber alignments and therefore reduce machine down times. This paper outlines our work on the development of a new vacuum user interface, which not simply reflects the actual status of our vacuum system, but which provides a dynamic survey of computed vacuum signals highlighting unusual vacuum behaviours and making their identification and location easier from an operator point of view. It also presents the use of Pb-shielded PLC units in the storage ring and their integration towards a dynamic remote control system.

WEP088
The TOTEM On-line Radiation Monitoring System
F.L.R.Lucas Rodrguez, F.Ravotti*, I.Atanassov, J.Morant, P.Palazzi (CERN)
The TOTEM detectors together with their front-end electronics are located in LHC areas where high radiation levels are expected. To understand the radiation-induced changes on the detector performances and to survey anomalous increases of radiation levels, the Ionizing Dose and the Particle Fluence are monitored during TOTEM operation. This set of information is made available on-line through the TOTEM DCS. The basic unit of the radiation monitoring system is an integrated sensor that hosts 4 types of monitors (RadFETs & p-i-n diodes) connected to the electronics via readout cables. In total, 36 sensors are installed in TOTEM. The one located in the Roman Pots, along the LHC tunnel, sit more than 300m far from the readout electronics. This characteristic makes this system unique with respect to the one implemented for the other LHC experiments. In this article we detail the design of this part of the TOTEM control system based on ELMBs, together with the PVSS control SW architecture and its integration at the supervisory level of the TOTEM DCS. Results of a series of commissioning tests performed at the LHC will be also presented in order to evaluate the performance of the system.

WEP089
Machine Protection and Interlock Systems at Synchrotron SOLEIL
F.Dohou, J.Coquet, P.Betinelli*, P.Monteiro, R.P.Patrick, X.Deletoille (SOLEIL)
SOLEIL is a third generation Synchrotron radiation source located in France near Paris, having the classical accelerator structure consisting of a Linac pre-accelerator, a Booster accelerator and a Storage Ring, which are connected by two transfer lines. Since 2006, the Storage Ring delivers photon beam to beamlines. In order to protect the very sensitive and essential equipment during machine operation, (vacuum chambers, vacuum valves, mirrors, etc.) an interlock system has been implemented. This system is based on industrial and autonomous PLC (Programmable Logic Controller). Interlock system and subsystems are based on Siemens PLCs S7-300 family products, which are standard hardware components of SOLEIL Control Systems. Surrounding the booster and the 354 meters of the storage ring, 87 PLCs configurations are installed with 50 for vacuum security, 19 for diagnostics subsystem security and 18 for the interlock system. PLC cycle time ensures a signal between detection and RF interlock generation around 30 and 50 ms.

WEP090
Development of Crowbar System for the Protection of High power Vacuum Tubes used for 240 KW, 3-Ф RF System for Superconducting Cyclotron at VECC
A.De, S.K.Thakur*, S.Saha (DAE/VECC)
RF system of K-500 superconducting cyclotron at VECC is a complex three phase system operating in the frequency range of 9-27 MHz with potential of around 90kV feeding to each of three RF-cavities placed in median plane of cyclotron at 120 apart. At final stage in each phase, a water cooled vacuum Tetrode Tube EIMAC 4CW150000E is used as high power amplifier, capable of delivering 80 kW RF power to RF-cavity. A high voltage DC power supply rated at 450 kW at 20kV feeding to their Anodes, is developed in-house with ultra-fast(5 -sec)Crowbar protection system to protect the tubes against Internal Arc using energy diverter topology. High power vacuum tubes are prone to internal Arc and can get severely damaged if excessive energy is dissipated during fault. A highly specialized scheme that incorporates a complex electronics control and fault processing circuitry which does latching for fault diagnostic and replicates the hardwired logic circuit to generate a trigger pulse to fire Ignitron as crowbar switch ignoring the noise as well as providing redundancy to trip Mains ACB. Circuit simulations and test results with specialized measurement procedure are described in this paper.

WEP091
Upgrade of the Accelerator Radiation Safety System for SPring-8
C.Saji*, H.Hanaki, H.Ohkuma, H.Yonehara, K.Soutome, M.Kago, M.Takao, M.Toko, R.Tanaka, S.Suzuki, T.Masuda, T.Matsushita (JASRI/SPring-8)
The accelerator safety interlock system to protect persons from radiation hazard induced by electron beams and synchrotron radiation has been operating over a decade in SPring-8. This system is monitoring the safety condition of accelerator components and stops injection electron beams in case of the failure, and stored electron beams are aborted if necessary. SPring-8 complex is composed of five accelerator/beam-transport areas. The injection beam direction can be frequently changed between the two accelerator areas; SPring-8 storage ring and NewSUBARU storage ring. Therefore, the safety interlock system was built introducing the idea of the "operation mode" control system. Once one of the operation modes is selected, the electron beams transport route is defined uniquely. The operation mode control system manages the combination of some accelerator/beam-transport areas. Since the operation mode control system became complicated because the number of "operation mode" has increased according to SPring-8 upgrades, we are planning to construct new safety interlock system. We will report the status of the current safety interlock system and the conceptual design of the new one.

WEP092
New Beam Loss Monitor for 12 GeV Upgrade
J.Yan*, K.L.Mahoney (JLAB)
This paper describes a new VME based machine protection Beam Loss Monitor(BLM) signal processing board designed at Jefferson Lab which features high sensitivity, high resolution, and low cost per channel. Photomultiplier based BLMs are used to detect bremsstrahlung from low level beam loss during tune-up and beam operations and to provide a machine protection trip before the beam can damage accelerator components. Typically, the two functions are incompatible as the display of instantaneous low level loss requires a fast low noise, wide dynamic range signal processor while machine protection requires some form of high level integrating signal processor. The new 8-channel BLM card has linear, logarithmic, and integrating amplifiers that simultaneously provide the optimal signal processing for each application. Amplified signals are digitized and then further processed through a FPGA. Combining both the diagnostic and machine protection functions in each channel allows the operator to tune-up and monitor beam operations. Other features include extensive built-in-self-test, fast shutdown interface(FSD), and 16-Mbit buffers for beam loss transient play-back.
Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177

WEP093
The Machine Protection System for the Linac Coherent Light Source
A.J.Tilghman, J.E.Dusatko, J.J.Olsen, K.D.Kotturi, P.Krejcik, S.Allison, S.Chevtsov, S.R.Norum*, T.Straumann (SLAC)
A state-of-the-art Machine Protection System for the SLAC Linac Coherent Light Source has been designed and built to shut off the beam within one pulse during 120 Hz operation to protect the facility from damage due to beam losses. Inputs from beam loss monitors, BPMs, toroids and position switches of insertable beam line devices are connected to a number of Link Node chassis placed along the beam line. Link Nodes are connected with a central Link Processor in a star topology on a dedicated gigabit Ethernet fiber network. The Link Processor, a Motorola MVME 6100, processes fault data at 360 Hz. After processing, rate limit commands are sent to mitigation devices at the injector and just upstream of the entrance of the sensitive undulator beam line. The beam's repetition rate is lowered according to the fault severity. The SLAC designed Link Nodes support up to 96 digital inputs and 8 digital outputs each. Analog signals are handled via standard IndustryPack (IP) cards placed on the Link Node motherboards with optional transition boards for signal conditioning. A database driven algorithm running on the Link Processor provides runtime loadable and swappable machine protection logic.
SLAC/DOE Contract DE-AC02-76-SF00515

WEP094
Safety Requirements in the SPES Control System: Preliminary Design
L.M.Li (CIAE) A.Battistella, G.Bassato*, G.P.Prete, J.A.Vasquez, L.Costa, M.G.Giacchini (INFN/LNL)
SPES (Selective Production of Exotic Species)is a new INFN facility whose construction is planned for the years 2009-2014. It aims to provide the nuclear physics community with neutron rich nuclei beams produced by impinging an UC target by a proton beam delivered by a commercial cyclotron. Security requirements constitute the most critical issue in the control system design. High reliability PLCs will be extensively used in all applications that affect the personnel and machine safety; redundant configurations will be implemented where appropriate. EPICS has been chosen as general framework for the development of SPES controls: therefore the integration of PLCs in an EPICS network is another key point in the control system design. We present the technical solutions foreseen to comply with SPES safety requirements and discuss the possible approaches to integrate PLCs in the EPICS environment.

WEP095
Architecture of VEPP-4M Collider's Interlock System
O.A.Plotnikova*, S.E.Karnaev, V.I.Kaplin (BINP SB RAS)
In recent years we have been building a complete Temperature Measurements and Interlock System to prevent an overheating of magnets. The system provides warning and interlocking functions. The article describes the method of collecting and processing temperature data and the information panel of Interlock System.

WEP096
Design of the Accelerator Safety Interlock System for the XFEL in SPring-8
C.Saji, M.Kago*, N.Nariyama, R.Tanaka, T.Matsushita (JASRI/SPring-8) T.Fukui, T.Itoga, Y.Asano (RIKEN/SPring-8)
The X-ray Free Electron Laser (XFEL) Facility in SPring-8 is now under construction. The accelerator safety interlock system for the XFEL is required for protecting persons from radiation hazard. The system consists of three interlock systems; a central interlock system (CIS), an emergency interlock system (EIS) and a beam-route interlock system (BIS). The CIS monitors the safety equipment status. The EIS monitors status of emergency stop buttons. The BIS monitors consistency between the predefined electron beam route to the downstream insertion devices and the actual transport route by inputting the current of the bending magnet at the beam switching points. If the condition is unsafe, these systems don't give the permission to the accelerator operation and stops the electron beam. The programmable logic controller (PLC) is basically used to control of each interlock system. It is required to stop the electron beam within 16.6ms because the design maximum repetition frequency of the electron beams is 60Hz. Therefore, we developed the optical module that can transmit high-speed stop signals. We report the present status of accelerator safety interlock system for the XFEL.

WEP097
Safety PLCs Simplify Upgrade of the BESSYII Personnel Safety Interlock
D.Thorn, J.Rahn*, R.Daum, S.Ehlert, S.Pavlis (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
After more than ten years of operation, upgrade programs for the BESSYII electron storage ring demand a revision of the Personnel Safety Interlock system to ensure compliance with current legal requirements for personnel safety. During the last years, a variety of PLCs approved for safety relevant applications (Safety PLCs) appeared on the market. Applications based on Safety PLCs in combination with appropriately chosen peripherals and software could achieve highest security levels as defined by the relevant standards (IEC61508 resp. DINEN62061 and ISOEN13849). The paper discusses the application of the relevant standards, and how the upgrade procedure of the BESSYII Personnel Safety Interlock will benefit from the flexibility that Safety PLCs offer.

WEP098
Failure Mode And Recovery Strategies For The Operation Of The Tore Supra Tokamak
M.Lennholm (EFDA-JET) D.Douai, F.Saint-Laurent, P.H.Moreau*, P.Hertout, P.Pastor, S.P.Bremond (EURATOM-CEA)
The operation of the Tore Supra tokamak requires the orchestration of more than 50 systems including several sub-plants (cryogenic plant, magnetic coils, water cooling loops, multi megawatt heating systems, etc.), as well as plasma diagnostics. To ensure both plasma performance and safe operation, it is crucial to optimise the way each plasma discharge is driven. The Tore Supra real time control system (RTCS) has been developed on that purpose. Default detections is performed at both sub-plant systems and inter-plant links levels using hardware and software means. Additionally, a dedicated unit is devoted to the supervision of the overall plasma discharge by collecting the sub-plant status and the plasma parameters from diagnostics. Any abnormal event or discrepancy with respect to reference parameters is detected and classified as machine protection event (e.g. electrical arcing on RF antenna or too high impurity level, etc.), or as plasma performance discrepancy event (e.g. degraded confinement regime). Then a pre-defined recovery strategy is applied (e.g. balance load distribution between sub-plants). Several examples of detection and recovery strategies will be reported.

WEP099
Management of Critical Machine Settings for Accelerators at CERN
G.Kruk, P.Charrue, V.Kain, W.Sliwinski* (CERN)
In high energy accelerators as LHC energy stored in the beams is orders of magnitude above the damage level of accelerator components like magnets. Uncontrolled release of energy can lead to a serious damage of equipment and long machine downtimes. In order to cope with these potential risks Protection Systems were developed at CERN including two software systems: MCS (Management of Critical Settings) and RBAC (Role Based Access Control). RBAC provides means for authentication and an authorization facility which grants access to the critical parts of a control system. Second layer of security is provided by MCS by ensuring that critical parameters are coherent within the software and hardware components of a control system and can only be changed by an authorized person. MCS system is aimed for the most critical and potentially dangerous equipment (e.g. Beam Loss Monitors) and is complementary to RBAC infrastructure. Both systems are fully integrated in the control system for LHC and SPS and were successfully commissioned for the first beam in LHC. This presentation will describe the MCS architecture, current status and its operational deployment together with plans for the future.

WEP100
The SSRF Radiation Safety Interlock System and its Applications
J.Cai, J.H.Cai, J.H.Wang, J.Q.Xu, K.M.Fang, X.J.Xu*, X.Liu, X.Xia (SINAP)
Radiation Safety Interlock System (RSIS) for the Shanghai Synchrotron Radiation Facility (SSRF) has been built and operated more than one year, it is composed of two subsystems, the Access Control System (ACS) and the Radiation Containment System (RCS).The ACS prevents personnel from being exposed to the extremely high radiation inside the SSRF shielding tunnel during machine operation. The RCS prevents personnel from being exposed to the high radiation outside a shielding tunnel during either normal or abnormal operation. The implementation of the ACS is based on the Programmable Logic Controllers, key transfer interlocking systems and ID Card System. The RSIS is based on fail-safe, redundancy, multiplicity. Any violation of the RSIS will result in the inhibiting of redundant permission to the associated interlock systems, and cease the injection process and eliminate the entire stored electron beam in the SSRF. This paper describes the system design, the logic, and some experience of using RSIS systems at SSRF.

WEP101
Integrated Access Control for PVSS-based SCADA Systems at CERN
M.Gonzalez-Berges, P.Golonka* (CERN)
The protection of the PVSS-based Human-Machine-Interface parts of the Control Systems for the LHC accelerator and the experiments at CERN is implemented using the JCOP Framework Access Control component. It allows to protect from non-malicious activity (such as misuse due to operator's mistake) by enabling/disabling the elements of the User Interface. It extends the native PVSS mechanisms for user-authentication and makes the management of the role-based authorizations easy to configure and maintain. Ultimately, it enables the synchronization of the access-control related data across distributed systems, and allows to synchronize this data with central user-management resources at CERN (such as Active Directory), and automated creation of user accounts.

WEP102
The LHC Access System
E.Sanchez-Corral Mena, F.Valentini, L.Hammouti, P.Ninin, S.Grau, T.Hakulinen, T.Ladzinski*, T.Pettersson, T.R.Riesco (CERN)
This paper describes the LHC Access System, built to protect the personnel working in the LHC from radiation hazards; the system's architecture and the experience gathered of commissioning, testing and using it. This system is made of two parts: the LHC Access Control System (LACS) and the LHC Access Safety System (LASS). Using redundant, fail-safe PLC's and a supplementary cabled loop the LASS guarantees the safety of the personnel in all events. Using industrial components, the LACS regulates the access to the tunnels and experimental areas by identifying users and checking their authorizations. It allows a remote or automatic operation of the access control equipment and restricts the number of users working simultaneously in the interlocked areas. Since the beginning of the operational phase, additional efforts and studies have been done to ensure the inviolability of this protection system by users not holding the required credentials. The design, procurement and installation of the entire system took more than 4 years and the commissioning phase lasted about 12 months. The paper presents as well the return of experience of the first 2 years of operation.

WEP103
Introduction of Radiation Monitor System for the Shanghai Synchrotron Radiation Facility
X.Liu*, X.Xia (SINAP)
Shanghai Synchrotron Radiation Facility (SSRF) is the first third-generation synchrotron radiation facility in China and it will be completed and put into use in April 2009. Radiation Monitoring System in SSRF is an important part of radiation safety system. This paper describes the Radiation Monitoring System in real time and its performance during beam commissioning. This system consists of sets of neutron and gamma monitors and data acquisition and computer system mounted in central control room. The types and features of the monitors and the functions of the computer system based on EPICS, SAD, PYTHON and MYSQL are given in detail. The performance of the system during the commissioning showed that the system performs as design expected, and can successfully prevent people from being exposed to abnormal radiation level.

WEP104
Integrated Operations at JET
O.Hemming, P.McCullen, R.C.Felton*, S.E.Dorling, T.Budd (EFDA-JET) J.W.Farthing (UKAEA Culham)
The Joint European Tokamak (JET) is the world's largest operational machine for experiments on fusion plasmas using Deuterium and Tritium. Over time, the measurement, control and protection systems have evolved and integrated, driven by the Scientific and Engineering Programmes, Regulatory Authorities, etc. With a view to operating JET beyond 2014, we are now undertaking a Review of the main Integrated Operations Protection Systems. This paper presents the issues, concepts and operational experiences. The key issues are personnel safety (local, site, and environs), machine protection, and programme productivity ' all based on hazard/frequency/risk analysis. The key concepts involve not only the use of reliable sensors, processors, actuators but also the active management of Engineering Changes (function, implementation, etc.) and Operational Changes (configuration, calibration, etc.). We have Weekly Coordination Meetings, Special Workgroups for Safety and for Protection, and Formal Processes for Engineering Change. Each System has a Responsible Officer for the day-to-day operation and maintenance.
This work was carried out within the framework of the European Fusion Development Agreement and funded partly by the United Kingdom Engineering and Physical Sciences Research Council and by EURATOM.

WEP105
Beam Containment System for NSLS-II*
P.K.Job, S.L.Kramer*, W.R.Casey (BNL)
The shielding design for the NSLS-II will provide adequate protection for the full injected beam loss in two periods of the ring around the injection point, but the remainder of the ring is shielded for lower losses of <10% full beam loss. This will require a system to insure that beam losses don't exceed these levels for a period of time that could cause levels outside the shield walls. This beam containment system will measure, provide a level of control and alarm indication of the beam power losses along the beam path from the source (e-gun, linac) thru the injection system and the storage ring. This system will consist of collimators that will provide limits to (an potentially measure) the beam miss-steering and control the loss points of the charge and monitors that will measure the average beam current losses along the beam path and alarm when this beam power loss exceeds the level set by the shielding specifications. This will require some new ideas in beam loss detection capability and collimation. The initial planning and R&D program will be presented.
* Work supported by U.S. DOE, Contract No.DE-AC02-98CH10886

WEP106
Configuration Management Plan for Interlock Safety Systems at the Linac Coherent Light Source (LCLS)
E.Carrone, M.E.Saleski* (SLAC)
Safety critical systems require more than good design in order to provide adequate safety assurance: the configuration must be controlled so that system operation is not compromised and coherent maintenance is guaranteed; new designs and design changes must be thoroughly examined and rigorously reviewed to ensure the system operates as intended; routine system testing must be performed to ensure system's resiliency and to reveal covert un-safe failures; documentation, plans, guidelines and procedures must be properly managed to ensure appropriate implementation, testing, and troubleshooting. This paper shows how a Quality Assurance (QA) Program which incorporates elements of IEC61508, ANSI/ISA 84.01, and ISO9001 standards has been implemented in the SLAC National Accelerator Laboratory to design and operate Safety Interlock Systems for the LCLS facility. The aim is to create a tailored QA program that satisfies the above mentioned requisites, as well as the Department of Energy's 'Integrated Safety Management System' requirements.

WEP107
Linac Coherent Light Source Personnel Protection System Architecture
E.Carrone, P.A.Bong* (SLAC)
Programmable systems are becoming the de facto standard for Safety Interlock Systems, allowing for increasing complexity of personnel protection. The SLAC National Accelerator Laboratory has implemented a programmable safety interlock system utilizing a graded approach to protect personnel from exposure to prompt radiation. The Personnel Protection System architecture is based on two tiers of programmable systems performing access control and safety interlocks. The strategy consists in isolating the safety functions from the access control and system monitoring performed through EPICS. The isolation allows the safety functions to be guaranteed even in the absence of a fully working control system. The safety functions are performed by redundant Programmable Logic Controllers certified for safety applications. Each PLCs was programmed by an independent engineer to provide some level of diversity and defense from coding errors. Functional testing was performed through a test bench and, after deployment, through a field checkout procedure designed to certify the system for operation. New processes were developed to manage the life cycle and the integration with existing installations.

WEP108
Contribution of the CLS Control System to the CLS Accelerator System Reliability
E.Matias*, H.Zhang, M.S.de Jong (CLS)
The control system software plays an increasingly important role in achieving overall accelerator system reliability, in this regard the CLS control system is no different. This paper reviews the two aspects of control system reliability (1) the reliability of the control system itself and it contribution to system reliability and (2) the use of the control system as a tool to aid in predicting and localizing system failure therefore providing an indirect impact on mean-time-between-failure and mean-time-to-repair. The paper provides a survey of metrics used at the CLS to evaluate system reliability, several failure modes that have been localized and removed from the system design to contribute to overall reliability. Recently CLS has deployed a new approach to alarm annunciation and fault location based on voice annunciation and nested dashboard display screens.

WEP109
Alarm Rationalization: Practical Experience Rationalizing Alarm Configuration for an Accelerator Subsystem
X.Geng* (ORNL)
A new alarm system toolkit has been implemented at SNS. The toolkit handles the Central Control Room (CCR) 'annunciator', or audio alarms. For the new alarm system to be effective, the alarms must be meaningful and properly configured. Along with the implementation of the new alarm toolkit, a thorough documentation and rationalization of the alarm configuration is taking place. Requirements and maintenance of a robust alarm configuration have been gathered from system and operations experts. In this paper we present our practical experience with the vacuum system alarm handling configuration of the alarm toolkit.
Work supported by Oak Ridge National Laboratory for UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy.

WEP110
Standards Based Measurable Security for Embedded Devices
B.Copy* (CERN)
Control systems are now routinely connected with enterprise networks and even wide area networks, opening their components to a large array of cyber security threats. Facing threats on such a large scale can now longer solely be done through ad-hoc incident response and post-mortem activities. Defense in depth strategies are being widely adopted and advocated through emerging control systems specific cyber security standards [1]. With these strategies comes the need to accurately prioritise risks and manage system assets, in order to implement measured, tailored security restrictions and automatically assess damages to provide efficient and precise incident response. Eventually, an organization must be able to measure incidents trends and evaluate business impact to feed constant security policy reviews. CERN has implemented a control device cyber security test bench, entitled TOCSSiC [2], updated to provide standards-compliant measurements. Such measurements can be employed to automatically evaluate device vulnerabilities and security policy compliance.
[1] F. Tilaro, "Control system cybersecurity standards, convergence and tools", CERN technical report, April 2009 [2] S. Lueders, "Control systems under attack !?", ICALEPCS, October 2005
CERN - EN Department

THP001
Holographic Plasma Control Program
C.A.Lobo* (CMV)
The LHC is embedded by a cosmic superconductor for currents that couple to electroweak particles located in dust plasma sun-galaxy environment. LHC, as baryonic-made nanoplasma dual-ring running through data management processes and interactions, cause weak connectivity in hardware control system, like cumulative field errors of superconducting magnets and global buckling. It's outlined a program module that assembly ontological conceptual parameters. The beamline is defined by filamentary plasma parameters with Dustt/MAD. A reference low-emitter x-ray beams to forbid pulsed planar expansion of ionized nanoplasma off a surface at injection system is set. Dustt/Vorpal/EJB programs simulate the plasma-cell. Forth stacks the antenna sensor. Nanocalibration of optical microbunches must constrain beam interlocks override. A thermionic 3D X-ray holography plasma mirror monitor retranscript channel-oriented optical layout. Installing motion-compensated frame interpolation into J2EE, locked lasers to calibrate PLC with atosecond reply timing at Scada servers, stochastic grid maps for arc-sector visual attention at Oracle servers could describe internal transitions ensuring safe operations.
Carlos Alberto Peixoto LoboCmara Municipal de Vitria, Av. Masc Moraes, 1788/8, ES-Brasil - Affiliated to DESY, Phone number: 00552733344569, [email protected], SPIE member.

THP002
A Multi-Agent System for Building Large-Scale, Distributed, Hierarchical Control Systems
C.Timmer, D.Abbott, E.J.Wolin, E.Jastrzembski, V.H.Gyurjyan*, W. G.Heyes (JLAB)
The future high energy and nuclear physics experiments will require experiment control systems that operate at a higher level of automation, flexibility, and robustness. In this paper a multi-agent system based framework (AFECS) is presented as an alternative methodology to control large-scale experiments. AFECS creates a control system environment as a collection of software agents behaving as finite state machines. These agents can represent real entities, such as hardware devices, software tasks, or control subsystems. AFECS agents can be distributed over a variety of platforms. Agents communicate with their associated physical components using range of communication protocols, including tcl-DP, cMsg (publish-subscribe communication system developed at Jefferson Lab), SNMP (simple network management protocol), EPICS channel access protocol and JMS.
Jefferson Lab, United States Department of Energy, Office of Science of DOE, Jefferson Science Associates LLC

THP003
Distributed Control System in VEC & SCC - an Experience with EPICS
A.Roy, N.Chaddha, R.B.Bhole, S.Pal, T.Bhattacharjee* (DAE/VECC)
The K-500 Superconducting Cyclotron (SCC) is commissioned and the modernization of Variable Energy Cyclotron (VEC) is being done to produce the beam for the RIB (Radioactive Ion Beam) project. The paper describes the implementation details and experiences with EPICS architecture in VEC and SCC, keeping the old heterogeneous architecture intact until the final upgradation with EPICS. The hardware for Touch panel with soft knobs is integrated in the EPICS architecture to control the magnet power supplies (MPSs), plugged on the distributed control network. The modified EPICS archiver incorporates oracle connectivity for the centralized storage of the tuning parameters. The OPI, running in x86-win32, displays the Vacuum system control parameters from embedded controller and vacuum gauge controller module using developed activeX components for EPICS integration . The supervisory control system of cryogenic plant and deflector conditioning are also upgraded with EPICS. The developed IOC on arm-linux platform is used for electrical substation control and SCC beam diagnostic system

THP004
New ESRF's BPM System for the Storage Ring Using Libera Brilliance Device
F.Epaud* (ESRF)
The ESRF has entirely replaced the control of the Storage Ring Beam Position Monitors. 224 intelligent controllers (Libera-Brilliance) have replaced the former system working for 17 years. The orbit feedback software, reads the orbit parameters from these devices via a set of hierarchical TANGO device servers. This challenging upgrade has been done progressively over 3 months without interrupting the operation of the ESRF. This paper describes the architecture of both Slow and fast Orbit Feedback control systems with a particular focus on the challenges linked to the data flow generated by this high number of devices. It makes a point on the tools developed for installation and maintenance. This Fast and efficient result was possible thanks to a collaborative development at several levels. Soleil developed the TANGO device server for the Libera brilliance which was then re-used and improved by the other Instituts within the collaboration: Elettra, Alba and ESRF. The FPGA firmware for the Communication Controller of the Fast Orbit Feedback was initially developed at the Diamond Light Source and also used by Soleil and the ESRF and is now become a standard option of the Libera.

THP005
BsxCuBE: a Control System for BioSAXS Experiments
D.P.Spruce, R.N.Fernandes* (ESRF)
Many synchrotron centres have beamlines specialized in biological small-angle X-ray scattering (BioSAXS). However, few have a system that fully controls and process the experiments done in these beamlines. At the European Synchrotron Radiation Facility, a new system named BsxCuBE (BioSAXS Customized Beamline Environment) is being developed to fulfill this need. Its aim is to control the experiments at beamline ID14-3 in an automated way by integrating disparate tools into a single interface. The system has been in operation over the last few months with promising results: it is capable of successfully controlling a data acquisition procedure and users feel comfortable using it. BsxCuBE can display, in near real time, the data (i.e. images) being acquired as well as the corresponding 1D curves. At this stage, post-processing of the 1D curves is also possible, such as cropping, subtracting or filtering according to the radiation damage. Further post-processing operations are planned for integration into the system. After a period of maturation, this new control system will allow good quality BioSAXS data to be obtained by users with little experience of the experimental techniques.

THP006
The Control System for BEPCII Superconducting Magnet
C.H.Wang, H.L.Shi, J.C.Wang, J.Liu*, X.L.Wang (IHEP Beijing)
There are 16 superconducting magnet power supplies in the storage rings of BEPCII. It is used 14 superconducting magnets for the Collide mode, and 4 superconducting magnets for the Synchrotron Radiation mode. According to the physics design of BEPCII, the SCQ (superconducting quadruple magnet) can decrease the parasite transition effect and the bunch though IP (interaction point) will be separated in horizon. It is unavoidable that there are some matching errors and fixed errors during the magnet installation, so, the intensity of magnetic field and some correlative parameters must be measured on-line, which is very helpful for the beam tuning. This paper describes the superconducting magnet power supply control of magnet measure system, especially in the interlocked operation of quench protection system. The programs of ramping, standardization and current reading subroutine are also reported here.

THP007
Power Supply Control System Prototype Based on RTEMS
C.H.Wang, H.L.Shi* (IHEP Beijing)
It was well known that RTEMS has been successfully deployed in LCLS control system. Since RTEMS is source open and free OS, we did some study on RTEMS and setup a power supply control prototype based on RTEMS with EPICS. This paper introduces how to build RTEMS on MVME5500 and setup a power supply control prototype using I/O module PSC/PSI developed by BNL.

THP008
Control System for the MMF Experimental Area
V.K.Gorbunov* (RAS/INR)
The Moscow Meson Factory(MMF)experimental area consisting of different proton beam transmision lines has been operated for more than 15 years. This paper reviews experimental area control system performance, trouble and operating experience.

THP009
Developments in the Integration of Video Into EPICS on Diamond Light Source
M.Rivers (ANL) M.G.Abbott, M.T.Heron, N.P.Rees, U.K.Pedersen* (Diamond)
Firewire (IEEE1394) video cameras, compliant with the IIDC/DCAM specification are used on both the accelerators and photon beamlines on Diamond Light Source. Initially the integration was through a commercial Firewire/IIDC stack running on VME and VxWorks based EPICS IOCs. Recent developments have migrated the Firewire camera interface to X86 Linux based IOCs using the open source libraries dc1394 and EPICS areaDetector. The motivation for this and the software structure is described.

THP010
Control System Availability for the Spallation Neutron Source
S.M.Hartman* (ORNL)
The Spallation Neutron Source (SNS) is continuing its ramp up of beam power, while simultaneously increasing production hours and striving for reduced unplanned downtime. For the large, highly-distributed EPICS-based control system of the SNS, this demand for increased availability is combined with the need for ongoing system maintenance, upgrades and improvements. Causes of recent control system related downtime will be reviewed along with experiences in addressing the competing needs of availability and system improvements.
SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

THP011
The Diamond Light Source Control System Interface to the Libera Beam Position Monitors
G.Rehm, I.Uzun, M.G.Abbott* (Diamond)
Libera Electron Beam Position Monitors (EBPMs) used at Diamond provide information about the electron beam position at a variety of frequency scales from 10MHz, through revolution frequency, down to 10Hz. Diamond Light Source has implemented an EPICS interface to the Libera BPMs to integrate all of this information into the overall control system. Using this, in conjunction with the timing and fast orbit feedback interfaces, provides access to all the rich data sets and functionality provided by Libera. The details of the interface, data available, both directly from the Libera and through a data concentrator will be presented.

THP012
Evaluation of the LHC Software Architecture for Data Supply and Setting Management within the FAIR Control System
D.Ondreka, J.Fitzek, R.Mueller* (GSI)
The future Facility for Antiproton and Ion Research (FAIR) puts challenges on the existing machines and controls infrastructure at GSI and shows its limitations. A control system renovation is planned to control the much larger accelerator complex in a consistent way including the existing machines Experimental Storage Ring (ESR) and Synchrotron (SIS18). The LHC Software Architecture (LSA) is at CERN a working solution for settings management and data supply, which is designed in a very generic way. LSA was developed at CERN starting in 2001 as a core part of the controls software and is used for nearly the whole CERN accelerator complex. Because of its clear separation between data model, business logic and applications, it seems to be suitable and easily adaptable to GSI/FAIR. To analyze LSA in more detail, design how to adapt and extend it to GSI and FAIR needs and how to integrate it into the existing controls software at GSI, a prototype was set up. The existing SIS18 was modelled in LSA. Several tests are planned to use LSA for setting generation for different machine modes, e.g. fast extraction, KO extraction. The current state of evaluating LSA is presented here.

THP013
The On Line Read Out System for the Radiation Monitoring System in the LHC Accelerator
A.Nyul*, C.Pignard, D.K.Kramer, T.Wijnands (CERN)
Radiation induced damage to electronics in the underground tunnel of the LHC accelerator is a major concern. The LHC radiation monitoring system provides on line measurements of the radiation levels at the location of the electronics and provides an early warning when the levels start to increase. In this paper, a description will be given of software architecture that is used to control the nearly 400 devices in the 27 km long tunnel. The entire system is database driven and particular attention will be given to the operatinal alarms, timing and controls databases. Furthermore, a summary of the first operational experience since 2005 will be given. Finally a new data visulisation tool will be described.

THP014
The Spiral2 Command Control Software Organisation and Management.
J.-F.Gournay, Y.Lussignol (CEA) C.H.Haquin, D.T.Touchard*, E.Lecorche, E.Lemaitre, L.Philippe, P.Gillette, P.Lermine (GANIL)
The Spiral2 project aims to provide a new facility able to produce and study rare ions. To ease collaboration between laboratories involved in software development, the command control team has chosen the EPICS software. At an upper layer, high level applications will be programmed in Java while the XAL framework is currently under investigation. A development skeleton, programming rules, subversion development tools are about to be fixed on to achieve the whole organisation. Program developers will be able to generate generic EPICS applications which can be integrated in each IOC VME crate or LINUX box. Furthermore, Spiral2 beam control equipment will be described in a relational database and a program will be provided to automatically generate EPICS flat databases. The aim of this paper is to describe this organisation and the benefits for the Spiral2 command control team.

THP015
An Analysis of the Control Hierarchy Modeling of the CMS Detector Control System
A.Racz, B.Beccati, C.Deldicque, C.Schwick, D.Gigi, E.Cano, E.Meschi, F.Glege, F.Meijers, H.Sakulin, J.A.Coarasa, J.F.Laurens, J.Gutleber, L.Orsini, M.Ciganek, M.Simon, M.Zanetti, R.Gomez-Reino, R.Moser, S.Cittolin, Y.L.Hwong* (CERN) A.Meyer, D.Hatton, U.Behrens (DESY) D.Shpakov, H.Cheung, J.A.Lopez-Perez, K.Biery, R.K.Mommsen, V.O'Dell (Fermilab) A.S.Yoon, C.Loizides, C.Paus, F.Ma, G.Bauer, J.F.Serrano Margaleff, K.Sumorok (MIT) S.Erhan (UCLA) A.Petrucci, J.Branson, M.Pieri, M.Sani (UCSD)
The high level Detector Control System (DCS) of the CMS experiment is modeled using Finite State Machines (FSM), which cover the control application behaviors of all the sub-detectors and support services. The Joint Controls Project (JCOP) at CERN has chosen the SMI++ framework for this purpose. Based on this framework, the functionality and behavior of the equipments and subsystems of the experiment is represented as a collection of objects in a hierarchical structure where commands flow down and states flow upwards. The FSM tree of the whole CMS experiment consists of tens of thousands of nodes. Due to the enormous size and complexity of the system, a high level of homogeneity and consistency is desired. The analysis of the current FSM hierarchy of the CMS experiment and the design of a mechanism for the optimization of the FSM logic and structure will be presented. The CMS FSM system will be discussed in view of most recent research on modeling and analysis of such systems. An algorithm for analyzing and remedying complex FSM system will be presented.
ACEOLE: A Marie Curie Initial Training Network Project

THP016
Alba, A Tango Based Control System in Python
D.Fernandez-Carreiras*, F.Becheri, J.Klora, R.Su, S.Blanch, S.Rubio-Manrique, T.Coutinho (CELLS-ALBA Synchrotron)
Alba is a member of the Tango collaboration. We have focused on the development of support for Python in Tango having now most of device servers and and clients based on Python. On the client side python is combined with Qt (Nokia) / PyQT (RiverBank) for graphical inferfaces and ipython for command line interfaces. Python is fast and suitable for most device servers, and gives an enormous flexibility in terms of evaluation of expressions, and embedded on-line calculations. On the other hand, Alba has also developed specific servers in C++, and uses others written in C++ and Java made available by the members of the Collaboration, which Tango integrates perfectly with the python ones in the control system.

THP017
A Control System Upgrade for the Daresbury MEIS Facility
P.H.Owens* (STFC/DL)
The Medium Energy Ion Scattering (MEIS) Facility at Daresbury Laboratory is operated by the Science & Technology Facilities Council as a user facility for the benefit of UK HEI researchers and industry. MEIS enables the investigation of the surface structure and properties of crystalline materials using an ion beam probe. MEIS opened in 1996, but was constructed using parts of much older machine, the Nuclear Structure Facility (NSF), following it's decommissioning in the early 1990s. Much of the hardware and software used in the control system dated from the 1970s & 80s. This was becoming increasingly difficult to maintain and the possibility of failure of obsolete, unrepairable components posed a serious risk that the facility could become unusable. The solution adopted is based on an EPICS IOC on a PC running Linux. Communications with the plant hardware are via a USB parallel interface. The MIDAS support library, which was already used for the data acquisition system, was extended to include a channel access client. A tcl/tk user interface is provided to give users a consistent and familiar look and feel.
Engineering Technology Centre, STFC Daresbury Laboratory, Warrington WA4 4AD, UK

THP018
EPICS Channel Access Implementation in LabVIEW
A.P.Zhukov*, W.Blokland (ORNL)
LabVIEW is becoming more and more popular in Accelerator Control System. Interfacing LabVIEW with EPICS could be done in different ways. We provide native LabVIEW implementation of CA protocol. Such approach greatly simplifies the development EPICS controlled devices in LabVIEW.

THP019
Supporting High Performance Motor Controllers with EPICS
J.P.Sullivan* (ANL)
The integration of the Alio Hexapod Robotic stage and the ACS Tech80 SPiiPlus motion controller with the EPICS motorRecord provides a template for providing complex multi-axis motion to the EPICS Control System. The Alio hexapod is a six axis robotic system that provides nanometer resolution. The motion control of this stage requires complex kinematic calculations executed in microseconds. This poster describes the integration of a high performance motion controller required for this task with standard EPICS motor support software included in the EPICS synApps software package.
* ACS Motion Controllers, Managing Complex Kinematics w/SPiiPlus Controllers* EPICS motorRecord Support Page* EPICS Asynchronous Driver Support Page
U.S Department of Energy Office of Science, UChicago Argonne LLC

THP020
AIDA, An Architecture for Distributed Accelerator Data at SLAC
D.Fairley, D.Rogind, E.Grunhaus, G.R.White*, G.S.McIntyre, H.Shoaee, P.Chu, P.Krejcik, R.C.Sass, R.D.Hall, S.Chevtsov, M.Zelazny (SLAC)
Rapid development of scientific software applications for a large instrument like an accelerator, in an established and evolving environment, is made difficult by the diversity of interfaces, protocols, and hosts, of the source data. Additionally, analytical applications deal mainly with complex data structures, such as synchronized beam data for a whole beamline, rather than individual control points. AIDA (Accelerator Integrated Data Access) is a distributed 3-tier system that allows Matlab, Java programs, or scripts, to interoperate with EPICS Channel Access, legacy control systems, relational databases such as Oracle, accelerator modelling systems, EPICS and SLC Archivers, and other data servers, in ways oriented to scientific users. It also includes a web interface for search and plots. At SLAC, AIDA provides a uniform, fast, interface to 4.5 million named elements in 14 lower level systems, over two control systems, for about 70 utilities and 20 large scientific applications. This approach was found to be key to the rapid commissioning of LCLS at SLAC. We present the first public description of the developed AIDA system since its early thinking at ICALEPCS 2001.
Work supported in part by the DOE Contract DE-AC02-76SF00515

THP021
Virtual Accelerator Control System
W.Zhang* (IMP)
The article introduce a control system used in HIRFL-CSRm. The control system realized virtual accelerator on CSRm. The FPGA+ARM-linux+DSP architecture are mainly used in power supply control of CSRm control system. All data of virtual accelerator saved in Database (ORICLE). When we will use one data, we can use an event(we defined in our control system) to trigger DSP card designed by ourselves and DSP card will output voltage wave that we wished to power supply. So we can control power supply to output different current. In this control system, ARM card designed by ourselves transfers wave data from Database to DSP card.. In Database, we saved all data of different energy.

THP022
Testing EPICS Redundant IOC and IO on ATCA
A.Kazakov* (KEK)
This work will describe our recent results of using EPICS Redundant IOC on ATCA platform. EPICS Redundant IOC was extended to support ATCA platform and features provided by it. Testing of external IO and EPICS Redundant IOC on ATCA is planned.

THP023
Fiber Optic Control for Electron Gun Power Supplies of 3MeV DC Accelerator
B.S.Israel, K.Nanu, R.N.Rajan (BARC) K.C.Mittal, K.Dixit, R.B.Chavan*, V.Yadav (BARC-EBC)
A 3MeV, 10mA DC Industrial Electron Beam Accelerator is being developed at Electron Beam Centre, Navi Mumbai. The electron beam is generated by a triode electron gun and injected into the accelerating column at 5 keV. The gun and its power supplies, i.e.5kV anode, '3kV grid and 15V/20A (filament), are floating at 3 Million volts, and are situated in a tank which is pressurized with SF6 at 6kg/cm2. These power supplies are required to be controlled remotely. For this purpose, control system using ADAM modules and Optical fiber has been designed and developed. One set of control modules is situated inside the pressure vessel and is floating at 3MeV. The other set of modules is placed at ground potential at the bottom of the pressure vessel. Communication between the two sets of modules is through optical fiber. The module at ground potential convert's RS-485 signal to optical signal. Software was developed in Visual Basic using CWSerial ActiveX control. The system has been successfully tested on the gun power supplies and for high-pressure operation at 6kg/cm2. This paper discusses the design aspects, circuit details and testing of the control system.

THP024
About the Opportunity to Use Solid-State Photo Multipliers for not Destroying Synchrotron Diagnostics of High Energy Proton Beams
A.A.Maltsev* (JINR) M.V.Maltseva (TENZOR)
The opportunity application of the not destroying infra-red diagnostics method for measurement of intensity and geometrical parameters of proton beam in synchrotron using solid-state photo multipliers is considered.

THP025
The Scyntillation Solid-State Detector for Complex Control and Diagnostics System of Subcritical Electronuclear Installation
A.A.Maltsev* (JINR)
For registration of x-ray, scale and neutron radiations, their distribution in volume of installation it is offered to use the optics-electronic method. It means to use blocks of detecting scintillation solid-state. During registration of radiation is carried out double transformation: first the ionizing radiation cooperates with scintillation thus photons in light area of a spectrum are formed, and then quantums of light are registered by the solid-state photo multiplier.

THP026
Development of an FPGA Based RF Control System For the S-DALINAC
A.Araz*, M.Konrad, R.Eichhorn, U.Bonnes (TU Darmstadt)
The Superconducting DArmstadt electron LINear ACcelerator S-DALINAC has a maximum energy of 130 MeV and beam currents of up to 60 A. To reach this energy conveniently in cw, superconducting cavities with a high Q at a frequency of 3 GHz are used. In order to achieve a minimum energy spread, the amplitude and phase of the cavities have to be controlled strictly in order to compensat the impact of microphonic perturbations. The existing analog rf control system based on a self exited loop, converts the 3 GHz signals down to the base band. This concept will also be followed by the new digital system currently under design. It is based on an FPGA in the low frequency part, giving a great flexibility in the control algorithm and providing additional diagnostics. The low level RF system is controled via CAN bus within an EPICS environment. We will report on the design concept, the status and the latest results measured with a prototype.
supported by the DFG via SFB 634

THP027
Control System for Injection Channels of VEPP-2000 Collider
A.S.Kasaev, A.S.Stankevich, D.E.Berkaev*, F.V.Podgorny, O.V.Belikov, P.B.Cheblakov, V.R.Kozak (BINP SB RAS)
The paper presents architecture, implementation and functionality of injection channels control system for VEPP-2000 collider. The software according to hardware system consists of different interacting subsystems responding on different injection channels parts. The paper describes structure and implementation of the hardware of the collider control system. The system consists of pulse-elements; steering coils power supplies and nanosecond high-power inflectors (60 kV, 20 ns). The system is based on modern industrial protocol CAN-bus, CAMAC standard and specialized electronic BINP manufactured blocks according the standards. Software for the control system is based on several TCP/IP connected PC platforms working under operating system Linux and uses client-server techniques. CAN and CAMAC servers; different clients for control and power supply measurements; inflector control tools and their interaction with the rest of VEPP-2000 control system are described.

THP028
VEPP-2000 Collider Control System
A.N.Kirpotin, A.P.Lysenko, A.S.Medvedko, D.E.Berkaev*, E.A.Kuper, I.Koop, P.B.Cheblakov, P.Yu.Shatunov, V.R.Kozak, Y.M.Shatunov, Yu. A.Rogovsky (BINP SB RAS)
Electron-positron collider VEPP-2000 is under commissioning at Budker Institute of Nuclear Physics. The paper presents architecture, implementation and functionality of the software of the collider control system. The software according to hardware system consists of interacting subsystems responding on different acceleration facility parts. Control system software is based on several TCP/IP connected PC platforms working under operating system Linux and uses client-server techniques. The paper describes implementation, operating possibilities and perspectives of VEPP-2000 software. The paper also presents structure, architecture and implementation of the hardware of the collider control system. The system consists of pulse-elements, steering coils power supplies, high-current main field power supply, RF subsystems and some other special subsystems (such as vacuum, temperature, etc. control subsystems). The system is based on modern industrial protocol CAN-bus and specialized electronic BINP manufactured blocks according the standard. The paper describes implementation of different subsystems based on CANbus devices, and operating characteristics and possibilities.

THP030
New Developments for the JCNS Neutron Scattering Instruments
A.Erven, D.Korolkov, H.Kleines, J.Heinen, L.Fleischhauer-Fuss, M.Drochner*, M.Monkenbusch, M.Wagener, S.Mattauch (FZJ)
Since the Juelich 'Dido' research reactor was shut down 5 years ago, the larger part of its neutron scattering instruments was moved to the new FRM2 neutron source at Munich, and some newly constructed. While we used a set of standard components as far as feasible, we had to accept some compromises due to the time pressure to get things going. In particular, we have a number of different graphical and command-line user interfaces now which is difficult to handle for users who work on multiple instruments. After the initial rush, we are now working towards some consolidation, both on a common GUI philosophy and a high-level scripting language. The design of the new user interface will be presented.

THP032
Upgrading the PROSCAN Control System to EPICS: a Success Story
A.C.Mezger*, D.Anicic, H.Lutz, M.Gasche, T.Korhonen (PSI)
At the Paul Scherrer Institute the High Intensity Proton Accelerator (HIPA) as well as the new biomedical facility (PROSCAN) use an in-house developed Control system called ACS. The SLS and future XFEL on the other hand use EPICS. In view of the standardization of software and hardware equipment, the decision was made to replace the ACS system with EPICS. Two years ago we started the migration of the PROSCAN control system, which has already from the beginning been built with a high degree of hardware standardization, using VME components only. The migration was finished at the end of last year, but we did not perform the definitive switch over due to a biomedical application that still has to be adapted by their authors. In the coming years we also expect to migrate the ACS control system of the high intensity proton accelerator to EPICS, taking advantage of the work and experience we gained with the PROSCAN migration. We will present here the goals that have been followed and the way we proceeded for the very successful migration of the PROSCAN control system.

THP033
The GSI Networking Middleware Renovation Project
G.Schwarz, K.Herlo, K.Hppner, K.Hppner*, L.Hechler, P.Kainberger, S.Matthies (GSI)
Designed in the mid-eighties, the GSI front-end implementation was closely related to specifics in the underlying hardware and software platforms. Using a proprietary network protocol, it was tightly bound to details in the client's layer. Because of the manifold dependencies between elements widespread in the system, substantial modernizations had to be postponed for a long time. The blockade could be overcome by re-building the front-end framework, with a CORBA based remote access. Orientation towards the previous functionality allowed supporting the former client's remote access interface, in addtition to a new object oriented interface, as well as re-using the existing device specific front-end software. Without modifications, existing operation's applications access new and former front-end systems in parallel. Switching to the new system is done step by step. With negligible impact by the migration process, renovated front-end systems already handle large areas of GSI's accelerators. After a long time of restriction to the original environment the new communication layer opens the GSI control system for present day technologies.

THP035
Automation of the Experiment on the VEPP-4 Facility
A.G.Shamov, D.Bolkhovityanov, O.A.Plotnikova, S.E.Karnaev*, S.I.Mishnev (BINP SB RAS)
The VEPP-4 Control System is based on using CAMAC-embedded controller ODRENOK, which was designed 25 years ago*. In 90th PCs were implemented into the control system for data storing and visualization**. Since this period a lot of new devices and technologies were accommodated for the accelerator control on the VEPP-4 facility. This paper includes a description of the recent experience of the VEPP-4 control system operation based on communication of PCs with old computers. Automation of the operations on the high energy physics experiments is presented. The long time data storage system based on postgreSQL server is described.
* A.Aleshaev, et al, VEPP-4 Control System, ICALEPCS'95, 1995, Chicago, USA** A.Aleshaev, et al, Integration of PCs into the VEPP-4 Control System, PCaPAC, 2005, GUAS (Hayama), Japan

THP036
A Proposal for Introspection In EPICS
D.Dohan, L.R.Dalesio* (BNL) R.Lange (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
Introspection provides some mapping of function to process variables. To implement this in EPICS, a service is required to define these relationships that may be accomplished external to the control system as an extension to the directory service. This paper outlines the functionality and design to implement this functionality.
This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy.

THP037
FESA Frontend Framework for the FAIR Accelerator Complex
A.Schwinn, D.Pfeiffer, K.Hppner*, S.Matthies (GSI)
The FESA - Frontend Software Architecture framework is developed at CERN for being used in the LHC and its injectors. It is a framework to easily integrate accelerator equipment such as magnet power supplies, vacuum and cryogenic components and beam-diagnostic devices. GSI decided to use FESA for its FAIR project (Facility for Antiproton- and Ion Research). The FAIR project has challenging and complex requirements. New heavy ion accelerators will be constructed. Numerous international cooperation partners will contribute to the project. Thus, many device drivers that were developed within the GSI controls group in the past will be supplied as third party contributions that need to fulfil the control system standards. The well established FESA framework will ease to keep a common standard in software development from the various contributor. We will present the current status and first results of the integration of FESA devices at GSI.

THP038
First Experience with the Introduction of Virtualization Techniques into the DELTA Control System
D.Schirmer*, O.Kopitetzki, P.Hartmann, P.Towalski (DELTA)
After many years of operation the client/server architecture of the EPICS-based control system at the synchrotron light source DELTA has been modernized. Due to successive augmentation with additional computers for dedicated tasks, the previous topology grew in the course of time. As a result the maintenance effort increased while the efficiency of the processor load decreased. The introduction of virtualization methods helped to tackle this issue. After evaluation and testing, different implementations were put into action. Pros and cons of the various virtualization solutions are discussed and the experiences with the introduction into an already running EPICS based control system are summarized in this article as well.

THP039
Magnet Power Supply Control Based on EPICS on F3RP61 for KEK-ATF
J.-I.Odagiri, J.Urakawa, N.Terunuma, S.Araki* (KEK) A.Hayakawa, J.Ozawa, Y.Tsukada (KIS)
A new electron beam extraction line has been constructed for the Accelerator Test Facility 2 (ATF2) project. While the power supplies of the quadrupole magnets and bending magnets of the beam line are mainly controlled by an EPICS/PLC-based system developed by SLAC, a new control subsystem was required to control power supplies of other miscellaneous magnets. Since the human resource to implement the control system was highly limited, it is preferable that we choose a front-end controller which enables us to develop and maintain the software in an efficient manner. In order to satisfy this requirement, a new type of Input / Output Controller (IOC), which runs Linux on a CPU module of FA-M3 PLC, has been adopted. The CPU functions with standard I/O modules of FA-M3 on the PLC-bus. We found that running EPICS sequencer programs on the new IOC makes the development and maintenance of the software efficient. This paper describes the details of the IOC and its experiences in the operation of ATF2, such as long term stability, flexibility in the modification of the software and so forth.

THP040
New PC-Based RF Control System of the K-800 Superconducting Cyclotron At Infn Lns
A.Longhitano (ALTEK) L.Xia (CIAE) A.C.Caruso*, A.Spart (INFN/LNS)
The control of the radio frequency system of the k-800 superconducting cyclotron at INFN-LNS since the first 1988 version, has been a combination of analog and digital techniques.The analog systems still mantain a certain priority in the control of the amplitudes and phases of the RF voltages, while for the remaining operative blocks, the approach adopted is mostly digital.A new computer-based control of the RF system is going to be fully developed.The first results are already installed in parallel mode with the old RF computer control.At the moment two parallel computer controls are working together.Both systems are complementary.Step by step the new computer control system takes the place of the old more dated one.This report shows the new computer architecture, including the new panel controls, the communications bus, the interfaces between the PC and the RF blocks and the custom and the industrial solutions adopted for this new RF computer control.

THP042
The SPARC Control System
M.Quattromini, V.Surrenti (ENEA C.R. Frascati) D.Filippetto, E.Chiadroni, E.Pace, F. A.Anelli, G.Di Pirro*, L.Cultrera, M.Bellaveglia, S.Fioravanti (INFN/LNF) A.Cianchi (Universit di Roma II Tor Vergata Physics Department)
We describe the control system operation for the ne injector project built at the Laboratori Nazionali di Frascati INFN (SPARC). The injector started the operation in the autumn of the 2007 and the control systems has been full operating since the start of commissioning and integrate all tools to help the whole machine operation from the gun until the undulator. The SPARC control system must follow all evolution in the machine installation. To allow us a rapid develop of the control system we have made some commercial choices: Labview as developing system; Gigabit Ethernet as interconnection bus with a simple TCP/IP protocol and mainly standard PC as front-end CPU and console. We developed control applications for all machine elements and diagnostic tools. We also developed some tools to help the operation such as an electronic logbook full integrated in the console windows and an automatic process to store all information.

THP043
PostgreSQL Usage within the SPARC Control System
E.Pace*, G.Di Pirro, S.Fioravanti (INFN/LNF)
The SPARC control system is havily using a PostgreSQL database. Configuration information are stored in the database and retrived at initialization time from the control sytem. At the same time information about the accelerator are continuously collected and stored in the database and are heavily used during offline analysis of data taken for machine studies.Data are stored both in database tables and in an electronic logbook (based on PostgreSQL) that has been developed by tha SPARC team.

THP044
The SPARC Vacuum System
A.Clozza, E.Pace*, F. A.Anelli, G.Di Pirro, S.Fioravanti (INFN/LNF)
The monitor of the SPARC vacuum system is fully integrated in the SPARC Control System. Eterogeneous ionic pumps and gauge systems are continuously monitored and their values stored in a database. Gauge systems can be remotely switched off or on. The system allows an easy insertion of new hardware models.

THP045
Controls Evolution on ISIS, an Accelerator Based Neutron Production Facility
R.P.Mannix* (STFC/RAL/ISIS)
The ISIS spallation neutron source has been a production facility since 1984 with the original, single, target station. ISIS is now starting the second phase of its life with two target stations and the possibility of further upgrades. The author has worked in the ISIS controls group since before first neutrons and leads the group into this new phase. The difficulties and solutions surrounding legacy systems in such an environment (where a facility lifetime may approach 50 years) are discussed.

THP046
Conceptual Design of the PLS-II Control System
J.C.Yoon* (PAL)
PLS will begin the PLS-II project that has been funded by the Korean Government in order to further upgrade the PLS which has operated since 1994. Conceptual design of the PLS-II control system of PLS is proposed. The control system design is based on EPICS toolkits. Guidelines for hardware platform and operating system choice will be addressed. The EPICS test bed will be setup to evaluate various selected hardware and software components. Upgrade the PLS control system computer servers, distributed workstations, and networking switches to improve performance, reliability and to replace aging systems. The open architecture will facilitate machine upgrade, modification without toil and minimized efforts for machine maintenance. Performance and reliability of the control system will be guaranteed from the initial design phase.
PLS-II, Control System, EPICS, Improve

THP047
A New DAQ Installation for the SIS18 Beam Position Monitoring System at GSI
G.Jansa, I.Verstovsek, J.Bobnar, M.Sekoranja, S.Sah (Cosylab) T. Hoffmann, K. Hoeppner, K.Lang, M.Schwickert, P.Kowina (GSI)
The BPM system for the heavy ion synchrotron SIS18 consists of 12 shoe-box pick-ups. Their analog signals are digitized by Libera Hadron units, manufactured by I-Tech, Slovenia. In addition, the Libera is used for an FPGA based online position calculation. Due to this high rate of 12 times 60 MB/s at 5 MHz bunch frequency, a dedicated 10 bit network is used to concentrate the data from all Liberas on two concentrator PCs. Besides all control actions, these PCs are running the DAQ server applications, developed and produced within the CERN made Front-End Software Architecture (FESA).These servers are also used for further data manipulation such as tune and closed orbit measurements. As a mediator between the FESA front-end and the JAVA GUI application level, the CMW/RDA middleware, also developed at CERN, is used. Due to the modular layout, the system is already extensible for the SIS 100 and SIS300 BPM systems at the Facility of Antiproton and Ion Research (FAIR). The implementation of the high speed data transfer, the FESA servers and the Java GUI application is presented.

THP049
Distributed Control System for an Industrial Electron Accelerator
S.Acharya (BARC) K.C.Mittal, V.Sharma* (BARC-EBC)
A distributed input/output based, distributing control system has been for an indigenously developed 500 keV electron accelerator. The monitoring and control of each subsystem is assigned to an individual micro-controller. The processors are connected on a CAN network to communicate with each other for decision-making. Each processor incorporates a user configurable program. Each processor communicates with standard peripheral input/output modules to control inputs/outputs of the subsystem. For user program configuration on chip flash memory of the processor has been reserved. The processor can be configured by entering the control flow data on a Microsoft Excel Sheet in .CSV format and transferring it to the processor using PC.Programming using the data entry in an Excel Sheet makes it easy for the user to program a processor without knowing any programming language.The use of distributed multiple processors reduces the wiring, maintenance hence reducing the downtime of the machine.Each processor is provided with a local Touch Screen as user-friendly man-machine interface.

THP050
A RF Test Stand Control System for The XFEL/SPring-8
A.Yamashita, M.Yamaga, S.Takahashi, T.Masuda, T.Ohata (JASRI/SPring-8) H.Maesaka, K.Shirasawa, N.Hosoda, T.Fukui*, T.Hasegawa, T.Ohshima, Y.Otake (RIKEN/SPring-8)
The X-ray free electron laser (XFEL) facility is under construction at SPring-8. An rf test stand was build for the XFEL to assure performance of the delivered rf components under the high-power condition and to establish a conditioning procedure for stable operation with design rf power. In addition, the test stand is used to confirm a performance of a low-level rf system, a precise water temperature control system, a vacuum system and an rf high power system. In this paper we describe a software framework to control those equipment and test results of a newly developed software component include device drivers with Solaris 10 for x86.

THP051
The Extented Archiver in DOOCS
H.Keller* (DESY)
At the FLASH (Free-Electron Laser in Hamburg) about 30, 000 data channels had been permanently archived. For the XFEL about a factor of 10 times of this is expected. Because of that huge amount each DOOCS server has its own archiver to store and retrieve the filtered data in a history file with one ring buffer per channel and an additional fast memory ring buffer to see the noise on the signal. So far only the data type 'float' had been stored. The new DOOCS archiver can store 15 different data types and generates for 3 of them ' the data types which can be filtered - thumbnail data to enable a quick overview. Now optionally there is the possibility to store in the new additional long term archiver those data that would be overwritten in the ring buffer. The filter thresholds had to be set manually before. The new optional auto filter permanently analyses the data values and readjusts the filter parameters to obtain the desired data compression.

THP052
New Event-based Control System for Simultaneous Top-up Operation at KEKB and PF
A.Kazakov, K.Furukawa*, M.Satoh, T.Suwada (KEK) S.Kusano, T.Kudou (MELCO SC)
The 8-GeV linac at KEK provides electrons and positrons to three ring accelerators of KEKB-HER, KEKB-LER and Photon Factory. Simultaneous top-up injections to those rings are carried for the ultimate experimental results at the both KEKB and PF facilities. An event-based fast control system was newly constructed overlapping the existent EPICS control system. The new system controls the distant equipment globally utilizing event modules from MRF and several other techniques. The event system enables fast controls from pico-second to milli-second range, and the conventional EPICS system covers slower controls. More than 100 parameters are driven globally by the event system every 20ms pulse in order to generate beams with three-times different energies and 100-times different charges. And more than 500 parameters are observed synchronously to ensure the beam operation. The system enables the future accelerator complex such as SuperKEKB as well. This paper describes the detailed design of the hardware and software structures, beam operation experiences, and possible extensions towards the future.

THP053
Experience with the SLAC Controls Architecture Evolving to the Needs of the LCLS
A.Chan, D.Fairley, D.Rogind, E.Grunhaus, E.Williams, G.R.White, H.Shoaee, P.Chu, P.Krejcik*, S.Allison, S.Chevtsov, M.Zelazny (SLAC)
The successful commissioning this year of the LCLS has been the culmination of a significant effort to integrate new, state-of-the-art controls with legacy controls of the SLAC linac. A distributed controls system of EPICS IOCs and Linux servers operates in conjunction with an older, centralized VMS system based on CAMAC and micros. High-level Java applications and scripts written in Matlab provide data acquisition and analysis tools for diagnosing, tuning and optimizing the machine. A RDB unites the configuration control, online modeling and reference beam data within a uniform schema. The Aida data access tool allows applications transparent access to data from either control system and has allowed engineers to control migration to new platforms without requiring changes to application code. Emphasis has shifted from using our SLC-aware IOC development to supporting a data bridge in the opposite direction to provide access for burgeoning applications on new platforms to data from the old control system. The challenge has been to provide such data synchronously with the timing system on a pulse-by-pulse basis at 120 Hz to support beam-based feedback and other applications.
This work was supported by the U.S. Department of Energy under Contract No. DE-AC02-76SFO0515

THP054
OPC at Jefferson Lab
D.M.Wetherholt* (JLAB)
Many accelerator devices, such as magnet power supplies and klystrons, require cooling and temperature regulation using low-conductivity water (LCW). Despite its high reliability, variability in Jefferson Lab's LCW supply system has occasionally had an impact on accelerator operations. To help identify issues early, and correlate temperature variation with operational issues, it is desirable to integrate LCW status information with the accelerator control system. Honeywell is providing access to the LCW signals via an EBI OPC Data Access Server. OPC (OLE for Process Control) is based on OLE (Object Linking and Embedding), COM, and DCOM and provides a standard for the communication of real-time data between control devices from different manufacturers. The most logical pathway for implementation is to use existing EPICS driver support that impacts the control system software and support staff in supporting the EPICS Windows platform. We plan to use this initial implementation as a base interface to systems from other vendors. The following discusses the implementation options and our experience integrating an OPC-based third-party system with an EPICS-based control system.
* OPC Device Support 3.5, Winkler, Kunar. Http://www-csr.bessy.ded/control/SoftDist/OPCsupport** Honeywell: Setting up a Third-Party OPC Client or Server.

THP055
SSRF Fast Orbit Feedback System Design and Commissioning
C.X.Yin*, D.K.Liu, L.Y.Zhao, M.Liu, S.W.Tang (SINAP)
As the 3rd generation light source, Shanghai Synchrotron Radiation Facility (SSRF) are pushing the requirement of beam stability to sub-micron in the range of DC to 100Hz. To satisfy this requirement, fast orbit feedback system is necessary, which consists of 40 eBPMs, 60 pair's correctors (horizontal and vertical). SSRF fast orbit feedback system has a 10kHz sampling rate. SVD of measured orbit response matrix is implemented as orbit correction algorithm. In this paper, the system structure, the structure of its hardware & software subsystems, and the simulation model are presented. At last, the system performance based on model simulation and system commissioning are given; the system parameters tuning method is discussed.

THP056
Computer Models to Optimise the Setting of the MAMI Double Sided Microtron
H.J.Kreidel*, M.Dehn (IKP)
The MAMI microtron cascade has been upgraded from 0.855 to 1.5 GeV by a 4th stage. This stage - successfully in operation since Mar 2007 *) for experiments in nuclear physics and delivering a c.w. electron beam of 100uA at 1.558GeV maximum - is a worldwide unique scheme of microtron, a Harmonic Double Sided Microtron (HDSM). In contrast to a Race Track Microtron one turn in the HDSM implies the passage of two different linac lines and accordingly two independent beam focussing schemes. Due to the higher number of tuning parameters it turns out to be much more difficult to understand and describe the actual transverse and longitudinal beam dynamics for all 43 turns in detail. For this reason parameterised models of the beam optics were implemented into the control system, which can be adapted, e.g. by least squares fit, to the measured beam parameters. The models enable analysis and fine tuning of the machine optics as well as very effective correction algorithms for the linac phases or the beam position corrector magnets.
*) A.Jankowiak et al., Proc. EPAC 2008, (A08)p.51, MOZCM01
Work supported by DFG (CRC 443) and the German Federal State of Rheinland-Palatinate

THP057
Stabilisation of an Orbit of Particles for VEPP-4M Electron-pozitron Collider
I.I.Morozov* (BINP SB RAS)
To one of defining factors of work collider VEPP-4M is efficiency of injection of bunches from store-preaccelerator VEP-3. It depends on many parameteres, including stability of an orbit of particles in the injection region. The system of correction including the control not only a current, but also magnetic fields has been developed for orbit stabilisation at injection time in corrector magnets.A proportional-integral-derivative controller (PID controller) is applied to increase of accuracy and speed of installation of a orbit.

THP058
Control of Duration and Time Uniformity of Beam Extracted from a Synchrotron.
V.A.Karpov, Y.A.Bashmakov* (LPI)
At the slow extraction of particles from a synchrotron the law of time variation of the intensity of extracted beam is primarily determined by the velocity of approach of the frequency of the betatron oscillations to the resonance value. The functional dependence of the required form of a changing of the exciting currents in the quadrupole lenses or in the gradient windings as the function of the beam particles distributions on the amplitudes of betatron and synchrotron oscillations is considered. The basic controlling parameters and the influence of the errors of control on the effectiveness of the work of the slow extraction system are discussed. The optimum algorithm of controlling actions according to the feedback principle is examined.

THP059
Introducing Fast Orbit Feedback at BESSY
I.Mueller, J.Rahn, R.Goergen, R.Lange, R.Mller* (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
Over the more than ten years of BESSY II operation the strategy of eliminating beam perturbation sources and precisely compensating for slow orbit drifts successfully provided the micron and sub-microradian beam stability required by the experiments. In view of increased processing bandwidth at the experiments and the demand for rapid compensation of noise spikes and new, yet unknown excitations a fast orbit feedback aiming at noise suppression in the 1Hz-50Hz range will be installed. Phase I of the implementation foresees fast setpoint transmission plus replacement of all corrector power supplies and aims at higher correction speed. Phase II intends to replace today's multiplexed analog beam position monitors by parallel processing fast digital units to increase correction precision in combination with top-up operation.

THP060
Feedback Controller for LINAC Output Energy at SNS
D.G.Taylor (GIT/ECE) M.P.Martinez* (ORNL)
The objective of the project is to design a feedback controller that regulates the output energy of the linear accelerator (LINAC) at the Spallation Neutron Source (SNS) facility by using beam position at the high energy beam transport (HEBT) achromat. After the LINAC accelerates a negative hydrogen ion bunch to 1 GeV of energy, the HEBT achromat bends the pulsed beam 90 degrees in the horizontal plane towards the accumulator ring. The beam trajectory through the achromat varies with energy dependant on the energy of the beam as it leaves the LINAC. Since output energy can not be measured directly, the beam position at a high dispersion location in the achromat is utilized as the indicator in the variations of output energy. To stabilize the energy, the position is used as the feedback variable to control the phase of the last cavity of the superconducting cavity LINAC (SCL). This project involves the design of a feedback control system to regulate output energy by varying the phase of the last SCL cavity depending on beam position at the HEBT achromat.
* SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy

THP061
NSLS-II Insertion Device Controls Plan
D.A.Harder, J.Rank, L.R.Dalesio, T.Tanabe* (BNL)
Controls on insertion devices usually comprise of motor controls, cooling water for in-vacuum devices, various sensors such as limit switches and temperature sensors. Interlocks are provided indendently from the device controls. They have been considered "slow" control elements and very little attentions have been paid to the response and latency of ID controls. However, current project scope of NSLS-II project demands very tight tolerance of beam movement of submicron level. More frequent use of elliptically polarizing undulators (EPUs) also requires synchronized movement between gap and phase motions to ensure the stability. Furthermore, future demand for synchronization of ID state and beamline components prompt more sophisticated schemes. Synchronous Device Interface (SDI) is originally proposed for fast feedback I/O interface and integration of some ID controls to SDI is proposed.

THP062
Performance Studies of an Integrated Orbit Feedback System with Slow and Fast Correctors
C.H.Kuo, C.H.Kuo*, K.T.Hsu (NSRRC)
Simulation study and experiments of an integrated orbit feedback system of the combined slow and fast correctors is under way. The slow correctors have the stronger trim strength with slower response while the fast ones have weaker strength but faster response. The integrated system can transfer DC corrections smoothly from fast correctors to slow ones to avoid possible saturation of the fast correctors as well as has an advantage of capability to suppress fast transient orbit drift. The simulation of the system performance will be presented and its application for TLS and TPS will also be discussed.

THP063
Preparing Slow Controls at BESSY for Fast Orbit Feedback
I.Mueller, J.Rahn, R.Goergen, R.Lange*, R.Mller (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
The CAN field bus based control system interface to the BESSY power supplies was designed with emphasis on robustness, long-term stability, reproduceability and precision, relying on the basic idea that intrinsic beam stability is achievable at any required level. In preparation for the first phase of a fast orbit feedback system installation, a number of steps at different levels have been taken to enable the existing interface for fast, parallel, synchronized distribution of set point values to corrector power supplies. The design goal was achieving the maximum update rate and a minimum jitter, without major and/or expensive changes to the control system design or hardware. The paper discusses the shortcomings found, the measures taken, and the achievements made.
Work supported by the German Bundesministerium fr Bildung und Forschung and the Land Berlin.

THP064
Orbit Feedback in Taiwan Light Source
C.H.Kuo*, K.T.Hsu, P.C.Chiu (NSRRC)
The global orbit feedback system is indispensable for the Taiwan Light Source (TLS) operation. The existed orbit feedback system has been deployed for a decade to stabilize electron closed orbit. This orbit feedback system is used to suppress various perturbations include orbit excursion due to insertion device operation in TLS. To take advantage of advanced in BPM and power supply technology, the feedback system is upgraded recently accompany with BPM electronic and corrector power supply upgrade; infrastructure of new system has also been modified and rebuilt. Orbit stability is improved drastically. Efforts of digital BPM (Libera Brillance), PWM power supply, orbit feedback system, on-line system modeling, diagnostic access, and control rules upgrade with reduced ill-conditioned response matrix will be presented in this report. Planning the global orbit feedback system based upon experiences accumulate form TLS project for the newly proposed Taiwan Photon Source (TPS) will be summary also.

THP065
Plasma Position Control and Current Profile Reconstruction for Tokamaks
F.Saint-Laurent*, P.H.Moreau, S.P.Bremond (EURATOM-CEA) B.Faugeras, C.Boulbe, J.Blum (Universit de Nice Sophia-Antipolis)
In the field of fusion reactor studies, the Tore Supra tokamak explores the way of high-power long-duration plasma discharges. When operating such discharges, the first wall, located inside the vacuum vessel in front of the plasma, must sustain the heat flux up to 10 MW/m2, released by the high temperature plasma following both convection and radiation processes. Real-time identification and control of the plasma boundary are thus mandatory to safely operate the device. The best way is to solve the 2D Grad-Shafranov equation which describes the axisymmetric plasma equilibrium and thus to identify the non-linear source of plasma current. The fast solver EQUINOX using finite element method and fixed-point algorithm was developed and implemented since 2003. Boundary conditions were imposed using external magnetic measurements only. For advanced plasma regimes (high confinement regime) the current profile must be controlled and thus real-time determined. As magnetics are no longer sufficient to constraint the solution, information provided by other diagnostics were included and tested as additional constraints. Some examples of the resulting current profile improvement will be given

THP066
Fast Orbit Feedbacks for DELTA
D.Schirmer, D.Schirmer*, G.Schuenemann, P.Towalski, T.Weis (DELTA)
The 1.5 GeV electron storage ring at the university light source DELTA suffers from fast orbit movement. Its frequency spectrum points to girder movement, line frequency and its harmonics and the influence of the booster ramp as the sources of beam position noise. Fast orbit feedback systems developed at the DIAMOND light source and the Syncrotron SOLEIL ready to cope with this kind of beam noise are based on I-Tech Libera BPM electronics. Based on the XUPV2P FPGA development board we have developed a digital frontend for the Bergoz MX-BPMs employed at DELTA that integrates seamlessly into the feedback loops based on I-Tech Liberas. A fast local orbit feedback has been set up so far. It will be extended to a global orbit feedback in the near future.

THP067
PROCOS: a Real Time Process Simulator Coupled to the Control System
P.Gayet, P.Gayet* (CERN)
The paper presents the simulation results and the feedbacks from users of a real-time simulator coupled to the clone of an actual UNICOS based control system. This simulator have been developed for the large scale cryogenic systems of LHC. In order to respect the real system architecture, the simulator is composed of different simulation tools sharing data through a standard protocol. The modeling of the process makes use of EcosimPro, a commercial simulation software for industrial systems. Within the model each cryogenic component is represented by a set of differential and algebraic equations and the helium properties are taken from a specialized helium library. The control system is simulated with a PLC-simulator running the actual process control logic. These simulation tools are connected to the SCADA system used to operate the cryogenic plant. Thus, the existing control policy and supervision systems can be reused identically in simulation. The work objectives were threefold: first, to provide tools for operators training, second, to check new control strategies before their implementation and third, to improve our knowledge of the behavior of the cryogenic systems.

THP068
Feedbacks and Controls of the EMBL Petra III Beamlines
U.R.Ristau* (EMBL)
This will be filled soon
Andres Pazos, Mario Di Castro

THP069
Laser Heater Controls Overview at the Linac Coherent Light Source
M.Boyes* (SLAC)
The Linac Coherent Light Source has commissioned the worlds first electron beam Laser Heater system. The LCLS Laser heater has become a vital FEL component to suppress microbunch instabilities and coherent synchrotron radiation effects. The Laser Heater control system consists of electron beam chicane, undulator magnet, IR-Laser system, laser optics stages and multiple diagnostics. Crucial lessons were learned during the design, testing and commissioning.

THP070
Libera Brilliance and Libera Photon Working Together in Fast Orbit Feedback
A.Kosicek*, P.Leban (Instrumentation Technologies)
Libera Brilliance is already a standard Beam Position Processor system, which provides data flows at different sampling rates and bandwidths. It is widely used in the Fast Orbit Feedback system. For this purpose data flow (called FA) at 10 kHz sampling rate is used. Two standard protocols can be employed for integration, GB Ethernet or DLS Communication Controller. Libera Photon is a new photon beam position processor, which is used on blade-based XBPMs. Similar as Libera Brilliance, it provides dataflows at different sampling rates. Sampling frequency of the Libera Photon FA was carefully chosen to exactly match the Libera Brilliance FA. This makes possible a smooth and simple integration of both devices into the same Fast Orbit Feedback. With both devices sharing also the same control system interface, the combined system provides a firm foundation for further stabilization of the beam.

THP071
Design of the Digital LLRF System of the ESS-Bilbao Ion Source Test Stand
H.Hassanzadegan* (ESS Bilbao)
ESS-Bilbao is the Spanish candidature of the future European Spallation Source. As part of the R&D work at the ESS-Bilbao consortium an ion source test stand is currently under construction at the Zamudio technology park in the Basque country (Spain). The first stage of acceleration and beam focus at the ion source LINAC is carried out by a Radiofrequency Quadrupole system driven by a klystron. In order to control the pulsed RFQ field and the RFQ tuning, a novel digital LLRF system based on IQ modulation/demodulation has been designed by the ESS-Bilbao RF group in collaboration with the Electricity and Electronics Department of the UPV/EHU university. In this paper the RFQ specifications and the LLRF design (amplitude, phase and tuning loops) are presented.

THP072
Tune Tracking RFKO Bunch Purification with Bunch-by-bunch Feedback at SPring-8
H.Yonehara, K.Fukami, K.Kobayashi, M.Shoji, T.Aoki, T.Nakamura* (JASRI/SPring-8)
The drift of a betatron tune from a RFKO driving tune reduces the betatron amplitude excited by RFKO. For the booster synchrotron in SPring-8, such tune drift occurs at on-demand operation for the top-up mode injection. To overcome this drift, we are developing a tune tracking RFKO system for bunch purification at the booster. In this system, The betatron motion of the main bunch was excited by positive feedback with which the excited amplitude is much less sensitive to the tune shift. The system is based on SPring-8 FPGA based bunch-by-bunch feedback processor and the kick signal produced by the feedback processor was send to the feedback kicker and the RFKO system for the purification. We describe the system and report some beam test result.

THP073
Implementation of a Fast Orbit Feedback System at the ALS
E.C.Williams* (LBNL)
A fast global orbit feedback system has been in user operation at the ALS for over 5 years. This system was constructed using custom control software running in the EPICS environment, and off-the-shelf computer and Ethernet network hardware to provide improved beam stability. An overview of the feedback system design and implementation will be presented, as well as unique issues encountered during commissioning and proposals for future improvements.

THP074
Decoupling Control System Components Using Asynchronous Publish/Subscribe Middleware
C.Timmer, D.Abbott, D.Lawrence, E.J.Wolin*, E.Jastrzembski, V.H.Gyurjyan, W. G.Heyes (JLAB)
A speaker* at ICALEPCS 2007 advocated the decoupling of control system components through the use of asynchronous communications. The cMsg package from the Jefferson Lab DAQ group implements true publish/subscribe communications using a narrow interface that meets most of the requirements outlined in the talk referenced earlier. Decoupled or loosely-coupled communication ensures that changes to one part of a control system have no effect on other parts of the system. Asynchronous communication eliminates needless waits and timeouts. And the flexibility of the subscription space and the ability to transmit arbitrary information allows cMsg to be used for virtually any type of control application, including run control, logging, monitoring, hardware control, alarm systems, etc. In this paper we describe how publish/subscribe works, how it differs from client/server communications, and how asynchronous publish/subscribe communications allows for decoupling. We further describe the cMsg package and its narrow API, how it was designed for simplicity and ease of use, how we use it in control systems at JLab, and how we integrate cMsg with EPICS Channel Access.
* Stephen A, Lewis, "Elements of Control System Longevity", Proceedings of ICALEPCS 2007, Knoxville, TN, US.
US Department of Energy

THP075
XAL Status Report
A.P.Shishlo, C.K.Allen*, T.A.Pelaia (ORNL)
XAL is a collection of frameworks for building accelerator applications at the Spallation Neutron Source. We discuss progress in easing the adoption of XAL for use at other facilities by providing improved documentation, eliminating several third party jars and deprecating and removing obsolete code. New powerful XAL features will be introduced as well as recent application additions and enhancements.
ORNL/SNS is managed by UT-Battelle, LLC, for the U.S. Department of Energy under contract DE-AC05-00OR22725

THP076
Multi-platform Processor Framework for Data Analysis, Data Acquisition and Simulation
N.Xiong*, P.Hathaway (ANSTO)
The multi-platform processor framework is a model-based environment for developing data acquisition, data analysis, and simulation applications for neutron scattering facilities in the Bragg Institute, ANSTO. This open-source project is designed to help developing, integrating and reusing implementations from multi-domains. The processor framework has a data-centric architecture which helps to maintain quality and integration. It provides templates for developers to contribute modules in different domains and in different programming languages. And these modules can be put together with prescription files in the deployment or at runtime by the user to perform different tasks. To the user, it provides a convenient way of reusing module blocks. Users that familiar with different programming languages can work together on the same project supported by this framework. A user-friendly, customisable GUI based on rich client platform is designed for this project. The project has been integrated with the Gumtree[1] software project at ANSTO, providing service to data acquisition and analysis applications.
[1] T.Lam, N.Hauser, A.Gotz, P.Hathaway, F.Franceschini & H.Rayner, 'GumTree-An integrated scientific experiment environment', Physica B 385-386, 1330-1332 (2006)

THP077
Study on a New Framework of the Accelerator Application Software Based on Eclipse
C.H.Wang, Q.Gan* (IHEP Beijing) P.Chu (SLAC)
The development of new accelerator application software based on Eclipse is a front research task in international perspective. This paper analyses the framework of XAL accelerator software developed by SNS, and presents a new framework of accelerator application software based on Eclipse. According to the new framework, some tools of XAL are rebuilt and transplanted to Eclipse as plug-in. The plug-in software will enhance general-purpose property and can be applied in any accelerators.
NSFC 10775152

THP078
A Taste of CAFE
J.T.M.Chrin* (PSI)
CAFE (Channel Access interFacE) is a new C++ library that provides a multifaceted interface to the latest CA functions released with EPICS version 3.14. Functionality for both synchronous and asynchronous interactions has been implemented for individual, groups and collections of related channels. An abstract layer that addresses requirements dictated by beam dynamics applications has also been added. An XML-based configuration mechanism provides a convenient framework for users to define and initialize CAFE objects, e.g. for data analysis and/or visualization. Rules to flag members of a group/collection of CAFE objects, effectively modify a transaction to a selected subset, thereby allowing users to readily adapt to changes in a system during operation. CAFE is intended for use in C++ frameworks, such as Qt or ROOT, and presents itself as a candidate for event processing agents that, for example, capture machine physics data for inter-shot analysis at the SwissFEL. Python bindings to CAFE are also in preparation with basic read/write functionality already implemented. Once complete, the entire CAFE interface will be made available to users for rapid application development.

THP079
Dynamic Attributes and Other Functional Flexibilities of PyTango
R.Su, S.Rubio-Manrique*, T.Coutinho (CELLS-ALBA Synchrotron) E.T.Taurel (ESRF)
ALBA, member of the Tango Collaboration, is a third generation Synchrotron under construction near Barcelona. Development of ALBA Control System soon required of highly customizable interfaces for the multiple PLCs, Vacuum and DAQ equipments being tested. On-the-run dynamic attribute creation, customized calculations, configurable state composing and attribute-grouping have been achieved applying Python; a dynamic object-oriented language with an easy syntax accessible to operators. Other new features has been added to the Control System, such as multiple device classes inheritance and integration of HW API's and high-level tools in the same processes. PyTango, the Python API of Tango, is actually the common platform for most of User and Hardware interfaces developed at ALBA.

THP080
Re Writing TANGO Code Generator Using openArchitectureWare' Technology
P.V.Verdier* (ESRF)
Tango is an object oriented control system toolkit based on CORBA initially developed at the ESRF. It is now also developed and used by Soleil, Elettra, Alba, Desy and some other labs. A Tango code generator has been developed from the beginning of Tango. It is Java tool started in 1999. It was based on very basic parsing techonlogy. During almost 10 years the Tango control system has been subjected to many evolutions and features. This code generator has to follow these code evolutions, but it was more and more difficult to maintain compatibility and new features for 3 languages (C++, Java and Python). The decision has been taken to rewrite this code generator with very new and efficient parsing technologies. After some tests, it appears that openArchitechtureWare is a good candidate to base this new development. openArchitectureWare is a modular generator framework implemented in Java. It supports parsing of arbitrary models, and a language family to check and transform models as well as generate code based on them. This poster will show how the project evolves and the problems to convert about a half thousand classes already generated with the old tool to the new model.

THP081
Extending ACNET Communication Types to Include Multicast Semantics
C.King, R.Neswold* (Fermilab)
The ACNET Control System has several services that require multicast messaging. Unfortunately, these instances were solved in proprietary ways, not using our standard infrastructure. We've recently added multicast support to ACNET so that applications gain multicast abilities using standard ACNET libraries without needing to manage multicast resources. Multicast support was also added to request/reply communications which allows service discovery, load balancing, and multi-node data streaming -- all within our normal ACNET framework.

THP082
RMS Envelope Back-Propagation in the XAL Online Model
H.Sako (JAEA) M.Ikegami (KEK) C.K.Allen* (ORNL)
The ability to simulation RMS envelope back propagation was added to the J-PARC XAL online model. This feature provides support for algorithms estimating upstream conditions from downstream data. Because of space charge and RF gap effects, implementing back propagation requires considerably more effort than simple matrix inversion. Thus, the new feature was implemented as a separate mechanism within the XAL online model. This strategy was taken to avoid side-effects, increase code readability, and to minimize any obfuscation to the software developer. Even so, significant refactoring to the original online model architecture was required to maintain compatibility with the existing simulation features. Quite noticeable is the new algorithm class hierarchy. In addition, the technique for modeling space charge effects needed to be refactored. We outline some of these details and show simulations using the new feature.
Supported by KEK under a short-term visiting scientist grant

THP083
Lessons Learned Enhancing EPICS CA for LANSCE Timed and Flavored Data
J.O.Hill* (LANL)
A previous paper described an upgrade to EPICS enabling client side tools at LANSCE to receive subscription updates filtered selectively to match a logical configuration of LANSCE beam gates, as configured by a user in the control room. To accommodate the upgrade fundamental changes were made in the EPICS core components. First, the event queue in the EPICS server was upgraded to buffer record (function block) and device specific parameters accessed generically via new software interfaces for introspection of 3rd party data. In contrast, the event queue in previous versions of EPICS was strictly limited to buffering only value, timestamp, and alarm status tuples. Second, the Channel Access server was upgraded to filter subscription updates. To make the filtering agent very flexible at runtime, filtering is accomplished by runtime interpretation of byte code generated from filtering expressions provided by the subscribing client. In this follow on paper, the performance of the new system, our future plans, and the lessons learned during this software development project will be described.
Work supported by US Department of Energy under contract DE-AC52-06NA25396.

THP084
Constructing EPICS Environments Upon Fedora/Ubuntu Servers for SSRF and SDUV-FEL Control System
G.Y.Jiang* (SSRF)
The Shanghai Synchrotron Radiation Facility (SSRF) is a third-generation of synchrotron radiation light source in China which began construction in Dec., 2004 and will start commission from May, 2009. The control system of SSRF is constructed based on EPICS with the key characteristics of using Ethernet as main field bus and large amount of Linux soft IOCs instead of VME machines. Targeting on this architecture, an distributed control system environment of EPICS base 3.14.8.2 running on Fedora core 5 servers has been set up to fulfill the commissioning software and all subsystem device control requirements. At the same time, Shanghai deep ultra-violet free electron laser source (SDUV-FEL), as a pre-search of Chinese hard X-ray FEL project, its control system is an extended system based on an existed 100Mev linac control system, will be upgraded from EPICS base 3.13 to 3.14.10. In the conditions of experience from SSRF' control system and the advantages of Ubuntu server 8.10, we explore the feasibility of switching EPICS running and development environment from fedora to Ubuntu servers. The method of constructing these two distributed control environments will be discussed.

THP085
An Integration Testing Facility for the CERN Accelerator Controls System
C.G.A.Dehavay, J.C.Bau, M.Arruat, M.Sobczak, N.Stapley*, S.Deghaye, W.Sliwinski (CERN)
A major effort has been invested in the design, development, and deployment of the LHC Control System. This large control system is made up of a set of core components and dependencies, which although are tested individually, are often not able to be tested together on a system capable of representing the complete control system environments including hardware. Furthermore, the control system is being adapted and applied to CERN's whole accelerator complex and particularly the forthcoming renovation of the PS accelerators. To ensure quality is maintained as the system evolves, and to improve defect prevention, the Controls group launched a project to provide a dedicated facility for continuous, automated, integration testing of its core components to incorporate into its production process. We describe the project, initial lessons from its application, status, and future directions.

THP086
A "Pluggable" API for High Level Software Applications Based on the FLASH DAQ System
K.Rehlich, R.Kammering*, V.Kocharyan, V.Rybnikov (DESY)
To be able to rapidly implement and adapt high level software applications to the Free Electron Laser in Hamburg (FLASH), we developed a flexible API using the DOOCS DAQ system*. The continuous extensions and improvements of the FLASH facility, requires not only fast development of tightly integrated control loops, but also robust and well calibrated software to be used in the daily user operation. The middle layer of the DAQ system is a perfect place for attaching such applications since all machine data is here available in a synchronized form. The API has been designed to not only allow attaching native C++ programs but also the widely used MATLAB software applications. The general functionality of this API and the work flow to implement these software applications will be shown in an example of the advanced energy measurement application and the rapid development of a simple PID controller.
*See ICALEPCS 2007

THP087
Task Synchronization in the Observation Control Software for the ESO-VLT CRIRES Instrument
A.J.Smette, E.Pozna*, R.Schmutzer (ESO)
The ever increasing pressure for both high spectral and high angular resolution spectrograph imposes an increasing complexity on astronomical instrument control software, now a critical component in the instrument design. To achieve the accuracy required to maintain the image of the target within its 0.2 arcsec entrance slit, the Observation Control software(OS) for the ESO-VLT CRIRES instrument must take into account a number of optical phenomena (differential atmospheric refraction, distortion, etc.), some of them time dependent, even when observing an object moving at a rate different from the object used for auto-guiding. Five internal software control loops adjust the position of mechanical devices and/or the telescope on top of the OS standard functionalities (e.g. monitoring, exposure handling). Besides internal activities, the OS must promptly reply to sequential commands as well as simultaneous interruptions/adjustments from operator via GUI interface. The required advanced synchronization mechanisms are implemented as an extension to the OS framework (a tool collecting the general features of all instrument OS) while allowing for maintainability and future generalization.

THP088
Soft IOC Application in SSRF Beam Diagnostics System
Y.B.Leng*, Y.B.Yan, Y.Zou (SSRF)
Soft IOC is an ideal solution for high level global application of accelerator control and beam diagnostics due to easy online modification and rebooting. SSRF beam diagnostics system employees two soft IOCs to handle global tasks such as BPMs group access, orbit performance analyze and online data reliability analyze, which are hardly performed in bottom level IOC side and OPI side. This paper introduces the current status and future upgrade plan.

THP089
Development of a New Java Channel Access Library JCAL
H.Sako (JAEA/J-PARC) H.Ikeda* (Visual Information Center Inc.)
Java channel access libraries JCA and CAJ have been commonly used for device control applications in Java. However, they have instability of performance and vulnerability of the code implementations. To overcome the problems, a new compact Java channel access library, JCAL (Java Channel Access Light library) has been developed. The library is so far limited to the channel access client functionalities and no channel access repeater has been implemented. A special care is taken to design the architecture in order to keep thread safety and robustness of the codes. The main part of the library works in a single thread (the inner thread), with outer threads for the monitor function and for the call-back function of a channel. By taking such a simple and well-defined design, robustness of the codes is realized. The bench mark tests in the real J-PARC control room environment have been carried out and compared to JCA and CAJ, which show comparable performance. An adapter library has been also implemented to easily plug in JCAL to existing Java applications using JCA or CAJ.

THP090
Advanced Monitor/Subscription Mechanisms for EPICS
A.N.Johnson (ANL) L.R.Dalesio (BNL) R.Lange* (Helmholtz-Zentrum Berlin fr Materialien und Energie GmbH Elektronen-Speicherring BESSY II)
Publish/subscribe systems need to handle the possibility that there are subscribers requiring notification at an update rate much lower than the publisher's natural frequency, or synchronized to external events. Feedback or pulse-to-pulse diagnostics are processed at rates in the 100Hz or even multi kHz range, while many subscribers will not be able to process the data at this rate: e.g. archiving, visualization, and processing clients each require specific, different update rates. Sending more updates than required wastes processor and network bandwidth. A subscriber should be able to specify rate limiting factors or filters that are instantiated and guaranteed by the publisher. Many accelerators, especially pulsed machines, are using a hardware event system to distribute fiducials and events from a central event and/or frequency generator. These events should be integrated into the publish/subscribe system to support posting event synchronous updates to subscribers that require synchronized data. This paper investigates several approaches to provide these functionalities in the EPICS architecture.
Work supported by U.S. Department of Energy (contracts DE-AC02-06CH11357 resp. DE-AC02-98CH10886), German Bundesministerium fr Bildung und Forschung and Land Berlin.

THP091
Development of a High-Level Application Framework with Script Language JCE for Accelerator Beam Commissioning
H.Sako (JAEA/J-PARC) H.Ikeda* (Visual Information Center Inc.)
For accelerator beam commissioning, script language is very powerful, especially in the early stage of commissioning, to create and modify applications quickly and iteratively. A high-level application framework based on script language, J-PARC Commissioning Environment (JCE), has been developed. JCE is capable of device control via EPICS, beam transport simulation with the XAL online model, GUI components, mathematical functions, and so on, which are flexibly and seamlessly combined in the script. A Mathematica style of language ("SAD script") is adopted, which was originally defined in "SAD" framework in KEK and has been successfully used for accelerators such as KEKB. However, SAD is implemented in complex FORTRAN code with interlaced parser parts and function parts. To overcome such problems, we have constructed JCE framework in Java, whose implementation is independent of SAD. A special care is taken to clearly separate the parser part from actual function parts, and to document the codes. Thus modularity of the architecture, code understandability, and extensibility are dramatically improved. JCE has been utilized successfully for beam commissioning of J-PARC linac.

THP092
The EVALSO Project: Software/Hardware Architecture and Remote Tests Results
A.Santin, I.Coretti, M.Pucillo, P.Di Marcantonio, P.Santin, R.Cirami* (INAF-OAT)
The EVALSO (Enabling Virtual Access to Latin-America Southern Observatories) project, funded by the European Community (EC), aims to create a physical infrastructure to efficiently connect the Latin-America Southern Astronomical Observatories (European Southern Observatory and Observatorio Cerro Armazones) to Europe. This infrastructure will be complementary to the international infrastructure already created in the last years with the EC support. A Virtual Presence (VP) system developed by the INAF-Astronomical Observatory of Trieste (OAT) will provide the astronomers with the tools to perform and control an astronomical observation from the user's site. This will be obtained re-creating selected components of the observatory environment at a remote site in order to allow the remote astronomer to interact with the on-site operators. The main objective of this activity will be to produce a low-cost, scalable, hardware and software system to be installed, without excessive efforts, in any operative situation where a suitable connectivity can be achieved. This paper will focus on the VP sw/hw architecture and the results of the tests with remote sites.

THP093
JDataViewer - Java-based Charting Library
G.Kruk* (CERN)
The JDataViewer is a Java-based charting library developed at CERN, with powerful, extensible and easy to use function editing capabilities. Function edition is heavily used in Control System applications, but poorly supported in products available on the market. The JDataViewer enables adding, removing and modifying function points graphically (using a mouse) or by editing a table of values. Custom edition strategies are supported: the developer can specify an algorithm that reacts to the modification of a given point in the function by automatically adapting all other points. The library provides all typical 2D plotting types (scatter, polyline, area, bar, HiLo, contour), as well as data point annotations and data indicators. It also supports common interactors to zoom and move the visible view, or to select and highlight function segments. A clear API is provided to configure and customize all chart elements (colors, fonts, data ranges, ...) programmatically, and to integrate non-standard rendering types, interactors or chart decorations (custom drawings). Last but not least, the library offers a performance that is better than the available open source charting packages.

THP094
A Modular Environment for High Level Applications
G.B.Shen* (BNL)
A HLA (High Level Application) environment plays very important role during a beam commissioning, operation, and machine study for a modern large-scale accelerator complex such as NSLS-II (National Synchrotron Light Source II). There are many different environments available and have been well developed. Most of them have been used at many facilities for many years, and have been demonstrated efficient and stable. A problem of those environments is their applications tie together functions through internal data or file structure. It makes it difficult to share applications or some algorithms. To solve that problem, a modular environment for high level applications is proposed at NSLS-II. This modular environment consists of model based control and non-model based control. All data for the beam commissioning will be stored in a relational database. This paper describes recent progress of our modular environment development, applications for model based control, and database based application prototypes.
Work performed under auspices of the U.S. Department of Energy under Contract No. DE-AC02-98CH10886 with Brookhaven Science Associates, LLC.

THP095
Integrating LWDAQ Into The Detector Control Systems Of The LHC Experiments At CERN
M.Gonzalez-Berges, O.Holme* (CERN)
The LWDAQ (Long-Wire Data Acquisition) software and hardware from Brandeis University, Mass., USA provides access to a powerful suite of measurement instruments. Two high precision monitors used to measure the relative alignment between a source and a sensor are included. The BCAM cameras take images of point light sources and the Rasnik cameras take images of the NIKHEF developed Rasnik mask. Both systems are used in the LHC experiments at CERN. Brandeis University provides a tool called Acquisifier to script the data acquisition process and to analyse the images to determine the alignment data. In order to incorporate the resulting data from the alignment system into the Detector Control System (DCS) of the LHC experiments a new software component of the Joint COntrols Project (JCOP) Framework was developed. It provides a TCP/IP interface between LWDAQ and the SCADA tool PVSS so that the results of the data acquisition process can easily be returned to the DCS. This new component simplifies the generation of the Acquisifier data acquisition script, controls the run mode of the Acquisifier and collects the results of the acquisition.

THP096
QTango: a Qt Based Framework for Tango Graphical Control Panels
C.Scafuri, C.Scafuri* (ELETTRA)
QTango is a framework integrating the Tango control system with Trolltech's Qt4 core and GUI libraries. It implements an efficient multithreaded and object oriented architecture, letting software developers easily and quickly compose Tango aware control system panels. Creation of device proxies, event subscription, device polling, device centric threads, error logs and other features are transparently available through the core of the QTango library. The library is distributed together with a set of widgets wearing a pleasant, easy to use and HCI (Human Computer Interaction) oriented interface. The kit of QTango widgets includes labels, buttons, linear and circular gauges, numeric writers, spin boxes, line edits and different kind of plots. The core library allows straightforward development and integration of new graphical elements. Version 3, the new major release of the framework, is the basis for the design of the graphical user interfaces of the FERMI@Elettra FEL facility control system.

THP097
RADE - A Rapid Application Development Framework Used for LHC Hardware Commissioning Tools and Other Accelerator Related Applications
A.Raimondo, A.Rijllart*, C.Charrondiere, D.Kudryavtsev, H.Reymond, M.Nybo, M.Zerlauth, O.O.Andreassen (CERN) S.Shaipov (JINR)
A set of tools has been developed for the LHC Hardware Commissioning to analyse and validate the electrical circuits, the powering systems and their associated protection equipment. The choice was made to develop these tools using a Rapid Application Development Framework based on LabVIEW, because it was the most suited to fulfill the requirements of flexibility, adaptability, quality, integration into the LHC accelerator control software and light maintenance. The framework and the developed tools are described, in particular the interfaces to C++ and Java, and we report on the experience of their use during the LHC Hardware Commissioning, together with two other examples of the use of RADE for very different applications: The CLIC Two-beam test stand viewer and the Multi-Alignment Control System.

THP098
Tdct - a Configuration Tool for EPICS Runtime Databases
R.Keitel* (TRIUMF)
The EPICS runtime data bases for the ISAC Radioactive Beam Facility at TRIUMF are developed using Capfast[*]. Capfast is a tool for drawing electronics schematics. EPICS runtime functionality is configured using an EPICS function block symbol library. A translation tool, which was developed in the EPICS collaboration generates the runtime databases from the Capfast schematics. Capfast provides excellent hierarchy support, but has a cumbersome user interface, major limitations and is not fully EPICS aware. As TRIUMF has a big investment in its schematic hierarchy, a compatible tool Tdct was developed, which overcomes the limitations of Capfast. Tdct was developed in Java, is fully EPICS aware and supports the whole development process from schematic drawing to runtime database generation.
* Phase Three Logic, Beaverton, Oregon, USA

THP099
Evaluation of OLAP Model Using Intuitionistic Fuzzy (IF) Logic
I.D.Valova* (ICSR)
The purpose of this work is to apply intuitionistic fuzzy assessments after defining of the OLAP model of data. The purpose is to represent new functional capabilities for the users of the Online Analytical Processing systems and the business analysts by using of IF assessments. The examples for this includes analysis of the quantitative indicators of n-different articles A1An and their use in the determination of the rating of certain type of production, the degree of preference for certain type of article, the degree of preference of all articles as a whole (i.e. at level All in the structure of the fact) and the degree of the waste articles (e.g. because shelf-live has expired).

THP100
Present Status and Upgrade of VME Computer in KEKB
E.Kikutani, K.Furukawa, K.Mori, T.T.Nakamura (KEK) K.Yoshii*, T.Nakamura (MELCO SC)
We controlled main equipment of the accelerator used Epics based control system at KEKB.We had stabilized operation and development in basics as the upper limit, and Epics3.13, the CPU(PPC 6750) which we used from startup time now.However, the speedup of the network and the speedup of the CPU advanced, and the part that cannot correspond under the present conditions has become a problem gradually.Therefore, the necessity of Epics and CPU upgrade has gradually risen to us. We started developpment including upgrade CPU with PPC-MVME5500 and Epics with 3.14 form 2006 at KEKB.We have succeeded in the VME control by CPU PPC-MVME5500 which carried VXI, Trigger Reciver, PVME501, advme1522, Camac so far.We were realized fiveplaces of operation at present KEKB.In addition, the replacement is scheduled to be advanced as upgrade of CPU and Epics in the future based on the result. Here, this reports on the present status and upgrade of VME computer at KEKB.

THP101
New Display Manager in WPF
CA.Timossi, G.J.Portmann, H.Nishimura* (LBNL)
The Advance Light Source (ALS) is in the process of upgrading the high-level controls software. The ALS has always used Windows for operator consoles and slowly has been migrating to the EPICS control system. At the core of the upgrade is the creation of a new EPICS Display Manager based on Windows Vista called WDM. It is written in C# using Visual Studio and is based on the new Microsoft XML-based display building technology -- Windows Presentation Manager (WPF). The derivate of XML used by WPF, known as XAML, gives descriptive configuration of the display components. XAML can also define the interactions among user interface (UI) components via Data Binding allowing the creation of an EPICS graphical element without actual programming. However, the use C# code can be added to extend the functionality of a display. This code will have direct access to any UI component but is decoupled from the display layout. An EPICS WPF Toolkit and a new Display Manager as its application will be presented.
Work supported by the U.S. Department of Energy under Contract No. DE-AC02-05CH11231

THP102
Implementing Distributed Technology on BESIII Slow Control System
S.Zhang* (IHEP Beijing)
Abstract: BESIII Slow Control System consists of Temperature and Humidity monitoring system, High Voltage monitoring system, Low voltage supplying system, VME monitoring system, Gas monitoring system and so on. These systems are implemented based on LabVIEW. Communication between them is implemented with technology of share variables of LabVIEW. The Slow Control System needs capability of communication with Data Acquisition of BESIII detector of and Control System of Accelerator. The DAQ System of BESIII is developed on Linux system. The control system of Accelerator Machine is based on EPICS. In order to communicate with both of them, An Engine of LabVIEW share variables to DIM (Distributed Information Management) software is developed to interconnect BESIII Slow Control System and DAQ System. LabVIEW share variables to EPICS process variables software is used to interconnect BESIII Slow Control System and Control System of Accelerator. Key words: BESIII Slow Control, LabVIEW, EPICS, DIM, process variables, share variables

THP103
GFW - New GUI Framework at SLAC
D.Rogind, P.Krejcik, S.Chevtsov*, M.Zelazny (SLAC)
At SLAC, we developed a minimal GUI framework (GFW) for Java applications. After we considered frameworks as diverse as Eclipse and XAL, we decided that all of them lack at least some of our desired features and generally are too complex to quickly build robust applications upon. In contrast, simplicity and customization are the main criteria behind GFW's existence. Using only basic Swing components, GFW defines a standard layout for GUI applications and allows the developers to extend the generic look-and-feel without any constraints. Moreover, GFW provides- but doesn't enforce- a simple event-handling mechanism that was inspired by Matlab's callback implementation.

THP104
Exposure Synchronization in the Observation Control Software Framework at ESO
E.Pozna* (New Affiliation Request Pending)
The Observation Software (OS) of astronomical instruments, which lie directly beneath the instructions of astronomers, carrying out exposures and calibrations is the supervisor of the multi-process and multi-layer instrument software package. The main responsibility of the OS is the synchronization of the subsystems (detectors and groups of mechanical devices) and the telescope during exposures. The complexity of new instruments, their performance requirements, increasing image file size and file numbers increases the complexity of the OS synchronization required for the optimized exposure sequence on multiple detectors. At ESO a software framework Base Observation Software Stub (BOSS) takes care of the common functionalities of all OS of various instruments at the various sites VLT, VLTI, La Silla and Vista. While for numerous instruments this framework satisfies all requirements (configuration, monitoring, exposure image and error handling) for others it ensures the plug in of instrument specific properties using design patterns.

THP105
ScienceStudio: A Project Status Update
D.G.Maxwell, D.Liu, D.Medrano, E.Matias* (CLS) Y.Yan (Concordia University) C.H.Armstrong, J.Haley (IBM) M.Bauer (The University of Western Ontario) M.Fuller, S.McIntryre (UWO)
As part of a joint project the Canadian Light Source, the University of Western Ontario, IBM and Concordia University are in the process of building an integrated experiment management system. This system utilizes web-browsers as a thin client that can be connected to servers at the CLS over conventional Ethernet or User Configurable Light Paths. The system is based on a Service Oriented Architecture and provides access control, data acquisition, data storage and data visualization. More recently work on the system has included implementation of user office functionality, integrated control of an EPICS based beamline and analysis codes.

THP106
The Flange for Controls System to Internet Applications
A. C.Starritt, C.A.Myers, R.I.Farnsworth* (ASCo)
A technique for delivering process variables to web enabled applications has been collaboratively developed by the Australian Synchrotron controls team and a local e-research initiative team called VERSI at the Australian Synchrotron. EPICS process variables are collated by a program called the "Flange" which acts as a gateway and passes the value, selected metadata such as enumeration type, connection state, update times etc range to a mySQL database which contains short term historical records which then allows standard web based applications, in our case AJAX (Asynchronous JavaScript and XML)) web applications. The flange supports a Historical Backfill from the Control systems archiver, throttling (i.e. Minimum updates and dead banding) and finally image processing (useful for taking arrays and waveforms) and converting to standard image formats stored in the SQL database.

THP107
Web-based Agent-oriented System for DAQ Control and Monitoring in LHD
H.Nakanishi, K.Kawahata, M.Kojima, M.Nonomura, M.Ohsuna*, S.Imazu, Y.Nagayama (NIFS)
In LHD (Large Helical Device) fusion plasma experiments, 72 DAQ PCs were working for the same numbers of fusion plasma diagnostics in 2008. To establish more intelligent and autonomous operation among them, a new web-based DAQ control and monitoring system has been developed, based on the "agent-oriented" architecture. The agent on each DAQ governs the relating processes adapted to its digitizer type and OS, and on the other hand accepts/reports the commands/states from/to the monitoring service on the web server. Their communications are done on light-weight IP multicast protocols to sustain high flexibility for further extensions. A Java applet GUI can issue individual or lump-sum commands for DAQ operations and show their states in real-time, through the communications with the monitoring service. It is very advantageous in recovering from accidental DAQ unit failures so that, in typical cases of failures, the MTTR roughly becomes one third than before. The consequent reliability in the whole DAQ system, i.e. its successful operation rate, has been improved from 99.x to 99.9x in percentage.

THP108
Rapid Development of Database Interfaces with Oracle APEX, Used for the Controls Systems at CERN
M.Peryt*, R.Billen, Z.Zaharieva (CERN)
The need to rapidly prototype, build and deploy applications and to be able to react immediately to the changing user requirements is a challenge facing every enterprise. CERN - the largest particle research centre in the world - has tremendous data storage requirements, encompassing many different databases and has to quickly provide interfaces to visualize the data. This article will cover how Oracle APEX has been used to build several different database-centric interfaces related to the accelerator complex. Real-world applications will be discussed and it will be shown how Oracle APEX has met the preliminary requirements of the application developers and the user community at CERN. The article will address the question of when APEX could be a suitable choice of application development technology, and will share a developer's first-hand experience of both the good and bad points.

THP109
Eclipse RCP on the Way to the Web
J.Hatje*, M.R.Clausen (DESY)
The next generation of Eclipse (version 4.0) is planned for release summer 2010. It is based on current Eclipse and OSGi technology but with a new concept for the API and User Interface (UI). The API is refactored into services that form a uniform application model to run in different contexts such as mobile, desktop or web runtime technologies. The new UI is a modeled application that allows better control over the look of Eclipse based products. In the future users can run the same Eclipse application on different platforms. At work for instance operators could use the desktop environment to control the machine while at home they configure the alarm system in a browser or cellular phone. Nevertheless developers have to manage just one source code and do not have to care about the platform. Eclipse 4.0 maintains backwards compatibility for public API. Therefore existing Eclipse RCP applications can integrate useful new features without migrating the whole code at once. This paper will give an overview of the Eclipse strategy to support applications on the web and its impact on existing Eclipse RCP applications like Control System Studio.

THP110
Light-weight Web-based Control Applications with the Web2CToolkit
R.Bacher* (DESY)
The Web2cToolkit is a frame-work for web-based control clients. Key elements are JAVA servlet and AJAX technologies. Applications based on the Web2cToolkit allow world-wide user access and provide user authentication and authorization. Typical use cases are overview panels, service panels for remote maintenance or user access to stored data for off-line analysis. The papers summarizes the conceptual design and presents example applications implemented for the PETRA3 project at DESY.

THP111
Using Wordpress as a Simple and Reliable Electronic Logbook for the Heidelberg Ionenstrahl-Therapie Centrum (HIT) Accelerator Control System
A.Peters, J.M.Mosthaf*, S.Hanke (HIT)
After the breakdown of a java/XML based electronic logbook (elog), the decision to use a more mature and reliable approach based on dynamic web and database technology was made. Target was to provide operators with a reliable and easily used system to record and discuss incidents during shifts, write error reports with screenshots and build and maintain a section of troubleshooting tips or "frequently asked questions" (FAQs). Several systems were evaluated and the combination of php scripting and MySQL database, as well as the excellent community support with plugins, customisations and bugfixing of the free publishing platform Wordpress, lead to a test installation. This test installation was then customized with themes and plugins to accommodate as much of the wishes of the operators as possible. After several months of live testing in the control room and some tweaking of the used plugins and theme, the HIT Elog is now accepted by the operators and used on a daily basis.

THP112
Development of Web Applications for LHD Experiment Using Ruby on Rails
S. I.Inagaki (Kyushu University Research Institute of Applied Mechanics) C.Iwata, H.Nakanishi, M.Emoto*, M.Yoshida, Y.Nagayama (NIFS)
Large scale experiment, such as, high energy physics and nuclear fusion experiments are executed with the cooperation of many institutes all over the world. Therefore, remote participation facilities are essential to establish the smooth cooperation. As remote participation tools, the web based application is ideal because they are downloaded each time when the user accesses to the web server, and the user can use the latest applications without installation. Also, the developers are not bothered by delivering them. Therefore, the authors have been developing web based applications for remote participation. Recently, the authors adopted Ruby on Rails as an application framework to develop the applications. These are data viewers, front end of the simulation programs, and the experiment scheduler and reporting tools. The main reason to adopt Ruby on Rails for this purpose is its great efficiency of developing web applications. In this presentation, the authors will introduce the actual application runs for LHD experiment, and discuss the usefulness of Ruby on Rails to develop the web based application for remote participations.

THP113
Upgrade the Machine Status Broadcast System by PHP Framework
C.H.Kuo, J.Chen, K.H.Hu, K.T.Hsu, Y.-S.Cheng*, Y.-T.Chang (NSRRC)
To improve the display quality and enhance expandability of machine status broadcasting, the existing cable TV will be replaced by a network interface to transmit the machine status display. To access the display page without installing other toolkit easily, we use a network browser to show the machine status display. Thus we implement a broadcast system by the PHP Framework on Linux server and show main machine status, trend plots and images. Then we use a thin PC (loaded OS and browser) to combine LCD TV to show the full-frame display page. By means of it, the machine status display is clearer to be observed. On the other hand, to reduce impacts of the network bandwidth, we avoid using the additional applet to aggravate the network bandwidth. Our design will be based on low network loading to upgrade the machine status broadcast system. Moreover we will measure the variation of network throughput to learn the effect of numbers of accessing clients. According to the measurement result, we can estimate the relation between the network loading and numbers of accessing clients.

THP114
Web-based Real time Database Access for BEPC II
L.P.Yang* (IHEP Beijing)
The early web pages are the static web page, and the web pages of web-based real time system usually are the dynamic web page, it will access continuously the server and its databases. The program of the dynamic web page and databases will be executing on the server of web site and occupy actually many resources of the server. Thus,when the clients simultaneously visit the web site, the response of entire server system will be influenced directly. The BEPC II real time information system is the web-based real time system, we adopt the design of the multi-databases which are resident in the server machine, it can speed the responses to access the real time databases based on the web site.

THP115
Combining Structured and Unstructured Data In A Configurable Web-based Logbook
J.M.Nogiec* (Fermilab)
A typical electronic logbook is designed as a general-purpose system for recording time-ordered events and actions and, therefore, allows for a great flexibility in recoding information, but the data is unstructured. To better position it in a specific context (e.g., a controlled system, test facility, group activity log) one needs to add some structured information and allow for unstructured data (text, title, attachments, entry attributes) to be put in that context. To do it a logbook system can define a set of categories, possibly built as a hierarchy. These application-specific categories will be associated with each entry. To remain flexible such a system has to be configurable to allow for tailoring it to each specific environment. The paper describes a design, functionality, and experiences with WebLog, a database-configurable electronic logbook developed with the J2EE Web technology. Various functional and technical properties of the system are discussed, including multi-category based queries, text searches, threads of entries, an automated alerting system as well as integration with other applications via Java, C/C++ and LabVIEW gateways, and multi-log installations.

THP116
Mobile Framework for Beamline Control and Monitoring
P.Duval (DESY) A.Pazos*, M.DiCastro, U.R.Ristau (EMBL)
The control of a beamline is operated from different fixed points attached to the control network. In many situations, like maintenance and commissioning of the hardware, is desirable to have a mobile access that allows a visual inspection and a control-monitoring at the same time. Moreover, the possibility of immediately access to the status information is also very useful. We present a new framework to develop control applications for mobile devices. We include two different kinds of access between the mobile device and the hardware. Thanks to the integration of the TINE control system inside Windows CE, we support the development of clients that access directly the control network in the beamline areas. A set of mobile web-interfaces that allows the remote monitoring of the current status is also shown. This is helpful for beamline users that can monitor their data collection remotely from a mobile device. Different possibilities for the wireless connection are also evaluated and presented. As a demonstration example we include the description of a running prototype.
*An Embedded Distributed System Based on TINE and Windows CE, A. Pazos, et. al, Proceedings PCaPAC2008