Electronic – How is the square wave circuit able to turn itself on

bjtringing

I built a small 1-to-1 transformer from a ferrite core, to investigate if it could be used as a MOSFET gate drive transformer. I use speaker wire, it has two insulated conductors. I am driving the transformer from a 12 volt DC power supply. The transformer is switched on/off with a 2N5551. The drive signal is generated using a 555 and an additional 2N5551 so that I can have less than a 50% duty cycle. The actual scope trace shows the drive signal, so I won't include the specifics of the 555 circuit.

For completeness, here is my circuit

schematic

simulate this circuit – Schematic created using CircuitLab

As I indicated above, CLK1 is not an actual 50/50 square wave. It's generated by a 555. Both DC power supplies are mains transformers feeding full bridge rectifiers, smoothing capacitors, and a 78xx regulator.

The issue I am seeing is that when Q1 turns on current flows in the primary. When Q1 turns off, current stops in the primary. Some time later, a voltage spike occurs on the base of Q1, then turning it on briefly again. This spike is a mystery to me. I call this the "free" trigger.

I noticed this if I add a 472K (4.7 nF) capacitor the primary, I saw the "free" trigger of Q1 move to the right in time. So I installed a 473K capacitor (47 nF) and the "free" trigger disappeared entirely. I'm not really sure what the output of this transformer should look like, but it at least looked normal once I did that.

why does this "free" triggering occur? Why does the capacitor fix the problem? Does the capacitor cause other problems when trying to operate a gate drive transformer?

Picture of the physical setup

enter image description here

enter image description here

enter image description here

CH1: secondary of XFMR1, CH2: base of Q1

enter image description here

enter image description here

CH1: secondary of XFMR1, CH2: AC coupling to V1

enter image description here

CH1: secondary of XFMR1, CH2: Base of Q1

enter image description here

Ch2: secondary of XMFR1, CH2: Base of Q1. 472K cap. in parallel with primary of transformer

enter image description here

CH1: secondary of XMFR1, CH2: Base of Q1. 473K cap. in parallel with primary of transformer.

Best Answer

When Q1 turns off, current stops in the primary

No it certainly doesn't. Whatever current was flowing will continue to flow by generating as much voltage as needed to breakdown Q1 and force conduction of that current through Q1.

For a flyback design you need a secondary load and you need a snubber across the primary to protect the transistor. You need a secondary load because you are storing energy in the primary when Q1 conducts and, that energy needs to dissipate somewhere i.e. the secondary load. The snubber catches what energy can't be transferred to protect Q1.

The capacitor is partially acting as a snubber in that it recirculates the energy and dissipates some of it through the repeated circulation in the primary but unless you dissipate what you have stored you will drive the transformer into saturation and this may lead to final destruction of Q1. You should try a 100 ohm resistor in series with the snubber capacitor as a ball-park value.