Laboratory of the circuits and signals Laboratory work No. 4 ACTIVE FILTERS Objectives: to get acquainted with active filter circuits and parameters, design methods, build and investigate active LPF, HPF and BPF. Introduction Main Concepts A filter is a circuit that passes certain frequencies easily, and attenuates all other frequencies. An active filter is a circuit that includes an RC filter network followed by an op-amp to provide gain and impedance characteristics. A low-pass filter passes low frequencies from DC up to the cutoff frequency fc. At fc the response is down 3 dB or 0.707 from the response in the band-pass. The passband of a filter is that group of frequencies easily passed. The bandwidth of a low-pass filter is equal to fc. BW = fc A high-pass filter rejects all frequencies below fc, and passes all frequencies above fc. A roll-off rate of -6 dB/octave or –20 dB/decade occurs for a single-chain filter stage. A single chain stage consists of one resistor and one capacitor. A band-pass filter passes all frequencies between an upper and lower fc. All other frequencies above or below these frequencies are attenuated. The bandwidth is found by BW = fc2 – fc1. The center frequency (f0) is the mean of the two cutoff frequencies and is found by The bandwidth of a band-pass filter is BW = f0/Q. A band-stop filter rejects all frequencies between two cutoff frequencies and passes all others. Other popular names for a band-stop filter are notch filter, band-reject filter, and band-elimination filter. Filter Response Characteristics A very common active filter is the Butterworth. A Butterworth filter provides a very flat response in the passband and a roll-off rate of 20 dB/decade. The Butterworth filter does have a phase shift, and for this reason it is not often used in pulse application. Overshoot will occur with pulses applied. Another filter, the Chebyshev, has the characteristic of a very rapid roll-off rate greater than 20 dB/decade/chain. This filter will have ripples in the response within the passband. The Bessel filter is used for filtering pulse waveforms. There is little phase shift, so pulse waveforms are not distorted. The Elliptical (Courer) filter will have ripples in the response in the passband and within passband The cutoff frequency fc of an active filter is determined by the values of R and C.A first-order (single-chain) filter has fc = 1/2 RC. The number of chains determines the roll-off rate. Each chain adds a roll-off rate of 6 dB/octave or 20 dB/decade. Active Low-Pass Filters An active low-pass filter consists of an RC filter network followed by an op-amp amplifier. Low-pass filters can be cascaded to obtain a greater roll-off rate. For example, a two-chains filter followed by another two-chains filter will produce a roll-off rate of 80 dB/decade. Active High-Pass Filters A high-pass active filter follows the same theory as a low-pass filter. The positions of the resistors and capacitors are reversed. High-pass filters can be cascaded in a similar manner to low-pass filter. Active Band-Pass Filters An active band-pass filter can be made using cascaded high-pass and low-pass filters. Another band-pass filter is the multiple-feedback filter. This filter uses a high-pass and a low-pass section providing two feedback paths. A state-variable filter is often used as a band-pass filter. State-variable filters use a summing amplifier and two integrators to provide the band-pass output. Active Band-Stop Filters Band-stop filters can use a state-variable filter or a multiple-feedback filter. The order of the low pass filter is calculated from: n log (10 min / 10 1) /(10 max/ 10 1) 2 log( s / p ) - attenuation is pass-band, in dB; max attenuation is stop-band, in dB; s - stop-band boundary frequency, p pass-band boundary frequency. here min 2nd Order Opamp Filters and their diagrams The figures below illustrate using opamps as active 2nd order filters. Three 2nd order filters are shown, low pass, high pass, and bandpass. Each of these filters will attenuate frequencies outside their passband at a rate of 12dB per octave or 1/4 the voltage amplitude for each octave of frequency increase or decrease outside the passband. First order low or high pass cutoff frequency (-3dB point) 2nd order low or high pass cutoff frequency (-3dB point) = 1/2 (R1*R2*C1*C2)^.5 = 1/(2 *R*C) Linear network Magnitude scaling by scale factor Km: 1. 2. 3. 4. 5. 6. Multiply all resistances and inductances by Km . Divide all capacitances by Km . For rm type controlled source (i.e, CCVS) multiply the parameter rm by Km . For gm type controlled source (i.e, VCCS) divide the parameter gm by Km. Parameters of VCVS and CCCS remain unchanged. Ideal OpAmp remain unchanged. Linear network Frequency scaling by scale factor Kf: 1. 2. 3. Divide all inductances and capacitances by Kf . All resistance values and controlled sources parameters remain unchanged. Ideal opamp remain unchanged. RC common chains, build on 1 resistor and 1 F capacitor, has cutoff frequency C = 1 rad/sec. For the low or high pass filter RC chain it is possible suppose that cutoff frequency C is the same as passband boundary frequency p . Work procedures: 1. Turn on your work place computer, load the Windows OS, find and load EWB program. 2. Data for your investigations are given in the table 1. Table 1. Initial data (Brickwall specification parameters and filter resistance values) No. min ,dB max ,dB 1 2 20 2 3 22 3 2 24 4 3 26 5 2 27 6 3 28 7 2 27 8 3 26 9 2 25 10 3 24 11 2 23 12 3 22 13 2 21 14 3 20 fs1, MHz fp1, MHz fp2, MHz fs2, MHz R, k 1 2 4 8 5 2 4 8 16 6 3 6 12 24 7 4 8 16 32 8 5 10 20 40 9 6 12 24 48 10 1.5 3 5 10 11 2.5 5 10 20 12 3.5 7 14 28 13 4.5 9 18 36 14 5.5 11 22 44 15 6.5 13 30 60 16 7.5 15 25 50 17 8 16 30 60 18 Using initial data from the table 1 and scaling technique find LPF and HPF chains capacitances. Results put into table 2. Table 2 Low pass passive filter fc, MHz R, k C, nF High pass passive filter fc, MHz R, k C, nF 3. Build passive LPF and HPF using single RC chains as shown in the figures 1 and 2 (do not forget change values of circuit components. Voltage source amplitude 1V, frequency – 1 MHz). Measure in Bode plots cutoff frequencies and transient slope (roll-off rate). If measured cutoff frequencies differs from given (see table 1), scale capacitances to obtain necessary cutoff frequency. Results put into the table 3. Grab the screen shots of the build circuits and their Bode plots. Fig. 1. LPF passive RC chain and its magnitude response Fig. 2. HPF passive RC chain and its magnitude response Table 3 fc, MHz Low pass passive filter Roll-off , dB/decade Ccor., nF fc, MHz High pass passive filter Roll-off, dB/decade Ccor., nF 4. Build active LPF and HPF using single RC chains as shown in the figures 3 and 4 (do not forget change values of circuit components. Voltage source amplitude 1V, frequency – 1 MHz, voltage source resistance – 75 , load resistance – 75 . Measure in Bode plots cutoff frequencies and transient slope (roll-off rate). If measured cutoff frequencies differs from given (see table 1), scale capacitances to obtain correct cutoff frequency. Results put into the table 4. Grab the screen shots of the build circuits and their Bode plots. Table 4 fc, MHz Low pass active filter Roll-off, dB/decade Ccor., nF fc, MHz High pass active filter Roll-off, dB/decade Fig. 3. LPF active RC chain and its magnitude response Ccor., nF Fig. 4. HPF active RC chain and its magnitude response 5. Build active fifth order LPF and measure its frequency response (Fig. 5). Results put into table 5. Fig.5. Fifth order LPF active Butterworth filter and its magnitude response Table 5 Low pass active fifth order filter fc, MHz Roll-off, dB/decade 6. Start BPF filter design. At first calculate LPF and HPF necessary order. Initial data take from the table 1. Results put into the table 6. Table 6 Low pass passive filter n calculated n chosen High pass passive filter n calculated n chosen 7. Build BPF as shown in the figure 6. Do not forget, that number of your filters chains may be is different then in shown diagram. Grab the screen shots of the build circuit and its Bode plot. Fig.6. Fourth order active BPF and its magnitude response 8. Sketch by hand brickwall specification of your BPF. If measured cutoff frequencies differs from given (see table 1), scale circuit capacitors and repeat measurements. Final results put into the table 7. Table 7 Low pass transient section fc, MHz Slope, dB/decade Ccor., nF High pass transient section fc, MHz Slope, dB/decade Ccor., nF Work report 1. Work objectives 2. Initial data for investigations (table 2 and capacitance calculation description). 3. LPF and HPF passive single chains investigation (screen shots with EWB circuit diagrams and Bode plots, table 3). 4. LPF and HPF active single chains investigation (screen shots with EWB circuit diagrams and Bode plots, table 4). 5. BPF order calculation (formulas, table 4). 6. BPF investigation (screen shots with EWB circuit diagram and Bode plot, table 4). 7. Conclusions. Literature: Raymond A.DeCarlo/PEN-MIN LIN. Linear circuit analysis. Prentice Hall, Englewood Cliffs, New Jersey. Pp. 600-605, 738-762. Control questions 1. 2. 3. 4. 5. 6. 7. 8. Filters classification. Operational amplifiers connection types (sketch diagrams). Explain, why opamp could be used as buffer. Sketch examples of the first order active LPF and HPF. Active filters advantages in comparison to passive filters. Explain, why RC chains resistances in active filters must be at lest some kilohertz. Butterworth type filters: circuit diagrams and magnitude response. Magnitude and frequency scaling. Solve problem: given LPF passive chain with parameters: L=1mH, C=1 nF, R0 =1000 , fc=40 kHz. Using these parameters as basis build LPF chain with R0 =100 and fc=100 kHz. 9. Explain Brickwall specification and sketch its example for LPF. 10. Explain, what is transient slope (roll-off) and how it depends on filter order. 11. Explain, what is ripples in the filters magnitude response. What kind of active filters suffers from them.