Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “LOGIC PROGRAMMING”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 55 records · Page 3

FPGA-based Upgrade to RITS-6 Control System, Designed with EMP Considerations

The existing control system for the RITS-6, a 20-MA 3-MV pulsed-power accelerator located at Sandia National Laboratories, was built as a system of analog switches because the operators needed to be close enough to the machine to hear pulsed-power breakdowns, yet the electromagnetic pulse (EMP) emitted would disable any processor-based solutions. The resulting system requires operators to activate and deactivate a series of 110-V relays manually in a complex order. The machine is sensitive to both the order of operation and the time taken between steps. A mistake in either case would cause a misfire and possible machine damage. Based on these constraints, a field-programmable gate array (FPGA) was chosen as the core of a proposed upgrade to the control system. An FPGA is a series of logic elements connected during programming. Based on their connections, the elements can mimic primitive logic elements, a process called synthesis. The circuit is static; all paths exist simultaneously and do not depend on a processor. This should make it less sensitive to EMP. By shielding it and using good electromagnetic interference-reduction practices, it should continue to operate well in the electrically noisy environment. The FPGA has two advantages over the existing system. In manual operation mode, the synthesized logic gates keep the operators in sequence. In addition, a clock signal and synthesized countdown circuit provides an automated sequence, with adjustable delays, for quickly executing the time-critical portions of charging and firing. The FPGA is modeled as a set of states, each state being a unique set of values for the output signals. The state is determined by the input signals, and in the automated segment by the value of the synthesized countdown timer, with the default mode placing the system in a safe configuration. Unlike a processor-based system, any system stimulus that results in an abort situation immediately executes a shutdown, with only a tens-of-nanoseconds delay to propagate across the FPGA. This paper discusses the design, installation, and testing of the proposed system upgrade, including failure statistics and modifications to the original design.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Adiabatic Quantum Programming: Minor Embedding With Hard Faults

Adiabatic quantum programming defines the time-dependent mapping of a quantum algorithm into the hardware or logical fabric. An essential programming step is the embedding of problem-specific information into the logical fabric to define the quantum computational transformation. We present algorithms for embedding arbitrary instances of the adiabatic quantum optimization algorithm into a square lattice of specialized unit cells. Our methods are shown to be extensible in fabric growth, linear in time, and quadratic in logical footprint. In addition, we provide methods for accommodating hard faults in the logical fabric without invoking approximations to the original problem. These hard fault-tolerant embedding algorithms are expected to prove useful for benchmarking the adiabatic quantum optimization algorithm on existing quantum logical hardware. We illustrate this versatility through numerical studies of embeddabilty versus hard fault rates in square lattices of complete bipartite unit cells.

graph theory↗

From Obsolete to Optimal (ATR Demineralized Water System)

My project was migrating a Human-Machine Interface (HMI) and Programmable Logic Controller (PLC) program from legacy software to a modern platform, enhancing operational efficiency and eliminating unsupported, obsolete equipment. Initially, I used a migration tool to transfer the programs to the new software, then manually updated variables to align with the new PLC. I optimized the PLC code by leveraging new scaling features in the I/O cards, removing over 45 obsolete rungs, and enhancing clarity with functional tag aliases. Next, I modernized the HMI's visuals with an updated color scheme and 3D buttons. I developed multiple interface versions iteratively refining them based on operator feedback. I also designed and created a dedicated "Rounds" screen incorporating insights from a previous intern’s project to streamline daily rounds. To improve clarity, consistency, and efficiency I redesigned the entire interface. Adding visual indicators to enhance operational awareness: red is used for values outside normal specifications, green for normal operating modes, yellow for manual mode, and grey for offline units. Additionally, I added a dynamic visual representation of tank levels, creating PLC logic to show the level in inches as well as inches and feet. I then incorporated a navigation sidebar to facilitate efficient screen transitions. Risk of human error was mitigated by defining narrow input ranges for tank level shutoff and password protecting setpoint changes. I also fixed issues with datatypes that caused inaccuracies in the original code. Overall, this comprehensive upgrade significantly enhanced the HMI's functionality, user experience, and operational reliability.

47 - OTHER INSTRUMENTATION↗

QCOR; A Language Extension Specification for the Heterogeneous Quantum-Classical Model of Computation

Quantum computing (QC) is an emerging computational paradigm that leverages the laws of quantum mechanics to perform elementary logic operations. Existing programming models for QC were designed with fault-tolerant hardware in mind, envisioning stand-alone applications. However, the susceptibility of near-term quantum computers to noise limits their stand-alone utility. To better leverage limited computational strengths of noisy quantum devices, hybrid algorithms have been suggested whereby quantum computers are used in tandem with their classical counterparts in a heterogeneous fashion. This modus operandi calls out for a programming model and a high-level programming language that natively and seamlessly supports heterogeneous quantum-classical hardware architectures in a single-source-code paradigm. Motivated by the lack of such a model, we introduce a language extension specification, called QCOR, which enables single-source quantum-classical programming. Programs written using the QCOR library–based language extensions can be compiled to produce functional hybrid binary executables. After defining QCOR’s programming model, memory model, and execution model, we discuss how QCOR enables variational, iterative, and feed-forward QC. Additionally, QCOR approaches quantum-classical computation in a hardware-agnostic heterogeneous fashion and strives to build on best practices of high-performance computing. The high level of abstraction in the language extension is intended to accelerate the adoption of QC by researchers familiar with classical high-performance computing.

97 MATHEMATICS AND COMPUTING↗

MFANS 2024 - Formally Proving Characteristics of Cyber-Physical Systems

Cyber-physical systems (CPS) are engineered systems that rely on the smooth integration of computational algorithms and physical elements. This integration presents new challenges for verifying that systems will behave as expected. The goal of this presentation is to present current challenges and potential solutions for the formal verification of cyber-physical systems. For cyber systems, formal methods refer to systematically rigorous mathematical techniques employed in the specification, development, analysis, and verification of both software and hardware systems. Recent advancements in computer science have yielded sophisticated tools specifically designed to address challenges associated with formal methods in complex systems. These tools leverage various foundational concepts such as logic, formal languages, program semantics, type systems, type theory, and automata theory. A notable achievement in the application of formal methods is the seL4 microkernel, claimed to be the first general-purpose operating-system kernel to be verified. Its proof implies the absence of bugs and guarantees that the kernel meets specifications. For physical systems, dynamic and control theory has a history of using rigorous analytic techniques to prove functional correctness. Lyapunov, optimal, classical, modern, and robust control theories all provide rigorous mathematical methods both to analyze system performance and to design controller that can be guaranteed to meet certain objectives. Recent computational techniques like level set theory and reachability analysis provide assertions that a system's state will avoid unsafe regions. Even though success has been independently achieved for cyber systems and physical systems, the integration of such systems creates new challenges. In particular, there is an obvious discrepancy between finite-state machines and infinite-state systems, resulting in different approaches for modeling and analyzing these system. While it is possible to simulate hybrid systems, this provides only a demonstration of a performance and not proof. For hybrid systems, current formal methods and system analysis approaches typically require a workarounds to work on hybrid systems like CPS. This paper will outline the state of the art and limits of current practice for formally verifying CPS and will identify possible research directions that require attention.

97 MATHEMATICS AND COMPUTING↗

Field Programmable Gate Array Data Capture for Control Systems

Some Industrial Control Systems (ICS) networks are based on protocols such as Serial and Industrial Ethernet. These protocols currently have no existing cybersecurity monitoring tools, leaving a large gap in the cyber defense of critical infrastructure. In order to analyze such ICS traffic, it is first necessary to implement methods of capturing the ICS data. Whereas traditional methods of analyzing data would use microprocessors, the nature of high-speed analog data can be difficult to implement on such a versatile processor, as they are rather inefficient for doing a single task. Whereas Field Programmable Gate Arrays (FPGAs) provide an adequate tool in analyzing high speed data, as despite the lack of program versatility, Programmable Logic can implement a solution with minimal clock cycles, allowing time for each new packet of data to be captured before a new data sample is taken.

42 ENGINEERING↗

Enabling Pulse-level Programming, Compilation, and Execution in XACC

Noisy gate-model quantum processing units (QPUs) are currently available from vendors over the cloud, and digital quantum programming approaches exist to run low-depth circuits on physical hardware. These digital representations are ultimately lowered to pulse-level instructions by vendor quantum control systems to affect unitary evolution representative of the submitted digital circuit. Vendors are beginning to open this pulse-level control system to the public via specified interfaces. Robust programming methodologies, software frameworks, and backend simulation technologies for this analog model of quantum computation will prove critical to advancing pulse-level control research and development. Prototypical use cases for this include error mitigation, optimal pulse control, and physics-inspired pulse construction. Here we present an extension to the XACC quantum-classical software framework that enables pulse-level programming for superconducting, gate-model quantum computers, and a novel, general, and extensible pulse-level simulation backend for XACC that scales on classical compute clusters via MPI. Our work enables custom backend Hamiltonian definitions and gate-level compilation to available pulses with a focus on performance and scalability. We end with a demonstration of this capability, and show how to use XACC for pertinent pulse-level programming tasks.

97 MATHEMATICS AND COMPUTING↗

An application of different dioids in public key cryptography

Dioids provide a natural framework for analyzing a broad class of discrete event dynamical systems such as the design and analysis of bus and railway timetables, scheduling of high-throughput industrial processes, solution of combinatorial optimization problems, the analysis and improvement of flow systems in communication networks. They have appeared in several branches of mathematics such as functional analysis, optimization, stochastic systems and dynamic programming, tropical geometry, fuzzy logic. In this paper we show how to involve dioids in public key cryptography. The main goal is to create key – exchange protocols based on dioids. Additionally the digital signature scheme is presented.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Interval-parameter semi-infinite fuzzy-stochastic mixed-integer programming approach for environmental management under multiple uncertainties

In this study, an interval-parameter semi-infinite fuzzy-chance-constrained mixed-integer linear programming (ISIFCIP) approach is developed for supporting long-term planning of waste-management systems under multiple uncertainties in the City of Regina, Canada. The method improves upon the existing interval-parameter semi-infinite programming (ISIP) and fuzzy-chance-constrained programming (FCCP) by incorporating uncertainties expressed as dual uncertainties of functional intervals and multiple uncertainties of distributions with fuzzy-interval admissible probability of violating constraint within a general optimization framework. The binary-variable solutions represent the decisions of waste-management-facility expansion, and the continuous ones are related to decisions of waste-flow allocation. The interval solutions can help decision-makers to obtain multiple decision alternatives, as well as provide bases for further analyses of tradeoffs between waste-management cost and system-failure risk. In the application to the City of Regina, Canada, two scenarios are considered. In Scenario 1, the City's waste-management practices would be based on the existing policy over the next 25 years. The total diversion rate for the residential waste would be approximately 14%. Scenario 2 is associated with a policy for waste minimization and diversion, where 35% diversion of residential waste should be achieved within 15 years, and 50% diversion over 25 years. In this scenario, not only landfill would be expanded, but also CF and MRF would be expanded. Through the scenario analyses, useful decision support for the City's solid-waste managers and decision-makers has been generated. Three special characteristics of the proposed method make it unique compared with other optimization techniques that deal with uncertainties. Firstly, it is useful for tackling multiple uncertainties expressed as intervals, functional intervals, probability distributions, fuzzy sets, and their combinations; secondly, it has capability in addressing the temporal variations of the functional intervals; thirdly, it can facilitate dynamic analysis for decisions of facility-expansion planning and waste-flow allocation within a multi-facility, multi-period and multi-option context.

54 ENVIRONMENTAL SCIENCES↗

Automated Reconstruction of Control Logic for Programmable Logic Controller Forensics

This paper presents Similo, an automated scalable framework for control logic forensics in industrial control systems. Similo is designed to investigate denial of engineering operations (DEO) attacks, recently demonstrated to hide malicious control logic in a programmable logic controller (PLC) at field sites from an engineering software (at control center). The network traffic (if captured) contains substantial evidence to investigate DEO attacks including manipulation of control logic. Laddis, a state-of-the-art forensic approach for DEO attacks, is a binary-logic decompiler for the Allen-Bradley’s RSLogix engineering software and MicroLogix 1400 PLC. It is developed with extensive manual reverse engineering effort of the underlying proprietary network protocol and the binary control logic. Unfortunately, Laddis is not scalable and requires similar efforts to extend on other engineering software/PLCs. The proposed solution, Similo, is based on the observation that engineering software of different vendors are equipped with decompilers. Similo is a virtual-PLC framework that integrates the decompilers with their respective (previously-captured) ICS network traffic of control logic. It recovers the binary logic into a high-level source code (of the programming languages defined by IEC 61131-3 standard) automatically. Similo can work with both proprietary/open protocols without requiring protocol specifications and the binary formats of control logic. Thus, it is scalable to different ICS vendors. We evaluate Similo on three PLCs of two ICS vendors, i.e. MicroLogix 1400, MicroLogix 1100, and Modicon M221. These PLCs support proprietary protocols and the control logics written in two programming languages: Ladder Logic and Instruction List. The evaluation results show that Similo can accurately reconstruct a control logic from an ICS network traffic and can be used to investigate the DEO attacks effectively.

Ali qasim, Syed↗

An Algorithm for Constructing and Searching Spaces of Alternative Hypotheses

In this paper, we develop techniques for automated hypothesis-space exploration over data sets that may contain contradictions. To do so, we make use of the equivalence between two formulations: those of first-order predicate logic with prefix modal quantifiers under the finite-model hypothesis and those of mixed-integer linear programming (MILP) problems. Unlike other approaches, we do not assume that all logical assertions are true without doubt. Instead, we look for alternative hypotheses about the validity of the claims by identifying alternative optimal solutions to a corresponding MILP. We use a collection of slack variables in the derived linear constraints to indicate the presence of contradictory data or assumptions. The objective is to minimize contradictions between data and assertions represented by the presence of nonzero slack in the set of linear constraints. In this paper, we present the following: 1) a correspondence between first-order predicate logic with modal quantifier prefixes under the finite-model hypothesis and MILP problems and 2) an implicit enumeration algorithm for exploring the contradiction hypothesis space.

99 GENERAL AND MISCELLANEOUS↗

High-Assurance Software: LDRD Report.

This report summarizes our work on methods for developing high-assurance digital systems. We present an approach for understanding and evaluating trust issues in digital systems, and for us- ing computer-checked proofs as a means for realizing this approach. We describe the theoretical background for programming with proofs based on the Curry-Howard correspondence, connect- ing the field of logic and proof theory to programs. We then describe a series of case studies, intended to demonstrate how this approach might be adopted in practice. In particular, our stud- ies elucidate some of the challenges that arise with this style of certified programming, including induction principles, generic programming, termination requirements, and reasoning over infinite state spaces.

Hulette, Geoffrey Compton↗

Characterization and Leach Testing for PUREX Cladding Waste Sludge (Group 3) and REDOX Cladding Waste Sludge (Group 4) Actual Waste Sample Composites

A testing program evaluating actual tank waste was developed in response to Task 4 from the M-12 External Flowsheet Review Team (EFRT) issue response plan.(a) The testing program was subdivided into logical increments. The bulk water-insoluble solid wastes that are anticipated to be delivered to the Waste Treatment and Immobilization Plant (WTP) were identified according to type such that the actual waste testing could be targeted to the relevant categories. Eight broad waste groupings were defined. Samples available from the 222S archive were identified and obtained for testing. The actual wastetesting program included homogenizing the samples by group, characterizing the solids and aqueous phases, and performing parametric leaching tests. Two of the eight defined groups—plutonium-uranium extraction (PUREX) cladding waste sludge (Group 3, or CWP) and reduction-oxidation (REDOX) cladding waste sludge (Group 4, or CWR)—are the subjects of this report. Both the Group 3 and 4 waste composites were anticipated to be high in gibbsite, requiring caustic leaching. Characterization of the composite Group 3 and Group 4 waste samples confirmed them to be high in gibbsite. The focus of the Group 3 and 4 testing was on determining the behavior of gibbsite during caustic leaching. The waste-type definition, archived sample conditions, homogenization activities, characterization (physical, chemical, radioisotope, and crystal habit), and caustic leaching behavior as functions of time, temperature, and hydroxide concentration are discussed in this report. Testing was conducted according to TP-RPP-WTP-467.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Characterization, Leaching, and Filtration Testing for Bismuth Phosphate Sludge (Group 1) and Bismuth Phosphate Saltcake (Group 2) Actual Waste Sample Composites

A testing program evaluating actual tank waste was developed in response to Task 4 from the M-12 External Flowsheet Review Team (EFRT) issue response plan.() The test program was subdivided into logical increments. The bulk water-insoluble solid wastes that are anticipated to be delivered to the Waste Treatment and Immobilization Plant (WTP) were identified according to type such that the actual waste testing could be targeted to the relevant categories. Eight broad waste groupings were defined. Samples available from the 222S archive were identified and obtained for testing. The actual waste-testing program included homogenizing the samples by group, characterizing the solids and aqueous phases, and performing parametric leaching tests. Two of the eight defined groups—bismuth phosphate sludge (Group 1) and bismuth phosphate saltcake (Group 2)—are the subjects of this report. The Group 1 waste was anticipated to be high in phosphorus and was implicitly assumed to be present as BiPO4 (however, results presented here indicate that the phosphate in Group 1 is actually present as amorphous iron(III) phosphate). The Group 2 waste was also anticipated to be high in phosphorus, but because of the relatively low bismuth content and higher aluminum content, it was anticipated that the Group 2 waste would contain a mixture of gibbsite, sodium phosphate, and aluminum phosphate. Thus, the focus of the Group 1 testing was on determining the behavior of P removal during caustic leaching, and the focus of the Group 2 testing was on the removal of both P and Al. The waste-type definition, archived sample conditions, homogenization activities, characterization (physical, chemical, radioisotope, and crystal habit), and caustic leaching behavior as functions of time, temperature, and hydroxide concentration are discussed in this report. Testing was conducted according to TP-RPP-WTP-467.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Filtration and Leach Testing for REDOX Sludge and S-Saltcake Actual Waste Sample Composites

A testing program evaluating actual tank waste was developed in response to Task 4 from the M-12 External Flowsheet Review Team (EFRT) issue response plan.( ) The test program was subdivided into logical increments. The bulk water-insoluble solid wastes that are anticipated to be delivered to the Waste Treatment and Immobilization Plant (WTP) were identified according to type such that the actual waste testing could be targeted to the relevant categories. Under test plan TP-RPP-WTP-467, eight broad waste groupings were defined. Samples available from the 222S archive were identified and obtained for testing. Under this test plan, a waste-testing program was implemented that included: • Homogenizing the archive samples by group as defined in the test plan • Characterizing the homogenized sample groups • Performing parametric leaching testing on each group for compounds of interest • Performing bench-top filtration/leaching tests in the hot cell for each group to simulate filtration and leaching activities if they occurred in the UFP2 vessel of the WTP Pretreatment Facility. This report focuses on filtration/leaching tests performed on two of the eight waste composite samples and follow-on parametric tests to support aluminum leaching results from those tests.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Filtration and Leach Testing for PUREX Cladding Sludge and REDOX Cladding Sludge Actual Waste Sample Composites

A testing program evaluating actual tank waste was developed in response to Task 4 from the M-12 External Flowsheet Review Team (EFRT) issue response plan (Barnes and Voke 2006). The test program was subdivided into logical increments. The bulk water-insoluble solid wastes that are anticipated to be delivered to the Hanford Waste Treatment and Immobilization Plant (WTP) were identified according to type such that the actual waste testing could be targeted to the relevant categories. Under test plan TP RPP WTP 467 (Fiskum et al. 2007), eight broad waste groupings were defined. Samples available from the 222S archive were identified and obtained for testing. Under this test plan, a waste testing program was implemented that included: • Homogenizing the archive samples by group as defined in the test plan. • Characterizing the homogenized sample groups. • Performing parametric leaching testing on each group for compounds of interest. • Performing bench-top filtration/leaching tests in the hot cell for each group to simulate filtration and leaching activities if they occurred in the UFP2 vessel of the WTP Pretreatment Facility. This report focuses on a filtration/leaching test performed using two of the eight waste composite samples. The sample groups examined in this report were the plutonium-uranium extraction (PUREX) cladding waste sludge (Group 3, or CWP) and reduction-oxidation (REDOX) cladding waste sludge (Group 4, or CWR). Both the Group 3 and 4 waste composites were anticipated to be high in gibbsite, thus requiring caustic leaching. WTP RPT 167 (Snow et al. 2008) describes the homogenization, characterization, and parametric leaching activities before benchtop filtration/leaching testing of these two waste groups. Characterization and initial parametric data in that report were used to plan a single filtration/leaching test using a blend of both wastes. The test focused on filtration testing of the waste and caustic leaching for aluminum, in the form of gibbsite, and its impact on filtration. The initial sample was diluted with a liquid simulant to simulate the receiving concentration of retrieved tank waste into the UFP2 vessel (< 10 wt% undissolved solids). Filtration testing was performed on the dilute waste sample and dewatered to a higher solids concentration. Filtration testing was then performed on the concentrated slurry. Afterwards, the slurry was caustic leached to remove aluminum present in the undissolved solid present in the waste. The leach was planned to simulate leaching conditions in the UFP2 vessel. During the leach, slurry supernate samples were collected to measure the dissolution rate of aluminum in the waste. After the slurry cooled down from the elevated leach temperature, the leach liquor was dewatered from the solids. The remaining slurry was rinsed and dewatered with caustic solutions to remove a majority of the dissolved aluminum from the leached slurry. The concentration of sodium hydroxide in the rinse solutions was high enough to maintain the solubility of the aluminum in the dewatered rinse solutions after dilution of the slurry supernate. Filtration tests were performed on the final slurry to compare to filtration performance before and after caustic leaching.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Multiobjective fuzzy stochastic linear programming problems with inexact probability distribution

This study deals with multiobjective fuzzy stochastic linear programming problems with uncertainty probability distribution which are defined as fuzzy assertions by ambiguous experts. The problem formulation has been presented and the two solutions strategies are; the fuzzy transformation via ranking function and the stochastic transformation when α{sup –}. cut technique and linguistic hedges are used in the uncertainty probability distribution. The development of Sen’s method is employed to find a compromise solution, supported by illustrative numerical example.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Improvement of photovoltaic pumping systems based on standard frequency converters by means of programmable logic controllers

Photovoltaic pumping systems (PVPS) based on standard frequency converters (SFCs) are currently experiencing a growing interest in pumping programmes implemented in remote areas because of their high performance in terms of component reliability, low cost, high power range and good availability of components virtually anywhere in the world. However, in practical applications there have appeared a number of problems related to the adaptation of the SFCs to the requirements of the photovoltaic pumping systems (PVPS). Another disadvantage of dedicated PVPS is the difficulty in implementing maximum power point tracking (MPPT). This paper shows that these problems can be solved through the addition of a basic industrial programmable logic controller (PLC) to the system. This PLC does not increase the cost and complexity of the system, but improves the adaptation of the SFC to the photovoltaic pumping system, and increases the overall performance of the system. (author)

14 SOLAR ENERGY↗