How to square wave ---> triangle wave? Answered
Currently I have developed a flyback driver that is a semi-cross between a classic ZVS circuit and a 555 type driver, mainly just using a few comparators (one to create a triangle wave and 2 others to respond to the upper and lower peaks and drive MOSFETs. This allows me to create a modified sine wave with adjustable duty cycle.)
This topology is even more powerful than the ZVS driver at 12V, as I got some INSANELY thick arcs!! However the MOSFETs get a little too warm, and I was forced to use sil pads to galvanically isolate the drain from the CPU heatsink. They seem to have really poor thermal characteristics as the heatsink stays cold while the transistors get uncomfortably hot within seconds!!
To make this thing operate at the resonant frequency of the flyback, I think I will a feedback coil that would get "squared up" using a resistor and zener diode. I need to convert that signal into a triangle / sawtooth wave of fixed amplitude. A simple RC type circuit is not too suitable because as the frequency goes up or down, the amplitude of the voltage across the capacitor changes proportionally.What circuit will allow me to convert a square wave directly to a triangle wave of fixed amplitude????