Triangular wave voltage source