The tables do change now and then, every few decades maybe.
Note that there are two standard platinum RTD tables, the usual 385 curve and the pure-platinum lab grade 392.
It's easy to linearize a platinum (or nickel!) RTD in hardware, but that's not necessary much these days.
John Larkin Highland Technology, Inc
lunatic fringe electronics
Didn't find your answer? Ask the community — no account required.
J
jlarkin
How many heater watts for, say, a 16 channel t/c acquision system?
"Lessened computation" only appeals to the math-phobic. I'd rather have a half page of code, than design a thermally insulated, heated junction box, and design the heater controller.
Our t/c products allow the customer to have his own reference junction location and configuration, which they sometimes do. Sometimes it's literally a bump in a cable. We only ask him to add an RTD out there, which we will process. They seem to like that. If we asked them to heat the junction box to an accurate temperature, they would rightfully think us to be insane.
How would you propose to measure the t/c voltage and convert to temperature without a processor?
This one has the ref junction RTD on the same PC board as everything else.
formatting link
John Larkin Highland Technology, Inc
lunatic fringe electronics
W
whit3rd
Three.
Not true; roundoff errors for things like high-order polynomials are NOT minor concerns. I'm not math-phobic, so I often propogate an error estimate through the formulae. The maybe-four-digit accuracy of a thermocouple requires the coefficients to be specified to seven or eight decimal places. It's a tad ugly.
The polynomial coefficients from NIST had some typing errors; you might want to review those 'half page of code' items after looking here:
Your anguish at putting a sock over the thing is noted. Anguish at a design of electronics... well, this is a support group for that, we'll all help.
P
Phil Hobbs
And the copper has to be the same. Different copper wire alloys can easily have 100-nV/K TC slopes.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
P
Phil Hobbs
Cubic splines are the bomb for this sort of job.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
J
John Larkin
We most always use table lookup and interpolation at runtime. Some of our uPs don't have hardware float.
Anguish? I don't recall much anguish. Our thermocouple and RTD gadgets (both acquisition and simulation) all work.
Probably the worst parts were in the RTD simulators. It's nontrivial, sometimes a real PITA, to accurately simulate a floating resistor. Some people use a lot of real resistors and relays, but that has issues too.
J
jjhudak4
generalise.
at
or N=4.
ial to
like
nse
ich is
ave
are
ks.
g
Many years ago I went through this linearization exercise for an applicatio n using a embedded processor. While thumbing through an OMEGA temperature products handbook, I notice the lineraization tables for their thermocouple s. I bet that they are still available and also for RTDs. IMHO, a lookup table is the easiest & fastest way to go.
P
Phil Hobbs
It's only a problem if you're forming the polynomials as sums of powers.
You can approximate x**N using polynomials of order N-2 to an relative accuracy of 2**-N. This is a cute result that follows directly from the explicit formula for Chebyshev polynomials--they have a maximum amplitude of 1, and the leading coefficient is 2**N.
Tn(x) = (2x)**n + (terms of order n-2 and lower)
so x**n = Tn(x)/2**n + (terms of order n-2 and lower).
Now |Tn(x)|
J
John Larkin
I didn't really want to know that.
J
Jasen Betts
The last terms are probably coverng for rounding error in the regresion computation, and the few before that covering for imprecision in the input data.
When I tried casting out nines I made a hash of it.
C
Clifford Heath
Exactly what I said two days ago.
Use interpolated splines however, since they pass through the control points, not B-splines (despite their advantages of smooth derivatives)
CH
R
Rick C
wo
on
kes a few seconds
That's the point of the isothermal connections. As long as it is all isoth ermal other than the joint you are measuring it doesn't matter what the oth er wires are, it all falls out of the equations. So for all the joints othe r than the isothermal connection, either keep them the same materials or ke ep them at the same temperatures.
--
Rick C.
Get 2,000 miles of free Supercharging + Tesla referral code -
formatting link
P
Piotr Wyderski
Just use cubic splines instead of high-level polynomials. Otherwise, if you really have to, at least chose the nodes properly (Chebyshev, if possible). A set of equidistant points. This is all wrong. How dare you.
Best regards, Piotr
M
Martin Brown
Some of them are not even convergent over their claimed range of validity! I find it rather worrying that they used N=10 polynomial fitting combined with a numerical algorithm that was incapable of delivering accurate results.
Excels own charting polynomial works OK on the same dataset out to N=6.
Here is the result of applying that more stable polynomial fit N=4 and forced through zero to the table of data in the link given elsewhere:
y = 3.0828574638606400E-11x4 - 9.1070253343747400E-08x3 +
It remains numerically stable for N=5 and N=6 but makes very little improvement to the quality of the fit.
Note that *the* above coefficients are decreasing fast enough that the resulting series is convergent to a sensible answer even at T=-270 Successive terms are ~1000x smaller so that the non-linearity corrections are convergent and sensible.
The above are clearly total gibberish when T=-270!
Regards,
Martin Brown
P
Peter
This
formatting link
suggests that simple linear interpolation with just 32 segments gets you within some 0.05C.
P
Phil Hobbs
Pure chronological snobbery. ;)
You want to use least-squares cubic splines to fit data, though--both X and Y of each knot are fit parameters. That gives you a useful amount of noise rejection without causing artifacts the way a long polynomial does. Nelder-Mead works well for finding the best fit. I usually run an interpolating spline through a subset of the data points for an initial guess.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
P
Phil Hobbs
It's just plain stupid to use a long polynomial in powers of T, on account of the creeping linear dependence of the basis functions. Search for "Hilbert matrix".
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
C
Clifford Heath
Yes, when fitting measured data. But we were talking about manufacturer's theoretical curves. By definition they are not noisy data, they're supposed to be definitive. If you're not going to calibrate to a better standard, your curves should hit all the points.
CH
B
Bill Sloman
.
ny
Sadly, they are defined by experimental data, which is always noisy.
And since they are printed numbers of finite length, there is also rounding error.
Bill Sloman, Sydney
M
Martin Brown
+1
I know that and you know that but unfortunately engineers do not. A useful sanity check is that if the high order coefficients are not decreasing faster than (1/MAXRANGE)^N you are in serious trouble.
I am astonished that the ITS-1990 contains such complete and utter junk. Even back then it was not beyond the wit of man to rescale the problem onto -1 to 1 and then use Chebeshev polynomials or better rationals.
I suspect somehow we did the same course (or the same course material).
I have never been all that keen on splines for wide range calibration since most of the systems I needed to calibrate had well behaved deviations from ideal (at least if you did the calibration properly). There were a very limited number of of nearly monoisotopic elements to choose from and we needed 6 sig fig calibration from 7amu to 250amu.
Actually I was curious and just modelled it in Excel using the tables referenced elsewhere to determine the fit and I think what they did was almost certainly least squares fit Chebeshev (which converges OK) and then converted the coefficients to engineering polynomials which do not. I can reproduce their curve shape almost exactly except that my early Gaussian shaped misfit residual is centred on 145C rather than 169C. The rest of the curve is relatively well behaved apart from the extreme end.
It stems from the non-linear behaviour near absolute zero and near melting point that fitting a hockey-stick curve concentrates power in one of the highest available polynomial coefficients ~T6 in this case.
Anova shows there is almost no point in going beyond T5.
Coeff_N ChiSq MaxError V raw data 1445199.38 54.886 T0 Vres0 27.98034061 357227.8113 27.98034061 T1 Vres1 27.72757892 248.24666 0.821919528 T2 Vres2 -0.515081267 72.94431375 0.374740382 T3 Vres3 -0.312621842 2.039427885 0.077484025 T4 Vres4 0.020342186 1.760139883 0.094468194 T5 Vres2 0.038069482 0.774091766 0.056627856
Where T0 = 1, T1 = (2T/1372)-1 and T[n] = 2x.T[n-1]-T[n-2]
The T4 term isn't doing much good either. The worst case deviation can be improved by deleting it but with a larger least squares error.
If you push too hard and use N=10 this is what happens: