Skip to content

OmerFarukAY/fuzzy-logic-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

🚗 Autonomous Vehicle Brake Control System (Fuzzy Logic)

Python Fuzzy Logic

📌 About the Project

This repository contains an application study demonstrating an Autonomous Vehicle Brake Control System powered by Fuzzy Logic. The system evaluates real-time environmental factors to determine the optimal braking pressure, ensuring safety and ride comfort.

This project was developed to model human-like decision-making processes in autonomous driving scenarios using mathematical fuzzy sets and rules, moving away from rigid binary constraints.

⚙️ Features

  • Mamdani Fuzzy Inference System: Implements logical rules to mimic human driving intuition.
  • Input Variables: Evaluates dynamic environmental inputs such as Speed (Hız) and Distance (Mesafe).
  • Output Variable: Calculates the precise and safe Brake Pressure (Fren Basıncı).
  • Visualization: Graphical representations of membership functions and the defuzzification process.

📈 Visualizations

Here are the fuzzy set representations for our system's inputs and outputs:

1. Speed (Hız) Input

hiz

2. Distance (Mesafe) Input

mesafe

3. Brake Pressure (Fren Basıncı) Output

fren

🛠️ Technologies & Libraries

  • Python 3.x
  • NumPy & SciPy: For numerical operations, mathematical modeling, and scientific computing.
  • NetworkX: For structural analysis and modeling.
  • Matplotlib: For visualizing the fuzzy sets and output graphs.

🚀 Installation & Setup

  1. Clone the repository:
    git clone [https://github.com/OmerFarukAY/fuzzyLogicProject.git](https://github.com/OmerFarukAY/fuzzyLogicProject.git)
    cd fuzzyLogicProject
    
  2. Install the required dependencies:
    pip install scipy networkx matplotlib numpy scikit-fuzzy
    
  3. Run the application:
    python otonomFrenleme.py
    

Author: Ömer Faruk AY

About

A Python-based Fuzzy Logic system that calculates optimal brake pressure for autonomous vehicles based on real-time speed and distance inputs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages