Professional Documents
Culture Documents
Comparator
An analog comparator compares two voltage levels, or one voltage level with some preset
reference voltage, Vref, and produces an output signal based on this voltage comparison. In other
words, the comparator compares the magnitudes of two input voltages and determines which
one is the larger of the two.
An op-amp comparator circuit that compares two input voltages V1 and V2 is shown in the circuit
below. No feedback is used.
= (1 2 )
Or,
=
Where Ad is the open-loop gain of the op-amp and Ad = V1 V2 is the differential input.
Since Ad is very large, typically in excess of 100,000, even a very small differential input will result
in output attaining one of the two limiting saturation (biasing) level, +VCC or VCC depending on
the polarity of the differential input Ad.
Now, let us assume that V1 > V2. The differential input Vd is positive, and since Ad is very large,
output will be limited to +VCC.
Again, when V2 > V1. The differential input Vd is negative output will be limited to -VCC.
Thus the output can have one of only two possible values, i.e. +VCC or VCC, depending on
whether V1 > V2 or V1 < V2.
Sometimes we need to detect whether an input voltage is more or less than a given reference
constant voltage (VREF), or if the input is a varying signal, when it crosses that reference level.
The output of an op-amp is given by:
= (1 2 )
Where Ad is the open-loop gain of the op-amp and Ad = V1 V2 is the differential input.
= (1 2 )
= (1 )
Now, when V1 > VREF. The differential input Vd is positive, and since Ad is very large, output
will be limited to +VCC.
Again, when V1 < VREF. The differential input Vd is negative output will be limited to -VCC.
Thus depending on the magnitude of V1 w.r.t VREF the output will attain one of two possible
values, i.e. +VCC or VCC.
Zero-Crossing Detector
Figure shows the result of a sinusoidal input. When the sine wave is positive, the output is at its
maximum positive level (+VCC). When the sine wave crosses 0, the output is driven to its opposite
state and the output goes to its maximum negative level (-VCC).
Filters are circuits that are capable of passing signals with certain selected frequencies while
rejecting signals with other frequencies. This property of filters is called selectivity.
The passband of a filter is the range of frequencies that are allowed to pass through the filter.
Stopband is the range of frequencies that are stopped from passing through. Cut-off frequency
(also called critical or break frequency) defines the boundary between passband and stopband.
In terms of general response, the four basic categories of active filters are low-pass, high-pass,
band-pass, and band-stop (or Band-reject).
Low Pass Filter
A Low Pass Filter passes frequencies from dc to cut-off frequency (fH) and blocks all other
frequencies.
High Pass Filter
A high-pass filter is one that blocks all frequencies below and passes all frequencies above the cut-
off frequency.
IDEAL FILTER
In an Ideal filter, there is a sharp transition between passband and stopband at the cut-off
frequency. The ideal response is sometimes referred to as a brick-wall because nothing gets
through beyond the wall at cut-off frequency.
PRACTICAL FILTER
The above ideal response is not attainable by any practical filter. In a real filter, there is a region
called transition region between the passband and the stopband. The response changes at a
steady rate called Roll-Off. The roll-off rate, which is generally measured in dB/decade, depends
on the order of the filter (or number of Poles), which in turn depends on the number of RC circuits
used in the filter. Higher the order of the filter, faster is the roll-off rate.
Since there is no sharp transition between the passband and the stopband, the cut-off frequency
is specified at the point where the response drops 70.7% (or 3dB) from the passband response.
Active Filters
Active filters use transistors or op-amps combined with passive RC, RL, or RLC circuits. The active
devices provide voltage gain and other benefits, while the passive circuits provide frequency
selectivity.
Active filter have the following advantages over passive filters:
1. Due to the gain provided by the active element like an op-amp, signal is not attenuated.
2. Due to the high impedance provided by the op-amp, there is no loading on the source.
3. Low output impedance provided by the op-amp ensures that the filter can drive a number
of other devices at its output.
4. Active filters are easier to tune.
5. Active filter can be designed without the bulky and costlier inductors and are hence lighter
and cheaper.
6. Active filters are easier to fabricate in integrated form.
The figure shows a first-order (single pole) active low-pass filter with single frequency selective
RC circuit.
CONTENT BY: SHUJA HUSSAIN 37
STUDY MATERIAL (CBCS) FOR BG ELECTRONICS
2ND-SEMESTER (SESSION: 2016)
1
= ( + )
Now,
1
=
1 +
Therefore,
1 1
=( )( + )
1 +
1 + 1
=( )( )
1 + 1
But,
1 +
=
1
=
Therefore,
1
() =
(1 + )
Or,
() =
(1 + )
..(1)
Where,
1
= ()
..(2)
=
Or,
1
= ()
2
..(3)
From eq(1) we find that the transfer function of the filter circuit is frequency dependent and the
amplitude will decrease with increase in the frequency.
The magnitude of eq(1) is:
| ()| =
1 + ( )2
..(4)
And its phase angle is:
= tan1 ( )
..(5)
Case (1)
At lower frequencies ( << H), the denominator of eq(4) approaches 1. Substituting = 0 in
eq(4) we get:
| ()| =
1 + 0
| ()| =
Thus, low frequency signals appear at the output with a constant gain of AVF.
Case (2)
At cut-off frequency, = H, eq(4) the reduces to:
| ( )| =
1 + 1
Or,
| ( )| =
2
| ( )| = 0.707
| ()| = 0
The figure shows a first-order (single pole) active high-pass filter with single frequency selective
RC circuit.
But,
1 +
=
1
=
Therefore,
() =
(1 + )
1
() =
(1 )
1
() =
(1 )
..(1)
Where,
1
= ()
..(2)
=
Or,
1
= ()
2
..(3)
From eq(1) we find that the transfer function of the filter circuit is frequency dependent and the
amplitude will increases with increase in the frequency.
The magnitude of eq(1) is:
| ()| =
1 + ()2
..(4)
Case (1)
At lower frequencies ( << L), the denominator of eq(4) approaches infinity. Substituting =
0 in eq(4) we get:
| ()| =
1 +
CONTENT BY: SHUJA HUSSAIN 43
STUDY MATERIAL (CBCS) FOR BG ELECTRONICS
2ND-SEMESTER (SESSION: 2016)
| ()| = 0
Or,
| ( )| =
2
| ( )| = 0.707
| ()| =
Thus, higher frequency signals appear at the output with a constant gain of AVF.