PCaPAC'99 Abstracts
(( Poster ))
Java, Web, MMI
----------------------------
P11
Realtime Display of Accelerator Status Using JAVA and CORBA
Shiro Kusano, N. Kamikubota*, K. Furukawa*, Mitsubishi Electric System & Service Co.,Ltd., *KEK
Recently introduction of object-oriented technologies into accelerator controls has been understood as a future promising direction. Among the object-oriented technologies, Java and CORBA have been widely accepted in all the industrial fields. We, the KEK electron/positron injector-linac, have investigated the possibility to introduce such technologies for real-time display of accelerator status. A test program was developed with Java, which is act as a CORBA client, communicates with the CORBA server at an Unix workstation of the KEK-linac control system. As a result, the status of the KEK-linac was shown at a web-brawser of remote PC. Experiences and discussions are given in this article.
P12
A Real-time Observation System of Accelerator Operation using Java
Masakatsu Mutoh, M. Nanao, O. Konno, LNS Tohoku Univ.
A stretcher-booster ring (STB) was constructed at Tohoku University. Real-time information on the STB operation is provided through the Internet. Our goal for this system is for accelerator researchers and engineers to be able to diagnose any accelerator problems from their offices or homes via the Internet. A recently developed Java language is used for various graphic displays of the operation records which are saved in the database. The database which provides real-time information to the Internet is separate from the control database and has been installed on the www server. This has been done to protect the control database from illegal access from the Internet and also to help reduce the CPU load in the database server used for the accelerator control. The transmission of the data from the control database to the www database is achieved using a replication function having the MS-SQL. The control database is defined as a publication-server, and the www database is defined as a subscription-server. Vacuum pressures in the STB and a beam current of an experimental target point are currently displayed on our laboratory's home page using a Java-applet, we will provide other information about the status of the operation to the Internet soon.
P13
Interactive Data Visualization with Java 3D
Masahiko EMOTO, Joseph C. Narlo II, Sataro YAMAGUCHI, Mamoru SHOJI, Masakazu TAMURA, Ryohei MURATSU, Yoshiyuki TANAHASHI, Sakiko SUZUKI, Masanao KATO, Joji KARIYA, Yasuaki TERAMACHI, Haruhiko OKUMURA, NIFS
A real-time monitoring system is being developed for the LHD (Large Helical Device) experiments at NIFS (National Institute for Fusion Science). The system is utilizing Java technology, and it enables remote participants to monitor experiments in real-time and retrieve data from remote stations. Also with this technology, an alarming system, as presented in this conference, has been constructed to notify researchers by some physical method (I.e. email, pager, etc...). The goal is an easily used and complete monitoring system that can be used from any browser. To achieve part of this goal, a graphical representation of the various aspects of the monitoring system is needed and is being developed with Java3D technology. By using Java3D, integration with the Java based monitoring system is easily and efficiently realized. Java3D allows for a quick, easy, and interactive interpretation of the vast amount of data and geometry associated with the experiments. This allows participants to efficiently analyze key aspects and to quickly identify malfunctioning parts or troublesome areas in the experiment. From this aspect, we are studying the Java, including Java3D technology and its internet capability to carry on monitoring, data capture and data analysis of real-time LHD experiments with remote participation.
P14
Java Based Data Monitoring and Management System for LHD
J. Kariya, M. Shoji, M. Emoto, H. Okumura, Y. Teramachi, S. Yamaguchi, Yamaguchi Univ.
We are developing a Java based experiment monitoring and management system for LHD(Large Helical Device) at NIFS(National Institute for Fusion Science). In this system, system maintenance facility and experiment monitoring facility are integrated in order to guarantee the correct experimental conditions. The database keeps information on the components such as amplifiers, sensors, connections between them, and others to maintain the system's status. The data acquisition subsystem can automatically compute physical values using these information. The system controls the devices, collects the data, checks the alarming conditions, stores and shows the data. The staff write experimental records, control starting/stopping the measurement, and monitor the real-time data through their own computers. The system eventually must be a multi-platform and distributed system. Therefore we construct the data acquisition server and database server with Java Language. Staff are allowed any kind of operation on the system through the WWW pages.
P14
Control panels made on Web browser by using ActiveX Data Objects
Ryukou Kato, Tetsuya Igo, Goro Isoyama, ISIR, Osaka Univ.
A control system composed only of the personal computers (PCs) is being developed for the far-infrared free electron laser (FEL) at the Institute of Scientific and Industrial Research (ISIR), Osaka University. The software for the control system is designed such that user interface and the device driver levels are connected by a database working as a core of the data flow, which makes it easy to develop control programs. Making use of Active Server Pages (ASP) and Dynamic HTML, we can visually and interactively administer databases residing on other computers. The Web server reads an ASP file and then executes scripts written in it. A result of the execution is send to a client and displaced by Web browser. When an event occurs in a client, scripts in an ASP file on the client are executed and a result is sent to the server. Using this technology, we are developing control system, which has control panels on the Web browser, for the devices in the FEL beam transport line, such as the bending magnets, the quadruple magnets, the steering coils and the beam profiles monitors.
P16
Experience and problem of 3W technology at CNS cyclotron facility
Shin-ichi Watanabe, Masayuki Sekiguchi, Yoshitugu Arakaki*, CNS U-Tokyo, * KEK Tanashi
The 3W technology has been applied into the monitoring system of the K68-Cyclotron at CNS U-Tokyo. The data taking server, general 3W server and TV-camera server are part of this monitoring system. The HTML file including the newest operation status is generated by the data taking server and is transferred to the general 3W server in every few minutes. The picture files converted from the NTSC signals of TV-monitor are buffered in the TV-camera server and are transferred to the 3W crient whenever 3W crient requests the command of file transfer. The present paper discuss the experience and problems of this 3W application during past one years.
P17
Advancement Towards Development of Sharable Accelerator MMI
Sarbajit Pal, S. Dasgupta, I. Abe*, VECC, *KEK
The concept of universal sharable GUI objects for constructing MMI of Accelerator controls has been extended. Code writing for member-functions of MMI class and its various sub-classes, developed earlier, have been implemented in platform independent Java. The general purpose MMI screen has been further developed to accommodate multiple graph displays in addition to the spread-sheet type parameter display. The sub-class MMI_Injector has been loaded with detailed functionalities for operation and monitoring the vacuum system and the power supplies of the transport line elements of the ECR ion-source of the VEC Cyclotron. The control and setting information are interchanged through the functions of the database class. Development efforts are directed towards transforming the above independent MMI classes to ActiveX components to facilitate their usage in other accelerator control systems. The ActiveX components are constructed in VC++ for obvious reasons, and are plugged into our application on VJ++.
P17
Man-machine interface systems for LHD experimental operation
K.Y. WATANABE, H. YAMADA, H. OGAWA, N. YAMAMOTO, N. TANIGUCHI, K. YAMAZAKI, NIFS
A man-machine-interface system, we call LMS (LHD Man-machine-interface System) is a primary component of the LHD central control system. LMS involves a variety of intelligent functions. LMS provides a variety of information transmitted through LAN. While LHD is a plasma physics experimental device, it has a specific feature of a large-scale plant due to a steady-state capability and cryogenic systems. The control system is required to cooperate a number of component devices/facilities and should be reliable, flexible and extensible. Composition of conservative hard-wire logic control and LMS with client/server fulfills these requirements. The central control system has been constructed to operate LHD safely without LMS and hard-wired logic has priority over information transmitted through LAN, however, LMS greatly facilitates procedures of experimental set-up, supervision of facility condition and consequent accidents. LHD experiments started on 31, March, 1998. Now, we are using the LMS functions as follows: (1) pre-setting operation data, (2) management of experiment log, (3) presentation of LHD experiment present status, (4) presentation of LHD plant data. 4 sub-systems, which are the central operation system, power supply system for super-conductive-coils, fuel-gas-puffing system and microwave heating system, have connected with LMS through LAN, and 2 sub-systems are under test-connection.
PC system, Status
----------------------------
P21
PC-based Control System of Storage Ring TERAS
Hideaki Ohgaki, R.Suzuki, N.Sei, S.Sugiyama, T.Mikado, K.Yamada, T. Ohdaira, H.Toyokawa, ETL
PC-based control system has been developed in storage ring TERAS since 1990. Currently it consists of several IBM-clone PCs that install several I/O boards. These control PCs run the Microsoft Windows95 operating system. The system controls the main magnet power supplies and the RF system. It also measures the vacuum and the beam position. A client/server system over the Ethernet with the TCP/IP protocol is adopted for the control system. A server application for each I/O board is developed to simplify the application and to be easy for maintenance or upgrade. The client applications can be launched on any PCs connected to the Ethernet, when it is needed. The client/server communication rate is 2 Hz and this rate is enough high for slow response of the storage ring magnet. A database system is also developed and stores the machine parameters in every second.
P21
Control system based on PCs for the ISIR-FEL at Osaka University
Tetsuya Igo, Ryukou Kato, Goro Isoyama, ISIR, Osaka Univ.
A control system composed only of personal computers (PCs) is being developed for the far-infrared free electron laser (FEL) at the Institute of Scientific and Industrial Research (ISIR), Osaka University. The characteristics of the control system are as follows: 1. The system has a simple structure consisting of some PCs connected with Ethernet. Controlled devices are connected to the PCs with analog I/O, digital I/O and GP-IB interface modules inserted directly into PCI or ISA buses of the PCs. The system can be made inexpensively as we use only PCs and standard interface modules for them. 2. Microsoft Windows 95, 98 or NT is used as an operating system of PCs, so that we can make use of various developing programs commercially available, such as Visual Basic, Visual C++ and Borland Delphi. 3. The software for the control system is designed such that the user interface level and the device driver level are connected with a database working as a core of the data flow, which makes it easy to develop control programs in a distributed control system connected with Ethernet. Microsoft Access is used as the database. Since a product on the market is used as the core of the control system software, the reliability of the whole system is improved.
P23
HIRFL PC-based distributed control system
Huang Xinmin, Chu zhensheng, Zheng jianhua, Gao weizheng, IMP
A centralized control system in which a VAX/8350 computer was used run before 1996. The rebuilt HIRFL control system is a distributed one based on the powerful PC, workstations and servers. It consists of some independent subsystems: Ion source control station, SFC control station, SFC beam diagnosis station, SSC power control station, SSC beam diagnosis station, SSC vacuum control station and RF control station. A high speed network ,100M, is used to communicate between control stations. The windows socket is used in network programming. The application programs that are used to control equipment are written in C or C++ . They are linked into a DDL(dynamic linking library) which is called by standard windows' applications. The GUI 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 and will be completed in the end of 1998.
P24
ConSys - A new Windows NT based Control System for ASTRID and ELISA.
T. Worm, J.S. Nielsen, K.T. Nielsen, ISA
A new PC/Windows NT control system has been developed for ASTRID and ELISA. The system consists of three parts: The kernel, devices, and client programs. The kernel, common for all computers, handles all communication between devices and client programs, be it locally on the same computer or across the network. The devices store the values of the parameters on the system, and handle all the input/output communication to the hardware under control through device drivers etc. For interaction with the operators, a number of client programs have been developed, of which the major one is the Console. The tripartition of the system allow very easy addition of new devices and client programs, as new types of hardware needs control, and as new needs for utility programs arise. The computer-code is highly object-oriented reducing code size and development time. The system is fully software configurable with all addresses, conversions, and display properties stored in an ODBC compliant database (at our site a Microsoft SQL database is used).
P25
Personal Computer in NSRL Control System
Hu,Shouming, et al, NSRL
NSRL control system is a personal computer based control system. It has been in operation for about ten years. Personal computers are used in the 800Mev storage Ring and 200Mev Linac to control the Accelerator subsystems. They are playing not only important rules as Operation interface and Data base server, but the device controllers as well. At the front-end level, IPCs control physical devices in the field. Beamlines and Insert Devices also use PCs for controls and data acquisition. In phase II project, EPICS will be introduced to the NSRL control system. Many IPCs will be utilized as device controllers, OPIs and IOCs along with some VME crates and Workstations.
P26
RIKEN-RIBF Control System
Toshiya TANABE, Masayuki KASE, Yasushi WATANABE, RIKEN
The Radioactive Isotope Beam Factory (RIBF) is an expansion of the existing facilities at RIKEN. There will be two stages of development: The first one consists of two cyclotrons, one normal conducting, and the other superconducting. The second one is called MUSES (Multi-Use Experimental Storage rings) which comprises a linac, an accumulator, a booster and main double-storage rings. A preliminary plan of control systems for each phase of development will be reported.
P27
Indus-2 Control System
Pravin Fatnani, J. S. Adhikari, B. J. Vaidya, CAT
Indus - 2 is a 2.5 GeV Synchrotron Radiation Source (SRS) being constructed at Centre For Advanced Technology (CAT), Indore, India. Electron beam at 700 MeV from booster synchrotron will be injected into this machine. Indus-2 will raise the beam energy to 2.5 GeV and store the same. The control system for this facility is being developed around a three-layer architecture. The distinct feature is the use of 'All-PC' user interface layer. Indus-2 control system combines the total functionality in three computing layers viz. user interface layer at the top, supervisory layer in the middle and equipment interface layer at the bottom. The user interface layer has many computers for different jobs but all are PCs. Windows NT application and file servers, SQL database servers, Windows NT workstations as operator consoles, network gateways and WWW servers all hosted on IBM compatible PCs make it a versatile, easy to upgrade and low cost alternative for this layer. Availability of inexpensive yet powerful PCs together with host of low-priced software packages like windows based operating systems with built-in support for networking, SQL database servers, WWW servers and powerful development tools like VC++, VJ++, Visual Basic etc. make it an attractive and safe choice. Ethernet has been chosen as the networking standard to interconnect computers at this layer and also to supervisory computers at lower layer. The supervisory layer contains VME computers running OS-9 on MC68040 microprocessor boards.
P28
TINE: An Integrated Control System for HERA
Philip Duval, DESY
Beginning with the 1998 run period, the PC-dominated control system for HERA is largely in place. Most elements of the machine are controlled via the TINE (Three-fold Integrated Network Environment) data protocol. TINE offers a multi-platform, multi-protocol, multi-architecture control system. It features distributed, object-based, plug-and-play, front-end devices and middle layer servers which communicate directly with console (and office) computers. Although the consoles in the HERA control room all run WINDOWS NT, the HERA front end computers and servers run a wide variety of operating systems and are not always PCs. TINE has been invaluable in integrating the HERA front ends into a working system. Furthermore, it offers a transparent way to progressively upgrade existing hardware (as opposed to replacing everything at once). We describe below some of the finer points and details concerning TINE as a control system.
P29
Virtual Accelerator Control System for Development Stage of Application-oriented Projects
Masayoshi Sugimoto, JAERI
The design of the control system for application oriented accelerators needs to be started at the development stage of every project to keep the commissioning phase short. The facility usually consists of several sub-systems and the network based computer control is employed. A web-PC is the best terminal as the remote monitoring station and easy to use for novice. The conceptual design is carried out to implement the fundamental control tasks into the web-PC. It can provide the control experiments for the operators during the construction and commissioning phase. Such a virtual control system gives the good opportunity to receive the feed-back from the users and the maintenance becomes very easy. As an example, the experimental control system for the IFMIF (International Fusion Materials Irradiation Facility) is presented.
P30
Modification of SORTEC RING and the Associated Macnine Control System
Pichit Keawbudta, Weerapong Pairsuwan/a), Prayoon Songsiriritthigul/a), Takehiko Ishii/a), Goro Isoyama/a), Tatsuya Yamakawa/a), Yutaka Hirata/b), Naohisa Tsuzuki/c), Tamotsu Takeda/c), a) NSRC Thailand b) Toshiba Japan b) Toshiba-Fuchu Japan
The first synchrotron radiation source in Thailand is the modified SORETC ring that was owned by the shutdown SORETC Laboratory in Tsukuba,Japan. When the associated accelerators were dismantled and the components were transferred to NSRC,Thailand, it was decided that the machine control system should be completely renewed. Reformation of the storage ring and the high energy beam transport line shall also be made. In this report, the aspect of the modified storage ring will be described with particular emphasis on the machine control system. Central computers used as Man-Machine Interface Stations are four personal computers, three of which are usally used for status indication. Only one computer is used for controlling the whole system. Oder or status data are transmitted from or to several Device Control Stations(DCS) through Ethernet. One unit of DCS handles a group of equipment belonging to the major component pieces of apparatus in the accelerator system. DCS units to be set up are those for the linac and the low energy beam transport line, the synchrotron and the high energy beam transport line, the storage ring, the electric substation, and the system in the control room. Some details of the I/O connection will be mentioned along with the descriptions of the elements given above.
P31
Integration of a PC based experiment in a Network based Control System
L. Catani, INFN-ROMA2
Optical diagnostics controls and data analysis (ODCS) at Tesla Test Facility are based on Macintoshes. ODCS is stand alone and provides full control over the specific hardware while a network based Control System takes care of the whole machine›“ apparatus. The ODCS computers are connected with fiber optic links to a VME crate with I/O modules; a console allows to operate the diagnostic stations and perform data analysis. The large number of heavy images continuously transferred among the different parts of the ODCS doesn›” influence the network›“ bandwidth of the main Control System because they travel on the local fiber optic links. At the same time the two systems are almost fully integrated by means of a shared memory, on a common VME crate, where the database of the diagnostic system is located. A set of mailboxes are used as main communication system among the parts. Furthermore, for these experimental diagnostics we wanted to take advantage of the versatility o!
f PCs, their low cost and large amount of software available for data analysis. This solution proved to be a way to integrate with very limited efforts two control systems based on different hardware, operative systems and software.
P32
An extensible architecture building on COM/DCOM
Erik Westlin, MSL
An extensible architecture using COM objects is described. Client programs communicate with a server using DCOM. The server itself is a thin object which loads inproc moduledrivers specific for each task the server is asked to perform. The main task the system performs is to monitor and control parameters in a generic sense. Different parameters need different handling which is taken care of by specific moduledrivers. When a client makes a request the server passes the request to the appropriate moduledriver which if necessary converts it to a Job-object and puts this object in a job-queue. The main server object contains a main queue where the module drivers appear as jobs. A clock interrupts a work thread regularly. This thread check's if some job is in the queue or needs to be awakened from a sleep queue. If a moduledriver has a job this get's executed in the work thread. The job then either finishes or if the parameter access needs wait states. If it finished the original client thread get signaled and can return the result. If a wait needed the job is placed in a sleep queue. The module drivers themself load other inproc com objects driving lower levels of communication. The lowest level are objects communication with hardware or network endpoints. This way multiple target device protocols are implemented sharing a common communication medium. New moduledrivers are easily incorporated.
P33
Application of Embedded Real-time Systems in Control Subsystems for Accelerators
Shao. Beibei, Wang. Ruopeng, TSINGHUA Univ.
The PIN photodiode with the coincidence technology for Beam Loss Monitor System (BLMs), was developed at DESY and has been installed on HERA ring. National Synchrotron Radiation Laboratory (NSRL) in Hefei, China has decided to use such detectors for beam loss monitor system. The system will be helpful in machine tuning, vacuum leakage monitor and beam life study. This paper discussed the system consideration in the view of physics, because synchrotron accelerator's energy of NSRL is much lower than HERA. The electronics design of the BLMs is also described in the paper. Some new technologies, such as FPGA, CAN bus, are first time to be used for accelerators in China. A PC based CAN bus board has been developed for data acquisition. The high level software for data analysis and online display will be developed based on PC. Other hardware solutions, such as VME based CAN IP card, and other software package, such as Labview, are compared with PC's solution in the paper.
P34
Controlling accelerators real time components with PCs
A. Kurakin, A. Sytin, IHEP, Protvino
Controlling accelerators real time components with PCs By the reason of their heterogeneity, the existing accelerators control systems are different. There are mixed of single- and multitasking operating systems on the same platform. At the last time, on the new wave of computing technology there were many instruments are appeared on the scene that's helping to solve different tasks as the control system components. There are kind of instruments, which accepted like a standard in development process. We shall emphasize here the Windows NT operating system as the bright representative among the systems, which is getting high popularity at the last time. We shall also discuss NT as the component that's making control of down layer hardware components of accelerator control hierarchy is using it soft real time ability.
P35
A PC-BASED UNDULATOR CONTROL SYSTEM FOR HiSOR
Kayoko Kawamura, Kenichi Aoki, Daizo Amano, Kiminori Goto*, Katsuhide Yoshida*, SHI, *HSRC
The synchrotron radiation source at Hiroshima University (HiSOR) consists of the AURORA-2D storage ring, a linear and a helical undulators. The control system for HiSOR consists of a fileserver, two PCs for device control and two PCs as man-machine system. Recently, an undulator control program has been installed in this system. One of the man-machine PC has two RS-232C ports, to which a touch panel and/or a PC in experimental hall can be connected. Users in the experimental hall can change, through the touch panel or PC, the undulator gap of both undulators and the configuration of 4 magnet array positions of the helical undulator to control the ellipticity. In this paper, the schematics of the undulator control subsystem and the electron beam orbit compensation method are described.
P36
PC Based Alarm System for the HERA machine
V. Soloviev, M. Bieler*, P. Duval*, S. Herb*, F. Willeke*, A. Kurakin, V. Yarygin, IHEP Protvi, *DESY Hamburg
The new HERA Alarm System is based on PC hardware and software, it consists of three levels: the Local Alarm Server, a Central Alarm Server(CAS) and an Alarm Console. Alarms are generated by Local Alarm Servers running on each of the approximately 40 front end computers used for machine control. The CAS gathers, filters the alarms and loads them into an alarm list. It is a VC++ application running under Windows NT and uses the standard HERA Control System protocol both as a client and as a server, where the client-side is using the Accelerator Component Oriented Programming(ACOP). The Alarm Console is a Visual Basic application running on Windows NT which collects alarms from the CAS and displays them for the control room staff. The Alarm database is distributed as files on the front end computers, which are read in on startup of the Local Alarm Servers, these files contain detailed information about alarm events displayed on the Alarm Console.
P37
Voice alert system using PC.
Noboru Yamamoto, KEK
Flexible voice alert system was build combining existing softwares in a very short time. When an alert condition occurs in the system, EPICS alarm handler program send UDP packet including alert message to a server program runnin on a Macintosh computer. The server program uses TextSpeech program to read it out as a human voice. Both client and server programs were written in Python programing language.
P38
Application of PC in BEPC Interlock System
S.M.Tang, X.Y. Na, J.S. Chen, Y.L. Yu, J.X. Yan, J.M.Wu, T.H.Li, H.J.Cheng, IHEP
BEPC ( Beijing Electron Positron collider ) interlock system is based on Programmable Logic Controllers, has been built in order to improve the reliability of personnel safety and interlock functions. One multimedia PC as the host computer, monitors the PLC system. This paper describes the hardware configuration of the PC, the design idea of the application software for the interlock system.
P39
PC as a touch-terminal controller
N.Kamikubota, K.Furukawa, H.Akimoto*, KEK, *
Touch-terminals and knobs have been used extensively at the KEK e-/e+ Linac since it's commissioning in 1982. They were connected directly to the minicomputers through dedicated CAMAC modules. A new controller for touch-terminal and knob was developed with a DOS-based personal computer in early 90'es. TCP/IP remote execution environment was installed to utilize resources of the linac control system. Tools for managing touch-sensitive areas was developed for easier maintenance. So far this system has been used for daily operation of the linac, which implies high reliability of a DOS-based PC with TCP/IP protocol as an IO controller.
P40
Sharing software resources between Unix controls and PC consoles
Kazuro Furukawa, Norihiko Kamikubota, KEK
At KEK electron/positron linac, operator's console system based on Windows machines is utilized. It is also discussed to employ Windows terminals at JHF linac with EPICS. Since those control systems are developed on Unix machines with and without EPICS, the software maintenance on PCs' is not easy to manage. We are trying to resolve this problem employing Java and Corba. However, it'll take some time to finish the new software framework. And there already exists much software based on Unix/Posix environment. Thus it's a quick way to adapt the software both to Windows and to Unix if possible. Recently several POSIX packages has become available on Windows. We evaluated some of them, and we have improved our control client software to be shared between Unix and Windows. Not only source codes written in C/C++ and Tcl/Tk languages but also procedures to build software have been made sharable.
Data-Base
----------------------------
P51
RDBMS on Linux for accelerator control
Akihiro Yamashita, T. Fukui, T. masuda, R. Tanaka, SPring-8
Recent developments on Unixes on PC platform begin to impact not only academic computing society but also commercial software developers. Major relational database management system (RDBMS) vendors announced to port their fully featured products to Linux and some have already shipped with low price. These products make possible to migrate database servers which were running on expensive unix platforms to PC platforms. We port relational databases for SPring-8 storage ring control system to a PC server running with Linux, and look for possibility of RDBMS on free operating system focusing on performance and reliability.
P52
Database system in the LINAC PC based control
Masahiko TANAKA, Isamu ABE, Hitoshi Kobayashi, KEK
The 8GeV Linac hasbeen running an MS-SQL database system since 1994 for accelerator operation, including operation and fault logging. The database is a client-server system using MS-SQL under a Windows NT environment. The accelerator operator uses MS-Access as a GUI for daily operation, and the data is entered in MS-SQL on the server. Users can view important data at remote sites via the Web. The Automatic logging system for Linac operation, and the data base system for accelerator operation and fault logging are discussed in this paper.
P53
The PC-Based Archive System at BEPC
L.Ma, P.Shi, IHEP
For a better understanding of the machine performance, a PC-based archive system was introduced for the Beijing Electron-Positron Collider (BEPC) in 1996. The kernel of the system is a Microsoft SQL server database. The data-taking is based on client and server application programs running on PCs with the operating system of the Microsoft Windows NT and on the DEC mini-computer under VMS. The archive system can provide various services of the data storage, query and analysis to the accelerator physicists and machine operators. This paper will give the detailed description of the archive system at BEPC.
P54
A Data Archive System for the SRS Control System
M.J. Pugh, B.G.Martlew, W.R. Rawlinson, CLRC Daresbury Laboratory
The Synchrotron Radiation Source (SRS) at Daresbury is controlled by a hybrid system consisting of Concurrent Computer Corporation 3200 series mini-computers and IBM compatible PCs. A historical parameter archive system is provided that records the state of all control system parameters every 2 minutes for future reference or fault analysis. Originally, this system was implemented on a Unix workstation and the data stored in a non-standard format. Recently, this archive has been completely rewritten to run on a Windows NT Server using MS SQL Server as the database management system. This allows for very much more flexible access to the data and simplifies the generation of easy to use, graphical interfaces for browsing or plotting archived data. This paper describes the way the data is collected, archived in the database and shows some of the application software that can be used to interrogate the database.
P55
Laboratory Data Compression
Haruhiko Okumura, Masakazu Tamura, Masahiko Emoto, Joji Kariya, Yasuaki Teramachi, Satarou Yamaguchi, Matsusaka Univ.
Most of the existing tools for lossless data compression, including LHA, Zip, gzip, and bzip2, are based on either the Ziv-Lempel methods (LZ77 or LZ78) or the Burrows-Wheeler transform. These tools assume that the data have clear 8-bit boundaries and repetitive substrings. Laboratory data such as A/D converter outputs, however, does not in general satisfy these conditions. To compress such data, we developed a general-purpose real-time compression library suitable for quantized (up to 16-bit) time-series data of unlimited number of channels. The first part of the algorithm adaptively chooses a prediction model among a family of polynomials, and estimates the variance of the prediction residuals, for each channel of the input. The second part of the algorithm encodes the residuals by a simplified length-limited minimum-redundancy code, assuming either a Gaussian or Laplace distribution. The library is used by our Java/Web-based data acquisition/management system developed for the National Institute for Fusion Science (NIFS). It can also be used as a standalone compression tool. Typical compression ratio is around 3:1 to 4:1.
P56
KEK-PS OPERATION RECORD AND ITS STATISTICAL CALCULATION BY COMPUTER
E. KADOKURA, T. KAWAKUBO, M. SAOTOME, KEK
During the accelerator operation period of KEK-PS, it is very important to take operation record which includes beam supply time for users, shut down time caused by various machine (Pre-injector, Linac, 40MeV-BT, Booster ring, etc.) trouble, and beam intensity to different users. By the analysis of these data, we know the reliability of every machine and the contribution of PS to users. Until now, all these works are done by one person, which takes him for long time. Therefore we will manage above works by computer, i.e.; taking all data by beam switch PLC, communicating with PLC by the InTouch software, and calculating by EXCEL.
Data acquisition system
----------------------------
P61
A BEAM PROFILE VIEWER DEVELOPMENT WITH OO APPROACH
Tushar K. Das, Amitava Roy, Subrata Dasgupta, VECC
It is a 32 bit MDI application on WIN-95, written in VC++. It is meant to display and log the beam current intensity profile along radius of Cyclotron. It scans the internal beam-current along radius by a current probe, to acquire data through an ISA Add-on ADC/DIO board. In off-line, it is able to read previously scanned data files and for each, displays graphically the radial profile data obtained on three fingers of the probe. Child Windows can be opened to view the on-line and/or off-line data. The off-line data are members of a Document-class attached to a View-class through which the data can de displayed on a child window. The on-line data is a member of another class which interfaces the hardware and this data-member is referenced to the document-class. The application runs in cyclotron control room and helps operators to visually diagonise the unwanted loss of beam current. The application runs in a client server model, communicating through MFC-C++ sockets. In our retro-fitted control system, one control room PC is connected directly to the motor controller and beam-signal cables available in the control room. The user of the appliaction works on another console-PC connected to the control-LAN.
P62
Beam Loss Monitor System for an 800 MeV Synchrotron Accelerator in NSRL
Cui. Yonggang, Shao. Beibei, Li. Yuxiong*, TSINGHUA univ., *NSRL
The PIN photodiode with the coincidence technology for Beam Loss Monitor System (BLMs), was developed at DESY and has been installed on HERA ring. National Synchrotron Radiation Laboratory (NSRL) in Hefei, China has decided to use such detectors for beam loss monitor system. The system will be helpful in machine tuning, vacuum leakage monitor and beam life study. This paper discussed the system consideration in the view of physics, because synchrotron accelerator's energy of NSRL is much lower than HERA. The electronics design of the BLMs is also described in the paper. Some new technologies, such as FPGA, CAN bus, are first time to be used for accelerators in China. A PC based CAN bus board has been developed for data acquisition. The high level software for data analysis and online display will be developed based on PC. Other hardware solutions, such as VME based CAN IP card, and other software package, such as Labview, are compared with PC's solution in the paper.
P63
Development of object-oriented data acquisition system for LHD fusion plasma experiment using O2 database
Ohsuna Masaki, Nakanishi Hideya, Kojima Mamoru, Komada Seiji, Emoto Masahiko, Kodaira Junichi, Sugisaki Hideki, Sudo Shigeru, LABCOM, NIFS
The data acquisition system using the object-oriented databases has been newly developed for the LHD fusion plasma experiment. It is designed entirely to be based on the object-oriented methods, and its application programs for the data acquisition and storage are all written in the object-oriented programming language Visual C++ on Windows NT. The data management programs consist of hierarchical class definitions which have the diagnostics, the CAMAC module, and the module channel class. The lowest channel objects contains the substance of the diagnostic data. As for the data object archiving, the object-oriented database management server product, named O2, is applied to each diagnostic acquisition computer locally. It enables to store and retrieve the whole data object directly into/from it. For compacting the data object size and improving the database transaction throughputs, the archived-channel class is also applied in which the raw data block is compressed by GNU-zip library engine named zlib. Archived-channel objects are held in the bag objects which are made for each discharge experiment and each diagnostics. As the data retrieving user terminal, the data visualization products IDL or PV-WAVE are applied in which the O2 client function can be called through the Windows NT DLL.
P64
Distributed Mass Data Acquisition System Based on PCs and Windows NT for LHD Fusion Plasma Experiment
Nakanishi Hideya, Kojima Mamoru, Ohsuna Masaki, Komada Seiji, Emoto Masahiko, Sugisaki Hideki, Sudo Shigeru, LABCOM, NIFS
The new data acquisition and management system has been developed in order to manage the diagnostics of the LHD fusion plasma experiments. It is required to have the capability to process 100 MB -- 1 GB raw data rapidly within the following few ten seconds after every plasma discharge experiment. It has, therefore, employed the wholly distributed and loosely-tied parallel-tasking structure through the fast network. The data acquisition server computer is installed for each diagnostics of about 30 kinds, which locally has a 50 GB RAID, a object database server on it, and the 100 Mbps CDDI NIC. The optical SCSI extenders are applied individually for each connection between the CAMAC digitizer front-end and the Windows NT acquisition computer. The synchronous timing is also optically distributed as a module of the real-time remote-controlling VME computer which is installed nearby each diagnostic equipment and provides the synchronous clocks or triggers for digitizers and sensors. The data retrieving terminals behaving as the database access clients are functionally separated through the switching Ethernet, and the cluster of the distributed database servers seems to them to be a virtual macro-machine as a whole.
P65
A VME-base Data Acquisition System for Scattering Experiment at Pulsed Neutron Source.
Setsuo Satoh, Michihiro Furusaka, KEK
We developed a VME-base data acquisition system for scattering experiment at pulsed neutron source. Single-ended and linear position sensitive 3He neutron detectors are used on various neutron scattering experiments. The data are acquired by multi-channel time analyzer (TA) and position sensitive detector (PSD) modules. We use a PC in place of a VME CPU module which is usually necessary to use a VME system. For this purpose, we developed an interface-module (SCSI-VME) which performs read/write data from/to VME modules via standard SCSI connection. By employing the SCSI standard, we can use any PCs or workstations which has the port in principle. Instrument control software is written in a package software LabVIEW from NATIONAL INSTRUMENTS. We have developed a SCSI driver software for it. The SCSI-VME module is housed in a VME double-height 1-span module. The module supports the extension, standard, and short address modes. The data size is 1 byte or 2 byte. Although the transfer speed of the module depends on controlled VME modules and the computers' SCSI controller, the net speed of it is about 0.5 microsecond/byte.
P66
Real Time Monitor on the Internet for the Experimental Apparatus.
Shigeru Ishimoto, Syoji Suzuki, Tsuneaki Tsuru, KEK-IPNS
The control and monitor of the experimental apparatus by Personal computers (PCs) become very common. Recently, we have developed a simple program to capture the PC screen and save it to GIF or JPEG files periodically. The experiment E-248 (AIDA) "Search for H-particle in reaction of pp a K+K+X" at KEK-12GeV-PS used the super conducting spectrometer magnet "BENEKI" and the liquid hydrogen target. These low temperature devices were controlled and monitored by the PCs. Microsoft Windows 95 was used as an operating system (OS) and Personal Web Server (PWS) was installed for the use of the Web server. The PCs were connected to the LAN and the Internet by TCP/IP. The numerical data of the instruments were stored to the FTP root-directory webshare\ftproot on the hard disk in every 1 minute. These data were monitored on the Internet using auto-reload mode by the WWW browser. The stored data were transferred by the FTP to the other computers. The PC graphic data were captured as a BMP file, changed to a GIF file and transferred to the WWW root-directory webshare\wwwroot in every 5 minutes. The GIF files were monitored on the Internet by the HTTP and the WWW browser also by the auto-reload mode. This real time monitor on the Internet can be used for wide fields using PCs.
P67
On-Chip Cellular Automata Based Message Authenticator for Internet Communication
Prabir Dasgupta, VECC
A data authenticator scheme which is radically different and superior to the conventional approaches is proposed in this paper. The theoretical foundation is based on algebraic properties of a class of non-group cellular automata (C.A). Experimental data confirms its superiority in terms of C.P.U. time compared to standard MD-5 method, even for software implementation. Regular, modular and cascadable structure of C.A. makes it ideal for VLSI implementation. A register in the data path of the processor can be easily converted to a C.A. to realize the hardware. This C.A. can be run at the speed of C.P.U. clock and achieve a speed improvement of 1500 times (for HP- 9000 machine). Due to inverted tree structure of this C.A. transition, it is impossible to get back the key from authentication signature except by brute random trial, with probability not more than one in 2 to the power n, where n is the key length.
Davice control
----------------------------
P71
Distributed Power Supply Control for SSRF
Jinhong Zhang, Tianjian Shen, SINR
The project of SSRF(Shanghai Synchrotron Radiation Facility) will be started at the end of 2000. Now it is in the period of R&D. There are more than 1,000 magnet power supplies for the storage ring. To control such a large number of power supplies, it is very important to construct a kind of power supply system with high reliability, good speed and low cost. After discussion, we decided to design a distributed power supply control system based on CAN-Bus. The controller is composed of an INTEL 80C196 microprocessor and a PHILIPS 82C200 CAN-Bus interface. It contains 8 bits I/O and 4 channels analogue I/O. 16 bit DAC and 16 bit ADC are both selected here. Every digital and analogue I/O for power supply control is optically isolated from the CPU and bus section. The microprocessor receives commands from the upper control computer via CAN-Bus, and then sends signals to the power supply. And it can also take the information from the power supply and pass on to the upper control computer in case of necessity.
P72
PC Control of Injection Power Supplies for the BEPC Storage Ring
H.Zhang, R.Zhang, S.Lu, H.Ren, IHEP
A PC plays an important role to the power-supply control in the BEPC ring injection system. It functions as a gateway to set up a connection between the bitbus network and the Ethernet network. The bitbus control network consists of nine nodes which control ring injection power supplies directly. The front-end signals are collected to a PC, then any type of computers which support TCP/IP protocol can access the PC through the Ethernet network to share the resources. The PC is also used as a friendly man-machine interactive interface to display data from power supplies and execute control functions.
P73
Vacuum Control Systems Upgrade and Analysis Features at DESY
Wolfgang Gerhardt, DESY
Vacuum Control Systems Upgrade and Analysis Features at DESY The vacuum control systems of the particle accelerators at DESY are beeing progressivly upgraded using the DESY PETRA style system described at PCaPAC 1996. It is based on a network of PC and Novell File Server Systems. To date, the DESY particle accelerators HERA-e, DORIS and LINAC 3 have been successfully transferred to the upgraded system. The new vacuum systems support analysis of status and dynamic processes. Investigation of individual pressure measurements and pressure profiles of a whole maschine are possible. Short and long range archives of the near and far past are included. The long range archive is a separate system which performs data logging for many other device controls as well. Special emphasis is put onto the data visualisation. Time accelerated views of pressure profiles help to watch the development of vacuum quality or locate a developing leak. Experience gained on the DESY Vacuum Control Systems Upgrade and the Vacuum Analysis Features will be described.
P74
The neutrino beam line control system
Y.Suzuki, Y.Yamanoi, M.Ieiri, H.Ishii, Y.Kato, M.Minakawa, H.Noumi, K.H.Tanaka, M.Takasaki, KEK
The construction of the beam line for the long base-line neutrino oscillation experiment is almost in the final stage now. This beam line consists of a 400m proton beam section and a 200m pion decay section. In the proton beam section, there are 104 magnet power supplies, and two 250kA pules power supplies operated synchronously with 12GeV proton synchrotron. These components are installed in three houses far from each other. The demands for the control system, are low cost, high reliability, and good assistance of the maintenance of power supplies, On this situation, as components of the control system, PC and POD (Programmable operator display), and LAN and GPIB are adopted. The top-level controller is PC with Windows NT, and controls magnet power supplies and 250kA pulse power supplies through LAN and GPIB. For operator, the PC offers control panel on the POD through LAN, and also offers status display of magnet power supplies as Web pages. The low-level magnet power supply controller has GPIB interface, and is connected to LAN.
P75
Controlling of beam line with PCs
S. Muto, Y. Yano, N. Kaneko, Y. Kobayashi, T. Tahara, H. Fujimori, Y. Irie, KEK
The beam line control system of the Neutron and Meson Laboratory of KEK was replaced with programmable logic controllers (PLC) and personal computers (PC). The new system is composed of three functionally different sub-systems. One piece is the control for the equipment such as safety, magnet, power supply etc. by using plural PLC, which are connected with a network. The 2nd is acquisition of data from beam monitors. The reading of the data from CAMAC is performed by using a PC running DOS and the data is stored to a server PC that is using an Unix-like operating system. The last is a human interface of the system that is using commercial based graphical user interface tools that running on the Windows NT. These sub-systems are integrated in one system. PCs and a gateway to the PLC's network are connected with a network. The control of the equipment and monitoring of the beam is possible from the console PCs on the network.
P76
The shot preparation PC-based control system for the pulsed power fusion device.
V.I.Zaitsev, V.V.Bulan, V.M.Chikovsky, SSC RF TRINITI
The special powerful electrical generators on the base of the pulsed power technique application are used in the thermonuclear fusion experiments. The working shot of such generators is produced by means the temporal-sharpening of the electrical energy pulses The sharpening process is the series of switching operations of storage units. The gas filled spark switches are used for this purpose. Before working shot it is necessary to prepare device to the shot. The PC-based control system for shot preparation of fusion device Angara-5 is described. Preparation procedure includes the gas pressure control in the switches, the capacitor bank charging control and the parameter monitoring of the auxiliary systems (vacuum, water conductivity etc.) The control system hardware includes CAMAC blocks (ADC, multiplexers, I/O blocks, PC-connected controllers) and IBM PC. The design permits to maintain the self-testing operations. The main part of the software is the polling program that gives possibility to fulfill the preparation of the pressure values and to start the charging procedure. The program interface is simple and is based on very limited set of the commands. The program users are technical personnel. The program has reporting and archiving capabilities. There are some instruments for the system test and maintenance too. The design of the system have taken into account the shot preparationschedule. As result the control system was made reliable and relatively simple. The hard- and software schemes are given.
Return Page