Chapter 1
Why an Open ECU
Every modern engine is run by an electronic control unit (ECU). It reads sensors, looks up the right injection and ignition settings in stored maps, and drives the injectors and ignition. In a production engine those maps are fixed by the manufacturer and locked.
Production ECU
- Injection timing, quantity and pressure come from fixed maps
- Maps are locked and cannot be read or changed
- Optimised for one engine, one fuel, one emissions standard
Open ECU
- You set injection timing, duration, pressure and spark timing yourself
- Change one parameter at a time and see its effect on combustion
- Run alternative fuels and injection strategies the production map was never built for
Chapter 2
Sensors and actuators
The ECU sits between sensors that tell it what the engine is doing and actuators that act on the engine. Choose a kit to see its components.
- Crankshaft position sensor
- A variable-reluctance sensor facing a toothed crank trigger wheel. Each tooth gives a pulse; the ECU counts them to know crank angle and speed.
- Camshaft position sensor
- A Hall-effect sensor on a cam trigger wheel. The camshaft turns once per four-stroke cycle, so it tells the ECU which revolution is the firing one.
- MAF and T-MAP sensors
- Hot-wire mass air flow, and manifold absolute pressure with an NTC temperature sensor: together they tell the ECU how much air the engine is taking in.
- Rail pressure sensor
- On CRDI and GDI kits: measures fuel pressure in the common rail. On the CRDI kit the ECU uses it to hold rail pressure at your set-point (closed loop).
- Injectors
- Solenoid injectors open for as long as the ECU energises them. Opening time and fuel pressure together set the quantity injected.
- EGR valve
- Lets a controlled flow of exhaust gas back into the intake (chapter 6).
- CAN and K-line
- The links between the ECU and your PC for changing settings, monitoring live values and troubleshooting.
Chapter 3
Where is the crankshaft?
Before the ECU can inject at "10° before TDC" it must know the crank position to within a degree. A four-stroke cycle takes two crank revolutions (720°), so it needs two signals. Move the slider through one complete cycle.
Crank signal
One pulse per tooth. A gap where teeth are missing (for example a 36-1 wheel) marks a known position once every revolution; counting teeth from the gap gives the angle.
Cam signal
One pulse per cycle. The crank signal looks the same on both revolutions — the cam pulse tells the ECU whether the next TDC is compression (firing) or exhaust.
Together
Gap + tooth count + cam phase = absolute position in the 720° cycle. The ECU can then schedule injection and spark to the degree.
Tooth count shown is a typical example; check your kit's trigger wheel.
Chapter 4
What you can tune
Each kit exposes the settings that matter for its injection system. Angles are measured in crank degrees before (bTDC) or after the firing top dead centre. Choose a kit and move the settings.
CRDI (R&DU04)
Pilot and main start angles, main duration in crank degrees, closed-loop rail pressure 200–1100 bar, EGR flow and closed-loop idle speed.
GDI (R&DU13)
Start of injection for homogeneous operation, end of injection for stratified operation, spark timing, open-loop rail pressure 10–110 bar; the ECU calculates the duration.
PFI (R&DU15)
End angle of injection and spark timing at 2.8 bar injection pressure; the ECU calculates the duration.
Gas (R&DU01)
Injection start angle and injection duration for gas injected into the intake manifold, open loop.
Chapter 5
Injection quantity
The fuel delivered per stroke depends on how long the injector is open and on the pressure pushing fuel through the nozzle holes. Duration is set in crank degrees, so it gets shorter in time as speed rises: t = CA° ÷ (6 × N).
Try your own settings
Opening time
t = CA° ÷ (6 × N)
1.20 ms
Jet velocity
v = √(2 ΔP / ρ), ΔP = rail − cylinder
425 m/s
Fuel per stroke
Q = Cd × Aholes × v × t = 24.2 mm³
20.1 mg
Chapter 6
Exhaust gas recirculation
What it does
The EGR valve lets some exhaust gas back into the intake. Exhaust gas is mostly inert (CO₂, H₂O, N₂), so it dilutes the fresh charge and absorbs heat. Peak flame temperature falls — and with it the formation of nitrogen oxides (NOx).
The trade-off
Too much EGR leaves too little oxygen: combustion slows, smoke and unburnt fuel rise and efficiency drops. Finding the best EGR rate at each load is a typical Open ECU experiment.
Measuring the EGR rate
The usual method compares CO₂ in the intake (after mixing) with CO₂ in the exhaust: EGR % = (CO₂ intake − CO₂ ambient) ÷ (CO₂ exhaust − CO₂ ambient) × 100.
EGR rate
Example: intake 1.8 %, exhaust 9.0 % CO₂
19.6 %
Chapter 7
Calibrating safely
An Open ECU removes the limits a production map builds in. Work methodically:
Start from the baseline
Load the supplied baseline settings and record a reference test at each load point before changing anything.
Change one parameter at a time
For example move main injection 2° earlier, keep everything else fixed, and record performance and combustion data.
Watch the limits
Peak cylinder pressure, rate of pressure rise, exhaust temperature, knock (petrol) and smoke. Stop and step back if any approaches the engine's limit.
Let it settle
Wait for steady temperatures before logging each point, as in SSP 01.
Record your settings with the data
Note every set-point (timing, duration, pressure, EGR) with each result file, so the test can be repeated.
Return to baseline
Restore the baseline settings at the end of the session and before handing the engine to the next user.
Chapter 8
Test your knowledge
-
Why can't a production ECU simply be used for engine research?
Its injection and ignition settings come from fixed, preprogrammed maps. Finding the best timing and pressure is the research itself, so the researcher needs to set them freely.
-
Which signal tells the ECU exactly where the crankshaft is?
Crankshaft position sensor on the crank trigger wheel. A variable-reluctance sensor reads the teeth of the crank trigger wheel; the missing-tooth gap marks a reference position.
-
Why does the ECU also need a camshaft position signal?
To tell the compression stroke from the exhaust stroke, since the crank turns twice per cycle. The crank signal repeats every revolution; the cam turns once per 720° cycle, identifying which TDC is the firing one.
-
On the CRDI kit, rail pressure is adjustable between…
200 and 1100 bar. The CRDI Open ECU controls rail pressure in closed loop from 200 to 1100 bar.
-
What is the purpose of a pilot injection in a diesel engine?
To start combustion gently before the main injection, reducing the pressure rise rate and noise. A small early injection shortens the ignition delay of the main injection, so combustion is smoother.
-
On the GDI kit, stratified operation is set by…
The end of injection, late in the compression stroke. For a stratified charge the fuel is injected late so a rich cloud sits near the spark plug; the end of injection is what matters.
-
A port fuel injection (PFI) system injects fuel…
Into the intake port, at about 2.8 bar on this kit. PFI sprays fuel into the intake port, usually onto the back of the closed intake valve, at low pressure.
-
Injection duration set as 12 crank-angle degrees at 1500 rpm lasts…
1.33 ms. t = CAD / (6 × N) = 12 / 9000 s = 1.33 ms.
-
Raising rail pressure with the same injection duration…
Injects more fuel, with finer atomisation. Flow through the nozzle rises with the square root of the pressure difference, and higher velocity breaks the spray into finer droplets.
-
Exhaust gas recirculation (EGR) is mainly used to…
Lower combustion temperature and so reduce NOx. Recirculated exhaust dilutes the charge with inert gas, lowering peak flame temperature and NOx formation.
Answers
- Its injection and ignition settings come from fixed, preprogrammed maps
- Crankshaft position sensor on the crank trigger wheel
- To tell the compression stroke from the exhaust stroke, since the crank turns twice per cycle
- 200 and 1100 bar
- To start combustion gently before the main injection, reducing the pressure rise rate and noise
- The end of injection, late in the compression stroke
- Into the intake port, at about 2.8 bar on this kit
- 1.33 ms
- Injects more fuel, with finer atomisation
- Lower combustion temperature and so reduce NOx