The opposed-piston free piston engine generator (FPEG) has unique advantages because of its symmetrical structure and the cancellation of cylinder head. In this paper, a novel method which combines low frequency operation test with high frequency operation simulation is proposed to study the generation performance of linear generator in the full frequency operation range. The influences of operation frequency, stroke, power angle and load current on the generation performance of linear generator are analyzed. The results show that the resistive load can not efficiently absorb the electric energy generated by the linear machine, the system shows a small increase in power generation efficiency at high operation frequency, but exhibits a rapid upward trend in low-speed condition. When the generator operates under the rated condition of the opposed-piston FPEG, the generating power can reach 5 kW, and the generating efficiency is higher than 80%. Increasing the operation frequency can further improve the generating power of the generator due to the increasing energy input.