2
\$\begingroup\$

I am simulating an inverting amplifier circuit (Page 3 in this app note) with LT spice. The amplifier has a gain of 10 V/V and since I am using a single rail supply, I am applying a bias voltage at the non-inverting input of about 0.113 V.

I expected the bias voltage to be amplified to about 1.25 V at the output but it looks like this is not the case.

Below are the amplifier circuit and simulation results. It is connected to a series of sallen-key filters not shown. The filter output rides on a 1.25 V bias which should be removed after passing through the 1uF coupling capacitor.

enter image description here

enter image description here

The output shows that that bias voltage does not get amplified and so the amplified signal clips at the negative swing (green plot). The blue plot is the output just after the coupling capacitor.

When I increased the bias voltage to 1.25 V, the output had the correct bias voltage. This seems contrary to what's suggested in the application note. Am I missing something?

Edit

When I simulate a circuit like this, I get exactly what I expect. The only difference is that there is no coupling capacitor before the op-amp. Why does the removal of the capacitor cause such a difference? enter image description here

\$\endgroup\$
2
  • \$\begingroup\$ Both inputs will / must be equal \$\endgroup\$ Dec 31, 2020 at 4:26
  • 1
    \$\begingroup\$ Why do you expect the bias voltage to be amplified? If you look at this circuit as a non-inverting amplifier with V3 as the input source, what would you expect its gain to be? (hint: how does C10 affect the gain at DC?) \$\endgroup\$
    – The Photon
    Dec 31, 2020 at 4:28

3 Answers 3

4
\$\begingroup\$

The Photon immediately identifies one problem -- the input capacitor will charge up to the average and effectively block any galvanic path for your gain-setting arrangement. So let's dispose of that, right away.

If you want to set a gain, you need to provide a DC gain-setting arrangement. This will be something like the following:

schematic

simulate this circuit – Schematic created using CircuitLab

\$R_1\$ and \$R_2\$ can get your voltage gain, now. \$R_3\$ and \$R_4\$ can set your DC bias point. The input signal will be imposed upon that bias point and the voltage gain then applied.

Let's assume your opamp can work with the single rail of \$+2.5\:\text{V}\$. Then we have the following:

schematic

simulate this circuit

Here, we expect the output to be \$11\times\$ the (-) node. Since we want that to be centered on \$\frac12 V_\text{CC}\$, this means the output should have an average of \$1.25\:\text{V}\$ and, by implication, the (-) node's average should be \$\approx 113.64\:\text{mV}\$. That also should be the (+) node's average.

If we want the input impedance of both (-) and (+) to be similar, we probably should set \$R_4=47\:\text{k}\Omega\$ and solve for \$R_3\$. This will find that \$R_3\approx 987\:\text{k}\Omega\$. Just set \$R_4=1\:\text{M}\Omega\$ and that should be close enough.

Assuming a decent rail-to-rail opamp, such as the LT1800, the resulting circuit is:

schematic

simulate this circuit

Running an LTspice simulation on the above we find:

enter image description here

From this we can compute \$A_v=\frac{765.23\:\text{mV}}{70.363\:\text{mV}}\approx 10.88\$. (This is very close to the expected \$A_v\approx 11\$.)

LTspice also computes the average of the opamp output as \$1.2352\:\text{V}\$, which is very close to the desired \$1.25\:\text{V}\$. (The difference in large part due to the fact that we chose \$R_3=1\:\text{M}\Omega\$ instead of \$R_3\approx 987\:\text{k}\Omega\$.)

In short, this all works okay if you approach things correctly and if you select opamp devices that can work within the desired voltage ranges.

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

When I simulate a circuit like this, I get exactly what I expect. The only difference is that there is no decoupling capacitor before the op-amp. Why does the removal of the capacitor cause such a difference?

Because with the capacitor, considering your 'V3' source as the input and considering the DC behavior, you have this circuit:

schematic

simulate this circuit – Schematic created using CircuitLab

So what is that circuit? It's a voltage follower with a gain of 1, exactly as you observed.

When you add a 2nd resistor that can carry DC current from the op-amp's inverting input to ground, you increase the gain of the non-inverting amplifier above 1. The two resistors form a voltage divider, which reduces the gain in the feedback path, therefore increases the closed-loop gain of the circuit.

\$\endgroup\$
6
  • \$\begingroup\$ I suppose you meant the inverting input; that is why I have corrected the typo. But it does not matter, I think it would be very interesting and useful to find an intuitive explanation for why "when you add a 2nd resistor that can carry DC current from the op-amp's inverting input to ground, you increase the gain of the non-inverting amplifier above 1." \$\endgroup\$ Jan 2, 2021 at 9:32
  • \$\begingroup\$ @Circuitfantasist, thanks for the catch. I've edited to add an explanation , but I guess "intuitive" is in the eye of the beholder. \$\endgroup\$
    – The Photon
    Jan 2, 2021 at 17:32
  • \$\begingroup\$ The Photon, I understand circuits by seeing in them similar situations from life. For me, a non-inverting amplifier is a "disturbed follower" which, in its quest to compensate for the disturbance, has become an amplifier. I suggest, if you are willing to spend some of your valuable time, to attend a related laboratory exercise with one of my best student groups, conducted in 2008. It follows the evolution of this circuit in the order: 'follower' -> 'disturbed follower' -> 'amplifier'. \$\endgroup\$ Jan 2, 2021 at 18:27
  • 1
    \$\begingroup\$ @Circuitfantasist, Different explanations will be intuitive for different people. The term "disturbed follower" means nothing to me, so I can't follow your explanation. On the other hand I have an understanding of how the inverting amplifier works that is perfectly intuitive for me. (Based on intuition learned over 20+ years working in the field). \$\endgroup\$
    – The Photon
    Jan 2, 2021 at 18:39
  • \$\begingroup\$ The Photon, I will not insist because the diversity of this world is its charm. We are different and complement each other. I will only express two more opinions at the end: 1) The explanation you added is not intuitive but formal since it is based on the Black's formula; it is very good for calculating the resistances but it does not explain why these resistors are put there. 2) The real challenge is to derive a common principle from many particular intuitive explanations of the same circuit... then it becomes philosophy.... \$\endgroup\$ Jan 3, 2021 at 9:18
1
\$\begingroup\$

Intuitive explanation

Understanding. Apart from the detailed explanation of the specific circuit implementation accompanied by calculations, the real understanding requires something more - to see the basic idea behind it, how it is implemented in the specific case, where currents flow, what voltages across elements are and how they relate to each other. In doing so, we will get to the depths of the problem and not just glide across the surface… and we will be able to see the same basic idea in seemingly different applications. I will illustrate this for the specific circuit.

Basic idea. The main OP's problem here is to understand the basic property of capacitors to keep up the voltage across themselves relatively constant when a small current flows through them. This property has two circuit applications that can be figurative named "voltage shifting" (coupling capacitors) and "voltage fixing" (decoupling capacitors).

"Voltage shifting" is actually the well-known "voltage biasing" or simply "biasing", widely used in AC amplifiers. It is an extremely simple electrical idea that can be implemented even in the 19th century by a constant voltage source in series to the input variable voltage source. Their voltages are summed in a series manner so the input voltage is increased/decreased ("shifted up/down") with the constant voltage.

Implementation. The problem of this arrangement is that the "shifting" voltage source is "floating" (as a rule, the input voltage source is grounded)... and there is no way to put part of the supply voltage in this place. The clever 20th century solution in AC amplifiers was to use a charged capacitor as such a "shifting" voltage source. It acts as a "rechargeable battery" which is constantly being charged and then discharged... and so its voltage is relatively constant.

Operation. I have illustrated the operation of the most elementary bias circuit (the input part of the @jonk's circuit) in three steps. They are extracted from a Flash movie (see the animated gif version). The currents are visualized by full closed paths (loops) with proportional thickness (in green) and the voltages - by voltage bars with proportional height (in red). The current directions and voltage polarities are real. The input voltage EIN (VIN) is represented by a variable battery; the power supply is represented by a battery with a constant voltage E (VCC). The capacitance C1 is large enough so the voltage across it does not significantly change when the current flows through it.

1. Zero input voltage. In the beginning, let's set the input voltage VIN to zero. As a result, the capacitor C1 is charged to VR2 (E/2). The charging current flows through the path +E -> R1 -> C1 -> VIN -> -E (not shown in the picture). So the input voltage source should be "galvanic" (with a low DC resistance)... and you can think of it as of a piece of wire. At the end of the transition, there is no current flowing through it since two equal opposing voltages (VC1 = VR2) balance each other; VC1 is a copy of VR2. Theoretically, this process will never finish.

Input coupling capacitor - zero input voltage

Now let's consider the original OP's circuit (with capacitor C10) at zero input voltage VIN and applied positive bias voltage V3 to the non-inverting input. The op-amp senses the positive differential input voltage and because the negative feedback obliges it to make the voltage of the inverting input equal to V3 (the so-called "golden rule"), it begins increasing its output voltage until reaches the equilibrium. It should do it momentarily... but there is a problem - the capacitor slowly charges and the voltage across it slowly increases. So, in the beginning, the left end of R5 is grounded. The gain of this non-inverting amplifier is 11... and its output voltage reaches the positive supply rail. Eventually, the capacitor is charged to V3... the gain decreases to 1... the output voltage becomes equal to the voltage of the inverting input and V3... and the equilibrium is reached.

If OP wants the output voltage to be higher, they just needs to follow the advice of @The Photon and to plug another resistor between the inverting input and ground.

Why does the removal of the capacitor cause such a difference?

The "job" of the op-amp "assigned" to it by the negative feedback, is to maintain the voltage of the inverting input equal to the voltage of the non-inverting input. When we put a voltage divider between the output and the inverting input, we make it difficult ("disturbing") to the op-amp. It is forced to increase its output voltage to overcome this "disturbance"... and so it becomes an amplifier.


2. Positive input voltage. Now let's change VIN up. The total voltage VIN + VC1 exceeds VR2 (the voltage bars represent it geometrically). EIN and C1 in series act as a composite voltage source that supplies R2 so a discharging current IC begins flowing through the capacitor and R2. VC1 does not change noticeably so the output voltage VOUT follows VIN up.

Input coupling capacitor - positive input voltage

In the OP's original circuit, the discharging current flows through the path +VIN -> C10 -> R5 -> R12 -> op-amp output -> ground -> -VIN.


3. Negative input voltage. Now let's change VIN down. The total voltage VC1 - VIN is less than VR2; so a charging current IC begins flowing through the capacitor. The charging current flows through the path +E -> R1 -> C1 -> VIN -> -E. As above, VC1 does not change noticeably so the output voltage VOUT follows VIN down.

Input coupling capacitor - negative input voltage

In the OP's original circuit, the charging current flows through the path +Vcc -> op-amp output -> R12 -> R5 -> C10 -> VIN -> ground -> -Vcc.

Generalization. Let's generalize our observations. With the help of R1 and R2 (voltage divider), an imperfect voltage source (with a significant internal resistance) is built. The perfect input voltage source (with zero internal resistance) is connected through another perfect voltage source (the charged C1) to the imperfect voltage source. In this unequal struggle, the perfect source wins and imposes its voltage on the common output point.

Analogy. A shock absorber is an amazing mechanical analogy of the capacitor. I have illustrated the operation of the analogical arrangement - a shock absorber and two springs, in the same three steps as above. They are extracted from another Flash movie (see the animated gif version). I think the pictures speak for themselves and need no translation.

1. Zero position.

Shock absorber - zero position


2. Pulling up.

Shock absorber - pulling up


3. Pulling down.

Shock absorber - pulling down


Applications. We can see this bias circuit in the input part of many AC transistor and op-amp amplifying circuits. Let's consider the two most typical of them:

1. AC emitter follower.

AC emitter follower


2. Op-amp follower.

Op-amp emitter follower

\$\endgroup\$
5
  • \$\begingroup\$ Flash is dead, as of yesterday. \$\endgroup\$ Jan 1, 2021 at 17:01
  • \$\begingroup\$ @Elliot Alderson, Yes, I know... I was able to convert some of swf files from my site of circuit-fantasia.com to exe files... but with these things did not work... OK, I managed to convert them to animated gifs... \$\endgroup\$ Jan 1, 2021 at 19:59
  • \$\begingroup\$ You say you'll "illustrate this for the specific circuit" but you never explain the circuit OP asked about. \$\endgroup\$
    – The Photon
    Jan 2, 2021 at 16:43
  • \$\begingroup\$ @The Photon, Thanks for the response. The specific OP circuit is very well considered in other answers (including yours). I have a tendency to generalize and try to supplement what has been said with my answers. I think there is some benefit from this... if not so much for the OP who does not have the experience necessary for a deeper understanding circuits, then at least for the next visitors to the site. In my answers, I also share the resources I have created over the years in the hope that this will help someone else understand circuits like me... \$\endgroup\$ Jan 2, 2021 at 17:50
  • \$\begingroup\$ @The Photon, I have added exact explanations of the OP circuit (I have inserted them between the existing explanations). Now it is fully explained for the three possible states (VIN = 0, + and -) including the inital state when the capacitor charges. I don't think there is anything more to be desired. Of course, it would be good to illustrate these states with specially drawn circuit diagrams... but that takes a lot of work. BTW I would do it if there was interest... \$\endgroup\$ Jan 3, 2021 at 23:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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