Artificial Intelligence Applications in Engineering (MUH-920), week 4 of 14: interactive lab
Prof. Dr. Utku Kose, Süleyman Demirel University
Part A evaluates triangular, trapezoidal and Gaussian membership functions and the fuzzy operations with every step shown [1]. Part B runs the five steps of Mamdani inference for the tank controller of the lecture on a chosen grid and compares the result with a zero-order Sugeno model [2], and Part C trains a two-rule ANFIS with least squares and gradient steps [3]. Part D controls the level of a tank with a two-input fuzzy controller. The rule table is editable cell by cell, the control surface updates immediately, and a closed-loop simulation compares the fuzzy controller with an on-off controller while the set point changes [2, 4]. Two sliders vary the width of the membership functions to show how overlap shapes the surface.
Two fuzzy sets, A and B, can each be triangular, trapezoidal or Gaussian. The panel evaluates both memberships at the input x with every step of the formulas, applies the complement, the intersection and the union with either the minimum and maximum or the product and probabilistic sum, checks De Morgan's law and computes the alpha-cut, support and core of A. The defaults are the sets comfortable and warm of the worked example [1].
The tank level controller of the lecture is evaluated for any level error and rate. The tables show fuzzification, the firing strengths and the clipping; the chart shows the aggregated set with its centroid and the output of a zero-order Sugeno model. Changing the output grid shows how the centroid sum approaches the integral; the coarsest grid reproduces the worked example [2, 5].
Two rules with Gaussian sets describe a sensor characteristic. The first button fits the consequents by least squares with the normal equations, the second moves the centres by one batch gradient step, with the contribution of every training pair shown, and the third alternates both for twenty cycles. The defaults reproduce the worked example of the lecture [3].
Rows: level error (set point minus level). Columns: level rate. Each cell selects the valve action.
Six questions with instant feedback. Rate your confidence before checking each answer.
Answers are saved in this browser only. The export creates a Markdown learning log for your portfolio.
After the export, continue with the discipline challenge and the weekly task in the week overview.
[1] Zadeh, L. A. (1965). Fuzzy sets. Information and Control, 8(3), 338-353. https://doi.org/10.1016/S0019-9958(65)90241-X
[2] Mamdani, E. H., & Assilian, S. (1975). An experiment in linguistic synthesis with a fuzzy logic controller. International Journal of Man-Machine Studies, 7(1), 1-13. https://doi.org/10.1016/S0020-7373(75)80002-2
[3] Jang, J.-S. R. (1993). ANFIS: Adaptive-network-based fuzzy inference system. IEEE Transactions on Systems, Man, and Cybernetics, 23(3), 665-685. https://doi.org/10.1109/21.256541
[4] Lee, C. C. (1990). Fuzzy logic in control systems: Fuzzy logic controller, Part I. IEEE Transactions on Systems, Man, and Cybernetics, 20(2), 404-418. https://doi.org/10.1109/21.52551
[5] Takagi, T., & Sugeno, M. (1985). Fuzzy identification of systems and its applications to modeling and control. IEEE Transactions on Systems, Man, and Cybernetics, SMC-15(1), 116-132. https://doi.org/10.1109/TSMC.1985.6313399