ENTC 3320 Active Filters Filters l A filter

  • Slides: 60
Download presentation
ENTC 3320 Active Filters

ENTC 3320 Active Filters

Filters l A filter is a system that processes a signal in some desired

Filters l A filter is a system that processes a signal in some desired fashion. • A continuous-time signal or continuous signal of • x(t) is a function of the continuous variable t. A continuous-time signal is often called an analog signal. A discrete-time signal or discrete signal x(k. T) is defined only at discrete instances t=k. T, where k is an integer and T is the uniform spacing or period between samples

Types of Filters l l There are two broad categories of filters: • •

Types of Filters l l There are two broad categories of filters: • • An analog filter processes continuous-time signals A digital filter processes discrete-time signals. The analog or digital filters can be subdivided into four categories: • • Lowpass Filters Highpass Filters Bandstop Filters Bandpass Filters

Analog Filter Responses H(f) 0 H(f) fc Ideal “brick wall” filter f 0 fc

Analog Filter Responses H(f) 0 H(f) fc Ideal “brick wall” filter f 0 fc Practical filter f

Ideal Filters Lowpass Filter Highpass Filter M(w) Passband Stopband wc w Passband wc Bandstop

Ideal Filters Lowpass Filter Highpass Filter M(w) Passband Stopband wc w Passband wc Bandstop Filter w Bandpass Filter M(w) Passband wc Stopband 1 Passband wc 2 Stopband w wc Passband 1 wc Stopband 2 w

l There a number of ways to build filters and of these passive and

l There a number of ways to build filters and of these passive and active filters are the most commonly used in voice and data communications.

Passive filters l l Passive filters use resistors, capacitors, and inductors (RLC networks). To

Passive filters l l Passive filters use resistors, capacitors, and inductors (RLC networks). To minimize distortion in the filter characteristic, it is desirable to use inductors with high quality factors (remember the model of a practical inductor includes a series resistance), however these are difficult to implement at frequencies below 1 k. Hz. • • They are particularly non-ideal (lossy) They are bulky and expensive

l Active filters overcome these drawbacks and are realized using resistors, capacitors, and active

l Active filters overcome these drawbacks and are realized using resistors, capacitors, and active devices (usually op-amps) which can all be integrated: • Active filters replace inductors using op-amp based equivalent circuits.

Op Amp Advantages l Advantages of active RC filters include: • • reduced size

Op Amp Advantages l Advantages of active RC filters include: • • reduced size and weight, and therefore parasitics increased reliability and improved performance simpler design than for passive filters and can realize a wider range of functions as well as providing voltage gain in large quantities, the cost of an IC is less than its passive counterpart

Op Amp Disadvantages l Active RC filters also have some disadvantages: • • l

Op Amp Disadvantages l Active RC filters also have some disadvantages: • • l limited bandwidth of active devices limits the highest attainable pole frequency and therefore applications above 100 k. Hz (passive RLCfilters can be used up to 500 MHz) the achievable quality factor is also limited require power supplies (unlike passive filters) increased sensitivity to variations in circuit parameters caused by environmental changes compared to passive filters For many applications, particularly in voice and data communications, the economic and performance advantages of active RC filters far outweigh their disadvantages.

Bode Plots l Bode plots are important when considering the frequency response characteristics of

Bode Plots l Bode plots are important when considering the frequency response characteristics of amplifiers. They plot the magnitude or phase of a transfer function in d. B versus frequency.

The decibel (d. B) Two levels of power can be compared using a unit

The decibel (d. B) Two levels of power can be compared using a unit of measure called the bel. The decibel is defined as: 1 bel = 10 decibels (d. B)

A common d. B term is the half power point which is the d.

A common d. B term is the half power point which is the d. B value when the P 2 is onehalf P 1.

Logarithms l l A logarithm is a linear transformation used to simplify mathematical and

Logarithms l l A logarithm is a linear transformation used to simplify mathematical and graphical operations. A logarithm is a one-to-one correspondence.

Any number (N) can be represented as a base number (b) raised to a

Any number (N) can be represented as a base number (b) raised to a power (x). The value power (x) can be determined by taking the logarithm of the number (N) to base (b).

l l Although there is no limitation on the numerical value of the base,

l l Although there is no limitation on the numerical value of the base, calculators are designed to handle either base 10 (the common logarithm) or base e (the natural logarithm). Any base can be found in terms of the common logarithm by:

Properties of Logarithms l l l The common or natural logarithm of the number

Properties of Logarithms l l l The common or natural logarithm of the number 1 is 0. The log of any number less than 1 is a negative number. The log of the product of two numbers is the sum of the logs of the numbers. l l The log of the quotient of two numbers is the log of the numerator minus the denominator. The log a number taken to a power is equal to the product of the power and the log of the number.

Poles & Zeros of the transfer function l l pole—value of s where the

Poles & Zeros of the transfer function l l pole—value of s where the denominator goes to zero—value of s where the numerator goes to zero.

Single-Pole Passive Filter R vin l l l C vout First order low pass

Single-Pole Passive Filter R vin l l l C vout First order low pass filter Cut-off frequency = 1/RC rad/s Problem : Any load (or source) impedance will change frequency response.

Single-Pole Active Filter R vin l l l C vout Same frequency response as

Single-Pole Active Filter R vin l l l C vout Same frequency response as passive filter. Buffer amplifier does not load RC network. Output impedance is now zero.

Low-Pass and High-Pass Designs High Pass Low Pass

Low-Pass and High-Pass Designs High Pass Low Pass

To understand Bode plots, you need to use Laplace transforms! R The transfer function

To understand Bode plots, you need to use Laplace transforms! R The transfer function Vin(s) of the circuit is:

Break Frequencies Replace s with jw in the transfer function: where fc is called

Break Frequencies Replace s with jw in the transfer function: where fc is called the break frequency, or corner frequency, and is given by:

Corner Frequency l l l The significance of the break frequency is that it

Corner Frequency l l l The significance of the break frequency is that it represents the frequency where Av(f) = 0. 707 -45. This is where the output of the transfer function has an amplitude 3 -d. B below the input amplitude, and the output phase is shifted by -45 relative to the input. Therefore, fc is also known as the 3 -d. B frequency or the corner frequency.

Bode plots use a logarithmic scale for frequency. One decade 10 20 30 40

Bode plots use a logarithmic scale for frequency. One decade 10 20 30 40 50 60 70 80 90 100 200 where a decade is defined as a range of frequencies where the highest and lowest frequencies differ by a factor of 10.

l Consider the magnitude of the transfer function: Expressed in d. B, the expression

l Consider the magnitude of the transfer function: Expressed in d. B, the expression is

l Look how the previous expression changes with frequency: • at low frequencies f<<

l Look how the previous expression changes with frequency: • at low frequencies f<< fb, |Av|d. B = 0 d. B • low frequency asymptote • at high frequencies f>>fb, |Av(f)|d. B = -20 log f/ fb • high frequency asymptote

Note that the two asymptotes intersect at fb where Low frequency asymptote |Av(fb )|d.

Note that the two asymptotes intersect at fb where Low frequency asymptote |Av(fb )|d. B = -20 log f/ fb 3 d. B Actual response curve High frequency asymptote

l l The technique for approximating a filter function based on Bode plots is

l l The technique for approximating a filter function based on Bode plots is useful for low order, simple filter designs More complex filter characteristics are more easily approximated by using some well-described rational functions, the roots of which have already been tabulated and are well-known.

Real Filters l The approximations to the ideal filter are the: • Butterworth filter

Real Filters l The approximations to the ideal filter are the: • Butterworth filter • Chebyshev filter • Cauer (Elliptic) filter • Bessel filter

Standard Transfer Functions l l Butterworth • • Flat Pass-band. 20 n d. B

Standard Transfer Functions l l Butterworth • • Flat Pass-band. 20 n d. B per decade roll-off. Chebyshev • • Pass-band ripple. Sharper cut-off than Butterworth. Elliptic • • Pass-band stop-band ripple. Even sharper cut-off. Bessel • Linear phase response – i. e. no signal distortion in pass-band.

Butterworth Filter The Butterworth filter magnitude is defined by: where n is the order

Butterworth Filter The Butterworth filter magnitude is defined by: where n is the order of the filter.

From the previous slide: for all values of n For large w:

From the previous slide: for all values of n For large w:

And implying the M(w) falls off at 20 n db/decade for large values of

And implying the M(w) falls off at 20 n db/decade for large values of w.

20 db/decade 40 db/decade 60 db/decade

20 db/decade 40 db/decade 60 db/decade

To obtain the transfer function H(s) from the magnitude response, note that

To obtain the transfer function H(s) from the magnitude response, note that

Because s = jw for the frequency response, we have s 2 = -

Because s = jw for the frequency response, we have s 2 = - w 2. The poles of this function are given by the roots of

The 2 n pole are: sk = e j[(2 k-1)/2 n]p n even, k

The 2 n pole are: sk = e j[(2 k-1)/2 n]p n even, k = 1, 2, . . . , 2 n e j(k/n)p n odd, k = 0, 1, 2, . . . , 2 n-1 Note that for any n, the poles of the normalized Butterworth filter lie on the unit circle in the s-plane. The left half-plane poles are identified with H(s). The poles associated with H(-s) are mirror images.

Recall from complex numbers that the rectangular form of a complex can be represented

Recall from complex numbers that the rectangular form of a complex can be represented as: Recalling that the previous equation is a phasor, we can represent the previous equation in polar form: where

Definition: If z = x + jy, we define e z = e x+

Definition: If z = x + jy, we define e z = e x+ jy to be the complex number Note: When z = 0 + jy, we have which we can represent by symbol:

The following equation is known as Euler’s law. Note that

The following equation is known as Euler’s law. Note that

This implies that This leads to two axioms: and

This implies that This leads to two axioms: and

l Observe that e jq represents a unit vector which makes an angle q

l Observe that e jq represents a unit vector which makes an angle q with the positivie x axis.

Find the transfer function that corresponds to a third-order (n = 3) Butterworth filter.

Find the transfer function that corresponds to a third-order (n = 3) Butterworth filter. Solution: From the previous discussion: sk = e jkp/3, k=0, 1, 2, 3, 4, 5

Therefore,

Therefore,

The roots are:

The roots are:

Using the left half-plane poles for H(s), we get which can be expanded to:

Using the left half-plane poles for H(s), we get which can be expanded to:

l The factored form of the normalized Butterworth polynomials for various order n are

l The factored form of the normalized Butterworth polynomials for various order n are tabulated in filter design tables.

n Denominator of H(s) for Butterworth Filter 1 s+1 2 s 2 + 1.

n Denominator of H(s) for Butterworth Filter 1 s+1 2 s 2 + 1. 414 s + 1 3 (s 2 + s + 1)(s + 1) 4 (s 2 + 0. 765 + 1)(s 2 + 1. 848 s + 1) 5 (s + 1) (s 2 + 0. 618 s + 1)(s 2 + 1. 618 s + 1) 6 (s 2 + 0. 517 s + 1)(s 2 + 1. 414 s + 1 )(s 2 + 1. 932 s + 1) 7 (s + 1)(s 2 + 0. 445 s + 1)(s 2 + 1. 247 s + 1 )(s 2 + 1. 802 s + 1) 8 (s 2 + 0. 390 s + 1)(s 2 + 1. 111 s + 1 )(s 2 + 1. 663 s + 1 )(s 2 + 1. 962 s + 1)

Frequency Transformations

Frequency Transformations

So far we have looked at the Butterworth filter with a normalized cutoff frequency

So far we have looked at the Butterworth filter with a normalized cutoff frequency By means of a frequency transformation, we can obtain a lowpass, bandstop, or highpass filter with specific cutoff frequencies.

Lowpass with Cutoff Frequency wu l Transformation:

Lowpass with Cutoff Frequency wu l Transformation:

Highpass with Cutoff Frequency wl l Transformation:

Highpass with Cutoff Frequency wl l Transformation:

Bandpass with Cutoff Frequencies wl and wu l Transformation: where

Bandpass with Cutoff Frequencies wl and wu l Transformation: where

Bandstop with Cutoff Frequencies wl and wu l Transformation:

Bandstop with Cutoff Frequencies wl and wu l Transformation: