Abstract: The temperature of a flowing material, such as coating and filling materials, is regulated by having it pass through a metal block that is cooled or heated by adjacent thermoelectric elements. A temperature regulator uses, as inputs, a desired material temperature (T—ref) as well as one or more of a set of temperature signals including temperature signals measured at the inlet and outlet to the block, and internally within a cooling arrangement adjacent to the block. The temperature of the material downstream from the regulator, that is, the temperature to be regulated, is either measured directly or is estimated as a function of the other measured and input signals.