emmebrusa / TSDZ2-Smart-EBike-1

TSDZ2 Open Source Firmware adapted to VLCD5-VLCD6-XH18 displays
GNU General Public License v3.0
133 stars 35 forks source link

Power down at 29v #5

Closed Kati-Moa closed 1 year ago

Kati-Moa commented 4 years ago

Mbrusa, the 36v FS did not switch off the display when battery reached 29v, and the odometer still indicated speed and distance whilst motor shut off. Given that we know the battery voltage rises when load is removed it will still be 'safe' to keep the display on so the distance traveled and speed is indicated. At present, the OSF shuts everything down and will not start up again. This is a disadvantage for the rider. The FS just flashes the first bar to indicate the battery is off. Perhaps if voltage once again falls to 29v the whole system should shut down as before. Also there is a spelling error in Configurator. Assistant Setting page 'Street Power Limit enebled' should be 'Street Power Limit enabled'. Ian

dzid26 commented 1 year ago

@emmebrusa did you experience the display shutting off when battery is low?

Edit: I am starting to think that undervoltage flag is not what turns off the display because this whole SOC calculation uses no load voltage ui16_battery_no_load_voltage_filtered_x10, but I always experience shutdown under load...

emmebrusa commented 1 year ago

"Cell voltage empty (V)" 3.1V, is only used for SOC calculation compared to no load voltage. "Battery voltage cut-off (V)" 2,9V * cell number, is used to decrease the power (down to zero) when the voltage under load reaches this value. It can be said that power is self-limiting. The firmware does not turn off the display, if it happens, it is because the BMS of the battery intervenes. Try increasing "Battery voltage cut-off (V)", so that it limits the power before the BMS intervenes.

dzid26 commented 1 year ago

Gosh, genius - it's got to be it. I will increase the cut-off voltage.

Regarding:

"Cell voltage empty (V)" 3.1V, is only used for SOC calculation compared to no load voltage.

When SOC value ui8_battery_state_of_charge is equal 0, the ui8_working_status bit 0 is set to 1. Do you know what that does on the display? I am wondering

emmebrusa commented 1 year ago

I had tried, with VLCD5 it displays the low battery symbol even if it is full. With XH18 nothing changes, it is probably not used. I have not tried with other types of displays.

Kati-Moa commented 1 year ago

Please don't send anymore emails as my husband has passed away and I don't have the ebikes anymore. Regards, Christine.

On Sun, 4 Dec 2022, 7:48 PM emmebrusa, @.***> wrote:

I had tried, with VLCD5 it displays the low battery symbol even if it is full. With XH18 nothing changes, it is probably not used. I have not tried with other types of displays.

— Reply to this email directly, view it on GitHub https://github.com/emmebrusa/TSDZ2-Smart-EBike-1/issues/5#issuecomment-1336334854, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODY7QPJHDFMC5X4OIVIMNTWLQ5B7ANCNFSM4OXXK6CQ . You are receiving this because you authored the thread.Message ID: @.***>

emmebrusa commented 1 year ago

I'm sorry. The sending of the emails is automatic because her husband had started this discussion. I close it and ask other users interested in the subject to open a new one. Greetings.