Throttle
Calibrate an analog throttle and set it as the command source, so that the throttle controls the motor. At the end, the controller reads 0% at closed throttle and 100% at full throttle. It also detects a throttle that is disconnected or that has a fault.
Critical Safety Instructions
Make sure that only a trained technician installs or sets up the Accelerated Systems controller. If you do not obey these instructions, damage to the controller, the computer, or the vehicle can occur. These hazards can also cause injury or kill you.
Before you connect, set up, or operate the controller, read these instructions:
- Wear the applicable personal protective equipment (PPE) near batteries and moving parts.
- Use insulated tools. Insulated tools prevent electrical shock.
- Always connect a USB isolator between the computer and the controller. If you do not use a USB isolator, damage to the computer or the controller can occur. ASI is not responsible for this damage.
- Before you make connections, make sure that the battery or power source is disconnected or set to OFF.
- Make sure that the area around the vehicle is clear. Keep all persons and animals away from the vehicle during tests and operation. The motor turns during setup and tests.
- Before you do a test of the motor or vehicle, put the vehicle on a stand. Use an approved bike stand or automotive jack stands. Make sure that the wheels do not touch the ground.
- As an alternative, attach the motor to a workbench vise or a solid stand. This holds the motor in position during tests.
- Make sure that all moving parts (for example, pedals and wheels) can turn freely in the two directions.
Prerequisites
Prerequisites
- Rated limits and Motor setup are complete.
- The throttle is connected to the controller. Refer to Wiring.
- The vehicle cannot move, and the wheels do not touch the ground.
When to use this
Use this page for an analog throttle, such as a Hall-effect or resistive throttle, or for a throttle voltage that a device sends over the network:
- The Throttle, Brake1 and Brake2 inputs accept 0-5 V. Most 0-5 V throttles supply a signal between approximately 1 V and 4 V.
- The ABMS input accepts 0-10 V.
- As an alternative to a wired input, a remote device can send the throttle voltage. Refer to Remote throttle voltage.
How it works
The controller converts the throttle voltage into throttle setpoint, from 0% (closed) to 100% (fully open). Three settings control the conversion:
Throttle off voltageandThrottle full voltageare the voltages that you measure with the throttle closed and fully open.Throttle deadband thresholdis a band of throttle travel immediately after closed and immediately before fully open. It prevents unwanted movement when the throttle is closed. It also makes sure that the command is 100% when the throttle is fully open.Throttle fault rangeis a band belowThrottle off voltageand aboveThrottle full voltagethat the controller still accepts as valid. Outside this band, the controller sets the Throttle voltage outside range fault. A disconnected throttle usually gives approximately 0 V or 5 V. Thus, the fault also prevents an unexpected start.
We recommend that you leave Throttle deadband threshold and Throttle fault range at the default of 0.2 V at the start.
Throttle setpoint example
This example uses Throttle off voltage = 0.8 V, Throttle full voltage = 4.2 V, Throttle deadband threshold = 0.2 V and Throttle fault range = 0.2 V.
| Throttle voltage | Result |
|---|---|
| Below 0.6 V | Fault: Throttle voltage outside range (flash code 2,4). |
| 0.6 V to 0.8 V | Lower fault range. Valid, no command. |
| 0.8 V to 1.0 V | Lower deadband. throttle setpoint is 0%. |
| 1.0 V to 4.0 V | Operating range. throttle setpoint increases from 0% to 100%. |
| 4.0 V to 4.2 V | Upper deadband. throttle setpoint is 100%. |
| 4.2 V to 4.4 V | Upper fault range. Valid, full command. |
| Above 4.4 V | Fault: Throttle voltage outside range (flash code 2,4). |
Throttle voltage ranges in the example

Wiring
A throttle usually has 3 wires: 5 V power, GND, and signal. You can connect the signal to an analog input, usually Throttle/Analog input 1 or ABMS/Analog input 4.

Before you select an input, look at the peripheral input sources quick sheet in Pinout specifications. This prevents wiring changes at a later time. For example, a torque sensor uses Throttle/Analog input 1. Then the throttle uses ABMS/Analog input 4.
Some two-controller (dual-motor) systems have one throttle, and cannot use a master/slave configuration. In these systems, one controller supplies the power and ground for the throttle. The two controllers share the signal input.
Configure the throttle
TIP
Save your parameters to a file frequently. You can send the file to ASI for support. You can also use it again if unexpected behaviour occurs. Refer to Save to File.
DANGER
Make sure that the vehicle cannot move and that the wheels do not touch the ground. The motor can start unexpectedly while you set up the throttle.
- Set
Control command sourceto 0 (Remote). Then the motor does not turn while you calibrate the throttle. -
Set
Throttle sensor sourceto the input that the throttle is connected to:Value Input 0 Throttle 1 Brake1 2 Brake2 3 CAN torque 5 Remote throttle voltage. Refer to Remote throttle voltage. 6 ABMS (0-10 V) Throttle sensor source values
-
Close the throttle fully. Read the input voltage (
throttle voltage,brake 1 voltage,brake 2 voltage, orabms voltage). Enter this value inThrottle off voltage. - Open the throttle fully. Read the input voltage. Enter this value in
Throttle full voltage. - Set
Control command sourceto 1 (Throttle). This enables the throttle. - Save the parameters to flash.
Verify
Make sure that:
- With the throttle closed,
throttle setpointis 0, and the motor does not turn. - With the throttle fully open,
throttle setpointis 1 pu (100%). - No faults are set, and the motor responds smoothly through the throttle range.
If one of these conditions is not correct, refer to Troubleshooting.
Additional options
Inputs scaled to available power
Firmware
Available in firmware 6.024 and later.
You can map the throttle input to the available output current, not to Rated motor current. Then you can use the full throttle range also when the output current is limited, for example by the active Rated motor power parameter, battery limits, or other protections. The controller scales the requested torque command (calculated from throttle setpoint) by its present power limit.
- Enable
Features4bit 10 Input target scaling to Available Power. - Save the parameters to flash.
Example
If the power limit from current, battery, motor and other protections is 37% of the maximum, a 0-100% throttle input gives a 0-37% requested torque.
Throttle sensitivity
Firmware
Available in firmware 6.020 and later.
You can change how the throttle input maps to the throttle command. With the input throttle setpoint between 0 and 100%:
Output throttle setpoint = (Input throttle setpoint)Throttle sensitivity
- A value of 1 gives the same linear response as when the feature is disabled.
- A value more than 1 gives finer control at low throttle.
-
A value between 0 and 1 gives finer control near full throttle.
-
Enable
Features2bit 12 Throttle Sensitivity. - Set
Throttle Sensitivity (Forward)to a value between 0 and 8. In firmware 6.026 and earlier, this parameter is namedThrottle Sensitivityand applies in forward and reverse. - Firmware 6.027 and later: set
Throttle Sensitivity (Reverse)to the value for reverse. If it is 0, the throttle response in reverse is linear. - Save the parameters to flash.
Note
In firmware 6.026 and earlier, local speed mode also applies a fixed sensitivity exponent: 2 in forward and 1 in reverse. Firmware 6.027 removes this fixed exponent. To get the same forward throttle response as in 6.026, set Throttle Sensitivity (Forward) to 2.
Throttle debounce
Firmware
Available in firmware 6.027 and later.
The throttle debounce keeps the throttle disabled for a minimum time, Throttle Debounce Interval, after these events:
- A change into reverse or out of reverse.
- A cutoff input, when
Features3bit 10 Cutoff disable throttle is enabled. - Power-up of the controller.
The debounce operates only when Throttle Debounce Interval is not zero. After the interval, the throttle operates again only after it goes back to idle. If the rider holds the throttle open during the interval, the throttle stays disabled until the rider releases it. This prevents a sudden start when the throttle is already open.
Note
At power-up, the throttle must always go back to idle before it operates, also when the debounce is not set.
- Set
Throttle Debounce Interval, in ms. A value of 0 disables the debounce. - To also apply the debounce after a cutoff, enable
Features3bit 10 Cutoff disable throttle. - Save the parameters to flash, and restart the controller.
controller flags2 shows the debounce status:
| Bit | Name | Meaning when active |
|---|---|---|
| 8 | Cutoff Active | A cutoff input is active. |
| 9 | Analog Brake Input Active | The analog brake input is active. |
| 11 | Throttle Disabled | The throttle is disabled, for example during the debounce interval. |
| 12 | Throttle active post debounce | The interval is complete, but the throttle was not released. The throttle stays disabled until it goes back to idle. |
Debounce status bits in controller flags2
Dual analog throttle
Firmware
Available in firmware 6.025 and later.
You can connect a second, redundant analog throttle. The controller calculates secondary throttle setpoint from this input. If it is different from throttle setpoint by more than Dual analog throttle fault threshold, the controller sets Dual Throttle out of Range (Faults3 bit 3). It also sets throttle setpoint to 0. The fault clears automatically when the difference between the two setpoints is in the threshold again.
- Connect the two throttle signals (primary and redundant) to their analog inputs.
- Calibrate the primary throttle as given in Configure the throttle.
- Set
Secondary throttle source for dual analog throttleto the redundant throttle input. It has the same options asThrottle sensor source. - Move the throttle until the primary throttle voltage is at the start of its operating range. For a throttle with a voltage that increases when you open it, this is
Throttle off voltage+Throttle deadband threshold. For a throttle with a voltage that decreases, it isThrottle off voltage−Throttle deadband threshold. Enter the voltage on the redundant input inSecondary throttle off voltage. - Move the throttle until the primary throttle voltage is at the end of its operating range. For an increasing throttle, this is
Throttle full voltage−Throttle deadband threshold. For a decreasing throttle, it isThrottle full voltage+Throttle deadband threshold. Enter the voltage on the redundant input inSecondary throttle full voltage. - Enable
Features4bit 3 Dual analog throttle. - Move the throttle through its full range. Make sure that
throttle setpointandsecondary throttle setpointagree, with a small margin for noise. - Set
Dual analog throttle fault thresholdto the percentage difference between the two setpoints that triggers the fault. - Save the parameters to flash.
Throttle filter
Features2 bit 8 Speed mode Throttle filter applies a low-pass filter to the throttle input. The throttle response is then smoother and slower.
The filter averages 2N throttle samples, where N is the value of Throttle filter speed control. A larger value gives a smoother and slower response.
- Enable
Features2bit 8 Speed mode Throttle filter. - Set
Throttle filter speed control(address 1882). Start with a small value. - Save the parameters to flash.
- Do a test of the throttle response. Adjust
Throttle filter speed controluntil the response is correct.
Digital throttle input
Firmware
Available in firmware 6.020 and later.
You can use a digital input to enable or disable the throttle, for example as a redundant throttle switch.
- Set
Digital throttle sensor source: 0 (Cruise), 1 (PFS), 2 (Throttle), 3 (Brake1), 4 (Brake2) or 5 (ABMS). - Enable
Features3bit 11 Redundant throttle. - Save the parameters to flash.
Remote throttle voltage
As an alternative to a wired throttle, a remote device (for example, a vehicle control module) can send the throttle voltage over the network. The controller stays in local control.
- Set
Throttle sensor sourceto 5 (Remote throttle voltage). - Set your remote device to write the throttle voltage to
Remote Throttle Voltage. - Set
Throttle off voltageandThrottle full voltageto the values that your remote device sends for closed and fully open throttle. - Set
Control command sourceto 1 (Throttle). - Save the parameters to flash.
Throttle while rolling backward
With Features2 bit 5 Throttle enable while rolling backward, the controller tries to drive the motor forward when you apply the throttle while the vehicle rolls backward in forward direction. The motor can change direction. If it cannot, the motor stalls. Then release the throttle and apply it again.
CAUTION
The change of direction can be sudden and harsh. Do a test on your vehicle before you use this function in a product.
- Enable
Features2bit 5 Throttle enable while rolling backward. - Save the parameters to flash.
Troubleshooting
The throttle voltage does not change
- Make sure that the throttle signal is connected to the input set in
Throttle sensor source. Also make sure that you read that input. - Examine the throttle power, ground, and signal connections. Do not use the wire colours to identify the wires. Red is not always 5 V, black is not always GND, and white is not always signal.
- If it reads 0 V, the signal can have a short circuit to ground, or it can be disconnected on a pulled-down input.
- If it reads 5 V, the signal can have a short circuit to 5 V, or it can be disconnected on a pulled-up input.
- If it reads more than 5 V, the signal can have a short circuit to a different supply (for example, B+ or 12 V).
The motor does not respond to the throttle
- Look for faults and warnings. Refer to Faults and warnings.
- Make sure that
Control command sourceis set to 1 (Throttle). - Make sure that
Rated motor power (Race mode Throttle power)is set. If you use the alternate power mode, also make sure thatRated motor power (Street mode Throttle power)is set. These parameters are the maximum electrical motor power in throttle mode. If they are 0, the throttle cannot command power. - If a brake is active, it can stop the motor current. Refer to Cutout brake.
The motor does not assist when the vehicle rolls backwards
If Regeneration battery current limit or Maximum braking torque is 0, a direct-drive vehicle that rolls back slightly does not move forward until it stops fully. Set the two parameters sufficiently high. Regeneration battery current limit limits the battery current for braking. Maximum braking torque limits the motor phase current for braking. Refer to Rated limits.
To let the throttle drive the motor forward while the vehicle rolls backward, refer to Throttle while rolling backward.
Fault and warning settings
WARNING
Change a throttle fault to a warning, or increase the fault range, only when another part of the system protects against a throttle failure. If you do this, the motor can continue to operate when the throttle signal is incorrect.
- Throttle voltage outside range (
Faultsbit 11): to report it as a warning, not as a fault, enableFeatures2bit 4 Throttle fault changed to warning. Then the controller sets Throttle out of range warning (Warnings2bit 0). - Throttle voltage outside range (
Faultsbit 11), low side only: to ignore a throttle voltage below the fault range, enableFeatures3bit 7 Ignore low throttle outside range fault. Use this when a vehicle can have a throttle or no throttle. The high side still sets the fault. For example, withThrottle off voltage= 0.8 V,Throttle full voltage= 4.1 V andThrottle fault range= 0.2 V, a disconnected throttle (0 V) does not set the fault, but a voltage above 4.3 V sets it. - Throttle out of range warning (
Warnings2bit 0): if you also do not want the warning, increaseThrottle fault rangeuntil the warning stops. - Firmware 6.027 and later: to make the throttle faults latching, enable
Features5bit 10 Latching Throttle Fault. A throttle fault then stays until you restart the controller or write a non-zero value toFault clear(address 508). It does not clear when the throttle signal is correct again. - Dual Throttle out of Range (
Faults3bit 3): to disable it, disableFeatures4bit 3 Dual analog throttle. To keep dual analog throttle without the fault, setDual analog throttle fault thresholdto 100%.
Parameters
| Parameter | Address | Units | Description |
|---|---|---|---|
Rated motor power (Race mode Throttle power) |
73 | W | Maximum electrical motor power in throttle mode. |
Rated motor power (Street mode Throttle power) |
131 | W | Maximum electrical motor power in throttle mode with the alternate power limit. |
Throttle deadband threshold |
151 | V | Throttle travel between closed and active, and between active and fully open. |
Throttle fault range |
152 | V | Band below the off voltage and above the full voltage that is still valid. |
Maximum braking torque |
154 | % of rated motor current | Braking torque limit. |
Regeneration battery current limit |
156 | % of rated battery current | Battery current limit when braking. |
Features2 |
174 | Bit field. Bit 4: Throttle fault changed to warning. Bit 5: Throttle enable while rolling backward. Bit 8: Speed mode Throttle filter. Bit 12: Throttle Sensitivity. | |
Control command source |
208 | 0: Remote. 1: Throttle. Other values select pedal and torque sensors. | |
Throttle full voltage |
213 | V | Throttle voltage with the throttle fully open. |
Throttle off voltage |
214 | V | Throttle voltage with the throttle closed. |
Digital throttle sensor source |
244 | Digital input that enables the throttle when Features3 bit 11 is enabled. |
|
Throttle sensor source |
247 | Input the throttle is connected to. | |
throttle voltage |
270 | V | Read only. Filtered Throttle input voltage. |
brake 1 voltage |
271 | V | Read only. Filtered Brake 1 input voltage. |
brake 2 voltage |
272 | V | Read only. Filtered Brake 2 input voltage. |
abms voltage |
275 | V | Read only. Filtered ABMS input voltage. |
throttle setpoint |
325 | pu | Read only. Throttle command, 0 to 1 pu. |
controller flags2 |
488 | Read only. Bit field. Bits 8, 9, 11 and 12: throttle debounce status. Firmware 6.027 and later. | |
Remote Throttle Voltage |
495 | V | Throttle voltage sent over the network, used when Throttle sensor source is 5. |
Throttle filter speed control |
1882 | Throttle filter size when Features2 bit 8 is enabled. The filter averages 2N samples. |
|
secondary throttle setpoint |
1718 | pu | Read only. Throttle command from the redundant throttle. |
Features3 |
1919 | Bit field. Bit 7: Ignore low throttle outside range fault. Bit 10: Cutoff disable throttle. Bit 11: Redundant throttle. | |
Features4 |
1974 | Bit field. Bit 3: Dual analog throttle. Bit 10: Input target scaling to Available Power. | |
Dual analog throttle fault threshold |
1981 | % | Setpoint difference that triggers the Dual Throttle out of Range fault. |
Secondary throttle off voltage |
1982 | V | Redundant throttle voltage at the start of the operating range. |
Secondary throttle source for dual analog throttle |
1983 | Input the redundant throttle is connected to. | |
Secondary throttle full voltage |
2004 | V | Redundant throttle voltage at the end of the operating range. |
Features5 |
2006 | Bit field. Bit 10: Latching Throttle Fault (firmware 6.027 and later). | |
Throttle Sensitivity (Forward) |
2302 | pu | Throttle response exponent in forward, 0 to 8. Named Throttle Sensitivity in firmware 6.026 and earlier. |
Throttle Debounce Interval |
2332 | ms | Minimum time that the throttle stays disabled after power-up, a change of direction, or a cutoff. 0 disables it. Firmware 6.027 and later. |
Throttle Sensitivity (Reverse) |
2333 | pu | Throttle response exponent in reverse, 0 to 8. 0 gives a linear response. Firmware 6.027 and later. |
Parameters used on this page