0
\$\begingroup\$

I have a series RC circuit with R= 2.2K Ohm and C=100 nF, and the voltage supply is a 2.5V peak square wave. And I'm not sure how to calculate the voltage across the capacitor.

\$\endgroup\$
6
  • \$\begingroup\$ What have you done so far? \$\endgroup\$
    – Chu
    Commented Mar 19, 2019 at 22:39
  • \$\begingroup\$ They teach this in class, why do you not know? \$\endgroup\$
    – D.A.S.
    Commented Mar 19, 2019 at 22:39
  • \$\begingroup\$ Is this a milliHertz square wave? Or a megaHertz square wave? Or somewhere in between? \$\endgroup\$
    – jonk
    Commented Mar 20, 2019 at 0:00
  • \$\begingroup\$ @jonk it is 1kHz square wave \$\endgroup\$
    – Pedro
    Commented Mar 20, 2019 at 0:07
  • \$\begingroup\$ @Pedro When you write \$+2.5\:\text{V}\$ is the peak, does this imply that \$0\:\text{V}\$ is the lowest value? Or would \$-2.5\:\text{V}\$ be the lowest value? And are you aware that the voltage will probably be varying, regardless? \$\endgroup\$
    – jonk
    Commented Mar 20, 2019 at 0:10

1 Answer 1

2
\$\begingroup\$

Here's a great article about RC filters: https://www.electronics-tutorials.ws/filter/filter_2.html

You'll see that lowpass RC filters affect the input based on the following formula: enter image description here

Where:

enter image description here

Now, the formula for a square wave can be expressed as the following Fourier series: enter image description here

It might look complicated, but it's really just a sum of different sine waves called harmonics. Each of those will be affected differently by the filter because they have different frequencies.

So to know what output you'll have, just replace Vin in the first equation by the last equation and you'll get the output. You can calculate the full series on Matlab or a fancy graphic calculator, or you'll get pretty close if you estimate the input to be only the first 5-10 harmonics.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.