Free piston engines are characterised by a floating piston unit whose movement is not defined by a crank mechanism. The piston unit in free-piston linear generators travels between two compression spaces. An air-fuel mixture is ignited in one of these spaces.