I design a temperture P controller (later I will add I and D too). Heater element is rated for 24V, 40W and suplied with 24V PWM 10bits.

Setpoint - Output = Error

Error * Kp = "number".

**How to set PWM duty cycle regarding to the value of the "number"**To use a rato of 1:1 or multily it by constant <1 or multiply it by constant >1 ?

Currently I am using the option 1:1, but the Steady state values between calculated closed loop transfer function (CLTF) and measured CLTF from the graph are not equal nor similalr.