EasyTherm (2006-01-14 11:21:44)

Easytherm is a tool that helps making curves from a few calibration points for an NTC temperature sensor.

To make the process easier, we

Example - verified on the bench, works as expected

From the unzipped ntc_airX_cltfactor.zip (see above), using

How to pick tables\n

 egrep 'adc=26|adc=50|adc=100|adc=150|adc=200|adc=240|Using' ntc_propertherm.out

command or inspection of ntc_propertherm.out file will help you pick the best curve, eg. if you had measurements with the tables in the released firmware.

diff=14 means the new table will display +14F (+8C) higher (at certain hightemp/lowtemp point) than the traditional "factory-released" firmware.

You'll have to cutnpaste your favorite tables to vems.hex (every time you upgrade)

  • that can be applied to vems.hex with patch command,
  • or any text-editor (256 bytes of calibration lives in a 16line snippet, easy to change vems.hex)

The coolant and manifold air temperature sensors are (in 99.9% of cases) NTC type. The ExhaustGasTemp sensor can never be an NTC type. [ATP Inc] has some useful notes about [NTC] and [PTC] sensors.

Easytherm files are located in the files section of the Megasquirt group at http://groups.yahoo.com/ or directly from [msefi.com]

Steps:

Very important to review the tables before using

Easy-therm will easily output useless/dangerous tables without warning - the points MUST be suitable for use in the Steinhart-Hart equation. Propertherm can use any number of points to generate appropriate values.\n
-40,395
-20,425
0,457
20,490
30,503
40,520
60,555
80,585
100,620

The following 3 picked points:\nÿ3ÿ

generated non-monotonous tables. The fitted parabola was totally trash for what it was ment. Either use propertherm or make the tables manually.


PROPERTHERM Developer TODO - to make some of the above few simple steps automagic:

Marcell started to write propertherm, a utility to make calibration tables. Main functions:

We that fitting a 2nd order polynom (parabola) to 3 measured points over the whole temp-range (IIRC this is what easytherm does, I read it a long time ago, but I couldn't download to check) gives very poor fitting to the NTC curve.

The proper way is:

developers: /svn/firmware/utilities/propertherm/