How smart are op-amps?

Discussion in 'General Electronics Chat' started by dsharp02, Apr 1, 2016.

  1. dsharp02

    Thread Starter New Member

    Aug 8, 2015
    I often read that op-amps will "do whatever it can (within the limits of their power supply) to make the voltage on the inverting and non-inverting inputs equal." Can an op-amp recognize if the response to its actions are having the opposite of a desired effect and reverse its response?

    For example, suppose I have 2v being applied to the non-inverting input, and 1v being applied to the inverting input. The op-amp will start to ramp its output voltage in an attempt to raise the inverting input up to the voltage of the non-inverting input. Suppose that the feedback network negates the output of the op-amp so for example if the op-amp is outputting 2v that gets converted to -2v before being fed back to the inverting input.

    Would the op-amp recognize this reversed response and start dropping its voltage in order to get the two outputs to be equal? Or would it just peg its output at the positive rail?

  2. Jony130

    AAC Fanatic!

    Feb 17, 2009
  3. GopherT

    AAC Fanatic!

    Nov 23, 2012
    Op amps are not SMART, they are simply amplifiers that amplify the difference between two inputs. if you add negative feedback, you can get the output to force the inverting input to match the non-inverting input. If you use positive feedback, then you can even add hysteresis. The op amp is dumb as a brick of silicon that it is made of.
  4. dannyf

    Well-Known Member

    Sep 13, 2015
    What's inverting and noninverting depends on the topology.

    In this case, you have essentially swap'd the inverting / non-inverting inputs of the opamp. If the wiring is correspondingly swapped (aka negative feedback still applies), the output will track. Otherwise, you get positive feedback.
  5. GopherT

    AAC Fanatic!

    Nov 23, 2012
    it would peg it's output at the positive rail - unless you have an inverse system (aka: two wrongs make a right).
  6. mcasale

    Active Member

    Jul 18, 2011
    Someone already said op-amps are not smart. Very true.

    Think of an op-amp amplifier as a feedback control system. The op-amp amplifies the error signal at its inputs (V+) - (V-) (which also includes inherent offset voltages) by a HUGE amount. The resistor networks provide feedback to one, or both, inputs to make it behave (amplifier, buffer, etc.). The op-amp is just a dumb amplifier with HUGE gain (which varies with frequency).
  7. KL7AJ

    AAC Fanatic!

    Nov 4, 2008
    Negative feedback inherently does that. No brains involved. :)