Instructions
Modify your electromagnetic generator by fixing the rotor between the two poles inside the stator. Add a take-off to the rotor and connect it to a wheel, gear system or belt to adjust torque levels.
Wrap the two bars that make up the stator's frame with aluminum or copper. Connect the input coil to the switching circuit, and hook the output coil to the recovery circuit.
Turn the generator on. The spinning of the rotor will generate back EMF. The connections you made between the coils and the circuits will send this power back to the battery, recharging it instead of dissipating it.