Unit Iii
Unit Iii
Unit Iii
Fig. 2 below shows the Pin configuration and Physical view of IC,
AD620 In-Amp (Instrumentation Amplifier). This has been the
industry standard, high performance, low cost amplifier. It is
completely monolithic available in both 8-lead DIP and SOIC
packages. The user can obtain any desired gain from 1 to 1000
using a single external resistor. By design, the fixed resistor
values for gains of 10 and 100 are standard 1% metal film
resistor values.
Fig. 2 – (a) Pin Configuration (b) AD620 Instrumentation
Amplifier
The inputs of the two buffer Op-amps draw no current and hence
the voltage drop across Rg is proportional to the differential
voltage V1 and V2. This produces a current that runs entirely
through the resistors R and the voltage produced acts as the
input to the differential amplifier or Subtractor circuit.
All the Resistors except Rg are equal. Rg may be an external
resistor connected across two pins of the IC. If the pins are not
connected, then the gain of the amplifier is 1 but preferably
different gains may be obtained by connecting a resistor of
relevant value. Alternatively, a number of resistors may be
fabricated on the chip to give Gains of 1, 10, 100 and 1000.
V ab=
R (E )
−
2 R+∆ R 2 R
R ( E)
=E
R
(
−
2 R+ ∆ R 2
1
)
V ab=E
( 2 R−2 R−∆ R
2 ( 2 R+ ∆ R )
=
)−∆ R ( E )
2 ( 2 R+ ∆ R )
… .14 .15
V 0=V ab
( )
RF
=
−∆ R ( E )
X
RF
R 1 2 (2 R+ ∆ R ) R1
… .(14.16)
I E =( e
( q V E /kT )−1
)Since
I C =I E
For a grounded base transistor,
I C =I s ( e )
(q V E / kT )−1
Where
I s=Emitter saturation current 10−13 A
k = Boltzmann’s Constant
T= Absolute temperature (in K)
Therefore,
e(
q V E / kT )
=( I C /I s ) +1=I C /I s (neraly equal)
Taking natural log on both sides, we get
¿
V E=( kT /q ) ln ( I C / I s )
Also
V E=−V 0
Multiplier quadrants
The transfer characteristics of a typical four-quadrant multiplier
are shown in figure. Both the inputs can be positive or negative
to obtain the corresponding output as shown in the transfer
characteristics.
Voltage Squarer
Frequency doublers:
Figure shows the squaring circuit connected for frequency
doubling operation. A sine-wave signal Vi has a peak amplitude
of Av and frequency of f Hz. Then, the output voltage of the
doublers circuit is given by
2 2
A v sin 2 πft∗A v sin 2 πft A v 2 Av
V 0= = sin 2 πft= (1−cos 4 πft )
10 10 20
The output VOA forms the second input. The output VOM of the
multiplier is connected back of op- amp in the feedback loop.
Then the characteristic operation of the multiplier gives
Vom = KVOA Vdm (1)
Square Rooter:
The divider voltage can be used to find the square root of a
signal by connecting both inputs of the multiplier to the output of
the op-amp. Substituting equal in magnitude but opposite in
polarity (with respect to ground) to Vi. But we know that Vom is
one- term (Scale factor) of V0 * V0 or -Vi = Vom = V2/1 0
Solving for V0 and eliminating √-1 yields. V0 = √10|Vi |
Eqn. states that V0 equals the square root of 10 times the
absolute magnitude of Vi.
The input voltage Vi must be negative, or else, the op-amp
saturates.
The range of Vi is between -1 and -10V. Voltages less than -1V
will cause inaccuracies in the result.
The diode prevents negative saturation for positive polarity Vi
signals. For positive values of Vi the diode connections are
reversed.
Phase Angle detector:
The multiplier configured for phase angle detection
measurement is shown in figure. When two sine-waves of the
same frequency are applied to the inputs of the multiplier, the
output V0 has a dc component and an AC component.
The trigonometric identity shows that Sin A sin B =1/2 (cos (A-B)
– cos (A+B)).
When the two frequencies are equal, but with different phase
angles, e.g. A=2πft +θ for signal Vx and B= 2πft for signal V y,
then using the identity
[sin (2 ft+ )][sin2 ft)]=1/2[cos -cos(4 ft + )]=1/2(dc- the double
frequency term)
Therefore, when the two input signals V x and Vy are applied to
the multiplier, V0 (dc) is given by
v xp v yp
V v ( dc )= cos θ
20
where Vxp and Vyp are the peak voltage amplitudes of the signals
Vx and Vy. Thus, the output V0(dc) depends on the factor cos θ. A
dc voltmeter can be calibrated as a phase angle meter when the
product of Vxp and Vyp is made equal to 20. Then, a (0-1) V range
dc voltmeter can directly read cos θ, with the meter calibrated
directly in degrees from a cosine table. The input and output
waveforms are shown in figure.
Active filters
An electric filter is often a frequency selective circuit that passes
a specified band of frequencies and blocks or alternates signal
and frequencies outside this band. Filters may be classified as
1. Analog or digital.
2. Active or passive
3. Audio (AF) or Radio Frequency (RF)
2. Active or Passive:
Depending on the type of elements used in their construction,
filter may be classified as passive or Active elements used in
passive filters are Resistors, capacitors, inductors. Elements used
in active filters are transistor, or op-amp.
Note:
The actual response curves of the filters in the stop band either
R or S or both with Rin frequencies. The rate at which the gain of
the filter changes in the stop band is determined by the order of
the filter.
Ex: 1st order low pass filter the gain rolls off at the rate of
20dB/decade in the stop band. (i.e) for f > fH.
2nd order LPF -> the gain roll off rate is 40dB/decade.
1st order HPF -> the gain rolls off at the rate of 20dB (i.e.) until
f:fL
2nd order HPF -> the gain rolls off at the rate of 40dB/decade
Gain A= (1+Rf/R1)
Voltage across capacitor V1= Vi / (1+j2πfRC)
Output voltage V0 for non inverting amplifier =A V1
= (1+Rf/R1) Vi/(1+j2πfRC)
Overall gain V0/Vi = (1+Rf/R1) Vi/(1+j2πfRC)
Transfer function H(s) =A/(jf/fh+1) if fh =1/2πRC
H (jω) = A/( jωRC+1) = A/( jωRC+1).
The gain magnitude and phase angle of the equation of the LPF
can be obtained by converting eqn. (1) b into its equivalent polar
form as follows.
1. At very lowω)|frequency, f < fH
|H (jω) =A
2. At f =fH
|H (jω)| =A/√2=0.707A
3. At f> fH
|H (jω)| <<A ≅ 0
When the frequency increases by tenfold (one decade), the volt
gain is divided by 10. The gain falls by 20 dB (=20log10) each
time the frequency is reduces by 10. Hence the rate at which the
gain rolls off fH = 20 dB or 6dB/octave (twofold Rin frequency).
The frequency f = fH is called the cut off frequency because the
gain of the filter at this frequency is down by 3 dB (=20 log
0.707).
Filter design
A LPF can be designed by implementing the following steps.
1. Choose a value of high cut off frequency fH.
2. Select a value of C less than or equal to 1μf.
3. Choose the value of R using fh=1/2πRC
4. Finally select values of R1 and RF dependent on the desired
pass band gain AF Using A=(1+Rf/R1)
|H ( jω )|=[ ( 1−ω 2 τ 1 τ 2 ) + ( 2 ω τ 2 )2 ]
2 −1/ 2
dω
=
2
( 1−ω 2 τ 1 τ 2 ) + ( 2ω τ 2 )2 −4 ω τ 1 τ 2 ( 1−ω 2 τ 1 τ 2 ) + 8 ω τ 22
1
|H|=
[ 1+ 4 ( ω τ ) ] 2
4 1/ 2
1
The cut-off frequency occurs when |H |=
4
or 4 ( ω3 db τ 2 ) =1
√2
Therefore
1 1
ω 3 db=2 π f 3 db= =
τ 2 √2 √2 R C4
1
We know that the cutoff frequency is ω H =ω3 db=
RC
Comparing the above equations, we get
C 4=0.707 C
C 3=1.414 C
The magnitude of the voltage transfer function for the second
order low-pass Butterworth filter is
1
|H ( j f )|=
√ ( )
4
f
1+
fH
Fig. Second order Low pass Butterworth and filter with
unity gain and its transfer function
Filter Design
Choose a value for a high cut off freq. (fH ).
To simplify the design calculations, set R 2 = R3 = R and
C2 = C3 = C then choose a value of C<=1μf.
Calculate the value of R R =1/2πfhC
Finally, because of the equal resistor (R 2 = R3) and
capacitor (C2 = C3 ) values, the pass band volt gain A F = 1
+ RF / R1 of the second order had to be = to 1.586. R F =
0.586 R1. Hence choose a value of R1 <=100kΩ.
Calculate the value of RF.
Here I order HPF with a low cut off frequency of fL. This is the
frequency at which the magnitude of the gain is 0.707 times its
passband value. Here all the frequencies higher than f L are
passband frequencies. The output voltage V 0 of the first order
active high pass filter is
( )
V 0= 1+
Rf j2 πfRC
V
R i 1+ j 2 πfRC i
The gain of the filter
( ) ( )f
f
V0 fL
=A
( ff )
Vi
1+ j
L
|H ( if )|=| |=
V
0
( f )
A
f
is
L
√ )
V
(
2
i f
1+
f L
3.6 COMPARATOR
To obtain for better
performance, we shall also look at integrated designed specificall
y as comparators and converters. A comparator as its name
implies, compares a signal voltage on one input of an op-amp
with a known voltage called a reference voltage on the other
input.
Thus, if the threshold voltages Vut and Vlt are made larger than
the input noise voltages, the positive feedback will eliminate the
false o/p transitions. Also the positive feedback, because of its
regenerative action, will make V0 switch faster between
+Vsat and –Vsat. Resistance Rcomp
R1 || R2 is used to minimize the offset problems. The comparator
with positive feedback is said texhibit hysteresis, a dead band
condition. (i.e) when the input of the comparator exceeds V ut its
output switches from +Vsat to –Vsat and reverts to its original
state, +Vsat when the input goes below Vlt. The hysteresis voltage
is equal to the difference between Vut and Vlt.
3.7 MULTIVIBRATORS
Design
The expression of fo is obtained from the charging period
t1 & t2 of capacitor as T=2RCln (R1+2R2)/R1
To simplify the above expression, the value of R1 & R2
should be taken as R2 = 1.16R Such that fo simplifies to fo
=1/2RC.
Assume the value of R1 and find R2.
Assume the value of C & Determine R from fo =1/2R C
Calculate the threshold point from βVSATl = R1lVTl/ R1-R2
l/βVSATl w h e r e β is the feedback ratio.
Circuit diagram:
A multivibrator which has only one stable and the other is quasi
stable state is called as Monostable multivibrator or one-short
multivibrator. This circuit is useful for generating signal output
pulse of adjustable time duration in response to a triggering
signal. The width of the output pulse depends only on the
external components connected to the op-amp. Usually a
negative trigger pulse is given to make the output switch to
other state. But, it then return to its stable state after a time
interval determining by circuit components. The pulse width T
can be given as T = 0.69RC. For Monostable operation the
triggering pulse width Tp should be less then T, the pulse width
of Monostable multivibrator. This circuit is also called as time
delay circuit or gating circuit.
Design:
1. Calculating β from expression
R1
β=
R1 + R2
Ramp Up
Connect RI to VN and With V- held at the virtual ground (0V), a
constant current flows from V- to VN.
Iin = VN / RI.
CI integrates Iin creating a positive linear ramp at Vo. The ramp
is linear because Vo changes proportionally to the time elapsed
ΔT.
ΔVo = - VN / (CI ∙ RI) ∙ ΔT
Ramp Down
Connect RI to VP and constant current flows from VP to V-,
Iin = - VP / RI.
Now Vo ramps down linearly ΔVo = - VP / (CI ∙ RI) ∙ ΔT
Ramp Up: ΔVo/ΔT= -VN/(CIRI)
Ramp Down: ΔVo /ΔT = - VP / ( CI∙RI )
These equations show the parameters available to control the
ramp up / down speeds. Asymmetrical voltage swings are got by
including a reference voltage VREF to the comparator's negative
input.
Vth+ =VREF∙(R1+R2)/R2-VN∙R1/R2
Vth- = VREF ∙ (R1+R2)/R2 -VP ∙ R1 / R2
Comparator Working:
When Vin > Vth+, the output switches to VP, the POSITIVE
output state.
When Vin < Vth-, the output switches to VN, the NEGATIVE
output state.
Like the triangular wave oscillator, the line voltage needs both of
the positive power supply and the negative power supply. Also,
to work in the oscillation, the condition of R3>R4 is necessary.
However, when making the value of R4 small compared with R3,
the output voltage becomes small. The near value is good for R3
and R4. The oscillation frequency can be calculated by the
following formula.
f=
1
( )
R3
2C ( R1 + R2 ) R 4
The loop phase shift is –180° when the phase shift of each
section is –60°, and this occurs when ω = 2πf = 1.732/RC
because the tangent 60° = 1.73. The magnitude of β at this point
is (1/2)3, so the gain, A, must be equal to 8 for the system gain to
be equal to 1.
R
V RETURN RCs+1 1 1
= = =
V OUT R
RCs+1
+ R+
1
Cs
3+ RCs+
1
RCs
3+ j RCω−
1
RCω ( )
Where
s= jω∧ j=√ 1
Input admittance:
v out
A v=
v¿
Rewritten as:
i¿
Y i=
v¿
1− A v
Y i=
Zf
From the wien bridge is written as
1
Z f =R+
jωC
( 1− A v ) ( ω 2 C 2 R+ jωC )
Y i= 2
1+ ( ωCR )
−2 R
R¿ =
A v −1
For Av = 3: Rin = − R
If a resistor is placed in parallel with the amplifier input, it will
cancel some of the negative resistance. If the net resistance is
negative, amplitude will grow until clipping occurs.
3.10 CLAMPER
During the interval 0 → T/2 the network will appear, with the
diode in the ―on state effectively ―shorting out the effect of the
resistor R. The resulting RC time constant is so small (R
determined by the inherent resistance of the network) that the
capacitor will charge to V volts very quickly. During this interval
the output voltage is directly across the short circuit and V o =0 V.
When the input switches to the -V state, the network will appear
With an open circuit equivalent for the diode determined by the
applied signal and stored voltage across the capacitor—both
―pressuring current through the diode from cathode to anode.
The negative sign resulting from the fact that the polarity of 2V is
opposite to the polarity defined for Vo. The resulting output
waveform appears with the input signal. The output signal is
clamped to 0 V for the interval 0 to T/2 but maintains the same
total swing (2V) as the input. For a clamping network:
The total swing of the output is equal to the total swing of the
input signal.
This fact is an excellent checking tool for the result obtained. In
general, the following steps may be helpful when analyzing
clamping networks:
1. Positive Clamper
During the negative half cycle of the input signal, the diode
conducts and acts like a short circuit. The output voltage V o 0
volts . The capacitor is charged to the peak value of input
voltage Vm. and it behaves like a battery.During the positive half
of the input signal, the diode does not conduct and acts as an
open circuit. Hence the output voltage Vo= Vm+ Vm This gives a
positively clamped voltage
2. Negative Clamper
During the positive half cycle the diode conducts and acts like a
short circuit. The capacitor charges to peak value of input
voltage Vm. During this interval the output Vo which is taken
across the short circuit will be zero During the negative half
cycle, the diode is open. The output voltage can be found by
applying KVL.
V 0=−2V m
3.11 CLIPPER
Positive Clipper:
A circuit that removes positive parts of the input signal can be
formed by using an op-amp with a rectifier diode. T he clipping
level is determined by the reference voltage V ref, which should
less than the i/p range of the op-amp (V ref < Vin). The Output
voltage has the portions of the positive half cycles above Vref
clipped off.
When Vin > Vref => the V0 becomes +ve to derive D1 into off. It
opens the feedback loop and op- amp operates open loop. When
Vin drops below Vref (Vin<Vref) the o/p of the op-amp V0 again
becomes –ve to device D1 into conduction. It closes the feedback
path. (o/p follows the i/p).
Thus diode D1 is on for vin<Vref (o/p follows the i/p) and D1 is off
for Vin>Vref. The op-amp alternates between open loop (off) and
closed loop operation as the D 1 is turned off and on respectively.
For this reason the op-amp used must be high speed and
preferably compensated for unity gain.
Negative Clipper:
Capacitor:
The Value of the capacitors in these circuits depends on different
input rates and pulse widths.
1. In both circuits the dc level added to the o/p voltage is
approximately equal to Vcc/2.
2. This +ve fixed dc level is needed to obtain a maximum
undistorted symmetrical sine wave.
Peak clamper circuit:
Voltage Vin at the (-) input: During its –ve half cycle, diode
D1 conducts, charging c; to the –ve peak value of V p. During the
+ve half cycle, diode D1 in reverse biased. Since this voltage Vp
is in series with the +ve peak volt Vp the o/p volt V0 = 2 Vp.
Thus the nett o/p is Vref plus 2 Vp. So the – ve peak of 2 Vp is at
Vref. For precision clamping, CiRd << T/2
Fig. 2.51 Input and output waveform with -V ref
Note:
Inv and Non-Inv clamper – Fixed dc level
Peak clamper – Variable dc level
Applications
Wave shaping circuits are commonly used in digital computers
and communication such as TV and FM receiver. Wave shaping
technique include clipping and clamping. In op-amp clipper
circuits a rectifier diode may be used to clip off a certain portion
of the input signal to obtain a desired o/p waveform.
The diode works as an ideal diode (switch) because when on, the
voltage drop across the diode is divided by the open loop gain of
the op-amp. When off (reverse biased) the diode is an open
circuit. In an op-amp clamper circuits, however a predetermined
dc level is deliberately inserted in the o/p volt. For this reason,
the clamper is sometimes called a dc inverter.
Peak Detector
Square, Triangular, Saw tooth and pulse waves are typical
examples of non-sinusoidal waveforms. A conventional AC
voltmeter cannot be used to measure these sinusoidal
waveforms because it is designed to measure the RMS value of
the pure sine wave. One possible solution to this problem is to
measure the peak values of the non-sinusoidal waveforms. Peak
detector measures the +ve peak value of the square wave input.
Fig. 2.43 Peak detector circuit and input and output waveform
i) During the positive half cycle of Vin: the o/p of the op-amp
drives D1 on. (Forward biased) Charging capacitor C to the
positive peak value Vp of the input volt Vin.
Introduction:
Sample-and-hold (S/H) is an important analog building block with
many applications, including analog-to-digital converters (ADCs)
and switched-capacitor filters. The function of the S/H circuit is to
sample an analog input signal and hold this value over a certain
length of time for subsequent processing.
Series Sampling:
The S/H circuit of Figure 4. is classified as parallel sampling
because the hold capacitor is in parallel with the signal. In
parallel sampling, the input and the output are dc-coupled. On
the other hand, the S/H circuit shown in Figure 2 is referred to as
series sampling because the hold capacitor is in series with the
signal.
Fig. 4.8 Series sampling
Limitations:
On the other hand, series sampling suffers from the nonlinearity
of the parasitic capacitance at node Y. This parasitic capacitance
introduces distortion to the sample-and hold value,
thus mandating that Ch be much larger than the parasitic
capacitance. On top of this disadvantage, the settling time of the
S/H circuit during hold mode is longer for series sampling than
for parallel sampling. The reason for this is because the value
of Vout in series sampling is being reset to VCC (or VDD) for
every sample, but this is not the case for parallel sampling.
During sample mode, the SOP behaves just like a regular op-
amp, in which the value of the output follows the value of the
input. During hold mode, the MOS transistors at the output node
of the SOP are turned off while they are still operating in
saturation, thus preventing any channel charge from flowing into
the output of the SOP. In addition, the SOP is shut off and its
output is held at high impedance, allowing the charge on Ch to
be preserved throughout the hold mode. On the other hand, the
output buffer of this S/H circuit is always operational during
sample and hold mode and is always providing the voltage
on Ch to the output of the S/H circuit.
Fig. 4.10. High speed Sample and Hold circuit with MOSFET
The above figure shows a sample and holds circuit with MOSFET
as Switch acting as a sampling device and also consists of a
holding capacitor Cs to store the sample values until the next
sample comes in. This is a high speed circuit as it is apparent
that CMOS switch has a very negligible propagation delay.
Three S/H circuits to reduce error
Series sampling
SOP based S/H circuit
Bottom plate S/H circuit with bootstrapped switch
3.13 DIGITAL TO ANALOG CONVERTER(DAC)
When digital input of the circuit DCBA = 0001, then putting these
value in above equation (1) we get
In this way, when digital input changes from 0000 to 1111 (in
BCD style), output voltage (Vo) changes proportionally. This is
given in the conversion chart. There are some main
disadvantages of the circuit.
They are
1) Each resistor in the circuit has different value.
2) So error in value of each resistor adds up.
3) The value of resistor at MSB is the lowest. Hence, it draws
more current.
4) Also, its heat & power dissipation is very high.
5) There is the problem of impedance matching due to different
values of resistors.
( 2 R2+2R R ) X (+ V )= V2
output =
A to D Converter- Specifications
Resolution:
The resolution refers to the finest minimum change in the signal
which is accepted for conversion, and it is decided with respect
to number of bits. It is given as 1/2 n, where ‘n’ is the number of
bits in the digital output word. As it is clear, that the resolution
can be improved by increasing the number of bits or the number
of bits representing the given analog input voltage.
Resolution can also be defined as the ratio of change in the value
of input voltage Vi, needed to change the digital output by 1 LSB.
It is given as
Resolution = ViFS / (2n – 1)
Where ‘ViFS’ is the full-scale input voltage.
‘n’ is the number of output bits.
Quantization error:
If the binary output bit combination is such that for all the values
of input voltage Vi between any two voltage levels, there is a
unavoidable uncertainty about the exact value of Vi when the
output is a particular binary combination. This uncertainty is
termed as quantization error. Its value is ± (1/2) LSB. And it is
given as,
QE = ViFS / 2(2n – 1)
Where ‘ViFS’ is the full-scale input voltage. ‘n’ is the number of
output bits. Maximum the number of bits selected, finer the
resolution and smaller the quantization error.
Conversion Time:
It is defined as the total time required for an A/D converter to
convert an analog signal to digital output. It depends on the
conversion technique and propagation delay of the circuit
components.
Analog error:
An error occurring due to the variations in DC switching point of
the comparator, resistors, reference voltage source, ripples and
noises introduced by the circuit components is termed as Analog
error.
Linearity Error:
It is defined as the measure of variation in voltage step size. It
indicates the difference between the transitions for a minimum
step of input voltage change. This is normally specified as
fraction of LSB.