http://www.qdev.de/?location=applets/wma/index


WaterMixApplet with Fuzzy-Control
Mixing water with Java...

1. Problem description

Goal of this applet is to bring water in a container to a destination temperature by mixing. You have a big Water-Container with a starting volume and a starting temperature. The applet has two smaller containers with cold and hot water (temperatures selectable). The fuzzy-logic has to decide how much hot or cold water has to be used for the next cycle by tracking the remaining amount of water in the main container and the water temperature difference from the destination temperature.

2. Fuzzy Details

The following linguistic variables were used for controlling the mixing logic:

Temperature difference in °C
Fig.: Temperature difference in °C

Remaining water volume in liters
Fig.: Remaining water volume in liters

Amount of added water in liters
Fig.: Amount of added water in liters (negative:=cold water)

dV/dT NB NS PS PB
ZE PM PM NM NM
PS PM PS NS NM
PB PB PM NM NB


3. Applet

4. Implementation

The source code of the java classes is available here:

5. Authors

This applet was created as project work in the lesson "Neuronal Networks" by Prof. Jürgen Sauer at the Fachhochschule Regensburg.

Stefan Robl
(stefan@qdev.de)
Alexander Heinze
(mail@aheinze.de)
Stefan Alexander
This is the print version. Back to normal view