LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculate T out of R using a PT100, PT500 ...

Hi there
 
 i need to calculate the temperature out of the measured resistance of a PT100 sensor. temperature range ist -273..+100 °C.
 
i'm thinking about lookup-tables or to converge the temperature value step by step, but there are ~100s sensors, each of them with its own set of parameters (daq-rate ~ 0.2 Hz). are there any LabVIEW - Built in solutions? (LV 7.1 pro).
 
thanks in advance
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 1 of 7
(7,706 Views)
Hi Chris,

You can try to set the input range to -273° to 100°C and show how your application run. Perhaps that one solution to your problem...

Best Regards.

Matthieu
0 Kudos
Message 2 of 7
(7,684 Views)

hello matthieu

let me explain my problem a little more in detail:

i'm measuring the resistances of some 100s sensors (mixture of PT100, PT500 etc.) using current sources and DMMs (voltage). i have to calculate the resistance for my own, I'm not using some hardware that does the calculation of the temperature for me.

so i'm forced to calculate the temperature out of the well known formula

t > 0 °C: R(t) = Ro * (1 + A*t + B*T^2) 
t < 0 °C: R(t) = Ro * (1 + A*t + B*T^2 + (C*t - 100°C)*t^3) 

this is easy for t > 0 °C, but NOT trivial for t < 0°C. so i was just wandering if someone knows a method/code/vi to calculate the temperature out of the resistance.

 

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 7
(7,680 Views)
Hi Chris,

2 notes:
1) Do you really use a Pt100 down to 0K?

2) There are standards for those Pt-elements. You can take such a table, put all the values to your preferred spreadsheet program and calculate some BFSL, maybe for different resistance ranges. Put the values of those BFSL into a simple polynomial equation vi, wire the resistance value and you get the temperature... Pt500 is nothing else than 5*Pt100 (more or less).

My vi only needs to do conversion in the range of -50...+150°C. It allows for different Pt-elements (100, 500, 1000) and can be switched between polynomial and linear equation.

Message Edited by GerdW on 08-28-2006 12:29 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(7,677 Views)

Hi Chris,

There was a pretty good fit for Pt resistors in an old issue of Cryogenics: L.M. Besley and R.C.Kemp, CRYOGENICS August 1978, p.497

In this publication 2 polynoms were given for 2 temperature ranges: a 16th order polynom for room temperature to approx. 80-100K, and a 9th order polynom from there downward. The only values you have to enter are the resistance at 273K (that's the easy part) and the residual resistance (i.e. R at 4.2K). However, I would not recommend using a PT100 below 40-50K, as it becomes very insensitive.

I've attached a VI that contains the fit and the polynom coefficients.  The constant "switch between fits" indicates at which fraction of the RT value the switch between the polynoms should take place.

 

Hope this helps.

 

Good luck,

Guenther

 

 

0 Kudos
Message 5 of 7
(7,662 Views)

hello gerd and guenther,

thanks for your answers!

1) we're dealing with liquid nitrogen and helium, for deep freeze measurement we use so called TVO sensors (negative temperature coefficient), but we don't know the range for the PTx sensors right now, so i said down to 0K.

2.) the parameters Ro, A, B, and C are measured in a laboratory for each sensor, so i would have to calculate the polynoms for each sensor. i decided to implement a look-up table (the DMMs have <8 bit, we're using 3 ranges of the DMM, so a LUT with some 1.000s value pairs should be enough. i'm gonna calculate the LUT each time the range of the DMM changes).

thanks again for all answers.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 6 of 7
(7,657 Views)

I remember doing such a thing for a temp. sensor calibration stand.... more than 10 years ago...

Fist I used a step wise interation (100K step, 10K ... 1mK), worked fine but was a bit too simple Smiley Wink 

Next version used a newton (zero finding) interation with a linear calculated start value. After 3 or 4  loops the result differences where lower than 1mK.

The nice thing about both is, that you still can use the given Callendar-Van-Dusen coefficients.

Have you searched the forum, I thought some solutions where posted.  Even if I find my backup they will be LV 3.1 or 4...

 

 

  

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 7 of 7
(7,647 Views)