Unbalanced loads are extremely prevalent in the real systems, and they create power quality issues for the UPS system. To address this problem, this work provides an optimal voltage control scheme for a three-phase inverter using the linear matrix inequality method. In addition, the purpose of this controller is to provide a well-balanced three-phase sinusoidal voltage regardless of the imbalance of the loads. This symmetrical component-based controller features two paralleled voltage controls, such as a positive sequence to regulate output signals and a negative sequence to get rid of unbalanced voltages. Along with that, the optimization problem is formulated such that the convergence rate is maximized as a way to obtain the output voltage as swiftly as possible. PSIM is used to carry out the simulation, and MATLAB is utilized to assist in determining the optimal control gain for the state feedback and integral control of each sequence. The control algorithm is then deployed utilizing an in-house designed control board together with TMS320F28335 digital signal processor. To determine the efficacy of the proposed control, simulation and experiment results are compared to those of an optimal controller without a negative sequence.