home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / ai / fuzzy / 136 < prev    next >
Encoding:
Text File  |  1993-01-21  |  6.9 KB  |  138 lines

  1. Newsgroups: comp.ai.fuzzy
  2. Path: sparky!uunet!usc!news.service.uci.edu!gordius!til!maui!erik
  3. From: erik@til.com (Erik Horstkotte)
  4. Subject: Re: WHEN and WHY should I use FUZZY logic?
  5. Message-ID: <1993Jan21.190320.5176@til.til.com>
  6. Sender: usenet@til.til.com
  7. Nntp-Posting-Host: maui
  8. Reply-To: erik@til.com
  9. Organization: Togai InfraLogic, Inc.
  10. References: <C15uAt.8nH@cpqhou.se.hou.compaq.com>
  11. Date: Thu, 21 Jan 1993 19:03:20 GMT
  12. Lines: 124
  13.  
  14. In article 8nH@cpqhou.se.hou.compaq.com, pipkinsj@cpqhou.se.hou.compaq.com (Jeff Pipkins ) writes:
  15.  
  16. >I want to know WHEN I should use it, and WHY.  What will I gain from it?
  17.  
  18. Here are some WHENs and WHYs.  The list is by no means exhaustive, but it will
  19. give you an idea.
  20.  
  21. o WHEN you are automating a system that historically has had a human operator.
  22.   WHY? It turns out that it's fairly easy to encode a human operator's knowledge
  23.   about controlling the system in fuzzy terms, yielding a reasonable controller
  24.   that can easily be tuned and improved.  This is also applicable in non-control
  25.   fields, of course.
  26.  
  27. o WHEN you can describe a mathematical system you want to implement more easily
  28.   by rules than by other approaches.  This arises in financial and management
  29.   environments, for example.  WHY?  Are you a masochist? :-)
  30.  
  31. o WHEN you need to define a nonlinear mapping that allows making local changes
  32.   without redoing the whole system.  WHY?  It's frequently useful to do so.
  33.  
  34. o WHEN the ability to hand-tune the system is an important concern.  WHY?
  35.   Because fuzzy expert systems are relatively easy to tune (by hand or
  36.   automatically).
  37.  
  38. o WHEN other control techniques don't accomplish what you need done.  WHY? It's
  39.   another possible approach.
  40.  
  41. >Some say shorter and more simplified development time.  But that is a
  42. >rather, um, vague answer.  
  43.  
  44. You want an equation, maybe?
  45.  
  46. >There are many devices which [regretably?] can only be turned on or off.  
  47. >Examples are an electric water heater, electric stove, and an air
  48. >conditioner.  I do not understand how fuzzy logic can do anything but
  49. >complicate these matters.
  50.  
  51. Electric water heaters aren't necessarily on/off devices.  We've been working
  52. on one (on and off :-)) that's an inline flash heater (no tank) where the
  53. heating unit is actually composed of several resistive heaters which can be
  54. switched on and off separately.  The heaters are physically located in series
  55. down the water pipe, so there are interesting delay effects involved.  Fuzzy
  56. control seems (so far in development) to be pretty good at choosing which
  57. elements to turn on and off and when to keep a constant output temperature
  58. in the face of varying water flow.
  59.  
  60. Electric stove?  Hum...  Unless it's a *really advanced* one with some kind
  61. of "auto-cook" mode, I can't see any point in using fuzzy logic either.
  62.  
  63. The new fuzzy logic-controlled A/C units in Japan aren't on/off devices
  64. either.  Instead, they have a variable-rate compressor unit that allows the
  65. control system to adjust the rate at which heat is removed from the room
  66. to control the temperature, instead of cycling on and off.  According to
  67. Mitsubishi, with whom we developed the control system for the (I kid you
  68. not) Beaver Warp series of A/C units, they are saving about 30% of the
  69. power consumption (I suspect this is only in a situation where the older
  70. model cycled on and off *a lot*).
  71.  
  72. >One explanation was that if you set your AC on say, 75F, you don't want
  73. >the AC to oscillate on and off as the temp goes below and above that
  74. >point.  But that's not how thermistats work anyway.  Either they have
  75. >a trigger point and a setting for how long the AC stays on, or they
  76. >have two trigger points, one for turning it on, the other for turning
  77. >it off.  Either way, you've basically defined "too cold" and "too hot".
  78. >Okay, so now we use fuzzy logic, and we start by defining how cold and
  79. >how hot each degree is.  Then we fuzzify everything, apply rules, and
  80. >then defuzzify it.  In the end, we still have one basic binary decision:
  81. >either we turn the AC on, or we turn it off.  There can be no added
  82. >"smoothness".  It's just on or off.  I don't get it.
  83.  
  84. But you might be able to make better decisions about *when* to turn it on
  85. and off.  We haven't tried this angle ourselves, but it's a possible line
  86. of investigation.  I don't expect it would help much.
  87.  
  88. >Okay, so what about situations where the output is not binary?  When I
  89. >ask this question, people start telling me about a robot that's balancing
  90. >a yardstick (or meterstick) on it's hand.  Well, that's a real neat
  91. >thing, and if I ever have to write one of those, I'll think about it.
  92. >But I really don't understand why a polynomial wouldn't work as well.
  93.  
  94. Let's back off for a minute and look at what things a fuzzy expert system
  95. does from a mathematical point of view.  Basically, a fuzzy expert system
  96. is a (potentially) nonlinear mapping between an input space and an output
  97. space.  Given this, it's obvious that you can, indeed, create a multi-
  98. variable polynomial that will approximate any mapping that could be created
  99. by a fuzzy expert system.  There are several problems with using a
  100. polynomial to do this, however.
  101.  
  102. 1. To approximate the I/O surface of the fuzzy system "well enough" will
  103.    probably require a rather high-order polynomial, unless the I/O surface
  104.    is *very* smooth.
  105.  
  106. 2. One of the nice characteristics of fuzzy expert systems is that you can
  107.    make local adjustments to the I/O surface without global effects.  For
  108.    example, if I change the output membership function in one rule, it
  109.    affects the outputs only for the area where that rule's premise has a
  110.    non-zero truth value.  Assuming that the input membership functions are
  111.    triangular, and that the rule premises each test all input variables and
  112.    use only the AND connective (no ORs), then this area of the I/O surface
  113.    is a rectangular prism.  For a two-input system with these restrictions,
  114.    the area affected is a rectangle.  This makes tuning a fuzzy expert
  115.    system relatively easy.
  116.  
  117.    For a polynomial, the opposite is true.  If you want to change the
  118.    value of an output at a particular value of the inputs, the entire
  119.    polynomial has to change, or the entire I/O surface changes.  This makes
  120.    tuning rather more difficult.
  121.  
  122. In fact, fuzzy expert systems are *very* similar mathematically to a close
  123. cousin of polynomials - splines.  As I'll discuss more the article I
  124. promised earlier about fuzzy control, you can think of a fuzzy expert system
  125. as a generalized multidimensional spline system.
  126.  
  127. >I'm trying to keep an open mind about this whole fuzzy thing, but I just
  128. >can't imagine a situation where I could benefit from it.  I'm willing to
  129. >assume that the problem is my ignorance...  So, enlighten me!
  130.  
  131. Hopefully, this has shed some light.  Fire another salvo if it doesn't. :-)
  132. ---
  133. Erik Horstkotte, Togai InfraLogic, Inc.
  134. The World's Source for Fuzzy Logic Solutions (The company, not me!)
  135. erik@til.com, gordius!til!erik - (714) 975-8522
  136. info@til.com for info, fuzzy-server@til.com for fuzzy mail-server
  137.  
  138.