ITT we discuss EAE on MS3 - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 03-31-2015, 08:28 PM   #1
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default ITT we discuss EAE on MS3

I want to do an in-depth look at EAE to show that, though it seems quite complicated, the concept and the code is actually quite simple. However, though I believe that to be true, my initial attempt to present the simplified version has proven a bit difficult.

So, I'm going to open with a presentation of what I have, and how I got there, and what I think it all means.

AtW means extra % of fuel that at adheres to the manifold wall
WF means the Fuel that is in a puddle on the Wall
SfW means the % of that puddle that is evaporating back into the airstream

If used, EAE is active all the time in its normal manner EXCEPT during cranking and fuel cut. During cranking, I don't really understand what it does. During fuel cut, only SfW is active, reducing the WF.

Otherwise, each pulse is reduced by the SfW * WF, while additionally it is increased by the AtW. Then the extra fuel (above the normal steady-state requirement) is added to the WF.

That's the general idea.
DNMakinson is offline   Reply With Quote
Old 03-31-2015, 08:59 PM   #2
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

Next, what to do with that:

Keys to tuning EAE:

1) The visual concept is that with each pulse, some fuel is Added to the puddle (AtW), but at the same time, some of the puddle is evaporated back (SfW). Though the math may go beyond the reality, in fact the picture can help.

2) When in transition, the normal thing to happen is that the engine goes lean on rising MAP, and goes rich on falling MAP. To watch this occur:

3) Have a gauge or log that shows AFR Error. This is more important than AFR, because, as MAP changes the target AFR changes too. What EAE is trying to do is keep the actual AFR the same in transient conditions that you have determined you want at steady state. I also like to have a log that shows WF, and it gives a picture of what's going on.

One trick is to set all AFR's (assuming you are using AFR in the fueling equation) to the same value. For instance, I temporarily set AFR from idle to 6K RPM and from the bottom to 85kPa to 14.7. Now, any deviation from 14.7 is an imperfect EAE, and AFR is as easy to use as AFR Error for evaluation. Not recommended into higher kPa.

4) Have your kPa, Temp, and RPM X-Axis set for the full range your engine will ever see, because, remember, EAE is on all the time.

5) Start with AtW (Temp) and AtW (RPM) set to 100%. Also SfW (Temp) and SfW (RPM) at 100% across the board. The AtW should be at some value like 11 across the board, and the SfW at about 6.4. To be honest, I don't know that these are the BEST values, but have not seen anything that suggests better ones, and will admit that is above my understanding.

6) Now drive in Steady State at low MAP, and a nominal RPM, and then make a step change in throttle. As MAP increases, the tendency is to go lean. Watch this occur or log it.

7) This is where I think most tutorials are confusing and lead people astray. They say:
A) If it goes rich on accel, decrease added-to-walls.
B) If it goes lean on accel, increase added-to-walls.
C) If it goes rich on decel, increase sucked-from-walls.
D) If it goes lean on decel, decrease sucked-from-walls.

This is basically correct. When you made the step throttle increase, resulting in a temporary lean situation (B), you want to increase the ATW, but NOT at the Starting MAP value, but rather at the Finishing MAP value.

In other words, start at 25 kPa, and fairly quickly run to 35 kPa. If you go lean (or PLUS AFR error) then add increase the AtW at 35 kPa, (and all kPa above that). For example, if you started with all at 11, then leave the 25 at 11, and move 35 and above to, say 12.

Keep ratcheting up until the curve tends to look like my finished one shown below:


You may wish to start with a curve similar to that, but with lower values, so you are closer to begin with.

8) Now step down kPa from the maximum, to lower values and watch things go rich as in (C) above. Now same as in step 7, increase the SfW and the Finishing MAP value. The final curve should look something like this:


9) I have not seen any need to adjust the RPM curve from 100% across the board.

10) I have adjusted the AtW curve a little for temperature, but I'm not convinced yet it means a lot:


11) I have more purpose in adjusting the SfW for temperature. On cold starts, the WF builds up during cranking. Then when cranking is over, the SfW * WF would drive the pulse right to zero. Here is my curve (it may be a little extreme, as I am still trying to perfect after-start when cold):


That's it for now. I'll see how this looks on the site, and see what kind of comments I get from others that have something to add.

This is one thing that has worked well for me. Again, the key is change the AtW and SfW at the Ending MAP, not the Starting, when making the step changes.
Attached Thumbnails
ITT we discuss EAE on MS3-atw.png   ITT we discuss EAE on MS3-sfw.png   ITT we discuss EAE on MS3-atw_temp.png   ITT we discuss EAE on MS3-sfw_temp.png  
DNMakinson is offline   Reply With Quote
Old 03-31-2015, 09:00 PM   #3
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

No comments so far.

Too long?
Not clear?
Not accurate?
Not helpful?
No one else cares?

I was hoping to get some conversation on this subject, as well as pass on the best helpful hint in tuning, which is #7 in the above post: Adjust AtW or SfW at the ending MAP, after a step change in throttle, rather than at the starting MAP.

Last edited by DNMakinson; 04-02-2015 at 09:40 AM.
DNMakinson is offline   Reply With Quote
Old 04-08-2015, 11:22 AM   #4
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

Ok, I'll jump in:

1) MSextra had a GREAT write up on complete and thorough tuning of EAE. I even printed it out and used it when tuning my 01, and ended up with flawless values. Now that they changed format, I've looked for like a dozen times and can't find it. That really sucks. I'll see if I can find my hard copy
2) your writeup looks about right. your strategy looks about right. I think the topic is just not that popular cause many/most don't bother tuning this because car drives more or less fine without it, but I do agree that this is important.
3) My biggest breakthrough when tuning this last time was to rely FIRST on feel, and THEN on what the data outputs. What I mean by this is: you want the car to feel smooth and transition smooth, rather than feel rough but "look" good on a log. The two are NOT the same and don't necessarily have to match/jive. I know that sounds crazy but it really helped me. (same with AE, actually)
4) Keep in mind this is WAY more for steady state and almost completely useless for sharp throttle transitions, where AE is what the car relies on....Also keep in mind that if your VE table and AE isn't ALREADY TUNED to perfection, you're gonna have a really bad time with this.

Hope that helps, at least somewhat. I'll grab screen shots of my 01's values that I ended up with, but the car was very smooth and slow throttle tip in at cruise resulted in almost rock solid AFR's when I was done with it. (ps: they looked a lot like yours above, actually. In fact, I'd say that for most cars the overall curves will look exactly like that and only vary by a little bit in either direction)
18psi is offline   Reply With Quote
Old 04-08-2015, 11:41 AM   #5
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,860
Total Cats: 1,788
Default

i glanced. seems correct.

ultimately you should be able to manipulate the throttle without seeing any change in AFR.

accel-pump is still used for large/fast transistions.
Braineack is offline   Reply With Quote
Old 04-08-2015, 12:45 PM   #6
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

Thanks for the responses.

Since this write-up, I have added a bit more AtW with lower temps, up to about 5%.

I actually have no ACCEL pump on now. (tell it to be full at less than 10 RPM, and zero above 20 RPM, something like that).

I can't see where it would add anything to the response of the engine. I think I mentioned that the AFR lag that remains in the logs is simply because the O2 sensor sees the actual result of the lower kPa burning that took place a few milliseconds before a very fast throttle transition, whereas the MS sees the new table value of AFR target and AtW target (and responds) immediately.

Even when first cranked cold, the car will pull off with no hesitation.

I may be slightly agressive on the SfW coefficients as a quick release of throttle goes a bit lean, but I figure it doesn't matter as the engine is in decelleration in that transition.
DNMakinson is offline   Reply With Quote
Old 04-08-2015, 12:51 PM   #7
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

quick release is supposed to be handled by AE, not EAE.
iirc EAE is only for slow transitions, or at least MOSTLY so
18psi is offline   Reply With Quote
Old 05-04-2015, 03:58 AM   #8
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

Just wanted to follow up with this thread, as I finally started dialing in my EAE today.

1) This thread is really helpful, even for me who has tuned it before, as a refresher. Thank you David for making it. Props given.
2) the new firmware has a cool little SFW/ATW screen that is VERY similar if not the same as the one for AE, which has a live data stream/graph on the bottom where you can monitor how the AFR's follow KPA and Throttle inputs. This is very helpful.
3) My ATW values were very close, and graph was close too. My SFW values ended up being quite a bit higher, since running them as low as you or lower ended up with WAY too much sensitivity. I find it hilarious that some people DESIRE throttle response like this. It sucks. Car is so much easier, smoother, and more enjoyable to drive when its slightly dulled. When shifting slowly it doesn't buck or jerk thsi way.
4) I ended up tapering the CLT values for ATW from about 10% higher at low temps to level off after about 80* because I've noticed on cold starts when I immediately drive the car I get quite a bit of leanness for the 1st minute or two.
5) No idea what's happening with your SFW CLT correction but it doesn't make sense to me and I'm just keeping mine at 100 for now cause I have no problems with it.
6) RPM correction I left all at 100 too cause I really don't see much of a swing between required or desired EAE at different speeds. I'll test this more late when I've time.
18psi is offline   Reply With Quote
Old 05-04-2015, 08:47 PM   #9
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

Here is my present ATW Temp Comp:


Response to 18:
1) Thanks, and glad to contribute.
2) I'll have to try that. I use that functionality on my logs, but real time could be helpful.
3) By "higher" do you mean the whole curve is shifted up? The advantage to low values is that the EAE lasts a little longer as the SFW takes more time to equalize the wall fuel (puddle).
4) See my latest curve, above.
5) If the theory matches reality, then mine makes sense. When cold, one should expect the fuel to not want to evaporate from the puddle. However, that is not why I have this CLT curve. It is because, on cold starts, the SFW, even when MAP was still in the 80-85 kPa range, would pull so much fuel as to actually go to zero pulse width. This was way too much and would kill engine or cause ugly stumble. With this curve, I don't get that.
6) Yep

I'm still running no throttle based AE. Don't need it. When I punch the throttle, the AFR never goes lean, only about a 100mS pause, and gauge follows the AFR targets. I'm still thinking this is lag between engine and O2 sensor.

DNM
Attached Thumbnails
ITT we discuss EAE on MS3-atw_temp_4-may.png  
DNMakinson is offline   Reply With Quote
Old 05-13-2015, 01:01 AM   #10
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

I just tested out ATW and SFW CLT correction

increasing ATW with cooler CLT seemed to do nothing at all
decreasing SFW by a huge amount seemed to make the car finally richen up. in fact I zero'd it out and the car pegged so rich it died.

so I tapered SFW cLT correction down a lot with cooler temps, we shall see tomorrow morning if this works good.

once up to temp of course the car runs great

all this to say, I'm pretty sure your curve for SFW CLT is right on the money

this thread should probably be stickied cause it's probably the best and only recent EAE discussion that is helpful.

Propped all your posts David

Last edited by 18psi; 05-13-2015 at 02:09 AM.
18psi is offline   Reply With Quote
Old 05-13-2015, 08:31 AM   #11
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

Vlad. Thanks again. It's in my nature to try to be a contributor.

Quote:
Originally Posted by 18psi View Post
I just tested out ATW and SFW CLT correction

increasing ATW with cooler CLT seemed to do nothing at all
decreasing SFW by a huge amount seemed to make the car finally richen up. in fact I zero'd it out and the car pegged so rich it died.

Agree that ATW with CLT is a minor tweak.

Did you mean "lean" in that last sentence? That is what would make more sense to me, both by experience, and in context with your previous statement.
DNMakinson is offline   Reply With Quote
Old 05-13-2015, 10:02 AM   #12
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

Nope. Rich. Lower SFT CLT correction = richer
look at your clt sfw correction, it's 30 at 0, lower, then tapers up with higher temps
18psi is offline   Reply With Quote
Old 05-13-2015, 12:23 PM   #13
Elite Member
Thread Starter
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 2,701
Total Cats: 268
Default

Right. When I read, "zeroed it out" I pictured a flat line at 100% at all temperatures. You mean that you drove it to zero at some given temperature (yep, that's what you said), so you get no driving of the wall fuel to equilibrium, hence rich.
DNMakinson is offline   Reply With Quote
Old 05-16-2015, 08:38 PM   #14
Elite Member
iTrader: (1)
 
Join Date: Apr 2014
Location: SF Bay Area, CA
Posts: 1,810
Total Cats: 195
Default

Thanks for this write up! I just tried it today and finally my car is driveable enough with eae on to actually make some adjustments. When I have tried in the past, I always ended up disabling it almost immediately, I am using both eae and time based. I hit my afr targets on accel almost instantly. Thanks also for the smooth feel advice over logs and numbers.
sonofthehill is offline   Reply With Quote
Old 05-16-2015, 08:39 PM   #15
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

I dont think you should use both. AE pump + EAE>Time based

...but if it works, I guess it doesnt matter lol
18psi is offline   Reply With Quote
Old 05-16-2015, 08:47 PM   #16
Elite Member
iTrader: (1)
 
Join Date: Apr 2014
Location: SF Bay Area, CA
Posts: 1,810
Total Cats: 195
Default

I always disabled it before when I tried, but with no luck. I thought that you and Brain suggested keeping accel pump on for large transitions, by that I figured you meant time based. It is a bit rich on accel, but no lean step in. I will disable time based, try again and report back.
But still very happy with the results so far.
sonofthehill is offline   Reply With Quote
Old 05-17-2015, 03:41 PM   #17
Elite Member
iTrader: (1)
 
Join Date: Apr 2014
Location: SF Bay Area, CA
Posts: 1,810
Total Cats: 195
Default

Ok disabled time based and I got it to idle ok but can't even drive off. I didn't have much time this morning so I will give it another shot next weekend.
sonofthehill is offline   Reply With Quote
Old 05-17-2015, 03:59 PM   #18
Sadfab Union President
iTrader: (3)
 
Join Date: May 2014
Location: Kansas
Posts: 2,690
Total Cats: 113
Default

Time based AE = Accel pump, at least on my MS2.
deezums is offline   Reply With Quote
Old 05-17-2015, 04:14 PM   #19
Elite Member
iTrader: (1)
 
Join Date: Apr 2014
Location: SF Bay Area, CA
Posts: 1,810
Total Cats: 195
Default

Mine is also ms2, it would really be nice to get this working right. Looks like you guys are disabling time based. I set full accel above 30 rpm and zero above 55 rpm to disable. I was at least able to make a little progress with off idle accel using this write up, but I ran out of time and had to revert back to time based.
sonofthehill is offline   Reply With Quote
Old 05-17-2015, 05:31 PM   #20
Sadfab Union President
iTrader: (3)
 
Join Date: May 2014
Location: Kansas
Posts: 2,690
Total Cats: 113
Default

Nonono, do not disable Time based AE, it is your only AE option on MS2. It works in addition to eae, as TPS or MAP trip points are set waaay outside gentle throttle transitions.

You won't need much time based AE with proper fueling/sequential, but you do still want it.
deezums is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Buzzing from driver side of engine bay? (MS3 install) nick470 MEGAsquirt 7 06-16-2017 02:53 PM
My solution for Oiltemp and Oilpressure input into Megasuirt (MS3) Zaphod MEGAsquirt 41 01-24-2016 01:25 PM
WTB MP62 (Hotside) (NB2) Rick02R WTB 3 01-03-2016 08:18 PM
Bizarre connection issue? nick470 MEGAsquirt 1 09-30-2015 11:32 PM
Another Alternator thread ihiryu General Miata Chat 9 09-28-2015 11:22 AM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 09:38 AM.