You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Based on Battery Charging using Fuzzy Logic Controller using logic ,simulation is to be done in discrete time mode with sample size of 1 micro second .
[System]
Name='mppttestcopy'
Type='mamdani'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=25
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='centroid'
[Input1]
Name='dPpv'
Range=[-30 30]
NumMFs=5
MF1='NB':'trimf',[-45 -30 -15]
MF2='NS':'trimf',[-30 -15 0]
MF3='ZE':'trimf',[-15 0 15]
MF4='PS':'trimf',[0 15 30]
MF5='PB':'trimf',[15 30 45]
[Input2]
Name='dVpv'
Range=[-16.1 16.1]
NumMFs=5
MF1='NB':'trimf',[-24.15 -16.1 -8.05]
MF2='NS':'trimf',[-16.1 -8.05 0]
MF3='ZE':'trimf',[-8.05 0 8.05]
MF4='PS':'trimf',[0 8.05 16.1]
MF5='PB':'trimf',[8.05 16.1 24.15]
[Output1]
Name='PWM'
Range=[-16.1 16.1]
NumMFs=5
MF1='NB':'trimf',[-24.15 -16.1 -8.05]
MF2='NS':'trimf',[-16.1 -8.05 0]
MF3='ZE':'trimf',[-8.05 0 8.05]
MF4='PS':'trimf',[0 8.05 16.1]
MF5='PB':'trimf',[8.05 16.1 24.15]
[Rules]
1 1, 4 (1) : 1
1 2, 5 (1) : 1
1 3, 1 (1) : 1
1 4, 1 (1) : 1
1 5, 2 (1) : 1
2 1, 4 (1) : 1
2 2, 4 (1) : 1
2 3, 2 (1) : 1
2 4, 2 (1) : 1
2 5, 2 (1) : 1
3 1, 3 (1) : 1
3 2, 3 (1) : 1
3 3, 3 (1) : 1
3 4, 3 (1) : 1
3 5, 3 (1) : 1
4 1, 2 (1) : 1
4 2, 2 (1) : 1
4 3, 4 (1) : 1
4 4, 4 (1) : 1
4 5, 4 (1) : 1
5 1, 2 (1) : 1
5 2, 1 (1) : 1
5 3, 5 (1) : 1
5 4, 5 (1) : 1
5 5, 4 (1) : 1
Cite As
Krishanu Singh (2026). Battery Charging Using Fuzzy Logic Based MPPT Algorithm (https://ch.mathworks.com/matlabcentral/fileexchange/127798-battery-charging-using-fuzzy-logic-based-mppt-algorithm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (69.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
|