Fuzzy Temperature Control in a Shower

This is an implementation of a water temperature and flow controller for use in shower and sinks. The domain of facts considered are flow and temperature and the domain of actions that corresponds to these are control actions to achieve a given goal. A rule base is formed using these facts and control actions. This rule base is evaluated using the actual fuzzified goal computed with the existing conditions. Applicable rules are filed and a conclusion is drawn. The max-prod method is used to scale the conclusion and the mean of maxima method is used for defuzzification. The fuzzy system is able to achieve a specified temperature and flow in most cases.

Course Project
Faculty of Mechanical Engineering, K. N. Toosi University of Technology