One of the drawbacks to mass air flow sensors
is the voltage is more or less proportional
to the cube of the mass air flow while engines
need fuel directly proportional to the mass air
flow. This is handled in most modern EFI's by the look
up table.
As far as I can tell the ZBasic function Exp()
can get the cube root so in theory no look
up table is required. It is similar to a manifold
pressure based EFI system were manifold pressure
is more or less proportional to the mass air
flow. Unfortunately therein lie the problems
we see in tuning as manifold pressure can be
affected by a lot of things.
Here is the ZBasicexp() function.
Type Function returning Single
Invocation Exp(arg)
Parameter Method Type Description
arg ByVal Single The power of e to be computed.
This function returns the Single value corresponding
to the value e raised to the specified power. The
transcendental value e, upon which the natural
logarithm is based, is approximately 2.718.
This function is the inverse of the Log() function.
A "Single" data type is in the range of
approximately ±1.4e-45 to ±3.4e+38 and 0.0
In QB the form is (xxxx)^.5 is the square root
of xxxx.
(xxxx)^.333 is the cube root of xxxx.
.5 and .3333 are the exponents.
So the exponent can be selected to linearize
the mass air flow sensor voltage out put.
I'll try this in ZBasic shortly,
I intend to use MAF as the basic means of
determining the correct fuel flow adjusted
by EGT based auto tune.
This is going to make tuning simple if not entirely
automatic if it works.
Paul Lamar
--
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.