ID161: Development of a CORBA Toolkit and its Evaluation

N. Kamikubota, M. Clausen*, and K. Furukawa

High Energy Accelerator Research Organization (KEK) *

Deutsches Elektronen-Synchrotron (DESY)

A trial to develop a CORBA toolkit has been made at DESY and KEK. This toolkit provides basic APIs for general-purpose data exchange. There are two aims for this trial. The first one is to make it easier to convert existing CORBA applications of older versions (Digital's @aGlance) to those with new CORBA environment (Object Broker). Since the toolkit includes complete emulation of the @aGlance functionalities, re-use of the existing sources becomes possible. The second aim is to evaluate the availability of CORBA over different control systems. In order to inspect the availability, the toolkit was introduced into three different control systems at DESY and KEK. As a result, communication availability has been demonstrated over three different platforms. In addition, when an application is developed with the APIs of present toolkit, it can communicate with any of the three different control systems. Thus present work encourages to share application software between DESY and KEK.

Submitted by: Norihiko Kamikubota
Full address: High Energy Accelerator Research Organization (KEK) Oho 1-1, Tsukuba, Ibaraki, 305, Japan
E-mail address:
Fax number: +81 298-64-7529
Keywords: CORBA, software share


M. Toma, D. Martin, I. Indreias, A. Radu,C. Oproiu,S. Marghitu

National Institute for Laser, Plasma and Radiation Physics-Accelerators Laboratory, Bucharest, ROMANIA

A low-cost PC control system for linear electron accelerators developed in small laboratories with limited financial means is presented.The data acquisition and control system for ALID-7 linac used on pilot scale radiation processing is discussed.The system is designed to provide the following controls:personnel and sensitive apparatta protection against dangerous events;programmed interlocking and warning signals during accelerator's operation;single electron pulses or electron pulse trains with low variations in pulse dose;electron beam intensity;magnetron frequency;lengths and repetition rates of electron pulses; high voltage levels on magnetron and electron gun odulators;bending magnetfield intensity; sweeping amplitude and frequency; conveyor velocity; irradiation time and electron pulses number; simultaneous electron beam and microwave treatment.The graphic user interface chosen (GUI) was Microsoft Windows which provides a common access to all applications and the shell for starting them is Program Manager.The data base is built using Microsoft Excel or Microsoft Access with data files stored in native Excel format (BIFF) to be accessible from VisualC++ or Visual Basic programs.The communication between programs running in the consoles and the front end computers has been achieved with Dynamic Data Exchange (DDE) which is the standard protocol inside Windows framework.Microsoft Excel or Access are easy-to-use programs and offer charting facilities and database accessibility.The application programs were written using Visual Basic or Visual C++ to permit the achievement of users' specific needs.The result of the PC control system implementation was the fulfillment of an inexpensive and easy-to-use tool allowing to even inexperienced users to benefit of a linear accelerator as a controllable radiation processing installation.

Submitted by: Marian Toma
Full address: National Institute for Laser, Plasma and Radiation Physics-Accelerators Laboratory, P.O.Box MG-36, #1,Atomistilor St. 76900 Bucharest-ROMANIA
Keywords: data acquisition and control


Zou Yong Wang Huacen Lai Qinggui Wang Minhong Wang Xiaoling Zhang Linwen

Institute of Fluid Physics P.O.BOX 523, Chengdu, 610003, China

A control and monitoring system for current regulators used in a 12Mev-,60ns- induction linac is presented in this paper. It is used to manipulate precisely hundreds of current: regulators (20-500a) which provide currents for beam transport magnets in an induction linac. Whole system consists of a supervisory PC and singlr chips with optical-electrical isolated interface built in current regulators. They are connecte d serially with bus. With this system, the output currents of the regulators can be preset, mearsed and stored,furthermore, the beam position can be automatically corrected by adjusting the currents according to the data acqured in previos experiments.

Submitted by: fax
Full address: Institute of Fluid Physics P.O.BOX 523, Chengdu, 610003, China
E-mail address: DINGBN@SUN.IHEP.AC.CN
Keyword: cureent regulator intellectual regulating beam position

ID165: A Control and Monitoring System for an Induction Linac

Wang Huacen Lai Qinggui Zhou Yong Wang Minhong Wang xiaoling Zhang Linwen

Institute of Fluid Physics, P.O. BOX 523, Chengdu, 61003, China

A control and monitoring system for a 12Mev-, 3kA-, 60ns- induction linac is presented. It's a centralized control and distributed smpling system based on a Novell LAN. First of the three main subsystems consists of a supervisory PC and three front industrial control computers connected via Bitbus and used for running the accelerator and recording slow signals. More than 200 current regurators (20-500A) for beam transport magnets are manipulated by the second subsystem with a PC and single chips inside the regulators connected serially through optical-electrial isolated interfacts. The fast signals are recorded and processed by the third subsystem. The oscilloscopes of 500MHz- 1GHz bandwidth and a 64-channel VXI waveform recoader are controlled by a PC via IEEE488. All the data acquired can be sent to a workstation for further analysis. The user-friendly interface makes the system easier to operate.

Submitted by: Wang Huacen
Full address: Institute of Fluid Physics, P.O. BOX 523, Chengdu, 61003, China
E-mail address: DINGBN@SUN.IHEP.AC.CN
Fax number: (0816)2272695
Keyword: accelerator control induction linac Bitbus Novell LAN

ID166: Databases for 12MeV Induction LINAC

Lai Qinggui Wang Huacen Zhou Yong Wang Minhong Wang Xiaoling Zhang Linwen

Institute of Fluid Physics, P.O. BOX 523, Chengdu, 610003, China

The data in an accelerator controll system is not only important for the control processes but also serves as the primary source of information required for the understanding of the behavior. In this paper a databases of a 12MeV-, 3KA-, 60ns- induction LINAC is presented. It's based on a three PC and a workstation. The slow signals recorded by industrial control and monitor more than 200 current regulators (20-500A) and feedback the signals to workstation. The third PC record and send the fast signal sampled by the oscilloscopes and VXI waveform recorder via IEEE488. All the data is sent to the workstation for further analysis.

Submitted by: Wang Huacen
Full address: Institute of Fluid Physics, P.O. BOX 523, Chengdu, 610003, China
Keyword: Database Induction LINAC Novell LAN

ID167: Improvements of Database System for Accelerator Control

M. Mutoh, M. Nanao and Y. Shibasaki

Laboratory of Nuclear Science, Tohoku University, Japan I. Abe High Energy Accelerator Research Organization (KEK), Japan

Since the accelerator has become a large and a more complex system, the establishment of a more sophisticated control system is required. A powerful database therefore becomes of great importance, and will enhance the flexibility and extendibility of the control system. We have adopted MS-SQL Server as the control database. Although MS-SQL Server is a relational database, in order to enhance the role of the database we encapsulated the data and methods constructed by means of stored procedures. The database must be accessed through the stored procedures to communicate between application programs and the database. Consequently, the communication protocol as an access method between the client applications and the stored procedures could be standardized; it was possible for anyone to make application programs without expertise on SQL or the database structure. For real-time observations of the accelerator operation through the Internet, a Java Applet using the standardized protocol has been provided. The structures of the database and interface for the application programs are discussed.

Author's name: Masakatsu Mutoh
Full address: 1-2-1 Mikamine, Taihaku-ku, Sendai 982, Japan
E-mail address:
FAX number: +81-22-743-3401
Keyword: database, Java

ID168: Low cost DSP based systems for signal processing and control

Yu Wang , Yanfang Wang (a)

University of Science & Technology of China (USTC)

For control and data acquisition systems, DSP(Digital Signal Processor) plays an important roles of signal processing, data correction and bus control. This article describes several projects carried at the FELab (Fast Electronics Laboratory) which use DSP as the core processor and PC as host. Author gives more detailed design of following systems: Real-time correction and data transformation for nuclear medicine instrument (Gamma Camera and PET), data processing for non-standard video graphic, VME bus monitor and VME-PC bridge for a feedback control system. The DSP we used is the Analog Devices ADSP-2181, 33MIPS fixed point with 80Kbyte on chip RAM and a DMA channel. Most of the systems we mentioned cost less than US$3000 (PC is included), for most research and even educational projects, this is affordable.

Submitted by: Yanfang Wang
Full address: Fast Electronics Lab, Modern Physics Dept., P.O.Box 4, Hefei, Anhui 230027, P.R.China
Telephone: +86-551-3603114
Fax number: +86-551-3601164
Keywords: DSP, PC based system

ID169: DSP Implementations for Accelerator Instrumentation

T. J. Shea

Brookhaven National Laboratory

Digital signal processing is now a fundamental component of many instrumentation systems. Using several example systems, this paper will review the functions provided by digital signal processing and discuss implementations on available hardware. The hardware platforms can be divided into three categories: reconfigurable computing systems based on field programmable gate arrays, programmable Digital Signal Processors (DSPs), and general purpose microprocessors. Relative performance was evaluated by implementing one algorithm on each of the three platforms. Results of this test and the ease of implementation will be discussed. The functions provided include data rate reduction to decrease network load, local calculations to decrease computational load, and local real-time control. Although several examples will be presented, the basic functions are illustrated by two systems. In the first example, a distributed position monitor system pushes corrected and filtered measurement results over an IEEE1394 Serial Bus. In the second, a transverse beam feedback system includes a digital phase lock loop to provide tune measurements.

Submitted by: Thomas J. Shea
Full address: Bldg. 1005, Brookhaven National Lab, Upton, NY, USA, 11973
E-mail address:
Fax number: (516)344-2588

ID170: Experience with the Integration of Transient Recorders in the Daily HERA Machine Operation

R. Bacher, M. Clausen, P. Duval, L. Steffen

Many parameters of HERA machine components like RF systems or quench protection as well as important beam parameters and major parameters from the DESY utility installations are continuously measured by transient recorders. In general, these recorders are not synchronized among one another and sample the data with very different rates ranging from 200 Hz to 50 MHz. At present, work is going on to integrate the existing transient recorders into a global system. The paper reviews the transient recorder hardware operated at HERA and the problems related to the integration of different types and systems. The proposed trigger distribution based on the HERA Integrated Timing system and a possible software trigger as well as the software concept to archive, retrieve and display the data - together with first results - will be described.

presented by: Matthias Clausen
Keywords: datalogger, timing, trigger, archiving, display
Affiliation: Deutsches Elektronen Synchrotron DESY Notkestrasse 85 D 22607 Hamburg
Telephone: -49-40-8998-3256
Fax: -49-40-8998-4388
E-Mail: - or

ID171: A Control System Based on WWW-Technologies

B. Jeram, M. Plesko

J. Stefan Institute, Ljubljana, Slovenia

Once used only in state-of-the-art accelerator and large experimental physics control systems, distributed computing has become part of our everyday life. Recent years have witnessed an explosion of WWW applications and development tools. Therefore it makes only sense to fully exploit existing WWW-technologies provided conveniently by the computer industry as off-the-shelf products. The control system of ANKA, a 2.5 GeV synchrotron radiation light source being built in Karlsruhe, Germany, uses the WWW for both the graphical user interface and data transmission. All operator control is performed through a Web-browser with Java applets. Documentation and help is obtained through conventional html text, including GIF images, Postscript documents, etc. An authentication system allows that applets which only read data from the control system can run on any Internet host in the world while "harmful" applets are restricted to the control room and reserved IP adresses. Access to databases is possible through application/data servers in a three-tier architecture. Local save/load is implemented such that applets can run as applications. Communication of applets with the control system data servers is done through CORBA, RMI or bare sockets, if only speed is important. This paper presents a running prototype which provides applets from control of single elements such as power supplies to applets that perform complex actions such as monitoring, logging and orbit correction. Extensive use of Java features such as multithreading, object serialisation, networking and others is made to access fully asynchronous and distributed objects. Several Java applets and classes freely available on the Internet have been used, from JGL (Java Generic Library) to sophisticated plot and gauge widgets for AWT. Results of the prototype include an evaluation of several Java developing tools for PCs (J++, Visual Cafe, Java-Builder and SuperCede) and benchmarks that prove that the fact that Java is an interpreted language is not a problem.

Submitted by: Mark Plesko
Full Address: J.Stefan Institute, P.O.B. 3000, 1001 Ljubljana, Slovenia, Europe
E-mail Address:
Fax number: +386 61 123 21 20
Keywords: Java, WWW, RAD-tools

ID172: The Implementation of the OO Control System API with CORBA

B. Jeram, M. Plesko

J. Stefan Institute, Ljubljana, Slovenia

The backbone of the control system of ANKA, a 2.5 GeV synchrotron radiation light source being built in Karlsruhe, Germany, is based on TACO. TACO is a control system architecture developed at the ESRF and is now being upgraded and used in a wider collaboration. TACO's servers are object oriented, however its current application programmer's interface (API) is functional oriented only. In this paper we present our proposal how to create an object oriented API for TACO. Benchmark performance measurements with our objects show that CORBA is sufficiently fast for accelerator control. Both Java to C++ and Java to Java communication with CORBA has been tested and compared to Java's own remote method invocation (RMI) mechanism. The proposed model has been implemented in a prototype of the ANKA control system. Instead of building objects on top of the current API that is based on the remote procedure call (RPC) communication mechanism, we made use of CORBA and its IDL to define first class objects both on the client and server side. By using CORBA remote method invocation both ways, asynchronous processing of events and call-backs become not only possible but are the preferred way of communicating, because they make more efficient use of network resources. Static data such as limits and other data that are stored in databases are accessed directly through object serialisation or synchronous client-server methods as there is no need for events in that case.Each object that is exported by CORBA has specified methods for any of its atomic actions, such as get(), set(), getStatus(), on(), off(), etc. Alarm objects are always asynchronously sent to the alarm handler application. More specific devices inherit from the basic controlled device and add own methods, such as ramp() for power supplies, etc. A series of helper objects allow to obtain a list of all devices of a specific type. Although it is initially tedious to implement a separate IDL file for each class of controlled objects, the benefits pay off when the application programmer is protected from accidentally using wrong commands and parameter types for a given object.

Submitted by: Mark Plesko
Full Address: J.Stefan Institute, P.O.B. 3000, 1001 Ljubljana, Slovenia, Europe
E-mail Address:
Fax number: +386 61 123 21 20
Keywords: OO-technologies, CORBA, TACO

ID173: Experience with LonWorks as a Fieldbus for the Light Source ANKA

G. Mavric, M. Smolej, B. Jeram, M. Plesko

J. Stefan Institute, Ljubljana, Slovenia

ANKA is a 2.5 GeV synchrotron radiation light source being built in Karlsruhe, Germany. Instead of employing VME, we use a field bus network with intelligent nodes to connect the individual devices directly to the console computers. Since a light source is a relatively static machine, there is no need for hard real-time control. Therefore we have decided to opt for the LonWorks fieldbus, because it offers a complete network system in hardware and software in a single micro-controller (the Neuron chip) with all the necessary development and network management tools. LonWorks already implements layers 1-6 of the ISO/OSI model and thus transparently connects controlled devices and control room consoles without any need for network programming. In this paper we report of experiences with a working prototype consisting of 10 nodes, each equipped with a Neuron chip. Exploiting the fact that over 30 drivers for different I/O models already exist in the firmware, e.g. digital, byte, serial, microwire, counter/timer, etc., we have interfaced a Neuron chip to a commercial 16-bit DAC/ADC board and designed and built in short time several I/O modules that connect to the Neuron chip: a 8-channel 12-bit ADC, a 16-channel digital I/O and a RS-232 interface. The prototype implements the following functions in the nodes: - complete magnet power supply control including state machine and alarms - synchronous ramping of several power supplies where their current is increased in 1 ms steps - knobs: fine tuning with physical and virtual knobs through the LonWorks network generating over 25 actions/display pairs per second - Vacuum pump, gauge and valve control and interlock - beam position monitor acquisition and averaging Due to the OLE and DLL interfaces existing for LonWorks, we are able to access the variables and structures used in the nodes directly at the operator consoles. Several applications to control and monitor the nodes were written using rapid application development tools like Visual Basic and Delphi. Through OLE, controlled variables can be accessed easily even from Excel.

Submitted by: Mark Plesko
Full Address: J.Stefan Institute, P.O.B. 3000, 1001 Ljubljana, Slovenia, Europe
E-mail Address:
Fax number: +386 61 123 21 20

ID174: Control System for a High Average Power Free Electron Laser

K. Jordan, B. Cumbia, R. Evans, R. Hill, O. Garza, M. Wise

Thomas Jefferson National Accelerator Facility, Newport News, VA 23606 USA

A high-average-power infrared free-electron laser (IRFEL) capable of continuous kW-level operation at 3 - 6 µm, is being commissioned at Jefferson Lab in Newport News Virginia, USA. The IRFEL is located on the site of the CEBAF machine and is capable of being controlled from either the CEBAF Main Control Center (MCC) or from the local Laser Control Center (LCC). The plan is to control all functions of the electron-beam transport from the MCC except the final steering through the wiggler. All high-power-optics control and photon-beam delivery will be done from the LCC. The control system is based on EPICS (Experimental Physics and Industrial Control System) which is used at CEBAF. The IRFEL control system is roughly 1/10 the size of the CEBAF system. This paper will describe the hardware implementation of the systems.

Submitted by: Kevin Jordan
Full address: Jefferson Lab 12000 Jefferson Av. Newport News, VA USA 23606
E-mail address:
Fax number: 757-269-6355
Keywords: FEL, EPICS, Control Systems, hardware

ID175: MMI object analysis and the distributed components for a new console in the KEK e-/e+ Linac

Isamu Abe

KEK, 1-1 OHO, Tsukuba, Ibaraki 305, Japan

Recently, many commercial GUI, visual parts which work on Windows NT/95, became available at a low cost on the market. The functions and performances have reached the necessary level for accelerator control. Java as a GUI also gave us new impacts when we see it as distributed objects. Most parts must be managed as an object belonging to a certain class of the MMI class. We are now facing a necessary stage to review and re-define the existing class. We tried to re-analyze the MMI objects and classes, including those which also exist over the network, to meet recent distributed objects. In this paper, the class analysis and the distributed object are discussed.

Submitted by : Isamu Abe
Full address : 1-1 OHO, Tsukuba, Ibaraki 305, Japan
E-mail address :
Fax number : (81)-298-64-7438
Keywords : object distribution, operators console, MMI

ID176: Feedback of operator experience to console programs in the KEK e-/e+ Linac

M. Tanaka and I. Abe*

Mitsubishi Electric System & Service Engineering Co, Ltd.

*KEK, 1-1 OHO, Tsukuba, Ibaraki 305, Japan

Most console programs have been developed for operators by programmers or person who takes care of the accelerator devices. However, how we should make a feedback of operator experiences to the console programs has been under much discussion in the past. We evaluated the opinions and experiences of expert operators for the console programs from their points of view, which searching for suitable programs. As the result, we have prepared various kind of tools to reflect their experiences to the operators console. The results of our evaluation are discussed in this paper, and correspondences are presented.

Submitted by : Isamu Abe
Full address : 1-1 OHO, Tsukuba, Ibaraki 305, Japan
E-mail address :
Fax number : (81)-298-64-7438
Keywords : operation, console upgrade

ID177: A linear dynamic model for a power-recycled Michelson interferometer with Fabry-Perot arms

C.Mehmel, B.Caron A.Dominjon, C.Drezen, R.Flaminio, X.Grave, R.Hermel,F.Marion,L.Massonnet,R.Morand,B.Mours,V.Sannibale and M.Yvert

Large-scale gravitational-wave detectors like VIRGO or LIGO are currently under construction. These Michelson interferometers use multiple optical cavities with kilometer-scale arms lengths and therefore with long storage time. A knowledge of the dynamic response of the interferometer is needed in order to operate it. In this paper a model for the Fabry-Perot cavity necessary for the whole interferometer study is first given. Then we show through an example that the interferometer transfer functions can be given in terms of the interferometer parameters assuming some reasonnable assumptions. The transfer functions derived show some dynamic effects even at low frequencies. An example of the dynamic effects dependence on the interferometer parameters is given. We finally give a systematic method to compute the interferometer transfer functions and we give them for some fixed parameters.

Submitted by: Cherif MEHMEL
Full Address: LAMII/ESIA, 41 Avenue de la plaine BP 806 74016 Annecy CEDEX
E-mail adress:
Fax number: 33+0450666020
Keywords: Gravitational-wave, Interferometer control, Dynamic model

ID178: Knowledge based event-oriented approach in control systems

Vikentjev A.*, Vaguine A.*, Mikheev V**, Poluektov S.** *-

Moscow Radiotechnical Institute RAS,

**- Altey Ltd, Moscow.

The main point in expert system making for big and complicated objects (safety control of railway, aviation and power station) is to develop an appropriate knowledge base and to adopt it to practice. The traditional approach (expert --> knowledge base; data bases --> nairo or treebased methods --> knowledge base) takes a lot of time and very expensive. In event-oriented approach the hole data collecting and processing infrastructure from the very beginning is oriented on the cause - consequence description of the unfavorable events. In the case the unit of the processed data is not some digital parameters of the system but the quality information about the cause - consequence relations of each event .This knowledge is collecting within the system as the result of each event. The specialized knowledge processing procedure is used to complete the central knowledge base. The central expert system on the base of its own creterium is analyzing the quantity trends in the subject to make the decision. As an example in the paper described the system for safety control of Russian railway.

Full address: A. Vaguine Moscow Radiotechnical Institute of RAS Warshawskoe shosse 132 113519 Moscow Russia
Phone (095) 3123423
Fax (095) 3142888
E-mail address:
Keywords:knowledge base,event-oriented programming

ID179: Controls at IHEP Beijing

Jijiu Zhao,Yanan Guo, Dong Dong,Gongli Wang

Institute of High Energy Physics, Chinese Academy of Sciences P.O.Box 918(10) Beijing 100039, China E-mail:

The Institute of High Energy Physics, the Chinese Academy of Sciences completed the construction of Beijing Electron Positron Collider (BEPC) in October, 1988. The purpose of building BEPC is mainly to carry out the research on charm and t lepton physics and a good physical result has been obtained. The BEPC control system has been upgraded in October 1994. The old hardware console has been replaced by several VAX workstations, a VAX4500 computer is used as on_line controls, the Ethernet serves data communication between the console and the control computers. The dedicated adapter VAX-CAMAC-Channel (VCC) has been changed with a commercial adapter, so that it is easy to maintain and the reliability of the system are improved. A new computerized injection local control station in storage ring put into use which consists of Intel single board computers and bitbus. PC-based linac control system has been rebuilt. The Data acquisition system for Beijing Spectrometer (BES) are upgraded which is with VME-CAMAC system to collect data from dozens of thousand signal channels. The old VAX785 computer and its adapter VCC have been replaced by DEC Alpha server and the VME system. Tracks of the particles from the detectors are show on the console of the spectrometer where data recording and on_line analysis of the detected particles are performed. The Beijing Synchrotron Radiation Facility (BSRF) includes 7 beam lines which are applied to the studies of topography, EXAFS, diffuse scatter etc. Several PC computers are used for the beam line controls, data acquisition and images capture etc. The Beijing Proton Linac Facility (BPL) consists of the 35 MeV proton linac, research facilities for the treatment of cancer with fast neutrons, facilities for the production of short-life isotopes for medical applications etc. The Free Electron Laser (FEL) with a 30 MeV electron linac to carry out research on free electron laser in IR region and provide application. This paper presents the status and upgrade of the control systems.

Submitted by: Jijiu Zhao, Yanan Guo, Dong Dong, Gongli Wang
Full address: Institute of High Energy Physics P.O.Box 918(10) Beijing, 100039 P.R.China
E-mail address:
Fax number: (8610) 6821 3374
Keyword: status report, control system, accelerator

ID180: Progress of HIRFL control system
Huang Xinmin, and Chu zhensheng
IMP, Chinese Academy of Sciences &
National Laboratory of Heavy Ion Accelerator, Lanzhou

The rebuilding HIRFL control system is a distributed one based on the high grade PC, workstation and server. The system is consist of SFC control station, SSC power control station, SSC beam diagnosis station, SSC vacuum station and RF control station. Each control station is an independent subsystem and a high speed network is used to communicate between control stations. The application programs that are used to control equipment are written in C or C++ and linked into a DDL(dynamic linking library) which is called by standard windows' applications. The operating interface is programmed in OOP programming language C++ or VB and run under Windows/95 Chinese version( next: Windows/NT ).

The system was built in 1996 . The applications used in control stations have been finished and the system software designing is in progress. Entire control system is going to be finished in the end of 1997.

Key words: HIRFL control system high speed network OOP programming language