Below is the LTspice simulation of Alec's basic circuit with an opamp to perform the switch function to invert the polarity of the input op amp.
Due to finite response times of the op amps, there is a glitch during the sawtooth flyback.
This is reduced by the R6-C2 filter.
View attachment 149160
Thank you everyone for your great help! The circuit is simulating great without any issues. I have included the 9V supply and MC330 op amps that will be used. I was hoping to get the triangle wave so that it would oscillate with an average voltage of zero (-2.5 V offset). Any ideas how to achieve this ?




