3

enter image description here

This is the circuit I'm considering.

I understand how Vo becomes Vsat, and Vn increases until it is equal to Vp, which is R1/(R1+R2)·Vsat.

Many people say when Vn slightly exceeds Vp, Vo is inverted.

However, my question is: how can Vn exceed Vp?

Right after Vn becomes equal to Vp, the output Vo will become zero (by comparator). Then C will discharge, then Vn < Vp, Vo becomes +Vsat again, and Vn increases again until it becomes equal to Vp and Vo will be zero again, therefore Vo will be oscillating between zero and Vsat.

Is this wrong?

ocrdu
  • 8,705
  • 21
  • 30
  • 42
  • You are asking about positive feedback action in this circuit? https://electronics.stackexchange.com/questions/465430/waveform-at-the-negative-terminal-of-an-opamp/465585#465585 – G36 Oct 30 '22 at 09:16
  • I'm mainly asking why the output doesn't become zero when Vref=Vin. – user18926955 Oct 30 '22 at 11:27
  • Due to positive feedback provided by R2, R1 voltage divider – G36 Oct 30 '22 at 11:46
  • Then Vout is nonzero even if Vp=Vn? Due to what principle? – user18926955 Oct 30 '22 at 15:05
  • 1
    Do you understand that there are 2 trip points ? – Antonio51 Oct 30 '22 at 15:13
  • If you use bipolar supply. – Antonio51 Oct 30 '22 at 15:22
  • We have an opamp output at +Vsat and the capacitor voltage is rising (Vn < VP). And when Vn = Vp the opamp output voltage starts to decrease towards -Vsat. But, notice that the capacitor voltage continues to rise (because of Vn < +Vsat). Also, as output voltage "moves" towards -Vsat the Vp will start to decrease along with Vout. Thus, we no longer have Vn = Vp but we have Vn < Vp instead. And this process cannot be stopped because Vp follows Vout the changes due to positive feedback provided by R2, R1 voltage divider. Do you see it now? – G36 Oct 30 '22 at 16:30

3 Answers3

2

Consider the amplifier/comparator to have a bipolar supply.

Then the output will saturate at Vsat+/Vsat- depending on the polarity of the input.

You are correct that this circuit will not work properly as shown with a single positive supply. Additional biasing can make it work with a single supply (a single resistor from Vp to the positive rail).

Spehro Pefhany
  • 376,485
  • 21
  • 320
  • 842
  • Thanks for your answer, but I know that there are negative saturation voltage when bipolar power is supplied. My main curiosity is how can output be inverted from positive Vsat to negative Vsat. Like I demostrated above. – user18926955 Oct 30 '22 at 04:21
  • The ideal behavior of the amplifier is that Vout = Vsat+ when Vp>Vn, Vout = Vsat- when Vp < Vn. By definition. – Spehro Pefhany Oct 30 '22 at 12:24
  • How about Vp=Vn? – user18926955 Oct 30 '22 at 15:03
  • @user18926955 we don't talk about Vp = Vn. – Spehro Pefhany Oct 30 '22 at 16:23
  • 1
    More seriously, if you introduce something like Vout = 0 for Vp=Vn you introduce a mathematical (not real) possibility of the circuit not oscillating because it is sitting in an unstable state with Vout = 0. Real circuits will transition over a narrow and somewhat unstable tiny change of voltage near 0V (maybe within +/-1mV or less, depending on the part) and the gain will be very large so a few uV might change the output. So it's better to consider Vout is always Vsat+ or Vsat- (put an >= or <= in there if it makes you feel better). – Spehro Pefhany Oct 30 '22 at 19:02
  • 1
    The unstable state can't persist in reality because of the positive feedback and noise/drift. Once the oscillator starts going it's even more sure. – Spehro Pefhany Oct 30 '22 at 19:03
  • 1
    I'm truely impressed for your detailed answer. Thank you! – user18926955 Oct 31 '22 at 16:27
0

All this can be view when making the simulations.
Ever check your "thinking" ...
As pointed out by @Spehro Pefhany ...

When bipolar supplies ... with 2 trip points.

enter image description here

With unipolar supply ... Where is the other?

enter image description here

With an added resistor to the ground ... Note that the R6 value is very "special" ... to work.

enter image description here

Antonio51
  • 11,004
  • 1
  • 7
  • 20
0

I think you've assumed that the negative power supply potential to the op-amp is 0V. This circuit can only work when the negative supply potential to the op-amp is, well, negative. In other words, you need a dual supply, such as +12V and -12V for this circuit to work.

If the op-amp's negative supply potential is 0V, the lowest output you can have from the op-amp is zero volts, which has the following consequences:

  • When the op-amp output is zero volts (\$V_O = 0\$), the potential divider formed by R1 and R2 present 0V to the non-inverting input, so \$V_P = 0\$

  • When the op-amp output is zero volts (\$V_O = 0\$), the inverting input (derived from C and Rf) can never fall below 0V either. Therefore the inverting input cannot ever fall below the inverting input in potential. Always \$V_N \ge V_P\$

In other words, you seem to have identified a potential problem (pun completely intended). Once the output falls low (0V), the circuit is stuck in that state.

The only way this circuit can oscillate is if the op-amp's output is permitted to become negative, and the only way that can happen is if the op-amp's negative supply potential is negative.

Edit

It's possible to modify this circuit to operate from a single-ended supply, by biasing the op-amp's feedback potentials. The idea is to raise the two switching threshold potentials so that they sit above and below half of the supply voltage. The lower threshold is then well above zero, allowing the the junction of C and Rf to swing below it, something that it can't do in the existing setup.

schematic

simulate this circuit – Schematic created using CircuitLab

Here R1 and R2 have changed role. They now provide a potential half way between the supplies, at +2.5V. R3 allows the op-amp output to modulate that value somewhat. The simplest way to understand this is by replacing the combination of the +5V source, R1 and R2 (boxed in blue) with their Thévenin equivalent:

schematic

simulate this circuit

Now it becomes clear that as the output switches between +5V and 0V, the potential divider formed by Rth and R3 applies feedback with some fraction of the amplitude of that oscillation (one half in this example, since Rth = R3), centered about +2.5V.

With the values shown, and assuming the op-amp output is rail-to-rail, the two threshold values will be \$V_P = +2.5 \pm \frac{2.5}{2}\$, or \$V_P = 3.75, 1.25\$

Simon Fitch
  • 27,759
  • 2
  • 16
  • 87