Concept of Ideal Operational Amplifiers

An ideal operational amplifier (op-amp) is a theoretical device used to simplify the analysis and design of electronic circuits.

An operational amplifier (op-amp) is defined as a direct current-coupled voltage amplifier that increases the input voltage passing through it. Ideally, an op-amp should have high input resistance, low output resistance, and very high open-loop gain. In an ideal op-amp, the input resistance and open-loop gain are infinite, while the output resistance is zero.

An ideal op-amp has the following characteristics—

CharacteristicValue
Open-Loop Gain (A)
Input Resistance
Output Resistance0
Bandwidth of Operation
Offset Voltage0

An ideal op-amp is defined as a differential amplifier with infinite open-loop gain, infinite input resistance, and zero output resistance. The ideal op-amp has zero input current because its infinite input resistance creates an open circuit at the input. This means there is no current at either input terminal.

operational_amplifier

With no current through the input resistance, there is no voltage drop between the input terminals. Thus, no offset voltage appears across the inputs of an ideal operational amplifier.

If v1v_1 and v2v_2 are the voltages at the inverting and non-inverting terminals of the op-amp, and v1=v2v_1 = v_2, then in an ideal case:

v1=v2v_1 = v_2

v2v1=0\Rightarrow v_2 - v_1 = 0

The bandwidth of operation of an ideal op-amp is also infinite. This means the op-amp performs its function across all ranges of operating frequencies.

Negative Feedback in Operational Amplifier (Op-Amp) Circuits

In an op-amp circuit with negative feedback, a portion of the output signal is fed back to the inverting input of the op-amp. This feedback reduces the overall gain but significantly enhances the stability, linearity, and accuracy of the amplifier circuit.

When negative feedback is applied, the op-amp adjusts its output to maintain the input difference (between the non-inverting and inverting terminals) close to zero. This behavior is known as the virtual short or virtual ground principle, and it is a key characteristic of op-amps with negative feedback.

How Negative Feedback Works:

In a typical op-amp circuit:

  • The non-inverting input receives the input signal.
  • The inverting input receives a portion of the output signal as feedback.

If the output voltage deviates due to changes in the input or other factors, the negative feedback signal corrects this deviation by driving the inverting input. This causes the op-amp to stabilize the output. This self-correcting mechanism reduces errors and keeps the amplifier's output stable and proportional to the input.

Benefits of Negative Feedback in Op-Amps

  1. Improves Linearity and Reduces Distortion:

    • Negative feedback minimizes nonlinear distortion by reducing the gain of the op-amp, making the output signal more accurately proportional to the input signal.
    • By correcting deviations from the ideal linear output, negative feedback suppresses harmonic distortion, which is often introduced by imperfections in the active components.
    • This makes the amplifier suitable for applications requiring high fidelity, such as audio amplifiers, where even small distortions in sound can be noticeable.
  2. Stabilizes Gain:

    • In an open-loop (no feedback) configuration, op-amps have extremely high gain (often in the range of tens or hundreds of thousands). This high gain is sensitive to temperature, power supply variations, and component tolerances.
    • Negative feedback reduces this gain to a predictable, stable, and lower value, which depends only on the external feedback network (e.g., resistors or other components used in the feedback path). This makes the amplifier's gain independent of the op-amp's intrinsic characteristics.
  3. Increases Bandwidth:

    • Without feedback, op-amps have limited bandwidth, with gain dropping as frequency increases.
    • Negative feedback extends the bandwidth by allowing higher frequencies to pass through with less attenuation. In fact, the gain-bandwidth product (GBW) of the op-amp typically remains constant, meaning that as the gain is reduced by feedback, the bandwidth increases.
    • This makes the amplifier suitable for high-frequency applications, such as video amplifiers and signal conditioning circuits.
  4. Reduces Noise Sensitivity:

    • Noise in amplifiers can originate from many sources, including temperature fluctuations, power supply instability, and component imperfections.
    • Negative feedback helps suppress noise by minimizing the difference between the op-amp’s inputs, thereby reducing the amount of noise amplified along with the signal.
    • This results in a cleaner output signal and makes the circuit more robust to external noise, especially in low-level signal applications.
  5. Improves Input and Output Impedance:

    • Negative feedback increases the input impedance and decreases the output impedance of the amplifier.
    • High input impedance ensures that the amplifier does not load the source, preserving the original signal.
    • Low output impedance enables the amplifier to drive loads more effectively without significant voltage drop, making it ideal for interfacing with other stages in a signal chain.
    • These improvements in impedance matching are crucial for ensuring minimal signal loss and efficient energy transfer between stages.
  6. Thermal Stability:

    • Op-amp circuits can be sensitive to temperature changes, which affect the behavior of internal transistors and other components.
    • Negative feedback reduces the impact of temperature variations by stabilizing the operating point of the circuit.
    • This results in thermal stability, ensuring that the amplifier maintains consistent performance across different operating conditions.

Ideal Operational Amplifier Parameters

The ideal operational amplifier (op-amp) has several theoretical parameters that define its behavior. These parameters simplify circuit analysis and design, even though they can't be fully realized in practical op-amps.

  • Output Offset Voltage
  • Input Offset Voltage
  • Input Offset Current
  • Input Bias Current
  • Common-Mode Gain
  • Common-Mode Rejection Ratio
  • Supply Voltage Rejection Ratio
  • Thermal Drift
  • Slew Rate

1. Output Offset Voltage:

The voltage present at the output without any input applied is called output offset voltage. It occurs due to the two differential amplifier stages in the op-amp. The output offset voltage in an operational amplifier (op-amp) is the unwanted DC voltage that appears at the output when the input is ideally zero (i.e., both input terminals are at the same voltage). This offset voltage results from imperfections in the op-amp.

Output Offset Voltage

2. Input Offset Voltage:

When the non-inverting and inverting inputs are grounded, ideally, the output should be zero. However, due to the two stages of differential amplifiers, a small output voltage appears. To nullify this output voltage, some voltage is required to be applied to either of the two inputs. This is called the input offset voltage.

3. Input Offset Current (IIOI_{IO}):

Input offset current is a parameter of operational amplifiers (op-amps) that refers to the difference between the DC bias currents entering the inverting and non-inverting input terminals of the op-amp. Ideally, these input currents should be identical, but due to internal mismatches in the op-amp, there is often a small difference between them.

IIO=I+II_{IO} = I_+ - I_-

Input Offset Current

4. Input Bias Current (IBI_B):

It is the average of the currents that flow into the inverting and non-inverting terminals of the operational amplifier. The input bias current IBI_B is the average of the currents flowing into the inverting (IBI_{B−}) and non-inverting (IB+I_{B+}) input terminals of the op-amp:

IB=IB++IB2I_B = \frac{I_{B+} + I_{B-}}{2}

This current is necessary for the proper functioning of the op-amp.

5. Common-Mode Gain:

When the same input voltage is applied to both input terminals of an op-amp, the op-amp is said to be operating in a common-mode configuration. Common-mode gain (ACMA_{CM}) is the gain applied to signals that are present on both input terminals of the op-amp. Ideally, an op-amp should have zero common-mode gain, meaning it should not amplify common-mode signals at all.

Common Mode Gain

Common-mode gain (ACMA_{CM}) = VOCMVCM\frac{V_{OCM}}{V_{CM}}

6. Common-Mode Rejection Ratio (CMRR):

It is the ratio of the differential gain and common-mode gain.

Input Offset Current
Common Mode Gain

ACM=VOCMVCMA_{CM} = \frac{V_{OCM}}{V_{CM}}

Also,

AD=VOUTVin+VinA_D = \frac{V_{OUT}}{V_{in+} - V_{in-}}

CMRR=ADACM=VIOVCM\Rightarrow CMRR = \frac{A_D}{A_{CM}} = \frac{V_{IO}}{V_{CM}}

7. Supply Voltage Rejection Ratio (SVRR):

SVRR is the change in an op-amp's input offset voltage (VIOV_{IO}) caused by variations in supply voltages.

SVRR=ΔVIOΔVSupplySVRR = \frac{\Delta V_{IO}}{\Delta V_{Supply}}

Manufacturers also use terms like PSRR (Power Supply Rejection Ratio) and PSS (Power Supply Sensitivity). PSRR indicates how well the op-amp rejects variations in its power supply voltage. An infinite PSRR implies that changes in the power supply have no effect on the output voltage.

8. Thermal Drift:

Ideally, parameters of an op-amp like VIOV_{IO}, IIOI_{IO}, and IBI_B remain constant, but practically, they change with temperature, supply, and time. The average rate of change of input offset voltage per unit change in temperature is called thermal voltage drift.

Thermal Voltage Drift = ΔVIOΔT\frac{\Delta V_{IO}}{\Delta T}

Thermal Current Drift = ΔIIOΔT\frac{\Delta I_{IO}}{\Delta T}

Thermal Drift in Input Bias Current = ΔIBΔT\frac{\Delta I_B}{\Delta T}

9. Slew Rate:

Slew rate is defined as the maximum rate of change of output voltage per unit time. It is expressed in terms of volts per microsecond.

Slew Rate = dV0dtMaximum\frac{dV_0}{dt}|_{Maximum}

Slew Rate

Inverting Amplifiers

An inverting operational amplifier is a device used in electronics engineering for amplifying signals and generating an output voltage that is 180° out of phase with the input waveform. It typically consists of an operational amplifier and some resistors.

The inverting operational amplifier can be described as an amplifier with fixed gain, which produces a negative output voltage because its gain is always negative.

We can say that the output of an inverting operational amplifier is out of phase with its input by 180°. This means that for a negative input pulse, the output will be positive, and for a positive input pulse, the output will be negative.

Inverting Amplifiers graph

Working of the Operational Amplifier:

Working of Operational Amplifier
  • The inverting terminal of the inverting operational amplifier is fed with the input signal, while the non-inverting terminal is usually connected to ground or some reference voltage.

  • Next, a feedback circuit is applied. In this configuration, a feedback resistor is connected between the output of the op-amp and the inverting input terminal. This resistor primarily controls the gain.

  • An ideal op-amp amplifies the input voltage applied. The negative feedback from the output to the inverting input creates a stable condition, helping to control the output generated. The op-amp works to ensure that the voltage at the inverting input equals the voltage at the non-inverting input.

  • Due to the inverting nature, the input signal is inverted. This means that if the input signal increases, the output will decrease, and vice versa. The gain of the final output is calculated using the formula Gain=RFRinGain = \frac{R_F}{R_{in}}.

  • After amplification and inversion of the input signal along with phase inversion, the output wave is generated at the junction. The output voltage is denoted by VoutV_{out}.

Inverting Amplifier Equation and Gain:

Let's derive the gain of an op-amp.

Inverting Amplifier Equation

Mathematically, the voltage gain can be written as:

Av=VoutVinA_v = \frac{V_{out}}{V_{in}}

Where,

VinV2=IinRinV_{in} - V_2 = I_{in} R_{in}

and

V2Vout=IFRFV_2 - V_{out}= I_F R_F

An ideal op-amp has infinite input impedance, meaning the currents flowing into its input terminals are zero.

Thus, Iin=IfI_{in} = I_f. We also know that in an ideal op-amp, the voltage at the inverting and non-inverting inputs is always equal. Hence,

Due to virtual ground, V1=0V_1 = 0.

Also,

V2=V1=0V_2 = V_1 = 0.

So,

Vin0=IFRinV_{in} - 0 = I_F R_{in}

and

0Vout=IFRF0 - V_{out} = I_F R_F

We combine the last two equations:

VoutVin=IFRFIFRin-\frac{V_{out}}{V_{in}} = \frac{I_F R_F}{I_F R_{in}}

so,

VoutVin=RFRin-\frac{V_{out}}{V_{in}} = \frac{R_F}{R_{in}}

VoutVin=RFRin\therefore \frac{V_{out}}{V_{in}} = -\frac{R_F}{R_{in}}

This is how we derive the gain of an inverting operational amplifier.

Advantages of Inverting Operational Amplifier:

There are various advantages of an inverting operational amplifier, some of which are listed below:

  • The configuration of an inverting operational amplifier makes it more stable compared to a non-inverting operational amplifier. The stability and predictability of these op-amps make them easier to analyze.

  • The output gain of an inverting operational amplifier depends on the resistances used, so by selecting appropriate resistance values, we can achieve high gains with large amplifications of input waveforms.

  • The non-inverting input of this operational amplifier is grounded, so the inverting input acts as a virtual ground. This simplifies circuit design and analysis.

  • One important advantage of an inverting operational amplifier is its ability to phase-invert. This helps to produce an output that is out of phase with the input wave by 180°. Thus, it can be used in phase-shift circuits.

  • Inverting operational amplifiers have high input impedance and low output impedance. The high input impedance helps to drain very little current from the input waveform, and the low output impedance helps to carry low-input impedance loads without signal loss.

Disadvantages of Inverting Operational Amplifier:

There are certain disadvantages of inverting operational amplifiers, some of which are listed below:

  • Due to its configuration, an inverting operational amplifier often exhibits more noise compared to a non-inverting operational amplifier. This noise can be an important consideration when designing circuits.

  • Designing circuits with inverting operational amplifiers can be a complicated procedure. Sometimes, achieving a specific gain requires complex feedback circuits. This can increase the number of components and the cost.

  • Inverting operational amplifiers are not suitable when precise output is required. This is because they are sensitive to input offset voltage, which can lead to errors in the final output.

  • Inverting operational amplifiers have some limitations when used in common mode. The common mode limits the input range, and any voltage beyond or below this range will distort the output voltage.

  • Sometimes, the inversion provided by an inverting operational amplifier is undesirable. This can cause unnecessary phase shifting, and extra circuits might be needed for correction.

Non-Inverting Amplifiers

A non-inverting amplifier is an op-amp that outputs a signal with the same polarity as the input, ensuring the gain is always positive.

A non-inverting amplifier is defined as an operational amplifier that amplifies input signals without reversing their polarity, resulting in a positive voltage gain. A non-inverting operational amplifier or non-inverting op-amp uses an op-amp as the main element. An op-amp features two input terminals: the inverting input marked with a minus sign (-) and the non-inverting input marked with a plus sign (+).

Non-Inverting graph

Applying a signal to the non-inverting input results in an amplified output that retains the original signal's polarity. Consequently, the gain from a non-inverting amplifier configuration is always positive.

Non-Inverting amplifier

In the above circuit, we connect an external resistance R1R_1 and feedback resistance RfR_f at the inverting input. Now, by applying Kirchhoff's Current Law, we get:

V1R1=VoV1Rf(i)\frac{V_1}{R_1} = \frac{V_o - V_1}{R_f} \quad \text{(i)}

Let us assume the input voltage applied to the non-inverting terminal is ViV_i.

Now, if we assume that the op-amp in the circuit is an ideal op-amp, then:

V1=ViV_1 = V_i

Therefore, equation (i) can be rewritten as:

ViR1=VoViRf\frac{V_i}{R_1} = \frac{V_o - V_i}{R_f}

ViRfR1=VoVi\Rightarrow V_i \frac{R_f}{R_1} = V_o - V_i

Vo=Vi(1+RfR1)\Rightarrow V_o = V_i \left(1 + \frac{R_f}{R_1}\right)

VoVi=(1+RfR1)\Rightarrow \frac{V_o}{V_i} = \left(1 + \frac{R_f}{R_1}\right)

The closed-loop gain of the circuit is:

A=(1+RfR1)A = \left(1 + \frac{R_f}{R_1}\right)

This term does not contain any negative parts. Hence, it proves that the input signal to the circuit gets amplified without changing its polarity at the output.

From the expression of the voltage gain of a non-inverting op-amp, it is clear that the gain will be unity when Rf=0R_f = 0 or R1R_1 \to \infty.

When Rf=0R_f = 0,

A=(1+RfR1)=(1+0R1)=1A = \left(1 + \frac{R_f}{R_1}\right) = \left(1 + \frac{0}{R_1}\right) = 1

When R1R_1 \to \infty,

A=(1+RfR1)=(1+Rf)=1A = \left(1 + \frac{R_f}{R_1}\right) = \left(1 + \frac{R_f}{\infty}\right) = 1

So, if we short circuit the feedback path and/or open the external resistance of the inverting pin, the gain of the circuit becomes 1.

Non-Inverting Amplifier Equation:

Gain=VoutVin=1+RfR1Gain = \frac{V_{out}}{V_{in}} = 1 + \frac{R_f}{R_1}

Advantages of Non-Inverting Amplifier:

  • Positive Gain: Non-inverting amplifiers provide a positive gain, which means the output voltage is in phase with the input voltage. This is advantageous in applications where the signal polarity needs to be preserved.

  • High Input Impedance: Non-inverting amplifiers typically have a very high input impedance. This means they do not load the input source significantly, allowing for accurate signal amplification without affecting the original signal.

  • Stability: The feedback configuration of non-inverting amplifiers contributes to their stability. They are less prone to oscillations and are generally more stable than inverting amplifiers.

  • Signal Integrity: Non-inverting amplifiers maintain the integrity of the input signal by preserving its polarity. This is especially useful in situations where the phase of the signal is crucial.

Disadvantages of Non-Inverting Amplifier:

  • Limited Gain Control: While non-inverting amplifiers provide positive gain, the gain control is more limited compared to inverting amplifiers. Achieving high gains may require larger resistor values, which can affect the circuit's performance.

  • Lower Precision: Non-inverting amplifiers may have slightly lower precision compared to inverting amplifiers, especially in applications where precise gain control is essential.

  • More Complex Circuit: The design of non-inverting amplifiers can be slightly more complex than inverting amplifiers, requiring careful selection of components to achieve the desired gain and stability.

  • Phase Shift: While non-inverting amplifiers preserve the polarity of the input signal, they may introduce a slight phase shift, especially at higher frequencies. This can be a disadvantage in certain applications.

Difference Between Inverting and Non-Inverting Op-Amp:

Inverting Op-AmpNon-Inverting Op-Amp
The type of feedback used is voltage shunt.The type of feedback used is voltage series.
Gain formula: RFRin-\frac{R_F}{R_{in}}Gain formula: 1+RFRin1 + \frac{R_F}{R_{in}}
Output is 180° out of phase with the input signal.Output is in-phase with the input.
The gain can be less than, equal to, or greater than 1.The gain is always greater than 1.
Output voltage is high for VinV_{in} less than VrefV_{ref}.Output voltage is high for VinV_{in} greater than VrefV_{ref}.
Input is applied to the inverting terminal of the op-amp.Input is applied to the non-inverting terminal of the op-amp.
The input impedance is R1R_1.The input impedance is very high.

Unity Gain Amplifier

A Unity Gain Amplifier, also known as a Voltage Follower or Buffer Amplifier, is a type of operational amplifier (op-amp) configuration where the output voltage is exactly the same as the input voltage. In this configuration, the gain of the amplifier is 1 (or unity), hence the name "unity gain."

Unity Gain Amplifier
  • A unity gain amplifier is typically implemented using a non-inverting op-amp configuration with a feedback loop directly connecting the output to the inverting input.

  • The non-inverting input receives the input signal, while the inverting input is connected to the output through a direct wire or a resistor (with the same value as the input resistor).

  • The op-amp adjusts the output voltage so that the voltage difference between its inverting and non-inverting inputs is zero. In this case, because the output is fed back directly to the inverting input, the output voltage is forced to follow the input voltage exactly.

The gain of a unity gain amplifier is 1, meaning:

Vout=VinV_{out} = V_{in}

  • A unity gain amplifier has a very high input impedance, which means it does not load the previous stage of the circuit. This is beneficial in applications where the signal source has high impedance.

  • The output impedance is very low, making the amplifier capable of driving low-impedance loads effectively.

Advantages of Unity Gain Amplifier:

  • High Input Impedance: A unity gain amplifier presents a very high input impedance, which means it does not draw significant current from the input signal source.

  • Low Output Impedance: The low output impedance allows the amplifier to drive low-impedance loads effectively without significant signal loss. This makes it suitable for connecting to subsequent stages of a circuit that require a low-impedance input.

  • Minimal Signal Distortion: Since the gain is unity (1), the output is a faithful reproduction of the input signal with no amplification or attenuation, leading to minimal signal distortion.

  • Impedance Matching: Unity gain amplifiers are frequently used for impedance matching between high-impedance signal sources and low-impedance loads, ensuring maximum power transfer and signal integrity.

  • Level Shifting: They can be used for level shifting or interfacing between circuits operating at different voltage levels without altering the signal amplitude.

Disadvantages of Unity Gain Amplifier:

  • No Voltage Gain: The main limitation of a unity gain amplifier is that it provides no voltage gain. It can only buffer the signal and does not amplify it. If amplification is needed, a different configuration must be used.

  • Noise Introduction: Even though the gain is unity, the op-amp can introduce noise into the signal. This noise may become significant in low-level signal applications, where signal integrity is critical.

  • Limited Current Drive: While unity gain amplifiers have low output impedance, they may still have limitations in terms of the maximum current they can supply to the load.

  • Slew Rate Limitation: The slew rate of the op-amp can limit the performance of a unity gain amplifier, particularly in high-speed or high-frequency applications.

  • Bandwidth Limitation: Although unity gain amplifiers generally have a wide bandwidth, their bandwidth is not infinite. High-frequency signals may still experience attenuation or phase shift, depending on the op-amp's characteristics.

Adder or Summing Amplifier

Adder

The circuit shown in Fig(a) is used to obtain an output that is a linear combination of multiple input signals. Applying the virtual ground concept, we can write:

i=V10R1+V20R2++Vn0Rn=0VoRfi = \frac{V_1 - 0}{R_1} + \frac{V_2 - 0}{R_2} + \ldots + \frac{V_n - 0}{R_n} = \frac{0 - V_o}{R_f}

which simplifies to:

Vo=(RfR1V1+RfR2V2++RfRnVn)(i)V_o = -\left(\frac{R_f}{R_1}V_1 + \frac{R_f}{R_2}V_2 + \ldots + \frac{R_f}{R_n}V_n\right) \quad \text{(i)}

For R1=R2==Rn=RfR_1 = R_2 = \ldots = R_n = R_f, we get:

Vo=(V1+V2++Vn)(ii)V_o = -\left(V_1 + V_2 + \ldots + V_n\right) \quad \text{(ii)}

In this case, the output is the sum of the inverted inputs. In the more general case of Eq. (i), the scale of each input signal may be adjusted before summing. Such an adder circuit is known as an inverting adder or summing amplifier.

To express Vo=(V1+V2++Vn)V_o = (V_1 + V_2 + \ldots + V_n), the output of Fig(a) must be applied as the input to an inverting amplifier with unity gain, requiring an additional amplifier.

Fig(b) shows a non-inverting adder circuit where the output can be directly expressed as the summation of inputs V1,V2,,VnV_1, V_2, \ldots, V_n. Here, the input voltages are connected to the non-inverting terminal through resistances R1,R2,,RnR_1, R_2, \ldots, R_n.

Let VV be the voltage at the non-inverting terminal. Since the op-amp draws no current, we have:

IB1=V1VR1+V2VR2++VnVRn=0I_{B1} = \frac{V_1 - V}{R_1} + \frac{V_2 - V}{R_2} + \ldots + \frac{V_n - V}{R_n} = 0

This gives:

V=V1R1+V2R2++VnRn1R1+1R2++1Rn(iii)V = \frac{\frac{V_1}{R_1} + \frac{V_2}{R_2} + \ldots + \frac{V_n}{R_n}}{\frac{1}{R_1} + \frac{1}{R_2} + \ldots + \frac{1}{R_n}} \quad \text{(iii)}

Note that the circuit in Fig(b) can be considered as a non-inverting amplifier with input voltage Vs=VV_s = V. Thus, using the gain equation:

Avf=VoVs=(1+RfR)A_{vf} = \frac{V_o}{V_s} = \left(1 + \frac{R_f}{R}\right)

The output voltage can be written as:

Vo=(1+Rf1R1+1R2++1Rn)V_o = \left(1 + \frac{R_f}{\frac{1}{R_1} + \frac{1}{R_2} + \ldots + \frac{1}{R_n}}\right) \cdot

(V1R1+V2R2++VnRn)(iv) \left(\frac{V_1}{R_1} + \frac{V_2}{R_2} + \ldots + \frac{V_n}{R_n}\right) \quad \text{(iv)}

For R1=R2==Rn=R=Rfn1R_1 = R_2 = \ldots = R_n = R = \frac{R_f}{n-1}, Eq. (iv) simplifies to:

vo=v1+v2++vn(v)v_o = v_1 + v_2 + \ldots + v_n \quad \text{(v)}

In general, Eq. (iv) shows that the output can be expressed as a linear combination of the inputs v1,v2,,vnv_1, v_2, \ldots, v_n.

Subtractor

The following figure shows an op-amp circuit where the output voltage is expressed in terms of the input voltages v1v_1 and v2v_2 as vo=av1bv2v_o = av_1 - bv_2 or vo=v1v2v_o = v_1 - v_2 where aa and bb are arbitrary constants.

To understand the operation of the circuit, consider that the voltage at the non-inverting input terminal is V1V_1. Since the same current i1=v1R1+R2i_1 = \frac{v_1}{R_1 + R_2} flows through R1R_1 and R2R_2, we have:

V1=i1R2=R2R1+R2v1(vi)V_1 = i_1 R_2 = \frac{R_2}{R_1 + R_2}v_1 \quad \text{(vi)}

Subtractor

Since the voltage at the inverting input terminal is V2=V1V_2 = V_1, we obtain:

i2=V2V1R=V1VoRfi_2 = \frac{V_2 - V_1}{R} = \frac{V_1 - V_o}{R_f}

This gives:

Vo=aV1bV2(vii)V_o = aV_1 - bV_2 \quad \text{(vii)}

where:

a=(1+RfR)R2R1+R2andb=RfR(viii)a = \left(1 + \frac{R_f}{R}\right) \frac{R_2}{R_1 + R_2} \quad \text{and} \quad b = \frac{R_f}{R} \quad \text{(viii)}

For R1=R2=R=RfR_1 = R_2 = R = R_f, Eq. (viii) results in a=b=1a = b = 1, and thus the circuit acts as a simple subtractor with output voltage:

vo=v1v2(ix)v_o = v_1 - v_2 \quad \text{(ix)}

Integrator

The following figure shows an op-amp circuit where the output voltage vov_o is proportional to the integration of the input voltage vi(t)v_i(t). The output vo(t)v_o(t) can be determined as follows.

For an ideal op-amp, we can write:

i(t)=vi(t)0R=dq(t)dt=Cd(0vo(t))dt=Cdvo(t)dti(t) = \frac{v_i(t) - 0}{R} = \frac{dq(t)}{dt} = C\frac{d(0 - v_o(t))}{dt} = -C\frac{dv_o(t)}{dt}

which simplifies to:

vo(t)=1RC0tvi(t)dt(x)v_o(t) = -\frac{1}{RC} \int_0^t v_i(t) dt \quad \text{(x)}

where we have used q(t)=C(0vo(t))q(t) = C(0 - v_o(t)) as the instantaneous charge of the capacitor CC and q(0)=0q(0) = 0 as the initial charge of the capacitor.

Integrator

If the input voltage is constant, vi(t)=Vv_i(t) = V, then the output will be a ramp:

vo(t)=(VRC)t(xi)v_o(t) = -\left(\frac{V}{RC}\right)t \quad \text{(xi)}

This type of integrator, known as a Miller integrator or Miller sweep, is excellent for generating sweep signals in a cathode-ray-tube oscilloscope.

If the input signal vi(t)v_i(t) is a square wave, Eq. (xi) indicates that the output waveform of the integrator will be a triangular wave. Thus, an integrator can be used as a wave-shaping circuit.

Note that if we replace RfR_f by a capacitor CC in the adder circuit of Fig(a), the circuit will simultaneously integrate and add. In this case, we can write:

v1R1+v2R2++vnRn=CdVodt\frac{v_1}{R_1} + \frac{v_2}{R_2} + \ldots + \frac{v_n}{R_n} = -C\frac{dV_o}{dt}

which simplifies to:

vo=1RC0tv1dt1RC0tv2dt1RC0tvndt(xii)v_o = -\frac{1}{RC} \int_0^t v_1 dt - \frac{1}{RC} \int_0^t v_2 dt - \ldots - \frac{1}{RC} \int_0^t v_n dt \quad \text{(xii)}

Differentiator

Interchanging the position of the capacitor C and resistor R in Fig. of Intergrator, we can get a differentiator circuit where the output vo(t)v_o(t) is proportional to the derivative of vi(t)v_i(t). Figure shows the schematic diagram of a differentiator circuit using an op-amp. In this case

Differentiator

i(t)=Cd(vi(t)0)dt=0vo(t)Ri(t) = C \frac{d(v_i(t) - 0)}{dt} = \frac{0 - v_o(t)}{R}

which gives the output voltage as

vo(t)=RCd(vi(t))dt(xiii)v_o(t) = -RC \frac{d(v_i(t))}{dt} \quad \text(xiii)

It may be mentioned that if the input vi(t)v_i(t) is a triangular waveform, the output voltage waveform of vo(t)v_o(t) will be a square wave. Thus a differentiator circuit can be used as a wave shaping circuit.

Logarithmic Amplifier

A basic logarithmic amplifier, or log-amp, circuit is shown in the figure below. As its name implies, this circuit produces an output voltage VoV_o that is a logarithmic function of the input voltage VsV_s. The analysis of this circuit proceeds as follows.

The virtual ground concept of an ideal op-amp suggests that the voltage at the inverting terminal, as well as at the collector of the BJT, is zero. The collector current ICI_C must therefore equal the current I=VsRI = \frac{V_s}{R} flowing through the resistor RR.

Logarithmic Amplifier

Since the collector potential is zero and the base is grounded, the transistor behaves like a p-n junction diode formed between the base (p) and emitter (n) regions of the transistor. Using the equation:

IE=a11{exp(VEVT)1}+a12{exp(VCVT)1}I_E = a_{11} \left\{ \exp\left(\frac{V_E}{V_T}\right) - 1 \right\} + a_{12} \left\{ \exp\left(\frac{V_C}{V_T}\right) - 1 \right\}

with VC=0V_C = 0, the emitter current IEI_E of the BJT can be expressed as:

IE=Io(exp(VEVT)1)(xiv)I_E = I_o \left( \exp\left(\frac{V_E}{V_T}\right) - 1 \right) \quad \text{(xiv)}

where Io=a11I_o = a_{11} is the reverse saturation current of the base-emitter junction, and:

a11=Ae(DppnoW+DnnEOLE)a12=AeDppnoWa_{11} = Ae \left(\frac{D_p p_{no}}{W} + \frac{D_n n_{EO}}{L_E}\right) \quad a_{12} = -\frac{Ae D_p p_{no}}{W}

VT=kTeV_T = \frac{kT}{e} is the thermal voltage, and VEV_E is the forward bias voltage between the base and emitter junction of the BJT.

Note that VE=VoV_E = - V_o for a grounded base BJT. Using IC=IE=I=VsRI_C = I_E = I = \frac{V_s}{R} in Eq. (xiv), the output voltage can be given by:

Vo=VTln(VsIoR+1)(xv)V_o = -V_T \ln\left(\frac{V_s}{I_o R} + 1\right) \quad \text{(xv)}

If VsIoR1\frac{V_s}{I_o R} \gg 1, Eq. (xv) can be approximated as:

VoVTln(VsIoR)(xvi)V_o \approx -V_T \ln\left(\frac{V_s}{I_o R}\right) \quad \text{(xvi)}

Thus, the output of the amplifier is a logarithmic function of the input voltage.

Comparator

An op-amp can be used in an open-loop configuration to compare an input voltage viv_i applied at one input terminal with a known reference voltage VrefV_{ref} applied at the other input terminal. Such a circuit is called a comparator, as shown in Fig(a).

Comparator

In this configuration, the input voltage viv_i and reference voltage VrefV_{ref} are applied to the non-inverting and inverting input terminals, respectively. The output voltage vov_o is given by:

vo=Av(viVref)(xvii)v_o = A_v \left(v_i - V_{ref}\right) \quad \text{(xvii)}

where AvA_v is the open-loop gain of the op-amp, typically assumed to be very large (approaching infinity for an ideal op-amp). When ±VCC\pm V_{CC} are the biasing supply voltages, the maximum positive and maximum negative output voltage amplitudes are +Vsat+V_{sat} and Vsat-V_{sat}, respectively, where VsatVCCV_{sat} \approx V_{CC} is called the saturation voltage.

From Eq. (xvii), the output voltage of the comparator can be expressed as:

vo={Vsatif vi<Vref+Vsatif vi>Vref(xviii)v_o = \begin{cases} -V_{sat} & \text{if } v_i < V_{ref} \\ +V_{sat} & \text{if } v_i > V_{ref} \end{cases} \quad \text{(xviii)}

Comparator

The transfer characteristic of the circuit is shown in Fig(b). The output voltages vo1v_{o1} and vo2v_{o2} corresponding to Vref>0V_{ref} > 0 and Vref=0V_{ref} = 0, respectively, are demonstrated in Fig(c) for a sinusoidal input signal viv_i. Note that for Vref=0V_{ref} = 0, the output voltage changes its states where vi=0v_i = 0. Such a comparator circuit with zero reference voltage is known as a zero-crossing detector.

However, Eq. (xviii) is valid for all kinds of input and reference voltages in the circuit shown in Fig(a).

How's article quality?

Last updated on -

Page Contents