(and I've painted myself into a corner somewhere...
If someone can find the error in my "simple" explanation, I'd appreciate it)
Let me have a try.
Energy stored = 1/2 x C x V x V = 0.5 x C x V^2
E = 0.5 x C x V^2
Where does the 0.5 come from??
I realise the above is somewhat truncated, but I trust that satisfying the shortened version will satisfy the rest
OK, as I understand it, we're trying to find out why that 1/2 in the 1/2cv^2 comes from.
I wonder if I can do that graphically...
Not calculus (Playing fast and loose)
Whilst I'm not going to be using calculus, I cannot fail to mention a little (since a capacitor is defined in terms of a differential equation). So whilst I'll give you correct results, I'll be doing things that are mathematically wrong. They just happen to work with the equations I use them with... Specifically, when you see me start to convert things like dt into real numerical values, I'm doing a really bad thing.
dt refers to the smallest change in d, the limit as the change approaches zero. It is effectively a value so small that you can't distinguish it from zero, yet you can multiply and divide by it without it doing what zero does in these cases.
larger changes in d would be called delta-d, but I don't have a convenient delta sign on my keyboard
Also, once you change dv to delta-v, you are committing the same grave mistake...
Resistor
Let's first look at a resistor:
OK, here is a simple circuit. We have a current source (some constant current i) flowing through a resistor r.
We know that the voltage across the resistor is the current multiplied by the resistance.
We know that, because that is a simple rearrangement of the definition of resistance (R = V/I).
Let's graph the voltage with respect to time.
Here we can see that the voltage across the resistor is constant (as we would expect)
The value is the same at t=0, 1, 2, 3, ...
Now, we know that we can calculate power as i * v. Remembering that power is an instantaneous value. We also know that i is constant (a given from above) and that v is constant (seen from the graph above).
So we can draw a graph of power with respect to time:
What are we going to expect? if v = i * r, and p = v * r then p = i * i * r. Because we know that i and r are constant, the power remains constant.
And there we are i * v is constant and we get another horizontal line.
We also know that power is joules per second. And joules are energy.
So the shaded area represents the energy dissipated in 1 second. It is a rectangle with one side represented by time (1 second) and the other being the voltage.
So, we can confirm that if the power is a constant p watts, the energy is p joules per second. And that shaded rectangle has an area p.
This is very easy to calculate, so let's draw a table of energy with time. assuming it starts at 0 when t = 0
Code:
time | energy
-----+--------
0 | 0
1 | p
2 | 2p
3 | 3p
4 | 4p
This looks very simple. The total energy is given by t * p, and we know p is constant, so let's graph it:
This time, the graph is not a straight horizontal line, but it is still a straight line.
The graph is now a linear function of time. e = t * p = t * i * v = t * i * i * r = t.i^2.r
And this allows us to calculate the energy used from the beginning of time to now.
But that's not too useful. We might want to calculate the energy between 2 times, say between t = 3 and t = 4.
Something we can tell from this graph is that we have a number of rectangles and triangles. Each triangle has a base of length t = 1, and a height of p. Essentially this is the definition of our graph. The total energy rises by p each second.
Power = i^2r, and total energy is i^2rt
Capacitor
Now let's look at a capacitor.
OK, here is a simple circuit. We have a current source (some constant current i) flowing through a capacitor c.
We know that the change in voltage across the capacitor per unit of time is the current divided by the capacitance.
We know that, because that is a simple identity which defines the behaviour of a capacitor. (you might have to just accept this).
We can rearrange that to look like this: dv = (i/c) dt
What this says (kinda) is that the change in voltage is equal to the current times the capacitance times the difference in time.
We can graph this! But lets make a table of values first. dt is just a small change in time, so we can represent time as 0, dt, 2*dt, 3*dt,
Code:
time | dt | dv
-----+----+--------
0 | |
dt | dt | i.dt/c
2dt | dt | i.dt/c
3dt | dt | i.dt/c
4dt | dt | i.dt/c
Let's graph the change in voltage with respect to change in time.
To do this, I'm just going to take the graph we used for voltage versus time for a resistor and make a few small changes.
Note that the graphs are the same, except what a resistor does with voltage and time, a capacitor does with changes in voltage and time. (
This should spin your mind a little. Don't worry. The important thing is that the graphs look the same)
This is pretty simple. Note that our table doesn't have a value at t = 0, but just believe me that when you graph all the points you get a straight line.
OK, but we're not even at the first step yet.
What we want to show is the voltage with respect to time. For that we need to make an assumption.
Let's assume that the voltage on the capacitor is zero at time = 0.
This might sound like a huge assumption, but zero time could be the beginning of time, or it could be now, or last Tuesday at 1 pm, or some time tomorrow. What is important is that at that time the capacitor voltage was zero, and that the other constraints are still valid (same capacitance and same current). Essentially we're picking the time when the voltage was zero.
With this constraint in mind, we can just make a few trivial adjustments to the last table.
Code:
time | dv | v
-----+-----+--------
0 | i/c | 0
1 | i/c | i/c
2 | i/c | 2i/c
3 | i/c | 3i/c
4 | i/c | 4i/c
Now when we graph this we get:
Well, that was pretty simple.
You need to step back and notice three things:
1) It's a straight line
2) it's NOT the same as the graph for V vs t for a resistor.
3) it IS similar to another graph for a resistor...
What is it's equation?
From inspection of the table above, you should be able to see that it is v = i.t/c.
We also know that charge is a function of current and time. So we also know that Q = it, and thus if v = it/c and Q = it, then V = Q/c (which very nicely gets rid of the t term)
OK, so power is a bit unusual when we talk about capacitors, but let's press on with it.
That graph above shows v, now we want to show p.
p = i * v
I've broken it below here somewhere...
Again, we know that everything but t is constant (and v is linear in terms of t), so the graph looks like this:
Again, I've modified an earlier graph (
and i dv is wrong).
Recall what we did for a resistor at this step:
So the shaded area represents the energy dissipated in 1 second. It is a rectangle with one side represented by time (1 second) and the other being the voltage.
So, we can confirm that if the power is a constant p watts, the energy is p joules per second. And that shaded rectangle has an area p.
In this case, The power is not constant, but rising, and at each instant the energy is p joules per second.
Now, the accumulated power is not a rectangle, it is a triangle.
What we showed with the resistor example is that the area under the curve represented energy.
So is we want to graph energy with respect to time for a capacitor, we need to graph how the total area changes with time.
And what is the total area? It is the triangle with the base extending from the origin to some time t, and a height given by v.
We know that the area of a triangle is 1/2 base * height, so
e = 1/2.t.v = 1/2.t.i^2.t/c = 1/2.i^2.t^2/c
So we get a function of the form:
e = (i^2.t^2)/2c.
This looks complex, and since we know that everything but t is a constant, the function is of the form e = kt^2
and that should be energy, not power...