PDA

View Full Version : LM-1 Programming & Settings



RevGTO
April 11th, 2010, 06:02 AM
What are accurate settings for analog outputs 1 & 2 on the LM-1 to work with V1 on V7.5? My current seetings are:

Analog Output One:
.996v @ 10.01AFR
4.996v @ 19.99AFR

Analog Output Two:
.996v @ 10.01AFR
1.998v @ 19.99

My logged AFR results come in leaner than the reading on the meter. I've searched and read a lot of threads but there are varying proposals for getting the programming right.

In the past when working V7.3.3 I made some mods to the sae-generic.txt. However, those settings skew the results way rich with my current setup. The only change I currently have to the sae-generic.txt file is maximum AFR at 20 rather than 30. If any edits ought be made there, let me know.

Thanks for any help!

mr.prick
April 11th, 2010, 07:07 AM
How to match WBO2 output to {B3601} (http://forum.efilive.com/showthread.php?t=13229&highlight=slippery)
I suggest programming it with a 0 volt value,
this way you don't have to back calculate the intercept.

You want the voltage that represents Lambda 1.00 to be the same as your stoich AFR.
The maximum and minimum in the sae_generic.txt & calc_pids.txt are for gauges and other references,
you will still see larger/lower values in a log.

joecar
April 11th, 2010, 09:32 AM
RevGTO,

I may or may not have asked this already:

How old is the Bosch sensor attached to your LM-1...?

joecar
April 11th, 2010, 09:36 AM
You can program your LM-1 for this:
0V=AFR 11
5V=AFR 16
That gives more resolution.

Also, what fuel do you use... mr.prick has a point about stoich AFR.

We can setup a calc_pids.txt file for you.

5.7ute
April 11th, 2010, 10:55 AM
Check out post 7 here. http://forum.efilive.com/showthread.php?t=10701&highlight=2.5+volts
I found this method works extremely well for removing offset errors & keeping scanned values accurate .

RevGTO
April 11th, 2010, 01:38 PM
RevGTO,
I may or may not have asked this already: How old is the Bosch sensor attached to your LM-1...?We purchased the unit in Sept. 06. I co-own it with a friend, and we swap it back and forth as we're doing mods and tuning. It spends most of its time on the shelf. It's not like an LC-1 that's continously installed. But it's been in my car daily for a couple of months lately as I've been trying to get my CL fueling in line.

Fueling is good ol' 91 octane ... the best we can get here for LS1 needs.

mr.prick
April 11th, 2010, 01:45 PM
Fueling is good ol' 91 octane ... the best we can get here for LS1 needs.

:bad:
I feel your pain, that's all I can get where I live.

RevGTO
April 11th, 2010, 01:53 PM
You can program your LM-1 for this:
0V=AFR 11
5V=AFR 16
That gives more resolution. We can setup a calc_pids.txt file for you.I've seen that suggested. But I'm not so much concerned with finer resolution as I am accuracy between meter readout AFR on the LM-1 and logged data in EFILive.

I then changed the LM-1 pid in the programme files/efilive/V7/user configuration/sae generic txt file to (({EXT.AD1}-({EXT.AD2}-2.5)*3)+7.35 .
That's the transposition of the LC-1 pids to the LM-1 ... I've seen that advocated by several guys.

*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .1 "({EXT.AD1}*1.9936)+9.9832"
*CLC-00-929
factor 0.0 2.0 .1 "{CALC.AFR_LM11.AFR}/{GM.AFR}"

*CLC-00-930
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .1 "({EXT.AD1}*1.9936)+9.9832"
*CLC-00-931
factor 0.0 2.0 .1 "{CALC.AFR_LM12.AFR}/{GM.AFR}"This altered sae_generic.txt was advocated by some guys on the forum a few years back and was what I had in 7.3.3.

All this is what I meant by varying proposals ... different configurations will give different results. I guess I can try the LC-1 settings ... I was hoping to find a consensus and straight answer about these settings.

5.7ute
April 11th, 2010, 02:03 PM
I've seen that suggested. But I'm not so much concerned with finer resolution as I am accuracy between meter readout AFR on the LM-1 and logged data in EFILive.

That's the transposition of the LC-1 pids to the LM-1 ... I've seen that advocated by several guys.
This altered sae_generic.txt was advocated by some guys on the forum a few years back and was what I had in 7.3.3.

All this is what I meant by varying proposals ... different configurations will give different results. I guess I can try the LC-1 settings ... I was hoping to find a consensus and straight answer about these settings.

The transposition of the lc1 settings gives a better resolution of the AFR reading. Add to that the secondary channel flat voltage which will show any offsets, and you will scan what you see on the screen.

RevGTO
April 11th, 2010, 02:33 PM
Ok, sounds good, I'm going to try it. Now for a dumbass question, but I want to be sure ... the EXT.AD1 pid in EFILive corresponds to Analog Output 1 on the LM-1, correct?

5.7ute
April 11th, 2010, 03:03 PM
Ok, sounds good, I'm going to try it. Now for a dumbass question, but I want to be sure ... the EXT.AD1 pid in EFILive corresponds to Analog Output 1 on the LM-1, correct?

It depends on which input slot on the flashcan you have wired up the wideband.
Put the red wire in the "E" slot to make analog 1 in the wideband read as EXT.AD1 in the scan tool. Analog 2 (white wire) goes in "C" The earth in"D".
Program analog 1 to the lc-1 settings. Analog 2 to a flat 2.5 volts & change the generic txt expression for the LM-1 to (({EXT.AD1}-({EXT.AD2}-2.5)*3)+7.35 .
Then you are good to go.

RevGTO
April 11th, 2010, 03:31 PM
I get your point. I've got the white wire in the "E" slot. So compared to you, I'm reversed. Analog output 2 gives me the AFR swing while 1 provides the constant.

RevGTO
April 11th, 2010, 03:41 PM
Does this look right for the LM-1 pid, then? I'm assuming you only have to alter the EXT.AD1 pid, not the AD2 pid as well?

*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .2 "(({EXT.AD1}-({EXT.AD2}-2.5)*3)+7.35 "
*CLC-00-929
factor 0.0 2.0 .2 "{CALC.AFR_LM11.AFR}/{GM.AFR}"
*CLC-00-930
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .2 "{EXT.AD2}*10"
*CLC-00-931
factor 0.0 2.0 .2 "{CALC.AFR_LM12.AFR}/{GM.AFR}"

mr.prick
April 11th, 2010, 03:45 PM
What is your stoich AFR {B3601}?

RevGTO
April 11th, 2010, 03:49 PM
what is your stoich afr {b3601}?14.63

5.7ute
April 11th, 2010, 04:19 PM
Does this look right for the LM-1 pid, then? I'm assuming you only have to alter the EXT.AD1 pid, not the AD2 pid as well?

*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .2 "(({EXT.AD1}-({EXT.AD2}-2.5)*3)+7.35 "
*CLC-00-929
factor 0.0 2.0 .2 "{CALC.AFR_LM11.AFR}/{GM.AFR}"
*CLC-00-930
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .2 "{EXT.AD2}*10"
*CLC-00-931
factor 0.0 2.0 .2 "{CALC.AFR_LM12.AFR}/{GM.AFR}"

No, Since EXT.AD2 is where the wideband is reporting the AFR you will need a CALC.PID like this.
*CLC-00-928
AFR 10.0 20.0 .2 "(({EXT.AD2}-({EXT.AD1}-2.5)*3)+7.35 "
EXT.AD1 being the flat 2.5 voltage.

joecar
April 11th, 2010, 05:23 PM
I like 5.7ute's method of canceling out voltage offsets.

RevGTO
April 12th, 2010, 01:58 PM
Well, I did some logging today with this setup and ended up with highly skewed results. Logged AFR's read steady at 12.9-13.0 (commanded=14.63) while AFR voltage varied between the usual 1.5 and 1.7. Somehow, I didn't do something right (no surprise). Here's how I have the LM-1 programmed attempting to follow 5.7 Ute's instructions:

Analog Output One:
2.501v @ 10.01AFR
2.501v @ 19.99AFR

Analog Output Two:
.996v @ 10.01AFR
1.998v @ 19.99

Here is how I have the sae_generic.txt pid for the LM-1:

*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .2 "(({EXT.AD2}-({EXT.AD1}-2.5)*3)+7.35 "
*CLC-00-929
factor 0.0 2.0 .2 "{CALC.AFR_LM11.AFR}/{GM.AFR}"
*CLC-00-930
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .2 "{EXT.AD2}*10"
*CLC-00-931
factor 0.0 2.0 .2 "{CALC.AFR_LM12.AFR}/{GM.AFR}"

Again, I have the white wire in the "E" slot, and the red in the "C", ground in the middle.
Where did I go wrong?

5.7ute
April 12th, 2010, 02:25 PM
RevGTO. Post the log & your generic txt file & I will have a play.
Mick

RevGTO
April 12th, 2010, 02:54 PM
Ok, here is the sae_generic.txt file.

RevGTO
April 12th, 2010, 02:59 PM
Here is a log file. It shows a little more variation than the one I described, but that one got deleted.

5.7ute
April 12th, 2010, 03:16 PM
Change analog out 2 to
0.88333v @10:1 AFR
4.21667v @20:1 AFR
Then do a quick log & post.

5.7ute
April 12th, 2010, 03:47 PM
Or you can use this one that doesnt give you much resolution. (Original lm-1 settings like you have programmed in at the moment.

RevGTO
April 12th, 2010, 03:51 PM
The LM-1 changes those voltage values when programmed in to 0.879 and 4.215. Does that make a difference?

5.7ute
April 12th, 2010, 04:01 PM
The LM-1 changes those voltage values when programmed in to 0.879 and 4.215. Does that make a difference?

It's been a while since I played with the analog side of things, but I do remember the values being changed slightly & leaving them as is.
There is a lot of noise in the grounds showing in your last log. Mine was only around a 0.3v swing but yours is around 0.7v. You will need those full range settings to smooth it out.

RevGTO
April 12th, 2010, 04:06 PM
Or you can use this one that doesnt give you much resolution. (Original lm-1 settings like you have programmed in at the moment.Ok, great, thanks. It's midnight here so I have to call it day. I'll log tomorrow and post up my results.

Note: This sae_generic revision contains AD1-AD2, whereas your previous recommendation had it the other way around (post #16).

5.7ute
April 12th, 2010, 04:09 PM
Ok, great, thanks. It's midnight here so I have to call it day. I'll log tomorrow and post up my results.

Note: This sae_generic revision contains AD1-AD2, whereas your previous recommendation had it the other way around (post #16).

Yeah, I was getting confused between what wire was in what slot etc. Thats why it was easier to get you to post the log & file so I could play with it here.
Once you have the log with the better resolution settings I will set up the generic txt file again.
Mick

RevGTO
April 13th, 2010, 05:32 AM
A quick log with those LM-1 setting gave AFRs at 25:1.

5.7ute
April 13th, 2010, 09:37 AM
A quick log with those LM-1 setting gave AFRs at 25:1.

There is something seriously wrong with the analog voltages in that log. Check your connections.

mr.prick
April 13th, 2010, 10:18 AM
I suggest you program it, build your PID and trust what you see in the software.
The LM-1's digital display is going to be a little quicker than the analog signal.
Write everything to the calc_pids.txt instead of the sae_generic.txt so it doesn't get overwritten after an update.

5.7ute
April 13th, 2010, 10:26 AM
0.06 volts on both channels is an error in the connections.
I agree with the CALC.PIDS not being overwritten and being a better option for the changes. We will get to this once we get everything else sorted.

RevGTO
April 13th, 2010, 03:47 PM
Yep, the connection must have been a problem on that log. Did another one and the LM-1 voltage range was 2.2-3.2, corresponding to LM-1 AFRs of 21.82-31.40.

So I'm assuming a factor would need to be derived for the calculated pid that would translate these numbers into accurate AFRs?

Or maybe I was best off with my original settings that I had with 7.3.3:

Analog Output One:
0.000v = 10.01
4.996v = 19.99

Analog Output Two:
1.001v = 10.00
2.002v = 20.01

5.7ute
April 13th, 2010, 03:51 PM
No. Just post that log so I can change the expression in your generic txt file to the new settings.

5.7ute
April 13th, 2010, 04:02 PM
Actually, just use this.

RevGTO
April 14th, 2010, 12:48 AM
Thanks, will do. BTW, did you make any other changes besides the CLC-00-928 second line? I've been changing that in my edits rather than copy/pasting the entire sae_generic file.

RevGTO
April 14th, 2010, 05:18 AM
Fantastic! Finally found the winning formula! Got a couple of logs done and my AFR's now read like my meter instead of too lean. Now I can move forward to perfecting my Calc.VE tune. Thanks so much 5.7 Ute for your patient assistance!

joecar
April 14th, 2010, 06:06 AM
Good job...:cheers:

RevGTO
April 14th, 2010, 01:47 PM
Here's a brief log file with a lot of steady throttle.

RevGTO
April 14th, 2010, 01:57 PM
For anyone else who's using V1 with LM-1, here's the programming that got my AFR's accurate, meter compared with logged data. This is with the white wire in the "E" slot; if you have the red wire in "E", programming for analog outputs 1&2 will be reversed.

Analog Output One:
2.501v @ 10.01AFR
2.501v @ 19.99AFR

Analog Output Two:
0.88333v @10:1 AFR
4.21667v @20:1 AFR

LM-1 sae_generic.txt pid:
*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .2 "(({EXT.AD1}-({EXT.AD2}-2.5))*3)+7.35 "
*CLC-00-929
factor 0.0 2.0 .2 "{CALC.AFR_LM11.AFR}/{GM.AFR}"
*CLC-00-930
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .2 "{EXT.AD2}*10"
*CLC-00-931
factor 0.0 2.0 .2 "{CALC.AFR_LM12.AFR}/{GM.AFR}"

Thanks again to 5.7 Ute!