The paper examines a series of speed control algorithms for a synchronous permanent magnet motor in sliding mode, providing asymptotic stability of the first, second, and third order. In the sliding mode, the control system exhibits properties that are unattainable with classical continuous control algorithms. The control algorithms are developed based on the inverse dynamics method combined with the minimization of local instantaneous energy functionals. The key idea of the method lies in the reversibility of the direct Lyapunov method for stability analysis. The closed-loop control system has a predefined Lyapunov function, represented by the instantaneous energy. Notably, the control algorithms do not require knowledge of the object's parameters or differentiation operations, which facilitates their practical implementation. The regulator parameters consist solely of coefficients used to specify the desired duration and shape of current and motor speed transient processes. The vector speed control system comprises two controllers for the stator current components and the motor speed controller. All regulators operate in sliding mode. The output signals of the stator current component controllers and speed vary discontinuously from maximum to minimum values. Simulation results demonstrate the effectiveness and high-quality performance of the control algorithms. To determine the control performance indicators for the three synthesized speed controllers, the motor startup trajectory is formed from characteristic segments of constant, linearly increasing, and parabolic signals. The speed control algorithm with a first-order asymptote ensures zero tracking error only for a constant reference signal. With a linearly increasing reference signal, the steady-state relative tracking error is 2,5 %, while for a parabolic reference signal, the error varies between zero and 2,5 %. The second-order asymptotic speed control algorithm ensures zero steady-state tracking error for constant and linearly increasing reference signals, and for a parabolic reference signal, the steady-state relative tracking error is 0,125 %. The third-order asymptotic speed control algorithm ensures zero steady-state tracking error for constant, linearly increasing, and parabolic reference signals, with a maximum dynamic relative tracking error of 0,05 %.