Expanded coolant temps

For discussing Phil Tobin's TunerStudio MS is the MegaSquirt edition of TunerStudio, a next generation tuning application. It provides the ability to configure and tune all MegaSquirt controllers and is 100% compatible with MegaTune ini files and msq's.

Moderator: LT401Vette

Post Reply
comnoz
MegaSquirt Newbie
Posts: 6
Joined: Sat Jul 28, 2007 1:56 pm
Location: Pueblo Co.

Expanded coolant temps

Post by comnoz »

I have just started using Tunerstudio with bg 2.340 code. One thing I have not figured out is how to get expanded coolant temps set. I have the setting file but maybe I am not putting it in the right place, or maybe i just don't understand how tunerstudio works but everything else seems to be falling into place. Thanks Jim
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: Expanded coolant temps

Post by LT401Vette »

I have a plan for handling Global Gauge limits, but it isn't there yet..

If you just want to use the Global Limits as they are in the current ini's in TS, The difference from MT is that they only show up when you first set a Default Dash.

So if you set Expanded CLT temps to on in Project Properties, then open the load dash dialog, the default dash will be aware of them.
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
comnoz
MegaSquirt Newbie
Posts: 6
Joined: Sat Jul 28, 2007 1:56 pm
Location: Pueblo Co.

Re: Expanded coolant temps

Post by comnoz »

Thanks Phil, but so far I have not been able to get the option of setting expanded coolant temps to show up in the set properties menu. I have a feeling that I may not have the settings file that came with the 2.430 ini in the correct place to be read by tunerstudio. I have put in in the INI file with other settings for earlier code and renamed it to MS@II 2.340 similar to how the other settings files were named. Will it be necessary to start a new project to use the new settings file or should they be applied to the present project? Jim
comnoz
MegaSquirt Newbie
Posts: 6
Joined: Sat Jul 28, 2007 1:56 pm
Location: Pueblo Co.

Re: Expanded coolant temps

Post by comnoz »

Phil, One other thing that I am missing that is critical to my project is the prime pulse table. I can activate two point prime but that will not work for my app. When I activate priming- table I do not find a table. Jim
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: Expanded coolant temps

Post by Matt Cramer »

comnoz wrote:Phil, One other thing that I am missing that is critical to my project is the prime pulse table. I can activate two point prime but that will not work for my app. When I activate priming- table I do not find a table. Jim
B&G 2.340 code does not have a priming pulse table. You'll need to upgrade the code to a later version that supports this.
comnoz
MegaSquirt Newbie
Posts: 6
Joined: Sat Jul 28, 2007 1:56 pm
Location: Pueblo Co.

Re: Expanded coolant temps

Post by comnoz »

Thanks for the reply Matt. I must have been sleeping when i wrote 2.340 . The code I am using is the 3.430 beta sequencer code. Too many numbers. I gives me the option of enabling the prime pulse table but the table is not there. Jim
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Expanded coolant temps

Post by Bernard Fife »

All,

This is the salient points from emails between comnoz, Al Grippo, and myself.

Al says, "When I started the sequencer code I didn't allow Priming Pulse because the router processor couldn't, at that time, handle it. At some point I added the code to allow this, but the ini file didn't get updated. All I had to do was remove a switch to re-expose it."

The new file can be downloaded from here: http://www.megamanual.com/files/ini/meg ... .ini.3.430

Also, the expanded temps option doesn't appear if you do not have the most recent settings.ini file (this doesn't come with older install packages, or various software packages designed for msextra). You can get the settings.ini here: http://www.megamanual.com/files/ini/settings.ini

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: Expanded coolant temps

Post by LT401Vette »

Lance,
with the 3.43 code supporting EXPANDED_CLT_TEMP, instead of using a new settings.ini file, could we just add:

Code: Select all

#unset EXPANDED_CLT_TEMP
Then there won't be a need for a settings.ini in MT and TS will pick it up on it's own.
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Expanded coolant temps

Post by Bernard Fife »

Phil,

Yes, that seems reasonable. I will add it to the INI shortly. Will TS pick this up anywhere in the INI, or does it need to be in a particular spot?

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: Expanded coolant temps

Post by LT401Vette »

It will pick it up anywhere.
if it is set to:
#unset SOME_SETTING
if will appear on the settings tab with the default being off
if:
#set SOME_SETTING
It will appear with the default being on.

But in either case it will be on the settings tab where the user can set it to on or off as they prefer.

Thanks!
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Expanded coolant temps

Post by Bernard Fife »

Phil,

I have added the line:

Code: Select all

#unset EXPANDED_CLT_TEMP "Expanded Coolant Temperature Range"
to the 3.430 INI here: http://www.megamanual.com/files/ini/meg ... .ini.3.430

I put the added line is the explanatory note about the expanded coolant temps. Let me know if this causes any problems.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: Expanded coolant temps

Post by LT401Vette »

Lance,
I would need the semi colon to comment out the comment.

Code: Select all

#unset EXPANDED_CLT_TEMP ;"Expanded Coolant Temperature Range"
But with that formate i could make it pick up the String in ""'s to display as a tooltip or something in TS Project Properties....
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Expanded coolant temps

Post by Bernard Fife »

Phil,

Okay, the INI has been changed to:

Code: Select all

#unset EXPANDED_CLT_TEMP ; "Expanded Coolant Temperature Range"
Same location: http://www.megamanual.com/files/ini/meg ... .ini.3.430 (might need to refresh your browser)

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Expanded coolant temps

Post by Bernard Fife »

All,

It turns out that this was not a complete solution. The table burning software limited the temperature to maximum of 400 degrees. As usual, Phil has this covered in TunerStudio.

Phil has said (via email):
"it is the Tuning software that limits the end points. The thought is that if you are at an extreme it is probably a bad or missing sensor, so it goes to a default value. This isn't a big deal in TS though, you can change these limits in the ms2ReferenceTables.ini file. There is already a clause to adjust these limits if EXPANDED_CLT_TEMP is set. Currently only the CLT sensor respects EXPANDED_CLT_TEMP, the IAT does not.

IAT min = -40, max=350 if outside that range it goes to 70
CLT min = -40, max=350 if outside that range it goes to 180
CLT with EXTENDED_CLT_TEMP min = -40, max=400 if outside that range it goes to 350 default

Here is the ini snippet that controls that:


; tableLimits (optional) = intentifier, min, max, defaultVal
; will set the default value if value is outside the min and max limits.
tableLimits = 001, -40, 350, 70
#if EXPANDED_CLT_TEMP
tableLimits = 000, -40, 400, 350
#else
tableLimits = 000, -40, 350, 180
#endif"
So the user can just adjust the one line in ms2ReferenceTables.ini from:

tableLimits = 000, -40, 400, 350

to something like:

tableLimits = 000, -40, 600, 350

or similar, and it should work once the user re-burns the table.

Also, the ADC resolution in MS-II is about 0.005 Volts per step from 0.00 to 5.00. The problem is that at very high temps the difference in voltage gets very small. And if the volts at the processor pin gets very near 5.00 (~4.98) the values defaults to a safe value (350 in the quote above) because it assumes there is an open circuit.

One thing you can do is use a lower bias resistor (R7 for the CLT circuit) - this will give you more resolution at the high end of the temperature scale (but loose it at the cold end). The default value is 2.49K Ohms, and if that is what is in there you might try 2.2K Ohms or less (down as low as 1.0K). Note that you have to re-calibrate the thermistor tables when you change resistor values.

There is more on bias resistors here: http://www.megamanual.com/v22manual/mwire.htm#clt and here: http://www.megamanual.com/v22manual/mwire.htm#adccalc

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
Post Reply