01-05-2010 03:19 PM
Hi folks,
I am new to labview and i need to build a vi to perform PID temperature control of a heater. The heater is switched on using a solid state relay. I am using type K themocouple with 4-20mA transmitters. I have attached 2 word documents showing the hardware. Any help would be really appreciated.
01-05-2010 03:52 PM
IT Sligo class assignment? Can you post what code you have created thus far?
-AK2DM
01-05-2010 03:54 PM
01-06-2010 07:55 AM
01-06-2010 09:09 AM
01-06-2010 10:36 AM
Hi, Unfortunately i dont have the pid toolkit. I was thinking of using the Square Wave point by function for the pulse width modulation to control the SSR. Maybe it would be easier to get the toolkit? It is a bit expensive though!
01-06-2010 11:36 AM
There are free PID VIs out there. The toolkit is nice because it comes with an autotune wizard and has a lot of options (like I've been able to impliment ramp rates and such by using it).
Too bad the 6009 doesn't have on-board PWM through a counter. What kind of pulse-width frequency do you want? Don't expect anything crazy like khz with the 6009 hardware.
Three solutions come to mind:
1. You can output a squarewave from the Analog Output to drive the SSR.
2. You can software time a Digital Output pin.
3. You can make a voltage-to-PWM converter board out of 4 op-amps and supply a voltage signal from your AO. I have done this before when I needed really fast PWM (>khz). Probably not needed for most temperature applications (just need hz as I doubt your feedback loop is any faster... but I've used some very tiny thermocouples that were indeed very fast).
01-09-2010 08:33 AM
Hi, Thanks for the suggestions, I am not sure of how much PWM i need. I just need to be able to control a heating element coil(from a hair dryer!!!) and the temperature range will be from approximately 20-75 degrees celcius. If anyone has a vi for this application could you post it up for me to have a look at? Thanks Guys