Abstract
The modernization of existing and new nuclear power plants with digital instrumentation and control systems (DI&C) is a recent and highly trending topic. However, there lacks strong consensus on best-estimate reliability methodologies by both the United States (U.S.) Nuclear Regulatory Commission (NRC) and the industry. In this work, we develop an approach called Orthogonal-defect Classification for Assessing Software Reliability (ORCAS) to quantify probabilities of various software failure modes in a DI&C system. The method utilizes accepted industry methodologies for quality assurance that are verified by experimental evidence. In essence, the approach combines a semantic failure classification model with a reliability growth model to predict the probability of failure modes of a software system. A case study was conducted on a representative I&C platform (ChibiOS) running a smart sensor acquisition software developed by Virginia Commonwealth University (VCU). The testing and evidence collection guidance in ORCAS was applied, and defects were uncovered in the software. Qualitative evidence, such as modified condition decision coverage, was used to gauge the completeness and trustworthiness of the assessment while quantitative evidence was used to determine the software failure probabilities. The reliability of the software was then estimated and compared to existing operational data of the sensor device. It is demonstrated that by using ORCAS, a semantic reasoning framework can be developed to justify if the software is reliable (or unreliable) while still leveraging the strength of the existing methods.
Introduction: The Reliability Gap in Safety-Critical Software
Modernizing nuclear power plants with digital instrumentation and control (DI&C) systems is a high-stakes endeavor. While digital systems offer superior performance and flexibility, industry and regulators remain hesitant to fully commit due to the lack of a "gold standard" for measuring software reliability. Traditional hardware reliability models rely on well-understood physics-of-failure and component wear-out data. In contrast, software "failure" is typically the result of design flaws or missing requirements—latent defects that only manifest under specific conditions.
Existing Software Reliability Growth Models (SRGMs) often act as "black-box" approaches, requiring massive amounts of failure data that safety-critical systems rarely produce. Conversely, qualitative methods like System Theoretic Process Analysis (STPA) identify how a system might fail but struggle to quantify how often. This research introduces ORCAS to bridge this qualitative-quantitative divide.
The ORCAS Framework
The ORCAS (Orthogonal-defect Classification for Assessing Software Reliability) framework is designed to quantify software failure probabilities even in data-scarce environments. It follows a structured five-stage workflow to move from system documentation to a quantified risk assessment.
- Scope Definition: Utilizing fault trees and Unsafe Control Actions (UCAs) to identify safety-critical software components.
- Testing Adequacy: Implementing a three-tier testing hierarchy (Component, Subsystem, System) using methods like T-way combinatorial testing and Modified Condition Decision Coverage (MCDC).
- Orthogonal Defect Classification (ODC): Categorizing discovered defects (e.g., Algorithm, Checking, Interface) rather than simply counting them.
- Reliability Modeling: Mapping these defect classes to specific failure modes through a "semantic bridge."
- Efficacy Assessment: Evaluating testing completeness to determine the confidence level of the final reliability estimates.
The Semantic Bridge: Mapping Defects to Failures
The most innovative aspect of ORCAS is the use of ODC to generalize the impact of bugs. By analyzing 402 defect reports from major open-source repositories (including MongoDB, Cassandra, and Zephyr RTOS), the researchers established statistical correlations between defect types and failure modes.
As shown in the mapping matrix, specific defect types have high probabilities of leading to certain failure modes. For instance, an "Assignment" defect has a 66.7% correlation with UCA/UIF-B ("Control action provided when not needed"). This allows the framework to leverage "big data" from diverse software projects to inform reliability assessments for "small data" safety-critical nuclear projects.
Case Study: VCU Smart Sensor
The framework was validated using a smart sensor acquisition software running on ChibiOS. The assessment included 10,687 tests and identified 8 specific defects.
- Quantitative Results: The maximum failure probability was calculated at 5.854E-4 per hour.
- Qualitative Insights: The framework revealed that while component-level testing was robust, system-level testing only covered 76% of required triggers. It specifically flagged a lack of workload/stress and configuration testing, providing a clear roadmap for further verification efforts.
- Code Optimization: The process identified 12 unreachable code segments, allowing for a cleaner, more verifiable codebase.
Conclusion and Future Directions
ORCAS demonstrates that a semantic reasoning framework can justify software reliability by combining qualitative testing evidence with quantitative failure mode mapping. While the current model assumes that the relationship between defect types and failure modes is relatively consistent across software domains, future work will focus on expanding the dataset to refine these correlations. For ultra-high-reliability systems where zero defects are found, ORCAS is designed to integrate with Bayesian methods like BAHAMAS to provide a comprehensive safety justification.
Summary updated