Professional Documents
Culture Documents
Terminals on an Op Amp
Positive power supply
(Positive rail)
Non-inverting
Input terminal
Output terminal
Inverting input
terminal
Range where
we operate
the op amp as
an amplifier.
vd
The ideal op-amp
• Infinite voltage gain
• a voltage difference at the two inputs is magnified infinitely
• in truth, something like 200,000
• means difference between + terminal and terminal is amplified by 200,000!
• Infinite input impedance
• no current flows into inputs
• in truth, about 1012 for FET input op-amps
• Zero output impedance
• rock-solid independent of load
• roughly true up to current maximum (usually 5–25 mA)
• Infinitely fast (infinite bandwidth)
• in truth, limited to few MHz range
• slew rate limited to 0.5–20 V/s
Op-amp without feedback
• The internal op-amp formula is:
Vout = gain(V+ V)
• So if V+ is greater than V, the output goes positive
• If V is greater than V+, the output goes negative
V
Vout
V+ +
Operational Amplifers
8 –V
20 1 1
8 8
1 1
DIP DIP SMT SMT
The Ideal Op-Amp
+
The Practical Op-Amp
Practical op-amps have characteristics that often can be treated as ideal for
certain situations, but can never actually attain ideal characteristics. In addition
to finite gain, bandwidth, and input impedance, they have other limitations.
+
Block Diagram
+
Push-pull
Differential Voltage
amplifier
Vin amplifier amplifier(s) Vout
output
– input stage gain stage
stage
Signal modes
Vout
applied either as single-ended
+
(one side on ground) or
double-ended (opposite phases –
Vin
on the inputs). Vout
+
Differential signals
Signal modes
Aol
CMRR is defined as CMRR =
Acm
where Aol is the open-loop differential-gain
and Acm is the common-mode gain.
�Aol �
CMRR can also be expressed in decibels as CMRR = 20 log � �
�Acm �
Common-Mode Rejection Ratio
�Aol �
CMRR = 20 log � �
�Acm �
200, 000
= 20 log = 90 dB
6.3
VO(p-p): The maximum output voltage swing is determined by the op-amp and
the power supply voltages
–
Zout: The output impedance is the Zout
Slew rate: The slew rate is the maximum rate of change of the output
voltage in response to a step input voltage
DVout
Slew Rate =
Dt
Determine the slew rate for the output Vout (V)
response to a step input.
13
12
Rf
Acl (NI) = 1 +
Ri
Vin +
82 k
= 1+ Vout
3.3 k – Rf
82 k
= 25.8 Ri
3.3 k
Noninverting Amplifier
Rf Vout
Acl (I) = Vin +
Ri
0 V (virtual ground)
Inverting Amplifier
Rf
Acl (I) =
Ri Rf
82 k
82 k
= Ri
3.3 k –
3.3 k
Vout
Vin +
= 24.8
“Virtual”
ground
i +i =i
s f n
v =v =0
n p
v
i = s
s R
s
v
i = o
f R
f
in = 0
i f = is
vo vs
=
GND
Rf Rs
Rf
vo = vs
Rs
Ideal Op Amp
Ideal Op-Amp Typical Op-Amp
V1
Vout
V2
www.allaboutcircuits.com
+5 +5
1 0 1
V V
Time Time
–5 –5
Digital: Analog:
only assumes discrete values values vary over a broad range
continuously
• The drawback to digitization is that a single analog signal (e.g. a voltage which is a function of
time, like a stereo signal) needs many discrete states, or bits, in order to give a satisfactory
reproduction.
• For example, it requires a minimum of 10 bits to determine a voltage at any given time to an
accuracy of ≈ 0.1%. For transmission, one now requires 10 lines instead of the one original
analog line.
• The explosion in digital techniques and technology has been made possible by the
incredible increase in the density of digital circuitry, its robust performance, its
relatively low cost, and its speed.
• This circuitry is based upon the transistor, which can be operated as a switch with
two states. Hence, the digital information is intrinsically binary. So in practice, the
terms digital and binary are used interchangeably. In the following sections we
summarize some conventions for defining the binary states and for doing binary
arithmetic.
Advantages of Digital Systems
• Digital systems are easier to design since there are only two voltage
levels HIGH and LOW
• Digital systems are less affected by noise
• Digital systems information storage are easy.
• Digital systems are much more accurate and precise than analog
systems.
Digitization
Digital Logic state
• All digital logic ,only two voltage levels or states are allowed.
• These states are generally referred to as logic 1 or logic 0,high or low, true or
false.
• They are represented in Boolean algebra and truth table by the number 1 or
0.
• 0-> 0V (LOW)
• 1-> +5V (HIGH)
• Logic Gate: The most basic element of digital circuits
• Designed with active devices such as diodes and transistors and passive
components such as resistors which consists of one or more inputs and one
output performing very basic logic operation.
Boolean Algebra Properties
Let X: boolean variable, 0,1: constants
1. X + 0 = X -- Zero Axiom
2. X • 1 = X -- Unit Axiom
3. X + 1 = 1 -- Unit Property
4. X • 0 = 0 -- Zero Property
5. X + X = X -- Idepotence
6. X • X = X -- Idepotence
7. X + X’ = 1 -- Complement
8. X • X’ = 0 -- Complement
9. (X’)’ = X -- Involution
1. X+0=X 2. X • 1 = X (dual of 1)
3. X+1 =1 4. X • 0 = 0 (dual of 3)
5. X+X=X 6. X • X = X (dual of 5)
7. X + X’ = 1 8. X • X’ = 0 (dual of 8)
A B C
0 0 0
0 1 0
1 0 0
1 1 1
OR
Current flows if either switch is closed
• Logic notation A + B = C
A B C
0 0 0
0 1 1
1 0 1
1 1 1
Properties of AND and OR
• Commutation
oA + B = B + A
oA B = B A
Same as
Same as
Commutation Circuit
AB BA
A+B B+A
Properties of AND and OR
• Associative Property
A + (B + C) = (A + B) + C
A (B C) = (A B) C
Properties of AND and OR
Distributive Property
A + B C = (A + B) (A + C)
A+BC
A B C Q
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Distributive Property
(A + B) (A + C)
A B C Q
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Binary Addition
A B S C(arry)
0 0 0 0
1 0 1 0
0 1 1 0
1 1 0 1
0 1
Logic: Q=A
1 0
Exclusive OR (XOR)
A B = AB + AB
Accumulating our results: Binary addition is the
result of XOR plus AND
NAND (NOT AND)
A B Q
Q = AB 0 0 1
0 1 1
1 0 1
1 1 0
NAND Gate
• Known as a “universal” gate because ANY digital
circuit can be implemented with NAND gates alone.
• To prove the above, it suffices to show that AND, OR,
and NOT can be implemented using NAND gates only.
X X F X•Y
F = ((X•Y)’)’
Y Y
= (X’+Y’)’
= X’’•Y’’
= X•Y
X X
F = (X’•Y’)’ F = X+Y
= X’’+Y’’
Y Y
= X+Y
A B Q
Q=A+B 0 0 1
0 1 0
1 0 0
1 1 0
NOR Gate
• Also a “universal” gate because ANY digital circuit can
be implemented with NOR gates alone.
• This can be similarly proven as with the NAND gate.
DeMorgan’s Theorem
A B Q
Q = AB
0 0 1
0 1 0
Equality Detector
1 0 0
1 1 1
XOR and XNOR X Y F = XY
XOR: “not-equal” gate 0 0 0
X F 0 1 1
1 0 1
Y
1 1 0
X Y F = XY
XNOR: “equal” gate 0 0 1
0 1 0
X F
1 0 0
Y 1 1 1
Summary
Summary for all 2-input gates
0 0 0 1 0 1 0 1
0 1 0 1 1 0 1 0
1 0 0 1 1 0 1 0
1 1 1 0 1 0 0 1
MEASUREMENT SYSTEM AND ITS
ELEMENTS
• A measurement system may be defined as a systematic arrangement
for the measurement or determination of an unknown quantity and
analysis of instrumentation. The generalised measurement system
and its different components/elements are shown in figure
Digital Multimeters (DMMs)
Digital multimeters
are generally
easier to use.
Ø The oscilloscope uses same type of amplifier and attenuator circuitry as used in the conventional
oscilloscopes.
Ø The output of the vertical amplifier is applied to the A/D converter section.
Ø The successive approximation type of A/D converter is most oftenly used in the digital storage
oscilloscopes.
Ø The sampling rate and memory size are selected depending upon the duration & the waveform to be
recorded.
Ø Once the input signal is sampled, the A/D converter digitizes it.
Ø Once it is stored in the memory, many manipulations are possible as memory can be readout without
being erased.
Advantages
iii) The display flexibility is available. The number of traces that can be stored and recalled depends on the size of the memory.
v) The characters can be displayed on screen along with the waveform which can indicate waveform information such as minimum, maximum,
frequency, amplitude etc.
vi) The X-Y plots, B-H curve, P-V diagrams can be displayed.
vii) The pretrigger viewing feature allows to display the waveform before trigger pulse.
viii) Keeping the records is possible by transmitting the data to computer system where the further processing is possible
ix) Signal processing is possible which includes translating the raw data into finished information e.g. computing parameters of a captured signal like
r.m.s. value, energy stored etc.
Function Generator
• The block diagram of a function generator is given in the figure. In this instrument, the frequency is controlled
by varying the magnitude of the current that drives the integrator. This instrument provides different types of
waveforms (such as sinusoidal, triangular and square waves) as its output signal with a frequency range of 0.01
Hz to 100 kHz.
• The frequency controlled voltage regulates two current supply sources. Current supply source 1 supplies a
constant current to the integrator whose output voltage rises linearly with time. An increase or decrease in the
current increases or reduces the slope of the output voltage and thus controls the frequency.
• The voltage comparator multivibrator changes state at a predetermined maximum level, of the integrator output
voltage. This change cuts-off the current supply from supply source 1 and switches to the supply source 2. The
current supply source 2 supplies a reverse current to the integrator so that its output drops linearly with time.
When the output attains a predetermined level, the voltage comparator again changes state and switches on to
the current supply source. The output of the integrator is a triangular wave whose frequency depends on the
current supplied by the constant current supply sources. The comparator output provides a square wave of the
same frequency as output. The resistance diode network changes the slope of the triangular wave as its
amplitude changes and produces a sinusoidal wave with less than 1% distortion.