Abstract The stability of the power repair equipment guarantees the reliability of the repair of electrical equipment. The following problems exist in the power supply of the emergency equipment: the load equipment randomly cuts in the power supply network; load equipment requires fast dynamic performance of the power supply. This challenges the stability of the portable power supply with the Flyback converter as the core. In this paper, an optimal feedback control strategy based on linear quadratic regulator (LQR) theory is proposed to improve the dynamic and steady-state performance of the Flyback converter. First, the state-averaged space model of the Flyback is derived and established. Second, an output voltage feedback integral controller is introduced to eliminate the steady-state error of the output voltage. Next, according to the LQR optimal control theory, the control model of the Flyback converter has been established, and the parameter design of the controller has been carried out by obtaining the optimal feedback gain matrix of the system. Finally, the simulation models are implemented with an output power of 120 W and a switching frequency of 50 kHz. The simulation results prove that the LQR controller provides superior performance than the traditional PI controller.