I'm trying to save a problem that shows the following band pass filter:
Note: the op amp doesn't need to be a TL081, it's an abstract, ideal op amp.
I need to find resistors \$R1\$ and \$R2\$ so that the cutoff frequencies of such filter are approx. 10 Hz and 20 kHz. Also, the peak gain should be achieved at around 1 kHz.
I have only 2 possible capacitor values: 1.5uF and 220pF, so if C1 is set to to 1.5uF then C2 must be 220pF and vice versa.
What I have done so far is write the gain of the circuit:
$$Z_{R_1C_1} = \frac{1}{\frac{1}{R1} + j\omega CR_1}$$
$$Z_{R_2C_2} = \frac{1}{jwC_2} + R_2$$
The inverting op. amp is:
$$v_{OUT} = v_{IN} \frac{-Z_{R_1C_1}}{Z_{R_2C_2}} = v_{IN} \frac{\frac{1}{\frac{1}{R1} + j\omega CR_1}}{\frac{1}{jwC_2} + R_2}$$
Simplifying the above:
$$ \frac{v_{OUT}}{v_{IN}} = \frac{jR_1\omega C_2}{(1 + j\omega C_1R_1) (1 + j\omega R_2C_2)}$$
From here I get a bit lost.
I have tried to do \$C_1=1.6\mu F\$ and \$C_2 = 220pF\$, and find \$R_1\$ and \$R_2\$. However, in the process, I get a system of non-linear equations, so I strongly suspect I'm not doing it as expected. I also have spent quite a lot of time guessing different values and plotting the magnitude vs frequency chart, but haven't got anywhere.
Looking at the equation above, it seems to me it could be expressed as a product, so that would be combining 2 non-resonant, simpler filters. Is this correct? I'm not very sure how to do this.
What can I do?
EDIT after comments
I have tried the solution suggested below. It works as shown below:
- Grey: 0.707 * peak_gain line
- Green: 10Hz and 20kHz lines
- Yellow: 1kHz line (the max. gain should should be arround here
- Red: \$\omega _0\$ line: \$\frac{1}{\sqrt{R_4 C_4 R_3 C_3}}\$
Here is a link to Sage to experiment with this:
EDIT 2 - Still have questions
I understand that the cutoff frequency of an RC filter (either low or high pass) is \$\frac{1}{2\pi RC}\$.
However, the transfer function of my problem is different from the classic RC filter. How can one be sure that the above is the actual cutoff frequency formula?
I mean, my transfer function can be divided in 2 filters, one high pass and one low pass. However, the numerator is very different from a normal RC filter. It also clearly affects the gain. How can it be known that the formula above still works?