Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Microprocessor controlled ignition system

Status
Not open for further replies.

batdan

New Member
**broken link removed**

I'm working on controlling an ignition coil using a microcontroller connected to a MOSFET and an sensor. The sensor has an ir led and a phototransistor in it and I want the coil to fire when the beam is broken. The microcontroller switches the MOSFET on for a set amount of time, long enough for the ignition coil to "charge up" then switches it off, which will cause a high voltage in the secondary winding of the ignition coil and create a spark.

With this project I have two problems, first is the detection of when the beam is broken.

The photosensor (**broken link removed**) has its emitter connected to +5v and its collector connected to a 150k:eek:hm: resistor connected to ground. I get either 0 volts or 3.5ish volts across the resistor depending on if the beam is broken or not. All the applications I have seen suggested a 5k:eek:hm: resistor but for some reason I could not get that to work. Anyway I have the microcontroller programmed to detect when the sensor output goes from high to low and each time I break the beam but the controller counts some huge number. I think I need to a schmitt trigger between the sensor and the microcontroller so the output is always in a defined output state, but I'm not sure.

The other problem is I'm worried about is back emf from the ignition coil damaging things in the circuit particularly the 100v MOSFET and microcontroller and I'm not sure what I need to protect all the components of my circuit from all of this. Someone said the only thing I need is a diode across the MOSFET but I have seen other circuits with stuff that looked more elaborate.
 
Sounds like you need to get hold of a ignition module (standard Ford job should do it).

I too am toying with a design along similar lines but for a VW air cooled engine.

I plan to design a DIS system for a particular type of VW air cooled flat four engine as the original ignition components are extremely rare now.

So far I have this:-


**broken link removed**
 
On the output side, the coil primary should be on the drain side of the NFet. An ~60V Transorb snubber between the NFet drain and ground would protect the NFet. Depending on the FET, its input capacitance may be too high for the uP output pin to drive it. If you want to use the uP pin to drive the gate directly, the NFet must be a "logic level gate" type. The coil is probably an autotransformer, so it only has three terminals. You can only drive one spark plug per coil, or you must use a HV distributor between the HV terminal on the coil and multiple spark plugs.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top