This is an instructable for making your own PWM (Pulse Width Modulated) flyback driver!
The design is relatively simple and easy to make if you have basic electronic skills.
In fact, you don't even have to know how a transistor or a MOSFET works to make this. You only have to follow the instructions.
What the PWM driver does:
The driver is fed by a 12V power supply (a regular DC adapter). This DC voltage is chopped into pieces by our MOSFET because it rapidly switches the 12V on and off. This switching is controllable by two potentiometers. One for the ON-time and one for the OFF-time.
If the ON-time and the OFF-time are equal, the output voltage will be 6V.
If the ON-time is larger then the OFF-time, the output voltage will be between 6V and 12V
If the ON-time is smaller then the OFF-time, the output voltage will be between 0V and 6V.
So with this feature, we can control the average voltage that our primary Flyback coil gets. This will change the output voltage.
When we make sure both potentiometers have the same resistance value, we'll create a block-wave signal that has the same ON- as OFF-time. Decreasing the resistance (of both potentiometers, at the same time) will increase the frequency of the output signal. Increasing the resistance will decrease the frequency.
We now have controllable ON- and OFF-time, and controllable frequency, so this driver is perfect for Any flyback transformer! (Each flyback transformer works better on another frequency).
The operating frequency of the flyback transformer goes somewhere from 15kHz to 50kHz. My flybacks operate best at 20kHz.
(oh, and the power supply doesn't need to be exactly 12V. You can also use a 30V supply or something a little lower then 12V).
Preview video of the PWM driver:
Remove these ads by
Signing UpStep 1: Requirements
- a PCB
- a power supply (DC adapter 12V to 20V)
- a heatsink (the size of the heatsink depends on the flyback and on the type of MOSFET, you'll have to experiment)
- a MOSFET (I used an IRFB17N50L because they're awesome)
- wire for making connections at the bottom of the PCB
- 2x potentiometer 100kohm
- 2x resistor 260ohm 250mW
- 2x resistor 1kohm 250mW
- 1x resistor 4k7ohm 250mW for the LED (high resistance so that we can also use greater power supplies)
- 2x capacitor 3.3nF polyester film or something close to that
- 2x NPN transistor (regular transistor)
- a small pushbutton (not required)
- a flyback transformer (not required)
- a FAN connector for inserting the MOSFET (not required, you may solder it directly on your PCB)
The picture above here shows how the components look like.










































Visit Our Store »
Go Pro Today »




Regards
Karl
I'm not really sure if I understand the question.
So you want to charge a capacitor with high voltage?
For the frequency, I don't know how to calculate how fast the capacitor will charge because the output current is unknown.
It will just be trial and error :P
Greetings,
Fallout
Can you measure Vgs and Vds (gate-source and drain-source voltage) of the mosfet while it's running?
Can you measure the base-emittor and collector-emittor voltage on both transistors?
You don't really need a scope, the readings don't need to be more accurate, but from the moment the circuit works, a scope would be really nice to visualize what is going on.
but for measuring at the transistors, no load needs to be attached now :)
btw, I'd also need the collector-emittor voltage, not the base-emittor voltage ^^
Poderia explicar-me mais? Eu não entendo muito bem :/
Could you explain me more? I don't quite understand :/
The diode protects the mosfet, most mosfets have one there.
Very nice instructable.
Just to add to what you said, diode inside a MOSFET is part of the construction of the transistor, it is pretty much a "good" side effect (although, in some cases undesirable).
However, it is always safer to use an external diode for additional protection. Inductive kickback can still destroy a MOSFET.
An average diode costs on the order of $0.10 to $5.00 (depending on speed and current rating), while a power MOSFET can easily go up to $10-$100 (or even more, again, depending on the parameters)...
Good luck in your flyback transformer "testing" and remember to always exercise safety.
I'm doing good ;) and you?
And thanks! :P
I have more turns on the flyback's primary because my power supply can only deliver 3A.
thanks for the bug zapper haha :D
And yes, this one also works fine ;) I still use it.
I'm not really working at something right now, I'm quite busy :(
and you'll have to use two the same capacitors.