I implemented a new configuration menu to configure battery max current and battery max power.
TongSheng TSDZ2 and the Kunteng LCD3 were running our own developed Flexible OpenSource firmware.
TongSheng TSDZ2 950W ebike mid drive motor controller is running our improved original firmware.
The motor pulls 18 amps and with my 48V charged, it pulls 950W at startup!! With a 52V battery, would pull over 1000W.
KT-LCD3 shows and/or configure the following from TSDZ2 motor:
Main screen: this is the default screen after turn on the LCD.
assist level: Assist level scales/amplify the torque sensor signal, if you want a higher assist level from the motor, choose the max assist level value. Assist level has 5 levels in total and user can define (on firmware configuration) a custom scale value for each level. Level 0 keep always the motor disabled.
ebike wheel speed: the value can be shown in kms or mph.
battery power: real time value in watts of the power being draw from the battery.
battery state of charge: 6 different levels. When battery is empty, the empty symbol on LCD will also blink (state of charge is based on battery voltage and can be setup on the motor controller firmware configuration)
lights: enabled with a button up long press, the motor controller will enable the ebike lights. LCD backlight will also be enabled. (backlight intensity can be setup on the motor controller firmware configuration).
brake: LCD symbol is enabled when user press the ebike brakes, good to check that sensor brakes are working.
walk assist: although it is implemented on LCD, it is not yet implemented on the motor controller. Enabled with a button down long press.
odometer field: the following information will cycle with on/off button click
battery voltage: see your battery pack voltage.
battery current: see the current being draw from your battery pack.
battery power: see the accumulated battery power (in watts/hour) draw from your battery pack, since last battery full charge. This value is automatically reset when LCD turns on and battery voltage equals to charged battery voltage - this value can also be reset or set to a custom value on the configurations.
pedal cadence: see the pedals cadence in rotations per minute.
battery state of charge in percentage: this value can be shown as an option on the temperature field. The percentage is based on the accumulated battery power draw from your battery pack and user can define on LCD configurations menu, the battery pack total watts/hour.
Max battery power screen: Motor controller will automatically choose a battery current in a way to limit the max battery power usage. The battery current value will never be higher than the max battery current setup on the configurations screen. Long click on on/off and up buttons to enter on this screen. Up and down buttons to increase/decrease the value. Long click of on/off button lo leave.
Configurations screen: long click on up and down buttons to enter on this screen. On/off button click to enter on subscreens and on/off button click to cycle on subscreens
0: wheel speed
0: max ebike wheel speed: max speed up to you will get assistance from the motor. In km/h (not yet implemented on the motor controller).
1: ebike wheel perimeter: in millimeters and this value is used, for instance, to calculate the ebike wheel speed.
2: wheel speed units: 0 for show ebike wheel speed kmh and 1 for mph.
1: battery state of charge in watts/hour
0: enable/disable show of battery state of charge in percentage
1: battery state of charge increment or decrement
2: battery pack total power in watts/hour: this value is used to calculate battery state of charge based on discharged watts/hour.
3: set current watts/hour
2: battery max current
0: battery max current: in amps. Motor controller will use no more than this value. Motor controller firmware limits this value to a safe one, like 18 amps (but this can be configured on motor controller firmware, like for use 24 amps).
3: advanced technical data
0: adc throttle
1: throttle
2: adc pedal torque sensor
3: pedal torque sensor
4: pedal cadence
5: pedal human power
6: PWM duty_cycle
7: motor speed in ERPs
8: FOC angle: the value must be multiplied by 1.4 to get and angle value in degrees.
Read more here: [ Ссылка ]
![](https://i.ytimg.com/vi/6d4fZg9TxnI/maxresdefault.jpg)