EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   OpenGauge / MPGuino FE computer (https://ecomodder.com/forum/opengauge-mpguino-fe-computer.html)
-   -   injus query for dcb (https://ecomodder.com/forum/showthread.php/injus-query-dcb-7706.html)

ecoxantia 04-02-2009 08:51 AM

injus query for dcb
 
Still working at calibrating the mpguino on the HDi diesel - I have a question about the "injus" variable.

Is it simply the microseconds that the injector signal is "open"?

I have had to add some signal conditioning including a variable resistor to get a believable reading as I think it was just capturing the pre-injection and not the main injection.

Still on your v0.75 code I'm afraid, in case that makes a difference to the answer!

thanks

dcb 04-02-2009 09:06 AM

I don't know of a variable named specifically injus", there are these below:
for instant trip, injHiSec never gets incremented (the trip gets reset every half second) and injHius is the number of microseconds that the injector was open during the last 1/2 second.

PHP Code:

  unsigned long injHiSec;// seconds the injector has been open      
  
unsigned long injHius;// microseconds, fractional part of the injectors open 

.75 is the latest version, just added some instant speed fixes in .74 and .75 was basically documentation only.

ecoxantia 04-02-2009 10:22 AM

sorry, I meant injHius.

I find that injHius returns a sensible number most of the time (about 10,000 at idle in my case) but then returns a number about 80% of that expected, say every fifth update. I guess this is when the injector open time crosses two half-second measurement periods?

Oh and another typo- I'm on v0.70 not v0.75!

dcb 04-02-2009 01:53 PM

That sounds about right. That is why there is all the timing of individual pulses and stuff just for instant consumption and speed, otherwise it bounces around on the display.


All times are GMT -4. The time now is 06:07 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com