Mazdaedit
#1226
Yeah, that's the approach I've taken up till now but finally decided it was time to figure this out
So I did some more testing today. I changed my low-range open-loop entries and the fuel warm up entries back to 14.7 to see if it changes my commanded AFRs at all and... nope, not a bit.
So with that, I came up with this formula to convert my closed loop correction test values to the commanded afrs I have logged:
Correction to AFR Formula: 14.7*(1+CORRECTION)
e.g. 14.7*(1+(-0.075)) = 13.6
And to get the appropriate correction value for a target AFR:
AFR to Correction Formula: (1-(CORRECTION/14.7))*-1
e.g. (1-(13.6/14.7))*-1 = -0.075
Could be just me but those formulas looks a little too clean to be coincidence
And oh, by the way, 1+CORRECTION = lambda
So that gives us:
0.075 = lambda 1.075 = 15.80 AFR
0.000 = lambda 1.000 = 14.70 AFR
-0.075 = lambda 0.925 = 13.60 AFR
-0.050 = lambda 0.950 = 13.97 AFR
-0.100 = lambda 0.900 = 13.23 AFR
Now I'm working on a way interpolate my closed loop maps so I can do a clean copy from the open loop maps and have the exact targets I'm looking for.
So I did some more testing today. I changed my low-range open-loop entries and the fuel warm up entries back to 14.7 to see if it changes my commanded AFRs at all and... nope, not a bit.
So with that, I came up with this formula to convert my closed loop correction test values to the commanded afrs I have logged:
Correction to AFR Formula: 14.7*(1+CORRECTION)
e.g. 14.7*(1+(-0.075)) = 13.6
And to get the appropriate correction value for a target AFR:
AFR to Correction Formula: (1-(CORRECTION/14.7))*-1
e.g. (1-(13.6/14.7))*-1 = -0.075
Could be just me but those formulas looks a little too clean to be coincidence
And oh, by the way, 1+CORRECTION = lambda
So that gives us:
0.075 = lambda 1.075 = 15.80 AFR
0.000 = lambda 1.000 = 14.70 AFR
-0.075 = lambda 0.925 = 13.60 AFR
-0.050 = lambda 0.950 = 13.97 AFR
-0.100 = lambda 0.900 = 13.23 AFR
Now I'm working on a way interpolate my closed loop maps so I can do a clean copy from the open loop maps and have the exact targets I'm looking for.
Last edited by archwisp; 05-30-2021 at 10:58 PM. Reason: Added formula examples
#1227
Well that wasn't too difficult.
1. Copied my open-loop map into a spreadsheet
2. Created a second sheet that was all references to the first, then deleted enough RPM rows to fit into the 12 that the closed-loop map has
3. Created a third sheet that was links of the second, with an offset for the over-run/idle column, and added the formula to each cell.
4. Swap the axes and y-axis in the closed-loop tables to match the open-loop tables
5. Copy the entire last sheet, select top left column in the first closed-loop table, edit -> paste from clipboard -> with axes. Repeat on other closed-loop table.
I'll test it out tomorrow.
1. Copied my open-loop map into a spreadsheet
2. Created a second sheet that was all references to the first, then deleted enough RPM rows to fit into the 12 that the closed-loop map has
3. Created a third sheet that was links of the second, with an offset for the over-run/idle column, and added the formula to each cell.
4. Swap the axes and y-axis in the closed-loop tables to match the open-loop tables
5. Copy the entire last sheet, select top left column in the first closed-loop table, edit -> paste from clipboard -> with axes. Repeat on other closed-loop table.
I'll test it out tomorrow.
Last edited by archwisp; 05-30-2021 at 10:06 PM.
#1228
Welp. It looks like that did what I wanted I followed the process above and logged another run - the same drive I've been doing all my testing with - a nearby twisty/hilly road.
The screenshot below shows the spreadsheet from step two above, vs the logged commanded AFRs. Now just need to figure out why the commanded AFRs are capping out at 12.5.
This result is lining up much closer with what I would expect from tuning courses. I think the variation of the table entry vs the logged commanded afr (e.g. 13.39 vs 13.23 at 3000 rpm/6 load) should be a matter of MAF scaling and/or VE tuning.
On and on we go
The screenshot below shows the spreadsheet from step two above, vs the logged commanded AFRs. Now just need to figure out why the commanded AFRs are capping out at 12.5.
This result is lining up much closer with what I would expect from tuning courses. I think the variation of the table entry vs the logged commanded afr (e.g. 13.39 vs 13.23 at 3000 rpm/6 load) should be a matter of MAF scaling and/or VE tuning.
On and on we go
#1229
Brettus,
I've been thinking about why you might have seen different results from playing with closed-loop tables and your much smaller correction results...
I'm thinking, if you scaled your MAF to match to the open-loop targets throughout the range, you're basically just modifying the maf output so that it cancels out the lambda target adjustment (stock map is pretty close to lambda 1 throughout) up or down. That would have exponential effect on the lambda formula and probably produce the results you saw. So to get these results, you'd need to rescale back to an "accurate" maf scale and then set your open loop tables.
I've been thinking about why you might have seen different results from playing with closed-loop tables and your much smaller correction results...
I'm thinking, if you scaled your MAF to match to the open-loop targets throughout the range, you're basically just modifying the maf output so that it cancels out the lambda target adjustment (stock map is pretty close to lambda 1 throughout) up or down. That would have exponential effect on the lambda formula and probably produce the results you saw. So to get these results, you'd need to rescale back to an "accurate" maf scale and then set your open loop tables.
#1230
helf pcm vin
My ecu code is n3m2 18 881k. However, if you receive the map data, please mark it as a different VIN, and tell me what PCM VIN is suitable for my vehicle, so I can't get information from Korea.
It's a 2008 model and an auto model. 6Speed
It's a 2008 model and an auto model. 6Speed
#1232
Thread Starter
Boosted Kiwi
iTrader: (2)
Joined: Apr 2006
Posts: 20,609
Likes: 1,536
From: Y-cat-o NZ
Brettus,
I've been thinking about why you might have seen different results from playing with closed-loop tables and your much smaller correction results...
I'm thinking, if you scaled your MAF to match to the open-loop targets throughout the range, you're basically just modifying the maf output so that it cancels out the lambda target adjustment (stock map is pretty close to lambda 1 throughout) up or down. That would have exponential effect on the lambda formula and probably produce the results you saw. So to get these results, you'd need to rescale back to an "accurate" maf scale and then set your open loop tables.
I've been thinking about why you might have seen different results from playing with closed-loop tables and your much smaller correction results...
I'm thinking, if you scaled your MAF to match to the open-loop targets throughout the range, you're basically just modifying the maf output so that it cancels out the lambda target adjustment (stock map is pretty close to lambda 1 throughout) up or down. That would have exponential effect on the lambda formula and probably produce the results you saw. So to get these results, you'd need to rescale back to an "accurate" maf scale and then set your open loop tables.
This was at 3000 rpm in 3rd gear (50km/hr) on a flat road with max CL correction (according to me) . As you can see the average is approx. 13.7.
Last edited by Brettus; 06-04-2021 at 10:57 PM.
#1233
I attached the log file that I generated that graph from on the 31st. I think I was mostly in second gear but my OL and CL maps were identical, and there are some ~3000 rpm stable sections in there. You can cross-reference this file with the tables I posted above.
Here's a quick view of part of it. ~3200 rpm, 13.18 commanded, 13.25 measured, fuel status 1 = 2.
I've been working on MAF calibration in open loop since then, so newer logs won't show what you want. I'll try to get it all consolidated and a fresh log today but I think this log will show what you want to see.
Keep in mind this was before I started working on MAF calibration and some of my actuals ended up like 5-10% richer than the commanded target.
Here's a quick view of part of it. ~3200 rpm, 13.18 commanded, 13.25 measured, fuel status 1 = 2.
I've been working on MAF calibration in open loop since then, so newer logs won't show what you want. I'll try to get it all consolidated and a fresh log today but I think this log will show what you want to see.
Keep in mind this was before I started working on MAF calibration and some of my actuals ended up like 5-10% richer than the commanded target.
Last edited by archwisp; 06-05-2021 at 11:09 AM.
#1234
Here's a quick log from going down the street after some MAF calibration and re-enabling closed loop with the maps from the 31st. Got some other stuff going on today but I might be able to get some logs with even lower command targets tomorrow.
#1235
Sorry to interrupt your discussion with Brett ..
Only a 162 g/s at 8120 rpm
🤔 that seems a bit low
Edit: And your Voltage seems low
Edit Edit: Never-mind the g/s thing, serves me right for looking at that log on my phone.
Only a 162 g/s at 8120 rpm
🤔 that seems a bit low
Edit: And your Voltage seems low
Edit Edit: Never-mind the g/s thing, serves me right for looking at that log on my phone.
Last edited by wcs; 06-06-2021 at 06:11 PM.
#1237
Low-gear uphill pull? We don't really have any flat roads around here.
Edit: Also, I haven't really spent much time calibrating the > 2v portion of my maf. It's been a busy week.
Edit: Also, I haven't really spent much time calibrating the > 2v portion of my maf. It's been a busy week.
Last edited by archwisp; 06-07-2021 at 07:22 AM.
The following users liked this post:
Brettus (06-08-2021)
#1239
I don't think a low gear up-hill pull would cause that, but I noticed that the Throttle Position wasn't 100% so it appears not to be a WOT pull.
That said I'm not very familiar with the ME naming.
On ATR / Cobb there are two parameters for throttle "Accel.Pedal Pos.(%)" and "Throttle Position".
It's the Accel Pedal Pos I use to determine a WOT run. Anyways I will let you and Brett figure that out
Have you done anything to the OMP settings?
The flat line on the OMP while the car is warming up has the metering pump at position 30
I've never seen anything like that before.
Is that normal?
Last edited by wcs; 06-07-2021 at 08:38 AM.
#1240
Edit: lol
We're kinda getting off-topic here. My car has plenty of gremlins but my posts in this thread are specifically related to closed-loop tuning in ME.
Once I get things calibrated, maybe I'll start another thread and you can tear apart the actual readings
We're kinda getting off-topic here. My car has plenty of gremlins but my posts in this thread are specifically related to closed-loop tuning in ME.
Once I get things calibrated, maybe I'll start another thread and you can tear apart the actual readings
The following users liked this post:
wcs (06-07-2021)
#1241
lurker who came here to add;
Absolute throttle position can/will max out around 78~82% depending on the software used to log the value, this isn't an rx8 specific thing, its actually common across most OBD2 model cars.
Also, in re to the OMP, it will hold steady @30 until car has warmed up past either 65 degrees C or 75 degrees C (cant remember what one now), and also directly after start up, the omp will do a full sweep, so go from 3 right up to 60, while engine is in operation, its possible to see this sweep in logs if recording omp position
Absolute throttle position can/will max out around 78~82% depending on the software used to log the value, this isn't an rx8 specific thing, its actually common across most OBD2 model cars.
Also, in re to the OMP, it will hold steady @30 until car has warmed up past either 65 degrees C or 75 degrees C (cant remember what one now), and also directly after start up, the omp will do a full sweep, so go from 3 right up to 60, while engine is in operation, its possible to see this sweep in logs if recording omp position
#1242
lurker who came here to add;
Absolute throttle position can/will max out around 78~82% depending on the software used to log the value, this isn't an rx8 specific thing, its actually common across most OBD2 model cars.
Also, in re to the OMP, it will hold steady @30 until car has warmed up past either 65 degrees C or 75 degrees C (cant remember what one now), and also directly after start up, the omp will do a full sweep, so go from 3 right up to 60, while engine is in operation, its possible to see this sweep in logs if recording omp position
Absolute throttle position can/will max out around 78~82% depending on the software used to log the value, this isn't an rx8 specific thing, its actually common across most OBD2 model cars.
Also, in re to the OMP, it will hold steady @30 until car has warmed up past either 65 degrees C or 75 degrees C (cant remember what one now), and also directly after start up, the omp will do a full sweep, so go from 3 right up to 60, while engine is in operation, its possible to see this sweep in logs if recording omp position
I guess I've never really bothered to log the OMP from a cold start.
I'll have to give it a try to check it out.
#1244
Thread Starter
Boosted Kiwi
iTrader: (2)
Joined: Apr 2006
Posts: 20,609
Likes: 1,536
From: Y-cat-o NZ
I have played with V/T and can see it should work just as well as M/E does . However , I haven't yet heard of anyone that's successfully tuned a turbo with V/T yet . I'm sure there are a few out there but you'll get more help on this forum if you go with M/E.
The following 2 users liked this post by Brettus:
rob babicki (06-17-2021),
XDragon8 (06-18-2021)
#1246
Question I have for you Brettus: Is there any value to tuning the VE and Torque tables? I mean, when tuning speed density systems, VE is god and you tune everything with it. But in a MAF system, it seems the PCM should be calculating the fuel more directly with the MAF flow * target AFR to get the fuel volume directly. The VE seems like an extraneous value (of little value?)
Or is VE used to determine the current load given the MAF flow? Since the fuel/ignition maps are all Load vs RPM based, this might make some sense to get a more "accurate" load value, compared to a basic calculation of MAF flow vs cubic displacement.
#1249
Hi, Anyway to check if the p2 and secondary injectors are firing using mazdaedit logger. 6sp Hp 4 yellows and 2 red (stock injectors) In open loop afr is lean during boost.
I have edited:
max load limit, increased load tables in OL -12, 3-4, 5-6 , increased load tables in timing lead and trailing and VE map.
any ideas?
#1250
Thread Starter
Boosted Kiwi
iTrader: (2)
Joined: Apr 2006
Posts: 20,609
Likes: 1,536
From: Y-cat-o NZ
Looks like a zoom zoom - boom in the making with those afrs. Pretty risky business learning to tune on a boosted Renesis !!!!!
You can only monitor P1 injectors unfortunately. Id suggest your issue is in the reported maf value being too low. This could be due to any number of reasons .... but most likely being maf scaling being way off from a poorly designed maf setup.
You can only monitor P1 injectors unfortunately. Id suggest your issue is in the reported maf value being too low. This could be due to any number of reasons .... but most likely being maf scaling being way off from a poorly designed maf setup.