The Stirling engine is an external combustion engine with four internal closed cycles. The heat energy in the combustion chamber is converted into mechanical energy for driving the engine block through the working fluid. The generator is connected to the crankshaft of the Stirling engine to achieve stable power output.