Speed control

A higher-level speed control loop that has to be parameterized accordingly is always used for speed control.

If the control mode is operated without an encoder, the actual speed of the motor is calculated by the control mode.

If an encoder is used, the angle information of this encoder is used for the control mode. The actual speed of the motor is calculated from this encoder. The maximum dynamics of the speed control loop are reached with a high-resolution encoder.