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

Electric Motors and Controllers
haiyi911   100 mW

100 mW
Posts: 41
Joined: Oct 13 2017 5:35am

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

Post by haiyi911 » Mar 02 2019 2:50am

Hi ,stancecoke
Phase Asv =(phase a - voff + amplitude)/2*1.155-20
do you konw how to derive the formula,why it should be + amplitude)/2 and -20 ?
Attachments
asv.jpg
asv.jpg (13.18 KiB) Viewed 357 times

florkk   1 mW

1 mW
Posts: 17
Joined: Oct 24 2016 12:39pm

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

Post by florkk » Mar 02 2019 3:46am

hello, it is possible to make bluetooth dongle for kt foc controller? or i must buy orginal bl, if yes where i can buy it ?

Blik86   10 µW

10 µW
Posts: 6
Joined: Aug 06 2018 12:03pm

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

Post by Blik86 » Mar 02 2019 7:18am

Hi
How to check supports stock controller sensor temperature of the motor?
Perhaps you have a stock controller circuit supporting a motor temperature sensor?

User avatar
stancecoke   10 kW

10 kW
Posts: 942
Joined: Aug 02 2017 2:56pm

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

Post by stancecoke » Mar 02 2019 7:49am

haiyi911 wrote:
Mar 02 2019 2:50am
do you konw how to derive the formula
sorry, I don't know this excel-sheet. I think Casainho took the SVM-lookup-table somewhere from the internet. But you can easily calculate the duty cycles for the three phases from the rotor angle, there are many examples in the internet. You can look at my recent Lishui project at github, there are all necessary calculations for FOC implemented.
Blik86 wrote:
Mar 02 2019 7:18am
How to check supports stock controller sensor temperature of the motor?
I don't know, how the stock firmware implements temperature sensing. We do it with the analog input on connector X4.
florkk wrote:
Mar 02 2019 3:46am
hello, it is possible to make bluetooth dongle for kt foc controller
For use with our open source firmware it is described in the wiki. For use with the original KT-App, I don't know. I only know, that the KT-App is really poor.

regards
stancecoke

kkm   10 µW

10 µW
Posts: 6
Joined: Sep 27 2018 3:22pm

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

Post by kkm » Mar 04 2019 3:39pm

haiyi911 wrote:
Mar 01 2019 9:37am

on the road when i turn the throttle to the end,the motor may take a 3-4 seconds and increase slowly to the max speed,not a quick response.do you?
No, throttle "reaction rate" of this firmware is quite acceptable, although it is worse than the stock one. I talked about the throttle control mode. IMHO - Current/Torque mode It is good for the PAS only mode, but for "throttle only" is absolutely unsuitable (in my case). The last argument was a recent incident, when I was driving at a speed of 8 km/h over the stretch of ice, and my wheel suddenly spun up to the maximum rpm, losing traction. I had to install back a controller with stock firmware, where the control and algorithm of the throttle is implemented perfectly and correctly.And the stock algorithm is a bit like a “manual cruise mode” when you don't have to twist the throttle endlessly, compensating for changes in speed, from the slightest gust of wind in your face, or a change in terrain / road surface. It's great.

wrobi   1 µW

1 µW
Posts: 2
Joined: Mar 09 2019 4:32am

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

Post by wrobi » Mar 09 2019 5:09am

Hi everybody!
I have an electric wheelchair handbike which has got KT controller (model: Thunder). I disassembled for make some pic, attached below. Sorry, but I can't make photos from top side of pcb, because cables are too short and I don't want to break the solderings.
My question is how many chance I have to use open firmware on this device. As I see it's similar to s06s (6 FETs)
Attachments
rps20190310_100132.jpg
rps20190310_100042.jpg
rps20190310_100042.jpg (88.08 KiB) Viewed 213 times
Last edited by wrobi on Mar 10 2019 4:02am, edited 1 time in total.

User avatar
stancecoke   10 kW

10 kW
Posts: 942
Joined: Aug 02 2017 2:56pm

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

Post by stancecoke » Mar 09 2019 7:49am

wrobi wrote:
Mar 09 2019 5:09am
I disassembled for make some pic, attached below.
No attachment?!
Can you identify the label on the mikrocontroller? Is it the STM8S105C6T6?

regards
stancecoke

wrobi   1 µW

1 µW
Posts: 2
Joined: Mar 09 2019 4:32am

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

Post by wrobi » Mar 10 2019 4:12am

Sorry! I had to reduce the image size.
I can't see the MCU because short cables. I will try it with an endoscope camera.
I have two more question:
1. If KT-LCD5 maximum gear level is 3 then it's limited by controller firmware or display firmware. This is a special edition for wheelchairs, because it have "-1" gear level for reverse. My problem is the maximum speed which is limited 20km/h. I tried to change P and C parameters, but doesn't help.

2. It looks like it have a BLE module, but very difficult to connect, and nothing data traffic. Tried original KT app, and some BLE terminal. is it possible to use it only for factory setting?

casainho   100 MW

100 MW
Posts: 2859
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Mar 11 2019 8:34am

I wish that same could happen with KT motor controllers firmware but I understand it is much more complex because TSDZ2 hardware combinations are way smaller and so less complex firmware and configurations...

This is a historic mark:

Time to time I get some donations, which I am being using to buy resources for my investigations and developments. I have not been grateful publicly or privately the donations because I have so little time that is not enough for the developments that are needed to be done.

This days I got a donnation with the following message:
Sold a few FOS firmware products on my Website http://www.electrifybike.com/store/c37/ ... ducts.html I will be contributing 10% of sales to the developers for a period of time.
I am spreading this because this shop because other than being friendly for the developent of our OpenSource firmware for TSDZ2 (that can be applied for other ebike motor controllers, or any BLDC motor controller), this shops sells the needed TSDZ2 and LCD3 already programmed with our firmware and connections!!!
I will link to this shop on wiki as this may be very important for some users!!

Image

https://www.electrifybike.com/store/c37 ... ducts.html#/
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

User avatar
stancecoke   10 kW

10 kW
Posts: 942
Joined: Aug 02 2017 2:56pm

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

Post by stancecoke » Mar 11 2019 9:47am

casainho wrote:
Mar 11 2019 8:34am
this shops sells the needed TSDZ2 and LCD3 already programmed with our firmware and connections!!!
Wow, that's brave... hopefully he has a good legal expenses insurance for product liability issues. :shock:
wrobi wrote:
Mar 10 2019 4:12am
This is a special edition for wheelchairs, because it have "-1" gear level for reverse.
I think, that our firmware could work with your controller, but of course we have no reverse function implemented.
I'm not sure if you could use your KT-LCD5 with an obviously "special" firmware. Perhaps you would have to buy a "normal" one.
Be aware, that all you are doing is at your own risk and that there is no way back to stock firmware, once you flashed the custom one.
wrobi wrote:
Mar 10 2019 4:12am
Tried original KT app, and some BLE terminal. is it possible to use it only for factory setting?
As written before, I have no experience with the original KT-BT-Module...

regards
stancecoke

kotofos   1 µW

1 µW
Posts: 2
Joined: Mar 09 2019 8:30am

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

Post by kotofos » Mar 11 2019 11:59am

Hi
in repo readme it is written
What doesn't work:
Block commutation during start-up
But what that actually mean? Isn't it normal to start motor in 6 step mode?

casainho   100 MW

100 MW
Posts: 2859
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Mar 11 2019 12:21pm

kotofos wrote:
Mar 11 2019 11:59am
Hi
in repo readme it is written
What doesn't work:
Block commutation during start-up
But what that actually mean? Isn't it normal to start motor in 6 step mode?
No it is not.

When I had 6 steps working and then switching the PWM for next mode, I got an issue with the current controller, were it would fail and keep increasing and then burn mosfets.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

kotofos   1 µW

1 µW
Posts: 2
Joined: Mar 09 2019 8:30am

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

Post by kotofos » Mar 11 2019 1:17pm

So, what is current startup procedure? Can motor start from standstill?

casainho   100 MW

100 MW
Posts: 2859
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Mar 11 2019 2:18pm

kotofos wrote:
Mar 11 2019 1:17pm
So, what is current startup procedure? Can motor start from standstill?
Please give a look at the source code to understand.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2 and KT) and LCDs (KT-LCD3 and Bafang 850C color LCD).

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

Valopallo   100 mW

100 mW
Posts: 35
Joined: May 29 2018 1:37pm

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

Post by Valopallo » Mar 12 2019 4:19am

stancecoke wrote:
Sep 15 2018 4:10am
Offroad mode can be activated by the brake lever as known or by a "magic" touch to the smarthphone screen
More info about the "magic" touch please if it's still implemented into the app. Thanks. ;)

Valopallo   100 mW

100 mW
Posts: 35
Joined: May 29 2018 1:37pm

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

Post by Valopallo » Mar 15 2019 1:25am

I'm planning to put another motor to the front. I have S06S -controlling the rear DD motor and KT36ZWS controlling the front geared hub. I want to use separate batteries for each of them and share the signal wires from throttle, PAS and brake for both controllers. The instructions state that KT36ZWS controller cannot use FOC so it must be disabled. I cannot seem to find anything from the java tool so I assume this must be done straight from the code. How?

User avatar
stancecoke   10 kW

10 kW
Posts: 942
Joined: Aug 02 2017 2:56pm

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

Post by stancecoke » Mar 15 2019 3:42am

Valopallo wrote:
Mar 15 2019 1:25am
I cannot seem to find anything from the java tool
Just uncheck the checkbox "enable rotor angle correction" This will disable FOC.

Image

regards
stancecoke

Bash1303   1 mW

1 mW
Posts: 19
Joined: Oct 01 2018 1:45am

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

Post by Bash1303 » Mar 16 2019 6:44am

Hello,

I would like to ask regarding the offroad mode.

Does the controller give the same power for the road and offroad mode? Or is it posibble to have road mode with 250w and offroad with more?

Best regards

User avatar
stancecoke   10 kW

10 kW
Posts: 942
Joined: Aug 02 2017 2:56pm

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

Post by stancecoke » Mar 18 2019 10:39am

Bash1303 wrote:
Mar 16 2019 6:44am
Does the controller give the same power for the road and offroad mode?
Yes, the offroad mode disables the speed limit only. The power depends on your battery-current settings. The 250W limit is only relevant for the long-term capacity of the motor.

regards
stancecoke

Post Reply