basic op-amp applications

30
Comparators Summing Amplifiers Integrators and Differentiators

Upload: cyrusmds

Post on 24-Mar-2015

132 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Basic Op-Amp Applications

ComparatorsSumming Amplifiers

Integrators and Differentiators

Page 2: Basic Op-Amp Applications

ComparatorsZero-Level DetectionNonzero-Level DetectionEffects of Input Noise on Comparator OperationReducing Noise Effects with HysteresisOutput BoundingA Comparator Application:

Over-Temperature Sensing CircuitA Comparator Application:

Analog-to-Digital (A/D) Conversion

Page 3: Basic Op-Amp Applications

Summing AmplifiersThe summing amplifier is an application of the inverting

op-amp configuration. It has two or more inputs, and its output is proportional

to the negative of the algebraic sum of its input voltages.

Page 4: Basic Op-Amp Applications

Summing AmplifiersSumming Amplifier with Unity Gain

A two-input summing amplifier

Page 5: Basic Op-Amp Applications

Summing AmplifiersSumming Amplifier with Unity Gain (cont…)

21 IIIT

fININ

fOUT

fTOUT

RR

V

R

VRIIV

RIV

2

2

1

121 )(

2121

ININININ

OUT VVRR

V

R

VV

If all three of the resistors are equal,

Page 6: Basic Op-Amp Applications

Summing AmplifiersSumming Amplifier with Unity Gain (cont…)

In general, a unity-gain summing amplifier with n inputs where all resistors are equal in value has a mathematical expression of

INnINININOUT VVVVV ...321

Page 7: Basic Op-Amp Applications

Summing AmplifiersExample Problem

Determine the output voltage (VOUT) of the circuit below.

If a fourth input of +0.5 V is added to the circuit with a 10 kΩ resistor, what is the output voltage?

Page 8: Basic Op-Amp Applications

Summing AmplifiersSumming Amplifier with Gain Greater than Unity

When , where R is the value of each equal-value input resistor, the gain of the amplifier is now equal to

The general expression for the output is

RR f

RR f

INnINININf

OUT VVVVR

RV ...321

Page 9: Basic Op-Amp Applications

Summing AmplifiersExample Problem

Determine the output voltage for the summing amplifier.

Determine the output voltage if the two input resistors are 2.2 kΩ and the feedback resistor is 18 kΩ.

Page 10: Basic Op-Amp Applications

Summing AmplifiersAveraging Amplifier

A summing amplifier can be made to produce the mathematical average of the input voltages.

This is done by setting the ratio Rf/R equal to the reciprocal of the number of inputs (n).

nR

R f 1

Page 11: Basic Op-Amp Applications

Summing AmplifiersExample Problem

Show that the amplifier produces an output whose magnitude is the mathematical average of the input voltages.

Specify the changes required in the averaging amplifier in order to handle five inputs.

Page 12: Basic Op-Amp Applications

Summing AmplifiersScaling Adder

A different weight can be assigned to each input of a summing amplifier by simply adjusting the values of the input resistors.

The output voltage can be expressed as

The weight of a particular input can be set by the ratio Rf to the resistance, RX, for that input (RX = R1, R2, … Rn).

INn

n

fIN

fIN

fOUT V

R

RV

R

RV

R

RV ...2

21

1

Page 13: Basic Op-Amp Applications

Summing AmplifiersExample Problem

Determine the weight of each input voltage for the scaling adder and find the output voltage.

Determine the weight of each input voltage if R1 = 22 kΩ, R2 = 82 kΩ, R3 = 56 kΩ, and Rf = 10 kΩ. Also find VOUT.

Page 14: Basic Op-Amp Applications

Summing AmplifiersScaling Adder Application:

Digital-to-Analog (D/A) ConversionD/A conversion is an important interface process for

converting digital signals to analog (linear) signals.One method of D/A conversion uses the scaling adder with

input resistor values that represent the binary weights of the digital input code.

Page 15: Basic Op-Amp Applications

Summing AmplifiersScaling Adder Application:

Digital-to-Analog (D/A) Conversion (cont …)

Binary-weighted resistor DAC

Page 16: Basic Op-Amp Applications

Summing AmplifiersExample Problem

Determine the output voltage of the DAC. The sequence of four-digit binary codes represented by the waveforms below are applied to the inputs. A high level is a binary 1, and a low level is a binary 0. The least significant digit is D0.

If the 200 kΩ is changed to 400 kΩ, would the other resistor values have to be changed? If so, specify the values.

Page 17: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Integrator

An op-amp integrator simulates mathematical integration, which is basically a summing process that determines the total area under the curve of a function.

Page 18: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Integrator (cont…)

How a Capacitor Charges RECALL: and Therefore, the capacitor voltage can be expressed as

This expression has the form of an equation of a straight line that begins at zero with a constant slope of IC/C.

RECALL: The capacitor voltage in a simple RC circuit is not linear but exponential.

tIQ C CCVQ

tC

IV CC

Page 19: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Integrator (cont…)

How a Capacitor Charges

If Vin is constant,

Iin is also constant

(inverting input @ 0 V)

(very high input impedance)

i

inin R

VI

inC II

Page 20: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Integrator (cont…)

The Capacitor Voltage

The Output Voltage

Page 21: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Integrator (cont…)

Rate of Change of the Output

Integrators are especially useful in triangular-wave generators.Equation in Time Domain

CR

V

t

V

i

inOUT

dttvRC

tv IO )(1

)(

Page 22: Basic Op-Amp Applications

Integrators and DifferentiatorsExample Problem

Determine the rate of change of the output voltage in response to the first input pulse in a pulse waveform for the integrator. The output voltage is initially zero.

Describe the output after the first pulse. Draw the output waveform.

Page 23: Basic Op-Amp Applications

Integrators and DifferentiatorsExample Problem (cont…)

Modify the integrator to make the output change from 0 to -5 V in 50 µs with the same input.

Page 24: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Differentiator

An op-amp differentiator simulates mathematical differentiation, which is a process of determining the instantaneous rate of change of a function.

Page 25: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Differentiator (cont…)

Apply a positive-going ramp voltage to the input.

Ct

VI CC

fCfROUT RIRIV

CRt

VV f

inOUT

Cin VV

Page 26: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Differentiator (cont…)

Output of a differentiator with a series of positive and negative ramps (triangle wave) on the input.

Page 27: Basic Op-Amp Applications

Integrators and DifferentiatorsThe Op-Amp Differentiator (cont…)

Equation in Time Domain

dt

tdvRCtv I

O

)()(

Page 28: Basic Op-Amp Applications

Integrators and DifferentiatorsExample Problem

Determine the output voltage of the op-amp differentiator for the triangular-wave input.

What would the output voltage be if the feedback resistor is changed to 3.3 kΩ?

Page 29: Basic Op-Amp Applications

BASIC OP-AMP APPLICATIONSREFERENCE:

Page 30: Basic Op-Amp Applications

BASIC OP-AMP APPLICATIONS