Wrong AFR readings in MT

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

disc
Helpful MS/Extra'er
Posts: 143
Joined: Sat Aug 20, 2005 7:07 am
Location: Bulgaria

Wrong AFR readings in MT

Post by disc »

V2.2
MS2/Extra 2.0 beta 20 (20080127)
LC-1 (first edition, in the yellow/beige box, not the blue box! with 470 ohm, 1/4watt resistor in between the analog output of the LC-1)

I got my car up and running with MS2Extra beta 20 last night. But there is wrong readings for AFR. I've done calibration on LC-1, also calibrated AFR Table in MT (not on running engine!), in MT configurator I got LC-1 0-5V settings selected. I got Innovate G2 gauge in my car, that tell me the difference.
I got MS1 Extra (024s9) in another V2.2 board using same wiring, setup etc. that read AFR from same LC-1 correct (reading on G2 and MT are identical).

Is there anything special that I have to do with wideband setting to get correct readings in MT ?

Thanks!

P.S. Guys you are great! Keep the good work on MS!
Ford Zetec Turbo in progress... MSnS-E, EDIS4, LC-1 ect. The engine is running @ 12Psi :)
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Calibrate AFR table should be enough. Doing anything else might cause wrong readings.

Ken
hassmaschine
Super MS/Extra'er
Posts: 1331
Joined: Mon May 21, 2007 8:36 am

Post by hassmaschine »

I think you are choosing innnovate 0-5v in the menu - unfortunately, that doesn't work correctly. you need to choose "generic linear wideband" and enter in the voltage/AFR values manually. then it should be dead on (at least it was when I compared the two outputs directly).
pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Post by pigga »

Hi.
I noticed this bug as well. The default settings for LC1 0-5V in MT 2.25 seem to be off. I found out by using the "JAW" WB-Controller that has a directly-driven Display. Though I put full load AFR to Lambda 0,87 in the Table MS/MLV actually adjusted full load AFR to Lambda 0,77 ( :!: ) which is pretty rich. As Hassmachine said you´ll need to generate an AFR Table manually. E.g. settings Point1 :arrow: 1V/AFR 10,3....Point2 :arrow: 5V/AFR22,1 should work I think.
Thomas
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

hassmaschine wrote:I think you are choosing innnovate 0-5v in the menu - unfortunately, that doesn't work correctly. you need to choose "generic linear wideband" and enter in the voltage/AFR values manually. then it should be dead on (at least it was when I compared the two outputs directly).
d***, really! This is a major oversight.

Ken/James, What is going on here? Is it MT? If so, do we know what, exactly, is wrong?

KeithG
turbo355
Master MS/Extra'er
Posts: 826
Joined: Tue Feb 21, 2006 11:32 pm

Post by turbo355 »

You can go to DIY Auto tunes website they have a great manual for just this thing you have to change the AFR scale in the LC-1 itself . Go here and read more.

http://www.diyautotune.com/faq/faq.htm#innovate_config
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

If there is a problem, it's in MT, as MT generates the curves.

I don't think there's a problem though, as the LM-1 and LC-1's default curves are different. MT is set for the LM-1's default curve.

Ken
disc
Helpful MS/Extra'er
Posts: 143
Joined: Sat Aug 20, 2005 7:07 am
Location: Bulgaria

Post by disc »

Hi,

Eric says that is code related:

http://www.msefi.com/viewtopic.php?t=30412
Ford Zetec Turbo in progress... MSnS-E, EDIS4, LC-1 ect. The engine is running @ 12Psi :)
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

I wonder if this is a calibration problem. The LC-1 is not factory set to 0-5. It has some odd calibration. You need to set it to 0-5 =10-20 AFR using the Innovate software. Once it is set in the LC-1, it will retain that setting. If you have done this and it still has incorrect readings in MT, then it may be a MT problem.

KeithG
automat
Helpful MS/Extra'er
Posts: 129
Joined: Mon Apr 02, 2007 5:32 pm
Location: St-Jérôme (near Montréal), Qc, Canada

Post by automat »

MT says innovate LC-1 default which is 7-22AFR, not 10-20 like the LM-1. so if i select this calibration option will it set the curve for a LC-1 or an LM-1?

using the linear generic WB seems to be a good option...
'93 Suzuki Swift 993cc 3 cylinders with a TD04L-13T , melted piston @ 25psi with a bad fuel pump. MS2E 3.0.3 standalone
'07 Suzuki SX4 2.0L , TurbineTech turbo kit. MS2E 2.0 used as a piggyback
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

The LC-1's analog output 2 is factory programmed to provide a
linear output between 0V and 5V for an AFR of 7.35 to 22.39.
Not really weird just to the extremes of the range that you might want to read.

Sounds like MT is right.
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

The setting in MT is (LC-1 0-5V). This assumes that you have set your output to be a 0-5V : 10-20 AFR on the LC-1. If you have not done this and wish to use the total range of the LC-1, you will need to put the terms in and calibrate it as a generic sensor. At least this is my understanding. Please correct me if I am wrong.

KeithG
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

OK, I have the answer :

:~/.wine.new/drive_c/Program Files/MegaSquirt$ grep -rn FJO .
Binary file ./MegaTune2.25/megatune.exe matches

i.e. the list of available options in MT is hard coded and no longer includes "LC1-DEFAULT" which all the ms1e etc ini's used to handle.

grepping for Innovate displays heaps of hits

./MegaTune2.25/mtCfg/lambdaSensors.ini:55:#elif INNOVATE_1_2_LINEAR
./MegaTune2.25/mtCfg/lambdaSensors.ini:61:#elif INNOVATE_0_5_LINEAR
./MegaTune2.25/mtCfg/lambdaSensors.ini:67:#elif INNOVATE_LC1_DEFAULT

but the option FJO in the menu is ONLY present inside the exe!!

so there is an issue. I wonder what my AFRs were at :-/ scary stuff. tuning AFR under boost with a gauge thats reading way off :-(

So, yes Keith, you are right, you must use generic wideband for the LC-1 or reprogram it to the narrower range. Thats pretty bad form really. Either both Innovates should be included with their appropriate ranges AND names, or neither of them. If you were going to have only one, it would have to be LC-1 not LM-1 as hardly any of us buy those.

Who wants to contact Eric about this?
hassmaschine
Super MS/Extra'er
Posts: 1331
Joined: Mon May 21, 2007 8:36 am

Post by hassmaschine »

it's really not a big deal to work around - although I kinda wish it was more well known. if you follow my instructions it will read correctly, but I do wonder how many people are running around with the default chosen and bad AFR readings..

I don't think the 0-5v setting works either - mine was still off by quite a bit even with the LC-1 programmed for that range. when I changed it to generic WB and manually entered 0-5v it was dead on.
ronchinoy
Experienced MS/Extra'er
Posts: 196
Joined: Fri Jul 29, 2005 6:27 am
Contact:

Post by ronchinoy »

any update or fix to this issue ?
1.3 Ltr Suzuki 14 PSI Boost.
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

ronchinoy wrote:any update or fix to this issue ?
The workaround is pretty simple, though, you are right, this should be fixed and is a significant issue.

KeithG
hassmaschine
Super MS/Extra'er
Posts: 1331
Joined: Mon May 21, 2007 8:36 am

Post by hassmaschine »

if no updates to MT are coming any time soon, it should at least be documented in the manual so people are aware of the problem. I was "tuning" my car for 2 months using the default setting without realizing it wasn't nearly accurate, and I happened across a thread that mentioned the issue.
AbeFM
Super MS/Extra'er
Posts: 875
Joined: Wed Dec 05, 2007 1:40 pm
Location: San Diego, CA
Contact:

Post by AbeFM »

I had this feeling when my guages didn't agree, I took my other AFR guage, and I fiddled with the outputs in Innovative's software until I was *sure* it was right.

1) Set the "warm up" voltage on the innovative to 2.5v
2) Look at guage during warm up.
3) Repeat with other meaningful voltages

This tells you really quick what's going on, and you can be sure that if the LC-1 thinks it's 12.0 that your gauge shows 12.0. Since you can't do this without the engine running under megatune, this is pretty much impossible as it requires many, many restarts. If there were some way to read the AFR without the motor running, it would be a lot easier (the warmed the LC-1, the less time it spends in 'warm up')

Anyway, glad to hear this work around, I'll try it.
2000 VVT Miata turbo, MS3Pro

Contact me if interested in a MS-II 2nd gen NB Miata PnP board.
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

hassmaschine wrote:if no updates to MT are coming any time soon, it should at least be documented in the manual so people are aware of the problem. I was "tuning" my car for 2 months using the default setting without realizing it wasn't nearly accurate, and I happened across a thread that mentioned the issue.
i wonder if editting the binary to have a better name is a possibility

if it at least said LM-1 then it would be ok.

let me have a go at it. (a true dirty hack at best, but surely not worse than the effect of what is going on now.)

on the brighter side, it only makes your real reading more extreme. IE you are richer in boost, and leaner at cruise. cruise you choose the leanest you can anyway, and you'll chicken out before leaning boost out past 13 or so and therefore have more safety than you thought...
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

AbeFM wrote:if the LC-1 thinks it's 12.0 that your gauge shows 12.0
that only works if you have access to the windows innovate tool. it does not work under wine in linux, and thus, i can not use it (don't have windows at all)
Post Reply