Recent content by Xnyle

  1. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Already figured out that branch is more or less dead and consp did a good job polishing the FW. I'm currently working on my own branch but have to wait for another motor delivery so I can finalize my testing rig. @casainho If you want me to push back the changes, just add me as co owner to the...
  2. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    @stancecoke Im trying to catch up on the code, could you tell me something about those two commits: e9dd587 Pushed Andreas changes from zip at ES That just seems to merge back the same as in d430d8d Changed to integer arithemtics and right shift into yet another branch? And in both cases the...
  3. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    @geofft Thanks for the report. How did you find out about that branch and how to use it so fast? Did a little bird twitter "coke" down from the stance? ;-)
  4. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    It isn't, its a very minimalistic (1980s style) digital protocol via UART. IIRC even the voltage reading is not being measured directly by the display.
  5. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Not sure where it was, stancecoke reported it to me. I'll probably just implement a counter that counts when throttle/torque override is present: if erps <3: down else: up if counter reaches 0: disable override init 127 or something.
  6. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    No, that would be an experimental and dangerous option we could add though. What changed since October is ACAsetpoint 282. In the past apparently someone blew up his motor by tilting his pedal against a wall or something. Without this new protection the bike then wanted to move but couldn't...
  7. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    You know that I reworked that part? So no idea what version you're referring to. Where I picked it up it looked up some position from the (only) svm wavetable that was influenced by hallsensor position and motor angle. And that "some position" could have been anything within a 60° range...
  8. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    You can change the 6step startup to trapezoid and see if that works better (wavetable already there, just one or two line change in motor.c) This is on my backlog, but hadn't time/motivation so far.
  9. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    I had the same behavior with the same ACS712 on a 35A 12FET when there was a solder blob connecting all 4 pins. No idea why they did that, once I (more or less) removed it more current went through the sensor and correction worked fine. Have you checked on the underside of your board that there...
  10. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Why do you get a buildup? If hysteresis is >1 as it was b4 you would get a constant offset of 1 once correction kicks in?
  11. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Yes, you invest ~40+ hours to implement that ;-) Without worsening the code quality. Without breaking anything. ...
  12. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    @davideserin or whoever edited the Wiki: Power Based Control: ? Switches from current regulation control to power regulation (the lower voltage the more current you get for the same assist %) Switch to 360 degree interpol: ? Normally the controller interpolates PWM between hall sensor signals...
  13. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Strange indeed. Take a look at the code where the gear ratio is used. Maybe you find some explanation/bug. I'm unable to explain it right now. Debug the X4Value in the left panel, normally it goes more or less linearly down when temp goes up. Then you have to calculte 0 point and gradient and...
  14. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Gear ratio is really only needed for determining the correct speed, motor will not turn differently if you change it, only the set speed limits work different then. That's ok, amplitude is proportional to current, no automatic upscaling is done. Can be adjusted in 5 steps just as power assist...
  15. Xnyle

    KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)

    Using 10A regeneration now for ~1000km with the Custom FW, so far nothing exploded ;-) On a full battery Custom FW prevents overvoltage. Regarding stock FW: wrong thread :) Imho regeneration is overrated though, you get maybe 10% more range, but you could also just use a geared motor which is...
Back
Top