This paper presents a dead-beat control algorithm for Uninterruptible Power Supply (UPS) applications of single-phase inverters. The proposed control method requires the measurement of capacitor current and output voltage in order to keep the output voltage sinusoidal ensuring high dynamic performance even under load changes. The dead-beat controller optimizes the behavior of the system by eliminating the error between the output and the reference voltage without increasing the number of current sensors, which are costly, and eliminates load voltage distortions and restores the system state in the event of external shutdown-loop road interference. In this paper, we propose a capacitor current estimation based on the Luenberger observer. Processor-In-the-Loop (PIL) is a test method that allows us to create and evaluate controllers by running built-in C code on the DSP scheduled for the controller during simulated PSIM power phase control. It can be seen that the simulation results match the PIL test results, which proves the validity of the proposed controller.