Maker Pro
Maker Pro

physical/intuitive understanding of RL/RC time constants?

J

john jardine

Jan 1, 1970
0
John Larkin said:
How about this:

Charge a 1 farad capacitor to 1 volt and slap a 1 ohm resistor across
it. The resistor current is 1 amp, so the cap discharges, and the
voltage is at first declining at a rate of 1 volt per second. But
1/100 of a second later, the voltage is 0.99 volts, so the current is
only 0.99 amps, so the rate of discharge is only 0.99 volts per
second.

So we write a Basic program:

v = 1 ' charge the cap

for t = 1 to 100 ' then, for 1 second at 0.01 sec steps,

v = v - 0.01 * v ' discharge the cap by 1%

next

print v ' voltage is this, 1 second later


which simulates what I was doing above, but for a full second. The
value of v at the end is 0.36603 volts. That's close to 1/e, not exact
because I took 100 discrete steps, as an approximation to
continuous-time math. With 1000 steps, simulating 1 second of
discharge in 1 millisecond steps, you get 0.367700, even closer.

'e' is just nature's answer to a natural discharge curve.

John
Egads!. You've just given away the secret of Spice Transient Analysis. The
programmers will be calling for you with torches ablaze.
Why is it that if anyone wants to *clearly* explain an algorithm or
sequential idea, they'll use "Basic" or a very Basic looking 'Pseudo-code',
yet most programmes seem written in "C".
It just isn't logical.
regards
john
 
B

BobGardner

Jan 1, 1970
0
when a current just starts flowing into a RL or RC circuit, how does
the voltage "know" that it should be increasing exactly 63% during
each time-constant period?
==================
The cap starts out discharged, so a lot of current flows at first, then less
and less and less as the voltage and charge builds up on the cap. Plot it...
charging toward 12 volts ... starts at 0, then half way to 12 would be 6, then
half way to 12 would be 9, then half way to 12 would be 10.5, then half way to
12 would be..... hey... it might not ever get there!
 
P

Peter Lawton

Jan 1, 1970
0
BobGardner said:
==================

Time itself is defined by the charging of the capacitor.
The real question is why a pendulum etc agrees with the charging.
Peter Lawton
 
Top