A Large Distributed Control System Using Ada in Fusion Research John P
Total Page:16
File Type:pdf, Size:1020Kb
A Large Distributed Control System Using Ada in Fusion Research John P. Woodruff Paul J. Van Arsdall Lawrence Livermore National Laboratory Lawrence Livermore National Laboratory PO Box 808 MS L-493 PO Box 808 MS L-493 Livermore, CA 94551-0808 Livermore, CA 94551-0808 925.422.4661 925.422.4489 [email protected] [email protected] 1. ABSTRACT This laser is the latest in a series of experimental machines Construction of the National Ignition Facility used to study inertial confinement fusion: nuclear fusion laser at Lawrence Livermore National reactions produced in a plasma of deuterium and tritium Laboratory features a distributed control that is compressed by a burst of laser energy[4][15]. The system that uses object-oriented software NIF laser, which will be the worldÕs largest high power engineering techniques. Control of 60,000 laser, will deliver 1.8 MegaJoule pulses of optical energy onto a BB-sized fusion fuel capsule in a pulse 25 devices is effected using a network of some 500 nanoseconds long. In an experiment, the target will be computers. The software is being written in heated to more than 100,000,000 degrees Celsius and Ada and communicates through CORBA. compressed to a density more than 20 times that of lead. Software controls are implemented in two The scientific data that NIF produces in support of the layers: individual device controllers and a inertial confinement fusion program will support three supervisory layer. The software architecture diverse objectives. As a key component of the US Department of EnergyÕs Stockpile Stewardship and provides services in the form of frameworks Management Program, the NIF will enable the US to that address issues common to event-driven maintain its nuclear device stockpile without resorting to control systems. Those services are allocated underground testing[11]. It will also collect preliminary to levels that strictly prescribe their data about fusion as an environmentally attractive energy interdependency so the levels are separately source[7]. The ability to re-create conditions existing inside the sun and stars will significantly impact the science of reusable. The project has completed its final astrophysics and high energy density physics[5]. design review. The delivery of the first NIFÕs Integrated Computer Control System (ICCS) must increment takes place in October 1998. integrate more than 60,000 control points to manage 192 Keywords laser beamlines. Each shot of the NIF, which generates Distributed control system, object-oriented development, about 400 Mb of data, will require aligning all components CORBA, application frameworks, levels of abstraction of the laser so that all 192 beams propagate down 600-foot paths through their amplifiers and into the target chamber 2. THE NATIONAL IGNITION FACILITY within 50 microns of their assigned spot on the The $1.2 billion National Ignition Facility (NIF) centimeter-scale target ¾ and so that all beams arrive at the laser[8][10] is under construction at Lawrence Livermore center simultaneously within 30 picoseconds. The National Laboratory in California. When completed in alignment process will involve approximately 9500 stepper 2003, it will be housed in a building the size of a football motors, every one contributing to the position of a beam. stadium-704 feet long by 403 feet wide [FigureÊ1]. This alignment activity is carried out by an automated system that analyzes some 3000 distinct images to command motion of the stepper motors. Only when a control loop fails to stabilize is it necessary for an operator to intervene. Optics assembly building Cavity mirror mount assembly Pockels cell assembly Amplifier Spatial filters Control room Master oscillator room Power conditioning Switchyard transmission support structure lines Amplifier power conditioning modules Periscope polarizer mount assembly Beam control & laser diagnostic systems Pre-amplifier modules Diagnostics Transport turning building mirrors Target chamber Final optics system Figure 1: The National Ignition Facility The ICCS provides the necessary controls for a dozen 3. CONTROL SYSTEM REQUIREMENTS · Facilities such as the NIF represent major capital operators and technicians to carry out coordinated investments that will be operated, maintained, and activities on a machine composed of about 60,000 upgraded for decades. The facility is, in a sense, a factory distinct control points; in which physics experiments are manufactured. · Automatic alignment of the entire laser, controlling Accordingly the computer and control subsystems must be actuators in 4000 control loops driven by image relatively easy to extend as innovative experiments are analysis, takes place in one hour; planned. To assure a 30-year service life, the system must · Data are collected to support operational and mainte- permit periodic replacement with newer technology. The nance planning; system is being built using Ada on a modern object-oriented software framework that will be extensible · Selected images from a population of 600 cameras can and maintainable throughout the facilityÕs life cycle. be displayed to an operator at ten frames per second; The NIF controls must be highly automated and robust. The · The operatorÕs broad view of the entire machineÕs system will operate continuously around the clock with an status is updated with a latency less than ten seconds; allowed downtime of 7.5 days per year for unscheduled · The system architecture must be flexible enough to maintenance. A brief summary of requirements follows. absorb significant changes in requirements late in project construction; · The facility executes a physics shot once per 8 hours; The system must be delivered on time and on budget. · The control system coordinates several experimental · cycles concurrently to allow different sections of the laser to be used independently; FEP layers and provides plug-in software extensibility for 4. LAYERED ARCHITECTURE The ICCS layered architecture [Figure 2] was devised to attaching control points and other software services address the general problem of providing distributed [FigureÊ3]. control for large scientific facilities that do not require real-time capability within the supervisory software. The Online Configuration resultant architecture consists of front-end processors (FEP) Database Name Server coordinated by a supervisory system, and includes Operator Console commercially available components where possible. Client Supervisory Controls Upper-level Software computers Objects File Servers Supervisory Control Operator Consoles Layer ORBexpress distribution Database Sun Solaris UltraSparc Workstations Server Real-time Front End Software Control Processors Layer Objects Front End Processors Industrial Controls Switched Network Field bus Control Points: Sensors & Actuators Intel-based Timing System WindowsNT Figure 3: The Supervisor and the Front-end layer communicate using CORBA PowerPC-based VME/VXI crates Programmable Logic Controllers Data Safety Actuators Utilities Acquisition Interlocks 4.2 Front-end layer Front-end processors implement the distributed control functions of the ICCS by interfacing to the NIF control Figure 2: Control System Architecture points. There are eighteen different types of FEP computers Ð some 450 computers in all Ð that differ by the devices that 4.1 Supervisor layer Supervisory controls, which are hosted on UNIX they control. These FEP units are constructed from workstations housed in control consoles, provide VME/VXI-bus or PCI-bus crates of embedded controllers centralized operator controls and status, data archiving, and and interfaces that attach to control points. integration services. Two high-performance servers sharing The control points are sensors and actuators attached to redundant disk storage provide enhanced performance for interface boards plugged into an FEP backplane. In many database operations, with the added benefit of greater cases, control points are handled by intelligent components availability in the event one server fails. Several databases that incorporate embedded controllers operated by small are incorporated to manage both experimental data and data fixed programs. This firmware that runs in the embedded used during operations and maintenance. controller does much of the low-level work that would The supervisory software system is estimated to comprise otherwise be allocated to an FEP. Example components 400 KSLOC. This layer provides a human interface in the implemented in this manner are stepping motor controllers, form of operator displays, data retrieval, and processing photodiode detectors, and power supply controls. Laser that is used to coordinate control functions across laser and diagnostic sensors attach to FEP units by utilizing low-cost target area equipment. The ICCS supervisor is partitioned field bus microcontrollers. into eight cohesive subsystems, each of which controls a The FEP software performs sequencing, instrumentation primary NIF subsystem such as beam control or power control, data acquisition and data reduction on control conditioning. The supervisory software is responsible for points that are collocated. The software required for all the duties ranging from configuration and control sequencing FEPÕs is estimated to comprise 100 KSLOC. The to data processing and archival. architecture being described in this paper provides a Interoperability among computers and operating systems is standard way for FEP units to be integrated with the addressed by leveraging the international