Arduino based Open Source ECU for Diesel Engines
If you buy a diesel engine without ECU (Engine Control Unit), what would you do? If you’re a hacker like synkooppi, you might just decide to design your own ECU with an Arduino, open source the code, and provide some documentation on your site. Many people already control motors with Arduino boards, they just happen to be electric motor, and not diesel motor.
The system works with diesel engines with Bosch VP37 pumps, and it has been used successfully since 2012.
The ECU is based on an Arduino Mega board with a 8-bit AVR MCU @ 16MHz. The latest source code is available for download (2013-10-06), and can be uploaded to the board via the Arduino IDE. Configuration is done with text-based interface using serial connection over USB port. Hardware schematics have not been released yet.
This open source ECU currently support the following features:
- Integrated control map editor
- Diagnostic Trouble Code (DTC) memory
- Fuel Map (RPM vs. TPS)
- Boost map (MAP vs RPM)
- Torque limiter map (MAP vs RPM)
- VNT / WG control map (IQ vs RPM)
- Pump advance map (IQ vs RPM)
- Cold start and idle map (RPM vs. Temperature)
Other functionality they will or may be implementaion are PID based idle stabilization, EGT sensor support, Fuel trim maps for compensation intake air temp or fuel temp, HDK actuator support, as well as Cruise and traction control.
You can watch the video to see the whole setup and how the motor is controlled with a potentiometer (to emulator a gaz peddle), and the virtual dashboard. This was shot about 2 years ago, and the system has already been used in the truck.