Using Logic Programming for Fault Diagnosis in Digital Circuits

  • Conference paper
GWAI-87 11th German Workshop on Artifical Intelligence

Part of the book series: Informatik-Fachberichte ((2252,volume 152))

Abstract

In this paper we show how a Prolog-like logic programming language can be efficiently used for fault diagnosis in digital circuits. We take the approach of diagnosis from first principles, i.e., reasoning from circuit description and behavior. With the single-fault assumption a program written in CHIP, an extended Prolog, locates the faulty gate from a hierarchical description of a circuit and faulty input/output patterns. The fault finding process is modeled in terms of constraint relaxation We show how the introduction of the demon concept in logic programming can improve the consistency checking mechanism and thus makes possible the diagnosis of big circuits. The program was successfully tested on circuits with more than 17000 gates.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Buttner, W. and Simonis, H. Embedding Boolean Expressions into Logic Programming. Journal of Symbolic Computation. (to appear), 1987.

    Google Scholar 

  2. Davis, R. Diagnostic Reasoning Based on Structure and Behavior. Artificial Intelligence 240: 347 - 410, 1984.

    Article  Google Scholar 

  3. de Kleer, J. Local Methods of Localizing Faults in Electronic Circuits Technical Report AIM-394, Artificial Intelligence Laboratory, MIT, Cambridge, USA, 1976.

    Google Scholar 

  4. Kleer, J. and Williams, B.C. Reasoning about Multiple Faults. In Proceedings of the National Conference on Artificial Intelligence (AAAI-86), pages 132 - 139. Philadelphia, USA, August, 1986.

    Google Scholar 

  5. Dincbas, M. Constraints, Logic Programming and Deductive Databases.In Proceedings of France-Japan Artificial Intelligence and Computer Science Symposium,pages 1-27. ICOT, Tokyo, Japan, October, 1986.

    Google Scholar 

  6. Dincbas, M., Simonis, H. and Van Hentenryck, P. Extending Equation Solving and Constraint Handling in Logic Programming. In Proceedings of Colloquium on The Resolution of Equations in Algebraic Structures (CREAS). MCC, Austin, Texas, USA, May, 1987.

    Google Scholar 

  7. Eshghi, K. Application of Meta-Level Programming to Fault Finding in Logic Circuits. Logic Programming and its Applications. Ablex Publishing Corporation, 1985, pages 208 - 219.

    Google Scholar 

  8. Genesereth, M.R. The Use of Design Descriptions in Automated Diagnosis. Artificial Intelligence 240: 411 - 436, 1984.

    Article  Google Scholar 

  9. Naish, L. Mu-Prolog 3.1db Reference Manual Melbourne University edition, 1984.

    Google Scholar 

  10. Reiter, R. A Theory of Diagnosis from First Principles. Technical Report, University of Toronto, December, 1985.

    Google Scholar 

  11. Shortliffe, E. MYCIN: Computer-Based Medical Consultation. American Elsevier, New York, 1976.

    Google Scholar 

  12. Simonis, H. and Dincbas, M. Using an Extended Prolog for Digital Circuit Design. In IEEE-International Workshop on AI-Applications to CAD-Systems for Electronics. Munich, W. Germany, October, 1987.

    Google Scholar 

  13. Sussman, G.J. and Steele, G.L. CONSTRAINTS-A Language for Expressing Almost-Hierarchical Descriptions. Artificial Intelligence 14 (1): 1 - 39, 1980.

    Article  Google Scholar 

  14. Van Hentenryck, P.. and Dincbas, M. Domains in Logic Programming. In Proceedings of the National Conference on Artificial Intelligence (AAAI-86), pages 759 - 765. Philadelphia, USA, August, 1986.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Simonis, H., Dincbas, M. (1987). Using Logic Programming for Fault Diagnosis in Digital Circuits. In: Morik, K. (eds) GWAI-87 11th German Workshop on Artifical Intelligence. Informatik-Fachberichte, vol 152. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-73005-4_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-73005-4_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-18388-4

  • Online ISBN: 978-3-642-73005-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics

Navigation