In this module we calculate the frequency response from a circuit diagram of a simple analog filter, as shown in
Figure 1. We know that the frequency response, denoted by
HiΩ
H
Ω
, is calculated as ratio of the output and input voltages (in the frequency domain). That is,
V
out
V
in
=HiΩ
V
out
V
in
H
Ω
(1)
Notice that we use capital letters in these relations. This is to indicate that they are frequency domain descriptions.
Now, to calculate the frequency response we find expressions for
V
in
V
in
, and
V
out
V
out
, as follows
V
in
=IR+
V
out
V
in
I
R
V
out
(2)
Further, the current in the circuit can be expressed as
I=iCΩ
V
out
I
C
Ω
V
out
(3)
Then, the frequency response is given as:
V
out
V
in
=HiΩ=1iΩRC+1
V
out
V
in
H
Ω
1
Ω
R
C
1
(4)
Note that above we have used
impedance considerations. Have a look at
The Impedance concept and
Impedance for a quick summary of impedance considerations.
Implicit in using the transfer function is that the input is a complex exponential, and the output is also a complex
exponential having the same frequency. The transfer function reveals how the circuit modifies the input amplitude in creating
the output amplitude. Thus, the transfer function completely describes how the circuit
processes the input complex exponential to produce the output complex exponential. The circuit's function is thus summarized
by the transfer function. In fact, circuits are often designed to meet transfer function specifications. Because transfer
functions are complex-valued, frequency-dependent quantities, we can better appreciate a circuit's function by examining the
magnitude and phase of its transfer function (Figure 2). Note that in Figure 2 we plot the magnitude
phase as a function of the frequency FF, instead of the angular frequency ΩΩ. Since
Ω=2πF
Ω
2
F
,
this is just a matter of taste, see Frequency definitions and peridocity for details.
Several things to note about this transfer function.
We can compute the frequency response for both positive and
negative frequencies. Recall that sinusoids consist of the sum
of two complex exponentials, one having the negative frequency
of the other. We will consider how the circuit acts on a
sinusoid soon. Do note that the magnitude has even
symmetry: The negative frequency portion is a mirror
image of the positive frequency portion:
|H−(iF)|=|HiF|
H
F
H
F
.
The phase has odd symmetry:
∠H−(iF)=−∠HiF
H
F
H
F
. These properties of this specific example apply for
all transfer functions associated with
circuits. Consequently, we don't need to plot the negative
frequency component; we know what it is from the positive
frequency part.
The magnitude equals
12
1
2
of its maximum gain (1 at
F=0
F
0
)
when
2πFRC=1
2
F
R
C
1
(the two terms in the denominator of the magnitude are
equal). The frequency
F
c
=12πRC
F
c
1
2
R
C
defines the boundary between two operating ranges.
- For frequencies below this frequency, the circuit does
not much alter the amplitude of the complex exponential
source.
- For frequencies greater than
F
c
F
c
, the circuit strongly attenuates the amplitude.
Thus, when the source frequency is in this range, the
circuit's output has a much smaller amplitude than that of
the source.
For these reasons, this frequency is known as the
cutoff
frequency. In this circuit the cutoff frequency depends
only on the product of the resistance and
the capacitance. Thus, a cutoff frequency of 1 kHz occurs when
12πRC=103
1
2
R
C
10
3
or
RC=10−32π=1.59×10-4
R
C
10
3
2
1.59-4
. Thus resistance-capacitance combinations of 1.59
kΩ and 100 nF or 10 Ω and 1.59 μF result in the
same cutoff frequency.
The phase shift caused by the circuit at the cutoff frequency
precisely equals
−π4
4
.
Thus, below the cutoff frequency, phase is little affected, but at
higher frequencies, the phase shift caused by the circuit becomes
−π2
2
. This phase shift corresponds to the difference
between a cosine and a sine.
We can use the transfer function to find the output when the
input voltage is a sinusoid for two reasons. First of all, a
sinusoid is the sum of two complex exponentials, each having a
frequency equal to the negative of the other. Secondly, because
the circuit is linear, superposition applies. If the source is
a sine wave, we know that
v
in
t=AsinΩt=A2i(eiΩt−e−(iΩt))
v
in
t
A
Ω
t
A
2
Ω
t
Ω
t
(5)
Since the input is the sum of two complex exponentials, we know
that the output is also a sum of two similar complex
exponentials, the only difference being that the complex
amplitude of each is multiplied by the transfer function
evaluated at each exponential's frequency.
v
out
t=A2iHiΩeiΩt−A2iH−(iΩ)e−(iΩt)
v
out
t
A
2
H
Ω
Ω
t
A
2
H
Ω
Ω
t
(6)
As noted earlier, the transfer function is most conveniently
expressed in polar form:
HiΩ=|HiΩ|ei∠HiΩ
H
Ω
H
Ω
H
Ω
.
Furthermore,
|H−(iΩ)|=|HiΩ|
H
Ω
H
Ω
(even symmetry of the magnitude) and
∠H−(iΩ)=−∠HiΩ
H
Ω
H
Ω
(odd symmetry of the phase). The output voltage expression
simplifies to
v
out
t=A|HiΩ|sinΩt+∠HiΩ=A2i|HiΩ|eiΩt+∠HiΩ−A2i|HiΩ|e(−(iΩt))−∠HiΩ
v
out
t
A
H
Ω
Ω
t
H
Ω
A
2
H
Ω
Ω
t
H
Ω
A
2
H
Ω
Ω
t
H
Ω
(7)
The circuit's output to a sinusoidal input is also a
sinusoid, having a gain equal to the magnitude of the
circuit's transfer function evaluated at the source frequency
and a phase equal to the phase of the transfer function at the
source frequency. It will turn out that this
input-output relation description applies to any linear
circuit having a sinusoidal source.
The notion of impedance arises when we assume the sources are
complex exponentials. This assumption may seem restrictive;
what would we do if the source were a unit step? When we use
impedances to find the transfer function between the source
and the output variable, we can derive from it the differential
equation that relates input and output. The differential equation
applies no matter what the source may be. As we have argued, it is
far simpler to use impedances to find the differential equation
(because we can use series and parallel combination rules) than
any other method. In this sense, we have not lost anything by
temporarily pretending the source is a complex exponential.
In fact we can also solve the differential equation using
impedances! Thus, despite the apparent restrictiveness of
impedances, assuming complex exponential sources is actually
quite general.