Need some help on Circuit modeling(1 sample)

  • Thread starter Thread starter genxium
  • Start date Start date
  • Tags Tags
    Circuit
Click For Summary

Discussion Overview

The discussion centers around circuit modeling, specifically focusing on a simple series circuit and the associated differential equations. Participants are exploring initial conditions and algorithms for solving these equations, as well as numerical methods for handling multiple unknown functions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion regarding initial conditions and algorithms for solving a set of differential equations derived from a circuit model.
  • Another participant seeks tutorials on numerical solutions for differential equations involving multiple unknown functions, indicating a gap in available resources.
  • One participant suggests that the difficulty may lie in integrating certain terms and refers to a mathematical rule for integration.
  • A later reply challenges the initial participant's focus, proposing that taking derivatives of the differential equations might be a more effective approach to finding numerical solutions for the voltages over time.

Areas of Agreement / Disagreement

Participants do not appear to reach consensus on the main issue at hand, with differing views on the source of the confusion and the appropriate methods for solving the equations.

Contextual Notes

Participants mention specific mathematical operations and rules, but there are unresolved assumptions regarding the initial conditions and the numerical methods applicable to the system of equations.

genxium
Messages
137
Reaction score
2
I'm learning circuit modeling recently, and got stuck by a simply serial circuit sample(shown in the attachment), here're equations I wrote for the sample, but I have no idea what initial conditions and algorithm I can use to solve it, could anyone give me a hand or some tips?

[tex]i_{21}+{\int_0}^t \frac{V_3-V_1}{L} d\tau =0[/tex]
[tex]i_{12}+\frac{GND-V_2}{R} =0[/tex]
[tex]{\int_0}^t \frac{V_1-V_3}{L} d\tau + C \cdot (\frac{dGND}{dt}-\frac{dV_3}{dt}) =0[/tex]
[tex]C \cdot (\frac{dV_3}{dt}) + \frac{V_2-GND}{R}=0[/tex]

where GND=0 V is constant, I see that [itex]i_{12}=-i_{21}[/itex] can be used to reduce the equations, but then the remaining equations are 2nd order diff equations, how do computers solve this?

[tex]{\int_0}^t \frac{V_2-V_1}{L} d \tau = \frac{-V_2}{R}[/tex]
[tex]{\int_0}^t \frac{V_1-V_3}{L} d\tau + C \cdot -\frac{dV_3}{dt} =0[/tex]
[tex]C \cdot (\frac{dV_3}{dt}) + \frac{V_2}{R}=0[/tex]
 

Attachments

  • Serial_Circuit.JPG
    Serial_Circuit.JPG
    14.8 KB · Views: 527
Last edited:
Engineering news on Phys.org
I just read some tutorial of numerical solutions, but the easily found materials are all about ordinary diff equations of only 1 unknown function, could anyone tell me some tutorial that shows the idea to multiple unknown functions' diff equation(numerical solution)?
 
jim hardy said:
i guess you're stuck at integrating those diads like (V2 - V1) and (V1 - V3) ?]


Uhm... I don't think this is the main issue here, take derivatives of these diff equations, then

[tex]\frac{V_2-V_1}{L}=-\frac{dV_2}{R \cdot dt}[/tex]

[tex]\frac{V_1-V_3}{L}+C \cdot -\frac{d^2V_3}{dt^2}=0[/tex]

[tex]C \cdot \frac{dV_3}{dt}+\frac{V_2}{R}=0[/tex]

and want to get numerical solutions for [tex]V_1(t),V_2(t),V_3(t)[/tex].
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
5K