Home  www.playhookey.com  Wed, 10182017 

Direct Current

Alternating Current

Semiconductors

Digital

Logic Families

Digital Experiments

Computers

 Analog  Analog Experiments  Oscillators  Optics  HTML Test  

 The Fundamentals  Resistance and Reactance  Filter Concepts  Power Supplies   
 Filter Basics  Radians  Logarithms  Decibels  LowPass Filters  HighPass Filters  BandPass Filters  
LowPass Filters 

The two circuits to the right behave the same way for the most part, but there are some important differences. Both circuits operate as lowpass filters. That is, they will readily transmit signals below a certain frequency from input to output, with no appreciable loss in signal amplitude.
The first circuit shows a resistor and a capacitor, connected as a voltage divider. We have already looked at the behavior of this circuit with a single input frequency. The question now is, how does it behave for a range of frequencies?
One thing we can note at once: at very low frequencies, X_{C} will be quite large, so C will have no practical effect on the signal. In essence, there will only be R in series with the signal, between v_{IN} and v_{OUT}. At the same time, C does provide dc isolation from ground. Sometimes this is important.
Our second circuit on the right is a lowpass RL filter. At low frequencies, the series inductance has negligible effect on the signal, and we essentially have a resistor connecting the signal line to ground. This is often designated a shunt resistance, indicating that it is in parallel with the signal.
As the frequency increases, X_{L} also increases, thus increasing the total impedance of the filter. Since R doesn't change, more and more of the signal is dropped across L at higher frequencies, leaving less and less across R and available at v_{OUT}.
At audio frequencies, the RC filter is generally preferred. This has nothing to do with any inherent benefit or lack of one circuit over the other, but rather is strictly a question of cost. Inductors for the audio frequency band are generally physically large and have heavy iron cores. This makes them expensive, and also causes them to take up a lot of space inside the cabinet of the device using it. In addition, inductors can be affected by external magnetic fields, such as the fields surrounding all power lines in homes and offices. Capacitors are much smaller, lighter, cheaper, and less susceptible to external energies, so they are used far more often.
Regardless of which circuit you choose for your filter, its frequency response will match the curve to the right. Note that the frequency scale is logarithmic rather than linear. In addition, the attenuation of the filter is shown in units called decibels (db). This is also a logarithmic unit used to show ratios. Mathematically, voltage gain or loss is described as:
Gain or Attenuation (db) = 20 log_{10}  v_{OUT} 
v_{IN} 
Because for these filters v_{OUT} is always less than (or equal to) v_{IN}, the ratio is a fraction no higher than 1, so the logarithm of this fraction will be negative or zero. Thus, a voltage loss is expressed as negative decibels. A voltage gain would be expressed in positive decibels.
Regardless of the component values we use in our filter, there will be one particular frequency at which R = X_{C} (for the RC filter), or R = X_{L} (for the RL filter). At this frequency, v_{OUT}/v_{IN} = 0.707, and the calculation above will indicate a ratio of 3 db. This point is shown clearly on the graph. At lower frequencies, attenuation is reduced and rapidly becomes 0 db. At higher frequencies, attenuation increases rapidly until it falls off at a constant slope of 20 db per frequency decade as shown.
The frequency at which the two components have equal individual impedances (without regard to phase shift) is called the cutoff frequency of that filter, designated f_{co} or ω_{co}, according to whether we have specified frequency in Hz or radians/second. Since this graph is normalized, that frequency is shown as 1 (actually 1 times the actual cutoff frequency). The Frequency axis on the graph thus indicates frequencies in powers of 10 above and below the cutoff frequency. The shape of the graph will remain the same for any firstorder RC or RL lowpass filter of the types described on this page.
Frequencies below the cutoff frequency will be passed through without significant loss, while frequencies above the cutoff frequency will be attenuated significantly. This in fact is how the filter gets its name: it passes low frequencies but not high frequencies.
If the constant slope is extended up to the 0 db line as shown in green in the graph, the intersection point is once again the cutoff frequency. In many circumstances it is useful and easier to simply use the straight lines to describe a filter's performance. This is an acceptable approximation, and the actual curve is understood to be present.
For a firstorder lowpass filter, v_{OUT} always lags v_{IN} by some phase angle betweeen 0 and 90°. The vector diagrams to the right show why.
The RL vector diagram at the top properly shows that v_{L} leads v_{R} by 90°. However, the input voltage is applied to the series combination of the two components. Thus, v_{L} leads v_{IN}, while v_{R} lags v_{IN}. Since the output is taken from across R, v_{OUT} = v_{R} and lags behind v_{IN} by some phase angle that depends on frequency.
In the case of the RC lowpass filter, v_{C} lags v_{R}, and again v_{IN} is applied to the series combination of the two components. This time, however, the output is taken from across C, so v_{OUT} = v_{C}, which again lags v_{IN} by some angle in the range 0 to 90°, according to the signal frequency.
Most of the variation in phase angle occurs within one decade of the cutoff frequency, as shown in the figure to the right. Note that at frequencies well below cutoff, there is essentially no phase shift. The phase lag begins to become significant about a decade below ω_{co}, and reaches 45° (or π/4 radians) at ω_{co} itself. Above ω_{co}, the output phase continues to change rapidly during the first decade, by which time the phase lag is close to 90° (π/2 radians).
Because of this shifting phase lag, nonsinusoidal signals with frequency components near ω_{co} will be distorted by this filter. Such distortion must be taken into account when designing filters of this type for some kinds of applications.
We perform our calculations without considering the loading effects of any circuit connected to v_{OUT}. Any such loading effects are calculated separately. Therefore, signal current is the same through both components in the filter, and the ratio v_{OUT}/v_{IN} is equal to the ratio Z_{OUT}/Z_{IN}.
In the case of the RC filter, Z_{OUT} = X_{C}. For the RL filter, Z_{OUT} = R. On the input side, Z is always the series combination of the two elements. We'll use the RC filter as our main example here; you'll find that the RL filter works out to the same result.
We are using normalized values for these calculations. This means that we arbitrarily assign values as follows:
For convenience, we will use frequency in radians/second, symbolized by the Greek letter ω (omega), rather than frequency in Hz. You need only remember when we're done with our calculations that ω = 2πf. But for the calculations themselves, this allows us to use X_{C} = 1/ωC and avoid performing lots of calculations using π. This simplifies many calculations, and still allows the circuit to be scaled to any impedance and any frequency.
We begin at the cutoff frequency, since that is what controls our component values. We know that R = X_{C} at this frequency, so we have:
R  =  X_{C} 
=  1  
ωC  
ω  =  1 
RC 
Since R = 1Ω and C = 1f, we can immediately calculate that ω = 1 radian/second. Then, at the cutoff frequency we have:
X_{C}  =  1  
ωC  
=  1  
1  
=  1 Ω  
Z  =  (R² + X_{C}²)^{½}  
=  (1² + 1²)^{½}  
=  Ω 
Thus, at the cutoff frequency (generally designated ω_{co}), X_{C}/Z = 1/ = 0.707 as we determined above. To calculate the v_{OUT}/v_{IN} ratio at all frequencies, we leave ω as a variable. We can also make it complete with R and C accounted for, as follows:
v_{OUT}  =  X_{C}  
v_{IN}  Z  
=  1/ωC  
(R² + 1/(ωC)²)^{½}  
=  1  
ωC(R² + 1/(ωC)²)^{½}  
=  1  
((RωC)² + 1)^{½} 
If we use the values R = 1Ω and C = 1f as we did above, and let ω vary over a range from 0.01 to 100 radians/second, and then convert the resulting ratios to db, we will get exactly the curve shown in the graph above, in blue. In fact, that's how this graph was computed. Many years of experiments have shown that it is valid, and accurately portrays the frequency response of a real lowpass filter.
The RL lowpass filter may be computed in the same way, except that here the ratio v_{OUT}/v_{IN} = R/Z, and Z = (R² + (ωL)²)^{½}. The final formula is very similar, except that we must replace (RωC)² with (ωL/R)². For the RL lowpass filter, ω_{co} = R/L. Thus, if we pick the normalized values of R = 1Ω and L = 1H, we will get exactly the same curve as we plotted above for the RC filter.
The phase response for both filters near ω_{co} is exactly the same, and may be calculated as:
φ  =  arctan   R  =  arctan   X_{L} 
X_{C}  R  
=  arctan   ωRC  =  arctan   ωL  
R 


 
All pages on www.playhookey.com copyright © 1996, 20002015 by
Ken Bigelow Please address queries and suggestions to: webmaster@playhookey.com 