123 Views

Inverting Op Amp

31/08/2021, hardwarebee

Inverting op amp is a special circuit design involving operational amplifiers. To understand them, firstly we need to take a look at what op-amp is and how it works in general sense.

 

Op-amp General Information

op amp

 

Operational amplifiers (op-amps) are fundamental components that can perform mathematical operations such as summation, integration, differentiation as well as amplification (scalar multiplication). Moreover, Op-amps are also used in analog filtering applications, such as low pass filters (LPF), high pass filters (HPF) and band pass filters (BPF). With these versatile application fields, Op-amps are considered as fundamental building blocks with a rather easier to understand topology.

 

General equation Vout= A(V+-V), where

 

  • A: Open loop gain,
  • V+: non-inverting input,
  • V: İnverting input
  • +Vcc: Positive DC input
  • -Vee: Negative DC input
  • Rout = 0 ohm
  • Rin (both for + in and -in) = infinity

 

Op-amps are 2 input-1 output circuit elements with 2 DC power input, one of which is +Vcc, a positive voltage supplied and the other -Vee, a negative voltage supplied. When V+=V, the op-amp is said to be in “common-mode” and as it can be seen from the equation, common-mode output is zero (Vout= A(V+-V)). However, when V+≠V, the op-amp is said to be in differential mode or the input is “differential input”, so that output is now Vout = A(V+-V).

 

No current is allowed to enter or exit from V+ and V. V+ and V are only used as voltage nodes. The reason is that input impedance of V+ and V- nodes are considered to be infinite for ideal op-amps. In addition, output impedance of Vout node is zero for ideal op-amps so that there are no losses at the output node and you get exactly A(V+-V).

 

Closed loop gain is the gain you have (Vout/Vin) when op-amp input and output is connected each other through a resistor, or a capacitor or an inductor or any other circuitry. Open loop and closed loop gains are very different from each other. Open loop gain is a component feature whereas closed loop gain is a design feature that is related to how you structured your circuit, what kinds of resistances you put in the design and how you connected them.

 

In ideal op-amps, open loop gain A is considered to be infinite. In practical applications, open loop gain A is usually very big, in the order of 103 to 106, whereas closed loop gain is much smaller. Therefore, open loop gain A is considered to be infinite in most of the calculations. We will discuss when A should be considered as infinite and when shouldn’t. We will also investigate how to use A in calculations without assuming to be infinite.

 

Inverting Op Amp

 

Inverting Op Amp configuration is where the closed loop gain (Vout/Vin) is negative, therefore the input is inverted at the output. Figure 1 demonstrates inverting op-amp circuitry.

 

Figure 1: Inverting Op amp Schematic

 

One way to understand if a circuit is inverting op-amp or not without diving into calculations is to check where the input voltage is connected to. For inverting op-amp configuration, input voltage is connected to V, (inverting input) and the other terminal is grounded.

 

For simplicity, open loop gain (A) is considered to be infinite for now. We will discover how a finite open loop gain effects the results later on.

 

Figure 2: Inverting op-amp with currents

 

As you can see from Figure 2, current entering or exiting V+ and V inputs of op-amp are zero. This is an important characteristic of Op-amps that input nodes are voltage-only nodes because input resistance is infinite.

 

Also, open loop gain (A) can be taken into consideration or it can be neglected. For ideal Op-amps, open-loop gain is considered to be “infinite”. However, in practical applications, you need to compare open-loop gain with closed-loop gain (or voltage gain) and see if you can neglect it or not. Usually, open loop gain is 100 more times greater than closed loop gain, therefore it is neglected. We will further discuss later in this article when you need to take open loop gain as infinite in your calculations.

 

Closed Loop Gain

 

Closed loop gain by definition is the voltage gain, i.e., Vout/Vin .

Firstly, consider ideal op-amp case (that is, when open loop gain A is infinite). General equation is:

 

Vout= A(V+-V), therefore V+-V= Vout/A

 

For ideal Op-amps with infinite A, Vout/A goes to 0 as A goes to infinity. Hence, V+-V = 0. In other words, if open loop gain is infinite, then non-inverting input voltage (V+) must be equal to the inverting input voltage (V).  Therefore, we will always consider V+= V when either the op-amp is ideal (A infinite) or when open loop gain is sufficiently large to be considered as ideal (we will see what that means later).

 

Therefore, in Figure 2 we get V+= V= 0V since V+ is grounded.

 

At the node V, we will apply Kirchhoff’s Current Law (KCL). KCL denotes that summation of all currents exiting a node is equal to zero.

 

For simplicity, instead of focusing on names of the currents of directions that you assign in your head or by the question, just focus on the KCL rule first, and then do the necessary corrections.

 

All currents exiting from node V is:

 

Note that R2/R1 ratio cannot be extremely big for 2 reasons. Firstly, using widely different resistances on the same circuit causes imbalance and practical problems in the system. Secondly, this topology has a frequency response too and using very high R2/R1 ratio actually reduces the bandwidth of the system. For a more robust design, keep the R2/R1 ratio at maximum of the order of 102.

 

Non-Ideal Op Amp Case

 

Now, consider open loop gain is finite. Our initial assumption of equating V = V+ is no longer true for this case.

 

Vout= A(V+ – V), where V+ = 0 (from Figure 2)

 

Vout = -A.V ,

 

V = -Vout/A, where A is the open loop gain.

 

Now, replace in KCL equation above.

How to Determine If Open Loop Gain Should be Neglected or Not?

 

From the expression above, it is clear that when (1/A)(R2/R1+1) term is much smaller than 1, then this term can be neglected and G becomes -R2/R1, like we found in ideal op-amp case. Therefore,

(1/A)(R2/R1+1) <<1 , equivalently

or

A >> R2/R1

 

Hence, when A is much bigger than R2/R1, A (open loop gain) can be considered as infinity, op-amp can be treated as ideal op-amp and thus op-amp input voltages have to be equal to each other, i.e., V+ = V

 

What Exactly is “Much Bigger” “>>”

 

If we consider R2/R1 to be in the order of 102, then A can be considered as infinite when it’s in the order of 104. Even if it’s in the order of 103, the effect will be very small. Depending on your purpose of implementation, you can take A as infinite when it’s 100 times bigger than R2/R1.

 

Let us calculate G when A is 10 times bigger than R2/R1.

Assume A=500 and R2/R1 = 50

G = – R2/R1 = -50 when open loop gain is ignored.

Difference is less than 10%.

Depending on your application, you can determine what sort of error your circuitry can handle in your calculations.

Input Resistance

 

Input resistance is the resistance seen from input source. It is often confused by op-amp’s own input resistance, which is the resistance seen from its input nodes.

Again, you have 2 options. You can take A as infinity and write V = V+, or you don’t ignore A and write Vout = A(V+– V), where V+ = 0, so Vout = A(-V) and V=-Vout/A.

 

If A is infinite:

Iin = Vin/R1, Therefore Rin=R1.

 

If A is finite

Output Resistance

 

Output resistance is the resistance seen from the output node towards the system. Output resistance of the op-amp is zero as we know it already. However, there is a parallel branch (R2) to the op-amp. So, what’s the output resistance of this closed loop system? The answer is zero, because 0 resistance in parallel with R2 resistance is a short-circuit with equivalent resistance of zero.

 

Example Question

In the system above, the op-amp has open loop gain of 500. Vin = 20V DC. Calculate the power supplied to the system by input voltage source Vin and calculate Vout.

 

Solution

 

The equivalent resistance connected to the inverting input is R1//R2 = 20k. 20k/40k = 10 kΩ.

Note that R2/R1 = 100k/10k = 10 is much smaller than A. However, in order to show the calculation steps, we will not ignore A as infinity.

Vout = G.Vin = 20.-9.78 = 195.7 V

Power supplied by the system is Vin*Iin = Vin2/Rin.

Rin =  = 10k/0.98 = 10.2 kΩ

Vin2/Rin = 202 / 10.2 k = 39.2 mWatts

 

Recent Stories