ECU programmability
Programmability
A special category of ECUs are those which are programmable; these units can be reprogrammed by the user.
When modifying an engine to include aftermarket or upgrade components, stock ECUs may or may not be able to provide the correct type of control for the application(s) in which the engine may be used. To accommodate for engine modifications, a programmable ECU can be used in place of the factory-shipped ECU. Typical modifications that may require an ECU upgrade can include turbocharging, supercharging, or both, a naturally aspirated engine; fuel injection or spark plug upgrades, exhaust system modifications or upgrades, transmission upgrades, and so on. Programming an ECU typically requires interfacing the unit with a desktop or laptop computer; this interfacing is required so the programming computer can send complete engine tunings to the engine control unit as well as monitor the conditions of the engine in realtime. Connection typically used in this interface are either USB or serial.
By modifying these values while monitoring the exhausts using a wide band lambda probe, engine tuning specialists can determine the optimal fuel flow specific to the engine speed's and throttle position. This process is often carried out at an engine performance facility. A dynamometer is typically found at these locations; these devices can provide engine tuning specialist useful information such as engine speed, power output, torque output, gear change events, and so on. Tuning specialists often utilize a chassis dynamometer for street and other high performance applications.
Engine tuning parameters may include fuel injection volume, throttle-fuel volume mapping, gear shift mapping, and so forth. While the mentioned parameters are common, some ECUs may provide other variables in which a tuning software could potentially modify. These parameters include:
Closed loop Lambda: Lets the ECU monitor a permanently installed lambda probe and modify the fueling to achieve the targeted air/fuel ratio desired. This is often the stoichiometric (ideal) air fuel ratio, which on traditional petrol (gasoline) powered vehicles this air-to-fuel ratio is 14.7:1. This can also be a much richer ratio for when the engine is under high load, or possibly a leaner ratio for when the engine is operating under low load cruise conditions for maximum fuel efficiency.
Staged fuel injection
Transient fueling: Tells the ECU to add a specific amount of fuel when throttle is applied. This is referred to as "acceleration enrichment".
Wastegate control
Water temperature correction: Allows for additional fuel to be added when the engine is cold, such as in a winter cold-start scenario or when the engine is dangerously hot, to allow for additional cylinder cooling (though not in a very efficient manner, as an emergency only).
A race-grade ECU is often equipped with a data logger to record all sensor data for later analysis. This can be useful for identifying engine stalls, misfires or other undesired behaviors during a race. 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 dashboard presenting the driver with the current RPM, speed and other basic engine data. These data stacks, which are almost always digital, talk to the ECU using one of several protocols including RS-232 or CANbus. Information is then relayed through the Data Link interface that usually located on the underneath of the steering column.




