I was trying to make a function generator using op amps, and I am supposed to get square waveform as output of the second stage and a triangular waveform as the output of the first waveform. But when I simulate the circuit in LTSpice, I am getting a constant voltage of around 14 V as output. What am I doing wrong?
startup
, the timestep may have gotten too large by the time the oscillations actually started, resulting in the solver thinking there are none, to begin with. Try simulating for1m
or so. Increase/decrease as needed. Or, don't usestartup
and addic=1
toC1
, e.g. the value will look like0.1u ic=1
(startup
acts on both supplies and they mey be too symmetrical for something unusual to ahppen). Yet another thing is you could use a different opamp. \$\endgroup\$