5
\$\begingroup\$

(well. I am NOT speaking of "virtual ground" throughout this question/)

As this figure has shown an opamp can be viewed as:

We all know that an opamp like this has two inputs and one output - the input voltage is simply the voltage between the two inputs - but for output voltage, it looks like (from the figure above) there is a "ground" symbol inside the opamp.

Since the opamp does not have any ports connected to the ground (the real Earth), what that "ground" symbol is? This answer gives a good explanation, showing that "ground" is actually the negative electrode of the DC supply (The -Vsupply in the figure above).

(Wait! Don't mark it as duplicate. Read ahead.)

But this is just where my question emerges - Because one thing I know is that most DC power supplies are not grounded to the real earth - i.e. they are floating. Therefore, we do not know what's its voltage referring to the real Earth. Maybe at the negative of DC supply, it is still having, say, 1V voltage referring to the real Earth.

This is all okay until we ground (to real Earth) the non-inverting input and connect the inverting input to the output to form a negative feedback circuit. i.e. the image below

Then when there is a voltage between the two inputs, the output will produce voltage. But WAIT... That output voltage is not produced regarding the real Earth - but regarding the negative of the floating DC supply (As the linked answer and previous explained)! That is if the -Vsupply still has a 1V voltage regarding the real Earth, the output will always plus 1V regarding the real earth!


Well, I also did experiments regarding this question that has confused me for more than a week. I did not encounter such problems at all, because even for the floating DC supply, it still maintained a good zero volts referring to the ground (real earth)... I don't know why a floating DC power supply can work that good, just like a grounded one... (Why? please tell me why) - But after all, it is floating - which means there is no guarantee that the negative side of the DC supply is always exactly 0V referring to the real earth...


I am quite a noob in electrics.. Is there something that I have misunderstood above? Indeed, the concept of grounding and floating seems hellish hard to me...

\$\endgroup\$
3
  • \$\begingroup\$ If there is no current flow, there is no voltage. Current can't flow without a loop. If you connect two circuits at one point, that point gets the same voltage. If there's no other loop around between Vin and V2, then the current between Vin and V2 is 0, so Vin and V2 are the same voltage. That means your power supply isn't floating. \$\endgroup\$ Commented Nov 30, 2020 at 14:02
  • \$\begingroup\$ You've gotten good answers to the part of your question about the "ground" inside the op-amp. If you still want an answer to the part about the relation between the circuit "ground" and the "real earth" you should post a new question (and when you do, you should say whether the signal source and load are connected to the real earth) (also you should search the site for previous questions about grounding to see if they help you). \$\endgroup\$
    – The Photon
    Commented Nov 30, 2020 at 16:59
  • 1
    \$\begingroup\$ @gudako Simply put, circuit ground and "real Earth ground" are two separate things. In circuit the point with lowest electrical potential relative to all other points in the circuit is commonly reffered to as "ground", but that's just a name. Sometimes this is called "COM" short for common, instead of "GND" for ground. It means same thing. \$\endgroup\$
    – jnovacho
    Commented Dec 1, 2020 at 9:44

4 Answers 4

5
\$\begingroup\$

Because the output gain of an opamp is so huge, it doesn't really matter whether the ground symbol for the output voltage source is the -ve rail, the +ve rail, or some point midway between the two, the errors moving it between those points will be dwarfed by the amplifier input offset voltage error.

The ground symbol is probably shown due to an overabundance, but obviously inconsistently carried through, caution on the author's part against showing the output voltage source referenced to nothing.

The output voltage source will source current from the +ve rail and sink current to the -ve rail. The actual point at which the gain equation is referenced to is some point between the rails that's established by ratios of resistors, and either explicit or stray capacitors, so it will vary with frequency.

\$\endgroup\$
6
  • \$\begingroup\$ Is the input voltage offset so significant to cover the reference point problem? Remember typically that rail is 12 volts long/ \$\endgroup\$
    – gudako
    Commented Nov 30, 2020 at 16:44
  • 1
    \$\begingroup\$ Taking the LM324A as an example, at 15V supply voltage, the DC gain is at least 50K and typically 100K. Taking a 15V output swing and referencing it to the input would result in an input swing of at most 0.3mV and typically 0.15mV. For comparison the specified input offset voltage is specified as a typical of 2mV and a max of 3mV. \$\endgroup\$ Commented Dec 1, 2020 at 1:33
  • \$\begingroup\$ @peter For feedback circuit your statement is right - but what about when we want to use the opamp to output square wave? In this case the output does not have a connection to any of the inputs. In this case, we are mandated to ground the dc, otherwise, the output swing is gotta count. Is this right \$\endgroup\$
    – gudako
    Commented Dec 1, 2020 at 2:26
  • \$\begingroup\$ Even without feedback, you can still take an output error and "reference it to the input" to get the corresponding input error. \$\endgroup\$ Commented Dec 1, 2020 at 2:28
  • \$\begingroup\$ You can't practically use an op-amp (some op-amps can safely be used as comparators, others can't) as an amplifier without feedback though, the gain is so high it will turn tiny errors at the input into saturation at the output. \$\endgroup\$ Commented Dec 1, 2020 at 2:30
4
\$\begingroup\$

enter image description here

The ground symbol inside the op-amp in your top picture is meant to represent the exact centre voltage between Vpos and Vneg supplies. So if you connect Vneg to ground, the natural midpoint is between Vpos and ground.

But it's only an approximation to things AND, it doesn't really matter if you assume it is relative to the negative supply pin because... the high open-loop gain of the op-amp (and negative feedback) ensures that input Vin- equals input Vin+ and that forces Vout to be exactly what it needs to be to ensure that situation remains so. This means that Vin+ becomes the "king" reference point.

\$\endgroup\$
15
  • \$\begingroup\$ hello thanks i have edited the question to reply u \$\endgroup\$
    – gudako
    Commented Nov 30, 2020 at 14:41
  • \$\begingroup\$ This is a Q and A site and not a forum. You shouldn't modify your question to talk to me. You can add a comment to do that. \$\endgroup\$
    – Andy aka
    Commented Nov 30, 2020 at 14:43
  • \$\begingroup\$ i know but i cant add image in comment \$\endgroup\$
    – gudako
    Commented Nov 30, 2020 at 14:45
  • \$\begingroup\$ You don't need to add an image to say tell me that half way is x + 6 volts. You should roll-back your question edit so as not to make my answer the focus. You should also take on board what all answers are saying: that whatever middle neutral point the output likes to settle at, it is irrelevant when open-loop gain and negative feedback are brought into the picture. \$\endgroup\$
    – Andy aka
    Commented Nov 30, 2020 at 14:46
  • \$\begingroup\$ i have removed it \$\endgroup\$
    – gudako
    Commented Nov 30, 2020 at 14:58
1
\$\begingroup\$

An op amp is designed to work with negative feedback. In the schematic below,neglecting offset voltage and current,and assuming the op amp is operating in its linear region,

\$V_{Out}+V_{In-} = V_{In+}+V_{Ref}\$

or

\$V_{In+}-V_{In-} = V_{Out}-V_{Ref}\$

From this equation, it is clear that the "ground" that the output is referenced to, is supplied by \$V_{Ref}\$. It is not intrinsically related to the negative rail of the power supply, or to a ground in a split power supply. We could tie \$V_{Ref}\$ to either of these (assuming in the first case that the op amp is "rail to rail") but where the "ground" of the output is set, is simply the designer's choice.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
0
\$\begingroup\$

The ground potential only goes into that formula for the output voltage. But this calculation is an approximation, in practice the ground level is irrelevant.

More accurate is to include the offset error:

$$V_{Out} = -A(V_2-V_1+V_{Offset})$$

Now, putting that ground level in:

$$V_{Out}-V_{Ground} = -A(V_2-V_1+V_{Offset})$$

$$V_{Out} = -A(V_2-V_1) + V_{Ground}-A*V_{Offset}$$

\$A\$ can be 10^10, \$V_{Offset}\$ is 100 µV to some mV.

So if you would use an op-amp as an open amplifier, the error of the zero point of the output would be millions of volts.

You never use an op-amp like that. You never use it in a way where the zero point matters. You use it in a way where the output voltage is defined by the feedback circuit, and V_2-V_1 is regulated to be ideally zero. Or you could use it as a comparator, so the output voltage tells you which input voltage is higher. So the output is either the minimum or the maximum possible value.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.