Design Op-Amp Bandpass Filter for 500 & 1500 rad/s

Click For Summary

Discussion Overview

The discussion revolves around designing a bandpass filter using an operational amplifier (op-amp) with specified corner frequencies at 500 rad/s and 1500 rad/s. Participants explore various component values and configurations, focusing on the theoretical and practical aspects of the design process.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses uncertainty about how to proceed after establishing initial equations for gain and voltage division.
  • Another suggests simplifying the approach by eliminating unknowns early in the process, proposing to relate voltages through resistor dividers.
  • Several participants reference the Sallen-Key topology for bandpass filters and discuss selecting arbitrary values for resistors and capacitors to meet design specifications.
  • Concerns are raised about the accuracy of simulations, with one participant noting discrepancies in corner frequencies despite repeated calculations.
  • Another participant emphasizes the importance of ensuring that component values satisfy both the quality factor (Q) and center frequency (f0) equations.
  • One participant shares their final component values after troubleshooting, indicating a successful resolution to their design challenge.

Areas of Agreement / Disagreement

The discussion contains multiple competing views on the best approach to design the filter, with participants offering different strategies and experiencing varied results in simulations. There is no consensus on a single method or solution, as participants continue to refine their approaches and calculations.

Contextual Notes

Participants mention potential issues with op-amp power supply configurations and the effects of component values on the filter's performance, indicating that these factors may influence the accuracy of their designs and simulations.

hogrampage
Messages
107
Reaction score
1

Homework Statement


Select component values to design for corner frequencies at 500 rad/s and 1500 rad/s.


Homework Equations


KCL, transfer function


The Attempt at a Solution


Gain:

[1] G = 1 + \frac{R_{A}}{R_{B}}

Voltage division:

[2] V2 = V1\frac{R_{2}}{R_{2}+1/sC_{2}}

KCL:

[3] 0 = \frac{V_{1}-V_{i}}{R_{1}} + \frac{V_{1}-V_{2}}{1/sC_{2}} + \frac{V_{1}-V_{o}}{R_{3}}

I am stuck at this point and don't know what to do next. There is a similar problem in the book and it said to substitute equations [1] and [2] into [3].

I sort of know what to do once I find \frac{V_{o}}{V_{i}}, but I just don't know how to get there from where I am.

Thanks!
 

Attachments

  • opampbp.jpg
    opampbp.jpg
    5.3 KB · Views: 524
Physics news on Phys.org
Equations 2 and 3 are two equations in three unknowns (Vo/Vi is one unknown). The third equation is [1] the gain formula which relates V2 to Vo. The gain formula gives gain from the + terminal of the amp to the output but you could also relate V2 to Vo just by using the resistor divider Ra/Rb. So this equation let's you replace V2 by an expression in Vo and equation [2] will let you replace V1 by an expression in Vo. Then equation [3] will only contain Vo and Vi.

But honestly it seems like you are throwing equations at it, particularly the gain equation, when it's much simpler not to memorize any equations at all. I'd be looking at removing as many unknowns as possible at the outset. So I would have found V2 in terms of Vo by the resistor divider Ra/Rb. This voltage in Vo would then appear at the + terminal of the op amp. Then KCL at the + terminal would find V1 as a function of Vo and the final KCL at V1 would involve only Vi and Vo.
 

Attachments

  • tferbp.png
    tferbp.png
    3 KB · Views: 548
No matter what values I try, none work :| (I am always ~30-50Hz away on one or both of them). RA and RB don't have much effect, but I notice R3 changes the bandwidth (or maybe it's something else, but it makes graph wider/smaller depending on value, as well as the center frequency). I am not sure where I am going wrong.
 
hogrampage said:
No matter what values I try, none work :| (I am always ~30-50Hz away on one or both of them). RA and RB don't have much effect, but I notice R3 changes the bandwidth (or maybe it's something else, but it makes graph wider/smaller depending on value, as well as the center frequency). I am not sure where I am going wrong.

Go to your link. First, pick your mid-band gain A. That defines Ra and Rb. You might pick A = 1 since nobody told you what it should be.

Then: what is f0, given your corner frequencies f1 and f2? Then, how is Q expressed as a function of f0, f1 and f2? This part is standard textbook stuff you should have covered by now.

Once you know f0 and Q, use the formulas in your link to determine all the R's and C's. Note that you have only 2 formulas, so you need to pick some of the R's and/or C's arbitrarily to solve for the remaining two components.

(Your instructor might have wanted you to determine the transfer function yourself).
 
If I set A to 1, then G = 1.5, so I set RB = 10kΩ resulting in RA = 5kΩ.

f0 = \sqrt{\frac{500}{2\pi}\frac{1500}{2\pi}} = ~138Hz

Q = \frac{f_{0}}{f_{2}-f_{1}} = ~0.86

(2\pif0)2 = \frac{R_{3}+R_{1}}{C_{1}C_{2}R_{1}R_{2}R_{3}}

R3 = \frac{R_{1}}{(2\pi f_{0})^{2}(C_{1}C_{2}R_{1}R_{2})}

Now, arbitrary values:
R1 = 10kΩ
R2 = 20kΩ (2R1)
C1 = C2 = 0.1μF

R3 = ~6.6kΩ

The simulation is still giving the wrong corner frequencies (this simulation shows ~103Hz and ~310Hz). I am using the universal op-amp 2 in LTSpice IV. Either my circuit is wrong or I calculated something wrong. An image of the circuit I made in LTSpice IV is attached.
 

Attachments

  • opampcirc.jpg
    opampcirc.jpg
    22.9 KB · Views: 534
Last edited:
Does 'AC 1 0' mean a 1V amplitude ac signal? If so, try changing V2 and V3 to +/-10 rather than 1. You could be clipping the output.
 
I tried a different schematic (attached) and same issue. I am so confused, I have gone over my calculations numerous times and I get the same answers, but it just doesn't give the correct simulation.
 

Attachments

  • opampcirc2.jpg
    opampcirc2.jpg
    21.4 KB · Views: 522
  • #10
hogrampage said:
R3 = \frac{R_{1}}{(2\pi f_{0})^{2}(C_{1}C_{2}R_{1}R_{2})}

Now, arbitrary values:
R1 = 10kΩ
R2 = 20kΩ
C1 = C2 = 0.1μF

R3 = ~6.6kΩ

You can't set them all to arbitrary values; Q is a function of these values too. You have to find component values that satisfy both equations for Q and foIf that's too annoying, I have a simpler design procedure that doesn't let you control the max gain:

1. G=2 (it must be 2 because this causes a term to zero in the Q equation)
2. all C the same
3. R1=R3=1/(woQC)
4. R2=2Q/(woC)

Max gain is 2Q2

(p116 ISBN 9783527407668)
 
Last edited:
  • #11
EDIT: See my last reply.
 
Last edited:
  • #12
hogrampage said:
The simulation is still wrong, where am I going wrong?

Check you op amp power supplies. They look backwards to me in polarity, and the voltages (+/-1V) look too low.
 
  • #13
I figured it out while in the lab today:

Q = ~0.86
G = ~1.8
C1 = C2 = 0.47μF
R1 = R3 = 2.4kΩ
R2 = 4.7kΩ
RA = 12kΩ
RB = 10kΩ

Thank you for all of your help!
 
  • #14
rude man said:
Check you op amp power supplies. They look backwards to me in polarity, and the voltages (+/-1V) look too low.

Also make sure you're not overdriving the input. Does your output look like a nice clean sine wave?
 

Similar threads

Replies
0
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
16
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K