The MegaSquirt Project has experienced explosive growth other the years, with hundreds of new MS installations occurring every week - a phenomenal success! MegaSquirt has been successfully used in all aspects of Internal Combustion engine applications including R&D, Industry, Race, and Research. The MS project has transformed itself from a simple R&D project into a full-featured mature engine control system. To reflect this the support structure has also changed to meet the needs of MegaSquirt Users.
Moving forward, the R&D forums for MegaSquirt project are in a read-only mode - no new forum posts are accepted.
However the forums will remain available for view, they still contain a wealth of information on how MegaSquirt works, how it is installed and used. Feel free to search the forums for information, facts, and overview.While the R&D forum traffic has slowed in recent years, this is not at all a reflection of Megasquirt users, which continue to grow year after year. What has changed is that the method of MegaSquirt support today has rapidly moved to Facebook, this is where the vast majority of interaction is happening now. For those not on Facebook the msextra forums is another place for product support. Finally, for product selection assistance, all of the MegaSquirt vendors are there to help you select a system, along with all of the required pieces to make it complete.
This forum is for discussing ignition setup, tuning, and troubleshooting for MicroSquirt (TM)
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
I have finished my MSnEDIS unit and am almost ready to try to start my engine. It is a 1994 Lincoln 4.6L 4 cam. When can I obtain good starting values for the fuel and spark tables?
You can get a base starting point for the VE table by using the 'Tables/VE Table/Tools/VE Specific/Generate Table' function of MegaTune, using the peak horsepower and torque figures for your engine.
For timing, we don't have a generator written yet (it's on my list, but unfortunately not near the top!). The basic principles are to determine a maximum advance for your engine and work backwards from there with heuristics:
- older engines (1960s up to 1990 or so) with two valves - max advance = 36°
- newer two-valve engines - max advance = 30°
- three or four valve engines - max advance = 26°
then adjust for bore size:
- under 3.5" (89mm) - subtract 3°
- between 3.5" and 4.000" (101.6mm) - no adjustment
- over 4.001" (+101.6mm) - add 3°
That gives us a maximum advance figure. It you have an aftermarket combination with a good squish area and optimized quench, subtract another 2°. If you have a flathead, add 3° or 4° or more.
We will use this to fill in the table at 100 kPa from 3000 rpm to the redline.
From idle to 3000 rpm, we want the advance (@100kPa) to increase fairly linearly from the idle advance to the maximum advance. idle advance is really a matter of tuning, but assume 8° to 16° in most cases, with stock engines being on the lower end, and 'hotter' engines being on the upper end.
So if we have a hot engine with 36° maximum advance and 16° idle advance (at 800rpm), the spark table might look like this for 100kPa:
<pre>
100 16° 16° 18° 24° 28° 36°
rpm 600 800 1000 1500 2000 3000
</pre>
Below 100 kPa, we add 0.3° per 1 kPa drop. So for example, if our total spark at 100kPa and 4000 rpm was 36°, the advance at 50 kPa would be:
36° + 0.3° x (100-50) = 51°
and the advance at 45 kPa and 800 rpm would be:
16° + 0.3° x (100-45) = 32.5°
However all of these would need to be tuned, and it often helps idle stability to limit the advance at idle to under 20°.
Finally, for boosted engines, you subtract 0.3° of advance for every kPa above 100 (it's not a coincidence that this is the same factor as for the 'vacuum' adjustments). Because 101.3kPa=~14.7psi, this works out to ~2° per pound of boost. It is often the case that you want to limit the retard under boost as well, typically so that it takes out no more than about ½ of the maximum advance at 100 kPa.
None of these will give you the 'right' values for your engine though, and like the VE table calculator, are just a relatively safe starting point. They should be somewhat closer than starting with an empty table, though!
Very interesting! I've never seen anyone attempt to formulate an advance curve.
Just out of curiosity, I plugged the method into a spreadsheet and found some similarity to the rough Seat-O-Pants spark advance tuning that I came up with some time ago.
For the benefit of those running Mr Gate's products (and to save you downloading openoffice!) Ive converted Scotts spreadsheet into Excel format and also added the "boosted" calculations.
I'm no excel wiz, but i'm sure there's a way to add the max retard function in also so it never goes over/under a certain amount.
Its handy starting point i think. the figures at the edges are a bit wacked out though, your actual curve would be a roughly diagonal line from the bottom left to top right.
I would try to smooth out and flatline the edges, as you are clearly not going to have -22 advance (retard)
Briliant guys.
Though you lost me when I read this
Below 100 kPa, we add 0.3° per 1 kPa drop. So for example, if our total
spark at 100kPa and 4000 rpm was 36°, the advance at 50 kPa would be:
36° + 0.3° x (100-50) = 51°
I dont see how an engine can run 51° under any conditions.