# RLC Bandpass filter help.

**URL:** https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439
**Category:** Factual Questions
**Created:** [February 7, 2003, 11:24am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439 "2003-02-07T11:24:19Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 11:24am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/1 "2003-02-07T11:24:19Z")

</div>

I am about to pull my hair out. I am trying to design a very basic RLC bandpass filter. I am using a series setup. I want the passband to be 100Hz - 40kHz. I have arbitrarily chosen R=1K. So, knowing that R/L should equal my bandwidth of 39900Hz and 1/(sqrt(L_C) should equal my center frequency of sqrt(100_40000)=200Hz I have calculated L=25mH and C=1uF .

When run an AC sweep on this thing in spice I am getting 3dB points at 156hz and 6kHz!

What the heck am I doing wrong? I need this to pass 100hZ thru 40kHz and it seems to be have a passband of 5kHz or so.

I know I have configured the circuit correctly and set up the freq sweep correctly in spice.

Can somone tell me if I have calculated the correct values for RLC for this bandpass filter? This is killing me here.

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 11:38am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/2 "2003-02-07T11:38:05Z")

</div>

n=? T? pi? What?

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 11:46am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/3 "2003-02-07T11:46:54Z")

</div>

Huh?

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:05pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/4 "2003-02-07T12:05:02Z")

</div>

What is the configuration?

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 12:06pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/5 "2003-02-07T12:06:08Z")

</div>

> [@](#):
>
> \*Originally posted by Stinkpalm \*  
> \*\*I am about to pull my hair out. I am trying to design a very basic RLC bandpass filter. I am using a series setup. I want the passband to be 100Hz - 40kHz. I \*\*

Its a series RLC bandpass circuit. I am not sure what else you want to know. I chose R=1K out of thin air.

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:08pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/6 "2003-02-07T12:08:46Z")

</div>

Or is it just that you’ve miscalculated “sqrt(100\*40000)=200Hz” instead of 2000 Hertz?

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 12:13pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/7 "2003-02-07T12:13:23Z")

</div>

I am sorry, thats a typo. I did calculate it as 2Khz not 200Hz.  
Sorry.

---

<div class="post-metadata">

### Author: ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)
#### Post date: [February 7, 2003, 12:13pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/8 "2003-02-07T12:13:51Z")

</div>

A 100 Hz to 40 KHz RLC band-pass filter? Wow, that’s a pretty wide pass-band for a resonate circuit. Have you thought about using an active LP and HP in series?

If I have time I’ll scratch out the equations to see what’s going on…

---

<div class="post-metadata">

### Author: ![headshok](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@headshok](https://boards.straightdope.com/u/headshok)
#### Post date: [February 7, 2003, 12:14pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/9 "2003-02-07T12:14:53Z")

</div>

IIRC, when you use those equations, you need to convert your frequency values from Hz to rad/s. So your center frequency will be 2_pi_2000 rad/s and your bandwidth will be 2_pi_39900 rad/s. I came up with L=3.99 mH and C=1.59 uF, but you may want to double-check my math since I haven’t had coffee yet. 🙂

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:19pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/10 "2003-02-07T12:19:47Z")

</div>

What do you mean by “a series RLC bandpass circuit”. I assume you mean one R, one L, one C.

Is it all series, or is it T, pi or L? If T, pi or L, which element is the shunt?

It may seem obvious to _you_ what you’re talking about, but it isn’t to me.

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 12:24pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/11 "2003-02-07T12:24:36Z")

</div>

I did it using radians as well as regular freq just to see if that was the problem and it is still hosed up.

I understand what you are asking now D, It is all in series L C R with the output between the C and R.

On a side note wouldnt a T or Pi setup be a parelell setup?

---

<div class="post-metadata">

### Author: ![andy\_fl](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@andy\_fl](https://boards.straightdope.com/u/andy_fl)
#### Post date: [February 7, 2003, 12:27pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/12 "2003-02-07T12:27:04Z")

</div>

IMNAEE

Desmostylus, R is the shunt IMHO.

Assuming all the math is correct (converting n to /omega and all), try a smaller resistor - say around 100-200 ohms for a better absolute tolerance.

Electrolytic Capacitors don’t have a “good frequency response” at higher frequencies.

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 12:28pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/13 "2003-02-07T12:28:21Z")

</div>

FTR after poking around in PSPICE for a while I was able to make a functional BPF with the correct passband using a series config with L=20mH C=300nF and R=5K.

But my question still stands because these numbers don’t work in my equations and I really don’t like guessing like this.

What is the advantage of using active filters instead of a resonate circuit? Would using active filters give it a steeper rolloff? It rolls off pretty slow with the circuit as is.

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:36pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/14 "2003-02-07T12:36:29Z")

</div>

Go with what **headshok** said.

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:38pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/15 "2003-02-07T12:38:31Z")

</div>

Center frequency = 1/(2.pi.root(LC))

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 7, 2003, 12:42pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/16 "2003-02-07T12:42:23Z")

</div>

> [@](#):
>
> \*Originally posted by Stinkpalm \*  
> \*\*FTR after poking around in PSPICE for a while I was able to make a functional BPF with the correct passband using a series config with L=20mH C=300nF and R=5K.
> 
> But my question still stands because these numbers don’t work in my equations and I really don’t like guessing like this.
> 
> What is the advantage of using active filters instead of a resonate circuit? Would using active filters give it a steeper rolloff? It rolls off pretty slow with the circuit as is. \*\*

It would have helped a lot if you’d presented the circuit configuration and the equations in the first place. You also have omitted any kind of design criteria. Either provide the proper information, or work it out yourself.

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 7, 2003, 12:54pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/17 "2003-02-07T12:54:43Z")

</div>

Something is just not jiving here. My center frequency should be sqrt(wl_wh) or sqrt(100_40k_2_pi) which is coming out to about 5k radians/sec . If I take the L and C of the working BPF I modeled in SPICE I get a center freqency of 26Mhz in Radians. This isn’t even close, but the filter IS displaying the correct bandwidth in the simulation of SPICE.

Im sorry to be frustrating you Desmostylus but there are no design requirements other than I need to have a passband of 100hz-40khz. That is the only thing I need. I chose to use a basic RLC filter because it seems to be the simplest way to accomplish this.

---

<div class="post-metadata">

### Author: ![headshok](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@headshok](https://boards.straightdope.com/u/headshok)
#### Post date: [February 7, 2003, 1:10pm UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/18 "2003-02-07T13:10:44Z")

</div>

> [@](#):
>
> _Originally posted by Stinkpalm \*  
> \*\*My center frequency should be sqrt(wl_wh) or sqrt(100_40k_2\*pi) which is coming out to about 5k radians/sec .\*\*

Your center freq is sqrt(4_pi[sup]2[/sup]10040k) or 2_pi_sqrt(100_40k), which will give you 12566 rad/s. The equations should work from there.

---

<div class="post-metadata">

### Author: ![Cubsfan](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Cubsfan](https://boards.straightdope.com/u/Cubsfan)
#### Post date: [February 8, 2003, 1:52am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/19 "2003-02-08T01:52:34Z")

</div>

Update:

Like a true schmuck my calculator was the problem. I had accidentally set x= some number at some time. Since I was using X as my variable in my equations and I didn’t know it had been set already it was throwing out bogues values. I was doing ti right the whole time.

Thanks for the help though.

Although, I would still like to hear why active filtering would be better than passive in thie case. Does it affect the rolloff?

---

<div class="post-metadata">

### Author: ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)
#### Post date: [February 8, 2003, 3:51am UTC](https://boards.straightdope.com/t/rlc-bandpass-filter-help/153439/20 "2003-02-08T03:51:27Z")

</div>

If you want simplicity, but better cutoff performance, all you need to do is add more stages, resulting in a cascaded T or pi network. Look up any or all of the following: “Classical filter design”, “Chebychev filter design”, “Butterworth filter design”.

The advantage of using active filters is that you don’t need inductors. This can be a big advantage at low frequencies, because sometimes the inductances required are large.

To improve cutoff performance with an active filter, you cascade stages, just as with a passive filter.
