Search found 1332 matches

by stancecoke
Jan 15 2021 6:20am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

szkuba wrote:
Jan 15 2021 1:49am
to me it is hardware mod
Of course it works to remove the additional 5 magnets, but it takes at least 2h to disassemble the motor, remove the magnets and reassemble the motor. It only takes 2s to type "*6" :lol:

regards
stancecoke
by stancecoke
Jan 14 2021 2:38am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

From the other side i heard some poeple remove the excessive (five) speed magnets from the motor and then it works. Are you crazy? :shock: You just have to add a "*6" to one line of code ! ACAcommons.c line 98: ui32_speed_sensor_rpks_accumulated += (((uint32_t)ui16_pwm_cycles_second)*1000...
by stancecoke
Jan 12 2021 1:04pm
Forum: Motor Technology
Topic: Advice - 18 FET Controller Mods for More Power
Replies: 10
Views: 543

Re: Advice - 18 FET Controller Mods for More Power

mxlemming wrote:
Jan 12 2021 11:33am
just one leg of the 3 phase bridge? Not bus current measurement
No, one shunt on the GND rail, plus one ACS712 on one phase.

In the 6 step version of the controller, the ACS712 is missing.

regards
stancecoke
by stancecoke
Jan 12 2021 5:38am
Forum: Motor Technology
Topic: Advice - 18 FET Controller Mods for More Power
Replies: 10
Views: 543

Re: Advice - 18 FET Controller Mods for More Power

Does the casainho code do sinusoidal on single shunt? Sinusoidal commutation by a lookuptable yes, but no FOC. In the Kunteng project we have a current sensor on one phase rail. With this we adjust the advance angle by looking at the zero crossing of the phase current. In the TSDZ2 project he just ...
by stancecoke
Jan 07 2021 2:30pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

endlessolli wrote:
Jan 07 2021 8:28am
I hope, thats ok
of course, thank you very much! :thumb:

endlessolli wrote:
Jan 07 2021 8:28am
If I optimize for speed
with a too large advance angle, you'll get flux weakening. The motor spins faster but with high losses which lead to heat...

regards
stancecoke
by stancecoke
Jan 05 2021 7:00am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

how use stm8-stvd software? See the "how to" in the link of my signature. Read carefully, if needed two or three times. Based on what output parameter do I adjust the settings of these parameters? To find the right motor specific angle: Set all speed limits to 100, set Gear Ratio to 100. ...
by stancecoke
Dec 27 2020 5:57am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1523
Views: 162869

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

So far all I can figure out is that Option Byte 2 can somehow get changed and we need it to be 28 as per factory firmware. The meaning of the options bytes is explained in the datasheet. Value 20: This "20" is a hex number and is 32 in decimal and 00100000 in binary. Says only bit 5 of Op...
by stancecoke
Dec 17 2020 12:30pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

endlessolli wrote:
Dec 17 2020 12:01pm
Also: Is this known freezing problem only happening when one actively uses the BluOSEC app (i.e. while there is a Bluetooth connection)?
I don't know, as I'm not using the BluOSEC app. Perhaps users of BluOSEC can report their experience...

regards
stancecoke
by stancecoke
Dec 17 2020 11:07am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

kaliandg wrote:
Dec 17 2020 10:35am
and try to use the branch,
It's only fixed for torquesensor mode with torque signal on pad X4.

regards
stancecoke
by stancecoke
Dec 17 2020 5:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

motor will not stop for some amount of time Are you using the master branch with the BluOSEC app? It's known that it freezes sometimes. A bugfix is implemented in the branch Torque from X4. It can be applied to the master also: Avoid float operations and divisions.... https://github.com/stancecoke/...
by stancecoke
Dec 14 2020 6:57am
Forum: Motor Technology
Topic: Custom board Lishui FOC
Replies: 4
Views: 280

Re: Custom board Lishui FOC

for example, measuring the resistance and inductance of the motor these things are "nice to have" but not really necessary. A sensorless branch based on the observer used in the VESC project already exists, resistance and inductance are set in the config.h at the moment. regards stancecoke
by stancecoke
Dec 14 2020 5:34am
Forum: Motor Technology
Topic: Custom board Lishui FOC
Replies: 4
Views: 280

Re: Custom board Lishui FOC

I saw the firmware Lishui foc Thank you, Slipy, for the hardware development! :thumb: The firmware was mainly developed for adding bottom bracket torquesensor support to the Lishui FOC controllers, that are used in several "Discounter" E-Bikes from European manufacturers like Prophete, Fi...
by stancecoke
Dec 12 2020 10:08am
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 94
Views: 4694

Re: New ground-up ESC - MESC_FOC_ESC

2) svpwm gives mid clamped pwm with 15%higher modulation before 0 or 100&pwm .... I'm trying to implement a third harmonic injection routine. Tbc Hm, for me, space vector modulation and third harmonic injection was always the same.... :-) https://www.switchcraft.org/learning/2017/3/15/space-vec...
by stancecoke
Dec 10 2020 2:49am
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 94
Views: 4694

Re: New ground-up ESC - MESC_FOC_ESC

probably peaking at 25-28km/h I saw your commit for the bottom clamping . I understand, what you are doing, but I never heard of that procedure and I have no idea, why this should lead to higher speeds :? . Can you explain the idea of bottom clamping, please?! In your look up table I see a normal s...
by stancecoke
Dec 09 2020 2:29pm
Forum: Motor Technology
Topic: Foc program use all three phases simultaneously?
Replies: 3
Views: 220

Re: Foc program use all three phases simultaneously?

sinusoidal commutation https://images.squarespace-cdn.com/content/v1/584729023e00bebf8abd6ba0/1483101071316-KBVLAK06CBE1V76MBB3E/ke17ZwdGBToddI8pDm48kLA27JwUSCAzQMdxbg1CQOdZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpy8A8bLeaZfDmmq-E9v8wrFX_IlIcEqwvGu6NP4gtN0XLJHPqC6wMwl8cMJmRVJo4...
by stancecoke
Dec 01 2020 10:50am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

but the X4 Pad is already wired to some green wire going into a thing. Do you have any idea, what this thing is doing? :-) There is no alternative on the PCB for an analog input. Only if you solder a wire directly to the last free processor pin, see this post: https://endless-sphere.com/forums/view...
by stancecoke
Nov 30 2020 11:33am
Forum: Motor Technology
Topic: Again...3T, 4T, 5T, 6T difference
Replies: 55
Views: 1429

Re: Again...3T, 4T, 5T, 6T difference

With button it is done on the fly. In the Kunteng-controller-open-source-firmware project I have implemented a "morse code" with the brake lever to disable the speed limit :D This helps nothing, it will be illegal in Europe anyway. We just had a long discussion in the german forum , as th...
by stancecoke
Nov 30 2020 10:54am
Forum: Motor Technology
Topic: Again...3T, 4T, 5T, 6T difference
Replies: 55
Views: 1429

Re: Again...3T, 4T, 5T, 6T difference

In austria the law is quite strict and only allows up to 600w peak/250w continous motor power and max 25 kph speed. It is 3kw motor .... would run near 80kmh We are still talking about a mountain bike to be used in Europe in a densely populated city in rush hour traffic?! :shock: I hope you are wel...
by stancecoke
Nov 28 2020 7:03am
Forum: Motor Technology
Topic: Again...3T, 4T, 5T, 6T difference
Replies: 55
Views: 1429

Re: Again...3T, 4T, 5T, 6T difference

But the faster motor with less windings (system A) schould have thicker wires and heat up less than the system B with more windings right ? The faster motor needs more motor current for the same torque. The motor current heats the windings. The heat loss increases quadratically with the motor curre...
by stancecoke
Nov 27 2020 4:16am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4237
Views: 417483

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

qwerkus wrote:
Nov 26 2020 5:45pm
What "resonances" issue are your referring to ?
Just search keywords like 'vibrations' or 'resonances' in this thread or in the german Pedelecforum. You will get many hits.

regards
stancecoke
by stancecoke
Nov 26 2020 6:52am
Forum: Motor Technology
Topic: Again...3T, 4T, 5T, 6T difference
Replies: 55
Views: 1429

Re: Again...3T, 4T, 5T, 6T difference

Maybe i don't understand that right or maybe i messed up with the controller or battery settings i had to chose ? Could you look at it ? You have set the motor current limit to 350 amps :shock: . This limit is never reached in your simulations, so of course you can't see a difference in torque. Aga...
by stancecoke
Nov 25 2020 3:22am
Forum: Motor Technology
Topic: Again...3T, 4T, 5T, 6T difference
Replies: 55
Views: 1429

Re: Again...3T, 4T, 5T, 6T difference

It's very helpful to play around with grin's motor simulator to understand correlations between (max) phase amps, (max) battery amps, battery voltage, torque and max speed :thumb: For a given motor the acceleration from standstill is only defined by the motor amps, as the motor torque is proportiona...
by stancecoke
Nov 23 2020 1:41pm
Forum: E-Bike Technical
Topic: Power meter as torque sensor?
Replies: 4
Views: 275

Re: Power meter as torque sensor?

ended up being completely gunked up by the end of the winter and spending $150+ seasonally to replace one component isn't great. Hm, the Sempus are known to be quite fragile. Have you ever tested an E-Rider Sensor, you can get them at Grin , too, but of course it is much cheaper to order in China d...
by stancecoke
Nov 23 2020 7:35am
Forum: E-Bike Technical
Topic: MOSFET Switch for remote controlling an ebike
Replies: 10
Views: 279

Re: MOSFET Switch for remote controlling an ebike

Inrush current for an uncharged capacitor is extremely high if not limited by a precharge resistor. Many people have blown up many mosfets because of this. :thumb: You have to use an "anti-spark" circuit. Charge the gate slowly, so the resistance from drain to source decreases slowly. Thi...
by stancecoke
Nov 22 2020 5:44am
Forum: Motor Technology
Topic: New ground-up ESC - MESC_FOC_ESC
Replies: 94
Views: 4694

Re: New ground-up ESC - MESC_FOC_ESC

Good news! The consumption is in a normal range for the speed without pedaling. Sadly we can't see your photo... The Lishui hardware uses a quad OP Amp TSV914 . Three channels are used to amplify the shunt voltages and the fourth channel is used for hardware protection, it switches the Timer 1 break...