All Topics  
Engine Control Unit

 

   Email Print
   Bookmark   Link






 

Engine Control Unit



 
 
An engine control unit (ECU) is an electronic control unit
Electronic control unit

In automotive electronics, an electronic control unit , also called a control unit, or control module, is an embedded system that controls one or more of the electrical systems or subsystems in a vehicle....
 which controls various aspects of an internal combustion engine
Internal combustion engine

The internal combustion engine is an engine in which the combustion of a fuel occurs in a combustion chamber inside and integral to the engine. In an internal combustion engine it is always the expansion of the high temperature and pressure gases that are produced by the combustion which apply force to the movable component of the engine, such as...
's operation. The simplest ECUs control only the quantity of fuel injected into each cylinder each engine cycle. More advanced ECUs found on most modern cars also control the ignition timing
Ignition timing

Ignition timing, in a spark ignition internal combustion engine, is the process of setting the time that a spark will occur in the combustion chamber relative to piston position and crankshaft angular velocity....
, variable valve timing
Variable valve timing

Variable valve timing, or VVT, is a generic term for an automobile piston engine technology. VVT allows the lift, duration or timing of the intake or exhaust Poppet valve to be changed while the engine is in operation....
 (VVT), the level of boost maintained by the turbocharger
Turbocharger

A turbocharger, or turbo, is a gas compressor used for forced induction of an internal combustion engine. Like a supercharger, the purpose of a turbocharger is to increase the mass of air entering the engine to create more power....
 (in turbocharged cars), and other peripherals.

ECUs determine the quantity of fuel, ignition timing and other parameters by monitoring the engine through sensors.






Discussion
Ask a question about 'Engine Control Unit'
Start a new discussion about 'Engine Control Unit'
Answer questions from other users
Full Discussion Forum



Encyclopedia


An engine control unit (ECU) is an electronic control unit
Electronic control unit

In automotive electronics, an electronic control unit , also called a control unit, or control module, is an embedded system that controls one or more of the electrical systems or subsystems in a vehicle....
 which controls various aspects of an internal combustion engine
Internal combustion engine

The internal combustion engine is an engine in which the combustion of a fuel occurs in a combustion chamber inside and integral to the engine. In an internal combustion engine it is always the expansion of the high temperature and pressure gases that are produced by the combustion which apply force to the movable component of the engine, such as...
's operation. The simplest ECUs control only the quantity of fuel injected into each cylinder each engine cycle. More advanced ECUs found on most modern cars also control the ignition timing
Ignition timing

Ignition timing, in a spark ignition internal combustion engine, is the process of setting the time that a spark will occur in the combustion chamber relative to piston position and crankshaft angular velocity....
, variable valve timing
Variable valve timing

Variable valve timing, or VVT, is a generic term for an automobile piston engine technology. VVT allows the lift, duration or timing of the intake or exhaust Poppet valve to be changed while the engine is in operation....
 (VVT), the level of boost maintained by the turbocharger
Turbocharger

A turbocharger, or turbo, is a gas compressor used for forced induction of an internal combustion engine. Like a supercharger, the purpose of a turbocharger is to increase the mass of air entering the engine to create more power....
 (in turbocharged cars), and other peripherals.

ECUs determine the quantity of fuel, ignition timing and other parameters by monitoring the engine through sensors. These can include, MAP sensor
MAP sensor

A manifold absolute pressure sensor is one of the sensors used in an internal combustion engine's electronic control system. Engines that use a MAP sensor are typically fuel injection....
, throttle position sensor
Throttle position sensor

A throttle position sensor is a sensor used to monitor the position of the throttle in an internal combustion engine. The sensor is usually located on the butterfly valve spindle so that it can directly monitor the position of the throttle valve butterfly....
, air temperature sensor, oxygen sensor
Oxygen sensor

An oxygen sensor, or lambda sensor, is an electronic device that measures the proportion of oxygen in the gas or liquid being analyzed. It was developed by Robert Bosch GmbH during the late 1960s under supervision by Dr....
 and many others. Often this monitoring and control is done using a control loop (such as a PID controller
PID controller

A proportional?integral?derivative controller is a generic control loop feedback mechanism widely used in industrial control systems. A PID controller attempts to correct the error between a measured process variable and a desired Setpoint by calculating and then outputting a corrective action that can adjust the process accordingly....
).

Before ECUs, fuel injection, ignition timing, and idle speed were directly controlled by mechanical and pneumatic sensors.

Working of ECU


Control of fuel injection

For an engine with fuel injection
Fuel injection

Fuel injection is a system for mixing fuel with air in an internal combustion engine. It has become the primary fuel delivery system used in gasoline Automobile engines, having almost completely replaced carburetors in the late 1980s....
, an ECU will determine the quantity of fuel to inject based on a number of parameters. If the throttle pedal is pressed further down, this will open the throttle body and allow more air to be pulled into the engine. The ECU will inject more fuel according to how much air is passing into the engine. If the engine has not warmed up yet, more fuel will be injected (causing the engine to run slightly 'rich' until the engine warms up).

Control of ignition timing

A spark ignition engine requires a spark to initiate combustion in the combustion chamber. An ECU can adjust the exact timing of the spark (called ignition timing
Ignition timing

Ignition timing, in a spark ignition internal combustion engine, is the process of setting the time that a spark will occur in the combustion chamber relative to piston position and crankshaft angular velocity....
) to provide better power and economy. If the ECU detects knock
Engine knocking

Knocking in spark-ignition internal combustion engines occurs when combustion of the air-fuel ratio in the cylinder starts off correctly in response to ignition by the spark plug, but one or more pockets of air/fuel mixture explode outside the envelope of the normal combustion front....
, a condition which is potentially destructive to engines, and "judges" it to be the result of the ignition timing being too early in the compression stroke, it will delay (retard) the timing of the spark to prevent this.

A second, more common source, cause, of knock/ping is operating the engine in too low of an RPM range for the "work" requirement of the moment. In this case the knock/ping results from the piston not being able to move downward as fast as the flame front is expanding.

But this latter mostly applies only to manual transmission equipped vehicles. The ECU controlling an automatic transmission would simply downshift the transmission were this the cause of knock/ping.

Control of idle speed

Most engine systems have idle speed
Idle speed

Idle speed is the minimum operating speed of a combustion engine. At idle speed, the engine generates enough Power to run reasonably smoothly and operate its ancillaries , but usually not enough to perform useful work, such as moving an automobile....
 control built into the ECU. The engine RPM is monitored by the crankshaft
Crankshaft

The crankshaft, sometimes casually abbreviated to crank , is the part of an engine which translates reciprocation linear piston motion into rotation....
 position sensor which plays a primary role in the engine timing functions for fuel injection, spark events, and valve timing. Idle speed is controlled by a programmable throttle stop or an idle air bypass control stepper motor. Early carburetor based systems used a programmable throttle stop using a bidirectional DC motor. Early TBI systems used an idle air control stepper motor. Effective idle speed control must anticipate the engine load at idle. Changes in this idle load may come from HVAC systems, power steering systems, power brake systems, and electrical charging and supply systems. Engine temperature and transmission status also may change the engine load and/or the idle speed value desired.

A full authority throttle control system may be used to control idle speed, provide cruise control functions and top speed limitation.

Control of variable valve timing

Some engines have Variable Valve Timing
Variable valve timing

Variable valve timing, or VVT, is a generic term for an automobile piston engine technology. VVT allows the lift, duration or timing of the intake or exhaust Poppet valve to be changed while the engine is in operation....
. In such an engine, the ECU controls the time in the engine cycle at which the valves open. The valves are usually opened later at higher speed than at lower speed. This can optimise the flow of air into the cylinder, increasing power and economy.

Electronic valve control

Experimental engines have been made and tested that have no camshaft, but has full electronic control of the intake and exhaust valve opening, valve closing and area of the valve opening. Such engines can be started and run with out a starter motor for certain multi-cylinder engines equipped with precision timed electronic ignition and fuel injection. Such a static-start engine would provide the efficiency and pollution-reductiton improvements of a mild hybrid-electric drive
Hybrid vehicle drivetrain

Hybrid Vehicles are vehicles with two or more power sources in the drivetrain. There are many different types of hybrid vehicles, although only the gasoline-electric hybrid is currently commercially available....
, but without the expense and complexity of an oversized starter motor.

Programmable ECUs


A special category of ECUs are those which are programmable. These units do not have a fixed behavior, but can be reprogrammed by the user.

Programmable ECUs are required where significant aftermarket modifications have been made to a vehicle's engine. Examples include adding or changing of a turbocharger
Turbocharger

A turbocharger, or turbo, is a gas compressor used for forced induction of an internal combustion engine. Like a supercharger, the purpose of a turbocharger is to increase the mass of air entering the engine to create more power....
, adding or changing of an intercooler
Intercooler

An intercooler, or charge air cooler, is an air-to-air or air-to-liquid heat exchanger used on Turbocharger and Supercharger internal combustion engines to improve their volumetric efficiency by increasing intake air charge density through Isochoric process cooling....
, changing of the exhaust
Exhaust

Exhaust or exhaustion may refer to:...
 system, and conversion to run on alternative fuel
Alternative fuel

Alternative fuels, also known non-conventional fuels, are any materials or Chemical substances that can be used as a fuel, other than conventional fuels....
. As a consequence of these changes, the old ECU may not provide appropriate control for the new configuration. In these situations, a programmable ECU can be wired in. These can be programmed/mapped with a laptop
Laptop

A laptop is a personal computer designed for mobile computing small enough to sit on one's lap. A laptop includes most of the Computer hardware of a typical desktop computer, including a Computer display, a computer keyboard, a pointing device as well as a battery, into a single small and light unit....
 connected using a serial or USB cable, while the engine is running.

The programmable ECU may control the amount of fuel to be injected
Fuel injection

Fuel injection is a system for mixing fuel with air in an internal combustion engine. It has become the primary fuel delivery system used in gasoline Automobile engines, having almost completely replaced carburetors in the late 1980s....
 into each cylinder. This varies depending on the engine's RPM and the position of the gas pedal (or the manifold air pressure
MAP sensor

A manifold absolute pressure sensor is one of the sensors used in an internal combustion engine's electronic control system. Engines that use a MAP sensor are typically fuel injection....
). The engine tuner can adjust this by bringing up a spreadsheet
Spreadsheet

A spreadsheet is a computer application that simulates a paper worksheet. It displays multiple cells that together make up a grid consisting of rows and columns, each cell containing either alphanumeric text or numeric values....
-like page on the laptop where each cell represents an intersection between a specific RPM value and a gas pedal position (or the throttle position
Throttle position sensor

A throttle position sensor is a sensor used to monitor the position of the throttle in an internal combustion engine. The sensor is usually located on the butterfly valve spindle so that it can directly monitor the position of the throttle valve butterfly....
, as it is called). In this cell a number corresponding to the amount of fuel to be injected is entered.

By modifying these values while monitoring the exhausts using a wide band lambda probe to see if the engine runs rich or lean, the tuner can find the optimal amount of fuel to inject to the engine at every different combination of RPM and throttle position. This process is often carried out at a dynamometer
Dynamometer

A dynamometer or "dyno" for short, is a machine used to measure torque and rotational speed from which power produced by an Heat engine, motor or other rotating Wiktionary:prime mover can be calculated....
, giving the tuner a controlled environment to work in.

Other parameters that are often mappable are:
  • Ignition: Defines when the spark plug
    Spark plug

    A spark plug is an electrical device that fits into the cylinder head of some internal combustion engines and ignites compressed Particulate gasoline by means of an electric spark....
     should fire for a cylinder.
  • Rev limit: Defines the maximum RPM
    Revolutions per minute

    Revolutions per minute is a units of measurement of frequency: the number of Turn completed in one minute around a rotation around a fixed axis....
     that the engine is allowed to rev to. After this fuel and/or ignition is cut.
  • Water temperature correction: Allows for additional fuel to be added when the engine is cold (choke).
  • Transient fueling: Tells the ECU to add a specific amount of fuel when throttle
    Throttle

    A throttle is the mechanism by which the flow of a fluid is managed by constriction or obstruction. An engine's power can be increased or decreased by the restriction of inlet gases ....
     is applied.
  • Low fuel pressure modifier: Tells the ECU to increase the injector fire time to compensate for a loss of fuel pressure.
  • Closed loop lambda: Lets the ECU monitor a permanently installed lambda probe
    Oxygen sensor

    An oxygen sensor, or lambda sensor, is an electronic device that measures the proportion of oxygen in the gas or liquid being analyzed. It was developed by Robert Bosch GmbH during the late 1960s under supervision by Dr....
     and modify the fueling to achieve stoichiometric (ideal) combustion.


Some of the more advanced race ECUs include functionality such as launch control
Launch control

The term launch control can refer to:*Launch control , an automotive control option*A launch control facility in aerospace and rocketry*A launch control center , used to launch US ICBMs...
, limiting the power of the engine in first gear to avoid burnouts. Other examples of advanced functions are:
  • Waste gate control: Sets up the behavior of a turbo waste gate
    Wastegate

    A wastegate is a valve that diverts exhaust gases away from the turbine wheel in a turbocharged engine system. Diversion of exhaust gases regulates the turbine speed, which in turn regulates the rotating speed of the Gas compressor....
    , controlling boost
    Boost

    Boost can refer to:...
    .
  • Banked injection: Sets up the behavior of double injectors per cylinder, used to get a finer fuel injection control and atomization over a wide RPM range.
  • Variable cam timing
    Variable Cam Timing

    Variable Camshaft Timing is an automobile variable valve timing technology developed by Ford Motor Company. It utilizes electronically controlled hydraulic valves that direct engine oil into the camshaft phaser cavity....
    :
    Tells the ECU how to control variable intake and exhaust cams.
  • Gear control: Tells the ECU to cut ignition during (sequential gearbox
    Semi-automatic transmission

    A semi-automatic transmission is a system which uses electronic sensors, processors and actuators to do gear shifts on the command of the driving....
    ) upshifts or blip the throttle during downshifts.


A race ECU is often equipped with a data logger recording all sensors for later analysis using special software in a PC. This can be useful to track down engine stalls, misfires or other undesired behaviors during a race by downloading the log data and looking for anomalies after the event. The data logger usually has a capacity between 0.5 and 16 megabytes.

In order to communicate with the driver, a race ECU can often be connected to a "data stack", which is a simple dash board presenting the driver with the current RPM, speed and other basic engine data. These race stacks, which are almost always digital, talk to the ECU using one of several proprietary protocols running over RS232 or CANbus.

ECU flashing

Many recent (around 1996 or newer) cars use OBD-II ECUs that are sometimes capable of having their programming changed through the OBD port. Automotive enthusiasts with modern cars take advantage of this technology when tuning their engines. Rather than use an entire new engine management system, one can use the appropriate software to adjust the factory equipped computer. By doing so, it is possible to retain all stock functions and wiring while using a custom tuned program. This should not be confused with "chip tuning", where the owner has ECU ROM physically replaced with a different one -- no hardware modification is (usually) involved with flashing ECUs, although special equipment is required.

Factory engine management systems often have similar controls as aftermarket units intended for racing, such as 3-dimensional timing and fuel control maps. They generally do not have the ability to control extra ancillary devices, such as variable valve timing
Variable valve timing

Variable valve timing, or VVT, is a generic term for an automobile piston engine technology. VVT allows the lift, duration or timing of the intake or exhaust Poppet valve to be changed while the engine is in operation....
 if the factory vehicle was a fixed geometry camshaft or boost control if the factory car was not turbocharged.

History


Hybrid digital designs

A hybrid digital design was popular in the mid 1980s. This used analogue techniques to measure and process input parameters from the engine, then used a look-up table stored in a digital ROM
Read-only memory

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 chip to yield precomputed output values. Later systems compute these outputs dynamically. The ROM type of system is amenable to tuning
Engine tuning

Engine tuning is the adjustment, modification or design of internal combustion engines to yield optimal performance, to increase an engine's power output, economy, or durability....
 if one knows the system well. The disadvantage of such systems is that the precomputed values are only optimal for an idealised, new engine. As the engine wears, the system is less able to compensate than a CPU based system.

Modern ECUs

Modern ECUs use a microprocessor
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
 which can process the inputs from the engine sensors in real time
Real-time computing

In computer science, real-time computing is the study of Computer hardware and computer software systems that are subject to a "real-time constraint"?i.e., operational deadlines from event to system response....
. An electronic control unit contains the hardware and software (firmware
Firmware

Firmware is a term sometimes used to denote the fixed, usually rather small, programs that internally control various electronic devices. Typical examples range from end user products such as remote controls or calculators, via computer parts and devices like harddisks, keyboard s, TFT screens or memory cards, all the way to scientific instr...
). The hardware consists of electronic components on a printed circuit board
Printed circuit board

A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using Conductor pathways, or signal traces, industrial etchinged from copper sheets laminated onto a non-conductive substrate....
 (PCB), ceramic substrate or a thin laminate substrate. The main component on this circuit board is a microcontroller chip (CPU). The software is stored in the microcontroller or other chips on the PCB, typically in EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
s or flash memory
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
 so the CPU can be re-programmed by uploading updated code or replacing chips. This is also referred to as an (electronic) Engine Management System (EMS).

Sophisticated engine management systems receive inputs from other sources, and control other parts of the engine; for instance, some variable valve timing
Variable valve timing

Variable valve timing, or VVT, is a generic term for an automobile piston engine technology. VVT allows the lift, duration or timing of the intake or exhaust Poppet valve to be changed while the engine is in operation....
 systems are electronically controlled, and turbocharger
Turbocharger

A turbocharger, or turbo, is a gas compressor used for forced induction of an internal combustion engine. Like a supercharger, the purpose of a turbocharger is to increase the mass of air entering the engine to create more power....
 wastegates can also be managed. They also may communicate with transmission control units
Transmission Control Unit

A transmission control unit or TCU is a device that controls modern electronic automatic transmissions. A TCU generally uses sensors from the vehicle as well as data provided by the Engine Control Unit to calculate how and when to change gears in the vehicle for optimum performance, Fuel efficiency and shift quality....
 or directly interface electronically-controlled automatic transmission
Automatic transmission

An automatic transmission is an automobile gearbox that can change gear ratios automatically as the vehicle moves, freeing the driver from having to shift gears manual transmission....
s, traction control systems, and the like. The Controller Area Network
Controller Area Network

Controller?area network is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer....
 or CAN bus automotive network is often used to achieve communication between these devices.

Modern ECUs sometimes include features as cruise control
Cruise control

Cruise control is a system that automatically controls the rate of motion of a motor vehicle. The driver sets the speed and the system will take over the throttle of the car to maintain the same speed....
, transmission control, anti-skid brake control, and anti-theft control, etc.

General Motors' first ECUs had a small application of hybrid digital ECUs as a pilot program in 1979, but by 1980, all active programs were using microprocessor based systems. Due to the large ramp up of volume of ECUs that were produced to meet the US Clean Air Act requirements for 1981, only one ECU model could be built for the 1981 model year. The high volume ECU that was installed in GM vehicles from the first high volume year, 1981, onward was a modern microprocessor based system. GM moved rapidly to replace carburetor based systems to fuel injection type systems starting in 1980/1981 Cadillac engines, following in 1982 with the Pontiac 2.5L "GM Iron Duke engine
GM Iron Duke engine

The Iron Duke was a 2.5 L Straight-4 piston engine. All Iron Dukes were built by Pontiac beginning in 1977 and ending in 1993.This 151 was also used by American Motors starting in 1980, as the base engine option in the RWD AMC Spirit and AMC Concord, and continuing in both cars through 1982....
" and the Corvette Chevrolet L83
Chevrolet Small-Block engine

Chevrolet's small-block V8 is a not a single engine but a series of famous automobile engines built on the same basic small engine block. Retroactively referred to as the "Generation I" small-block, it is distinct from subsequent GM "Generation II" GM LT engine and "Generation III" GM LS engine engines....
 "Cross-Fire" engine. In just a few years all GM carburetor based engines had been replaced by throttle body injection (TBI
TBI

TBI may mean:* Throttle Body Injection, see fuel injection* Traumatic brain injury, a physical trauma to the brain.* Tracheobronchial injury, an injury to the trachea or main bronchi....
) or intake manifold injection systems of various types. In 1988 Delco Electronics, Subsidiary of GM Hughes Electronics, produced more than 28,000 ECUs per day, the world's largest producer of on-board digital control computers at the time.

Other applications

Such systems are used for many internal combustion engines in other applications. In aeronautical applications, the systems are known as "FADEC
FADEC

A FADEC is a system consisting of a digital computer, called an "electronic engine control" or "electronic control unit" , and its related accessories that control all aspects of aircraft engine performance....
s" (Full Authority Digital Engine Controls). This kind of electronic control is less common in piston-engined aeroplane
Fixed-wing aircraft

A fixed-wing aircraft is an aircraft capable of heavier-than-air flight whose Lift is generated not by wing motion relative to the aircraft, but by forward motion through the air....
s than in automobiles, because of the large costs of certifying parts for aviation use, relatively small demand, and the consequent stagnation of technological innovation in this market. Also, a carburated
Carburetor

A carburetor or carburettor , is a device that blends Earth's atmosphere and fuel for an internal combustion engine. It was invented by Karl Benz before 1885 and patented in 1886....
 engine with magneto
Magneto (electrical)

This article is about an electrical generator component used in engine and some old telephones. For other uses of the term, see Magneto . A magneto is a device used in the ignition system of gasoline-powered internal combustion engines to provide pulses of high voltage electrical power to the spark plugs....
 ignition and a gravity feed fuel system does not require any electrical power to run, which is a safety bonus.

See also

  • Air flow meter
    Air flow meter

    An air flow meter, also known as an air consumption meter, is a device that measures how much air is flowing through a tube.It does not measure the volume of the air passing through the tube, it measures the speed of the air flowing through the device in a defined time segment....
  • Air-fuel ratio meter
    Air-fuel ratio meter

    An air-fuel ratio meter monitors the air-fuel ratio of an internal combustion engine. Also called air-fuel ratio gauge, air-fuel meter, or air-fuel gauge....
  • Automobile self starter
    Automobile self starter

    An automobile self-starter is an electric motor that initiates rotational motion in an internal combustion engine before it can power itself....
  • Fuel injection
    Fuel injection

    Fuel injection is a system for mixing fuel with air in an internal combustion engine. It has become the primary fuel delivery system used in gasoline Automobile engines, having almost completely replaced carburetors in the late 1980s....
  • Malfunction Indicator Lamp
  • Motronic
    Motronic

    Motronic is the trade name given to a range of digital engine-management systems developed by Robert Bosch GmbH....
  • Powertrain Control Module
    Powertrain Control Module

    A Powertrain Control Module, abbreviated PCM, is an automotive industry component, an electronic control unit , used on motor vehicles. It is generally a combined control unit, consisting of the engine control unit and the transmission control unit....
  • Trionic
    Trionic

    Trionic is an engine management system developed by Saab Automobile, consisting of an engine control unit that controls ignition timing, fuel injection and acts as a boost controller....
  • Timing Retard Eliminator
    Timing Retard Eliminator

    The Timing Retard Eliminator is an electronics that fools the engine control unit of a motorcycle into thinking the Transmission is always in 4th or 5th gear and avoids the ECU retarding the ignition timing....
     (TRE)


Open source engine management systems

  • FreeEMS
  • CarDAQ-plus J2534 pass-thru hardware device


Pseudo open source engine management systems

  • MegaSquirt
    MegaSquirt

    MegaSquirt is an aftermarket electronic fuel injection controller designed to be used with a wide range of internal combustion engines. It is a patented hardware platform sold by Bruce Bowling and Al Grippo, engineers that work on the US East Coast....


DIY engine management systems

  • VEMS group


External links