Home » This Is How Electronic Ignition Works And Also How To Make A Spark Plug Play Music

This Is How Electronic Ignition Works And Also How To Make A Spark Plug Play Music

Sparkmusic Top
ADVERTISEMENT

Do you know how the spark plugs in an electronic ignition system works?

Are you sure you do?

Vidframe Min Top
Vidframe Min Bottom

Recently, while texting with my friend Roger, he and I both realized that, despite both of us having owned cars with electronic ignition, we didn’t really know how spark plugs works, at least not beyond the broadest strokes of “Ignition make spark. Spark make fire. Fire make engine go.” We decided to dig deeper and find out.

Electromechanical Ignition Systems

In the dark ages before electronics became cheap, ubiquitous, and ruined our attention spans while tearing our social fabric asunder, ignition systems were electromechanical, and at their heart was the distributor. These electromechanical devices are responsible for helping the ignition coil generate sparks and for directing the sparks to the appropriate cylinders.

Since not everyone reading this is going to be familiar with how distributor-based ignition systems work, let’s briefly go through it. As you probably know, the fuel-air mixture that enters the cylinders of a gasoline engine is ignited by high-voltage sparks jumping across the electrodes on the ends of the spark plugs that protrude into the cylinders. The high voltage necessary for those sparks is generated by the ignition coil, a small transformer that turns the 12 volts from the car’s battery into many thousands of volts.

ADVERTISEMENT

Since ignition timing is vitally important to the efficient operation of an engine, the system needs something that will trigger the ignition coil to generate sparks at just the right moment in the engine’s cycle. That’s where the distributor comes in.

The distributor is directly coupled to the rotation of the engine, and as it itself rotates, it opens and closes a switch commonly referred to as “points.” Each time the points close, 12 volts from the battery flows into the primary winding of the ignition coil, creating a magnetic field in the core of the coil. As the distributor continues rotating, the points open, breaking the coil’s connection to the battery, and causing that magnetic field to collapse. As the field collapses, it creates a voltage spike across the secondary winding of the coil.

At the same time, the distributor’s rotor — a rotating electrical contact — is connecting the high voltage output of the coil to the spark plug of the cylinder that is ready for combustion.

As the field collapses, it creates a voltage spike across the secondary winding of the coil. At the same time, the distributor’s rotor connects the high-voltage output of the coil to the spark plug of the cylinder that is ready for combustion. Here’s a handy gif that shows all of it in operation:

ADVERTISEMENT

Electronic Ignition Systems

With that knowledge of distributor-based systems fresh in our minds, let’s consider electronic ignition systems again and note the differences between them and their predecessors. One obvious difference is that there is no distributor — its functions have been taken over by the ECU, which keeps ignition timing matched to engine rotation by way of a crank position sensor. Well, early electronic ignition systems did have distributors, but by the 1990s, when coil-on-plug-based systems came out, then distributors went away.

Another difference is that many of these modern systems have a coil on each spark plug rather than a single, central coil providing the high voltage for all the spark plugs. And that takes us back to the discussion I was having with Roger. How does one of these work?

Pic 2

On an older-style ignition coil, you are likely to find three terminals: positive, ground, and high voltage. It’s simple enough: 12 volts from the battery goes to the positive germinal, the negative terminal is connected to ground, and the high voltage terminal is connected to the distributor cap.

Pic 3

ADVERTISEMENT

On the other hand, modern ignition coils have four or even five terminals, and looking at one of these coils doesn’t reveal much other than which terminal is high voltage (it’s the one that attaches to the spark plug).
By looking around online, I found that the other terminals comprise a 12-volt connection from the battery, a connection to ground, and one or two other mysterious terminals labeled IGT and sometimes IGF.

Pic 4

It turns out they stand for IGnition Trigger and IGnition Feedback, and that they are connected directly to the ECU. The IGT terminal receives a signal from the ECU telling the coil when to spark. The IGF terminal, which not all coils have, passes a signal back to the ECU to tell it whether it successfully fired off a spark. That’s how an ECU can sense a misfire on a cylinder. So, what’s actually going on inside of one of these kinds of coils? Unfortunately, their internal components are encased in epoxy, protecting them from vibration and moisture, but also making it difficult to examine them. Helpfully though, someone created this schematic of an ignition coil from an LS1 that we can look at for clues.

Pic 5

The specific components used in electronic ignition coils vary from manufacturer to manufacturer, but the important thing to note here is the piece of the circuit labeled “igniter.” That bit of circuitry is an electronic switch and takes the place of the contacts in a distributor. Instead of connecting the coil’s primary winding to 12 volts as a distributor rotates, the circuitry connects the primary winding to 12 volts when it receives a 5-volt signal from the ECU. That was an interesting bit of information because it meant it would be pretty simple to control one of these ignition coils without an ECU.

ADVERTISEMENT

Look Ma, No ECU

A couple of weeks after the text conversation I had with Roger, my dad asked for my assistance changing the spark plugs on my mom’s Toyota minivan, so I stopped by their house to help out and found out he was also replacing the van’s ignition coils. I ended up taking one of the old coils home with me. I texted Roger that I now had a coil we could experiment with, so he set about building a board that would let us wire an Arduino (an easy-to-program microcontroller) to the coil, and I designed and 3D printed a connector that plugs into the coil so we wouldn’t have to go to the junkyard to pull one out of another Toyota.

Pic 6

The next day, we met up and married my coil to his Arduino board, and when we connected everything to power, we got the result we wanted. The ignition coil was making sparks, about 8 per second.

Pic 7

It was a good first experiment, but we wanted to test the limits of the coil. We modified the board and the code running on the Arduino and we pretty soon had a setup that let us take the coil up to the red line of a Toyota Sienna — 7,000 rpm. In a four-stroke engine, like the one in the Sienna, a spark is only needed for ignition every other rotation, so a coil-on-plug coil on an engine spinning at 7,000 rpm will need to make 3,500 sparks per minute or about 58 sparks per second. A knob that we wired to the Arduino board let us change the frequency of those parks, right up to what would be the red line, and the coil handled it without protest.

ADVERTISEMENT

Pic 8

A Spark Plug Symphony

We didn’t want to stop there. I had mentioned to Roger that if we could trigger the coil at a high enough frequency, we would be able to generate musical notes. Neither of us knew if that was going to be possible though. For reference, middle C on a piano is about 261 hertz, meaning the coil would have to be triggered 261 times a second to generate that note, and that would be almost five times the Sienna’s redline. Would the coil be able to handle that kind of abuse? There was only one way to find out, so Roger rewrote his code, and here is the result:

Final Thoughts

Ok, so that was fun, but is any of this useful for anything? A musical ignition coil might not be, but the idea of using an Arduino to control ignition coils has merit, and we were not the first to think of this. In fact, since 2013, Speeduino, an open-source ECU system that uses an Arduino as its core, has been under ongoing development. I’ve never used one, so I can’t speak to how well they work, but it looks like a very interesting project. In any case, knowledge is power, and hopefully, you know a little bit more about electronic ignition systems than you used to. If you’re interested in reading more, I recommend stopping by Roger’s blog, where he has dedicated several posts to this ignition coil, the driver board he built for it, and the code he’s running on it.

 

Relatedbar

ADVERTISEMENT

How I Actually Saved Money By Printing 3D Parts For My Truck

I Built An E-Bike Entirely Out Of Trash

The New 2023 Toyota Prius is Sleeker, Bigger, Quieter and More Powerful, So Why Am I Bummed Out?

Share on facebook
Facebook
Share on whatsapp
WhatsApp
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on reddit
Reddit
Subscribe
Notify of
41 Comments
Inline Feedbacks
View all comments
10MM Socket
10MM Socket
5 months ago

Awesome article!

Kevin B Rhodes
Kevin B Rhodes
5 months ago

A bit of gentle correction. The things under the distributor cap that the rotor “points” to that send the spark to the right cylinder are NOT “the points”. Points, and the condenser that goes with them, are a thing below there creates the high voltage by causing a voltage spike by interrupting the current flow to the coil. These were what the original electronic ignition systems replaced, long before coil-on-spark became a thing and replaced the distributor itself with lots of computerized magic, In that animated gif, the points are the thing that the green bar being turned by the yellow square is opening and closing. That yellow square is the distributor shaft that is also turning the rotor. In most if not all distributors, you pull the cap and rotor off, then a little plate below the rotor, and the points and condenser are there. Sometimes the condenser is on the outside of the distributor body though.

Torch, being a Beetle aficionado is probably intimately familiar with them. Despite having owned some old crockes, I have never actually owned a car that still had points and a condenser, as my Series Land Rovers, Saab Sonetts, and Spitfires had all been upgraded to simple drop in electronic ignition systems by the time I bought them. Crane and Pertronix.

Thank God, as points and condensers are about the #1 cause of old cars not going when you want them to, or running badly. They fail early and often in many cases.The gap could close up, they would get burned, the condensers would fail. Getting rid of them is a very good first step to make an old crocke a lot more reliable and less maintenance-intensive.

Emily Velasco
Emily Velasco
5 months ago
Reply to  Kevin B Rhodes

Sorry! Something got garbled during the editing process, but we’ve fixed it now.

TOSSABL
TOSSABL
5 months ago

So, someone said, ‘Musical saws? Ha! Hold my beer!’ I love this kind of stuff cause the world is always in need of a bit of absurdity

Ben
Ben
5 months ago

This is quality Autopian!

David Lorengo
David Lorengo
5 months ago

Someone should make a piano with 88 spark plugs.

Phuzz
Phuzz
5 months ago
Reply to  David Lorengo

If lookmumnocomputer hasn’t made one already I’d be surprised.

PresterJohn
PresterJohn
5 months ago

This is awesome in the same way as the article a while back on using LEAF batteries for home backup. The hacker spirit applied to cars!!

Chronometric
Chronometric
5 months ago

Nice project and excellent implementation. Thanks for sharing.

Crank Shaft
Crank Shaft
5 months ago

This is cool. I’ve been having all kinds of fun with the I2C bus lately. Also, Bambu is so calling my name.

LMCorvairFan
LMCorvairFan
5 months ago

Used to do this with printers.

CSRoad
CSRoad
5 months ago

Coil on Plug is just that. IMO nothing special.
I’m sure the old style coil could play music just as well.
Not to undermine the coolness of the musical spark plug though.

Emily Velasco
Emily Velasco
5 months ago
Reply to  CSRoad

The old style absolutely could play music, but not controlled by a GPIO pin of a microcontroller, at least not without some additional circuitry

CSRoad
CSRoad
5 months ago
Reply to  Emily Velasco

A set of ignition points only makes and breaks ground to trigger a spark as do most TCI boxes.
Not too much extra magic required. (-;

Emily Velasco
Emily Velasco
5 months ago
Reply to  CSRoad

How are you going to open and close ignition points fast enough and with enough variability in frequency to play musical notes though?

An igniter would do it, but that’s additional circuitry

CSRoad
CSRoad
5 months ago
Reply to  Emily Velasco

I think point bounce would kill it.
A switching transistor perhaps?
Anyway something to control and initiate it.
What’s an igniter? (-;

Fuzzyweis
Fuzzyweis
5 months ago

Awesome! So this could be an add-on for people that use engines as coffee tables in their living rooms, put 8 spark plugs in there hooked up like this and get a bluetooth receiver and have a bluetooth speaker engine!

BigThingsComin
BigThingsComin
5 months ago
Reply to  Fuzzyweis

Power chords forever!

Mark Tucker
Mark Tucker
5 months ago

Very cool! Arduinos are another one of those things I haven’t gotten around to messing with yet, but I really should. The possibilities do seem endless.

Parsko
Parsko
5 months ago
Reply to  Mark Tucker

Try Circuitpython. You’ll get further, faster, and will probably never hit your limits.

Tagarito
Tagarito
5 months ago

Muscle memory made me grab my pocket when that Nokia tune played. Surely it can belt out a certain Benni Benassi hit in the low double digit Hz

Mechjaz
Mechjaz
5 months ago
Reply to  Tagarito

That squarewave is so good for a little while. Somehow “Satisfaction” came up in YouTube recently and that took me back.

Brau Beaton
Brau Beaton
5 months ago

A total “AHA” moment for me, LOL! Auto-Tune has finally come to the Autopian! Never knew that could be done. Now I really want to see you jam one into a trumpet mouthpiece and hear what it sounds like.

Rafael
Rafael
5 months ago

That’s cool, too bad my phone isn’t rendering the full article correctly…
I remember seeing some sort of arcs speaker somewhere, but I also remember that it ionizes gas (or something) , so perhaps it is better not use it too long indoors. But having it on in the dark must be awesome!
EDIT – I think I was thinking about something like this: http://www.noiseaddicts.com/2009/04/plasma-speakers/

Last edited 5 months ago by Rafael
Greensoul
Greensoul
5 months ago

Sooooo, if my car backfires a few times its trying to belt out some Beethoven? Good to know

Autopizen
Autopizen
5 months ago

Great fun. Thanks for the education & story, Emily.

Widgetsltd
Widgetsltd
5 months ago

That’s pretty rad stuff! The ignition coil setup is much more affordable than making music with a Formula 1 car.
Renault F1 engine playing God Save the Queen (youtube.com)

Tartpop
Tartpop
5 months ago

Awesome! What an interesting article, and great choice of tunes!

Cayde-6
Cayde-6
5 months ago

You can also use old floppy disk drives to make music, but I would assume that to be Torch’s instrument.

Is this the beginnings of the Autopian Philharmonic Orchestra?

Last edited 5 months ago by Cayde-6
JKcycletramp
JKcycletramp
5 months ago
Reply to  Cayde-6

Autopian Rustarmonic Orchestra

Cayde-6
Cayde-6
5 months ago
Reply to  JKcycletramp

I’d say that DT’s instrument would be a xylophone made from old Jeep leaf springs

RKranc
RKranc
5 months ago
NewBalanceExtraWide
NewBalanceExtraWide
5 months ago

I’m going to see a show tonight played my a nerd who circuit bends electric organs and makes his own “drum buddy.” There may also be puppets. This is the intersection of interests I need more of in my life.

Emily Velasco
Emily Velasco
5 months ago

I’ve been wanting to build a Drum Buddy for years! That sounds like a fun night.

Fjord
Fjord
5 months ago

This is exactly the kind if in-depth investigative reporting I expect to find here. Excellent work from all involved.

Emily Velasco
Emily Velasco
5 months ago
Reply to  Fjord

Thank you! This was an interesting rabbit hole to venture down.

Lizardman in a human suit
Lizardman in a human suit
5 months ago
Reply to  Fjord

And no, the commentor was not being sarcastic, folks. We love this weird site

Totally not a robot
Totally not a robot
5 months ago
Reply to  Fjord

I didn’t know I needed Spark Plug Mario in my life, but it turns out that’s actually the perfect way to start a long Monday.

Lockleaf
Lockleaf
5 months ago

That is a pretty bitchin’ project. I love auto related Arduino projects. The tones out of the spark plug are very MIDI sounding. I laughed when it started playing the old Nokia 1500 series ring tone. Well done.

AssMatt
AssMatt
5 months ago
Reply to  Lockleaf

Yes, those were some timeless classics…that almost definitely place Roger at juuuust under 50 years old (like me). What’s the (probably German) word for “the feeling you get when you realize that people who grew up with the same stuff you did are responsible for day-to-day decisions that shape the world?”

David Smith
David Smith
5 months ago
Reply to  AssMatt

“the feeling you get when you realize that people who grew up with the same stuff you did are responsible for day-to-day decisions that shape the world?”

Oh, shit?

Maybe that’s just me.

41
0
Would love your thoughts, please comment.x
()
x