ID201: Control system for the 6T superconducting wigglar at NSRL

Hu shouming, Jiaming Chen, Daxiang Pan, Zhe Wu, Zhan Chen
University of Science and Technology of China

The control system for the 6T superconducting wiggler at Hefei National Synchrotron Radiation Laboratory is described. The system comprises a personal computer and a Industrial control PC. A multithread program running under Windows and a local embedded real-time application on the IPC are developed, to provide both the remote and local functions for controling the super conducting wiggler and other related devices.

P.O. Box 6022, Hefei, Anhui 230029, China

ID202: Aplication Software for New BEPC Ititerlock System

S.M.Tang, X.Y.Na, J.S.Chan

Institute of High Energy Physics(IHEP) P.O.Box 918, 100039, Beijing, China

New BEPC ( Beijing Electron Positron collider ) interlock system has been built in order to improve the reliability of personnel safety and interlock functions. Moreover, the system updates BEPC operation message once 6 seconds, which are displayed on TV screens at the major entrances,. Since March of 1996, new BEPC interlock system has been operational reliably. The hardware of the system is based on Programmable Logic Controllers (PLC). One multimedia IBM/PC-586 as the host computer of the PLCS, monitors the PLC system via serial port COM2. The PC communicates with the central computer VAX-4500 of BEPC control system and gets operating massage of the accelerator through serial port COM3. The application software on the host computer has been developed. Visual C++ for MS-Windows3.2'm is selected as the work bench. It provides nice tools for building programs, such as APP STUDIO, CLASS WIZARD, APP WIZARD and debugger tool. The paper describes the design idea and the structure of the application software. Error tolerance is taken into consideration. The paper also presents a small database and its data structure for the application.

Submitted by: S.M.Tang, X.Y.Na, J.S.Chan
Full address: S.M.Tang, X.Y.Na, J.S.Chan
Key words : 1. distributed PLC 2. MS-WMDOWS 3. VISUAL C+4- 4.database

ID203: Development of a CAMAC Distributed Control System

S.M.Tang, J.X.Yan, Y.L.YU H.Luo, X.N.Li, J.W.Zhang

Institute of High Energy Physics(REP) P. O.Box 918, 100039, Beijing, China

A model distributed control system(DCS) based on CAMAC front computers has been developed. It simulates actual control of accelerator's equipments. The paperdescribes the hardware configuration, the software structure, the system database and data management. Most of the applications has been completed and the system is put into operation normally.The system consists of a SUN workstation used as the man-machine interface, a VAX-II used as the system server and a CAMAC intelligent local control station.They communicate through Local Area Network. The SUN workstation with an X-terminal runs under UNIX operating system. The application software on the workstation provides nice graphical interface and is written in JAVA. The VAX-II under VMS manages the system database and manipulates message exchange. It transfers command messages and data messages between the workstation and the local control station. One CAMAC intelligent crate controller KS-3968, which is the front end computer, performs data acquisition , excutes the commands from VAX-II, controls local equipments and sends back data messages to VAX-II via the network. VAXELN which runs under VMS operating system is a powerful software product for developing real-time multitasking applications on supported front end computers. The paper also presents VAXELN application used for KS-3968.

Submitted by: S.M.Tang, J.X.Yan, Y.L.YU H.Luo, X.N.Li, J.W.Zhang
Full address: Institute of High Energy Physics(REP) P. O.Box 918, 100039, Beijing, China
Key words: 1.DCS 2.CAMAC 3.VMS 4.VAXELN 5.Local Contri Station

ID204: A New Radiation Protection Control System

Li Juexin Li Yuxong *Shao Beibei

National Synchrotron Radiation Laboratory, University of Science and Technology of China

Engineering Physics Department , Tsinghua University, China

The original radiation protection control system based on the Motorola 6909 series MPU has worked perfectly for about eight years in National Synchrotron Radiation Laboratory (NSRL), therefore the radiation safety is guaranteed. Compared with the rapid development of the computer technology, several deficiencies of this system have be shown, such as limited functions, insufficient data storage area, inconvenient data processing, complex program Method and the problem in energy saving. To suit this situation, we are updating the radiation protection control system. The 68HCll series micro-processor and Pentium PC are selected as the lower and upper controller by the new system. Their different advantages are used to compose a more reliable all-in-one system that masters the safety interlock, area monitoring, environmental monitoring and safety warning. It has the priority of safety control while it shares data and display with the central control room. The new functions can be appended easily by increasing modular boards and modifying software. All the software is programmed by C language on PC for both lower and upper controller. The PC can be off line when needed to perform other works. This paper presents the block diagram, hardware structure and software function of the new control system.

Submitted by: Li Juexin Li Yuxong *Shao Beibei
Full address: National Synchrotron Radiation Laboratory, University of Science and Technology of China Engineering Physics Department , Tsinghua University, China
Key words: radiation protection, computer, control system

ID205: The Status of BEPC Linac Control System

P.D. Gu, X.C.kong,G.X.Pei, D.Dong, Q.Le, F.X.Zhang

Institute of High Energy Physics Beijing,100039,P.R.China

The BEPC Linac control system has been upgrading since 1993.After the reconstruction of the control system based on industrial personal computers last year, all the computers have now been networked together.Programs have been written using VC++.The communication is based on Windows Socket. Server program runs on a PC server in the Linac.The central control system can contact with Linac front end PCs through the PC server.This paper presents the status of the Linac control system and the network construction.

Keywords: PC based control, network

ID206: Upgrade of Radiation Monitoring System

For National Synchrotron Radiation LAB

Wang Ruopeng
Tsinghua University, P.R.China

The prototype of this Radiation Monitoring System, namely Digital Data Logger (DDL), has been on service nearly 10 years. It is used as local station of gamma-ray radiation monitor for large accelerator or nuclear facilities by National Synchrotron Radiation LAB in China. Now the necessity comes up that the information sharing with other computer systems and a higher performance of hardware and software must be achieved. For this aim, the main control MCU is upgraded, system memory enlarged and power system ameliorated. However our chief revision is on software. Here we applied a tiny real-time multitasking kernel to improve the overall performance of the system. Since the kernel is written in effective assembler language, it itself takes up minimum system resources while functioning basically like any famous commercial real-time system. We have done some modification on the kernel and made it accustomed to our specific situation. Considerate time and effort are saved by this way of software development, while the system can work more smoothly, with shorter response latency, less chance of fatal running errors and higher resistance to electric and magnetic disturbance.


Keywords: radiation monitor, MCU, real-time multitasking kernel, response latency, electric and magnetic disturbance

ID208: Using the Tool Complex G2 for Control of Electrophysical Complex

V.M.Rybin, G.V.Rybina

Moscow State Engineering Physics Institute (Technical University) Moscow,Russia

In this paper we describe an architecture and base concepts of building the prototype of a real time expert system (RTES) for control of electrophysical complex on the basis of the tool complex G2 (Gensym Corp.). This is graphic object-oriented software for development real time expert system.The developers - specialists in specific knowledge's can create fast and effective prototypes for future systems, test its and take its to finish stage.

Developing prototype RTES for control of electrophysical complexes is oriented to solving next problem:

  • - schematic introduction of main processes, happen in complex and in other subsystems and in different level processes;
  • - graphical interface with user for observe changes of main parameters which describe work of complex;
  • - automatic control work of complex and control system, registration of different deflection from standard or setting mode and inform operator about it, prealarm, alarm shut down, regulate mode, come back to work mode after consultation with user;
  • - study of users actions and teach users in training apparatus mode;
  • - make archives of all users actions and values of complex working all information up, issuing all necessary information.

Submitted by: Victor M. Rybin
Full address: Kashirskoe shosse,31, Moscow, 115409, Russia Moscow State Engineering Physics Institute (Technical University)
E-mail address: or
Fax number: 7-095-324-2111
Keywords: expert system, control, electrophysical complex

ID209: CORBA as an accelerator software bus

Steven Hunt

Paul Scherrer Institut, Villigen PSI, CH5232 Switzerland

Modern computing standards, such as CORBA, provide the software bus on which to develop a modern control system without relying on home grown technology. The use of such open standards, along with portable languages such as JAVA, allow a high degree of protection against hardware obsolescence. Issues such as PC verses Workstation become less critical when applications can run unchanged on all platforms. Different hardware and operating systems can be employed. Projects are no longer locked into one vendor, and new system types can be phased in without major disruption. Many commercial implementations of CORBA now provide the fast response time and high throughput required for accelerator and experimental control, along with standardized services such as naming, archiving, redundancy, and on-line upgrade. The use of component software, such as CORBA objects, which can be highly portable and self-describing, simplify the development of generic applications and tools. These features could facilitate software sharing between laboratories, and might be a major step in making portable applications a reality.

Submitted by: Steve Hunt
Full address: Paul Scherrer Institut Villigen PSI, CH5232 Switzerland
Fax: (+44) 56 310 3151
Keywords: Corba, software-sharing

ID210: LabVIEW on the PC for On Line High-Precision Beam Energy Measurement of an Accelerator.

W. Klag, H.-J. Kreidel and A. Chepurnov

Institut für Kernphysik, J.-Gutenberg Universität, D-55099 Mainz Germany and Institute for Nuclear Physics Moscow State University 119899 Moscow Russia

A data acquisition system based on LabVIEW and a set of DAQ boards is discussed. It was developed for high-precision beam energy measurement of a cw-race track microtron by means of a special arrangement of different beam monitors [1]. Due to the flexibil The system is a flexible and powerful tool to help operators as well as accelerator physicists to trace and analyze the behavior of the accelerator during tuning and routine operation.

[1]. Th.Doerk, H.Euteneuer, K.-H. Kaiser," Methods for High-Precision Beam Energy Monitoring at the Mainz Microtron (MAMI)", Proc. EPAC'96, p1405.

Submitted by: Alexander Chepurnov
Full address: 119899 Moscow Russia, Vorobjevy Gory, Moscow State University, Institute of Nuclear Physics
E-mail address:
Fax number: (095) 939 08 96 / (095) 939 5659
Keywords: LabVIEW, energy measurement, data acquisition system

ID211: The ESA software engineering standard and its applicability to HEP

Jonathan Fairclough and Wayne Salter Anite Systems

ESA began development of its Software Engineering Standard PSS-05 in 1984 and this effort culminated with the release of the current version, version 2, in 1991. The standard has since been successfully applied to a large number of ESA projects. In 1994 the standard was brought into the public domain through its publication by Prentice Hall and since then has been adopted by a number of other organisations. For many of these organisations it now forms the basis of their quality management systems. In 1994 CERN became interested in PSS-05 and has since that date applied it to a number of projects with varying degrees of success. In 1996 a Software Engineering Standard User Group (SESUG) was set-up by representatives of 12 European organisations; all major users of PSS-05. The SESUG has since initiated the preparation of a new version of the standard which is intended to take into account not only new developments in information technology but also the extensive experience gained by members of the SESUG through the application of PSS-05 in their domains.

The paper is intended to address the applicability of PSS-05 in the High Energy Physics (HEP) community. It starts by giving a brief overview of the standard itself and of the goals and benefit of applying it software development projects. It summarises how the standard has been applied to projects at CERN and highlights the benefits and difficulties that have encountered on these projects. The paper then provides an overview of the improvements that are proposed for the next issue of the standard and indicates how these address the problem areas experience by CERN applying version 2 of the standard.


ID212: The RHIC Control System

Authors: Thomas S. Clifford, Donald S. Barton, Brian R. Oerter

Brookhaven National Laboratory, AGS Department and Relativistic Heavy Ion Collider Project

Abstract: The Relativistic Heavy Ion Collider (RHIC) control system has been used in the commissioning of the AGS to RHIC transfer line and in the first Sextant test. The controls infrastructure for networks and links is being installed throughout the collider. Almost all of the controls hardware modules needed for early RHIC operations have been designed and tested. Many of these VME modules are already being used in normal AGS operations. About 150 VME based front end computers and device controller will be installed by the Summer of 1998 in order to be ready for ring commissioning for Fall of 1998. The basic core software in the front end computers has been operating for over two years. A few new features are still to be added to the front end computer core software. The bulk of the Accelerator Device Objects (ADO) which are instantiated in the FEC's have been written and tested in the early commissioning. Generic control and display of ADO parameters via a spreadsheet like program on the Console level computers was provided early on in the control system development. User interface tools that were developed for the AGS Distributed Control System have been used in RHIC applications. Some of the basic operations programs, like alarm display and save/restore that are used in AGS operations have been or will be expanded to support RHIC operations. A model for application programs which involves a console level manger that supports Accelerator Device Objects level has been verified with some applications that were used in the Sextant test. More applications need to be written for the Fall of 1998 commissioning effort. A sequencer for automatic control of the fill is being written with the expectation that it will be useful in early commissioning.

Submitted by: Thomas S. Clifford
Full address: Bldg 911-C Brookhaven National Laboratory Box 5000 Upton NY 11973-5000
E-mail address:
Fax number: 516-344-5443

ID213: What Objects Do Controls Applications Need?

John T. Morris

Alternating Gradient Synchrotron(AGS) / Relativistic Heavy Ion Collider(RHIC) Controls Brookhaven National Laboratory

Discussions of object-oriented controls programming often focus on the important interface to accelerator devices. Experience shows that, for most applications, only a small part of the application work involves the accelerator device interface. Much of the work in application programs is dedicated to other areas such as user interface, data management, and physics calculations. This paper will consider the software objects beyond the device interface that provide the most assistance to application programmers.

Submitted by: John T. Morris
Full address: Building 911C Brookhaven National Laboratory Upton, NY 11973
E-mail address:
Fax number: 516-344-5443
Keywords:object-oriented, application

ID214: Diagnostic System Using the Database for High Energy Accelerator Components at the Photon Factory

Noriichi KANAYA, Seiji ASAOKA and Hideki MAEZAWA

Photon Factory High Energy Accelerator Research Organization (KEK) 1-1, Oho, Tsukuba, 305, Japan

A diagnostic system using the Oracle database for accelerator components has been designed and built at the Photon Factory, KEK. An operator can choose one or more event items associated with the accelerator components to be inspected. By retrieving any combination of operational information to reproduce the physical behaviors, the system allows to diagnose the cause of a failure that has occurred at one of the numerous accelerator components in particular for the twenty-two synchrotron radiation beam lines and the vacuum components of the 2.5 GeV positron storage ring where X-ray/VUV synchrotron radiation experiments are simultaneously carried out. The total number of items to be inspected by the diagnostic system is over 30 million items in order to obtain a correlation between the faulty component and other physical components that would suggest the cause of the failure. With the aid of the diagnostic system, the operator at the control room can easily find out the faulty component and recover the accelerator component. Experience with the diagnostic system is described.

Author's Name : Noriichi KANAYA, Seiji ASAOKA and Hideki MAEZAWA
Full address : Photon Factory, High Energy Accelerator Research Organization (KEK) 1-1, Oho, Tsukuba, 305, Japan
e-mail :
FAX: +81-298-64-2801
keywords : accelerator, database, synchrotron radiation source

ID215: The Monitor System of BEPC's 150MW Modulater

Huang Yougqing Hou Changfu

The Institute of Beijing Radio Measurement

Four 150MV modulaters have been consttructed, which have been under operation with 5054 klystron in linac of Beijing Electron and Callider (BEPC) for two years. Inthis paper, the monitor system of the modulater is described in detials, experimental results and simplified diagram of the modulater are also presented. A programable logic controller (PLC) is used as the central unit of the monitor system. The monitor system includes 20 interlock signals and 4 measured analog signals. By this system, the modulater can be controlled and measured either locally or remotely. It is proven that this monitior system is reliable in such a strong EMI enviroment as 150MV modulaters.

Keywords: modulater monitor PLC interlock

ID216: Automatic Control of Treatment Head for Neutron Therapy Facility (dT,14MeV)

Yang Huazhong

Departinent of Modern Physics, Lanzhou University, Lanzhou, China

When high current neutron generator is used in the radiation therapy, the neutron comed from T(d,n ) 4 He reaction must be shielded and collimated so that neutron beam is changed into collimated neutron beam. To see that patient's skin is not burned, direction of incident neutron is changed continuously. Therefore, treatment head rotates with an isocentre. The rotation of treatment head is controled with 8098 microcomputer, and it is controled by the centric computer. Main assignment of automatic control system is the rotation speed controled treatment head, size of rotation angle, rotation limits, rotation going to the limit angle and coming back, fixed at a certain accurate position and so on. The automatic control system includes 8098 microcomputer , console, extended internal storage, control system and measurement system. The total circuit diagram and each part circuit diagrams are given and their work principle are descrebed and each system flow diagram is drawn, such as the flow diagram of main programme, measurement, keyboard control and electrical machinery control.

Key words: neutron generator, treatment head, automatic control, 8098 microcomputer

ID217: APS Control System Reliability

William P. McDowell, Martin R. Kraimer,

Advanced Photon Source,Argonne National Laboratory

A primary goal of the Accelerator controls group at APS has been to produce a control system which runs 100% of the time. The APS control system approaches this goal and has never been responsible for dumping the beam. The overall reliability has been over 99.5%. The APS control system consists of over 165 front end computers, more than 12 Operator workstations and and a highly reliable network. This paper will highlight both hardware and software design and maintenance issues which lead to producing and operating a reliable system.

Submitted By: William McDowell
Address: Advanced Photon Source, Argonne National Laboratory, 9700 Cass Avenue, Argonne, IL 60439
E-mail address:
Fax number: 630-252-6123
Keywords reliable, EPICS, network

IUD218: Data Archiving in Experimental Physics

L. R. Dalesio, M. Bickley, M. Clausen, C. Larrieu, C. Watson


In experimental physics, data is archived for a variety of reasons. In each of these environments trade-offs are made between data rate and retrieval rate. The way the data will be used also affects the design decisions. We will discuss these issues and look at the data archiving rates and data retrieval rates that have been accomplished for some subset of the problem.

Author: Mr. L.R.Dalesio
Affiliation: Los Alamos National Laboratory
Session: Either Databases, Software Sharing, Operations - or future?

ID219: Control fusion and vector-valued infinite fussy logic controllers

Danilo Rastovic Higher Technical School,

University of Zagreb Konavoska 2,1000 Zagreb Croatia

The connection of the vector valued generalized fixed point and the possibility of simulation of chaotic plasma target has been shown.

ID220: Design of Automatic Beam Transport System at SPring-8 LINAC

Hironao Sakaki, Hiroshi Yoshikawa, H.Yokomizo, Kouji Kinoshita*,

Takuya Sogo*, Norihiko Adachi*

SPring-8 project team, *Kyoto University

The SPring-8 injector linac was completed at end of July 1996, and the beam commissioning has begun since 1st August. At 8th August 1996, we succeed in the 1 GeV electron acceleration which is the purpose energy.

When the linac operate at the early stages of the beam commissioning, many optimum parametors for the transport have scaned, so that we have to make much time. And, next stages, the linac will generate many kind of the beam mode which are requested by the storage ring users. Whenever the beam operation mode is changed, it have a lot of the operation time, but we must answer users needs immediately.

These operation is done by using the screen monitor which is based on video signal. So, we have tried to design and made the automatic beam transport system using digital image process. These acquire digital value will be calculated mathematically. It will able to be the efficient beam transport operation.

submitted by : Hironao Sakaki
Full address : SPring-8 Project team, Kamigori, Hyogo, Japan 678-12
E-mail address:
Fax number : 81-7915-8-0840
Keywords: Linac, automatic beam transport, image process