Skip to main content
FW version: Stable

Recomended settings of LYNX

This article is for people who have changed the firmware of the controller to LYNX. The article describes the recommended settings for the controller to work properly with the LYNX firmware and the Cake bikes.

warning

siliXcon do not have oportunity to test these settings on all bikes. The settings are based on the experience with the Cake bikes. You may need to adjust the settings to your bike.

Trade-off

  • LYNX firmware only have one set of maps (Cake has two sets of maps, one for braking and one for power).

Battery settings

What LYNX firmware is for your bike depends on what battery you have.

SWIDDescription
VECTOR_LYNX_cakeosaFor battery with CAN communnication. (Gen1 or Gen2)
VECTOR_LYNX_cakekalkFor battery with thermistor connected to GPIO3 of the controller

Battery with CAN communication

First you need to decide what BMS is in your battery.

/bms/bms_typeDescription
60Gen1 BMS. Used only with SL controller.
61Gen2 BMS. Used with SX controller. (CR models)
"/driver/limiter/bcellgain" : "0.100000"
"/driver/limiter/bcellmax" : "4.25"
"/driver/limiter/bcellmin" : "2.95000"
"/driver/limiter/btempmaxhi" : "60.0"
"/driver/limiter/btempmaxlo" : "47.0"
"/driver/limiter/btempminhi" : "-20.0"
"/driver/limiter/btempminlo" : "-5.0"
"/driver/limiter/ibgain" : "2.0"
"/driver/limiter/ibneg" : "-15.0"
"/driver/limiter/ibpos" : "150.0"
"/driver/limiter/ubgain" : "0.100000"
"/driver/limiter/ubmax" : "59.0"
"/driver/limiter/ubmin" : "44.0"

Battery with thermistor connected to GPIO3

"/driver/limiter/btempmaxhi" : "3897.0"
"/driver/limiter/btempmaxlo" : "3627.0"
"/driver/limiter/btempminhi" : "2052"
"/driver/limiter/btempminlo" : "2445"
"/driver/limiter/ibgain" : "2.0"
"/driver/limiter/ibneg" : "-15.0"
"/driver/limiter/ibpos" : "150.0"
"/driver/limiter/ubgain" : "0.100000"
"/driver/limiter/ubmax" : "59.0"
"/driver/limiter/ubmin" : "44.0"
"/io/IN_btemp" : "11.0" # Set btemp input to GPIO3
"/common/ioconf3" : "0" # Set GPIO3 as floating input

Motor settings

The motor settings are crucial for the proper operation of the controller.

warning

Always do motor identification (identrun) after changing the motor settings.

"/driver/dac/dxc" : "0.700000"
"/driver/dac/fwc" : "0.850000"
"/driver/dac/fwd" : "10.0"
"/driver/dac/fwm" : "0.800000"
"/driver/dac/fwr" : "0.700000"
"/driver/dac/mtk" : "0.100000"
"/driver/dac/tcc" : "0.200000"
"/driver/dac/tdg" : "0.005000"
"/driver/dac/tqf" : "0.0"
"/driver/motor/Da" : "0.012675"
"/driver/motor/Dc" : "0.005147"
"/driver/motor/Dp" : "0.0"
"/driver/motor/Dt" : "0.0"
"/driver/motor/Ld" : "6.70000e-5"
"/driver/motor/Lq" : "0.000131"
"/driver/motor/pp" : "4"
"/driver/motor/psi" : "0.021130"
"/driver/motor/Rt" : "0.006369"
"/driver/pid_id/I" : "150.0"
"/driver/pid_id/P" : "0.300000"
"/driver/pid_iq/I" : "150.0"
"/driver/pid_iq/P" : "0.300000"

"/driver/rest/eak" : "0.010000"
"/driver/rest/eca" : "0.785398"
"/driver/rest/ect" : "0.100000"
"/driver/rest/edc" : "0.0"
"/driver/rest/esk" : "0.010000"

"/driver/rest/omega" : "314.159"
"/driver/rest/rangle" : "-0.482500"
"/driver/rest/roff1" : "1602.0"
"/driver/rest/roff2" : "1602.0"
"/driver/rest/rpole" : "4.0"
"/driver/prest" : "3"
"/driver/ipeak" : "500" # This is for SL controller, for SX you need to set iref 350 and ipeak 400.
"/driver/iref" : "400"
"/driver/vcf" : "2"

"/driver/limiter/mtempgain" : "0.100000"
"/driver/limiter/mtemphi" : "1520.0"
"/driver/limiter/mtemplo" : "1400.0"

LYNX-front settings

If you choose LYNX in the controller, you also need to use LYNX-front firmware in the display. You can buy the siliXcon VDS display or you can ask for renaming the cake display and use there the LYNX-front firmware.

By default siliXcon display and LYNX-front firmware uses external button to change power maps. If you do not want that, you can setup Button 2 (the middle one) to change the power maps. To do that use following setting (in the display):

"/options" : "2"