Aem Efi Basics v1.3
Aem Efi Basics v1.3
Use this system with EXTREME Caution! The AEM EFI System
allows for extreme flexibility in engine tuning.
Misuse of this product can destroy your engine!
Read this User’s Manual thoroughly before using this product.
Technical Help
NEED ASSISTANCE?
If you need technical or installation assistance with your AEM EMS System,
DO NOT RETURN THIS SYSTEM TO YOUR VENDOR.
Please contact our technical help department. Our technicians will be able
to solve most problems over the telephone.
Only AEM can authorize the return of this system after having
discussed your problem over the phone.
NOTE: AEM holds no responsibility for any engine damage that results from the misuse of this product!
This product is legal in California for racing vehicles only and should NEVER be used on public highways.
AEM EFI Basics
Version 1.3
Congratulations! You have just purchased the AEM Programmable Engine Management System (AEM
PEMS), the finest programmable engine management system on the market. The following information
details the features and operations of the AEM PEMS, as well as the engine requirements necessary to
successfully operate the AEM PEMS. To ensure proper use of this system and to prevent risk of damage
to your vehicle, you must read these instructions and understand them thoroughly before attempting to
program this unit.
In addition to comprehensive data acquisition, the system is capable of aiding in engine diagnosis by
allowing the tuner to perform cylinder balance testing by shutting off one injector or spark plug at a time
and recording the RPM change between cylinders.
The major advantage of Windows™-based software is that the user can utilize a mouse for quick data
entry; as opposed to the slow, cumbersome key entry method of a DOS based system. The software is
infinitely adjustable so that virtually any combination of engine control, power adder(s), and ancillary
device(s) can be programmed to maximize the potential of the vehicle. Furthermore, the AEM PEMS is
capable of accurately delivering the proper amount of fuel and correct ignition timing for any boost level
or possible operating condition.
The user of the AEM PEMS MUST have an excellent understanding of internal combustion engine in both
theory and operation. This includes not only the mechanical aspect of the engine, but it’s requirements in
terms of air/fuel ratio, ignition requirements, and mechanical limits. AEM provides conservative guidelines
for base ignition timing and recommended air/fuel ratios. We recommend that the ignition timing be set 5°
retarded from stock on a naturally aspirated engine and 10° retarded on turbo or nitrous oxide engines. It
is very beneficial to have a fast response air/fuel measurement system to get the best performance from
your engine. If a wide-band oxygen sensing system or UEGO system is not used, we recommend
starting even richer than the guidelines suggest.
Installation Requirements
The AEM PEMS will ONLY perform correctly on an engine that is in proper working order. It cannot
compensate for engine problems such as an improperly timed camshaft, poor compression or any other
mechanical problem. Please ensure that the engine is in good working order before installing this ECU.
The AEM PEMS must be located in a water-safe part of the car. It is important to place it where it will not
encounter temperatures in excess of 160° C. The preferred mounting location is in the interior of the car.
In the case where a PNP unit is used, the stock location is ideal. NEVER run the ignition wires, or any
high power wire in close proximity to the ECU as this may cause RFI or EMI problems. Only ignition
wires with a carbon core or “spiral wound” core should be used. Do NOT use metallic conductor wires.
ANY DEVIATION FROM THIS WILL RESULT IN IMPROPER OPERATION OF THE AEM PEMS.
Fuel cells are the best means of fuel storage because they eliminate the chance of fuel slosh by using a
foam liner that dampens the fuel travel. Fuel cells also have the fuel pick up placed in a position that is at
the lowest portion of the tank—or in the case of a drag racing car—in the rear of the tank where the fuel
shifts to during acceleration.
In either case, the tank must be vented to provide air for displaced fuel as the engine consumes it. The
tank must also have provisions for fuel return. It is important that the fuel return be placed as far away
from the pick up as possible to prevent foaming or bubbles at the inlet.
The way to determine the proper-size fuel pump is based on the desired brake specific fuel consumption
(BSFC) of the engine. This term refers to how much fuel in pounds per hour (pph) the engine consumes
per horsepower and is a measure of the efficiency of the engine. It is a useful term in determining the
total fuel requirement of the engine.
On vehicles equipped with forced induction or nitrous oxide, higher BSFC’s are required as an added
measure of safety to prevent detonation or high combustion chamber temperatures. Below is a guide of
BSFC’s with standard CR that AEM uses for various engines that run on gasoline:
Methanol (alcohol) powered engines require twice the amount of fuel so the BSFC’s are doubled.
Calculating the total fuel requirement of an engine requires simple equations that we outline in the
following section. You must know how much power the engine is anticipated to make and we
recommend that you guess on the high end. The fuel requirement will be determined in pounds per hour
of fuel flow. Since most pumps are rated in gallons/hour you must know the weight of your fuel/gallon.
(The vast majority of gasoline based fuels run at 7.25 lbs./gallon.)
• 500 hp gasoline engine using moderate boost with a 30% safety margin
• (500 x .625) x 1.30 = 406.25 lbs./hr.
• 406lbs/7.25 = 56 gallons/hour.
• If the pump that is being considered is rated in liters per hour, use the conversion factor of
3.785l/gallon. The pump described above would be rated at 56 gallons x 3.785 liters = 211.96
liters/hour.
In the fuel pump sizing, always use a safety margin greater than 20%.
Fuel Injectors
The AEM PEMS requires the use of “saturated” or high-impedance fuel injectors. If “Peak and Hold” or
low impedance injectors are to be used, an injector resistor must be used or you will damage the
ECU. Resistors can be purchased from AEM. The PNP version of the AEM PEMS is configured for the
stock injectors and no additional parts are required.
To determine the size of the injectors, the total engine power must be estimated or known. The fuel
pump calculations and BSFC information mentioned in the previous section provides a good
understanding of the fuel requirements for an engine. The following equation will allow you to determine
the requirements of your injectors:
• 6 CYL. engine rated at 500 hp on gasoline using moderate boost with a 15% safety margin on the
injector
• 500 x .625 = 313 lbs/6 = 52 lbs/hr/ injector. 52 x 1.15=60lbs/hr/ injector
If we take the flow of the injector (60 lbs/hr) and multiply it by the number of cylinders (6), we arrive at a
total of 360 lbs/hr of flow. As you can see, the fuel pump described above has enough capacity to feed
the engine with a little room to spare.
It is a good idea to know the maximum operating pressure of the fuel injectors. In some cases the fuel
injector will not open if the fuel pressure exceeds the design limit of the injector. Also, at the higher
pressures the injector fuel flow may become non-linear and cause inconsistent fuel delivery, usually
creating a lean condition. Most injectors can withstand up to 70 psi. Many of the pintle style injectors can
withstand higher pressure.
In the fuel injector sizing, always use a safety margin between 15-20%.
NEVER route fuel hoses through the interior of a car. Put bluntly, this is a dangerous thing to do.
Whenever possible, use a delivery tube to make the connection from the pump discharge to the filter in
the front of the car. The lines should be rated to withstand at least twice the maximum pressure of the
EFI system.
Using the above parameters of our sample engine with moderate boost, we expect to see pressures in
the 65-70 psi range. This will require a line with at least 140-psi rating (most AN hoses exceed this by a
large margin). When routing fuel lines, it is imperative that they are protected from road hazards and the
exhaust system. The fuel line should NEVER be routed near battery cables. Use clamps to secure AN
hose every 15 inches, or 24 inches if a rigid tube is used.
Methanol Engines
Up to 499 HP .437” hose -8 AN
The above table should be used for typical passenger car applications. However, for custom applications
the hose run length will affect fuel delivery. If you have a long hose run, then the actual flow will have to
be determined by running the fuel pump into a graduated cylinder, then measuring the flow vs. time and
calculating the flow in gallons per hour (g/h). Also note that if fuel banjos are used in the system be sure
they have adequate fuel flow capability.
The fuel return hoses should be one size smaller than the delivery hose. For the sample engine
described above, we would use a .437” (-8) delivery hose and a .344” (-6) return hose.
It is imperative that a pre-filter be mounted to the fuel pick up in the tank. These filters are very high
volume and create very little pressure drop. The use of a pre-filter ensures long fuel pump life and can
eliminate low flow conditions caused by debris entering the pump inlet.
The final link in the fuel delivery system is the fuel rail. The fuel rail should be consistent with, or larger
than, the hose size. The additional capacity of a large-diameter fuel rail helps to dampen the pulsations
created by the fuel injectors and ensures even fuel delivery under all conditions.
Currently, there are several types of fuel pressure regulators in use. Many late model cars use a return-
less system where the fuel pressure regulator is mounted in the fuel tank adjacent to the fuel pump (and
therefore requires no return line back to the fuel tank). In most naturally aspirated applications these
types of systems are adequate. With forced induction or heavily modified engines, an adjustable fuel
pressure regulator with manifold vacuum reference must be fitted.
The two common types of fuel pressure regulators used are non-adjustable and adjustable. As the name
implies, a non-adjustable regulator is set at a fixed value and is manifold-vacuum referenced (whenever a
regulator is said to be vacuum referenced, this means that the inlet manifold vacuum/pressure is ported
into the chamber above the regulator diaphragm).
As manifold pressure increases, the pressure in the top chamber of the pressure regulator increases
along with it, allowing the regulator to compensate for the increased demand of the fuel delivery system.
When the engine is running, the engine vacuum acts against the spring and the effect of the vacuum
diminishes as the throttle is opened. At idle, there is a high amount of fuel returned to the tank because
the vacuum is pulling the diaphragm seat off of the fuel return orifice, reducing fuel pressure. As the
throttle is opened, the diaphragm seat starts to close off the orifice, restricting the amount of fuel flow
through the return line.
An adjustable regulator allows the static pressure to be raised or lowered via an adjusting screw that acts
on the diaphragm spring. On most adjustable regulators, when the screw is turned in pressure raises
and when it is turned out pressure is reduced. Although we highly recommend installing a proper fuel
delivery system, raising or lowering fuel pressure can compensate for fuel injectors that may not be
properly sized for an application.
Most aftermarket fuel pressure regulators (and OE regulators) use a 1:1 ratio of fuel to boost pressure for
increasing fuel pressure in applications where forced induction is used. This means that for every psi of
boost, fuel pressure is increased one psi. This ensures adequate fuel delivery under boosted conditions.
Many vehicle manufacturers use a pulse dampener to reduce the pulsations in the fuel rail caused by the
opening and closing of the injectors (a dampener also reduces the noise of the injectors). In applications
where a new fuel system must be installed, a fuel pressure dampener is integral to ensuring consistent
fuel flow to the injectors. AEM fuel rails have a provision for a pulse dampener. The dampener assembly
part numbers are:
Before the fuel system is assemble in the vehicle inspect for debris and damages. Before the fuel system
is checked make sure to have a fire extinguisher near by in case of fire. After the fuel system is installed
you must inspect the integrity of the entire system. Begin by purging the lines. To do this, run the fuel
pump with the hose that connects to the fuel rail placed in a grounded container. This will eliminate any
debris left in hose during its manufacturing process. Inspect the fuel rail for cleanliness before starting the
engine. Make sure that the fuel pressure is set correctly for your application. Then, reattach all of the
hoses and run the fuel pump by switching the ignition to the “ON” position (DO NOT turn over the engine
at this time), and visually inspect all of the connections for fuel seepage or leaks. If any seepage or leaks
are present in the system, repair them before proceeding.
• Distributed spark using a single coil and a distributor for all cylinders.
• Wasted spark using one coil for two cylinders.
• Direct Fire using one coil on plug of each cylinder.
Distributed Spark
Distributed spark systems have been around the longest. As the name implies, the spark is distributed to
the plugs via a coil output to a rotor, then through the distributor cap to the appropriate plug via a high-
tension (HT) lead. This is the most complex system because of the relationship that has to be maintained
between the firing point, rotor to cap terminal angle, and engine position. Distributed spark systems also
rely on a mechanical link between the engine and ignition output, which adds another dimension of
unreliability-and to a minor extent-inaccuracy in timing. In addition to these problems, distributed spark
systems typically produce the least intense spark of all ignition systems. The time to achieve full charge
diminishes as engine speed increases; therefore the coil charge is reduced as a function of RPM. In spite
of the potential problems with distributed spark systems, they have been used successfully for many
years on high-performance engines. Distributed spark ignition systems respond well to spark
amplification within their design limits.
Wasted Spark
Wasted spark systems employ one coil for two cylinders. The term “wasted spark” comes from the fact
that each plug fires every engine revolution. On a 4-cycle engine, the piston is at Top Dead Center (TDC)
two times for every cycle; once for firing and again during the overlap phase. The wasted spark coil fires
one plug Before Top Dead center (BTDC) and another plug just before the overlap phase (at the latest
part of the exhaust stroke before the exhaust valve closes). Wasted spark systems have a higher
potential for spark intensity because the duty of charging and discharging is split between the coils, which
allows for more charge time per coil. Additionally, wasted spark systems build up less heat in the coil,
making it more reliable. Wasted spark systems have been in use since the mid 80’s on GM cars and on
motorcycles for considerably longer than that. There are no moving parts, no complicated relationships
with a cap and rotor to maintain, and they deliver very accurate spark timing. Furthermore, multi-channel
Direct Fire
Direct fire systems employ one coil on each spark plug and is the most reliable system used today, (this
type of system is used on most modern cars). Each coil fires sequentially in the cylinder firing order. The
charge time for each coil is twice as long as those of a wasted spark system, which allows direct-fire, coil
manufacturers to build compact, lightweight coils that retain sufficient spark energy. There are no moving
parts to wear out and no HT leads that will deteriorate. The lack of HT leads in direct fire systems is a
major advantage for an EFI-equipped car because there is a very low incidence of noise due to leaking or
improperly routed wires. There have been incidences of the terminal from a direct-fire coil (that attaches
to the spark plug) cracking and subsequently causing Radio Frequency Interference (RFI) or “noise” to
the ECU. This will cause engine operation problems, but it should be noted that these cases are
extremely rare.
We have found that in many instances where there is some type of misfire associated with high RPM, the
ignition system is at fault. The total ignition system must be in perfect working order to fire at the high
cylinder pressures commonly used in high performance or racing engines. The reference to “total”
ignition system refers to the point of signal generation to the ECU to the spark discharge at the spark
plug.
Noise
Misfire caused by “noise,” (commonly referred to as radio frequency interference {RFI}, or electro
magnetic interference {EMI}), is usually due to routing the input signal leads in close proximity of the HT
leads. Typically, spark plug wires cause RFI or primary ignition wires arcing to an engine component,
which causes a frequency that interferes with the ECU. Routing two wires that carry high current parallel
to each other cause EMI. The strength of current necessary to incur “noise” is dependent on the
sensitivity of the device the wires are connected to. A common preventative measure for eliminating
“noise” is to twist the wires together to minimize the electromagnetic field near the wires.
On any EFI system, resistive spark plug leads are REQUIRED to suppress noise!
Common resistive spark plug leads include those with a carbon impregnated fiberglass core or spiral
wound filament around a carbon core wire.
Another source of noise that can cause a misfire is an electrical “leak” in a plug wire or boot. Even a very
small pinhole in a spark plug insulator or boot will allow electricity to arc to the cylinder head and interfere
with the ECU signal.
The color or condition of the spark plug is a general indicator of how rich or lean the engine is running and
also if the engine is exhibiting signs of detonation if it is not audible. This is a plug color chart (supplied
courtesy of Denso) of plug conditions.
The following tuning adjustments can be performed on an engine to reduce or eliminate knocking:
Preignition
Preignition is the ignition of the charge in the combustion chamber before the spark occurs. This type of
ignition is caused by a very hot, or even incandescent surface in the combustion chamber. These “hot
spots” can be an overheated spark plug, a glowing remnant of carbon in the chamber or even a hot
exhaust valve edge. The preignition condition flame front rapidly expands while the piston is still on its
way up the bore. Due to the very high pressure generated by the expanding flame front and the piston
approaching TDC, the combustion chamber pressure rises rapidly causing audible knocking. Detonation
These are only a few items that the AEM PEMS can operate. Virtually any device that needs to be
switched on or off in accordance with a given set of vehicle parameters is controllable with the AEM
PEMS. Additionally, any device that requires a pulse-width-modulated output can be used with the AEM
PEMS.
In the event that all of the injector drives are not utilized, the remaining ones can be employed to perform
duty-cycled functions. Refer to Appendix A for a full list of features of the AEM PEMS.
To eliminate or reduce the chance of EMI, wires that carry high current must run in twisted pairs. An
example of this would be the power leads from a multiple spark ignition system. These ignition systems
can carry up to 100 amps for a couple milliseconds at the time of discharge, which induces a strong
magnetic field in close proximity of the wires.
The routing of the wire loom is critical to EFI system performance and safety. The following safety
considerations should be made when installing the wire loom:
• Heat protection: the loom should be placed away from or insulated from sources of heat. The
obvious item(s) that should be avoided are the exhaust manifolds, EGR delivery tubes, and
turbochargers. If it is absolutely necessary to route a wire in close proximity to any of these
items, then a suitable insulator must be used.
Grounding
The ECU must have an electrically secure ground connection, which means that the battery negative
must be properly grounded to the chassis AND engine. The ground wire, weather it is from the battery or
to the chassis and engine, must have perfect electrical conductivity. This means that there must not be
any paint or rust under the wire terminal. Make sure that when you install the ground wire there is bare
metal exposed where the wire contacts the vehicle component. To prevent rust build up, we recommend
applying a protective layer of dielectric grease, such as Standard Ignition SL-4, to the bare metal surface.
The ground wire must be at least the same gauge as the power lead to the ECU. We also recommend
that the ground wire be as short as possible.
The AEM PEMS must have two sources of 12V power. One power source is continuous to the ECU; the
other is switched 12V power. The AEM PEMS wire harness comes with a relay that is activated by the
ignition switch to power up the ECU. The wire size for the lead to the relay is 14 gauge. In the event that
the ECU must be removed from the vehicle, the memory for the microprocessor will NOT be lost. The
reason for a continuous 12V supply of electricity to the ECU is to retain logged data until it is downloaded
from the ECU. Should you choose to cut power off to the ECU completely, the same relay that is used to
power up the ECU from the ignition switch can be used by connecting the ECU 12V continuous power
lead to terminal 87 of the relay.
• Fuel Pump
• Variable Valve Control
• Oxygen Sensor Heater
• ECU power
• Nitrous Oxide solenoids
Noise can be caused by the electric motor in a fuel pump, which if connected directly to the ECU, may
feed back into the circuit board ground plane. In the case of a fuel pump, the typical amperage required
to run the pump is 10A or more depending on its size. The driver in the ECU that sends the command to
run the fuel pump is only capable of supplying 1.5A, and clearly this type of load on the driver would
cause it to burn out. There are drivers that can handle larger currents but cost, size, heat dissipation, and
noise problems prevent their use.
• Typical relays in use today are capable of carrying 40A. A relay has an electromagnet inside it
that is used as a switch. This electromagnet, or switch, is used to position a contact within the
relay that is capable of carrying high current. There are typically four or five terminals on the
Plastic terminal plugs must have moisture tight seals. Inspect each plug to make sure the seals are in
place. Also, before the plug is installed on the sensor, apply a dab of di-electric grease in the terminal
slots to further aid in corrosion resistance.
If a splice into a wire must be made and no solder-less terminals are available, then you must properly
solder the splice.
It is extremely important to make sure that all wires are in their proper locations. Easy-to-read schematic
for easy identification of wire assignments. If you are not sure of how a wire set is assigned for a given
terminal, do NOT guess. Damage may occur to the ECU if any wires are crossed.
The TPS is also used to determine if the vehicle is idling. When the throttle is at rest, the vehicle is
considered to be either idling or under heavy deceleration, and the fuel and ignition calibrations are
adjusted for optimum idle characteristics. The TPS can be used as a calibration input if the AEM PEMS is
The TPS has three leads: 5V+ into the TPS, a return to the ECU based upon the resistance of the TPS,
and a ground. You will have to scale the TPS the first time you start your engine with the AEM PEMS
installed. This is done by turning the ignition on and going to the Options screen. There will be two
selections in the dropdown box called TPS Min and TPS Max. Select the TPS Min box and WITHOUT
touching the throttle, simply hit the enter key on your computer. Next select the TPS Max box, push the
throttle all the way to the floor and hit enter. The TPS is now calibrated for its full range of motion.
While on the subject of throttle opening we must caution you to make sure that full throttle is achieved by
having someone verify that the throttle blade is opening fully and up against the stop on the throttle body
while you depress the throttle. Also, make sure that nothing interferes with the full range of the throttle
opening, such as a floor mat.
Realistically, there is no such thing as “manifold vacuum,” just low manifold pressure. The average air
pressure exerted on Earth under standard conditions is 14.7 psi or 101.325 kilopascals (kpa). An engine
ingests air by creating a differential of pressure across the engine via the movement of the pistons in their
bores. When a piston moves down the bore, pressure in the bore is reduced. When the inlet valve
opens, the awaiting relative higher-pressure air above the inlet valve enters the chamber and fills the void
caused by the motion of the piston in the bore. On an engine without a means of forcing air into the
engine, the most this pressure can be is whatever the atmospheric pressure of the day is. At sea level
the average pressure is 14.7 psi.
It is common to refer to low manifold pressure as vacuum, which is how we will refer to low pressure for
the purposes of this discussion. Pressure is measured in two ways: one is absolute pressure, and the
other is gauge pressure. The difference between these is where the zero point of each scale starts. With
absolute pressure, zero is a complete void of all pressure. With the more common gauge pressure, zero
is at standard atmospheric pressure (14.7 psi). Anything below 14.7 psi is referred to as vacuum and
anything above that is referred to as boost or positive pressure.
Closed or very small throttle angles are associated with low manifold pressure (a vacuum on the gauge
measuring style), and large throttle angles or full throttle is considered high manifold pressure (0 on the
gauge measuring style).
Typical boost or vacuum gauges used in automotive applications use the gauge type of readout.
In automotive engineering, the absolute method of measuring pressure is used. To illustrate the
different ways to read manifold pressure refer to the accompanying chart.
A MAP sensor reads in absolute pressure, just like the name implies. The amount of pressure indicated
by the sensor depends on the amount of voltage feedback delivered to the ECU. As the throttle is
opened and closed, or boost is built up in the manifold, the sensor reacts to the changing pressure and
outputs a voltage signal to the ECU based on the given pressure.
The MAP sensor has three leads: 5V+ into the MAP sensor, a return to the ECU based upon the
resistance of the MAP sensor, and a ground. A MAP sensor MUST have a hose routed to it from the inlet
manifold in order to read manifold pressure and it MUST receive a constant pressure signal to it at all
times. If the pressure signal fluctuates, the calibration will be adversely affected because the fuel and
ignition values will cycle with the MAP signal.
To avoid varying MAP signals, the pressure line must be connected to the intake plenum. In the case of
individual runner manifolds, TPS-based mapping is best.
If a MAP sensor is used for boost compensation or load sensitive ignition timing, an accumulator must be
used. An accumulator is a common closed container that has a hose from each runner routed to it. An
accumulator dampens the pulsing commonly found in this type of manifold set up, which will aid in the
delivery of a steady MAP signal (A fuel pressure regulator can have its pressure source routed to an
accumulator for the same reasons).
The AEM PEMS has a variety of MAP sensor ranges to suit everything from naturally aspirated engines,
to forced induction engines up to whatever boost can be generated by the turbo or supercharger(s).
O2 (Oxygen) Sensors
There are many types of O2 sensors that are employed by vehicle manufacturers, and it is well beyond
the scope of this manual to describe all of them. An O2 sensor provides a reading of the air/fuel ratio
(AFR) to the ECU so that it can make the necessary fuel calibration corrections to achieve a desired Air
Fuel Ratio (AFR).
An O2 sensor works by sensing whether there is an abundance or lack of oxygen in the exhaust gases,
depending on whether the gas mixture is too rich or too lean. If there is excess oxygen and the mixture is
too lean, output voltage from the O2 sensor to the ECU will be high. The ECU may then compensate by
adding fuel. The converse is true of rich mixtures.
The typical working voltage for most O2 sensors is 200mv to 850mv. The AEM PEMS has a menu of the
most common O2 sensors used and it requires that you enter the type of O2 sensor used for your engine.
Keep in mind that because 3- and 4-wire O2 sensors respond primarily to stoichiometric AFR, they are
less accurate than UEGO sensors for calibration purposes. If this is the only sensor available to you, we
recommend that the calibration be done using a lab-type AFR meter, such as the Horiba Mexa 700.
Once the calibration is completed, a narrow band O2 sensor can be used to regulate the AFR at idle and
part throttle.
There are wide-band, four-wire O2 sensors that have the capability of accurately measuring AFRs. The
most common one is used on the Porsche Carrera 4 and is a Bosch unit (part number 0.258.104.002).
This sensor is compatible with the AEM PEMS and can be used for calibration purposes.
The most desirable O2 sensor for calibration use is the NTK Universal Exhaust Gas Oxygen (UEGO)
sensor. It is a very accurate, fast responding sensor that reads well beyond each side of the
stoichiometric ratio. It is a 7-wire sensor that uses a resistor to calibrate its output and has 5 or 6 wires
returning to the ECU. The additional wire in the case of a 6-wire unit is a redundant ground wire. The
AEM PEMS is also compatible with this type of sensor and it is required for the “auto map” mode of AFR
tuning. The Horiba Mexa 700 uses this type of sensor because of its wide response range.
The following is a chart of typical AFRs. Note that every engine is different and this may not be the
optimum set up for your particular vehicle. The AFRs on this chart are very conservative to minimize
the potential for engine damage. These AFRs depend on the condition that ignition timing and fuel
octane are adequate enough to prevent knocking. The very low loads found in the lower right corner
occur during deceleration, and because there is no “work” being done by the engine, AFRs during
deceleration can be very lean. We have seen AFRs of 20.0:1 during deceleration runs.
Although Lambda is the term most often used when working with O2 sensors, we will use AFR in this
manual because it is the most common term used when referring to internal combustion engines. The
following is a chart for converting Lambda values to AFRs.
The CLT provides the ECU with engine temp information. The AEM PEMS modifies the base fuel
calibration during start and warm up based on the CLT input. In addition to adding fuel, a CLT can signal
to the ECU to modify ignition timing at varying engine temps for optimum performance. On racecars,
ignition timing is typically advanced during warm up to heat the engine faster. Racecars use an ignition
based warm up because usually idle speed motors are not used. On streetcars, where clean emissions
are important, we reduce timing based on CLT input to light the catalytic converter(s) off sooner.
Another use for CLT sensor input is to increase fuel delivery to the engine if the coolant temperature
exceeds a limit defined by the tuner. The additional fuel in many cases can help cool the engine.
Manifold Air Temp Sensor (MAT) &Inlet Air Temp Sensor (IAT)
Manifold Air Temp Sensors (MAT) and Inlet Air Temp Sensors (IAT) are variable resistance thermistors
that send a return voltage signal back to the ECU based on the inlet air temp either in the inlet manifold or
in the inlet duct to the throttle body (The ECU outputs a +5V power to the sensor and the return voltage is
based on the resistance of the sensor). These sensors can also be used as auxiliary temp sensors for
any air temp measurement, such as intercooler inlet and outlet temps.
The AEM PEMS is compatible with virtually all MAT & IAT sensors. Based on the inlet air temp readings
provided by an MAT or IAT, an ECU can add or subtract fuel or ignition timing depending the given
conditions. For example, a typical use for an MAT sensor is to change the ignition timing and fueling of
an engine based on inlet air temp. This is particularly useful on forced induction engines where inlet air
With the AEM PEMS however, it is possible to have two calibrations for the same car. A typical example
is a forced-induction engine that uses a low boost setting for street and daily driving and on weekends is
raced with a high boost setting and unleaded race fuel. With the AEM PEMS, a tuner can make
calibrations to suit both of these conditions that can be easily loaded into the ECU at a legal off-road
racing venue.
There are several unleaded race fuels that have octane levels necessary to perform calibration work. We
use an ELF product called TR-4 that is unleaded and supports over 30-psi of boost. Unocal also makes a
very good unleaded race fuel that can support high boost.
When performing calibration work, especially on a dyno under boosted conditions or when using nitrous
oxide, high-octane racing gas is required. The use of high-octane fuel helps prevent serious engine
damage from severe knocking under heavy load. Because the loading on an engine while performing
dyno testing is usually higher than in actual use, lower-octane fuel MAY be used for normal driving. The
exception to this is in racing applications because of the severe heat and loads imposed on the engine.
ENGINE MODIFICATIONS
Before calibration work is to be performed on any engine, find out as much as possible about the engine’s
critical parameters. These include the engine’s compression ratio, the strength of the internal
components, the history of the engine, etc. You may also extend or reduce the engine’s rpm limit
depending on its condition. An engine set up may include power enhancers such as Nitrous Oxide,
Forced Induction, racing cams and/or extensive internal modifications. Tuning parameters will be
different for each of these modifications. With racing engines, in many cases the type of calibration setup
will be dictated by the manifold and throttle body design employed by the tuner. For example, an engine
that uses an individual runner (IR) manifold would likely use a TPS-based fuel map with a load-based
ignition map, or a TPS-based ignition map with load compensation. This mapping combination for IR
manifolds is very responsive and we highly recommend it. This combination, however, would not work on
a forced-induction engine because of the lack of boost compensation with respect to fuel delivery. We
have set up turbocharged drag racing cars with TPS-based fuel and ignition mapping and boost
compensation for both, however on a road car this is not desirable because the vehicle will encounter
various terrain changes that are better suited to load- based mapping.
Remove the distributor cap and note the position of the rotor relative to the cap #1 terminal. If the rotor is
adjacent to the #1 terminal, then verify the order in which the HT leads are installed onto the cap. They
should follow the firing order in the direction of rotation of the rotor.
For wasted spark systems, this procedure is much easier. The coil assignment for each plug is in the
order in which the coil fires.
The AEM Race PEMS is capable of firing up to five coils in wasted spark configuration for running up to
10 cylinders. The ECU fires the coils in the sequence of a designated firing order. To determine which
HT leads to assign to each coil, write down the number of coils and give them a letter designation. As an
example, we will use an inline six-cylinder engine with a firing order of 153624. There should be three
coils labeled A, B and C to fire the plugs. If the coils are fired in an ascending A, B, C sequence, follow
the firing order on the coils.
V-8 Engines
Chevrolet and Chrysler SB, & BB
1–8–4–3–6–5–7–2 1&6 5&8 4&7 2&3
Ford SB & FE
1–5–4–2–6–3–7–8 1&6 3&5 4&7 2&8
The AEM PEMS is also capable of running up to 5-cylinder, direct-fire ignition systems. The sequencing
of these is straightforward; simply install the coils, or leads from the coils, in order to the plugs. The
software in the ECU will fire the coils in the firing order entered by the tuner.
Have someone crank the engine over and listen to the injectors using a mechanics stethoscope.
Depending on the type of injector, the sound they make when opening and closing may be audible
without a stethoscope. Never use a DVOM to check the injector circuit. There is a tool available called a
“noid” that plugs into the injector harness and verifies that current is reaching the injector from the ECU by
pulsing an LED light.
The fuel parameters required to start the engine on a racecar can easily be adjusted. However,
determining how rich or lean to make the fuel delivery at start up is a delicate process. We recommend
that small steps be taken when performing start-up and warm-up calibrations. One of the most common
fuelling problems at start up is that too much fuel will foul the spark plugs making the engine difficult, if not
impossible, to start. If your engine will not start although it is cranking, remove the spark plugs and
inspect their condition. Do not crank the engine excessively. If there is a no start condition, determine if
Vehicles that use a wasted spark system must be timed with a distributor less ignition system adaptor.
This is available from Snap On tools part number MT-255. Without this device the engine timing cannot
accurately be established and the calibration is invalid.
Engine Calibration
Proceed with this section ONLY if the ignition timing has been verified.
It is essential that extreme caution be exercised in the initial set up of the fuel and ignition tables for the
first use. We recommend very conservative settings for fuel and ignition. This means that a rich mixture
is used for initial tuning and the ignition timing is at least 5° retarded from the factory ignition timing. In
the case of turbocharged, supercharged of Nitrous Oxide systems, you should start with 10° retarded
from the stock timing.
In the case of high power, the mixture value is somewhat below stoichiometric (λ ≈ 0.9 to 0.95). For best
catalytic converter performance and fuel economy, the mixture is at stoichiometric or higher (λ ≈ 1.0 to
1.1). During idling, the optimum AFR is the one where the least amount of fuel is consumed provided the
engine fires steadily and reliably. Running the engine at or near the stoichiometric ratio at idle increases
the potential for misfire. Consequently, a typical AFR at idle is usually around 1.2 to 1.5 times
stoichiometric.
Operational conditions that influence the AFR include engine temperature, variable valve timing, or an
acceleration/deceleration period. The AEM PEMS is able to address all of the factors that influence the
engine’s ability to run by applying enrichment factors to the base calibration. The 3D fuel and ignition
mapping software supplied with the AEM PEMS allows for precise calibration of all operational points of
the engine. The addition of modifiers (discussed below) to the base calibration compensates for the
varied operational conditions of an engine.
The additional fuel required for both cold and warm start up is addressed in the “start/warm up” menu.
There are four parameters that can be adjusted: “Crank Fuel”, “Crank Pulse”, “Start Extra” and “Start
Decay”. These parameters are discussed in detail below.
Crank Fuel
Crank Fuel is a fixed amount of fuel used during cranking that is injected into the engine. This is a throttle
position vs. VE value that does NOT come from the main fuel map. Rather, it is an assigned raw fuel
value used only during cranking. Once the engine exceeds the minimum cranking speed, the value
jumps to the main fuel map.
• Increased quenching of the flame front on the cold combustion chamber walls
• Unfavorable mixture distribution due to high wall film deposits caused by the cold port walls and
valve face
• Reduced fuel vaporization due to cold inlet air temperatures
These factors have to be counterbalanced by having a richer than normal mixture during the warm up
phase of engine operation.
There are two parameters in the AEM PEMS software used to maintain smooth operation during the
warm up phase: “Warm Up” and “Air Comp Table”. Both of these parameters are temperature vs.
One often-overlooked strategy of using engine temp vs. enrichment is to introduce additional fuel
when the engine exceeds a high operating temperature. This will help cool the engine down and
possibly prevent damage due to overheating. The Air Comp Table can also add OR subtract fuel from
the calibration based on inlet air temp. When inlet air is very cold there is a possibility of poor
vaporization, and it may be desirable to enrich the mixture even if the engine is at operating temperature.
However, this is dependent on the amount of heat that is added to the air stream after the air inlet. The
Air Comp Table is also used to lean the engine out if inlet air temp is very high since the reduced charge
density from the high inlet temp requires less fuel to combust.
The amount of enrichment required is largely dependent on the design of the inlet tract and placement of
the injectors. Enrichment for systems where the injectors are placed far from the inlet valves will have to
be higher than if the injectors are placed near the inlet valves. This is because when the injectors are far
from the inlet valves, such as on throttle body systems, there is considerable manifold wall wetting.
At low manifold pressures (commonly high manifold vacuum), fuel tends to stay in the air stream in a
vapor-like state and has relatively low wetting characteristics. The reason the wetting is lower at high
vacuum is because the pressure in the inlet manifold is closer to the vapor pressure of the fuel, allowing
the fuel to evaporate more readily (This is the same phenomenon that makes water boil at a lower
temperature at higher altitudes than at sea level).
As the throttle opens, manifold pressure increases (vacuum decreases), which increases the pressure on
the fuel vapor driving it to a more liquid state. This causes droplets of fuel to deposit on the manifold
walls and come out of the air stream. When the air speed in the inlet manifold increases to a point where
the liquid fuel on the manifold walls is reintroduced into the air stream, there is no need for additional
fueling and acceleration fuel is shut off.
With most modern road cars the injectors are placed near the inlet valves so that manifold wall wetting is
virtually eliminated. With the elimination of wetting comes the drastic reduction of acceleration fuel
requirement. This configuration of fuel injector needs short duration and a small amount of fuel for
acceleration enrichment.
The prime input for acceleration data for the ECU is the throttle position sensor (TPS). A secondary input
for acceleration data is the MAP sensor. The TPS indicates the rate of change of the throttle plate to the
ECU so that it can calculate the amount of fuel in both volume (additional pulse width) and time (duration
of additional pulse width). Very rapid throttle movements usually require a short duration of a large
amount of fuel, while slow throttle changes use minimal amounts of additional fuel over a longer period.
On cars that employ forced induction, a MAP-based acceleration fuel scheme is recommended. This is
usually done with heavy vehicles or vehicles that experience very high loads. The rate of MAP change
and MAP value can be used to provide additional fuel if necessary. An example of this type of
acceleration fueling is a turbocharged engine that is used to pull a heavy load. A small opening of the
throttle will cause a significant boost increase if the turbocharger is small. The TPS, because of the small
throttle angle increase, does not provide accurate airflow information to the ECU. If there is a MAP-based
acceleration parameter in the calibration, then the additional air supplied by the turbo can be
accommodated.
The AEM PEMS can be programmed to turn off or nearly turn off the fuel injectors during periods of
deceleration. This eliminates after burning in the exhaust manifold, and reduces hydrocarbon emissions.
There is a range of RPM and manifold pressure that must be defined by the programmer to turn off the
fuel. The RPM defined usually has a lower limit of idle speed plus 300 RPM. The manifold pressure is
usually idle pressure minus 15 kpa. There is the possibility that a load value of idle – 15 kpa can be
achieved during sustained running, but the throttle angle decrease must be sensed by the ECU to
activate deceleration fuel cut. (Click here to see accel and decel fuel parameters set).
In most automotive engines the inlet valve opens (IO) slightly before TDC (BTDC) and closes (IC) after
BDC (ABDC). The exhaust valve opens (EO) before BDC (BBDC) and closes (EC) after TDC (ATDC). It
is a good idea to have information on the valve train operation of your engine. If this information is not
available, keep in mind that most engines have an IO in the range of 25-5 degrees and an IC of 40-60
degrees ABDC. The typical exhaust timing would be EC at 5-25 degrees ATDC and EO of 60-40 BBDC.
For our discussion on injector timing we will use an inlet valve-opening event of 10 degrees BTDC and an
exhaust closing event of 10 ATDC.
During the initial inlet valve opening, the exhaust valve remains slightly open while the exhaust cycle is
completed. This valve sequence is referred to as “valve overlap.” During the overlap period the inlet
valve remains at high pressure until the exhaust valve closes, creating a momentary backflow into the
inlet port. Backflow is more prevalent under low manifold pressure (vacuum) conditions because of the
significantly lower pressure in the manifold, compared to the positive pressure created by the end of the
exhaust stroke. As throttle is opened, backflow decreases because the differential of pressure is reduced
and the higher-velocity inlet air mitigates the backflow to a large extent.
The AEM PEMS calculates the injector timing relative to the TDC SPARK EVENT, which is 180 degrees
+ timing prior to the TDC overlap event. Because of this relationship, you MUST ADD 180 to the desired
injection firing time.
• (180-10)+180=350.
We must emphasize that there are many variables that influence backflow at the inlet valve. The
method of calculating the injector firing event described here is an excellent starting point, but we
recommend that performance testing is performed for optimal injector timing. The parameters to observe
are: Hc count, power, and BSFC. Of course, the lowest Hc and BSFC with the highest power is the most
desirable combination.
As engine speed increases, there is less time to inject the fuel into the engine. This is especially true for
high throttle angles, because of the respective high injector duty cycles that accompanies full throttle
operation.
High injector duty cycle referrers to the amount of time required to inject sufficient fuel into the engine
relative to engine speed. Consider that at 6000 RPM an engine has 10 milliseconds (Ms) to complete a
revolution (360° rotation) and 20 Ms to complete one cycle (2 complete revolutions). This means that the
injector cannot be open more than 20 Ms at 6000 RPM. If the injector needs to be open 20 Ms to provide
adequate fuel to the engine, then the duty cycle in this example would be 100%. This condition is known
as having the injector go static, which means that it remains fully open with no closing time between
injections. At this point there is no appreciable fuel control via the ECU, and the amount of fuel quantity
delivered is controlled by the fuel pressure and static flow of the injector.
Getting back to fuel injector timing and delivery, if the cam has 270° duration on the inlet lobe, then it
takes 7.5 Ms for the valve to open and close at 6000 RPM. As we stated earlier, the time to inject fuel
diminishes as engine speed increases. This means that we have to start the fuel injection event sooner
as engine speed increases, and eventually there is not going to be enough time to fully inject the fuel into
the combustion chamber. At this point the injector will begin to deposit fuel on the backside of the inlet
valve, which will be consumed on the next cycle for the given cylinder. The air speed at this point is great
enough that there is shearing action on the wetted surface of the valve seat/head, and with the high flow
of air fuel atomization occurs.
On our example engine, with the throttle angle and engine speed low, we would start with an injector
opening around 10° BTDC. Although this may seem like an early time to activate the injector when
compared to the EC event, when you consider the distance to the valve head, the time it takes the
injector to react to the ECU command and the time necessary for the ECU to output the opening signal,
the exhaust valve is closed. As engine speed increases with larger throttle angles and higher flow rates,
fuel injection timing must occur earlier. If injection timing is too late during high flow rates, the charge of
fuel will travel through the open valves during the overlap event and be sent out the exhaust valves and
As an example, if the engine is at 3000 RPM at 50 Kpa manifold pressure, and the injection pulse width is
at 4.6Ms on a warmed up engine at a steady state, then no modifiers would be in use.
The main fuel map can be viewed as a 3D graph and as a table of values. The table can be displayed in
duty cycle, pulse width, or raw numbers. The manipulation of data in the fuel map is very easy. To
modify the main fuel map, simply highlight the area that needs to be manipulated and then right click for a
drop down menu of data manipulation choices. Then, choose the appropriate choice for the task that
needs to be accomplished. Because the AEM PEMS is a Windows based system, you can even copy
values of different maps and paste them onto other programs.
Boost Compensation
When setting up the ignition map, the compression ratio, fuel type, vehicle type and vehicle weight must
be considered. If you are unfamiliar with setting up the ignition map, please refer to the discussion on
these factors and their implications on ignition timing in the previous section.
On cars that have to meet emission standards, the opposite scheme can be used to light off the catalytic
converter(s) quickly. Retarded ignition timing has late burning characteristics and provides more heat to
the exhaust stream. This can be used to light off the cat(s) when the engine is cold.
Ignition Acceleration
The AEM PEMS includes a function called ignition acceleration, in which ignition timing can be used to
enhance light throttle drive off. This function includes a 2D map for ignition advance vs. time in seconds
and a TPS setting that can be enabled for initial drive off or left on all of the time. The 2D map constrains
timing to a maximum of 10° timing increase for a maximum of 5 seconds. The value can be added at
drive off (tip in of the throttle) by selecting the TPS voltage range to activate the ignition advance, or by
selecting “continuous” ignition accel. If either of these functions are enabled, timing will be altered every
time the TPS’s rate of change value is met or exceeded (The rate of change is a volts/second of travel
selected by the tuner). The higher the voltage number, the LESS sensitive the TPS will be for this
function.
At low manifold pressure the flame front is slower due to the low density of mixture in the combustion
chamber. Because peak manifold pressure is optimal at 15-20 degrees ATDC and the burn rate is slower
at very low manifold pressure, the ignition point must be started earlier. The main ignition map typically
has high ignition timing values during times of low manifold pressure and high RPM, which gradually
decreases at load increases.
As the throttle is opened, the density of the mixture increases and the flame propagation increases in
speed. The timing must be reduced as load and RPM increase to keep the peak pressure at
approximately the same point and reduce the chances of knocking.
With forced induction engines, the burn rate increases as charge density is increased. In this example,
timing must be reduced because of the faster burn rate, and to further reduce the chances of knocking.
On forced induction engines, the inlet charge temperature is elevated because of the heat generated by
compressing the air. Utilizing an intercooler or after-cooling system usually helps reduce the inlet charge
temperature. But in many cases this still will not bring the inlet charge down to ambient temperature,
making the engine more susceptible to knocking.
Remove the spark plugs each time the timing is increased to a higher value and check for signs of
detonation. The spark plug is the best indicator of what is happening in the engine because it is such an
The combustion chamber plays an important role in the amount of ignition timing that can be used for the
various operational phases of an engine. The most common type of combustion chamber design used in
contemporary engines is a four-valve/cylinder, pent roof chamber. There are many other types of
combustion chambers, such as a wedge, hemispherical, and canted valve, to name a few. Ideally, it is
best to initiate flame propagation at the geometric center of the chamber. However, this is typically
impossible to do because the spark plug is usually located at the top or edge of the combustion chamber.
The reason it is desirable to have the flame front start at the geometric center of the combustion chamber
is because there is less chance of autoignition of the mixture.
A pent roof combustion chamber places the spark plug near the center of the combustion chamber.
Wedge combustion chambers are the most sensitive to spark knock because of the distance the flame
front must travel within the bore prior to the power stroke.
When ignition occurs, a flame kernel starts at the spark plug electrode and expands across the
combustion chamber. As the front progresses across the chamber, the hot expanding gas compresses
and heats the end gasses and mixture at the opposite end of the chamber. If the pressure, and
consequently temperature, inside the chamber increases beyond the flash point of the end gas,
autoignition occurs. Because the pent roof type of chamber has a spark plug that is nearer to the
geometric center of the chamber, the flame travels more evenly across the combustion chamber, leaving
very little end gas that can be compressed or ignited by the advancing flame front. Thanks to the short
distance the flame front has to travel in pent roof type chambers, ignition timing usually does not have to
be as advanced as much as a wedge type chamber, to achieve maximum torque. We find that there is
usually about five to eight degrees less timing required for pent roof combustion chambers than for wedge
types.
Charge motion, which is comprised of intake swirl and squish; increase combustion speed when
compared to a standard combustion chamber. The combination of these factors increases the mean
effective pressure (MEP), lowers fuel consumption, and delivers smaller cycle-to-cycle variations at full
throttle operation.
In addition to the performance benefit of effective charge motion, the resulting factors reduce Hc
emissions, with a slightly increased NOx component. At partial load the benefits of charge motion vs. a
standard combustion chamber are similar, but due to the decrease in density of the intake charge, not
very.
The combination of swirl and squish is greater than either squish or swirl alone. Swirl improves mixture
preparation and is mostly responsible for reducing ignition delay and cycle-to-cycle variations. Swirl is
accomplished through the inlet port design or by using shrouded valves in the combustion chamber. As
engine speed increases, the swirl motion increases along with it. Cycle-to-cycle variations decrease with
increasing swirl action.
Squish is accomplished via a small gap between the head deck and the piston top. The decrease of this
gap drives the inlet charge toward the spark plug electrode. An additional benefit of having this small gap
is the reduction of end gas volume at the extreme edges of the cylinder. This reduces the tendency for
spark knock and leads to a reduction of Hc emissions.
Cycle-to-cycle variation refers to a situation where an engine operates on the threshold of knocking or
detonation throughout the engine cycles and is based on the average peak pressure of all of the cycles.
The cycles with lower peak pressures may not be prone to detonation, while those with higher peak
pressures may detonate with increasing intensity as peak pressure increases. Increasing this cyclic
variation will increase the number of cycles that detonate, and decreasing the number leads to less cycles
that detonate.
As compression ratio increases the requirement for charge motion in the chamber is reduced. Engines
that have high compression ratios generally require reduced ignition timing requirements due to the
increased flame speed. The design of the combustion chamber in a high compression engine is
necessarily small. The compactness of the chamber imparts its own charge motion and squish into the
mixture.
We have included some sample ignition timing maps for gasoline engines that are typical for use on a
street car. These examples include a naturally aspirated engine, forced-induction engine, and a high-
compression engine. These are conservative samples that should be used as a starting point only.
The tuner of the engine must use good judgment when selecting the appropriate timing map for the
engine.
Depending on the preferences of the engine tuner or builder, there are several ways to limit engine
speed. These include fuel cut, ignition cut, or fuel and ignition cut. With this function, a two-step limiting
strategy can be used for drag racing applications. This set up uses a clutch-activated switch to detect
when the clutch pedal is depressed and limits the engine to a secondary RPM that is defined by the user.
At the starting line, the engine is held to that RPM until the clutch is released. Upon release of the clutch,
the primary RPM setting is used for the RPM limit function.
Boost Control
On turbocharged engines, a means of controlling the boost into the engine is absolutely necessary. The
AEM PEMS has a sophisticated, yet easy to use, boost control function. It utilizes a Delco boost control
solenoid to control the waste gate on the engine. The engine’s boost levels can be controlled at all
operational phases of the engine.
Setting engine idle speed is accomplished by programming the fuel mixture and ignition timing to obtain
the leanest, smoothest idle characteristics with NO idle controls activated. The idle controls can either be
controlled with ignition timing or driven by an idle speed control device. The only incoming air used to
sustain idle must come through the throttle body for this step. The throttle body set screw, or an air
bypass screw controls this.
Once smooth idle is achieved, reset the TPS. Activate the ignition idle speed control via the options
menu. Turn on the headlights and check the idle speed. Adjust the ignition timing idle speed to
compensate for any RPM fluctuation that occurs with the headlights on. The reason we set the idle
speed with the headlights on is because the load at idle with them on is minimal, and timing correction
usually does the job of keeping the idle speed consistent.
Next, activate the idle speed device. Turn on the air conditioner, and if the car has an automatic
transmission, put it in gear (BE SURE TO SET THE PARKING BRAKE BEFORE YOU PUT THE CAR IN
GEAR)! Adjust the idle speed device to compensate for any fluctuations in idle speed.