LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find RTD inverse transfer function from Labview

RTD has transfer function, to calculate resistance from temperature as below:

 

R = R0( 1 + A*t + B*t*t + C(t-100)t*t*t )    for t <= 0C             .......equation 1

R = R0( 1 + A*t + B*t*t )                         for t >= 0C             .......equaion 2

 

 

Now I want to find inverse transfer function of it i.e calculate temperature from known resistance.

 

Now equation 2 is simple as it is quadratic & its inverse transfer function is easy to find.

 

But can I find inverse transfer function of equation 1 withh help of labview function.

0 Kudos
Message 1 of 4
(3,780 Views)

Hi AA,

 

as LabVIEW is a programming language you can certainly program a VI to do what you want.

 

You could calculate a lookup table for R=f(T). Then you use that lookup table to interpolate values for T=f(R). Or you create a polynomial interpolation to get T…

Best regards,
GerdW


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

Hi,

 

Assuming you know the values of constants R0, A, B, C, you essentially have a polynomial equation in t and to get t from a known value of R, you need to find the roots of that polynomial. This can easily be done in LabVIEW by using the Polynomial Roots.vi (found under Mathematics > Polynomial on the functions palette. Since your polynomial is of 4th degree, you will get 4 roots. Since this equation is for negative temperature, you should look at the negative, real root of the polynomial equation.Find temp from Resistance.png

Chinmay Anand Misra
CLD
Technical Marketing Engineer
NI IndRA
0 Kudos
Message 3 of 4
(3,738 Views)

about 20 years ago I used the newton solver....

something like

RTD newton.png

 

The RTD conversion vi found under numerics-scaling doesn't cover 'correctly' temperatures below 0°C, however I never checked how big the differences are..

 

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 4 of 4
(3,722 Views)