- Normalize the dataset by dividing each input by its maximum value to ensure uniform scaling.
- Ignore errors by turning off warnings or changing error settings in the fuzzy logic controller block in Simulink.
- Manually adjust the upper and lower bounds for input and output membership functions to accommodate for the error.
- Employ an additional set of fuzzy rules that consider error derivatives for better control over the fuzzy logic-based controller outputs. Note that this approach requires extra setup work and computation time..
- Define fuzzy input membership functions capable of handling values outside the specified range to ensure the controller can handle a wider range of input values.
How can I solve the problem about "input 2 expects a value in range [-3 3]"with fuzzy logic controller?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I used the fuzzy logic controller with 2 inputs.But there are many warnings about its range.
Please see the pictures.
I also used the Saturation to limit the value......
A more incomprehensible question was that after changing the setting "out of range input value" from "warning" to "error" ,No error occurred!!
Please help me to solve these problems.
Thank you for your reply!
![微信图片_20190303175757.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206591/image.png)
![微信图片_201903031757571.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206592/image.png)
![微信图片_201903031757572.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206593/image.png)
![微信图片_201903031757573.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206594/image.png)
0 Kommentare
Antworten (1)
Sanju
am 25 Apr. 2024
For further assistance please share your model.
You can also refer to the below documentation links for more information,
Hope this helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!