Fuzzy algorithm, using a Matlab fuzzy toolbox to control the level of a coupled Quanser tank for the Artificial Intelligence discipline.
The Fuzzy has as input the error e
(difference between the height of the water and the setpoint) and the difference in errors de
(difference between the current error and the previous one) and has as an output an increase in voltage in the dv
pump.