2nd order ODE circuit, switch question

5 replies · 1K views · last reply
kidsasd987
Messages
142
Reaction score
4
Series RLC circuit schematic with a switch, resistor R, capacitor C, inductor L, a battery E(t) with polarity marked, and current i shown in the upper branch.
if we assume the condition immediately after switch is closed (t=0+),

*Capacitor voltage cannot jump.
*Inductor current cannot jump.

2ef0deb28c4bbc1ce6c11e4cce7e75b1.png


dv(0+)/dt=i_c(0+)/c
di(0+)/dt=v_l(0+)/L

which means we can find the initial condition of the post-zero system algebraically.

However, it contradcits to the definition of differentiability since the pre-zero value and post-zero value
of the system are different. (I_c(0+)=/=i_c(0-), v_l(0+)=/=v_l(0-))

I wonder how we can justify the math of the system.
Can I think this as two diffrent systems (ODEs) with one condition shared?
 
Attachments
  • Equation R di/dt + L d2i/dt2 + i/C = dV/dt above a series RLC circuit with voltage source V, resistor R, inductor L, capacitor C and current i marked by an arrow.
    upload_2015-12-5_12-3-55.png
    9.8 KB · Views: 526
Immediately after the switch is closed, all of the battery voltage appears across the inductor, since there is no current flow in the circuit yet (so no voltage drop across the resistor yet, and the capacitor has not started to charge up yet). Then as current builds in the circuit, the voltage across the inductor falls and more of the voltage appears across the resistor and capacitor. Depending on the component values, there may be some ringing involved, but eventually all of the battery voltage appears across the capacitor, with no current flowing in the circuit.

Does that help?
 
berkeman said:
Immediately after the switch is closed, all of the battery voltage appears across the inductor, since there is no current flow in the circuit yet (so no voltage drop across the resistor yet, and the capacitor has not started to charge up yet). Then as current builds in the circuit, the voltage across the inductor falls and more of the voltage appears across the resistor and capacitor. Depending on the component values, there may be some ringing involved, but eventually all of the battery voltage appears across the capacitor, with no current flowing in the circuit.

Does that help?

Oh I understand the physics behind it but what I am confused of is how to interpret the math part.
at t=0, we have different di(0+)/dt and di(0-)/dt values as we consider prezero and postzero conditions. Mathmatically, it contradicts to differentiability.
 
kidsasd987 said:
Oh I understand the physics behind it but what I am confused of is how to interpret the math part.
at t=0, we have different di(0+)/dt and di(0-)/dt values as we consider prezero and postzero conditions. Mathmatically, it contradicts to differentiability.
How do you differentiate a piecewise-continuous function? :smile:
 
berkeman said:
How do you differentiate a piecewise-continuous function? :smile:
hmm, I thought it was non-differentiable but since it was written as di/dt, I tried to figure out what was going on :)

so, we still write the equation as di/dt, but actually it is non-differentiable? However, the circuit above is written as ODE.

I thought closing switch transforms one system to another, hence changes the initial condition.