<<

Lesson 19: & Introduction to Filters

Objectives: (a) Define gain and attenuation and describe their application to wireless communication. (b) Convert between unitless gain and gain in . (c) Draw the response plots for ideal low-pass and high-pass filters and determine an output for a given input signal. (d) Given an RC circuit, determine the cutoff frequency and whether it is a low-pass or high-pass filter.

1. Gain/Attenuation

When we talk about transmitting , we’re very interested in the power of the signal that is transmitted (and the power that is received). As you know, power is measured in units of Watt (W). To get a sense of relative amounts of power, consider the following  A typical household incandescent light bulb consumes 60W  An exercise bike average output is approx. 200W  A uses 1100W  AM stations transmit 10,000-50,000W

Now, consider a typical situation where a receives signal from a radio station as shown in the illustration to the right.

Note that:  The signal power decreases significantly at the car receiver  signal loss (attenuation).  The signal power received is too low  signal must be amplified first (gain).

The term gain usually refers to amplification. For an , the gain (A) is the ratio of the output to the input. So, to calculate power gain (AP) where Pin is the power input and Pout is the power output:

푨풑 = 푷풐풖풕/푷풊풏 (unitless)

Reduction or signal loss is termed attenuation. This occurs when we have a gain that is less than 1. Although gain/attenuation is usually associated with the signal power, it is sometimes used to described the gain/attenuation of the signal voltages as well.

2. Decibels

For many reasons of history and practicality, engineers usually use a logarithmic unit called the (dB) to express gain and attenuation figures. To express power gain or attenuation with decibels (dB):

푷풐풖풕 푨풅푩 = ퟏퟎ풍풐품 ( ) 풅푩 푷풊풏

If we’re dealing with current or voltage gain such as 퐴푉 = 푉표푢푡/푉푖푛, then the gain in decibels is given by

1 푽풐풖풕 푨풅푩 = ퟐퟎ풍풐품 ( ) 풅푩 푽풊풏

Notes:  Gains greater than 1 (amplification) will result in a positive (+) dB value.  Gains less than 1 (attenuation) will result in a negative (-) dB value.  A few decibel values that you should know o 0 dB = 1 o 3 dB = 2 (approximate) o -3 dB = ½ (approximate) o 10 dB = 10 푨풅푩 푷풐풖풕 If you want to convert dB to power gain ratio: 푨푷 = ( ) = ퟏퟎ ퟏퟎ 푷풊풏

푨풅푩 푽풐풖풕 If you want to convert dB to voltage/current gain ratio: 푨푽 = ( ) = ퟏퟎ ퟐퟎ 푽풊풏

Practice Problem 1: Convert the two gains to decibels (dB). Practice Problem 2: Convert the following from decibels to ratios. 퐴푃 = 1000  퐴푑퐵 = 10 log(1000) = 30 푑퐵 25 25 푑퐵  퐴푃 = 1010 = 316.2 퐴푃 = 0.0001  퐴푑퐵 = 10 log(0.0001) = −40 푑퐵 −6 −6 푑퐵  퐴푃 = 1010 = 0.251

3. Exercises

a. What is the value of the voltage at point X and Y in the circuit below? What is the gain in dB for the 3rd amplifier?

푉표푢푡 595 Vin = 1V y Vout = 595V 푉푥 = = = 119푉 퐴3 5 X

푉푥 119 A1 = 7 A2 = 17 A3 = 5 푉푦 = = = 7푉 퐴2 17

b. A power amplifier has an output of 10 W and a gain of 36 dB. What is the power into the amplifier, Pin?

푃 10푊 푃 = 표푢푡 = = 2.5푚푊 푖푛 퐴 36 1010

c. What is the overall power gain (both in dB and ratio) of the following multi-stage amplifier? What is the power at the output of the last stage, Pout?

24 Pin = 1nW Pout = 퐺푑퐵,1 = 1010 = 251.19 푃1 = 1푛푊 × 251.19 = 251.19푛푊 6 G = 24dB G = 6dB 퐺푑퐵,2 = 1010 = 3.98 푃표푢푡 = 251.19푛푊 × 3.98 = 1000푛푊 = 1휇푊

4. Introduction to Filters 2 Consider the signal shown below, in the time-domain and in the .

15 10

9 10 8

7 5 6

0 5

4 -5 3

2 -10 1

-15 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 5 10 15 20 25 Freq(Hz)

The time-domain signal looks complicated! But what does the frequency-domain representation tell us about this signal?

There are three sin components at 2 Hz, 15 Hz, and 22Hz.

How can we separate out different frequency components of this signal? We can use filters.

Filters are designed to pass some frequencies and reject others. A filter is a frequency-selective circuit. Today we’ll introduce two types of filters: the low-pass filter and the high-pass filter.

Low-pass (LP) filter. Passes frequencies below a critical High-pass (HP) filter. Passes frequencies above the frequency, called the cutoff frequency (fco), and rejects cutoff frequency but rejects those below. An ideal those above. An ideal frequency response curve for LP frequency response curve for LP filter is shown below. filter is shown below.

Example: Suppose the signal at the top of the page was passed through an ideal low-pass filter with a cut-off frequency of 7 Hz. Write out the time-domain equation for the resulting output signal.

푣(푡) = 10 sin(2휋2푡)

Example: Suppose the signal at the top of the page was passed through an ideal high-pass filter with a cut-off frequency of 7 Hz. Write out the time-domain equation for the resulting output signal.

푣(푡) = 2 sin(2휋15푡) + 1sin ( 2휋22푡)

Real filters. In actuality, we can’t build filters that match the ideal filter response curve, but we can build some effective filters out of basic components such as resistors and capacitors.

Building a filter (we’ll find out which kind later)

Filters are intended to be used on circuits that have time-varying inputs. In our next lab, we’ll be working with the circuit shown below, and the input will be a single sinusoid, i.e. we’re working with an AC circuit. 3 Using the voltage divider equation in terms of impedance (i.e. R and capacitor impedance 푍퐶), we can determine the relationship 푉표푢푡/퐸푆 as follows:

1 1 1 Recall that: Z   = −푗 = −푗푋 C jC j2fC 2휋푓퐶 푐

1 푉표푢푡 푍퐶 푗2휋푓퐶 1 = = = 1 퐸푠 푅 + 푍퐶 푅 + 푗2휋푓푅퐶 + 1 푗2휋푓퐶

푉 For very high frequencies, 표푢푡 ≈ __0______퐸푆  This is a low-pass filter 푉 For very low frequencies, 표푢푡 ≈ __1______퐸푆

Cut-off frequency. An ideal low-pass filter will attenuate all frequencies above the cut-off frequency 푓푐표 . In practical filters, the transition is more gradual (see figure below).

For an RC filter (as shown above), the cut-off

B 5

d

frequency 푓푐표 is the frequency at which the n

i

e 0 impedance of the capacitor is equal to the

tud

i impedance of the resistor, i.e. |푋 | = 푅, i.e.: n -5

푐 g

1 Ma -10 |푋푐| = 푅 or = 푅 2휋푓퐶 -15

-20 The cut-off frequency fco corresponds to the half-power point. -25 푃 표푢푡 = 0.5 or -3dB 푃 -30 푖푛 -35 So, the cut-off frequency for an RC filter (both -40 low-pass and high-pass) is given by: 2 3 4 5 10 10 10 Frequency in Hz 10 푓 푐표 1 푓 = Graph 1 - Plot for Circuit 1 푐표 2휋푅퐶 퐿표푤 푝푎푠푠 푓푖푙푡푒푟 푟푒푠푝표푛푠푒

4