# Fuel injection

**URL:** <https://forum.arduino.cc/t/fuel-injection/82559>\
**Category:** General Guidance\
**Created:** [December 22, 2011, 3:59am UTC](https://forum.arduino.cc/t/fuel-injection/82559 "2011-12-22T03:59:10Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![cyclegadget](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cyclegadget/32/214443_2.png) [@cyclegadget](https://forum.arduino.cc/u/cyclegadget)\
**Post date:** [December 23, 2011, 4:17am UTC](https://forum.arduino.cc/t/fuel-injection/82559/21 "2011-12-23T04:17:47Z")

</div>

I guess it depends on how well you want the engine to run. Some engines are less sensitive to tune than others, take your old lawn mower for example. You can get away with really bad tunes with fuel injection more so than carburetors but, it doesn't mean you can't cause damage over time.

#3 Atmospheric pressure affects air density. Tps will get you most of the way but modern EFI uses correction factors to get proper fueling.

The link [http://www.megasquirt.info/](http://www.megasquirt.info/) can tell you a lot more about tuning an engine than I can.

1. O2 sensors work well for steady state rpm and load. The are also good for telling you information moments after it occurs. Even modern cars run from a preset "map" to decide what fuel is required during change in engine speed. O2 sensors have too much delay to use them for major fueling corrections. You can use them for logging and to make trim adjustments to a tune that is in the ballpark. Fuel trim has to be quick and correct.

> This I like. I'll need to do some research on it. Just a thought, could this be tied into the Arduino board and simply use the wideband to run on, vs the narrowband?

It is based on an Atmega chip and communicates through voltage and serial. It should be easy to connect to Arduino.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 23, 2011, 6:51pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/22 "2011-12-23T18:51:44Z")

</div>

Imagine a simple light bulb circuit, with a battery powering a light bulb (a flashlight, if you will). The power side of the circuit runs from the battery to the bulb. The bulb is the load where the voltage is dissipated. The ground side of the circuit runs from the bulb back to the other terminal of the battery. This is a series circuit, in which the voltage changes to zero after the load (or should, if the rest of the circuit is undamaged which would create further resistance between the proper load and the ground point) but the current remains the same.

On most cars, except for the ones made in Europe that are wired backwards and use a positive ground, the positive side of the battery runs to the ignition switch and fuse panel, forming the power side of every circuit in the car. Then you have your loads (wipers, lights, radio, heater, horn, ignition, etc). Followed by the ground path back to the negative terminal of the battery. You will notice that on most cars, the headlights, high heater blower speed, horns, coolant fans, and air conditioning compressor relay coil are controlled by relays on the POWER side of the circuit. The ECU in newer cars controls the GROUND side because it is safer for the ECU to do so. Not to mention that if you stick a whole bunch of relays in a box, you need a bigger box. Transistors are smaller than relays.

Might want to read this: [Solid-state relay - Wikipedia](http://en.wikipedia.org/wiki/Solid_state_relay) Look carefully at the "Disadvantages" section.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 24, 2011, 3:03am UTC](https://forum.arduino.cc/t/fuel-injection/82559/23 "2011-12-24T03:03:39Z")

</div>

Ok, I did a search for the SSR... You're still better off with the SSR on the ground side of the circuit. If you saw on the Wiki site, one of the disadvantages to the SSR is that they have a tendency to fail closed, which would keep the fuel injectors open. Which is why it's imperative that you check the resistance of the fuel injectors before you install them for good. From what I saw in the pics, you're going to be running GM Multitec style fuel injectors. I'd recommend swapping them for either the proper TBI injectors or a Bosch style set, as the Multitecs have a bad tendency to short out internally because the internal wiring's protective coating is junk and wears off. I, at one point, had 3 sets for my car (18 injectors for a V6), and at least one full set of them were tossed in the trash due to this. You want the injectors to have a cold, no-load resistance of no less than 11.8 ohms per injector. You will also need to check the fuel pressure (you did install a fuel pressure tap, didn't you? It's kind of necessary!) to make sure the fuel injectors aren't clogged partially or fully open.

:edit, so I don't take up another post: Also, injector size is based on the amount of horsepower the engine develops. You can't stick a 56# injector on an engine making 100 HP. I don't know if the engine in your Omni is the 2.0, 2.2, or 2.5, but, since the 2.5 only makes 90 HP in the 1993 TBI version (according to a source that may or may not be correct, a Chilton's manual), you may only need one injector. However, if the engine is a turbocharged 2.0 or 2.2, or a V6, the general rule for injector size is one pound per hour fuel flow rate per 10 engine crankshaft horsepower.

Also, you're probably going to want to find a fuel pump unit from a 3.0 V6, if it will fit in the gas tank, to provide the necessary fuel pressure, along with an external pressure regulator. The TBI pumps are rated to 38 PSI max (and that 38 PSI makes the car run like crap if the fuel pressure regulator isn't working), and you want about 42-43 PSI pressure at the injectors, which would be provided by the multi-port fuel pump.

Yes, I know, not electronics related, but you did ask about how fuel injection works...

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 27, 2011, 4:47am UTC](https://forum.arduino.cc/t/fuel-injection/82559/24 "2011-12-27T04:47:09Z")

</div>

All good information. Thanks martianent and cyclegadget. 😃

So you do recommend the SSR? The main reason I chose it is that I really have no experience with high-current transistors... The SSR is easy for me to understand. The tendency to fail closed (according to the article) worries me... Although it would flood out almost immediately, which would cause the engine to cut off or run like a$$, so I'd know to cut it off. I could carry a spare just in case... I have no bones with using transistors, if they'll be more dependable; just as long as it's within my abilities. At this time they're over my head.

As for the injector, these particular ones came off of a 1984 Chrysler Laser (2.2 turbo). The engine this is being built for is the 1.7L naturally aspirated Volkswagen block that Dodge used in the first Omni's. The theory behind 2 injectors is that they came off a 2.2; therefore,  
2.2/2=1.1  
These injectors fire only when the intake valve is open from my understanding, which is a rather small window... widen that window a little and 1.1L capacity increases to 1.7L. 😉 By widening, I mean more pulses or longer pulses, whichever causes the best atomization.

The fuel pump will be from a late-model S-10 (4.3L V6), coupled to an aftermarket pressure regulator.

Thanks so much for your help folks. I'm going to drop off the map for a couple weeks (hiking the Appalachian Trail for the next 15 days), so I'll pick this project back up once I return.

Any further suggestions are much appreciated. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 28, 2011, 12:11am UTC](https://forum.arduino.cc/t/fuel-injection/82559/25 "2011-12-28T00:11:57Z")

</div>

As far as I see it, the SSR will work, but it does cost more than a standard transistor, which can do the same thing (and is basically what's inside the SSR with the SSR having the addition of an LED transmitter and receiver).

You may need to adjust your injector size... Holding the injectors open longer allows them to get hotter and may have issues. I'm supposing that the injectors you have came from a turbo 2.2 (as non turbo 2.2's had either a carb or TBI and those injectors you have are port injectors). Which means, depending on the part number, the flow rate is between 24 and 29 pounds per hour. Since I can't find a spec on a carbureted engine, you may be okay with them. You'll just need to adjust the pulse width accordingly. You'll still want to check the resistance on the fuel injectors to make sure they're good. I don't have a spec on them (site with the EFI flow rate chart only says "High" or "Low", and these say "Low"), but I'm going to continue to assume that anything over 11.8 ohms per injector is good (as long as they read within 10% of each other, as a rule).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 28, 2011, 4:39pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/26 "2011-12-28T16:39:02Z")

</div>

If I were you I'd put a simple SU on instead of the EFI. The EFI has to be set up very well indeed to do a better job that the SU.

If you're determined to take the EFI route I can give you some thoughts on injector timing algorithms and startup enrichment algorithms. I'm not certain about the injector positioning from the picture, but it almost looks as if you have one injector upstream and one downstream of the throttle plate. That is unlikely to work. During cold running you will be dealing with a large amount of puddled fuel, and managing that is going to be crucial. This is all down to pipework geometry and injector position/directions, which aren't clear in the pictures. An approach which I've found works very well is to cut an angled slot in the throttle plate so that the plate can be completely closed at idle and the idle flow occurs through the angled slot. This produced a local very high velocity jet of air which is essential to get the fuel to carry in with the air. It also produces a very high swirl in the throttle body immediately downstream of the plate, which scavenges fuel off the walls and helps it evaporate.

How are you planning to map this? If you're doing it yourself you'd be advised to use a data logger with an EGO sensor. I assume you'd hope to use the Arduino for that (blatting data over the serial port to a capture application on a laptop or similar) but if so you need to address that in your design. It's possible to map it using a narrowband EGO sensor in theory, but it is much much easier using a wiedband sensor. However, that will need a controller which adds a couple of hundred bucks to the project.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 3, 2012, 7:07pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/27 "2012-01-03T19:07:37Z")

</div>

While I hesitate to get into the fray of this discussion, there is a lot of misinformation all around and far too simplified understanding of the fuel injection process by the original poster.

First off, I recently did a project at work using a motorcycle fuel injector to spray a metered amount of a pressurized fluid controlling the spray time and firing the injector using an Arduino. YOU CANNOT USE A RELAY OF ANY KIND. Do your research. There are plenty of sites devoted to building fuel injector test systems. You HAVE to use a MOSFET triggered by the arduino. The hysteresis on the relay opening and closing will kill you not to mention the heat generated by the relay is going to be intense. It probably wouldn't last more than a few minutes and could be EXTREMELY dangerous\> When people are telling you NOT to use a relay, listen. They often have their reasons. If you doubt them, research it yourself. Don't assume you know more if it's just a hunch. Like I said, there are plenty of sites that detail a DIY fuel injection test system. You can adapt a lot of the system from their work.

Also, the impedance of the fuel injector is INDEPENDENT of the control circuit used to drive it. Again, do your research. Most are in the 2-3 ohm range (If I remember correctly from my research) and can draw up to 2 amps at each firing. That is a LOT of heat that needs dissipated. You will fry a relay quickly.

Also, you need to know the volumetric flow rate of the injector you plan to use. And you also will need a baseline on your fuel pressure (and will have to have a fuel pump able to provide enough pressure... the regular fuel pump probably will not which means adding in another pump that you are also controlling). And you will probably need a fuel rail so that you always have fuel in reserve to pump through the injector. And with this, you need an overpressure valve as well to keep from blowing the seals. From the fuel pressure and volumetric flow rate, you can determine how much fuel you will be providing at any given pulse of the injector.

You CANNOT get by with as few sensors as you think. How are you going to know when to trigger the injectors? As magnethead was saying, you need to perform a timing map on the pulses. They need to happen just before each intake valve opens.How do you do this? With a crank position sensor… You can’t just put one of these on easily so you need to come up with another way to find position and from revolution to revolution this timing map and pulse cycle will probably be changing. You can maybe do this without a crank position sensor, but you need to know when and how long each of the 4 intake valves are open and time your pulses on the injector accordingly. If you try to just randomly inject fuel without this, you run a risk of blowing a lot of things. You could possibly use a sensor on the tachometer for the pulses, but again, you have to tie your pulses back to the opening of each cylinder.

You also CANNOT use a 1 wire oxygen sensor. It doesn’t give you enough information to control this circuit. There are reasons why the auto companies got away from one wire sensors. And for that matter, what you are trying to do you need as much information available as possible as you’re already going to be making a lot of guesses on the control system.  
You do need a mass air flow system. You need to know how much air is flowing through at any given time and adjust the pulse length of your injectors accordingly. You need coolant temperature sensor as well for the same reason. You are trying to create an adaptive system that accounts for many changes with no sensors to control it. Throttle position would come in handy as well as you have gearing that will affect the load on the engine. You might need more gas at some points to control when the engine is loaded that wouldn’t be reflected in the RPM measurement.  
You will also have to log ALL of these sensors and then interpret the data to generate a control timing map that encompasses MANY situations. It is a LOT of data.

I have been working on a data logger for a carbeureted motorcycle that logs data from a wideband oxygen sensor, battery voltage, TPS, RPM, 3 axis accelerometer and 2 axis gyro, GPS data as well as several other sensors. The idea here is to find the exact performance characteristics and then utilize the data to improve the performance. The programming is near complete. I am working on a 3.2” TFT touch screen interface now to mount it on the motorcycle. It uses an Arduino Mega 2560 and the whole package is like 5 x 2.5 x 1.5. You need to be logging most of this data at the very least to be able to control the system. At best I am getting about 10 HZ reads from the analog signals. You would need MUCH faster analog readings to be able to control the system as you are talking. I understand there is someone on the forums who has sped up the read speeds immensely, you still have a lot of data to collect and interpret before you can fire a single injector.

From what I have read in here, you really don’t understand what is involved in controlling this system. Nor do you really want to listen to people trying to advise you. You really haven’t done your research on what you are trying to do and yet won’t listen to those trying to help you. What you are trying to do is a HUGE undertaking although you don’t seem to see it that way. The Megasquirt project has been going on for some time and I had followed that for awhile. You really need to do more reading to understand it all. And you may have rebuilt all of those cars, but none are fuel injected. And what you haven’t given is any sort of electronics or programming background and those are far more important than a mechanical background. I myself am a mechanical engineer but I have been involved in electrical engineering most of my professional career. I have had to ask MANY question and done TONS of research to get to the point where I am on my project. And it isn’t completely done. It also was a HUGE undertaking done because I could not buy anything similar on the market nor had I found anyone else who had done it so I’ve made it myself.

Please listen and research. If you don’t, there is a very good change you will be rebuilding that Omni again after a fire or rebuilding the engine at the very least. You need to understand HOW carbs work as well and why you can’t do what you seem to think you can.

And why the hell would anyone rebuild an Omni?!?!?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 9, 2012, 9:25pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/28 "2012-01-09T21:25:15Z")

</div>

While I hesitate to get into the fray of this discussion, there is a lot of misinformation all around and far too simplified understanding of the fuel injection process by the original poster.

First off, I recently did a project at work using a motorcycle fuel injector to spray a metered amount of a pressurized fluid controlling the spray time and firing the injector using an Arduino. YOU CANNOT USE A RELAY OF ANY KIND. My dear misguided friend, if YOU would do YOUR research, you'd notice that in multiple posts it's been referred to as a SOLID STATE RELAY. I am NOT going to repeat this again. It is a simple LED and phototransistor in a compact package, and the one I posted was capable of handling 200V DC @ 4A. I chose SSR's because I've personally had bad results from high-amp transistors before, and my understanding of transistor theory is on the skimpy side. Do your research. I certainly did. And I read. There are plenty of sites devoted to building fuel injector test systems. You HAVE to use a MOSFET triggered by the arduino. I actually don't, there are many roads to get to Rome. As I said earlier, if someone's willing to help me work through a transistor based setup, I'd be more than willing to go that route. The hysteresis on the relay opening and closing will kill you not to mention the heat generated by the relay is going to be intense.Gotta ask, do you know what an SSR is? Because I referred to it as an SSR waaaay too many times for you to have just read over it. Unless you're blind. Or daft. It probably wouldn't last more than a few minutes and could be EXTREMELY dangerous\> Hence why I searched for an option to a "mechanical" relay, which has been my weapon of choice in the past. It's what I understand, but again, I'd be more than happy to delve into other areas if I get facts from unbiased folk instead of people chomping at the bit to tick away on their keyboards without reading.When people are telling you NOT to use a relay, listen. When I tell you (and everyone else, multiple times) it is NOT a relay, LISTEN. They often have their reasons. If you doubt them, research it yourself Sure did.. Don't assume you know more if it's just a hunch. Hence why I'm here; I came to learn some and get good info. Like I said, (and like I'd already found) there are plenty of sites that detail a DIY fuel injection test system. You can adapt a lot of the system from their work. Yup, that's what I'm doing! Good observation, sparky. 😉

Also, the impedance of the fuel injector is INDEPENDENT of the control circuit used to drive it. Again, do your research. Most are in the 2-3 ohm range (If I remember correctly from my research) and can draw up to 2 amps at each firing. That is a LOT of heat that needs dissipated. You will fry a relay quickly. Once again, not an issue. Not a mechanical/contact style relay. And, once again, I'd be willing to run a MOSFET if I understood them better. And yes, I am working on that.

Also, you need to know the volumetric flow rate of the injector you plan to use. Sure do! And when you set a carburetor on an engine, you start it up, see if it's running lean/rich, and adjust accordingly by jetting. In this case I will be adjusting the length of the pulse and the amount of time between pulses. And you also will need a baseline on your fuel pressure (and will have to have a fuel pump able to provide enough pressure... the regular fuel pump probably will not which means adding in another pump that you are also controlling).The stock mechanical fuel pump would provide nowhere near enough pressure for such a short firing time. This was already covered by another user, although I'd already planned to run a GM fuel pump from an injected 4-cyl S-10, and an aftermarket fuel pressure regulator. And you will probably need a fuel rail so that you always have fuel in reserve to pump through the injector. As illustrated in the pictures posted earlier, I do have a "fuel rail". Just to clear up any confusion, the TPS/throttle body bolts to the flange facing the camera in the first picture. And with this, you need an overpressure valve as well to keep from blowing the seals. Already planned for, will be on the supply line to the rail. From the fuel pressure and volumetric flow rate, you can determine how much fuel you will be providing at any given pulse of the injector.

You CANNOT get by with as few sensors as you think. MAP sensor, TPS, O2 sensor, Temperature sensor? I'm guessing your system has more than that? How are you going to know when to trigger the injectors? Had you READ the earlier posts, you would have noticed that it's THROTTLE BODY INJECTION. The goal in TBI is to make as even of a distribution (atomization) of the fuel within the air as is possible, whereas in sequential injection, concentrated streams of fuel are used and sprayed on the valves, as hopefully you already know. As magnethead was saying, you need to perform a timing map on the pulses. They need to happen just before each intake valve opens.How do you do this? With a crank position sensor… One of the many reasons I decided to go the TBI route. You can’t just put one of these on easily so you need to come up with another way to find position and from revolution to revolution this timing map and pulse cycle will probably be changing. Utilizing the HEP (Hall Effect Pickup)would be the easiest way rather than the CPS. Later, I may tie the HEP into the system to further track info and increase effeciency. Also, data logging is a goal here to further hone my skills in hypermiling. But that's for a later date. You can maybe do this without a crank position sensor, but you need to know when and how long each of the 4 intake valves are open and time your pulses on the injector accordingly. If you try to just randomly inject fuel without this, you run a risk of blowing a lot of things. You could possibly use a sensor on the tachometer (No tach) for the pulses, but again, you have to tie your pulses back to the opening of each cylinder.

You also CANNOT use a 1 wire oxygen sensor. Ahh, yet again, I could. Don't be so sure of yourself, young grasshopper. Yes, auto manufacturers moved away from the 1-wire for a reason; however, they started with the 1-wire for a reason also. It did its job, the multiple wire systems just do it better. The one wire was originally intended as a beginning point; however, had you READ the previous posts, you would've noted the wideband lambda probe interface "cyclegadget" posted earlier, which I expressed interest in. That's the intended route now. It doesn’t give you enough information to control this circuit. Sure does, that's why they used to use 'em. 😉 There are reasons why the auto companies got away from one wire sensors. And for that matter, what you are trying to do you need as much information available as possible as you’re already going to be making a lot of guesses on the control system. Yessir, lots of guesses. Lots of tuning. Lots of experimentation utilizing my brother-in-law's wideband probe as the standard; however, after cyclegadget's post long ago, I decided to just go that route.  
You do need a mass air flow system. Once again, many early systems had no mass air flow sensor. If a car ran on MAP before, it can run on it now. You need to know how much air is flowing through at any given time and adjust the pulse length of your injectors accordingly. You have a predetermined "map" based on multiple sensors, and the wideband provides helpful guidance, as posted before. Lots of tuning and data collection, then adjust accordingly. You need coolant temperature sensor as well for the same reason. I said earlier that I needed a coolant temperature sensor, which would tie into multiple things, mostly at startup. In your own words, do your research. Hopefully before you make a buffoon of yourself again. 😝 You are trying to create an adaptive system that accounts for many changes with no sensors to control it. Exaggerating, much? TPS, MAP, O2, Temp, HEP... That's more than early systems had. Throttle position would come in handy as well as you have gearing that will affect the load on the engine. I slapped my knee laughing at this one. Really??? TPS??? I've said I'd have that one from the FIRST D\*\*N POST!!! _Helpful_??? The system couldn't run without it! You might need more gas at some points to control when the engine is loaded that wouldn’t be reflected in the RPM measurement.  
You will also have to log ALL of these sensors and then interpret the data to generate a control timing map that encompasses MANY situations. It is a LOT of data. And this deviates from other data collection how? You get a baseline, isolate variables, collect data, adjust, make another run... It's not as simple as jetting a carburetor, but it's a heckuva lot more simple than guesswork.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 9, 2012, 9:27pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/29 "2012-01-09T21:27:19Z")

</div>

I have been working on a data logger for a carbeureted motorcycle that logs data from a wideband oxygen sensor, battery voltage, TPS, RPM, 3 axis accelerometer and 2 axis gyro, GPS data as well as several other sensors. The idea here is to find the exact performance characteristics and then utilize the data to improve the performance. The programming is near complete. I am working on a 3.2” TFT touch screen interface now to mount it on the motorcycle. It uses an Arduino Mega 2560 and the whole package is like 5 x 2.5 x 1.5. You need to be logging most of this data at the very least to be able to control the system. As aforementioned, yes, mass data collection was already in the plan. However, the only really pertinent info of those you listed are O2, TPS and RPM. The rest is fairly useless to me. At best I am getting about 10 HZ reads from the analog signals. You would need MUCH faster analog readings to be able to control the system as you are talking. I'm lost on your reasoning behind this one. I can only assume you think this because you thought I was running sequential injection. The board can collect data at a rate of 9600bits/sec. That's way more than I'll need for tuning purposes. I understand there is someone on the forums who has sped up the read speeds immensely, you still have a lot of data to collect and interpret before you can fire a single injector.

From what I have read in here, you really don’t understand what is involved in controlling this system. From what I've read in here, you fly off the handle and assume you've got the best input available. Prove me wrong. Nor do you really want to listen to people trying to advise you. Another knee slapper here. You kidding me? I've referenced multiple posters and thanked them in multiple posts for their very helpful information. I like it better if they have a good attitude, but if your info is gold, I don't care if your breath stinks. You really haven’t done your research on what you are trying to do Now how do you know that? Peeking in my bedroom window as I stay up in the wee hours trying to expand my knowledge? As if everything else I've read through wasn't enough, being here is in and of itself reasearch... As many opinions as I've heard, it's no wonder I've been confused about some stuff. and yet won’t listen to those trying to help you. Already touched on this. No need to repeat. What you are trying to do is a HUGE undertaking although you don’t seem to see it that way. If you saw the stuff I've done and the obstacles I've overcome, you'd see just how small this project is. The Megasquirt project has been going on for some time and I had followed that for awhile. I've only recently expressed interest, but we've all got to start somewhere. I guess you were born with a soldering iron in your hand, but I wasn't. You really need to do more reading to understand it all. Yes I do. Apparently so do you. And I read long and hard about all these topics before I came here... If I knew it all, I wouldn't be asking for advice (and gladly accepting it). And you may have rebuilt all of those cars, but none are fuel injected. Yet again, why I'm here. And what you haven’t given is any sort of electronics or programming background and those are far more important than a mechanical background. Congratulations! A valid point! I have a college level basic circuits class. And about 4 scratch-built vehicle wiring harnesses, countless hours troubleshooting anything from HVAC to well pumps. Hence why I have much more experience with relays. I myself am a mechanical engineer but I have been involved in electrical engineering most of my professional career. I have had to ask MANY question and done TONS of research to get to the point where I am on my project. Well then, why the harsh attitude? You've been in the spot of needing help, why did you skip apparently every single post to get to the end of the article and tell me what I'm doing can't be done by a mere plebian such as I? All hail the engineer, for he knows all... And it isn’t completely done. It also was a HUGE undertaking done because I could not buy anything similar on the market nor had I found anyone else who had done it so I’ve made it myself.

Please listen and research. I have yet to understand why you think I've done otherwise. If you don’t, there is a very good change you will be rebuilding that Omni again after a fire I carry fire extinguishers in all my cars. You work with old steel, you learn that a good up to date extinguisher is part of a high safety factor. or rebuilding the engine at the very least. You need to understand HOW carbs work as well 🙄 Not even going to bother with this. and why you can’t do what you seem to think you can. Classical engineer's response... "Impossible", "It can't be done", then turning red when someone (whether experience or inexperienced) proves you wrong.

And why the hell would anyone rebuild an Omni?!?!?  
Because it's small, already got 36mpg carbureted, and cost $300 for a good solid car that was headed to the crusher. Also, with my roofrack, I can fit my backpacking gear, mountainbike, canoe, kayak and a German Shepherd in there all at once.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 9, 2012, 9:40pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/30 "2012-01-09T21:40:23Z")

</div>

In the words of my cousin, who is a professional EMPLOYED progammer, studied at Austin Peay:

"Something I've learned: Programmers over the internet (chats, forums) are impossible to deal with. Something to do with a false sense of intellect and elitism. I can't count how many times people have gotten an attitude to me that I don't know what I'm talking about even when it's something simple."

I heartily agree.

There has been some really good info posted by some folks, and there's been other folks who pissed me off enough that I took the time to give 'em a good reply. To those who helped, thanks a ton, I really appreciate your time to help me on this project.

From this point, it appears that we're just going to be beating a dead horse. I'm going to work with my cousin on programming this thing and build it. I'll post a vid WHEN she's up and running. 😉

"Opinions are like a$$holes; everyone's got one, and they all stink." ]😃

Classic engineer's mantra: "If you can't impress with intelligence, baffle with bullshit."

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 9, 2012, 10:04pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/31 "2012-01-09T22:04:12Z")

</div>

One thing that worries me about your hardware is that you have a relatively large dead-end fuel rail. That means you're going to be vulnerable to heat soak effects. if you haven't looked into this you might be surprised how much the viscosity of petrol changes with temperature. If you have any chance, I'd suggest you replace the center feed fuel rail with an end feed one - supply from one end, go past the injector (or injectors) and put your pressure regulator at the other end. This means the rail never stagnates so you don't the temperature swings in the fuel.

You will also need to measure the injector supply voltage very carefully and adjust your pulse length to compensate for voltage changes. The higher the supply voltage the faster the injector opens. The closing speed of course is determined by the characteristics of the injector itself and relatively fixed. If your injector is sized correctly, at low load / low speed you will be running with pulse lengths similar to the opening time (I believe erogation is the term EFI people use) and you will need to control the pulse duration very precisely.

With TBI you also have to pay particular attention to the temporal distribution of the fuel that goes into an engine cycle. With multi-point injection each cylinder's fuel is dropped into the port and more or less has to go into the right cylinder. But when you are injecting a sequence of pulses into a column of air that is being divided into multiple cylinders, not always smoothly and continuously, you need to design your injection system to mix the fuel/air together rather than have lumps of rich/lean mixture chasing each other down the manifold. Of course you don't have this problem with carbs because the fuel is mixed evenly with the air as it passes through the carb.

It's doable (I've done it) but it's not easy and there is a lot of factors to deal with to get this working right and I'd guess you have several man-years of work ahead of you to develop from scratch something that works as well as a simple carb. It's a fun project, but it's a lot of work.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 9, 2012, 11:05pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/32 "2012-01-09T23:05:09Z")

</div>

> PeterH:  
> One thing that worries me about your hardware is that you have a relatively large dead-end fuel rail. That means you're going to be vulnerable to heat soak effects. if you haven't looked into this you might be surprised how much the viscosity of petrol changes with temperature. If you have any chance, I'd suggest you replace the center feed fuel rail with an end feed one - supply from one end, go past the injector (or injectors) and put your pressure regulator at the other end. This means the rail never stagnates so you don't the temperature swings in the fuel. I actually have a bakelite (sp?) spacer that goes beneath the TBI to insulate it from heat. There's actually very little chance that any fuel would "stagnate" in this rail, as it flows from center to the injectors, which are at the termini. Literally the end is where the injector lies. I am slightly confused by your suggestion on the positioning of the regulator... The fuel needs to go through the regulator in order for it to regulate the pressure. Are you by chance talking about the pressure relief valve?
> 
> You will also need to measure the injector supply voltage very carefully and adjust your pulse length to compensate for voltage changes. The higher the supply voltage the faster the injector opens. The closing speed of course is determined by the characteristics of the injector itself and relatively fixed. If your injector is sized correctly, at low load / low speed you will be running with pulse lengths similar to the opening time (I believe erogation is the term EFI people use) and you will need to control the pulse duration very precisely.  
> The charging system on most cars is fairly stable to my knowledge... I can understand it making a difference with a couple volts of variation, but the regulator (again, to my knowledge) pretty well hovers right at 14V... Please correct me if I'm wrong. If it does vary much, I can simply add in volt/amp to the program.  
> With TBI you also have to pay particular attention to the temporal distribution of the fuel that goes into an engine cycle. With multi-point injection each cylinder's fuel is dropped into the port and more or less has to go into the right cylinder. But when you are injecting a sequence of pulses into a column of air that is being divided into multiple cylinders, not always smoothly and continuously, you need to design your injection system to mix the fuel/air together rather than have lumps of rich/lean mixture chasing each other down the manifold. Of course you don't have this problem with carbs because the fuel is mixed evenly with the air as it passes through the carb.  
> Much consideration was given to the proper "atomization" of fuel while I was building the unit... The fuel has to pass the air coming in from the throttle body in a cross-pattern, then due to the tubes having open sides the air has to cross in a figure-8. The whole system is open enough for good airflow, yet turbulent enough (hopefully) to mix the fuel well. That's also part of the reason why I want to have the injectors fire alternately, so that it's a more consistent fuel distribution vs. the effect of both injectors firing at once. And actually, even with carbs (depending on quality and the type of manifold) "pooling" of fuel or just lousy mixture is still an issue. Only time will tell whether this manifold will mix it well.  
> It's doable (I've done it) but it's not easy and there is a lot of factors to deal with to get this working right and I'd guess you have several man-years of work ahead of you to develop from scratch something that works as well as a simple carb. It's a fun project, but it's a lot of work.  
> I'd love to hear more about your project! Was it also with an Arduino, or another custom circuit? That's actually half the purpose of this project. I'm pretty confident that it'll work (and get better MPG than the current carb, @25mpg ☹ ), but a main point is to improve my programming skills and also to better understand EFI in general.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 10, 2012, 3:17am UTC](https://forum.arduino.cc/t/fuel-injection/82559/33 "2012-01-10T03:17:10Z")

</div>

1. Mass air flow (MAF) is NOT necessary. GM did NOT use it in most V6 models (J, W, N bodies, for starters) between 86 and 93. They used a MAP (manifold absolute pressure) sensor. And as such, calculated the air flow from the pressure in the manifold and of the atmosphere (speed density system, same as the MegaSquirt). I have 2 such engine control computers (GM P/N 1227730, 1227727) and possibly another in my garage. And, also, computer controlled carburetors did NOT use a MAF, either. At least GM carbs didn't (I have a factory service manual that proves this for the GM LG4 305 carbureted V8).

2. Manifold pressure measurement, however, IS VERY necessary. If you don't know the pressure of the air in the intake, you don't know how much fuel to add to it to reach the proper air/fuel ratio. You CANNOT get away without this sensor, PERIOD. Early computer-controlled carburetors even used a MAP/BARO sensor. You may even find your Omni had one. Actually, maybe not. Most of the Chrysler engine control computers used an integrated sensor (I can't recall at this moment whether it was a MAF or a MAP. I'm tending to lean towards MAF, but I believe they also used a MAP). Let's put it this way. You set the tables for your fuel injection up in, say, Key West, Florida, down by the ocean. You then take a trip to Denver, the Mile High city. Your engine runs pig rich. Why, because the air flowing into the intake is less dense and has less pressure. Keep in mind that air pressure changes with altitude (as you've already mentioned outdoor equipment and such).

3. Yes, you DO need to adjust injector PW according to available system voltage. Alternators do crap out, you know, they may also have trouble charging the system at low engine speeds, and you WILL need to adjust the initial injector PW according to initial startup temperature, pressure, and system voltage.

You may want to look at this page: [V3 Main Board](http://www.megamanual.com/ms2/pcb.htm) for the base schematics to the MegaSquirt to see what makes it tick. Because you were curious about how the MOSFET injector controls work.

I agree with the fuel reflow. Most fuel injection systems, and ALL TBI systems, are designed so the fuel flows in a loop, so the fuel doesn't overheat and create something called vapor lock, where the fuel heats in spots, evaporates, and creates a vapor bubble that is useless to the fuel injection system and combustion process. My fuel rail, for instance, takes fuel in one side, feeds 3 injectors, transfers to the other side, feeds the other 3 injectors, and the pressure regulator is on the end of the second tube, blocking the flow of fuel out of the outlet (return) port and line back to the fuel tank until such a time as the spring pressure on the other side of the FPR diaphragm is overcome. Chrysler TBI works in an identical manner. This prevents vapor lock. And vapor lock can happen ANYWHERE in the fuel system. Knowing how the fuel lines are run in Chrysler vehicles, this could be a problem.

And yes, Jemmicat, you can use a one-wire O2S. ALL current manufacturers do, for the most part. The other 3 wires are for the heating element in the oxygen sensor that helps it warm up quicker, to provide the proper output signal faster so as to cut engine emissions faster. I have seen and used actual sensor readout data on lab scopes from late models, and it does not look like a wideband output.

---

<div class="post-metadata">

**Author:** ![kf2qd](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kf2qd](https://forum.arduino.cc/u/kf2qd)\
**Post date:** [January 10, 2012, 3:35am UTC](https://forum.arduino.cc/t/fuel-injection/82559/34 "2012-01-10T03:35:35Z")

</div>

You may also want to look at Engine RPM. It gives you another way to also calculate air flow ( at any rpm you are going to move a certain amount of air) and give you another check on your other numbers. A little redundancy is sometimes a good thing.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 10, 2012, 1:49pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/35 "2012-01-10T13:49:22Z")

</div>

You seem to be describing a carb style fuel system, where the pump feeds a regulator that is essentially a variable restrictor maintaining constant pressure at the regulator output.

This is not suitable for an injection system. You will need a new high pressure pump, and a new regulator, and you will need to completely replace the fuel lines (fuel lines designed for carbs are not rated for the pressures used in injection systems). The pressure the injectors are designed to work at will vary but typically will be around 2.5 - 3.5 bar. You need to find out what range of pressures your injectors will support, and decide what pressure you want to run them at within this range.

The fuel system will consist of:  
tank -\> high pressure injection pump -\> high pressure filter -\> fuel rail -\> regulator -\> return to tank

The regulator will be a variable restrictor that maintains a constant pressure on the upstream side i.e. within the fuel rail. The regulator can be referenced to fresh air, or to manifold pressure. I strongly suggest you reference it to manifold pressure as this simplifies the fuel flow calculations and control considerably.

You can achieve this circuit by teeing your existing fuel rail in to the hose between the pump and the regulator. This would be good enough to run the engine, but means that the only fuel going into the fuel rail (and hoses leading to it) is the fuel that is being injected. This means that most of the time the flow rate will be very low, and you will suffer from lots of fuel heating. Having the fuel temperature vary is bad news because the fuel viscosity changes considerably with temperature. Many production systems actually measure the fuel temperature in the rail and explicitly compensate for this but you can get away without that as long as you keep a good flow through the rail so that the fuel doesn't get hot. Depending how hot the engine bay is you may also find that the fuel rail suffers from vapour lock and a dead-end system will be more vulnerable to that, too, but that is a different problem.

Have you sized your injectors based on your engine's peak fuel requirements? What is your maximum expected injector duty cycle at full power?

The battery voltage on your car will vary wildly depending on the loads on the system. The injectors are basically solenoids working against a spring and the opening time is highly dependent on supply voltage. You will need to adjust the pulse times to compensate for the effects of supply voltage changes.

You will need a good rpm signal for this to work, and a load sensor. For load you could use mass air flow or manifold absolute pressure. As a last resort you could use throttle angle although that's much harder to map because the correlation between throttle angle and mass air flow is very poor. MAP is by far the easiest to set up and is what I'd recommend. You will need a throttle angle input anyway, to trigger your transient enrichment (aka 'throttle pump'). You also need a coolant temp input.

If the fuel economy is current poor, that suggests there's a problem with the current setup. Perhaps it's just the carb not working very well, but you might have some other problem such as weak spark, bad timing, dirty plugs, leaking stat, air leak, worn cam etc causing the problem. On the assumption that it's the carb, and since you will need to have some means to monitor EGO anyway in order to tune your injection setup, I suggest you get an EGO sensor installed and see what AFRs you're getting currently. Hopefully you'll see they're way out under some conditions. If you know your carbs, then armed with that information about where they're wrong you could actually get the carbs corrected if you want. In any case, seeing the problem you are aiming to fix seems like a good idea, before you invest large amounts of time or money fixing it.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 10, 2012, 11:53pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/36 "2012-01-10T23:53:09Z")

</div>

Well, I don't know about his Omni, but my grandmother had a Horizon (same car) that the carb had a malfunction in and even the dealer NEVER could get right, so she sold it for a TBI Shadow. Which is probably why he wants to switch to fuel injection.

Does the engine in that thing have the distributor on the front of the engine, that's driven by a drive shaft with 2 slots in it, equidistant from each other (180\* apart)? If so, you may be able to use a later-model distributor, which has a Hall sensor in it. This would give you RPM signals, but how it would interact with, what I am assuming is, your points-type ignition system, I don't know at the moment. I'll need to consult some manuals to find out of the Hall distributor connects directly to the ECU or not.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 11, 2012, 1:37am UTC](https://forum.arduino.cc/t/fuel-injection/82559/37 "2012-01-11T01:37:43Z")

</div>

> Jemmicat:  
> You CANNOT get by with as few sensors as you think. How are you going to know when to trigger the injectors? As magnethead was saying, you need to perform a timing map on the pulses. They need to happen just before each intake valve opens.How do you do this? With a crank position sensor… You can’t just put one of these on easily so you need to come up with another way to find position and from revolution to revolution this timing map and pulse cycle will probably be changing. You can maybe do this without a crank position sensor, but you need to know when and how long each of the 4 intake valves are open and time your pulses on the injector accordingly. If you try to just randomly inject fuel without this, you run a risk of blowing a lot of things. You could possibly use a sensor on the tachometer for the pulses, but again, you have to tie your pulses back to the opening of each cylinder.

A crank position sensor won't tell you when the intake valve is opening, as the crank rotates twice for each opening of the intake valve. You'd need a cam position sensor if you wanted to do sequential port injection.

Sequential injection isn't required, the standard Megasquirt is for batch or sometimes bank injection. They did a setup with sequential injection and found that it did improve idle, but there are literally thousands of Megasquirt-equipped cars out there running batch injection.

[http://www.megamanual.com/v22manual/mfuel.htm#batch](http://www.megamanual.com/v22manual/mfuel.htm#batch)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 11, 2012, 1:01pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/38 "2012-01-11T13:01:55Z")

</div>

Sequential injection not necessary on any engine, and it's not possible on a TBI setup like the one being discussed. You can ignore any issues relating to injection phasing. You do, however, need an engine RPM input and a load input, and you will need (at least) a 2-D map of required fuel quantity against rpm and load.

---

<div class="post-metadata">

**Author:** ![joey120373](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@joey120373](https://forum.arduino.cc/u/joey120373)\
**Post date:** [January 12, 2012, 11:47pm UTC](https://forum.arduino.cc/t/fuel-injection/82559/39 "2012-01-12T23:47:42Z")

</div>

I would love to see this project get done, however there sure seems to be a lot of conflicting info flying about!

To the OP, i would reiterate what has already beed suggested, go to [msefi.com](http://msefi.com) and spend some time reading!

I would love to see an adruino based fuel injection system created, but why try to reinvent the wheel here?

Years ago I built and installed a megasquirt system on my car, (an "MS1" using the motorolla HC908 (if memory serves me  
)) it was fuel only, basically a carb replacement.

There is a ton of usefull information on the MS site, including using different load sensors, MAPvsRPM(manifold air pressure an RPM aka speed density) or MAF (mass air flow) or TPSvsRPM (throttle position vs RPM aka. alpha/n)

there is also a ton of info on various hardware used to controll things like injectors and coils and such.

I would echo statements be others, using any O2 sensor (1,2,3,4,6 or 7 wire) as anything but a small fuel trim andjustment is probly not a good idea, If it were that simple, it would have been done....The system needs to calculate required fuel pulse in advance of the actual event, and the O2 signal is generated long after the event has taken place. There are all kinds of ways to fire injectors, but I would stick to using components that were specifically designed for doing this, there are tons of them out there and most of them are dirt cheep.

Battery voltage correction is a big deal, air temp is also a big deal

goodluck

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 1, 2012, 3:55am UTC](https://forum.arduino.cc/t/fuel-injection/82559/40 "2012-02-01T03:55:44Z")

</div>

I'm new to the forums, but I'm stoked to find this thread is current, unlike [this lawnmower EFI](http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1275359057), note the lawnmower can get away without a map sensor because it's a governed engine designed to run at a single RPM (kinda like how my tractor's turbo doesn't have a wastegate).  
I've a 125cc engine I'd like to EFI in practice for electrifying my 84 280SL 2.8L engine.  
in my present level of ignorance I believe I'll use:

- an SSR : they're simpler to employ than transistors for the non-electrical engineers, they're optically isolated, and have plenty enough power to run an injector or two or three. plus, 10 shiny new [opto 22 ODC5's](http://www.opto22.com/site/pr_details.aspx?cid=4&item=ODC5) came in the mail today and are sitting on my laptop

- a fuel injector: I believe there're high impedance injectors which draw about 1 amp (the lexus injector on my laptop measures 14Ohms) and there're low impedance injectors which are supposed to have a peak draw of 6+ amps then drop to ~4 amps(it seems to me like they're a racing thing for super high revs and super accurate response)

- Tachometer input: there must be some safe way of grabbing this from the spark or I could use a hall sensor, which would give good platform for electronic ignition control

- Manifold Air Pressure sensor: essential for calculating the volume of air by multiplying it with RPM and engine displacement and some constants like .5 (for 4 cycle engines) and the engines volumetric efficiency, etc.

- throttle position sensor: I'm not sure it's super essential except for giving some richness for added acceleration, but I'm sure there may be other uses.

- coolant temp sensor: I'm not sure I'm going to use one because the bike is air cooled. I'll might instead opt for programming in a couple minutes of richness after the engine start, like the old autochoke with it's heating element and wax, or a choke button.

- fuel pump: this thing won't work off gravity feed like the carb

- O2 sensor: this I expect to use just for the initial programming. they're kinda pricey, but it seems like it'll be worth the closed loop feedback. it seems like the [MTX-L](http://www.innovatemotorsports.com/products/MTXL.php) is the item to get. they've even got analog outputs.

[Previous page](https://forum.arduino.cc/t/fuel-injection/82559.md?page=1)

[Next page](https://forum.arduino.cc/t/fuel-injection/82559.md?page=3)
