Nowadays in the power system, the main load is inductive and power factor are generally low. Inductive load not only absorb a certain amount of active power but also absorbed the reactive power at the same time, resulting the grid voltage dropped, and causing waste energy. Through the capacitor switching control for reactive power compensation, the power factor and the quality of the grid voltage can be improved. In the domestic and foreign capacitor switching conventional ways, there still exist a certain impact and surge which damage to the equipment and can’t meet the requirements of social development. Therefore, this paper propose a way that switching capacitor based on power compensation controller, realizing switch without surge and impact. In the MATLAB / SIMULINK environment, the simulation results demonstrate the correctness of the design. Finally, we make an experimental prototype, and the results show a good stable property with the thyristor switching capacitor based on power compensation controller.