Adaptronic and OBDII codes updates

Thread Tools
 
Search this Thread
 
Old 01-14-2010, 09:43 PM
  #41  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I looked for a simplified linear equation.

It's this:

MAPRPM = MAP*RPM / 7000 / 100

voltage = 2.757 * MAPRPM + 2.154

The RMS error is 4.7%, but it's worst at low kPa and especially around idle.

Could you repost the equation I gave you?
Do you still have the raw data?
JasonC SBB is offline  
Old 01-14-2010, 11:42 PM
  #42  
Elite Member
iTrader: (9)
 
TravisR's Avatar
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 1,547
Total Cats: 13
Default

Originally Posted by JasonC SBB
Bad choice of words on my part - I should've said the injector PW's will suddenly drop for a given MAP/RPM combo when the EGR valve opens, because the exhaust gas will displace fresh air.

So if you open the EGR at say 3000 RPM, your map in theory should have a certain inj PW (and timing) at 2999 RPM, and a different PW (and timing) at 3001 RPM (you get the picture).

The other option is to gradually open the EGR valve from 2500 to 3000 RPM (e.g. 0% duty at 2500 and 100% at 3000). That way there's no step.
Oh I see, well the other side of that is, I don't think the MAP sensor would record a massive shift in MAP. The flow rate of the EGR should be pretty low. So while mass flow rate goes up, and fresh air mass fraction goes down, total fresh air mass probably stays pretty much the same.

I think we need to test this theory well because I could be wrong, but while I had the EGR hooked up, I never noticed a rich/lean spike when going over its activation range.
TravisR is offline  
Old 01-15-2010, 03:19 AM
  #43  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Well in theory the EGR would have to displace a significant amount of air, because that's how it's supposed to work! The increase in throttle angle needed for cruise reduces pumping losses which improves MPG. (cooler peak combustion temps reduces NOx too).
JasonC SBB is offline  
Old 01-15-2010, 09:22 AM
  #44  
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 TravisR
Does the computer get angry when the MAF is maxed out?
Only in the form of a MAF overflow code. Used to get that one randomly after driving hard with the Xede.

There is also an underflow code.
__________________
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 01-15-2010, 09:23 AM
  #45  
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 JasonC SBB
Now are you suggesting that you offload the MAF-mimic to a simple uC circuit just like you did your O2-mimic?
That would actually be a really sweet solution. Especially if there were a final 'polished' solution with NB and MAF signal sims in one box. Doeeett!
__________________
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 01-15-2010, 10:13 AM
  #46  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by JasonC SBB
I do.

I think you typo'ed but perhaps the voltage is very close to a linear funciton of MAP x RPM. (with clipping at 100 kPa)

Now are you suggesting that you offload the MAF-mimic to a simple uC circuit just like you did your O2-mimic?

i typod. 3000.

I wasn't suggesting to offload the maf mimic, but at that point you now need a bunch of inputs to that circuit. or two 2D outputs (RPM and MAP).

I never had an equation I dont think. I just have the map values.

oh wait, i just realized i made an equation in excel that handles the N/A discontinuity. the spreadsheet is attached. values are in voltages and need to be scaled appropriately into duty cycles or whatever.
Attached Files
File Type: xls
mafdupe.xls (55.5 KB, 149 views)
y8s is offline  
Old 08-25-2010, 11:40 AM
  #47  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I'm thinking of building a uC board that will implement the MAF signal. Among other things, it will improve the factory ECU's idle control, and enable EGR if I wanted to.

For posterity's sake, the original curve fit equation I gave to Matt eons ago which fit data I collected on my TEC3 from the AFM is:

First divide MAP by 100, and call it MAPscaled, and RPM by 7000, and call it RPMscaled (this scales the coefficients to be easier to read, and may make it easier to code if your uC has integer math as opposed to true floating point):

1.6893
+ 1.6504 * RPMscaled
+ 0.90739 * MAPscaled
- 0.88739 * RPMscaled^2
- 0.21516 * MAPscaled^2
+ 1.4595 * RPMscaled*MAPscaled

It may be best to clip MAP to 100 kPa, (MAPscaled to 1) because the factory ECU isn't expecting > 100 kPa's worth of airflow at the various RPM's.
JasonC SBB is offline  
Old 08-25-2010, 11:42 AM
  #48  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by JasonC SBB
I looked for a simplified linear equation.

It's this:

MAPRPM = MAP*RPM / 7000 / 100

voltage = 2.757 * MAPRPM + 2.154

The RMS error is 4.7%, but it's worst at low kPa and especially around idle.
Around idle (in the region 750-1000 RPM, 25-40 kPa, the best simplified curve fit is

voltage = 6.123 * MAPRPM + 1.85
JasonC SBB is offline  
Old 09-10-2010, 01:41 AM
  #49  
Junior Member
iTrader: (5)
 
Quinn's Avatar
 
Join Date: Jul 2006
Location: Connecticut
Posts: 165
Total Cats: 1
Default

If the intialization for a sensor passes with the out of the box no modifications Adaptronics hooked up, will it show readiness codes for an emissions test?
Quinn is offline  
Old 09-12-2010, 05:45 PM
  #50  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I'm such a curve-fitting geek. This slightly simpler equation has <1% error vs the original:

1.746
+ 1.639 * RPMscaled
+ 0.6576 * MAPscaled
- 0.8774 * RPMscaled^2
+ 1.465 * RPMscaled*MAPscaled

And pls ignore the curve fits prior to my post #47, I typo'ed.

It takes my prototype 16 MHz Arduino board about 100 us to calculate the above equation, scaled into long integer math.
JasonC SBB is offline  
Old 09-12-2010, 05:46 PM
  #51  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Ben
That would actually be a really sweet solution. Especially if there were a final 'polished' solution with NB and MAF signal sims in one box. Doeeett!
I now have a prototype Arduino Duemilanove board implementing 12-1 -> NB crank trigger signal conversion, as well as MAP+RPM -> MAF. Stay tuned. I just took it to the mountains and drove it 100 miles.
I had to exercise the C-code part of my brain that hadn't been exercised in >15 years!
Maybe we should get Reverant to convert the code from Arduino-C into generic (non Arduino) Atmel code. I can design the PCB layout and build a prototype.
JasonC SBB is offline  
Old 09-13-2010, 02:02 AM
  #52  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Send me the code and the schematics and I'll see what I can do.
Reverant is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
LucaCarMods
Build Threads
11
02-14-2016 06:13 AM
The Gleas
MEGAsquirt
3
10-01-2015 09:30 AM
IB Nolan
Front Desk
3
09-23-2015 08:32 PM
curly
MEGAsquirt
11
09-22-2015 11:54 AM
DNMakinson
MEGAsquirt
8
09-12-2015 08:26 AM



Quick Reply: Adaptronic and OBDII codes updates



All times are GMT -4. The time now is 01:41 PM.