TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.

Some clarification is needed.

The v20.1C.6-beta-1 version is now tested and stable.
I recommend everyone to use this one, it is more performant and efficient than the previous v20.1C.2-update-3.
Use v20.1C.2-update-3 only if you have problems in the compilation that you can't solve (remember that you need SDCC 4.4.0 or higher).
Do not use v20.1C.2-update-2 or earlier!
In this regard I also added a note on GitHub.


If with v20.1C.6-beta-1 the throttle does not work it is only a problem of settings in the configurator.

View attachment 365940
Brake sensor must be enabled.
Optional ADC in, set to Throttle.
Throttle mode to Unconditional, or to another option you prefer.
The same in the "Street mode" section if you want to use it in that mode.


TE and TE1 with OSF have a different meaning than the stock firmware.
- TE, adc value without pedal push. To be entered in “Pedal torque ADC offset”.
- TE1, pedal torque delta, the value without pedal push is zero, it increases with pedal push.
The value to be entered in “Pedal torque ADC max”, is the maximum value (obtained with the rider standing, on the right pedal in a horizontal position) added to the TE value”, so “Pedal torque ADC max” = TE1 + TE.
To complete the calibration it is necessary to enable "Calibrated", enable "Estimated", enable "Torque sensor adv".
In your case with “Pedal torque ADC delta” = 167 you have a very good torque sensor. By enabling the calibration, at the same level you will notice a decrease in assistance, but it will be better distributed on the 4 levels.


Calibration of the torque sensor is recommended, but becomes necessary if the value of “Pedal torque ADC delta” is low.
There are two calibrations, with different purposes.
The first to obtain the values of "Pedal torque ADC offset" and "Pedal torque ADC max", with the weight of the rider on the pedals and is used to balance the assistance on the 4 levels.
The second to obtain the values of "Pedal torque ADC step" or "Pedal torque ADC step advanced", these parameters, in addition to balancing the assistance on the 4 levels, are mainly used to correctly calculate the human power to be displayed.
Enabling "Estimated" calculates an estimated value of these parameters, less precise than the one obtained with the calibration with weight, but suitable for the purpose.
For those who also want to do this calibration precisely, it is not necessary to physically put a weight, a luggage scale is enough.
Hi, i m using kt lcd3, but motor and lights no response, how can i get that new version, want to try, thanks
 
Question for cadence mode.

Hello i know i'm playing a lot with code and settings but i have a question on original code.
So my Firmware here is original (from mbrusa) and not modified.

for me Assistance in cadence saturate when at level 100 in setting.
To have progression in level i had to set lvl to 10 / 25 /50 / 254 (max for turbo)

My power is limited to 290W (norme EU let a margin of 1.115 from electric power to shaft of motor and real efficiency of motor is less of 0.85 but that's not the point).

When i check power on LCD at 100 of assistance i am at 290W. At 50 i'm not, it's less (normal). If i am level 254 i got 290W too (normal, it is saturated by battery max current).

I understand how is calculated torque_delta from RPM and assistance lvl, code is clear on this point.

Why this choice to saturate assistance near 100?

Why leaving 100 to 254 in a same level ? why not reparting all power between 0 and 254 (by for example adding battery_current_limit=battery_current_max*levelofassistance/levelofassistancemax ?)

I know torque calculation change (from a constant: the level of assistance)... but what i find strange is in default 36V settings, level 2 is 100 in cadence mode.

so default 36V give 250W nominal (290W) at level 2 and other mode give no gain of power?

Torque calculation from RPM is altered but why not altering max power too to get less current and preserve battery in lower level?

thanks
 

Attachments

  • setting.jpg
    setting.jpg
    302.6 KB · Views: 6
Last edited:
But seems difficult yes because pedal is small
Hang the (inanimate) load from the pedal instead of putting it on top of the pedal. ;)
 
Hang the (inanimate) load from the pedal instead of putting it on top of the pedal. ;)
did basic methode (noweight then rider weight.) it works fine like this no need more complicated!

So with calibration torque offset is useless ? Torque mesured will be more wrong so power too if offset setted?
 
Last edited:
Back
Top