Educational

How AEGs and HPA work

An AEG winds a spring with a little electric motor. An HPA rifle fires on air from a tank. Here’s what happens inside each, shot by shot in 3D, what sets the power and the rate of fire, and a lab to build your own.

Above: one shot from an AEG, slowed right down.

Start the explainer
Difficulty
Easy
Tools
None
Reading time
4 min

One spring, one puff of air

Most airsoft rifles are AEGs: automatic electric guns. A battery spins a small motor, and the motor turns a set of gears that wind back a spring.

When the spring lets go, it slams a piston forward and squashes a puff of air out through the nozzle behind the BB. That puff fires the shot.

Then the gears go round again for the next one, somewhere around 15 to 30 times a second on full auto. Here it is slowed right down, with the moving parts in gold.

The motor and the gears

The motor sits in the grip. A small gear on its tip, the pinion, turns the bevel gear above it.

The bevel gear turns the spur gear, and the spur gear turns the sector gear. Each step slows the spin down and adds force.

On a standard set, the motor turns about 18 times for every turn of the sector gear, and one turn of the sector gear is one shot.

Winding the spring

The sector gear only has teeth part of the way round. They catch the teeth along the bottom of the piston and drag it back, squashing the spring behind it.

At the same time a cam on the sector gear pulls the tappet plate back. The plate takes the nozzle with it, and the next BB pops up from the mag.

The nozzle springs forward again and pushes the BB into the hop-up rubber, while the piston carries on back until the spring is fully squashed.

The spring lets go

When the last tooth on the sector gear slips past the piston, there's nothing left holding it back.

The spring slams the piston forward and squashes the air in the cylinder into a sharp puff, out through the nozzle.

The puff shoves the BB through the hop-up, which sets it spinning backwards, and on down the barrel. A stronger spring makes a harder puff.

Semi or full

Pulling the trigger closes a pair of contacts, or tells a small electronic switch called a MOSFET to, and the motor runs.

On semi, the sector gear pushes a cut-off lever at the end of each turn, and the lever lifts the contacts apart. One pull, one shot.

On full, the selector holds the lever out of the way, so it keeps cycling for as long as you hold the trigger. An anti-reversal latch stops the gears spinning backwards under the spring.

Spring, battery and gears

The spring sets the power. As a rough rule, a spring's number is about its speed in metres per second with a 0.20 g BB: an M100 gives around 100 m/s, or 330 fps. Check it against your site's limit.

The battery and gears set the rate of fire. An 11.1 V battery or faster gears spin it round quicker. Check your gun can take 11.1 V first, as many need a MOSFET.

A strong spring needs torque to pull it. Put one behind high speed gears on a 7.4 V battery and the motor struggles, which is why stronger builds use torque gears.

HPA: air from a tank

HPA means high pressure air. Instead of a gearbox, the rifle runs on air from a tank filled to 3,000 or 4,500 psi.

A regulator on the tank steps that down to a steady low pressure, usually somewhere around 100 psi for field limits. You set it to suit your site.

A line carries the air to the rifle, usually up through the grip, and on to the engine that sits where an AEG's gearbox would be.

Inside the engine

Pull the trigger and the fire control unit, a small circuit board run off a little battery, opens an electric valve called a solenoid. Air pushes the nozzle forward and loads the BB into the hop-up.

Then the poppet valve opens for a few thousandths of a second, called the dwell, and a measured puff of air fires the BB.

The valves close, the nozzle comes back, and the next BB pops up. Some engines use one solenoid for both jobs, others use two.

Turn the screw

Power is set by the regulator. Turn its screw up for more pressure and more power, or down for less, with no parts to change.

Every shot gets the same pressure, so shots barely vary. That's much tighter than an AEG, whose spring varies a little from shot to shot.

Air doesn't care much about the cold, unlike gas. Sites will chrono you at your setting, and many ask for a locked regulator.

Build one yourself

Pick an AEG or HPA and set it up, then fire a burst. Watch the power of every shot against the limit.

Power

--J

Type
Spring
Battery
Gears

A model, not a promise. It assumes a typical M4 where a spring's number is roughly its speed in metres per second with 0.20 g BBs, and an HPA engine that shoots 1 joule at 100 psi. Real guns vary, so chrono your own.

The short version

  • An AEG winds a spring. A battery spins a motor, the gears turn the sector gear once per shot, and its teeth drag the piston back until the spring lets go.
  • The spring sets the power. The battery and gears set how fast it fires, not how hard.
  • HPA fires on air from a tank. A regulator steps the tank's pressure down, and a solenoid lets a measured puff out behind each BB.
  • The regulator sets HPA's power. Same pressure every shot, so it's very consistent and shrugs off the cold.
  • Look after your tank. Carbon fibre tanks need testing every 5 years and retire at 15. Aluminium ones need testing every 10.
  • Chrono it either way. With your BB weight, whenever you change a spring or the regulator. Here's how to chrono.

Where the numbers come from The lab is our own simple model of a typical M4: a spring's number is roughly its speed in metres per second with 0.20 g BBs, and the HPA engine shoots 1 joule at 100 psi. Real guns vary, so trust your chrono.