Fuzzy logic
Fuzzy logic is a form of logic in which statements can be partly true, with truth values anywhere from 0 to 1, used to build control systems that reason with vague categories such as warm or fast.
Ordinary Boolean logic allows only two truth values: a statement is true (1) or false (0). Fuzzy logic allows any value in between, so it can represent partial truth. A room at 22°C might be warm to degree 0.7 and hot to degree 0.2. That matches the way people describe the world, in categories with blurred edges, and it lets engineers write control rules in close to everyday language.
The foundation is Lotfi Zadeh's 1965 paper 'Fuzzy sets' in the journal Information and Control, which let an item belong to a set to a degree rather than simply in or out. Logics with more than two truth values had been studied since the 1920s by Jan Łukasiewicz and Alfred Tarski, but Zadeh's work turned the idea into an engineering tool.
A fuzzy controller works in three steps. Fuzzification turns precise readings into degrees of membership using membership functions, often simple triangles or trapezoids. A set of IF-THEN rules, such as 'if the room is warm and getting warmer, turn the fan up a lot', combines those degrees. Defuzzification turns the combined result back into one precise setting, commonly by taking the centre of gravity of the output curve. Ebrahim Mamdani's method follows these steps; the Takagi-Sugeno-Kang approach uses weighted averages of rule outputs instead.
Japan made the idea famous. The Sendai Subway 1000 series, which entered service in 1987, was the first train type to use fuzzy logic to control its speed; its Hitachi system gave smoother starts and stops and used about 10% less energy than human-controlled acceleration. Fuzzy control later appeared in washing machines, vacuum cleaners, car systems and medical decision aids.
Fuzzy logic is often confused with probability, since both use numbers between 0 and 1, but they answer different questions. Probability deals with uncertainty about whether something will happen; fuzzy logic deals with vagueness about how far something fits a description. It rarely features in AI news now, which is dominated by neural networks, but it remains in use in control engineering, and its rules have the advantage that a person can read them.
It is logic that allows degrees of truth instead of only true or false. A statement such as 'the water is hot' can be 0.8 true rather than simply true. This lets machines follow rules written in vague everyday terms and produce smooth, graded responses. It is generally counted as a classic AI technique, particularly in rule-based and expert systems, because it lets machines reason with imprecise knowledge. It is quite different from modern machine learning: fuzzy rules are usually written by people rather than learned from large amounts of data. Both use values from 0 to 1, but they model different things. Probability expresses how likely an event is, while fuzzy logic expresses how far something belongs to a vaguely defined category. A 70% chance of rain is a probability; a day that is 0.7 'rainy' is a fuzzy description. Its best-known uses are in control systems. The Sendai Subway 1000 series used it to control train speed from 1987, and it has been used in washing machines, vacuum cleaners, car fuel systems and medical decision-making tools.Common questions
What is fuzzy logic in simple terms?
Is fuzzy logic artificial intelligence?
What is the difference between fuzzy logic and probability?
Where is fuzzy logic used?
Search for "fuzzy logic control", "fuzzy set theory Zadeh" or "Mamdani fuzzy inference" to see how fuzzy systems are designed. Engineering textbooks, university lecture notes and control engineering journals are the most dependable sources. Be cautious with product marketing that calls an appliance 'fuzzy logic' or 'AI powered', which rarely explains what the system actually does.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.