NI CaseStudy Cs 14731
-
Upload
ramadinakaran -
Category
Documents
-
view
222 -
download
0
Transcript of NI CaseStudy Cs 14731
-
8/12/2019 NI CaseStudy Cs 14731
1/71/7 www.ni.c
Using LabVIEW in a Critical Laser Application for the National Ignition Facility at Lawrence Livermore
National Laboratory
Author(s):
Glenn Larkin - Lawrence Livermore National Laboratory
"The value in using the graphical dataflow language is the speed in which a team can deliver a powerful solution while still using proper software engineering practices."
-- Glenn Larkin, Lawrence Livermore National Lab
Background
The NIF at Lawrence Livermore National Laboratory is home to the worlds most energetic laser and largest precision optical instrument. A 10-story building the size of three football
fields houses 192 lasers, which when fired, travel more than 1,000 ft through a series of amplifiers and optics to deposit up to 500 trillion watts of power for 20 billionths of a second
on a target the size of a BB. High-energy-density physics experiments conducted at NIF seek to help assure the safety of the nuclear stockpile and demonstrate the viability of nearly
unlimited alternative energy sources based on inertial confinement fusion (ICF).
Most of the individuals working on the application had limited exposure to prior to this application. In addition, the graphical nature of the dataflow language initially raisedLabVIEW
concern that it may not be suitable for an application of this critical nature. However, through training and architectural consulting services, this team applied its software engineering
knowledge to LabVIEW to develop a high-quality application in a fraction of the time that would have otherwise been required.
Productivity Benefits
Engineers at Lawrence Livermore were under pressure to bring the OMF online in time to begin repairing lenses without delaying the operation of NIF. The LabVIEW development
environment was selected over traditional text-based alternatives because of the tight timeline and the availability of all the tools, drivers, and interfaces required by this complex
application.
As a result, a team of three people prototyped, developed, and deployed the final version of the application in about 15 months, which is roughly one-third of the estimated time
required to develop the application using Java or C++. Many factors contributed to the decreased development time, but including the following:
Prebuilt drivers for hardware and instruments
Highly customizable drag-and-drop user interfaces
Easy, rapid prototyping for testing and demonstrating new features and concepts
Built-in vision and analysis routines
Easy manipulation for large data sets with built-in array functionality
As the size and scope of the application grew, additional LabVIEW benefits were revealed, including the availability of a large and active online community of users and experts.
Productivity is expected to increase for future products as in-house expertise grows and the team establishes common architectures and best practices.
Software Engineering Approach
Application development for OMF began with high-level requirements that were expanded through prototyping and iterative development. It was important for the success of the
project that the LabVIEW development environment be able to integrate with standard tools and processes at Lawrence Livermore, including source code control and requirements
management solutions. It was also beneficial to provide metrics that equate the complexity and level of effort to industry-standard size measurements, such as source lines of code
(SLOC).
The need for process and testing was largely driven by a growing need for risk mitigation through software quality assurance guidance from the Department of Energy (DOE), which
funded this project. The resources and content on ni.com/largeapps were extremely helpful during initial efforts to apply these software engineering practices. The team quickly
realized that graphical data flow is a programming language like any other, and they should apply the same software engineering practices when developing a complex application.
"A team of three people prototyped, developed, and deployed the final
version of the application in about 15 months, which is roughly one-third
of the estimated time required to develop the application using Java or
C++. "- Glenn Larkin, Lawrence Livermore National Laboratory
The Challenge:
Creating an automated maintenance process in the Optic Mitigation Facility (OMF) of the National Ignition Facility (NIF) that uses
lasers, vision systems, motorized positioners, and diagnostic instruments to repair damaged sites on the surface of precision
optical lenses, thereby extending the life span of the optic and ensuring cost-efficient operation of the multibillion dollar machine.
The high-energy lasers of the NIF can initiate tiny damage sites on the surface of precision optical lenses, which could eventually
render the optic unserviceable if left unattended. The OMF is critical to the success of NIF because the laser cannot operate
without readily available lenses.
The Solution:
Using readily available instrument drivers and control interfaces in NI LabVIEW software to control the inspection and laser-based
repair processes for the lenses. Due to the critical nature of the OMF application, software engineering practices and extensive
testing were applied to ensure reliable and safe operation of the software and the equipment.
Figure 1. Target Chamber and Final Optics
Assemblies Where the 192 Lasers Converge
https://www.llnl.gov/http://www.ni.com/labview/https://www.llnl.gov/https://www.llnl.gov/http://www.ni.com/labview/https://www.llnl.gov/ -
8/12/2019 NI CaseStudy Cs 14731
2/72/7 www.ni.c
Once prototypes had been built to review the workflow and the operator interface, the team evaluated several architectures and eventually settled on a framework based around the
JKI State Machine. Gary Johnson, who was the technical lead and code gatekeeper for this project, was responsible for enforcing stylistic and syntactical guidelines across the team,
which has ensured the longevity and scalability of the code. The code that was deployed for the final application consisted of more than 1,000 VIs.
The OMF repaired its first production optic in August 2009. The three operational machines have since mitigated flaws on nearly 200 lenses, proving it is a critical facility in supplying
high-quality large optics for the NIF.
LabVIEW in Future Projects
The use of LabVIEW for the OMF at Lawrence Livermore was an overwhelming success. As a result, future plans call for expanded use of LabVIEW in additional research projects to
save money and time the next project to be developed using LabVIEW is anticipated to take one-third the time it would otherwise take using traditional approaches.
Author Information:
Glenn Larkin
Lawrence Livermore National Laboratory
Livermore, CA
United States
https://www.llnl.gov/https://www.llnl.gov/ -
8/12/2019 NI CaseStudy Cs 14731
3/73/7 www.ni.c
-
8/12/2019 NI CaseStudy Cs 14731
4/74/7 www.ni.c
Figure 1. Target Chamber and Final Optics Assemblies Where the 192 Lasers Converge
Figure 2. The National Ignition Facility at Lawrence Livermore National Labs
-
8/12/2019 NI CaseStudy Cs 14731
5/75/7 www.ni.c
Figure 3. The Laser Mitigation Machine in the Optics Mitigation Facility, Controlled With a LabVIEW Application
-
8/12/2019 NI CaseStudy Cs 14731
6/76/7 www.ni.c
Figure 4. Optic Being Loaded for Repair in the Optics Mitigation Facility
-
8/12/2019 NI CaseStudy Cs 14731
7/77/7 i
Figure 5. Cutaway Diagram of the National Ignition Facility, Which Is Roughly the Size of Three Football Fields
Legal
This case study (this "case study") was developed by a National Instruments ("NI") customer. THIS CASE STUDY IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT
TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE ( ).http://ni.com/legal/termsofuse/unitedstates/us/
http://ni.com/legal/termsofuse/unitedstates/us/http://ni.com/legal/termsofuse/unitedstates/us/