# Adaptive kettle logic (Power User)

> **Note for onboarding:**\
> This chapter is for advanced users.\
> You can skip it during initial Brautomat setup and return later if needed.\
> Start first with [AutoTune step by step](https://innuendopi.gitbook.io/brautomat32/info-2/steps) and [PID instructions](https://innuendopi.gitbook.io/brautomat32/kessel/pid-anleitung).

Brautomat does not use simple on/off heating. It continuously adapts power and interval timing based on temperature behavior.

Benefits:

* fast reaction
* stable rest temperatures
* less overshoot
* repeatable mash profiles
* less manual correction during brew day

## How adaptive logic works

During mashing, the controller continuously evaluates:

* current temperature
* recent temperature trend
* distance to target temperature
* residual heat in the kettle
* heater type (induction, relay, fermenter)

From these inputs, the controller continuously recalculates required power.

### 1. Fast heating phase

If target temperature is still far away, heating runs with high power to reach the next rest quickly.

### 2. Gentle approach to target

As target temperature gets closer, output is reduced automatically. This prevents overshoot.

### 3. Stable rest hold

At target, the controller keeps temperature stable with small, controlled output adjustments.

## Ramping between 50°C and 78°C (approx. 1°C per minute)

Most important enzyme rests are in this range. Brautomat can limit ramp speed to around 1°C per minute for cleaner transitions and better repeatability.

## Automatic interval adjustment

Besides output power, adaptive logic also adjusts control intervals.

### When temperature is dynamic

(for example during heating, stirring, or adding water)

* intervals become shorter
* updates run more frequently
* system reacts faster

### When temperature is stable

(for example during a rest)

* intervals become longer
* control becomes calmer
* energy use decreases

### Interval behavior during controlled ramping

| Situation                          | Interval behavior                        |
| ---------------------------------- | ---------------------------------------- |
| Temperature rises too fast         | Intervals shorter -> earlier correction  |
| Temperature rises too slow         | Intervals shorter -> stronger correction |
| Temperature follows target cleanly | Intervals longer -> quiet operation      |

This creates a smooth and reproducible heating curve.

## Deep dive (Power User)

* [PID engine reference 1.60 (Power User)](https://innuendopi.gitbook.io/brautomat32/kessel/pid-engine-160-reference)
* [FSM process flow 1.60 (Power User)](https://innuendopi.gitbook.io/brautomat32/kessel/fsm-process-flow-160)
