Differential equation for an LCR circuit

Click For Summary
SUMMARY

The differential equation for the charge Q(t) in an LCR circuit is derived using Kirchhoff's voltage law. The correct formulation is given by the equation Q/C + dQ/dt * R + d²Q/dt² * L = 0. This equation accounts for the voltage across the capacitor, resistor, and inductor, ensuring that the sum of voltages in the circuit equals zero. The discussion clarifies the relationship between charge, current, and voltage, emphasizing the importance of sign conventions in circuit analysis.

PREREQUISITES
  • Understanding of Kirchhoff's voltage law
  • Familiarity with differential equations
  • Knowledge of electrical components: capacitors, resistors, inductors
  • Basic concepts of charge and current in circuits
NEXT STEPS
  • Study the derivation of the second-order differential equations in RLC circuits
  • Learn about the implications of damping in LCR circuits
  • Explore the use of Laplace transforms in solving circuit differential equations
  • Investigate the behavior of series vs. parallel LCR circuits
USEFUL FOR

Students and professionals in electrical engineering, physics, and anyone involved in circuit analysis and design will benefit from this discussion.

pondzo
Messages
168
Reaction score
0

Homework Statement


LCR series circuit.PNG

Find the differential equation that Q(t) satisfies.

2. relevant equations

Kirchoffs loop law and voltage across a capacitor, resistor and inductor.

The Attempt at a Solution


[/B]
So I'm thinking, by Kirchoffs voltage rule, that the sum of the voltages in this circuit must add to zero. So the voltage across the capacitor will be equal to the sum of the voltage drops of the other two elements:

\frac{Q}{C} = \frac{dQ}{dt}R + \frac{d^2Q}{dt^2}L

A friend of mine, who is always right, tells me that the differential equation should be;

\frac{Q}{C} + \frac{dQ}{dt}R + \frac{d^2Q}{dt^2}L = 0

I know my DE is wrong, but why is mine wrong, and his right?

Thank you.
 
Last edited:
Physics news on Phys.org
Note: Fixed the LaTeX in your two equations. Each one was missing a }.
pondzo said:

Homework Statement


View attachment 74205
Find the differential equation that Q(t) satisfies.

2. relevant equations

Kirchoffs loop law and voltage across a capacitor, resistor and inductor.

The Attempt at a Solution


[/B]
So I'm thinking, by Kirchoffs voltage rule, that the sum of the voltages in this circuit must add to zero. So the voltage across the capacitor will be equal to the sum of the voltage drops of the other two elements:

\frac{Q}{C} = \frac{dQ}{dt}R + \frac{d^2Q}{dt^2}L

A friend of mine, who is always right, tells me that the differential equation should be;

\frac{Q}{C} + \frac{dQ}{dt}R + \frac{d^2Q}{dt^2}L = 0

I know my DE is wrong, but why is mine wrong, and his right?

Thank you.
From what you wrote, "the sum of the voltages in this circuit must add to zero."
Your equation can be rewritten as
##\frac{Q}{C} - \frac{dQ}{dt}R - \frac{d^2Q}{dt^2}L = 0##, so you are subtracting the voltages across the resistor and coil from the voltage across the capacitor.
 
pondzo said:

Homework Statement


View attachment 74205
Find the differential equation that Q(t) satisfies.

2. relevant equations

Kirchoffs loop law and voltage across a capacitor, resistor and inductor.

The Attempt at a Solution


[/B]
So I'm thinking, by Kirchoffs voltage rule, that the sum of the voltages in this circuit must add to zero. So the voltage across the capacitor will be equal to the sum of the voltage drops of the other two elements:

\frac{Q}{C} = \frac{dQ}{dt} R + \frac{d^2 Q}{dt^2} L

A friend of mine, who is always right, tells me that the differential equation should be;

\frac{Q}{C} + \frac{dQ}{dt}R + \frac{d^2Q}{dt^2}L = 0

I know my DE is wrong, but why is mine wrong, and his right?

Thank you.

You are right, that the potential drop across the resistor is RI and across the inductor is LdI/dt. But I = - dQ/dt as Q decreases as the capacitor is discharged.

ehild
 
Thank you Mark44. Okay that makes sense, but then in this question why can we write;
## \varepsilon = \frac{Q}{C} + R\frac{dQ}{dt} ## but we cannot write ## \varepsilon + \frac{Q}{C} + R\frac{dQ}{dt} = 0 ## ?
blblblblblblbl.PNG

blablablalbbal.PNG
 
ehild said:
You are right, that the potential drop across the resistor is RI and across the inductor is LdI/dt. But I = - dQ/dt as Q decreases as the capacitor is discharged.

Ahhhhh, I see. Thank you ehild. However, as naive as my above question may be, i would still appreciate an answer (whenever anyone is ready).
 
pondzo said:
Thank you Mark44. Okay that makes sense, but then in this question why can we write;
## \varepsilon = \frac{Q}{C} + R\frac{dQ}{dt} ## but we cannot write ## \varepsilon + \frac{Q}{C} + R\frac{dQ}{dt} = 0 ## ?
View attachment 74206
View attachment 74207
##\varepsilon## in the first equation will have the opposite sign of the same symbol in the second equation.

For a much simpler example, 5 = 3 + 2, but it's not true that 5 + 3 + 2 = 0. However, -5 + 3 + 2 = 0 is true.
 
OK, but why is the sign the opposite in the 2nd equation if by kirchhoffs law, the sum of the voltages is zero? I know these are all quite stupid questions, i would just like to build a strong intuitiveness for this sort of stuff.
 
pondzo said:
OK, but why is the sign the opposite in the 2nd equation if by kirchhoffs law, the sum of the voltages is zero? I know these are all quite stupid questions, i would just like to build a strong intuitiveness for this sort of stuff.
If you add three numbers together, and get zero, then at least one of the numbers has to be negative. Is that what you're struggling with?
 
Instead of "voltages" work with potentials. Still discussing the first problem, assign zero potential to the bottom wire and assuming that the upper plate of the charged capacitor is positive, follow the current round the circuit and determine the potential at the nodes.

So you have Q/C potential at the upper plate of the capacitor. The current flows clockwise. The potential drops by IR across the resistor, so it is Q/C-IR between the resistor and inductor. It drops again, by LdI/dt, on the inductor, and you arrived back to zero potential. Q/C-IR-LdI/dt = 0. And I=-dQ/dt, as the current flows away from the capacitor, decreasing the charge.

In the second problem, let be the negative terminal of the battery at zero potential. The upper terminal is positive, and its potential is E. The left plate of the capacitor is positive, the right plate is negative, the potential drops by Q/C from left to right across the capacitor.So the potential is E-Q/C on the right plate. Then the current flows through the inductor and causes potential drop LdI/dt from right to left. At the left end of the inductor, the potential is E-Q/C-LdI/t and you are back at the negative terminal of the battery, where the potential is zero. So
E-Q/C-LdI/dt=0.
In that circuit, the charge is increased by the current, so I=dQ/dt.

ehild
 
  • #10
Thanks a lot ehild and mark 44, I understand it a lot better now!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
17
Views
2K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 1 ·
Replies
1
Views
912
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
6
Views
1K