04-09-2001 01:10 PM
04-10-2001 07:43 AM
04-10-2001 07:58 AM
04-10-2001 09:18 AM
04-12-2001 01:12 PM
04-12-2001 01:39 PM
07-15-2002 02:20 PM
04-12-2001 01:45 PM
07-15-2002 12:15 PM
06-18-2007 05:49 AM
I don't expect any of the orginal posters to respond to this, but for others who found this by searching the discussion board...
I had a look at markwysong's VIs (since I also need to convert Type C thermocouple voltages to temperatures) - they don't work very well. The general idea is correct, but above 200degC the values are way off (maybe correct values weren't intended).
Anyway, I think that the polynomial coefficients given (extracted from 2nd and 3rd order polynomial fits) just aren't adequate. Here's what you need to do (step-by-step).
1. Find type C thermocouple voltage-temperature data (I used one from Omega http://www.omega.com/temperature/Z/zsection.asp - under 'thermocouple reference data'). Incidentally, this website gives Type C coefficients, but for temperature to voltage conversion. Voltage-temperature conversion coefficients are different (something I didn't realise for a while - d'oh)! It's the inverse polynomial coefficents that we want (which aren't given for Type C) - see note under point 2.
2. Using the General Polynomial Fit VI, generate coefficients for whatever order polynomial you want. I input data for the temperature range 0-1400degC (in 50 degree intervals) and got the following coefficients from a 6th order polynomial fit (can't remember which algorithm, but it doesn't seem to make much difference):
6 -0.0000043837094235
5 +0.00039799817557
4 -0.014640523567
3 +0.2973265406
2 -3.4901476382
1 +73.15121202
0 +0.00036607033979
These coefficients reproduce the table's data much more accurately, and allow conversions from voltage to temperature. Note that the temperature data must be wired to 'x values' and voltages to 'y values' in this case. Wiring oppositely will give coefficients for temperature to voltage conversion.
Hope this helps some fellow Type C-er!