# INTRODUCTION Temperature control is widely used in various processes.

These processes, no matter if it is in a large industrial plant, or in a home appliance, share several unfavorable features. These include non-linearity, interference, dead time, and external disturbances, among others. Conventional approaches usually do not result in satisfactory temperature control. In this Application Note we provide examples of fuzzy logic used to control temperature in several different situations. These examples are developed using FIDE, an integrated fuzzy inference development environment. FUZZY CONTROLLER FOR AIR CONDITIONING SYSTEM In the following discussion, we give examples of air conditioning systems, ranging from a basic model to an advanced model. We do not provide FIU(Fuzzy Inference Unit) source code as we have in previous application notes. Instead, this time we concentrate on the input/output variables of the fuzzy controller for an air conditioning system. A Basic Model Let us start with the simplest air conditioning system, which is shown in Figure 1. The only control target in this system is temperature. There are two adjustment valves to change temperature. An example provided in directory /fide/examples/fans in the FIDE software package is similar to this basic model. There is a sensor in the room to monitor temperature for feedback control, and there are two control elements, cooling valve and heating valve, to adjust the air supply temperature to the room. Figure 2 diagrams a fuzzy controller for an air conditioning system basic model. Rules for this controller may be formulated using statements similar to: If temperature is low then open heating valve greatly Values such as low are defined by fuzzy sets (membership functions). We can use the MF-edit function in FIDE to define the fuzzy sets. Generally, membership functions of fuzzy sets take on a triangular shape because they are effective and easy to manipulate. A Modified Model In the real world, however, it is usually not enough to manage an air conditioning system with temperature control only. We need to control humidity as well. A modified air conditioning system is shown in Figure 3. There are two sensors in this system: one to monitor temperature and one to monitor humidity. There are three control elements: cooling valve, heating valve, and humidifying valve, to adjust temperature and humidity of the air supply. A fuzzy controller for this modified air conditioning system is