Look at this example: The inputs are Weft Stretch and BMI. And the Output 1 is Chest circumference.
If the following input values are entered, Weft Stretch = 85 and BMI = 23, then no rules are fired for Output 1. This happens because the designer forgot to take the Medium Stretch MF into account during the construction of the fuzzy rules. Thus, the defuzzified output value will automatically set to its mean range value 3 + (10 – 3)/2 = 6.5 (see the position of the red vertical bar).
To avoid this error, if the grid-partition method in generating fuzzy rules is used, then a total number of are expected for each output, provided that the 3 MFs in each input cover the entire the universe of discourse.
Thank you in advance for trying to help me workaround these issues, I share with you my rules, and as you can see I do not have those red lines that you have in your outputs.
I see. When your Power Error = 0, none of rules is fired, because Power Error only has Negative MF (< 0) and Positive MF (> 0).
It is similar to the common issue in low-level collision avoidance systems. If the Obstacle is on the left, then STEER right (+ve angle). If the Obstacle is on the right, then STEER left (–ve angle). When the Obstacle is exactly in the middle, it creates a "confusion" because no rules fired for the STEER output. And if the defuzzified output value set to its mean range value, which is 0° (no steering occurs), then disastrous collision may happen.
The same like playing in Badminton Doubles. If opponents are in a defensive position, and the center of their court is open, then smashing to the middle will cause confusion becaise the opponents have to mentally decide in a split second who must return.
As a first-line rectification, try modifying the membership functions in Power Error to look like in the figure below where the adjacent triangular fuzzy sets cross at 0.5, in which the middle truth-value 0.5 can be interpreted as "undecided". If you fix that, then Rules #5 , #8, #11, and #14 will be fired.
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Translated by
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.