Hydrogen-Diesel Dual-Fuel Engine Operation Using Real-Time GRU-Based Nonlinear Model Predictive Control
Hydrogen-diesel dual-fuel (H2DF) combustion can reduce combustion-out CO2 emissions but exhibits nonlinear cycle-to-cycle dynamics at high hydrogen energy shares (HES), while the NOx-particulate matter (PM) trade-off must still be managed. This work evaluates nonlinear model predictive control (NMPC) with a gated recurrent-unit deep neural network dynamics model for transient H2DF control. Trained on 99,800 engine cycles, the model predicts indicated mean effective pressure, nitrogen oxides (NOx), particulate matter (PM), and maximum pressure-rise rate. Experiments on a four-cylinder 4.46 L Cummins engine with hydrogen port injection in cylinder 1 only, naturally aspirated, at 1500 rpm, follow an unseen 4,900-engine-cycle trajectory. Compared with diesel-only operation under the production calibration, the NMPC reduces the load-tracking mean absolute error by 27.8% while reaching a mean HES of 39.7% (peak 55.1%); a high-hydrogen setting achieves 77.8% peak HES without measured constraint violations. The mean engine-out PM concentration is about 60% lower, while the mean engine-out NOx concentration increases by 105.1% without exhaust-gas recirculation. The controller tolerates feedback noise and model-plant mismatch from engine-speed variation, and it executes in 3 to 7 ms per engine cycle on low-cost embedded hardware within a modular rapid-prototyping toolchain. Learned-dynamics NMPC thus enables practical, real-time, constraint-aware transient H2DF control with substantial diesel substitution.