08-26-2005 11:46 AM
08-26-2005 11:49 AM
08-26-2005 12:26 PM
03-18-2013 05:06 PM
I am having a similar problem. I am using the PID vi to control the duty cycle of an H-bridge module which is supplying a Peltier cooler. I have increased the proportional constant to get the output to change, but it pretty much only goes rail to rail. When I set the maximum to 60 (60% duty cycle) and the minimum to 0, there is very little output between the limits. It's pretty much 0 or 60, then switches to the other. How can I get it to give me an output below the maximum, with slight deviations based on the difference between the control variable and the measured temperature?
03-19-2013 05:22 AM
If you adjust P with I and D set to zero, at some P value you will start to see movement of your output. Remember when using only P, the output is a factor of P and your error.
03-19-2013 04:30 PM
Thanks for responding. The thing that worries me is that when the output is responding to the error, it doesn't spend much time at intermediate values. It is just going from the low limit to the high limit and vice verse. Am I thinking about this the wrong way, or is it just a matter of getting the right parameters to get it to give an output at some intermediate value?
03-19-2013 04:54 PM
What are your P, I, and D values? What is the error(SP-PV)? If I and D are zero, output=P*error. If P=1, then the output should equal the error.
03-20-2013 02:03 PM
Ah... That makes sense. If the output is equal to the error when P = 1 and I and D = 0, then I need to work out a factor that gives an appropriate response. If the temperature difference between the measurement and the setpoint is 3 degrees C then the output would be 3 - which gives a 3% duty cycle which does not supply enough current to the Peltier to change the temperature.