SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
Bharathwaj Muthuswamy EE100
mbharat@cory.eecs.berkeley.edu
Active Filters
1. Introduction
In this chapter, we will deal with active filter circuits. Why even bother with active
filters? Answer: Audio. Most (99%) of audio devices have filters in them. They allow
you to separate out different frequency regimes. Your project this semester is to design
an audio amplifier. This chapter is organized as follows:
2. A Review of Complex Numbers and Introduction to Frequency Response: In this
section, I talk about why complex numbers, the standard form of a complex number,
Euler's forumla, the impedence of a resistor, capacitor etc.
3. An Overview of Filter Circuits: I discuss terms like active filters, passive filters,
low-pass, high-pass, band-pass and band-reject filters.
4. A Passive Filter Circuit - The RC low-pass filter: I will derive in detail the
expression for the frequency response of an RC circuit and show how it can be used as a
low pass filter.
5. An Active Filter Circuit - The Op-amp band-pass filter circuit: I will derive in
detail the expression for the frequency response of this circuit and show how it can be
used to construct a band-pass filter.
2. A Review of Complex Numbers and Introduction to Frequency Response
So far you have been mainly dealing with DC analysis – Direct Current analysis. That is,
you did not take into effect the consequences of voltage signals that are varying in time.
These consequences are reflected in the so called impedence relationship on frequency:
every circuit element – resistor, capacitor and inductor – has an impedence dependent on
frequency. We will quantify this relationship later. For now, think about an impedence
as a “frequency dependent resistance”.
Take the capacitor – you know that at DC a capacitor can be modelled as an open circuit.
We can prove this once we know how the impedence of a capacitor varies as a function
of frequency , namely Z   ¡ 1
j   C
where Z is the impedence of the capacitor
(ohms), ¢ the angular frequency (radians/sec) and C the capacitance. Note that “j” is
used in electrical engineering instead of “i” to denote £ 1 because “i” is reserved for
current. Now, we know that for DC ¢ = 0, therefore Z ¤¦¥ . Before we derive
the expression for Z above, let us review complex numbers.
i. A Review of Complex Numbers
A complex number is an ordered pair (a,b) that is represented in the form:
z § a
¨ j © b (1)
where a and b are real numbers and j is defined to be  1 . The real part of the
complex number is a and the imaginary part is defined to be j © b . Complex numbers
conveniently help us model amplitude and phase changes in sinusoidal signals. To see
why, consider how we graphically represent a complex number:
Figure 1. The Complex Plane
The x-axis is the real axis where you plot the real part of the complex number and on the
y-axis you plot the imaginary part. We obviously get a vector in the complex plane – this
vector has a magnitude and an angle that is defined by:
z  a
2  b
2
(2)
 z  arctan
b
a
(3)
But how the heck do we relate this magnitude and angle to the magintude and phase of a
sinusoid respectively? Euler's formula is the missing link1
:
e
j  cos   jsin  (4)
Proving this formula is easy – use power series expansions for e, cos and sin. The
magintude of the complex number above is:
e
j ! cos  # jsin  ! cos  2
# sin  2 ! 1 (5)
and the phase is:
$ e
j %' arctan
sin (
cos (
 ( (6)
Thus, a time-varying sinusoid with a magnitude A and phase angle ) can be
represented by: A e
j 0 t 132 2
.
Hence, instead of sending a sinusoidal current or voltage through our circuit, we can pass
a complex exponential signal to the circuit and see the response. Let us see how using a
complex exponential simplifies our circuit analysis.
ii. An Introduction to Frequency Response
Let us examine what happens to the output voltage or current when we pass a complex
exponential signal3
as the input to our three elements: the resistor, capacitor and inductor.
Case i: Resistor:
1 Notice this link explains why we need complex numbers – a vector in the real (as opposed to complex)
xy plane also has a magnitude and angle. However, it is very difficult to relate this to a sinusoid.
2 This is not completely accurate: a sinusoid is the complex part of the complex exponential. However,
getting into these mathematical details only leads to more confusion, doesn't give us more insight.
3 Please note: a complex exponential is just one way of representing a sinusoidal signal. The reason
we use a complex exponential is because it simplifies the mathematics. In reality, it does not make
sense to talk about an “imaginary voltage signal”.
Suppose V = V e
j 4 t 576 volts, then by Ohm's law:
I =
V
R
(7)
In other words, the impedence of a resistor is:
ZR( 8 ) = R ohms. (8)
This makes sense – the impedence of a resistor is independent of frequency! Z( 9 )
will be used to denote impedence – the subscripts R, C or L denote the element.
Another very important note about notation: since we are working with frequency
dependent signals, we represent them in uppercase boldface: V represents V
sin @ t A7B volts, where the magnitude is V volts and phase angle is C . V is also
called a phasor and the notation is called phasor notation.
Case ii: Capacitor:
Let us apply an input voltage to our capacitor of the form: V = V e
j D t EGF volts. In
the time domain:
i t H C
dv
dt
I Ce j P t QSR jTVU jW C v t (9)
In phasor notation:
V
I
X 1
j Y C
ohms (10)
Notice we have defined an impedence of the capacitor. Now you should be able to see
why a capacitor is open circuit for DC.
Case iii: Inductor: It should be easy to prove that ZL( ` ) = j a L ohms.
We can see that using a complex exponential allows us to concisely model the impedence
of the common circuit elements. This simplifies our circuit analysis, because we can just
analyze the impedence network instead of dealing with the differential equation.
Consider the RC circuit below and suppose we want to find Vo for a given sinusoidal Vi.
Figure 2. The standard RC circuit
In the RC circuit above, let us first convert the components to their impedences and the
voltages to the phasor notation:
Figure 3. The RC circuit in the frequency domain
Since we are just dealing with resistances, we can simply use a voltage divider to find Vo :
V o b
1
j c C
1
j d C
e R
V i
(11)
Simplifying the expression above:
H j f g V o
V i
h 1
1 i j p R C
(12)
Notice the final answer has both a magnitude and phase component dependent on
frequency. We denote this special function – the frequency response of the circuit. It is
defined as the ratio of the output phasor to the input phasor. In our case it is the ratio of
the output phasor voltage to the input phasor voltage.
The frequency response is very helpful since it helps us calculate the output signal, given
an input signal with a specific frequency. Suppose: Vi = 5sin(2000t +
q
4
) volts. Let
R = 1k ohm, C = 1uF. Thus:
H j r s 1
1 t j u 1k 1 v
w 1
1 x j y 0.001
€ 1
1  j
‚
1000
(13)
The last form is useful because it lets us quickly plugin a value for ƒ to calculate the
frequency response. Here „ = 2000 radians/sec:
H j 2000 … 1
1 † j
2000
1000
‡ 1
1 ˆ j 2 (14)
Hence the magnitude of the frequency response is:
H j2000 ‰ 1
1  j2
‘ 1
1 ’ j2
“ 1
1
2 ” 2
2 • 0.447 (15)
Here I used the division property for the magnitude of two complex numbers z1 and z2:
z1
z2
– z1
z2
(16)
The phase is:
— H j2000 ˜d™ 1 edf 1 g j
2000
1000
hdi 63degrees
(17)
Here I used the division property for the phase angle of two complex numbers z1 and z2:
j z1
z2
kml z1 ndo z2 (18)
Note that sine is 2 p periodic, an angle of 360 + -63 = 296 degrees is also correct.
But how does this help us calculate the output? Again, complex numbers come to our
rescue:
H j q r V o
V i
(19)
= V o s H j t V i (20)
= V o u H j2000 5 e
j 2000 t vxw4 (21)
= V o y 0.447 e
j 296
5 e
j 2000 t z|{4 (22)
Thus, the magnitude of the output is just the magnitude of the input times the magnitude
of the frequency response at the input frequency. The phase of the output is the sum of
the phase of the input and the phase of the frequency response. Also notice, the
frequency of the output is the same as the input. Therefore, vo (t) is:
vo(t) = 2.23sin(2000t + 233 degrees) volts (23)
So, how is this circuit useful? Notice how the amplitude of the output decreased – the
circuit is acting as a filter. Before we go on, a note about frequency: please remember
that we can talk about either radians/second or hertz, the relationship between the two is:
}~ 2 € f (24)
3. An Overview of Filter Circuits
A filter circuit (as the name suggests) filters stuff. In our case, the circuit allows
sinusoids of a certain frequency to appear at the output, it attenuates sinusoids at other
frequencies – that is, the circuit does not allow them to appear at the output. We will see
how in the next section. The main types of filter circuits are:
i. Low-pass filter: This circuit allows frequencies below a specific frequency to pass
through. Higher frequencies are attenuated. The RC circuit considered above is a low
pass filter circuit – we will see how in the next section.
ii. High-pass filter: Allows frequencies above a specific frequency to pass through.
Lower frequencies are attenuated.
iii.Band-pass filter: Frequencies in a specific range (or band), example: [1 kHz, 1 MHz]
pass through. Frequencies above 1 MHz and below 1kHz are attenuated.
iv. Band-reject filter: Frequencies in a specific range (or band), example: [1kHz, 1MHz]
are attenuated. Frequencies above 1 MHz and below 1 kHz are allowed to pass
through.
Filter circuits can also be classified as passive or active. Passive circuits contain only
impedences – they are not capable of amplifying the output signal. Active circuits
contain an amplifier (like an op-amp) as well. Hence, the RC circuit is an example of a
passive filter circuit. We examine more details of this circuit next.
4. A Passive Filter Circuit - The RC low-pass filter
Let us go back to the RC circuit and figure out what happens as  changes:
Figure 4. The RC circuit in the frequency domain and the model as ‚ = 0 and ƒ „†…
You can see that if ‡ = 0 rad/sec, the capacitor acts as an open circuit and hence Vo =
Vi. However as ˆ ‰¦Š , the capacitor acts as a short circuit and Vo = 0 volts.
Therefore the circuit is acting as a low-pass filter: it attenuates higher frequencies.
The frequency of interest turns out to be 1/RC. You may have guessed this from the
expression for H(jw) from section 2. A more detailed explanation of the characteristics
of the frequency response is beyond the scope of this class. It is sufficient for you to
learn how to derive the frequency response from impedences and determine the kind of
filter you have: low-pass, high-pass, band-pass or band-reject; active or passive.
5. An Active Filter Circuit - The Op-amp band-pass filter circuit
Let us analyze the circuit below:
Figure 5. The op-amp bandpass filter
The frequency response for the circuit above is:
H j ‹ Œ
 j Ž R2C1
1  j  R1C1 1 ‘ j ’ R2C2
(25)
It will be a good exercise for you to derive the relationship above. Use ideal op-amp
assumptions (i.e..ignore the rails). But, it is more important to qualitatively understand
how this circuit works. This will be indispensible for your project.
At very low frequencies, both the capacitors are open-circuits (remember: a capacitor is
open circuit to DC since the impedence of a capacitor goes to infinity as “ goes to
zero). Redrawing figure 5 as ” goes to zero and the capacitors open, we get figure 6.
Figure 6. The op-amp bandpass filter at DC.
Notice Vo is zero. The reason is Vo = Vn (the voltage at the inverting terminal) since no
current flows through R2. Now, Vn = Vp = 0 V. Similarly, at high frequencies the
capacitors are modelled as short circuits. R2 is then shorted out and Vo is again forced to
V- as shown in figure 7. Therefore, this op-amp will attenuate very low frequencies and
very high frequencies, letting signals pass through in some frequency range in-between.
To determine the exact frequency range, you have to do circuit analysis and obtain
equation (25).
Figure 7. The op-amp bandpass filter as • goes to infinity
6. Conclusion
I have just given you an overview of filter circuits, enough knowledge to start building
useful circuits starting with your project. Unfortunately, a detailed description of filter
circuits is beyond the scope of this class.
The most important component that I could not cover is Bode plots. A bode plot is
actually two plots: one is a plot of the magnitude of the frequency response versus log of
the frequency and the other is a plot of the phase of the frequency response versus log of
the frequency. The bode plot for the RC filter is shown below:
Figure 8. Bode plot of an RC low pass filter
[Ref: http://www.engr.sjsu.edu/wdu/Mechatronics/Fall2004/Reference/RCFilterLectureNote.pdf]
Notice how the magnitude of the function decreases after a certain frequency. The y-axis
of the magnitude of the bode plot is actually in dB (decibels) for historical reasons. To
convert magnitude to dB, use: Mag (in dB) = 20 log H j – , where the log is base
10. For instance, in the plot above, for very low frequencies the value of the function is 0
dB. That means:
H j — ˜ 10
0 ™ 1 (26)
Does this make sense? If it is not clear, ask one of the instructors to help you.

Más contenido relacionado

La actualidad más candente

Design and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass FilterDesign and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass Filter
Kyla Marino
 

La actualidad más candente (20)

Active filter
Active filterActive filter
Active filter
 
Filters and Tuned Amplifiers
Filters and Tuned AmplifiersFilters and Tuned Amplifiers
Filters and Tuned Amplifiers
 
Low pass filters
Low pass filtersLow pass filters
Low pass filters
 
Filters
FiltersFilters
Filters
 
Op amp applications filters cw final (2)
Op amp applications filters cw final (2)Op amp applications filters cw final (2)
Op amp applications filters cw final (2)
 
Filter in comunication
Filter in comunicationFilter in comunication
Filter in comunication
 
7.Active Filters using Opamp
7.Active Filters using Opamp7.Active Filters using Opamp
7.Active Filters using Opamp
 
Filters
FiltersFilters
Filters
 
Filters
FiltersFilters
Filters
 
09 rc filters
09 rc filters09 rc filters
09 rc filters
 
Filter circuit (ALIV - BANGLADESH)
Filter circuit (ALIV - BANGLADESH)Filter circuit (ALIV - BANGLADESH)
Filter circuit (ALIV - BANGLADESH)
 
Design and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass FilterDesign and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass Filter
 
11 hp filter
11 hp filter11 hp filter
11 hp filter
 
Low pass filter
Low pass filterLow pass filter
Low pass filter
 
Unit5 , LC Networks and Filters
Unit5 , LC Networks and FiltersUnit5 , LC Networks and Filters
Unit5 , LC Networks and Filters
 
Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter
 
Applications of RLC Circuits
Applications of RLC CircuitsApplications of RLC Circuits
Applications of RLC Circuits
 
Band pass filter
Band pass filterBand pass filter
Band pass filter
 
Notch
NotchNotch
Notch
 
Active filters
Active filtersActive filters
Active filters
 

Similar a Active filters

EEE 117L Network Analysis Laboratory Lab 1 1
EEE 117L Network Analysis Laboratory  Lab 1     1  EEE 117L Network Analysis Laboratory  Lab 1     1
EEE 117L Network Analysis Laboratory Lab 1 1
EvonCanales257
 
Laboratory Procedures DeVry UniversityCollege of Engineering a.docx
Laboratory Procedures DeVry UniversityCollege of Engineering a.docxLaboratory Procedures DeVry UniversityCollege of Engineering a.docx
Laboratory Procedures DeVry UniversityCollege of Engineering a.docx
DIPESH30
 
Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9
kehali Haileselassie
 

Similar a Active filters (20)

Resonant Response of RLC Circuits
Resonant Response of RLC Circuits Resonant Response of RLC Circuits
Resonant Response of RLC Circuits
 
Ee201 -revision_contigency_plan
Ee201  -revision_contigency_planEe201  -revision_contigency_plan
Ee201 -revision_contigency_plan
 
EEE 117L Network Analysis Laboratory Lab 1 1
EEE 117L Network Analysis Laboratory  Lab 1     1  EEE 117L Network Analysis Laboratory  Lab 1     1
EEE 117L Network Analysis Laboratory Lab 1 1
 
Electrical Engineering
Electrical EngineeringElectrical Engineering
Electrical Engineering
 
NEET coaching class in Mumbai
NEET coaching class in MumbaiNEET coaching class in Mumbai
NEET coaching class in Mumbai
 
orca_share_media1489816591592333333333.pptx
orca_share_media1489816591592333333333.pptxorca_share_media1489816591592333333333.pptx
orca_share_media1489816591592333333333.pptx
 
Transmission lines and waveguides -Two marks
Transmission lines and waveguides -Two marksTransmission lines and waveguides -Two marks
Transmission lines and waveguides -Two marks
 
EC8651 Transmissions lines and RF systems-two marks
EC8651  Transmissions lines and RF systems-two marksEC8651  Transmissions lines and RF systems-two marks
EC8651 Transmissions lines and RF systems-two marks
 
Lesson4
Lesson4Lesson4
Lesson4
 
Laboratory Procedures DeVry UniversityCollege of Engineering a.docx
Laboratory Procedures DeVry UniversityCollege of Engineering a.docxLaboratory Procedures DeVry UniversityCollege of Engineering a.docx
Laboratory Procedures DeVry UniversityCollege of Engineering a.docx
 
Oscillators
OscillatorsOscillators
Oscillators
 
The Class-D Amplifier
The Class-D AmplifierThe Class-D Amplifier
The Class-D Amplifier
 
Sinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL CircuitsSinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL Circuits
 
ELECTRONICS
ELECTRONICSELECTRONICS
ELECTRONICS
 
2nd year iv sem emi lab manual
2nd year iv sem emi lab manual2nd year iv sem emi lab manual
2nd year iv sem emi lab manual
 
3661.pdf
3661.pdf3661.pdf
3661.pdf
 
Electrical Engineering
Electrical EngineeringElectrical Engineering
Electrical Engineering
 
Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9
 
Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9
 
12
1212
12
 

Último

VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 

Último (20)

VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
 
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
 
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
 
Enjoy Night⚡Call Girls Patel Nagar Delhi >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Patel Nagar Delhi >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Patel Nagar Delhi >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Patel Nagar Delhi >༒8448380779 Escort Service
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
 
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
 
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
Call Girls in New Friends Colony Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escort...
 
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbaiVasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
 

Active filters

  • 1. Bharathwaj Muthuswamy EE100 mbharat@cory.eecs.berkeley.edu Active Filters 1. Introduction In this chapter, we will deal with active filter circuits. Why even bother with active filters? Answer: Audio. Most (99%) of audio devices have filters in them. They allow you to separate out different frequency regimes. Your project this semester is to design an audio amplifier. This chapter is organized as follows: 2. A Review of Complex Numbers and Introduction to Frequency Response: In this section, I talk about why complex numbers, the standard form of a complex number, Euler's forumla, the impedence of a resistor, capacitor etc. 3. An Overview of Filter Circuits: I discuss terms like active filters, passive filters, low-pass, high-pass, band-pass and band-reject filters. 4. A Passive Filter Circuit - The RC low-pass filter: I will derive in detail the expression for the frequency response of an RC circuit and show how it can be used as a low pass filter. 5. An Active Filter Circuit - The Op-amp band-pass filter circuit: I will derive in detail the expression for the frequency response of this circuit and show how it can be used to construct a band-pass filter. 2. A Review of Complex Numbers and Introduction to Frequency Response So far you have been mainly dealing with DC analysis – Direct Current analysis. That is, you did not take into effect the consequences of voltage signals that are varying in time. These consequences are reflected in the so called impedence relationship on frequency: every circuit element – resistor, capacitor and inductor – has an impedence dependent on frequency. We will quantify this relationship later. For now, think about an impedence as a “frequency dependent resistance”. Take the capacitor – you know that at DC a capacitor can be modelled as an open circuit. We can prove this once we know how the impedence of a capacitor varies as a function of frequency , namely Z   ¡ 1 j   C where Z is the impedence of the capacitor (ohms), ¢ the angular frequency (radians/sec) and C the capacitance. Note that “j” is used in electrical engineering instead of “i” to denote £ 1 because “i” is reserved for current. Now, we know that for DC ¢ = 0, therefore Z ¤¦¥ . Before we derive the expression for Z above, let us review complex numbers.
  • 2. i. A Review of Complex Numbers A complex number is an ordered pair (a,b) that is represented in the form: z § a ¨ j © b (1) where a and b are real numbers and j is defined to be 1 . The real part of the complex number is a and the imaginary part is defined to be j © b . Complex numbers conveniently help us model amplitude and phase changes in sinusoidal signals. To see why, consider how we graphically represent a complex number: Figure 1. The Complex Plane The x-axis is the real axis where you plot the real part of the complex number and on the y-axis you plot the imaginary part. We obviously get a vector in the complex plane – this vector has a magnitude and an angle that is defined by: z a 2 b 2 (2) z arctan b a (3)
  • 3. But how the heck do we relate this magnitude and angle to the magintude and phase of a sinusoid respectively? Euler's formula is the missing link1 : e j cos jsin (4) Proving this formula is easy – use power series expansions for e, cos and sin. The magintude of the complex number above is: e j ! cos # jsin ! cos 2 # sin 2 ! 1 (5) and the phase is: $ e j %' arctan sin ( cos ( ( (6) Thus, a time-varying sinusoid with a magnitude A and phase angle ) can be represented by: A e j 0 t 132 2 . Hence, instead of sending a sinusoidal current or voltage through our circuit, we can pass a complex exponential signal to the circuit and see the response. Let us see how using a complex exponential simplifies our circuit analysis. ii. An Introduction to Frequency Response Let us examine what happens to the output voltage or current when we pass a complex exponential signal3 as the input to our three elements: the resistor, capacitor and inductor. Case i: Resistor: 1 Notice this link explains why we need complex numbers – a vector in the real (as opposed to complex) xy plane also has a magnitude and angle. However, it is very difficult to relate this to a sinusoid. 2 This is not completely accurate: a sinusoid is the complex part of the complex exponential. However, getting into these mathematical details only leads to more confusion, doesn't give us more insight. 3 Please note: a complex exponential is just one way of representing a sinusoidal signal. The reason we use a complex exponential is because it simplifies the mathematics. In reality, it does not make sense to talk about an “imaginary voltage signal”.
  • 4. Suppose V = V e j 4 t 576 volts, then by Ohm's law: I = V R (7) In other words, the impedence of a resistor is: ZR( 8 ) = R ohms. (8) This makes sense – the impedence of a resistor is independent of frequency! Z( 9 ) will be used to denote impedence – the subscripts R, C or L denote the element. Another very important note about notation: since we are working with frequency dependent signals, we represent them in uppercase boldface: V represents V sin @ t A7B volts, where the magnitude is V volts and phase angle is C . V is also called a phasor and the notation is called phasor notation. Case ii: Capacitor: Let us apply an input voltage to our capacitor of the form: V = V e j D t EGF volts. In the time domain: i t H C dv dt I Ce j P t QSR jTVU jW C v t (9) In phasor notation: V I X 1 j Y C ohms (10) Notice we have defined an impedence of the capacitor. Now you should be able to see why a capacitor is open circuit for DC. Case iii: Inductor: It should be easy to prove that ZL( ` ) = j a L ohms.
  • 5. We can see that using a complex exponential allows us to concisely model the impedence of the common circuit elements. This simplifies our circuit analysis, because we can just analyze the impedence network instead of dealing with the differential equation. Consider the RC circuit below and suppose we want to find Vo for a given sinusoidal Vi. Figure 2. The standard RC circuit In the RC circuit above, let us first convert the components to their impedences and the voltages to the phasor notation: Figure 3. The RC circuit in the frequency domain Since we are just dealing with resistances, we can simply use a voltage divider to find Vo : V o b 1 j c C 1 j d C e R V i (11) Simplifying the expression above: H j f g V o V i h 1 1 i j p R C (12) Notice the final answer has both a magnitude and phase component dependent on frequency. We denote this special function – the frequency response of the circuit. It is
  • 6. defined as the ratio of the output phasor to the input phasor. In our case it is the ratio of the output phasor voltage to the input phasor voltage. The frequency response is very helpful since it helps us calculate the output signal, given an input signal with a specific frequency. Suppose: Vi = 5sin(2000t + q 4 ) volts. Let R = 1k ohm, C = 1uF. Thus: H j r s 1 1 t j u 1k 1 v w 1 1 x j y 0.001 € 1 1  j ‚ 1000 (13) The last form is useful because it lets us quickly plugin a value for ƒ to calculate the frequency response. Here „ = 2000 radians/sec: H j 2000 … 1 1 † j 2000 1000 ‡ 1 1 ˆ j 2 (14) Hence the magnitude of the frequency response is: H j2000 ‰ 1 1  j2 ‘ 1 1 ’ j2 “ 1 1 2 ” 2 2 • 0.447 (15) Here I used the division property for the magnitude of two complex numbers z1 and z2: z1 z2 – z1 z2 (16) The phase is: — H j2000 ˜d™ 1 edf 1 g j 2000 1000 hdi 63degrees (17) Here I used the division property for the phase angle of two complex numbers z1 and z2: j z1 z2 kml z1 ndo z2 (18) Note that sine is 2 p periodic, an angle of 360 + -63 = 296 degrees is also correct. But how does this help us calculate the output? Again, complex numbers come to our rescue:
  • 7. H j q r V o V i (19) = V o s H j t V i (20) = V o u H j2000 5 e j 2000 t vxw4 (21) = V o y 0.447 e j 296 5 e j 2000 t z|{4 (22) Thus, the magnitude of the output is just the magnitude of the input times the magnitude of the frequency response at the input frequency. The phase of the output is the sum of the phase of the input and the phase of the frequency response. Also notice, the frequency of the output is the same as the input. Therefore, vo (t) is: vo(t) = 2.23sin(2000t + 233 degrees) volts (23) So, how is this circuit useful? Notice how the amplitude of the output decreased – the circuit is acting as a filter. Before we go on, a note about frequency: please remember that we can talk about either radians/second or hertz, the relationship between the two is: }~ 2 € f (24) 3. An Overview of Filter Circuits A filter circuit (as the name suggests) filters stuff. In our case, the circuit allows sinusoids of a certain frequency to appear at the output, it attenuates sinusoids at other frequencies – that is, the circuit does not allow them to appear at the output. We will see how in the next section. The main types of filter circuits are: i. Low-pass filter: This circuit allows frequencies below a specific frequency to pass through. Higher frequencies are attenuated. The RC circuit considered above is a low pass filter circuit – we will see how in the next section. ii. High-pass filter: Allows frequencies above a specific frequency to pass through. Lower frequencies are attenuated. iii.Band-pass filter: Frequencies in a specific range (or band), example: [1 kHz, 1 MHz] pass through. Frequencies above 1 MHz and below 1kHz are attenuated. iv. Band-reject filter: Frequencies in a specific range (or band), example: [1kHz, 1MHz] are attenuated. Frequencies above 1 MHz and below 1 kHz are allowed to pass through. Filter circuits can also be classified as passive or active. Passive circuits contain only impedences – they are not capable of amplifying the output signal. Active circuits
  • 8. contain an amplifier (like an op-amp) as well. Hence, the RC circuit is an example of a passive filter circuit. We examine more details of this circuit next. 4. A Passive Filter Circuit - The RC low-pass filter Let us go back to the RC circuit and figure out what happens as  changes: Figure 4. The RC circuit in the frequency domain and the model as ‚ = 0 and ƒ „†… You can see that if ‡ = 0 rad/sec, the capacitor acts as an open circuit and hence Vo = Vi. However as ˆ ‰¦Š , the capacitor acts as a short circuit and Vo = 0 volts. Therefore the circuit is acting as a low-pass filter: it attenuates higher frequencies. The frequency of interest turns out to be 1/RC. You may have guessed this from the expression for H(jw) from section 2. A more detailed explanation of the characteristics of the frequency response is beyond the scope of this class. It is sufficient for you to learn how to derive the frequency response from impedences and determine the kind of filter you have: low-pass, high-pass, band-pass or band-reject; active or passive.
  • 9. 5. An Active Filter Circuit - The Op-amp band-pass filter circuit Let us analyze the circuit below: Figure 5. The op-amp bandpass filter The frequency response for the circuit above is: H j ‹ Œ  j Ž R2C1 1  j  R1C1 1 ‘ j ’ R2C2 (25) It will be a good exercise for you to derive the relationship above. Use ideal op-amp assumptions (i.e..ignore the rails). But, it is more important to qualitatively understand how this circuit works. This will be indispensible for your project. At very low frequencies, both the capacitors are open-circuits (remember: a capacitor is open circuit to DC since the impedence of a capacitor goes to infinity as “ goes to zero). Redrawing figure 5 as ” goes to zero and the capacitors open, we get figure 6.
  • 10. Figure 6. The op-amp bandpass filter at DC. Notice Vo is zero. The reason is Vo = Vn (the voltage at the inverting terminal) since no current flows through R2. Now, Vn = Vp = 0 V. Similarly, at high frequencies the capacitors are modelled as short circuits. R2 is then shorted out and Vo is again forced to V- as shown in figure 7. Therefore, this op-amp will attenuate very low frequencies and very high frequencies, letting signals pass through in some frequency range in-between. To determine the exact frequency range, you have to do circuit analysis and obtain equation (25). Figure 7. The op-amp bandpass filter as • goes to infinity
  • 11. 6. Conclusion I have just given you an overview of filter circuits, enough knowledge to start building useful circuits starting with your project. Unfortunately, a detailed description of filter circuits is beyond the scope of this class. The most important component that I could not cover is Bode plots. A bode plot is actually two plots: one is a plot of the magnitude of the frequency response versus log of the frequency and the other is a plot of the phase of the frequency response versus log of the frequency. The bode plot for the RC filter is shown below: Figure 8. Bode plot of an RC low pass filter [Ref: http://www.engr.sjsu.edu/wdu/Mechatronics/Fall2004/Reference/RCFilterLectureNote.pdf] Notice how the magnitude of the function decreases after a certain frequency. The y-axis of the magnitude of the bode plot is actually in dB (decibels) for historical reasons. To convert magnitude to dB, use: Mag (in dB) = 20 log H j – , where the log is base 10. For instance, in the plot above, for very low frequencies the value of the function is 0 dB. That means: H j — ˜ 10 0 ™ 1 (26) Does this make sense? If it is not clear, ask one of the instructors to help you.