Skip to content

Speed regulator modes

Introduction

Speed regulator mode sets the primary control mode of the motor. The control can be based on speed or on torque. There are three modes:

  • 0 (Speed): the controller controls the motor to the commanded speed and changes the torque as necessary. Use this mode for applications that must keep a speed in different and changing conditions. This mode limits the speed. We do not recommend this mode for eBikes.
  • 1 (Torque): the controller controls the motor to the commanded current. It uses the current loop to control the motor. This mode does not limit the speed. The motor turns as fast as the available torque and the load permit.
  • 2 (Torque mode with speed limiting): the controller controls the motor to the commanded torque, as in torque mode, up to the speed limit. This mode limits the speed. As an option, the speed limit can change with the throttle position.

Configuration

Note

In firmware earlier than 6.023, speed mode in local control operates only at a switching frequency of 10000 Hz. The factory value is 13000 Hz. A switching frequency of 10000 Hz disables Bluetooth.

If Control command source is not 0 (Remote), and the firmware is earlier than 6.023, do these steps first:

  1. Enter 15350 in Parameter access code 1 to get user access level 1.
  2. Set Switching frequency to 10000 Hz.
  3. Save the parameters to flash.
  4. Restart the controller. Make sure that Switching frequency is 10000 Hz.

Then do these steps:

  1. Set Speed regulator mode to 0 (Speed).
  2. Set the speed limits. Refer to Speed limits.
  3. Save the parameters to flash.

In local control (for example throttle, pedal, or throttle with pedal), we recommend that you enable engine braking. Then the controller can apply motor braking to get the speed target. Refer to Engine braking.

WARNING

Be careful when you do tests in this mode. This mode does not limit the speed. Depending on the ramp rate and other tuning parameters, damage to your equipment can occur.

Set Speed regulator mode to 1 (Torque). This is the default value.

  1. Set Speed regulator mode to 2 (Torque mode with speed limiting).
  2. Set the speed limits. Refer to Speed limits.
  3. Optional: to make the speed limit change with the throttle position, enable Features2 bit 11 Throttle Mapping on speed for torque mode.

Note

The controller uses the speed limit for the active mode (Race mode or Street mode) and the active command. The throttle limits apply to the throttle. The PAS limits apply to all other commands. Refer to Alternate speed and power.