| Club323F http://www.club323f.com/forum/ |
|
| Is it possible to create a live read of fuel economy? http://www.club323f.com/forum/viewtopic.php?f=15&t=61148 |
Page 1 of 1 |
| Author: | ArtistKS [ Fri Sep 06, 2019 10:30 am ] |
| Post subject: | Is it possible to create a live read of fuel economy? |
I'm quite interested to know if it's possible (easy enough) to somehow get a live reading of the fuel economy of my BA. We've all seen this potato quality video of an apparent one https://www.youtube.com/watch?v=Zxh_chaaGlY But obviously no detail was ever given as to how it was made or if there are any alternatives. |
|
| Author: | HughieW [ Mon Sep 09, 2019 9:47 am ] |
| Post subject: | Re: Is it possible to create a live read of fuel economy? |
You could use an Arduino to measure the frequency and duration of an injector pulse, and compare that to engine speed ![]() So for example, at 2k rpm (30mph in 3rd), if a single 205cc injector has a pulse duration of 0.005 seconds (probably far too high), it will flow 34.166667 cc of fuel per minute, which is 0.00747895 imperial gallons. Multiply that by 4 (one for each cylinder), that'll give you 0.0299158 gallons per minute. At 30mph, you will travel 0.5 miles per minute, so you can divide 1 by your gallons, then multiply by 0.5, to give you 16.71 mpg. Which means my dwell time of 0.005 was too high (it was a random number less than 0.03, which would mean the injector is at 100% duty cycle). So, if you tap into an injector wire (ideally a ground), measure the duration and frequency of the pulses, you can do a bit of maths to convert that into gallons per minute. Then tap into the VSS to work out the vehicle speed, then use that to convert your gallons per minute into miles per gallon You could also fit two flow sensors, one to the feed fuel line, and one to the return line, subtract the return from the feed to get the amount of fuel used, then do the same multiplication by the vehicle speed to get the same result
|
|
| Author: | ArtistKS [ Mon Sep 09, 2019 11:30 am ] |
| Post subject: | Re: Is it possible to create a live read of fuel economy? |
That's alot of numbers and words. thanks for the detailed response though
|
|
| Author: | HughieW [ Mon Sep 09, 2019 11:44 am ] |
| Post subject: | Re: Is it possible to create a live read of fuel economy? |
If you're confident programming an Arduino, it could be done ![]() The maths isn't THAT complicated either, here's a bit of a more detailed breakdown: 30mph in 3rd gear is approximately 2000 rpm (nice easy number to work with). I'm using a 205cc injector as an example (I believe that's what the 1.5 BA uses, but I could be wrong... if someone knows for sure, let me know and I'll update the figures). 205cc means it will flow 205 cc of fuel per minute, if continuously open. Injectors are pulsed by the ECU (it opens and closes them at the correct times to make the engine run). I believe our ECUs run paired injectors, so injectors 1 and 3 fire together, as do 2 and 4. This means each injector fires once per crank revolution (one correct time, one out of time but correct for the other paired cylinder). It may be that we have sequential injection, in which case each injector fires once every other crank revolution (which would double the MPG figure in my output earlier, so maybe that is correct?). MX5s had both, depending on engine/year. So going with what I said earlier, at 2000rpm, a given injector would pulse 2000 times in one minute, or 33.3334 times per second. This gives an interval of 0.03 seconds (1 / 33.3334). So at 100% duty cycle, the injector would be open for that full time, 0.03 seconds. Cruising at 30mph, I've assumed a duration of 0.005 (for easy maths), which gives a duty cycle of 16.6667%. So you can use this percentage to work out how much fuel would flow per minute - given a 205cc injector, you can do 205 * 16.6667 / 100 to give you 34.1667cc. At 2000rpm in 3rd gear, you should be traveling at approximately 30mph (woohoo, more easy maths). We're working in minutes here, not hours, so at 30mph, for one minute, you'll travel exactly half a mile. So we now know, that for 34.1667cc of fuel per injector, we will travel 0.5 miles at 30mph in 3rd gear. We have 4 injectors, so we'll multiply that amount by 4, to give 136.6667cc for 0.5 miles driven. To convert CC into imperial gallons, you can divide the number by 4546.09. So let's do 136.6667 / 4546.09... that gives us 0.03006247 imperial gallons for 0.5 miles driven. So now, in order to get to a full gallon, we need to multiply 0.5 miles by the reciprocal of 0.03006247 (which is 1 / 0.03006247, or 33.264066518). That gives us 16.6320 MPG. Slightly different number to last time due to me rounding in different places this time, but approximately the same. If we run fully sequential injection, rather than paired, then each injector fires half as often, which means you can half the amount of fuel consumed, or rather double the amount of miles travelled, which brings you back to 33.2641 MPG. I think you'll actually find, that cruising at 30mph in 3rd would use a lot less fuel than I've suggested here - I think a 16.67% duty cycle is quite high for an engine under very little load, you might find it closer to 8% or 9%, which would give an MPG of 22.1760, which is more believable. |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|