Controls and Computing

Control Systems

Paper Title Page
FPAT045 Upgrade of the ESRF Vacuum Control System 2857
 
  • D. Schmied, E. Burtin, P. Guerin, M. Hahn, R. Kersevan
    ESRF, Grenoble
 
  The temperature acquisition as well as the whole vacuum control system of the electron storage ring of the ESRF is in operation since more than ten years now. Apart from difficulties to have appropriate support for the old systems we start facing problems of aging and obsolescence. We have been reviewing our philosophy of data acquisition and remote control in order to update our systems with state of the art technology, taking into account our operational experience. We have started installing shielded “intelligent” devices inside the storage ring tunnel taking benefit from the availability of ethernet connections. Like this we can take advantage of the latest developments linked to these technologies, such as OPC Server, Webpage instrument control, and more.  
FPAT046 RF Control System for the DESY VUV-FEL Linac 2899
 
  • V. Ayvazyan, G.M. Petrosyan, K. Rehlich, S. Simrock, P. Vetrov
    DESY, Hamburg
 
  In the RF system for the Vacuum Ultraviolet Free Electron Laser (VUV-FEL) Linac each klystron supplies RF power to up to 32 cavities. The superconducting cavities are operated in pulsed mode and high accelerating gradients close to the performance limit. The RF control of the cavity fields to the level of 1·10-4 for amplitude and 0.1 degree for phase however presents a significant technical challenge due to the narrow bandwidth of the cavities which results in high sensitivity to perturbations of the resonance frequency by mechanical vibrations (microphonics) and Lorentz force detuning. A digital RF control system has been developed for the VUV-FEL which will demonstrate the required control performance. Presently the Linac is being commissioned, and this effort provides the first full integrated test in the accelerator, including cryogenics, RF, beam transport, and beam diagnostics. The RF control system design and objectives are discussed and compared to the measured performance during the first stage of the VUV-FEL Linac - TESLA Test Facility. Hardware/software design and operational challenges experienced for RF control are presented.  
FPAT047 Control System of 3 GeV Rapid Cycling Synchrotron at J-PARC 2968
 
  • H. Takahashi, Y. Kato, M. Kawase, H. Sako
    JAERI/J-PARC, Tokai-Mura, Naka-Gun, Ibaraki-Ken
  • Y. Ito
    Total Saport System Corp., Naka-gun, Ibaraki
  • H. Sakaki
    JAERI/LINAC, Ibaraki-ken
  • M. Sugimoto
    Mitsubishi Electric Control Software Corp, Kobe
  • H. Yoshikawa
    JAERI, Ibaraki-ken
 
  Funding: Japan Society for the Promotion of Science (JSPS).

Since the 3GeV RCS produces huge beam power of 1 MW, extreme cares must be taken to design the control system in order to minimize radiation due to beam loss. Another complexity appears in the control system, because each beam bunch of 25 Hz is required to be injected either into the MLF* or into the 50GeV MR.** Therefore, each bunch of 25 Hz must be operated separately, and the data acquisition system must collect synchronized data within each pulse. To achieve these goals, a control system via reflective memory and wave endless recorders has been developed. EPICS is adopted in the control system. Since the number of devices is huge, the management of EPICS records and their configurations require huge amount of time and man power. To reduce this work significantly, a RDB*** for static machine information has been developed. This RDB stores (1) EPICS related information of devices, interfaces, and IOC's**** with a capability to generate EPICS records automatically, and (2) machine geometrical information with a capability to generate lattice files for various simulation applications. The status of the control system focusing on the data acquisition system and the RDB will be presented.

*Material and Life Science Facility. **Main Ring. ***Relational Database. ****Input Output Controller.

 
FPAT049 Upgrade of the PF Ring Vacuum Control System 3061
 
  • Y. Tanimoto, T. Nogami, T. Obina
    KEK, Ibaraki
 
  Having been operated for more than two decades, the PF ring vacuum control system had become superannuated. The system reliability had been degraded and the maintenance work had been difficult. In addition, the device operability had not been high because the operating software, written in BASIC, had been running in a stand-alone computer. In the summer of 2004, the vacuum control system was upgraded to solve these problems. In this upgrade, the operating system was constructed in the EPICS environment. And numerous NIM modules composing hardware interfaces between vacuum device controllers and the operating computers were replaced by reliable PLCs.  
FPAT050 Improvement RF Control System for the 20 Mev Proton Linac of PEFP 3100
 
  • J.C. Yoon, J. Choi, H.-S. Kang, J.-W. Lee
    PAL, Pohang, Kyungbuk
 
  Funding: EPICS, Control, LLRF.

This paper presents the RF control system for Korea Multi-purpose Accelerator Complex (KOMAC). KAERI (Korea Atomic Energy Research Institute) has been performing the project named KOMAC. As the 3nd phase of the project, 20MeV proton accelerating structure is under development. The new design is based on the use of VME based Multi-function modules connected to the specific low level RF Controllers(LLRF) via distributed I/O modules and Serial communication modules. The control system was based on EPICS (Experimental Physics and Industrial Control System) from the end of 2004. Installation and commissioning of the RF module is scheduled on 2005. Control system to integrated the RF System to the KOMAC control system is implemented. Hardware, software and various applications are upgrade to support the operation of RF Control system. In this paper, We describe control structure and scheme of the current RF Control System and upgraded one.

 
FPAT051 A New Timing System for the Duke Booster and Storage Ring 3159
 
  • G.Y. Kurkin
    BINP SB RAS, Novosibirsk
  • S.M. Hartman, S. Mikhailov, Y.K. Wu
    DU/FEL, Durham, North Carolina
  • I.P. Pinayev
    BNL, Upton, Long Island, New York
 
  Funding: AFOSR MFEL grant number is F49620-001-0370, HIGS Upgrade DOE grant number is DE-FG02-01ER41175.

A dedicated booster synchrotron is being constructed at the Duke FEL Laboratory to provide full energy injection into the main electron storage ring. A new timing system has been developed to coordinate the injection of electron bunches from the linac to the booster, the ramping of energy in the booster, and extraction of bunches into the main ring. The timing system will allow the extraction of any bunch in the booster into any selected bucket in the main ring to provide top-off injection for any of the various operational bunch patterns of the main ring. A new master oscillator has also been developed for the RF system of the booster. The oscillator may be tuned independently or phase-locked to the master oscillator of the main ring. The issues of the soft phase locking process of the new master oscillator are discussed. The timing system and new oscillator have been fabricated and tested and are ready for operation.

 
FPAT053 LabVIEW Library to EPICS Channel Access 3233
 
  • A.V. Liyu
    RAS/INR, Moscow
  • W. Blokland, D.H. Thompson
    ORNL, Oak Ridge, Tennessee
 
  Funding: SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy.

The Spallation Neutron Source (SNS) accelerator systems will deliver a 1.0 GeV, 1.4 MW proton beam to a liquid mercury target for neutron scattering research. The accelerator complex consists of a 1 GeV linear accelerator, an accumulator ring and associated transport lines. The SNS diagnostics platform is PC-based and will run Windows for its OS and LabVIEW as its programming language. Data acquisition hardware will be based on PCI cards. There will be about 300 rack-mounted computers. The Channel Access (CA) protocol of the Experimental Physics and Industrial Control System (EPICS) is the SNS control system communication standard. This paper describes the approaches, implementation, and features of LabVIEW library to CA for Windows, Linux, and Mac OS X. We also discuss how the library implements the asynchronous CA monitor routine using LabVIEW’s occurrence mechanism instead of a callback function (which is not available in LabVIEW). The library is used to acquire accelerator data and applications have been built on this library for console display and data-logging.

 
FPAT055 The Radiation Safety Interlock System for Top-Up Mode Operation at NSRRC 3328
 
  • C.R. Chen, F.D. Chang, S.-P. Kao, Joseph. Liu, R.J. Sheu, J.P. Wang
    NSRRC, Hsinchu
 
  The radiation safety interlock systems of NSRRC have been operated for more than a decade. Some modification actions have been implemented in the past to perfect the safe operation. The machine and its interlock system were originally designed to operate at the decay mode. Recently some improvement programs to make the machine injection from original decay mode to top-up mode at NSRRC has initiated. For users at experimental area the radiation dose resulted from top-up re-fill injections where safety shutters of beam-lines are opened will dominate. In addition to radiation safety action plans such as upgrading the shielding, enlarging the exclusion zones and improving the injection efficiency, the interlock system for top-up operation is the most important to make sure that injection efficiency is acceptable. To ensure the personnel radiation safety during the top-up mode, the safety interlock upgrade and action plans will be implemented. This paper will summarize the original design logic of the safety interlock system. Historical modification actions for this system will be mentioned. New design logic to ensure radiation safety for top-up mode operation will be discussed.  
FPAT056 RF Control System Upgrade at CAMD 3339
 
  • V.P. Suller
    CCLRC/DL/ASTeC, Daresbury, Warrington, Cheshire
  • M.G. Fedurin, P. Jines, D.J. Launey
    LSU/CAMD, Baton Rouge, Louisiana
 
  A description is given of the new control system for the RF system of the CAMD light source. The new design being implemented brings all RF signals into the data acquisition system via a modular, custom made, RF detector and renders the amplitude and tune control loops in the VME computer. On line calculations ensure monitoring of proper operation and display the information to the user in an efficient way. In addition, an advanced load impedance monitoring diagnostic has been implemented, being displayed as a Smith Chart, which is based on the system used at the SRS in Daresbury, England.  
FPAT057 A TCL/TK Widget for Display of MEDM Screens 3393
 
  • R. Soliday
    ANL, Argonne, Illinois
 
  Funding: This work is supported by the U.S. Department of Energy, Office of Basic Energy Sciences, under Contract No. W-31-109-ENG-38.

A new Tcl/Tk widget has been created to display MEDM screens inside a Tcl/Tk application. Tcl/Tk parses the MEDM input files and the appropriate widgets are created and linked to the associated process variables. One advantage of this approach is that an X-Windows emulator is not required to view and manipulate the MEDM screen under a Windows operating system. Another benefit is that the MEDM screen can now be tightly integrated into a scripting language to attach higher-level logic to various process variable manipulations. Further details and examples of the new widget will be discussed.

 
FPAT058 Creating EPICS Soft Channels the Easy Way with sddspcas: Features and Applications 3429
 
  • R. Soliday, M. Borland
    ANL, Argonne, Illinois
 
  Funding: This work is supported by the U.S. Department of Energy, Office of Basic Energy Sciences, under Contract No. W-31-109-ENG-38.

Using sddspcas, a portable channel access server that is configured by SDDS input files, it is relatively simple to create process variables (PVs). It can be run in a standalone mode or it can be run so that the PVs are checked to ensure that they don’t conflict with other IOCs or portable channel access servers. It can also be run using the Run Control facility to prevent additional instances of the same sddspcas from being run. The SDDS configuration file provides the PV names, upper and lower limits, units, element counts if the PVs are waveforms, and the types of PVs. Valid types include various precision floats and integers as well as strings. One simple application of this program is that software developers can quickly test their code without requiring the coordination needed to update an IOC database to create PVs. Further details of the features, configuration, and applications of sddspcas will be discussed.

 
FPAT059 Event Driven Automatic State Modification of BNL's Booster for NASA Space Radiation Laboratory Solor Particle Simulator 3447
 
  • K.A. Brown, S. Binello, M. Harvey, J. Morris, A. Rusek, N. Tsoupas
    BNL, Upton, Long Island, New York
 
  Funding: Work performed under Contract #DE-AC02-98CH10886 with the auspices of the U.S. Department of Energy.

The NASA Space Radiation Laboratory (NSRL) was constructed in collaboration with NASA for the purpose of performing radiation effect studies for the NASA space program. The NSRL makes use of heavy ions in the range of 0.05 to 3 GeV/n slow extracted from BNL's AGS Booster. NASA is interested in reproducing the energy spectrum from a solar flare in the space environment for a single ion species. To do this we have built and tested a set of software tools which allow the state of the Booster and the NSRL beam line to be changed automatically. In this report we will desribe the system and present results of beam tests.

 
FPAT060 An FPGA-Based Quench Detection and Protection System for Superconducting Accelerator Magnets 3502
 
  • R. H. Carcagno, SF. Feher, M.J. Lamm, A. Makulski, R. Nehring, D.F. Orris, Y.M.P. Pischalnikov, M. Tartaglia
    Fermilab, Batavia, Illinois
 
  A new quench detection and protection system for superconducting accelerator magnets was developed at the Fermilab's Magnet Test Facility (MTF). This system is based on a Field-Programmable Gate Array (FPGA) module, and it is made of mostly commerically available, integrated hardware and software components. It provides most of the functionality of our existing VME-based quench detection and protection system, but in addition the new system is easily scalable to protect multiple magnets powered independently and has a more powerful user interface and analysis tools. First applications of the new system will be for testing corrector coil packages. In this paper we describe the new system and present results of testing LHC Interaction Region Quadrupole (IRQ) correctors.  
FPAT061 CEBAF Distributed Data Acquisition System 3541
 
  • T.L. Allison, T. Powers
    Jefferson Lab, Newport News, Virginia
 
  Funding: This work was supported by DOE contract DE-AC05-84ER40150 Modification No. M175, under which the Southeastern Universities Research Association (SURA) operates the Thomas Jefferson National Accelerator Facility.

There are thousands of signals distributed throughout Jefferson Lab’s Continuous Electron Beam Accelerator Facility (CEBAF) that are useful for troubleshooting and identifying instabilities. Many of these signals are only available locally or monitored by systems with small bandwidths that cannot identify fast transients. The Distributed Data Acquisition (Dist DAQ) system will sample and record these signals simultaneously at rates up to 40 Msps. Its primary function will be to provide waveform records from signals throughout CEBAF to the Experimental Physics and Industrial Control System (EPICS). The waveforms will be collected after the occurrence of an event trigger. These triggers will be derived from signals such as periodic timers or accelerator faults. The waveform data can then be processed to quickly identify beam transport issues, thus reducing down time and increasing CEBAF performance. The Dist DAQ system will be comprised of multiple standalone chassis distributed throughout CEBAF. They will be interconnected via a fiber optic network to facilitate the global triggering of events. All of the chassis will also be connected directly to the CEBAF Ethernet and run EPICS locally. This allows for more flexibility than the typical configuration of a single board computer and other custom printed circuit boards (PCB) installed in a card cage.

allison@jlab.org

 
FPAT063 Control System for the ORNL Multicharged Ion Research Facility High-Voltage Platform 3591
 
  • M.E. Bannister, F.W. Meyer, J. W. Sinclair
    ORNL, Oak Ridge, Tennessee
 
  Funding: Work supported by U. S. DOE Office of Fusion Energy Sciences and Office of Basic Energy Sciences under contract No. DE-AC05-00OR22725 with UT-Battelle, LLC.

A control system for the 250-kV platform and beamlines for accelerating and transporting multiply-charged ion beams produced by an all-permanent-magnet ECR ion source has been developed at the ORNL Multicharged Ion Research Facility. The system employs Experimental Physics and Industrial Control System (EPICS) software controlling an Allen-Bradley ControlLogix Programmable Logic Controller (PLC). In addition to the I/O control points of the PLC, other devices are controlled directly by the EPICS computer through RS-232 and GPIB interfaces. PLC chassis are located at each major electrical potential of the facility, that is, at the ECR source potential, at the platform potential, and at ground potential used in the beamlines transporting ions to the various experimental end-stations. Connection of the control system components to the EPICS host is accomplished via EtherNet, including fiber optic links to the HV platform. The user interface is designed with the Extensible Display Manager (EDM) software and custom applets perform such tasks as mass-to-charge ratio scans of the platform analyzing magnet and archival of source and beamline operating parameters.

 
FPAT064 Experience with the EPICS PV Gateway at the APS 3621
 
  • K. Evans, M. Smith
    ANL, Argonne, Illinois
 
  Funding: Work supported by the U.S. Department of Energy, Office of Basic Energy Sciences, under Contract No. W-31-109-ENG-38.

The EPICS PV Gateway has become a stable, high-performance application that provides access to process variables while minimizing the impact on critical IOCs and implementing additional access security. The additional access security typically prevents write access but is highly configurable. The Advanced Photon Source (APS) currently uses 40 Gateways running on 11 machines to provide access to the machine network from the offices and for the individual experimental teams. These include reverse Gateways that allow administration of all 40 APS Gateways from a single MEDM screen, even though the Gateways are running on separate networks. This administration includes starting, stopping, making and viewing reports, and viewing and editing access security files. There is one Gateway that provides process variable renaming. This paper provides an overview of the Gateways at the APS and describes the procedures that have been set up to use and administer them.

 
FPAT065 Experience of Prototype Control System for the J-PARC Proton Linac
 
  • N. Kamikubota
    KEK, Ibaraki
 
  The J-PARC, a high-intensity proton accelerator facility, started construction in 2001 as a 5-year project. Though the construction site is JAERI (Tokai), the pre-injector part of the proton linac was constructed at KEK (Tsukuba). Early commissioning studies with proton beams have been carried out at KEK in 2002-2004. A prototype control system based on the EPICS toolkit was developed as a part of commissioning studies. 1) New software and hardware devices, which will be used in J-PARC, were developed and evaluated with real beams. 2) We migrated existing small control systems into a single EPICS-based control system. This paper reports developments and experiences with the prototype control system. Future extensions toward the whole J-PARC facility are also given.  
FPAT066 The SNS Ring LLRF Control System 3697
 
  • S. Peng
    ORNL, Oak Ridge, Tennessee
  • L.T. Hoff, K. Smith
    BNL, Upton, Long Island, New York
 
  Funding: SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy. SNS is a collaboration of six U.S. National Laboratories: ANL, BNL, JLab, LANL, LBNL, and ORNL.

The low-level RF control system for the SNS Ring differs considerably from that for the Linac. To accommodate requirements for higher data throughput and improved performance the system is based on a PCI Digital Signal Processor (DSP). In accordance with SNS standards, a VME-based PowerPC© is used, but advantage is taken of the on-board PMC slot which houses a Bittware© Hammerhead© PMC card with four AD-21162 DSPs.The EPICS system handles system configuration and data traffic while the DSP performs the low-level RF controls. Protocol and software to support both the PowerPC and the DSP have been developed. This paper presents the system design and initial testing experience.

 
FPAT067 The Design Performance of the Integrated Spallation Neutron Source Vacuum Control System 3730
 
  • J.Y. Tang, J.A. Crandall, P. Ladd, D.C. Williams
    ORNL, Oak Ridge, Tennessee
 
  The Spallation Neutron Source vacuum control systems have been developed within a collaboration of Lawrence Berkeley National Laboratory(LBNL), Los Alamos National Laboratory(LANL), Thomas Jefferson National Accelerator Facility(TJNAF), and Brookhaven National Laboratory(BNL). Each participating lab is responsible for a different section of the machine. Although a great deal of effort has been made to standardize vacuum instrumentation components and the global control system interfaces, the varied requirements of the different sections of the machine made horizontal integration of the individual vacuum control systems both interesting and challenging. To support commissioning, the SNS control system team and the vacuum group developed a set of test strategies and the interlock schemes that allowed horizontal vacuum system integration to be effectively achieved. The design of the vacuum control interlock scheme developed will be presented together with the results of performance measurements made on these schemes. In addition, the experience and performance of an industrial Ethernet with real-time control used in this application will be discussed.

SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy.

 
FPAT068 Spallation Neutron Source Drift Tube Linac Resonance Control Cooling System Modeling 3754
 
  • J.Y. Tang, A.V. Aleksandrov, M.M. Champion, P.E. Gibson, J.P. Schubert
    ORNL, Oak Ridge, Tennessee
  • A. Feschenko, Y. Kiselev, A.S. Kovalishin, L.V. Kravchuk, A.I. Kvasha
    RAS/INR, Moscow
 
  Funding: SNS is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U.S. Department of Energy.

The Resonance Control Cooling System (RCCS) for the warm linac of the Spallation Neutron Source was designed by Los Alamos National Laboratory. The primary design focus was on water cooling of individual component contributions. The sizing the RCCS water skid was accomplished by means of a specially created SINDA/FLUINT model tailored to these system requirements. A new model was developed in Matlab Simulink and incorporates actual operational values and control valve interactions. Included is the dependence of RF input power on system operation, cavity detuning values during transients, time delays that result from water flows through the heat exchanger, the dynamic process of water warm-up in the cooling system due to dissipated RF power on the cavity surface, differing contributions on the cavity detuning due to drift tube and wall heating, and a dynamic model of the heat exchanger with characteristics in close agreement to the real unit. Because of the Matlab Simulink model, investigation of a wide range of operating issues during both transient and steady state operation is now possible. Results of the DTL RCCS modeling are presented

 
FPAT069 A Control System for the Duke Booster Synchrotron 3792
 
  • S.M. Hartman, S. Mikhailov, Y.K. Wu
    DU/FEL, Durham, North Carolina
 
  Funding: This work is supported by U.S. Department of Energy grant DE-FG02-01ER41175 and by U.S. AFOSR MFEL grant F49620-001-0370.

The Duke FEL is developing a booster synchrotron to provide full energy injection into the Duke electron storage ring. In this paper, we describe the development of the control system for the booster. Requirements include the competing needs of simple and reliable turn-key operation for the machine as a booster; and the sophistication and flexibility of operation of the machine as a storage ring for commissioning, machine studies and as a light source. To simplify operations and machine studies, the high level controls will present the system in terms of the physics quantities of the accelerator, allowing a tight integration between the physics model and the low level hardware control, as we have previously implemented for Duke storage ring.

 
FPAT070 Performance of COTS I/O Modules in an Accelerator Control System 3822
 
  • S.M. Hartman
    DU/FEL, Durham, North Carolina
 
  Funding: This work is supported by U.S. AFOSR MFEL grant F49620-001-0370 and by U.S. Department of Energy grant DE-FG02-01ER41175.

We analyze some recent experiences with commercial off the shelf (COTS) I/O hardware modules, comparing manufacturer specifications with our in-house measurements. Discrepancies between quoted specifications and measured performance under accelerator laboratory conditions have been observed. In some cases, design or manufacturing faults have been found which could have impact on the overall performance of the accelerator.

 
FPAT071 Timing System for J-PARC 3853
 
  • F. Tamura
    JAERI/LINAC, Ibaraki-ken
  • J.C. Chiba, T. Katoh, M. Yoshii
    KEK, Ibaraki
 
  J-PARC has three accelerators running at the different repetition rates; a 400-MeV linac (50Hz), a 3-GeV rapid cycling synchrotron (RCS, 25Hz), and a 50-GeV synchrotron (MR). The linac and the RCS deliver the beam pluses to the different destinations in each cycle. The destinations are scheduled according to the machine operations. We define two kinds of timing, "scheduled timing" and "synchronization timing" so that the accelerators are operated with proper timing and the beam pulses are transported to the experimental facilities or the next accelerators. The J-PARC complex requires a stable and precise timing system. The system is based on a master clock generated by a synthesizer and the triggers are operated independently of the AC-line frequency. We describe the design of the J-PARC timing system and their configuration, and also present the hardware details.  
FPAT072 The Status of HLS Control System 3862
 
  • G. Liu, X. Bao, C. Li, W. Li, J. Wang, Xie. Xie, K. Xuan
    USTC/NSRL, Hefei, Anhui
  • J. Li
    DU/FEL, Durham, North Carolina
 
  HLS (Hefei Light Source) at NSRL (National Synchrotron Radiation Lab) consists of three parts: 200Mev Linac, transport line and 800Mev storage ring. The control system was upgraded based on EPICS (Experimental Physics and Industrial Control system) from 1999 to 2004. This paper will cover the experience of using PC-based hardware under EPICS, data archiving, and some high level tools for physics and operation use.  
FPAT075 Using a Control System Ethernet Network as a Field Bus 3961
 
  • W.R. DeVan, S.E. Hicks, G.S. Lawson, W.H. Wagner, D.M. Wantland, E. Williams
    ORNL, Oak Ridge, Tennessee
 
  A major component of a typical accelerator distributed control system (DCS) is a dedicated, large-scale local area communications network (LAN). The SNS EPICS-based control system uses a LAN based on the popular IEEE-802.3 set of standards (Ethernet). Since the control system network infrastructure is available throughout the facility, and since Ethernet-based controllers are readily available, it is tempting to use the control system LAN for "fieldbus" communications to low-level control devices (e.g. vacuum controllers; remote I/O). These devices may or may not be compatible with the high-level DCS protocols. This paper presents some of the benefits and risks of combining high-level DCS communications with low-level "field bus" communications on the same network, and describes measures taken at SNS to promote compatibility between devices connected to the control system network.

Work supported by the U.S. Department of Energy under Contract DE-AC05-00OR22725.

 
FPAT076 PC-LabView Based Control System in SAGA-LS 3976
 
  • H. Ohgaki
    Kyoto IAE, Kyoto
  • Y. Iwasaki, S. Koda, Y. Takabayashi, T. Tomimasu, K. Yoshida
    Saga Synchrotron Light Source, Industry Promotion Division, Saga City
  • H. Toyokawa
    AIST, Ibaraki
 
  A control system for SAGA Synchrotron Light Source (SAGA-LS) has been constructed. SAGA-LS is a small-medium size light source and is run by local government, which means there are a few number of staff in the laboratory. Thus the control system must be simple and robust, while inexpensive, easy to develop and maintain. The basic ideas of the system are 1) using PCs to build a low cost control system, 2) using off-shelf devices, FieldPoint (National Instrument) and PLCs, (FA-M3, Yokogawa), for robust and replaceable system, 3) using LabView for a quick in-house system development, 4) using channel access protocol between server and client to transparent from regular EPICS utilities, 5) using ActiveX CA to emulate the CA protocol. About 1,000 PVs are employed to control the magnet power supplies, the RF control sub-system, vacuum monitors, BPM data and several LCW data. The system has been operated and tuned at the beginning of the commissioning, spring 2004. MySQL database system also archives data to assist daily operation and to display the trend chart of the machine. The database applications developed by LabView, too.  
FPAT077 An Accelerator Control Middle Layer Using Matlab 4009
 
  • G.J. Portmann
    LBNL, Berkeley, California
  • W.J. Corbett, A. Terebilo
    SLAC, Menlo Park, California
 
  Funding: U.S. Department of Energy under Contract No. DEAC03-76SF00098.

Matlab is a matrix manipulation language originally developed to be a convenient language for using the LINPACK and EISPACK libraries. What makes Matlab so appealing for accelerator physics is the combination of a matrix oriented programming language, an active workspace for system variables, powerful graphics capability, built-in math libraries, and platform independence. A number of software toolboxes for accelerators have been written in Matlab – the Accelerator Toolbox (AT) for machine simulations, LOCO for accelerator calibration, Matlab Channel Access Toolbox (MCA) for EPICS connections, and the Middle Layer. This paper will describe the MiddleLayer software toolbox that resides between the high-level control applications and the low-level accelerator control system. This software was a collaborative effort between ALS and Spear but was written to easily port. Five accelerators presently use this software – Spear, ALS, CLS, and the X-ray and VUV rings at Brookhaven. The Middle Layer functionality includes energy ramp, configuration control, global orbit correction, local beam steering, insertion device compensation, beam-based alignment, tune correction, response matrices, and script-based physics studies.

 
FPAT090 ExperimentDesigner: A Tcl/Tk Interface for Creating Experiments in EPICS 4245
 
  • H. Shang, M. Borland
    ANL, Argonne, Illinois
 
  Funding: Work supported by the U.S. Department of Energy, Office of Basic Energy Sciences, under Contract No. W-31-109-ENG-38.

ExperimentDesigner is a Tcl/Tk interface that allows users to easily design and run complicated experiments using a convenient graphical user interface (GUI). Features include: process variable monitoring, which pauses the experiment when values are out of range; user-defined initialization, execution, and finalization sequences; support of complex execution chains containing actions such as setting controls, reading values, running external programs, interacting with the user, etc.; collection of output data for convenient postprocessing; saving and loading of experiment configurations; convenient use of SDDS Toolkit programs; and execution of experiments from the command line without a GUI.