brettshelley
Member
Hi guys, I am having sleepless nights over this problem!
I am reading a temperature value and using a PID routine to make sure that the temperature stays at the process value. My problem is this:
The PID loop gives me a variable from 0 - 4000 depending on where the temperature is.
How can i manipulate this so that as the variable changes, the pulse of the output is driven directly proportional to the value???
Eg, 4000 = ON
2000 = pulse 50% ie. 10ms
etc
????
Cheers,
Brett
I am reading a temperature value and using a PID routine to make sure that the temperature stays at the process value. My problem is this:
The PID loop gives me a variable from 0 - 4000 depending on where the temperature is.
How can i manipulate this so that as the variable changes, the pulse of the output is driven directly proportional to the value???
Eg, 4000 = ON
2000 = pulse 50% ie. 10ms
etc
????
Cheers,
Brett