An inteligent heater control system