When they see the title “Engine management system – car diagnostics and digital control”, most people think it is far too complicated and quickly give up – but they are wrong. Even very complicated things become clear and simple when explained in a plain, understandable way. At school and university you met teachers and professors who had knowledge but couldn’t pass it on, and made even simple things complicated. But there were also the few who understood complicated systems and could present them so that everyone found them clear and interesting. I called such professors geniuses, because their knowledge of a field was complete – they knew and understood every detail.
Following their example, I will try to explain the “bogeyman” of cars – CAR ELECTRONICS – in a simple way. I will go step by step, so it is a good idea to follow all the upcoming articles on CAR ELECTRONICS.
Subscribing to this blog is completely free – just register and get notifications about new articles.
The digital engine management system
Digital engine management is a complex system, but to understand it better we will divide it into several separate subsystems, which overlap in some areas:
- FUEL CONTROL SUBSYSTEM
- Electronic ignition control subsystem
- EGR CONTROL SUBSYSTEM
To avoid confusion, note that CAR ELECTRONICS is a broader term than DIGITAL ENGINE MANAGEMENT. The name DIGITAL ENGINE MANAGEMENT itself tells us that it concerns the engine only and excludes the other electronic parts and systems in the car (ABS, electric windows, signalling, stability control…).
Before explaining the individual subsystems, let’s look at the diagram of digital engine management.

The main part of the car that links all the subsystems and parts into one harmonious whole is the main computer, or controller. It contains an input/output subsystem that converts the analogue signals from the sensors into digital signals the main computer can use. Like a personal computer, the car’s computer has ROM and RAM memory. Its ROM contains factory-programmed tables against which the incoming signal is compared; based on the result, the right signal is sent to a particular electronic part of the car. But before it is sent, the digital signal obtained from the comparison has to be converted back into an analogue signal – the car’s electronic parts only understand analogue signals.
To follow the rest of the article, let’s recall a few basics of digital electronics
There are probably people who have never dealt with electronics. For them I will briefly explain what digital and analogue signals are, so they can keep following.
A digital signal is a set of ones and zeros that represent a certain value, e.g.:
01110100 01110101 11110010 01011100 – 32 bits or 4 bytes
Today’s car computers are usually 32-bit with speeds of several hundred MHz, but as the car industry develops and the number of operations grows, ever more powerful computers are needed.
An analogue signal is defined by a value of voltage, current, pressure or another quantity, e.g.:
13.6 V or 25 mA or 15 bar or…
An analogue signal is of lower quality because its value can easily change due to interference in the car, while a digital signal is much more robust and easier to process. That is why, besides the main computer, there is a trend to digitise other electronic parts of the car so they work with digital signals only.
If you compared the car’s main computer with a personal or home computer, you might conclude that home computers are much better – but if you compare the number of functions they perform, you come to a very different conclusion. The car’s computer performs far fewer operations, but it works in much harsher conditions.
IN SHORT:
- All data from the car’s sensors are sent to the main computer
- The computer processes them by comparing them with the tables in its ROM memory
- Depending on the car’s operating conditions and the driver’s needs (driver input), the computer sends a command to a particular electronic part of the car
- The electronic part responds to the computer’s signal and carries out the command
This happens several hundred or even thousands of times per second.
The first subsystem of digital engine management – FUEL CONTROL
To understand this subsystem better, we also need to break it down into individual modes (engine operating categories) or conditions in which it behaves differently and needs separate subroutines.
Today’s cars have seven different engine operating modes that affect fuel control:
- Engine start
- Engine warm-up
- Open-loop control
- Closed-loop control
- Acceleration enrichment
- Deceleration enleanment
- Idle speed control
Which sensors give us data about the engine’s condition and let the computer tell which of these seven modes the engine is in:
- Airflow meter (MAF),

- Exhaust sensors (lambda sensors),
- Crankshaft sensor,

- Camshaft sensor,

- Coolant temperature,

- Throttle angle position,

- Intake air temperature (usually part of the airflow meter),
- … (newer cars have more and more sensors, all to get better data about engine operation, stability and economy)
Characteristics of the individual operating modes:
- Engine start
- Cold engine,
- The fuel doesn’t burn completely because it forms larger droplets,
- The exact air–fuel ratio that will ignite in these conditions must be determined,
- The important data at this moment come from the airflow meter, coolant temperature sensor, crankshaft sensor and camshaft sensor,
- Immediately after starting, the computer switches to warm-up mode.
- Engine warm-up
- A richer air–fuel mixture is needed, depending directly on the engine temperature,
- The mixture gets leaner as the engine warms up,
- Pollution is still higher,
- The important data come from the airflow meter, coolant temperature sensor, crankshaft sensor and camshaft sensor,
- The engine warms up and switches to open-loop mode.
- Open-loop control
- The EGR valve is open and unburnt fuel is returned to the cylinder,
- As the engine reaches operating temperature, less and less unburnt fuel is returned to the cylinders,
- The important data come from the airflow meter, coolant temperature sensor, crankshaft sensor, camshaft sensor and lambda sensors,
- The engine reaches operating temperature and stabilises, with exhaust gases and fuel consumption monitored – it switches to closed-loop mode.
- Closed-loop control
- The EGR valve is closed,
- Engine operation is stable,
- Fuel consumption and exhaust gases are constantly monitored,
- The important data come from the airflow meter, coolant temperature sensor, crankshaft sensor, camshaft sensor and lambda sensors.
- Acceleration enrichment
- The driver presses the accelerator and the main computer detects this through the throttle position sensor,
- Exhaust and fuel consumption control take second place,
- The engine gets a richer mixture to deliver the torque needed for acceleration.
- Deceleration enleanment
- The driver releases the accelerator and the main computer detects this through the throttle position sensor,
- Exhaust and fuel consumption control continue,
- The engine gets a leaner mixture, enough for the torque needed while slowing down.
- Idle speed control
- Idle speed control was introduced to prevent the engine from stalling,
- Fuel consumption should be as low as possible, i.e. the idle speed as low as possible, provided the engine runs smoothly.

The second engine management subsystem is ELECTRONIC IGNITION CONTROL.
Its main role is to ignite the air–fuel mixture at exactly the right moment, depending on the engine’s operating mode, the data from the sensors and the driver’s demands.
Old cars with petrol engines had mechanical ignition with a distributor cap, rotor arm, ignition coil and spark plugs. The ignition moment depended only on the position of the piston in the given cylinder. The pistons were connected through the crankshaft and timing belt (or chain on some engines) directly to the shaft that drove the rotor arm and cap. This type of ignition has many drawbacks in terms of fuel efficiency, pollution and engine performance.
Today’s digitally controlled ignition systems have replaced traditional ignition. The ignition coil with rotor arm and distributor cap has been replaced by multiple coils. These systems usually have coils that each fire two cylinders, so a four-cylinder engine has one pair of coils.
The sensors important for electronic ignition control overlap with those for electronic fuel control:
- airflow meter
- crankshaft sensor and camshaft sensor
- coolant temperature sensor
- throttle position sensor
- EGR valve sensor…
To explain simply how electronic ignition control works, you need to know that it isn’t always ideal to ignite the mixture exactly when the piston is at top dead centre. The ideal ignition point moves either side of top dead centre depending on the data from these sensors. Sometimes it is better to ignite the mixture before the piston reaches top dead centre so that combustion is more complete (lasts longer), giving better engine performance and fewer harmful exhaust gases. In other conditions, to get more torque at higher speeds, ignition is moved after top dead centre.
The general principle of this subsystem is the same as for fuel control. The analogue data from the sensors listed above are converted by the input/output system into digital data and passed to the main computer for processing. Comparing the data with the ROM tables, the computer produces output data that it sends back to the input/output system. The data are converted into an analogue signal sent to a particular actuator (injectors, multiple coils, EGR valve…).
The third subsystem of digital engine management is EGR CONTROL
EGR control, i.e. exhaust gas recirculation control, is an extremely important subsystem today. Its job is to protect the environment by reducing harmful emissions.

In normal operation, temperatures in the cylinders can reach 3000 °F. The higher the temperature of the engine and cylinders, the more likely the exhaust gases are to contain NOx. Through EGR control, a small amount of exhaust gas is sent back into the cylinders to replace some of the fresh air. This lowers the combustion temperature and therefore the NOx emissions.
Over time the whole subsystem has changed considerably, and besides its main role it also helps reduce fuel consumption by returning unburnt fuel to the intake manifold to be used again.
How to find the EGR valve?
The main part of the EGR system is the channel or pipe connecting the exhaust and intake manifolds. Once you find this pipe, you can easily find the EGR valve, which is controlled electronically by commands from the main computer. The computer opens or closes the valve based on data from the lambda sensors and the pressure difference between the intake and exhaust manifolds. Up to the EURO 3 standard only petrol engines had lambda sensors; from EURO 4 they are an essential part of diesel engines too. Today two sensors are fitted, one before and one after the catalytic converter.
The EGR valve is open when the engine is started, when it is cold (warming up), at idle, during acceleration and when the engine runs at high torque. During start-up and warm-up there is a high proportion of unburnt fuel, which is reused by returning it to the intake manifold, and engine warm-up is also improved. As the engine warms up, the valve gradually closes. The EGR valve works differently in petrol and diesel engines.

Symptoms of a faulty EGR valve:
- soot can make it stick in a certain position, and the symptoms depend on that position,
- if it is stuck open, petrol engines idle roughly, while diesel engines lose power and produce black smoke,
- if it is stuck closed, diesel engines run roughly with louder knocking, while petrol engines use more fuel.



























You must be logged in to post a comment.