Topics
features
Publications
Issue Archive
HighPerformance Algorithm for Solving the Diagnosis Problem
 Created on Thursday, 01 January 2009
Computation time is reduced substantially.
An improved method of modelbased diagnosis of a complex engineering system is embodied in an algorithm that involves considerably less computation than do prior such algorithms. This method and algorithm are based largely on developments reported in several NASA Tech Briefs articles: “The Complexity of the Diagnosis Problem” (NPO30315), Vol. 26, No. 4 (April 2002), page 20; “Fast Algorithms for ModelBased Diagnosis” (NPO30582), Vol. 29, No. 3 (March 2005), page 69; “Two Methods of Efficient Solution of the HittingSet Problem” (NPO30584), Vol. 29, No. 3 (March 2005), page 73; and “Efficient ModelBased Diagnosis Engine” (NPO40544), on the following page.
Some background information from the cited articles is prerequisite to a meaningful summary of the innovative aspects of the present method and algorithm. In modelbased diagnosis, the function of each component and the relationships among all the components of the engineering system to be diagnosed are represented as a logical system denoted the system description (SD). Hence, the expected normal behavior of the engineering system is the set of logical consequences of the SD. Faulty components lead to inconsistencies between the observed behaviors of the system and the SD. Diagnosis — the task of finding faulty components — is reduced to finding those components, the abnormalities of which could explain all the inconsistencies. The solution of the diagnosis problem should be a minimal diagnosis, which is a minimal set of faulty components.
The calculation of a minimal diagnosis is inherently a hard problem, the solution of which requires amounts of computation time and memory that increase exponentially with the number of components of the engineering system. Among the developments to reduce the computational burden, as reported in the cited articles, is the mapping of the diagnosis problem onto the integerprogramming (IP) problem. This mapping makes it possible to utilize a variety of algorithms developed previously for IP to solve the diagnosis problem. In the IP approach, the diagnosis problem can be formulated as a linear integer optimization problem, which can be solved by use of well developed integerprogramming algorithms. This concludes the background information.
The point of departure for the development of the present improved method and algorithm is the discovery that the mapping of the diagnosis problem onto the IP problem makes it possible to calculate lower and upper bounds on the number of faulty components before solving the diagnosis problem. A solution window for the problem is introduced, based on these bounds.
One of the algorithms heretofore commonly used to solve the IP problem is known in the art as the branchandbound algorithm. In terms that are necessarily oversimplified for the sake of brevity, the traditional version of the branchandbound algorithm includes the following:
 Using noninteger and integer solutions of the corresponding linearprogramming (LP) relaxation problem (see figure), in which the variables of the IP problem are no longer constrained to be integers, to define lower and upper bounds, respectively;
 Successively dividing (branching) the IP problem into subproblems on the basis of the bounds; and
 Eliminating any subproblem, the LP
lower bound of which exceeds the
upper bound of another subproblem.
The branching, bounding, and elimination are repeated until all subproblems are eliminated or an integer solution is found.
The present algorithm is an alternative version of the branchandbound algorithm. In this algorithm, the amount of computation required for execution is reduced, relative to that of the traditional version, by exploiting the structure of the problem. The amount of computation is further reduced by using the solution window to effect a massive pruning of branches. Yet another reduction is effected by dynamically updating and narrowing the window to enable further pruning. In simulation tests on systems of 40 components, the present algorithm was found to solve the diagnosis problem at an average speed about 300 times faster than that of the traditional branchandbound algorithm.
This work was done by Amir Fijany and Farrokh Vatan of Caltech for NASA’s Jet Propulsion Laboratory.
The software used in this innovation is available for commercial licensing. Please contact Karina Edmonds of the California Institute of Technology at (626) 3952322. Refer to NPO41456.
This Brief includes a Technical Support Package (TSP).
HighPerformance Algorithm for Solving the Diagnosis Problem (reference ) is currently available for download from the TSP library.
Please Login at the top of the page to download.
White Papers

