Recomended settings for LYNX
This article is for people who have changed the application to LYNX. The article describes the recommended settings for the controller to work properly with the LYNX firmware and the Cake bikes.
siliXcon does not have oportunity to test these settings on all bike versions. The settings are based on the experience with the Cake bikes. You may need to adjust the settings indicidually.
Trade-off
- LYNX firmware only offers one map set (Cake used two sets of maps: one for braking and one for power).
Battery settings
The suitable LYNX modification depends on the battery type:
SWID | Description |
---|---|
VECTOR_LYNX_cakeosa | For battery with CAN communnication. (Gen1 or Gen2) |
VECTOR_LYNX_cakekalk | For battery with thermistor connected to GPIO3 of the controller |
Battery with CAN communication
First step is figuring out what BMS is in your battery:
/bms/bms_type | Description |
---|---|
60 | Gen1 BMS. Used only with SL controller. |
61 | Gen2 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.
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 rebranding the cake display and use there the LYNX-front firmware.
By default, siliXcon display and LYNX-front application use an external button to change power maps. If you do not want this function, set up the Button 2 (the middle one) to change the power maps. For that, use the following setting (in the display):
"/options" : "2"