A reference model for spark ignition engines electronic control