The work load for that is three dozen BASIC instructions.
1.Measure the intake manifold pressure with the A to D.
2.Measure the intake manifold air temperature with the A to D.
3.Use the data to look it up in the 2D mixture table.
4.Adjust the pulse width generator. (Free runs in the background.)
5.Return to back ground loop and wait for next ign. pulse.
That's it!
-------------------------------------------------------
Let me revise and expand on that slightly.
1. Measure the intake manifold pressure with the A to D.
2. Measure the intake manifold air temperature with the A to D.
3. Check the count in the back ground loop counter for RPM.
(large number low RPM.... small number high RPM.)
4. Use the MAP number and RPM number to look up the
mixture number stored in the pre loaded 2D mixture map.
5. Adjust the mixture number for the intake air temp up or down.
6. Adjust the pulse width generator. (Free runs in the background.)
7. Return to back ground loop and wait for next ign. pulse.
Once you get the hardware working on the bench it should take
about a day to write the program if not a couple of hours.
Here is the pseudo code for the back ground loop counter.
For x = 1 to 1,000,000,000
Increment loop counter
Next x
Exit the program engine not running :)
(No ign pulse.)
Upon ign pulse:
Read loop counter number.
Store the number in the RPM memory location.
Set loop counter to zero.
Set x to zero.
Do steps 1 through 7.
Thats it!!!!!!!!!!!!!!!!
Paul Lamar ...No rotor no motor.
Paul,
What about the P Port? I thought it was difficult to get accurate MAP due to
the small intake manifold area and pulsations. Is ther a standard fix, like
measuring mass air flow?
Joe Berki
Limo EZ
It does not seem to be a problem off the dyno.
Mark Supinski's p-port engine is running fine last time I saw it
running. I have not heard from him in quite awhile however
so I don't have the latest info.
In any event there is little or no change in the PicAXE system
if you want to use a mass airflow sensor instead of a MAP
sensor. They both work and interface the same way but the mass air
flow sensor is a more accurate way of doing it. Just place the
mass airflow sensor at the entrance to the ram air box.
No throttle required as the slide throttle does that.
--
Paul Lamar ...No rotor no motor.
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
Copyright 1998-2007 All world wide rights reserved.