Conceptual strategy for cycle-to-cycle control of spark ignition for minimizing combustion variability and spark plug erosion