Test · 2023-03-02
Generating electricity with any solenoid
Can an ordinary solenoid be run in reverse as a generator?
Yes. A solenoid is a coil with a plunger; swap the iron plunger for a magnet and move it through the coil and the coil produces an alternating voltage. Voltage scales with turns, magnet strength and speed, so the trick is a strong magnet, a fast stroke and a coil gap the length of the magnet so flux changes fully every pass. This is the alternator in every engine on this site.
- Kind
- Test
- Status
- Built
- Date
- 2023-03-02
- Coil
- Any solenoid winding
- Mover
- NdFeB magnet in place of the plunger
- Output
- AC at stroke frequency
- Used on
- Every diaphragm alternator on the site
Video
What it is
How to turn an ordinary push-pull solenoid into a linear alternator: remove the plunger, drive a neodymium magnet through the bore, and take AC off the coil leads.
Results
- →Any solenoid coil works; the plunger is the only part that changes.
- →Output is AC at the stroke frequency; a bridge rectifier and capacitor give DC.
- →More turns raise voltage but also coil resistance; the useful power peaks when the load resistance equals the coil resistance.
- →A magnet that fully enters and leaves the coil each stroke gives the largest flux change — which is why the coil-to-diaphragm gap on the engines equals the magnet length.
Lab notes
The physics
Faraday's law: the voltage across a coil equals the number of turns times the rate of change of magnetic flux through it, E = −N·dΦ/dt. A magnet entering the coil raises the flux, leaving it drops it, so each stroke gives one positive and one negative pulse. Nothing about the coil knows whether it was sold as an actuator or a generator; the same winding does both.
Making it useful
- Neodymium magnet sized to the bore with a little clearance; iron plungers won't work, they have no field of their own.
- Non-conductive bobbin, or the moving magnet induces eddy currents that brake it (see the aluminum spool entry).
- Match coil resistance to the load: a 10 Ω coil delivers its maximum power into a ~10 Ω load.
- Stack coils in series for voltage, in parallel for current — the engines use tri-clamp alternator modules for exactly this.
Build it from exact parts
The parts I use here are on Xem Studio as exact-dimension STEP/STL with mating features, free. Point your AI at it with these steps.
Questions about this one? Ask in the Discord. It's the fastest way to reach me.


