RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 2:31 pm

All times are UTC





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 2008 USDM LGT 5EAT EJ20X VF52
PostPosted: Mon Mar 04, 2024 7:12 am 
Offline
Senior Member

Joined: Thu Dec 18, 2014 10:31 pm
Posts: 1529
Location: oregon
2008 USDM Legacy GT, 5EAT
EJ20X longblock, with avcs delete kit (stock cam, but modified with a delete kit)
93 octane
2008 LGT upper/tgvs/rails/injectors/intercooler etc. everything above the heads is OEM/USDM
VF52 with wastegate port entry and exit ported, VF52 restrictor pill, stock BCS
*stock turbo back exhaust
2014 WRX Intake
Air pump delete, baro sensor from top of pump intact

so a basic "stage 2" (downpipe) and full tune.

the only problem we've had so far is that it's not reaching target boost, which is ~15 psi. I worked up the wastegate duty until I felt it was not being realistic, and then upped the boost controller frequency to 20hz, and worked up from near the bottom again. and at 74 to 80% duty, it's only getting 13.5 to 12ish psi of boost, give or take

either the wastegate flapper now sees much more exhaust gas pressure and is easier to open, and the boost controller cannot vent enough flow to decrease pressure against the wastegate actuator, or the stock exhaust cat-back with 220,000 miles is clogged and limiting to 170 to 200 g/s range

note that from 2008 to 2014, the same engine bay fuel system setup was used on the LGT and WRX, and that the 2014 WRX was the most updated per cylinder injector compensations in an OEM calibration, which I used in this. that's how I know. I looked at the fuel trim corrections early on when using the OEM per cylinder injector comps, and looked at the 2014 WRX OEM tables, and figured it out. I went online and found the OEM injector feed parts and compared them visually. same/same.

cruise (tgv closed) avcs and timing are modeled from OEM 2014 WRX, with correction for displacement and compression ratio difference

off-cruise (tgv open) avcs and timing are modeled after a 2007 STi which I tuned extensively, and is corrected for displacement and compression ratio difference

I have another sort of example I'm working on, but haven't gotten any logs back from the owner and he's got some sort of problem with his upstream as he's getting a P014E code. it's an ej20x in a 2012 STi, with the exhaust avcs being utilized. it's using the same cruise avcs and timing, with 0 commanded exhaust avcs as here, but then the intake/exhaust avcs + timing are derived from the 2011 JDM S206 (aggressive overlap) for TGV open, compensated for compression ratio difference of course. I guess it drives fantastic, but I was hoping for datalogs. He didn't seem compelled to message me at all until a couple days after I messaged him about 10 days after it was flashed. success, I guess?

in any case, if you want to take your OEM calibration and modify it for a different displacement and/or compression ratio, use boyle's law for correction factors against avcs and timing airmass axis. huzzah.

if it's general consensus that the dash/logged parameter for (mpg est.) is about 10% off, then 38 to 40 mpg average is still 34 to 35 mpg.

we'll eventually figure out the boost control problem, but the rest of the tables are good, so pay no mind to copying wastegate duty/target boost. DBW tables IIRC are from a 2008 STi.


Attachments:
File comment: closed loop, open loop, and open loop throttle/pedal min afr tables

closed loop of course is 14.7+offset, so a value of 0.441 means it's requesting 15.141 when up to temp in that cell

both tables are based off a 2D MAF g/s to lambda (gas AFR of 14.7 = 1 lambda), which is determined by displacement, compression ratio, and fuel grade. because of this, it makes MAP*RPM by IDC and MAF volts by IDC much much smoother.

also the RPM and load points are chosen to maximize the resolution for where each table is useful. you don't need low low/low rpm on the open loop table because it wouldn't be transiting to open loop anyways

resolution maxxing

fueling.PNG
fueling.PNG [ 111.38 KiB | Viewed 578 times ]
File comment: intake avcs and injector timing (key component for mileage)
avcs.PNG
avcs.PNG [ 133.87 KiB | Viewed 578 times ]
File comment: average of all data excluding lines with vehicle speed being 0 and/or mpg estimate being 0
mpg2.png
mpg2.png [ 13.05 KiB | Viewed 578 times ]
File comment: average of all cells for mpg estimate, including all data with vehicle speed zero and mpg estimate of zero
mpg.png
mpg.png [ 47.26 KiB | Viewed 578 times ]
File comment: file from datalog
MP-Stage2-EJ20x-08LGT-v9.zip [424.09 KiB]
Downloaded 87 times
File comment: 19.5 minute datalog
log03032024.csv [1.38 MiB]
Downloaded 33 times

_________________
if you're generous, feel free to donate.
venmo @ jon7009, 1047 when asked
jedilley@gmail.com for paypal


Last edited by jon7009 on Wed Mar 06, 2024 1:05 am, edited 4 times in total.
Top
 Profile  
 
 Post subject: Re: 2008 USDM LGT 5EAT EJ20X VF52
PostPosted: Mon Mar 04, 2024 7:22 am 
Offline
Senior Member

Joined: Thu Dec 18, 2014 10:31 pm
Posts: 1529
Location: oregon
images from datalog

back onto the exhaust avcs,

from reading the input of more experienced engine rebuilders, these motors are supposed to have a pin that locks centerline on the exhaust cam when the exhaust avcs solenoid is unplugged.

despite this, I felt something was off in the very first go, and recommended doing an avcs delete on the exhaust cam. he used a kit from somewhere, and modified the oem ej20x camshafts when he ported the vf52 turbine housing for the wastegate entry and exit.

according to the pros, this is completely unnecessary. the exhaust cams supposedly do not have any incorrect centerline alignment when the solenoids are disconnected, without modification.


Attachments:
File comment: MAF volts by IDC, with TPS on z-axis
you can see how the open loop TPS base min afr commands a higher IDC than lower throttle for the same MAF volts. I use this instead of a torque reduction from timing per gear or load based acceleration transient something or other

MAFVbyIDC2.PNG
MAFVbyIDC2.PNG [ 27.85 KiB | Viewed 577 times ]
File comment: MAP*RPM by IDC, no filters
you can see how the open loop TPS base min afr commands a higher IDC than lower throttle for the same MAP*RPM value. I use this instead of a torque reduction from timing per gear or load based acceleration transient something or other

MAPbyRPMbyIDC.png
MAPbyRPMbyIDC.png [ 34.53 KiB | Viewed 577 times ]
File comment: total timing across MAP*RPM by IDC
timing1.PNG
timing1.PNG [ 57.34 KiB | Viewed 577 times ]
File comment: total timing across timing table
some filters were used

timing2.PNG
timing2.PNG [ 119.33 KiB | Viewed 577 times ]
File comment: MAF fuel trim error for closed loop
some cell error correction in MLV was used
similar to the MAPerror image, open loop, warmup, and low coolant temps were removed
half of this correction (the value is in percent) was used on the next revision

MAFerror.png
MAFerror.png [ 70.46 KiB | Viewed 577 times ]
File comment: Engine Load Compensation (MP) closed loop fuel trim error
some threshold detection used in logger
half of this value was applied against the next revision's table

MAPerror.png
MAPerror.png [ 126.28 KiB | Viewed 577 times ]

_________________
if you're generous, feel free to donate.
venmo @ jon7009, 1047 when asked
jedilley@gmail.com for paypal
Top
 Profile  
 
 Post subject: Re: 2008 USDM LGT 5EAT EJ20X VF52
PostPosted: Wed Mar 06, 2024 1:05 am 
Offline
Senior Member

Joined: Thu Dec 18, 2014 10:31 pm
Posts: 1529
Location: oregon
I added more avcs to off cruise, added more timing to off-cruise, adjusted injector timing again for the greater avcs, and was able to get some more data.

unfortunately, it still has a boost control problem. I had thought it was with a Cobb DP, but turns out it's all oem behind the turbo. I'm betting it's clogged.

we're swapping the boost controller but new exhaust parts are on the way.


Attachments:
File comment: boost at WOT
boost1.PNG
boost1.PNG [ 68.57 KiB | Viewed 559 times ]
File comment: boost error at WOT
boost2.PNG
boost2.PNG [ 39.22 KiB | Viewed 559 times ]
File comment: MAF volts by IDC, with final fueling
MAFVbyIDC.png
MAFVbyIDC.png [ 27.87 KiB | Viewed 559 times ]
File comment: MAP * RPM by IDC with final fueling
MAPbyRPMbyIDC.png
MAPbyRPMbyIDC.png [ 25.29 KiB | Viewed 559 times ]
File comment: mass air flow by IDC, with final fueling
MAFgIDC.png
MAFgIDC.png [ 25.53 KiB | Viewed 559 times ]

_________________
if you're generous, feel free to donate.
venmo @ jon7009, 1047 when asked
jedilley@gmail.com for paypal
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl