Controlling Spark Plug Coil

Well you could start by telling us what the sensor is "hall sensor (pickup coil)" is
self-contradictary.

As always posting a link to the datasheet for your sensor is ideal, or failing
that as much info as you have.