more on bench testing
Tank Raw Data
IJ3440.0uS284920
IC405740VC147544 //display format may overflow, but model is intact.
Tank display
Time 650:57 minutes 78120 loops
Miles 214.86
Gallons 3.79
MPG 56.74
MPH 8.81
Instant Raw Data
IJ000.00uS044064
IC018.00VC027.00 (toggles between 27 and 28)
Instant display
MPH ~20
MPG 41.67
so @ 651 minutes, we have made 78120 1/2 second loops.
Fuel check:
the injector was open for ~ 44064 microseconds per loop
so that is 3442279680 microseconds of open injector time
and we have 3440 seconds displayed in IJ for the trip, close enough!!
Injector count: 78120 * 18 = 1406160, displayed 405740 (assuming leading one isn't displayed), again, close enough. We don't care about injector count except for RPM calculations which we havent tackled yet.
Distance check: 78120 * 27.5 = 2148300, displayed 147544 (assuming leading 2 isn't displayed), again close enough for a quick sanity check like this.
So the data collection logic and the data model appears to be reasonably sound, no? I think the remaining display glitches are a display problem. Note, the tank mph has started creeping up again while typing this.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
Last edited by dcb; 06-08-2008 at 02:41 AM..
|