Constant Current Source in Driving an RC Circuit

Click For Summary

Discussion Overview

The discussion revolves around the analysis of a constant current source driving an RC circuit in parallel. Participants explore different approaches to solving the circuit behavior, particularly focusing on the transient and steady-state responses of the circuit.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes obtaining two different solutions for the voltage across the capacitor, depending on whether they consider the capacitor as an open circuit after transients or apply KCL without that assumption.
  • The same participant realizes a mistake in their differential equation, noting that the forcing function should include i/C instead of just i, leading to both approaches matching after correction.
  • Another participant emphasizes the value of discussing problems with others as a means to gain clarity and insight, sharing personal anecdotes about problem-solving techniques.
  • A later reply introduces concepts related to the step response of RL and RC circuits, discussing the mathematical relationships between step and impulse responses in the context of system characterization.
  • Further elaboration on the structure of differential equations is provided, distinguishing between the homogeneous and particular solutions in the context of circuit analysis.

Areas of Agreement / Disagreement

Participants generally agree on the importance of discussing problems to clarify understanding, but there is no consensus on the initial confusion regarding the circuit analysis methods. The discussion includes multiple viewpoints on how to approach the problem and the implications of different assumptions.

Contextual Notes

Some limitations include the initial misunderstanding of the differential equation setup and the dependence on assumptions about the capacitor's behavior after transients. The discussion also reflects varying levels of familiarity with circuit analysis techniques.

Who May Find This Useful

This discussion may be useful for students and professionals in electrical engineering or physics who are interested in circuit analysis, particularly those dealing with transient responses in RC circuits.

Abdullah Almosalami
Messages
49
Reaction score
15
Alright. So I'm getting two different solutions depending on how I look at this problem, and I know one is correct but I don't know why the other would be incorrect. So, given this general circuit of a constant current source driving an RC circuit in parallel:

RC Circuit.jpg


Now, what they tell me in class is that this is a DC source, so after transients have gone, the capacitor will be an open circuit, so v should just be i*R. And indeed in simulation, this is what I get. However, if I do try to apply KCL and solve for V, without knowing that say after transients the capacitor will be essentially an open circuit, I get my two different solutions:

- If I keep the circuit as it is and attempt to solve for v, I get the following:

RC Circuit Solution.jpg

You can see at the very bottom there, I get v(t) = iRC + (vc0 - iRC)exp((-1/RC)t). This converges to iRC! Not iR as I'm expecting. I'm not sure if I did a mathematical error in there somewhere, but as of right now, I can't tell.

- If I source transform the the current source in parallel with the resistor to a voltage source in series with a resistor, then I get:

RC Circuit Solution with Source Transformation.jpg


This version will indeed converge to iR. And I know this must be correct, so what happened?
 

Attachments

  • RC Circuit.jpg
    RC Circuit.jpg
    17.3 KB · Views: 2,481
  • RC Circuit Solution.jpg
    RC Circuit Solution.jpg
    38.4 KB · Views: 1,825
  • RC Circuit Solution with Source Transformation.jpg
    RC Circuit Solution with Source Transformation.jpg
    43.3 KB · Views: 1,837
Engineering news on Phys.org
Ok so literally right after posting, I realized what went wrong. The differential equation up top in the second photo should have i/C as the forcing function, not just i. I missed that part when dividing out C. Redoing the work, both version do match and I'm an idiot:

RC Circuit Solution (without error).jpg
 

Attachments

  • RC Circuit Solution (without error).jpg
    RC Circuit Solution (without error).jpg
    35.9 KB · Views: 1,573
  • Like
Likes   Reactions: AVBs2Systems, berkeman and Delta2
Abdullah Almosalami said:
version do match and I'm an idiot

Well, no. Asking for help means that you have to lay out the problem for another person. When you do that, you are looking at the problem from a different direction, which frequently leads to the solution.

Part of my last job was helping other engineers solve difficult problems. It was common for somebody to come into my office, start writing on the dry erase board, then say "Oops, got it now".
 
  • Like
Likes   Reactions: NTL2009, Klystron, Abdullah Almosalami and 4 others
jrmichler said:
Part of my last job was helping other engineers solve difficult problems. It was common for somebody to come into my office, start writing on the dry erase board, then say "Oops, got it now".
Wait, when was I in your office? o0)
 
  • Like
Likes   Reactions: AVBs2Systems, sophiecentaur, Abdullah Almosalami and 2 others
jrmichler said:
Well, no. Asking for help means that you have to lay out the problem for another person. When you do that, you are looking at the problem from a different direction, which frequently leads to the solution.

This is such a common and powerful technique that people now do it alone, and there is a funny name for it and everything: https://en.wikipedia.org/wiki/Rubber_duck_debugging

In a slightly related vane, my PhD advisor often would say that you didn't understand something until you could explain it to your grandma. We had a pretty good relationship and here is one of our actual conversations while I was writing my thesis:

Prof: You're over thinking this aspect of the algorithm and the exposition isn't clear. You need to try to think of a way to explain it to your grandma.

Me: My grandma's dead.

Prof: Get out of my office.

Good times.
 
  • Like
  • Haha
Likes   Reactions: cnh1995, Tom.G, jrmichler and 3 others
analogdesign said:
This is such a common and powerful technique that people now do it alone, and there is a funny name for it and everything: https://en.wikipedia.org/wiki/Rubber_duck_debugging

In a slightly related vane, my PhD advisor often would say that you didn't understand something until you could explain it to your grandma. We had a pretty good relationship and here is one of our actual conversations while I was writing my thesis:

Prof: You're over thinking this aspect of the algorithm and the exposition isn't clear. You need to try to think of a way to explain it to your grandma.

Me: My grandma's dead.

Prof: Get out of my office.

Good times.

That was freaken hilarious!
 
Abdullah Almosalami said:
Ok
Good work. I thought I might add three things which may help you appreciate why this hard work you did would be beneficial later:
$$ \text{The step response of RL, RC and other systems} $$
The response of such systems to step functions, basically DC waveforms that are switched on after some period of time, is of interest to engineers as the step response is quite closely related to the LTI systems impulse response. The dirac pulse and unit step are signals inserted into systems as your input waveforms to characterise the system. The step and impulse are related mathematically and in the frequency domain too. The step response for charging RL and RC circuits (zero initial conditions) is (with the appropriate physical units for voltage and current respectively):
$$ kg(t) = k \epsilon(t) \cdot \big( 1 - e^{-\frac{t}{\tau} } \big)$$
$$ \text{General equation to describe transient circuits} $$
If initial conditions are given, it is usually easier to use this for charging RL and RC circuits:

$$ x(t) = x \big[ t \to \infty \big] + \Big( x\big[ t =0 \Big] - x \big[ t \to \infty \big] \Big) e^{ -\frac{t}{\tau} } $$
$$ \text{The homogenous solution of the circuits differential equation and the forcing function } $$
Every differential equation consists of two parts, the homogenous solution and the particular solution.
$$ y(x) = y_{h}(x) + y_{p}(x) $$
The homogenous solution is the transient equation, the particular solution is the forcing function and steady state solution.
 
Last edited:
  • Like
Likes   Reactions: Abdullah Almosalami and berkeman

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
8K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 41 ·
2
Replies
41
Views
8K
Replies
21
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K