1 / 85

Lecture 10A Overview of Expert Systems

Lecture 10A Overview of Expert Systems. MINE 432 Industrial Automation and Robotics. There is nothing more difficult to carry out, nor more doubtful of success, nor more dangerous to handle than to initiate a n ew order of things. Niccolò di Bernardo dei Machiavelli ( 1469-1527 )

fahim
Télécharger la présentation

Lecture 10A Overview of Expert Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 10AOverview of Expert Systems MINE 432 Industrial Automation and Robotics

  2. There is nothing more difficult to carry out, nor more doubtful of success, nor more dangerous to handle than to initiate a new order of things. Niccolò di Bernardo dei Machiavelli (1469-1527) in Il Principe (The Prince) 1513 (1532)

  3. How and when do we learn?

  4. Elements of AI or Soft Computing Tools and Methods • Expert Systems • Fuzzy Logic • Artificial Neural Networks • Genetic Algorithms Applications • Natural Language Programming • Problem Diagnosis / Troubleshooting • Process Control and Analysis • Robotics and Thinking Machines (Machine Intelligence)

  5. Evolution of Expert Systems

  6. Who is Involved?

  7. Types of Diagnostic Applications

  8. Development Procedure

  9. Factors Affecting Implementation

  10. What Modules are Created?

  11. Syntax • Object • Attributes (an Attribute can become an Object) • Values (a Value can be a word, a string, a number) • Conjunctions (IF – AND – OR) • Predicate Functions is is_not is more_or_less is_definitely is not_definitely might_be is_almost is_very is_not_very

  12. Knowledge Elements • Facts and Classes (Degree of Belief, Age) • Rules (inferencing) • Procedures (functions) • Meta-Knowledge • Explanations (What does that mean?); • Rule descriptions (Why are you asking?); • Justifications (How did you make that conclusion?)

  13. Rule Examples • Rule Porridge-popping IF froth.conditions.porridge-popping AND collector.addition_rate.minimum is FALSE THEN collector.addition_rate_change.Negative_Big is TRUE ELSE MACRO ("Water_addition_increase") • Rule Water_addition_increase IF froth.conditions.porridge-popping AND collector.addition_rate.minimum AND feed.Pb_grade.high is FALSE THEN feed.water_addition.Increase is TRUE ELSE feed.tonnage_rate.Decrease is TRUE

  14. Types of Objects <O><A> are known as Keyword Doublets <O><A><V> are known as Keyword Triplets • Logical KWT hat.colour.green • String KWT hat.colour.@string @string assigned "green" • Numerical KWT hat.size.@f assigned 7.5 hat.size.@i assigned 7 hat.size.@d assigned 7.5 hat.size.@l assigned 7

  15. Object Associations • Logical KWT - mutually exclusive sets - multi-choice sets - fuzzy sets • Logical KWT hat.colour.green • String KWT hat.colour.@string @string assigned "green" • Numerical KWT hat.size.@f assigned 7.5 hat.size.@i assigned 7 hat.size.@d assigned 7.5 hat.size.@l assigned 7

  16. Rule Structure Degree of Truth ( IF "A" AND "B" OR "C" AND "D" THEN "G" ELSE "H" 88 >> 88 ) 94 ( 76 >> 65 ) 65 v v 88 If the Confidence Level ≤ 88

  17. Rule Structure Degree of Truth IF "A" AND "B" OR "C" AND "D" THEN "G" ELSE "H" >> 88 88 ( 94 >> 94 ) 76 >> 65 65 v v 65 If the Confidence Level ≤ 65

  18. Rule Structure Degree of Truth IF "A" AND "B" AND "C" OR "D" THEN "G" ELSE "H" >> 88 88 ( 94 >> 76 ) 76 >> 65 65 v v 76 If the Confidence Level ≤ 76

  19. Classes of Keyword Triplets

  20. Rules

  21. Rules versus Frames

  22. Procedural Functions

  23. Meta-Knowledge

  24. Search Strategies • Forward-chaining (data-driven) • From conclusion to premise • Backward-chaining (goal-driven) • From premise to conclusion • Depth-first searching (likely faster) • Breadth-first searching (more accurate) • Combinations work best • Knowledge states of facts • Unknown (at start) • Instantiated (during the search) • Not known (after searching)

  25. Procedural Search Strategies • FIND ("<O><A><V>") • From conclusion to conclusion • APPLYRULE ("<O><A><V>") • From conclusion to premise • MACRO("Rule_Name") • GOTO ("RULE_Name")

  26. Forward Search Strategies

  27. Forward Search Strategies

  28. Back-Chaining Search Strategies

  29. Functions • Inference control functions • String functions • Presentation functions • Mathematical functions • Statistical functions • Data/time functions • Dynamic variable functions • Knowledge base management functions • Miscellaneous functions

  30. Uncertainty in Expert Systems Degree of Belief in a fact false to true 0-100 hat.colour.green 95 Degree of Truth in a statement hat colour is green 95 hat colour might_be green 100 hat colour is_definitely green 0

  31. Uncertainty in Expert Systems Degree of Truth in a premise IF hat colour is green 95 AND shirt colour is_not purple 70 The AND conjunction takes the MINIMUM DoT So this premise has a DoT of MIN(95,70) = 70

  32. Uncertainty in Expert Systems Degree of Truth in a premise IF hat colour is green 95 AND shirt colour is_not purple 70 OR hat colour is green 95 AND shirt colour is_not red 80 The OR conjunction takes the MAXIMUM DoT Premise has a DoT of MAX(MIN(95,70),MIN(95,80)) = 80

  33. Uncertainty in Expert Systems Net Degree of Truth in a conclusion IF hat colour is green 95 AND shirt colour is_not purple 70 OR hat colour is green 95 AND shirt colour is_not red 80 THEN clothing attire is fashionable CF = 90 CF = Certainty Factor (hence the rule is "fuzzy") >> 70 >> 80 >> 80 v v 72

  34. Inference Equations and Truth Scales

  35. Effect of Certainty Factor (CF) and Confidence Level (CL)

  36. Effect of Certainty Factor (CF)

  37. Valleys vs. Vacuums

  38. Valleys vs. Vacuums

  39. User Interface • Customized questions and explanations • Hypertext documents • Forms for input and output • Animations and pictures • Smart reports • Knowledge units within the interface

  40. Expert Systems for Process Control

  41. Agent-based Approach to Modules

  42. Elements of a Plant-based Expert System

  43. Application to a Secondary Crusher

  44. Networked Simulators

  45. Fuzzy Sets for Power Draw

  46. Fuzzy Sets for Screen Bin Level

  47. Fuzzy Sets for Feed Rate Change

  48. Rules in Tabular Form

  49. Rules shows Connections

  50. Fuzzy Controller

More Related