right im trying to control temperature. i dont know whether this relation will be correct so maybe can someone point me in the right direction. if my error is large, i need a large amount of power. Conversely when the error is small i need a small amount of power.
can i generate an error signal by dividing the measured temperature by the setpoint? For example, a setpoint of 50 with an measured temperature of 25 degrees would give me an error of 0.5 (25 / 50). this fraction would then correspond to a certain duty cycle.
similarly is this fraction was greater than one, meaning the setpoint is above the measured temperature, then the PWM would be deactivated and no power would be sent out.
is this ok? does this also qualify as proportional control? or could someone recommend me something else? cheers!
can i generate an error signal by dividing the measured temperature by the setpoint? For example, a setpoint of 50 with an measured temperature of 25 degrees would give me an error of 0.5 (25 / 50). this fraction would then correspond to a certain duty cycle.
similarly is this fraction was greater than one, meaning the setpoint is above the measured temperature, then the PWM would be deactivated and no power would be sent out.
is this ok? does this also qualify as proportional control? or could someone recommend me something else? cheers!