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? |
Originally Posted by JasonC SBB
(Post 508535)
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. 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. |
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).
|
Originally Posted by TravisR
(Post 508372)
Does the computer get angry when the MAF is maxed out?
There is also an underflow code. |
Originally Posted by JasonC SBB
(Post 508536)
Now are you suggesting that you offload the MAF-mimic to a simple uC circuit just like you did your O2-mimic?
|
1 Attachment(s)
Originally Posted by JasonC SBB
(Post 508536)
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. |
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. |
Originally Posted by JasonC SBB
(Post 508540)
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. voltage = 6.123 * MAPRPM + 1.85 |
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?
|
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. |
Originally Posted by Ben
(Post 508644)
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! :drool:
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. |
Send me the code and the schematics and I'll see what I can do.
|
All times are GMT -4. The time now is 12:47 AM. |
© 2024 MH Sub I, LLC dba Internet Brands