This is an instructable for making your own PWM (Pulse Width Modulated)
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: