Jump to content

Practical Electronics/Operational amplifiers

From Wikibooks, open books for an open world

Intro

[edit | edit source]

Op Amp is a short hand term for Operational Amplifier. An operational amplifier is a circuit component that amplifies the difference of two input voltages:

Vo = A (V2 - V1)

Op Amps are usually packaged as an 8-pin integrated circuit.

Operational Amplifier IC Chip
Pin Usage
1 Offset Null
2 Inverted Input
3 Non-Inverted Input
4 -V Supply
5 No use
6 Output
7 +V Supply
8 No use


Op Amp symbol

op-amp
  • V+: non-inverting input
  • V: inverting input
  • Vout: output
  • VS+: positive power supply
  • VS−: negative power supply

Op amps amplify AC signal or AC Voltage better than a simple bipolar junction transistor.

Op Amp Functions

[edit | edit source]

Voltage Difference Amplifier

[edit | edit source]

From above

V0 = A (V2 - V1)

Voltage Comparator

[edit | edit source]
V2 > V1 , V0 = +Vss
V2 < V1 , V0 = -Vss
V2 = V1 , V0 = 0

Inverting Amplifier

[edit | edit source]

With one voltage is grounded

If V2 = 0 , V0 = -A V1 . Inverting Amplifier

Non-Inverting Amplifier

[edit | edit source]

With one voltage is grounded

If V1 = 0 , V0 = A V2 . Non-Inverting Amplifier

Linear Configurations

[edit | edit source]

Differential amplifier

[edit | edit source]
Differential amplifier
Vout=V2((Rf+R1)Rg(Rg+R2)R1)V1(RfR1)
  • Differential Zin (between the two input pins) = R1+R2

Voltage Difference Amplifier

[edit | edit source]

Whenever R1=R2 and Rf=Rg,

Vout=RfR1(V2V1)

Voltage Difference

[edit | edit source]

When R1=Rf and R2=Rg (including previous conditions, so that R1=R2=Rf=Rg):

Vout=V2V1

Inverting Amplifier

[edit | edit source]
Inverting amplifier
Vout=Vin(RfR1)

Inverting Amplification is dictated by the ratio of the two resistors

Non-Inverting Amplifier

[edit | edit source]
Non-inverting amplifier
Vout=Vin(1+R2R1)

Non-Inverting Amplification is dictated by the ratio of the two resistors plus one

Voltage Follower

[edit | edit source]
Voltage follower

From Non-Inverting Amplifier's formula. If the resistors has the same value of resistance then output voltage is exactly equal to the input voltage

Vout=Vin 

From Inverting Amplifier's formula. If the resistors has the same value of resistance then output voltage is exactly equal to the input voltage and inverted

Vout=Vin 

Summing amplifier

[edit | edit source]
Summing amplifier
Vout=Rf(V1R1+V2R2++VnRn)

When R1=R2==Rn, and Rf independent

Vout=(RfR1)(V1+V2++Vn) 

When R1=R2==Rn=Rf

Vout=(V1+V2++Vn) 

Integrator

[edit | edit source]
Integrating amplifier

Integrates the (inverted) signal over time

Vout=0tVinRCdt+Vinitial

(where Vin and Vout are functions of time, Vinitial is the output voltage of the integrator at time t = 0.)

Differentiator

[edit | edit source]
Differentiating amplifier

Differentiates the (inverted) signal over time.

The name "differentiator" should not be confused with the "differential amplifier", also shown on this page.

Vout=RC(dVindt)

(where Vin and Vout are functions of time)

Comparator

[edit | edit source]
Comparator
  • Vout={VS+V1>V2VSV1<V2

Từ V0 = A (V2 - V1)

  • Vo = 0 khi V2 = V1
  • Vo > 0 khi V2 > V1
Vo = Vss
  • Vo < 0 khi V2 < V1
Vo = V-ss

When two input voltages equal. The output voltage is zero . When the two input voltages different and if one is greater than or less than the other

  1. Vo = Vss khi V2 > V1
  2. Vo = V-ss khi V2 < V1

Instrumentation amplifier

[edit | edit source]
Instrumentation amplifier


Combines very high input impedance, high common-mode rejection, low DC offset, and other properties used in making very accurate, low-noise measurements

Schmitt trigger

[edit | edit source]
Schmitt trigger

A comparator with hysteresis

Hysteresis from R1R2Vsat to R1R2Vsat.

Gyrator

[edit | edit source]
Inductance gyrator

A gyrator can transform impedances. Here a capacitor is changed into an inductor.

L=RLRC

Zero level detector

[edit | edit source]

Voltage divider reference

  • Zener sets reference voltage

Negative impedance converter (NIC)

[edit | edit source]
Negative impedance converter


Creates a resistor having a negative value for any signal generator

  • In this case, the ratio between the input voltage and the input current (thus the input resistance) is given by:
Rin=R3R1R2

Non-linear configurations

[edit | edit source]

Rectifier

[edit | edit source]
Super diode

Behaves like an ideal diode for the load, which is here represented by a generic resistor RL.

  • This basic configuration has some limitations. For more information and to know the configuration that is actually used, see the main article.

Peak detector

[edit | edit source]
Peak detector

When the switch is closed, the output goes to zero volts. When the switch is opened for a certain time interval, the capacitor will charge to the maximum input voltage attained during that time interval.

The charging time of the capacitor must be much shorter than the period of the highest appreciable frequency component of the input voltage.

Logarithmic output

[edit | edit source]
Logarithmic configuration
  • The relationship between the input voltage vin and the output voltage vout is given by:
vout=Vγln(vinISR)

where IS is the saturation current.

  • If the operational amplifier is considered ideal, the negative pin is virtually grounded, so the current flowing into the resistor from the source (and thus through the diode to the output, since the op-amp inputs draw no current) is:
vinR=IR=ID

where ID is the current through the diode. As known, the relationship between the current and the voltage for a diode is:

ID=IS(eVDVγ1)

This, when the voltage is greater than zero, can be approximated by:

IDISeVDVγ

Putting these two formulae together and considering that the output voltage Vout is the inverse of the voltage across the diode VD, the relationship is proven.

Note that this implementation does not consider temperature stability and other non-ideal effects.

Exponential output

[edit | edit source]
Exponential configuration
  • The relationship between the input voltage vin and the output voltage vout is given by:
vout=RISevinVγ

where IS is the saturation current.

  • Considering the operational amplifier ideal, then the negative pin is virtually grounded, so the current through the diode is given by:
ID=IS(eVDVγ1)

when the voltage is greater than zero, it can be approximated by:

IDISeVDVγ

The output voltage is given by:

vout=RID