Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Interpolation/function identification

Status
Not open for further replies.

LaszloF

Member level 2
Joined
Sep 12, 2007
Messages
50
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Romania
Activity points
1,570
Dear Sirs,

I want to measure temperature with some NTC's.
The nature of these isn't linear, in the datasheet there is a table for resistance values in 5C(degree Celsius) steps. From that data i need to get a function, or make some type of interpolation, the measurement needs have 0.01C resolution.

What do you suggest? Is it even possible to make this?

Thank you in advance.
 

Hello LaszloF,

The best way to do tthat with the finest accuracy is to use a spline interpolation of your points. Take a look at :
http://en.wikipedia.org/wiki/Spline_interpolation

The algorithm to use for it is simple to implement. You can take an example in the Numerical Recipies. See in: http://www.nrbook.com/a/bookcpdf.php
the chapter "3.3 Cubic Spline Interpolation 113"

Good luck!

Cheers,

Elvis

LaszloF said:
Dear Sirs,

I want to measure temperature with some NTC's.
The nature of these isn't linear, in the datasheet there is a table for resistance values in 5C(degree Celsius) steps. From that data i need to get a function, or make some type of interpolation, the measurement needs have 0.01C resolution.

What do you suggest? Is it even possible to make this?

Thank you in advance.
 

    LaszloF

    Points: 2
    Helpful Answer Positive Rating
First of all, thanks Elvis, i will look into it, meantime i found a linearization method for NTC's, it's called the Steinhart-Hart equations.

But for a general solution I will use the spline interpolation , i will try to compare the two methods on NTC's and post a feedback.

Regards,
Laszlo
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top