Skip to main content
Version: 3.0.x

Driver mode

This is shared for all families and all algorithms.

tip

For easy explanation, the following modes are described for the brushed DC motor.

Schematic for DC motormodenameDescription
mode_00freewheel (FRW)Motor freewheels, preferably by disconnecting from the drive. A current can be present due to automatic field weakening, but, the torque is never generated. Motor neither accelerates, nor brakes.
mode_11voltage (VLT)By setting the specified voltage, a stable speed of the shaft is usually achieved. The torque (and required current) is determined by the load. Torque (current) can be only limited (not controlled) by the user. Motor can accelerate and brake.
mode_22current (CRT)By setting the specified current, a stable torque of the motor is usually achieved. The speed is determined by the load and could be only limited (not controlled). Motor can accelerate and brake.
mode_33voltage + freewheel (VLF)By setting the specified voltage, a stable speed of the motor is usually achieved. The torque (and required current) is determined by the load. Torque (current) can be only limited (not controlled) by the user. Motor can accelerate but can not brake, unless the sign of the required voltage is changed.
mode_44voltage brake (VLB)This mode is the inversion of the mode 3. The motor freewheels from zero RPM until it reaches the specified voltage. After that, currents starts to flow into the battery and motor starts to brake. Motor can not a accelerate in this mode, only brake.
mode_55stator current (SCR)Similar to mode 2, but the total amplitude of stator current is demanded (not only the Qcomponent as if mode 2). (in BLDC, this mode reduces to mode 2)
mode_66torque (TRQ)This mode is similar to mode 2, but the driver attempts to control the real torque (with regards to variable flux with d-axis control). (in BLDC, this mode reduces to mode 2)
mode_88brake (BRK)Brake with constant current. Similar to mode 2, but current has always the direction to generate brake torque. The motor in this mode never accelerates.
mode_99brake torque (BRT)Similar to mode 8, but real torque is calculated from motor parameters. Real torque (not current) is regulated as in mode 6. (in BLDC, this mode reduces to mode 8)
mode_1010brake + freewheel (BRF)Unidirectional brake with constant torque. For one direction is same as mode 8, for other direction, the motor freewheels.
mode_1515brake short (BRS)Speed-dependent brake. Brake torque is proportional to motor speed. The higher speed, the higher brake torque. The motor in this mode never accelerates.

If you set non-existing mode, the driver will set freewheel mode.

Extended modes

You can add these bit to previous standard modes to enable extended modes. This will engage the PID loop on top.

BitName
4Speed loop
5Position loop

More about extended modes