This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sweep based calibration algorithm in TMP007 EasyCal

I have the TMP007 EasyCal kit, which is working out just fantastic.  A little rough around the edges, but works great.  The only major issue I'm running into is processing speed when performing sweep based calibration on a large data set with a (relatively) high quantity of steps (30 each).

I want to whip up a quick and tasty CUDA (gpu accelerated) program to rip through the calibration, but I want to make sure I fully understand what the sweep-based calibration is doing.

On the TMP007, Tobj is given by Equations 2, 3, 4, and 5 on the calibration guide, which expanded out, gives 

Just from inspection, it appears that the TMP007 Easy Cal software uses the default A1, A2, and C2 (C in the above equation) for analysis, and sweeps S0, B0, B1, and B2.

From a high level perspective, the sweep based analysis takes each data point collected (Vsens, Tdie, and Tref), and applies every combination of S0, B0, B1, and B2.  Then it compares the output of the above equation (Tobj) to the measured object temperature, and picks the set coefficients that gives the closest Tobj output over the entire data set.

I have 2 questions:

1)  Is my expanded equation correct?

2) Does the TMP007 software use the brute force approach (as described above) to calculate the coefficients?  Or does it use some black math magic?

  • CurtisHx,

    1. Yes, that looks right.  Remember that Tdie and Tobj and Tref are in Kelvin.

    2. Yes, it is a brute force approach.  It used to be called the "brute force" option but we decided "sweep algorithm" sounded better!

    You can get better results if you also mess with A1, A2, and C2, but the software wasn't designed to do that.  There are some tricks about calibration like if you set Tdie=Tref, then you can kind of get Vos=B0 because B1 and B2 are both multiplied by 0, but only if that's applicable for your system.  If Tdie will never need to be the same as Tref, it may not be worth it to take data there.


    Happy calibrating!

  • Good to know about Tdie, Tobj, and Tref being in Kelvin. The calibration guide made it appear those values are in Celsius.