ECU Discussions Area for Haltech, Power FC, MOTEC and other ECUs

Basic Engine Tuning

Thread Tools
 
Search this Thread
 
Old 09-13-2006, 04:29 PM
  #101  
Member
 
drewrey2004's Avatar
 
Join Date: Apr 2006
Posts: 58
Default

has anyone tuned with alcohol and wat afr should i be looking for wen mixed with pump gas?
drewrey2004 is offline  
Old 01-29-2007, 12:42 PM
  #102  
Member
 
MazdaManiac's Avatar
 
Join Date: May 2004
Posts: 36
Default

I'm in the middle of producing a Tuning DVD that addresses all of the shortcomings of the various books and sources that are out there (and combating some of the nonsense that gets thrown around on forums like this one and in threads like this).

I've posted most of this elsewhere of the last few months. Hopefully it will be of use to someone.



You can download this spreadsheet to help with the actual pulsewidth calculations.




an injector calculation matrix with tables for three staged injectors





HOW PROGRAMMABLE DIGITAL FUEL AND TIMING SYSTEMS WORK



Programmable engine management systems require a tuner to calibrate the basic raw fuel and ignition curves for an engine by defining tables of numbers that specify spark timing advance and base fuel delivery for pulse width-modulated (PWM) electronic fuel injection as a function of engine speed and airflow. Such tables are typically represented to the tuner in graphical or tabular format via user interface/editing software running on a laptop.



This PC-based engine management software simultaneously controls communications-driver software that has the ability to interact, via serial cable (or USB), with the onboard electronic control unit (ECU) that actually manages the spark and fuel requirements for an engine. The software allows the user to move data back and forth between ECU memory and the laptop for tuning purposes.



Typically, programmable engine management systems provide both the ability to interactively modify many operating parameters and table cells in the ECU while the engine is running, as well as the ability to upload the entire set of all engine management tables into a Windows PC for subsequent offline calibration and eventual download back to the ECU.



A programmable engine management system is, therefore, comprised of the onboard ECU, firmware, and calibration data, plus a Windows-based laptop computer (or, in a few cases, an alternate dedicated interface module), laptop engine management software, and data-link hardware. For full functionality of the system, all components must be present and operational. Once the ECU is calibrated, it is fully self-contained and will run the engine without additional components. However, without the laptop present and connected, the ECU is in no sense programmable.



Although user-interface software of various engine management systems may present internal engine management tables to the tuner with its own unique graphical appearance and although the underlying resolution or granularity of the tables may, in fact, actually vary, behind the scenes the basic engine management operating concepts are exactly the same:

When it is approaching time for the digital microprocessor managing an engine to schedule the next fuel injection or spark event, the processor first checks engine sensor data to get a snapshot of how fast the engine is turning and how much air it is ingesting.

The ECU then performs a series of look-ups to the appropriate entry for the current speed and airflow in the various fuel and timing tables to determine when to open and close the injectors to spray a pulse of fuel into one or more combustion chambers and how many degrees before top dead center to trigger an external igniter or coil to fire the next spark plug. If engine speed or loading fall somewhere in between two specified points in an engine management table, the ECU will provide base fuel or spark or corrections by applying a weighed average of the closest several points on either side of the actual value.



Regardless of the exact means used, the process of calibrating an engine management system on a new engine has the ultimate goal of optimizing torque, fuel economy, or emissions at each and every breakpoint of engine speed and loading defined in the fuel and ignition tables (there are usually between 24 and 800 such points).



In theory, this can be a laborious process, but it is one that can frequently be expedited with the use of automated map-builder computer modeling algorithms, pre-existing calibrations from similar engines, intelligent extrapolation and interpolation between rpm ranges and load points, and even self-learning routines that make use of a wideband 02 sensor and the dyno. Nevertheless, it is worth keeping in mind that OEM car manufacturers frequently spend months or even years calibrating the engine management systems for a particular engine in a particular vehicle.



The magnitude of this task is ameliorated by the sensitivity of gasoline in combustion - the spread between the air/fuel ratio producing lean best torque (LBT) and rich best torque (RBT) That is the range of air/fuel ratios over which the engine produces best torque. (Best torque is not a single point but rather a range.) In a normally aspirated power plant that does not require surplus fuel for combustion cooling and knock control, the spread between RBT and LBT at wide-open throttle is typically 11.5 to 13.3, with mean best torque in the 12.0 to 12.5 range. This spread narrows at high engine speeds as highest possible flame speed becomes increasingly critical to achieving complete combustion in the time available.



OVERVIEW OF THE COMBUSTION PROCESS



Combustion is the rapid release of energy from a fuel - in this case gasoline.

A finite quantity of gasoline contains an equally finite amount of energy, which can be released by combining it with a specific quantity of oxygen at an absolute ratio.

1 kilogram of gasoline contains 43 megajoules of energy that can be released via oxygen at a ratio of 1:15.179 (a ratio referred to as "stoichiomentric"). That is about 41,700 BTUs. Plenty.

The trick with an internal combustion engine (ICE), whether it be rotary or other wise, is to control that combustion in space and time.

We do this by causing the combustion process to occur in the combustion chamber at a precise time and OVER a precise quantity of time to convert that heat into torque.

To effect this level of control, we must take a fixed quantity of space (about 650 ml in the case of the 13b-MSP), fill it with a quantity of gas and air as proscribed by the above ratio, compress it to a precise degree and ignite it at precisely the right time as to cause the maximum pressure increase resultant from that combustion to occur at the time of maximum delta for the combustion chamber's swept cyclic volume (that is to say at the precise moment that the combustion chamber is starting to get bigger again after it just got done getting smaller to compress the charge).

The beauty of this process is that it can occur completely independent of any change in factors in the outside world - temperature, pressure, altitude, pollution, humidity, whatever - as long as we can be assured that these conditions inside the combustion chamber are constant.



The problem is, we can't.



Because the process of getting a fixed volume of O2 into the combustion chamber at a proscribed density (meaning temperature via Avagadro) is complicated by the fact that this air is supplied by the available atmosphere, we are straddled with the effects of varying density on the combustion charge.

What that means is we must compensate for the volatility of gasoline as it responds to the varying charge densities. At differing charge densities, the amount of energy necessary to start the combustion process and the time it takes to complete the combustion process changes in a not so linear fashion.

So, what we do is vary the amount of fuel we add and ignite the process on a adjustable schedule based on what information we can obtain about the conditions of the air going into our ICE.

What we measure in the case of the RX-8 to know these conditions are these:



Air Flow

Intake Air Temperature

Barometric Pressure

Coolant Temperature

Throttle Position

Eccentric Shaft Position



By computing all of these measurements together, the engine control unit (ECU - sometimes called PCM for powertrain control module) can determine APPROXIMATELY the density of the air charge in the combustion chamber at any given time. It is a shame, really, that there is no way to measure the density directly or we could forgo all of this.

Two factors that can't be measured by the above methods are important to the whole equation as well.

First is volumetric efficiency (VE) or the amount of air, as a percentage of maximum, that the engine actually ingests as a result of the physics of mass and inertia. This number is fixed to some degree and changes at different RPM.

The other is the latent temperature of the actual combustion chamber as a result of the combustion cycles that proceed the cycle under scrutiny at that moment. This changes as a result of RPM as well, but it is also tied to 'load' or the increase of RPM over time as a proportion to charge density.

What that leaves us with is a very crude measurement of the total charge density.

How do we compensate for that?

By conservative 'hedging' on the bet that is ignition timing through advancement and retardation of the onset of the spark and by introducing elements into the gasoline that seek to stabilize its volatility. That is what octane is for and how much it affects the combustion process is measured by various methods including, but not limited to, Research Octane (RON), Motor Octane (MON) and the Anti Knock Index (AKI - and average of the RON and MON numbers). Unfortunately for the average motorist, many other ingredients are added to the fuel we use to affect its environmental impact that are not directly computed into the AKI. Ingredients are added to lower the boiling point and vapor point, reduce the hydrophilic nature of gas and reduce the amount of oxides of nitrogen after the combustion process. Many, if not most, of these ingredients change the combustion process in ways that may not be consistent from sample to sample. They also alter the total energy content of the fuel itself.



Having the ignition process starting at the wrong time (especially too soon) is a bad thing and can (especially in the case of the rotary ICE) quickly destroy a motor. So what is done, more often than not, is to err on the side of safety and bracket the combustion process with extra fuel and start the ignition with a slightly delayed spark. What this does is lower the temperature of the intake charge and insure that the combustion process is slower and later than optimal and never faster or sooner. Raising the AKI of the fuel used will accomplish the same thing but since the manufacturer of the vehicle can't insure that the fuel used will always have the proper AKI to achieve this or won't contain additives that adversly affect the ignition onset, they don't depend on their octane recommendation alone.

What is done by "tuners" then, is to take into account this margin of error and dial some of it out for more power which can be achieved by charge composition that is closer to optimal. To achieve this, they depend on the operator to use fuel that takes up the slack in AKI and remove some of this extra fuel and spark retardation.

Really, that is all there is to it. How good a tuner can be is dependant on his or her ability and knowledge with respect to the events within the combustion chamber in question.



VOLUMETRIC EFFICIENCY AND ENGINE FUEL REQUIREMENTS



An internal combustion engine is, in a sense, a self-propelled air pump that breathes in a quantity of air through the throttle related to the displacement of the engine, and exhales nitrogen and combustion products through the exhaust. But even at wide-open throttle (WOT), the amount of air that enters a spark-ignition internal combustion engine varies considerably depending on, well, stuff. There are many factors that affect how much air actually enters the engine's combustion chambers under various operating conditions (almost always less than the static displacement of the engine except with highly optimized performance engines utilizing resonation-effects tuned intake and exhaust systems, or on turbo or supercharged engines, which may easily operate at 100 percent or more of static displacement, also known as the volumetric efficiency or VE).



Torque is the instantaneous twisting force that an internal combustion engine is able to impart to a crankshaft/eccentric shaft, averaged over the combustion cycle by a flywheel. Over time, torque can be used to do work such as accelerating a car. Peak torque occurs at the engine speed and loading at which an engine (with power-adders, if present) is most efficient at ingesting air into the cylinders. Therefore, peak torque is also peak volumetric efficiency, or VE. Peak torque requires the largest amount of fuel per combustion cycle, hence, the longest injector open-time or pulse width. Even though engine breathing is less efficient at speeds above peak torque and therefore each putt is less powerful, more combustion events are occurring per time, and the engine will make its peak power at faster speeds than peak torque. Due to the definition of power as a function of torque/5250, these two measurements are always the same at 5250 rpm. A properly tuned engine will always use the most fuel per time at peak power.



On modern normally aspirated street engines, engineers strive to design engines to have as high a VE (torque) as possible across the range of engine operating speeds. One hundred percent VE is the amount of air that would be in the cylinder of an engine at bottom dead center at rest, minus the combustion chamber clearance volume (the actual displacement of the engine). It is extremely difficult or impossible to achieve 100 percent VE when the engine is running, because it takes a certain amount of time for air to rush into the combustion chambers and there is a limited amount of time (eight or nine thousandths of a second at 7,000 rpm), and there are restrictions in the way. Most street internal combustion engines cannot achieve anything like 100 percent VE, settling instead for maybe 70 to 90 percent, but engineers work to build a high, flat torque/VE curve across the rpm range.



A number of factors conspire to prevent a full 100 VE in normally aspirated street engines. There is normally at least a slight pressure drop through a throttle body, even at wide-open throttle. All fuel injection throttle bodies restrict airflow - producing a pressure drop - when the throttle blade is partially closed (and sometimes even when it's wide open). Intake ports and valves offer at least some restriction at some engine speeds. The exhaust stroke does not expel all burned gases because some exhaust is trapped in the clearance volume. The exhaust ports, valves and exhaust pipes offer some restriction as well. The camshaft profile of an engine (when so equipped) or port timing has a huge effect on the VE of an engine at various speeds and loading.



If a normally aspirated engine had a perfectly flat torque curve across the rpm range, injection pulse width would not vary at all with engine speed, but would be a function only of engine loading. If VE is entirely independent of engine speed, then the amount of air entering a combustion chamber on the intake stroke will depend entirely on the amount of air pressure in the intake manifold, hence, injection pulse width is a linear function varying precisely with the voltage from a manifold absolute pressure sensor, with peak VE and torque at the highest achievable manifold pressure. Since many modern street engines do have a pretty flat torque curve, a calibration in which pulse width varies in a linear fashion from zero at zero manifold pressure to maximum power pulse at full achievable manifold pressure is a good approximation of an ideal steady-state air/fuel table optimized for peak power.



Given the varying VE of an engine, the amount of air in the cylinder at any given breakpoint is not perfectly predictable. Again, you can assume that the maximum VE occurs at the point of peak torque. This will be the point of maximum injection pulse width, with pulse width falling off both above and below this. Maximum power will occur at a higher rpm than peak torque where the engine is making more power strokes per time increment, although the power strokes are less efficient at speeds above the torque peak and will therefore require less fuel to be injected per power stroke.



In some cases, engine torque and VE vary considerably with RPM. Normally aspirated engines optimized to run efficiently at very high speed with resonation-effects intake-runner and exhaust tuning at the expense of very weak low-rpm torque capabilities are one example (think S-DAIS). Some such engines have achieved as much as 10 psi positive pressure at the intake valve from inertial and resonation effects. Another example of varying VE is turbocharged engines optimized for high-speed operation that cannot make boost at lower rpm. However, even if the torque curve is not flat, given the relatively broad range of air/fuel mixtures at which an engine will still produce peak torque or near-peak torque, a straight-line approximation of injection pulse may still produce relatively good performance even with no VE corrections.



As an engine wears out, its VE decreases - but this may not occur evenly across all speeds and loading ranges or between combustion chambers. The newest original-equipment factory engines vary less than 1.5 percent in power, but historically, factory-built engines have varied greatly in VE due to significant variations in cam lobe profiles or port timing and other machining, with perhaps 5 percent very fast (high VE), 15 percent very slow, and the rest somewhere in the middle.



If the load-measuring device for an engine management system is a mass airflow (MAF) sensor (output voltage or frequency highly dependent on engine speed), then the basic fuel calculation is based on the MAF voltage divided by engine rpm. Note that MAF-based fuel calculations require no temperature correction for air density, since the MAF reading already reflects air density effects on mass airflow into the engine.



AIR/FUEL RATIOS



Air/fuel ratio has a major impact on engine octane number requirement (ONR), increasing octane requirements by +2 per one increase in ratio (say from 9:1 to 10:1). Ideally, air/fuel ratio should vary not only according to loading but also according to the amount of air present in a particular combustion chamber at a particular time (combustion chamber VE). Richer air/fuel ratios combat knock to some extent by the intercooling effect of the vaporization of liquid fuels and a set of related factors. The volatility of fuels affects not only octane number requirement but drivability in general.



The chemically ideal air/fuel mixture (by weight), at which all air and gasoline are consumed in combustion occurs with 14.68 parts air and 1 part fuel, which is usually rounded to 14.7. This ratio is referred to as stoichiometric. Stoichiometric mixtures vary according to fuel, from a low of nitromethane at 1.7:1, to methanol's 6.45: 1, ethanol's 9:1, up to gasoline at 14.7:1 and beyond to natural gas and propane, which are in the range of 15.5-16.5:1. Mixtures with a greater percentage of air than stoichiometric are called lean mixtures and occur as higher numbers. Richer mixtures, in which there is an excess of fuel, are represented by smaller numbers. Mixtures, by the way, are often expressed as a percentage of stoichiometric, usually referred to as lambda. Therefore, the stoichiometric APR is 1.0 lambda; the best-power ratio for gasoline (12.2:1) is 0.83 lambda.



At high loading and wide-open throttle, richer mixtures give better power by making sure that all air molecules in the combustion chamber have fuel present to burn. At wide-open throttle, where the objective is maximum power, all four-cycle gasoline engines require mixtures that fall between lean and rich best torque, in the 11.5 to 13.3 gasoline range. Since this best torque mixture spread narrows at higher speeds, a good goal for naturally aspirated engines is 12.0 to 12.5, perhaps richer if fuel is being used for combustion cooling in a turbo/supercharged engine.



Typical mixtures giving best drivability are in the range of 13.0 to 14.5 gasoline-air mixtures, depending on speed and loading.



OCTANE REQUIREMENTS



A fuel's octane rating represents its ability to resist detonation and pre-ignition. Factors influencing an engine's octane requirements are listed below:



• Effective compression ratio

• Atmospheric pressure

• Absolute humidity

• Air temperature

• Fuel characteristics

• Air/fuel ratio

• Variations in mixture distribution among an engine's combustion chambers

• Oil characteristics

• Spark timing

• Spark timing advance curve

• Variations in optimal timing between individual combustion chambers

• Intake manifold temperature

• Combustion chamber coolant temperature

• Condition of coolant and additives

• Type of transmission

• Combustion chamber hot spots.



When an engine knocks or detonates, combustion begins normally with the flame front burning smoothly through the air/fuel mixture. But under some circumstances, as pressure and temperatures rise as combustion proceeds, at a certain point, remaining end gases explode violently all at once rather than burning evenly. This is detonation, also referred to by mechanics as knock or spark knock. Detonation produces high-pressure shock waves in the combustion chamber that can accelerate wear of an engine or actually cause catastrophic failure. Pre-ignition is another form of abnormal combustion in which the air/fuel mixture is ignited by something other than the spark plug, including glowing combustion chamber deposits, sharp edges or burrs on the surfaces of the combustion chamber, or an overheated spark-plug electrode. Heavy, prolonged knock can generate hot spots that cause surface ignition, which is the most damaging side-effect of knock. Surface ignition that occurs prior to the plug firing is called pre-ignition, and surface ignition occurring after the plug fires is called post ignition. Pre-ignition causes ignition timing to be lost, and the upward movement of the piston or forward movement of the rotor on compression stroke is opposed by the too-early high combustion pressures, resulting in power loss, engine roughness, and severe heating of the piston crown or rotor face. It can lead to knock or vice versa.



The single most important internal engine characteristic that requires specific fuel characteristics is compression ratio, which generally increases the ONR +3 to +5 per one ratio increase (in the 8-11: 1 compression ratio range). High compression ratios squash the inlet air/fuel mixture into a more compact, dense mass, resulting in a faster burn rate, more heating, less heat loss into the combustion chamber surfaces, and consequent higher combustion chamber pressure. Turbochargers and superchargers produce effective compression ratios far above the nominal compression ratio by pumping additional mixture into the combustion chamber under pressure. Either way, the result is increased density of air and fuel molecules that burn faster and produce more pressure against the piston or rotor. Another result is an increased tendency for the remaining gases to spontaneously explode or knock as heat and pressure rise.



Keep in mind, high peak combustion chamber pressures and temperatures resulting from high compression can also produce more NOx pollutants. Lower compression ratios raise the fuel requirements at idle because there is more clearance volume in the combustion chamber that dilutes the intake charge. And because fuel is still burning longer as the piston descends or the rotor progresses, lower compression ratios raise the exhaust temperature and increase stress on the cooling system.



Until 1970, high-performance cars often had compression ratios of up to 11 or 12 to one, easily handled with vintage high octane gasoline's readily available in the 98-99 ((R+M)/2) range. By 1972, engines were running compression ratios of 8-8.5:1. In the 1980's and 1990's, compression ratios in computer controlled fuel injected vehicles were again showing up in the 9.0-11:1 area based on fuel injection's ability to support higher compression ratios without detonation, coupled with the precise air/fuel control and catalysts required to keep emissions low. Race car engines typically run even higher compression ratios. In air unlimited engines, maximum compression ratios with gasoline run in the 14-17:1 range.



Ratios above 14:1 demand not only extremely high-octane fuel (which might or might not be gasoline), but experienced racers use tricks like uniform coolant temperature around all combustion chambers, low coolant temperature, and reverse-flow cooling. Extremely high compression ratios also require excellent fuel distribution to all combustion chambers, retarded timing under maximum power, very rich mixtures, and probably individual combustion chamber optimization of spark timing, air/fuel ratio, and volumetric efficiency.



SPARK ADVANCE



Spark advance, which is optimally timed to achieve best torque by producing peak combustion chamber pressure at about 15 degrees ATDC, increases octane requirements by a half to three-quarters of an octane number per degree of advance. Spark advance increases combustion chamber pressure and allows more time for detonation to occur.



Engine speed range and fuel burn characteristics affect ignition timing requirements. As an engine turns faster, the spark plug must fire at an earlier crank position to allow time for a given air/fuel mixture to ignite and achieve a high burn rate and maximum combustion chamber pressure by the time the piston or rotor is positioned to produce best torque, which is dependent not only on engine speed but on mixture flame speed, which, in turn, is dependent not only on the type of fuel but on operating conditions that change dynamically, such as air/fuel mixture.



Therefore, an independent variable affecting the need for spark advance as RPM increases is the need to modify ignition timing corresponding to engine loading and consequent volumetric efficiency variations, which demand varying mixtures. Throttle position, for example, affects combustion chamber filling, resulting in corresponding variations in optimal air/fuel mixture requirements.



An important factor that affects VE - and potentially flame speed - is valve/port timing. Remember, a denser mixture burns more quickly, and a leaner mixture requires more time to burn. Valve/port timing has a great effect on the speeds at which an engine develops its best power and torque. Adding more lift or earlier opening and intake/ exhaust valve/port opening overlap allows the engine to breathe more efficiently at high speeds. However, the engine may be hard to start, idle badly, bog on off-idle acceleration and produce bad low speed torque. This occurs for several reasons. Increased valve overlap allows some exhaust gases still in the combustion chamber at higher than atmospheric pressure to rush into the intake manifold (or be trapped inside the combustion chamber) exactly like EGR, diluting the inlet charge - which continues to occur until rpm increases to the point where the overlap interval is so short that reverse pulsing is insignificant. But large ovelap results in gross exhaust gas dilution of the air/fuel mixture at idle, which consequently burns slowly and requires a lot of spark advance and a mixture as rich as 11.5 to 1 to counteract the lumpy uneven idle resulting from partial burning and misfires on some cycles. Valve/port overlap also hurts idle and low-speed performance by lowering effective manifold vacuum. Since the lower atmospheric pressure of high vacuum tends to keep fuel vaporized better, large overlap and port timing resulting in low vacuum may have distribution problems and a wandering air/fuel mixture at idle, which may require an overall richer mixture in order to keep the motor from stalling, particularly with wet manifolds.



Coming off idle, a large port overlap engine may require mixtures nearly as rich as at idle to eliminate surging, starting at 12.5-13.0 gasoline air/fuel mixtures and leaning out with speed or loading. Mild porting and overlap will permit 14:1 - 15:1 gasoline mixtures in off idle and slow cruise.



With medium speeds and loading, the bad effects of big ports and overlap diminish, resulting in less charge dilution, allowing the engine to happily burn gasoline mixtures of 14 to 15:1 or higher. At the leaner end, additional spark advance is required to counteract slow burning of lean mixtures.



With large ports and overlap, the spark advance at full throttle can be aggressive and quick; low VE at low rpm results in slow combustion and exhaust dilution, lowering combustion temperatures and reducing the tendency to knock. Part-throttle advance on large port overlap engines can also be aggressive due to these same flame speed reductions resulting from exhaust dilution of the inlet charge due to valve/port overlap.



In the 1970s, automotive engineers began to de-tune engines to meet emissions standards that were increasingly tough. They began to retard the ignition timing at idle, for example, sometimes locking out vacuum advance in lower gears or during normal operating temperature, allowing more advance if the engine was cold or overheating. Since oxides of nitrogen are formed when free nitrogen combines with oxygen at high temperature and pressure, retarded spark reduces NOx emissions by lowering peak combustion temperature and pressure. This strategy also reduces hydrocarbon emissions. However, retarded spark combustion is less efficient, causing poorer fuel economy, reduced power, and higher heating of the engine block as heat energy escapes through the combustion chamber walls into the coolant. The cooling system is stressed as it struggles to remove the greater waste heat during retarded spark conditions, and fuel economy is hurt since some of the fuel is still burning as it blows out the exhaust ports, necessitating richer idle and main jetting to get decent off-idle performance. If the mixture becomes too lean, higher combustion temperatures will defeat the purpose of ignition retard, producing more NOx. I

By removing pollutants from exhaust gas, three-way catalysts tend to allow more ignition advance at idle and part throttle. Undesirable products of combustion include formaldehyde, NOx, CO2, and fragments of hydrocarbons.



In any case, various high-performance fuels vary in burn characteristics, particularly flammability, flame speed, emissions, and so on, and all affect spark timing requirements. Gasoline engines converted to run on propane, natural gas, or alcohol require a different timing curve due to variations in combustion flame speed of the air/fuel mixture.



COMPUTING TARGET AIR/FUEL RATIOS, PULSE WIDTH, AND TIMING





It is relatively easy to calculate or estimate the volume of a combustion chamber and therefore the weight of air that enters the combustion chamber under ideal operating conditions. It is also fairly easy to make a good guess at how long an injector should stay open to spray in an amount of fuel that is a particular fraction of the weight of the air (such as the 14.7: 1 stoichiometric or chemically correct air/fuel ratio).



Of course, a complicating factor in designing a fuel curve is that even if you know how much air is entering the combustion chambers at a given time, it is not necessarily clear what air/fuel mixture is optimal. Most tuners want the maximum power possible at wide-open throttle, using the least possible fuel to accomplish this (lean best torque). But under some circumstances, it may be desirable to run at rich best torque (or even richer) in order to design in a safety factor to help prevent detonation with bad gas.



What about throttle response versus efficiency at part throttle? Are you willing to sacrifice some idle quality for fuel economy or reduced emissions? Does the overlap of your port timing the idle mixture so you need a particularly rich mixture for an acceptable idle? These kinds of questions complicate tuning even further.



Additionally, there's the real-world performance of the circuitry that activates the injectors and the physical response of the injectors themselves, which can vary from injector to injector.



Given the complexity of designing a theoretically correct fuel map, most tuners don't even try. If possible, they use a preexisting map from a similar vehicle or engine. Otherwise, they build a startup map designed purely to be rich enough to get the vehicle running and warmed up. This is made easier by the fact that warmed-up fuel-injected engines will run with mixtures as rich as 6.0: 1 on up to lean mixtures near 22.0: 1, and even cold engines are fairly flexible about air/fuel mixtures that will run the motor.



With the engine running (ideally on a dyno), tuners adjust the engine at each breakpoint combination of speed and load and set ignition timing and injection pulse width to achieve low emissions, best torque (lean or rich), or a specific air/fuel mixture or some combination of all three. Then they road test the vehicle and fine tune it under actual driving conditions, also fine tuning the enrichment maps.



If your EMS has closed-loop capability and is running in a speed-throttle position range in which closed-loop operation is activated, your EMS may be able to tell you what the mixture would have been if you were running open-loop based on what amount of mixture correction was required to achieve a stoichiometric air/fuel mixture. You can then make corrections to the raw fuel map based on this information.



TARGET AIR/FUEL RATIOS



Gasoline, being a stew of hydrocarbons of varying structure, is not a single homogenous molecule that burns with oxygen in a precisely predictable fashion. Nonetheless, given unlimited time for combustion and a perfectly mixed batch of fuel and air, it takes between 14.6 and 14.7 pounds of air to burn a pound of gasoline in a reaction that produces 100 percent water and carbon dioxide (in this ideal reaction, the nitrogen in air is purely along for the ride). So an air/fuel ratio of 14.7:1 is the chemically correct or stoichiometric ratio, sometimes abbreviated by the Greek letter lambda, as in lambda of 1.0. For example, lambda of 0.9 translates as 0.9 x 14.7, or 13.23 air/fuel ratio.



In reality, in a high-speed internal combustion engine, there is limited time for combustion, the air and fuel are not perfectly mixed, and tiny amounts of nitrogen will be burned by hot combustion temperatures and pressures. And inevitably some gasoline molecules will not be burned and some oxygen will not find any fuel to burn. Best power always occurs when there is at least a small fuel surplus above stoichiometric because air (oxygen) is the scarce commodity in spark-ignition internal combustion engines. The best power strategy is therefore always to make sure there is enough fuel available so that virtually every molecule of oxygen finding its way into the engine will be able to burn fuel. The best economy strategy is to make sure there is a small oxygen surplus so that every bit of fuel will get burned. The best emissions strategy is complicated by the fact that lowest hydrocarbon (Hc) emissions occur, as you'd expect, with an air surplus, but such lean mixtures produce hotter combustion, which burns more nitrogen and increases oxides of nitrogen, known as NOx. The best overall emissions strategy, therefore, turns out to be to target 1.0 lambda, the stoichiometric ratio, which does not minimize either HC or NOx, but minimizes the sum of both.



Let's first consider target air/fuel ratios for steady-state operation, when an engine is operating continuously at a particular speed and power output and the various engine fuel, air, and cooling systems have reached equilibrium.



Assuming the engine is not knock-limited and therefore does not require additional surplus fuel to cool combustion via heat vaporization effects, for best torque with optimal fuel economy at wide-open throttle, aim for a 12.5:1 air/fuel ratio midway between lean and mean best torque (12.8-12.2 AFR). If you're willing to sacrifice a little torque, mixtures as lean as 0.92 lambda (13.5: 1) on mild street engines that are not turbocharged will produce excellent peak-power fuel economy at the cost of about 4 percent power.



On turbocharged or other boosted power plants that are knock limited, at a very minimum you are aiming for mean best torque of 0.82 lambda (12.2 AFR), if not rich best torque of 0.8 lambda (11.76 AFR). This has the side benefit at very high flame speed (which increases all the way to 0.75 lambda, at which point a healthy flame front will move through this air/fuel mixture at 80 feet per second).



Under very high vacuum (deceleration conditions), run 15.5:1 or 16.0:1 AFRs (1.05-1.09 lambda) or even fuel cut on deceleration to prevent lean exhaust system backfiring.



Mild-cammed or ported engines with tuned runners and little valve timing overlap operating at full operating temperatures will idle at 14.7:1, but such a 1.0 lambda mixture is fairly close to producing misfires, and most engines produce a better, smoother idle and less stalling with richer air/fuel ratios. It is common practice to set idle lambda at 0.9 (within the correction range of the oxygen sensor) and allow the closed loop system to pull mixtures leaner to stoichiometric at idle and light cruise under 02 sensor control. If, for any reason, the 02 sensor fails, the engine will only idle better. Big-cammed or highly ported engines will not idle well at stoichiometric mixtures, needing at least 13.0-13.5: 1 mixtures (0.88-0.92 lambda) to idle as smoothly as possible, even at full operating temperatures.



Subject to engine VE distortions, for best drivability, air/fuel mixtures should smoothly increase fuel in a linear fashion from light cruise at low rpm toward heavier loadings and peak-torque speeds. Build in smooth increases in mixture as the engine increases in speed toward best torque and as loading increases.
MazdaManiac is offline  
Old 03-09-2007, 12:16 AM
  #103  
Member
 
pvillknight7's Avatar
 
Join Date: Apr 2004
Posts: 79
Default

I just spent the last hour browsing your site. You have so many good things to read I dont know where to start. The user friendly web design is a nice bonus. Good work!
pvillknight7 is offline  
Old 03-09-2007, 12:28 AM
  #104  
Member
 
pvillknight7's Avatar
 
Join Date: Apr 2004
Posts: 79
Default

Jeff- How did you learn to do web design? That page is really well thought out and designed.
pvillknight7 is offline  
Old 05-16-2007, 07:41 AM
  #105  
Fabricator
 
Lynn E. Hanover's Avatar
 
Join Date: Jan 2004
Location: Central Ohio (Hebron) Zephyrhills Fla.
Posts: 1,322
Default

[quote name='j9fd3s' date='Aug 28 2003, 10:29 AM' post='321399']

11:1 is the ratio of air to fuel. so its 11lbs of air to 1 lbs of fuel. this is measured by the oxygen sensor in the exhaust. although there are other ways to measure it.



the afr number by itself doesnt mean a lot, basically on a motor with no detonation you want the mixture to give either the best power or economy, on an rx7 we also have to think about safety.

different motors will want a different afr. the nice thing about afr's though is that it gives you a number to compare lean vs rich vs something in the middle.

when you play with maps if you have all the tools you wanna tune the fuel first and then tune the ignition with an egt.



the fuel and ignition does not have a set curve to follow, it will depends on the power curve of the motor. vosko was telling me about that the other day, his car wants a ton more fuel over 6k than it does under it. you just want to give the engine the afr that its happiest at



the idea behind ignition timing is to get the biggest part of the pressure rise in the chamber to happen right after the piston/rotor passes tdc. if the timing is retarded you loose efficency because the chamber volume goes up and you dont get as big of a "push". too much timing and the piston will have to push against the pressure in the chamber.





TUNING,



Remember that the crank in a rotary is turning 3 times as fast as the rotors. So each crank revolution gets you two power strokes in a two rotor engine.



Three situations control timing.



(A) timing is advanced to get highest cylinder pressure about 50 degrees after TDC. This is a function of the mechanical layout of the engine, to produce best fuel econemy at low throttle settings, and best power at high throttle settings.



(B) In boosted engines, the controller will pull off advance whenever the Lambda sensor detects a detonation event.



© under spooldown from speed (throttle closed, high manifold pressure (vacuum)) the controller may advance the timing up to 40 degrees. There is no load and the sparce mixture is difficult to light, you could shut off the fuel during this time but the cat temps would drop.



To get to the highest cylinder pressure at the correct crank angle the controller will move the timing all over the place. Because the burn rate changes for temperature and engine speed and throttle position.



You can imagine an over full chamber from high boost, and high temp from high outside air temp plus the boost heat, and that charge is going to burn very fast. So ignition advance may only be 10 degrees BTDC,

Before Top Dead Center. So all operations may be between 10 degrees and 40 degrees.



These advance numbers may seem small for the lower numbers, but remember that the rotor is turning 1/3 as fast as the crank, and the timing is measured at the crank. So, even at high temps and high boost, the timing at the rotor might be 36 degrees BTDC (12 at the crank) so the rotary can operate at very high advance numbers (at the rotor), compared to a piston engine.



In a piston engine, the crank must turn 2 times to complete the 4 strokes of the Otto cycles. TDC is always at the top of the cylinder. BDC is allways at the bottom of the cylinder. So, the first TDC is with both valves closed and a fuel air mixture compressed into a small space above the piston. Burns real fast. Not much chamber volume to pull heat out of the burning mixture, highest cylinder pressure needs to be about 18 degrees after TDC.



And you know the rest, another TDC with both intake and exhaust valves open a little during overlap and so on.



The rotary must turn the crank 3 times to complete the 4 strokes of the Otto cycle.



The rotary has two TDCs and two BDCs just like a piston engine. However, the two TDCs are in different places, and the two BDCs are in different places. This is difficult to grasp at first, but is basic to understanding this engine. And these events are in 4 locations in the engine.



TDC. This is known to all as it is the basis for ignition timing events. The rotor has a face against the plugs.

The fuel air mixture in the volume of the combustion chamber is at its smallest, the bore centers of the corner seals are on a line 90 degrees the the pan mating surface. The plugs have fired and the mixture is burning.



BDC On the power stroke. The bores of the corner seals are parallel to the pan parting line. And this is an easy one because it is at the bottom of the engine. Chamber volume is the largest. Exhaust port is being exposed.



TDC Overlap. The rotor face is now on the exhaust side of the engine. The bores of the corner seals are on a line 90 degrees to the pan parting line. Chamber volume is the smallest. Intake and exhaust ports may be connected (overlap) just as a piston engine.



BDC intake stroke. At the top of the engine, the bores of the corner seals is again parallel with the pan parting line. Chamber volume is the largest. Chamber contains some volume of fuel air mixture.



And now you know.



If you tune with EGT, best power will be just rich of the highest EGT. So you start off well rich of best power and lean to peak EGT. So as soon as EGT starts down you have just passed best power. Sadly, best power will be just 30 to 50 degrees before peak EGT, and that may be too hot for the apex seals to last very long.



My 12A bridge ports always run below 1600 degrees, with best power at 1580 degrees. A/F will be about 12:1 at this EGT. That figure is not the best power the engine can produce. There is another 3 or 4 HP in the engine, but it can be very painfull to go after it. For short bursts in a low gear for a second or so, it may be fine in an NA engine. Less so in a turbo engine. For a long run at top speed stay at least 100 degrees rich of peak EGT. EGT is tuned with fuel not timing. Although timing can change it. Timing is for pressure at a crank angle as above. Some builders tune for 1700 degrees, and that is fine with good oil cooling and stock seals.



I run carbon seals and ceramic seals. Ceramics will take anything temp wise.



There is your start on tuning.





Lynn E. Hanover
Lynn E. Hanover is offline  
Old 07-08-2007, 05:32 PM
  #106  
Member
 
Monsterbox's Avatar
 
Join Date: Oct 2006
Location: Birmingham, Alabama
Posts: 37
Default

ok can someone make this simple for an FD twin turbo owner and post a dyno chart of some basic bolt ons with the A/F ratio graph at the bottom?



I'm about to tune my car for 13psi...I took it to the dyno and did a run at 14 and ended up unhappy....it was a confusing graph



graph read 13.5 AFR around 2.5-->>3.5Rpms and slowly dropped down to 10.5 by 5k. then after the transition is maintained 10.5-11.1 to readline



Is it ok to be running the 14-12-14 boost pattern with a 13.5 afr tapper in the beginning?



What is the ideal afr for 10psi...and for 14psi



At 10psi i played with it...at 10.5 i made 256 and 11.5afr i made 274!!!!
Monsterbox is offline  
Old 11-30-2007, 10:37 PM
  #107  
Senior Member
 
Jims5543's Avatar
 
Join Date: Dec 2001
Location: Jensen Beach, FL / Sylva, NC
Posts: 2,934
Default

I have a question.



On my 13B-REW when tuning your vacuum range what a/f should i be shooting for?



I just switched over to 850 primaries and I need to retune my entire map.



The car was running really poorly so I data logged with lambda and I was running in the .77-.82 range. (11.3 - 12.0 a/f) remember this was with no boost in the 2-3K RPM range. I pulled my plugs and they were sooty and black. So I now know 11.3 a/f is way too rich for vacuum low RPM.



Where should I be aiming for? I redid the maps and have it in the .95 to 1.05 (13.9-15.4 a/f) range now and got nervous that may be too lean.



I remembered I had trimmed my fuel back 10% so I fed it back 3% more. This should put me in the 13.3-13.5 range. The car seems much more happy here though.



Thanks for any input in advance.
Jims5543 is offline  
Old 12-25-2007, 03:17 AM
  #108  
BDC
Senior Member
 
BDC's Avatar
 
Join Date: Jun 2003
Location: Grand Prairie, TX
Posts: 917
Default

Originally Posted by Jims5543' post='888928' date='Nov 30 2007, 08:37 PM
I have a question.



On my 13B-REW when tuning your vacuum range what a/f should i be shooting for?


13's:1 ideally with O2 loop control leaning it out to mid 14's under steady-stay RPM and cruising.



I just switched over to 850 primaries and I need to retune my entire map.



The car was running really poorly so I data logged with lambda and I was running in the .77-.82 range. (11.3 - 12.0 a/f) remember this was with no boost in the 2-3K RPM range. I pulled my plugs and they were sooty and black. So I now know 11.3 a/f is way too rich for vacuum low RPM.


11's to 12:1 is in the range where extra fuel is being used to reduce internal chamber temperature to (hopefully) stave off the likelihood of engine knock occuring from high load. It's normal to do on a tuned setup when running boost over 10psi and 4k+RPM.



Where should I be aiming for? I redid the maps and have it in the .95 to 1.05 (13.9-15.4 a/f) range now and got nervous that may be too lean.


Fatten it up a hair bit, but don't worry about it being dangerous for low loads like cruising around town w/o boost or planting your foot into it. You won't damage anything at all as the engine won't knock that lean. All it will do is potentially stutter and die from not having enough fuel to fire the mixture.



I remembered I had trimmed my fuel back 10% so I fed it back 3% more. This should put me in the 13.3-13.5 range. The car seems much more happy here though.


Pefect.



Thanks for any input in advance.


B
BDC is offline  
Old 12-25-2007, 03:21 AM
  #109  
BDC
Senior Member
 
BDC's Avatar
 
Join Date: Jun 2003
Location: Grand Prairie, TX
Posts: 917
Default

Originally Posted by Monsterbox' post='877399' date='Jul 8 2007, 02:32 PM
ok can someone make this simple for an FD twin turbo owner and post a dyno chart of some basic bolt ons with the A/F ratio graph at the bottom?



I'm about to tune my car for 13psi...I took it to the dyno and did a run at 14 and ended up unhappy....it was a confusing graph



graph read 13.5 AFR around 2.5-->>3.5Rpms and slowly dropped down to 10.5 by 5k. then after the transition is maintained 10.5-11.1 to readline



Is it ok to be running the 14-12-14 boost pattern with a 13.5 afr tapper in the beginning?



What is the ideal afr for 10psi...and for 14psi



At 10psi i played with it...at 10.5 i made 256 and 11.5afr i made 274!!!!


10.5:1 is way, way too fat for that load and fuel. That's very close to the neighbourhood where the mixture is so wet with fuel that it'll being to flood the motor and blow spark out. You definitely don't want that to happen while the engine is under real heavy load.



For 10-14psi on stock twins you can keep it near mid 11's:1. Transition is too fat, hence the dip. Contact me if you want a pair of IGL/IGT maps for that motor using stock MAP sensor. Heck I've got a base map that'll work just fine for you, too. PowerFC of course.



B
BDC is offline  
Old 12-25-2007, 03:26 AM
  #110  
BDC
Senior Member
 
BDC's Avatar
 
Join Date: Jun 2003
Location: Grand Prairie, TX
Posts: 917
Thumbs down

Originally Posted by MazdaManiac' post='855578' date='Jan 29 2007, 10:42 AM
I'm in the middle of producing a Tuning DVD that addresses all of the shortcomings of the various books and sources that are out there (and combating some of the nonsense that gets thrown around on forums like this one and in threads like this).

I've posted most of this elsewhere of the last few months. Hopefully it will be of use to someone.



You can download this spreadsheet to help with the actual pulsewidth calculations.




an injector calculation matrix with tables for three staged injectors





HOW PROGRAMMABLE DIGITAL FUEL AND TIMING SYSTEMS WORK



<snip>


Plagiarised, almost literally word for word with a few small additions and deletions, from How to Tune & Modify Engine Management Systems by Jeff Hartman. Don't credit this as your own and do not post this on this forum w/o crediting the author.



B
BDC is offline  


Quick Reply: Basic Engine Tuning



All times are GMT -5. The time now is 02:23 AM.