Electromagnetism

The push at the end of a pair of rails

A railgun is two metal rails, a sliding conductor across them and a very large current, and the push on the slider is half the inductance per metre times the current squared. The half is not a fudge. The slider sits at the end of two rails that stop, and a wire that stops gives exactly half the field of one that does not. Followed through, the same circuit pushes its own rails apart six times harder per metre than it pushes the projectile, stores as much energy in its field as it gives the projectile, and wastes less the faster it shoots.
15 min read 5 figures Fields, not forcesThe shape decides

Assumes: The field that wraps a current · The force between pieces of a current

The current that squeezes what carries it found that a current flowing along a column makes a field that wraps round it and pushes it inward, and that the push can crush a copper tube struck by lightning. The force between pieces of a current found that the force one piece of a circuit exerts on another has two correct values, and that only the force between complete circuits has ever been measured. A railgun is a circuit built to make one piece of itself move. It is the simplest electric machine there is — two rails, a bar lying across them, and a current — and it is worth taking apart, because almost every number in it comes out differently from the first guess.

Two rails and a bar

Current flows out along one rail, across the sliding bar, called the armature, and back along the other rail to the supply at the breech. Between the rails the two currents, flowing in opposite directions, make fields that add, a field pointing straight through the gap. The armature carries current across that field and is pushed along the rails, away from the breech. Nothing touches the projectile but the armature, there is no gas, and in principle the push can be as large as the current makes it.

How large? The quickest answer is energy. The circuit is a loop whose area grows as the armature moves, so its inductance grows: by L′L' for every metre of travel, a number fixed by the rails’ shape and spacing, about half a microhenry per metre for rails of practical proportions. Hold the current constant and move the armature a distance dxdx; the field’s energy 12LI2\tfrac12 LI^2 grows by 12L′I2 dx\tfrac12 L' I^2\,dx, and a careful account of the supply’s work shows that the armature receives exactly the same amount as mechanical work. So the force is

F=12 L′ I2.F = \tfrac12\,L'\,I^2.

For rails fifteen centimetres apart and an inductance gradient of 0.447 microhenries per metre, a current of 3.74 million amperes gives 3.13 meganewtons — enough to take a ten-kilogram projectile to 2.5 kilometres a second in ten metres of barrel, at an acceleration of thirty-two thousand times gravity, in eight milliseconds.

Where the half comes from

The energy argument gives the half without saying what it means. The field does.

The armature sits where the field has halved. The magnetic field halfway between two parallel rails carrying a current out along one and back along the other, against the distance along the barrel in units of the rails' spacing, as a fraction of the field between infinitely long rails. The rails end at zero, where the armature closes the circuit. A few spacings behind the armature the field is the full value: 98.5 per cent at two spacings back. At the armature it is exactly half, because each rail there is a wire that stops, and a wire that stops gives half the field of one that does not. Ahead of the armature it falls away: 15 per cent half a spacing in front. The current in the armature crosses this field and is pushed forward; the push is the current times the field it sits in, which is half the field behind it, and that is where the half in ½L′I² comes from.
Fig. 1 The field midway between two rails against position along the barrel, in rail spacings, as a fraction of the field between endless rails. Two spacings behind the armature it is 98.5 per cent; at the armature, exactly half; half a spacing ahead, 15 per cent.

Far behind the armature the rails look endless in both directions, and the field between them is the field of two long wires, the field that wraps a current twice over. At the armature the rails stop. A straight wire that stops contributes, at a point level with its end, exactly half of what an endless wire would, because by symmetry an endless wire is two half-wires meeting at that point and each contributes equally. Both rails stop at the armature, so the field at the armature is half the field behind it. The current in the armature crosses that half-field, and the force is the current times the field it actually sits in. The ½ in 12L′I2\tfrac12 L' I^2 is the half-field at the end of a wire — the same geometric half that makes the field at the mouth of a long solenoid half its interior value.

That reading also says where the force acts. The field falls from full to nearly nothing within a spacing or so of the armature, so the armature is pushed from behind by the field it has left in the barrel and is not pulled by anything ahead. In the language of the force read off a surface that touches nothing, the field behind the armature exerts a pressure B2/2μ0B^2/2\mu_0 on it, as a gas behind a bullet does, and ahead there is no field to push back.

The voltage a moving bar makes

The same physics read from the supply’s side gives the half a third way, and it shows what the supply has to do. A conducting bar moving across a magnetic field has a voltage induced along it, the field that makes the other in its simplest form: speed times field times length. For the armature that speed voltage is L′IvL'Iv, and it opposes the current, so the supply must raise its voltage as the armature gathers speed just to keep the current constant — on top of whatever the resistance needs. At 2.5 kilometres a second and 3.74 million amperes it is 4.2 kilovolts.

Voltage times current is power. The supply pushes 3.74 million amperes against 4.2 kilovolts of speed voltage at the muzzle, about sixteen thousand megawatts, while the armature receives the force times its speed, 3.13 meganewtons at 2.5 kilometres a second, eight thousand megawatts. Exactly half the power the supply delivers against the speed voltage goes into motion. The other half goes into the lengthening field, as the circuit that fights its own change found that any inductance stores what is pushed into it against its own induced voltage. Energy, field and induced voltage are three readings of one fact, and each insists on the same factor of two.

The figures also make plain why the currents are so large. The force grows as the current squared and only linearly with the inductance gradient, and the gradient is set by geometry within narrow limits: rails much further apart than they are thick give a larger L′L' but a field spread over a larger bore, with a heavier armature to span it. In practice every railgun runs at about half a microhenry per metre, and the only way to a larger push is a larger current. Three to five million amperes for a few milliseconds is a pulse of tens of gigawatts, comparable to the output of every power station in a large country, delivered from a bank of capacitors charged over seconds beforehand.

Who else is pushed

A force on one piece of a circuit has to be balanced somewhere, and in a railgun the balancing forces are larger than the useful one.

Where the forces in a railgun go. The magnetic forces on the four parts of a railgun circuit — rails 15 cm apart and 10 m long, modelled as conductors 7.4 cm thick, carrying 3.74 MA, the current that launches 10 kg at 2.5 km/s — each integrated from the field of the other three. The armature is pushed forward with 3.13 MN, which is ½L′I² for an inductance gradient of 0.447 μH/m. The breech, where the current turns at the back, is pushed backward by the same amount: the gun's recoil is a magnetic force on its own feed. Each rail is pushed outward, away from the other, by 189 MN over its length — 18.9 MN per metre, 6.0 times the whole forward push on every metre of barrel. The structure that holds the rails together carries far more force than the projectile ever feels.
Fig. 2 Forces on the parts of a railgun circuit, each integrated from the Biot–Savart field of the other three, for rails 15 cm apart and 10 m long at 3.74 MA: the armature forward 3.13 MN, equal to 12L′I2\tfrac12 L'I^2; the breech backward 3.13 MN; each rail outward 189 MN over its length.

The figure computes every force from the field of the rest of the circuit, segment by segment. The armature’s comes out as 12L′I2\tfrac12 L' I^2 to within the integration’s accuracy. The breech — the conductor at the back where the current turns from one rail into the other — sits in the field of the rails’ near ends and is pushed backward by the same amount. That is the gun’s recoil, and it is magnetic: the feed connections at the breech, not the rails, take the reaction to the projectile, and they have to be built to.

Which pieces of a circuit take a recoil was the subject of a long argument. Ampère’s own law of force between current elements, which the force between pieces of a current found agrees with the modern one for every closed circuit and disagrees for pieces, predicts forces along the rails themselves, pushing them lengthwise; in the 1980s it was proposed that railgun rails buckling and wires shattering in high-current experiments were evidence for those longitudinal forces. The totals are the same either way, because the circuit is closed, and the measured effects have generally been explained by heating, thermal stress and the ordinary transverse forces. What a railgun cannot do is settle the question by measuring a total.

The largest forces in the figure are neither of these. The two rails carry opposite currents, and opposite currents repel. Each metre of rail is pushed away from the other with nearly nineteen meganewtons — six times the entire forward push on the projectile, on every metre of the barrel.

Forward on the projectile, sideways on every metre. The forward push on the armature, ½L′I², and the outward push on one metre of one rail, against the current, for rails 15 cm apart. Both grow as the square of the current, so their ratio is fixed by the geometry: every metre of rail is pushed outward 6.0 times as hard as the projectile is pushed forward. At 1 MA the projectile gets 0.22 MN and each metre of rail 1.35 MN; at 3.7 MA, 3.1 and 18.9. The forward force is the useful one and it is the difference between two large pressures, the field's push on the armature and nothing ahead of it; the sideways force is the field's pressure on the rails themselves, which nothing balances except the barrel's structure.
Fig. 3 The forward push on the armature and the outward push on one metre of one rail against current, for rails 15 cm apart. Both rise as the square of the current, in a fixed ratio of 6.0: at 1 MA, 0.22 MN forward and 1.35 MN per metre sideways; at 3.7 MA, 3.1 and 18.9.

Both forces go as the square of the current, so their ratio is fixed by geometry alone and no increase of current improves it. The forward force is the field’s pressure on the small area of the armature; the sideways force is the same pressure acting on the whole length of both rails. A railgun barrel is therefore mostly structure: rails clamped between massive insulating and steel containment, preloaded so that the rails do not separate from the armature as the pulse arrives, because a gap of a fraction of a millimetre opens an arc. The squeeze in the current that squeezes what carries it and the spread here are one force seen from inside and outside the current: parallel currents attract and pinch a column; opposite currents repel and burst a barrel.

The energy left behind

Constant-current operation has a cost that is easy to miss, and it has nothing to do with resistance.

Where the energy of a launch goes. The energy delivered to a railgun at a constant 3.74 MA, launching 10 kg along 10 m of rails at 2.5 km/s, against the armature's position, stacked: the projectile's kinetic energy, the magnetic energy stored in the lengthening circuit behind it, and the heat in rails of 50 μΩ per metre of barrel. At the muzzle the projectile carries 31.3 MJ. The field behind it holds exactly as much, 31.3 MJ, because at constant current a lengthening inductor stores as much energy as it does work. The rails have absorbed 18.7 MJ in 8.0 ms. So the supply delivers 81.2 MJ for 31.3 in the projectile, 39 per cent, and the 31.3 MJ in the field is released at the muzzle when the armature leaves, unless the circuit is made to give it back.
Fig. 4 The energy delivered at a constant 3.74 MA during a 10 kg launch to 2.5 km/s along 10 m, stacked against armature position: kinetic 31.3 MJ at the muzzle, the field behind the armature another 31.3 MJ, heat in rails of 50 μΩ per metre 18.7 MJ — 81.2 MJ supplied, 39 per cent to the projectile.

As the armature moves the circuit lengthens, and at constant current the supply must deliver energy for two purposes: the work done on the armature, 12L′I2 dx\tfrac12L'I^2\,dx, and the growth of the field’s own energy, another 12L′I2 dx\tfrac12L'I^2\,dx. The two are always equal. When the armature reaches the muzzle, the barrel behind it is full of field holding exactly the projectile’s kinetic energy — 31.3 megajoules here. Where the energy of a field is answered the question of where: in the space between the rails, at B2/2μ0B^2/2\mu_0 per cubic metre. It is the same bookkeeping that makes charging a capacitor from a fixed voltage lose half the energy drawn, and it has no loss in it; the energy is still there.

What happens to it is the problem. When the armature leaves the rails the circuit opens. The current, carried by a huge inductance, refuses to stop, and an arc forms between the rail ends and the departing armature, through which the field’s energy is discharged as light, heat and noise. The fireball at a railgun’s muzzle is largely the barrel’s stored field, released in a millisecond. Practical systems drive the rails from capacitor banks through pulse-forming circuits whose current falls during the shot, so that less field is left behind, or divert the current through a shunt near the muzzle, and the most efficient designs try to steer the stored energy back to the supply. None of that changes the principle: a constant current can never deliver more than half of what it supplies.

The resistive loss is real too. Rail resistance multiplied by the current squared, integrated over the shot, came to 18.7 megajoules in the figure for a stated rail resistance of fifty microhms per metre of barrel — the current crowds into a thin layer of the rails’ facing surfaces during so short a pulse, so the effective resistance is far higher than the copper’s cross-section suggests. In the figure’s ledger, 39 per cent of the energy supplied ends in the projectile.

A gun that likes being fast

The resistive loss behaves in a way that makes the railgun unlike any other launcher.

A gun that wastes less the faster it shoots. The share of the supplied energy that reaches the projectile, against muzzle speed, for a constant-current launch along 10 m of rails of 50 μΩ per metre with L′ = 0.447 μH/m. The heat in the rails, relative to the kinetic energy, is 4R′L/3L′v: the current needed rises with speed, but the time it flows falls, and the heat grows only as the speed while the kinetic energy grows as its square. With the field's energy thrown away at the muzzle the share climbs towards a half and never passes it: 29 per cent at 1 km/s, 39 at 2.5, 45 at 7. With the field's energy recovered it climbs towards one: 40, 63 and 82 per cent. A chemical gun works the other way, its efficiency falling as the speed approaches what its expanding gas can follow.
Fig. 5 The share of supplied energy reaching the projectile against muzzle speed, for a 10 m barrel at constant current: with the field’s energy discarded it rises towards one half, 29 per cent at 1 km/s, 39 at 2.5, 45 at 7; with it recovered, towards one, 40, 63 and 82 per cent.

To reach a higher speed in the same barrel the current must be larger, and the heat goes as the current squared — but the current flows for less time, since the shot is over sooner, and the heat in rails whose energised length grows as the armature advances comes out proportional to the muzzle speed. The kinetic energy is proportional to its square. So the ratio of heat to kinetic energy falls as 4R′L/3L′v4R'L/3L'v, and the faster the gun shoots, the smaller the fraction lost. With the field’s energy discarded the efficiency creeps up towards one half; with it recovered, towards one.

The same formula says something less welcome about length. At a fixed muzzle speed, the heat in the rails is proportional to the barrel’s length: a longer barrel needs a smaller current, but it keeps that current flowing for longer through more rail, and the second effect wins. Halving the barrel halves the resistive loss — at the price of a current larger by the square root of two, a peak force twice as large on the projectile and on every metre of rail, and a contact that must carry the larger current. Every railgun design is a compromise among these, struck where the rails and the armature can survive, and none of the compromises touches the field’s half.

A chemical gun runs the other way. Its projectile is pushed by expanding gas, and gas can follow a receding projectile only so fast — the speed at which it can expand into the space behind is limited by its own sound speed and temperature — so as the projectile approaches that speed the gas does less and less work on it and the efficiency falls. Powder guns rarely exceed two kilometres a second; light-gas guns, using hydrogen for its high sound speed, reach about seven at great expense. The electromagnetic gun has no gas to outrun, and that is the whole reason for building one.

Where the rails give out

What limits a railgun in practice is not any of the forces or energies above but the contact between the armature and the rails. A solid metal armature must slide at kilometres a second while carrying millions of amperes across a contact patch a few centimetres long. The current density at the contact reaches billions of amperes per square metre, and at high speed the current cannot spread into the fresh rail ahead quickly enough: the time for a current to diffuse into a conductor grows with the square of the depth, the armature moves on before it has, and the current crowds into the trailing edge of the armature, melting it. Above roughly two to three kilometres a second solid armatures tend to lose contact and form an arc, and the arc erodes the rails. Guns built with deliberately plasma armatures — an arc pushing a projectile, rather than a sliding bar — have reached speeds above five kilometres a second in laboratories, at the cost of rails eroded on every shot.

The United States Navy’s programme fired a ten-kilogram-class projectile with about thirty-three megajoules of muzzle energy in 2010, the energy scale of the figures here, and was shelved in 2021. The obstacle was the barrel’s life: rails that must be replaced after a few hundred shots, or fewer, cannot compete with guns whose barrels last thousands. The physics of the push works exactly as the figures say. The engineering of the sliding contact has not been made to.

What the filament picture leaves out

The figures model each rail as a thin filament carrying the whole current along its centre, a conductor 7.4 centimetres thick for the purpose of excluding its own field. Real rails are wide, flat bars whose current crowds onto their facing surfaces and corners within the microseconds of the pulse, and their inductance gradient is computed from that distribution by solving for the field in the bore, typically 0.4 to 0.6 microhenries per metre; the filament model reproduces the value but not the distribution of force across the rail’s face, which is where the rail actually yields. The armature’s force is computed at the instant its current has fully established; in a real shot the current rises over a millisecond and its distribution in the armature evolves with speed. Friction, air ahead of the projectile and the armature’s own resistance are left out. And the energy figures assume a constant current, which is the simplest case and not what any real supply delivers.

None of these touches the three results the figures are for: that the armature is pushed by half the field behind it, that the rails are pushed apart many times harder per metre than the projectile is pushed forward, and that at constant current the field keeps as much energy as the projectile receives. The domain is a circuit whose current changes slowly compared with the time light takes to cross it, so that the magnetostatic field of the moment governs every force — true for a pulse of milliseconds across a barrel of metres by a factor of a hundred thousand.

Still open: whether a sliding contact can survive

The unsolved problem of the railgun is a materials problem with an electromagnetic cause. A contact that carries a few million amperes, slides at a few kilometres a second, and leaves the rail it touched fit for the next shot has not been built, and what limits it — the velocity skin effect concentrating current at the armature’s trailing edge, melting and wear at the interface, the onset of arcing as the contact pressure falls behind the armature — is understood qualitatively and modelled with large simulations whose predictions of the transition speed still disagree with measurement by tens of per cent. Whether augmented designs, with extra conductors that strengthen the field without raising the armature’s current, or distributed feeds that energise only the section of rail near the armature, can push the transition past the speeds that would make the gun worth its structure, is being tested one barrel at a time.

The machine itself is entirely understood. A railgun’s armature sits at the end of two rails, where each rail’s field has fallen to half, so it is pushed by 12L′I2\tfrac12 L'I^2 — 3.13 MN at 3.74 MA for rails 15 cm apart — while the breech takes an equal recoil, the rails are pushed apart by six times that force on every metre, and at constant current the field behind the armature ends up holding exactly the energy the projectile carries. It is a gun with no gas and therefore no gas speed limit, and the only part of it that physics has not yet made work is the part where metal slides on metal.

Part 8 of 8

This essay is one argument about Ampere law. The others:

The objects named here

The third axis, after the field and the reading path: the things themselves, and every essay that touches each one.

Biot savart lawEfficiencyInductanceThe Lorentz forceMagnetic energyMagnetic pressureNewtons third lawRecoil