Saturday, June 17, 2017

Basic Electronics on the Go - Active Low Pass Filter

Introduction

Low Pass filter is a filter which passes all frequencies from DC to upper cut-off frequency fH and rejects any signals above this frequency.
In ideal case, the frequency response curve drops at the cut-off frequency. Practically the signal will not drop suddenly but drops gradually from transition region to the stop band region.
Cut-off frequency means the point where the response drops -3 dB or 70.7% from the pass band. Transition region means the area where falloff occurs.
Stop band region means the area where the attenuation occurs mostly to the input signals. So this filter is also called  high-cut filter or treble cut filter. The ideal response is shown below

Rather than the passive components the Active Low Pass Filter is formed by active components like Op-Amps, FETs and transistors. These filters are very effective when compared with the passive filters. Active filters are introduced to overcome the defects of passive filters.

A simple active low pass filter is formed by using an op-amp. The operational amplifier will take the high impedance signal as input and gives a low impedance signal as output. The amplifier component in this filter circuit will increase the output signal amplitude.

By this action of the amplifier the output signal will become wider or narrower. The maximum frequency response of the filter depends on the amplifier used in the circuit design.


Active low pass filter circuit


The attenuation of the signal, that is the amplitude of the output signal is less than amplitude of the input signal in a passive circuit. In order to overcome this disadvantage of the passive filter, the active filter is designed. A Passive filter connected to the inverting or non-inverting op-amp gives us a simple active low pass filter.

First order active filter is formed by a single op-amp with RC circuit. A simple RC Passive Filter connected to the non-inverting terminal of an operational amplifier is shown below


This first-order low pass active filter, consists simply of a passive RC filter stage providing a low frequency path to the input of a non-inverting operational amplifier. The amplifier is configured as a voltage-follower (Buffer) giving it a DC gain of one, Av = +1 or unity gain as opposed to the previous passive RC filter which has a DC gain of less than unity.

The advantage of this configuration is that the op-amps high input impedance prevents excessive loading on the filters output while its low output impedance prevents the filters cut-off frequency point from being affected by changes in the impedance of the load.

While this configuration provides good stability to the filter, its main disadvantage is that it has no voltage gain above one. However, although the voltage gain is unity the power gain is very high as its output impedance is much lower than its input impedance. If a voltage gain greater than one is required we can use the following filter circuit.



Active low pass filter with high voltage gain



When the input signals are at low frequencies the signals will pass through the amplifying circuit directly, but if the input frequency is high the signals are passed through the capacitor C1. By this filter circuit the output signal amplitude is increased by the pass band gain of the filter.


We know that, for non-inverting amplifier circuit the magnitude of the voltage gain is obtained by its feedback resistor  R2 divided by its corresponding input resistor R3.
This is given as follows

Magnitude of the voltage Gain= {1 + (R2/R3)}



Active low pass filter voltage gain

We know that the gain can be obtained by the frequency components and this is given as follows
Voltage gain = V_out⁄V_in = A_max⁄ √(1+〖f/f_c 〗^2 )
Where
  • Amax = Gain of the pass band = 1 + R_2⁄R_3
  • f = operational frequency.
  • fc = Cut-off frequency.
  • Vout = Output voltage.
  • Vin= Input voltage.
When the frequency increases, then the gain decreases by 20 dB for every 10 time increment of frequency. This operation is observed  below
At low frequencies that is when operating frequency f is less than cut-off frequency, then

Vout / Vin = Amax





When operating frequency is equal to the cut off frequency, then
Vout / Vin = Amax / √2 = 0.707 Amax
When the operating frequency is less than the cut off frequency, then
Vout / Vin < Amax

By these equations we can say that at low frequencies the circuit gain is equal to maximum gain and at high frequencies the circuit gain is less than maximum gain Amax.

By these equations we can say that at low frequencies the circuit gain is equal to maximum gain and at high frequencies the circuit gain is less than maximum gain Amax.
When actual frequency is equal to the cut-off frequency, then the gain is equal to the 70.7% of the Amax. By this we can say that for every tenfold (decade) increase of frequency the gain of the voltage is divided by 10.
Magnitude of the Voltage Gain (dB):  Amax = 20 log10 (Vout / Vin)
At -3 dB frequency the gain is given as:
3 dB Amax = 20 log10 {0.707 (Vout / Vin)}



Frequency Response


The response of the active filter is as shown in below figure


Second Order Active Low Pass Filter




Just by adding an additional RC circuit to the first order low pass filter the circuit behaves as a second order filter.The second order filter circuit is shown above.

The gain of the above circuit is  Amax = 1 + (R2/R1)
The cut-off frequency of second order low pass filter is fc = 1 / 2π√(C1C2R3R4)
The frequency response and the designing steps of the second order filter and the first order filter are almost same except the roll off of the stop band. The roll off value of the second order filter is double to that of first order filter that is 40dB/decade or 12dB/octave.


Applications Of Active Low Pass Filters

In electronics these filters are widely used in many applications. These filters are used as hiss filters in audio speakers to reduce the high frequency hiss produced in the system and these are used as inputs for sub woofers.
These are also used in equalisers and audio amplifiers. In analog to digital conversion these are used as anti-aliasing filters to control signals. In digital filters these are used in blurring of images, smoothing sets of data signals. In radio transmitters to block harmonic emissions.

In acoustics these filters are used to filter the high frequency signals from the transmitting sound which will cause echo at higher sound frequencies.


Monday, June 5, 2017

Basic Electronics on the Go - Band Stop Filter

http://www.electronicshub.org/band-stop-filter/


Introduction

The band stop filter is formed by the combination of low pass and high pass filters with a parallel connection instead of cascading connection. The name itself indicates that it will stop a particular band of frequencies. Since it eliminates frequencies, it is also called band elimination filter or band reject filter or notch filter.

We know that unlike high pass and low pass filters, band pass and band stop filters have two cut-off frequencies. It will pass above and below a particular range of frequencies whose cut off frequencies are predetermined depending upon the value of the components used in the circuit design.

Any frequencies in between these two cut-off frequencies are attenuated. It has two pass bands and one stop band. The ideal characteristics of the Band pass filter are as shown below

Where fL indicates the cut off frequency of the low pass filter.
fis the cut off frequency of the high pass filter.
The centre frequencies fc = √( fL x fH)
The characteristics of a band stop filter are exactly opposite of the band pass filter characteristics.
When the input signal is supplied, the low frequencies are passed through the low pass filter in the band stop circuit and the high frequencies are passed through the high pass filter in the circuit. This is shown in the   block diagram below.

In practice, due to the capacitor switching mechanism in the high pass and low pass filter the output characteristics are not same as that of  the ideal filter. The pass band gain must be equal for the low pass filter and high pass filter. The frequency response of band stop filter is shown below and red line indicates the practical response in the  figure below


Band Stop Filter circuit using R, L and C

A simple band stop filter circuit with passive components is shown below


The output is taken across the inductor and capacitor which are connected in series. We know that for different frequencies in the input the circuit behaves either as an open or short circuit. At low frequencies the capacitor acts as an open circuit and the inductor acts like a short circuit. At high frequencies the inductor acts like an open circuit and the capacitor acts like a short circuit.

Thus, by this we can say that at low and high frequencies the circuit acts like an open circuit because inductor and capacitor are connected in series. By this it is also clear that at mid frequencies the circuit acts like a short circuit. Thus the mid frequencies signals are not allowed to pass through the circuit.

The mid frequency range to which the filter acts as a short circuit depends on the values of lower and upper cut-off frequencies. This lower and upper cut-off frequency values depends on the component values. These component values are determined by the transfer functions for the circuit according to the design. The transfer function is nothing but the ratio of the output to the input.

Where angular frequency ω = 2πf



Notch filter (Narrow band stop filter)





The above circuit shows the Twin ‘T’ network. This circuit gives us a notch filter. A notch filter is nothing but a narrow Band stop filter. The characteristic shape of the band stop response makes the filter  a notch filter. This notch filter is applied to eliminate the single frequency. Since it consists of two ‘T’ shaped networks, it is referred to as a Twin T network. The maximum elimination  occurs at the centre frequency  fC = 1/(2πRC).

In order to eliminate the specific value of the frequency in the case of a notch filter, the capacitor chosen in the circuit design must be less than or equal to the 1 µF. By using the centre frequency equation,we can calculate the value of the resistor. By using this notch circuit,we can eliminate single frequency at 50 or 60 Hz.

The second order notch filter with active component op-amp in non-inverting configuration is given as follows


The gain can be calculated as



Where Quality factor Q = 1/ 2 x (2 – Amax)
If the value of the quality factor is high, then the width of the notch filter is narrow.

Frequency Response of the Band Stop Filter

By taking the frequency and gain, the frequency response of the stop band is obtained as shown below

The bandwidth is taken across the lower and higher cut-off frequencies. According to ideal filter the pass band must have the gain as Amax and a stop band must have zero gain. In practice, there will be some transition region. We can measure the pass band ripple and stop band ripples as follows
Pass Band Ripple = – 20 log10(1-δp) dB
Stop Band Ripple = – 20 log10(δs) dB

Where
δp = Magnitude response of the pass band filter.
δs= Magnitude response of the stop band filter.
The typical stop bandwidth of the band stop filter is 1 to 2 decades. The highest frequency eliminated is 10 to 100 times the lowest frequencies eliminated.


Ideal response of the notch filter



Band stop filter summary

Band Stop filter has two pass bands and one stop band. The characteristics of this filter are exactly opposite to the Band Pass Filter. It is also called Band rejection filter or Band elimination filter. It uses a high pass filter and a low pass filter connected in parallel. 
The Band Stop filter with narrow band stop features is called  a notch filter. It is used to eliminate the single frequency value. It is formed by two resistors and two capacitors connected in two ‘T’ shaped networks.

So, it is referred to  as a Twin ‘T’ filter. The bandwidth of the filter is nothing but the stop band of the filter. If the quality factor Q is high, the more  narrow is the width of the notch response. These are widely preferred in communication circuits.


Applications of the Band Stop filter

In different technologies, these filters are used at different varieties.

  • In telephone technology, these filters are used as  telephone line noise reducers  in DSL internet services. It will help to remove the interference on the line which  reduce the DSL performance.
  • These are widely used in the electric guitar amplifiers. Actually,this electric guitar produces a ‘hum’ at 60 Hz frequency. This filter is used to reduce that hum in order to amplify the signal produced by the guitar amplifier. These are also used in some of the acoustic applications like mandolin, base instrument amplifiers.
  • In communication electronics the signal is distorted due to some noise (harmonics) which makes the original signal to interfere with other signals. This leads to errors in the output. Thus, these filters are used to eliminate these unwanted harmonics.
  • These are used to reduce the static on radio, which is commonly used in our daily life.
  • These are also used in Optical communication technologies, at the end of the optical fiber there may be some interfering (spurious) frequencies of light which makes the distortions in the light beam. These distortions are eliminated by band stop filters. The best example is in Raman spectroscopy.
  • In image and signal processing these filters are highly preferred to reject noise.
  • These are used in high quality audio applications like PA systems (Public address systems).
  • These are also used in medical field applications,i.e., in biomedical instruments like EGC for removing line noise.