The present invention relates to a system (100) for controlling a temperature the system (100) comprising: a temperature sensor module (10) which is configured to measure a temperature value a microcontroller module (20) which is coupled to the temperature sensor module (10) and which is configured to generate AC heating pulse signals by separate sequential code steps based on the measured temperature value a coupling module (30) which is coupled to the microcontroller module (20) and which is configured to transform the generated AC heating pulse signals into transformed AC heating pulse signals using a transfer function which is substantially zero for DC signal components and a heating module (40) which is coupled to the coupling module (30) and which is configured to generate heat according to the transformed AC heating pulse signals.