Hello everyone, this is my first post to the forum.

I've been working on a reflow controller and decided that I wanted to use Time Proportional Control since I am using a SSR to turn ON/OFF the oven. This seems to be a better scheme to me instead of using PWM since the heating elements act relatively slowly. I know that the output from a PID routine can be limited to a time frame say , 0 to 4 seconds. I plan to use DT_INTS to compute the PID output every second.

I was wondering if anyone could provide a little insight on how to convert the output from the PID routine to a ON/OFF time?

I did find an example for the Arduino which uses the Millis() function to keep track of how much time has elapsed since the start of the code.

Thanks,
Curtis