I suggest if you are interested in this system you make
a folder and drag over all the many future messages on this
After some extensive conversations with some people attempting
to tune their engines and based on what I have learned so
far about ZBasic I have decided to change course and do
away with timed fuel injection. I have decided it is unnecessary
for aircraft engines. There are lots of constant dribble aircraft fuel
injections out there working well.
What this does is relieve the severe timing constraints on the
program at 7500 RPM and allow it to focus on
auto tune. I am going to attempt to do this my measuring
the EGT and use that as the primary feedback parameter.
EGT is unaffected by the type of fuel burned.
There will be no look up table to change values in.
The mixture is self optimizing. This is a non traditional
approach to EFI.
Ignition triggering will be done in hard ware directly
off the two CAS's mounted on a simple one tit trigger wheel.
Three in the case of a 3 rotor. Ignition timing will be
fixed but adjustable at 22 BTDC.
This will also allow the program to send critical data
to a net book in real time.
Here is how auto tune could work based on the EGT.
Pilot: Manually lean the mixture to lean of peak EGT.
The computer then increases the mixture and see if the EGT
goes up or down. Wait. If it goes up you are on the back
side of the EGT curve. The computer then increases the
mixture again. Wait and see if it still goes up. Keep
doing it until it does not go up any more. You are now
at peak EGT.
You will still be able manually lean the mixture.
This is the preliminary basic program. More routines
and sub programs will be added later as we have no
time constraints. This program shown so far will record
injector pulse width, RPM and both EGT readings on the net book.
RPM read out will be accurate to the nearest one rev and
will be updated every .6 seconds. Staging can be done
if necessary at some RPM value.
Sub Main()
do
EGT1 = GetADC(82)
Debug.Print " EGT1 = " & CStr(EGT1);
delay (0.001) 'wait
EGT2 = GetADC(82)
Debug.Print " EGT2 = " & CStr(EGT2);
if EGT1-EGT2 is > 0 then
WidenThePulse
end if
if EGT2-EGT1 is > 0 then
NarrowThePulse
end if
DetermineRPM()
loop 'go back to top
************************************************
Sub WidenThePulse ()
width1 = width1 + 1 'Widen the pulse
Call OpenPWM(3, 250.0, zxFastPWM) 'Pulse rep rate 250 PPS
Call PWM(3, width1)
Debug.Print " Width = " & CStr(width1);
end sub 'WidenThePulse
*****************************************************
Sub NarrowThePulse ()
width1 = width1 - 1 'Narrow the pulse
Call OpenPWM(3, 250.0, zxFastPWM)
Call PWM(3, Width1)
Debug.Print " width = " & CStr(width1);
end sub 'NarrowThePulse
****************************************
Sub DetermineRPM()
' RPM code goes here
Debug.Print " RPM = " & CStr(RPM);
end sub 'DetermineRPM()
******************************************
The RPM will be accurately determined by external hardware
and a third mag sensor...sensing the teeth on the
flywheel. RPM resolution will be one rev.
We also already have the means to determine fuel
flow in GPH and total fuel burned. Knowing the
pulse width. Total time of flight will also
sent out to the net book in real time.
No hardware interrupts will be used as they
conflict with ZBasic.
-------------------------------------------------------
Here is handy pin out chart for all you people building
Atmel EFI's.
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.