41 a capacitor for the circuit protection and numeral 27 and 28 resistors numeral 700 designates a first comparison circuit numeral 50 a first comparator for comparing a value of the primary current of the ignition coil 3 with a first reference level and numeral 51 a reference voltage source for providing the first reference level numeral 800 designates a second comparison circuit numeral 60 a second comparator for comparing a value of the primary current of the ignition coil 3 with a second reference level and numeral 61 a reference voltage source for providing the second reference level numeral 900 designates a current limiting circuit numeral 70 a third comparator for comparing a value of the primary current of the ignition coil 3 wirh a third reference level and numeral 71 a reference voltage source for providing the third reference level the second comparator 60 and the nor gates 303 and 304 constitute first reset means and the first comparator 50 constitute second reset means the operation of the electronics circuit having the aforementioned construction will be explained hereunder fig2 shows waveforms appearing at various parts of the electronic circuit the transistor 105 is turned on and off by an ignition signal shown by g in fig2 supplied from the ecu 1 when the transistor 105 in turned off the capacitor.