RC circuit differential equations

Click For Summary
SUMMARY

The forum discussion focuses on solving differential equations for an RC circuit using MATLAB and the Runge-Kutta method. The user seeks to obtain circuit responses from a voltage and current pulse without repeatedly solving the equations. The relevant differential equations are dV/dt = (1/C)(i(t) - V/R) and I = dQ/dt = (1/R)(V - Q(t)/C). The user expresses uncertainty about the correctness of these equations and seeks clarification on using Laplace transforms for solving them.

PREREQUISITES
  • Understanding of RC circuit theory
  • Familiarity with differential equations
  • Proficiency in MATLAB programming
  • Knowledge of the Runge-Kutta numerical method
NEXT STEPS
  • Learn how to apply Laplace transforms to solve differential equations in electrical circuits
  • Research MATLAB's built-in functions for solving differential equations
  • Explore advanced numerical methods for solving ODEs beyond Runge-Kutta
  • Study the impact of initial conditions on the response of RC circuits
USEFUL FOR

Electrical engineers, students studying circuit analysis, MATLAB users, and anyone interested in solving differential equations related to RC circuits.

gjfelix2001
Messages
17
Reaction score
0
Hi everyone...

I need to solve the differential equations of a RC circuit given a voltage and a current pulse. I have to get this responses:

http://i.imagehost.org/view/0340/Respuesta1

I'm using matlab, with runge kutta. I've been solving the equations separately changing the initial conditions and the value of current and voltage, but i want to know if there is a way to get the response solving the differential equations only once??

By the way, the differential equations I'm trying to solve are

\frac{dV}{dt}=\frac{1}{C}(i(t)-\frac{V}{R})

and

I = \frac{dQ}{dt}=\frac{1}{R}(V-\frac{Q(t)}{C})

How should i solve this equations in order to get the responses showed in the pictures?
 
Last edited by a moderator:
Physics news on Phys.org
Do you know how to use Laplace transform to solve differential questions?
 
RC circuit: is this the right equation?

Hi everybody, I'm trying to solve the equation:

I(t) = \frac{dQ}{dt}=\frac{Q(t)}{CR}-\frac{V}{R}

in order to get this graph (V changes to simulate the pulse)

[PLAIN]http://i.imagehost.org/0340/Respuesta1.jpg

I'm not getting this response, and I've checked my program (runge kutta) with a current pulse and works ok... So the only way I'm not getting what i want is that the differential equation I'm solving is wrong. Please, can you tell me the correct equation?? Thanks!
 
Last edited by a moderator:


gjfelix2001 said:
Hi everybody, I'm trying to solve the equation:

I(t) = \frac{dQ}{dt}=\frac{Q(t)}{CR}-\frac{V}{R}

in order to get this graph (V changes to simulate the pulse)

[PLAIN]http://i.imagehost.org/0340/Respuesta1.jpg

I'm not getting this response, and I've checked my program (runge kutta) with a current pulse and works ok... So the only way I'm not getting what i want is that the differential equation I'm solving is wrong. Please, can you tell me the correct equation?? Thanks!

If you drew the circuit you cared about I think we could help. Trying to "reverse engineer" what you are really interested in is a lot to ask!

jason

jason
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K