Optimization Problem with an RC BP filter

In summary, the engineer is trying to optimize a circuit for peak voltage at 10kHz and less than half peak voltage at 3k and 30k. They are limited to capacitors and resistors, and the circuit they are using is attached. They end up with a summary of the circuit and its limitations.
  • #71
The center frequency stays the same, but the rolloff rate is enough higher to meet your requirements. Unity remains at 10 kHz.
 
Engineering news on Phys.org
  • #72
Oh, because all the gains on the LHS of the vertex will be less than 1 and multiplied, and same with the RHS. Correct? So would both my lowpass filters have the same RC values?
 

Attachments

  • 3rd order.png
    3rd order.png
    17.1 KB · Views: 358
  • #73
Ignore that picture, it is as of now irrelevant. It was an attempt to explain my confusion.
 
  • #74
Here's the response of the 2nd order network (blue; your original network), and the 4th order network (red):

PBP2.png
 
  • Like
Likes BiGyElLoWhAt
  • #75
Yes, yes. I think I get it now. What would be a reasonable, physical approximation that I could use to get my values? I.e. how I was trying to maximize it at 10k by setting both circuits in phase with each other and they would maximize due to superposition or something along those lines, or as was mentioned early where z_1 = R_1 at 3k, etc.
 
  • #76
BiGyElLoWhAt said:
So would both my lowpass filters have the same RC values?

The product of each RC pair will be the same, placing the cutoff frequency of all the pairs at 10 kHz. But the impedance level of each pair should increase as you move to the output of the overall network. The increase of impedance level of a subsequent pair is achieved by increasing the value of R by some factor, such as 10, and decreasing the value of C by the same factor, but keeping the RC product constant.
 
  • Like
Likes BiGyElLoWhAt
  • #77
Is that to minimize the impact on the current through the other branches, or on your supply?
 
  • #78
BiGyElLoWhAt said:
Yes, yes. I think I get it now. What would be a reasonable, physical approximation that I could use to get my values? I.e. how I was trying to maximize it at 10k by setting both circuits in phase with each other and they would maximize due to superposition or something along those lines, or as was mentioned early where z_1 = R_1 at 3k, etc.

You could start out with the R1 and C1 values I gave in post #25. Subsequent RC pairs have increasing impedance level as I explained in the previous post.

The ideal is that the RC product gives a time constant so that the peak frequency of the network is 10 kHz. You don't worry about trying to make the attenuation of the network at 3 kHz and 30 kHz some value you would like. You have no control of those because the Q of a passive RC network is low and nothing can be done to increase it (normally using an opamp would be what you would do to increase Q).

The reason for increasing the impedance of successive RC pairs is to prevent the later pairs from loading the previous ones and degrading Q more than it already is with passive RC networks.

Cascading two of your original networks is the only way to get a faster rolloff rate. There is no way to "optimize" other than cascading.
 
  • Like
Likes BiGyElLoWhAt
  • #79
What's a reasonable threshold to call something at "unity"? I think I get what I need to do, now. Thanks.
 
  • #80
BiGyElLoWhAt said:
What's a reasonable threshold to call something at "unity"? I think I get what I need to do, now. Thanks.

What I've done in the two curves you see above is normalize the response of the network at 10 kHz, so the response at 10 kHz is always unity. This is a typical way of showing filter responses.
 
  • #81
But that's only theoretical, right? You can't actually get the gain to be 1.
 
  • #82
BiGyElLoWhAt said:
But that's only theoretical, right? You can't actually get the gain to be 1.

Of course. That's one of the things opamps can do for you.
 
  • #83
Only if you rail it, though. And then it's railed to whatever your V is across the op amp. With this passive circuit, if I set .95Vin at 1k to the left and .95Vin 1k to the right (so 9k and 11k), would that seem reasonable?
 
  • #84
If you have a look at the curves in post #74 those are what you get if the impedance levels of the various RC pairs are increased enough at each subsequent stage to avoid loading the previous stage. I'm not sure what you mean when you ask if .95 Vin at ± 1 kHz on either side of 10 kHz is reasonable. It's not a question of reasonableness. If you normalize the response of the filter to be unity at 10 kHz, the response on either side of 10 kHz is what it is.

The actual, un-normalized "gain" of your original circuit at 10 kHz is about .49.

Here's the un-normalized response of your original circuit using the R and C values I gave in post #25:

PBP3.png
 
  • #85
I didn't realize you were actually normalizing the graph. If I used the phrase normalize, that's my mistake, it wasn't my intent. I was thinking you were getting a lot closer to Vin than you were.
 
  • #86
These passive RC filters have substantial loss even at the frequency of maximum "gain".

So I think you see what you must do now. I don't know any other way to get the "gain" at 3 kHz and 30 kHz to be less than 1/2 the "gain" at 10 kHz other than to cascade two of your original circuit.

I assume your professor is expecting you to demonstrate that your proposed circuit does in fact have the required relative attenuation at 3 kHz and 30 kHz.
 
Last edited:
  • Like
Likes BiGyElLoWhAt
  • #87
I believe so, as well. Thanks for all your help. I actually think some things clicked in this last hour or so. Thanks a million.
 
  • #88
When you derive a transfer function for a network don't waste time rationalizing the denominator, or any other simplifications. Just leave it in any form and use Matlab or a calculator that can do complex arithmetic to evaluate the transfer function. You should have a transfer function in terms of ω. Just set ω to 2*pi*f and evaluate the transfer function at 3 kHz, 10 kHz and 30 kHz to see if your requirements are met.
 
Last edited:
  • #89
Thanks, will do.
 
  • #90
If you find out that your professor had a solution that is much easier to analyze, would you please post it here?
 
  • #91
The Electrician said:
Here's the un-normalized response of your original circuit using the R and C values I gave in post #25:
Have you determined the Q with those component values?

There's a formula relating Q to the -3dB bandwidth, but do you know any general formula relating Q to the -6dB bandwidth? (The task here specifies the -6dB bandwidth, approximately.)
 
  • #92
donpacino said:
when analyzing the circuit, the transfer function is found seen below

Vo/Vin = [SC_2R_2 ] / [ S^2C_2^2R_2_2+S(2C_2R_2+C1R1)+1 ]
I have been wanting to reconcile this equation with the plot in #25. Is there an error in this apart from the subscript?

The plot in #25 seems to be exhibiting a Q of around 0.5 or so. (10,000÷19,000) [EDIT: correction]
With the Rs and Cs suggested, I calculate using your equation: Q = 0.333

There needs to be agreement in these figures before developing this further.
 
Last edited:
  • Like
Likes donpacino
  • #93
donpacino in post #32 has the wrong transfer function. The pdf file in post #60 has the derivation of the correct transfer function.

My derivation is the same:

PBP4.png
 
  • #94
The Electrician said:
donpacino in post #32 has the wrong transfer function. The pdf file in post #60 has the derivation of the correct transfer function.

My derivation is the same:

View attachment 106821
Just checked my work. Yes it is incorrect. I now got what the electrcian got. I switched some terms part way through the analysis. 1 am algebra will do that I guess.

the take away: always sanity check your work. In retrospect my answer makes no sense.
 
  • #95
Well, it seems as thought it was merely meant to be a struggle. It wasn't supposed to work, and when I went back, we started messing with bridge filters. Somewhat cruel, but I suppose it was meant to teach us a lesson we won't soon forget LOL.
 
  • #96
Are you saying that your professor is showing you a bridge filter, with only Rs and Cs that will meet the requirements? Or are you saying that your professor expected that you would not be able to meet the requirements with only Rs and Cs?

Did you show your professor that the requirements can be met by the 4 stage R/C filter I showed you?
 
Last edited:
  • #97
NascentOxygen said:
With the Rs and Cs suggested, I calculate using your equation: Q = 0.333
The figure of 0.33 does seem lower than what I would expect to be achievable.

I added a capacitor parallel to R2 and my calculations (if correct) indicate this can realize a Q of approx 0.88. But I have yet to dertermine whether this would be sufficient to meet this task's specifications.
 
  • #98
I'm saying that we moved directly into discussing bridge filters. I suggested a 4 stage filter, and he said that should work, but that was all the further the conversation went.
 
  • #99
Maybe my simple engineering approach would not satisfy your examiner. However, a simple approach is to draw a phasor diagram for a series circuit consisting of C and R. It is easy to see that if Xc is half R, then the voltage across C is a bit less than half the applied voltage. This is the desired condition.
The high and low circuits are so far removed that interaction will be negligible.
 

Similar threads

Back
Top