Releases: TSDZ2-ESP32/TSDZ2-Smart-EBike
Releases · TSDZ2-ESP32/TSDZ2-Smart-EBike
Version 16
Version 14
High load motor optimization:
- motor_controller() loop removed
- FOC Angle calculation algorithm changed
- Field Weakening Enable/Disable
Version 13
Version 13
- ADC values Right aligned.
- To avoid overrun errors, ADC buffered values no more readed in ebike_app but in pwm-up interrupt (end of conversion)
- Fixed minor bug in main loop timings
- PWM freq decreased to 18KHz (all values parametrized in main.h)
- Power glitch bug fix (race condition between PWM interrupt and Hall GPIO interrupt)
- FOC angle asin_table optimization (thanks to beemac)
- PWM Dead Time increased from 1us to 1.5us (OEM firmware uses a value of 3us!)
TSDZ2-ESP32 STM8 v11
- Use different Hall counter offset for every Hall state
- Updated low pass filter() function
TSDZ2-ESP32 STM8 v10
- New Motor control algorithm:
- IRQ based Hall detection
- Hall counter @ 250KHz
- Hall Calibration (Angular and Time correction)
- Hall counter correction based on Hall state
- Phase adjust step by step
- HW triggered ADC conversion (OC4Ref signal)
- Added calibration mode to riding modes
TSDZ2-ESP32 STM8 v7
v7 - Motor Optimizations:
- TIM1 PWM Freq to 19KHz
- Better rotor interpolation:
- Double TIM1 IRQ rate
- Hal sensor detection running at 38KHz
- Updated motor svm_table according to TIM1 PWM freqency and to upper bound of TIM1 counter
- Motor ref speed calculated two times every electr. revol.
- Battery current sampled in the middle of PWM duty cycle (counter = 0)
- Max Field Weakening angle calculated based on motor speed
- Higher Power Assist multiplier resolution (2% insted of 10%)
- ADC Freq. = CPU Freq/3
TSDZ2-ESP32 STM8 v6
- Added Field Weakening
- Various code speed optimizations
- Increased PWM frequency to 20KHz
TSDZ2-ESP32 v4
Merge branch '0.20.0-Development' of https://github.com/TSDZ2-ESP32/T… …SDZ2-Smart-EBike into 0.20.0-Development