|MLA Citation:||Bloomfield, Louis A. "Question 1498"|
How Everything Works 23 Oct 2017. 23 Oct 2017 <http://howeverythingworks.org/print1.php?QNum=1498>.
But you are wondering what controls the currents flowing in the two coils. The circuit it is connected to determines the current in the secondary coil. If that circuit is open, then no current will flow. If it is connected to a light bulb, then the light bulb will determine the current. What is remarkable about a transformer is that once the load on the secondary coil establishes the secondary current, the primary current is also determined.
Remember that the current flowing in the secondary coil is itself magnetic and because it is an alternating current, it is accompanied by its own electric field. The more current that is allowed to flow through the secondary coil, the stronger its electric field becomes. The secondary coil's electric field opposes the primary coil's electric field, in accordance with a famous rule of electromagnetism known as Lenz's law. The primary coil's electric field was pushing backward on current passing through the primary coil, so the secondary coil's electric field must be pushing forward on that current. Since the backward push is being partially negated, more current flows through the primary coil.
The current in the primary coil increases until the two electric fields, one from the primary current and one from the secondary current, work together so that they extract all of the primary current's electrostatic energy during its trip through the coil. This natural feedback process ensures that when more current is allowed to flow through the transformer's secondary coil, more current will flow through the primary coil to match.