Introduction: DIY MUSICAL TESLA COIL

This isn't a regular tesla coil, as you can see in the photo above, the secondary coil of the tesla coil is actually etched on the PCB, a big reason why I did this was because I didn't want to wind coils till my fingers got numb, also cause its smaller. Before I tell you anymore I would like to tell you that this project deals with high voltage and IF YOU DON'T KNOW WHAT YOUR DOING YOU WILL GET HURT, but don't be discouraged, I will teach you enough information to make this build as simple as possible. This device really messes with any sensitive electronics, so keep phones,tablets, computers at least half a meter away, if you have a pacemaker don't build this.

HERE ARE THE PROJECT GOALS:

  • This whole thing should be powered by one 12v power supply.
  • It should play music, like actual music with words and not that 8-bit electronic music garbage.
  • it should be Bluetooth, so i don't destroy my phone.
  • The circuit should be as simple as it possibly can.
  • circuit board has to be same size as coil board.
  • should play for at least 10 minutes without overheating
  • BIG ARCS

Supplies

PARTS LIST (EVERYTHING IS PURCHASED FROM DIGIKEY)

2 X IRFP250

2 X heat sinks (link)

2 X UF4007

4 X 1N4148

UC3843

2 X NE555

74HC14N

UCC37322

LM393

LM358

SCHOTTKY DIODE (12TQ150)

22uH INDUCTOR (link)

ALOT OF RESISTORS 1/4W (check schematic for values)

3 X 1W 5.6 OHM RESISTORS

ALOT OF CAPACITORS (ceramic 103,104,102)

470uF - 1000uF 100v or more electrolytic capacitor (the larger the better)

DC JACK

ROCKER SWITCH (link)

POWER SWITCH (link)

BLUETOOTH RECEIVER BOARD (link)(not purchased from digikey, but can also be found on ebay,aliexpress, etc)

LM7805 OR MORE EFFICIENT (link)

0.2 ohm 5W resistor

Step 1: SCHEMATIC

Don't worry I'll explain how this all works in steps.

Step 2: THE BOOST CONVERTER

Since I wanted to power this thing with a 12v supply and still get pretty big arcs, I have to boost the 12v to a higher voltage, and this circuit achieves that. The uc3843 is a pwm controller which sends a square wave to mosfet Q4, this square wave doesn't have a fixed duty cycle because that determines the output power, the higher the duty cycle the higher the voltage and vice versa. The uc3843 controls the voltage by comparing it to a reference voltage which is set at 2.5v, so all I have to do is put a voltage divider on the output which is set to output 2.5v and feed it back to the feedback pin of the uc3843.

I used R5 to get a variable voltage on the output, which gives me a voltage range of 33V - 65V. R11 and C8 set the output frequency which is 116 KHz. R9 is the current sense resistor, R12 and C9 is a low pass filter which filters any spikes on the current sense resistor. The current sense resistor is set at 0.2 ohm since I didn't want more than 5 amps to be drawn from my supply. The uc3843 achieves this by comparing the output of R9 with a 1v reference signal, so according to ohms law(V/I = R) => 1V/5A = 0.2 ohms. R10 and C6 is a soft start circuit, this is because I cant have the converter shoot to a super high voltage, due to inrush currents. It works by charging the capacitor through the resistor, which takes time, which prevents inrush current. D1 is used as a flyback diode in order to protect the mosfet from inductive spiking. C7 and R1 are the compensation components, which helps keep the output of the boost converter stable, calculating these two values can be tough so I just kept a constant capacitance of 10nF and varied the resistance until I got a suitable output.

If you want more details on how to calculate the oscillator frequency, current sense resistor, output voltage, compensation network and just have a better understanding of how the uc3843 works then visit the datasheet (link).

Step 3: THE DRIVER

Now, this part of the circuit just drives the mosfet Q3 at the resonant frequency of the secondary coil. Initially the mosfet will turn on and let current flow through the primary of the tesla coil which creates a magnetic feild and causes magnetic flux to flow through the secondary coil which creates a bigger magnetic feild, and this magnetic feild oscillates at the resonant frequency of the coil this resonant frequency is fed to the 74HC14N, which is just a not gate. The reason for the not gate is to convert the sine wave of the resonant frequency to a square wave to drive the mosfet, and there is 2 not gates because I didnt want the signal to be 180 degrees out of phase.

D4 and D3 clamp the sine wave to 5v. D6 is to give the fet a faster turn off signal. D10 is used to protective the fets gate from high voltage transients, which happens alot since we are working with a device thats sole purpose is to emit high frequency high voltage arcs.

The UCC37322 is a gate driver, which helps drive the gate of the mosfet, this is important since we need a good gate signal in order to have less losses and better performance. Pin 2 is the input signal of the gate driver which is fed to the resonant sqaure wave. Pin 3 is the enable pin, which is pulled high through an internal resistor, this enable pin can turn the UCC37322 on and off (on when pulled high or left floating and off when pulled to ground). This pin is connected to the interrupter part of the circuit which controls whether the UCC37322 is on/off.

Step 4: THE INTERRUPTER

This is quite easy and all over the web, its a simple 555 timer circuit with variable duty cycle. R6 controls the off-time and R4 controls the on-time of the square wave, this is then fed to pin 3 of the UCC37322, the reason for this interrupter is too not have constant power flow through the primary, since this only creates bushy hot arcs, while I wanted little lighting bolts. The frequency range of the timer is set by C15.

Step 5: THE MUSICAL PART

Now this is the most interesting part of the whole build and the hardest part for me to get working. So in order to hear voices from the sparks I have to run it at constant wave mode which just means the mosfet is on a lot of the time, which translates to more heat, so on "music mode" it takes 10 minutes for the mosfet to reach 70 degrees Celsius, which isn't that bad,but who's gonna listen to music on this thing for 10 minutes straight. The way this circuit works is pretty simple, it pretty much works like how a class d amp works, first I take the music signal from the Bluetooth module which has pins (L,G and R which means left,right and ground), I then amplify this signal with the lm358 and its gain is set by R18, I then compare this signal to a triangle wave. R19 is used to set the offset of the audio since the triangle wave swings from 1/3 VCC to 2/3 VCC. The comparator converts my amplified sine wave into a square wave with the duty cycle being modulated by the frequency of the amplified signal, I got this idea from Great Scott, here's the video. This modulated square wave then goes to pin 3 of the UCC37322 which turns the driver on and off with respect to the music frequency. I drew a quick diagram to help visualize the things I'm talking about. The picture of the oscilloscope is showing the audio signal (purple) and amplified signal (yellow).

Step 6: THE TESLA COIL

This is the tesla coil, as you can see the secondary coil or top side of the PCB is a single 0.15mm trace wound in a circle and has a total of 240 turns. The bottom side of the PCB is a single 3.5mm trace. Now the biggest problem with this design is that this coil has a very high Q factor, which just means the primary and secondary are coupled too close together this limits the arc sizes pretty significantly, the reason I didn't separate it, is because I didn't want to pay for an extra PCB, but if you want better results than me, then you should separate them.

PCB LINK

Step 7: THE PCB

I got my pcb's from JLCPCB. I don't think I should share my design for it because I've made some errors that I had to correct during the trouble shooting phase, like two of the components wouldn't fit, the placement of the regulator was wrong, which gave it a lot of voltage spikes, which killed my bluetooth module tons of times until I finally gave the bluetooth module its own regulator. I'll probably fix the design and post it on here, but I encourage you to create your own design, I used easyeda.

Step 8: SPARK MODE IN ACTION!

Step 9: MUSIC MODE IN ACTION!

Make it Glow Contest

Participated in the
Make it Glow Contest