1 / 26

Fuzzy Logic and Sun Tracking Systems

Fuzzy Logic and Sun Tracking Systems. Ryan Johnson December 9, 2002 Calvin College ENGR315A. Overview. Introduction History and Explanation of Fuzzy Logic Fuzzy Logic Applied Conclusion Questions. Introduction. The world we live in: How do we describe it?

heidi
Télécharger la présentation

Fuzzy Logic and Sun Tracking 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. Fuzzy Logic and Sun Tracking Systems Ryan Johnson December 9, 2002 Calvin College ENGR315A

  2. Overview • Introduction • History and Explanation of Fuzzy Logic • Fuzzy Logic Applied • Conclusion • Questions

  3. Introduction • The world we live in: How do we describe it? • Defined in 1’s and 0’s, true and false, A or not-A, black and white • How do we define a half eaten apple? • Half there or half gone? • Is the glass half full or half empty? • What is a house?

  4. Grayness • Grayness in a world of black and white… • Math and science do not fit the world they describe. • We have taken tendencies and relationships that have remained true for a period of time… • The world we live in is filled with much grayness that can not be accurately described in black and white. • This grayness can be described as “Fuzziness.”

  5. Grayness Example • Scientific model showing either adult or not adult…

  6. Grayness model showing a gray area where someone could have both non-adult and adult characteristics. To a degree they are an adult and to a degree they are a non-adult… • Grayness is a key principle in Fuzzy Logic…

  7. What is Fuzzy Logic? • Fuzzy logic is a rule-based decision process. • It seeks to solve problems where the system is difficult to model and where ambiguity or vagueness (grayness) is abundant between extremes. • It allows the system to be defined by logic equations rather than complex differential equations.

  8. History • Originator-Lotfi Zadeh, UC Berkeley, Dept. of Electrical Engineering and Computer Sciences • Began with a paper in 1965 on fuzzy sets. • He named it “fuzzy” because “it ties to common sense.” • U.S. History • Took much criticism from probability schools, people who wanted to see fuzzy logic applied, and people who couldn’t see the grayness that he was speaking about. • The Western world had a hard time accepting Fuzzy Logic because it challenged their scientific ideas and thought. • Eastern World • Accepted and embraced fuzzy thinking. • In 1980, Japan pursued fuzzy logic for their controls and by 1990 had over 100 real fuzzy control applications. • Today…

  9. Fuzzy Sets • Fuzzy thinking and fuzzy logic occurs in sets. • Example: • Vehicle: What is a vehicle to you? • Vehicle represents a fuzzy set and things belong to this fuzzy set to some degree. • Fuzzy sets are the building blocks of fuzzy systems. • They can be broken down further into subsets such as an off road vehicle. An off road vehicle is a subset of vehicle.

  10. Fuzzy Rules • Human knowledge builds fuzzy rules. • Consider the decision to bring an umbrella to work under the following circumstances: • 70% chance of rain. • An umbrella keeps you dry. • If it rains you will get wet. • If you get wet, you will be uncomfortable at work. • If you have an umbrella you will be dry. • Through this knowledge, you reason to bring an umbrella to work. • The knowledge of the percentage of rain and what an umbrella is used for led you to make rules that guided you through your reasoning.

  11. Fuzzy System • The fuzzy sets and fuzzy rules combine to form a fuzzy system. • Consider a sun tracking system for a standalone photovoltaic system…

  12. Building the Fuzzy System • Details and Background • Single Axis tracking system • Pole mount system that rotates with the sun throughout the day • Fixed tilt angle with the season • Two light intensity sensors, one on the right side of the panel, one on the left side of the panel. • At night, the panel automatically moves back to the morning position. • MATLAB VS. Mathematica • Mathematica only has fuzzy tools in version 2.2 (Very old school)

  13. MATLAB Fuzzy Toolbox • Type in “fuzzy” in at the MATLAB prompt. • Included in MATLAB 6.1.

  14. System Sketch and Setup

  15. Step 1: Choose variables • The variables become the input (X) and output (Y) • In this case, X is both of the light intensity sensors. There is a logic device that compares each sensor measurement to see which side has more intensity making this a single input system. • Y, the output is the amount (degrees) to move the panel clockwise or counter-clockwise. • If X, then Y • If the sun is more intense in the right sensor, rotate the panel toward the right some degrees.

  16. Step 2: Pick the Fuzzy Sets • Pick subsets of the inputs and outputs. • Draw these as curves or triangles.

  17. Input Subsets • Engineering judgment and common sense define how these triangles are shaped. • The widest sets are least important and give rough control. • Thin sets give fine control and bring quick adjustment.

  18. Output Subsets

  19. Step 3: Pick the fuzzy rules

  20. Curve of Rules

  21. Results: Facing the sun

  22. More intensity in the right sensor

  23. Cloud Lift

  24. Defuzzification • The triangles are usually added… • Then the average of the addition is found as the defuzzified value. B’1 If A1, then B1 If A2, then B2 B’2 X A + . . B Defuzzification Y If Ai, then Bi B’i

  25. Conclusion • Fuzzy logic allows control with little math. • It is very difficult and often impossible to represent a natural process with an accurate equation • Fuzzy Logic is another way to look at the world. • Step back and consider the problem. It doesn’t always involve huge, difficult solutions.

  26. Questions?

More Related