CC415 Chapter 2 Signal Conditioning
CC415 Chapter 2 Signal Conditioning
CC415 Chapter 2 Signal Conditioning
CHAPTER 2
Signal Conditioning
Amplification and Filtering
# Characteristic Description
1 Zin = ∞ Infinite input impedance
2 Zout = 0 Zero output impedance
3 Zero common mode gain Infinite common mode rejection
4 A≈ ∞ Infinite open–loop gain
5 BW = ∞ Infinite bandwidth
• The closed–loop gain is the simply the ratio of the two resistor R2
and R1.
• The minus sign (–) means that the closed–loop gain amplifies
provides a signal inversion (or the output signal is 180° phase–
shifted with respect to the input. Therefore, this is called inverting
configuration).
VI VI
Ri R1 Fig.2.6 The inverting
i1 V I / R 1 closed-loop configuration
V V
i1 I 1 V I
R1 R1
Figure 2.7 Circuit for Example 2.1 the circled numbers
indicate the sequence of the steps in the analysis
11 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.2.2 Input and Output Resistances
Example 2.1 (Continued)
Determination of i2
0 V I R2
V x V 1 i2 R 2 R2 V I
R1 R1
Determination of i3:
0 V x R 2
i 3 V I
R 3 R 1 R 3
Determination of i4:
V I R 2
i4 i2 i3 V I
R 1 R 1R 3
12 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.2.2 Input and Output Resistances
Example 2.1 (Continued)
Determination of Vo:
R2 V I R2
V o V x i4 R 4 V I( V I) R 4
R1 R1 R1R 3
a) The closed – loop voltage gain is given by:
G V o R 2 (1 R 4 R 4 )
VI R1 R2 R3
b) Since the input resistance of 1 MΩ is required.
Ri = R1 = 1 MΩ.
From the gain equation G, the maximum possible value for the first
factor R2/R1 = 1, thus select R2 = 1 MΩ
To obtain G = -100, the second factor of the gain expression is 100,
we select maximum allowed value of resistance to R4 = 1 MΩ
The value of R3 is calculated as
1M 1M
(1 ) 100
1M R3
R3 = 10.2 KΩ
13 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.2.2 Input and Output Resistances
Example 2.1 (Continued)
c) In comparison with inverting configuration shown in Fig. 2.8,
use input resistance:
Ri = R1 = 1 MΩ
For G = -R2/R1 R2 = 100 MΩ
Which is impractically large value.
Figure 2.8 The inverting configuration
Current Amplifier:
Refer to Fig. 2.9, marking R3 < R2, if
(R3 = R2/K, where K > 1)
i2 = i1 and i3 = K i1 i4 = (K+1) i1
• The circuit can be used as a current amplifier
• The current i4 is independent of R4.
Rf Rf Rf
V o 0 i R f i R f ( V1 V2 .... V n)
R1 R2 Rn
• The output voltage is a weighted sum of the input signals V1, V2, …
• Each summing coefficient can be independently adjusted by the
corresponding feed in resistors (R1, R2, … or Rn).
15 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.2.3 The Weighted Summer Amplifier (Continued)
• For summing signals with opposite signs, two ideal op–amps can be
used as shown is Fig.2.11 and is given by:
Ra Rc Ra Rc Rc Rc
V o V 1 ( )( ) V 2 ( )( ) V 3 ( ) V 4 ( )
R1 R b R2 Rb R3 R4
Figure 2.11 A weighted summer capable of implementing summing coefficients of both signs.
0
i 1 V I V I i 2
R 1 R 1
V o V I i2 R 2 V I V I . R 2 V I (1 R 2 ) which yields:
R1 R1
G V o 1 R 2
V I R 1
2.3.2 Characteristics of the Noninverting Configuration
The gain G is positive
• The input impedance Zin = ∞ VI/I = VI/0 = ∞
• The output impedance Zout = 0 ideal voltage source
Fig. 2.14 (a) The unity-gain buffer or follower amplifier. (b) Its equivalent circuit model.
CMRR 20 log Ad
A Cm
• The gain of the noninverting Configuration (1+ R2/R1) and the gain of
inverting configuration (-R2/R1).
• To get the difference between the two inputs, we have to make the
two gain magnitudes equal in order to reject the common mode
signals. Fig.2.16 is used to alternate (1+ R2/R1) to (R2/R1).
• The proper ratio of the voltage divider can be determined by:
R 4 (1 R 2 ) R 2 or R4 R2
R 4 R 3 R1 R1 R 4 R 3 R 2 R1
21 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.4 Difference Amplifiers (Continued)
R4 R2
• This condition is satisfied
R 3 R1
• The output can be determined by superposition as shown in Fig.2.17
Fig. 2.17 Application of superposition to the analysis of the circuit of Fig. 2.16.
R4 R4 R2 . R3 R4 (1 R2 . R3)
Vo V ICm i2 R2 V ICm V ICm V ICm
R4 R3 R4 R3 R1 R4 R3 R4 R3 R1 R4
Thus
A Cm V o ( R 4 )( 1 R 2 . R 3 ) 0
V ICm R 4 R 3 R1 R 4
When R2 R3
R1 R 4
A ICm 0 CMRR
Fig. 2.18 Analysis of the Fig. 2.19 Finding the input resistance of
difference amplifier the difference amplifier.
V Id
V I2 V I1 V Id i
2R1
(1 2R 2)
V o 2 V o1 V Id
2R1
Fig. 2.20 A popular circuit for an instrumentation amplifier: (a) Initial approach to the
circuit; (b) The circuit in (a) with the connection between node X and ground removed and
the two resistors R1 and R1 lumped together. This simple wiring change dramatically
improves performance; (c) Analysis of the circuit in (b) assuming ideal op amps.
28 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.5 The Instrumentation Amplifier (Continued)
• The overall difference voltage gain is given by:
V o R 4 (1 R 2 )
Ad
V Id R 3 R1
Example 2.3:
Design an instrumentation amplifier circuit (Fig.3.20(b)) to provide a
gain that can be varied over a range of 2 to 1000 utilizing 100 KΩ
variable resistances or potentiometer (pot).
Solution:
• The first stage is used as gain stage.
• The second stage is used as a difference stage
of gain 1 therefore select R3 = R4 = 10 KΩ.
• Choose 2R1 as a series of two resistors R1f (fixed)
and R1V = 100KΩ pot. as shown in Fig.2.21
• difference voltage gain is Fig. 2.21 Choice of 2R1
R 4 (1 2 R 2 )
Ad
R3 2R1
29 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.5 The Instrumentation Amplifier (Continued)
Example 2.3: (Continued)
• To realize an adjustable gain over a range of 2 to 100, we can write:
(1 2R 2 )
= 2 to 1000
R 1 f R 1V
(1 2R 2 ) 2 and 2 R 2 ) 1000
(1
R 1 f R 1V R 1 f R 1V
• Solve these two equations gives
R1f = 100.2 Ω and R2 = 50.05 KΩ
1 1
woH 2f oH f oH
C1 R1 2R1C1
32 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.1 Low-pass Filter (Continued)
• The Bode-plot of H(j) is shown in Fig.2.23 (b)
Rf 1 1
AV 1 w oH 2 f oH f oH
RG C 1 R1 2 R1C 1
Example:
• Calculate the cutoff frequency of a first order low-pass filter when
1
R 1 1.2 K and C 0.02µF foH 3 6
6.63kHz
2 (1.210 )(0.0210 )
Fig.2.23 First-order low-pass active filter (a) the circuit; (b) the Bode plot.
33 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.2 High–Pass Filter
• A filter that provides or passes
signals above cutoff frequency FOL
is high-pass filter The ideal
response of this filter is shown in
Fig.2.24.
• The first-order high-pass filter
circuit is shown in Fig.2.25 (a).
The output voltage is given by:
R1 R
V o ( s ) V i ( s )( ).( 1 f ) Fig.2.24 The idea response of HPF
R1 1 / Sc 1 RG
Vo ( s ) Rf SC 1 R1 SC 1 R1
H (s) (1 )( ) Av ( ) The filter transfer function
Vi ( s ) RG 1 SC 1 R1 1 SC 1 R1
Vo ( j ) j / OL
H ( j ) Av (1 j / OL ) The filter frequency response
Vi ( j )
• The Bode-plot of H(j) is given in Fig.3.25 (b)
Rf 1 1
AV 1 and w oL 2 f oH f oL
RG C 1 R1 2 R1C 1
34 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.2 High–Pass Filter (Continued)
Example:
Solution:
Rf 50
AV 1 1 6 (The voltage gain)
RG 10
The cutoff Frequency:
1 1
foL 3 6
1.5KHz
2R1C1 2 (2.110 )(0.0510 )
(b)
(a)
Fig. 2.25 High-pass filter: (a) the circuit; (c) response Bode plot.
36 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.3 Band-Pass Filter
• The Band-pass filter circuit passes
signals above one ideal cutoff
frequency fOL and below a second
cutoff frequency fOH as shown in
Fig.2.26.
• Fig.2.27 shows a band-pass filter using
two stages, the first a high-pass filter
and the second a low-pass filter. The
combined response represent the filter. Fig.2.26 The idea response of BPF
R1 Rf SR 1C 1 Rf
V o 1 ( s ) V i ( s )( ).( 1 ) V i ( s )( )(1 )
R1 1 / Sc 1 RG 1 SR 1C 1 RG
1 / SC 2 Rf 1 Rf
V o ( s ) V o1 ( s )( ).(1 ) V o1 ( s )( ).( 1 )
R 2 1 / Sc 2 RG 1 SR 2 c 2 RG
• Combine the above equations we get the filter transfer function as:
Rf 2 SR 1C 1 1 Vo ( s )
V o ( s ) V1 ( s ).(1 ) ( )( ) H (s)
RG 1 SR 1C 1 1 SR 2 c 2 Vi ( s )
37 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.3 Band-Pass Filter (Continued)
• The filter frequency response is determined by replacing s by j in
the filter transfer function H(s) which leads to H(j) = Vo(j) / Vi (j) and
is given by:
H ( j )
j / OL 1
A 1 j /
v
x
OL
1 j / OH
Rf 1
AV (1 )2 FoL and
1
RG 2R1C1 FoH
2R2C2
• The Bode-plot is shown in Fig.2.27 (b).
Example:
• Calculate the cutoff frequencies of the band-pass filter if R1 = R2 =10kΩ,
C1 = 0.1 µF and C2 = 0.002 µF
Solution:
1 1
FoL 3 7
159.15Hz
2R1C1 2 (1010 )(10 )
1 1
F oH 4 5
7 . 96 KHz
2 R 2 C 2 2 10 2 10
38 of 39 CC415 Ch.2 S. Conditioning Prof Fawzy Ibrahim
2.6.3 Band-Pass Filter (Continued)
Fig. 2.27 Bandpass active filter (a) the circuit; (b) response Bode plot.