How Do I Fix This Fuzzy Gain Scheduling System?
4 views (last 30 days)
Show older comments
Here I attached The System by following this paper that i find. I can not run the system because of the error.
0 Comments
Accepted Answer
Sam Chak
on 9 Jun 2022
The error occurs because the Plant Transfer Function block can ony accept 1 INPUT, instead 3 SEPARATE Inputs.
The PID controller produces only 1 Output, despite it has 3 Components, namely Proportional, Derivative, and Integral actions.
Important node: Fixing this issue should allow you to run the simulation without error message.
You have designed 3 Fuzzy Systems for the Nonlinear Gain Schedules of Kp, Kd, and Ki. Unknowingly, I suspect that you created outputs {, , α} for each of the Fuzzy System.
So, please ensure that each Fuzzy System has only one corresponding Output as shown in the figure below, and the problem should be fixed. Whether the results are satisfactory or not, this is a different unrelated issue that requires some tuning of the fuzzy membership functions and the rules. In fact, you shouldn't directly follow the proposed values {10000}, {500}, and {1} in the paper if your Plant model is different. I understand that you may want to get it run successfully first, and then tune them later.
8 Comments
More Answers (0)
See Also
Categories
Find more on Fuzzy Logic in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!