I've been looking at a circuit which produces sawtooth oscillations. It does this by sending a constant current to a capacitor which is part of a circuit containing a 555 timer. The capcitor generates a ramp and is periodically reset by the 555 timer. The way the circuit is wired, the ramp ranges from -12v to -4v. I understand why this works the way it does. However, the final output of the circuit produces a ramp which ranges from -4v to +4v.
The circuit is wired as follows:
- The ramp capacitor (.01uf) has the negative side connected to a -12v source and it's positive side to a constant current.
- The ramp capacitor is also connected to a non-inverting pin of an opamp (LM324)
- The output of the opamp feeds back to the inverting pin.
- The output of the opamp is also connected in series to a 1 uf capacitor, a 10k resistor and ground.
There are misc. other connections which connect this portion of the circuit in with a 555 but I'm hoping this is enough information to answer my question. I can also try to provide a drawing, but again I am hopeful that won't be necessary.
The output of the circuit is taken between the 1 uf capacitor and the 10k resistor. It's at this point that the ramp has been changed from a
-12v/-4v ramp to a -4v/+4v ramp. My question is simply this, why is this happening? I could understand how the second capacitor might introduce a phase shift, but I don't understand what's causing the voltage shift.
Any help will be appreciated.
Thanks.