Skip to content

Intuitive Fuzzy Logic Controller Design using MATLAB/Simulink

License

Notifications You must be signed in to change notification settings

jarpoole/intuitive-fuzzy-logic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Video

Watch the video that goes with this repository for a primer on fuzzy logic control here: https://www.youtube.com/watch?v=_MahS96EqQA

Paper

Read the IEEE paper for a more complete understanding of applying intuition to fuzzy logic controller design

Simulation

The simulation folder contains the MATLAB/Simulink source code for a 2-wheeled robot and self-balancing controller.

2-wheeled cart

I should note that I'm not sure exactly who created the original robot model as there seem to be many versions now but I adapted mine from a model by Mouad Boumediene here.

At a high-level, the model consists of a fuzzy logic controller in a closed-loop with a plant which describes the robot. The controller considers the angle, angular velocity, position and linear velocity of the robot when making decisions.

loop

Simulink multibody was used to describe the physics of the cart by introducing both gravity and friction with the floor into the simulation.

plant

The model also allows the various feedback dimensions to be introduced separately. For example, from left to right, after the changes:

  1. No closed-loop feedback
  2. Angle only
  3. Adding angular velocity
  4. Adding position
  5. Adding linear velocity

About

Intuitive Fuzzy Logic Controller Design using MATLAB/Simulink

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages