langster1980

I'm an electronics engineer and uber geek. I mostly spend my time working on electronics projects. I do a lot of development using microcontrollers - particularly using the arduino and mbed....

langster1980 wrote 53 posts

555 Flyback Driver and Plasma Speaker Part III

So here is the complete Plasma speaker circuit in all it’s glory!

It actually creates a significant amount of high voltage and works very well.  I would caution anyone else attempting to replicate this circuit to please be very careful.  I haven’t given myself a shock yet but it could happen and will hurt if it does….Exercise sensible precautions please!

Here is the previous post in case people need to catch up:

555 flyback driver and plasma speaker part II

I have found that the 3D printed HV probe holders work quite well.  I also have found that setting the distance between the probes is critical to obtaining a reproducible arc and that the constant re-strike of the arc causing the audio to sound terrible.  From experimentation I have found that the audio signal from my mobile phone is more than enough to drive the 555 modulation pin when it isn’t capacitively coupled.  When capacitive coupling is added the audio is barely heard.  The capacitor on the audio input reduces the hissing considerably.  Here is a video showing the current audio output of the plasma speaker…it sounds pretty terrible but it does work:

I have decided to do two things….improve the HV probes and provide a simple class A audio amplifier to the pin 5 input of the 555.  This should improve the sound and get rid of the horrible hissing!

So to that end I have designed a very simple single transistor class A amplifier using a BC548 transistor.  Here is the schematic:

In designing the circuit I referred to this website…which is rather useful for this kind of thing:

http://www.learnabout-electronics.org/Amplifiers/amplifiers40.php

I knew how to design a Class A amplifier well enough but I had forgotten how to select the components values correctly…in particular I wanted to increase the low frequency response and limit the bandwidth of the amplifier to reduce the high frequency response.

The circuit works fairly simply…An audio signal from a suitable source is presented at the 3.5 mm headphone jack input – only one side of the audio signal is provided – this amplifier is mono. This is then passed to C1 – a 1 uF electrolytic capacitor which is used to remove any dc offset and chosen in such a way as to not overly affect the bass response of the amplifier (more on this later).  The next components in the circuit are R3 and R4 which bias the NPN BC548 transistor into constantly being ON.  These values are set by ohms law.  We need at least 0.7 volts to turn an NPN transistor ON. Lets do the maths just for fun:

Ohms Law; V / R = I

In this case:

V: 12 Volts
Rt: R3 + R4 which is 120 kΩ + 10 kΩ = 130 kΩ

I = V / Rt

I = 12 V / 130 kΩ

I = 9.23076923077 * 10^-5 A or 92.3 µA

The voltage applied to the base of the BC548 transistor can be calculated by = I * R4
therefore the voltage applied to the base of the BC548 transistor:

92.3 *10^-6 A * 10 kΩ

The voltage applied to the base of the BC548 transistor is 0.923 Volts or 923 mV

The circuit has been designed so that 0.923 volts is always applied to the base pin of the transistor to ‘bias’ the transistor ON.  The audio signal applied will increase this voltage and be amplified.  The next components applied to the collector of the transistor are a 10 kΩ potentiometer and a 100 Ω resistor.  At the emitter of the transistor we have another 10 kΩ  potentiometer and a 10 uF capacitor. All of these components combined set the gain of the amplifier. There are formulae that can be applied to calculate the amount of gain.  I guessed at it…It’s not particularly important in this case. When the potentiometers are at maximum (according to my simulations) the input signal is amplified roughly 130 times greater than the input…the amount of gain is controlled both 10 kΩ  potentiometers which can be set by the operator.  The 10 uF electrolytic capacitor C3 is known as the emitter decoupling capacitor and is added to prevent any stray audio signal being present on the emitter pin of the transistor.

Finally at the output of the amplifier we have a 1 nF ceramic capacitor C4 and a 10 uF electrolyitic capacitor C2.  The electrolytic capacitor C2 prevents any dc voltage being passed to the next stage of the circuit, in our case, pin 5 of the 555 timer. C4 is used to limit the bandwidth of the amplifier.  In this case I have set all of the capacitor values to set the amplifier’s frequency bandwidth to be between 200 Hz and 20 kHz which is roughly the range of human hearing.

I simulated the circuit in order to check what the output would be like and check the gain would be sufficient and to verify the frequency response.  It was helpfully not clipped and gave a good amplified approximation of what was to be expected.

Here are the results of the simulation…I have placed probes at the more interesting points in the circuit:

Simulation Schematic

Here is the simulated oscilloscope output:

The input signal is shown with the blue trace, the red trace shows the amplified output.  The output is inverted but that won’t matter in this case.

The really good thing about simulating circuits is that the frequency bandwidth can be checked without actually building the circuit.  Here is the simulated audio frequency response of the amplifier:

If the capacitor values C1, C3 and C4 are changed for different values the frequency response of the amplifier is significantly affected.  C1’s value changes the bass frequency responses, C3 changes the treble response and C4 changes the bandwidth of the amplifier.  In this case I have tweaked the values to try to give the best response between 200 Hz and 20 kHz without losing too much bandwidth.

Because its me I’ve designed a simple single sided PCB for this circuit.  It could easily be made on veroboard (stripboard) or using some other method.

Top Layer of PCB
Bottom Layer of PCB


Here is a render of the PCB to show how it will look once etched and populated:

Top View of Class A Amplifier Render
ISO view of Class A Amplifier Render

Here is the bill of materials:

Part Value Device Description Vendor Part Number Quantity Cost
(£)
12VDC_INPUT N/A M025MM Standard 2-pin 5mm screw terminal Farnell 9632972 1 0.245
AUDIO_OUT N/A M025MM Standard 2-pin 5mm screw terminal Farnell 9632972 1 0.245
C1 1uF CAP_POLPTH1 Electrolytic Capacitor Farnell 1236686 1 0.0464
C2 10uF CAP_POLPTH1 Electrolytic Capacitor Farnell 9451056 1 0.034
C3 10uF CAP_POLPTH1 Electrolytic Capacitor Farnell 9451056 1 0.034
C4 1nF CAPPTH1 Ceramic Capacitor Farnell 1141779 1 0.0758
C5 100uF CAP_POLPTH1 Electrolytic Capacitor Farnell 1902882 1 0.0345
C6 100nF CAPPTH1 Ceramic Capacitor Farnell 1141775 1 0.0721
JP1 N/A AUDIO-JACKPTH 3.5mm Audio Jack Farnell 1608405 1 0.534
R2 100 RESISTORPTH-1/4W ? Watt Carbon Film Resistor Farnell 9342397 1 0.0523
R3 120k RESISTORPTH-1/4W ? Watt Carbon Film Resistor Farnell 9342540 1 0.0492
R4 10k RESISTORPTH-1/4W ? Watt Carbon Film Resistor Farnell 9342419 1 0.0523
RV1 10k POTALPS-KIT PCB Mount Variable Resistor Farnell 1191725 1 1.4
RV2 10k POTALPS-KIT PCB Mount Variable Resistor Farnell 1191725 1 1.4
T1 BC549 BC549-NPN-TO92-CBE BC549 NPN Transistror Farnell 2453797 1 0.238
Total 4.5126

Again I haven’t factored in the cost of the PCB or it’s manufacture but it would be reasonable to estimate the total cost of the project to be around £6.00

Here is a quick video showing the circuit in operation with the plasma speaker.  The audio is very much improved!

Now I need to get back to putting the HV section and the electronics into some sort of casing.  That’s all for now – take care people!

555 Flyback Driver and Plasma Speaker

I haven’t really had much electronics inspiration at the moment.  It can be like that sometimes…So I decided to fill my time with a display project.  I’m going to build a simple plasma speaker!  These are essentially just a high voltage arc being modulated with audio to produce sound.  They aren’t particularly good at producing sound and are quite dangerous so they aren’t used apart from for effect.

WARNING – This is a High Voltage circuit!  Using Flyback transformers without due care and attention is DANGEROUS. Lethal voltage and current is present when operating this circuit.  The author is not responsible for anything which occurs by constructing or operating this circuit!

There are lots of tutorials and videos on YouTube and Instructables about this subject.  I used the site below as my inspiration:

http://www.instructables.com/id/Audio-modulated-flyback-transformer-driver/?ALLSTEPS

Here is the schematic diagram for the circuit:

The circuit is fairly simple in operation.  Power is supplied via a standard 12 Vdc 5 amp power supply via the DC barrel socket or via the 5 mm screw terminal JP1.  The 12 volt supply is smoothed by the 100 uF and 100 nF capacitors.

The main part of the circuit is made up of a 555 timer in astable mode.  Astable means there will be a constantly repeating 12 volt peak square present at pin 3.  The frequency of the square wave is set by the 50 k potentiometer RV1.  The mark space ratio of the square wave (the width of each pulse and the gap between each pulse) is set by the 50 k potentiometer RV2.  The output at pin 3 is used to drive two bipolar transistors which in turn drive a high current, high voltage N-type MOSFET.  The MOSFET will drive a flyback transformer which will have it’s output at the secondary spaced so as to draw a high voltage arc.  The flyback transformer will be connected externally via the 5 mm screw terminal JP3.

The audio signal for the plasma speaker will be coupled to the circuit via the 5 mm screw terminal JP2.  This will take in a standard audio signal either from an audio amplifier or directly from an audio source such as an MP3 player or a signal generator – I haven’t decided yet!

To make things easy for me and to ensure this circuit works as intended I simulated the circuit first. It works perfectly well.  The voltage generated by flyback transformer at the secondary should be around 1.7 kV assuming I have guessed at the turns ratio of the flyback transformer correctly.

I then designed a printed circuit board for the circuit.  I find it much easier to lay circuit boards out than to use stripboard to create circuits however stripboard would work perfectly well.

Here is the PCB layout:

Plasma Speaker Top Layer
Plasma Speaker Bottom Layer
Both layers with dimensions

In designing this layout I was trying to make the circuit as small as possible but still use through hole components.  I find it much easier to work with through hole components when prototyping.  If I was going to make more of these circuits I would design with surface mount components and reduce the size to less than 50 mm x 50 mm.  This way I can get PCBS made for a reasonable price in China by Elecrow.

Just for fun I’ve rendered the circuit in 3D using Sketchup so that I can visualise how the circuit will look once it is complete.  It also means I can spot any potential construction and layout issues before I etch and populate the PCB.

Isometric Render of populated Plasma Speaker PCB
Top View of Plasma Speaker PCB

In order to populate the PCB the following components will be required:

Part Value Description Vendor Part Number Cost (£)

C1 10 nF Ceramic Capacitor Farnell 1141772 0.0851
C2 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C3 220 nF Ceramic Capacitor Farnell 2395774 0.132
C4 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C5 100 uF Electrolytic Capacitor Farnell 2346578 0.1178
D1 UF4007 High Speed Diode Farnell 4085310 0.372
IC1 ICM7555 CMOS 555 timer Farnell 9488243 0.528
J1 n/a 2.5mm DC barrel Jack Farnell 1737246 0.469
JP1 n/a 5mm Screw terminal Farnell 2493614 0.16
JP2 n/a 5mm Screw terminal Farnell 2493614 0.16
JP3 n/a 5mm Screw terminal Farnell 2493614 0.16
JP4 Jumper 2 pin header Farnell 3418285 0.27
KK1 SK104 Heatsink TO247 Heatsink Farnell 1892329 1.06
Q1 BC549 TO92 NPN Transistor Farnell 2453797 0.232
Q2 BC559 TO92 PNP Transistor Farnell 2453808 0.232
Q3 IRFP250 TO247 High Power MOSFET Farnell 8649260 1.26
R1 270 Ohms ¼ Watt Carbon film Resistor Farnell 9339353 0.0356
R2 22 Ohms 1 Watt Carbon Film Resistor Farnell 1565366 0.0664
R3 150 Ohms 1 Watt Carbon Film Resistor Farnell 1565346 0.0664
RV1 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28
RV2 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28

The total cost of components, not including the PCB or flyback transformer will be:

£8.12

Flyback transformers can be very easily sourced from old televisions, junk shops and everyone’s favourite online auction site:

Ebay – Flyback Transformer

They are currently on sale for £7.81 – I remember them being cheaper but they are becoming more rare!

I’m guessing at the cost of making and etching a PCB for this project at £3.00

That brings the total cost to £18.93

Not bad I suppose…I’ll probably etch and populate a PCB and test the circuit in the next post.  That’s all for now

Take care people – Langster!

555 Flyback Driver and Plasma Speaker

I haven’t really had much electronics inspiration at the moment.  It can be like that sometimes…So I decided to fill my time with a display project.  I’m going to build a simple plasma speaker!  These are essentially just a high voltage arc being modulated with audio to produce sound.  They aren’t particularly good at producing sound and are quite dangerous so they aren’t used apart from for effect.

WARNING – This is a High Voltage circuit!  Using Flyback transformers without due care and attention is DANGEROUS. Lethal voltage and current is present when operating this circuit.  The author is not responsible for anything which occurs by constructing or operating this circuit!

There are lots of tutorials and videos on YouTube and Instructables about this subject.  I used the site below as my inspiration:

http://www.instructables.com/id/Audio-modulated-flyback-transformer-driver/?ALLSTEPS

Here is the schematic diagram for the circuit:

The circuit is fairly simple in operation.  Power is supplied via a standard 12 Vdc 5 amp power supply via the DC barrel socket or via the 5 mm screw terminal JP1.  The 12 volt supply is smoothed by the 100 uF and 100 nF capacitors.

The main part of the circuit is made up of a 555 timer in astable mode.  Astable means there will be a constantly repeating 12 volt peak square present at pin 3.  The frequency of the square wave is set by the 50 k potentiometer RV1.  The mark space ratio of the square wave (the width of each pulse and the gap between each pulse) is set by the 50 k potentiometer RV2.  The output at pin 3 is used to drive two bipolar transistors which in turn drive a high current, high voltage N-type MOSFET.  The MOSFET will drive a flyback transformer which will have it’s output at the secondary spaced so as to draw a high voltage arc.  The flyback transformer will be connected externally via the 5 mm screw terminal JP3.

The audio signal for the plasma speaker will be coupled to the circuit via the 5 mm screw terminal JP2.  This will take in a standard audio signal either from an audio amplifier or directly from an audio source such as an MP3 player or a signal generator – I haven’t decided yet!

To make things easy for me and to ensure this circuit works as intended I simulated the circuit first. It works perfectly well.  The voltage generated by flyback transformer at the secondary should be around 1.7 kV assuming I have guessed at the turns ratio of the flyback transformer correctly.

I then designed a printed circuit board for the circuit.  I find it much easier to lay circuit boards out than to use stripboard to create circuits however stripboard would work perfectly well.

Here is the PCB layout:

Plasma Speaker Top Layer
Plasma Speaker Bottom Layer
Both layers with dimensions

In designing this layout I was trying to make the circuit as small as possible but still use through hole components.  I find it much easier to work with through hole components when prototyping.  If I was going to make more of these circuits I would design with surface mount components and reduce the size to less than 50 mm x 50 mm.  This way I can get PCBS made for a reasonable price in China by Elecrow.

Just for fun I’ve rendered the circuit in 3D using Sketchup so that I can visualise how the circuit will look once it is complete.  It also means I can spot any potential construction and layout issues before I etch and populate the PCB.

Isometric Render of populated Plasma Speaker PCB
Top View of Plasma Speaker PCB

In order to populate the PCB the following components will be required:

Part Value Description Vendor Part Number Cost (£)

C1 10 nF Ceramic Capacitor Farnell 1141772 0.0851
C2 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C3 220 nF Ceramic Capacitor Farnell 2395774 0.132
C4 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C5 100 uF Electrolytic Capacitor Farnell 2346578 0.1178
D1 UF4007 High Speed Diode Farnell 4085310 0.372
IC1 ICM7555 CMOS 555 timer Farnell 9488243 0.528
J1 n/a 2.5mm DC barrel Jack Farnell 1737246 0.469
JP1 n/a 5mm Screw terminal Farnell 2493614 0.16
JP2 n/a 5mm Screw terminal Farnell 2493614 0.16
JP3 n/a 5mm Screw terminal Farnell 2493614 0.16
JP4 Jumper 2 pin header Farnell 3418285 0.27
KK1 SK104 Heatsink TO247 Heatsink Farnell 1892329 1.06
Q1 BC549 TO92 NPN Transistor Farnell 2453797 0.232
Q2 BC559 TO92 PNP Transistor Farnell 2453808 0.232
Q3 IRFP250 TO247 High Power MOSFET Farnell 8649260 1.26
R1 270 Ohms ¼ Watt Carbon film Resistor Farnell 9339353 0.0356
R2 22 Ohms 1 Watt Carbon Film Resistor Farnell 1565366 0.0664
R3 150 Ohms 1 Watt Carbon Film Resistor Farnell 1565346 0.0664
RV1 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28
RV2 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28

The total cost of components, not including the PCB or flyback transformer will be:

£8.12

Flyback transformers can be very easily sourced from old televisions, junk shops and everyone’s favourite online auction site:

Ebay – Flyback Transformer

They are currently on sale for £7.81 – I remember them being cheaper but they are becoming more rare!

I’m guessing at the cost of making and etching a PCB for this project at £3.00

That brings the total cost to £18.93

Not bad I suppose…I’ll probably etch and populate a PCB and test the circuit in the next post.  That’s all for now

Take care people – Langster!

555 Flyback Driver and Plasma Speaker

I haven’t really had much electronics inspiration at the moment.  It can be like that sometimes…So I decided to fill my time with a display project.  I’m going to build a simple plasma speaker!  These are essentially just a high voltage arc being modulated with audio to produce sound.  They aren’t particularly good at producing sound and are quite dangerous so they aren’t used apart from for effect.

WARNING – This is a High Voltage circuit!  Using Flyback transformers without due care and attention is DANGEROUS. Lethal voltage and current is present when operating this circuit.  The author is not responsible for anything which occurs by constructing or operating this circuit!

There are lots of tutorials and videos on YouTube and Instructables about this subject.  I used the site below as my inspiration:

http://www.instructables.com/id/Audio-modulated-flyback-transformer-driver/?ALLSTEPS

Here is the schematic diagram for the circuit:

The circuit is fairly simple in operation.  Power is supplied via a standard 12 Vdc 5 amp power supply via the DC barrel socket or via the 5 mm screw terminal JP1.  The 12 volt supply is smoothed by the 100 uF and 100 nF capacitors.

The main part of the circuit is made up of a 555 timer in astable mode.  Astable means there will be a constantly repeating 12 volt peak square present at pin 3.  The frequency of the square wave is set by the 50 k potentiometer RV1.  The mark space ratio of the square wave (the width of each pulse and the gap between each pulse) is set by the 50 k potentiometer RV2.  The output at pin 3 is used to drive two bipolar transistors which in turn drive a high current, high voltage N-type MOSFET.  The MOSFET will drive a flyback transformer which will have it’s output at the secondary spaced so as to draw a high voltage arc.  The flyback transformer will be connected externally via the 5 mm screw terminal JP3.

The audio signal for the plasma speaker will be coupled to the circuit via the 5 mm screw terminal JP2.  This will take in a standard audio signal either from an audio amplifier or directly from an audio source such as an MP3 player or a signal generator – I haven’t decided yet!

To make things easy for me and to ensure this circuit works as intended I simulated the circuit first. It works perfectly well.  The voltage generated by flyback transformer at the secondary should be around 1.7 kV assuming I have guessed at the turns ratio of the flyback transformer correctly.

I then designed a printed circuit board for the circuit.  I find it much easier to lay circuit boards out than to use stripboard to create circuits however stripboard would work perfectly well.

Here is the PCB layout:

Plasma Speaker Top Layer
Plasma Speaker Bottom Layer
Both layers with dimensions

In designing this layout I was trying to make the circuit as small as possible but still use through hole components.  I find it much easier to work with through hole components when prototyping.  If I was going to make more of these circuits I would design with surface mount components and reduce the size to less than 50 mm x 50 mm.  This way I can get PCBS made for a reasonable price in China by Elecrow.

Just for fun I’ve rendered the circuit in 3D using Sketchup so that I can visualise how the circuit will look once it is complete.  It also means I can spot any potential construction and layout issues before I etch and populate the PCB.

Isometric Render of populated Plasma Speaker PCB
Top View of Plasma Speaker PCB

In order to populate the PCB the following components will be required:

Part Value Description Vendor Part Number Cost (£)

C1 10 nF Ceramic Capacitor Farnell 1141772 0.0851
C2 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C3 220 nF Ceramic Capacitor Farnell 2395774 0.132
C4 100 nF Ceramic Capacitor Farnell 1141775 0.0721
C5 100 uF Electrolytic Capacitor Farnell 2346578 0.1178
D1 UF4007 High Speed Diode Farnell 4085310 0.372
IC1 ICM7555 CMOS 555 timer Farnell 9488243 0.528
J1 n/a 2.5mm DC barrel Jack Farnell 1737246 0.469
JP1 n/a 5mm Screw terminal Farnell 2493614 0.16
JP2 n/a 5mm Screw terminal Farnell 2493614 0.16
JP3 n/a 5mm Screw terminal Farnell 2493614 0.16
JP4 Jumper 2 pin header Farnell 3418285 0.27
KK1 SK104 Heatsink TO247 Heatsink Farnell 1892329 1.06
Q1 BC549 TO92 NPN Transistor Farnell 2453797 0.232
Q2 BC559 TO92 PNP Transistor Farnell 2453808 0.232
Q3 IRFP250 TO247 High Power MOSFET Farnell 8649260 1.26
R1 270 Ohms ¼ Watt Carbon film Resistor Farnell 9339353 0.0356
R2 22 Ohms 1 Watt Carbon Film Resistor Farnell 1565366 0.0664
R3 150 Ohms 1 Watt Carbon Film Resistor Farnell 1565346 0.0664
RV1 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28
RV2 100 k-Ohms ALPS PCB mount Potentiometer Farnell 1191742 1.28

The total cost of components, not including the PCB or flyback transformer will be:

£8.12

Flyback transformers can be very easily sourced from old televisions, junk shops and everyone’s favourite online auction site:

Ebay – Flyback Transformer

They are currently on sale for £7.81 – I remember them being cheaper but they are becoming more rare!

I’m guessing at the cost of making and etching a PCB for this project at £3.00

That brings the total cost to £18.93

Not bad I suppose…I’ll probably etch and populate a PCB and test the circuit in the next post.  That’s all for now

Take care people – Langster!