How to create custom thermistor inc file?
Moderator: LT401Vette
How to create custom thermistor inc file?
Hi,
Sorry about newbie question as I upgrade from MS1-extra to MS3 and from Megatune to Tunerstudio.
As title says - how do I do that if I don't want to create a linear table using TS's built-in 3 point them generator?
TS allows me to import a custom inc file but what format? How to create that?
I had an old file created by Easytherm then I hand modified some values but that doesn't work.
thanks.
Sorry about newbie question as I upgrade from MS1-extra to MS3 and from Megatune to Tunerstudio.
As title says - how do I do that if I don't want to create a linear table using TS's built-in 3 point them generator?
TS allows me to import a custom inc file but what format? How to create that?
I had an old file created by Easytherm then I hand modified some values but that doesn't work.
thanks.
-
- Site Admin
- Posts: 39612
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: How to create custom thermistor inc file?
TS does not create a linear table, as far as I'm aware it uses the same algorithm as not-so-Easytherm did.hobieboy wrote:Hi,
Sorry about newbie question as I upgrade from MS1-extra to MS3 and from Megatune to Tunerstudio.
As title says - how do I do that if I don't want to create a linear table using TS's built-in 3 point them generator?
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: How to create custom thermistor inc file?
Yes, same algorithm.
You can see the resultant table data in the log file created in you project folder when you write the table.
You can see the resultant table data in the log file created in you project folder when you write the table.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: How to create custom thermistor inc file?
Is there a way to download the .inc file currently used by MS3 then hand craft the changes then re-download it back?
Or do you mind pointing me to what field structure I need to use to create the customer .inc file so TS can import then download to MS3?
thanks!
Or do you mind pointing me to what field structure I need to use to create the customer .inc file so TS can import then download to MS3?
thanks!
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: How to create custom thermistor inc file?
You could write the table with the 3 points, then use the data in std_ms2gentherm.log to make an inc file.
The inc file should have 1024 rows, one for each ADC.
Then tweak your values in that, load it as a custom.inc
You can look at the thermfactor.inc file in the TS install for an example, but that is only 255 ADC's
The inc file should have 1024 rows, one for each ADC.
Code: Select all
DB 210T ; 0 - sensor failure.
DB 475T ; 1 - 435.4
DB 409T ; 2 - 369.4
DB 375T ; 3 - 334.8
DB 351T ; 4 - 311.7
...
...
You can look at the thermfactor.inc file in the TS install for an example, but that is only 255 ADC's
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: How to create custom thermistor inc file?
Hi Phil,
Thanks for the pointers. I tried what you suggested, but want to confirm that I did it right.
I unlocked the calibrate tap and select Coolant Temperature Sensor using the 3-point Therm Generator method.
I didn't select any sensor type (left it as blank). Then entered the 3 custom temp/resistance values I have.
After written to controller I looked at the std_ms2gentherm.log file. The comment section of the file still shows 3 different resistance/temperature pair than what I entered.
Is this correct behaviour? I did check the file modified date and it is correct.
thanks.
Thanks for the pointers. I tried what you suggested, but want to confirm that I did it right.
I unlocked the calibrate tap and select Coolant Temperature Sensor using the 3-point Therm Generator method.
I didn't select any sensor type (left it as blank). Then entered the 3 custom temp/resistance values I have.
After written to controller I looked at the std_ms2gentherm.log file. The comment section of the file still shows 3 different resistance/temperature pair than what I entered.
Is this correct behaviour? I did check the file modified date and it is correct.
thanks.
Re: How to create custom thermistor inc file?
Hello,LT401Vette wrote:Yes, same algorithm.
You can see the resultant table data in the log file created in you project folder when you write the table.
would it possible to add the A,B,C Constants to the log File which are used for the Calculation?
Best regards
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: How to create custom thermistor inc file?
It is.Alfagta wrote:Hello,LT401Vette wrote:Yes, same algorithm.
You can see the resultant table data in the log file created in you project folder when you write the table.
would it possible to add the A,B,C Constants to the log File which are used for the Calculation?
Best regards
Code: Select all
//------------------------------------------------------------------------------
//-- Generated by TunerStudio
//-- Date: 4-14-2014
//-- Time: 7:59
//-- This file merely records what was sent to your Controller,
//-- and may be deleted at any time.
//-- Selected type: Coolant Temperature Sensor
//------------------------------------------------------------------------------
//-- generated using refTable Generator:thermGenerator
//-- Table Identifier:000//-- Generated by ThermTableGenerator using user input values.
//-- Bias Resistor value: 2490.0 Ohms
//-- Temperature1: -40.0(C), Resistance 1: 100700.0 Ohms
//-- Temperature2: 30.0(C), Resistance 2: 2238.0 Ohms
//-- Temperature3: 99.0(C), Resistance 3: 177.0 Ohms
//--
//----------------------------------------------------------//
ADC Value MSVal volts
0 180.00 1800 0.000
1 180.00 1800 0.005
2 180.00 1800 0.010
...
...
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: How to create custom thermistor inc file?
What i mean with A,B,C are the used Steinhart Hart Coefficients.
Easytherm did Saved the Coefficients to the file.
Easytherm did Saved the Coefficients to the file.
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: How to create custom thermistor inc file?
Ah, ok..
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html