how-to: Log AFR from the LC-1 w/o a serial cable
#64
Evolved Member
iTrader: (17)
Jack, clear out your PM box. Your full
But to get what we were talking about
If I use this:
<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="8409" type="1D" level="1" scaling="Hex16"/>
In Ecuflash I get 2089
If I use this:
<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="8408" type="1D" level="1" scaling="Hex16"/>
In Ecuflash I get C820
But to get what we were talking about
If I use this:
<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="8409" type="1D" level="1" scaling="Hex16"/>
In Ecuflash I get 2089
If I use this:
<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="8408" type="1D" level="1" scaling="Hex16"/>
In Ecuflash I get C820
Code:
<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="3817A" type="1D" level="1" scaling="Hex16"/>
Last edited by Jack_of_Trades; May 7, 2008 at 02:58 PM.
#66
Evolved Member
iTrader: (17)
Just got this from Zeitronix:
Here is my version for evoscan:
If anyone wants to work with this, give it a shot. I haven't tested it yet. But I think i did it correctly. It works in Excel for me.
It's a 6 order formula, which maybe useful depends what kind of arithmetics your logger can handle.
AFR = -0.3481V^6+3.4583V^5-12.813V^4+22.269V^3-18.043V^2+7.4273V+8.8711
Again, digital output is your friend
AFR = -0.3481V^6+3.4583V^5-12.813V^4+22.269V^3-18.043V^2+7.4273V+8.8711
Again, digital output is your friend
Here is my version for evoscan:
Code:
eval = -0.3481*(x/255*5)^6+3.4583*(x/255*5)^5-12.813*(x/255*5)^4+22.269*(x/255*5)^3-18.043*(x/255*5)^2+7.4273*(x/255*5)+8.8711
Last edited by Jack_of_Trades; May 8, 2008 at 02:56 PM.
#68
Evolved Member
iTrader: (2)
I'm not sure what math expression parser he's using in EvoScan (or if he just rolled his own), so I can't say for sure. I see a few expressions like this in Data.xml though:
So, it looks like exponentiation isn't supported without explicitly writing it out, which works great if you only need x^6, but fails miserably when you need to calculate a power-of expression from a calculated expression.
Code:
-0.00000001300*x*x*x*x*x+0.000006657*x*x*x*x-0.001341*x*x*x+0.1353*x*x-7.874*x+336.1
#69
Evolved Member
iTrader: (17)
Well, i did a pull and logged the raw bit values and just added the formula to my excel spreadsheet of my datalogging. It consistently reads roughly .2-.3AFR richer than the digital serial logging from the ZT-2. After re-installing evoscan v2.1, my AFR's in evoscan seem to be dead on so I'm gonna stick with the digital serial logging for now. I'm still all about modding the front O2 to use the wideband linear signal to do closed loop switching AND AFR logging at once.
#70
Evolved Member
iTrader: (26)
Join Date: Oct 2005
Location: Pittsburgh
Posts: 1,712
Likes: 0
Received 0 Likes
on
0 Posts
Does anyone know if this can be done with the AEM wideband? Run the blue wire into the ecu and the black wire to ground (those are the 2 wires that go into the serial connector)?
Just curious if there is a solution rather than logging the aem through a diy serial connector?
Basically I am working on tuning a car with a aem wideband and we cant get the serial cable to work - its wired correctly, and the computer is recognizing the usb to serial adapter (dynex) but evoscan just comes up with an error every time......
I am going to try flashing the V5 94170014 patch (he has 94170008 currently and the 14 is supposed to work) on his ecu for the rear O2 sim and thought maybe we can ditch the serial and log the aem through the ecu instead?
Any help would be appreciated!!
Just curious if there is a solution rather than logging the aem through a diy serial connector?
Basically I am working on tuning a car with a aem wideband and we cant get the serial cable to work - its wired correctly, and the computer is recognizing the usb to serial adapter (dynex) but evoscan just comes up with an error every time......
I am going to try flashing the V5 94170014 patch (he has 94170008 currently and the 14 is supposed to work) on his ecu for the rear O2 sim and thought maybe we can ditch the serial and log the aem through the ecu instead?
Any help would be appreciated!!
#71
Evolved Member
iTrader: (17)
Join Date: Nov 2005
Location: NNJ
Posts: 2,544
Likes: 0
Received 0 Likes
on
0 Posts
Well, i did a pull and logged the raw bit values and just added the formula to my excel spreadsheet of my datalogging. It consistently reads roughly .2-.3AFR richer than the digital serial logging from the ZT-2. After re-installing evoscan v2.1, my AFR's in evoscan seem to be dead on so I'm gonna stick with the digital serial logging for now. I'm still all about modding the front O2 to use the wideband linear signal to do closed loop switching AND AFR logging at once.
If that is the case why do you still want to stick the digital value? (aside from the difficulty of converting the analog value with EvoScan)
#72
Call up AEM to ask what signal sent through the blue wire you mention. If its a voltage betwee 0 and 5 volts and they can give you the correlation between voltage and AFR, then you are in business.
Does anyone know if this can be done with the AEM wideband? Run the blue wire into the ecu and the black wire to ground (those are the 2 wires that go into the serial connector)?
Just curious if there is a solution rather than logging the aem through a diy serial connector?
Basically I am working on tuning a car with a aem wideband and we cant get the serial cable to work - its wired correctly, and the computer is recognizing the usb to serial adapter (dynex) but evoscan just comes up with an error every time......
I am going to try flashing the V5 94170014 patch (he has 94170008 currently and the 14 is supposed to work) on his ecu for the rear O2 sim and thought maybe we can ditch the serial and log the aem through the ecu instead?
Any help would be appreciated!!
Just curious if there is a solution rather than logging the aem through a diy serial connector?
Basically I am working on tuning a car with a aem wideband and we cant get the serial cable to work - its wired correctly, and the computer is recognizing the usb to serial adapter (dynex) but evoscan just comes up with an error every time......
I am going to try flashing the V5 94170014 patch (he has 94170008 currently and the 14 is supposed to work) on his ecu for the rear O2 sim and thought maybe we can ditch the serial and log the aem through the ecu instead?
Any help would be appreciated!!
#75
Evolved Member
iTrader: (17)
Cuz I'd rather wait until one of these disam geniuses figures out how to mod the front O2 code so we can use the 0-5v linear analog output to control the closed loop operation with an ECUFlash adjustable switching point. Just like the 1G DSM guys have already done. This way I'm using this input for 2 things while also freeing up another ADC input. Win win. The zeitronix .15-3.27 volt NON-linear analog output isn't all that accurate and I don't feel confident using it but the 0-5v linear output I would definitely use. Unfortunately, thats the same wire that I am currently using for my narrowband simulated output set to 15.5AFR for closed loop. If I wasn't already using it, I'd have that permanently hooked up.