Skip to main content
Firmware Stable

Power and Mode Maps

FALCON provides flexible configuration through customizable Power and Mode maps. These maps allow you to easily adapt your motor controller settings to various driving scenarios or preferences.

Overview

Power and Mode maps let you define multiple profiles and quickly switch between them. This is useful for adjusting the motor controller's behavior based on different environments, driving styles, or purposes.

Power Maps

Each Power Map allows you to set detailed performance limits and behavior for forward and reverse driving, acceleration, braking, and power output.

Power Map Parameters:

ParameterDescription
kph_fwdForward speed limit [km/h].
kph_revReverse speed limit [km/h] (negative number required).
pwrGlobal power limit [W].
acclvlAcceleration level (forward). This value multiply the throttle input.
brakelvlBraking level. This value multiply the input when braking.
reverselvlReverse acceleration level. This value multiply the input when reversing.

Mode Maps

Mode Maps determine how the motor controller operates during acceleration, braking, and reversing scenarios. Each Mode Map defines operational modes for these scenarios.

tip

Examples:

ParameterRC car with brake and reverseRC trial car
acc_mode2 - torque controll1 - speed controll
brake_mode8 - braking (torque) controll1 - speed controll - immediate reverse
reverse_mode8 - reverse controll1 - speed controll - immediate reverse

If you do not use center parameter, ie. if the input is always positive, the brake or reverse mode will be ignored. This is for drones.

Mode Map Parameters:

ParameterDescription
acc_modeDriver mode during acceleration.
brake_modeDriver mode during braking.
reverse_modeDriver mode during reversing.

Switching Between Maps

You can dynamically switch between different maps using RC input channels or GPIO switches.

If output of selected pwm or asc input is in these ranges, the corresponding map will be selected:

Input valSelected map
0 - 0.33map_0
0.33 - 0.66map_1
0.66 - 1map_2

Forced Map Selection Parameters:

ParameterDescription
power_map_forceForces the selection of a specific Power Map.
mode_map_forceForces the selection of a specific Mode Map.

Use this, if you want to ignore the map input, or if you want to override the map input.

Smooth Map Transition Parameter:

  • mapchlpf: Defines the smoothing (low-pass filtering) applied when changing maps.
    • Use negative values for ramp
    • Use positive values for low pass filter
    • 0: Disabled smoothing.

This smooth transition applys to power and speed limiters.

Additional Parameters

ParameterTypeDefaultDescription
odothrFloat60Wheel revolutions per kilometer [R/km].
gearthrFloat1Motor revolutions per wheel revolution [ER/R].
tip

If you leave these parameters in default, the map speed limitation will be in motor rpm.

Status Indicators

The following status indicators help you monitor the currently active maps:

  • active_power_map: Currently active Power Map index.
  • active_mode_map: Currently active Mode Map index.