t = 0 , the capacitor has no energy stored in it. The goal of this problem is to calculate the voltage across the capacitor as a function of time. One is expected to get a differential equation of the form:
In the circuit above, atV ˙ c = − a V c + b V S
The recommended route to solve the above is numerical integration, but without using a computer. Say a time step is chosen which is δ t = h . Perform the following steps:
V c ( k + 1 ) = A V c ( k ) + B V S ( k )
Where k = 0 , 1 , 2 … denotes the time index.
V S ( 0 ) = h 1 V S ( k ) = 0 ∀ k > 0
V c ( k + 1 ) = n ( 1 − m h ) k
Here m and n are positive integers. Enter your answer as m + n .
Bonus: Can this circuit be used as a filter? If so, what kind? Also, plot the capacitor voltage.
Note: The source voltage is an approximation of the Dirac-delta function but the diagram indicates a sinusoidal input. This subtlety is to be ignored.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Steven Chase Upvoted. How do you identify a filter whether it is low or high?
Log in to reply
The filter has highest gain at low frequency, and the gain decreases as the frequency increases. The filter therefore lets through low frequency signals more readily than it lets through high-frequency signals.
Thanks for the solution. I was recently watching a video on impulse responses that inspired me to frame this exercise. I do not have much practical experience with circuits, so am wondering if impulse voltage inputs are practical inputs for real circuits? I speculate that an instantaneous impulse may cause a damaging current surge in some circuits.
Log in to reply
@Karan Chatrath share that video with me.
Log in to reply
I don't think sharing the video would be useful for you. Instead, I suggest that you read about the Dirac-delta function.
Log in to reply
@Karan Chatrath – @Karan Chatrath no, it would be useful. Please share it.
I am most familiar with impulse responses in the context of digital filters. There is a particular type of filter called a "finite impulse response" filter (FIR), where the output is a weighted sum of the inputs:
y k = Σ α n x k − n
If you put a single unit impulse in as the input, the output will successively read out the filter coefficients α n .
Log in to reply
I looked up this type of filter. Interesting read. I will be posting a follow-up problem on impulse responses, in a few hours
Problem Loading...
Note Loading...
Set Loading...
This is a good one. Let R 1 = 1 0 Ω and R 2 = 3 0 Ω . The differential equation is:
R 1 V S − V C − R 2 V C = C V ˙ C
Doing a bit of manipulation on this results in:
V ˙ C = − a V C + b V S a = 1 / 2 2 5 b = 1 / 3 0 0
Now for the explicit Euler:
V C ( k + 1 ) = V C ( k ) + ( − a V C ( k ) + b V S ( k ) ) h V C ( k + 1 ) = A V C ( k ) + B V S ( k ) A = 1 − a h B = b h
Assume that V C ( 0 ) = 0 and that V S ( 0 ) = 1 / h . Write down a few terms and observe a pattern.
V C ( 1 ) = 0 + h B V C ( 2 ) = h A B + 0 V C ( 3 ) = h A 2 B + 0
The pattern is:
V C ( k + 1 ) = A k h B = ( 1 − a h ) k b = ( 1 − 2 2 5 h ) k 3 0 0 1
As for the bonus, I assume we're talking about filtering in the context of AC input signals (sinusoids). Assuming we take the output voltage from across the capacitor, the voltage gain is given below (ratio of output voltage magnitude to input voltage magnitude). The circuit acts as a low pass filter.