This repository contains the project report and MATLAB outputs for a Fuzzy Logic Controller (FLC) designed for a robotic vacuum cleaner. The intelligent system adapts its cleaning strategy based on environmental inputs such as dirtiness level and proximity to obstacles, demonstrating the power of fuzzy logic in automation.
Develop a Fuzzy Logic Controller for a robotic vacuum cleaner using MATLAB. The controller:
- Dynamically adjusts cleaning speed and patterns based on real-time inputs.
- Avoids obstacles efficiently.
- Adapts cleaning strategies based on environmental conditions.
- Uses fuzzy rules and membership functions for intelligent decision-making.
Fuzzy_PBL.docx
: Detailed project report, including:- Problem statement.
- Theoretical explanation of fuzzy logic.
- MATLAB code and outputs.
- Flowcharts, algorithms, and conclusions.
README.md
: Documentation for the project.
The MATLAB implementation includes:
-
Membership Function Editors:
- Define input and output variables.
- Design fuzzy sets for dirtiness level, obstacle proximity, and cleaning speed.
-
Rule Viewer:
- Displays fuzzy if-then rules in action.
-
Surface Viewer:
- Illustrates the relationship between input variables and output decisions.
-
Fuzzy Logic Designer:
- Simulates the system and evaluates fuzzy inference rules.
- Visualizations from MATLAB's Fuzzy Logic Toolbox, such as rule viewers, membership functions, and surface plots, are documented in the project report.
- The project also includes a Python implementation of the fuzzy logic system using the
scikit-fuzzy
library.
- Dynamic Control: Uses fuzzy logic for real-time decision-making.
- Obstacle Avoidance: Intelligent navigation through obstacles.
- Multi-Platform: MATLAB for simulation, Python for real-world implementation.
- User-Friendly Interface: Simulates fuzzy inference and provides interpretable outputs.
- Open MATLAB.
- Use the code provided in
Fuzzy_PBL.docx
to set up and run the fuzzy logic system. - Visualize the outputs using:
- Membership Function Editors.
- Rule Viewers.
- Surface Viewers.