Customizing M670 & OpenECU platform SW to replicate UEGO functionality


A Pi Innovo customer was using an ECU for engine control and a separate stand-alone UEGO interface ECU but wanted to migrate to the integrated solution offered by Pi’s M670 ECU. At the same time, the complete solution needed to replicate the existing behavior of the standalone UEGO interface and use the customer’s existing strategy/algorithm. During the migration, however, a difference in engine performance was observed.


The M670 ECU is designed for modern engine control strategies, including Direct Fuel Injection (DFI). To calculate and dynamically adjust the engine air-fuel ratio, the M670 makes use of a Bosch CJ125 Lambda Probe Interface IC to connect to 2 LSU 4.9 UEGO wideband oxygen sensors (Bosch lambda sensors). In addition to the hardware interface, the OpenECU software platform handles the initialization and periodic communication with the interface ICs. By using the OpenECU Simulink library, customers can easily communicate with the sensors to measure exhaust gas oxygen levels to be used as input to engine control logic.

Results and Impact

While testing the M670 solution, the customer who was moving from a standalone solution to the integrated solution observed a difference in engine performance. The issue was identified as the handling of the input coming from the oxygen sensor, and Pi Innovo was able to isolate the differences and modify the platform SW and M670 hardware so that the interface could then be controlled in the same manner as previously done by the customer in the stand-alone ECU, and the customer was able to keep their proven algorithm intact.

The OpenECU platform was updated for the benefit of all Pi Innovo customers.

Project Features

Keywords: Lambda sensor, exhaust gas, oxygen sensor, CJ125, LSU, 4.9, Bosch, M670, GDI, DI, DFI, direct injection, UEGO, OpenECU software platform, customer-specific