Optimal Fuzzy Logic Controller using PSO
This package is only for optimization of the scaling factors.
It is assumed that the 5 triangular membership functions equally distributed with 25 rules.
This may not be the best way to construct the Fuzzy Logic Controller (FLC),
because the FLC is reconstructed at every simulation run and hence it may be much slower than a fixed FLC structure.
However, here we are able to optimize not only the input-output scaling factors, but also the the input/output membership function distribution and the rule-base.
Three sets of files will be uploaded eventually:
1- Only optimizes the scaling factors (T)
2- Only optimizes the distribution of the membership functions (S), assuming that “T”s are already optimized.
3- Only optimizes the rule-base (R), assuming that “T”s and “S”s are already optimized.
Note: You have to use MATLAB 2014b or later
Cite As
Amin (2024). Optimal Fuzzy Logic Controller using PSO (https://www.mathworks.com/matlabcentral/fileexchange/52230-optimal-fuzzy-logic-controller-using-pso), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Control System Design and Tuning > PID Controller Tuning >
- Mathematics and Optimization > Global Optimization Toolbox > Particle Swarm >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Note: You have to use MATLAB 2014b or later |