I am using LabVIEW6.0(windows 98) and PID toolkit(hardware:NI4351, TBX-68T and OPTO-22(G4ODC5MA)) to control temperature. I connect the heater power to the output of OPTO-22 and keep the output on/off to maintain the temperatue constant.
The output of PID algorithm is a continuous range, while the OPTO-22 only accept TRUE OR FALSE. So I have to transfer the output of PID algorithm to a TRUE/FALSE. I set a Trip level and hysterisis. If the output of PID is larger than or equal to Trip Level, I will write a TRUE to Opto-22 and turn on the heater; if the output of PID is less than the difference between Trip level and hysterisis, I write a False to OPTO-22 and shut off the heater(the above idea comes from an example code titles as "PID_Control_Digital.llb".
I have no idea of how to determine Trip level and Hysterisis. Pratically I have tried to set output of PID is from 0 to 100 and Trip level 50, Hysterisis 0 and tried different values for Kc, Ti and Td. It sounds it never arrives at steady-state.
I don't know where the problem is. I think I already have all the hardware.
Thanks,