Professional Documents
Culture Documents
and Filters
Dr. Abdul Latif
Department of Telecommunication
https://sites.google.com/a/faculty.muet.edu.pk/abdullatif
Syllabus
Operational Amplifiers:
Basics, Mathematical Operations, Practical Considerations, Differentiators &
Integrators, Single Supply Biasing & Norton Amplifiers, Analysis of OPAMP Action, OP-AMP Specifications: Interpreting OP-AMP Data Sheet,
Offset Voltage and Current, Temperature Rating, Output Swing, CMRR,
Slew Rate.
Integrated Circuits:
Precision Rectifiers, Peak Detectors, Comparators, Clampers, Sample &
Hold Circuit, Digital to Analog to Digital Converters, Oscillators and
Integrated Timers.
Syllabus
Filter Design:
Filter Response Terminology; Second Order Filter Functions; Low Pass;
High Pass; Band Pass; Notch; and All Pass. Examples of passive Filter
Circuits: Low Pass; High Pass; Band Pass Notch, and All-pass Examples for
a Band Pass Filter. Circuit for Single Amplifier Biquad Filters. Circuit
Sensitivity. Generalized Impedance Converter Based Biquads and Integrator
Based Biquads. Comparison of Biquad realizations. Butterworth
Approximation, Chebychev Approximation.
1.
2.
3.
Teaching Plan
S. No.
No. of Lectures
required
1
2
3
4
5
6
1
2
1
3
2
1
Inverting, Non Inverting & voltage follower Circuit With Design problems
10
11
12
13
14
15
16
17
18
19
2
2
1
2
1
1
2
2
2
3
21
22
23
First & Second Order Bandpass and Bandstop Filters + Class Test # 03
Total Lectures
2
42
20
2
2
Marking Methodology
Marks Distribution
Final Exam
10
10
60
20
Test
Attendance
10
11
12
13
14
AMP)
It has two input terminals, the inverting (-) input and the
noninverting (+) input, and one output terminal.
10
11
When equal input signals are applied to both inputs, they tend
to cancel, resulting in a zero output voltage.
This action is called common-mode rejection.
Its importance lies in the situation where an unwanted signal
appears commonly on both op-amp inputs.
Department of Telecommunication, MUET UET Jamshoro
12
13
14
15
= 20
16
Example # 1
A certain op-amp has an open-loop differential voltage gain of
100,000 and a common-mode gain of 0.2. Determine the
CMRR and express it in decibels.
Solution: =100,000 and =0.2 therefore,
100000
=
=
= 500,000
0.2
17
18
19
Where = + ( )
The unit of slew rate is volts per microsecond (V/s).
20
EXAMPLE #02
The output voltage of a certain op-amp appears as shown in
Figure in response to a step input. Determine the slew rate.
21
EXAMPLE #02
Solution:
The output goes from the lower to the upper limit in 1sec.
Since this response is not ideal, the limits are taken at the 90%
points, as indicated. So, the upper limit is +9V and the lower
limit is -9V.
The slew rate is
+9 9
=
=
= 18 /
22
When an input signal is applied, the ideal limits of the peakto-peak output signal are Vcc.
reached. VO(p-p) varies with the load connected to the opamp and increases directly with load resistance.
23
Maximum
Output
24
25
26
27
1 + 2
=
2
28
29
30
31
32
= 1 2 = 1 2
=
33
34
35
36
37
38
39
40
Example # 01
An OP-amp has a gain-bandwidth product of 15 MHz.
Determine the bandwidth of OP-amp when ACL = 500. Also
find the maximum value of ACL when f2 = 200 KHz
15
2 =
=
= 30
500
Since the OP-amp is capable of operating as a d.c. amplifier,
bandwidth BW = 30 kHz.
15
=
=
= 75 37.5
2
200
Department of Telecommunication, MUET UET Jamshoro
41
Example # 02
An OP-amp has a gain-bandwidth product of 1.5 MHz. Find
the operating bandwidth for the following closed-loop gains (i)
ACL = 1 (ii) ACL = 10 (iii) ACL = 100.
Bandwidth, BW=
For
For
For
1.5
=1, BW =
= 1.5
1
1.5
=10, BW =
= 150
10
1.5
=100, BW =
= 15
100
42
43
44
Example # 03
Determine the maximum operating frequency for the circuit
shown in Fig. The slew rate is 0.5 V/s.
Solution. The maximum peak output voltage (Vpk) is
approximately 8V. Therefore, maximum operating frequency
(fmax) is given by:
2
500
28
0.5 /
28
= 9.95 kHz
45
Example # 04
The amplifier in above fig. is being used to amplify an input
signal to a peak output voltage of 100 mV. What is the
maximum operating frequency of the amplifier?
Solution.
The maximum operating frequency (fmax) of the amplifier is
given by:
=
0.5 /
20.1
= 500
= 796 kHz
20.1
The above examples show that an OP-amp can be operated at a
much higher frequency when being used as a small-signal
amplifier than when being used as a large-signal amplifier.
46
Operational Amplifiers
Negative Feedback
Noninverting Amplifier and its Design
Voltage-Follower
Voltage-Follower Properties
Inverting Amplifier and its Design
Summing Amplifier, its design and its applications
Operational Amplifiers
Negative Feedback
Negative feedback is the process whereby a portion of the
output voltage of an amplifier is returned to the input with a
phase angle that opposes to the input signal.
Operational Amplifiers
Why Use Negative Feedback?
The inherent open-loop voltage gain of a typical op-amp is very high
(usually greater than 100,000).
Therefore, an extremely small input voltage drives the op-amp into its
saturated output states.
This state is non-linear so we have to make op-amp linear by limiting its
output.
For Example : Vin=1mV, Aol=100,000
Vout=Vin * Aol=1mV * 100,000=100 V
So output is limited to its maximum level.
Since the output level of an OP-amp can never reach 100 V, it is driven
deep into saturation and the device becomes non-linear.
With negative feedback, the closed loop voltage gain (Acl) can be reduced
and controlled so that the op-amp can function as a linear amplifier.
Department of Telecommunication, MUET UET Jamshoro
Operational Amplifiers
Noninverting Amplifier
The configuration of non-inverting Amplifier is closed-loop
configuration with a controlled amount of voltage gain.
Noninverting Amplifier
Noninverting Amplifier
The input signal is applied to the noninverting (+) input.
The output is applied back to the inverting input through the
feedback circuit (closed loop) formed by the input resistor Ri
and the feedback resistor Rf.
Resistors Ri and Rf form a voltage-divider circuit, which
reduces Vout and connects the reduced voltage Vf to the
inverting input.
Noninverting Amplifier
The feedback voltage is expressed as
= (
)
+
The difference of the input voltage, Vin and the feedback
voltage Vf is the differential input to the op-amp.
This differential voltage is amplified by the open-loop Voltage
gain of the op-amp (Aol) and produces an output voltage
expressed as:
=
Noninverting Amplifier
The attenuation, B, of the feedback circuit is
=
+
Substituting Vf = BVout, in the Vout equation,
So,
=
Then applying basic algebra,
=
Noninverting Amplifier
=
+ =
(1 + ) =
Since the overall voltage gain of the amplifier is /, it
can be expressed as:
(1+ )
=1/B
Noninverting Amplifier
The closed-loop gain of the noninverting (NI) amplifier is the
reciprocal of the attenuation (B) of the feedback circuit
(voltage-divider).
() =
Therefore,
()
+
=
()
=1+
Or
10
Noninverting Amplifier
Example # 01
Determine the closed-loop voltage gain of the amplifier in
Figure
11
Noninverting Amplifier
Solution:
This is a noninverting op-amp configuration. Therefore, the
closed-loop voltage gain is
() = 1 +
() = 1 +
100
=22.3
4.7
12
Noninverting Amplifier
Input Impedance of Noninverting Amplifier
Assume a small differential voltage, Vd, exists between the two
inputs, as indicated.
This means that you cannot assume the op-amps input
impedance to be infinite or the input current to be zero.
13
Noninverting Amplifier
Express the input voltage as
= +
Substituting B Vout for the feedback voltage Vf, yields
= +
Remember, B is the attenuation of the negative feedback circuit and
is equal to B=Ri/(Ri + Rf).
Since
= + = 1 +
Now substituting Iin Zin for Vd,
= 1 +
Where Zin the open-loop input impedance of the op-amp (without
feedback connections).
Department of Telecommunication, MUET UET Jamshoro
14
Noninverting Amplifier
= 1 +
15
Noninverting Amplifier
Output Impedance of Noninverting Amplifier
An expression for output impedance of a noninverting
amplifier can be developed with the aid of figure.
16
Noninverting Amplifier
By applying Kirchhoffs voltage law to the output circuit,
=
The differential input voltage is Vd=Vin-Vf
Therefore, by assuming that
You can express the output voltage as
Substituting BVout for Vf,
Expanding and factoring yields
Department of Telecommunication, MUET UET Jamshoro
17
Noninverting Amplifier
+ 1 +
Since the output impedance of the noninverting amplifier
configuration is Zout(NI)=Vout/Iout, you can substitute IoutZout(NI)
for Vout; therefore,
= 1 + ()
The term on the left is the internal output impedance of the opamp (Zout) because, without feedback, AolVin = Vout.
Therefore,
= 1 + ()
Thus
() =
1+
Department of Telecommunication, MUET UET Jamshoro
18
Noninverting Amplifier
Example 12.5
(a) Determine the input and output impedances of the amplifier
in Figure 1225. The op-amp datasheet gives:
=2 M, =75 , =200,000.
(b) Find the closed-loop voltage gain.
Solution (a) The attenuation, B, of the feedback circuit is
10
=
=
= 0.0435
+ 230
19
Noninverting Amplifier
= 1 + = 1 + 200,000 0.0435
=(1+8700)(2 M)=17.4 G
This is such a large number that, for all practical purposes, it
can be assumed to be infinite as in the ideal case.
75
=
=
= 8.6
1 +
1 + 8700
This is such a small number that, for all practical purposes, it
can be assumed to be zero as in the ideal case.
(b)
=1+
=1
220
+
10
= 23.0
20
Voltage Follower
21
Voltage Follower
The most important features of the voltage-follower
configuration are its very high input impedance and its very
low output impedance.
Input resistance Ri = Infinity
Output resistance Rf =zero
0
() = 1 +
=1+ =1
() = 1
A voltage follower is a op-amp circuit which has a voltage
gain of 1 (unity).
22
Voltage Follower
It provides no amplification or attenuation to the signal.
A voltage follower acts as a isolating buffer for interfacing
high-impedance sources and low-impedance loads.
23
Inverting Amplifier
The configuration of inverting Amplifier is closed-loop
configuration with a controlled amount of voltage gain.
An OP-amp has an infinite input impedance. This means that
there is zero current at the inverting input.
If there is zero current through the input impedance, then
there must be no voltage drop between the inverting and
noninverting inputs.
24
Inverting Amplifier
This means that voltage at the inverting input () is zero
(point A) because the other input (+) is grounded.
The 0V at the inverting input terminal (point A) is referred to
as virtual ground.
The current I1 to the inverting input is zero. Therefore,
current Iin flowing through Ri entirely flows through
feedback resistor Rf.
In other words, If = Iin.
Now,
0
=
=
=
=
25
Inverting Amplifier
and =
since If=Iin
26
Example # 01
Given the op-amp configuration in Figure, determine the value
of Rf required to produce a closed-loop voltage gain of -100.
Solution
() =
=
= 100*2.2 k
= 220 k
27
Inverting Amplifier
Input impedance
The input impedance for an
inverting amplifier is:
Output Impedance
As with a noninverting amplifier,
the output impedance of an
inverting amplifier is decreased
by the negative feedback. In fact,
the expression is the same as for
the noninverting case.
() =
1 +
Department of Telecommunication, MUET UET Jamshoro
28
Summing Amplifier
Summing Amplifier: designs
A summing amplifier is an inverted OP-amp that can accept
two or more inputs.
The output voltage of a summing amplifier is proportional to
the negative of the algebraic sum of its input voltages.
29
Summing Amplifier
When all the three inputs are applied, the output voltage is
Output voltage, = = 1 + 2 + 3
1 2 3
=
+
+
1 2 3
If R1 = R2 = R3 = R, then, we have,
=
1 + 2 + 3
30
Summing Amplifier
A general expression for a unity-gain summing amplifier with
n inputs, where all resistors are equal in value is
= (1 + 2 + 3 + )
31
Summing Amplifier
Example 25.44. Determine the output voltage for the
summing amplifier in Fig. 25.72.
Solution:
All three input resistors are equal and each is equal to the
value of feedback resistor.
Therefore gain of the summing amplifier is 1.
= 1 + 2 + 3 = 3 + 1 + 8 = 12
32
Summing Amplifier
Example 25.45. Determine the output voltage for the
summing amplifier shown in Fig. 25.73.
Solution. Rf = 10 k and R1 = R2 = R = 1 k. Therefore, gain
of the amplifier = Rf /R = 10 k/1k = 10.
Now =
1 + 2 =
10
0.2 + 0.5 = 7
33
Summing Amplifier
Application of Summing Amplifiers
By proper modifications, a summing amplifier can be made to
perform many useful functions.
There are a number of applications of summing amplifiers.
However, we shall discuss the following two applications by
way of illustration:
1. As averaging amplifier
2. As subtractor
34
35
36
37
38
= + = 1 + 2 = 1 2
39
Differential Amplifier
Then differential amplifiers amplify the difference between two
voltages.
Differential amplifier is same as Subtractor Amplifier.
Consider the figure of differential amplifier.
To find the Vo (output voltage), superposition can be used.
According to figure,
1
1 =
1
2
2 =
2
1
=
40
Differential Amplifier
Then Summing point Va=Vb
And
4 )
= 2 ( +
2
If 2=0,
() = 1 (3 )
1
If 1=0,
() =
1 + 3
4
() = 2 ( + )(
)
2
4
1
= () + ()
1 + 3
3
4
= 1 + 2 ( + )(
)
1
2
4
1
Department of Telecommunication, MUET UET Jamshoro
41
Differential Amplifier
Case:1
If Resistors, R1 = R2 and R3 = R4 the transfer function for the
differential amplifier can be simplified to the following
expression:
3
=
(2 1 )
1
42
Differential Amplifier
Case:2
If all the resistors are all of the same ohmic value, that is: R1 =
R2 = R3 = R4 then the circuit will become a Unity Gain
Differential Amplifier and the voltage gain of the amplifier
will be exactly one or unity.
Then the output expression would simply be:
= (2 1 )
43
Operational Amplifiers
The Op-Amp Integrator
Its Design + Examples
Practical integrator
The Op-Amp Differentiator
Its Design + Examples
44
Op-Amp Integrators
An op-amp integrator simulates mathematical integration,
which is basically a summing process that determines the total
area under the curve of a function.
The feedback element is a capacitor that forms an RC circuit
with the input resistor.
45
Op-Amp Integrators
Basics of Capacitor
The charge Q on a capacitor is proportional to the charging
current (IC) and the time (t).
=
Also, in terms of the voltage, the charge on a capacitor is:
=
From these two relationships, the capacitor voltage can be
expressed as:
=
46
Op-Amp Integrators
Charging and discharging across capacitor
47
Op-Amp Integrators
The capacitor voltage in a simple RC circuit is not linear but is
exponential this is because the charging current continuously
decreases as the capacitor charges and causes the rate of
change of the voltage to continuously decrease.
The key thing about using an op-amp with an RC circuit to
form an integrator is that the capacitors charging current is
made constant, thus producing a straight-line (linear) voltage
rather than an exponential voltage.
The input current is:
48
Op-Amp Integrators
The inverting input always remains at 0 V (Virtual ground),
therefore all of the input current go through the capacitor.
=
49
Op-Amp Integrators
Since is constant, so is also constant.
The constant charges the capacitor linearly and produces a
linear voltage across C.
The positive side of the capacitor is held at 0 V by the virtual
ground of the op-amp.
The voltage on the negative side of the capacitor, which is the
op-amp output voltage, decreases linearly from zero as the
capacitor charges.
50
Op-Amp Integrators
This voltage, VC, is called a negative ramp and is the
consequence of a constant positive input.
51
Op-Amp Integrators
Circuit analysis:
Since point A in Fig. 25.80 is at virtual ground, the virtualground equivalent circuit of operational integrator will be as
shown in Fig. 25.81.
52
Op-Amp Integrators
Because of virtual ground and infinite impedance of the OPamp, all of the input current i flows through the capacitor i.e.
i = ic.
Now
(i)
(ii)
1
=
(iii)
(iv)
53
Op-Amp Integrators
To find the output voltage, we integrate both sides of eq. (iv) to
get,
=
1
0
(v)
Eq. (v) shows that the output is the integral of the input with
an inversion and scale multiplier of 1/RC.
54
Op-Amp Integrators
Output Voltage
If a fixed voltage is applied to the input of an integrator, eq. (v)
shows that the output voltage grows over a period of time, providing
a ramp voltage.
Eq. (v) also shows that the output voltage ramp (for a fixed input
voltage) is opposite in polarity to the input voltage and is multiplied
by the factor 1/RC.
As an example, consider an input voltage V1 = 1V to the integrator
circuit of Fig. 25.82 (i). The scale factor of 1/RC is
1
1
=
= 1
1 1
so that the output is a negative ramp voltage as shown in Fig. 25.82
(ii).
Department of Telecommunication, MUET UET Jamshoro
55
Op-Amp Integrators
If the scale factor is changed by making R = 100 k, then,
1
1
=
= 10
100 1
and output is then a steeper ramp voltage as shown in Fig.
25.82 (iii).
Fig. 25.82
Department of Telecommunication, MUET UET Jamshoro
56
Op-Amp Integrators
The integrator shown earlier has no feedback at 0 Hz.
This is a serious disadvantage in low-frequency applications.
By connecting a feedback resistor Rf in parallel with the
capacitor, precise closed-loop voltage gain is possible.
The circuit shown in Fig. 25.83 is an integrator with a
feedback resistor Rf to provide increased stability.
All integrators have a critical frequency fc below which they
do not perform proper integration.
If the input frequency is less than fc, the circuit behaves like a
simple inverting amplifier and no integration occurs.
57
Op-Amp Integrators
The following equation is used to calculate the critical
frequency of an integrator:
=
58
Op-Amp Integrators
Example 25.50. Fig. 25.84 (i) shows the OP-amp integrator
and the square wave input. Find the output voltage.
Solution. The output voltage of this circuit is given by:
1
=
0
= 0
(i)
(ii)
Fig. 25.84
59
Op-Amp Integrators
When we integrate a constant, we get a straight line.
In other words, when input voltage to an integrator is constant,
the output is a linear ramp.
Therefore, the integration of the square wave results in the
triangular wave as shown in Fig. 25.84 (ii).
Since the input to the integrator is applied to the inverting
input, the output of the circuit will be 180 out of phase with
the input.
Thus, when the input goes positive, the output will be a
negative ramp. When the input is negative, the output will be a
positive ramp. Fig. 25.84 (ii) shows this relationship.
Department of Telecommunication, MUET UET Jamshoro
60
Op-Amp Integrators
Example # 02
Determine the rate of change of the output voltage in response
to the input square wave, as shown in Figure, The output
voltage is initially zero. The pulse width is 100 sec.
Describe the output and draw the waveform
61
Op-Amp Integrators
Solution
The rate of change of the output voltage during the time that
the input is at +2.5 V (capacitor charging) is:
2.5
25
=
=
=
10 0.01
= 25 /
The rate of change of the output during the time that the input
is negative (capacitor discharging) is the same as during
charging except it is positive.
= 25 / sec
62
Op-Amp Integrators
(b) When the input is at +2.5 V, the output is a negative-going
ramp. When the input is at -2.5V the output is a positive-going
ramp.
25
=
200 = 5
During the time the input is at +2.5 V, the output will go from
0 to -5.
During the time the input is at -2.5 the output will go from -5
to 0.
Therefore, the output is a triangular wave with peaks at 0V and
-5 as shown in figure.
Department of Telecommunication, MUET UET Jamshoro
63
Op-Amp Integrators
64
Practical Integrators
In a practical integrator, any dc error voltage due to offset error
will cause the output to produce a ramp that moves toward
either positive or negative saturation, even when no signal is
present.
the simplest solution is to use a resistor in parallel with the
capacitor in the feedback path.
In addition, a compensating
resistor, Rc, may be added to
the noninverting input to
balance the effects of
bias current.
65
Fig. 25.88
Fig. 25.89
66
67
Also
and = 0 =
=
=
68
Or
Above eq. shows that output is the differentiation of the input with
an inversion and scale multiplier of RC.
If we examine above eq., we see that if the input voltage is constant,
dvi/dt is zero and the output voltage is zero. The faster the input
voltage changes, the larger the magnitude of the output voltage.
Department of Telecommunication, MUET UET Jamshoro
69
70
5
0.1
= 5104 V/s
Therefore , vo=-(0.1103)(5104)=-5V
The signal quickly returns to zero as the input signal becomes
constant. The output will be as shown in Fig. 25.90 (ii).
71
72
= 5 = 2 V/
Department of Telecommunication, MUET UET Jamshoro
73
2V
=
2.2 = 4.4
= 4.4
74
Operational Amplifiers
Logarithmic Amplifier
Its Design+Examples
Anti-Logarithmic Amplifier
Its Design+Examples
Comparator and Schmitt Trigger
Logarithmic Amplifier
The configuration of Logarithmic Amplifier is closed-loop
configuration in which we place a diode in the feedback loop
of an op-amp circuit.
A logarithmic (log) amplifier produces an output that is
proportional to the logarithm of the input.
Logarithmic Amplifier
The Diode in the feedback loop of an op-amp, produces a
logarithmic response.
The output voltage is a function of the logarithm of the input
voltage, as expressed by the following general equation:
=
where K is a constant and ln is the natural logarithm to the
base e.
Natural logarithm can be converted to a logarithm to the base
10, (Log10) using the relationship:
= 2.3 10
Logarithmic Amplifier
The semiconductor pn junction in the form of either a diode or
the base-emitter junction of a BJT provides a logarithmic
characteristic.
A diode has a nonlinear characteristic up to a forward voltage
of approximately 0.7 V.
Figure 1429 shows the characteristic curve, where VF is the
forward diode voltage and IF is the forward diode current.
Logarithmic Amplifier
FIGURE 1429
Logarithmic Amplifier
As it can be seen in the graph, the diode curve is nonlinear.
Not only is the characteristic curve nonlinear, it is logarithmic
and is specifically defined by the following formula:
=
Logarithmic Amplifier
From the previous equation, the diode forward voltage, VF can
be determined as follows. Take the natural logarithm (ln is the
logarithm to the base e) of both sides.
=
The of a product of two terms equals the sum of the of
each term.
=
= +
Logarithmic Amplifier
( ) =
Solving for VF :
= (
)(
)
Logarithmic Amplifier
Analysis of the feedback loop of the circuit, shown in figure
below.
Since the inverting input is at virtual ground (0 V), the output
is at -VF when the input is positive.
Since VF is logarithmic, so is Vout.
FIGURE 1430
10
Logarithmic Amplifier
An analysis of the figure is as follows, beginning with the fact
that = VF, = = 1
Substituting into the formula for VF ,
= (
)(
= (
)(
)
1
11
Logarithmic Amplifier
Example # 148: Determine the output voltage for the log
amplifier in Figure 14-31, =50 .
12
Logarithmic Amplifier
The input voltage and the resistor value are given in Figure
= (0.025)( )
1
= 0.025
2
10050
= 0.025
400
= 0.025 5.99
= 0.150
Department of Telecommunication, MUET UET Jamshoro
13
Logarithmic Amplifier
Log Amplifier with a BJT
The base-emitter junction of a bipolar junction transistor
exhibits the same type of logarithmic characteristic as a diode
because it is also a pn junction.
A log amplifier with a BJT connected in a common-base form
in the feedback loop is shown in Figure 1432.
Notice that Vout with respect to ground is equal to -VBE.
The analysis for this circuit is the same as for the diode log
amplifier except that VBE replaces VF, IC replaces IF, and IEBO
replaces IR.
14
Logarithmic Amplifier
The expression for the VBE versus IC characteristic curve is:
=
where IEBO is the emitter-to-base leakage current.
The expression for the output voltage is:
= (0.025)( )
1
FIGURE 1432
15
Logarithmic Amplifier
Example # 149: What is Vout for a transistor log amplifier
with Vin=3 V and R1=68 k? Assume IEBO=40 nA.
Solution:
= 0.025
= 0.025
3
40 68
= 0.025 1103
=-175.1 mV
Department of Telecommunication, MUET UET Jamshoro
16
Anti-Logarithmic Amplifier
The configuration of AntiLog Amplifier is closed-loop
configuration in which we place a diode in the input of an opamp circuit.
An Antilog amplifier produces an output that is proportional to
the Antilog of the input.
17
Anti-Logarithmic Amplifier
The antilogarithm of a number is the result obtained when the
base is raised to a power equal to the logarithm of that number.
To get the antilogarithm, you must take the exponential of the
logarithm (antilogarithm of =) .
According to figure:
=
The previous eq: of forward current is:
=
Since = VF and due to virtual ground =
18
Anti-Logarithmic Amplifier
19
Anti-Logarithmic Amplifier
Anti-Log Amplifier with a BJT
An antilog amplifier shown in Figure 1433. The exponential
formula still applies to the base-emitter pn junction.
The output voltage is determined by the current (equal to the
collector current) through the feedback resistor.
FIGURE 1433
20
Anti-Logarithmic Amplifier
=
The characteristic equation of the pn junction is:
=
Substituting into the equation for Vout,
=
As in Figure 1433, Vin=VBE,
=
The exponential term can be expressed as an antilogarithm as
follows:
Department of Telecommunication, MUET UET Jamshoro
21
Anti-Logarithmic Amplifier
)
= (
22
Anti-Logarithmic Amplifier
Example # 1410: For the antilog amplifier in Figure 1434,
find the output voltage. Assume IEBO = 40 nA.
Solution:
using the relation:
= (25
)
= 68 40 (175.1
25 )
= 68 40 (1101)=-3 V
23
24
25
26
Comparator
A comparator is a specialized nonlinear op-amp circuit that
compares two input voltages and produces an output state that
indicates which one (input) is greater.
Comparators are designed to be fast and frequently have other
capabilities to optimize the comparison function.
27
Comparator
A comparator is an OP-amp circuit without negative feedback
and takes advantage of very high open-loop voltage gain of
OP-amp.
A comparator has two input voltages (noninverting and
inverting) and one output voltage.
Because of the high open-loop voltage gain of an OP-amp, a
very small difference voltage between the two inputs drives
the amplifier to saturation.
Consider an OP-amp having AOL = 100,000.
A voltage difference of only 0.25 mV between the inputs will
produce an output voltage of (0.25 mV) (100,000) = 25V.
Department of Telecommunication, MUET UET Jamshoro
28
Comparator
However, most of OP-amps have output voltages of less than
15V because of their d.c. supply voltages.
Therefore, a very small differential input voltage will drive the
OP-amp to saturation. This is the key point in the working of
comparator.
Fig. 25.93 illustrates the action of a comparator.
29
Comparator
The input voltages are v1 (signal) and v2 (reference voltage).
If the differential input is positive, the circuit is driven to saturation
and output goes to maximum positive value (+13V).
Reverse happens when the differential input goes negative i.e. now
output is maximum negative (-13V).
+Vsat = + Vsupply 2 = 15 2 = + 13V
Vsat = Vsupply + 2 = 15 + 2 = 13V
This circuit is called comparator because it compares v1 to v2 to
produce a saturated positive or negative output voltage.
Department of Telecommunication, MUET UET Jamshoro
30
Comparator
A comparator circuit has the following two characteristics :
i. It uses no feedback so that the voltage gain is equal to the
open-loop voltage gain (AOL) of OP-amp.
ii. It is operated in a non-linear mode.
31
Comparator
Applications of an op-amp used as a comparator:
As a square wave generator
As a zero-crossing detector
As a nonzero-level detector
32
33
34
35
36
37
FIGURE 132
Nonzero-level detectors.
38
39
40
41
FIGURE 135
42
43
FIGURE 136
44
45
46
FIGURE 137
47
48
FIGURE 138
49
50
Schmitt Trigger
A comparator with built-in hysteresis is sometimes known as a
Schmitt trigger.
The amount of hysteresis is defined by the difference of the
two trigger levels.
=
51
Schmitt Trigger
Example 13-2: Determine the upper and lower trigger points
for the comparator circuit in Figure 139. Assume that
+Vout(max) = +5 V and - Vout(max) = -5V.
Solution:
2
=
+ = 0.5 5 = +2.5
1 + 2
2
=
= 0.5 5 = 2.5
1 + 2
52
Operational Amplifiers
Precision Rectifiers
Peak Detector and its circuit Design
Clamper
Voltage limiter by using Op-Amp
Precision Rectifiers
Limitation of Conventional Rectifier
Diode is a nonlinear element used for rectifying the alternate
signal.
As long as input voltage reaches 0.7 V, the diode does not
conduct.
Input voltage must be greater than 0.7 V.
For the input between 0.7 V, the output remains zero which
is main limitation of conventional rectifier
Due to this, output is distorted and produces distortion during
this interval.
Precision Rectifiers
Therefore instead of diode, an op-amp is used in precision
rectifiers.
The open loop gain of Op-amp is high , for very small amount
of input, produces large output which can easily make the
diode conduct
Diode can conduct order of millivolts.
In many applications we want to operate at low voltages so we
use precision Rectifier.
Precision Rectifiers
Figure 17.33(a) shows a precision half-wave-rectifier circuit
consisting of a diode placed in the negative-feedback path of
an op amp, with R being the rectifier load resistance.
Figure 17.33 (a) The superdiode precision half-wave rectifier; (b) its
almost ideal transfer characteristic.
Precision Rectifiers
The circuit works as follows:
If 1 goes positive, the output voltage of an op-amp will go
positive and the diode will conduct, thus establishing a closed
feedback path between the op amps output terminal and the
negative input terminal.
This negative-feedback path will cause a virtual short circuit to
appear between the two input terminals of the op amp.
Thus the voltage at the negative input terminal, which is also
the output voltage 0, will equal to that at the positive input
terminal, which is input voltage I,
0 =
0
Department of Telecommunication, MUET UET Jamshoro
Precision Rectifiers
If I goes negative, the output voltage of an op-amp will go
negative, this will reverse bias the diode and no current will
flow through the resistance R, causing 0 to remain equal to 0
V.
Thus for I < 0, =0. since in this case the diode is off the opamp will be operating in an open loop and its output will be at
the negative saturation level.
Precision Rectifiers
Example 17.24: Consider the operational rectifier or
superdiode circuit of Fig. 17.33(a), with R = 1 k. For vI = 10
mV, 1 V, and 1 V, what are the voltages that result at the
rectifier output and at the output of the op amp? Assume that
the op amp is ideal and that its output saturates at 12 V. The
diode has a 0.7-V drop at 1-mA current, and the voltage drop
changes by 0.1 V per decade of current change.
Solution:
Precision Rectifiers
(a) For I =10 mV
I = 0 =10 mV
=
10
1
= 10
VA=0.51 V
(b) For I =1 V
=
1
1
= 1
I = 0 =1 V
VA=1.7 V
(c) For I =-1 V
The negative feedback loop
is not operative.
0 =0 V
VA=-12 V
VD=0.7 V
If =0.1 mA, VD=0.6 V
If =10 A, VD=0.5 V
Department of Telecommunication, MUET UET Jamshoro
10
11
12
13
14
15
16
17
18
19
20
FIGURE 1439
A basic peak detector.
21
22
23
24
Clampers
What is the difference between clipper and clamper?
A clipper (or limiter) is used to clip off or remove a portion of
an a.c. signal. The half-wave rectifier is basically a clipper that
eliminates one of the alternations of an a.c. signal.
A clamper (or dc restorer) is used to restore or change the dc
reference of an ac signal.
25
Clampers
In clamper circuits, a predetermined dc level is added to the
input voltage.
A clamp circuit adds the positive or negative dc component to
the input signal so as to push it either on the positive side, or
on the negative side.
The circuit will be called a positive clamper , when the signal
is pushed upward by the circuit, the negative peak of the signal
coincides with the zero level.
The circuit will be called a negative clamper, when the signal
is pushed downward by the circuit. When the signal is pushed
on the negative side, the positive peak of the input signal
coincides with the zero level.
Department of Telecommunication, MUET UET Jamshoro
26
Clampers
27
Clampers
Positive clamper circuits
The Fig. 3.101 shows a positive clamper circuit using op-amp.
28
Clampers
Positive clamper circuits
The Fig. 3.101 shows a positive clamper circuit using op-amp.
When the input voltage is first time negative, due to inverting mode
of op-amp, the op-amp output is positive.
This turns on the diode making it forward biased.
Thus the capacitor charges to the peak value of the negative cycle of
input with the polarities as shown in the fig. 3.101.
Just beyond the negative input peak, the diode becomes reverse
biased and stops conducting. It becomes open.
Hence the output voltage is sum of the input voltage and the
capacitor voltage:
= +
29
Clampers
Thus the d.c. level equal to Vp gets added in the a.c. output
signal.
The first output waveform is sinusoidal but shifted positively
through Vp. Hence the circuit is called positive clamper and
the waveform is called positively clamped waveform.
30
Clampers
It can be observed that output waveform swings from 0 to
+2Vp i.e. peak to peak voltage of the output waveform is 2Vp
which remains same as the input voltage.
Thus the circuit shows that the total swing of the output
voltage remains same as the total swing of the input voltage in
clamper circuit.
As during the positive half cycle of the input, diode does not
conduct, capacitor retains its voltage as Vp all the time after the
first negative peak of the input.
31
Clampers
Alternate positive clamper circuit
Another circuit in which, variable positive d.c. level can be
added is shown in the fig. 3.103.
32
Clampers
The input voltage is applied to the inverting terminal of the opamp A1 while variable positive d.c. voltage is applied to the
noninverting input terminal of the op-amp A1.
The circuit can be analyzed using the superposition theorem
considering only one input active at a time.
Let Vref is acting alone and input Vin is zero.
For positive Vref, the output voltage V is also positive.
Due to this the diode D becomes forward biased.
Hence the circuit acts as a voltage follower and the net output
voltage Vo is same as positive Vref.
33
Clampers
Now consider input at inverting terminal only.
Let it be purely sinusoidal i.e. Vin=Vm Sin t.
For negative half cycle of input, the Vo will be positive and
diode D will conduct.
The capacitor C charges through diode D to the negative peak
voltage Vm.
However, during the positive half cycle of the input, diode D
does not conduct and capacitor C retains its previous voltage
of Vm.
This voltage Vm is in series with the a.c. input voltage, the
output voltage (Vo) becomes Vin+ Vm.
Department of Telecommunication, MUET UET Jamshoro
34
Clampers
Hence the net output voltage due to the effect of both the input
becomes Vin+Vm+Vref.
The resistor R is used to protect the op-amp against excessive
discharge currents from the capacitor C, especially when the
d.c. supply voltages are switched off.
35
Clampers
Negative clamper circuits
The Fig. 3.105 shows the negative clamper circuit obtained by
reversing the diode connections in positive clamper circuit.
36
Clampers
When Vin is first positive going, due to inverting mode of opamp, the voltage VOA goes negative.
Thus diode D becomes forward biased and capacitor charges
to peak value with polarities as shown.
Just beyond the positive peak, the diode becomes reverse
biased and becomes open.
Hence the output voltage Vo is the sum of the sum of the input
and capacitor voltages.
=
Hence a negative d.c. level of Vp gets added to the output
hence circuit is called negative clamper circuit.
Department of Telecommunication, MUET UET Jamshoro
37
Clampers
The waveforms are shown in the fig. 3.106.
38
Clampers
Alternate negative clamper circuit
Another circuit in which variable negative d.c. level can be
added is shown in the fig. 3.107.
In such a circuit Vref is generated using the negative supply
VEE of the op-amp and the diode connections are reversed.
39
Clampers
Due to opposite connection of diode D, the capacitor charges
in reverse direction and hence negative clamper is obtained.
The waveforms are shown in the fig. 3.108.
40
41
42
43
44
45
46
47
48
DATA CONVERTERS
Analog
input
Encoder
A/D
Converter
Digital
Processing
Unit
Decoder
D/A
Converter
Analog
output
DATA CONVERTERS
Analog
input
Encoder
A/D
Converter
Digital
Processing
Unit
INPUT
A/D
D/A
Converter
Analog
output
Digital-to-analog converter
Analog-to-digital converter
0110
Decoder
0110
Resistor
Network
Summing
Amplifier
Analog
Voltage
DATA CONVERTERS
Many sensors and actuators are analog!
Strain Gauge
Solenoid Valve
Thermistors
Thermocouple
In order to use these with digital devices, we need a way to make digital
data in to analog and the other way round
Department of Telecommunication, MUET UET Jamshoro
DATA CONVERTERS
Most physical signals, such as those obtained at transducer
outputs, exist in analog form.
Some of the processing required on these signals is most
conveniently performed in an analog fashion.
For instance, in instrumentation systems it is quite common to
use a high input-impedance, high-gain, high-CMRR
differential amplifier right at the output of the transducer.
This is usually followed by a filter whose purpose is to
eliminate interference.
However, further signal processing is usually required.
Many such forms of signal processing can be performed by
analog means.
Department of Telecommunication, MUET UET Jamshoro
DATA CONVERTERS
However, an attractive alternative exists: It is to convert,
following some initial analog processing, the signal from
analog to digital form and then use economical, accurate, and
convenient digital ICs to perform digital signal processing.
Once digital signal processing has been performed, the result
in digital form can be displayed.
Alternatively, an analog output might be required.
Such is the case in a telecommunications system, where the
usual output may be audible speech.
If such an analog output is desired, then obviously there is
need to convert the digital signal back to an analog form.
Department of Telecommunication, MUET UET Jamshoro
10
DATA CONVERTERS
Sampling of Analog Signals
The principle underlying digital signal processing is that of
sampling the analog signal.
Figure 9.36 illustrates in a conceptual form the process of
obtaining samples of an analog signal.
The switch shown closes periodically under the control of a
periodic pulse signal (clock).
The closure time of the switch, , is relatively short, and the
samples obtained are stored (held) on the capacitor.
11
DATA CONVERTERS
12
DATA CONVERTERS
Each of these voltage levels is then fed to the input of an A/D
converter, which provides an N-bit binary number proportional
to the value of signal sample.
Signal Quantization
Consider an analog signal whose values range from 0 to +10
V.
Let us assume that we wish to convert this signal to digital
form and that the required output is a 4-bit digital signal.
We know that a 4-bit binary number can represent 16 different
values, 0 to 15; it follows that the resolution of our conversion
will be 10 V /15=2/3 V.
Department of Telecommunication, MUET UET Jamshoro
13
DATA CONVERTERS
Thus an analog signal of 0 V will be represented by 0000, 2/3
V will be represented by 0001, 6 V will be represented by
1001, and 10 V will be represented by 1111.
All these sample numbers are multiples of the basic increment
( 2/3 V).
Now consider the case of a 6.2-V analog level.
This falls between 18/ 3 and 20/ 3. However, since it is closer
to 18/ 3 we treat it as if it were 6 V and code it as 1001.
This process is called quantization.
Obviously errors are inherent in this process; such errors are
called quantization errors.
Department of Telecommunication, MUET UET Jamshoro
14
DATA CONVERTERS
Figure 9.37 depicts the functional block representations of A/D
and D/A converters.
A/D converter (ADC) accepts an analog sample vA and
produces an N-bit digital word.
Conversely, the D/A converter (DAC) accepts an N-bit digital
word and produces an analog sample.
15
DATA CONVERTERS
The output samples of the D/A converter are often fed to a
sample-and-hold circuit.
At the output of the S/H circuit a staircase waveform, such as
that in Fig. 9.38, is obtained.
The staircase waveform can then be smoothed by a low-pass
filter, giving rise to the smooth curve shown in color in Fig.
9.38.
In this way an analog output signal is reconstructed.
16
DATA CONVERTERS
FIGURE 9.38 The analog samples at the output of a D/A converter are
usually fed to a sample-and-hold circuit to obtain the staircase waveform
shown.
17
18
= 1 + 2 + +
2
2
2
where b1, b2, and so on are bit coefficients that are either 1 or
0.
Note that the bit bN is the least significant bit (LSB) and b1 is
the most significant bit (MSB).
Department of Telecommunication, MUET UET Jamshoro
19
20
=
+
+ 1
1
2 2
2
2 1 2
=
+ ++
21 22
2
Thus,
2
=
21
22
FIGURE 9.40 The basic circuit configuration of a DAC utilizing an R-2R ladder
network.
Department of Telecommunication, MUET UET Jamshoro
23
24
25
26
= +
2
27
28
29
30
31
32
33
Oscillators
Many electronic devices require a source of energy at a
specific frequency which may range from a few Hertz to
several MHz.
This is achieved by an electronic device called an
oscillator.
The frequency of oscillations depends upon the constants
of the device.
Oscillators are extensively used; for example in radio and
television receivers to generate carrier wave.
Oscillators are used to produce clock signals (timing
information).
Department of Telecommunication, MUET UET Jamshoro
Oscillators
Two major classifications for oscillators:
feedback oscillators and
relaxation oscillators.
Oscillators
Types of oscillation
Damped oscillations
The electrical oscillations whose amplitude goes on
decreasing with time are called damped oscillations.
Undamped oscillations
The electrical oscillations whose amplitude remains
constant with time are called undamped oscillations.
Oscillators
Fig. 14.1
Oscillators
An oscillator is a circuit that produces a periodic waveform on
its output with only the dc supply voltage as an input.
The output voltage can be either sinusoidal or non-sinusoidal,
depending on the type of oscillator.
An oscillator converts electrical energy from the dc power
supply to periodic waveforms.
FIGURE 161
The basic oscillator concept showing three common types of output waveforms: sine wave,
square wave, and sawtooth.
Feedback Oscillators
One type of oscillator is the feedback oscillator, which returns
a fraction of the output signal to the input with no net phase
shift, resulting in a reinforcement of the output signal.
After oscillations are started, the loop gain is maintained at 1.0
to maintain oscillations.
A feedback oscillator consists of an amplifier for gain (either a
discrete transistor or an op-amp) and a positive feedback
circuit that produces phase shift and provides attenuation, as
shown in Figure 162.
Feedback Oscillators
FIGURE 162
Feedback Oscillators
Positive Feedback
Positive feedback is characterized by the condition wherein a
portion of the output voltage of an amplifier is fed back to the
input with no net phase shift, resulting in a reinforcement of
the output signal.
This basic idea is illustrated in Figure 163(a).
The in-phase feedback voltage, Vf, is amplified to produce the
output voltage, which in turn produces the feedback voltage.
That is, a loop is created in which the signal sustains itself and
a continuous sinusoidal output is produced.
This phenomenon is called oscillation.
Department of Telecommunication, MUET UET Jamshoro
Feedback Oscillators
FIGURE 163
10
Feedback Oscillators
Positive Feedback
In some types of amplifiers, the feedback circuit shifts the
phase 1800 and an inverting amplifier is required to provide
another 1800 phase shift so that there is no net phase shift. This
is illustrated in Figure 163(b).
11
Feedback Oscillators
Barkhausen Criterion
It is in order to produce continuous undamped oscillations at the
output of an amplifier, two conditions, as illustrated in Figure 164,
are required:
1. The phase shift around the feedback loop must be effectively 00.
2. The voltage gain, Acl, around the closed feedback loop (loop
gain) must equal to 1 (unity). This is called Barkhausen
criterion.
The voltage gain around the closed feedback loop, Acl, is the product
of the amplifier gain Av, and the attenuation, B, of the feedback
circuit.
=
The amplitude of the oscillations should be constant.
Department of Telecommunication, MUET UET Jamshoro
12
Feedback Oscillators
FIGURE 164
13
Feedback Oscillators
If a sinusoidal wave is the desired output, a loop gain greater
than 1 will rapidly cause the output to saturate at both peaks of
the waveform, producing unacceptable distortion.
To avoid this, some form of gain control must be used to keep
the loop gain at exactly 1 once oscillations have started.
14
=
1
If Vs = 0, the only way that Vo can be nonzero is that loop gain
A=1 which implies that (Barkhausen Criterion):
= 1
= 00
Vs
A(f)
Vo
Vf
SelectiveNetwork
(f)
15
Feedback Oscillators
Start-Up Conditions
The unity-gain condition must be met for oscillation to be
sustained.
For oscillation to begin, the voltage gain around the positive
feedback loop must be greater than 1 so that the amplitude of
the output can build up to a desired level.
The gain must then decrease to 1 so that the output stays at the
desired level and oscillation is sustained.
The voltage gain conditions for both starting and sustaining
oscillation are illustrated in Figure 165.
16
Feedback Oscillators
FIGURE 165
When oscillation starts at t0, the condition Acl >1 causes the sinusoidal output
voltage amplitude to build up to a desired level. Then Acl decreases to 1 and
maintains the desired amplitude.
17
18
Wien-bridge oscillator
A fundamental part of the Wien-bridge oscillator is a lead-lag
circuit like that shown in Figure 166(a).
R1 and C1 together form the lag portion of the circuit: R2 and
C2 form the lead portion.
FIGURE 166
19
Wien-bridge oscillator
The operation of this lead-lag circuit is as follows:
At lower frequencies, the lead circuit dominates due to the
high reactance of C2.
As the frequency increases, XC2 decreases, thus allowing the
output voltage to increase.
At some specified frequency, the response of the lag circuit
takes over, and the decreasing value of XC1 causes the output
voltage to decrease.
The response curve for the lead-lag circuit shown in Figure
166(b) indicates that the output voltage peaks at a frequency
called the resonant frequency, fr.
Department of Telecommunication, MUET UET Jamshoro
20
Wien-bridge oscillator
At this point, the attenuation (Vout/Vin) of the circuit is 1/3 if R1 = R2
and XC1= XC2 as stated by the following equation:
1
=
3
The formula for the resonant frequency
1
=
2
To summarize, the lead-lag circuit in the Wien-bridge oscillator has
a resonant frequency, fr at which the phase shift through the circuit is
00 and the attenuation is 1/3.
Below fr, the lead circuit dominates and the output leads the input.
Above fr, the lag circuit dominates and the output lags the input.
Department of Telecommunication, MUET UET Jamshoro
21
Wien-bridge oscillator
1
1
Let X C1
and X C 2
C1
C 2
Z1 R1 jX C1
R1
Z2
C1
1
jR2 X C 2
1
Z2
R2 jX C 2
R2 jX C 2
Vi
C2
R2
Vo
Vo
( jR2 X C 2 / R2 jX C 2 )
Z2
Vi Z1 Z 2 ( R1 jX C1 ) ( jR2 X C 2 / R2 jX C 2 )
jR2 X C 2
( R1 jX C1 )( R2 jX C 2 ) jR2 X C 2
Department of Telecommunication, MUET UET Jamshoro
22
Wien-bridge oscillator
can be rewritten as:
R2 X C 2
R1 X C 2 R2 X C1 R2 X C 2 j ( R1 R2 X C1 X C 2 )
R1 R2 X C1 X C 2 0
1 1
or R1 R2
C1 C2
1 / R1 R2C1C2
Supposing,
RX C
3RX C j ( R 2 X C2 )
0.32
0.3
0.28
=1/3
0.26
0.24
0.22
0.2
f(R=Xc)
1
0.5
Phase
Feedback factor
0.34
Phase=0
-0.5
-1
Frequency
23
Wien-bridge oscillator
The lead-lag circuit is used in the positive feedback loop of an
op amp, as shown in Figure 167(a).
A voltage divider is used in the negative feedback loop.
FIGURE 167
The Wien-bridge oscillator schematic drawn in two different but equivalent ways.
24
Wien-bridge oscillator
The Wien-bridge oscillator circuit can be viewed as a
noninverting amplifier configuration with the input signal fed
back from the output through the lead-lag circuit.
Recall that the voltage divider determines the closed-loop gain
of the amplifier.
1
1
1 + 2
= =
=
2 / 1 + 2
2
The circuit is redrawn in Figure 167(b) to show that the opamp is connected across the bridge circuit.
One leg of the bridge is the lead-lag circuit, and the other is the
voltage divider.
Department of Telecommunication, MUET UET Jamshoro
25
Wien-bridge oscillator
For the circuit to produce a sustained sinusoidal output (oscillate),
the phase shift around the positive feedback loop must be 0 and the
gain around the loop must be equal to unity (1).
The 0 phase-shift condition is met when the frequency is fr because
the phase shift through the lead-lag circuit is 0 and there is no
inversion from the noninverting (+) input of the op-amp to the
output.
This is shown in Figure 168(a).
The unity-gain condition in the feedback loop is met when
= 3
This offsets the 1/3 attenuation of the lead-lag circuit, thus making
the total gain around the positive feedback loop equal to 1.
Department of Telecommunication, MUET UET Jamshoro
26
Wien-bridge oscillator
FIGURE 168
27
Wien-bridge oscillator
To achieve a closed-loop gain of 3,
R1 = 2R2
Then
1 + 2 22 + 2 32
=
=
=
=3
2
2
2
Initially, the closed-loop gain of the amplifier itself must be
more than 3 (Acl > 3) until the output signal builds up to a
desired level.
Ideally, the gain of the amplifier must then decrease to 3 so
that the total gain around the loop is 1 and the output signal
stays at the desired level, thus sustaining oscillation.
This is illustrated in Figure 169.
Department of Telecommunication, MUET UET Jamshoro
28
Wien-bridge oscillator
FIGURE 169
29
Wien-bridge oscillator
All practical methods to achieve stability for feedback
oscillators require the gain to be self-adjusting.
This requirement is a form of automatic gain control (AGC).
A better method to control the gain uses a JFET as a voltagecontrolled resistor in a negative feedback path.
This method can produce an excellent sinusoidal waveform
that is stable.
A JFET stabilized Wien bridge is shown in Figure 1611.
The gain of the op-amp is controlled by the components shown
in the green box, which includes the JFET.
30
Wien-bridge oscillator
FIGURE 1611
31
Wien-bridge oscillator
The JFETs drain-source resistance depends on the gate voltage.
With no output signal, the gate is at zero volts, causing the drainsource resistance to be at the minimum.
With this condition, the loop gain is greater than 1.
Oscillations begin and rapidly build to a large output signal.
Negative excursions of the output signal forward-bias D1 causing
capacitor to charge C3 to a negative voltage.
This voltage increases the drain-source resistance of the JFET and
reduces the gain (and hence the output).
This is classic negative feedback at work.
With the proper selection of components, the gain can be stabilized
at the required level.
32
Wien-bridge oscillator
Example 16-1: Determine the resonant frequency for the
Wien-bridge oscillator in Figure 1612. Also, calculate the
setting for Rf assuming the internal drain-source resistance rds,
of the JFET is 500 when oscillations are stable.
Solution:
For the lead-lag circuit, and R1 = R2 = R = 10 k and C1 = C2
= C = 0.01 mF. The frequency is
1
1
=
=
= 1.59
2 2 10 0.01
33
Wien-bridge oscillator
The closed-loop gain must be 3.0 for oscillations to be
sustained.
For an inverting amplifier, the gain expression is the same as
for a noninverting amplifier.
=
+1
=
+1
3 +
Rearranging for Rf
= 1 3 +
= 3 1 1.0 + 500 = 3.0
Department of Telecommunication, MUET UET Jamshoro
34
Wien-bridge oscillator
FIGURE 1612
35
36
I 2 (2 R jX C ) I 3 R
I2R
V1
V1 I1 ( R jX C ) I 2 R
0 I1 R
Vo
I1
I 3 (2 R jX C )
I2
I3
I3
Or
R jX C
V1
2 R jX C
R jX C
2 R jX C
2 R jX C
V1 R 2
I3
( R jX C )[(2 R jX C ) 2 R 2 ] R 2 (2 R jX C )
37
and,
6 RC
1
29
38
39
1
2 6
40
FIGURE 1614
Department of Telecommunication, MUET UET Jamshoro
41
= 29
3
= 293 = 29 10 = 290
(b) R1 = R2 = R3 = R and C1 = C2 = C3 = C. Therefore,
1
1
=
=
6.5
2 6 2 6 10 0.001
42
43
44
FIGURE 1616 A basic Colpitts oscillator with a BJT as the gain element.
45
46
2
= 7.46 0.9923 = 7.40
2
+1
47
Relaxation Oscillators
A second type of oscillator is the relaxation oscillator.
Instead of feedback, a relaxation oscillator uses an RC timing
circuit to generate a waveform that is generally a square wave
or other non-sinusoidal waveform.
Typically, a relaxation oscillator uses a Schmitt trigger or other
device that changes states to alternately charge and discharge a
capacitor through a resistor.
48
A Triangular-Wave Oscillator
The op-amp integrator can be used as the basis for a triangularwave oscillator.
The basic idea is illustrated in Figure 1627(a) where a dualpolarity, switched input is used.
When the switch is in position 1, the negative voltage is
applied, and the output is a positive-going ramp.
When the switch is thrown into position 2, a negative-going
ramp is produced.
If the switch is thrown back and forth at fixed intervals, the
output is a triangular wave consisting of alternating positivegoing and negative-going ramps, as shown in Figure 1627(b).
Department of Telecommunication, MUET UET Jamshoro
49
A Triangular-Wave Oscillator
50
A Triangular-Wave Oscillator
A practical triangular wave oscillator utilizes an op-amp
comparator with hysteresis is shown in Figure 1628.
51
A Triangular-Wave Oscillator
The operation is as follows:
To begin, assume that the output voltage of the comparator is
at its maximum negative level.
This output is connected to the inverting input of the integrator
through R1, producing a positive-going ramp on the output of
the integrator.
When the ramp voltage reaches the upper trigger point (UTP),
the comparator switches to its maximum positive level.
This positive level causes the integrator ramp to change to a
negative-going direction.
52
A Triangular-Wave Oscillator
The ramp continues in this direction until the lower trigger
point (LTP) of the comparator is reached.
At this point, the comparator output switches back to the
maximum negative level and the cycle repeats.
This action is illustrated in Figure 1629.
53
A Triangular-Wave Oscillator
Since the comparator produces a square-wave output, the
circuit in Figure 1628 can be used as both a triangular-wave
oscillator and a square-wave oscillator.
The output amplitude of the square wave is set by the output
swing of the comparator, and the resistors R2 and R3 set the
amplitude of the triangular output by establishing the UTP and
LTP voltages according to the following formulas:
3
= +
2
3
=
2
where the comparator output levels, +Vmax and - Vmax are equal.
Department of Telecommunication, MUET UET Jamshoro
54
A Triangular-Wave Oscillator
The frequency of both waveforms depends on the R1C time
constant as well as the amplitude-setting resistors, R2 and R3.
By varying the frequency of oscillation can be adjusted
without changing the output amplitude.
1
2
=
41 3
55
A Triangular-Wave Oscillator
Example 16-4: Determine the frequency of oscillation of the
circuit in Figure 1630. To what value must R1 be changed to
make the frequency 20 kHz?
FIGURE 1630
56
A Triangular-Wave Oscillator
Solution:
=
1
2
1
=
41 3
4 10 0.01
33
= 8.25
10
33
= 4.13
10
57
A Square-Wave Oscillator
The basic square-wave oscillator shown in Figure 1634 is a
type of relaxation oscillator because its operation is based on
the charging and discharging of a capacitor.
58
A Square-Wave Oscillator
Notice that the op-amps inverting input is the capacitor
voltage and the noninverting input is a portion of the output
fed back through resistors R2 and R3 and to provide hysteresis.
When the circuit is first turned on, the capacitor is uncharged,
and thus the inverting input is at 0 V.
This makes the output a positive maximum, and the capacitor
begins to charge toward Vout through R1.
When the capacitor voltage (VC) reaches a value equal to the
feedback voltage (Vf) on the noninverting input, the op-amp
switches to the maximum negative state.
59
A Square-Wave Oscillator
At this point, the capacitor begins to discharge from +Vf
toward -Vf.
When the capacitor voltage reaches -Vf, the op-amp switches
back to the maximum positive state.
This action continues to repeat, as shown in Figure 1635, and
a square-wave output voltage is obtained.
FIGURE 1635
60
61
62
FIGURE 1636
Internal diagram of a 555 integrated circuit timer. (IC pin numbers are in parentheses.)
Department of Telecommunication, MUET UET Jamshoro
63
64
65
Pin 4. Reset, This pin is used to reset the internal Flip-flop controlling
the state of the output, pin 3. This is an active-low input and is generally
connected to a logic 1 level when not used to prevent any unwanted
resetting of the output.
Department of Telecommunication, MUET UET Jamshoro
66
Pin 5. Control Voltage, This pin controls the timing of the 555 by overriding
the 2/3Vcc level of the voltage divider network. By applying a voltage to this
pin the width of the output signal can be varied independently of the RC timing
network. When not used it is connected to ground via a 10 nF capacitor to
eliminate any noise.
Pin 8. Supply +Vcc, This is the power supply pin and for general purpose
TTL 555 timers is between 4.5V and 15V.
67
68
69
FIGURE 1638
70
71
72
=
100% =
100%
1 + 2
=
100%
1 + 22
Department of Telecommunication, MUET UET Jamshoro
73
1 + 2
2.2 + 4.7
100% =
100% = 59.5%
1 + 22
2.2 + 9.4
74
FIGURE 1641
75
76
FIGURE 1642
77
FIGURE 1643
The VCO output frequency varies inversely with VCONT because the charging and
discharging time of Cext is directly dependent on the control voltage.
78
79
Filters
Filters are electrical networks that have been designed to pass
alternating currents generated at only certain frequencies and
to block or attenuate all others.
Filters have a wide use in electrical and electronic engineering
and are vital elements in many telecommunications and
instrumentation systems where the separation of wanted from
unwanted signals including noise is essential to their
success.
Filters-Applications
Filter circuits are used in a wide variety of applications.
In the field of telecommunication, band-pass filters are used in
the audio frequency range (0 kHz to 20 kHz) for modems and
speech processing.
High-frequency band-pass filters (several hundred MHz) are
used for channel selection in telephone central offices.
Data acquisition systems usually require anti-aliasing low-pass
filters as well as low-pass noise filters in their preceding signal
conditioning stages.
System power supplies often use band-rejection filters to
suppress the 60-Hz line frequency and high frequency
transients.
Department of Telecommunication, MUET UET Jamshoro
Types of Filters
Passive Filters
Incorporates only passive components like; capacitors,
resistors, inductors.
Passive filters are difficult to design.
Further, inductors are difficult to handle. Not only are they
expensive, bulky and heavy; they are prone to magnetic field
radiation unless expensive shielding is used to prevent
unwanted coupling
Used for high frequencies (>MHz)
Types of Filters
Active Filters
Along with passive components capacitors and resistors,
Additionally it incorporates active components particularly
like; op-amp.
Due to inductor property at low frequencies, active filters are
used at low frequencies.
It overcomes the inductor problems in passive filter.
2 + 2
10
11
12
13
14
15
High-Pass Filter
A high-pass filter is one that significantly attenuates or rejects all
frequencies below fc and passes all frequencies above fc.
The ideal response, indicated by the blue-shaded area, has an
instantaneous drop at fc.
As in the case of the low-pass filter, the basic RC circuit has a rolloff rate of -20 dB/decade, as indicated by the blue line in Figure 15
2(a).
Also, the critical frequency for the basic highpass filter occurs when
Xc=R, where fc =1/2RC.
Figure 152(c) illustrates three idealized high-pass response curves
including the basic one-pole response (-20 dB/decade) for high-pass
RC circuit.
Responses that are steeper than -20 dB/decade in the transition
region are also possible with active high-pass filters.
16
High-Pass Filter
17
Band-Pass Filter
A band-pass filter passes all signals lying within a band
between a lower-frequency limit and an upper-frequency limit
and essentially rejects all other frequencies that are outside this
specified band.
A generalized band-pass response curve is shown in Figure
153.
The bandwidth (BW) is defined as the difference between the
upper critical frequency (fc2) and the lower critical frequency
(fc1).
= 2 1
18
Band-Pass Filter
The critical frequencies are, of course, the points at which the
response curve is 70.7% of its maximum.
FIGURE 153
19
Band-Pass Filter
The frequency about which the passband is centered is called
the center frequency, f0, defined as the geometric mean of the
critical frequencies.
0 = 1 2
Quality Factor
The quality factor (Q) of a band-pass filter is the ratio of the
center frequency to the bandwidth.
0
=
20
Band-Pass Filter
The higher the value of Q, the narrower the bandwidth and the
better the selectivity for a given value of f0.
Band-pass filters are sometimes classified as narrow-band (Q
> 10) or wide-band (Q < 10).
The quality factor (Q) can also be expressed in terms of the
damping factor (DF) of the filter as:
1
=
21
Band-Stop Filter
It is also known as notch, band-reject, or band-elimination
filter.
It is opposite to that of the bandpass filter because frequencies
within a certain bandwidth are rejected, and frequencies
outside the bandwidth are passed.
A general response curve for a band-stop filter is shown in
Figure 154.
22
Band-Stop Filter
FIGURE 154
23
Filter Approximations
Each type of filter response (low-pass, high-pass, band-pass,
or band-stop) can be tailored by circuit component values to
have either a Butterworth, Chebyshev, or Bessel characteristic.
Each of these characteristics is identified by the shape of the
response curve, and each has an advantage in certain
applications.
Butterworth, Chebyshev, or Bessel response characteristics can
be realized with most active filter circuit configurations by
proper selection of certain component values.
A general comparison of the three response characteristics for
a low-pass filter response curve is shown in Figure 155.
Department of Telecommunication, MUET UET Jamshoro
24
Filter Approximations
FIGURE 155
25
Filter Approximations
The Butterworth Characteristic
The butterworth approximation is sometimes called the
maximum flat approximation.
Roll off =20n dB/decade
The phase response is not linear, however, and the phase shift
(thus, time delay) of signals passing through the filter varies
nonlinearly with frequency.
26
Filter Approximations
Chebyshev Approximation
In Chebyshav approximation ripples are present in passband,
but its roll off rate is greater than 20 dB/decade for a single
pole.
The number of ripples in the passband of a Chebyshav filter
are equal to the half of the filter order:
#Ripples = n/2
Due to greater roll-off, filters can be implemented with the
Chebyshev response with fewer poles and less complex
circuitry for a given roll-off rate.
27
Filter Approximations
Bessel Approximation
Bessel approximation has a flat passband and a monotonic
stopband similar to those of the Butterworth approximation.
For the same filter order, however, the roll-off in the transition
region is much less with a Bessel filter than with a Butterworth
filter.
The major advantage of the Bessel Filter is that it produces the
least distortion of non-sinusoidal signals.
No phase change.
28
Filter Approximations
Damping Factor
The damping factor (DF ) of an active filter circuit determines
which response characteristic (Butterworth, Chebyshev, or
Bessel response) the filter exhibits.
A generalized active filter is shown in Figure 156.
FIGURE 156
General diagram of an active filter.
29
Filter Approximations
It includes an amplifier, a negative feedback circuit, and a
filter section.
The amplifier and feedback are connected in a noninverting
configuration.
The damping factor is determined by the negative feedback
circuit and is defined by the following equation:
1
= 2
2
The damping factor affects the filter response by negative
feedback action.
Any attempted increase or decrease in the output voltage is
offset by the opposing effect of the negative feedback.
Department of Telecommunication, MUET UET Jamshoro
30
Filter Approximations
This tends to make the response curve flat in the passband of the
filter if the value for the damping factor is precisely set.
The value of the damping factor required to produce a desired
response characteristic depends on the order (number of poles) of
the filter.
A pole, is simply a circuit with one resistor and one capacitor.
The number of poles determines the roll-off rate of the filter.
The more poles a filter has, the faster its roll-off rate is.
A Butterworth response produces -20 dB/decade/pole.
So, a first-order (one-pole) filter has a roll-off of -20 dB/decade; a
second-order (two-pole) filter has a roll-off rate of -40 dB/decade; a
third-order (three-pole) filter has a roll-off rate of -60 dB/decade and
so on.
Department of Telecommunication, MUET UET Jamshoro
31
Filter Approximations
To obtain a filter with three poles or more, one-pole or twopole filters are cascaded, as shown in Figure 158.
To obtain a third-order filter, for example, cascade a secondorder and a first-order filter; to obtain a fourth-order filter,
cascade two second-order filters; and so on.
Each filter in a cascaded arrangement is called a stage or
section.
32
Filter Approximations
FIGURE 158
33
Filter Approximations
Because of its maximally flat response, the Butterworth
characteristic is the most widely used.
TABLE 151
34
35
36
37
FIGURE 1510
Basic Sallen-Key low-pass filter.
38
39
FIGURE 1511
40
1
2
1
2 1.0 0.022
= 7.23
41
42
43
44
45
FIGURE 1513
Single-pole active high-pass filter and response curve.
46
FIGURE 1515
Basic Sallen-Key high-pass filter.
47
48
49
50
51
52
53
FIGURE 1518
Multiple-feedback band-pass filter.
54
1
1
1
=
2 2 1 3
2
1
2
1
1 3 1 + 3
1
1 + 3
0 =
2 1 2 3
Department of Telecommunication, MUET UET Jamshoro
55
56
FIGURE 1519
57
68 + 2.7
= 736
68 180 2.7
2
180
0 =
=
= 1.32
21 2 68
Q = f0CR2= (736 Hz)(0.01 F)(180 k)=4.16
0 736
= =
= 177
4.16
58
59
FIGURE 1520
State-variable filter.
60
61
62
FIGURE 1522
63
1
24 1
1
27 2
1
2 1.0 0.022
= 7.23
33.7
64
FIGURE 1524
Multiple-feedback band-stop filter.
65
FIGURE 1525
State-variable band-stop filter.
66
FIGURE 1526
67
68