MEGAsquirt A place to collectively sort out this megasquirt gizmo

Control EGR?

Thread Tools
 
Search this Thread
 
Old 11-08-2011, 10:52 AM
  #1  
Senior Member
Thread Starter
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default Control EGR?

So I plan on going full standalone with my MS3 and was curious about EGR functionality. Basically I'm curious if I can control the EGR valve like the stock computer, and if not, am I really losing anything? I was planning on going parallel to avoid issues like this, but I feel it may be more of a hassle than its worth.

I just want to make sure I keep my gas mileage the same if not better and want my girlfriend to be able to drive the car and think everything is just like stock.

Any input to this?
karter74 is offline  
Old 11-08-2011, 10:54 AM
  #2  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by karter74
So I plan on going full standalone with my MS3 and was curious about EGR functionality.
and you are worried about controlling emissions stuffs?
Braineack is offline  
Old 11-08-2011, 11:54 AM
  #3  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

If you are thinking of using a parallel install to let the MS control the EGR, I don't think that will keep you from throwing a code. This may not be what you are getting at but i am trying to cover all the bases.

From what I read, the stock ECU will open the EGR (coils) upon deceleration and will look for a corresponding change in MAP.

If you are going complete standalone, I don't see any reason to keep the EGR, personally.
Chiburbian is offline  
Old 11-08-2011, 11:59 AM
  #4  
Senior Member
Thread Starter
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Well the only reason I'm concerned about it is gas mileage as I've always heard they may slightly increase fuel mileage when cruising.

This car will have to do an annual OBDII inspection so I already know once a year I will be required to swap the stock computer back (and injectors once I put my turbo on). All of this is for the sake of gas mileage and keeping the car's operations as close to stock as possible.


I guess I should clarify, all of this is regarding to my 2000 NB.
karter74 is offline  
Old 11-08-2011, 12:06 PM
  #5  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

This is just my opinion... Any milage decrease that you see from losing the EGR will be offset by your engine management.

Do the local emissions control people check for the turbo itself or do they just look for an OBDII and see that it's happy?

According to some tuners I know up here near Chicago, they ignore all aftermarket mods as long as the thing passes OBDII.

If you are willing to do the work up front you may want to do a parallel install like what I am working on. Its a pain in the butt, but once the install is in an debugged, I am hoping to never have to remove anything, testing or no. (though I will unplug my gauges and throw a block off plate in my dash when I go test)
Chiburbian is offline  
Old 11-08-2011, 01:59 PM
  #6  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

EGR helps fuel economy AND reduces knock. but the MS3 can't control it.
y8s is offline  
Old 11-08-2011, 03:28 PM
  #7  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Originally Posted by y8s
EGR helps fuel economy AND reduces knock. but the MS3 can't control it.
Yet?

How does an ECU decide (for lack of a better term) when to open the EGR? What inputs would you need for an ECU to control an EGR effectively?

I am nowhere near smart enough to program MS myself, but I am interested in how it works and how it all works together.

Years ago I yanked the EGR out of a car I was building and it never ran as well after. Mind you, that was in the days before MS but I am in no hurry to loose EGR if I can keep it with a reasonable amount of work.
Chiburbian is offline  
Old 11-08-2011, 04:54 PM
  #8  
Elite Member
iTrader: (4)
 
MartinezA92's Avatar
 
Join Date: Aug 2009
Location: Redwood City, CA
Posts: 1,784
Total Cats: 42
Default

It opens it when you're cruising. And that's really about it. EGR at idle will stall the car (or make it run like ****), and EGR at WOT makes no sense.

My MPG's went up so much during cruise with MS, that it would have made any losses from ditching EGR irrelevant. EGR's main purpose is to lower NOx emissions. Not to raise your gas mileage. That's just an occasional side effect.
MartinezA92 is offline  
Old 11-08-2011, 05:19 PM
  #9  
Senior Member
Thread Starter
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Originally Posted by Chiburbian
If you are willing to do the work up front you may want to do a parallel install like what I am working on. Its a pain in the butt, but once the install is in an debugged, I am hoping to never have to remove anything, testing or no. (though I will unplug my gauges and throw a block off plate in my dash when I go test)
If you notice in my sig, I've already done a parallel install on my 97. I'm fully aware of the work involved but I've come to the realization after doing my 97 that it truly isn't worth the effort for that once a year inspection. Everything has to be just right for the stock computer to not throw a CEL with Megasquirt in the picture. It truly would be easier to just swap injectors and wire the wastegate open for that one time a year. When I first did my parallel install I thought I was saving time by letting the stock ECU do idle, A/C, EGR, etc. but in reality, I still had a constant CEL due to my missing MAF, primary O2 sensor running too rich (in boost), and the headache of sharing sensors and attempting to get the bias resistance correct, etc. I wish you the best of luck doing your parallel install, and hope everything works out great.

I just want my car to be just like stock in functionality and if others drive my car, I would want them to not even know the stock computer has been swapped.

I'm curious though, does anyone know if the computer is smart enough to realize if the EGR tube has been blocked off, leaving just the functioning valve?
karter74 is offline  
Old 11-08-2011, 05:22 PM
  #10  
Junior Member
 
bearda's Avatar
 
Join Date: Apr 2010
Posts: 107
Total Cats: 0
Default

Originally Posted by MartinezA92
It opens it when you're cruising. And that's really about it. EGR at idle will stall the car (or make it run like ****), and EGR at WOT makes no sense.

My MPG's went up so much during cruise with MS, that it would have made any losses from ditching EGR irrelevant. EGR's main purpose is to lower NOx emissions. Not to raise your gas mileage. That's just an occasional side effect.
If that's the case could you just have it activate EGO based on a MAP (or even TPS) window as an aux output? Just set WLED if MAP > 35 and < 70 or the like?
bearda is offline  
Old 11-08-2011, 07:40 PM
  #11  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

i'd start with at least MAP AND RPM. otherwise you might activate it at idle.

probably 2000 < active < 4000
y8s is offline  
Old 11-10-2011, 06:19 AM
  #12  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by y8s
EGR helps fuel economy AND reduces knock. but the MS3 can't control it.
I knew/know about the former, but not the latter.

How does EGR effect knock propensity? I was under the impression EGR was only activated during cruise conditions.
richyvrlimited is offline  
Old 11-10-2011, 09:01 AM
  #13  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

You can knock in cruise. I suppose there's an argument that could be made about using EGR in cruise to reduce the chance of auto ignition by reducing the amount of particles that could auto ignite. Not something I've tried.

There's no special code written for EGR control, but I don't see why you couldn't use one of the spare outputs. I haven't checked if the Miata's EGR system is on/off or PWM.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 11-10-2011, 11:54 AM
  #14  
Senior Member
iTrader: (10)
 
soloracer's Avatar
 
Join Date: Apr 2007
Location: Ohio
Posts: 782
Total Cats: 4
Default

I'd like for my EGR to function too. I'm running parallel and thought that would keep it together, but it turns out it ain't so. As I understand it, the EGR needs input from the MAF (which I no longer have). This also causes the stock computer to throw a code, even on OBDI.
soloracer is offline  
Old 11-10-2011, 12:25 PM
  #15  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Originally Posted by Ben
There's no special code written for EGR control, but I don't see why you couldn't use one of the spare outputs. I haven't checked if the Miata's EGR system is on/off or PWM.
It is a dual-PWM valve on the 94-97 and a a 4-wire stepper on the 99-05.
Reverant is offline  
Old 11-10-2011, 02:04 PM
  #16  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I wonder if it runs closed loop (EGR flow is metered), or open loop and the ECU just checks if its working within certain parameters.
JasonC SBB is offline  
Old 11-10-2011, 05:59 PM
  #17  
Senior Member
Thread Starter
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Anyone know if the stock computer is smart enough to realize the egr pipe would be sealed shut and not feeding any exhaust to the intake? (Leaving everything else functional)
karter74 is offline  
Old 11-14-2011, 06:56 PM
  #18  
I'm Miserable!
 
Techsalvager's Avatar
 
Join Date: Jun 2009
Location: albany, ga
Posts: 1,866
Total Cats: 0
Default

Originally Posted by Chiburbian
If you are going complete standalone, I don't see any reason to keep the EGR, personally.
AntiLag

Use EGR system to push air into the exhaust manifold
Techsalvager is offline  
Old 11-14-2011, 08:29 PM
  #19  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,022
Total Cats: 6,589
Default

Originally Posted by JasonC SBB
I wonder if it runs closed loop (EGR flow is metered), or open loop and the ECU just checks if its working within certain parameters.
The control system changed over the years, though I'm pretty certain that none of them "metered" the flow of gas with any degree of precision.

The '94-'97 valves had a potentiometer-type sensor on the valve body to judge the position of the valve. From '96 onward, they used an "EGR Boost Sensor" (essentially a MAP sensor connected to a chamber within the intake manifold casting where pressure can be observed to vary with EGR flow.) '94-'97 had both.

I can't find any solid descriptions of the control system, however on the NB there are two EGR-specific codes, P0401 and P0402, for "EGR flow insufficient" and "EGR flow excessive", so it's obviously capable of recognizing at least three distinct states: too little, just right, too much. This at least suggests that the system could be operated in closed-loop mode. (It could also be that the "just right" state is deduced rather than observed, by looking for predictable transitions between "too much" and "too little" in the same manner as is done with a narrowband O2 sensor.)

What puzzles me slightly is that there is a two-way solenoid valve between the pressure sensor and the manifold. The only thing I can guess is that it allows the system to expose the sensor to ambient pressure periodically as a calibration reference, possibly to ensure that the sensor returns a reading approximately equal to barometric pressure as a test on the sensor itself.


Originally Posted by karter74
Anyone know if the stock computer is smart enough to realize the egr pipe would be sealed shut and not feeding any exhaust to the intake? (Leaving everything else functional)
See above.
Joe Perez is offline  
Old 11-14-2011, 08:41 PM
  #20  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by Joe Perez
What puzzles me slightly is that there is a two-way solenoid valve between the pressure sensor and the manifold. The only thing I can guess is that it allows the system to expose the sensor to ambient pressure periodically as a calibration reference, possibly to ensure that the sensor returns a reading approximately equal to barometric pressure as a test on the sensor itself.
This is correct and not at all uncommon in OEM controls. It's also sometimes a source of problems, as some poorly tuned ECUs *cough MAZDA cough* look for a new sample too quickly after changing state of the solenoid, causing a momentarily incorrect reading and resultant bog or hiccup...

I doubt the OBDII computer is controlling EGR flow in closed loop. I don't even think it's looking for the pouridge to be just right. I think it's just looking for evidence of flow when the valve is open and for evidence of no flow when the valve is supposed to be closed. This may be more sophisticated in newer cars, but I don't see how just a single analog map sensor can be used to accurately meter EGR flow other than detect on and off.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  


Quick Reply: Control EGR?



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