Skip to content

Assist levels

Introduction

Assist levels let the rider change the maximum power and speed. The display or buttons that you use set how the rider changes the level.

Example of assist level display or interface

The assist level sets two values:

  • assist level (address 339) limits the output current or power.
  • assist speed limit (address 329) limits the active speed limit, in a speed-limiting mode.

The range of the two values is 0 to 1.0 pu, that is, 0% to 100% of the active power limit or speed limit.

Assist mode source configuration

Set Assist mode source to the source that you use. Then do the steps in the applicable tab.

assist level and assist speed limit are always 1.0 pu.

Note

The analog input range is 0 V to 5 V. Usual devices are the JT405 and potentiometers.

At Assist low voltage reading, the controller uses Assist gain 1 and Assist speed 1. Between the low and high voltages, the assist increases linearly to 100% at Assist high voltage reading.

In firmware 6.026 and earlier, the analog assist input is always Brake 2. In firmware 6.027 and later, Analog Assist Source (address 2314) selects the input: 0 (Brake2), 1 (Brake1), 2 (ABMS) or 3 (Throttle). The default is 0 (Brake2).

  1. Connect the analog assist device to the analog input that you use. In firmware 6.026 and earlier, use Brake 2.
  2. Set Assist mode source to 1 (Analog).
  3. Firmware 6.027 and later: set Analog Assist Source to the input that you use.
  4. Monitor the voltage of that input (for example brake 2 voltage) to read the voltage of each assist level.
  5. Set the assist device to its lowest level (level 0, no LEDs on). Enter the voltage in Assist low voltage reading.
  6. Set the assist device to its highest level (level 3). Enter the voltage in Assist high voltage reading.

The controller uses Assist gain 1 to Assist Gain 3 and Assist speed 1 to Assist Speed 3 as three points. It interpolates assist level and assist speed limit between these points.

Note

Usually, displays send a PWM value, but the values are not always the same between displays. Thus, the levels of a display with 3 assist levels can be different from the values that you set. The controller can interpolate between them.

A display with more than 3 assist levels also uses interpolation. For example, with 5 assist levels:

  • Level 1 usually uses Assist gain 1 and Assist speed 1.
  • Level 2 uses a value between Assist gain 1 and Assist gain 2, and between Assist speed 1 and Assist speed 2.

If the display sends a PWM value, assist level 0 sets assist level and assist speed limit to 0 pu.

Write the values to Display assist level command and Display speed limit command.

  1. Set Assist gain 1 to Assist Gain 9 and Assist speed 1 to Assist Speed 9.
  2. Write a value from 0 to 9 to Remote assist mode. The value 0 sets assist level and assist speed limit to 0 pu.

Firmware

This source is available in firmware 6.021 and later.

The Cruise and PFS digital inputs set the assist level:

Cruise PFS Display assist level command Assist gain and speed used
Active Any 1 Assist gain 1 (address 219) and Assist speed 1 (address 241)
Not active Not active 2 Assist gain 2 (address 245) and Assist speed 2 (address 246)
Not active Active 3 Assist Gain 3 (address 250) and Assist Speed 3 (address 251)

Assist levels with the GPIO source

  1. Set Assist mode source to 10 (GPIO Mode Selection).
  2. Set Assist gain 1 to Assist Gain 3 and Assist speed 1 to Assist Speed 3.

Firmware

This source is available in firmware 6.026 and later.

Each push of the momentary switch changes to the next assist mode. After the last mode, the controller goes back to mode 0.

  1. Set Assist mode source to 11 (Momentary Switch Increments Mode).
  2. In Momentary Assist Source, enable the bit for the input that the momentary switch is connected to.
  3. Set Momentary Assist Modes to the total number of assist modes. Include the zero-assist mode in this number. For example, if you have 6 assist gains and speeds, set the value to 7.
  4. Set the Assist gain and Assist speed parameters for each assist mode.

Braking for each assist level

Firmware

Available in firmware 6.027 and later.

You can scale the engine braking and the analog (regen) braking for each assist level. For example, use more engine braking in a low assist level.

  • Assist Engine Braking Mode 1 to Assist Engine Braking Mode 9: the engine braking torque in assist levels 1 to 9, as a percentage of Engine braking torque. Refer to Engine braking.
  • Assist Regen/Active Braking Mode 1 to Assist Regen/Active Braking Mode 9: the full-scale analog braking torque in assist levels 1 to 9, as a percentage of Maximum braking torque. Refer to Regen braking.

A value of 0 disables that braking in that assist level. At assist level 0, the controller does not scale the braking.

  1. Configure the assist levels and Assist mode source.
  2. Configure engine braking, analog regen braking, or the two. We recommend that you set Engine braking torque and Maximum braking torque to usual values for your vehicle. Then the scale factors for the assist levels do not have to be very large or very small.
  3. Set the Assist Engine Braking Mode and Assist Regen/Active Braking Mode parameters for each assist level that you use.
  4. Enable Features5 bit 6 Assist Mode Brake Scaling.
  5. Save the parameters to flash.
Assist level Assist Engine Braking Mode address Assist Regen/Active Braking Mode address
1 2059 2071
2 2179 2083
3 2191 2095
4 2203 2107
5 2215 2119
6 2227 2131
7 2239 2143
8 2251 2155
9 2263 2167

Braking scale parameters for each assist level

Power mapping speed reference

In firmware 6.021 and later, you can select the speed that the speed-based foldback power map uses:

  • To use the vehicle top speed, enable Features3 bit 9 Power Mapping uses max speed.
  • To use the speed limit of the active assist level, disable this bit.

Throttle bypass assist

With throttle bypass assist, the throttle does not use the assist levels. The pedals continue to use them. Enable one of these Features3 (address 1919) bits:

  • Bit 0 Throttle bypass assist level always including 0 assist: the throttle bypasses the assist levels at assist level 0 and higher.
  • Bit 5 Throttle bypass with assist level 1: the throttle bypasses the assist levels at assist level 1 and higher.

Pedal ignores throttle bypass

In firmware 6.025 and later, the pedal input can ignore the throttle bypass. The controller applies the assist level to the pedal command before it applies the throttle bypass. It does this also before it selects between the throttle command and the pedal command. At a low assist level with a large pedal input, this prevents a large torque increase from a small throttle input.

  1. Configure throttle bypass assist as given above.
  2. Enable Features4 (address 1974) bit 15 Pedal Ignores Throttle Bypass.