Search results

  1. stancecoke

    Lishui "Open Source Firmware" project / KingMeter 5S

    This is the problem. The EBike Controller has several digital and analogue I/Os, where throttle, brake PAS etc. are connected directly to the motor controller. Only some settings and the assist level are sent by the display to the controller. On scooters all the "intelligence" is in the...
  2. stancecoke

    Lishui "Open Source Firmware" project / KingMeter 5S

    If you want to have immediate response to moving cranks, you have to disable the direction detection. This feature needs some PAS pulses to make sure that the direction is correct. Of course you can adapt PAS timeout und ramp end to your wishes. regards stancecoke
  3. stancecoke

    Lishui "Open Source Firmware" project / KingMeter 5S

    You have to make much bigger changes to see an effect. Try 50 or even 5. Reduce the i factor also! regards stancecoke
  4. stancecoke

    Torque simulation controllers do not control torque

    Interesting finding, but I think the control strategy is much simpler. The Kunteng normally just controls the battery current to the value, that is assigned to the recent assist level, with a cadence dependent ramp from standstill. The mechanical output power characteristic you are showing, is...
  5. stancecoke

    Lishui "Open Source Firmware" project / KingMeter 5S

    Hm, difficult to say, if the Lishui bootloader and flash tool work with single wire communication also. Just try it... But what is your plan? The OSF will not support the dashboard protocol out of the box. You would have to find a way to send a throttle signal via UART at least..... regards...
  6. stancecoke

    Lishui "Open Source Firmware" project / KingMeter 5S

    What kind of vehicle are you talking about? Some photos of the controller and the peripherals would be nice! regards stancecoke
  7. stancecoke

    Anyone know about/tried TOSEVEN Mid Drive?

    We don't know anything about the manufacturer of the controller yet. We don't know if it's an own development of To7, or if it's buyed from a tier 2 supplier. The tier 2 supplier will be responsible for the firmware in this case normally.... The Shengyi middrive has a Lishui controller for...
  8. stancecoke

    Anyone know about/tried TOSEVEN Mid Drive?

    There is a first user report of the DM-02 on the german forum: https://www.pedelecforum.de/forum/index.php?threads/mittelmotor-mit-drehmomentsensor-toseven-dm01-zum-nachruesten-bei-psw-power.102197/post-2035254 seems like the first mechanical impression is OK, but the firmware seems to be a...
  9. stancecoke

    Torque vs cadence based PAS riding experience

    Hm, a torque sensor is nothing evil and not expensive 🤔 Do you know the "affe" automatic, offered by an Austrian engineer? He tried the same as you. But his homepage doesn't exist any more...
  10. stancecoke

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    No it's a 16 bit value, so the maximum may be much higher, I just didn't test with higher force. regards stancecoke
  11. stancecoke

    Torque vs cadence based PAS riding experience

    What is the motivation for your work?! There are several cheap and reliable torque sensors available, so why not just use them, for a natural bicycle feeling on an E-Bike.... regards stancecoke
  12. stancecoke

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    There is no analogue output. The data is transmitted via a UART protocol. See the german forum for details. https://www.pedelecforum.de/forum/index.php?threads/analyse-getriebenabenmotor-mit-integriertem-drehmomentsensor-von-kclamber.99213/post-1949248 I've done some sensitivity tests there...
  13. stancecoke

    Looking to Add a BB Torque Sensor to Work In Tandem with my Throttle & PAS (I am using the KT25A Sine wave Controller)

    There is a wiki page in the german forum: https://www.pedelecforum.de/wiki/doku.php?id=elektrotechnik:open_source_firmware_fuer_sxxs_ktxx_-controller:drehmomentsensoreinbindung regards stancecoke
  14. stancecoke

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    See the specs on the Kclamber homepage: http://en.kclamberele.com/product/1.html It's specified with 35mv/N.m. regards stancecoke
  15. stancecoke

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

    Can you confirm, that the blue FETs are on high side? Drain connected to the battery + rail? The voltage on low side is strange, I guess there will be defective parts on the PCB... But without a scope it's difficult to debug. At this point I can't help any further.
  16. stancecoke

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

    OK, so it's a nine FET... The blue ones are the high side FETs?! The 13V should be the output voltage of the LM217. You could check the voltage on the PWM processorpins directly, this should be 2.5v exactly and standstill with no load. (5V @ 0.5 duty cycle)
  17. stancecoke

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

    You can check the voltage on the gate pins of the MOSFETS. On low side, they should be about 5V, on high side a little higher than half the battery voltage, when the contoller is switched on, but no throttle is operated. (center aligned PWM has 0.5 duty cycle when the current is zero) But be...
  18. stancecoke

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

    I see, you print out the duty cycle now, too. Everything seems to be OK on software side. So I guess, there is a hardware fault. Do you have a scope for checking the Pwm signals?
  19. stancecoke

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

    Sorry this is the register for a STM32, you have to look up the register of the STM8
  20. stancecoke

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

    uint_PWN_Enable is not exported from the ACAsetPoint.h :-( Sorry, I think you have to go too deep into the code, to fix that. You can try to read the register directly: printf("%u,%u, %u, %u, %u, %u\r\n", ui16_control_state, ui16_setpoint, ui16_motor_speed_erps, ui16_BatteryCurrent, TIM1->CR1...
  21. stancecoke

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

    Sorry, again: what is your line 194 now. You don't seem to have edited the line according to my suggestion, otherwise, the momentary throttle would appear in column 6...
  22. stancecoke

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

    ?! What is your line 194 in your main.c now?! You have untervoltage now, (2048) didn't you attach the battery?
  23. stancecoke

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

    Hm, seems like the PWM output is not enabled. You should check the state of the variable uint_PWM_Enable. I don't know, if the BluOsec App has this parameter in the Debug Panel. If not, you can edit this line of the code to printf("%u,%u, %u, %u, %u, %u\r\n", ui16_control_state...
  24. stancecoke

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

    But the log is OK. The controller reacts to the throttle as expected. Connect the motor and try again, the 4th column should change with the throttle then also.
  25. stancecoke

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

    Push the throttle, then second column should change. ui16_control_state, (uint16_t) uint32_current_target, PAS_is_active, ui16_BatteryCurrent, ui16_sum_torque, (uint16_t)uint32_torquesensorCalibration);
Top