Search found 922 matches

by stancecoke
Feb 15 2019 4:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

Thank you for your feedback! I've just updated the master branch at github, all numbers from 1 - 10 are checked now in the checksum procedere. For your troubleshooting: I think most problems are reported with 12 and 18 FET controllers with high amps settings. Please start with a battery current limi...
by stancecoke
Feb 14 2019 10:43am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

OK. Do you have the phase current sensor installed and working?
The advice of apple2 is exactly right. Disable the automatic angle correction and try to find the correct motor specific angle. Swap Hall and motor wires, if you can‘t find a satisfying angle setting.

regards
stancecoke
by stancecoke
Feb 13 2019 8:54am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

Re: OpenSource firmware BMSBattery Sxxx/Kuteng controllers S

kkm wrote:
Feb 12 2019 12:30pm
Today also uncomment line in main.c
// pwm_set_duty_cycle ((uint8_t) ui16_sum_throttle);
You are really brave :shock: With this you put the throttle input directly to the PWM. With no safety feature like battery- or phase current limitation active....

regards
stancecoke
by stancecoke
Feb 10 2019 4:39am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

@kkm: feel free to implement all your suggested improvements in our code and present us your result here in the thread. :D
Perhaps on your way you will learn how a PI-control works and why it makes no sense to test the system with no load / wheel in the air.

regards
stancecoke
by stancecoke
Feb 09 2019 4:02pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

I've looked at the svm table and I am wondering what tool is used to generate it? Also would it be more efficient to disable pwm on the low phase? There are several approaches how to calculate the SVPWM pattern. You can't switch off any channel as we are using center aligned PWM. Zero in the lookup...
by stancecoke
Feb 09 2019 10:58am
Forum: Motor Technology
Topic: Tsdz2 firmware open souce adapted to vlcd5
Replies: 86
Views: 2971

Re: Tsdz2 firmware open souce adapted to vlcd5

marcoq wrote:
Feb 09 2019 10:08am
I released the new Controller firmware M0.16.D and the Java Configurator Beta 0.2.0.
Thank you!
perhaps you can add the link to your githup repo to your signature! I always have to search for it, when I want to take a look at your new releases :wink:

regards
stancecoke
by stancecoke
Feb 08 2019 1:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

casainho wrote:
Feb 07 2019 3:33pm
I think Stancecoke code does not implement this limit.
Sorry, you are not up to date, the phase current limitation is implemented since several month :D

regards
stancecoke
by stancecoke
Feb 07 2019 3:27pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

Marv1337n wrote:
Feb 07 2019 3:38am
Does the standard KT controllers come with a higher Phase Amps than Battery Amps?
This is not Kunteng specific, but normal behaviour of any controller, that uses pulse width modulation for driving the motor.

Code: Select all

Iphase = Ibattery/duty cycle
regards
stancecoke
by stancecoke
Feb 05 2019 5:41am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

keep the correction (at) angle at 127. Play around with the motor specific angle. Sorry the function of correction (at) angle is not dokumented in the wiki yet.

regards
stancecoke
by stancecoke
Jan 23 2019 1:55pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

So it should still be speed throttle, not torque? The throttle controls the current (= torque), that's the "normal" behaviour of every throttle in any motorcycle or car. Xnyle has build in the option assist lvl affects throttle , with this you can reduce the max amps of full throttle for low speeds...
by stancecoke
Jan 23 2019 11:27am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

It would be interesting to hear the developers comments on this. I can't follow kkm's arguments, he reported his experience before: Flexible OpenSource firmware works excellently on all my geared motors - Bafang SWX02, MXUS XF15R and XF08. Very quiet, there are no unpleasant vibrations and some res...
by stancecoke
Jan 22 2019 5:17am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

How many erpm can a KT controller handle? At the beginning of this topic, casahino was talking about 40k erpm as the maximum, is that value still valid or does the "high motor speed" option allow more? The outrunners I'm looking at are near the 100k erpm zone... The max speed is limited to PWM freq...
by stancecoke
Jan 20 2019 10:06am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

The push and pull feeling is a bit annoying afterall. Please reduce values of Gain I and Gain P, e.g. by factor 10 or 100. You can finetune them later, if you have found a satisfying range. if I had installed an external torque sensor to the rear dropout of my bike or to the chains, I could use tor...
by stancecoke
Jan 20 2019 8:58am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

Ok. Changed the battery cal a value to 100 and now the battery current and target current match very closely. :thumb: Is the motor still braking that hard, if you stop pedaling? Please try this on the road, as with wheel in the air, it is not representative. Yes. I understood that torgue-simulation...
by stancecoke
Jan 20 2019 8:24am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

Current target = -0,2A(314) when standstill, and when rotating freely(pedaling tire at air) current target is 32A. Battery current cal a = 46 Battery current cal b = 314 I think your video is in Torque-Simulation mode with highest assist level?! Cal b seems to be correct. For a S06S Cotroller cal a...
by stancecoke
Jan 19 2019 4:56am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

when i started the motor,i could hear the noise maybe the commutation voise and feel the motor shake. with the speed increased,the niose disappered.is it normal? yes, that's normal, as the motor starts in 6-Step mode and switches to 60° interpolation at 3erps. } else if (ui16_motor_speed_erps > 3 )...
by stancecoke
Jan 17 2019 12:15pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

haiyi911 wrote:
Jan 16 2019 7:42am
Maybe my direct motor hall order is counterclockwise
Don't give up. Try to find the right wire combination, otherwise the firmware can't work properly. (No firmware can work properly, if the wires aren't connected in the right order...)

regards
stancecoke
by stancecoke
Jan 15 2019 8:58am
Forum: E-Bike Technical
Topic: Sempu t2.3 torque sensor
Replies: 21
Views: 1405

Re: Sempu t2.3 torque sensor

Hey Hangdog, the Sempu sensors aren't like THUN or TDCM in this regards. They more or less put out a signal whenever there is any kind of force that bends or stresses the spindle. It doesn't matter if it's a forwards torque, a reverse torque, or you just standing on the pedal at the bottom of the s...
by stancecoke
Jan 11 2019 4:42am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1788
Views: 64149

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

marcoq, can you please create a new thread for user support to your branch? Perhaps we could build a Java Tool, that creates the hex-file (e.g. EEPROM.hex) for the EEPROM content and then flashes the file via a batchfile that calls the STVP commandline tool (like it is done for optionbytes and prog...
by stancecoke
Jan 09 2019 2:43am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

glebor wrote:
Jan 08 2019 5:08pm
Hi. Which line of code to remove if you want to program the ZWS controller to work properly?
Just disable the option "Enable rotor angle correction" in the Java tool.

regards
stancecoke
by stancecoke
Jan 07 2019 11:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3414
Views: 157417

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

Did you drive by direct drive motor ?when i started the motor,there were some noise and the motor was shaking . then i changed the "motor special angle " as "160"(the best number),but i could still feel that the motor is shaking.are there any parameters to adjust? I'm using the BionX IGH3 with our ...
by stancecoke
Jan 05 2019 11:02am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1788
Views: 64149

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

My project was born thanks to your "template"!!! I just had to smile about your typo :wink: tanks --> carro armato thanks --> grazie A tutorial for setting up the toolchain in windows is on our Wiki-pages . Of course you have to use marcoq's repo instead of the Kunteng-repo. The batch-files don't w...
by stancecoke
Jan 05 2019 9:02am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1788
Views: 64149

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

I have released the new version of the Controller firmware compatible with both the VLCD6 and KT-LCD3 diplay. I have also released the Java configuration interface (TSDZ2 Configurator ver. 0.1.0). Great work! But please don't send tanks to me, as I am a pacifist :D regards stancecoke https://www.pe...