Windmill Software Ltd |
![]() October 2007 |
Windmill Applications | Real-Time Fuel Consumption MonitoringRobert Kwiatkowski wanted to see his fuel consumption in real-time. Unfortunately his truck did not give him this information, so he designed his own fuel consumption monitoring system using the free Windmill software. He connected his laptop to the On Board Diagnostics system of his Ford Expedition, used Windmill to collect data from the truck and Excel to calculate and display his current fuel consumption. The On Board Diagnostics monitor vehicle conditions and components that are related to vehicle emissions. Sensors in the engine measure temperature, fuel pressure, speed and such like. Most vehicles do not have a fuel flow sensor, Kwiatkowski therefore used the Mass Air Flow (MAF) sensor and the
Vehicle Speed Sensor (VSS) to calculate miles per gallon (MPG). Modern vehicles use the oxygen sensors to feedback data to the vehicle's electronic control module (ECM) and control the air to fuel ratio. This ratio is set at the chemically ideal value of 14.7 grams of air to every gram of gasoline. The Mass Air Flow is the mass of air consumed in grams per second. Kwiatkowski used this information to convert the Mass Air Flow to gallons per hour and then calculate miles per gallon. He set Windmill to route the readings to Excel which performed the necessary calculations and showed the current fuel-consumption. He used the known values to convert the MAF to Gallons of fuel per hour (GPH) and then calculated miles per gallon (MPG). Here are the steps to make the conversion:
The expression for GPH is: MAF * 0.0805
Although the system is designed to show real-time fuel consumption, all the data can be logged and reviewed later. Windmill can also record GPS co-ordinates alongside the vehicle data. Other data could be recorded, such as emissions. This means that the system could be adapted to show emission maps of journeys through specific areas. Robert Kwiatkowski has produced a step-by-step guide to replicating his system which he has kindly made available here. Further ReadingHow to interface a vehicle's OBDII system to a PC Free Data Acquisition SoftwareThe Windmill software used is free to our Monitor newsletter subscribers. An updated version of the serial driver, called COMIML, is also available. Click here for more details and a free setup trial. |
Home | Windmill | On-Line Shop | Free Literature and Software Demos | Applications | Contents | Search
| Copyright Windmill Software Ltd 2006 PO Box 58, North District Office, Manchester, M8 8QR, UK. E-mail: sales@windmill.co.uk, Tel: +44 (0)161 833 2782 Webmaster http://www.windmill.co.uk/ Designed by Studholme.net |