I have a low pass filter like this:
simulate this circuit – Schematic created using CircuitLab
$V_{\text{out}}$ is measured right after $R_1$, which I suppose means that it is measured over the parallel part.
$R_2$ is the load of the filter. When this circuit is measured with an oscilloscope it seems like it is not dependent on the frequency at all. I would like to investigate why.
I tried to calculate the transfer function for the filter, but I am not sure that it is right.
H(jω)=1R1(jωC+1R2)+1
I'm using $R_1 = 33\text{k}\Omega$, $R_2 = 1\text{k}\Omega$, and $C = 220\text{pF}$.
If I plot the frequency response in Matlab with this, I just get a straight line going from the origin through (1,.5), (2,1)
where (Hz, H(w))
and so on.
Is this correct?
Answer
You can interpret this circuit as a voltage divider using R2∥1jωC=R2jωR2C+1
H(jω)=R2∥1jωCR2∥1jωC+R1=R2jωR2C+1R2jωR2C+1+R1=R2R2+R1(jωR2C+1)
If you divide numerator and denominator by $R_2$ this is the same expression you calculated, but I think it's easier to understand the filter using my result. As $\omega \to 0$ H(jω)=H(0)=R2R2+R1
Here is your circuit in CircuitLab setup so that you can simulate it within CircuitLab:
simulate this circuit – Schematic created using CircuitLab
And here is the frequency sweep on the circuit as reported by CircuitLab (click to make it larger):
You can use this to verify your Matlab code. If you post your Matlab code we might also be able to help you find a problem with it.
No comments:
Post a Comment