Professional Documents
Culture Documents
control
ET ZC 341
BITS Pilani
Pilani Campus
Swapna Kulkarni
Lecturer,
Operational Amplifiers
BITS Pilani
Pilani Campus
Inverting Amplifier
Equation shows that this circuit inverts the
input signal and may have either attenuation
or gain, depending on the ratio of input
resistance, R1 and feedback resistance R2.
Vout
R2
Vin
R1
3
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
4
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Summing Amplifier
5
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Summing Amplifier
A common modification of the inverting
amplifier is an amplifier that sums or adds two
or more applied voltages.
6
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Vout
R2
R2
V1
V2
R3
R1
7
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Solution:
One way is to use a summing amplifier with Vin on
one input and 5 V on the other. The gains will be
selected to be 3.4 and 1.0,respectively. The
summing amplifier is also an inverter, however, so
the sign will be wrong.
Thus, a second amplifier will be used with a gain of
-1 to make the sign correct. The result is shown in
next slide. Selection of the values of resistors is
based on the general notion of keeping the
currents in mA.
8
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Noninverting Amplifier
A noninverting amplifier may be constructed
from an op amp, as shown in figure.
The gain of this circuit is found by summing
the currents at the summing point, S, and
using the fact that the summing point voltage
is Vin so that no voltage difference appears
across the input terminals.
10
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
I1 + I 2 = 0
Where
I1 = Current through R1
I2 = Current through R2
11
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
0
R1
R2
Solving this equation for Vout we find
Vout
R2
1
Vin
R1
12
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Vcm
Va Vb
2
14
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
A
CMRR
Acm
CMR 20 log10 (CMRR )
16
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Differential Amplifier
17
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Differential Amplifier
There are a number of op amp circuit for
differential amplifiers.
Notice that the circuit uses two pairs of
matched resistors, R1 and R2. When the
matching is perfect and the op amp is ideal, the
transfer function for this amplifier is given by
Vout
R2
V2 V1
R1
18
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
19
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Instrumentation Amplifier
Figure shows one type of instrumentation amplifier
in common use, voltage followers are simply placed
on each input line. The transfer function is still
given by equation.
Vout
R2
V2 V1
R1
Vout
2 R1
1 R
G
R3
R
V2 V1
22
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
24
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Voltage-to-Current Converter
Because signals in process-control are most
often transmitted as a current, specifically 4 to
20 mA, it is often necessary to employ a linear
voltage-to-current converter.
Such a circuit must be capable of sinking a
current into a number of different loads
without changing the voltage-to-current
transfer characteristics.
25
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
R2
I
Vin
R1 R3
27
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
28
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Rml
Vsa t
R4 R5
R3
Im
R3 R4 R5
29
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Where
Rml = maximum load resistance
Vsat= op amp saturation on voltage
Im = maximum current
A study of equation shows that the maximum load
resistance is always less than Vsat/Im. The minimum
load resistance is zero.
30
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Current-to-Voltage Converter
Integrator
Figure An integrator circuit using an
op amp.
Vin
dVout
C
0
R
dt
33
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Vout
V
dt
in
RC
Vout
t
RC
Differentiator
It is also possible to construct an op amp
circuit with an output proportional to the
derivative of the input voltage.
dVin Vout
C
0
dt
R
36
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
37
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Vout
dVin
RC
dt
Linearization
The op amp can also implement linearization.
Generally, this is achieved by placing a nonlinear element in the feedback loop of the op
amp (shown in fig.)
F(Vout)
Vin
Vout
+
Copyright 2006 by Pearson Education, Inc.
Upper Saddle River, New Jersey 07458
All rights reserved.
39
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Linearization
The summarization of currents provides
Vin/R+I(Vout)=0
where Vin=input voltage
R= input resistance
I(Vout)= nonlinear variation of current with voltage
Eq. is solved (in principle) for Vout, we get
Vout=G(Vin/R)
where Vout=output voltage
G(Vin/R)= a nonlinear function of the input
voltage[actually the inverse function of I(Vout)]
40
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Summary
To present a complete picture of analog signal
conditioning, the following points were
considered:
1. The need for analog signal conditioning was
reviewed and resolved into the requirements
of signal-level changes, linearization, signal
conversions, and filtering and impedance
matching.
41
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
43
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Digital Signal
Conditioning
BITS Pilani
Pilani Campus
Computer Interface
Generic model of a
computer bus system.
Comparator
The most important digital tool for the
process- control technologist is one that
translates digital information to analog and
vice versa.
Most measurements of process variables are
performed by devices that translate
information about the variable to an analog
electrical signal.
Comparator
To interface this signal with a computer or
digital logic circuit, it is necessary first to
perform an analog-to-digital (A/D) conversion.
The specifies of this conversion must be well
known so that a unique, known relationship
exists between the analog and digital signals.
Often, the reverse situation occurs, where a
digital signal is required to drive an analog
device. In this case, a digital-to-analog (D/A)
converter is required.
BITS Pilani, Pilani Campus
Comparator
A basic comparator compares
voltages and produces a digital
output.
Comparator
This element is also an integral part of the analog-todigital and digital-to-analog converter.
One of the voltages on the comparator inputs,Va or
Vb will be the variable input, and other a fixed value
called a trip, trigger, or reference voltage.
The reference value is computed from the
specification of the problem and then applied to the
appropriate comparator input terminal.
The reference voltage may be provided from a
divider using available power supplies.
BITS Pilani, Pilani Campus
Hysteresis Comparator
When using comparators, there is often a problem if
the signal voltage has noise or approaches the
reference value too slowly.
The comparator output may jiggle back and forth
between high and low as the reference level is
reached.
A comparator output will jiggle when a noisy signal passes through the
reference voltage level.
BITS Pilani, Pilani Campus
Vin Vref
Vin Vref (R / Rf )V 0
Digital-to-Analog Converters(DACs)
A DAC accepts digital information and
transforms it into an analog voltage.
The digital information is in the form of a
binary number with some fixed number of
digits.
Especially when used in connection with a
computer, this binary number is called a
binary word or computer word.
The digits are called bits of the word.
BITS Pilani, Pilani Campus
DACs
Thus, an 8-bit word would be a binary number
having eight digits, such as 10110110.
A unipolar DAC converts a digital word into an
analog voltage by scaling the analog output to
be zero when all bits are zero and some
maximum value when all bits are one.
This can be mathematically represented by
treating the binary number that the word
represents as a fractional number.
BITS Pilani, Pilani Campus
DACs
The output of the DAC can be defined as a scaling of
some reference voltage:
1
Vout VR [2 2 2 2 ] 0.9375VR
An alternative equation is often easier to use.
This is based on noting that the expression in
brackets is really just the fraction of total
counting states possible with the n bits being
used.
Vout N / 2n VR
where N= base 10 whole number equivalent of
DAC input.
BITS Pilani, Pilani Campus
Bipolar DAC
Some DACs are designed to output a voltage
that ranges from plus to minus some
maximum when the input binary ranges over
the counting states.
Although computer frequently use 2s
complement to represent negative numbers,
this is not common with DACs.
Instead, a simple offset-binary is frequently
used, wherein the output is simply biased by
half the reference voltage .
BITS Pilani, Pilani Campus
Solution:
04FH = 79 and 2A4H = 676
Vout=(79/1024)(5)-(5)/2=-2.1142578 V
Vout= (676/1024)(5)-(5)/2=0.80078 V
The zero occurs when Vout=0,
0=N/1024(5)-(5)/2
=> N=512 =200H= 1000000000
BITS Pilani, Pilani Campus
Conversion Resolution
It is a function of the reference voltage and
the number of bits in the word.
The more bits, the smaller the change in
analog output for a 1 bit change in binary
word, and hence the better the resolution.
The smallest possible change is simply given
by
Vout VR 2 n
where Vout= smallest output voltage;
VR = reference voltage;
n= number of bits in the word
BITS Pilani, Pilani Campus
DAC Characteristics
For modern applications, most DACs are IC
assemblies , viewed as a black box having certain
input and output characteristics.
DAC Structure
A DAC is used as a black box, and no knowledge
of the internal workings is required.
There is some value, however, in briefly showing
how much conversions can be implemented.
The simplest conversion uses a series of op amps
for input for which the gains have been selected
to provide an output.
The most common variety, however, uses a
resistive ladder network to provide the transfer
function.
BITS Pilani, Pilani Campus
V
[
b
2
b
2
......
b
2
]
out
R 1
2
8
Thus , we have
10= VR (1/2+1/4+1/8++1/256)
VR =10/0.9961=10.039V
b) The percentage of valve change per step is found
first from
Vout=VR2-8=(10.039)(1/256)=0.0392
Thus, percent = (0.0392)(100)/10=0.392 %
BITS Pilani, Pilani Campus
Next Class
Data Acquisition System
Thermal Sensors