# How to Design a Band-Stop Filter to Reduce Line Noise

You might need to know how to build band-stop filters to reject line noise. In your stereo or entertainment system, you have unique sounds coming from your favorite music or movies. Special audio effects, different voices, and diverse instruments are synthesized to form a wide range of frequencies. You select, reject, or boost the bass, treble, and midrange frequencies by using an equalizer consisting of many different filters.

However, at times, an equalizer may not be able to get rid of unwanted noise.

Suppose the local movie theater just installed a new audio system. Unfortunately, an annoying 60-hertz hum is getting through to the speaker system. Without degrading voice quality, you can implement a band-stop filter (or band-reject filter) to get rid of the 60-hertz signal.

The following transfer function, which relates the output and input signals, gives you the band-stop filter:

*T*(*s*) is centered at 60 hertz, with a lower cutoff frequency of 40 hertz and an upper cutoff frequency of 80 hertz, rejecting frequencies between 40 and 80 hertz before they go to the speaker system.

To realize *T*(*s*), design a filter using resistors, capacitors, and an operational amplifier to get rid of the 60-hertz signal. Follow these steps:

Break down

*T*(*s*) into simpler, recognizable transfer functions.The given transfer function is already written as the sum of two simpler transfer functions, so you can identify the low-pass filter

*T*(_{LPF}*s*) and the high-pass filter*T*(_{HPF}*s*) as follows:*T*(_{LPF}*s*) passes signals below 40 hertz and rejects frequencies above 40 hertz, and*T*(_{HPF}*s*) passes signals above 80 hertz and rejects frequencies below 80 hertz. The filter outputs are summed, rejecting frequencies between 40 hertz and 80 hertz while passing signals outside this frequency range.Design the low-pass filter

*T*(_{LPF}*s*).Start by rewriting

*T*(_{LPF}*s*) using impedances of resistors and capacitors described in the Laplace domain:The impedance for a capacitor is

*Z*_{2}(*s*) = 1/(*sC*) = 1/_{1}*s*with*C*_{1}= 1 F, and the impedance for a resistor is*Z*_{1}(*s*) =*R*_{1}= 1/(2p ∙40) W (note that a resistor isn’t frequency dependent — the resistor associates with a constant value).The equation has the form of a divider equation, which describes the relationship between the desired output variable and input signal as a ratio of the output impedance to the total impedance of a circuit.

These values of capacitance and resistance are impractical in real life, so you need to scale these values so they’re more realistic. Go ahead and scale them by multiplying the numerator and denominator of

*T*(_{LPF}*s*) by a number*k*= 10^{6}:These new values of capacitance and resistance are more realistic. The figure shows the final values of the low-pass design, where now

*C*_{1}=*C*_{1new}and*R*_{1}=*R*_{1new}. In general, you have the new scaled values given as*C*_{1new}=*C*/_{old}*k*and*R*_{new}*kR*._{old}Design the high-pass filter

*T*(_{HPF}*s*).Rewriting

*T*_{H}(_{PF}*s*) to show the impedances of resistors and capacitors produces the following equations, where*C*_{2}= 1 F (before scaling) and*R*_{2}= 1/(2p ∙ 80) Ω (before scaling):Multiply

*T*(_{HPF}*s*) as follows to scale the resistance and capacitance values:The figure shows the final values of the high-pass design, where now

*C*_{2}*=**C*_{2new}and*R*_{2}=*R*_{2new}.Finalize the design of the band-stop filter.

You add up the filter outputs to obtain the band-stop filter by using an inverting summing operational amplifier (op amp). With high-value resistors of 100 kW, you prevent loading effects of the high-pass and low-pass filters. You can see what the final circuit looks like in the following figure.

Note that high values of resistors in an op-amp circuit reduce the accuracy of an ideal op-amp model. However, lower resistor values may involve undesired loading effects. You may need to add op-amp voltage followers to reduce these loading effects. The additional voltage followers increase the complexity and cost of the circuit.