A Discrete Sliding Mode Controller (DSMC) coupled with a Kalman filter is designed to control combustion phasing by adjusting the ratio of two Primary Reference Fuels (PRFs). The results indicate the DSMC maintains the stability of the engine operation in a wide range of loads and speeds. The DSMC is compared with an empirical Proportional Integral (PI) controller. The results show the SMC outperforms a PI controller particularly in rejecting disturbances while maintaining HCCI combustion phasing in its desired range.