LC oscillations · Physics Class 11–12 | StemPy Lab
Course 21.3·Lesson 3 of 3
LC oscillations
A charged capacitor joined to a coil makes the charge swing to and fro. The energy moves between the electric field of the capacitor and the magnetic field of the coil. The angular frequency is ω0=LC1
about 40 min2 simulations3 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
A swing with no moving part
Pull a swing back and let go. It speeds up as it comes down, passes the lowest point, and rises on the other side. All the time its energy changes from potential to kinetic and back. A circuit can do the same. A capacitor stores energy in its electric field. A coil stores energy in its magnetic field. If we join them, the energy can swing between the two.
One cycle of the swing
Four small circuit drawings, each a rectangular loop with a capacitor of two horizontal green plates on the left side and a red coil on the right side, and beside each a pair of bars for the energy in the capacitor U sub E in blue and in the coil U sub B in red. At t equal to 0 the top plate is positive, there is no current, and only the blue bar is tall. At t equal to T over 4 the plates carry no charge, a purple arrow shows the current largest and clockwise, and only the red bar is tall. At t equal to T over 2 the bottom plate is positive, there is no current, and only the blue bar is tall. At t equal to 3T over 4 the plates carry no charge, the current is largest the other way, and only the red bar is tall.
Charge a capacitor, and then join it to a coil. There is no battery and no resistance. Follow the energy through one period T.
t=0. The capacitor holds the whole charge q0. There is no current. All the energy 2Cq02 is in the electric field of the capacitor.
The capacitor discharges. The charge starts to flow through the coil. The coil opposes any change in the current with a back emf, so the current builds up gradually.
t=T/4. The capacitor is empty, and the current is largest. All the energy is in the magnetic field of the coil, 21LI02.
The coil keeps the current going. The current cannot stop at once, so it goes on and charges the capacitor the other way, until the charge is −q0 at t=T/2. The current is zero again.
The second half. The same happens backwards. At t=3T/4 the current is largest in the other direction, and at t=T the circuit is back where it started.
The charge and the current are a quarter of a cycle apart. When one is largest the other is zero.
The equation of the oscillation
Take the charge q on the capacitor and the current i=dtdq. In the loop there is no source. Going round the loop, the voltage across the capacitor is Cq and the voltage across the coil is Ldtdi. The loop rule says they add to zero:
Ldtdi+Cq=0sodt2d2q+LC1q=0
This is the equation of simple harmonic motion, which you know from oscillations, with ω02=LC1. For a capacitor that starts with the charge q0 the answer is:
q=q0cosω0ti=−ω0q0sinω0t
with
ω0=LC1f=2πLC1T=2πLC
The largest current is I0=ω0q0. A larger L or a larger C gives a slower swing. Make L four times larger and the period is only twice as long, because T is proportional to the square root of LC.
The energy at every instant
The energy in the capacitor is:
UE=2Cq2=2Cq02cos2ω0t
The energy in the coil is UB=21Li2. Put in i=ω0q0sinω0t and use Lω02=C1:
UB=21Lω02q02sin2ω0t=2Cq02sin2ω0t
Add them. Since cos2+sin2=1, the sum is the constant 2Cq02. It is also 21LI02. The energy is not lost. It only moves from one place to the other, twice in each period of the charge.
Two graphs that share a time axis from 0 to 2 periods. The top graph shows the charge on the capacitor compared with its largest value as a blue cosine wave that starts at 1, and the current compared with its largest value as an orange wave that starts at 0, goes to minus 1 at a quarter of a period and then rises. The charge is zero where the current is largest and the current is zero where the charge is largest. The bottom graph shows the energy in the capacitor as a blue wave that starts at 1 and falls to 0 at a quarter of a period, and the energy in the coil as a red wave that does the opposite. A green dashed horizontal line at 1 shows that the total energy stays the same.
The spring and the mass
An LC circuit and a mass on a spring obey the same equation. Each quantity of one has a partner in the other.
Charge q is the partner of the displacement x.
Current i is the partner of the velocity v.
Inductance L is the partner of the mass m. Both resist a change of the flow.
The inverse 1/C is the partner of the spring constant k. A smaller capacitor is a stiffer spring.
Electric energy 2Cq2 is the partner of 21kx2. Magnetic energy 21Li2 is the partner of 21mv2.
So ω0=mk for the spring becomes ω0=LC1 for the circuit. The coil is the inertia of the circuit, and the capacitor is its spring.
A worked example
A coil of 40 mH is joined to a capacitor of 25μF that has been charged to 16 V. There is no resistance. Find the frequency, the starting charge, the largest current and the total energy.
The angular frequency.LC=40×10−3H×25×10−6F=1.0×10−6s2. So ω0=LC1=1000 rad/s.
The frequency.f=2πω0=2π1000rad/s=159 Hz. The period is T=f1=6.28 ms.
The starting charge.q0=CV0=25×10−6F×16V=400μC.
The largest current.I0=ω0q0=1000rad/s×400×10−6C=0.40 A.
The total energy.U=2Cq02=21CV02=21×25×10−6F×(16V)2=3.2mJ.
Check with the coil.21LI02=21×0.040H×(0.40A)2=3.2mJ. It matches.
Start with the defaults. Which curve is highest at t=0? Make the capacitance four times larger, 100μF. By what factor does the period change? Then change the starting voltage. Which readouts change, and which do not?
Practise with new numbers
Resistance makes the swing die away
Every real coil has some resistance, and so does every wire. The resistor turns electrical energy into heat. Each swing is then a little smaller than the one before. This is a damped oscillation. For a small resistance R the charge follows:
q=q0e−Rt/2Lcosω′tω′=LC1−4L2R2
The cosine still swings, but its height falls steadily inside the envelope q0e−Rt/2L. The energy falls as e−Rt/L. For a small R the frequency is almost the same as 2πLC1. A circuit also loses energy by sending out radio waves, which a radio transmitter uses on purpose.
Try R=1Ω, and then R=30Ω. How does the time to halve the amplitude change? Is the frequency changed much?
A series LCR circuit joined to an AC source is this circuit with a source added. When the source has the frequency 2πLC1 it pushes at the right moment in every swing. It supplies exactly the energy that the resistor wastes. This is the idea of resonance.
Try it in Python
The program follows the charge and the current of an LC circuit in small steps of time, with no resistor. It finds the period from the times at which the charge passes through zero, and compares it with the formula.
Common mistakes
Forgetting the 2π.ω0=LC1 is in rad/s. The frequency is f=2πω0 in hertz.
Changing mH and μF wrongly.1mH=10−3H and 1μF=10−6F.
Saying the current is largest when the charge is largest. The two are a quarter of a cycle apart.
Saying energy is lost. With no resistance the total energy stays constant. It moves between the capacitor and the coil.
Taking half the charge for half the energy. The energy depends on q2, so q=2q0 holds only a quarter of the energy.
Mixing up the partners of the spring. The coil L is the mass, and 1/C is the spring constant.
Remember these
Charge and current in an LC circuit oscillate: q=q0cosω0t and i is largest when q=0.
ω0=LC1, f=2πLC1 and T=2πLC.
Total energy 2Cq02=21LI02 stays constant. It moves between the capacitor and the coil.
The partners are q and x, i and v, L and m, 1/C and k.
A resistance damps the oscillation: q0e−Rt/2L.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A coil of 9.0 mH and a capacitor of 1.0μF form an LC circuit. What is the angular frequency of the oscillation?
At one moment the charge on the capacitor of an LC circuit is zero. What is the current, and where is the energy?
The capacitance of an LC circuit is made four times larger. What happens to the frequency?
In which way is an LC circuit like a mass on a spring? Name the partner of the inductance.
Enroll free in Transformers and LC Oscillations
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.