Closed-loop fuel enrichment

Thread Tools
 
Search this Thread
 
Old 08-13-2010, 08:58 AM
  #41  
Instructor
iTrader: (12)
 
c2pid's Avatar
 
Join Date: Mar 2005
Age: 44
Posts: 176
Likes: 0
Received 3 Likes on 3 Posts
thumps up bmeyer...i read on a different thread that you were building one of 'closed-loop' boxes. thread suscribed!

if you need some funds contributed to r&d, send me a pm
Old 08-17-2010, 01:13 PM
  #42  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
I appreciate the offer, c2pid! The project certainly hasn't been cheap, as you can tell from the picture below. Let me get a successful road-test of a week or more under my belt and I'll let you know.

Update: 8/17/10

All of my new electronics gear arrived last Friday and I spent most of the weekend playing around with the module.


(Note the new dual-channel linear power supply on the left and the digital oscilloscope in the middle)

Up until this afternoon, all of the prototyping/testing has been done at my workbench where I had a clean power-supply and very isolated interference. I was getting great results from the controller at my bench, but once I did my first test of the unit in the car, my results were all over the place again. I made a couple more adjustments to both the hardware and software and was finally able to get stable results in the vehicle.

The next step is to connect the rest of the modules and take it for a test drive. I've been extremely busy with work lately so I'm not exactly sure when that will be, but like always, I'll keep you guys posted.
Old 08-17-2010, 01:22 PM
  #43  
Safety Car
iTrader: (3)
 
KN_TL's Avatar
 
Join Date: Mar 2007
Location: -
Posts: 4,396
Received 435 Likes on 328 Posts
Damn dude, you aren't messing around. I usually borrow that kind of stuff from work because I know how much it can cost.

But cardboard , with that kind of setup, it should be ESD certified.
Old 08-17-2010, 01:28 PM
  #44  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Hahaha. Yeah, I definitely need to can my 'work mat'. The workbench is coming together slowly but surely though.
Old 08-17-2010, 01:34 PM
  #45  
Safety Car
iTrader: (3)
 
KN_TL's Avatar
 
Join Date: Mar 2007
Location: -
Posts: 4,396
Received 435 Likes on 328 Posts
Originally Posted by bmeyer
Hahaha. Yeah, I definitely need to can my 'work mat'. The workbench is coming together slowly but surely though.
Very cool stuff though. I'm like you and buy what I need to do the job.
Old 08-17-2010, 01:57 PM
  #46  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts


bmeyer.. what type of PIC microcontrollers are you using?

Have you thought about selling your code instead of pre programmed PIC's or kits?

Last edited by Majofo; 08-17-2010 at 01:59 PM.
Old 08-17-2010, 02:09 PM
  #47  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
I'm using PIC12 series microcontrollers for the time being.

The problem with selling just the code is that I want to keep it simple for the guys that don't have the proper equipment to build and test their circuits before installing them. If you don't do everything EXACTLY right, you'll have nothing but troubles with the module and potentially hurt your engine. And the last thing I want to do is support guys that don't have the know-how to properly build and test a circuit and get blamed for blown engines. :/

I should probably get a poll going to see what people want and just how many are ready to buy one before I get too excited about *how* I want to sell them.
Old 08-17-2010, 03:30 PM
  #48  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts
Yeah.. I understand. Can you go smaller than the PIC12 or did you choose it to be open ended so you can add more I/O later?
Old 08-17-2010, 03:40 PM
  #49  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
You probably could go smaller than the PIC12 just as long as it has an ADC and I2C built-in - which means you would need a minimum of 5-pins (VCC, VDD, SCL, SDA and an analog input). These are only 8-pin chips so it's not like I'm using ATMega328's with 28+ pins or anything. I just had a couple of these laying around and they were cheap so I decided to start with them.
Old 08-17-2010, 03:42 PM
  #50  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts
Old 08-17-2010, 03:53 PM
  #51  
Former Sponsor
 
Richie v6's Avatar
 
Join Date: Nov 2005
Location: Chicagoland
Age: 39
Posts: 1,697
Received 491 Likes on 233 Posts
Very nice! What scope is that? I've been looking into getting a new one. Let me know if you need help designing a low noise power supply. I've done a few projects with PICs and AVRs for auto applications. Cars are a very noisy environment.
Old 08-17-2010, 04:14 PM
  #52  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
@Richie

It's a Rigol DS1052E 2-ch 50MHz scope that is hack-able up to 100MHz. It had rave reviews and was great bang-for-the-buck. It's got a great feature-set and is dead-simple to use.

Links:

I'd definitely be interested in hearing what you know about power supplies. Cars are by far the worst electrical environment I've ever worked with. Shoot me a PM whenever you get a chance.
Old 08-18-2010, 03:36 AM
  #53  
Former Sponsor
 
Richie v6's Avatar
 
Join Date: Nov 2005
Location: Chicagoland
Age: 39
Posts: 1,697
Received 491 Likes on 233 Posts
Oh man I am a sucker for hardware hacks. I'll pick one up when cash isn't so tight. I built a electronic boost controller for my senior design project. We were getting some crazy erratic boost spikes from noise reseting the micro.
Old 08-18-2010, 12:51 PM
  #54  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts
Richie are you an EE?
Old 08-18-2010, 12:56 PM
  #55  
Team Owner
 
I hate cars's Avatar
 
Join Date: Mar 2006
Location: Bakersfield
Posts: 20,172
Received 1,812 Likes on 1,283 Posts
I love these threads that are over my head. It's nice to (try) learn something new. Thanks guys.
Old 08-18-2010, 01:00 PM
  #56  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts
Originally Posted by I hate cars
I love these threads that are over my head. It's nice to (try) learn something new. Thanks guys.
No way, I'd put nothing past you IHC.. it's actually pretty simple once you start programming them yourself.
Old 08-18-2010, 03:22 PM
  #57  
I got the Shifts
iTrader: (5)
 
phee's Avatar
 
Join Date: Oct 2007
Age: 35
Posts: 14,203
Received 230 Likes on 163 Posts
rich. I sent u an email about something pretty important
Old 08-18-2010, 04:50 PM
  #58  
Instructor
iTrader: (1)
 
MEM3's Avatar
 
Join Date: Jul 2010
Age: 42
Posts: 104
Received 5 Likes on 5 Posts
im rather new to the acura world but not to the tuning world- so explain to me why you need to tune your closed loop fueling map- as soon as the car enters boost it should automatically switch to open loop which is important- riding around town using light throttle is good to keep a 14.7 af ratio - if its first entering into boost you are getting knock counts most likely your timing in that area needs to be turned down- or you need to adjust your tip in enrichment.

did you ever try unplugging your primary o2 sensors to keep the car in open loop- and tuning the fuel map that way
Old 08-18-2010, 07:17 PM
  #59  
Former Sponsor
 
Richie v6's Avatar
 
Join Date: Nov 2005
Location: Chicagoland
Age: 39
Posts: 1,697
Received 491 Likes on 233 Posts
Originally Posted by Majofo
Richie are you an EE?
Yup, don't get to use it very often though.
Old 08-18-2010, 07:36 PM
  #60  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Update 8/18/10

Test #1 is complete. The car seems perfectly happy to idle from 14.7:1 - 10.5:1 with the new unit. I need to switch a couple of wires around since my voltages seem to have an inverse effect. After that, I'll drive the car around for a week or so and make sure that no CEL's are triggered.

Old 08-18-2010, 07:38 PM
  #61  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Originally Posted by I hate cars
I love these threads that are over my head. It's nice to (try) learn something new. Thanks guys.
Now you know how the rest of us feel when reading your posts.
Old 08-18-2010, 08:13 PM
  #62  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Pics:

Idle Stoich:


Idle Mid:


Idle Rich:


No CEL:
Old 08-18-2010, 10:06 PM
  #63  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
More Updates 8/18/10

I setup the A/F table in the F/IC to correlate a voltage value to a specific A/F ratio, which basically means that you can input a target A/F ratio into a cell in the O2 table and have the car achieve that under closed-loop. After doing so, I have <0.1% variance from the values in the cells to the reading on my LM-2 wideband sensor.

Also, it looks like the final adjustment range widened a bit once the car was fully warmed up. The new range is 10.2:1 - 14.7:1.

Last edited by bmeyer; 08-18-2010 at 10:16 PM.
Old 08-18-2010, 10:53 PM
  #64  
I got the Shifts
iTrader: (5)
 
phee's Avatar
 
Join Date: Oct 2007
Age: 35
Posts: 14,203
Received 230 Likes on 163 Posts
exciting. will this work with a 2g?
Old 08-18-2010, 10:55 PM
  #65  
Turd Polisher
iTrader: (1)
 
TylerT's Avatar
 
Join Date: Jul 2007
Location: San Diego
Age: 36
Posts: 6,806
Received 3,027 Likes on 1,518 Posts
Excellent work bmeyer!
Old 08-18-2010, 10:56 PM
  #66  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Good question. Don't the 2G TL's have narrow-band sensors? I would assume that the F/IC would be able to control those without the need of an additional unit.

I don't have access to a 2g so I won't actually be able to test it to find out for sure.
Old 08-18-2010, 11:13 PM
  #67  
I got the Shifts
iTrader: (5)
 
phee's Avatar
 
Join Date: Oct 2007
Age: 35
Posts: 14,203
Received 230 Likes on 163 Posts
how can i tell if they are narrow band or wideband?

i know for a fact nobody has gotten an FIC to work with a 2g anything
Old 08-18-2010, 11:19 PM
  #68  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
You should be able to look up info on the sensor in the service manual or cross-reference the part number in Google. That should get you pointed in the right direction.

I'll talk to the guys that made the other module and see if they have a narrowband version available and if they can build any custom units for me. The controller that I made doesn't care if it's a narrowband or wideband module that it's controlling so there's no reason it shouldn't work with a different unit.
Old 08-18-2010, 11:45 PM
  #69  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,843 Likes on 8,574 Posts
Originally Posted by bmeyer
Now you know how the rest of us feel when reading your posts.


Nice update bmeyer!
Old 08-19-2010, 06:40 PM
  #70  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Update 8/19/10

One day of driving with the module under my belt. Behaves just as I had hoped and still no CEL. Under part-throttle acceleration, the A/F drops right where it should. The transition happens faster than my LM-2 can keep up with (which is what I saw under open-loop without the module).
Old 08-19-2010, 06:50 PM
  #71  
Instructor
iTrader: (12)
 
c2pid's Avatar
 
Join Date: Mar 2005
Age: 44
Posts: 176
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by bmeyer
Update 8/19/10

One day of driving with the module under my belt. Behaves just as I had hoped and still no CEL. Under part-throttle acceleration, the A/F drops right where it should. The transition happens faster than my LM-2 can keep up with (which is what I saw under open-loop without the module).
wowowow...being away for a couple of days, and seeing this kind of progress. two thumbs up!

for sure let me know how i can contribute a little in this r&d. i am seeing the light at the end of the tunnel!
Old 08-19-2010, 07:34 PM
  #72  
Team Owner
 
I hate cars's Avatar
 
Join Date: Mar 2006
Location: Bakersfield
Posts: 20,172
Received 1,812 Likes on 1,283 Posts
Bmeyer, I hope you realize just how important this is. You just brought TL tuning into the modern world! To those that don't know, he just opened up several doors and solved several problems. There is sooo much tuning that can be done and we'll see turbo and supercharged TLs that drive just like stock.

The really neat thing is turbo spool will be much better with the correct transitional AF.

I know many times the idle is more stable when it's on the rich side, have you noticed any difference in idle stability vs AF such as the dip in rpms when the AC compressor kicks in or intial throttle tip in?
Old 08-19-2010, 08:23 PM
  #73  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
@IHC

I definitely do. That's why I've invested so much of my own personal time and resources into the development of this module. That, and I'm really not willing to sacrifice a brand new stroker engine because of only a partial tuning solution.

There have been no changes in idle with the module while the A/C is on because at idle, the module is essentially a pass-through. Meaning that it's not altering the output of the O2 sensors at all. This exact issue is what caused me to pursue this avenue (of real-time adjustment) versus that of simply attempting to add resistors to the F/IC wires and trying to connect them to various I/O wires on the ECU.
Old 08-20-2010, 02:27 PM
  #74  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Update 8/20/10

I fiddled around with my fueling in the F/IC this morning. I was actually able to dial back my fuel trims in the fuel table since I'm not fighting the ECU anymore. The result is that the car feels less like a temperamental super-model and more like the civilized luxury car it was intended as. (The car used to stutter frequently in town with less than 20% throttle.)

Oh, and still no CEL's.
Old 08-20-2010, 06:53 PM
  #75  
I (don't) whine.
iTrader: (1)
 
ussi's Avatar
 
Join Date: Dec 2005
Location: Irvine CA
Posts: 1,355
Likes: 0
Received 2 Likes on 2 Posts
I seriously can't wait for this. I have PTH w/ my 3.5 during closed loop driving. Can't wait to get this put on and my car properly tuned. Man o man!
Old 08-20-2010, 10:56 PM
  #76  
Racer
iTrader: (3)
 
handsom-hustla's Avatar
 
Join Date: Nov 2008
Age: 38
Posts: 413
Received 16 Likes on 13 Posts
^^^ im with you.. This is a giant step in the right direction.great work.. where do i sign?..
Old 08-21-2010, 05:05 PM
  #77  
18psi
iTrader: (7)
 
libert69's Avatar
 
Join Date: Apr 2006
Location: long island
Age: 41
Posts: 2,048
Received 94 Likes on 68 Posts
WOW. I leave for a week and bmeyer makes some huge progress. GREAT WORK

If you decide to start a poll then make sure you clear it with the MODs first. I would hate to see this thread get closed. Its happened before
Old 08-22-2010, 05:23 PM
  #78  
18psi
iTrader: (7)
 
libert69's Avatar
 
Join Date: Apr 2006
Location: long island
Age: 41
Posts: 2,048
Received 94 Likes on 68 Posts
Originally Posted by bmeyer
Update 8/19/10

One day of driving with the module under my belt. Behaves just as I had hoped and still no CEL. Under part-throttle acceleration, the A/F drops right where it should. The transition happens faster than my LM-2 can keep up with (which is what I saw under open-loop without the module).
Originally Posted by bmeyer
Update 8/20/10

I fiddled around with my fueling in the F/IC this morning. I was actually able to dial back my fuel trims in the fuel table since I'm not fighting the ECU anymore. The result is that the car feels less like a temperamental super-model and more like the civilized luxury car it was intended as. (The car used to stutter frequently in town with less than 20% throttle.)

Oh, and still no CEL's.
When does the transition from closed-loop to open-loop actually happen? Peddle to the floor? 50% throttle load? Based on rpms?

With my car, I always get some hesitation around 3100rpms (regardless of the gear, 5AT) when I accelerate moderately with 1/3-1/2 throttle. The car bogs a little bit but stops jerking after 3300rpms. This is when I have misfires on every cylinder. Ive only had misfires on 3 different occasions in the past 5 weeks since the turbo. Misfires dont happen every time this hestitation/jerking happens.

Also, this problem does not happen under WOT.

Is this hesitation/bogging the feeling of closed-loop to open-loop transition and the FIC taking over? The A/F does not bounce around when this happens. The car just jerks back and forth a little.

Is this a tuning issue that can be corrected with a better tune? Or will this module fix this problem? Other than this problem, I have no other issues with the car.
Old 08-23-2010, 06:26 AM
  #79  
Cruisin'
 
bdbconcepts's Avatar
 
Join Date: Aug 2010
Age: 47
Posts: 16
Received 1 Like on 1 Post
yo...

bmeyer...I would love to be one of the first guinea pigs for this...I have a accord V6 6MT with a FIC installed...I am planning to run a MP90 supercharger and wanted to be able to fully tune the afr before adding f/i into the equation.
My email is bdbconcepts@gmail.com.
..thanks so much in advance for your help...
Old 08-23-2010, 09:08 AM
  #80  
Pro
Thread Starter
iTrader: (3)
 
bmeyer's Avatar
 
Join Date: Dec 2007
Posts: 619
Received 72 Likes on 46 Posts
Originally Posted by libert69
When does the transition from closed-loop to open-loop actually happen? Peddle to the floor? 50% throttle load? Based on rpms?

With my car, I always get some hesitation around 3100rpms (regardless of the gear, 5AT) when I accelerate moderately with 1/3-1/2 throttle. The car bogs a little bit but stops jerking after 3300rpms. This is when I have misfires on every cylinder. Ive only had misfires on 3 different occasions in the past 5 weeks since the turbo. Misfires dont happen every time this hestitation/jerking happens.

Also, this problem does not happen under WOT.

Is this hesitation/bogging the feeling of closed-loop to open-loop transition and the FIC taking over? The A/F does not bounce around when this happens. The car just jerks back and forth a little.

Is this a tuning issue that can be corrected with a better tune? Or will this module fix this problem? Other than this problem, I have no other issues with the car.
The car goes into open-loop under WOT and very near WOT. I believe it needs to be under a load as well, but I'm not sure on the exact numbers there.

Does your car actually throw a CEL when it misfires?

I know exactly what you're talking about with that hesitation. Typically what I saw is that my short-term fuel trim would drop to like -5% for a split second under extremely light loads in town or from a stop. That would cause the jerking. I have been able to smooth most of that out with this module, but in order to smooth all of it out, I would need a competent tuner to help fine tune the fuel and O2 maps to make sure they're not conflicting with each other.

One thing for everyone to keep in mind is that this isn't a magic box by any means. If a car has issues other than running too lean under closed-loop, don't expect this to solve every one of those problems. My opinion of the F/IC remains the same. It's still a half-assed solution - though unfortunately the best solution we have at the moment.

Once I'm ready for testers, I'll be looking for a vehicle with a few things...
- Forced induction
- AEM F/IC
- NO check engine lights
- People with OBD-II scanners will be given first priority. (They can tell me what their short/long-term fuel trims are)

Also, the individual should be armed with a nice multimeter and soldering iron to ensure that they have proper connections.


Quick Reply: Closed-loop fuel enrichment



All times are GMT -5. The time now is 12:03 PM.