0% found this document useful (0 votes)
64 views25 pages

Chapter 4 Soft Comping

1) Greg Viot's fuzzy cruise controller uses fuzzy logic to control the speed of a vehicle based on inputs like speed difference and acceleration. It applies fuzzy rules to determine throttle adjustments. 2) Yamakawa's air conditioning controller also uses fuzzy logic and inputs like temperature to control the air conditioning system. 3) Fuzzy logic can optimize washing machines by making decisions about processes like wash cycles based on uncertain inputs like laundry load and water temperature.

Uploaded by

dr.fakebro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views25 pages

Chapter 4 Soft Comping

1) Greg Viot's fuzzy cruise controller uses fuzzy logic to control the speed of a vehicle based on inputs like speed difference and acceleration. It applies fuzzy rules to determine throttle adjustments. 2) Yamakawa's air conditioning controller also uses fuzzy logic and inputs like temperature to control the air conditioning system. 3) Fuzzy logic can optimize washing machines by making decisions about processes like wash cycles based on uncertain inputs like laundry load and water temperature.

Uploaded by

dr.fakebro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Soft Computing

Chapter 4 : Applications of Fuzzy logic


For BTI, Computer Engineering, MPSTME
Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

• Fuzzy vehicle cruise control is a control system used in automotive engineering to manage
the speed of a vehicle. It is based on fuzzy logic, a mathematical approach that allows for
the modeling of uncertainty and imprecision in decision-making. Fuzzy logic is particularly
useful in control systems where precise mathematical models are difficult to establish due to
the complexity of real-world conditions.

• Here's how fuzzy vehicle cruise control works:

• Input Variables: The system takes input from various sensors, such as speed sensors,
distance sensors, and throttle position sensors. These sensors provide data about the
vehicle's current speed, the distance to the vehicle in front, and the driver's desired speed
(setpoint).

Chapter 2 (Part 2) Soft Computing 9/25/2023 2


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

• Fuzzy Inference: Fuzzy logic uses linguistic variables and membership functions to represent and
process input data. For example, speed can be represented as "slow," "medium," and "fast," and
the input values are assigned membership degrees to these categories based on their proximity to
these linguistic terms.

• Fuzzy Rules: The control system uses a set of predefined fuzzy rules to determine how to adjust
the throttle or brake to maintain the desired speed while keeping a safe following distance. These
rules are typically defined by experts in the field and are based on a combination of input
variables.

• Fuzzy Logic Engine: A fuzzy logic engine processes the input data using the fuzzy rules and
computes an output control action. This control action represents how much the throttle or
brake should be applied to achieve the desired speed and maintain a safe following distance.

Chapter 2 (Part 2) Soft Computing 9/25/2023 3


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

• Defuzzification: The final control action, which is in a fuzzy linguistic form, is converted into a
crisp, real-world control signal that can be sent to the vehicle's throttle and brake systems.

• Feedback Loop: The system continuously monitors the vehicle's speed and distance to the vehicle
in front and adjusts the control action as needed to maintain the desired speed and safe following
distance.

• Fuzzy vehicle cruise control has the advantage of being able to handle the imprecise and
uncertain nature of real-world driving conditions. It can make smooth and gradual adjustments
to the throttle and brake, leading to a more comfortable and fuel-efficient driving experience.
However, it may require careful tuning of the fuzzy rules and membership functions to work
effectively in different driving scenarios and under varying conditions. Additionally, modern
adaptive cruise control (ACC) systems often incorporate fuzzy logic alongside other control
techniques to provide advanced features like stop-and-go functionality and collision avoidance.
Chapter 2 (Part 2) Soft Computing 9/25/2023 4
Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

APPLICATIONS

In this section we illustrate two examples of Fuzzy systems, namely


(1) Greg Viot's (Greg Viot, 1993) Fuzzy Cruise Control System
(2) Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Greg Viot's Fuzzy Cruise Controller

This controller is used to maintain a vehicle at a desired speed. The system consists of two fuzzy inputs, namely
speed difference and acceleration, and one fuzzy output, namely throttle control

Chapter 2 (Part 2) Soft Computing 9/25/2023 5


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 6


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 7


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Greg Viot's Fuzzy Cruise Controller

• Here, x which is the system input has its membership function


values computed for all fuzzy sets. For example, the system
input speed difference deals with 7 fuzzy sets, namely NL,
NM, NS, ZE, PS, PM, and PL. For a measured value of the
speed difference, the membership function of in each of the
seven sets is computed using the formula shown in Fig. 8.7.
Let u, be the seven membership values. Then, all these values
are recorded for the input x in an appropriate data structure.
• Similarly, for each of the other system inputs (acceleration in
this case), the fuzzy membership function values are recorded.

Chapter 2 (Part 2) Soft Computing 9/25/2023 8


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 9


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 10


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 11


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Greg Viot's Fuzzy Cruise Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 12


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 13


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 14


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 15


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 16


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller
Yamakawa's (Yamakawa, 1993) Air Conditioner Controller

Chapter 2 (Part 2) Soft Computing 9/25/2023 17


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller


• Fuzzy logic in washing machine applications refers to
• the use of fuzzy logic control systems to optimize and automate the washing process.
• Fuzzy logic allows washing machines to make decisions based on imprecise and uncertain
information, such as
• the type and amount of laundry,
• water temperature,
• detergent amount, and other factors,
• to achieve better wash results.
Chapter 2 (Part 2) Soft Computing 9/25/2023 18
Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller - Input Variables


• Laundry Load: Sensors or load sensors measure the weight and volume of the laundry to
determine the load size.
• Water Quality: Some advanced washing machines may have sensors to measure water
hardness or quality.
• Detergent Amount: Users may input the detergent amount or use a detergent dispenser.
• Water Temperature: Users select or input the desired water temperature.
• Wash Cycle: Users select the type of wash cycle, such as gentle, normal, or heavy-duty.

Chapter 2 (Part 2) Soft Computing 9/25/2023 19


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller – Inference and Rules


• Fuzzy Inference: Fuzzy logic is used to process these input variables. Linguistic
variables, like "small load," "hard water," "low detergent," and "gentle wash," are
defined to represent the input data. Membership functions assign degrees of
membership to these linguistic terms based on the input values.
• Fuzzy Rules: A set of predefined fuzzy rules is established to determine how to
adjust the washing machine's settings. These rules take into account factors like load
size, water quality, detergent amount, and wash cycle to optimize the wash process.

Chapter 2 (Part 2) Soft Computing 9/25/2023 20


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller – Fuzzy Logic Engine and Defuzzification


• Fuzzy Logic Engine: The fuzzy logic engine evaluates the input data using the
defined rules and membership functions to calculate an output control action. This
output action dictates the washing machine's behavior, including water level,
agitation intensity, rinse cycle duration, and spin speed.

• Defuzzification: The fuzzy output action is converted into concrete control


commands that the washing machine's control system can understand and execute.

Chapter 2 (Part 2) Soft Computing 9/25/2023 21


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller – Control system and feedback loop


• Washing Machine Control: The control system sends the computed commands to
the washing machine's various components, such as the water inlet valve, agitator or
drum motor, and drain pump, to carry out the wash cycle adjustments.

• Feedback Loop: The system continuously monitors the wash process, making real-
time adjustments based on factors like load distribution, detergent dissolution, and
water quality to optimize washing performance.

Chapter 2 (Part 2) Soft Computing 9/25/2023 22


Chapter 4 :Applications of Fuzzy logic: Fuzzy rule based system, Greg Viot 's
fuzzy cruise controller, Air conditioning controller, Washing Machine Controller

Washing Machine Controller – Benefits


• Improved wash quality: Fuzzy logic allows the washing machine to adapt its settings to the
specific laundry load and conditions, resulting in cleaner and more efficient washing.
• Energy and water efficiency: By optimizing the wash process, fuzzy logic can reduce water
and energy consumption.
• User-friendly: Users can select wash cycles and load laundry without needing to fine-tune
settings, making the washing process more convenient.
• Fuzzy logic in washing machines is particularly valuable for users who want the benefits of
customized washing without the need to manually adjust settings for each load. It optimizes
the washing process to deliver cleaner clothes while minimizing resource consumption.

Chapter 2 (Part 2) Soft Computing 9/25/2023 23


Questions/problems

Chapter 2 (Part 2) Soft Computing 9/25/2023 24


Chapter 2 :Fuzzy logic and Fuzzy systems :- F`uzzy set theory crisp sets Fuzzy set Crisp
relations fuzzy relations fuzzy systems crisp logic predicate logic fuzzy logic fuzzy rule based
system

Thank You Chapter 4

Chapter 2 (Part 2) Soft Computing 9/25/2023 25

You might also like