Search found 118 matches

by geofft
Feb 22, 2018 4:49 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Geoft has probably tested more than me so he can tell and say what Amp setting he used vs stock I don't think I can help too much with this, current limiting isn't something I've needed to pay much attention to. I'm guessing that with my (relatively low powered) motor the current limit is more cont...
by geofft
Feb 08, 2018 4:52 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Just a minor point I'd thought I'd bring to the attention of you guys - throughout the main branch code there are several misspellings of the word 'throttle' with 'throotle'. A windows search finds instances of this in the following files:- ebike_app.lst ebike_app.asm main.h ebike_app.c config-examp...
by geofft
Jan 27, 2018 9:33 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

'New' fw is very smooth, quiet and gentle with the motor. Maybe too much so for some tastes, as the stock fw has higher top speed (about 7.5%) and higher torque (I'd guess about 10%). Although the 'best' FOC_READ_ID_CURRENT_ANGLE_ADJUST angle for my motor (by current measurement or 'scope test) see...
by geofft
Jan 25, 2018 3:19 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Had a little play with settings (bike on training roller) in the garage tonight, didn't have much time but can say that FOC_READ_ID_CURRENT_ANGLE_ADJUST has a lot to do with the way the motor performs. Should have more time later tomorrow, will give more details then.
by geofft
Jan 24, 2018 4:53 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

So, your wheel should be rotating at about 230RPM. The motor inside will rotate at 230 * 13.2 = 3036RPM; 3036/60 = 50.6 RPSeconds. 16 magnets / 2 = 8 poles; so in ERPS ---> 50.6 * 8 = 405 ERPs. You will hit the MOTOR_OVER_SPEED_ERPS of 520 ERPs, at ~36km/h. Ok, many thanks, that figure seems to mak...
by geofft
Jan 24, 2018 4:23 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

'New' fw is very smooth, quiet and gentle with the motor. Maybe too much so for some tastes, as the stock fw has higher top speed (about 7.5%) and higher torque (I'd guess about 10%). New firmware draws much less max power however, max watts 630 against 850 for stock, so range should be noticeably ...
by geofft
Jan 24, 2018 10:00 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

@geofft - try if the regulator and resistor is getting hotter than stock fw
..no, it's the same with either firmware and all my controller 'collection' (2 for testing, one stock).

All other comments noted.
by geofft
Jan 24, 2018 8:32 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Thanks Casainho, lots for me to take in there, will get back to you with answers (or more questions...!) when I can. TBH I'm still struggling to understand the code but have now ordered a book on 'C' programming so hopefully may soon be more proficient. Should make for some fascinating bedtime readi...
by geofft
Jan 24, 2018 5:40 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

I've got my 'new' firmware installation working well now, so recently reconnected the the 'stock' controller just to see how things compared. My setup is as per Q128H installation in signature line. Some observations:- Idle current draw (stock) is 80-90mA, new fw 130-140mA, no big deal. New firmware...
by geofft
Jan 23, 2018 8:39 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Also, with such big fluctuations from motor to motor, I wounder if we running our motors with bad efficiency with original firmware. I'm intending to do some comparison testing (between stock and 'new' firmware) today or tomorrow, should hopefully be able to give you some meaningful information. At...
by geofft
Jan 23, 2018 6:05 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

the current draw from the battery is not steady and is constantly moving. You can try something like this http://s.aliexpress.com/77bUNzEf?fromSns=Copy And measure Wh consumed in 2 minutes to get more acurate. Stable vollage input will help. Maybe one for the future, I think my 'hobby funds' have a...
by geofft
Jan 23, 2018 4:25 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

I've tried this with an old-fashioned crt 'scope :- ..this gave a 'rough' result for my (Q128H) motor of about 150 degrees. I am not sure about that process of scope, I never validated, but it is interesting to see different results. Now that you have the bike training roller, you can put a constan...
by geofft
Jan 21, 2018 4:39 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

The issue of battery voltage sag under load is well known and documented, I think honya suggested this method of checking battery voltage only in off-load moments a few pages ago in this thread. My battery indicator (lcd3 display) is very accurate (after tinkering with the lookup table in main.h) bu...
by geofft
Jan 21, 2018 2:30 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

I've tried this with an old-fashioned crt 'scope :- ..this gave a 'rough' result for my (Q128H) motor of about 150 degrees. I am not sure about that process of scope, I never validated, but it is interesting to see different results. Now that you have the bike training roller, you can put a constan...
by geofft
Jan 21, 2018 10:34 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

@geofft: nice that you got the training bike roller, would be great if you could put a constant speed and adjust the value for FOC_READ_ID_CURRENT_ANGLE_ADJUST. Can you please share with us how was the process and the final value for your motor? I've tried this with an old-fashioned crt 'scope :- F...
by geofft
Jan 21, 2018 9:11 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Bought one of these just recently:-

bike tester.jpg
Lots of these for sale quite cheap on ebay and great for controlled load testing, especially with weather like the UK today... :wink:
by geofft
Jan 21, 2018 8:40 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Great, so you have the same controller. Please test the low P1 value so you get much higher speed reading than reality, and see if it will go up to 72 or more like 35-42 while not full rpm at motor. Thanks :wink: Found that reducing the P1 number caused a reduction in both displayed and actual whee...
by geofft
Jan 21, 2018 3:59 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

@geofft you can test by setting P1 at like 20 so display shows 42 and you get walking speed and no way to go faster if I am right. btw whats your board model number (like KTE-SVP5-A..) Didn't realise that the P1 setting was still active - my setting for this was 211 (16 magnets x 13.2 gear ratio). ...
by geofft
Jan 20, 2018 10:27 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

@Casainho - edited config.h does not change it. I am far from hiting max erps, as I explained, I get 37km on display while set 72. Motor rpm is changing by P1 but still limits to about 37 on display @Geofft - can you try the 100% throttle? Always 100% throttle works ok for me, after I requested it ...
by geofft
Jan 18, 2018 11:39 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Would it be possible point me (and others..) to the number(s) in the code that need to be changed so we can do our own calibrations to the wattmeter? You would have to scale the read value in the ebike_app.c i8_motor_current_filtered_10b = motor_get_current_filtered_10b (); i8_motor_current_filtere...
by geofft
Jan 16, 2018 12:12 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

My estimate here is not scientific, the power maximum the motor draws (indicated on display) with the stock firmware is 800w, but the new firmware is showing 1150w. I can do some better tests with an ammeter in the battery supply if you prefer..? That would be great, if you can confirm with an exte...
by geofft
Jan 14, 2018 2:36 pm
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Bug report: PAS at 0 runs motor when pedal rotating backwards. Honya, when I had this problem, rather strangely I found it was much worse with 'PAS direction left' selected than it was with right. If you are runnuing PAS left try switching to right (flip the disc over to restore direction) maybe it...
by geofft
Jan 14, 2018 9:49 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

I'm beginning to think that life would be easier for everybody if you had separate firmware branches for the geared and direct drive motors...? The thing is that I don't if there are diferencies... What would be different?? Was just thinking that changes made for one type may have negative effects ...
by geofft
Jan 14, 2018 9:24 am
Forum: Motor Technology
Topic: Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 1772
Views: 47937

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

Guys, I'll hold back on any further testing until you've got honya's issues sorted.

I'm beginning to think that life would be easier for everybody if you had separate firmware branches for the geared and direct drive motors...?