An improved SVPWM algorithm is proposed. Both sector and uniform vector duration formulae can be confirmed only according to the input three-phase reference voltage. It needs on any complex coordinate transformation, trigonometric function computation, is simple to programming and has better real-time. The validity of the proposed algorithm is demonstrated by the simulation and experimental results.