emmebrusa / TSDZ2-Smart-EBike-1

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

Improvement of higher cadence option possible with field weakening #1

Closed eIinx closed 3 years ago

eIinx commented 4 years ago

Field weakening works on TSDZ2 with the option "experimental high cadence mode", but this is inefficient, lower torque at low cadence values and a bit of torque at highest cadence values.

The motor is always acting as a generator too and with higher speed it generates more Voltage. The polarity is inversed to the battery voltage. With field weakening it is possible to reduce that generated voltage so the motor can rotate faster than the max RPM and produce still torque.

For 850C/SW102, Casainho has developed and introduced field weakening. You can find the additions and changes in 5 files on his repository:

https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/commit/8f4cf968380664d3140a4daf4dd3269ccaf9b3df?diff=split

Maybe it is possible to improve the "experimental high cadence mode" of v0.20b1 too with field weakening.

eIinx commented 3 years ago

Field weakening from mspider65 v7 is added in v0.20.1C