Electric Motors: Difference between revisions

From Physics Book
Jump to navigation Jump to search
Display images at full size (server cannot generate thumbnails).
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page covers electric motors
<big><big>'''Claimed by Andrew Johnson, Fall 2026'''</big></big>


Claimed by Komal Hirani: khirani6
This page explains how electric motors and generators work. Both are built from the same thing, a coil of wire that can spin inside a magnetic field. A motor uses the magnetic torque on a current-carrying coil to turn electrical energy into rotation. A generator does the reverse: it spins a coil so that the changing magnetic flux induces an emf (Faraday's law).
 
[[File:Motors01CJC.jpg|thumb|Various Electric Motors]]


==The Main Idea==
==The Main Idea==
===Electric Motors===


Motors convert electrical energy into mechanical energy. Our everyday routines heavily rely upon the electric motors in common applications such as refrigerator compressors, water pumps, elevators, clocks, and cars. Electric motors are a common application of the torque that a magnetic field exerts on a current-carrying coil. In order for motors to function the way that they do, the current-carrying coil needs to turn continuously. In order for the current-carrying coil to turn in such a way, you need to make electrical connections to the coil in such a way that just as it is coming to its stable position, you reverse the direction of the current. A simple way to achieve this continuos motion is through a "split-ring commutator" that automatically changes the direction of the current through the coil at just the right moment. Metal tabs make contact between the battery and the commutator, which allows current to flow and for the motor to rotate.
A motor and a generator are the same machine run in opposite directions.


Below is a picture that shows the overall design of a single-loop motor driven by direct current (DC):  
*'''Motor:''' Push a current through a coil that sits in a magnetic field. The field exerts a torque on the coil's magnetic dipole moment <math>\vec{\mu}</math> and tries to line it up with <math>\vec{B}</math>. If nothing else happened, the coil would rock back and forth around the aligned position and stop, like a compass needle. To keep it turning, a motor reverses the current in the coil every half turn, just as the coil swings through the aligned position. In a simple DC motor a '''split-ring commutator''' does this automatically: two half-rings on the axle rub against fixed '''brushes''', and they swap which brush touches which end of the coil every half revolution. Modern '''brushless''' motors do the same switching with electronics instead.


[[File:Qn_38_Magnetic1.png]]
*'''Generator:''' Turn the same coil with an outside source of mechanical work, such as a steam turbine, a water wheel, wind, or a hand crank. As it rotates, the magnetic flux through it keeps changing, and Faraday's law says a changing flux induces an emf around the loop. Because the flux rises and falls smoothly as the coil turns, the emf is sinusoidal. That is '''alternating current (AC)''', the kind that comes out of a wall outlet. A generator fitted with a commutator flips the output every half turn and produces a bumpy but one-directional (DC) output instead.


===Generators===
Energy is conserved in both directions. A spinning motor coil also has a changing flux through it, so it generates its own '''back emf''' that opposes the supply voltage. When a generator delivers current, the magnetic torque on that current opposes the rotation (Lenz's law), so whatever is turning the generator has to do work. A generator never makes energy from nothing. It converts mechanical work into electrical energy.
Commercial generators rotate a loop of wire in a magnetic field. This is the ideal construction because it is much easier to arrange and it experiences very low friction on the axle. The magnitude of the magnetic force on a charge carrier q is F=qvBsinθ. Additionally, the magnetic force is uniform throughout the wire, thus motional emf is the force multiplies by the length, divided by the charge… emf=2vBwsinθ. This equations can also be written as emf=wB(hw)sin(wt). The current inside of this type of current varies in a sinusoidal. This type of current is known as alternating current or AC. AC is what comes out of the wall while direct current or DC is what flows through a battery. Direct current is one-direction current, while alternating current in bi-directional.  


[[File:Coil_in_field_topview_AJ.png|frame|center|Top view of a coil rotating in a uniform field. The orange line is the coil seen edge-on; its two long sides (length h) point into the page and move with speed v = ωw/2. θ is the angle between the coil's normal (the direction of its magnetic moment) and the field. (Original diagram made by the author.)]]


===A Mathematical Model===
===A Mathematical Model===
A motor's mechanical output is calculated as follows:
:<math>P_{em} = F\times{v}</math> (watts).
with Force (F) expressed in Newtons and velocity (v) expressed in meters per second.


To calculate the motor's efficiency, you divide the mechanical output power by the electrical input power:
Model the rotor as a flat coil of <math>N</math> turns and area <math>A</math> (for a rectangle of width <math>w</math> and height <math>h</math>, <math>A = wh</math>), in a uniform field <math>B</math>. Let <math>\theta</math> be the angle between the coil's normal <math>\hat{n}</math> and <math>\vec{B}</math>.
:<math>\eta = \frac{P_m}{P_e}</math>
 
'''1. Magnetic moment and torque (the motor).''' A coil carrying current <math>I</math> has magnetic dipole moment
 
:<math>\vec{\mu} = NIA\,\hat{n}</math>
 
and the field exerts a torque on it:
 
:<math>\vec{\tau} = \vec{\mu}\times\vec{B} \qquad\Rightarrow\qquad \tau = NIAB\sin\theta</math>
 
The torque is largest, <math>\tau_{max} = NIAB</math>, when the plane of the coil is parallel to <math>\vec{B}</math> (<math>\theta = 90^\circ</math>). It is zero when the coil faces the field (<math>\theta = 0^\circ</math>). For a single loop with a commutator, <math>\tau \propto |\sin\theta|</math>, and the average over a full turn is
 
:<math>\tau_{avg} = \frac{2}{\pi}NIAB \approx 0.64\,NIAB</math>
 
Real motors use many coils set at different angles, which smooths the torque until it is nearly constant.
 
[[File:DC_motor_torque_AJ.png|frame|center|Torque on a single-loop motor. Without a commutator the torque reverses every half turn and the coil just oscillates. With a commutator the torque always pushes the same way. (Original graph made by the author.)]]
 
'''2. Flux and induced emf (the generator).''' If the coil spins at constant angular speed <math>\omega</math>, then <math>\theta = \omega t</math> and the flux through all <math>N</math> turns is
 
:<math>N\Phi_B = NBA\cos(\omega t)</math>
 
Faraday's law gives the emf:
 
:<math>\mathcal{E} = -\frac{d(N\Phi_B)}{dt} = NBA\omega\sin(\omega t), \qquad \mathcal{E}_{max} = NBA\omega</math>
 
You get the same answer from the magnetic force on the moving charges (motional emf). In the top-view figure, each long side of length <math>h</math> moves at speed <math>v = \omega w/2</math>. Only the part of the velocity perpendicular to <math>\vec{B}</math> matters, so each side contributes <math>vBh\sin\theta</math>. The two sides add:
 
:<math>\mathcal{E} = 2\left(\frac{\omega w}{2}\right)Bh\sin\theta = \omega B(wh)\sin\theta = BA\omega\sin\theta \quad\text{(per turn)}</math>
 
The short sides contribute nothing, because the force on their charges points across the wire instead of along it. Notice that the emf is largest when the flux is ''zero'' (coil edge-on to the field) and zero when the flux is largest. The emf depends on how fast the flux is ''changing'', not on how big it is.
 
[[File:Generator_flux_emf_AJ.png|frame|center|Flux through the coil and induced emf for a generator turning at constant speed. The emf is 90° out of phase with the flux. (Original graph made by the author.)]]
 
'''3. Back emf and the motor circuit.''' A real DC motor has a supply voltage <math>V</math>, a coil (armature) resistance <math>R</math>, and a back emf that grows with speed. For an idealized multi-coil motor it is convenient to write <math>\mathcal{E}_{back} = k\omega</math> and <math>\tau = kI</math>, using the same motor constant <math>k</math> (about <math>NBA</math>) in both. Then
 
:<math>I = \frac{V - \mathcal{E}_{back}}{R} = \frac{V - k\omega}{R}</math>
 
*At start-up (<math>\omega = 0</math>) there is no back emf, so the current and torque are largest. This is the '''stall current''' <math>V/R</math>.
*With no load, the motor speeds up until <math>k\omega \approx V</math>, so the no-load speed is <math>\omega_0 \approx V/k</math>.
 
'''4. Power and efficiency.''' Mechanical power is torque times angular speed (or force dotted with velocity for straight-line motion):
 
:<math>P_{mech} = \tau\omega \qquad \left(\text{or } \vec{F}\cdot\vec{v}\right)</math>
 
Energy conservation in the motor circuit says that electrical input equals mechanical output plus resistive heating:
 
:<math>VI = \mathcal{E}_{back}I + I^2R \qquad\text{where}\qquad \mathcal{E}_{back}I = k\omega I = \tau\omega = P_{mech}</math>
 
so the efficiency is
 
:<math>\eta = \frac{P_{mech}}{P_{elec}} = \frac{\tau\omega}{VI}</math>
 
For a generator driving a load resistance <math>R_L</math>, the instantaneous electrical power is <math>\mathcal{E}I = \mathcal{E}^2/R_L</math>. That has to equal the mechanical power <math>\tau_{applied}\,\omega</math> supplied by whatever is turning the shaft. This is why a generator gets harder to turn when you connect a bigger load (more current means more opposing torque).
 
===A Computational Model===
 
The GlowScript model below spins a 200-turn coil in a 0.5 T field. At each time step it computes the flux, gets the emf ''numerically'' from Faraday's law (<math>\mathcal{E} \approx -\Delta(N\Phi_B)/\Delta t</math>), and plots it against the analytic prediction <math>NBA\omega\sin(\omega t)</math>. The red dots land on the black curve, which confirms the formula above. Try changing <code>N</code>, <code>Bmag</code>, <code>w</code>, <code>h</code> or <code>f</code> in the code and watch the peak emf scale with each one.
 
[[File:Generator_model_animation_AJ.gif|frame|center|Output of the generator model. Left: the coil spinning in the field. Right: flux linkage (blue), emf computed numerically from Faraday's law (red dots), and the analytic prediction (black). (Original animation made by the author.)]]
 
'''Run it yourself:''' [https://www.glowscript.org/#/user/andrewbjohnson06/folder/MyPrograms/program/ElectricGenerator AC generator model on GlowScript.org] (it runs right in your browser; click "Edit this program" there to change the parameters).
 
The full code is below. You can also copy it into a new program at [https://www.glowscript.org glowscript.org] and run it there.
 
<pre>
Web VPython 3.2
# AC generator: a rectangular coil spinning in a uniform magnetic field.
# The program computes the flux through the coil at every time step and gets the
# emf NUMERICALLY from Faraday's law (emf = -d(N*Phi)/dt), then compares it with
# the analytic prediction emf = N*B*A*omega*sin(omega*t).
 
scene.title = "AC generator: coil rotating in a uniform magnetic field (drag with right mouse to rotate view)"
scene.width = 640
scene.height = 400
scene.range = 0.16
scene.forward = vector(-0.4, -0.5, -1)
 
# ---------------- physical parameters (edit these!) ----------------
Bmag = 0.5                  # field strength (T)
B = vector(Bmag, 0, 0)      # uniform field pointing in +x
N = 200                    # number of turns
w = 0.10                    # coil width (m)
h = 0.10                    # coil height (m), along the axle
A = w*h                    # coil area (m^2)
f = 1.0                    # rotation frequency (Hz) - kept slow so you can watch it
omega = 2*pi*f              # angular speed (rad/s)
 
# ---------------- scenery ----------------
box(pos=vector(-0.13, 0, 0), size=vector(0.04, 0.16, 0.16), color=color.red)    # N pole
box(pos=vector( 0.13, 0, 0), size=vector(0.04, 0.16, 0.16), color=color.blue)  # S pole
for y in [-0.05, 0, 0.05]:
    for z in [-0.05, 0.05]:
        arrow(pos=vector(-0.11, y, z), axis=vector(0.22, 0, 0), shaftwidth=0.002,
              color=color.gray(0.6), opacity=0.4)
cylinder(pos=vector(0, -0.09, 0), axis=vector(0, 0.18, 0), radius=0.002, color=color.white)  # axle
 
# coil corners in the coil's own frame (its normal points along +x when theta = 0)
corners = [vector(0, -h/2, -w/2), vector(0, -h/2, w/2), vector(0, h/2, w/2),
          vector(0, h/2, -w/2), vector(0, -h/2, -w/2)]
coil = curve(pos=corners, radius=0.003, color=color.orange)
normal = arrow(pos=vector(0, 0, 0), axis=vector(0.06, 0, 0), shaftwidth=0.004, color=color.yellow)
info = label(pos=vector(0, 0.125, 0), text="", box=False, height=12)
 
# ---------------- graphs ----------------
g1 = graph(title="Flux linkage and emf vs time", xtitle="t (s)", ytitle="N*Phi (Wb)  and  emf (V)",
          width=640, height=260)
flux_plot = gcurve(graph=g1, color=color.blue, label="N*Phi_B (Wb)")
emf_plot = gdots(graph=g1, color=color.red, size=3, label="emf from Faraday's law (V)")
pred_plot = gcurve(graph=g1, color=color.black, label="N B A omega sin(omega t) (V)")
 
# ---------------- time loop ----------------
t = 0
dt = 0.005
prev_flux = N*Bmag*A        # at t = 0 the coil normal is parallel to B
while t &lt; 3:
    rate(100)
    theta = omega*t
    # rotate each corner of the coil about the y-axis (the axle)
    for i in range(len(corners)):
        coil.modify(i, pos=rotate(corners[i], angle=theta, axis=vector(0, 1, 0)))
    n_hat = rotate(vector(1, 0, 0), angle=theta, axis=vector(0, 1, 0))
    normal.axis = 0.06*n_hat
 
    flux = N*dot(B, n_hat)*A              # N * B * A * cos(theta)
    emf = -(flux - prev_flux)/dt          # Faraday's law, done numerically
    prev_flux = flux
 
    if t > 0:
        flux_plot.plot(t, flux)
        emf_plot.plot(t, emf)
        pred_plot.plot(t, N*Bmag*A*omega*sin(theta))
    info.text = "t = " + str(round(t*100)/100) + " s    emf = " + str(round(emf*100)/100) + " V    predicted peak = " + str(round(N*Bmag*A*omega*100)/100) + " V"
    t = t + dt
</pre>
 
==Examples==
 
===Simple===


==Connectedness==
'''Problem:''' A generator coil has 200 turns, each with an area of 0.010 m². It spins at 60 revolutions per second in a uniform 0.50 T field. What is the maximum emf it produces?
'''How is this topic connected to something that you are interested in?'''
 
Motors are heavily used in robotics, which is something that I have been interested in ever since I was on my high school's robotics team. In robotics, we heavily rely upon motors to power the robot and allow the robot to perform as it is supposed to. I am interested in going into the robotics industry, particularly the electronic component of the industry, so knowing how motors work is very useful to me.
'''Solution:'''
 
Convert the rotation rate to angular speed:
 
:<math>\omega = 2\pi f = 2\pi(60\ \text{Hz}) = 377\ \text{rad/s}</math>
 
The peak emf occurs when the coil is edge-on to the field:
 
:<math>\mathcal{E}_{max} = NBA\omega = (200)(0.50\ \text{T})(0.010\ \text{m}^2)(377\ \text{rad/s}) = 377\ \text{V}</math>
 
The output alternates between +377 V and −377 V sixty times per second. That frequency matches the 60 Hz power grid in the US.
 
===Middling===
 
'''Problem:''' A simple DC motor has a rectangular coil of 50 turns, measuring 4.0 cm × 5.0 cm, carrying 2.0 A in a uniform 0.30 T field.
#What is the maximum torque on the coil?
#What is the torque when the coil's normal makes a 30° angle with the field?
#With a split-ring commutator, what is the average torque over one revolution?
 
'''Solution:'''
 
:<math>A = (0.040\ \text{m})(0.050\ \text{m}) = 2.0\times10^{-3}\ \text{m}^2</math>
 
:<math>\mu = NIA = (50)(2.0\ \text{A})(2.0\times10^{-3}\ \text{m}^2) = 0.20\ \text{A}\cdot\text{m}^2</math>
 
#<math>\tau_{max} = \mu B = (0.20)(0.30) = 0.060\ \text{N}\cdot\text{m}</math>, when the coil's plane is parallel to the field (<math>\theta = 90^\circ</math>).
#<math>\tau = \mu B\sin 30^\circ = (0.060)(0.50) = 0.030\ \text{N}\cdot\text{m}</math>
#<math>\tau_{avg} = \frac{2}{\pi}\tau_{max} = \frac{2}{\pi}(0.060) = 0.038\ \text{N}\cdot\text{m}</math>
 
A common mistake is to use <math>\cos\theta</math> here. The angle in <math>\tau = \mu B\sin\theta</math> is measured between the coil's ''normal'' (its <math>\vec{\mu}</math>) and <math>\vec{B}</math>, not between the plane of the coil and <math>\vec{B}</math>.
 
===Difficult===
 
'''Problem:''' A small DC motor runs from a 12.0 V battery. Its armature resistance is <math>R = 2.0\ \Omega</math> and its motor constant is <math>k = 0.050\ \text{V}\cdot\text{s/rad}</math> (so <math>\mathcal{E}_{back} = k\omega</math> and <math>\tau = kI</math>).
#Find the stall current and stall torque (the motor held so it cannot turn).
#Find the no-load speed.
#The motor drives a load that needs a steady torque of 0.10 N·m. Find the current, the operating speed, the mechanical output power, the heat lost in the coil, and the efficiency.
 
'''Solution:'''
 
'''(a)''' When the motor is stalled, <math>\omega = 0</math>, so there is no back emf:
 
:<math>I_{stall} = \frac{V}{R} = \frac{12.0}{2.0} = 6.0\ \text{A}, \qquad \tau_{stall} = kI_{stall} = (0.050)(6.0) = 0.30\ \text{N}\cdot\text{m}</math>
 
'''(b)''' With no load, the motor needs almost no torque, so <math>I \approx 0</math> and the back emf rises to nearly the full battery voltage:


'''How is it connected to your major?'''
:<math>k\omega_0 = V \quad\Rightarrow\quad \omega_0 = \frac{12.0}{0.050} = 240\ \text{rad/s} \approx 2300\ \text{rpm}</math>
Even though I'm a Computer Science major, I want to eventually go into the robotics industry. In robotics, when coding for any robot, you need to know how the electronic components of the robot are able to produce energy for the robot to function. You need to be able to write code that is able to be translated by the CPU and will allow each controller and motor to function.  


'''Is there an interesting industrial application?'''
'''(c)''' At steady speed, the motor's torque equals the load torque:
Like I said, motors are heavily used in robotics in order for robots to properly move and carry out the tasks the robot was programmed to do. Robots such as the robotic arm pictured below need motors in order to generate enough power for the arm to move in different directions:


[[File:stacks_image_5796.png]]
:<math>I = \frac{\tau}{k} = \frac{0.10}{0.050} = 2.0\ \text{A}</math>


==History==
Use the circuit equation to find the back emf, then the speed:


[[File:Thomas_Davenport.jpg|thumb|Thomas Davenport]]
:<math>\mathcal{E}_{back} = V - IR = 12.0 - (2.0)(2.0) = 8.0\ \text{V} \quad\Rightarrow\quad \omega = \frac{\mathcal{E}_{back}}{k} = \frac{8.0}{0.050} = 160\ \text{rad/s}</math>


In the early 1800's, Orstead, Ampere, and Faraday laid down the foundation for building electric motors by introducing the basic principles of electromagnetic induction. In 1820, Orstead had confirmed that there was a relationship between electricity and magnetism. In the same year, Ampere invented the solenoid and discovered Ampere's Law, which helps describe magnetic fields produced by motors and solenoids. In 1821, Faraday successfully converted electrical energy into motion and created the simplest form of the electric motor. In 1832 however, William Sturgeon introduced the first ever commutator DC electronic motor, and later on in 1837, Thomas Davenport created a DC motor for commercial services and received the first US electric motor patent, which is why a lot of people associate him with the first person to invent the electric motor.
Powers:


== See also ==
:<math>P_{elec} = VI = (12.0)(2.0) = 24\ \text{W}</math>
:<math>P_{mech} = \tau\omega = (0.10)(160) = 16\ \text{W}</math>
:<math>P_{heat} = I^2R = (2.0)^2(2.0) = 8.0\ \text{W}</math>


[[Direction of Magnetic Field]]
Check: <math>16 + 8.0 = 24\ \text{W}</math>, so energy is conserved.


===Further reading===
:<math>\eta = \frac{16}{24} = 0.67 = 67\%</math>


"Electric Motor"
'''Takeaway:''' A heavier load slows the motor down. That lowers the back emf, which lets more current flow, which produces more torque. This self-adjusting behavior is why a motor that jams can overheat quickly: at stall it draws its maximum current (6.0 A here), and ''all'' of the 72 W goes into heating the coil.
https://en.wikipedia.org/wiki/Electric_motor#Early_motors


===External links===
==Connectedness==
#'''How is this topic connected to something that you are interested in?''' I did undergraduate research in a cardiovascular fluid mechanics lab on rotors for left ventricular assist devices (LVADs). An LVAD is a small implanted pump that helps a failing heart move blood. Its rotor is spun by a compact brushless DC motor, which is exactly the coil-plus-magnet physics on this page. The rotor is often magnetically suspended so it never touches the housing.
#'''How is it connected to your major?''' In biomedical engineering, motors and generators show up everywhere in device design: infusion and syringe pumps, surgical drills and robots, centrifuges, ventilators, and powered prosthetic limbs. Choosing a motor means trading off exactly the quantities in the model above: torque, speed, current draw, efficiency, and heat. Heat matters even more for implanted or wearable devices.
#'''Is there an interesting industrial application?''' Electric vehicles use a single machine as both motor and generator. When the driver accelerates, the battery drives the motor. When the driver brakes, the wheels turn the motor as a generator (''regenerative braking''). The induced current charges the battery, and the opposing magnetic torque slows the car. On a much larger scale, almost all grid electricity, whether from coal, gas, nuclear, hydro, or wind, comes from a turbine spinning a generator coil inside a magnetic field.


https://en.wikipedia.org/wiki/Electric_motor#Early_motors
==History==


http://www.howmotorswork.com/history.html
[[File:Thomas_Davenport.jpg|frame|Thomas Davenport, who received the first US patent for an electric motor in 1837 (public-domain 19th-century portrait).]]


==References==
*'''1820 – Hans Christian Ørsted''' noticed that a current-carrying wire deflects a nearby compass needle. This was the first evidence that electricity and magnetism are connected. André-Marie Ampère quickly built a mathematical description of the forces between currents.
*'''1821 – Michael Faraday''' built the first device that turned electrical energy into continuous motion, the "electromagnetic rotation" experiment. A current-carrying wire dipped in mercury circled around a fixed magnet.
*'''1831 – Faraday''' discovered electromagnetic induction (a changing magnetic flux induces an emf) and built the '''Faraday disk''', a copper disk spun between magnet poles. It was the first electric generator.
*'''1832 – Hippolyte Pixii''' built a hand-cranked generator that spun a magnet near coils. It produced alternating current, and a commutator was added to turn its output into DC. The same year, '''William Sturgeon''' built one of the first commutator DC motors that could drive machinery.
*'''1837 – Thomas Davenport''', a Vermont blacksmith, received the first US patent for an electric motor.
*'''1860s – Werner von Siemens''' and others developed the self-excited '''dynamo'''. It uses some of its own output current to power its electromagnets, which made large-scale generators practical.
*'''1888 – Nikola Tesla''' patented the AC induction motor. Along with AC generators and transformers, it helped make alternating current the standard for the power grid.


https://en.wikipedia.org/wiki/Electric_motor#Early_motors
== See also ==


https://en.wikipedia.org/wiki/Timeline_of_the_electric_motor
*[[Faraday's Law]]: the law behind every generator and the back emf in every motor
*[[Motional Emf]]: the force-on-moving-charges view of the generator emf
*[[Magnetic Flux]]
*[[Lenz's Law]]: why the generator's induced current opposes the rotation
*[[Magnetic Torque]]: the torque <math>\vec{\mu}\times\vec{B}</math> that drives a motor
*[[Magnetic Dipole Moment]]
*[[AC and DC]]
*[[Inductors]]: motor coils also have inductance, which matters when the current switches quickly
*[[Applying Magnetic Force to Currents]]


https://www.eti.kit.edu/english/1376.php
===Further reading===


http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/mothow.html#c1
*Feynman, R. P., Leighton, R. B., and Sands, M. ''The Feynman Lectures on Physics'', Vol. II, Ch. 16 ("Induced Currents"), which discusses motors and generators. Free online at feynmanlectures.caltech.edu.
*Ling, S. J., Sanny, J., and Moebs, W. ''University Physics Volume 2'' (OpenStax), Section 13.6, "Electric Generators and Back Emf." Free and openly licensed.


http://www.edisontechcenter.org/electricmotors.html
===External links===


http://www.howmotorswork.com/history.html
*[https://openstax.org/books/university-physics-volume-2/pages/13-6-electric-generators-and-back-emf OpenStax University Physics Vol. 2: Electric Generators and Back Emf]
*[http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/motdc.html HyperPhysics: DC Motor]
*[http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/genwir.html HyperPhysics: Generator]
*[https://phet.colorado.edu/en/simulations/generator PhET simulation: Generator] (interactive, free)
*[https://www.feynmanlectures.caltech.edu/II_16.html Feynman Lectures Vol. II, Ch. 16]


http://electronics.howstuffworks.com/motor3.htm
==References==


*Chabay, R. and Sherwood, B. ''Matter & Interactions'', 4th ed., Wiley. Chapters on magnetic torque and Faraday's law (used for the physics, no text or figures copied).
*Ling, S. J., Sanny, J., and Moebs, W. (2016). ''University Physics Volume 2''. OpenStax. https://openstax.org/books/university-physics-volume-2
*Nave, C. R. HyperPhysics, Georgia State University. http://hyperphysics.phy-astr.gsu.edu
*Feynman, R. P., Leighton, R. B., and Sands, M. ''The Feynman Lectures on Physics'', Vol. II. https://www.feynmanlectures.caltech.edu
*"Electric motor" and "Timeline of the electric motor," Wikipedia (used for historical dates).
*All diagrams and graphs on this page (Coil_in_field_topview_AJ.png, Generator_flux_emf_AJ.png, DC_motor_torque_AJ.png, Generator_model_animation_AJ.gif) and the GlowScript model are original work by the author.


[[Category:Which Category did you place this in?]]
[[Category:Faraday's Law]]

Latest revision as of 12:38, 20 November 2026

Claimed by Andrew Johnson, Fall 2026

This page explains how electric motors and generators work. Both are built from the same thing, a coil of wire that can spin inside a magnetic field. A motor uses the magnetic torque on a current-carrying coil to turn electrical energy into rotation. A generator does the reverse: it spins a coil so that the changing magnetic flux induces an emf (Faraday's law).

The Main Idea

A motor and a generator are the same machine run in opposite directions.

  • Motor: Push a current through a coil that sits in a magnetic field. The field exerts a torque on the coil's magnetic dipole moment [math]\displaystyle{ \vec{\mu} }[/math] and tries to line it up with [math]\displaystyle{ \vec{B} }[/math]. If nothing else happened, the coil would rock back and forth around the aligned position and stop, like a compass needle. To keep it turning, a motor reverses the current in the coil every half turn, just as the coil swings through the aligned position. In a simple DC motor a split-ring commutator does this automatically: two half-rings on the axle rub against fixed brushes, and they swap which brush touches which end of the coil every half revolution. Modern brushless motors do the same switching with electronics instead.
  • Generator: Turn the same coil with an outside source of mechanical work, such as a steam turbine, a water wheel, wind, or a hand crank. As it rotates, the magnetic flux through it keeps changing, and Faraday's law says a changing flux induces an emf around the loop. Because the flux rises and falls smoothly as the coil turns, the emf is sinusoidal. That is alternating current (AC), the kind that comes out of a wall outlet. A generator fitted with a commutator flips the output every half turn and produces a bumpy but one-directional (DC) output instead.

Energy is conserved in both directions. A spinning motor coil also has a changing flux through it, so it generates its own back emf that opposes the supply voltage. When a generator delivers current, the magnetic torque on that current opposes the rotation (Lenz's law), so whatever is turning the generator has to do work. A generator never makes energy from nothing. It converts mechanical work into electrical energy.

Top view of a coil rotating in a uniform field. The orange line is the coil seen edge-on; its two long sides (length h) point into the page and move with speed v = ωw/2. θ is the angle between the coil's normal (the direction of its magnetic moment) and the field. (Original diagram made by the author.)

A Mathematical Model

Model the rotor as a flat coil of [math]\displaystyle{ N }[/math] turns and area [math]\displaystyle{ A }[/math] (for a rectangle of width [math]\displaystyle{ w }[/math] and height [math]\displaystyle{ h }[/math], [math]\displaystyle{ A = wh }[/math]), in a uniform field [math]\displaystyle{ B }[/math]. Let [math]\displaystyle{ \theta }[/math] be the angle between the coil's normal [math]\displaystyle{ \hat{n} }[/math] and [math]\displaystyle{ \vec{B} }[/math].

1. Magnetic moment and torque (the motor). A coil carrying current [math]\displaystyle{ I }[/math] has magnetic dipole moment

[math]\displaystyle{ \vec{\mu} = NIA\,\hat{n} }[/math]

and the field exerts a torque on it:

[math]\displaystyle{ \vec{\tau} = \vec{\mu}\times\vec{B} \qquad\Rightarrow\qquad \tau = NIAB\sin\theta }[/math]

The torque is largest, [math]\displaystyle{ \tau_{max} = NIAB }[/math], when the plane of the coil is parallel to [math]\displaystyle{ \vec{B} }[/math] ([math]\displaystyle{ \theta = 90^\circ }[/math]). It is zero when the coil faces the field ([math]\displaystyle{ \theta = 0^\circ }[/math]). For a single loop with a commutator, [math]\displaystyle{ \tau \propto |\sin\theta| }[/math], and the average over a full turn is

[math]\displaystyle{ \tau_{avg} = \frac{2}{\pi}NIAB \approx 0.64\,NIAB }[/math]

Real motors use many coils set at different angles, which smooths the torque until it is nearly constant.

Torque on a single-loop motor. Without a commutator the torque reverses every half turn and the coil just oscillates. With a commutator the torque always pushes the same way. (Original graph made by the author.)

2. Flux and induced emf (the generator). If the coil spins at constant angular speed [math]\displaystyle{ \omega }[/math], then [math]\displaystyle{ \theta = \omega t }[/math] and the flux through all [math]\displaystyle{ N }[/math] turns is

[math]\displaystyle{ N\Phi_B = NBA\cos(\omega t) }[/math]

Faraday's law gives the emf:

[math]\displaystyle{ \mathcal{E} = -\frac{d(N\Phi_B)}{dt} = NBA\omega\sin(\omega t), \qquad \mathcal{E}_{max} = NBA\omega }[/math]

You get the same answer from the magnetic force on the moving charges (motional emf). In the top-view figure, each long side of length [math]\displaystyle{ h }[/math] moves at speed [math]\displaystyle{ v = \omega w/2 }[/math]. Only the part of the velocity perpendicular to [math]\displaystyle{ \vec{B} }[/math] matters, so each side contributes [math]\displaystyle{ vBh\sin\theta }[/math]. The two sides add:

[math]\displaystyle{ \mathcal{E} = 2\left(\frac{\omega w}{2}\right)Bh\sin\theta = \omega B(wh)\sin\theta = BA\omega\sin\theta \quad\text{(per turn)} }[/math]

The short sides contribute nothing, because the force on their charges points across the wire instead of along it. Notice that the emf is largest when the flux is zero (coil edge-on to the field) and zero when the flux is largest. The emf depends on how fast the flux is changing, not on how big it is.

Flux through the coil and induced emf for a generator turning at constant speed. The emf is 90° out of phase with the flux. (Original graph made by the author.)

3. Back emf and the motor circuit. A real DC motor has a supply voltage [math]\displaystyle{ V }[/math], a coil (armature) resistance [math]\displaystyle{ R }[/math], and a back emf that grows with speed. For an idealized multi-coil motor it is convenient to write [math]\displaystyle{ \mathcal{E}_{back} = k\omega }[/math] and [math]\displaystyle{ \tau = kI }[/math], using the same motor constant [math]\displaystyle{ k }[/math] (about [math]\displaystyle{ NBA }[/math]) in both. Then

[math]\displaystyle{ I = \frac{V - \mathcal{E}_{back}}{R} = \frac{V - k\omega}{R} }[/math]
  • At start-up ([math]\displaystyle{ \omega = 0 }[/math]) there is no back emf, so the current and torque are largest. This is the stall current [math]\displaystyle{ V/R }[/math].
  • With no load, the motor speeds up until [math]\displaystyle{ k\omega \approx V }[/math], so the no-load speed is [math]\displaystyle{ \omega_0 \approx V/k }[/math].

4. Power and efficiency. Mechanical power is torque times angular speed (or force dotted with velocity for straight-line motion):

[math]\displaystyle{ P_{mech} = \tau\omega \qquad \left(\text{or } \vec{F}\cdot\vec{v}\right) }[/math]

Energy conservation in the motor circuit says that electrical input equals mechanical output plus resistive heating:

[math]\displaystyle{ VI = \mathcal{E}_{back}I + I^2R \qquad\text{where}\qquad \mathcal{E}_{back}I = k\omega I = \tau\omega = P_{mech} }[/math]

so the efficiency is

[math]\displaystyle{ \eta = \frac{P_{mech}}{P_{elec}} = \frac{\tau\omega}{VI} }[/math]

For a generator driving a load resistance [math]\displaystyle{ R_L }[/math], the instantaneous electrical power is [math]\displaystyle{ \mathcal{E}I = \mathcal{E}^2/R_L }[/math]. That has to equal the mechanical power [math]\displaystyle{ \tau_{applied}\,\omega }[/math] supplied by whatever is turning the shaft. This is why a generator gets harder to turn when you connect a bigger load (more current means more opposing torque).

A Computational Model

The GlowScript model below spins a 200-turn coil in a 0.5 T field. At each time step it computes the flux, gets the emf numerically from Faraday's law ([math]\displaystyle{ \mathcal{E} \approx -\Delta(N\Phi_B)/\Delta t }[/math]), and plots it against the analytic prediction [math]\displaystyle{ NBA\omega\sin(\omega t) }[/math]. The red dots land on the black curve, which confirms the formula above. Try changing N, Bmag, w, h or f in the code and watch the peak emf scale with each one.

Output of the generator model. Left: the coil spinning in the field. Right: flux linkage (blue), emf computed numerically from Faraday's law (red dots), and the analytic prediction (black). (Original animation made by the author.)

Run it yourself: AC generator model on GlowScript.org (it runs right in your browser; click "Edit this program" there to change the parameters).

The full code is below. You can also copy it into a new program at glowscript.org and run it there.

Web VPython 3.2
# AC generator: a rectangular coil spinning in a uniform magnetic field.
# The program computes the flux through the coil at every time step and gets the
# emf NUMERICALLY from Faraday's law (emf = -d(N*Phi)/dt), then compares it with
# the analytic prediction emf = N*B*A*omega*sin(omega*t).

scene.title = "AC generator: coil rotating in a uniform magnetic field (drag with right mouse to rotate view)"
scene.width = 640
scene.height = 400
scene.range = 0.16
scene.forward = vector(-0.4, -0.5, -1)

# ---------------- physical parameters (edit these!) ----------------
Bmag = 0.5                  # field strength (T)
B = vector(Bmag, 0, 0)      # uniform field pointing in +x
N = 200                     # number of turns
w = 0.10                    # coil width (m)
h = 0.10                    # coil height (m), along the axle
A = w*h                     # coil area (m^2)
f = 1.0                     # rotation frequency (Hz) - kept slow so you can watch it
omega = 2*pi*f              # angular speed (rad/s)

# ---------------- scenery ----------------
box(pos=vector(-0.13, 0, 0), size=vector(0.04, 0.16, 0.16), color=color.red)    # N pole
box(pos=vector( 0.13, 0, 0), size=vector(0.04, 0.16, 0.16), color=color.blue)   # S pole
for y in [-0.05, 0, 0.05]:
    for z in [-0.05, 0.05]:
        arrow(pos=vector(-0.11, y, z), axis=vector(0.22, 0, 0), shaftwidth=0.002,
              color=color.gray(0.6), opacity=0.4)
cylinder(pos=vector(0, -0.09, 0), axis=vector(0, 0.18, 0), radius=0.002, color=color.white)  # axle

# coil corners in the coil's own frame (its normal points along +x when theta = 0)
corners = [vector(0, -h/2, -w/2), vector(0, -h/2, w/2), vector(0, h/2, w/2),
           vector(0, h/2, -w/2), vector(0, -h/2, -w/2)]
coil = curve(pos=corners, radius=0.003, color=color.orange)
normal = arrow(pos=vector(0, 0, 0), axis=vector(0.06, 0, 0), shaftwidth=0.004, color=color.yellow)
info = label(pos=vector(0, 0.125, 0), text="", box=False, height=12)

# ---------------- graphs ----------------
g1 = graph(title="Flux linkage and emf vs time", xtitle="t (s)", ytitle="N*Phi (Wb)  and  emf (V)",
           width=640, height=260)
flux_plot = gcurve(graph=g1, color=color.blue, label="N*Phi_B (Wb)")
emf_plot = gdots(graph=g1, color=color.red, size=3, label="emf from Faraday's law (V)")
pred_plot = gcurve(graph=g1, color=color.black, label="N B A omega sin(omega t) (V)")

# ---------------- time loop ----------------
t = 0
dt = 0.005
prev_flux = N*Bmag*A        # at t = 0 the coil normal is parallel to B
while t < 3:
    rate(100)
    theta = omega*t
    # rotate each corner of the coil about the y-axis (the axle)
    for i in range(len(corners)):
        coil.modify(i, pos=rotate(corners[i], angle=theta, axis=vector(0, 1, 0)))
    n_hat = rotate(vector(1, 0, 0), angle=theta, axis=vector(0, 1, 0))
    normal.axis = 0.06*n_hat

    flux = N*dot(B, n_hat)*A               # N * B * A * cos(theta)
    emf = -(flux - prev_flux)/dt           # Faraday's law, done numerically
    prev_flux = flux

    if t > 0:
        flux_plot.plot(t, flux)
        emf_plot.plot(t, emf)
        pred_plot.plot(t, N*Bmag*A*omega*sin(theta))
    info.text = "t = " + str(round(t*100)/100) + " s     emf = " + str(round(emf*100)/100) + " V     predicted peak = " + str(round(N*Bmag*A*omega*100)/100) + " V"
    t = t + dt

Examples

Simple

Problem: A generator coil has 200 turns, each with an area of 0.010 m². It spins at 60 revolutions per second in a uniform 0.50 T field. What is the maximum emf it produces?

Solution:

Convert the rotation rate to angular speed:

[math]\displaystyle{ \omega = 2\pi f = 2\pi(60\ \text{Hz}) = 377\ \text{rad/s} }[/math]

The peak emf occurs when the coil is edge-on to the field:

[math]\displaystyle{ \mathcal{E}_{max} = NBA\omega = (200)(0.50\ \text{T})(0.010\ \text{m}^2)(377\ \text{rad/s}) = 377\ \text{V} }[/math]

The output alternates between +377 V and −377 V sixty times per second. That frequency matches the 60 Hz power grid in the US.

Middling

Problem: A simple DC motor has a rectangular coil of 50 turns, measuring 4.0 cm × 5.0 cm, carrying 2.0 A in a uniform 0.30 T field.

  1. What is the maximum torque on the coil?
  2. What is the torque when the coil's normal makes a 30° angle with the field?
  3. With a split-ring commutator, what is the average torque over one revolution?

Solution:

[math]\displaystyle{ A = (0.040\ \text{m})(0.050\ \text{m}) = 2.0\times10^{-3}\ \text{m}^2 }[/math]
[math]\displaystyle{ \mu = NIA = (50)(2.0\ \text{A})(2.0\times10^{-3}\ \text{m}^2) = 0.20\ \text{A}\cdot\text{m}^2 }[/math]
  1. [math]\displaystyle{ \tau_{max} = \mu B = (0.20)(0.30) = 0.060\ \text{N}\cdot\text{m} }[/math], when the coil's plane is parallel to the field ([math]\displaystyle{ \theta = 90^\circ }[/math]).
  2. [math]\displaystyle{ \tau = \mu B\sin 30^\circ = (0.060)(0.50) = 0.030\ \text{N}\cdot\text{m} }[/math]
  3. [math]\displaystyle{ \tau_{avg} = \frac{2}{\pi}\tau_{max} = \frac{2}{\pi}(0.060) = 0.038\ \text{N}\cdot\text{m} }[/math]

A common mistake is to use [math]\displaystyle{ \cos\theta }[/math] here. The angle in [math]\displaystyle{ \tau = \mu B\sin\theta }[/math] is measured between the coil's normal (its [math]\displaystyle{ \vec{\mu} }[/math]) and [math]\displaystyle{ \vec{B} }[/math], not between the plane of the coil and [math]\displaystyle{ \vec{B} }[/math].

Difficult

Problem: A small DC motor runs from a 12.0 V battery. Its armature resistance is [math]\displaystyle{ R = 2.0\ \Omega }[/math] and its motor constant is [math]\displaystyle{ k = 0.050\ \text{V}\cdot\text{s/rad} }[/math] (so [math]\displaystyle{ \mathcal{E}_{back} = k\omega }[/math] and [math]\displaystyle{ \tau = kI }[/math]).

  1. Find the stall current and stall torque (the motor held so it cannot turn).
  2. Find the no-load speed.
  3. The motor drives a load that needs a steady torque of 0.10 N·m. Find the current, the operating speed, the mechanical output power, the heat lost in the coil, and the efficiency.

Solution:

(a) When the motor is stalled, [math]\displaystyle{ \omega = 0 }[/math], so there is no back emf:

[math]\displaystyle{ I_{stall} = \frac{V}{R} = \frac{12.0}{2.0} = 6.0\ \text{A}, \qquad \tau_{stall} = kI_{stall} = (0.050)(6.0) = 0.30\ \text{N}\cdot\text{m} }[/math]

(b) With no load, the motor needs almost no torque, so [math]\displaystyle{ I \approx 0 }[/math] and the back emf rises to nearly the full battery voltage:

[math]\displaystyle{ k\omega_0 = V \quad\Rightarrow\quad \omega_0 = \frac{12.0}{0.050} = 240\ \text{rad/s} \approx 2300\ \text{rpm} }[/math]

(c) At steady speed, the motor's torque equals the load torque:

[math]\displaystyle{ I = \frac{\tau}{k} = \frac{0.10}{0.050} = 2.0\ \text{A} }[/math]

Use the circuit equation to find the back emf, then the speed:

[math]\displaystyle{ \mathcal{E}_{back} = V - IR = 12.0 - (2.0)(2.0) = 8.0\ \text{V} \quad\Rightarrow\quad \omega = \frac{\mathcal{E}_{back}}{k} = \frac{8.0}{0.050} = 160\ \text{rad/s} }[/math]

Powers:

[math]\displaystyle{ P_{elec} = VI = (12.0)(2.0) = 24\ \text{W} }[/math]
[math]\displaystyle{ P_{mech} = \tau\omega = (0.10)(160) = 16\ \text{W} }[/math]
[math]\displaystyle{ P_{heat} = I^2R = (2.0)^2(2.0) = 8.0\ \text{W} }[/math]

Check: [math]\displaystyle{ 16 + 8.0 = 24\ \text{W} }[/math], so energy is conserved.

[math]\displaystyle{ \eta = \frac{16}{24} = 0.67 = 67\% }[/math]

Takeaway: A heavier load slows the motor down. That lowers the back emf, which lets more current flow, which produces more torque. This self-adjusting behavior is why a motor that jams can overheat quickly: at stall it draws its maximum current (6.0 A here), and all of the 72 W goes into heating the coil.

Connectedness

  1. How is this topic connected to something that you are interested in? I did undergraduate research in a cardiovascular fluid mechanics lab on rotors for left ventricular assist devices (LVADs). An LVAD is a small implanted pump that helps a failing heart move blood. Its rotor is spun by a compact brushless DC motor, which is exactly the coil-plus-magnet physics on this page. The rotor is often magnetically suspended so it never touches the housing.
  2. How is it connected to your major? In biomedical engineering, motors and generators show up everywhere in device design: infusion and syringe pumps, surgical drills and robots, centrifuges, ventilators, and powered prosthetic limbs. Choosing a motor means trading off exactly the quantities in the model above: torque, speed, current draw, efficiency, and heat. Heat matters even more for implanted or wearable devices.
  3. Is there an interesting industrial application? Electric vehicles use a single machine as both motor and generator. When the driver accelerates, the battery drives the motor. When the driver brakes, the wheels turn the motor as a generator (regenerative braking). The induced current charges the battery, and the opposing magnetic torque slows the car. On a much larger scale, almost all grid electricity, whether from coal, gas, nuclear, hydro, or wind, comes from a turbine spinning a generator coil inside a magnetic field.

History

Thomas Davenport, who received the first US patent for an electric motor in 1837 (public-domain 19th-century portrait).
  • 1820 – Hans Christian Ørsted noticed that a current-carrying wire deflects a nearby compass needle. This was the first evidence that electricity and magnetism are connected. André-Marie Ampère quickly built a mathematical description of the forces between currents.
  • 1821 – Michael Faraday built the first device that turned electrical energy into continuous motion, the "electromagnetic rotation" experiment. A current-carrying wire dipped in mercury circled around a fixed magnet.
  • 1831 – Faraday discovered electromagnetic induction (a changing magnetic flux induces an emf) and built the Faraday disk, a copper disk spun between magnet poles. It was the first electric generator.
  • 1832 – Hippolyte Pixii built a hand-cranked generator that spun a magnet near coils. It produced alternating current, and a commutator was added to turn its output into DC. The same year, William Sturgeon built one of the first commutator DC motors that could drive machinery.
  • 1837 – Thomas Davenport, a Vermont blacksmith, received the first US patent for an electric motor.
  • 1860s – Werner von Siemens and others developed the self-excited dynamo. It uses some of its own output current to power its electromagnets, which made large-scale generators practical.
  • 1888 – Nikola Tesla patented the AC induction motor. Along with AC generators and transformers, it helped make alternating current the standard for the power grid.

See also

Further reading

  • Feynman, R. P., Leighton, R. B., and Sands, M. The Feynman Lectures on Physics, Vol. II, Ch. 16 ("Induced Currents"), which discusses motors and generators. Free online at feynmanlectures.caltech.edu.
  • Ling, S. J., Sanny, J., and Moebs, W. University Physics Volume 2 (OpenStax), Section 13.6, "Electric Generators and Back Emf." Free and openly licensed.

External links

References

  • Chabay, R. and Sherwood, B. Matter & Interactions, 4th ed., Wiley. Chapters on magnetic torque and Faraday's law (used for the physics, no text or figures copied).
  • Ling, S. J., Sanny, J., and Moebs, W. (2016). University Physics Volume 2. OpenStax. https://openstax.org/books/university-physics-volume-2
  • Nave, C. R. HyperPhysics, Georgia State University. http://hyperphysics.phy-astr.gsu.edu
  • Feynman, R. P., Leighton, R. B., and Sands, M. The Feynman Lectures on Physics, Vol. II. https://www.feynmanlectures.caltech.edu
  • "Electric motor" and "Timeline of the electric motor," Wikipedia (used for historical dates).
  • All diagrams and graphs on this page (Coil_in_field_topview_AJ.png, Generator_flux_emf_AJ.png, DC_motor_torque_AJ.png, Generator_model_animation_AJ.gif) and the GlowScript model are original work by the author.