Low Pass and High Pass Filters

In this week's lab we'll look at the frequency behavior of series RC and RL circuits. We've observed both of these before, but that was with a pseudo-DC signal (we used a square wave with a period that was much greater than the time constant for the circuit to simulate the opening and closing of a switch). In this case we'll send a sine wave through the circuit and measure the output voltage.

Theory
From a physical point of view we can attempt to understand how series RC and series RL circuits react to different input frequencies. Let's start with a low frequency. An inductor resists change, but at low frequency the change is so slow that there is very little voltage across the inductor, and at low enough frequency we can pretend that the inductor isn't even there. On the other hand, a capacitor driven at low frequency will find itself nearly fully charged, and hence voltage across the cpacitor will approach that of the power supply, and very little current will flow through the circuit.

At high frequency an inductor will experience high voltages, while a capacitor won't have enough time to build up charge on its plates before the direction of the current switches. So a capacitor will have almost no voltage across it at high frequencies, but will follow the power supply at low frequencies. What this means is that if we monitor the voltage across the capacitor it will closely match the power supply for low-frequency signals, but will drastically drop for high frequency signals. The inductor will have the opposite behavior.

With a knowlege of reactances we can address these circuits.

XL = ωL
and
XC = 1/(ωC).

For the series RC ciruit, the total reactance is the vector sum of the resistance and XC:
Z = [R2 + 1/(ωC)2]1/2

and via

Vpower supply = iZ,
i = Vpower supply/Z.

The voltage across the capacitor is

VC = i * XC,
VC = Vpower supply * XC/Z.

If we take the ratio of VC/Vpower supply, we get

VC/Vpower supply = XC/Z
= (1/(ωC) / [R2 + 1/(ωC)2]1/2
= 1 / [1+(RωC)2]1/2
= 1 / [1+(ωτ)2]1/2,

where τ = RC. At low ω VC/Vpower supply approaches one, and at high ω the voltage ratio becomes small.

Electrical engineers make use of this behavior to use this circuit to filter signals. A voltage signal with a low frequency will be mirrored by the voltage across the capacitor, while a high frequency signal will be ignored by the capacitor.

Engineers and physicists use slightly different languages. For example, since the engineers really want to use i for current, they use the letter j for the square root of minus one (somehow physicists don't get them confused... or at least not often). Engineers also like using ordinary frequency (f) instead of angular frequency (ω), and will compare their voltages in decibels. The gain of a network in decibels is given as:

G = 20 log10 (Vout/Vin)

Hence if two voltages are the same the gain is zero decibels, and the dropoff in voltage is given in negative decibels.

Engineers are also very interested in where the voltage ratio has dropped to 1/(2)1/2. This is because the power goes as the voltage squared, so this is the "half-power" point. This occurs at the "corner frequency" (fc = 1 / (2 π τ). The corner frequency can be discovered graphically. Observe the chart below. The log of the frequency is graphed on the x-axis and the gain on the y-axis. The response in both the high and low frequency regions are straight lines. It can be shown that the intersection of these two lines occurs at the corner frequency.

The mathematics for an RL series circuit are similar, only with the result that signals at high frequencies are passed and low frequencies are blocked.

RC Low Pass Filter
Take a 10KΩ resistor and wire it in series with a 0.01μF capacitor. Power this circuit with your function generator, using an oscilloscope to measure the output of the function generator with channel one and the voltage across the capacitor with channel two.

Collect voltage as a function of frequency. The values of frequency should vary over a wide range. Start with 10 hertz and then move to 20, 30, 50 and 70. Use the same increments for higher powers of ten, from the 100s to the high 10,000s. A few minutes playing with the features of your oscilloscope at the start of this experiment will make your measurements much easier in the long run.

Since the frequency is over such a wide range, plot the log of the frequency (in Excel, or if you want to go old school, use semilog graph paper). On the y axis graph the gain. Extend straight lines from the two regions to establish the corner frequency. How does it compare to the predicted corner frequency? Does the value of Vout/Vin match up with what you expected?

Repeat this experiment with a second capacitor.

LR High Pass Filter
Build a series circuit with a 1KΩ resistor and an 25mH inductor, and probe the frequency response by observing the voltage across the inductor, much as you did in the previous circuit. In this case you'll find that it allows through high frequency signals but attenuates low frequency signals. Establish the corner frequency and use this as a measurement for the inductance. Does this value seem reasonable? Note that unlike the previous filter, there's always some loss. Why is this?





Understanding Semilog Paper
Semilog paper is often used in situations where the physical phenomena spans many orders of magnitude, and as such "regular" graph paper would not work for graphing. While it is tempting to write off semilog paper as ancient technology, you should understand how to use it. After all, you don't want the older engineers laughing behind your back at you because you need a computer to do things that they can do with paper and pencil.

In the next graphic we've put numbers on top of the chart. The reason that the chart looks irregular is that the x-axis is based upon logs, which allows us to put many orders of magnitude along this dimension. Note that the first set of numbers goes as 1,2,3... the second as 10, 20, 30... and the next as 100, 200, 300... It's fairly easy to get this confused, print out a piece of semilog paper and write in your own numbers as practice.

a better example of semilog paper, describing how the
numbering system works.  The instructor will go over this in class.

Why are the vertical lines spaced as they are? This comes down to how logs are calculated. We need to remember that if y = log(x), then x = 10y. We also need to remember that multiplication is addition when it comes to logs, in other words, if y1 = log(x1) and y2 = log(x2) then if x3 = x1 * x2, then y3 = y1 + y2. Also, log(xy) = y log(x) (with a little reflection, this should be obvious from the previous rule)

All that is left is to calculate the logs of the two through ten. Here's the way my father, an old-school engineer, approaches this exercise:

LogMathematical ReasoningEstimated ValueTrue Value
1100 = 100
2210 = 1024, round to 1000, 10 log(2) = 30.30.301
381=34, 81 is close to 80, so 4 log(3) = log(8) + log(10)0.4750.477
44=22, so log 4 = 2 log 2 = 2*0.30.60.602
55 = 10/2, so log(5) = log(10) - log(2) = 1 - 0.30.70.699
66 = 3*2, so log(6) = log(3) + log(2)0.7750.778
749 = 72, so 2 log(7) = log(49); 49 is roughly 100/2, so 2 log(7) = log(100) - log(2)0.850.845
88=23, so log(8) = 3 log(2)0.90.903
99=32, so log(9) = 2 log(3)0.950.954
10101 = 1011


So to make semilog paper, my father would put the number 1 at zero, 2 at 0.3, 3 at 0.475 and so on. For 10 he would put a mark at 1, for 20 a mark at 1.3, you should be able to fill in the rest. He would have a fairly good approximation for semilog paper, without ever using a calculator. Of course, if he wanted a perfect copy of semilog paper, he would use his slide-rule.