Model Predictive Control (MPC) is a typical method of Voltage Source Inverter (VSI), which is used to control the constant frequency modulation. In this paper, we use statistical methods to study the relationship between the sampling time of MPC and the tracking error (variance). The function relationship is the basis of research and solves the optimization problem of inverter switching. The simulation results show that the sampling time and tracking error are linear relationship.